mtmsdk 0.0.52 → 0.0.53

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 (250) hide show
  1. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts +21 -173
  2. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
  3. package/dist/gomtmapi/@tanstack/react-query.gen.js +39 -179
  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 +67 -81
  10. package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
  11. package/dist/gomtmapi/schemas.gen.js +68 -82
  12. package/dist/gomtmapi/schemas.gen.js.map +1 -1
  13. package/dist/gomtmapi/sdk.gen.d.ts +15 -95
  14. package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
  15. package/dist/gomtmapi/sdk.gen.js +22 -102
  16. package/dist/gomtmapi/sdk.gen.js.map +1 -1
  17. package/dist/gomtmapi/types.gen.d.ts +66 -209
  18. package/dist/gomtmapi/types.gen.d.ts.map +1 -1
  19. package/dist/gomtmapi/zod.gen.d.ts +48 -121
  20. package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
  21. package/dist/gomtmapi/zod.gen.js +36 -99
  22. package/dist/gomtmapi/zod.gen.js.map +1 -1
  23. package/dist/sbmng/@tanstack/react-query.gen.d.ts +146 -146
  24. package/dist/sbmng/@tanstack/react-query.gen.js +6 -6
  25. package/dist/sbmng/schemas.gen.d.ts +4 -4
  26. package/dist/sbmng/schemas.gen.js +4 -4
  27. package/dist/sbmng/schemas.gen.js.map +1 -1
  28. package/dist/sbmng/sdk.gen.d.ts +6 -6
  29. package/dist/sbmng/sdk.gen.js +6 -6
  30. package/dist/supabase/auth-provider.d.ts +8 -1
  31. package/dist/supabase/auth-provider.d.ts.map +1 -1
  32. package/dist/supabase/context.d.ts +3844 -1
  33. package/dist/supabase/context.d.ts.map +1 -1
  34. package/dist/supabase/cursor-pagination.d.ts +4 -4
  35. package/dist/supabase/cursor-pagination.js +4 -4
  36. package/dist/supabase/schema/index.d.ts +1 -11
  37. package/dist/supabase/schema/index.d.ts.map +1 -1
  38. package/dist/supabase/schema/index.js +1 -19
  39. package/dist/supabase/schema/index.js.map +1 -1
  40. package/dist/supabase/schema/system-config.d.ts +12 -0
  41. package/dist/supabase/schema/system-config.d.ts.map +1 -0
  42. package/dist/supabase/schema/system-config.js +22 -0
  43. package/dist/supabase/schema/system-config.js.map +1 -0
  44. package/dist/supabase/supabase-client.d.ts +1 -471
  45. package/dist/supabase/supabase-client.d.ts.map +1 -1
  46. package/dist/supabase/supabase.d.ts +44 -984
  47. package/dist/supabase/supabase.d.ts.map +1 -1
  48. package/dist/supabase/use-sb-query/use-rpc-mutation.d.ts +8 -8
  49. package/dist/supabase/use-sb-query/use-rpc-mutation.js +8 -8
  50. package/dist/types/contracts.d.ts +63 -0
  51. package/dist/types/contracts.d.ts.map +1 -0
  52. package/dist/types/contracts.js +17 -0
  53. package/dist/types/contracts.js.map +1 -0
  54. package/dist/types/database.schemas.d.ts +27 -626
  55. package/dist/types/database.schemas.d.ts.map +1 -1
  56. package/dist/types/database.schemas.js +0 -432
  57. package/dist/types/database.schemas.js.map +1 -1
  58. package/dist/types/database.types.d.ts +1 -476
  59. package/dist/types/database.types.d.ts.map +1 -1
  60. package/dist/types/database.types.js +0 -10
  61. package/dist/types/database.types.js.map +1 -1
  62. package/dist/types/index.d.ts +9 -25
  63. package/dist/types/index.d.ts.map +1 -1
  64. package/dist/types/index.js +3 -5
  65. package/dist/types/index.js.map +1 -1
  66. package/package.json +101 -105
  67. package/dist/cloud-account/platform-configs.d.ts +0 -64
  68. package/dist/cloud-account/platform-configs.d.ts.map +0 -1
  69. package/dist/cloud-account/platform-configs.js +0 -44
  70. package/dist/cloud-account/platform-configs.js.map +0 -1
  71. package/dist/lib/aisdk/types.d.ts +0 -3
  72. package/dist/lib/aisdk/types.d.ts.map +0 -1
  73. package/dist/lib/aisdk/types.js +0 -5
  74. package/dist/lib/aisdk/types.js.map +0 -1
  75. package/dist/lib/logger/index.d.ts +0 -22
  76. package/dist/lib/logger/index.d.ts.map +0 -1
  77. package/dist/lib/logger/index.js +0 -7
  78. package/dist/lib/logger/index.js.map +0 -1
  79. package/dist/lib/schema.d.ts +0 -43
  80. package/dist/lib/schema.d.ts.map +0 -1
  81. package/dist/lib/schema.js +0 -28
  82. package/dist/lib/schema.js.map +0 -1
  83. package/dist/mtgate_api/client/client.gen.d.ts +0 -3
  84. package/dist/mtgate_api/client/client.gen.d.ts.map +0 -1
  85. package/dist/mtgate_api/client/client.gen.js +0 -236
  86. package/dist/mtgate_api/client/client.gen.js.map +0 -1
  87. package/dist/mtgate_api/client/index.d.ts +0 -9
  88. package/dist/mtgate_api/client/index.d.ts.map +0 -1
  89. package/dist/mtgate_api/client/index.js +0 -7
  90. package/dist/mtgate_api/client/index.js.map +0 -1
  91. package/dist/mtgate_api/client/types.gen.d.ts +0 -118
  92. package/dist/mtgate_api/client/types.gen.d.ts.map +0 -1
  93. package/dist/mtgate_api/client/types.gen.js +0 -3
  94. package/dist/mtgate_api/client/types.gen.js.map +0 -1
  95. package/dist/mtgate_api/client/utils.gen.d.ts +0 -34
  96. package/dist/mtgate_api/client/utils.gen.d.ts.map +0 -1
  97. package/dist/mtgate_api/client/utils.gen.js +0 -232
  98. package/dist/mtgate_api/client/utils.gen.js.map +0 -1
  99. package/dist/mtgate_api/client.gen.d.ts +0 -13
  100. package/dist/mtgate_api/client.gen.d.ts.map +0 -1
  101. package/dist/mtgate_api/client.gen.js +0 -4
  102. package/dist/mtgate_api/client.gen.js.map +0 -1
  103. package/dist/mtgate_api/core/auth.gen.d.ts +0 -19
  104. package/dist/mtgate_api/core/auth.gen.d.ts.map +0 -1
  105. package/dist/mtgate_api/core/auth.gen.js +0 -15
  106. package/dist/mtgate_api/core/auth.gen.js.map +0 -1
  107. package/dist/mtgate_api/core/bodySerializer.gen.d.ts +0 -26
  108. package/dist/mtgate_api/core/bodySerializer.gen.d.ts.map +0 -1
  109. package/dist/mtgate_api/core/bodySerializer.gen.js +0 -58
  110. package/dist/mtgate_api/core/bodySerializer.gen.js.map +0 -1
  111. package/dist/mtgate_api/core/params.gen.d.ts +0 -44
  112. package/dist/mtgate_api/core/params.gen.d.ts.map +0 -1
  113. package/dist/mtgate_api/core/params.gen.js +0 -101
  114. package/dist/mtgate_api/core/params.gen.js.map +0 -1
  115. package/dist/mtgate_api/core/pathSerializer.gen.d.ts +0 -34
  116. package/dist/mtgate_api/core/pathSerializer.gen.d.ts.map +0 -1
  117. package/dist/mtgate_api/core/pathSerializer.gen.js +0 -115
  118. package/dist/mtgate_api/core/pathSerializer.gen.js.map +0 -1
  119. package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts +0 -19
  120. package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts.map +0 -1
  121. package/dist/mtgate_api/core/queryKeySerializer.gen.js +0 -100
  122. package/dist/mtgate_api/core/queryKeySerializer.gen.js.map +0 -1
  123. package/dist/mtgate_api/core/serverSentEvents.gen.d.ts +0 -72
  124. package/dist/mtgate_api/core/serverSentEvents.gen.d.ts.map +0 -1
  125. package/dist/mtgate_api/core/serverSentEvents.gen.js +0 -138
  126. package/dist/mtgate_api/core/serverSentEvents.gen.js.map +0 -1
  127. package/dist/mtgate_api/core/types.gen.d.ts +0 -79
  128. package/dist/mtgate_api/core/types.gen.d.ts.map +0 -1
  129. package/dist/mtgate_api/core/types.gen.js +0 -3
  130. package/dist/mtgate_api/core/types.gen.js.map +0 -1
  131. package/dist/mtgate_api/core/utils.gen.d.ts +0 -20
  132. package/dist/mtgate_api/core/utils.gen.d.ts.map +0 -1
  133. package/dist/mtgate_api/core/utils.gen.js +0 -88
  134. package/dist/mtgate_api/core/utils.gen.js.map +0 -1
  135. package/dist/mtgate_api/index.d.ts +0 -3
  136. package/dist/mtgate_api/index.d.ts.map +0 -1
  137. package/dist/mtgate_api/index.js +0 -3
  138. package/dist/mtgate_api/index.js.map +0 -1
  139. package/dist/mtgate_api/sdk.gen.d.ts +0 -15
  140. package/dist/mtgate_api/sdk.gen.d.ts.map +0 -1
  141. package/dist/mtgate_api/sdk.gen.js +0 -3
  142. package/dist/mtgate_api/sdk.gen.js.map +0 -1
  143. package/dist/mtgate_api/types.gen.d.ts +0 -4
  144. package/dist/mtgate_api/types.gen.d.ts.map +0 -1
  145. package/dist/mtgate_api/types.gen.js +0 -3
  146. package/dist/mtgate_api/types.gen.js.map +0 -1
  147. package/dist/openclaw/client-info.d.ts +0 -38
  148. package/dist/openclaw/client-info.d.ts.map +0 -1
  149. package/dist/openclaw/client-info.js +0 -38
  150. package/dist/openclaw/client-info.js.map +0 -1
  151. package/dist/openclaw/device-auth-utils.d.ts +0 -12
  152. package/dist/openclaw/device-auth-utils.d.ts.map +0 -1
  153. package/dist/openclaw/device-auth-utils.js +0 -16
  154. package/dist/openclaw/device-auth-utils.js.map +0 -1
  155. package/dist/openclaw/device-auth.d.ts +0 -21
  156. package/dist/openclaw/device-auth.d.ts.map +0 -1
  157. package/dist/openclaw/device-auth.js +0 -87
  158. package/dist/openclaw/device-auth.js.map +0 -1
  159. package/dist/openclaw/device-identity.d.ts +0 -8
  160. package/dist/openclaw/device-identity.d.ts.map +0 -1
  161. package/dist/openclaw/device-identity.js +0 -87
  162. package/dist/openclaw/device-identity.js.map +0 -1
  163. package/dist/openclaw/gateway.d.ts +0 -100
  164. package/dist/openclaw/gateway.d.ts.map +0 -1
  165. package/dist/openclaw/gateway.js +0 -302
  166. package/dist/openclaw/gateway.js.map +0 -1
  167. package/dist/openclaw/types.d.ts +0 -473
  168. package/dist/openclaw/types.d.ts.map +0 -1
  169. package/dist/openclaw/types.js +0 -2
  170. package/dist/openclaw/types.js.map +0 -1
  171. package/src/cloud-account/platform-configs.ts +0 -73
  172. package/src/gomtmapi/@tanstack/react-query.gen.ts +0 -537
  173. package/src/gomtmapi/client/client.gen.ts +0 -311
  174. package/src/gomtmapi/client/index.ts +0 -25
  175. package/src/gomtmapi/client/types.gen.ts +0 -241
  176. package/src/gomtmapi/client/utils.gen.ts +0 -332
  177. package/src/gomtmapi/client.gen.ts +0 -16
  178. package/src/gomtmapi/core/auth.gen.ts +0 -42
  179. package/src/gomtmapi/core/bodySerializer.gen.ts +0 -100
  180. package/src/gomtmapi/core/params.gen.ts +0 -176
  181. package/src/gomtmapi/core/pathSerializer.gen.ts +0 -181
  182. package/src/gomtmapi/core/queryKeySerializer.gen.ts +0 -136
  183. package/src/gomtmapi/core/serverSentEvents.gen.ts +0 -266
  184. package/src/gomtmapi/core/types.gen.ts +0 -118
  185. package/src/gomtmapi/core/utils.gen.ts +0 -143
  186. package/src/gomtmapi/index.ts +0 -4
  187. package/src/gomtmapi/schemas.gen.ts +0 -532
  188. package/src/gomtmapi/sdk.gen.ts +0 -371
  189. package/src/gomtmapi/types.gen.ts +0 -854
  190. package/src/gomtmapi/zod.gen.ts +0 -448
  191. package/src/index.ts +0 -4
  192. package/src/lib/aisdk/types.ts +0 -8
  193. package/src/lib/logger/index.ts +0 -8
  194. package/src/lib/schema.ts +0 -37
  195. package/src/mtgate_api/client/client.gen.ts +0 -311
  196. package/src/mtgate_api/client/index.ts +0 -25
  197. package/src/mtgate_api/client/types.gen.ts +0 -241
  198. package/src/mtgate_api/client/utils.gen.ts +0 -332
  199. package/src/mtgate_api/client.gen.ts +0 -16
  200. package/src/mtgate_api/core/auth.gen.ts +0 -42
  201. package/src/mtgate_api/core/bodySerializer.gen.ts +0 -100
  202. package/src/mtgate_api/core/params.gen.ts +0 -176
  203. package/src/mtgate_api/core/pathSerializer.gen.ts +0 -181
  204. package/src/mtgate_api/core/queryKeySerializer.gen.ts +0 -136
  205. package/src/mtgate_api/core/serverSentEvents.gen.ts +0 -266
  206. package/src/mtgate_api/core/types.gen.ts +0 -118
  207. package/src/mtgate_api/core/utils.gen.ts +0 -143
  208. package/src/mtgate_api/index.ts +0 -4
  209. package/src/mtgate_api/sdk.gen.ts +0 -17
  210. package/src/mtgate_api/types.gen.ts +0 -5
  211. package/src/openclaw/client-info.ts +0 -54
  212. package/src/openclaw/device-auth-utils.ts +0 -26
  213. package/src/openclaw/device-auth.ts +0 -99
  214. package/src/openclaw/device-identity.ts +0 -108
  215. package/src/openclaw/gateway.ts +0 -392
  216. package/src/openclaw/types.ts +0 -518
  217. package/src/sbmng/@tanstack/react-query.gen.ts +0 -2967
  218. package/src/sbmng/client/client.gen.ts +0 -311
  219. package/src/sbmng/client/index.ts +0 -25
  220. package/src/sbmng/client/types.gen.ts +0 -241
  221. package/src/sbmng/client/utils.gen.ts +0 -332
  222. package/src/sbmng/client.gen.ts +0 -16
  223. package/src/sbmng/core/auth.gen.ts +0 -42
  224. package/src/sbmng/core/bodySerializer.gen.ts +0 -100
  225. package/src/sbmng/core/params.gen.ts +0 -176
  226. package/src/sbmng/core/pathSerializer.gen.ts +0 -181
  227. package/src/sbmng/core/queryKeySerializer.gen.ts +0 -136
  228. package/src/sbmng/core/serverSentEvents.gen.ts +0 -266
  229. package/src/sbmng/core/types.gen.ts +0 -118
  230. package/src/sbmng/core/utils.gen.ts +0 -143
  231. package/src/sbmng/index.ts +0 -4
  232. package/src/sbmng/schemas.gen.ts +0 -9671
  233. package/src/sbmng/sdk.gen.ts +0 -1755
  234. package/src/sbmng/types.gen.ts +0 -7886
  235. package/src/supabase/auth-provider.tsx +0 -67
  236. package/src/supabase/context.tsx +0 -51
  237. package/src/supabase/cursor-pagination.ts +0 -155
  238. package/src/supabase/schema/browser.ts +0 -45
  239. package/src/supabase/schema/index.ts +0 -25
  240. package/src/supabase/supabase-client.ts +0 -30
  241. package/src/supabase/supabase.ts +0 -67
  242. package/src/supabase/use-sb-query/build-query-opts.ts +0 -68
  243. package/src/supabase/use-sb-query/key.ts +0 -57
  244. package/src/supabase/use-sb-query/use-query.ts +0 -352
  245. package/src/supabase/use-sb-query/use-rpc-mutation.ts +0 -83
  246. package/src/supabase/use-sb-query/use-rpc-query.ts +0 -267
  247. package/src/supabase/utils.ts +0 -75
  248. package/src/types/database.schemas.ts +0 -4359
  249. package/src/types/database.types.ts +0 -4182
  250. package/src/types/index.ts +0 -85
