@tai42/api-client 16.0.0 → 16.0.1
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/client/agents-client.d.ts +26 -0
- package/dist/client/agents-client.d.ts.map +1 -0
- package/dist/client/agents-client.js +19 -0
- package/dist/client/agents-client.js.map +1 -0
- package/dist/client/auth-client.d.ts +205 -0
- package/dist/client/auth-client.d.ts.map +1 -0
- package/dist/client/auth-client.js +59 -0
- package/dist/client/auth-client.js.map +1 -0
- package/dist/client/backend-client.d.ts +39 -0
- package/dist/client/backend-client.d.ts.map +1 -0
- package/dist/client/backend-client.js +22 -0
- package/dist/client/backend-client.js.map +1 -0
- package/dist/client/backup-client.d.ts +56 -0
- package/dist/client/backup-client.d.ts.map +1 -0
- package/dist/client/backup-client.js +12 -0
- package/dist/client/backup-client.js.map +1 -0
- package/dist/client/capabilities-client.d.ts +35 -0
- package/dist/client/capabilities-client.d.ts.map +1 -0
- package/dist/client/capabilities-client.js +19 -0
- package/dist/client/capabilities-client.js.map +1 -0
- package/dist/client/channels-client.d.ts +7 -0
- package/dist/client/channels-client.d.ts.map +1 -0
- package/dist/client/channels-client.js +10 -0
- package/dist/client/channels-client.js.map +1 -0
- package/dist/client/config-client.d.ts +59 -0
- package/dist/client/config-client.d.ts.map +1 -0
- package/dist/client/config-client.js +18 -0
- package/dist/client/config-client.js.map +1 -0
- package/dist/client/connectors-client.d.ts +225 -0
- package/dist/client/connectors-client.d.ts.map +1 -0
- package/dist/client/connectors-client.js +31 -0
- package/dist/client/connectors-client.js.map +1 -0
- package/dist/client/conversations-client.d.ts +399 -0
- package/dist/client/conversations-client.d.ts.map +1 -0
- package/dist/client/conversations-client.js +120 -0
- package/dist/client/conversations-client.js.map +1 -0
- package/dist/client/hooks-client.d.ts +113 -0
- package/dist/client/hooks-client.d.ts.map +1 -0
- package/dist/client/hooks-client.js +25 -0
- package/dist/client/hooks-client.js.map +1 -0
- package/dist/{client.d.ts → client/index.d.ts} +2235 -2666
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +79 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/interactions-client.d.ts +52 -0
- package/dist/client/interactions-client.d.ts.map +1 -0
- package/dist/client/interactions-client.js +84 -0
- package/dist/client/interactions-client.js.map +1 -0
- package/dist/client/login-client.d.ts +56 -0
- package/dist/client/login-client.d.ts.map +1 -0
- package/dist/client/login-client.js +103 -0
- package/dist/client/login-client.js.map +1 -0
- package/dist/client/manifest-client.d.ts +354 -0
- package/dist/client/manifest-client.d.ts.map +1 -0
- package/dist/client/manifest-client.js +76 -0
- package/dist/client/manifest-client.js.map +1 -0
- package/dist/client/marketplace-client.d.ts +274 -0
- package/dist/client/marketplace-client.d.ts.map +1 -0
- package/dist/client/marketplace-client.js +46 -0
- package/dist/client/marketplace-client.js.map +1 -0
- package/dist/client/mcp-config-schema-client.d.ts +5 -0
- package/dist/client/mcp-config-schema-client.d.ts.map +1 -0
- package/dist/client/mcp-config-schema-client.js +9 -0
- package/dist/client/mcp-config-schema-client.js.map +1 -0
- package/dist/client/notifications-client.d.ts +27 -0
- package/dist/client/notifications-client.d.ts.map +1 -0
- package/dist/client/notifications-client.js +11 -0
- package/dist/client/notifications-client.js.map +1 -0
- package/dist/client/observability-client.d.ts +103 -0
- package/dist/client/observability-client.d.ts.map +1 -0
- package/dist/client/observability-client.js +43 -0
- package/dist/client/observability-client.js.map +1 -0
- package/dist/client/plugins-client.d.ts +17 -0
- package/dist/client/plugins-client.d.ts.map +1 -0
- package/dist/client/plugins-client.js +9 -0
- package/dist/client/plugins-client.js.map +1 -0
- package/dist/client/policy-client.d.ts +37 -0
- package/dist/client/policy-client.d.ts.map +1 -0
- package/dist/client/policy-client.js +26 -0
- package/dist/client/policy-client.js.map +1 -0
- package/dist/client/presets-client.d.ts +335 -0
- package/dist/client/presets-client.d.ts.map +1 -0
- package/dist/client/presets-client.js +38 -0
- package/dist/client/presets-client.js.map +1 -0
- package/dist/client/profiles-client.d.ts +102 -0
- package/dist/client/profiles-client.d.ts.map +1 -0
- package/dist/client/profiles-client.js +37 -0
- package/dist/client/profiles-client.js.map +1 -0
- package/dist/client/schedules-client.d.ts +28 -0
- package/dist/client/schedules-client.d.ts.map +1 -0
- package/dist/client/schedules-client.js +13 -0
- package/dist/client/schedules-client.js.map +1 -0
- package/dist/client/settings-schema-client.d.ts +23 -0
- package/dist/client/settings-schema-client.d.ts.map +1 -0
- package/dist/client/settings-schema-client.js +9 -0
- package/dist/client/settings-schema-client.js.map +1 -0
- package/dist/client/states-client.d.ts +471 -0
- package/dist/client/states-client.d.ts.map +1 -0
- package/dist/client/states-client.js +144 -0
- package/dist/client/states-client.js.map +1 -0
- package/dist/client/storage-client.d.ts +40 -0
- package/dist/client/storage-client.d.ts.map +1 -0
- package/dist/client/storage-client.js +43 -0
- package/dist/client/storage-client.js.map +1 -0
- package/dist/client/sub-mcp-client.d.ts +17 -0
- package/dist/client/sub-mcp-client.d.ts.map +1 -0
- package/dist/client/sub-mcp-client.js +14 -0
- package/dist/client/sub-mcp-client.js.map +1 -0
- package/dist/client/system-client.d.ts +11 -0
- package/dist/client/system-client.d.ts.map +1 -0
- package/dist/client/system-client.js +13 -0
- package/dist/client/system-client.js.map +1 -0
- package/dist/client/templates-client.d.ts +29 -0
- package/dist/client/templates-client.d.ts.map +1 -0
- package/dist/client/templates-client.js +21 -0
- package/dist/client/templates-client.js.map +1 -0
- package/dist/client/tool-extensions-client.d.ts +54 -0
- package/dist/client/tool-extensions-client.d.ts.map +1 -0
- package/dist/client/tool-extensions-client.js +21 -0
- package/dist/client/tool-extensions-client.js.map +1 -0
- package/dist/client/tool-meta-client.d.ts +69 -0
- package/dist/client/tool-meta-client.d.ts.map +1 -0
- package/dist/client/tool-meta-client.js +38 -0
- package/dist/client/tool-meta-client.js.map +1 -0
- package/dist/client/tools-client.d.ts +83 -0
- package/dist/client/tools-client.d.ts.map +1 -0
- package/dist/client/tools-client.js +38 -0
- package/dist/client/tools-client.js.map +1 -0
- package/dist/client/transport.d.ts +13 -0
- package/dist/client/transport.d.ts.map +1 -0
- package/dist/client/transport.js +10 -0
- package/dist/client/transport.js.map +1 -0
- package/dist/client/trigger-links-client.d.ts +44 -0
- package/dist/client/trigger-links-client.d.ts.map +1 -0
- package/dist/client/trigger-links-client.js +30 -0
- package/dist/client/trigger-links-client.js.map +1 -0
- package/dist/client/web-entry-gate-client.d.ts +34 -0
- package/dist/client/web-entry-gate-client.d.ts.map +1 -0
- package/dist/client/web-entry-gate-client.js +25 -0
- package/dist/client/web-entry-gate-client.js.map +1 -0
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +33 -17
- package/dist/http.js.map +1 -1
- package/dist/schemas/api-keys.d.ts +34 -0
- package/dist/schemas/api-keys.d.ts.map +1 -0
- package/dist/schemas/api-keys.js +22 -0
- package/dist/schemas/api-keys.js.map +1 -0
- package/dist/schemas/auth-routes.d.ts +78 -0
- package/dist/schemas/auth-routes.d.ts.map +1 -0
- package/dist/schemas/auth-routes.js +42 -0
- package/dist/schemas/auth-routes.js.map +1 -0
- package/dist/schemas/backup.d.ts +78 -0
- package/dist/schemas/backup.d.ts.map +1 -0
- package/dist/schemas/backup.js +33 -0
- package/dist/schemas/backup.js.map +1 -0
- package/dist/schemas/capabilities.d.ts +99 -0
- package/dist/schemas/capabilities.d.ts.map +1 -0
- package/dist/schemas/capabilities.js +74 -0
- package/dist/schemas/capabilities.js.map +1 -0
- package/dist/schemas/channels.d.ts +7 -0
- package/dist/schemas/channels.d.ts.map +1 -0
- package/dist/schemas/channels.js +9 -0
- package/dist/schemas/channels.js.map +1 -0
- package/dist/schemas/config.d.ts +17 -0
- package/dist/schemas/config.d.ts.map +1 -0
- package/dist/schemas/config.js +17 -0
- package/dist/schemas/config.js.map +1 -0
- package/dist/schemas/connectors.d.ts +383 -0
- package/dist/schemas/connectors.d.ts.map +1 -0
- package/dist/schemas/connectors.js +122 -0
- package/dist/schemas/connectors.js.map +1 -0
- package/dist/schemas/conversations.d.ts +600 -0
- package/dist/schemas/conversations.d.ts.map +1 -0
- package/dist/schemas/conversations.js +208 -0
- package/dist/schemas/conversations.js.map +1 -0
- package/dist/schemas/extensions.d.ts +44 -0
- package/dist/schemas/extensions.d.ts.map +1 -0
- package/dist/schemas/extensions.js +29 -0
- package/dist/schemas/extensions.js.map +1 -0
- package/dist/schemas/fleet.d.ts +271 -0
- package/dist/schemas/fleet.d.ts.map +1 -0
- package/dist/schemas/fleet.js +132 -0
- package/dist/schemas/fleet.js.map +1 -0
- package/dist/schemas/hooks.d.ts +120 -0
- package/dist/schemas/hooks.d.ts.map +1 -0
- package/dist/schemas/hooks.js +44 -0
- package/dist/schemas/hooks.js.map +1 -0
- package/dist/schemas/index.d.ts +38 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +38 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/interactions.d.ts +156 -0
- package/dist/schemas/interactions.d.ts.map +1 -0
- package/dist/schemas/interactions.js +124 -0
- package/dist/schemas/interactions.js.map +1 -0
- package/dist/schemas/login.d.ts +86 -0
- package/dist/schemas/login.d.ts.map +1 -0
- package/dist/schemas/login.js +54 -0
- package/dist/schemas/login.js.map +1 -0
- package/dist/schemas/manifest-mcp.d.ts +125 -0
- package/dist/schemas/manifest-mcp.d.ts.map +1 -0
- package/dist/schemas/manifest-mcp.js +61 -0
- package/dist/schemas/manifest-mcp.js.map +1 -0
- package/dist/schemas/marketplace.d.ts +708 -0
- package/dist/schemas/marketplace.d.ts.map +1 -0
- package/dist/schemas/marketplace.js +387 -0
- package/dist/schemas/marketplace.js.map +1 -0
- package/dist/schemas/notifications.d.ts +61 -0
- package/dist/schemas/notifications.d.ts.map +1 -0
- package/dist/schemas/notifications.js +38 -0
- package/dist/schemas/notifications.js.map +1 -0
- package/dist/schemas/observability.d.ts +114 -0
- package/dist/schemas/observability.d.ts.map +1 -0
- package/dist/schemas/observability.js +74 -0
- package/dist/schemas/observability.js.map +1 -0
- package/dist/schemas/policy.d.ts +58 -0
- package/dist/schemas/policy.d.ts.map +1 -0
- package/dist/schemas/policy.js +32 -0
- package/dist/schemas/policy.js.map +1 -0
- package/dist/schemas/presets.d.ts +258 -0
- package/dist/schemas/presets.d.ts.map +1 -0
- package/dist/schemas/presets.js +95 -0
- package/dist/schemas/presets.js.map +1 -0
- package/dist/schemas/profiles.d.ts +180 -0
- package/dist/schemas/profiles.d.ts.map +1 -0
- package/dist/schemas/profiles.js +100 -0
- package/dist/schemas/profiles.js.map +1 -0
- package/dist/schemas/roles.d.ts +125 -0
- package/dist/schemas/roles.d.ts.map +1 -0
- package/dist/schemas/roles.js +46 -0
- package/dist/schemas/roles.js.map +1 -0
- package/dist/schemas/schedules.d.ts +25 -0
- package/dist/schemas/schedules.d.ts.map +1 -0
- package/dist/schemas/schedules.js +24 -0
- package/dist/schemas/schedules.js.map +1 -0
- package/dist/schemas/served.d.ts +626 -0
- package/dist/schemas/served.d.ts.map +1 -0
- package/dist/schemas/served.js +28 -0
- package/dist/schemas/served.js.map +1 -0
- package/dist/schemas/settings-schema.d.ts +23 -0
- package/dist/schemas/settings-schema.d.ts.map +1 -0
- package/dist/schemas/settings-schema.js +25 -0
- package/dist/schemas/settings-schema.js.map +1 -0
- package/dist/schemas/shared.d.ts +20 -0
- package/dist/schemas/shared.d.ts.map +1 -0
- package/dist/schemas/shared.js +20 -0
- package/dist/schemas/shared.js.map +1 -0
- package/dist/schemas/states.d.ts +499 -0
- package/dist/schemas/states.d.ts.map +1 -0
- package/dist/schemas/states.js +220 -0
- package/dist/schemas/states.js.map +1 -0
- package/dist/schemas/storage.d.ts +37 -0
- package/dist/schemas/storage.d.ts.map +1 -0
- package/dist/schemas/storage.js +24 -0
- package/dist/schemas/storage.js.map +1 -0
- package/dist/schemas/studio-plugins.d.ts +30 -0
- package/dist/schemas/studio-plugins.d.ts.map +1 -0
- package/dist/schemas/studio-plugins.js +20 -0
- package/dist/schemas/studio-plugins.js.map +1 -0
- package/dist/schemas/sub-mcp.d.ts +29 -0
- package/dist/schemas/sub-mcp.d.ts.map +1 -0
- package/dist/schemas/sub-mcp.js +22 -0
- package/dist/schemas/sub-mcp.js.map +1 -0
- package/dist/schemas/system-kinds.d.ts +122 -0
- package/dist/schemas/system-kinds.d.ts.map +1 -0
- package/dist/schemas/system-kinds.js +40 -0
- package/dist/schemas/system-kinds.js.map +1 -0
- package/dist/schemas/templates.d.ts +26 -0
- package/dist/schemas/templates.d.ts.map +1 -0
- package/dist/schemas/templates.js +11 -0
- package/dist/schemas/templates.js.map +1 -0
- package/dist/schemas/tool-meta.d.ts +64 -0
- package/dist/schemas/tool-meta.d.ts.map +1 -0
- package/dist/schemas/tool-meta.js +44 -0
- package/dist/schemas/tool-meta.js.map +1 -0
- package/dist/schemas/tools.d.ts +62 -0
- package/dist/schemas/tools.d.ts.map +1 -0
- package/dist/schemas/tools.js +53 -0
- package/dist/schemas/tools.js.map +1 -0
- package/dist/schemas/trigger-links.d.ts +71 -0
- package/dist/schemas/trigger-links.d.ts.map +1 -0
- package/dist/schemas/trigger-links.js +46 -0
- package/dist/schemas/trigger-links.js.map +1 -0
- package/dist/schemas/web-entry.d.ts +45 -0
- package/dist/schemas/web-entry.d.ts.map +1 -0
- package/dist/schemas/web-entry.js +36 -0
- package/dist/schemas/web-entry.js.map +1 -0
- package/dist/tool-runs.d.ts +4 -4
- package/package.json +1 -1
- package/src/client/agents-client.ts +23 -0
- package/src/client/auth-client.ts +144 -0
- package/src/client/backend-client.ts +25 -0
- package/src/client/backup-client.ts +16 -0
- package/src/client/capabilities-client.ts +22 -0
- package/src/client/channels-client.ts +11 -0
- package/src/client/config-client.ts +21 -0
- package/src/client/connectors-client.ts +52 -0
- package/src/client/conversations-client.ts +240 -0
- package/src/client/hooks-client.ts +44 -0
- package/src/client/index.ts +122 -0
- package/src/client/interactions-client.ts +89 -0
- package/src/client/login-client.ts +109 -0
- package/src/client/manifest-client.ts +118 -0
- package/src/client/marketplace-client.ts +122 -0
- package/src/client/mcp-config-schema-client.ts +11 -0
- package/src/client/notifications-client.ts +13 -0
- package/src/client/observability-client.ts +82 -0
- package/src/client/plugins-client.ts +11 -0
- package/src/client/policy-client.ts +41 -0
- package/src/client/presets-client.ts +124 -0
- package/src/client/profiles-client.ts +51 -0
- package/src/client/schedules-client.ts +22 -0
- package/src/client/settings-schema-client.ts +11 -0
- package/src/client/states-client.ts +292 -0
- package/src/client/storage-client.ts +63 -0
- package/src/client/sub-mcp-client.ts +17 -0
- package/src/client/system-client.ts +16 -0
- package/src/client/templates-client.ts +28 -0
- package/src/client/tool-extensions-client.ts +24 -0
- package/src/client/tool-meta-client.ts +65 -0
- package/src/client/tools-client.ts +66 -0
- package/src/client/transport.ts +18 -0
- package/src/client/trigger-links-client.ts +51 -0
- package/src/client/web-entry-gate-client.ts +45 -0
- package/src/http.ts +48 -24
- package/src/schemas/api-keys.ts +26 -0
- package/src/schemas/auth-routes.ts +48 -0
- package/src/schemas/backup.ts +42 -0
- package/src/schemas/capabilities.ts +87 -0
- package/src/schemas/channels.ts +11 -0
- package/src/schemas/config.ts +17 -0
- package/src/schemas/connectors.ts +138 -0
- package/src/schemas/conversations.ts +256 -0
- package/src/schemas/extensions.ts +34 -0
- package/src/schemas/fleet.ts +153 -0
- package/src/schemas/hooks.ts +56 -0
- package/src/schemas/index.ts +37 -0
- package/src/schemas/interactions.ts +146 -0
- package/src/schemas/login.ts +62 -0
- package/src/schemas/manifest-mcp.ts +69 -0
- package/src/schemas/marketplace.ts +447 -0
- package/src/schemas/notifications.ts +42 -0
- package/src/schemas/observability.ts +86 -0
- package/src/schemas/policy.ts +37 -0
- package/src/schemas/presets.ts +113 -0
- package/src/schemas/profiles.ts +119 -0
- package/src/schemas/roles.ts +57 -0
- package/src/schemas/schedules.ts +27 -0
- package/src/schemas/served.ts +49 -0
- package/src/schemas/settings-schema.ts +31 -0
- package/src/schemas/shared.ts +21 -0
- package/src/schemas/states.ts +272 -0
- package/src/schemas/storage.ts +31 -0
- package/src/schemas/studio-plugins.ts +21 -0
- package/src/schemas/sub-mcp.ts +24 -0
- package/src/schemas/system-kinds.ts +46 -0
- package/src/schemas/templates.ts +11 -0
- package/src/schemas/tool-meta.ts +51 -0
- package/src/schemas/tools.ts +61 -0
- package/src/schemas/trigger-links.ts +54 -0
- package/src/schemas/web-entry.ts +46 -0
- package/dist/client.d.ts.map +0 -1
- package/dist/client.js +0 -920
- package/dist/client.js.map +0 -1
- package/dist/schemas.d.ts +0 -5172
- package/dist/schemas.d.ts.map +0 -1
- package/dist/schemas.js +0 -2268
- package/dist/schemas.js.map +0 -1
- package/src/client.ts +0 -1771
- package/src/schemas.ts +0 -2760
|
@@ -0,0 +1,626 @@
|
|
|
1
|
+
/** Generated served-document schema aliases and templated-text re-exports. */
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export { templatedText, requiredTemplatedText } from '../templated-text';
|
|
4
|
+
export type { TemplatedText } from '../templated-text';
|
|
5
|
+
export declare const stateInjection: z.ZodObject<{
|
|
6
|
+
into: z.ZodString;
|
|
7
|
+
jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
8
|
+
content: z.ZodOptional<z.ZodString>;
|
|
9
|
+
id: z.ZodOptional<z.ZodString>;
|
|
10
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
12
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
export type StateInjection = z.infer<typeof stateInjection>;
|
|
15
|
+
export declare const stateUpdate: z.ZodObject<{
|
|
16
|
+
adapter: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
17
|
+
content: z.ZodOptional<z.ZodString>;
|
|
18
|
+
id: z.ZodOptional<z.ZodString>;
|
|
19
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
21
|
+
jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
22
|
+
content: z.ZodOptional<z.ZodString>;
|
|
23
|
+
id: z.ZodOptional<z.ZodString>;
|
|
24
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
25
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
26
|
+
op_id: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
27
|
+
content: z.ZodOptional<z.ZodString>;
|
|
28
|
+
id: z.ZodOptional<z.ZodString>;
|
|
29
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
30
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
31
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
export type StateUpdate = z.infer<typeof stateUpdate>;
|
|
34
|
+
export declare const stateAttach: z.ZodObject<{
|
|
35
|
+
input_injections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
36
|
+
into: z.ZodString;
|
|
37
|
+
jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
38
|
+
content: z.ZodOptional<z.ZodString>;
|
|
39
|
+
id: z.ZodOptional<z.ZodString>;
|
|
40
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
41
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
42
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
43
|
+
}, z.core.$strict>>>;
|
|
44
|
+
scope_expr: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
45
|
+
content: z.ZodOptional<z.ZodString>;
|
|
46
|
+
id: z.ZodOptional<z.ZodString>;
|
|
47
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
48
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
49
|
+
state: z.ZodString;
|
|
50
|
+
subject_expr: z.ZodObject<{
|
|
51
|
+
content: z.ZodOptional<z.ZodString>;
|
|
52
|
+
id: z.ZodOptional<z.ZodString>;
|
|
53
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
54
|
+
}, z.core.$strict>;
|
|
55
|
+
templates: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
56
|
+
updates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
57
|
+
adapter: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
58
|
+
content: z.ZodOptional<z.ZodString>;
|
|
59
|
+
id: z.ZodOptional<z.ZodString>;
|
|
60
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
61
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
62
|
+
jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
63
|
+
content: z.ZodOptional<z.ZodString>;
|
|
64
|
+
id: z.ZodOptional<z.ZodString>;
|
|
65
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
66
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
67
|
+
op_id: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
68
|
+
content: z.ZodOptional<z.ZodString>;
|
|
69
|
+
id: z.ZodOptional<z.ZodString>;
|
|
70
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
71
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
72
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
73
|
+
}, z.core.$strict>>>;
|
|
74
|
+
}, z.core.$strict>;
|
|
75
|
+
export type StateAttach = z.infer<typeof stateAttach>;
|
|
76
|
+
export declare const stateBinding: z.ZodObject<{
|
|
77
|
+
states: z.ZodArray<z.ZodObject<{
|
|
78
|
+
input_injections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
79
|
+
into: z.ZodString;
|
|
80
|
+
jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
81
|
+
content: z.ZodOptional<z.ZodString>;
|
|
82
|
+
id: z.ZodOptional<z.ZodString>;
|
|
83
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
84
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
85
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
86
|
+
}, z.core.$strict>>>;
|
|
87
|
+
scope_expr: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
88
|
+
content: z.ZodOptional<z.ZodString>;
|
|
89
|
+
id: z.ZodOptional<z.ZodString>;
|
|
90
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
91
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
92
|
+
state: z.ZodString;
|
|
93
|
+
subject_expr: z.ZodObject<{
|
|
94
|
+
content: z.ZodOptional<z.ZodString>;
|
|
95
|
+
id: z.ZodOptional<z.ZodString>;
|
|
96
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
97
|
+
}, z.core.$strict>;
|
|
98
|
+
templates: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
99
|
+
updates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
100
|
+
adapter: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
101
|
+
content: z.ZodOptional<z.ZodString>;
|
|
102
|
+
id: z.ZodOptional<z.ZodString>;
|
|
103
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
104
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
105
|
+
jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
106
|
+
content: z.ZodOptional<z.ZodString>;
|
|
107
|
+
id: z.ZodOptional<z.ZodString>;
|
|
108
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
109
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
110
|
+
op_id: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
111
|
+
content: z.ZodOptional<z.ZodString>;
|
|
112
|
+
id: z.ZodOptional<z.ZodString>;
|
|
113
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
114
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
115
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
116
|
+
}, z.core.$strict>>>;
|
|
117
|
+
}, z.core.$strict>>;
|
|
118
|
+
}, z.core.$strict>;
|
|
119
|
+
export type StateBinding = z.infer<typeof stateBinding>;
|
|
120
|
+
export declare const presetBody: z.ZodObject<{
|
|
121
|
+
base_tool: z.ZodString;
|
|
122
|
+
description: z.ZodDefault<z.ZodString>;
|
|
123
|
+
extensions: z.ZodDefault<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>>;
|
|
124
|
+
fixed_kwargs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
125
|
+
input_schema: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
126
|
+
content: z.ZodOptional<z.ZodString>;
|
|
127
|
+
id: z.ZodOptional<z.ZodString>;
|
|
128
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
129
|
+
}, z.core.$strict>, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
130
|
+
output_schema: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
131
|
+
content: z.ZodOptional<z.ZodString>;
|
|
132
|
+
id: z.ZodOptional<z.ZodString>;
|
|
133
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
134
|
+
}, z.core.$strict>, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
135
|
+
state_binding: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
136
|
+
states: z.ZodArray<z.ZodObject<{
|
|
137
|
+
input_injections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
138
|
+
into: z.ZodString;
|
|
139
|
+
jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
140
|
+
content: z.ZodOptional<z.ZodString>;
|
|
141
|
+
id: z.ZodOptional<z.ZodString>;
|
|
142
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
143
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
144
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
145
|
+
}, z.core.$strict>>>;
|
|
146
|
+
scope_expr: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
147
|
+
content: z.ZodOptional<z.ZodString>;
|
|
148
|
+
id: z.ZodOptional<z.ZodString>;
|
|
149
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
150
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
151
|
+
state: z.ZodString;
|
|
152
|
+
subject_expr: z.ZodObject<{
|
|
153
|
+
content: z.ZodOptional<z.ZodString>;
|
|
154
|
+
id: z.ZodOptional<z.ZodString>;
|
|
155
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
156
|
+
}, z.core.$strict>;
|
|
157
|
+
templates: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
158
|
+
updates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
159
|
+
adapter: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
160
|
+
content: z.ZodOptional<z.ZodString>;
|
|
161
|
+
id: z.ZodOptional<z.ZodString>;
|
|
162
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
163
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
164
|
+
jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
165
|
+
content: z.ZodOptional<z.ZodString>;
|
|
166
|
+
id: z.ZodOptional<z.ZodString>;
|
|
167
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
168
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
169
|
+
op_id: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
170
|
+
content: z.ZodOptional<z.ZodString>;
|
|
171
|
+
id: z.ZodOptional<z.ZodString>;
|
|
172
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
173
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
174
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
175
|
+
}, z.core.$strict>>>;
|
|
176
|
+
}, z.core.$strict>>;
|
|
177
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
178
|
+
}, z.core.$strip>;
|
|
179
|
+
export type PresetBody = z.input<typeof presetBody>;
|
|
180
|
+
export declare const conversationRoute: z.ZodObject<{
|
|
181
|
+
callback_secret: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
182
|
+
callback_url: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
183
|
+
channel: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
184
|
+
door: z.ZodEnum<{
|
|
185
|
+
channel: "channel";
|
|
186
|
+
api: "api";
|
|
187
|
+
}>;
|
|
188
|
+
error_reply_text: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
189
|
+
execution_key: z.ZodString;
|
|
190
|
+
execution_key_fingerprint: z.ZodString;
|
|
191
|
+
initial_mode: z.ZodDefault<z.ZodEnum<{
|
|
192
|
+
agent: "agent";
|
|
193
|
+
manual: "manual";
|
|
194
|
+
}>>;
|
|
195
|
+
locale: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
196
|
+
our_identity: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
197
|
+
payload_expr: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
198
|
+
content: z.ZodOptional<z.ZodString>;
|
|
199
|
+
id: z.ZodOptional<z.ZodString>;
|
|
200
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
201
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
202
|
+
reply_expr: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
203
|
+
content: z.ZodOptional<z.ZodString>;
|
|
204
|
+
id: z.ZodOptional<z.ZodString>;
|
|
205
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
206
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
207
|
+
route_name: z.ZodString;
|
|
208
|
+
target_kind: z.ZodEnum<{
|
|
209
|
+
tool: "tool";
|
|
210
|
+
agent: "agent";
|
|
211
|
+
}>;
|
|
212
|
+
target_name: z.ZodString;
|
|
213
|
+
turns_per_hour_override: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
export type ConversationRoute = z.infer<typeof conversationRoute>;
|
|
216
|
+
export declare const conversationRouteCreate: z.ZodObject<{
|
|
217
|
+
callback_url: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
218
|
+
channel: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
219
|
+
door: z.ZodEnum<{
|
|
220
|
+
channel: "channel";
|
|
221
|
+
api: "api";
|
|
222
|
+
}>;
|
|
223
|
+
error_reply_text: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
224
|
+
execution_key: z.ZodString;
|
|
225
|
+
initial_mode: z.ZodDefault<z.ZodEnum<{
|
|
226
|
+
agent: "agent";
|
|
227
|
+
manual: "manual";
|
|
228
|
+
}>>;
|
|
229
|
+
locale: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
230
|
+
our_identity: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
231
|
+
payload_expr: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
232
|
+
content: z.ZodOptional<z.ZodString>;
|
|
233
|
+
id: z.ZodOptional<z.ZodString>;
|
|
234
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
235
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
236
|
+
reply_expr: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
237
|
+
content: z.ZodOptional<z.ZodString>;
|
|
238
|
+
id: z.ZodOptional<z.ZodString>;
|
|
239
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
240
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
241
|
+
route_name: z.ZodString;
|
|
242
|
+
target_kind: z.ZodEnum<{
|
|
243
|
+
tool: "tool";
|
|
244
|
+
agent: "agent";
|
|
245
|
+
}>;
|
|
246
|
+
target_name: z.ZodString;
|
|
247
|
+
turns_per_hour_override: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
248
|
+
}, z.core.$strip>;
|
|
249
|
+
export type ConversationRouteCreate = z.input<typeof conversationRouteCreate>;
|
|
250
|
+
export declare const targetConversationConfig: z.ZodObject<{
|
|
251
|
+
greeting_template: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
252
|
+
multichannel: z.ZodDefault<z.ZodBoolean>;
|
|
253
|
+
state_binding: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
254
|
+
states: z.ZodArray<z.ZodObject<{
|
|
255
|
+
input_injections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
256
|
+
into: z.ZodString;
|
|
257
|
+
jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
258
|
+
content: z.ZodOptional<z.ZodString>;
|
|
259
|
+
id: z.ZodOptional<z.ZodString>;
|
|
260
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
261
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
262
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
263
|
+
}, z.core.$strict>>>;
|
|
264
|
+
scope_expr: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
265
|
+
content: z.ZodOptional<z.ZodString>;
|
|
266
|
+
id: z.ZodOptional<z.ZodString>;
|
|
267
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
268
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
269
|
+
state: z.ZodString;
|
|
270
|
+
subject_expr: z.ZodObject<{
|
|
271
|
+
content: z.ZodOptional<z.ZodString>;
|
|
272
|
+
id: z.ZodOptional<z.ZodString>;
|
|
273
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
274
|
+
}, z.core.$strict>;
|
|
275
|
+
templates: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
276
|
+
updates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
277
|
+
adapter: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
278
|
+
content: z.ZodOptional<z.ZodString>;
|
|
279
|
+
id: z.ZodOptional<z.ZodString>;
|
|
280
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
281
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
282
|
+
jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
283
|
+
content: z.ZodOptional<z.ZodString>;
|
|
284
|
+
id: z.ZodOptional<z.ZodString>;
|
|
285
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
286
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
287
|
+
op_id: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
288
|
+
content: z.ZodOptional<z.ZodString>;
|
|
289
|
+
id: z.ZodOptional<z.ZodString>;
|
|
290
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
291
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
292
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
293
|
+
}, z.core.$strict>>>;
|
|
294
|
+
}, z.core.$strict>>;
|
|
295
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
296
|
+
target_kind: z.ZodEnum<{
|
|
297
|
+
tool: "tool";
|
|
298
|
+
agent: "agent";
|
|
299
|
+
}>;
|
|
300
|
+
target_name: z.ZodString;
|
|
301
|
+
}, z.core.$strip>;
|
|
302
|
+
export type TargetConversationConfig = z.input<typeof targetConversationConfig>;
|
|
303
|
+
export declare const channelTemplate: z.ZodObject<{
|
|
304
|
+
body_parameters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
305
|
+
buttons: z.ZodDefault<z.ZodArray<z.ZodUnknown>>;
|
|
306
|
+
header_media: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
307
|
+
caption: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
308
|
+
filename: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
309
|
+
kind: z.ZodEnum<{
|
|
310
|
+
image: "image";
|
|
311
|
+
link: "link";
|
|
312
|
+
document: "document";
|
|
313
|
+
video: "video";
|
|
314
|
+
audio: "audio";
|
|
315
|
+
}>;
|
|
316
|
+
url: z.ZodString;
|
|
317
|
+
}, z.core.$strip>, z.ZodNull]>>;
|
|
318
|
+
language: z.ZodString;
|
|
319
|
+
name: z.ZodString;
|
|
320
|
+
}, z.core.$strip>;
|
|
321
|
+
export type ChannelTemplate = z.infer<typeof channelTemplate>;
|
|
322
|
+
export declare const hookSubject: z.ZodObject<{
|
|
323
|
+
key_expr: z.ZodObject<{
|
|
324
|
+
content: z.ZodOptional<z.ZodString>;
|
|
325
|
+
id: z.ZodOptional<z.ZodString>;
|
|
326
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
327
|
+
}, z.core.$strict>;
|
|
328
|
+
kind: z.ZodString;
|
|
329
|
+
target_kind: z.ZodEnum<{
|
|
330
|
+
tool: "tool";
|
|
331
|
+
agent: "agent";
|
|
332
|
+
}>;
|
|
333
|
+
target_name: z.ZodString;
|
|
334
|
+
}, z.core.$strict>;
|
|
335
|
+
export type HookSubject = z.infer<typeof hookSubject>;
|
|
336
|
+
export declare const hookParams: z.ZodObject<{
|
|
337
|
+
condition: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
338
|
+
content: z.ZodOptional<z.ZodString>;
|
|
339
|
+
id: z.ZodOptional<z.ZodString>;
|
|
340
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
341
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
342
|
+
execution_key: z.ZodString;
|
|
343
|
+
execution_key_fingerprint: z.ZodString;
|
|
344
|
+
expr: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
345
|
+
content: z.ZodOptional<z.ZodString>;
|
|
346
|
+
id: z.ZodOptional<z.ZodString>;
|
|
347
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
348
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
349
|
+
name: z.ZodString;
|
|
350
|
+
state_binding: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
351
|
+
states: z.ZodArray<z.ZodObject<{
|
|
352
|
+
input_injections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
353
|
+
into: z.ZodString;
|
|
354
|
+
jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
355
|
+
content: z.ZodOptional<z.ZodString>;
|
|
356
|
+
id: z.ZodOptional<z.ZodString>;
|
|
357
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
358
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
359
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
360
|
+
}, z.core.$strict>>>;
|
|
361
|
+
scope_expr: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
362
|
+
content: z.ZodOptional<z.ZodString>;
|
|
363
|
+
id: z.ZodOptional<z.ZodString>;
|
|
364
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
365
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
366
|
+
state: z.ZodString;
|
|
367
|
+
subject_expr: z.ZodObject<{
|
|
368
|
+
content: z.ZodOptional<z.ZodString>;
|
|
369
|
+
id: z.ZodOptional<z.ZodString>;
|
|
370
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
371
|
+
}, z.core.$strict>;
|
|
372
|
+
templates: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
373
|
+
updates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
374
|
+
adapter: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
375
|
+
content: z.ZodOptional<z.ZodString>;
|
|
376
|
+
id: z.ZodOptional<z.ZodString>;
|
|
377
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
378
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
379
|
+
jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
380
|
+
content: z.ZodOptional<z.ZodString>;
|
|
381
|
+
id: z.ZodOptional<z.ZodString>;
|
|
382
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
383
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
384
|
+
op_id: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
385
|
+
content: z.ZodOptional<z.ZodString>;
|
|
386
|
+
id: z.ZodOptional<z.ZodString>;
|
|
387
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
388
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
389
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
390
|
+
}, z.core.$strict>>>;
|
|
391
|
+
}, z.core.$strict>>;
|
|
392
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
393
|
+
subject: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
394
|
+
key_expr: z.ZodObject<{
|
|
395
|
+
content: z.ZodOptional<z.ZodString>;
|
|
396
|
+
id: z.ZodOptional<z.ZodString>;
|
|
397
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
398
|
+
}, z.core.$strict>;
|
|
399
|
+
kind: z.ZodString;
|
|
400
|
+
target_kind: z.ZodEnum<{
|
|
401
|
+
tool: "tool";
|
|
402
|
+
agent: "agent";
|
|
403
|
+
}>;
|
|
404
|
+
target_name: z.ZodString;
|
|
405
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
406
|
+
tool: z.ZodString;
|
|
407
|
+
tool_kwargs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
408
|
+
topic: z.ZodString;
|
|
409
|
+
}, z.core.$strip>;
|
|
410
|
+
export type HookParams = z.infer<typeof hookParams>;
|
|
411
|
+
export declare const hookRegister: z.ZodObject<{
|
|
412
|
+
condition: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
413
|
+
content: z.ZodOptional<z.ZodString>;
|
|
414
|
+
id: z.ZodOptional<z.ZodString>;
|
|
415
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
416
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
417
|
+
execution_key: z.ZodString;
|
|
418
|
+
expr: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
419
|
+
content: z.ZodOptional<z.ZodString>;
|
|
420
|
+
id: z.ZodOptional<z.ZodString>;
|
|
421
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
422
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
423
|
+
name: z.ZodString;
|
|
424
|
+
state_binding: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
425
|
+
states: z.ZodArray<z.ZodObject<{
|
|
426
|
+
input_injections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
427
|
+
into: z.ZodString;
|
|
428
|
+
jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
429
|
+
content: z.ZodOptional<z.ZodString>;
|
|
430
|
+
id: z.ZodOptional<z.ZodString>;
|
|
431
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
432
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
433
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
434
|
+
}, z.core.$strict>>>;
|
|
435
|
+
scope_expr: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
436
|
+
content: z.ZodOptional<z.ZodString>;
|
|
437
|
+
id: z.ZodOptional<z.ZodString>;
|
|
438
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
439
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
440
|
+
state: z.ZodString;
|
|
441
|
+
subject_expr: z.ZodObject<{
|
|
442
|
+
content: z.ZodOptional<z.ZodString>;
|
|
443
|
+
id: z.ZodOptional<z.ZodString>;
|
|
444
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
445
|
+
}, z.core.$strict>;
|
|
446
|
+
templates: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
447
|
+
updates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
448
|
+
adapter: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
449
|
+
content: z.ZodOptional<z.ZodString>;
|
|
450
|
+
id: z.ZodOptional<z.ZodString>;
|
|
451
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
452
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
453
|
+
jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
454
|
+
content: z.ZodOptional<z.ZodString>;
|
|
455
|
+
id: z.ZodOptional<z.ZodString>;
|
|
456
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
457
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
458
|
+
op_id: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
459
|
+
content: z.ZodOptional<z.ZodString>;
|
|
460
|
+
id: z.ZodOptional<z.ZodString>;
|
|
461
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
462
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
463
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
464
|
+
}, z.core.$strict>>>;
|
|
465
|
+
}, z.core.$strict>>;
|
|
466
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
467
|
+
subject: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
468
|
+
key_expr: z.ZodObject<{
|
|
469
|
+
content: z.ZodOptional<z.ZodString>;
|
|
470
|
+
id: z.ZodOptional<z.ZodString>;
|
|
471
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
472
|
+
}, z.core.$strict>;
|
|
473
|
+
kind: z.ZodString;
|
|
474
|
+
target_kind: z.ZodEnum<{
|
|
475
|
+
tool: "tool";
|
|
476
|
+
agent: "agent";
|
|
477
|
+
}>;
|
|
478
|
+
target_name: z.ZodString;
|
|
479
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
480
|
+
tool: z.ZodString;
|
|
481
|
+
tool_kwargs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
482
|
+
topic: z.ZodString;
|
|
483
|
+
}, z.core.$strip>;
|
|
484
|
+
export type HookRegister = z.input<typeof hookRegister>;
|
|
485
|
+
export declare const stateDeclaration: z.ZodObject<{
|
|
486
|
+
default_subject_kind: z.ZodString;
|
|
487
|
+
description: z.ZodDefault<z.ZodString>;
|
|
488
|
+
effective_schema: z.ZodDefault<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
489
|
+
name: z.ZodString;
|
|
490
|
+
regimes: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>, z.ZodNull]>>;
|
|
491
|
+
retention_days: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
492
|
+
schema: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
493
|
+
content: z.ZodOptional<z.ZodString>;
|
|
494
|
+
id: z.ZodOptional<z.ZodString>;
|
|
495
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
496
|
+
}, z.core.$strict>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
497
|
+
subject_kinds: z.ZodArray<z.ZodString>;
|
|
498
|
+
updated_at: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
499
|
+
}, z.core.$strict>;
|
|
500
|
+
export type StateDeclaration = z.infer<typeof stateDeclaration>;
|
|
501
|
+
export declare const stateTemplateDocument: z.ZodObject<{
|
|
502
|
+
declarations: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
503
|
+
check: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
504
|
+
content: z.ZodOptional<z.ZodString>;
|
|
505
|
+
id: z.ZodOptional<z.ZodString>;
|
|
506
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
507
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
508
|
+
schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
509
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
510
|
+
description: z.ZodDefault<z.ZodString>;
|
|
511
|
+
kind: z.ZodDefault<z.ZodLiteral<"state-template">>;
|
|
512
|
+
name: z.ZodString;
|
|
513
|
+
parameters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
514
|
+
reconcile: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
515
|
+
close: z.ZodObject<{
|
|
516
|
+
content: z.ZodOptional<z.ZodString>;
|
|
517
|
+
id: z.ZodOptional<z.ZodString>;
|
|
518
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
519
|
+
}, z.core.$strict>;
|
|
520
|
+
orphans: z.ZodObject<{
|
|
521
|
+
content: z.ZodOptional<z.ZodString>;
|
|
522
|
+
id: z.ZodOptional<z.ZodString>;
|
|
523
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
524
|
+
}, z.core.$strict>;
|
|
525
|
+
resolutions: z.ZodObject<{
|
|
526
|
+
content: z.ZodOptional<z.ZodString>;
|
|
527
|
+
id: z.ZodOptional<z.ZodString>;
|
|
528
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
529
|
+
}, z.core.$strict>;
|
|
530
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
531
|
+
regimes: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
532
|
+
schema: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
533
|
+
content: z.ZodOptional<z.ZodString>;
|
|
534
|
+
id: z.ZodOptional<z.ZodString>;
|
|
535
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
536
|
+
}, z.core.$strict>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
537
|
+
template_jq: z.ZodDefault<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
538
|
+
description: z.ZodDefault<z.ZodString>;
|
|
539
|
+
jq: z.ZodObject<{
|
|
540
|
+
content: z.ZodOptional<z.ZodString>;
|
|
541
|
+
id: z.ZodOptional<z.ZodString>;
|
|
542
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
543
|
+
}, z.core.$strict>;
|
|
544
|
+
params: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
545
|
+
purpose: z.ZodEnum<{
|
|
546
|
+
input: "input";
|
|
547
|
+
update: "update";
|
|
548
|
+
}>;
|
|
549
|
+
reads: z.ZodDefault<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
550
|
+
writes: z.ZodDefault<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
551
|
+
}, z.core.$strict>>, z.ZodNull]>>;
|
|
552
|
+
trace: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
553
|
+
}, z.core.$strict>;
|
|
554
|
+
export type StateTemplateDocument = z.infer<typeof stateTemplateDocument>;
|
|
555
|
+
export declare const templateJq: z.ZodObject<{
|
|
556
|
+
description: z.ZodDefault<z.ZodString>;
|
|
557
|
+
jq: z.ZodObject<{
|
|
558
|
+
content: z.ZodOptional<z.ZodString>;
|
|
559
|
+
id: z.ZodOptional<z.ZodString>;
|
|
560
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
561
|
+
}, z.core.$strict>;
|
|
562
|
+
params: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
563
|
+
purpose: z.ZodEnum<{
|
|
564
|
+
input: "input";
|
|
565
|
+
update: "update";
|
|
566
|
+
}>;
|
|
567
|
+
reads: z.ZodDefault<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
568
|
+
writes: z.ZodDefault<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
569
|
+
}, z.core.$strict>;
|
|
570
|
+
export type TemplateJq = z.infer<typeof templateJq>;
|
|
571
|
+
export declare const templateReconcile: z.ZodObject<{
|
|
572
|
+
close: z.ZodObject<{
|
|
573
|
+
content: z.ZodOptional<z.ZodString>;
|
|
574
|
+
id: z.ZodOptional<z.ZodString>;
|
|
575
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
576
|
+
}, z.core.$strict>;
|
|
577
|
+
orphans: z.ZodObject<{
|
|
578
|
+
content: z.ZodOptional<z.ZodString>;
|
|
579
|
+
id: z.ZodOptional<z.ZodString>;
|
|
580
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
581
|
+
}, z.core.$strict>;
|
|
582
|
+
resolutions: z.ZodObject<{
|
|
583
|
+
content: z.ZodOptional<z.ZodString>;
|
|
584
|
+
id: z.ZodOptional<z.ZodString>;
|
|
585
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
586
|
+
}, z.core.$strict>;
|
|
587
|
+
}, z.core.$strict>;
|
|
588
|
+
export type TemplateReconcile = z.infer<typeof templateReconcile>;
|
|
589
|
+
export declare const templateDeclarations: z.ZodObject<{
|
|
590
|
+
check: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
591
|
+
content: z.ZodOptional<z.ZodString>;
|
|
592
|
+
id: z.ZodOptional<z.ZodString>;
|
|
593
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
594
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
595
|
+
schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
596
|
+
}, z.core.$strict>;
|
|
597
|
+
export type TemplateDeclarations = z.infer<typeof templateDeclarations>;
|
|
598
|
+
export declare const policyBody: z.ZodObject<{
|
|
599
|
+
condition: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
600
|
+
content: z.ZodOptional<z.ZodString>;
|
|
601
|
+
id: z.ZodOptional<z.ZodString>;
|
|
602
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
603
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
604
|
+
policy_data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
605
|
+
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
606
|
+
}, z.core.$strip>;
|
|
607
|
+
export type PolicyBody = z.infer<typeof policyBody>;
|
|
608
|
+
export declare const roleBody: z.ZodObject<{
|
|
609
|
+
allow_all: z.ZodDefault<z.ZodBoolean>;
|
|
610
|
+
base_tier: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
611
|
+
condition: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
612
|
+
content: z.ZodOptional<z.ZodString>;
|
|
613
|
+
id: z.ZodOptional<z.ZodString>;
|
|
614
|
+
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
615
|
+
}, z.core.$strict>, z.ZodNull]>>;
|
|
616
|
+
description: z.ZodString;
|
|
617
|
+
grants: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
618
|
+
none: "none";
|
|
619
|
+
read: "read";
|
|
620
|
+
write: "write";
|
|
621
|
+
}>>;
|
|
622
|
+
name: z.ZodString;
|
|
623
|
+
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
624
|
+
}, z.core.$strip>;
|
|
625
|
+
export type RoleBody = z.infer<typeof roleBody>;
|
|
626
|
+
//# sourceMappingURL=served.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"served.d.ts","sourceRoot":"","sources":["../../src/schemas/served.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AACzE,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAMvD,eAAO,MAAM,cAAc;;;;;;;;kBAA2B,CAAC;AACvD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAC5D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;kBAAwB,CAAC;AACjD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AACtD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAwB,CAAC;AACjD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AACtD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAyB,CAAC;AACnD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AACxD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAuB,CAAC;AAC/C,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AACpD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA8B,CAAC;AAC7D,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAClE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAoC,CAAC;AACzE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC9E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAqC,CAAC;AAC3E,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAChF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;iBAA4B,CAAC;AACzD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAC9D,eAAO,MAAM,WAAW;;;;;;;;;;;;kBAAwB,CAAC;AACjD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AACtD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAuB,CAAC;AAC/C,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AACpD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAyB,CAAC;AACnD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AACxD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;kBAA6B,CAAC;AAC3D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAChE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAkC,CAAC;AACrE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,eAAO,MAAM,UAAU;;;;;;;;;;;;;;kBAA4B,CAAC;AACpD,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AACpD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;kBAAmC,CAAC;AAClE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAClE,eAAO,MAAM,oBAAoB;;;;;;;kBAAsC,CAAC;AACxE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACxE,eAAO,MAAM,UAAU;;;;;;;;iBAAyB,CAAC;AACjD,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AACpD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;iBAA2B,CAAC;AACjD,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/** Generated served-document schema aliases and templated-text re-exports. */
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import * as generated from '../generated/served-schemas';
|
|
4
|
+
export { templatedText, requiredTemplatedText } from '../templated-text';
|
|
5
|
+
// Served-document schemas are GENERATED from the platform contract JSON-schema
|
|
6
|
+
// bundle (src/generated/served-schemas.ts) and re-exported here under the names the
|
|
7
|
+
// rest of the client uses. The generator maps every `x-tai42-templated-text` field
|
|
8
|
+
// to the shared `templatedText` zod, so a served body can never be a bare string.
|
|
9
|
+
export const stateInjection = generated.stateInjection;
|
|
10
|
+
export const stateUpdate = generated.stateUpdate;
|
|
11
|
+
export const stateAttach = generated.stateAttach;
|
|
12
|
+
export const stateBinding = generated.stateBinding;
|
|
13
|
+
export const presetBody = generated.presetBody;
|
|
14
|
+
export const conversationRoute = generated.conversationRoute;
|
|
15
|
+
export const conversationRouteCreate = generated.conversationRouteCreate;
|
|
16
|
+
export const targetConversationConfig = generated.targetConversationConfig;
|
|
17
|
+
export const channelTemplate = generated.channelTemplate;
|
|
18
|
+
export const hookSubject = generated.hookSubject;
|
|
19
|
+
export const hookParams = generated.hookParams;
|
|
20
|
+
export const hookRegister = generated.hookRegister;
|
|
21
|
+
export const stateDeclaration = generated.stateDeclaration;
|
|
22
|
+
export const stateTemplateDocument = generated.stateTemplateDocument;
|
|
23
|
+
export const templateJq = generated.stateTemplateJq;
|
|
24
|
+
export const templateReconcile = generated.stateTemplateReconcile;
|
|
25
|
+
export const templateDeclarations = generated.stateTemplateDeclarations;
|
|
26
|
+
export const policyBody = generated.accessPolicy;
|
|
27
|
+
export const roleBody = generated.roleDefinition;
|
|
28
|
+
//# sourceMappingURL=served.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"served.js","sourceRoot":"","sources":["../../src/schemas/served.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,SAAS,MAAM,6BAA6B,CAAC;AAEzD,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAGzE,+EAA+E;AAC/E,oFAAoF;AACpF,mFAAmF;AACnF,kFAAkF;AAClF,MAAM,CAAC,MAAM,cAAc,GAAG,SAAS,CAAC,cAAc,CAAC;AAEvD,MAAM,CAAC,MAAM,WAAW,GAAG,SAAS,CAAC,WAAW,CAAC;AAEjD,MAAM,CAAC,MAAM,WAAW,GAAG,SAAS,CAAC,WAAW,CAAC;AAEjD,MAAM,CAAC,MAAM,YAAY,GAAG,SAAS,CAAC,YAAY,CAAC;AAEnD,MAAM,CAAC,MAAM,UAAU,GAAG,SAAS,CAAC,UAAU,CAAC;AAE/C,MAAM,CAAC,MAAM,iBAAiB,GAAG,SAAS,CAAC,iBAAiB,CAAC;AAE7D,MAAM,CAAC,MAAM,uBAAuB,GAAG,SAAS,CAAC,uBAAuB,CAAC;AAEzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,SAAS,CAAC,wBAAwB,CAAC;AAE3E,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAAC,eAAe,CAAC;AAEzD,MAAM,CAAC,MAAM,WAAW,GAAG,SAAS,CAAC,WAAW,CAAC;AAEjD,MAAM,CAAC,MAAM,UAAU,GAAG,SAAS,CAAC,UAAU,CAAC;AAE/C,MAAM,CAAC,MAAM,YAAY,GAAG,SAAS,CAAC,YAAY,CAAC;AAEnD,MAAM,CAAC,MAAM,gBAAgB,GAAG,SAAS,CAAC,gBAAgB,CAAC;AAE3D,MAAM,CAAC,MAAM,qBAAqB,GAAG,SAAS,CAAC,qBAAqB,CAAC;AAErE,MAAM,CAAC,MAAM,UAAU,GAAG,SAAS,CAAC,eAAe,CAAC;AAEpD,MAAM,CAAC,MAAM,iBAAiB,GAAG,SAAS,CAAC,sBAAsB,CAAC;AAElE,MAAM,CAAC,MAAM,oBAAoB,GAAG,SAAS,CAAC,yBAAyB,CAAC;AAExE,MAAM,CAAC,MAAM,UAAU,GAAG,SAAS,CAAC,YAAY,CAAC;AAEjD,MAAM,CAAC,MAAM,QAAQ,GAAG,SAAS,CAAC,cAAc,CAAC"}
|