@inkeep/agents-core 0.58.16 → 0.58.18

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.
@@ -822,9 +822,9 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
823
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
824
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
825
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
826
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
825
827
  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>;
@@ -848,8 +848,8 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
848
848
  }, {
849
849
  stepCountIs?: number | undefined;
850
850
  }>>>>>>;
851
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
851
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
852
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
853
853
  }, z.core.$strip>;
854
854
  declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
855
855
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -2483,7 +2483,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2483
2483
  }, {}, {
2484
2484
  length: 256;
2485
2485
  }>;
2486
- }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2486
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "contextConfigId" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "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>>;
@@ -2753,8 +2753,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2753
2753
  id: z.ZodString;
2754
2754
  name: z.ZodString;
2755
2755
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
2757
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2759
2758
  base?: {
2760
2759
  model?: string | undefined;
@@ -2817,7 +2816,8 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2817
2816
  }, {
2818
2817
  transferCountIs?: number | undefined;
2819
2818
  }>>>>;
2820
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2819
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2820
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2821
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2822
2822
  enabled?: boolean | undefined;
2823
2823
  numEvents?: number | undefined;
@@ -2879,8 +2879,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
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
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2883
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2882
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
2883
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2885
2884
  base?: {
2886
2885
  model?: string | undefined;
@@ -2943,7 +2942,8 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2943
2942
  }, {
2944
2943
  transferCountIs?: number | undefined;
2945
2944
  }>>>>>>;
2946
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2945
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2946
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2947
2947
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2948
2948
  enabled?: boolean | undefined;
2949
2949
  numEvents?: number | undefined;
@@ -3269,8 +3269,8 @@ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3269
3269
  */
3270
3270
  type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3271
3271
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3272
- success: "success";
3273
3272
  pending: "pending";
3273
+ success: "success";
3274
3274
  failed: "failed";
3275
3275
  }>;
3276
3276
  declare const TriggerSelectSchema: z.ZodObject<{
@@ -4079,7 +4079,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4079
4079
  }, {}, {
4080
4080
  length: 256;
4081
4081
  }>;
4082
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4082
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "tenantId" | "projectId" | "agentId" | "createdBy" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId">, 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>>;
@@ -4170,6 +4170,7 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4170
4170
  name: z.ZodString;
4171
4171
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4172
4172
  enabled: z.ZodOptional<z.ZodBoolean>;
4173
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4173
4174
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4174
4175
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4175
4176
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4177,7 +4178,6 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4177
4178
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4178
4179
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4179
4180
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4180
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4181
4181
  }, z.core.$strip>;
4182
4182
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4183
4183
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4204,10 +4204,11 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4204
4204
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4205
4205
  id: z.ZodString;
4206
4206
  name: z.ZodString;
4207
- description: z.ZodNullable<z.ZodString>;
4208
4207
  createdAt: z.ZodString;
4209
4208
  updatedAt: z.ZodString;
4209
+ description: z.ZodNullable<z.ZodString>;
4210
4210
  enabled: z.ZodBoolean;
4211
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4211
4212
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4212
4213
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4213
4214
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -4259,7 +4260,6 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4259
4260
  }, z.core.$strip>>;
4260
4261
  }, z.core.$strip>>>;
4261
4262
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4262
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4263
4263
  webhookUrl: z.ZodString;
4264
4264
  }, z.core.$strip>;
4265
4265
  declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -5071,7 +5071,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
5071
5071
  }, {}, {
5072
5072
  length: 256;
5073
5073
  }>;
5074
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5074
+ }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "triggerId" | "conversationId" | "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>>>;
@@ -5150,13 +5150,13 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5150
5150
  id: z.ZodString;
5151
5151
  name: z.ZodString;
5152
5152
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5153
+ enabled: z.ZodOptional<z.ZodBoolean>;
5153
5154
  tenantId: z.ZodString;
5154
5155
  projectId: z.ZodString;
5155
5156
  agentId: z.ZodString;
5156
- enabled: z.ZodOptional<z.ZodBoolean>;
5157
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5157
5158
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5158
5159
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5159
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5160
5160
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5161
5161
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5162
5162
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5175,9 +5175,9 @@ declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5175
5175
  tenantId: z.ZodOptional<z.ZodString>;
5176
5176
  projectId: z.ZodOptional<z.ZodString>;
5177
5177
  agentId: z.ZodOptional<z.ZodString>;
5178
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5178
5179
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5179
5180
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5180
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5181
5181
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5182
5182
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5183
5183
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
@@ -5215,9 +5215,9 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5215
5215
  name: z.ZodString;
5216
5216
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5217
5217
  enabled: z.ZodOptional<z.ZodBoolean>;
5218
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5218
5219
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5219
5220
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5220
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5221
5221
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5222
5222
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5223
5223
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5231,9 +5231,9 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5231
5231
  name: z.ZodString;
5232
5232
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5233
5233
  enabled: z.ZodOptional<z.ZodBoolean>;
5234
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5234
5235
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5235
5236
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5236
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5237
5237
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5238
5238
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5239
5239
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5250,9 +5250,9 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5250
5250
  tenantId: z.ZodOptional<z.ZodString>;
5251
5251
  projectId: z.ZodOptional<z.ZodString>;
5252
5252
  agentId: z.ZodOptional<z.ZodString>;
5253
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5253
5254
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5254
5255
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5255
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5256
5256
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5257
5257
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5258
5258
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
@@ -6088,7 +6088,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
6088
6088
  }, {}, {
6089
6089
  length: 256;
6090
6090
  }>;
6091
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6091
+ }, "id" | "name" | "createdAt" | "updatedAt" | "status" | "description" | "tenantId" | "projectId" | "agentId" | "scheduledTriggerId" | "workflowRunId">, 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>>;
@@ -6120,12 +6120,12 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6120
6120
  }>, z.core.$strip>;
6121
6121
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6122
6122
  name: z.ZodString;
6123
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6124
6123
  createdAt: z.ZodOptional<z.ZodString>;
6125
6124
  updatedAt: z.ZodOptional<z.ZodString>;
6126
6125
  status: z.ZodOptional<z.ZodString>;
6127
- workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6126
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6128
6127
  scheduledTriggerId: z.ZodString;
6128
+ workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6129
6129
  id: z.ZodOptional<z.ZodString>;
6130
6130
  }, z.core.$strip>;
6131
6131
  declare const ScheduledWorkflowApiUpdateSchema: z.ZodObject<{
@@ -6149,9 +6149,9 @@ type ScheduledWorkflowInsert = z.infer<typeof ScheduledWorkflowInsertSchema>;
6149
6149
  type ScheduledWorkflowUpdate = z.infer<typeof ScheduledWorkflowUpdateSchema>;
6150
6150
  declare const ScheduledTriggerInvocationStatusEnum: z.ZodEnum<{
6151
6151
  pending: "pending";
6152
- failed: "failed";
6153
6152
  running: "running";
6154
6153
  completed: "completed";
6154
+ failed: "failed";
6155
6155
  cancelled: "cancelled";
6156
6156
  }>;
6157
6157
  declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
@@ -6170,9 +6170,9 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6170
6170
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6171
6171
  status: z.ZodEnum<{
6172
6172
  pending: "pending";
6173
- failed: "failed";
6174
6173
  running: "running";
6175
6174
  completed: "completed";
6175
+ failed: "failed";
6176
6176
  cancelled: "cancelled";
6177
6177
  }>;
6178
6178
  }, {
@@ -6204,7 +6204,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6204
6204
  tableName: "scheduled_trigger_invocations";
6205
6205
  dataType: "string";
6206
6206
  columnType: "PgVarchar";
6207
- data: "pending" | "failed" | "running" | "completed" | "cancelled";
6207
+ data: "pending" | "running" | "completed" | "failed" | "cancelled";
6208
6208
  driverParam: string;
6209
6209
  notNull: true;
6210
6210
  hasDefault: false;
@@ -6217,7 +6217,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6217
6217
  generated: undefined;
6218
6218
  }, {}, {
6219
6219
  length: 50;
6220
- $type: "pending" | "failed" | "running" | "completed" | "cancelled";
6220
+ $type: "pending" | "running" | "completed" | "failed" | "cancelled";
6221
6221
  }>;
6222
6222
  scheduledFor: drizzle_orm_pg_core866.PgColumn<{
6223
6223
  name: "scheduled_for";
@@ -6462,7 +6462,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6462
6462
  tableName: "scheduled_trigger_invocations";
6463
6463
  dataType: "string";
6464
6464
  columnType: "PgVarchar";
6465
- data: "pending" | "failed" | "running" | "completed" | "cancelled";
6465
+ data: "pending" | "running" | "completed" | "failed" | "cancelled";
6466
6466
  driverParam: string;
6467
6467
  notNull: true;
6468
6468
  hasDefault: false;
@@ -6475,7 +6475,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6475
6475
  generated: undefined;
6476
6476
  }, {}, {
6477
6477
  length: 50;
6478
- $type: "pending" | "failed" | "running" | "completed" | "cancelled";
6478
+ $type: "pending" | "running" | "completed" | "failed" | "cancelled";
6479
6479
  }>;
6480
6480
  scheduledFor: drizzle_orm_pg_core866.PgColumn<{
6481
6481
  name: "scheduled_for";
@@ -6695,7 +6695,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6695
6695
  }, {}, {
6696
6696
  length: 256;
6697
6697
  }>;
6698
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "conversationIds" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6698
+ }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "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>;
@@ -6731,9 +6731,9 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentSc
6731
6731
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6732
6732
  status: z.ZodEnum<{
6733
6733
  pending: "pending";
6734
- failed: "failed";
6735
6734
  running: "running";
6736
6735
  completed: "completed";
6736
+ failed: "failed";
6737
6737
  cancelled: "cancelled";
6738
6738
  }>;
6739
6739
  }>, z.core.$strip>;
@@ -6741,11 +6741,11 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6741
6741
  createdAt: z.ZodOptional<z.ZodString>;
6742
6742
  status: z.ZodString;
6743
6743
  scheduledTriggerId: z.ZodString;
6744
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6745
6744
  scheduledFor: z.ZodString;
6746
6745
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6747
6746
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6748
6747
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
6748
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6749
6749
  attemptNumber: z.ZodOptional<z.ZodInt>;
6750
6750
  idempotencyKey: z.ZodString;
6751
6751
  id: z.ZodString;
@@ -6755,11 +6755,11 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6755
6755
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6756
6756
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6757
6757
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6758
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6759
6758
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6760
6759
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6761
6760
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6762
6761
  resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
6762
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6763
6763
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
6764
6764
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6765
6765
  }, z.core.$strip>;
@@ -7299,10 +7299,8 @@ 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>>;
7303
7302
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7304
7303
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7305
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7306
7304
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7307
7305
  type: z.ZodEnum<{
7308
7306
  commit: "commit";
@@ -7312,10 +7310,12 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
7312
7310
  name: z.ZodString;
7313
7311
  hash: z.ZodString;
7314
7312
  }, z.core.$strip>>>;
