@n8n/api-types 1.38.0 → 1.39.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/agents/agent-integration.schema.d.ts +124 -0
- package/dist/agents/agent-integration.schema.js +21 -13
- package/dist/agents/agent-integration.schema.js.map +1 -1
- package/dist/agents/agent-interaction.schema.d.ts +7 -0
- package/dist/agents/agent-json-config.schema.d.ts +196 -0
- package/dist/agents/agent-json-config.schema.js +5 -3
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/agent-skill.schema.d.ts +6 -18
- package/dist/agents/agent-skill.schema.js +13 -22
- package/dist/agents/agent-skill.schema.js.map +1 -1
- package/dist/agents/dto.d.ts +11 -40
- package/dist/agents/dto.js +3 -5
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/inline-agent-config.schema.d.ts +86 -16
- package/dist/agents/sub-agent.schema.d.ts +1 -1
- package/dist/agents/types.d.ts +2 -1
- package/dist/agents/types.js +6 -8
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/constants/role-mapping.d.ts +1 -0
- package/dist/constants/role-mapping.js +2 -1
- package/dist/constants/role-mapping.js.map +1 -1
- package/dist/dto/credentials/credential-public.dto.d.ts +221 -0
- package/dist/dto/credentials/credential-public.dto.js +31 -0
- package/dist/dto/credentials/credential-public.dto.js.map +1 -0
- package/dist/dto/credentials/list-credentials-query.dto.d.ts +11 -0
- package/dist/dto/credentials/list-credentials-query.dto.js +13 -0
- package/dist/dto/credentials/list-credentials-query.dto.js.map +1 -0
- package/dist/dto/executions/execution-public.dto.d.ts +467 -0
- package/dist/dto/executions/execution-public.dto.js +86 -0
- package/dist/dto/executions/execution-public.dto.js.map +1 -0
- package/dist/dto/executions/execution-public.openapi.d.ts +56 -0
- package/dist/dto/executions/execution-public.openapi.js +113 -0
- package/dist/dto/executions/execution-public.openapi.js.map +1 -0
- package/dist/dto/executions/execution-tags-public.dto.d.ts +24 -0
- package/dist/dto/executions/execution-tags-public.dto.js +9 -0
- package/dist/dto/executions/execution-tags-public.dto.js.map +1 -0
- package/dist/dto/executions/get-execution-query.dto.d.ts +13 -0
- package/dist/dto/executions/get-execution-query.dto.js +28 -0
- package/dist/dto/executions/get-execution-query.dto.js.map +1 -0
- package/dist/dto/executions/list-executions-query.dto.d.ts +28 -0
- package/dist/dto/executions/list-executions-query.dto.js +50 -0
- package/dist/dto/executions/list-executions-query.dto.js.map +1 -0
- package/dist/dto/executions/retried-execution-public.dto.d.ts +152 -0
- package/dist/dto/executions/retried-execution-public.dto.js +33 -0
- package/dist/dto/executions/retried-execution-public.dto.js.map +1 -0
- package/dist/dto/executions/retried-execution-public.openapi.d.ts +10 -0
- package/dist/dto/executions/retried-execution-public.openapi.js +42 -0
- package/dist/dto/executions/retried-execution-public.openapi.js.map +1 -0
- package/dist/dto/executions/retry-execution-public.dto.d.ts +17 -0
- package/dist/dto/executions/retry-execution-public.dto.js +14 -0
- package/dist/dto/executions/retry-execution-public.dto.js.map +1 -0
- package/dist/dto/executions/stop-many-executions-public.dto.d.ts +23 -0
- package/dist/dto/executions/stop-many-executions-public.dto.js +41 -0
- package/dist/dto/executions/stop-many-executions-public.dto.js.map +1 -0
- package/dist/dto/executions/stopped-execution-public.dto.d.ts +51 -0
- package/dist/dto/executions/stopped-execution-public.dto.js +24 -0
- package/dist/dto/executions/stopped-execution-public.dto.js.map +1 -0
- package/dist/dto/executions/stopped-execution-public.openapi.d.ts +25 -0
- package/dist/dto/executions/stopped-execution-public.openapi.js +22 -0
- package/dist/dto/executions/stopped-execution-public.openapi.js.map +1 -0
- package/dist/dto/git-connections/git-connections.dto.d.ts +37 -0
- package/dist/dto/git-connections/git-connections.dto.js +10 -2
- package/dist/dto/git-connections/git-connections.dto.js.map +1 -1
- package/dist/dto/index.d.ts +21 -2
- package/dist/dto/index.js +66 -4
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.d.ts +14 -0
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.js +5 -0
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.js.map +1 -1
- package/dist/dto/openapi-nullable.d.ts +2 -0
- package/dist/dto/openapi-nullable.js +7 -0
- package/dist/dto/openapi-nullable.js.map +1 -0
- package/dist/dto/otel/test-otel-trace.dto.d.ts +3 -1
- package/dist/dto/otel/test-otel-trace.dto.js +1 -0
- package/dist/dto/otel/test-otel-trace.dto.js.map +1 -1
- package/dist/dto/otel/update-otel-settings.dto.d.ts +6 -0
- package/dist/dto/otel/update-otel-settings.dto.js +9 -2
- package/dist/dto/otel/update-otel-settings.dto.js.map +1 -1
- package/dist/dto/packages/export-package-request.dto.d.ts +2 -0
- package/dist/dto/packages/export-package-request.dto.js +1 -0
- package/dist/dto/packages/export-package-request.dto.js.map +1 -1
- package/dist/dto/promotions/promotable-resource.dto.d.ts +45 -0
- package/dist/dto/promotions/promotable-resource.dto.js +21 -0
- package/dist/dto/promotions/promotable-resource.dto.js.map +1 -0
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +27 -13
- package/dist/dto/source-control/source-control-push-conflict-error-public.dto.d.ts +249 -0
- package/dist/dto/source-control/source-control-push-conflict-error-public.dto.js +13 -0
- package/dist/dto/source-control/source-control-push-conflict-error-public.dto.js.map +1 -0
- package/dist/dto/source-control/source-control-push-request-public.dto.d.ts +25 -0
- package/dist/dto/source-control/source-control-push-request-public.dto.js +18 -0
- package/dist/dto/source-control/source-control-push-request-public.dto.js.map +1 -0
- package/dist/dto/source-control/source-control-push-response-public.dto.d.ts +247 -0
- package/dist/dto/source-control/source-control-push-response-public.dto.js +12 -0
- package/dist/dto/source-control/source-control-push-response-public.dto.js.map +1 -0
- package/dist/dto/source-control/source-control-status-public.dto.d.ts +247 -0
- package/dist/dto/source-control/source-control-status-public.dto.js +12 -0
- package/dist/dto/source-control/source-control-status-public.dto.js.map +1 -0
- package/dist/dto/source-control/source-control-status-query-public.dto.d.ts +9 -0
- package/dist/dto/source-control/source-control-status-query-public.dto.js +11 -0
- package/dist/dto/source-control/source-control-status-query-public.dto.js.map +1 -0
- package/dist/dto/tag/tag-public.dto.d.ts +1 -0
- package/dist/dto/tag/tag-public.dto.js +5 -4
- package/dist/dto/tag/tag-public.dto.js.map +1 -1
- package/dist/dto/worker-pools/update-project-pool-settings.dto.d.ts +9 -0
- package/dist/dto/worker-pools/update-project-pool-settings.dto.js +12 -0
- package/dist/dto/worker-pools/update-project-pool-settings.dto.js.map +1 -0
- package/dist/dto/workflow-history/workflow-version-public.dto.d.ts +106 -0
- package/dist/dto/workflow-history/workflow-version-public.dto.js +13 -0
- package/dist/dto/workflow-history/workflow-version-public.dto.js.map +1 -0
- package/dist/dto/workflows/workflow-public.dto.js +3 -4
- package/dist/dto/workflows/workflow-public.dto.js.map +1 -1
- package/dist/dto/workflows/workflow-public.openapi.js +6 -8
- package/dist/dto/workflows/workflow-public.openapi.js.map +1 -1
- package/dist/dto/workflows/workflow-publish-forbidden-error-public.dto.d.ts +26 -0
- package/dist/dto/workflows/workflow-publish-forbidden-error-public.dto.js +14 -0
- package/dist/dto/workflows/workflow-publish-forbidden-error-public.dto.js.map +1 -0
- package/dist/dto/workflows/workflow-tags-public.dto.d.ts +1 -0
- package/dist/dto/workflows/workflow-tags-public.dto.js +2 -1
- package/dist/dto/workflows/workflow-tags-public.dto.js.map +1 -1
- package/dist/frontend-settings.d.ts +7 -0
- package/dist/index.d.ts +6 -5
- package/dist/index.js +20 -5
- package/dist/index.js.map +1 -1
- package/dist/instance-registry-types.d.ts +8 -0
- package/dist/instance-registry-types.js +1 -0
- package/dist/instance-registry-types.js.map +1 -1
- package/dist/push/instance-ai.d.ts +5 -0
- package/dist/scaling.d.ts +2 -0
- package/dist/schemas/agent-run-reducer.js +14 -24
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/content-import-policy-result.schema.js.map +1 -1
- package/dist/schemas/instance-ai.schema.d.ts +1482 -243
- package/dist/schemas/instance-ai.schema.js +91 -4
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/mcp-registry.schema.d.ts +6 -1
- package/dist/schemas/object-guard.schema.d.ts +3 -0
- package/dist/schemas/object-guard.schema.js +10 -0
- package/dist/schemas/object-guard.schema.js.map +1 -0
- package/dist/schemas/source-controlled-file.schema.d.ts +24 -11
- package/dist/schemas/workflow-publication-status.schema.d.ts +2 -0
- package/dist/schemas/workflow-publication-status.schema.js +14 -2
- package/dist/schemas/workflow-publication-status.schema.js.map +1 -1
- package/dist/worker-pools.d.ts +4 -0
- package/dist/worker-pools.js +3 -0
- package/dist/worker-pools.js.map +1 -0
- package/dist/workflow-publish-blocked-details.d.ts +36 -7
- package/dist/workflow-publish-blocked-details.js +15 -6
- package/dist/workflow-publish-blocked-details.js.map +1 -1
- package/package.json +10 -10
|
@@ -341,6 +341,7 @@ declare const AgentJsonTaskConfigSchema: z.ZodObject<{
|
|
|
341
341
|
enabled: boolean;
|
|
342
342
|
}>;
|
|
343
343
|
export declare const McpAuthenticationSchemaTypes: z.ZodEnum<["none", "bearerAuth", "headerAuth", "multipleHeadersAuth", "mcpOAuth2Api"]>;
|
|
344
|
+
export declare const McpOAuth2CredentialTypeSchema: z.ZodString;
|
|
344
345
|
export declare const McpServerConfigSchema: z.ZodObject<{
|
|
345
346
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
346
347
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -929,6 +930,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
929
930
|
name: z.ZodString;
|
|
930
931
|
model: z.ZodUnion<[z.ZodLiteral<"">, z.ZodString]>;
|
|
931
932
|
credential: z.ZodOptional<z.ZodString>;
|
|
933
|
+
modelDeploymentName: z.ZodOptional<z.ZodString>;
|
|
932
934
|
instructions: z.ZodString;
|
|
933
935
|
personalisation: z.ZodOptional<z.ZodObject<{
|
|
934
936
|
icon: z.ZodString;
|
|
@@ -1542,18 +1544,23 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1542
1544
|
settings: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1543
1545
|
accessMode: z.ZodEnum<["private", "public"]>;
|
|
1544
1546
|
allowedUsers: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], string[] | undefined>;
|
|
1547
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1545
1548
|
}, "strict", z.ZodTypeAny, {
|
|
1546
1549
|
accessMode: "private" | "public";
|
|
1547
1550
|
allowedUsers: string[];
|
|
1551
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1548
1552
|
}, {
|
|
1549
1553
|
accessMode: "private" | "public";
|
|
1550
1554
|
allowedUsers?: string[] | undefined;
|
|
1555
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1551
1556
|
}>, {
|
|
1552
1557
|
accessMode: "private" | "public";
|
|
1553
1558
|
allowedUsers: string[];
|
|
1559
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1554
1560
|
}, {
|
|
1555
1561
|
accessMode: "private" | "public";
|
|
1556
1562
|
allowedUsers?: string[] | undefined;
|
|
1563
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1557
1564
|
}>>;
|
|
1558
1565
|
}, "strip", z.ZodTypeAny, {
|
|
1559
1566
|
type: "telegram";
|
|
@@ -1561,6 +1568,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1561
1568
|
settings?: {
|
|
1562
1569
|
accessMode: "private" | "public";
|
|
1563
1570
|
allowedUsers: string[];
|
|
1571
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1564
1572
|
} | undefined;
|
|
1565
1573
|
}, {
|
|
1566
1574
|
type: "telegram";
|
|
@@ -1568,6 +1576,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1568
1576
|
settings?: {
|
|
1569
1577
|
accessMode: "private" | "public";
|
|
1570
1578
|
allowedUsers?: string[] | undefined;
|
|
1579
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1571
1580
|
} | undefined;
|
|
1572
1581
|
}>, z.ZodObject<{
|
|
1573
1582
|
type: z.ZodLiteral<"slack">;
|
|
@@ -1575,41 +1584,74 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1575
1584
|
} & {
|
|
1576
1585
|
settings: z.ZodOptional<z.ZodObject<{
|
|
1577
1586
|
messagingExperience: z.ZodEnum<["assistant", "agent"]>;
|
|
1587
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1578
1588
|
}, "strict", z.ZodTypeAny, {
|
|
1579
1589
|
messagingExperience: "agent" | "assistant";
|
|
1590
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1580
1591
|
}, {
|
|
1581
1592
|
messagingExperience: "agent" | "assistant";
|
|
1593
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1582
1594
|
}>>;
|
|
1583
1595
|
}, "strip", z.ZodTypeAny, {
|
|
1584
1596
|
type: "slack";
|
|
1585
1597
|
credentialId: string;
|
|
1586
1598
|
settings?: {
|
|
1587
1599
|
messagingExperience: "agent" | "assistant";
|
|
1600
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1588
1601
|
} | undefined;
|
|
1589
1602
|
}, {
|
|
1590
1603
|
type: "slack";
|
|
1591
1604
|
credentialId: string;
|
|
1592
1605
|
settings?: {
|
|
1593
1606
|
messagingExperience: "agent" | "assistant";
|
|
1607
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1594
1608
|
} | undefined;
|
|
1595
1609
|
}>, z.ZodObject<{
|
|
1596
1610
|
type: z.ZodLiteral<"linear">;
|
|
1597
1611
|
credentialId: z.ZodString;
|
|
1612
|
+
} & {
|
|
1613
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
1614
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1615
|
+
}, "strict", z.ZodTypeAny, {
|
|
1616
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1617
|
+
}, {
|
|
1618
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1619
|
+
}>>;
|
|
1598
1620
|
}, "strip", z.ZodTypeAny, {
|
|
1599
1621
|
type: "linear";
|
|
1600
1622
|
credentialId: string;
|
|
1623
|
+
settings?: {
|
|
1624
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1625
|
+
} | undefined;
|
|
1601
1626
|
}, {
|
|
1602
1627
|
type: "linear";
|
|
1603
1628
|
credentialId: string;
|
|
1629
|
+
settings?: {
|
|
1630
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1631
|
+
} | undefined;
|
|
1604
1632
|
}>, z.ZodObject<{
|
|
1605
1633
|
type: z.ZodLiteral<"discord">;
|
|
1606
1634
|
credentialId: z.ZodString;
|
|
1635
|
+
} & {
|
|
1636
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
1637
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1638
|
+
}, "strict", z.ZodTypeAny, {
|
|
1639
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1640
|
+
}, {
|
|
1641
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1642
|
+
}>>;
|
|
1607
1643
|
}, "strip", z.ZodTypeAny, {
|
|
1608
1644
|
type: "discord";
|
|
1609
1645
|
credentialId: string;
|
|
1646
|
+
settings?: {
|
|
1647
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1648
|
+
} | undefined;
|
|
1610
1649
|
}, {
|
|
1611
1650
|
type: "discord";
|
|
1612
1651
|
credentialId: string;
|
|
1652
|
+
settings?: {
|
|
1653
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
1654
|
+
} | undefined;
|
|
1613
1655
|
}>]>, "many">>;
|
|
1614
1656
|
mcpServers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1615
1657
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -2065,6 +2107,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2065
2107
|
name: string;
|
|
2066
2108
|
model: string;
|
|
2067
2109
|
credential?: string | undefined;
|
|
2110
|
+
modelDeploymentName?: string | undefined;
|
|
2068
2111
|
instructions: string;
|
|
2069
2112
|
personalisation?: {
|
|
2070
2113
|
icon: string;
|
|
@@ -2187,19 +2230,27 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2187
2230
|
settings?: {
|
|
2188
2231
|
accessMode: "private" | "public";
|
|
2189
2232
|
allowedUsers: string[];
|
|
2233
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
2190
2234
|
} | undefined;
|
|
2191
2235
|
} | {
|
|
2192
2236
|
type: "slack";
|
|
2193
2237
|
credentialId: string;
|
|
2194
2238
|
settings?: {
|
|
2195
2239
|
messagingExperience: "agent" | "assistant";
|
|
2240
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
2196
2241
|
} | undefined;
|
|
2197
2242
|
} | {
|
|
2198
2243
|
type: "linear";
|
|
2199
2244
|
credentialId: string;
|
|
2245
|
+
settings?: {
|
|
2246
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
2247
|
+
} | undefined;
|
|
2200
2248
|
} | {
|
|
2201
2249
|
type: "discord";
|
|
2202
2250
|
credentialId: string;
|
|
2251
|
+
settings?: {
|
|
2252
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
2253
|
+
} | undefined;
|
|
2203
2254
|
})[] | undefined;
|
|
2204
2255
|
mcpServers?: {
|
|
2205
2256
|
name: string;
|
|
@@ -2289,6 +2340,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2289
2340
|
name: string;
|
|
2290
2341
|
model: string;
|
|
2291
2342
|
credential?: string | undefined;
|
|
2343
|
+
modelDeploymentName?: string | undefined;
|
|
2292
2344
|
instructions: string;
|
|
2293
2345
|
personalisation?: {
|
|
2294
2346
|
icon: string;
|
|
@@ -2411,19 +2463,27 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2411
2463
|
settings?: {
|
|
2412
2464
|
accessMode: "private" | "public";
|
|
2413
2465
|
allowedUsers?: string[] | undefined;
|
|
2466
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
2414
2467
|
} | undefined;
|
|
2415
2468
|
} | {
|
|
2416
2469
|
type: "slack";
|
|
2417
2470
|
credentialId: string;
|
|
2418
2471
|
settings?: {
|
|
2419
2472
|
messagingExperience: "agent" | "assistant";
|
|
2473
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
2420
2474
|
} | undefined;
|
|
2421
2475
|
} | {
|
|
2422
2476
|
type: "linear";
|
|
2423
2477
|
credentialId: string;
|
|
2478
|
+
settings?: {
|
|
2479
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
2480
|
+
} | undefined;
|
|
2424
2481
|
} | {
|
|
2425
2482
|
type: "discord";
|
|
2426
2483
|
credentialId: string;
|
|
2484
|
+
settings?: {
|
|
2485
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
2486
|
+
} | undefined;
|
|
2427
2487
|
})[] | undefined;
|
|
2428
2488
|
mcpServers?: {
|
|
2429
2489
|
name: string;
|
|
@@ -2514,6 +2574,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2514
2574
|
name: z.ZodString;
|
|
2515
2575
|
model: z.ZodUnion<[z.ZodLiteral<"">, z.ZodString]>;
|
|
2516
2576
|
credential: z.ZodOptional<z.ZodString>;
|
|
2577
|
+
modelDeploymentName: z.ZodOptional<z.ZodString>;
|
|
2517
2578
|
instructions: z.ZodString;
|
|
2518
2579
|
personalisation: z.ZodOptional<z.ZodObject<{
|
|
2519
2580
|
icon: z.ZodString;
|
|
@@ -3127,18 +3188,23 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3127
3188
|
settings: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
3128
3189
|
accessMode: z.ZodEnum<["private", "public"]>;
|
|
3129
3190
|
allowedUsers: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], string[] | undefined>;
|
|
3191
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3130
3192
|
}, "strict", z.ZodTypeAny, {
|
|
3131
3193
|
accessMode: "private" | "public";
|
|
3132
3194
|
allowedUsers: string[];
|
|
3195
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3133
3196
|
}, {
|
|
3134
3197
|
accessMode: "private" | "public";
|
|
3135
3198
|
allowedUsers?: string[] | undefined;
|
|
3199
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3136
3200
|
}>, {
|
|
3137
3201
|
accessMode: "private" | "public";
|
|
3138
3202
|
allowedUsers: string[];
|
|
3203
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3139
3204
|
}, {
|
|
3140
3205
|
accessMode: "private" | "public";
|
|
3141
3206
|
allowedUsers?: string[] | undefined;
|
|
3207
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3142
3208
|
}>>;
|
|
3143
3209
|
}, "strip", z.ZodTypeAny, {
|
|
3144
3210
|
type: "telegram";
|
|
@@ -3146,6 +3212,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3146
3212
|
settings?: {
|
|
3147
3213
|
accessMode: "private" | "public";
|
|
3148
3214
|
allowedUsers: string[];
|
|
3215
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3149
3216
|
} | undefined;
|
|
3150
3217
|
}, {
|
|
3151
3218
|
type: "telegram";
|
|
@@ -3153,6 +3220,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3153
3220
|
settings?: {
|
|
3154
3221
|
accessMode: "private" | "public";
|
|
3155
3222
|
allowedUsers?: string[] | undefined;
|
|
3223
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3156
3224
|
} | undefined;
|
|
3157
3225
|
}>, z.ZodObject<{
|
|
3158
3226
|
type: z.ZodLiteral<"slack">;
|
|
@@ -3160,41 +3228,74 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3160
3228
|
} & {
|
|
3161
3229
|
settings: z.ZodOptional<z.ZodObject<{
|
|
3162
3230
|
messagingExperience: z.ZodEnum<["assistant", "agent"]>;
|
|
3231
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3163
3232
|
}, "strict", z.ZodTypeAny, {
|
|
3164
3233
|
messagingExperience: "agent" | "assistant";
|
|
3234
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3165
3235
|
}, {
|
|
3166
3236
|
messagingExperience: "agent" | "assistant";
|
|
3237
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3167
3238
|
}>>;
|
|
3168
3239
|
}, "strip", z.ZodTypeAny, {
|
|
3169
3240
|
type: "slack";
|
|
3170
3241
|
credentialId: string;
|
|
3171
3242
|
settings?: {
|
|
3172
3243
|
messagingExperience: "agent" | "assistant";
|
|
3244
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3173
3245
|
} | undefined;
|
|
3174
3246
|
}, {
|
|
3175
3247
|
type: "slack";
|
|
3176
3248
|
credentialId: string;
|
|
3177
3249
|
settings?: {
|
|
3178
3250
|
messagingExperience: "agent" | "assistant";
|
|
3251
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3179
3252
|
} | undefined;
|
|
3180
3253
|
}>, z.ZodObject<{
|
|
3181
3254
|
type: z.ZodLiteral<"linear">;
|
|
3182
3255
|
credentialId: z.ZodString;
|
|
3256
|
+
} & {
|
|
3257
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
3258
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3259
|
+
}, "strict", z.ZodTypeAny, {
|
|
3260
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3261
|
+
}, {
|
|
3262
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3263
|
+
}>>;
|
|
3183
3264
|
}, "strip", z.ZodTypeAny, {
|
|
3184
3265
|
type: "linear";
|
|
3185
3266
|
credentialId: string;
|
|
3267
|
+
settings?: {
|
|
3268
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3269
|
+
} | undefined;
|
|
3186
3270
|
}, {
|
|
3187
3271
|
type: "linear";
|
|
3188
3272
|
credentialId: string;
|
|
3273
|
+
settings?: {
|
|
3274
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3275
|
+
} | undefined;
|
|
3189
3276
|
}>, z.ZodObject<{
|
|
3190
3277
|
type: z.ZodLiteral<"discord">;
|
|
3191
3278
|
credentialId: z.ZodString;
|
|
3279
|
+
} & {
|
|
3280
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
3281
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3282
|
+
}, "strict", z.ZodTypeAny, {
|
|
3283
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3284
|
+
}, {
|
|
3285
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3286
|
+
}>>;
|
|
3192
3287
|
}, "strip", z.ZodTypeAny, {
|
|
3193
3288
|
type: "discord";
|
|
3194
3289
|
credentialId: string;
|
|
3290
|
+
settings?: {
|
|
3291
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3292
|
+
} | undefined;
|
|
3195
3293
|
}, {
|
|
3196
3294
|
type: "discord";
|
|
3197
3295
|
credentialId: string;
|
|
3296
|
+
settings?: {
|
|
3297
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3298
|
+
} | undefined;
|
|
3198
3299
|
}>]>, "many">>;
|
|
3199
3300
|
mcpServers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
3200
3301
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -3650,6 +3751,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3650
3751
|
name: string;
|
|
3651
3752
|
model: string;
|
|
3652
3753
|
credential?: string | undefined;
|
|
3754
|
+
modelDeploymentName?: string | undefined;
|
|
3653
3755
|
instructions: string;
|
|
3654
3756
|
personalisation?: {
|
|
3655
3757
|
icon: string;
|
|
@@ -3772,19 +3874,27 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3772
3874
|
settings?: {
|
|
3773
3875
|
accessMode: "private" | "public";
|
|
3774
3876
|
allowedUsers: string[];
|
|
3877
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3775
3878
|
} | undefined;
|
|
3776
3879
|
} | {
|
|
3777
3880
|
type: "slack";
|
|
3778
3881
|
credentialId: string;
|
|
3779
3882
|
settings?: {
|
|
3780
3883
|
messagingExperience: "agent" | "assistant";
|
|
3884
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3781
3885
|
} | undefined;
|
|
3782
3886
|
} | {
|
|
3783
3887
|
type: "linear";
|
|
3784
3888
|
credentialId: string;
|
|
3889
|
+
settings?: {
|
|
3890
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3891
|
+
} | undefined;
|
|
3785
3892
|
} | {
|
|
3786
3893
|
type: "discord";
|
|
3787
3894
|
credentialId: string;
|
|
3895
|
+
settings?: {
|
|
3896
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3897
|
+
} | undefined;
|
|
3788
3898
|
})[] | undefined;
|
|
3789
3899
|
mcpServers?: {
|
|
3790
3900
|
name: string;
|
|
@@ -3874,6 +3984,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3874
3984
|
name: string;
|
|
3875
3985
|
model: string;
|
|
3876
3986
|
credential?: string | undefined;
|
|
3987
|
+
modelDeploymentName?: string | undefined;
|
|
3877
3988
|
instructions: string;
|
|
3878
3989
|
personalisation?: {
|
|
3879
3990
|
icon: string;
|
|
@@ -3996,19 +4107,27 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3996
4107
|
settings?: {
|
|
3997
4108
|
accessMode: "private" | "public";
|
|
3998
4109
|
allowedUsers?: string[] | undefined;
|
|
4110
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
3999
4111
|
} | undefined;
|
|
4000
4112
|
} | {
|
|
4001
4113
|
type: "slack";
|
|
4002
4114
|
credentialId: string;
|
|
4003
4115
|
settings?: {
|
|
4004
4116
|
messagingExperience: "agent" | "assistant";
|
|
4117
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
4005
4118
|
} | undefined;
|
|
4006
4119
|
} | {
|
|
4007
4120
|
type: "linear";
|
|
4008
4121
|
credentialId: string;
|
|
4122
|
+
settings?: {
|
|
4123
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
4124
|
+
} | undefined;
|
|
4009
4125
|
} | {
|
|
4010
4126
|
type: "discord";
|
|
4011
4127
|
credentialId: string;
|
|
4128
|
+
settings?: {
|
|
4129
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
4130
|
+
} | undefined;
|
|
4012
4131
|
})[] | undefined;
|
|
4013
4132
|
mcpServers?: {
|
|
4014
4133
|
name: string;
|
|
@@ -4098,6 +4217,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4098
4217
|
name: string;
|
|
4099
4218
|
model: string;
|
|
4100
4219
|
credential?: string | undefined;
|
|
4220
|
+
modelDeploymentName?: string | undefined;
|
|
4101
4221
|
instructions: string;
|
|
4102
4222
|
personalisation?: {
|
|
4103
4223
|
icon: string;
|
|
@@ -4220,19 +4340,27 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4220
4340
|
settings?: {
|
|
4221
4341
|
accessMode: "private" | "public";
|
|
4222
4342
|
allowedUsers: string[];
|
|
4343
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
4223
4344
|
} | undefined;
|
|
4224
4345
|
} | {
|
|
4225
4346
|
type: "slack";
|
|
4226
4347
|
credentialId: string;
|
|
4227
4348
|
settings?: {
|
|
4228
4349
|
messagingExperience: "agent" | "assistant";
|
|
4350
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
4229
4351
|
} | undefined;
|
|
4230
4352
|
} | {
|
|
4231
4353
|
type: "linear";
|
|
4232
4354
|
credentialId: string;
|
|
4355
|
+
settings?: {
|
|
4356
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
4357
|
+
} | undefined;
|
|
4233
4358
|
} | {
|
|
4234
4359
|
type: "discord";
|
|
4235
4360
|
credentialId: string;
|
|
4361
|
+
settings?: {
|
|
4362
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
4363
|
+
} | undefined;
|
|
4236
4364
|
})[] | undefined;
|
|
4237
4365
|
mcpServers?: {
|
|
4238
4366
|
name: string;
|
|
@@ -4322,6 +4450,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4322
4450
|
name: string;
|
|
4323
4451
|
model: string;
|
|
4324
4452
|
credential?: string | undefined;
|
|
4453
|
+
modelDeploymentName?: string | undefined;
|
|
4325
4454
|
instructions: string;
|
|
4326
4455
|
personalisation?: {
|
|
4327
4456
|
icon: string;
|
|
@@ -4444,19 +4573,27 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4444
4573
|
settings?: {
|
|
4445
4574
|
accessMode: "private" | "public";
|
|
4446
4575
|
allowedUsers?: string[] | undefined;
|
|
4576
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
4447
4577
|
} | undefined;
|
|
4448
4578
|
} | {
|
|
4449
4579
|
type: "slack";
|
|
4450
4580
|
credentialId: string;
|
|
4451
4581
|
settings?: {
|
|
4452
4582
|
messagingExperience: "agent" | "assistant";
|
|
4583
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
4453
4584
|
} | undefined;
|
|
4454
4585
|
} | {
|
|
4455
4586
|
type: "linear";
|
|
4456
4587
|
credentialId: string;
|
|
4588
|
+
settings?: {
|
|
4589
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
4590
|
+
} | undefined;
|
|
4457
4591
|
} | {
|
|
4458
4592
|
type: "discord";
|
|
4459
4593
|
credentialId: string;
|
|
4594
|
+
settings?: {
|
|
4595
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
4596
|
+
} | undefined;
|
|
4460
4597
|
})[] | undefined;
|
|
4461
4598
|
mcpServers?: {
|
|
4462
4599
|
name: string;
|
|
@@ -4545,6 +4682,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4545
4682
|
}>;
|
|
4546
4683
|
export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
4547
4684
|
name: z.ZodString;
|
|
4685
|
+
modelDeploymentName: z.ZodOptional<z.ZodString>;
|
|
4548
4686
|
instructions: z.ZodString;
|
|
4549
4687
|
personalisation: z.ZodOptional<z.ZodObject<{
|
|
4550
4688
|
icon: z.ZodString;
|
|
@@ -5158,18 +5296,23 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5158
5296
|
settings: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
5159
5297
|
accessMode: z.ZodEnum<["private", "public"]>;
|
|
5160
5298
|
allowedUsers: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], string[] | undefined>;
|
|
5299
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5161
5300
|
}, "strict", z.ZodTypeAny, {
|
|
5162
5301
|
accessMode: "private" | "public";
|
|
5163
5302
|
allowedUsers: string[];
|
|
5303
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5164
5304
|
}, {
|
|
5165
5305
|
accessMode: "private" | "public";
|
|
5166
5306
|
allowedUsers?: string[] | undefined;
|
|
5307
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5167
5308
|
}>, {
|
|
5168
5309
|
accessMode: "private" | "public";
|
|
5169
5310
|
allowedUsers: string[];
|
|
5311
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5170
5312
|
}, {
|
|
5171
5313
|
accessMode: "private" | "public";
|
|
5172
5314
|
allowedUsers?: string[] | undefined;
|
|
5315
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5173
5316
|
}>>;
|
|
5174
5317
|
}, "strip", z.ZodTypeAny, {
|
|
5175
5318
|
type: "telegram";
|
|
@@ -5177,6 +5320,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5177
5320
|
settings?: {
|
|
5178
5321
|
accessMode: "private" | "public";
|
|
5179
5322
|
allowedUsers: string[];
|
|
5323
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5180
5324
|
} | undefined;
|
|
5181
5325
|
}, {
|
|
5182
5326
|
type: "telegram";
|
|
@@ -5184,6 +5328,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5184
5328
|
settings?: {
|
|
5185
5329
|
accessMode: "private" | "public";
|
|
5186
5330
|
allowedUsers?: string[] | undefined;
|
|
5331
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5187
5332
|
} | undefined;
|
|
5188
5333
|
}>, z.ZodObject<{
|
|
5189
5334
|
type: z.ZodLiteral<"slack">;
|
|
@@ -5191,41 +5336,74 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5191
5336
|
} & {
|
|
5192
5337
|
settings: z.ZodOptional<z.ZodObject<{
|
|
5193
5338
|
messagingExperience: z.ZodEnum<["assistant", "agent"]>;
|
|
5339
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5194
5340
|
}, "strict", z.ZodTypeAny, {
|
|
5195
5341
|
messagingExperience: "agent" | "assistant";
|
|
5342
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5196
5343
|
}, {
|
|
5197
5344
|
messagingExperience: "agent" | "assistant";
|
|
5345
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5198
5346
|
}>>;
|
|
5199
5347
|
}, "strip", z.ZodTypeAny, {
|
|
5200
5348
|
type: "slack";
|
|
5201
5349
|
credentialId: string;
|
|
5202
5350
|
settings?: {
|
|
5203
5351
|
messagingExperience: "agent" | "assistant";
|
|
5352
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5204
5353
|
} | undefined;
|
|
5205
5354
|
}, {
|
|
5206
5355
|
type: "slack";
|
|
5207
5356
|
credentialId: string;
|
|
5208
5357
|
settings?: {
|
|
5209
5358
|
messagingExperience: "agent" | "assistant";
|
|
5359
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5210
5360
|
} | undefined;
|
|
5211
5361
|
}>, z.ZodObject<{
|
|
5212
5362
|
type: z.ZodLiteral<"linear">;
|
|
5213
5363
|
credentialId: z.ZodString;
|
|
5364
|
+
} & {
|
|
5365
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
5366
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5367
|
+
}, "strict", z.ZodTypeAny, {
|
|
5368
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5369
|
+
}, {
|
|
5370
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5371
|
+
}>>;
|
|
5214
5372
|
}, "strip", z.ZodTypeAny, {
|
|
5215
5373
|
type: "linear";
|
|
5216
5374
|
credentialId: string;
|
|
5375
|
+
settings?: {
|
|
5376
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5377
|
+
} | undefined;
|
|
5217
5378
|
}, {
|
|
5218
5379
|
type: "linear";
|
|
5219
5380
|
credentialId: string;
|
|
5381
|
+
settings?: {
|
|
5382
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5383
|
+
} | undefined;
|
|
5220
5384
|
}>, z.ZodObject<{
|
|
5221
5385
|
type: z.ZodLiteral<"discord">;
|
|
5222
5386
|
credentialId: z.ZodString;
|
|
5387
|
+
} & {
|
|
5388
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
5389
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5390
|
+
}, "strict", z.ZodTypeAny, {
|
|
5391
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5392
|
+
}, {
|
|
5393
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5394
|
+
}>>;
|
|
5223
5395
|
}, "strip", z.ZodTypeAny, {
|
|
5224
5396
|
type: "discord";
|
|
5225
5397
|
credentialId: string;
|
|
5398
|
+
settings?: {
|
|
5399
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5400
|
+
} | undefined;
|
|
5226
5401
|
}, {
|
|
5227
5402
|
type: "discord";
|
|
5228
5403
|
credentialId: string;
|
|
5404
|
+
settings?: {
|
|
5405
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5406
|
+
} | undefined;
|
|
5229
5407
|
}>]>, "many">>;
|
|
5230
5408
|
mcpServers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
5231
5409
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -5682,6 +5860,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5682
5860
|
credential: z.ZodEffects<z.ZodString, string, string>;
|
|
5683
5861
|
}, "strip", z.ZodTypeAny, {
|
|
5684
5862
|
name: string;
|
|
5863
|
+
modelDeploymentName?: string | undefined;
|
|
5685
5864
|
instructions: string;
|
|
5686
5865
|
personalisation?: {
|
|
5687
5866
|
icon: string;
|
|
@@ -5804,19 +5983,27 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5804
5983
|
settings?: {
|
|
5805
5984
|
accessMode: "private" | "public";
|
|
5806
5985
|
allowedUsers: string[];
|
|
5986
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5807
5987
|
} | undefined;
|
|
5808
5988
|
} | {
|
|
5809
5989
|
type: "slack";
|
|
5810
5990
|
credentialId: string;
|
|
5811
5991
|
settings?: {
|
|
5812
5992
|
messagingExperience: "agent" | "assistant";
|
|
5993
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
5813
5994
|
} | undefined;
|
|
5814
5995
|
} | {
|
|
5815
5996
|
type: "linear";
|
|
5816
5997
|
credentialId: string;
|
|
5998
|
+
settings?: {
|
|
5999
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
6000
|
+
} | undefined;
|
|
5817
6001
|
} | {
|
|
5818
6002
|
type: "discord";
|
|
5819
6003
|
credentialId: string;
|
|
6004
|
+
settings?: {
|
|
6005
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
6006
|
+
} | undefined;
|
|
5820
6007
|
})[] | undefined;
|
|
5821
6008
|
mcpServers?: {
|
|
5822
6009
|
name: string;
|
|
@@ -5906,6 +6093,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5906
6093
|
credential: string;
|
|
5907
6094
|
}, {
|
|
5908
6095
|
name: string;
|
|
6096
|
+
modelDeploymentName?: string | undefined;
|
|
5909
6097
|
instructions: string;
|
|
5910
6098
|
personalisation?: {
|
|
5911
6099
|
icon: string;
|
|
@@ -6028,19 +6216,27 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
6028
6216
|
settings?: {
|
|
6029
6217
|
accessMode: "private" | "public";
|
|
6030
6218
|
allowedUsers?: string[] | undefined;
|
|
6219
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
6031
6220
|
} | undefined;
|
|
6032
6221
|
} | {
|
|
6033
6222
|
type: "slack";
|
|
6034
6223
|
credentialId: string;
|
|
6035
6224
|
settings?: {
|
|
6036
6225
|
messagingExperience: "agent" | "assistant";
|
|
6226
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
6037
6227
|
} | undefined;
|
|
6038
6228
|
} | {
|
|
6039
6229
|
type: "linear";
|
|
6040
6230
|
credentialId: string;
|
|
6231
|
+
settings?: {
|
|
6232
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
6233
|
+
} | undefined;
|
|
6041
6234
|
} | {
|
|
6042
6235
|
type: "discord";
|
|
6043
6236
|
credentialId: string;
|
|
6237
|
+
settings?: {
|
|
6238
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
6239
|
+
} | undefined;
|
|
6044
6240
|
})[] | undefined;
|
|
6045
6241
|
mcpServers?: {
|
|
6046
6242
|
name: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RunnableAgentJsonConfigSchema = exports.AgentJsonConfigSchema = exports.AgentJsonConfigBaseSchema = exports.NodeToolJsonConfigSchema = exports.WorkflowToolJsonConfigSchema = exports.WorkflowToolInputFieldSchema = exports.AgentVectorStoreConfigSchema = exports.VECTOR_STORE_NAME_REGEX = exports.VECTOR_STORE_USE_WHEN_MAX_LENGTH = exports.AGENT_VECTOR_STORE_CREDENTIAL_TYPES = exports.AGENT_VECTOR_STORE_PROVIDERS = exports.McpServerConfigSchema = exports.McpAuthenticationSchemaTypes = exports.NodeConfigSchema = exports.DraftAgentModelSchema = exports.SUB_AGENT_TASK_DIFFICULTIES = exports.SUB_AGENT_USE_WHEN_MAX_LENGTH = exports.DEFAULT_AGENT_PERSONALISATION = exports.PromptCachingConfigSchema = exports.AgentModelSchema = exports.MANAGED_CREDENTIAL_TOKEN = exports.CUSTOM_TOOL_ID_REGEX = void 0;
|
|
3
|
+
exports.RunnableAgentJsonConfigSchema = exports.AgentJsonConfigSchema = exports.AgentJsonConfigBaseSchema = exports.NodeToolJsonConfigSchema = exports.WorkflowToolJsonConfigSchema = exports.WorkflowToolInputFieldSchema = exports.AgentVectorStoreConfigSchema = exports.VECTOR_STORE_NAME_REGEX = exports.VECTOR_STORE_USE_WHEN_MAX_LENGTH = exports.AGENT_VECTOR_STORE_CREDENTIAL_TYPES = exports.AGENT_VECTOR_STORE_PROVIDERS = exports.McpServerConfigSchema = exports.McpOAuth2CredentialTypeSchema = exports.McpAuthenticationSchemaTypes = exports.NodeConfigSchema = exports.DraftAgentModelSchema = exports.SUB_AGENT_TASK_DIFFICULTIES = exports.SUB_AGENT_USE_WHEN_MAX_LENGTH = exports.DEFAULT_AGENT_PERSONALISATION = exports.PromptCachingConfigSchema = exports.AgentModelSchema = exports.MANAGED_CREDENTIAL_TOKEN = exports.CUSTOM_TOOL_ID_REGEX = void 0;
|
|
4
4
|
exports.tryParseConfigJson = tryParseConfigJson;
|
|
5
5
|
exports.findVectorStoreToolNameCollisions = findVectorStoreToolNameCollisions;
|
|
6
6
|
exports.formatZodErrors = formatZodErrors;
|
|
@@ -171,6 +171,7 @@ exports.McpAuthenticationSchemaTypes = zod_1.z.enum([
|
|
|
171
171
|
'multipleHeadersAuth',
|
|
172
172
|
'mcpOAuth2Api',
|
|
173
173
|
]);
|
|
174
|
+
exports.McpOAuth2CredentialTypeSchema = zod_1.z.string().regex(/^(?:oAuth2Api|.*OAuth2(?:Api)?)$/);
|
|
174
175
|
exports.McpServerConfigSchema = zod_1.z
|
|
175
176
|
.object({
|
|
176
177
|
name: zod_1.z
|
|
@@ -186,9 +187,9 @@ exports.McpServerConfigSchema = zod_1.z
|
|
|
186
187
|
.default('streamableHttp')
|
|
187
188
|
.describe('Transport protocol'),
|
|
188
189
|
authentication: zod_1.z
|
|
189
|
-
.union([exports.McpAuthenticationSchemaTypes,
|
|
190
|
+
.union([exports.McpAuthenticationSchemaTypes, exports.McpOAuth2CredentialTypeSchema])
|
|
190
191
|
.default('none')
|
|
191
|
-
.describe('Auth method. Named variants or
|
|
192
|
+
.describe('Auth method. Named variants or an OAuth2 credential type returned by the registry'),
|
|
192
193
|
credential: zod_1.z
|
|
193
194
|
.string()
|
|
194
195
|
.optional()
|
|
@@ -352,6 +353,7 @@ exports.AgentJsonConfigBaseSchema = zod_1.z.object({
|
|
|
352
353
|
name: zod_1.z.string().min(1).max(128),
|
|
353
354
|
model: exports.DraftAgentModelSchema,
|
|
354
355
|
credential: zod_1.z.string().optional(),
|
|
356
|
+
modelDeploymentName: zod_1.z.string().trim().optional(),
|
|
355
357
|
instructions: zod_1.z.string(),
|
|
356
358
|
personalisation: AgentPersonalisationConfigSchema.optional(),
|
|
357
359
|
memory: MemoryConfigSchema.optional(),
|