@inkeep/agents-core 0.0.0-dev-20260220015147 → 0.0.0-dev-20260220194529

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.
Files changed (30) hide show
  1. package/dist/auth/auth-schema.d.ts +105 -105
  2. package/dist/auth/auth-validation-schemas.d.ts +131 -131
  3. package/dist/auth/auth.d.ts +22 -22
  4. package/dist/auth/permissions.d.ts +9 -9
  5. package/dist/data-access/manage/agents.d.ts +48 -48
  6. package/dist/data-access/manage/artifactComponents.d.ts +14 -14
  7. package/dist/data-access/manage/contextConfigs.d.ts +20 -20
  8. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  9. package/dist/data-access/manage/functionTools.d.ts +20 -20
  10. package/dist/data-access/manage/scope-helpers.d.ts +5 -5
  11. package/dist/data-access/manage/skills.d.ts +17 -17
  12. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  13. package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
  14. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  15. package/dist/data-access/manage/subAgents.d.ts +24 -24
  16. package/dist/data-access/manage/tools.d.ts +27 -27
  17. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  18. package/dist/data-access/runtime/conversations.d.ts +23 -23
  19. package/dist/data-access/runtime/messages.d.ts +6 -6
  20. package/dist/data-access/runtime/tasks.d.ts +5 -5
  21. package/dist/db/manage/manage-schema.d.ts +445 -445
  22. package/dist/db/manage/manage-schema.js +1 -1
  23. package/dist/db/runtime/runtime-schema.d.ts +297 -297
  24. package/dist/middleware/no-auth.d.ts +2 -2
  25. package/dist/validation/dolt-schemas.d.ts +1 -1
  26. package/dist/validation/schemas.d.ts +387 -387
  27. package/drizzle/manage/meta/_journal.json +0 -7
  28. package/package.json +1 -1
  29. package/drizzle/manage/0010_oval_angel.sql +0 -2
  30. package/drizzle/manage/meta/0010_snapshot.json +0 -3673
@@ -819,11 +819,11 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
819
819
  }, z.core.$strip>>;
820
820
  }>, z.core.$strip>;
821
821
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
822
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
823
822
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
823
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
825
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
824
826
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
825
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
827
827
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
828
828
  base: z.ZodOptional<z.ZodObject<{
829
829
  model: z.ZodOptional<z.ZodString>;
@@ -838,6 +838,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
838
838
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
839
839
  }, z.core.$strip>>;
840
840
  }, z.core.$strip>>>>;
841
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
841
842
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
842
843
  stepCountIs?: number | undefined;
843
844
  }, {
@@ -847,8 +848,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
847
848
  }, {
848
849
  stepCountIs?: number | undefined;
849
850
  }>>>>>>;
850
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
851
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
851
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
852
852
  }, z.core.$strip>;
853
853
  declare const SubAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
854
854
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -2482,7 +2482,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2482
2482
  }, {}, {
2483
2483
  length: 256;
2484
2484
  }>;
2485
- }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2485
+ }, "name" | "id" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "description" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2486
2486
  declare const AgentUpdateSchema: z.ZodObject<{
2487
2487
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2488
2488
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2750,9 +2750,11 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2750
2750
  }>, z.core.$strip>;
2751
2751
  declare const AgentApiInsertSchema: z.ZodObject<{
2752
2752
  name: z.ZodString;
2753
+ createdAt: z.ZodOptional<z.ZodString>;
2754
+ updatedAt: z.ZodOptional<z.ZodString>;
2753
2755
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2754
2756
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2755
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
2758
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2757
2759
  base?: {
2758
2760
  model?: string | undefined;
@@ -2806,18 +2808,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2806
2808
  providerOptions?: Record<string, any> | undefined;
2807
2809
  } | undefined;
2808
2810
  }>>>>;
2809
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2810
- transferCountIs?: number | undefined;
2811
- }, {
2812
- transferCountIs?: number | undefined;
2813
- }, z.core.$ZodTypeInternals<{
2814
- transferCountIs?: number | undefined;
2815
- }, {
2816
- transferCountIs?: number | undefined;
2817
- }>>>>;
2818
- createdAt: z.ZodOptional<z.ZodString>;
2819
- updatedAt: z.ZodOptional<z.ZodString>;
2820
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2811
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2821
2812
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2822
2813
  enabled?: boolean | undefined;
2823
2814
  numEvents?: number | undefined;
@@ -2875,14 +2866,25 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2875
2866
  } | undefined;
2876
2867
  }[] | undefined;
2877
2868
  }>>>>;
2869
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2870
+ transferCountIs?: number | undefined;
2871
+ }, {
2872
+ transferCountIs?: number | undefined;
2873
+ }, z.core.$ZodTypeInternals<{
2874
+ transferCountIs?: number | undefined;
2875
+ }, {
2876
+ transferCountIs?: number | undefined;
2877
+ }>>>>;
2878
2878
  id: z.ZodString;
2879
2879
  }, z.core.$strip>;
2880
2880
  declare const AgentApiUpdateSchema: z.ZodObject<{
2881
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2882
2881
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2882
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2883
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2884
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2883
2885
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
2886
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2885
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2887
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2886
2888
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2887
2889
  base?: {
2888
2890
  model?: string | undefined;
@@ -2936,18 +2938,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2936
2938
  providerOptions?: Record<string, any> | undefined;
2937
2939
  } | undefined;
2938
2940
  }>>>>>>;
2939
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2940
- transferCountIs?: number | undefined;
2941
- }, {
2942
- transferCountIs?: number | undefined;
2943
- }, z.core.$ZodTypeInternals<{
2944
- transferCountIs?: number | undefined;
2945
- }, {
2946
- transferCountIs?: number | undefined;
2947
- }>>>>>>;
2948
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2949
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2950
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2941
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2951
2942
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2952
2943
  enabled?: boolean | undefined;
2953
2944
  numEvents?: number | undefined;
@@ -3005,6 +2996,15 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3005
2996
  } | undefined;
3006
2997
  }[] | undefined;
3007
2998
  }>>>>>>;
2999
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3000
+ transferCountIs?: number | undefined;
3001
+ }, {
3002
+ transferCountIs?: number | undefined;
3003
+ }, z.core.$ZodTypeInternals<{
3004
+ transferCountIs?: number | undefined;
3005
+ }, {
3006
+ transferCountIs?: number | undefined;
3007
+ }>>>>>>;
3008
3008
  }, z.core.$strip>;
3009
3009
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
3010
3010
  name: z.ZodString;
@@ -4005,7 +4005,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4005
4005
  }, {}, {
4006
4006
  length: 256;
4007
4007
  }>;
4008
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4008
+ }, "name" | "id" | "createdAt" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4009
4009
  declare const TriggerUpdateSchema: z.ZodObject<{
4010
4010
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4011
4011
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4089,9 +4089,9 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4089
4089
  }>, z.core.$strip>;
4090
4090
  declare const TriggerApiInsertSchema: z.ZodObject<{
4091
4091
  name: z.ZodString;
4092
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4093
4092
  createdAt: z.ZodOptional<z.ZodString>;
4094
4093
  updatedAt: z.ZodOptional<z.ZodString>;
4094
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4095
4095
  enabled: z.ZodOptional<z.ZodBoolean>;
4096
4096
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4097
4097
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -4122,11 +4122,11 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4122
4122
  in: {};
4123
4123
  }>;
4124
4124
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4125
- id: z.ZodString;
4126
4125
  name: z.ZodString;
4127
- description: z.ZodNullable<z.ZodString>;
4126
+ id: z.ZodString;
4128
4127
  createdAt: z.ZodString;
4129
4128
  updatedAt: z.ZodString;
4129
+ description: z.ZodNullable<z.ZodString>;
4130
4130
  enabled: z.ZodBoolean;
4131
4131
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4132
4132
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -4989,7 +4989,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert",
4989
4989
  }, {}, {
4990
4990
  length: 256;
4991
4991
  }>;
4992
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "triggerId" | "conversationId" | "status" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4992
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4993
4993
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4994
4994
  triggerId: z.ZodOptional<z.ZodString>;
4995
4995
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5021,9 +5021,9 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5021
5021
  }>, z.core.$strip>;
5022
5022
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5023
5023
  createdAt: z.ZodOptional<z.ZodString>;
5024
+ status: z.ZodOptional<z.ZodString>;
5024
5025
  triggerId: z.ZodString;
5025
5026
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5026
- status: z.ZodOptional<z.ZodString>;
5027
5027
  requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
5028
5028
  transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5029
5029
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5032,9 +5032,9 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5032
5032
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5033
5033
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5034
5034
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5035
+ status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5035
5036
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5036
5037
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5037
- status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5038
5038
  requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5039
5039
  transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
5040
5040
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5674,7 +5674,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
5674
5674
  }, {}, {
5675
5675
  length: 256;
5676
5676
  }>;
5677
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5677
+ }, "name" | "id" | "createdAt" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "enabled" | "messageTemplate" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5678
5678
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5679
5679
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5680
5680
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -5718,9 +5718,9 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5718
5718
  }>, z.core.$strip>;
5719
5719
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5720
5720
  name: z.ZodString;
5721
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5722
5721
  createdAt: z.ZodOptional<z.ZodString>;
5723
5722
  updatedAt: z.ZodOptional<z.ZodString>;
5723
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5724
5724
  enabled: z.ZodOptional<z.ZodBoolean>;
5725
5725
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5726
5726
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5734,9 +5734,9 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5734
5734
  }, z.core.$strip>;
5735
5735
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5736
5736
  name: z.ZodString;
5737
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5738
5737
  createdAt: z.ZodOptional<z.ZodString>;
5739
5738
  updatedAt: z.ZodOptional<z.ZodString>;
5739
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5740
5740
  enabled: z.ZodOptional<z.ZodBoolean>;
5741
5741
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5742
5742
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6593,7 +6593,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod3.BuildSchema<"insert",
6593
6593
  }, {}, {
6594
6594
  length: 256;
6595
6595
  }>;
6596
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6596
+ }, "name" | "id" | "createdAt" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6597
6597
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6598
6598
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6599
6599
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6625,9 +6625,9 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6625
6625
  }>, z.core.$strip>;
6626
6626
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6627
6627
  name: z.ZodString;
6628
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6629
6628
  createdAt: z.ZodOptional<z.ZodString>;
6630
6629
  updatedAt: z.ZodOptional<z.ZodString>;
6630
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6631
6631
  status: z.ZodOptional<z.ZodString>;
6632
6632
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6633
6633
  scheduledTriggerId: z.ZodString;
@@ -7200,7 +7200,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"
7200
7200
  }, {}, {
7201
7201
  length: 256;
7202
7202
  }>;
7203
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7203
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7204
7204
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7205
7205
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7206
7206
  status: z.ZodOptional<z.ZodString>;
@@ -7332,7 +7332,7 @@ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7332
7332
  dataType: "json";
7333
7333
  columnType: "PgJsonb";
7334
7334
  data: {
7335
- type: "commit" | "tag" | "branch";
7335
+ type: "tag" | "commit" | "branch";
7336
7336
  name: string;
7337
7337
  hash: string;
7338
7338
  };
@@ -7348,7 +7348,7 @@ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7348
7348
  generated: undefined;
