mtmsdk 0.0.47 → 0.0.49

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 (236) hide show
  1. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts +2 -80
  2. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
  3. package/dist/gomtmapi/@tanstack/react-query.gen.js +2 -176
  4. package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -1
  5. package/dist/gomtmapi/index.d.ts +2 -2
  6. package/dist/gomtmapi/index.d.ts.map +1 -1
  7. package/dist/gomtmapi/index.js +1 -1
  8. package/dist/gomtmapi/index.js.map +1 -1
  9. package/dist/gomtmapi/schemas.gen.d.ts +14 -328
  10. package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
  11. package/dist/gomtmapi/schemas.gen.js +14 -341
  12. package/dist/gomtmapi/schemas.gen.js.map +1 -1
  13. package/dist/gomtmapi/sdk.gen.d.ts +2 -80
  14. package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
  15. package/dist/gomtmapi/sdk.gen.js +1 -135
  16. package/dist/gomtmapi/sdk.gen.js.map +1 -1
  17. package/dist/gomtmapi/types.gen.d.ts +10 -437
  18. package/dist/gomtmapi/types.gen.d.ts.map +1 -1
  19. package/dist/gomtmapi/zod.gen.d.ts +8 -308
  20. package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
  21. package/dist/gomtmapi/zod.gen.js +4 -232
  22. package/dist/gomtmapi/zod.gen.js.map +1 -1
  23. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +1 -29
  24. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
  25. package/dist/mtgate_api/@tanstack/react-query.gen.js +1 -17
  26. package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
  27. package/dist/mtgate_api/index.d.ts +2 -2
  28. package/dist/mtgate_api/index.d.ts.map +1 -1
  29. package/dist/mtgate_api/index.js +1 -1
  30. package/dist/mtgate_api/index.js.map +1 -1
  31. package/dist/mtgate_api/sdk.gen.d.ts +1 -5
  32. package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
  33. package/dist/mtgate_api/sdk.gen.js +0 -4
  34. package/dist/mtgate_api/sdk.gen.js.map +1 -1
  35. package/dist/mtgate_api/types.gen.d.ts +0 -6
  36. package/dist/mtgate_api/types.gen.d.ts.map +1 -1
  37. package/dist/mtgate_api/zod.gen.d.ts +0 -5
  38. package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
  39. package/dist/mtgate_api/zod.gen.js +0 -5
  40. package/dist/mtgate_api/zod.gen.js.map +1 -1
  41. package/dist/mtmai_api/index.d.ts +2 -2
  42. package/dist/mtmai_api/index.d.ts.map +1 -1
  43. package/dist/mtmai_api/index.js +1 -1
  44. package/dist/mtmai_api/index.js.map +1 -1
  45. package/dist/mtmai_api/zod.gen.d.ts +96 -96
  46. package/dist/openclaw/client-info.d.ts +0 -18
  47. package/dist/openclaw/client-info.d.ts.map +1 -1
  48. package/dist/openclaw/client-info.js +0 -6
  49. package/dist/openclaw/client-info.js.map +1 -1
  50. package/dist/openclaw/device-auth-utils.d.ts +3 -4
  51. package/dist/openclaw/device-auth-utils.d.ts.map +1 -1
  52. package/dist/openclaw/device-auth-utils.js +4 -8
  53. package/dist/openclaw/device-auth-utils.js.map +1 -1
  54. package/dist/openclaw/device-auth.d.ts.map +1 -1
  55. package/dist/openclaw/device-auth.js +5 -2
  56. package/dist/openclaw/device-auth.js.map +1 -1
  57. package/dist/openclaw/device-identity.js +2 -2
  58. package/dist/openclaw/device-identity.js.map +1 -1
  59. package/dist/openclaw/gateway.d.ts +19 -5
  60. package/dist/openclaw/gateway.d.ts.map +1 -1
  61. package/dist/openclaw/gateway.js +75 -37
  62. package/dist/openclaw/gateway.js.map +1 -1
  63. package/dist/sbmng/@tanstack/react-query.gen.d.ts +36 -8
  64. package/dist/sbmng/@tanstack/react-query.gen.d.ts.map +1 -1
  65. package/dist/sbmng/@tanstack/react-query.gen.js +22 -6
  66. package/dist/sbmng/@tanstack/react-query.gen.js.map +1 -1
  67. package/dist/sbmng/index.d.ts +2 -2
  68. package/dist/sbmng/index.d.ts.map +1 -1
  69. package/dist/sbmng/index.js +1 -1
  70. package/dist/sbmng/index.js.map +1 -1
  71. package/dist/sbmng/schemas.gen.d.ts +97 -34
  72. package/dist/sbmng/schemas.gen.d.ts.map +1 -1
  73. package/dist/sbmng/schemas.gen.js +120 -49
  74. package/dist/sbmng/schemas.gen.js.map +1 -1
  75. package/dist/sbmng/sdk.gen.d.ts +7 -3
  76. package/dist/sbmng/sdk.gen.d.ts.map +1 -1
  77. package/dist/sbmng/sdk.gen.js +11 -3
  78. package/dist/sbmng/sdk.gen.js.map +1 -1
  79. package/dist/sbmng/types.gen.d.ts +82 -30
  80. package/dist/sbmng/types.gen.d.ts.map +1 -1
  81. package/dist/supabase/schema/index.d.ts +0 -8
  82. package/dist/supabase/schema/index.d.ts.map +1 -1
  83. package/dist/supabase/schema/index.js +0 -5
  84. package/dist/supabase/schema/index.js.map +1 -1
  85. package/dist/supabase/supabase-client.d.ts +900 -719
  86. package/dist/supabase/supabase-client.d.ts.map +1 -1
  87. package/dist/supabase/supabase.d.ts +1836 -1474
  88. package/dist/supabase/supabase.d.ts.map +1 -1
  89. package/dist/supabase/use-sb-query/use-rpc-query.d.ts.map +1 -1
  90. package/dist/supabase/use-sb-query/use-rpc-query.js +2 -1
  91. package/dist/supabase/use-sb-query/use-rpc-query.js.map +1 -1
  92. package/dist/types/database.schemas.d.ts +999 -920
  93. package/dist/types/database.schemas.d.ts.map +1 -1
  94. package/dist/types/database.schemas.js +739 -435
  95. package/dist/types/database.schemas.js.map +1 -1
  96. package/dist/types/database.types.d.ts +919 -736
  97. package/dist/types/database.types.d.ts.map +1 -1
  98. package/dist/types/database.types.js +18 -2
  99. package/dist/types/database.types.js.map +1 -1
  100. package/dist/types/index.d.ts +35 -3
  101. package/dist/types/index.d.ts.map +1 -1
  102. package/dist/types/index.js +4 -1
  103. package/dist/types/index.js.map +1 -1
  104. package/package.json +4 -3
  105. package/src/gomtmapi/@tanstack/react-query.gen.ts +3 -185
  106. package/src/gomtmapi/index.ts +2 -2
  107. package/src/gomtmapi/schemas.gen.ts +14 -356
  108. package/src/gomtmapi/sdk.gen.ts +2 -144
  109. package/src/gomtmapi/types.gen.ts +10 -492
  110. package/src/gomtmapi/zod.gen.ts +4 -263
  111. package/src/mtgate_api/@tanstack/react-query.gen.ts +2 -20
  112. package/src/mtgate_api/index.ts +2 -2
  113. package/src/mtgate_api/sdk.gen.ts +1 -6
  114. package/src/mtgate_api/types.gen.ts +0 -7
  115. package/src/mtgate_api/zod.gen.ts +0 -6
  116. package/src/mtmai_api/index.ts +2 -2
  117. package/src/openclaw/client-info.ts +0 -9
  118. package/src/openclaw/device-auth-utils.ts +7 -12
  119. package/src/openclaw/device-auth.ts +5 -2
  120. package/src/openclaw/device-identity.ts +2 -2
  121. package/src/openclaw/gateway.ts +96 -50
  122. package/src/sbmng/@tanstack/react-query.gen.ts +25 -7
  123. package/src/sbmng/index.ts +2 -2
  124. package/src/sbmng/schemas.gen.ts +121 -49
  125. package/src/sbmng/sdk.gen.ts +13 -4
  126. package/src/sbmng/types.gen.ts +87 -30
  127. package/src/supabase/schema/index.ts +0 -5
  128. package/src/supabase/use-sb-query/use-rpc-query.ts +2 -1
  129. package/src/types/database.schemas.ts +948 -598
  130. package/src/types/database.types.ts +864 -674
  131. package/src/types/index.ts +20 -4
  132. package/dist/api_hatchet/@tanstack/react-query.gen.d.ts +0 -3017
  133. package/dist/api_hatchet/@tanstack/react-query.gen.d.ts.map +0 -1
  134. package/dist/api_hatchet/@tanstack/react-query.gen.js +0 -2776
  135. package/dist/api_hatchet/@tanstack/react-query.gen.js.map +0 -1
  136. package/dist/api_hatchet/client/client.gen.d.ts +0 -3
  137. package/dist/api_hatchet/client/client.gen.d.ts.map +0 -1
  138. package/dist/api_hatchet/client/client.gen.js +0 -236
  139. package/dist/api_hatchet/client/client.gen.js.map +0 -1
  140. package/dist/api_hatchet/client/index.d.ts +0 -9
  141. package/dist/api_hatchet/client/index.d.ts.map +0 -1
  142. package/dist/api_hatchet/client/index.js +0 -7
  143. package/dist/api_hatchet/client/index.js.map +0 -1
  144. package/dist/api_hatchet/client/types.gen.d.ts +0 -118
  145. package/dist/api_hatchet/client/types.gen.d.ts.map +0 -1
  146. package/dist/api_hatchet/client/types.gen.js +0 -3
  147. package/dist/api_hatchet/client/types.gen.js.map +0 -1
  148. package/dist/api_hatchet/client/utils.gen.d.ts +0 -34
  149. package/dist/api_hatchet/client/utils.gen.d.ts.map +0 -1
  150. package/dist/api_hatchet/client/utils.gen.js +0 -232
  151. package/dist/api_hatchet/client/utils.gen.js.map +0 -1
  152. package/dist/api_hatchet/client.gen.d.ts +0 -13
  153. package/dist/api_hatchet/client.gen.d.ts.map +0 -1
  154. package/dist/api_hatchet/client.gen.js +0 -4
  155. package/dist/api_hatchet/client.gen.js.map +0 -1
  156. package/dist/api_hatchet/core/auth.gen.d.ts +0 -19
  157. package/dist/api_hatchet/core/auth.gen.d.ts.map +0 -1
  158. package/dist/api_hatchet/core/auth.gen.js +0 -15
  159. package/dist/api_hatchet/core/auth.gen.js.map +0 -1
  160. package/dist/api_hatchet/core/bodySerializer.gen.d.ts +0 -26
  161. package/dist/api_hatchet/core/bodySerializer.gen.d.ts.map +0 -1
  162. package/dist/api_hatchet/core/bodySerializer.gen.js +0 -58
  163. package/dist/api_hatchet/core/bodySerializer.gen.js.map +0 -1
  164. package/dist/api_hatchet/core/params.gen.d.ts +0 -44
  165. package/dist/api_hatchet/core/params.gen.d.ts.map +0 -1
  166. package/dist/api_hatchet/core/params.gen.js +0 -101
  167. package/dist/api_hatchet/core/params.gen.js.map +0 -1
  168. package/dist/api_hatchet/core/pathSerializer.gen.d.ts +0 -34
  169. package/dist/api_hatchet/core/pathSerializer.gen.d.ts.map +0 -1
  170. package/dist/api_hatchet/core/pathSerializer.gen.js +0 -115
  171. package/dist/api_hatchet/core/pathSerializer.gen.js.map +0 -1
  172. package/dist/api_hatchet/core/queryKeySerializer.gen.d.ts +0 -19
  173. package/dist/api_hatchet/core/queryKeySerializer.gen.d.ts.map +0 -1
  174. package/dist/api_hatchet/core/queryKeySerializer.gen.js +0 -100
  175. package/dist/api_hatchet/core/queryKeySerializer.gen.js.map +0 -1
  176. package/dist/api_hatchet/core/serverSentEvents.gen.d.ts +0 -72
  177. package/dist/api_hatchet/core/serverSentEvents.gen.d.ts.map +0 -1
  178. package/dist/api_hatchet/core/serverSentEvents.gen.js +0 -138
  179. package/dist/api_hatchet/core/serverSentEvents.gen.js.map +0 -1
  180. package/dist/api_hatchet/core/types.gen.d.ts +0 -79
  181. package/dist/api_hatchet/core/types.gen.d.ts.map +0 -1
  182. package/dist/api_hatchet/core/types.gen.js +0 -3
  183. package/dist/api_hatchet/core/types.gen.js.map +0 -1
  184. package/dist/api_hatchet/core/utils.gen.d.ts +0 -20
  185. package/dist/api_hatchet/core/utils.gen.d.ts.map +0 -1
  186. package/dist/api_hatchet/core/utils.gen.js +0 -88
  187. package/dist/api_hatchet/core/utils.gen.js.map +0 -1
  188. package/dist/api_hatchet/index.d.ts +0 -3
  189. package/dist/api_hatchet/index.d.ts.map +0 -1
  190. package/dist/api_hatchet/index.js +0 -4
  191. package/dist/api_hatchet/index.js.map +0 -1
  192. package/dist/api_hatchet/schemas.gen.d.ts +0 -4068
  193. package/dist/api_hatchet/schemas.gen.d.ts.map +0 -1
  194. package/dist/api_hatchet/schemas.gen.js +0 -4743
  195. package/dist/api_hatchet/schemas.gen.js.map +0 -1
  196. package/dist/api_hatchet/sdk.gen.d.ts +0 -784
  197. package/dist/api_hatchet/sdk.gen.d.ts.map +0 -1
  198. package/dist/api_hatchet/sdk.gen.js +0 -1849
  199. package/dist/api_hatchet/sdk.gen.js.map +0 -1
  200. package/dist/api_hatchet/types.gen.d.ts +0 -6861
  201. package/dist/api_hatchet/types.gen.d.ts.map +0 -1
  202. package/dist/api_hatchet/types.gen.js +0 -209
  203. package/dist/api_hatchet/types.gen.js.map +0 -1
  204. package/dist/api_hatchet/zod.gen.d.ts +0 -10429
  205. package/dist/api_hatchet/zod.gen.d.ts.map +0 -1
  206. package/dist/api_hatchet/zod.gen.js +0 -2766
  207. package/dist/api_hatchet/zod.gen.js.map +0 -1
  208. package/dist/openclaw/uuid.d.ts +0 -6
  209. package/dist/openclaw/uuid.d.ts.map +0 -1
  210. package/dist/openclaw/uuid.js +0 -39
  211. package/dist/openclaw/uuid.js.map +0 -1
  212. package/dist/types/rpc.schemas.d.ts +0 -52
  213. package/dist/types/rpc.schemas.d.ts.map +0 -1
  214. package/dist/types/rpc.schemas.js +0 -108
  215. package/dist/types/rpc.schemas.js.map +0 -1
  216. package/src/api_hatchet/@tanstack/react-query.gen.ts +0 -3025
  217. package/src/api_hatchet/client/client.gen.ts +0 -311
  218. package/src/api_hatchet/client/index.ts +0 -25
  219. package/src/api_hatchet/client/types.gen.ts +0 -241
  220. package/src/api_hatchet/client/utils.gen.ts +0 -332
  221. package/src/api_hatchet/client.gen.ts +0 -16
  222. package/src/api_hatchet/core/auth.gen.ts +0 -42
  223. package/src/api_hatchet/core/bodySerializer.gen.ts +0 -100
  224. package/src/api_hatchet/core/params.gen.ts +0 -176
  225. package/src/api_hatchet/core/pathSerializer.gen.ts +0 -181
  226. package/src/api_hatchet/core/queryKeySerializer.gen.ts +0 -136
  227. package/src/api_hatchet/core/serverSentEvents.gen.ts +0 -266
  228. package/src/api_hatchet/core/types.gen.ts +0 -118
  229. package/src/api_hatchet/core/utils.gen.ts +0 -143
  230. package/src/api_hatchet/index.ts +0 -4
  231. package/src/api_hatchet/schemas.gen.ts +0 -4961
  232. package/src/api_hatchet/sdk.gen.ts +0 -1994
  233. package/src/api_hatchet/types.gen.ts +0 -7688
  234. package/src/api_hatchet/zod.gen.ts +0 -3230
  235. package/src/openclaw/uuid.ts +0 -48
  236. package/src/types/rpc.schemas.ts +0 -142
