@inkeep/agents-core 0.0.0-dev-20260219033751 → 0.0.0-dev-20260219045007

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/auth/auth.d.ts +53 -53
  2. package/dist/auth/permissions.d.ts +13 -13
  3. package/dist/client-exports.d.ts +3 -3
  4. package/dist/data-access/manage/agents.d.ts +21 -21
  5. package/dist/data-access/manage/artifactComponents.d.ts +8 -8
  6. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  7. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  8. package/dist/data-access/manage/functionTools.d.ts +12 -12
  9. package/dist/data-access/manage/skills.d.ts +13 -13
  10. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  11. package/dist/data-access/manage/subAgentRelations.d.ts +26 -26
  12. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  13. package/dist/data-access/manage/subAgents.d.ts +15 -15
  14. package/dist/data-access/manage/tools.d.ts +21 -21
  15. package/dist/data-access/manage/triggers.d.ts +2 -2
  16. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  17. package/dist/data-access/runtime/conversations.d.ts +20 -20
  18. package/dist/data-access/runtime/messages.d.ts +9 -9
  19. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  20. package/dist/data-access/runtime/tasks.d.ts +4 -4
  21. package/dist/db/manage/manage-schema.d.ts +4 -4
  22. package/dist/db/runtime/runtime-schema.d.ts +2 -2
  23. package/dist/middleware/authz-meta.d.ts +15 -0
  24. package/dist/middleware/authz-meta.js +11 -0
  25. package/dist/middleware/create-protected-route.d.ts +30 -0
  26. package/dist/middleware/create-protected-route.js +20 -0
  27. package/dist/middleware/index.d.ts +5 -0
  28. package/dist/middleware/index.js +6 -0
  29. package/dist/middleware/inherited-auth.d.ts +43 -0
  30. package/dist/middleware/inherited-auth.js +50 -0
  31. package/dist/middleware/no-auth.d.ts +6 -0
  32. package/dist/middleware/no-auth.js +11 -0
  33. package/dist/setup/index.d.ts +2 -0
  34. package/dist/setup/index.js +3 -0
  35. package/dist/setup/setup.d.ts +24 -0
  36. package/dist/setup/setup.js +506 -0
  37. package/dist/validation/schemas.d.ts +282 -282
  38. package/package.json +9 -1
@@ -821,9 +821,9 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
821
821
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
822
822
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
823
823
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
825
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
824
826
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
825
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
827
827
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
828
828
  base: z.ZodOptional<z.ZodObject<{
829
829
  model: z.ZodOptional<z.ZodString>;
@@ -847,8 +847,8 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
847
847
  }, {
848
848
  stepCountIs?: number | undefined;
849
849
  }>>>>>>;
850
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
851
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
850
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
851
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
852
852
  }, z.core.$strip>;
853
853
  declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
854
854
  createdAt: drizzle_orm_pg_core211.PgColumn<{
@@ -2482,7 +2482,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2482
2482
  }, {}, {
2483
2483
  length: 256;
2484
2484
  }>;
2485
- }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2485
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2486
2486
  declare const AgentUpdateSchema: z.ZodObject<{
2487
2487
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2488
2488
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2750,9 +2750,9 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2750
2750
  }>, z.core.$strip>;
