@inkeep/agents-core 0.53.2 → 0.53.3

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.
@@ -819,9 +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>>;
822
823
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
823
824
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
824
- id: z.ZodOptional<z.ZodOptional<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>>>>>>;
825
827
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
826
828
  base: z.ZodOptional<z.ZodObject<{
827
829
  model: z.ZodOptional<z.ZodString>;
@@ -847,8 +849,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
847
849
  }>>>>>>;
848
850
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
849
851
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
850
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<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_zod19.BuildSchema<"select", {
854
854
  createdAt: drizzle_orm_pg_core830.PgColumn<{
@@ -2482,7 +2482,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2482
2482
  }, {}, {
2483
2483
  length: 256;
2484
2484
  }>;
2485
- }, "name" | "description" | "tenantId" | "projectId" | "id" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates">, undefined>, undefined>;
2485
+ }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, 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>>;
@@ -2751,6 +2751,8 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2751
2751
  declare const AgentApiInsertSchema: z.ZodObject<{
2752
2752
  name: z.ZodString;
2753
2753
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2754
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2755
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2754
2756
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2755
2757
  base?: {
2756
2758
  model?: string | undefined;
@@ -2815,9 +2817,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2815
2817
  }>>>>;
2816
2818
  createdAt: z.ZodOptional<z.ZodString>;
2817
2819
  updatedAt: z.ZodOptional<z.ZodString>;
2818
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2819
2820
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2820
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2821
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2822
2822
  enabled?: boolean | undefined;
2823
2823
  numEvents?: number | undefined;
@@ -2878,9 +2878,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
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>>;
2881
2882
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2882
2883
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2883
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2884
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2885
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
2886
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2885
2887
  base?: {
2886
2888
  model?: string | undefined;
@@ -2945,9 +2947,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2945
2947
  }>>>>>>;
2946
2948
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2947
2949
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2948
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2949
2950
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2950
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2951
2951
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2952
2952
  enabled?: boolean | undefined;
2953
2953
  numEvents?: number | undefined;
@@ -3100,8 +3100,8 @@ declare const SignatureSourceSchema: z.ZodObject<{
3100
3100
  */
3101
3101
  declare const SignedComponentSchema: z.ZodObject<{
3102
3102
  source: z.ZodEnum<{
3103
- header: "header";
3104
3103
  literal: "literal";
3104
+ header: "header";
3105
3105
  body: "body";
3106
3106
  }>;
3107
3107
  key: z.ZodOptional<z.ZodString>;
@@ -3220,8 +3220,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3220
3220
  }, z.core.$strip>;
3221
3221
  signedComponents: z.ZodArray<z.ZodObject<{
3222
3222
  source: z.ZodEnum<{
3223
- header: "header";
3224
3223
  literal: "literal";
3224
+ header: "header";
3225
3225
  body: "body";
3226
3226
  }>;
3227
3227
  key: z.ZodOptional<z.ZodString>;
@@ -3316,8 +3316,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3316
3316
  }, z.core.$strip>;
3317
3317
  signedComponents: z.ZodArray<z.ZodObject<{
3318
3318
  source: z.ZodEnum<{
3319
- header: "header";
3320
3319
  literal: "literal";
3320
+ header: "header";
3321
3321
  body: "body";
3322
3322
  }>;
3323
3323
  key: z.ZodOptional<z.ZodString>;
@@ -3507,7 +3507,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3507
3507
  regex?: string | undefined;
3508
3508
  };
3509
3509
  signedComponents: {
3510
- source: "header" | "literal" | "body";
3510
+ source: "literal" | "header" | "body";
3511
3511
  required: boolean;
3512
3512
  key?: string | undefined;
3513
3513
  value?: string | undefined;
@@ -3544,7 +3544,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3544
3544
  regex?: string | undefined;
3545
3545
  };
3546
3546
  signedComponents: {
3547
- source: "header" | "literal" | "body";
3547
+ source: "literal" | "header" | "body";
3548
3548
  required: boolean;
3549
3549
  key?: string | undefined;
3550
3550
  value?: string | undefined;
@@ -3839,7 +3839,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3839
3839
  regex?: string | undefined;
3840
3840
  };
3841
3841
  signedComponents: {
3842
- source: "header" | "literal" | "body";
3842
+ source: "literal" | "header" | "body";
3843
3843
  required: boolean;
3844
3844
  key?: string | undefined;
3845
3845
  value?: string | undefined;
@@ -3876,7 +3876,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3876
3876
  regex?: string | undefined;
3877
3877
  };
3878
3878
  signedComponents: {
3879
- source: "header" | "literal" | "body";
3879
+ source: "literal" | "header" | "body";
3880
3880
  required: boolean;
3881
3881
  key?: string | undefined;
3882
3882
  value?: string | undefined;
@@ -4005,7 +4005,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4005
4005
  }, {}, {
4006
4006
  length: 256;
4007
4007
  }>;
4008
- }, "name" | "description" | "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "messageTemplate" | "outputTransform" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4008
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "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>>;
@@ -4065,8 +4065,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4065
4065
  }, z.core.$strip>;
4066
4066
  signedComponents: z.ZodArray<z.ZodObject<{
4067
4067
  source: z.ZodEnum<{
4068
- header: "header";
4069
4068
  literal: "literal";
4069
+ header: "header";
4070
4070
  body: "body";
4071
4071
  }>;
4072
4072
  key: z.ZodOptional<z.ZodString>;
@@ -4094,8 +4094,8 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4094
4094
  updatedAt: z.ZodOptional<z.ZodString>;
4095
4095
  enabled: z.ZodOptional<z.ZodBoolean>;
4096
4096
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4097
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4098
4097
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4098
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4099
4099
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4100
4100
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4101
4101
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -4122,15 +4122,15 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4122
4122
  in: {};
4123
4123
  }>;
4124
4124
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4125
+ id: z.ZodString;
4125
4126
  name: z.ZodString;
4126
4127
  description: z.ZodNullable<z.ZodString>;
4127
- id: z.ZodString;
4128
4128
  createdAt: z.ZodString;
4129
4129
  updatedAt: z.ZodString;
4130
4130
  enabled: z.ZodBoolean;
4131
4131
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4132
- messageTemplate: z.ZodNullable<z.ZodString>;
4133
4132
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4133
+ messageTemplate: z.ZodNullable<z.ZodString>;
4134
4134
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4135
4135
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4136
4136
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4157,8 +4157,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4157
4157
  }, z.core.$strip>;
4158
4158
  signedComponents: z.ZodArray<z.ZodObject<{
4159
4159
  source: z.ZodEnum<{
4160
- header: "header";
4161
4160
  literal: "literal";
4161
+ header: "header";
4162
4162
  body: "body";
4163
4163
  }>;
4164
4164
  key: z.ZodOptional<z.ZodString>;
@@ -4989,7 +4989,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4989
4989
  }, {}, {
4990
4990
  length: 256;
4991
4991
  }>;
4992
- }, "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "conversationId" | "status" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4992
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "conversationId" | "triggerId" | "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,8 +5021,8 @@ 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
- conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5025
5024
  status: z.ZodOptional<z.ZodString>;
5025
+ conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5026
5026
  triggerId: z.ZodString;
5027
5027
  requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5028
5028
  transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -5032,8 +5032,8 @@ 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
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5036
5035
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5036
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5037
5037
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5038
5038
  requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5039
5039
  transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
@@ -5674,7 +5674,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert",
5674
5674
  }, {}, {
5675
5675
  length: 256;
5676
5676
  }>;
5677
- }, "name" | "description" | "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "updatedAt" | "enabled" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "messageTemplate" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5677
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "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>>;
@@ -5722,11 +5722,11 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5722
5722
  createdAt: z.ZodOptional<z.ZodString>;
5723
5723
  updatedAt: z.ZodOptional<z.ZodString>;
5724
5724
  enabled: z.ZodOptional<z.ZodBoolean>;
5725
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5725
5726
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5726
5727
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5727
5728
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5728
5729
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5729
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5730
5730
  maxRetries: z.ZodOptional<z.ZodNumber>;
5731
5731
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5732
5732
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5738,11 +5738,11 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5738
5738
  createdAt: z.ZodOptional<z.ZodString>;
5739
5739
  updatedAt: z.ZodOptional<z.ZodString>;
5740
5740
  enabled: z.ZodOptional<z.ZodBoolean>;
5741
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5741
5742
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5742
5743
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5743
5744
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5744
5745
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5745
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5746
5746
  maxRetries: z.ZodOptional<z.ZodNumber>;
5747
5747
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5748
5748
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -6593,7 +6593,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
6593
6593
  }, {}, {
6594
6594
  length: 256;
6595
6595
  }>;
6596
- }, "name" | "description" | "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "updatedAt" | "workflowRunId" | "status" | "scheduledTriggerId">, undefined>, undefined>;
6596
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "scheduledTriggerId" | "workflowRunId">, 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>>;
@@ -6628,9 +6628,9 @@ declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6628
6628
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6629
6629
  createdAt: z.ZodOptional<z.ZodString>;
6630
6630
  updatedAt: z.ZodOptional<z.ZodString>;
6631
- workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6632
6631
  status: z.ZodOptional<z.ZodString>;
6633
6632
  scheduledTriggerId: z.ZodString;
6633
+ workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6634
6634
  id: z.ZodOptional<z.ZodString>;
6635
6635
  }, z.core.$strip>;
6636
6636
  declare const ScheduledWorkflowApiUpdateSchema: z.ZodObject<{
@@ -7200,7 +7200,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
7200
7200
  }, {}, {
7201
7201
  length: 256;
7202
7202
  }>;
7203
- }, "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "conversationIds" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7203
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "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>;
@@ -7244,13 +7244,13 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentSc
7244
7244
  }>, z.core.$strip>;
7245
7245
  declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7246
7246
  createdAt: z.ZodOptional<z.ZodString>;
7247
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7248
7247
  status: z.ZodString;
7249
7248
  scheduledTriggerId: z.ZodString;
7250
7249
  scheduledFor: z.ZodString;