@@ -218,42 +218,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
218
218
  };
219
219
  Relationships: [];
220
220
  };
221
- agents: {
222
- Row: {
223
- config: import("../types/database.types").Json | null;
224
- created_at: string;
225
- description: string | null;
226
- id: string;
227
- instruction: string | null;
228
- max_step: number | null;
229
- runtime: string | null;
230
- tools: string | null;
231
- updated_at: string;
232
- };
233
- Insert: {
234
- config?: import("../types/database.types").Json | null;
235
- created_at?: string;
236
- description?: string | null;
237
- id: string;
238
- instruction?: string | null;
239
- max_step?: number | null;
240
- runtime?: string | null;
241
- tools?: string | null;
242
- updated_at?: string;
243
- };
244
- Update: {
245
- config?: import("../types/database.types").Json | null;
246
- created_at?: string;
247
- description?: string | null;
248
- id?: string;
249
- instruction?: string | null;
250
- max_step?: number | null;
251
- runtime?: string | null;
252
- tools?: string | null;
253
- updated_at?: string;
254
- };
255
- Relationships: [];
256
- };
257
221
  audit_assets: {
258
222
  Row: {
259
223
  content: string;
@@ -662,6 +626,39 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
662
626
  };
663
627
  Relationships: [];
664
628
  };
629
+ cleanup_policies: {
630
+ Row: {
631
+ cleanup_function: string;
632
+ created_at: string;
633
+ enabled: boolean;
634
+ id: string;
635
+ policy_name: string;
636
+ retention_days: number;
637
+ table_name: string;
638
+ updated_at: string;
639
+ };
640
+ Insert: {
641
+ cleanup_function: string;
642
+ created_at?: string;
643
+ enabled?: boolean;
644
+ id?: string;
645
+ policy_name: string;
646
+ retention_days?: number;
647
+ table_name: string;
648
+ updated_at?: string;
649
+ };
650
+ Update: {
651
+ cleanup_function?: string;
652
+ created_at?: string;
653
+ enabled?: boolean;
654
+ id?: string;
655
+ policy_name?: string;
656
+ retention_days?: number;
657
+ table_name?: string;
658
+ updated_at?: string;
659
+ };
660
+ Relationships: [];
661
+ };
665
662
  cloud_accounts: {
666
663
  Row: {
667
664
  access_token: string | null;
@@ -768,7 +765,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
768
765
  name: string;
769
766
  port: number;
770
767
  provider: string;
771
- status: Database["public"]["Enums"]["compute_node_status"] | null;
772
768
  updated_at: string;
773
769
  user_id: string;
774
770
  username: string | null;
@@ -782,7 +778,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
782
778
  name: string;
783
779
  port?: number;
784
780
  provider?: string;
785
- status?: Database["public"]["Enums"]["compute_node_status"] | null;
786
781
  updated_at?: string;
787
782
  user_id?: string;
788
783
  username?: string | null;
@@ -796,7 +791,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
796
791
  name?: string;
797
792
  port?: number;
798
793
  provider?: string;
799
- status?: Database["public"]["Enums"]["compute_node_status"] | null;
800
794
  updated_at?: string;
801
795
  user_id?: string;
802
796
  username?: string | null;
@@ -977,6 +971,60 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
977
971
  referencedColumns: ["id"];
978
972
  }];
979
973
  };
974
+ openclaws: {
975
+ Row: {
976
+ config: import("../types/database.types").Json;
977
+ created_at: string;
978
+ desired_status: Database["public"]["Enums"]["openclaw_status"];
979
+ id: string;
980
+ metadata: import("../types/database.types").Json | null;
981
+ name: string | null;
982
+ resolved_config: import("../types/database.types").Json;
983
+ server_id: string | null;
984
+ state: import("../types/database.types").Json | null;
985
+ status: Database["public"]["Enums"]["openclaw_status"];
986
+ status_reason: string | null;
987
+ updated_at: string;
988
+ user_id: string;
989
+ };
990
+ Insert: {
991
+ config?: import("../types/database.types").Json;
992
+ created_at?: string;
993
+ desired_status?: Database["public"]["Enums"]["openclaw_status"];
994
+ id?: string;
995
+ metadata?: import("../types/database.types").Json | null;
996
+ name?: string | null;
997
+ resolved_config?: import("../types/database.types").Json;
998
+ server_id?: string | null;
999
+ state?: import("../types/database.types").Json | null;
1000
+ status?: Database["public"]["Enums"]["openclaw_status"];
1001
+ status_reason?: string | null;
1002
+ updated_at?: string;
1003
+ user_id?: string;
1004
+ };
1005
+ Update: {
1006
+ config?: import("../types/database.types").Json;
1007
+ created_at?: string;
1008
+ desired_status?: Database["public"]["Enums"]["openclaw_status"];
1009
+ id?: string;
1010
+ metadata?: import("../types/database.types").Json | null;
1011
+ name?: string | null;
1012
+ resolved_config?: import("../types/database.types").Json;
1013
+ server_id?: string | null;
1014
+ state?: import("../types/database.types").Json | null;
1015
+ status?: Database["public"]["Enums"]["openclaw_status"];
1016
+ status_reason?: string | null;
1017
+ updated_at?: string;
1018
+ user_id?: string;
1019
+ };
1020
+ Relationships: [{
1021
+ foreignKeyName: "openclaws_server_id_fkey";
1022
+ columns: ["server_id"];
1023
+ isOneToOne: false;
1024
+ referencedRelation: "servers";
1025
+ referencedColumns: ["id"];
1026
+ }];
1027
+ };
980
1028
  outreach_messages: {
981
1029
  Row: {
982
1030
  content: string | null;
@@ -1213,37 +1261,22 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1213
1261
  config: import("../types/database.types").Json | null;
1214
1262
  created_at: string;
1215
1263
  id: string;
1216
- is_public: boolean | null;
1217
- is_shared: boolean | null;
1218
- name: string | null;
1219
1264
  state: import("../types/database.types").Json | null;
1220
- status: Database["public"]["Enums"]["server_status"] | null;
1221
1265
  updated_at: string;
1222
- user_id: string | null;
1223
1266
  };
1224
1267
  Insert: {
1225
1268
  config?: import("../types/database.types").Json | null;
1226
1269
  created_at?: string;
1227
1270
  id: string;
1228
- is_public?: boolean | null;
1229
- is_shared?: boolean | null;
1230
- name?: string | null;
1231
1271
  state?: import("../types/database.types").Json | null;
1232
- status?: Database["public"]["Enums"]["server_status"] | null;
1233
1272
  updated_at?: string;
1234
- user_id?: string | null;
1235
1273
  };
1236
1274
  Update: {
1237
1275
  config?: import("../types/database.types").Json | null;
1238
1276
  created_at?: string;
1239
1277
  id?: string;
1240
- is_public?: boolean | null;
1241
- is_shared?: boolean | null;
1242
- name?: string | null;
1243
1278
  state?: import("../types/database.types").Json | null;
1244
- status?: Database["public"]["Enums"]["server_status"] | null;
1245
1279
  updated_at?: string;
1246
- user_id?: string | null;
1247
1280
  };
1248
1281
  Relationships: [];
1249
1282
  };
