@inkeep/agents-core 0.0.0-dev-20260312233652 → 0.0.0-dev-20260313014132

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.
@@ -821,10 +821,10 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
821
821
  }>, z.core.$strip>;
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
823
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
825
824
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
826
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
827
825
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
827
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
828
828
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
829
829
  base: z.ZodOptional<z.ZodObject<{
830
830
  model: z.ZodOptional<z.ZodString>;
@@ -839,7 +839,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
839
839
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
840
840
  }, z.core.$strip>>;
841
841
  }, z.core.$strip>>>>;
842
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
843
842
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
844
843
  stepCountIs?: number | undefined;
845
844
  }, {
@@ -849,7 +848,8 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
849
848
  }, {
850
849
  stepCountIs?: number | undefined;
851
850
  }>>>>>>;
852
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
851
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
853
853
  }, z.core.$strip>;
854
854
  declare const SubAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
855
855
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -2483,7 +2483,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2483
2483
  }, {}, {
2484
2484
  length: 256;
2485
2485
  }>;
2486
- }, "id" | "createdAt" | "name" | "updatedAt" | "projectId" | "tenantId" | "description" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2486
+ }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2487
2487
  declare const AgentUpdateSchema: z.ZodObject<{
2488
2488
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2489
2489
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2754,7 +2754,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2754
2754
  name: z.ZodString;
2755
2755
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
2756
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
2758
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2759
2759
  base?: {
2760
2760
  model?: string | undefined;
@@ -2808,7 +2808,16 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2808
2808
  providerOptions?: Record<string, any> | undefined;
2809
2809
  } | undefined;
2810
2810
  }>>>>;
2811
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2811
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2812
+ transferCountIs?: number | undefined;
2813
+ }, {
2814
+ transferCountIs?: number | undefined;
2815
+ }, z.core.$ZodTypeInternals<{
2816
+ transferCountIs?: number | undefined;
2817
+ }, {
2818
+ transferCountIs?: number | undefined;
2819
+ }>>>>;
2820
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2812
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2813
2822
  enabled?: boolean | undefined;
2814
2823
  numEvents?: number | undefined;
@@ -2866,21 +2875,12 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2866
2875
  } | undefined;
2867
2876
  }[] | undefined;
2868
2877
  }>>>>;
2869
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2870
- transferCountIs?: number | undefined;
2871
- }, {
2872
- transferCountIs?: number | undefined;
2873
- }, z.core.$ZodTypeInternals<{
2874
- transferCountIs?: number | undefined;
2875
- }, {
2876
- transferCountIs?: number | undefined;
2877
- }>>>>;
2878
2878
  }, z.core.$strip>;
2879
2879
  declare const AgentApiUpdateSchema: z.ZodObject<{
2880
2880
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2881
2881
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2882
2882
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2883
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2883
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
2884
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2885
2885
  base?: {
2886
2886
  model?: string | undefined;
@@ -2934,7 +2934,16 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2934
2934
  providerOptions?: Record<string, any> | undefined;
2935
2935
  } | undefined;
2936
2936
  }>>>>>>;
2937
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2937
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2938
+ transferCountIs?: number | undefined;
2939
+ }, {
2940
+ transferCountIs?: number | undefined;
2941
+ }, z.core.$ZodTypeInternals<{
2942
+ transferCountIs?: number | undefined;
2943
+ }, {
2944
+ transferCountIs?: number | undefined;
2945
+ }>>>>>>;
2946
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2938
2947
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2939
2948
  enabled?: boolean | undefined;
2940
2949
  numEvents?: number | undefined;
@@ -2992,15 +3001,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2992
3001
  } | undefined;
2993
3002
  }[] | undefined;
2994
3003
  }>>>>>>;
2995
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2996
- transferCountIs?: number | undefined;
2997
- }, {
2998
- transferCountIs?: number | undefined;
2999
- }, z.core.$ZodTypeInternals<{
3000
- transferCountIs?: number | undefined;
3001
- }, {
3002
- transferCountIs?: number | undefined;
3003
- }>>>>>>;
3004
3004
  }, z.core.$strip>;
3005
3005
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
3006
3006
  name: z.ZodString;
@@ -4079,7 +4079,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4079
4079
  }, {}, {
4080
4080
  length: 256;
4081
4081
  }>;
4082
- }, "id" | "createdAt" | "name" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4082
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4083
4083
  declare const TriggerUpdateSchema: z.ZodObject<{
4084
4084
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4085
4085
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4203,10 +4203,10 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4203
4203
  }>;
4204
4204
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4205
4205
  id: z.ZodString;
4206
- createdAt: z.ZodString;
4207
4206
  name: z.ZodString;
4208
- updatedAt: z.ZodString;
4209
4207
  description: z.ZodNullable<z.ZodString>;
4208
+ createdAt: z.ZodString;
4209
+ updatedAt: z.ZodString;
4210
4210
  enabled: z.ZodBoolean;
4211
4211
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4212
4212
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -5071,7 +5071,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert",
5071
5071
  }, {}, {
5072
5072
  length: 256;
5073
5073
  }>;
5074
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5074
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "triggerId" | "conversationId" | "status" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5075
5075
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5076
5076
  triggerId: z.ZodOptional<z.ZodString>;
5077
5077
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5103,9 +5103,9 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5103
5103
  }>, z.core.$strip>;
5104
5104
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5105
5105
  createdAt: z.ZodOptional<z.ZodString>;
5106
- status: z.ZodOptional<z.ZodString>;
5107
5106
  triggerId: z.ZodString;
5108
5107
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5108
+ status: z.ZodOptional<z.ZodString>;
5109
5109
  requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
5110
5110
  transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5111
5111
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5114,9 +5114,9 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5114
5114
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5115
5115
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5116
5116
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5117
- status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5118
5117
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5119
5118
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5119
+ status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5120
5120
  requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5121
5121
  transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
5122
5122
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5149,10 +5149,10 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5149
5149
  declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5150
5150
  id: z.ZodString;
5151
5151
  name: z.ZodString;
5152
- agentId: z.ZodString;
5153
- projectId: z.ZodString;
5154
- tenantId: z.ZodString;
5155
5152
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5153
+ tenantId: z.ZodString;
5154
+ projectId: z.ZodString;
5155
+ agentId: z.ZodString;
5156
5156
  enabled: z.ZodOptional<z.ZodBoolean>;
5157
5157
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5158
5158
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5171,10 +5171,10 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5171
5171
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5172
5172
  id: z.ZodOptional<z.ZodString>;
5173
5173
  name: z.ZodOptional<z.ZodString>;
5174
- agentId: z.ZodOptional<z.ZodString>;
5175
- projectId: z.ZodOptional<z.ZodString>;
5176
- tenantId: z.ZodOptional<z.ZodString>;
5177
5174
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5175
+ tenantId: z.ZodOptional<z.ZodString>;
5176
+ projectId: z.ZodOptional<z.ZodString>;
5177
+ agentId: z.ZodOptional<z.ZodString>;
5178
5178
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5179
5179
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5180
5180
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5246,10 +5246,10 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5246
5246
  declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5247
5247
  id: z.ZodOptional<z.ZodString>;
5248
5248
  name: z.ZodOptional<z.ZodString>;
5249
- agentId: z.ZodOptional<z.ZodString>;
5250
- projectId: z.ZodOptional<z.ZodString>;
5251
- tenantId: z.ZodOptional<z.ZodString>;
5252
5249
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5250
+ tenantId: z.ZodOptional<z.ZodString>;
5251
+ projectId: z.ZodOptional<z.ZodString>;
5252
+ agentId: z.ZodOptional<z.ZodString>;
5253
5253
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5254
5254
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5255
5255
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -6088,7 +6088,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod3.BuildSchema<"insert",
6088
6088
  }, {}, {
6089
6089
  length: 256;
6090
6090
  }>;
6091
- }, "id" | "createdAt" | "name" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6091
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6092
6092
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6093
6093
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6094
6094
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6119,10 +6119,10 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6119
6119
  id: z.ZodString;
6120
6120
  }>, z.core.$strip>;
6121
6121
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6122
- createdAt: z.ZodOptional<z.ZodString>;
6123
6122
  name: z.ZodString;
6124
- updatedAt: z.ZodOptional<z.ZodString>;
6125
6123
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6124
+ createdAt: z.ZodOptional<z.ZodString>;
6125
+ updatedAt: z.ZodOptional<z.ZodString>;
6126
6126
  status: z.ZodOptional<z.ZodString>;
6127
6127
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6128
6128
  scheduledTriggerId: z.ZodString;
@@ -6695,7 +6695,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"
6695
6695
  }, {}, {
6696
6696
  length: 256;
6697
6697
  }>;
6698
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6698
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6699
6699
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6700
6700
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
6701
6701
  status: z.ZodOptional<z.ZodString>;
@@ -6827,7 +6827,7 @@ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
6827
6827
  dataType: "json";
6828
6828
  columnType: "PgJsonb";
6829
6829
  data: {
6830
- type: "tag" | "commit" | "branch";
6830
+ type: "commit" | "tag" | "branch";
6831
6831
  name: string;
6832
6832
  hash: string;
6833
6833
  };
@@ -6843,7 +6843,7 @@ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
6843
6843
  generated: undefined;