7313
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7315
7314
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7315
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7316
7316
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7317
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7318
7317
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7318
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7319
7319
  }, z.core.$strip>;
7320
7320
  declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
7321
7321
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -7666,9 +7666,9 @@ declare const TaskRelationApiUpdateSchema: z.ZodObject<{
7666
7666
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7667
7667
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7668
7668
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7669
- relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7670
7669
  parentTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7671
7670
  childTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7671
+ relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7672
7672
  }, z.core.$strip>;
7673
7673
  declare const McpTransportConfigSchema: z.ZodObject<{
7674
7674
  type: z.ZodEnum<{
@@ -8257,9 +8257,9 @@ declare const ToolInsertSchema: z.ZodObject<{
8257
8257
  id: z.ZodString;
8258
8258
  name: z.ZodString;
8259
8259
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8260
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8260
8261
  tenantId: z.ZodString;
8261
8262
  projectId: z.ZodString;
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">;
8265
8265
  mcp: z.ZodObject<{
@@ -8862,12 +8862,8 @@ 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>>>>;
8867
8865
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8868
8866
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8869
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8870
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
8871
8867
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8872
8868
  type: z.ZodEnum<{
8873
8869
  commit: "commit";
@@ -8878,8 +8874,12 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
8878
8874
  hash: z.ZodString;
8879
8875
  }, z.core.$strip>>>;
8880
8876
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8877
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
8878
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8879
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8881
8880
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8882
8881
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8882
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8883
8883
  }, z.core.$strip>;
8884
8884
  declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
8885
8885
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -9777,8 +9777,8 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
9777
9777
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
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
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9781
9780
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9781
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9782
9782
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9783
9783
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9784
9784
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10402,10 +10402,8 @@ 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_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
10406
10405
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10407
10406
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10408
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10409
10407
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
10410
10408
  type: z.ZodEnum<{
10411
10409
  commit: "commit";
@@ -10415,7 +10413,9 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10415
10413
  name: z.ZodString;
10416
10414
  hash: z.ZodString;
10417
10415
  }, z.core.$strip>>>;
10416
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
10418
10417
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10418
+ contextConfigId: 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>>>;
@@ -10748,15 +10748,15 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
10748
10748
  createdAt: z.ZodOptional<z.ZodString>;
10749
10749
  updatedAt: z.ZodOptional<z.ZodString>;
10750
10750
  datasetId: z.ZodString;
10751
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10752
10751
  datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10752
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10753
10753
  }, z.core.$strip>;
10754
10754
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
10755
10755
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10756
10756
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10757
10757
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10758
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10759
10758
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10759
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10760
10760
  }, z.core.$strip>;
10761
10761
  declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
10762
10762
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -11460,19 +11460,19 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
11460
11460
  id: z.ZodString;
11461
11461
  }>, z.core.$strip>;
11462
11462
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
11463
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
11464
11463
  createdAt: z.ZodOptional<z.ZodString>;
11465
11464
  updatedAt: z.ZodOptional<z.ZodString>;
11466
- evaluatorId: z.ZodString;
11465
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
11467
11466
  conversationId: z.ZodString;
11467
+ evaluatorId: z.ZodString;
11468
11468
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11469
11469
  }, z.core.$strip>;
11470
11470
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
11471
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
11472
11471
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11473
11472
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11474
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11473
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
11475
11474
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11475
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11476
11476
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11477
11477
  }, z.core.$strip>;
11478
11478
  declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -11764,14 +11764,14 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
11764
11764
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
11765
11765
  createdAt: z.ZodOptional<z.ZodString>;
11766
11766
  updatedAt: z.ZodOptional<z.ZodString>;
11767
- evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11768
11767
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11768
+ evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11769
11769
  }, z.core.$strip>;
11770
11770
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
11771
11771
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11772
11772
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11773
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11774
11773
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11774
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11775
11775
  }, z.core.$strip>;
11776
11776
  declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
11777
11777
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -12102,26 +12102,26 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12102
12102
  }>, z.core.$strip>;
12103
12103
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12104
12104
  name: z.ZodString;
12105
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12106
12105
  createdAt: z.ZodOptional<z.ZodString>;
12107
12106
  updatedAt: z.ZodOptional<z.ZodString>;
12107
+ description: z.ZodOptional<z.ZodNullable<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
12112
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12113
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12114
12113
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12115
12114
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12115
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<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
12121
  name: z.ZodString;
12122
- description: z.ZodNullable<z.ZodString>;
12123
12122
  createdAt: z.ZodString;
12124
12123
  updatedAt: z.ZodString;
12124
+ description: z.ZodNullable<z.ZodString>;
12125
12125
  isActive: z.ZodBoolean;
12126
12126
  suiteConfigIds: z.ZodArray<z.ZodString>;
12127
12127
  }, z.core.$strip>;
@@ -13158,14 +13158,14 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
13158
13158
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
13159
13159
  createdAt: z.ZodOptional<z.ZodString>;
13160
13160
  updatedAt: z.ZodOptional<z.ZodString>;
13161
- evaluationSuiteConfigId: z.ZodString;
13162
13161
  evaluationRunConfigId: z.ZodString;
13162
+ evaluationSuiteConfigId: z.ZodString;
13163
13163
  }, z.core.$strip>;
13164
13164
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
13165
13165
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13166
13166
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13167
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13168
13167
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13168
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13169
13169
  }, z.core.$strip>;
13170
13170
  declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13171
13171
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -13464,14 +13464,14 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
13464
13464
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
13465
13465
  createdAt: z.ZodOptional<z.ZodString>;
13466
13466
  updatedAt: z.ZodOptional<z.ZodString>;
13467
- evaluatorId: z.ZodString;
13468
13467
  evaluationJobConfigId: z.ZodString;
13468
+ evaluatorId: z.ZodString;
13469
13469
  }, z.core.$strip>;
13470
13470
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
13471
13471
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13472
13472
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13473
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13474
13473
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13474
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13475
13475
  }, z.core.$strip>;
13476
13476
  declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13477
13477
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -13770,14 +13770,14 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
13770
13770
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
13771
13771
  createdAt: z.ZodOptional<z.ZodString>;
13772
13772
  updatedAt: z.ZodOptional<z.ZodString>;
13773
- evaluationSuiteConfigId: z.ZodString;
13774
13773
  evaluatorId: z.ZodString;
13774
+ evaluationSuiteConfigId: z.ZodString;
13775
13775
  }, z.core.$strip>;
13776
13776
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
13777
13777
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13778
13778
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13779
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13780
13779
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13780
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13781
13781
  }, z.core.$strip>;
13782
13782
  declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
13783
13783
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -14279,8 +14279,10 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14279
14279
  }>, z.core.$strip>;
14280
14280
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14281
14281
  name: z.ZodString;
14282
+ createdAt: z.ZodOptional<z.ZodString>;
14283
+ updatedAt: z.ZodOptional<z.ZodString>;
14284
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14282
14285
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14283
- prompt: z.ZodString;
14284
14286
  model: z.ZodType<{
14285
14287
  model?: string | undefined;
14286
14288
  providerOptions?: Record<string, any> | undefined;
@@ -14294,15 +14296,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14294
14296
  model?: string | undefined;
14295
14297
  providerOptions?: Record<string, any> | undefined;
14296
14298
  }>>;
14297
- createdAt: z.ZodOptional<z.ZodString>;
14298
- updatedAt: z.ZodOptional<z.ZodString>;
14299
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14299
+ prompt: z.ZodString;
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
14303
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14304
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14305
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14306
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14304
14307
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14305
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14306
14308
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14307
14309
  model?: string | undefined;
14308
14310
  providerOptions?: Record<string, any> | undefined;
@@ -14316,9 +14318,7 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14316
14318
  model?: string | undefined;
14317
14319
  providerOptions?: Record<string, any> | undefined;
14318
14320
  }>>>>;
14319
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14320
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14321
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14321
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
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>;
14324
14324
  declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -15121,9 +15121,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
15121
15121
  id: z.ZodString;
15122
15122
  }>, z.core.$strip>;
15123
15123
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
15124
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15125
15124
  createdAt: z.ZodOptional<z.ZodString>;
15126
15125
  updatedAt: z.ZodOptional<z.ZodString>;
15126
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15127
15127
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15128
15128
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15129
15129
  prompt: string;
@@ -15168,9 +15168,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
15168
15168
  }>>>>;
15169
15169
  }, z.core.$strip>;
15170
15170
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15171
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15172
15171
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15173
15172
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15173
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15174
15174
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
15175
15175
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15176
15176
  prompt: string;
@@ -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;
@@ -15676,16 +15676,16 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
15676
15676
  }>, z.core.$strip>;
15677
15677
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
15678
15678
  name: z.ZodString;
15679
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15680
15679
  createdAt: z.ZodOptional<z.ZodString>;
15681
15680
  updatedAt: z.ZodOptional<z.ZodString>;
15681
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15682
15682
  datasetId: z.ZodString;
15683
15683
  }, z.core.$strip>;
15684
15684
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
15685
15685
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15686
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15687
15686
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15688
15687
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15688
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15689
15689
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15690
15690
  }, z.core.$strip>;
15691
15691
  declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -15994,20 +15994,20 @@ declare const SkillSelectSchema: z.ZodObject<{
15994
15994
  }>;
15995
15995
  declare const SkillInsertSchema: z.ZodObject<{
15996
15996
  name: z.ZodString;
15997
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
15997
15998
  description: z.ZodString;
15998
15999
  tenantId: z.ZodString;
15999
16000
  projectId: z.ZodString;
16000
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16001
16001
  content: z.ZodString;
16002
16002
  }, {
16003
16003
  out: {};
16004
16004
  in: {};
16005
16005
  }>;
16006
16006
  declare const SkillUpdateSchema: z.ZodObject<{
16007
+ metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16007
16008
  description: z.ZodOptional<z.ZodString>;
16008
16009
  tenantId: z.ZodOptional<z.ZodString>;
16009
16010
  projectId: z.ZodOptional<z.ZodString>;
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
  }, {
16013
16013
  out: {};
@@ -16026,15 +16026,15 @@ 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
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16029
16030
  description: z.ZodString;
16030
16031
  tenantId: z.ZodString;
16031
16032
  projectId: z.ZodString;
16032
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16033
16033
  content: z.ZodString;
16034
16034
  }>, z.core.$strip>;
16035
16035
  declare const SkillApiUpdateSchema: z.ZodObject<{
16036
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16037
16036
  metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16037
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16038
16038
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16039
16039
  }, z.core.$strip>;
16040
16040
  declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -17144,7 +17144,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
17144
17144
  }, {}, {
17145
17145
  length: 256;
17146
17146
  }>;