7349
7349
  }, {}, {
7350
7350
  $type: {
7351
- type: "commit" | "tag" | "branch";
7351
+ type: "tag" | "commit" | "branch";
7352
7352
  name: string;
7353
7353
  hash: string;
7354
7354
  };
@@ -7546,7 +7546,7 @@ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7546
7546
  dataType: "json";
7547
7547
  columnType: "PgJsonb";
7548
7548
  data: {
7549
- type: "commit" | "tag" | "branch";
7549
+ type: "tag" | "commit" | "branch";
7550
7550
  name: string;
7551
7551
  hash: string;
7552
7552
  };
@@ -7562,7 +7562,7 @@ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7562
7562
  generated: undefined;
7563
7563
  }, {}, {
7564
7564
  $type: {
7565
- type: "commit" | "tag" | "branch";
7565
+ type: "tag" | "commit" | "branch";
7566
7566
  name: string;
7567
7567
  hash: string;
7568
7568
  };
@@ -7715,8 +7715,8 @@ declare const TaskInsertSchema: z.ZodObject<{
7715
7715
  conversationId: z.ZodOptional<z.ZodString>;
7716
7716
  ref: z.ZodObject<{
7717
7717
  type: z.ZodEnum<{
7718
- commit: "commit";
7719
7718
  tag: "tag";
7719
+ commit: "commit";
7720
7720
  branch: "branch";
7721
7721
  }>;
7722
7722
  name: z.ZodString;
@@ -7740,8 +7740,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
7740
7740
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7741
7741
  ref: z.ZodOptional<z.ZodObject<{
7742
7742
  type: z.ZodEnum<{
7743
- commit: "commit";
7744
7743
  tag: "tag";
7744
+ commit: "commit";
7745
7745
  branch: "branch";
7746
7746
  }>;
7747
7747
  name: z.ZodString;
@@ -7756,19 +7756,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
7756
7756
  updatedAt: z.ZodString;
7757
7757
  contextId: z.ZodString;
7758
7758
  ref: z.ZodNullable<z.ZodType<{
7759
- type: "commit" | "tag" | "branch";
7759
+ type: "tag" | "commit" | "branch";
7760
7760
  name: string;
7761
7761
  hash: string;
7762
7762
  }, {
7763
- type: "commit" | "tag" | "branch";
7763
+ type: "tag" | "commit" | "branch";
7764
7764
  name: string;
7765
7765
  hash: string;
7766
7766
  }, z.core.$ZodTypeInternals<{
7767
- type: "commit" | "tag" | "branch";
7767
+ type: "tag" | "commit" | "branch";
7768
7768
  name: string;
7769
7769
  hash: string;
7770
7770
  }, {
7771
- type: "commit" | "tag" | "branch";
7771
+ type: "tag" | "commit" | "branch";
7772
7772
  name: string;
7773
7773
  hash: string;
7774
7774
  }>>>;
@@ -7794,8 +7794,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7794
7794
  conversationId: z.ZodOptional<z.ZodString>;
7795
7795
  ref: z.ZodObject<{
7796
7796
  type: z.ZodEnum<{
7797
- commit: "commit";
7798
7797
  tag: "tag";
7798
+ commit: "commit";
7799
7799
  branch: "branch";
7800
7800
  }>;
7801
7801
  name: z.ZodString;
@@ -7804,18 +7804,18 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7804
7804
  }>, z.core.$strip>;
7805
7805
  declare const TaskApiUpdateSchema: z.ZodObject<{
7806
7806
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7807
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7808
7807
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7809
7808
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7809
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7810
7810
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7811
7811
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7812
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7813
7812
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7813
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7814
7814
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7815
7815
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7816
7816
  type: z.ZodEnum<{
7817
- commit: "commit";
7818
7817
  tag: "tag";
7818
+ commit: "commit";
7819
7819
  branch: "branch";
7820
7820
  }>;
7821
7821
  name: z.ZodString;
@@ -8901,7 +8901,7 @@ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8901
8901
  dataType: "json";
8902
8902
  columnType: "PgJsonb";
8903
8903
  data: {
8904
- type: "commit" | "tag" | "branch";
8904
+ type: "tag" | "commit" | "branch";
8905
8905
  name: string;
8906
8906
  hash: string;
8907
8907
  };
@@ -8917,7 +8917,7 @@ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8917
8917
  generated: undefined;
8918
8918
  }, {}, {
8919
8919
  $type: {
8920
- type: "commit" | "tag" | "branch";
8920
+ type: "tag" | "commit" | "branch";
8921
8921
  name: string;
8922
8922
  hash: string;
8923
8923
  };
@@ -9130,7 +9130,7 @@ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
9130
9130
  dataType: "json";
9131
9131
  columnType: "PgJsonb";
9132
9132
  data: {
9133
- type: "commit" | "tag" | "branch";
9133
+ type: "tag" | "commit" | "branch";
9134
9134
  name: string;
9135
9135
  hash: string;
9136
9136
  };
@@ -9146,7 +9146,7 @@ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
9146
9146
  generated: undefined;
9147
9147
  }, {}, {
9148
9148
  $type: {
9149
- type: "commit" | "tag" | "branch";
9149
+ type: "tag" | "commit" | "branch";
9150
9150
  name: string;
9151
9151
  hash: string;
9152
9152
  };
@@ -9277,8 +9277,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
9277
9277
  contextConfigId: z.ZodOptional<z.ZodString>;
9278
9278
  ref: z.ZodObject<{
9279
9279
  type: z.ZodEnum<{
9280
- commit: "commit";
9281
9280
  tag: "tag";
9281
+ commit: "commit";
9282
9282
  branch: "branch";
9283
9283
  }>;
9284
9284
  name: z.ZodString;
@@ -9303,8 +9303,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
9303
9303
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9304
9304
  ref: z.ZodOptional<z.ZodObject<{
9305
9305
  type: z.ZodEnum<{
9306
- commit: "commit";
9307
9306
  tag: "tag";
9307
+ commit: "commit";
9308
9308
  branch: "branch";
9309
9309
  }>;
9310
9310
  name: z.ZodString;
@@ -9321,19 +9321,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
9321
9321
  agentId: z.ZodNullable<z.ZodString>;
9322
9322
  activeSubAgentId: z.ZodString;
9323
9323
  ref: z.ZodNullable<z.ZodType<{
9324
- type: "commit" | "tag" | "branch";
9324
+ type: "tag" | "commit" | "branch";
9325
9325
  name: string;
9326
9326
  hash: string;
9327
9327
  }, {
9328
- type: "commit" | "tag" | "branch";
9328
+ type: "tag" | "commit" | "branch";
9329
9329
  name: string;
9330
9330
  hash: string;
9331
9331
  }, z.core.$ZodTypeInternals<{
9332
- type: "commit" | "tag" | "branch";
9332
+ type: "tag" | "commit" | "branch";
9333
9333
  name: string;
9334
9334
  hash: string;
9335
9335
  }, {
9336
- type: "commit" | "tag" | "branch";
9336
+ type: "tag" | "commit" | "branch";
9337
9337
  name: string;
9338
9338
  hash: string;
9339
9339
  }>>>;
@@ -9359,8 +9359,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9359
9359
  contextConfigId: z.ZodOptional<z.ZodString>;
9360
9360
  ref: z.ZodObject<{
9361
9361
  type: z.ZodEnum<{
9362
- commit: "commit";
9363
9362
  tag: "tag";
9363
+ commit: "commit";
9364
9364
  branch: "branch";
9365
9365
  }>;
9366
9366
  name: z.ZodString;
@@ -9369,17 +9369,17 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9369
9369
  }>, z.core.$strip>;
9370
9370
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9371
9371
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9372
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9373
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9374
9372
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9375
9373
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9374
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9376
9375
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9376
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9377
9377
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9378
9378
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9379
9379
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9380
9380
  type: z.ZodEnum<{
9381
- commit: "commit";
9382
9381
  tag: "tag";
9382
+ commit: "commit";
9383
9383
  branch: "branch";
9384
9384
  }>;
9385
9385
  name: z.ZodString;
@@ -10398,7 +10398,7 @@ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10398
10398
  dataType: "json";
10399
10399
  columnType: "PgJsonb";
10400
10400
  data: {
10401
- type: "commit" | "tag" | "branch";
10401
+ type: "tag" | "commit" | "branch";
10402
10402
  name: string;
10403
10403
  hash: string;
10404
10404
  };
@@ -10414,7 +10414,7 @@ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10414
10414
  generated: undefined;
10415
10415
  }, {}, {
10416
10416
  $type: {
10417
- type: "commit" | "tag" | "branch";
10417
+ type: "tag" | "commit" | "branch";
10418
10418
  name: string;
10419
10419
  hash: string;
10420
10420
  };
@@ -10648,7 +10648,7 @@ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10648
10648
  dataType: "json";
10649
10649
  columnType: "PgJsonb";
10650
10650
  data: {
10651
- type: "commit" | "tag" | "branch";
10651
+ type: "tag" | "commit" | "branch";
10652
10652
  name: string;
10653
10653
  hash: string;
10654
10654
  };
@@ -10664,7 +10664,7 @@ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10664
10664
  generated: undefined;
10665
10665
  }, {}, {
10666
10666
  $type: {
10667
- type: "commit" | "tag" | "branch";
10667
+ type: "tag" | "commit" | "branch";
10668
10668
  name: string;
10669
10669
  hash: string;
10670
10670
  };
@@ -10816,8 +10816,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10816
10816
  id: z.ZodString;
10817
10817
  ref: z.ZodObject<{
10818
10818
  type: z.ZodEnum<{
10819
- commit: "commit";
10820
10819
  tag: "tag";
10820
+ commit: "commit";
10821
10821
  branch: "branch";
10822
10822
  }>;
10823
10823
  name: z.ZodString;
@@ -10842,8 +10842,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
10842
10842
  id: z.ZodOptional<z.ZodString>;
10843
10843
  ref: z.ZodOptional<z.ZodObject<{
10844
10844
  type: z.ZodEnum<{
10845
- commit: "commit";
10846
10845
  tag: "tag";
10846
+ commit: "commit";
10847
10847
  branch: "branch";
10848
10848
  }>;
10849
10849
  name: z.ZodString;
@@ -10860,19 +10860,19 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
10860
10860
  contextConfigId: z.ZodString;
10861
10861
  contextVariableKey: z.ZodString;
10862
10862
  ref: z.ZodNullable<z.ZodType<{
10863
- type: "commit" | "tag" | "branch";
10863
+ type: "tag" | "commit" | "branch";
10864
10864
  name: string;
10865
10865
  hash: string;
10866
10866
  }, {
10867
- type: "commit" | "tag" | "branch";
10867
+ type: "tag" | "commit" | "branch";
10868
10868
  name: string;
10869
10869
  hash: string;
10870
10870
  }, z.core.$ZodTypeInternals<{
10871
- type: "commit" | "tag" | "branch";
10871
+ type: "tag" | "commit" | "branch";
10872
10872
  name: string;
10873
10873
  hash: string;
10874
10874
  }, {
10875
- type: "commit" | "tag" | "branch";
10875
+ type: "tag" | "commit" | "branch";
10876
10876
  name: string;
10877
10877
  hash: string;
10878
10878
  }>>>;
@@ -10899,8 +10899,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10899
10899
  id: z.ZodString;
10900
10900
  ref: z.ZodObject<{
10901
10901
  type: z.ZodEnum<{
10902
- commit: "commit";
10903
10902
  tag: "tag";
10903
+ commit: "commit";
10904
10904
  branch: "branch";
10905
10905
  }>;
10906
10906
  name: z.ZodString;
@@ -10908,16 +10908,16 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10908
10908
  }, z.core.$strip>;
10909
10909
  }>, z.core.$strip>;
10910
10910
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10911
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10912
10911
  value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
10912
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10913
10913
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10914
10914
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10915
10915
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10916
10916
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10917
10917
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
10918
10918
  type: z.ZodEnum<{
10919
- commit: "commit";
10920
10919
  tag: "tag";
10920
+ commit: "commit";
10921
10921
  branch: "branch";
10922
10922
  }>;
10923
10923
  name: z.ZodString;
@@ -11967,17 +11967,17 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
11967
11967
  id: z.ZodString;
11968
11968
  }>, z.core.$strip>;
11969
11969
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
11970
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
11971
11970
  createdAt: z.ZodOptional<z.ZodString>;
11972
11971
  updatedAt: z.ZodOptional<z.ZodString>;
11972
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
11973
11973
  conversationId: z.ZodString;
11974
11974
  evaluatorId: z.ZodString;
11975
11975
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11976
11976
  }, z.core.$strip>;
11977
11977
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
11978
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
11979
11978
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11980
11979
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11980
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
11981
11981
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11982
11982
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11983
11983
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -12609,26 +12609,26 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12609
12609
  }>, z.core.$strip>;
12610
12610
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12611
12611
  name: z.ZodString;
12612
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12613
12612
  createdAt: z.ZodOptional<z.ZodString>;
12614
12613
  updatedAt: z.ZodOptional<z.ZodString>;
12614
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12615
12615
  isActive: z.ZodOptional<z.ZodBoolean>;
12616
12616
  suiteConfigIds: z.ZodArray<z.ZodString>;
12617
12617
  }, z.core.$strip>;
12618
12618
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12619
12619
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12620
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12621
12620
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12622
12621
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12622
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12623
12623
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12624
12624
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12625
12625
  }, z.core.$strip>;
12626
12626
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12627
- id: z.ZodString;
12628
12627
  name: z.ZodString;
12629
- description: z.ZodNullable<z.ZodString>;
12628
+ id: z.ZodString;
12630
12629
  createdAt: z.ZodString;
12631
12630
  updatedAt: z.ZodString;
12631
+ description: z.ZodNullable<z.ZodString>;
12632
12632
  isActive: z.ZodBoolean;
12633
12633
  suiteConfigIds: z.ZodArray<z.ZodString>;
12634
12634
  }, z.core.$strip>;
@@ -14786,8 +14786,9 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14786
14786
  }>, z.core.$strip>;
14787
14787
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14788
14788
  name: z.ZodString;
14789
+ createdAt: z.ZodOptional<z.ZodString>;
14790
+ updatedAt: z.ZodOptional<z.ZodString>;
14789
14791
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14790
- prompt: z.ZodString;
14791
14792
  model: z.ZodType<{
14792
14793
  model?: string | undefined;
14793
14794
  providerOptions?: Record<string, any> | undefined;
@@ -14801,15 +14802,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14801
14802
  model?: string | undefined;
14802
14803
  providerOptions?: Record<string, any> | undefined;
14803
14804
  }>>;
14804
- createdAt: z.ZodOptional<z.ZodString>;
14805
- updatedAt: z.ZodOptional<z.ZodString>;
14805
+ prompt: z.ZodString;
14806
14806
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14807
14807
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14808
14808
  }, z.core.$strip>;