2751
2751
  declare const AgentApiInsertSchema: z.ZodObject<{
2752
2752
  name: z.ZodString;
2753
+ createdAt: z.ZodOptional<z.ZodString>;
2754
+ updatedAt: z.ZodOptional<z.ZodString>;
2753
2755
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2754
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2755
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
2756
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2757
2757
  base?: {
2758
2758
  model?: string | undefined;
@@ -2815,8 +2815,8 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2815
2815
  }, {
2816
2816
  transferCountIs?: number | undefined;
2817
2817
  }>>>>;
2818
- createdAt: z.ZodOptional<z.ZodString>;
2819
- updatedAt: z.ZodOptional<z.ZodString>;
2818
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2819
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2820
2820
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2821
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2822
2822
  enabled?: boolean | undefined;
@@ -2880,9 +2880,9 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2880
2880
  declare const AgentApiUpdateSchema: z.ZodObject<{
2881
2881
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2882
2882
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2883
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2884
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2883
2885
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2885
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2886
2886
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2887
2887
  base?: {
2888
2888
  model?: string | undefined;
@@ -2945,8 +2945,8 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2945
2945
  }, {
2946
2946
  transferCountIs?: number | undefined;
2947
2947
  }>>>>>>;
2948
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2949
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2948
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2949
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2950
2950
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2951
2951
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2952
2952
  enabled?: boolean | undefined;
@@ -3071,8 +3071,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3071
3071
  declare const SignatureSourceSchema: z.ZodObject<{
3072
3072
  source: z.ZodEnum<{
3073
3073
  query: "query";
3074
- header: "header";
3075
3074
  body: "body";
3075
+ header: "header";
3076
3076
  }>;
3077
3077
  key: z.ZodString;
3078
3078
  prefix: z.ZodOptional<z.ZodString>;
@@ -3101,8 +3101,8 @@ declare const SignatureSourceSchema: z.ZodObject<{
3101
3101
  declare const SignedComponentSchema: z.ZodObject<{
3102
3102
  source: z.ZodEnum<{
3103
3103
  literal: "literal";
3104
- header: "header";
3105
3104
  body: "body";
3105
+ header: "header";
3106
3106
  }>;
3107
3107
  key: z.ZodOptional<z.ZodString>;
3108
3108
  value: z.ZodOptional<z.ZodString>;
@@ -3211,8 +3211,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3211
3211
  signature: z.ZodObject<{
3212
3212
  source: z.ZodEnum<{
3213
3213
  query: "query";
3214
- header: "header";
3215
3214
  body: "body";
3215
+ header: "header";
3216
3216
  }>;
3217
3217
  key: z.ZodString;
3218
3218
  prefix: z.ZodOptional<z.ZodString>;
@@ -3221,8 +3221,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3221
3221
  signedComponents: z.ZodArray<z.ZodObject<{
3222
3222
  source: z.ZodEnum<{
3223
3223
  literal: "literal";
3224
- header: "header";
3225
3224
  body: "body";
3225
+ header: "header";
3226
3226
  }>;
3227
3227
  key: z.ZodOptional<z.ZodString>;
3228
3228
  value: z.ZodOptional<z.ZodString>;
@@ -3273,8 +3273,8 @@ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3273
3273
  */
3274
3274
  type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3275
3275
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3276
- success: "success";
3277
3276
  pending: "pending";
3277
+ success: "success";
3278
3278
  failed: "failed";
3279
3279
  }>;
3280
3280
  declare const TriggerSelectSchema: z.ZodObject<{
@@ -3307,8 +3307,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3307
3307
  signature: z.ZodObject<{
3308
3308
  source: z.ZodEnum<{
3309
3309
  query: "query";
3310
- header: "header";
3311
3310
  body: "body";
3311
+ header: "header";
3312
3312
  }>;
3313
3313
  key: z.ZodString;
3314
3314
  prefix: z.ZodOptional<z.ZodString>;
@@ -3317,8 +3317,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3317
3317
  signedComponents: z.ZodArray<z.ZodObject<{
3318
3318
  source: z.ZodEnum<{
3319
3319
  literal: "literal";
3320
- header: "header";
3321
3320
  body: "body";
3321
+ header: "header";
3322
3322
  }>;
3323
3323
  key: z.ZodOptional<z.ZodString>;
3324
3324
  value: z.ZodOptional<z.ZodString>;
@@ -3501,13 +3501,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3501
3501
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3502
3502
  encoding: "hex" | "base64";
3503
3503
  signature: {
3504
- source: "query" | "header" | "body";
3504
+ source: "query" | "body" | "header";
3505
3505
  key: string;
3506
3506
  prefix?: string | undefined;
3507
3507
  regex?: string | undefined;
3508
3508
  };
3509
3509
  signedComponents: {
3510
- source: "literal" | "header" | "body";
3510
+ source: "literal" | "body" | "header";
3511
3511
  required: boolean;
3512
3512
  key?: string | undefined;
3513
3513
  value?: string | undefined;
@@ -3538,13 +3538,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3538
3538
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3539
3539
  encoding: "hex" | "base64";
3540
3540
  signature: {
3541
- source: "query" | "header" | "body";
3541
+ source: "query" | "body" | "header";
3542
3542
  key: string;
3543
3543
  prefix?: string | undefined;
3544
3544
  regex?: string | undefined;
3545
3545
  };
3546
3546
  signedComponents: {
3547
- source: "literal" | "header" | "body";
3547
+ source: "literal" | "body" | "header";
3548
3548
  required: boolean;
3549
3549
  key?: string | undefined;
3550
3550
  value?: string | undefined;
@@ -3833,13 +3833,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3833
3833
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3834
3834
  encoding: "hex" | "base64";
3835
3835
  signature: {
3836
- source: "query" | "header" | "body";
3836
+ source: "query" | "body" | "header";
3837
3837
  key: string;
3838
3838
  prefix?: string | undefined;
3839
3839
  regex?: string | undefined;
3840
3840
  };
3841
3841
  signedComponents: {
3842
- source: "literal" | "header" | "body";
3842
+ source: "literal" | "body" | "header";
3843
3843
  required: boolean;
3844
3844
  key?: string | undefined;
3845
3845
  value?: string | undefined;
@@ -3870,13 +3870,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3870
3870
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3871
3871
  encoding: "hex" | "base64";
3872
3872
  signature: {
3873
- source: "query" | "header" | "body";
3873
+ source: "query" | "body" | "header";
3874
3874
  key: string;
3875
3875
  prefix?: string | undefined;
3876
3876
  regex?: string | undefined;
3877
3877
  };
3878
3878
  signedComponents: {
3879
- source: "literal" | "header" | "body";
3879
+ source: "literal" | "body" | "header";
3880
3880
  required: boolean;
3881
3881
  key?: string | undefined;
3882
3882
  value?: string | undefined;
@@ -4005,7 +4005,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4005
4005
  }, {}, {
4006
4006
  length: 256;
4007
4007
  }>;
4008
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4008
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "tenantId" | "projectId" | "inputSchema" | "agentId" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4009
4009
  declare const TriggerUpdateSchema: z.ZodObject<{
4010
4010
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4011
4011
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4056,8 +4056,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4056
4056
  signature: z.ZodObject<{
4057
4057
  source: z.ZodEnum<{
4058
4058
  query: "query";
4059
- header: "header";
4060
4059
  body: "body";
4060
+ header: "header";
4061
4061
  }>;
4062
4062
  key: z.ZodString;
4063
4063
  prefix: z.ZodOptional<z.ZodString>;
@@ -4066,8 +4066,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4066
4066
  signedComponents: z.ZodArray<z.ZodObject<{
4067
4067
  source: z.ZodEnum<{
4068
4068
  literal: "literal";
4069
- header: "header";
4070
4069
  body: "body";
4070
+ header: "header";
4071
4071
  }>;
4072
4072
  key: z.ZodOptional<z.ZodString>;
4073
4073
  value: z.ZodOptional<z.ZodString>;
@@ -4089,9 +4089,9 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4089
4089
  }>, z.core.$strip>;
4090
4090
  declare const TriggerApiInsertSchema: z.ZodObject<{
4091
4091
  name: z.ZodString;
4092
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4093
4092
  createdAt: z.ZodOptional<z.ZodString>;
4094
4093
  updatedAt: z.ZodOptional<z.ZodString>;
4094
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4095
4095
  enabled: z.ZodOptional<z.ZodBoolean>;
4096
4096
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4097
4097
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -4124,9 +4124,9 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4124
4124
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4125
4125
  id: z.ZodString;
4126
4126
  name: z.ZodString;
4127
- description: z.ZodNullable<z.ZodString>;
4128
4127
  createdAt: z.ZodString;
4129
4128
  updatedAt: z.ZodString;
4129
+ description: z.ZodNullable<z.ZodString>;
4130
4130
  enabled: z.ZodBoolean;
4131
4131
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4132
4132
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -4148,8 +4148,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4148
4148
  signature: z.ZodObject<{
4149
4149
  source: z.ZodEnum<{
4150
4150
  query: "query";
4151
- header: "header";
4152
4151
  body: "body";
4152
+ header: "header";
4153
4153
  }>;
4154
4154
  key: z.ZodString;
4155
4155
  prefix: z.ZodOptional<z.ZodString>;
@@ -4158,8 +4158,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4158
4158
  signedComponents: z.ZodArray<z.ZodObject<{
4159
4159
  source: z.ZodEnum<{
4160
4160
  literal: "literal";
4161
- header: "header";
4162
4161
  body: "body";
4162
+ header: "header";
4163
4163
  }>;
4164
4164
  key: z.ZodOptional<z.ZodString>;
4165
4165
  value: z.ZodOptional<z.ZodString>;
@@ -4989,7 +4989,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4989
4989
  }, {}, {
4990
4990
  length: 256;
4991
4991
  }>;
4992
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4992
+ }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4993
4993
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4994
4994
  triggerId: z.ZodOptional<z.ZodString>;
4995
4995
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5674,7 +5674,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert",
5674
5674
  }, {}, {
5675
5675
  length: 256;
5676
5676
  }>;
5677
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5677
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "tenantId" | "projectId" | "agentId" | "messageTemplate" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5678
5678
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5679
5679
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5680
5680
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -5718,9 +5718,9 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5718
5718
  }>, z.core.$strip>;
5719
5719
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5720
5720
  name: z.ZodString;
5721
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5722
5721
  createdAt: z.ZodOptional<z.ZodString>;
5723
5722
  updatedAt: z.ZodOptional<z.ZodString>;
5723
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5724
5724
  enabled: z.ZodOptional<z.ZodBoolean>;
5725
5725
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5726
5726
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5734,9 +5734,9 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5734
5734
  }, z.core.$strip>;
5735
5735
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5736
5736
  name: z.ZodString;
5737
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5738
5737
  createdAt: z.ZodOptional<z.ZodString>;
5739
5738
  updatedAt: z.ZodOptional<z.ZodString>;
5739
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5740
5740
  enabled: z.ZodOptional<z.ZodBoolean>;
5741
5741
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5742
5742
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6593,7 +6593,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
6593
6593
  }, {}, {
6594
6594
  length: 256;
6595
6595
  }>;
6596
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "scheduledTriggerId" | "workflowRunId">, undefined>, undefined>;
6596
+ }, "id" | "name" | "createdAt" | "updatedAt" | "status" | "description" | "tenantId" | "projectId" | "agentId" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6597
6597
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6598
6598
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6599
6599
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6625,12 +6625,12 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6625
6625
  }>, z.core.$strip>;
6626
6626
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6627
6627
  name: z.ZodString;
6628
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6629
6628
  createdAt: z.ZodOptional<z.ZodString>;
6630
6629
  updatedAt: z.ZodOptional<z.ZodString>;
6631
6630
  status: z.ZodOptional<z.ZodString>;
6632
- scheduledTriggerId: z.ZodString;
6631
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6633
6632
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6633
+ scheduledTriggerId: z.ZodString;
6634
6634
  id: z.ZodOptional<z.ZodString>;
6635
6635
  }, z.core.$strip>;
6636
6636
  declare const ScheduledWorkflowApiUpdateSchema: z.ZodObject<{
@@ -6654,9 +6654,9 @@ type ScheduledWorkflowInsert = z.infer<typeof ScheduledWorkflowInsertSchema>;
6654
6654
  type ScheduledWorkflowUpdate = z.infer<typeof ScheduledWorkflowUpdateSchema>;
6655
6655
  declare const ScheduledTriggerInvocationStatusEnum: z.ZodEnum<{
6656
6656
  pending: "pending";
6657
+ failed: "failed";
6657
6658
  running: "running";
6658
6659
  completed: "completed";
6659
- failed: "failed";
6660
6660
  cancelled: "cancelled";
6661
6661
  }>;
6662
6662
  declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
@@ -6675,9 +6675,9 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6675
6675
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6676
6676
  status: z.ZodEnum<{
6677
6677
  pending: "pending";
6678
+ failed: "failed";
6678
6679
  running: "running";
6679
6680
  completed: "completed";
6680
- failed: "failed";
6681
6681
  cancelled: "cancelled";
6682
6682
  }>;
6683
6683
  }, {
@@ -6709,7 +6709,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6709
6709
  tableName: "scheduled_trigger_invocations";
6710
6710
  dataType: "string";
6711
6711
  columnType: "PgVarchar";
6712
- data: "pending" | "running" | "completed" | "failed" | "cancelled";
6712
+ data: "pending" | "failed" | "running" | "completed" | "cancelled";
6713
6713
  driverParam: string;
6714
6714
  notNull: true;
6715
6715
  hasDefault: false;
@@ -6722,7 +6722,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6722
6722
  generated: undefined;
6723
6723
  }, {}, {
6724
6724
  length: 50;
6725
- $type: "pending" | "running" | "completed" | "failed" | "cancelled";
6725
+ $type: "pending" | "failed" | "running" | "completed" | "cancelled";
6726
6726
  }>;
6727
6727
  scheduledFor: drizzle_orm_pg_core211.PgColumn<{
6728
6728
  name: "scheduled_for";
@@ -6967,7 +6967,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6967
6967
  tableName: "scheduled_trigger_invocations";
6968
6968
  dataType: "string";
6969
6969
  columnType: "PgVarchar";
6970
- data: "pending" | "running" | "completed" | "failed" | "cancelled";
6970
+ data: "pending" | "failed" | "running" | "completed" | "cancelled";
6971
6971
  driverParam: string;
6972
6972
  notNull: true;
6973
6973
  hasDefault: false;
@@ -6980,7 +6980,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6980
6980
  generated: undefined;
6981
6981
  }, {}, {
6982
6982
  length: 50;
6983
- $type: "pending" | "running" | "completed" | "failed" | "cancelled";
6983
+ $type: "pending" | "failed" | "running" | "completed" | "cancelled";
6984
6984
  }>;
6985
6985
  scheduledFor: drizzle_orm_pg_core211.PgColumn<{
6986
6986
  name: "scheduled_for";
@@ -7200,7 +7200,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
7200
7200
  }, {}, {
7201
7201
  length: 256;
7202
7202
  }>;
7203
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7203
+ }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7204
7204
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7205
7205
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7206
7206
  status: z.ZodOptional<z.ZodString>;
@@ -7236,9 +7236,9 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentSc
7236
7236
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
7237
7237
  status: z.ZodEnum<{
7238
7238
  pending: "pending";
7239
+ failed: "failed";
7239
7240
  running: "running";
7240
7241
  completed: "completed";
7241
- failed: "failed";
7242
7242
  cancelled: "cancelled";
7243
7243
  }>;
7244
7244
  }>, z.core.$strip>;
@@ -7804,10 +7804,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7804
7804
  }>, z.core.$strip>;
7805
7805
  declare const TaskApiUpdateSchema: z.ZodObject<{
7806
7806
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7807
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7808
7807
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7809
7808
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7810
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7811
7809
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7812
7810
  type: z.ZodEnum<{
7813
7811
  commit: "commit";
@@ -7817,10 +7815,12 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
7817
7815
  name: z.ZodString;
7818
7816
  hash: z.ZodString;
7819
7817
  }, z.core.$strip>>>;
7818
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7820
7819
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7821
7820
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7822
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7821
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7823
7822
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7823
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7824
7824
  }, z.core.$strip>;
7825
7825
  declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
7826
7826
  createdAt: drizzle_orm_pg_core211.PgColumn<{
@@ -8171,9 +8171,9 @@ declare const TaskRelationApiUpdateSchema: z.ZodObject<{
8171
8171
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8172
8172
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8173
8173
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8174
+ relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8174
8175
  parentTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8175
8176
  childTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8176
- relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8177
8177
  }, z.core.$strip>;
8178
8178
  declare const McpTransportConfigSchema: z.ZodObject<{
8179
8179
  type: z.ZodEnum<{
@@ -9369,12 +9369,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9369
9369
  }>, z.core.$strip>;
9370
9370
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9371
9371
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9372
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9373
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9374
9372
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9375
9373
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9376
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9377
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9378
9374
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9379
9375
  type: z.ZodEnum<{
9380
9376
  commit: "commit";
@@ -9385,6 +9381,10 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
9385
9381
  hash: z.ZodString;
9386
9382
  }, z.core.$strip>>>;
9387
9383
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9384
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9385
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9386
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9387
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9388
9388
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9389
9389
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9390
9390
  }, z.core.$strip>;
@@ -10284,8 +10284,8 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
10284
10284
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10285
10285
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10286
10286
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10287
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10288
10287
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10288
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10289
10289
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10290
10290
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10291
10291
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10909,10 +10909,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10909
10909
  }>, z.core.$strip>;
10910
10910
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10911
10911
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10912
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
10913
10912
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10914
10913
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10915
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10916
10914
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
10917
10915
  type: z.ZodEnum<{
10918
10916
  commit: "commit";
@@ -10922,6 +10920,8 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10922
10920
  name: z.ZodString;
10923
10921
  hash: z.ZodString;
10924
10922
  }, z.core.$strip>>>;
10923
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
10924
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10925
10925
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10926
10926
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10927
10927
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -11967,17 +11967,17 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
11967
11967
  id: z.ZodString;
11968
11968
  }>, z.core.$strip>;
11969
11969
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
11970
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
11971
11970
  createdAt: z.ZodOptional<z.ZodString>;
11972
11971
  updatedAt: z.ZodOptional<z.ZodString>;
11972
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
11973
11973
  conversationId: z.ZodString;
11974
11974
  evaluatorId: z.ZodString;
11975
11975
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11976
11976
  }, z.core.$strip>;
11977
11977
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
11978
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
11979
11978
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11980
11979
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11980
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
11981
11981
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11982
11982
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11983
11983
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -12609,26 +12609,26 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12609
12609
  }>, z.core.$strip>;
12610
12610
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12611
12611
  name: z.ZodString;
12612
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12613
12612
  createdAt: z.ZodOptional<z.ZodString>;
12614
12613
  updatedAt: z.ZodOptional<z.ZodString>;
12614
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12615
12615
  isActive: z.ZodOptional<z.ZodBoolean>;
12616
12616
  suiteConfigIds: z.ZodArray<z.ZodString>;
12617
12617
  }, z.core.$strip>;
12618
12618
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12619
12619
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12620
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12621
12620
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12622
12621
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12622
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12623
12623
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12624
12624
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12625
12625
  }, z.core.$strip>;
