mtmsdk 0.0.36 → 0.0.38

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 (243) hide show
  1. package/dist/api_hatchet/client/client.gen.d.ts.map +1 -1
  2. package/dist/api_hatchet/client/client.gen.js +8 -1
  3. package/dist/api_hatchet/client/client.gen.js.map +1 -1
  4. package/dist/api_hatchet/index.d.ts +2 -2
  5. package/dist/api_hatchet/index.d.ts.map +1 -1
  6. package/dist/api_hatchet/index.js +2 -2
  7. package/dist/api_hatchet/index.js.map +1 -1
  8. package/dist/api_hatchet/zod.gen.d.ts +3 -3
  9. package/dist/api_hatchet/zod.gen.js +53 -53
  10. package/dist/api_hatchet/zod.gen.js.map +1 -1
  11. package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts +73 -979
  12. package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts.map +1 -1
  13. package/dist/gomtmapi_v2/@tanstack/react-query.gen.js +208 -1000
  14. package/dist/gomtmapi_v2/@tanstack/react-query.gen.js.map +1 -1
  15. package/dist/gomtmapi_v2/client/client.gen.d.ts.map +1 -1
  16. package/dist/gomtmapi_v2/client/client.gen.js +8 -1
  17. package/dist/gomtmapi_v2/client/client.gen.js.map +1 -1
  18. package/dist/gomtmapi_v2/index.d.ts +2 -2
  19. package/dist/gomtmapi_v2/index.d.ts.map +1 -1
  20. package/dist/gomtmapi_v2/index.js +1 -1
  21. package/dist/gomtmapi_v2/index.js.map +1 -1
  22. package/dist/gomtmapi_v2/schemas.gen.d.ts +305 -1415
  23. package/dist/gomtmapi_v2/schemas.gen.d.ts.map +1 -1
  24. package/dist/gomtmapi_v2/schemas.gen.js +282 -1407
  25. package/dist/gomtmapi_v2/schemas.gen.js.map +1 -1
  26. package/dist/gomtmapi_v2/sdk.gen.d.ts +63 -513
  27. package/dist/gomtmapi_v2/sdk.gen.d.ts.map +1 -1
  28. package/dist/gomtmapi_v2/sdk.gen.js +94 -537
  29. package/dist/gomtmapi_v2/sdk.gen.js.map +1 -1
  30. package/dist/gomtmapi_v2/types.gen.d.ts +443 -1531
  31. package/dist/gomtmapi_v2/types.gen.d.ts.map +1 -1
  32. package/dist/gomtmapi_v2/zod.gen.d.ts +293 -1292
  33. package/dist/gomtmapi_v2/zod.gen.d.ts.map +1 -1
  34. package/dist/gomtmapi_v2/zod.gen.js +187 -793
  35. package/dist/gomtmapi_v2/zod.gen.js.map +1 -1
  36. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +4 -158
  37. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
  38. package/dist/mtgate_api/@tanstack/react-query.gen.js +17 -212
  39. package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
  40. package/dist/mtgate_api/client/client.gen.d.ts.map +1 -1
  41. package/dist/mtgate_api/client/client.gen.js +8 -1
  42. package/dist/mtgate_api/client/client.gen.js.map +1 -1
  43. package/dist/mtgate_api/index.d.ts +2 -2
  44. package/dist/mtgate_api/index.d.ts.map +1 -1
  45. package/dist/mtgate_api/index.js +1 -1
  46. package/dist/mtgate_api/index.js.map +1 -1
  47. package/dist/mtgate_api/schemas.gen.d.ts +0 -396
  48. package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
  49. package/dist/mtgate_api/schemas.gen.js +0 -439
  50. package/dist/mtgate_api/schemas.gen.js.map +1 -1
  51. package/dist/mtgate_api/sdk.gen.d.ts +1 -26
  52. package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
  53. package/dist/mtgate_api/sdk.gen.js +0 -67
  54. package/dist/mtgate_api/sdk.gen.js.map +1 -1
  55. package/dist/mtgate_api/types.gen.d.ts +0 -310
  56. package/dist/mtgate_api/types.gen.d.ts.map +1 -1
  57. package/dist/mtgate_api/zod.gen.d.ts +0 -771
  58. package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
  59. package/dist/mtgate_api/zod.gen.js +0 -249
  60. package/dist/mtgate_api/zod.gen.js.map +1 -1
  61. package/dist/mtmai_api/client/client.gen.d.ts.map +1 -1
  62. package/dist/mtmai_api/client/client.gen.js +8 -1
  63. package/dist/mtmai_api/client/client.gen.js.map +1 -1
  64. package/dist/mtmai_api/index.d.ts +2 -2
  65. package/dist/mtmai_api/index.d.ts.map +1 -1
  66. package/dist/mtmai_api/index.js +2 -2
  67. package/dist/mtmai_api/index.js.map +1 -1
  68. package/dist/opencode/@tanstack/react-query.gen.d.ts +1903 -0
  69. package/dist/opencode/@tanstack/react-query.gen.d.ts.map +1 -0
  70. package/dist/opencode/@tanstack/react-query.gen.js +1696 -0
  71. package/dist/opencode/@tanstack/react-query.gen.js.map +1 -0
  72. package/dist/opencode/client/client.gen.d.ts +3 -0
  73. package/dist/opencode/client/client.gen.d.ts.map +1 -0
  74. package/dist/opencode/client/client.gen.js +236 -0
  75. package/dist/opencode/client/client.gen.js.map +1 -0
  76. package/dist/opencode/client/index.d.ts +9 -0
  77. package/dist/opencode/client/index.d.ts.map +1 -0
  78. package/dist/opencode/client/index.js +7 -0
  79. package/dist/opencode/client/index.js.map +1 -0
  80. package/dist/opencode/client/types.gen.d.ts +118 -0
  81. package/dist/opencode/client/types.gen.d.ts.map +1 -0
  82. package/dist/opencode/client/types.gen.js +3 -0
  83. package/dist/opencode/client/types.gen.js.map +1 -0
  84. package/dist/opencode/client/utils.gen.d.ts +34 -0
  85. package/dist/opencode/client/utils.gen.d.ts.map +1 -0
  86. package/dist/opencode/client/utils.gen.js +232 -0
  87. package/dist/opencode/client/utils.gen.js.map +1 -0
  88. package/dist/opencode/client.gen.d.ts +13 -0
  89. package/dist/opencode/client.gen.d.ts.map +1 -0
  90. package/dist/opencode/client.gen.js +4 -0
  91. package/dist/opencode/client.gen.js.map +1 -0
  92. package/dist/opencode/core/auth.gen.d.ts +19 -0
  93. package/dist/opencode/core/auth.gen.d.ts.map +1 -0
  94. package/dist/opencode/core/auth.gen.js +15 -0
  95. package/dist/opencode/core/auth.gen.js.map +1 -0
  96. package/dist/opencode/core/bodySerializer.gen.d.ts +26 -0
  97. package/dist/opencode/core/bodySerializer.gen.d.ts.map +1 -0
  98. package/dist/opencode/core/bodySerializer.gen.js +58 -0
  99. package/dist/opencode/core/bodySerializer.gen.js.map +1 -0
  100. package/dist/opencode/core/params.gen.d.ts +44 -0
  101. package/dist/opencode/core/params.gen.d.ts.map +1 -0
  102. package/dist/opencode/core/params.gen.js +101 -0
  103. package/dist/opencode/core/params.gen.js.map +1 -0
  104. package/dist/opencode/core/pathSerializer.gen.d.ts +34 -0
  105. package/dist/opencode/core/pathSerializer.gen.d.ts.map +1 -0
  106. package/dist/opencode/core/pathSerializer.gen.js +115 -0
  107. package/dist/opencode/core/pathSerializer.gen.js.map +1 -0
  108. package/dist/opencode/core/queryKeySerializer.gen.d.ts +19 -0
  109. package/dist/opencode/core/queryKeySerializer.gen.d.ts.map +1 -0
  110. package/dist/opencode/core/queryKeySerializer.gen.js +100 -0
  111. package/dist/opencode/core/queryKeySerializer.gen.js.map +1 -0
  112. package/dist/opencode/core/serverSentEvents.gen.d.ts +72 -0
  113. package/dist/opencode/core/serverSentEvents.gen.d.ts.map +1 -0
  114. package/dist/opencode/core/serverSentEvents.gen.js +138 -0
  115. package/dist/opencode/core/serverSentEvents.gen.js.map +1 -0
  116. package/dist/opencode/core/types.gen.d.ts +79 -0
  117. package/dist/opencode/core/types.gen.d.ts.map +1 -0
  118. package/dist/opencode/core/types.gen.js +3 -0
  119. package/dist/opencode/core/types.gen.js.map +1 -0
  120. package/dist/opencode/core/utils.gen.d.ts +20 -0
  121. package/dist/opencode/core/utils.gen.d.ts.map +1 -0
  122. package/dist/opencode/core/utils.gen.js +88 -0
  123. package/dist/opencode/core/utils.gen.js.map +1 -0
  124. package/dist/opencode/index.d.ts +3 -0
  125. package/dist/opencode/index.d.ts.map +1 -0
  126. package/dist/opencode/index.js +4 -0
  127. package/dist/opencode/index.js.map +1 -0
  128. package/dist/opencode/schemas.gen.d.ts +4823 -0
  129. package/dist/opencode/schemas.gen.d.ts.map +1 -0
  130. package/dist/opencode/schemas.gen.js +5816 -0
  131. package/dist/opencode/schemas.gen.js.map +1 -0
  132. package/dist/opencode/sdk.gen.d.ts +562 -0
  133. package/dist/opencode/sdk.gen.d.ts.map +1 -0
  134. package/dist/opencode/sdk.gen.js +766 -0
  135. package/dist/opencode/sdk.gen.js.map +1 -0
  136. package/dist/opencode/types.gen.d.ts +4213 -0
  137. package/dist/opencode/types.gen.d.ts.map +1 -0
  138. package/dist/opencode/types.gen.js +25 -0
  139. package/dist/opencode/types.gen.js.map +1 -0
  140. package/dist/opencode/zod.gen.d.ts +17243 -0
  141. package/dist/opencode/zod.gen.d.ts.map +1 -0
  142. package/dist/opencode/zod.gen.js +2876 -0
  143. package/dist/opencode/zod.gen.js.map +1 -0
  144. package/dist/sbapi/client/client.gen.d.ts.map +1 -1
  145. package/dist/sbapi/client/client.gen.js +8 -1
  146. package/dist/sbapi/client/client.gen.js.map +1 -1
  147. package/dist/sbapi/index.d.ts +2 -2
  148. package/dist/sbapi/index.d.ts.map +1 -1
  149. package/dist/sbapi/index.js +1 -1
  150. package/dist/sbapi/index.js.map +1 -1
  151. package/dist/sbmng/@tanstack/react-query.gen.d.ts +2418 -0
  152. package/dist/sbmng/@tanstack/react-query.gen.d.ts.map +1 -0
  153. package/dist/sbmng/@tanstack/react-query.gen.js +2657 -0
  154. package/dist/sbmng/@tanstack/react-query.gen.js.map +1 -0
  155. package/dist/sbmng/client/client.gen.d.ts +3 -0
  156. package/dist/sbmng/client/client.gen.d.ts.map +1 -0
  157. package/dist/sbmng/client/client.gen.js +236 -0
  158. package/dist/sbmng/client/client.gen.js.map +1 -0
  159. package/dist/sbmng/client/index.d.ts +9 -0
  160. package/dist/sbmng/client/index.d.ts.map +1 -0
  161. package/dist/sbmng/client/index.js +7 -0
  162. package/dist/sbmng/client/index.js.map +1 -0
  163. package/dist/sbmng/client/types.gen.d.ts +118 -0
  164. package/dist/sbmng/client/types.gen.d.ts.map +1 -0
  165. package/dist/sbmng/client/types.gen.js +3 -0
  166. package/dist/sbmng/client/types.gen.js.map +1 -0
  167. package/dist/sbmng/client/utils.gen.d.ts +34 -0
  168. package/dist/sbmng/client/utils.gen.d.ts.map +1 -0
  169. package/dist/sbmng/client/utils.gen.js +232 -0
  170. package/dist/sbmng/client/utils.gen.js.map +1 -0
  171. package/dist/sbmng/client.gen.d.ts +13 -0
  172. package/dist/sbmng/client.gen.d.ts.map +1 -0
  173. package/dist/sbmng/client.gen.js +4 -0
  174. package/dist/sbmng/client.gen.js.map +1 -0
  175. package/dist/sbmng/core/auth.gen.d.ts +19 -0
  176. package/dist/sbmng/core/auth.gen.d.ts.map +1 -0
  177. package/dist/sbmng/core/auth.gen.js +15 -0
  178. package/dist/sbmng/core/auth.gen.js.map +1 -0
  179. package/dist/sbmng/core/bodySerializer.gen.d.ts +26 -0
  180. package/dist/sbmng/core/bodySerializer.gen.d.ts.map +1 -0
  181. package/dist/sbmng/core/bodySerializer.gen.js +58 -0
  182. package/dist/sbmng/core/bodySerializer.gen.js.map +1 -0
  183. package/dist/sbmng/core/params.gen.d.ts +44 -0
  184. package/dist/sbmng/core/params.gen.d.ts.map +1 -0
  185. package/dist/sbmng/core/params.gen.js +101 -0
  186. package/dist/sbmng/core/params.gen.js.map +1 -0
  187. package/dist/sbmng/core/pathSerializer.gen.d.ts +34 -0
  188. package/dist/sbmng/core/pathSerializer.gen.d.ts.map +1 -0
  189. package/dist/sbmng/core/pathSerializer.gen.js +115 -0
  190. package/dist/sbmng/core/pathSerializer.gen.js.map +1 -0
  191. package/dist/sbmng/core/queryKeySerializer.gen.d.ts +19 -0
  192. package/dist/sbmng/core/queryKeySerializer.gen.d.ts.map +1 -0
  193. package/dist/sbmng/core/queryKeySerializer.gen.js +100 -0
  194. package/dist/sbmng/core/queryKeySerializer.gen.js.map +1 -0
  195. package/dist/sbmng/core/serverSentEvents.gen.d.ts +72 -0
  196. package/dist/sbmng/core/serverSentEvents.gen.d.ts.map +1 -0
  197. package/dist/sbmng/core/serverSentEvents.gen.js +138 -0
  198. package/dist/sbmng/core/serverSentEvents.gen.js.map +1 -0
  199. package/dist/sbmng/core/types.gen.d.ts +79 -0
  200. package/dist/sbmng/core/types.gen.d.ts.map +1 -0
  201. package/dist/sbmng/core/types.gen.js +3 -0
  202. package/dist/sbmng/core/types.gen.js.map +1 -0
  203. package/dist/sbmng/core/utils.gen.d.ts +20 -0
  204. package/dist/sbmng/core/utils.gen.d.ts.map +1 -0
  205. package/dist/sbmng/core/utils.gen.js +88 -0
  206. package/dist/sbmng/core/utils.gen.js.map +1 -0
  207. package/dist/sbmng/index.d.ts +3 -0
  208. package/dist/sbmng/index.d.ts.map +1 -0
  209. package/dist/sbmng/index.js +3 -0
  210. package/dist/sbmng/index.js.map +1 -0
  211. package/dist/sbmng/schemas.gen.d.ts +7220 -0
  212. package/dist/sbmng/schemas.gen.d.ts.map +1 -0
  213. package/dist/sbmng/schemas.gen.js +9392 -0
  214. package/dist/sbmng/schemas.gen.js.map +1 -0
  215. package/dist/sbmng/sdk.gen.d.ts +743 -0
  216. package/dist/sbmng/sdk.gen.d.ts.map +1 -0
  217. package/dist/sbmng/sdk.gen.js +1543 -0
  218. package/dist/sbmng/sdk.gen.js.map +1 -0
  219. package/dist/sbmng/types.gen.d.ts +7003 -0
  220. package/dist/sbmng/types.gen.d.ts.map +1 -0
  221. package/dist/sbmng/types.gen.js +3 -0
  222. package/dist/sbmng/types.gen.js.map +1 -0
  223. package/dist/supabase/context.d.ts +14 -0
  224. package/dist/supabase/context.d.ts.map +1 -0
  225. package/dist/supabase/context.js +33 -0
  226. package/dist/supabase/context.js.map +1 -0
  227. package/dist/supabase/supabase-client.d.ts +1625 -304
  228. package/dist/supabase/supabase-client.d.ts.map +1 -1
  229. package/dist/supabase/supabase.d.ts +3551 -909
  230. package/dist/supabase/supabase.d.ts.map +1 -1
  231. package/dist/supabase/supabase.js +1 -34
  232. package/dist/supabase/supabase.js.map +1 -1
  233. package/dist/types/database.types.d.ts +1656 -314
  234. package/dist/types/database.types.d.ts.map +1 -1
  235. package/dist/types/database.types.js +3 -1
  236. package/dist/types/database.types.js.map +1 -1
  237. package/dist/types/index.d.ts +30 -1
  238. package/dist/types/index.d.ts.map +1 -1
  239. package/package.json +45 -42
  240. package/dist/supabase/supabase-browser.d.ts +0 -4
  241. package/dist/supabase/supabase-browser.d.ts.map +0 -1
  242. package/dist/supabase/supabase-browser.js +0 -20
  243. package/dist/supabase/supabase-browser.js.map +0 -1