7251
7250
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7252
7251
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7253
7252
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
7253
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7254
7254
  attemptNumber: z.ZodOptional<z.ZodInt>;
7255
7255
  idempotencyKey: z.ZodString;
7256
7256
  id: z.ZodString;
@@ -7258,13 +7258,13 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7258
7258
  declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7259
7259
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7260
7260
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7261
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7262
7261
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7263
7262
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7264
7263
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7265
7264
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7266
7265
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7267
7266
  resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
7267
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7268
7268
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
7269
7269
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7270
7270
  }, z.core.$strip>;
@@ -7803,13 +7803,12 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7803
7803
  }, z.core.$strip>;
7804
7804
  }>, z.core.$strip>;
7805
7805
  declare const TaskApiUpdateSchema: z.ZodObject<{
7806
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7807
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7808
7806
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7807
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7809
7808
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7810
7809
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7811
7810
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7812
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7811
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7813
7812
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7814
7813
  type: z.ZodEnum<{
7815
7814
  commit: "commit";
@@ -7820,7 +7819,8 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
7820
7819
  hash: z.ZodString;
7821
7820
  }, z.core.$strip>>>;
7822
7821
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7823
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7822
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7823
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7824
7824
  }, z.core.$strip>;
7825
7825
  declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
7826
7826
  createdAt: drizzle_orm_pg_core830.PgColumn<{
@@ -9368,15 +9368,14 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9368
9368
  }, z.core.$strip>;
9369
9369
  }>, z.core.$strip>;
9370
9370
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9371
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9372
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9373
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9374
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>>>>;
9375
9374
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9376
9375
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9377
9376
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9378
9377
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9379
- activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9378
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9380
9379
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9381
9380
  type: z.ZodEnum<{
9382
9381
  commit: "commit";
@@ -9386,6 +9385,7 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
9386
9385
  name: z.ZodString;
9387
9386
  hash: z.ZodString;
9388
9387
  }, z.core.$strip>>>;
9388
+ activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9389
9389
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9390
9390
  }, z.core.$strip>;
9391
9391
  declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -10913,7 +10913,6 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
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
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10917
10916
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
10918
10917
  type: z.ZodEnum<{
10919
10918
  commit: "commit";
@@ -10923,6 +10922,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10923
10922
  name: z.ZodString;
10924
10923
  hash: z.ZodString;
10925
10924
  }, z.core.$strip>>>;
10925
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10926
10926
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10927
10927
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10928
10928
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -11255,15 +11255,15 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
11255
11255
  createdAt: z.ZodOptional<z.ZodString>;
11256
11256
  updatedAt: z.ZodOptional<z.ZodString>;
11257
11257
  datasetId: z.ZodString;
11258
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11259
11258
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11259
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11260
11260
  }, z.core.$strip>;
11261
11261
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
11262
11262
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11263
11263
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11264
11264
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11265
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11266
11265
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11266
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11267
11267
  }, z.core.$strip>;
11268
11268
  declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11269
11269
  createdAt: drizzle_orm_pg_core830.PgColumn<{
@@ -11591,15 +11591,15 @@ declare const DatasetRunConversationRelationApiSelectSchema: z.ZodObject<OmitPro
11591
11591
  declare const DatasetRunConversationRelationApiInsertSchema: z.ZodObject<{
11592
11592
  createdAt: z.ZodOptional<z.ZodString>;
11593
11593
  updatedAt: z.ZodOptional<z.ZodString>;
11594
- datasetRunId: z.ZodString;
11595
11594
  conversationId: z.ZodString;
11595
+ datasetRunId: z.ZodString;
11596
11596
  datasetItemId: z.ZodString;
11597
11597
  }, z.core.$strip>;
11598
11598
  declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
11599
11599
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11600
11600
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11601
- datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11602
11601
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11602
+ datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11603
11603
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11604
11604
  }, z.core.$strip>;
11605
11605
  declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -12271,14 +12271,14 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
12271
12271
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
12272
12272
  createdAt: z.ZodOptional<z.ZodString>;
12273
12273
  updatedAt: z.ZodOptional<z.ZodString>;
12274
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12275
12274
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12275
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12276
12276
  }, z.core.$strip>;
12277
12277
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
12278
12278
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12279
12279
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12280
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12281
12280
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12281
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12282
12282
  }, z.core.$strip>;
12283
12283
  declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12284
12284
  createdAt: drizzle_orm_pg_core830.PgColumn<{
@@ -12624,9 +12624,9 @@ declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
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;
12627
12628
  name: z.ZodString;
12628
12629
  description: z.ZodNullable<z.ZodString>;
12629
- id: z.ZodString;
12630
12630
  createdAt: z.ZodString;
12631
12631
  updatedAt: z.ZodString;
12632
12632
  isActive: z.ZodBoolean;
@@ -13665,14 +13665,14 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
13665
13665
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
13666
13666
  createdAt: z.ZodOptional<z.ZodString>;
13667
13667
  updatedAt: z.ZodOptional<z.ZodString>;
13668
- evaluationRunConfigId: z.ZodString;
13669
13668
  evaluationSuiteConfigId: z.ZodString;
13669
+ evaluationRunConfigId: z.ZodString;
13670
13670
  }, z.core.$strip>;
13671
13671
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
13672
13672
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13673
13673
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13674
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13675
13674
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13675
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13676
13676
  }, z.core.$strip>;
13677
13677
  declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13678
13678
  createdAt: drizzle_orm_pg_core830.PgColumn<{
@@ -13971,14 +13971,14 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
13971
13971
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
13972
13972
  createdAt: z.ZodOptional<z.ZodString>;
13973
13973
  updatedAt: z.ZodOptional<z.ZodString>;
13974
- evaluationJobConfigId: z.ZodString;
13975
13974
  evaluatorId: z.ZodString;
13975
+ evaluationJobConfigId: z.ZodString;
13976
13976
  }, z.core.$strip>;
13977
13977
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
13978
13978
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13979
13979
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13980
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13981
13980
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13981
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13982
13982
  }, z.core.$strip>;
13983
13983
  declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13984
13984
  createdAt: drizzle_orm_pg_core830.PgColumn<{
@@ -14277,14 +14277,14 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
14277
14277
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
14278
14278
  createdAt: z.ZodOptional<z.ZodString>;
14279
14279
  updatedAt: z.ZodOptional<z.ZodString>;
14280
- evaluatorId: z.ZodString;
14281
14280
  evaluationSuiteConfigId: z.ZodString;
14281
+ evaluatorId: z.ZodString;
14282
14282
  }, z.core.$strip>;
14283
14283
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14284
14284
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14285
14285
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14286
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14287
14286
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14287
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14288
14288
  }, z.core.$strip>;
14289
14289
  declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
14290
14290
  createdAt: drizzle_orm_pg_core830.PgColumn<{
@@ -14787,6 +14787,7 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14787
14787
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14788
14788
  name: z.ZodString;
14789
14789
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14790
+ prompt: z.ZodString;
14790
14791
  model: z.ZodType<{
14791
14792
  model?: string | undefined;
14792
14793
  providerOptions?: Record<string, any> | undefined;
@@ -14803,12 +14804,12 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14803
14804
  createdAt: z.ZodOptional<z.ZodString>;
14804
14805
  updatedAt: z.ZodOptional<z.ZodString>;
14805
14806
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14806
- prompt: z.ZodString;
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
14811
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14812
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14812
14813
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14813
14814
  model?: string | undefined;
14814
14815
  providerOptions?: Record<string, any> | undefined;
@@ -14825,7 +14826,6 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14825
14826
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14826
14827
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14827
14828
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14828
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
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>;
14831
14831
  declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -15722,8 +15722,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15722
15722
  }>>>>>>;
15723
15723
  }, z.core.$strip>;
15724
15724
  declare const DatasetRunItemSchema: z.ZodObject<{
15725
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15726
15725
  id: z.ZodOptional<z.ZodString>;
15726
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15727
15727
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15728
15728
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15729
15729
  prompt: string;
@@ -15771,8 +15771,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
15771
15771
  declare const TriggerDatasetRunSchema: z.ZodObject<{
15772
15772
  datasetRunId: z.ZodString;
15773
15773
  items: z.ZodArray<z.ZodObject<{
15774
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15775
15774
  id: z.ZodOptional<z.ZodString>;
15775
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15776
15776
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15777
15777
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15778
15778
  prompt: string;
@@ -17659,7 +17659,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
17659
17659
  }, {}, {
17660
17660
  length: 256;
17661
17661
  }>;
17662
- }, "tenantId" | "projectId" | "agentId" | "subAgentId" | "id" | "createdAt" | "dataComponentId">, undefined>, undefined>;
17662
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "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>>;
@@ -17690,9 +17690,9 @@ declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
17690
17690
  in: {};
17691
17691
  }>;
17692
17692
  declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
17693
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17694
17693
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17695
17694
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17695
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17696
17696
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17697
17697
  }, z.core.$strip>;
17698
17698
  declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -18256,9 +18256,9 @@ 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>>;
18259
18260
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18260
18261
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18261
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18262
18262
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18263
18263
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18264
18264
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -18611,9 +18611,9 @@ declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
18611
18611
  in: {};
18612
18612
  }>;
18613
18613
  declare const SubAgentArtifactComponentApiUpdateSchema: z.ZodObject<{
18614
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18615
18614
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18616
18615
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18616
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18617
18617
  artifactComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18618
18618
  }, z.core.$strip>;
18619
18619
  declare const SubAgentSkillSelectSchema: z.ZodObject<{
@@ -18675,27 +18675,27 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18675
18675
  }>, z.core.$strip>;
18676
18676
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18677
18677
  agentId: z.ZodString;
18678
- subAgentId: z.ZodString;
18679
18678
  index: z.ZodInt;
18680
18679
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18680
+ subAgentId: z.ZodString;
18681
18681
  skillId: z.ZodString;
18682
18682
  }, {
18683
18683
  out: {};
18684
18684
  in: {};
18685
18685
  }>;
