@inkeep/agents-core 0.78.3 → 0.78.5
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/auth/auth-validation-schemas.d.ts +154 -154
- package/dist/auth/auth.d.ts +9 -9
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +2 -2
- package/dist/client-exports.js +2 -2
- package/dist/data-access/index.d.ts +6 -6
- package/dist/data-access/index.js +6 -6
- package/dist/data-access/manage/agents.d.ts +15 -15
- package/dist/data-access/manage/artifactComponents.d.ts +4 -4
- package/dist/data-access/manage/contextConfigs.d.ts +8 -8
- package/dist/data-access/manage/dataComponents.d.ts +2 -2
- package/dist/data-access/manage/evalConfig.d.ts +19 -2
- package/dist/data-access/manage/evalConfig.js +20 -2
- package/dist/data-access/manage/functionTools.d.ts +6 -6
- package/dist/data-access/manage/skills.d.ts +7 -7
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgentRelations.d.ts +12 -12
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgents.d.ts +9 -9
- package/dist/data-access/manage/tools.d.ts +15 -15
- package/dist/data-access/manage/triggers.d.ts +3 -3
- package/dist/data-access/manage/webhookDestinations.d.ts +15 -3
- package/dist/data-access/manage/webhookDestinations.js +26 -8
- package/dist/data-access/runtime/apiKeys.d.ts +4 -4
- package/dist/data-access/runtime/apps.d.ts +7 -7
- package/dist/data-access/runtime/conversations.d.ts +12 -12
- package/dist/data-access/runtime/evalRuns.d.ts +47 -6
- package/dist/data-access/runtime/evalRuns.js +96 -6
- package/dist/data-access/runtime/events.d.ts +3 -3
- package/dist/data-access/runtime/feedback.d.ts +2 -2
- package/dist/data-access/runtime/messages.d.ts +15 -15
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +39 -7
- package/dist/data-access/runtime/scheduledTriggerInvocations.js +16 -3
- package/dist/data-access/runtime/scheduledTriggers.d.ts +28 -6
- package/dist/data-access/runtime/scheduledTriggers.js +34 -7
- package/dist/data-access/runtime/tasks.d.ts +1 -1
- package/dist/db/manage/manage-schema.d.ts +686 -385
- package/dist/db/manage/manage-schema.js +120 -2
- package/dist/db/runtime/runtime-schema.d.ts +472 -453
- package/dist/db/runtime/runtime-schema.js +3 -1
- package/dist/evaluation/pass-criteria-evaluator.js +69 -29
- package/dist/index.d.ts +10 -10
- package/dist/index.js +9 -9
- package/dist/types/entities.d.ts +5 -2
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +2 -2
- package/dist/types/utility.d.ts +13 -5
- package/dist/types/utility.js +2 -1
- package/dist/utils/error.d.ts +51 -51
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/dist/validation/schemas/shared.d.ts +1 -0
- package/dist/validation/schemas/shared.js +2 -1
- package/dist/validation/schemas/skills.d.ts +33 -32
- package/dist/validation/schemas.d.ts +2330 -1958
- package/dist/validation/schemas.js +64 -10
- package/drizzle/manage/0022_last_nemesis.sql +15 -0
- package/drizzle/manage/0023_flimsy_patriot.sql +13 -0
- package/drizzle/manage/meta/0022_snapshot.json +4216 -0
- package/drizzle/manage/meta/0023_snapshot.json +4317 -0
- package/drizzle/manage/meta/_journal.json +14 -0
- package/drizzle/runtime/0043_normal_beyonder.sql +2 -0
- package/drizzle/runtime/meta/0043_snapshot.json +6304 -0
- package/drizzle/runtime/meta/_journal.json +7 -0
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SUPPORT_COPILOT_PLATFORM_SLUGS } from "../auth/support-copilot-platforms.js";
|
|
2
2
|
import { schemaValidationDefaults } from "../constants/schema-validation/defaults.js";
|
|
3
|
-
import { agentDatasetRelations, agentEvaluatorRelations, agents, artifactComponents, contextConfigs, credentialReferences, dataComponents, dataset, datasetItem, datasetRunConfig, datasetRunConfigAgentRelations, evaluationJobConfig, evaluationJobConfigEvaluatorRelations, evaluationRunConfig, evaluationRunConfigEvaluationSuiteConfigRelations, evaluationSuiteConfig, evaluationSuiteConfigEvaluatorRelations, evaluator, externalAgents, functionTools, functions, projects, subAgentArtifactComponents, subAgentDataComponents, subAgentExternalAgentRelations, subAgentFunctionToolRelations, subAgentRelations, subAgentTeamAgentRelations, subAgentToolRelations, subAgents, tools, triggers, webhookDestinations } from "../db/manage/manage-schema.js";
|
|
3
|
+
import { agentDatasetRelations, agentEvaluatorRelations, agents, artifactComponents, contextConfigs, credentialReferences, dataComponents, dataset, datasetItem, datasetRunConfig, datasetRunConfigAgentRelations, datasetRunConfigEvaluatorRelations, evaluationJobConfig, evaluationJobConfigEvaluatorRelations, evaluationRunConfig, evaluationRunConfigEvaluationSuiteConfigRelations, evaluationSuiteConfig, evaluationSuiteConfigEvaluatorRelations, evaluator, externalAgents, functionTools, functions, projects, subAgentArtifactComponents, subAgentDataComponents, subAgentExternalAgentRelations, subAgentFunctionToolRelations, subAgentRelations, subAgentTeamAgentRelations, subAgentToolRelations, subAgents, tools, triggers, webhookDestinations } from "../db/manage/manage-schema.js";
|
|
4
4
|
import { apiKeys, apps, contextCache, conversations, datasetRun, datasetRunConversationRelations, evaluationResult, evaluationRun, events, feedback, ledgerArtifacts, messages, projectMetadata, scheduledTriggerInvocations, scheduledTriggers, schedulerState, taskRelations, tasks, triggerInvocations, userProfile, workAppGitHubInstallations, workAppGitHubMcpToolRepositoryAccess, workAppGitHubProjectRepositoryAccess, workAppGitHubRepositories, workAppSlackChannelAgentConfigs, workAppSlackMcpToolAccessConfig, workAppSlackWorkspaces, workflowExecutions } from "../db/runtime/runtime-schema.js";
|
|
5
|
-
import { CredentialStoreType, MCPServerType, MCPTransportType, TOOL_STATUS_VALUES, VALID_RELATION_TYPES } from "../types/utility.js";
|
|
5
|
+
import { CredentialStoreType, MAX_PASS_CRITERIA_DEPTH, MCPServerType, MCPTransportType, TOOL_STATUS_VALUES, VALID_RELATION_TYPES } from "../types/utility.js";
|
|
6
6
|
import { jmespathString, validateJMESPathSecure, validateRegex } from "../utils/jmespath-utils.js";
|
|
7
7
|
import { ConflictItemSchema, ConflictResolutionSchema, ResolvedRefSchema } from "./dolt-schemas.js";
|
|
8
8
|
import { PaginationQueryParamsSchema, PaginationSchema, ProjectResourceIdSchema, ResourceIdSchema, StringRecordSchema, createAgentScopedApiInsertSchema, createAgentScopedApiSchema, createAgentScopedApiUpdateSchema, createApiInsertSchema, createApiSchema, createApiUpdateSchema, omitGeneratedFields, omitTenantScope, omitTimestamps } from "./schemas/shared.js";
|
|
@@ -569,15 +569,22 @@ const WebhookDestinationInsertSchema = createInsertSchema(webhookDestinations, {
|
|
|
569
569
|
headers: () => HttpHeadersRecordSchema.optional()
|
|
570
570
|
});
|
|
571
571
|
const WebhookDestinationUpdateSchema = WebhookDestinationInsertSchema.extend({ enabled: z.boolean().optional().describe("Whether the webhook destination is enabled") }).partial();
|
|
572
|
-
const WebhookDestinationApiSelectSchema = createApiSchema(WebhookDestinationSelectSchema).extend({
|
|
572
|
+
const WebhookDestinationApiSelectSchema = createApiSchema(WebhookDestinationSelectSchema).extend({
|
|
573
|
+
agentIds: z.array(z.string()).optional().describe("Agent IDs this webhook is scoped to. Empty array means all agents. Omitted on list responses."),
|
|
574
|
+
evaluatorIds: z.array(z.string()).optional().describe("Evaluator IDs this webhook is scoped to for evaluation.failed events. Empty array means all evaluators. Omitted on list responses.")
|
|
575
|
+
}).openapi("WebhookDestination");
|
|
573
576
|
const WebhookDestinationApiInsertSchema = createApiInsertSchema(WebhookDestinationInsertSchema).extend({
|
|
574
577
|
id: ResourceIdSchema.optional(),
|
|
575
|
-
agentIds: z.array(z.string()).optional().describe("Agent IDs to scope this webhook to. Omit or empty for all agents.")
|
|
578
|
+
agentIds: z.array(z.string()).optional().describe("Agent IDs to scope this webhook to. Omit or empty for all agents."),
|
|
579
|
+
evaluatorIds: z.array(z.string()).optional().describe("Evaluator IDs to scope evaluation.failed events to. Omit or empty for all evaluators.")
|
|
576
580
|
}).omit({
|
|
577
581
|
createdAt: true,
|
|
578
582
|
updatedAt: true
|
|
579
583
|
}).openapi("WebhookDestinationCreate");
|
|
580
|
-
const WebhookDestinationApiUpdateSchema = createApiUpdateSchema(WebhookDestinationUpdateSchema).extend({
|
|
584
|
+
const WebhookDestinationApiUpdateSchema = createApiUpdateSchema(WebhookDestinationUpdateSchema).extend({
|
|
585
|
+
agentIds: z.array(z.string()).optional().describe("Agent IDs to scope this webhook to. Empty array for all agents."),
|
|
586
|
+
evaluatorIds: z.array(z.string()).optional().describe("Evaluator IDs to scope evaluation.failed events to. Empty array for all evaluators.")
|
|
587
|
+
}).openapi("WebhookDestinationUpdate");
|
|
581
588
|
const WebhookDestinationResponse = z.object({ data: WebhookDestinationApiSelectSchema }).openapi("WebhookDestinationResponse");
|
|
582
589
|
const WebhookDestinationListResponse = z.object({
|
|
583
590
|
data: z.array(WebhookDestinationApiSelectSchema),
|
|
@@ -585,6 +592,10 @@ const WebhookDestinationListResponse = z.object({
|
|
|
585
592
|
}).openapi("WebhookDestinationListResponse");
|
|
586
593
|
const CronExpressionSchema = z.string().regex(/^(\*(?:\/\d+)?|[\d,-]+(?:\/\d+)?)\s+(\*(?:\/\d+)?|[\d,-]+(?:\/\d+)?)\s+(\*(?:\/\d+)?|[\d,-]+(?:\/\d+)?)\s+(\*(?:\/\d+)?|[\d,-]+(?:\/\d+)?)\s+(\*(?:\/\d+)?|[\d,\-A-Za-z]+(?:\/\d+)?)$/, "Invalid cron expression. Expected 5 fields: minute hour day month weekday").describe("Cron expression in standard 5-field format (minute hour day month weekday)").openapi("CronExpression");
|
|
587
594
|
const maxScheduledTriggerDispatchDelayMs = 6e5;
|
|
595
|
+
const SCHEDULED_TRIGGER_DEFAULT_MAX_RETRIES = 1;
|
|
596
|
+
const SCHEDULED_TRIGGER_DEFAULT_RETRY_DELAY_SECONDS = 60;
|
|
597
|
+
const SCHEDULED_TRIGGER_DEFAULT_TIMEOUT_SECONDS = 780;
|
|
598
|
+
const SCHEDULED_TRIGGER_DEFAULT_DISPATCH_DELAY_MS = 12e4;
|
|
588
599
|
const ScheduledTriggerSelectSchema = createSelectSchema(scheduledTriggers).extend({
|
|
589
600
|
payload: z.record(z.string(), z.unknown()).nullable().optional(),
|
|
590
601
|
runAsUserId: UserIdSchema.nullable().describe("User ID of the user who this trigger is running as"),
|
|
@@ -601,9 +612,9 @@ const ScheduledTriggerInsertSchemaBase = createInsertSchema(scheduledTriggers, {
|
|
|
601
612
|
ref: () => z.string().max(256).default("main").describe("Branch ref to run the agent from"),
|
|
602
613
|
payload: () => z.record(z.string(), z.unknown()).nullable().optional().describe("Static payload for agent execution"),
|
|
603
614
|
messageTemplate: () => z.string().trim().min(1).describe("Message template with {{placeholder}} syntax").optional(),
|
|
604
|
-
maxRetries: () => z.number().int().min(0).max(10).default(
|
|
605
|
-
retryDelaySeconds: () => z.number().int().min(10).max(3600).default(
|
|
606
|
-
timeoutSeconds: () => z.number().int().min(30).max(780).default(
|
|
615
|
+
maxRetries: () => z.number().int().min(0).max(10).default(SCHEDULED_TRIGGER_DEFAULT_MAX_RETRIES),
|
|
616
|
+
retryDelaySeconds: () => z.number().int().min(10).max(3600).default(SCHEDULED_TRIGGER_DEFAULT_RETRY_DELAY_SECONDS),
|
|
617
|
+
timeoutSeconds: () => z.number().int().min(30).max(780).default(SCHEDULED_TRIGGER_DEFAULT_TIMEOUT_SECONDS),
|
|
607
618
|
createdBy: () => UserIdSchema.nullable().optional().describe("User ID of the user who created this trigger")
|
|
608
619
|
}).omit({
|
|
609
620
|
nextRunAt: true,
|
|
@@ -904,8 +915,48 @@ const EvaluationSuiteConfigEvaluatorRelationUpdateSchema = EvaluationSuiteConfig
|
|
|
904
915
|
const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema = createApiSchema(EvaluationSuiteConfigEvaluatorRelationSelectSchema).openapi("EvaluationSuiteConfigEvaluatorRelation");
|
|
905
916
|
const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema = createApiInsertSchema(EvaluationSuiteConfigEvaluatorRelationInsertSchema).omit({ id: true }).openapi("EvaluationSuiteConfigEvaluatorRelationCreate");
|
|
906
917
|
const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema = createApiUpdateSchema(EvaluationSuiteConfigEvaluatorRelationUpdateSchema).omit({ id: true }).openapi("EvaluationSuiteConfigEvaluatorRelationUpdate");
|
|
918
|
+
const passCriteriaConditionSchema = z.object({
|
|
919
|
+
field: z.string().min(1),
|
|
920
|
+
operator: z.enum([
|
|
921
|
+
">",
|
|
922
|
+
"<",
|
|
923
|
+
">=",
|
|
924
|
+
"<=",
|
|
925
|
+
"=",
|
|
926
|
+
"!="
|
|
927
|
+
]),
|
|
928
|
+
value: z.union([z.number(), z.boolean()])
|
|
929
|
+
}).superRefine((val, ctx) => {
|
|
930
|
+
if (typeof val.value === "boolean" && val.operator !== "=" && val.operator !== "!=") ctx.addIssue({
|
|
931
|
+
code: z.ZodIssueCode.custom,
|
|
932
|
+
message: `Boolean values only support '=' and '!=' operators, got '${val.operator}'`,
|
|
933
|
+
path: ["operator"]
|
|
934
|
+
});
|
|
935
|
+
});
|
|
936
|
+
const passCriteriaSchema = z.lazy(() => z.object({
|
|
937
|
+
operator: z.enum(["and", "or"]),
|
|
938
|
+
conditions: z.array(z.union([passCriteriaConditionSchema, passCriteriaSchema])).min(1)
|
|
939
|
+
})).meta({ type: "object" }).superRefine((val, ctx) => {
|
|
940
|
+
const checkDepth = (node, depth) => {
|
|
941
|
+
if (depth > MAX_PASS_CRITERIA_DEPTH) {
|
|
942
|
+
ctx.addIssue({
|
|
943
|
+
code: z.ZodIssueCode.custom,
|
|
944
|
+
message: `Pass criteria exceeds maximum nesting depth of ${MAX_PASS_CRITERIA_DEPTH}`
|
|
945
|
+
});
|
|
946
|
+
return;
|
|
947
|
+
}
|
|
948
|
+
const obj = node;
|
|
949
|
+
if ("conditions" in obj && Array.isArray(obj.conditions)) {
|
|
950
|
+
for (const child of obj.conditions) if (child && typeof child === "object" && "conditions" in child) checkDepth(child, depth + 1);
|
|
951
|
+
}
|
|
952
|
+
};
|
|
953
|
+
checkDepth(val, 0);
|
|
954
|
+
});
|
|
907
955
|
const EvaluatorSelectSchema = createSelectSchema(evaluator);
|
|
908
|
-
const EvaluatorInsertSchema = createInsertSchema(evaluator).extend({
|
|
956
|
+
const EvaluatorInsertSchema = createInsertSchema(evaluator).extend({
|
|
957
|
+
id: ResourceIdSchema,
|
|
958
|
+
passCriteria: passCriteriaSchema.nullable().optional()
|
|
959
|
+
});
|
|
909
960
|
const EvaluatorUpdateSchema = EvaluatorInsertSchema.partial();
|
|
910
961
|
const EvaluatorApiSelectSchema = createApiSchema(EvaluatorSelectSchema).openapi("Evaluator");
|
|
911
962
|
const EvaluatorApiInsertSchema = createApiInsertSchema(EvaluatorInsertSchema).omit({ id: true }).openapi("EvaluatorCreate");
|
|
@@ -971,6 +1022,9 @@ const AgentEvaluatorRelationApiInsertSchema = createApiInsertSchema(AgentEvaluat
|
|
|
971
1022
|
const DatasetRunConfigAgentRelationSelectSchema = createSelectSchema(datasetRunConfigAgentRelations);
|
|
972
1023
|
const DatasetRunConfigAgentRelationInsertSchema = createInsertSchema(datasetRunConfigAgentRelations).extend({ id: ResourceIdSchema });
|
|
973
1024
|
const DatasetRunConfigAgentRelationUpdateSchema = DatasetRunConfigAgentRelationInsertSchema.partial();
|
|
1025
|
+
const DatasetRunConfigEvaluatorRelationSelectSchema = createSelectSchema(datasetRunConfigEvaluatorRelations);
|
|
1026
|
+
const DatasetRunConfigEvaluatorRelationInsertSchema = createInsertSchema(datasetRunConfigEvaluatorRelations).extend({ id: ResourceIdSchema });
|
|
1027
|
+
const DatasetRunConfigEvaluatorRelationUpdateSchema = DatasetRunConfigEvaluatorRelationInsertSchema.partial();
|
|
974
1028
|
const DataComponentSelectSchema = createSelectSchema(dataComponents);
|
|
975
1029
|
const DataComponentInsertSchema = createInsertSchema(dataComponents).extend({ id: ResourceIdSchema }).omit({
|
|
976
1030
|
createdAt: true,
|
|
@@ -2087,4 +2141,4 @@ const ImprovementBranchParamsSchema = z.object({
|
|
|
2087
2141
|
}).openapi("ImprovementBranchParams");
|
|
2088
2142
|
|
|
2089
2143
|
//#endregion
|
|
2090
|
-
export { ALLOWED_DOMAIN_PATTERN, AddPublicKeyRequestSchema, AddScheduledTriggerUserRequestSchema, AddTriggerUserRequestSchema, AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentDatasetRelationApiInsertSchema, AgentDatasetRelationApiSelectSchema, AgentDatasetRelationInsertSchema, AgentDatasetRelationSelectSchema, AgentDatasetRelationUpdateSchema, AgentEvaluatorRelationApiInsertSchema, AgentEvaluatorRelationApiSelectSchema, AgentEvaluatorRelationInsertSchema, AgentEvaluatorRelationSelectSchema, AgentEvaluatorRelationUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSchemaBase, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, AnonymousSessionResponseSchema, ApiConfigSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, AppApiCreationResponseSchema, AppApiInsertSchema, AppApiResponseSelectSchema, AppApiSelectSchema, AppApiUpdateSchema, AppConfigResponseSchema, AppConfigSchema, AppInsertSchema, AppListResponse, AppResponse, AppSelectSchema, AppUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, BulkFeedbackResponseSchema, CanUseItemSchema, ChannelAccessModeSchema, ChannelIdsSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ComponentJoinSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationDetailSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, CronExpressionSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DataPartSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, DateTimeFilterQueryParamsSchema, ErrorResponseSchema, EvalSummaryDatasetRunSchema, EvalSummaryItemStatusSchema, EvalSummaryResponseSchema, EvalSummaryResultSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, EventApiInsertSchema, EventApiSelectSchema, EventInsertSchema, EventResponse, EventSelectSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FeedbackApiInsertSchema, FeedbackApiSelectSchema, FeedbackApiUpdateSchema, FeedbackInsertSchema, FeedbackListResponse, FeedbackResponse, FeedbackSelectSchema, FeedbackUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FilePartSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, HttpHeaderNameSchema, HttpHeaderValueSchema, HttpHeadersRecordSchema, ImprovementBranchParamsSchema, ImprovementConversationResponseSchema, ImprovementDiffQuerySchema, ImprovementDiffResponseSchema, ImprovementFeedbackItemSchema, ImprovementListResponseSchema, ImprovementMergeRequestSchema, ImprovementMergeResponseSchema, ImprovementRevertRequestSchema, ImprovementRevertRowSchema, ImprovementRunSchema, ImprovementSuccessMessageSchema, ImprovementTriggerRequestSchema, ImprovementTriggerResponseSchema, LastRunSummarySchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MCPCatalogListResponse, MCPToolConfigSchema, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, OutputContractSchema, PaginationWithRefQueryParamsSchema, PartSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, PublicKeyAlgorithmSchema, PublicKeyConfigSchema, PublicKeyListResponseSchema, PublicKeyResponseSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, ScheduledTriggerApiInsertBaseSchema, ScheduledTriggerApiInsertSchema, ScheduledTriggerApiSelectSchema, ScheduledTriggerApiUpdateSchema, ScheduledTriggerInsertSchema, ScheduledTriggerInvocationApiInsertSchema, ScheduledTriggerInvocationApiSelectSchema, ScheduledTriggerInvocationApiUpdateSchema, ScheduledTriggerInvocationInsertSchema, ScheduledTriggerInvocationListResponse, ScheduledTriggerInvocationResponse, ScheduledTriggerInvocationSelectSchema, ScheduledTriggerInvocationStatusEnum, ScheduledTriggerInvocationUpdateSchema, ScheduledTriggerListResponse, ScheduledTriggerResponse, ScheduledTriggerSelectSchema, ScheduledTriggerUpdateSchema, ScheduledTriggerUsersResponseSchema, ScheduledTriggerWithRunInfoListResponse, ScheduledTriggerWithRunInfoSchema, SchedulerStateSelectSchema, SetScheduledTriggerUsersRequestSchema, SetTriggerUsersRequestSchema, SignatureSourceSchema, SignatureValidationOptionsSchema, SignatureVerificationConfigSchema, SignedComponentSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, SupportCopilotConfigSchema, SupportCopilotPlatformSchema, SupportCopilotQuickActionGroupSchema, SupportCopilotQuickActionSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, TenantProjectToolParamsSchema, TextPartSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertBaseSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthHeaderInputSchema, TriggerAuthHeaderStoredSchema, TriggerAuthHeaderUpdateSchema, TriggerAuthenticationInputSchema, TriggerAuthenticationSchema, TriggerAuthenticationStoredSchema, TriggerAuthenticationUpdateSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, TriggerUsersResponseSchema, TriggerWithWebhookUrlListResponse, TriggerWithWebhookUrlResponse, TriggerWithWebhookUrlSchema, TriggerWithWebhookUrlWithWarningResponse, UserIdParamsSchema, UserIdSchema, UserProfileApiInsertSchema, UserProfileApiUpdateSchema, UserProfileInsertSchema, UserProfileSelectSchema, UserProfileUpdateSchema, WebClientConfigResponseSchema, WebClientConfigSchema, WebhookConversationDataSchema, WebhookDestinationApiInsertSchema, WebhookDestinationApiSelectSchema, WebhookDestinationApiUpdateSchema, WebhookDestinationEventTypeEnum, WebhookDestinationInsertSchema, WebhookDestinationListResponse, WebhookDestinationResponse, WebhookDestinationSelectSchema, WebhookDestinationUpdateSchema, WebhookEventCreatedDataSchema, WebhookEventEnvelopeSchema, WebhookFeedbackDataSchema, WebhookMessageSchema, WorkAppGitHubAccessGetResponseSchema, WorkAppGitHubAccessModeSchema, WorkAppGitHubAccessSetRequestSchema, WorkAppGitHubAccessSetResponseSchema, WorkAppGitHubAccountTypeSchema, WorkAppGitHubInstallationApiInsertSchema, WorkAppGitHubInstallationInsertSchema, WorkAppGitHubInstallationSelectSchema, WorkAppGitHubInstallationStatusSchema, WorkAppGitHubMcpToolRepositoryAccessSelectSchema, WorkAppGitHubProjectRepositoryAccessSelectSchema, WorkAppGitHubRepositoryApiInsertSchema, WorkAppGitHubRepositoryInsertSchema, WorkAppGitHubRepositorySelectSchema, WorkAppGithubInstallationApiSelectSchema, WorkAppSlackAgentConfigRequestSchema, WorkAppSlackAgentConfigResponseSchema, WorkAppSlackChannelAgentConfigSelectSchema, WorkAppSlackMcpToolAccessConfigApiInsertSchema, WorkAppSlackMcpToolAccessConfigInsertSchema, WorkAppSlackWorkspaceSelectSchema, WorkflowExecutionInsertSchema, WorkflowExecutionSelectSchema, WorkflowExecutionStatusEnum, WorkflowExecutionUpdateSchema, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema, maxScheduledTriggerDispatchDelayMs, maxWebhookDispatchDelayMs, runAsUserIdsSchema };
|
|
2144
|
+
export { ALLOWED_DOMAIN_PATTERN, AddPublicKeyRequestSchema, AddScheduledTriggerUserRequestSchema, AddTriggerUserRequestSchema, AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentDatasetRelationApiInsertSchema, AgentDatasetRelationApiSelectSchema, AgentDatasetRelationInsertSchema, AgentDatasetRelationSelectSchema, AgentDatasetRelationUpdateSchema, AgentEvaluatorRelationApiInsertSchema, AgentEvaluatorRelationApiSelectSchema, AgentEvaluatorRelationInsertSchema, AgentEvaluatorRelationSelectSchema, AgentEvaluatorRelationUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSchemaBase, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, AnonymousSessionResponseSchema, ApiConfigSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, AppApiCreationResponseSchema, AppApiInsertSchema, AppApiResponseSelectSchema, AppApiSelectSchema, AppApiUpdateSchema, AppConfigResponseSchema, AppConfigSchema, AppInsertSchema, AppListResponse, AppResponse, AppSelectSchema, AppUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, BulkFeedbackResponseSchema, CanUseItemSchema, ChannelAccessModeSchema, ChannelIdsSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ComponentJoinSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationDetailSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, CronExpressionSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DataPartSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigEvaluatorRelationInsertSchema, DatasetRunConfigEvaluatorRelationSelectSchema, DatasetRunConfigEvaluatorRelationUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, DateTimeFilterQueryParamsSchema, ErrorResponseSchema, EvalSummaryDatasetRunSchema, EvalSummaryItemStatusSchema, EvalSummaryResponseSchema, EvalSummaryResultSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, EventApiInsertSchema, EventApiSelectSchema, EventInsertSchema, EventResponse, EventSelectSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FeedbackApiInsertSchema, FeedbackApiSelectSchema, FeedbackApiUpdateSchema, FeedbackInsertSchema, FeedbackListResponse, FeedbackResponse, FeedbackSelectSchema, FeedbackUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FilePartSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, HttpHeaderNameSchema, HttpHeaderValueSchema, HttpHeadersRecordSchema, ImprovementBranchParamsSchema, ImprovementConversationResponseSchema, ImprovementDiffQuerySchema, ImprovementDiffResponseSchema, ImprovementFeedbackItemSchema, ImprovementListResponseSchema, ImprovementMergeRequestSchema, ImprovementMergeResponseSchema, ImprovementRevertRequestSchema, ImprovementRevertRowSchema, ImprovementRunSchema, ImprovementSuccessMessageSchema, ImprovementTriggerRequestSchema, ImprovementTriggerResponseSchema, LastRunSummarySchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MCPCatalogListResponse, MCPToolConfigSchema, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, OutputContractSchema, PaginationWithRefQueryParamsSchema, PartSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, PublicKeyAlgorithmSchema, PublicKeyConfigSchema, PublicKeyListResponseSchema, PublicKeyResponseSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SCHEDULED_TRIGGER_DEFAULT_DISPATCH_DELAY_MS, SCHEDULED_TRIGGER_DEFAULT_MAX_RETRIES, SCHEDULED_TRIGGER_DEFAULT_RETRY_DELAY_SECONDS, SCHEDULED_TRIGGER_DEFAULT_TIMEOUT_SECONDS, ScheduledTriggerApiInsertBaseSchema, ScheduledTriggerApiInsertSchema, ScheduledTriggerApiSelectSchema, ScheduledTriggerApiUpdateSchema, ScheduledTriggerInsertSchema, ScheduledTriggerInvocationApiInsertSchema, ScheduledTriggerInvocationApiSelectSchema, ScheduledTriggerInvocationApiUpdateSchema, ScheduledTriggerInvocationInsertSchema, ScheduledTriggerInvocationListResponse, ScheduledTriggerInvocationResponse, ScheduledTriggerInvocationSelectSchema, ScheduledTriggerInvocationStatusEnum, ScheduledTriggerInvocationUpdateSchema, ScheduledTriggerListResponse, ScheduledTriggerResponse, ScheduledTriggerSelectSchema, ScheduledTriggerUpdateSchema, ScheduledTriggerUsersResponseSchema, ScheduledTriggerWithRunInfoListResponse, ScheduledTriggerWithRunInfoSchema, SchedulerStateSelectSchema, SetScheduledTriggerUsersRequestSchema, SetTriggerUsersRequestSchema, SignatureSourceSchema, SignatureValidationOptionsSchema, SignatureVerificationConfigSchema, SignedComponentSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, SupportCopilotConfigSchema, SupportCopilotPlatformSchema, SupportCopilotQuickActionGroupSchema, SupportCopilotQuickActionSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, TenantProjectToolParamsSchema, TextPartSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertBaseSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthHeaderInputSchema, TriggerAuthHeaderStoredSchema, TriggerAuthHeaderUpdateSchema, TriggerAuthenticationInputSchema, TriggerAuthenticationSchema, TriggerAuthenticationStoredSchema, TriggerAuthenticationUpdateSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, TriggerUsersResponseSchema, TriggerWithWebhookUrlListResponse, TriggerWithWebhookUrlResponse, TriggerWithWebhookUrlSchema, TriggerWithWebhookUrlWithWarningResponse, UserIdParamsSchema, UserIdSchema, UserProfileApiInsertSchema, UserProfileApiUpdateSchema, UserProfileInsertSchema, UserProfileSelectSchema, UserProfileUpdateSchema, WebClientConfigResponseSchema, WebClientConfigSchema, WebhookConversationDataSchema, WebhookDestinationApiInsertSchema, WebhookDestinationApiSelectSchema, WebhookDestinationApiUpdateSchema, WebhookDestinationEventTypeEnum, WebhookDestinationInsertSchema, WebhookDestinationListResponse, WebhookDestinationResponse, WebhookDestinationSelectSchema, WebhookDestinationUpdateSchema, WebhookEventCreatedDataSchema, WebhookEventEnvelopeSchema, WebhookFeedbackDataSchema, WebhookMessageSchema, WorkAppGitHubAccessGetResponseSchema, WorkAppGitHubAccessModeSchema, WorkAppGitHubAccessSetRequestSchema, WorkAppGitHubAccessSetResponseSchema, WorkAppGitHubAccountTypeSchema, WorkAppGitHubInstallationApiInsertSchema, WorkAppGitHubInstallationInsertSchema, WorkAppGitHubInstallationSelectSchema, WorkAppGitHubInstallationStatusSchema, WorkAppGitHubMcpToolRepositoryAccessSelectSchema, WorkAppGitHubProjectRepositoryAccessSelectSchema, WorkAppGitHubRepositoryApiInsertSchema, WorkAppGitHubRepositoryInsertSchema, WorkAppGitHubRepositorySelectSchema, WorkAppGithubInstallationApiSelectSchema, WorkAppSlackAgentConfigRequestSchema, WorkAppSlackAgentConfigResponseSchema, WorkAppSlackChannelAgentConfigSelectSchema, WorkAppSlackMcpToolAccessConfigApiInsertSchema, WorkAppSlackMcpToolAccessConfigInsertSchema, WorkAppSlackWorkspaceSelectSchema, WorkflowExecutionInsertSchema, WorkflowExecutionSelectSchema, WorkflowExecutionStatusEnum, WorkflowExecutionUpdateSchema, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema, maxScheduledTriggerDispatchDelayMs, maxWebhookDispatchDelayMs, runAsUserIdsSchema };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
CREATE TABLE "dataset_run_config_evaluator_relations" (
|
|
2
|
+
"tenant_id" varchar(256) NOT NULL,
|
|
3
|
+
"id" varchar(256) NOT NULL,
|
|
4
|
+
"project_id" varchar(256) NOT NULL,
|
|
5
|
+
"dataset_run_config_id" varchar(256) NOT NULL,
|
|
6
|
+
"evaluator_id" varchar(256) NOT NULL,
|
|
7
|
+
"created_at" timestamp DEFAULT now() NOT NULL,
|
|
8
|
+
"updated_at" timestamp DEFAULT now() NOT NULL,
|
|
9
|
+
CONSTRAINT "drc_evaluator_rel_pk" PRIMARY KEY("tenant_id","project_id","id"),
|
|
10
|
+
CONSTRAINT "drc_evaluator_unique" UNIQUE("tenant_id","project_id","dataset_run_config_id","evaluator_id")
|
|
11
|
+
);
|
|
12
|
+
--> statement-breakpoint
|
|
13
|
+
ALTER TABLE "dataset_run_config" ADD COLUMN "dispatch_delay_ms" integer;--> statement-breakpoint
|
|
14
|
+
ALTER TABLE "dataset_run_config_evaluator_relations" ADD CONSTRAINT "drc_evaluator_rel_config_fk" FOREIGN KEY ("tenant_id","project_id","dataset_run_config_id") REFERENCES "public"."dataset_run_config"("tenant_id","project_id","id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
15
|
+
ALTER TABLE "dataset_run_config_evaluator_relations" ADD CONSTRAINT "drc_evaluator_rel_evaluator_fk" FOREIGN KEY ("tenant_id","project_id","evaluator_id") REFERENCES "public"."evaluator"("tenant_id","project_id","id") ON DELETE cascade ON UPDATE no action;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
CREATE TABLE "webhook_destination_evaluators" (
|
|
2
|
+
"tenant_id" varchar(256) NOT NULL,
|
|
3
|
+
"id" varchar(256) NOT NULL,
|
|
4
|
+
"project_id" varchar(256) NOT NULL,
|
|
5
|
+
"webhook_destination_id" varchar(256) NOT NULL,
|
|
6
|
+
"evaluator_id" varchar(256) NOT NULL,
|
|
7
|
+
"created_at" timestamp DEFAULT now() NOT NULL,
|
|
8
|
+
"updated_at" timestamp DEFAULT now() NOT NULL,
|
|
9
|
+
CONSTRAINT "webhook_destination_evaluators_tenant_id_project_id_id_pk" PRIMARY KEY("tenant_id","project_id","id")
|
|
10
|
+
);
|
|
11
|
+
--> statement-breakpoint
|
|
12
|
+
ALTER TABLE "webhook_destination_evaluators" ADD CONSTRAINT "webhook_destination_evaluators_destination_fk" FOREIGN KEY ("tenant_id","project_id","webhook_destination_id") REFERENCES "public"."webhook_destinations"("tenant_id","project_id","id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
13
|
+
ALTER TABLE "webhook_destination_evaluators" ADD CONSTRAINT "webhook_destination_evaluators_evaluator_fk" FOREIGN KEY ("tenant_id","project_id","evaluator_id") REFERENCES "public"."evaluator"("tenant_id","project_id","id") ON DELETE cascade ON UPDATE no action;
|