14809
14809
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14810
14810
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14811
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14812
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14811
14813
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14812
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14813
14814
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14814
14815
  model?: string | undefined;
14815
14816
  providerOptions?: Record<string, any> | undefined;
@@ -14823,8 +14824,7 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14823
14824
  model?: string | undefined;
14824
14825
  providerOptions?: Record<string, any> | undefined;
14825
14826
  }>>>>;
14826
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14827
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14827
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14828
14828
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14829
14829
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
14830
14830
  }, z.core.$strip>;
@@ -15628,9 +15628,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
15628
15628
  id: z.ZodString;
15629
15629
  }>, z.core.$strip>;
15630
15630
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
15631
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15632
15631
  createdAt: z.ZodOptional<z.ZodString>;
15633
15632
  updatedAt: z.ZodOptional<z.ZodString>;
15633
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15634
15634
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15635
15635
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15636
15636
  prompt: string;
@@ -15675,9 +15675,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
15675
15675
  }>>>>;
15676
15676
  }, z.core.$strip>;
15677
15677
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15678
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15679
15678
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15680
15679
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15680
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15681
15681
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
15682
15682
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15683
15683
  prompt: string;
@@ -16183,16 +16183,16 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
16183
16183
  }>, z.core.$strip>;
16184
16184
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
16185
16185
  name: z.ZodString;
16186
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16187
16186
  createdAt: z.ZodOptional<z.ZodString>;
16188
16187
  updatedAt: z.ZodOptional<z.ZodString>;
16188
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16189
16189
  datasetId: z.ZodString;
16190
16190
  }, z.core.$strip>;
16191
16191
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16192
16192
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16193
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16194
16193
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16195
16194
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16195
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16196
16196
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16197
16197
  }, z.core.$strip>;
16198
16198
  declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -16501,9 +16501,9 @@ declare const SkillSelectSchema: z.ZodObject<{
16501
16501
  }>;
16502
16502
  declare const SkillInsertSchema: z.ZodObject<{
16503
16503
  name: z.ZodString;
16504
- description: z.ZodString;
16505
- tenantId: z.ZodString;
16506
16504
  projectId: z.ZodString;
16505
+ tenantId: z.ZodString;
16506
+ description: z.ZodString;
16507
16507
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16508
16508
  content: z.ZodString;
16509
16509
  }, {
@@ -16511,9 +16511,9 @@ declare const SkillInsertSchema: z.ZodObject<{
16511
16511
  in: {};
16512
16512
  }>;
16513
16513
  declare const SkillUpdateSchema: z.ZodObject<{
16514
- description: z.ZodOptional<z.ZodString>;
16515
- tenantId: z.ZodOptional<z.ZodString>;
16516
16514
  projectId: z.ZodOptional<z.ZodString>;
16515
+ tenantId: z.ZodOptional<z.ZodString>;
16516
+ description: z.ZodOptional<z.ZodString>;
16517
16517
  metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16518
16518
  content: z.ZodOptional<z.ZodString>;
16519
16519
  }, {
@@ -16533,9 +16533,9 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16533
16533
  }>, z.core.$strip>;
16534
16534
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16535
16535
  name: z.ZodString;
16536
- description: z.ZodString;
16537
- tenantId: z.ZodString;
16538
16536
  projectId: z.ZodString;
16537
+ tenantId: z.ZodString;
16538
+ description: z.ZodString;
16539
16539
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16540
16540
  content: z.ZodString;
16541
16541
  }>, z.core.$strip>;
@@ -17659,7 +17659,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"inser
17659
17659
  }, {}, {
17660
17660
  length: 256;
17661
17661
  }>;
17662
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17662
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17663
17663
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17664
17664
  dataComponentId: z.ZodOptional<z.ZodString>;
17665
17665
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -18256,11 +18256,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
18256
18256
  in: {};
18257
18257
  }>;
18258
18258
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18259
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18260
18259
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18261
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18260
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18262
18261
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18263
18262
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18263
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18264
18264
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
18265
18265
  [x: string]: unknown;
18266
18266
  type: "object";
@@ -18675,10 +18675,10 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18675
18675
  }>, z.core.$strip>;
18676
18676
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18677
18677
  agentId: z.ZodString;
18678
- index: z.ZodInt;
18679
- alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18680
18678
  subAgentId: z.ZodString;
18681
18679
  skillId: z.ZodString;
18680
+ index: z.ZodInt;
18681
+ alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18682
18682
  }, {
18683
18683
  out: {};
18684
18684
  in: {};
@@ -18687,17 +18687,17 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18687
18687
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18688
18688
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18689
18689
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18690
- index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18691
- alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18692
18690
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18693
18691
  skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18692
+ index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18693
+ alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18694
18694
  }, z.core.$strip>;
18695
18695
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18696
- id: z.ZodString;
18697
18696
  name: z.ZodString;
18698
- description: z.ZodString;
18697
+ id: z.ZodString;
18699
18698
  createdAt: z.ZodString;
18700
18699
  updatedAt: z.ZodString;
18700
+ description: z.ZodString;
18701
18701
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18702
18702
  content: z.ZodString;
18703
18703
  subAgentSkillId: z.ZodString;
@@ -18770,20 +18770,20 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18770
18770
  id: z.ZodString;
18771
18771
  }>, z.core.$strip>;
18772
18772
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18773
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18774
18773
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18775
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18774
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18776
18775
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18777
18776
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18777
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18778
18778
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18779
18779
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18780
18780
  }, z.core.$strip>;
18781
18781
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18782
- id: z.ZodString;
18783
18782
  name: z.ZodString;
18783
+ id: z.ZodString;
18784
+ createdAt: z.ZodString;
18785
+ updatedAt: z.ZodString;
18784
18786
  description: z.ZodNullable<z.ZodString>;
18785
- prompt: z.ZodNullable<z.ZodString>;
18786
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18787
18787
  models: z.ZodNullable<z.ZodType<{
18788
18788
  base?: {
18789
18789
  model?: string | undefined;
@@ -18837,6 +18837,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18837
18837
  providerOptions?: Record<string, any> | undefined;
18838
18838
  } | undefined;
18839
18839
  }>>>;
18840
+ prompt: z.ZodNullable<z.ZodString>;
18840
18841
  stopWhen: z.ZodNullable<z.ZodType<{
18841
18842
  stepCountIs?: number | undefined;
18842
18843
  }, {
@@ -18846,15 +18847,14 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18846
18847
  }, {
18847
18848
  stepCountIs?: number | undefined;
18848
18849
  }>>>;
18849
- createdAt: z.ZodString;
18850
- updatedAt: z.ZodString;
18850
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18851
18851
  type: z.ZodLiteral<"internal">;
18852
18852
  }, z.core.$strip>, z.ZodObject<{
18853
- id: z.ZodString;
18854
18853
  name: z.ZodString;
18855
- description: z.ZodNullable<z.ZodString>;
18854
+ id: z.ZodString;
18856
18855
  createdAt: z.ZodString;
18857
18856
  updatedAt: z.ZodString;
18857
+ description: z.ZodNullable<z.ZodString>;
18858
18858
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18859
18859
  baseUrl: z.ZodString;
18860
18860
  type: z.ZodLiteral<"external">;
@@ -19321,8 +19321,8 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
19321
19321
  }>;
19322
19322
  declare const ApiKeyUpdateSchema: z.ZodObject<{
19323
19323
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19324
- agentId: z.ZodOptional<z.ZodString>;
19325
19324
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19325
+ agentId: z.ZodOptional<z.ZodString>;
19326
19326
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19327
19327
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19328
19328
  }, {
@@ -19330,11 +19330,11 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
19330
19330
  in: {};
19331
19331
  }>;
19332
19332
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19333
- id: z.ZodString;
19334
19333
  name: z.ZodNullable<z.ZodString>;
19335
- agentId: z.ZodString;
19334
+ id: z.ZodString;
19336
19335
  createdAt: z.ZodString;
19337
19336
  updatedAt: z.ZodString;
19337
+ agentId: z.ZodString;
19338
19338
  publicId: z.ZodString;
19339
19339
  keyPrefix: z.ZodString;
19340
19340
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19346,11 +19346,11 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
19346
19346
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19347
19347
  data: z.ZodObject<{
19348
19348
  apiKey: z.ZodObject<{
19349
- id: z.ZodString;
19350
19349
  name: z.ZodNullable<z.ZodString>;
19351
- agentId: z.ZodString;
19350
+ id: z.ZodString;
19352
19351
  createdAt: z.ZodString;
19353
19352
  updatedAt: z.ZodString;
19353
+ agentId: z.ZodString;
19354
19354
  publicId: z.ZodString;
19355
19355
  keyPrefix: z.ZodString;
19356
19356
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19364,9 +19364,9 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19364
19364
  }, z.core.$strip>;
19365
19365
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
19366
19366
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19367
- agentId: z.ZodString;
19368
19367
  createdAt: z.ZodOptional<z.ZodString>;
19369
19368
  updatedAt: z.ZodOptional<z.ZodString>;
19369
+ agentId: z.ZodString;
19370
19370
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19371
19371
  }, {
19372
19372
  out: {};
@@ -19374,8 +19374,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
19374
19374
  }>;
19375
19375
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19376
19376
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19377
- agentId: z.ZodOptional<z.ZodString>;
19378
19377
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19378
+ agentId: z.ZodOptional<z.ZodString>;
19379
19379
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19380
19380
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19381
19381
  }, {
@@ -19868,13 +19868,13 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
19868
19868
  in: {};
19869
19869
  }>;
19870
19870
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19871
- id: z.ZodString;
19872
19871
  name: z.ZodString;
19872
+ id: z.ZodString;
19873
19873
  createdAt: z.ZodString;
19874
19874
  updatedAt: z.ZodString;
19875
- toolId: z.ZodNullable<z.ZodString>;
19876
19875
  credentialStoreId: z.ZodString;
19877
19876
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
19877
+ toolId: z.ZodNullable<z.ZodString>;
19878
19878
  userId: z.ZodNullable<z.ZodString>;
19879
19879
  createdBy: z.ZodNullable<z.ZodString>;
19880
19880
  type: z.ZodEnum<{
@@ -20459,13 +20459,13 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20459
20459
  }>>>;
20460
20460
  }, z.core.$strip>;
20461
20461
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20462
- id: z.ZodString;
20463
20462
  name: z.ZodString;
20463
+ id: z.ZodString;
20464
20464
  createdAt: z.ZodOptional<z.ZodString>;
20465
20465
  updatedAt: z.ZodOptional<z.ZodString>;
20466
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20467
20466
  credentialStoreId: z.ZodString;
20468
20467
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20468
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20469
20469
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20470
20470
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20471
20471
  type: z.ZodEnum<{
@@ -20475,13 +20475,13 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20475
20475
  }>;
20476
20476
  }, z.core.$strip>;
20477
20477
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20478
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20479
20478
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20479
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20480
20480
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20481
20481
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20482
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20483
20482
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20484
20483
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20484
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20485
20485
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20486
20486
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20487
20487
  type: z.ZodOptional<z.ZodEnum<{
@@ -20606,8 +20606,8 @@ declare const McpToolSchema: z.ZodObject<{
20606
20606
  in: {};
20607
20607
  }>;
20608
20608
  declare const MCPToolConfigSchema: z.ZodObject<{
20609
- id: z.ZodString;
20610
20609
  name: z.ZodString;
20610
+ id: z.ZodString;
20611
20611
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20612
20612
  createdBy: z.ZodOptional<z.ZodString>;
20613
20613
  credentialScope: z.ZodOptional<z.ZodString>;
@@ -20642,13 +20642,13 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20642
20642
  sessionId: z.ZodOptional<z.ZodString>;
20643
20643
  }, z.core.$strip>>;
20644
20644
  credential: z.ZodOptional<z.ZodObject<{
20645
- id: z.ZodString;
20646
20645
  name: z.ZodString;
20646
+ id: z.ZodString;
20647
20647
  createdAt: z.ZodOptional<z.ZodString>;
20648
20648
  updatedAt: z.ZodOptional<z.ZodString>;
20649
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20650
20649
  credentialStoreId: z.ZodString;
20651
20650
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20651
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20652
20652
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20653
20653
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20654
20654
  type: z.ZodEnum<{
@@ -20785,11 +20785,11 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
20785
20785
  }, z.core.$strip>;
20786
20786
  }>, z.core.$strip>;
20787
20787
  declare const ToolApiUpdateSchema: z.ZodObject<{
20788
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20789
20788
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20790
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20789
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20791
20790
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20792
20791
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20792
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20793
20793
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
20794
20794
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20795
20795
  type: z.ZodLiteral<"mcp">;
@@ -21186,12 +21186,12 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21186
21186
  in: {};
21187
21187
  }>;
21188
21188
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21189
- id: z.ZodString;
21190
21189
  name: z.ZodString;
21191
- description: z.ZodNullable<z.ZodString>;
21192
- agentId: z.ZodString;
21190
+ id: z.ZodString;
21193
21191
  createdAt: z.ZodString;
21194
21192
  updatedAt: z.ZodString;
21193
+ agentId: z.ZodString;
21194
+ description: z.ZodNullable<z.ZodString>;
21195
21195
  functionId: z.ZodString;
21196
21196
  relationshipId: z.ZodOptional<z.ZodString>;
21197
21197
  }, z.core.$strip>;