@@ -2,21 +2,69 @@ import type { cookies } from "next/headers";
2
2
  import type { Database } from "../types/database.types";
3
3
  export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof cookies>>): import("@supabase/supabase-js").SupabaseClient<Database, "public", "public", {
4
4
  Tables: {
5
- adk_app_states: {
5
+ adk_agents: {
6
+ Row: {
7
+ avatar_url: string | null;
8
+ created_at: string | null;
9
+ description: string | null;
10
+ name: string;
11
+ updated_at: string | null;
12
+ };
13
+ Insert: {
14
+ avatar_url?: string | null;
15
+ created_at?: string | null;
16
+ description?: string | null;
17
+ name: string;
18
+ updated_at?: string | null;
19
+ };
20
+ Update: {
21
+ avatar_url?: string | null;
22
+ created_at?: string | null;
23
+ description?: string | null;
24
+ name?: string;
25
+ updated_at?: string | null;
26
+ };
27
+ Relationships: [];
28
+ };
29
+ adk_artifacts: {
6
30
  Row: {
7
31
  app_name: string;
8
- state: import("../types/database.types").Json;
9
- updated_at: string;
32
+ canonical_uri: string | null;
33
+ created_at: string | null;
34
+ custom_metadata: import("../types/database.types").Json | null;
35
+ data: import("../types/database.types").Json | null;
36
+ filename: string;
37
+ id: string;
38
+ mime_type: string | null;
39
+ session_id: string | null;
40
+ user_id: string;
41
+ version: number;
10
42
  };
11
43
  Insert: {
12
44
  app_name: string;
13
- state: import("../types/database.types").Json;
14
- updated_at: string;
45
+ canonical_uri?: string | null;
46
+ created_at?: string | null;
47
+ custom_metadata?: import("../types/database.types").Json | null;
48
+ data?: import("../types/database.types").Json | null;
49
+ filename: string;
50
+ id?: string;
51
+ mime_type?: string | null;
52
+ session_id?: string | null;
53
+ user_id: string;
54
+ version: number;
15
55
  };
16
56
  Update: {
17
57
  app_name?: string;
18
- state?: import("../types/database.types").Json;
19
- updated_at?: string;
58
+ canonical_uri?: string | null;
59
+ created_at?: string | null;
60
+ custom_metadata?: import("../types/database.types").Json | null;
61
+ data?: import("../types/database.types").Json | null;
62
+ filename?: string;
63
+ id?: string;
64
+ mime_type?: string | null;
65
+ session_id?: string | null;
66
+ user_id?: string;
67
+ version?: number;
20
68
  };
21
69
  Relationships: [];
22
70
  };
@@ -101,6 +149,42 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
101
149
  };
102
150
  Relationships: [];
103
151
  };
152
+ adk_quick_starts: {
153
+ Row: {
154
+ agent_name: string;
155
+ created_at: string | null;
156
+ description: string | null;
157
+ id: string;
158
+ is_active: boolean | null;
159
+ ord: number | null;
160
+ prompt: string;
161
+ title: string;
162
+ updated_at: string | null;
163
+ };
164
+ Insert: {
165
+ agent_name?: string;
166
+ created_at?: string | null;
167
+ description?: string | null;
168
+ id?: string;
169
+ is_active?: boolean | null;
170
+ ord?: number | null;
171
+ prompt: string;
172
+ title: string;
173
+ updated_at?: string | null;
174
+ };
175
+ Update: {
176
+ agent_name?: string;
177
+ created_at?: string | null;
178
+ description?: string | null;
179
+ id?: string;
180
+ is_active?: boolean | null;
181
+ ord?: number | null;
182
+ prompt?: string;
183
+ title?: string;
184
+ updated_at?: string | null;
185
+ };
186
+ Relationships: [];
187
+ };
104
188
  adk_sessions: {
105
189
  Row: {
106
190
  app_name: string;
@@ -128,33 +212,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
128
212
  };
129
213
  Relationships: [];
130
214
  };
131
- adk_user_states: {
132
- Row: {
133
- app_name: string | null;
134
- created_at: string;
135
- id: number;
136
- state: import("../types/database.types").Json | null;
137
- updated_at: string;
138
- user_id: string | null;
139
- };
140
- Insert: {
141
- app_name?: string | null;
142
- created_at?: string;
143
- id?: number;
144
- state?: import("../types/database.types").Json | null;
145
- updated_at?: string;
146
- user_id?: string | null;
147
- };
148
- Update: {
149
- app_name?: string | null;
150
- created_at?: string;
151
- id?: number;
152
- state?: import("../types/database.types").Json | null;
153
- updated_at?: string;
154
- user_id?: string | null;
155
- };
156
- Relationships: [];
157
- };
158
215
  agents: {
159
216
  Row: {
160
217
  config: import("../types/database.types").Json | null;
@@ -191,170 +248,548 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
191
248
  };
192
249
  Relationships: [];
193
250
  };
194
- browsers: {
251
+ audit_assets: {
195
252
  Row: {
196
- cdpUrl: string | null;
197
- config: import("../types/database.types").Json | null;
253
+ content: string;
254
+ created_at: string;
255
+ id: string;
256
+ metadata: import("../types/database.types").Json | null;
257
+ project_id: string;
258
+ status: string | null;
259
+ type: string;
260
+ updated_at: string;
261
+ };
262
+ Insert: {
263
+ content: string;
264
+ created_at?: string;
265
+ id?: string;
266
+ metadata?: import("../types/database.types").Json | null;
267
+ project_id: string;
268
+ status?: string | null;
269
+ type: string;
270
+ updated_at?: string;
271
+ };
272
+ Update: {
273
+ content?: string;
274
+ created_at?: string;
275
+ id?: string;
276
+ metadata?: import("../types/database.types").Json | null;
277
+ project_id?: string;
278
+ status?: string | null;
279
+ type?: string;
280
+ updated_at?: string;
281
+ };
282
+ Relationships: [{
283
+ foreignKeyName: "audit_assets_project_id_fkey";
284
+ columns: ["project_id"];
285
+ isOneToOne: false;
286
+ referencedRelation: "audit_projects";
287
+ referencedColumns: ["id"];
288
+ }];
289
+ };
290
+ audit_findings: {
291
+ Row: {
292
+ ai_analysis: string | null;
198
293
  created_at: string;
199
294
  description: string | null;
200
295
  id: string;
201
- profile_id: string | null;
202
- provider: string | null;
203
- provider_config: import("../types/database.types").Json | null;
204
- sandbox_id: string | null;
205
- title: string | null;
206
- updated_at: string | null;
207
- user_id: string | null;
296
+ project_id: string;
297
+ proof_poc: string | null;
298
+ remediation: string | null;
299
+ severity: string | null;
300
+ status: string | null;
301
+ task_id: string | null;
302
+ title: string;
303
+ updated_at: string;
208
304
  };
209
305
  Insert: {
210
- cdpUrl?: string | null;
211
- config?: import("../types/database.types").Json | null;
306
+ ai_analysis?: string | null;
212
307
  created_at?: string;
213
308
  description?: string | null;
214
309
  id?: string;
215
- profile_id?: string | null;
216
- provider?: string | null;
217
- provider_config?: import("../types/database.types").Json | null;
218
- sandbox_id?: string | null;
219
- title?: string | null;
220
- updated_at?: string | null;
221
- user_id?: string | null;
310
+ project_id: string;
311
+ proof_poc?: string | null;
312
+ remediation?: string | null;
313
+ severity?: string | null;
314
+ status?: string | null;
315
+ task_id?: string | null;
316
+ title: string;
317
+ updated_at?: string;
222
318
  };
223
319
  Update: {
224
- cdpUrl?: string | null;
225
- config?: import("../types/database.types").Json | null;
320
+ ai_analysis?: string | null;
226
321
  created_at?: string;
227
322
  description?: string | null;
228
323
  id?: string;
229
- profile_id?: string | null;
230
- provider?: string | null;
231
- provider_config?: import("../types/database.types").Json | null;
232
- sandbox_id?: string | null;
233
- title?: string | null;
234
- updated_at?: string | null;
235
- user_id?: string | null;
324
+ project_id?: string;
325
+ proof_poc?: string | null;
326
+ remediation?: string | null;
327
+ severity?: string | null;
328
+ status?: string | null;
329
+ task_id?: string | null;
330
+ title?: string;
331
+ updated_at?: string;
236
332
  };
237
- Relationships: [];
333
+ Relationships: [{
334
+ foreignKeyName: "audit_findings_project_id_fkey";
335
+ columns: ["project_id"];
336
+ isOneToOne: false;
337
+ referencedRelation: "audit_projects";
338
+ referencedColumns: ["id"];
339
+ }, {
340
+ foreignKeyName: "audit_findings_task_id_fkey";
341
+ columns: ["task_id"];
342
+ isOneToOne: false;
343
+ referencedRelation: "audit_tasks";
344
+ referencedColumns: ["id"];
345
+ }];
238
346
  };
239
- chat_messages: {
347
+ audit_pocs: {
240
348
  Row: {
241
- attachments: import("../types/database.types").Json | null;
242
- chat_id: string;
243
349
  created_at: string;
244
- grounding_metadata: import("../types/database.types").Json | null;
350
+ cve_id: string | null;
245
351
  id: string;
246
- parts: import("../types/database.types").Json;
247
- role: string;
352
+ name: string;
353
+ path: string | null;
354
+ project_id: string;
355
+ severity: string | null;
356
+ status: string | null;
248
357
  updated_at: string;
249
- user_id: string | null;
250
358
  };
251
359
  Insert: {
252
- attachments?: import("../types/database.types").Json | null;
253
- chat_id: string;
254
360
  created_at?: string;
255
- grounding_metadata?: import("../types/database.types").Json | null;
361
+ cve_id?: string | null;
256
362
  id?: string;
257
- parts: import("../types/database.types").Json;
258
- role: string;
363
+ name: string;
364
+ path?: string | null;
365
+ project_id: string;
366
+ severity?: string | null;
367
+ status?: string | null;
259
368
  updated_at?: string;
260
- user_id?: string | null;
261
369
  };
262
370
  Update: {
263
- attachments?: import("../types/database.types").Json | null;
264
- chat_id?: string;
265
371
  created_at?: string;
266
- grounding_metadata?: import("../types/database.types").Json | null;
372
+ cve_id?: string | null;
267
373
  id?: string;
268
- parts?: import("../types/database.types").Json;
269
- role?: string;
374
+ name?: string;
375
+ path?: string | null;
376
+ project_id?: string;
377
+ severity?: string | null;
378
+ status?: string | null;
270
379
  updated_at?: string;
271
- user_id?: string | null;
272
380
  };
273
381
  Relationships: [{
274
- foreignKeyName: "chat_messages_chat_id_fkey";
275
- columns: ["chat_id"];
382
+ foreignKeyName: "audit_pocs_project_id_fkey";
383
+ columns: ["project_id"];
276
384
  isOneToOne: false;
277
- referencedRelation: "chats";
385
+ referencedRelation: "audit_projects";
278
386
  referencedColumns: ["id"];
279
387
  }];
280
388
  };
281
- chats: {
389
+ audit_projects: {
282
390
  Row: {
283
- agent_id: string;
391
+ agent_config: import("../types/database.types").Json | null;
392
+ config: import("../types/database.types").Json | null;
284
393
  created_at: string;
394
+ github_branch: string | null;
395
+ github_installation_id: number | null;
396
+ github_repo_full_name: string | null;
397
+ github_repo_id: number | null;
285
398
  id: string;
286
- lastContext: import("../types/database.types").Json | null;
287
- state: import("../types/database.types").Json | null;
288
- title: string;
289
- updated_at: string | null;
399
+ name: string;
400
+ repo_branch: string | null;
401
+ repo_url: string | null;
402
+ sandbox_id: string | null;
403
+ target: string | null;
404
+ updated_at: string;
290
405
  user_id: string | null;
291
- visibility: string;
292
406
  };
293
407
  Insert: {
294
- agent_id: string;
408
+ agent_config?: import("../types/database.types").Json | null;
409
+ config?: import("../types/database.types").Json | null;
295
410
  created_at?: string;
411
+ github_branch?: string | null;
412
+ github_installation_id?: number | null;
413
+ github_repo_full_name?: string | null;
414
+ github_repo_id?: number | null;
296
415
  id?: string;
297
- lastContext?: import("../types/database.types").Json | null;
298
- state?: import("../types/database.types").Json | null;
299
- title: string;
300
- updated_at?: string | null;
416
+ name: string;
417
+ repo_branch?: string | null;
418
+ repo_url?: string | null;
419
+ sandbox_id?: string | null;
420
+ target?: string | null;
421
+ updated_at?: string;
301
422
  user_id?: string | null;
302
- visibility?: string;
303
423
  };
304
424
  Update: {
305
- agent_id?: string;
425
+ agent_config?: import("../types/database.types").Json | null;
426
+ config?: import("../types/database.types").Json | null;
306
427
  created_at?: string;
428
+ github_branch?: string | null;
429
+ github_installation_id?: number | null;
430
+ github_repo_full_name?: string | null;
431
+ github_repo_id?: number | null;
307
432
  id?: string;
308
- lastContext?: import("../types/database.types").Json | null;
309
- state?: import("../types/database.types").Json | null;
310
- title?: string;
311
- updated_at?: string | null;
433
+ name?: string;
434
+ repo_branch?: string | null;
435
+ repo_url?: string | null;
436
+ sandbox_id?: string | null;
437
+ target?: string | null;
438
+ updated_at?: string;
312
439
  user_id?: string | null;
313
- visibility?: string;
314
440
  };
315
- Relationships: [];
441
+ Relationships: [{
442
+ foreignKeyName: "audit_projects_sandbox_id_fkey";
443
+ columns: ["sandbox_id"];
444
+ isOneToOne: false;
445
+ referencedRelation: "resources";
446
+ referencedColumns: ["id"];
447
+ }];
316
448
  };
317
- dash_navitems: {
449
+ audit_skills: {
318
450
  Row: {
319
- badge: string | null;
320
451
  created_at: string;
321
- enabled: boolean | null;
322
- icon: string | null;
452
+ dependencies: import("../types/database.types").Json | null;
453
+ description: string | null;
323
454
  id: string;
324
- label: string;
325
- ord: number | null;
326
- tooltip: string | null;
327
- url: string | null;
455
+ name: string;
456
+ params_schema: import("../types/database.types").Json | null;
457
+ project_id: string;
458
+ source_path: string | null;
459
+ updated_at: string;
460
+ version: string | null;
328
461
  };
329
462
  Insert: {
330
- badge?: string | null;
331
463
  created_at?: string;
332
- enabled?: boolean | null;
333
- icon?: string | null;
464
+ dependencies?: import("../types/database.types").Json | null;
465
+ description?: string | null;
334
466
  id?: string;
335
- label: string;
336
- ord?: number | null;
337
- tooltip?: string | null;
338
- url?: string | null;
467
+ name: string;
468
+ params_schema?: import("../types/database.types").Json | null;
469
+ project_id: string;
470
+ source_path?: string | null;
471
+ updated_at?: string;
472
+ version?: string | null;
339
473
  };
340
474
  Update: {
341
- badge?: string | null;
342
475
  created_at?: string;
343
- enabled?: boolean | null;
344
- icon?: string | null;
476
+ dependencies?: import("../types/database.types").Json | null;
477
+ description?: string | null;
345
478
  id?: string;
346
- label?: string;
347
- ord?: number | null;
348
- tooltip?: string | null;
349
- url?: string | null;
479
+ name?: string;
480
+ params_schema?: import("../types/database.types").Json | null;
481
+ project_id?: string;
482
+ source_path?: string | null;
483
+ updated_at?: string;
484
+ version?: string | null;
350
485
  };
351
- Relationships: [];
486
+ Relationships: [{
487
+ foreignKeyName: "audit_skills_project_id_fkey";
488
+ columns: ["project_id"];
489
+ isOneToOne: false;
490
+ referencedRelation: "audit_projects";
491
+ referencedColumns: ["id"];
492
+ }];
352
493
  };
353
- endpoints: {
494
+ audit_tasks: {
354
495
  Row: {
355
496
  created_at: string;
356
- host_id: string | null;
357
- hostname: string | null;
497
+ id: string;
498
+ instructions: string | null;
499
+ logs_url: string | null;
500
+ project_id: string;
501
+ result_summary: string | null;
502
+ sandbox_id: string | null;
503
+ skill_id: string | null;
504
+ status: string | null;
505
+ updated_at: string;
506
+ user_id: string | null;
507
+ };
508
+ Insert: {
509
+ created_at?: string;
510
+ id?: string;
511
+ instructions?: string | null;
512
+ logs_url?: string | null;
513
+ project_id: string;
514
+ result_summary?: string | null;
515
+ sandbox_id?: string | null;
516
+ skill_id?: string | null;
517
+ status?: string | null;
518
+ updated_at?: string;
519
+ user_id?: string | null;
520
+ };
521
+ Update: {
522
+ created_at?: string;
523
+ id?: string;
524
+ instructions?: string | null;
525
+ logs_url?: string | null;
526
+ project_id?: string;
527
+ result_summary?: string | null;
528
+ sandbox_id?: string | null;
529
+ skill_id?: string | null;
530
+ status?: string | null;
531
+ updated_at?: string;
532
+ user_id?: string | null;
533
+ };
534
+ Relationships: [{
535
+ foreignKeyName: "audit_tasks_project_id_fkey";
536
+ columns: ["project_id"];
537
+ isOneToOne: false;
538
+ referencedRelation: "audit_projects";
539
+ referencedColumns: ["id"];
540
+ }, {
541
+ foreignKeyName: "audit_tasks_sandbox_id_fkey";
542
+ columns: ["sandbox_id"];
543
+ isOneToOne: false;
544
+ referencedRelation: "resources";
545
+ referencedColumns: ["id"];
546
+ }, {
547
+ foreignKeyName: "audit_tasks_skill_id_fkey";
548
+ columns: ["skill_id"];
549
+ isOneToOne: false;
550
+ referencedRelation: "audit_skills";
551
+ referencedColumns: ["id"];
552
+ }];
553
+ };
554
+ browsers: {
555
+ Row: {
556
+ cdpUrl: string | null;
557
+ config: import("../types/database.types").Json | null;
558
+ created_at: string;
559
+ description: string | null;
560
+ id: string;
561
+ profile_id: string | null;
562
+ provider: string | null;
563
+ provider_config: import("../types/database.types").Json | null;
564
+ sandbox_id: string | null;
565
+ title: string | null;
566
+ updated_at: string | null;
567
+ user_id: string | null;
568
+ };
569
+ Insert: {
570
+ cdpUrl?: string | null;
571
+ config?: import("../types/database.types").Json | null;
572
+ created_at?: string;
573
+ description?: string | null;
574
+ id?: string;
575
+ profile_id?: string | null;
576
+ provider?: string | null;
577
+ provider_config?: import("../types/database.types").Json | null;
578
+ sandbox_id?: string | null;
579
+ title?: string | null;
580
+ updated_at?: string | null;
581
+ user_id?: string | null;
582
+ };
583
+ Update: {
584
+ cdpUrl?: string | null;
585
+ config?: import("../types/database.types").Json | null;
586
+ created_at?: string;
587
+ description?: string | null;
588
+ id?: string;
589
+ profile_id?: string | null;
590
+ provider?: string | null;
591
+ provider_config?: import("../types/database.types").Json | null;
592
+ sandbox_id?: string | null;
593
+ title?: string | null;
594
+ updated_at?: string | null;
595
+ user_id?: string | null;
596
+ };
597
+ Relationships: [];
598
+ };
599
+ chat_messages: {
600
+ Row: {
601
+ attachments: import("../types/database.types").Json | null;
602
+ chat_id: string;
603
+ created_at: string;
604
+ grounding_metadata: import("../types/database.types").Json | null;
605
+ id: string;
606
+ parts: import("../types/database.types").Json;
607
+ role: string;
608
+ updated_at: string;
609
+ user_id: string | null;
610
+ };
611
+ Insert: {
612
+ attachments?: import("../types/database.types").Json | null;
613
+ chat_id: string;
614
+ created_at?: string;
615
+ grounding_metadata?: import("../types/database.types").Json | null;
616
+ id?: string;
617
+ parts: import("../types/database.types").Json;
618
+ role: string;
619
+ updated_at?: string;
620
+ user_id?: string | null;
621
+ };
622
+ Update: {
623
+ attachments?: import("../types/database.types").Json | null;
624
+ chat_id?: string;
625
+ created_at?: string;
626
+ grounding_metadata?: import("../types/database.types").Json | null;
627
+ id?: string;
628
+ parts?: import("../types/database.types").Json;
629
+ role?: string;
630
+ updated_at?: string;
631
+ user_id?: string | null;
632
+ };
633
+ Relationships: [{
634
+ foreignKeyName: "chat_messages_chat_id_fkey";
635
+ columns: ["chat_id"];
636
+ isOneToOne: false;
637
+ referencedRelation: "chats";
638
+ referencedColumns: ["id"];
639
+ }];
640
+ };
641
+ chats: {
642
+ Row: {
643
+ agent_id: string;
644
+ created_at: string;
645
+ id: string;
646
+ lastContext: import("../types/database.types").Json | null;
647
+ state: import("../types/database.types").Json | null;
648
+ title: string;
649
+ type: string;
650
+ updated_at: string | null;
651
+ user_id: string | null;
652
+ visibility: string;
653
+ };
654
+ Insert: {
655
+ agent_id: string;
656
+ created_at?: string;
657
+ id?: string;
658
+ lastContext?: import("../types/database.types").Json | null;
659
+ state?: import("../types/database.types").Json | null;
660
+ title: string;
661
+ type?: string;
662
+ updated_at?: string | null;
663
+ user_id?: string | null;
664
+ visibility?: string;
665
+ };
666
+ Update: {
667
+ agent_id?: string;
668
+ created_at?: string;
669
+ id?: string;
670
+ lastContext?: import("../types/database.types").Json | null;
671
+ state?: import("../types/database.types").Json | null;
672
+ title?: string;
673
+ type?: string;
674
+ updated_at?: string | null;
675
+ user_id?: string | null;
676
+ visibility?: string;
677
+ };
678
+ Relationships: [];
679
+ };
680
+ compute_nodes: {
681
+ Row: {
682
+ auth_secret: string | null;
683
+ auth_type: string | null;
684
+ config: import("../types/database.types").Json | null;
685
+ created_at: string;
686
+ enabled: boolean | null;
687
+ id: string;
688
+ ip: string;
689
+ max_instances: number | null;
690
+ name: string;
691
+ port: number;
692
+ provider: string;
693
+ status: string | null;
694
+ tags: import("../types/database.types").Json | null;
695
+ updated_at: string;
696
+ user_id: string | null;
697
+ username: string | null;
698
+ };
699
+ Insert: {
700
+ auth_secret?: string | null;
701
+ auth_type?: string | null;
702
+ config?: import("../types/database.types").Json | null;
703
+ created_at?: string;
704
+ enabled?: boolean | null;
705
+ id?: string;
706
+ ip: string;
707
+ max_instances?: number | null;
708
+ name: string;
709
+ port?: number;
710
+ provider?: string;
711
+ status?: string | null;
712
+ tags?: import("../types/database.types").Json | null;
713
+ updated_at?: string;
714
+ user_id?: string | null;
715
+ username?: string | null;
716
+ };
717
+ Update: {
718
+ auth_secret?: string | null;
719
+ auth_type?: string | null;
720
+ config?: import("../types/database.types").Json | null;
721
+ created_at?: string;
722
+ enabled?: boolean | null;
723
+ id?: string;
724
+ ip?: string;
725
+ max_instances?: number | null;
726
+ name?: string;
727
+ port?: number;
728
+ provider?: string;
729
+ status?: string | null;
730
+ tags?: import("../types/database.types").Json | null;
731
+ updated_at?: string;
732
+ user_id?: string | null;
733
+ username?: string | null;
734
+ };
735
+ Relationships: [];
736
+ };
737
+ dash_navitems: {
738
+ Row: {
739
+ badge: string | null;
740
+ created_at: string;
741
+ enabled: boolean | null;
742
+ icon: string | null;
743
+ id: string;
744
+ label: string;
745
+ location: string | null;
746
+ ord: number | null;
747
+ parent_id: string | null;
748
+ required_role: Database["public"]["Enums"]["app_role"] | null;
749
+ tooltip: string | null;
750
+ url: string | null;
751
+ };
752
+ Insert: {
753
+ badge?: string | null;
754
+ created_at?: string;
755
+ enabled?: boolean | null;
756
+ icon?: string | null;
757
+ id?: string;
758
+ label: string;
759
+ location?: string | null;
760
+ ord?: number | null;
761
+ parent_id?: string | null;
762
+ required_role?: Database["public"]["Enums"]["app_role"] | null;
763
+ tooltip?: string | null;
764
+ url?: string | null;
765
+ };
766
+ Update: {
767
+ badge?: string | null;
768
+ created_at?: string;
769
+ enabled?: boolean | null;
770
+ icon?: string | null;
771
+ id?: string;
772
+ label?: string;
773
+ location?: string | null;
774
+ ord?: number | null;
775
+ parent_id?: string | null;
776
+ required_role?: Database["public"]["Enums"]["app_role"] | null;
777
+ tooltip?: string | null;
778
+ url?: string | null;
779
+ };
780
+ Relationships: [{
781
+ foreignKeyName: "dash_navitems_parent_id_fkey";
782
+ columns: ["parent_id"];
783
+ isOneToOne: false;
784
+ referencedRelation: "dash_navitems";
785
+ referencedColumns: ["id"];
786
+ }];
787
+ };
788
+ endpoints: {
789
+ Row: {
790
+ created_at: string;
791
+ host_id: string | null;
792
+ hostname: string | null;
358
793
  id: string;
359
794
  is_heal: boolean | null;
360
795
  state: import("../types/database.types").Json | null;
@@ -389,7 +824,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
389
824
  };
390
825
  Relationships: [];
391
826
  };
392
- event_results: {
827
+ event_results_laji: {
393
828
  Row: {
394
829
  created_at: string;
395
830
  error: string | null;
@@ -424,31 +859,31 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
424
859
  };
425
860
  event_streams: {
426
861
  Row: {
427
- channel: string;
428
- created_at: string;
429
- data: import("../types/database.types").Json | null;
430
- deleted_at: string | null;
431
- event: string | null;
862
+ created_at: string | null;
863
+ data: import("../types/database.types").Json;
864
+ event: string;
432
865
  id: string;
433
- user_id: string | null;
866
+ session_id: string;
867
+ updated_at: string | null;
868
+ user_id: string;
434
869
  };
435
870
  Insert: {
436
- channel?: string;
437
- created_at?: string;
438
- data?: import("../types/database.types").Json | null;
439
- deleted_at?: string | null;
440
- event?: string | null;
871
+ created_at?: string | null;
872
+ data: import("../types/database.types").Json;
873
+ event?: string;
441
874
  id: string;
442
- user_id?: string | null;
875
+ session_id: string;
876
+ updated_at?: string | null;
877
+ user_id?: string;
443
878
  };
444
879
  Update: {
445
- channel?: string;
446
- created_at?: string;
447
- data?: import("../types/database.types").Json | null;
448
- deleted_at?: string | null;
449
- event?: string | null;
880
+ created_at?: string | null;
881
+ data?: import("../types/database.types").Json;
882
+ event?: string;
450
883
  id?: string;
451
- user_id?: string | null;
884
+ session_id?: string;
885
+ updated_at?: string | null;
886
+ user_id?: string;
452
887
  };
453
888
  Relationships: [];
454
889
  };
@@ -476,75 +911,126 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
476
911
  };
477
912
  Relationships: [];
478
913
  };
479
- paccounts: {
914
+ linked_accounts: {
480
915
  Row: {
481
- config: import("../types/database.types").Json | null;
482
916
  created_at: string;
483
- description: string | null;
484
- enabled: boolean;
917
+ credentials: import("../types/database.types").Json | null;
485
918
  id: string;
919
+ last_used_at: string | null;
486
920
  name: string | null;
487
921
  platform_id: string | null;
488
- state: import("../types/database.types").Json | null;
922
+ session_data: import("../types/database.types").Json | null;
923
+ status: string | null;
489
924
  updated_at: string | null;
490
- user_id: string | null;
925
+ user_id: string;
491
926
  };
492
927
  Insert: {
493
- config?: import("../types/database.types").Json | null;
494
928
  created_at?: string;
495
- description?: string | null;
496
- enabled?: boolean;
929
+ credentials?: import("../types/database.types").Json | null;
497
930
  id?: string;
931
+ last_used_at?: string | null;
498
932
  name?: string | null;
499
933
  platform_id?: string | null;
500
- state?: import("../types/database.types").Json | null;
934
+ session_data?: import("../types/database.types").Json | null;
935
+ status?: string | null;
501
936
  updated_at?: string | null;
502
- user_id?: string | null;
937
+ user_id: string;
503
938
  };
504
939
  Update: {
505
- config?: import("../types/database.types").Json | null;
506
940
  created_at?: string;
507
- description?: string | null;
508
- enabled?: boolean;
941
+ credentials?: import("../types/database.types").Json | null;
509
942
  id?: string;
943
+ last_used_at?: string | null;
510
944
  name?: string | null;
511
945
  platform_id?: string | null;
512
- state?: import("../types/database.types").Json | null;
946
+ session_data?: import("../types/database.types").Json | null;
947
+ status?: string | null;
513
948
  updated_at?: string | null;
514
- user_id?: string | null;
949
+ user_id?: string;
515
950
  };
516
951
  Relationships: [{
517
- foreignKeyName: "paccounts_platform_id_fkey";
952
+ foreignKeyName: "linked_accounts_platform_id_fkey";
518
953
  columns: ["platform_id"];
519
954
  isOneToOne: false;
520
955
  referencedRelation: "platforms";
521
956
  referencedColumns: ["id"];
522
957
  }];
523
958
  };
959
+ mitm_rules: {
960
+ Row: {
961
+ action_config: import("../types/database.types").Json | null;
962
+ action_type: string | null;
963
+ created_at: string | null;
964
+ id: string;
965
+ is_active: boolean | null;
966
+ match_pattern: string | null;
967
+ name: string | null;
968
+ resource_id: string | null;
969
+ user_id: string | null;
970
+ };
971
+ Insert: {
972
+ action_config?: import("../types/database.types").Json | null;
973
+ action_type?: string | null;
974
+ created_at?: string | null;
975
+ id?: string;
976
+ is_active?: boolean | null;
977
+ match_pattern?: string | null;
978
+ name?: string | null;
979
+ resource_id?: string | null;
980
+ user_id?: string | null;
981
+ };
982
+ Update: {
983
+ action_config?: import("../types/database.types").Json | null;
984
+ action_type?: string | null;
985
+ created_at?: string | null;
986
+ id?: string;
987
+ is_active?: boolean | null;
988
+ match_pattern?: string | null;
989
+ name?: string | null;
990
+ resource_id?: string | null;
991
+ user_id?: string | null;
992
+ };
993
+ Relationships: [{
994
+ foreignKeyName: "mitm_rules_resource_id_fkey";
995
+ columns: ["resource_id"];
996
+ isOneToOne: false;
997
+ referencedRelation: "resources";
998
+ referencedColumns: ["id"];
999
+ }];
1000
+ };
524
1001
  platforms: {
525
1002
  Row: {
1003
+ auth_config: import("../types/database.types").Json | null;
1004
+ base_url: string | null;
526
1005
  created_at: string;
1006
+ display_name: string | null;
527
1007
  id: string;
528
- name: string | null;
1008
+ is_active: boolean;
1009
+ name: string;
529
1010
  type: string;
530
1011
  updated_at: string | null;
531
- url: string;
532
1012
  };
533
1013
  Insert: {
1014
+ auth_config?: import("../types/database.types").Json | null;
1015
+ base_url?: string | null;
534
1016
  created_at?: string;
1017
+ display_name?: string | null;
535
1018
  id?: string;
536
- name?: string | null;
1019
+ is_active?: boolean;
1020
+ name: string;
537
1021
  type?: string;
538
1022
  updated_at?: string | null;
539
- url: string;
540
1023
  };
541
1024
  Update: {
1025
+ auth_config?: import("../types/database.types").Json | null;
1026
+ base_url?: string | null;
542
1027
  created_at?: string;
1028
+ display_name?: string | null;
543
1029
  id?: string;
544
- name?: string | null;
1030
+ is_active?: boolean;
1031
+ name?: string;
545
1032
  type?: string;
546
1033
  updated_at?: string | null;
547
- url?: string;
548
1034
  };
549
1035
  Relationships: [];
550
1036
  };
@@ -725,7 +1211,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
725
1211
  };
726
1212
  Relationships: [];
727
1213
  };
728
- service_tunnels: {
1214
+ service_tunnels_laji: {
729
1215
  Row: {
730
1216
  cfd_token: string | null;
731
1217
  created_at: string;
@@ -752,7 +1238,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
752
1238
  };
753
1239
  Relationships: [];
754
1240
  };
755
- services: {
1241
+ services_laji: {
756
1242
  Row: {
757
1243
  created_at: string;
758
1244
  id: string;
@@ -788,6 +1274,30 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
788
1274
  };
789
1275
  Relationships: [];
790
1276
  };
1277
+ sys_config: {
1278
+ Row: {
1279
+ created_at: string | null;
1280
+ description: string | null;
1281
+ key: string;
1282
+ updated_at: string | null;
1283
+ value: import("../types/database.types").Json;
1284
+ };
1285
+ Insert: {
1286
+ created_at?: string | null;
1287
+ description?: string | null;
1288
+ key: string;
1289
+ updated_at?: string | null;
1290
+ value?: import("../types/database.types").Json;
1291
+ };
1292
+ Update: {
1293
+ created_at?: string | null;
1294
+ description?: string | null;
1295
+ key?: string;
1296
+ updated_at?: string | null;
1297
+ value?: import("../types/database.types").Json;
1298
+ };
1299
+ Relationships: [];
1300
+ };
791
1301
  sys_logs: {
792
1302
  Row: {
793
1303
  created_at: string;
@@ -815,6 +1325,48 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
815
1325
  };
816
1326
  Relationships: [];
817
1327
  };
1328
+ sys_settings_laji: {
1329
+ Row: {
1330
+ description: string | null;
1331
+ key: string;
1332
+ updated_at: string | null;
1333
+ value: string | null;
1334
+ };
1335
+ Insert: {
1336
+ description?: string | null;
1337
+ key: string;
1338
+ updated_at?: string | null;
1339
+ value?: string | null;
1340
+ };
1341
+ Update: {
1342
+ description?: string | null;
1343
+ key?: string;
1344
+ updated_at?: string | null;
1345
+ value?: string | null;
1346
+ };
1347
+ Relationships: [];
1348
+ };
1349
+ system_settings_laji: {
1350
+ Row: {
1351
+ description: string | null;
1352
+ key: string;
1353
+ updated_at: string | null;
1354
+ value: import("../types/database.types").Json;
1355
+ };
1356
+ Insert: {
1357
+ description?: string | null;
1358
+ key: string;
1359
+ updated_at?: string | null;
1360
+ value: import("../types/database.types").Json;
1361
+ };
1362
+ Update: {
1363
+ description?: string | null;
1364
+ key?: string;
1365
+ updated_at?: string | null;
1366
+ value?: import("../types/database.types").Json;
1367
+ };
1368
+ Relationships: [];
1369
+ };
818
1370
  sysviews: {
819
1371
  Row: {
820
1372
  created_at: string;
@@ -836,6 +1388,63 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
836
1388
  };
837
1389
  Relationships: [];
838
1390
  };
1391
+ user_logs: {
1392
+ Row: {
1393
+ content: string | null;
1394
+ created_at: string | null;
1395
+ event_type: string;
1396
+ id: string;
1397
+ level: string;
1398
+ meta: import("../types/database.types").Json | null;
1399
+ resource_id: string | null;
1400
+ resource_type: string | null;
1401
+ user_id: string;
1402
+ };
1403
+ Insert: {
1404
+ content?: string | null;
1405
+ created_at?: string | null;
1406
+ event_type: string;
1407
+ id?: string;
1408
+ level: string;
1409
+ meta?: import("../types/database.types").Json | null;
1410
+ resource_id?: string | null;
1411
+ resource_type?: string | null;
1412
+ user_id?: string;
1413
+ };
1414
+ Update: {
1415
+ content?: string | null;
1416
+ created_at?: string | null;
1417
+ event_type?: string;
1418
+ id?: string;
1419
+ level?: string;
1420
+ meta?: import("../types/database.types").Json | null;
1421
+ resource_id?: string | null;
1422
+ resource_type?: string | null;
1423
+ user_id?: string;
1424
+ };
1425
+ Relationships: [];
1426
+ };
1427
+ user_roles: {
1428
+ Row: {
1429
+ created_at: string | null;
1430
+ id: number;
1431
+ role: Database["public"]["Enums"]["app_role"];
1432
+ user_id: string;
1433
+ };
1434
+ Insert: {
1435
+ created_at?: string | null;
1436
+ id?: number;
1437
+ role: Database["public"]["Enums"]["app_role"];
1438
+ user_id: string;
1439
+ };
1440
+ Update: {
1441
+ created_at?: string | null;
1442
+ id?: number;
1443
+ role?: Database["public"]["Enums"]["app_role"];
1444
+ user_id?: string;
1445
+ };
1446
+ Relationships: [];
1447
+ };
839
1448
  voltagent_memory_conversations: {
840
1449
  Row: {
841
1450
  created_at: string;
@@ -1039,85 +1648,275 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1039
1648
  };
1040
1649
  worker_tasks: {
1041
1650
  Row: {
1042
- browser_id: string | null;
1043
1651
  created_at: string;
1044
1652
  error: string | null;
1045
1653
  id: string;
1046
1654
  payload: import("../types/database.types").Json;
1047
1655
  result: import("../types/database.types").Json | null;
1656
+ session_id: string | null;
1048
1657
  status: string | null;
1049
1658
  type: string;
1050
1659
  updated_at: string;
1660
+ user_id: string | null;
1051
1661
  worker_id: string | null;
1052
1662
  };
1053
1663
  Insert: {
1054
- browser_id?: string | null;
1055
1664
  created_at?: string;
1056
1665
  error?: string | null;
1057
1666
  id?: string;
1058
1667
  payload: import("../types/database.types").Json;
1059
1668
  result?: import("../types/database.types").Json | null;
1669
+ session_id?: string | null;
1060
1670
  status?: string | null;
1061
1671
  type: string;
1062
1672
  updated_at?: string;
1673
+ user_id?: string | null;
1063
1674
  worker_id?: string | null;
1064
1675
  };
1065
1676
  Update: {
1066
- browser_id?: string | null;
1067
1677
  created_at?: string;
1068
1678
  error?: string | null;
1069
1679
  id?: string;
1070
1680
  payload?: import("../types/database.types").Json;
1071
1681
  result?: import("../types/database.types").Json | null;
1682
+ session_id?: string | null;
1072
1683
  status?: string | null;
1073
1684
  type?: string;
1074
1685
  updated_at?: string;
1686
+ user_id?: string | null;
1075
1687
  worker_id?: string | null;
1076
1688
  };
1077
- Relationships: [{
1078
- foreignKeyName: "worker_tasks_browser_id_fkey";
1079
- columns: ["browser_id"];
1080
- isOneToOne: false;
1081
- referencedRelation: "browsers";
1082
- referencedColumns: ["id"];
1083
- }];
1689
+ Relationships: [];
1084
1690
  };
1085
1691
  workers: {
1086
1692
  Row: {
1087
1693
  config: import("../types/database.types").Json | null;
1694
+ container_id: string | null;
1088
1695
  created_at: string;
1696
+ host_id: string | null;
1089
1697
  id: string;
1090
1698
  latest_pull_at: string | null;
1091
1699
  name: string | null;
1092
1700
  state: import("../types/database.types").Json | null;
1701
+ status: string | null;
1093
1702
  updated_at: string;
1094
1703
  user_id: string | null;
1095
1704
  };
1096
- Insert: {
1097
- config?: import("../types/database.types").Json | null;
1098
- created_at?: string;
1099
- id: string;
1100
- latest_pull_at?: string | null;
1101
- name?: string | null;
1102
- state?: import("../types/database.types").Json | null;
1103
- updated_at?: string;
1104
- user_id?: string | null;
1705
+ Insert: {
1706
+ config?: import("../types/database.types").Json | null;
1707
+ container_id?: string | null;
1708
+ created_at?: string;
1709
+ host_id?: string | null;
1710
+ id: string;
1711
+ latest_pull_at?: string | null;
1712
+ name?: string | null;
1713
+ state?: import("../types/database.types").Json | null;
1714
+ status?: string | null;
1715
+ updated_at?: string;
1716
+ user_id?: string | null;
1717
+ };
1718
+ Update: {
1719
+ config?: import("../types/database.types").Json | null;
1720
+ container_id?: string | null;
1721
+ created_at?: string;
1722
+ host_id?: string | null;
1723
+ id?: string;
1724
+ latest_pull_at?: string | null;
1725
+ name?: string | null;
1726
+ state?: import("../types/database.types").Json | null;
1727
+ status?: string | null;
1728
+ updated_at?: string;
1729
+ user_id?: string | null;
1730
+ };
1731
+ Relationships: [{
1732
+ foreignKeyName: "workers_host_id_fkey";
1733
+ columns: ["host_id"];
1734
+ isOneToOne: false;
1735
+ referencedRelation: "compute_nodes";
1736
+ referencedColumns: ["id"];
1737
+ }];
1738
+ };
1739
+ workflow_instances: {
1740
+ Row: {
1741
+ code_content: string | null;
1742
+ created_at: string | null;
1743
+ description: string | null;
1744
+ error_message: string | null;
1745
+ id: string;
1746
+ notebook_json: import("../types/database.types").Json | null;
1747
+ result: import("../types/database.types").Json | null;
1748
+ status: string | null;
1749
+ title: string | null;
1750
+ updated_at: string | null;
1751
+ user_id: string;
1752
+ };
1753
+ Insert: {
1754
+ code_content?: string | null;
1755
+ created_at?: string | null;
1756
+ description?: string | null;
1757
+ error_message?: string | null;
1758
+ id?: string;
1759
+ notebook_json?: import("../types/database.types").Json | null;
1760
+ result?: import("../types/database.types").Json | null;
1761
+ status?: string | null;
1762
+ title?: string | null;
1763
+ updated_at?: string | null;
1764
+ user_id: string;
1765
+ };
1766
+ Update: {
1767
+ code_content?: string | null;
1768
+ created_at?: string | null;
1769
+ description?: string | null;
1770
+ error_message?: string | null;
1771
+ id?: string;
1772
+ notebook_json?: import("../types/database.types").Json | null;
1773
+ result?: import("../types/database.types").Json | null;
1774
+ status?: string | null;
1775
+ title?: string | null;
1776
+ updated_at?: string | null;
1777
+ user_id?: string;
1778
+ };
1779
+ Relationships: [];
1780
+ };
1781
+ workflow_steps: {
1782
+ Row: {
1783
+ cell_output: import("../types/database.types").Json | null;
1784
+ cell_source: string | null;
1785
+ completed_at: string | null;
1786
+ id: string;
1787
+ logs: string | null;
1788
+ output_data: import("../types/database.types").Json | null;
1789
+ started_at: string | null;
1790
+ status: string | null;
1791
+ step_index: number | null;
1792
+ title: string;
1793
+ workflow_id: string | null;
1794
+ };
1795
+ Insert: {
1796
+ cell_output?: import("../types/database.types").Json | null;
1797
+ cell_source?: string | null;
1798
+ completed_at?: string | null;
1799
+ id?: string;
1800
+ logs?: string | null;
1801
+ output_data?: import("../types/database.types").Json | null;
1802
+ started_at?: string | null;
1803
+ status?: string | null;
1804
+ step_index?: number | null;
1805
+ title: string;
1806
+ workflow_id?: string | null;
1807
+ };
1808
+ Update: {
1809
+ cell_output?: import("../types/database.types").Json | null;
1810
+ cell_source?: string | null;
1811
+ completed_at?: string | null;
1812
+ id?: string;
1813
+ logs?: string | null;
1814
+ output_data?: import("../types/database.types").Json | null;
1815
+ started_at?: string | null;
1816
+ status?: string | null;
1817
+ step_index?: number | null;
1818
+ title?: string;
1819
+ workflow_id?: string | null;
1820
+ };
1821
+ Relationships: [{
1822
+ foreignKeyName: "workflow_steps_workflow_id_fkey";
1823
+ columns: ["workflow_id"];
1824
+ isOneToOne: false;
1825
+ referencedRelation: "workflow_instances";
1826
+ referencedColumns: ["id"];
1827
+ }];
1828
+ };
1829
+ };
1830
+ Views: { [_ in never]: never; };
1831
+ Functions: {
1832
+ action_tool_query: {
1833
+ Args: {
1834
+ p_prefix?: string;
1835
+ };
1836
+ Returns: import("../types/database.types").Json;
1837
+ };
1838
+ action_tool_reply_to_user: {
1839
+ Args: {
1840
+ p_actions?: import("../types/database.types").Json;
1841
+ p_chat_id?: string;
1842
+ p_text?: string;
1843
+ p_user_id?: string;
1844
+ };
1845
+ Returns: import("../types/database.types").Json;
1846
+ };
1847
+ adk_agent_list: {
1848
+ Args: never;
1849
+ Returns: {
1850
+ avatar_url: string | null;
1851
+ created_at: string | null;
1852
+ description: string | null;
1853
+ name: string;
1854
+ updated_at: string | null;
1855
+ }[];
1856
+ SetofOptions: {
1857
+ from: "*";
1858
+ to: "adk_agents";
1859
+ isOneToOne: false;
1860
+ isSetofReturn: true;
1861
+ };
1862
+ };
1863
+ adk_artifact_delete: {
1864
+ Args: {
1865
+ p_app_name: string;
1866
+ p_filename: string;
1867
+ p_session_id: string;
1868
+ p_user_id: string;
1869
+ };
1870
+ Returns: undefined;
1871
+ };
1872
+ adk_artifact_get: {
1873
+ Args: {
1874
+ p_app_name: string;
1875
+ p_filename: string;
1876
+ p_session_id: string;
1877
+ p_user_id: string;
1878
+ p_version?: number;
1879
+ };
1880
+ Returns: import("../types/database.types").Json;
1881
+ };
1882
+ adk_artifact_list_keys: {
1883
+ Args: {
1884
+ p_app_name: string;
1885
+ p_session_id: string;
1886
+ p_user_id: string;
1105
1887
  };
1106
- Update: {
1107
- config?: import("../types/database.types").Json | null;
1108
- created_at?: string;
1109
- id?: string;
1110
- latest_pull_at?: string | null;
1111
- name?: string | null;
1112
- state?: import("../types/database.types").Json | null;
1113
- updated_at?: string;
1114
- user_id?: string | null;
1888
+ Returns: {
1889
+ filename: string;
1890
+ }[];
1891
+ };
1892
+ adk_artifact_list_versions_meta: {
1893
+ Args: {
1894
+ p_app_name: string;
1895
+ p_filename: string;
1896
+ p_session_id: string;
1897
+ p_user_id: string;
1115
1898
  };
1116
- Relationships: [];
1899
+ Returns: {
1900
+ canonical_uri: string;
1901
+ create_time: number;
1902
+ custom_metadata: import("../types/database.types").Json;
1903
+ mime_type: string;
1904
+ version: number;
1905
+ }[];
1906
+ };
1907
+ adk_artifact_save: {
1908
+ Args: {
1909
+ p_app_name: string;
1910
+ p_canonical_uri: string;
1911
+ p_custom_metadata: import("../types/database.types").Json;
1912
+ p_data: import("../types/database.types").Json;
1913
+ p_filename: string;
1914
+ p_mime_type: string;
1915
+ p_session_id: string;
1916
+ p_user_id: string;
1917
+ };
1918
+ Returns: number;
1117
1919
  };
1118
- };
1119
- Views: { [_ in never]: never; };
1120
- Functions: {
1121
1920
  adk_event_list: {
1122
1921
  Args: {
1123
1922
  p_session_id: string;
@@ -1158,11 +1957,32 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1158
1957
  adk_event_upsert: {
1159
1958
  Args: {
1160
1959
  p_actions?: import("../types/database.types").Json;
1960
+ p_app_name: string;
1161
1961
  p_author: string;
1962
+ p_branch?: string;
1963
+ p_citation_metadata?: import("../types/database.types").Json;
1162
1964
  p_content: import("../types/database.types").Json;
1163
- p_id?: string;
1965
+ p_custom_metadata?: import("../types/database.types").Json;
1966
+ p_error_code?: string;
1967
+ p_error_message?: string;
1968
+ p_grounding_metadata?: import("../types/database.types").Json;
1969
+ p_id: string;
1970
+ p_input_transcription?: import("../types/database.types").Json;
1971
+ p_interrupted?: boolean;
1164
1972
  p_invocation_id?: string;
1973
+ p_long_running_tool_ids_json?: string;
1974
+ p_output_transcription?: import("../types/database.types").Json;
1165
1975
  p_session_id: string;
1976
+ p_timestamp: string;
1977
+ p_turn_complete: boolean;
1978
+ p_usage_metadata?: import("../types/database.types").Json;
1979
+ p_user_id?: string;
1980
+ };
1981
+ Returns: import("../types/database.types").Json;
1982
+ };
1983
+ adk_event_upsert_from_json: {
1984
+ Args: {
1985
+ p_payload: import("../types/database.types").Json;
1166
1986
  };
1167
1987
  Returns: {
1168
1988
  actions: import("../types/database.types").Json | null;
@@ -1197,7 +2017,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1197
2017
  isSetofReturn: false;
1198
2018
  };
1199
2019
  };
1200
- adk_event_upsert_from_json: {
2020
+ adk_event_upsert_from_json_laji: {
1201
2021
  Args: {
1202
2022
  p_payload: import("../types/database.types").Json;
1203
2023
  };
@@ -1234,27 +2054,34 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1234
2054
  isSetofReturn: false;
1235
2055
  };
1236
2056
  };
1237
- adk_event_upsert_v2: {
2057
+ adk_quick_start_list: {
1238
2058
  Args: {
1239
- p_actions: import("../types/database.types").Json;
1240
- p_author: string;
1241
- p_branch: string;
1242
- p_citation_metadata: import("../types/database.types").Json;
1243
- p_content: import("../types/database.types").Json;
1244
- p_custom_metadata: import("../types/database.types").Json;
1245
- p_error_code: string;
1246
- p_error_message: string;
1247
- p_grounding_metadata: import("../types/database.types").Json;
1248
- p_id: string;
1249
- p_interrupted: boolean;
1250
- p_invocation_id: string;
1251
- p_long_running_tool_ids_json: string;
2059
+ p_agent_name?: string;
2060
+ };
2061
+ Returns: {
2062
+ agent_name: string;
2063
+ created_at: string | null;
2064
+ description: string | null;
2065
+ id: string;
2066
+ is_active: boolean | null;
2067
+ ord: number | null;
2068
+ prompt: string;
2069
+ title: string;
2070
+ updated_at: string | null;
2071
+ }[];
2072
+ SetofOptions: {
2073
+ from: "*";
2074
+ to: "adk_quick_starts";
2075
+ isOneToOne: false;
2076
+ isSetofReturn: true;
2077
+ };
2078
+ };
2079
+ adk_session_delete: {
2080
+ Args: {
2081
+ p_app_name: string;
1252
2082
  p_session_id: string;
1253
- p_timestamp: string;
1254
- p_turn_complete: boolean;
1255
- p_usage_metadata: import("../types/database.types").Json;
1256
2083
  };
1257
- Returns: import("../types/database.types").Json;
2084
+ Returns: undefined;
1258
2085
  };
1259
2086
  adk_session_get: {
1260
2087
  Args: {
@@ -1277,8 +2104,8 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1277
2104
  };
1278
2105
  adk_session_list: {
1279
2106
  Args: {
1280
- app_name: string;
1281
- user_id?: string;
2107
+ p_app_name: string;
2108
+ p_user_id?: string;
1282
2109
  };
1283
2110
  Returns: {
1284
2111
  app_name: string;
@@ -1295,11 +2122,12 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1295
2122
  isSetofReturn: true;
1296
2123
  };
1297
2124
  };
1298
- adk_session_upsert: {
2125
+ adk_session_list_backup: {
1299
2126
  Args: {
1300
2127
  p_app_name: string;
1301
- p_session_id: string;
1302
- p_state?: import("../types/database.types").Json;
2128
+ p_page_num?: number;
2129
+ p_page_size?: number;
2130
+ p_user_id?: string;
1303
2131
  };
1304
2132
  Returns: {
1305
2133
  app_name: string;
@@ -1308,15 +2136,15 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1308
2136
  state: import("../types/database.types").Json;
1309
2137
  updated_at: string | null;
1310
2138
  user_id: string;
1311
- };
2139
+ }[];
1312
2140
  SetofOptions: {
1313
2141
  from: "*";
1314
2142
  to: "adk_sessions";
1315
- isOneToOne: true;
1316
- isSetofReturn: false;
2143
+ isOneToOne: false;
2144
+ isSetofReturn: true;
1317
2145
  };
1318
2146
  };
1319
- adk_session_upsert_v2: {
2147
+ adk_session_upsert: {
1320
2148
  Args: {
1321
2149
  p_app_name: string;
1322
2150
  p_session_id: string;
@@ -1338,6 +2166,243 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1338
2166
  isSetofReturn: true;
1339
2167
  };
1340
2168
  };
2169
+ agent_signal_wakeup: {
2170
+ Args: {
2171
+ p_session_id: string;
2172
+ };
2173
+ Returns: import("../types/database.types").Json;
2174
+ };
2175
+ agent_task_submit_laji: {
2176
+ Args: {
2177
+ p_app_name?: string;
2178
+ p_invocation_id?: string;
2179
+ p_session_id: string;
2180
+ p_text?: string;
2181
+ p_user_id?: string;
2182
+ };
2183
+ Returns: import("../types/database.types").Json;
2184
+ };
2185
+ agent_tool_exec_read_sql: {
2186
+ Args: {
2187
+ p_max_chars?: number;
2188
+ p_max_rows?: number;
2189
+ sql_query: string;
2190
+ };
2191
+ Returns: string;
2192
+ };
2193
+ agent_tool_get_unanswered_chats_backup: {
2194
+ Args: {
2195
+ p_limit?: number;
2196
+ };
2197
+ Returns: import("../types/database.types").Json;
2198
+ };
2199
+ audit_artifact_list: {
2200
+ Args: {
2201
+ p_project_id: string;
2202
+ };
2203
+ Returns: {
2204
+ app_name: string;
2205
+ canonical_uri: string | null;
2206
+ created_at: string | null;
2207
+ custom_metadata: import("../types/database.types").Json | null;
2208
+ data: import("../types/database.types").Json | null;
2209
+ filename: string;
2210
+ id: string;
2211
+ mime_type: string | null;
2212
+ session_id: string | null;
2213
+ user_id: string;
2214
+ version: number;
2215
+ }[];
2216
+ SetofOptions: {
2217
+ from: "*";
2218
+ to: "adk_artifacts";
2219
+ isOneToOne: false;
2220
+ isSetofReturn: true;
2221
+ };
2222
+ };
2223
+ audit_asset_list: {
2224
+ Args: {
2225
+ p_project_id: string;
2226
+ p_type?: string;
2227
+ };
2228
+ Returns: {
2229
+ content: string;
2230
+ created_at: string;
2231
+ id: string;
2232
+ metadata: import("../types/database.types").Json | null;
2233
+ project_id: string;
2234
+ status: string | null;
2235
+ type: string;
2236
+ updated_at: string;
2237
+ }[];
2238
+ SetofOptions: {
2239
+ from: "*";
2240
+ to: "audit_assets";
2241
+ isOneToOne: false;
2242
+ isSetofReturn: true;
2243
+ };
2244
+ };
2245
+ audit_finding_list: {
2246
+ Args: {
2247
+ p_project_id: string;
2248
+ };
2249
+ Returns: {
2250
+ ai_analysis: string | null;
2251
+ created_at: string;
2252
+ description: string | null;
2253
+ id: string;
2254
+ project_id: string;
2255
+ proof_poc: string | null;
2256
+ remediation: string | null;
2257
+ severity: string | null;
2258
+ status: string | null;
2259
+ task_id: string | null;
2260
+ title: string;
2261
+ updated_at: string;
2262
+ }[];
2263
+ SetofOptions: {
2264
+ from: "*";
2265
+ to: "audit_findings";
2266
+ isOneToOne: false;
2267
+ isSetofReturn: true;
2268
+ };
2269
+ };
2270
+ audit_project_bind_github: {
2271
+ Args: {
2272
+ p_installation_id: number;
2273
+ p_project_id: string;
2274
+ p_repo_branch: string;
2275
+ p_repo_full_name: string;
2276
+ p_repo_id: number;
2277
+ p_repo_url: string;
2278
+ };
2279
+ Returns: import("../types/database.types").Json;
2280
+ };
2281
+ audit_project_dashboard_stats: {
2282
+ Args: {
2283
+ p_project_id: string;
2284
+ };
2285
+ Returns: {
2286
+ asset_count: number;
2287
+ finding_count: number;
2288
+ high_risk_count: number;
2289
+ task_count: number;
2290
+ }[];
2291
+ };
2292
+ audit_project_delete: {
2293
+ Args: {
2294
+ p_id: string;
2295
+ };
2296
+ Returns: undefined;
2297
+ };
2298
+ audit_project_get: {
2299
+ Args: {
2300
+ p_id: string;
2301
+ };
2302
+ Returns: {
2303
+ agent_config: import("../types/database.types").Json | null;
2304
+ config: import("../types/database.types").Json | null;
2305
+ created_at: string;
2306
+ github_branch: string | null;
2307
+ github_installation_id: number | null;
2308
+ github_repo_full_name: string | null;
2309
+ github_repo_id: number | null;
2310
+ id: string;
2311
+ name: string;
2312
+ repo_branch: string | null;
2313
+ repo_url: string | null;
2314
+ sandbox_id: string | null;
2315
+ target: string | null;
2316
+ updated_at: string;
2317
+ user_id: string | null;
2318
+ }[];
2319
+ SetofOptions: {
2320
+ from: "*";
2321
+ to: "audit_projects";
2322
+ isOneToOne: false;
2323
+ isSetofReturn: true;
2324
+ };
2325
+ };
2326
+ audit_project_list: {
2327
+ Args: {
2328
+ kw?: string;
2329
+ page_no?: number;
2330
+ page_size?: number;
2331
+ };
2332
+ Returns: {
2333
+ created_at: string;
2334
+ id: string;
2335
+ name: string;
2336
+ repo_branch: string;
2337
+ repo_url: string;
2338
+ sandbox_id: string;
2339
+ target: string;
2340
+ updated_at: string;
2341
+ user_id: string;
2342
+ }[];
2343
+ };
2344
+ audit_project_upsert: {
2345
+ Args: {
2346
+ p_agent_config?: import("../types/database.types").Json;
2347
+ p_id?: string;
2348
+ p_name?: string;
2349
+ p_repo_branch?: string;
2350
+ p_repo_url?: string;
2351
+ p_target?: string;
2352
+ };
2353
+ Returns: string;
2354
+ };
2355
+ audit_skill_list: {
2356
+ Args: {
2357
+ p_project_id: string;
2358
+ };
2359
+ Returns: {
2360
+ created_at: string;
2361
+ dependencies: import("../types/database.types").Json | null;
2362
+ description: string | null;
2363
+ id: string;
2364
+ name: string;
2365
+ params_schema: import("../types/database.types").Json | null;
2366
+ project_id: string;
2367
+ source_path: string | null;
2368
+ updated_at: string;
2369
+ version: string | null;
2370
+ }[];
2371
+ SetofOptions: {
2372
+ from: "*";
2373
+ to: "audit_skills";
2374
+ isOneToOne: false;
2375
+ isSetofReturn: true;
2376
+ };
2377
+ };
2378
+ audit_task_list: {
2379
+ Args: {
2380
+ p_project_id: string;
2381
+ };
2382
+ Returns: {
2383
+ created_at: string;
2384
+ id: string;
2385
+ instructions: string | null;
2386
+ logs_url: string | null;
2387
+ project_id: string;
2388
+ result_summary: string | null;
2389
+ sandbox_id: string | null;
2390
+ skill_id: string | null;
2391
+ status: string | null;
2392
+ updated_at: string;
2393
+ user_id: string | null;
2394
+ }[];
2395
+ SetofOptions: {
2396
+ from: "*";
2397
+ to: "audit_tasks";
2398
+ isOneToOne: false;
2399
+ isSetofReturn: true;
2400
+ };
2401
+ };
2402
+ auth_role: {
2403
+ Args: never;
2404
+ Returns: string;
2405
+ };
1341
2406
  browser_assign_sandbox_laji: {
1342
2407
  Args: {
1343
2408
  p_browser_id: string;
@@ -1357,6 +2422,13 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1357
2422
  };
1358
2423
  Returns: undefined;
1359
2424
  };
2425
+ browser_ensure_association: {
2426
+ Args: {
2427
+ p_browser_id: string;
2428
+ p_user_id: string;
2429
+ };
2430
+ Returns: import("../types/database.types").Json;
2431
+ };
1360
2432
  browser_get: {
1361
2433
  Args: {
1362
2434
  browser_id: string;
@@ -1392,6 +2464,13 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1392
2464
  };
1393
2465
  Returns: undefined;
1394
2466
  };
2467
+ browser_update_state: {
2468
+ Args: {
2469
+ p_browser_id: string;
2470
+ p_state: import("../types/database.types").Json;
2471
+ };
2472
+ Returns: undefined;
2473
+ };
1395
2474
  browser_upsert: {
1396
2475
  Args: {
1397
2476
  p_config?: import("../types/database.types").Json;
@@ -1404,6 +2483,12 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1404
2483
  };
1405
2484
  Returns: import("../types/database.types").Json;
1406
2485
  };
2486
+ cancel_workflow: {
2487
+ Args: {
2488
+ p_workflow_id: string;
2489
+ };
2490
+ Returns: undefined;
2491
+ };
1407
2492
  chat_get: {
1408
2493
  Args: {
1409
2494
  p_chat_id: string;
@@ -1415,6 +2500,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1415
2500
  lastContext: import("../types/database.types").Json | null;
1416
2501
  state: import("../types/database.types").Json | null;
1417
2502
  title: string;
2503
+ type: string;
1418
2504
  updated_at: string | null;
1419
2505
  user_id: string | null;
1420
2506
  visibility: string;
@@ -1438,6 +2524,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1438
2524
  lastContext: import("../types/database.types").Json | null;
1439
2525
  state: import("../types/database.types").Json | null;
1440
2526
  title: string;
2527
+ type: string;
1441
2528
  updated_at: string | null;
1442
2529
  user_id: string | null;
1443
2530
  visibility: string;
@@ -1451,14 +2538,17 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1451
2538
  };
1452
2539
  chat_message_insert_json: {
1453
2540
  Args: {
1454
- p_chat_id: string;
1455
- p_data: import("../types/database.types").Json;
2541
+ p_chat_id?: string;
2542
+ p_data?: import("../types/database.types").Json;
2543
+ p_query_mode?: string;
2544
+ p_user_id?: string;
1456
2545
  };
1457
2546
  Returns: number;
1458
2547
  };
1459
2548
  chat_message_list: {
1460
2549
  Args: {
1461
- p_chat_id: string;
2550
+ p_chat_id?: string;
2551
+ p_query_mode?: string;
1462
2552
  };
1463
2553
  Returns: {
1464
2554
  attachments: import("../types/database.types").Json | null;
@@ -1518,6 +2608,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1518
2608
  lastContext: import("../types/database.types").Json | null;
1519
2609
  state: import("../types/database.types").Json | null;
1520
2610
  title: string;
2611
+ type: string;
1521
2612
  updated_at: string | null;
1522
2613
  user_id: string | null;
1523
2614
  visibility: string;
@@ -1529,9 +2620,93 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1529
2620
  isSetofReturn: false;
1530
2621
  };
1531
2622
  };
2623
+ cleanup_event_streams: {
2624
+ Args: never;
2625
+ Returns: undefined;
2626
+ };
2627
+ cleanup_inactive_worker_queues: {
2628
+ Args: never;
2629
+ Returns: undefined;
2630
+ };
2631
+ compute_node_delete: {
2632
+ Args: {
2633
+ p_id: string;
2634
+ };
2635
+ Returns: undefined;
2636
+ };
2637
+ compute_node_get: {
2638
+ Args: {
2639
+ p_id: string;
2640
+ };
2641
+ Returns: import("../types/database.types").Json;
2642
+ };
2643
+ compute_node_get_secret: {
2644
+ Args: {
2645
+ target_id: string;
2646
+ };
2647
+ Returns: {
2648
+ auth_secret: string;
2649
+ auth_type: string;
2650
+ ip: string;
2651
+ port: number;
2652
+ username: string;
2653
+ }[];
2654
+ };
2655
+ compute_node_list: {
2656
+ Args: {
2657
+ p_kw?: string;
2658
+ p_page_no?: number;
2659
+ p_page_size?: number;
2660
+ p_provider?: string;
2661
+ p_user_id?: string;
2662
+ };
2663
+ Returns: {
2664
+ auth_secret: string;
2665
+ auth_type: string;
2666
+ config: import("../types/database.types").Json;
2667
+ enabled: boolean;
2668
+ id: string;
2669
+ ip: string;
2670
+ max_instances: number;
2671
+ name: string;
2672
+ port: number;
2673
+ provider: string;
2674
+ status: string;
2675
+ updated_at: string;
2676
+ username: string;
2677
+ worker_count: number;
2678
+ }[];
2679
+ };
2680
+ compute_node_upsert: {
2681
+ Args: {
2682
+ p_auth_secret?: string;
2683
+ p_auth_type?: string;
2684
+ p_config?: import("../types/database.types").Json;
2685
+ p_enabled?: boolean;
2686
+ p_id?: string;
2687
+ p_ip?: string;
2688
+ p_max_instances?: number;
2689
+ p_name?: string;
2690
+ p_port?: number;
2691
+ p_provider?: string;
2692
+ p_username?: string;
2693
+ };
2694
+ Returns: import("../types/database.types").Json;
2695
+ };
1532
2696
  dash_navitems_list: {
1533
2697
  Args: never;
1534
2698
  Returns: import("../types/database.types").Json;
2699
+ } | {
2700
+ Args: {
2701
+ p_location?: string;
2702
+ };
2703
+ Returns: import("../types/database.types").Json;
2704
+ };
2705
+ db_tool_query: {
2706
+ Args: {
2707
+ p_sql: string;
2708
+ };
2709
+ Returns: import("../types/database.types").Json;
1535
2710
  };
1536
2711
  demo_endpoints_check: {
1537
2712
  Args: never;
@@ -1557,10 +2732,30 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1557
2732
  };
1558
2733
  Returns: undefined;
1559
2734
  };
2735
+ event_stream_upsert_batch: {
2736
+ Args: {
2737
+ p_events: import("../types/database.types").Json;
2738
+ };
2739
+ Returns: undefined;
2740
+ };
2741
+ event_stream_upsert_batch_laji: {
2742
+ Args: {
2743
+ p_events: import("../types/database.types").Json;
2744
+ };
2745
+ Returns: undefined;
2746
+ };
2747
+ get_github_app_public_info: {
2748
+ Args: never;
2749
+ Returns: import("../types/database.types").Json;
2750
+ };
1560
2751
  get_mainapi_url: {
1561
2752
  Args: never;
1562
2753
  Returns: import("../types/database.types").Json;
1563
2754
  };
2755
+ is_admin: {
2756
+ Args: never;
2757
+ Returns: boolean;
2758
+ };
1564
2759
  job1: {
1565
2760
  Args: never;
1566
2761
  Returns: number[];
@@ -1591,28 +2786,9 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1591
2786
  };
1592
2787
  Returns: number;
1593
2788
  };
1594
- paccount_get: {
1595
- Args: {
1596
- paccount_id: string;
1597
- };
1598
- Returns: import("../types/database.types").Json;
1599
- };
1600
- paccount_upsert: {
1601
- Args: {
1602
- data: import("../types/database.types").Json;
1603
- id: string;
1604
- };
1605
- Returns: undefined;
1606
- } | {
1607
- Args: {
1608
- paccount_id: string;
1609
- };
1610
- Returns: import("../types/database.types").Json;
1611
- };
1612
- platform_upsert: {
2789
+ resource_delete: {
1613
2790
  Args: {
1614
- data: import("../types/database.types").Json;
1615
- id: string;
2791
+ p_resource_id: string;
1616
2792
  };
1617
2793
  Returns: undefined;
1618
2794
  };
@@ -1622,7 +2798,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1622
2798
  };
1623
2799
  Returns: import("../types/database.types").Json;
1624
2800
  };
1625
- resource_get_v2: {
2801
+ resource_get_v2_laji: {
1626
2802
  Args: {
1627
2803
  resource_id: string;
1628
2804
  };
@@ -1663,10 +2839,11 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1663
2839
  target_id: string;
1664
2840
  title: string;
1665
2841
  type: string;
2842
+ updated_at: string;
1666
2843
  url: string;
1667
2844
  }[];
1668
2845
  };
1669
- resource_list_v2: {
2846
+ resource_list_v2_laji: {
1670
2847
  Args: {
1671
2848
  params: import("../types/database.types").Json;
1672
2849
  };
@@ -1682,6 +2859,24 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1682
2859
  type: string;
1683
2860
  };
1684
2861
  Returns: undefined;
2862
+ } | {
2863
+ Args: {
2864
+ content: import("../types/database.types").Json;
2865
+ description: string;
2866
+ key: string;
2867
+ p_id?: string;
2868
+ p_user_id?: string;
2869
+ target_id?: string;
2870
+ title: string;
2871
+ type: string;
2872
+ };
2873
+ Returns: string;
2874
+ };
2875
+ sandbox_find_active: {
2876
+ Args: {
2877
+ p_user_id: string;
2878
+ };
2879
+ Returns: import("../types/database.types").Json;
1685
2880
  };
1686
2881
  sandbox_get: {
1687
2882
  Args: {
@@ -1709,6 +2904,12 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1709
2904
  isSetofReturn: true;
1710
2905
  };
1711
2906
  };
2907
+ sandbox_get_active: {
2908
+ Args: {
2909
+ p_user_id: string;
2910
+ };
2911
+ Returns: import("../types/database.types").Json;
2912
+ };
1712
2913
  service_get: {
1713
2914
  Args: {
1714
2915
  p_service_id?: string;
@@ -1727,13 +2928,14 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1727
2928
  }[];
1728
2929
  SetofOptions: {
1729
2930
  from: "*";
1730
- to: "services";
2931
+ to: "services_laji";
1731
2932
  isOneToOne: false;
1732
2933
  isSetofReturn: true;
1733
2934
  };
1734
2935
  };
1735
2936
  service_list: {
1736
2937
  Args: {
2938
+ p_active_only?: boolean;
1737
2939
  p_kw?: string;
1738
2940
  p_limit?: number;
1739
2941
  p_service_type?: string;
@@ -1751,7 +2953,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1751
2953
  }[];
1752
2954
  SetofOptions: {
1753
2955
  from: "*";
1754
- to: "services";
2956
+ to: "services_laji";
1755
2957
  isOneToOne: false;
1756
2958
  isSetofReturn: true;
1757
2959
  };
@@ -1762,6 +2964,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1762
2964
  p_public_url: string;
1763
2965
  p_service_id?: string;
1764
2966
  p_service_type: string;
2967
+ p_worker_id?: string;
1765
2968
  };
1766
2969
  Returns: {
1767
2970
  created_at: string;
@@ -1776,11 +2979,39 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1776
2979
  };
1777
2980
  SetofOptions: {
1778
2981
  from: "*";
1779
- to: "services";
2982
+ to: "services_laji";
1780
2983
  isOneToOne: true;
1781
2984
  isSetofReturn: false;
1782
2985
  };
1783
2986
  };
2987
+ sys_config_get: {
2988
+ Args: {
2989
+ p_key: string;
2990
+ };
2991
+ Returns: import("../types/database.types").Json;
2992
+ };
2993
+ sys_config_set: {
2994
+ Args: {
2995
+ p_description?: string;
2996
+ p_key: string;
2997
+ p_value: import("../types/database.types").Json;
2998
+ };
2999
+ Returns: undefined;
3000
+ };
3001
+ sys_get_db_schema: {
3002
+ Args: {
3003
+ p_excluded_tables?: string[];
3004
+ p_include_comments?: boolean;
3005
+ p_include_functions?: boolean;
3006
+ };
3007
+ Returns: string;
3008
+ };
3009
+ sys_init_queue: {
3010
+ Args: {
3011
+ name: string;
3012
+ };
3013
+ Returns: undefined;
3014
+ };
1784
3015
  sysview_list: {
1785
3016
  Args: {
1786
3017
  kw: string;
@@ -1817,11 +3048,67 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1817
3048
  id: string;
1818
3049
  }[];
1819
3050
  };
3051
+ user_log_list: {
3052
+ Args: {
3053
+ p_page?: number;
3054
+ p_page_size?: number;
3055
+ };
3056
+ Returns: {
3057
+ content: string;
3058
+ created_at: string;
3059
+ event_type: string;
3060
+ id: string;
3061
+ level: string;
3062
+ meta: import("../types/database.types").Json;
3063
+ resource_id: string;
3064
+ resource_type: string;
3065
+ }[];
3066
+ };
3067
+ user_log_record: {
3068
+ Args: {
3069
+ p_content: string;
3070
+ p_event_type: string;
3071
+ p_level?: string;
3072
+ p_meta?: import("../types/database.types").Json;
3073
+ p_resource_id?: string;
3074
+ p_resource_type?: string;
3075
+ };
3076
+ Returns: string;
3077
+ } | {
3078
+ Args: {
3079
+ p_content: string;
3080
+ p_event_type: string;
3081
+ p_level?: string;
3082
+ p_meta?: import("../types/database.types").Json;
3083
+ p_resource_id?: string;
3084
+ p_resource_type?: string;
3085
+ p_user_id?: string;
3086
+ };
3087
+ Returns: string;
3088
+ };
1820
3089
  worker_ack: {
1821
3090
  Args: {
1822
3091
  msg_id: number;
1823
3092
  };
1824
3093
  Returns: undefined;
3094
+ } | {
3095
+ Args: {
3096
+ msg_id: number;
3097
+ worker_id: string;
3098
+ };
3099
+ Returns: undefined;
3100
+ };
3101
+ worker_delete: {
3102
+ Args: {
3103
+ target_id: string;
3104
+ };
3105
+ Returns: undefined;
3106
+ };
3107
+ worker_ensure_queue: {
3108
+ Args: {
3109
+ p_worker_id: string;
3110
+ };
3111
+ Returns: undefined;
1825
3112
  };
1826
3113
  worker_fail: {
1827
3114
  Args: {
@@ -1835,11 +3122,14 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1835
3122
  };
1836
3123
  Returns: {
1837
3124
  config: import("../types/database.types").Json | null;
3125
+ container_id: string | null;
1838
3126
  created_at: string;
3127
+ host_id: string | null;
1839
3128
  id: string;
1840
3129
  latest_pull_at: string | null;
1841
3130
  name: string | null;
1842
3131
  state: import("../types/database.types").Json | null;
3132
+ status: string | null;
1843
3133
  updated_at: string;
1844
3134
  user_id: string | null;
1845
3135
  };
@@ -1850,25 +3140,47 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1850
3140
  isSetofReturn: false;
1851
3141
  };
1852
3142
  };
1853
- worker_get_default_config_laji: {
1854
- Args: never;
1855
- Returns: import("../types/database.types").Json;
1856
- };
1857
3143
  worker_keepalive: {
1858
3144
  Args: {
3145
+ p_user_id?: string;
1859
3146
  p_worker_id: string;
1860
3147
  };
1861
3148
  Returns: import("../types/database.types").Json;
1862
3149
  };
1863
3150
  worker_list: {
1864
3151
  Args: {
1865
- kw: string;
3152
+ kw?: string;
3153
+ page_no?: number;
3154
+ page_size?: number;
3155
+ };
3156
+ Returns: {
3157
+ config: import("../types/database.types").Json;
3158
+ host_id: string;
3159
+ id: string;
3160
+ name: string;
3161
+ status: string;
3162
+ updated_at: string;
3163
+ }[];
3164
+ } | {
3165
+ Args: {
3166
+ kw?: string;
3167
+ p_host_id?: string;
3168
+ page_no?: number;
3169
+ page_size?: number;
1866
3170
  };
1867
3171
  Returns: {
3172
+ config: import("../types/database.types").Json;
3173
+ host_id: string;
1868
3174
  id: string;
1869
- title: string;
3175
+ name: string;
3176
+ status: string;
3177
+ updated_at: string;
1870
3178
  }[];
1871
3179
  };
3180
+ worker_prune_queues: {
3181
+ Args: never;
3182
+ Returns: undefined;
3183
+ };
1872
3184
  worker_pull: {
1873
3185
  Args: {
1874
3186
  worker_id: string;
@@ -1881,48 +3193,55 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1881
3193
  isSetofReturn: true;
1882
3194
  };
1883
3195
  };
1884
- worker_push_laji: {
1885
- Args: {
1886
- worker_id: string;
1887
- };
1888
- Returns: number[];
1889
- } | {
1890
- Args: {
1891
- message: import("../types/database.types").Json;
1892
- queue_name: string;
1893
- sleep_seconds?: number;
1894
- worker_id: string;
1895
- };
1896
- Returns: number[];
1897
- } | {
3196
+ worker_task_list: {
1898
3197
  Args: {
1899
- messages: import("../types/database.types").Json[];
1900
- queue_name: string;
1901
- sleep_seconds?: number;
1902
- worker_id: string;
3198
+ p_limit?: number;
3199
+ p_session_id?: string;
3200
+ p_status_in?: string[];
3201
+ p_type?: string;
3202
+ p_user_id?: string;
1903
3203
  };
1904
- Returns: number[];
1905
- };
1906
- worker_register_info: {
1907
- Args: {
1908
- p_config: import("../types/database.types").Json;
1909
- p_worker_id: string;
3204
+ Returns: {
3205
+ created_at: string;
3206
+ error: string | null;
3207
+ id: string;
3208
+ payload: import("../types/database.types").Json;
3209
+ result: import("../types/database.types").Json | null;
3210
+ session_id: string | null;
3211
+ status: string | null;
3212
+ type: string;
3213
+ updated_at: string;
3214
+ user_id: string | null;
3215
+ worker_id: string | null;
3216
+ }[];
3217
+ SetofOptions: {
3218
+ from: "*";
3219
+ to: "worker_tasks";
3220
+ isOneToOne: false;
3221
+ isSetofReturn: true;
1910
3222
  };
1911
- Returns: undefined;
1912
3223
  };
1913
- worker_task_callback: {
3224
+ worker_task_upsert: {
1914
3225
  Args: {
1915
3226
  p_error?: string;
3227
+ p_id?: string;
3228
+ p_payload?: import("../types/database.types").Json;
1916
3229
  p_result?: import("../types/database.types").Json;
1917
- p_status: string;
1918
- p_task_id: string;
3230
+ p_session_id?: string;
3231
+ p_status?: string;
3232
+ p_type?: string;
3233
+ p_user_id?: string;
1919
3234
  };
1920
- Returns: undefined;
3235
+ Returns: string;
1921
3236
  };
1922
- worker_up_laji: {
3237
+ worker_upsert: {
1923
3238
  Args: {
1924
- mac_id: string;
1925
- worker_id: string;
3239
+ p_config?: import("../types/database.types").Json;
3240
+ p_host_id?: string;
3241
+ p_id?: string;
3242
+ p_name?: string;
3243
+ p_status?: string;
3244
+ p_user_id?: string;
1926
3245
  };
1927
3246
  Returns: import("../types/database.types").Json;
1928
3247
  };
@@ -1933,7 +3252,9 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1933
3252
  Returns: string;
1934
3253
  };
1935
3254
  };
1936
- Enums: { [_ in never]: never; };
3255
+ Enums: {
3256
+ app_role: "admin" | "moderator" | "member";
3257
+ };
1937
3258
  CompositeTypes: { [_ in never]: never; };
1938
3259
  }, {
1939
3260
  PostgrestVersion: "13.0.5";