12626
12626
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12627
12627
  id: z.ZodString;
12628
12628
  name: z.ZodString;
12629
- description: z.ZodNullable<z.ZodString>;
12630
12629
  createdAt: z.ZodString;
12631
12630
  updatedAt: z.ZodString;
12631
+ description: z.ZodNullable<z.ZodString>;
12632
12632
  isActive: z.ZodBoolean;
12633
12633
  suiteConfigIds: z.ZodArray<z.ZodString>;
12634
12634
  }, z.core.$strip>;
@@ -14786,8 +14786,10 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14786
14786
  }>, z.core.$strip>;
14787
14787
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14788
14788
  name: z.ZodString;
14789
+ createdAt: z.ZodOptional<z.ZodString>;
14790
+ updatedAt: z.ZodOptional<z.ZodString>;
14791
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14789
14792
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14790
- prompt: z.ZodString;
14791
14793
  model: z.ZodType<{
14792
14794
  model?: string | undefined;
14793
14795
  providerOptions?: Record<string, any> | undefined;
@@ -14801,15 +14803,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14801
14803
  model?: string | undefined;
14802
14804
  providerOptions?: Record<string, any> | undefined;
14803
14805
  }>>;
14804
- createdAt: z.ZodOptional<z.ZodString>;
14805
- updatedAt: z.ZodOptional<z.ZodString>;
14806
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14806
+ prompt: z.ZodString;
14807
14807
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14808
14808
  }, z.core.$strip>;
14809
14809
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14810
14810
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14811
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14812
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14813
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14811
14814
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14812
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14813
14815
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14814
14816
  model?: string | undefined;
14815
14817
  providerOptions?: Record<string, any> | undefined;
@@ -14823,9 +14825,7 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14823
14825
  model?: string | undefined;
14824
14826
  providerOptions?: Record<string, any> | undefined;
14825
14827
  }>>>>;
14826
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14827
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14828
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14828
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14829
14829
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
14830
14830
  }, z.core.$strip>;
14831
14831
  declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -15628,9 +15628,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
15628
15628
  id: z.ZodString;
15629
15629
  }>, z.core.$strip>;
15630
15630
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
15631
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15632
15631
  createdAt: z.ZodOptional<z.ZodString>;
15633
15632
  updatedAt: z.ZodOptional<z.ZodString>;
15633
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15634
15634
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15635
15635
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15636
15636
  prompt: string;
@@ -15675,9 +15675,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
15675
15675
  }>>>>;
15676
15676
  }, z.core.$strip>;
15677
15677
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15678
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15679
15678
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15680
15679
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15680
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15681
15681
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
15682
15682
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15683
15683
  prompt: string;
@@ -16183,16 +16183,16 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
16183
16183
  }>, z.core.$strip>;
16184
16184
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
16185
16185
  name: z.ZodString;
16186
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16187
16186
  createdAt: z.ZodOptional<z.ZodString>;
16188
16187
  updatedAt: z.ZodOptional<z.ZodString>;
16188
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16189
16189
  datasetId: z.ZodString;
16190
16190
  }, z.core.$strip>;
16191
16191
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16192
16192
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16193
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16194
16193
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16195
16194
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16195
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16196
16196
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16197
16197
  }, z.core.$strip>;
16198
16198
  declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -16501,21 +16501,21 @@ declare const SkillSelectSchema: z.ZodObject<{
16501
16501
  }>;
16502
16502
  declare const SkillInsertSchema: z.ZodObject<{
16503
16503
  name: z.ZodString;
16504
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16504
16505
  description: z.ZodString;
16506
+ content: z.ZodString;
16505
16507
  tenantId: z.ZodString;
16506
16508
  projectId: z.ZodString;
16507
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16508
- content: z.ZodString;
16509
16509
  }, {
16510
16510
  out: {};
16511
16511
  in: {};
16512
16512
  }>;
16513
16513
  declare const SkillUpdateSchema: z.ZodObject<{
16514
+ metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16514
16515
  description: z.ZodOptional<z.ZodString>;
16516
+ content: z.ZodOptional<z.ZodString>;
16515
16517
  tenantId: z.ZodOptional<z.ZodString>;
16516
16518
  projectId: z.ZodOptional<z.ZodString>;
16517
- metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16518
- content: z.ZodOptional<z.ZodString>;
16519
16519
  }, {
16520
16520
  out: {};
16521
16521
  in: {};
@@ -16533,15 +16533,15 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16533
16533
  }>, z.core.$strip>;
16534
16534
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16535
16535
  name: z.ZodString;
16536
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16536
16537
  description: z.ZodString;
16538
+ content: z.ZodString;
16537
16539
  tenantId: z.ZodString;
16538
16540
  projectId: z.ZodString;
16539
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16540
- content: z.ZodString;
16541
16541
  }>, z.core.$strip>;
16542
16542
  declare const SkillApiUpdateSchema: z.ZodObject<{
16543
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16544
16543
  metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16544
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16545
16545
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16546
16546
  }, z.core.$strip>;
16547
16547
  declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -17659,7 +17659,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
17659
17659
  }, {}, {
17660
17660
  length: 256;
17661
17661
  }>;
17662
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17662
+ }, "id" | "createdAt" | "tenantId" | "projectId" | "subAgentId" | "agentId" | "dataComponentId">, undefined>, undefined>;
17663
17663
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17664
17664
  dataComponentId: z.ZodOptional<z.ZodString>;
17665
17665
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17682,8 +17682,8 @@ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
17682
17682
  id: z.ZodString;
17683
17683
  }>, z.core.$strip>;
17684
17684
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
17685
- agentId: z.ZodString;
17686
17685
  subAgentId: z.ZodString;
17686
+ agentId: z.ZodString;
17687
17687
  dataComponentId: z.ZodString;
17688
17688
  }, {
17689
17689
  out: {};
@@ -18258,9 +18258,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
18258
18258
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18259
18259
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18260
18260
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18261
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18262
18261
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18263
18262
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18263
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18264
18264
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
18265
18265
  [x: string]: unknown;
18266
18266
  type: "object";
@@ -18603,8 +18603,8 @@ declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<OmitAgentSco
18603
18603
  id: z.ZodString;
18604
18604
  }>, z.core.$strip>;
18605
18605
  declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
18606
- agentId: z.ZodString;
18607
18606
  subAgentId: z.ZodString;
18607
+ agentId: z.ZodString;
18608
18608
  artifactComponentId: z.ZodString;
18609
18609
  }, {
18610
18610
  out: {};
@@ -18674,11 +18674,11 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18674
18674
  index: z.ZodInt;
18675
18675
  }>, z.core.$strip>;
18676
18676
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18677
+ subAgentId: z.ZodString;
18677
18678
  agentId: z.ZodString;
18679
+ skillId: z.ZodString;
18678
18680
  index: z.ZodInt;
18679
18681
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18680
- subAgentId: z.ZodString;
18681
- skillId: z.ZodString;
18682
18682
  }, {
18683
18683
  out: {};
18684
18684
  in: {};
@@ -18687,18 +18687,18 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18687
18687
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18688
18688
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18689
18689
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18690
- index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18691
- alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18692
18690
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18693
18691
  skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18692
+ index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18693
+ alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18694
18694
  }, z.core.$strip>;
18695
18695
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18696
18696
  id: z.ZodString;
18697
18697
  name: z.ZodString;
18698
- description: z.ZodString;
18699
18698
  createdAt: z.ZodString;
18700
18699
  updatedAt: z.ZodString;
18701
18700
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18701
+ description: z.ZodString;
18702
18702
  content: z.ZodString;
18703
18703
  subAgentSkillId: z.ZodString;
18704
18704
  subAgentId: z.ZodString;
@@ -18772,18 +18772,18 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18772
18772
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18773
18773
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18774
18774
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18775
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18776
18775
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18777
18776
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18777
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18778
18778
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18779
18779
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18780
18780
  }, z.core.$strip>;
18781
18781
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18782
18782
  id: z.ZodString;
18783
18783
  name: z.ZodString;
18784
+ createdAt: z.ZodString;
18785
+ updatedAt: z.ZodString;
18784
18786
  description: z.ZodNullable<z.ZodString>;
18785
- prompt: z.ZodNullable<z.ZodString>;
18786
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18787
18787
  models: z.ZodNullable<z.ZodType<{
18788
18788
  base?: {
18789
18789
  model?: string | undefined;
@@ -18846,15 +18846,15 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18846
18846
  }, {
18847
18847
  stepCountIs?: number | undefined;
18848
18848
  }>>>;
18849
- createdAt: z.ZodString;
18850
- updatedAt: z.ZodString;
18849
+ prompt: z.ZodNullable<z.ZodString>;
18850
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18851
18851
  type: z.ZodLiteral<"internal">;
18852
18852
  }, z.core.$strip>, z.ZodObject<{
18853
18853
  id: z.ZodString;
18854
18854
  name: z.ZodString;
18855
- description: z.ZodNullable<z.ZodString>;
18856
18855
  createdAt: z.ZodString;
18857
18856
  updatedAt: z.ZodString;
18857
+ description: z.ZodNullable<z.ZodString>;
18858
18858
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18859
18859
  baseUrl: z.ZodString;
18860
18860
  type: z.ZodLiteral<"external">;
@@ -19321,9 +19321,9 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
19321
19321
  }>;
19322
19322
  declare const ApiKeyUpdateSchema: z.ZodObject<{
19323
19323
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19324
- agentId: z.ZodOptional<z.ZodString>;
19325
19324
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19326
19325
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19326
+ agentId: z.ZodOptional<z.ZodString>;
19327
19327
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19328
19328
  }, {
19329
19329
  out: {};
@@ -19332,10 +19332,10 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
19332
19332
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19333
19333
  id: z.ZodString;
19334
19334
  name: z.ZodNullable<z.ZodString>;
19335
- agentId: z.ZodString;
19336
19335
  createdAt: z.ZodString;
19337
19336
  updatedAt: z.ZodString;
19338
19337
  expiresAt: z.ZodNullable<z.ZodString>;
19338
+ agentId: z.ZodString;
19339
19339
  publicId: z.ZodString;
19340
19340
  keyPrefix: z.ZodString;
19341
19341
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19348,10 +19348,10 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19348
19348
  apiKey: z.ZodObject<{
19349
19349
  id: z.ZodString;
19350
19350
  name: z.ZodNullable<z.ZodString>;
19351
- agentId: z.ZodString;
19352
19351
  createdAt: z.ZodString;
19353
19352
  updatedAt: z.ZodString;
19354
19353
  expiresAt: z.ZodNullable<z.ZodString>;
19354
+ agentId: z.ZodString;
19355
19355
  publicId: z.ZodString;
19356
19356
  keyPrefix: z.ZodString;
19357
19357
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19364,19 +19364,19 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19364
19364
  }, z.core.$strip>;
19365
19365
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
19366
19366
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19367
- agentId: z.ZodString;
19368
19367
  createdAt: z.ZodOptional<z.ZodString>;
19369
19368
  updatedAt: z.ZodOptional<z.ZodString>;
19370
19369
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19370
+ agentId: z.ZodString;
19371
19371
  }, {
19372
19372
  out: {};
19373
19373
  in: {};
19374
19374
  }>;