@@ -21207,12 +21207,12 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21207
21207
  id: z.ZodString;
21208
21208
  }>, z.core.$strip>;
21209
21209
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21210
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21211
21210
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21212
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21213
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21211
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21214
21212
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21215
21213
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21214
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21215
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21216
21216
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21217
21217
  }, z.core.$strip>;
21218
21218
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -21586,9 +21586,9 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21586
21586
  id: z.ZodString;
21587
21587
  }>, z.core.$strip>;
21588
21588
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21589
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
21590
21589
  subAgentId: z.ZodString;
21591
21590
  functionToolId: z.ZodString;
21591
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
21592
21592
  }, {
21593
21593
  out: {};
21594
21594
  in: {};
@@ -21980,13 +21980,13 @@ declare const FetchDefinitionSchema: z.ZodObject<{
21980
21980
  responseSchema: z.ZodOptional<z.ZodAny>;
21981
21981
  defaultValue: z.ZodOptional<z.ZodAny>;
21982
21982
  credential: z.ZodOptional<z.ZodObject<{
21983
- id: z.ZodString;
21984
21983
  name: z.ZodString;
21984
+ id: z.ZodString;
21985
21985
  createdAt: z.ZodOptional<z.ZodString>;
21986
21986
  updatedAt: z.ZodOptional<z.ZodString>;
21987
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21988
21987
  credentialStoreId: z.ZodString;
21989
21988
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21989
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21990
21990
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21991
21991
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21992
21992
  type: z.ZodEnum<{
@@ -22011,32 +22011,32 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
22011
22011
  }>;
22012
22012
  declare const ContextConfigInsertSchema: z.ZodObject<{
22013
22013
  id: z.ZodOptional<z.ZodString>;
22014
- tenantId: z.ZodString;
22015
- projectId: z.ZodString;
22016
- agentId: z.ZodString;
22017
22014
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22018
22015
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22016
+ agentId: z.ZodString;
22017
+ projectId: z.ZodString;
22018
+ tenantId: z.ZodString;
22019
22019
  }, {
22020
22020
  out: {};
22021
22021
  in: {};
22022
22022
  }>;
22023
22023
  declare const ContextConfigUpdateSchema: z.ZodObject<{
22024
22024
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22025
- tenantId: z.ZodOptional<z.ZodString>;
22026
- projectId: z.ZodOptional<z.ZodString>;
22027
- agentId: z.ZodOptional<z.ZodString>;
22028
22025
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22029
22026
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22027
+ agentId: z.ZodOptional<z.ZodString>;
22028
+ projectId: z.ZodOptional<z.ZodString>;
22029
+ tenantId: z.ZodOptional<z.ZodString>;
22030
22030
  }, {
22031
22031
  out: {};
22032
22032
  in: {};
22033
22033
  }>;
22034
22034
  declare const ContextConfigApiSelectSchema: z.ZodObject<{
22035
22035
  id: z.ZodString;
22036
- createdAt: z.ZodString;
22037
- updatedAt: z.ZodString;
22038
22036
  headersSchema: z.ZodOptional<z.ZodAny>;
22039
22037
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
22038
+ createdAt: z.ZodString;
22039
+ updatedAt: z.ZodString;
22040
22040
  }, z.core.$strip>;
22041
22041
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
22042
22042
  id: z.ZodOptional<z.ZodString>;
@@ -22537,12 +22537,12 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22537
22537
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22538
22538
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22539
22539
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22540
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22540
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22541
22541
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22542
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22542
22543
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22543
22544
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22544
22545
  }, z.core.$strip>>>>>>;
22545
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22546
22546
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22547
22547
  }, z.core.$strip>;
22548
22548
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -22931,9 +22931,9 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
22931
22931
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22932
22932
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22933
22933
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22934
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22934
22935
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22935
22936
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22936
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22937
22937
  }, z.core.$strip>;
22938
22938
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
22939
22939
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -23321,8 +23321,8 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23321
23321
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23322
23322
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23323
23323
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23324
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23325
23324
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23325
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23326
23326
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23327
23327
  }, z.core.$strip>;
23328
23328
  declare const LedgerArtifactSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -24666,7 +24666,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
24666
24666
  }, {}, {
24667
24667
  length: 256;
24668
24668
  }>;
24669
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24669
+ }, "name" | "id" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "description" | "type" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24670
24670
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24671
24671
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24672
24672
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24731,12 +24731,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24731
24731
  id: z.ZodString;
24732
24732
  }>, z.core.$strip>;
24733
24733
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24734
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24735
24734
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24736
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24737
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24735
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24738
24736
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24739
24737
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24738
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24739
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24740
24740
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24741
24741
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24742
24742
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24811,10 +24811,11 @@ declare const TeamAgentSchema: z.ZodObject<{
24811
24811
  description: z.ZodString;
24812
24812
  }, z.core.$strip>;
24813
24813
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24814
- id: z.ZodString;
24815
24814
  name: z.ZodString;
24815
+ id: z.ZodString;
24816
+ createdAt: z.ZodOptional<z.ZodString>;
24817
+ updatedAt: z.ZodOptional<z.ZodString>;
24816
24818
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24817
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24818
24819
  models: z.ZodOptional<z.ZodObject<{
24819
24820
  base: z.ZodOptional<z.ZodObject<{
24820
24821
  model: z.ZodOptional<z.ZodString>;
@@ -24838,8 +24839,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24838
24839
  }, {
24839
24840
  stepCountIs?: number | undefined;
24840
24841
  }>>>>;
24841
- createdAt: z.ZodOptional<z.ZodString>;
24842
- updatedAt: z.ZodOptional<z.ZodString>;
24842
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24843
24843
  type: z.ZodLiteral<"internal">;
24844
24844
  canUse: z.ZodArray<z.ZodObject<{
24845
24845
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24871,17 +24871,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24871
24871
  }, z.core.$strip>;
24872
24872
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24873
24873
  name: z.ZodString;
24874
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24875
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24876
24874
  createdAt: z.ZodOptional<z.ZodString>;
24877
24875
  updatedAt: z.ZodOptional<z.ZodString>;
24876
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24877
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24878
24878
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24879
24879
  id: z.ZodString;
24880
24880
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24881
- id: z.ZodString;
24882
24881
  name: z.ZodString;
24882
+ id: z.ZodString;
24883
+ createdAt: z.ZodOptional<z.ZodString>;
24884
+ updatedAt: z.ZodOptional<z.ZodString>;
24883
24885
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24884
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24885
24886
  models: z.ZodOptional<z.ZodObject<{
24886
24887
  base: z.ZodOptional<z.ZodObject<{
24887
24888
  model: z.ZodOptional<z.ZodString>;
@@ -24905,8 +24906,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24905
24906
  }, {
24906
24907
  stepCountIs?: number | undefined;
24907
24908
  }>>>>;
24908
- createdAt: z.ZodOptional<z.ZodString>;
24909
- updatedAt: z.ZodOptional<z.ZodString>;
24909
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24910
24910
  type: z.ZodLiteral<"internal">;
24911
24911
  canUse: z.ZodArray<z.ZodObject<{
24912
24912
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25015,9 +25015,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25015
25015
  }, z.core.$strip>>>;
25016
25016
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25017
25017
  name: z.ZodString;
25018
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25019
25018
  createdAt: z.ZodOptional<z.ZodString>;
25020
25019
  updatedAt: z.ZodOptional<z.ZodString>;
25020
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25021
25021
  enabled: z.ZodOptional<z.ZodBoolean>;
25022
25022
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25023
25023
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -25029,9 +25029,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25029
25029
  }, z.core.$strip>>>;
25030
25030
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25031
25031
  name: z.ZodString;
25032
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25033
25032
  createdAt: z.ZodOptional<z.ZodString>;
25034
25033
  updatedAt: z.ZodOptional<z.ZodString>;
25034
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25035
25035
  enabled: z.ZodOptional<z.ZodBoolean>;
25036
25036
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25037
25037
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25142,10 +25142,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
25142
25142
  in: {};
25143
25143
  }>;