6844
6844
  }, {}, {
6845
6845
  $type: {
6846
- type: "tag" | "commit" | "branch";
6846
+ type: "commit" | "tag" | "branch";
6847
6847
  name: string;
6848
6848
  hash: string;
6849
6849
  };
@@ -7041,7 +7041,7 @@ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7041
7041
  dataType: "json";
7042
7042
  columnType: "PgJsonb";
7043
7043
  data: {
7044
- type: "tag" | "commit" | "branch";
7044
+ type: "commit" | "tag" | "branch";
7045
7045
  name: string;
7046
7046
  hash: string;
7047
7047
  };
@@ -7057,7 +7057,7 @@ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7057
7057
  generated: undefined;
7058
7058
  }, {}, {
7059
7059
  $type: {
7060
- type: "tag" | "commit" | "branch";
7060
+ type: "commit" | "tag" | "branch";
7061
7061
  name: string;
7062
7062
  hash: string;
7063
7063
  };
@@ -7210,8 +7210,8 @@ declare const TaskInsertSchema: z.ZodObject<{
7210
7210
  conversationId: z.ZodOptional<z.ZodString>;
7211
7211
  ref: z.ZodObject<{
7212
7212
  type: z.ZodEnum<{
7213
- tag: "tag";
7214
7213
  commit: "commit";
7214
+ tag: "tag";
7215
7215
  branch: "branch";
7216
7216
  }>;
7217
7217
  name: z.ZodString;
@@ -7235,8 +7235,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
7235
7235
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7236
7236
  ref: z.ZodOptional<z.ZodObject<{
7237
7237
  type: z.ZodEnum<{
7238
- tag: "tag";
7239
7238
  commit: "commit";
7239
+ tag: "tag";
7240
7240
  branch: "branch";
7241
7241
  }>;
7242
7242
  name: z.ZodString;
@@ -7251,19 +7251,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
7251
7251
  updatedAt: z.ZodString;
7252
7252
  contextId: z.ZodString;
7253
7253
  ref: z.ZodNullable<z.ZodType<{
7254
- type: "tag" | "commit" | "branch";
7254
+ type: "commit" | "tag" | "branch";
7255
7255
  name: string;
7256
7256
  hash: string;
7257
7257
  }, {
7258
- type: "tag" | "commit" | "branch";
7258
+ type: "commit" | "tag" | "branch";
7259
7259
  name: string;
7260
7260
  hash: string;
7261
7261
  }, z.core.$ZodTypeInternals<{
7262
- type: "tag" | "commit" | "branch";
7262
+ type: "commit" | "tag" | "branch";
7263
7263
  name: string;
7264
7264
  hash: string;
7265
7265
  }, {
7266
- type: "tag" | "commit" | "branch";
7266
+ type: "commit" | "tag" | "branch";
7267
7267
  name: string;
7268
7268
  hash: string;
7269
7269
  }>>>;
@@ -7289,8 +7289,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7289
7289
  conversationId: z.ZodOptional<z.ZodString>;
7290
7290
  ref: z.ZodObject<{
7291
7291
  type: z.ZodEnum<{
7292
- tag: "tag";
7293
7292
  commit: "commit";
7293
+ tag: "tag";
7294
7294
  branch: "branch";
7295
7295
  }>;
7296
7296
  name: z.ZodString;
@@ -7299,23 +7299,23 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7299
7299
  }>, z.core.$strip>;
7300
7300
  declare const TaskApiUpdateSchema: z.ZodObject<{
7301
7301
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7302
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7302
7303
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7303
7304
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7304
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7305
7305
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7306
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7307
7306
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7308
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7309
7307
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7310
7308
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7311
7309
  type: z.ZodEnum<{
7312
- tag: "tag";
7313
7310
  commit: "commit";
7311
+ tag: "tag";
7314
7312
  branch: "branch";
7315
7313
  }>;
7316
7314
  name: z.ZodString;
7317
7315
  hash: z.ZodString;
7318
7316
  }, z.core.$strip>>>;
7317
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7318
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7319
7319
  }, z.core.$strip>;
7320
7320
  declare const TaskRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
7321
7321
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -8256,9 +8256,9 @@ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
8256
8256
  declare const ToolInsertSchema: z.ZodObject<{
8257
8257
  id: z.ZodString;
8258
8258
  name: z.ZodString;
8259
- projectId: z.ZodString;
8260
- tenantId: z.ZodString;
8261
8259
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8260
+ tenantId: z.ZodString;
8261
+ projectId: z.ZodString;
8262
8262
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8263
8263
  config: z.ZodObject<{
8264
8264
  type: z.ZodLiteral<"mcp">;
@@ -8394,7 +8394,7 @@ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8394
8394
  dataType: "json";
8395
8395
  columnType: "PgJsonb";
8396
8396
  data: {
8397
- type: "tag" | "commit" | "branch";
8397
+ type: "commit" | "tag" | "branch";
8398
8398
  name: string;
8399
8399
  hash: string;
8400
8400
  };
@@ -8410,7 +8410,7 @@ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8410
8410
  generated: undefined;
8411
8411
  }, {}, {
8412
8412
  $type: {
8413
- type: "tag" | "commit" | "branch";
8413
+ type: "commit" | "tag" | "branch";
8414
8414
  name: string;
8415
8415
  hash: string;
8416
8416
  };
@@ -8623,7 +8623,7 @@ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8623
8623
  dataType: "json";
8624
8624
  columnType: "PgJsonb";
8625
8625
  data: {
8626
- type: "tag" | "commit" | "branch";
8626
+ type: "commit" | "tag" | "branch";
8627
8627
  name: string;
8628
8628
  hash: string;
8629
8629
  };
@@ -8639,7 +8639,7 @@ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8639
8639
  generated: undefined;
8640
8640
  }, {}, {
8641
8641
  $type: {
8642
- type: "tag" | "commit" | "branch";
8642
+ type: "commit" | "tag" | "branch";
8643
8643
  name: string;
8644
8644
  hash: string;
8645
8645
  };
@@ -8770,8 +8770,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
8770
8770
  contextConfigId: z.ZodOptional<z.ZodString>;
8771
8771
  ref: z.ZodObject<{
8772
8772
  type: z.ZodEnum<{
8773
- tag: "tag";
8774
8773
  commit: "commit";
8774
+ tag: "tag";
8775
8775
  branch: "branch";
8776
8776
  }>;
8777
8777
  name: z.ZodString;
@@ -8796,8 +8796,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
8796
8796
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8797
8797
  ref: z.ZodOptional<z.ZodObject<{
8798
8798
  type: z.ZodEnum<{
8799
- tag: "tag";
8800
8799
  commit: "commit";
8800
+ tag: "tag";
8801
8801
  branch: "branch";
8802
8802
  }>;
8803
8803
  name: z.ZodString;
@@ -8814,19 +8814,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
8814
8814
  agentId: z.ZodNullable<z.ZodString>;
8815
8815
  activeSubAgentId: z.ZodString;
8816
8816
  ref: z.ZodNullable<z.ZodType<{
8817
- type: "tag" | "commit" | "branch";
8817
+ type: "commit" | "tag" | "branch";
8818
8818
  name: string;
8819
8819
  hash: string;
8820
8820
  }, {
8821
- type: "tag" | "commit" | "branch";
8821
+ type: "commit" | "tag" | "branch";
8822
8822
  name: string;
8823
8823
  hash: string;
8824
8824
  }, z.core.$ZodTypeInternals<{
8825
- type: "tag" | "commit" | "branch";
8825
+ type: "commit" | "tag" | "branch";
8826
8826
  name: string;
8827
8827
  hash: string;
8828
8828
  }, {
8829
- type: "tag" | "commit" | "branch";
8829
+ type: "commit" | "tag" | "branch";
8830
8830
  name: string;
8831
8831
  hash: string;
8832
8832
  }>>>;
@@ -8852,8 +8852,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
8852
8852
  contextConfigId: z.ZodOptional<z.ZodString>;
8853
8853
  ref: z.ZodObject<{
8854
8854
  type: z.ZodEnum<{
8855
- tag: "tag";
8856
8855
  commit: "commit";
8856
+ tag: "tag";
8857
8857
  branch: "branch";
8858
8858
  }>;
8859
8859
  name: z.ZodString;
@@ -8862,23 +8862,23 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
8862
8862
  }>, z.core.$strip>;
8863
8863
  declare const ConversationApiUpdateSchema: z.ZodObject<{
8864
8864
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8865
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8866
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8865
8867
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8866
8868
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8867
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8868
8869
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8869
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8870
8870
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
8871
8871
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8872
+ activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8872
8873
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8873
8874
  type: z.ZodEnum<{
8874
- tag: "tag";
8875
8875
  commit: "commit";
8876
+ tag: "tag";
8876
8877
  branch: "branch";
8877
8878
  }>;
8878
8879
  name: z.ZodString;
8879
8880
  hash: z.ZodString;
8880
8881
  }, z.core.$strip>>>;
8881
- activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8882
8882
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8883
8883
  }, z.core.$strip>;
8884
8884
  declare const MessageSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -9778,17 +9778,17 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
9778
9778
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9779
9779
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
9780
9780
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9781
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9781
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9782
+ visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9782
9783
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9783
9784
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9784
9785
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9785
9786
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9786
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9787
9787
  a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9788
9788
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9789
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9789
9790
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9790
9791
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9791
- visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9792
9792
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9793
9793
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9794
9794
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -9891,7 +9891,7 @@ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
9891
9891
  dataType: "json";
9892
9892
  columnType: "PgJsonb";
9893
9893
  data: {
9894
- type: "tag" | "commit" | "branch";
9894
+ type: "commit" | "tag" | "branch";
9895
9895
  name: string;
9896
9896
  hash: string;
9897
9897
  };
@@ -9907,7 +9907,7 @@ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
9907
9907
  generated: undefined;
9908
9908
  }, {}, {
9909
9909
  $type: {
9910
- type: "tag" | "commit" | "branch";
9910
+ type: "commit" | "tag" | "branch";
9911
9911
  name: string;
9912
9912
  hash: string;
9913
9913
  };
@@ -10141,7 +10141,7 @@ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10141
10141
  dataType: "json";
10142
10142
  columnType: "PgJsonb";
10143
10143
  data: {
10144
- type: "tag" | "commit" | "branch";
10144
+ type: "commit" | "tag" | "branch";
10145
10145
  name: string;
10146
10146
  hash: string;
10147
10147
  };
@@ -10157,7 +10157,7 @@ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10157
10157
  generated: undefined;
10158
10158
  }, {}, {
10159
10159
  $type: {
10160
- type: "tag" | "commit" | "branch";
10160
+ type: "commit" | "tag" | "branch";
10161
10161
  name: string;
10162
10162
  hash: string;
10163
10163
  };
@@ -10309,8 +10309,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10309
10309
  id: z.ZodString;
10310
10310
  ref: z.ZodObject<{
10311
10311
  type: z.ZodEnum<{
10312
- tag: "tag";
10313
10312
  commit: "commit";
10313
+ tag: "tag";
10314
10314
  branch: "branch";
10315
10315
  }>;
10316
10316
  name: z.ZodString;
@@ -10335,8 +10335,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
10335
10335
  id: z.ZodOptional<z.ZodString>;
10336
10336
  ref: z.ZodOptional<z.ZodObject<{
10337
10337
  type: z.ZodEnum<{
10338
- tag: "tag";
10339
10338
  commit: "commit";
10339
+ tag: "tag";
10340
10340
  branch: "branch";
10341
10341
  }>;
10342
10342
  name: z.ZodString;
@@ -10353,19 +10353,19 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
10353
10353
  contextConfigId: z.ZodString;
10354
10354
  contextVariableKey: z.ZodString;
10355
10355
  ref: z.ZodNullable<z.ZodType<{
10356
- type: "tag" | "commit" | "branch";
10356
+ type: "commit" | "tag" | "branch";
10357
10357
  name: string;
10358
10358
  hash: string;
10359
10359
  }, {
10360
- type: "tag" | "commit" | "branch";
10360
+ type: "commit" | "tag" | "branch";
10361
10361
  name: string;
10362
10362
  hash: string;
10363
10363
  }, z.core.$ZodTypeInternals<{
10364
- type: "tag" | "commit" | "branch";
10364
+ type: "commit" | "tag" | "branch";
10365
10365
  name: string;
10366
10366
  hash: string;
10367
10367
  }, {
10368
- type: "tag" | "commit" | "branch";
10368
+ type: "commit" | "tag" | "branch";
10369
10369
  name: string;
10370
10370
  hash: string;
10371
10371
  }>>>;
@@ -10392,8 +10392,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10392
10392
  id: z.ZodString;
10393
10393
  ref: z.ZodObject<{
10394
10394
  type: z.ZodEnum<{
10395
- tag: "tag";
10396
10395
  commit: "commit";
10396
+ tag: "tag";
10397
10397
  branch: "branch";
10398
10398
  }>;
10399
10399
  name: z.ZodString;
@@ -10402,20 +10402,20 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10402
10402
  }>, z.core.$strip>;
10403
10403
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10404
10404
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10405
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
10405
10406
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10406
10407
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10407
10408
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10408
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
10409
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10410
10409
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
10411
10410
  type: z.ZodEnum<{
10412
- tag: "tag";
10413
10411
  commit: "commit";
10412
+ tag: "tag";
10414
10413
  branch: "branch";
10415
10414
  }>;
10416
10415
  name: z.ZodString;
10417
10416
  hash: z.ZodString;
10418
10417
  }, z.core.$strip>>>;
10418
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10419
10419
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10420
10420
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10421
10421
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -12101,27 +12101,27 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12101
12101
  id: z.ZodString;
12102
12102
  }>, z.core.$strip>;
12103
12103
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12104
- createdAt: z.ZodOptional<z.ZodString>;
12105
12104
  name: z.ZodString;
12106
- updatedAt: z.ZodOptional<z.ZodString>;
12107
12105
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12106
+ createdAt: z.ZodOptional<z.ZodString>;
12107
+ updatedAt: z.ZodOptional<z.ZodString>;
12108
12108
  isActive: z.ZodOptional<z.ZodBoolean>;
12109
12109
  suiteConfigIds: z.ZodArray<z.ZodString>;
12110
12110
  }, z.core.$strip>;
12111
12111
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12112
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12113
12112
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12114
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12115
12113
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12114
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12115
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12116
12116
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12117
12117
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12118
12118
  }, z.core.$strip>;
12119
12119
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12120
12120
  id: z.ZodString;
12121
- createdAt: z.ZodString;
12122
12121
  name: z.ZodString;
12123
- updatedAt: z.ZodString;
12124
12122
  description: z.ZodNullable<z.ZodString>;
12123
+ createdAt: z.ZodString;
12124
+ updatedAt: z.ZodString;
12125
12125
  isActive: z.ZodBoolean;
12126
12126
  suiteConfigIds: z.ZodArray<z.ZodString>;
12127
12127
  }, z.core.$strip>;
@@ -14278,10 +14278,9 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14278
14278
  id: z.ZodString;
14279
14279
  }>, z.core.$strip>;
14280
14280
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14281
- createdAt: z.ZodOptional<z.ZodString>;
14282
14281
  name: z.ZodString;
14283
- updatedAt: z.ZodOptional<z.ZodString>;
14284
14282
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14283
+ prompt: z.ZodString;
14285
14284
  model: z.ZodType<{
14286
14285
  model?: string | undefined;
14287
14286
  providerOptions?: Record<string, any> | undefined;
@@ -14295,15 +14294,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14295
14294
  model?: string | undefined;
14296
14295
  providerOptions?: Record<string, any> | undefined;
14297
14296
  }>>;
14298
- prompt: z.ZodString;
14297
+ createdAt: z.ZodOptional<z.ZodString>;
14298
+ updatedAt: z.ZodOptional<z.ZodString>;
14299
14299
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14300
14300
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14301
14301
  }, z.core.$strip>;
14302
14302
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14303
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14304
14303
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14305
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14306
14304
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14305
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14307
14306
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14308
14307
  model?: string | undefined;
14309
14308
  providerOptions?: Record<string, any> | undefined;
@@ -14317,7 +14316,8 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14317
14316
  model?: string | undefined;
14318
14317
  providerOptions?: Record<string, any> | undefined;
14319
14318
  }>>>>;
14320
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14319
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14320
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14321
14321
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14322
14322
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
14323
14323
  }, z.core.$strip>;
@@ -14575,13 +14575,13 @@ declare const DatasetApiSelectSchema: z.ZodObject<OmitProjectScope<{
14575
14575
  id: z.ZodString;
14576
14576
  }>, z.core.$strip>;
14577
14577
  declare const DatasetApiInsertSchema: z.ZodObject<{
14578
- createdAt: z.ZodOptional<z.ZodString>;
14579
14578
  name: z.ZodString;
14579
+ createdAt: z.ZodOptional<z.ZodString>;
14580
14580
  updatedAt: z.ZodOptional<z.ZodString>;
14581
14581
  }, z.core.$strip>;
14582
14582
  declare const DatasetApiUpdateSchema: z.ZodObject<{
14583
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14584
14583
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14584
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14585
14585
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14586
14586
  }, z.core.$strip>;
14587
14587
  declare const DatasetItemSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -15215,8 +15215,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15215
15215
  }>>>>>>;
15216
15216
  }, z.core.$strip>;
15217
15217
  declare const DatasetRunItemSchema: z.ZodObject<{
15218
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15219
15218
  id: z.ZodOptional<z.ZodString>;
15219
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15220
15220
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15221
15221
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15222
15222
  prompt: string;
@@ -15264,8 +15264,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
15264
15264
  declare const TriggerDatasetRunSchema: z.ZodObject<{
15265
15265
  datasetRunId: z.ZodString;
15266
15266
  items: z.ZodArray<z.ZodObject<{
15267
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15268
15267
  id: z.ZodOptional<z.ZodString>;
15268
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15269
15269
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15270
15270
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15271
15271
  prompt: string;
@@ -15675,17 +15675,17 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
15675
15675
  id: z.ZodString;
15676
15676
  }>, z.core.$strip>;
15677
15677
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
15678
- createdAt: z.ZodOptional<z.ZodString>;
15679
15678
  name: z.ZodString;
15680
- updatedAt: z.ZodOptional<z.ZodString>;
15681
15679
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15680
+ createdAt: z.ZodOptional<z.ZodString>;
15681
+ updatedAt: z.ZodOptional<z.ZodString>;
15682
15682
  datasetId: z.ZodString;
15683
15683
  }, z.core.$strip>;
15684
15684
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
15685
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15686
15685
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15687
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15688
15686
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15687
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15688
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15689
15689
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15690
15690
  }, z.core.$strip>;
15691
15691
  declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -15994,9 +15994,9 @@ declare const SkillSelectSchema: z.ZodObject<{
15994
15994
  }>;
15995
15995
  declare const SkillInsertSchema: z.ZodObject<{
15996
15996
  name: z.ZodString;
15997
- projectId: z.ZodString;
15998
- tenantId: z.ZodString;
15999
15997
  description: z.ZodString;
15998
+ tenantId: z.ZodString;
15999
+ projectId: z.ZodString;
16000
16000
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16001
16001
  content: z.ZodString;
16002
16002
  }, {
@@ -16004,9 +16004,9 @@ declare const SkillInsertSchema: z.ZodObject<{
16004
16004
  in: {};
16005
16005
  }>;
16006
16006
  declare const SkillUpdateSchema: z.ZodObject<{
16007
- projectId: z.ZodOptional<z.ZodString>;
16008
- tenantId: z.ZodOptional<z.ZodString>;
16009
16007
  description: z.ZodOptional<z.ZodString>;
16008
+ tenantId: z.ZodOptional<z.ZodString>;
16009
+ projectId: z.ZodOptional<z.ZodString>;
16010
16010
  metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16011
16011
  content: z.ZodOptional<z.ZodString>;
16012
16012
  }, {
@@ -16026,9 +16026,9 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16026
16026
  }>, z.core.$strip>;
16027
16027
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16028
16028
  name: z.ZodString;
16029
- projectId: z.ZodString;
16030
- tenantId: z.ZodString;
16031
16029
  description: z.ZodString;
16030
+ tenantId: z.ZodString;
16031
+ projectId: z.ZodString;
16032
16032
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16033
16033
  content: z.ZodString;
16034
16034
  }>, z.core.$strip>;