17147
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17147
+ }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "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>>;
@@ -17743,9 +17743,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
17743
17743
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
17744
17744
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17745
17745
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17746
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17747
17746
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17748
17747
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17748
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<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,9 +18160,9 @@ 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;
18163
18164
  index: z.ZodInt;
18164
18165
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18165
- subAgentId: z.ZodString;
18166
18166
  skillId: z.ZodString;
18167
18167
  }, {
18168
18168
  out: {};
@@ -18172,18 +18172,18 @@ 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>>;
18175
18176
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18176
18177
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18177
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18178
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
18182
  name: z.ZodString;
18183
- description: z.ZodString;
18184
18183
  createdAt: z.ZodString;
18185
18184
  updatedAt: z.ZodString;
18186
18185
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18186
+ description: z.ZodString;
18187
18187
  content: z.ZodString;
18188
18188
  subAgentSkillId: z.ZodString;
18189
18189
  subAgentId: z.ZodString;
@@ -18258,9 +18258,9 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18258
18258
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18259
18259
  id: z.ZodString;
18260
18260
  name: z.ZodString;
18261
+ createdAt: z.ZodString;
18262
+ updatedAt: z.ZodString;
18261
18263
  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;
@@ -18323,15 +18323,15 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18323
18323
  }, {
18324
18324
  stepCountIs?: number | undefined;
18325
18325
  }>>>;
18326
- createdAt: z.ZodString;
18327
- updatedAt: z.ZodString;
18326
+ prompt: z.ZodNullable<z.ZodString>;
18327
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18328
18328
  type: z.ZodLiteral<"internal">;
18329
18329
  }, z.core.$strip>, z.ZodObject<{
18330
18330
  id: z.ZodString;
18331
18331
  name: z.ZodString;
18332
- description: z.ZodNullable<z.ZodString>;
18333
18332
  createdAt: z.ZodString;
18334
18333
  updatedAt: z.ZodString;
18334
+ description: z.ZodNullable<z.ZodString>;
18335
18335
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18336
18336
  baseUrl: z.ZodString;
18337
18337
  type: z.ZodLiteral<"external">;
@@ -18798,9 +18798,9 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
18798
18798
  }>;
18799
18799
  declare const ApiKeyUpdateSchema: z.ZodObject<{
18800
18800
  name: z.ZodOptional<z.ZodString>;
18801
- agentId: z.ZodOptional<z.ZodString>;
18802
18801
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18803
18802
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18803
+ agentId: z.ZodOptional<z.ZodString>;
18804
18804
  }, {
18805
18805
  out: {};
18806
18806
  in: {};
@@ -18808,13 +18808,13 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
18808
18808
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
18809
18809
  id: z.ZodString;
18810
18810
  name: z.ZodNullable<z.ZodString>;
18811
- agentId: z.ZodString;
18812
18811
  createdAt: z.ZodString;
18813
18812
  updatedAt: z.ZodString;
18814
18813
  expiresAt: z.ZodNullable<z.ZodString>;
18815
- lastUsedAt: z.ZodNullable<z.ZodString>;
18814
+ agentId: z.ZodString;
18816
18815
  publicId: z.ZodString;
18817
18816
  keyPrefix: z.ZodString;
18817
+ lastUsedAt: z.ZodNullable<z.ZodString>;
18818
18818
  }, {
18819
18819
  out: {};
18820
18820
  in: {};
@@ -18824,13 +18824,13 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
18824
18824
  apiKey: z.ZodObject<{
18825
18825
  id: z.ZodString;
18826
18826
  name: z.ZodNullable<z.ZodString>;
18827
- agentId: z.ZodString;
18828
18827
  createdAt: z.ZodString;
18829
18828
  updatedAt: z.ZodString;
18830
18829
  expiresAt: z.ZodNullable<z.ZodString>;
18831
- lastUsedAt: z.ZodNullable<z.ZodString>;
18830
+ agentId: z.ZodString;
18832
18831
  publicId: z.ZodString;
18833
18832
  keyPrefix: z.ZodString;
18833
+ lastUsedAt: z.ZodNullable<z.ZodString>;
18834
18834
  }, {
18835
18835
  out: {};
18836
18836
  in: {};
@@ -18840,19 +18840,19 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
18840
18840
  }, z.core.$strip>;
18841
18841
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
18842
18842
  name: z.ZodString;
18843
- agentId: z.ZodString;
18844
18843
  createdAt: z.ZodOptional<z.ZodString>;
18845
18844
  updatedAt: z.ZodOptional<z.ZodString>;
18846
18845
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18846
+ agentId: z.ZodString;
18847
18847
  }, {
18848
18848
  out: {};
18849
18849
  in: {};
18850
18850
  }>;
18851
18851
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
18852
18852
  name: z.ZodOptional<z.ZodString>;