25144
25144
  declare const ProjectInsertSchema: z.ZodObject<{
25145
- id: z.ZodString;
25146
25145
  name: z.ZodString;
25147
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25146
+ id: z.ZodString;
25148
25147
  tenantId: z.ZodString;
25148
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25149
25149
  models: z.ZodObject<{
25150
25150
  base: z.ZodObject<{
25151
25151
  model: z.ZodOptional<z.ZodString>;
@@ -25194,8 +25194,10 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25194
25194
  in: {};
25195
25195
  }>;
25196
25196
  declare const ProjectApiSelectSchema: z.ZodObject<{
25197
- id: z.ZodString;
25198
25197
  name: z.ZodString;
25198
+ id: z.ZodString;
25199
+ createdAt: z.ZodString;
25200
+ updatedAt: z.ZodString;
25199
25201
  description: z.ZodNullable<z.ZodString>;
25200
25202
  models: z.ZodNullable<z.ZodObject<{
25201
25203
  base: z.ZodObject<{
@@ -25215,15 +25217,13 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25215
25217
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25216
25218
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25217
25219
  }, z.core.$strip>>;
25218
- createdAt: z.ZodString;
25219
- updatedAt: z.ZodString;
25220
25220
  }, {
25221
25221
  out: {};
25222
25222
  in: {};
25223
25223
  }>;
25224
25224
  declare const ProjectApiInsertSchema: z.ZodObject<{
25225
- id: z.ZodString;
25226
25225
  name: z.ZodString;
25226
+ id: z.ZodString;
25227
25227
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25228
25228
  models: z.ZodObject<{
25229
25229
  base: z.ZodObject<{
@@ -25273,8 +25273,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
25273
25273
  in: {};
25274
25274
  }>;
25275
25275
  declare const FullProjectDefinitionSchema: z.ZodObject<{
25276
- id: z.ZodString;
25277
25276
  name: z.ZodString;
25277
+ id: z.ZodString;
25278
25278
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25279
25279
  models: z.ZodObject<{
25280
25280
  base: z.ZodObject<{
@@ -25296,17 +25296,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25296
25296
  }, z.core.$strip>>;
25297
25297
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25298
25298
  name: z.ZodString;
25299
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25300
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25301
25299
  createdAt: z.ZodOptional<z.ZodString>;
25302
25300
  updatedAt: z.ZodOptional<z.ZodString>;
25301
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25302
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25303
25303
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25304
25304
  id: z.ZodString;
25305
25305
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25306
- id: z.ZodString;
25307
25306
  name: z.ZodString;
25307
+ id: z.ZodString;
25308
+ createdAt: z.ZodOptional<z.ZodString>;
25309
+ updatedAt: z.ZodOptional<z.ZodString>;
25308
25310
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25309
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25310
25311
  models: z.ZodOptional<z.ZodObject<{
25311
25312
  base: z.ZodOptional<z.ZodObject<{
25312
25313
  model: z.ZodOptional<z.ZodString>;
@@ -25330,8 +25331,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25330
25331
  }, {
25331
25332
  stepCountIs?: number | undefined;
25332
25333
  }>>>>;
25333
- createdAt: z.ZodOptional<z.ZodString>;
25334
- updatedAt: z.ZodOptional<z.ZodString>;
25334
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25335
25335
  type: z.ZodLiteral<"internal">;
25336
25336
  canUse: z.ZodArray<z.ZodObject<{
25337
25337
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25440,9 +25440,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25440
25440
  }, z.core.$strip>>>;
25441
25441
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25442
25442
  name: z.ZodString;
25443
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25444
25443
  createdAt: z.ZodOptional<z.ZodString>;
25445
25444
  updatedAt: z.ZodOptional<z.ZodString>;
25445
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25446
25446
  enabled: z.ZodOptional<z.ZodBoolean>;
25447
25447
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25448
25448
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -25454,9 +25454,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25454
25454
  }, z.core.$strip>>>;
25455
25455
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25456
25456
  name: z.ZodString;
25457
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25458
25457
  createdAt: z.ZodOptional<z.ZodString>;
25459
25458
  updatedAt: z.ZodOptional<z.ZodString>;
25459
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25460
25460
  enabled: z.ZodOptional<z.ZodBoolean>;
25461
25461
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25462
25462
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25570,9 +25570,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25570
25570
  }, z.core.$strip>>>;
25571
25571
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25572
25572
  name: z.ZodString;
25573
- description: z.ZodString;
25574
- tenantId: z.ZodString;
25575
25573
  projectId: z.ZodString;
25574
+ tenantId: z.ZodString;
25575
+ description: z.ZodString;
25576
25576
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25577
25577
  content: z.ZodString;
25578
25578
  }>, z.core.$strip>>>;
@@ -25658,13 +25658,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25658
25658
  }, z.core.$strip>>>;
25659
25659
  }, z.core.$strip>>;
25660
25660
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25661
- id: z.ZodString;
25662
25661
  name: z.ZodString;
25662
+ id: z.ZodString;
25663
25663
  createdAt: z.ZodOptional<z.ZodString>;
25664
25664
  updatedAt: z.ZodOptional<z.ZodString>;
25665
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25666
25665
  credentialStoreId: z.ZodString;
25667
25666
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25667
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25668
25668
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25669
25669
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25670
25670
  type: z.ZodEnum<{
@@ -25680,10 +25680,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25680
25680
  in: {};
25681
25681
  }>;
25682
25682
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25683
- id: z.ZodString;
25684
25683
  name: z.ZodString;
25684
+ id: z.ZodString;
25685
+ createdAt: z.ZodString;
25686
+ updatedAt: z.ZodString;
25685
25687
  description: z.ZodNullable<z.ZodString>;
25686
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25687
25688
  models: z.ZodNullable<z.ZodType<{
25688
25689
  base?: {
25689
25690
  model?: string | undefined;
@@ -25746,8 +25747,7 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25746
25747
  }, {
25747
25748
  stepCountIs?: number | undefined;
25748
25749
  }>>>;
25749
- createdAt: z.ZodString;
25750
- updatedAt: z.ZodString;
25750
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25751
25751
  type: z.ZodLiteral<"internal">;
25752
25752
  canUse: z.ZodArray<z.ZodObject<{
25753
25753
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25773,10 +25773,11 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25773
25773
  }, z.core.$strip>]>>>;
25774
25774
  }, z.core.$strip>;
25775
25775
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25776
- id: z.ZodString;
25777
25776
  name: z.ZodString;
25777
+ id: z.ZodString;
25778
+ createdAt: z.ZodString;
25779
+ updatedAt: z.ZodString;
25778
25780
  description: z.ZodNullable<z.ZodString>;
25779
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25780
25781
  models: z.ZodNullable<z.ZodType<{
25781
25782
  base?: {
25782
25783
  model?: string | undefined;
@@ -25839,8 +25840,7 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25839
25840
  }, {
25840
25841
  stepCountIs?: number | undefined;
25841
25842
  }>>>;
25842
- createdAt: z.ZodString;
25843
- updatedAt: z.ZodString;
25843
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25844
25844
  type: z.ZodLiteral<"internal">;
25845
25845
  canUse: z.ZodArray<z.ZodObject<{
25846
25846
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25872,18 +25872,19 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25872
25872
  }, z.core.$strip>]>>>;
25873
25873
  }, z.core.$strip>;
25874
25874
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25875
- id: z.ZodString;
25876
25875
  name: z.ZodString;
25877
- description: z.ZodNullable<z.ZodString>;
25878
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
25876
+ id: z.ZodString;
25879
25877
  createdAt: z.ZodString;
25880
25878
  updatedAt: z.ZodString;
25879
+ description: z.ZodNullable<z.ZodString>;
25880
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
25881
25881
  contextConfigId: z.ZodNullable<z.ZodString>;
25882
25882
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25883
- id: z.ZodString;
25884
25883
  name: z.ZodString;
25884
+ id: z.ZodString;
25885
+ createdAt: z.ZodString;
25886
+ updatedAt: z.ZodString;
25885
25887
  description: z.ZodNullable<z.ZodString>;
25886
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25887
25888
  models: z.ZodNullable<z.ZodType<{
25888
25889
  base?: {
25889
25890
  model?: string | undefined;
@@ -25946,8 +25947,7 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25946
25947
  }, {
25947
25948
  stepCountIs?: number | undefined;
25948
25949
  }>>>;
25949
- createdAt: z.ZodString;
25950
- updatedAt: z.ZodString;
25950
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25951
25951
  type: z.ZodLiteral<"internal">;
25952
25952
  canUse: z.ZodArray<z.ZodObject<{
25953
25953
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26018,12 +26018,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26018
26018
  description: z.ZodString;
26019
26019
  }, z.core.$strip>>>;
26020
26020
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26021
- id: z.ZodString;
26022
26021
  name: z.ZodString;
26023
- description: z.ZodNullable<z.ZodString>;
26024
- agentId: z.ZodString;
26022
+ id: z.ZodString;
26025
26023
  createdAt: z.ZodString;
26026
26024
  updatedAt: z.ZodString;
26025
+ agentId: z.ZodString;
26026
+ description: z.ZodNullable<z.ZodString>;
26027
26027
  functionId: z.ZodString;
26028
26028
  relationshipId: z.ZodOptional<z.ZodString>;
26029
26029
  }, z.core.$strip>>>;
@@ -26058,10 +26058,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26058
26058
  }>, z.core.$strip>>>;
26059
26059
  contextConfig: z.ZodNullable<z.ZodObject<{
26060
26060
  id: z.ZodString;
26061
- createdAt: z.ZodString;
26062
- updatedAt: z.ZodString;
26063
26061
  headersSchema: z.ZodOptional<z.ZodAny>;
26064
26062
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26063
+ createdAt: z.ZodString;
26064
+ updatedAt: z.ZodString;
26065
26065
  }, z.core.$strip>>;
26066
26066
  statusUpdates: z.ZodNullable<z.ZodObject<{
26067
26067
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26098,12 +26098,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26098
26098
  prompt: z.ZodNullable<z.ZodString>;
26099
26099
  }, z.core.$strip>;
26100
26100
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26101
- id: z.ZodString;
26102
26101
  name: z.ZodString;
26103
- description: z.ZodNullable<z.ZodString>;
26104
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26102
+ id: z.ZodString;
26105
26103
  createdAt: z.ZodString;
26106
26104
  updatedAt: z.ZodString;
26105
+ description: z.ZodNullable<z.ZodString>;
26106
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26107
26107
  contextConfigId: z.ZodNullable<z.ZodString>;
26108
26108
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26109
26109
  createdAt: z.ZodString;
@@ -26151,12 +26151,12 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26151
26151
  description: z.ZodString;
26152
26152
  }, z.core.$strip>>>;
26153
26153
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26154
- id: z.ZodString;
26155
26154
  name: z.ZodString;
26156
- description: z.ZodNullable<z.ZodString>;
26157
- agentId: z.ZodString;
26155
+ id: z.ZodString;
26158
26156
  createdAt: z.ZodString;
26159
26157
  updatedAt: z.ZodString;
26158
+ agentId: z.ZodString;
26159
+ description: z.ZodNullable<z.ZodString>;
26160
26160
  functionId: z.ZodString;
26161
26161
  relationshipId: z.ZodOptional<z.ZodString>;
26162
26162
  }, z.core.$strip>>>;
@@ -26191,10 +26191,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26191
26191
  }>, z.core.$strip>>>;
26192
26192
  contextConfig: z.ZodNullable<z.ZodObject<{
26193
26193
  id: z.ZodString;
26194
- createdAt: z.ZodString;
26195
- updatedAt: z.ZodString;
26196
26194
  headersSchema: z.ZodOptional<z.ZodAny>;
26197
26195
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26196
+ createdAt: z.ZodString;
26197
+ updatedAt: z.ZodString;
26198
26198
  }, z.core.$strip>>;
26199
26199
  statusUpdates: z.ZodNullable<z.ZodObject<{
26200
26200
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26230,10 +26230,11 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26230
26230
  }, z.core.$strip>>;
26231
26231
  prompt: z.ZodNullable<z.ZodString>;
26232
26232
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26233
- id: z.ZodString;
26234
26233
  name: z.ZodString;
26234
+ id: z.ZodString;
26235
+ createdAt: z.ZodString;
26236
+ updatedAt: z.ZodString;
26235
26237
  description: z.ZodNullable<z.ZodString>;
26236
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26237
26238
  models: z.ZodNullable<z.ZodType<{
26238
26239
  base?: {
26239
26240
  model?: string | undefined;
@@ -26296,8 +26297,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26296
26297
  }, {
26297
26298
  stepCountIs?: number | undefined;
26298
26299
  }>>>;
26299
- createdAt: z.ZodString;
26300
- updatedAt: z.ZodString;
26300
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26301
26301
  type: z.ZodLiteral<"internal">;
26302
26302
  canUse: z.ZodArray<z.ZodObject<{
26303
26303
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26330,8 +26330,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26330
26330
  }, z.core.$strip>>;
26331
26331
  }, z.core.$strip>;
26332
26332
  declare const FullProjectSelectSchema: z.ZodObject<{
26333
- id: z.ZodString;
26334
26333
  name: z.ZodString;
26334
+ id: z.ZodString;
26335
+ createdAt: z.ZodString;
26336
+ updatedAt: z.ZodString;
26335
26337
  description: z.ZodNullable<z.ZodString>;
26336
26338
  models: z.ZodNullable<z.ZodObject<{
26337
26339
  base: z.ZodObject<{
@@ -26351,21 +26353,20 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26351
26353
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26352
26354
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26353
26355
  }, z.core.$strip>>;
26354
- createdAt: z.ZodString;
26355
- updatedAt: z.ZodString;
26356
26356
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26357
- id: z.ZodString;
26358
26357
  name: z.ZodString;
26359
- description: z.ZodNullable<z.ZodString>;
26360
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26358
+ id: z.ZodString;
26361
26359
  createdAt: z.ZodString;
26362
26360
  updatedAt: z.ZodString;
26361
+ description: z.ZodNullable<z.ZodString>;
26362
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26363
26363
  contextConfigId: z.ZodNullable<z.ZodString>;
26364
26364
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26365
- id: z.ZodString;
26366
26365
  name: z.ZodString;
26366
+ id: z.ZodString;
26367
+ createdAt: z.ZodString;
26368
+ updatedAt: z.ZodString;
26367
26369
  description: z.ZodNullable<z.ZodString>;
26368
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26369
26370
  models: z.ZodNullable<z.ZodType<{
26370
26371
  base?: {
26371
26372
  model?: string | undefined;
@@ -26428,8 +26429,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26428
26429
  }, {
26429
26430
  stepCountIs?: number | undefined;
26430
26431
  }>>>;
26431
- createdAt: z.ZodString;
26432
- updatedAt: z.ZodString;
26432
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26433
26433
  type: z.ZodLiteral<"internal">;
26434
26434
  canUse: z.ZodArray<z.ZodObject<{
26435
26435
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26500,12 +26500,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26500
26500
  description: z.ZodString;
26501
26501
  }, z.core.$strip>>>;
26502
26502
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26503
- id: z.ZodString;
26504
26503
  name: z.ZodString;
26505
- description: z.ZodNullable<z.ZodString>;
26506
- agentId: z.ZodString;
26504
+ id: z.ZodString;
26507
26505
  createdAt: z.ZodString;
26508
26506
  updatedAt: z.ZodString;
26507
+ agentId: z.ZodString;
26508
+ description: z.ZodNullable<z.ZodString>;
26509
26509
  functionId: z.ZodString;
26510
26510
  relationshipId: z.ZodOptional<z.ZodString>;
26511
26511
  }, z.core.$strip>>>;
@@ -26540,10 +26540,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26540
26540
  }>, z.core.$strip>>>;
26541
26541
  contextConfig: z.ZodNullable<z.ZodObject<{
26542
26542
  id: z.ZodString;
26543
- createdAt: z.ZodString;
26544
- updatedAt: z.ZodString;
26545
26543
  headersSchema: z.ZodOptional<z.ZodAny>;
26546
26544
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26545
+ createdAt: z.ZodString;
26546
+ updatedAt: z.ZodString;
26547
26547
  }, z.core.$strip>>;
26548
26548
  statusUpdates: z.ZodNullable<z.ZodObject<{
26549
26549
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26609,12 +26609,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26609
26609
  id: z.ZodString;
26610
26610
  }>, z.core.$strip>>;
26611
26611
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26612
- id: z.ZodString;
26613
26612
  name: z.ZodString;
26614
- description: z.ZodNullable<z.ZodString>;
26615
- agentId: z.ZodString;
26613
+ id: z.ZodString;
26616
26614
  createdAt: z.ZodString;
26617
26615
  updatedAt: z.ZodString;
26616
+ agentId: z.ZodString;
26617
+ description: z.ZodNullable<z.ZodString>;
26618
26618
  functionId: z.ZodString;
26619
26619
  relationshipId: z.ZodOptional<z.ZodString>;
26620
26620
  }, z.core.$strip>>>;