18686
18686
  declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18687
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18688
18687
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18689
18688
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18690
18689
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18691
18690
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18692
18691
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18692
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18693
18693
  skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18694
18694
  }, z.core.$strip>;
18695
18695
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18696
+ id: z.ZodString;
18696
18697
  name: z.ZodString;
18697
18698
  description: z.ZodString;
18698
- id: z.ZodString;
18699
18699
  createdAt: z.ZodString;
18700
18700
  updatedAt: z.ZodString;
18701
18701
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -18770,18 +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>>;
18773
18774
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18774
18775
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18775
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18776
18776
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18777
18777
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18778
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18779
18778
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18779
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18780
18780
  }, z.core.$strip>;
18781
18781
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18782
+ id: z.ZodString;
18782
18783
  name: z.ZodString;
18783
18784
  description: z.ZodNullable<z.ZodString>;
18784
- id: z.ZodString;
18785
+ prompt: z.ZodNullable<z.ZodString>;
18786
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18785
18787
  models: z.ZodNullable<z.ZodType<{
18786
18788
  base?: {
18787
18789
  model?: string | undefined;
@@ -18846,17 +18848,15 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18846
18848
  }>>>;
18847
18849
  createdAt: z.ZodString;
18848
18850
  updatedAt: z.ZodString;
18849
- prompt: z.ZodNullable<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;
18853
18854
  name: z.ZodString;
18854
18855
  description: z.ZodNullable<z.ZodString>;
18855
- id: z.ZodString;
18856
18856
  createdAt: z.ZodString;
18857
18857
  updatedAt: z.ZodString;
18858
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18859
18858
  baseUrl: z.ZodString;
18859
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18860
18860
  type: z.ZodLiteral<"external">;
18861
18861
  }, z.core.$strip>], "type">;
18862
18862
  declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -19323,22 +19323,22 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
19323
19323
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19324
19324
  agentId: z.ZodOptional<z.ZodString>;
19325
19325
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19326
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19327
19326
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19327
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19328
19328
  }, {
19329
19329
  out: {};
19330
19330
  in: {};
19331
19331
  }>;
19332
19332
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19333
+ id: z.ZodString;
19333
19334
  name: z.ZodNullable<z.ZodString>;
19334
19335
  agentId: z.ZodString;
19335
- id: z.ZodString;
19336
19336
  createdAt: z.ZodString;
19337
19337
  updatedAt: z.ZodString;
19338
- expiresAt: z.ZodNullable<z.ZodString>;
19338
+ lastUsedAt: z.ZodNullable<z.ZodString>;
19339
19339
  publicId: z.ZodString;
19340
19340
  keyPrefix: z.ZodString;
19341
- lastUsedAt: z.ZodNullable<z.ZodString>;
19341
+ expiresAt: z.ZodNullable<z.ZodString>;
19342
19342
  }, {
19343
19343
  out: {};
19344
19344
  in: {};
@@ -19346,15 +19346,15 @@ 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;
19349
19350
  name: z.ZodNullable<z.ZodString>;
19350
19351
  agentId: z.ZodString;
19351
- id: z.ZodString;
19352
19352
  createdAt: z.ZodString;
19353
19353
  updatedAt: z.ZodString;
19354
- expiresAt: z.ZodNullable<z.ZodString>;
19354
+ lastUsedAt: z.ZodNullable<z.ZodString>;
19355
19355
  publicId: z.ZodString;
19356
19356
  keyPrefix: z.ZodString;
19357
- lastUsedAt: z.ZodNullable<z.ZodString>;
19357
+ expiresAt: z.ZodNullable<z.ZodString>;
19358
19358
  }, {
19359
19359
  out: {};
19360
19360
  in: {};
@@ -19376,8 +19376,8 @@ declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19376
19376
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19377
19377
  agentId: z.ZodOptional<z.ZodString>;
19378
19378
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19379
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19380
19379
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19380
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19381
19381
  }, {
19382
19382
  out: {};
19383
19383
  in: {};
@@ -19868,15 +19868,15 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
19868
19868
  in: {};
19869
19869
  }>;
19870
19870
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19871
- name: z.ZodString;
19872
- userId: z.ZodNullable<z.ZodString>;
19873
19871
  id: z.ZodString;
19872
+ name: z.ZodString;
19874
19873
  createdAt: z.ZodString;
19875
19874
  updatedAt: z.ZodString;
19876
19875
  toolId: z.ZodNullable<z.ZodString>;
19876
+ userId: z.ZodNullable<z.ZodString>;
19877
+ createdBy: z.ZodNullable<z.ZodString>;
19877
19878
  credentialStoreId: z.ZodString;
19878
19879
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
19879
- createdBy: z.ZodNullable<z.ZodString>;
19880
19880
  type: z.ZodEnum<{
19881
19881
  readonly memory: "memory";
19882
19882
  readonly keychain: "keychain";
@@ -20459,15 +20459,15 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20459
20459
  }>>>;
20460
20460
  }, z.core.$strip>;
20461
20461
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20462
- name: z.ZodString;
20463
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20464
20462
  id: z.ZodString;
20463
+ name: z.ZodString;
20465
20464
  createdAt: z.ZodOptional<z.ZodString>;
20466
20465
  updatedAt: z.ZodOptional<z.ZodString>;
20467
20466
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20467
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20468
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20468
20469
  credentialStoreId: z.ZodString;
20469
20470
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20470
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20471
20471
  type: z.ZodEnum<{
20472
20472
  readonly memory: "memory";
20473
20473
  readonly keychain: "keychain";
@@ -20475,15 +20475,15 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20475
20475
  }>;
20476
20476
  }, z.core.$strip>;
20477
20477
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20478
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20479
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20480
20478
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20479
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20481
20480
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20482
20481
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20483
20482
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20483
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20484
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20484
20485
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20485
20486
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20486
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20487
20487
  type: z.ZodOptional<z.ZodEnum<{
20488
20488
  readonly memory: "memory";
20489
20489
  readonly keychain: "keychain";
@@ -20606,22 +20606,22 @@ declare const McpToolSchema: z.ZodObject<{
20606
20606
  in: {};
20607
20607
  }>;
20608
20608
  declare const MCPToolConfigSchema: z.ZodObject<{
20609
- name: z.ZodString;
20610
20609
  id: z.ZodString;
20610
+ name: 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
+ createdBy: z.ZodOptional<z.ZodString>;
20612
20613
  credentialScope: z.ZodOptional<z.ZodString>;
20613
20614
  imageUrl: z.ZodOptional<z.ZodString>;
20614
20615
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
20615
20616
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20616
20617
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
20617
- createdBy: z.ZodOptional<z.ZodString>;
20618
+ expiresAt: z.ZodOptional<z.ZodString>;
20618
20619
  relationshipId: z.ZodOptional<z.ZodString>;
20619
20620
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
20620
20621
  name: z.ZodString;
20621
20622
  description: z.ZodOptional<z.ZodString>;
20622
20623
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20623
20624
  }, z.core.$strip>>>;
20624
- expiresAt: z.ZodOptional<z.ZodString>;
20625
20625
  tenantId: z.ZodOptional<z.ZodString>;
20626
20626
  projectId: z.ZodOptional<z.ZodString>;
20627
20627
  description: z.ZodOptional<z.ZodString>;
@@ -20642,15 +20642,15 @@ 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
- name: z.ZodString;
20646
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20647
20645
  id: z.ZodString;
20646
+ name: z.ZodString;
20648
20647
  createdAt: z.ZodOptional<z.ZodString>;
20649
20648
  updatedAt: z.ZodOptional<z.ZodString>;
20650
20649
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20650
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20651
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20651
20652
  credentialStoreId: z.ZodString;
20652
20653
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20653
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20654
20654
  type: z.ZodEnum<{
20655
20655
  readonly memory: "memory";
20656
20656
  readonly keychain: "keychain";
@@ -20785,9 +20785,9 @@ 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>>;
20788
20789
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20789
20790
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20790
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20791
20791
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20792
20792
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<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>>>>>>>;
@@ -21186,10 +21186,10 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21186
21186
  in: {};
21187
21187
  }>;
21188
21188
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21189
+ id: z.ZodString;
21189
21190
  name: z.ZodString;
21190
21191
  description: z.ZodNullable<z.ZodString>;
21191
21192
  agentId: z.ZodString;
21192
- id: z.ZodString;
21193
21193
  createdAt: z.ZodString;
21194
21194
  updatedAt: z.ZodString;
21195
21195
  functionId: z.ZodString;
@@ -21207,10 +21207,10 @@ 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>>;
21210
21211
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21211
21212
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21212
21213
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21213
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21214
21214
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21215
21215
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21216
21216
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -21586,8 +21586,8 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21586
21586
  id: z.ZodString;
21587
21587
  }>, z.core.$strip>;
21588
21588
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21589
- subAgentId: z.ZodString;
21590
21589
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21590
+ subAgentId: z.ZodString;
21591
21591
  functionToolId: z.ZodString;
21592
21592
  }, {
21593
21593
  out: {};
@@ -21980,15 +21980,15 @@ 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
- name: z.ZodString;
21984
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21985
21983
  id: z.ZodString;
21984
+ name: z.ZodString;
21986
21985
  createdAt: z.ZodOptional<z.ZodString>;
21987
21986
  updatedAt: z.ZodOptional<z.ZodString>;
21988
21987
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21988
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21989
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21989
21990
  credentialStoreId: z.ZodString;
21990
21991
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21991
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21992
21992
  type: z.ZodEnum<{
21993
21993
  readonly memory: "memory";
21994
21994
  readonly keychain: "keychain";
@@ -22010,10 +22010,10 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
22010
22010
  in: {};
22011
22011
  }>;
22012
22012
  declare const ContextConfigInsertSchema: z.ZodObject<{
22013
+ id: z.ZodOptional<z.ZodString>;
22013
22014
  tenantId: z.ZodString;
22014
22015
  projectId: z.ZodString;
22015
22016
  agentId: z.ZodString;
22016
- id: z.ZodOptional<z.ZodString>;
22017
22017
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22018
22018
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22019
22019
  }, {
@@ -22021,10 +22021,10 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
22021
22021
  in: {};
22022
22022
  }>;
22023
22023
  declare const ContextConfigUpdateSchema: z.ZodObject<{
22024
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22024
22025
  tenantId: z.ZodOptional<z.ZodString>;
22025
22026
  projectId: z.ZodOptional<z.ZodString>;
22026
22027
  agentId: z.ZodOptional<z.ZodString>;
22027
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22028
22028
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22029
22029
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22030
22030
  }, {
@@ -22534,7 +22534,6 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<OmitAgentScope<{
22534
22534
  }, z.core.$strip>>>>;
22535
22535
  }>, z.core.$strip>;
22536
22536
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22537
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22538
22537
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22539
22538
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22540
22539
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -22543,6 +22542,7 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22543
22542
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22544
22543
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22545
22544
  }, 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_zod19.BuildSchema<"select", {
@@ -22928,12 +22928,12 @@ declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
22928
22928
  externalAgentId: z.ZodString;
22929
22929
  }, z.core.$strip>;