@@ -310,7 +310,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
310
310
  target: string | null;
311
311
  updated_at: string;
312
312
  user_id: string;
313
- worker_id: string | null;
314
313
  };
315
314
  Insert: {
316
315
  config?: import("../types/database.types").Json | null;
@@ -322,7 +321,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
322
321
  target?: string | null;
323
322
  updated_at?: string;
324
323
  user_id: string;
325
- worker_id?: string | null;
326
324
  };
327
325
  Update: {
328
326
  config?: import("../types/database.types").Json | null;
@@ -334,15 +332,8 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
334
332
  target?: string | null;
335
333
  updated_at?: string;
336
334
  user_id?: string;
337
- worker_id?: string | null;
338
335
  };
339
- Relationships: [{
340
- foreignKeyName: "audit_projects_worker_id_fkey";
341
- columns: ["worker_id"];
342
- isOneToOne: false;
343
- referencedRelation: "servers";
344
- referencedColumns: ["id"];
345
- }];
336
+ Relationships: [];
346
337
  };
347
338
  audit_skills: {
348
339
  Row: {
@@ -569,39 +560,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
569
560
  };
570
561
  Relationships: [];
571
562
  };
572
- cleanup_policies: {
573
- Row: {
574
- cleanup_function: string;
575
- created_at: string;
576
- enabled: boolean;
577
- id: string;
578
- policy_name: string;
579
- retention_days: number;
580
- table_name: string;
581
- updated_at: string;
582
- };
583
- Insert: {
584
- cleanup_function: string;
585
- created_at?: string;
586
- enabled?: boolean;
587
- id?: string;
588
- policy_name: string;
589
- retention_days?: number;
590
- table_name: string;
591
- updated_at?: string;
592
- };
593
- Update: {
594
- cleanup_function?: string;
595
- created_at?: string;
596
- enabled?: boolean;
597
- id?: string;
598
- policy_name?: string;
599
- retention_days?: number;
600
- table_name?: string;
601
- updated_at?: string;
602
- };
603
- Relationships: [];
604
- };
605
563
  cloud_accounts: {
606
564
  Row: {
607
565
  access_token: string | null;
@@ -698,48 +656,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
698
656
  };
699
657
  Relationships: [];
700
658
  };
