@n8n/api-types 1.38.1 → 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-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/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/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 +17 -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 +12 -1
- 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 +1608 -453
- package/dist/schemas/instance-ai.schema.js +63 -3
- 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
|
@@ -34,7 +34,7 @@ export type ThreadId = string & {
|
|
|
34
34
|
export type ToolCallId = string & {
|
|
35
35
|
readonly __brand: 'ToolCallId';
|
|
36
36
|
};
|
|
37
|
-
export declare const instanceAiEventTypeSchema: z.ZodEnum<["run-start", "run-finish", "agent-spawned", "agent-completed", "text-delta", "reasoning-delta", "text-block", "reasoning-block", "tool-input-start", "tool-call", "tool-result", "tool-error", "tool-interrupted", "confirmation-request", "tasks-update", "filesystem-request", "thread-title-updated", "status", "error"]>;
|
|
37
|
+
export declare const instanceAiEventTypeSchema: z.ZodEnum<["run-start", "run-finish", "agent-spawned", "agent-completed", "text-delta", "reasoning-delta", "text-block", "reasoning-block", "tool-input-start", "tool-call", "tool-result", "tool-error", "tool-interrupted", "confirmation-request", "tasks-update", "setup-items", "filesystem-request", "thread-title-updated", "status", "error"]>;
|
|
38
38
|
export type InstanceAiEventType = z.infer<typeof instanceAiEventTypeSchema>;
|
|
39
39
|
export declare const INSTANCE_AI_EPHEMERAL_EVENT_TYPES: ReadonlySet<InstanceAiEventType>;
|
|
40
40
|
export declare const instanceAiRunStatusSchema: z.ZodEnum<["completed", "cancelled", "error", "interrupted"]>;
|
|
@@ -86,14 +86,20 @@ export declare const runStartPayloadSchema: z.ZodObject<{
|
|
|
86
86
|
messageId: z.ZodString;
|
|
87
87
|
traceId: z.ZodOptional<z.ZodString>;
|
|
88
88
|
messageGroupId: z.ZodOptional<z.ZodString>;
|
|
89
|
+
langsmithRunId: z.ZodOptional<z.ZodString>;
|
|
90
|
+
langsmithTraceId: z.ZodOptional<z.ZodString>;
|
|
89
91
|
}, "strip", z.ZodTypeAny, {
|
|
90
92
|
messageId: string;
|
|
91
93
|
traceId?: string | undefined;
|
|
92
94
|
messageGroupId?: string | undefined;
|
|
95
|
+
langsmithRunId?: string | undefined;
|
|
96
|
+
langsmithTraceId?: string | undefined;
|
|
93
97
|
}, {
|
|
94
98
|
messageId: string;
|
|
95
99
|
traceId?: string | undefined;
|
|
96
100
|
messageGroupId?: string | undefined;
|
|
101
|
+
langsmithRunId?: string | undefined;
|
|
102
|
+
langsmithTraceId?: string | undefined;
|
|
97
103
|
}>;
|
|
98
104
|
export declare const runFinishPayloadSchema: z.ZodObject<{
|
|
99
105
|
status: z.ZodEnum<["completed", "cancelled", "error", "interrupted"]>;
|
|
@@ -1052,17 +1058,37 @@ export declare const mcpConnectServerSchema: z.ZodObject<{
|
|
|
1052
1058
|
serverSlug: z.ZodString;
|
|
1053
1059
|
title: z.ZodString;
|
|
1054
1060
|
tagline: z.ZodOptional<z.ZodString>;
|
|
1055
|
-
|
|
1061
|
+
usesCredentials: z.ZodArray<z.ZodObject<{
|
|
1062
|
+
credentialType: z.ZodString;
|
|
1063
|
+
name: z.ZodString;
|
|
1064
|
+
value: z.ZodString;
|
|
1065
|
+
}, "strip", z.ZodTypeAny, {
|
|
1066
|
+
credentialType: string;
|
|
1067
|
+
name: string;
|
|
1068
|
+
value: string;
|
|
1069
|
+
}, {
|
|
1070
|
+
credentialType: string;
|
|
1071
|
+
name: string;
|
|
1072
|
+
value: string;
|
|
1073
|
+
}>, "many">;
|
|
1056
1074
|
}, "strip", z.ZodTypeAny, {
|
|
1057
1075
|
serverSlug: string;
|
|
1058
1076
|
title: string;
|
|
1059
1077
|
tagline?: string | undefined;
|
|
1060
|
-
|
|
1078
|
+
usesCredentials: {
|
|
1079
|
+
credentialType: string;
|
|
1080
|
+
name: string;
|
|
1081
|
+
value: string;
|
|
1082
|
+
}[];
|
|
1061
1083
|
}, {
|
|
1062
1084
|
serverSlug: string;
|
|
1063
1085
|
title: string;
|
|
1064
1086
|
tagline?: string | undefined;
|
|
1065
|
-
|
|
1087
|
+
usesCredentials: {
|
|
1088
|
+
credentialType: string;
|
|
1089
|
+
name: string;
|
|
1090
|
+
value: string;
|
|
1091
|
+
}[];
|
|
1066
1092
|
}>;
|
|
1067
1093
|
export type InstanceAiMcpConnectServer = z.infer<typeof mcpConnectServerSchema>;
|
|
1068
1094
|
export declare const mcpConnectRequestSchema: z.ZodObject<{
|
|
@@ -1070,31 +1096,59 @@ export declare const mcpConnectRequestSchema: z.ZodObject<{
|
|
|
1070
1096
|
serverSlug: z.ZodString;
|
|
1071
1097
|
title: z.ZodString;
|
|
1072
1098
|
tagline: z.ZodOptional<z.ZodString>;
|
|
1073
|
-
|
|
1099
|
+
usesCredentials: z.ZodArray<z.ZodObject<{
|
|
1100
|
+
credentialType: z.ZodString;
|
|
1101
|
+
name: z.ZodString;
|
|
1102
|
+
value: z.ZodString;
|
|
1103
|
+
}, "strip", z.ZodTypeAny, {
|
|
1104
|
+
credentialType: string;
|
|
1105
|
+
name: string;
|
|
1106
|
+
value: string;
|
|
1107
|
+
}, {
|
|
1108
|
+
credentialType: string;
|
|
1109
|
+
name: string;
|
|
1110
|
+
value: string;
|
|
1111
|
+
}>, "many">;
|
|
1074
1112
|
}, "strip", z.ZodTypeAny, {
|
|
1075
1113
|
serverSlug: string;
|
|
1076
1114
|
title: string;
|
|
1077
1115
|
tagline?: string | undefined;
|
|
1078
|
-
|
|
1116
|
+
usesCredentials: {
|
|
1117
|
+
credentialType: string;
|
|
1118
|
+
name: string;
|
|
1119
|
+
value: string;
|
|
1120
|
+
}[];
|
|
1079
1121
|
}, {
|
|
1080
1122
|
serverSlug: string;
|
|
1081
1123
|
title: string;
|
|
1082
1124
|
tagline?: string | undefined;
|
|
1083
|
-
|
|
1125
|
+
usesCredentials: {
|
|
1126
|
+
credentialType: string;
|
|
1127
|
+
name: string;
|
|
1128
|
+
value: string;
|
|
1129
|
+
}[];
|
|
1084
1130
|
}>, "many">;
|
|
1085
1131
|
}, "strip", z.ZodTypeAny, {
|
|
1086
1132
|
servers: {
|
|
1087
1133
|
serverSlug: string;
|
|
1088
1134
|
title: string;
|
|
1089
1135
|
tagline?: string | undefined;
|
|
1090
|
-
|
|
1136
|
+
usesCredentials: {
|
|
1137
|
+
credentialType: string;
|
|
1138
|
+
name: string;
|
|
1139
|
+
value: string;
|
|
1140
|
+
}[];
|
|
1091
1141
|
}[];
|
|
1092
1142
|
}, {
|
|
1093
1143
|
servers: {
|
|
1094
1144
|
serverSlug: string;
|
|
1095
1145
|
title: string;
|
|
1096
1146
|
tagline?: string | undefined;
|
|
1097
|
-
|
|
1147
|
+
usesCredentials: {
|
|
1148
|
+
credentialType: string;
|
|
1149
|
+
name: string;
|
|
1150
|
+
value: string;
|
|
1151
|
+
}[];
|
|
1098
1152
|
}[];
|
|
1099
1153
|
}>;
|
|
1100
1154
|
export type InstanceAiMcpConnectRequest = z.infer<typeof mcpConnectRequestSchema>;
|
|
@@ -1827,31 +1881,59 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1827
1881
|
serverSlug: z.ZodString;
|
|
1828
1882
|
title: z.ZodString;
|
|
1829
1883
|
tagline: z.ZodOptional<z.ZodString>;
|
|
1830
|
-
|
|
1884
|
+
usesCredentials: z.ZodArray<z.ZodObject<{
|
|
1885
|
+
credentialType: z.ZodString;
|
|
1886
|
+
name: z.ZodString;
|
|
1887
|
+
value: z.ZodString;
|
|
1888
|
+
}, "strip", z.ZodTypeAny, {
|
|
1889
|
+
credentialType: string;
|
|
1890
|
+
name: string;
|
|
1891
|
+
value: string;
|
|
1892
|
+
}, {
|
|
1893
|
+
credentialType: string;
|
|
1894
|
+
name: string;
|
|
1895
|
+
value: string;
|
|
1896
|
+
}>, "many">;
|
|
1831
1897
|
}, "strip", z.ZodTypeAny, {
|
|
1832
1898
|
serverSlug: string;
|
|
1833
1899
|
title: string;
|
|
1834
1900
|
tagline?: string | undefined;
|
|
1835
|
-
|
|
1901
|
+
usesCredentials: {
|
|
1902
|
+
credentialType: string;
|
|
1903
|
+
name: string;
|
|
1904
|
+
value: string;
|
|
1905
|
+
}[];
|
|
1836
1906
|
}, {
|
|
1837
1907
|
serverSlug: string;
|
|
1838
1908
|
title: string;
|
|
1839
1909
|
tagline?: string | undefined;
|
|
1840
|
-
|
|
1910
|
+
usesCredentials: {
|
|
1911
|
+
credentialType: string;
|
|
1912
|
+
name: string;
|
|
1913
|
+
value: string;
|
|
1914
|
+
}[];
|
|
1841
1915
|
}>, "many">;
|
|
1842
1916
|
}, "strip", z.ZodTypeAny, {
|
|
1843
1917
|
servers: {
|
|
1844
1918
|
serverSlug: string;
|
|
1845
1919
|
title: string;
|
|
1846
1920
|
tagline?: string | undefined;
|
|
1847
|
-
|
|
1921
|
+
usesCredentials: {
|
|
1922
|
+
credentialType: string;
|
|
1923
|
+
name: string;
|
|
1924
|
+
value: string;
|
|
1925
|
+
}[];
|
|
1848
1926
|
}[];
|
|
1849
1927
|
}, {
|
|
1850
1928
|
servers: {
|
|
1851
1929
|
serverSlug: string;
|
|
1852
1930
|
title: string;
|
|
1853
1931
|
tagline?: string | undefined;
|
|
1854
|
-
|
|
1932
|
+
usesCredentials: {
|
|
1933
|
+
credentialType: string;
|
|
1934
|
+
name: string;
|
|
1935
|
+
value: string;
|
|
1936
|
+
}[];
|
|
1855
1937
|
}[];
|
|
1856
1938
|
}>>;
|
|
1857
1939
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2031,7 +2113,11 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
2031
2113
|
serverSlug: string;
|
|
2032
2114
|
title: string;
|
|
2033
2115
|
tagline?: string | undefined;
|
|
2034
|
-
|
|
2116
|
+
usesCredentials: {
|
|
2117
|
+
credentialType: string;
|
|
2118
|
+
name: string;
|
|
2119
|
+
value: string;
|
|
2120
|
+
}[];
|
|
2035
2121
|
}[];
|
|
2036
2122
|
} | undefined;
|
|
2037
2123
|
}, {
|
|
@@ -2211,7 +2297,11 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
2211
2297
|
serverSlug: string;
|
|
2212
2298
|
title: string;
|
|
2213
2299
|
tagline?: string | undefined;
|
|
2214
|
-
|
|
2300
|
+
usesCredentials: {
|
|
2301
|
+
credentialType: string;
|
|
2302
|
+
name: string;
|
|
2303
|
+
value: string;
|
|
2304
|
+
}[];
|
|
2215
2305
|
}[];
|
|
2216
2306
|
} | undefined;
|
|
2217
2307
|
}>;
|
|
@@ -2989,149 +3079,567 @@ export declare const tasksUpdatePayloadSchema: z.ZodObject<{
|
|
|
2989
3079
|
isSupportingWorkflow?: boolean | undefined;
|
|
2990
3080
|
}[] | undefined;
|
|
2991
3081
|
}>;
|
|
2992
|
-
export declare const
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3000
|
-
runId: z.ZodString;
|
|
3001
|
-
agentId: z.ZodString;
|
|
3002
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
3003
|
-
responseId: z.ZodOptional<z.ZodString>;
|
|
3004
|
-
ts: z.ZodOptional<z.ZodNumber>;
|
|
3005
|
-
type: z.ZodLiteral<"run-start">;
|
|
3006
|
-
payload: z.ZodObject<{
|
|
3007
|
-
messageId: z.ZodString;
|
|
3008
|
-
traceId: z.ZodOptional<z.ZodString>;
|
|
3009
|
-
messageGroupId: z.ZodOptional<z.ZodString>;
|
|
3010
|
-
}, "strip", z.ZodTypeAny, {
|
|
3011
|
-
messageId: string;
|
|
3012
|
-
traceId?: string | undefined;
|
|
3013
|
-
messageGroupId?: string | undefined;
|
|
3014
|
-
}, {
|
|
3015
|
-
messageId: string;
|
|
3016
|
-
traceId?: string | undefined;
|
|
3017
|
-
messageGroupId?: string | undefined;
|
|
3018
|
-
}>;
|
|
3019
|
-
}, "strip", z.ZodTypeAny, {
|
|
3020
|
-
runId: string;
|
|
3021
|
-
agentId: string;
|
|
3022
|
-
userId?: string | undefined;
|
|
3023
|
-
responseId?: string | undefined;
|
|
3024
|
-
ts?: number | undefined;
|
|
3025
|
-
type: "run-start";
|
|
3026
|
-
payload: {
|
|
3027
|
-
messageId: string;
|
|
3028
|
-
traceId?: string | undefined;
|
|
3029
|
-
messageGroupId?: string | undefined;
|
|
3030
|
-
};
|
|
3031
|
-
}, {
|
|
3032
|
-
runId: string;
|
|
3033
|
-
agentId: string;
|
|
3034
|
-
userId?: string | undefined;
|
|
3035
|
-
responseId?: string | undefined;
|
|
3036
|
-
ts?: number | undefined;
|
|
3037
|
-
type: "run-start";
|
|
3038
|
-
payload: {
|
|
3039
|
-
messageId: string;
|
|
3040
|
-
traceId?: string | undefined;
|
|
3041
|
-
messageGroupId?: string | undefined;
|
|
3042
|
-
};
|
|
3043
|
-
}>, z.ZodObject<{
|
|
3044
|
-
runId: z.ZodString;
|
|
3045
|
-
agentId: z.ZodString;
|
|
3046
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
3047
|
-
responseId: z.ZodOptional<z.ZodString>;
|
|
3048
|
-
ts: z.ZodOptional<z.ZodNumber>;
|
|
3049
|
-
type: z.ZodLiteral<"run-finish">;
|
|
3050
|
-
payload: z.ZodObject<{
|
|
3051
|
-
status: z.ZodEnum<["completed", "cancelled", "error", "interrupted"]>;
|
|
3052
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
3053
|
-
archivedWorkflowIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3082
|
+
export declare const setupItemSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
3083
|
+
id: z.ZodString;
|
|
3084
|
+
kind: z.ZodLiteral<"credential">;
|
|
3085
|
+
credentialType: z.ZodString;
|
|
3086
|
+
appDisplayName: z.ZodOptional<z.ZodString>;
|
|
3087
|
+
nodeBindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3088
|
+
nodeName: z.ZodString;
|
|
3054
3089
|
}, "strip", z.ZodTypeAny, {
|
|
3055
|
-
|
|
3056
|
-
reason?: string | undefined;
|
|
3057
|
-
archivedWorkflowIds?: string[] | undefined;
|
|
3090
|
+
nodeName: string;
|
|
3058
3091
|
}, {
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
userId?: string | undefined;
|
|
3067
|
-
responseId?: string | undefined;
|
|
3068
|
-
ts?: number | undefined;
|
|
3069
|
-
type: "run-finish";
|
|
3070
|
-
payload: {
|
|
3071
|
-
status: "cancelled" | "completed" | "error" | "interrupted";
|
|
3072
|
-
reason?: string | undefined;
|
|
3073
|
-
archivedWorkflowIds?: string[] | undefined;
|
|
3074
|
-
};
|
|
3075
|
-
}, {
|
|
3076
|
-
runId: string;
|
|
3077
|
-
agentId: string;
|
|
3078
|
-
userId?: string | undefined;
|
|
3079
|
-
responseId?: string | undefined;
|
|
3080
|
-
ts?: number | undefined;
|
|
3081
|
-
type: "run-finish";
|
|
3082
|
-
payload: {
|
|
3083
|
-
status: "cancelled" | "completed" | "error" | "interrupted";
|
|
3084
|
-
reason?: string | undefined;
|
|
3085
|
-
archivedWorkflowIds?: string[] | undefined;
|
|
3086
|
-
};
|
|
3087
|
-
}>, z.ZodObject<{
|
|
3088
|
-
runId: z.ZodString;
|
|
3089
|
-
agentId: z.ZodString;
|
|
3090
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
3091
|
-
responseId: z.ZodOptional<z.ZodString>;
|
|
3092
|
-
ts: z.ZodOptional<z.ZodNumber>;
|
|
3093
|
-
type: z.ZodLiteral<"agent-spawned">;
|
|
3094
|
-
payload: z.ZodObject<{
|
|
3095
|
-
parentId: z.ZodString;
|
|
3096
|
-
role: z.ZodString;
|
|
3097
|
-
tools: z.ZodArray<z.ZodString, "many">;
|
|
3098
|
-
taskId: z.ZodOptional<z.ZodString>;
|
|
3099
|
-
kind: z.ZodOptional<z.ZodEnum<["builder", "data-table", "planner", "eval-setup", "agent-builder"]>>;
|
|
3100
|
-
title: z.ZodOptional<z.ZodString>;
|
|
3101
|
-
subtitle: z.ZodOptional<z.ZodString>;
|
|
3102
|
-
goal: z.ZodOptional<z.ZodString>;
|
|
3103
|
-
targetResource: z.ZodOptional<z.ZodObject<{
|
|
3104
|
-
type: z.ZodEnum<["workflow", "data-table", "credential", "other", "agent", "config-eval"]>;
|
|
3105
|
-
id: z.ZodOptional<z.ZodString>;
|
|
3106
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3107
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
3092
|
+
nodeName: string;
|
|
3093
|
+
}>, "many">>;
|
|
3094
|
+
setupHint: z.ZodOptional<z.ZodObject<{
|
|
3095
|
+
template: z.ZodObject<{
|
|
3096
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3097
|
+
qs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3098
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3108
3099
|
}, "strip", z.ZodTypeAny, {
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
projectId?: string | undefined;
|
|
3100
|
+
headers?: Record<string, string> | undefined;
|
|
3101
|
+
qs?: Record<string, string> | undefined;
|
|
3102
|
+
body?: Record<string, unknown> | undefined;
|
|
3113
3103
|
}, {
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3104
|
+
headers?: Record<string, string> | undefined;
|
|
3105
|
+
qs?: Record<string, string> | undefined;
|
|
3106
|
+
body?: Record<string, unknown> | undefined;
|
|
3107
|
+
}>;
|
|
3108
|
+
placeholders: z.ZodArray<z.ZodObject<{
|
|
3109
|
+
name: z.ZodString;
|
|
3110
|
+
title: z.ZodString;
|
|
3111
|
+
info: z.ZodOptional<z.ZodString>;
|
|
3112
|
+
type: z.ZodOptional<z.ZodEnum<["password", "plain"]>>;
|
|
3113
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
3114
|
+
}, "strip", z.ZodTypeAny, {
|
|
3115
|
+
name: string;
|
|
3116
|
+
title: string;
|
|
3117
|
+
info?: string | undefined;
|
|
3118
|
+
type?: "password" | "plain" | undefined;
|
|
3119
|
+
optional?: boolean | undefined;
|
|
3120
|
+
}, {
|
|
3121
|
+
name: string;
|
|
3122
|
+
title: string;
|
|
3123
|
+
info?: string | undefined;
|
|
3124
|
+
type?: "password" | "plain" | undefined;
|
|
3125
|
+
optional?: boolean | undefined;
|
|
3126
|
+
}>, "many">;
|
|
3127
|
+
docsUrl: z.ZodOptional<z.ZodString>;
|
|
3128
|
+
suggestedName: z.ZodOptional<z.ZodString>;
|
|
3129
|
+
testUrl: z.ZodOptional<z.ZodString>;
|
|
3130
|
+
acceptedStatusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
3131
|
+
serviceHost: z.ZodOptional<z.ZodString>;
|
|
3132
|
+
serviceOrigin: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3119
3133
|
}, "strip", z.ZodTypeAny, {
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
type
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3134
|
+
template: {
|
|
3135
|
+
headers?: Record<string, string> | undefined;
|
|
3136
|
+
qs?: Record<string, string> | undefined;
|
|
3137
|
+
body?: Record<string, unknown> | undefined;
|
|
3138
|
+
};
|
|
3139
|
+
placeholders: {
|
|
3140
|
+
name: string;
|
|
3141
|
+
title: string;
|
|
3142
|
+
info?: string | undefined;
|
|
3143
|
+
type?: "password" | "plain" | undefined;
|
|
3144
|
+
optional?: boolean | undefined;
|
|
3145
|
+
}[];
|
|
3146
|
+
docsUrl?: string | undefined;
|
|
3147
|
+
suggestedName?: string | undefined;
|
|
3148
|
+
testUrl?: string | undefined;
|
|
3149
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
3150
|
+
serviceHost?: string | undefined;
|
|
3151
|
+
serviceOrigin?: string | undefined;
|
|
3152
|
+
}, {
|
|
3153
|
+
template: {
|
|
3154
|
+
headers?: Record<string, string> | undefined;
|
|
3155
|
+
qs?: Record<string, string> | undefined;
|
|
3156
|
+
body?: Record<string, unknown> | undefined;
|
|
3157
|
+
};
|
|
3158
|
+
placeholders: {
|
|
3159
|
+
name: string;
|
|
3160
|
+
title: string;
|
|
3161
|
+
info?: string | undefined;
|
|
3162
|
+
type?: "password" | "plain" | undefined;
|
|
3163
|
+
optional?: boolean | undefined;
|
|
3164
|
+
}[];
|
|
3165
|
+
docsUrl?: string | undefined;
|
|
3166
|
+
suggestedName?: string | undefined;
|
|
3167
|
+
testUrl?: string | undefined;
|
|
3168
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
3169
|
+
serviceHost?: string | undefined;
|
|
3170
|
+
serviceOrigin?: string | undefined;
|
|
3171
|
+
}>>;
|
|
3172
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3173
|
+
}, "strip", z.ZodTypeAny, {
|
|
3174
|
+
id: string;
|
|
3175
|
+
kind: "credential";
|
|
3176
|
+
credentialType: string;
|
|
3177
|
+
appDisplayName?: string | undefined;
|
|
3178
|
+
nodeBindings?: {
|
|
3179
|
+
nodeName: string;
|
|
3180
|
+
}[] | undefined;
|
|
3181
|
+
setupHint?: {
|
|
3182
|
+
template: {
|
|
3183
|
+
headers?: Record<string, string> | undefined;
|
|
3184
|
+
qs?: Record<string, string> | undefined;
|
|
3185
|
+
body?: Record<string, unknown> | undefined;
|
|
3186
|
+
};
|
|
3187
|
+
placeholders: {
|
|
3188
|
+
name: string;
|
|
3189
|
+
title: string;
|
|
3190
|
+
info?: string | undefined;
|
|
3191
|
+
type?: "password" | "plain" | undefined;
|
|
3192
|
+
optional?: boolean | undefined;
|
|
3193
|
+
}[];
|
|
3194
|
+
docsUrl?: string | undefined;
|
|
3195
|
+
suggestedName?: string | undefined;
|
|
3196
|
+
testUrl?: string | undefined;
|
|
3197
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
3198
|
+
serviceHost?: string | undefined;
|
|
3199
|
+
serviceOrigin?: string | undefined;
|
|
3200
|
+
} | undefined;
|
|
3201
|
+
reason?: string | undefined;
|
|
3202
|
+
}, {
|
|
3203
|
+
id: string;
|
|
3204
|
+
kind: "credential";
|
|
3205
|
+
credentialType: string;
|
|
3206
|
+
appDisplayName?: string | undefined;
|
|
3207
|
+
nodeBindings?: {
|
|
3208
|
+
nodeName: string;
|
|
3209
|
+
}[] | undefined;
|
|
3210
|
+
setupHint?: {
|
|
3211
|
+
template: {
|
|
3212
|
+
headers?: Record<string, string> | undefined;
|
|
3213
|
+
qs?: Record<string, string> | undefined;
|
|
3214
|
+
body?: Record<string, unknown> | undefined;
|
|
3215
|
+
};
|
|
3216
|
+
placeholders: {
|
|
3217
|
+
name: string;
|
|
3218
|
+
title: string;
|
|
3219
|
+
info?: string | undefined;
|
|
3220
|
+
type?: "password" | "plain" | undefined;
|
|
3221
|
+
optional?: boolean | undefined;
|
|
3222
|
+
}[];
|
|
3223
|
+
docsUrl?: string | undefined;
|
|
3224
|
+
suggestedName?: string | undefined;
|
|
3225
|
+
testUrl?: string | undefined;
|
|
3226
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
3227
|
+
serviceHost?: string | undefined;
|
|
3228
|
+
serviceOrigin?: string | undefined;
|
|
3229
|
+
} | undefined;
|
|
3230
|
+
reason?: string | undefined;
|
|
3231
|
+
}>, z.ZodObject<{
|
|
3232
|
+
id: z.ZodString;
|
|
3233
|
+
kind: z.ZodLiteral<"parameters">;
|
|
3234
|
+
nodeName: z.ZodString;
|
|
3235
|
+
parameterNames: z.ZodArray<z.ZodString, "many">;
|
|
3236
|
+
}, "strip", z.ZodTypeAny, {
|
|
3237
|
+
id: string;
|
|
3238
|
+
kind: "parameters";
|
|
3239
|
+
nodeName: string;
|
|
3240
|
+
parameterNames: string[];
|
|
3241
|
+
}, {
|
|
3242
|
+
id: string;
|
|
3243
|
+
kind: "parameters";
|
|
3244
|
+
nodeName: string;
|
|
3245
|
+
parameterNames: string[];
|
|
3246
|
+
}>]>;
|
|
3247
|
+
export type InstanceAiSetupItem = z.infer<typeof setupItemSchema>;
|
|
3248
|
+
export declare const setupItemsPayloadSchema: z.ZodObject<{
|
|
3249
|
+
workflowId: z.ZodString;
|
|
3250
|
+
items: z.ZodEffects<z.ZodArray<z.ZodCatch<z.ZodNullable<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
3251
|
+
id: z.ZodString;
|
|
3252
|
+
kind: z.ZodLiteral<"credential">;
|
|
3253
|
+
credentialType: z.ZodString;
|
|
3254
|
+
appDisplayName: z.ZodOptional<z.ZodString>;
|
|
3255
|
+
nodeBindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3256
|
+
nodeName: z.ZodString;
|
|
3257
|
+
}, "strip", z.ZodTypeAny, {
|
|
3258
|
+
nodeName: string;
|
|
3259
|
+
}, {
|
|
3260
|
+
nodeName: string;
|
|
3261
|
+
}>, "many">>;
|
|
3262
|
+
setupHint: z.ZodOptional<z.ZodObject<{
|
|
3263
|
+
template: z.ZodObject<{
|
|
3264
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3265
|
+
qs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3266
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3267
|
+
}, "strip", z.ZodTypeAny, {
|
|
3268
|
+
headers?: Record<string, string> | undefined;
|
|
3269
|
+
qs?: Record<string, string> | undefined;
|
|
3270
|
+
body?: Record<string, unknown> | undefined;
|
|
3271
|
+
}, {
|
|
3272
|
+
headers?: Record<string, string> | undefined;
|
|
3273
|
+
qs?: Record<string, string> | undefined;
|
|
3274
|
+
body?: Record<string, unknown> | undefined;
|
|
3275
|
+
}>;
|
|
3276
|
+
placeholders: z.ZodArray<z.ZodObject<{
|
|
3277
|
+
name: z.ZodString;
|
|
3278
|
+
title: z.ZodString;
|
|
3279
|
+
info: z.ZodOptional<z.ZodString>;
|
|
3280
|
+
type: z.ZodOptional<z.ZodEnum<["password", "plain"]>>;
|
|
3281
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
3282
|
+
}, "strip", z.ZodTypeAny, {
|
|
3283
|
+
name: string;
|
|
3284
|
+
title: string;
|
|
3285
|
+
info?: string | undefined;
|
|
3286
|
+
type?: "password" | "plain" | undefined;
|
|
3287
|
+
optional?: boolean | undefined;
|
|
3288
|
+
}, {
|
|
3289
|
+
name: string;
|
|
3290
|
+
title: string;
|
|
3291
|
+
info?: string | undefined;
|
|
3292
|
+
type?: "password" | "plain" | undefined;
|
|
3293
|
+
optional?: boolean | undefined;
|
|
3294
|
+
}>, "many">;
|
|
3295
|
+
docsUrl: z.ZodOptional<z.ZodString>;
|
|
3296
|
+
suggestedName: z.ZodOptional<z.ZodString>;
|
|
3297
|
+
testUrl: z.ZodOptional<z.ZodString>;
|
|
3298
|
+
acceptedStatusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
3299
|
+
serviceHost: z.ZodOptional<z.ZodString>;
|
|
3300
|
+
serviceOrigin: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3301
|
+
}, "strip", z.ZodTypeAny, {
|
|
3302
|
+
template: {
|
|
3303
|
+
headers?: Record<string, string> | undefined;
|
|
3304
|
+
qs?: Record<string, string> | undefined;
|
|
3305
|
+
body?: Record<string, unknown> | undefined;
|
|
3306
|
+
};
|
|
3307
|
+
placeholders: {
|
|
3308
|
+
name: string;
|
|
3309
|
+
title: string;
|
|
3310
|
+
info?: string | undefined;
|
|
3311
|
+
type?: "password" | "plain" | undefined;
|
|
3312
|
+
optional?: boolean | undefined;
|
|
3313
|
+
}[];
|
|
3314
|
+
docsUrl?: string | undefined;
|
|
3315
|
+
suggestedName?: string | undefined;
|
|
3316
|
+
testUrl?: string | undefined;
|
|
3317
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
3318
|
+
serviceHost?: string | undefined;
|
|
3319
|
+
serviceOrigin?: string | undefined;
|
|
3320
|
+
}, {
|
|
3321
|
+
template: {
|
|
3322
|
+
headers?: Record<string, string> | undefined;
|
|
3323
|
+
qs?: Record<string, string> | undefined;
|
|
3324
|
+
body?: Record<string, unknown> | undefined;
|
|
3325
|
+
};
|
|
3326
|
+
placeholders: {
|
|
3327
|
+
name: string;
|
|
3328
|
+
title: string;
|
|
3329
|
+
info?: string | undefined;
|
|
3330
|
+
type?: "password" | "plain" | undefined;
|
|
3331
|
+
optional?: boolean | undefined;
|
|
3332
|
+
}[];
|
|
3333
|
+
docsUrl?: string | undefined;
|
|
3334
|
+
suggestedName?: string | undefined;
|
|
3335
|
+
testUrl?: string | undefined;
|
|
3336
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
3337
|
+
serviceHost?: string | undefined;
|
|
3338
|
+
serviceOrigin?: string | undefined;
|
|
3339
|
+
}>>;
|
|
3340
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3341
|
+
}, "strip", z.ZodTypeAny, {
|
|
3342
|
+
id: string;
|
|
3343
|
+
kind: "credential";
|
|
3344
|
+
credentialType: string;
|
|
3345
|
+
appDisplayName?: string | undefined;
|
|
3346
|
+
nodeBindings?: {
|
|
3347
|
+
nodeName: string;
|
|
3348
|
+
}[] | undefined;
|
|
3349
|
+
setupHint?: {
|
|
3350
|
+
template: {
|
|
3351
|
+
headers?: Record<string, string> | undefined;
|
|
3352
|
+
qs?: Record<string, string> | undefined;
|
|
3353
|
+
body?: Record<string, unknown> | undefined;
|
|
3354
|
+
};
|
|
3355
|
+
placeholders: {
|
|
3356
|
+
name: string;
|
|
3357
|
+
title: string;
|
|
3358
|
+
info?: string | undefined;
|
|
3359
|
+
type?: "password" | "plain" | undefined;
|
|
3360
|
+
optional?: boolean | undefined;
|
|
3361
|
+
}[];
|
|
3362
|
+
docsUrl?: string | undefined;
|
|
3363
|
+
suggestedName?: string | undefined;
|
|
3364
|
+
testUrl?: string | undefined;
|
|
3365
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
3366
|
+
serviceHost?: string | undefined;
|
|
3367
|
+
serviceOrigin?: string | undefined;
|
|
3368
|
+
} | undefined;
|
|
3369
|
+
reason?: string | undefined;
|
|
3370
|
+
}, {
|
|
3371
|
+
id: string;
|
|
3372
|
+
kind: "credential";
|
|
3373
|
+
credentialType: string;
|
|
3374
|
+
appDisplayName?: string | undefined;
|
|
3375
|
+
nodeBindings?: {
|
|
3376
|
+
nodeName: string;
|
|
3377
|
+
}[] | undefined;
|
|
3378
|
+
setupHint?: {
|
|
3379
|
+
template: {
|
|
3380
|
+
headers?: Record<string, string> | undefined;
|
|
3381
|
+
qs?: Record<string, string> | undefined;
|
|
3382
|
+
body?: Record<string, unknown> | undefined;
|
|
3383
|
+
};
|
|
3384
|
+
placeholders: {
|
|
3385
|
+
name: string;
|
|
3386
|
+
title: string;
|
|
3387
|
+
info?: string | undefined;
|
|
3388
|
+
type?: "password" | "plain" | undefined;
|
|
3389
|
+
optional?: boolean | undefined;
|
|
3390
|
+
}[];
|
|
3391
|
+
docsUrl?: string | undefined;
|
|
3392
|
+
suggestedName?: string | undefined;
|
|
3393
|
+
testUrl?: string | undefined;
|
|
3394
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
3395
|
+
serviceHost?: string | undefined;
|
|
3396
|
+
serviceOrigin?: string | undefined;
|
|
3397
|
+
} | undefined;
|
|
3398
|
+
reason?: string | undefined;
|
|
3399
|
+
}>, z.ZodObject<{
|
|
3400
|
+
id: z.ZodString;
|
|
3401
|
+
kind: z.ZodLiteral<"parameters">;
|
|
3402
|
+
nodeName: z.ZodString;
|
|
3403
|
+
parameterNames: z.ZodArray<z.ZodString, "many">;
|
|
3404
|
+
}, "strip", z.ZodTypeAny, {
|
|
3405
|
+
id: string;
|
|
3406
|
+
kind: "parameters";
|
|
3407
|
+
nodeName: string;
|
|
3408
|
+
parameterNames: string[];
|
|
3409
|
+
}, {
|
|
3410
|
+
id: string;
|
|
3411
|
+
kind: "parameters";
|
|
3412
|
+
nodeName: string;
|
|
3413
|
+
parameterNames: string[];
|
|
3414
|
+
}>]>>>, "many">, ({
|
|
3415
|
+
id: string;
|
|
3416
|
+
kind: "credential";
|
|
3417
|
+
credentialType: string;
|
|
3418
|
+
appDisplayName?: string | undefined;
|
|
3419
|
+
nodeBindings?: {
|
|
3420
|
+
nodeName: string;
|
|
3421
|
+
}[] | undefined;
|
|
3422
|
+
setupHint?: {
|
|
3423
|
+
template: {
|
|
3424
|
+
headers?: Record<string, string> | undefined;
|
|
3425
|
+
qs?: Record<string, string> | undefined;
|
|
3426
|
+
body?: Record<string, unknown> | undefined;
|
|
3427
|
+
};
|
|
3428
|
+
placeholders: {
|
|
3429
|
+
name: string;
|
|
3430
|
+
title: string;
|
|
3431
|
+
info?: string | undefined;
|
|
3432
|
+
type?: "password" | "plain" | undefined;
|
|
3433
|
+
optional?: boolean | undefined;
|
|
3434
|
+
}[];
|
|
3435
|
+
docsUrl?: string | undefined;
|
|
3436
|
+
suggestedName?: string | undefined;
|
|
3437
|
+
testUrl?: string | undefined;
|
|
3438
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
3439
|
+
serviceHost?: string | undefined;
|
|
3440
|
+
serviceOrigin?: string | undefined;
|
|
3441
|
+
} | undefined;
|
|
3442
|
+
reason?: string | undefined;
|
|
3443
|
+
} | {
|
|
3444
|
+
id: string;
|
|
3445
|
+
kind: "parameters";
|
|
3446
|
+
nodeName: string;
|
|
3447
|
+
parameterNames: string[];
|
|
3448
|
+
})[], unknown[]>;
|
|
3449
|
+
}, "strip", z.ZodTypeAny, {
|
|
3450
|
+
workflowId: string;
|
|
3451
|
+
items: ({
|
|
3452
|
+
id: string;
|
|
3453
|
+
kind: "credential";
|
|
3454
|
+
credentialType: string;
|
|
3455
|
+
appDisplayName?: string | undefined;
|
|
3456
|
+
nodeBindings?: {
|
|
3457
|
+
nodeName: string;
|
|
3458
|
+
}[] | undefined;
|
|
3459
|
+
setupHint?: {
|
|
3460
|
+
template: {
|
|
3461
|
+
headers?: Record<string, string> | undefined;
|
|
3462
|
+
qs?: Record<string, string> | undefined;
|
|
3463
|
+
body?: Record<string, unknown> | undefined;
|
|
3464
|
+
};
|
|
3465
|
+
placeholders: {
|
|
3466
|
+
name: string;
|
|
3467
|
+
title: string;
|
|
3468
|
+
info?: string | undefined;
|
|
3469
|
+
type?: "password" | "plain" | undefined;
|
|
3470
|
+
optional?: boolean | undefined;
|
|
3471
|
+
}[];
|
|
3472
|
+
docsUrl?: string | undefined;
|
|
3473
|
+
suggestedName?: string | undefined;
|
|
3474
|
+
testUrl?: string | undefined;
|
|
3475
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
3476
|
+
serviceHost?: string | undefined;
|
|
3477
|
+
serviceOrigin?: string | undefined;
|
|
3478
|
+
} | undefined;
|
|
3479
|
+
reason?: string | undefined;
|
|
3480
|
+
} | {
|
|
3481
|
+
id: string;
|
|
3482
|
+
kind: "parameters";
|
|
3483
|
+
nodeName: string;
|
|
3484
|
+
parameterNames: string[];
|
|
3485
|
+
})[];
|
|
3486
|
+
}, {
|
|
3487
|
+
workflowId: string;
|
|
3488
|
+
items: unknown[];
|
|
3489
|
+
}>;
|
|
3490
|
+
export declare const threadTitleUpdatedPayloadSchema: z.ZodObject<{
|
|
3491
|
+
title: z.ZodString;
|
|
3492
|
+
}, "strip", z.ZodTypeAny, {
|
|
3493
|
+
title: string;
|
|
3494
|
+
}, {
|
|
3495
|
+
title: string;
|
|
3496
|
+
}>;
|
|
3497
|
+
export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3498
|
+
runId: z.ZodString;
|
|
3499
|
+
agentId: z.ZodString;
|
|
3500
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
3501
|
+
responseId: z.ZodOptional<z.ZodString>;
|
|
3502
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
3503
|
+
type: z.ZodLiteral<"run-start">;
|
|
3504
|
+
payload: z.ZodObject<{
|
|
3505
|
+
messageId: z.ZodString;
|
|
3506
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
3507
|
+
messageGroupId: z.ZodOptional<z.ZodString>;
|
|
3508
|
+
langsmithRunId: z.ZodOptional<z.ZodString>;
|
|
3509
|
+
langsmithTraceId: z.ZodOptional<z.ZodString>;
|
|
3510
|
+
}, "strip", z.ZodTypeAny, {
|
|
3511
|
+
messageId: string;
|
|
3512
|
+
traceId?: string | undefined;
|
|
3513
|
+
messageGroupId?: string | undefined;
|
|
3514
|
+
langsmithRunId?: string | undefined;
|
|
3515
|
+
langsmithTraceId?: string | undefined;
|
|
3516
|
+
}, {
|
|
3517
|
+
messageId: string;
|
|
3518
|
+
traceId?: string | undefined;
|
|
3519
|
+
messageGroupId?: string | undefined;
|
|
3520
|
+
langsmithRunId?: string | undefined;
|
|
3521
|
+
langsmithTraceId?: string | undefined;
|
|
3522
|
+
}>;
|
|
3523
|
+
}, "strip", z.ZodTypeAny, {
|
|
3524
|
+
runId: string;
|
|
3525
|
+
agentId: string;
|
|
3526
|
+
userId?: string | undefined;
|
|
3527
|
+
responseId?: string | undefined;
|
|
3528
|
+
ts?: number | undefined;
|
|
3529
|
+
type: "run-start";
|
|
3530
|
+
payload: {
|
|
3531
|
+
messageId: string;
|
|
3532
|
+
traceId?: string | undefined;
|
|
3533
|
+
messageGroupId?: string | undefined;
|
|
3534
|
+
langsmithRunId?: string | undefined;
|
|
3535
|
+
langsmithTraceId?: string | undefined;
|
|
3536
|
+
};
|
|
3537
|
+
}, {
|
|
3538
|
+
runId: string;
|
|
3539
|
+
agentId: string;
|
|
3540
|
+
userId?: string | undefined;
|
|
3541
|
+
responseId?: string | undefined;
|
|
3542
|
+
ts?: number | undefined;
|
|
3543
|
+
type: "run-start";
|
|
3544
|
+
payload: {
|
|
3545
|
+
messageId: string;
|
|
3546
|
+
traceId?: string | undefined;
|
|
3547
|
+
messageGroupId?: string | undefined;
|
|
3548
|
+
langsmithRunId?: string | undefined;
|
|
3549
|
+
langsmithTraceId?: string | undefined;
|
|
3550
|
+
};
|
|
3551
|
+
}>, z.ZodObject<{
|
|
3552
|
+
runId: z.ZodString;
|
|
3553
|
+
agentId: z.ZodString;
|
|
3554
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
3555
|
+
responseId: z.ZodOptional<z.ZodString>;
|
|
3556
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
3557
|
+
type: z.ZodLiteral<"run-finish">;
|
|
3558
|
+
payload: z.ZodObject<{
|
|
3559
|
+
status: z.ZodEnum<["completed", "cancelled", "error", "interrupted"]>;
|
|
3560
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3561
|
+
archivedWorkflowIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3562
|
+
}, "strip", z.ZodTypeAny, {
|
|
3563
|
+
status: "cancelled" | "completed" | "error" | "interrupted";
|
|
3564
|
+
reason?: string | undefined;
|
|
3565
|
+
archivedWorkflowIds?: string[] | undefined;
|
|
3566
|
+
}, {
|
|
3567
|
+
status: "cancelled" | "completed" | "error" | "interrupted";
|
|
3568
|
+
reason?: string | undefined;
|
|
3569
|
+
archivedWorkflowIds?: string[] | undefined;
|
|
3570
|
+
}>;
|
|
3571
|
+
}, "strip", z.ZodTypeAny, {
|
|
3572
|
+
runId: string;
|
|
3573
|
+
agentId: string;
|
|
3574
|
+
userId?: string | undefined;
|
|
3575
|
+
responseId?: string | undefined;
|
|
3576
|
+
ts?: number | undefined;
|
|
3577
|
+
type: "run-finish";
|
|
3578
|
+
payload: {
|
|
3579
|
+
status: "cancelled" | "completed" | "error" | "interrupted";
|
|
3580
|
+
reason?: string | undefined;
|
|
3581
|
+
archivedWorkflowIds?: string[] | undefined;
|
|
3582
|
+
};
|
|
3583
|
+
}, {
|
|
3584
|
+
runId: string;
|
|
3585
|
+
agentId: string;
|
|
3586
|
+
userId?: string | undefined;
|
|
3587
|
+
responseId?: string | undefined;
|
|
3588
|
+
ts?: number | undefined;
|
|
3589
|
+
type: "run-finish";
|
|
3590
|
+
payload: {
|
|
3591
|
+
status: "cancelled" | "completed" | "error" | "interrupted";
|
|
3592
|
+
reason?: string | undefined;
|
|
3593
|
+
archivedWorkflowIds?: string[] | undefined;
|
|
3594
|
+
};
|
|
3595
|
+
}>, z.ZodObject<{
|
|
3596
|
+
runId: z.ZodString;
|
|
3597
|
+
agentId: z.ZodString;
|
|
3598
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
3599
|
+
responseId: z.ZodOptional<z.ZodString>;
|
|
3600
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
3601
|
+
type: z.ZodLiteral<"agent-spawned">;
|
|
3602
|
+
payload: z.ZodObject<{
|
|
3603
|
+
parentId: z.ZodString;
|
|
3604
|
+
role: z.ZodString;
|
|
3605
|
+
tools: z.ZodArray<z.ZodString, "many">;
|
|
3606
|
+
taskId: z.ZodOptional<z.ZodString>;
|
|
3607
|
+
kind: z.ZodOptional<z.ZodEnum<["builder", "data-table", "planner", "eval-setup", "agent-builder"]>>;
|
|
3608
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3609
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
3610
|
+
goal: z.ZodOptional<z.ZodString>;
|
|
3611
|
+
targetResource: z.ZodOptional<z.ZodObject<{
|
|
3612
|
+
type: z.ZodEnum<["workflow", "data-table", "credential", "other", "agent", "config-eval"]>;
|
|
3613
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3614
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3615
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3616
|
+
}, "strip", z.ZodTypeAny, {
|
|
3617
|
+
type: "agent" | "config-eval" | "credential" | "data-table" | "other" | "workflow";
|
|
3618
|
+
id?: string | undefined;
|
|
3619
|
+
name?: string | undefined;
|
|
3620
|
+
projectId?: string | undefined;
|
|
3621
|
+
}, {
|
|
3622
|
+
type: "agent" | "config-eval" | "credential" | "data-table" | "other" | "workflow";
|
|
3623
|
+
id?: string | undefined;
|
|
3624
|
+
name?: string | undefined;
|
|
3625
|
+
projectId?: string | undefined;
|
|
3626
|
+
}>>;
|
|
3627
|
+
}, "strip", z.ZodTypeAny, {
|
|
3628
|
+
parentId: string;
|
|
3629
|
+
role: string;
|
|
3630
|
+
tools: string[];
|
|
3631
|
+
taskId?: string | undefined;
|
|
3632
|
+
kind?: "agent-builder" | "builder" | "data-table" | "eval-setup" | "planner" | undefined;
|
|
3633
|
+
title?: string | undefined;
|
|
3634
|
+
subtitle?: string | undefined;
|
|
3635
|
+
goal?: string | undefined;
|
|
3636
|
+
targetResource?: {
|
|
3637
|
+
type: "agent" | "config-eval" | "credential" | "data-table" | "other" | "workflow";
|
|
3638
|
+
id?: string | undefined;
|
|
3639
|
+
name?: string | undefined;
|
|
3640
|
+
projectId?: string | undefined;
|
|
3641
|
+
} | undefined;
|
|
3642
|
+
}, {
|
|
3135
3643
|
parentId: string;
|
|
3136
3644
|
role: string;
|
|
3137
3645
|
tools: string[];
|
|
@@ -4287,31 +4795,59 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4287
4795
|
serverSlug: z.ZodString;
|
|
4288
4796
|
title: z.ZodString;
|
|
4289
4797
|
tagline: z.ZodOptional<z.ZodString>;
|
|
4290
|
-
|
|
4798
|
+
usesCredentials: z.ZodArray<z.ZodObject<{
|
|
4799
|
+
credentialType: z.ZodString;
|
|
4800
|
+
name: z.ZodString;
|
|
4801
|
+
value: z.ZodString;
|
|
4802
|
+
}, "strip", z.ZodTypeAny, {
|
|
4803
|
+
credentialType: string;
|
|
4804
|
+
name: string;
|
|
4805
|
+
value: string;
|
|
4806
|
+
}, {
|
|
4807
|
+
credentialType: string;
|
|
4808
|
+
name: string;
|
|
4809
|
+
value: string;
|
|
4810
|
+
}>, "many">;
|
|
4291
4811
|
}, "strip", z.ZodTypeAny, {
|
|
4292
4812
|
serverSlug: string;
|
|
4293
4813
|
title: string;
|
|
4294
4814
|
tagline?: string | undefined;
|
|
4295
|
-
|
|
4815
|
+
usesCredentials: {
|
|
4816
|
+
credentialType: string;
|
|
4817
|
+
name: string;
|
|
4818
|
+
value: string;
|
|
4819
|
+
}[];
|
|
4296
4820
|
}, {
|
|
4297
4821
|
serverSlug: string;
|
|
4298
4822
|
title: string;
|
|
4299
4823
|
tagline?: string | undefined;
|
|
4300
|
-
|
|
4824
|
+
usesCredentials: {
|
|
4825
|
+
credentialType: string;
|
|
4826
|
+
name: string;
|
|
4827
|
+
value: string;
|
|
4828
|
+
}[];
|
|
4301
4829
|
}>, "many">;
|
|
4302
4830
|
}, "strip", z.ZodTypeAny, {
|
|
4303
4831
|
servers: {
|
|
4304
4832
|
serverSlug: string;
|
|
4305
4833
|
title: string;
|
|
4306
4834
|
tagline?: string | undefined;
|
|
4307
|
-
|
|
4835
|
+
usesCredentials: {
|
|
4836
|
+
credentialType: string;
|
|
4837
|
+
name: string;
|
|
4838
|
+
value: string;
|
|
4839
|
+
}[];
|
|
4308
4840
|
}[];
|
|
4309
4841
|
}, {
|
|
4310
4842
|
servers: {
|
|
4311
4843
|
serverSlug: string;
|
|
4312
4844
|
title: string;
|
|
4313
4845
|
tagline?: string | undefined;
|
|
4314
|
-
|
|
4846
|
+
usesCredentials: {
|
|
4847
|
+
credentialType: string;
|
|
4848
|
+
name: string;
|
|
4849
|
+
value: string;
|
|
4850
|
+
}[];
|
|
4315
4851
|
}[];
|
|
4316
4852
|
}>>;
|
|
4317
4853
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4491,7 +5027,11 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4491
5027
|
serverSlug: string;
|
|
4492
5028
|
title: string;
|
|
4493
5029
|
tagline?: string | undefined;
|
|
4494
|
-
|
|
5030
|
+
usesCredentials: {
|
|
5031
|
+
credentialType: string;
|
|
5032
|
+
name: string;
|
|
5033
|
+
value: string;
|
|
5034
|
+
}[];
|
|
4495
5035
|
}[];
|
|
4496
5036
|
} | undefined;
|
|
4497
5037
|
}, {
|
|
@@ -4671,11 +5211,207 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4671
5211
|
serverSlug: string;
|
|
4672
5212
|
title: string;
|
|
4673
5213
|
tagline?: string | undefined;
|
|
4674
|
-
|
|
5214
|
+
usesCredentials: {
|
|
5215
|
+
credentialType: string;
|
|
5216
|
+
name: string;
|
|
5217
|
+
value: string;
|
|
5218
|
+
}[];
|
|
5219
|
+
}[];
|
|
5220
|
+
} | undefined;
|
|
5221
|
+
}>;
|
|
5222
|
+
}, "strip", z.ZodTypeAny, {
|
|
5223
|
+
runId: string;
|
|
5224
|
+
agentId: string;
|
|
5225
|
+
userId?: string | undefined;
|
|
5226
|
+
responseId?: string | undefined;
|
|
5227
|
+
ts?: number | undefined;
|
|
5228
|
+
type: "confirmation-request";
|
|
5229
|
+
payload: {
|
|
5230
|
+
requestId: string;
|
|
5231
|
+
inputThreadId?: string | undefined;
|
|
5232
|
+
toolCallId: string;
|
|
5233
|
+
toolName: string;
|
|
5234
|
+
args: Record<string, unknown>;
|
|
5235
|
+
severity: "destructive" | "info" | "warning";
|
|
5236
|
+
message: string;
|
|
5237
|
+
targetApproval?: {
|
|
5238
|
+
toolName: string;
|
|
5239
|
+
displayName?: string | undefined;
|
|
5240
|
+
args?: unknown;
|
|
5241
|
+
} | undefined;
|
|
5242
|
+
credentialRequests?: {
|
|
5243
|
+
credentialType: string;
|
|
5244
|
+
reason: string;
|
|
5245
|
+
existingCredentials: {
|
|
5246
|
+
id: string;
|
|
5247
|
+
name: string;
|
|
5248
|
+
}[];
|
|
5249
|
+
suggestedName?: string | undefined;
|
|
5250
|
+
setupHint?: {
|
|
5251
|
+
template: {
|
|
5252
|
+
headers?: Record<string, string> | undefined;
|
|
5253
|
+
qs?: Record<string, string> | undefined;
|
|
5254
|
+
body?: Record<string, unknown> | undefined;
|
|
5255
|
+
};
|
|
5256
|
+
placeholders: {
|
|
5257
|
+
name: string;
|
|
5258
|
+
title: string;
|
|
5259
|
+
info?: string | undefined;
|
|
5260
|
+
type?: "password" | "plain" | undefined;
|
|
5261
|
+
optional?: boolean | undefined;
|
|
5262
|
+
}[];
|
|
5263
|
+
docsUrl?: string | undefined;
|
|
5264
|
+
suggestedName?: string | undefined;
|
|
5265
|
+
testUrl?: string | undefined;
|
|
5266
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
5267
|
+
serviceHost?: string | undefined;
|
|
5268
|
+
serviceOrigin?: string | undefined;
|
|
5269
|
+
} | undefined;
|
|
5270
|
+
preferNew?: boolean | undefined;
|
|
5271
|
+
}[] | undefined;
|
|
5272
|
+
requireUserSelection?: boolean | undefined;
|
|
5273
|
+
projectId?: string | undefined;
|
|
5274
|
+
inputType?: "approval" | "continue" | "plan-review" | "questions" | "resource-decision" | "text" | undefined;
|
|
5275
|
+
questions?: {
|
|
5276
|
+
id: string;
|
|
5277
|
+
question: string;
|
|
5278
|
+
type: "multi" | "single" | "text";
|
|
5279
|
+
options?: string[] | undefined;
|
|
5280
|
+
}[] | undefined;
|
|
5281
|
+
introMessage?: string | undefined;
|
|
5282
|
+
tasks?: {
|
|
5283
|
+
tasks: {
|
|
5284
|
+
id: string;
|
|
5285
|
+
description: string;
|
|
5286
|
+
detail?: string | undefined;
|
|
5287
|
+
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5288
|
+
}[];
|
|
5289
|
+
} | undefined;
|
|
5290
|
+
planItems?: {
|
|
5291
|
+
id: string;
|
|
5292
|
+
title: string;
|
|
5293
|
+
kind: string;
|
|
5294
|
+
spec: string;
|
|
5295
|
+
deps: string[];
|
|
5296
|
+
tools?: string[] | undefined;
|
|
5297
|
+
workflowId?: string | undefined;
|
|
5298
|
+
isSupportingWorkflow?: boolean | undefined;
|
|
5299
|
+
}[] | undefined;
|
|
5300
|
+
domainAccess?: {
|
|
5301
|
+
url: string;
|
|
5302
|
+
host: string;
|
|
5303
|
+
} | undefined;
|
|
5304
|
+
webSearch?: {
|
|
5305
|
+
query: string;
|
|
5306
|
+
} | undefined;
|
|
5307
|
+
credentialFlow?: {
|
|
5308
|
+
stage: "finalize" | "generic";
|
|
5309
|
+
} | undefined;
|
|
5310
|
+
credentialDestination?: {
|
|
5311
|
+
origin: string;
|
|
5312
|
+
nodeNames: string[];
|
|
5313
|
+
} | undefined;
|
|
5314
|
+
setupRequests?: {
|
|
5315
|
+
node: {
|
|
5316
|
+
name: string;
|
|
5317
|
+
type: string;
|
|
5318
|
+
typeVersion: number;
|
|
5319
|
+
parameters: Record<string, unknown>;
|
|
5320
|
+
credentials?: Record<string, {
|
|
5321
|
+
id: string;
|
|
5322
|
+
name: string;
|
|
5323
|
+
} | {
|
|
5324
|
+
id: null;
|
|
5325
|
+
name: string;
|
|
5326
|
+
__aiGatewayManaged: true;
|
|
5327
|
+
}> | undefined;
|
|
5328
|
+
position: [number, number];
|
|
5329
|
+
id: string;
|
|
5330
|
+
};
|
|
5331
|
+
credentialType?: string | undefined;
|
|
5332
|
+
existingCredentials?: {
|
|
5333
|
+
id: string;
|
|
5334
|
+
name: string;
|
|
5335
|
+
}[] | undefined;
|
|
5336
|
+
setupHint?: {
|
|
5337
|
+
template: {
|
|
5338
|
+
headers?: Record<string, string> | undefined;
|
|
5339
|
+
qs?: Record<string, string> | undefined;
|
|
5340
|
+
body?: Record<string, unknown> | undefined;
|
|
5341
|
+
};
|
|
5342
|
+
placeholders: {
|
|
5343
|
+
name: string;
|
|
5344
|
+
title: string;
|
|
5345
|
+
info?: string | undefined;
|
|
5346
|
+
type?: "password" | "plain" | undefined;
|
|
5347
|
+
optional?: boolean | undefined;
|
|
5348
|
+
}[];
|
|
5349
|
+
docsUrl?: string | undefined;
|
|
5350
|
+
suggestedName?: string | undefined;
|
|
5351
|
+
testUrl?: string | undefined;
|
|
5352
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
5353
|
+
serviceHost?: string | undefined;
|
|
5354
|
+
serviceOrigin?: string | undefined;
|
|
5355
|
+
} | undefined;
|
|
5356
|
+
isTrigger: boolean;
|
|
5357
|
+
isFirstTrigger?: boolean | undefined;
|
|
5358
|
+
isTestable?: boolean | undefined;
|
|
5359
|
+
isAutoApplied?: boolean | undefined;
|
|
5360
|
+
preferNewCredential?: boolean | undefined;
|
|
5361
|
+
credentialTestResult?: {
|
|
5362
|
+
success: boolean;
|
|
5363
|
+
message?: string | undefined;
|
|
5364
|
+
} | undefined;
|
|
5365
|
+
triggerTestResult?: {
|
|
5366
|
+
status: "error" | "listening" | "success";
|
|
5367
|
+
error?: string | undefined;
|
|
5368
|
+
} | undefined;
|
|
5369
|
+
parameterIssues?: Record<string, string[]> | undefined;
|
|
5370
|
+
editableParameters?: {
|
|
5371
|
+
name: string;
|
|
5372
|
+
displayName: string;
|
|
5373
|
+
type: string;
|
|
5374
|
+
required?: boolean | undefined;
|
|
5375
|
+
default?: unknown;
|
|
5376
|
+
options?: {
|
|
5377
|
+
name: string;
|
|
5378
|
+
value: string | number | boolean;
|
|
5379
|
+
}[] | undefined;
|
|
5380
|
+
}[] | undefined;
|
|
5381
|
+
needsAction?: boolean | undefined;
|
|
5382
|
+
credentialNeedsAction?: boolean | undefined;
|
|
5383
|
+
subnodeRootNode?: {
|
|
5384
|
+
name: string;
|
|
5385
|
+
type: string;
|
|
5386
|
+
typeVersion: number;
|
|
5387
|
+
id: string;
|
|
5388
|
+
} | undefined;
|
|
5389
|
+
}[] | undefined;
|
|
5390
|
+
workflowId?: string | undefined;
|
|
5391
|
+
resourceDecision?: {
|
|
5392
|
+
toolGroup: string;
|
|
5393
|
+
resource: string;
|
|
5394
|
+
description: string;
|
|
5395
|
+
options: ("allowForSession" | "allowOnce" | "denyOnce")[];
|
|
5396
|
+
} | undefined;
|
|
5397
|
+
channelConfig?: {
|
|
5398
|
+
integrationType: string;
|
|
5399
|
+
agentId: string;
|
|
5400
|
+
} | undefined;
|
|
5401
|
+
mcpConnectRequest?: {
|
|
5402
|
+
servers: {
|
|
5403
|
+
serverSlug: string;
|
|
5404
|
+
title: string;
|
|
5405
|
+
tagline?: string | undefined;
|
|
5406
|
+
usesCredentials: {
|
|
5407
|
+
credentialType: string;
|
|
5408
|
+
name: string;
|
|
5409
|
+
value: string;
|
|
5410
|
+
}[];
|
|
4675
5411
|
}[];
|
|
4676
5412
|
} | undefined;
|
|
4677
|
-
}
|
|
4678
|
-
},
|
|
5413
|
+
};
|
|
5414
|
+
}, {
|
|
4679
5415
|
runId: string;
|
|
4680
5416
|
agentId: string;
|
|
4681
5417
|
userId?: string | undefined;
|
|
@@ -4859,38 +5595,283 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4859
5595
|
serverSlug: string;
|
|
4860
5596
|
title: string;
|
|
4861
5597
|
tagline?: string | undefined;
|
|
4862
|
-
|
|
5598
|
+
usesCredentials: {
|
|
5599
|
+
credentialType: string;
|
|
5600
|
+
name: string;
|
|
5601
|
+
value: string;
|
|
5602
|
+
}[];
|
|
4863
5603
|
}[];
|
|
4864
5604
|
} | undefined;
|
|
4865
5605
|
};
|
|
5606
|
+
}>, z.ZodObject<{
|
|
5607
|
+
runId: z.ZodString;
|
|
5608
|
+
agentId: z.ZodString;
|
|
5609
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
5610
|
+
responseId: z.ZodOptional<z.ZodString>;
|
|
5611
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
5612
|
+
type: z.ZodLiteral<"tasks-update">;
|
|
5613
|
+
payload: z.ZodObject<{
|
|
5614
|
+
tasks: z.ZodObject<{
|
|
5615
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
5616
|
+
id: z.ZodString;
|
|
5617
|
+
description: z.ZodString;
|
|
5618
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5619
|
+
status: z.ZodEnum<["todo", "in_progress", "done", "failed", "cancelled"]>;
|
|
5620
|
+
}, "strip", z.ZodTypeAny, {
|
|
5621
|
+
id: string;
|
|
5622
|
+
description: string;
|
|
5623
|
+
detail?: string | undefined;
|
|
5624
|
+
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5625
|
+
}, {
|
|
5626
|
+
id: string;
|
|
5627
|
+
description: string;
|
|
5628
|
+
detail?: string | undefined;
|
|
5629
|
+
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5630
|
+
}>, "many">;
|
|
5631
|
+
}, "strip", z.ZodTypeAny, {
|
|
5632
|
+
tasks: {
|
|
5633
|
+
id: string;
|
|
5634
|
+
description: string;
|
|
5635
|
+
detail?: string | undefined;
|
|
5636
|
+
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5637
|
+
}[];
|
|
5638
|
+
}, {
|
|
5639
|
+
tasks: {
|
|
5640
|
+
id: string;
|
|
5641
|
+
description: string;
|
|
5642
|
+
detail?: string | undefined;
|
|
5643
|
+
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5644
|
+
}[];
|
|
5645
|
+
}>;
|
|
5646
|
+
planItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5647
|
+
id: z.ZodString;
|
|
5648
|
+
title: z.ZodString;
|
|
5649
|
+
kind: z.ZodString;
|
|
5650
|
+
spec: z.ZodString;
|
|
5651
|
+
deps: z.ZodArray<z.ZodString, "many">;
|
|
5652
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5653
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
5654
|
+
isSupportingWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
5655
|
+
}, "strip", z.ZodTypeAny, {
|
|
5656
|
+
id: string;
|
|
5657
|
+
title: string;
|
|
5658
|
+
kind: string;
|
|
5659
|
+
spec: string;
|
|
5660
|
+
deps: string[];
|
|
5661
|
+
tools?: string[] | undefined;
|
|
5662
|
+
workflowId?: string | undefined;
|
|
5663
|
+
isSupportingWorkflow?: boolean | undefined;
|
|
5664
|
+
}, {
|
|
5665
|
+
id: string;
|
|
5666
|
+
title: string;
|
|
5667
|
+
kind: string;
|
|
5668
|
+
spec: string;
|
|
5669
|
+
deps: string[];
|
|
5670
|
+
tools?: string[] | undefined;
|
|
5671
|
+
workflowId?: string | undefined;
|
|
5672
|
+
isSupportingWorkflow?: boolean | undefined;
|
|
5673
|
+
}>, "many">>;
|
|
5674
|
+
}, "strip", z.ZodTypeAny, {
|
|
5675
|
+
tasks: {
|
|
5676
|
+
tasks: {
|
|
5677
|
+
id: string;
|
|
5678
|
+
description: string;
|
|
5679
|
+
detail?: string | undefined;
|
|
5680
|
+
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5681
|
+
}[];
|
|
5682
|
+
};
|
|
5683
|
+
planItems?: {
|
|
5684
|
+
id: string;
|
|
5685
|
+
title: string;
|
|
5686
|
+
kind: string;
|
|
5687
|
+
spec: string;
|
|
5688
|
+
deps: string[];
|
|
5689
|
+
tools?: string[] | undefined;
|
|
5690
|
+
workflowId?: string | undefined;
|
|
5691
|
+
isSupportingWorkflow?: boolean | undefined;
|
|
5692
|
+
}[] | undefined;
|
|
5693
|
+
}, {
|
|
5694
|
+
tasks: {
|
|
5695
|
+
tasks: {
|
|
5696
|
+
id: string;
|
|
5697
|
+
description: string;
|
|
5698
|
+
detail?: string | undefined;
|
|
5699
|
+
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5700
|
+
}[];
|
|
5701
|
+
};
|
|
5702
|
+
planItems?: {
|
|
5703
|
+
id: string;
|
|
5704
|
+
title: string;
|
|
5705
|
+
kind: string;
|
|
5706
|
+
spec: string;
|
|
5707
|
+
deps: string[];
|
|
5708
|
+
tools?: string[] | undefined;
|
|
5709
|
+
workflowId?: string | undefined;
|
|
5710
|
+
isSupportingWorkflow?: boolean | undefined;
|
|
5711
|
+
}[] | undefined;
|
|
5712
|
+
}>;
|
|
5713
|
+
}, "strip", z.ZodTypeAny, {
|
|
5714
|
+
runId: string;
|
|
5715
|
+
agentId: string;
|
|
5716
|
+
userId?: string | undefined;
|
|
5717
|
+
responseId?: string | undefined;
|
|
5718
|
+
ts?: number | undefined;
|
|
5719
|
+
type: "tasks-update";
|
|
5720
|
+
payload: {
|
|
5721
|
+
tasks: {
|
|
5722
|
+
tasks: {
|
|
5723
|
+
id: string;
|
|
5724
|
+
description: string;
|
|
5725
|
+
detail?: string | undefined;
|
|
5726
|
+
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5727
|
+
}[];
|
|
5728
|
+
};
|
|
5729
|
+
planItems?: {
|
|
5730
|
+
id: string;
|
|
5731
|
+
title: string;
|
|
5732
|
+
kind: string;
|
|
5733
|
+
spec: string;
|
|
5734
|
+
deps: string[];
|
|
5735
|
+
tools?: string[] | undefined;
|
|
5736
|
+
workflowId?: string | undefined;
|
|
5737
|
+
isSupportingWorkflow?: boolean | undefined;
|
|
5738
|
+
}[] | undefined;
|
|
5739
|
+
};
|
|
4866
5740
|
}, {
|
|
4867
5741
|
runId: string;
|
|
4868
5742
|
agentId: string;
|
|
4869
5743
|
userId?: string | undefined;
|
|
4870
5744
|
responseId?: string | undefined;
|
|
4871
5745
|
ts?: number | undefined;
|
|
4872
|
-
type: "
|
|
5746
|
+
type: "tasks-update";
|
|
4873
5747
|
payload: {
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
5748
|
+
tasks: {
|
|
5749
|
+
tasks: {
|
|
5750
|
+
id: string;
|
|
5751
|
+
description: string;
|
|
5752
|
+
detail?: string | undefined;
|
|
5753
|
+
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5754
|
+
}[];
|
|
5755
|
+
};
|
|
5756
|
+
planItems?: {
|
|
5757
|
+
id: string;
|
|
5758
|
+
title: string;
|
|
5759
|
+
kind: string;
|
|
5760
|
+
spec: string;
|
|
5761
|
+
deps: string[];
|
|
5762
|
+
tools?: string[] | undefined;
|
|
5763
|
+
workflowId?: string | undefined;
|
|
5764
|
+
isSupportingWorkflow?: boolean | undefined;
|
|
5765
|
+
}[] | undefined;
|
|
5766
|
+
};
|
|
5767
|
+
}>, z.ZodObject<{
|
|
5768
|
+
runId: z.ZodString;
|
|
5769
|
+
agentId: z.ZodString;
|
|
5770
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
5771
|
+
responseId: z.ZodOptional<z.ZodString>;
|
|
5772
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
5773
|
+
type: z.ZodLiteral<"setup-items">;
|
|
5774
|
+
payload: z.ZodObject<{
|
|
5775
|
+
workflowId: z.ZodString;
|
|
5776
|
+
items: z.ZodEffects<z.ZodArray<z.ZodCatch<z.ZodNullable<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
5777
|
+
id: z.ZodString;
|
|
5778
|
+
kind: z.ZodLiteral<"credential">;
|
|
5779
|
+
credentialType: z.ZodString;
|
|
5780
|
+
appDisplayName: z.ZodOptional<z.ZodString>;
|
|
5781
|
+
nodeBindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5782
|
+
nodeName: z.ZodString;
|
|
5783
|
+
}, "strip", z.ZodTypeAny, {
|
|
5784
|
+
nodeName: string;
|
|
5785
|
+
}, {
|
|
5786
|
+
nodeName: string;
|
|
5787
|
+
}>, "many">>;
|
|
5788
|
+
setupHint: z.ZodOptional<z.ZodObject<{
|
|
5789
|
+
template: z.ZodObject<{
|
|
5790
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5791
|
+
qs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5792
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5793
|
+
}, "strip", z.ZodTypeAny, {
|
|
5794
|
+
headers?: Record<string, string> | undefined;
|
|
5795
|
+
qs?: Record<string, string> | undefined;
|
|
5796
|
+
body?: Record<string, unknown> | undefined;
|
|
5797
|
+
}, {
|
|
5798
|
+
headers?: Record<string, string> | undefined;
|
|
5799
|
+
qs?: Record<string, string> | undefined;
|
|
5800
|
+
body?: Record<string, unknown> | undefined;
|
|
5801
|
+
}>;
|
|
5802
|
+
placeholders: z.ZodArray<z.ZodObject<{
|
|
5803
|
+
name: z.ZodString;
|
|
5804
|
+
title: z.ZodString;
|
|
5805
|
+
info: z.ZodOptional<z.ZodString>;
|
|
5806
|
+
type: z.ZodOptional<z.ZodEnum<["password", "plain"]>>;
|
|
5807
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
5808
|
+
}, "strip", z.ZodTypeAny, {
|
|
5809
|
+
name: string;
|
|
5810
|
+
title: string;
|
|
5811
|
+
info?: string | undefined;
|
|
5812
|
+
type?: "password" | "plain" | undefined;
|
|
5813
|
+
optional?: boolean | undefined;
|
|
5814
|
+
}, {
|
|
5815
|
+
name: string;
|
|
5816
|
+
title: string;
|
|
5817
|
+
info?: string | undefined;
|
|
5818
|
+
type?: "password" | "plain" | undefined;
|
|
5819
|
+
optional?: boolean | undefined;
|
|
5820
|
+
}>, "many">;
|
|
5821
|
+
docsUrl: z.ZodOptional<z.ZodString>;
|
|
5822
|
+
suggestedName: z.ZodOptional<z.ZodString>;
|
|
5823
|
+
testUrl: z.ZodOptional<z.ZodString>;
|
|
5824
|
+
acceptedStatusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
5825
|
+
serviceHost: z.ZodOptional<z.ZodString>;
|
|
5826
|
+
serviceOrigin: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
5827
|
+
}, "strip", z.ZodTypeAny, {
|
|
5828
|
+
template: {
|
|
5829
|
+
headers?: Record<string, string> | undefined;
|
|
5830
|
+
qs?: Record<string, string> | undefined;
|
|
5831
|
+
body?: Record<string, unknown> | undefined;
|
|
5832
|
+
};
|
|
5833
|
+
placeholders: {
|
|
5834
|
+
name: string;
|
|
5835
|
+
title: string;
|
|
5836
|
+
info?: string | undefined;
|
|
5837
|
+
type?: "password" | "plain" | undefined;
|
|
5838
|
+
optional?: boolean | undefined;
|
|
5839
|
+
}[];
|
|
5840
|
+
docsUrl?: string | undefined;
|
|
5841
|
+
suggestedName?: string | undefined;
|
|
5842
|
+
testUrl?: string | undefined;
|
|
5843
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
5844
|
+
serviceHost?: string | undefined;
|
|
5845
|
+
serviceOrigin?: string | undefined;
|
|
5846
|
+
}, {
|
|
5847
|
+
template: {
|
|
5848
|
+
headers?: Record<string, string> | undefined;
|
|
5849
|
+
qs?: Record<string, string> | undefined;
|
|
5850
|
+
body?: Record<string, unknown> | undefined;
|
|
5851
|
+
};
|
|
5852
|
+
placeholders: {
|
|
5853
|
+
name: string;
|
|
5854
|
+
title: string;
|
|
5855
|
+
info?: string | undefined;
|
|
5856
|
+
type?: "password" | "plain" | undefined;
|
|
5857
|
+
optional?: boolean | undefined;
|
|
5858
|
+
}[];
|
|
5859
|
+
docsUrl?: string | undefined;
|
|
5860
|
+
suggestedName?: string | undefined;
|
|
5861
|
+
testUrl?: string | undefined;
|
|
5862
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
5863
|
+
serviceHost?: string | undefined;
|
|
5864
|
+
serviceOrigin?: string | undefined;
|
|
5865
|
+
}>>;
|
|
5866
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5867
|
+
}, "strip", z.ZodTypeAny, {
|
|
5868
|
+
id: string;
|
|
5869
|
+
kind: "credential";
|
|
4887
5870
|
credentialType: string;
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
}[];
|
|
4893
|
-
suggestedName?: string | undefined;
|
|
5871
|
+
appDisplayName?: string | undefined;
|
|
5872
|
+
nodeBindings?: {
|
|
5873
|
+
nodeName: string;
|
|
5874
|
+
}[] | undefined;
|
|
4894
5875
|
setupHint?: {
|
|
4895
5876
|
template: {
|
|
4896
5877
|
headers?: Record<string, string> | undefined;
|
|
@@ -4911,71 +5892,14 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4911
5892
|
serviceHost?: string | undefined;
|
|
4912
5893
|
serviceOrigin?: string | undefined;
|
|
4913
5894
|
} | undefined;
|
|
4914
|
-
|
|
4915
|
-
}
|
|
4916
|
-
requireUserSelection?: boolean | undefined;
|
|
4917
|
-
projectId?: string | undefined;
|
|
4918
|
-
inputType?: "approval" | "continue" | "plan-review" | "questions" | "resource-decision" | "text" | undefined;
|
|
4919
|
-
questions?: {
|
|
4920
|
-
id: string;
|
|
4921
|
-
question: string;
|
|
4922
|
-
type: "multi" | "single" | "text";
|
|
4923
|
-
options?: string[] | undefined;
|
|
4924
|
-
}[] | undefined;
|
|
4925
|
-
introMessage?: string | undefined;
|
|
4926
|
-
tasks?: {
|
|
4927
|
-
tasks: {
|
|
4928
|
-
id: string;
|
|
4929
|
-
description: string;
|
|
4930
|
-
detail?: string | undefined;
|
|
4931
|
-
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
4932
|
-
}[];
|
|
4933
|
-
} | undefined;
|
|
4934
|
-
planItems?: {
|
|
5895
|
+
reason?: string | undefined;
|
|
5896
|
+
}, {
|
|
4935
5897
|
id: string;
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
workflowId?: string | undefined;
|
|
4942
|
-
isSupportingWorkflow?: boolean | undefined;
|
|
4943
|
-
}[] | undefined;
|
|
4944
|
-
domainAccess?: {
|
|
4945
|
-
url: string;
|
|
4946
|
-
host: string;
|
|
4947
|
-
} | undefined;
|
|
4948
|
-
webSearch?: {
|
|
4949
|
-
query: string;
|
|
4950
|
-
} | undefined;
|
|
4951
|
-
credentialFlow?: {
|
|
4952
|
-
stage: "finalize" | "generic";
|
|
4953
|
-
} | undefined;
|
|
4954
|
-
credentialDestination?: {
|
|
4955
|
-
origin: string;
|
|
4956
|
-
nodeNames: string[];
|
|
4957
|
-
} | undefined;
|
|
4958
|
-
setupRequests?: {
|
|
4959
|
-
node: {
|
|
4960
|
-
name: string;
|
|
4961
|
-
type: string;
|
|
4962
|
-
typeVersion: number;
|
|
4963
|
-
parameters: Record<string, unknown>;
|
|
4964
|
-
credentials?: Record<string, {
|
|
4965
|
-
id: string;
|
|
4966
|
-
name: string;
|
|
4967
|
-
} | {
|
|
4968
|
-
id: null;
|
|
4969
|
-
name: string;
|
|
4970
|
-
__aiGatewayManaged: true;
|
|
4971
|
-
}> | undefined;
|
|
4972
|
-
position: [number, number];
|
|
4973
|
-
id: string;
|
|
4974
|
-
};
|
|
4975
|
-
credentialType?: string | undefined;
|
|
4976
|
-
existingCredentials?: {
|
|
4977
|
-
id: string;
|
|
4978
|
-
name: string;
|
|
5898
|
+
kind: "credential";
|
|
5899
|
+
credentialType: string;
|
|
5900
|
+
appDisplayName?: string | undefined;
|
|
5901
|
+
nodeBindings?: {
|
|
5902
|
+
nodeName: string;
|
|
4979
5903
|
}[] | undefined;
|
|
4980
5904
|
setupHint?: {
|
|
4981
5905
|
template: {
|
|
@@ -4997,166 +5921,97 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4997
5921
|
serviceHost?: string | undefined;
|
|
4998
5922
|
serviceOrigin?: string | undefined;
|
|
4999
5923
|
} | undefined;
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
isTestable?: boolean | undefined;
|
|
5003
|
-
isAutoApplied?: boolean | undefined;
|
|
5004
|
-
preferNewCredential?: boolean | undefined;
|
|
5005
|
-
credentialTestResult?: {
|
|
5006
|
-
success: boolean;
|
|
5007
|
-
message?: string | undefined;
|
|
5008
|
-
} | undefined;
|
|
5009
|
-
triggerTestResult?: {
|
|
5010
|
-
status: "error" | "listening" | "success";
|
|
5011
|
-
error?: string | undefined;
|
|
5012
|
-
} | undefined;
|
|
5013
|
-
parameterIssues?: Record<string, string[]> | undefined;
|
|
5014
|
-
editableParameters?: {
|
|
5015
|
-
name: string;
|
|
5016
|
-
displayName: string;
|
|
5017
|
-
type: string;
|
|
5018
|
-
required?: boolean | undefined;
|
|
5019
|
-
default?: unknown;
|
|
5020
|
-
options?: {
|
|
5021
|
-
name: string;
|
|
5022
|
-
value: string | number | boolean;
|
|
5023
|
-
}[] | undefined;
|
|
5024
|
-
}[] | undefined;
|
|
5025
|
-
needsAction?: boolean | undefined;
|
|
5026
|
-
credentialNeedsAction?: boolean | undefined;
|
|
5027
|
-
subnodeRootNode?: {
|
|
5028
|
-
name: string;
|
|
5029
|
-
type: string;
|
|
5030
|
-
typeVersion: number;
|
|
5031
|
-
id: string;
|
|
5032
|
-
} | undefined;
|
|
5033
|
-
}[] | undefined;
|
|
5034
|
-
workflowId?: string | undefined;
|
|
5035
|
-
resourceDecision?: {
|
|
5036
|
-
toolGroup: string;
|
|
5037
|
-
resource: string;
|
|
5038
|
-
description: string;
|
|
5039
|
-
options: ("allowForSession" | "allowOnce" | "denyOnce")[];
|
|
5040
|
-
} | undefined;
|
|
5041
|
-
channelConfig?: {
|
|
5042
|
-
integrationType: string;
|
|
5043
|
-
agentId: string;
|
|
5044
|
-
} | undefined;
|
|
5045
|
-
mcpConnectRequest?: {
|
|
5046
|
-
servers: {
|
|
5047
|
-
serverSlug: string;
|
|
5048
|
-
title: string;
|
|
5049
|
-
tagline?: string | undefined;
|
|
5050
|
-
credentialType: string;
|
|
5051
|
-
}[];
|
|
5052
|
-
} | undefined;
|
|
5053
|
-
};
|
|
5054
|
-
}>, z.ZodObject<{
|
|
5055
|
-
runId: z.ZodString;
|
|
5056
|
-
agentId: z.ZodString;
|
|
5057
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
5058
|
-
responseId: z.ZodOptional<z.ZodString>;
|
|
5059
|
-
ts: z.ZodOptional<z.ZodNumber>;
|
|
5060
|
-
type: z.ZodLiteral<"tasks-update">;
|
|
5061
|
-
payload: z.ZodObject<{
|
|
5062
|
-
tasks: z.ZodObject<{
|
|
5063
|
-
tasks: z.ZodArray<z.ZodObject<{
|
|
5064
|
-
id: z.ZodString;
|
|
5065
|
-
description: z.ZodString;
|
|
5066
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
5067
|
-
status: z.ZodEnum<["todo", "in_progress", "done", "failed", "cancelled"]>;
|
|
5068
|
-
}, "strip", z.ZodTypeAny, {
|
|
5069
|
-
id: string;
|
|
5070
|
-
description: string;
|
|
5071
|
-
detail?: string | undefined;
|
|
5072
|
-
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5073
|
-
}, {
|
|
5074
|
-
id: string;
|
|
5075
|
-
description: string;
|
|
5076
|
-
detail?: string | undefined;
|
|
5077
|
-
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5078
|
-
}>, "many">;
|
|
5079
|
-
}, "strip", z.ZodTypeAny, {
|
|
5080
|
-
tasks: {
|
|
5081
|
-
id: string;
|
|
5082
|
-
description: string;
|
|
5083
|
-
detail?: string | undefined;
|
|
5084
|
-
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5085
|
-
}[];
|
|
5086
|
-
}, {
|
|
5087
|
-
tasks: {
|
|
5088
|
-
id: string;
|
|
5089
|
-
description: string;
|
|
5090
|
-
detail?: string | undefined;
|
|
5091
|
-
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5092
|
-
}[];
|
|
5093
|
-
}>;
|
|
5094
|
-
planItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5924
|
+
reason?: string | undefined;
|
|
5925
|
+
}>, z.ZodObject<{
|
|
5095
5926
|
id: z.ZodString;
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
deps: z.ZodArray<z.ZodString, "many">;
|
|
5100
|
-
tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5101
|
-
workflowId: z.ZodOptional<z.ZodString>;
|
|
5102
|
-
isSupportingWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
5927
|
+
kind: z.ZodLiteral<"parameters">;
|
|
5928
|
+
nodeName: z.ZodString;
|
|
5929
|
+
parameterNames: z.ZodArray<z.ZodString, "many">;
|
|
5103
5930
|
}, "strip", z.ZodTypeAny, {
|
|
5104
5931
|
id: string;
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
deps: string[];
|
|
5109
|
-
tools?: string[] | undefined;
|
|
5110
|
-
workflowId?: string | undefined;
|
|
5111
|
-
isSupportingWorkflow?: boolean | undefined;
|
|
5932
|
+
kind: "parameters";
|
|
5933
|
+
nodeName: string;
|
|
5934
|
+
parameterNames: string[];
|
|
5112
5935
|
}, {
|
|
5113
5936
|
id: string;
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5937
|
+
kind: "parameters";
|
|
5938
|
+
nodeName: string;
|
|
5939
|
+
parameterNames: string[];
|
|
5940
|
+
}>]>>>, "many">, ({
|
|
5941
|
+
id: string;
|
|
5942
|
+
kind: "credential";
|
|
5943
|
+
credentialType: string;
|
|
5944
|
+
appDisplayName?: string | undefined;
|
|
5945
|
+
nodeBindings?: {
|
|
5946
|
+
nodeName: string;
|
|
5947
|
+
}[] | undefined;
|
|
5948
|
+
setupHint?: {
|
|
5949
|
+
template: {
|
|
5950
|
+
headers?: Record<string, string> | undefined;
|
|
5951
|
+
qs?: Record<string, string> | undefined;
|
|
5952
|
+
body?: Record<string, unknown> | undefined;
|
|
5953
|
+
};
|
|
5954
|
+
placeholders: {
|
|
5955
|
+
name: string;
|
|
5956
|
+
title: string;
|
|
5957
|
+
info?: string | undefined;
|
|
5958
|
+
type?: "password" | "plain" | undefined;
|
|
5959
|
+
optional?: boolean | undefined;
|
|
5960
|
+
}[];
|
|
5961
|
+
docsUrl?: string | undefined;
|
|
5962
|
+
suggestedName?: string | undefined;
|
|
5963
|
+
testUrl?: string | undefined;
|
|
5964
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
5965
|
+
serviceHost?: string | undefined;
|
|
5966
|
+
serviceOrigin?: string | undefined;
|
|
5967
|
+
} | undefined;
|
|
5968
|
+
reason?: string | undefined;
|
|
5969
|
+
} | {
|
|
5970
|
+
id: string;
|
|
5971
|
+
kind: "parameters";
|
|
5972
|
+
nodeName: string;
|
|
5973
|
+
parameterNames: string[];
|
|
5974
|
+
})[], unknown[]>;
|
|
5122
5975
|
}, "strip", z.ZodTypeAny, {
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5976
|
+
workflowId: string;
|
|
5977
|
+
items: ({
|
|
5978
|
+
id: string;
|
|
5979
|
+
kind: "credential";
|
|
5980
|
+
credentialType: string;
|
|
5981
|
+
appDisplayName?: string | undefined;
|
|
5982
|
+
nodeBindings?: {
|
|
5983
|
+
nodeName: string;
|
|
5984
|
+
}[] | undefined;
|
|
5985
|
+
setupHint?: {
|
|
5986
|
+
template: {
|
|
5987
|
+
headers?: Record<string, string> | undefined;
|
|
5988
|
+
qs?: Record<string, string> | undefined;
|
|
5989
|
+
body?: Record<string, unknown> | undefined;
|
|
5990
|
+
};
|
|
5991
|
+
placeholders: {
|
|
5992
|
+
name: string;
|
|
5993
|
+
title: string;
|
|
5994
|
+
info?: string | undefined;
|
|
5995
|
+
type?: "password" | "plain" | undefined;
|
|
5996
|
+
optional?: boolean | undefined;
|
|
5997
|
+
}[];
|
|
5998
|
+
docsUrl?: string | undefined;
|
|
5999
|
+
suggestedName?: string | undefined;
|
|
6000
|
+
testUrl?: string | undefined;
|
|
6001
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
6002
|
+
serviceHost?: string | undefined;
|
|
6003
|
+
serviceOrigin?: string | undefined;
|
|
6004
|
+
} | undefined;
|
|
6005
|
+
reason?: string | undefined;
|
|
6006
|
+
} | {
|
|
5132
6007
|
id: string;
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
tools?: string[] | undefined;
|
|
5138
|
-
workflowId?: string | undefined;
|
|
5139
|
-
isSupportingWorkflow?: boolean | undefined;
|
|
5140
|
-
}[] | undefined;
|
|
6008
|
+
kind: "parameters";
|
|
6009
|
+
nodeName: string;
|
|
6010
|
+
parameterNames: string[];
|
|
6011
|
+
})[];
|
|
5141
6012
|
}, {
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
id: string;
|
|
5145
|
-
description: string;
|
|
5146
|
-
detail?: string | undefined;
|
|
5147
|
-
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5148
|
-
}[];
|
|
5149
|
-
};
|
|
5150
|
-
planItems?: {
|
|
5151
|
-
id: string;
|
|
5152
|
-
title: string;
|
|
5153
|
-
kind: string;
|
|
5154
|
-
spec: string;
|
|
5155
|
-
deps: string[];
|
|
5156
|
-
tools?: string[] | undefined;
|
|
5157
|
-
workflowId?: string | undefined;
|
|
5158
|
-
isSupportingWorkflow?: boolean | undefined;
|
|
5159
|
-
}[] | undefined;
|
|
6013
|
+
workflowId: string;
|
|
6014
|
+
items: unknown[];
|
|
5160
6015
|
}>;
|
|
5161
6016
|
}, "strip", z.ZodTypeAny, {
|
|
5162
6017
|
runId: string;
|
|
@@ -5164,26 +6019,44 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
5164
6019
|
userId?: string | undefined;
|
|
5165
6020
|
responseId?: string | undefined;
|
|
5166
6021
|
ts?: number | undefined;
|
|
5167
|
-
type: "
|
|
6022
|
+
type: "setup-items";
|
|
5168
6023
|
payload: {
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
id: string;
|
|
5172
|
-
description: string;
|
|
5173
|
-
detail?: string | undefined;
|
|
5174
|
-
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5175
|
-
}[];
|
|
5176
|
-
};
|
|
5177
|
-
planItems?: {
|
|
6024
|
+
workflowId: string;
|
|
6025
|
+
items: ({
|
|
5178
6026
|
id: string;
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
6027
|
+
kind: "credential";
|
|
6028
|
+
credentialType: string;
|
|
6029
|
+
appDisplayName?: string | undefined;
|
|
6030
|
+
nodeBindings?: {
|
|
6031
|
+
nodeName: string;
|
|
6032
|
+
}[] | undefined;
|
|
6033
|
+
setupHint?: {
|
|
6034
|
+
template: {
|
|
6035
|
+
headers?: Record<string, string> | undefined;
|
|
6036
|
+
qs?: Record<string, string> | undefined;
|
|
6037
|
+
body?: Record<string, unknown> | undefined;
|
|
6038
|
+
};
|
|
6039
|
+
placeholders: {
|
|
6040
|
+
name: string;
|
|
6041
|
+
title: string;
|
|
6042
|
+
info?: string | undefined;
|
|
6043
|
+
type?: "password" | "plain" | undefined;
|
|
6044
|
+
optional?: boolean | undefined;
|
|
6045
|
+
}[];
|
|
6046
|
+
docsUrl?: string | undefined;
|
|
6047
|
+
suggestedName?: string | undefined;
|
|
6048
|
+
testUrl?: string | undefined;
|
|
6049
|
+
acceptedStatusCodes?: number[] | undefined;
|
|
6050
|
+
serviceHost?: string | undefined;
|
|
6051
|
+
serviceOrigin?: string | undefined;
|
|
6052
|
+
} | undefined;
|
|
6053
|
+
reason?: string | undefined;
|
|
6054
|
+
} | {
|
|
6055
|
+
id: string;
|
|
6056
|
+
kind: "parameters";
|
|
6057
|
+
nodeName: string;
|
|
6058
|
+
parameterNames: string[];
|
|
6059
|
+
})[];
|
|
5187
6060
|
};
|
|
5188
6061
|
}, {
|
|
5189
6062
|
runId: string;
|
|
@@ -5191,26 +6064,10 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
5191
6064
|
userId?: string | undefined;
|
|
5192
6065
|
responseId?: string | undefined;
|
|
5193
6066
|
ts?: number | undefined;
|
|
5194
|
-
type: "
|
|
6067
|
+
type: "setup-items";
|
|
5195
6068
|
payload: {
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
id: string;
|
|
5199
|
-
description: string;
|
|
5200
|
-
detail?: string | undefined;
|
|
5201
|
-
status: "cancelled" | "done" | "failed" | "in_progress" | "todo";
|
|
5202
|
-
}[];
|
|
5203
|
-
};
|
|
5204
|
-
planItems?: {
|
|
5205
|
-
id: string;
|
|
5206
|
-
title: string;
|
|
5207
|
-
kind: string;
|
|
5208
|
-
spec: string;
|
|
5209
|
-
deps: string[];
|
|
5210
|
-
tools?: string[] | undefined;
|
|
5211
|
-
workflowId?: string | undefined;
|
|
5212
|
-
isSupportingWorkflow?: boolean | undefined;
|
|
5213
|
-
}[] | undefined;
|
|
6069
|
+
workflowId: string;
|
|
6070
|
+
items: unknown[];
|
|
5214
6071
|
};
|
|
5215
6072
|
}>, z.ZodObject<{
|
|
5216
6073
|
runId: z.ZodString;
|
|
@@ -5432,6 +6289,9 @@ export type InstanceAiConfirmationRequestEvent = Extract<InstanceAiEvent, {
|
|
|
5432
6289
|
export type InstanceAiTasksUpdateEvent = Extract<InstanceAiEvent, {
|
|
5433
6290
|
type: 'tasks-update';
|
|
5434
6291
|
}>;
|
|
6292
|
+
export type InstanceAiSetupItemsEvent = Extract<InstanceAiEvent, {
|
|
6293
|
+
type: 'setup-items';
|
|
6294
|
+
}>;
|
|
5435
6295
|
export type InstanceAiStatusEvent = Extract<InstanceAiEvent, {
|
|
5436
6296
|
type: 'status';
|
|
5437
6297
|
}>;
|
|
@@ -5996,6 +6856,17 @@ export declare const instanceAiAgentPreviewHandoffContextSchema: z.ZodObject<{
|
|
|
5996
6856
|
sessionTitle?: string | undefined;
|
|
5997
6857
|
}>;
|
|
5998
6858
|
export type InstanceAiAgentPreviewHandoffContext = z.infer<typeof instanceAiAgentPreviewHandoffContextSchema>;
|
|
6859
|
+
export declare const instanceAiSetupPanelExecuteHandoffContextSchema: z.ZodObject<{
|
|
6860
|
+
source: z.ZodLiteral<"setup-panel-execute">;
|
|
6861
|
+
workflowId: z.ZodString;
|
|
6862
|
+
}, "strip", z.ZodTypeAny, {
|
|
6863
|
+
source: "setup-panel-execute";
|
|
6864
|
+
workflowId: string;
|
|
6865
|
+
}, {
|
|
6866
|
+
source: "setup-panel-execute";
|
|
6867
|
+
workflowId: string;
|
|
6868
|
+
}>;
|
|
6869
|
+
export type InstanceAiSetupPanelExecuteHandoffContext = z.infer<typeof instanceAiSetupPanelExecuteHandoffContextSchema>;
|
|
5999
6870
|
export declare const instanceAiHandoffContextSchema: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
6000
6871
|
source: z.ZodLiteral<"credential-modal">;
|
|
6001
6872
|
credential: z.ZodObject<{
|
|
@@ -6079,6 +6950,15 @@ export declare const instanceAiHandoffContextSchema: z.ZodDiscriminatedUnion<"so
|
|
|
6079
6950
|
agentName?: string | undefined;
|
|
6080
6951
|
agentIcon?: string | undefined;
|
|
6081
6952
|
sessionTitle?: string | undefined;
|
|
6953
|
+
}>, z.ZodObject<{
|
|
6954
|
+
source: z.ZodLiteral<"setup-panel-execute">;
|
|
6955
|
+
workflowId: z.ZodString;
|
|
6956
|
+
}, "strip", z.ZodTypeAny, {
|
|
6957
|
+
source: "setup-panel-execute";
|
|
6958
|
+
workflowId: string;
|
|
6959
|
+
}, {
|
|
6960
|
+
source: "setup-panel-execute";
|
|
6961
|
+
workflowId: string;
|
|
6082
6962
|
}>]>;
|
|
6083
6963
|
export type InstanceAiHandoffContext = z.infer<typeof instanceAiHandoffContextSchema>;
|
|
6084
6964
|
declare const InstanceAiSendMessageRequest_base: import("../zod-class").ZodClass<{
|
|
@@ -6140,6 +7020,9 @@ declare const InstanceAiSendMessageRequest_base: import("../zod-class").ZodClass
|
|
|
6140
7020
|
agentName?: string | undefined;
|
|
6141
7021
|
agentIcon?: string | undefined;
|
|
6142
7022
|
sessionTitle?: string | undefined;
|
|
7023
|
+
} | {
|
|
7024
|
+
source: "setup-panel-execute";
|
|
7025
|
+
workflowId: string;
|
|
6143
7026
|
} | undefined;
|
|
6144
7027
|
timeZone?: string | undefined;
|
|
6145
7028
|
pushRef?: string | undefined;
|
|
@@ -6382,6 +7265,15 @@ declare const InstanceAiSendMessageRequest_base: import("../zod-class").ZodClass
|
|
|
6382
7265
|
agentName?: string | undefined;
|
|
6383
7266
|
agentIcon?: string | undefined;
|
|
6384
7267
|
sessionTitle?: string | undefined;
|
|
7268
|
+
}>, z.ZodObject<{
|
|
7269
|
+
source: z.ZodLiteral<"setup-panel-execute">;
|
|
7270
|
+
workflowId: z.ZodString;
|
|
7271
|
+
}, "strip", z.ZodTypeAny, {
|
|
7272
|
+
source: "setup-panel-execute";
|
|
7273
|
+
workflowId: string;
|
|
7274
|
+
}, {
|
|
7275
|
+
source: "setup-panel-execute";
|
|
7276
|
+
workflowId: string;
|
|
6385
7277
|
}>]>>;
|
|
6386
7278
|
timeZone: z.ZodCatch<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
6387
7279
|
pushRef: z.ZodOptional<z.ZodString>;
|
|
@@ -6416,6 +7308,17 @@ declare const InstanceAiEnsureThreadRequest_base: import("../zod-class").ZodClas
|
|
|
6416
7308
|
}>;
|
|
6417
7309
|
export declare class InstanceAiEnsureThreadRequest extends InstanceAiEnsureThreadRequest_base {
|
|
6418
7310
|
}
|
|
7311
|
+
declare const InstanceAiPersistPendingAgentRequest_base: import("../zod-class").ZodClass<{
|
|
7312
|
+
projectId: string;
|
|
7313
|
+
agentId: string;
|
|
7314
|
+
name: string;
|
|
7315
|
+
}, {
|
|
7316
|
+
projectId: z.ZodString;
|
|
7317
|
+
agentId: z.ZodString;
|
|
7318
|
+
name: z.ZodString;
|
|
7319
|
+
}>;
|
|
7320
|
+
export declare class InstanceAiPersistPendingAgentRequest extends InstanceAiPersistPendingAgentRequest_base {
|
|
7321
|
+
}
|
|
6419
7322
|
export declare const instanceAiGatewayKeySchema: z.ZodString;
|
|
6420
7323
|
declare const InstanceAiGatewayEventsQuery_base: import("../zod-class").ZodClass<{
|
|
6421
7324
|
apiKey: string;
|
|
@@ -6448,6 +7351,12 @@ export declare class InstanceAiThreadMessagesQuery extends InstanceAiThreadMessa
|
|
|
6448
7351
|
export interface InstanceAiSendMessageResponse {
|
|
6449
7352
|
runId: string;
|
|
6450
7353
|
}
|
|
7354
|
+
export declare const INSTANCE_AI_RUN_LIMIT_REASONS: readonly ['user_run_limit', 'instance_run_limit'];
|
|
7355
|
+
export type InstanceAiRunLimitReason = (typeof INSTANCE_AI_RUN_LIMIT_REASONS)[number];
|
|
7356
|
+
export type InstanceAiRunLimitMeta = {
|
|
7357
|
+
reason: InstanceAiRunLimitReason;
|
|
7358
|
+
limit: number;
|
|
7359
|
+
};
|
|
6451
7360
|
export type InstanceAiConfirmation = Omit<InstanceAiConfirmationRequestPayload, 'toolCallId' | 'toolName' | 'args'> & {
|
|
6452
7361
|
expired?: boolean;
|
|
6453
7362
|
};
|
|
@@ -6500,6 +7409,7 @@ export interface InstanceAiAgentNode {
|
|
|
6500
7409
|
timeline: InstanceAiTimelineEntry[];
|
|
6501
7410
|
tasks?: TaskList;
|
|
6502
7411
|
planItems?: PlannedTaskArg[];
|
|
7412
|
+
setupItemsByWorkflowId?: Record<string, InstanceAiSetupItem[]>;
|
|
6503
7413
|
result?: string;
|
|
6504
7414
|
error?: string;
|
|
6505
7415
|
errorDetails?: {
|
|
@@ -7118,6 +8028,10 @@ export declare const CONFIG_EVALUATIONS_ENABLED_VARIANT = "variant";
|
|
|
7118
8028
|
export declare const INSTANCE_AI_MCP_CONNECTIONS_FLAG = "089_instance_ai_mcp_connections";
|
|
7119
8029
|
export declare const INSTANCE_AI_MCP_CONNECTIONS_ENABLED_VARIANT = "variant";
|
|
7120
8030
|
export declare const CANVAS_NODE_CONTEXT_FLAG = "104_canvas_aia_node_context";
|
|
8031
|
+
export declare const INSTANCE_AI_CONVERSATION_HISTORY_FLAG = "109_instance_ai_conversation_history";
|
|
8032
|
+
export declare const INSTANCE_AI_CONVERSATION_HISTORY_ENABLED_VARIANT = "variant";
|
|
8033
|
+
export declare const INSTANCE_AI_NODE_USAGE_FLAG = "109_instance_ai_node_usage";
|
|
8034
|
+
export declare const INSTANCE_AI_FOLDER_EXPLORATION_FLAG = "110_instance_ai_folder_exploration";
|
|
7121
8035
|
export interface InstanceAiEvalRewrittenCredential {
|
|
7122
8036
|
nodeName: string;
|
|
7123
8037
|
credentialType: string;
|
|
@@ -7268,6 +8182,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7268
8182
|
name: z.ZodString;
|
|
7269
8183
|
model: z.ZodUnion<[z.ZodLiteral<"">, z.ZodString]>;
|
|
7270
8184
|
credential: z.ZodOptional<z.ZodString>;
|
|
8185
|
+
modelDeploymentName: z.ZodOptional<z.ZodString>;
|
|
7271
8186
|
instructions: z.ZodString;
|
|
7272
8187
|
personalisation: z.ZodOptional<z.ZodObject<{
|
|
7273
8188
|
icon: z.ZodString;
|
|
@@ -7881,18 +8796,23 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7881
8796
|
settings: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
7882
8797
|
accessMode: z.ZodEnum<["private", "public"]>;
|
|
7883
8798
|
allowedUsers: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], string[] | undefined>;
|
|
8799
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7884
8800
|
}, "strict", z.ZodTypeAny, {
|
|
7885
8801
|
accessMode: "private" | "public";
|
|
7886
8802
|
allowedUsers: string[];
|
|
8803
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
7887
8804
|
}, {
|
|
7888
8805
|
accessMode: "private" | "public";
|
|
7889
8806
|
allowedUsers?: string[] | undefined;
|
|
8807
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
7890
8808
|
}>, {
|
|
7891
8809
|
accessMode: "private" | "public";
|
|
7892
8810
|
allowedUsers: string[];
|
|
8811
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
7893
8812
|
}, {
|
|
7894
8813
|
accessMode: "private" | "public";
|
|
7895
8814
|
allowedUsers?: string[] | undefined;
|
|
8815
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
7896
8816
|
}>>;
|
|
7897
8817
|
}, "strip", z.ZodTypeAny, {
|
|
7898
8818
|
type: "telegram";
|
|
@@ -7900,6 +8820,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7900
8820
|
settings?: {
|
|
7901
8821
|
accessMode: "private" | "public";
|
|
7902
8822
|
allowedUsers: string[];
|
|
8823
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
7903
8824
|
} | undefined;
|
|
7904
8825
|
}, {
|
|
7905
8826
|
type: "telegram";
|
|
@@ -7907,6 +8828,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7907
8828
|
settings?: {
|
|
7908
8829
|
accessMode: "private" | "public";
|
|
7909
8830
|
allowedUsers?: string[] | undefined;
|
|
8831
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
7910
8832
|
} | undefined;
|
|
7911
8833
|
}>, z.ZodObject<{
|
|
7912
8834
|
type: z.ZodLiteral<"slack">;
|
|
@@ -7914,41 +8836,74 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7914
8836
|
} & {
|
|
7915
8837
|
settings: z.ZodOptional<z.ZodObject<{
|
|
7916
8838
|
messagingExperience: z.ZodEnum<["assistant", "agent"]>;
|
|
8839
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7917
8840
|
}, "strict", z.ZodTypeAny, {
|
|
7918
8841
|
messagingExperience: "agent" | "assistant";
|
|
8842
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
7919
8843
|
}, {
|
|
7920
8844
|
messagingExperience: "agent" | "assistant";
|
|
8845
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
7921
8846
|
}>>;
|
|
7922
8847
|
}, "strip", z.ZodTypeAny, {
|
|
7923
8848
|
type: "slack";
|
|
7924
8849
|
credentialId: string;
|
|
7925
8850
|
settings?: {
|
|
7926
8851
|
messagingExperience: "agent" | "assistant";
|
|
8852
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
7927
8853
|
} | undefined;
|
|
7928
8854
|
}, {
|
|
7929
8855
|
type: "slack";
|
|
7930
8856
|
credentialId: string;
|
|
7931
8857
|
settings?: {
|
|
7932
8858
|
messagingExperience: "agent" | "assistant";
|
|
8859
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
7933
8860
|
} | undefined;
|
|
7934
8861
|
}>, z.ZodObject<{
|
|
7935
8862
|
type: z.ZodLiteral<"linear">;
|
|
7936
8863
|
credentialId: z.ZodString;
|
|
8864
|
+
} & {
|
|
8865
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
8866
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8867
|
+
}, "strict", z.ZodTypeAny, {
|
|
8868
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
8869
|
+
}, {
|
|
8870
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
8871
|
+
}>>;
|
|
7937
8872
|
}, "strip", z.ZodTypeAny, {
|
|
7938
8873
|
type: "linear";
|
|
7939
8874
|
credentialId: string;
|
|
8875
|
+
settings?: {
|
|
8876
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
8877
|
+
} | undefined;
|
|
7940
8878
|
}, {
|
|
7941
8879
|
type: "linear";
|
|
7942
8880
|
credentialId: string;
|
|
8881
|
+
settings?: {
|
|
8882
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
8883
|
+
} | undefined;
|
|
7943
8884
|
}>, z.ZodObject<{
|
|
7944
8885
|
type: z.ZodLiteral<"discord">;
|
|
7945
8886
|
credentialId: z.ZodString;
|
|
8887
|
+
} & {
|
|
8888
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
8889
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8890
|
+
}, "strict", z.ZodTypeAny, {
|
|
8891
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
8892
|
+
}, {
|
|
8893
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
8894
|
+
}>>;
|
|
7946
8895
|
}, "strip", z.ZodTypeAny, {
|
|
7947
8896
|
type: "discord";
|
|
7948
8897
|
credentialId: string;
|
|
8898
|
+
settings?: {
|
|
8899
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
8900
|
+
} | undefined;
|
|
7949
8901
|
}, {
|
|
7950
8902
|
type: "discord";
|
|
7951
8903
|
credentialId: string;
|
|
8904
|
+
settings?: {
|
|
8905
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
8906
|
+
} | undefined;
|
|
7952
8907
|
}>]>, "many">>;
|
|
7953
8908
|
mcpServers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
7954
8909
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -8404,6 +9359,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8404
9359
|
name: string;
|
|
8405
9360
|
model: string;
|
|
8406
9361
|
credential?: string | undefined;
|
|
9362
|
+
modelDeploymentName?: string | undefined;
|
|
8407
9363
|
instructions: string;
|
|
8408
9364
|
personalisation?: {
|
|
8409
9365
|
icon: string;
|
|
@@ -8526,19 +9482,27 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8526
9482
|
settings?: {
|
|
8527
9483
|
accessMode: "private" | "public";
|
|
8528
9484
|
allowedUsers: string[];
|
|
9485
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
8529
9486
|
} | undefined;
|
|
8530
9487
|
} | {
|
|
8531
9488
|
type: "slack";
|
|
8532
9489
|
credentialId: string;
|
|
8533
9490
|
settings?: {
|
|
8534
9491
|
messagingExperience: "agent" | "assistant";
|
|
9492
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
8535
9493
|
} | undefined;
|
|
8536
9494
|
} | {
|
|
8537
9495
|
type: "linear";
|
|
8538
9496
|
credentialId: string;
|
|
9497
|
+
settings?: {
|
|
9498
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
9499
|
+
} | undefined;
|
|
8539
9500
|
} | {
|
|
8540
9501
|
type: "discord";
|
|
8541
9502
|
credentialId: string;
|
|
9503
|
+
settings?: {
|
|
9504
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
9505
|
+
} | undefined;
|
|
8542
9506
|
})[] | undefined;
|
|
8543
9507
|
mcpServers?: {
|
|
8544
9508
|
name: string;
|
|
@@ -8628,6 +9592,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8628
9592
|
name: string;
|
|
8629
9593
|
model: string;
|
|
8630
9594
|
credential?: string | undefined;
|
|
9595
|
+
modelDeploymentName?: string | undefined;
|
|
8631
9596
|
instructions: string;
|
|
8632
9597
|
personalisation?: {
|
|
8633
9598
|
icon: string;
|
|
@@ -8750,19 +9715,27 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8750
9715
|
settings?: {
|
|
8751
9716
|
accessMode: "private" | "public";
|
|
8752
9717
|
allowedUsers?: string[] | undefined;
|
|
9718
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
8753
9719
|
} | undefined;
|
|
8754
9720
|
} | {
|
|
8755
9721
|
type: "slack";
|
|
8756
9722
|
credentialId: string;
|
|
8757
9723
|
settings?: {
|
|
8758
9724
|
messagingExperience: "agent" | "assistant";
|
|
9725
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
8759
9726
|
} | undefined;
|
|
8760
9727
|
} | {
|
|
8761
9728
|
type: "linear";
|
|
8762
9729
|
credentialId: string;
|
|
9730
|
+
settings?: {
|
|
9731
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
9732
|
+
} | undefined;
|
|
8763
9733
|
} | {
|
|
8764
9734
|
type: "discord";
|
|
8765
9735
|
credentialId: string;
|
|
9736
|
+
settings?: {
|
|
9737
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
9738
|
+
} | undefined;
|
|
8766
9739
|
})[] | undefined;
|
|
8767
9740
|
mcpServers?: {
|
|
8768
9741
|
name: string;
|
|
@@ -8852,6 +9825,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8852
9825
|
name: string;
|
|
8853
9826
|
model: string;
|
|
8854
9827
|
credential?: string | undefined;
|
|
9828
|
+
modelDeploymentName?: string | undefined;
|
|
8855
9829
|
instructions: string;
|
|
8856
9830
|
personalisation?: {
|
|
8857
9831
|
icon: string;
|
|
@@ -8974,19 +9948,27 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8974
9948
|
settings?: {
|
|
8975
9949
|
accessMode: "private" | "public";
|
|
8976
9950
|
allowedUsers: string[];
|
|
9951
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
8977
9952
|
} | undefined;
|
|
8978
9953
|
} | {
|
|
8979
9954
|
type: "slack";
|
|
8980
9955
|
credentialId: string;
|
|
8981
9956
|
settings?: {
|
|
8982
9957
|
messagingExperience: "agent" | "assistant";
|
|
9958
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
8983
9959
|
} | undefined;
|
|
8984
9960
|
} | {
|
|
8985
9961
|
type: "linear";
|
|
8986
9962
|
credentialId: string;
|
|
9963
|
+
settings?: {
|
|
9964
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
9965
|
+
} | undefined;
|
|
8987
9966
|
} | {
|
|
8988
9967
|
type: "discord";
|
|
8989
9968
|
credentialId: string;
|
|
9969
|
+
settings?: {
|
|
9970
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
9971
|
+
} | undefined;
|
|
8990
9972
|
})[] | undefined;
|
|
8991
9973
|
mcpServers?: {
|
|
8992
9974
|
name: string;
|
|
@@ -9076,6 +10058,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9076
10058
|
name: string;
|
|
9077
10059
|
model: string;
|
|
9078
10060
|
credential?: string | undefined;
|
|
10061
|
+
modelDeploymentName?: string | undefined;
|
|
9079
10062
|
instructions: string;
|
|
9080
10063
|
personalisation?: {
|
|
9081
10064
|
icon: string;
|
|
@@ -9198,19 +10181,27 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9198
10181
|
settings?: {
|
|
9199
10182
|
accessMode: "private" | "public";
|
|
9200
10183
|
allowedUsers?: string[] | undefined;
|
|
10184
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
9201
10185
|
} | undefined;
|
|
9202
10186
|
} | {
|
|
9203
10187
|
type: "slack";
|
|
9204
10188
|
credentialId: string;
|
|
9205
10189
|
settings?: {
|
|
9206
10190
|
messagingExperience: "agent" | "assistant";
|
|
10191
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
9207
10192
|
} | undefined;
|
|
9208
10193
|
} | {
|
|
9209
10194
|
type: "linear";
|
|
9210
10195
|
credentialId: string;
|
|
10196
|
+
settings?: {
|
|
10197
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
10198
|
+
} | undefined;
|
|
9211
10199
|
} | {
|
|
9212
10200
|
type: "discord";
|
|
9213
10201
|
credentialId: string;
|
|
10202
|
+
settings?: {
|
|
10203
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
10204
|
+
} | undefined;
|
|
9214
10205
|
})[] | undefined;
|
|
9215
10206
|
mcpServers?: {
|
|
9216
10207
|
name: string;
|
|
@@ -9300,9 +10291,9 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9300
10291
|
skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9301
10292
|
name: z.ZodString;
|
|
9302
10293
|
description: z.ZodString;
|
|
9303
|
-
instructions: z.
|
|
10294
|
+
instructions: z.ZodString;
|
|
9304
10295
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9305
|
-
references: z.ZodOptional<z.ZodEffects<z.ZodArray<z.
|
|
10296
|
+
references: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
9306
10297
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
9307
10298
|
content: z.ZodString;
|
|
9308
10299
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -9311,12 +10302,6 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9311
10302
|
}, {
|
|
9312
10303
|
path: string;
|
|
9313
10304
|
content: string;
|
|
9314
|
-
}>, {
|
|
9315
|
-
path: string;
|
|
9316
|
-
content: string;
|
|
9317
|
-
}, {
|
|
9318
|
-
path: string;
|
|
9319
|
-
content: string;
|
|
9320
10305
|
}>, "many">, {
|
|
9321
10306
|
path: string;
|
|
9322
10307
|
content: string;
|
|
@@ -9364,6 +10349,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9364
10349
|
name: string;
|
|
9365
10350
|
model: string;
|
|
9366
10351
|
credential?: string | undefined;
|
|
10352
|
+
modelDeploymentName?: string | undefined;
|
|
9367
10353
|
instructions: string;
|
|
9368
10354
|
personalisation?: {
|
|
9369
10355
|
icon: string;
|
|
@@ -9486,19 +10472,27 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9486
10472
|
settings?: {
|
|
9487
10473
|
accessMode: "private" | "public";
|
|
9488
10474
|
allowedUsers: string[];
|
|
10475
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
9489
10476
|
} | undefined;
|
|
9490
10477
|
} | {
|
|
9491
10478
|
type: "slack";
|
|
9492
10479
|
credentialId: string;
|
|
9493
10480
|
settings?: {
|
|
9494
10481
|
messagingExperience: "agent" | "assistant";
|
|
10482
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
9495
10483
|
} | undefined;
|
|
9496
10484
|
} | {
|
|
9497
10485
|
type: "linear";
|
|
9498
10486
|
credentialId: string;
|
|
10487
|
+
settings?: {
|
|
10488
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
10489
|
+
} | undefined;
|
|
9499
10490
|
} | {
|
|
9500
10491
|
type: "discord";
|
|
9501
10492
|
credentialId: string;
|
|
10493
|
+
settings?: {
|
|
10494
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
10495
|
+
} | undefined;
|
|
9502
10496
|
})[] | undefined;
|
|
9503
10497
|
mcpServers?: {
|
|
9504
10498
|
name: string;
|
|
@@ -9606,6 +10600,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9606
10600
|
name: string;
|
|
9607
10601
|
model: string;
|
|
9608
10602
|
credential?: string | undefined;
|
|
10603
|
+
modelDeploymentName?: string | undefined;
|
|
9609
10604
|
instructions: string;
|
|
9610
10605
|
personalisation?: {
|
|
9611
10606
|
icon: string;
|
|
@@ -9728,19 +10723,27 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9728
10723
|
settings?: {
|
|
9729
10724
|
accessMode: "private" | "public";
|
|
9730
10725
|
allowedUsers?: string[] | undefined;
|
|
10726
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
9731
10727
|
} | undefined;
|
|
9732
10728
|
} | {
|
|
9733
10729
|
type: "slack";
|
|
9734
10730
|
credentialId: string;
|
|
9735
10731
|
settings?: {
|
|
9736
10732
|
messagingExperience: "agent" | "assistant";
|
|
10733
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
9737
10734
|
} | undefined;
|
|
9738
10735
|
} | {
|
|
9739
10736
|
type: "linear";
|
|
9740
10737
|
credentialId: string;
|
|
10738
|
+
settings?: {
|
|
10739
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
10740
|
+
} | undefined;
|
|
9741
10741
|
} | {
|
|
9742
10742
|
type: "discord";
|
|
9743
10743
|
credentialId: string;
|
|
10744
|
+
settings?: {
|
|
10745
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
10746
|
+
} | undefined;
|
|
9744
10747
|
})[] | undefined;
|
|
9745
10748
|
mcpServers?: {
|
|
9746
10749
|
name: string;
|
|
@@ -9848,6 +10851,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9848
10851
|
name: string;
|
|
9849
10852
|
model: string;
|
|
9850
10853
|
credential?: string | undefined;
|
|
10854
|
+
modelDeploymentName?: string | undefined;
|
|
9851
10855
|
instructions: string;
|
|
9852
10856
|
personalisation?: {
|
|
9853
10857
|
icon: string;
|
|
@@ -9970,19 +10974,27 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9970
10974
|
settings?: {
|
|
9971
10975
|
accessMode: "private" | "public";
|
|
9972
10976
|
allowedUsers: string[];
|
|
10977
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
9973
10978
|
} | undefined;
|
|
9974
10979
|
} | {
|
|
9975
10980
|
type: "slack";
|
|
9976
10981
|
credentialId: string;
|
|
9977
10982
|
settings?: {
|
|
9978
10983
|
messagingExperience: "agent" | "assistant";
|
|
10984
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
9979
10985
|
} | undefined;
|
|
9980
10986
|
} | {
|
|
9981
10987
|
type: "linear";
|
|
9982
10988
|
credentialId: string;
|
|
10989
|
+
settings?: {
|
|
10990
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
10991
|
+
} | undefined;
|
|
9983
10992
|
} | {
|
|
9984
10993
|
type: "discord";
|
|
9985
10994
|
credentialId: string;
|
|
10995
|
+
settings?: {
|
|
10996
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
10997
|
+
} | undefined;
|
|
9986
10998
|
})[] | undefined;
|
|
9987
10999
|
mcpServers?: {
|
|
9988
11000
|
name: string;
|
|
@@ -10090,6 +11102,7 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
10090
11102
|
name: string;
|
|
10091
11103
|
model: string;
|
|
10092
11104
|
credential?: string | undefined;
|
|
11105
|
+
modelDeploymentName?: string | undefined;
|
|
10093
11106
|
instructions: string;
|
|
10094
11107
|
personalisation?: {
|
|
10095
11108
|
icon: string;
|
|
@@ -10212,19 +11225,27 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
10212
11225
|
settings?: {
|
|
10213
11226
|
accessMode: "private" | "public";
|
|
10214
11227
|
allowedUsers?: string[] | undefined;
|
|
11228
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
10215
11229
|
} | undefined;
|
|
10216
11230
|
} | {
|
|
10217
11231
|
type: "slack";
|
|
10218
11232
|
credentialId: string;
|
|
10219
11233
|
settings?: {
|
|
10220
11234
|
messagingExperience: "agent" | "assistant";
|
|
11235
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
10221
11236
|
} | undefined;
|
|
10222
11237
|
} | {
|
|
10223
11238
|
type: "linear";
|
|
10224
11239
|
credentialId: string;
|
|
11240
|
+
settings?: {
|
|
11241
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11242
|
+
} | undefined;
|
|
10225
11243
|
} | {
|
|
10226
11244
|
type: "discord";
|
|
10227
11245
|
credentialId: string;
|
|
11246
|
+
settings?: {
|
|
11247
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11248
|
+
} | undefined;
|
|
10228
11249
|
})[] | undefined;
|
|
10229
11250
|
mcpServers?: {
|
|
10230
11251
|
name: string;
|
|
@@ -10352,6 +11373,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
10352
11373
|
name: string;
|
|
10353
11374
|
model: string;
|
|
10354
11375
|
credential?: string | undefined;
|
|
11376
|
+
modelDeploymentName?: string | undefined;
|
|
10355
11377
|
instructions: string;
|
|
10356
11378
|
personalisation?: {
|
|
10357
11379
|
icon: string;
|
|
@@ -10474,19 +11496,27 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
10474
11496
|
settings?: {
|
|
10475
11497
|
accessMode: "private" | "public";
|
|
10476
11498
|
allowedUsers: string[];
|
|
11499
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
10477
11500
|
} | undefined;
|
|
10478
11501
|
} | {
|
|
10479
11502
|
type: "slack";
|
|
10480
11503
|
credentialId: string;
|
|
10481
11504
|
settings?: {
|
|
10482
11505
|
messagingExperience: "agent" | "assistant";
|
|
11506
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
10483
11507
|
} | undefined;
|
|
10484
11508
|
} | {
|
|
10485
11509
|
type: "linear";
|
|
10486
11510
|
credentialId: string;
|
|
11511
|
+
settings?: {
|
|
11512
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11513
|
+
} | undefined;
|
|
10487
11514
|
} | {
|
|
10488
11515
|
type: "discord";
|
|
10489
11516
|
credentialId: string;
|
|
11517
|
+
settings?: {
|
|
11518
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11519
|
+
} | undefined;
|
|
10490
11520
|
})[] | undefined;
|
|
10491
11521
|
mcpServers?: {
|
|
10492
11522
|
name: string;
|
|
@@ -10646,6 +11676,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
10646
11676
|
name: z.ZodString;
|
|
10647
11677
|
model: z.ZodUnion<[z.ZodLiteral<"">, z.ZodString]>;
|
|
10648
11678
|
credential: z.ZodOptional<z.ZodString>;
|
|
11679
|
+
modelDeploymentName: z.ZodOptional<z.ZodString>;
|
|
10649
11680
|
instructions: z.ZodString;
|
|
10650
11681
|
personalisation: z.ZodOptional<z.ZodObject<{
|
|
10651
11682
|
icon: z.ZodString;
|
|
@@ -11259,18 +12290,23 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
11259
12290
|
settings: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
11260
12291
|
accessMode: z.ZodEnum<["private", "public"]>;
|
|
11261
12292
|
allowedUsers: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], string[] | undefined>;
|
|
12293
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11262
12294
|
}, "strict", z.ZodTypeAny, {
|
|
11263
12295
|
accessMode: "private" | "public";
|
|
11264
12296
|
allowedUsers: string[];
|
|
12297
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11265
12298
|
}, {
|
|
11266
12299
|
accessMode: "private" | "public";
|
|
11267
12300
|
allowedUsers?: string[] | undefined;
|
|
12301
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11268
12302
|
}>, {
|
|
11269
12303
|
accessMode: "private" | "public";
|
|
11270
12304
|
allowedUsers: string[];
|
|
12305
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11271
12306
|
}, {
|
|
11272
12307
|
accessMode: "private" | "public";
|
|
11273
12308
|
allowedUsers?: string[] | undefined;
|
|
12309
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11274
12310
|
}>>;
|
|
11275
12311
|
}, "strip", z.ZodTypeAny, {
|
|
11276
12312
|
type: "telegram";
|
|
@@ -11278,6 +12314,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
11278
12314
|
settings?: {
|
|
11279
12315
|
accessMode: "private" | "public";
|
|
11280
12316
|
allowedUsers: string[];
|
|
12317
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11281
12318
|
} | undefined;
|
|
11282
12319
|
}, {
|
|
11283
12320
|
type: "telegram";
|
|
@@ -11285,6 +12322,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
11285
12322
|
settings?: {
|
|
11286
12323
|
accessMode: "private" | "public";
|
|
11287
12324
|
allowedUsers?: string[] | undefined;
|
|
12325
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11288
12326
|
} | undefined;
|
|
11289
12327
|
}>, z.ZodObject<{
|
|
11290
12328
|
type: z.ZodLiteral<"slack">;
|
|
@@ -11292,41 +12330,74 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
11292
12330
|
} & {
|
|
11293
12331
|
settings: z.ZodOptional<z.ZodObject<{
|
|
11294
12332
|
messagingExperience: z.ZodEnum<["assistant", "agent"]>;
|
|
12333
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11295
12334
|
}, "strict", z.ZodTypeAny, {
|
|
11296
12335
|
messagingExperience: "agent" | "assistant";
|
|
12336
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11297
12337
|
}, {
|
|
11298
12338
|
messagingExperience: "agent" | "assistant";
|
|
12339
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11299
12340
|
}>>;
|
|
11300
12341
|
}, "strip", z.ZodTypeAny, {
|
|
11301
12342
|
type: "slack";
|
|
11302
12343
|
credentialId: string;
|
|
11303
12344
|
settings?: {
|
|
11304
12345
|
messagingExperience: "agent" | "assistant";
|
|
12346
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11305
12347
|
} | undefined;
|
|
11306
12348
|
}, {
|
|
11307
12349
|
type: "slack";
|
|
11308
12350
|
credentialId: string;
|
|
11309
12351
|
settings?: {
|
|
11310
12352
|
messagingExperience: "agent" | "assistant";
|
|
12353
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11311
12354
|
} | undefined;
|
|
11312
12355
|
}>, z.ZodObject<{
|
|
11313
12356
|
type: z.ZodLiteral<"linear">;
|
|
11314
12357
|
credentialId: z.ZodString;
|
|
12358
|
+
} & {
|
|
12359
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
12360
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12361
|
+
}, "strict", z.ZodTypeAny, {
|
|
12362
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12363
|
+
}, {
|
|
12364
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12365
|
+
}>>;
|
|
11315
12366
|
}, "strip", z.ZodTypeAny, {
|
|
11316
12367
|
type: "linear";
|
|
11317
12368
|
credentialId: string;
|
|
12369
|
+
settings?: {
|
|
12370
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12371
|
+
} | undefined;
|
|
11318
12372
|
}, {
|
|
11319
12373
|
type: "linear";
|
|
11320
12374
|
credentialId: string;
|
|
12375
|
+
settings?: {
|
|
12376
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12377
|
+
} | undefined;
|
|
11321
12378
|
}>, z.ZodObject<{
|
|
11322
12379
|
type: z.ZodLiteral<"discord">;
|
|
11323
12380
|
credentialId: z.ZodString;
|
|
12381
|
+
} & {
|
|
12382
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
12383
|
+
sessionIdleTimeoutMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12384
|
+
}, "strict", z.ZodTypeAny, {
|
|
12385
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12386
|
+
}, {
|
|
12387
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12388
|
+
}>>;
|
|
11324
12389
|
}, "strip", z.ZodTypeAny, {
|
|
11325
12390
|
type: "discord";
|
|
11326
12391
|
credentialId: string;
|
|
12392
|
+
settings?: {
|
|
12393
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12394
|
+
} | undefined;
|
|
11327
12395
|
}, {
|
|
11328
12396
|
type: "discord";
|
|
11329
12397
|
credentialId: string;
|
|
12398
|
+
settings?: {
|
|
12399
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12400
|
+
} | undefined;
|
|
11330
12401
|
}>]>, "many">>;
|
|
11331
12402
|
mcpServers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
11332
12403
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -11782,6 +12853,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
11782
12853
|
name: string;
|
|
11783
12854
|
model: string;
|
|
11784
12855
|
credential?: string | undefined;
|
|
12856
|
+
modelDeploymentName?: string | undefined;
|
|
11785
12857
|
instructions: string;
|
|
11786
12858
|
personalisation?: {
|
|
11787
12859
|
icon: string;
|
|
@@ -11904,19 +12976,27 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
11904
12976
|
settings?: {
|
|
11905
12977
|
accessMode: "private" | "public";
|
|
11906
12978
|
allowedUsers: string[];
|
|
12979
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11907
12980
|
} | undefined;
|
|
11908
12981
|
} | {
|
|
11909
12982
|
type: "slack";
|
|
11910
12983
|
credentialId: string;
|
|
11911
12984
|
settings?: {
|
|
11912
12985
|
messagingExperience: "agent" | "assistant";
|
|
12986
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
11913
12987
|
} | undefined;
|
|
11914
12988
|
} | {
|
|
11915
12989
|
type: "linear";
|
|
11916
12990
|
credentialId: string;
|
|
12991
|
+
settings?: {
|
|
12992
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12993
|
+
} | undefined;
|
|
11917
12994
|
} | {
|
|
11918
12995
|
type: "discord";
|
|
11919
12996
|
credentialId: string;
|
|
12997
|
+
settings?: {
|
|
12998
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12999
|
+
} | undefined;
|
|
11920
13000
|
})[] | undefined;
|
|
11921
13001
|
mcpServers?: {
|
|
11922
13002
|
name: string;
|
|
@@ -12006,6 +13086,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12006
13086
|
name: string;
|
|
12007
13087
|
model: string;
|
|
12008
13088
|
credential?: string | undefined;
|
|
13089
|
+
modelDeploymentName?: string | undefined;
|
|
12009
13090
|
instructions: string;
|
|
12010
13091
|
personalisation?: {
|
|
12011
13092
|
icon: string;
|
|
@@ -12128,19 +13209,27 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12128
13209
|
settings?: {
|
|
12129
13210
|
accessMode: "private" | "public";
|
|
12130
13211
|
allowedUsers?: string[] | undefined;
|
|
13212
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12131
13213
|
} | undefined;
|
|
12132
13214
|
} | {
|
|
12133
13215
|
type: "slack";
|
|
12134
13216
|
credentialId: string;
|
|
12135
13217
|
settings?: {
|
|
12136
13218
|
messagingExperience: "agent" | "assistant";
|
|
13219
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12137
13220
|
} | undefined;
|
|
12138
13221
|
} | {
|
|
12139
13222
|
type: "linear";
|
|
12140
13223
|
credentialId: string;
|
|
13224
|
+
settings?: {
|
|
13225
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13226
|
+
} | undefined;
|
|
12141
13227
|
} | {
|
|
12142
13228
|
type: "discord";
|
|
12143
13229
|
credentialId: string;
|
|
13230
|
+
settings?: {
|
|
13231
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13232
|
+
} | undefined;
|
|
12144
13233
|
})[] | undefined;
|
|
12145
13234
|
mcpServers?: {
|
|
12146
13235
|
name: string;
|
|
@@ -12230,6 +13319,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12230
13319
|
name: string;
|
|
12231
13320
|
model: string;
|
|
12232
13321
|
credential?: string | undefined;
|
|
13322
|
+
modelDeploymentName?: string | undefined;
|
|
12233
13323
|
instructions: string;
|
|
12234
13324
|
personalisation?: {
|
|
12235
13325
|
icon: string;
|
|
@@ -12352,19 +13442,27 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12352
13442
|
settings?: {
|
|
12353
13443
|
accessMode: "private" | "public";
|
|
12354
13444
|
allowedUsers: string[];
|
|
13445
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12355
13446
|
} | undefined;
|
|
12356
13447
|
} | {
|
|
12357
13448
|
type: "slack";
|
|
12358
13449
|
credentialId: string;
|
|
12359
13450
|
settings?: {
|
|
12360
13451
|
messagingExperience: "agent" | "assistant";
|
|
13452
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12361
13453
|
} | undefined;
|
|
12362
13454
|
} | {
|
|
12363
13455
|
type: "linear";
|
|
12364
13456
|
credentialId: string;
|
|
13457
|
+
settings?: {
|
|
13458
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13459
|
+
} | undefined;
|
|
12365
13460
|
} | {
|
|
12366
13461
|
type: "discord";
|
|
12367
13462
|
credentialId: string;
|
|
13463
|
+
settings?: {
|
|
13464
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13465
|
+
} | undefined;
|
|
12368
13466
|
})[] | undefined;
|
|
12369
13467
|
mcpServers?: {
|
|
12370
13468
|
name: string;
|
|
@@ -12454,6 +13552,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12454
13552
|
name: string;
|
|
12455
13553
|
model: string;
|
|
12456
13554
|
credential?: string | undefined;
|
|
13555
|
+
modelDeploymentName?: string | undefined;
|
|
12457
13556
|
instructions: string;
|
|
12458
13557
|
personalisation?: {
|
|
12459
13558
|
icon: string;
|
|
@@ -12576,19 +13675,27 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12576
13675
|
settings?: {
|
|
12577
13676
|
accessMode: "private" | "public";
|
|
12578
13677
|
allowedUsers?: string[] | undefined;
|
|
13678
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12579
13679
|
} | undefined;
|
|
12580
13680
|
} | {
|
|
12581
13681
|
type: "slack";
|
|
12582
13682
|
credentialId: string;
|
|
12583
13683
|
settings?: {
|
|
12584
13684
|
messagingExperience: "agent" | "assistant";
|
|
13685
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12585
13686
|
} | undefined;
|
|
12586
13687
|
} | {
|
|
12587
13688
|
type: "linear";
|
|
12588
13689
|
credentialId: string;
|
|
13690
|
+
settings?: {
|
|
13691
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13692
|
+
} | undefined;
|
|
12589
13693
|
} | {
|
|
12590
13694
|
type: "discord";
|
|
12591
13695
|
credentialId: string;
|
|
13696
|
+
settings?: {
|
|
13697
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13698
|
+
} | undefined;
|
|
12592
13699
|
})[] | undefined;
|
|
12593
13700
|
mcpServers?: {
|
|
12594
13701
|
name: string;
|
|
@@ -12678,9 +13785,9 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12678
13785
|
skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12679
13786
|
name: z.ZodString;
|
|
12680
13787
|
description: z.ZodString;
|
|
12681
|
-
instructions: z.
|
|
13788
|
+
instructions: z.ZodString;
|
|
12682
13789
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12683
|
-
references: z.ZodOptional<z.ZodEffects<z.ZodArray<z.
|
|
13790
|
+
references: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
12684
13791
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
12685
13792
|
content: z.ZodString;
|
|
12686
13793
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -12689,12 +13796,6 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12689
13796
|
}, {
|
|
12690
13797
|
path: string;
|
|
12691
13798
|
content: string;
|
|
12692
|
-
}>, {
|
|
12693
|
-
path: string;
|
|
12694
|
-
content: string;
|
|
12695
|
-
}, {
|
|
12696
|
-
path: string;
|
|
12697
|
-
content: string;
|
|
12698
13799
|
}>, "many">, {
|
|
12699
13800
|
path: string;
|
|
12700
13801
|
content: string;
|
|
@@ -12742,6 +13843,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12742
13843
|
name: string;
|
|
12743
13844
|
model: string;
|
|
12744
13845
|
credential?: string | undefined;
|
|
13846
|
+
modelDeploymentName?: string | undefined;
|
|
12745
13847
|
instructions: string;
|
|
12746
13848
|
personalisation?: {
|
|
12747
13849
|
icon: string;
|
|
@@ -12864,19 +13966,27 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12864
13966
|
settings?: {
|
|
12865
13967
|
accessMode: "private" | "public";
|
|
12866
13968
|
allowedUsers: string[];
|
|
13969
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12867
13970
|
} | undefined;
|
|
12868
13971
|
} | {
|
|
12869
13972
|
type: "slack";
|
|
12870
13973
|
credentialId: string;
|
|
12871
13974
|
settings?: {
|
|
12872
13975
|
messagingExperience: "agent" | "assistant";
|
|
13976
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
12873
13977
|
} | undefined;
|
|
12874
13978
|
} | {
|
|
12875
13979
|
type: "linear";
|
|
12876
13980
|
credentialId: string;
|
|
13981
|
+
settings?: {
|
|
13982
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13983
|
+
} | undefined;
|
|
12877
13984
|
} | {
|
|
12878
13985
|
type: "discord";
|
|
12879
13986
|
credentialId: string;
|
|
13987
|
+
settings?: {
|
|
13988
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13989
|
+
} | undefined;
|
|
12880
13990
|
})[] | undefined;
|
|
12881
13991
|
mcpServers?: {
|
|
12882
13992
|
name: string;
|
|
@@ -12984,6 +14094,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12984
14094
|
name: string;
|
|
12985
14095
|
model: string;
|
|
12986
14096
|
credential?: string | undefined;
|
|
14097
|
+
modelDeploymentName?: string | undefined;
|
|
12987
14098
|
instructions: string;
|
|
12988
14099
|
personalisation?: {
|
|
12989
14100
|
icon: string;
|
|
@@ -13106,19 +14217,27 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
13106
14217
|
settings?: {
|
|
13107
14218
|
accessMode: "private" | "public";
|
|
13108
14219
|
allowedUsers?: string[] | undefined;
|
|
14220
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13109
14221
|
} | undefined;
|
|
13110
14222
|
} | {
|
|
13111
14223
|
type: "slack";
|
|
13112
14224
|
credentialId: string;
|
|
13113
14225
|
settings?: {
|
|
13114
14226
|
messagingExperience: "agent" | "assistant";
|
|
14227
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13115
14228
|
} | undefined;
|
|
13116
14229
|
} | {
|
|
13117
14230
|
type: "linear";
|
|
13118
14231
|
credentialId: string;
|
|
14232
|
+
settings?: {
|
|
14233
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
14234
|
+
} | undefined;
|
|
13119
14235
|
} | {
|
|
13120
14236
|
type: "discord";
|
|
13121
14237
|
credentialId: string;
|
|
14238
|
+
settings?: {
|
|
14239
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
14240
|
+
} | undefined;
|
|
13122
14241
|
})[] | undefined;
|
|
13123
14242
|
mcpServers?: {
|
|
13124
14243
|
name: string;
|
|
@@ -13226,6 +14345,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
13226
14345
|
name: string;
|
|
13227
14346
|
model: string;
|
|
13228
14347
|
credential?: string | undefined;
|
|
14348
|
+
modelDeploymentName?: string | undefined;
|
|
13229
14349
|
instructions: string;
|
|
13230
14350
|
personalisation?: {
|
|
13231
14351
|
icon: string;
|
|
@@ -13348,19 +14468,27 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
13348
14468
|
settings?: {
|
|
13349
14469
|
accessMode: "private" | "public";
|
|
13350
14470
|
allowedUsers: string[];
|
|
14471
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13351
14472
|
} | undefined;
|
|
13352
14473
|
} | {
|
|
13353
14474
|
type: "slack";
|
|
13354
14475
|
credentialId: string;
|
|
13355
14476
|
settings?: {
|
|
13356
14477
|
messagingExperience: "agent" | "assistant";
|
|
14478
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13357
14479
|
} | undefined;
|
|
13358
14480
|
} | {
|
|
13359
14481
|
type: "linear";
|
|
13360
14482
|
credentialId: string;
|
|
14483
|
+
settings?: {
|
|
14484
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
14485
|
+
} | undefined;
|
|
13361
14486
|
} | {
|
|
13362
14487
|
type: "discord";
|
|
13363
14488
|
credentialId: string;
|
|
14489
|
+
settings?: {
|
|
14490
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
14491
|
+
} | undefined;
|
|
13364
14492
|
})[] | undefined;
|
|
13365
14493
|
mcpServers?: {
|
|
13366
14494
|
name: string;
|
|
@@ -13468,6 +14596,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
13468
14596
|
name: string;
|
|
13469
14597
|
model: string;
|
|
13470
14598
|
credential?: string | undefined;
|
|
14599
|
+
modelDeploymentName?: string | undefined;
|
|
13471
14600
|
instructions: string;
|
|
13472
14601
|
personalisation?: {
|
|
13473
14602
|
icon: string;
|
|
@@ -13590,19 +14719,27 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
13590
14719
|
settings?: {
|
|
13591
14720
|
accessMode: "private" | "public";
|
|
13592
14721
|
allowedUsers?: string[] | undefined;
|
|
14722
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13593
14723
|
} | undefined;
|
|
13594
14724
|
} | {
|
|
13595
14725
|
type: "slack";
|
|
13596
14726
|
credentialId: string;
|
|
13597
14727
|
settings?: {
|
|
13598
14728
|
messagingExperience: "agent" | "assistant";
|
|
14729
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13599
14730
|
} | undefined;
|
|
13600
14731
|
} | {
|
|
13601
14732
|
type: "linear";
|
|
13602
14733
|
credentialId: string;
|
|
14734
|
+
settings?: {
|
|
14735
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
14736
|
+
} | undefined;
|
|
13603
14737
|
} | {
|
|
13604
14738
|
type: "discord";
|
|
13605
14739
|
credentialId: string;
|
|
14740
|
+
settings?: {
|
|
14741
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
14742
|
+
} | undefined;
|
|
13606
14743
|
})[] | undefined;
|
|
13607
14744
|
mcpServers?: {
|
|
13608
14745
|
name: string;
|
|
@@ -13710,6 +14847,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
13710
14847
|
name: string;
|
|
13711
14848
|
model: string;
|
|
13712
14849
|
credential?: string | undefined;
|
|
14850
|
+
modelDeploymentName?: string | undefined;
|
|
13713
14851
|
instructions: string;
|
|
13714
14852
|
personalisation?: {
|
|
13715
14853
|
icon: string;
|
|
@@ -13832,19 +14970,27 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
13832
14970
|
settings?: {
|
|
13833
14971
|
accessMode: "private" | "public";
|
|
13834
14972
|
allowedUsers: string[];
|
|
14973
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13835
14974
|
} | undefined;
|
|
13836
14975
|
} | {
|
|
13837
14976
|
type: "slack";
|
|
13838
14977
|
credentialId: string;
|
|
13839
14978
|
settings?: {
|
|
13840
14979
|
messagingExperience: "agent" | "assistant";
|
|
14980
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
13841
14981
|
} | undefined;
|
|
13842
14982
|
} | {
|
|
13843
14983
|
type: "linear";
|
|
13844
14984
|
credentialId: string;
|
|
14985
|
+
settings?: {
|
|
14986
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
14987
|
+
} | undefined;
|
|
13845
14988
|
} | {
|
|
13846
14989
|
type: "discord";
|
|
13847
14990
|
credentialId: string;
|
|
14991
|
+
settings?: {
|
|
14992
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
14993
|
+
} | undefined;
|
|
13848
14994
|
})[] | undefined;
|
|
13849
14995
|
mcpServers?: {
|
|
13850
14996
|
name: string;
|
|
@@ -13952,6 +15098,7 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
13952
15098
|
name: string;
|
|
13953
15099
|
model: string;
|
|
13954
15100
|
credential?: string | undefined;
|
|
15101
|
+
modelDeploymentName?: string | undefined;
|
|
13955
15102
|
instructions: string;
|
|
13956
15103
|
personalisation?: {
|
|
13957
15104
|
icon: string;
|
|
@@ -14074,19 +15221,27 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
14074
15221
|
settings?: {
|
|
14075
15222
|
accessMode: "private" | "public";
|
|
14076
15223
|
allowedUsers?: string[] | undefined;
|
|
15224
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
14077
15225
|
} | undefined;
|
|
14078
15226
|
} | {
|
|
14079
15227
|
type: "slack";
|
|
14080
15228
|
credentialId: string;
|
|
14081
15229
|
settings?: {
|
|
14082
15230
|
messagingExperience: "agent" | "assistant";
|
|
15231
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
14083
15232
|
} | undefined;
|
|
14084
15233
|
} | {
|
|
14085
15234
|
type: "linear";
|
|
14086
15235
|
credentialId: string;
|
|
15236
|
+
settings?: {
|
|
15237
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
15238
|
+
} | undefined;
|
|
14087
15239
|
} | {
|
|
14088
15240
|
type: "discord";
|
|
14089
15241
|
credentialId: string;
|
|
15242
|
+
settings?: {
|
|
15243
|
+
sessionIdleTimeoutMinutes?: number | null | undefined;
|
|
15244
|
+
} | undefined;
|
|
14090
15245
|
})[] | undefined;
|
|
14091
15246
|
mcpServers?: {
|
|
14092
15247
|
name: string;
|