22930
22930
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
22931
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22932
22931
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22933
22932
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22934
22933
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22935
22934
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22936
22935
  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_zod19.BuildSchema<"select", {
22939
22939
  createdAt: drizzle_orm_pg_core830.PgColumn<{
@@ -23318,11 +23318,11 @@ declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
23318
23318
  targetAgentId: z.ZodString;
23319
23319
  }, z.core.$strip>;
23320
23320
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23321
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23322
23321
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23323
23322
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23324
23323
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23325
23324
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23325
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23326
23326
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23327
23327
  }, z.core.$strip>;
23328
23328
  declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -24666,7 +24666,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24666
24666
  }, {}, {
24667
24667
  length: 256;
24668
24668
  }>;
24669
- }, "type" | "name" | "description" | "tenantId" | "projectId" | "id" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24669
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "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,10 +24731,10 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24731
24731
  id: z.ZodString;
24732
24732
  }>, z.core.$strip>;
24733
24733
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24734
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24734
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24735
24735
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24736
24736
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24737
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24737
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24738
24738
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24739
24739
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24740
24740
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
@@ -24811,9 +24811,10 @@ 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;
24814
24815
  name: z.ZodString;
24815
24816
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24816
- id: z.ZodString;
24817
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24817
24818
  models: z.ZodOptional<z.ZodObject<{
24818
24819
  base: z.ZodOptional<z.ZodObject<{
24819
24820
  model: z.ZodOptional<z.ZodString>;
@@ -24830,7 +24831,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24830
24831
  }, z.core.$strip>>;
24831
24832
  createdAt: z.ZodOptional<z.ZodString>;
24832
24833
  updatedAt: z.ZodOptional<z.ZodString>;
24833
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24834
24834
  type: z.ZodLiteral<"internal">;
24835
24835
  canUse: z.ZodArray<z.ZodObject<{
24836
24836
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24866,15 +24866,16 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24866
24866
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24867
24867
  name: z.ZodString;
24868
24868
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24869
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24869
24870
  createdAt: z.ZodOptional<z.ZodString>;
24870
24871
  updatedAt: z.ZodOptional<z.ZodString>;
24871
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24872
24872
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24873
24873
  id: z.ZodString;
24874
24874
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24875
+ id: z.ZodString;
24875
24876
  name: z.ZodString;
24876
24877
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24877
- id: z.ZodString;
24878
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24878
24879
  models: z.ZodOptional<z.ZodObject<{
24879
24880
  base: z.ZodOptional<z.ZodObject<{
24880
24881
  model: z.ZodOptional<z.ZodString>;
@@ -24891,7 +24892,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24891
24892
  }, z.core.$strip>>;
24892
24893
  createdAt: z.ZodOptional<z.ZodString>;
24893
24894
  updatedAt: z.ZodOptional<z.ZodString>;
24894
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24895
24895
  type: z.ZodLiteral<"internal">;
24896
24896
  canUse: z.ZodArray<z.ZodObject<{
24897
24897
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25008,8 +25008,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25008
25008
  updatedAt: z.ZodOptional<z.ZodString>;
25009
25009
  enabled: z.ZodOptional<z.ZodBoolean>;
25010
25010
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25011
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25012
25011
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25012
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25013
25013
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25014
25014
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25015
25015
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -25021,11 +25021,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25021
25021
  createdAt: z.ZodOptional<z.ZodString>;
25022
25022
  updatedAt: z.ZodOptional<z.ZodString>;
25023
25023
  enabled: z.ZodOptional<z.ZodBoolean>;
25024
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25024
25025
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25025
25026
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25026
25027
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25027
25028
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25028
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25029
25029
  maxRetries: z.ZodOptional<z.ZodNumber>;
25030
25030
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25031
25031
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25130,10 +25130,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
25130
25130
  in: {};
25131
25131
  }>;
25132
25132
  declare const ProjectInsertSchema: z.ZodObject<{
25133
+ id: z.ZodString;
25133
25134
  name: z.ZodString;
25134
25135
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25135
25136
  tenantId: z.ZodString;
25136
- id: z.ZodString;
25137
25137
  models: z.ZodObject<{
25138
25138
  base: z.ZodObject<{
25139
25139
  model: z.ZodOptional<z.ZodString>;
@@ -25182,9 +25182,9 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25182
25182
  in: {};
25183
25183
  }>;
25184
25184
  declare const ProjectApiSelectSchema: z.ZodObject<{
25185
+ id: z.ZodString;
25185
25186
  name: z.ZodString;
25186
25187
  description: z.ZodNullable<z.ZodString>;
25187
- id: z.ZodString;
25188
25188
  models: z.ZodNullable<z.ZodObject<{
25189
25189
  base: z.ZodObject<{
25190
25190
  model: z.ZodOptional<z.ZodString>;
@@ -25210,9 +25210,9 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25210
25210
  in: {};
25211
25211
  }>;
25212
25212
  declare const ProjectApiInsertSchema: z.ZodObject<{
25213
+ id: z.ZodString;
25213
25214
  name: z.ZodString;
25214
25215
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25215
- id: z.ZodString;
25216
25216
  models: z.ZodObject<{
25217
25217
  base: z.ZodObject<{
25218
25218
  model: z.ZodOptional<z.ZodString>;
@@ -25261,9 +25261,9 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
25261
25261
  in: {};
25262
25262
  }>;
25263
25263
  declare const FullProjectDefinitionSchema: z.ZodObject<{
25264
+ id: z.ZodString;
25264
25265
  name: z.ZodString;
25265
25266
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25266
- id: z.ZodString;
25267
25267
  models: z.ZodObject<{
25268
25268
  base: z.ZodObject<{
25269
25269
  model: z.ZodOptional<z.ZodString>;
@@ -25285,15 +25285,16 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25285
25285
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25286
25286
  name: z.ZodString;
25287
25287
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25288
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25288
25289
  createdAt: z.ZodOptional<z.ZodString>;
25289
25290
  updatedAt: z.ZodOptional<z.ZodString>;
25290
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25291
25291
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25292
25292
  id: z.ZodString;
25293
25293
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25294
+ id: z.ZodString;
25294
25295
  name: z.ZodString;
25295
25296
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25296
- id: z.ZodString;
25297
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25297
25298
  models: z.ZodOptional<z.ZodObject<{
25298
25299
  base: z.ZodOptional<z.ZodObject<{
25299
25300
  model: z.ZodOptional<z.ZodString>;
@@ -25310,7 +25311,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25310
25311
  }, z.core.$strip>>;
25311
25312
  createdAt: z.ZodOptional<z.ZodString>;
25312
25313
  updatedAt: z.ZodOptional<z.ZodString>;
25313
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25314
25314
  type: z.ZodLiteral<"internal">;
25315
25315
  canUse: z.ZodArray<z.ZodObject<{
25316
25316
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25427,8 +25427,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25427
25427
  updatedAt: z.ZodOptional<z.ZodString>;
25428
25428
  enabled: z.ZodOptional<z.ZodBoolean>;
25429
25429
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25430
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25431
25430
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25431
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25432
25432
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25433
25433
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25434
25434
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -25440,11 +25440,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25440
25440
  createdAt: z.ZodOptional<z.ZodString>;
25441
25441
  updatedAt: z.ZodOptional<z.ZodString>;
25442
25442
  enabled: z.ZodOptional<z.ZodBoolean>;
25443
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25443
25444
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25444
25445
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25445
25446
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25446
25447
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25447
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25448
25448
  maxRetries: z.ZodOptional<z.ZodNumber>;
25449
25449
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25450
25450
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25640,15 +25640,15 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25640
25640
  }, z.core.$strip>>>;
25641
25641
  }, z.core.$strip>>;
25642
25642
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25643
- name: z.ZodString;
25644
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25645
25643
  id: z.ZodString;
25644
+ name: z.ZodString;
25646
25645
  createdAt: z.ZodOptional<z.ZodString>;
25647
25646
  updatedAt: z.ZodOptional<z.ZodString>;
25648
25647
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25648
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25649
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25649
25650
  credentialStoreId: z.ZodString;
25650
25651
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25651
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25652
25652
  type: z.ZodEnum<{
25653
25653
  readonly memory: "memory";
25654
25654
  readonly keychain: "keychain";
@@ -25662,9 +25662,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25662
25662
  in: {};
25663
25663
  }>;
25664
25664
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25665
+ id: z.ZodString;
25665
25666
  name: z.ZodString;
25666
25667
  description: z.ZodNullable<z.ZodString>;
25667
- id: z.ZodString;
25668
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25668
25669
  models: z.ZodNullable<z.ZodType<{
25669
25670
  base?: {
25670
25671
  model?: string | undefined;
@@ -25729,7 +25730,6 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25729
25730
  }>>>;
25730
25731
  createdAt: z.ZodString;
25731
25732
  updatedAt: z.ZodString;
25732
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25733
25733
  type: z.ZodLiteral<"internal">;
25734
25734
  canUse: z.ZodArray<z.ZodObject<{
25735
25735
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25755,9 +25755,10 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25755
25755
  }, z.core.$strip>]>>>;
25756
25756
  }, z.core.$strip>;
25757
25757
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25758
+ id: z.ZodString;
25758
25759
  name: z.ZodString;
25759
25760
  description: z.ZodNullable<z.ZodString>;
25760
- id: z.ZodString;
25761
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25761
25762
  models: z.ZodNullable<z.ZodType<{
25762
25763
  base?: {
25763
25764
  model?: string | undefined;
@@ -25822,7 +25823,6 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25822
25823
  }>>>;
25823
25824
  createdAt: z.ZodString;
25824
25825
  updatedAt: z.ZodString;
25825
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25826
25826
  type: z.ZodLiteral<"internal">;
25827
25827
  canUse: z.ZodArray<z.ZodObject<{
25828
25828
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25854,17 +25854,18 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25854
25854
  }, z.core.$strip>]>>>;
25855
25855
  }, z.core.$strip>;
25856
25856
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25857
+ id: z.ZodString;
25857
25858
  name: z.ZodString;
25858
25859
  description: z.ZodNullable<z.ZodString>;
25859
- id: z.ZodString;
25860
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
25860
25861
  createdAt: z.ZodString;
25861
25862
  updatedAt: z.ZodString;
25862
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
25863
25863
  contextConfigId: z.ZodNullable<z.ZodString>;
25864
25864
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25865
+ id: z.ZodString;
25865
25866
  name: z.ZodString;
25866
25867
  description: z.ZodNullable<z.ZodString>;
25867
- id: z.ZodString;
25868
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25868
25869
  models: z.ZodNullable<z.ZodType<{
25869
25870
  base?: {
25870
25871
  model?: string | undefined;
@@ -25929,7 +25930,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25929
25930
  }>>>;
25930
25931
  createdAt: z.ZodString;
25931
25932
  updatedAt: z.ZodString;
25932
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25933
25933
  type: z.ZodLiteral<"internal">;
25934
25934
  canUse: z.ZodArray<z.ZodObject<{
25935
25935
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26000,10 +26000,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26000
26000
  description: z.ZodString;
26001
26001
  }, z.core.$strip>>>;
26002
26002
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26003
+ id: z.ZodString;
26003
26004
  name: z.ZodString;
26004
26005
  description: z.ZodNullable<z.ZodString>;
26005
26006
  agentId: z.ZodString;
26006
- id: z.ZodString;
26007
26007
  createdAt: z.ZodString;
26008
26008
  updatedAt: z.ZodString;
26009
26009
  functionId: z.ZodString;
@@ -26080,12 +26080,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26080
26080
  prompt: z.ZodNullable<z.ZodString>;
26081
26081
  }, z.core.$strip>;
26082
26082
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26083
+ id: z.ZodString;
26083
26084
  name: z.ZodString;
26084
26085
  description: z.ZodNullable<z.ZodString>;
26085
- id: z.ZodString;
26086
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26086
26087
  createdAt: z.ZodString;
26087
26088
  updatedAt: z.ZodString;
26088
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26089
26089
  contextConfigId: z.ZodNullable<z.ZodString>;
26090
26090
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26091
26091
  createdAt: z.ZodString;
@@ -26133,10 +26133,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26133
26133
  description: z.ZodString;
26134
26134
  }, z.core.$strip>>>;
26135
26135
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26136
+ id: z.ZodString;
26136
26137
  name: z.ZodString;
26137
26138
  description: z.ZodNullable<z.ZodString>;
26138
26139
  agentId: z.ZodString;
26139
- id: z.ZodString;
26140
26140
  createdAt: z.ZodString;
26141
26141
  updatedAt: z.ZodString;
26142
26142
  functionId: z.ZodString;
@@ -26212,9 +26212,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26212
26212
  }, z.core.$strip>>;
26213
26213
  prompt: z.ZodNullable<z.ZodString>;
26214
26214
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26215
+ id: z.ZodString;
26215
26216
  name: z.ZodString;
26216
26217
  description: z.ZodNullable<z.ZodString>;
26217
- id: z.ZodString;
26218
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26218
26219
  models: z.ZodNullable<z.ZodType<{
26219
26220
  base?: {
26220
26221
  model?: string | undefined;
@@ -26279,7 +26280,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26279
26280
  }>>>;
26280
26281
  createdAt: z.ZodString;
26281
26282
  updatedAt: z.ZodString;
26282
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26283
26283
  type: z.ZodLiteral<"internal">;
26284
26284
  canUse: z.ZodArray<z.ZodObject<{
26285
26285
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26312,9 +26312,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26312
26312
  }, z.core.$strip>>;
26313
26313
  }, z.core.$strip>;
26314
26314
  declare const FullProjectSelectSchema: z.ZodObject<{
26315
+ id: z.ZodString;
26315
26316
  name: z.ZodString;
26316
26317
  description: z.ZodNullable<z.ZodString>;
26317
- id: z.ZodString;
26318
26318
  models: z.ZodNullable<z.ZodObject<{
26319
26319
  base: z.ZodObject<{
26320
26320
  model: z.ZodOptional<z.ZodString>;
@@ -26336,17 +26336,18 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26336
26336
  createdAt: z.ZodString;
26337
26337
  updatedAt: z.ZodString;
26338
26338
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26339
+ id: z.ZodString;
26339
26340
  name: z.ZodString;
26340
26341
  description: z.ZodNullable<z.ZodString>;
26341
- id: z.ZodString;
26342
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26342
26343
  createdAt: z.ZodString;
26343
26344
  updatedAt: z.ZodString;
26344
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26345
26345
  contextConfigId: z.ZodNullable<z.ZodString>;
26346
26346
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26347
+ id: z.ZodString;
26347
26348
  name: z.ZodString;
26348
26349
  description: z.ZodNullable<z.ZodString>;
26349
- id: z.ZodString;
26350
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26350
26351
  models: z.ZodNullable<z.ZodType<{
26351
26352
  base?: {
26352
26353
  model?: string | undefined;
@@ -26411,7 +26412,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26411
26412
  }>>>;
26412
26413
  createdAt: z.ZodString;
26413
26414
  updatedAt: z.ZodString;
26414
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26415
26415
  type: z.ZodLiteral<"internal">;
26416
26416
  canUse: z.ZodArray<z.ZodObject<{
26417
26417
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26482,10 +26482,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26482
26482
  description: z.ZodString;
26483
26483
  }, z.core.$strip>>>;
26484
26484
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26485
+ id: z.ZodString;
26485
26486
  name: z.ZodString;
26486
26487
  description: z.ZodNullable<z.ZodString>;
26487
26488
  agentId: z.ZodString;
26488
- id: z.ZodString;
26489
26489
  createdAt: z.ZodString;
26490
26490
  updatedAt: z.ZodString;
26491
26491
  functionId: z.ZodString;
@@ -26591,10 +26591,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26591
26591
  id: z.ZodString;
26592
26592
  }>, z.core.$strip>>;
26593
26593
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26594
+ id: z.ZodString;
26594
26595
  name: z.ZodString;
26595
26596
  description: z.ZodNullable<z.ZodString>;
26596
26597
  agentId: z.ZodString;
26597
- id: z.ZodString;
26598
26598
  createdAt: z.ZodString;
26599
26599
  updatedAt: z.ZodString;
26600
26600
  functionId: z.ZodString;
@@ -26739,15 +26739,15 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26739
26739
  }, z.core.$strip>>>;
26740
26740
  }, z.core.$strip>>;
26741
26741
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26742
- name: z.ZodString;
26743
- userId: z.ZodNullable<z.ZodString>;
26744
26742
  id: z.ZodString;
26743
+ name: z.ZodString;
26745
26744
  createdAt: z.ZodString;
26746
26745
  updatedAt: z.ZodString;
26747
26746
  toolId: z.ZodNullable<z.ZodString>;
26747
+ userId: z.ZodNullable<z.ZodString>;
26748
+ createdBy: z.ZodNullable<z.ZodString>;
26748
26749
  credentialStoreId: z.ZodString;
26749
26750
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26750
- createdBy: z.ZodNullable<z.ZodString>;
26751
26751
  type: z.ZodEnum<{
26752
26752
  readonly memory: "memory";
26753
26753
  readonly keychain: "keychain";
@@ -27334,9 +27334,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27334
27334
  in: {};
27335
27335
  }>;
27336
27336
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27337
+ id: z.ZodString;
27337
27338
  name: z.ZodString;
27338
27339
  description: z.ZodNullable<z.ZodString>;
27339
- id: z.ZodString;
27340
27340
  models: z.ZodNullable<z.ZodObject<{
27341
27341
  base: z.ZodObject<{
27342
27342
  model: z.ZodOptional<z.ZodString>;
@@ -27387,10 +27387,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27387
27387
  id: z.ZodString;
27388
27388
  }>, z.core.$strip>>;
27389
27389
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27390
+ id: z.ZodString;
27390
27391
  name: z.ZodString;
27391
27392
  description: z.ZodNullable<z.ZodString>;
27392
27393
  agentId: z.ZodString;
27393
- id: z.ZodString;
27394
27394
  createdAt: z.ZodString;
27395
27395
  updatedAt: z.ZodString;
27396
27396
  functionId: z.ZodString;
@@ -27535,15 +27535,15 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27535
27535
  }, z.core.$strip>>>;
27536
27536
  }, z.core.$strip>>;
27537
27537
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27538
- name: z.ZodString;
27539
- userId: z.ZodNullable<z.ZodString>;
27540
27538
  id: z.ZodString;
27539
+ name: z.ZodString;
27541
27540
  createdAt: z.ZodString;
27542
27541
  updatedAt: z.ZodString;
27543
27542
  toolId: z.ZodNullable<z.ZodString>;
27543
+ userId: z.ZodNullable<z.ZodString>;
27544
+ createdBy: z.ZodNullable<z.ZodString>;
27544
27545
  credentialStoreId: z.ZodString;
27545
27546
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27546
- createdBy: z.ZodNullable<z.ZodString>;
27547
27547
  type: z.ZodEnum<{
27548
27548
  readonly memory: "memory";
27549
27549
  readonly keychain: "keychain";
@@ -28126,12 +28126,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28126
28126
  }>>>;
28127
28127
  }, z.core.$strip>>>;
28128
28128
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28129
+ id: z.ZodString;
28129
28130
  name: z.ZodString;
28130
28131
  description: z.ZodNullable<z.ZodString>;
28131
- id: z.ZodString;
28132
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28132
28133
  createdAt: z.ZodString;
28133
28134
  updatedAt: z.ZodString;
28134
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28135
28135
  contextConfigId: z.ZodNullable<z.ZodString>;
28136
28136
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28137
28137
  createdAt: z.ZodString;
@@ -28179,10 +28179,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28179
28179
  description: z.ZodString;
28180
28180
  }, z.core.$strip>>>;
28181
28181
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28182
+ id: z.ZodString;
28182
28183
  name: z.ZodString;
28183
28184
  description: z.ZodNullable<z.ZodString>;
28184
28185
  agentId: z.ZodString;
28185
- id: z.ZodString;
28186
28186
  createdAt: z.ZodString;
28187
28187
  updatedAt: z.ZodString;
28188
28188
  functionId: z.ZodString;
@@ -28258,9 +28258,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28258
28258
  }, z.core.$strip>>;
28259
28259
  prompt: z.ZodNullable<z.ZodString>;
28260
28260
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28261
+ id: z.ZodString;
28261
28262
  name: z.ZodString;
28262
28263
  description: z.ZodNullable<z.ZodString>;
28263
- id: z.ZodString;
28264
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28264
28265
  models: z.ZodNullable<z.ZodType<{
28265
28266
  base?: {
28266
28267
  model?: string | undefined;
@@ -28325,7 +28326,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28325
28326
  }>>>;
28326
28327
  createdAt: z.ZodString;
28327
28328
  updatedAt: z.ZodString;
28328
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28329
28329
  type: z.ZodLiteral<"internal">;
28330
28330
  canUse: z.ZodArray<z.ZodObject<{
28331
28331
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28363,9 +28363,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28363
28363
  }>;
28364
28364
  declare const ProjectResponse: z.ZodObject<{
28365
28365
  data: z.ZodObject<{
28366
+ id: z.ZodString;
28366
28367
  name: z.ZodString;
28367
28368
  description: z.ZodNullable<z.ZodString>;
28368
- id: z.ZodString;
28369
28369
  models: z.ZodNullable<z.ZodObject<{
28370
28370
  base: z.ZodObject<{
28371
28371
  model: z.ZodOptional<z.ZodString>;
@@ -28624,15 +28624,15 @@ declare const ContextConfigResponse: z.ZodObject<{
28624
28624
  }, z.core.$strip>;
28625
28625
  declare const ApiKeyResponse: z.ZodObject<{
28626
28626
  data: z.ZodObject<{
28627
+ id: z.ZodString;
28627
28628
  name: z.ZodNullable<z.ZodString>;
28628
28629
  agentId: z.ZodString;
28629
- id: z.ZodString;
28630
28630
  createdAt: z.ZodString;
28631
28631
  updatedAt: z.ZodString;
28632
- expiresAt: z.ZodNullable<z.ZodString>;
28632
+ lastUsedAt: z.ZodNullable<z.ZodString>;
28633
28633
  publicId: z.ZodString;
28634
28634
  keyPrefix: z.ZodString;
28635
- lastUsedAt: z.ZodNullable<z.ZodString>;
28635
+ expiresAt: z.ZodNullable<z.ZodString>;
28636
28636
  }, {
28637
28637
  out: {};
28638
28638
  in: {};
@@ -28640,15 +28640,15 @@ declare const ApiKeyResponse: z.ZodObject<{
28640
28640
  }, z.core.$strip>;
28641
28641
  declare const CredentialReferenceResponse: z.ZodObject<{
28642
28642
  data: z.ZodObject<{
28643
- name: z.ZodString;
28644
- userId: z.ZodNullable<z.ZodString>;
28645
28643
  id: z.ZodString;
28644
+ name: z.ZodString;
28646
28645
  createdAt: z.ZodString;
28647
28646
  updatedAt: z.ZodString;
28648
28647
  toolId: z.ZodNullable<z.ZodString>;
28648
+ userId: z.ZodNullable<z.ZodString>;
28649
+ createdBy: z.ZodNullable<z.ZodString>;
28649
28650
  credentialStoreId: z.ZodString;
28650
28651
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28651
- createdBy: z.ZodNullable<z.ZodString>;
28652
28652
  type: z.ZodEnum<{
28653
28653
  readonly memory: "memory";
28654
28654
  readonly keychain: "keychain";
@@ -29245,10 +29245,10 @@ declare const FunctionResponse: z.ZodObject<{
29245
29245
  }, z.core.$strip>;
29246
29246
  declare const FunctionToolResponse: z.ZodObject<{
29247
29247
  data: z.ZodObject<{
29248
+ id: z.ZodString;
29248
29249
  name: z.ZodString;
29249
29250
  description: z.ZodNullable<z.ZodString>;
29250
29251
  agentId: z.ZodString;
29251
- id: z.ZodString;
29252
29252
  createdAt: z.ZodString;
29253
29253
  updatedAt: z.ZodString;
29254
29254
  functionId: z.ZodString;
@@ -29442,8 +29442,8 @@ declare const TriggerResponse: z.ZodObject<{
29442
29442
  }, z.core.$strip>;
29443
29443
  signedComponents: z.ZodArray<z.ZodObject<{
29444
29444
  source: z.ZodEnum<{
29445
- header: "header";
29446
29445
  literal: "literal";
29446
+ header: "header";
29447
29447
  body: "body";
29448
29448
  }>;
29449
29449
  key: z.ZodOptional<z.ZodString>;
@@ -29482,9 +29482,9 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29482
29482
  }, z.core.$strip>;
29483
29483
  declare const ProjectListResponse: z.ZodObject<{
29484
29484
  data: z.ZodArray<z.ZodObject<{
29485
+ id: z.ZodString;
29485
29486
  name: z.ZodString;
29486
29487
  description: z.ZodNullable<z.ZodString>;
29487
- id: z.ZodString;
29488
29488
  models: z.ZodNullable<z.ZodObject<{
29489
29489
  base: z.ZodObject<{
29490
29490
  model: z.ZodOptional<z.ZodString>;
@@ -29773,15 +29773,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
29773
29773
  }, z.core.$strip>;
29774
29774
  declare const ApiKeyListResponse: z.ZodObject<{
29775
29775
  data: z.ZodArray<z.ZodObject<{
29776
+ id: z.ZodString;
29776
29777
  name: z.ZodNullable<z.ZodString>;
29777
29778
  agentId: z.ZodString;
29778
- id: z.ZodString;
29779
29779
  createdAt: z.ZodString;
29780
29780
  updatedAt: z.ZodString;
29781
- expiresAt: z.ZodNullable<z.ZodString>;
29781
+ lastUsedAt: z.ZodNullable<z.ZodString>;
29782
29782
  publicId: z.ZodString;
29783
29783
  keyPrefix: z.ZodString;
29784
- lastUsedAt: z.ZodNullable<z.ZodString>;
29784
+ expiresAt: z.ZodNullable<z.ZodString>;
29785
29785
  }, {
29786
29786
  out: {};
29787
29787
  in: {};
@@ -29795,15 +29795,15 @@ declare const ApiKeyListResponse: z.ZodObject<{
29795
29795
  }, z.core.$strip>;
29796
29796
  declare const CredentialReferenceListResponse: z.ZodObject<{
29797
29797
  data: z.ZodArray<z.ZodObject<{
29798
- name: z.ZodString;
29799
- userId: z.ZodNullable<z.ZodString>;
29800
29798
  id: z.ZodString;
29799
+ name: z.ZodString;
29801
29800
  createdAt: z.ZodString;
29802
29801
  updatedAt: z.ZodString;
29803
29802
  toolId: z.ZodNullable<z.ZodString>;
29803
+ userId: z.ZodNullable<z.ZodString>;
29804
+ createdBy: z.ZodNullable<z.ZodString>;
29804
29805
  credentialStoreId: z.ZodString;
29805
29806
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29806
- createdBy: z.ZodNullable<z.ZodString>;
29807
29807
  type: z.ZodEnum<{
29808
29808
  readonly memory: "memory";
29809
29809
  readonly keychain: "keychain";
@@ -30412,10 +30412,10 @@ declare const FunctionListResponse: z.ZodObject<{
30412
30412
  }, z.core.$strip>;
30413
30413
  declare const FunctionToolListResponse: z.ZodObject<{
30414
30414
  data: z.ZodArray<z.ZodObject<{
30415
+ id: z.ZodString;
30415
30416
  name: z.ZodString;
30416
30417
  description: z.ZodNullable<z.ZodString>;
30417
30418
  agentId: z.ZodString;
30418
- id: z.ZodString;
30419
30419
  createdAt: z.ZodString;
30420
30420
  updatedAt: z.ZodString;
30421
30421
  functionId: z.ZodString;
@@ -30677,8 +30677,8 @@ declare const TriggerListResponse: z.ZodObject<{
30677
30677
  }, z.core.$strip>;
30678
30678
  signedComponents: z.ZodArray<z.ZodObject<{
30679
30679
  source: z.ZodEnum<{
30680
- header: "header";
30681
30680
  literal: "literal";
30681
+ header: "header";
30682
30682
  body: "body";
30683
30683
  }>;
30684
30684
  key: z.ZodOptional<z.ZodString>;
@@ -30729,15 +30729,15 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30729
30729
  }, z.core.$strip>;
30730
30730
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30731
30731
  data: z.ZodObject<{
30732
+ id: z.ZodString;
30732
30733
  name: z.ZodString;
30733
30734
  description: z.ZodNullable<z.ZodString>;
30734
- id: z.ZodString;
30735
30735
  createdAt: z.ZodString;
30736
30736
  updatedAt: z.ZodString;
30737
30737
  enabled: z.ZodBoolean;
30738
30738
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30739
- messageTemplate: z.ZodNullable<z.ZodString>;
30740
30739
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30740
+ messageTemplate: z.ZodNullable<z.ZodString>;
30741
30741
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30742
30742
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30743
30743
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -30764,8 +30764,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30764
30764
  }, z.core.$strip>;
30765
30765
  signedComponents: z.ZodArray<z.ZodObject<{
30766
30766
  source: z.ZodEnum<{
30767
- header: "header";
30768
30767
  literal: "literal";
30768
+ header: "header";
30769
30769
  body: "body";
30770
30770
  }>;
30771
30771
  key: z.ZodOptional<z.ZodString>;
@@ -30790,15 +30790,15 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30790
30790
  }, z.core.$strip>;
30791
30791
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30792
30792
  data: z.ZodArray<z.ZodObject<{
30793
+ id: z.ZodString;
30793
30794
  name: z.ZodString;
30794
30795
  description: z.ZodNullable<z.ZodString>;
30795
- id: z.ZodString;
30796
30796
  createdAt: z.ZodString;
30797
30797
  updatedAt: z.ZodString;
30798
30798
  enabled: z.ZodBoolean;
30799
30799
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30800
- messageTemplate: z.ZodNullable<z.ZodString>;
30801
30800
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30801
+ messageTemplate: z.ZodNullable<z.ZodString>;
30802
30802
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30803
30803
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30804
30804
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -30825,8 +30825,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30825
30825
  }, z.core.$strip>;
30826
30826
  signedComponents: z.ZodArray<z.ZodObject<{
30827
30827
  source: z.ZodEnum<{
30828
- header: "header";
30829
30828
  literal: "literal";
30829
+ header: "header";
30830
30830
  body: "body";
30831
30831
  }>;
30832
30832
  key: z.ZodOptional<z.ZodString>;
@@ -30856,17 +30856,17 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30856
30856
  }, z.core.$strip>;
30857
30857
  }, z.core.$strip>;
30858
30858
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30859
+ id: z.ZodString;
30859
30860
  name: z.ZodString;
30860
30861
  description: z.ZodNullable<z.ZodString>;
30861
- id: z.ZodString;
30862
30862
  createdAt: z.ZodString;
30863
30863
  updatedAt: z.ZodString;
30864
30864
  enabled: z.ZodBoolean;
30865
+ messageTemplate: z.ZodNullable<z.ZodString>;
30865
30866
  cronExpression: z.ZodNullable<z.ZodString>;
30866
30867
  cronTimezone: z.ZodNullable<z.ZodString>;
30867
30868
  runAt: z.ZodNullable<z.ZodString>;
30868
30869
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30869
- messageTemplate: z.ZodNullable<z.ZodString>;
30870
30870
  maxRetries: z.ZodNumber;
30871
30871
  retryDelaySeconds: z.ZodNumber;
30872
30872
  timeoutSeconds: z.ZodNumber;
@@ -30929,17 +30929,17 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
30929
30929
  }, z.core.$strip>;
30930
30930
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30931
30931
  data: z.ZodArray<z.ZodObject<{
30932
+ id: z.ZodString;
30932
30933
  name: z.ZodString;
30933
30934
  description: z.ZodNullable<z.ZodString>;
30934
- id: z.ZodString;
30935
30935
  createdAt: z.ZodString;
30936
30936
  updatedAt: z.ZodString;
30937
30937
  enabled: z.ZodBoolean;
30938
+ messageTemplate: z.ZodNullable<z.ZodString>;
30938
30939
  cronExpression: z.ZodNullable<z.ZodString>;
30939
30940
  cronTimezone: z.ZodNullable<z.ZodString>;
30940
30941
  runAt: z.ZodNullable<z.ZodString>;
30941
30942
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30942
- messageTemplate: z.ZodNullable<z.ZodString>;
30943
30943
  maxRetries: z.ZodNumber;
30944
30944
  retryDelaySeconds: z.ZodNumber;
30945
30945
  timeoutSeconds: z.ZodNumber;
@@ -31086,9 +31086,9 @@ declare const SubAgentSkillResponse: z.ZodObject<{
31086
31086
  }, z.core.$strip>;
31087
31087
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31088
31088
  data: z.ZodArray<z.ZodObject<{
31089
+ id: z.ZodString;
31089
31090
  name: z.ZodString;
31090
31091
  description: z.ZodString;
31091
- id: z.ZodString;
31092
31092
  createdAt: z.ZodString;
31093
31093
  updatedAt: z.ZodString;
31094
31094
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -31101,9 +31101,9 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31101
31101
  }, z.core.$strip>;
31102
31102
  declare const FullProjectDefinitionResponse: z.ZodObject<{
31103
31103
  data: z.ZodObject<{
31104
+ id: z.ZodString;
31104
31105
  name: z.ZodString;
31105
31106
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31106
- id: z.ZodString;
31107
31107
  models: z.ZodObject<{
31108
31108
  base: z.ZodObject<{
31109
31109
  model: z.ZodOptional<z.ZodString>;
@@ -31125,15 +31125,16 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31125
31125
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31126
31126
  name: z.ZodString;
31127
31127
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31128
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31128
31129
  createdAt: z.ZodOptional<z.ZodString>;
31129
31130
  updatedAt: z.ZodOptional<z.ZodString>;
31130
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31131
31131
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31132
31132
  id: z.ZodString;
31133
31133
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31134
+ id: z.ZodString;
31134
31135
  name: z.ZodString;
31135
31136
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31136
- id: z.ZodString;
31137
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31137
31138
  models: z.ZodOptional<z.ZodObject<{
31138
31139
  base: z.ZodOptional<z.ZodObject<{
31139
31140
  model: z.ZodOptional<z.ZodString>;
@@ -31150,7 +31151,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31150
31151
  }, z.core.$strip>>;
31151
31152
  createdAt: z.ZodOptional<z.ZodString>;
31152
31153
  updatedAt: z.ZodOptional<z.ZodString>;
31153
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31154
31154
  type: z.ZodLiteral<"internal">;
31155
31155
  canUse: z.ZodArray<z.ZodObject<{
31156
31156
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31267,8 +31267,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31267
31267
  updatedAt: z.ZodOptional<z.ZodString>;
31268
31268
  enabled: z.ZodOptional<z.ZodBoolean>;
31269
31269
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31270
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31271
31270
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31271
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31272
31272
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31273
31273
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31274
31274
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -31280,11 +31280,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31280
31280
  createdAt: z.ZodOptional<z.ZodString>;
31281
31281
  updatedAt: z.ZodOptional<z.ZodString>;
31282
31282
  enabled: z.ZodOptional<z.ZodBoolean>;
31283
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31283
31284
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31284
31285
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31285
31286
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31286
31287
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31287
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31288
31288
  maxRetries: z.ZodOptional<z.ZodNumber>;
31289
31289
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
31290
31290
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -31480,15 +31480,15 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31480
31480
  }, z.core.$strip>>>;
31481
31481
  }, z.core.$strip>>;
31482
31482
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31483
- name: z.ZodString;
31484
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31485
31483
  id: z.ZodString;
31484
+ name: z.ZodString;
31486
31485
  createdAt: z.ZodOptional<z.ZodString>;
31487
31486
  updatedAt: z.ZodOptional<z.ZodString>;
31488
31487
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31488
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31489
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31489
31490
  credentialStoreId: z.ZodString;
31490
31491
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31491
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31492
31492
  type: z.ZodEnum<{
31493
31493
  readonly memory: "memory";
31494
31494
  readonly keychain: "keychain";
@@ -31504,9 +31504,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31504
31504
  }, z.core.$strip>;
31505
31505
  declare const FullProjectSelectResponse: z.ZodObject<{
31506
31506
  data: z.ZodObject<{
31507
+ id: z.ZodString;
31507
31508
  name: z.ZodString;
31508
31509
  description: z.ZodNullable<z.ZodString>;
31509
- id: z.ZodString;
31510
31510
  models: z.ZodNullable<z.ZodObject<{
31511
31511
  base: z.ZodObject<{
31512
31512
  model: z.ZodOptional<z.ZodString>;
@@ -31528,17 +31528,18 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31528
31528
  createdAt: z.ZodString;
31529
31529
  updatedAt: z.ZodString;
31530
31530
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31531
+ id: z.ZodString;
31531
31532
  name: z.ZodString;
31532
31533
  description: z.ZodNullable<z.ZodString>;
31533
- id: z.ZodString;
31534
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
31534
31535
  createdAt: z.ZodString;
31535
31536
  updatedAt: z.ZodString;
31536
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
31537
31537
  contextConfigId: z.ZodNullable<z.ZodString>;
31538
31538
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31539
+ id: z.ZodString;
31539
31540
  name: z.ZodString;
31540
31541
  description: z.ZodNullable<z.ZodString>;
31541
- id: z.ZodString;
31542
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31542
31543
  models: z.ZodNullable<z.ZodType<{
31543
31544
  base?: {
31544
31545
  model?: string | undefined;
@@ -31603,7 +31604,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31603
31604
  }>>>;
31604
31605
  createdAt: z.ZodString;
31605
31606
  updatedAt: z.ZodString;
31606
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31607
31607
  type: z.ZodLiteral<"internal">;
31608
31608
  canUse: z.ZodArray<z.ZodObject<{
31609
31609
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31674,10 +31674,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31674
31674
  description: z.ZodString;
31675
31675
  }, z.core.$strip>>>;
31676
31676
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31677
+ id: z.ZodString;
31677
31678
  name: z.ZodString;
31678
31679
  description: z.ZodNullable<z.ZodString>;
31679
31680
  agentId: z.ZodString;
31680
- id: z.ZodString;
31681
31681
  createdAt: z.ZodString;
31682
31682
  updatedAt: z.ZodString;
31683
31683
  functionId: z.ZodString;
@@ -31783,10 +31783,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31783
31783
  id: z.ZodString;
31784
31784
  }>, z.core.$strip>>;
31785
31785
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31786
+ id: z.ZodString;
31786
31787
  name: z.ZodString;
31787
31788
  description: z.ZodNullable<z.ZodString>;
31788
31789
  agentId: z.ZodString;
31789
- id: z.ZodString;
31790
31790
  createdAt: z.ZodString;
31791
31791
  updatedAt: z.ZodString;
31792
31792
  functionId: z.ZodString;
@@ -31931,15 +31931,15 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31931
31931
  }, z.core.$strip>>>;
31932
31932
  }, z.core.$strip>>;
31933
31933
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31934
- name: z.ZodString;
31935
- userId: z.ZodNullable<z.ZodString>;
31936
31934
  id: z.ZodString;
31935
+ name: z.ZodString;
31937
31936
  createdAt: z.ZodString;
31938
31937
  updatedAt: z.ZodString;
31939
31938
  toolId: z.ZodNullable<z.ZodString>;
31939
+ userId: z.ZodNullable<z.ZodString>;
31940
+ createdBy: z.ZodNullable<z.ZodString>;
31940
31941
  credentialStoreId: z.ZodString;
31941
31942
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31942
- createdBy: z.ZodNullable<z.ZodString>;
31943
31943
  type: z.ZodEnum<{
31944
31944
  readonly memory: "memory";
31945
31945
  readonly keychain: "keychain";
@@ -32528,9 +32528,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32528
32528
  }, z.core.$strip>;
32529
32529
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32530
32530
  data: z.ZodObject<{
32531
+ id: z.ZodString;
32531
32532
  name: z.ZodString;
32532
32533
  description: z.ZodNullable<z.ZodString>;
32533
- id: z.ZodString;
32534
32534
  models: z.ZodNullable<z.ZodObject<{
32535
32535
  base: z.ZodObject<{
32536
32536
  model: z.ZodOptional<z.ZodString>;
@@ -32581,10 +32581,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32581
32581
  id: z.ZodString;
32582
32582
  }>, z.core.$strip>>;
32583
32583
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32584
+ id: z.ZodString;
32584
32585
  name: z.ZodString;
32585
32586
  description: z.ZodNullable<z.ZodString>;
32586
32587
  agentId: z.ZodString;
32587
- id: z.ZodString;
32588
32588
  createdAt: z.ZodString;
32589
32589
  updatedAt: z.ZodString;
32590
32590
  functionId: z.ZodString;
@@ -32729,15 +32729,15 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32729
32729
  }, z.core.$strip>>>;
32730
32730
  }, z.core.$strip>>;
32731
32731
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32732
- name: z.ZodString;
32733
- userId: z.ZodNullable<z.ZodString>;
32734
32732
  id: z.ZodString;
32733
+ name: z.ZodString;
32735
32734
  createdAt: z.ZodString;
32736
32735
  updatedAt: z.ZodString;
32737
32736
  toolId: z.ZodNullable<z.ZodString>;
32737
+ userId: z.ZodNullable<z.ZodString>;
32738
+ createdBy: z.ZodNullable<z.ZodString>;
32738
32739
  credentialStoreId: z.ZodString;
32739
32740
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32740
- createdBy: z.ZodNullable<z.ZodString>;
32741
32741
  type: z.ZodEnum<{
32742
32742
  readonly memory: "memory";
32743
32743
  readonly keychain: "keychain";
@@ -33320,12 +33320,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33320
33320
  }>>>;
33321
33321
  }, z.core.$strip>>>;
33322
33322
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33323
+ id: z.ZodString;
33323
33324
  name: z.ZodString;
33324
33325
  description: z.ZodNullable<z.ZodString>;
33325
- id: z.ZodString;
33326
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
33326
33327
  createdAt: z.ZodString;
33327
33328
  updatedAt: z.ZodString;
33328
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
33329
33329
  contextConfigId: z.ZodNullable<z.ZodString>;
33330
33330
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33331
33331
  createdAt: z.ZodString;
@@ -33373,10 +33373,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33373
33373
  description: z.ZodString;
33374
33374
  }, z.core.$strip>>>;
33375
33375
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33376
+ id: z.ZodString;
33376
33377
  name: z.ZodString;
33377
33378
  description: z.ZodNullable<z.ZodString>;
33378
33379
  agentId: z.ZodString;
33379
- id: z.ZodString;
33380
33380
  createdAt: z.ZodString;
33381
33381
  updatedAt: z.ZodString;
33382
33382
  functionId: z.ZodString;
@@ -33452,9 +33452,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33452
33452
  }, z.core.$strip>>;
33453
33453
  prompt: z.ZodNullable<z.ZodString>;
33454
33454
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33455
+ id: z.ZodString;
33455
33456
  name: z.ZodString;
33456
33457
  description: z.ZodNullable<z.ZodString>;
33457
- id: z.ZodString;
33458
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33458
33459
  models: z.ZodNullable<z.ZodType<{
33459
33460
  base?: {
33460
33461
  model?: string | undefined;
@@ -33519,7 +33520,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33519
33520
  }>>>;
33520
33521
  createdAt: z.ZodString;
33521
33522
  updatedAt: z.ZodString;
33522
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33523
33523
  type: z.ZodLiteral<"internal">;
33524
33524
  canUse: z.ZodArray<z.ZodObject<{
33525
33525
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33560,15 +33560,16 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33560
33560
  data: z.ZodObject<{
33561
33561
  name: z.ZodString;
33562
33562
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33563
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33563
33564
  createdAt: z.ZodOptional<z.ZodString>;
33564
33565
  updatedAt: z.ZodOptional<z.ZodString>;
33565
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33566
33566
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33567
33567
  id: z.ZodString;
33568
33568
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33569
+ id: z.ZodString;
33569
33570
  name: z.ZodString;
33570
33571
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33571
- id: z.ZodString;
33572
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33572
33573
  models: z.ZodOptional<z.ZodObject<{
33573
33574
  base: z.ZodOptional<z.ZodObject<{
33574
33575
  model: z.ZodOptional<z.ZodString>;
@@ -33585,7 +33586,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33585
33586
  }, z.core.$strip>>;
33586
33587
  createdAt: z.ZodOptional<z.ZodString>;
33587
33588
  updatedAt: z.ZodOptional<z.ZodString>;
33588
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33589
33589
  type: z.ZodLiteral<"internal">;
33590
33590
  canUse: z.ZodArray<z.ZodObject<{
33591
33591
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33702,8 +33702,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33702
33702
  updatedAt: z.ZodOptional<z.ZodString>;
33703
33703
  enabled: z.ZodOptional<z.ZodBoolean>;
33704
33704
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33705
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33706
33705
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33706
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33707
33707
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33708
33708
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33709
33709
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -33715,11 +33715,11 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33715
33715
  createdAt: z.ZodOptional<z.ZodString>;
33716
33716
  updatedAt: z.ZodOptional<z.ZodString>;
33717
33717
  enabled: z.ZodOptional<z.ZodBoolean>;
33718
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33718
33719
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33719
33720
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33720
33721
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33721
33722
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33722
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33723
33723
  maxRetries: z.ZodOptional<z.ZodNumber>;
33724
33724
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
33725
33725
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -33767,17 +33767,18 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33767
33767
  }, z.core.$strip>;
33768
33768
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33769
33769
  data: z.ZodObject<{
33770
+ id: z.ZodString;
33770
33771
  name: z.ZodString;
33771
33772
  description: z.ZodNullable<z.ZodString>;
33772
- id: z.ZodString;
33773
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
33773
33774
  createdAt: z.ZodString;
33774
33775
  updatedAt: z.ZodString;
33775
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
33776
33776
  contextConfigId: z.ZodNullable<z.ZodString>;
33777
33777
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33778
+ id: z.ZodString;
33778
33779
  name: z.ZodString;
33779
33780
  description: z.ZodNullable<z.ZodString>;
33780
- id: z.ZodString;
33781
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33781
33782
  models: z.ZodNullable<z.ZodType<{
33782
33783
  base?: {
33783
33784
  model?: string | undefined;
@@ -33842,7 +33843,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33842
33843
  }>>>;
33843
33844
  createdAt: z.ZodString;
33844
33845
  updatedAt: z.ZodString;
33845
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33846
33846
  type: z.ZodLiteral<"internal">;
33847
33847
  canUse: z.ZodArray<z.ZodObject<{
33848
33848
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33913,10 +33913,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33913
33913
  description: z.ZodString;
33914
33914
  }, z.core.$strip>>>;
33915
33915
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33916
+ id: z.ZodString;
33916
33917
  name: z.ZodString;
33917
33918
  description: z.ZodNullable<z.ZodString>;
33918
33919
  agentId: z.ZodString;
33919
- id: z.ZodString;
33920
33920
  createdAt: z.ZodString;
33921
33921
  updatedAt: z.ZodString;
33922
33922
  functionId: z.ZodString;
@@ -34611,8 +34611,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34611
34611
  }>;
34612
34612
  }, undefined>, undefined>;
34613
34613
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
34614
- tenantId: z.ZodString;
34615
34614
  id: z.ZodString;
34615
+ tenantId: z.ZodString;
34616
34616
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34617
34617
  mainBranchName: z.ZodString;
34618
34618
  }, {
@@ -34963,11 +34963,11 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
34963
34963
  }>;
34964
34964
  }, undefined>, undefined>;
34965
34965
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
34966
- tenantId: z.ZodString;
34967
34966
  id: z.ZodString;
34968
- accountId: z.ZodString;
34967
+ tenantId: z.ZodString;
34969
34968
  installationId: z.ZodString;
34970
34969
  accountLogin: z.ZodString;
34970
+ accountId: z.ZodString;
34971
34971
  accountType: z.ZodEnum<{
34972
34972
  Organization: "Organization";
34973
34973
  User: "User";
@@ -34994,11 +34994,11 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
34994
34994
  id: z.ZodString;
34995
34995
  }>, z.core.$strip>;
34996
34996
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
34997
- tenantId: z.ZodString;
34998
34997
  id: z.ZodString;
34999
- accountId: z.ZodString;
34998
+ tenantId: z.ZodString;
35000
34999
  installationId: z.ZodString;
35001
35000
  accountLogin: z.ZodString;
35001
+ accountId: z.ZodString;
35002
35002
  accountType: z.ZodEnum<{
35003
35003
  Organization: "Organization";
35004
35004
  User: "User";