@@ -1625,27 +1658,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1625
1658
  };
1626
1659
  Views: { [_ in never]: never; };
1627
1660
  Functions: {
1628
- _sys_config_get: {
1629
- Args: {
1630
- p_key: string;
1631
- };
1632
- Returns: import("../types/database.types").Json;
1633
- };
1634
- action_tool_query: {
1635
- Args: {
1636
- p_prefix?: string;
1637
- };
1638
- Returns: import("../types/database.types").Json;
1639
- };
1640
- action_tool_reply_to_user: {
1641
- Args: {
1642
- p_actions?: import("../types/database.types").Json;
1643
- p_chat_id?: string;
1644
- p_text?: string;
1645
- p_user_id?: string;
1646
- };
1647
- Returns: import("../types/database.types").Json;
1648
- };
1649
1661
  adk_agent_list: {
1650
1662
  Args: never;
1651
1663
  Returns: {
@@ -1681,35 +1693,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1681
1693
  };
1682
1694
  Returns: import("../types/database.types").Json;
1683
1695
  };
1684
- adk_artifact_list_keys: {
1685
- Args: {
1686
- p_app_name: string;
1687
- p_session_id: string;
1688
- p_user_id: string;
1689
- };
1690
- Returns: Database["public"]["CompositeTypes"]["adk_artifact_key_record"][];
1691
- SetofOptions: {
1692
- from: "*";
1693
- to: "adk_artifact_key_record";
1694
- isOneToOne: false;
1695
- isSetofReturn: true;
1696
- };
1697
- };
1698
- adk_artifact_list_versions_meta: {
1699
- Args: {
1700
- p_app_name: string;
1701
- p_filename: string;
1702
- p_session_id: string;
1703
- p_user_id: string;
1704
- };
1705
- Returns: Database["public"]["CompositeTypes"]["adk_artifact_meta_record"][];
1706
- SetofOptions: {
1707
- from: "*";
1708
- to: "adk_artifact_meta_record";
1709
- isOneToOne: false;
1710
- isSetofReturn: true;
1711
- };
1712
- };
1713
1696
  adk_artifact_save: {
1714
1697
  Args: {
1715
1698
  p_app_name: string;
@@ -1784,12 +1767,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1784
1767
  p_usage_metadata?: import("../types/database.types").Json;
1785
1768
  p_user_id?: string;
1786
1769
  };
1787
- Returns: import("../types/database.types").Json;
1788
- };
1789
- adk_event_upsert_from_json: {
1790
- Args: {
1791
- p_payload: import("../types/database.types").Json;
1792
- };
1793
1770
  Returns: {
1794
1771
  actions: import("../types/database.types").Json | null;
1795
1772
  app_name: string | null;
@@ -1815,12 +1792,12 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1815
1792
  updated_at: string;
1816
1793
  usage_metadata: import("../types/database.types").Json | null;
1817
1794
  user_id: string | null;
1818
- };
1795
+ }[];
1819
1796
  SetofOptions: {
1820
1797
  from: "*";
1821
1798
  to: "adk_events";
1822
- isOneToOne: true;
1823
- isSetofReturn: false;
1799
+ isOneToOne: false;
1800
+ isSetofReturn: true;
1824
1801
  };
1825
1802
  };
1826
1803
  adk_quick_start_list: {
@@ -1919,14 +1896,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1919
1896
  };
1920
1897
  Returns: import("../types/database.types").Json;
1921
1898
  };