701
- compute_nodes: {
702
- Row: {
703
- auth_secret: string | null;
704
- created_at: string;
705
- host: string;
706
- id: string;
707
- is_public: boolean | null;
708
- name: string;
709
- port: number;
710
- provider: string;
711
- updated_at: string;
712
- user_id: string;
713
- username: string | null;
714
- };
715
- Insert: {
716
- auth_secret?: string | null;
717
- created_at?: string;
718
- host: string;
719
- id?: string;
720
- is_public?: boolean | null;
721
- name: string;
722
- port?: number;
723
- provider?: string;
724
- updated_at?: string;
725
- user_id?: string;
726
- username?: string | null;
727
- };
728
- Update: {
729
- auth_secret?: string | null;
730
- created_at?: string;
731
- host?: string;
732
- id?: string;
733
- is_public?: boolean | null;
734
- name?: string;
735
- port?: number;
736
- provider?: string;
737
- updated_at?: string;
738
- user_id?: string;
739
- username?: string | null;
740
- };
741
- Relationships: [];
742
- };
743
659
  contacts: {
744
660
  Row: {
745
661
  created_at: string;
@@ -914,60 +830,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
914
830
  referencedColumns: ["id"];
915
831
  }];
916
832
  };
917
- openclaws: {
918
- Row: {
919
- config: import("../types/database.types").Json;
920
- created_at: string;
921
- desired_status: Database["public"]["Enums"]["openclaw_status"];
922
- id: string;
923
- metadata: import("../types/database.types").Json | null;
924
- name: string | null;
925
- resolved_config: import("../types/database.types").Json;
926
- server_id: string | null;
927
- state: import("../types/database.types").Json | null;
928
- status: Database["public"]["Enums"]["openclaw_status"];
929
- status_reason: string | null;
930
- updated_at: string;
931
- user_id: string;
932
- };
933
- Insert: {
934
- config?: import("../types/database.types").Json;
935
- created_at?: string;
936
- desired_status?: Database["public"]["Enums"]["openclaw_status"];
937
- id?: string;
938
- metadata?: import("../types/database.types").Json | null;
939
- name?: string | null;
940
- resolved_config?: import("../types/database.types").Json;
941
- server_id?: string | null;
942
- state?: import("../types/database.types").Json | null;
943
- status?: Database["public"]["Enums"]["openclaw_status"];
944
- status_reason?: string | null;
945
- updated_at?: string;
946
- user_id?: string;
947
- };
948
- Update: {
949
- config?: import("../types/database.types").Json;
950
- created_at?: string;
951
- desired_status?: Database["public"]["Enums"]["openclaw_status"];
952
- id?: string;
953
- metadata?: import("../types/database.types").Json | null;
954
- name?: string | null;
955
- resolved_config?: import("../types/database.types").Json;
956
- server_id?: string | null;
957
- state?: import("../types/database.types").Json | null;
958
- status?: Database["public"]["Enums"]["openclaw_status"];
959
- status_reason?: string | null;
960
- updated_at?: string;
961
- user_id?: string;
962
- };
963
- Relationships: [{
964
- foreignKeyName: "openclaws_server_id_fkey";
965
- columns: ["server_id"];
966
- isOneToOne: false;
967
- referencedRelation: "servers";
968
- referencedColumns: ["id"];
969
- }];
970
- };
971
833
  outreach_messages: {
972
834
  Row: {
973
835
  content: string | null;
@@ -1928,7 +1790,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
1928
1790
  target: string;
1929
1791
  updated_at: string;
1930
1792
  user_id: string;
1931
- worker_id: string;
1932
1793
  }[];
1933
1794
  };
1934
1795
  audit_project_list: {
@@ -1947,7 +1808,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
1947
1808
  target: string;
1948
1809
  updated_at: string;
1949
1810
  user_id: string;
1950
- worker_id: string;
1951
1811
  }[];
1952
1812
  };
1953
1813
  audit_project_list_cursor: {
@@ -1967,7 +1827,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
1967
1827
  target: string;
1968
1828
  updated_at: string;
1969
1829
  user_id: string;
1970
- worker_id: string;
1971
1830
  }[];
1972
1831
  };
1973
1832
  audit_project_upsert: {
@@ -1978,7 +1837,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
1978
1837
  p_repo_branch?: string;
1979
1838
  p_repo_url?: string;
1980
1839
  p_target?: string;
1981
- p_worker_id?: string;
1982
1840
  };
