@n8n/api-types 1.30.3 → 1.31.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-builder-interactive.d.ts +5 -182
- package/dist/agent-builder-interactive.js +6 -50
- package/dist/agent-builder-interactive.js.map +1 -1
- package/dist/agents/agent-interaction.schema.d.ts +262 -0
- package/dist/agents/agent-interaction.schema.js +56 -0
- package/dist/agents/agent-interaction.schema.js.map +1 -0
- package/dist/agents/agent-json-config.schema.d.ts +1878 -752
- package/dist/agents/agent-json-config.schema.js +82 -1
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/dto.d.ts +232 -103
- package/dist/agents/dto.js +8 -3
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/index.d.ts +2 -1
- package/dist/agents/index.js +2 -11
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/rich-card.schema.d.ts +108 -108
- package/dist/agents/types.d.ts +39 -8
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat-hub.d.ts +85 -85
- package/dist/dto/ai/ai-ask-request.dto.d.ts +13 -13
- package/dist/dto/ai/ai-build-request.dto.d.ts +3 -3
- package/dist/dto/ai/ai-truncate-messages-request.dto.d.ts +1 -1
- package/dist/dto/api-keys/list-api-keys-query.dto.d.ts +1 -1
- package/dist/dto/data-table/list-data-table-query.dto.d.ts +4 -4
- package/dist/dto/dynamic-node-parameters/action-result-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/base-dynamic-parameters-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/options-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/resource-locator-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/resource-mapper-fields-request.dto.d.ts +1 -1
- package/dist/dto/evaluations/evaluation-config.dto.d.ts +78 -78
- package/dist/dto/folders/list-folder-query.dto.d.ts +2 -2
- package/dist/dto/index.d.ts +2 -0
- package/dist/dto/index.js +7 -3
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/insights/list-workflow-query.dto.d.ts +1 -1
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.d.ts +8 -8
- package/dist/dto/instance-ai/instance-ai-rename-thread-request.dto.d.ts +1 -1
- package/dist/dto/oauth/oauth-client.dto.d.ts +4 -4
- package/dist/dto/oidc/config.dto.d.ts +1 -1
- package/dist/dto/packages/import-package-request.dto.d.ts +11 -5
- package/dist/dto/packages/import-package-request.dto.js +19 -19
- package/dist/dto/packages/import-package-request.dto.js.map +1 -1
- package/dist/dto/project/update-project.dto.d.ts +2 -2
- package/dist/dto/roles/role-member.schema.d.ts +2 -2
- package/dist/dto/roles/role-members-response.dto.d.ts +3 -3
- package/dist/dto/roles/role-project-members-response.dto.d.ts +3 -3
- package/dist/dto/roles/update-role.dto.d.ts +1 -1
- package/dist/dto/security-settings/security-policy.dto.d.ts +32 -0
- package/dist/dto/security-settings/security-policy.dto.js +17 -0
- package/dist/dto/security-settings/security-policy.dto.js.map +1 -0
- package/dist/dto/security-settings/security-settings.dto.d.ts +20 -0
- package/dist/dto/security-settings/security-settings.dto.js +4 -0
- package/dist/dto/security-settings/security-settings.dto.js.map +1 -1
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +9 -9
- package/dist/dto/variables/update-variable-request.dto.d.ts +1 -1
- package/dist/dto/workflow-history/update-workflow-history-version.dto.d.ts +1 -1
- package/dist/dto/workflows/activate-workflow.dto.d.ts +1 -1
- package/dist/dto/workflows/base-workflow.dto.d.ts +7 -7
- package/dist/dto/workflows/create-workflow.dto.d.ts +8 -8
- package/dist/dto/workflows/get-resource-dependencies.dto.d.ts +1 -1
- package/dist/dto/workflows/get-resource-dependency-counts.dto.d.ts +1 -1
- package/dist/dto/workflows/manual-run.dto.d.ts +112 -0
- package/dist/dto/workflows/manual-run.dto.js +51 -0
- package/dist/dto/workflows/manual-run.dto.js.map +1 -0
- package/dist/dto/workflows/update-workflow.dto.d.ts +8 -8
- package/dist/frontend-settings.d.ts +4 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/instance-registry-types.d.ts +16 -16
- package/dist/schemas/agent-run-reducer.js +61 -1
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/breaking-changes.schema.d.ts +128 -128
- package/dist/schemas/credential-resolver.schema.d.ts +8 -8
- package/dist/schemas/credential-response.schema.d.ts +2 -2
- package/dist/schemas/data-table.schema.d.ts +6 -6
- package/dist/schemas/encryption-key.schema.d.ts +6 -6
- package/dist/schemas/eval-collections.schema.d.ts +3 -3
- package/dist/schemas/favorites.schema.d.ts +2 -2
- package/dist/schemas/favorites.schema.js +7 -1
- package/dist/schemas/favorites.schema.js.map +1 -1
- package/dist/schemas/insights.schema.d.ts +22 -22
- package/dist/schemas/instance-ai.schema.d.ts +599 -419
- package/dist/schemas/instance-ai.schema.js +55 -8
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/secrets-provider.schema.d.ts +16 -16
- package/dist/schemas/source-controlled-file.schema.d.ts +6 -6
- package/dist/schemas/user.schema.d.ts +18 -18
- package/dist/schemas/workflow-execution-status.schema.d.ts +4 -4
- package/dist/schemas/workflow-publication-status.schema.d.ts +2 -2
- package/dist/workflow-reviews-policy.d.ts +9 -0
- package/dist/workflow-reviews-policy.js +8 -0
- package/dist/workflow-reviews-policy.js.map +1 -0
- package/package.json +9 -8
package/dist/agents/types.d.ts
CHANGED
|
@@ -102,6 +102,37 @@ export interface AgentVersionListItemDto {
|
|
|
102
102
|
author: string;
|
|
103
103
|
isActive: boolean;
|
|
104
104
|
}
|
|
105
|
+
export interface AgentCapabilityModel {
|
|
106
|
+
provider: string;
|
|
107
|
+
model: string;
|
|
108
|
+
}
|
|
109
|
+
export interface AgentCapabilityChannel {
|
|
110
|
+
type: string;
|
|
111
|
+
}
|
|
112
|
+
export interface AgentCapabilityTool {
|
|
113
|
+
type: 'custom' | 'workflow' | 'node';
|
|
114
|
+
name: string;
|
|
115
|
+
nodeType?: string;
|
|
116
|
+
nodeTypeVersion?: number;
|
|
117
|
+
}
|
|
118
|
+
export interface AgentCapabilitySkill {
|
|
119
|
+
id: string;
|
|
120
|
+
name: string;
|
|
121
|
+
}
|
|
122
|
+
export interface AgentCapabilityTask {
|
|
123
|
+
id: string;
|
|
124
|
+
name: string;
|
|
125
|
+
enabled: boolean;
|
|
126
|
+
}
|
|
127
|
+
export interface AgentCapabilitySummary {
|
|
128
|
+
id: string;
|
|
129
|
+
name: string;
|
|
130
|
+
model: AgentCapabilityModel | null;
|
|
131
|
+
channels: AgentCapabilityChannel[];
|
|
132
|
+
tools: AgentCapabilityTool[];
|
|
133
|
+
skills: AgentCapabilitySkill[];
|
|
134
|
+
tasks: AgentCapabilityTask[];
|
|
135
|
+
}
|
|
105
136
|
export interface AgentPersistedMessageContentPart {
|
|
106
137
|
type: 'text' | 'reasoning' | 'tool-call' | (string & {});
|
|
107
138
|
text?: string;
|
|
@@ -137,13 +168,13 @@ export declare const agentBuilderAdminSettingsSchema: z.ZodDiscriminatedUnion<"m
|
|
|
137
168
|
}, "strip", z.ZodTypeAny, {
|
|
138
169
|
provider: string;
|
|
139
170
|
credentialId: string;
|
|
140
|
-
mode: "custom";
|
|
141
171
|
modelName: string;
|
|
172
|
+
mode: "custom";
|
|
142
173
|
}, {
|
|
143
174
|
provider: string;
|
|
144
175
|
credentialId: string;
|
|
145
|
-
mode: "custom";
|
|
146
176
|
modelName: string;
|
|
177
|
+
mode: "custom";
|
|
147
178
|
}>]>;
|
|
148
179
|
export type AgentBuilderAdminSettings = z.infer<typeof agentBuilderAdminSettingsSchema>;
|
|
149
180
|
export declare const agentBuilderAdminSettingsResponseSchema: z.ZodObject<{
|
|
@@ -161,13 +192,13 @@ export declare const agentBuilderAdminSettingsResponseSchema: z.ZodObject<{
|
|
|
161
192
|
}, "strip", z.ZodTypeAny, {
|
|
162
193
|
provider: string;
|
|
163
194
|
credentialId: string;
|
|
164
|
-
mode: "custom";
|
|
165
195
|
modelName: string;
|
|
196
|
+
mode: "custom";
|
|
166
197
|
}, {
|
|
167
198
|
provider: string;
|
|
168
199
|
credentialId: string;
|
|
169
|
-
mode: "custom";
|
|
170
200
|
modelName: string;
|
|
201
|
+
mode: "custom";
|
|
171
202
|
}>]>;
|
|
172
203
|
isConfigured: z.ZodBoolean;
|
|
173
204
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -176,8 +207,8 @@ export declare const agentBuilderAdminSettingsResponseSchema: z.ZodObject<{
|
|
|
176
207
|
} | {
|
|
177
208
|
provider: string;
|
|
178
209
|
credentialId: string;
|
|
179
|
-
mode: "custom";
|
|
180
210
|
modelName: string;
|
|
211
|
+
mode: "custom";
|
|
181
212
|
};
|
|
182
213
|
isConfigured: boolean;
|
|
183
214
|
}, {
|
|
@@ -186,8 +217,8 @@ export declare const agentBuilderAdminSettingsResponseSchema: z.ZodObject<{
|
|
|
186
217
|
} | {
|
|
187
218
|
provider: string;
|
|
188
219
|
credentialId: string;
|
|
189
|
-
mode: "custom";
|
|
190
220
|
modelName: string;
|
|
221
|
+
mode: "custom";
|
|
191
222
|
};
|
|
192
223
|
isConfigured: boolean;
|
|
193
224
|
}>;
|
|
@@ -206,13 +237,13 @@ export declare const AgentBuilderAdminSettingsUpdateDto: z.ZodDiscriminatedUnion
|
|
|
206
237
|
}, "strip", z.ZodTypeAny, {
|
|
207
238
|
provider: string;
|
|
208
239
|
credentialId: string;
|
|
209
|
-
mode: "custom";
|
|
210
240
|
modelName: string;
|
|
241
|
+
mode: "custom";
|
|
211
242
|
}, {
|
|
212
243
|
provider: string;
|
|
213
244
|
credentialId: string;
|
|
214
|
-
mode: "custom";
|
|
215
245
|
modelName: string;
|
|
246
|
+
mode: "custom";
|
|
216
247
|
}>]>;
|
|
217
248
|
export type AgentBuilderAdminSettingsUpdateRequest = AgentBuilderAdminSettings;
|
|
218
249
|
export declare const agentBuilderStatusResponseSchema: z.ZodObject<{
|
package/dist/agents/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/agents/types.ts"],"names":[],"mappings":";;;AAAA,+CAOsB;AACtB,6BAAwB;AAKX,QAAA,gCAAgC,GAAG;IAC/C,uCAAwB;IACxB,iDAAkC;IAClC,qCAAsB;IACtB,yCAA0B;IAC1B,qCAAsB;IACtB,gCAAiB;CACR,CAAC;AAEE,QAAA,0CAA0C,GAAG;IACzD,qBAAqB;IACrB,qBAAqB;CACZ,CAAC;AAEE,QAAA,2BAA2B,GAAG,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/agents/types.ts"],"names":[],"mappings":";;;AAAA,+CAOsB;AACtB,6BAAwB;AAKX,QAAA,gCAAgC,GAAG;IAC/C,uCAAwB;IACxB,iDAAkC;IAClC,qCAAsB;IACtB,yCAA0B;IAC1B,qCAAsB;IACtB,gCAAiB;CACR,CAAC;AAEE,QAAA,0CAA0C,GAAG;IACzD,qBAAqB;IACrB,qBAAqB;CACZ,CAAC;AAEE,QAAA,2BAA2B,GAAG,UAAU,CAAC;AAuLzC,QAAA,2BAA2B,GAAG,mBAA4B,CAAC;AAE3D,QAAA,sBAAsB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC;AAGvD,QAAA,+BAA+B,GAAG,OAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAC3E,OAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC;IACxC,OAAC,CAAC,MAAM,CAAC;QACR,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;QACzB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAC3B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAC/B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KAC5B,CAAC;CACF,CAAC,CAAC;AAGU,QAAA,uCAAuC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/D,QAAQ,EAAE,uCAA+B;IACzC,YAAY,EAAE,OAAC,CAAC,OAAO,EAAE;CACzB,CAAC,CAAC;AAKU,QAAA,kCAAkC,GAAG,uCAA+B,CAAC;AAGrE,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACxD,YAAY,EAAE,OAAC,CAAC,OAAO,EAAE;CACzB,CAAC,CAAC;AAiBU,QAAA,yBAAyB,GAAG,UAAmB,CAAC;AAEhD,QAAA,yBAAyB,GAAG,aAAsB,CAAC;AACnD,QAAA,0BAA0B,GAAG,cAAuB,CAAC"}
|