1922
- agent_tool_exec_read_sql: {
1923
- Args: {
1924
- p_max_chars?: number;
1925
- p_max_rows?: number;
1926
- sql_query: string;
1927
- };
1928
- Returns: string;
1929
- };
1930
1899
  audit_artifact_list: {
1931
1900
  Args: {
1932
1901
  p_project_id: string;
@@ -1955,9 +1924,9 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1955
1924
  Args: {
1956
1925
  p_cursor?: string;
1957
1926
  p_cursor_id?: string;
1958
- p_kw?: string;
1959
1927
  p_limit?: number;
1960
1928
  p_project_id: string;
1929
+ p_search?: string;
1961
1930
  };
1962
1931
  Returns: {
1963
1932
  content: string;
@@ -1980,9 +1949,9 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
1980
1949
  Args: {
1981
1950
  p_cursor?: string;
1982
1951
  p_cursor_id?: string;
1983
- p_kw?: string;
1984
1952
  p_limit?: number;
1985
1953
  p_project_id: string;
1954
+ p_search?: string;
1986
1955
  };
1987
1956
  Returns: {
1988
1957
  ai_analysis: string | null;
@@ -2044,13 +2013,18 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2044
2013
  Args: {
2045
2014
  p_id: string;
2046
2015
  };
2047
- Returns: Database["public"]["CompositeTypes"]["audit_project_record"][];
2048
- SetofOptions: {
2049
- from: "*";
2050
- to: "audit_project_record";
2051
- isOneToOne: false;
2052
- isSetofReturn: true;
2053
- };
2016
+ Returns: {
2017
+ config: import("../types/database.types").Json;
2018
+ created_at: string;
2019
+ id: string;
2020
+ name: string;
2021
+ repo_branch: string;
2022
+ repo_url: string;
2023
+ target: string;
2024
+ updated_at: string;
2025
+ user_id: string;
2026
+ worker_id: string;
2027
+ }[];
2054
2028
  };
2055
2029
  audit_project_list: {
2056
2030
  Args: {
@@ -2058,28 +2032,38 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2058
2032
  p_page_no?: number;
2059
2033
  p_page_size?: number;
2060
2034
  };
2061
- Returns: Database["public"]["CompositeTypes"]["audit_project_record"][];
2062
- SetofOptions: {
2063
- from: "*";
2064
- to: "audit_project_record";
2065
- isOneToOne: false;
2066
- isSetofReturn: true;
2067
- };
2035
+ Returns: {
2036
+ config: import("../types/database.types").Json;
2037
+ created_at: string;
2038
+ id: string;
2039
+ name: string;
2040
+ repo_branch: string;
2041
+ repo_url: string;
2042
+ target: string;
2043
+ updated_at: string;
2044
+ user_id: string;
2045
+ worker_id: string;
2046
+ }[];
2068
2047
  };
2069
2048
  audit_project_list_cursor: {
2070
2049
  Args: {
2071
2050
  p_cursor?: string;
2072
2051
  p_cursor_id?: string;
2073
- p_kw?: string;
2074
2052
  p_limit?: number;
2053
+ p_search?: string;
2075
2054
  };
2076
- Returns: Database["public"]["CompositeTypes"]["audit_project_record"][];
2077
- SetofOptions: {
2078
- from: "*";
2079
- to: "audit_project_record";
2080
- isOneToOne: false;
2081
- isSetofReturn: true;
2082
- };
2055
+ Returns: {
2056
+ config: import("../types/database.types").Json;
2057
+ created_at: string;
2058
+ id: string;
2059
+ name: string;
2060
+ repo_branch: string;
2061
+ repo_url: string;
2062
+ target: string;
2063
+ updated_at: string;
2064
+ user_id: string;
2065
+ worker_id: string;
2066
+ }[];
2083
2067
  };
2084
2068
  audit_project_upsert: {
2085
2069
  Args: {
@@ -2091,7 +2075,18 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2091
2075
  p_target?: string;
2092
2076
  p_worker_id?: string;
2093
2077
  };
2094
- Returns: string;
2078
+ Returns: {
2079
+ config: import("../types/database.types").Json;
2080
+ created_at: string;
2081
+ id: string;
2082
+ name: string;
2083
+ repo_branch: string;
2084
+ repo_url: string;
2085
+ target: string;
2086
+ updated_at: string;
2087
+ user_id: string;
2088
+ worker_id: string;
2089
+ }[];
2095
2090
  };
2096
2091
  audit_skill_list: {
2097
2092
  Args: {
@@ -2137,13 +2132,22 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2137
2132
  Args: {
2138
2133
  p_id: string;
2139
2134
  };
2140
- Returns: Database["public"]["CompositeTypes"]["browser_record"][];
2141
- SetofOptions: {
2142
- from: "*";
2143
- to: "browser_record";
2144
- isOneToOne: false;
2145
- isSetofReturn: true;
2146
- };
2135
+ Returns: {
2136
+ browser_api_url: string;
2137
+ config: import("../types/database.types").Json;
2138
+ created_at: string;
2139
+ description: string;
2140
+ id: string;
2141
+ is_running: boolean;
2142
+ profile_id: string;
2143
+ provider: string;
2144
+ provider_config: import("../types/database.types").Json;
2145
+ sandbox_id: string;
2146
+ title: string;
2147
+ updated_at: string;
2148
+ vnc_url: string;
2149
+ worker_name: string;
2150
+ }[];
2147
2151
  };
2148
2152
  browser_list: {
2149
2153
  Args: {
@@ -2151,13 +2155,22 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2151
2155
  p_page_no?: number;
2152
2156
  p_page_size?: number;
2153
2157
  };
2154
- Returns: Database["public"]["CompositeTypes"]["browser_record"][];
2155
- SetofOptions: {
2156
- from: "*";
2157
- to: "browser_record";
2158
- isOneToOne: false;
2159
- isSetofReturn: true;
2160
- };
2158
+ Returns: {
2159
+ browser_api_url: string;
2160
+ config: import("../types/database.types").Json;
2161
+ created_at: string;
2162
+ description: string;
2163
+ id: string;
2164
+ is_running: boolean;
2165
+ profile_id: string;
2166
+ provider: string;
2167
+ provider_config: import("../types/database.types").Json;
2168
+ sandbox_id: string;
2169
+ title: string;
2170
+ updated_at: string;
2171
+ vnc_url: string;
2172
+ worker_name: string;
2173
+ }[];
2161
2174
  };
2162
2175
  browser_update_state: {
2163
2176
  Args: {
@@ -2176,13 +2189,22 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2176
2189
  p_provider_config?: import("../types/database.types").Json;
2177
2190
  p_title?: string;
2178
2191
  };
2179
- Returns: Database["public"]["CompositeTypes"]["browser_record"][];
2180
- SetofOptions: {
2181
- from: "*";
2182
- to: "browser_record";
2183
- isOneToOne: false;
2184
- isSetofReturn: true;
2185
- };
2192
+ Returns: {
2193
+ browser_api_url: string;
2194
+ config: import("../types/database.types").Json;
2195
+ created_at: string;
2196
+ description: string;
2197
+ id: string;
2198
+ is_running: boolean;
2199
+ profile_id: string;
2200
+ provider: string;
2201
+ provider_config: import("../types/database.types").Json;
2202
+ sandbox_id: string;
2203
+ title: string;
2204
+ updated_at: string;
2205
+ vnc_url: string;
2206
+ worker_name: string;
2207
+ }[];
2186
2208
  };
2187
2209
  campaign_delete: {
2188
2210
  Args: {
@@ -2194,13 +2216,23 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2194
2216
  Args: {
2195
2217
  p_id: string;
2196
2218
  };
2197
- Returns: Database["public"]["CompositeTypes"]["campaign_record"][];
2198
- SetofOptions: {
2199
- from: "*";
2200
- to: "campaign_record";
2201
- isOneToOne: false;
2202
- isSetofReturn: true;
2203
- };
2219
+ Returns: {
2220
+ completed_at: string;
2221
+ config: import("../types/database.types").Json;
2222
+ created_at: string;
2223
+ description: string;
2224
+ id: string;
2225
+ message_template: string;
2226
+ name: string;
2227
+ platform: string;
2228
+ schedule: import("../types/database.types").Json;
2229
+ started_at: string;
2230
+ stats: import("../types/database.types").Json;
2231
+ status: string;
2232
+ target_filter: import("../types/database.types").Json;
2233
+ updated_at: string;
2234
+ user_id: string;
2235
+ }[];
2204
2236
  };
2205
2237
  campaign_list_cursor: {
2206
2238
  Args: {
@@ -2209,13 +2241,23 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2209
2241
  p_search?: string;
2210
2242
  p_status?: string;
2211
2243
  };
2212
- Returns: Database["public"]["CompositeTypes"]["campaign_record"][];
2213
- SetofOptions: {
2214
- from: "*";
2215
- to: "campaign_record";
2216
- isOneToOne: false;
2217
- isSetofReturn: true;
2218
- };
2244
+ Returns: {
2245
+ completed_at: string;
2246
+ config: import("../types/database.types").Json;
2247
+ created_at: string;
2248
+ description: string;
2249
+ id: string;
2250
+ message_template: string;
2251
+ name: string;
2252
+ platform: string;
2253
+ schedule: import("../types/database.types").Json;
2254
+ started_at: string;
2255
+ stats: import("../types/database.types").Json;
2256
+ status: string;
2257
+ target_filter: import("../types/database.types").Json;
2258
+ updated_at: string;
2259
+ user_id: string;
2260
+ }[];
2219
2261
  };
2220
2262
  campaign_pause: {
2221
2263
  Args: {
@@ -2240,13 +2282,23 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2240
2282
  p_schedule?: import("../types/database.types").Json;
2241
2283
  p_target_filter?: import("../types/database.types").Json;
2242
2284
  };
2243
- Returns: Database["public"]["CompositeTypes"]["campaign_record"][];
2244
- SetofOptions: {
2245
- from: "*";
2246
- to: "campaign_record";
2247
- isOneToOne: false;
2248
- isSetofReturn: true;
2249
- };
2285
+ Returns: {
2286
+ completed_at: string;
2287
+ config: import("../types/database.types").Json;
2288
+ created_at: string;
2289
+ description: string;
2290
+ id: string;
2291
+ message_template: string;
2292
+ name: string;
2293
+ platform: string;
2294
+ schedule: import("../types/database.types").Json;
2295
+ started_at: string;
2296
+ stats: import("../types/database.types").Json;
2297
+ status: string;
2298
+ target_filter: import("../types/database.types").Json;
2299
+ updated_at: string;
2300
+ user_id: string;
2301
+ }[];
2250
2302
  };
2251
2303
  chat_get: {
2252
2304
  Args: {
@@ -2369,21 +2421,25 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2369
2421
  updated_at: string | null;
2370
2422
  user_id: string | null;
2371
2423
  visibility: Database["public"]["Enums"]["chat_visibility"];
2372
- };
2424
+ }[];
2373
2425
  SetofOptions: {
2374
2426
  from: "*";
2375
2427
  to: "chats";
2376
- isOneToOne: true;
2377
- isSetofReturn: false;
2428
+ isOneToOne: false;
2429
+ isSetofReturn: true;
2378
2430
  };
2379
2431
  };
2380
2432
  check_account_rate_limit: {
2381
2433
  Args: {
2382
2434
  p_account_id: string;
2383
- p_campaign_config: import("../types/database.types").Json;
2435
+ p_campaign_config?: import("../types/database.types").Json;
2384
2436
  };
2385
2437
  Returns: boolean;
2386
2438
  };
2439
+ cleanup_servers_ingress: {
2440
+ Args: never;
2441
+ Returns: number;
2442
+ };
2387
2443
  cloud_account_bulk_create: {
2388
2444
  Args: {
2389
2445
  p_account_names: string[];
@@ -2445,10 +2501,10 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2445
2501
  cloud_account_list_cursor: {
2446
2502
  Args: {
2447
2503
  p_cursor?: string;
2448
- p_kw?: string;
2449
2504
  p_limit?: number;
2450
2505
  p_platform_name?: string;
2451
- p_status?: Database["public"]["Enums"]["cloud_account_status"];
2506
+ p_search?: string;
2507
+ p_status?: string;
2452
2508
  };
2453
2509
  Returns: Database["public"]["CompositeTypes"]["cloud_account_record"][];
2454
2510
  SetofOptions: {
@@ -2516,6 +2572,12 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2516
2572
  isSetofReturn: true;
2517
2573
  };
2518
2574
  };
2575
+ code_run_result_parse: {
2576
+ Args: {
2577
+ p_result: import("../types/database.types").Json;
2578
+ };
2579
+ Returns: import("../types/database.types").Json;
2580
+ };
2519
2581
  compute_node_delete: {
2520
2582
  Args: {
2521
2583
  p_id: string;
@@ -2524,59 +2586,77 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2524
2586
  };
2525
2587
  compute_node_get: {
2526
2588
  Args: {
2527
- p_id: string;
2528
- };
2529
- Returns: Database["public"]["CompositeTypes"]["compute_node_record"][];
2530
- SetofOptions: {
2531
- from: "*";
2532
- to: "compute_node_record";
2533
- isOneToOne: false;
2534
- isSetofReturn: true;
2589
+ p_id?: string;
2590
+ p_user_id?: string;
2535
2591
  };
2592
+ Returns: {
2593
+ auth_secret: string | null;
2594
+ created_at: string | null;
2595
+ host: string | null;
2596
+ id: string | null;
2597
+ is_public: boolean | null;
2598
+ name: string | null;
2599
+ port: number | null;
2600
+ provider: string | null;
2601
+ updated_at: string | null;
2602
+ user_id: string | null;
2603
+ username: string | null;
2604
+ }[];
2536
2605
  };
2537
2606
  compute_node_get_secret: {
2538
2607
  Args: {
2539
2608
  target_id: string;
2540
2609
  };
2541
- Returns: Database["public"]["CompositeTypes"]["compute_node_secret_record"][];
2542
- SetofOptions: {
2543
- from: "*";
2544
- to: "compute_node_secret_record";
2545
- isOneToOne: false;
2546
- isSetofReturn: true;
2547
- };
2610
+ Returns: {
2611
+ auth_secret: string;
2612
+ host: string;
2613
+ port: number;
2614
+ username: string;
2615
+ }[];
2548
2616
  };
2549
2617
  compute_node_list: {
2550
2618
  Args: {
2551
- p_kw?: string;
2552
- p_page_no?: number;
2553
- p_page_size?: number;
2554
- };
2555
- Returns: Database["public"]["CompositeTypes"]["compute_node_list_record"][];
2556
- SetofOptions: {
2557
- from: "*";
2558
- to: "compute_node_list_record";
2559
- isOneToOne: false;
2560
- isSetofReturn: true;
2619
+ p_user_id?: string;
2561
2620
  };
2621
+ Returns: {
2622
+ auth_secret: string | null;
2623
+ created_at: string | null;
2624
+ host: string | null;
2625
+ id: string | null;
2626
+ is_public: boolean | null;
2627
+ name: string | null;
2628
+ port: number | null;
2629
+ provider: string | null;
2630
+ updated_at: string | null;
2631
+ user_id: string | null;
2632
+ username: string | null;
2633
+ }[];
2562
2634
  };
2563
2635
  compute_node_upsert: {
2564
2636
  Args: {
2565
2637
  p_auth_secret?: string;
2566
- p_host: string;
2567
- p_id: string;
2568
- p_name: string;
2638
+ p_host?: string;
2639
+ p_id?: string;
2640
+ p_is_public?: boolean;
2641
+ p_name?: string;
2569
2642
  p_port?: number;
2570
- p_provider: string;
2643
+ p_provider?: string;
2571
2644
  p_username?: string;
2645
+ p_worker_count?: number;
2572
2646
  };
2573
- Returns: Database["public"]["CompositeTypes"]["compute_node_record"][];
2574
- SetofOptions: {
2575
- from: "*";
2576
- to: "compute_node_record";
2577
- isOneToOne: false;
2578
- isSetofReturn: true;
2579
- };
2647
+ Returns: {
2648
+ auth_secret: string | null;
2649
+ created_at: string | null;
2650
+ host: string | null;
2651
+ id: string | null;
2652
+ is_public: boolean | null;
2653
+ name: string | null;
2654
+ port: number | null;
2655
+ provider: string | null;
2656
+ updated_at: string | null;
2657
+ user_id: string | null;
2658
+ username: string | null;
2659
+ }[];
2580
2660
  };
2581
2661
  compute_server_public_url: {
2582
2662
  Args: {
@@ -2613,13 +2693,22 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2613
2693
  p_platform?: string;
2614
2694
  p_telegram_id?: number;
2615
2695
  };
2616
- Returns: Database["public"]["CompositeTypes"]["contact_record"][];
2617
- SetofOptions: {
2618
- from: "*";
2619
- to: "contact_record";
2620
- isOneToOne: false;
2621
- isSetofReturn: true;
2622
- };
2696
+ Returns: {
2697
+ created_at: string;
2698
+ email: string;
2699
+ id: string;
2700
+ metadata: import("../types/database.types").Json;
2701
+ name: string;
2702
+ phone: string;
2703
+ platform: string;
2704
+ source: string;
2705
+ status: string;
2706
+ tags: string[];
2707
+ telegram_id: number;
2708
+ telegram_username: string;
2709
+ updated_at: string;
2710
+ user_id: string;
2711
+ }[];
2623
2712
  };
2624
2713
  contact_list_cursor: {
2625
2714
  Args: {
@@ -2630,13 +2719,22 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2630
2719
  p_status?: string;
2631
2720
  p_tags?: string[];
2632
2721
  };
2633
- Returns: Database["public"]["CompositeTypes"]["contact_record"][];
2634
- SetofOptions: {
2635
- from: "*";
2636
- to: "contact_record";
2637
- isOneToOne: false;
2638
- isSetofReturn: true;
2639
- };
2722
+ Returns: {
2723
+ created_at: string;
2724
+ email: string;
2725
+ id: string;
2726
+ metadata: import("../types/database.types").Json;
2727
+ name: string;
2728
+ phone: string;
2729
+ platform: string;
2730
+ source: string;
2731
+ status: string;
2732
+ tags: string[];
2733
+ telegram_id: number;
2734
+ telegram_username: string;
2735
+ updated_at: string;
2736
+ user_id: string;
2737
+ }[];
2640
2738
  };
2641
2739
  contact_list_tags: {
2642
2740
  Args: never;
@@ -2663,13 +2761,22 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2663
2761
  p_telegram_id?: number;
2664
2762
  p_telegram_username?: string;
2665
2763
  };
2666
- Returns: Database["public"]["CompositeTypes"]["contact_record"][];
2667
- SetofOptions: {
2668
- from: "*";
2669
- to: "contact_record";
2670
- isOneToOne: false;
2671
- isSetofReturn: true;
2672
- };
2764
+ Returns: {
2765
+ created_at: string;
2766
+ email: string;
2767
+ id: string;
2768
+ metadata: import("../types/database.types").Json;
2769
+ name: string;
2770
+ phone: string;
2771
+ platform: string;
2772
+ source: string;
2773
+ status: string;
2774
+ tags: string[];
2775
+ telegram_id: number;
2776
+ telegram_username: string;
2777
+ updated_at: string;
2778
+ user_id: string;
2779
+ }[];
2673
2780
  };
2674
2781
  create_notification: {
2675
2782
  Args: {
@@ -2692,41 +2799,39 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2692
2799
  };
2693
2800
  Returns: import("../types/database.types").Json;
2694
2801
  };
2695
- dba_lint_scan: {
2802
+ get_github_app_public_info: {
2696
2803
  Args: never;
2697
- Returns: Database["public"]["CompositeTypes"]["dba_lint_issue"][];
2698
- SetofOptions: {
2699
- from: "*";
2700
- to: "dba_lint_issue";
2701
- isOneToOne: false;
2702
- isSetofReturn: true;
2703
- };
2804
+ Returns: import("../types/database.types").Json;
2704
2805
  };
2705
- debug_role: {
2806
+ get_jwt_role: {
2706
2807
  Args: never;
2707
2808
  Returns: string;
2708
2809
  };
2709
- debug_sec_def: {
2810
+ get_system_primary_domain: {
2710
2811
  Args: never;
2711
2812
  Returns: string;
2712
2813
  };
2713
- get_encryption_key: {
2714
- Args: never;
2814
+ get_user_id_from_token: {
2815
+ Args: {
2816
+ p_token: string;
2817
+ };
2715
2818
  Returns: string;
2716
2819
  };
2717
- get_github_app_public_info: {
2718
- Args: never;
2719
- Returns: import("../types/database.types").Json;
2820
+ get_worker_subdomain: {
2821
+ Args: {
2822
+ p_worker_id: string;
2823
+ };
2824
+ Returns: string;
2720
2825
  };
2721
- get_jwt_role: {
2826
+ github_list_installation_repos: {
2722
2827
  Args: never;
2723
- Returns: string;
2828
+ Returns: import("../types/database.types").Json;
2724
2829
  };
2725
- get_user_id_from_token: {
2830
+ github_list_repo_branches: {
2726
2831
  Args: {
2727
- p_token: string;
2832
+ p_repo_full_name: string;
2728
2833
  };
2729
- Returns: string;
2834
+ Returns: import("../types/database.types").Json;
2730
2835
  };
2731
2836
  gomtm_model_count: {
2732
2837
  Args: {
@@ -2758,12 +2863,12 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2758
2863
  provider: string;
2759
2864
  updated_at: string;
2760
2865
  user_id: string;
2761
- };
2866
+ }[];
2762
2867
  SetofOptions: {
2763
2868
  from: "*";
2764
2869
  to: "gomtm_models";
2765
- isOneToOne: true;
2766
- isSetofReturn: false;
2870
+ isOneToOne: false;
2871
+ isSetofReturn: true;
2767
2872
  };
2768
2873
  };
2769
2874
  gomtm_model_list_cursor: {
@@ -2796,15 +2901,15 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2796
2901
  };
2797
2902
  gomtm_model_upsert: {
2798
2903
  Args: {
2799
- p_api_base?: string;
2800
- p_api_key?: string;
2801
- p_config?: import("../types/database.types").Json;
2802
- p_id?: string;
2803
- p_is_active?: boolean;
2804
- p_linked_account_id?: string;
2805
- p_model?: string;
2806
- p_name?: string;
2807
- p_provider?: string;
2904
+ p_api_base: string;
2905
+ p_api_key: string;
2906
+ p_config: import("../types/database.types").Json;
2907
+ p_id: string;
2908
+ p_is_active: boolean;
2909
+ p_linked_account_id: string;
2910
+ p_model: string;
2911
+ p_name: string;
2912
+ p_provider: string;
2808
2913
  };
2809
2914
  Returns: {
2810
2915
  api_base: string | null;
@@ -2819,45 +2924,13 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2819
2924
  provider: string;
2820
2925
  updated_at: string;
2821
2926
  user_id: string;
2822
- };
2927
+ }[];
2823
2928
  SetofOptions: {
2824
2929
  from: "*";
2825
2930
  to: "gomtm_models";
2826
- isOneToOne: true;
2827
- isSetofReturn: false;
2828
- };
2829
- };
2830
- handle_http_response_health: {
2831
- Args: {
2832
- p_body: import("../types/database.types").Json;
2833
- p_request_id: number;
2834
- p_success: boolean;
2835
- };
2836
- Returns: boolean;
2837
- };
2838
- handle_http_response_outreach: {
2839
- Args: {
2840
- p_body: import("../types/database.types").Json;
2841
- p_request_id: number;
2842
- p_success: boolean;
2843
- };
2844
- Returns: boolean;
2845
- };
2846
- handle_http_response_task: {
2847
- Args: {
2848
- p_body: import("../types/database.types").Json;
2849
- p_request_id: number;
2850
- p_success: boolean;
2851
- };
2852
- Returns: boolean;
2853
- };
2854
- handle_http_response_telegram: {
2855
- Args: {
2856
- p_body: import("../types/database.types").Json;
2857
- p_request_id: number;
2858
- p_success: boolean;
2931
+ isOneToOne: false;
2932
+ isSetofReturn: true;
2859
2933
  };
2860
- Returns: boolean;
2861
2934
  };
2862
2935
  handle_job_outreach_process: {
2863
2936
  Args: {
@@ -2884,10 +2957,21 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2884
2957
  };
2885
2958
  Returns: boolean;
2886
2959
  };
2960
+ http_fetch: {
2961
+ Args: {
2962
+ p_body?: import("../types/database.types").Json;
2963
+ p_headers?: import("../types/database.types").Json;
2964
+ p_max_retries?: number;
2965
+ p_method: string;
2966
+ p_source_tag?: string;
2967
+ p_timeout_ms?: number;
2968
+ p_url: string;
2969
+ };
2970
+ Returns: import("../types/database.types").Json;
2971
+ };
2887
2972
  install_script: {
2888
2973
  Args: {
2889
2974
  p_instance_id?: string;
2890
- p_token?: string;
2891
2975
  p_version?: string;
2892
2976
  };
2893
2977
  Returns: string;
@@ -2910,26 +2994,30 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2910
2994
  Args: {
2911
2995
  p_instance_id: string;
2912
2996
  };
2913
- Returns: Database["public"]["CompositeTypes"]["tag_record"][];
2914
- SetofOptions: {
2915
- from: "*";
2916
- to: "tag_record";
2917
- isOneToOne: false;
2918
- isSetofReturn: true;
2919
- };
2997
+ Returns: {
2998
+ color: string;
2999
+ created_at: string;
3000
+ id: string;
3001
+ instance_count: number;
3002
+ name: string;
3003
+ updated_at: string;
3004
+ user_id: string;
3005
+ }[];
2920
3006
  };
2921
3007
  instance_tags_set: {
2922
3008
  Args: {
2923
3009
  p_instance_id: string;
2924
3010
  p_tag_ids: string[];
2925
3011
  };
2926
- Returns: Database["public"]["CompositeTypes"]["tag_record"][];
2927
- SetofOptions: {
2928
- from: "*";
2929
- to: "tag_record";
2930
- isOneToOne: false;
2931
- isSetofReturn: true;
2932
- };
3012
+ Returns: {
3013
+ color: string;
3014
+ created_at: string;
3015
+ id: string;
3016
+ instance_count: number;
3017
+ name: string;
3018
+ updated_at: string;
3019
+ user_id: string;
3020
+ }[];
2933
3021
  };
2934
3022
  job_queue_list_dlq: {
2935
3023
  Args: {
@@ -2968,6 +3056,33 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2968
3056
  };
2969
3057
  Returns: import("../types/database.types").Json;
2970
3058
  };
3059
+ jsonb_deep_merge: {
3060
+ Args: {
3061
+ a: import("../types/database.types").Json;
3062
+ b: import("../types/database.types").Json;
3063
+ };
3064
+ Returns: import("../types/database.types").Json;
3065
+ };
3066
+ log_list_unified: {
3067
+ Args: {
3068
+ p_cursor?: string;
3069
+ p_event_type?: string;
3070
+ p_level_max?: string;
3071
+ p_limit?: number;
3072
+ p_module?: string;
3073
+ p_resource_id?: string;
3074
+ p_resource_type?: string;
3075
+ p_scope?: string;
3076
+ p_source?: string;
3077
+ };
3078
+ Returns: Database["public"]["CompositeTypes"]["log_unified_record"][];
3079
+ SetofOptions: {
3080
+ from: "*";
3081
+ to: "log_unified_record";
3082
+ isOneToOne: false;
3083
+ isSetofReturn: true;
3084
+ };
3085
+ };
2971
3086
  notification_complete_action: {
2972
3087
  Args: {
2973
3088
  p_id: string;
@@ -2992,10 +3107,28 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
2992
3107
  };
2993
3108
  notification_get_pending_actions: {
2994
3109
  Args: never;
2995
- Returns: Database["public"]["CompositeTypes"]["user_notification_record"][];
3110
+ Returns: {
3111
+ action_completed_at: string | null;
3112
+ action_payload: import("../types/database.types").Json | null;
3113
+ action_type: string | null;
3114
+ created_at: string;
3115
+ dismissed_at: string | null;
3116
+ expires_at: string | null;
3117
+ id: string;
3118
+ is_read: boolean;
3119
+ message: string | null;
3120
+ notification_type: string;
3121
+ priority: string;
3122
+ read_at: string | null;
3123
+ source_id: string | null;
3124
+ source_type: string | null;
3125
+ title: string;
3126
+ updated_at: string;
3127
+ user_id: string;
3128
+ }[];
2996
3129
  SetofOptions: {
2997
3130
  from: "*";
2998
- to: "user_notification_record";
3131
+ to: "user_notifications";
2999
3132
  isOneToOne: false;
3000
3133
  isSetofReturn: true;
3001
3134
  };
@@ -3009,10 +3142,28 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3009
3142
  p_source_type?: string;
3010
3143
  p_unread_only?: boolean;
3011
3144
  };
3012
- Returns: Database["public"]["CompositeTypes"]["user_notification_record"][];
3145
+ Returns: {
3146
+ action_completed_at: string | null;
3147
+ action_payload: import("../types/database.types").Json | null;
3148
+ action_type: string | null;
3149
+ created_at: string;
3150
+ dismissed_at: string | null;
3151
+ expires_at: string | null;
3152
+ id: string;
3153
+ is_read: boolean;
3154
+ message: string | null;
3155
+ notification_type: string;
3156
+ priority: string;
3157
+ read_at: string | null;
3158
+ source_id: string | null;
3159
+ source_type: string | null;
3160
+ title: string;
3161
+ updated_at: string;
3162
+ user_id: string;
3163
+ }[];
3013
3164
  SetofOptions: {
3014
3165
  from: "*";
3015
- to: "user_notification_record";
3166
+ to: "user_notifications";
3016
3167
  isOneToOne: false;
3017
3168
  isSetofReturn: true;
3018
3169
  };
@@ -3024,6 +3175,182 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3024
3175
  };
3025
3176
  Returns: number;
3026
3177
  };
3178
+ openclaw_assign_server: {
3179
+ Args: {
3180
+ p_openclaw_id: string;
3181
+ p_user_id: string;
3182
+ };
3183
+ Returns: string;
3184
+ };
3185
+ openclaw_build_config: {
3186
+ Args: {
3187
+ p_openclaw_id: string;
3188
+ p_override_config?: import("../types/database.types").Json;
3189
+ p_override_server_id?: string;
3190
+ };
3191
+ Returns: import("../types/database.types").Json;
3192
+ };
3193
+ openclaw_failover: {
3194
+ Args: {
3195
+ p_server_id: string;
3196
+ };
3197
+ Returns: undefined;
3198
+ };
3199
+ openclaw_metadata_apply_action_contract: {
3200
+ Args: {
3201
+ p_action_status: string;
3202
+ p_completed_at?: string;
3203
+ p_debug_action: string;
3204
+ p_delete_pending?: boolean;
3205
+ p_message?: string;
3206
+ p_metadata: import("../types/database.types").Json;
3207
+ p_requested_at?: string;
3208
+ p_user_action: string;
3209
+ };
3210
+ Returns: import("../types/database.types").Json;
3211
+ };
3212
+ openclaw_reconcile_due: {
3213
+ Args: {
3214
+ p_limit?: number;
3215
+ };
3216
+ Returns: number;
3217
+ };
3218
+ openclaw_reconcile_one: {
3219
+ Args: {
3220
+ p_openclaw_id: string;
3221
+ };
3222
+ Returns: {
3223
+ config: import("../types/database.types").Json;
3224
+ created_at: string;
3225
+ desired_status: Database["public"]["Enums"]["openclaw_status"];
3226
+ id: string;
3227
+ metadata: import("../types/database.types").Json | null;
3228
+ name: string | null;
3229
+ resolved_config: import("../types/database.types").Json;
3230
+ server_id: string | null;
3231
+ state: import("../types/database.types").Json | null;
3232
+ status: Database["public"]["Enums"]["openclaw_status"];
3233
+ status_reason: string | null;
3234
+ updated_at: string;
3235
+ user_id: string;
3236
+ };
3237
+ SetofOptions: {
3238
+ from: "*";
3239
+ to: "openclaws";
3240
+ isOneToOne: true;
3241
+ isSetofReturn: false;
3242
+ };
3243
+ };
3244
+ openclaw_refresh_resolved_config: {
3245
+ Args: {
3246
+ p_openclaw_id: string;
3247
+ p_override_config?: import("../types/database.types").Json;
3248
+ p_override_server_id?: string;
3249
+ };
3250
+ Returns: import("../types/database.types").Json;
3251
+ };
3252
+ openclaws_delete: {
3253
+ Args: {
3254
+ p_id: string;
3255
+ };
3256
+ Returns: {
3257
+ config: import("../types/database.types").Json;
3258
+ created_at: string;
3259
+ desired_status: Database["public"]["Enums"]["openclaw_status"];
3260
+ id: string;
3261
+ metadata: import("../types/database.types").Json;
3262
+ name: string;
3263
+ server_id: string;
3264
+ state: import("../types/database.types").Json;
3265
+ status: Database["public"]["Enums"]["openclaw_status"];
3266
+ status_reason: string;
3267
+ updated_at: string;
3268
+ user_id: string;
3269
+ }[];
3270
+ };
3271
+ openclaws_get: {
3272
+ Args: {
3273
+ p_id: string;
3274
+ };
3275
+ Returns: {
3276
+ config: import("../types/database.types").Json;
3277
+ created_at: string;
3278
+ desired_status: Database["public"]["Enums"]["openclaw_status"];
3279
+ id: string;
3280
+ metadata: import("../types/database.types").Json;
3281
+ name: string;
3282
+ server_id: string;
3283
+ state: import("../types/database.types").Json;
3284
+ status: Database["public"]["Enums"]["openclaw_status"];
3285
+ status_reason: string;
3286
+ updated_at: string;
3287
+ user_id: string;
3288
+ }[];
3289
+ };
3290
+ openclaws_list_cursor: {
3291
+ Args: {
3292
+ p_cursor?: string;
3293
+ p_limit?: number;
3294
+ p_search?: string;
3295
+ p_status?: Database["public"]["Enums"]["openclaw_status"];
3296
+ };
3297
+ Returns: {
3298
+ config: import("../types/database.types").Json;
3299
+ created_at: string;
3300
+ desired_status: Database["public"]["Enums"]["openclaw_status"];
3301
+ id: string;
3302
+ metadata: import("../types/database.types").Json;
3303
+ name: string;
3304
+ server_id: string;
3305
+ state: import("../types/database.types").Json;
3306
+ status: Database["public"]["Enums"]["openclaw_status"];
3307
+ status_reason: string;
3308
+ updated_at: string;
3309
+ user_id: string;
3310
+ }[];
3311
+ };
3312
+ openclaws_request_action: {
3313
+ Args: {
3314
+ p_action: string;
3315
+ p_id: string;
3316
+ };
3317
+ Returns: {
3318
+ config: import("../types/database.types").Json;
3319
+ created_at: string;
3320
+ desired_status: Database["public"]["Enums"]["openclaw_status"];
3321
+ id: string;
3322
+ metadata: import("../types/database.types").Json;
3323
+ name: string;
3324
+ server_id: string;
3325
+ state: import("../types/database.types").Json;
3326
+ status: Database["public"]["Enums"]["openclaw_status"];
3327
+ status_reason: string;
3328
+ updated_at: string;
3329
+ user_id: string;
3330
+ }[];
3331
+ };
3332
+ openclaws_upsert: {
3333
+ Args: {
3334
+ p_config?: import("../types/database.types").Json;
3335
+ p_id?: string;
3336
+ p_metadata?: import("../types/database.types").Json;
3337
+ p_name?: string;
3338
+ };
3339
+ Returns: {
3340
+ config: import("../types/database.types").Json;
3341
+ created_at: string;
3342
+ desired_status: Database["public"]["Enums"]["openclaw_status"];
3343
+ id: string;
3344
+ metadata: import("../types/database.types").Json;
3345
+ name: string;
3346
+ server_id: string;
3347
+ state: import("../types/database.types").Json;
3348
+ status: Database["public"]["Enums"]["openclaw_status"];
3349
+ status_reason: string;
3350
+ updated_at: string;
3351
+ user_id: string;
3352
+ }[];
3353
+ };
3027
3354
  outreach_process_pending_tasks: {
3028
3355
  Args: {
3029
3356
  p_campaign_id?: string;
@@ -3031,6 +3358,13 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3031
3358
  };
3032
3359
  Returns: number;
3033
3360
  };
3361
+ outreach_process_pending_tasks_sync: {
3362
+ Args: {
3363
+ p_campaign_id?: string;
3364
+ p_limit?: number;
3365
+ };
3366
+ Returns: number;
3367
+ };
3034
3368
  outreach_retry_failed_tasks: {
3035
3369
  Args: {
3036
3370
  p_campaign_id?: string;
@@ -3044,13 +3378,22 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3044
3378
  p_offset?: number;
3045
3379
  p_status?: string;
3046
3380
  };
3047
- Returns: Database["public"]["CompositeTypes"]["outreach_task_record"][];
3048
- SetofOptions: {
3049
- from: "*";
3050
- to: "outreach_task_record";
3051
- isOneToOne: false;
3052
- isSetofReturn: true;
3053
- };
3381
+ Returns: {
3382
+ campaign_id: string;
3383
+ cloud_account_id: string;
3384
+ contact_id: string;
3385
+ created_at: string;
3386
+ error_message: string;
3387
+ executed_at: string;
3388
+ id: string;
3389
+ metadata: import("../types/database.types").Json;
3390
+ priority: number;
3391
+ retry_count: number;
3392
+ scheduled_at: string;
3393
+ status: string;
3394
+ updated_at: string;
3395
+ user_id: string;
3396
+ }[];
3054
3397
  };
3055
3398
  proxy_delete: {
3056
3399
  Args: {
@@ -3062,13 +3405,17 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3062
3405
  Args: {
3063
3406
  p_id: string;
3064
3407
  };
3065
- Returns: Database["public"]["CompositeTypes"]["proxy_record"][];
3066
- SetofOptions: {
3067
- from: "*";
3068
- to: "proxy_record";
3069
- isOneToOne: false;
3070
- isSetofReturn: true;
3071
- };
3408
+ Returns: {
3409
+ created_at: string;
3410
+ description: string;
3411
+ enabled: boolean;
3412
+ id: string;
3413
+ name: string;
3414
+ type: string;
3415
+ updated_at: string;
3416
+ url: string;
3417
+ user_id: string;
3418
+ }[];
3072
3419
  };
3073
3420
  proxy_list: {
3074
3421
  Args: {
@@ -3076,13 +3423,17 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3076
3423
  p_page_no?: number;
3077
3424
  p_page_size?: number;
3078
3425
  };
3079
- Returns: Database["public"]["CompositeTypes"]["proxy_record"][];
3080
- SetofOptions: {
3081
- from: "*";
3082
- to: "proxy_record";
3083
- isOneToOne: false;
3084
- isSetofReturn: true;
3085
- };
3426
+ Returns: {
3427
+ created_at: string;
3428
+ description: string;
3429
+ enabled: boolean;
3430
+ id: string;
3431
+ name: string;
3432
+ type: string;
3433
+ updated_at: string;
3434
+ url: string;
3435
+ user_id: string;
3436
+ }[];
3086
3437
  };
3087
3438
  proxy_upsert: {
3088
3439
  Args: {
@@ -3093,13 +3444,17 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3093
3444
  p_type: string;
3094
3445
  p_url: string;
3095
3446
  };
3096
- Returns: Database["public"]["CompositeTypes"]["proxy_record"][];
3097
- SetofOptions: {
3098
- from: "*";
3099
- to: "proxy_record";
3100
- isOneToOne: false;
3101
- isSetofReturn: true;
3102
- };
3447
+ Returns: {
3448
+ created_at: string;
3449
+ description: string;
3450
+ enabled: boolean;
3451
+ id: string;
3452
+ name: string;
3453
+ type: string;
3454
+ updated_at: string;
3455
+ url: string;
3456
+ user_id: string;
3457
+ }[];
3103
3458
  };
3104
3459
  resource_delete: {
3105
3460
  Args: {
@@ -3139,16 +3494,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3139
3494
  p_title?: string;
3140
3495
  p_type?: string;
3141
3496
  };
3142
- Returns: string;
3143
- };
3144
- sandbox_find_active: {
3145
- Args: never;
3146
- Returns: import("../types/database.types").Json;
3147
- };
3148
- sandbox_get: {
3149
- Args: {
3150
- resource_id?: string;
3151
- };
3152
3497
  Returns: {
3153
3498
  created_at: string;
3154
3499
  data: import("../types/database.types").Json | null;
@@ -3171,87 +3516,120 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3171
3516
  isSetofReturn: true;
3172
3517
  };
3173
3518
  };
3174
- server_instance_bootstrap: {
3519
+ sandbox_find_active: {
3520
+ Args: never;
3521
+ Returns: import("../types/database.types").Json;
3522
+ };
3523
+ script_exec: {
3175
3524
  Args: {
3176
- p_instance_id: string;
3525
+ p_options?: import("../types/database.types").Json;
3526
+ p_script: import("../types/database.types").Json;
3527
+ p_server_id: string;
3528
+ };
3529
+ Returns: import("../types/database.types").Json;
3530
+ };
3531
+ script_get_content: {
3532
+ Args: {
3533
+ p_file_path: string;
3534
+ p_git_ref?: string;
3535
+ };
3536
+ Returns: string;
3537
+ };
3538
+ server_delete: {
3539
+ Args: {
3540
+ p_id: string;
3541
+ p_shutdown_gracefully?: boolean;
3542
+ };
3543
+ Returns: import("../types/database.types").Json;
3544
+ };
3545
+ server_get: {
3546
+ Args: {
3547
+ p_server_id?: string;
3177
3548
  };
3178
- Returns: Database["public"]["CompositeTypes"]["bootstrap_result"][];
3549
+ Returns: {
3550
+ config: import("../types/database.types").Json;
3551
+ created_at: string;
3552
+ id: string;
3553
+ state: import("../types/database.types").Json;
3554
+ updated_at: string;
3555
+ }[];
3556
+ };
3557
+ server_list_cursor: {
3558
+ Args: {
3559
+ p_cursor_id?: string;
3560
+ p_cursor_updated_at?: string;
3561
+ p_limit?: number;
3562
+ p_search?: string;
3563
+ };
3564
+ Returns: {
3565
+ config: import("../types/database.types").Json | null;
3566
+ created_at: string;
3567
+ id: string;
3568
+ state: import("../types/database.types").Json | null;
3569
+ updated_at: string;
3570
+ }[];
3179
3571
  SetofOptions: {
3180
3572
  from: "*";
3181
- to: "bootstrap_result";
3573
+ to: "servers";
3182
3574
  isOneToOne: false;
3183
3575
  isSetofReturn: true;
3184
3576
  };
3185
3577
  };
3186
- server_instance_delete: {
3578
+ server_mark_offline: {
3187
3579
  Args: {
3188
- p_id: string;
3580
+ p_reason?: string;
3581
+ p_server_id: string;
3582
+ p_source?: string;
3189
3583
  };
3190
- Returns: undefined;
3584
+ Returns: import("../types/database.types").Json;
3191
3585
  };
3192
- server_instance_get: {
3586
+ server_status_apply_callback: {
3193
3587
  Args: {
3194
- p_id: string;
3588
+ p_callback_token: string;
3589
+ p_payload: import("../types/database.types").Json;
3590
+ p_server_id: string;
3195
3591
  };
3196
- Returns: Database["public"]["CompositeTypes"]["server_instance_record"][];
3197
- SetofOptions: {
3198
- from: "*";
3199
- to: "server_instance_record";
3200
- isOneToOne: false;
3201
- isSetofReturn: true;
3592
+ Returns: import("../types/database.types").Json;
3593
+ };
3594
+ server_status_merge: {
3595
+ Args: {
3596
+ p_current_state: import("../types/database.types").Json;
3597
+ p_fact: import("../types/database.types").Json;
3202
3598
  };
3599
+ Returns: import("../types/database.types").Json;
3203
3600
  };
3204
- server_instance_list_cursor: {
3601
+ server_status_reconcile: {
3205
3602
  Args: {
3206
- p_cursor_id?: string;
3207
- p_cursor_is_shared?: boolean;
3208
- p_cursor_updated_at?: string;
3209
- p_is_shared?: boolean;
3210
- p_kw?: string;
3211
- p_limit?: number;
3212
- p_tag_ids?: string[];
3603
+ p_server_id: string;
3213
3604
  };
3214
- Returns: Database["public"]["CompositeTypes"]["server_instance_record"][];
3215
- SetofOptions: {
3216
- from: "*";
3217
- to: "server_instance_record";
3218
- isOneToOne: false;
3219
- isSetofReturn: true;
3605
+ Returns: import("../types/database.types").Json;
3606
+ };
3607
+ server_status_reconcile_due: {
3608
+ Args: {
3609
+ p_limit?: number;
3220
3610
  };
3611
+ Returns: number;
3221
3612
  };
3222
- server_instance_probe: {
3613
+ server_tunnel_sync: {
3223
3614
  Args: {
3224
- p_instance_id: string;
3615
+ p_server_id: string;
3225
3616
  };
3226
3617
  Returns: undefined;
3227
3618
  };
3228
- server_instance_upsert: {
3619
+ server_upsert: {
3229
3620
  Args: {
3621
+ p_compute_node_id?: string;
3230
3622
  p_config?: import("../types/database.types").Json;
3231
3623
  p_id?: string;
3232
- p_is_public?: boolean;
3233
- p_is_shared?: boolean;
3234
- p_name?: string;
3235
3624
  p_state?: import("../types/database.types").Json;
3236
- p_status?: Database["public"]["Enums"]["server_status"];
3237
- };
3238
- Returns: Database["public"]["CompositeTypes"]["server_instance_record"][];
3239
- SetofOptions: {
3240
- from: "*";
3241
- to: "server_instance_record";
3242
- isOneToOne: false;
3243
- isSetofReturn: true;
3244
- };
3245
- };
3246
- service_health_summary: {
3247
- Args: never;
3248
- Returns: Database["public"]["CompositeTypes"]["service_health_record"][];
3249
- SetofOptions: {
3250
- from: "*";
3251
- to: "service_health_record";
3252
- isOneToOne: false;
3253
- isSetofReturn: true;
3254
3625
  };
3626
+ Returns: {
3627
+ config: import("../types/database.types").Json;
3628
+ created_at: string;
3629
+ id: string;
3630
+ state: import("../types/database.types").Json;
3631
+ updated_at: string;
3632
+ }[];
3255
3633
  };
3256
3634
  sys_config_get: {
3257
3635
  Args: {
@@ -3280,38 +3658,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3280
3658
  };
3281
3659
  Returns: string;
3282
3660
  };
3283
- sys_get_db_schema: {
3284
- Args: {
3285
- p_excluded_tables?: string[];
3286
- p_include_comments?: boolean;
3287
- p_include_functions?: boolean;
3288
- };
3289
- Returns: string;
3290
- };
3291
- sys_init_queue: {
3292
- Args: {
3293
- name: string;
3294
- };
3295
- Returns: undefined;
3296
- };
3297
- sys_log_list: {
3298
- Args: {
3299
- p_cursor?: string;
3300
- p_event_type?: string;
3301
- p_level_max?: Database["public"]["Enums"]["sys_log_level"];
3302
- p_limit?: number;
3303
- p_module?: string;
3304
- p_resource_id?: string;
3305
- p_resource_type?: string;
3306
- };
3307
- Returns: Database["public"]["CompositeTypes"]["sys_log_record"][];
3308
- SetofOptions: {
3309
- from: "*";
3310
- to: "sys_log_record";
3311
- isOneToOne: false;
3312
- isSetofReturn: true;
3313
- };
3314
- };
3315
3661
  sys_log_validate_meta: {
3316
3662
  Args: {
3317
3663
  p_event_type: string;
@@ -3325,6 +3671,13 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3325
3671
  };
3326
3672
  Returns: undefined;
3327
3673
  };
3674
+ system_cleanup: {
3675
+ Args: {
3676
+ p_dry_run?: boolean;
3677
+ p_policy_name?: string;
3678
+ };
3679
+ Returns: import("../types/database.types").Json;
3680
+ };
3328
3681
  system_config_public_delete: {
3329
3682
  Args: {
3330
3683
  p_key: string;
@@ -3368,13 +3721,15 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3368
3721
  };
3369
3722
  tag_list: {
3370
3723
  Args: never;
3371
- Returns: Database["public"]["CompositeTypes"]["tag_record"][];
3372
- SetofOptions: {
3373
- from: "*";
3374
- to: "tag_record";
3375
- isOneToOne: false;
3376
- isSetofReturn: true;
3377
- };
3724
+ Returns: {
3725
+ color: string;
3726
+ created_at: string;
3727
+ id: string;
3728
+ instance_count: number;
3729
+ name: string;
3730
+ updated_at: string;
3731
+ user_id: string;
3732
+ }[];
3378
3733
  };
3379
3734
  tag_upsert: {
3380
3735
  Args: {
@@ -3382,13 +3737,15 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3382
3737
  p_id?: string;
3383
3738
  p_name?: string;
3384
3739
  };
3385
- Returns: Database["public"]["CompositeTypes"]["tag_record"][];
3386
- SetofOptions: {
3387
- from: "*";
3388
- to: "tag_record";
3389
- isOneToOne: false;
3390
- isSetofReturn: true;
3391
- };
3740
+ Returns: {
3741
+ color: string;
3742
+ created_at: string;
3743
+ id: string;
3744
+ instance_count: number;
3745
+ name: string;
3746
+ updated_at: string;
3747
+ user_id: string;
3748
+ }[];
3392
3749
  };
3393
3750
  task_ack: {
3394
3751
  Args: {
@@ -3782,12 +4139,20 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3782
4139
  p_account_id: string;
3783
4140
  p_use_sms?: boolean;
3784
4141
  };
3785
- Returns: undefined;
4142
+ Returns: Database["public"]["CompositeTypes"]["telegram_login_response"][];
4143
+ SetofOptions: {
4144
+ from: "*";
4145
+ to: "telegram_login_response";
4146
+ isOneToOne: false;
4147
+ isSetofReturn: true;
4148
+ };
3786
4149
  };
3787
- telegram_login_submit_2fa: {
4150
+ telegram_login_step_process: {
3788
4151
  Args: {
3789
4152
  p_account_id: string;
3790
- p_password: string;
4153
+ p_body: import("../types/database.types").Json;
4154
+ p_step: string;
4155
+ p_success: boolean;
3791
4156
  };
3792
4157
  Returns: undefined;
3793
4158
  };
@@ -3796,7 +4161,35 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3796
4161
  p_account_id: string;
3797
4162
  p_code: string;
3798
4163
  };
3799
- Returns: undefined;
4164
+ Returns: Database["public"]["CompositeTypes"]["telegram_login_response"][];
4165
+ SetofOptions: {
4166
+ from: "*";
4167
+ to: "telegram_login_response";
4168
+ isOneToOne: false;
4169
+ isSetofReturn: true;
4170
+ };
4171
+ };
4172
+ telegram_login_submit_two_fa: {
4173
+ Args: {
4174
+ p_account_id: string;
4175
+ p_password: string;
4176
+ };
4177
+ Returns: Database["public"]["CompositeTypes"]["telegram_login_response"][];
4178
+ SetofOptions: {
4179
+ from: "*";
4180
+ to: "telegram_login_response";
4181
+ isOneToOne: false;
4182
+ isSetofReturn: true;
4183
+ };
4184
+ };
4185
+ telegram_server_post: {
4186
+ Args: {
4187
+ p_body: import("../types/database.types").Json;
4188
+ p_path: string;
4189
+ p_preferred_server_id: string;
4190
+ p_timeout?: string;
4191
+ };
4192
+ Returns: import("../types/database.types").Json;
3800
4193
  };
3801
4194
  traffic_log_delete: {
3802
4195
  Args: never;
@@ -3853,29 +4246,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3853
4246
  };
3854
4247
  Returns: undefined;
3855
4248
  };
3856
- user_log_list: {
3857
- Args: {
3858
- p_page?: number;
3859
- p_page_size?: number;
3860
- };
3861
- Returns: {
3862
- content: string | null;
3863
- created_at: string | null;
3864
- event_type: string;
3865
- id: string;
3866
- level: string;
3867
- meta: import("../types/database.types").Json | null;
3868
- resource_id: string | null;
3869
- resource_type: string | null;
3870
- user_id: string;
3871
- }[];
3872
- SetofOptions: {
3873
- from: "*";
3874
- to: "user_logs";
3875
- isOneToOne: false;
3876
- isSetofReturn: true;
3877
- };
3878
- };
3879
4249
  user_log_record: {
3880
4250
  Args: {
3881
4251
  p_content: string;
@@ -3896,10 +4266,17 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3896
4266
  };
3897
4267
  user_profile_get: {
3898
4268
  Args: never;
3899
- Returns: Database["public"]["CompositeTypes"]["user_profile_record"][];
4269
+ Returns: {
4270
+ avatar_url: string | null;
4271
+ full_name: string | null;
4272
+ id: string;
4273
+ updated_at: string | null;
4274
+ username: string | null;
4275
+ website: string | null;
4276
+ }[];
3900
4277
  SetofOptions: {
3901
4278
  from: "*";
3902
- to: "user_profile_record";
4279
+ to: "profiles";
3903
4280
  isOneToOne: false;
3904
4281
  isSetofReturn: true;
3905
4282
  };
@@ -3918,12 +4295,12 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3918
4295
  updated_at: string | null;
3919
4296
  username: string | null;
3920
4297
  website: string | null;
3921
- };
4298
+ }[];
3922
4299
  SetofOptions: {
3923
4300
  from: "*";
3924
4301
  to: "profiles";
3925
- isOneToOne: true;
3926
- isSetofReturn: false;
4302
+ isOneToOne: false;
4303
+ isSetofReturn: true;
3927
4304
  };
3928
4305
  };
3929
4306
  user_role_delete: {
@@ -3953,80 +4330,20 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
3953
4330
  chat_role: "system" | "user" | "assistant" | "model" | "error" | "tool";
3954
4331
  chat_visibility: "private" | "public";
3955
4332
  cloud_account_status: "pending" | "active" | "token_expired" | "needs_reauth" | "quota_exceeded" | "suspended" | "disabled";
3956
- compute_node_status: "online" | "offline";
3957
- server_status: "created" | "online" | "offline" | "error";
4333
+ openclaw_status: "disabled" | "pending" | "starting" | "running" | "stopping" | "stopped" | "error" | "migrating";
3958
4334
  sys_log_level: "error" | "warn" | "info";
3959
4335
  task_code_type: "sql" | "bash" | "python" | "agent" | "javascript";
3960
4336
  task_status: "draft" | "pending" | "queued" | "running" | "completed" | "failed" | "cancelled" | "paused";
4337
+ telegram_login_state: "idle" | "wait_code" | "need_2fa" | "wait_password" | "success" | "failed";
3961
4338
  telegram_login_step: "pending" | "send_code" | "wait_code" | "verify_code" | "need_2fa" | "success" | "failed" | "fetch_info";
3962
4339
  };
3963
4340
  CompositeTypes: {
3964
- adk_artifact_key_record: {
3965
- filename: string | null;
3966
- };
3967
- adk_artifact_meta_record: {
3968
- version: number | null;
3969
- canonical_uri: string | null;
3970
- custom_metadata: import("../types/database.types").Json | null;
3971
- create_time: number | null;
3972
- mime_type: string | null;
3973
- };
3974
- audit_project_record: {
3975
- id: string | null;
3976
- created_at: string | null;
3977
- updated_at: string | null;
3978
- user_id: string | null;
3979
- name: string | null;
3980
- target: string | null;
3981
- repo_url: string | null;
3982
- repo_branch: string | null;
3983
- config: import("../types/database.types").Json | null;
3984
- worker_id: string | null;
3985
- };
3986
4341
  audit_project_stats_record: {
3987
4342
  asset_count: number | null;
3988
4343
  finding_count: number | null;
3989
4344
  high_risk_count: number | null;
3990
4345
  task_count: number | null;
3991
4346
  };
3992
- bootstrap_result: {
3993
- success: boolean | null;
3994
- error: string | null;
3995
- config: import("../types/database.types").Json | null;
3996
- };
3997
- browser_record: {
3998
- id: string | null;
3999
- created_at: string | null;
4000
- updated_at: string | null;
4001
- title: string | null;
4002
- description: string | null;
4003
- profile_id: string | null;
4004
- provider: string | null;
4005
- provider_config: import("../types/database.types").Json | null;
4006
- config: import("../types/database.types").Json | null;
4007
- sandbox_id: string | null;
4008
- vnc_url: string | null;
4009
- browser_api_url: string | null;
4010
- worker_name: string | null;
4011
- is_running: boolean | null;
4012
- };
4013
- campaign_record: {
4014
- id: string | null;
4015
- created_at: string | null;
4016
- updated_at: string | null;
4017
- started_at: string | null;
4018
- completed_at: string | null;
4019
- user_id: string | null;
4020
- name: string | null;
4021
- description: string | null;
4022
- platform: string | null;
4023
- status: string | null;
4024
- config: import("../types/database.types").Json | null;
4025
- message_template: string | null;
4026
- target_filter: import("../types/database.types").Json | null;
4027
- schedule: import("../types/database.types").Json | null;
4028
- stats: import("../types/database.types").Json | null;
4029
- };
4030
4347
  cloud_account_record: {
4031
4348
  id: string | null;
4032
4349
  created_at: string | null;
@@ -4052,98 +4369,23 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
4052
4369
  device_history: import("../types/database.types").Json[] | null;
4053
4370
  credentials: import("../types/database.types").Json | null;
4054
4371
  };
4055
- compute_node_list_record: {
4056
- id: string | null;
4057
- user_id: string | null;
4058
- name: string | null;
4059
- provider: string | null;
4060
- host: string | null;
4061
- port: number | null;
4062
- username: string | null;
4063
- auth_secret: string | null;
4064
- status: Database["public"]["Enums"]["compute_node_status"] | null;
4065
- worker_count: number | null;
4066
- updated_at: string | null;
4067
- is_public: boolean | null;
4068
- created_at: string | null;
4069
- full_count: number | null;
4070
- };
4071
- compute_node_record: {
4072
- id: string | null;
4073
- user_id: string | null;
4074
- name: string | null;
4075
- provider: string | null;
4076
- host: string | null;
4077
- port: number | null;
4078
- username: string | null;
4079
- auth_secret: string | null;
4080
- status: Database["public"]["Enums"]["compute_node_status"] | null;
4081
- worker_count: number | null;
4082
- updated_at: string | null;
4083
- is_public: boolean | null;
4084
- created_at: string | null;
4085
- };
4086
- compute_node_secret_record: {
4087
- host: string | null;
4088
- port: number | null;
4089
- username: string | null;
4090
- auth_secret: string | null;
4091
- };
4092
- contact_record: {
4093
- id: string | null;
4094
- created_at: string | null;
4095
- updated_at: string | null;
4096
- user_id: string | null;
4097
- name: string | null;
4098
- phone: string | null;
4099
- telegram_id: number | null;
4100
- telegram_username: string | null;
4101
- email: string | null;
4102
- platform: string | null;
4103
- source: string | null;
4104
- tags: string[] | null;
4105
- status: string | null;
4106
- metadata: import("../types/database.types").Json | null;
4107
- };
4108
- dba_lint_issue: {
4109
- object_type: string | null;
4110
- object_name: string | null;
4111
- issue_category: string | null;
4112
- issue: string | null;
4113
- suggestion: string | null;
4114
- severity: string | null;
4115
- };
4116
4372
  job_queue_dlq_record: {
4117
4373
  msg_id: number | null;
4118
4374
  read_ct: number | null;
4119
4375
  enqueued_at: string | null;
4120
4376
  message: import("../types/database.types").Json | null;
4121
4377
  };
4122
- outreach_task_record: {
4123
- id: string | null;
4124
- created_at: string | null;
4125
- updated_at: string | null;
4126
- user_id: string | null;
4127
- campaign_id: string | null;
4128
- contact_id: string | null;
4129
- cloud_account_id: string | null;
4130
- status: string | null;
4131
- priority: number | null;
4132
- scheduled_at: string | null;
4133
- executed_at: string | null;
4134
- retry_count: number | null;
4135
- error_message: string | null;
4136
- metadata: import("../types/database.types").Json | null;
4137
- };
4138
- proxy_record: {
4378
+ log_unified_record: {
4139
4379
  id: string | null;
4380
+ source: string | null;
4140
4381
  created_at: string | null;
4141
- updated_at: string | null;
4142
- name: string | null;
4143
- description: string | null;
4144
- url: string | null;
4145
- type: string | null;
4146
- enabled: boolean | null;
4382
+ event_type: string | null;
4383
+ level: string | null;
4384
+ module: string | null;
4385
+ content: string | null;
4386
+ meta: import("../types/database.types").Json | null;
4387
+ resource_type: string | null;
4388
+ resource_id: string | null;
4147
4389
  user_id: string | null;
4148
4390
  };
4149
4391
  resource_list_record: {
@@ -4156,73 +4398,12 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
4156
4398
  url: string | null;
4157
4399
  updated_at: string | null;
4158
4400
  };
4159
- server_instance_record: {
4160
- id: string | null;
4161
- name: string | null;
4162
- updated_at: string | null;
4163
- config: import("../types/database.types").Json | null;
4164
- status: Database["public"]["Enums"]["server_status"] | null;
4165
- is_public: boolean | null;
4166
- state: import("../types/database.types").Json | null;
4167
- created_at: string | null;
4168
- user_id: string | null;
4169
- is_shared: boolean | null;
4170
- };
4171
- service_health_record: {
4172
- module: string | null;
4173
- status: string | null;
4174
- last_error_at: string | null;
4175
- last_error_message: string | null;
4176
- error_count_24h: number | null;
4177
- };
4178
- sys_log_record: {
4179
- id: number | null;
4180
- created_at: string | null;
4181
- text: string | null;
4182
- level: Database["public"]["Enums"]["sys_log_level"] | null;
4183
- module: string | null;
4184
- event_type: string | null;
4185
- meta: import("../types/database.types").Json | null;
4186
- resource_type: string | null;
4187
- resource_id: string | null;
4188
- resource_name: string | null;
4189
- user_id: string | null;
4190
- };
4191
- tag_record: {
4192
- id: string | null;
4193
- name: string | null;
4194
- color: string | null;
4195
- user_id: string | null;
4196
- created_at: string | null;
4197
- updated_at: string | null;
4198
- instance_count: number | null;
4199
- };
4200
- user_notification_record: {
4201
- id: string | null;
4202
- created_at: string | null;
4203
- updated_at: string | null;
4204
- user_id: string | null;
4205
- title: string | null;
4206
- message: string | null;
4207
- notification_type: string | null;
4208
- priority: string | null;
4209
- source_type: string | null;
4210
- source_id: string | null;
4211
- action_type: string | null;
4212
- action_payload: import("../types/database.types").Json | null;
4213
- action_completed_at: string | null;
4214
- is_read: boolean | null;
4215
- read_at: string | null;
4216
- dismissed_at: string | null;
4217
- expires_at: string | null;
4218
- };
4219
- user_profile_record: {
4220
- id: string | null;
4221
- full_name: string | null;
4222
- username: string | null;
4223
- website: string | null;
4224
- avatar_url: string | null;
4225
- updated_at: string | null;
4401
+ telegram_login_response: {
4402
+ success: boolean | null;
4403
+ step: string | null;
4404
+ timeout_seconds: number | null;
4405
+ error_message: string | null;
4406
+ user_info: import("../types/database.types").Json | null;
4226
4407
  };
4227
4408
  };
4228
4409
  }, {