1983
1841
  Returns: {
1984
1842
  config: import("../types/database.types").Json;
@@ -1990,7 +1848,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
1990
1848
  target: string;
1991
1849
  updated_at: string;
1992
1850
  user_id: string;
1993
- worker_id: string;
1994
1851
  }[];
1995
1852
  };
1996
1853
  audit_skill_list: {
@@ -2483,86 +2340,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
2483
2340
  };
2484
2341
  Returns: import("../types/database.types").Json;
2485
2342
  };
2486
- compute_node_delete: {
2487
- Args: {
2488
- p_id: string;
2489
- };
2490
- Returns: undefined;
2491
- };
2492
- compute_node_get: {
2493
- Args: {
2494
- p_id?: string;
2495
- p_user_id?: string;
2496
- };
2497
- Returns: {
2498
- auth_secret: string;
2499
- created_at: string;
2500
- host: string;
2501
- id: string;
2502
- is_public: boolean;
2503
- name: string;
2504
- port: number;
2505
- provider: string;
2506
- updated_at: string;
2507
- user_id: string;
2508
- username: string;
2509
- }[];
2510
- };
2511
- compute_node_get_secret: {
2512
- Args: {
2513
- target_id: string;
2514
- };
2515
- Returns: {
2516
- auth_secret: string;
2517
- host: string;
2518
- port: number;
2519
- username: string;
2520
- }[];
2521
- };
2522
- compute_node_list: {
2523
- Args: {
2524
- p_user_id?: string;
2525
- };
2526
- Returns: {
2527
- auth_secret: string;
2528
- created_at: string;
2529
- host: string;
2530
- id: string;
2531
- is_public: boolean;
2532
- name: string;
2533
- port: number;
2534
- provider: string;
2535
- updated_at: string;
2536
- user_id: string;
2537
- username: string;
2538
- }[];
2539
- };
2540
- compute_node_upsert: {
2541
- Args: {
2542
- p_auth_secret?: string;
2543
- p_host?: string;
2544
- p_id?: string;
2545
- p_is_public?: boolean;
2546
- p_name?: string;
2547
- p_port?: number;
2548
- p_provider?: string;
2549
- p_username?: string;
2550
- p_worker_count?: number;
2551
- };
2552
- Returns: {
2553
- auth_secret: string;
2554
- created_at: string;
2555
- host: string;
2556
- id: string;
2557
- is_public: boolean;
2558
- name: string;
2559
- port: number;
2560
- provider: string;
2561
- updated_at: string;
2562
- user_id: string;
2563
- username: string;
2564
- }[];
2565
- };
2566
2343
  compute_server_public_url: {
2567
2344
  Args: {
2568
2345
  p_server_id: string;
@@ -2722,12 +2499,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
2722
2499
  };
2723
2500
  Returns: string;
2724
2501
  };
2725
- get_worker_subdomain: {
2726
- Args: {
2727
- p_worker_id: string;
2728
- };
2729
- Returns: string;
2730
- };
2731
2502
  github_list_installation_repos: {
2732
2503
  Args: never;
2733
2504
  Returns: import("../types/database.types").Json;
@@ -2874,13 +2645,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
2874
2645
  };
2875
2646
  Returns: import("../types/database.types").Json;
2876
2647
  };
2877
- install_script: {
2878
- Args: {
2879
- p_instance_id?: string;
2880
- p_version?: string;
2881
- };
2882
- Returns: string;
2883
- };
2884
2648
  instance_tag_add: {
2885
2649
  Args: {
2886
2650
  p_instance_id: string;
@@ -3010,28 +2774,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
3010
2774
  };
3011
2775
  Returns: number;
3012
2776
  };
3013
- notification_get_pending_actions: {
3014
- Args: never;
3015
- Returns: {
3016
- action_completed_at: string;
3017
- action_payload: import("../types/database.types").Json;
3018
- action_type: string;
3019
- created_at: string;
3020
- dismissed_at: string;
3021
- expires_at: string;
3022
- id: string;
3023
- is_read: boolean;
3024
- message: string;
3025
- notification_type: string;
3026
- priority: string;
3027
- read_at: string;
3028
- source_id: string;
3029
- source_type: string;
3030
- title: string;
3031
- updated_at: string;
3032
- user_id: string;
3033
- }[];
3034
- };
3035
2777
  notification_list: {
3036
2778
  Args: {
3037
2779
  p_action_type?: string;
@@ -3068,267 +2810,90 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
3068
2810
  };
3069
2811
  Returns: number;
3070
2812
  };