@@ -26757,13 +26757,13 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26757
26757
  }, z.core.$strip>>>;
26758
26758
  }, z.core.$strip>>;
26759
26759
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26760
- id: z.ZodString;
26761
26760
  name: z.ZodString;
26761
+ id: z.ZodString;
26762
26762
  createdAt: z.ZodString;
26763
26763
  updatedAt: z.ZodString;
26764
- toolId: z.ZodNullable<z.ZodString>;
26765
26764
  credentialStoreId: z.ZodString;
26766
26765
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26766
+ toolId: z.ZodNullable<z.ZodString>;
26767
26767
  userId: z.ZodNullable<z.ZodString>;
26768
26768
  createdBy: z.ZodNullable<z.ZodString>;
26769
26769
  type: z.ZodEnum<{
@@ -27352,8 +27352,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27352
27352
  in: {};
27353
27353
  }>;
27354
27354
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27355
- id: z.ZodString;
27356
27355
  name: z.ZodString;
27356
+ id: z.ZodString;
27357
+ createdAt: z.ZodString;
27358
+ updatedAt: z.ZodString;
27357
27359
  description: z.ZodNullable<z.ZodString>;
27358
27360
  models: z.ZodNullable<z.ZodObject<{
27359
27361
  base: z.ZodObject<{
@@ -27373,8 +27375,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27373
27375
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27374
27376
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27375
27377
  }, z.core.$strip>>;
27376
- createdAt: z.ZodString;
27377
- updatedAt: z.ZodString;
27378
27378
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27379
27379
  createdAt: z.ZodString;
27380
27380
  updatedAt: z.ZodString;
@@ -27405,12 +27405,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27405
27405
  id: z.ZodString;
27406
27406
  }>, z.core.$strip>>;
27407
27407
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27408
- id: z.ZodString;
27409
27408
  name: z.ZodString;
27410
- description: z.ZodNullable<z.ZodString>;
27411
- agentId: z.ZodString;
27409
+ id: z.ZodString;
27412
27410
  createdAt: z.ZodString;
27413
27411
  updatedAt: z.ZodString;
27412
+ agentId: z.ZodString;
27413
+ description: z.ZodNullable<z.ZodString>;
27414
27414
  functionId: z.ZodString;
27415
27415
  relationshipId: z.ZodOptional<z.ZodString>;
27416
27416
  }, z.core.$strip>>>;
@@ -27553,13 +27553,13 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27553
27553
  }, z.core.$strip>>>;
27554
27554
  }, z.core.$strip>>;
27555
27555
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27556
- id: z.ZodString;
27557
27556
  name: z.ZodString;
27557
+ id: z.ZodString;
27558
27558
  createdAt: z.ZodString;
27559
27559
  updatedAt: z.ZodString;
27560
- toolId: z.ZodNullable<z.ZodString>;
27561
27560
  credentialStoreId: z.ZodString;
27562
27561
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27562
+ toolId: z.ZodNullable<z.ZodString>;
27563
27563
  userId: z.ZodNullable<z.ZodString>;
27564
27564
  createdBy: z.ZodNullable<z.ZodString>;
27565
27565
  type: z.ZodEnum<{
@@ -28144,12 +28144,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28144
28144
  }>>>;
28145
28145
  }, z.core.$strip>>>;
28146
28146
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28147
- id: z.ZodString;
28148
28147
  name: z.ZodString;
28149
- description: z.ZodNullable<z.ZodString>;
28150
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28148
+ id: z.ZodString;
28151
28149
  createdAt: z.ZodString;
28152
28150
  updatedAt: z.ZodString;
28151
+ description: z.ZodNullable<z.ZodString>;
28152
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28153
28153
  contextConfigId: z.ZodNullable<z.ZodString>;
28154
28154
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28155
28155
  createdAt: z.ZodString;
@@ -28197,12 +28197,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28197
28197
  description: z.ZodString;
28198
28198
  }, z.core.$strip>>>;
28199
28199
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28200
- id: z.ZodString;
28201
28200
  name: z.ZodString;
28202
- description: z.ZodNullable<z.ZodString>;
28203
- agentId: z.ZodString;
28201
+ id: z.ZodString;
28204
28202
  createdAt: z.ZodString;
28205
28203
  updatedAt: z.ZodString;
28204
+ agentId: z.ZodString;
28205
+ description: z.ZodNullable<z.ZodString>;
28206
28206
  functionId: z.ZodString;
28207
28207
  relationshipId: z.ZodOptional<z.ZodString>;
28208
28208
  }, z.core.$strip>>>;
@@ -28237,10 +28237,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28237
28237
  }>, z.core.$strip>>>;
28238
28238
  contextConfig: z.ZodNullable<z.ZodObject<{
28239
28239
  id: z.ZodString;
28240
- createdAt: z.ZodString;
28241
- updatedAt: z.ZodString;
28242
28240
  headersSchema: z.ZodOptional<z.ZodAny>;
28243
28241
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
28242
+ createdAt: z.ZodString;
28243
+ updatedAt: z.ZodString;
28244
28244
  }, z.core.$strip>>;
28245
28245
  statusUpdates: z.ZodNullable<z.ZodObject<{
28246
28246
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -28276,10 +28276,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28276
28276
  }, z.core.$strip>>;
28277
28277
  prompt: z.ZodNullable<z.ZodString>;
28278
28278
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28279
- id: z.ZodString;
28280
28279
  name: z.ZodString;
28280
+ id: z.ZodString;
28281
+ createdAt: z.ZodString;
28282
+ updatedAt: z.ZodString;
28281
28283
  description: z.ZodNullable<z.ZodString>;