19375
19375
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19376
19376
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19377
- agentId: z.ZodOptional<z.ZodString>;
19378
19377
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19379
19378
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19379
+ agentId: z.ZodOptional<z.ZodString>;
19380
19380
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19381
19381
  }, {
19382
19382
  out: {};
@@ -19872,11 +19872,11 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19872
19872
  name: z.ZodString;
19873
19873
  createdAt: z.ZodString;
19874
19874
  updatedAt: z.ZodString;
19875
- toolId: z.ZodNullable<z.ZodString>;
19876
19875
  userId: z.ZodNullable<z.ZodString>;
19877
- createdBy: z.ZodNullable<z.ZodString>;
19878
19876
  credentialStoreId: z.ZodString;
19879
19877
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
19878
+ toolId: z.ZodNullable<z.ZodString>;
19879
+ createdBy: z.ZodNullable<z.ZodString>;
19880
19880
  type: z.ZodEnum<{
19881
19881
  readonly memory: "memory";
19882
19882
  readonly keychain: "keychain";
@@ -20463,11 +20463,11 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20463
20463
  name: z.ZodString;
20464
20464
  createdAt: z.ZodOptional<z.ZodString>;
20465
20465
  updatedAt: z.ZodOptional<z.ZodString>;
20466
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20467
20466
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20468
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20469
20467
  credentialStoreId: z.ZodString;
20470
20468
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20469
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20470
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20471
20471
  type: z.ZodEnum<{
20472
20472
  readonly memory: "memory";
20473
20473
  readonly keychain: "keychain";
@@ -20479,11 +20479,11 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20479
20479
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20480
20480
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20481
20481
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20482
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20483
20482
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20484
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20485
20483
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20486
20484
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20485
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20486
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20487
20487
  type: z.ZodOptional<z.ZodEnum<{
20488
20488
  readonly memory: "memory";
20489
20489
  readonly keychain: "keychain";
@@ -20608,8 +20608,8 @@ declare const McpToolSchema: z.ZodObject<{
20608
20608
  declare const MCPToolConfigSchema: z.ZodObject<{
20609
20609
  id: z.ZodString;
20610
20610
  name: z.ZodString;
20611
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20612
20611
  expiresAt: z.ZodOptional<z.ZodString>;
20612
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20613
20613
  createdBy: z.ZodOptional<z.ZodString>;
20614
20614
  credentialScope: z.ZodOptional<z.ZodString>;
20615
20615
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -20646,11 +20646,11 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20646
20646
  name: z.ZodString;
20647
20647
  createdAt: z.ZodOptional<z.ZodString>;
20648
20648
  updatedAt: z.ZodOptional<z.ZodString>;
20649
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20650
20649
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20651
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20652
20650
  credentialStoreId: z.ZodString;
20653
20651
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20652
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20653
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20654
20654
  type: z.ZodEnum<{
20655
20655
  readonly memory: "memory";
20656
20656
  readonly keychain: "keychain";
@@ -20787,9 +20787,9 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
20787
20787
  declare const ToolApiUpdateSchema: z.ZodObject<{
20788
20788
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20789
20789
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20790
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20791
20790
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20792
20791
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20792
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20793
20793
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
20794
20794
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20795
20795
  type: z.ZodLiteral<"mcp">;
@@ -21188,10 +21188,10 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21188
21188
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21189
21189
  id: z.ZodString;
21190
21190
  name: z.ZodString;
21191
- description: z.ZodNullable<z.ZodString>;
21192
- agentId: z.ZodString;
21193
21191
  createdAt: z.ZodString;
21194
21192
  updatedAt: z.ZodString;
21193
+ description: z.ZodNullable<z.ZodString>;
21194
+ agentId: z.ZodString;
21195
21195
  functionId: z.ZodString;
21196
21196
  relationshipId: z.ZodOptional<z.ZodString>;
21197
21197
  }, z.core.$strip>;
@@ -21209,10 +21209,10 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21209
21209
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21210
21210
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21211
21211
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21212
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21213
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21214
21212
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21215
21213
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21214
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21215
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21216
21216
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21217
21217
  }, z.core.$strip>;
21218
21218
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -21586,9 +21586,9 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21586
21586
  id: z.ZodString;
21587
21587
  }>, z.core.$strip>;
21588
21588
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21589
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21590
21589
  subAgentId: z.ZodString;
21591
21590
  functionToolId: z.ZodString;
21591
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21592
21592
  }, {
21593
21593
  out: {};
21594
21594
  in: {};
@@ -21984,11 +21984,11 @@ declare const FetchDefinitionSchema: z.ZodObject<{
21984
21984
  name: z.ZodString;
21985
21985
  createdAt: z.ZodOptional<z.ZodString>;
21986
21986
  updatedAt: z.ZodOptional<z.ZodString>;
21987
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21988
21987
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21989
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21990
21988
  credentialStoreId: z.ZodString;
21991
21989
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21990
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21991
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21992
21992
  type: z.ZodEnum<{
21993
21993
  readonly memory: "memory";
21994
21994
  readonly keychain: "keychain";
@@ -22537,12 +22537,12 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22537
22537
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22538
22538
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22539
22539
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22540
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22541
22540
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22541
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22542
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22542
22543
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22543
22544
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22544
22545
  }, z.core.$strip>>>>>>;
22545
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22546
22546
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22547
22547
  }, z.core.$strip>;
22548
22548
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -22932,8 +22932,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
22932
22932
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22933
22933
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22934
22934
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22935
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22936
22935
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22936
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22937
22937
  }, z.core.$strip>;
22938
22938
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22939
22939
  createdAt: drizzle_orm_pg_core211.PgColumn<{
@@ -24666,7 +24666,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24666
24666
  }, {}, {
24667
24667
  length: 256;
24668
24668
  }>;
24669
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24669
+ }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "type" | "tenantId" | "projectId" | "taskId" | "toolCallId" | "contextId" | "visibility" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24670
24670
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24671
24671
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24672
24672
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24733,15 +24733,15 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24733
24733
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24734
24734
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24735
24735
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24736
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24737
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24738
24736
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24739
24737
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24740
24738
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24739
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24740
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24741
24741
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24742
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24742
24743
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24743
24744
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24744
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24745
24745
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24746
24746
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24747
24747
  mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
@@ -24813,8 +24813,9 @@ declare const TeamAgentSchema: z.ZodObject<{
24813
24813
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24814
24814
  id: z.ZodString;
24815
24815
  name: z.ZodString;
24816
+ createdAt: z.ZodOptional<z.ZodString>;
24817
+ updatedAt: z.ZodOptional<z.ZodString>;
24816
24818
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24817
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24818
24819
  models: z.ZodOptional<z.ZodObject<{
24819
24820
  base: z.ZodOptional<z.ZodObject<{
24820
24821
  model: z.ZodOptional<z.ZodString>;
@@ -24838,8 +24839,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24838
24839
  }, {
24839
24840
  stepCountIs?: number | undefined;
24840
24841
  }>>>>;
24841
- createdAt: z.ZodOptional<z.ZodString>;
24842
- updatedAt: z.ZodOptional<z.ZodString>;
24842
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24843
24843
  type: z.ZodLiteral<"internal">;
24844
24844
  canUse: z.ZodArray<z.ZodObject<{
24845
24845
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24871,17 +24871,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24871
24871
  }, z.core.$strip>;
24872
24872
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24873
24873
  name: z.ZodString;
24874
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24875
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24876
24874
  createdAt: z.ZodOptional<z.ZodString>;
24877
24875
  updatedAt: z.ZodOptional<z.ZodString>;
24876
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24877
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24878
24878
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24879
24879
  id: z.ZodString;
24880
24880
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24881
24881
  id: z.ZodString;
24882
24882
  name: z.ZodString;
24883
+ createdAt: z.ZodOptional<z.ZodString>;
24884
+ updatedAt: z.ZodOptional<z.ZodString>;
24883
24885
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24884
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24885
24886
  models: z.ZodOptional<z.ZodObject<{
24886
24887
  base: z.ZodOptional<z.ZodObject<{
24887
24888
  model: z.ZodOptional<z.ZodString>;
@@ -24905,8 +24906,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24905
24906
  }, {
24906
24907
  stepCountIs?: number | undefined;
24907
24908
  }>>>>;
24908
- createdAt: z.ZodOptional<z.ZodString>;
24909
- updatedAt: z.ZodOptional<z.ZodString>;
24909
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24910
24910
  type: z.ZodLiteral<"internal">;
24911
24911
  canUse: z.ZodArray<z.ZodObject<{
24912
24912
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25015,9 +25015,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25015
25015
  }, z.core.$strip>>>;
25016
25016
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25017
25017
  name: z.ZodString;
25018
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25019
25018
  createdAt: z.ZodOptional<z.ZodString>;
25020
25019
  updatedAt: z.ZodOptional<z.ZodString>;
25020
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25021
25021
  enabled: z.ZodOptional<z.ZodBoolean>;
25022
25022
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25023
25023
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -25029,9 +25029,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25029
25029
  }, z.core.$strip>>>;
25030
25030
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25031
25031
  name: z.ZodString;
25032
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25033
25032
  createdAt: z.ZodOptional<z.ZodString>;
25034
25033
  updatedAt: z.ZodOptional<z.ZodString>;
25034
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25035
25035
  enabled: z.ZodOptional<z.ZodBoolean>;
25036
25036
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25037
25037
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25196,6 +25196,8 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25196
25196
  declare const ProjectApiSelectSchema: z.ZodObject<{
25197
25197
  id: z.ZodString;
25198
25198
  name: z.ZodString;
25199
+ createdAt: z.ZodString;
25200
+ updatedAt: z.ZodString;
25199
25201
  description: z.ZodNullable<z.ZodString>;
25200
25202
  models: z.ZodNullable<z.ZodObject<{
25201
25203
  base: z.ZodObject<{
@@ -25215,8 +25217,6 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25215
25217
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25216
25218
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25217
25219
  }, z.core.$strip>>;
25218
- createdAt: z.ZodString;
25219
- updatedAt: z.ZodString;
25220
25220
  }, {
25221
25221
  out: {};
25222
25222
  in: {};
@@ -25296,17 +25296,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25296
25296
  }, z.core.$strip>>;
25297
25297
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25298
25298
  name: z.ZodString;
25299
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25300
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25301
25299
  createdAt: z.ZodOptional<z.ZodString>;
25302
25300
  updatedAt: z.ZodOptional<z.ZodString>;
25301
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25302
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25303
25303
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25304
25304
  id: z.ZodString;
25305
25305
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25306
25306
  id: z.ZodString;
25307
25307
  name: z.ZodString;
25308
+ createdAt: z.ZodOptional<z.ZodString>;
25309
+ updatedAt: z.ZodOptional<z.ZodString>;
25308
25310
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25309
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25310
25311
  models: z.ZodOptional<z.ZodObject<{
25311
25312
  base: z.ZodOptional<z.ZodObject<{
25312
25313
  model: z.ZodOptional<z.ZodString>;
@@ -25330,8 +25331,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25330
25331
  }, {
25331
25332
  stepCountIs?: number | undefined;
25332
25333
  }>>>>;
25333
- createdAt: z.ZodOptional<z.ZodString>;
25334
- updatedAt: z.ZodOptional<z.ZodString>;
25334
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25335
25335
  type: z.ZodLiteral<"internal">;
25336
25336
  canUse: z.ZodArray<z.ZodObject<{
25337
25337
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25440,9 +25440,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25440
25440
  }, z.core.$strip>>>;
25441
25441
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25442
25442
  name: z.ZodString;
25443
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25444
25443
  createdAt: z.ZodOptional<z.ZodString>;
25445
25444
  updatedAt: z.ZodOptional<z.ZodString>;
25445
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25446
25446
  enabled: z.ZodOptional<z.ZodBoolean>;
25447
25447
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25448
25448
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -25454,9 +25454,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25454
25454
  }, z.core.$strip>>>;
25455
25455
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25456
25456
  name: z.ZodString;
25457
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25458
25457
  createdAt: z.ZodOptional<z.ZodString>;
25459
25458
  updatedAt: z.ZodOptional<z.ZodString>;
25459
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25460
25460
  enabled: z.ZodOptional<z.ZodBoolean>;
25461
25461
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25462
25462
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25570,11 +25570,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25570
25570
  }, z.core.$strip>>>;
25571
25571
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25572
25572
  name: z.ZodString;
25573
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25573
25574
  description: z.ZodString;
25575
+ content: z.ZodString;
25574
25576
  tenantId: z.ZodString;
25575
25577
  projectId: z.ZodString;
25576
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25577
- content: z.ZodString;
25578
25578
  }>, z.core.$strip>>>;
25579
25579
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25580
25580
  id: z.ZodString;
@@ -25662,11 +25662,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25662
25662
  name: z.ZodString;
25663
25663
  createdAt: z.ZodOptional<z.ZodString>;
25664
25664
  updatedAt: z.ZodOptional<z.ZodString>;
25665
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25666
25665
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25667
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25668
25666
  credentialStoreId: z.ZodString;
25669
25667
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25668
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25669
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25670
25670
  type: z.ZodEnum<{
25671
25671
  readonly memory: "memory";
25672
25672
  readonly keychain: "keychain";
@@ -25682,8 +25682,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25682
25682
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25683
25683
  id: z.ZodString;
25684
25684
  name: z.ZodString;
25685
+ createdAt: z.ZodString;
25686
+ updatedAt: z.ZodString;
25685
25687
  description: z.ZodNullable<z.ZodString>;
25686
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25687
25688
  models: z.ZodNullable<z.ZodType<{
25688
25689
  base?: {
25689
25690
  model?: string | undefined;
@@ -25746,8 +25747,7 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25746
25747
  }, {
25747
25748
  stepCountIs?: number | undefined;
25748
25749
  }>>>;
25749
- createdAt: z.ZodString;
25750
- updatedAt: z.ZodString;
25750
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25751
25751
  type: z.ZodLiteral<"internal">;
25752
25752
  canUse: z.ZodArray<z.ZodObject<{
25753
25753
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25775,8 +25775,9 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25775
25775
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25776
25776
  id: z.ZodString;
25777
25777
  name: z.ZodString;
25778
+ createdAt: z.ZodString;
25779
+ updatedAt: z.ZodString;
25778
25780
  description: z.ZodNullable<z.ZodString>;
25779
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25780
25781
  models: z.ZodNullable<z.ZodType<{
25781
25782
  base?: {
25782
25783
  model?: string | undefined;
@@ -25839,8 +25840,7 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25839
25840
  }, {
25840
25841
  stepCountIs?: number | undefined;
25841
25842
  }>>>;
25842
- createdAt: z.ZodString;
25843
- updatedAt: z.ZodString;
25843
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25844
25844
  type: z.ZodLiteral<"internal">;
25845
25845
  canUse: z.ZodArray<z.ZodObject<{
25846
25846
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25874,16 +25874,17 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25874
25874
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25875
25875
  id: z.ZodString;
25876
25876
  name: z.ZodString;
25877
- description: z.ZodNullable<z.ZodString>;
25878
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
25879
25877
  createdAt: z.ZodString;
25880
25878
  updatedAt: z.ZodString;
25879
+ description: z.ZodNullable<z.ZodString>;
25880
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
25881
25881
  contextConfigId: z.ZodNullable<z.ZodString>;
25882
25882
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25883
25883
  id: z.ZodString;
25884
25884
  name: z.ZodString;
25885
+ createdAt: z.ZodString;
25886
+ updatedAt: z.ZodString;
25885
25887
  description: z.ZodNullable<z.ZodString>;
25886
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25887
25888
  models: z.ZodNullable<z.ZodType<{
25888
25889
  base?: {
25889
25890
  model?: string | undefined;
@@ -25946,8 +25947,7 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25946
25947
  }, {
25947
25948
  stepCountIs?: number | undefined;
25948
25949
  }>>>;
25949
- createdAt: z.ZodString;
25950
- updatedAt: z.ZodString;
25950
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25951
25951
  type: z.ZodLiteral<"internal">;
25952
25952
  canUse: z.ZodArray<z.ZodObject<{
25953
25953
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26020,10 +26020,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26020
26020
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26021
26021
  id: z.ZodString;
26022
26022
  name: z.ZodString;
26023
- description: z.ZodNullable<z.ZodString>;
26024
- agentId: z.ZodString;
26025
26023
  createdAt: z.ZodString;
26026
26024
  updatedAt: z.ZodString;
26025
+ description: z.ZodNullable<z.ZodString>;
26026
+ agentId: z.ZodString;
26027
26027
  functionId: z.ZodString;
26028
26028
  relationshipId: z.ZodOptional<z.ZodString>;
26029
26029
  }, z.core.$strip>>>;
@@ -26100,10 +26100,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26100
26100
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26101
26101
  id: z.ZodString;
26102
26102
  name: z.ZodString;
26103
- description: z.ZodNullable<z.ZodString>;
26104
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26105
26103
  createdAt: z.ZodString;
26106
26104
  updatedAt: z.ZodString;
26105
+ description: z.ZodNullable<z.ZodString>;
26106
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26107
26107
  contextConfigId: z.ZodNullable<z.ZodString>;
26108
26108
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26109
26109
  createdAt: z.ZodString;
@@ -26153,10 +26153,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26153
26153
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26154
26154
  id: z.ZodString;
26155
26155
  name: z.ZodString;
26156
- description: z.ZodNullable<z.ZodString>;
26157
- agentId: z.ZodString;
26158
26156
  createdAt: z.ZodString;
26159
26157
  updatedAt: z.ZodString;
26158
+ description: z.ZodNullable<z.ZodString>;
26159
+ agentId: z.ZodString;
26160
26160
  functionId: z.ZodString;
26161
26161
  relationshipId: z.ZodOptional<z.ZodString>;
26162
26162
  }, z.core.$strip>>>;
@@ -26232,8 +26232,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26232
26232
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26233
26233
  id: z.ZodString;
26234
26234
  name: z.ZodString;
26235
+ createdAt: z.ZodString;
26236
+ updatedAt: z.ZodString;
26235
26237
  description: z.ZodNullable<z.ZodString>;
26236
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26237
26238
  models: z.ZodNullable<z.ZodType<{
26238
26239
  base?: {
26239
26240
  model?: string | undefined;
@@ -26296,8 +26297,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26296
26297
  }, {
26297
26298
  stepCountIs?: number | undefined;
26298
26299
  }>>>;
26299
- createdAt: z.ZodString;
26300
- updatedAt: z.ZodString;
26300
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26301
26301
  type: z.ZodLiteral<"internal">;
26302
26302
  canUse: z.ZodArray<z.ZodObject<{
26303
26303
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26332,6 +26332,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26332
26332
  declare const FullProjectSelectSchema: z.ZodObject<{
26333
26333
  id: z.ZodString;
26334
26334
  name: z.ZodString;
26335
+ createdAt: z.ZodString;
26336
+ updatedAt: z.ZodString;
26335
26337
  description: z.ZodNullable<z.ZodString>;
26336
26338
  models: z.ZodNullable<z.ZodObject<{
26337
26339
  base: z.ZodObject<{
@@ -26351,21 +26353,20 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26351
26353
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26352
26354
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26353
26355
  }, z.core.$strip>>;
26354
- createdAt: z.ZodString;
26355
- updatedAt: z.ZodString;
26356
26356
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26357
26357
  id: z.ZodString;
26358
26358
  name: z.ZodString;
26359
- description: z.ZodNullable<z.ZodString>;
26360
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26361
26359
  createdAt: z.ZodString;
26362
26360
  updatedAt: z.ZodString;
26361
+ description: z.ZodNullable<z.ZodString>;
26362
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26363
26363
  contextConfigId: z.ZodNullable<z.ZodString>;
26364
26364
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26365
26365
  id: z.ZodString;
26366
26366
  name: z.ZodString;
26367
+ createdAt: z.ZodString;
26368
+ updatedAt: z.ZodString;
26367
26369
  description: z.ZodNullable<z.ZodString>;
26368
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26369
26370
  models: z.ZodNullable<z.ZodType<{
26370
26371
  base?: {
26371
26372
  model?: string | undefined;
@@ -26428,8 +26429,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26428
26429
  }, {
26429
26430
  stepCountIs?: number | undefined;
26430
26431
  }>>>;
26431
- createdAt: z.ZodString;
26432
- updatedAt: z.ZodString;
26432
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26433
26433
  type: z.ZodLiteral<"internal">;
26434
26434
  canUse: z.ZodArray<z.ZodObject<{
26435
26435
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26502,10 +26502,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26502
26502
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26503
26503
  id: z.ZodString;
26504
26504
  name: z.ZodString;
26505
- description: z.ZodNullable<z.ZodString>;
26506
- agentId: z.ZodString;
26507
26505
  createdAt: z.ZodString;
26508
26506
  updatedAt: z.ZodString;
26507
+ description: z.ZodNullable<z.ZodString>;
26508
+ agentId: z.ZodString;
26509
26509
  functionId: z.ZodString;
26510
26510
  relationshipId: z.ZodOptional<z.ZodString>;
26511
26511
  }, z.core.$strip>>>;
@@ -26611,10 +26611,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26611
26611
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26612
26612
  id: z.ZodString;
26613
26613
  name: z.ZodString;
26614
- description: z.ZodNullable<z.ZodString>;
26615
- agentId: z.ZodString;
26616
26614
  createdAt: z.ZodString;
26617
26615
  updatedAt: z.ZodString;
26616
+ description: z.ZodNullable<z.ZodString>;
26617
+ agentId: z.ZodString;
26618
26618
  functionId: z.ZodString;
26619
26619
  relationshipId: z.ZodOptional<z.ZodString>;
26620
26620
  }, z.core.$strip>>>;
@@ -26761,11 +26761,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26761
26761
  name: z.ZodString;
26762
26762
  createdAt: z.ZodString;
26763
26763
  updatedAt: z.ZodString;
26764
- toolId: z.ZodNullable<z.ZodString>;
26765
26764
  userId: z.ZodNullable<z.ZodString>;
26766
- createdBy: z.ZodNullable<z.ZodString>;
26767
26765
  credentialStoreId: z.ZodString;
26768
26766
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26767
+ toolId: z.ZodNullable<z.ZodString>;
26768
+ createdBy: z.ZodNullable<z.ZodString>;
26769
26769
  type: z.ZodEnum<{
26770
26770
  readonly memory: "memory";
26771
26771
  readonly keychain: "keychain";
@@ -27354,6 +27354,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27354
27354
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27355
27355
  id: z.ZodString;
27356
27356
  name: z.ZodString;
27357
+ createdAt: z.ZodString;
27358
+ updatedAt: z.ZodString;
27357
27359
  description: z.ZodNullable<z.ZodString>;
27358
27360
  models: z.ZodNullable<z.ZodObject<{
27359
27361
  base: z.ZodObject<{
@@ -27373,8 +27375,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27373
27375
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27374
27376
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27375
27377
  }, z.core.$strip>>;
27376
- createdAt: z.ZodString;
27377
- updatedAt: z.ZodString;
27378
27378
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27379
27379
  createdAt: z.ZodString;
27380
27380
  updatedAt: z.ZodString;
@@ -27407,10 +27407,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27407
27407
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27408
27408
  id: z.ZodString;
27409
27409
  name: z.ZodString;
27410
- description: z.ZodNullable<z.ZodString>;
27411
- agentId: z.ZodString;
27412
27410
  createdAt: z.ZodString;
27413
27411
  updatedAt: z.ZodString;
27412
+ description: z.ZodNullable<z.ZodString>;
27413
+ agentId: z.ZodString;
27414
27414
  functionId: z.ZodString;
27415
27415
  relationshipId: z.ZodOptional<z.ZodString>;
27416
27416
  }, z.core.$strip>>>;
@@ -27557,11 +27557,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27557
27557
  name: z.ZodString;
27558
27558
  createdAt: z.ZodString;
27559
27559
  updatedAt: z.ZodString;
27560
- toolId: z.ZodNullable<z.ZodString>;
27561
27560
  userId: z.ZodNullable<z.ZodString>;
27562
- createdBy: z.ZodNullable<z.ZodString>;
27563
27561
  credentialStoreId: z.ZodString;
27564
27562
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27563
+ toolId: z.ZodNullable<z.ZodString>;
27564
+ createdBy: z.ZodNullable<z.ZodString>;
27565
27565
  type: z.ZodEnum<{
27566
27566
  readonly memory: "memory";
27567
27567
  readonly keychain: "keychain";
@@ -28146,10 +28146,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28146
28146
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28147
28147
  id: z.ZodString;
28148
28148
  name: z.ZodString;
28149
- description: z.ZodNullable<z.ZodString>;
28150
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28151
28149
  createdAt: z.ZodString;
28152
28150
  updatedAt: z.ZodString;
28151
+ description: z.ZodNullable<z.ZodString>;
28152
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28153
28153
  contextConfigId: z.ZodNullable<z.ZodString>;
28154
28154
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28155
28155
  createdAt: z.ZodString;
@@ -28199,10 +28199,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28199
28199
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28200
28200
  id: z.ZodString;
28201
28201
  name: z.ZodString;
28202
- description: z.ZodNullable<z.ZodString>;
28203
- agentId: z.ZodString;
28204
28202
  createdAt: z.ZodString;
28205
28203
  updatedAt: z.ZodString;
28204
+ description: z.ZodNullable<z.ZodString>;
28205
+ agentId: z.ZodString;
28206
28206
  functionId: z.ZodString;
28207
28207
  relationshipId: z.ZodOptional<z.ZodString>;
28208
28208
  }, z.core.$strip>>>;
@@ -28278,8 +28278,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28278
28278
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28279
28279
  id: z.ZodString;
28280
28280
  name: z.ZodString;
28281
+ createdAt: z.ZodString;
28282
+ updatedAt: z.ZodString;
28281
28283
  description: z.ZodNullable<z.ZodString>;
28282
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28283
28284
  models: z.ZodNullable<z.ZodType<{
28284
28285
  base?: {
28285
28286
  model?: string | undefined;
@@ -28342,8 +28343,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28342
28343
  }, {
28343
28344
  stepCountIs?: number | undefined;
28344
28345
  }>>>;
28345
- createdAt: z.ZodString;
28346
- updatedAt: z.ZodString;
28346
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28347
28347
  type: z.ZodLiteral<"internal">;
28348
28348
  canUse: z.ZodArray<z.ZodObject<{
28349
28349
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28383,6 +28383,8 @@ declare const ProjectResponse: z.ZodObject<{
28383
28383
  data: z.ZodObject<{
28384
28384
  id: z.ZodString;
28385
28385
  name: z.ZodString;
28386
+ createdAt: z.ZodString;
28387
+ updatedAt: z.ZodString;
28386
28388
  description: z.ZodNullable<z.ZodString>;
28387
28389
  models: z.ZodNullable<z.ZodObject<{
28388
28390
  base: z.ZodObject<{
@@ -28402,8 +28404,6 @@ declare const ProjectResponse: z.ZodObject<{
28402
28404
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28403
28405
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28404
28406
  }, z.core.$strip>>;
28405
- createdAt: z.ZodString;
28406
- updatedAt: z.ZodString;
28407
28407
  }, {
28408
28408
  out: {};
28409
28409
  in: {};
@@ -28644,10 +28644,10 @@ declare const ApiKeyResponse: z.ZodObject<{
28644
28644
  data: z.ZodObject<{
28645
28645
  id: z.ZodString;
28646
28646
  name: z.ZodNullable<z.ZodString>;
28647
- agentId: z.ZodString;
28648
28647
  createdAt: z.ZodString;
28649
28648
  updatedAt: z.ZodString;
28650
28649
  expiresAt: z.ZodNullable<z.ZodString>;
28650
+ agentId: z.ZodString;
28651
28651
  publicId: z.ZodString;
28652
28652
  keyPrefix: z.ZodString;
28653
28653
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -28662,11 +28662,11 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28662
28662
  name: z.ZodString;
28663
28663
  createdAt: z.ZodString;
28664
28664
  updatedAt: z.ZodString;
28665
- toolId: z.ZodNullable<z.ZodString>;
28666
28665
  userId: z.ZodNullable<z.ZodString>;
28667
- createdBy: z.ZodNullable<z.ZodString>;
28668
28666
  credentialStoreId: z.ZodString;
28669
28667
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28668
+ toolId: z.ZodNullable<z.ZodString>;
28669
+ createdBy: z.ZodNullable<z.ZodString>;
28670
28670
  type: z.ZodEnum<{
28671
28671
  readonly memory: "memory";
28672
28672
  readonly keychain: "keychain";
@@ -29265,10 +29265,10 @@ declare const FunctionToolResponse: z.ZodObject<{
29265
29265
  data: z.ZodObject<{
29266
29266
  id: z.ZodString;
29267
29267
  name: z.ZodString;
29268
- description: z.ZodNullable<z.ZodString>;
29269
- agentId: z.ZodString;
29270
29268
  createdAt: z.ZodString;
29271
29269
  updatedAt: z.ZodString;
29270
+ description: z.ZodNullable<z.ZodString>;
29271
+ agentId: z.ZodString;
29272
29272
  functionId: z.ZodString;
29273
29273
  relationshipId: z.ZodOptional<z.ZodString>;
29274
29274
  }, z.core.$strip>;
@@ -29451,8 +29451,8 @@ declare const TriggerResponse: z.ZodObject<{
29451
29451
  signature: z.ZodObject<{
29452
29452
  source: z.ZodEnum<{
29453
29453
  query: "query";
29454
- header: "header";
29455
29454
  body: "body";
29455
+ header: "header";
29456
29456
  }>;
29457
29457
  key: z.ZodString;
29458
29458
  prefix: z.ZodOptional<z.ZodString>;
@@ -29461,8 +29461,8 @@ declare const TriggerResponse: z.ZodObject<{
29461
29461
  signedComponents: z.ZodArray<z.ZodObject<{
29462
29462
  source: z.ZodEnum<{
29463
29463
  literal: "literal";
29464
- header: "header";
29465
29464
  body: "body";
29465
+ header: "header";
29466
29466
  }>;
29467
29467
  key: z.ZodOptional<z.ZodString>;
29468
29468
  value: z.ZodOptional<z.ZodString>;
@@ -29502,6 +29502,8 @@ declare const ProjectListResponse: z.ZodObject<{
29502
29502
  data: z.ZodArray<z.ZodObject<{
29503
29503
  id: z.ZodString;
29504
29504
  name: z.ZodString;
29505
+ createdAt: z.ZodString;
29506
+ updatedAt: z.ZodString;
29505
29507
  description: z.ZodNullable<z.ZodString>;
29506
29508
  models: z.ZodNullable<z.ZodObject<{
29507
29509
  base: z.ZodObject<{
@@ -29521,8 +29523,6 @@ declare const ProjectListResponse: z.ZodObject<{
29521
29523
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29522
29524
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29523
29525
  }, z.core.$strip>>;
29524
- createdAt: z.ZodString;
29525
- updatedAt: z.ZodString;
29526
29526
  }, {
29527
29527
  out: {};
29528
29528
  in: {};
@@ -29793,10 +29793,10 @@ declare const ApiKeyListResponse: z.ZodObject<{
29793
29793
  data: z.ZodArray<z.ZodObject<{
29794
29794
  id: z.ZodString;
29795
29795
  name: z.ZodNullable<z.ZodString>;
29796
- agentId: z.ZodString;
29797
29796
  createdAt: z.ZodString;
29798
29797
  updatedAt: z.ZodString;
29799
29798
  expiresAt: z.ZodNullable<z.ZodString>;
29799
+ agentId: z.ZodString;
29800
29800
  publicId: z.ZodString;
29801
29801
  keyPrefix: z.ZodString;
29802
29802
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -29817,11 +29817,11 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29817
29817
  name: z.ZodString;
29818
29818
  createdAt: z.ZodString;
29819
29819
  updatedAt: z.ZodString;
29820
- toolId: z.ZodNullable<z.ZodString>;
29821
29820
  userId: z.ZodNullable<z.ZodString>;
29822
- createdBy: z.ZodNullable<z.ZodString>;
29823
29821
  credentialStoreId: z.ZodString;
29824
29822
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29823
+ toolId: z.ZodNullable<z.ZodString>;
29824
+ createdBy: z.ZodNullable<z.ZodString>;
29825
29825
  type: z.ZodEnum<{
29826
29826
  readonly memory: "memory";
29827
29827
  readonly keychain: "keychain";
@@ -30432,10 +30432,10 @@ declare const FunctionToolListResponse: z.ZodObject<{
30432
30432
  data: z.ZodArray<z.ZodObject<{
30433
30433
  id: z.ZodString;
30434
30434
  name: z.ZodString;
30435
- description: z.ZodNullable<z.ZodString>;
30436
- agentId: z.ZodString;
30437
30435
  createdAt: z.ZodString;
30438
30436
  updatedAt: z.ZodString;
30437
+ description: z.ZodNullable<z.ZodString>;
30438
+ agentId: z.ZodString;
30439
30439
  functionId: z.ZodString;
30440
30440
  relationshipId: z.ZodOptional<z.ZodString>;
30441
30441
  }, z.core.$strip>>;
@@ -30686,8 +30686,8 @@ declare const TriggerListResponse: z.ZodObject<{
30686
30686
  signature: z.ZodObject<{
30687
30687
  source: z.ZodEnum<{
30688
30688
  query: "query";
30689
- header: "header";
30690
30689
  body: "body";
30690
+ header: "header";
30691
30691
  }>;
30692
30692
  key: z.ZodString;
30693
30693
  prefix: z.ZodOptional<z.ZodString>;
@@ -30696,8 +30696,8 @@ declare const TriggerListResponse: z.ZodObject<{
30696
30696
  signedComponents: z.ZodArray<z.ZodObject<{
30697
30697
  source: z.ZodEnum<{
30698
30698
  literal: "literal";
30699
- header: "header";
30700
30699
  body: "body";
30700
+ header: "header";
30701
30701
  }>;
30702
30702
  key: z.ZodOptional<z.ZodString>;
30703
30703
  value: z.ZodOptional<z.ZodString>;
@@ -30749,9 +30749,9 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30749
30749
  data: z.ZodObject<{
30750
30750
  id: z.ZodString;
30751
30751
  name: z.ZodString;
30752
- description: z.ZodNullable<z.ZodString>;
30753
30752
  createdAt: z.ZodString;
30754
30753
  updatedAt: z.ZodString;
30754
+ description: z.ZodNullable<z.ZodString>;
30755
30755
  enabled: z.ZodBoolean;
30756
30756
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30757
30757
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -30773,8 +30773,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30773
30773
  signature: z.ZodObject<{
30774
30774
  source: z.ZodEnum<{
30775
30775
  query: "query";
30776
- header: "header";
30777
30776
  body: "body";
30777
+ header: "header";
30778
30778
  }>;
30779
30779
  key: z.ZodString;
30780
30780
  prefix: z.ZodOptional<z.ZodString>;
@@ -30783,8 +30783,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30783
30783
  signedComponents: z.ZodArray<z.ZodObject<{
30784
30784
  source: z.ZodEnum<{
30785
30785
  literal: "literal";
30786
- header: "header";
30787
30786
  body: "body";
30787
+ header: "header";
30788
30788
  }>;
30789
30789
  key: z.ZodOptional<z.ZodString>;
30790
30790
  value: z.ZodOptional<z.ZodString>;
@@ -30810,9 +30810,9 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30810
30810
  data: z.ZodArray<z.ZodObject<{
30811
30811
  id: z.ZodString;
30812
30812
  name: z.ZodString;
30813
- description: z.ZodNullable<z.ZodString>;
30814
30813
  createdAt: z.ZodString;
30815
30814
  updatedAt: z.ZodString;
30815
+ description: z.ZodNullable<z.ZodString>;
30816
30816
  enabled: z.ZodBoolean;
30817
30817
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30818
30818
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -30834,8 +30834,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30834
30834
  signature: z.ZodObject<{
30835
30835
  source: z.ZodEnum<{
30836
30836
  query: "query";
30837
- header: "header";
30838
30837
  body: "body";
30838
+ header: "header";
30839
30839
  }>;
30840
30840
  key: z.ZodString;
30841
30841
  prefix: z.ZodOptional<z.ZodString>;
@@ -30844,8 +30844,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30844
30844
  signedComponents: z.ZodArray<z.ZodObject<{
30845
30845
  source: z.ZodEnum<{
30846
30846
  literal: "literal";
30847
- header: "header";
30848
30847
  body: "body";
30848
+ header: "header";
30849
30849
  }>;
30850
30850
  key: z.ZodOptional<z.ZodString>;
30851
30851
  value: z.ZodOptional<z.ZodString>;
@@ -30876,9 +30876,9 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30876
30876
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30877
30877
  id: z.ZodString;
30878
30878
  name: z.ZodString;
30879
- description: z.ZodNullable<z.ZodString>;
30880
30879
  createdAt: z.ZodString;
30881
30880
  updatedAt: z.ZodString;
30881
+ description: z.ZodNullable<z.ZodString>;
30882
30882
  enabled: z.ZodBoolean;
30883
30883
  messageTemplate: z.ZodNullable<z.ZodString>;
30884
30884
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -30890,8 +30890,8 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30890
30890
  timeoutSeconds: z.ZodNumber;
30891
30891
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
30892
30892
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
30893
- completed: "completed";
30894
30893
  failed: "failed";
30894
+ completed: "completed";
30895
30895
  }>>;
30896
30896
  lastRunConversationIds: z.ZodArray<z.ZodString>;
30897
30897
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -30949,9 +30949,9 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30949
30949
  data: z.ZodArray<z.ZodObject<{
30950
30950
  id: z.ZodString;
30951
30951
  name: z.ZodString;
30952
- description: z.ZodNullable<z.ZodString>;
30953
30952
  createdAt: z.ZodString;
30954
30953
  updatedAt: z.ZodString;
30954
+ description: z.ZodNullable<z.ZodString>;
30955
30955
  enabled: z.ZodBoolean;
30956
30956
  messageTemplate: z.ZodNullable<z.ZodString>;
30957
30957
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -30963,8 +30963,8 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30963
30963
  timeoutSeconds: z.ZodNumber;
30964
30964
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
30965
30965
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
30966
- completed: "completed";
30967
30966
  failed: "failed";
30967
+ completed: "completed";
30968
30968
  }>>;
30969
30969
  lastRunConversationIds: z.ZodArray<z.ZodString>;
30970
30970
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -30993,9 +30993,9 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
30993
30993
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30994
30994
  status: z.ZodEnum<{
30995
30995
  pending: "pending";
30996
+ failed: "failed";
30996
30997
  running: "running";
30997
30998
  completed: "completed";
30998
- failed: "failed";
30999
30999
  cancelled: "cancelled";
31000
31000
  }>;
31001
31001
  }>, z.core.$strip>;
@@ -31017,9 +31017,9 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
31017
31017
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31018
31018
  status: z.ZodEnum<{
31019
31019
  pending: "pending";
31020
+ failed: "failed";
31020
31021
  running: "running";
31021
31022
  completed: "completed";
31022
- failed: "failed";
31023
31023
  cancelled: "cancelled";
31024
31024
  }>;
31025
31025
  }>, z.core.$strip>>;
@@ -31106,10 +31106,10 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31106
31106
  data: z.ZodArray<z.ZodObject<{
31107
31107
  id: z.ZodString;
31108
31108
  name: z.ZodString;
31109
- description: z.ZodString;
31110
31109
  createdAt: z.ZodString;
31111
31110
  updatedAt: z.ZodString;
31112
31111
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31112
+ description: z.ZodString;
31113
31113
  content: z.ZodString;
31114
31114
  subAgentSkillId: z.ZodString;
31115
31115
  subAgentId: z.ZodString;
@@ -31142,17 +31142,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31142
31142
  }, z.core.$strip>>;
31143
31143
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31144
31144
  name: z.ZodString;
31145
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31146
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31147
31145
  createdAt: z.ZodOptional<z.ZodString>;
31148
31146
  updatedAt: z.ZodOptional<z.ZodString>;
31147
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31148
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31149
31149
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31150
31150
  id: z.ZodString;
31151
31151
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31152
31152
  id: z.ZodString;
31153
31153
  name: z.ZodString;
31154
+ createdAt: z.ZodOptional<z.ZodString>;
31155
+ updatedAt: z.ZodOptional<z.ZodString>;
31154
31156
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31155
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31156
31157
  models: z.ZodOptional<z.ZodObject<{
31157
31158
  base: z.ZodOptional<z.ZodObject<{
31158
31159
  model: z.ZodOptional<z.ZodString>;
@@ -31176,8 +31177,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31176
31177
  }, {
31177
31178
  stepCountIs?: number | undefined;
31178
31179
  }>>>>;
31179
- createdAt: z.ZodOptional<z.ZodString>;
31180
- updatedAt: z.ZodOptional<z.ZodString>;
31180
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31181
31181
  type: z.ZodLiteral<"internal">;
31182
31182
  canUse: z.ZodArray<z.ZodObject<{
31183
31183
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31286,9 +31286,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31286
31286
  }, z.core.$strip>>>;
31287
31287
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31288
31288
  name: z.ZodString;
31289
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31290
31289
  createdAt: z.ZodOptional<z.ZodString>;
31291
31290
  updatedAt: z.ZodOptional<z.ZodString>;
31291
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31292
31292
  enabled: z.ZodOptional<z.ZodBoolean>;
31293
31293
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31294
31294
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -31300,9 +31300,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31300
31300
  }, z.core.$strip>>>;
31301
31301
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31302
31302
  name: z.ZodString;
31303
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31304
31303
  createdAt: z.ZodOptional<z.ZodString>;
31305
31304
  updatedAt: z.ZodOptional<z.ZodString>;
31305
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31306
31306
  enabled: z.ZodOptional<z.ZodBoolean>;
31307
31307
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31308
31308
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31416,11 +31416,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31416
31416
  }, z.core.$strip>>>;
31417
31417
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31418
31418
  name: z.ZodString;
31419
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31419
31420
  description: z.ZodString;
31421
+ content: z.ZodString;
31420
31422
  tenantId: z.ZodString;
31421
31423
  projectId: z.ZodString;
31422
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31423
- content: z.ZodString;
31424
31424
  }>, z.core.$strip>>>;
31425
31425
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31426
31426
  id: z.ZodString;
@@ -31508,11 +31508,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31508
31508
  name: z.ZodString;
31509
31509
  createdAt: z.ZodOptional<z.ZodString>;
31510
31510
  updatedAt: z.ZodOptional<z.ZodString>;
31511
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31512
31511
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31513
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31514
31512
  credentialStoreId: z.ZodString;
31515
31513
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31514
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31515
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31516
31516
  type: z.ZodEnum<{
31517
31517
  readonly memory: "memory";
31518
31518
  readonly keychain: "keychain";
@@ -31530,6 +31530,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31530
31530
  data: z.ZodObject<{
31531
31531
  id: z.ZodString;
31532
31532
  name: z.ZodString;
31533
+ createdAt: z.ZodString;
31534
+ updatedAt: z.ZodString;
31533
31535
  description: z.ZodNullable<z.ZodString>;
31534
31536
  models: z.ZodNullable<z.ZodObject<{
31535
31537
  base: z.ZodObject<{
@@ -31549,21 +31551,20 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31549
31551
  transferCountIs: z.ZodOptional<z.ZodNumber>;
31550
31552
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31551
31553
  }, z.core.$strip>>;
31552
- createdAt: z.ZodString;
31553
- updatedAt: z.ZodString;
31554
31554
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31555
31555
  id: z.ZodString;
31556
31556
  name: z.ZodString;
31557
- description: z.ZodNullable<z.ZodString>;
31558
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
31559
31557
  createdAt: z.ZodString;
31560
31558
  updatedAt: z.ZodString;
31559
+ description: z.ZodNullable<z.ZodString>;
31560
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
31561
31561
  contextConfigId: z.ZodNullable<z.ZodString>;
31562
31562
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31563
31563
  id: z.ZodString;
31564
31564
  name: z.ZodString;
31565
+ createdAt: z.ZodString;
31566
+ updatedAt: z.ZodString;
31565
31567
  description: z.ZodNullable<z.ZodString>;
31566
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31567
31568
  models: z.ZodNullable<z.ZodType<{
31568
31569
  base?: {
31569
31570
  model?: string | undefined;
@@ -31626,8 +31627,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31626
31627
  }, {
31627
31628
  stepCountIs?: number | undefined;
31628
31629
  }>>>;
31629
- createdAt: z.ZodString;
31630
- updatedAt: z.ZodString;
31630
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31631
31631
  type: z.ZodLiteral<"internal">;
31632
31632
  canUse: z.ZodArray<z.ZodObject<{
31633
31633
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31700,10 +31700,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31700
31700
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31701
31701
  id: z.ZodString;
31702
31702
  name: z.ZodString;
31703
- description: z.ZodNullable<z.ZodString>;
31704
- agentId: z.ZodString;
31705
31703
  createdAt: z.ZodString;
31706
31704
  updatedAt: z.ZodString;
31705
+ description: z.ZodNullable<z.ZodString>;
31706
+ agentId: z.ZodString;
31707
31707
  functionId: z.ZodString;
31708
31708
  relationshipId: z.ZodOptional<z.ZodString>;
31709
31709
  }, z.core.$strip>>>;
@@ -31809,10 +31809,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31809
31809
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31810
31810
  id: z.ZodString;
31811
31811
  name: z.ZodString;
31812
- description: z.ZodNullable<z.ZodString>;
31813
- agentId: z.ZodString;
31814
31812
  createdAt: z.ZodString;
31815
31813
  updatedAt: z.ZodString;
31814
+ description: z.ZodNullable<z.ZodString>;
31815
+ agentId: z.ZodString;
31816
31816
  functionId: z.ZodString;
31817
31817
  relationshipId: z.ZodOptional<z.ZodString>;
31818
31818
  }, z.core.$strip>>>;
@@ -31959,11 +31959,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31959
31959
  name: z.ZodString;
31960
31960
  createdAt: z.ZodString;
31961
31961
  updatedAt: z.ZodString;
31962
- toolId: z.ZodNullable<z.ZodString>;
31963
31962
  userId: z.ZodNullable<z.ZodString>;
31964
- createdBy: z.ZodNullable<z.ZodString>;
31965
31963
  credentialStoreId: z.ZodString;
31966
31964
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31965
+ toolId: z.ZodNullable<z.ZodString>;
31966
+ createdBy: z.ZodNullable<z.ZodString>;
31967
31967
  type: z.ZodEnum<{
31968
31968
  readonly memory: "memory";
31969
31969
  readonly keychain: "keychain";
@@ -32554,6 +32554,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32554
32554
  data: z.ZodObject<{
32555
32555
  id: z.ZodString;
32556
32556
  name: z.ZodString;
32557
+ createdAt: z.ZodString;
32558
+ updatedAt: z.ZodString;
32557
32559
  description: z.ZodNullable<z.ZodString>;
32558
32560
  models: z.ZodNullable<z.ZodObject<{
32559
32561
  base: z.ZodObject<{
@@ -32573,8 +32575,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32573
32575
  transferCountIs: z.ZodOptional<z.ZodNumber>;
32574
32576
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32575
32577
  }, z.core.$strip>>;
32576
- createdAt: z.ZodString;
32577
- updatedAt: z.ZodString;
32578
32578
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32579
32579
  createdAt: z.ZodString;
32580
32580
  updatedAt: z.ZodString;
@@ -32607,10 +32607,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32607
32607
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32608
32608
  id: z.ZodString;
32609
32609
  name: z.ZodString;
32610
- description: z.ZodNullable<z.ZodString>;
32611
- agentId: z.ZodString;
32612
32610
  createdAt: z.ZodString;
32613
32611
  updatedAt: z.ZodString;
32612
+ description: z.ZodNullable<z.ZodString>;
32613
+ agentId: z.ZodString;
32614
32614
  functionId: z.ZodString;
32615
32615
  relationshipId: z.ZodOptional<z.ZodString>;
32616
32616
  }, z.core.$strip>>>;
@@ -32757,11 +32757,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32757
32757
  name: z.ZodString;
32758
32758
  createdAt: z.ZodString;
32759
32759
  updatedAt: z.ZodString;
32760
- toolId: z.ZodNullable<z.ZodString>;
32761
32760
  userId: z.ZodNullable<z.ZodString>;
32762
- createdBy: z.ZodNullable<z.ZodString>;
32763
32761
  credentialStoreId: z.ZodString;
32764
32762
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32763
+ toolId: z.ZodNullable<z.ZodString>;
32764
+ createdBy: z.ZodNullable<z.ZodString>;
32765
32765
  type: z.ZodEnum<{
32766
32766
  readonly memory: "memory";
32767
32767
  readonly keychain: "keychain";
@@ -33346,10 +33346,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33346
33346
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33347
33347
  id: z.ZodString;
33348
33348
  name: z.ZodString;
33349
- description: z.ZodNullable<z.ZodString>;
33350
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
33351
33349
  createdAt: z.ZodString;
33352
33350
  updatedAt: z.ZodString;
33351
+ description: z.ZodNullable<z.ZodString>;
33352
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
33353
33353
  contextConfigId: z.ZodNullable<z.ZodString>;
33354
33354
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33355
33355
  createdAt: z.ZodString;
@@ -33399,10 +33399,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33399
33399
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33400
33400
  id: z.ZodString;
33401
33401
  name: z.ZodString;
33402
- description: z.ZodNullable<z.ZodString>;
33403
- agentId: z.ZodString;
33404
33402
  createdAt: z.ZodString;
33405
33403
  updatedAt: z.ZodString;
33404
+ description: z.ZodNullable<z.ZodString>;
33405
+ agentId: z.ZodString;
33406
33406
  functionId: z.ZodString;
33407
33407
  relationshipId: z.ZodOptional<z.ZodString>;
33408
33408
  }, z.core.$strip>>>;
@@ -33478,8 +33478,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33478
33478
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33479
33479
  id: z.ZodString;
33480
33480
  name: z.ZodString;
33481
+ createdAt: z.ZodString;
33482
+ updatedAt: z.ZodString;
33481
33483
  description: z.ZodNullable<z.ZodString>;
33482
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33483
33484
  models: z.ZodNullable<z.ZodType<{
33484
33485
  base?: {
33485
33486
  model?: string | undefined;
@@ -33542,8 +33543,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33542
33543
  }, {
33543
33544
  stepCountIs?: number | undefined;
33544
33545
  }>>>;
33545
- createdAt: z.ZodString;
33546
- updatedAt: z.ZodString;
33546
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33547
33547
  type: z.ZodLiteral<"internal">;
33548
33548
  canUse: z.ZodArray<z.ZodObject<{
33549
33549
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33583,17 +33583,18 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33583
33583
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33584
33584
  data: z.ZodObject<{
33585
33585
  name: z.ZodString;
33586
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33587
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33588
33586
  createdAt: z.ZodOptional<z.ZodString>;
33589
33587
  updatedAt: z.ZodOptional<z.ZodString>;
33588
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33589
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33590
33590
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33591
33591
  id: z.ZodString;
33592
33592
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33593
33593
  id: z.ZodString;
33594
33594
  name: z.ZodString;
33595
+ createdAt: z.ZodOptional<z.ZodString>;
33596
+ updatedAt: z.ZodOptional<z.ZodString>;
33595
33597
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33596
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33597
33598
  models: z.ZodOptional<z.ZodObject<{
33598
33599
  base: z.ZodOptional<z.ZodObject<{
33599
33600
  model: z.ZodOptional<z.ZodString>;
@@ -33617,8 +33618,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33617
33618
  }, {
33618
33619
  stepCountIs?: number | undefined;
33619
33620
  }>>>>;
33620
- createdAt: z.ZodOptional<z.ZodString>;
33621
- updatedAt: z.ZodOptional<z.ZodString>;
33621
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33622
33622
  type: z.ZodLiteral<"internal">;
33623
33623
  canUse: z.ZodArray<z.ZodObject<{
33624
33624
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33727,9 +33727,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33727
33727
  }, z.core.$strip>>>;
33728
33728
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33729
33729
  name: z.ZodString;
33730
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33731
33730
  createdAt: z.ZodOptional<z.ZodString>;
33732
33731
  updatedAt: z.ZodOptional<z.ZodString>;
33732
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33733
33733
  enabled: z.ZodOptional<z.ZodBoolean>;
33734
33734
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33735
33735
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -33741,9 +33741,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33741
33741
  }, z.core.$strip>>>;
33742
33742
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33743
33743
  name: z.ZodString;
33744
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33745
33744
  createdAt: z.ZodOptional<z.ZodString>;
33746
33745
  updatedAt: z.ZodOptional<z.ZodString>;
33746
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33747
33747
  enabled: z.ZodOptional<z.ZodBoolean>;
33748
33748
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33749
33749
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33799,16 +33799,17 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33799
33799
  data: z.ZodObject<{
33800
33800
  id: z.ZodString;
33801
33801
  name: z.ZodString;
33802
- description: z.ZodNullable<z.ZodString>;
33803
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
33804
33802
  createdAt: z.ZodString;
33805
33803
  updatedAt: z.ZodString;
33804
+ description: z.ZodNullable<z.ZodString>;
33805
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
33806
33806
  contextConfigId: z.ZodNullable<z.ZodString>;
33807
33807
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33808
33808
  id: z.ZodString;
33809
33809
  name: z.ZodString;
33810
+ createdAt: z.ZodString;
33811
+ updatedAt: z.ZodString;
33810
33812
  description: z.ZodNullable<z.ZodString>;
33811
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33812
33813
  models: z.ZodNullable<z.ZodType<{
33813
33814
  base?: {
33814
33815
  model?: string | undefined;
@@ -33871,8 +33872,7 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33871
33872
  }, {
33872
33873
  stepCountIs?: number | undefined;
33873
33874
  }>>>;
33874
- createdAt: z.ZodString;
33875
- updatedAt: z.ZodString;
33875
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33876
33876
  type: z.ZodLiteral<"internal">;
33877
33877
  canUse: z.ZodArray<z.ZodObject<{
33878
33878
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33945,10 +33945,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33945
33945
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33946
33946
  id: z.ZodString;
33947
33947
  name: z.ZodString;
33948
- description: z.ZodNullable<z.ZodString>;
33949
- agentId: z.ZodString;
33950
33948
  createdAt: z.ZodString;
33951
33949
  updatedAt: z.ZodString;
33950
+ description: z.ZodNullable<z.ZodString>;
33951
+ agentId: z.ZodString;
33952
33952
  functionId: z.ZodString;
33953
33953
  relationshipId: z.ZodOptional<z.ZodString>;
33954
33954
  }, z.core.$strip>>>;
@@ -34994,8 +34994,8 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
34994
34994
  }, undefined>, undefined>;
34995
34995
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
34996
34996
  id: z.ZodString;
34997
- tenantId: z.ZodString;
34998
34997
  accountId: z.ZodString;
34998
+ tenantId: z.ZodString;
34999
34999
  installationId: z.ZodString;
35000
35000
  accountLogin: z.ZodString;
35001
35001
  accountType: z.ZodEnum<{
@@ -35025,8 +35025,8 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
35025
35025
  }>, z.core.$strip>;
35026
35026
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
35027
35027
  id: z.ZodString;
35028
- tenantId: z.ZodString;
35029
35028
  accountId: z.ZodString;
35029
+ tenantId: z.ZodString;
35030
35030
  installationId: z.ZodString;
35031
35031
  accountLogin: z.ZodString;
35032
35032
  accountType: z.ZodEnum<{