18853
- agentId: z.ZodOptional<z.ZodString>;
18854
18853
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18855
18854
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18855
+ agentId: z.ZodOptional<z.ZodString>;
18856
18856
  }, {
18857
18857
  out: {};
18858
18858
  in: {};
@@ -19434,11 +19434,14 @@ 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>>;
19437
19438
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19439
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
19438
19440
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19439
19441
  projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19440
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19441
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
19442
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19443
+ defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19444
+ defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19442
19445
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
19443
19446
  type: z.ZodLiteral<"web_client">;
19444
19447
  webClient: z.ZodObject<{
@@ -19448,9 +19451,6 @@ declare const AppUpdateSchema: z.ZodObject<{
19448
19451
  type: z.ZodLiteral<"api">;
19449
19452
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
19450
19453
  }, z.core.$strip>], "type">>;
19451
- defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19452
- defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19453
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19454
19454
  }, {
19455
19455
  out: {};
19456
19456
  in: {};
@@ -19967,18 +19967,18 @@ declare const AppApiSelectSchema: drizzle_zod19.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
19971
  name: z.ZodString;
19973
- description: z.ZodNullable<z.ZodString>;
19974
- tenantId: z.ZodNullable<z.ZodString>;
19975
- projectId: z.ZodNullable<z.ZodString>;
19976
19972
  createdAt: z.ZodString;
19977
19973
  updatedAt: z.ZodString;
19974
+ description: z.ZodNullable<z.ZodString>;
19978
19975
  enabled: z.ZodBoolean;
19979
- defaultAgentId: z.ZodNullable<z.ZodString>;
19980
- defaultProjectId: z.ZodNullable<z.ZodString>;
19976
+ type: z.ZodString;
19977
+ tenantId: z.ZodNullable<z.ZodString>;
19978
+ projectId: z.ZodNullable<z.ZodString>;
19981
19979
  lastUsedAt: z.ZodNullable<z.ZodString>;
19980
+ defaultProjectId: z.ZodNullable<z.ZodString>;
19981
+ defaultAgentId: z.ZodNullable<z.ZodString>;
19982
19982
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
19983
19983
  type: z.ZodLiteral<"web_client">;
19984
19984
  webClient: z.ZodObject<{
@@ -19993,17 +19993,19 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
19993
19993
  in: {};
19994
19994
  }>;
19995
19995
  declare const AppApiInsertSchema: z.ZodObject<{
19996
+ name: z.ZodString;
19997
+ createdAt: z.ZodOptional<z.ZodString>;
19998
+ updatedAt: z.ZodOptional<z.ZodString>;
19999
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20000
+ enabled: z.ZodOptional<z.ZodBoolean>;
19996
20001
  type: z.ZodEnum<{
19997
20002
  web_client: "web_client";
19998
20003
  api: "api";
19999
20004
  }>;
20000
- name: z.ZodString;
20001
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20002
20005
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20003
20006
  projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20004
- createdAt: z.ZodOptional<z.ZodString>;
20005
- updatedAt: z.ZodOptional<z.ZodString>;
20006
- enabled: z.ZodOptional<z.ZodBoolean>;
20007
+ defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20008
+ defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20007
20009
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
20008
20010
  type: z.ZodLiteral<"web_client">;
20009
20011
  webClient: z.ZodObject<{
@@ -20013,19 +20015,20 @@ declare const AppApiInsertSchema: z.ZodObject<{
20013
20015
  type: z.ZodLiteral<"api">;
20014
20016
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
20015
20017
  }, z.core.$strip>], "type">;
20016
- defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20017
- defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20018
20018
  }, {
20019
20019
  out: {};
20020
20020
  in: {};
20021
20021
  }>;
20022
20022
  declare const AppApiUpdateSchema: z.ZodObject<{
20023
20023
  name: z.ZodOptional<z.ZodString>;
20024
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20024
20025
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20026
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
20025
20027
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20026
20028
  projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20027
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20028
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
20029
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20030
+ defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20031
+ defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20029
20032
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
20030
20033
  type: z.ZodLiteral<"web_client">;
20031
20034
  webClient: z.ZodObject<{
@@ -20035,9 +20038,6 @@ declare const AppApiUpdateSchema: z.ZodObject<{
20035
20038
  type: z.ZodLiteral<"api">;
20036
20039
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
20037
20040
  }, z.core.$strip>], "type">>;
20038
- defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20039
- defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20040
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20041
20041
  }, {
20042
20042
  out: {};
20043
20043
  in: {};
@@ -20045,18 +20045,18 @@ 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
20049
  name: z.ZodString;
20051
- description: z.ZodNullable<z.ZodString>;
20052
- tenantId: z.ZodNullable<z.ZodString>;
20053
- projectId: z.ZodNullable<z.ZodString>;
20054
20050
  createdAt: z.ZodString;
20055
20051
  updatedAt: z.ZodString;
20052
+ description: z.ZodNullable<z.ZodString>;
20056
20053
  enabled: z.ZodBoolean;
20057
- defaultAgentId: z.ZodNullable<z.ZodString>;
20058
- defaultProjectId: z.ZodNullable<z.ZodString>;
20054
+ type: z.ZodString;
20055
+ tenantId: z.ZodNullable<z.ZodString>;
20056
+ projectId: z.ZodNullable<z.ZodString>;
20059
20057
  lastUsedAt: z.ZodNullable<z.ZodString>;
20058
+ defaultProjectId: z.ZodNullable<z.ZodString>;
20059
+ defaultAgentId: z.ZodNullable<z.ZodString>;
20060
20060
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
20061
20061
  type: z.ZodLiteral<"web_client">;
20062
20062
  webClient: z.ZodObject<{
@@ -20524,13 +20524,13 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.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;
20529
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20530
+ type: z.ZodString;
20530
20531
  tenantId: z.ZodString;
20531
20532
  projectId: z.ZodString;
20532
20533
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20533
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20534
20534
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20535
20535
  credentialStoreId: z.ZodString;
20536
20536
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -20539,13 +20539,13 @@ declare const CredentialReferenceInsertSchema: z.ZodObject<{
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>;
20544
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20545
+ type: z.ZodOptional<z.ZodString>;
20545
20546
  tenantId: z.ZodOptional<z.ZodString>;
20546
20547
  projectId: z.ZodOptional<z.ZodString>;
20547
20548
  toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20548
- userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20549
20549
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20550
20550
  credentialStoreId: z.ZodOptional<z.ZodString>;
20551
20551
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
@@ -20558,8 +20558,8 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20558
20558
  name: z.ZodString;
20559
20559
  createdAt: z.ZodString;
20560
20560
  updatedAt: z.ZodString;
20561
- toolId: z.ZodNullable<z.ZodString>;
20562
20561
  userId: z.ZodNullable<z.ZodString>;
20562
+ toolId: z.ZodNullable<z.ZodString>;
20563
20563
  createdBy: z.ZodNullable<z.ZodString>;
20564
20564
  credentialStoreId: z.ZodString;
20565
20565
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -21147,8 +21147,8 @@ 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>>;
21151
21150
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21151
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21152
21152
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21153
21153
  credentialStoreId: z.ZodString;
21154
21154
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -21161,8 +21161,8 @@ 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>>>>;
21165
21164
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21165
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21166
21166
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21167
21167
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21168
21168
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
@@ -21230,9 +21230,9 @@ declare const McpToolSchema: z.ZodObject<{
21230
21230
  id: z.ZodString;
21231
21231
  name: z.ZodString;
21232
21232
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21233
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21233
21234
  tenantId: z.ZodString;
21234
21235
  projectId: z.ZodString;
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">;
21238
21238
  mcp: z.ZodObject<{
@@ -21288,8 +21288,8 @@ declare const McpToolSchema: z.ZodObject<{
21288
21288
  declare const MCPToolConfigSchema: z.ZodObject<{
21289
21289
  id: z.ZodString;
21290
21290
  name: z.ZodString;
21291
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21292
21291
  expiresAt: z.ZodOptional<z.ZodString>;
21292
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21293
21293
  createdBy: z.ZodOptional<z.ZodString>;
21294
21294
  credentialScope: z.ZodOptional<z.ZodString>;
21295
21295
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -21324,8 +21324,8 @@ 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>>;
21328
21327
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21328
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21329
21329
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21330
21330
  credentialStoreId: z.ZodString;
21331
21331
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -21350,9 +21350,9 @@ declare const ToolUpdateSchema: z.ZodObject<{
21350
21350
  id: z.ZodOptional<z.ZodString>;
21351
21351
  name: z.ZodOptional<z.ZodString>;
21352
21352
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21353
+ headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
21353
21354
  tenantId: z.ZodOptional<z.ZodString>;
21354
21355
  projectId: z.ZodOptional<z.ZodString>;
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">;
21358
21358
  mcp: z.ZodObject<{
@@ -21422,9 +21422,9 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
21422
21422
  id: z.ZodString;
21423
21423
  name: z.ZodString;
21424
21424
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21425
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21425
21426
  tenantId: z.ZodString;
21426
21427
  projectId: z.ZodString;
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">;
21430
21430
  mcp: z.ZodObject<{
@@ -21856,10 +21856,10 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21856
21856
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21857
21857
  id: z.ZodString;
21858
21858
  name: z.ZodString;
21859
- description: z.ZodNullable<z.ZodString>;
21860
- agentId: z.ZodString;
21861
21859
  createdAt: z.ZodString;
21862
21860
  updatedAt: z.ZodString;
21861
+ description: z.ZodNullable<z.ZodString>;
21862
+ agentId: z.ZodString;
21863
21863
  functionId: z.ZodString;
21864
21864
  relationshipId: z.ZodOptional<z.ZodString>;
21865
21865
  }, z.core.$strip>;
@@ -22250,8 +22250,8 @@ 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_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22254
22253
  subAgentId: z.ZodString;
22254
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22255
22255
  functionToolId: z.ZodString;
22256
22256
  }, {
22257
22257
  out: {};
@@ -22644,8 +22644,8 @@ 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>>;
22648
22647
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22648
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22649
22649
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22650
22650
  credentialStoreId: z.ZodString;
22651
22651
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -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
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23201
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
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23202
23203
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23203
23204
  needsApproval: z.ZodOptional<z.ZodBoolean>;
23204
23205
  }, 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_zod19.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
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23596
23595
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23596
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23597
23597
  }, z.core.$strip>;
23598
23598
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
23599
23599
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -25326,7 +25326,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
25326
25326
  }, {}, {
25327
25327
  length: 256;
25328
25328
  }>;
25329
- }, "type" | "id" | "name" | "description" | "tenantId" | "projectId" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
25329
+ }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "type" | "tenantId" | "projectId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "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,13 +25391,13 @@ 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
25395
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25397
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25398
25396
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25399
25397
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25400
25398
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
25399
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25400
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25401
25401
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25402
25402
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25403
25403
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -25473,8 +25473,9 @@ declare const TeamAgentSchema: z.ZodObject<{
25473
25473
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
25474
25474
  id: z.ZodString;
25475
25475
  name: z.ZodString;
25476
+ createdAt: z.ZodOptional<z.ZodString>;
25477
+ updatedAt: z.ZodOptional<z.ZodString>;
25476
25478
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25477
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25478
25479
  models: z.ZodOptional<z.ZodObject<{
25479
25480
  base: z.ZodOptional<z.ZodObject<{
25480
25481
  model: z.ZodOptional<z.ZodString>;
@@ -25489,8 +25490,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25489
25490
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25490
25491
  }, z.core.$strip>>;
25491
25492
  }, z.core.$strip>>;
25492
- createdAt: z.ZodOptional<z.ZodString>;
25493
- updatedAt: z.ZodOptional<z.ZodString>;
25493
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25494
25494
  type: z.ZodLiteral<"internal">;
25495
25495
  canUse: z.ZodArray<z.ZodObject<{
25496
25496
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25527,13 +25527,14 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25527
25527
  id: z.ZodString;
25528
25528
  name: z.ZodString;
25529
25529
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25530
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25531
25530
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25531
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25532
25532
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25533
25533
  id: z.ZodString;
25534
25534
  name: z.ZodString;
25535
+ createdAt: z.ZodOptional<z.ZodString>;
25536
+ updatedAt: z.ZodOptional<z.ZodString>;
25535
25537
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25536
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25537
25538
  models: z.ZodOptional<z.ZodObject<{
25538
25539
  base: z.ZodOptional<z.ZodObject<{
25539
25540
  model: z.ZodOptional<z.ZodString>;
@@ -25548,8 +25549,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25548
25549
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25549
25550
  }, z.core.$strip>>;
25550
25551
  }, z.core.$strip>>;
25551
- createdAt: z.ZodOptional<z.ZodString>;
25552
- updatedAt: z.ZodOptional<z.ZodString>;
25552
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25553
25553
  type: z.ZodLiteral<"internal">;
25554
25554
  canUse: z.ZodArray<z.ZodObject<{
25555
25555
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25586,9 +25586,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25586
25586
  id: z.ZodString;
25587
25587
  name: z.ZodString;
25588
25588
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25589
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
25589
25590
  tenantId: z.ZodString;
25590
25591
  projectId: z.ZodString;
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">;
25594
25594
  mcp: z.ZodObject<{
@@ -25656,6 +25656,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25656
25656
  name: z.ZodString;
25657
25657
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25658
25658
  enabled: z.ZodOptional<z.ZodBoolean>;
25659
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25659
25660
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25660
25661
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25661
25662
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25663,15 +25664,14 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25663
25664
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25664
25665
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25665
25666
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25666
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25667
25667
  }, z.core.$strip>>>;
25668
25668
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25669
25669
  name: z.ZodString;
25670
25670
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25671
25671
  enabled: z.ZodOptional<z.ZodBoolean>;
25672
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25672
25673
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25673
25674
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25674
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25675
25675
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25676
25676
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25677
25677
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25834,6 +25834,8 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25834
25834
  declare const ProjectApiSelectSchema: z.ZodObject<{
25835
25835
  id: z.ZodString;
25836
25836
  name: z.ZodString;
25837
+ createdAt: z.ZodString;
25838
+ updatedAt: z.ZodString;
25837
25839
  description: z.ZodNullable<z.ZodString>;
25838
25840
  models: z.ZodNullable<z.ZodObject<{
25839
25841
  base: z.ZodObject<{
@@ -25853,8 +25855,6 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25853
25855
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25854
25856
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25855
25857
  }, z.core.$strip>>;
25856
- createdAt: z.ZodString;
25857
- updatedAt: z.ZodString;
25858
25858
  }, {
25859
25859
  out: {};
25860
25860
  in: {};
@@ -25936,13 +25936,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25936
25936
  id: z.ZodString;
25937
25937
  name: z.ZodString;
25938
25938
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25939
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25940
25939
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25940
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25941
25941
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25942
25942
  id: z.ZodString;
25943
25943
  name: z.ZodString;
25944
+ createdAt: z.ZodOptional<z.ZodString>;
25945
+ updatedAt: z.ZodOptional<z.ZodString>;
25944
25946
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25945
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25946
25947
  models: z.ZodOptional<z.ZodObject<{
25947
25948
  base: z.ZodOptional<z.ZodObject<{
25948
25949
  model: z.ZodOptional<z.ZodString>;
@@ -25957,8 +25958,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25957
25958
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25958
25959
  }, z.core.$strip>>;
25959
25960
  }, z.core.$strip>>;
25960
- createdAt: z.ZodOptional<z.ZodString>;
25961
- updatedAt: z.ZodOptional<z.ZodString>;
25961
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25962
25962
  type: z.ZodLiteral<"internal">;
25963
25963
  canUse: z.ZodArray<z.ZodObject<{
25964
25964
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25995,9 +25995,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25995
25995
  id: z.ZodString;
25996
25996
  name: z.ZodString;
25997
25997
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25998
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
25998
25999
  tenantId: z.ZodString;
25999
26000
  projectId: z.ZodString;
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">;
26003
26003
  mcp: z.ZodObject<{
@@ -26065,6 +26065,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26065
26065
  name: z.ZodString;
26066
26066
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26067
26067
  enabled: z.ZodOptional<z.ZodBoolean>;
26068
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26068
26069
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26069
26070
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26070
26071
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26072,15 +26073,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26072
26073
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26073
26074
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26074
26075
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26075
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26076
26076
  }, z.core.$strip>>>;
26077
26077
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26078
26078
  name: z.ZodString;
26079
26079
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26080
26080
  enabled: z.ZodOptional<z.ZodBoolean>;
26081
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26081
26082
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26082
26083
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26083
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26084
26084
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26085
26085
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26086
26086
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26133,9 +26133,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26133
26133
  id: z.ZodString;
26134
26134
  name: z.ZodString;
26135
26135
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26136
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26136
26137
  tenantId: z.ZodString;
26137
26138
  projectId: z.ZodString;
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">;
26141
26141
  mcp: z.ZodObject<{
@@ -26186,10 +26186,10 @@ 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
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
26189
26190
  description: z.ZodString;
26190
26191
  tenantId: z.ZodString;
26191
26192
  projectId: z.ZodString;
26192
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
26193
26193
  content: z.ZodString;
26194
26194
  }>, z.core.$strip>>>;
26195
26195
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -26272,8 +26272,8 @@ 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>>;
26276
26275
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26276
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26277
26277
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26278
26278
  credentialStoreId: z.ZodString;
26279
26279
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -26292,8 +26292,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26292
26292
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26293
26293
  id: z.ZodString;
26294
26294
  name: z.ZodString;
26295
+ createdAt: z.ZodString;
26296
+ updatedAt: z.ZodString;
26295
26297
  description: z.ZodNullable<z.ZodString>;
26296
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26297
26298
  models: z.ZodNullable<z.ZodType<{
26298
26299
  base?: {
26299
26300
  model?: string | undefined;
@@ -26356,8 +26357,7 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26356
26357
  }, {
26357
26358
  stepCountIs?: number | undefined;
26358
26359
  }>>>;
26359
- createdAt: z.ZodString;
26360
- updatedAt: z.ZodString;
26360
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26361
26361
  type: z.ZodLiteral<"internal">;
26362
26362
  canUse: z.ZodArray<z.ZodObject<{
26363
26363
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26385,8 +26385,9 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26385
26385
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26386
26386
  id: z.ZodString;
26387
26387
  name: z.ZodString;
26388
+ createdAt: z.ZodString;
26389
+ updatedAt: z.ZodString;
26388
26390
  description: z.ZodNullable<z.ZodString>;
26389
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26390
26391
  models: z.ZodNullable<z.ZodType<{
26391
26392
  base?: {
26392
26393
  model?: string | undefined;
@@ -26449,8 +26450,7 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26449
26450
  }, {
26450
26451
  stepCountIs?: number | undefined;
26451
26452
  }>>>;
26452
- createdAt: z.ZodString;
26453
- updatedAt: z.ZodString;
26453
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26454
26454
  type: z.ZodLiteral<"internal">;
26455
26455
  canUse: z.ZodArray<z.ZodObject<{
26456
26456
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26484,16 +26484,17 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26484
26484
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26485
26485
  id: z.ZodString;
26486
26486
  name: z.ZodString;
26487
- description: z.ZodNullable<z.ZodString>;
26488
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26489
26487
  createdAt: z.ZodString;
26490
26488
  updatedAt: z.ZodString;
26489
+ description: z.ZodNullable<z.ZodString>;
26491
26490
  contextConfigId: z.ZodNullable<z.ZodString>;
26491
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26492
26492
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26493
26493
  id: z.ZodString;
26494
26494
  name: z.ZodString;
26495
+ createdAt: z.ZodString;
26496
+ updatedAt: z.ZodString;
26495
26497
  description: z.ZodNullable<z.ZodString>;
26496
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26497
26498
  models: z.ZodNullable<z.ZodType<{
26498
26499
  base?: {
26499
26500
  model?: string | undefined;
@@ -26556,8 +26557,7 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26556
26557
  }, {
26557
26558
  stepCountIs?: number | undefined;
26558
26559
  }>>>;
26559
- createdAt: z.ZodString;
26560
- updatedAt: z.ZodString;
26560
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26561
26561
  type: z.ZodLiteral<"internal">;
26562
26562
  canUse: z.ZodArray<z.ZodObject<{
26563
26563
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26630,10 +26630,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26630
26630
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26631
26631
  id: z.ZodString;
26632
26632
  name: z.ZodString;
26633
- description: z.ZodNullable<z.ZodString>;
26634
- agentId: z.ZodString;
26635
26633
  createdAt: z.ZodString;
26636
26634
  updatedAt: z.ZodString;
26635
+ description: z.ZodNullable<z.ZodString>;
26636
+ agentId: z.ZodString;
26637
26637
  functionId: z.ZodString;
26638
26638
  relationshipId: z.ZodOptional<z.ZodString>;
26639
26639
  }, z.core.$strip>>>;
@@ -26712,11 +26712,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26712
26712
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26713
26713
  id: z.ZodString;
26714
26714
  name: z.ZodString;
26715
- description: z.ZodNullable<z.ZodString>;
26716
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26717
26715
  createdAt: z.ZodString;
26718
26716
  updatedAt: z.ZodString;
26717
+ description: z.ZodNullable<z.ZodString>;
26719
26718
  contextConfigId: z.ZodNullable<z.ZodString>;
26719
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26720
26720
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26721
26721
  createdAt: z.ZodString;
26722
26722
  updatedAt: z.ZodString;
@@ -26765,10 +26765,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26765
26765
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26766
26766
  id: z.ZodString;
26767
26767
  name: z.ZodString;
26768
- description: z.ZodNullable<z.ZodString>;
26769
- agentId: z.ZodString;
26770
26768
  createdAt: z.ZodString;
26771
26769
  updatedAt: z.ZodString;
26770
+ description: z.ZodNullable<z.ZodString>;
26771
+ agentId: z.ZodString;
26772
26772
  functionId: z.ZodString;
26773
26773
  relationshipId: z.ZodOptional<z.ZodString>;
26774
26774
  }, z.core.$strip>>>;
@@ -26846,8 +26846,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26846
26846
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26847
26847
  id: z.ZodString;
26848
26848
  name: z.ZodString;
26849
+ createdAt: z.ZodString;
26850
+ updatedAt: z.ZodString;
26849
26851
  description: z.ZodNullable<z.ZodString>;
26850
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26851
26852
  models: z.ZodNullable<z.ZodType<{
26852
26853
  base?: {
26853
26854
  model?: string | undefined;
@@ -26910,8 +26911,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26910
26911
  }, {
26911
26912
  stepCountIs?: number | undefined;
26912
26913
  }>>>;
26913
- createdAt: z.ZodString;
26914
- updatedAt: z.ZodString;
26914
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26915
26915
  type: z.ZodLiteral<"internal">;
26916
26916
  canUse: z.ZodArray<z.ZodObject<{
26917
26917
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26946,6 +26946,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26946
26946
  declare const FullProjectSelectSchema: z.ZodObject<{
26947
26947
  id: z.ZodString;
26948
26948
  name: z.ZodString;
26949
+ createdAt: z.ZodString;
26950
+ updatedAt: z.ZodString;
26949
26951
  description: z.ZodNullable<z.ZodString>;
26950
26952
  models: z.ZodNullable<z.ZodObject<{
26951
26953
  base: z.ZodObject<{
@@ -26965,21 +26967,20 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26965
26967
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26966
26968
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26967
26969
  }, 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
26972
  name: z.ZodString;
26973
- description: z.ZodNullable<z.ZodString>;
26974
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26975
26973
  createdAt: z.ZodString;
26976
26974
  updatedAt: z.ZodString;
26975
+ description: z.ZodNullable<z.ZodString>;
26977
26976
  contextConfigId: z.ZodNullable<z.ZodString>;
26977
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26978
26978
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26979
26979
  id: z.ZodString;
26980
26980
  name: z.ZodString;
26981
+ createdAt: z.ZodString;
26982
+ updatedAt: z.ZodString;
26981
26983
  description: z.ZodNullable<z.ZodString>;
26982
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26983
26984
  models: z.ZodNullable<z.ZodType<{
26984
26985
  base?: {
26985
26986
  model?: string | undefined;
@@ -27042,8 +27043,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27042
27043
  }, {
27043
27044
  stepCountIs?: number | undefined;
27044
27045
  }>>>;
27045
- createdAt: z.ZodString;
27046
- updatedAt: z.ZodString;
27046
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27047
27047
  type: z.ZodLiteral<"internal">;
27048
27048
  canUse: z.ZodArray<z.ZodObject<{
27049
27049
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27116,10 +27116,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27116
27116
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27117
27117
  id: z.ZodString;
27118
27118
  name: z.ZodString;
27119
- description: z.ZodNullable<z.ZodString>;
27120
- agentId: z.ZodString;
27121
27119
  createdAt: z.ZodString;
27122
27120
  updatedAt: z.ZodString;
27121
+ description: z.ZodNullable<z.ZodString>;
27122
+ agentId: z.ZodString;
27123
27123
  functionId: z.ZodString;
27124
27124
  relationshipId: z.ZodOptional<z.ZodString>;
27125
27125
  }, z.core.$strip>>>;
@@ -27227,10 +27227,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27227
27227
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27228
27228
  id: z.ZodString;
27229
27229
  name: z.ZodString;
27230
- description: z.ZodNullable<z.ZodString>;
27231
- agentId: z.ZodString;
27232
27230
  createdAt: z.ZodString;
27233
27231
  updatedAt: z.ZodString;
27232
+ description: z.ZodNullable<z.ZodString>;
27233
+ agentId: z.ZodString;
27234
27234
  functionId: z.ZodString;
27235
27235
  relationshipId: z.ZodOptional<z.ZodString>;
27236
27236
  }, z.core.$strip>>>;
@@ -27377,8 +27377,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27377
27377
  name: z.ZodString;
27378
27378
  createdAt: z.ZodString;
27379
27379
  updatedAt: z.ZodString;
27380
- toolId: z.ZodNullable<z.ZodString>;
27381
27380
  userId: z.ZodNullable<z.ZodString>;
27381
+ toolId: z.ZodNullable<z.ZodString>;
27382
27382
  createdBy: z.ZodNullable<z.ZodString>;
27383
27383
  credentialStoreId: z.ZodString;
27384
27384
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -27970,6 +27970,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27970
27970
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27971
27971
  id: z.ZodString;
27972
27972
  name: z.ZodString;
27973
+ createdAt: z.ZodString;
27974
+ updatedAt: z.ZodString;
27973
27975
  description: z.ZodNullable<z.ZodString>;
27974
27976
  models: z.ZodNullable<z.ZodObject<{
27975
27977
  base: z.ZodObject<{
@@ -27989,8 +27991,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27989
27991
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27990
27992
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27991
27993
  }, 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;
@@ -28023,10 +28023,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28023
28023
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28024
28024
  id: z.ZodString;
28025
28025
  name: z.ZodString;
28026
- description: z.ZodNullable<z.ZodString>;
28027
- agentId: z.ZodString;
28028
28026
  createdAt: z.ZodString;
28029
28027
  updatedAt: z.ZodString;
28028
+ description: z.ZodNullable<z.ZodString>;
28029
+ agentId: z.ZodString;
28030
28030
  functionId: z.ZodString;
28031
28031
  relationshipId: z.ZodOptional<z.ZodString>;
28032
28032
  }, z.core.$strip>>>;
@@ -28173,8 +28173,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28173
28173
  name: z.ZodString;
28174
28174
  createdAt: z.ZodString;
28175
28175
  updatedAt: z.ZodString;
28176
- toolId: z.ZodNullable<z.ZodString>;
28177
28176
  userId: z.ZodNullable<z.ZodString>;
28177
+ toolId: z.ZodNullable<z.ZodString>;
28178
28178
  createdBy: z.ZodNullable<z.ZodString>;
28179
28179
  credentialStoreId: z.ZodString;
28180
28180
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -28762,11 +28762,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28762
28762
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28763
28763
  id: z.ZodString;
28764
28764
  name: z.ZodString;
28765
- description: z.ZodNullable<z.ZodString>;
28766
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28767
28765
  createdAt: z.ZodString;
28768
28766
  updatedAt: z.ZodString;
28767
+ description: z.ZodNullable<z.ZodString>;
28769
28768
  contextConfigId: z.ZodNullable<z.ZodString>;
28769
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28770
28770
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28771
28771
  createdAt: z.ZodString;
28772
28772
  updatedAt: z.ZodString;
@@ -28815,10 +28815,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28815
28815
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28816
28816
  id: z.ZodString;
28817
28817
  name: z.ZodString;
28818
- description: z.ZodNullable<z.ZodString>;
28819
- agentId: z.ZodString;
28820
28818
  createdAt: z.ZodString;
28821
28819
  updatedAt: z.ZodString;
28820
+ description: z.ZodNullable<z.ZodString>;
28821
+ agentId: z.ZodString;
28822
28822
  functionId: z.ZodString;
28823
28823
  relationshipId: z.ZodOptional<z.ZodString>;
28824
28824
  }, z.core.$strip>>>;
@@ -28896,8 +28896,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28896
28896
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28897
28897
  id: z.ZodString;
28898
28898
  name: z.ZodString;
28899
+ createdAt: z.ZodString;
28900
+ updatedAt: z.ZodString;
28899
28901
  description: z.ZodNullable<z.ZodString>;
28900
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28901
28902
  models: z.ZodNullable<z.ZodType<{
28902
28903
  base?: {
28903
28904
  model?: string | undefined;
@@ -28960,8 +28961,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28960
28961
  }, {
28961
28962
  stepCountIs?: number | undefined;
28962
28963
  }>>>;
28963
- createdAt: z.ZodString;
28964
- updatedAt: z.ZodString;
28964
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28965
28965
  type: z.ZodLiteral<"internal">;
28966
28966
  canUse: z.ZodArray<z.ZodObject<{
28967
28967
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -29001,6 +29001,8 @@ declare const ProjectResponse: z.ZodObject<{
29001
29001
  data: z.ZodObject<{
29002
29002
  id: z.ZodString;
29003
29003
  name: z.ZodString;
29004
+ createdAt: z.ZodString;
29005
+ updatedAt: z.ZodString;
29004
29006
  description: z.ZodNullable<z.ZodString>;
29005
29007
  models: z.ZodNullable<z.ZodObject<{
29006
29008
  base: z.ZodObject<{
@@ -29020,8 +29022,6 @@ declare const ProjectResponse: z.ZodObject<{
29020
29022
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29021
29023
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29022
29024
  }, z.core.$strip>>;
29023
- createdAt: z.ZodString;
29024
- updatedAt: z.ZodString;
29025
29025
  }, {
29026
29026
  out: {};
29027
29027
  in: {};
@@ -29262,13 +29262,13 @@ declare const ApiKeyResponse: z.ZodObject<{
29262
29262
  data: z.ZodObject<{
29263
29263
  id: z.ZodString;
29264
29264
  name: z.ZodNullable<z.ZodString>;
29265
- agentId: z.ZodString;
29266
29265
  createdAt: z.ZodString;
29267
29266
  updatedAt: z.ZodString;
29268
29267
  expiresAt: z.ZodNullable<z.ZodString>;
29269
- lastUsedAt: z.ZodNullable<z.ZodString>;
29268
+ agentId: z.ZodString;
29270
29269
  publicId: z.ZodString;
29271
29270
  keyPrefix: z.ZodString;
29271
+ lastUsedAt: z.ZodNullable<z.ZodString>;
29272
29272
  }, {
29273
29273
  out: {};
29274
29274
  in: {};
@@ -29280,8 +29280,8 @@ declare const CredentialReferenceResponse: z.ZodObject<{
29280
29280
  name: z.ZodString;
29281
29281
  createdAt: z.ZodString;
29282
29282
  updatedAt: z.ZodString;
29283
- toolId: z.ZodNullable<z.ZodString>;
29284
29283
  userId: z.ZodNullable<z.ZodString>;
29284
+ toolId: z.ZodNullable<z.ZodString>;
29285
29285
  createdBy: z.ZodNullable<z.ZodString>;
29286
29286
  credentialStoreId: z.ZodString;
29287
29287
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -29883,10 +29883,10 @@ declare const FunctionToolResponse: z.ZodObject<{
29883
29883
  data: z.ZodObject<{
29884
29884
  id: z.ZodString;
29885
29885
  name: z.ZodString;
29886
- description: z.ZodNullable<z.ZodString>;
29887
- agentId: z.ZodString;
29888
29886
  createdAt: z.ZodString;
29889
29887
  updatedAt: z.ZodString;
29888
+ description: z.ZodNullable<z.ZodString>;
29889
+ agentId: z.ZodString;
29890
29890
  functionId: z.ZodString;
29891
29891
  relationshipId: z.ZodOptional<z.ZodString>;
29892
29892
  }, z.core.$strip>;
@@ -30122,6 +30122,8 @@ declare const ProjectListResponse: z.ZodObject<{
30122
30122
  data: z.ZodArray<z.ZodObject<{
30123
30123
  id: z.ZodString;
30124
30124
  name: z.ZodString;
30125
+ createdAt: z.ZodString;
30126
+ updatedAt: z.ZodString;
30125
30127
  description: z.ZodNullable<z.ZodString>;
30126
30128
  models: z.ZodNullable<z.ZodObject<{
30127
30129
  base: z.ZodObject<{
@@ -30141,8 +30143,6 @@ declare const ProjectListResponse: z.ZodObject<{
30141
30143
  transferCountIs: z.ZodOptional<z.ZodNumber>;
30142
30144
  stepCountIs: z.ZodOptional<z.ZodNumber>;
30143
30145
  }, z.core.$strip>>;
30144
- createdAt: z.ZodString;
30145
- updatedAt: z.ZodString;
30146
30146
  }, {
30147
30147
  out: {};
30148
30148
  in: {};
@@ -30413,13 +30413,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
30413
30413
  data: z.ZodArray<z.ZodObject<{
30414
30414
  id: z.ZodString;
30415
30415
  name: z.ZodNullable<z.ZodString>;
30416
- agentId: z.ZodString;
30417
30416
  createdAt: z.ZodString;
30418
30417
  updatedAt: z.ZodString;
30419
30418
  expiresAt: z.ZodNullable<z.ZodString>;
30420
- lastUsedAt: z.ZodNullable<z.ZodString>;
30419
+ agentId: z.ZodString;
30421
30420
  publicId: z.ZodString;
30422
30421
  keyPrefix: z.ZodString;
30422
+ lastUsedAt: z.ZodNullable<z.ZodString>;
30423
30423
  }, {
30424
30424
  out: {};
30425
30425
  in: {};
@@ -30433,18 +30433,18 @@ 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
30437
  name: z.ZodString;
30439
- description: z.ZodNullable<z.ZodString>;
30440
- tenantId: z.ZodNullable<z.ZodString>;
30441
- projectId: z.ZodNullable<z.ZodString>;
30442
30438
  createdAt: z.ZodString;
30443
30439
  updatedAt: z.ZodString;
30440
+ description: z.ZodNullable<z.ZodString>;
30444
30441
  enabled: z.ZodBoolean;
30445
- defaultAgentId: z.ZodNullable<z.ZodString>;
30446
- defaultProjectId: z.ZodNullable<z.ZodString>;
30442
+ type: z.ZodString;
30443
+ tenantId: z.ZodNullable<z.ZodString>;
30444
+ projectId: z.ZodNullable<z.ZodString>;
30447
30445
  lastUsedAt: z.ZodNullable<z.ZodString>;
30446
+ defaultProjectId: z.ZodNullable<z.ZodString>;
30447
+ defaultAgentId: z.ZodNullable<z.ZodString>;
30448
30448
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
30449
30449
  type: z.ZodLiteral<"web_client">;
30450
30450
  webClient: z.ZodObject<{
@@ -30461,18 +30461,18 @@ 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
30465
  name: z.ZodString;
30467
- description: z.ZodNullable<z.ZodString>;
30468
- tenantId: z.ZodNullable<z.ZodString>;
30469
- projectId: z.ZodNullable<z.ZodString>;
30470
30466
  createdAt: z.ZodString;
30471
30467
  updatedAt: z.ZodString;
30468
+ description: z.ZodNullable<z.ZodString>;
30472
30469
  enabled: z.ZodBoolean;
30473
- defaultAgentId: z.ZodNullable<z.ZodString>;
30474
- defaultProjectId: z.ZodNullable<z.ZodString>;
30470
+ type: z.ZodString;
30471
+ tenantId: z.ZodNullable<z.ZodString>;
30472
+ projectId: z.ZodNullable<z.ZodString>;
30475
30473
  lastUsedAt: z.ZodNullable<z.ZodString>;
30474
+ defaultProjectId: z.ZodNullable<z.ZodString>;
30475
+ defaultAgentId: z.ZodNullable<z.ZodString>;
30476
30476
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
30477
30477
  type: z.ZodLiteral<"web_client">;
30478
30478
  webClient: z.ZodObject<{
@@ -30499,8 +30499,8 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30499
30499
  name: z.ZodString;
30500
30500
  createdAt: z.ZodString;
30501
30501
  updatedAt: z.ZodString;
30502
- toolId: z.ZodNullable<z.ZodString>;
30503
30502
  userId: z.ZodNullable<z.ZodString>;
30503
+ toolId: z.ZodNullable<z.ZodString>;
30504
30504
  createdBy: z.ZodNullable<z.ZodString>;
30505
30505
  credentialStoreId: z.ZodString;
30506
30506
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -31114,10 +31114,10 @@ declare const FunctionToolListResponse: z.ZodObject<{
31114
31114
  data: z.ZodArray<z.ZodObject<{
31115
31115
  id: z.ZodString;
31116
31116
  name: z.ZodString;
31117
- description: z.ZodNullable<z.ZodString>;
31118
- agentId: z.ZodString;
31119
31117
  createdAt: z.ZodString;
31120
31118
  updatedAt: z.ZodString;
31119
+ description: z.ZodNullable<z.ZodString>;
31120
+ agentId: z.ZodString;
31121
31121
  functionId: z.ZodString;
31122
31122
  relationshipId: z.ZodOptional<z.ZodString>;
31123
31123
  }, z.core.$strip>>;
@@ -31433,10 +31433,11 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
31433
31433
  data: z.ZodObject<{
31434
31434
  id: z.ZodString;
31435
31435
  name: z.ZodString;
31436
- description: z.ZodNullable<z.ZodString>;
31437
31436
  createdAt: z.ZodString;
31438
31437
  updatedAt: z.ZodString;
31438
+ description: z.ZodNullable<z.ZodString>;
31439
31439
  enabled: z.ZodBoolean;
31440
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31440
31441
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31441
31442
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31442
31443
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -31488,7 +31489,6 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
31488
31489
  }, z.core.$strip>>;
31489
31490
  }, z.core.$strip>>>;
31490
31491
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31491
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31492
31492
  webhookUrl: z.ZodString;
31493
31493
  }, z.core.$strip>;
31494
31494
  }, z.core.$strip>;
@@ -31496,10 +31496,11 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31496
31496
  data: z.ZodObject<{
31497
31497
  id: z.ZodString;
31498
31498
  name: z.ZodString;
31499
- description: z.ZodNullable<z.ZodString>;
31500
31499
  createdAt: z.ZodString;
31501
31500
  updatedAt: z.ZodString;
31501
+ description: z.ZodNullable<z.ZodString>;
31502
31502
  enabled: z.ZodBoolean;
31503
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31503
31504
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31504
31505
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31505
31506
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -31551,7 +31552,6 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31551
31552
  }, z.core.$strip>>;
31552
31553
  }, z.core.$strip>>>;
31553
31554
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31554
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31555
31555
  webhookUrl: z.ZodString;
31556
31556
  }, z.core.$strip>;
31557
31557
  warning: z.ZodOptional<z.ZodString>;
@@ -31560,10 +31560,11 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31560
31560
  data: z.ZodArray<z.ZodObject<{
31561
31561
  id: z.ZodString;
31562
31562
  name: z.ZodString;
31563
- description: z.ZodNullable<z.ZodString>;
31564
31563
  createdAt: z.ZodString;
31565
31564
  updatedAt: z.ZodString;
31565
+ description: z.ZodNullable<z.ZodString>;
31566
31566
  enabled: z.ZodBoolean;
31567
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31567
31568
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31568
31569
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31569
31570
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -31615,7 +31616,6 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31615
31616
  }, z.core.$strip>>;
31616
31617
  }, z.core.$strip>>>;
31617
31618
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31618
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31619
31619
  webhookUrl: z.ZodString;
31620
31620
  }, z.core.$strip>>;
31621
31621
  pagination: z.ZodObject<{
@@ -31628,13 +31628,13 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31628
31628
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31629
31629
  id: z.ZodString;
31630
31630
  name: z.ZodString;
31631
- description: z.ZodNullable<z.ZodString>;
31632
31631
  createdAt: z.ZodString;
31633
31632
  updatedAt: z.ZodString;
31633
+ description: z.ZodNullable<z.ZodString>;
31634
31634
  enabled: z.ZodBoolean;
31635
+ createdBy: z.ZodNullable<z.ZodString>;
31635
31636
  messageTemplate: z.ZodNullable<z.ZodString>;
31636
31637
  runAsUserId: z.ZodNullable<z.ZodString>;
31637
- createdBy: z.ZodNullable<z.ZodString>;
31638
31638
  cronExpression: z.ZodNullable<z.ZodString>;
31639
31639
  cronTimezone: z.ZodNullable<z.ZodString>;
31640
31640
  runAt: z.ZodNullable<z.ZodString>;
@@ -31644,8 +31644,8 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31644
31644
  timeoutSeconds: z.ZodNumber;
31645
31645
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
31646
31646
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
31647
- failed: "failed";
31648
31647
  completed: "completed";
31648
+ failed: "failed";
31649
31649
  }>>;
31650
31650
  lastRunConversationIds: z.ZodArray<z.ZodString>;
31651
31651
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -31707,13 +31707,13 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31707
31707
  data: z.ZodArray<z.ZodObject<{
31708
31708
  id: z.ZodString;
31709
31709
  name: z.ZodString;
31710
- description: z.ZodNullable<z.ZodString>;
31711
31710
  createdAt: z.ZodString;
31712
31711
  updatedAt: z.ZodString;
31712
+ description: z.ZodNullable<z.ZodString>;
31713
31713
  enabled: z.ZodBoolean;
31714
+ createdBy: z.ZodNullable<z.ZodString>;
31714
31715
  messageTemplate: z.ZodNullable<z.ZodString>;
31715
31716
  runAsUserId: z.ZodNullable<z.ZodString>;
31716
- createdBy: z.ZodNullable<z.ZodString>;
31717
31717
  cronExpression: z.ZodNullable<z.ZodString>;
31718
31718
  cronTimezone: z.ZodNullable<z.ZodString>;
31719
31719
  runAt: z.ZodNullable<z.ZodString>;
@@ -31723,8 +31723,8 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31723
31723
  timeoutSeconds: z.ZodNumber;
31724
31724
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
31725
31725
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
31726
- failed: "failed";
31727
31726
  completed: "completed";
31727
+ failed: "failed";
31728
31728
  }>>;
31729
31729
  lastRunConversationIds: z.ZodArray<z.ZodString>;
31730
31730
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -31753,9 +31753,9 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
31753
31753
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31754
31754
  status: z.ZodEnum<{
31755
31755
  pending: "pending";
31756
- failed: "failed";
31757
31756
  running: "running";
31758
31757
  completed: "completed";
31758
+ failed: "failed";
31759
31759
  cancelled: "cancelled";
31760
31760
  }>;
31761
31761
  }>, z.core.$strip>;
@@ -31777,9 +31777,9 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
31777
31777
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31778
31778
  status: z.ZodEnum<{
31779
31779
  pending: "pending";
31780
- failed: "failed";
31781
31780
  running: "running";
31782
31781
  completed: "completed";
31782
+ failed: "failed";
31783
31783
  cancelled: "cancelled";
31784
31784
  }>;
31785
31785
  }>, z.core.$strip>>;
@@ -31866,10 +31866,10 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31866
31866
  data: z.ZodArray<z.ZodObject<{
31867
31867
  id: z.ZodString;
31868
31868
  name: z.ZodString;
31869
- description: z.ZodString;
31870
31869
  createdAt: z.ZodString;
31871
31870
  updatedAt: z.ZodString;
31872
31871
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31872
+ description: z.ZodString;
31873
31873
  content: z.ZodString;
31874
31874
  subAgentSkillId: z.ZodString;
31875
31875
  subAgentId: z.ZodString;
@@ -31904,13 +31904,14 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31904
31904
  id: z.ZodString;
31905
31905
  name: z.ZodString;
31906
31906
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31907
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31908
31907
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31908
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31909
31909
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31910
31910
  id: z.ZodString;
31911
31911
  name: z.ZodString;
31912
+ createdAt: z.ZodOptional<z.ZodString>;
31913
+ updatedAt: z.ZodOptional<z.ZodString>;
31912
31914
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31913
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31914
31915
  models: z.ZodOptional<z.ZodObject<{
31915
31916
  base: z.ZodOptional<z.ZodObject<{
31916
31917
  model: z.ZodOptional<z.ZodString>;
@@ -31925,8 +31926,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31925
31926
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31926
31927
  }, z.core.$strip>>;
31927
31928
  }, z.core.$strip>>;
31928
- createdAt: z.ZodOptional<z.ZodString>;
31929
- updatedAt: z.ZodOptional<z.ZodString>;
31929
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31930
31930
  type: z.ZodLiteral<"internal">;
31931
31931
  canUse: z.ZodArray<z.ZodObject<{
31932
31932
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31963,9 +31963,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31963
31963
  id: z.ZodString;
31964
31964
  name: z.ZodString;
31965
31965
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31966
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
31966
31967
  tenantId: z.ZodString;
31967
31968
  projectId: z.ZodString;
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">;
31971
31971
  mcp: z.ZodObject<{
@@ -32033,6 +32033,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32033
32033
  name: z.ZodString;
32034
32034
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32035
32035
  enabled: z.ZodOptional<z.ZodBoolean>;
32036
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32036
32037
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32037
32038
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32038
32039
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32040,15 +32041,14 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32040
32041
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32041
32042
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32042
32043
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32043
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32044
32044
  }, z.core.$strip>>>;
32045
32045
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32046
32046
  name: z.ZodString;
32047
32047
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32048
32048
  enabled: z.ZodOptional<z.ZodBoolean>;
32049
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32049
32050
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32050
32051
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32051
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32052
32052
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32053
32053
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32054
32054
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32101,9 +32101,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32101
32101
  id: z.ZodString;
32102
32102
  name: z.ZodString;
32103
32103
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32104
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32104
32105
  tenantId: z.ZodString;
32105
32106
  projectId: z.ZodString;
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">;
32109
32109
  mcp: z.ZodObject<{
@@ -32154,10 +32154,10 @@ 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
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
32157
32158
  description: z.ZodString;
32158
32159
  tenantId: z.ZodString;
32159
32160
  projectId: z.ZodString;
32160
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
32161
32161
  content: z.ZodString;
32162
32162
  }>, z.core.$strip>>>;
32163
32163
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -32240,8 +32240,8 @@ 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>>;
32244
32243
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32244
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32245
32245
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32246
32246
  credentialStoreId: z.ZodString;
32247
32247
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -32262,6 +32262,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32262
32262
  data: z.ZodObject<{
32263
32263
  id: z.ZodString;
32264
32264
  name: z.ZodString;
32265
+ createdAt: z.ZodString;
32266
+ updatedAt: z.ZodString;
32265
32267
  description: z.ZodNullable<z.ZodString>;
32266
32268
  models: z.ZodNullable<z.ZodObject<{
32267
32269
  base: z.ZodObject<{
@@ -32281,21 +32283,20 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32281
32283
  transferCountIs: z.ZodOptional<z.ZodNumber>;
32282
32284
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32283
32285
  }, 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
32288
  name: z.ZodString;
32289
- description: z.ZodNullable<z.ZodString>;
32290
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
32291
32289
  createdAt: z.ZodString;
32292
32290
  updatedAt: z.ZodString;
32291
+ description: z.ZodNullable<z.ZodString>;
32293
32292
  contextConfigId: z.ZodNullable<z.ZodString>;
32293
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
32294
32294
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32295
32295
  id: z.ZodString;
32296
32296
  name: z.ZodString;
32297
+ createdAt: z.ZodString;
32298
+ updatedAt: z.ZodString;
32297
32299
  description: z.ZodNullable<z.ZodString>;
32298
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32299
32300
  models: z.ZodNullable<z.ZodType<{
32300
32301
  base?: {
32301
32302
  model?: string | undefined;
@@ -32358,8 +32359,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32358
32359
  }, {
32359
32360
  stepCountIs?: number | undefined;
32360
32361
  }>>>;
32361
- createdAt: z.ZodString;
32362
- updatedAt: z.ZodString;
32362
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32363
32363
  type: z.ZodLiteral<"internal">;
32364
32364
  canUse: z.ZodArray<z.ZodObject<{
32365
32365
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -32432,10 +32432,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32432
32432
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32433
32433
  id: z.ZodString;
32434
32434
  name: z.ZodString;
32435
- description: z.ZodNullable<z.ZodString>;
32436
- agentId: z.ZodString;
32437
32435
  createdAt: z.ZodString;
32438
32436
  updatedAt: z.ZodString;
32437
+ description: z.ZodNullable<z.ZodString>;
32438
+ agentId: z.ZodString;
32439
32439
  functionId: z.ZodString;
32440
32440
  relationshipId: z.ZodOptional<z.ZodString>;
32441
32441
  }, z.core.$strip>>>;
@@ -32543,10 +32543,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32543
32543
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32544
32544
  id: z.ZodString;
32545
32545
  name: z.ZodString;
32546
- description: z.ZodNullable<z.ZodString>;
32547
- agentId: z.ZodString;
32548
32546
  createdAt: z.ZodString;
32549
32547
  updatedAt: z.ZodString;
32548
+ description: z.ZodNullable<z.ZodString>;
32549
+ agentId: z.ZodString;
32550
32550
  functionId: z.ZodString;
32551
32551
  relationshipId: z.ZodOptional<z.ZodString>;
32552
32552
  }, z.core.$strip>>>;
@@ -32693,8 +32693,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32693
32693
  name: z.ZodString;
32694
32694
  createdAt: z.ZodString;
32695
32695
  updatedAt: z.ZodString;
32696
- toolId: z.ZodNullable<z.ZodString>;
32697
32696
  userId: z.ZodNullable<z.ZodString>;
32697
+ toolId: z.ZodNullable<z.ZodString>;
32698
32698
  createdBy: z.ZodNullable<z.ZodString>;
32699
32699
  credentialStoreId: z.ZodString;
32700
32700
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -33288,6 +33288,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33288
33288
  data: z.ZodObject<{
33289
33289
  id: z.ZodString;
33290
33290
  name: z.ZodString;
33291
+ createdAt: z.ZodString;
33292
+ updatedAt: z.ZodString;
33291
33293
  description: z.ZodNullable<z.ZodString>;
33292
33294
  models: z.ZodNullable<z.ZodObject<{
33293
33295
  base: z.ZodObject<{
@@ -33307,8 +33309,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33307
33309
  transferCountIs: z.ZodOptional<z.ZodNumber>;
33308
33310
  stepCountIs: z.ZodOptional<z.ZodNumber>;
33309
33311
  }, 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;
@@ -33341,10 +33341,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33341
33341
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33342
33342
  id: z.ZodString;
33343
33343
  name: z.ZodString;
33344
- description: z.ZodNullable<z.ZodString>;
33345
- agentId: z.ZodString;
33346
33344
  createdAt: z.ZodString;
33347
33345
  updatedAt: z.ZodString;
33346
+ description: z.ZodNullable<z.ZodString>;
33347
+ agentId: z.ZodString;
33348
33348
  functionId: z.ZodString;
33349
33349
  relationshipId: z.ZodOptional<z.ZodString>;
33350
33350
  }, z.core.$strip>>>;
@@ -33491,8 +33491,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33491
33491
  name: z.ZodString;
33492
33492
  createdAt: z.ZodString;
33493
33493
  updatedAt: z.ZodString;
33494
- toolId: z.ZodNullable<z.ZodString>;
33495
33494
  userId: z.ZodNullable<z.ZodString>;
33495
+ toolId: z.ZodNullable<z.ZodString>;
33496
33496
  createdBy: z.ZodNullable<z.ZodString>;
33497
33497
  credentialStoreId: z.ZodString;
33498
33498
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -34080,11 +34080,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34080
34080
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
34081
34081
  id: z.ZodString;
34082
34082
  name: z.ZodString;
34083
- description: z.ZodNullable<z.ZodString>;
34084
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
34085
34083
  createdAt: z.ZodString;
34086
34084
  updatedAt: z.ZodString;
34085
+ description: z.ZodNullable<z.ZodString>;
34087
34086
  contextConfigId: z.ZodNullable<z.ZodString>;
34087
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
34088
34088
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
34089
34089
  createdAt: z.ZodString;
34090
34090
  updatedAt: z.ZodString;
@@ -34133,10 +34133,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34133
34133
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34134
34134
  id: z.ZodString;
34135
34135
  name: z.ZodString;
34136
- description: z.ZodNullable<z.ZodString>;
34137
- agentId: z.ZodString;
34138
34136
  createdAt: z.ZodString;
34139
34137
  updatedAt: z.ZodString;
34138
+ description: z.ZodNullable<z.ZodString>;
34139
+ agentId: z.ZodString;
34140
34140
  functionId: z.ZodString;
34141
34141
  relationshipId: z.ZodOptional<z.ZodString>;
34142
34142
  }, z.core.$strip>>>;
@@ -34214,8 +34214,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34214
34214
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34215
34215
  id: z.ZodString;
34216
34216
  name: z.ZodString;
34217
+ createdAt: z.ZodString;
34218
+ updatedAt: z.ZodString;
34217
34219
  description: z.ZodNullable<z.ZodString>;
34218
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34219
34220
  models: z.ZodNullable<z.ZodType<{
34220
34221
  base?: {
34221
34222
  model?: string | undefined;
@@ -34278,8 +34279,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34278
34279
  }, {
34279
34280
  stepCountIs?: number | undefined;
34280
34281
  }>>>;
34281
- createdAt: z.ZodString;
34282
- updatedAt: z.ZodString;
34282
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34283
34283
  type: z.ZodLiteral<"internal">;
34284
34284
  canUse: z.ZodArray<z.ZodObject<{
34285
34285
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34321,13 +34321,14 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34321
34321
  id: z.ZodString;
34322
34322
  name: z.ZodString;
34323
34323
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34324
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34325
34324
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34325
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34326
34326
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34327
34327
  id: z.ZodString;
34328
34328
  name: z.ZodString;
34329
+ createdAt: z.ZodOptional<z.ZodString>;
34330
+ updatedAt: z.ZodOptional<z.ZodString>;
34329
34331
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34330
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
34331
34332
  models: z.ZodOptional<z.ZodObject<{
34332
34333
  base: z.ZodOptional<z.ZodObject<{
34333
34334
  model: z.ZodOptional<z.ZodString>;
@@ -34342,8 +34343,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34342
34343
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
34343
34344
  }, z.core.$strip>>;
34344
34345
  }, z.core.$strip>>;
34345
- createdAt: z.ZodOptional<z.ZodString>;
34346
- updatedAt: z.ZodOptional<z.ZodString>;
34346
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
34347
34347
  type: z.ZodLiteral<"internal">;
34348
34348
  canUse: z.ZodArray<z.ZodObject<{
34349
34349
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34380,9 +34380,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34380
34380
  id: z.ZodString;
34381
34381
  name: z.ZodString;
34382
34382
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34383
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34383
34384
  tenantId: z.ZodString;
34384
34385
  projectId: z.ZodString;
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">;
34388
34388
  mcp: z.ZodObject<{
@@ -34450,6 +34450,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34450
34450
  name: z.ZodString;
34451
34451
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34452
34452
  enabled: z.ZodOptional<z.ZodBoolean>;
34453
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34453
34454
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34454
34455
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34455
34456
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34457,15 +34458,14 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34457
34458
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34458
34459
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34459
34460
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34460
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34461
34461
  }, z.core.$strip>>>;
34462
34462
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
34463
34463
  name: z.ZodString;
34464
34464
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34465
34465
  enabled: z.ZodOptional<z.ZodBoolean>;
34466
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34466
34467
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34467
34468
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34468
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34469
34469
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34470
34470
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34471
34471
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34519,16 +34519,17 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34519
34519
  data: z.ZodObject<{
34520
34520
  id: z.ZodString;
34521
34521
  name: z.ZodString;
34522
- description: z.ZodNullable<z.ZodString>;
34523
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
34524
34522
  createdAt: z.ZodString;
34525
34523
  updatedAt: z.ZodString;
34524
+ description: z.ZodNullable<z.ZodString>;
34526
34525
  contextConfigId: z.ZodNullable<z.ZodString>;
34526
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
34527
34527
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34528
34528
  id: z.ZodString;
34529
34529
  name: z.ZodString;
34530
+ createdAt: z.ZodString;
34531
+ updatedAt: z.ZodString;
34530
34532
  description: z.ZodNullable<z.ZodString>;
34531
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34532
34533
  models: z.ZodNullable<z.ZodType<{
34533
34534
  base?: {
34534
34535
  model?: string | undefined;
@@ -34591,8 +34592,7 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34591
34592
  }, {
34592
34593
  stepCountIs?: number | undefined;
34593
34594
  }>>>;
34594
- createdAt: z.ZodString;
34595
- updatedAt: z.ZodString;
34595
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34596
34596
  type: z.ZodLiteral<"internal">;
34597
34597
  canUse: z.ZodArray<z.ZodObject<{
34598
34598
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34665,10 +34665,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34665
34665
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34666
34666
  id: z.ZodString;
34667
34667
  name: z.ZodString;
34668
- description: z.ZodNullable<z.ZodString>;
34669
- agentId: z.ZodString;
34670
34668
  createdAt: z.ZodString;
34671
34669
  updatedAt: z.ZodString;
34670
+ description: z.ZodNullable<z.ZodString>;
34671
+ agentId: z.ZodString;
34672
34672
  functionId: z.ZodString;
34673
34673
  relationshipId: z.ZodOptional<z.ZodString>;
34674
34674
  }, z.core.$strip>>>;
@@ -34769,9 +34769,9 @@ declare const McpToolResponse: z.ZodObject<{
34769
34769
  id: z.ZodString;
34770
34770
  name: z.ZodString;
34771
34771
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34772
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34772
34773
  tenantId: z.ZodString;
34773
34774
  projectId: z.ZodString;
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">;
34777
34777
  mcp: z.ZodObject<{
@@ -34830,9 +34830,9 @@ declare const McpToolListResponse: z.ZodObject<{
34830
34830
  id: z.ZodString;
34831
34831
  name: z.ZodString;
34832
34832
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34833
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34833
34834
  tenantId: z.ZodString;
34834
34835
  projectId: z.ZodString;
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">;
34838
34838
  mcp: z.ZodObject<{
@@ -35720,8 +35720,8 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35720
35720
  }, undefined>, undefined>;
35721
35721
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35722
35722
  id: z.ZodString;
35723
- tenantId: z.ZodString;
35724
35723
  accountId: z.ZodString;
35724
+ tenantId: z.ZodString;
35725
35725
  installationId: z.ZodString;
35726
35726
  accountLogin: z.ZodString;
35727
35727
  accountType: z.ZodEnum<{
@@ -35751,8 +35751,8 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
35751
35751
  }>, z.core.$strip>;
35752
35752
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
35753
35753
  id: z.ZodString;
35754
- tenantId: z.ZodString;
35755
35754
  accountId: z.ZodString;
35755
+ tenantId: z.ZodString;
35756
35756
  installationId: z.ZodString;
35757
35757
  accountLogin: z.ZodString;
35758
35758
  accountType: z.ZodEnum<{