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
@@ -38,13 +38,15 @@ export const publicCloudAccountStatusSchema = z.enum([
38
38
  "disabled",
39
39
  ]);
40
40
 
41
- export const publicComputeNodeStatusSchema = z.enum(["online", "offline"]);
42
-
43
- export const publicServerStatusSchema = z.enum([
44
- "created",
45
- "online",
46
- "offline",
41
+ export const publicOpenclawStatusSchema = z.enum([
42
+ "disabled",
43
+ "pending",
44
+ "starting",
45
+ "running",
46
+ "stopping",
47
+ "stopped",
47
48
  "error",
49
+ "migrating",
48
50
  ]);
49
51
 
50
52
  export const publicSysLogLevelSchema = z.enum(["error", "warn", "info"]);
@@ -68,6 +70,15 @@ export const publicTaskStatusSchema = z.enum([
68
70
  "paused",
69
71
  ]);
70
72
 
73
+ export const publicTelegramLoginStateSchema = z.enum([
74
+ "idle",
75
+ "wait_code",
76
+ "need_2fa",
77
+ "wait_password",
78
+ "success",
79
+ "failed",
80
+ ]);
81
+
71
82
  export const publicTelegramLoginStepSchema = z.enum([
72
83
  "pending",
73
84
  "send_code",
@@ -311,42 +322,6 @@ export const publicAdkSessionsUpdateSchema = z.object({
311
322
  user_id: z.string().optional(),
312
323
  });
313
324
 
314
- export const publicAgentsRowSchema = z.object({
315
- config: jsonSchema.nullable(),
316
- created_at: z.string(),
317
- description: z.string().nullable(),
318
- id: z.string(),
319
- instruction: z.string().nullable(),
320
- max_step: z.number().nullable(),
321
- runtime: z.string().nullable(),
322
- tools: z.string().nullable(),
323
- updated_at: z.string(),
324
- });
325
-
326
- export const publicAgentsInsertSchema = z.object({
327
- config: jsonSchema.optional().nullable(),
328
- created_at: z.string().optional(),
329
- description: z.string().optional().nullable(),
330
- id: z.string(),
331
- instruction: z.string().optional().nullable(),
332
- max_step: z.number().optional().nullable(),
333
- runtime: z.string().optional().nullable(),
334
- tools: z.string().optional().nullable(),
335
- updated_at: z.string().optional(),
336
- });
337
-
338
- export const publicAgentsUpdateSchema = z.object({
339
- config: jsonSchema.optional().nullable(),
340
- created_at: z.string().optional(),
341
- description: z.string().optional().nullable(),
342
- id: z.string().optional(),
343
- instruction: z.string().optional().nullable(),
344
- max_step: z.number().optional().nullable(),
345
- runtime: z.string().optional().nullable(),
346
- tools: z.string().optional().nullable(),
347
- updated_at: z.string().optional(),
348
- });
349
-
350
325
  export const publicAuditAssetsRowSchema = z.object({
351
326
  content: z.string(),
352
327
  created_at: z.string(),
@@ -780,6 +755,39 @@ export const publicChatsUpdateSchema = z.object({
780
755
  visibility: publicChatVisibilitySchema.optional(),
781
756
  });
782
757
 
758
+ export const publicCleanupPoliciesRowSchema = z.object({
759
+ cleanup_function: z.string(),
760
+ created_at: z.string(),
761
+ enabled: z.boolean(),
762
+ id: z.string(),
763
+ policy_name: z.string(),
764
+ retention_days: z.number(),
765
+ table_name: z.string(),
766
+ updated_at: z.string(),
767
+ });
768
+
769
+ export const publicCleanupPoliciesInsertSchema = z.object({
770
+ cleanup_function: z.string(),
771
+ created_at: z.string().optional(),
772
+ enabled: z.boolean().optional(),
773
+ id: z.string().optional(),
774
+ policy_name: z.string(),
775
+ retention_days: z.number().optional(),
776
+ table_name: z.string(),
777
+ updated_at: z.string().optional(),
778
+ });
779
+
780
+ export const publicCleanupPoliciesUpdateSchema = z.object({
781
+ cleanup_function: z.string().optional(),
782
+ created_at: z.string().optional(),
783
+ enabled: z.boolean().optional(),
784
+ id: z.string().optional(),
785
+ policy_name: z.string().optional(),
786
+ retention_days: z.number().optional(),
787
+ table_name: z.string().optional(),
788
+ updated_at: z.string().optional(),
789
+ });
790
+
783
791
  export const publicCloudAccountsRowSchema = z.object({
784
792
  access_token: z.string().nullable(),
785
793
  account_email: z.string().nullable(),
@@ -885,7 +893,6 @@ export const publicComputeNodesRowSchema = z.object({
885
893
  name: z.string(),
886
894
  port: z.number(),
887
895
  provider: z.string(),
888
- status: publicComputeNodeStatusSchema.nullable(),
889
896
  updated_at: z.string(),
890
897
  user_id: z.string(),
891
898
  username: z.string().nullable(),
@@ -900,7 +907,6 @@ export const publicComputeNodesInsertSchema = z.object({
900
907
  name: z.string(),
901
908
  port: z.number().optional(),
902
909
  provider: z.string().optional(),
903
- status: publicComputeNodeStatusSchema.optional().nullable(),
904
910
  updated_at: z.string().optional(),
905
911
  user_id: z.string().optional(),
906
912
  username: z.string().optional().nullable(),
@@ -915,7 +921,6 @@ export const publicComputeNodesUpdateSchema = z.object({
915
921
  name: z.string().optional(),
916
922
  port: z.number().optional(),
917
923
  provider: z.string().optional(),
918
- status: publicComputeNodeStatusSchema.optional().nullable(),
919
924
  updated_at: z.string().optional(),
920
925
  user_id: z.string().optional(),
921
926
  username: z.string().optional().nullable(),
@@ -1108,6 +1113,64 @@ export const publicMitmRulesRelationshipsSchema = z.tuple([
1108
1113
  }),
1109
1114
  ]);
1110
1115
 
1116
+ export const publicOpenclawsRowSchema = z.object({
1117
+ config: jsonSchema,
1118
+ created_at: z.string(),
1119
+ desired_status: publicOpenclawStatusSchema,
1120
+ id: z.string(),
1121
+ metadata: jsonSchema.nullable(),
1122
+ name: z.string().nullable(),
1123
+ resolved_config: jsonSchema,
1124
+ server_id: z.string().nullable(),
1125
+ state: jsonSchema.nullable(),
1126
+ status: publicOpenclawStatusSchema,
1127
+ status_reason: z.string().nullable(),
1128
+ updated_at: z.string(),
1129
+ user_id: z.string(),
1130
+ });
1131
+
1132
+ export const publicOpenclawsInsertSchema = z.object({
1133
+ config: jsonSchema.optional(),
1134
+ created_at: z.string().optional(),
1135
+ desired_status: publicOpenclawStatusSchema.optional(),
1136
+ id: z.string().optional(),
1137
+ metadata: jsonSchema.optional().nullable(),
1138
+ name: z.string().optional().nullable(),
1139
+ resolved_config: jsonSchema.optional(),
1140
+ server_id: z.string().optional().nullable(),
1141
+ state: jsonSchema.optional().nullable(),
1142
+ status: publicOpenclawStatusSchema.optional(),
1143
+ status_reason: z.string().optional().nullable(),
1144
+ updated_at: z.string().optional(),
1145
+ user_id: z.string().optional(),
1146
+ });
1147
+
1148
+ export const publicOpenclawsUpdateSchema = z.object({
1149
+ config: jsonSchema.optional(),
1150
+ created_at: z.string().optional(),
1151
+ desired_status: publicOpenclawStatusSchema.optional(),
1152
+ id: z.string().optional(),
1153
+ metadata: jsonSchema.optional().nullable(),
1154
+ name: z.string().optional().nullable(),
1155
+ resolved_config: jsonSchema.optional(),
1156
+ server_id: z.string().optional().nullable(),
1157
+ state: jsonSchema.optional().nullable(),
1158
+ status: publicOpenclawStatusSchema.optional(),
1159
+ status_reason: z.string().optional().nullable(),
1160
+ updated_at: z.string().optional(),
1161
+ user_id: z.string().optional(),
1162
+ });
1163
+
1164
+ export const publicOpenclawsRelationshipsSchema = z.tuple([
1165
+ z.object({
1166
+ foreignKeyName: z.literal("openclaws_server_id_fkey"),
1167
+ columns: z.tuple([z.literal("server_id")]),
1168
+ isOneToOne: z.literal(false),
1169
+ referencedRelation: z.literal("servers"),
1170
+ referencedColumns: z.tuple([z.literal("id")]),
1171
+ }),
1172
+ ]);
1173
+
1111
1174
  export const publicOutreachMessagesRowSchema = z.object({
1112
1175
  content: z.string().nullable(),
1113
1176
  created_at: z.string(),
@@ -1353,39 +1416,24 @@ export const publicServersRowSchema = z.object({
1353
1416
  config: jsonSchema.nullable(),
1354
1417
  created_at: z.string(),
1355
1418
  id: z.string(),
1356
- is_public: z.boolean().nullable(),
1357
- is_shared: z.boolean().nullable(),
1358
- name: z.string().nullable(),
1359
1419
  state: jsonSchema.nullable(),
1360
- status: publicServerStatusSchema.nullable(),
1361
1420
  updated_at: z.string(),
1362
- user_id: z.string().nullable(),
1363
1421
  });
1364
1422
 
1365
1423
  export const publicServersInsertSchema = z.object({
1366
1424
  config: jsonSchema.optional().nullable(),
1367
1425
  created_at: z.string().optional(),
1368
1426
  id: z.string(),
1369
- is_public: z.boolean().optional().nullable(),
1370
- is_shared: z.boolean().optional().nullable(),
1371
- name: z.string().optional().nullable(),
1372
1427
  state: jsonSchema.optional().nullable(),
1373
- status: publicServerStatusSchema.optional().nullable(),
1374
1428
  updated_at: z.string().optional(),
1375
- user_id: z.string().optional().nullable(),
1376
1429
  });
1377
1430
 
1378
1431
  export const publicServersUpdateSchema = z.object({
1379
1432
  config: jsonSchema.optional().nullable(),
1380
1433
  created_at: z.string().optional(),
1381
1434
  id: z.string().optional(),
1382
- is_public: z.boolean().optional().nullable(),
1383
- is_shared: z.boolean().optional().nullable(),
1384
- name: z.string().optional().nullable(),
1385
1435
  state: jsonSchema.optional().nullable(),
1386
- status: publicServerStatusSchema.optional().nullable(),
1387
1436
  updated_at: z.string().optional(),
1388
- user_id: z.string().optional().nullable(),
1389
1437
  });
1390
1438
 
1391
1439
  export const publicSysConfigRowSchema = z.object({
@@ -1767,27 +1815,6 @@ export const publicUserRolesUpdateSchema = z.object({
1767
1815
  user_id: z.string().optional(),
1768
1816
  });
1769
1817
 
1770
- export const publicSysConfigGetArgsSchema = z.object({
1771
- p_key: z.string(),
1772
- });
1773
-
1774
- export const publicSysConfigGetReturnsSchema = jsonSchema;
1775
-
1776
- export const publicActionToolQueryArgsSchema = z.object({
1777
- p_prefix: z.string().optional(),
1778
- });
1779
-
1780
- export const publicActionToolQueryReturnsSchema = jsonSchema;
1781
-
1782
- export const publicActionToolReplyToUserArgsSchema = z.object({
1783
- p_actions: jsonSchema.optional(),
1784
- p_chat_id: z.string().optional(),
1785
- p_text: z.string().optional(),
1786
- p_user_id: z.string().optional(),
1787
- });
1788
-
1789
- export const publicActionToolReplyToUserReturnsSchema = jsonSchema;
1790
-
1791
1818
  export const publicAdkAgentListArgsSchema = z.never();
1792
1819
 
1793
1820
  export const publicAdkAgentListReturnsSchema = z.array(
@@ -1819,31 +1846,6 @@ export const publicAdkArtifactGetArgsSchema = z.object({
1819
1846
 
1820
1847
  export const publicAdkArtifactGetReturnsSchema = jsonSchema;
1821
1848
 
1822
- export const publicAdkArtifactListKeysArgsSchema = z.object({
1823
- p_app_name: z.string(),
1824
- p_session_id: z.string(),
1825
- p_user_id: z.string(),
1826
- });
1827
-
1828
- export const publicAdkArtifactKeyRecordSchema = z.object({
1829
- filename: z.string().nullable(),
1830
- });
1831
-
1832
- export const publicAdkArtifactListVersionsMetaArgsSchema = z.object({
1833
- p_app_name: z.string(),
1834
- p_filename: z.string(),
1835
- p_session_id: z.string(),
1836
- p_user_id: z.string(),
1837
- });
1838
-
1839
- export const publicAdkArtifactMetaRecordSchema = z.object({
1840
- version: z.number().nullable(),
1841
- canonical_uri: z.string().nullable(),
1842
- custom_metadata: jsonSchema.nullable(),
1843
- create_time: z.number().nullable(),
1844
- mime_type: z.string().nullable(),
1845
- });
1846
-
1847
1849
  export const publicAdkArtifactSaveArgsSchema = z.object({
1848
1850
  p_app_name: z.string(),
1849
1851
  p_canonical_uri: z.string(),
@@ -1914,38 +1916,34 @@ export const publicAdkEventUpsertArgsSchema = z.object({
1914
1916
  p_user_id: z.string().optional(),
1915
1917
  });
1916
1918
 
1917
- export const publicAdkEventUpsertReturnsSchema = jsonSchema;
1918
-
1919
- export const publicAdkEventUpsertFromJsonArgsSchema = z.object({
1920
- p_payload: jsonSchema,
1921
- });
1922
-
1923
- export const publicAdkEventUpsertFromJsonReturnsSchema = z.object({
1924
- actions: jsonSchema.nullable(),
1925
- app_name: z.string().nullable(),
1926
- author: z.string().nullable(),
1927
- branch: z.string().nullable(),
1928
- citation_metadata: jsonSchema.nullable(),
1929
- content: jsonSchema.nullable(),
1930
- created_at: z.string(),
1931
- custom_metadata: jsonSchema.nullable(),
1932
- error_code: z.string().nullable(),
1933
- error_message: z.string().nullable(),
1934
- grounding_metadata: jsonSchema.nullable(),
1935
- id: z.string(),
1936
- input_transcription: jsonSchema.nullable(),
1937
- interrupted: z.boolean().nullable(),
1938
- invocation_id: z.string().nullable(),
1939
- long_running_tool_ids_json: jsonSchema.nullable(),
1940
- output_transcription: jsonSchema.nullable(),
1941
- partial: z.boolean().nullable(),
1942
- session_id: z.string().nullable(),
1943
- timestamp: z.string().nullable(),
1944
- turn_complete: z.boolean().nullable(),
1945
- updated_at: z.string(),
1946
- usage_metadata: jsonSchema.nullable(),
1947
- user_id: z.string().nullable(),
1948
- });
1919
+ export const publicAdkEventUpsertReturnsSchema = z.array(
1920
+ z.object({
1921
+ actions: jsonSchema.nullable(),
1922
+ app_name: z.string().nullable(),
1923
+ author: z.string().nullable(),
1924
+ branch: z.string().nullable(),
1925
+ citation_metadata: jsonSchema.nullable(),
1926
+ content: jsonSchema.nullable(),
1927
+ created_at: z.string(),
1928
+ custom_metadata: jsonSchema.nullable(),
1929
+ error_code: z.string().nullable(),
1930
+ error_message: z.string().nullable(),
1931
+ grounding_metadata: jsonSchema.nullable(),
1932
+ id: z.string(),
1933
+ input_transcription: jsonSchema.nullable(),
1934
+ interrupted: z.boolean().nullable(),
1935
+ invocation_id: z.string().nullable(),
1936
+ long_running_tool_ids_json: jsonSchema.nullable(),
1937
+ output_transcription: jsonSchema.nullable(),
1938
+ partial: z.boolean().nullable(),
1939
+ session_id: z.string().nullable(),
1940
+ timestamp: z.string().nullable(),
1941
+ turn_complete: z.boolean().nullable(),
1942
+ updated_at: z.string(),
1943
+ usage_metadata: jsonSchema.nullable(),
1944
+ user_id: z.string().nullable(),
1945
+ }),
1946
+ );
1949
1947
 
1950
1948
  export const publicAdkQuickStartListArgsSchema = z.object({
1951
1949
  p_agent_name: z.string().optional(),
@@ -2027,14 +2025,6 @@ export const publicAgentSignalWakeupArgsSchema = z.object({
2027
2025
 
2028
2026
  export const publicAgentSignalWakeupReturnsSchema = jsonSchema;
2029
2027
 
2030
- export const publicAgentToolExecReadSqlArgsSchema = z.object({
2031
- p_max_chars: z.number().optional(),
2032
- p_max_rows: z.number().optional(),
2033
- sql_query: z.string(),
2034
- });
2035
-
2036
- export const publicAgentToolExecReadSqlReturnsSchema = z.string();
2037
-
2038
2028
  export const publicAuditArtifactListArgsSchema = z.object({
2039
2029
  p_project_id: z.string(),
2040
2030
  });
@@ -2058,9 +2048,9 @@ export const publicAuditArtifactListReturnsSchema = z.array(
2058
2048
  export const publicAuditAssetListCursorArgsSchema = z.object({
2059
2049
  p_cursor: z.string().optional(),
2060
2050
  p_cursor_id: z.string().optional(),
2061
- p_kw: z.string().optional(),
2062
2051
  p_limit: z.number().optional(),
2063
2052
  p_project_id: z.string(),
2053
+ p_search: z.string().optional(),
2064
2054
  });
2065
2055
 
2066
2056
  export const publicAuditAssetListCursorReturnsSchema = z.array(
@@ -2079,9 +2069,9 @@ export const publicAuditAssetListCursorReturnsSchema = z.array(
2079
2069
  export const publicAuditFindingListCursorArgsSchema = z.object({
2080
2070
  p_cursor: z.string().optional(),
2081
2071
  p_cursor_id: z.string().optional(),
2082
- p_kw: z.string().optional(),
2083
2072
  p_limit: z.number().optional(),
2084
2073
  p_project_id: z.string(),
2074
+ p_search: z.string().optional(),
2085
2075
  });
2086
2076
 
2087
2077
  export const publicAuditFindingListCursorReturnsSchema = z.array(
@@ -2139,18 +2129,20 @@ export const publicAuditProjectGetArgsSchema = z.object({
2139
2129
  p_id: z.string(),
2140
2130
  });
2141
2131
 
2142
- export const publicAuditProjectRecordSchema = z.object({
2143
- id: z.string().nullable(),
2144
- created_at: z.string().nullable(),
2145
- updated_at: z.string().nullable(),
2146
- user_id: z.string().nullable(),
2147
- name: z.string().nullable(),
2148
- target: z.string().nullable(),
2149
- repo_url: z.string().nullable(),
2150
- repo_branch: z.string().nullable(),
2151
- config: jsonSchema.nullable(),
2152
- worker_id: z.string().nullable(),
2153
- });
2132
+ export const publicAuditProjectGetReturnsSchema = z.array(
2133
+ z.object({
2134
+ config: jsonSchema,
2135
+ created_at: z.string(),
2136
+ id: z.string(),
2137
+ name: z.string(),
2138
+ repo_branch: z.string(),
2139
+ repo_url: z.string(),
2140
+ target: z.string(),
2141
+ updated_at: z.string(),
2142
+ user_id: z.string(),
2143
+ worker_id: z.string(),
2144
+ }),
2145
+ );
2154
2146
 
2155
2147
  export const publicAuditProjectListArgsSchema = z.object({
2156
2148
  p_kw: z.string().optional(),
@@ -2159,18 +2151,40 @@ export const publicAuditProjectListArgsSchema = z.object({
2159
2151
  });
2160
2152
 
2161
2153
  export const publicAuditProjectListReturnsSchema = z.array(
2162
- publicAuditProjectRecordSchema,
2154
+ z.object({
2155
+ config: jsonSchema,
2156
+ created_at: z.string(),
2157
+ id: z.string(),
2158
+ name: z.string(),
2159
+ repo_branch: z.string(),
2160
+ repo_url: z.string(),
2161
+ target: z.string(),
2162
+ updated_at: z.string(),
2163
+ user_id: z.string(),
2164
+ worker_id: z.string(),
2165
+ }),
2163
2166
  );
2164
2167
 
2165
2168
  export const publicAuditProjectListCursorArgsSchema = z.object({
2166
2169
  p_cursor: z.string().optional(),
2167
2170
  p_cursor_id: z.string().optional(),
2168
- p_kw: z.string().optional(),
2169
2171
  p_limit: z.number().optional(),
2172
+ p_search: z.string().optional(),
2170
2173
  });
2171
2174
 
2172
2175
  export const publicAuditProjectListCursorReturnsSchema = z.array(
2173
- publicAuditProjectRecordSchema,
2176
+ z.object({
2177
+ config: jsonSchema,
2178
+ created_at: z.string(),
2179
+ id: z.string(),
2180
+ name: z.string(),
2181
+ repo_branch: z.string(),
2182
+ repo_url: z.string(),
2183
+ target: z.string(),
2184
+ updated_at: z.string(),
2185
+ user_id: z.string(),
2186
+ worker_id: z.string(),
2187
+ }),
2174
2188
  );
2175
2189
 
2176
2190
  export const publicAuditProjectUpsertArgsSchema = z.object({
@@ -2183,7 +2197,20 @@ export const publicAuditProjectUpsertArgsSchema = z.object({
2183
2197
  p_worker_id: z.string().optional(),
2184
2198
  });
2185
2199
 
2186
- export const publicAuditProjectUpsertReturnsSchema = z.string();
2200
+ export const publicAuditProjectUpsertReturnsSchema = z.array(
2201
+ z.object({
2202
+ config: jsonSchema,
2203
+ created_at: z.string(),
2204
+ id: z.string(),
2205
+ name: z.string(),
2206
+ repo_branch: z.string(),
2207
+ repo_url: z.string(),
2208
+ target: z.string(),
2209
+ updated_at: z.string(),
2210
+ user_id: z.string(),
2211
+ worker_id: z.string(),
2212
+ }),
2213
+ );
2187
2214
 
2188
2215
  export const publicAuditSkillListArgsSchema = z.object({
2189
2216
  p_project_id: z.string(),
@@ -2225,31 +2252,48 @@ export const publicBrowserGetArgsSchema = z.object({
2225
2252
  p_id: z.string(),
2226
2253
  });
2227
2254
 
2228
- export const publicBrowserRecordSchema = z.object({
2229
- id: z.string().nullable(),
2230
- created_at: z.string().nullable(),
2231
- updated_at: z.string().nullable(),
2232
- title: z.string().nullable(),
2233
- description: z.string().nullable(),
2234
- profile_id: z.string().nullable(),
2235
- provider: z.string().nullable(),
2236
- provider_config: jsonSchema.nullable(),
2237
- config: jsonSchema.nullable(),
2238
- sandbox_id: z.string().nullable(),
2239
- vnc_url: z.string().nullable(),
2240
- browser_api_url: z.string().nullable(),
2241
- worker_name: z.string().nullable(),
2242
- is_running: z.boolean().nullable(),
2243
- });
2244
-
2245
- export const publicBrowserListArgsSchema = z.object({
2246
- p_kw: z.string().optional(),
2247
- p_page_no: z.number().optional(),
2248
- p_page_size: z.number().optional(),
2249
- });
2250
-
2255
+ export const publicBrowserGetReturnsSchema = z.array(
2256
+ z.object({
2257
+ browser_api_url: z.string(),
2258
+ config: jsonSchema,
2259
+ created_at: z.string(),
2260
+ description: z.string(),
2261
+ id: z.string(),
2262
+ is_running: z.boolean(),
2263
+ profile_id: z.string(),
2264
+ provider: z.string(),
2265
+ provider_config: jsonSchema,
2266
+ sandbox_id: z.string(),
2267
+ title: z.string(),
2268
+ updated_at: z.string(),
2269
+ vnc_url: z.string(),
2270
+ worker_name: z.string(),
2271
+ }),
2272
+ );
2273
+
2274
+ export const publicBrowserListArgsSchema = z.object({
2275
+ p_kw: z.string().optional(),
2276
+ p_page_no: z.number().optional(),
2277
+ p_page_size: z.number().optional(),
2278
+ });
2279
+
2251
2280
  export const publicBrowserListReturnsSchema = z.array(
2252
- publicBrowserRecordSchema,
2281
+ z.object({
2282
+ browser_api_url: z.string(),
2283
+ config: jsonSchema,
2284
+ created_at: z.string(),
2285
+ description: z.string(),
2286
+ id: z.string(),
2287
+ is_running: z.boolean(),
2288
+ profile_id: z.string(),
2289
+ provider: z.string(),
2290
+ provider_config: jsonSchema,
2291
+ sandbox_id: z.string(),
2292
+ title: z.string(),
2293
+ updated_at: z.string(),
2294
+ vnc_url: z.string(),
2295
+ worker_name: z.string(),
2296
+ }),
2253
2297
  );
2254
2298
 
2255
2299
  export const publicBrowserUpdateStateArgsSchema = z.object({
@@ -2270,7 +2314,22 @@ export const publicBrowserUpsertArgsSchema = z.object({
2270
2314
  });
2271
2315
 
2272
2316
  export const publicBrowserUpsertReturnsSchema = z.array(
2273
- publicBrowserRecordSchema,
2317
+ z.object({
2318
+ browser_api_url: z.string(),
2319
+ config: jsonSchema,
2320
+ created_at: z.string(),
2321
+ description: z.string(),
2322
+ id: z.string(),
2323
+ is_running: z.boolean(),
2324
+ profile_id: z.string(),
2325
+ provider: z.string(),
2326
+ provider_config: jsonSchema,
2327
+ sandbox_id: z.string(),
2328
+ title: z.string(),
2329
+ updated_at: z.string(),
2330
+ vnc_url: z.string(),
2331
+ worker_name: z.string(),
2332
+ }),
2274
2333
  );
2275
2334
 
2276
2335
  export const publicCampaignDeleteArgsSchema = z.object({
@@ -2283,23 +2342,25 @@ export const publicCampaignGetArgsSchema = z.object({
2283
2342
  p_id: z.string(),
2284
2343
  });
2285
2344
 
2286
- export const publicCampaignRecordSchema = z.object({
2287
- id: z.string().nullable(),
2288
- created_at: z.string().nullable(),
2289
- updated_at: z.string().nullable(),
2290
- started_at: z.string().nullable(),
2291
- completed_at: z.string().nullable(),
2292
- user_id: z.string().nullable(),
2293
- name: z.string().nullable(),
2294
- description: z.string().nullable(),
2295
- platform: z.string().nullable(),
2296
- status: z.string().nullable(),
2297
- config: jsonSchema.nullable(),
2298
- message_template: z.string().nullable(),
2299
- target_filter: jsonSchema.nullable(),
2300
- schedule: jsonSchema.nullable(),
2301
- stats: jsonSchema.nullable(),
2302
- });
2345
+ export const publicCampaignGetReturnsSchema = z.array(
2346
+ z.object({
2347
+ completed_at: z.string(),
2348
+ config: jsonSchema,
2349
+ created_at: z.string(),
2350
+ description: z.string(),
2351
+ id: z.string(),
2352
+ message_template: z.string(),
2353
+ name: z.string(),
2354
+ platform: z.string(),
2355
+ schedule: jsonSchema,
2356
+ started_at: z.string(),
2357
+ stats: jsonSchema,
2358
+ status: z.string(),
2359
+ target_filter: jsonSchema,
2360
+ updated_at: z.string(),
2361
+ user_id: z.string(),
2362
+ }),
2363
+ );
2303
2364
 
2304
2365
  export const publicCampaignListCursorArgsSchema = z.object({
2305
2366
  p_cursor: z.string().optional(),
@@ -2309,7 +2370,23 @@ export const publicCampaignListCursorArgsSchema = z.object({
2309
2370
  });
2310
2371
 
2311
2372
  export const publicCampaignListCursorReturnsSchema = z.array(
2312
- publicCampaignRecordSchema,
2373
+ z.object({
2374
+ completed_at: z.string(),
2375
+ config: jsonSchema,
2376
+ created_at: z.string(),
2377
+ description: z.string(),
2378
+ id: z.string(),
2379
+ message_template: z.string(),
2380
+ name: z.string(),
2381
+ platform: z.string(),
2382
+ schedule: jsonSchema,
2383
+ started_at: z.string(),
2384
+ stats: jsonSchema,
2385
+ status: z.string(),
2386
+ target_filter: jsonSchema,
2387
+ updated_at: z.string(),
2388
+ user_id: z.string(),
2389
+ }),
2313
2390
  );
2314
2391
 
2315
2392
  export const publicCampaignPauseArgsSchema = z.object({
@@ -2336,7 +2413,23 @@ export const publicCampaignUpsertArgsSchema = z.object({
2336
2413
  });
2337
2414
 
2338
2415
  export const publicCampaignUpsertReturnsSchema = z.array(
2339
- publicCampaignRecordSchema,
2416
+ z.object({
2417
+ completed_at: z.string(),
2418
+ config: jsonSchema,
2419
+ created_at: z.string(),
2420
+ description: z.string(),
2421
+ id: z.string(),
2422
+ message_template: z.string(),
2423
+ name: z.string(),
2424
+ platform: z.string(),
2425
+ schedule: jsonSchema,
2426
+ started_at: z.string(),
2427
+ stats: jsonSchema,
2428
+ status: z.string(),
2429
+ target_filter: jsonSchema,
2430
+ updated_at: z.string(),
2431
+ user_id: z.string(),
2432
+ }),
2340
2433
  );
2341
2434
 
2342
2435
  export const publicChatGetArgsSchema = z.object({
@@ -2433,26 +2526,32 @@ export const publicChatUpsertArgsSchema = z.object({
2433
2526
  p_title: z.string().optional(),
2434
2527
  });
2435
2528
 
2436
- export const publicChatUpsertReturnsSchema = z.object({
2437
- agent_id: z.string(),
2438
- created_at: z.string(),
2439
- id: z.string(),
2440
- lastContext: jsonSchema.nullable(),
2441
- state: jsonSchema.nullable(),
2442
- title: z.string(),
2443
- type: z.string(),
2444
- updated_at: z.string().nullable(),
2445
- user_id: z.string().nullable(),
2446
- visibility: publicChatVisibilitySchema,
2447
- });
2529
+ export const publicChatUpsertReturnsSchema = z.array(
2530
+ z.object({
2531
+ agent_id: z.string(),
2532
+ created_at: z.string(),
2533
+ id: z.string(),
2534
+ lastContext: jsonSchema.nullable(),
2535
+ state: jsonSchema.nullable(),
2536
+ title: z.string(),
2537
+ type: z.string(),
2538
+ updated_at: z.string().nullable(),
2539
+ user_id: z.string().nullable(),
2540
+ visibility: publicChatVisibilitySchema,
2541
+ }),
2542
+ );
2448
2543
 
2449
2544
  export const publicCheckAccountRateLimitArgsSchema = z.object({
2450
2545
  p_account_id: z.string(),
2451
- p_campaign_config: jsonSchema,
2546
+ p_campaign_config: jsonSchema.optional(),
2452
2547
  });
2453
2548
 
2454
2549
  export const publicCheckAccountRateLimitReturnsSchema = z.boolean();
2455
2550
 
2551
+ export const publicCleanupServersIngressArgsSchema = z.never();
2552
+
2553
+ export const publicCleanupServersIngressReturnsSchema = z.number();
2554
+
2456
2555
  export const publicCloudAccountBulkCreateArgsSchema = z.object({
2457
2556
  p_account_names: z.array(z.string()),
2458
2557
  p_platform_name: z.string(),
@@ -2519,10 +2618,10 @@ export const publicCloudAccountGetReturnsSchema = z.array(
2519
2618
 
2520
2619
  export const publicCloudAccountListCursorArgsSchema = z.object({
2521
2620
  p_cursor: z.string().optional(),
2522
- p_kw: z.string().optional(),
2523
2621
  p_limit: z.number().optional(),
2524
2622
  p_platform_name: z.string().optional(),
2525
- p_status: publicCloudAccountStatusSchema.optional(),
2623
+ p_search: z.string().optional(),
2624
+ p_status: z.string().optional(),
2526
2625
  });
2527
2626
 
2528
2627
  export const publicCloudAccountListCursorReturnsSchema = z.array(
@@ -2584,6 +2683,12 @@ export const publicCloudAccountUpsertReturnsSchema = z.array(
2584
2683
  publicCloudAccountRecordSchema,
2585
2684
  );
2586
2685
 
2686
+ export const publicCodeRunResultParseArgsSchema = z.object({
2687
+ p_result: jsonSchema,
2688
+ });
2689
+
2690
+ export const publicCodeRunResultParseReturnsSchema = jsonSchema;
2691
+
2587
2692
  export const publicComputeNodeDeleteArgsSchema = z.object({
2588
2693
  p_id: z.string(),
2589
2694
  });
@@ -2591,7 +2696,8 @@ export const publicComputeNodeDeleteArgsSchema = z.object({
2591
2696
  export const publicComputeNodeDeleteReturnsSchema = z.undefined();
2592
2697
 
2593
2698
  export const publicComputeNodeGetArgsSchema = z.object({
2594
- p_id: z.string(),
2699
+ p_id: z.string().optional(),
2700
+ p_user_id: z.string().optional(),
2595
2701
  });
2596
2702
 
2597
2703
  export const publicComputeNodeRecordSchema = z.object({
@@ -2603,8 +2709,6 @@ export const publicComputeNodeRecordSchema = z.object({
2603
2709
  port: z.number().nullable(),
2604
2710
  username: z.string().nullable(),
2605
2711
  auth_secret: z.string().nullable(),
2606
- status: publicComputeNodeStatusSchema.nullable(),
2607
- worker_count: z.number().nullable(),
2608
2712
  updated_at: z.string().nullable(),
2609
2713
  is_public: z.boolean().nullable(),
2610
2714
  created_at: z.string().nullable(),
@@ -2614,44 +2718,33 @@ export const publicComputeNodeGetSecretArgsSchema = z.object({
2614
2718
  target_id: z.string(),
2615
2719
  });
2616
2720
 
2617
- export const publicComputeNodeSecretRecordSchema = z.object({
2618
- host: z.string().nullable(),
2619
- port: z.number().nullable(),
2620
- username: z.string().nullable(),
2621
- auth_secret: z.string().nullable(),
2622
- });
2721
+ export const publicComputeNodeGetSecretReturnsSchema = z.array(
2722
+ z.object({
2723
+ auth_secret: z.string(),
2724
+ host: z.string(),
2725
+ port: z.number(),
2726
+ username: z.string(),
2727
+ }),
2728
+ );
2623
2729
 
2624
2730
  export const publicComputeNodeListArgsSchema = z.object({
2625
- p_kw: z.string().optional(),
2626
- p_page_no: z.number().optional(),
2627
- p_page_size: z.number().optional(),
2731
+ p_user_id: z.string().optional(),
2628
2732
  });
2629
2733
 
2630
- export const publicComputeNodeListRecordSchema = z.object({
2631
- id: z.string().nullable(),
2632
- user_id: z.string().nullable(),
2633
- name: z.string().nullable(),
2634
- provider: z.string().nullable(),
2635
- host: z.string().nullable(),
2636
- port: z.number().nullable(),
2637
- username: z.string().nullable(),
2638
- auth_secret: z.string().nullable(),
2639
- status: publicComputeNodeStatusSchema.nullable(),
2640
- worker_count: z.number().nullable(),
2641
- updated_at: z.string().nullable(),
2642
- is_public: z.boolean().nullable(),
2643
- created_at: z.string().nullable(),
2644
- full_count: z.number().nullable(),
2645
- });
2734
+ export const publicComputeNodeListReturnsSchema = z.array(
2735
+ publicComputeNodeRecordSchema,
2736
+ );
2646
2737
 
2647
2738
  export const publicComputeNodeUpsertArgsSchema = z.object({
2648
2739
  p_auth_secret: z.string().optional(),
2649
- p_host: z.string(),
2650
- p_id: z.string(),
2651
- p_name: z.string(),
2740
+ p_host: z.string().optional(),
2741
+ p_id: z.string().optional(),
2742
+ p_is_public: z.boolean().optional(),
2743
+ p_name: z.string().optional(),
2652
2744
  p_port: z.number().optional(),
2653
- p_provider: z.string(),
2745
+ p_provider: z.string().optional(),
2654
2746
  p_username: z.string().optional(),
2747
+ p_worker_count: z.number().optional(),
2655
2748
  });
2656
2749
 
2657
2750
  export const publicComputeNodeUpsertReturnsSchema = z.array(
@@ -2693,22 +2786,24 @@ export const publicContactGetArgsSchema = z.object({
2693
2786
  p_telegram_id: z.number().optional(),
2694
2787
  });
2695
2788
 
2696
- export const publicContactRecordSchema = z.object({
2697
- id: z.string().nullable(),
2698
- created_at: z.string().nullable(),
2699
- updated_at: z.string().nullable(),
2700
- user_id: z.string().nullable(),
2701
- name: z.string().nullable(),
2702
- phone: z.string().nullable(),
2703
- telegram_id: z.number().nullable(),
2704
- telegram_username: z.string().nullable(),
2705
- email: z.string().nullable(),
2706
- platform: z.string().nullable(),
2707
- source: z.string().nullable(),
2708
- tags: z.array(z.string()).nullable(),
2709
- status: z.string().nullable(),
2710
- metadata: jsonSchema.nullable(),
2711
- });
2789
+ export const publicContactGetReturnsSchema = z.array(
2790
+ z.object({
2791
+ created_at: z.string(),
2792
+ email: z.string(),
2793
+ id: z.string(),
2794
+ metadata: jsonSchema,
2795
+ name: z.string(),
2796
+ phone: z.string(),
2797
+ platform: z.string(),
2798
+ source: z.string(),
2799
+ status: z.string(),
2800
+ tags: z.array(z.string()),
2801
+ telegram_id: z.number(),
2802
+ telegram_username: z.string(),
2803
+ updated_at: z.string(),
2804
+ user_id: z.string(),
2805
+ }),
2806
+ );
2712
2807
 
2713
2808
  export const publicContactListCursorArgsSchema = z.object({
2714
2809
  p_cursor: z.string().optional(),
@@ -2720,7 +2815,22 @@ export const publicContactListCursorArgsSchema = z.object({
2720
2815
  });
2721
2816
 
2722
2817
  export const publicContactListCursorReturnsSchema = z.array(
2723
- publicContactRecordSchema,
2818
+ z.object({
2819
+ created_at: z.string(),
2820
+ email: z.string(),
2821
+ id: z.string(),
2822
+ metadata: jsonSchema,
2823
+ name: z.string(),
2824
+ phone: z.string(),
2825
+ platform: z.string(),
2826
+ source: z.string(),
2827
+ status: z.string(),
2828
+ tags: z.array(z.string()),
2829
+ telegram_id: z.number(),
2830
+ telegram_username: z.string(),
2831
+ updated_at: z.string(),
2832
+ user_id: z.string(),
2833
+ }),
2724
2834
  );
2725
2835
 
2726
2836
  export const publicContactListTagsArgsSchema = z.never();
@@ -2749,7 +2859,22 @@ export const publicContactUpsertArgsSchema = z.object({
2749
2859
  });
2750
2860
 
2751
2861
  export const publicContactUpsertReturnsSchema = z.array(
2752
- publicContactRecordSchema,
2862
+ z.object({
2863
+ created_at: z.string(),
2864
+ email: z.string(),
2865
+ id: z.string(),
2866
+ metadata: jsonSchema,
2867
+ name: z.string(),
2868
+ phone: z.string(),
2869
+ platform: z.string(),
2870
+ source: z.string(),
2871
+ status: z.string(),
2872
+ tags: z.array(z.string()),
2873
+ telegram_id: z.number(),
2874
+ telegram_username: z.string(),
2875
+ updated_at: z.string(),
2876
+ user_id: z.string(),
2877
+ }),
2753
2878
  );
2754
2879
 
2755
2880
  export const publicCreateNotificationArgsSchema = z.object({
@@ -2773,42 +2898,39 @@ export const publicDbToolQueryArgsSchema = z.object({
2773
2898
 
2774
2899
  export const publicDbToolQueryReturnsSchema = jsonSchema;
2775
2900
 
2776
- export const publicDbaLintScanArgsSchema = z.never();
2901
+ export const publicGetGithubAppPublicInfoArgsSchema = z.never();
2777
2902
 
2778
- export const publicDbaLintIssueSchema = z.object({
2779
- object_type: z.string().nullable(),
2780
- object_name: z.string().nullable(),
2781
- issue_category: z.string().nullable(),
2782
- issue: z.string().nullable(),
2783
- suggestion: z.string().nullable(),
2784
- severity: z.string().nullable(),
2785
- });
2903
+ export const publicGetGithubAppPublicInfoReturnsSchema = jsonSchema;
2786
2904
 
2787
- export const publicDebugRoleArgsSchema = z.never();
2905
+ export const publicGetJwtRoleArgsSchema = z.never();
2788
2906
 
2789
- export const publicDebugRoleReturnsSchema = z.string();
2907
+ export const publicGetJwtRoleReturnsSchema = z.string();
2790
2908
 
2791
- export const publicDebugSecDefArgsSchema = z.never();
2909
+ export const publicGetSystemPrimaryDomainArgsSchema = z.never();
2792
2910
 
2793
- export const publicDebugSecDefReturnsSchema = z.string();
2911
+ export const publicGetSystemPrimaryDomainReturnsSchema = z.string();
2794
2912
 
2795
- export const publicGetEncryptionKeyArgsSchema = z.never();
2913
+ export const publicGetUserIdFromTokenArgsSchema = z.object({
2914
+ p_token: z.string(),
2915
+ });
2796
2916
 
2797
- export const publicGetEncryptionKeyReturnsSchema = z.string();
2917
+ export const publicGetUserIdFromTokenReturnsSchema = z.string();
2798
2918
 
2799
- export const publicGetGithubAppPublicInfoArgsSchema = z.never();
2919
+ export const publicGetWorkerSubdomainArgsSchema = z.object({
2920
+ p_worker_id: z.string(),
2921
+ });
2800
2922
 
2801
- export const publicGetGithubAppPublicInfoReturnsSchema = jsonSchema;
2923
+ export const publicGetWorkerSubdomainReturnsSchema = z.string();
2802
2924
 
2803
- export const publicGetJwtRoleArgsSchema = z.never();
2925
+ export const publicGithubListInstallationReposArgsSchema = z.never();
2804
2926
 
2805
- export const publicGetJwtRoleReturnsSchema = z.string();
2927
+ export const publicGithubListInstallationReposReturnsSchema = jsonSchema;
2806
2928
 
2807
- export const publicGetUserIdFromTokenArgsSchema = z.object({
2808
- p_token: z.string(),
2929
+ export const publicGithubListRepoBranchesArgsSchema = z.object({
2930
+ p_repo_full_name: z.string(),
2809
2931
  });
2810
2932
 
2811
- export const publicGetUserIdFromTokenReturnsSchema = z.string();
2933
+ export const publicGithubListRepoBranchesReturnsSchema = jsonSchema;
2812
2934
 
2813
2935
  export const publicGomtmModelCountArgsSchema = z.object({
2814
2936
  p_is_active: z.boolean().optional(),
@@ -2827,20 +2949,22 @@ export const publicGomtmModelGetArgsSchema = z.object({
2827
2949
  p_id: z.string(),
2828
2950
  });
2829
2951
 
2830
- export const publicGomtmModelGetReturnsSchema = z.object({
2831
- api_base: z.string().nullable(),
2832
- api_key: z.string().nullable(),
2833
- config: jsonSchema.nullable(),
2834
- created_at: z.string(),
2835
- id: z.string(),
2836
- is_active: z.boolean(),
2837
- linked_account_id: z.string().nullable(),
2838
- model: z.string(),
2839
- name: z.string(),
2840
- provider: z.string(),
2841
- updated_at: z.string(),
2842
- user_id: z.string(),
2843
- });
2952
+ export const publicGomtmModelGetReturnsSchema = z.array(
2953
+ z.object({
2954
+ api_base: z.string().nullable(),
2955
+ api_key: z.string().nullable(),
2956
+ config: jsonSchema.nullable(),
2957
+ created_at: z.string(),
2958
+ id: z.string(),
2959
+ is_active: z.boolean(),
2960
+ linked_account_id: z.string().nullable(),
2961
+ model: z.string(),
2962
+ name: z.string(),
2963
+ provider: z.string(),
2964
+ updated_at: z.string(),
2965
+ user_id: z.string(),
2966
+ }),
2967
+ );
2844
2968
 
2845
2969
  export const publicGomtmModelListCursorArgsSchema = z.object({
2846
2970
  p_cursor_id: z.string().optional(),
@@ -2867,63 +2991,33 @@ export const publicGomtmModelListCursorReturnsSchema = z.array(
2867
2991
  );
2868
2992
 
2869
2993
  export const publicGomtmModelUpsertArgsSchema = z.object({
2870
- p_api_base: z.string().optional(),
2871
- p_api_key: z.string().optional(),
2872
- p_config: jsonSchema.optional(),
2873
- p_id: z.string().optional(),
2874
- p_is_active: z.boolean().optional(),
2875
- p_linked_account_id: z.string().optional(),
2876
- p_model: z.string().optional(),
2877
- p_name: z.string().optional(),
2878
- p_provider: z.string().optional(),
2879
- });
2880
-
2881
- export const publicGomtmModelUpsertReturnsSchema = z.object({
2882
- api_base: z.string().nullable(),
2883
- api_key: z.string().nullable(),
2884
- config: jsonSchema.nullable(),
2885
- created_at: z.string(),
2886
- id: z.string(),
2887
- is_active: z.boolean(),
2888
- linked_account_id: z.string().nullable(),
2889
- model: z.string(),
2890
- name: z.string(),
2891
- provider: z.string(),
2892
- updated_at: z.string(),
2893
- user_id: z.string(),
2894
- });
2895
-
2896
- export const publicHandleHttpResponseHealthArgsSchema = z.object({
2897
- p_body: jsonSchema,
2898
- p_request_id: z.number(),
2899
- p_success: z.boolean(),
2900
- });
2901
-
2902
- export const publicHandleHttpResponseHealthReturnsSchema = z.boolean();
2903
-
2904
- export const publicHandleHttpResponseOutreachArgsSchema = z.object({
2905
- p_body: jsonSchema,
2906
- p_request_id: z.number(),
2907
- p_success: z.boolean(),
2908
- });
2909
-
2910
- export const publicHandleHttpResponseOutreachReturnsSchema = z.boolean();
2911
-
2912
- export const publicHandleHttpResponseTaskArgsSchema = z.object({
2913
- p_body: jsonSchema,
2914
- p_request_id: z.number(),
2915
- p_success: z.boolean(),
2916
- });
2917
-
2918
- export const publicHandleHttpResponseTaskReturnsSchema = z.boolean();
2919
-
2920
- export const publicHandleHttpResponseTelegramArgsSchema = z.object({
2921
- p_body: jsonSchema,
2922
- p_request_id: z.number(),
2923
- p_success: z.boolean(),
2994
+ p_api_base: z.string(),
2995
+ p_api_key: z.string(),
2996
+ p_config: jsonSchema,
2997
+ p_id: z.string(),
2998
+ p_is_active: z.boolean(),
2999
+ p_linked_account_id: z.string(),
3000
+ p_model: z.string(),
3001
+ p_name: z.string(),
3002
+ p_provider: z.string(),
2924
3003
  });
2925
3004
 
2926
- export const publicHandleHttpResponseTelegramReturnsSchema = z.boolean();
3005
+ export const publicGomtmModelUpsertReturnsSchema = z.array(
3006
+ z.object({
3007
+ api_base: z.string().nullable(),
3008
+ api_key: z.string().nullable(),
3009
+ config: jsonSchema.nullable(),
3010
+ created_at: z.string(),
3011
+ id: z.string(),
3012
+ is_active: z.boolean(),
3013
+ linked_account_id: z.string().nullable(),
3014
+ model: z.string(),
3015
+ name: z.string(),
3016
+ provider: z.string(),
3017
+ updated_at: z.string(),
3018
+ user_id: z.string(),
3019
+ }),
3020
+ );
2927
3021
 
2928
3022
  export const publicHandleJobOutreachProcessArgsSchema = z.object({
2929
3023
  p_payload: jsonSchema.optional(),
@@ -2950,9 +3044,20 @@ export const publicHasPermissionArgsSchema = z.object({
2950
3044
 
2951
3045
  export const publicHasPermissionReturnsSchema = z.boolean();
2952
3046
 
3047
+ export const publicHttpFetchArgsSchema = z.object({
3048
+ p_body: jsonSchema.optional(),
3049
+ p_headers: jsonSchema.optional(),
3050
+ p_max_retries: z.number().optional(),
3051
+ p_method: z.string(),
3052
+ p_source_tag: z.string().optional(),
3053
+ p_timeout_ms: z.number().optional(),
3054
+ p_url: z.string(),
3055
+ });
3056
+
3057
+ export const publicHttpFetchReturnsSchema = jsonSchema;
3058
+
2953
3059
  export const publicInstallScriptArgsSchema = z.object({
2954
3060
  p_instance_id: z.string().optional(),
2955
- p_token: z.string().optional(),
2956
3061
  p_version: z.string().optional(),
2957
3062
  });
2958
3063
 
@@ -2976,15 +3081,17 @@ export const publicInstanceTagsGetArgsSchema = z.object({
2976
3081
  p_instance_id: z.string(),
2977
3082
  });
2978
3083
 
2979
- export const publicTagRecordSchema = z.object({
2980
- id: z.string().nullable(),
2981
- name: z.string().nullable(),
2982
- color: z.string().nullable(),
2983
- user_id: z.string().nullable(),
2984
- created_at: z.string().nullable(),
2985
- updated_at: z.string().nullable(),
2986
- instance_count: z.number().nullable(),
2987
- });
3084
+ export const publicInstanceTagsGetReturnsSchema = z.array(
3085
+ z.object({
3086
+ color: z.string(),
3087
+ created_at: z.string(),
3088
+ id: z.string(),
3089
+ instance_count: z.number(),
3090
+ name: z.string(),
3091
+ updated_at: z.string(),
3092
+ user_id: z.string(),
3093
+ }),
3094
+ );
2988
3095
 
2989
3096
  export const publicInstanceTagsSetArgsSchema = z.object({
2990
3097
  p_instance_id: z.string(),
@@ -2992,7 +3099,15 @@ export const publicInstanceTagsSetArgsSchema = z.object({
2992
3099
  });
2993
3100
 
2994
3101
  export const publicInstanceTagsSetReturnsSchema = z.array(
2995
- publicTagRecordSchema,
3102
+ z.object({
3103
+ color: z.string(),
3104
+ created_at: z.string(),
3105
+ id: z.string(),
3106
+ instance_count: z.number(),
3107
+ name: z.string(),
3108
+ updated_at: z.string(),
3109
+ user_id: z.string(),
3110
+ }),
2996
3111
  );
2997
3112
 
2998
3113
  export const publicJobQueueListDlqArgsSchema = z.object({
@@ -3031,6 +3146,39 @@ export const publicJobSubmitArgsSchema = z.object({
3031
3146
 
3032
3147
  export const publicJobSubmitReturnsSchema = jsonSchema;
3033
3148
 
3149
+ export const publicJsonbDeepMergeArgsSchema = z.object({
3150
+ a: jsonSchema,
3151
+ b: jsonSchema,
3152
+ });
3153
+
3154
+ export const publicJsonbDeepMergeReturnsSchema = jsonSchema;
3155
+
3156
+ export const publicLogListUnifiedArgsSchema = z.object({
3157
+ p_cursor: z.string().optional(),
3158
+ p_event_type: z.string().optional(),
3159
+ p_level_max: z.string().optional(),
3160
+ p_limit: z.number().optional(),
3161
+ p_module: z.string().optional(),
3162
+ p_resource_id: z.string().optional(),
3163
+ p_resource_type: z.string().optional(),
3164
+ p_scope: z.string().optional(),
3165
+ p_source: z.string().optional(),
3166
+ });
3167
+
3168
+ export const publicLogUnifiedRecordSchema = z.object({
3169
+ id: z.string().nullable(),
3170
+ source: z.string().nullable(),
3171
+ created_at: z.string().nullable(),
3172
+ event_type: z.string().nullable(),
3173
+ level: z.string().nullable(),
3174
+ module: z.string().nullable(),
3175
+ content: z.string().nullable(),
3176
+ meta: jsonSchema.nullable(),
3177
+ resource_type: z.string().nullable(),
3178
+ resource_id: z.string().nullable(),
3179
+ user_id: z.string().nullable(),
3180
+ });
3181
+
3034
3182
  export const publicNotificationCompleteActionArgsSchema = z.object({
3035
3183
  p_id: z.string(),
3036
3184
  });
@@ -3095,6 +3243,187 @@ export const publicNotificationMarkReadArgsSchema = z.object({
3095
3243
 
3096
3244
  export const publicNotificationMarkReadReturnsSchema = z.number();
3097
3245
 
3246
+ export const publicOpenclawAssignServerArgsSchema = z.object({
3247
+ p_openclaw_id: z.string(),
3248
+ p_user_id: z.string(),
3249
+ });
3250
+
3251
+ export const publicOpenclawAssignServerReturnsSchema = z.string();
3252
+
3253
+ export const publicOpenclawBuildConfigArgsSchema = z.object({
3254
+ p_openclaw_id: z.string(),
3255
+ p_override_config: jsonSchema.optional(),
3256
+ p_override_server_id: z.string().optional(),
3257
+ });
3258
+
3259
+ export const publicOpenclawBuildConfigReturnsSchema = jsonSchema;
3260
+
3261
+ export const publicOpenclawFailoverArgsSchema = z.object({
3262
+ p_server_id: z.string(),
3263
+ });
3264
+
3265
+ export const publicOpenclawFailoverReturnsSchema = z.undefined();
3266
+
3267
+ export const publicOpenclawMetadataApplyActionContractArgsSchema = z.object({
3268
+ p_action_status: z.string(),
3269
+ p_completed_at: z.string().optional(),
3270
+ p_debug_action: z.string(),
3271
+ p_delete_pending: z.boolean().optional(),
3272
+ p_message: z.string().optional(),
3273
+ p_metadata: jsonSchema,
3274
+ p_requested_at: z.string().optional(),
3275
+ p_user_action: z.string(),
3276
+ });
3277
+
3278
+ export const publicOpenclawMetadataApplyActionContractReturnsSchema =
3279
+ jsonSchema;
3280
+
3281
+ export const publicOpenclawReconcileDueArgsSchema = z.object({
3282
+ p_limit: z.number().optional(),
3283
+ });
3284
+
3285
+ export const publicOpenclawReconcileDueReturnsSchema = z.number();
3286
+
3287
+ export const publicOpenclawReconcileOneArgsSchema = z.object({
3288
+ p_openclaw_id: z.string(),
3289
+ });
3290
+
3291
+ export const publicOpenclawReconcileOneReturnsSchema = z.object({
3292
+ config: jsonSchema,
3293
+ created_at: z.string(),
3294
+ desired_status: publicOpenclawStatusSchema,
3295
+ id: z.string(),
3296
+ metadata: jsonSchema.nullable(),
3297
+ name: z.string().nullable(),
3298
+ resolved_config: jsonSchema,
3299
+ server_id: z.string().nullable(),
3300
+ state: jsonSchema.nullable(),
3301
+ status: publicOpenclawStatusSchema,
3302
+ status_reason: z.string().nullable(),
3303
+ updated_at: z.string(),
3304
+ user_id: z.string(),
3305
+ });
3306
+
3307
+ export const publicOpenclawRefreshResolvedConfigArgsSchema = z.object({
3308
+ p_openclaw_id: z.string(),
3309
+ p_override_config: jsonSchema.optional(),
3310
+ p_override_server_id: z.string().optional(),
3311
+ });
3312
+
3313
+ export const publicOpenclawRefreshResolvedConfigReturnsSchema = jsonSchema;
3314
+
3315
+ export const publicOpenclawsDeleteArgsSchema = z.object({
3316
+ p_id: z.string(),
3317
+ });
3318
+
3319
+ export const publicOpenclawsDeleteReturnsSchema = z.array(
3320
+ z.object({
3321
+ config: jsonSchema,
3322
+ created_at: z.string(),
3323
+ desired_status: publicOpenclawStatusSchema,
3324
+ id: z.string(),
3325
+ metadata: jsonSchema,
3326
+ name: z.string(),
3327
+ server_id: z.string(),
3328
+ state: jsonSchema,
3329
+ status: publicOpenclawStatusSchema,
3330
+ status_reason: z.string(),
3331
+ updated_at: z.string(),
3332
+ user_id: z.string(),
3333
+ }),
3334
+ );
3335
+
3336
+ export const publicOpenclawsGetArgsSchema = z.object({
3337
+ p_id: z.string(),
3338
+ });
3339
+
3340
+ export const publicOpenclawsGetReturnsSchema = z.array(
3341
+ z.object({
3342
+ config: jsonSchema,
3343
+ created_at: z.string(),
3344
+ desired_status: publicOpenclawStatusSchema,
3345
+ id: z.string(),
3346
+ metadata: jsonSchema,
3347
+ name: z.string(),
3348
+ server_id: z.string(),
3349
+ state: jsonSchema,
3350
+ status: publicOpenclawStatusSchema,
3351
+ status_reason: z.string(),
3352
+ updated_at: z.string(),
3353
+ user_id: z.string(),
3354
+ }),
3355
+ );
3356
+
3357
+ export const publicOpenclawsListCursorArgsSchema = z.object({
3358
+ p_cursor: z.string().optional(),
3359
+ p_limit: z.number().optional(),
3360
+ p_search: z.string().optional(),
3361
+ p_status: publicOpenclawStatusSchema.optional(),
3362
+ });
3363
+
3364
+ export const publicOpenclawsListCursorReturnsSchema = z.array(
3365
+ z.object({
3366
+ config: jsonSchema,
3367
+ created_at: z.string(),
3368
+ desired_status: publicOpenclawStatusSchema,
3369
+ id: z.string(),
3370
+ metadata: jsonSchema,
3371
+ name: z.string(),
3372
+ server_id: z.string(),
3373
+ state: jsonSchema,
3374
+ status: publicOpenclawStatusSchema,
3375
+ status_reason: z.string(),
3376
+ updated_at: z.string(),
3377
+ user_id: z.string(),
3378
+ }),
3379
+ );
3380
+
3381
+ export const publicOpenclawsRequestActionArgsSchema = z.object({
3382
+ p_action: z.string(),
3383
+ p_id: z.string(),
3384
+ });
3385
+
3386
+ export const publicOpenclawsRequestActionReturnsSchema = z.array(
3387
+ z.object({
3388
+ config: jsonSchema,
3389
+ created_at: z.string(),
3390
+ desired_status: publicOpenclawStatusSchema,
3391
+ id: z.string(),
3392
+ metadata: jsonSchema,
3393
+ name: z.string(),
3394
+ server_id: z.string(),
3395
+ state: jsonSchema,
3396
+ status: publicOpenclawStatusSchema,
3397
+ status_reason: z.string(),
3398
+ updated_at: z.string(),
3399
+ user_id: z.string(),
3400
+ }),
3401
+ );
3402
+
3403
+ export const publicOpenclawsUpsertArgsSchema = z.object({
3404
+ p_config: jsonSchema.optional(),
3405
+ p_id: z.string().optional(),
3406
+ p_metadata: jsonSchema.optional(),
3407
+ p_name: z.string().optional(),
3408
+ });
3409
+
3410
+ export const publicOpenclawsUpsertReturnsSchema = z.array(
3411
+ z.object({
3412
+ config: jsonSchema,
3413
+ created_at: z.string(),
3414
+ desired_status: publicOpenclawStatusSchema,
3415
+ id: z.string(),
3416
+ metadata: jsonSchema,
3417
+ name: z.string(),
3418
+ server_id: z.string(),
3419
+ state: jsonSchema,
3420
+ status: publicOpenclawStatusSchema,
3421
+ status_reason: z.string(),
3422
+ updated_at: z.string(),
3423
+ user_id: z.string(),
3424
+ }),
3425
+ );
3426
+
3098
3427
  export const publicOutreachProcessPendingTasksArgsSchema = z.object({
3099
3428
  p_campaign_id: z.string().optional(),
3100
3429
  p_limit: z.number().optional(),
@@ -3102,6 +3431,13 @@ export const publicOutreachProcessPendingTasksArgsSchema = z.object({
3102
3431
 
3103
3432
  export const publicOutreachProcessPendingTasksReturnsSchema = z.number();
3104
3433
 
3434
+ export const publicOutreachProcessPendingTasksSyncArgsSchema = z.object({
3435
+ p_campaign_id: z.string().optional(),
3436
+ p_limit: z.number().optional(),
3437
+ });
3438
+
3439
+ export const publicOutreachProcessPendingTasksSyncReturnsSchema = z.number();
3440
+
3105
3441
  export const publicOutreachRetryFailedTasksArgsSchema = z.object({
3106
3442
  p_campaign_id: z.string().optional(),
3107
3443
  });
@@ -3115,22 +3451,24 @@ export const publicOutreachTaskListArgsSchema = z.object({
3115
3451
  p_status: z.string().optional(),
3116
3452
  });
3117
3453
 
3118
- export const publicOutreachTaskRecordSchema = z.object({
3119
- id: z.string().nullable(),
3120
- created_at: z.string().nullable(),
3121
- updated_at: z.string().nullable(),
3122
- user_id: z.string().nullable(),
3123
- campaign_id: z.string().nullable(),
3124
- contact_id: z.string().nullable(),
3125
- cloud_account_id: z.string().nullable(),
3126
- status: z.string().nullable(),
3127
- priority: z.number().nullable(),
3128
- scheduled_at: z.string().nullable(),
3129
- executed_at: z.string().nullable(),
3130
- retry_count: z.number().nullable(),
3131
- error_message: z.string().nullable(),
3132
- metadata: jsonSchema.nullable(),
3133
- });
3454
+ export const publicOutreachTaskListReturnsSchema = z.array(
3455
+ z.object({
3456
+ campaign_id: z.string(),
3457
+ cloud_account_id: z.string(),
3458
+ contact_id: z.string(),
3459
+ created_at: z.string(),
3460
+ error_message: z.string(),
3461
+ executed_at: z.string(),
3462
+ id: z.string(),
3463
+ metadata: jsonSchema,
3464
+ priority: z.number(),
3465
+ retry_count: z.number(),
3466
+ scheduled_at: z.string(),
3467
+ status: z.string(),
3468
+ updated_at: z.string(),
3469
+ user_id: z.string(),
3470
+ }),
3471
+ );
3134
3472
 
3135
3473
  export const publicProxyDeleteArgsSchema = z.object({
3136
3474
  p_id: z.string(),
@@ -3142,17 +3480,19 @@ export const publicProxyGetArgsSchema = z.object({
3142
3480
  p_id: z.string(),
3143
3481
  });
3144
3482
 
3145
- export const publicProxyRecordSchema = z.object({
3146
- id: z.string().nullable(),
3147
- created_at: z.string().nullable(),
3148
- updated_at: z.string().nullable(),
3149
- name: z.string().nullable(),
3150
- description: z.string().nullable(),
3151
- url: z.string().nullable(),
3152
- type: z.string().nullable(),
3153
- enabled: z.boolean().nullable(),
3154
- user_id: z.string().nullable(),
3155
- });
3483
+ export const publicProxyGetReturnsSchema = z.array(
3484
+ z.object({
3485
+ created_at: z.string(),
3486
+ description: z.string(),
3487
+ enabled: z.boolean(),
3488
+ id: z.string(),
3489
+ name: z.string(),
3490
+ type: z.string(),
3491
+ updated_at: z.string(),
3492
+ url: z.string(),
3493
+ user_id: z.string(),
3494
+ }),
3495
+ );
3156
3496
 
3157
3497
  export const publicProxyListArgsSchema = z.object({
3158
3498
  p_kw: z.string().optional(),
@@ -3160,7 +3500,19 @@ export const publicProxyListArgsSchema = z.object({
3160
3500
  p_page_size: z.number().optional(),
3161
3501
  });
3162
3502
 
3163
- export const publicProxyListReturnsSchema = z.array(publicProxyRecordSchema);
3503
+ export const publicProxyListReturnsSchema = z.array(
3504
+ z.object({
3505
+ created_at: z.string(),
3506
+ description: z.string(),
3507
+ enabled: z.boolean(),
3508
+ id: z.string(),
3509
+ name: z.string(),
3510
+ type: z.string(),
3511
+ updated_at: z.string(),
3512
+ url: z.string(),
3513
+ user_id: z.string(),
3514
+ }),
3515
+ );
3164
3516
 
3165
3517
  export const publicProxyUpsertArgsSchema = z.object({
3166
3518
  p_description: z.string().optional(),
@@ -3171,7 +3523,19 @@ export const publicProxyUpsertArgsSchema = z.object({
3171
3523
  p_url: z.string(),
3172
3524
  });
3173
3525
 
3174
- export const publicProxyUpsertReturnsSchema = z.array(publicProxyRecordSchema);
3526
+ export const publicProxyUpsertReturnsSchema = z.array(
3527
+ z.object({
3528
+ created_at: z.string(),
3529
+ description: z.string(),
3530
+ enabled: z.boolean(),
3531
+ id: z.string(),
3532
+ name: z.string(),
3533
+ type: z.string(),
3534
+ updated_at: z.string(),
3535
+ url: z.string(),
3536
+ user_id: z.string(),
3537
+ }),
3538
+ );
3175
3539
 
3176
3540
  export const publicResourceDeleteArgsSchema = z.object({
3177
3541
  p_resource_id: z.string(),
@@ -3214,17 +3578,7 @@ export const publicResourceUpsertArgsSchema = z.object({
3214
3578
  p_type: z.string().optional(),
3215
3579
  });
3216
3580
 
3217
- export const publicResourceUpsertReturnsSchema = z.string();
3218
-
3219
- export const publicSandboxFindActiveArgsSchema = z.never();
3220
-
3221
- export const publicSandboxFindActiveReturnsSchema = jsonSchema;
3222
-
3223
- export const publicSandboxGetArgsSchema = z.object({
3224
- resource_id: z.string().optional(),
3225
- });
3226
-
3227
- export const publicSandboxGetReturnsSchema = z.array(
3581
+ export const publicResourceUpsertReturnsSchema = z.array(
3228
3582
  z.object({
3229
3583
  created_at: z.string(),
3230
3584
  data: jsonSchema.nullable(),
@@ -3242,83 +3596,127 @@ export const publicSandboxGetReturnsSchema = z.array(
3242
3596
  }),
3243
3597
  );
3244
3598
 
3245
- export const publicServerInstanceBootstrapArgsSchema = z.object({
3246
- p_instance_id: z.string(),
3247
- });
3599
+ export const publicSandboxFindActiveArgsSchema = z.never();
3248
3600
 
3249
- export const publicBootstrapResultSchema = z.object({
3250
- success: z.boolean().nullable(),
3251
- error: z.string().nullable(),
3252
- config: jsonSchema.nullable(),
3601
+ export const publicSandboxFindActiveReturnsSchema = jsonSchema;
3602
+
3603
+ export const publicScriptExecArgsSchema = z.object({
3604
+ p_options: jsonSchema.optional(),
3605
+ p_script: jsonSchema,
3606
+ p_server_id: z.string(),
3253
3607
  });
3254
3608
 
3255
- export const publicServerInstanceDeleteArgsSchema = z.object({
3256
- p_id: z.string(),
3609
+ export const publicScriptExecReturnsSchema = jsonSchema;
3610
+
3611
+ export const publicScriptGetContentArgsSchema = z.object({
3612
+ p_file_path: z.string(),
3613
+ p_git_ref: z.string().optional(),
3257
3614
  });
3258
3615
 
3259
- export const publicServerInstanceDeleteReturnsSchema = z.undefined();
3616
+ export const publicScriptGetContentReturnsSchema = z.string();
3260
3617
 
3261
- export const publicServerInstanceGetArgsSchema = z.object({
3618
+ export const publicServerDeleteArgsSchema = z.object({
3262
3619
  p_id: z.string(),
3620
+ p_shutdown_gracefully: z.boolean().optional(),
3263
3621
  });
3264
3622
 
3265
- export const publicServerInstanceRecordSchema = z.object({
3266
- id: z.string().nullable(),
3267
- name: z.string().nullable(),
3268
- updated_at: z.string().nullable(),
3269
- config: jsonSchema.nullable(),
3270
- status: publicServerStatusSchema.nullable(),
3271
- is_public: z.boolean().nullable(),
3272
- state: jsonSchema.nullable(),
3273
- created_at: z.string().nullable(),
3274
- user_id: z.string().nullable(),
3275
- is_shared: z.boolean().nullable(),
3623
+ export const publicServerDeleteReturnsSchema = jsonSchema;
3624
+
3625
+ export const publicServerGetArgsSchema = z.object({
3626
+ p_server_id: z.string().optional(),
3276
3627
  });
3277
3628
 
3278
- export const publicServerInstanceListCursorArgsSchema = z.object({
3629
+ export const publicServerGetReturnsSchema = z.array(
3630
+ z.object({
3631
+ config: jsonSchema,
3632
+ created_at: z.string(),
3633
+ id: z.string(),
3634
+ state: jsonSchema,
3635
+ updated_at: z.string(),
3636
+ }),
3637
+ );
3638
+
3639
+ export const publicServerListCursorArgsSchema = z.object({
3279
3640
  p_cursor_id: z.string().optional(),
3280
- p_cursor_is_shared: z.boolean().optional(),
3281
3641
  p_cursor_updated_at: z.string().optional(),
3282
- p_is_shared: z.boolean().optional(),
3283
- p_kw: z.string().optional(),
3284
3642
  p_limit: z.number().optional(),
3285
- p_tag_ids: z.array(z.string()).optional(),
3643
+ p_search: z.string().optional(),
3286
3644
  });
3287
3645
 
3288
- export const publicServerInstanceListCursorReturnsSchema = z.array(
3289
- publicServerInstanceRecordSchema,
3646
+ export const publicServerListCursorReturnsSchema = z.array(
3647
+ z.object({
3648
+ config: jsonSchema.nullable(),
3649
+ created_at: z.string(),
3650
+ id: z.string(),
3651
+ state: jsonSchema.nullable(),
3652
+ updated_at: z.string(),
3653
+ }),
3290
3654
  );
3291
3655
 
3292
- export const publicServerInstanceProbeArgsSchema = z.object({
3293
- p_instance_id: z.string(),
3656
+ export const publicServerMarkOfflineArgsSchema = z.object({
3657
+ p_reason: z.string().optional(),
3658
+ p_server_id: z.string(),
3659
+ p_source: z.string().optional(),
3660
+ });
3661
+
3662
+ export const publicServerMarkOfflineReturnsSchema = jsonSchema;
3663
+
3664
+ export const publicServerStatusApplyCallbackArgsSchema = z.object({
3665
+ p_callback_token: z.string(),
3666
+ p_payload: jsonSchema,
3667
+ p_server_id: z.string(),
3668
+ });
3669
+
3670
+ export const publicServerStatusApplyCallbackReturnsSchema = jsonSchema;
3671
+
3672
+ export const publicServerStatusMergeArgsSchema = z.object({
3673
+ p_current_state: jsonSchema,
3674
+ p_fact: jsonSchema,
3675
+ });
3676
+
3677
+ export const publicServerStatusMergeReturnsSchema = jsonSchema;
3678
+
3679
+ export const publicServerStatusReconcileArgsSchema = z.object({
3680
+ p_server_id: z.string(),
3681
+ });
3682
+
3683
+ export const publicServerStatusReconcileReturnsSchema = jsonSchema;
3684
+
3685
+ export const publicServerStatusReconcileDueArgsSchema = z.object({
3686
+ p_limit: z.number().optional(),
3687
+ });
3688
+
3689
+ export const publicServerStatusReconcileDueReturnsSchema = z.number();
3690
+
3691
+ export const publicServerTunnelSyncArgsSchema = z.object({
3692
+ p_server_id: z.string(),
3294
3693
  });
3295
3694
 
3296
- export const publicServerInstanceProbeReturnsSchema = z.undefined();
3695
+ export const publicServerTunnelSyncReturnsSchema = z.undefined();
3297
3696
 
3298
- export const publicServerInstanceUpsertArgsSchema = z.object({
3697
+ export const publicServerUpsertArgsSchema = z.object({
3698
+ p_compute_node_id: z.string().optional(),
3299
3699
  p_config: jsonSchema.optional(),
3300
3700
  p_id: z.string().optional(),
3301
- p_is_public: z.boolean().optional(),
3302
- p_is_shared: z.boolean().optional(),
3303
- p_name: z.string().optional(),
3304
3701
  p_state: jsonSchema.optional(),
3305
- p_status: publicServerStatusSchema.optional(),
3306
3702
  });
3307
3703
 
3308
- export const publicServerInstanceUpsertReturnsSchema = z.array(
3309
- publicServerInstanceRecordSchema,
3704
+ export const publicServerUpsertReturnsSchema = z.array(
3705
+ z.object({
3706
+ config: jsonSchema,
3707
+ created_at: z.string(),
3708
+ id: z.string(),
3709
+ state: jsonSchema,
3710
+ updated_at: z.string(),
3711
+ }),
3310
3712
  );
3311
3713
 
3312
- export const publicServiceHealthSummaryArgsSchema = z.never();
3313
-
3314
- export const publicServiceHealthRecordSchema = z.object({
3315
- module: z.string().nullable(),
3316
- status: z.string().nullable(),
3317
- last_error_at: z.string().nullable(),
3318
- last_error_message: z.string().nullable(),
3319
- error_count_24h: z.number().nullable(),
3714
+ export const publicSysConfigGetArgsSchema = z.object({
3715
+ p_key: z.string(),
3320
3716
  });
3321
3717
 
3718
+ export const publicSysConfigGetReturnsSchema = jsonSchema;
3719
+
3322
3720
  export const publicSysConfigSetArgsSchema = z.object({
3323
3721
  p_description: z.string().optional(),
3324
3722
  p_key: z.string(),
@@ -3340,44 +3738,6 @@ export const publicSysEventLogArgsSchema = z.object({
3340
3738
 
3341
3739
  export const publicSysEventLogReturnsSchema = z.string();
3342
3740
 
3343
- export const publicSysGetDbSchemaArgsSchema = z.object({
3344
- p_excluded_tables: z.array(z.string()).optional(),
3345
- p_include_comments: z.boolean().optional(),
3346
- p_include_functions: z.boolean().optional(),
3347
- });
3348
-
3349
- export const publicSysGetDbSchemaReturnsSchema = z.string();
3350
-
3351
- export const publicSysInitQueueArgsSchema = z.object({
3352
- name: z.string(),
3353
- });
3354
-
3355
- export const publicSysInitQueueReturnsSchema = z.undefined();
3356
-
3357
- export const publicSysLogListArgsSchema = z.object({
3358
- p_cursor: z.string().optional(),
3359
- p_event_type: z.string().optional(),
3360
- p_level_max: publicSysLogLevelSchema.optional(),
3361
- p_limit: z.number().optional(),
3362
- p_module: z.string().optional(),
3363
- p_resource_id: z.string().optional(),
3364
- p_resource_type: z.string().optional(),
3365
- });
3366
-
3367
- export const publicSysLogRecordSchema = z.object({
3368
- id: z.number().nullable(),
3369
- created_at: z.string().nullable(),
3370
- text: z.string().nullable(),
3371
- level: publicSysLogLevelSchema.nullable(),
3372
- module: z.string().nullable(),
3373
- event_type: z.string().nullable(),
3374
- meta: jsonSchema.nullable(),
3375
- resource_type: z.string().nullable(),
3376
- resource_id: z.string().nullable(),
3377
- resource_name: z.string().nullable(),
3378
- user_id: z.string().nullable(),
3379
- });
3380
-
3381
3741
  export const publicSysLogValidateMetaArgsSchema = z.object({
3382
3742
  p_event_type: z.string(),
3383
3743
  p_meta: jsonSchema,
@@ -3391,6 +3751,13 @@ export const publicSysLogsCleanupArgsSchema = z.object({
3391
3751
 
3392
3752
  export const publicSysLogsCleanupReturnsSchema = z.undefined();
3393
3753
 
3754
+ export const publicSystemCleanupArgsSchema = z.object({
3755
+ p_dry_run: z.boolean().optional(),
3756
+ p_policy_name: z.string().optional(),
3757
+ });
3758
+
3759
+ export const publicSystemCleanupReturnsSchema = jsonSchema;
3760
+
3394
3761
  export const publicSystemConfigPublicDeleteArgsSchema = z.object({
3395
3762
  p_key: z.string(),
3396
3763
  });
@@ -3430,7 +3797,17 @@ export const publicTagDeleteReturnsSchema = z.boolean();
3430
3797
 
3431
3798
  export const publicTagListArgsSchema = z.never();
3432
3799
 
3433
- export const publicTagListReturnsSchema = z.array(publicTagRecordSchema);
3800
+ export const publicTagListReturnsSchema = z.array(
3801
+ z.object({
3802
+ color: z.string(),
3803
+ created_at: z.string(),
3804
+ id: z.string(),
3805
+ instance_count: z.number(),
3806
+ name: z.string(),
3807
+ updated_at: z.string(),
3808
+ user_id: z.string(),
3809
+ }),
3810
+ );
3434
3811
 
3435
3812
  export const publicTagUpsertArgsSchema = z.object({
3436
3813
  p_color: z.string().optional(),
@@ -3438,7 +3815,17 @@ export const publicTagUpsertArgsSchema = z.object({
3438
3815
  p_name: z.string().optional(),
3439
3816
  });
3440
3817
 
3441
- export const publicTagUpsertReturnsSchema = z.array(publicTagRecordSchema);
3818
+ export const publicTagUpsertReturnsSchema = z.array(
3819
+ z.object({
3820
+ color: z.string(),
3821
+ created_at: z.string(),
3822
+ id: z.string(),
3823
+ instance_count: z.number(),
3824
+ name: z.string(),
3825
+ updated_at: z.string(),
3826
+ user_id: z.string(),
3827
+ }),
3828
+ );
3442
3829
 
3443
3830
  export const publicTaskAckArgsSchema = z.object({
3444
3831
  p_msg_id: z.number(),
@@ -3794,21 +4181,49 @@ export const publicTelegramLoginStartArgsSchema = z.object({
3794
4181
  p_use_sms: z.boolean().optional(),
3795
4182
  });
3796
4183
 
3797
- export const publicTelegramLoginStartReturnsSchema = z.undefined();
4184
+ export const publicTelegramLoginResponseSchema = z.object({
4185
+ success: z.boolean().nullable(),
4186
+ step: z.string().nullable(),
4187
+ timeout_seconds: z.number().nullable(),
4188
+ error_message: z.string().nullable(),
4189
+ user_info: jsonSchema.nullable(),
4190
+ });
3798
4191
 
3799
- export const publicTelegramLoginSubmit2faArgsSchema = z.object({
4192
+ export const publicTelegramLoginStepProcessArgsSchema = z.object({
3800
4193
  p_account_id: z.string(),
3801
- p_password: z.string(),
4194
+ p_body: jsonSchema,
4195
+ p_step: z.string(),
4196
+ p_success: z.boolean(),
3802
4197
  });
3803
4198
 
3804
- export const publicTelegramLoginSubmit2faReturnsSchema = z.undefined();
4199
+ export const publicTelegramLoginStepProcessReturnsSchema = z.undefined();
3805
4200
 
3806
4201
  export const publicTelegramLoginSubmitCodeArgsSchema = z.object({
3807
4202
  p_account_id: z.string(),
3808
4203
  p_code: z.string(),
3809
4204
  });
3810
4205
 
3811
- export const publicTelegramLoginSubmitCodeReturnsSchema = z.undefined();
4206
+ export const publicTelegramLoginSubmitCodeReturnsSchema = z.array(
4207
+ publicTelegramLoginResponseSchema,
4208
+ );
4209
+
4210
+ export const publicTelegramLoginSubmitTwoFaArgsSchema = z.object({
4211
+ p_account_id: z.string(),
4212
+ p_password: z.string(),
4213
+ });
4214
+
4215
+ export const publicTelegramLoginSubmitTwoFaReturnsSchema = z.array(
4216
+ publicTelegramLoginResponseSchema,
4217
+ );
4218
+
4219
+ export const publicTelegramServerPostArgsSchema = z.object({
4220
+ p_body: jsonSchema,
4221
+ p_path: z.string(),
4222
+ p_preferred_server_id: z.string(),
4223
+ p_timeout: z.string().optional(),
4224
+ });
4225
+
4226
+ export const publicTelegramServerPostReturnsSchema = jsonSchema;
3812
4227
 
3813
4228
  export const publicTrafficLogDeleteArgsSchema = z.never();
3814
4229
 
@@ -3861,25 +4276,6 @@ export const publicUserDeleteArgsSchema = z.object({
3861
4276
 
3862
4277
  export const publicUserDeleteReturnsSchema = z.undefined();
3863
4278
 
3864
- export const publicUserLogListArgsSchema = z.object({
3865
- p_page: z.number().optional(),
3866
- p_page_size: z.number().optional(),
3867
- });
3868
-
3869
- export const publicUserLogListReturnsSchema = z.array(
3870
- z.object({
3871
- content: z.string().nullable(),
3872
- created_at: z.string().nullable(),
3873
- event_type: z.string(),
3874
- id: z.string(),
3875
- level: z.string(),
3876
- meta: jsonSchema.nullable(),
3877
- resource_id: z.string().nullable(),
3878
- resource_type: z.string().nullable(),
3879
- user_id: z.string(),
3880
- }),
3881
- );
3882
-
3883
4279
  export const publicUserLogRecordArgsSchema = z.object({
3884
4280
  p_content: z.string(),
3885
4281
  p_event_type: z.string(),
@@ -3900,14 +4296,16 @@ export const publicUserNotificationsCleanupReturnsSchema = z.undefined();
3900
4296
 
3901
4297
  export const publicUserProfileGetArgsSchema = z.never();
3902
4298
 
3903
- export const publicUserProfileRecordSchema = z.object({
3904
- id: z.string().nullable(),
3905
- full_name: z.string().nullable(),
3906
- username: z.string().nullable(),
3907
- website: z.string().nullable(),
3908
- avatar_url: z.string().nullable(),
3909
- updated_at: z.string().nullable(),
3910
- });
4299
+ export const publicUserProfileGetReturnsSchema = z.array(
4300
+ z.object({
4301
+ avatar_url: z.string().nullable(),
4302
+ full_name: z.string().nullable(),
4303
+ id: z.string(),
4304
+ updated_at: z.string().nullable(),
4305
+ username: z.string().nullable(),
4306
+ website: z.string().nullable(),
4307
+ }),
4308
+ );
3911
4309
 
3912
4310
  export const publicUserProfileUpsertArgsSchema = z.object({
3913
4311
  p_avatar_url: z.string(),
@@ -3916,14 +4314,16 @@ export const publicUserProfileUpsertArgsSchema = z.object({
3916
4314
  p_website: z.string(),
3917
4315
  });
3918
4316
 
3919
- export const publicUserProfileUpsertReturnsSchema = z.object({
3920
- avatar_url: z.string().nullable(),
3921
- full_name: z.string().nullable(),
3922
- id: z.string(),
3923
- updated_at: z.string().nullable(),
3924
- username: z.string().nullable(),
3925
- website: z.string().nullable(),
3926
- });
4317
+ export const publicUserProfileUpsertReturnsSchema = z.array(
4318
+ z.object({
4319
+ avatar_url: z.string().nullable(),
4320
+ full_name: z.string().nullable(),
4321
+ id: z.string(),
4322
+ updated_at: z.string().nullable(),
4323
+ username: z.string().nullable(),
4324
+ website: z.string().nullable(),
4325
+ }),
4326
+ );
3927
4327
 
3928
4328
  export const publicUserRoleDeleteArgsSchema = z.object({
3929
4329
  p_role: publicAppRoleSchema,
@@ -3945,28 +4345,10 @@ export const publicUserRoleUpsertArgsSchema = z.object({
3945
4345
 
3946
4346
  export const publicUserRoleUpsertReturnsSchema = z.undefined();
3947
4347
 
3948
- export const publicAdkArtifactListKeysReturnsSchema = z.array(
3949
- publicAdkArtifactKeyRecordSchema,
3950
- );
3951
-
3952
- export const publicAdkArtifactListVersionsMetaReturnsSchema = z.array(
3953
- publicAdkArtifactMetaRecordSchema,
3954
- );
3955
-
3956
4348
  export const publicAuditProjectDashboardStatsReturnsSchema = z.array(
3957
4349
  publicAuditProjectStatsRecordSchema,
3958
4350
  );
3959
4351
 
3960
- export const publicAuditProjectGetReturnsSchema = z.array(
3961
- publicAuditProjectRecordSchema,
3962
- );
3963
-
3964
- export const publicBrowserGetReturnsSchema = z.array(publicBrowserRecordSchema);
3965
-
3966
- export const publicCampaignGetReturnsSchema = z.array(
3967
- publicCampaignRecordSchema,
3968
- );
3969
-
3970
4352
  export const publicCloudAccountBulkCreateReturnsSchema = z.array(
3971
4353
  publicCloudAccountRecordSchema,
3972
4354
  );
@@ -3975,54 +4357,22 @@ export const publicComputeNodeGetReturnsSchema = z.array(
3975
4357
  publicComputeNodeRecordSchema,
3976
4358
  );
3977
4359
 
3978
- export const publicComputeNodeGetSecretReturnsSchema = z.array(
3979
- publicComputeNodeSecretRecordSchema,
3980
- );
3981
-
3982
- export const publicComputeNodeListReturnsSchema = z.array(
3983
- publicComputeNodeListRecordSchema,
3984
- );
3985
-
3986
- export const publicContactGetReturnsSchema = z.array(publicContactRecordSchema);
3987
-
3988
- export const publicDbaLintScanReturnsSchema = z.array(publicDbaLintIssueSchema);
3989
-
3990
- export const publicInstanceTagsGetReturnsSchema = z.array(
3991
- publicTagRecordSchema,
3992
- );
3993
-
3994
4360
  export const publicJobQueueListDlqReturnsSchema = z.array(
3995
4361
  publicJobQueueDlqRecordSchema,
3996
4362
  );
3997
4363
 
3998
- export const publicNotificationGetPendingActionsReturnsSchema = z.array(
3999
- publicUserNotificationRecordSchema,
4364
+ export const publicLogListUnifiedReturnsSchema = z.array(
4365
+ publicLogUnifiedRecordSchema,
4000
4366
  );
4001
4367
 
4002
- export const publicOutreachTaskListReturnsSchema = z.array(
4003
- publicOutreachTaskRecordSchema,
4368
+ export const publicNotificationGetPendingActionsReturnsSchema = z.array(
4369
+ publicUserNotificationRecordSchema,
4004
4370
  );
4005
4371
 
4006
- export const publicProxyGetReturnsSchema = z.array(publicProxyRecordSchema);
4007
-
4008
4372
  export const publicResourceListReturnsSchema = z.array(
4009
4373
  publicResourceListRecordSchema,
4010
4374
  );
4011
4375
 
4012
- export const publicServerInstanceBootstrapReturnsSchema = z.array(
4013
- publicBootstrapResultSchema,
4014
- );
4015
-
4016
- export const publicServerInstanceGetReturnsSchema = z.array(
4017
- publicServerInstanceRecordSchema,
4018
- );
4019
-
4020
- export const publicServiceHealthSummaryReturnsSchema = z.array(
4021
- publicServiceHealthRecordSchema,
4022
- );
4023
-
4024
- export const publicSysLogListReturnsSchema = z.array(publicSysLogRecordSchema);
4025
-
4026
- export const publicUserProfileGetReturnsSchema = z.array(
4027
- publicUserProfileRecordSchema,
4376
+ export const publicTelegramLoginStartReturnsSchema = z.array(
4377
+ publicTelegramLoginResponseSchema,
4028
4378
  );