@n8n/api-types 1.42.2 → 1.43.0
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/agent-sse.d.ts +15 -1
- package/dist/agents/agent-json-config.schema.d.ts +413 -0
- package/dist/agents/agent-json-config.schema.js +33 -2
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/background-job.d.ts +5 -2
- package/dist/agents/dto.d.ts +327 -2
- package/dist/agents/dto.js +43 -4
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/inline-agent-config.schema.d.ts +233 -0
- package/dist/agents/slack/index.d.ts +1 -0
- package/dist/agents/slack/index.js +1 -0
- package/dist/agents/slack/index.js.map +1 -1
- package/dist/agents/slack/manager-credential.d.ts +2 -0
- package/dist/agents/slack/manager-credential.js +7 -0
- package/dist/agents/slack/manager-credential.js.map +1 -0
- package/dist/agents/types.d.ts +17 -0
- package/dist/agents/types.js +2 -1
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat-hub.js.map +1 -1
- package/dist/community-node-types.d.ts +6 -0
- package/dist/dto/data-table/data-table-public.dto.d.ts +495 -0
- package/dist/dto/data-table/data-table-public.dto.js +239 -1
- package/dist/dto/data-table/data-table-public.dto.js.map +1 -1
- package/dist/dto/data-table/data-table-public.openapi.d.ts +116 -0
- package/dist/dto/data-table/data-table-public.openapi.js +91 -1
- package/dist/dto/data-table/data-table-public.openapi.js.map +1 -1
- package/dist/dto/data-table/list-data-table-content-query.dto.d.ts +17 -7
- package/dist/dto/data-table/list-data-table-content-query.dto.js +13 -14
- package/dist/dto/data-table/list-data-table-content-query.dto.js.map +1 -1
- package/dist/dto/index.d.ts +11 -9
- package/dist/dto/index.js +51 -15
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.d.ts +32 -6
- package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.js +2 -3
- package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.js.map +1 -1
- package/dist/dto/ldap/ldap-configuration-public.dto.d.ts +285 -0
- package/dist/dto/ldap/ldap-configuration-public.dto.js +76 -0
- package/dist/dto/ldap/ldap-configuration-public.dto.js.map +1 -0
- package/dist/dto/ldap/ldap-configuration-public.openapi.d.ts +90 -0
- package/dist/dto/ldap/ldap-configuration-public.openapi.js +94 -0
- package/dist/dto/ldap/ldap-configuration-public.openapi.js.map +1 -0
- package/dist/dto/ldap/ldap-sync-public.dto.d.ts +203 -0
- package/dist/dto/ldap/ldap-sync-public.dto.js +57 -0
- package/dist/dto/ldap/ldap-sync-public.dto.js.map +1 -0
- package/dist/dto/ldap/ldap-sync-public.openapi.d.ts +54 -0
- package/dist/dto/ldap/ldap-sync-public.openapi.js +58 -0
- package/dist/dto/ldap/ldap-sync-public.openapi.js.map +1 -0
- package/dist/dto/log-streaming/log-streaming-public.dto.d.ts +17 -0
- package/dist/dto/log-streaming/log-streaming-public.dto.js +17 -0
- package/dist/dto/log-streaming/log-streaming-public.dto.js.map +1 -0
- package/dist/dto/log-streaming/log-streaming-public.openapi.d.ts +6 -0
- package/dist/dto/log-streaming/log-streaming-public.openapi.js +10 -0
- package/dist/dto/log-streaming/log-streaming-public.openapi.js.map +1 -0
- package/dist/dto/otel/otel-settings-public.dto.d.ts +134 -0
- package/dist/dto/otel/otel-settings-public.dto.js +48 -0
- package/dist/dto/otel/otel-settings-public.dto.js.map +1 -0
- package/dist/dto/otel/otel-settings-public.openapi.d.ts +54 -0
- package/dist/dto/otel/otel-settings-public.openapi.js +70 -0
- package/dist/dto/otel/otel-settings-public.openapi.js.map +1 -0
- package/dist/dto/otel/otel-test-trace-public.dto.d.ts +61 -0
- package/dist/dto/otel/otel-test-trace-public.dto.js +31 -0
- package/dist/dto/otel/otel-test-trace-public.dto.js.map +1 -0
- package/dist/dto/otel/otel-test-trace-public.openapi.d.ts +43 -0
- package/dist/dto/otel/otel-test-trace-public.openapi.js +38 -0
- package/dist/dto/otel/otel-test-trace-public.openapi.js.map +1 -0
- package/dist/dto/otel/update-otel-settings.dto.js +1 -0
- package/dist/dto/otel/update-otel-settings.dto.js.map +1 -1
- package/dist/dto/packages/import-package-request.dto.d.ts +3 -1
- package/dist/dto/packages/import-package-request.dto.js +2 -0
- package/dist/dto/packages/import-package-request.dto.js.map +1 -1
- package/dist/dto/promotions/promotable-resource.dto.d.ts +13 -0
- package/dist/dto/promotions/promotable-resource.dto.js +11 -1
- package/dist/dto/promotions/promotable-resource.dto.js.map +1 -1
- package/dist/dto/promotions/promotion-common.dto.d.ts +1 -0
- package/dist/dto/promotions/promotion-common.dto.js +2 -1
- package/dist/dto/promotions/promotion-common.dto.js.map +1 -1
- package/dist/dto/promotions/promotion-operations.dto.d.ts +50 -0
- package/dist/dto/promotions/promotion-operations.dto.js +19 -1
- package/dist/dto/promotions/promotion-operations.dto.js.map +1 -1
- package/dist/dto/saml/saml-configuration-public.dto.d.ts +611 -0
- package/dist/dto/saml/saml-configuration-public.dto.js +239 -0
- package/dist/dto/saml/saml-configuration-public.dto.js.map +1 -0
- package/dist/frontend-settings.d.ts +1 -0
- package/dist/index.d.ts +8 -4
- package/dist/index.js +14 -7
- package/dist/index.js.map +1 -1
- package/dist/process-internals.d.ts +15 -0
- package/dist/{dto/ldap/ldap-configuration-response.dto.js → process-internals.js} +1 -1
- package/dist/process-internals.js.map +1 -0
- package/dist/schemas/breaking-changes.schema.d.ts +39 -36
- package/dist/schemas/breaking-changes.schema.js +9 -3
- package/dist/schemas/breaking-changes.schema.js.map +1 -1
- package/dist/schemas/instance-ai.schema.d.ts +615 -17
- package/dist/schemas/instance-ai.schema.js +32 -8
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/mcp-registry.schema.d.ts +0 -3
- package/dist/schemas/mcp-tool-permissions.schema.d.ts +33 -0
- package/dist/schemas/mcp-tool-permissions.schema.js +20 -0
- package/dist/schemas/mcp-tool-permissions.schema.js.map +1 -0
- package/dist/schemas/public-api-path-params.schema.d.ts +1 -0
- package/dist/schemas/public-api-path-params.schema.js +7 -2
- package/dist/schemas/public-api-path-params.schema.js.map +1 -1
- package/dist/schemas/public-api-uploaded-file.schema.d.ts +21 -0
- package/dist/schemas/public-api-uploaded-file.schema.js +15 -0
- package/dist/schemas/public-api-uploaded-file.schema.js.map +1 -0
- package/dist/workflow-suggestions.d.ts +48 -0
- package/dist/workflow-suggestions.js +3 -0
- package/dist/workflow-suggestions.js.map +1 -0
- package/package.json +9 -6
- package/dist/dto/data-table/update-data-table-column.dto.d.ts +0 -21
- package/dist/dto/data-table/update-data-table-column.dto.js +0 -17
- package/dist/dto/data-table/update-data-table-column.dto.js.map +0 -1
- package/dist/dto/ldap/ldap-configuration-response.dto.d.ts +0 -2
- package/dist/dto/ldap/ldap-configuration-response.dto.js.map +0 -1
- package/dist/dto/ldap/ldap-configuration.dto.d.ts +0 -47
- package/dist/dto/ldap/ldap-configuration.dto.js +0 -31
- package/dist/dto/ldap/ldap-configuration.dto.js.map +0 -1
- package/dist/dto/ldap/ldap-sync.dto.d.ts +0 -9
- package/dist/dto/ldap/ldap-sync.dto.js +0 -9
- package/dist/dto/ldap/ldap-sync.dto.js.map +0 -1
package/dist/agents/dto.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { agentSkillSchema } from './agent-skill.schema';
|
|
3
|
+
declare const AgentsSettingsDto_base: import("../zod-class").ZodClass<{
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
}, {
|
|
6
|
+
enabled: z.ZodBoolean;
|
|
7
|
+
}>;
|
|
8
|
+
export declare class AgentsSettingsDto extends AgentsSettingsDto_base {
|
|
9
|
+
}
|
|
3
10
|
export declare const AGENTS_LIST_SORT_OPTIONS: readonly ['name:asc', 'name:desc', 'createdAt:asc', 'createdAt:desc', 'updatedAt:asc', 'updatedAt:desc'];
|
|
4
11
|
export declare const AGENT_SESSION_STATUSES: readonly ['running', 'succeeded', 'error', 'cancelled', 'interrupted'];
|
|
5
12
|
export declare const AGENT_SESSION_ORIGINS: readonly ['preview', 'instance-ai', 'mcp', 'sub-agent', 'schedule', 'workflow', 'n8n_chat_production', 'slack', 'telegram', 'linear', 'discord', 'teams'];
|
|
@@ -11,6 +18,7 @@ declare const ListAgentsQueryDto_base: import("../zod-class").ZodClass<{
|
|
|
11
18
|
filter?: {
|
|
12
19
|
query?: string | undefined;
|
|
13
20
|
availableInMCP?: boolean | undefined;
|
|
21
|
+
availableInChat?: boolean | undefined;
|
|
14
22
|
} | undefined;
|
|
15
23
|
sortBy?: "createdAt:asc" | "createdAt:desc" | "name:asc" | "name:desc" | "updatedAt:asc" | "updatedAt:desc" | undefined;
|
|
16
24
|
}, {
|
|
@@ -19,6 +27,7 @@ declare const ListAgentsQueryDto_base: import("../zod-class").ZodClass<{
|
|
|
19
27
|
filter: z.ZodEffects<z.ZodOptional<z.ZodString>, {
|
|
20
28
|
query?: string | undefined;
|
|
21
29
|
availableInMCP?: boolean | undefined;
|
|
30
|
+
availableInChat?: boolean | undefined;
|
|
22
31
|
} | undefined, string | undefined>;
|
|
23
32
|
sortBy: z.ZodOptional<z.ZodEnum<["name:asc", "name:desc", "createdAt:asc", "createdAt:desc", "updatedAt:asc", "updatedAt:desc"]>>;
|
|
24
33
|
}>;
|
|
@@ -30,6 +39,7 @@ declare const ListAgentSessionsQueryDto_base: import("../zod-class").ZodClass<{
|
|
|
30
39
|
previewOnly?: boolean | undefined;
|
|
31
40
|
status?: "cancelled" | "error" | "interrupted" | "running" | "succeeded" | undefined;
|
|
32
41
|
origin?: "discord" | "instance-ai" | "linear" | "mcp" | "n8n_chat_production" | "preview" | "schedule" | "slack" | "sub-agent" | "teams" | "telegram" | "workflow" | undefined;
|
|
42
|
+
scope?: "all" | "mine" | undefined;
|
|
33
43
|
updatedAfter?: Date | undefined;
|
|
34
44
|
updatedBefore?: Date | undefined;
|
|
35
45
|
}, {
|
|
@@ -38,12 +48,13 @@ declare const ListAgentSessionsQueryDto_base: import("../zod-class").ZodClass<{
|
|
|
38
48
|
previewOnly: z.ZodOptional<z.ZodEffects<z.ZodEnum<["true", "false"]>, boolean, "false" | "true">>;
|
|
39
49
|
status: z.ZodOptional<z.ZodEnum<["running", "succeeded", "error", "cancelled", "interrupted"]>>;
|
|
40
50
|
origin: z.ZodOptional<z.ZodEnum<["preview", "instance-ai", "mcp", "sub-agent", "schedule", "workflow", "n8n_chat_production", "slack", "telegram", "linear", "discord", "teams"]>>;
|
|
51
|
+
scope: z.ZodOptional<z.ZodEnum<["all", "mine"]>>;
|
|
41
52
|
updatedAfter: z.ZodOptional<z.ZodDate>;
|
|
42
53
|
updatedBefore: z.ZodOptional<z.ZodDate>;
|
|
43
54
|
}>;
|
|
44
55
|
export declare class ListAgentSessionsQueryDto extends ListAgentSessionsQueryDto_base {
|
|
45
56
|
}
|
|
46
|
-
export type AgentSessionQueryFilters = Pick<ListAgentSessionsQueryDto, 'status' | 'origin' | 'updatedAfter' | 'updatedBefore' | 'previewOnly'>;
|
|
57
|
+
export type AgentSessionQueryFilters = Pick<ListAgentSessionsQueryDto, 'status' | 'origin' | 'scope' | 'updatedAfter' | 'updatedBefore' | 'previewOnly'>;
|
|
47
58
|
declare const AgentProviderModelsQueryDto_base: import("../zod-class").ZodClass<{
|
|
48
59
|
credentialId?: string | undefined;
|
|
49
60
|
}, {
|
|
@@ -70,6 +81,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
70
81
|
id?: string | undefined;
|
|
71
82
|
schema?: {
|
|
72
83
|
name: string;
|
|
84
|
+
description?: string | undefined;
|
|
73
85
|
model: string;
|
|
74
86
|
credential?: string | undefined;
|
|
75
87
|
modelDeploymentName?: string | undefined;
|
|
@@ -121,6 +133,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
121
133
|
agents?: {
|
|
122
134
|
agentId: string;
|
|
123
135
|
useWhen?: string | undefined;
|
|
136
|
+
enabled?: boolean | undefined;
|
|
124
137
|
}[] | undefined;
|
|
125
138
|
modelsByDifficulty?: {
|
|
126
139
|
low?: {
|
|
@@ -139,10 +152,12 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
139
152
|
} | undefined;
|
|
140
153
|
tools?: ({
|
|
141
154
|
type: "custom";
|
|
155
|
+
enabled?: boolean | undefined;
|
|
142
156
|
id: string;
|
|
143
157
|
requireApproval?: boolean | undefined;
|
|
144
158
|
} | {
|
|
145
159
|
type: "workflow";
|
|
160
|
+
enabled?: boolean | undefined;
|
|
146
161
|
workflowId?: string | undefined;
|
|
147
162
|
workflow: string;
|
|
148
163
|
name?: string | undefined;
|
|
@@ -157,6 +172,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
157
172
|
}> | undefined;
|
|
158
173
|
} | {
|
|
159
174
|
type: "node";
|
|
175
|
+
enabled?: boolean | undefined;
|
|
160
176
|
name: string;
|
|
161
177
|
description?: string | undefined;
|
|
162
178
|
inputSchema?: undefined;
|
|
@@ -177,6 +193,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
177
193
|
})[] | undefined;
|
|
178
194
|
skills?: {
|
|
179
195
|
type: "skill";
|
|
196
|
+
enabled?: boolean | undefined;
|
|
180
197
|
id: string;
|
|
181
198
|
}[] | undefined;
|
|
182
199
|
tasks?: {
|
|
@@ -341,6 +358,14 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
341
358
|
} | undefined;
|
|
342
359
|
toolCallConcurrency?: number | undefined;
|
|
343
360
|
maxIterations?: number | undefined;
|
|
361
|
+
guardrails?: {
|
|
362
|
+
budget?: {
|
|
363
|
+
enabled: boolean;
|
|
364
|
+
monthlyBudgetUsd?: number | undefined;
|
|
365
|
+
alertThresholdPercent?: number | undefined;
|
|
366
|
+
sessionCostCapUsd?: number | undefined;
|
|
367
|
+
} | undefined;
|
|
368
|
+
} | undefined;
|
|
344
369
|
} | undefined;
|
|
345
370
|
} | undefined;
|
|
346
371
|
tools?: Record<string, {
|
|
@@ -371,6 +396,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
371
396
|
id: z.ZodOptional<z.ZodString>;
|
|
372
397
|
schema: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
373
398
|
name: z.ZodString;
|
|
399
|
+
description: z.ZodOptional<z.ZodString>;
|
|
374
400
|
model: z.ZodUnion<[z.ZodLiteral<"">, z.ZodString]>;
|
|
375
401
|
credential: z.ZodOptional<z.ZodString>;
|
|
376
402
|
modelDeploymentName: z.ZodOptional<z.ZodString>;
|
|
@@ -584,12 +610,15 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
584
610
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
585
611
|
agentId: z.ZodString;
|
|
586
612
|
useWhen: z.ZodOptional<z.ZodString>;
|
|
613
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
587
614
|
}, "strict", z.ZodTypeAny, {
|
|
588
615
|
agentId: string;
|
|
589
616
|
useWhen?: string | undefined;
|
|
617
|
+
enabled?: boolean | undefined;
|
|
590
618
|
}, {
|
|
591
619
|
agentId: string;
|
|
592
620
|
useWhen?: string | undefined;
|
|
621
|
+
enabled?: boolean | undefined;
|
|
593
622
|
}>, "many">>;
|
|
594
623
|
modelsByDifficulty: z.ZodOptional<z.ZodObject<{
|
|
595
624
|
low: z.ZodOptional<z.ZodObject<{
|
|
@@ -654,6 +683,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
654
683
|
agents?: {
|
|
655
684
|
agentId: string;
|
|
656
685
|
useWhen?: string | undefined;
|
|
686
|
+
enabled?: boolean | undefined;
|
|
657
687
|
}[] | undefined;
|
|
658
688
|
modelsByDifficulty?: {
|
|
659
689
|
low?: {
|
|
@@ -674,6 +704,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
674
704
|
agents?: {
|
|
675
705
|
agentId: string;
|
|
676
706
|
useWhen?: string | undefined;
|
|
707
|
+
enabled?: boolean | undefined;
|
|
677
708
|
}[] | undefined;
|
|
678
709
|
modelsByDifficulty?: {
|
|
679
710
|
low?: {
|
|
@@ -692,18 +723,22 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
692
723
|
}>>;
|
|
693
724
|
tools: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
694
725
|
type: z.ZodLiteral<"custom">;
|
|
726
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
695
727
|
id: z.ZodString;
|
|
696
728
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
697
729
|
}, "strip", z.ZodTypeAny, {
|
|
698
730
|
type: "custom";
|
|
731
|
+
enabled?: boolean | undefined;
|
|
699
732
|
id: string;
|
|
700
733
|
requireApproval?: boolean | undefined;
|
|
701
734
|
}, {
|
|
702
735
|
type: "custom";
|
|
736
|
+
enabled?: boolean | undefined;
|
|
703
737
|
id: string;
|
|
704
738
|
requireApproval?: boolean | undefined;
|
|
705
739
|
}>, z.ZodObject<{
|
|
706
740
|
type: z.ZodLiteral<"workflow">;
|
|
741
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
707
742
|
workflowId: z.ZodOptional<z.ZodString>;
|
|
708
743
|
workflow: z.ZodString;
|
|
709
744
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -728,6 +763,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
728
763
|
}>]>>>;
|
|
729
764
|
}, "strict", z.ZodTypeAny, {
|
|
730
765
|
type: "workflow";
|
|
766
|
+
enabled?: boolean | undefined;
|
|
731
767
|
workflowId?: string | undefined;
|
|
732
768
|
workflow: string;
|
|
733
769
|
name?: string | undefined;
|
|
@@ -742,6 +778,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
742
778
|
}> | undefined;
|
|
743
779
|
}, {
|
|
744
780
|
type: "workflow";
|
|
781
|
+
enabled?: boolean | undefined;
|
|
745
782
|
workflowId?: string | undefined;
|
|
746
783
|
workflow: string;
|
|
747
784
|
name?: string | undefined;
|
|
@@ -756,6 +793,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
756
793
|
}> | undefined;
|
|
757
794
|
}>, z.ZodObject<{
|
|
758
795
|
type: z.ZodLiteral<"node">;
|
|
796
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
759
797
|
name: z.ZodString;
|
|
760
798
|
description: z.ZodOptional<z.ZodString>;
|
|
761
799
|
inputSchema: z.ZodOptional<z.ZodNever>;
|
|
@@ -813,6 +851,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
813
851
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
814
852
|
}, "strict", z.ZodTypeAny, {
|
|
815
853
|
type: "node";
|
|
854
|
+
enabled?: boolean | undefined;
|
|
816
855
|
name: string;
|
|
817
856
|
description?: string | undefined;
|
|
818
857
|
inputSchema?: undefined;
|
|
@@ -832,6 +871,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
832
871
|
requireApproval?: boolean | undefined;
|
|
833
872
|
}, {
|
|
834
873
|
type: "node";
|
|
874
|
+
enabled?: boolean | undefined;
|
|
835
875
|
name: string;
|
|
836
876
|
description?: string | undefined;
|
|
837
877
|
inputSchema?: undefined;
|
|
@@ -851,10 +891,12 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
851
891
|
requireApproval?: boolean | undefined;
|
|
852
892
|
}>]>, "many">, ({
|
|
853
893
|
type: "custom";
|
|
894
|
+
enabled?: boolean | undefined;
|
|
854
895
|
id: string;
|
|
855
896
|
requireApproval?: boolean | undefined;
|
|
856
897
|
} | {
|
|
857
898
|
type: "workflow";
|
|
899
|
+
enabled?: boolean | undefined;
|
|
858
900
|
workflowId?: string | undefined;
|
|
859
901
|
workflow: string;
|
|
860
902
|
name?: string | undefined;
|
|
@@ -869,6 +911,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
869
911
|
}> | undefined;
|
|
870
912
|
} | {
|
|
871
913
|
type: "node";
|
|
914
|
+
enabled?: boolean | undefined;
|
|
872
915
|
name: string;
|
|
873
916
|
description?: string | undefined;
|
|
874
917
|
inputSchema?: undefined;
|
|
@@ -888,10 +931,12 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
888
931
|
requireApproval?: boolean | undefined;
|
|
889
932
|
})[], ({
|
|
890
933
|
type: "custom";
|
|
934
|
+
enabled?: boolean | undefined;
|
|
891
935
|
id: string;
|
|
892
936
|
requireApproval?: boolean | undefined;
|
|
893
937
|
} | {
|
|
894
938
|
type: "workflow";
|
|
939
|
+
enabled?: boolean | undefined;
|
|
895
940
|
workflowId?: string | undefined;
|
|
896
941
|
workflow: string;
|
|
897
942
|
name?: string | undefined;
|
|
@@ -906,6 +951,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
906
951
|
}> | undefined;
|
|
907
952
|
} | {
|
|
908
953
|
type: "node";
|
|
954
|
+
enabled?: boolean | undefined;
|
|
909
955
|
name: string;
|
|
910
956
|
description?: string | undefined;
|
|
911
957
|
inputSchema?: undefined;
|
|
@@ -926,18 +972,23 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
926
972
|
})[]>>;
|
|
927
973
|
skills: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
928
974
|
type: z.ZodLiteral<"skill">;
|
|
975
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
929
976
|
id: z.ZodString;
|
|
930
977
|
}, "strip", z.ZodTypeAny, {
|
|
931
978
|
type: "skill";
|
|
979
|
+
enabled?: boolean | undefined;
|
|
932
980
|
id: string;
|
|
933
981
|
}, {
|
|
934
982
|
type: "skill";
|
|
983
|
+
enabled?: boolean | undefined;
|
|
935
984
|
id: string;
|
|
936
985
|
}>, "many">, {
|
|
937
986
|
type: "skill";
|
|
987
|
+
enabled?: boolean | undefined;
|
|
938
988
|
id: string;
|
|
939
989
|
}[], {
|
|
940
990
|
type: "skill";
|
|
991
|
+
enabled?: boolean | undefined;
|
|
941
992
|
id: string;
|
|
942
993
|
}[]>>;
|
|
943
994
|
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1851,6 +1902,48 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
1851
1902
|
}>>;
|
|
1852
1903
|
toolCallConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
1853
1904
|
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
1905
|
+
guardrails: z.ZodOptional<z.ZodObject<{
|
|
1906
|
+
budget: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1907
|
+
enabled: z.ZodBoolean;
|
|
1908
|
+
monthlyBudgetUsd: z.ZodOptional<z.ZodNumber>;
|
|
1909
|
+
alertThresholdPercent: z.ZodOptional<z.ZodNumber>;
|
|
1910
|
+
sessionCostCapUsd: z.ZodOptional<z.ZodNumber>;
|
|
1911
|
+
}, "strip", z.ZodTypeAny, {
|
|
1912
|
+
enabled: boolean;
|
|
1913
|
+
monthlyBudgetUsd?: number | undefined;
|
|
1914
|
+
alertThresholdPercent?: number | undefined;
|
|
1915
|
+
sessionCostCapUsd?: number | undefined;
|
|
1916
|
+
}, {
|
|
1917
|
+
enabled: boolean;
|
|
1918
|
+
monthlyBudgetUsd?: number | undefined;
|
|
1919
|
+
alertThresholdPercent?: number | undefined;
|
|
1920
|
+
sessionCostCapUsd?: number | undefined;
|
|
1921
|
+
}>, {
|
|
1922
|
+
enabled: boolean;
|
|
1923
|
+
monthlyBudgetUsd?: number | undefined;
|
|
1924
|
+
alertThresholdPercent?: number | undefined;
|
|
1925
|
+
sessionCostCapUsd?: number | undefined;
|
|
1926
|
+
}, {
|
|
1927
|
+
enabled: boolean;
|
|
1928
|
+
monthlyBudgetUsd?: number | undefined;
|
|
1929
|
+
alertThresholdPercent?: number | undefined;
|
|
1930
|
+
sessionCostCapUsd?: number | undefined;
|
|
1931
|
+
}>>;
|
|
1932
|
+
}, "strip", z.ZodTypeAny, {
|
|
1933
|
+
budget?: {
|
|
1934
|
+
enabled: boolean;
|
|
1935
|
+
monthlyBudgetUsd?: number | undefined;
|
|
1936
|
+
alertThresholdPercent?: number | undefined;
|
|
1937
|
+
sessionCostCapUsd?: number | undefined;
|
|
1938
|
+
} | undefined;
|
|
1939
|
+
}, {
|
|
1940
|
+
budget?: {
|
|
1941
|
+
enabled: boolean;
|
|
1942
|
+
monthlyBudgetUsd?: number | undefined;
|
|
1943
|
+
alertThresholdPercent?: number | undefined;
|
|
1944
|
+
sessionCostCapUsd?: number | undefined;
|
|
1945
|
+
} | undefined;
|
|
1946
|
+
}>>;
|
|
1854
1947
|
}, "strip", z.ZodTypeAny, {
|
|
1855
1948
|
reasoning?: "high" | "low" | "medium" | undefined;
|
|
1856
1949
|
promptCaching?: {
|
|
@@ -1866,6 +1959,14 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
1866
1959
|
} | undefined;
|
|
1867
1960
|
toolCallConcurrency?: number | undefined;
|
|
1868
1961
|
maxIterations?: number | undefined;
|
|
1962
|
+
guardrails?: {
|
|
1963
|
+
budget?: {
|
|
1964
|
+
enabled: boolean;
|
|
1965
|
+
monthlyBudgetUsd?: number | undefined;
|
|
1966
|
+
alertThresholdPercent?: number | undefined;
|
|
1967
|
+
sessionCostCapUsd?: number | undefined;
|
|
1968
|
+
} | undefined;
|
|
1969
|
+
} | undefined;
|
|
1869
1970
|
}, {
|
|
1870
1971
|
reasoning?: "high" | "low" | "medium" | undefined;
|
|
1871
1972
|
promptCaching?: {
|
|
@@ -1881,9 +1982,18 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
1881
1982
|
} | undefined;
|
|
1882
1983
|
toolCallConcurrency?: number | undefined;
|
|
1883
1984
|
maxIterations?: number | undefined;
|
|
1985
|
+
guardrails?: {
|
|
1986
|
+
budget?: {
|
|
1987
|
+
enabled: boolean;
|
|
1988
|
+
monthlyBudgetUsd?: number | undefined;
|
|
1989
|
+
alertThresholdPercent?: number | undefined;
|
|
1990
|
+
sessionCostCapUsd?: number | undefined;
|
|
1991
|
+
} | undefined;
|
|
1992
|
+
} | undefined;
|
|
1884
1993
|
}>>;
|
|
1885
1994
|
}, "strip", z.ZodTypeAny, {
|
|
1886
1995
|
name: string;
|
|
1996
|
+
description?: string | undefined;
|
|
1887
1997
|
model: string;
|
|
1888
1998
|
credential?: string | undefined;
|
|
1889
1999
|
modelDeploymentName?: string | undefined;
|
|
@@ -1935,6 +2045,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
1935
2045
|
agents?: {
|
|
1936
2046
|
agentId: string;
|
|
1937
2047
|
useWhen?: string | undefined;
|
|
2048
|
+
enabled?: boolean | undefined;
|
|
1938
2049
|
}[] | undefined;
|
|
1939
2050
|
modelsByDifficulty?: {
|
|
1940
2051
|
low?: {
|
|
@@ -1953,10 +2064,12 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
1953
2064
|
} | undefined;
|
|
1954
2065
|
tools?: ({
|
|
1955
2066
|
type: "custom";
|
|
2067
|
+
enabled?: boolean | undefined;
|
|
1956
2068
|
id: string;
|
|
1957
2069
|
requireApproval?: boolean | undefined;
|
|
1958
2070
|
} | {
|
|
1959
2071
|
type: "workflow";
|
|
2072
|
+
enabled?: boolean | undefined;
|
|
1960
2073
|
workflowId?: string | undefined;
|
|
1961
2074
|
workflow: string;
|
|
1962
2075
|
name?: string | undefined;
|
|
@@ -1971,6 +2084,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
1971
2084
|
}> | undefined;
|
|
1972
2085
|
} | {
|
|
1973
2086
|
type: "node";
|
|
2087
|
+
enabled?: boolean | undefined;
|
|
1974
2088
|
name: string;
|
|
1975
2089
|
description?: string | undefined;
|
|
1976
2090
|
inputSchema?: undefined;
|
|
@@ -1991,6 +2105,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
1991
2105
|
})[] | undefined;
|
|
1992
2106
|
skills?: {
|
|
1993
2107
|
type: "skill";
|
|
2108
|
+
enabled?: boolean | undefined;
|
|
1994
2109
|
id: string;
|
|
1995
2110
|
}[] | undefined;
|
|
1996
2111
|
tasks?: {
|
|
@@ -2155,9 +2270,18 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2155
2270
|
} | undefined;
|
|
2156
2271
|
toolCallConcurrency?: number | undefined;
|
|
2157
2272
|
maxIterations?: number | undefined;
|
|
2273
|
+
guardrails?: {
|
|
2274
|
+
budget?: {
|
|
2275
|
+
enabled: boolean;
|
|
2276
|
+
monthlyBudgetUsd?: number | undefined;
|
|
2277
|
+
alertThresholdPercent?: number | undefined;
|
|
2278
|
+
sessionCostCapUsd?: number | undefined;
|
|
2279
|
+
} | undefined;
|
|
2280
|
+
} | undefined;
|
|
2158
2281
|
} | undefined;
|
|
2159
2282
|
}, {
|
|
2160
2283
|
name: string;
|
|
2284
|
+
description?: string | undefined;
|
|
2161
2285
|
model: string;
|
|
2162
2286
|
credential?: string | undefined;
|
|
2163
2287
|
modelDeploymentName?: string | undefined;
|
|
@@ -2209,6 +2333,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2209
2333
|
agents?: {
|
|
2210
2334
|
agentId: string;
|
|
2211
2335
|
useWhen?: string | undefined;
|
|
2336
|
+
enabled?: boolean | undefined;
|
|
2212
2337
|
}[] | undefined;
|
|
2213
2338
|
modelsByDifficulty?: {
|
|
2214
2339
|
low?: {
|
|
@@ -2227,10 +2352,12 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2227
2352
|
} | undefined;
|
|
2228
2353
|
tools?: ({
|
|
2229
2354
|
type: "custom";
|
|
2355
|
+
enabled?: boolean | undefined;
|
|
2230
2356
|
id: string;
|
|
2231
2357
|
requireApproval?: boolean | undefined;
|
|
2232
2358
|
} | {
|
|
2233
2359
|
type: "workflow";
|
|
2360
|
+
enabled?: boolean | undefined;
|
|
2234
2361
|
workflowId?: string | undefined;
|
|
2235
2362
|
workflow: string;
|
|
2236
2363
|
name?: string | undefined;
|
|
@@ -2245,6 +2372,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2245
2372
|
}> | undefined;
|
|
2246
2373
|
} | {
|
|
2247
2374
|
type: "node";
|
|
2375
|
+
enabled?: boolean | undefined;
|
|
2248
2376
|
name: string;
|
|
2249
2377
|
description?: string | undefined;
|
|
2250
2378
|
inputSchema?: undefined;
|
|
@@ -2265,6 +2393,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2265
2393
|
})[] | undefined;
|
|
2266
2394
|
skills?: {
|
|
2267
2395
|
type: "skill";
|
|
2396
|
+
enabled?: boolean | undefined;
|
|
2268
2397
|
id: string;
|
|
2269
2398
|
}[] | undefined;
|
|
2270
2399
|
tasks?: {
|
|
@@ -2429,9 +2558,18 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2429
2558
|
} | undefined;
|
|
2430
2559
|
toolCallConcurrency?: number | undefined;
|
|
2431
2560
|
maxIterations?: number | undefined;
|
|
2561
|
+
guardrails?: {
|
|
2562
|
+
budget?: {
|
|
2563
|
+
enabled: boolean;
|
|
2564
|
+
monthlyBudgetUsd?: number | undefined;
|
|
2565
|
+
alertThresholdPercent?: number | undefined;
|
|
2566
|
+
sessionCostCapUsd?: number | undefined;
|
|
2567
|
+
} | undefined;
|
|
2568
|
+
} | undefined;
|
|
2432
2569
|
} | undefined;
|
|
2433
2570
|
}>, {
|
|
2434
2571
|
name: string;
|
|
2572
|
+
description?: string | undefined;
|
|
2435
2573
|
model: string;
|
|
2436
2574
|
credential?: string | undefined;
|
|
2437
2575
|
modelDeploymentName?: string | undefined;
|
|
@@ -2483,6 +2621,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2483
2621
|
agents?: {
|
|
2484
2622
|
agentId: string;
|
|
2485
2623
|
useWhen?: string | undefined;
|
|
2624
|
+
enabled?: boolean | undefined;
|
|
2486
2625
|
}[] | undefined;
|
|
2487
2626
|
modelsByDifficulty?: {
|
|
2488
2627
|
low?: {
|
|
@@ -2501,10 +2640,12 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2501
2640
|
} | undefined;
|
|
2502
2641
|
tools?: ({
|
|
2503
2642
|
type: "custom";
|
|
2643
|
+
enabled?: boolean | undefined;
|
|
2504
2644
|
id: string;
|
|
2505
2645
|
requireApproval?: boolean | undefined;
|
|
2506
2646
|
} | {
|
|
2507
2647
|
type: "workflow";
|
|
2648
|
+
enabled?: boolean | undefined;
|
|
2508
2649
|
workflowId?: string | undefined;
|
|
2509
2650
|
workflow: string;
|
|
2510
2651
|
name?: string | undefined;
|
|
@@ -2519,6 +2660,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2519
2660
|
}> | undefined;
|
|
2520
2661
|
} | {
|
|
2521
2662
|
type: "node";
|
|
2663
|
+
enabled?: boolean | undefined;
|
|
2522
2664
|
name: string;
|
|
2523
2665
|
description?: string | undefined;
|
|
2524
2666
|
inputSchema?: undefined;
|
|
@@ -2539,6 +2681,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2539
2681
|
})[] | undefined;
|
|
2540
2682
|
skills?: {
|
|
2541
2683
|
type: "skill";
|
|
2684
|
+
enabled?: boolean | undefined;
|
|
2542
2685
|
id: string;
|
|
2543
2686
|
}[] | undefined;
|
|
2544
2687
|
tasks?: {
|
|
@@ -2703,9 +2846,18 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2703
2846
|
} | undefined;
|
|
2704
2847
|
toolCallConcurrency?: number | undefined;
|
|
2705
2848
|
maxIterations?: number | undefined;
|
|
2849
|
+
guardrails?: {
|
|
2850
|
+
budget?: {
|
|
2851
|
+
enabled: boolean;
|
|
2852
|
+
monthlyBudgetUsd?: number | undefined;
|
|
2853
|
+
alertThresholdPercent?: number | undefined;
|
|
2854
|
+
sessionCostCapUsd?: number | undefined;
|
|
2855
|
+
} | undefined;
|
|
2856
|
+
} | undefined;
|
|
2706
2857
|
} | undefined;
|
|
2707
2858
|
}, {
|
|
2708
2859
|
name: string;
|
|
2860
|
+
description?: string | undefined;
|
|
2709
2861
|
model: string;
|
|
2710
2862
|
credential?: string | undefined;
|
|
2711
2863
|
modelDeploymentName?: string | undefined;
|
|
@@ -2757,6 +2909,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2757
2909
|
agents?: {
|
|
2758
2910
|
agentId: string;
|
|
2759
2911
|
useWhen?: string | undefined;
|
|
2912
|
+
enabled?: boolean | undefined;
|
|
2760
2913
|
}[] | undefined;
|
|
2761
2914
|
modelsByDifficulty?: {
|
|
2762
2915
|
low?: {
|
|
@@ -2775,10 +2928,12 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2775
2928
|
} | undefined;
|
|
2776
2929
|
tools?: ({
|
|
2777
2930
|
type: "custom";
|
|
2931
|
+
enabled?: boolean | undefined;
|
|
2778
2932
|
id: string;
|
|
2779
2933
|
requireApproval?: boolean | undefined;
|
|
2780
2934
|
} | {
|
|
2781
2935
|
type: "workflow";
|
|
2936
|
+
enabled?: boolean | undefined;
|
|
2782
2937
|
workflowId?: string | undefined;
|
|
2783
2938
|
workflow: string;
|
|
2784
2939
|
name?: string | undefined;
|
|
@@ -2793,6 +2948,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2793
2948
|
}> | undefined;
|
|
2794
2949
|
} | {
|
|
2795
2950
|
type: "node";
|
|
2951
|
+
enabled?: boolean | undefined;
|
|
2796
2952
|
name: string;
|
|
2797
2953
|
description?: string | undefined;
|
|
2798
2954
|
inputSchema?: undefined;
|
|
@@ -2813,6 +2969,7 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2813
2969
|
})[] | undefined;
|
|
2814
2970
|
skills?: {
|
|
2815
2971
|
type: "skill";
|
|
2972
|
+
enabled?: boolean | undefined;
|
|
2816
2973
|
id: string;
|
|
2817
2974
|
}[] | undefined;
|
|
2818
2975
|
tasks?: {
|
|
@@ -2977,6 +3134,14 @@ declare const CreateAgentDto_base: import("../zod-class").ZodClass<{
|
|
|
2977
3134
|
} | undefined;
|
|
2978
3135
|
toolCallConcurrency?: number | undefined;
|
|
2979
3136
|
maxIterations?: number | undefined;
|
|
3137
|
+
guardrails?: {
|
|
3138
|
+
budget?: {
|
|
3139
|
+
enabled: boolean;
|
|
3140
|
+
monthlyBudgetUsd?: number | undefined;
|
|
3141
|
+
alertThresholdPercent?: number | undefined;
|
|
3142
|
+
sessionCostCapUsd?: number | undefined;
|
|
3143
|
+
} | undefined;
|
|
3144
|
+
} | undefined;
|
|
2980
3145
|
} | undefined;
|
|
2981
3146
|
}>>;
|
|
2982
3147
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -3409,9 +3574,10 @@ export declare const agentChatAttachmentSchema: z.ZodObject<{
|
|
|
3409
3574
|
data: string;
|
|
3410
3575
|
}>;
|
|
3411
3576
|
export type AgentChatAttachmentPayload = z.infer<typeof agentChatAttachmentSchema>;
|
|
3412
|
-
declare const agentChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
3577
|
+
declare const agentChatMessageSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
3413
3578
|
message: z.ZodString;
|
|
3414
3579
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3580
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
3415
3581
|
newSession: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3416
3582
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3417
3583
|
fileName: z.ZodString;
|
|
@@ -3429,6 +3595,27 @@ declare const agentChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3429
3595
|
}, "strip", z.ZodTypeAny, {
|
|
3430
3596
|
message: string;
|
|
3431
3597
|
sessionId?: string | undefined;
|
|
3598
|
+
messageId?: string | undefined;
|
|
3599
|
+
newSession?: true | undefined;
|
|
3600
|
+
attachments?: {
|
|
3601
|
+
fileName: string;
|
|
3602
|
+
mimeType: string;
|
|
3603
|
+
data: string;
|
|
3604
|
+
}[] | undefined;
|
|
3605
|
+
}, {
|
|
3606
|
+
message: string;
|
|
3607
|
+
sessionId?: string | undefined;
|
|
3608
|
+
messageId?: string | undefined;
|
|
3609
|
+
newSession?: true | undefined;
|
|
3610
|
+
attachments?: {
|
|
3611
|
+
fileName: string;
|
|
3612
|
+
mimeType: string;
|
|
3613
|
+
data: string;
|
|
3614
|
+
}[] | undefined;
|
|
3615
|
+
}>, {
|
|
3616
|
+
message: string;
|
|
3617
|
+
sessionId?: string | undefined;
|
|
3618
|
+
messageId?: string | undefined;
|
|
3432
3619
|
newSession?: true | undefined;
|
|
3433
3620
|
attachments?: {
|
|
3434
3621
|
fileName: string;
|
|
@@ -3438,6 +3625,7 @@ declare const agentChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3438
3625
|
}, {
|
|
3439
3626
|
message: string;
|
|
3440
3627
|
sessionId?: string | undefined;
|
|
3628
|
+
messageId?: string | undefined;
|
|
3441
3629
|
newSession?: true | undefined;
|
|
3442
3630
|
attachments?: {
|
|
3443
3631
|
fileName: string;
|
|
@@ -3447,6 +3635,7 @@ declare const agentChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3447
3635
|
}>, {
|
|
3448
3636
|
message: string;
|
|
3449
3637
|
sessionId?: string | undefined;
|
|
3638
|
+
messageId?: string | undefined;
|
|
3450
3639
|
newSession?: true | undefined;
|
|
3451
3640
|
attachments?: {
|
|
3452
3641
|
fileName: string;
|
|
@@ -3456,6 +3645,7 @@ declare const agentChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3456
3645
|
}, {
|
|
3457
3646
|
message: string;
|
|
3458
3647
|
sessionId?: string | undefined;
|
|
3648
|
+
messageId?: string | undefined;
|
|
3459
3649
|
newSession?: true | undefined;
|
|
3460
3650
|
attachments?: {
|
|
3461
3651
|
fileName: string;
|
|
@@ -3466,6 +3656,7 @@ declare const agentChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3466
3656
|
declare const AgentChatMessageDto_base: import("../zod-class").ZodClass<{
|
|
3467
3657
|
message: string;
|
|
3468
3658
|
sessionId?: string | undefined;
|
|
3659
|
+
messageId?: string | undefined;
|
|
3469
3660
|
newSession?: true | undefined;
|
|
3470
3661
|
attachments?: {
|
|
3471
3662
|
fileName: string;
|
|
@@ -3475,6 +3666,7 @@ declare const AgentChatMessageDto_base: import("../zod-class").ZodClass<{
|
|
|
3475
3666
|
}, {
|
|
3476
3667
|
message: z.ZodString;
|
|
3477
3668
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3669
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
3478
3670
|
newSession: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3479
3671
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3480
3672
|
fileName: z.ZodString;
|
|
@@ -3495,6 +3687,7 @@ export declare class AgentChatMessageDto extends AgentChatMessageDto_base {
|
|
|
3495
3687
|
static safeParse(data: unknown): z.SafeParseReturnType<{
|
|
3496
3688
|
message: string;
|
|
3497
3689
|
sessionId?: string | undefined;
|
|
3690
|
+
messageId?: string | undefined;
|
|
3498
3691
|
newSession?: true | undefined;
|
|
3499
3692
|
attachments?: {
|
|
3500
3693
|
fileName: string;
|
|
@@ -3504,6 +3697,7 @@ export declare class AgentChatMessageDto extends AgentChatMessageDto_base {
|
|
|
3504
3697
|
}, {
|
|
3505
3698
|
message: string;
|
|
3506
3699
|
sessionId?: string | undefined;
|
|
3700
|
+
messageId?: string | undefined;
|
|
3507
3701
|
newSession?: true | undefined;
|
|
3508
3702
|
attachments?: {
|
|
3509
3703
|
fileName: string;
|
|
@@ -3514,6 +3708,7 @@ export declare class AgentChatMessageDto extends AgentChatMessageDto_base {
|
|
|
3514
3708
|
static parse(data: unknown): {
|
|
3515
3709
|
message: string;
|
|
3516
3710
|
sessionId?: string | undefined;
|
|
3711
|
+
messageId?: string | undefined;
|
|
3517
3712
|
newSession?: true | undefined;
|
|
3518
3713
|
attachments?: {
|
|
3519
3714
|
fileName: string;
|
|
@@ -3529,6 +3724,22 @@ declare const AgentChatQueueUpdateDto_base: import("../zod-class").ZodClass<{
|
|
|
3529
3724
|
}>;
|
|
3530
3725
|
export declare class AgentChatQueueUpdateDto extends AgentChatQueueUpdateDto_base {
|
|
3531
3726
|
}
|
|
3727
|
+
declare const AgentChatQueueSteerDto_base: import("../zod-class").ZodClass<{
|
|
3728
|
+
executionId: string;
|
|
3729
|
+
}, {
|
|
3730
|
+
executionId: z.ZodString;
|
|
3731
|
+
}>;
|
|
3732
|
+
export declare class AgentChatQueueSteerDto extends AgentChatQueueSteerDto_base {
|
|
3733
|
+
}
|
|
3734
|
+
declare const AgentChatQueueReorderDto_base: import("../zod-class").ZodClass<{
|
|
3735
|
+
targetQueueId: string;
|
|
3736
|
+
expectedQueueIds: string[];
|
|
3737
|
+
}, {
|
|
3738
|
+
targetQueueId: z.ZodString;
|
|
3739
|
+
expectedQueueIds: z.ZodArray<z.ZodString, "many">;
|
|
3740
|
+
}>;
|
|
3741
|
+
export declare class AgentChatQueueReorderDto extends AgentChatQueueReorderDto_base {
|
|
3742
|
+
}
|
|
3532
3743
|
declare const AgentChatResumeDto_base: import("../zod-class").ZodClass<{
|
|
3533
3744
|
runId: string;
|
|
3534
3745
|
toolCallId: string;
|
|
@@ -3540,6 +3751,81 @@ declare const AgentChatResumeDto_base: import("../zod-class").ZodClass<{
|
|
|
3540
3751
|
}>;
|
|
3541
3752
|
export declare class AgentChatResumeDto extends AgentChatResumeDto_base {
|
|
3542
3753
|
}
|
|
3754
|
+
declare const agentConnectIntegrationSchema: z.ZodEffects<z.ZodObject<{
|
|
3755
|
+
type: z.ZodString;
|
|
3756
|
+
credentialId: z.ZodString;
|
|
3757
|
+
replaces: z.ZodOptional<z.ZodObject<{
|
|
3758
|
+
credentialId: z.ZodString;
|
|
3759
|
+
}, "strip", z.ZodTypeAny, {
|
|
3760
|
+
credentialId: string;
|
|
3761
|
+
}, {
|
|
3762
|
+
credentialId: string;
|
|
3763
|
+
}>>;
|
|
3764
|
+
approval: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
3765
|
+
mode: z.ZodLiteral<"global">;
|
|
3766
|
+
}, "strict", z.ZodTypeAny, {
|
|
3767
|
+
mode: "global";
|
|
3768
|
+
}, {
|
|
3769
|
+
mode: "global";
|
|
3770
|
+
}>, z.ZodObject<{
|
|
3771
|
+
mode: z.ZodLiteral<"selected">;
|
|
3772
|
+
tools: z.ZodArray<z.ZodString, "many">;
|
|
3773
|
+
}, "strict", z.ZodTypeAny, {
|
|
3774
|
+
mode: "selected";
|
|
3775
|
+
tools: string[];
|
|
3776
|
+
}, {
|
|
3777
|
+
mode: "selected";
|
|
3778
|
+
tools: string[];
|
|
3779
|
+
}>]>>;
|
|
3780
|
+
}, "strip", z.ZodTypeAny, {
|
|
3781
|
+
type: string;
|
|
3782
|
+
credentialId: string;
|
|
3783
|
+
replaces?: {
|
|
3784
|
+
credentialId: string;
|
|
3785
|
+
} | undefined;
|
|
3786
|
+
approval?: {
|
|
3787
|
+
mode: "global";
|
|
3788
|
+
} | {
|
|
3789
|
+
mode: "selected";
|
|
3790
|
+
tools: string[];
|
|
3791
|
+
} | undefined;
|
|
3792
|
+
}, {
|
|
3793
|
+
type: string;
|
|
3794
|
+
credentialId: string;
|
|
3795
|
+
replaces?: {
|
|
3796
|
+
credentialId: string;
|
|
3797
|
+
} | undefined;
|
|
3798
|
+
approval?: {
|
|
3799
|
+
mode: "global";
|
|
3800
|
+
} | {
|
|
3801
|
+
mode: "selected";
|
|
3802
|
+
tools: string[];
|
|
3803
|
+
} | undefined;
|
|
3804
|
+
}>, {
|
|
3805
|
+
type: string;
|
|
3806
|
+
credentialId: string;
|
|
3807
|
+
replaces?: {
|
|
3808
|
+
credentialId: string;
|
|
3809
|
+
} | undefined;
|
|
3810
|
+
approval?: {
|
|
3811
|
+
mode: "global";
|
|
3812
|
+
} | {
|
|
3813
|
+
mode: "selected";
|
|
3814
|
+
tools: string[];
|
|
3815
|
+
} | undefined;
|
|
3816
|
+
}, {
|
|
3817
|
+
type: string;
|
|
3818
|
+
credentialId: string;
|
|
3819
|
+
replaces?: {
|
|
3820
|
+
credentialId: string;
|
|
3821
|
+
} | undefined;
|
|
3822
|
+
approval?: {
|
|
3823
|
+
mode: "global";
|
|
3824
|
+
} | {
|
|
3825
|
+
mode: "selected";
|
|
3826
|
+
tools: string[];
|
|
3827
|
+
} | undefined;
|
|
3828
|
+
}>;
|
|
3543
3829
|
declare const AgentConnectIntegrationDto_base: import("../zod-class").ZodClass<{
|
|
3544
3830
|
type: string;
|
|
3545
3831
|
credentialId: string;
|
|
@@ -3580,6 +3866,45 @@ declare const AgentConnectIntegrationDto_base: import("../zod-class").ZodClass<{
|
|
|
3580
3866
|
}>]>>;
|
|
3581
3867
|
}>;
|
|
3582
3868
|
export declare class AgentConnectIntegrationDto extends AgentConnectIntegrationDto_base {
|
|
3869
|
+
constructor(data: z.infer<typeof agentConnectIntegrationSchema>);
|
|
3870
|
+
static safeParse(data: unknown): z.SafeParseReturnType<{
|
|
3871
|
+
type: string;
|
|
3872
|
+
credentialId: string;
|
|
3873
|
+
replaces?: {
|
|
3874
|
+
credentialId: string;
|
|
3875
|
+
} | undefined;
|
|
3876
|
+
approval?: {
|
|
3877
|
+
mode: "global";
|
|
3878
|
+
} | {
|
|
3879
|
+
mode: "selected";
|
|
3880
|
+
tools: string[];
|
|
3881
|
+
} | undefined;
|
|
3882
|
+
}, {
|
|
3883
|
+
type: string;
|
|
3884
|
+
credentialId: string;
|
|
3885
|
+
replaces?: {
|
|
3886
|
+
credentialId: string;
|
|
3887
|
+
} | undefined;
|
|
3888
|
+
approval?: {
|
|
3889
|
+
mode: "global";
|
|
3890
|
+
} | {
|
|
3891
|
+
mode: "selected";
|
|
3892
|
+
tools: string[];
|
|
3893
|
+
} | undefined;
|
|
3894
|
+
}>;
|
|
3895
|
+
static parse(data: unknown): {
|
|
3896
|
+
type: string;
|
|
3897
|
+
credentialId: string;
|
|
3898
|
+
replaces?: {
|
|
3899
|
+
credentialId: string;
|
|
3900
|
+
} | undefined;
|
|
3901
|
+
approval?: {
|
|
3902
|
+
mode: "global";
|
|
3903
|
+
} | {
|
|
3904
|
+
mode: "selected";
|
|
3905
|
+
tools: string[];
|
|
3906
|
+
} | undefined;
|
|
3907
|
+
};
|
|
3583
3908
|
}
|
|
3584
3909
|
declare const AgentTeamsPackageDto_base: import("../zod-class").ZodClass<{
|
|
3585
3910
|
credentialId?: string | undefined;
|