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
@@ -30,12 +30,15 @@ export const publicCloudAccountStatusSchema = z.enum([
30
30
  "suspended",
31
31
  "disabled",
32
32
  ]);
33
- export const publicComputeNodeStatusSchema = z.enum(["online", "offline"]);
34
- export const publicServerStatusSchema = z.enum([
35
- "created",
36
- "online",
37
- "offline",
33
+ export const publicOpenclawStatusSchema = z.enum([
34
+ "disabled",
35
+ "pending",
36
+ "starting",
37
+ "running",
38
+ "stopping",
39
+ "stopped",
38
40
  "error",
41
+ "migrating",
39
42
  ]);
40
43
  export const publicSysLogLevelSchema = z.enum(["error", "warn", "info"]);
41
44
  export const publicTaskCodeTypeSchema = z.enum([
@@ -55,6 +58,14 @@ export const publicTaskStatusSchema = z.enum([
55
58
  "cancelled",
56
59
  "paused",
57
60
  ]);
61
+ export const publicTelegramLoginStateSchema = z.enum([
62
+ "idle",
63
+ "wait_code",
64
+ "need_2fa",
65
+ "wait_password",
66
+ "success",
67
+ "failed",
68
+ ]);
58
69
  export const publicTelegramLoginStepSchema = z.enum([
59
70
  "pending",
60
71
  "send_code",
@@ -278,39 +289,6 @@ export const publicAdkSessionsUpdateSchema = z.object({
278
289
  updated_at: z.string().optional().nullable(),
279
290
  user_id: z.string().optional(),
280
291
  });
281
- export const publicAgentsRowSchema = z.object({
282
- config: jsonSchema.nullable(),
283
- created_at: z.string(),
284
- description: z.string().nullable(),
285
- id: z.string(),
286
- instruction: z.string().nullable(),
287
- max_step: z.number().nullable(),
288
- runtime: z.string().nullable(),
289
- tools: z.string().nullable(),
290
- updated_at: z.string(),
291
- });
292
- export const publicAgentsInsertSchema = z.object({
293
- config: jsonSchema.optional().nullable(),
294
- created_at: z.string().optional(),
295
- description: z.string().optional().nullable(),
296
- id: z.string(),
297
- instruction: z.string().optional().nullable(),
298
- max_step: z.number().optional().nullable(),
299
- runtime: z.string().optional().nullable(),
300
- tools: z.string().optional().nullable(),
301
- updated_at: z.string().optional(),
302
- });
303
- export const publicAgentsUpdateSchema = z.object({
304
- config: jsonSchema.optional().nullable(),
305
- created_at: z.string().optional(),
306
- description: z.string().optional().nullable(),
307
- id: z.string().optional(),
308
- instruction: z.string().optional().nullable(),
309
- max_step: z.number().optional().nullable(),
310
- runtime: z.string().optional().nullable(),
311
- tools: z.string().optional().nullable(),
312
- updated_at: z.string().optional(),
313
- });
314
292
  export const publicAuditAssetsRowSchema = z.object({
315
293
  content: z.string(),
316
294
  created_at: z.string(),
@@ -711,6 +689,36 @@ export const publicChatsUpdateSchema = z.object({
711
689
  user_id: z.string().optional().nullable(),
712
690
  visibility: publicChatVisibilitySchema.optional(),
713
691
  });
692
+ export const publicCleanupPoliciesRowSchema = z.object({
693
+ cleanup_function: z.string(),
694
+ created_at: z.string(),
695
+ enabled: z.boolean(),
696
+ id: z.string(),
697
+ policy_name: z.string(),
698
+ retention_days: z.number(),
699
+ table_name: z.string(),
700
+ updated_at: z.string(),
701
+ });
702
+ export const publicCleanupPoliciesInsertSchema = z.object({
703
+ cleanup_function: z.string(),
704
+ created_at: z.string().optional(),
705
+ enabled: z.boolean().optional(),
706
+ id: z.string().optional(),
707
+ policy_name: z.string(),
708
+ retention_days: z.number().optional(),
709
+ table_name: z.string(),
710
+ updated_at: z.string().optional(),
711
+ });
712
+ export const publicCleanupPoliciesUpdateSchema = z.object({
713
+ cleanup_function: z.string().optional(),
714
+ created_at: z.string().optional(),
715
+ enabled: z.boolean().optional(),
716
+ id: z.string().optional(),
717
+ policy_name: z.string().optional(),
718
+ retention_days: z.number().optional(),
719
+ table_name: z.string().optional(),
720
+ updated_at: z.string().optional(),
721
+ });
714
722
  export const publicCloudAccountsRowSchema = z.object({
715
723
  access_token: z.string().nullable(),
716
724
  account_email: z.string().nullable(),
@@ -813,7 +821,6 @@ export const publicComputeNodesRowSchema = z.object({
813
821
  name: z.string(),
814
822
  port: z.number(),
815
823
  provider: z.string(),
816
- status: publicComputeNodeStatusSchema.nullable(),
817
824
  updated_at: z.string(),
818
825
  user_id: z.string(),
819
826
  username: z.string().nullable(),
@@ -827,7 +834,6 @@ export const publicComputeNodesInsertSchema = z.object({
827
834
  name: z.string(),
828
835
  port: z.number().optional(),
829
836
  provider: z.string().optional(),
830
- status: publicComputeNodeStatusSchema.optional().nullable(),
831
837
  updated_at: z.string().optional(),
832
838
  user_id: z.string().optional(),
833
839
  username: z.string().optional().nullable(),
@@ -841,7 +847,6 @@ export const publicComputeNodesUpdateSchema = z.object({
841
847
  name: z.string().optional(),
842
848
  port: z.number().optional(),
843
849
  provider: z.string().optional(),
844
- status: publicComputeNodeStatusSchema.optional().nullable(),
845
850
  updated_at: z.string().optional(),
846
851
  user_id: z.string().optional(),
847
852
  username: z.string().optional().nullable(),
@@ -1018,6 +1023,60 @@ export const publicMitmRulesRelationshipsSchema = z.tuple([
1018
1023
  referencedColumns: z.tuple([z.literal("id")]),
1019
1024
  }),
1020
1025
  ]);
1026
+ export const publicOpenclawsRowSchema = z.object({
1027
+ config: jsonSchema,
1028
+ created_at: z.string(),
1029
+ desired_status: publicOpenclawStatusSchema,
1030
+ id: z.string(),
1031
+ metadata: jsonSchema.nullable(),
1032
+ name: z.string().nullable(),
1033
+ resolved_config: jsonSchema,
1034
+ server_id: z.string().nullable(),
1035
+ state: jsonSchema.nullable(),
1036
+ status: publicOpenclawStatusSchema,
1037
+ status_reason: z.string().nullable(),
1038
+ updated_at: z.string(),
1039
+ user_id: z.string(),
1040
+ });
1041
+ export const publicOpenclawsInsertSchema = z.object({
1042
+ config: jsonSchema.optional(),
1043
+ created_at: z.string().optional(),
1044
+ desired_status: publicOpenclawStatusSchema.optional(),
1045
+ id: z.string().optional(),
1046
+ metadata: jsonSchema.optional().nullable(),
1047
+ name: z.string().optional().nullable(),
1048
+ resolved_config: jsonSchema.optional(),
1049
+ server_id: z.string().optional().nullable(),
1050
+ state: jsonSchema.optional().nullable(),
1051
+ status: publicOpenclawStatusSchema.optional(),
1052
+ status_reason: z.string().optional().nullable(),
1053
+ updated_at: z.string().optional(),
1054
+ user_id: z.string().optional(),
1055
+ });
1056
+ export const publicOpenclawsUpdateSchema = z.object({
1057
+ config: jsonSchema.optional(),
1058
+ created_at: z.string().optional(),
1059
+ desired_status: publicOpenclawStatusSchema.optional(),
1060
+ id: z.string().optional(),
1061
+ metadata: jsonSchema.optional().nullable(),
1062
+ name: z.string().optional().nullable(),
1063
+ resolved_config: jsonSchema.optional(),
1064
+ server_id: z.string().optional().nullable(),
1065
+ state: jsonSchema.optional().nullable(),
1066
+ status: publicOpenclawStatusSchema.optional(),
1067
+ status_reason: z.string().optional().nullable(),
1068
+ updated_at: z.string().optional(),
1069
+ user_id: z.string().optional(),
1070
+ });
1071
+ export const publicOpenclawsRelationshipsSchema = z.tuple([
1072
+ z.object({
1073
+ foreignKeyName: z.literal("openclaws_server_id_fkey"),
1074
+ columns: z.tuple([z.literal("server_id")]),
1075
+ isOneToOne: z.literal(false),
1076
+ referencedRelation: z.literal("servers"),
1077
+ referencedColumns: z.tuple([z.literal("id")]),
1078
+ }),
1079
+ ]);
1021
1080
  export const publicOutreachMessagesRowSchema = z.object({
1022
1081
  content: z.string().nullable(),
1023
1082
  created_at: z.string(),
@@ -1246,37 +1305,22 @@ export const publicServersRowSchema = z.object({
1246
1305
  config: jsonSchema.nullable(),
1247
1306
  created_at: z.string(),
1248
1307
  id: z.string(),
1249
- is_public: z.boolean().nullable(),
1250
- is_shared: z.boolean().nullable(),
1251
- name: z.string().nullable(),
1252
1308
  state: jsonSchema.nullable(),
1253
- status: publicServerStatusSchema.nullable(),
1254
1309
  updated_at: z.string(),
1255
- user_id: z.string().nullable(),
1256
1310
  });
1257
1311
  export const publicServersInsertSchema = z.object({
1258
1312
  config: jsonSchema.optional().nullable(),
1259
1313
  created_at: z.string().optional(),
1260
1314
  id: z.string(),
1261
- is_public: z.boolean().optional().nullable(),
1262
- is_shared: z.boolean().optional().nullable(),
1263
- name: z.string().optional().nullable(),
1264
1315
  state: jsonSchema.optional().nullable(),
1265
- status: publicServerStatusSchema.optional().nullable(),
1266
1316
  updated_at: z.string().optional(),
1267
- user_id: z.string().optional().nullable(),
1268
1317
  });
1269
1318
  export const publicServersUpdateSchema = z.object({
1270
1319
  config: jsonSchema.optional().nullable(),
1271
1320
  created_at: z.string().optional(),
1272
1321
  id: z.string().optional(),
1273
- is_public: z.boolean().optional().nullable(),
1274
- is_shared: z.boolean().optional().nullable(),
1275
- name: z.string().optional().nullable(),
1276
1322
  state: jsonSchema.optional().nullable(),
1277
- status: publicServerStatusSchema.optional().nullable(),
1278
1323
  updated_at: z.string().optional(),
1279
- user_id: z.string().optional().nullable(),
1280
1324
  });
1281
1325
  export const publicSysConfigRowSchema = z.object({
1282
1326
  created_at: z.string().nullable(),
@@ -1629,21 +1673,6 @@ export const publicUserRolesUpdateSchema = z.object({
1629
1673
  role: publicAppRoleSchema.optional(),
1630
1674
  user_id: z.string().optional(),
1631
1675
  });
1632
- export const publicSysConfigGetArgsSchema = z.object({
1633
- p_key: z.string(),
1634
- });
1635
- export const publicSysConfigGetReturnsSchema = jsonSchema;
1636
- export const publicActionToolQueryArgsSchema = z.object({
1637
- p_prefix: z.string().optional(),
1638
- });
1639
- export const publicActionToolQueryReturnsSchema = jsonSchema;
1640
- export const publicActionToolReplyToUserArgsSchema = z.object({
1641
- p_actions: jsonSchema.optional(),
1642
- p_chat_id: z.string().optional(),
1643
- p_text: z.string().optional(),
1644
- p_user_id: z.string().optional(),
1645
- });
1646
- export const publicActionToolReplyToUserReturnsSchema = jsonSchema;
1647
1676
  export const publicAdkAgentListArgsSchema = z.never();
1648
1677
  export const publicAdkAgentListReturnsSchema = z.array(z.object({
1649
1678
  avatar_url: z.string().nullable(),
@@ -1667,27 +1696,6 @@ export const publicAdkArtifactGetArgsSchema = z.object({
1667
1696
  p_version: z.number().optional(),
1668
1697
  });
1669
1698
  export const publicAdkArtifactGetReturnsSchema = jsonSchema;
1670
- export const publicAdkArtifactListKeysArgsSchema = z.object({
1671
- p_app_name: z.string(),
1672
- p_session_id: z.string(),
1673
- p_user_id: z.string(),
1674
- });
1675
- export const publicAdkArtifactKeyRecordSchema = z.object({
1676
- filename: z.string().nullable(),
1677
- });
1678
- export const publicAdkArtifactListVersionsMetaArgsSchema = z.object({
1679
- p_app_name: z.string(),
1680
- p_filename: z.string(),
1681
- p_session_id: z.string(),
1682
- p_user_id: z.string(),
1683
- });
1684
- export const publicAdkArtifactMetaRecordSchema = z.object({
1685
- version: z.number().nullable(),
1686
- canonical_uri: z.string().nullable(),
1687
- custom_metadata: jsonSchema.nullable(),
1688
- create_time: z.number().nullable(),
1689
- mime_type: z.string().nullable(),
1690
- });
1691
1699
  export const publicAdkArtifactSaveArgsSchema = z.object({
1692
1700
  p_app_name: z.string(),
1693
1701
  p_canonical_uri: z.string(),
@@ -1751,11 +1759,7 @@ export const publicAdkEventUpsertArgsSchema = z.object({
1751
1759
  p_usage_metadata: jsonSchema.optional(),
1752
1760
  p_user_id: z.string().optional(),
1753
1761
  });
1754
- export const publicAdkEventUpsertReturnsSchema = jsonSchema;
1755
- export const publicAdkEventUpsertFromJsonArgsSchema = z.object({
1756
- p_payload: jsonSchema,
1757
- });
1758
- export const publicAdkEventUpsertFromJsonReturnsSchema = z.object({
1762
+ export const publicAdkEventUpsertReturnsSchema = z.array(z.object({
1759
1763
  actions: jsonSchema.nullable(),
1760
1764
  app_name: z.string().nullable(),
1761
1765
  author: z.string().nullable(),
@@ -1780,7 +1784,7 @@ export const publicAdkEventUpsertFromJsonReturnsSchema = z.object({
1780
1784
  updated_at: z.string(),
1781
1785
  usage_metadata: jsonSchema.nullable(),
1782
1786
  user_id: z.string().nullable(),
1783
- });
1787
+ }));
1784
1788
  export const publicAdkQuickStartListArgsSchema = z.object({
1785
1789
  p_agent_name: z.string().optional(),
1786
1790
  });
@@ -1841,12 +1845,6 @@ export const publicAgentSignalWakeupArgsSchema = z.object({
1841
1845
  p_session_id: z.string(),
1842
1846
  });
1843
1847
  export const publicAgentSignalWakeupReturnsSchema = jsonSchema;
1844
- export const publicAgentToolExecReadSqlArgsSchema = z.object({
1845
- p_max_chars: z.number().optional(),
1846
- p_max_rows: z.number().optional(),
1847
- sql_query: z.string(),
1848
- });
1849
- export const publicAgentToolExecReadSqlReturnsSchema = z.string();
1850
1848
  export const publicAuditArtifactListArgsSchema = z.object({
1851
1849
  p_project_id: z.string(),
1852
1850
  });
@@ -1866,9 +1864,9 @@ export const publicAuditArtifactListReturnsSchema = z.array(z.object({
1866
1864
  export const publicAuditAssetListCursorArgsSchema = z.object({
1867
1865
  p_cursor: z.string().optional(),
1868
1866
  p_cursor_id: z.string().optional(),
1869
- p_kw: z.string().optional(),
1870
1867
  p_limit: z.number().optional(),
1871
1868
  p_project_id: z.string(),
1869
+ p_search: z.string().optional(),
1872
1870
  });
1873
1871
  export const publicAuditAssetListCursorReturnsSchema = z.array(z.object({
1874
1872
  content: z.string(),
@@ -1883,9 +1881,9 @@ export const publicAuditAssetListCursorReturnsSchema = z.array(z.object({
1883
1881
  export const publicAuditFindingListCursorArgsSchema = z.object({
1884
1882
  p_cursor: z.string().optional(),
1885
1883
  p_cursor_id: z.string().optional(),
1886
- p_kw: z.string().optional(),
1887
1884
  p_limit: z.number().optional(),
1888
1885
  p_project_id: z.string(),
1886
+ p_search: z.string().optional(),
1889
1887
  });
1890
1888
  export const publicAuditFindingListCursorReturnsSchema = z.array(z.object({
1891
1889
  ai_analysis: z.string().nullable(),
@@ -1930,31 +1928,53 @@ export const publicAuditProjectDeleteReturnsSchema = z.undefined();
1930
1928
  export const publicAuditProjectGetArgsSchema = z.object({
1931
1929
  p_id: z.string(),
1932
1930
  });
1933
- export const publicAuditProjectRecordSchema = z.object({
1934
- id: z.string().nullable(),
1935
- created_at: z.string().nullable(),
1936
- updated_at: z.string().nullable(),
1937
- user_id: z.string().nullable(),
1938
- name: z.string().nullable(),
1939
- target: z.string().nullable(),
1940
- repo_url: z.string().nullable(),
1941
- repo_branch: z.string().nullable(),
1942
- config: jsonSchema.nullable(),
1943
- worker_id: z.string().nullable(),
1944
- });
1931
+ export const publicAuditProjectGetReturnsSchema = z.array(z.object({
1932
+ config: jsonSchema,
1933
+ created_at: z.string(),
1934
+ id: z.string(),
1935
+ name: z.string(),
1936
+ repo_branch: z.string(),
1937
+ repo_url: z.string(),
1938
+ target: z.string(),
1939
+ updated_at: z.string(),
1940
+ user_id: z.string(),
1941
+ worker_id: z.string(),
1942
+ }));
1945
1943
  export const publicAuditProjectListArgsSchema = z.object({
1946
1944
  p_kw: z.string().optional(),
1947
1945
  p_page_no: z.number().optional(),
1948
1946
  p_page_size: z.number().optional(),
1949
1947
  });
1950
- export const publicAuditProjectListReturnsSchema = z.array(publicAuditProjectRecordSchema);
1948
+ export const publicAuditProjectListReturnsSchema = z.array(z.object({
1949
+ config: jsonSchema,
1950
+ created_at: z.string(),
1951
+ id: z.string(),
1952
+ name: z.string(),
1953
+ repo_branch: z.string(),
1954
+ repo_url: z.string(),
1955
+ target: z.string(),
1956
+ updated_at: z.string(),
1957
+ user_id: z.string(),
1958
+ worker_id: z.string(),
1959
+ }));
1951
1960
  export const publicAuditProjectListCursorArgsSchema = z.object({
1952
1961
  p_cursor: z.string().optional(),
1953
1962
  p_cursor_id: z.string().optional(),
1954
- p_kw: z.string().optional(),
1955
1963
  p_limit: z.number().optional(),
1964
+ p_search: z.string().optional(),
1956
1965
  });
1957
- export const publicAuditProjectListCursorReturnsSchema = z.array(publicAuditProjectRecordSchema);
1966
+ export const publicAuditProjectListCursorReturnsSchema = z.array(z.object({
1967
+ config: jsonSchema,
1968
+ created_at: z.string(),
1969
+ id: z.string(),
1970
+ name: z.string(),
1971
+ repo_branch: z.string(),
1972
+ repo_url: z.string(),
1973
+ target: z.string(),
1974
+ updated_at: z.string(),
1975
+ user_id: z.string(),
1976
+ worker_id: z.string(),
1977
+ }));
1958
1978
  export const publicAuditProjectUpsertArgsSchema = z.object({
1959
1979
  p_config: jsonSchema.optional(),
1960
1980
  p_id: z.string(),
@@ -1964,7 +1984,18 @@ export const publicAuditProjectUpsertArgsSchema = z.object({
1964
1984
  p_target: z.string().optional(),
1965
1985
  p_worker_id: z.string().optional(),
1966
1986
  });
1967
- export const publicAuditProjectUpsertReturnsSchema = z.string();
1987
+ export const publicAuditProjectUpsertReturnsSchema = z.array(z.object({
1988
+ config: jsonSchema,
1989
+ created_at: z.string(),
1990
+ id: z.string(),
1991
+ name: z.string(),
1992
+ repo_branch: z.string(),
1993
+ repo_url: z.string(),
1994
+ target: z.string(),
1995
+ updated_at: z.string(),
1996
+ user_id: z.string(),
1997
+ worker_id: z.string(),
1998
+ }));
1968
1999
  export const publicAuditSkillListArgsSchema = z.object({
1969
2000
  p_project_id: z.string(),
1970
2001
  });
@@ -1994,28 +2025,43 @@ export const publicBrowserEnsureAssociationReturnsSchema = jsonSchema;
1994
2025
  export const publicBrowserGetArgsSchema = z.object({
1995
2026
  p_id: z.string(),
1996
2027
  });
1997
- export const publicBrowserRecordSchema = z.object({
1998
- id: z.string().nullable(),
1999
- created_at: z.string().nullable(),
2000
- updated_at: z.string().nullable(),
2001
- title: z.string().nullable(),
2002
- description: z.string().nullable(),
2003
- profile_id: z.string().nullable(),
2004
- provider: z.string().nullable(),
2005
- provider_config: jsonSchema.nullable(),
2006
- config: jsonSchema.nullable(),
2007
- sandbox_id: z.string().nullable(),
2008
- vnc_url: z.string().nullable(),
2009
- browser_api_url: z.string().nullable(),
2010
- worker_name: z.string().nullable(),
2011
- is_running: z.boolean().nullable(),
2012
- });
2028
+ export const publicBrowserGetReturnsSchema = z.array(z.object({
2029
+ browser_api_url: z.string(),
2030
+ config: jsonSchema,
2031
+ created_at: z.string(),
2032
+ description: z.string(),
2033
+ id: z.string(),
2034
+ is_running: z.boolean(),
2035
+ profile_id: z.string(),
2036
+ provider: z.string(),
2037
+ provider_config: jsonSchema,
2038
+ sandbox_id: z.string(),
2039
+ title: z.string(),
2040
+ updated_at: z.string(),
2041
+ vnc_url: z.string(),
2042
+ worker_name: z.string(),
2043
+ }));
2013
2044
  export const publicBrowserListArgsSchema = z.object({
2014
2045
  p_kw: z.string().optional(),
2015
2046
  p_page_no: z.number().optional(),
2016
2047
  p_page_size: z.number().optional(),
2017
2048
  });
2018
- export const publicBrowserListReturnsSchema = z.array(publicBrowserRecordSchema);
2049
+ export const publicBrowserListReturnsSchema = z.array(z.object({
2050
+ browser_api_url: z.string(),
2051
+ config: jsonSchema,
2052
+ created_at: z.string(),
2053
+ description: z.string(),
2054
+ id: z.string(),
2055
+ is_running: z.boolean(),
2056
+ profile_id: z.string(),
2057
+ provider: z.string(),
2058
+ provider_config: jsonSchema,
2059
+ sandbox_id: z.string(),
2060
+ title: z.string(),
2061
+ updated_at: z.string(),
2062
+ vnc_url: z.string(),
2063
+ worker_name: z.string(),
2064
+ }));
2019
2065
  export const publicBrowserUpdateStateArgsSchema = z.object({
2020
2066
  p_browser_id: z.string(),
2021
2067
  p_state: jsonSchema,
@@ -2030,7 +2076,22 @@ export const publicBrowserUpsertArgsSchema = z.object({
2030
2076
  p_provider_config: jsonSchema.optional(),
2031
2077
  p_title: z.string().optional(),
2032
2078
  });
2033
- export const publicBrowserUpsertReturnsSchema = z.array(publicBrowserRecordSchema);
2079
+ export const publicBrowserUpsertReturnsSchema = z.array(z.object({
2080
+ browser_api_url: z.string(),
2081
+ config: jsonSchema,
2082
+ created_at: z.string(),
2083
+ description: z.string(),
2084
+ id: z.string(),
2085
+ is_running: z.boolean(),
2086
+ profile_id: z.string(),
2087
+ provider: z.string(),
2088
+ provider_config: jsonSchema,
2089
+ sandbox_id: z.string(),
2090
+ title: z.string(),
2091
+ updated_at: z.string(),
2092
+ vnc_url: z.string(),
2093
+ worker_name: z.string(),
2094
+ }));
2034
2095
  export const publicCampaignDeleteArgsSchema = z.object({
2035
2096
  p_id: z.string(),
2036
2097
  });
@@ -2038,30 +2099,46 @@ export const publicCampaignDeleteReturnsSchema = z.boolean();
2038
2099
  export const publicCampaignGetArgsSchema = z.object({
2039
2100
  p_id: z.string(),
2040
2101
  });
2041
- export const publicCampaignRecordSchema = z.object({
2042
- id: z.string().nullable(),
2043
- created_at: z.string().nullable(),
2044
- updated_at: z.string().nullable(),
2045
- started_at: z.string().nullable(),
2046
- completed_at: z.string().nullable(),
2047
- user_id: z.string().nullable(),
2048
- name: z.string().nullable(),
2049
- description: z.string().nullable(),
2050
- platform: z.string().nullable(),
2051
- status: z.string().nullable(),
2052
- config: jsonSchema.nullable(),
2053
- message_template: z.string().nullable(),
2054
- target_filter: jsonSchema.nullable(),
2055
- schedule: jsonSchema.nullable(),
2056
- stats: jsonSchema.nullable(),
2057
- });
2102
+ export const publicCampaignGetReturnsSchema = z.array(z.object({
2103
+ completed_at: z.string(),
2104
+ config: jsonSchema,
2105
+ created_at: z.string(),
2106
+ description: z.string(),
2107
+ id: z.string(),
2108
+ message_template: z.string(),
2109
+ name: z.string(),
2110
+ platform: z.string(),
2111
+ schedule: jsonSchema,
2112
+ started_at: z.string(),
2113
+ stats: jsonSchema,
2114
+ status: z.string(),
2115
+ target_filter: jsonSchema,
2116
+ updated_at: z.string(),
2117
+ user_id: z.string(),
2118
+ }));
2058
2119
  export const publicCampaignListCursorArgsSchema = z.object({
2059
2120
  p_cursor: z.string().optional(),
2060
2121
  p_limit: z.number().optional(),
2061
2122
  p_search: z.string().optional(),
2062
2123
  p_status: z.string().optional(),
2063
2124
  });
2064
- export const publicCampaignListCursorReturnsSchema = z.array(publicCampaignRecordSchema);
2125
+ export const publicCampaignListCursorReturnsSchema = z.array(z.object({
2126
+ completed_at: z.string(),
2127
+ config: jsonSchema,
2128
+ created_at: z.string(),
2129
+ description: z.string(),
2130
+ id: z.string(),
2131
+ message_template: z.string(),
2132
+ name: z.string(),
2133
+ platform: z.string(),
2134
+ schedule: jsonSchema,
2135
+ started_at: z.string(),
2136
+ stats: jsonSchema,
2137
+ status: z.string(),
2138
+ target_filter: jsonSchema,
2139
+ updated_at: z.string(),
2140
+ user_id: z.string(),
2141
+ }));
2065
2142
  export const publicCampaignPauseArgsSchema = z.object({
2066
2143
  p_id: z.string(),
2067
2144
  });
@@ -2080,7 +2157,23 @@ export const publicCampaignUpsertArgsSchema = z.object({
2080
2157
  p_schedule: jsonSchema.optional(),
2081
2158
  p_target_filter: jsonSchema.optional(),
2082
2159
  });
2083
- export const publicCampaignUpsertReturnsSchema = z.array(publicCampaignRecordSchema);
2160
+ export const publicCampaignUpsertReturnsSchema = z.array(z.object({
2161
+ completed_at: z.string(),
2162
+ config: jsonSchema,
2163
+ created_at: z.string(),
2164
+ description: z.string(),
2165
+ id: z.string(),
2166
+ message_template: z.string(),
2167
+ name: z.string(),
2168
+ platform: z.string(),
2169
+ schedule: jsonSchema,
2170
+ started_at: z.string(),
2171
+ stats: jsonSchema,
2172
+ status: z.string(),
2173
+ target_filter: jsonSchema,
2174
+ updated_at: z.string(),
2175
+ user_id: z.string(),
2176
+ }));
2084
2177
  export const publicChatGetArgsSchema = z.object({
2085
2178
  p_chat_id: z.string(),
2086
2179
  });
@@ -2156,7 +2249,7 @@ export const publicChatUpsertArgsSchema = z.object({
2156
2249
  p_id: z.string().optional(),
2157
2250
  p_title: z.string().optional(),
2158
2251
  });
2159
- export const publicChatUpsertReturnsSchema = z.object({
2252
+ export const publicChatUpsertReturnsSchema = z.array(z.object({
2160
2253
  agent_id: z.string(),
2161
2254
  created_at: z.string(),
2162
2255
  id: z.string(),
@@ -2167,12 +2260,14 @@ export const publicChatUpsertReturnsSchema = z.object({
2167
2260
  updated_at: z.string().nullable(),
2168
2261
  user_id: z.string().nullable(),
2169
2262
  visibility: publicChatVisibilitySchema,
2170
- });
2263
+ }));
2171
2264
  export const publicCheckAccountRateLimitArgsSchema = z.object({
2172
2265
  p_account_id: z.string(),
2173
- p_campaign_config: jsonSchema,
2266
+ p_campaign_config: jsonSchema.optional(),
2174
2267
  });
2175
2268
  export const publicCheckAccountRateLimitReturnsSchema = z.boolean();
2269
+ export const publicCleanupServersIngressArgsSchema = z.never();
2270
+ export const publicCleanupServersIngressReturnsSchema = z.number();
2176
2271
  export const publicCloudAccountBulkCreateArgsSchema = z.object({
2177
2272
  p_account_names: z.array(z.string()),
2178
2273
  p_platform_name: z.string(),
@@ -2223,10 +2318,10 @@ export const publicCloudAccountGetArgsSchema = z.object({
2223
2318
  export const publicCloudAccountGetReturnsSchema = z.array(publicCloudAccountRecordSchema);
2224
2319
  export const publicCloudAccountListCursorArgsSchema = z.object({
2225
2320
  p_cursor: z.string().optional(),
2226
- p_kw: z.string().optional(),
2227
2321
  p_limit: z.number().optional(),
2228
2322
  p_platform_name: z.string().optional(),
2229
- p_status: publicCloudAccountStatusSchema.optional(),
2323
+ p_search: z.string().optional(),
2324
+ p_status: z.string().optional(),
2230
2325
  });
2231
2326
  export const publicCloudAccountListCursorReturnsSchema = z.array(publicCloudAccountRecordSchema);
2232
2327
  export const publicCloudAccountMarkRefreshFailedArgsSchema = z.object({
@@ -2271,12 +2366,17 @@ export const publicCloudAccountUpsertArgsSchema = z.object({
2271
2366
  p_user_id: z.string().optional(),
2272
2367
  });
2273
2368
  export const publicCloudAccountUpsertReturnsSchema = z.array(publicCloudAccountRecordSchema);
2369
+ export const publicCodeRunResultParseArgsSchema = z.object({
2370
+ p_result: jsonSchema,
2371
+ });
2372
+ export const publicCodeRunResultParseReturnsSchema = jsonSchema;
2274
2373
  export const publicComputeNodeDeleteArgsSchema = z.object({
2275
2374
  p_id: z.string(),
2276
2375
  });
2277
2376
  export const publicComputeNodeDeleteReturnsSchema = z.undefined();
2278
2377
  export const publicComputeNodeGetArgsSchema = z.object({
2279
- p_id: z.string(),
2378
+ p_id: z.string().optional(),
2379
+ p_user_id: z.string().optional(),
2280
2380
  });
2281
2381
  export const publicComputeNodeRecordSchema = z.object({
2282
2382
  id: z.string().nullable(),
@@ -2287,8 +2387,6 @@ export const publicComputeNodeRecordSchema = z.object({
2287
2387
  port: z.number().nullable(),
2288
2388
  username: z.string().nullable(),
2289
2389
  auth_secret: z.string().nullable(),
2290
- status: publicComputeNodeStatusSchema.nullable(),
2291
- worker_count: z.number().nullable(),
2292
2390
  updated_at: z.string().nullable(),
2293
2391
  is_public: z.boolean().nullable(),
2294
2392
  created_at: z.string().nullable(),
@@ -2296,41 +2394,26 @@ export const publicComputeNodeRecordSchema = z.object({
2296
2394
  export const publicComputeNodeGetSecretArgsSchema = z.object({
2297
2395
  target_id: z.string(),
2298
2396
  });
2299
- export const publicComputeNodeSecretRecordSchema = z.object({
2300
- host: z.string().nullable(),
2301
- port: z.number().nullable(),
2302
- username: z.string().nullable(),
2303
- auth_secret: z.string().nullable(),
2304
- });
2305
- export const publicComputeNodeListArgsSchema = z.object({
2306
- p_kw: z.string().optional(),
2307
- p_page_no: z.number().optional(),
2308
- p_page_size: z.number().optional(),
2309
- });
2310
- export const publicComputeNodeListRecordSchema = z.object({
2311
- id: z.string().nullable(),
2312
- user_id: z.string().nullable(),
2313
- name: z.string().nullable(),
2314
- provider: z.string().nullable(),
2315
- host: z.string().nullable(),
2316
- port: z.number().nullable(),
2317
- username: z.string().nullable(),
2318
- auth_secret: z.string().nullable(),
2319
- status: publicComputeNodeStatusSchema.nullable(),
2320
- worker_count: z.number().nullable(),
2321
- updated_at: z.string().nullable(),
2322
- is_public: z.boolean().nullable(),
2323
- created_at: z.string().nullable(),
2324
- full_count: z.number().nullable(),
2397
+ export const publicComputeNodeGetSecretReturnsSchema = z.array(z.object({
2398
+ auth_secret: z.string(),
2399
+ host: z.string(),
2400
+ port: z.number(),
2401
+ username: z.string(),
2402
+ }));
2403
+ export const publicComputeNodeListArgsSchema = z.object({
2404
+ p_user_id: z.string().optional(),
2325
2405
  });
2406
+ export const publicComputeNodeListReturnsSchema = z.array(publicComputeNodeRecordSchema);
2326
2407
  export const publicComputeNodeUpsertArgsSchema = z.object({
2327
2408
  p_auth_secret: z.string().optional(),
2328
- p_host: z.string(),
2329
- p_id: z.string(),
2330
- p_name: z.string(),
2409
+ p_host: z.string().optional(),
2410
+ p_id: z.string().optional(),
2411
+ p_is_public: z.boolean().optional(),
2412
+ p_name: z.string().optional(),
2331
2413
  p_port: z.number().optional(),
2332
- p_provider: z.string(),
2414
+ p_provider: z.string().optional(),
2333
2415
  p_username: z.string().optional(),
2416
+ p_worker_count: z.number().optional(),
2334
2417
  });
2335
2418
  export const publicComputeNodeUpsertReturnsSchema = z.array(publicComputeNodeRecordSchema);
2336
2419
  export const publicComputeServerPublicUrlArgsSchema = z.object({
@@ -2359,22 +2442,22 @@ export const publicContactGetArgsSchema = z.object({
2359
2442
  p_platform: z.string().optional(),
2360
2443
  p_telegram_id: z.number().optional(),
2361
2444
  });
2362
- export const publicContactRecordSchema = z.object({
2363
- id: z.string().nullable(),
2364
- created_at: z.string().nullable(),
2365
- updated_at: z.string().nullable(),
2366
- user_id: z.string().nullable(),
2367
- name: z.string().nullable(),
2368
- phone: z.string().nullable(),
2369
- telegram_id: z.number().nullable(),
2370
- telegram_username: z.string().nullable(),
2371
- email: z.string().nullable(),
2372
- platform: z.string().nullable(),
2373
- source: z.string().nullable(),
2374
- tags: z.array(z.string()).nullable(),
2375
- status: z.string().nullable(),
2376
- metadata: jsonSchema.nullable(),
2377
- });
2445
+ export const publicContactGetReturnsSchema = z.array(z.object({
2446
+ created_at: z.string(),
2447
+ email: z.string(),
2448
+ id: z.string(),
2449
+ metadata: jsonSchema,
2450
+ name: z.string(),
2451
+ phone: z.string(),
2452
+ platform: z.string(),
2453
+ source: z.string(),
2454
+ status: z.string(),
2455
+ tags: z.array(z.string()),
2456
+ telegram_id: z.number(),
2457
+ telegram_username: z.string(),
2458
+ updated_at: z.string(),
2459
+ user_id: z.string(),
2460
+ }));
2378
2461
  export const publicContactListCursorArgsSchema = z.object({
2379
2462
  p_cursor: z.string().optional(),
2380
2463
  p_limit: z.number().optional(),
@@ -2383,7 +2466,22 @@ export const publicContactListCursorArgsSchema = z.object({
2383
2466
  p_status: z.string().optional(),
2384
2467
  p_tags: z.array(z.string()).optional(),
2385
2468
  });
2386
- export const publicContactListCursorReturnsSchema = z.array(publicContactRecordSchema);
2469
+ export const publicContactListCursorReturnsSchema = z.array(z.object({
2470
+ created_at: z.string(),
2471
+ email: z.string(),
2472
+ id: z.string(),
2473
+ metadata: jsonSchema,
2474
+ name: z.string(),
2475
+ phone: z.string(),
2476
+ platform: z.string(),
2477
+ source: z.string(),
2478
+ status: z.string(),
2479
+ tags: z.array(z.string()),
2480
+ telegram_id: z.number(),
2481
+ telegram_username: z.string(),
2482
+ updated_at: z.string(),
2483
+ user_id: z.string(),
2484
+ }));
2387
2485
  export const publicContactListTagsArgsSchema = z.never();
2388
2486
  export const publicContactListTagsReturnsSchema = z.array(z.string());
2389
2487
  export const publicContactRemoveTagsArgsSchema = z.object({
@@ -2404,7 +2502,22 @@ export const publicContactUpsertArgsSchema = z.object({
2404
2502
  p_telegram_id: z.number().optional(),
2405
2503
  p_telegram_username: z.string().optional(),
2406
2504
  });
2407
- export const publicContactUpsertReturnsSchema = z.array(publicContactRecordSchema);
2505
+ export const publicContactUpsertReturnsSchema = z.array(z.object({
2506
+ created_at: z.string(),
2507
+ email: z.string(),
2508
+ id: z.string(),
2509
+ metadata: jsonSchema,
2510
+ name: z.string(),
2511
+ phone: z.string(),
2512
+ platform: z.string(),
2513
+ source: z.string(),
2514
+ status: z.string(),
2515
+ tags: z.array(z.string()),
2516
+ telegram_id: z.number(),
2517
+ telegram_username: z.string(),
2518
+ updated_at: z.string(),
2519
+ user_id: z.string(),
2520
+ }));
2408
2521
  export const publicCreateNotificationArgsSchema = z.object({
2409
2522
  p_action_payload: jsonSchema.optional(),
2410
2523
  p_action_type: z.string().optional(),
@@ -2422,29 +2535,26 @@ export const publicDbToolQueryArgsSchema = z.object({
2422
2535
  p_sql: z.string(),
2423
2536
  });
2424
2537
  export const publicDbToolQueryReturnsSchema = jsonSchema;
2425
- export const publicDbaLintScanArgsSchema = z.never();
2426
- export const publicDbaLintIssueSchema = z.object({
2427
- object_type: z.string().nullable(),
2428
- object_name: z.string().nullable(),
2429
- issue_category: z.string().nullable(),
2430
- issue: z.string().nullable(),
2431
- suggestion: z.string().nullable(),
2432
- severity: z.string().nullable(),
2433
- });
2434
- export const publicDebugRoleArgsSchema = z.never();
2435
- export const publicDebugRoleReturnsSchema = z.string();
2436
- export const publicDebugSecDefArgsSchema = z.never();
2437
- export const publicDebugSecDefReturnsSchema = z.string();
2438
- export const publicGetEncryptionKeyArgsSchema = z.never();
2439
- export const publicGetEncryptionKeyReturnsSchema = z.string();
2440
2538
  export const publicGetGithubAppPublicInfoArgsSchema = z.never();
2441
2539
  export const publicGetGithubAppPublicInfoReturnsSchema = jsonSchema;
2442
2540
  export const publicGetJwtRoleArgsSchema = z.never();
2443
2541
  export const publicGetJwtRoleReturnsSchema = z.string();
2542
+ export const publicGetSystemPrimaryDomainArgsSchema = z.never();
2543
+ export const publicGetSystemPrimaryDomainReturnsSchema = z.string();
2444
2544
  export const publicGetUserIdFromTokenArgsSchema = z.object({
2445
2545
  p_token: z.string(),
2446
2546
  });
2447
2547
  export const publicGetUserIdFromTokenReturnsSchema = z.string();
2548
+ export const publicGetWorkerSubdomainArgsSchema = z.object({
2549
+ p_worker_id: z.string(),
2550
+ });
2551
+ export const publicGetWorkerSubdomainReturnsSchema = z.string();
2552
+ export const publicGithubListInstallationReposArgsSchema = z.never();
2553
+ export const publicGithubListInstallationReposReturnsSchema = jsonSchema;
2554
+ export const publicGithubListRepoBranchesArgsSchema = z.object({
2555
+ p_repo_full_name: z.string(),
2556
+ });
2557
+ export const publicGithubListRepoBranchesReturnsSchema = jsonSchema;
2448
2558
  export const publicGomtmModelCountArgsSchema = z.object({
2449
2559
  p_is_active: z.boolean().optional(),
2450
2560
  p_provider: z.string().optional(),
@@ -2457,7 +2567,7 @@ export const publicGomtmModelDeleteReturnsSchema = z.boolean();
2457
2567
  export const publicGomtmModelGetArgsSchema = z.object({
2458
2568
  p_id: z.string(),
2459
2569
  });
2460
- export const publicGomtmModelGetReturnsSchema = z.object({
2570
+ export const publicGomtmModelGetReturnsSchema = z.array(z.object({
2461
2571
  api_base: z.string().nullable(),
2462
2572
  api_key: z.string().nullable(),
2463
2573
  config: jsonSchema.nullable(),
@@ -2470,7 +2580,7 @@ export const publicGomtmModelGetReturnsSchema = z.object({
2470
2580
  provider: z.string(),
2471
2581
  updated_at: z.string(),
2472
2582
  user_id: z.string(),
2473
- });
2583
+ }));
2474
2584
  export const publicGomtmModelListCursorArgsSchema = z.object({
2475
2585
  p_cursor_id: z.string().optional(),
2476
2586
  p_is_active: z.boolean().optional(),
@@ -2492,17 +2602,17 @@ export const publicGomtmModelListCursorReturnsSchema = z.array(z.object({
2492
2602
  user_id: z.string(),
2493
2603
  }));
2494
2604
  export const publicGomtmModelUpsertArgsSchema = z.object({
2495
- p_api_base: z.string().optional(),
2496
- p_api_key: z.string().optional(),
2497
- p_config: jsonSchema.optional(),
2498
- p_id: z.string().optional(),
2499
- p_is_active: z.boolean().optional(),
2500
- p_linked_account_id: z.string().optional(),
2501
- p_model: z.string().optional(),
2502
- p_name: z.string().optional(),
2503
- p_provider: z.string().optional(),
2605
+ p_api_base: z.string(),
2606
+ p_api_key: z.string(),
2607
+ p_config: jsonSchema,
2608
+ p_id: z.string(),
2609
+ p_is_active: z.boolean(),
2610
+ p_linked_account_id: z.string(),
2611
+ p_model: z.string(),
2612
+ p_name: z.string(),
2613
+ p_provider: z.string(),
2504
2614
  });
2505
- export const publicGomtmModelUpsertReturnsSchema = z.object({
2615
+ export const publicGomtmModelUpsertReturnsSchema = z.array(z.object({
2506
2616
  api_base: z.string().nullable(),
2507
2617
  api_key: z.string().nullable(),
2508
2618
  config: jsonSchema.nullable(),
@@ -2515,31 +2625,7 @@ export const publicGomtmModelUpsertReturnsSchema = z.object({
2515
2625
  provider: z.string(),
2516
2626
  updated_at: z.string(),
2517
2627
  user_id: z.string(),
2518
- });
2519
- export const publicHandleHttpResponseHealthArgsSchema = z.object({
2520
- p_body: jsonSchema,
2521
- p_request_id: z.number(),
2522
- p_success: z.boolean(),
2523
- });
2524
- export const publicHandleHttpResponseHealthReturnsSchema = z.boolean();
2525
- export const publicHandleHttpResponseOutreachArgsSchema = z.object({
2526
- p_body: jsonSchema,
2527
- p_request_id: z.number(),
2528
- p_success: z.boolean(),
2529
- });
2530
- export const publicHandleHttpResponseOutreachReturnsSchema = z.boolean();
2531
- export const publicHandleHttpResponseTaskArgsSchema = z.object({
2532
- p_body: jsonSchema,
2533
- p_request_id: z.number(),
2534
- p_success: z.boolean(),
2535
- });
2536
- export const publicHandleHttpResponseTaskReturnsSchema = z.boolean();
2537
- export const publicHandleHttpResponseTelegramArgsSchema = z.object({
2538
- p_body: jsonSchema,
2539
- p_request_id: z.number(),
2540
- p_success: z.boolean(),
2541
- });
2542
- export const publicHandleHttpResponseTelegramReturnsSchema = z.boolean();
2628
+ }));
2543
2629
  export const publicHandleJobOutreachProcessArgsSchema = z.object({
2544
2630
  p_payload: jsonSchema.optional(),
2545
2631
  });
@@ -2557,9 +2643,18 @@ export const publicHasPermissionArgsSchema = z.object({
2557
2643
  p_resource: z.string(),
2558
2644
  });
2559
2645
  export const publicHasPermissionReturnsSchema = z.boolean();
2646
+ export const publicHttpFetchArgsSchema = z.object({
2647
+ p_body: jsonSchema.optional(),
2648
+ p_headers: jsonSchema.optional(),
2649
+ p_max_retries: z.number().optional(),
2650
+ p_method: z.string(),
2651
+ p_source_tag: z.string().optional(),
2652
+ p_timeout_ms: z.number().optional(),
2653
+ p_url: z.string(),
2654
+ });
2655
+ export const publicHttpFetchReturnsSchema = jsonSchema;
2560
2656
  export const publicInstallScriptArgsSchema = z.object({
2561
2657
  p_instance_id: z.string().optional(),
2562
- p_token: z.string().optional(),
2563
2658
  p_version: z.string().optional(),
2564
2659
  });
2565
2660
  export const publicInstallScriptReturnsSchema = z.string();
@@ -2576,20 +2671,28 @@ export const publicInstanceTagRemoveReturnsSchema = z.boolean();
2576
2671
  export const publicInstanceTagsGetArgsSchema = z.object({
2577
2672
  p_instance_id: z.string(),
2578
2673
  });
2579
- export const publicTagRecordSchema = z.object({
2580
- id: z.string().nullable(),
2581
- name: z.string().nullable(),
2582
- color: z.string().nullable(),
2583
- user_id: z.string().nullable(),
2584
- created_at: z.string().nullable(),
2585
- updated_at: z.string().nullable(),
2586
- instance_count: z.number().nullable(),
2587
- });
2674
+ export const publicInstanceTagsGetReturnsSchema = z.array(z.object({
2675
+ color: z.string(),
2676
+ created_at: z.string(),
2677
+ id: z.string(),
2678
+ instance_count: z.number(),
2679
+ name: z.string(),
2680
+ updated_at: z.string(),
2681
+ user_id: z.string(),
2682
+ }));
2588
2683
  export const publicInstanceTagsSetArgsSchema = z.object({
2589
2684
  p_instance_id: z.string(),
2590
2685
  p_tag_ids: z.array(z.string()),
2591
2686
  });
2592
- export const publicInstanceTagsSetReturnsSchema = z.array(publicTagRecordSchema);
2687
+ export const publicInstanceTagsSetReturnsSchema = z.array(z.object({
2688
+ color: z.string(),
2689
+ created_at: z.string(),
2690
+ id: z.string(),
2691
+ instance_count: z.number(),
2692
+ name: z.string(),
2693
+ updated_at: z.string(),
2694
+ user_id: z.string(),
2695
+ }));
2593
2696
  export const publicJobQueueListDlqArgsSchema = z.object({
2594
2697
  p_limit: z.number().optional(),
2595
2698
  p_offset: z.number().optional(),
@@ -2618,6 +2721,35 @@ export const publicJobSubmitArgsSchema = z.object({
2618
2721
  p_type: z.string(),
2619
2722
  });
2620
2723
  export const publicJobSubmitReturnsSchema = jsonSchema;
2724
+ export const publicJsonbDeepMergeArgsSchema = z.object({
2725
+ a: jsonSchema,
2726
+ b: jsonSchema,
2727
+ });
2728
+ export const publicJsonbDeepMergeReturnsSchema = jsonSchema;
2729
+ export const publicLogListUnifiedArgsSchema = z.object({
2730
+ p_cursor: z.string().optional(),
2731
+ p_event_type: z.string().optional(),
2732
+ p_level_max: z.string().optional(),
2733
+ p_limit: z.number().optional(),
2734
+ p_module: z.string().optional(),
2735
+ p_resource_id: z.string().optional(),
2736
+ p_resource_type: z.string().optional(),
2737
+ p_scope: z.string().optional(),
2738
+ p_source: z.string().optional(),
2739
+ });
2740
+ export const publicLogUnifiedRecordSchema = z.object({
2741
+ id: z.string().nullable(),
2742
+ source: z.string().nullable(),
2743
+ created_at: z.string().nullable(),
2744
+ event_type: z.string().nullable(),
2745
+ level: z.string().nullable(),
2746
+ module: z.string().nullable(),
2747
+ content: z.string().nullable(),
2748
+ meta: jsonSchema.nullable(),
2749
+ resource_type: z.string().nullable(),
2750
+ resource_id: z.string().nullable(),
2751
+ user_id: z.string().nullable(),
2752
+ });
2621
2753
  export const publicNotificationCompleteActionArgsSchema = z.object({
2622
2754
  p_id: z.string(),
2623
2755
  });
@@ -2668,11 +2800,162 @@ export const publicNotificationMarkReadArgsSchema = z.object({
2668
2800
  p_mark_all: z.boolean().optional(),
2669
2801
  });
2670
2802
  export const publicNotificationMarkReadReturnsSchema = z.number();
2803
+ export const publicOpenclawAssignServerArgsSchema = z.object({
2804
+ p_openclaw_id: z.string(),
2805
+ p_user_id: z.string(),
2806
+ });
2807
+ export const publicOpenclawAssignServerReturnsSchema = z.string();
2808
+ export const publicOpenclawBuildConfigArgsSchema = z.object({
2809
+ p_openclaw_id: z.string(),
2810
+ p_override_config: jsonSchema.optional(),
2811
+ p_override_server_id: z.string().optional(),
2812
+ });
2813
+ export const publicOpenclawBuildConfigReturnsSchema = jsonSchema;
2814
+ export const publicOpenclawFailoverArgsSchema = z.object({
2815
+ p_server_id: z.string(),
2816
+ });
2817
+ export const publicOpenclawFailoverReturnsSchema = z.undefined();
2818
+ export const publicOpenclawMetadataApplyActionContractArgsSchema = z.object({
2819
+ p_action_status: z.string(),
2820
+ p_completed_at: z.string().optional(),
2821
+ p_debug_action: z.string(),
2822
+ p_delete_pending: z.boolean().optional(),
2823
+ p_message: z.string().optional(),
2824
+ p_metadata: jsonSchema,
2825
+ p_requested_at: z.string().optional(),
2826
+ p_user_action: z.string(),
2827
+ });
2828
+ export const publicOpenclawMetadataApplyActionContractReturnsSchema = jsonSchema;
2829
+ export const publicOpenclawReconcileDueArgsSchema = z.object({
2830
+ p_limit: z.number().optional(),
2831
+ });
2832
+ export const publicOpenclawReconcileDueReturnsSchema = z.number();
2833
+ export const publicOpenclawReconcileOneArgsSchema = z.object({
2834
+ p_openclaw_id: z.string(),
2835
+ });
2836
+ export const publicOpenclawReconcileOneReturnsSchema = z.object({
2837
+ config: jsonSchema,
2838
+ created_at: z.string(),
2839
+ desired_status: publicOpenclawStatusSchema,
2840
+ id: z.string(),
2841
+ metadata: jsonSchema.nullable(),
2842
+ name: z.string().nullable(),
2843
+ resolved_config: jsonSchema,
2844
+ server_id: z.string().nullable(),
2845
+ state: jsonSchema.nullable(),
2846
+ status: publicOpenclawStatusSchema,
2847
+ status_reason: z.string().nullable(),
2848
+ updated_at: z.string(),
2849
+ user_id: z.string(),
2850
+ });
2851
+ export const publicOpenclawRefreshResolvedConfigArgsSchema = z.object({
2852
+ p_openclaw_id: z.string(),
2853
+ p_override_config: jsonSchema.optional(),
2854
+ p_override_server_id: z.string().optional(),
2855
+ });
2856
+ export const publicOpenclawRefreshResolvedConfigReturnsSchema = jsonSchema;
2857
+ export const publicOpenclawsDeleteArgsSchema = z.object({
2858
+ p_id: z.string(),
2859
+ });
2860
+ export const publicOpenclawsDeleteReturnsSchema = z.array(z.object({
2861
+ config: jsonSchema,
2862
+ created_at: z.string(),
2863
+ desired_status: publicOpenclawStatusSchema,
2864
+ id: z.string(),
2865
+ metadata: jsonSchema,
2866
+ name: z.string(),
2867
+ server_id: z.string(),
2868
+ state: jsonSchema,
2869
+ status: publicOpenclawStatusSchema,
2870
+ status_reason: z.string(),
2871
+ updated_at: z.string(),
2872
+ user_id: z.string(),
2873
+ }));
2874
+ export const publicOpenclawsGetArgsSchema = z.object({
2875
+ p_id: z.string(),
2876
+ });
2877
+ export const publicOpenclawsGetReturnsSchema = z.array(z.object({
2878
+ config: jsonSchema,
2879
+ created_at: z.string(),
2880
+ desired_status: publicOpenclawStatusSchema,
2881
+ id: z.string(),
2882
+ metadata: jsonSchema,
2883
+ name: z.string(),
2884
+ server_id: z.string(),
2885
+ state: jsonSchema,
2886
+ status: publicOpenclawStatusSchema,
2887
+ status_reason: z.string(),
2888
+ updated_at: z.string(),
2889
+ user_id: z.string(),
2890
+ }));
2891
+ export const publicOpenclawsListCursorArgsSchema = z.object({
2892
+ p_cursor: z.string().optional(),
2893
+ p_limit: z.number().optional(),
2894
+ p_search: z.string().optional(),
2895
+ p_status: publicOpenclawStatusSchema.optional(),
2896
+ });
2897
+ export const publicOpenclawsListCursorReturnsSchema = z.array(z.object({
2898
+ config: jsonSchema,
2899
+ created_at: z.string(),
2900
+ desired_status: publicOpenclawStatusSchema,
2901
+ id: z.string(),
2902
+ metadata: jsonSchema,
2903
+ name: z.string(),
2904
+ server_id: z.string(),
2905
+ state: jsonSchema,
2906
+ status: publicOpenclawStatusSchema,
2907
+ status_reason: z.string(),
2908
+ updated_at: z.string(),
2909
+ user_id: z.string(),
2910
+ }));
2911
+ export const publicOpenclawsRequestActionArgsSchema = z.object({
2912
+ p_action: z.string(),
2913
+ p_id: z.string(),
2914
+ });
2915
+ export const publicOpenclawsRequestActionReturnsSchema = z.array(z.object({
2916
+ config: jsonSchema,
2917
+ created_at: z.string(),
2918
+ desired_status: publicOpenclawStatusSchema,
2919
+ id: z.string(),
2920
+ metadata: jsonSchema,
2921
+ name: z.string(),
2922
+ server_id: z.string(),
2923
+ state: jsonSchema,
2924
+ status: publicOpenclawStatusSchema,
2925
+ status_reason: z.string(),
2926
+ updated_at: z.string(),
2927
+ user_id: z.string(),
2928
+ }));
2929
+ export const publicOpenclawsUpsertArgsSchema = z.object({
2930
+ p_config: jsonSchema.optional(),
2931
+ p_id: z.string().optional(),
2932
+ p_metadata: jsonSchema.optional(),
2933
+ p_name: z.string().optional(),
2934
+ });
2935
+ export const publicOpenclawsUpsertReturnsSchema = z.array(z.object({
2936
+ config: jsonSchema,
2937
+ created_at: z.string(),
2938
+ desired_status: publicOpenclawStatusSchema,
2939
+ id: z.string(),
2940
+ metadata: jsonSchema,
2941
+ name: z.string(),
2942
+ server_id: z.string(),
2943
+ state: jsonSchema,
2944
+ status: publicOpenclawStatusSchema,
2945
+ status_reason: z.string(),
2946
+ updated_at: z.string(),
2947
+ user_id: z.string(),
2948
+ }));
2671
2949
  export const publicOutreachProcessPendingTasksArgsSchema = z.object({
2672
2950
  p_campaign_id: z.string().optional(),
2673
2951
  p_limit: z.number().optional(),
2674
2952
  });
2675
2953
  export const publicOutreachProcessPendingTasksReturnsSchema = z.number();
2954
+ export const publicOutreachProcessPendingTasksSyncArgsSchema = z.object({
2955
+ p_campaign_id: z.string().optional(),
2956
+ p_limit: z.number().optional(),
2957
+ });
2958
+ export const publicOutreachProcessPendingTasksSyncReturnsSchema = z.number();
2676
2959
  export const publicOutreachRetryFailedTasksArgsSchema = z.object({
2677
2960
  p_campaign_id: z.string().optional(),
2678
2961
  });
@@ -2683,22 +2966,22 @@ export const publicOutreachTaskListArgsSchema = z.object({
2683
2966
  p_offset: z.number().optional(),
2684
2967
  p_status: z.string().optional(),
2685
2968
  });
2686
- export const publicOutreachTaskRecordSchema = z.object({
2687
- id: z.string().nullable(),
2688
- created_at: z.string().nullable(),
2689
- updated_at: z.string().nullable(),
2690
- user_id: z.string().nullable(),
2691
- campaign_id: z.string().nullable(),
2692
- contact_id: z.string().nullable(),
2693
- cloud_account_id: z.string().nullable(),
2694
- status: z.string().nullable(),
2695
- priority: z.number().nullable(),
2696
- scheduled_at: z.string().nullable(),
2697
- executed_at: z.string().nullable(),
2698
- retry_count: z.number().nullable(),
2699
- error_message: z.string().nullable(),
2700
- metadata: jsonSchema.nullable(),
2701
- });
2969
+ export const publicOutreachTaskListReturnsSchema = z.array(z.object({
2970
+ campaign_id: z.string(),
2971
+ cloud_account_id: z.string(),
2972
+ contact_id: z.string(),
2973
+ created_at: z.string(),
2974
+ error_message: z.string(),
2975
+ executed_at: z.string(),
2976
+ id: z.string(),
2977
+ metadata: jsonSchema,
2978
+ priority: z.number(),
2979
+ retry_count: z.number(),
2980
+ scheduled_at: z.string(),
2981
+ status: z.string(),
2982
+ updated_at: z.string(),
2983
+ user_id: z.string(),
2984
+ }));
2702
2985
  export const publicProxyDeleteArgsSchema = z.object({
2703
2986
  p_id: z.string(),
2704
2987
  });
@@ -2706,23 +2989,33 @@ export const publicProxyDeleteReturnsSchema = z.boolean();
2706
2989
  export const publicProxyGetArgsSchema = z.object({
2707
2990
  p_id: z.string(),
2708
2991
  });
2709
- export const publicProxyRecordSchema = z.object({
2710
- id: z.string().nullable(),
2711
- created_at: z.string().nullable(),
2712
- updated_at: z.string().nullable(),
2713
- name: z.string().nullable(),
2714
- description: z.string().nullable(),
2715
- url: z.string().nullable(),
2716
- type: z.string().nullable(),
2717
- enabled: z.boolean().nullable(),
2718
- user_id: z.string().nullable(),
2719
- });
2992
+ export const publicProxyGetReturnsSchema = z.array(z.object({
2993
+ created_at: z.string(),
2994
+ description: z.string(),
2995
+ enabled: z.boolean(),
2996
+ id: z.string(),
2997
+ name: z.string(),
2998
+ type: z.string(),
2999
+ updated_at: z.string(),
3000
+ url: z.string(),
3001
+ user_id: z.string(),
3002
+ }));
2720
3003
  export const publicProxyListArgsSchema = z.object({
2721
3004
  p_kw: z.string().optional(),
2722
3005
  p_page_no: z.number().optional(),
2723
3006
  p_page_size: z.number().optional(),
2724
3007
  });
2725
- export const publicProxyListReturnsSchema = z.array(publicProxyRecordSchema);
3008
+ export const publicProxyListReturnsSchema = z.array(z.object({
3009
+ created_at: z.string(),
3010
+ description: z.string(),
3011
+ enabled: z.boolean(),
3012
+ id: z.string(),
3013
+ name: z.string(),
3014
+ type: z.string(),
3015
+ updated_at: z.string(),
3016
+ url: z.string(),
3017
+ user_id: z.string(),
3018
+ }));
2726
3019
  export const publicProxyUpsertArgsSchema = z.object({
2727
3020
  p_description: z.string().optional(),
2728
3021
  p_enabled: z.boolean().optional(),
@@ -2731,7 +3024,17 @@ export const publicProxyUpsertArgsSchema = z.object({
2731
3024
  p_type: z.string(),
2732
3025
  p_url: z.string(),
2733
3026
  });
2734
- export const publicProxyUpsertReturnsSchema = z.array(publicProxyRecordSchema);
3027
+ export const publicProxyUpsertReturnsSchema = z.array(z.object({
3028
+ created_at: z.string(),
3029
+ description: z.string(),
3030
+ enabled: z.boolean(),
3031
+ id: z.string(),
3032
+ name: z.string(),
3033
+ type: z.string(),
3034
+ updated_at: z.string(),
3035
+ url: z.string(),
3036
+ user_id: z.string(),
3037
+ }));
2735
3038
  export const publicResourceDeleteArgsSchema = z.object({
2736
3039
  p_resource_id: z.string(),
2737
3040
  });
@@ -2766,13 +3069,7 @@ export const publicResourceUpsertArgsSchema = z.object({
2766
3069
  p_title: z.string().optional(),
2767
3070
  p_type: z.string().optional(),
2768
3071
  });
2769
- export const publicResourceUpsertReturnsSchema = z.string();
2770
- export const publicSandboxFindActiveArgsSchema = z.never();
2771
- export const publicSandboxFindActiveReturnsSchema = jsonSchema;
2772
- export const publicSandboxGetArgsSchema = z.object({
2773
- resource_id: z.string().optional(),
2774
- });
2775
- export const publicSandboxGetReturnsSchema = z.array(z.object({
3072
+ export const publicResourceUpsertReturnsSchema = z.array(z.object({
2776
3073
  created_at: z.string(),
2777
3074
  data: jsonSchema.nullable(),
2778
3075
  description: z.string().nullable(),
@@ -2787,65 +3084,93 @@ export const publicSandboxGetReturnsSchema = z.array(z.object({
2787
3084
  updated_at: z.string().nullable(),
2788
3085
  user_id: z.string().nullable(),
2789
3086
  }));
2790
- export const publicServerInstanceBootstrapArgsSchema = z.object({
2791
- p_instance_id: z.string(),
3087
+ export const publicSandboxFindActiveArgsSchema = z.never();
3088
+ export const publicSandboxFindActiveReturnsSchema = jsonSchema;
3089
+ export const publicScriptExecArgsSchema = z.object({
3090
+ p_options: jsonSchema.optional(),
3091
+ p_script: jsonSchema,
3092
+ p_server_id: z.string(),
2792
3093
  });
2793
- export const publicBootstrapResultSchema = z.object({
2794
- success: z.boolean().nullable(),
2795
- error: z.string().nullable(),
2796
- config: jsonSchema.nullable(),
3094
+ export const publicScriptExecReturnsSchema = jsonSchema;
3095
+ export const publicScriptGetContentArgsSchema = z.object({
3096
+ p_file_path: z.string(),
3097
+ p_git_ref: z.string().optional(),
2797
3098
  });
2798
- export const publicServerInstanceDeleteArgsSchema = z.object({
3099
+ export const publicScriptGetContentReturnsSchema = z.string();
3100
+ export const publicServerDeleteArgsSchema = z.object({
2799
3101
  p_id: z.string(),
3102
+ p_shutdown_gracefully: z.boolean().optional(),
2800
3103
  });
2801
- export const publicServerInstanceDeleteReturnsSchema = z.undefined();
2802
- export const publicServerInstanceGetArgsSchema = z.object({
2803
- p_id: z.string(),
3104
+ export const publicServerDeleteReturnsSchema = jsonSchema;
3105
+ export const publicServerGetArgsSchema = z.object({
3106
+ p_server_id: z.string().optional(),
2804
3107
  });
2805
- export const publicServerInstanceRecordSchema = z.object({
2806
- id: z.string().nullable(),
2807
- name: z.string().nullable(),
2808
- updated_at: z.string().nullable(),
3108
+ export const publicServerGetReturnsSchema = z.array(z.object({
3109
+ config: jsonSchema,
3110
+ created_at: z.string(),
3111
+ id: z.string(),
3112
+ state: jsonSchema,
3113
+ updated_at: z.string(),
3114
+ }));
3115
+ export const publicServerListCursorArgsSchema = z.object({
3116
+ p_cursor_id: z.string().optional(),
3117
+ p_cursor_updated_at: z.string().optional(),
3118
+ p_limit: z.number().optional(),
3119
+ p_search: z.string().optional(),
3120
+ });
3121
+ export const publicServerListCursorReturnsSchema = z.array(z.object({
2809
3122
  config: jsonSchema.nullable(),
2810
- status: publicServerStatusSchema.nullable(),
2811
- is_public: z.boolean().nullable(),
3123
+ created_at: z.string(),
3124
+ id: z.string(),
2812
3125
  state: jsonSchema.nullable(),
2813
- created_at: z.string().nullable(),
2814
- user_id: z.string().nullable(),
2815
- is_shared: z.boolean().nullable(),
3126
+ updated_at: z.string(),
3127
+ }));
3128
+ export const publicServerMarkOfflineArgsSchema = z.object({
3129
+ p_reason: z.string().optional(),
3130
+ p_server_id: z.string(),
3131
+ p_source: z.string().optional(),
2816
3132
  });
2817
- export const publicServerInstanceListCursorArgsSchema = z.object({
2818
- p_cursor_id: z.string().optional(),
2819
- p_cursor_is_shared: z.boolean().optional(),
2820
- p_cursor_updated_at: z.string().optional(),
2821
- p_is_shared: z.boolean().optional(),
2822
- p_kw: z.string().optional(),
3133
+ export const publicServerMarkOfflineReturnsSchema = jsonSchema;
3134
+ export const publicServerStatusApplyCallbackArgsSchema = z.object({
3135
+ p_callback_token: z.string(),
3136
+ p_payload: jsonSchema,
3137
+ p_server_id: z.string(),
3138
+ });
3139
+ export const publicServerStatusApplyCallbackReturnsSchema = jsonSchema;
3140
+ export const publicServerStatusMergeArgsSchema = z.object({
3141
+ p_current_state: jsonSchema,
3142
+ p_fact: jsonSchema,
3143
+ });
3144
+ export const publicServerStatusMergeReturnsSchema = jsonSchema;
3145
+ export const publicServerStatusReconcileArgsSchema = z.object({
3146
+ p_server_id: z.string(),
3147
+ });
3148
+ export const publicServerStatusReconcileReturnsSchema = jsonSchema;
3149
+ export const publicServerStatusReconcileDueArgsSchema = z.object({
2823
3150
  p_limit: z.number().optional(),
2824
- p_tag_ids: z.array(z.string()).optional(),
2825
3151
  });
2826
- export const publicServerInstanceListCursorReturnsSchema = z.array(publicServerInstanceRecordSchema);
2827
- export const publicServerInstanceProbeArgsSchema = z.object({
2828
- p_instance_id: z.string(),
3152
+ export const publicServerStatusReconcileDueReturnsSchema = z.number();
3153
+ export const publicServerTunnelSyncArgsSchema = z.object({
3154
+ p_server_id: z.string(),
2829
3155
  });
2830
- export const publicServerInstanceProbeReturnsSchema = z.undefined();
2831
- export const publicServerInstanceUpsertArgsSchema = z.object({
3156
+ export const publicServerTunnelSyncReturnsSchema = z.undefined();
3157
+ export const publicServerUpsertArgsSchema = z.object({
3158
+ p_compute_node_id: z.string().optional(),
2832
3159
  p_config: jsonSchema.optional(),
2833
3160
  p_id: z.string().optional(),
2834
- p_is_public: z.boolean().optional(),
2835
- p_is_shared: z.boolean().optional(),
2836
- p_name: z.string().optional(),
2837
3161
  p_state: jsonSchema.optional(),
2838
- p_status: publicServerStatusSchema.optional(),
2839
3162
  });
2840
- export const publicServerInstanceUpsertReturnsSchema = z.array(publicServerInstanceRecordSchema);
2841
- export const publicServiceHealthSummaryArgsSchema = z.never();
2842
- export const publicServiceHealthRecordSchema = z.object({
2843
- module: z.string().nullable(),
2844
- status: z.string().nullable(),
2845
- last_error_at: z.string().nullable(),
2846
- last_error_message: z.string().nullable(),
2847
- error_count_24h: z.number().nullable(),
3163
+ export const publicServerUpsertReturnsSchema = z.array(z.object({
3164
+ config: jsonSchema,
3165
+ created_at: z.string(),
3166
+ id: z.string(),
3167
+ state: jsonSchema,
3168
+ updated_at: z.string(),
3169
+ }));
3170
+ export const publicSysConfigGetArgsSchema = z.object({
3171
+ p_key: z.string(),
2848
3172
  });
3173
+ export const publicSysConfigGetReturnsSchema = jsonSchema;
2849
3174
  export const publicSysConfigSetArgsSchema = z.object({
2850
3175
  p_description: z.string().optional(),
2851
3176
  p_key: z.string(),
@@ -2863,38 +3188,6 @@ export const publicSysEventLogArgsSchema = z.object({
2863
3188
  p_resource_type: z.string().optional(),
2864
3189
  });
2865
3190
  export const publicSysEventLogReturnsSchema = z.string();
2866
- export const publicSysGetDbSchemaArgsSchema = z.object({
2867
- p_excluded_tables: z.array(z.string()).optional(),
2868
- p_include_comments: z.boolean().optional(),
2869
- p_include_functions: z.boolean().optional(),
2870
- });
2871
- export const publicSysGetDbSchemaReturnsSchema = z.string();
2872
- export const publicSysInitQueueArgsSchema = z.object({
2873
- name: z.string(),
2874
- });
2875
- export const publicSysInitQueueReturnsSchema = z.undefined();
2876
- export const publicSysLogListArgsSchema = z.object({
2877
- p_cursor: z.string().optional(),
2878
- p_event_type: z.string().optional(),
2879
- p_level_max: publicSysLogLevelSchema.optional(),
2880
- p_limit: z.number().optional(),
2881
- p_module: z.string().optional(),
2882
- p_resource_id: z.string().optional(),
2883
- p_resource_type: z.string().optional(),
2884
- });
2885
- export const publicSysLogRecordSchema = z.object({
2886
- id: z.number().nullable(),
2887
- created_at: z.string().nullable(),
2888
- text: z.string().nullable(),
2889
- level: publicSysLogLevelSchema.nullable(),
2890
- module: z.string().nullable(),
2891
- event_type: z.string().nullable(),
2892
- meta: jsonSchema.nullable(),
2893
- resource_type: z.string().nullable(),
2894
- resource_id: z.string().nullable(),
2895
- resource_name: z.string().nullable(),
2896
- user_id: z.string().nullable(),
2897
- });
2898
3191
  export const publicSysLogValidateMetaArgsSchema = z.object({
2899
3192
  p_event_type: z.string(),
2900
3193
  p_meta: jsonSchema,
@@ -2904,6 +3197,11 @@ export const publicSysLogsCleanupArgsSchema = z.object({
2904
3197
  p_retention_days: z.number().optional(),
2905
3198
  });
2906
3199
  export const publicSysLogsCleanupReturnsSchema = z.undefined();
3200
+ export const publicSystemCleanupArgsSchema = z.object({
3201
+ p_dry_run: z.boolean().optional(),
3202
+ p_policy_name: z.string().optional(),
3203
+ });
3204
+ export const publicSystemCleanupReturnsSchema = jsonSchema;
2907
3205
  export const publicSystemConfigPublicDeleteArgsSchema = z.object({
2908
3206
  p_key: z.string(),
2909
3207
  });
@@ -2930,13 +3228,29 @@ export const publicTagDeleteArgsSchema = z.object({
2930
3228
  });
2931
3229
  export const publicTagDeleteReturnsSchema = z.boolean();
2932
3230
  export const publicTagListArgsSchema = z.never();
2933
- export const publicTagListReturnsSchema = z.array(publicTagRecordSchema);
3231
+ export const publicTagListReturnsSchema = z.array(z.object({
3232
+ color: z.string(),
3233
+ created_at: z.string(),
3234
+ id: z.string(),
3235
+ instance_count: z.number(),
3236
+ name: z.string(),
3237
+ updated_at: z.string(),
3238
+ user_id: z.string(),
3239
+ }));
2934
3240
  export const publicTagUpsertArgsSchema = z.object({
2935
3241
  p_color: z.string().optional(),
2936
3242
  p_id: z.string().optional(),
2937
3243
  p_name: z.string().optional(),
2938
3244
  });
2939
- export const publicTagUpsertReturnsSchema = z.array(publicTagRecordSchema);
3245
+ export const publicTagUpsertReturnsSchema = z.array(z.object({
3246
+ color: z.string(),
3247
+ created_at: z.string(),
3248
+ id: z.string(),
3249
+ instance_count: z.number(),
3250
+ name: z.string(),
3251
+ updated_at: z.string(),
3252
+ user_id: z.string(),
3253
+ }));
2940
3254
  export const publicTaskAckArgsSchema = z.object({
2941
3255
  p_msg_id: z.number(),
2942
3256
  });
@@ -3250,17 +3564,37 @@ export const publicTelegramLoginStartArgsSchema = z.object({
3250
3564
  p_account_id: z.string(),
3251
3565
  p_use_sms: z.boolean().optional(),
3252
3566
  });
3253
- export const publicTelegramLoginStartReturnsSchema = z.undefined();
3254
- export const publicTelegramLoginSubmit2faArgsSchema = z.object({
3567
+ export const publicTelegramLoginResponseSchema = z.object({
3568
+ success: z.boolean().nullable(),
3569
+ step: z.string().nullable(),
3570
+ timeout_seconds: z.number().nullable(),
3571
+ error_message: z.string().nullable(),
3572
+ user_info: jsonSchema.nullable(),
3573
+ });
3574
+ export const publicTelegramLoginStepProcessArgsSchema = z.object({
3255
3575
  p_account_id: z.string(),
3256
- p_password: z.string(),
3576
+ p_body: jsonSchema,
3577
+ p_step: z.string(),
3578
+ p_success: z.boolean(),
3257
3579
  });
3258
- export const publicTelegramLoginSubmit2faReturnsSchema = z.undefined();
3580
+ export const publicTelegramLoginStepProcessReturnsSchema = z.undefined();
3259
3581
  export const publicTelegramLoginSubmitCodeArgsSchema = z.object({
3260
3582
  p_account_id: z.string(),
3261
3583
  p_code: z.string(),
3262
3584
  });
3263
- export const publicTelegramLoginSubmitCodeReturnsSchema = z.undefined();
3585
+ export const publicTelegramLoginSubmitCodeReturnsSchema = z.array(publicTelegramLoginResponseSchema);
3586
+ export const publicTelegramLoginSubmitTwoFaArgsSchema = z.object({
3587
+ p_account_id: z.string(),
3588
+ p_password: z.string(),
3589
+ });
3590
+ export const publicTelegramLoginSubmitTwoFaReturnsSchema = z.array(publicTelegramLoginResponseSchema);
3591
+ export const publicTelegramServerPostArgsSchema = z.object({
3592
+ p_body: jsonSchema,
3593
+ p_path: z.string(),
3594
+ p_preferred_server_id: z.string(),
3595
+ p_timeout: z.string().optional(),
3596
+ });
3597
+ export const publicTelegramServerPostReturnsSchema = jsonSchema;
3264
3598
  export const publicTrafficLogDeleteArgsSchema = z.never();
3265
3599
  export const publicTrafficLogDeleteReturnsSchema = z.undefined();
3266
3600
  export const publicTrafficLogInsertArgsSchema = z.object({
@@ -3300,21 +3634,6 @@ export const publicUserDeleteArgsSchema = z.object({
3300
3634
  p_user_id: z.string(),
3301
3635
  });
3302
3636
  export const publicUserDeleteReturnsSchema = z.undefined();
3303
- export const publicUserLogListArgsSchema = z.object({
3304
- p_page: z.number().optional(),
3305
- p_page_size: z.number().optional(),
3306
- });
3307
- export const publicUserLogListReturnsSchema = z.array(z.object({
3308
- content: z.string().nullable(),
3309
- created_at: z.string().nullable(),
3310
- event_type: z.string(),
3311
- id: z.string(),
3312
- level: z.string(),
3313
- meta: jsonSchema.nullable(),
3314
- resource_id: z.string().nullable(),
3315
- resource_type: z.string().nullable(),
3316
- user_id: z.string(),
3317
- }));
3318
3637
  export const publicUserLogRecordArgsSchema = z.object({
3319
3638
  p_content: z.string(),
3320
3639
  p_event_type: z.string(),
@@ -3330,28 +3649,28 @@ export const publicUserNotificationsCleanupArgsSchema = z.object({
3330
3649
  });
3331
3650
  export const publicUserNotificationsCleanupReturnsSchema = z.undefined();
3332
3651
  export const publicUserProfileGetArgsSchema = z.never();
3333
- export const publicUserProfileRecordSchema = z.object({
3334
- id: z.string().nullable(),
3652
+ export const publicUserProfileGetReturnsSchema = z.array(z.object({
3653
+ avatar_url: z.string().nullable(),
3335
3654
  full_name: z.string().nullable(),
3655
+ id: z.string(),
3656
+ updated_at: z.string().nullable(),
3336
3657
  username: z.string().nullable(),
3337
3658
  website: z.string().nullable(),
3338
- avatar_url: z.string().nullable(),
3339
- updated_at: z.string().nullable(),
3340
- });
3659
+ }));
3341
3660
  export const publicUserProfileUpsertArgsSchema = z.object({
3342
3661
  p_avatar_url: z.string(),
3343
3662
  p_full_name: z.string(),
3344
3663
  p_username: z.string(),
3345
3664
  p_website: z.string(),
3346
3665
  });
3347
- export const publicUserProfileUpsertReturnsSchema = z.object({
3666
+ export const publicUserProfileUpsertReturnsSchema = z.array(z.object({
3348
3667
  avatar_url: z.string().nullable(),
3349
3668
  full_name: z.string().nullable(),
3350
3669
  id: z.string(),
3351
3670
  updated_at: z.string().nullable(),
3352
3671
  username: z.string().nullable(),
3353
3672
  website: z.string().nullable(),
3354
- });
3673
+ }));
3355
3674
  export const publicUserRoleDeleteArgsSchema = z.object({
3356
3675
  p_role: publicAppRoleSchema,
3357
3676
  p_user_id: z.string(),
@@ -3366,27 +3685,12 @@ export const publicUserRoleUpsertArgsSchema = z.object({
3366
3685
  p_user_id: z.string(),
3367
3686
  });
3368
3687
  export const publicUserRoleUpsertReturnsSchema = z.undefined();
3369
- export const publicAdkArtifactListKeysReturnsSchema = z.array(publicAdkArtifactKeyRecordSchema);
3370
- export const publicAdkArtifactListVersionsMetaReturnsSchema = z.array(publicAdkArtifactMetaRecordSchema);
3371
3688
  export const publicAuditProjectDashboardStatsReturnsSchema = z.array(publicAuditProjectStatsRecordSchema);
3372
- export const publicAuditProjectGetReturnsSchema = z.array(publicAuditProjectRecordSchema);
3373
- export const publicBrowserGetReturnsSchema = z.array(publicBrowserRecordSchema);
3374
- export const publicCampaignGetReturnsSchema = z.array(publicCampaignRecordSchema);
3375
3689
  export const publicCloudAccountBulkCreateReturnsSchema = z.array(publicCloudAccountRecordSchema);
3376
3690
  export const publicComputeNodeGetReturnsSchema = z.array(publicComputeNodeRecordSchema);
3377
- export const publicComputeNodeGetSecretReturnsSchema = z.array(publicComputeNodeSecretRecordSchema);
3378
- export const publicComputeNodeListReturnsSchema = z.array(publicComputeNodeListRecordSchema);
3379
- export const publicContactGetReturnsSchema = z.array(publicContactRecordSchema);
3380
- export const publicDbaLintScanReturnsSchema = z.array(publicDbaLintIssueSchema);
3381
- export const publicInstanceTagsGetReturnsSchema = z.array(publicTagRecordSchema);
3382
3691
  export const publicJobQueueListDlqReturnsSchema = z.array(publicJobQueueDlqRecordSchema);
3692
+ export const publicLogListUnifiedReturnsSchema = z.array(publicLogUnifiedRecordSchema);
3383
3693
  export const publicNotificationGetPendingActionsReturnsSchema = z.array(publicUserNotificationRecordSchema);
3384
- export const publicOutreachTaskListReturnsSchema = z.array(publicOutreachTaskRecordSchema);
3385
- export const publicProxyGetReturnsSchema = z.array(publicProxyRecordSchema);
3386
3694
  export const publicResourceListReturnsSchema = z.array(publicResourceListRecordSchema);
3387
- export const publicServerInstanceBootstrapReturnsSchema = z.array(publicBootstrapResultSchema);
3388
- export const publicServerInstanceGetReturnsSchema = z.array(publicServerInstanceRecordSchema);
3389
- export const publicServiceHealthSummaryReturnsSchema = z.array(publicServiceHealthRecordSchema);
3390
- export const publicSysLogListReturnsSchema = z.array(publicSysLogRecordSchema);
3391
- export const publicUserProfileGetReturnsSchema = z.array(publicUserProfileRecordSchema);
3695
+ export const publicTelegramLoginStartReturnsSchema = z.array(publicTelegramLoginResponseSchema);
3392
3696
  //# sourceMappingURL=database.schemas.js.map