mtmsdk 0.0.52 → 0.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts +21 -173
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.js +39 -179
- package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi/index.d.ts +2 -2
- package/dist/gomtmapi/index.d.ts.map +1 -1
- package/dist/gomtmapi/index.js +1 -1
- package/dist/gomtmapi/index.js.map +1 -1
- package/dist/gomtmapi/schemas.gen.d.ts +67 -81
- package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi/schemas.gen.js +68 -82
- package/dist/gomtmapi/schemas.gen.js.map +1 -1
- package/dist/gomtmapi/sdk.gen.d.ts +15 -95
- package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi/sdk.gen.js +22 -102
- package/dist/gomtmapi/sdk.gen.js.map +1 -1
- package/dist/gomtmapi/types.gen.d.ts +66 -209
- package/dist/gomtmapi/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.d.ts +48 -121
- package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.js +36 -99
- package/dist/gomtmapi/zod.gen.js.map +1 -1
- package/dist/sbmng/@tanstack/react-query.gen.d.ts +146 -146
- package/dist/sbmng/@tanstack/react-query.gen.js +6 -6
- package/dist/sbmng/schemas.gen.d.ts +4 -4
- package/dist/sbmng/schemas.gen.js +4 -4
- package/dist/sbmng/schemas.gen.js.map +1 -1
- package/dist/sbmng/sdk.gen.d.ts +6 -6
- package/dist/sbmng/sdk.gen.js +6 -6
- package/dist/supabase/auth-provider.d.ts +8 -1
- package/dist/supabase/auth-provider.d.ts.map +1 -1
- package/dist/supabase/context.d.ts +3844 -1
- package/dist/supabase/context.d.ts.map +1 -1
- package/dist/supabase/cursor-pagination.d.ts +4 -4
- package/dist/supabase/cursor-pagination.js +4 -4
- package/dist/supabase/schema/index.d.ts +1 -11
- package/dist/supabase/schema/index.d.ts.map +1 -1
- package/dist/supabase/schema/index.js +1 -19
- package/dist/supabase/schema/index.js.map +1 -1
- package/dist/supabase/schema/system-config.d.ts +12 -0
- package/dist/supabase/schema/system-config.d.ts.map +1 -0
- package/dist/supabase/schema/system-config.js +22 -0
- package/dist/supabase/schema/system-config.js.map +1 -0
- package/dist/supabase/supabase-client.d.ts +1 -471
- package/dist/supabase/supabase-client.d.ts.map +1 -1
- package/dist/supabase/supabase.d.ts +44 -984
- package/dist/supabase/supabase.d.ts.map +1 -1
- package/dist/supabase/use-sb-query/use-rpc-mutation.d.ts +8 -8
- package/dist/supabase/use-sb-query/use-rpc-mutation.js +8 -8
- package/dist/types/contracts.d.ts +63 -0
- package/dist/types/contracts.d.ts.map +1 -0
- package/dist/types/contracts.js +17 -0
- package/dist/types/contracts.js.map +1 -0
- package/dist/types/database.schemas.d.ts +27 -626
- package/dist/types/database.schemas.d.ts.map +1 -1
- package/dist/types/database.schemas.js +0 -432
- package/dist/types/database.schemas.js.map +1 -1
- package/dist/types/database.types.d.ts +1 -476
- package/dist/types/database.types.d.ts.map +1 -1
- package/dist/types/database.types.js +0 -10
- package/dist/types/database.types.js.map +1 -1
- package/dist/types/index.d.ts +9 -25
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +3 -5
- package/dist/types/index.js.map +1 -1
- package/package.json +101 -105
- package/dist/cloud-account/platform-configs.d.ts +0 -64
- package/dist/cloud-account/platform-configs.d.ts.map +0 -1
- package/dist/cloud-account/platform-configs.js +0 -44
- package/dist/cloud-account/platform-configs.js.map +0 -1
- package/dist/lib/aisdk/types.d.ts +0 -3
- package/dist/lib/aisdk/types.d.ts.map +0 -1
- package/dist/lib/aisdk/types.js +0 -5
- package/dist/lib/aisdk/types.js.map +0 -1
- package/dist/lib/logger/index.d.ts +0 -22
- package/dist/lib/logger/index.d.ts.map +0 -1
- package/dist/lib/logger/index.js +0 -7
- package/dist/lib/logger/index.js.map +0 -1
- package/dist/lib/schema.d.ts +0 -43
- package/dist/lib/schema.d.ts.map +0 -1
- package/dist/lib/schema.js +0 -28
- package/dist/lib/schema.js.map +0 -1
- package/dist/mtgate_api/client/client.gen.d.ts +0 -3
- package/dist/mtgate_api/client/client.gen.d.ts.map +0 -1
- package/dist/mtgate_api/client/client.gen.js +0 -236
- package/dist/mtgate_api/client/client.gen.js.map +0 -1
- package/dist/mtgate_api/client/index.d.ts +0 -9
- package/dist/mtgate_api/client/index.d.ts.map +0 -1
- package/dist/mtgate_api/client/index.js +0 -7
- package/dist/mtgate_api/client/index.js.map +0 -1
- package/dist/mtgate_api/client/types.gen.d.ts +0 -118
- package/dist/mtgate_api/client/types.gen.d.ts.map +0 -1
- package/dist/mtgate_api/client/types.gen.js +0 -3
- package/dist/mtgate_api/client/types.gen.js.map +0 -1
- package/dist/mtgate_api/client/utils.gen.d.ts +0 -34
- package/dist/mtgate_api/client/utils.gen.d.ts.map +0 -1
- package/dist/mtgate_api/client/utils.gen.js +0 -232
- package/dist/mtgate_api/client/utils.gen.js.map +0 -1
- package/dist/mtgate_api/client.gen.d.ts +0 -13
- package/dist/mtgate_api/client.gen.d.ts.map +0 -1
- package/dist/mtgate_api/client.gen.js +0 -4
- package/dist/mtgate_api/client.gen.js.map +0 -1
- package/dist/mtgate_api/core/auth.gen.d.ts +0 -19
- package/dist/mtgate_api/core/auth.gen.d.ts.map +0 -1
- package/dist/mtgate_api/core/auth.gen.js +0 -15
- package/dist/mtgate_api/core/auth.gen.js.map +0 -1
- package/dist/mtgate_api/core/bodySerializer.gen.d.ts +0 -26
- package/dist/mtgate_api/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/mtgate_api/core/bodySerializer.gen.js +0 -58
- package/dist/mtgate_api/core/bodySerializer.gen.js.map +0 -1
- package/dist/mtgate_api/core/params.gen.d.ts +0 -44
- package/dist/mtgate_api/core/params.gen.d.ts.map +0 -1
- package/dist/mtgate_api/core/params.gen.js +0 -101
- package/dist/mtgate_api/core/params.gen.js.map +0 -1
- package/dist/mtgate_api/core/pathSerializer.gen.d.ts +0 -34
- package/dist/mtgate_api/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/mtgate_api/core/pathSerializer.gen.js +0 -115
- package/dist/mtgate_api/core/pathSerializer.gen.js.map +0 -1
- package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts +0 -19
- package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts.map +0 -1
- package/dist/mtgate_api/core/queryKeySerializer.gen.js +0 -100
- package/dist/mtgate_api/core/queryKeySerializer.gen.js.map +0 -1
- package/dist/mtgate_api/core/serverSentEvents.gen.d.ts +0 -72
- package/dist/mtgate_api/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/mtgate_api/core/serverSentEvents.gen.js +0 -138
- package/dist/mtgate_api/core/serverSentEvents.gen.js.map +0 -1
- package/dist/mtgate_api/core/types.gen.d.ts +0 -79
- package/dist/mtgate_api/core/types.gen.d.ts.map +0 -1
- package/dist/mtgate_api/core/types.gen.js +0 -3
- package/dist/mtgate_api/core/types.gen.js.map +0 -1
- package/dist/mtgate_api/core/utils.gen.d.ts +0 -20
- package/dist/mtgate_api/core/utils.gen.d.ts.map +0 -1
- package/dist/mtgate_api/core/utils.gen.js +0 -88
- package/dist/mtgate_api/core/utils.gen.js.map +0 -1
- package/dist/mtgate_api/index.d.ts +0 -3
- package/dist/mtgate_api/index.d.ts.map +0 -1
- package/dist/mtgate_api/index.js +0 -3
- package/dist/mtgate_api/index.js.map +0 -1
- package/dist/mtgate_api/sdk.gen.d.ts +0 -15
- package/dist/mtgate_api/sdk.gen.d.ts.map +0 -1
- package/dist/mtgate_api/sdk.gen.js +0 -3
- package/dist/mtgate_api/sdk.gen.js.map +0 -1
- package/dist/mtgate_api/types.gen.d.ts +0 -4
- package/dist/mtgate_api/types.gen.d.ts.map +0 -1
- package/dist/mtgate_api/types.gen.js +0 -3
- package/dist/mtgate_api/types.gen.js.map +0 -1
- package/dist/openclaw/client-info.d.ts +0 -38
- package/dist/openclaw/client-info.d.ts.map +0 -1
- package/dist/openclaw/client-info.js +0 -38
- package/dist/openclaw/client-info.js.map +0 -1
- package/dist/openclaw/device-auth-utils.d.ts +0 -12
- package/dist/openclaw/device-auth-utils.d.ts.map +0 -1
- package/dist/openclaw/device-auth-utils.js +0 -16
- package/dist/openclaw/device-auth-utils.js.map +0 -1
- package/dist/openclaw/device-auth.d.ts +0 -21
- package/dist/openclaw/device-auth.d.ts.map +0 -1
- package/dist/openclaw/device-auth.js +0 -87
- package/dist/openclaw/device-auth.js.map +0 -1
- package/dist/openclaw/device-identity.d.ts +0 -8
- package/dist/openclaw/device-identity.d.ts.map +0 -1
- package/dist/openclaw/device-identity.js +0 -87
- package/dist/openclaw/device-identity.js.map +0 -1
- package/dist/openclaw/gateway.d.ts +0 -100
- package/dist/openclaw/gateway.d.ts.map +0 -1
- package/dist/openclaw/gateway.js +0 -302
- package/dist/openclaw/gateway.js.map +0 -1
- package/dist/openclaw/types.d.ts +0 -473
- package/dist/openclaw/types.d.ts.map +0 -1
- package/dist/openclaw/types.js +0 -2
- package/dist/openclaw/types.js.map +0 -1
- package/src/cloud-account/platform-configs.ts +0 -73
- package/src/gomtmapi/@tanstack/react-query.gen.ts +0 -537
- package/src/gomtmapi/client/client.gen.ts +0 -311
- package/src/gomtmapi/client/index.ts +0 -25
- package/src/gomtmapi/client/types.gen.ts +0 -241
- package/src/gomtmapi/client/utils.gen.ts +0 -332
- package/src/gomtmapi/client.gen.ts +0 -16
- package/src/gomtmapi/core/auth.gen.ts +0 -42
- package/src/gomtmapi/core/bodySerializer.gen.ts +0 -100
- package/src/gomtmapi/core/params.gen.ts +0 -176
- package/src/gomtmapi/core/pathSerializer.gen.ts +0 -181
- package/src/gomtmapi/core/queryKeySerializer.gen.ts +0 -136
- package/src/gomtmapi/core/serverSentEvents.gen.ts +0 -266
- package/src/gomtmapi/core/types.gen.ts +0 -118
- package/src/gomtmapi/core/utils.gen.ts +0 -143
- package/src/gomtmapi/index.ts +0 -4
- package/src/gomtmapi/schemas.gen.ts +0 -532
- package/src/gomtmapi/sdk.gen.ts +0 -371
- package/src/gomtmapi/types.gen.ts +0 -854
- package/src/gomtmapi/zod.gen.ts +0 -448
- package/src/index.ts +0 -4
- package/src/lib/aisdk/types.ts +0 -8
- package/src/lib/logger/index.ts +0 -8
- package/src/lib/schema.ts +0 -37
- package/src/mtgate_api/client/client.gen.ts +0 -311
- package/src/mtgate_api/client/index.ts +0 -25
- package/src/mtgate_api/client/types.gen.ts +0 -241
- package/src/mtgate_api/client/utils.gen.ts +0 -332
- package/src/mtgate_api/client.gen.ts +0 -16
- package/src/mtgate_api/core/auth.gen.ts +0 -42
- package/src/mtgate_api/core/bodySerializer.gen.ts +0 -100
- package/src/mtgate_api/core/params.gen.ts +0 -176
- package/src/mtgate_api/core/pathSerializer.gen.ts +0 -181
- package/src/mtgate_api/core/queryKeySerializer.gen.ts +0 -136
- package/src/mtgate_api/core/serverSentEvents.gen.ts +0 -266
- package/src/mtgate_api/core/types.gen.ts +0 -118
- package/src/mtgate_api/core/utils.gen.ts +0 -143
- package/src/mtgate_api/index.ts +0 -4
- package/src/mtgate_api/sdk.gen.ts +0 -17
- package/src/mtgate_api/types.gen.ts +0 -5
- package/src/openclaw/client-info.ts +0 -54
- package/src/openclaw/device-auth-utils.ts +0 -26
- package/src/openclaw/device-auth.ts +0 -99
- package/src/openclaw/device-identity.ts +0 -108
- package/src/openclaw/gateway.ts +0 -392
- package/src/openclaw/types.ts +0 -518
- package/src/sbmng/@tanstack/react-query.gen.ts +0 -2967
- package/src/sbmng/client/client.gen.ts +0 -311
- package/src/sbmng/client/index.ts +0 -25
- package/src/sbmng/client/types.gen.ts +0 -241
- package/src/sbmng/client/utils.gen.ts +0 -332
- package/src/sbmng/client.gen.ts +0 -16
- package/src/sbmng/core/auth.gen.ts +0 -42
- package/src/sbmng/core/bodySerializer.gen.ts +0 -100
- package/src/sbmng/core/params.gen.ts +0 -176
- package/src/sbmng/core/pathSerializer.gen.ts +0 -181
- package/src/sbmng/core/queryKeySerializer.gen.ts +0 -136
- package/src/sbmng/core/serverSentEvents.gen.ts +0 -266
- package/src/sbmng/core/types.gen.ts +0 -118
- package/src/sbmng/core/utils.gen.ts +0 -143
- package/src/sbmng/index.ts +0 -4
- package/src/sbmng/schemas.gen.ts +0 -9671
- package/src/sbmng/sdk.gen.ts +0 -1755
- package/src/sbmng/types.gen.ts +0 -7886
- package/src/supabase/auth-provider.tsx +0 -67
- package/src/supabase/context.tsx +0 -51
- package/src/supabase/cursor-pagination.ts +0 -155
- package/src/supabase/schema/browser.ts +0 -45
- package/src/supabase/schema/index.ts +0 -25
- package/src/supabase/supabase-client.ts +0 -30
- package/src/supabase/supabase.ts +0 -67
- package/src/supabase/use-sb-query/build-query-opts.ts +0 -68
- package/src/supabase/use-sb-query/key.ts +0 -57
- package/src/supabase/use-sb-query/use-query.ts +0 -352
- package/src/supabase/use-sb-query/use-rpc-mutation.ts +0 -83
- package/src/supabase/use-sb-query/use-rpc-query.ts +0 -267
- package/src/supabase/utils.ts +0 -75
- package/src/types/database.schemas.ts +0 -4359
- package/src/types/database.types.ts +0 -4182
- package/src/types/index.ts +0 -85
|
@@ -1,4359 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ==========================================
|
|
3
|
-
* | GENERATED BY SUPAZOD |
|
|
4
|
-
* ==========================================
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { z } from "zod";
|
|
8
|
-
import { type Json } from "./database.types";
|
|
9
|
-
|
|
10
|
-
export const publicAppRoleSchema = z.enum(["admin", "moderator", "member"]);
|
|
11
|
-
|
|
12
|
-
export const publicAuditFindingSeveritySchema = z.enum([
|
|
13
|
-
"critical",
|
|
14
|
-
"high",
|
|
15
|
-
"medium",
|
|
16
|
-
"low",
|
|
17
|
-
"info",
|
|
18
|
-
]);
|
|
19
|
-
|
|
20
|
-
export const publicChatRoleSchema = z.enum([
|
|
21
|
-
"system",
|
|
22
|
-
"user",
|
|
23
|
-
"assistant",
|
|
24
|
-
"model",
|
|
25
|
-
"error",
|
|
26
|
-
"tool",
|
|
27
|
-
]);
|
|
28
|
-
|
|
29
|
-
export const publicChatVisibilitySchema = z.enum(["private", "public"]);
|
|
30
|
-
|
|
31
|
-
export const publicCloudAccountStatusSchema = z.enum([
|
|
32
|
-
"pending",
|
|
33
|
-
"active",
|
|
34
|
-
"token_expired",
|
|
35
|
-
"needs_reauth",
|
|
36
|
-
"quota_exceeded",
|
|
37
|
-
"suspended",
|
|
38
|
-
"disabled",
|
|
39
|
-
]);
|
|
40
|
-
|
|
41
|
-
export const publicOpenclawStatusSchema = z.enum([
|
|
42
|
-
"disabled",
|
|
43
|
-
"pending",
|
|
44
|
-
"starting",
|
|
45
|
-
"running",
|
|
46
|
-
"stopping",
|
|
47
|
-
"stopped",
|
|
48
|
-
"error",
|
|
49
|
-
"migrating",
|
|
50
|
-
]);
|
|
51
|
-
|
|
52
|
-
export const publicSysLogLevelSchema = z.enum(["error", "warn", "info"]);
|
|
53
|
-
|
|
54
|
-
export const publicTaskCodeTypeSchema = z.enum([
|
|
55
|
-
"sql",
|
|
56
|
-
"bash",
|
|
57
|
-
"python",
|
|
58
|
-
"agent",
|
|
59
|
-
"javascript",
|
|
60
|
-
]);
|
|
61
|
-
|
|
62
|
-
export const publicTaskStatusSchema = z.enum([
|
|
63
|
-
"draft",
|
|
64
|
-
"pending",
|
|
65
|
-
"queued",
|
|
66
|
-
"running",
|
|
67
|
-
"completed",
|
|
68
|
-
"failed",
|
|
69
|
-
"cancelled",
|
|
70
|
-
"paused",
|
|
71
|
-
]);
|
|
72
|
-
|
|
73
|
-
export const publicTelegramLoginStateSchema = z.enum([
|
|
74
|
-
"idle",
|
|
75
|
-
"wait_code",
|
|
76
|
-
"need_2fa",
|
|
77
|
-
"wait_password",
|
|
78
|
-
"success",
|
|
79
|
-
"failed",
|
|
80
|
-
]);
|
|
81
|
-
|
|
82
|
-
export const publicTelegramLoginStepSchema = z.enum([
|
|
83
|
-
"pending",
|
|
84
|
-
"send_code",
|
|
85
|
-
"wait_code",
|
|
86
|
-
"verify_code",
|
|
87
|
-
"need_2fa",
|
|
88
|
-
"success",
|
|
89
|
-
"failed",
|
|
90
|
-
"fetch_info",
|
|
91
|
-
]);
|
|
92
|
-
|
|
93
|
-
export const jsonSchema: z.ZodSchema<Json> = z.lazy(() =>
|
|
94
|
-
z
|
|
95
|
-
.union([
|
|
96
|
-
z.string(),
|
|
97
|
-
z.number(),
|
|
98
|
-
z.boolean(),
|
|
99
|
-
z.record(z.string(), z.union([jsonSchema, z.undefined()])),
|
|
100
|
-
z.array(jsonSchema),
|
|
101
|
-
])
|
|
102
|
-
.nullable(),
|
|
103
|
-
);
|
|
104
|
-
|
|
105
|
-
export const publicAdkArtifactsRowSchema = z.object({
|
|
106
|
-
app_name: z.string(),
|
|
107
|
-
canonical_uri: z.string().nullable(),
|
|
108
|
-
created_at: z.string().nullable(),
|
|
109
|
-
custom_metadata: jsonSchema.nullable(),
|
|
110
|
-
data: jsonSchema.nullable(),
|
|
111
|
-
filename: z.string(),
|
|
112
|
-
id: z.string(),
|
|
113
|
-
mime_type: z.string().nullable(),
|
|
114
|
-
session_id: z.string().nullable(),
|
|
115
|
-
user_id: z.string(),
|
|
116
|
-
version: z.number(),
|
|
117
|
-
});
|
|
118
|
-
|
|
119
|
-
export const publicAdkArtifactsInsertSchema = z.object({
|
|
120
|
-
app_name: z.string(),
|
|
121
|
-
canonical_uri: z.string().optional().nullable(),
|
|
122
|
-
created_at: z.string().optional().nullable(),
|
|
123
|
-
custom_metadata: jsonSchema.optional().nullable(),
|
|
124
|
-
data: jsonSchema.optional().nullable(),
|
|
125
|
-
filename: z.string(),
|
|
126
|
-
id: z.string().optional(),
|
|
127
|
-
mime_type: z.string().optional().nullable(),
|
|
128
|
-
session_id: z.string().optional().nullable(),
|
|
129
|
-
user_id: z.string(),
|
|
130
|
-
version: z.number(),
|
|
131
|
-
});
|
|
132
|
-
|
|
133
|
-
export const publicAdkArtifactsUpdateSchema = z.object({
|
|
134
|
-
app_name: z.string().optional(),
|
|
135
|
-
canonical_uri: z.string().optional().nullable(),
|
|
136
|
-
created_at: z.string().optional().nullable(),
|
|
137
|
-
custom_metadata: jsonSchema.optional().nullable(),
|
|
138
|
-
data: jsonSchema.optional().nullable(),
|
|
139
|
-
filename: z.string().optional(),
|
|
140
|
-
id: z.string().optional(),
|
|
141
|
-
mime_type: z.string().optional().nullable(),
|
|
142
|
-
session_id: z.string().optional().nullable(),
|
|
143
|
-
user_id: z.string().optional(),
|
|
144
|
-
version: z.number().optional(),
|
|
145
|
-
});
|
|
146
|
-
|
|
147
|
-
export const publicAdkEventsRowSchema = z.object({
|
|
148
|
-
actions: jsonSchema.nullable(),
|
|
149
|
-
app_name: z.string().nullable(),
|
|
150
|
-
author: z.string().nullable(),
|
|
151
|
-
branch: z.string().nullable(),
|
|
152
|
-
citation_metadata: jsonSchema.nullable(),
|
|
153
|
-
content: jsonSchema.nullable(),
|
|
154
|
-
created_at: z.string(),
|
|
155
|
-
custom_metadata: jsonSchema.nullable(),
|
|
156
|
-
error_code: z.string().nullable(),
|
|
157
|
-
error_message: z.string().nullable(),
|
|
158
|
-
grounding_metadata: jsonSchema.nullable(),
|
|
159
|
-
id: z.string(),
|
|
160
|
-
input_transcription: jsonSchema.nullable(),
|
|
161
|
-
interrupted: z.boolean().nullable(),
|
|
162
|
-
invocation_id: z.string().nullable(),
|
|
163
|
-
long_running_tool_ids_json: jsonSchema.nullable(),
|
|
164
|
-
output_transcription: jsonSchema.nullable(),
|
|
165
|
-
partial: z.boolean().nullable(),
|
|
166
|
-
session_id: z.string().nullable(),
|
|
167
|
-
timestamp: z.string().nullable(),
|
|
168
|
-
turn_complete: z.boolean().nullable(),
|
|
169
|
-
updated_at: z.string(),
|
|
170
|
-
usage_metadata: jsonSchema.nullable(),
|
|
171
|
-
user_id: z.string().nullable(),
|
|
172
|
-
});
|
|
173
|
-
|
|
174
|
-
export const publicAdkEventsInsertSchema = z.object({
|
|
175
|
-
actions: jsonSchema.optional().nullable(),
|
|
176
|
-
app_name: z.string().optional().nullable(),
|
|
177
|
-
author: z.string().optional().nullable(),
|
|
178
|
-
branch: z.string().optional().nullable(),
|
|
179
|
-
citation_metadata: jsonSchema.optional().nullable(),
|
|
180
|
-
content: jsonSchema.optional().nullable(),
|
|
181
|
-
created_at: z.string().optional(),
|
|
182
|
-
custom_metadata: jsonSchema.optional().nullable(),
|
|
183
|
-
error_code: z.string().optional().nullable(),
|
|
184
|
-
error_message: z.string().optional().nullable(),
|
|
185
|
-
grounding_metadata: jsonSchema.optional().nullable(),
|
|
186
|
-
id: z.string(),
|
|
187
|
-
input_transcription: jsonSchema.optional().nullable(),
|
|
188
|
-
interrupted: z.boolean().optional().nullable(),
|
|
189
|
-
invocation_id: z.string().optional().nullable(),
|
|
190
|
-
long_running_tool_ids_json: jsonSchema.optional().nullable(),
|
|
191
|
-
output_transcription: jsonSchema.optional().nullable(),
|
|
192
|
-
partial: z.boolean().optional().nullable(),
|
|
193
|
-
session_id: z.string().optional().nullable(),
|
|
194
|
-
timestamp: z.string().optional().nullable(),
|
|
195
|
-
turn_complete: z.boolean().optional().nullable(),
|
|
196
|
-
updated_at: z.string().optional(),
|
|
197
|
-
usage_metadata: jsonSchema.optional().nullable(),
|
|
198
|
-
user_id: z.string().optional().nullable(),
|
|
199
|
-
});
|
|
200
|
-
|
|
201
|
-
export const publicAdkEventsUpdateSchema = z.object({
|
|
202
|
-
actions: jsonSchema.optional().nullable(),
|
|
203
|
-
app_name: z.string().optional().nullable(),
|
|
204
|
-
author: z.string().optional().nullable(),
|
|
205
|
-
branch: z.string().optional().nullable(),
|
|
206
|
-
citation_metadata: jsonSchema.optional().nullable(),
|
|
207
|
-
content: jsonSchema.optional().nullable(),
|
|
208
|
-
created_at: z.string().optional(),
|
|
209
|
-
custom_metadata: jsonSchema.optional().nullable(),
|
|
210
|
-
error_code: z.string().optional().nullable(),
|
|
211
|
-
error_message: z.string().optional().nullable(),
|
|
212
|
-
grounding_metadata: jsonSchema.optional().nullable(),
|
|
213
|
-
id: z.string().optional(),
|
|
214
|
-
input_transcription: jsonSchema.optional().nullable(),
|
|
215
|
-
interrupted: z.boolean().optional().nullable(),
|
|
216
|
-
invocation_id: z.string().optional().nullable(),
|
|
217
|
-
long_running_tool_ids_json: jsonSchema.optional().nullable(),
|
|
218
|
-
output_transcription: jsonSchema.optional().nullable(),
|
|
219
|
-
partial: z.boolean().optional().nullable(),
|
|
220
|
-
session_id: z.string().optional().nullable(),
|
|
221
|
-
timestamp: z.string().optional().nullable(),
|
|
222
|
-
turn_complete: z.boolean().optional().nullable(),
|
|
223
|
-
updated_at: z.string().optional(),
|
|
224
|
-
usage_metadata: jsonSchema.optional().nullable(),
|
|
225
|
-
user_id: z.string().optional().nullable(),
|
|
226
|
-
});
|
|
227
|
-
|
|
228
|
-
export const publicAdkEventsRelationshipsSchema = z.tuple([
|
|
229
|
-
z.object({
|
|
230
|
-
foreignKeyName: z.literal("adk_events_session_id_fkey"),
|
|
231
|
-
columns: z.tuple([z.literal("session_id")]),
|
|
232
|
-
isOneToOne: z.literal(false),
|
|
233
|
-
referencedRelation: z.literal("adk_sessions"),
|
|
234
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
235
|
-
}),
|
|
236
|
-
]);
|
|
237
|
-
|
|
238
|
-
export const publicAdkSessionsRowSchema = z.object({
|
|
239
|
-
app_name: z.string(),
|
|
240
|
-
created_at: z.string(),
|
|
241
|
-
id: z.string(),
|
|
242
|
-
state: jsonSchema,
|
|
243
|
-
updated_at: z.string().nullable(),
|
|
244
|
-
user_id: z.string(),
|
|
245
|
-
});
|
|
246
|
-
|
|
247
|
-
export const publicAdkSessionsInsertSchema = z.object({
|
|
248
|
-
app_name: z.string(),
|
|
249
|
-
created_at: z.string(),
|
|
250
|
-
id: z.string(),
|
|
251
|
-
state: jsonSchema,
|
|
252
|
-
updated_at: z.string().optional().nullable(),
|
|
253
|
-
user_id: z.string(),
|
|
254
|
-
});
|
|
255
|
-
|
|
256
|
-
export const publicAdkSessionsUpdateSchema = z.object({
|
|
257
|
-
app_name: z.string().optional(),
|
|
258
|
-
created_at: z.string().optional(),
|
|
259
|
-
id: z.string().optional(),
|
|
260
|
-
state: jsonSchema.optional(),
|
|
261
|
-
updated_at: z.string().optional().nullable(),
|
|
262
|
-
user_id: z.string().optional(),
|
|
263
|
-
});
|
|
264
|
-
|
|
265
|
-
export const publicAuditAssetsRowSchema = z.object({
|
|
266
|
-
content: z.string(),
|
|
267
|
-
created_at: z.string(),
|
|
268
|
-
id: z.string(),
|
|
269
|
-
metadata: jsonSchema.nullable(),
|
|
270
|
-
project_id: z.string(),
|
|
271
|
-
status: z.string().nullable(),
|
|
272
|
-
type: z.string(),
|
|
273
|
-
updated_at: z.string(),
|
|
274
|
-
});
|
|
275
|
-
|
|
276
|
-
export const publicAuditAssetsInsertSchema = z.object({
|
|
277
|
-
content: z.string(),
|
|
278
|
-
created_at: z.string().optional(),
|
|
279
|
-
id: z.string().optional(),
|
|
280
|
-
metadata: jsonSchema.optional().nullable(),
|
|
281
|
-
project_id: z.string(),
|
|
282
|
-
status: z.string().optional().nullable(),
|
|
283
|
-
type: z.string(),
|
|
284
|
-
updated_at: z.string().optional(),
|
|
285
|
-
});
|
|
286
|
-
|
|
287
|
-
export const publicAuditAssetsUpdateSchema = z.object({
|
|
288
|
-
content: z.string().optional(),
|
|
289
|
-
created_at: z.string().optional(),
|
|
290
|
-
id: z.string().optional(),
|
|
291
|
-
metadata: jsonSchema.optional().nullable(),
|
|
292
|
-
project_id: z.string().optional(),
|
|
293
|
-
status: z.string().optional().nullable(),
|
|
294
|
-
type: z.string().optional(),
|
|
295
|
-
updated_at: z.string().optional(),
|
|
296
|
-
});
|
|
297
|
-
|
|
298
|
-
export const publicAuditAssetsRelationshipsSchema = z.tuple([
|
|
299
|
-
z.object({
|
|
300
|
-
foreignKeyName: z.literal("audit_assets_project_id_fkey"),
|
|
301
|
-
columns: z.tuple([z.literal("project_id")]),
|
|
302
|
-
isOneToOne: z.literal(false),
|
|
303
|
-
referencedRelation: z.literal("audit_projects"),
|
|
304
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
305
|
-
}),
|
|
306
|
-
]);
|
|
307
|
-
|
|
308
|
-
export const publicAuditFindingsRowSchema = z.object({
|
|
309
|
-
ai_analysis: z.string().nullable(),
|
|
310
|
-
created_at: z.string(),
|
|
311
|
-
description: z.string().nullable(),
|
|
312
|
-
id: z.string(),
|
|
313
|
-
project_id: z.string(),
|
|
314
|
-
proof_poc: z.string().nullable(),
|
|
315
|
-
remediation: z.string().nullable(),
|
|
316
|
-
severity: publicAuditFindingSeveritySchema.nullable(),
|
|
317
|
-
status: z.string().nullable(),
|
|
318
|
-
task_id: z.string().nullable(),
|
|
319
|
-
title: z.string(),
|
|
320
|
-
updated_at: z.string(),
|
|
321
|
-
});
|
|
322
|
-
|
|
323
|
-
export const publicAuditFindingsInsertSchema = z.object({
|
|
324
|
-
ai_analysis: z.string().optional().nullable(),
|
|
325
|
-
created_at: z.string().optional(),
|
|
326
|
-
description: z.string().optional().nullable(),
|
|
327
|
-
id: z.string().optional(),
|
|
328
|
-
project_id: z.string(),
|
|
329
|
-
proof_poc: z.string().optional().nullable(),
|
|
330
|
-
remediation: z.string().optional().nullable(),
|
|
331
|
-
severity: publicAuditFindingSeveritySchema.optional().nullable(),
|
|
332
|
-
status: z.string().optional().nullable(),
|
|
333
|
-
task_id: z.string().optional().nullable(),
|
|
334
|
-
title: z.string(),
|
|
335
|
-
updated_at: z.string().optional(),
|
|
336
|
-
});
|
|
337
|
-
|
|
338
|
-
export const publicAuditFindingsUpdateSchema = z.object({
|
|
339
|
-
ai_analysis: z.string().optional().nullable(),
|
|
340
|
-
created_at: z.string().optional(),
|
|
341
|
-
description: z.string().optional().nullable(),
|
|
342
|
-
id: z.string().optional(),
|
|
343
|
-
project_id: z.string().optional(),
|
|
344
|
-
proof_poc: z.string().optional().nullable(),
|
|
345
|
-
remediation: z.string().optional().nullable(),
|
|
346
|
-
severity: publicAuditFindingSeveritySchema.optional().nullable(),
|
|
347
|
-
status: z.string().optional().nullable(),
|
|
348
|
-
task_id: z.string().optional().nullable(),
|
|
349
|
-
title: z.string().optional(),
|
|
350
|
-
updated_at: z.string().optional(),
|
|
351
|
-
});
|
|
352
|
-
|
|
353
|
-
export const publicAuditFindingsRelationshipsSchema = z.tuple([
|
|
354
|
-
z.object({
|
|
355
|
-
foreignKeyName: z.literal("audit_findings_project_id_fkey"),
|
|
356
|
-
columns: z.tuple([z.literal("project_id")]),
|
|
357
|
-
isOneToOne: z.literal(false),
|
|
358
|
-
referencedRelation: z.literal("audit_projects"),
|
|
359
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
360
|
-
}),
|
|
361
|
-
z.object({
|
|
362
|
-
foreignKeyName: z.literal("audit_findings_task_id_fkey"),
|
|
363
|
-
columns: z.tuple([z.literal("task_id")]),
|
|
364
|
-
isOneToOne: z.literal(false),
|
|
365
|
-
referencedRelation: z.literal("tasks"),
|
|
366
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
367
|
-
}),
|
|
368
|
-
]);
|
|
369
|
-
|
|
370
|
-
export const publicAuditPocsRowSchema = z.object({
|
|
371
|
-
created_at: z.string(),
|
|
372
|
-
cve_id: z.string().nullable(),
|
|
373
|
-
id: z.string(),
|
|
374
|
-
name: z.string(),
|
|
375
|
-
path: z.string().nullable(),
|
|
376
|
-
project_id: z.string(),
|
|
377
|
-
severity: z.string().nullable(),
|
|
378
|
-
status: z.string().nullable(),
|
|
379
|
-
updated_at: z.string(),
|
|
380
|
-
});
|
|
381
|
-
|
|
382
|
-
export const publicAuditPocsInsertSchema = z.object({
|
|
383
|
-
created_at: z.string().optional(),
|
|
384
|
-
cve_id: z.string().optional().nullable(),
|
|
385
|
-
id: z.string().optional(),
|
|
386
|
-
name: z.string(),
|
|
387
|
-
path: z.string().optional().nullable(),
|
|
388
|
-
project_id: z.string(),
|
|
389
|
-
severity: z.string().optional().nullable(),
|
|
390
|
-
status: z.string().optional().nullable(),
|
|
391
|
-
updated_at: z.string().optional(),
|
|
392
|
-
});
|
|
393
|
-
|
|
394
|
-
export const publicAuditPocsUpdateSchema = z.object({
|
|
395
|
-
created_at: z.string().optional(),
|
|
396
|
-
cve_id: z.string().optional().nullable(),
|
|
397
|
-
id: z.string().optional(),
|
|
398
|
-
name: z.string().optional(),
|
|
399
|
-
path: z.string().optional().nullable(),
|
|
400
|
-
project_id: z.string().optional(),
|
|
401
|
-
severity: z.string().optional().nullable(),
|
|
402
|
-
status: z.string().optional().nullable(),
|
|
403
|
-
updated_at: z.string().optional(),
|
|
404
|
-
});
|
|
405
|
-
|
|
406
|
-
export const publicAuditPocsRelationshipsSchema = z.tuple([
|
|
407
|
-
z.object({
|
|
408
|
-
foreignKeyName: z.literal("audit_pocs_project_id_fkey"),
|
|
409
|
-
columns: z.tuple([z.literal("project_id")]),
|
|
410
|
-
isOneToOne: z.literal(false),
|
|
411
|
-
referencedRelation: z.literal("audit_projects"),
|
|
412
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
413
|
-
}),
|
|
414
|
-
]);
|
|
415
|
-
|
|
416
|
-
export const publicAuditProjectsRowSchema = z.object({
|
|
417
|
-
config: jsonSchema.nullable(),
|
|
418
|
-
created_at: z.string(),
|
|
419
|
-
id: z.string(),
|
|
420
|
-
name: z.string(),
|
|
421
|
-
repo_branch: z.string().nullable(),
|
|
422
|
-
repo_url: z.string().nullable(),
|
|
423
|
-
target: z.string().nullable(),
|
|
424
|
-
updated_at: z.string(),
|
|
425
|
-
user_id: z.string(),
|
|
426
|
-
worker_id: z.string().nullable(),
|
|
427
|
-
});
|
|
428
|
-
|
|
429
|
-
export const publicAuditProjectsInsertSchema = z.object({
|
|
430
|
-
config: jsonSchema.optional().nullable(),
|
|
431
|
-
created_at: z.string().optional(),
|
|
432
|
-
id: z.string().optional(),
|
|
433
|
-
name: z.string(),
|
|
434
|
-
repo_branch: z.string().optional().nullable(),
|
|
435
|
-
repo_url: z.string().optional().nullable(),
|
|
436
|
-
target: z.string().optional().nullable(),
|
|
437
|
-
updated_at: z.string().optional(),
|
|
438
|
-
user_id: z.string(),
|
|
439
|
-
worker_id: z.string().optional().nullable(),
|
|
440
|
-
});
|
|
441
|
-
|
|
442
|
-
export const publicAuditProjectsUpdateSchema = z.object({
|
|
443
|
-
config: jsonSchema.optional().nullable(),
|
|
444
|
-
created_at: z.string().optional(),
|
|
445
|
-
id: z.string().optional(),
|
|
446
|
-
name: z.string().optional(),
|
|
447
|
-
repo_branch: z.string().optional().nullable(),
|
|
448
|
-
repo_url: z.string().optional().nullable(),
|
|
449
|
-
target: z.string().optional().nullable(),
|
|
450
|
-
updated_at: z.string().optional(),
|
|
451
|
-
user_id: z.string().optional(),
|
|
452
|
-
worker_id: z.string().optional().nullable(),
|
|
453
|
-
});
|
|
454
|
-
|
|
455
|
-
export const publicAuditProjectsRelationshipsSchema = z.tuple([
|
|
456
|
-
z.object({
|
|
457
|
-
foreignKeyName: z.literal("audit_projects_worker_id_fkey"),
|
|
458
|
-
columns: z.tuple([z.literal("worker_id")]),
|
|
459
|
-
isOneToOne: z.literal(false),
|
|
460
|
-
referencedRelation: z.literal("servers"),
|
|
461
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
462
|
-
}),
|
|
463
|
-
]);
|
|
464
|
-
|
|
465
|
-
export const publicAuditSkillsRowSchema = z.object({
|
|
466
|
-
created_at: z.string(),
|
|
467
|
-
dependencies: jsonSchema.nullable(),
|
|
468
|
-
description: z.string().nullable(),
|
|
469
|
-
id: z.string(),
|
|
470
|
-
name: z.string(),
|
|
471
|
-
params_schema: jsonSchema.nullable(),
|
|
472
|
-
project_id: z.string(),
|
|
473
|
-
source_path: z.string().nullable(),
|
|
474
|
-
updated_at: z.string(),
|
|
475
|
-
version: z.string().nullable(),
|
|
476
|
-
});
|
|
477
|
-
|
|
478
|
-
export const publicAuditSkillsInsertSchema = z.object({
|
|
479
|
-
created_at: z.string().optional(),
|
|
480
|
-
dependencies: jsonSchema.optional().nullable(),
|
|
481
|
-
description: z.string().optional().nullable(),
|
|
482
|
-
id: z.string().optional(),
|
|
483
|
-
name: z.string(),
|
|
484
|
-
params_schema: jsonSchema.optional().nullable(),
|
|
485
|
-
project_id: z.string(),
|
|
486
|
-
source_path: z.string().optional().nullable(),
|
|
487
|
-
updated_at: z.string().optional(),
|
|
488
|
-
version: z.string().optional().nullable(),
|
|
489
|
-
});
|
|
490
|
-
|
|
491
|
-
export const publicAuditSkillsUpdateSchema = z.object({
|
|
492
|
-
created_at: z.string().optional(),
|
|
493
|
-
dependencies: jsonSchema.optional().nullable(),
|
|
494
|
-
description: z.string().optional().nullable(),
|
|
495
|
-
id: z.string().optional(),
|
|
496
|
-
name: z.string().optional(),
|
|
497
|
-
params_schema: jsonSchema.optional().nullable(),
|
|
498
|
-
project_id: z.string().optional(),
|
|
499
|
-
source_path: z.string().optional().nullable(),
|
|
500
|
-
updated_at: z.string().optional(),
|
|
501
|
-
version: z.string().optional().nullable(),
|
|
502
|
-
});
|
|
503
|
-
|
|
504
|
-
export const publicAuditSkillsRelationshipsSchema = z.tuple([
|
|
505
|
-
z.object({
|
|
506
|
-
foreignKeyName: z.literal("audit_skills_project_id_fkey"),
|
|
507
|
-
columns: z.tuple([z.literal("project_id")]),
|
|
508
|
-
isOneToOne: z.literal(false),
|
|
509
|
-
referencedRelation: z.literal("audit_projects"),
|
|
510
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
511
|
-
}),
|
|
512
|
-
]);
|
|
513
|
-
|
|
514
|
-
export const publicBrowsersRowSchema = z.object({
|
|
515
|
-
cdpUrl: z.string().nullable(),
|
|
516
|
-
config: jsonSchema.nullable(),
|
|
517
|
-
created_at: z.string(),
|
|
518
|
-
description: z.string().nullable(),
|
|
519
|
-
id: z.string(),
|
|
520
|
-
profile_id: z.string().nullable(),
|
|
521
|
-
provider: z.string().nullable(),
|
|
522
|
-
provider_config: jsonSchema.nullable(),
|
|
523
|
-
sandbox_id: z.string().nullable(),
|
|
524
|
-
title: z.string().nullable(),
|
|
525
|
-
updated_at: z.string().nullable(),
|
|
526
|
-
user_id: z.string().nullable(),
|
|
527
|
-
});
|
|
528
|
-
|
|
529
|
-
export const publicBrowsersInsertSchema = z.object({
|
|
530
|
-
cdpUrl: z.string().optional().nullable(),
|
|
531
|
-
config: jsonSchema.optional().nullable(),
|
|
532
|
-
created_at: z.string().optional(),
|
|
533
|
-
description: z.string().optional().nullable(),
|
|
534
|
-
id: z.string().optional(),
|
|
535
|
-
profile_id: z.string().optional().nullable(),
|
|
536
|
-
provider: z.string().optional().nullable(),
|
|
537
|
-
provider_config: jsonSchema.optional().nullable(),
|
|
538
|
-
sandbox_id: z.string().optional().nullable(),
|
|
539
|
-
title: z.string().optional().nullable(),
|
|
540
|
-
updated_at: z.string().optional().nullable(),
|
|
541
|
-
user_id: z.string().optional().nullable(),
|
|
542
|
-
});
|
|
543
|
-
|
|
544
|
-
export const publicBrowsersUpdateSchema = z.object({
|
|
545
|
-
cdpUrl: z.string().optional().nullable(),
|
|
546
|
-
config: jsonSchema.optional().nullable(),
|
|
547
|
-
created_at: z.string().optional(),
|
|
548
|
-
description: z.string().optional().nullable(),
|
|
549
|
-
id: z.string().optional(),
|
|
550
|
-
profile_id: z.string().optional().nullable(),
|
|
551
|
-
provider: z.string().optional().nullable(),
|
|
552
|
-
provider_config: jsonSchema.optional().nullable(),
|
|
553
|
-
sandbox_id: z.string().optional().nullable(),
|
|
554
|
-
title: z.string().optional().nullable(),
|
|
555
|
-
updated_at: z.string().optional().nullable(),
|
|
556
|
-
user_id: z.string().optional().nullable(),
|
|
557
|
-
});
|
|
558
|
-
|
|
559
|
-
export const publicCampaignsRowSchema = z.object({
|
|
560
|
-
completed_at: z.string().nullable(),
|
|
561
|
-
config: jsonSchema,
|
|
562
|
-
created_at: z.string(),
|
|
563
|
-
description: z.string().nullable(),
|
|
564
|
-
id: z.string(),
|
|
565
|
-
message_template: z.string().nullable(),
|
|
566
|
-
name: z.string(),
|
|
567
|
-
platform: z.string(),
|
|
568
|
-
schedule: jsonSchema,
|
|
569
|
-
started_at: z.string().nullable(),
|
|
570
|
-
stats: jsonSchema,
|
|
571
|
-
status: z.string(),
|
|
572
|
-
target_filter: jsonSchema,
|
|
573
|
-
updated_at: z.string(),
|
|
574
|
-
user_id: z.string(),
|
|
575
|
-
});
|
|
576
|
-
|
|
577
|
-
export const publicCampaignsInsertSchema = z.object({
|
|
578
|
-
completed_at: z.string().optional().nullable(),
|
|
579
|
-
config: jsonSchema.optional(),
|
|
580
|
-
created_at: z.string().optional(),
|
|
581
|
-
description: z.string().optional().nullable(),
|
|
582
|
-
id: z.string().optional(),
|
|
583
|
-
message_template: z.string().optional().nullable(),
|
|
584
|
-
name: z.string(),
|
|
585
|
-
platform: z.string().optional(),
|
|
586
|
-
schedule: jsonSchema.optional(),
|
|
587
|
-
started_at: z.string().optional().nullable(),
|
|
588
|
-
stats: jsonSchema.optional(),
|
|
589
|
-
status: z.string().optional(),
|
|
590
|
-
target_filter: jsonSchema.optional(),
|
|
591
|
-
updated_at: z.string().optional(),
|
|
592
|
-
user_id: z.string(),
|
|
593
|
-
});
|
|
594
|
-
|
|
595
|
-
export const publicCampaignsUpdateSchema = z.object({
|
|
596
|
-
completed_at: z.string().optional().nullable(),
|
|
597
|
-
config: jsonSchema.optional(),
|
|
598
|
-
created_at: z.string().optional(),
|
|
599
|
-
description: z.string().optional().nullable(),
|
|
600
|
-
id: z.string().optional(),
|
|
601
|
-
message_template: z.string().optional().nullable(),
|
|
602
|
-
name: z.string().optional(),
|
|
603
|
-
platform: z.string().optional(),
|
|
604
|
-
schedule: jsonSchema.optional(),
|
|
605
|
-
started_at: z.string().optional().nullable(),
|
|
606
|
-
stats: jsonSchema.optional(),
|
|
607
|
-
status: z.string().optional(),
|
|
608
|
-
target_filter: jsonSchema.optional(),
|
|
609
|
-
updated_at: z.string().optional(),
|
|
610
|
-
user_id: z.string().optional(),
|
|
611
|
-
});
|
|
612
|
-
|
|
613
|
-
export const publicChatMessagesRowSchema = z.object({
|
|
614
|
-
attachments: jsonSchema.nullable(),
|
|
615
|
-
chat_id: z.string(),
|
|
616
|
-
created_at: z.string(),
|
|
617
|
-
grounding_metadata: jsonSchema.nullable(),
|
|
618
|
-
id: z.string(),
|
|
619
|
-
parts: jsonSchema,
|
|
620
|
-
role: publicChatRoleSchema,
|
|
621
|
-
updated_at: z.string(),
|
|
622
|
-
user_id: z.string().nullable(),
|
|
623
|
-
});
|
|
624
|
-
|
|
625
|
-
export const publicChatMessagesInsertSchema = z.object({
|
|
626
|
-
attachments: jsonSchema.optional().nullable(),
|
|
627
|
-
chat_id: z.string(),
|
|
628
|
-
created_at: z.string().optional(),
|
|
629
|
-
grounding_metadata: jsonSchema.optional().nullable(),
|
|
630
|
-
id: z.string().optional(),
|
|
631
|
-
parts: jsonSchema,
|
|
632
|
-
role: publicChatRoleSchema.optional(),
|
|
633
|
-
updated_at: z.string().optional(),
|
|
634
|
-
user_id: z.string().optional().nullable(),
|
|
635
|
-
});
|
|
636
|
-
|
|
637
|
-
export const publicChatMessagesUpdateSchema = z.object({
|
|
638
|
-
attachments: jsonSchema.optional().nullable(),
|
|
639
|
-
chat_id: z.string().optional(),
|
|
640
|
-
created_at: z.string().optional(),
|
|
641
|
-
grounding_metadata: jsonSchema.optional().nullable(),
|
|
642
|
-
id: z.string().optional(),
|
|
643
|
-
parts: jsonSchema.optional(),
|
|
644
|
-
role: publicChatRoleSchema.optional(),
|
|
645
|
-
updated_at: z.string().optional(),
|
|
646
|
-
user_id: z.string().optional().nullable(),
|
|
647
|
-
});
|
|
648
|
-
|
|
649
|
-
export const publicChatMessagesRelationshipsSchema = z.tuple([
|
|
650
|
-
z.object({
|
|
651
|
-
foreignKeyName: z.literal("chat_messages_chat_id_fkey"),
|
|
652
|
-
columns: z.tuple([z.literal("chat_id")]),
|
|
653
|
-
isOneToOne: z.literal(false),
|
|
654
|
-
referencedRelation: z.literal("chats"),
|
|
655
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
656
|
-
}),
|
|
657
|
-
]);
|
|
658
|
-
|
|
659
|
-
export const publicChatsRowSchema = z.object({
|
|
660
|
-
agent_id: z.string(),
|
|
661
|
-
created_at: z.string(),
|
|
662
|
-
id: z.string(),
|
|
663
|
-
lastContext: jsonSchema.nullable(),
|
|
664
|
-
state: jsonSchema.nullable(),
|
|
665
|
-
title: z.string(),
|
|
666
|
-
type: z.string(),
|
|
667
|
-
updated_at: z.string().nullable(),
|
|
668
|
-
user_id: z.string().nullable(),
|
|
669
|
-
visibility: publicChatVisibilitySchema,
|
|
670
|
-
});
|
|
671
|
-
|
|
672
|
-
export const publicChatsInsertSchema = z.object({
|
|
673
|
-
agent_id: z.string(),
|
|
674
|
-
created_at: z.string().optional(),
|
|
675
|
-
id: z.string().optional(),
|
|
676
|
-
lastContext: jsonSchema.optional().nullable(),
|
|
677
|
-
state: jsonSchema.optional().nullable(),
|
|
678
|
-
title: z.string(),
|
|
679
|
-
type: z.string().optional(),
|
|
680
|
-
updated_at: z.string().optional().nullable(),
|
|
681
|
-
user_id: z.string().optional().nullable(),
|
|
682
|
-
visibility: publicChatVisibilitySchema.optional(),
|
|
683
|
-
});
|
|
684
|
-
|
|
685
|
-
export const publicChatsUpdateSchema = z.object({
|
|
686
|
-
agent_id: z.string().optional(),
|
|
687
|
-
created_at: z.string().optional(),
|
|
688
|
-
id: z.string().optional(),
|
|
689
|
-
lastContext: jsonSchema.optional().nullable(),
|
|
690
|
-
state: jsonSchema.optional().nullable(),
|
|
691
|
-
title: z.string().optional(),
|
|
692
|
-
type: z.string().optional(),
|
|
693
|
-
updated_at: z.string().optional().nullable(),
|
|
694
|
-
user_id: z.string().optional().nullable(),
|
|
695
|
-
visibility: publicChatVisibilitySchema.optional(),
|
|
696
|
-
});
|
|
697
|
-
|
|
698
|
-
export const publicCleanupPoliciesRowSchema = z.object({
|
|
699
|
-
cleanup_function: z.string(),
|
|
700
|
-
created_at: z.string(),
|
|
701
|
-
enabled: z.boolean(),
|
|
702
|
-
id: z.string(),
|
|
703
|
-
policy_name: z.string(),
|
|
704
|
-
retention_days: z.number(),
|
|
705
|
-
table_name: z.string(),
|
|
706
|
-
updated_at: z.string(),
|
|
707
|
-
});
|
|
708
|
-
|
|
709
|
-
export const publicCleanupPoliciesInsertSchema = z.object({
|
|
710
|
-
cleanup_function: z.string(),
|
|
711
|
-
created_at: z.string().optional(),
|
|
712
|
-
enabled: z.boolean().optional(),
|
|
713
|
-
id: z.string().optional(),
|
|
714
|
-
policy_name: z.string(),
|
|
715
|
-
retention_days: z.number().optional(),
|
|
716
|
-
table_name: z.string(),
|
|
717
|
-
updated_at: z.string().optional(),
|
|
718
|
-
});
|
|
719
|
-
|
|
720
|
-
export const publicCleanupPoliciesUpdateSchema = z.object({
|
|
721
|
-
cleanup_function: z.string().optional(),
|
|
722
|
-
created_at: z.string().optional(),
|
|
723
|
-
enabled: z.boolean().optional(),
|
|
724
|
-
id: z.string().optional(),
|
|
725
|
-
policy_name: z.string().optional(),
|
|
726
|
-
retention_days: z.number().optional(),
|
|
727
|
-
table_name: z.string().optional(),
|
|
728
|
-
updated_at: z.string().optional(),
|
|
729
|
-
});
|
|
730
|
-
|
|
731
|
-
export const publicCloudAccountsRowSchema = z.object({
|
|
732
|
-
access_token: z.string().nullable(),
|
|
733
|
-
account_email: z.string().nullable(),
|
|
734
|
-
account_name: z.string().nullable(),
|
|
735
|
-
automation_config: jsonSchema.nullable(),
|
|
736
|
-
created_at: z.string(),
|
|
737
|
-
credentials: jsonSchema.nullable(),
|
|
738
|
-
device_fingerprint: jsonSchema.nullable(),
|
|
739
|
-
device_history: z.array(jsonSchema).nullable(),
|
|
740
|
-
id: z.string(),
|
|
741
|
-
last_refresh_at: z.string().nullable(),
|
|
742
|
-
last_used_at: z.string().nullable(),
|
|
743
|
-
metadata: jsonSchema.nullable(),
|
|
744
|
-
platform_name: z.string().nullable(),
|
|
745
|
-
proxy_disabled: z.boolean().nullable(),
|
|
746
|
-
proxy_disabled_at: z.string().nullable(),
|
|
747
|
-
proxy_disabled_reason: z.string().nullable(),
|
|
748
|
-
quota_data: jsonSchema.nullable(),
|
|
749
|
-
refresh_error: z.string().nullable(),
|
|
750
|
-
refresh_token: z.string().nullable(),
|
|
751
|
-
refresh_token_expires_at: z.string().nullable(),
|
|
752
|
-
session_data: jsonSchema.nullable(),
|
|
753
|
-
status: publicCloudAccountStatusSchema.nullable(),
|
|
754
|
-
status_reason: z.string().nullable(),
|
|
755
|
-
status_updated_at: z.string().nullable(),
|
|
756
|
-
token_expires_at: z.string().nullable(),
|
|
757
|
-
token_type: z.string().nullable(),
|
|
758
|
-
updated_at: z.string().nullable(),
|
|
759
|
-
use_count: z.number().nullable(),
|
|
760
|
-
user_id: z.string(),
|
|
761
|
-
});
|
|
762
|
-
|
|
763
|
-
export const publicCloudAccountsInsertSchema = z.object({
|
|
764
|
-
access_token: z.string().optional().nullable(),
|
|
765
|
-
account_email: z.string().optional().nullable(),
|
|
766
|
-
account_name: z.string().optional().nullable(),
|
|
767
|
-
automation_config: jsonSchema.optional().nullable(),
|
|
768
|
-
created_at: z.string().optional(),
|
|
769
|
-
credentials: jsonSchema.optional().nullable(),
|
|
770
|
-
device_fingerprint: jsonSchema.optional().nullable(),
|
|
771
|
-
device_history: z.array(jsonSchema).optional().nullable(),
|
|
772
|
-
id: z.string().optional(),
|
|
773
|
-
last_refresh_at: z.string().optional().nullable(),
|
|
774
|
-
last_used_at: z.string().optional().nullable(),
|
|
775
|
-
metadata: jsonSchema.optional().nullable(),
|
|
776
|
-
platform_name: z.string().optional().nullable(),
|
|
777
|
-
proxy_disabled: z.boolean().optional().nullable(),
|
|
778
|
-
proxy_disabled_at: z.string().optional().nullable(),
|
|
779
|
-
proxy_disabled_reason: z.string().optional().nullable(),
|
|
780
|
-
quota_data: jsonSchema.optional().nullable(),
|
|
781
|
-
refresh_error: z.string().optional().nullable(),
|
|
782
|
-
refresh_token: z.string().optional().nullable(),
|
|
783
|
-
refresh_token_expires_at: z.string().optional().nullable(),
|
|
784
|
-
session_data: jsonSchema.optional().nullable(),
|
|
785
|
-
status: publicCloudAccountStatusSchema.optional().nullable(),
|
|
786
|
-
status_reason: z.string().optional().nullable(),
|
|
787
|
-
status_updated_at: z.string().optional().nullable(),
|
|
788
|
-
token_expires_at: z.string().optional().nullable(),
|
|
789
|
-
token_type: z.string().optional().nullable(),
|
|
790
|
-
updated_at: z.string().optional().nullable(),
|
|
791
|
-
use_count: z.number().optional().nullable(),
|
|
792
|
-
user_id: z.string(),
|
|
793
|
-
});
|
|
794
|
-
|
|
795
|
-
export const publicCloudAccountsUpdateSchema = z.object({
|
|
796
|
-
access_token: z.string().optional().nullable(),
|
|
797
|
-
account_email: z.string().optional().nullable(),
|
|
798
|
-
account_name: z.string().optional().nullable(),
|
|
799
|
-
automation_config: jsonSchema.optional().nullable(),
|
|
800
|
-
created_at: z.string().optional(),
|
|
801
|
-
credentials: jsonSchema.optional().nullable(),
|
|
802
|
-
device_fingerprint: jsonSchema.optional().nullable(),
|
|
803
|
-
device_history: z.array(jsonSchema).optional().nullable(),
|
|
804
|
-
id: z.string().optional(),
|
|
805
|
-
last_refresh_at: z.string().optional().nullable(),
|
|
806
|
-
last_used_at: z.string().optional().nullable(),
|
|
807
|
-
metadata: jsonSchema.optional().nullable(),
|
|
808
|
-
platform_name: z.string().optional().nullable(),
|
|
809
|
-
proxy_disabled: z.boolean().optional().nullable(),
|
|
810
|
-
proxy_disabled_at: z.string().optional().nullable(),
|
|
811
|
-
proxy_disabled_reason: z.string().optional().nullable(),
|
|
812
|
-
quota_data: jsonSchema.optional().nullable(),
|
|
813
|
-
refresh_error: z.string().optional().nullable(),
|
|
814
|
-
refresh_token: z.string().optional().nullable(),
|
|
815
|
-
refresh_token_expires_at: z.string().optional().nullable(),
|
|
816
|
-
session_data: jsonSchema.optional().nullable(),
|
|
817
|
-
status: publicCloudAccountStatusSchema.optional().nullable(),
|
|
818
|
-
status_reason: z.string().optional().nullable(),
|
|
819
|
-
status_updated_at: z.string().optional().nullable(),
|
|
820
|
-
token_expires_at: z.string().optional().nullable(),
|
|
821
|
-
token_type: z.string().optional().nullable(),
|
|
822
|
-
updated_at: z.string().optional().nullable(),
|
|
823
|
-
use_count: z.number().optional().nullable(),
|
|
824
|
-
user_id: z.string().optional(),
|
|
825
|
-
});
|
|
826
|
-
|
|
827
|
-
export const publicComputeNodesRowSchema = z.object({
|
|
828
|
-
auth_secret: z.string().nullable(),
|
|
829
|
-
created_at: z.string(),
|
|
830
|
-
host: z.string(),
|
|
831
|
-
id: z.string(),
|
|
832
|
-
is_public: z.boolean().nullable(),
|
|
833
|
-
name: z.string(),
|
|
834
|
-
port: z.number(),
|
|
835
|
-
provider: z.string(),
|
|
836
|
-
updated_at: z.string(),
|
|
837
|
-
user_id: z.string(),
|
|
838
|
-
username: z.string().nullable(),
|
|
839
|
-
});
|
|
840
|
-
|
|
841
|
-
export const publicComputeNodesInsertSchema = z.object({
|
|
842
|
-
auth_secret: z.string().optional().nullable(),
|
|
843
|
-
created_at: z.string().optional(),
|
|
844
|
-
host: z.string(),
|
|
845
|
-
id: z.string().optional(),
|
|
846
|
-
is_public: z.boolean().optional().nullable(),
|
|
847
|
-
name: z.string(),
|
|
848
|
-
port: z.number().optional(),
|
|
849
|
-
provider: z.string().optional(),
|
|
850
|
-
updated_at: z.string().optional(),
|
|
851
|
-
user_id: z.string().optional(),
|
|
852
|
-
username: z.string().optional().nullable(),
|
|
853
|
-
});
|
|
854
|
-
|
|
855
|
-
export const publicComputeNodesUpdateSchema = z.object({
|
|
856
|
-
auth_secret: z.string().optional().nullable(),
|
|
857
|
-
created_at: z.string().optional(),
|
|
858
|
-
host: z.string().optional(),
|
|
859
|
-
id: z.string().optional(),
|
|
860
|
-
is_public: z.boolean().optional().nullable(),
|
|
861
|
-
name: z.string().optional(),
|
|
862
|
-
port: z.number().optional(),
|
|
863
|
-
provider: z.string().optional(),
|
|
864
|
-
updated_at: z.string().optional(),
|
|
865
|
-
user_id: z.string().optional(),
|
|
866
|
-
username: z.string().optional().nullable(),
|
|
867
|
-
});
|
|
868
|
-
|
|
869
|
-
export const publicContactsRowSchema = z.object({
|
|
870
|
-
created_at: z.string(),
|
|
871
|
-
email: z.string().nullable(),
|
|
872
|
-
id: z.string(),
|
|
873
|
-
metadata: jsonSchema,
|
|
874
|
-
name: z.string().nullable(),
|
|
875
|
-
phone: z.string().nullable(),
|
|
876
|
-
platform: z.string(),
|
|
877
|
-
source: z.string(),
|
|
878
|
-
status: z.string(),
|
|
879
|
-
tags: z.array(z.string()),
|
|
880
|
-
telegram_id: z.number().nullable(),
|
|
881
|
-
telegram_username: z.string().nullable(),
|
|
882
|
-
updated_at: z.string(),
|
|
883
|
-
user_id: z.string(),
|
|
884
|
-
});
|
|
885
|
-
|
|
886
|
-
export const publicContactsInsertSchema = z.object({
|
|
887
|
-
created_at: z.string().optional(),
|
|
888
|
-
email: z.string().optional().nullable(),
|
|
889
|
-
id: z.string().optional(),
|
|
890
|
-
metadata: jsonSchema.optional(),
|
|
891
|
-
name: z.string().optional().nullable(),
|
|
892
|
-
phone: z.string().optional().nullable(),
|
|
893
|
-
platform: z.string().optional(),
|
|
894
|
-
source: z.string().optional(),
|
|
895
|
-
status: z.string().optional(),
|
|
896
|
-
tags: z.array(z.string()).optional(),
|
|
897
|
-
telegram_id: z.number().optional().nullable(),
|
|
898
|
-
telegram_username: z.string().optional().nullable(),
|
|
899
|
-
updated_at: z.string().optional(),
|
|
900
|
-
user_id: z.string(),
|
|
901
|
-
});
|
|
902
|
-
|
|
903
|
-
export const publicContactsUpdateSchema = z.object({
|
|
904
|
-
created_at: z.string().optional(),
|
|
905
|
-
email: z.string().optional().nullable(),
|
|
906
|
-
id: z.string().optional(),
|
|
907
|
-
metadata: jsonSchema.optional(),
|
|
908
|
-
name: z.string().optional().nullable(),
|
|
909
|
-
phone: z.string().optional().nullable(),
|
|
910
|
-
platform: z.string().optional(),
|
|
911
|
-
source: z.string().optional(),
|
|
912
|
-
status: z.string().optional(),
|
|
913
|
-
tags: z.array(z.string()).optional(),
|
|
914
|
-
telegram_id: z.number().optional().nullable(),
|
|
915
|
-
telegram_username: z.string().optional().nullable(),
|
|
916
|
-
updated_at: z.string().optional(),
|
|
917
|
-
user_id: z.string().optional(),
|
|
918
|
-
});
|
|
919
|
-
|
|
920
|
-
export const publicGomtmModelsRowSchema = z.object({
|
|
921
|
-
api_base: z.string().nullable(),
|
|
922
|
-
api_key: z.string().nullable(),
|
|
923
|
-
config: jsonSchema.nullable(),
|
|
924
|
-
created_at: z.string(),
|
|
925
|
-
id: z.string(),
|
|
926
|
-
is_active: z.boolean(),
|
|
927
|
-
linked_account_id: z.string().nullable(),
|
|
928
|
-
model: z.string(),
|
|
929
|
-
name: z.string(),
|
|
930
|
-
provider: z.string(),
|
|
931
|
-
updated_at: z.string(),
|
|
932
|
-
user_id: z.string(),
|
|
933
|
-
});
|
|
934
|
-
|
|
935
|
-
export const publicGomtmModelsInsertSchema = z.object({
|
|
936
|
-
api_base: z.string().optional().nullable(),
|
|
937
|
-
api_key: z.string().optional().nullable(),
|
|
938
|
-
config: jsonSchema.optional().nullable(),
|
|
939
|
-
created_at: z.string().optional(),
|
|
940
|
-
id: z.string().optional(),
|
|
941
|
-
is_active: z.boolean().optional(),
|
|
942
|
-
linked_account_id: z.string().optional().nullable(),
|
|
943
|
-
model: z.string(),
|
|
944
|
-
name: z.string(),
|
|
945
|
-
provider: z.string(),
|
|
946
|
-
updated_at: z.string().optional(),
|
|
947
|
-
user_id: z.string(),
|
|
948
|
-
});
|
|
949
|
-
|
|
950
|
-
export const publicGomtmModelsUpdateSchema = z.object({
|
|
951
|
-
api_base: z.string().optional().nullable(),
|
|
952
|
-
api_key: z.string().optional().nullable(),
|
|
953
|
-
config: jsonSchema.optional().nullable(),
|
|
954
|
-
created_at: z.string().optional(),
|
|
955
|
-
id: z.string().optional(),
|
|
956
|
-
is_active: z.boolean().optional(),
|
|
957
|
-
linked_account_id: z.string().optional().nullable(),
|
|
958
|
-
model: z.string().optional(),
|
|
959
|
-
name: z.string().optional(),
|
|
960
|
-
provider: z.string().optional(),
|
|
961
|
-
updated_at: z.string().optional(),
|
|
962
|
-
user_id: z.string().optional(),
|
|
963
|
-
});
|
|
964
|
-
|
|
965
|
-
export const publicGomtmModelsRelationshipsSchema = z.tuple([
|
|
966
|
-
z.object({
|
|
967
|
-
foreignKeyName: z.literal("gomtm_models_linked_account_id_fkey"),
|
|
968
|
-
columns: z.tuple([z.literal("linked_account_id")]),
|
|
969
|
-
isOneToOne: z.literal(false),
|
|
970
|
-
referencedRelation: z.literal("cloud_accounts"),
|
|
971
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
972
|
-
}),
|
|
973
|
-
]);
|
|
974
|
-
|
|
975
|
-
export const publicInstanceTagsRowSchema = z.object({
|
|
976
|
-
created_at: z.string(),
|
|
977
|
-
instance_id: z.string(),
|
|
978
|
-
tag_id: z.string(),
|
|
979
|
-
});
|
|
980
|
-
|
|
981
|
-
export const publicInstanceTagsInsertSchema = z.object({
|
|
982
|
-
created_at: z.string().optional(),
|
|
983
|
-
instance_id: z.string(),
|
|
984
|
-
tag_id: z.string(),
|
|
985
|
-
});
|
|
986
|
-
|
|
987
|
-
export const publicInstanceTagsUpdateSchema = z.object({
|
|
988
|
-
created_at: z.string().optional(),
|
|
989
|
-
instance_id: z.string().optional(),
|
|
990
|
-
tag_id: z.string().optional(),
|
|
991
|
-
});
|
|
992
|
-
|
|
993
|
-
export const publicInstanceTagsRelationshipsSchema = z.tuple([
|
|
994
|
-
z.object({
|
|
995
|
-
foreignKeyName: z.literal("instance_tags_instance_id_fkey"),
|
|
996
|
-
columns: z.tuple([z.literal("instance_id")]),
|
|
997
|
-
isOneToOne: z.literal(false),
|
|
998
|
-
referencedRelation: z.literal("servers"),
|
|
999
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
1000
|
-
}),
|
|
1001
|
-
z.object({
|
|
1002
|
-
foreignKeyName: z.literal("instance_tags_tag_id_fkey"),
|
|
1003
|
-
columns: z.tuple([z.literal("tag_id")]),
|
|
1004
|
-
isOneToOne: z.literal(false),
|
|
1005
|
-
referencedRelation: z.literal("tags"),
|
|
1006
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
1007
|
-
}),
|
|
1008
|
-
]);
|
|
1009
|
-
|
|
1010
|
-
export const publicMitmRulesRowSchema = z.object({
|
|
1011
|
-
action_config: jsonSchema.nullable(),
|
|
1012
|
-
action_type: z.string().nullable(),
|
|
1013
|
-
created_at: z.string().nullable(),
|
|
1014
|
-
id: z.string(),
|
|
1015
|
-
is_active: z.boolean().nullable(),
|
|
1016
|
-
match_pattern: z.string().nullable(),
|
|
1017
|
-
name: z.string().nullable(),
|
|
1018
|
-
resource_id: z.string().nullable(),
|
|
1019
|
-
user_id: z.string().nullable(),
|
|
1020
|
-
});
|
|
1021
|
-
|
|
1022
|
-
export const publicMitmRulesInsertSchema = z.object({
|
|
1023
|
-
action_config: jsonSchema.optional().nullable(),
|
|
1024
|
-
action_type: z.string().optional().nullable(),
|
|
1025
|
-
created_at: z.string().optional().nullable(),
|
|
1026
|
-
id: z.string().optional(),
|
|
1027
|
-
is_active: z.boolean().optional().nullable(),
|
|
1028
|
-
match_pattern: z.string().optional().nullable(),
|
|
1029
|
-
name: z.string().optional().nullable(),
|
|
1030
|
-
resource_id: z.string().optional().nullable(),
|
|
1031
|
-
user_id: z.string().optional().nullable(),
|
|
1032
|
-
});
|
|
1033
|
-
|
|
1034
|
-
export const publicMitmRulesUpdateSchema = z.object({
|
|
1035
|
-
action_config: jsonSchema.optional().nullable(),
|
|
1036
|
-
action_type: z.string().optional().nullable(),
|
|
1037
|
-
created_at: z.string().optional().nullable(),
|
|
1038
|
-
id: z.string().optional(),
|
|
1039
|
-
is_active: z.boolean().optional().nullable(),
|
|
1040
|
-
match_pattern: z.string().optional().nullable(),
|
|
1041
|
-
name: z.string().optional().nullable(),
|
|
1042
|
-
resource_id: z.string().optional().nullable(),
|
|
1043
|
-
user_id: z.string().optional().nullable(),
|
|
1044
|
-
});
|
|
1045
|
-
|
|
1046
|
-
export const publicMitmRulesRelationshipsSchema = z.tuple([
|
|
1047
|
-
z.object({
|
|
1048
|
-
foreignKeyName: z.literal("mitm_rules_resource_id_fkey"),
|
|
1049
|
-
columns: z.tuple([z.literal("resource_id")]),
|
|
1050
|
-
isOneToOne: z.literal(false),
|
|
1051
|
-
referencedRelation: z.literal("resources"),
|
|
1052
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
1053
|
-
}),
|
|
1054
|
-
]);
|
|
1055
|
-
|
|
1056
|
-
export const publicOpenclawsRowSchema = z.object({
|
|
1057
|
-
config: jsonSchema,
|
|
1058
|
-
created_at: z.string(),
|
|
1059
|
-
desired_status: publicOpenclawStatusSchema,
|
|
1060
|
-
id: z.string(),
|
|
1061
|
-
metadata: jsonSchema.nullable(),
|
|
1062
|
-
name: z.string().nullable(),
|
|
1063
|
-
resolved_config: jsonSchema,
|
|
1064
|
-
server_id: z.string().nullable(),
|
|
1065
|
-
state: jsonSchema.nullable(),
|
|
1066
|
-
status: publicOpenclawStatusSchema,
|
|
1067
|
-
status_reason: z.string().nullable(),
|
|
1068
|
-
updated_at: z.string(),
|
|
1069
|
-
user_id: z.string(),
|
|
1070
|
-
});
|
|
1071
|
-
|
|
1072
|
-
export const publicOpenclawsInsertSchema = z.object({
|
|
1073
|
-
config: jsonSchema.optional(),
|
|
1074
|
-
created_at: z.string().optional(),
|
|
1075
|
-
desired_status: publicOpenclawStatusSchema.optional(),
|
|
1076
|
-
id: z.string().optional(),
|
|
1077
|
-
metadata: jsonSchema.optional().nullable(),
|
|
1078
|
-
name: z.string().optional().nullable(),
|
|
1079
|
-
resolved_config: jsonSchema.optional(),
|
|
1080
|
-
server_id: z.string().optional().nullable(),
|
|
1081
|
-
state: jsonSchema.optional().nullable(),
|
|
1082
|
-
status: publicOpenclawStatusSchema.optional(),
|
|
1083
|
-
status_reason: z.string().optional().nullable(),
|
|
1084
|
-
updated_at: z.string().optional(),
|
|
1085
|
-
user_id: z.string().optional(),
|
|
1086
|
-
});
|
|
1087
|
-
|
|
1088
|
-
export const publicOpenclawsUpdateSchema = z.object({
|
|
1089
|
-
config: jsonSchema.optional(),
|
|
1090
|
-
created_at: z.string().optional(),
|
|
1091
|
-
desired_status: publicOpenclawStatusSchema.optional(),
|
|
1092
|
-
id: z.string().optional(),
|
|
1093
|
-
metadata: jsonSchema.optional().nullable(),
|
|
1094
|
-
name: z.string().optional().nullable(),
|
|
1095
|
-
resolved_config: jsonSchema.optional(),
|
|
1096
|
-
server_id: z.string().optional().nullable(),
|
|
1097
|
-
state: jsonSchema.optional().nullable(),
|
|
1098
|
-
status: publicOpenclawStatusSchema.optional(),
|
|
1099
|
-
status_reason: z.string().optional().nullable(),
|
|
1100
|
-
updated_at: z.string().optional(),
|
|
1101
|
-
user_id: z.string().optional(),
|
|
1102
|
-
});
|
|
1103
|
-
|
|
1104
|
-
export const publicOpenclawsRelationshipsSchema = z.tuple([
|
|
1105
|
-
z.object({
|
|
1106
|
-
foreignKeyName: z.literal("openclaws_server_id_fkey"),
|
|
1107
|
-
columns: z.tuple([z.literal("server_id")]),
|
|
1108
|
-
isOneToOne: z.literal(false),
|
|
1109
|
-
referencedRelation: z.literal("servers"),
|
|
1110
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
1111
|
-
}),
|
|
1112
|
-
]);
|
|
1113
|
-
|
|
1114
|
-
export const publicOutreachMessagesRowSchema = z.object({
|
|
1115
|
-
content: z.string().nullable(),
|
|
1116
|
-
created_at: z.string(),
|
|
1117
|
-
delivered_at: z.string().nullable(),
|
|
1118
|
-
direction: z.string(),
|
|
1119
|
-
id: z.string(),
|
|
1120
|
-
metadata: jsonSchema.nullable(),
|
|
1121
|
-
read_at: z.string().nullable(),
|
|
1122
|
-
sent_at: z.string().nullable(),
|
|
1123
|
-
status: z.string().nullable(),
|
|
1124
|
-
task_id: z.string(),
|
|
1125
|
-
telegram_message_id: z.number().nullable(),
|
|
1126
|
-
user_id: z.string(),
|
|
1127
|
-
});
|
|
1128
|
-
|
|
1129
|
-
export const publicOutreachMessagesInsertSchema = z.object({
|
|
1130
|
-
content: z.string().optional().nullable(),
|
|
1131
|
-
created_at: z.string().optional(),
|
|
1132
|
-
delivered_at: z.string().optional().nullable(),
|
|
1133
|
-
direction: z.string(),
|
|
1134
|
-
id: z.string().optional(),
|
|
1135
|
-
metadata: jsonSchema.optional().nullable(),
|
|
1136
|
-
read_at: z.string().optional().nullable(),
|
|
1137
|
-
sent_at: z.string().optional().nullable(),
|
|
1138
|
-
status: z.string().optional().nullable(),
|
|
1139
|
-
task_id: z.string(),
|
|
1140
|
-
telegram_message_id: z.number().optional().nullable(),
|
|
1141
|
-
user_id: z.string(),
|
|
1142
|
-
});
|
|
1143
|
-
|
|
1144
|
-
export const publicOutreachMessagesUpdateSchema = z.object({
|
|
1145
|
-
content: z.string().optional().nullable(),
|
|
1146
|
-
created_at: z.string().optional(),
|
|
1147
|
-
delivered_at: z.string().optional().nullable(),
|
|
1148
|
-
direction: z.string().optional(),
|
|
1149
|
-
id: z.string().optional(),
|
|
1150
|
-
metadata: jsonSchema.optional().nullable(),
|
|
1151
|
-
read_at: z.string().optional().nullable(),
|
|
1152
|
-
sent_at: z.string().optional().nullable(),
|
|
1153
|
-
status: z.string().optional().nullable(),
|
|
1154
|
-
task_id: z.string().optional(),
|
|
1155
|
-
telegram_message_id: z.number().optional().nullable(),
|
|
1156
|
-
user_id: z.string().optional(),
|
|
1157
|
-
});
|
|
1158
|
-
|
|
1159
|
-
export const publicOutreachMessagesRelationshipsSchema = z.tuple([
|
|
1160
|
-
z.object({
|
|
1161
|
-
foreignKeyName: z.literal("outreach_messages_task_id_fkey"),
|
|
1162
|
-
columns: z.tuple([z.literal("task_id")]),
|
|
1163
|
-
isOneToOne: z.literal(false),
|
|
1164
|
-
referencedRelation: z.literal("outreach_tasks"),
|
|
1165
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
1166
|
-
}),
|
|
1167
|
-
]);
|
|
1168
|
-
|
|
1169
|
-
export const publicOutreachTasksRowSchema = z.object({
|
|
1170
|
-
campaign_id: z.string(),
|
|
1171
|
-
cloud_account_id: z.string().nullable(),
|
|
1172
|
-
contact_id: z.string(),
|
|
1173
|
-
created_at: z.string(),
|
|
1174
|
-
error_message: z.string().nullable(),
|
|
1175
|
-
executed_at: z.string().nullable(),
|
|
1176
|
-
id: z.string(),
|
|
1177
|
-
metadata: jsonSchema.nullable(),
|
|
1178
|
-
priority: z.number().nullable(),
|
|
1179
|
-
retry_count: z.number().nullable(),
|
|
1180
|
-
scheduled_at: z.string().nullable(),
|
|
1181
|
-
status: z.string(),
|
|
1182
|
-
updated_at: z.string(),
|
|
1183
|
-
user_id: z.string(),
|
|
1184
|
-
});
|
|
1185
|
-
|
|
1186
|
-
export const publicOutreachTasksInsertSchema = z.object({
|
|
1187
|
-
campaign_id: z.string(),
|
|
1188
|
-
cloud_account_id: z.string().optional().nullable(),
|
|
1189
|
-
contact_id: z.string(),
|
|
1190
|
-
created_at: z.string().optional(),
|
|
1191
|
-
error_message: z.string().optional().nullable(),
|
|
1192
|
-
executed_at: z.string().optional().nullable(),
|
|
1193
|
-
id: z.string().optional(),
|
|
1194
|
-
metadata: jsonSchema.optional().nullable(),
|
|
1195
|
-
priority: z.number().optional().nullable(),
|
|
1196
|
-
retry_count: z.number().optional().nullable(),
|
|
1197
|
-
scheduled_at: z.string().optional().nullable(),
|
|
1198
|
-
status: z.string().optional(),
|
|
1199
|
-
updated_at: z.string().optional(),
|
|
1200
|
-
user_id: z.string(),
|
|
1201
|
-
});
|
|
1202
|
-
|
|
1203
|
-
export const publicOutreachTasksUpdateSchema = z.object({
|
|
1204
|
-
campaign_id: z.string().optional(),
|
|
1205
|
-
cloud_account_id: z.string().optional().nullable(),
|
|
1206
|
-
contact_id: z.string().optional(),
|
|
1207
|
-
created_at: z.string().optional(),
|
|
1208
|
-
error_message: z.string().optional().nullable(),
|
|
1209
|
-
executed_at: z.string().optional().nullable(),
|
|
1210
|
-
id: z.string().optional(),
|
|
1211
|
-
metadata: jsonSchema.optional().nullable(),
|
|
1212
|
-
priority: z.number().optional().nullable(),
|
|
1213
|
-
retry_count: z.number().optional().nullable(),
|
|
1214
|
-
scheduled_at: z.string().optional().nullable(),
|
|
1215
|
-
status: z.string().optional(),
|
|
1216
|
-
updated_at: z.string().optional(),
|
|
1217
|
-
user_id: z.string().optional(),
|
|
1218
|
-
});
|
|
1219
|
-
|
|
1220
|
-
export const publicOutreachTasksRelationshipsSchema = z.tuple([
|
|
1221
|
-
z.object({
|
|
1222
|
-
foreignKeyName: z.literal("outreach_tasks_campaign_id_fkey"),
|
|
1223
|
-
columns: z.tuple([z.literal("campaign_id")]),
|
|
1224
|
-
isOneToOne: z.literal(false),
|
|
1225
|
-
referencedRelation: z.literal("campaigns"),
|
|
1226
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
1227
|
-
}),
|
|
1228
|
-
z.object({
|
|
1229
|
-
foreignKeyName: z.literal("outreach_tasks_cloud_account_id_fkey"),
|
|
1230
|
-
columns: z.tuple([z.literal("cloud_account_id")]),
|
|
1231
|
-
isOneToOne: z.literal(false),
|
|
1232
|
-
referencedRelation: z.literal("cloud_accounts"),
|
|
1233
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
1234
|
-
}),
|
|
1235
|
-
z.object({
|
|
1236
|
-
foreignKeyName: z.literal("outreach_tasks_contact_id_fkey"),
|
|
1237
|
-
columns: z.tuple([z.literal("contact_id")]),
|
|
1238
|
-
isOneToOne: z.literal(false),
|
|
1239
|
-
referencedRelation: z.literal("contacts"),
|
|
1240
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
1241
|
-
}),
|
|
1242
|
-
]);
|
|
1243
|
-
|
|
1244
|
-
export const publicProfilesRowSchema = z.object({
|
|
1245
|
-
avatar_url: z.string().nullable(),
|
|
1246
|
-
full_name: z.string().nullable(),
|
|
1247
|
-
id: z.string(),
|
|
1248
|
-
updated_at: z.string().nullable(),
|
|
1249
|
-
username: z.string().nullable(),
|
|
1250
|
-
website: z.string().nullable(),
|
|
1251
|
-
});
|
|
1252
|
-
|
|
1253
|
-
export const publicProfilesInsertSchema = z.object({
|
|
1254
|
-
avatar_url: z.string().optional().nullable(),
|
|
1255
|
-
full_name: z.string().optional().nullable(),
|
|
1256
|
-
id: z.string(),
|
|
1257
|
-
updated_at: z.string().optional().nullable(),
|
|
1258
|
-
username: z.string().optional().nullable(),
|
|
1259
|
-
website: z.string().optional().nullable(),
|
|
1260
|
-
});
|
|
1261
|
-
|
|
1262
|
-
export const publicProfilesUpdateSchema = z.object({
|
|
1263
|
-
avatar_url: z.string().optional().nullable(),
|
|
1264
|
-
full_name: z.string().optional().nullable(),
|
|
1265
|
-
id: z.string().optional(),
|
|
1266
|
-
updated_at: z.string().optional().nullable(),
|
|
1267
|
-
username: z.string().optional().nullable(),
|
|
1268
|
-
website: z.string().optional().nullable(),
|
|
1269
|
-
});
|
|
1270
|
-
|
|
1271
|
-
export const publicProxiesRowSchema = z.object({
|
|
1272
|
-
created_at: z.string(),
|
|
1273
|
-
description: z.string().nullable(),
|
|
1274
|
-
enabled: z.boolean(),
|
|
1275
|
-
id: z.string(),
|
|
1276
|
-
name: z.string().nullable(),
|
|
1277
|
-
type: z.string().nullable(),
|
|
1278
|
-
updated_at: z.string().nullable(),
|
|
1279
|
-
url: z.string(),
|
|
1280
|
-
user_id: z.string().nullable(),
|
|
1281
|
-
});
|
|
1282
|
-
|
|
1283
|
-
export const publicProxiesInsertSchema = z.object({
|
|
1284
|
-
created_at: z.string().optional(),
|
|
1285
|
-
description: z.string().optional().nullable(),
|
|
1286
|
-
enabled: z.boolean().optional(),
|
|
1287
|
-
id: z.string().optional(),
|
|
1288
|
-
name: z.string().optional().nullable(),
|
|
1289
|
-
type: z.string().optional().nullable(),
|
|
1290
|
-
updated_at: z.string().optional().nullable(),
|
|
1291
|
-
url: z.string(),
|
|
1292
|
-
user_id: z.string().optional().nullable(),
|
|
1293
|
-
});
|
|
1294
|
-
|
|
1295
|
-
export const publicProxiesUpdateSchema = z.object({
|
|
1296
|
-
created_at: z.string().optional(),
|
|
1297
|
-
description: z.string().optional().nullable(),
|
|
1298
|
-
enabled: z.boolean().optional(),
|
|
1299
|
-
id: z.string().optional(),
|
|
1300
|
-
name: z.string().optional().nullable(),
|
|
1301
|
-
type: z.string().optional().nullable(),
|
|
1302
|
-
updated_at: z.string().optional().nullable(),
|
|
1303
|
-
url: z.string().optional(),
|
|
1304
|
-
user_id: z.string().optional().nullable(),
|
|
1305
|
-
});
|
|
1306
|
-
|
|
1307
|
-
export const publicResourcesRowSchema = z.object({
|
|
1308
|
-
created_at: z.string(),
|
|
1309
|
-
data: jsonSchema.nullable(),
|
|
1310
|
-
description: z.string().nullable(),
|
|
1311
|
-
hash1: z.string().nullable(),
|
|
1312
|
-
icon: z.string().nullable(),
|
|
1313
|
-
id: z.string(),
|
|
1314
|
-
is_public: z.boolean().nullable(),
|
|
1315
|
-
meta: jsonSchema.nullable(),
|
|
1316
|
-
target_id: z.string().nullable(),
|
|
1317
|
-
title: z.string().nullable(),
|
|
1318
|
-
type: z.string().nullable(),
|
|
1319
|
-
updated_at: z.string().nullable(),
|
|
1320
|
-
user_id: z.string().nullable(),
|
|
1321
|
-
});
|
|
1322
|
-
|
|
1323
|
-
export const publicResourcesInsertSchema = z.object({
|
|
1324
|
-
created_at: z.string().optional(),
|
|
1325
|
-
data: jsonSchema.optional().nullable(),
|
|
1326
|
-
description: z.string().optional().nullable(),
|
|
1327
|
-
hash1: z.string().optional().nullable(),
|
|
1328
|
-
icon: z.string().optional().nullable(),
|
|
1329
|
-
id: z.string().optional(),
|
|
1330
|
-
is_public: z.boolean().optional().nullable(),
|
|
1331
|
-
meta: jsonSchema.optional().nullable(),
|
|
1332
|
-
target_id: z.string().optional().nullable(),
|
|
1333
|
-
title: z.string().optional().nullable(),
|
|
1334
|
-
type: z.string().optional().nullable(),
|
|
1335
|
-
updated_at: z.string().optional().nullable(),
|
|
1336
|
-
user_id: z.string().optional().nullable(),
|
|
1337
|
-
});
|
|
1338
|
-
|
|
1339
|
-
export const publicResourcesUpdateSchema = z.object({
|
|
1340
|
-
created_at: z.string().optional(),
|
|
1341
|
-
data: jsonSchema.optional().nullable(),
|
|
1342
|
-
description: z.string().optional().nullable(),
|
|
1343
|
-
hash1: z.string().optional().nullable(),
|
|
1344
|
-
icon: z.string().optional().nullable(),
|
|
1345
|
-
id: z.string().optional(),
|
|
1346
|
-
is_public: z.boolean().optional().nullable(),
|
|
1347
|
-
meta: jsonSchema.optional().nullable(),
|
|
1348
|
-
target_id: z.string().optional().nullable(),
|
|
1349
|
-
title: z.string().optional().nullable(),
|
|
1350
|
-
type: z.string().optional().nullable(),
|
|
1351
|
-
updated_at: z.string().optional().nullable(),
|
|
1352
|
-
user_id: z.string().optional().nullable(),
|
|
1353
|
-
});
|
|
1354
|
-
|
|
1355
|
-
export const publicServersRowSchema = z.object({
|
|
1356
|
-
config: jsonSchema.nullable(),
|
|
1357
|
-
created_at: z.string(),
|
|
1358
|
-
id: z.string(),
|
|
1359
|
-
state: jsonSchema.nullable(),
|
|
1360
|
-
updated_at: z.string(),
|
|
1361
|
-
});
|
|
1362
|
-
|
|
1363
|
-
export const publicServersInsertSchema = z.object({
|
|
1364
|
-
config: jsonSchema.optional().nullable(),
|
|
1365
|
-
created_at: z.string().optional(),
|
|
1366
|
-
id: z.string(),
|
|
1367
|
-
state: jsonSchema.optional().nullable(),
|
|
1368
|
-
updated_at: z.string().optional(),
|
|
1369
|
-
});
|
|
1370
|
-
|
|
1371
|
-
export const publicServersUpdateSchema = z.object({
|
|
1372
|
-
config: jsonSchema.optional().nullable(),
|
|
1373
|
-
created_at: z.string().optional(),
|
|
1374
|
-
id: z.string().optional(),
|
|
1375
|
-
state: jsonSchema.optional().nullable(),
|
|
1376
|
-
updated_at: z.string().optional(),
|
|
1377
|
-
});
|
|
1378
|
-
|
|
1379
|
-
export const publicSysConfigRowSchema = z.object({
|
|
1380
|
-
created_at: z.string().nullable(),
|
|
1381
|
-
description: z.string().nullable(),
|
|
1382
|
-
key: z.string(),
|
|
1383
|
-
updated_at: z.string().nullable(),
|
|
1384
|
-
value: jsonSchema,
|
|
1385
|
-
});
|
|
1386
|
-
|
|
1387
|
-
export const publicSysConfigInsertSchema = z.object({
|
|
1388
|
-
created_at: z.string().optional().nullable(),
|
|
1389
|
-
description: z.string().optional().nullable(),
|
|
1390
|
-
key: z.string(),
|
|
1391
|
-
updated_at: z.string().optional().nullable(),
|
|
1392
|
-
value: jsonSchema.optional(),
|
|
1393
|
-
});
|
|
1394
|
-
|
|
1395
|
-
export const publicSysConfigUpdateSchema = z.object({
|
|
1396
|
-
created_at: z.string().optional().nullable(),
|
|
1397
|
-
description: z.string().optional().nullable(),
|
|
1398
|
-
key: z.string().optional(),
|
|
1399
|
-
updated_at: z.string().optional().nullable(),
|
|
1400
|
-
value: jsonSchema.optional(),
|
|
1401
|
-
});
|
|
1402
|
-
|
|
1403
|
-
export const publicSysLogsRowSchema = z.object({
|
|
1404
|
-
created_at: z.string(),
|
|
1405
|
-
event_type: z.string().nullable(),
|
|
1406
|
-
id: z.number(),
|
|
1407
|
-
level: publicSysLogLevelSchema.nullable(),
|
|
1408
|
-
meta: jsonSchema.nullable(),
|
|
1409
|
-
module: z.string().nullable(),
|
|
1410
|
-
resource_id: z.string().nullable(),
|
|
1411
|
-
resource_type: z.string().nullable(),
|
|
1412
|
-
text: z.string().nullable(),
|
|
1413
|
-
user_id: z.string().nullable(),
|
|
1414
|
-
});
|
|
1415
|
-
|
|
1416
|
-
export const publicSysLogsInsertSchema = z.object({
|
|
1417
|
-
created_at: z.string().optional(),
|
|
1418
|
-
event_type: z.string().optional().nullable(),
|
|
1419
|
-
id: z.number().optional(),
|
|
1420
|
-
level: publicSysLogLevelSchema.optional().nullable(),
|
|
1421
|
-
meta: jsonSchema.optional().nullable(),
|
|
1422
|
-
module: z.string().optional().nullable(),
|
|
1423
|
-
resource_id: z.string().optional().nullable(),
|
|
1424
|
-
resource_type: z.string().optional().nullable(),
|
|
1425
|
-
text: z.string().optional().nullable(),
|
|
1426
|
-
user_id: z.string().optional().nullable(),
|
|
1427
|
-
});
|
|
1428
|
-
|
|
1429
|
-
export const publicSysLogsUpdateSchema = z.object({
|
|
1430
|
-
created_at: z.string().optional(),
|
|
1431
|
-
event_type: z.string().optional().nullable(),
|
|
1432
|
-
id: z.number().optional(),
|
|
1433
|
-
level: publicSysLogLevelSchema.optional().nullable(),
|
|
1434
|
-
meta: jsonSchema.optional().nullable(),
|
|
1435
|
-
module: z.string().optional().nullable(),
|
|
1436
|
-
resource_id: z.string().optional().nullable(),
|
|
1437
|
-
resource_type: z.string().optional().nullable(),
|
|
1438
|
-
text: z.string().optional().nullable(),
|
|
1439
|
-
user_id: z.string().optional().nullable(),
|
|
1440
|
-
});
|
|
1441
|
-
|
|
1442
|
-
export const publicSystemConfigPublicRowSchema = z.object({
|
|
1443
|
-
created_at: z.string().nullable(),
|
|
1444
|
-
description: z.string().nullable(),
|
|
1445
|
-
key: z.string(),
|
|
1446
|
-
updated_at: z.string().nullable(),
|
|
1447
|
-
value: jsonSchema,
|
|
1448
|
-
});
|
|
1449
|
-
|
|
1450
|
-
export const publicSystemConfigPublicInsertSchema = z.object({
|
|
1451
|
-
created_at: z.string().optional().nullable(),
|
|
1452
|
-
description: z.string().optional().nullable(),
|
|
1453
|
-
key: z.string(),
|
|
1454
|
-
updated_at: z.string().optional().nullable(),
|
|
1455
|
-
value: jsonSchema.optional(),
|
|
1456
|
-
});
|
|
1457
|
-
|
|
1458
|
-
export const publicSystemConfigPublicUpdateSchema = z.object({
|
|
1459
|
-
created_at: z.string().optional().nullable(),
|
|
1460
|
-
description: z.string().optional().nullable(),
|
|
1461
|
-
key: z.string().optional(),
|
|
1462
|
-
updated_at: z.string().optional().nullable(),
|
|
1463
|
-
value: jsonSchema.optional(),
|
|
1464
|
-
});
|
|
1465
|
-
|
|
1466
|
-
export const publicTagsRowSchema = z.object({
|
|
1467
|
-
color: z.string().nullable(),
|
|
1468
|
-
created_at: z.string(),
|
|
1469
|
-
id: z.string(),
|
|
1470
|
-
name: z.string(),
|
|
1471
|
-
updated_at: z.string(),
|
|
1472
|
-
user_id: z.string().nullable(),
|
|
1473
|
-
});
|
|
1474
|
-
|
|
1475
|
-
export const publicTagsInsertSchema = z.object({
|
|
1476
|
-
color: z.string().optional().nullable(),
|
|
1477
|
-
created_at: z.string().optional(),
|
|
1478
|
-
id: z.string().optional(),
|
|
1479
|
-
name: z.string(),
|
|
1480
|
-
updated_at: z.string().optional(),
|
|
1481
|
-
user_id: z.string().optional().nullable(),
|
|
1482
|
-
});
|
|
1483
|
-
|
|
1484
|
-
export const publicTagsUpdateSchema = z.object({
|
|
1485
|
-
color: z.string().optional().nullable(),
|
|
1486
|
-
created_at: z.string().optional(),
|
|
1487
|
-
id: z.string().optional(),
|
|
1488
|
-
name: z.string().optional(),
|
|
1489
|
-
updated_at: z.string().optional(),
|
|
1490
|
-
user_id: z.string().optional().nullable(),
|
|
1491
|
-
});
|
|
1492
|
-
|
|
1493
|
-
export const publicTasksRowSchema = z.object({
|
|
1494
|
-
code: z.string().nullable(),
|
|
1495
|
-
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
1496
|
-
completed_at: z.string().nullable(),
|
|
1497
|
-
context_id: z.string().nullable(),
|
|
1498
|
-
context_type: z.string().nullable(),
|
|
1499
|
-
created_at: z.string(),
|
|
1500
|
-
description: z.string().nullable(),
|
|
1501
|
-
error: z.string().nullable(),
|
|
1502
|
-
executor_id: z.string().nullable(),
|
|
1503
|
-
executor_type: z.string().nullable(),
|
|
1504
|
-
id: z.string(),
|
|
1505
|
-
max_retries: z.number(),
|
|
1506
|
-
meta: jsonSchema,
|
|
1507
|
-
parent_id: z.string().nullable(),
|
|
1508
|
-
priority: z.number(),
|
|
1509
|
-
result: jsonSchema.nullable(),
|
|
1510
|
-
result_text: z.string().nullable(),
|
|
1511
|
-
retry_count: z.number(),
|
|
1512
|
-
scheduled_at: z.string().nullable(),
|
|
1513
|
-
started_at: z.string().nullable(),
|
|
1514
|
-
status: publicTaskStatusSchema,
|
|
1515
|
-
tags: z.array(z.string()),
|
|
1516
|
-
title: z.string(),
|
|
1517
|
-
updated_at: z.string(),
|
|
1518
|
-
user_id: z.string(),
|
|
1519
|
-
});
|
|
1520
|
-
|
|
1521
|
-
export const publicTasksInsertSchema = z.object({
|
|
1522
|
-
code: z.string().optional().nullable(),
|
|
1523
|
-
code_type: publicTaskCodeTypeSchema.optional().nullable(),
|
|
1524
|
-
completed_at: z.string().optional().nullable(),
|
|
1525
|
-
context_id: z.string().optional().nullable(),
|
|
1526
|
-
context_type: z.string().optional().nullable(),
|
|
1527
|
-
created_at: z.string().optional(),
|
|
1528
|
-
description: z.string().optional().nullable(),
|
|
1529
|
-
error: z.string().optional().nullable(),
|
|
1530
|
-
executor_id: z.string().optional().nullable(),
|
|
1531
|
-
executor_type: z.string().optional().nullable(),
|
|
1532
|
-
id: z.string().optional(),
|
|
1533
|
-
max_retries: z.number().optional(),
|
|
1534
|
-
meta: jsonSchema.optional(),
|
|
1535
|
-
parent_id: z.string().optional().nullable(),
|
|
1536
|
-
priority: z.number().optional(),
|
|
1537
|
-
result: jsonSchema.optional().nullable(),
|
|
1538
|
-
result_text: z.string().optional().nullable(),
|
|
1539
|
-
retry_count: z.number().optional(),
|
|
1540
|
-
scheduled_at: z.string().optional().nullable(),
|
|
1541
|
-
started_at: z.string().optional().nullable(),
|
|
1542
|
-
status: publicTaskStatusSchema.optional(),
|
|
1543
|
-
tags: z.array(z.string()).optional(),
|
|
1544
|
-
title: z.string(),
|
|
1545
|
-
updated_at: z.string().optional(),
|
|
1546
|
-
user_id: z.string(),
|
|
1547
|
-
});
|
|
1548
|
-
|
|
1549
|
-
export const publicTasksUpdateSchema = z.object({
|
|
1550
|
-
code: z.string().optional().nullable(),
|
|
1551
|
-
code_type: publicTaskCodeTypeSchema.optional().nullable(),
|
|
1552
|
-
completed_at: z.string().optional().nullable(),
|
|
1553
|
-
context_id: z.string().optional().nullable(),
|
|
1554
|
-
context_type: z.string().optional().nullable(),
|
|
1555
|
-
created_at: z.string().optional(),
|
|
1556
|
-
description: z.string().optional().nullable(),
|
|
1557
|
-
error: z.string().optional().nullable(),
|
|
1558
|
-
executor_id: z.string().optional().nullable(),
|
|
1559
|
-
executor_type: z.string().optional().nullable(),
|
|
1560
|
-
id: z.string().optional(),
|
|
1561
|
-
max_retries: z.number().optional(),
|
|
1562
|
-
meta: jsonSchema.optional(),
|
|
1563
|
-
parent_id: z.string().optional().nullable(),
|
|
1564
|
-
priority: z.number().optional(),
|
|
1565
|
-
result: jsonSchema.optional().nullable(),
|
|
1566
|
-
result_text: z.string().optional().nullable(),
|
|
1567
|
-
retry_count: z.number().optional(),
|
|
1568
|
-
scheduled_at: z.string().optional().nullable(),
|
|
1569
|
-
started_at: z.string().optional().nullable(),
|
|
1570
|
-
status: publicTaskStatusSchema.optional(),
|
|
1571
|
-
tags: z.array(z.string()).optional(),
|
|
1572
|
-
title: z.string().optional(),
|
|
1573
|
-
updated_at: z.string().optional(),
|
|
1574
|
-
user_id: z.string().optional(),
|
|
1575
|
-
});
|
|
1576
|
-
|
|
1577
|
-
export const publicTasksRelationshipsSchema = z.tuple([
|
|
1578
|
-
z.object({
|
|
1579
|
-
foreignKeyName: z.literal("tasks_parent_id_fkey"),
|
|
1580
|
-
columns: z.tuple([z.literal("parent_id")]),
|
|
1581
|
-
isOneToOne: z.literal(false),
|
|
1582
|
-
referencedRelation: z.literal("tasks"),
|
|
1583
|
-
referencedColumns: z.tuple([z.literal("id")]),
|
|
1584
|
-
}),
|
|
1585
|
-
]);
|
|
1586
|
-
|
|
1587
|
-
export const publicTrafficLogsRowSchema = z.object({
|
|
1588
|
-
client_ip: z.string().nullable(),
|
|
1589
|
-
created_at: z.string().nullable(),
|
|
1590
|
-
error: z.string().nullable(),
|
|
1591
|
-
host: z.string().nullable(),
|
|
1592
|
-
id: z.string(),
|
|
1593
|
-
method: z.string().nullable(),
|
|
1594
|
-
path: z.string().nullable(),
|
|
1595
|
-
request_headers: jsonSchema.nullable(),
|
|
1596
|
-
response_headers: jsonSchema.nullable(),
|
|
1597
|
-
scheme: z.string().nullable(),
|
|
1598
|
-
started_at: z.string().nullable(),
|
|
1599
|
-
status_code: z.number().nullable(),
|
|
1600
|
-
url: z.string().nullable(),
|
|
1601
|
-
user_id: z.string().nullable(),
|
|
1602
|
-
worker_id: z.string().nullable(),
|
|
1603
|
-
});
|
|
1604
|
-
|
|
1605
|
-
export const publicTrafficLogsInsertSchema = z.object({
|
|
1606
|
-
client_ip: z.string().optional().nullable(),
|
|
1607
|
-
created_at: z.string().optional().nullable(),
|
|
1608
|
-
error: z.string().optional().nullable(),
|
|
1609
|
-
host: z.string().optional().nullable(),
|
|
1610
|
-
id: z.string().optional(),
|
|
1611
|
-
method: z.string().optional().nullable(),
|
|
1612
|
-
path: z.string().optional().nullable(),
|
|
1613
|
-
request_headers: jsonSchema.optional().nullable(),
|
|
1614
|
-
response_headers: jsonSchema.optional().nullable(),
|
|
1615
|
-
scheme: z.string().optional().nullable(),
|
|
1616
|
-
started_at: z.string().optional().nullable(),
|
|
1617
|
-
status_code: z.number().optional().nullable(),
|
|
1618
|
-
url: z.string().optional().nullable(),
|
|
1619
|
-
user_id: z.string().optional().nullable(),
|
|
1620
|
-
worker_id: z.string().optional().nullable(),
|
|
1621
|
-
});
|
|
1622
|
-
|
|
1623
|
-
export const publicTrafficLogsUpdateSchema = z.object({
|
|
1624
|
-
client_ip: z.string().optional().nullable(),
|
|
1625
|
-
created_at: z.string().optional().nullable(),
|
|
1626
|
-
error: z.string().optional().nullable(),
|
|
1627
|
-
host: z.string().optional().nullable(),
|
|
1628
|
-
id: z.string().optional(),
|
|
1629
|
-
method: z.string().optional().nullable(),
|
|
1630
|
-
path: z.string().optional().nullable(),
|
|
1631
|
-
request_headers: jsonSchema.optional().nullable(),
|
|
1632
|
-
response_headers: jsonSchema.optional().nullable(),
|
|
1633
|
-
scheme: z.string().optional().nullable(),
|
|
1634
|
-
started_at: z.string().optional().nullable(),
|
|
1635
|
-
status_code: z.number().optional().nullable(),
|
|
1636
|
-
url: z.string().optional().nullable(),
|
|
1637
|
-
user_id: z.string().optional().nullable(),
|
|
1638
|
-
worker_id: z.string().optional().nullable(),
|
|
1639
|
-
});
|
|
1640
|
-
|
|
1641
|
-
export const publicUserLogsRowSchema = z.object({
|
|
1642
|
-
content: z.string().nullable(),
|
|
1643
|
-
created_at: z.string().nullable(),
|
|
1644
|
-
event_type: z.string(),
|
|
1645
|
-
id: z.string(),
|
|
1646
|
-
level: z.string(),
|
|
1647
|
-
meta: jsonSchema.nullable(),
|
|
1648
|
-
resource_id: z.string().nullable(),
|
|
1649
|
-
resource_type: z.string().nullable(),
|
|
1650
|
-
user_id: z.string(),
|
|
1651
|
-
});
|
|
1652
|
-
|
|
1653
|
-
export const publicUserLogsInsertSchema = z.object({
|
|
1654
|
-
content: z.string().optional().nullable(),
|
|
1655
|
-
created_at: z.string().optional().nullable(),
|
|
1656
|
-
event_type: z.string(),
|
|
1657
|
-
id: z.string().optional(),
|
|
1658
|
-
level: z.string(),
|
|
1659
|
-
meta: jsonSchema.optional().nullable(),
|
|
1660
|
-
resource_id: z.string().optional().nullable(),
|
|
1661
|
-
resource_type: z.string().optional().nullable(),
|
|
1662
|
-
user_id: z.string().optional(),
|
|
1663
|
-
});
|
|
1664
|
-
|
|
1665
|
-
export const publicUserLogsUpdateSchema = z.object({
|
|
1666
|
-
content: z.string().optional().nullable(),
|
|
1667
|
-
created_at: z.string().optional().nullable(),
|
|
1668
|
-
event_type: z.string().optional(),
|
|
1669
|
-
id: z.string().optional(),
|
|
1670
|
-
level: z.string().optional(),
|
|
1671
|
-
meta: jsonSchema.optional().nullable(),
|
|
1672
|
-
resource_id: z.string().optional().nullable(),
|
|
1673
|
-
resource_type: z.string().optional().nullable(),
|
|
1674
|
-
user_id: z.string().optional(),
|
|
1675
|
-
});
|
|
1676
|
-
|
|
1677
|
-
export const publicUserNotificationsRowSchema = z.object({
|
|
1678
|
-
action_completed_at: z.string().nullable(),
|
|
1679
|
-
action_payload: jsonSchema.nullable(),
|
|
1680
|
-
action_type: z.string().nullable(),
|
|
1681
|
-
created_at: z.string(),
|
|
1682
|
-
dismissed_at: z.string().nullable(),
|
|
1683
|
-
expires_at: z.string().nullable(),
|
|
1684
|
-
id: z.string(),
|
|
1685
|
-
is_read: z.boolean(),
|
|
1686
|
-
message: z.string().nullable(),
|
|
1687
|
-
notification_type: z.string(),
|
|
1688
|
-
priority: z.string(),
|
|
1689
|
-
read_at: z.string().nullable(),
|
|
1690
|
-
source_id: z.string().nullable(),
|
|
1691
|
-
source_type: z.string().nullable(),
|
|
1692
|
-
title: z.string(),
|
|
1693
|
-
updated_at: z.string(),
|
|
1694
|
-
user_id: z.string(),
|
|
1695
|
-
});
|
|
1696
|
-
|
|
1697
|
-
export const publicUserNotificationsInsertSchema = z.object({
|
|
1698
|
-
action_completed_at: z.string().optional().nullable(),
|
|
1699
|
-
action_payload: jsonSchema.optional().nullable(),
|
|
1700
|
-
action_type: z.string().optional().nullable(),
|
|
1701
|
-
created_at: z.string().optional(),
|
|
1702
|
-
dismissed_at: z.string().optional().nullable(),
|
|
1703
|
-
expires_at: z.string().optional().nullable(),
|
|
1704
|
-
id: z.string().optional(),
|
|
1705
|
-
is_read: z.boolean().optional(),
|
|
1706
|
-
message: z.string().optional().nullable(),
|
|
1707
|
-
notification_type: z.string().optional(),
|
|
1708
|
-
priority: z.string().optional(),
|
|
1709
|
-
read_at: z.string().optional().nullable(),
|
|
1710
|
-
source_id: z.string().optional().nullable(),
|
|
1711
|
-
source_type: z.string().optional().nullable(),
|
|
1712
|
-
title: z.string(),
|
|
1713
|
-
updated_at: z.string().optional(),
|
|
1714
|
-
user_id: z.string(),
|
|
1715
|
-
});
|
|
1716
|
-
|
|
1717
|
-
export const publicUserNotificationsUpdateSchema = z.object({
|
|
1718
|
-
action_completed_at: z.string().optional().nullable(),
|
|
1719
|
-
action_payload: jsonSchema.optional().nullable(),
|
|
1720
|
-
action_type: z.string().optional().nullable(),
|
|
1721
|
-
created_at: z.string().optional(),
|
|
1722
|
-
dismissed_at: z.string().optional().nullable(),
|
|
1723
|
-
expires_at: z.string().optional().nullable(),
|
|
1724
|
-
id: z.string().optional(),
|
|
1725
|
-
is_read: z.boolean().optional(),
|
|
1726
|
-
message: z.string().optional().nullable(),
|
|
1727
|
-
notification_type: z.string().optional(),
|
|
1728
|
-
priority: z.string().optional(),
|
|
1729
|
-
read_at: z.string().optional().nullable(),
|
|
1730
|
-
source_id: z.string().optional().nullable(),
|
|
1731
|
-
source_type: z.string().optional().nullable(),
|
|
1732
|
-
title: z.string().optional(),
|
|
1733
|
-
updated_at: z.string().optional(),
|
|
1734
|
-
user_id: z.string().optional(),
|
|
1735
|
-
});
|
|
1736
|
-
|
|
1737
|
-
export const publicUserRolesRowSchema = z.object({
|
|
1738
|
-
created_at: z.string().nullable(),
|
|
1739
|
-
id: z.number(),
|
|
1740
|
-
role: publicAppRoleSchema,
|
|
1741
|
-
user_id: z.string(),
|
|
1742
|
-
});
|
|
1743
|
-
|
|
1744
|
-
export const publicUserRolesInsertSchema = z.object({
|
|
1745
|
-
created_at: z.string().optional().nullable(),
|
|
1746
|
-
id: z.number().optional(),
|
|
1747
|
-
role: publicAppRoleSchema,
|
|
1748
|
-
user_id: z.string(),
|
|
1749
|
-
});
|
|
1750
|
-
|
|
1751
|
-
export const publicUserRolesUpdateSchema = z.object({
|
|
1752
|
-
created_at: z.string().optional().nullable(),
|
|
1753
|
-
id: z.number().optional(),
|
|
1754
|
-
role: publicAppRoleSchema.optional(),
|
|
1755
|
-
user_id: z.string().optional(),
|
|
1756
|
-
});
|
|
1757
|
-
|
|
1758
|
-
export const publicAdkArtifactDeleteArgsSchema = z.object({
|
|
1759
|
-
p_app_name: z.string(),
|
|
1760
|
-
p_filename: z.string(),
|
|
1761
|
-
p_session_id: z.string(),
|
|
1762
|
-
p_user_id: z.string(),
|
|
1763
|
-
});
|
|
1764
|
-
|
|
1765
|
-
export const publicAdkArtifactDeleteReturnsSchema = z.undefined();
|
|
1766
|
-
|
|
1767
|
-
export const publicAdkArtifactGetArgsSchema = z.object({
|
|
1768
|
-
p_app_name: z.string(),
|
|
1769
|
-
p_filename: z.string(),
|
|
1770
|
-
p_session_id: z.string(),
|
|
1771
|
-
p_user_id: z.string(),
|
|
1772
|
-
p_version: z.number().optional(),
|
|
1773
|
-
});
|
|
1774
|
-
|
|
1775
|
-
export const publicAdkArtifactGetReturnsSchema = jsonSchema;
|
|
1776
|
-
|
|
1777
|
-
export const publicAdkArtifactSaveArgsSchema = z.object({
|
|
1778
|
-
p_app_name: z.string(),
|
|
1779
|
-
p_canonical_uri: z.string(),
|
|
1780
|
-
p_custom_metadata: jsonSchema,
|
|
1781
|
-
p_data: jsonSchema,
|
|
1782
|
-
p_filename: z.string(),
|
|
1783
|
-
p_mime_type: z.string(),
|
|
1784
|
-
p_session_id: z.string(),
|
|
1785
|
-
p_user_id: z.string(),
|
|
1786
|
-
});
|
|
1787
|
-
|
|
1788
|
-
export const publicAdkArtifactSaveReturnsSchema = z.number();
|
|
1789
|
-
|
|
1790
|
-
export const publicAdkEventListArgsSchema = z.object({
|
|
1791
|
-
p_session_id: z.string(),
|
|
1792
|
-
});
|
|
1793
|
-
|
|
1794
|
-
export const publicAdkEventListReturnsSchema = z.array(
|
|
1795
|
-
z.object({
|
|
1796
|
-
actions: jsonSchema.nullable(),
|
|
1797
|
-
app_name: z.string().nullable(),
|
|
1798
|
-
author: z.string().nullable(),
|
|
1799
|
-
branch: z.string().nullable(),
|
|
1800
|
-
citation_metadata: jsonSchema.nullable(),
|
|
1801
|
-
content: jsonSchema.nullable(),
|
|
1802
|
-
created_at: z.string(),
|
|
1803
|
-
custom_metadata: jsonSchema.nullable(),
|
|
1804
|
-
error_code: z.string().nullable(),
|
|
1805
|
-
error_message: z.string().nullable(),
|
|
1806
|
-
grounding_metadata: jsonSchema.nullable(),
|
|
1807
|
-
id: z.string(),
|
|
1808
|
-
input_transcription: jsonSchema.nullable(),
|
|
1809
|
-
interrupted: z.boolean().nullable(),
|
|
1810
|
-
invocation_id: z.string().nullable(),
|
|
1811
|
-
long_running_tool_ids_json: jsonSchema.nullable(),
|
|
1812
|
-
output_transcription: jsonSchema.nullable(),
|
|
1813
|
-
partial: z.boolean().nullable(),
|
|
1814
|
-
session_id: z.string().nullable(),
|
|
1815
|
-
timestamp: z.string().nullable(),
|
|
1816
|
-
turn_complete: z.boolean().nullable(),
|
|
1817
|
-
updated_at: z.string(),
|
|
1818
|
-
usage_metadata: jsonSchema.nullable(),
|
|
1819
|
-
user_id: z.string().nullable(),
|
|
1820
|
-
}),
|
|
1821
|
-
);
|
|
1822
|
-
|
|
1823
|
-
export const publicAdkEventUpsertArgsSchema = z.object({
|
|
1824
|
-
p_actions: jsonSchema.optional(),
|
|
1825
|
-
p_app_name: z.string(),
|
|
1826
|
-
p_author: z.string(),
|
|
1827
|
-
p_branch: z.string().optional(),
|
|
1828
|
-
p_citation_metadata: jsonSchema.optional(),
|
|
1829
|
-
p_content: jsonSchema,
|
|
1830
|
-
p_custom_metadata: jsonSchema.optional(),
|
|
1831
|
-
p_error_code: z.string().optional(),
|
|
1832
|
-
p_error_message: z.string().optional(),
|
|
1833
|
-
p_grounding_metadata: jsonSchema.optional(),
|
|
1834
|
-
p_id: z.string(),
|
|
1835
|
-
p_input_transcription: jsonSchema.optional(),
|
|
1836
|
-
p_interrupted: z.boolean().optional(),
|
|
1837
|
-
p_invocation_id: z.string().optional(),
|
|
1838
|
-
p_long_running_tool_ids_json: z.string().optional(),
|
|
1839
|
-
p_output_transcription: jsonSchema.optional(),
|
|
1840
|
-
p_session_id: z.string(),
|
|
1841
|
-
p_timestamp: z.string(),
|
|
1842
|
-
p_turn_complete: z.boolean(),
|
|
1843
|
-
p_usage_metadata: jsonSchema.optional(),
|
|
1844
|
-
p_user_id: z.string().optional(),
|
|
1845
|
-
});
|
|
1846
|
-
|
|
1847
|
-
export const publicAdkEventUpsertReturnsSchema = z.array(
|
|
1848
|
-
z.object({
|
|
1849
|
-
actions: jsonSchema.nullable(),
|
|
1850
|
-
app_name: z.string().nullable(),
|
|
1851
|
-
author: z.string().nullable(),
|
|
1852
|
-
branch: z.string().nullable(),
|
|
1853
|
-
citation_metadata: jsonSchema.nullable(),
|
|
1854
|
-
content: jsonSchema.nullable(),
|
|
1855
|
-
created_at: z.string(),
|
|
1856
|
-
custom_metadata: jsonSchema.nullable(),
|
|
1857
|
-
error_code: z.string().nullable(),
|
|
1858
|
-
error_message: z.string().nullable(),
|
|
1859
|
-
grounding_metadata: jsonSchema.nullable(),
|
|
1860
|
-
id: z.string(),
|
|
1861
|
-
input_transcription: jsonSchema.nullable(),
|
|
1862
|
-
interrupted: z.boolean().nullable(),
|
|
1863
|
-
invocation_id: z.string().nullable(),
|
|
1864
|
-
long_running_tool_ids_json: jsonSchema.nullable(),
|
|
1865
|
-
output_transcription: jsonSchema.nullable(),
|
|
1866
|
-
partial: z.boolean().nullable(),
|
|
1867
|
-
session_id: z.string().nullable(),
|
|
1868
|
-
timestamp: z.string().nullable(),
|
|
1869
|
-
turn_complete: z.boolean().nullable(),
|
|
1870
|
-
updated_at: z.string(),
|
|
1871
|
-
usage_metadata: jsonSchema.nullable(),
|
|
1872
|
-
user_id: z.string().nullable(),
|
|
1873
|
-
}),
|
|
1874
|
-
);
|
|
1875
|
-
|
|
1876
|
-
export const publicAdkSessionDeleteArgsSchema = z.object({
|
|
1877
|
-
p_app_name: z.string(),
|
|
1878
|
-
p_session_id: z.string(),
|
|
1879
|
-
});
|
|
1880
|
-
|
|
1881
|
-
export const publicAdkSessionDeleteReturnsSchema = z.undefined();
|
|
1882
|
-
|
|
1883
|
-
export const publicAdkSessionGetArgsSchema = z.object({
|
|
1884
|
-
p_session_id: z.string(),
|
|
1885
|
-
});
|
|
1886
|
-
|
|
1887
|
-
export const publicAdkSessionGetReturnsSchema = z.array(
|
|
1888
|
-
z.object({
|
|
1889
|
-
app_name: z.string(),
|
|
1890
|
-
created_at: z.string(),
|
|
1891
|
-
id: z.string(),
|
|
1892
|
-
state: jsonSchema,
|
|
1893
|
-
updated_at: z.string().nullable(),
|
|
1894
|
-
user_id: z.string(),
|
|
1895
|
-
}),
|
|
1896
|
-
);
|
|
1897
|
-
|
|
1898
|
-
export const publicAdkSessionListArgsSchema = z.object({
|
|
1899
|
-
p_app_name: z.string(),
|
|
1900
|
-
p_user_id: z.string().optional(),
|
|
1901
|
-
});
|
|
1902
|
-
|
|
1903
|
-
export const publicAdkSessionListReturnsSchema = z.array(
|
|
1904
|
-
z.object({
|
|
1905
|
-
app_name: z.string(),
|
|
1906
|
-
created_at: z.string(),
|
|
1907
|
-
id: z.string(),
|
|
1908
|
-
state: jsonSchema,
|
|
1909
|
-
updated_at: z.string().nullable(),
|
|
1910
|
-
user_id: z.string(),
|
|
1911
|
-
}),
|
|
1912
|
-
);
|
|
1913
|
-
|
|
1914
|
-
export const publicAdkSessionUpsertArgsSchema = z.object({
|
|
1915
|
-
p_app_name: z.string(),
|
|
1916
|
-
p_session_id: z.string(),
|
|
1917
|
-
p_state: jsonSchema.optional(),
|
|
1918
|
-
p_user_id: z.string(),
|
|
1919
|
-
});
|
|
1920
|
-
|
|
1921
|
-
export const publicAdkSessionUpsertReturnsSchema = z.array(
|
|
1922
|
-
z.object({
|
|
1923
|
-
app_name: z.string(),
|
|
1924
|
-
created_at: z.string(),
|
|
1925
|
-
id: z.string(),
|
|
1926
|
-
state: jsonSchema,
|
|
1927
|
-
updated_at: z.string().nullable(),
|
|
1928
|
-
user_id: z.string(),
|
|
1929
|
-
}),
|
|
1930
|
-
);
|
|
1931
|
-
|
|
1932
|
-
export const publicAgentSignalWakeupArgsSchema = z.object({
|
|
1933
|
-
p_session_id: z.string(),
|
|
1934
|
-
});
|
|
1935
|
-
|
|
1936
|
-
export const publicAgentSignalWakeupReturnsSchema = jsonSchema;
|
|
1937
|
-
|
|
1938
|
-
export const publicAuditArtifactListArgsSchema = z.object({
|
|
1939
|
-
p_project_id: z.string(),
|
|
1940
|
-
});
|
|
1941
|
-
|
|
1942
|
-
export const publicAuditArtifactListReturnsSchema = z.array(
|
|
1943
|
-
z.object({
|
|
1944
|
-
app_name: z.string(),
|
|
1945
|
-
canonical_uri: z.string().nullable(),
|
|
1946
|
-
created_at: z.string().nullable(),
|
|
1947
|
-
custom_metadata: jsonSchema.nullable(),
|
|
1948
|
-
data: jsonSchema.nullable(),
|
|
1949
|
-
filename: z.string(),
|
|
1950
|
-
id: z.string(),
|
|
1951
|
-
mime_type: z.string().nullable(),
|
|
1952
|
-
session_id: z.string().nullable(),
|
|
1953
|
-
user_id: z.string(),
|
|
1954
|
-
version: z.number(),
|
|
1955
|
-
}),
|
|
1956
|
-
);
|
|
1957
|
-
|
|
1958
|
-
export const publicAuditAssetListCursorArgsSchema = z.object({
|
|
1959
|
-
p_cursor: z.string().optional(),
|
|
1960
|
-
p_cursor_id: z.string().optional(),
|
|
1961
|
-
p_limit: z.number().optional(),
|
|
1962
|
-
p_project_id: z.string(),
|
|
1963
|
-
p_search: z.string().optional(),
|
|
1964
|
-
});
|
|
1965
|
-
|
|
1966
|
-
export const publicAuditAssetListCursorReturnsSchema = z.array(
|
|
1967
|
-
z.object({
|
|
1968
|
-
content: z.string(),
|
|
1969
|
-
created_at: z.string(),
|
|
1970
|
-
id: z.string(),
|
|
1971
|
-
metadata: jsonSchema.nullable(),
|
|
1972
|
-
project_id: z.string(),
|
|
1973
|
-
status: z.string().nullable(),
|
|
1974
|
-
type: z.string(),
|
|
1975
|
-
updated_at: z.string(),
|
|
1976
|
-
}),
|
|
1977
|
-
);
|
|
1978
|
-
|
|
1979
|
-
export const publicAuditFindingListCursorArgsSchema = z.object({
|
|
1980
|
-
p_cursor: z.string().optional(),
|
|
1981
|
-
p_cursor_id: z.string().optional(),
|
|
1982
|
-
p_limit: z.number().optional(),
|
|
1983
|
-
p_project_id: z.string(),
|
|
1984
|
-
p_search: z.string().optional(),
|
|
1985
|
-
});
|
|
1986
|
-
|
|
1987
|
-
export const publicAuditFindingListCursorReturnsSchema = z.array(
|
|
1988
|
-
z.object({
|
|
1989
|
-
ai_analysis: z.string().nullable(),
|
|
1990
|
-
created_at: z.string(),
|
|
1991
|
-
description: z.string().nullable(),
|
|
1992
|
-
id: z.string(),
|
|
1993
|
-
project_id: z.string(),
|
|
1994
|
-
proof_poc: z.string().nullable(),
|
|
1995
|
-
remediation: z.string().nullable(),
|
|
1996
|
-
severity: publicAuditFindingSeveritySchema.nullable(),
|
|
1997
|
-
status: z.string().nullable(),
|
|
1998
|
-
task_id: z.string().nullable(),
|
|
1999
|
-
title: z.string(),
|
|
2000
|
-
updated_at: z.string(),
|
|
2001
|
-
}),
|
|
2002
|
-
);
|
|
2003
|
-
|
|
2004
|
-
export const publicAuditProjectBindGithubArgsSchema = z.object({
|
|
2005
|
-
p_installation_id: z.number(),
|
|
2006
|
-
p_project_id: z.string(),
|
|
2007
|
-
p_repo_branch: z.string(),
|
|
2008
|
-
p_repo_full_name: z.string(),
|
|
2009
|
-
p_repo_id: z.number(),
|
|
2010
|
-
p_repo_url: z.string(),
|
|
2011
|
-
});
|
|
2012
|
-
|
|
2013
|
-
export const publicAuditProjectBindGithubReturnsSchema = jsonSchema;
|
|
2014
|
-
|
|
2015
|
-
export const publicAuditProjectCountArgsSchema = z.object({
|
|
2016
|
-
p_kw: z.string().optional(),
|
|
2017
|
-
});
|
|
2018
|
-
|
|
2019
|
-
export const publicAuditProjectCountReturnsSchema = z.number();
|
|
2020
|
-
|
|
2021
|
-
export const publicAuditProjectDashboardStatsArgsSchema = z.object({
|
|
2022
|
-
p_project_id: z.string(),
|
|
2023
|
-
});
|
|
2024
|
-
|
|
2025
|
-
export const publicAuditProjectStatsRecordSchema = z.object({
|
|
2026
|
-
asset_count: z.number().nullable(),
|
|
2027
|
-
finding_count: z.number().nullable(),
|
|
2028
|
-
high_risk_count: z.number().nullable(),
|
|
2029
|
-
task_count: z.number().nullable(),
|
|
2030
|
-
});
|
|
2031
|
-
|
|
2032
|
-
export const publicAuditProjectDeleteArgsSchema = z.object({
|
|
2033
|
-
p_id: z.string(),
|
|
2034
|
-
});
|
|
2035
|
-
|
|
2036
|
-
export const publicAuditProjectDeleteReturnsSchema = z.undefined();
|
|
2037
|
-
|
|
2038
|
-
export const publicAuditProjectGetArgsSchema = z.object({
|
|
2039
|
-
p_id: z.string(),
|
|
2040
|
-
});
|
|
2041
|
-
|
|
2042
|
-
export const publicAuditProjectGetReturnsSchema = z.array(
|
|
2043
|
-
z.object({
|
|
2044
|
-
config: jsonSchema,
|
|
2045
|
-
created_at: z.string(),
|
|
2046
|
-
id: z.string(),
|
|
2047
|
-
name: z.string(),
|
|
2048
|
-
repo_branch: z.string(),
|
|
2049
|
-
repo_url: z.string(),
|
|
2050
|
-
target: z.string(),
|
|
2051
|
-
updated_at: z.string(),
|
|
2052
|
-
user_id: z.string(),
|
|
2053
|
-
worker_id: z.string(),
|
|
2054
|
-
}),
|
|
2055
|
-
);
|
|
2056
|
-
|
|
2057
|
-
export const publicAuditProjectListArgsSchema = z.object({
|
|
2058
|
-
p_kw: z.string().optional(),
|
|
2059
|
-
p_page_no: z.number().optional(),
|
|
2060
|
-
p_page_size: z.number().optional(),
|
|
2061
|
-
});
|
|
2062
|
-
|
|
2063
|
-
export const publicAuditProjectListReturnsSchema = z.array(
|
|
2064
|
-
z.object({
|
|
2065
|
-
config: jsonSchema,
|
|
2066
|
-
created_at: z.string(),
|
|
2067
|
-
id: z.string(),
|
|
2068
|
-
name: z.string(),
|
|
2069
|
-
repo_branch: z.string(),
|
|
2070
|
-
repo_url: z.string(),
|
|
2071
|
-
target: z.string(),
|
|
2072
|
-
updated_at: z.string(),
|
|
2073
|
-
user_id: z.string(),
|
|
2074
|
-
worker_id: z.string(),
|
|
2075
|
-
}),
|
|
2076
|
-
);
|
|
2077
|
-
|
|
2078
|
-
export const publicAuditProjectListCursorArgsSchema = z.object({
|
|
2079
|
-
p_cursor: z.string().optional(),
|
|
2080
|
-
p_cursor_id: z.string().optional(),
|
|
2081
|
-
p_limit: z.number().optional(),
|
|
2082
|
-
p_search: z.string().optional(),
|
|
2083
|
-
});
|
|
2084
|
-
|
|
2085
|
-
export const publicAuditProjectListCursorReturnsSchema = z.array(
|
|
2086
|
-
z.object({
|
|
2087
|
-
config: jsonSchema,
|
|
2088
|
-
created_at: z.string(),
|
|
2089
|
-
id: z.string(),
|
|
2090
|
-
name: z.string(),
|
|
2091
|
-
repo_branch: z.string(),
|
|
2092
|
-
repo_url: z.string(),
|
|
2093
|
-
target: z.string(),
|
|
2094
|
-
updated_at: z.string(),
|
|
2095
|
-
user_id: z.string(),
|
|
2096
|
-
worker_id: z.string(),
|
|
2097
|
-
}),
|
|
2098
|
-
);
|
|
2099
|
-
|
|
2100
|
-
export const publicAuditProjectUpsertArgsSchema = z.object({
|
|
2101
|
-
p_config: jsonSchema.optional(),
|
|
2102
|
-
p_id: z.string(),
|
|
2103
|
-
p_name: z.string(),
|
|
2104
|
-
p_repo_branch: z.string().optional(),
|
|
2105
|
-
p_repo_url: z.string().optional(),
|
|
2106
|
-
p_target: z.string().optional(),
|
|
2107
|
-
p_worker_id: z.string().optional(),
|
|
2108
|
-
});
|
|
2109
|
-
|
|
2110
|
-
export const publicAuditProjectUpsertReturnsSchema = z.array(
|
|
2111
|
-
z.object({
|
|
2112
|
-
config: jsonSchema,
|
|
2113
|
-
created_at: z.string(),
|
|
2114
|
-
id: z.string(),
|
|
2115
|
-
name: z.string(),
|
|
2116
|
-
repo_branch: z.string(),
|
|
2117
|
-
repo_url: z.string(),
|
|
2118
|
-
target: z.string(),
|
|
2119
|
-
updated_at: z.string(),
|
|
2120
|
-
user_id: z.string(),
|
|
2121
|
-
worker_id: z.string(),
|
|
2122
|
-
}),
|
|
2123
|
-
);
|
|
2124
|
-
|
|
2125
|
-
export const publicAuditSkillListArgsSchema = z.object({
|
|
2126
|
-
p_project_id: z.string(),
|
|
2127
|
-
});
|
|
2128
|
-
|
|
2129
|
-
export const publicAuditSkillListReturnsSchema = z.array(
|
|
2130
|
-
z.object({
|
|
2131
|
-
created_at: z.string(),
|
|
2132
|
-
dependencies: jsonSchema.nullable(),
|
|
2133
|
-
description: z.string().nullable(),
|
|
2134
|
-
id: z.string(),
|
|
2135
|
-
name: z.string(),
|
|
2136
|
-
params_schema: jsonSchema.nullable(),
|
|
2137
|
-
project_id: z.string(),
|
|
2138
|
-
source_path: z.string().nullable(),
|
|
2139
|
-
updated_at: z.string(),
|
|
2140
|
-
version: z.string().nullable(),
|
|
2141
|
-
}),
|
|
2142
|
-
);
|
|
2143
|
-
|
|
2144
|
-
export const publicAuthRoleArgsSchema = z.never();
|
|
2145
|
-
|
|
2146
|
-
export const publicAuthRoleReturnsSchema = z.string();
|
|
2147
|
-
|
|
2148
|
-
export const publicBrowserDeleteArgsSchema = z.object({
|
|
2149
|
-
p_id: z.string(),
|
|
2150
|
-
});
|
|
2151
|
-
|
|
2152
|
-
export const publicBrowserDeleteReturnsSchema = z.undefined();
|
|
2153
|
-
|
|
2154
|
-
export const publicBrowserEnsureAssociationArgsSchema = z.object({
|
|
2155
|
-
p_browser_id: z.string(),
|
|
2156
|
-
p_user_id: z.string(),
|
|
2157
|
-
});
|
|
2158
|
-
|
|
2159
|
-
export const publicBrowserEnsureAssociationReturnsSchema = jsonSchema;
|
|
2160
|
-
|
|
2161
|
-
export const publicBrowserGetArgsSchema = z.object({
|
|
2162
|
-
p_id: z.string(),
|
|
2163
|
-
});
|
|
2164
|
-
|
|
2165
|
-
export const publicBrowserGetReturnsSchema = z.array(
|
|
2166
|
-
z.object({
|
|
2167
|
-
browser_api_url: z.string(),
|
|
2168
|
-
config: jsonSchema,
|
|
2169
|
-
created_at: z.string(),
|
|
2170
|
-
description: z.string(),
|
|
2171
|
-
id: z.string(),
|
|
2172
|
-
is_running: z.boolean(),
|
|
2173
|
-
profile_id: z.string(),
|
|
2174
|
-
provider: z.string(),
|
|
2175
|
-
provider_config: jsonSchema,
|
|
2176
|
-
sandbox_id: z.string(),
|
|
2177
|
-
title: z.string(),
|
|
2178
|
-
updated_at: z.string(),
|
|
2179
|
-
vnc_url: z.string(),
|
|
2180
|
-
worker_name: z.string(),
|
|
2181
|
-
}),
|
|
2182
|
-
);
|
|
2183
|
-
|
|
2184
|
-
export const publicBrowserListArgsSchema = z.object({
|
|
2185
|
-
p_kw: z.string().optional(),
|
|
2186
|
-
p_page_no: z.number().optional(),
|
|
2187
|
-
p_page_size: z.number().optional(),
|
|
2188
|
-
});
|
|
2189
|
-
|
|
2190
|
-
export const publicBrowserListReturnsSchema = z.array(
|
|
2191
|
-
z.object({
|
|
2192
|
-
browser_api_url: z.string(),
|
|
2193
|
-
config: jsonSchema,
|
|
2194
|
-
created_at: z.string(),
|
|
2195
|
-
description: z.string(),
|
|
2196
|
-
id: z.string(),
|
|
2197
|
-
is_running: z.boolean(),
|
|
2198
|
-
profile_id: z.string(),
|
|
2199
|
-
provider: z.string(),
|
|
2200
|
-
provider_config: jsonSchema,
|
|
2201
|
-
sandbox_id: z.string(),
|
|
2202
|
-
title: z.string(),
|
|
2203
|
-
updated_at: z.string(),
|
|
2204
|
-
vnc_url: z.string(),
|
|
2205
|
-
worker_name: z.string(),
|
|
2206
|
-
}),
|
|
2207
|
-
);
|
|
2208
|
-
|
|
2209
|
-
export const publicBrowserUpdateStateArgsSchema = z.object({
|
|
2210
|
-
p_browser_id: z.string(),
|
|
2211
|
-
p_state: jsonSchema,
|
|
2212
|
-
});
|
|
2213
|
-
|
|
2214
|
-
export const publicBrowserUpdateStateReturnsSchema = z.undefined();
|
|
2215
|
-
|
|
2216
|
-
export const publicBrowserUpsertArgsSchema = z.object({
|
|
2217
|
-
p_config: jsonSchema.optional(),
|
|
2218
|
-
p_description: z.string().optional(),
|
|
2219
|
-
p_id: z.string().optional(),
|
|
2220
|
-
p_profile_id: z.string().optional(),
|
|
2221
|
-
p_provider: z.string().optional(),
|
|
2222
|
-
p_provider_config: jsonSchema.optional(),
|
|
2223
|
-
p_title: z.string().optional(),
|
|
2224
|
-
});
|
|
2225
|
-
|
|
2226
|
-
export const publicBrowserUpsertReturnsSchema = z.array(
|
|
2227
|
-
z.object({
|
|
2228
|
-
browser_api_url: z.string(),
|
|
2229
|
-
config: jsonSchema,
|
|
2230
|
-
created_at: z.string(),
|
|
2231
|
-
description: z.string(),
|
|
2232
|
-
id: z.string(),
|
|
2233
|
-
is_running: z.boolean(),
|
|
2234
|
-
profile_id: z.string(),
|
|
2235
|
-
provider: z.string(),
|
|
2236
|
-
provider_config: jsonSchema,
|
|
2237
|
-
sandbox_id: z.string(),
|
|
2238
|
-
title: z.string(),
|
|
2239
|
-
updated_at: z.string(),
|
|
2240
|
-
vnc_url: z.string(),
|
|
2241
|
-
worker_name: z.string(),
|
|
2242
|
-
}),
|
|
2243
|
-
);
|
|
2244
|
-
|
|
2245
|
-
export const publicCampaignDeleteArgsSchema = z.object({
|
|
2246
|
-
p_id: z.string(),
|
|
2247
|
-
});
|
|
2248
|
-
|
|
2249
|
-
export const publicCampaignDeleteReturnsSchema = z.boolean();
|
|
2250
|
-
|
|
2251
|
-
export const publicCampaignGetArgsSchema = z.object({
|
|
2252
|
-
p_id: z.string(),
|
|
2253
|
-
});
|
|
2254
|
-
|
|
2255
|
-
export const publicCampaignGetReturnsSchema = z.array(
|
|
2256
|
-
z.object({
|
|
2257
|
-
completed_at: z.string(),
|
|
2258
|
-
config: jsonSchema,
|
|
2259
|
-
created_at: z.string(),
|
|
2260
|
-
description: z.string(),
|
|
2261
|
-
id: z.string(),
|
|
2262
|
-
message_template: z.string(),
|
|
2263
|
-
name: z.string(),
|
|
2264
|
-
platform: z.string(),
|
|
2265
|
-
schedule: jsonSchema,
|
|
2266
|
-
started_at: z.string(),
|
|
2267
|
-
stats: jsonSchema,
|
|
2268
|
-
status: z.string(),
|
|
2269
|
-
target_filter: jsonSchema,
|
|
2270
|
-
updated_at: z.string(),
|
|
2271
|
-
user_id: z.string(),
|
|
2272
|
-
}),
|
|
2273
|
-
);
|
|
2274
|
-
|
|
2275
|
-
export const publicCampaignListCursorArgsSchema = z.object({
|
|
2276
|
-
p_cursor: z.string().optional(),
|
|
2277
|
-
p_limit: z.number().optional(),
|
|
2278
|
-
p_search: z.string().optional(),
|
|
2279
|
-
p_status: z.string().optional(),
|
|
2280
|
-
});
|
|
2281
|
-
|
|
2282
|
-
export const publicCampaignListCursorReturnsSchema = z.array(
|
|
2283
|
-
z.object({
|
|
2284
|
-
completed_at: z.string(),
|
|
2285
|
-
config: jsonSchema,
|
|
2286
|
-
created_at: z.string(),
|
|
2287
|
-
description: z.string(),
|
|
2288
|
-
id: z.string(),
|
|
2289
|
-
message_template: z.string(),
|
|
2290
|
-
name: z.string(),
|
|
2291
|
-
platform: z.string(),
|
|
2292
|
-
schedule: jsonSchema,
|
|
2293
|
-
started_at: z.string(),
|
|
2294
|
-
stats: jsonSchema,
|
|
2295
|
-
status: z.string(),
|
|
2296
|
-
target_filter: jsonSchema,
|
|
2297
|
-
updated_at: z.string(),
|
|
2298
|
-
user_id: z.string(),
|
|
2299
|
-
}),
|
|
2300
|
-
);
|
|
2301
|
-
|
|
2302
|
-
export const publicCampaignPauseArgsSchema = z.object({
|
|
2303
|
-
p_id: z.string(),
|
|
2304
|
-
});
|
|
2305
|
-
|
|
2306
|
-
export const publicCampaignPauseReturnsSchema = z.boolean();
|
|
2307
|
-
|
|
2308
|
-
export const publicCampaignStartArgsSchema = z.object({
|
|
2309
|
-
p_id: z.string(),
|
|
2310
|
-
});
|
|
2311
|
-
|
|
2312
|
-
export const publicCampaignStartReturnsSchema = z.boolean();
|
|
2313
|
-
|
|
2314
|
-
export const publicCampaignUpsertArgsSchema = z.object({
|
|
2315
|
-
p_config: jsonSchema.optional(),
|
|
2316
|
-
p_description: z.string().optional(),
|
|
2317
|
-
p_id: z.string().optional(),
|
|
2318
|
-
p_message_template: z.string().optional(),
|
|
2319
|
-
p_name: z.string().optional(),
|
|
2320
|
-
p_platform: z.string().optional(),
|
|
2321
|
-
p_schedule: jsonSchema.optional(),
|
|
2322
|
-
p_target_filter: jsonSchema.optional(),
|
|
2323
|
-
});
|
|
2324
|
-
|
|
2325
|
-
export const publicCampaignUpsertReturnsSchema = z.array(
|
|
2326
|
-
z.object({
|
|
2327
|
-
completed_at: z.string(),
|
|
2328
|
-
config: jsonSchema,
|
|
2329
|
-
created_at: z.string(),
|
|
2330
|
-
description: z.string(),
|
|
2331
|
-
id: z.string(),
|
|
2332
|
-
message_template: z.string(),
|
|
2333
|
-
name: z.string(),
|
|
2334
|
-
platform: z.string(),
|
|
2335
|
-
schedule: jsonSchema,
|
|
2336
|
-
started_at: z.string(),
|
|
2337
|
-
stats: jsonSchema,
|
|
2338
|
-
status: z.string(),
|
|
2339
|
-
target_filter: jsonSchema,
|
|
2340
|
-
updated_at: z.string(),
|
|
2341
|
-
user_id: z.string(),
|
|
2342
|
-
}),
|
|
2343
|
-
);
|
|
2344
|
-
|
|
2345
|
-
export const publicChatGetArgsSchema = z.object({
|
|
2346
|
-
p_chat_id: z.string(),
|
|
2347
|
-
});
|
|
2348
|
-
|
|
2349
|
-
export const publicChatGetReturnsSchema = z.array(
|
|
2350
|
-
z.object({
|
|
2351
|
-
agent_id: z.string(),
|
|
2352
|
-
created_at: z.string(),
|
|
2353
|
-
id: z.string(),
|
|
2354
|
-
lastContext: jsonSchema.nullable(),
|
|
2355
|
-
state: jsonSchema.nullable(),
|
|
2356
|
-
title: z.string(),
|
|
2357
|
-
type: z.string(),
|
|
2358
|
-
updated_at: z.string().nullable(),
|
|
2359
|
-
user_id: z.string().nullable(),
|
|
2360
|
-
visibility: publicChatVisibilitySchema,
|
|
2361
|
-
}),
|
|
2362
|
-
);
|
|
2363
|
-
|
|
2364
|
-
export const publicChatListArgsSchema = z.object({
|
|
2365
|
-
p_agent_id: z.string().optional(),
|
|
2366
|
-
});
|
|
2367
|
-
|
|
2368
|
-
export const publicChatListReturnsSchema = z.array(
|
|
2369
|
-
z.object({
|
|
2370
|
-
agent_id: z.string(),
|
|
2371
|
-
created_at: z.string(),
|
|
2372
|
-
id: z.string(),
|
|
2373
|
-
lastContext: jsonSchema.nullable(),
|
|
2374
|
-
state: jsonSchema.nullable(),
|
|
2375
|
-
title: z.string(),
|
|
2376
|
-
type: z.string(),
|
|
2377
|
-
updated_at: z.string().nullable(),
|
|
2378
|
-
user_id: z.string().nullable(),
|
|
2379
|
-
visibility: publicChatVisibilitySchema,
|
|
2380
|
-
}),
|
|
2381
|
-
);
|
|
2382
|
-
|
|
2383
|
-
export const publicChatMessageBatchUpsertArgsSchema = z.object({
|
|
2384
|
-
p_chat_id: z.string().optional(),
|
|
2385
|
-
p_data: jsonSchema.optional(),
|
|
2386
|
-
p_query_mode: z.string().optional(),
|
|
2387
|
-
p_user_id: z.string().optional(),
|
|
2388
|
-
});
|
|
2389
|
-
|
|
2390
|
-
export const publicChatMessageBatchUpsertReturnsSchema = z.number();
|
|
2391
|
-
|
|
2392
|
-
export const publicChatMessageListArgsSchema = z.object({
|
|
2393
|
-
p_chat_id: z.string().optional(),
|
|
2394
|
-
p_query_mode: z.string().optional(),
|
|
2395
|
-
});
|
|
2396
|
-
|
|
2397
|
-
export const publicChatMessageListReturnsSchema = z.array(
|
|
2398
|
-
z.object({
|
|
2399
|
-
attachments: jsonSchema.nullable(),
|
|
2400
|
-
chat_id: z.string(),
|
|
2401
|
-
created_at: z.string(),
|
|
2402
|
-
grounding_metadata: jsonSchema.nullable(),
|
|
2403
|
-
id: z.string(),
|
|
2404
|
-
parts: jsonSchema,
|
|
2405
|
-
role: publicChatRoleSchema,
|
|
2406
|
-
updated_at: z.string(),
|
|
2407
|
-
user_id: z.string().nullable(),
|
|
2408
|
-
}),
|
|
2409
|
-
);
|
|
2410
|
-
|
|
2411
|
-
export const publicChatMessageUpsertArgsSchema = z.object({
|
|
2412
|
-
p_attachments: jsonSchema.optional(),
|
|
2413
|
-
p_chat_id: z.string(),
|
|
2414
|
-
p_id: z.string(),
|
|
2415
|
-
p_parts: jsonSchema,
|
|
2416
|
-
p_role: z.string(),
|
|
2417
|
-
});
|
|
2418
|
-
|
|
2419
|
-
export const publicChatMessageUpsertReturnsSchema = z.array(
|
|
2420
|
-
z.object({
|
|
2421
|
-
attachments: jsonSchema.nullable(),
|
|
2422
|
-
chat_id: z.string(),
|
|
2423
|
-
created_at: z.string(),
|
|
2424
|
-
grounding_metadata: jsonSchema.nullable(),
|
|
2425
|
-
id: z.string(),
|
|
2426
|
-
parts: jsonSchema,
|
|
2427
|
-
role: publicChatRoleSchema,
|
|
2428
|
-
updated_at: z.string(),
|
|
2429
|
-
user_id: z.string().nullable(),
|
|
2430
|
-
}),
|
|
2431
|
-
);
|
|
2432
|
-
|
|
2433
|
-
export const publicChatUpsertArgsSchema = z.object({
|
|
2434
|
-
p_agent_id: z.string().optional(),
|
|
2435
|
-
p_id: z.string().optional(),
|
|
2436
|
-
p_title: z.string().optional(),
|
|
2437
|
-
});
|
|
2438
|
-
|
|
2439
|
-
export const publicChatUpsertReturnsSchema = z.array(
|
|
2440
|
-
z.object({
|
|
2441
|
-
agent_id: z.string(),
|
|
2442
|
-
created_at: z.string(),
|
|
2443
|
-
id: z.string(),
|
|
2444
|
-
lastContext: jsonSchema.nullable(),
|
|
2445
|
-
state: jsonSchema.nullable(),
|
|
2446
|
-
title: z.string(),
|
|
2447
|
-
type: z.string(),
|
|
2448
|
-
updated_at: z.string().nullable(),
|
|
2449
|
-
user_id: z.string().nullable(),
|
|
2450
|
-
visibility: publicChatVisibilitySchema,
|
|
2451
|
-
}),
|
|
2452
|
-
);
|
|
2453
|
-
|
|
2454
|
-
export const publicCheckAccountRateLimitArgsSchema = z.object({
|
|
2455
|
-
p_account_id: z.string(),
|
|
2456
|
-
p_campaign_config: jsonSchema.optional(),
|
|
2457
|
-
});
|
|
2458
|
-
|
|
2459
|
-
export const publicCheckAccountRateLimitReturnsSchema = z.boolean();
|
|
2460
|
-
|
|
2461
|
-
export const publicCleanupServersIngressArgsSchema = z.never();
|
|
2462
|
-
|
|
2463
|
-
export const publicCleanupServersIngressReturnsSchema = z.number();
|
|
2464
|
-
|
|
2465
|
-
export const publicCloudAccountBulkCreateArgsSchema = z.object({
|
|
2466
|
-
p_account_names: z.array(z.string()),
|
|
2467
|
-
p_platform_name: z.string(),
|
|
2468
|
-
p_status: publicCloudAccountStatusSchema.optional(),
|
|
2469
|
-
});
|
|
2470
|
-
|
|
2471
|
-
export const publicCloudAccountRecordSchema = z.object({
|
|
2472
|
-
id: z.string().nullable(),
|
|
2473
|
-
created_at: z.string().nullable(),
|
|
2474
|
-
updated_at: z.string().nullable(),
|
|
2475
|
-
user_id: z.string().nullable(),
|
|
2476
|
-
platform_name: z.string().nullable(),
|
|
2477
|
-
account_email: z.string().nullable(),
|
|
2478
|
-
account_name: z.string().nullable(),
|
|
2479
|
-
token_type: z.string().nullable(),
|
|
2480
|
-
token_expires_at: z.string().nullable(),
|
|
2481
|
-
refresh_token_expires_at: z.string().nullable(),
|
|
2482
|
-
last_refresh_at: z.string().nullable(),
|
|
2483
|
-
status: publicCloudAccountStatusSchema.nullable(),
|
|
2484
|
-
status_reason: z.string().nullable(),
|
|
2485
|
-
status_updated_at: z.string().nullable(),
|
|
2486
|
-
session_data: jsonSchema.nullable(),
|
|
2487
|
-
device_fingerprint: jsonSchema.nullable(),
|
|
2488
|
-
quota_data: jsonSchema.nullable(),
|
|
2489
|
-
metadata: jsonSchema.nullable(),
|
|
2490
|
-
proxy_disabled: z.boolean().nullable(),
|
|
2491
|
-
last_used_at: z.string().nullable(),
|
|
2492
|
-
use_count: z.number().nullable(),
|
|
2493
|
-
device_history: z.array(jsonSchema).nullable(),
|
|
2494
|
-
credentials: jsonSchema.nullable(),
|
|
2495
|
-
});
|
|
2496
|
-
|
|
2497
|
-
export const publicCloudAccountDeleteArgsSchema = z.object({
|
|
2498
|
-
p_id: z.string(),
|
|
2499
|
-
});
|
|
2500
|
-
|
|
2501
|
-
export const publicCloudAccountDeleteReturnsSchema = z.array(
|
|
2502
|
-
publicCloudAccountRecordSchema,
|
|
2503
|
-
);
|
|
2504
|
-
|
|
2505
|
-
export const publicCloudAccountDeviceDeleteVersionArgsSchema = z.object({
|
|
2506
|
-
p_account_id: z.string(),
|
|
2507
|
-
p_version: z.number(),
|
|
2508
|
-
});
|
|
2509
|
-
|
|
2510
|
-
export const publicCloudAccountDeviceDeleteVersionReturnsSchema = z.undefined();
|
|
2511
|
-
|
|
2512
|
-
export const publicCloudAccountDeviceRestoreArgsSchema = z.object({
|
|
2513
|
-
p_id: z.string(),
|
|
2514
|
-
p_version_id: z.string(),
|
|
2515
|
-
});
|
|
2516
|
-
|
|
2517
|
-
export const publicCloudAccountDeviceRestoreReturnsSchema = z.array(
|
|
2518
|
-
publicCloudAccountRecordSchema,
|
|
2519
|
-
);
|
|
2520
|
-
|
|
2521
|
-
export const publicCloudAccountGetArgsSchema = z.object({
|
|
2522
|
-
p_id: z.string(),
|
|
2523
|
-
});
|
|
2524
|
-
|
|
2525
|
-
export const publicCloudAccountGetReturnsSchema = z.array(
|
|
2526
|
-
publicCloudAccountRecordSchema,
|
|
2527
|
-
);
|
|
2528
|
-
|
|
2529
|
-
export const publicCloudAccountListCursorArgsSchema = z.object({
|
|
2530
|
-
p_cursor: z.string().optional(),
|
|
2531
|
-
p_limit: z.number().optional(),
|
|
2532
|
-
p_platform_name: z.string().optional(),
|
|
2533
|
-
p_search: z.string().optional(),
|
|
2534
|
-
p_status: z.string().optional(),
|
|
2535
|
-
});
|
|
2536
|
-
|
|
2537
|
-
export const publicCloudAccountListCursorReturnsSchema = z.array(
|
|
2538
|
-
publicCloudAccountRecordSchema,
|
|
2539
|
-
);
|
|
2540
|
-
|
|
2541
|
-
export const publicCloudAccountMarkRefreshFailedArgsSchema = z.object({
|
|
2542
|
-
p_error: z.string(),
|
|
2543
|
-
p_id: z.string(),
|
|
2544
|
-
});
|
|
2545
|
-
|
|
2546
|
-
export const publicCloudAccountMarkRefreshFailedReturnsSchema = z.undefined();
|
|
2547
|
-
|
|
2548
|
-
export const publicCloudAccountRefreshTokenArgsSchema = z.object({
|
|
2549
|
-
p_access_token: z.string(),
|
|
2550
|
-
p_expires_in: z.number().optional(),
|
|
2551
|
-
p_id: z.string(),
|
|
2552
|
-
p_refresh_token: z.string().optional(),
|
|
2553
|
-
});
|
|
2554
|
-
|
|
2555
|
-
export const publicCloudAccountRefreshTokenReturnsSchema = z.undefined();
|
|
2556
|
-
|
|
2557
|
-
export const publicCloudAccountSessionStoreArgsSchema = z.object({
|
|
2558
|
-
p_id: z.string(),
|
|
2559
|
-
p_session: z.string(),
|
|
2560
|
-
});
|
|
2561
|
-
|
|
2562
|
-
export const publicCloudAccountSessionStoreReturnsSchema = z.undefined();
|
|
2563
|
-
|
|
2564
|
-
export const publicCloudAccountUpdateAutomationConfigArgsSchema = z.object({
|
|
2565
|
-
p_account_id: z.string(),
|
|
2566
|
-
p_config: jsonSchema,
|
|
2567
|
-
});
|
|
2568
|
-
|
|
2569
|
-
export const publicCloudAccountUpdateAutomationConfigReturnsSchema =
|
|
2570
|
-
z.undefined();
|
|
2571
|
-
|
|
2572
|
-
export const publicCloudAccountUpsertArgsSchema = z.object({
|
|
2573
|
-
p_access_token: z.string().optional(),
|
|
2574
|
-
p_account_email: z.string().optional(),
|
|
2575
|
-
p_account_name: z.string().optional(),
|
|
2576
|
-
p_credentials: jsonSchema.optional(),
|
|
2577
|
-
p_device_fingerprint: jsonSchema.optional(),
|
|
2578
|
-
p_id: z.string().optional(),
|
|
2579
|
-
p_metadata: jsonSchema.optional(),
|
|
2580
|
-
p_platform_name: z.string().optional(),
|
|
2581
|
-
p_quota_data: jsonSchema.optional(),
|
|
2582
|
-
p_refresh_token: z.string().optional(),
|
|
2583
|
-
p_refresh_token_expires_at: z.string().optional(),
|
|
2584
|
-
p_session_data: jsonSchema.optional(),
|
|
2585
|
-
p_status: publicCloudAccountStatusSchema.optional(),
|
|
2586
|
-
p_status_reason: z.string().optional(),
|
|
2587
|
-
p_token_expires_at: z.string().optional(),
|
|
2588
|
-
p_token_type: z.string().optional(),
|
|
2589
|
-
p_user_id: z.string().optional(),
|
|
2590
|
-
});
|
|
2591
|
-
|
|
2592
|
-
export const publicCloudAccountUpsertReturnsSchema = z.array(
|
|
2593
|
-
publicCloudAccountRecordSchema,
|
|
2594
|
-
);
|
|
2595
|
-
|
|
2596
|
-
export const publicCodeRunResultParseArgsSchema = z.object({
|
|
2597
|
-
p_result: jsonSchema,
|
|
2598
|
-
});
|
|
2599
|
-
|
|
2600
|
-
export const publicCodeRunResultParseReturnsSchema = jsonSchema;
|
|
2601
|
-
|
|
2602
|
-
export const publicComputeNodeDeleteArgsSchema = z.object({
|
|
2603
|
-
p_id: z.string(),
|
|
2604
|
-
});
|
|
2605
|
-
|
|
2606
|
-
export const publicComputeNodeDeleteReturnsSchema = z.undefined();
|
|
2607
|
-
|
|
2608
|
-
export const publicComputeNodeGetArgsSchema = z.object({
|
|
2609
|
-
p_id: z.string().optional(),
|
|
2610
|
-
p_user_id: z.string().optional(),
|
|
2611
|
-
});
|
|
2612
|
-
|
|
2613
|
-
export const publicComputeNodeGetReturnsSchema = z.array(
|
|
2614
|
-
z.object({
|
|
2615
|
-
auth_secret: z.string(),
|
|
2616
|
-
created_at: z.string(),
|
|
2617
|
-
host: z.string(),
|
|
2618
|
-
id: z.string(),
|
|
2619
|
-
is_public: z.boolean(),
|
|
2620
|
-
name: z.string(),
|
|
2621
|
-
port: z.number(),
|
|
2622
|
-
provider: z.string(),
|
|
2623
|
-
updated_at: z.string(),
|
|
2624
|
-
user_id: z.string(),
|
|
2625
|
-
username: z.string(),
|
|
2626
|
-
}),
|
|
2627
|
-
);
|
|
2628
|
-
|
|
2629
|
-
export const publicComputeNodeGetSecretArgsSchema = z.object({
|
|
2630
|
-
target_id: z.string(),
|
|
2631
|
-
});
|
|
2632
|
-
|
|
2633
|
-
export const publicComputeNodeGetSecretReturnsSchema = z.array(
|
|
2634
|
-
z.object({
|
|
2635
|
-
auth_secret: z.string(),
|
|
2636
|
-
host: z.string(),
|
|
2637
|
-
port: z.number(),
|
|
2638
|
-
username: z.string(),
|
|
2639
|
-
}),
|
|
2640
|
-
);
|
|
2641
|
-
|
|
2642
|
-
export const publicComputeNodeListArgsSchema = z.object({
|
|
2643
|
-
p_user_id: z.string().optional(),
|
|
2644
|
-
});
|
|
2645
|
-
|
|
2646
|
-
export const publicComputeNodeListReturnsSchema = z.array(
|
|
2647
|
-
z.object({
|
|
2648
|
-
auth_secret: z.string(),
|
|
2649
|
-
created_at: z.string(),
|
|
2650
|
-
host: z.string(),
|
|
2651
|
-
id: z.string(),
|
|
2652
|
-
is_public: z.boolean(),
|
|
2653
|
-
name: z.string(),
|
|
2654
|
-
port: z.number(),
|
|
2655
|
-
provider: z.string(),
|
|
2656
|
-
updated_at: z.string(),
|
|
2657
|
-
user_id: z.string(),
|
|
2658
|
-
username: z.string(),
|
|
2659
|
-
}),
|
|
2660
|
-
);
|
|
2661
|
-
|
|
2662
|
-
export const publicComputeNodeUpsertArgsSchema = z.object({
|
|
2663
|
-
p_auth_secret: z.string().optional(),
|
|
2664
|
-
p_host: z.string().optional(),
|
|
2665
|
-
p_id: z.string().optional(),
|
|
2666
|
-
p_is_public: z.boolean().optional(),
|
|
2667
|
-
p_name: z.string().optional(),
|
|
2668
|
-
p_port: z.number().optional(),
|
|
2669
|
-
p_provider: z.string().optional(),
|
|
2670
|
-
p_username: z.string().optional(),
|
|
2671
|
-
p_worker_count: z.number().optional(),
|
|
2672
|
-
});
|
|
2673
|
-
|
|
2674
|
-
export const publicComputeNodeUpsertReturnsSchema = z.array(
|
|
2675
|
-
z.object({
|
|
2676
|
-
auth_secret: z.string(),
|
|
2677
|
-
created_at: z.string(),
|
|
2678
|
-
host: z.string(),
|
|
2679
|
-
id: z.string(),
|
|
2680
|
-
is_public: z.boolean(),
|
|
2681
|
-
name: z.string(),
|
|
2682
|
-
port: z.number(),
|
|
2683
|
-
provider: z.string(),
|
|
2684
|
-
updated_at: z.string(),
|
|
2685
|
-
user_id: z.string(),
|
|
2686
|
-
username: z.string(),
|
|
2687
|
-
}),
|
|
2688
|
-
);
|
|
2689
|
-
|
|
2690
|
-
export const publicComputeServerPublicUrlArgsSchema = z.object({
|
|
2691
|
-
p_server_id: z.string(),
|
|
2692
|
-
});
|
|
2693
|
-
|
|
2694
|
-
export const publicComputeServerPublicUrlReturnsSchema = z.string();
|
|
2695
|
-
|
|
2696
|
-
export const publicContactAddTagsArgsSchema = z.object({
|
|
2697
|
-
p_ids: z.array(z.string()),
|
|
2698
|
-
p_tags: z.array(z.string()),
|
|
2699
|
-
});
|
|
2700
|
-
|
|
2701
|
-
export const publicContactAddTagsReturnsSchema = z.number();
|
|
2702
|
-
|
|
2703
|
-
export const publicContactBulkImportArgsSchema = z.object({
|
|
2704
|
-
p_contacts: jsonSchema,
|
|
2705
|
-
p_default_tags: z.array(z.string()).optional(),
|
|
2706
|
-
p_platform: z.string().optional(),
|
|
2707
|
-
p_source: z.string().optional(),
|
|
2708
|
-
});
|
|
2709
|
-
|
|
2710
|
-
export const publicContactBulkImportReturnsSchema = z.number();
|
|
2711
|
-
|
|
2712
|
-
export const publicContactDeleteArgsSchema = z.object({
|
|
2713
|
-
p_ids: z.array(z.string()),
|
|
2714
|
-
});
|
|
2715
|
-
|
|
2716
|
-
export const publicContactDeleteReturnsSchema = z.number();
|
|
2717
|
-
|
|
2718
|
-
export const publicContactGetArgsSchema = z.object({
|
|
2719
|
-
p_id: z.string().optional(),
|
|
2720
|
-
p_phone: z.string().optional(),
|
|
2721
|
-
p_platform: z.string().optional(),
|
|
2722
|
-
p_telegram_id: z.number().optional(),
|
|
2723
|
-
});
|
|
2724
|
-
|
|
2725
|
-
export const publicContactGetReturnsSchema = z.array(
|
|
2726
|
-
z.object({
|
|
2727
|
-
created_at: z.string(),
|
|
2728
|
-
email: z.string(),
|
|
2729
|
-
id: z.string(),
|
|
2730
|
-
metadata: jsonSchema,
|
|
2731
|
-
name: z.string(),
|
|
2732
|
-
phone: z.string(),
|
|
2733
|
-
platform: z.string(),
|
|
2734
|
-
source: z.string(),
|
|
2735
|
-
status: z.string(),
|
|
2736
|
-
tags: z.array(z.string()),
|
|
2737
|
-
telegram_id: z.number(),
|
|
2738
|
-
telegram_username: z.string(),
|
|
2739
|
-
updated_at: z.string(),
|
|
2740
|
-
user_id: z.string(),
|
|
2741
|
-
}),
|
|
2742
|
-
);
|
|
2743
|
-
|
|
2744
|
-
export const publicContactListCursorArgsSchema = z.object({
|
|
2745
|
-
p_cursor: z.string().optional(),
|
|
2746
|
-
p_limit: z.number().optional(),
|
|
2747
|
-
p_platform: z.string().optional(),
|
|
2748
|
-
p_search: z.string().optional(),
|
|
2749
|
-
p_status: z.string().optional(),
|
|
2750
|
-
p_tags: z.array(z.string()).optional(),
|
|
2751
|
-
});
|
|
2752
|
-
|
|
2753
|
-
export const publicContactListCursorReturnsSchema = z.array(
|
|
2754
|
-
z.object({
|
|
2755
|
-
created_at: z.string(),
|
|
2756
|
-
email: z.string(),
|
|
2757
|
-
id: z.string(),
|
|
2758
|
-
metadata: jsonSchema,
|
|
2759
|
-
name: z.string(),
|
|
2760
|
-
phone: z.string(),
|
|
2761
|
-
platform: z.string(),
|
|
2762
|
-
source: z.string(),
|
|
2763
|
-
status: z.string(),
|
|
2764
|
-
tags: z.array(z.string()),
|
|
2765
|
-
telegram_id: z.number(),
|
|
2766
|
-
telegram_username: z.string(),
|
|
2767
|
-
updated_at: z.string(),
|
|
2768
|
-
user_id: z.string(),
|
|
2769
|
-
}),
|
|
2770
|
-
);
|
|
2771
|
-
|
|
2772
|
-
export const publicContactListTagsArgsSchema = z.never();
|
|
2773
|
-
|
|
2774
|
-
export const publicContactListTagsReturnsSchema = z.array(z.string());
|
|
2775
|
-
|
|
2776
|
-
export const publicContactRemoveTagsArgsSchema = z.object({
|
|
2777
|
-
p_ids: z.array(z.string()),
|
|
2778
|
-
p_tags: z.array(z.string()),
|
|
2779
|
-
});
|
|
2780
|
-
|
|
2781
|
-
export const publicContactRemoveTagsReturnsSchema = z.number();
|
|
2782
|
-
|
|
2783
|
-
export const publicContactUpsertArgsSchema = z.object({
|
|
2784
|
-
p_email: z.string().optional(),
|
|
2785
|
-
p_id: z.string().optional(),
|
|
2786
|
-
p_metadata: jsonSchema.optional(),
|
|
2787
|
-
p_name: z.string().optional(),
|
|
2788
|
-
p_phone: z.string().optional(),
|
|
2789
|
-
p_platform: z.string().optional(),
|
|
2790
|
-
p_source: z.string().optional(),
|
|
2791
|
-
p_status: z.string().optional(),
|
|
2792
|
-
p_tags: z.array(z.string()).optional(),
|
|
2793
|
-
p_telegram_id: z.number().optional(),
|
|
2794
|
-
p_telegram_username: z.string().optional(),
|
|
2795
|
-
});
|
|
2796
|
-
|
|
2797
|
-
export const publicContactUpsertReturnsSchema = z.array(
|
|
2798
|
-
z.object({
|
|
2799
|
-
created_at: z.string(),
|
|
2800
|
-
email: z.string(),
|
|
2801
|
-
id: z.string(),
|
|
2802
|
-
metadata: jsonSchema,
|
|
2803
|
-
name: z.string(),
|
|
2804
|
-
phone: z.string(),
|
|
2805
|
-
platform: z.string(),
|
|
2806
|
-
source: z.string(),
|
|
2807
|
-
status: z.string(),
|
|
2808
|
-
tags: z.array(z.string()),
|
|
2809
|
-
telegram_id: z.number(),
|
|
2810
|
-
telegram_username: z.string(),
|
|
2811
|
-
updated_at: z.string(),
|
|
2812
|
-
user_id: z.string(),
|
|
2813
|
-
}),
|
|
2814
|
-
);
|
|
2815
|
-
|
|
2816
|
-
export const publicCreateNotificationArgsSchema = z.object({
|
|
2817
|
-
p_action_payload: jsonSchema.optional(),
|
|
2818
|
-
p_action_type: z.string().optional(),
|
|
2819
|
-
p_expires_in: z.string().optional(),
|
|
2820
|
-
p_message: z.string(),
|
|
2821
|
-
p_notification_type: z.string().optional(),
|
|
2822
|
-
p_priority: z.string().optional(),
|
|
2823
|
-
p_source_id: z.string().optional(),
|
|
2824
|
-
p_source_type: z.string().optional(),
|
|
2825
|
-
p_title: z.string(),
|
|
2826
|
-
p_user_id: z.string(),
|
|
2827
|
-
});
|
|
2828
|
-
|
|
2829
|
-
export const publicCreateNotificationReturnsSchema = z.string();
|
|
2830
|
-
|
|
2831
|
-
export const publicDbToolQueryArgsSchema = z.object({
|
|
2832
|
-
p_sql: z.string(),
|
|
2833
|
-
});
|
|
2834
|
-
|
|
2835
|
-
export const publicDbToolQueryReturnsSchema = jsonSchema;
|
|
2836
|
-
|
|
2837
|
-
export const publicGetGithubAppPublicInfoArgsSchema = z.never();
|
|
2838
|
-
|
|
2839
|
-
export const publicGetGithubAppPublicInfoReturnsSchema = jsonSchema;
|
|
2840
|
-
|
|
2841
|
-
export const publicGetJwtRoleArgsSchema = z.never();
|
|
2842
|
-
|
|
2843
|
-
export const publicGetJwtRoleReturnsSchema = z.string();
|
|
2844
|
-
|
|
2845
|
-
export const publicGetSystemPrimaryDomainArgsSchema = z.never();
|
|
2846
|
-
|
|
2847
|
-
export const publicGetSystemPrimaryDomainReturnsSchema = z.string();
|
|
2848
|
-
|
|
2849
|
-
export const publicGetUserIdFromTokenArgsSchema = z.object({
|
|
2850
|
-
p_token: z.string(),
|
|
2851
|
-
});
|
|
2852
|
-
|
|
2853
|
-
export const publicGetUserIdFromTokenReturnsSchema = z.string();
|
|
2854
|
-
|
|
2855
|
-
export const publicGetWorkerSubdomainArgsSchema = z.object({
|
|
2856
|
-
p_worker_id: z.string(),
|
|
2857
|
-
});
|
|
2858
|
-
|
|
2859
|
-
export const publicGetWorkerSubdomainReturnsSchema = z.string();
|
|
2860
|
-
|
|
2861
|
-
export const publicGithubListInstallationReposArgsSchema = z.never();
|
|
2862
|
-
|
|
2863
|
-
export const publicGithubListInstallationReposReturnsSchema = jsonSchema;
|
|
2864
|
-
|
|
2865
|
-
export const publicGithubListRepoBranchesArgsSchema = z.object({
|
|
2866
|
-
p_repo_full_name: z.string(),
|
|
2867
|
-
});
|
|
2868
|
-
|
|
2869
|
-
export const publicGithubListRepoBranchesReturnsSchema = jsonSchema;
|
|
2870
|
-
|
|
2871
|
-
export const publicGomtmModelCountArgsSchema = z.object({
|
|
2872
|
-
p_is_active: z.boolean().optional(),
|
|
2873
|
-
p_provider: z.string().optional(),
|
|
2874
|
-
});
|
|
2875
|
-
|
|
2876
|
-
export const publicGomtmModelCountReturnsSchema = z.number();
|
|
2877
|
-
|
|
2878
|
-
export const publicGomtmModelDeleteArgsSchema = z.object({
|
|
2879
|
-
p_id: z.string(),
|
|
2880
|
-
});
|
|
2881
|
-
|
|
2882
|
-
export const publicGomtmModelDeleteReturnsSchema = z.boolean();
|
|
2883
|
-
|
|
2884
|
-
export const publicGomtmModelGetArgsSchema = z.object({
|
|
2885
|
-
p_id: z.string(),
|
|
2886
|
-
});
|
|
2887
|
-
|
|
2888
|
-
export const publicGomtmModelGetReturnsSchema = z.array(
|
|
2889
|
-
z.object({
|
|
2890
|
-
api_base: z.string().nullable(),
|
|
2891
|
-
api_key: z.string().nullable(),
|
|
2892
|
-
config: jsonSchema.nullable(),
|
|
2893
|
-
created_at: z.string(),
|
|
2894
|
-
id: z.string(),
|
|
2895
|
-
is_active: z.boolean(),
|
|
2896
|
-
linked_account_id: z.string().nullable(),
|
|
2897
|
-
model: z.string(),
|
|
2898
|
-
name: z.string(),
|
|
2899
|
-
provider: z.string(),
|
|
2900
|
-
updated_at: z.string(),
|
|
2901
|
-
user_id: z.string(),
|
|
2902
|
-
}),
|
|
2903
|
-
);
|
|
2904
|
-
|
|
2905
|
-
export const publicGomtmModelListCursorArgsSchema = z.object({
|
|
2906
|
-
p_cursor_id: z.string().optional(),
|
|
2907
|
-
p_is_active: z.boolean().optional(),
|
|
2908
|
-
p_limit: z.number().optional(),
|
|
2909
|
-
p_provider: z.string().optional(),
|
|
2910
|
-
});
|
|
2911
|
-
|
|
2912
|
-
export const publicGomtmModelListCursorReturnsSchema = z.array(
|
|
2913
|
-
z.object({
|
|
2914
|
-
api_base: z.string().nullable(),
|
|
2915
|
-
api_key: z.string().nullable(),
|
|
2916
|
-
config: jsonSchema.nullable(),
|
|
2917
|
-
created_at: z.string(),
|
|
2918
|
-
id: z.string(),
|
|
2919
|
-
is_active: z.boolean(),
|
|
2920
|
-
linked_account_id: z.string().nullable(),
|
|
2921
|
-
model: z.string(),
|
|
2922
|
-
name: z.string(),
|
|
2923
|
-
provider: z.string(),
|
|
2924
|
-
updated_at: z.string(),
|
|
2925
|
-
user_id: z.string(),
|
|
2926
|
-
}),
|
|
2927
|
-
);
|
|
2928
|
-
|
|
2929
|
-
export const publicGomtmModelUpsertArgsSchema = z.object({
|
|
2930
|
-
p_api_base: z.string(),
|
|
2931
|
-
p_api_key: z.string(),
|
|
2932
|
-
p_config: jsonSchema,
|
|
2933
|
-
p_id: z.string(),
|
|
2934
|
-
p_is_active: z.boolean(),
|
|
2935
|
-
p_linked_account_id: z.string(),
|
|
2936
|
-
p_model: z.string(),
|
|
2937
|
-
p_name: z.string(),
|
|
2938
|
-
p_provider: z.string(),
|
|
2939
|
-
});
|
|
2940
|
-
|
|
2941
|
-
export const publicGomtmModelUpsertReturnsSchema = z.array(
|
|
2942
|
-
z.object({
|
|
2943
|
-
api_base: z.string().nullable(),
|
|
2944
|
-
api_key: z.string().nullable(),
|
|
2945
|
-
config: jsonSchema.nullable(),
|
|
2946
|
-
created_at: z.string(),
|
|
2947
|
-
id: z.string(),
|
|
2948
|
-
is_active: z.boolean(),
|
|
2949
|
-
linked_account_id: z.string().nullable(),
|
|
2950
|
-
model: z.string(),
|
|
2951
|
-
name: z.string(),
|
|
2952
|
-
provider: z.string(),
|
|
2953
|
-
updated_at: z.string(),
|
|
2954
|
-
user_id: z.string(),
|
|
2955
|
-
}),
|
|
2956
|
-
);
|
|
2957
|
-
|
|
2958
|
-
export const publicHandleJobOutreachProcessArgsSchema = z.object({
|
|
2959
|
-
p_payload: jsonSchema.optional(),
|
|
2960
|
-
});
|
|
2961
|
-
|
|
2962
|
-
export const publicHandleJobOutreachProcessReturnsSchema = z.undefined();
|
|
2963
|
-
|
|
2964
|
-
export const publicHandleJobTelegramFetchInfoArgsSchema = z.object({
|
|
2965
|
-
p_payload: jsonSchema,
|
|
2966
|
-
});
|
|
2967
|
-
|
|
2968
|
-
export const publicHandleJobTelegramFetchInfoReturnsSchema = z.undefined();
|
|
2969
|
-
|
|
2970
|
-
export const publicHandleJobTelegramFetchSmsArgsSchema = z.object({
|
|
2971
|
-
p_payload: jsonSchema,
|
|
2972
|
-
});
|
|
2973
|
-
|
|
2974
|
-
export const publicHandleJobTelegramFetchSmsReturnsSchema = z.undefined();
|
|
2975
|
-
|
|
2976
|
-
export const publicHasPermissionArgsSchema = z.object({
|
|
2977
|
-
p_action: z.string(),
|
|
2978
|
-
p_resource: z.string(),
|
|
2979
|
-
});
|
|
2980
|
-
|
|
2981
|
-
export const publicHasPermissionReturnsSchema = z.boolean();
|
|
2982
|
-
|
|
2983
|
-
export const publicHttpFetchArgsSchema = z.object({
|
|
2984
|
-
p_body: jsonSchema.optional(),
|
|
2985
|
-
p_headers: jsonSchema.optional(),
|
|
2986
|
-
p_max_retries: z.number().optional(),
|
|
2987
|
-
p_method: z.string(),
|
|
2988
|
-
p_source_tag: z.string().optional(),
|
|
2989
|
-
p_timeout_ms: z.number().optional(),
|
|
2990
|
-
p_url: z.string(),
|
|
2991
|
-
});
|
|
2992
|
-
|
|
2993
|
-
export const publicHttpFetchReturnsSchema = jsonSchema;
|
|
2994
|
-
|
|
2995
|
-
export const publicInstallScriptArgsSchema = z.object({
|
|
2996
|
-
p_instance_id: z.string().optional(),
|
|
2997
|
-
p_version: z.string().optional(),
|
|
2998
|
-
});
|
|
2999
|
-
|
|
3000
|
-
export const publicInstallScriptReturnsSchema = z.string();
|
|
3001
|
-
|
|
3002
|
-
export const publicInstanceTagAddArgsSchema = z.object({
|
|
3003
|
-
p_instance_id: z.string(),
|
|
3004
|
-
p_tag_id: z.string(),
|
|
3005
|
-
});
|
|
3006
|
-
|
|
3007
|
-
export const publicInstanceTagAddReturnsSchema = z.boolean();
|
|
3008
|
-
|
|
3009
|
-
export const publicInstanceTagRemoveArgsSchema = z.object({
|
|
3010
|
-
p_instance_id: z.string(),
|
|
3011
|
-
p_tag_id: z.string(),
|
|
3012
|
-
});
|
|
3013
|
-
|
|
3014
|
-
export const publicInstanceTagRemoveReturnsSchema = z.boolean();
|
|
3015
|
-
|
|
3016
|
-
export const publicInstanceTagsGetArgsSchema = z.object({
|
|
3017
|
-
p_instance_id: z.string(),
|
|
3018
|
-
});
|
|
3019
|
-
|
|
3020
|
-
export const publicInstanceTagsGetReturnsSchema = z.array(
|
|
3021
|
-
z.object({
|
|
3022
|
-
color: z.string(),
|
|
3023
|
-
created_at: z.string(),
|
|
3024
|
-
id: z.string(),
|
|
3025
|
-
instance_count: z.number(),
|
|
3026
|
-
name: z.string(),
|
|
3027
|
-
updated_at: z.string(),
|
|
3028
|
-
user_id: z.string(),
|
|
3029
|
-
}),
|
|
3030
|
-
);
|
|
3031
|
-
|
|
3032
|
-
export const publicInstanceTagsSetArgsSchema = z.object({
|
|
3033
|
-
p_instance_id: z.string(),
|
|
3034
|
-
p_tag_ids: z.array(z.string()),
|
|
3035
|
-
});
|
|
3036
|
-
|
|
3037
|
-
export const publicInstanceTagsSetReturnsSchema = z.array(
|
|
3038
|
-
z.object({
|
|
3039
|
-
color: z.string(),
|
|
3040
|
-
created_at: z.string(),
|
|
3041
|
-
id: z.string(),
|
|
3042
|
-
instance_count: z.number(),
|
|
3043
|
-
name: z.string(),
|
|
3044
|
-
updated_at: z.string(),
|
|
3045
|
-
user_id: z.string(),
|
|
3046
|
-
}),
|
|
3047
|
-
);
|
|
3048
|
-
|
|
3049
|
-
export const publicJobQueueListDlqArgsSchema = z.object({
|
|
3050
|
-
p_limit: z.number().optional(),
|
|
3051
|
-
p_offset: z.number().optional(),
|
|
3052
|
-
p_queue: z.string(),
|
|
3053
|
-
});
|
|
3054
|
-
|
|
3055
|
-
export const publicJobQueueDlqRecordSchema = z.object({
|
|
3056
|
-
msg_id: z.number().nullable(),
|
|
3057
|
-
read_ct: z.number().nullable(),
|
|
3058
|
-
enqueued_at: z.string().nullable(),
|
|
3059
|
-
message: jsonSchema.nullable(),
|
|
3060
|
-
});
|
|
3061
|
-
|
|
3062
|
-
export const publicJobQueuePurgeDlqArgsSchema = z.object({
|
|
3063
|
-
p_msg_ids: z.array(z.number()),
|
|
3064
|
-
p_queue: z.string(),
|
|
3065
|
-
});
|
|
3066
|
-
|
|
3067
|
-
export const publicJobQueuePurgeDlqReturnsSchema = z.boolean();
|
|
3068
|
-
|
|
3069
|
-
export const publicJobQueueRetryDlqArgsSchema = z.object({
|
|
3070
|
-
p_msg_ids: z.array(z.number()),
|
|
3071
|
-
p_queue: z.string(),
|
|
3072
|
-
});
|
|
3073
|
-
|
|
3074
|
-
export const publicJobQueueRetryDlqReturnsSchema = z.boolean();
|
|
3075
|
-
|
|
3076
|
-
export const publicJobSubmitArgsSchema = z.object({
|
|
3077
|
-
p_delay_seconds: z.number().optional(),
|
|
3078
|
-
p_payload: jsonSchema,
|
|
3079
|
-
p_queue: z.string(),
|
|
3080
|
-
p_type: z.string(),
|
|
3081
|
-
});
|
|
3082
|
-
|
|
3083
|
-
export const publicJobSubmitReturnsSchema = jsonSchema;
|
|
3084
|
-
|
|
3085
|
-
export const publicJsonbDeepMergeArgsSchema = z.object({
|
|
3086
|
-
a: jsonSchema,
|
|
3087
|
-
b: jsonSchema,
|
|
3088
|
-
});
|
|
3089
|
-
|
|
3090
|
-
export const publicJsonbDeepMergeReturnsSchema = jsonSchema;
|
|
3091
|
-
|
|
3092
|
-
export const publicLogListUnifiedArgsSchema = z.object({
|
|
3093
|
-
p_cursor: z.string().optional(),
|
|
3094
|
-
p_event_type: z.string().optional(),
|
|
3095
|
-
p_level_max: z.string().optional(),
|
|
3096
|
-
p_limit: z.number().optional(),
|
|
3097
|
-
p_module: z.string().optional(),
|
|
3098
|
-
p_resource_id: z.string().optional(),
|
|
3099
|
-
p_resource_type: z.string().optional(),
|
|
3100
|
-
p_scope: z.string().optional(),
|
|
3101
|
-
p_source: z.string().optional(),
|
|
3102
|
-
});
|
|
3103
|
-
|
|
3104
|
-
export const publicLogUnifiedRecordSchema = z.object({
|
|
3105
|
-
id: z.string().nullable(),
|
|
3106
|
-
source: z.string().nullable(),
|
|
3107
|
-
created_at: z.string().nullable(),
|
|
3108
|
-
event_type: z.string().nullable(),
|
|
3109
|
-
level: z.string().nullable(),
|
|
3110
|
-
module: z.string().nullable(),
|
|
3111
|
-
content: z.string().nullable(),
|
|
3112
|
-
meta: jsonSchema.nullable(),
|
|
3113
|
-
resource_type: z.string().nullable(),
|
|
3114
|
-
resource_id: z.string().nullable(),
|
|
3115
|
-
user_id: z.string().nullable(),
|
|
3116
|
-
});
|
|
3117
|
-
|
|
3118
|
-
export const publicNotificationCompleteActionArgsSchema = z.object({
|
|
3119
|
-
p_id: z.string(),
|
|
3120
|
-
});
|
|
3121
|
-
|
|
3122
|
-
export const publicNotificationCompleteActionReturnsSchema = z.boolean();
|
|
3123
|
-
|
|
3124
|
-
export const publicNotificationCountArgsSchema = z.object({
|
|
3125
|
-
p_include_dismissed: z.boolean().optional(),
|
|
3126
|
-
p_unread_only: z.boolean().optional(),
|
|
3127
|
-
});
|
|
3128
|
-
|
|
3129
|
-
export const publicNotificationCountReturnsSchema = z.number();
|
|
3130
|
-
|
|
3131
|
-
export const publicNotificationDismissArgsSchema = z.object({
|
|
3132
|
-
p_dismiss_all: z.boolean().optional(),
|
|
3133
|
-
p_id: z.string().optional(),
|
|
3134
|
-
p_source_id: z.string().optional(),
|
|
3135
|
-
p_source_type: z.string().optional(),
|
|
3136
|
-
});
|
|
3137
|
-
|
|
3138
|
-
export const publicNotificationDismissReturnsSchema = z.number();
|
|
3139
|
-
|
|
3140
|
-
export const publicNotificationGetPendingActionsArgsSchema = z.never();
|
|
3141
|
-
|
|
3142
|
-
export const publicNotificationGetPendingActionsReturnsSchema = z.array(
|
|
3143
|
-
z.object({
|
|
3144
|
-
action_completed_at: z.string(),
|
|
3145
|
-
action_payload: jsonSchema,
|
|
3146
|
-
action_type: z.string(),
|
|
3147
|
-
created_at: z.string(),
|
|
3148
|
-
dismissed_at: z.string(),
|
|
3149
|
-
expires_at: z.string(),
|
|
3150
|
-
id: z.string(),
|
|
3151
|
-
is_read: z.boolean(),
|
|
3152
|
-
message: z.string(),
|
|
3153
|
-
notification_type: z.string(),
|
|
3154
|
-
priority: z.string(),
|
|
3155
|
-
read_at: z.string(),
|
|
3156
|
-
source_id: z.string(),
|
|
3157
|
-
source_type: z.string(),
|
|
3158
|
-
title: z.string(),
|
|
3159
|
-
updated_at: z.string(),
|
|
3160
|
-
user_id: z.string(),
|
|
3161
|
-
}),
|
|
3162
|
-
);
|
|
3163
|
-
|
|
3164
|
-
export const publicNotificationListArgsSchema = z.object({
|
|
3165
|
-
p_action_type: z.string().optional(),
|
|
3166
|
-
p_cursor: z.string().optional(),
|
|
3167
|
-
p_include_dismissed: z.boolean().optional(),
|
|
3168
|
-
p_limit: z.number().optional(),
|
|
3169
|
-
p_source_type: z.string().optional(),
|
|
3170
|
-
p_unread_only: z.boolean().optional(),
|
|
3171
|
-
});
|
|
3172
|
-
|
|
3173
|
-
export const publicNotificationListReturnsSchema = z.array(
|
|
3174
|
-
z.object({
|
|
3175
|
-
action_completed_at: z.string(),
|
|
3176
|
-
action_payload: jsonSchema,
|
|
3177
|
-
action_type: z.string(),
|
|
3178
|
-
created_at: z.string(),
|
|
3179
|
-
dismissed_at: z.string(),
|
|
3180
|
-
expires_at: z.string(),
|
|
3181
|
-
id: z.string(),
|
|
3182
|
-
is_read: z.boolean(),
|
|
3183
|
-
message: z.string(),
|
|
3184
|
-
notification_type: z.string(),
|
|
3185
|
-
priority: z.string(),
|
|
3186
|
-
read_at: z.string(),
|
|
3187
|
-
source_id: z.string(),
|
|
3188
|
-
source_type: z.string(),
|
|
3189
|
-
title: z.string(),
|
|
3190
|
-
updated_at: z.string(),
|
|
3191
|
-
user_id: z.string(),
|
|
3192
|
-
}),
|
|
3193
|
-
);
|
|
3194
|
-
|
|
3195
|
-
export const publicNotificationMarkReadArgsSchema = z.object({
|
|
3196
|
-
p_id: z.string().optional(),
|
|
3197
|
-
p_mark_all: z.boolean().optional(),
|
|
3198
|
-
});
|
|
3199
|
-
|
|
3200
|
-
export const publicNotificationMarkReadReturnsSchema = z.number();
|
|
3201
|
-
|
|
3202
|
-
export const publicOpenclawAssignServerArgsSchema = z.object({
|
|
3203
|
-
p_openclaw_id: z.string(),
|
|
3204
|
-
p_user_id: z.string(),
|
|
3205
|
-
});
|
|
3206
|
-
|
|
3207
|
-
export const publicOpenclawAssignServerReturnsSchema = z.string();
|
|
3208
|
-
|
|
3209
|
-
export const publicOpenclawBuildConfigArgsSchema = z.object({
|
|
3210
|
-
p_openclaw_id: z.string(),
|
|
3211
|
-
p_override_config: jsonSchema.optional(),
|
|
3212
|
-
p_override_server_id: z.string().optional(),
|
|
3213
|
-
});
|
|
3214
|
-
|
|
3215
|
-
export const publicOpenclawBuildConfigReturnsSchema = jsonSchema;
|
|
3216
|
-
|
|
3217
|
-
export const publicOpenclawFailoverArgsSchema = z.object({
|
|
3218
|
-
p_server_id: z.string(),
|
|
3219
|
-
});
|
|
3220
|
-
|
|
3221
|
-
export const publicOpenclawFailoverReturnsSchema = z.undefined();
|
|
3222
|
-
|
|
3223
|
-
export const publicOpenclawMetadataApplyActionContractArgsSchema = z.object({
|
|
3224
|
-
p_action_status: z.string(),
|
|
3225
|
-
p_completed_at: z.string().optional(),
|
|
3226
|
-
p_debug_action: z.string(),
|
|
3227
|
-
p_delete_pending: z.boolean().optional(),
|
|
3228
|
-
p_message: z.string().optional(),
|
|
3229
|
-
p_metadata: jsonSchema,
|
|
3230
|
-
p_requested_at: z.string().optional(),
|
|
3231
|
-
p_user_action: z.string(),
|
|
3232
|
-
});
|
|
3233
|
-
|
|
3234
|
-
export const publicOpenclawMetadataApplyActionContractReturnsSchema =
|
|
3235
|
-
jsonSchema;
|
|
3236
|
-
|
|
3237
|
-
export const publicOpenclawReconcileDueArgsSchema = z.object({
|
|
3238
|
-
p_limit: z.number().optional(),
|
|
3239
|
-
});
|
|
3240
|
-
|
|
3241
|
-
export const publicOpenclawReconcileDueReturnsSchema = z.number();
|
|
3242
|
-
|
|
3243
|
-
export const publicOpenclawReconcileOneArgsSchema = z.object({
|
|
3244
|
-
p_openclaw_id: z.string(),
|
|
3245
|
-
});
|
|
3246
|
-
|
|
3247
|
-
export const publicOpenclawReconcileOneReturnsSchema = z.object({
|
|
3248
|
-
config: jsonSchema,
|
|
3249
|
-
created_at: z.string(),
|
|
3250
|
-
desired_status: publicOpenclawStatusSchema,
|
|
3251
|
-
id: z.string(),
|
|
3252
|
-
metadata: jsonSchema.nullable(),
|
|
3253
|
-
name: z.string().nullable(),
|
|
3254
|
-
resolved_config: jsonSchema,
|
|
3255
|
-
server_id: z.string().nullable(),
|
|
3256
|
-
state: jsonSchema.nullable(),
|
|
3257
|
-
status: publicOpenclawStatusSchema,
|
|
3258
|
-
status_reason: z.string().nullable(),
|
|
3259
|
-
updated_at: z.string(),
|
|
3260
|
-
user_id: z.string(),
|
|
3261
|
-
});
|
|
3262
|
-
|
|
3263
|
-
export const publicOpenclawRefreshResolvedConfigArgsSchema = z.object({
|
|
3264
|
-
p_openclaw_id: z.string(),
|
|
3265
|
-
p_override_config: jsonSchema.optional(),
|
|
3266
|
-
p_override_server_id: z.string().optional(),
|
|
3267
|
-
});
|
|
3268
|
-
|
|
3269
|
-
export const publicOpenclawRefreshResolvedConfigReturnsSchema = jsonSchema;
|
|
3270
|
-
|
|
3271
|
-
export const publicOpenclawsDeleteArgsSchema = z.object({
|
|
3272
|
-
p_id: z.string(),
|
|
3273
|
-
});
|
|
3274
|
-
|
|
3275
|
-
export const publicOpenclawsDeleteReturnsSchema = z.array(
|
|
3276
|
-
z.object({
|
|
3277
|
-
config: jsonSchema,
|
|
3278
|
-
created_at: z.string(),
|
|
3279
|
-
desired_status: publicOpenclawStatusSchema,
|
|
3280
|
-
id: z.string(),
|
|
3281
|
-
metadata: jsonSchema,
|
|
3282
|
-
name: z.string(),
|
|
3283
|
-
server_id: z.string(),
|
|
3284
|
-
state: jsonSchema,
|
|
3285
|
-
status: publicOpenclawStatusSchema,
|
|
3286
|
-
status_reason: z.string(),
|
|
3287
|
-
updated_at: z.string(),
|
|
3288
|
-
user_id: z.string(),
|
|
3289
|
-
}),
|
|
3290
|
-
);
|
|
3291
|
-
|
|
3292
|
-
export const publicOpenclawsGetArgsSchema = z.object({
|
|
3293
|
-
p_id: z.string(),
|
|
3294
|
-
});
|
|
3295
|
-
|
|
3296
|
-
export const publicOpenclawsGetReturnsSchema = z.array(
|
|
3297
|
-
z.object({
|
|
3298
|
-
config: jsonSchema,
|
|
3299
|
-
created_at: z.string(),
|
|
3300
|
-
desired_status: publicOpenclawStatusSchema,
|
|
3301
|
-
id: z.string(),
|
|
3302
|
-
metadata: jsonSchema,
|
|
3303
|
-
name: z.string(),
|
|
3304
|
-
server_id: z.string(),
|
|
3305
|
-
state: jsonSchema,
|
|
3306
|
-
status: publicOpenclawStatusSchema,
|
|
3307
|
-
status_reason: z.string(),
|
|
3308
|
-
updated_at: z.string(),
|
|
3309
|
-
user_id: z.string(),
|
|
3310
|
-
}),
|
|
3311
|
-
);
|
|
3312
|
-
|
|
3313
|
-
export const publicOpenclawsListCursorArgsSchema = z.object({
|
|
3314
|
-
p_cursor: z.string().optional(),
|
|
3315
|
-
p_limit: z.number().optional(),
|
|
3316
|
-
p_search: z.string().optional(),
|
|
3317
|
-
p_status: publicOpenclawStatusSchema.optional(),
|
|
3318
|
-
});
|
|
3319
|
-
|
|
3320
|
-
export const publicOpenclawsListCursorReturnsSchema = z.array(
|
|
3321
|
-
z.object({
|
|
3322
|
-
config: jsonSchema,
|
|
3323
|
-
created_at: z.string(),
|
|
3324
|
-
desired_status: publicOpenclawStatusSchema,
|
|
3325
|
-
id: z.string(),
|
|
3326
|
-
metadata: jsonSchema,
|
|
3327
|
-
name: z.string(),
|
|
3328
|
-
server_id: z.string(),
|
|
3329
|
-
state: jsonSchema,
|
|
3330
|
-
status: publicOpenclawStatusSchema,
|
|
3331
|
-
status_reason: z.string(),
|
|
3332
|
-
updated_at: z.string(),
|
|
3333
|
-
user_id: z.string(),
|
|
3334
|
-
}),
|
|
3335
|
-
);
|
|
3336
|
-
|
|
3337
|
-
export const publicOpenclawsRequestActionArgsSchema = z.object({
|
|
3338
|
-
p_action: z.string(),
|
|
3339
|
-
p_id: z.string(),
|
|
3340
|
-
});
|
|
3341
|
-
|
|
3342
|
-
export const publicOpenclawsRequestActionReturnsSchema = z.array(
|
|
3343
|
-
z.object({
|
|
3344
|
-
config: jsonSchema,
|
|
3345
|
-
created_at: z.string(),
|
|
3346
|
-
desired_status: publicOpenclawStatusSchema,
|
|
3347
|
-
id: z.string(),
|
|
3348
|
-
metadata: jsonSchema,
|
|
3349
|
-
name: z.string(),
|
|
3350
|
-
server_id: z.string(),
|
|
3351
|
-
state: jsonSchema,
|
|
3352
|
-
status: publicOpenclawStatusSchema,
|
|
3353
|
-
status_reason: z.string(),
|
|
3354
|
-
updated_at: z.string(),
|
|
3355
|
-
user_id: z.string(),
|
|
3356
|
-
}),
|
|
3357
|
-
);
|
|
3358
|
-
|
|
3359
|
-
export const publicOpenclawsUpsertArgsSchema = z.object({
|
|
3360
|
-
p_config: jsonSchema.optional(),
|
|
3361
|
-
p_id: z.string().optional(),
|
|
3362
|
-
p_metadata: jsonSchema.optional(),
|
|
3363
|
-
p_name: z.string().optional(),
|
|
3364
|
-
});
|
|
3365
|
-
|
|
3366
|
-
export const publicOpenclawsUpsertReturnsSchema = z.array(
|
|
3367
|
-
z.object({
|
|
3368
|
-
config: jsonSchema,
|
|
3369
|
-
created_at: z.string(),
|
|
3370
|
-
desired_status: publicOpenclawStatusSchema,
|
|
3371
|
-
id: z.string(),
|
|
3372
|
-
metadata: jsonSchema,
|
|
3373
|
-
name: z.string(),
|
|
3374
|
-
server_id: z.string(),
|
|
3375
|
-
state: jsonSchema,
|
|
3376
|
-
status: publicOpenclawStatusSchema,
|
|
3377
|
-
status_reason: z.string(),
|
|
3378
|
-
updated_at: z.string(),
|
|
3379
|
-
user_id: z.string(),
|
|
3380
|
-
}),
|
|
3381
|
-
);
|
|
3382
|
-
|
|
3383
|
-
export const publicOutreachProcessPendingTasksArgsSchema = z.object({
|
|
3384
|
-
p_campaign_id: z.string().optional(),
|
|
3385
|
-
p_limit: z.number().optional(),
|
|
3386
|
-
});
|
|
3387
|
-
|
|
3388
|
-
export const publicOutreachProcessPendingTasksReturnsSchema = z.number();
|
|
3389
|
-
|
|
3390
|
-
export const publicOutreachProcessPendingTasksSyncArgsSchema = z.object({
|
|
3391
|
-
p_campaign_id: z.string().optional(),
|
|
3392
|
-
p_limit: z.number().optional(),
|
|
3393
|
-
});
|
|
3394
|
-
|
|
3395
|
-
export const publicOutreachProcessPendingTasksSyncReturnsSchema = z.number();
|
|
3396
|
-
|
|
3397
|
-
export const publicOutreachRetryFailedTasksArgsSchema = z.object({
|
|
3398
|
-
p_campaign_id: z.string().optional(),
|
|
3399
|
-
});
|
|
3400
|
-
|
|
3401
|
-
export const publicOutreachRetryFailedTasksReturnsSchema = z.number();
|
|
3402
|
-
|
|
3403
|
-
export const publicOutreachTaskListArgsSchema = z.object({
|
|
3404
|
-
p_campaign_id: z.string().optional(),
|
|
3405
|
-
p_limit: z.number().optional(),
|
|
3406
|
-
p_offset: z.number().optional(),
|
|
3407
|
-
p_status: z.string().optional(),
|
|
3408
|
-
});
|
|
3409
|
-
|
|
3410
|
-
export const publicOutreachTaskListReturnsSchema = z.array(
|
|
3411
|
-
z.object({
|
|
3412
|
-
campaign_id: z.string(),
|
|
3413
|
-
cloud_account_id: z.string(),
|
|
3414
|
-
contact_id: z.string(),
|
|
3415
|
-
created_at: z.string(),
|
|
3416
|
-
error_message: z.string(),
|
|
3417
|
-
executed_at: z.string(),
|
|
3418
|
-
id: z.string(),
|
|
3419
|
-
metadata: jsonSchema,
|
|
3420
|
-
priority: z.number(),
|
|
3421
|
-
retry_count: z.number(),
|
|
3422
|
-
scheduled_at: z.string(),
|
|
3423
|
-
status: z.string(),
|
|
3424
|
-
updated_at: z.string(),
|
|
3425
|
-
user_id: z.string(),
|
|
3426
|
-
}),
|
|
3427
|
-
);
|
|
3428
|
-
|
|
3429
|
-
export const publicProxyDeleteArgsSchema = z.object({
|
|
3430
|
-
p_id: z.string(),
|
|
3431
|
-
});
|
|
3432
|
-
|
|
3433
|
-
export const publicProxyDeleteReturnsSchema = z.boolean();
|
|
3434
|
-
|
|
3435
|
-
export const publicProxyGetArgsSchema = z.object({
|
|
3436
|
-
p_id: z.string(),
|
|
3437
|
-
});
|
|
3438
|
-
|
|
3439
|
-
export const publicProxyGetReturnsSchema = z.array(
|
|
3440
|
-
z.object({
|
|
3441
|
-
created_at: z.string(),
|
|
3442
|
-
description: z.string(),
|
|
3443
|
-
enabled: z.boolean(),
|
|
3444
|
-
id: z.string(),
|
|
3445
|
-
name: z.string(),
|
|
3446
|
-
type: z.string(),
|
|
3447
|
-
updated_at: z.string(),
|
|
3448
|
-
url: z.string(),
|
|
3449
|
-
user_id: z.string(),
|
|
3450
|
-
}),
|
|
3451
|
-
);
|
|
3452
|
-
|
|
3453
|
-
export const publicProxyListArgsSchema = z.object({
|
|
3454
|
-
p_kw: z.string().optional(),
|
|
3455
|
-
p_page_no: z.number().optional(),
|
|
3456
|
-
p_page_size: z.number().optional(),
|
|
3457
|
-
});
|
|
3458
|
-
|
|
3459
|
-
export const publicProxyListReturnsSchema = z.array(
|
|
3460
|
-
z.object({
|
|
3461
|
-
created_at: z.string(),
|
|
3462
|
-
description: z.string(),
|
|
3463
|
-
enabled: z.boolean(),
|
|
3464
|
-
id: z.string(),
|
|
3465
|
-
name: z.string(),
|
|
3466
|
-
type: z.string(),
|
|
3467
|
-
updated_at: z.string(),
|
|
3468
|
-
url: z.string(),
|
|
3469
|
-
user_id: z.string(),
|
|
3470
|
-
}),
|
|
3471
|
-
);
|
|
3472
|
-
|
|
3473
|
-
export const publicProxyUpsertArgsSchema = z.object({
|
|
3474
|
-
p_description: z.string().optional(),
|
|
3475
|
-
p_enabled: z.boolean().optional(),
|
|
3476
|
-
p_id: z.string(),
|
|
3477
|
-
p_name: z.string(),
|
|
3478
|
-
p_type: z.string(),
|
|
3479
|
-
p_url: z.string(),
|
|
3480
|
-
});
|
|
3481
|
-
|
|
3482
|
-
export const publicProxyUpsertReturnsSchema = z.array(
|
|
3483
|
-
z.object({
|
|
3484
|
-
created_at: z.string(),
|
|
3485
|
-
description: z.string(),
|
|
3486
|
-
enabled: z.boolean(),
|
|
3487
|
-
id: z.string(),
|
|
3488
|
-
name: z.string(),
|
|
3489
|
-
type: z.string(),
|
|
3490
|
-
updated_at: z.string(),
|
|
3491
|
-
url: z.string(),
|
|
3492
|
-
user_id: z.string(),
|
|
3493
|
-
}),
|
|
3494
|
-
);
|
|
3495
|
-
|
|
3496
|
-
export const publicResourceDeleteArgsSchema = z.object({
|
|
3497
|
-
p_resource_id: z.string(),
|
|
3498
|
-
});
|
|
3499
|
-
|
|
3500
|
-
export const publicResourceDeleteReturnsSchema = z.undefined();
|
|
3501
|
-
|
|
3502
|
-
export const publicResourceGetArgsSchema = z.object({
|
|
3503
|
-
p_resource_id: z.string(),
|
|
3504
|
-
});
|
|
3505
|
-
|
|
3506
|
-
export const publicResourceGetReturnsSchema = jsonSchema;
|
|
3507
|
-
|
|
3508
|
-
export const publicResourceListArgsSchema = z.object({
|
|
3509
|
-
p_kw: z.string().optional(),
|
|
3510
|
-
p_page_num: z.number().optional(),
|
|
3511
|
-
p_page_size: z.number().optional(),
|
|
3512
|
-
p_slug: z.string().optional(),
|
|
3513
|
-
p_type: z.string().optional(),
|
|
3514
|
-
});
|
|
3515
|
-
|
|
3516
|
-
export const publicResourceListReturnsSchema = z.array(
|
|
3517
|
-
z.object({
|
|
3518
|
-
description: z.string(),
|
|
3519
|
-
icon: z.string(),
|
|
3520
|
-
id: z.string(),
|
|
3521
|
-
target_id: z.string(),
|
|
3522
|
-
title: z.string(),
|
|
3523
|
-
type: z.string(),
|
|
3524
|
-
updated_at: z.string(),
|
|
3525
|
-
url: z.string(),
|
|
3526
|
-
}),
|
|
3527
|
-
);
|
|
3528
|
-
|
|
3529
|
-
export const publicResourceUpsertArgsSchema = z.object({
|
|
3530
|
-
p_content: jsonSchema.optional(),
|
|
3531
|
-
p_description: z.string().optional(),
|
|
3532
|
-
p_id: z.string().optional(),
|
|
3533
|
-
p_key: z.string().optional(),
|
|
3534
|
-
p_target_id: z.string().optional(),
|
|
3535
|
-
p_title: z.string().optional(),
|
|
3536
|
-
p_type: z.string().optional(),
|
|
3537
|
-
});
|
|
3538
|
-
|
|
3539
|
-
export const publicResourceUpsertReturnsSchema = z.array(
|
|
3540
|
-
z.object({
|
|
3541
|
-
created_at: z.string(),
|
|
3542
|
-
data: jsonSchema.nullable(),
|
|
3543
|
-
description: z.string().nullable(),
|
|
3544
|
-
hash1: z.string().nullable(),
|
|
3545
|
-
icon: z.string().nullable(),
|
|
3546
|
-
id: z.string(),
|
|
3547
|
-
is_public: z.boolean().nullable(),
|
|
3548
|
-
meta: jsonSchema.nullable(),
|
|
3549
|
-
target_id: z.string().nullable(),
|
|
3550
|
-
title: z.string().nullable(),
|
|
3551
|
-
type: z.string().nullable(),
|
|
3552
|
-
updated_at: z.string().nullable(),
|
|
3553
|
-
user_id: z.string().nullable(),
|
|
3554
|
-
}),
|
|
3555
|
-
);
|
|
3556
|
-
|
|
3557
|
-
export const publicSandboxFindActiveArgsSchema = z.never();
|
|
3558
|
-
|
|
3559
|
-
export const publicSandboxFindActiveReturnsSchema = jsonSchema;
|
|
3560
|
-
|
|
3561
|
-
export const publicScriptExecArgsSchema = z.object({
|
|
3562
|
-
p_options: jsonSchema.optional(),
|
|
3563
|
-
p_script: jsonSchema,
|
|
3564
|
-
p_server_id: z.string(),
|
|
3565
|
-
});
|
|
3566
|
-
|
|
3567
|
-
export const publicScriptExecReturnsSchema = jsonSchema;
|
|
3568
|
-
|
|
3569
|
-
export const publicScriptGetContentArgsSchema = z.object({
|
|
3570
|
-
p_file_path: z.string(),
|
|
3571
|
-
p_git_ref: z.string().optional(),
|
|
3572
|
-
});
|
|
3573
|
-
|
|
3574
|
-
export const publicScriptGetContentReturnsSchema = z.string();
|
|
3575
|
-
|
|
3576
|
-
export const publicServerBootstrapScriptGetArgsSchema = z.object({
|
|
3577
|
-
p_callback_token: z.string(),
|
|
3578
|
-
p_server_id: z.string(),
|
|
3579
|
-
});
|
|
3580
|
-
|
|
3581
|
-
export const publicServerBootstrapScriptGetReturnsSchema = z.string();
|
|
3582
|
-
|
|
3583
|
-
export const publicServerDeleteArgsSchema = z.object({
|
|
3584
|
-
p_id: z.string(),
|
|
3585
|
-
p_shutdown_gracefully: z.boolean().optional(),
|
|
3586
|
-
});
|
|
3587
|
-
|
|
3588
|
-
export const publicServerDeleteReturnsSchema = jsonSchema;
|
|
3589
|
-
|
|
3590
|
-
export const publicServerGetArgsSchema = z.object({
|
|
3591
|
-
p_server_id: z.string().optional(),
|
|
3592
|
-
});
|
|
3593
|
-
|
|
3594
|
-
export const publicServerGetReturnsSchema = z.array(
|
|
3595
|
-
z.object({
|
|
3596
|
-
config: jsonSchema,
|
|
3597
|
-
created_at: z.string(),
|
|
3598
|
-
id: z.string(),
|
|
3599
|
-
state: jsonSchema,
|
|
3600
|
-
updated_at: z.string(),
|
|
3601
|
-
}),
|
|
3602
|
-
);
|
|
3603
|
-
|
|
3604
|
-
export const publicServerLifecycleContextGetArgsSchema = z.object({
|
|
3605
|
-
p_action: z.string().optional(),
|
|
3606
|
-
p_id: z.string(),
|
|
3607
|
-
});
|
|
3608
|
-
|
|
3609
|
-
export const publicServerLifecycleContextGetReturnsSchema = jsonSchema;
|
|
3610
|
-
|
|
3611
|
-
export const publicServerLifecycleResultReportArgsSchema = z.object({
|
|
3612
|
-
p_action: z.string(),
|
|
3613
|
-
p_id: z.string(),
|
|
3614
|
-
p_result: jsonSchema,
|
|
3615
|
-
});
|
|
3616
|
-
|
|
3617
|
-
export const publicServerLifecycleResultReportReturnsSchema = jsonSchema;
|
|
3618
|
-
|
|
3619
|
-
export const publicServerListCursorArgsSchema = z.object({
|
|
3620
|
-
p_cursor_id: z.string().optional(),
|
|
3621
|
-
p_cursor_updated_at: z.string().optional(),
|
|
3622
|
-
p_limit: z.number().optional(),
|
|
3623
|
-
p_search: z.string().optional(),
|
|
3624
|
-
});
|
|
3625
|
-
|
|
3626
|
-
export const publicServerListCursorReturnsSchema = z.array(
|
|
3627
|
-
z.object({
|
|
3628
|
-
config: jsonSchema.nullable(),
|
|
3629
|
-
created_at: z.string(),
|
|
3630
|
-
id: z.string(),
|
|
3631
|
-
state: jsonSchema.nullable(),
|
|
3632
|
-
updated_at: z.string(),
|
|
3633
|
-
}),
|
|
3634
|
-
);
|
|
3635
|
-
|
|
3636
|
-
export const publicServerMarkOfflineArgsSchema = z.object({
|
|
3637
|
-
p_reason: z.string().optional(),
|
|
3638
|
-
p_server_id: z.string(),
|
|
3639
|
-
p_source: z.string().optional(),
|
|
3640
|
-
});
|
|
3641
|
-
|
|
3642
|
-
export const publicServerMarkOfflineReturnsSchema = jsonSchema;
|
|
3643
|
-
|
|
3644
|
-
export const publicServerPeerBootstrapScriptGetArgsSchema = z.object({
|
|
3645
|
-
p_compute_node_id: z.string(),
|
|
3646
|
-
p_server_id: z.string(),
|
|
3647
|
-
});
|
|
3648
|
-
|
|
3649
|
-
export const publicServerPeerBootstrapScriptGetReturnsSchema = z.string();
|
|
3650
|
-
|
|
3651
|
-
export const publicServerStatusApplyCallbackArgsSchema = z.object({
|
|
3652
|
-
p_callback_token: z.string(),
|
|
3653
|
-
p_payload: jsonSchema,
|
|
3654
|
-
p_server_id: z.string(),
|
|
3655
|
-
});
|
|
3656
|
-
|
|
3657
|
-
export const publicServerStatusApplyCallbackReturnsSchema = jsonSchema;
|
|
3658
|
-
|
|
3659
|
-
export const publicServerStatusMergeArgsSchema = z.object({
|
|
3660
|
-
p_current_state: jsonSchema,
|
|
3661
|
-
p_fact: jsonSchema,
|
|
3662
|
-
});
|
|
3663
|
-
|
|
3664
|
-
export const publicServerStatusMergeReturnsSchema = jsonSchema;
|
|
3665
|
-
|
|
3666
|
-
export const publicServerStatusReconcileArgsSchema = z.object({
|
|
3667
|
-
p_server_id: z.string(),
|
|
3668
|
-
});
|
|
3669
|
-
|
|
3670
|
-
export const publicServerStatusReconcileReturnsSchema = jsonSchema;
|
|
3671
|
-
|
|
3672
|
-
export const publicServerStatusReconcileDueArgsSchema = z.object({
|
|
3673
|
-
p_limit: z.number().optional(),
|
|
3674
|
-
});
|
|
3675
|
-
|
|
3676
|
-
export const publicServerStatusReconcileDueReturnsSchema = z.number();
|
|
3677
|
-
|
|
3678
|
-
export const publicServerTunnelDeleteArgsSchema = z.object({
|
|
3679
|
-
p_tunnel_id: z.string(),
|
|
3680
|
-
});
|
|
3681
|
-
|
|
3682
|
-
export const publicServerTunnelDeleteReturnsSchema = jsonSchema;
|
|
3683
|
-
|
|
3684
|
-
export const publicServerTunnelSyncArgsSchema = z.object({
|
|
3685
|
-
p_server_id: z.string(),
|
|
3686
|
-
});
|
|
3687
|
-
|
|
3688
|
-
export const publicServerTunnelSyncReturnsSchema = z.undefined();
|
|
3689
|
-
|
|
3690
|
-
export const publicServerUpsertArgsSchema = z.object({
|
|
3691
|
-
p_compute_node_id: z.string().optional(),
|
|
3692
|
-
p_config: jsonSchema.optional(),
|
|
3693
|
-
p_id: z.string().optional(),
|
|
3694
|
-
p_state: jsonSchema.optional(),
|
|
3695
|
-
});
|
|
3696
|
-
|
|
3697
|
-
export const publicServerUpsertReturnsSchema = z.array(
|
|
3698
|
-
z.object({
|
|
3699
|
-
config: jsonSchema,
|
|
3700
|
-
created_at: z.string(),
|
|
3701
|
-
id: z.string(),
|
|
3702
|
-
state: jsonSchema,
|
|
3703
|
-
updated_at: z.string(),
|
|
3704
|
-
}),
|
|
3705
|
-
);
|
|
3706
|
-
|
|
3707
|
-
export const publicSysConfigGetArgsSchema = z.object({
|
|
3708
|
-
p_key: z.string(),
|
|
3709
|
-
});
|
|
3710
|
-
|
|
3711
|
-
export const publicSysConfigGetReturnsSchema = jsonSchema;
|
|
3712
|
-
|
|
3713
|
-
export const publicSysConfigSetArgsSchema = z.object({
|
|
3714
|
-
p_description: z.string().optional(),
|
|
3715
|
-
p_key: z.string(),
|
|
3716
|
-
p_value: jsonSchema,
|
|
3717
|
-
});
|
|
3718
|
-
|
|
3719
|
-
export const publicSysConfigSetReturnsSchema = z.undefined();
|
|
3720
|
-
|
|
3721
|
-
export const publicSysEventLogArgsSchema = z.object({
|
|
3722
|
-
p_content: z.string(),
|
|
3723
|
-
p_event_type: z.string(),
|
|
3724
|
-
p_level: z.string().optional(),
|
|
3725
|
-
p_meta: jsonSchema.optional(),
|
|
3726
|
-
p_module: z.string().optional(),
|
|
3727
|
-
p_notify_admins: z.boolean().optional(),
|
|
3728
|
-
p_resource_id: z.string().optional(),
|
|
3729
|
-
p_resource_type: z.string().optional(),
|
|
3730
|
-
});
|
|
3731
|
-
|
|
3732
|
-
export const publicSysEventLogReturnsSchema = z.string();
|
|
3733
|
-
|
|
3734
|
-
export const publicSysLogValidateMetaArgsSchema = z.object({
|
|
3735
|
-
p_event_type: z.string(),
|
|
3736
|
-
p_meta: jsonSchema,
|
|
3737
|
-
});
|
|
3738
|
-
|
|
3739
|
-
export const publicSysLogValidateMetaReturnsSchema = z.boolean();
|
|
3740
|
-
|
|
3741
|
-
export const publicSysLogsCleanupArgsSchema = z.object({
|
|
3742
|
-
p_retention_days: z.number().optional(),
|
|
3743
|
-
});
|
|
3744
|
-
|
|
3745
|
-
export const publicSysLogsCleanupReturnsSchema = z.undefined();
|
|
3746
|
-
|
|
3747
|
-
export const publicSystemCleanupArgsSchema = z.object({
|
|
3748
|
-
p_dry_run: z.boolean().optional(),
|
|
3749
|
-
p_policy_name: z.string().optional(),
|
|
3750
|
-
});
|
|
3751
|
-
|
|
3752
|
-
export const publicSystemCleanupReturnsSchema = jsonSchema;
|
|
3753
|
-
|
|
3754
|
-
export const publicSystemConfigPublicDeleteArgsSchema = z.object({
|
|
3755
|
-
p_key: z.string(),
|
|
3756
|
-
});
|
|
3757
|
-
|
|
3758
|
-
export const publicSystemConfigPublicDeleteReturnsSchema = z.undefined();
|
|
3759
|
-
|
|
3760
|
-
export const publicSystemConfigPublicGetArgsSchema = z.object({
|
|
3761
|
-
p_key: z.string(),
|
|
3762
|
-
});
|
|
3763
|
-
|
|
3764
|
-
export const publicSystemConfigPublicGetReturnsSchema = jsonSchema;
|
|
3765
|
-
|
|
3766
|
-
export const publicSystemConfigPublicListArgsSchema = z.never();
|
|
3767
|
-
|
|
3768
|
-
export const publicSystemConfigPublicListReturnsSchema = z.array(
|
|
3769
|
-
z.object({
|
|
3770
|
-
created_at: z.string().nullable(),
|
|
3771
|
-
description: z.string().nullable(),
|
|
3772
|
-
key: z.string(),
|
|
3773
|
-
updated_at: z.string().nullable(),
|
|
3774
|
-
value: jsonSchema,
|
|
3775
|
-
}),
|
|
3776
|
-
);
|
|
3777
|
-
|
|
3778
|
-
export const publicSystemConfigPublicSetArgsSchema = z.object({
|
|
3779
|
-
p_key: z.string(),
|
|
3780
|
-
p_value: jsonSchema,
|
|
3781
|
-
});
|
|
3782
|
-
|
|
3783
|
-
export const publicSystemConfigPublicSetReturnsSchema = z.undefined();
|
|
3784
|
-
|
|
3785
|
-
export const publicTagDeleteArgsSchema = z.object({
|
|
3786
|
-
p_id: z.string(),
|
|
3787
|
-
});
|
|
3788
|
-
|
|
3789
|
-
export const publicTagDeleteReturnsSchema = z.boolean();
|
|
3790
|
-
|
|
3791
|
-
export const publicTagListArgsSchema = z.never();
|
|
3792
|
-
|
|
3793
|
-
export const publicTagListReturnsSchema = z.array(
|
|
3794
|
-
z.object({
|
|
3795
|
-
color: z.string(),
|
|
3796
|
-
created_at: z.string(),
|
|
3797
|
-
id: z.string(),
|
|
3798
|
-
instance_count: z.number(),
|
|
3799
|
-
name: z.string(),
|
|
3800
|
-
updated_at: z.string(),
|
|
3801
|
-
user_id: z.string(),
|
|
3802
|
-
}),
|
|
3803
|
-
);
|
|
3804
|
-
|
|
3805
|
-
export const publicTagUpsertArgsSchema = z.object({
|
|
3806
|
-
p_color: z.string().optional(),
|
|
3807
|
-
p_id: z.string().optional(),
|
|
3808
|
-
p_name: z.string().optional(),
|
|
3809
|
-
});
|
|
3810
|
-
|
|
3811
|
-
export const publicTagUpsertReturnsSchema = z.array(
|
|
3812
|
-
z.object({
|
|
3813
|
-
color: z.string(),
|
|
3814
|
-
created_at: z.string(),
|
|
3815
|
-
id: z.string(),
|
|
3816
|
-
instance_count: z.number(),
|
|
3817
|
-
name: z.string(),
|
|
3818
|
-
updated_at: z.string(),
|
|
3819
|
-
user_id: z.string(),
|
|
3820
|
-
}),
|
|
3821
|
-
);
|
|
3822
|
-
|
|
3823
|
-
export const publicTaskAckArgsSchema = z.object({
|
|
3824
|
-
p_msg_id: z.number(),
|
|
3825
|
-
});
|
|
3826
|
-
|
|
3827
|
-
export const publicTaskAckReturnsSchema = z.undefined();
|
|
3828
|
-
|
|
3829
|
-
export const publicTaskAttemptDispatchArgsSchema = z.object({
|
|
3830
|
-
p_task: publicTasksRowSchema,
|
|
3831
|
-
});
|
|
3832
|
-
|
|
3833
|
-
export const publicTaskAttemptDispatchReturnsSchema = z.object({
|
|
3834
|
-
code: z.string().nullable(),
|
|
3835
|
-
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
3836
|
-
completed_at: z.string().nullable(),
|
|
3837
|
-
context_id: z.string().nullable(),
|
|
3838
|
-
context_type: z.string().nullable(),
|
|
3839
|
-
created_at: z.string(),
|
|
3840
|
-
description: z.string().nullable(),
|
|
3841
|
-
error: z.string().nullable(),
|
|
3842
|
-
executor_id: z.string().nullable(),
|
|
3843
|
-
executor_type: z.string().nullable(),
|
|
3844
|
-
id: z.string(),
|
|
3845
|
-
max_retries: z.number(),
|
|
3846
|
-
meta: jsonSchema,
|
|
3847
|
-
parent_id: z.string().nullable(),
|
|
3848
|
-
priority: z.number(),
|
|
3849
|
-
result: jsonSchema.nullable(),
|
|
3850
|
-
result_text: z.string().nullable(),
|
|
3851
|
-
retry_count: z.number(),
|
|
3852
|
-
scheduled_at: z.string().nullable(),
|
|
3853
|
-
started_at: z.string().nullable(),
|
|
3854
|
-
status: publicTaskStatusSchema,
|
|
3855
|
-
tags: z.array(z.string()),
|
|
3856
|
-
title: z.string(),
|
|
3857
|
-
updated_at: z.string(),
|
|
3858
|
-
user_id: z.string(),
|
|
3859
|
-
});
|
|
3860
|
-
|
|
3861
|
-
export const publicTaskCancelArgsSchema = z.object({
|
|
3862
|
-
p_id: z.string(),
|
|
3863
|
-
});
|
|
3864
|
-
|
|
3865
|
-
export const publicTaskCancelReturnsSchema = z.array(
|
|
3866
|
-
z.object({
|
|
3867
|
-
code: z.string().nullable(),
|
|
3868
|
-
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
3869
|
-
completed_at: z.string().nullable(),
|
|
3870
|
-
context_id: z.string().nullable(),
|
|
3871
|
-
context_type: z.string().nullable(),
|
|
3872
|
-
created_at: z.string(),
|
|
3873
|
-
description: z.string().nullable(),
|
|
3874
|
-
error: z.string().nullable(),
|
|
3875
|
-
executor_id: z.string().nullable(),
|
|
3876
|
-
executor_type: z.string().nullable(),
|
|
3877
|
-
id: z.string(),
|
|
3878
|
-
max_retries: z.number(),
|
|
3879
|
-
meta: jsonSchema,
|
|
3880
|
-
parent_id: z.string().nullable(),
|
|
3881
|
-
priority: z.number(),
|
|
3882
|
-
result: jsonSchema.nullable(),
|
|
3883
|
-
result_text: z.string().nullable(),
|
|
3884
|
-
retry_count: z.number(),
|
|
3885
|
-
scheduled_at: z.string().nullable(),
|
|
3886
|
-
started_at: z.string().nullable(),
|
|
3887
|
-
status: publicTaskStatusSchema,
|
|
3888
|
-
tags: z.array(z.string()),
|
|
3889
|
-
title: z.string(),
|
|
3890
|
-
updated_at: z.string(),
|
|
3891
|
-
user_id: z.string(),
|
|
3892
|
-
}),
|
|
3893
|
-
);
|
|
3894
|
-
|
|
3895
|
-
export const publicTaskCompleteArgsSchema = z.object({
|
|
3896
|
-
p_error: z.string().optional(),
|
|
3897
|
-
p_id: z.string(),
|
|
3898
|
-
p_result: jsonSchema.optional(),
|
|
3899
|
-
p_result_text: z.string().optional(),
|
|
3900
|
-
p_success: z.boolean(),
|
|
3901
|
-
});
|
|
3902
|
-
|
|
3903
|
-
export const publicTaskCompleteReturnsSchema = z.array(
|
|
3904
|
-
z.object({
|
|
3905
|
-
code: z.string().nullable(),
|
|
3906
|
-
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
3907
|
-
completed_at: z.string().nullable(),
|
|
3908
|
-
context_id: z.string().nullable(),
|
|
3909
|
-
context_type: z.string().nullable(),
|
|
3910
|
-
created_at: z.string(),
|
|
3911
|
-
description: z.string().nullable(),
|
|
3912
|
-
error: z.string().nullable(),
|
|
3913
|
-
executor_id: z.string().nullable(),
|
|
3914
|
-
executor_type: z.string().nullable(),
|
|
3915
|
-
id: z.string(),
|
|
3916
|
-
max_retries: z.number(),
|
|
3917
|
-
meta: jsonSchema,
|
|
3918
|
-
parent_id: z.string().nullable(),
|
|
3919
|
-
priority: z.number(),
|
|
3920
|
-
result: jsonSchema.nullable(),
|
|
3921
|
-
result_text: z.string().nullable(),
|
|
3922
|
-
retry_count: z.number(),
|
|
3923
|
-
scheduled_at: z.string().nullable(),
|
|
3924
|
-
started_at: z.string().nullable(),
|
|
3925
|
-
status: publicTaskStatusSchema,
|
|
3926
|
-
tags: z.array(z.string()),
|
|
3927
|
-
title: z.string(),
|
|
3928
|
-
updated_at: z.string(),
|
|
3929
|
-
user_id: z.string(),
|
|
3930
|
-
}),
|
|
3931
|
-
);
|
|
3932
|
-
|
|
3933
|
-
export const publicTaskDeriveArgsSchema = z.object({
|
|
3934
|
-
p_code: z.string(),
|
|
3935
|
-
p_code_type: publicTaskCodeTypeSchema,
|
|
3936
|
-
p_description: z.string().optional(),
|
|
3937
|
-
p_meta: jsonSchema.optional(),
|
|
3938
|
-
p_parent_id: z.string(),
|
|
3939
|
-
p_title: z.string(),
|
|
3940
|
-
});
|
|
3941
|
-
|
|
3942
|
-
export const publicTaskDeriveReturnsSchema = z.array(
|
|
3943
|
-
z.object({
|
|
3944
|
-
code: z.string().nullable(),
|
|
3945
|
-
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
3946
|
-
completed_at: z.string().nullable(),
|
|
3947
|
-
context_id: z.string().nullable(),
|
|
3948
|
-
context_type: z.string().nullable(),
|
|
3949
|
-
created_at: z.string(),
|
|
3950
|
-
description: z.string().nullable(),
|
|
3951
|
-
error: z.string().nullable(),
|
|
3952
|
-
executor_id: z.string().nullable(),
|
|
3953
|
-
executor_type: z.string().nullable(),
|
|
3954
|
-
id: z.string(),
|
|
3955
|
-
max_retries: z.number(),
|
|
3956
|
-
meta: jsonSchema,
|
|
3957
|
-
parent_id: z.string().nullable(),
|
|
3958
|
-
priority: z.number(),
|
|
3959
|
-
result: jsonSchema.nullable(),
|
|
3960
|
-
result_text: z.string().nullable(),
|
|
3961
|
-
retry_count: z.number(),
|
|
3962
|
-
scheduled_at: z.string().nullable(),
|
|
3963
|
-
started_at: z.string().nullable(),
|
|
3964
|
-
status: publicTaskStatusSchema,
|
|
3965
|
-
tags: z.array(z.string()),
|
|
3966
|
-
title: z.string(),
|
|
3967
|
-
updated_at: z.string(),
|
|
3968
|
-
user_id: z.string(),
|
|
3969
|
-
}),
|
|
3970
|
-
);
|
|
3971
|
-
|
|
3972
|
-
export const publicTaskGetArgsSchema = z.object({
|
|
3973
|
-
p_id: z.string(),
|
|
3974
|
-
});
|
|
3975
|
-
|
|
3976
|
-
export const publicTaskGetReturnsSchema = z.array(
|
|
3977
|
-
z.object({
|
|
3978
|
-
code: z.string().nullable(),
|
|
3979
|
-
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
3980
|
-
completed_at: z.string().nullable(),
|
|
3981
|
-
context_id: z.string().nullable(),
|
|
3982
|
-
context_type: z.string().nullable(),
|
|
3983
|
-
created_at: z.string(),
|
|
3984
|
-
description: z.string().nullable(),
|
|
3985
|
-
error: z.string().nullable(),
|
|
3986
|
-
executor_id: z.string().nullable(),
|
|
3987
|
-
executor_type: z.string().nullable(),
|
|
3988
|
-
id: z.string(),
|
|
3989
|
-
max_retries: z.number(),
|
|
3990
|
-
meta: jsonSchema,
|
|
3991
|
-
parent_id: z.string().nullable(),
|
|
3992
|
-
priority: z.number(),
|
|
3993
|
-
result: jsonSchema.nullable(),
|
|
3994
|
-
result_text: z.string().nullable(),
|
|
3995
|
-
retry_count: z.number(),
|
|
3996
|
-
scheduled_at: z.string().nullable(),
|
|
3997
|
-
started_at: z.string().nullable(),
|
|
3998
|
-
status: publicTaskStatusSchema,
|
|
3999
|
-
tags: z.array(z.string()),
|
|
4000
|
-
title: z.string(),
|
|
4001
|
-
updated_at: z.string(),
|
|
4002
|
-
user_id: z.string(),
|
|
4003
|
-
}),
|
|
4004
|
-
);
|
|
4005
|
-
|
|
4006
|
-
export const publicTaskListCursorArgsSchema = z.object({
|
|
4007
|
-
p_code_type: publicTaskCodeTypeSchema.optional(),
|
|
4008
|
-
p_context_id: z.string().optional(),
|
|
4009
|
-
p_context_type: z.string().optional(),
|
|
4010
|
-
p_cursor: z.string().optional(),
|
|
4011
|
-
p_limit: z.number().optional(),
|
|
4012
|
-
p_parent_id: z.string().optional(),
|
|
4013
|
-
p_status: publicTaskStatusSchema.optional(),
|
|
4014
|
-
p_tag: z.string().optional(),
|
|
4015
|
-
});
|
|
4016
|
-
|
|
4017
|
-
export const publicTaskListCursorReturnsSchema = z.array(
|
|
4018
|
-
z.object({
|
|
4019
|
-
code: z.string().nullable(),
|
|
4020
|
-
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
4021
|
-
completed_at: z.string().nullable(),
|
|
4022
|
-
context_id: z.string().nullable(),
|
|
4023
|
-
context_type: z.string().nullable(),
|
|
4024
|
-
created_at: z.string(),
|
|
4025
|
-
description: z.string().nullable(),
|
|
4026
|
-
error: z.string().nullable(),
|
|
4027
|
-
executor_id: z.string().nullable(),
|
|
4028
|
-
executor_type: z.string().nullable(),
|
|
4029
|
-
id: z.string(),
|
|
4030
|
-
max_retries: z.number(),
|
|
4031
|
-
meta: jsonSchema,
|
|
4032
|
-
parent_id: z.string().nullable(),
|
|
4033
|
-
priority: z.number(),
|
|
4034
|
-
result: jsonSchema.nullable(),
|
|
4035
|
-
result_text: z.string().nullable(),
|
|
4036
|
-
retry_count: z.number(),
|
|
4037
|
-
scheduled_at: z.string().nullable(),
|
|
4038
|
-
started_at: z.string().nullable(),
|
|
4039
|
-
status: publicTaskStatusSchema,
|
|
4040
|
-
tags: z.array(z.string()),
|
|
4041
|
-
title: z.string(),
|
|
4042
|
-
updated_at: z.string(),
|
|
4043
|
-
user_id: z.string(),
|
|
4044
|
-
}),
|
|
4045
|
-
);
|
|
4046
|
-
|
|
4047
|
-
export const publicTaskScheduleNextArgsSchema = z.never();
|
|
4048
|
-
|
|
4049
|
-
export const publicTaskScheduleNextReturnsSchema = z.undefined();
|
|
4050
|
-
|
|
4051
|
-
export const publicTaskSubmitArgsSchema = z.object({
|
|
4052
|
-
p_id: z.string(),
|
|
4053
|
-
});
|
|
4054
|
-
|
|
4055
|
-
export const publicTaskSubmitReturnsSchema = z.array(
|
|
4056
|
-
z.object({
|
|
4057
|
-
code: z.string().nullable(),
|
|
4058
|
-
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
4059
|
-
completed_at: z.string().nullable(),
|
|
4060
|
-
context_id: z.string().nullable(),
|
|
4061
|
-
context_type: z.string().nullable(),
|
|
4062
|
-
created_at: z.string(),
|
|
4063
|
-
description: z.string().nullable(),
|
|
4064
|
-
error: z.string().nullable(),
|
|
4065
|
-
executor_id: z.string().nullable(),
|
|
4066
|
-
executor_type: z.string().nullable(),
|
|
4067
|
-
id: z.string(),
|
|
4068
|
-
max_retries: z.number(),
|
|
4069
|
-
meta: jsonSchema,
|
|
4070
|
-
parent_id: z.string().nullable(),
|
|
4071
|
-
priority: z.number(),
|
|
4072
|
-
result: jsonSchema.nullable(),
|
|
4073
|
-
result_text: z.string().nullable(),
|
|
4074
|
-
retry_count: z.number(),
|
|
4075
|
-
scheduled_at: z.string().nullable(),
|
|
4076
|
-
started_at: z.string().nullable(),
|
|
4077
|
-
status: publicTaskStatusSchema,
|
|
4078
|
-
tags: z.array(z.string()),
|
|
4079
|
-
title: z.string(),
|
|
4080
|
-
updated_at: z.string(),
|
|
4081
|
-
user_id: z.string(),
|
|
4082
|
-
}),
|
|
4083
|
-
);
|
|
4084
|
-
|
|
4085
|
-
export const publicTaskTimeoutCheckArgsSchema = z.never();
|
|
4086
|
-
|
|
4087
|
-
export const publicTaskTimeoutCheckReturnsSchema = z.undefined();
|
|
4088
|
-
|
|
4089
|
-
export const publicTaskTreeArgsSchema = z.object({
|
|
4090
|
-
p_task_id: z.string(),
|
|
4091
|
-
});
|
|
4092
|
-
|
|
4093
|
-
export const publicTaskTreeReturnsSchema = z.array(
|
|
4094
|
-
z.object({
|
|
4095
|
-
code: z.string().nullable(),
|
|
4096
|
-
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
4097
|
-
completed_at: z.string().nullable(),
|
|
4098
|
-
context_id: z.string().nullable(),
|
|
4099
|
-
context_type: z.string().nullable(),
|
|
4100
|
-
created_at: z.string(),
|
|
4101
|
-
description: z.string().nullable(),
|
|
4102
|
-
error: z.string().nullable(),
|
|
4103
|
-
executor_id: z.string().nullable(),
|
|
4104
|
-
executor_type: z.string().nullable(),
|
|
4105
|
-
id: z.string(),
|
|
4106
|
-
max_retries: z.number(),
|
|
4107
|
-
meta: jsonSchema,
|
|
4108
|
-
parent_id: z.string().nullable(),
|
|
4109
|
-
priority: z.number(),
|
|
4110
|
-
result: jsonSchema.nullable(),
|
|
4111
|
-
result_text: z.string().nullable(),
|
|
4112
|
-
retry_count: z.number(),
|
|
4113
|
-
scheduled_at: z.string().nullable(),
|
|
4114
|
-
started_at: z.string().nullable(),
|
|
4115
|
-
status: publicTaskStatusSchema,
|
|
4116
|
-
tags: z.array(z.string()),
|
|
4117
|
-
title: z.string(),
|
|
4118
|
-
updated_at: z.string(),
|
|
4119
|
-
user_id: z.string(),
|
|
4120
|
-
}),
|
|
4121
|
-
);
|
|
4122
|
-
|
|
4123
|
-
export const publicTaskUpsertArgsSchema = z.object({
|
|
4124
|
-
p_code: z.string().optional(),
|
|
4125
|
-
p_code_type: publicTaskCodeTypeSchema.optional(),
|
|
4126
|
-
p_context_id: z.string().optional(),
|
|
4127
|
-
p_context_type: z.string().optional(),
|
|
4128
|
-
p_description: z.string().optional(),
|
|
4129
|
-
p_executor_id: z.string().optional(),
|
|
4130
|
-
p_executor_type: z.string().optional(),
|
|
4131
|
-
p_id: z.string().optional(),
|
|
4132
|
-
p_max_retries: z.number().optional(),
|
|
4133
|
-
p_meta: jsonSchema.optional(),
|
|
4134
|
-
p_parent_id: z.string().optional(),
|
|
4135
|
-
p_priority: z.number().optional(),
|
|
4136
|
-
p_scheduled_at: z.string().optional(),
|
|
4137
|
-
p_status: publicTaskStatusSchema.optional(),
|
|
4138
|
-
p_tags: z.array(z.string()).optional(),
|
|
4139
|
-
p_title: z.string().optional(),
|
|
4140
|
-
});
|
|
4141
|
-
|
|
4142
|
-
export const publicTaskUpsertReturnsSchema = z.array(
|
|
4143
|
-
z.object({
|
|
4144
|
-
code: z.string().nullable(),
|
|
4145
|
-
code_type: publicTaskCodeTypeSchema.nullable(),
|
|
4146
|
-
completed_at: z.string().nullable(),
|
|
4147
|
-
context_id: z.string().nullable(),
|
|
4148
|
-
context_type: z.string().nullable(),
|
|
4149
|
-
created_at: z.string(),
|
|
4150
|
-
description: z.string().nullable(),
|
|
4151
|
-
error: z.string().nullable(),
|
|
4152
|
-
executor_id: z.string().nullable(),
|
|
4153
|
-
executor_type: z.string().nullable(),
|
|
4154
|
-
id: z.string(),
|
|
4155
|
-
max_retries: z.number(),
|
|
4156
|
-
meta: jsonSchema,
|
|
4157
|
-
parent_id: z.string().nullable(),
|
|
4158
|
-
priority: z.number(),
|
|
4159
|
-
result: jsonSchema.nullable(),
|
|
4160
|
-
result_text: z.string().nullable(),
|
|
4161
|
-
retry_count: z.number(),
|
|
4162
|
-
scheduled_at: z.string().nullable(),
|
|
4163
|
-
started_at: z.string().nullable(),
|
|
4164
|
-
status: publicTaskStatusSchema,
|
|
4165
|
-
tags: z.array(z.string()),
|
|
4166
|
-
title: z.string(),
|
|
4167
|
-
updated_at: z.string(),
|
|
4168
|
-
user_id: z.string(),
|
|
4169
|
-
}),
|
|
4170
|
-
);
|
|
4171
|
-
|
|
4172
|
-
export const publicTelegramLoginStartArgsSchema = z.object({
|
|
4173
|
-
p_account_id: z.string(),
|
|
4174
|
-
p_use_sms: z.boolean().optional(),
|
|
4175
|
-
});
|
|
4176
|
-
|
|
4177
|
-
export const publicTelegramLoginResponseSchema = z.object({
|
|
4178
|
-
success: z.boolean().nullable(),
|
|
4179
|
-
step: z.string().nullable(),
|
|
4180
|
-
timeout_seconds: z.number().nullable(),
|
|
4181
|
-
error_message: z.string().nullable(),
|
|
4182
|
-
user_info: jsonSchema.nullable(),
|
|
4183
|
-
});
|
|
4184
|
-
|
|
4185
|
-
export const publicTelegramLoginStepProcessArgsSchema = z.object({
|
|
4186
|
-
p_account_id: z.string(),
|
|
4187
|
-
p_body: jsonSchema,
|
|
4188
|
-
p_step: z.string(),
|
|
4189
|
-
p_success: z.boolean(),
|
|
4190
|
-
});
|
|
4191
|
-
|
|
4192
|
-
export const publicTelegramLoginStepProcessReturnsSchema = z.undefined();
|
|
4193
|
-
|
|
4194
|
-
export const publicTelegramLoginSubmitCodeArgsSchema = z.object({
|
|
4195
|
-
p_account_id: z.string(),
|
|
4196
|
-
p_code: z.string(),
|
|
4197
|
-
});
|
|
4198
|
-
|
|
4199
|
-
export const publicTelegramLoginSubmitCodeReturnsSchema = z.array(
|
|
4200
|
-
publicTelegramLoginResponseSchema,
|
|
4201
|
-
);
|
|
4202
|
-
|
|
4203
|
-
export const publicTelegramLoginSubmitTwoFaArgsSchema = z.object({
|
|
4204
|
-
p_account_id: z.string(),
|
|
4205
|
-
p_password: z.string(),
|
|
4206
|
-
});
|
|
4207
|
-
|
|
4208
|
-
export const publicTelegramLoginSubmitTwoFaReturnsSchema = z.array(
|
|
4209
|
-
publicTelegramLoginResponseSchema,
|
|
4210
|
-
);
|
|
4211
|
-
|
|
4212
|
-
export const publicTelegramServerPostArgsSchema = z.object({
|
|
4213
|
-
p_body: jsonSchema,
|
|
4214
|
-
p_path: z.string(),
|
|
4215
|
-
p_preferred_server_id: z.string(),
|
|
4216
|
-
p_timeout: z.string().optional(),
|
|
4217
|
-
});
|
|
4218
|
-
|
|
4219
|
-
export const publicTelegramServerPostReturnsSchema = jsonSchema;
|
|
4220
|
-
|
|
4221
|
-
export const publicTrafficLogDeleteArgsSchema = z.never();
|
|
4222
|
-
|
|
4223
|
-
export const publicTrafficLogDeleteReturnsSchema = z.undefined();
|
|
4224
|
-
|
|
4225
|
-
export const publicTrafficLogInsertArgsSchema = z.object({
|
|
4226
|
-
p_logs: jsonSchema,
|
|
4227
|
-
});
|
|
4228
|
-
|
|
4229
|
-
export const publicTrafficLogInsertReturnsSchema = z.undefined();
|
|
4230
|
-
|
|
4231
|
-
export const publicTrafficLogListArgsSchema = z.object({
|
|
4232
|
-
p_limit: z.number().optional(),
|
|
4233
|
-
p_offset: z.number().optional(),
|
|
4234
|
-
});
|
|
4235
|
-
|
|
4236
|
-
export const publicTrafficLogListReturnsSchema = z.array(
|
|
4237
|
-
z.object({
|
|
4238
|
-
client_ip: z.string().nullable(),
|
|
4239
|
-
created_at: z.string().nullable(),
|
|
4240
|
-
error: z.string().nullable(),
|
|
4241
|
-
host: z.string().nullable(),
|
|
4242
|
-
id: z.string(),
|
|
4243
|
-
method: z.string().nullable(),
|
|
4244
|
-
path: z.string().nullable(),
|
|
4245
|
-
request_headers: jsonSchema.nullable(),
|
|
4246
|
-
response_headers: jsonSchema.nullable(),
|
|
4247
|
-
scheme: z.string().nullable(),
|
|
4248
|
-
started_at: z.string().nullable(),
|
|
4249
|
-
status_code: z.number().nullable(),
|
|
4250
|
-
url: z.string().nullable(),
|
|
4251
|
-
user_id: z.string().nullable(),
|
|
4252
|
-
worker_id: z.string().nullable(),
|
|
4253
|
-
}),
|
|
4254
|
-
);
|
|
4255
|
-
|
|
4256
|
-
export const publicUserCreateArgsSchema = z.object({
|
|
4257
|
-
p_email: z.string(),
|
|
4258
|
-
p_full_name: z.string().optional(),
|
|
4259
|
-
p_password: z.string(),
|
|
4260
|
-
p_role: publicAppRoleSchema.optional(),
|
|
4261
|
-
p_user_id: z.string().optional(),
|
|
4262
|
-
});
|
|
4263
|
-
|
|
4264
|
-
export const publicUserCreateReturnsSchema = z.string();
|
|
4265
|
-
|
|
4266
|
-
export const publicUserDeleteArgsSchema = z.object({
|
|
4267
|
-
p_user_id: z.string(),
|
|
4268
|
-
});
|
|
4269
|
-
|
|
4270
|
-
export const publicUserDeleteReturnsSchema = z.undefined();
|
|
4271
|
-
|
|
4272
|
-
export const publicUserLogRecordArgsSchema = z.object({
|
|
4273
|
-
p_content: z.string(),
|
|
4274
|
-
p_event_type: z.string(),
|
|
4275
|
-
p_level: z.string().optional(),
|
|
4276
|
-
p_meta: jsonSchema.optional(),
|
|
4277
|
-
p_resource_id: z.string().optional(),
|
|
4278
|
-
p_resource_type: z.string().optional(),
|
|
4279
|
-
p_user_id: z.string().optional(),
|
|
4280
|
-
});
|
|
4281
|
-
|
|
4282
|
-
export const publicUserLogRecordReturnsSchema = z.string();
|
|
4283
|
-
|
|
4284
|
-
export const publicUserNotificationsCleanupArgsSchema = z.object({
|
|
4285
|
-
p_retention_days: z.number().optional(),
|
|
4286
|
-
});
|
|
4287
|
-
|
|
4288
|
-
export const publicUserNotificationsCleanupReturnsSchema = z.undefined();
|
|
4289
|
-
|
|
4290
|
-
export const publicUserProfileGetArgsSchema = z.never();
|
|
4291
|
-
|
|
4292
|
-
export const publicUserProfileGetReturnsSchema = z.array(
|
|
4293
|
-
z.object({
|
|
4294
|
-
avatar_url: z.string().nullable(),
|
|
4295
|
-
full_name: z.string().nullable(),
|
|
4296
|
-
id: z.string(),
|
|
4297
|
-
updated_at: z.string().nullable(),
|
|
4298
|
-
username: z.string().nullable(),
|
|
4299
|
-
website: z.string().nullable(),
|
|
4300
|
-
}),
|
|
4301
|
-
);
|
|
4302
|
-
|
|
4303
|
-
export const publicUserProfileUpsertArgsSchema = z.object({
|
|
4304
|
-
p_avatar_url: z.string(),
|
|
4305
|
-
p_full_name: z.string(),
|
|
4306
|
-
p_username: z.string(),
|
|
4307
|
-
p_website: z.string(),
|
|
4308
|
-
});
|
|
4309
|
-
|
|
4310
|
-
export const publicUserProfileUpsertReturnsSchema = z.array(
|
|
4311
|
-
z.object({
|
|
4312
|
-
avatar_url: z.string().nullable(),
|
|
4313
|
-
full_name: z.string().nullable(),
|
|
4314
|
-
id: z.string(),
|
|
4315
|
-
updated_at: z.string().nullable(),
|
|
4316
|
-
username: z.string().nullable(),
|
|
4317
|
-
website: z.string().nullable(),
|
|
4318
|
-
}),
|
|
4319
|
-
);
|
|
4320
|
-
|
|
4321
|
-
export const publicUserRoleDeleteArgsSchema = z.object({
|
|
4322
|
-
p_role: publicAppRoleSchema,
|
|
4323
|
-
p_user_id: z.string(),
|
|
4324
|
-
});
|
|
4325
|
-
|
|
4326
|
-
export const publicUserRoleDeleteReturnsSchema = z.undefined();
|
|
4327
|
-
|
|
4328
|
-
export const publicUserRoleListArgsSchema = z.object({
|
|
4329
|
-
p_user_id: z.string(),
|
|
4330
|
-
});
|
|
4331
|
-
|
|
4332
|
-
export const publicUserRoleListReturnsSchema = z.array(publicAppRoleSchema);
|
|
4333
|
-
|
|
4334
|
-
export const publicUserRoleUpsertArgsSchema = z.object({
|
|
4335
|
-
p_role: publicAppRoleSchema,
|
|
4336
|
-
p_user_id: z.string(),
|
|
4337
|
-
});
|
|
4338
|
-
|
|
4339
|
-
export const publicUserRoleUpsertReturnsSchema = z.undefined();
|
|
4340
|
-
|
|
4341
|
-
export const publicAuditProjectDashboardStatsReturnsSchema = z.array(
|
|
4342
|
-
publicAuditProjectStatsRecordSchema,
|
|
4343
|
-
);
|
|
4344
|
-
|
|
4345
|
-
export const publicCloudAccountBulkCreateReturnsSchema = z.array(
|
|
4346
|
-
publicCloudAccountRecordSchema,
|
|
4347
|
-
);
|
|
4348
|
-
|
|
4349
|
-
export const publicJobQueueListDlqReturnsSchema = z.array(
|
|
4350
|
-
publicJobQueueDlqRecordSchema,
|
|
4351
|
-
);
|
|
4352
|
-
|
|
4353
|
-
export const publicLogListUnifiedReturnsSchema = z.array(
|
|
4354
|
-
publicLogUnifiedRecordSchema,
|
|
4355
|
-
);
|
|
4356
|
-
|
|
4357
|
-
export const publicTelegramLoginStartReturnsSchema = z.array(
|
|
4358
|
-
publicTelegramLoginResponseSchema,
|
|
4359
|
-
);
|