@@ -16413,9 +16413,9 @@ declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
16413
16413
  declare const DataComponentInsertSchema: z.ZodObject<{
16414
16414
  id: z.ZodString;
16415
16415
  name: z.ZodString;
16416
- projectId: z.ZodString;
16417
- tenantId: z.ZodString;
16418
16416
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16417
+ tenantId: z.ZodString;
16418
+ projectId: z.ZodString;
16419
16419
  props: z.ZodType<{
16420
16420
  [x: string]: unknown;
16421
16421
  type: "object";
@@ -16465,9 +16465,9 @@ declare const DataComponentInsertSchema: z.ZodObject<{
16465
16465
  declare const DataComponentUpdateSchema: z.ZodObject<{
16466
16466
  id: z.ZodOptional<z.ZodString>;
16467
16467
  name: z.ZodOptional<z.ZodString>;
16468
- projectId: z.ZodOptional<z.ZodString>;
16469
- tenantId: z.ZodOptional<z.ZodString>;
16470
16468
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16469
+ tenantId: z.ZodOptional<z.ZodString>;
16470
+ projectId: z.ZodOptional<z.ZodString>;
16471
16471
  props: z.ZodOptional<z.ZodType<{
16472
16472
  [x: string]: unknown;
16473
16473
  type: "object";
@@ -17144,7 +17144,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"inser
17144
17144
  }, {}, {
17145
17145
  length: 256;
17146
17146
  }>;
17147
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17147
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17148
17148
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17149
17149
  dataComponentId: z.ZodOptional<z.ZodString>;
17150
17150
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17742,10 +17742,10 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
17742
17742
  }>;
17743
17743
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
17744
17744
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17745
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17746
17745
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17747
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17748
17746
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17747
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17748
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17749
17749
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
17750
17750
  [x: string]: unknown;
17751
17751
  type: "object";
@@ -18160,10 +18160,10 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18160
18160
  }>, z.core.$strip>;
18161
18161
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18162
18162
  agentId: z.ZodString;
18163
- subAgentId: z.ZodString;
18164
- skillId: z.ZodString;
18165
18163
  index: z.ZodInt;
18166
18164
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18165
+ subAgentId: z.ZodString;
18166
+ skillId: z.ZodString;
18167
18167
  }, {
18168
18168
  out: {};
18169
18169
  in: {};
@@ -18172,17 +18172,17 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18172
18172
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18173
18173
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18174
18174
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18175
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18176
- skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18177
18175
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18178
18176
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18177
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18178
+ skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18179
18179
  }, z.core.$strip>;
18180
18180
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18181
18181
  id: z.ZodString;
18182
- createdAt: z.ZodString;
18183
18182
  name: z.ZodString;
18184
- updatedAt: z.ZodString;
18185
18183
  description: z.ZodString;
18184
+ createdAt: z.ZodString;
18185
+ updatedAt: z.ZodString;
18186
18186
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18187
18187
  content: z.ZodString;
18188
18188
  subAgentSkillId: z.ZodString;
@@ -18207,9 +18207,9 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
18207
18207
  declare const ExternalAgentInsertSchema: z.ZodObject<{
18208
18208
  id: z.ZodString;
18209
18209
  name: z.ZodString;
18210
- projectId: z.ZodString;
18211
- tenantId: z.ZodString;
18212
18210
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18211
+ tenantId: z.ZodString;
18212
+ projectId: z.ZodString;
18213
18213
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18214
18214
  baseUrl: z.ZodURL;
18215
18215
  }, {
@@ -18219,9 +18219,9 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
18219
18219
  declare const ExternalAgentUpdateSchema: z.ZodObject<{
18220
18220
  id: z.ZodOptional<z.ZodString>;
18221
18221
  name: z.ZodOptional<z.ZodString>;
18222
- projectId: z.ZodOptional<z.ZodString>;
18223
- tenantId: z.ZodOptional<z.ZodString>;
18224
18222
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18223
+ tenantId: z.ZodOptional<z.ZodString>;
18224
+ projectId: z.ZodOptional<z.ZodString>;
18225
18225
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18226
18226
  baseUrl: z.ZodOptional<z.ZodURL>;
18227
18227
  }, {
@@ -18242,9 +18242,9 @@ declare const ExternalAgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
18242
18242
  declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18243
18243
  id: z.ZodString;
18244
18244
  name: z.ZodString;
18245
- projectId: z.ZodString;
18246
- tenantId: z.ZodString;
18247
18245
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18246
+ tenantId: z.ZodString;
18247
+ projectId: z.ZodString;
18248
18248
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18249
18249
  baseUrl: z.ZodURL;
18250
18250
  }>, z.core.$strip>;
@@ -18257,10 +18257,10 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18257
18257
  }, z.core.$strip>;
18258
18258
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18259
18259
  id: z.ZodString;
18260
- createdAt: z.ZodString;
18261
18260
  name: z.ZodString;
18262
- updatedAt: z.ZodString;
18263
18261
  description: z.ZodNullable<z.ZodString>;
18262
+ prompt: z.ZodNullable<z.ZodString>;
18263
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18264
18264
  models: z.ZodNullable<z.ZodType<{
18265
18265
  base?: {
18266
18266
  model?: string | undefined;
@@ -18314,7 +18314,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18314
18314
  providerOptions?: Record<string, any> | undefined;
18315
18315
  } | undefined;
18316
18316
  }>>>;
18317
- prompt: z.ZodNullable<z.ZodString>;
18318
18317
  stopWhen: z.ZodNullable<z.ZodType<{
18319
18318
  stepCountIs?: number | undefined;
18320
18319
  }, {
@@ -18324,14 +18323,15 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18324
18323
  }, {
18325
18324
  stepCountIs?: number | undefined;
18326
18325
  }>>>;
18327
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18326
+ createdAt: z.ZodString;
18327
+ updatedAt: z.ZodString;
18328
18328
  type: z.ZodLiteral<"internal">;
18329
18329
  }, z.core.$strip>, z.ZodObject<{
18330
18330
  id: z.ZodString;
18331
- createdAt: z.ZodString;
18332
18331
  name: z.ZodString;
18333
- updatedAt: z.ZodString;
18334
18332
  description: z.ZodNullable<z.ZodString>;
18333
+ createdAt: z.ZodString;
18334
+ updatedAt: z.ZodString;
18335
18335
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18336
18336
  baseUrl: z.ZodString;
18337
18337
  type: z.ZodLiteral<"external">;
@@ -18798,8 +18798,8 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
18798
18798
  }>;
18799
18799
  declare const ApiKeyUpdateSchema: z.ZodObject<{
18800
18800
  name: z.ZodOptional<z.ZodString>;
18801
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18802
18801
  agentId: z.ZodOptional<z.ZodString>;
18802
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18803
18803
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18804
18804
  }, {
18805
18805
  out: {};
@@ -18807,14 +18807,14 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
18807
18807
  }>;
18808
18808
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
18809
18809
  id: z.ZodString;
18810
- createdAt: z.ZodString;
18811
18810
  name: z.ZodNullable<z.ZodString>;
18812
- updatedAt: z.ZodString;
18813
18811
  agentId: z.ZodString;
18814
- expiresAt: z.ZodNullable<z.ZodString>;
18812
+ createdAt: z.ZodString;
18813
+ updatedAt: z.ZodString;
18815
18814
  publicId: z.ZodString;
18816
18815
  keyPrefix: z.ZodString;
18817
18816
  lastUsedAt: z.ZodNullable<z.ZodString>;
18817
+ expiresAt: z.ZodNullable<z.ZodString>;
18818
18818
  }, {
18819
18819
  out: {};
18820
18820
  in: {};
@@ -18823,14 +18823,14 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
18823
18823
  data: z.ZodObject<{
18824
18824
  apiKey: z.ZodObject<{
18825
18825
  id: z.ZodString;
18826
- createdAt: z.ZodString;
18827
18826
  name: z.ZodNullable<z.ZodString>;
18828
- updatedAt: z.ZodString;
18829
18827
  agentId: z.ZodString;
18830
- expiresAt: z.ZodNullable<z.ZodString>;
18828
+ createdAt: z.ZodString;
18829
+ updatedAt: z.ZodString;
18831
18830
  publicId: z.ZodString;
18832
18831
  keyPrefix: z.ZodString;
18833
18832
  lastUsedAt: z.ZodNullable<z.ZodString>;
18833
+ expiresAt: z.ZodNullable<z.ZodString>;
18834
18834
  }, {
18835
18835
  out: {};
18836
18836
  in: {};
@@ -18839,10 +18839,10 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
18839
18839
  }, z.core.$strip>;
18840
18840
  }, z.core.$strip>;
18841
18841
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
18842
- createdAt: z.ZodOptional<z.ZodString>;
18843
18842
  name: z.ZodString;
18844
- updatedAt: z.ZodOptional<z.ZodString>;
18845
18843
  agentId: z.ZodString;
18844
+ createdAt: z.ZodOptional<z.ZodString>;
18845
+ updatedAt: z.ZodOptional<z.ZodString>;
18846
18846
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18847
18847
  }, {
18848
18848
  out: {};
@@ -18850,8 +18850,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
18850
18850
  }>;
18851
18851
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
18852
18852
  name: z.ZodOptional<z.ZodString>;
18853
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18854
18853
  agentId: z.ZodOptional<z.ZodString>;