3071
- openclaw_assign_server: {
3072
- Args: {
3073
- p_openclaw_id: string;
3074
- p_user_id: string;
3075
- };
3076
- Returns: string;
3077
- };
3078
- openclaw_build_config: {
3079
- Args: {
3080
- p_openclaw_id: string;
3081
- p_override_config?: import("../types/database.types").Json;
3082
- p_override_server_id?: string;
3083
- };
3084
- Returns: import("../types/database.types").Json;
3085
- };
3086
- openclaw_failover: {
2813
+ outreach_process_pending_tasks: {
3087
2814
  Args: {
3088
- p_server_id: string;
2815
+ p_campaign_id?: string;
2816
+ p_limit?: number;
3089
2817
  };
3090
- Returns: undefined;
2818
+ Returns: number;
3091
2819
  };
3092
- openclaw_metadata_apply_action_contract: {
2820
+ outreach_process_pending_tasks_sync: {
3093
2821
  Args: {
3094
- p_action_status: string;
3095
- p_completed_at?: string;
3096
- p_debug_action: string;
3097
- p_delete_pending?: boolean;
3098
- p_message?: string;
3099
- p_metadata: import("../types/database.types").Json;
3100
- p_requested_at?: string;
3101
- p_user_action: string;
2822
+ p_campaign_id?: string;
2823
+ p_limit?: number;
3102
2824
  };
3103
- Returns: import("../types/database.types").Json;
2825
+ Returns: number;
3104
2826
  };
3105
- openclaw_reconcile_due: {
2827
+ outreach_retry_failed_tasks: {
3106
2828
  Args: {
3107
- p_limit?: number;
2829
+ p_campaign_id?: string;
3108
2830
  };
3109
2831
  Returns: number;
3110
2832
  };
3111
- openclaw_reconcile_one: {
2833
+ outreach_task_list: {
3112
2834
  Args: {
3113
- p_openclaw_id: string;
2835
+ p_campaign_id?: string;
2836
+ p_limit?: number;
2837
+ p_status?: string;
3114
2838
  };
3115
2839
  Returns: {
3116
- config: import("../types/database.types").Json;
2840
+ campaign_id: string;
2841
+ cloud_account_id: string;
2842
+ contact_id: string;
3117
2843
  created_at: string;
3118
- desired_status: Database["public"]["Enums"]["openclaw_status"];
2844
+ error_message: string;
2845
+ executed_at: string;
3119
2846
  id: string;
3120
- metadata: import("../types/database.types").Json | null;
3121
- name: string | null;
3122
- resolved_config: import("../types/database.types").Json;
3123
- server_id: string | null;
3124
- state: import("../types/database.types").Json | null;
3125
- status: Database["public"]["Enums"]["openclaw_status"];
3126
- status_reason: string | null;
2847
+ metadata: import("../types/database.types").Json;
2848
+ priority: number;
2849
+ retry_count: number;
2850
+ scheduled_at: string;
2851
+ status: string;
3127
2852
  updated_at: string;
3128
2853
  user_id: string;
3129
- };
3130
- SetofOptions: {
3131
- from: "*";
3132
- to: "openclaws";
3133
- isOneToOne: true;
3134
- isSetofReturn: false;
3135
- };
2854
+ }[];
3136
2855
  };
3137
- openclaw_refresh_resolved_config: {
2856
+ proxy_delete: {
3138
2857
  Args: {
3139
- p_openclaw_id: string;
3140
- p_override_config?: import("../types/database.types").Json;
3141
- p_override_server_id?: string;
2858
+ p_id: string;
3142
2859
  };
3143
- Returns: import("../types/database.types").Json;
2860
+ Returns: boolean;
3144
2861
  };
3145
- openclaws_delete: {
2862
+ proxy_get: {
3146
2863
  Args: {
3147
2864
  p_id: string;
3148
2865
  };
3149
2866
  Returns: {
3150
- config: import("../types/database.types").Json;
3151
2867
  created_at: string;
3152
- desired_status: Database["public"]["Enums"]["openclaw_status"];
2868
+ description: string;
2869
+ enabled: boolean;
3153
2870
  id: string;
3154
- metadata: import("../types/database.types").Json;
3155
2871
  name: string;
3156
- server_id: string;
3157
- state: import("../types/database.types").Json;
3158
- status: Database["public"]["Enums"]["openclaw_status"];
3159
- status_reason: string;
2872
+ type: string;
3160
2873
  updated_at: string;
2874
+ url: string;
3161
2875
  user_id: string;
3162
2876
  }[];
3163
2877
  };
3164
- openclaws_get: {
2878
+ proxy_list: {
3165
2879
  Args: {
3166
- p_id: string;
2880
+ p_kw?: string;
2881
+ p_page_no?: number;
2882
+ p_page_size?: number;
3167
2883
  };
3168
2884
  Returns: {
3169
- config: import("../types/database.types").Json;
3170
2885
  created_at: string;
3171
- desired_status: Database["public"]["Enums"]["openclaw_status"];
2886
+ description: string;
2887
+ enabled: boolean;
3172
2888
  id: string;
3173
- metadata: import("../types/database.types").Json;
3174
2889
  name: string;
3175
- server_id: string;
3176
- state: import("../types/database.types").Json;
3177
- status: Database["public"]["Enums"]["openclaw_status"];
3178
- status_reason: string;
2890
+ type: string;
3179
2891
  updated_at: string;
2892
+ url: string;
3180
2893
  user_id: string;
3181
2894
  }[];
3182
2895
  };
3183
- openclaws_list_cursor: {
3184
- Args: {
3185
- p_cursor?: string;
3186
- p_limit?: number;
3187
- p_search?: string;
3188
- p_status?: Database["public"]["Enums"]["openclaw_status"];
3189
- };
3190
- Returns: {
3191
- config: import("../types/database.types").Json;
3192
- created_at: string;
3193
- desired_status: Database["public"]["Enums"]["openclaw_status"];
3194
- id: string;
3195
- metadata: import("../types/database.types").Json;
3196
- name: string;
3197
- server_id: string;
3198
- state: import("../types/database.types").Json;
3199
- status: Database["public"]["Enums"]["openclaw_status"];
3200
- status_reason: string;
3201
- updated_at: string;
3202
- user_id: string;
3203
- }[];
3204
- };
3205
- openclaws_request_action: {
3206
- Args: {
3207
- p_action: string;
3208
- p_id: string;
3209
- };
3210
- Returns: {
3211
- config: import("../types/database.types").Json;
3212
- created_at: string;
3213
- desired_status: Database["public"]["Enums"]["openclaw_status"];
3214
- id: string;
3215
- metadata: import("../types/database.types").Json;
3216
- name: string;
3217
- server_id: string;
3218
- state: import("../types/database.types").Json;
3219
- status: Database["public"]["Enums"]["openclaw_status"];
3220
- status_reason: string;
3221
- updated_at: string;
3222
- user_id: string;
3223
- }[];
3224
- };
3225
- openclaws_upsert: {
3226
- Args: {
3227
- p_config?: import("../types/database.types").Json;
3228
- p_id?: string;
3229
- p_metadata?: import("../types/database.types").Json;
3230
- p_name?: string;
3231
- };
3232
- Returns: {
3233
- config: import("../types/database.types").Json;
3234
- created_at: string;
3235
- desired_status: Database["public"]["Enums"]["openclaw_status"];
3236
- id: string;
3237
- metadata: import("../types/database.types").Json;
3238
- name: string;
3239
- server_id: string;
3240
- state: import("../types/database.types").Json;
3241
- status: Database["public"]["Enums"]["openclaw_status"];
3242
- status_reason: string;
3243
- updated_at: string;
3244
- user_id: string;
3245
- }[];
3246
- };
3247
- outreach_process_pending_tasks: {
3248
- Args: {
3249
- p_campaign_id?: string;
3250
- p_limit?: number;
3251
- };
3252
- Returns: number;
3253
- };
3254
- outreach_process_pending_tasks_sync: {
3255
- Args: {
3256
- p_campaign_id?: string;
3257
- p_limit?: number;
3258
- };
3259
- Returns: number;
3260
- };
3261
- outreach_retry_failed_tasks: {
3262
- Args: {
3263
- p_campaign_id?: string;
3264
- };
3265
- Returns: number;
3266
- };
3267
- outreach_task_list: {
3268
- Args: {
3269
- p_campaign_id?: string;
3270
- p_limit?: number;
3271
- p_offset?: number;
3272
- p_status?: string;
3273
- };
3274
- Returns: {
3275
- campaign_id: string;
3276
- cloud_account_id: string;
3277
- contact_id: string;
3278
- created_at: string;
3279
- error_message: string;
3280
- executed_at: string;
3281
- id: string;
3282
- metadata: import("../types/database.types").Json;
3283
- priority: number;
3284
- retry_count: number;
3285
- scheduled_at: string;
3286
- status: string;
3287
- updated_at: string;
3288
- user_id: string;
3289
- }[];
3290
- };
3291
- proxy_delete: {
3292
- Args: {
3293
- p_id: string;
3294
- };
3295
- Returns: boolean;
3296
- };
3297
- proxy_get: {
3298
- Args: {
3299
- p_id: string;
3300
- };
3301
- Returns: {
3302
- created_at: string;
3303
- description: string;
3304
- enabled: boolean;
3305
- id: string;
3306
- name: string;
3307
- type: string;
3308
- updated_at: string;
3309
- url: string;
3310
- user_id: string;
3311
- }[];
3312
- };
3313
- proxy_list: {
3314
- Args: {
3315
- p_kw?: string;
3316
- p_page_no?: number;
3317
- p_page_size?: number;
3318
- };
3319
- Returns: {
3320
- created_at: string;
3321
- description: string;
3322
- enabled: boolean;
3323
- id: string;
3324
- name: string;
3325
- type: string;
3326
- updated_at: string;
3327
- url: string;
3328
- user_id: string;
3329
- }[];
3330
- };
3331
- proxy_upsert: {
2896
+ proxy_upsert: {
3332
2897
  Args: {
3333
2898
  p_description?: string;
3334
2899
  p_enabled?: boolean;
@@ -3364,9 +2929,7 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
3364
2929
  resource_list: {
3365
2930
  Args: {
3366
2931
  p_kw?: string;
3367
- p_page_num?: number;
3368
2932
  p_page_size?: number;
3369
- p_slug?: string;
3370
2933
  p_type?: string;
3371
2934
  };
3372
2935
  Returns: {
@@ -3377,7 +2940,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
3377
2940
  title: string;
3378
2941
  type: string;
3379
2942
  updated_at: string;
3380
- url: string;
3381
2943
  }[];
3382
2944
  };
3383
2945
  resource_upsert: {
@@ -3424,13 +2986,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
3424
2986
  };
3425
2987
  Returns: import("../types/database.types").Json;
3426
2988
  };
3427
- server_bootstrap_script_get: {
3428
- Args: {
3429
- p_callback_token: string;
3430
- p_server_id: string;
3431
- };
3432
- Returns: string;
3433
- };
3434
2989
  server_delete: {
3435
2990
  Args: {
3436
2991
  p_id: string;
@@ -3450,21 +3005,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
3450
3005
  updated_at: string;
3451
3006
  }[];
3452
3007
  };
3453
- server_lifecycle_context_get: {
3454
- Args: {
3455
- p_action?: string;
3456
- p_id: string;
3457
- };
3458
- Returns: import("../types/database.types").Json;
3459
- };
3460
- server_lifecycle_result_report: {
3461
- Args: {
3462
- p_action: string;
3463
- p_id: string;
3464
- p_result: import("../types/database.types").Json;
3465
- };
3466
- Returns: import("../types/database.types").Json;
3467
- };
3468
3008
  server_list_cursor: {
3469
3009
  Args: {
3470
3010
  p_cursor_id?: string;
@@ -3494,14 +3034,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
3494
3034
  };
3495
3035
  Returns: import("../types/database.types").Json;
3496
3036
  };
3497
- server_status_apply_callback: {
3498
- Args: {
3499
- p_callback_token: string;
3500
- p_payload: import("../types/database.types").Json;
3501
- p_server_id: string;
3502
- };
3503
- Returns: import("../types/database.types").Json;
3504
- };
3505
3037
  server_status_merge: {
3506
3038
  Args: {
3507
3039
  p_current_state: import("../types/database.types").Json;
@@ -3535,7 +3067,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
3535
3067
  };
3536
3068
  server_upsert: {
3537
3069
  Args: {
3538
- p_compute_node_id?: string;
3539
3070
  p_config?: import("../types/database.types").Json;
3540
3071
  p_id?: string;
3541
3072
  p_state?: import("../types/database.types").Json;
@@ -4247,7 +3778,6 @@ export declare const getSupabase: (c: Context) => import("@supabase/supabase-js"
4247
3778
  chat_role: "system" | "user" | "assistant" | "model" | "error" | "tool";
4248
3779
  chat_visibility: "private" | "public";
4249
3780
  cloud_account_status: "pending" | "active" | "token_expired" | "needs_reauth" | "quota_exceeded" | "suspended" | "disabled";
4250
- openclaw_status: "disabled" | "pending" | "starting" | "running" | "stopping" | "stopped" | "error" | "migrating";
4251
3781
  sys_log_level: "error" | "warn" | "info";
4252
3782
  task_code_type: "sql" | "bash" | "python" | "agent" | "javascript";
4253
3783
  task_status: "draft" | "pending" | "queued" | "running" | "completed" | "failed" | "cancelled" | "paused";
@@ -4623,7 +4153,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
4623
4153
  target: string | null;
4624
4154
  updated_at: string;
4625
4155
  user_id: string;
4626
- worker_id: string | null;
4627
4156
  };
4628
4157
  Insert: {
4629
4158
  config?: import("../types/database.types").Json | null;
@@ -4635,7 +4164,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
4635
4164
  target?: string | null;
4636
4165
  updated_at?: string;
4637
4166
  user_id: string;
4638
- worker_id?: string | null;
4639
4167
  };
4640
4168
  Update: {
4641
4169
  config?: import("../types/database.types").Json | null;
@@ -4647,15 +4175,8 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
4647
4175
  target?: string | null;
4648
4176
  updated_at?: string;
4649
4177
  user_id?: string;
4650
- worker_id?: string | null;
4651
4178
  };
4652
- Relationships: [{
4653
- foreignKeyName: "audit_projects_worker_id_fkey";
4654
- columns: ["worker_id"];
4655
- isOneToOne: false;
4656
- referencedRelation: "servers";
4657
- referencedColumns: ["id"];
4658
- }];
4179
+ Relationships: [];
4659
4180
  };
4660
4181
  audit_skills: {
4661
4182
  Row: {
@@ -4882,39 +4403,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
4882
4403
  };
4883
4404
  Relationships: [];
4884
4405
  };
4885
- cleanup_policies: {
4886
- Row: {
4887
- cleanup_function: string;
4888
- created_at: string;
4889
- enabled: boolean;
4890
- id: string;
4891
- policy_name: string;
4892
- retention_days: number;
4893
- table_name: string;
4894
- updated_at: string;
4895
- };
4896
- Insert: {
4897
- cleanup_function: string;
4898
- created_at?: string;
4899
- enabled?: boolean;
4900
- id?: string;
4901
- policy_name: string;
4902
- retention_days?: number;
4903
- table_name: string;
4904
- updated_at?: string;
4905
- };
4906
- Update: {
4907
- cleanup_function?: string;
4908
- created_at?: string;
4909
- enabled?: boolean;
4910
- id?: string;
4911
- policy_name?: string;
4912
- retention_days?: number;
4913
- table_name?: string;
4914
- updated_at?: string;
4915
- };
4916
- Relationships: [];
4917
- };
4918
4406
  cloud_accounts: {
4919
4407
  Row: {
4920
4408
  access_token: string | null;
@@ -5011,48 +4499,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
5011
4499
  };
5012
4500
  Relationships: [];
5013
4501
  };
5014
- compute_nodes: {
5015
- Row: {
5016
- auth_secret: string | null;
5017
- created_at: string;
5018
- host: string;
5019
- id: string;
5020
- is_public: boolean | null;
5021
- name: string;
5022
- port: number;
5023
- provider: string;
5024
- updated_at: string;
5025
- user_id: string;
5026
- username: string | null;
5027
- };
5028
- Insert: {
5029
- auth_secret?: string | null;
5030
- created_at?: string;
5031
- host: string;
5032
- id?: string;
5033
- is_public?: boolean | null;
5034
- name: string;
5035
- port?: number;
5036
- provider?: string;
5037
- updated_at?: string;
5038
- user_id?: string;
5039
- username?: string | null;
5040
- };
5041
- Update: {
5042
- auth_secret?: string | null;
5043
- created_at?: string;
5044
- host?: string;
5045
- id?: string;
5046
- is_public?: boolean | null;
5047
- name?: string;
5048
- port?: number;
5049
- provider?: string;
5050
- updated_at?: string;
5051
- user_id?: string;
5052
- username?: string | null;
5053
- };
5054
- Relationships: [];
5055
- };
5056
4502
  contacts: {
5057
4503
  Row: {
5058
4504
  created_at: string;
@@ -5227,60 +4673,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
5227
4673
  referencedColumns: ["id"];
5228
4674
  }];
5229
4675
  };
5230
- openclaws: {
5231
- Row: {
5232
- config: import("../types/database.types").Json;
5233
- created_at: string;
5234
- desired_status: Database["public"]["Enums"]["openclaw_status"];
5235
- id: string;
5236
- metadata: import("../types/database.types").Json | null;
5237
- name: string | null;
5238
- resolved_config: import("../types/database.types").Json;
5239
- server_id: string | null;
5240
- state: import("../types/database.types").Json | null;
5241
- status: Database["public"]["Enums"]["openclaw_status"];
5242
- status_reason: string | null;
5243
- updated_at: string;
5244
- user_id: string;
5245
- };
5246
- Insert: {
5247
- config?: import("../types/database.types").Json;
5248
- created_at?: string;
5249
- desired_status?: Database["public"]["Enums"]["openclaw_status"];
5250
- id?: string;
5251
- metadata?: import("../types/database.types").Json | null;
5252
- name?: string | null;
5253
- resolved_config?: import("../types/database.types").Json;
5254
- server_id?: string | null;
5255
- state?: import("../types/database.types").Json | null;
5256
- status?: Database["public"]["Enums"]["openclaw_status"];
5257
- status_reason?: string | null;
5258
- updated_at?: string;
5259
- user_id?: string;
5260
- };
5261
- Update: {
5262
- config?: import("../types/database.types").Json;
5263
- created_at?: string;
5264
- desired_status?: Database["public"]["Enums"]["openclaw_status"];
5265
- id?: string;
5266
- metadata?: import("../types/database.types").Json | null;
5267
- name?: string | null;
5268
- resolved_config?: import("../types/database.types").Json;
5269
- server_id?: string | null;
5270
- state?: import("../types/database.types").Json | null;
5271
- status?: Database["public"]["Enums"]["openclaw_status"];
5272
- status_reason?: string | null;
5273
- updated_at?: string;
5274
- user_id?: string;
5275
- };
5276
- Relationships: [{
5277
- foreignKeyName: "openclaws_server_id_fkey";
5278
- columns: ["server_id"];
5279
- isOneToOne: false;
5280
- referencedRelation: "servers";
5281
- referencedColumns: ["id"];
5282
- }];
5283
- };
5284
4676
  outreach_messages: {
5285
4677
  Row: {
5286
4678
  content: string | null;
@@ -6241,7 +5633,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
6241
5633
  target: string;
6242
5634
  updated_at: string;
6243
5635
  user_id: string;
6244
- worker_id: string;
6245
5636
  }[];
6246
5637
  };
6247
5638
  audit_project_list: {
@@ -6260,7 +5651,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
6260
5651
  target: string;
6261
5652
  updated_at: string;
6262
5653
  user_id: string;
6263
- worker_id: string;
6264
5654
  }[];
6265
5655
  };
6266
5656
  audit_project_list_cursor: {
@@ -6280,7 +5670,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
6280
5670
  target: string;
6281
5671
  updated_at: string;
6282
5672
  user_id: string;
6283
- worker_id: string;
6284
5673
  }[];
6285
5674
  };
6286
5675
  audit_project_upsert: {
@@ -6291,7 +5680,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
6291
5680
  p_repo_branch?: string;
6292
5681
  p_repo_url?: string;
6293
5682
  p_target?: string;
6294
- p_worker_id?: string;
6295
5683
  };
6296
5684
  Returns: {
6297
5685
  config: import("../types/database.types").Json;
@@ -6303,7 +5691,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
6303
5691
  target: string;
6304
5692
  updated_at: string;
6305
5693
  user_id: string;
6306
- worker_id: string;
6307
5694
  }[];
6308
5695
  };
6309
5696
  audit_skill_list: {
@@ -6796,86 +6183,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
6796
6183
  };
6797
6184
  Returns: import("../types/database.types").Json;
6798
6185
  };
6799
- compute_node_delete: {
6800
- Args: {
6801
- p_id: string;
6802
- };
6803
- Returns: undefined;
6804
- };
6805
- compute_node_get: {
6806
- Args: {
6807
- p_id?: string;
6808
- p_user_id?: string;
6809
- };
6810
- Returns: {
6811
- auth_secret: string;
6812
- created_at: string;
6813
- host: string;
6814
- id: string;
6815
- is_public: boolean;
6816
- name: string;
6817
- port: number;
6818
- provider: string;
6819
- updated_at: string;
6820
- user_id: string;
6821
- username: string;
6822
- }[];
6823
- };
6824
- compute_node_get_secret: {
6825
- Args: {
6826
- target_id: string;
6827
- };
6828
- Returns: {
6829
- auth_secret: string;
6830
- host: string;
6831
- port: number;
6832
- username: string;
6833
- }[];
6834
- };
6835
- compute_node_list: {
6836
- Args: {
6837
- p_user_id?: string;
6838
- };
6839
- Returns: {
6840
- auth_secret: string;
6841
- created_at: string;
6842
- host: string;
6843
- id: string;
6844
- is_public: boolean;
6845
- name: string;
6846
- port: number;
6847
- provider: string;
6848
- updated_at: string;
6849
- user_id: string;
6850
- username: string;
6851
- }[];
6852
- };
6853
- compute_node_upsert: {
6854
- Args: {
6855
- p_auth_secret?: string;
6856
- p_host?: string;
6857
- p_id?: string;
6858
- p_is_public?: boolean;
6859
- p_name?: string;
6860
- p_port?: number;
6861
- p_provider?: string;
6862
- p_username?: string;
6863
- p_worker_count?: number;
6864
- };
6865
- Returns: {
6866
- auth_secret: string;
6867
- created_at: string;
6868
- host: string;
6869
- id: string;
6870
- is_public: boolean;
6871
- name: string;
6872
- port: number;
6873
- provider: string;
6874
- updated_at: string;
6875
- user_id: string;
6876
- username: string;
6877
- }[];
6878
- };
6879
6186
  compute_server_public_url: {
6880
6187
  Args: {
6881
6188
  p_server_id: string;
@@ -7035,12 +6342,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
7035
6342
  };
7036
6343
  Returns: string;
7037
6344
  };
7038
- get_worker_subdomain: {
7039
- Args: {
7040
- p_worker_id: string;
7041
- };
7042
- Returns: string;
7043
- };
7044
6345
  github_list_installation_repos: {
7045
6346
  Args: never;
7046
6347
  Returns: import("../types/database.types").Json;
@@ -7187,13 +6488,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
7187
6488
  };
7188
6489
  Returns: import("../types/database.types").Json;
7189
6490
  };
7190
- install_script: {
7191
- Args: {
7192
- p_instance_id?: string;
7193
- p_version?: string;
7194
- };
7195
- Returns: string;
7196
- };
7197
6491
  instance_tag_add: {
7198
6492
  Args: {
7199
6493
  p_instance_id: string;
@@ -7323,28 +6617,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
7323
6617
  };
7324
6618
  Returns: number;
7325
6619
  };
7326
- notification_get_pending_actions: {
7327
- Args: never;
7328
- Returns: {
7329
- action_completed_at: string;
7330
- action_payload: import("../types/database.types").Json;
7331
- action_type: string;
7332
- created_at: string;
7333
- dismissed_at: string;
7334
- expires_at: string;
7335
- id: string;
7336
- is_read: boolean;
7337
- message: string;
7338
- notification_type: string;
7339
- priority: string;
7340
- read_at: string;
7341
- source_id: string;
7342
- source_type: string;
7343
- title: string;
7344
- updated_at: string;
7345
- user_id: string;
7346
- }[];
7347
- };
7348
6620
  notification_list: {
7349
6621
  Args: {
7350
6622
  p_action_type?: string;
@@ -7381,182 +6653,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
7381
6653
  };
7382
6654
  Returns: number;
7383
6655
  };
7384
- openclaw_assign_server: {
7385
- Args: {
7386
- p_openclaw_id: string;
7387
- p_user_id: string;
7388
- };
7389
- Returns: string;
7390
- };
7391
- openclaw_build_config: {
7392
- Args: {
7393
- p_openclaw_id: string;
7394
- p_override_config?: import("../types/database.types").Json;
7395
- p_override_server_id?: string;
7396
- };
7397
- Returns: import("../types/database.types").Json;
7398
- };
7399
- openclaw_failover: {
7400
- Args: {
7401
- p_server_id: string;
7402
- };
7403
- Returns: undefined;
7404
- };
7405
- openclaw_metadata_apply_action_contract: {
7406
- Args: {
7407
- p_action_status: string;
7408
- p_completed_at?: string;
7409
- p_debug_action: string;
7410
- p_delete_pending?: boolean;
7411
- p_message?: string;
7412
- p_metadata: import("../types/database.types").Json;
7413
- p_requested_at?: string;
7414
- p_user_action: string;
7415
- };
7416
- Returns: import("../types/database.types").Json;
7417
- };
7418
- openclaw_reconcile_due: {
7419
- Args: {
7420
- p_limit?: number;
7421
- };
7422
- Returns: number;
7423
- };
7424
- openclaw_reconcile_one: {
7425
- Args: {
7426
- p_openclaw_id: string;
7427
- };
7428
- Returns: {
7429
- config: import("../types/database.types").Json;
7430
- created_at: string;
7431
- desired_status: Database["public"]["Enums"]["openclaw_status"];
7432
- id: string;
7433
- metadata: import("../types/database.types").Json | null;
7434
- name: string | null;
7435
- resolved_config: import("../types/database.types").Json;
7436
- server_id: string | null;
7437
- state: import("../types/database.types").Json | null;
7438
- status: Database["public"]["Enums"]["openclaw_status"];
7439
- status_reason: string | null;
7440
- updated_at: string;
7441
- user_id: string;
7442
- };
7443
- SetofOptions: {
7444
- from: "*";
7445
- to: "openclaws";
7446
- isOneToOne: true;
7447
- isSetofReturn: false;
7448
- };
7449
- };
7450
- openclaw_refresh_resolved_config: {
7451
- Args: {
7452
- p_openclaw_id: string;
7453
- p_override_config?: import("../types/database.types").Json;
7454
- p_override_server_id?: string;
7455
- };
7456
- Returns: import("../types/database.types").Json;
7457
- };
7458
- openclaws_delete: {
7459
- Args: {
7460
- p_id: string;
7461
- };
7462
- Returns: {
7463
- config: import("../types/database.types").Json;
7464
- created_at: string;
7465
- desired_status: Database["public"]["Enums"]["openclaw_status"];
7466
- id: string;
7467
- metadata: import("../types/database.types").Json;
7468
- name: string;
7469
- server_id: string;
7470
- state: import("../types/database.types").Json;
7471
- status: Database["public"]["Enums"]["openclaw_status"];
7472
- status_reason: string;
7473
- updated_at: string;
7474
- user_id: string;
7475
- }[];
7476
- };
7477
- openclaws_get: {
7478
- Args: {
7479
- p_id: string;
7480
- };
7481
- Returns: {
7482
- config: import("../types/database.types").Json;
7483
- created_at: string;
7484
- desired_status: Database["public"]["Enums"]["openclaw_status"];
7485
- id: string;
7486
- metadata: import("../types/database.types").Json;
7487
- name: string;
7488
- server_id: string;
7489
- state: import("../types/database.types").Json;
7490
- status: Database["public"]["Enums"]["openclaw_status"];
7491
- status_reason: string;
7492
- updated_at: string;
7493
- user_id: string;
7494
- }[];
7495
- };
7496
- openclaws_list_cursor: {
7497
- Args: {
7498
- p_cursor?: string;
7499
- p_limit?: number;
7500
- p_search?: string;
7501
- p_status?: Database["public"]["Enums"]["openclaw_status"];
7502
- };
7503
- Returns: {
7504
- config: import("../types/database.types").Json;
7505
- created_at: string;
7506
- desired_status: Database["public"]["Enums"]["openclaw_status"];
7507
- id: string;
7508
- metadata: import("../types/database.types").Json;
7509
- name: string;
7510
- server_id: string;
7511
- state: import("../types/database.types").Json;
7512
- status: Database["public"]["Enums"]["openclaw_status"];
7513
- status_reason: string;
7514
- updated_at: string;
7515
- user_id: string;
7516
- }[];
7517
- };
7518
- openclaws_request_action: {
7519
- Args: {
7520
- p_action: string;
7521
- p_id: string;
7522
- };
7523
- Returns: {
7524
- config: import("../types/database.types").Json;
7525
- created_at: string;
7526
- desired_status: Database["public"]["Enums"]["openclaw_status"];
7527
- id: string;
7528
- metadata: import("../types/database.types").Json;
7529
- name: string;
7530
- server_id: string;
7531
- state: import("../types/database.types").Json;
7532
- status: Database["public"]["Enums"]["openclaw_status"];
7533
- status_reason: string;
7534
- updated_at: string;
7535
- user_id: string;
7536
- }[];
7537
- };
7538
- openclaws_upsert: {
7539
- Args: {
7540
- p_config?: import("../types/database.types").Json;
7541
- p_id?: string;
7542
- p_metadata?: import("../types/database.types").Json;
7543
- p_name?: string;
7544
- };
7545
- Returns: {
7546
- config: import("../types/database.types").Json;
7547
- created_at: string;
7548
- desired_status: Database["public"]["Enums"]["openclaw_status"];
7549
- id: string;
7550
- metadata: import("../types/database.types").Json;
7551
- name: string;
7552
- server_id: string;
7553
- state: import("../types/database.types").Json;
7554
- status: Database["public"]["Enums"]["openclaw_status"];
7555
- status_reason: string;
7556
- updated_at: string;
7557
- user_id: string;
7558
- }[];
7559
- };
7560
6656
  outreach_process_pending_tasks: {
7561
6657
  Args: {
7562
6658
  p_campaign_id?: string;
@@ -7581,7 +6677,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
7581
6677
  Args: {
7582
6678
  p_campaign_id?: string;
7583
6679
  p_limit?: number;
7584
- p_offset?: number;
7585
6680
  p_status?: string;
7586
6681
  };
7587
6682
  Returns: {
@@ -7677,9 +6772,7 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
7677
6772
  resource_list: {
7678
6773
  Args: {
7679
6774
  p_kw?: string;
7680
- p_page_num?: number;
7681
6775
  p_page_size?: number;
7682
- p_slug?: string;
7683
6776
  p_type?: string;
7684
6777
  };
7685
6778
  Returns: {
@@ -7690,7 +6783,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
7690
6783
  title: string;
7691
6784
  type: string;
7692
6785
  updated_at: string;
7693
- url: string;
7694
6786
  }[];
7695
6787
  };
7696
6788
  resource_upsert: {
@@ -7737,13 +6829,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
7737
6829
  };
7738
6830
  Returns: import("../types/database.types").Json;
7739
6831
  };
7740
- server_bootstrap_script_get: {
7741
- Args: {
7742
- p_callback_token: string;
7743
- p_server_id: string;
7744
- };
7745
- Returns: string;
7746
- };
7747
6832
  server_delete: {
7748
6833
  Args: {
7749
6834
  p_id: string;
@@ -7763,21 +6848,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
7763
6848
  updated_at: string;
7764
6849
  }[];
7765
6850
  };
7766
- server_lifecycle_context_get: {
7767
- Args: {
7768
- p_action?: string;
7769
- p_id: string;
7770
- };
7771
- Returns: import("../types/database.types").Json;
7772
- };
7773
- server_lifecycle_result_report: {
7774
- Args: {
7775
- p_action: string;
7776
- p_id: string;
7777
- p_result: import("../types/database.types").Json;
7778
- };
7779
- Returns: import("../types/database.types").Json;
7780
- };
7781
6851
  server_list_cursor: {
7782
6852
  Args: {
7783
6853
  p_cursor_id?: string;
@@ -7807,14 +6877,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
7807
6877
  };
7808
6878
  Returns: import("../types/database.types").Json;
7809
6879
  };
7810
- server_status_apply_callback: {
7811
- Args: {
7812
- p_callback_token: string;
7813
- p_payload: import("../types/database.types").Json;
7814
- p_server_id: string;
7815
- };
7816
- Returns: import("../types/database.types").Json;
7817
- };
7818
6880
  server_status_merge: {
7819
6881
  Args: {
7820
6882
  p_current_state: import("../types/database.types").Json;
@@ -7848,7 +6910,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
7848
6910
  };
7849
6911
  server_upsert: {
7850
6912
  Args: {
7851
- p_compute_node_id?: string;
7852
6913
  p_config?: import("../types/database.types").Json;
7853
6914
  p_id?: string;
7854
6915
  p_state?: import("../types/database.types").Json;
@@ -8560,7 +7621,6 @@ export declare const getSupabaseAdmin: () => import("@supabase/supabase-js").Sup
8560
7621
  chat_role: "system" | "user" | "assistant" | "model" | "error" | "tool";
8561
7622
  chat_visibility: "private" | "public";
8562
7623
  cloud_account_status: "pending" | "active" | "token_expired" | "needs_reauth" | "quota_exceeded" | "suspended" | "disabled";
8563
- openclaw_status: "disabled" | "pending" | "starting" | "running" | "stopping" | "stopped" | "error" | "migrating";
8564
7624
  sys_log_level: "error" | "warn" | "info";
8565
7625
  task_code_type: "sql" | "bash" | "python" | "agent" | "javascript";
8566
7626
  task_status: "draft" | "pending" | "queued" | "running" | "completed" | "failed" | "cancelled" | "paused";