28282
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28283
28284
  models: z.ZodNullable<z.ZodType<{
28284
28285
  base?: {
28285
28286
  model?: string | undefined;
@@ -28342,8 +28343,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28342
28343
  }, {
28343
28344
  stepCountIs?: number | undefined;
28344
28345
  }>>>;
28345
- createdAt: z.ZodString;
28346
- updatedAt: z.ZodString;
28346
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28347
28347
  type: z.ZodLiteral<"internal">;
28348
28348
  canUse: z.ZodArray<z.ZodObject<{
28349
28349
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28381,8 +28381,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28381
28381
  }>;
28382
28382
  declare const ProjectResponse: z.ZodObject<{
28383
28383
  data: z.ZodObject<{
28384
- id: z.ZodString;
28385
28384
  name: z.ZodString;
28385
+ id: z.ZodString;
28386
+ createdAt: z.ZodString;
28387
+ updatedAt: z.ZodString;
28386
28388
  description: z.ZodNullable<z.ZodString>;
28387
28389
  models: z.ZodNullable<z.ZodObject<{
28388
28390
  base: z.ZodObject<{
@@ -28402,8 +28404,6 @@ declare const ProjectResponse: z.ZodObject<{
28402
28404
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28403
28405
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28404
28406
  }, z.core.$strip>>;
28405
- createdAt: z.ZodString;
28406
- updatedAt: z.ZodString;
28407
28407
  }, {
28408
28408
  out: {};
28409
28409
  in: {};
@@ -28634,19 +28634,19 @@ declare const ExternalAgentResponse: z.ZodObject<{
28634
28634
  declare const ContextConfigResponse: z.ZodObject<{
28635
28635
  data: z.ZodObject<{
28636
28636
  id: z.ZodString;
28637
- createdAt: z.ZodString;
28638
- updatedAt: z.ZodString;
28639
28637
  headersSchema: z.ZodOptional<z.ZodAny>;
28640
28638
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
28639
+ createdAt: z.ZodString;
28640
+ updatedAt: z.ZodString;
28641
28641
  }, z.core.$strip>;
28642
28642
  }, z.core.$strip>;
28643
28643
  declare const ApiKeyResponse: z.ZodObject<{
28644
28644
  data: z.ZodObject<{
28645
- id: z.ZodString;
28646
28645
  name: z.ZodNullable<z.ZodString>;
28647
- agentId: z.ZodString;
28646
+ id: z.ZodString;
28648
28647
  createdAt: z.ZodString;
28649
28648
  updatedAt: z.ZodString;
28649
+ agentId: z.ZodString;
28650
28650
  publicId: z.ZodString;
28651
28651
  keyPrefix: z.ZodString;
28652
28652
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -28658,13 +28658,13 @@ declare const ApiKeyResponse: z.ZodObject<{
28658
28658
  }, z.core.$strip>;
28659
28659
  declare const CredentialReferenceResponse: z.ZodObject<{
28660
28660
  data: z.ZodObject<{
28661
- id: z.ZodString;
28662
28661
  name: z.ZodString;
28662
+ id: z.ZodString;
28663
28663
  createdAt: z.ZodString;
28664
28664
  updatedAt: z.ZodString;
28665
- toolId: z.ZodNullable<z.ZodString>;
28666
28665
  credentialStoreId: z.ZodString;
28667
28666
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28667
+ toolId: z.ZodNullable<z.ZodString>;
28668
28668
  userId: z.ZodNullable<z.ZodString>;
28669
28669
  createdBy: z.ZodNullable<z.ZodString>;
28670
28670
  type: z.ZodEnum<{
@@ -29263,12 +29263,12 @@ declare const FunctionResponse: z.ZodObject<{
29263
29263
  }, z.core.$strip>;
29264
29264
  declare const FunctionToolResponse: z.ZodObject<{
29265
29265
  data: z.ZodObject<{
29266
- id: z.ZodString;
29267
29266
  name: z.ZodString;
29268
- description: z.ZodNullable<z.ZodString>;
29269
- agentId: z.ZodString;
29267
+ id: z.ZodString;
29270
29268
  createdAt: z.ZodString;
29271
29269
  updatedAt: z.ZodString;
29270
+ agentId: z.ZodString;
29271
+ description: z.ZodNullable<z.ZodString>;
29272
29272
  functionId: z.ZodString;
29273
29273
  relationshipId: z.ZodOptional<z.ZodString>;
29274
29274
  }, z.core.$strip>;
@@ -29500,8 +29500,10 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29500
29500
  }, z.core.$strip>;
29501
29501
  declare const ProjectListResponse: z.ZodObject<{
29502
29502
  data: z.ZodArray<z.ZodObject<{
29503
- id: z.ZodString;
29504
29503
  name: z.ZodString;
29504
+ id: z.ZodString;
29505
+ createdAt: z.ZodString;
29506
+ updatedAt: z.ZodString;
29505
29507
  description: z.ZodNullable<z.ZodString>;
29506
29508
  models: z.ZodNullable<z.ZodObject<{
29507
29509
  base: z.ZodObject<{
@@ -29521,8 +29523,6 @@ declare const ProjectListResponse: z.ZodObject<{
29521
29523
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29522
29524
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29523
29525
  }, z.core.$strip>>;
29524
- createdAt: z.ZodString;
29525
- updatedAt: z.ZodString;
29526
29526
  }, {
29527
29527
  out: {};
29528
29528
  in: {};
@@ -29777,10 +29777,10 @@ declare const ExternalAgentListResponse: z.ZodObject<{
29777
29777
  declare const ContextConfigListResponse: z.ZodObject<{
29778
29778
  data: z.ZodArray<z.ZodObject<{
29779
29779
  id: z.ZodString;
29780
- createdAt: z.ZodString;
29781
- updatedAt: z.ZodString;
29782
29780
  headersSchema: z.ZodOptional<z.ZodAny>;
29783
29781
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
29782
+ createdAt: z.ZodString;
29783
+ updatedAt: z.ZodString;
29784
29784
  }, z.core.$strip>>;
29785
29785
  pagination: z.ZodObject<{
29786
29786
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29791,11 +29791,11 @@ declare const ContextConfigListResponse: z.ZodObject<{
29791
29791
  }, z.core.$strip>;
29792
29792
  declare const ApiKeyListResponse: z.ZodObject<{
29793
29793
  data: z.ZodArray<z.ZodObject<{
29794
- id: z.ZodString;
29795
29794
  name: z.ZodNullable<z.ZodString>;
29796
- agentId: z.ZodString;
29795
+ id: z.ZodString;
29797
29796
  createdAt: z.ZodString;
29798
29797
  updatedAt: z.ZodString;
29798
+ agentId: z.ZodString;
29799
29799
  publicId: z.ZodString;
29800
29800
  keyPrefix: z.ZodString;
29801
29801
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -29813,13 +29813,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
29813
29813
  }, z.core.$strip>;
29814
29814
  declare const CredentialReferenceListResponse: z.ZodObject<{
29815
29815
  data: z.ZodArray<z.ZodObject<{
29816
- id: z.ZodString;
29817
29816
  name: z.ZodString;
29817
+ id: z.ZodString;
29818
29818
  createdAt: z.ZodString;
29819
29819
  updatedAt: z.ZodString;
29820
- toolId: z.ZodNullable<z.ZodString>;
29821
29820
  credentialStoreId: z.ZodString;
29822
29821
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29822
+ toolId: z.ZodNullable<z.ZodString>;
29823
29823
  userId: z.ZodNullable<z.ZodString>;
29824
29824
  createdBy: z.ZodNullable<z.ZodString>;
29825
29825
  type: z.ZodEnum<{
@@ -30430,12 +30430,12 @@ declare const FunctionListResponse: z.ZodObject<{
30430
30430
  }, z.core.$strip>;
30431
30431
  declare const FunctionToolListResponse: z.ZodObject<{
30432
30432
  data: z.ZodArray<z.ZodObject<{
30433
- id: z.ZodString;
30434
30433
  name: z.ZodString;
30435
- description: z.ZodNullable<z.ZodString>;
30436
- agentId: z.ZodString;
30434
+ id: z.ZodString;
30437
30435
  createdAt: z.ZodString;
30438
30436
  updatedAt: z.ZodString;
30437
+ agentId: z.ZodString;
30438
+ description: z.ZodNullable<z.ZodString>;
30439
30439
  functionId: z.ZodString;
30440
30440
  relationshipId: z.ZodOptional<z.ZodString>;
30441
30441
  }, z.core.$strip>>;
@@ -30747,11 +30747,11 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30747
30747
  }, z.core.$strip>;
30748
30748
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30749
30749
  data: z.ZodObject<{
30750
- id: z.ZodString;
30751
30750
  name: z.ZodString;
30752
- description: z.ZodNullable<z.ZodString>;
30751
+ id: z.ZodString;
30753
30752
  createdAt: z.ZodString;
30754
30753
  updatedAt: z.ZodString;
30754
+ description: z.ZodNullable<z.ZodString>;
30755
30755
  enabled: z.ZodBoolean;
30756
30756
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30757
30757
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -30808,11 +30808,11 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30808
30808
  }, z.core.$strip>;
30809
30809
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30810
30810
  data: z.ZodArray<z.ZodObject<{
30811
- id: z.ZodString;
30812
30811
  name: z.ZodString;
30813
- description: z.ZodNullable<z.ZodString>;
30812
+ id: z.ZodString;
30814
30813
  createdAt: z.ZodString;
30815
30814
  updatedAt: z.ZodString;
30815
+ description: z.ZodNullable<z.ZodString>;
30816
30816
  enabled: z.ZodBoolean;
30817
30817
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30818
30818
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -30874,11 +30874,11 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30874
30874
  }, z.core.$strip>;
30875
30875
  }, z.core.$strip>;
30876
30876
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30877
- id: z.ZodString;
30878
30877
  name: z.ZodString;
30879
- description: z.ZodNullable<z.ZodString>;
30878
+ id: z.ZodString;
30880
30879
  createdAt: z.ZodString;
30881
30880
  updatedAt: z.ZodString;
30881
+ description: z.ZodNullable<z.ZodString>;
30882
30882
  enabled: z.ZodBoolean;
30883
30883
  messageTemplate: z.ZodNullable<z.ZodString>;
30884
30884
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -30947,11 +30947,11 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
30947
30947
  }, z.core.$strip>;
30948
30948
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30949
30949
  data: z.ZodArray<z.ZodObject<{
30950
- id: z.ZodString;
30951
30950
  name: z.ZodString;
30952
- description: z.ZodNullable<z.ZodString>;
30951
+ id: z.ZodString;
30953
30952
  createdAt: z.ZodString;
30954
30953
  updatedAt: z.ZodString;
30954
+ description: z.ZodNullable<z.ZodString>;
30955
30955
  enabled: z.ZodBoolean;
30956
30956
  messageTemplate: z.ZodNullable<z.ZodString>;
30957
30957
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -31104,11 +31104,11 @@ declare const SubAgentSkillResponse: z.ZodObject<{
31104
31104
  }, z.core.$strip>;
31105
31105
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31106
31106
  data: z.ZodArray<z.ZodObject<{
31107
- id: z.ZodString;
31108
31107
  name: z.ZodString;
31109
- description: z.ZodString;
31108
+ id: z.ZodString;
31110
31109
  createdAt: z.ZodString;
31111
31110
  updatedAt: z.ZodString;
31111
+ description: z.ZodString;
31112
31112
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31113
31113
  content: z.ZodString;
31114
31114
  subAgentSkillId: z.ZodString;
@@ -31119,8 +31119,8 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31119
31119
  }, z.core.$strip>;
31120
31120
  declare const FullProjectDefinitionResponse: z.ZodObject<{
31121
31121
  data: z.ZodObject<{
31122
- id: z.ZodString;
31123
31122
  name: z.ZodString;
31123
+ id: z.ZodString;
31124
31124
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31125
31125
  models: z.ZodObject<{
31126
31126
  base: z.ZodObject<{
@@ -31142,17 +31142,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31142
31142
  }, z.core.$strip>>;
31143
31143
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31144
31144
  name: z.ZodString;
31145
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31146
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31147
31145
  createdAt: z.ZodOptional<z.ZodString>;
31148
31146
  updatedAt: z.ZodOptional<z.ZodString>;
31147
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31148
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31149
31149
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31150
31150
  id: z.ZodString;
31151
31151
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31152
- id: z.ZodString;
31153
31152
  name: z.ZodString;
31153
+ id: z.ZodString;
31154
+ createdAt: z.ZodOptional<z.ZodString>;
31155
+ updatedAt: z.ZodOptional<z.ZodString>;
31154
31156
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31155
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31156
31157
  models: z.ZodOptional<z.ZodObject<{
31157
31158
  base: z.ZodOptional<z.ZodObject<{
31158
31159
  model: z.ZodOptional<z.ZodString>;
@@ -31176,8 +31177,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31176
31177
  }, {
31177
31178
  stepCountIs?: number | undefined;
31178
31179
  }>>>>;
31179
- createdAt: z.ZodOptional<z.ZodString>;
31180
- updatedAt: z.ZodOptional<z.ZodString>;
31180
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31181
31181
  type: z.ZodLiteral<"internal">;
31182
31182
  canUse: z.ZodArray<z.ZodObject<{
31183
31183
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31286,9 +31286,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31286
31286
  }, z.core.$strip>>>;
31287
31287
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31288
31288
  name: z.ZodString;
31289
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31290
31289
  createdAt: z.ZodOptional<z.ZodString>;
31291
31290
  updatedAt: z.ZodOptional<z.ZodString>;
31291
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31292
31292
  enabled: z.ZodOptional<z.ZodBoolean>;
31293
31293
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31294
31294
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -31300,9 +31300,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31300
31300
  }, z.core.$strip>>>;
31301
31301
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31302
31302
  name: z.ZodString;
31303
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31304
31303
  createdAt: z.ZodOptional<z.ZodString>;
31305
31304
  updatedAt: z.ZodOptional<z.ZodString>;
31305
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31306
31306
  enabled: z.ZodOptional<z.ZodBoolean>;
31307
31307
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31308
31308
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31416,9 +31416,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31416
31416
  }, z.core.$strip>>>;
31417
31417
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31418
31418
  name: z.ZodString;
31419
- description: z.ZodString;
31420
- tenantId: z.ZodString;
31421
31419
  projectId: z.ZodString;
31420
+ tenantId: z.ZodString;
31421
+ description: z.ZodString;
31422
31422
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31423
31423
  content: z.ZodString;
31424
31424
  }>, z.core.$strip>>>;
@@ -31504,13 +31504,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31504
31504
  }, z.core.$strip>>>;
31505
31505
  }, z.core.$strip>>;
31506
31506
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31507
- id: z.ZodString;
31508
31507
  name: z.ZodString;
31508
+ id: z.ZodString;
31509
31509
  createdAt: z.ZodOptional<z.ZodString>;
31510
31510
  updatedAt: z.ZodOptional<z.ZodString>;
31511
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31512
31511
  credentialStoreId: z.ZodString;
31513
31512
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31513
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31514
31514
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31515
31515
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31516
31516
  type: z.ZodEnum<{
@@ -31528,8 +31528,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31528
31528
  }, z.core.$strip>;
31529
31529
  declare const FullProjectSelectResponse: z.ZodObject<{
31530
31530
  data: z.ZodObject<{
31531
- id: z.ZodString;
31532
31531
  name: z.ZodString;
31532
+ id: z.ZodString;
31533
+ createdAt: z.ZodString;
31534
+ updatedAt: z.ZodString;
31533
31535
  description: z.ZodNullable<z.ZodString>;
31534
31536
  models: z.ZodNullable<z.ZodObject<{
31535
31537
  base: z.ZodObject<{
@@ -31549,21 +31551,20 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31549
31551
  transferCountIs: z.ZodOptional<z.ZodNumber>;
31550
31552
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31551
31553
  }, z.core.$strip>>;
31552
- createdAt: z.ZodString;
31553
- updatedAt: z.ZodString;
31554
31554
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31555
- id: z.ZodString;
31556
31555
  name: z.ZodString;
31557
- description: z.ZodNullable<z.ZodString>;
31558
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
31556
+ id: z.ZodString;
31559
31557
  createdAt: z.ZodString;
31560
31558
  updatedAt: z.ZodString;
31559
+ description: z.ZodNullable<z.ZodString>;
31560
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
31561
31561
  contextConfigId: z.ZodNullable<z.ZodString>;
31562
31562
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31563
- id: z.ZodString;
31564
31563
  name: z.ZodString;
31564
+ id: z.ZodString;
31565
+ createdAt: z.ZodString;
31566
+ updatedAt: z.ZodString;
31565
31567
  description: z.ZodNullable<z.ZodString>;
31566
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31567
31568
  models: z.ZodNullable<z.ZodType<{
31568
31569
  base?: {
31569
31570
  model?: string | undefined;
@@ -31626,8 +31627,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31626
31627
  }, {
31627
31628
  stepCountIs?: number | undefined;
31628
31629
  }>>>;
31629
- createdAt: z.ZodString;
31630
- updatedAt: z.ZodString;
31630
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31631
31631
  type: z.ZodLiteral<"internal">;
31632
31632
  canUse: z.ZodArray<z.ZodObject<{
31633
31633
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31698,12 +31698,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31698
31698
  description: z.ZodString;
31699
31699
  }, z.core.$strip>>>;
31700
31700
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31701
- id: z.ZodString;
31702
31701
  name: z.ZodString;
31703
- description: z.ZodNullable<z.ZodString>;
31704
- agentId: z.ZodString;
31702
+ id: z.ZodString;
31705
31703
  createdAt: z.ZodString;
31706
31704
  updatedAt: z.ZodString;
31705
+ agentId: z.ZodString;
31706
+ description: z.ZodNullable<z.ZodString>;
31707
31707
  functionId: z.ZodString;
31708
31708
  relationshipId: z.ZodOptional<z.ZodString>;
31709
31709
  }, z.core.$strip>>>;
@@ -31738,10 +31738,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31738
31738
  }>, z.core.$strip>>>;
31739
31739
  contextConfig: z.ZodNullable<z.ZodObject<{
31740
31740
  id: z.ZodString;
31741
- createdAt: z.ZodString;
31742
- updatedAt: z.ZodString;
31743
31741
  headersSchema: z.ZodOptional<z.ZodAny>;
31744
31742
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
31743
+ createdAt: z.ZodString;
31744
+ updatedAt: z.ZodString;
31745
31745
  }, z.core.$strip>>;
31746
31746
  statusUpdates: z.ZodNullable<z.ZodObject<{
31747
31747
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -31807,12 +31807,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31807
31807
  id: z.ZodString;
31808
31808
  }>, z.core.$strip>>;
31809
31809
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31810
- id: z.ZodString;
31811
31810
  name: z.ZodString;
31812
- description: z.ZodNullable<z.ZodString>;
31813
- agentId: z.ZodString;
31811
+ id: z.ZodString;
31814
31812
  createdAt: z.ZodString;
31815
31813
  updatedAt: z.ZodString;
31814
+ agentId: z.ZodString;
31815
+ description: z.ZodNullable<z.ZodString>;
31816
31816
  functionId: z.ZodString;
31817
31817
  relationshipId: z.ZodOptional<z.ZodString>;
31818
31818
  }, z.core.$strip>>>;
@@ -31955,13 +31955,13 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31955
31955
  }, z.core.$strip>>>;
31956
31956
  }, z.core.$strip>>;
31957
31957
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31958
- id: z.ZodString;
31959
31958
  name: z.ZodString;
31959
+ id: z.ZodString;
31960
31960
  createdAt: z.ZodString;
31961
31961
  updatedAt: z.ZodString;
31962
- toolId: z.ZodNullable<z.ZodString>;
31963
31962
  credentialStoreId: z.ZodString;
31964
31963
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31964
+ toolId: z.ZodNullable<z.ZodString>;
31965
31965
  userId: z.ZodNullable<z.ZodString>;
31966
31966
  createdBy: z.ZodNullable<z.ZodString>;
31967
31967
  type: z.ZodEnum<{
@@ -32552,8 +32552,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32552
32552
  }, z.core.$strip>;
32553
32553
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32554
32554
  data: z.ZodObject<{
32555
- id: z.ZodString;
32556
32555
  name: z.ZodString;
32556
+ id: z.ZodString;
32557
+ createdAt: z.ZodString;
32558
+ updatedAt: z.ZodString;
32557
32559
  description: z.ZodNullable<z.ZodString>;
32558
32560
  models: z.ZodNullable<z.ZodObject<{
32559
32561
  base: z.ZodObject<{
@@ -32573,8 +32575,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32573
32575
  transferCountIs: z.ZodOptional<z.ZodNumber>;
32574
32576
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32575
32577
  }, z.core.$strip>>;
32576
- createdAt: z.ZodString;
32577
- updatedAt: z.ZodString;
32578
32578
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32579
32579
  createdAt: z.ZodString;
32580
32580
  updatedAt: z.ZodString;
@@ -32605,12 +32605,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32605
32605
  id: z.ZodString;
32606
32606
  }>, z.core.$strip>>;
32607
32607
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32608
- id: z.ZodString;
32609
32608
  name: z.ZodString;
32610
- description: z.ZodNullable<z.ZodString>;
32611
- agentId: z.ZodString;
32609
+ id: z.ZodString;
32612
32610
  createdAt: z.ZodString;
32613
32611
  updatedAt: z.ZodString;
32612
+ agentId: z.ZodString;
32613
+ description: z.ZodNullable<z.ZodString>;
32614
32614
  functionId: z.ZodString;
32615
32615
  relationshipId: z.ZodOptional<z.ZodString>;
32616
32616
  }, z.core.$strip>>>;
@@ -32753,13 +32753,13 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32753
32753
  }, z.core.$strip>>>;
32754
32754
  }, z.core.$strip>>;
32755
32755
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32756
- id: z.ZodString;
32757
32756
  name: z.ZodString;
32757
+ id: z.ZodString;
32758
32758
  createdAt: z.ZodString;
32759
32759
  updatedAt: z.ZodString;
32760
- toolId: z.ZodNullable<z.ZodString>;
32761
32760
  credentialStoreId: z.ZodString;
32762
32761
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32762
+ toolId: z.ZodNullable<z.ZodString>;
32763
32763
  userId: z.ZodNullable<z.ZodString>;
32764
32764
  createdBy: z.ZodNullable<z.ZodString>;
32765
32765
  type: z.ZodEnum<{
@@ -33344,12 +33344,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33344
33344
  }>>>;
33345
33345
  }, z.core.$strip>>>;
33346
33346
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33347
- id: z.ZodString;
33348
33347
  name: z.ZodString;
33349
- description: z.ZodNullable<z.ZodString>;
33350
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
33348
+ id: z.ZodString;
33351
33349
  createdAt: z.ZodString;
33352
33350
  updatedAt: z.ZodString;
33351
+ description: z.ZodNullable<z.ZodString>;
33352
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
33353
33353
  contextConfigId: z.ZodNullable<z.ZodString>;
33354
33354
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33355
33355
  createdAt: z.ZodString;
@@ -33397,12 +33397,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33397
33397
  description: z.ZodString;
33398
33398
  }, z.core.$strip>>>;
33399
33399
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33400
- id: z.ZodString;
33401
33400
  name: z.ZodString;
33402
- description: z.ZodNullable<z.ZodString>;
33403
- agentId: z.ZodString;
33401
+ id: z.ZodString;
33404
33402
  createdAt: z.ZodString;
33405
33403
  updatedAt: z.ZodString;
33404
+ agentId: z.ZodString;
33405
+ description: z.ZodNullable<z.ZodString>;
33406
33406
  functionId: z.ZodString;
33407
33407
  relationshipId: z.ZodOptional<z.ZodString>;
33408
33408
  }, z.core.$strip>>>;
@@ -33437,10 +33437,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33437
33437
  }>, z.core.$strip>>>;
33438
33438
  contextConfig: z.ZodNullable<z.ZodObject<{
33439
33439
  id: z.ZodString;
33440
- createdAt: z.ZodString;
33441
- updatedAt: z.ZodString;
33442
33440
  headersSchema: z.ZodOptional<z.ZodAny>;
33443
33441
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
33442
+ createdAt: z.ZodString;
33443
+ updatedAt: z.ZodString;
33444
33444
  }, z.core.$strip>>;
33445
33445
  statusUpdates: z.ZodNullable<z.ZodObject<{
33446
33446
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -33476,10 +33476,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33476
33476
  }, z.core.$strip>>;
33477
33477
  prompt: z.ZodNullable<z.ZodString>;
33478
33478
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33479
- id: z.ZodString;
33480
33479
  name: z.ZodString;
33480
+ id: z.ZodString;
33481
+ createdAt: z.ZodString;
33482
+ updatedAt: z.ZodString;
33481
33483
  description: z.ZodNullable<z.ZodString>;
33482
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33483
33484
  models: z.ZodNullable<z.ZodType<{
33484
33485
  base?: {
33485
33486
  model?: string | undefined;
@@ -33542,8 +33543,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33542
33543
  }, {
33543
33544
  stepCountIs?: number | undefined;
33544
33545
  }>>>;
33545
- createdAt: z.ZodString;
33546
- updatedAt: z.ZodString;
33546
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33547
33547
  type: z.ZodLiteral<"internal">;
33548
33548
  canUse: z.ZodArray<z.ZodObject<{
33549
33549
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33583,17 +33583,18 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33583
33583
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33584
33584
  data: z.ZodObject<{
33585
33585
  name: z.ZodString;
33586
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33587
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33588
33586
  createdAt: z.ZodOptional<z.ZodString>;
33589
33587
  updatedAt: z.ZodOptional<z.ZodString>;
33588
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33589
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33590
33590
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33591
33591
  id: z.ZodString;
33592
33592
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33593
- id: z.ZodString;
33594
33593
  name: z.ZodString;
33594
+ id: z.ZodString;
33595
+ createdAt: z.ZodOptional<z.ZodString>;
33596
+ updatedAt: z.ZodOptional<z.ZodString>;
33595
33597
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33596
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33597
33598
  models: z.ZodOptional<z.ZodObject<{
33598
33599
  base: z.ZodOptional<z.ZodObject<{
33599
33600
  model: z.ZodOptional<z.ZodString>;
@@ -33617,8 +33618,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33617
33618
  }, {
33618
33619
  stepCountIs?: number | undefined;
33619
33620
  }>>>>;
33620
- createdAt: z.ZodOptional<z.ZodString>;
33621
- updatedAt: z.ZodOptional<z.ZodString>;
33621
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33622
33622
  type: z.ZodLiteral<"internal">;
33623
33623
  canUse: z.ZodArray<z.ZodObject<{
33624
33624
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33727,9 +33727,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33727
33727
  }, z.core.$strip>>>;
33728
33728
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33729
33729
  name: z.ZodString;
33730
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33731
33730
  createdAt: z.ZodOptional<z.ZodString>;
33732
33731
  updatedAt: z.ZodOptional<z.ZodString>;
33732
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33733
33733
  enabled: z.ZodOptional<z.ZodBoolean>;
33734
33734
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33735
33735
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -33741,9 +33741,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33741
33741
  }, z.core.$strip>>>;
33742
33742
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33743
33743
  name: z.ZodString;
33744
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33745
33744
  createdAt: z.ZodOptional<z.ZodString>;
33746
33745
  updatedAt: z.ZodOptional<z.ZodString>;
33746
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33747
33747
  enabled: z.ZodOptional<z.ZodBoolean>;
33748
33748
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33749
33749
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33797,18 +33797,19 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33797
33797
  }, z.core.$strip>;
33798
33798
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33799
33799
  data: z.ZodObject<{
33800
- id: z.ZodString;
33801
33800
  name: z.ZodString;
33802
- description: z.ZodNullable<z.ZodString>;
33803
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
33801
+ id: z.ZodString;
33804
33802
  createdAt: z.ZodString;
33805
33803
  updatedAt: z.ZodString;
33804
+ description: z.ZodNullable<z.ZodString>;
33805
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
33806
33806
  contextConfigId: z.ZodNullable<z.ZodString>;
33807
33807
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33808
- id: z.ZodString;
33809
33808
  name: z.ZodString;
33809
+ id: z.ZodString;
33810
+ createdAt: z.ZodString;
33811
+ updatedAt: z.ZodString;
33810
33812
  description: z.ZodNullable<z.ZodString>;
33811
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33812
33813
  models: z.ZodNullable<z.ZodType<{
33813
33814
  base?: {
33814
33815
  model?: string | undefined;
@@ -33871,8 +33872,7 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33871
33872
  }, {
33872
33873
  stepCountIs?: number | undefined;
33873
33874
  }>>>;
33874
- createdAt: z.ZodString;
33875
- updatedAt: z.ZodString;
33875
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33876
33876
  type: z.ZodLiteral<"internal">;
33877
33877
  canUse: z.ZodArray<z.ZodObject<{
33878
33878
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33943,12 +33943,12 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33943
33943
  description: z.ZodString;
33944
33944
  }, z.core.$strip>>>;
33945
33945
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33946
- id: z.ZodString;
33947
33946
  name: z.ZodString;
33948
- description: z.ZodNullable<z.ZodString>;
33949
- agentId: z.ZodString;
33947
+ id: z.ZodString;
33950
33948
  createdAt: z.ZodString;
33951
33949
  updatedAt: z.ZodString;
33950
+ agentId: z.ZodString;
33951
+ description: z.ZodNullable<z.ZodString>;
33952
33952
  functionId: z.ZodString;
33953
33953
  relationshipId: z.ZodOptional<z.ZodString>;
33954
33954
  }, z.core.$strip>>>;
@@ -33983,10 +33983,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33983
33983
  }>, z.core.$strip>>>;
33984
33984
  contextConfig: z.ZodNullable<z.ZodObject<{
33985
33985
  id: z.ZodString;
33986
- createdAt: z.ZodString;
33987
- updatedAt: z.ZodString;
33988
33986
  headersSchema: z.ZodOptional<z.ZodAny>;
33989
33987
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
33988
+ createdAt: z.ZodString;
33989
+ updatedAt: z.ZodString;
33990
33990
  }, z.core.$strip>>;
33991
33991
  statusUpdates: z.ZodNullable<z.ZodObject<{
33992
33992
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -34656,8 +34656,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
34656
34656
  disconnected: "disconnected";
34657
34657
  }>;
34658
34658
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34659
- Organization: "Organization";
34660
34659
  User: "User";
34660
+ Organization: "Organization";
34661
34661
  }>;
34662
34662
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"select", {
34663
34663
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -34752,7 +34752,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
34752
34752
  tableName: "work_app_github_installations";
34753
34753
  dataType: "string";
34754
34754
  columnType: "PgVarchar";
34755
- data: "Organization" | "User";
34755
+ data: "User" | "Organization";
34756
34756
  driverParam: string;
34757
34757
  notNull: true;
34758
34758
  hasDefault: false;
@@ -34765,7 +34765,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
34765
34765
  generated: undefined;
34766
34766
  }, {}, {
34767
34767
  length: 20;
34768
- $type: "Organization" | "User";
34768
+ $type: "User" | "Organization";
34769
34769
  }>;
34770
34770
  status: drizzle_orm_pg_core0.PgColumn<{
34771
34771
  name: "status";
@@ -34918,7 +34918,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
34918
34918
  tableName: "work_app_github_installations";
34919
34919
  dataType: "string";
34920
34920
  columnType: "PgVarchar";
34921
- data: "Organization" | "User";
34921
+ data: "User" | "Organization";
34922
34922
  driverParam: string;
34923
34923
  notNull: true;
34924
34924
  hasDefault: false;
@@ -34931,7 +34931,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
34931
34931
  generated: undefined;
34932
34932
  }, {}, {
34933
34933
  length: 20;
34934
- $type: "Organization" | "User";
34934
+ $type: "User" | "Organization";
34935
34935
  }>;
34936
34936
  status: drizzle_orm_pg_core0.PgColumn<{
34937
34937
  name: "status";
@@ -34999,8 +34999,8 @@ declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
34999
34999
  accountLogin: z.ZodString;
35000
35000
  accountId: z.ZodString;
35001
35001
  accountType: z.ZodEnum<{
35002
- Organization: "Organization";
35003
35002
  User: "User";
35003
+ Organization: "Organization";
35004
35004
  }>;
35005
35005
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35006
35006
  pending: "pending";
@@ -35030,8 +35030,8 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35030
35030
  accountLogin: z.ZodString;
35031
35031
  accountId: z.ZodString;
35032
35032
  accountType: z.ZodEnum<{
35033
- Organization: "Organization";
35034
35033
  User: "User";
35034
+ Organization: "Organization";
35035
35035
  }>;
35036
35036
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35037
35037
  pending: "pending";