18854
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18855
18855
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18856
18856
  }, {
18857
18857
  out: {};
@@ -19434,10 +19434,10 @@ declare const AppInsertSchema: z.ZodObject<{
19434
19434
  }>;
19435
19435
  declare const AppUpdateSchema: z.ZodObject<{
19436
19436
  name: z.ZodOptional<z.ZodString>;
19437
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19438
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19439
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19440
19437
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19438
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19439
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19440
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19441
19441
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
19442
19442
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
19443
19443
  type: z.ZodLiteral<"web_client">;
@@ -19967,14 +19967,14 @@ declare const AppApiSelectSchema: drizzle_zod3.BuildSchema<"select", {
19967
19967
  }, {}, {}>;
19968
19968
  }, undefined>, undefined>;
19969
19969
  declare const AppApiResponseSelectSchema: z.ZodObject<{
19970
- type: z.ZodString;
19971
19970
  id: z.ZodString;
19972
- createdAt: z.ZodString;
19973
19971
  name: z.ZodString;
19974
- updatedAt: z.ZodString;
19975
- projectId: z.ZodNullable<z.ZodString>;
19976
- tenantId: z.ZodNullable<z.ZodString>;
19977
19972
  description: z.ZodNullable<z.ZodString>;
19973
+ tenantId: z.ZodNullable<z.ZodString>;
19974
+ projectId: z.ZodNullable<z.ZodString>;
19975
+ type: z.ZodString;
19976
+ createdAt: z.ZodString;
19977
+ updatedAt: z.ZodString;
19978
19978
  enabled: z.ZodBoolean;
19979
19979
  lastUsedAt: z.ZodNullable<z.ZodString>;
19980
19980
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -19993,16 +19993,16 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
19993
19993
  in: {};
19994
19994
  }>;
19995
19995
  declare const AppApiInsertSchema: z.ZodObject<{
19996
+ name: z.ZodString;
19997
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19998
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19999
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19996
20000
  type: z.ZodEnum<{
19997
20001
  web_client: "web_client";
19998
20002
  api: "api";
19999
20003
  }>;
20000
20004
  createdAt: z.ZodOptional<z.ZodString>;
20001
- name: z.ZodString;
20002
20005
  updatedAt: z.ZodOptional<z.ZodString>;
20003
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20004
- tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20005
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20006
20006
  enabled: z.ZodOptional<z.ZodBoolean>;
20007
20007
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
20008
20008
  type: z.ZodLiteral<"web_client">;
@@ -20021,10 +20021,10 @@ declare const AppApiInsertSchema: z.ZodObject<{
20021
20021
  }>;
20022
20022
  declare const AppApiUpdateSchema: z.ZodObject<{
20023
20023
  name: z.ZodOptional<z.ZodString>;
20024
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20025
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20026
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20027
20024
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20025
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20026
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20027
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20028
20028
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
20029
20029
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
20030
20030
  type: z.ZodLiteral<"web_client">;
@@ -20045,14 +20045,14 @@ declare const AppApiUpdateSchema: z.ZodObject<{
20045
20045
  declare const AppApiCreationResponseSchema: z.ZodObject<{
20046
20046
  data: z.ZodObject<{
20047
20047
  app: z.ZodObject<{
20048
- type: z.ZodString;
20049
20048
  id: z.ZodString;
20050
- createdAt: z.ZodString;
20051
20049
  name: z.ZodString;
20052
- updatedAt: z.ZodString;
20053
- projectId: z.ZodNullable<z.ZodString>;
20054
- tenantId: z.ZodNullable<z.ZodString>;
20055
20050
  description: z.ZodNullable<z.ZodString>;
20051
+ tenantId: z.ZodNullable<z.ZodString>;
20052
+ projectId: z.ZodNullable<z.ZodString>;
20053
+ type: z.ZodString;
20054
+ createdAt: z.ZodString;
20055
+ updatedAt: z.ZodString;
20056
20056
  enabled: z.ZodBoolean;
20057
20057
  lastUsedAt: z.ZodNullable<z.ZodString>;
20058
20058
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -20524,45 +20524,45 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
20524
20524
  }>;
20525
20525
  }, undefined>, undefined>;
20526
20526
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
20527
- type: z.ZodString;
20528
20527
  id: z.ZodString;
20529
20528
  name: z.ZodString;
20530
- projectId: z.ZodString;
20531
20529
  tenantId: z.ZodString;
20530
+ projectId: z.ZodString;
20531
+ type: z.ZodString;
20532
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20532
20533
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20533
20534
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20534
20535
  credentialStoreId: z.ZodString;
20535
20536
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20536
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20537
20537
  }, {
20538
20538
  out: {};
20539
20539
  in: {};
20540
20540
  }>;
20541
20541
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
20542
- type: z.ZodOptional<z.ZodString>;
20543
20542
  id: z.ZodOptional<z.ZodString>;
20544
20543
  name: z.ZodOptional<z.ZodString>;
20545
- projectId: z.ZodOptional<z.ZodString>;
20546
20544
  tenantId: z.ZodOptional<z.ZodString>;
20545
+ projectId: z.ZodOptional<z.ZodString>;
20546
+ type: z.ZodOptional<z.ZodString>;
20547
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20547
20548
  userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20548
20549
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20549
20550
  credentialStoreId: z.ZodOptional<z.ZodString>;
20550
20551
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
20551
- toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20552
20552
  }, {
20553
20553
  out: {};
20554
20554
  in: {};
20555
20555
  }>;
20556
20556
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20557
20557
  id: z.ZodString;
20558
- createdAt: z.ZodString;
20559
20558
  name: z.ZodString;
20559
+ createdAt: z.ZodString;
20560
20560
  updatedAt: z.ZodString;
20561
+ toolId: z.ZodNullable<z.ZodString>;
20561
20562
  userId: z.ZodNullable<z.ZodString>;
20562
20563
  createdBy: z.ZodNullable<z.ZodString>;
20563
20564
  credentialStoreId: z.ZodString;
20564
20565
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
20565
- toolId: z.ZodNullable<z.ZodString>;
20566
20566
  type: z.ZodEnum<{
20567
20567
  readonly memory: "memory";
20568
20568
  readonly keychain: "keychain";
@@ -21147,11 +21147,11 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
21147
21147
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21148
21148
  id: z.ZodString;
21149
21149
  name: z.ZodString;
21150
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21150
21151
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21151
21152
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21152
21153
  credentialStoreId: z.ZodString;
21153
21154
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21154
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21155
21155
  type: z.ZodEnum<{
21156
21156
  readonly memory: "memory";
21157
21157
  readonly keychain: "keychain";
@@ -21161,11 +21161,11 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21161
21161
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
21162
21162
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21163
21163
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21164
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21164
21165
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21165
21166
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21166
21167
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21167
21168
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
21168
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21169
21169
  type: z.ZodOptional<z.ZodEnum<{
21170
21170
  readonly memory: "memory";
21171
21171
  readonly keychain: "keychain";
@@ -21229,9 +21229,9 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
21229
21229
  declare const McpToolSchema: z.ZodObject<{
21230
21230
  id: z.ZodString;
21231
21231
  name: z.ZodString;
21232
- projectId: z.ZodString;
21233
- tenantId: z.ZodString;
21234
21232
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21233
+ tenantId: z.ZodString;
21234
+ projectId: z.ZodString;
21235
21235
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21236
21236
  config: z.ZodObject<{
21237
21237
  type: z.ZodLiteral<"mcp">;
@@ -21289,13 +21289,13 @@ declare const MCPToolConfigSchema: z.ZodObject<{
21289
21289
  id: z.ZodString;
21290
21290
  name: z.ZodString;
21291
21291
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21292
- expiresAt: z.ZodOptional<z.ZodString>;
21293
21292
  createdBy: z.ZodOptional<z.ZodString>;
21294
21293
  credentialScope: z.ZodOptional<z.ZodString>;
21295
21294
  imageUrl: z.ZodOptional<z.ZodString>;
21296
21295
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
21297
21296
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21298
21297
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
21298
+ expiresAt: z.ZodOptional<z.ZodString>;
21299
21299
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
21300
21300
  name: z.ZodString;
21301
21301
  description: z.ZodOptional<z.ZodString>;
@@ -21324,11 +21324,11 @@ declare const MCPToolConfigSchema: z.ZodObject<{
21324
21324
  credential: z.ZodOptional<z.ZodObject<{
21325
21325
  id: z.ZodString;
21326
21326
  name: z.ZodString;
21327
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21327
21328
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21328
21329
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21329
21330
  credentialStoreId: z.ZodString;
21330
21331
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21331
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21332
21332
  type: z.ZodEnum<{
21333
21333
  readonly memory: "memory";
21334
21334
  readonly keychain: "keychain";
@@ -21349,9 +21349,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
21349
21349
  declare const ToolUpdateSchema: z.ZodObject<{
21350
21350
  id: z.ZodOptional<z.ZodString>;
21351
21351
  name: z.ZodOptional<z.ZodString>;
21352
- projectId: z.ZodOptional<z.ZodString>;
21353
- tenantId: z.ZodOptional<z.ZodString>;
21354
21352
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21353
+ tenantId: z.ZodOptional<z.ZodString>;
21354
+ projectId: z.ZodOptional<z.ZodString>;
21355
21355
  headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
21356
21356
  config: z.ZodOptional<z.ZodObject<{
21357
21357
  type: z.ZodLiteral<"mcp">;
@@ -21421,9 +21421,9 @@ declare const ToolApiSelectSchema: z.ZodObject<OmitProjectScope<{
21421
21421
  declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
21422
21422
  id: z.ZodString;
21423
21423
  name: z.ZodString;
21424
- projectId: z.ZodString;
21425
- tenantId: z.ZodString;
21426
21424
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21425
+ tenantId: z.ZodString;
21426
+ projectId: z.ZodString;
21427
21427
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21428
21428
  config: z.ZodObject<{
21429
21429
  type: z.ZodLiteral<"mcp">;
@@ -21832,10 +21832,10 @@ declare const FunctionToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
21832
21832
  declare const FunctionToolInsertSchema: z.ZodObject<{
21833
21833
  id: z.ZodString;
21834
21834
  name: z.ZodString;
21835
- agentId: z.ZodString;
21836
- projectId: z.ZodString;
21837
- tenantId: z.ZodString;
21838
21835
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21836
+ tenantId: z.ZodString;
21837
+ projectId: z.ZodString;
21838
+ agentId: z.ZodString;
21839
21839
  functionId: z.ZodString;
21840
21840
  }, {
21841
21841
  out: {};
@@ -21844,10 +21844,10 @@ declare const FunctionToolInsertSchema: z.ZodObject<{
21844
21844
  declare const FunctionToolUpdateSchema: z.ZodObject<{
21845
21845
  id: z.ZodOptional<z.ZodString>;
21846
21846
  name: z.ZodOptional<z.ZodString>;
21847
- agentId: z.ZodOptional<z.ZodString>;
21848
- projectId: z.ZodOptional<z.ZodString>;
21849
- tenantId: z.ZodOptional<z.ZodString>;
21850
21847
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21848
+ tenantId: z.ZodOptional<z.ZodString>;
21849
+ projectId: z.ZodOptional<z.ZodString>;
21850
+ agentId: z.ZodOptional<z.ZodString>;
21851
21851
  functionId: z.ZodOptional<z.ZodString>;
21852
21852
  }, {
21853
21853
  out: {};
@@ -21855,28 +21855,28 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21855
21855
  }>;
21856
21856
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21857
21857
  id: z.ZodString;
21858
- createdAt: z.ZodString;
21859
21858
  name: z.ZodString;
21860
- updatedAt: z.ZodString;
21861
- agentId: z.ZodString;
21862
21859
  description: z.ZodNullable<z.ZodString>;
21860
+ agentId: z.ZodString;
21861
+ createdAt: z.ZodString;
21862
+ updatedAt: z.ZodString;
21863
21863
  functionId: z.ZodString;
21864
21864
  relationshipId: z.ZodOptional<z.ZodString>;
21865
21865
  }, z.core.$strip>;
21866
21866
  declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21867
21867
  id: z.ZodString;
21868
21868
  name: z.ZodString;
21869
- agentId: z.ZodString;
21870
- projectId: z.ZodString;
21871
- tenantId: z.ZodString;
21872
21869
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21870
+ tenantId: z.ZodString;
21871
+ projectId: z.ZodString;
21872
+ agentId: z.ZodString;
21873
21873
  functionId: z.ZodString;
21874
21874
  }>, z.core.$strip>;
21875
21875
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21876
21876
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21877
21877
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21878
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21879
21878
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21879
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21880
21880
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21881
21881
  }, z.core.$strip>;
21882
21882
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -22250,9 +22250,9 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
22250
22250
  id: z.ZodString;
22251
22251
  }>, z.core.$strip>;
22252
22252
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
22253
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22253
22254
  subAgentId: z.ZodString;
22254
22255
  functionToolId: z.ZodString;
22255
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
22256
22256
  }, {
22257
22257
  out: {};
22258
22258
  in: {};
@@ -22644,11 +22644,11 @@ declare const FetchDefinitionSchema: z.ZodObject<{
22644
22644
  credential: z.ZodOptional<z.ZodObject<{
22645
22645
  id: z.ZodString;
22646
22646
  name: z.ZodString;
22647
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22647
22648
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22648
22649
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22649
22650
  credentialStoreId: z.ZodString;
22650
22651
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22651
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22652
22652
  type: z.ZodEnum<{
22653
22653
  readonly memory: "memory";
22654
22654
  readonly keychain: "keychain";
@@ -22671,32 +22671,32 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
22671
22671
  }>;
22672
22672
  declare const ContextConfigInsertSchema: z.ZodObject<{
22673
22673
  id: z.ZodOptional<z.ZodString>;
22674
+ tenantId: z.ZodString;
22675
+ projectId: z.ZodString;
22676
+ agentId: z.ZodString;
22674
22677
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22675
22678
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22676
- agentId: z.ZodString;
22677
- projectId: z.ZodString;
22678
- tenantId: z.ZodString;
22679
22679
  }, {
22680
22680
  out: {};
22681
22681
  in: {};
22682
22682
  }>;
22683
22683
  declare const ContextConfigUpdateSchema: z.ZodObject<{
22684
22684
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22685
+ tenantId: z.ZodOptional<z.ZodString>;
22686
+ projectId: z.ZodOptional<z.ZodString>;
22687
+ agentId: z.ZodOptional<z.ZodString>;
22685
22688
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22686
22689
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22687
- agentId: z.ZodOptional<z.ZodString>;
22688
- projectId: z.ZodOptional<z.ZodString>;
22689
- tenantId: z.ZodOptional<z.ZodString>;
22690
22690
  }, {
22691
22691
  out: {};
22692
22692
  in: {};
22693
22693
  }>;
22694
22694
  declare const ContextConfigApiSelectSchema: z.ZodObject<{
22695
22695
  id: z.ZodString;
22696
- headersSchema: z.ZodOptional<z.ZodAny>;
22697
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
22698
22696
  createdAt: z.ZodString;
22699
22697
  updatedAt: z.ZodString;
22698
+ headersSchema: z.ZodOptional<z.ZodAny>;
22699
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
22700
22700
  }, z.core.$strip>;
22701
22701
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
22702
22702
  id: z.ZodOptional<z.ZodString>;
@@ -23197,12 +23197,12 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
23197
23197
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23198
23198
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23199
23199
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23200
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23201
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23202
23200
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23201
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23203
23202
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23204
23203
  needsApproval: z.ZodOptional<z.ZodBoolean>;
23205
23204
  }, z.core.$strip>>>>>>;
23205
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23206
23206
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
23207
23207
  }, z.core.$strip>;
23208
23208
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -23592,8 +23592,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
23592
23592
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23593
23593
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23594
23594
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23595
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23596
23595
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23596
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23597
23597
  }, z.core.$strip>;
23598
23598
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
23599
23599
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -25326,7 +25326,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
25326
25326
  }, {}, {
25327
25327
  length: 256;
25328
25328
  }>;
25329
- }, "type" | "id" | "createdAt" | "name" | "updatedAt" | "projectId" | "tenantId" | "description" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
25329
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "toolCallId" | "contextId" | "parts" | "summary" | "mime" | "visibility" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
25330
25330
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
25331
25331
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25332
25332
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -25391,20 +25391,20 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
25391
25391
  id: z.ZodString;
25392
25392
  }>, z.core.$strip>;
25393
25393
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
25394
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25395
25394
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25396
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25397
25395
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25398
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25399
25396
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25397
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25398
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25399
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25400
25400
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
25401
25401
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25402
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25403
- visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25404
25402
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25403
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25405
25404
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
25406
25405
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25407
25406
  mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
25407
+ visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25408
25408
  allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
25409
25409
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25410
25410
  }, z.core.$strip>;
@@ -25472,10 +25472,9 @@ declare const TeamAgentSchema: z.ZodObject<{
25472
25472
  }, z.core.$strip>;
25473
25473
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
25474
25474
  id: z.ZodString;
25475
- createdAt: z.ZodOptional<z.ZodString>;
25476
25475
  name: z.ZodString;
25477
- updatedAt: z.ZodOptional<z.ZodString>;
25478
25476
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25477
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25479
25478
  models: z.ZodOptional<z.ZodObject<{
25480
25479
  base: z.ZodOptional<z.ZodObject<{
25481
25480
  model: z.ZodOptional<z.ZodString>;
@@ -25490,7 +25489,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25490
25489
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25491
25490
  }, z.core.$strip>>;
25492
25491
  }, z.core.$strip>>;
25493
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25492
+ createdAt: z.ZodOptional<z.ZodString>;
25493
+ updatedAt: z.ZodOptional<z.ZodString>;
25494
25494
  type: z.ZodLiteral<"internal">;
25495
25495
  canUse: z.ZodArray<z.ZodObject<{
25496
25496
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25531,10 +25531,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25531
25531
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25532
25532
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25533
25533
  id: z.ZodString;
25534
- createdAt: z.ZodOptional<z.ZodString>;
25535
25534
  name: z.ZodString;
25536
- updatedAt: z.ZodOptional<z.ZodString>;
25537
25535
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25536
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25538
25537
  models: z.ZodOptional<z.ZodObject<{
25539
25538
  base: z.ZodOptional<z.ZodObject<{
25540
25539
  model: z.ZodOptional<z.ZodString>;
@@ -25549,7 +25548,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25549
25548
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25550
25549
  }, z.core.$strip>>;
25551
25550
  }, z.core.$strip>>;
25552
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25551
+ createdAt: z.ZodOptional<z.ZodString>;
25552
+ updatedAt: z.ZodOptional<z.ZodString>;
25553
25553
  type: z.ZodLiteral<"internal">;
25554
25554
  canUse: z.ZodArray<z.ZodObject<{
25555
25555
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25585,9 +25585,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25585
25585
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25586
25586
  id: z.ZodString;
25587
25587
  name: z.ZodString;
25588
- projectId: z.ZodString;
25589
- tenantId: z.ZodString;
25590
25588
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25589
+ tenantId: z.ZodString;
25590
+ projectId: z.ZodString;
25591
25591
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
25592
25592
  config: z.ZodObject<{
25593
25593
  type: z.ZodLiteral<"mcp">;
@@ -25625,9 +25625,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25625
25625
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25626
25626
  id: z.ZodString;
25627
25627
  name: z.ZodString;
25628
- projectId: z.ZodString;
25629
- tenantId: z.ZodString;
25630
25628
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25629
+ tenantId: z.ZodString;
25630
+ projectId: z.ZodString;
25631
25631
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25632
25632
  baseUrl: z.ZodURL;
25633
25633
  }>, z.core.$strip>>>;
@@ -25639,10 +25639,10 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25639
25639
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
25640
25640
  id: z.ZodString;
25641
25641
  name: z.ZodString;
25642
- agentId: z.ZodString;
25643
- projectId: z.ZodString;
25644
- tenantId: z.ZodString;
25645
25642
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25643
+ tenantId: z.ZodString;
25644
+ projectId: z.ZodString;
25645
+ agentId: z.ZodString;
25646
25646
  functionId: z.ZodString;
25647
25647
  }>, z.core.$strip>>>;
25648
25648
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -25782,8 +25782,8 @@ declare const ProjectSelectSchema: z.ZodObject<{
25782
25782
  declare const ProjectInsertSchema: z.ZodObject<{
25783
25783
  id: z.ZodString;
25784
25784
  name: z.ZodString;
25785
- tenantId: z.ZodString;
25786
25785
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25786
+ tenantId: z.ZodString;
25787
25787
  models: z.ZodObject<{
25788
25788
  base: z.ZodObject<{
25789
25789
  model: z.ZodOptional<z.ZodString>;
@@ -25833,9 +25833,7 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25833
25833
  }>;
25834
25834
  declare const ProjectApiSelectSchema: z.ZodObject<{
25835
25835
  id: z.ZodString;
25836
- createdAt: z.ZodString;
25837
25836
  name: z.ZodString;
25838
- updatedAt: z.ZodString;
25839
25837
  description: z.ZodNullable<z.ZodString>;
25840
25838
  models: z.ZodNullable<z.ZodObject<{
25841
25839
  base: z.ZodObject<{
@@ -25855,6 +25853,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25855
25853
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25856
25854
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25857
25855
  }, z.core.$strip>>;
25856
+ createdAt: z.ZodString;
25857
+ updatedAt: z.ZodString;
25858
25858
  }, {
25859
25859
  out: {};
25860
25860
  in: {};
@@ -25940,10 +25940,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25940
25940
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25941
25941
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25942
25942
  id: z.ZodString;
25943
- createdAt: z.ZodOptional<z.ZodString>;
25944
25943
  name: z.ZodString;
25945
- updatedAt: z.ZodOptional<z.ZodString>;
25946
25944
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25945
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25947
25946
  models: z.ZodOptional<z.ZodObject<{
25948
25947
  base: z.ZodOptional<z.ZodObject<{
25949
25948
  model: z.ZodOptional<z.ZodString>;
@@ -25958,7 +25957,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25958
25957
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25959
25958
  }, z.core.$strip>>;
25960
25959
  }, z.core.$strip>>;
25961
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25960
+ createdAt: z.ZodOptional<z.ZodString>;
25961
+ updatedAt: z.ZodOptional<z.ZodString>;
25962
25962
  type: z.ZodLiteral<"internal">;
25963
25963
  canUse: z.ZodArray<z.ZodObject<{
25964
25964
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25994,9 +25994,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25994
25994
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25995
25995
  id: z.ZodString;
25996
25996
  name: z.ZodString;
25997
- projectId: z.ZodString;
25998
- tenantId: z.ZodString;
25999
25997
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25998
+ tenantId: z.ZodString;
25999
+ projectId: z.ZodString;
26000
26000
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26001
26001
  config: z.ZodObject<{
26002
26002
  type: z.ZodLiteral<"mcp">;
@@ -26034,9 +26034,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26034
26034
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26035
26035
  id: z.ZodString;
26036
26036
  name: z.ZodString;
26037
- projectId: z.ZodString;
26038
- tenantId: z.ZodString;
26039
26037
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26038
+ tenantId: z.ZodString;
26039
+ projectId: z.ZodString;
26040
26040
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26041
26041
  baseUrl: z.ZodURL;
26042
26042
  }>, z.core.$strip>>>;
@@ -26048,10 +26048,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26048
26048
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
26049
26049
  id: z.ZodString;
26050
26050
  name: z.ZodString;
26051
- agentId: z.ZodString;
26052
- projectId: z.ZodString;
26053
- tenantId: z.ZodString;
26054
26051
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26052
+ tenantId: z.ZodString;
26053
+ projectId: z.ZodString;
26054
+ agentId: z.ZodString;
26055
26055
  functionId: z.ZodString;
26056
26056
  }>, z.core.$strip>>>;
26057
26057
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -26132,9 +26132,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26132
26132
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26133
26133
  id: z.ZodString;
26134
26134
  name: z.ZodString;
26135
- projectId: z.ZodString;
26136
- tenantId: z.ZodString;
26137
26135
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26136
+ tenantId: z.ZodString;
26137
+ projectId: z.ZodString;
26138
26138
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26139
26139
  config: z.ZodObject<{
26140
26140
  type: z.ZodLiteral<"mcp">;
@@ -26172,10 +26172,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26172
26172
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
26173
26173
  id: z.ZodString;
26174
26174
  name: z.ZodString;
26175
- agentId: z.ZodString;
26176
- projectId: z.ZodString;
26177
- tenantId: z.ZodString;
26178
26175
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26176
+ tenantId: z.ZodString;
26177
+ projectId: z.ZodString;
26178
+ agentId: z.ZodString;
26179
26179
  functionId: z.ZodString;
26180
26180
  }>, z.core.$strip>>>;
26181
26181
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -26186,9 +26186,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26186
26186
  }, z.core.$strip>>>;
26187
26187
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26188
26188
  name: z.ZodString;
26189
- projectId: z.ZodString;
26190
- tenantId: z.ZodString;
26191
26189
  description: z.ZodString;
26190
+ tenantId: z.ZodString;
26191
+ projectId: z.ZodString;
26192
26192
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
26193
26193
  content: z.ZodString;
26194
26194
  }>, z.core.$strip>>>;
@@ -26248,9 +26248,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26248
26248
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26249
26249
  id: z.ZodString;
26250
26250
  name: z.ZodString;
26251
- projectId: z.ZodString;
26252
- tenantId: z.ZodString;
26253
26251
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26252
+ tenantId: z.ZodString;
26253
+ projectId: z.ZodString;
26254
26254
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26255
26255
  baseUrl: z.ZodURL;
26256
26256
  }>, z.core.$strip>>>;
@@ -26272,11 +26272,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26272
26272
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26273
26273
  id: z.ZodString;
26274
26274
  name: z.ZodString;
26275
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26275
26276
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26276
26277
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26277
26278
  credentialStoreId: z.ZodString;
26278
26279
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26279
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26280
26280
  type: z.ZodEnum<{
26281
26281
  readonly memory: "memory";
26282
26282
  readonly keychain: "keychain";
@@ -26291,10 +26291,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26291
26291
  }>;
26292
26292
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26293
26293
  id: z.ZodString;
26294
- createdAt: z.ZodString;
26295
26294
  name: z.ZodString;
26296
- updatedAt: z.ZodString;
26297
26295
  description: z.ZodNullable<z.ZodString>;
26296
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26298
26297
  models: z.ZodNullable<z.ZodType<{
26299
26298
  base?: {
26300
26299
  model?: string | undefined;
@@ -26357,7 +26356,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26357
26356
  }, {
26358
26357
  stepCountIs?: number | undefined;
26359
26358
  }>>>;
26360
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26359
+ createdAt: z.ZodString;
26360
+ updatedAt: z.ZodString;
26361
26361
  type: z.ZodLiteral<"internal">;
26362
26362
  canUse: z.ZodArray<z.ZodObject<{
26363
26363
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26384,10 +26384,9 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26384
26384
  }, z.core.$strip>;
26385
26385
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26386
26386
  id: z.ZodString;
26387
- createdAt: z.ZodString;
26388
26387
  name: z.ZodString;
26389
- updatedAt: z.ZodString;
26390
26388
  description: z.ZodNullable<z.ZodString>;
26389
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26391
26390
  models: z.ZodNullable<z.ZodType<{
26392
26391
  base?: {
26393
26392
  model?: string | undefined;
@@ -26450,7 +26449,8 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26450
26449
  }, {
26451
26450
  stepCountIs?: number | undefined;
26452
26451
  }>>>;
26453
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26452
+ createdAt: z.ZodString;
26453
+ updatedAt: z.ZodString;
26454
26454
  type: z.ZodLiteral<"internal">;
26455
26455
  canUse: z.ZodArray<z.ZodObject<{
26456
26456
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26483,18 +26483,17 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26483
26483
  }, z.core.$strip>;
26484
26484
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26485
26485
  id: z.ZodString;
26486
- createdAt: z.ZodString;
26487
26486
  name: z.ZodString;
26488
- updatedAt: z.ZodString;
26489
26487
  description: z.ZodNullable<z.ZodString>;
26490
26488
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26489
+ createdAt: z.ZodString;
26490
+ updatedAt: z.ZodString;
26491
26491
  contextConfigId: z.ZodNullable<z.ZodString>;
26492
26492
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26493
26493
  id: z.ZodString;
26494
- createdAt: z.ZodString;
26495
26494
  name: z.ZodString;
26496
- updatedAt: z.ZodString;
26497
26495
  description: z.ZodNullable<z.ZodString>;
26496
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26498
26497
  models: z.ZodNullable<z.ZodType<{
26499
26498
  base?: {
26500
26499
  model?: string | undefined;
@@ -26557,7 +26556,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26557
26556
  }, {
26558
26557
  stepCountIs?: number | undefined;
26559
26558
  }>>>;
26560
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26559
+ createdAt: z.ZodString;
26560
+ updatedAt: z.ZodString;
26561
26561
  type: z.ZodLiteral<"internal">;
26562
26562
  canUse: z.ZodArray<z.ZodObject<{
26563
26563
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26629,11 +26629,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26629
26629
  }, z.core.$strip>>>;
26630
26630
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26631
26631
  id: z.ZodString;
26632
- createdAt: z.ZodString;
26633
26632
  name: z.ZodString;
26634
- updatedAt: z.ZodString;
26635
- agentId: z.ZodString;
26636
26633
  description: z.ZodNullable<z.ZodString>;
26634
+ agentId: z.ZodString;
26635
+ createdAt: z.ZodString;
26636
+ updatedAt: z.ZodString;
26637
26637
  functionId: z.ZodString;
26638
26638
  relationshipId: z.ZodOptional<z.ZodString>;
26639
26639
  }, z.core.$strip>>>;
@@ -26670,10 +26670,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26670
26670
  }>, z.core.$strip>>>;
26671
26671
  contextConfig: z.ZodNullable<z.ZodObject<{
26672
26672
  id: z.ZodString;
26673
- headersSchema: z.ZodOptional<z.ZodAny>;
26674
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26675
26673
  createdAt: z.ZodString;
26676
26674
  updatedAt: z.ZodString;
26675
+ headersSchema: z.ZodOptional<z.ZodAny>;
26676
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26677
26677
  }, z.core.$strip>>;
26678
26678
  statusUpdates: z.ZodNullable<z.ZodObject<{
26679
26679
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26711,11 +26711,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26711
26711
  }, z.core.$strip>;
26712
26712
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26713
26713
  id: z.ZodString;
26714
- createdAt: z.ZodString;
26715
26714
  name: z.ZodString;
26716
- updatedAt: z.ZodString;
26717
26715
  description: z.ZodNullable<z.ZodString>;
26718
26716
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26717
+ createdAt: z.ZodString;
26718
+ updatedAt: z.ZodString;
26719
26719
  contextConfigId: z.ZodNullable<z.ZodString>;
26720
26720
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26721
26721
  createdAt: z.ZodString;
@@ -26764,11 +26764,11 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26764
26764
  }, z.core.$strip>>>;
26765
26765
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26766
26766
  id: z.ZodString;
26767
- createdAt: z.ZodString;
26768
26767
  name: z.ZodString;
26769
- updatedAt: z.ZodString;
26770
- agentId: z.ZodString;
26771
26768
  description: z.ZodNullable<z.ZodString>;
26769
+ agentId: z.ZodString;
26770
+ createdAt: z.ZodString;
26771
+ updatedAt: z.ZodString;
26772
26772
  functionId: z.ZodString;
26773
26773
  relationshipId: z.ZodOptional<z.ZodString>;
26774
26774
  }, z.core.$strip>>>;
@@ -26805,10 +26805,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26805
26805
  }>, z.core.$strip>>>;
26806
26806
  contextConfig: z.ZodNullable<z.ZodObject<{
26807
26807
  id: z.ZodString;
26808
- headersSchema: z.ZodOptional<z.ZodAny>;
26809
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26810
26808
  createdAt: z.ZodString;
26811
26809
  updatedAt: z.ZodString;
26810
+ headersSchema: z.ZodOptional<z.ZodAny>;
26811
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26812
26812
  }, z.core.$strip>>;
26813
26813
  statusUpdates: z.ZodNullable<z.ZodObject<{
26814
26814
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26845,10 +26845,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26845
26845
  prompt: z.ZodNullable<z.ZodString>;
26846
26846
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26847
26847
  id: z.ZodString;
26848
- createdAt: z.ZodString;
26849
26848
  name: z.ZodString;
26850
- updatedAt: z.ZodString;
26851
26849
  description: z.ZodNullable<z.ZodString>;
26850
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26852
26851
  models: z.ZodNullable<z.ZodType<{
26853
26852
  base?: {
26854
26853
  model?: string | undefined;
@@ -26911,7 +26910,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26911
26910
  }, {
26912
26911
  stepCountIs?: number | undefined;
26913
26912
  }>>>;
26914
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26913
+ createdAt: z.ZodString;
26914
+ updatedAt: z.ZodString;
26915
26915
  type: z.ZodLiteral<"internal">;
26916
26916
  canUse: z.ZodArray<z.ZodObject<{
26917
26917
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26945,9 +26945,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26945
26945
  }, z.core.$strip>;
26946
26946
  declare const FullProjectSelectSchema: z.ZodObject<{
26947
26947
  id: z.ZodString;
26948
- createdAt: z.ZodString;
26949
26948
  name: z.ZodString;
26950
- updatedAt: z.ZodString;
26951
26949
  description: z.ZodNullable<z.ZodString>;
26952
26950
  models: z.ZodNullable<z.ZodObject<{
26953
26951
  base: z.ZodObject<{
@@ -26967,20 +26965,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26967
26965
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26968
26966
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26969
26967
  }, z.core.$strip>>;
26968
+ createdAt: z.ZodString;
26969
+ updatedAt: z.ZodString;
26970
26970
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26971
26971
  id: z.ZodString;
26972
- createdAt: z.ZodString;
26973
26972
  name: z.ZodString;
26974
- updatedAt: z.ZodString;
26975
26973
  description: z.ZodNullable<z.ZodString>;
26976
26974
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26975
+ createdAt: z.ZodString;
26976
+ updatedAt: z.ZodString;
26977
26977
  contextConfigId: z.ZodNullable<z.ZodString>;
26978
26978
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26979
26979
  id: z.ZodString;
26980
- createdAt: z.ZodString;
26981
26980
  name: z.ZodString;
26982
- updatedAt: z.ZodString;
26983
26981
  description: z.ZodNullable<z.ZodString>;
26982
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26984
26983
  models: z.ZodNullable<z.ZodType<{
26985
26984
  base?: {
26986
26985
  model?: string | undefined;
@@ -27043,7 +27042,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27043
27042
  }, {
27044
27043
  stepCountIs?: number | undefined;
27045
27044
  }>>>;
27046
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27045
+ createdAt: z.ZodString;
27046
+ updatedAt: z.ZodString;
27047
27047
  type: z.ZodLiteral<"internal">;
27048
27048
  canUse: z.ZodArray<z.ZodObject<{
27049
27049
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27115,11 +27115,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27115
27115
  }, z.core.$strip>>>;
27116
27116
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27117
27117
  id: z.ZodString;
27118
- createdAt: z.ZodString;
27119
27118
  name: z.ZodString;
27120
- updatedAt: z.ZodString;
27121
- agentId: z.ZodString;
27122
27119
  description: z.ZodNullable<z.ZodString>;
27120
+ agentId: z.ZodString;
27121
+ createdAt: z.ZodString;
27122
+ updatedAt: z.ZodString;
27123
27123
  functionId: z.ZodString;
27124
27124
  relationshipId: z.ZodOptional<z.ZodString>;
27125
27125
  }, z.core.$strip>>>;
@@ -27156,10 +27156,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27156
27156
  }>, z.core.$strip>>>;
27157
27157
  contextConfig: z.ZodNullable<z.ZodObject<{
27158
27158
  id: z.ZodString;
27159
- headersSchema: z.ZodOptional<z.ZodAny>;
27160
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27161
27159
  createdAt: z.ZodString;
27162
27160
  updatedAt: z.ZodString;
27161
+ headersSchema: z.ZodOptional<z.ZodAny>;
27162
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27163
27163
  }, z.core.$strip>>;
27164
27164
  statusUpdates: z.ZodNullable<z.ZodObject<{
27165
27165
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -27226,11 +27226,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27226
27226
  }>, z.core.$strip>>;
27227
27227
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27228
27228
  id: z.ZodString;
27229
- createdAt: z.ZodString;
27230
27229
  name: z.ZodString;
27231
- updatedAt: z.ZodString;
27232
- agentId: z.ZodString;
27233
27230
  description: z.ZodNullable<z.ZodString>;
27231
+ agentId: z.ZodString;
27232
+ createdAt: z.ZodString;
27233
+ updatedAt: z.ZodString;
27234
27234
  functionId: z.ZodString;
27235
27235
  relationshipId: z.ZodOptional<z.ZodString>;
27236
27236
  }, z.core.$strip>>>;
@@ -27374,14 +27374,14 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27374
27374
  }, z.core.$strip>>;
27375
27375
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27376
27376
  id: z.ZodString;
27377
- createdAt: z.ZodString;
27378
27377
  name: z.ZodString;
27378
+ createdAt: z.ZodString;
27379
27379
  updatedAt: z.ZodString;
27380
+ toolId: z.ZodNullable<z.ZodString>;
27380
27381
  userId: z.ZodNullable<z.ZodString>;
27381
27382
  createdBy: z.ZodNullable<z.ZodString>;
27382
27383
  credentialStoreId: z.ZodString;
27383
27384
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27384
- toolId: z.ZodNullable<z.ZodString>;
27385
27385
  type: z.ZodEnum<{
27386
27386
  readonly memory: "memory";
27387
27387
  readonly keychain: "keychain";
@@ -27969,9 +27969,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27969
27969
  }>;
27970
27970
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27971
27971
  id: z.ZodString;
27972
- createdAt: z.ZodString;
27973
27972
  name: z.ZodString;
27974
- updatedAt: z.ZodString;
27975
27973
  description: z.ZodNullable<z.ZodString>;
27976
27974
  models: z.ZodNullable<z.ZodObject<{
27977
27975
  base: z.ZodObject<{
@@ -27991,6 +27989,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27991
27989
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27992
27990
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27993
27991
  }, z.core.$strip>>;
27992
+ createdAt: z.ZodString;
27993
+ updatedAt: z.ZodString;
27994
27994
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27995
27995
  createdAt: z.ZodString;
27996
27996
  updatedAt: z.ZodString;
@@ -28022,11 +28022,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28022
28022
  }>, z.core.$strip>>;
28023
28023
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28024
28024
  id: z.ZodString;
28025
- createdAt: z.ZodString;
28026
28025
  name: z.ZodString;
28027
- updatedAt: z.ZodString;
28028
- agentId: z.ZodString;
28029
28026
  description: z.ZodNullable<z.ZodString>;
28027
+ agentId: z.ZodString;
28028
+ createdAt: z.ZodString;
28029
+ updatedAt: z.ZodString;
28030
28030
  functionId: z.ZodString;
28031
28031
  relationshipId: z.ZodOptional<z.ZodString>;
28032
28032
  }, z.core.$strip>>>;
@@ -28170,14 +28170,14 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28170
28170
  }, z.core.$strip>>;
28171
28171
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28172
28172
  id: z.ZodString;
28173
- createdAt: z.ZodString;
28174
28173
  name: z.ZodString;
28174
+ createdAt: z.ZodString;
28175
28175
  updatedAt: z.ZodString;
28176
+ toolId: z.ZodNullable<z.ZodString>;
28176
28177
  userId: z.ZodNullable<z.ZodString>;
28177
28178
  createdBy: z.ZodNullable<z.ZodString>;
28178
28179
  credentialStoreId: z.ZodString;
28179
28180
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28180
- toolId: z.ZodNullable<z.ZodString>;
28181
28181
  type: z.ZodEnum<{
28182
28182
  readonly memory: "memory";
28183
28183
  readonly keychain: "keychain";
@@ -28761,11 +28761,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28761
28761
  }, z.core.$strip>>>;
28762
28762
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28763
28763
  id: z.ZodString;
28764
- createdAt: z.ZodString;
28765
28764
  name: z.ZodString;
28766
- updatedAt: z.ZodString;
28767
28765
  description: z.ZodNullable<z.ZodString>;
28768
28766
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28767
+ createdAt: z.ZodString;
28768
+ updatedAt: z.ZodString;
28769
28769
  contextConfigId: z.ZodNullable<z.ZodString>;
28770
28770
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28771
28771
  createdAt: z.ZodString;
@@ -28814,11 +28814,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28814
28814
  }, z.core.$strip>>>;
28815
28815
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28816
28816
  id: z.ZodString;
28817
- createdAt: z.ZodString;
28818
28817
  name: z.ZodString;
28819
- updatedAt: z.ZodString;
28820
- agentId: z.ZodString;
28821
28818
  description: z.ZodNullable<z.ZodString>;
28819
+ agentId: z.ZodString;
28820
+ createdAt: z.ZodString;
28821
+ updatedAt: z.ZodString;
28822
28822
  functionId: z.ZodString;
28823
28823
  relationshipId: z.ZodOptional<z.ZodString>;
28824
28824
  }, z.core.$strip>>>;
@@ -28855,10 +28855,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28855
28855
  }>, z.core.$strip>>>;
28856
28856
  contextConfig: z.ZodNullable<z.ZodObject<{
28857
28857
  id: z.ZodString;
28858
- headersSchema: z.ZodOptional<z.ZodAny>;
28859
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
28860
28858
  createdAt: z.ZodString;
28861
28859
  updatedAt: z.ZodString;
28860
+ headersSchema: z.ZodOptional<z.ZodAny>;
28861
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
28862
28862
  }, z.core.$strip>>;
28863
28863
  statusUpdates: z.ZodNullable<z.ZodObject<{
28864
28864
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -28895,10 +28895,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28895
28895
  prompt: z.ZodNullable<z.ZodString>;
28896
28896
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28897
28897
  id: z.ZodString;
28898
- createdAt: z.ZodString;
28899
28898
  name: z.ZodString;
28900
- updatedAt: z.ZodString;
28901
28899
  description: z.ZodNullable<z.ZodString>;
28900
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28902
28901
  models: z.ZodNullable<z.ZodType<{
28903
28902
  base?: {
28904
28903
  model?: string | undefined;
@@ -28961,7 +28960,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28961
28960
  }, {
28962
28961
  stepCountIs?: number | undefined;
28963
28962
  }>>>;
28964
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28963
+ createdAt: z.ZodString;
28964
+ updatedAt: z.ZodString;
28965
28965
  type: z.ZodLiteral<"internal">;
28966
28966
  canUse: z.ZodArray<z.ZodObject<{
28967
28967
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -29000,9 +29000,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29000
29000
  declare const ProjectResponse: z.ZodObject<{
29001
29001
  data: z.ZodObject<{
29002
29002
  id: z.ZodString;
29003
- createdAt: z.ZodString;
29004
29003
  name: z.ZodString;
29005
- updatedAt: z.ZodString;
29006
29004
  description: z.ZodNullable<z.ZodString>;
29007
29005
  models: z.ZodNullable<z.ZodObject<{
29008
29006
  base: z.ZodObject<{
@@ -29022,6 +29020,8 @@ declare const ProjectResponse: z.ZodObject<{
29022
29020
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29023
29021
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29024
29022
  }, z.core.$strip>>;
29023
+ createdAt: z.ZodString;
29024
+ updatedAt: z.ZodString;
29025
29025
  }, {
29026
29026
  out: {};
29027
29027
  in: {};
@@ -29252,23 +29252,23 @@ declare const ExternalAgentResponse: z.ZodObject<{
29252
29252
  declare const ContextConfigResponse: z.ZodObject<{
29253
29253
  data: z.ZodObject<{
29254
29254
  id: z.ZodString;
29255
- headersSchema: z.ZodOptional<z.ZodAny>;
29256
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
29257
29255
  createdAt: z.ZodString;
29258
29256
  updatedAt: z.ZodString;
29257
+ headersSchema: z.ZodOptional<z.ZodAny>;
29258
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
29259
29259
  }, z.core.$strip>;
29260
29260
  }, z.core.$strip>;
29261
29261
  declare const ApiKeyResponse: z.ZodObject<{
29262
29262
  data: z.ZodObject<{
29263
29263
  id: z.ZodString;
29264
- createdAt: z.ZodString;
29265
29264
  name: z.ZodNullable<z.ZodString>;
29266
- updatedAt: z.ZodString;
29267
29265
  agentId: z.ZodString;
29268
- expiresAt: z.ZodNullable<z.ZodString>;
29266
+ createdAt: z.ZodString;
29267
+ updatedAt: z.ZodString;
29269
29268
  publicId: z.ZodString;
29270
29269
  keyPrefix: z.ZodString;
29271
29270
  lastUsedAt: z.ZodNullable<z.ZodString>;
29271
+ expiresAt: z.ZodNullable<z.ZodString>;
29272
29272
  }, {
29273
29273
  out: {};
29274
29274
  in: {};
@@ -29277,14 +29277,14 @@ declare const ApiKeyResponse: z.ZodObject<{
29277
29277
  declare const CredentialReferenceResponse: z.ZodObject<{
29278
29278
  data: z.ZodObject<{
29279
29279
  id: z.ZodString;
29280
- createdAt: z.ZodString;
29281
29280
  name: z.ZodString;
29281
+ createdAt: z.ZodString;
29282
29282
  updatedAt: z.ZodString;
29283
+ toolId: z.ZodNullable<z.ZodString>;
29283
29284
  userId: z.ZodNullable<z.ZodString>;
29284
29285
  createdBy: z.ZodNullable<z.ZodString>;
29285
29286
  credentialStoreId: z.ZodString;
29286
29287
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29287
- toolId: z.ZodNullable<z.ZodString>;
29288
29288
  type: z.ZodEnum<{
29289
29289
  readonly memory: "memory";
29290
29290
  readonly keychain: "keychain";
@@ -29882,11 +29882,11 @@ declare const FunctionResponse: z.ZodObject<{
29882
29882
  declare const FunctionToolResponse: z.ZodObject<{
29883
29883
  data: z.ZodObject<{
29884
29884
  id: z.ZodString;
29885
- createdAt: z.ZodString;
29886
29885
  name: z.ZodString;
29887
- updatedAt: z.ZodString;
29888
- agentId: z.ZodString;
29889
29886
  description: z.ZodNullable<z.ZodString>;
29887
+ agentId: z.ZodString;
29888
+ createdAt: z.ZodString;
29889
+ updatedAt: z.ZodString;
29890
29890
  functionId: z.ZodString;
29891
29891
  relationshipId: z.ZodOptional<z.ZodString>;
29892
29892
  }, z.core.$strip>;
@@ -30121,9 +30121,7 @@ declare const TriggerInvocationResponse: z.ZodObject<{
30121
30121
  declare const ProjectListResponse: z.ZodObject<{
30122
30122
  data: z.ZodArray<z.ZodObject<{
30123
30123
  id: z.ZodString;
30124
- createdAt: z.ZodString;
30125
30124
  name: z.ZodString;
30126
- updatedAt: z.ZodString;
30127
30125
  description: z.ZodNullable<z.ZodString>;
30128
30126
  models: z.ZodNullable<z.ZodObject<{
30129
30127
  base: z.ZodObject<{
@@ -30143,6 +30141,8 @@ declare const ProjectListResponse: z.ZodObject<{
30143
30141
  transferCountIs: z.ZodOptional<z.ZodNumber>;
30144
30142
  stepCountIs: z.ZodOptional<z.ZodNumber>;
30145
30143
  }, z.core.$strip>>;
30144
+ createdAt: z.ZodString;
30145
+ updatedAt: z.ZodString;
30146
30146
  }, {
30147
30147
  out: {};
30148
30148
  in: {};
@@ -30397,10 +30397,10 @@ declare const ExternalAgentListResponse: z.ZodObject<{
30397
30397
  declare const ContextConfigListResponse: z.ZodObject<{
30398
30398
  data: z.ZodArray<z.ZodObject<{
30399
30399
  id: z.ZodString;
30400
- headersSchema: z.ZodOptional<z.ZodAny>;
30401
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
30402
30400
  createdAt: z.ZodString;
30403
30401
  updatedAt: z.ZodString;
30402
+ headersSchema: z.ZodOptional<z.ZodAny>;
30403
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
30404
30404
  }, z.core.$strip>>;
30405
30405
  pagination: z.ZodObject<{
30406
30406
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30412,14 +30412,14 @@ declare const ContextConfigListResponse: z.ZodObject<{
30412
30412
  declare const ApiKeyListResponse: z.ZodObject<{
30413
30413
  data: z.ZodArray<z.ZodObject<{
30414
30414
  id: z.ZodString;
30415
- createdAt: z.ZodString;
30416
30415
  name: z.ZodNullable<z.ZodString>;
30417
- updatedAt: z.ZodString;
30418
30416
  agentId: z.ZodString;
30419
- expiresAt: z.ZodNullable<z.ZodString>;
30417
+ createdAt: z.ZodString;
30418
+ updatedAt: z.ZodString;
30420
30419
  publicId: z.ZodString;
30421
30420
  keyPrefix: z.ZodString;
30422
30421
  lastUsedAt: z.ZodNullable<z.ZodString>;
30422
+ expiresAt: z.ZodNullable<z.ZodString>;
30423
30423
  }, {
30424
30424
  out: {};
30425
30425
  in: {};
@@ -30433,14 +30433,14 @@ declare const ApiKeyListResponse: z.ZodObject<{
30433
30433
  }, z.core.$strip>;
30434
30434
  declare const AppResponse: z.ZodObject<{
30435
30435
  data: z.ZodObject<{
30436
- type: z.ZodString;
30437
30436
  id: z.ZodString;
30438
- createdAt: z.ZodString;
30439
30437
  name: z.ZodString;
30440
- updatedAt: z.ZodString;
30441
- projectId: z.ZodNullable<z.ZodString>;
30442
- tenantId: z.ZodNullable<z.ZodString>;
30443
30438
  description: z.ZodNullable<z.ZodString>;
30439
+ tenantId: z.ZodNullable<z.ZodString>;
30440
+ projectId: z.ZodNullable<z.ZodString>;
30441
+ type: z.ZodString;
30442
+ createdAt: z.ZodString;
30443
+ updatedAt: z.ZodString;
30444
30444
  enabled: z.ZodBoolean;
30445
30445
  lastUsedAt: z.ZodNullable<z.ZodString>;
30446
30446
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -30461,14 +30461,14 @@ declare const AppResponse: z.ZodObject<{
30461
30461
  }, z.core.$strip>;
30462
30462
  declare const AppListResponse: z.ZodObject<{
30463
30463
  data: z.ZodArray<z.ZodObject<{
30464
- type: z.ZodString;
30465
30464
  id: z.ZodString;
30466
- createdAt: z.ZodString;
30467
30465
  name: z.ZodString;
30468
- updatedAt: z.ZodString;
30469
- projectId: z.ZodNullable<z.ZodString>;
30470
- tenantId: z.ZodNullable<z.ZodString>;
30471
30466
  description: z.ZodNullable<z.ZodString>;
30467
+ tenantId: z.ZodNullable<z.ZodString>;
30468
+ projectId: z.ZodNullable<z.ZodString>;
30469
+ type: z.ZodString;
30470
+ createdAt: z.ZodString;
30471
+ updatedAt: z.ZodString;
30472
30472
  enabled: z.ZodBoolean;
30473
30473
  lastUsedAt: z.ZodNullable<z.ZodString>;
30474
30474
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -30496,14 +30496,14 @@ declare const AppListResponse: z.ZodObject<{
30496
30496
  declare const CredentialReferenceListResponse: z.ZodObject<{
30497
30497
  data: z.ZodArray<z.ZodObject<{
30498
30498
  id: z.ZodString;
30499
- createdAt: z.ZodString;
30500
30499
  name: z.ZodString;
30500
+ createdAt: z.ZodString;
30501
30501
  updatedAt: z.ZodString;
30502
+ toolId: z.ZodNullable<z.ZodString>;
30502
30503
  userId: z.ZodNullable<z.ZodString>;
30503
30504
  createdBy: z.ZodNullable<z.ZodString>;
30504
30505
  credentialStoreId: z.ZodString;
30505
30506
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
30506
- toolId: z.ZodNullable<z.ZodString>;
30507
30507
  type: z.ZodEnum<{
30508
30508
  readonly memory: "memory";
30509
30509
  readonly keychain: "keychain";
@@ -31113,11 +31113,11 @@ declare const FunctionListResponse: z.ZodObject<{
31113
31113
  declare const FunctionToolListResponse: z.ZodObject<{
31114
31114
  data: z.ZodArray<z.ZodObject<{
31115
31115
  id: z.ZodString;
31116
- createdAt: z.ZodString;
31117
31116
  name: z.ZodString;
31118
- updatedAt: z.ZodString;
31119
- agentId: z.ZodString;
31120
31117
  description: z.ZodNullable<z.ZodString>;
31118
+ agentId: z.ZodString;
31119
+ createdAt: z.ZodString;
31120
+ updatedAt: z.ZodString;
31121
31121
  functionId: z.ZodString;
31122
31122
  relationshipId: z.ZodOptional<z.ZodString>;
31123
31123
  }, z.core.$strip>>;
@@ -31432,10 +31432,10 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
31432
31432
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
31433
31433
  data: z.ZodObject<{
31434
31434
  id: z.ZodString;
31435
- createdAt: z.ZodString;
31436
31435
  name: z.ZodString;
31437
- updatedAt: z.ZodString;
31438
31436
  description: z.ZodNullable<z.ZodString>;
31437
+ createdAt: z.ZodString;
31438
+ updatedAt: z.ZodString;
31439
31439
  enabled: z.ZodBoolean;
31440
31440
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31441
31441
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -31495,10 +31495,10 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
31495
31495
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31496
31496
  data: z.ZodObject<{
31497
31497
  id: z.ZodString;
31498
- createdAt: z.ZodString;
31499
31498
  name: z.ZodString;
31500
- updatedAt: z.ZodString;
31501
31499
  description: z.ZodNullable<z.ZodString>;
31500
+ createdAt: z.ZodString;
31501
+ updatedAt: z.ZodString;
31502
31502
  enabled: z.ZodBoolean;
31503
31503
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31504
31504
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -31559,10 +31559,10 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31559
31559
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31560
31560
  data: z.ZodArray<z.ZodObject<{
31561
31561
  id: z.ZodString;
31562
- createdAt: z.ZodString;
31563
31562
  name: z.ZodString;
31564
- updatedAt: z.ZodString;
31565
31563
  description: z.ZodNullable<z.ZodString>;
31564
+ createdAt: z.ZodString;
31565
+ updatedAt: z.ZodString;
31566
31566
  enabled: z.ZodBoolean;
31567
31567
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31568
31568
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -31627,10 +31627,10 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31627
31627
  }, z.core.$strip>;
31628
31628
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31629
31629
  id: z.ZodString;
31630
- createdAt: z.ZodString;
31631
31630
  name: z.ZodString;
31632
- updatedAt: z.ZodString;
31633
31631
  description: z.ZodNullable<z.ZodString>;
31632
+ createdAt: z.ZodString;
31633
+ updatedAt: z.ZodString;
31634
31634
  enabled: z.ZodBoolean;
31635
31635
  messageTemplate: z.ZodNullable<z.ZodString>;
31636
31636
  runAsUserId: z.ZodNullable<z.ZodString>;
@@ -31706,10 +31706,10 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
31706
31706
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31707
31707
  data: z.ZodArray<z.ZodObject<{
31708
31708
  id: z.ZodString;
31709
- createdAt: z.ZodString;
31710
31709
  name: z.ZodString;
31711
- updatedAt: z.ZodString;
31712
31710
  description: z.ZodNullable<z.ZodString>;
31711
+ createdAt: z.ZodString;
31712
+ updatedAt: z.ZodString;
31713
31713
  enabled: z.ZodBoolean;
31714
31714
  messageTemplate: z.ZodNullable<z.ZodString>;
31715
31715
  runAsUserId: z.ZodNullable<z.ZodString>;
@@ -31865,10 +31865,10 @@ declare const SubAgentSkillResponse: z.ZodObject<{
31865
31865
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31866
31866
  data: z.ZodArray<z.ZodObject<{
31867
31867
  id: z.ZodString;
31868
- createdAt: z.ZodString;
31869
31868
  name: z.ZodString;
31870
- updatedAt: z.ZodString;
31871
31869
  description: z.ZodString;
31870
+ createdAt: z.ZodString;
31871
+ updatedAt: z.ZodString;
31872
31872
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31873
31873
  content: z.ZodString;
31874
31874
  subAgentSkillId: z.ZodString;
@@ -31908,10 +31908,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31908
31908
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31909
31909
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31910
31910
  id: z.ZodString;
31911
- createdAt: z.ZodOptional<z.ZodString>;
31912
31911
  name: z.ZodString;
31913
- updatedAt: z.ZodOptional<z.ZodString>;
31914
31912
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31913
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31915
31914
  models: z.ZodOptional<z.ZodObject<{
31916
31915
  base: z.ZodOptional<z.ZodObject<{
31917
31916
  model: z.ZodOptional<z.ZodString>;
@@ -31926,7 +31925,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31926
31925
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31927
31926
  }, z.core.$strip>>;
31928
31927
  }, z.core.$strip>>;
31929
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31928
+ createdAt: z.ZodOptional<z.ZodString>;
31929
+ updatedAt: z.ZodOptional<z.ZodString>;
31930
31930
  type: z.ZodLiteral<"internal">;
31931
31931
  canUse: z.ZodArray<z.ZodObject<{
31932
31932
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31962,9 +31962,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31962
31962
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31963
31963
  id: z.ZodString;
31964
31964
  name: z.ZodString;
31965
- projectId: z.ZodString;
31966
- tenantId: z.ZodString;
31967
31965
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31966
+ tenantId: z.ZodString;
31967
+ projectId: z.ZodString;
31968
31968
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
31969
31969
  config: z.ZodObject<{
31970
31970
  type: z.ZodLiteral<"mcp">;
@@ -32002,9 +32002,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32002
32002
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32003
32003
  id: z.ZodString;
32004
32004
  name: z.ZodString;
32005
- projectId: z.ZodString;
32006
- tenantId: z.ZodString;
32007
32005
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32006
+ tenantId: z.ZodString;
32007
+ projectId: z.ZodString;
32008
32008
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32009
32009
  baseUrl: z.ZodURL;
32010
32010
  }>, z.core.$strip>>>;
@@ -32016,10 +32016,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32016
32016
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
32017
32017
  id: z.ZodString;
32018
32018
  name: z.ZodString;
32019
- agentId: z.ZodString;
32020
- projectId: z.ZodString;
32021
- tenantId: z.ZodString;
32022
32019
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32020
+ tenantId: z.ZodString;
32021
+ projectId: z.ZodString;
32022
+ agentId: z.ZodString;
32023
32023
  functionId: z.ZodString;
32024
32024
  }>, z.core.$strip>>>;
32025
32025
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -32100,9 +32100,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32100
32100
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32101
32101
  id: z.ZodString;
32102
32102
  name: z.ZodString;
32103
- projectId: z.ZodString;
32104
- tenantId: z.ZodString;
32105
32103
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32104
+ tenantId: z.ZodString;
32105
+ projectId: z.ZodString;
32106
32106
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32107
32107
  config: z.ZodObject<{
32108
32108
  type: z.ZodLiteral<"mcp">;
@@ -32140,10 +32140,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32140
32140
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
32141
32141
  id: z.ZodString;
32142
32142
  name: z.ZodString;
32143
- agentId: z.ZodString;
32144
- projectId: z.ZodString;
32145
- tenantId: z.ZodString;
32146
32143
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32144
+ tenantId: z.ZodString;
32145
+ projectId: z.ZodString;
32146
+ agentId: z.ZodString;
32147
32147
  functionId: z.ZodString;
32148
32148
  }>, z.core.$strip>>>;
32149
32149
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -32154,9 +32154,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32154
32154
  }, z.core.$strip>>>;
32155
32155
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32156
32156
  name: z.ZodString;
32157
- projectId: z.ZodString;
32158
- tenantId: z.ZodString;
32159
32157
  description: z.ZodString;
32158
+ tenantId: z.ZodString;
32159
+ projectId: z.ZodString;
32160
32160
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
32161
32161
  content: z.ZodString;
32162
32162
  }>, z.core.$strip>>>;
@@ -32216,9 +32216,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32216
32216
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32217
32217
  id: z.ZodString;
32218
32218
  name: z.ZodString;
32219
- projectId: z.ZodString;
32220
- tenantId: z.ZodString;
32221
32219
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32220
+ tenantId: z.ZodString;
32221
+ projectId: z.ZodString;
32222
32222
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32223
32223
  baseUrl: z.ZodURL;
32224
32224
  }>, z.core.$strip>>>;
@@ -32240,11 +32240,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32240
32240
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32241
32241
  id: z.ZodString;
32242
32242
  name: z.ZodString;
32243
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32243
32244
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32244
32245
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32245
32246
  credentialStoreId: z.ZodString;
32246
32247
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32247
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32248
32248
  type: z.ZodEnum<{
32249
32249
  readonly memory: "memory";
32250
32250
  readonly keychain: "keychain";
@@ -32261,9 +32261,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32261
32261
  declare const FullProjectSelectResponse: z.ZodObject<{
32262
32262
  data: z.ZodObject<{
32263
32263
  id: z.ZodString;
32264
- createdAt: z.ZodString;
32265
32264
  name: z.ZodString;
32266
- updatedAt: z.ZodString;
32267
32265
  description: z.ZodNullable<z.ZodString>;
32268
32266
  models: z.ZodNullable<z.ZodObject<{
32269
32267
  base: z.ZodObject<{
@@ -32283,20 +32281,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32283
32281
  transferCountIs: z.ZodOptional<z.ZodNumber>;
32284
32282
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32285
32283
  }, z.core.$strip>>;
32284
+ createdAt: z.ZodString;
32285
+ updatedAt: z.ZodString;
32286
32286
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
32287
32287
  id: z.ZodString;
32288
- createdAt: z.ZodString;
32289
32288
  name: z.ZodString;
32290
- updatedAt: z.ZodString;
32291
32289
  description: z.ZodNullable<z.ZodString>;
32292
32290
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
32291
+ createdAt: z.ZodString;
32292
+ updatedAt: z.ZodString;
32293
32293
  contextConfigId: z.ZodNullable<z.ZodString>;
32294
32294
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32295
32295
  id: z.ZodString;
32296
- createdAt: z.ZodString;
32297
32296
  name: z.ZodString;
32298
- updatedAt: z.ZodString;
32299
32297
  description: z.ZodNullable<z.ZodString>;
32298
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32300
32299
  models: z.ZodNullable<z.ZodType<{
32301
32300
  base?: {
32302
32301
  model?: string | undefined;
@@ -32359,7 +32358,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32359
32358
  }, {
32360
32359
  stepCountIs?: number | undefined;
32361
32360
  }>>>;
32362
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32361
+ createdAt: z.ZodString;
32362
+ updatedAt: z.ZodString;
32363
32363
  type: z.ZodLiteral<"internal">;
32364
32364
  canUse: z.ZodArray<z.ZodObject<{
32365
32365
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -32431,11 +32431,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32431
32431
  }, z.core.$strip>>>;
32432
32432
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32433
32433
  id: z.ZodString;
32434
- createdAt: z.ZodString;
32435
32434
  name: z.ZodString;
32436
- updatedAt: z.ZodString;
32437
- agentId: z.ZodString;
32438
32435
  description: z.ZodNullable<z.ZodString>;
32436
+ agentId: z.ZodString;
32437
+ createdAt: z.ZodString;
32438
+ updatedAt: z.ZodString;
32439
32439
  functionId: z.ZodString;
32440
32440
  relationshipId: z.ZodOptional<z.ZodString>;
32441
32441
  }, z.core.$strip>>>;
@@ -32472,10 +32472,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32472
32472
  }>, z.core.$strip>>>;
32473
32473
  contextConfig: z.ZodNullable<z.ZodObject<{
32474
32474
  id: z.ZodString;
32475
- headersSchema: z.ZodOptional<z.ZodAny>;
32476
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
32477
32475
  createdAt: z.ZodString;
32478
32476
  updatedAt: z.ZodString;
32477
+ headersSchema: z.ZodOptional<z.ZodAny>;
32478
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
32479
32479
  }, z.core.$strip>>;
32480
32480
  statusUpdates: z.ZodNullable<z.ZodObject<{
32481
32481
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -32542,11 +32542,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32542
32542
  }>, z.core.$strip>>;
32543
32543
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32544
32544
  id: z.ZodString;
32545
- createdAt: z.ZodString;
32546
32545
  name: z.ZodString;
32547
- updatedAt: z.ZodString;
32548
- agentId: z.ZodString;
32549
32546
  description: z.ZodNullable<z.ZodString>;
32547
+ agentId: z.ZodString;
32548
+ createdAt: z.ZodString;
32549
+ updatedAt: z.ZodString;
32550
32550
  functionId: z.ZodString;
32551
32551
  relationshipId: z.ZodOptional<z.ZodString>;
32552
32552
  }, z.core.$strip>>>;
@@ -32690,14 +32690,14 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32690
32690
  }, z.core.$strip>>;
32691
32691
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32692
32692
  id: z.ZodString;
32693
- createdAt: z.ZodString;
32694
32693
  name: z.ZodString;
32694
+ createdAt: z.ZodString;
32695
32695
  updatedAt: z.ZodString;
32696
+ toolId: z.ZodNullable<z.ZodString>;
32696
32697
  userId: z.ZodNullable<z.ZodString>;
32697
32698
  createdBy: z.ZodNullable<z.ZodString>;
32698
32699
  credentialStoreId: z.ZodString;
32699
32700
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32700
- toolId: z.ZodNullable<z.ZodString>;
32701
32701
  type: z.ZodEnum<{
32702
32702
  readonly memory: "memory";
32703
32703
  readonly keychain: "keychain";
@@ -33287,9 +33287,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33287
33287
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33288
33288
  data: z.ZodObject<{
33289
33289
  id: z.ZodString;
33290
- createdAt: z.ZodString;
33291
33290
  name: z.ZodString;
33292
- updatedAt: z.ZodString;
33293
33291
  description: z.ZodNullable<z.ZodString>;
33294
33292
  models: z.ZodNullable<z.ZodObject<{
33295
33293
  base: z.ZodObject<{
@@ -33309,6 +33307,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33309
33307
  transferCountIs: z.ZodOptional<z.ZodNumber>;
33310
33308
  stepCountIs: z.ZodOptional<z.ZodNumber>;
33311
33309
  }, z.core.$strip>>;
33310
+ createdAt: z.ZodString;
33311
+ updatedAt: z.ZodString;
33312
33312
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33313
33313
  createdAt: z.ZodString;
33314
33314
  updatedAt: z.ZodString;
@@ -33340,11 +33340,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33340
33340
  }>, z.core.$strip>>;
33341
33341
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33342
33342
  id: z.ZodString;
33343
- createdAt: z.ZodString;
33344
33343
  name: z.ZodString;
33345
- updatedAt: z.ZodString;
33346
- agentId: z.ZodString;
33347
33344
  description: z.ZodNullable<z.ZodString>;
33345
+ agentId: z.ZodString;
33346
+ createdAt: z.ZodString;
33347
+ updatedAt: z.ZodString;
33348
33348
  functionId: z.ZodString;
33349
33349
  relationshipId: z.ZodOptional<z.ZodString>;
33350
33350
  }, z.core.$strip>>>;
@@ -33488,14 +33488,14 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33488
33488
  }, z.core.$strip>>;
33489
33489
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33490
33490
  id: z.ZodString;
33491
- createdAt: z.ZodString;
33492
33491
  name: z.ZodString;
33492
+ createdAt: z.ZodString;
33493
33493
  updatedAt: z.ZodString;
33494
+ toolId: z.ZodNullable<z.ZodString>;
33494
33495
  userId: z.ZodNullable<z.ZodString>;
33495
33496
  createdBy: z.ZodNullable<z.ZodString>;
33496
33497
  credentialStoreId: z.ZodString;
33497
33498
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33498
- toolId: z.ZodNullable<z.ZodString>;
33499
33499
  type: z.ZodEnum<{
33500
33500
  readonly memory: "memory";
33501
33501
  readonly keychain: "keychain";
@@ -34079,11 +34079,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34079
34079
  }, z.core.$strip>>>;
34080
34080
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
34081
34081
  id: z.ZodString;
34082
- createdAt: z.ZodString;
34083
34082
  name: z.ZodString;
34084
- updatedAt: z.ZodString;
34085
34083
  description: z.ZodNullable<z.ZodString>;
34086
34084
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
34085
+ createdAt: z.ZodString;
34086
+ updatedAt: z.ZodString;
34087
34087
  contextConfigId: z.ZodNullable<z.ZodString>;
34088
34088
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
34089
34089
  createdAt: z.ZodString;
@@ -34132,11 +34132,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34132
34132
  }, z.core.$strip>>>;
34133
34133
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34134
34134
  id: z.ZodString;
34135
- createdAt: z.ZodString;
34136
34135
  name: z.ZodString;
34137
- updatedAt: z.ZodString;
34138
- agentId: z.ZodString;
34139
34136
  description: z.ZodNullable<z.ZodString>;
34137
+ agentId: z.ZodString;
34138
+ createdAt: z.ZodString;
34139
+ updatedAt: z.ZodString;
34140
34140
  functionId: z.ZodString;
34141
34141
  relationshipId: z.ZodOptional<z.ZodString>;
34142
34142
  }, z.core.$strip>>>;
@@ -34173,10 +34173,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34173
34173
  }>, z.core.$strip>>>;
34174
34174
  contextConfig: z.ZodNullable<z.ZodObject<{
34175
34175
  id: z.ZodString;
34176
- headersSchema: z.ZodOptional<z.ZodAny>;
34177
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
34178
34176
  createdAt: z.ZodString;
34179
34177
  updatedAt: z.ZodString;
34178
+ headersSchema: z.ZodOptional<z.ZodAny>;
34179
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
34180
34180
  }, z.core.$strip>>;
34181
34181
  statusUpdates: z.ZodNullable<z.ZodObject<{
34182
34182
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -34213,10 +34213,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34213
34213
  prompt: z.ZodNullable<z.ZodString>;
34214
34214
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34215
34215
  id: z.ZodString;
34216
- createdAt: z.ZodString;
34217
34216
  name: z.ZodString;
34218
- updatedAt: z.ZodString;
34219
34217
  description: z.ZodNullable<z.ZodString>;
34218
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34220
34219
  models: z.ZodNullable<z.ZodType<{
34221
34220
  base?: {
34222
34221
  model?: string | undefined;
@@ -34279,7 +34278,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34279
34278
  }, {
34280
34279
  stepCountIs?: number | undefined;
34281
34280
  }>>>;
34282
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34281
+ createdAt: z.ZodString;
34282
+ updatedAt: z.ZodString;
34283
34283
  type: z.ZodLiteral<"internal">;
34284
34284
  canUse: z.ZodArray<z.ZodObject<{
34285
34285
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34325,10 +34325,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34325
34325
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34326
34326
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34327
34327
  id: z.ZodString;
34328
- createdAt: z.ZodOptional<z.ZodString>;
34329
34328
  name: z.ZodString;
34330
- updatedAt: z.ZodOptional<z.ZodString>;
34331
34329
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34330
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
34332
34331
  models: z.ZodOptional<z.ZodObject<{
34333
34332
  base: z.ZodOptional<z.ZodObject<{
34334
34333
  model: z.ZodOptional<z.ZodString>;
@@ -34343,7 +34342,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34343
34342
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
34344
34343
  }, z.core.$strip>>;
34345
34344
  }, z.core.$strip>>;
34346
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
34345
+ createdAt: z.ZodOptional<z.ZodString>;
34346
+ updatedAt: z.ZodOptional<z.ZodString>;
34347
34347
  type: z.ZodLiteral<"internal">;
34348
34348
  canUse: z.ZodArray<z.ZodObject<{
34349
34349
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34379,9 +34379,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34379
34379
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
34380
34380
  id: z.ZodString;
34381
34381
  name: z.ZodString;
34382
- projectId: z.ZodString;
34383
- tenantId: z.ZodString;
34384
34382
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34383
+ tenantId: z.ZodString;
34384
+ projectId: z.ZodString;
34385
34385
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34386
34386
  config: z.ZodObject<{
34387
34387
  type: z.ZodLiteral<"mcp">;
@@ -34419,9 +34419,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34419
34419
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
34420
34420
  id: z.ZodString;
34421
34421
  name: z.ZodString;
34422
- projectId: z.ZodString;
34423
- tenantId: z.ZodString;
34424
34422
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34423
+ tenantId: z.ZodString;
34424
+ projectId: z.ZodString;
34425
34425
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34426
34426
  baseUrl: z.ZodURL;
34427
34427
  }>, z.core.$strip>>>;
@@ -34433,10 +34433,10 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34433
34433
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
34434
34434
  id: z.ZodString;
34435
34435
  name: z.ZodString;
34436
- agentId: z.ZodString;
34437
- projectId: z.ZodString;
34438
- tenantId: z.ZodString;
34439
34436
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34437
+ tenantId: z.ZodString;
34438
+ projectId: z.ZodString;
34439
+ agentId: z.ZodString;
34440
34440
  functionId: z.ZodString;
34441
34441
  }>, z.core.$strip>>>;
34442
34442
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -34518,18 +34518,17 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34518
34518
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34519
34519
  data: z.ZodObject<{
34520
34520
  id: z.ZodString;
34521
- createdAt: z.ZodString;
34522
34521
  name: z.ZodString;
34523
- updatedAt: z.ZodString;
34524
34522
  description: z.ZodNullable<z.ZodString>;
34525
34523
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
34524
+ createdAt: z.ZodString;
34525
+ updatedAt: z.ZodString;
34526
34526
  contextConfigId: z.ZodNullable<z.ZodString>;
34527
34527
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34528
34528
  id: z.ZodString;
34529
- createdAt: z.ZodString;
34530
34529
  name: z.ZodString;
34531
- updatedAt: z.ZodString;
34532
34530
  description: z.ZodNullable<z.ZodString>;
34531
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34533
34532
  models: z.ZodNullable<z.ZodType<{
34534
34533
  base?: {
34535
34534
  model?: string | undefined;
@@ -34592,7 +34591,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34592
34591
  }, {
34593
34592
  stepCountIs?: number | undefined;
34594
34593
  }>>>;
34595
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34594
+ createdAt: z.ZodString;
34595
+ updatedAt: z.ZodString;
34596
34596
  type: z.ZodLiteral<"internal">;
34597
34597
  canUse: z.ZodArray<z.ZodObject<{
34598
34598
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34664,11 +34664,11 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34664
34664
  }, z.core.$strip>>>;
34665
34665
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34666
34666
  id: z.ZodString;
34667
- createdAt: z.ZodString;
34668
34667
  name: z.ZodString;
34669
- updatedAt: z.ZodString;
34670
- agentId: z.ZodString;
34671
34668
  description: z.ZodNullable<z.ZodString>;
34669
+ agentId: z.ZodString;
34670
+ createdAt: z.ZodString;
34671
+ updatedAt: z.ZodString;
34672
34672
  functionId: z.ZodString;
34673
34673
  relationshipId: z.ZodOptional<z.ZodString>;
34674
34674
  }, z.core.$strip>>>;
@@ -34705,10 +34705,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34705
34705
  }>, z.core.$strip>>>;
34706
34706
  contextConfig: z.ZodNullable<z.ZodObject<{
34707
34707
  id: z.ZodString;
34708
- headersSchema: z.ZodOptional<z.ZodAny>;
34709
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
34710
34708
  createdAt: z.ZodString;
34711
34709
  updatedAt: z.ZodString;
34710
+ headersSchema: z.ZodOptional<z.ZodAny>;
34711
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
34712
34712
  }, z.core.$strip>>;
34713
34713
  statusUpdates: z.ZodNullable<z.ZodObject<{
34714
34714
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -34768,9 +34768,9 @@ declare const McpToolResponse: z.ZodObject<{
34768
34768
  data: z.ZodObject<{
34769
34769
  id: z.ZodString;
34770
34770
  name: z.ZodString;
34771
- projectId: z.ZodString;
34772
- tenantId: z.ZodString;
34773
34771
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34772
+ tenantId: z.ZodString;
34773
+ projectId: z.ZodString;
34774
34774
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34775
34775
  config: z.ZodObject<{
34776
34776
  type: z.ZodLiteral<"mcp">;
@@ -34829,9 +34829,9 @@ declare const McpToolListResponse: z.ZodObject<{
34829
34829
  data: z.ZodArray<z.ZodObject<{
34830
34830
  id: z.ZodString;
34831
34831
  name: z.ZodString;
34832
- projectId: z.ZodString;
34833
- tenantId: z.ZodString;
34834
34832
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34833
+ tenantId: z.ZodString;
34834
+ projectId: z.ZodString;
34835
34835
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34836
34836
  config: z.ZodObject<{
34837
34837
  type: z.ZodLiteral<"mcp">;
@@ -35382,8 +35382,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
35382
35382
  disconnected: "disconnected";
35383
35383
  }>;
35384
35384
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
35385
- User: "User";
35386
35385
  Organization: "Organization";
35386
+ User: "User";
35387
35387
  }>;
35388
35388
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"select", {
35389
35389
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -35478,7 +35478,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35478
35478
  tableName: "work_app_github_installations";
35479
35479
  dataType: "string";
35480
35480
  columnType: "PgVarchar";
35481
- data: "User" | "Organization";
35481
+ data: "Organization" | "User";
35482
35482
  driverParam: string;
35483
35483
  notNull: true;
35484
35484
  hasDefault: false;
@@ -35491,7 +35491,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35491
35491
  generated: undefined;
35492
35492
  }, {}, {
35493
35493
  length: 20;
35494
- $type: "User" | "Organization";
35494
+ $type: "Organization" | "User";
35495
35495
  }>;
35496
35496
  status: drizzle_orm_pg_core0.PgColumn<{
35497
35497
  name: "status";
@@ -35644,7 +35644,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35644
35644
  tableName: "work_app_github_installations";
35645
35645
  dataType: "string";
35646
35646
  columnType: "PgVarchar";
35647
- data: "User" | "Organization";
35647
+ data: "Organization" | "User";
35648
35648
  driverParam: string;
35649
35649
  notNull: true;
35650
35650
  hasDefault: false;
@@ -35657,7 +35657,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35657
35657
  generated: undefined;
35658
35658
  }, {}, {
35659
35659
  length: 20;
35660
- $type: "User" | "Organization";
35660
+ $type: "Organization" | "User";
35661
35661
  }>;
35662
35662
  status: drizzle_orm_pg_core0.PgColumn<{
35663
35663
  name: "status";
@@ -35725,8 +35725,8 @@ declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35725
35725
  accountLogin: z.ZodString;
35726
35726
  accountId: z.ZodString;
35727
35727
  accountType: z.ZodEnum<{
35728
- User: "User";
35729
35728
  Organization: "Organization";
35729
+ User: "User";
35730
35730
  }>;
35731
35731
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35732
35732
  pending: "pending";
@@ -35756,8 +35756,8 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35756
35756
  accountLogin: z.ZodString;
35757
35757
  accountId: z.ZodString;
35758
35758
  accountType: z.ZodEnum<{
35759
- User: "User";
35760
35759
  Organization: "Organization";
35760
+ User: "User";
35761
35761
  }>;
35762
35762
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35763
35763
  pending: "pending";
@@ -37945,16 +37945,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod3.BuildSchema<"selec
37945
37945
  }, {}, {}>;
37946
37946
  }, undefined>, undefined>;
37947
37947
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
37948
- agentId: z.ZodString;
37949
37948
  projectId: z.ZodString;
37949
+ agentId: z.ZodString;
37950
37950
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37951
37951
  }, {
37952
37952
  out: {};
37953
37953
  in: {};
37954
37954
  }>;
37955
37955
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
37956
- agentId: z.ZodString;
37957
37956
  projectId: z.ZodString;
37957
+ agentId: z.ZodString;
37958
37958
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37959
37959
  agentName: z.ZodString;
37960
37960
  projectName: z.ZodOptional<z.ZodString>;
@@ -37970,8 +37970,8 @@ declare const ChannelAccessModeSchema: z.ZodEnum<{
37970
37970
  selected: "selected";
37971
37971
  }>;
37972
37972
  declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{
37973
- projectId: z.ZodString;
37974
37973
  tenantId: z.ZodString;
37974
+ projectId: z.ZodString;
37975
37975
  toolId: z.ZodString;
37976
37976
  channelAccessMode: z.ZodEnum<{
37977
37977
  all: "all";