@inkeep/agents-core 0.0.0-dev-20260317081523 → 0.0.0-dev-20260317210645

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.
@@ -820,9 +820,20 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
820
820
  }, z.core.$strip>>;
821
821
  }>, z.core.$strip>;
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
823
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
825
824
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
825
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
826
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
827
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
828
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
829
+ stepCountIs?: number | undefined;
830
+ }, {
831
+ stepCountIs?: number | undefined;
832
+ }, z.core.$ZodTypeInternals<{
833
+ stepCountIs?: number | undefined;
834
+ }, {
835
+ stepCountIs?: number | undefined;
836
+ }>>>>>>;
826
837
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
827
838
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
828
839
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -839,17 +850,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
839
850
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
840
851
  }, z.core.$strip>>;
841
852
  }, z.core.$strip>>>>;
842
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
843
- stepCountIs?: number | undefined;
844
- }, {
845
- stepCountIs?: number | undefined;
846
- }, z.core.$ZodTypeInternals<{
847
- stepCountIs?: number | undefined;
848
- }, {
849
- stepCountIs?: number | undefined;
850
- }>>>>>>;
851
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
853
853
  }, z.core.$strip>;
854
854
  declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
855
855
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -2483,7 +2483,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2483
2483
  }, {}, {
2484
2484
  length: 256;
2485
2485
  }>;
2486
- }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2486
+ }, "name" | "description" | "id" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "contextConfigId" | "stopWhen" | "prompt" | "models" | "defaultSubAgentId" | "statusUpdates">, undefined>, undefined>;
2487
2487
  declare const AgentUpdateSchema: z.ZodObject<{
2488
2488
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2489
2489
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2750,10 +2750,19 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2750
2750
  id: z.ZodString;
2751
2751
  }>, z.core.$strip>;
2752
2752
  declare const AgentApiInsertSchema: z.ZodObject<{
2753
- id: z.ZodString;
2754
2753
  name: z.ZodString;
2755
2754
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2755
+ id: z.ZodString;
2756
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2758
+ transferCountIs?: number | undefined;
2759
+ }, {
2760
+ transferCountIs?: number | undefined;
2761
+ }, z.core.$ZodTypeInternals<{
2762
+ transferCountIs?: number | undefined;
2763
+ }, {
2764
+ transferCountIs?: number | undefined;
2765
+ }>>>>;
2757
2766
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
2767
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2759
2768
  base?: {
@@ -2808,16 +2817,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2808
2817
  providerOptions?: Record<string, any> | undefined;
2809
2818
  } | undefined;
2810
2819
  }>>>>;
2811
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2812
- transferCountIs?: number | undefined;
2813
- }, {
2814
- transferCountIs?: number | undefined;
2815
- }, z.core.$ZodTypeInternals<{
2816
- transferCountIs?: number | undefined;
2817
- }, {
2818
- transferCountIs?: number | undefined;
2819
- }>>>>;
2820
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2820
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2821
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2822
2822
  enabled?: boolean | undefined;
2823
2823
  numEvents?: number | undefined;
@@ -2879,7 +2879,16 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2879
2879
  declare const AgentApiUpdateSchema: z.ZodObject<{
2880
2880
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2881
2881
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2882
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2882
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2883
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2884
+ transferCountIs?: number | undefined;
2885
+ }, {
2886
+ transferCountIs?: number | undefined;
2887
+ }, z.core.$ZodTypeInternals<{
2888
+ transferCountIs?: number | undefined;
2889
+ }, {
2890
+ transferCountIs?: number | undefined;
2891
+ }>>>>>>;
2883
2892
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
2893
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2885
2894
  base?: {
@@ -2934,16 +2943,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2934
2943
  providerOptions?: Record<string, any> | undefined;
2935
2944
  } | undefined;
2936
2945
  }>>>>>>;
2937
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2938
- transferCountIs?: number | undefined;
2939
- }, {
2940
- transferCountIs?: number | undefined;
2941
- }, z.core.$ZodTypeInternals<{
2942
- transferCountIs?: number | undefined;
2943
- }, {
2944
- transferCountIs?: number | undefined;
2945
- }>>>>>>;
2946
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2946
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2947
2947
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2948
2948
  enabled?: boolean | undefined;
2949
2949
  numEvents?: number | undefined;
@@ -3067,8 +3067,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3067
3067
  declare const SignatureSourceSchema: z.ZodObject<{
3068
3068
  source: z.ZodEnum<{
3069
3069
  query: "query";
3070
- body: "body";
3071
3070
  header: "header";
3071
+ body: "body";
3072
3072
  }>;
3073
3073
  key: z.ZodString;
3074
3074
  prefix: z.ZodOptional<z.ZodString>;
@@ -3096,9 +3096,9 @@ declare const SignatureSourceSchema: z.ZodObject<{
3096
3096
  */
3097
3097
  declare const SignedComponentSchema: z.ZodObject<{
3098
3098
  source: z.ZodEnum<{
3099
+ header: "header";
3099
3100
  literal: "literal";
3100
3101
  body: "body";
3101
- header: "header";
3102
3102
  }>;
3103
3103
  key: z.ZodOptional<z.ZodString>;
3104
3104
  value: z.ZodOptional<z.ZodString>;
@@ -3207,8 +3207,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3207
3207
  signature: z.ZodObject<{
3208
3208
  source: z.ZodEnum<{
3209
3209
  query: "query";
3210
- body: "body";
3211
3210
  header: "header";
3211
+ body: "body";
3212
3212
  }>;
3213
3213
  key: z.ZodString;
3214
3214
  prefix: z.ZodOptional<z.ZodString>;
@@ -3216,9 +3216,9 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3216
3216
  }, z.core.$strip>;
3217
3217
  signedComponents: z.ZodArray<z.ZodObject<{
3218
3218
  source: z.ZodEnum<{
3219
+ header: "header";
3219
3220
  literal: "literal";
3220
3221
  body: "body";
3221
- header: "header";
3222
3222
  }>;
3223
3223
  key: z.ZodOptional<z.ZodString>;
3224
3224
  value: z.ZodOptional<z.ZodString>;
@@ -3269,8 +3269,8 @@ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3269
3269
  */
3270
3270
  type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3271
3271
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3272
- success: "success";
3273
3272
  pending: "pending";
3273
+ success: "success";
3274
3274
  failed: "failed";
3275
3275
  }>;
3276
3276
  declare const TriggerSelectSchema: z.ZodObject<{
@@ -3303,8 +3303,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3303
3303
  signature: z.ZodObject<{
3304
3304
  source: z.ZodEnum<{
3305
3305
  query: "query";
3306
- body: "body";
3307
3306
  header: "header";
3307
+ body: "body";
3308
3308
  }>;
3309
3309
  key: z.ZodString;
3310
3310
  prefix: z.ZodOptional<z.ZodString>;
@@ -3312,9 +3312,9 @@ declare const TriggerSelectSchema: z.ZodObject<{
3312
3312
  }, z.core.$strip>;
3313
3313
  signedComponents: z.ZodArray<z.ZodObject<{
3314
3314
  source: z.ZodEnum<{
3315
+ header: "header";
3315
3316
  literal: "literal";
3316
3317
  body: "body";
3317
- header: "header";
3318
3318
  }>;
3319
3319
  key: z.ZodOptional<z.ZodString>;
3320
3320
  value: z.ZodOptional<z.ZodString>;
@@ -3499,13 +3499,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3499
3499
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3500
3500
  encoding: "hex" | "base64";
3501
3501
  signature: {
3502
- source: "query" | "body" | "header";
3502
+ source: "query" | "header" | "body";
3503
3503
  key: string;
3504
3504
  prefix?: string | undefined;
3505
3505
  regex?: string | undefined;
3506
3506
  };
3507
3507
  signedComponents: {
3508
- source: "literal" | "body" | "header";
3508
+ source: "header" | "literal" | "body";
3509
3509
  required: boolean;
3510
3510
  key?: string | undefined;
3511
3511
  value?: string | undefined;
@@ -3536,13 +3536,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3536
3536
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3537
3537
  encoding: "hex" | "base64";
3538
3538
  signature: {
3539
- source: "query" | "body" | "header";
3539
+ source: "query" | "header" | "body";
3540
3540
  key: string;
3541
3541
  prefix?: string | undefined;
3542
3542
  regex?: string | undefined;
3543
3543
  };
3544
3544
  signedComponents: {
3545
- source: "literal" | "body" | "header";
3545
+ source: "header" | "literal" | "body";
3546
3546
  required: boolean;
3547
3547
  key?: string | undefined;
3548
3548
  value?: string | undefined;
@@ -3869,13 +3869,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3869
3869
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3870
3870
  encoding: "hex" | "base64";
3871
3871
  signature: {
3872
- source: "query" | "body" | "header";
3872
+ source: "query" | "header" | "body";
3873
3873
  key: string;
3874
3874
  prefix?: string | undefined;
3875
3875
  regex?: string | undefined;
3876
3876
  };
3877
3877
  signedComponents: {
3878
- source: "literal" | "body" | "header";
3878
+ source: "header" | "literal" | "body";
3879
3879
  required: boolean;
3880
3880
  key?: string | undefined;
3881
3881
  value?: string | undefined;
@@ -3906,13 +3906,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3906
3906
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3907
3907
  encoding: "hex" | "base64";
3908
3908
  signature: {
3909
- source: "query" | "body" | "header";
3909
+ source: "query" | "header" | "body";
3910
3910
  key: string;
3911
3911
  prefix?: string | undefined;
3912
3912
  regex?: string | undefined;
3913
3913
  };
3914
3914
  signedComponents: {
3915
- source: "literal" | "body" | "header";
3915
+ source: "header" | "literal" | "body";
3916
3916
  required: boolean;
3917
3917
  key?: string | undefined;
3918
3918
  value?: string | undefined;
@@ -4079,7 +4079,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4079
4079
  }, {}, {
4080
4080
  length: 256;
4081
4081
  }>;
4082
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4082
+ }, "name" | "description" | "id" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "agentId" | "createdBy" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId">, undefined>, undefined>;
4083
4083
  declare const TriggerUpdateSchema: z.ZodObject<{
4084
4084
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4085
4085
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4132,8 +4132,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4132
4132
  signature: z.ZodObject<{
4133
4133
  source: z.ZodEnum<{
4134
4134
  query: "query";
4135
- body: "body";
4136
4135
  header: "header";
4136
+ body: "body";
4137
4137
  }>;
4138
4138
  key: z.ZodString;
4139
4139
  prefix: z.ZodOptional<z.ZodString>;
@@ -4141,9 +4141,9 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4141
4141
  }, z.core.$strip>;
4142
4142
  signedComponents: z.ZodArray<z.ZodObject<{
4143
4143
  source: z.ZodEnum<{
4144
+ header: "header";
4144
4145
  literal: "literal";
4145
4146
  body: "body";
4146
- header: "header";
4147
4147
  }>;
4148
4148
  key: z.ZodOptional<z.ZodString>;
4149
4149
  value: z.ZodOptional<z.ZodString>;
@@ -4166,9 +4166,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4166
4166
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4167
4167
  }>, z.core.$strip>;
4168
4168
  declare const TriggerApiInsertSchema: z.ZodObject<{
4169
- id: z.ZodOptional<z.ZodString>;
4170
4169
  name: z.ZodString;
4171
4170
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4171
+ id: z.ZodOptional<z.ZodString>;
4172
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4172
4173
  enabled: z.ZodOptional<z.ZodBoolean>;
4173
4174
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4174
4175
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -4177,7 +4178,6 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4177
4178
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4178
4179
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4179
4180
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4180
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4181
4181
  }, z.core.$strip>;
4182
4182
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4183
4183
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4202,11 +4202,12 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4202
4202
  in: {};
4203
4203
  }>;
4204
4204
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4205
- id: z.ZodString;
4206
4205
  name: z.ZodString;
4207
4206
  description: z.ZodNullable<z.ZodString>;
4207
+ id: z.ZodString;
4208
4208
  createdAt: z.ZodString;
4209
4209
  updatedAt: z.ZodString;
4210
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4210
4211
  enabled: z.ZodBoolean;
4211
4212
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4212
4213
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -4228,8 +4229,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4228
4229
  signature: z.ZodObject<{
4229
4230
  source: z.ZodEnum<{
4230
4231
  query: "query";
4231
- body: "body";
4232
4232
  header: "header";
4233
+ body: "body";
4233
4234
  }>;
4234
4235
  key: z.ZodString;
4235
4236
  prefix: z.ZodOptional<z.ZodString>;
@@ -4237,9 +4238,9 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4237
4238
  }, z.core.$strip>;
4238
4239
  signedComponents: z.ZodArray<z.ZodObject<{
4239
4240
  source: z.ZodEnum<{
4241
+ header: "header";
4240
4242
  literal: "literal";
4241
4243
  body: "body";
4242
- header: "header";
4243
4244
  }>;
4244
4245
  key: z.ZodOptional<z.ZodString>;
4245
4246
  value: z.ZodOptional<z.ZodString>;
@@ -4259,7 +4260,6 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4259
4260
  }, z.core.$strip>>;
4260
4261
  }, z.core.$strip>>>;
4261
4262
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4262
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4263
4263
  webhookUrl: z.ZodString;
4264
4264
  }, z.core.$strip>;
4265
4265
  declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -5071,7 +5071,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
5071
5071
  }, {}, {
5072
5072
  length: 256;
5073
5073
  }>;
5074
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5074
+ }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5075
5075
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5076
5076
  triggerId: z.ZodOptional<z.ZodString>;
5077
5077
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5147,16 +5147,16 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5147
5147
  in: {};
5148
5148
  }>;
5149
5149
  declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5150
- id: z.ZodString;
5151
5150
  name: z.ZodString;
5152
5151
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5152
+ id: z.ZodString;
5153
5153
  tenantId: z.ZodString;
5154
5154
  projectId: z.ZodString;
5155
5155
  agentId: z.ZodString;
5156
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5156
5157
  enabled: z.ZodOptional<z.ZodBoolean>;
5157
5158
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5158
5159
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5159
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5160
5160
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5161
5161
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5162
5162
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5169,15 +5169,15 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5169
5169
  in: {};
5170
5170
  }>;
5171
5171
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5172
- id: z.ZodOptional<z.ZodString>;
5173
5172
  name: z.ZodOptional<z.ZodString>;
5174
5173
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5174
+ id: z.ZodOptional<z.ZodString>;
5175
5175
  tenantId: z.ZodOptional<z.ZodString>;
5176
5176
  projectId: z.ZodOptional<z.ZodString>;
5177
5177
  agentId: z.ZodOptional<z.ZodString>;
5178
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5178
5179
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5179
5180
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5180
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5181
5181
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5182
5182
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5183
5183
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
@@ -5214,10 +5214,10 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5214
5214
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5215
5215
  name: z.ZodString;
5216
5216
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5217
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5217
5218
  enabled: z.ZodOptional<z.ZodBoolean>;
5218
5219
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5219
5220
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5220
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5221
5221
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5222
5222
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5223
5223
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5230,10 +5230,10 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5230
5230
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5231
5231
  name: z.ZodString;
5232
5232
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5233
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5233
5234
  enabled: z.ZodOptional<z.ZodBoolean>;
5234
5235
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5235
5236
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5236
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5237
5237
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5238
5238
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5239
5239
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5244,15 +5244,15 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5244
5244
  id: z.ZodOptional<z.ZodString>;
5245
5245
  }, z.core.$strip>;
5246
5246
  declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5247
- id: z.ZodOptional<z.ZodString>;
5248
5247
  name: z.ZodOptional<z.ZodString>;
5249
5248
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5249
+ id: z.ZodOptional<z.ZodString>;
5250
5250
  tenantId: z.ZodOptional<z.ZodString>;
5251
5251
  projectId: z.ZodOptional<z.ZodString>;
5252
5252
  agentId: z.ZodOptional<z.ZodString>;
5253
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5253
5254
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5254
5255
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5255
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5256
5256
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5257
5257
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5258
5258
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
@@ -6088,7 +6088,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
6088
6088
  }, {}, {
6089
6089
  length: 256;
6090
6090
  }>;
6091
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6091
+ }, "name" | "description" | "id" | "createdAt" | "updatedAt" | "status" | "tenantId" | "projectId" | "agentId" | "scheduledTriggerId" | "workflowRunId">, undefined>, undefined>;
6092
6092
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6093
6093
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6094
6094
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6124,8 +6124,8 @@ declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6124
6124
  createdAt: z.ZodOptional<z.ZodString>;
6125
6125
  updatedAt: z.ZodOptional<z.ZodString>;
6126
6126
  status: z.ZodOptional<z.ZodString>;
6127
- workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6128
6127
  scheduledTriggerId: z.ZodString;
6128
+ workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6129
6129
  id: z.ZodOptional<z.ZodString>;
6130
6130
  }, z.core.$strip>;
6131
6131
  declare const ScheduledWorkflowApiUpdateSchema: z.ZodObject<{
@@ -6149,9 +6149,9 @@ type ScheduledWorkflowInsert = z.infer<typeof ScheduledWorkflowInsertSchema>;
6149
6149
  type ScheduledWorkflowUpdate = z.infer<typeof ScheduledWorkflowUpdateSchema>;
6150
6150
  declare const ScheduledTriggerInvocationStatusEnum: z.ZodEnum<{
6151
6151
  pending: "pending";
6152
- failed: "failed";
6153
6152
  running: "running";
6154
6153
  completed: "completed";
6154
+ failed: "failed";
6155
6155
  cancelled: "cancelled";
6156
6156
  }>;
6157
6157
  declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
@@ -6170,9 +6170,9 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6170
6170
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6171
6171
  status: z.ZodEnum<{
6172
6172
  pending: "pending";
6173
- failed: "failed";
6174
6173
  running: "running";
6175
6174
  completed: "completed";
6175
+ failed: "failed";
6176
6176
  cancelled: "cancelled";
6177
6177
  }>;
6178
6178
  }, {
@@ -6204,7 +6204,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6204
6204
  tableName: "scheduled_trigger_invocations";
6205
6205
  dataType: "string";
6206
6206
  columnType: "PgVarchar";
6207
- data: "pending" | "failed" | "running" | "completed" | "cancelled";
6207
+ data: "pending" | "running" | "completed" | "failed" | "cancelled";
6208
6208
  driverParam: string;
6209
6209
  notNull: true;
6210
6210
  hasDefault: false;
@@ -6217,7 +6217,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6217
6217
  generated: undefined;
6218
6218
  }, {}, {
6219
6219
  length: 50;
6220
- $type: "pending" | "failed" | "running" | "completed" | "cancelled";
6220
+ $type: "pending" | "running" | "completed" | "failed" | "cancelled";
6221
6221
  }>;
6222
6222
  scheduledFor: drizzle_orm_pg_core217.PgColumn<{
6223
6223
  name: "scheduled_for";
@@ -6462,7 +6462,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6462
6462
  tableName: "scheduled_trigger_invocations";
6463
6463
  dataType: "string";
6464
6464
  columnType: "PgVarchar";
6465
- data: "pending" | "failed" | "running" | "completed" | "cancelled";
6465
+ data: "pending" | "running" | "completed" | "failed" | "cancelled";
6466
6466
  driverParam: string;
6467
6467
  notNull: true;
6468
6468
  hasDefault: false;
@@ -6475,7 +6475,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6475
6475
  generated: undefined;
6476
6476
  }, {}, {
6477
6477
  length: 50;
6478
- $type: "pending" | "failed" | "running" | "completed" | "cancelled";
6478
+ $type: "pending" | "running" | "completed" | "failed" | "cancelled";
6479
6479
  }>;
6480
6480
  scheduledFor: drizzle_orm_pg_core217.PgColumn<{
6481
6481
  name: "scheduled_for";
@@ -6695,7 +6695,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6695
6695
  }, {}, {
6696
6696
  length: 256;
6697
6697
  }>;
6698
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6698
+ }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6699
6699
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6700
6700
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
6701
6701
  status: z.ZodOptional<z.ZodString>;
@@ -6731,9 +6731,9 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentSc
6731
6731
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6732
6732
  status: z.ZodEnum<{
6733
6733
  pending: "pending";
6734
- failed: "failed";
6735
6734
  running: "running";
6736
6735
  completed: "completed";
6736
+ failed: "failed";
6737
6737
  cancelled: "cancelled";
6738
6738
  }>;
6739
6739
  }>, z.core.$strip>;
@@ -6827,7 +6827,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
6827
6827
  dataType: "json";
6828
6828
  columnType: "PgJsonb";
6829
6829
  data: {
6830
- type: "tag" | "commit" | "branch";
6830
+ type: "commit" | "tag" | "branch";
6831
6831
  name: string;
6832
6832
  hash: string;
6833
6833
  };
@@ -6843,7 +6843,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
6843
6843
  generated: undefined;
6844
6844
  }, {}, {
6845
6845
  $type: {
6846
- type: "tag" | "commit" | "branch";
6846
+ type: "commit" | "tag" | "branch";
6847
6847
  name: string;
6848
6848
  hash: string;
6849
6849
  };
@@ -7041,7 +7041,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7041
7041
  dataType: "json";
7042
7042
  columnType: "PgJsonb";
7043
7043
  data: {
7044
- type: "tag" | "commit" | "branch";
7044
+ type: "commit" | "tag" | "branch";
7045
7045
  name: string;
7046
7046
  hash: string;
7047
7047
  };
@@ -7057,7 +7057,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7057
7057
  generated: undefined;
7058
7058
  }, {}, {
7059
7059
  $type: {
7060
- type: "tag" | "commit" | "branch";
7060
+ type: "commit" | "tag" | "branch";
7061
7061
  name: string;
7062
7062
  hash: string;
7063
7063
  };
@@ -7210,8 +7210,8 @@ declare const TaskInsertSchema: z.ZodObject<{
7210
7210
  conversationId: z.ZodOptional<z.ZodString>;
7211
7211
  ref: z.ZodObject<{
7212
7212
  type: z.ZodEnum<{
7213
- tag: "tag";
7214
7213
  commit: "commit";
7214
+ tag: "tag";
7215
7215
  branch: "branch";
7216
7216
  }>;
7217
7217
  name: z.ZodString;
@@ -7235,8 +7235,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
7235
7235
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7236
7236
  ref: z.ZodOptional<z.ZodObject<{
7237
7237
  type: z.ZodEnum<{
7238
- tag: "tag";
7239
7238
  commit: "commit";
7239
+ tag: "tag";
7240
7240
  branch: "branch";
7241
7241
  }>;
7242
7242
  name: z.ZodString;
@@ -7251,19 +7251,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
7251
7251
  updatedAt: z.ZodString;
7252
7252
  contextId: z.ZodString;
7253
7253
  ref: z.ZodNullable<z.ZodType<{
7254
- type: "tag" | "commit" | "branch";
7254
+ type: "commit" | "tag" | "branch";
7255
7255
  name: string;
7256
7256
  hash: string;
7257
7257
  }, {
7258
- type: "tag" | "commit" | "branch";
7258
+ type: "commit" | "tag" | "branch";
7259
7259
  name: string;
7260
7260
  hash: string;
7261
7261
  }, z.core.$ZodTypeInternals<{
7262
- type: "tag" | "commit" | "branch";
7262
+ type: "commit" | "tag" | "branch";
7263
7263
  name: string;
7264
7264
  hash: string;
7265
7265
  }, {
7266
- type: "tag" | "commit" | "branch";
7266
+ type: "commit" | "tag" | "branch";
7267
7267
  name: string;
7268
7268
  hash: string;
7269
7269
  }>>>;
@@ -7289,8 +7289,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7289
7289
  conversationId: z.ZodOptional<z.ZodString>;
7290
7290
  ref: z.ZodObject<{
7291
7291
  type: z.ZodEnum<{
7292
- tag: "tag";
7293
7292
  commit: "commit";
7293
+ tag: "tag";
7294
7294
  branch: "branch";
7295
7295
  }>;
7296
7296
  name: z.ZodString;
@@ -7299,23 +7299,23 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7299
7299
  }>, z.core.$strip>;
7300
7300
  declare const TaskApiUpdateSchema: z.ZodObject<{
7301
7301
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7302
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7303
7302
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7304
7303
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7305
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7306
7304
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7307
7305
  type: z.ZodEnum<{
7308
- tag: "tag";
7309
7306
  commit: "commit";
7307
+ tag: "tag";
7310
7308
  branch: "branch";
7311
7309
  }>;
7312
7310
  name: z.ZodString;
7313
7311
  hash: z.ZodString;
7314
7312
  }, z.core.$strip>>>;
7313
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7315
7314
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7315
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7316
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7316
7317
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7317
7318
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7318
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7319
7319
  }, z.core.$strip>;
7320
7320
  declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
7321
7321
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -7666,9 +7666,9 @@ declare const TaskRelationApiUpdateSchema: z.ZodObject<{
7666
7666
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7667
7667
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7668
7668
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7669
- relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7670
7669
  parentTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7671
7670
  childTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7671
+ relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7672
7672
  }, z.core.$strip>;
7673
7673
  declare const McpTransportConfigSchema: z.ZodObject<{
7674
7674
  type: z.ZodEnum<{
@@ -7681,9 +7681,9 @@ declare const McpTransportConfigSchema: z.ZodObject<{
7681
7681
  sessionId: z.ZodOptional<z.ZodString>;
7682
7682
  }, z.core.$strip>;
7683
7683
  declare const ToolStatusSchema: z.ZodEnum<{
7684
- unknown: "unknown";
7685
7684
  healthy: "healthy";
7686
7685
  unhealthy: "unhealthy";
7686
+ unknown: "unknown";
7687
7687
  needs_auth: "needs_auth";
7688
7688
  unavailable: "unavailable";
7689
7689
  }>;
@@ -8254,12 +8254,11 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
8254
8254
  }>;
8255
8255
  }, undefined>, undefined>;
8256
8256
  declare const ToolInsertSchema: z.ZodObject<{
8257
- id: z.ZodString;
8258
8257
  name: z.ZodString;
8259
8258
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8259
+ id: z.ZodString;
8260
8260
  tenantId: z.ZodString;
8261
8261
  projectId: z.ZodString;
8262
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8263
8262
  config: z.ZodObject<{
8264
8263
  type: z.ZodLiteral<"mcp">;
8265
8264
  mcp: z.ZodObject<{
@@ -8286,6 +8285,7 @@ declare const ToolInsertSchema: z.ZodObject<{
8286
8285
  prompt: z.ZodOptional<z.ZodString>;
8287
8286
  }, z.core.$strip>;
8288
8287
  }, z.core.$strip>;
8288
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8289
8289
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8290
8290
  credentialScope: z.ZodOptional<z.ZodString>;
8291
8291
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -8394,7 +8394,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8394
8394
  dataType: "json";
8395
8395
  columnType: "PgJsonb";
8396
8396
  data: {
8397
- type: "tag" | "commit" | "branch";
8397
+ type: "commit" | "tag" | "branch";
8398
8398
  name: string;
8399
8399
  hash: string;
8400
8400
  };
@@ -8410,7 +8410,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8410
8410
  generated: undefined;
8411
8411
  }, {}, {
8412
8412
  $type: {
8413
- type: "tag" | "commit" | "branch";
8413
+ type: "commit" | "tag" | "branch";
8414
8414
  name: string;
8415
8415
  hash: string;
8416
8416
  };
@@ -8623,7 +8623,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8623
8623
  dataType: "json";
8624
8624
  columnType: "PgJsonb";
8625
8625
  data: {
8626
- type: "tag" | "commit" | "branch";
8626
+ type: "commit" | "tag" | "branch";
8627
8627
  name: string;
8628
8628
  hash: string;
8629
8629
  };
@@ -8639,7 +8639,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8639
8639
  generated: undefined;
8640
8640
  }, {}, {
8641
8641
  $type: {
8642
- type: "tag" | "commit" | "branch";
8642
+ type: "commit" | "tag" | "branch";
8643
8643
  name: string;
8644
8644
  hash: string;
8645
8645
  };
@@ -8770,8 +8770,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
8770
8770
  contextConfigId: z.ZodOptional<z.ZodString>;
8771
8771
  ref: z.ZodObject<{
8772
8772
  type: z.ZodEnum<{
8773
- tag: "tag";
8774
8773
  commit: "commit";
8774
+ tag: "tag";
8775
8775
  branch: "branch";
8776
8776
  }>;
8777
8777
  name: z.ZodString;
@@ -8796,8 +8796,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
8796
8796
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8797
8797
  ref: z.ZodOptional<z.ZodObject<{
8798
8798
  type: z.ZodEnum<{
8799
- tag: "tag";
8800
8799
  commit: "commit";
8800
+ tag: "tag";
8801
8801
  branch: "branch";
8802
8802
  }>;
8803
8803
  name: z.ZodString;
@@ -8814,19 +8814,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
8814
8814
  agentId: z.ZodNullable<z.ZodString>;
8815
8815
  activeSubAgentId: z.ZodString;
8816
8816
  ref: z.ZodNullable<z.ZodType<{
8817
- type: "tag" | "commit" | "branch";
8817
+ type: "commit" | "tag" | "branch";
8818
8818
  name: string;
8819
8819
  hash: string;
8820
8820
  }, {
8821
- type: "tag" | "commit" | "branch";
8821
+ type: "commit" | "tag" | "branch";
8822
8822
  name: string;
8823
8823
  hash: string;
8824
8824
  }, z.core.$ZodTypeInternals<{
8825
- type: "tag" | "commit" | "branch";
8825
+ type: "commit" | "tag" | "branch";
8826
8826
  name: string;
8827
8827
  hash: string;
8828
8828
  }, {
8829
- type: "tag" | "commit" | "branch";
8829
+ type: "commit" | "tag" | "branch";
8830
8830
  name: string;
8831
8831
  hash: string;
8832
8832
  }>>>;
@@ -8852,8 +8852,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
8852
8852
  contextConfigId: z.ZodOptional<z.ZodString>;
8853
8853
  ref: z.ZodObject<{
8854
8854
  type: z.ZodEnum<{
8855
- tag: "tag";
8856
8855
  commit: "commit";
8856
+ tag: "tag";
8857
8857
  branch: "branch";
8858
8858
  }>;
8859
8859
  name: z.ZodString;
@@ -8861,25 +8861,25 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
8861
8861
  }, z.core.$strip>;
8862
8862
  }>, z.core.$strip>;
8863
8863
  declare const ConversationApiUpdateSchema: z.ZodObject<{
8864
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8865
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8866
8864
  title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8865
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8867
8866
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8868
8867
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8869
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8870
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
8871
8868
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8872
8869
  type: z.ZodEnum<{
8873
- tag: "tag";
8874
8870
  commit: "commit";
8871
+ tag: "tag";
8875
8872
  branch: "branch";
8876
8873
  }>;
8877
8874
  name: z.ZodString;
8878
8875
  hash: z.ZodString;
8879
8876
  }, z.core.$strip>>>;
8880
8877
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8878
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
8879
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8881
8880
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8882
8881
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8882
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8883
8883
  }, z.core.$strip>;
8884
8884
  declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
8885
8885
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -9777,20 +9777,20 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
9777
9777
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9778
9778
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9779
9779
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
9780
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9781
9780
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9781
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9782
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9782
9783
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9783
9784
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9784
9785
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9785
9786
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9786
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9787
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9788
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9789
9787
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9790
9788
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9791
9789
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9792
9790
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9791
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9793
9792
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9793
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9794
9794
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9795
9795
  }, z.core.$strip>;
9796
9796
  declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -9891,7 +9891,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
9891
9891
  dataType: "json";
9892
9892
  columnType: "PgJsonb";
9893
9893
  data: {
9894
- type: "tag" | "commit" | "branch";
9894
+ type: "commit" | "tag" | "branch";
9895
9895
  name: string;
9896
9896
  hash: string;
9897
9897
  };
@@ -9907,7 +9907,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
9907
9907
  generated: undefined;
9908
9908
  }, {}, {
9909
9909
  $type: {
9910
- type: "tag" | "commit" | "branch";
9910
+ type: "commit" | "tag" | "branch";
9911
9911
  name: string;
9912
9912
  hash: string;
9913
9913
  };
@@ -10141,7 +10141,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10141
10141
  dataType: "json";
10142
10142
  columnType: "PgJsonb";
10143
10143
  data: {
10144
- type: "tag" | "commit" | "branch";
10144
+ type: "commit" | "tag" | "branch";
10145
10145
  name: string;
10146
10146
  hash: string;
10147
10147
  };
@@ -10157,7 +10157,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10157
10157
  generated: undefined;
10158
10158
  }, {}, {
10159
10159
  $type: {
10160
- type: "tag" | "commit" | "branch";
10160
+ type: "commit" | "tag" | "branch";
10161
10161
  name: string;
10162
10162
  hash: string;
10163
10163
  };
@@ -10309,8 +10309,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10309
10309
  id: z.ZodString;
10310
10310
  ref: z.ZodObject<{
10311
10311
  type: z.ZodEnum<{
10312
- tag: "tag";
10313
10312
  commit: "commit";
10313
+ tag: "tag";
10314
10314
  branch: "branch";
10315
10315
  }>;
10316
10316
  name: z.ZodString;
@@ -10335,8 +10335,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
10335
10335
  id: z.ZodOptional<z.ZodString>;
10336
10336
  ref: z.ZodOptional<z.ZodObject<{
10337
10337
  type: z.ZodEnum<{
10338
- tag: "tag";
10339
10338
  commit: "commit";
10339
+ tag: "tag";
10340
10340
  branch: "branch";
10341
10341
  }>;
10342
10342
  name: z.ZodString;
@@ -10353,19 +10353,19 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
10353
10353
  contextConfigId: z.ZodString;
10354
10354
  contextVariableKey: z.ZodString;
10355
10355
  ref: z.ZodNullable<z.ZodType<{
10356
- type: "tag" | "commit" | "branch";
10356
+ type: "commit" | "tag" | "branch";
10357
10357
  name: string;
10358
10358
  hash: string;
10359
10359
  }, {
10360
- type: "tag" | "commit" | "branch";
10360
+ type: "commit" | "tag" | "branch";
10361
10361
  name: string;
10362
10362
  hash: string;
10363
10363
  }, z.core.$ZodTypeInternals<{
10364
- type: "tag" | "commit" | "branch";
10364
+ type: "commit" | "tag" | "branch";
10365
10365
  name: string;
10366
10366
  hash: string;
10367
10367
  }, {
10368
- type: "tag" | "commit" | "branch";
10368
+ type: "commit" | "tag" | "branch";
10369
10369
  name: string;
10370
10370
  hash: string;
10371
10371
  }>>>;
@@ -10392,8 +10392,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10392
10392
  id: z.ZodString;
10393
10393
  ref: z.ZodObject<{
10394
10394
  type: z.ZodEnum<{
10395
- tag: "tag";
10396
10395
  commit: "commit";
10396
+ tag: "tag";
10397
10397
  branch: "branch";
10398
10398
  }>;
10399
10399
  name: z.ZodString;
@@ -10402,20 +10402,20 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10402
10402
  }>, z.core.$strip>;
10403
10403
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10404
10404
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10405
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
10406
10405
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10407
10406
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10408
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10409
10407
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
10410
10408
  type: z.ZodEnum<{
10411
- tag: "tag";
10412
10409
  commit: "commit";
10410
+ tag: "tag";
10413
10411
  branch: "branch";
10414
10412
  }>;
10415
10413
  name: z.ZodString;
10416
10414
  hash: z.ZodString;
10417
10415
  }, z.core.$strip>>>;
10416
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
10418
10417
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10418
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10419
10419
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10420
10420
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10421
10421
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -12117,9 +12117,9 @@ declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12117
12117
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12118
12118
  }, z.core.$strip>;
12119
12119
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12120
- id: z.ZodString;
12121
12120
  name: z.ZodString;
12122
12121
  description: z.ZodNullable<z.ZodString>;
12122
+ id: z.ZodString;
12123
12123
  createdAt: z.ZodString;
12124
12124
  updatedAt: z.ZodString;
12125
12125
  isActive: z.ZodBoolean;
@@ -14280,7 +14280,9 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14280
14280
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14281
14281
  name: z.ZodString;
14282
14282
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14283
- prompt: z.ZodString;
14283
+ createdAt: z.ZodOptional<z.ZodString>;
14284
+ updatedAt: z.ZodOptional<z.ZodString>;
14285
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14284
14286
  model: z.ZodType<{
14285
14287
  model?: string | undefined;
14286
14288
  providerOptions?: Record<string, any> | undefined;
@@ -14294,15 +14296,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14294
14296
  model?: string | undefined;
14295
14297
  providerOptions?: Record<string, any> | undefined;
14296
14298
  }>>;
14297
- createdAt: z.ZodOptional<z.ZodString>;
14298
- updatedAt: z.ZodOptional<z.ZodString>;
14299
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14299
+ prompt: z.ZodString;
14300
14300
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14301
14301
  }, z.core.$strip>;
14302
14302
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14303
14303
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14304
14304
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14305
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14305
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14306
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14307
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14306
14308
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14307
14309
  model?: string | undefined;
14308
14310
  providerOptions?: Record<string, any> | undefined;
@@ -14316,9 +14318,7 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14316
14318
  model?: string | undefined;
14317
14319
  providerOptions?: Record<string, any> | undefined;
14318
14320
  }>>>>;
14319
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14320
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14321
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14321
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14322
14322
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
14323
14323
  }, z.core.$strip>;
14324
14324
  declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -15995,20 +15995,20 @@ declare const SkillSelectSchema: z.ZodObject<{
15995
15995
  declare const SkillInsertSchema: z.ZodObject<{
15996
15996
  name: z.ZodString;
15997
15997
  description: z.ZodString;
15998
- tenantId: z.ZodString;
15999
- projectId: z.ZodString;
16000
15998
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16001
15999
  content: z.ZodString;
16000
+ tenantId: z.ZodString;
16001
+ projectId: z.ZodString;
16002
16002
  }, {
16003
16003
  out: {};
16004
16004
  in: {};
16005
16005
  }>;
16006
16006
  declare const SkillUpdateSchema: z.ZodObject<{
16007
16007
  description: z.ZodOptional<z.ZodString>;
16008
- tenantId: z.ZodOptional<z.ZodString>;
16009
- projectId: z.ZodOptional<z.ZodString>;
16010
16008
  metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16011
16009
  content: z.ZodOptional<z.ZodString>;
16010
+ tenantId: z.ZodOptional<z.ZodString>;
16011
+ projectId: z.ZodOptional<z.ZodString>;
16012
16012
  }, {
16013
16013
  out: {};
16014
16014
  in: {};
@@ -16027,10 +16027,10 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16027
16027
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16028
16028
  name: z.ZodString;
16029
16029
  description: z.ZodString;
16030
- tenantId: z.ZodString;
16031
- projectId: z.ZodString;
16032
16030
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16033
16031
  content: z.ZodString;
16032
+ tenantId: z.ZodString;
16033
+ projectId: z.ZodString;
16034
16034
  }>, z.core.$strip>;
16035
16035
  declare const SkillApiUpdateSchema: z.ZodObject<{
16036
16036
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -16411,9 +16411,9 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
16411
16411
  }>;
16412
16412
  }, undefined>, undefined>;
16413
16413
  declare const DataComponentInsertSchema: z.ZodObject<{
16414
- id: z.ZodString;
16415
16414
  name: z.ZodString;
16416
16415
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16416
+ id: z.ZodString;
16417
16417
  tenantId: z.ZodString;
16418
16418
  projectId: z.ZodString;
16419
16419
  props: z.ZodType<{
@@ -16463,9 +16463,9 @@ declare const DataComponentInsertSchema: z.ZodObject<{
16463
16463
  in: {};
16464
16464
  }>;
16465
16465
  declare const DataComponentUpdateSchema: z.ZodObject<{
16466
- id: z.ZodOptional<z.ZodString>;
16467
16466
  name: z.ZodOptional<z.ZodString>;
16468
16467
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16468
+ id: z.ZodOptional<z.ZodString>;
16469
16469
  tenantId: z.ZodOptional<z.ZodString>;
16470
16470
  projectId: z.ZodOptional<z.ZodString>;
16471
16471
  props: z.ZodOptional<z.ZodType<{
@@ -17144,7 +17144,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
17144
17144
  }, {}, {
17145
17145
  length: 256;
17146
17146
  }>;
17147
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17147
+ }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17148
17148
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17149
17149
  dataComponentId: z.ZodOptional<z.ZodString>;
17150
17150
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17741,9 +17741,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
17741
17741
  in: {};
17742
17742
  }>;
17743
17743
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
17744
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17745
17744
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17746
17745
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17746
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17747
17747
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17748
17748
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17749
17749
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -18160,10 +18160,10 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18160
18160
  }>, z.core.$strip>;
18161
18161
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18162
18162
  agentId: z.ZodString;
18163
- index: z.ZodInt;
18164
- alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18165
18163
  subAgentId: z.ZodString;
18166
18164
  skillId: z.ZodString;
18165
+ index: z.ZodInt;
18166
+ alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18167
18167
  }, {
18168
18168
  out: {};
18169
18169
  in: {};
@@ -18172,15 +18172,15 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18172
18172
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18173
18173
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18174
18174
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18175
- index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18176
- alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18177
18175
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18178
18176
  skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18177
+ index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18178
+ alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18179
18179
  }, z.core.$strip>;
18180
18180
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18181
- id: z.ZodString;
18182
18181
  name: z.ZodString;
18183
18182
  description: z.ZodString;
18183
+ id: z.ZodString;
18184
18184
  createdAt: z.ZodString;
18185
18185
  updatedAt: z.ZodString;
18186
18186
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -18205,9 +18205,9 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
18205
18205
  in: {};
18206
18206
  }>;
18207
18207
  declare const ExternalAgentInsertSchema: z.ZodObject<{
18208
- id: z.ZodString;
18209
18208
  name: z.ZodString;
18210
18209
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18210
+ id: z.ZodString;
18211
18211
  tenantId: z.ZodString;
18212
18212
  projectId: z.ZodString;
18213
18213
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -18217,9 +18217,9 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
18217
18217
  in: {};
18218
18218
  }>;
18219
18219
  declare const ExternalAgentUpdateSchema: z.ZodObject<{
18220
- id: z.ZodOptional<z.ZodString>;
18221
18220
  name: z.ZodOptional<z.ZodString>;
18222
18221
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18222
+ id: z.ZodOptional<z.ZodString>;
18223
18223
  tenantId: z.ZodOptional<z.ZodString>;
18224
18224
  projectId: z.ZodOptional<z.ZodString>;
18225
18225
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -18240,25 +18240,36 @@ declare const ExternalAgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
18240
18240
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18241
18241
  }>, z.core.$strip>;
18242
18242
  declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18243
- id: z.ZodString;
18244
18243
  name: z.ZodString;
18245
18244
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18245
+ id: z.ZodString;
18246
18246
  tenantId: z.ZodString;
18247
18247
  projectId: z.ZodString;
18248
18248
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18249
18249
  baseUrl: z.ZodURL;
18250
18250
  }>, z.core.$strip>;
18251
18251
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18252
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18253
18252
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18254
18253
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18254
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18255
18255
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18256
18256
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18257
18257
  }, z.core.$strip>;
18258
18258
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18259
- id: z.ZodString;
18260
18259
  name: z.ZodString;
18261
18260
  description: z.ZodNullable<z.ZodString>;
18261
+ id: z.ZodString;
18262
+ createdAt: z.ZodString;
18263
+ updatedAt: z.ZodString;
18264
+ stopWhen: z.ZodNullable<z.ZodType<{
18265
+ stepCountIs?: number | undefined;
18266
+ }, {
18267
+ stepCountIs?: number | undefined;
18268
+ }, z.core.$ZodTypeInternals<{
18269
+ stepCountIs?: number | undefined;
18270
+ }, {
18271
+ stepCountIs?: number | undefined;
18272
+ }>>>;
18262
18273
  prompt: z.ZodNullable<z.ZodString>;
18263
18274
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18264
18275
  models: z.ZodNullable<z.ZodType<{
@@ -18314,22 +18325,11 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18314
18325
  providerOptions?: Record<string, any> | undefined;
18315
18326
  } | undefined;
18316
18327
  }>>>;
18317
- stopWhen: z.ZodNullable<z.ZodType<{
18318
- stepCountIs?: number | undefined;
18319
- }, {
18320
- stepCountIs?: number | undefined;
18321
- }, z.core.$ZodTypeInternals<{
18322
- stepCountIs?: number | undefined;
18323
- }, {
18324
- stepCountIs?: number | undefined;
18325
- }>>>;
18326
- createdAt: z.ZodString;
18327
- updatedAt: z.ZodString;
18328
18328
  type: z.ZodLiteral<"internal">;
18329
18329
  }, z.core.$strip>, z.ZodObject<{
18330
- id: z.ZodString;
18331
18330
  name: z.ZodString;
18332
18331
  description: z.ZodNullable<z.ZodString>;
18332
+ id: z.ZodString;
18333
18333
  createdAt: z.ZodString;
18334
18334
  updatedAt: z.ZodString;
18335
18335
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -18798,20 +18798,20 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
18798
18798
  }>;
18799
18799
  declare const ApiKeyUpdateSchema: z.ZodObject<{
18800
18800
  name: z.ZodOptional<z.ZodString>;
18801
- agentId: z.ZodOptional<z.ZodString>;
18802
18801
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18803
18802
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18803
+ agentId: z.ZodOptional<z.ZodString>;
18804
18804
  }, {
18805
18805
  out: {};
18806
18806
  in: {};
18807
18807
  }>;
18808
18808
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
18809
- id: z.ZodString;
18810
18809
  name: z.ZodNullable<z.ZodString>;
18811
- agentId: z.ZodString;
18810
+ id: z.ZodString;
18812
18811
  createdAt: z.ZodString;
18813
18812
  updatedAt: z.ZodString;
18814
18813
  expiresAt: z.ZodNullable<z.ZodString>;
18814
+ agentId: z.ZodString;
18815
18815
  publicId: z.ZodString;
18816
18816
  keyPrefix: z.ZodString;
18817
18817
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -18822,12 +18822,12 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
18822
18822
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
18823
18823
  data: z.ZodObject<{
18824
18824
  apiKey: z.ZodObject<{
18825
- id: z.ZodString;
18826
18825
  name: z.ZodNullable<z.ZodString>;
18827
- agentId: z.ZodString;
18826
+ id: z.ZodString;
18828
18827
  createdAt: z.ZodString;
18829
18828
  updatedAt: z.ZodString;
18830
18829
  expiresAt: z.ZodNullable<z.ZodString>;
18830
+ agentId: z.ZodString;
18831
18831
  publicId: z.ZodString;
18832
18832
  keyPrefix: z.ZodString;
18833
18833
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -18840,19 +18840,19 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
18840
18840
  }, z.core.$strip>;
18841
18841
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
18842
18842
  name: z.ZodString;
18843
- agentId: z.ZodString;
18844
18843
  createdAt: z.ZodOptional<z.ZodString>;
18845
18844
  updatedAt: z.ZodOptional<z.ZodString>;
18846
18845
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18846
+ agentId: z.ZodString;
18847
18847
  }, {
18848
18848
  out: {};
18849
18849
  in: {};
18850
18850
  }>;
18851
18851
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
18852
18852
  name: z.ZodOptional<z.ZodString>;
18853
- agentId: z.ZodOptional<z.ZodString>;
18854
18853
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18855
18854
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18855
+ agentId: z.ZodOptional<z.ZodString>;
18856
18856
  }, {
18857
18857
  out: {};
18858
18858
  in: {};
@@ -19435,9 +19435,12 @@ declare const AppInsertSchema: z.ZodObject<{
19435
19435
  declare const AppUpdateSchema: z.ZodObject<{
19436
19436
  name: z.ZodOptional<z.ZodString>;
19437
19437
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19438
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19438
19439
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19439
19440
  projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19440
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19441
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19442
+ defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19443
+ defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19441
19444
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
19442
19445
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
19443
19446
  type: z.ZodLiteral<"web_client">;
@@ -19448,9 +19451,6 @@ declare const AppUpdateSchema: z.ZodObject<{
19448
19451
  type: z.ZodLiteral<"api">;
19449
19452
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
19450
19453
  }, z.core.$strip>], "type">>;
19451
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19452
- defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19453
- defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19454
19454
  }, {
19455
19455
  out: {};
19456
19456
  in: {};
@@ -19968,17 +19968,17 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
19968
19968
  }, undefined>, undefined>;
19969
19969
  declare const AppApiResponseSelectSchema: z.ZodObject<{
19970
19970
  type: z.ZodString;
19971
- id: z.ZodString;
19972
19971
  name: z.ZodString;
19973
19972
  description: z.ZodNullable<z.ZodString>;
19974
- tenantId: z.ZodNullable<z.ZodString>;
19975
- projectId: z.ZodNullable<z.ZodString>;
19973
+ id: z.ZodString;
19976
19974
  createdAt: z.ZodString;
19977
19975
  updatedAt: z.ZodString;
19978
- enabled: z.ZodBoolean;
19976
+ tenantId: z.ZodNullable<z.ZodString>;
19977
+ projectId: z.ZodNullable<z.ZodString>;
19979
19978
  lastUsedAt: z.ZodNullable<z.ZodString>;
19980
19979
  defaultProjectId: z.ZodNullable<z.ZodString>;
19981
19980
  defaultAgentId: z.ZodNullable<z.ZodString>;
19981
+ enabled: z.ZodBoolean;
19982
19982
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
19983
19983
  type: z.ZodLiteral<"web_client">;
19984
19984
  webClient: z.ZodObject<{
@@ -19999,10 +19999,12 @@ declare const AppApiInsertSchema: z.ZodObject<{
19999
19999
  }>;
20000
20000
  name: z.ZodString;
20001
20001
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20002
- tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20003
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20004
20002
  createdAt: z.ZodOptional<z.ZodString>;
20005
20003
  updatedAt: z.ZodOptional<z.ZodString>;
20004
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20005
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20006
+ defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20007
+ defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20006
20008
  enabled: z.ZodOptional<z.ZodBoolean>;
20007
20009
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
20008
20010
  type: z.ZodLiteral<"web_client">;
@@ -20013,8 +20015,6 @@ declare const AppApiInsertSchema: z.ZodObject<{
20013
20015
  type: z.ZodLiteral<"api">;
20014
20016
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
20015
20017
  }, z.core.$strip>], "type">;
20016
- defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20017
- defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20018
20018
  }, {
20019
20019
  out: {};
20020
20020
  in: {};
@@ -20022,9 +20022,12 @@ declare const AppApiInsertSchema: z.ZodObject<{
20022
20022
  declare const AppApiUpdateSchema: z.ZodObject<{
20023
20023
  name: z.ZodOptional<z.ZodString>;
20024
20024
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20025
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20025
20026
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20026
20027
  projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20027
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20028
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20029
+ defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20030
+ defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20028
20031
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
20029
20032
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
20030
20033
  type: z.ZodLiteral<"web_client">;
@@ -20035,9 +20038,6 @@ declare const AppApiUpdateSchema: z.ZodObject<{
20035
20038
  type: z.ZodLiteral<"api">;
20036
20039
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
20037
20040
  }, z.core.$strip>], "type">>;
20038
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20039
- defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20040
- defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20041
20041
  }, {
20042
20042
  out: {};
20043
20043
  in: {};
@@ -20046,17 +20046,17 @@ declare const AppApiCreationResponseSchema: z.ZodObject<{
20046
20046
  data: z.ZodObject<{
20047
20047
  app: z.ZodObject<{
20048
20048
  type: z.ZodString;
20049
- id: z.ZodString;
20050
20049
  name: z.ZodString;
20051
20050
  description: z.ZodNullable<z.ZodString>;
20052
- tenantId: z.ZodNullable<z.ZodString>;
20053
- projectId: z.ZodNullable<z.ZodString>;
20051
+ id: z.ZodString;
20054
20052
  createdAt: z.ZodString;
20055
20053
  updatedAt: z.ZodString;
20056
- enabled: z.ZodBoolean;
20054
+ tenantId: z.ZodNullable<z.ZodString>;
20055
+ projectId: z.ZodNullable<z.ZodString>;
20057
20056
  lastUsedAt: z.ZodNullable<z.ZodString>;
20058
20057
  defaultProjectId: z.ZodNullable<z.ZodString>;
20059
20058
  defaultAgentId: z.ZodNullable<z.ZodString>;
20059
+ enabled: z.ZodBoolean;
20060
20060
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
20061
20061
  type: z.ZodLiteral<"web_client">;
20062
20062
  webClient: z.ZodObject<{
@@ -20525,13 +20525,13 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
20525
20525
  }, undefined>, undefined>;
20526
20526
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
20527
20527
  type: z.ZodString;
20528
- id: z.ZodString;
20529
20528
  name: z.ZodString;
20529
+ id: z.ZodString;
20530
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20530
20531
  tenantId: z.ZodString;
20531
20532
  projectId: z.ZodString;
20532
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20533
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20534
20533
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20534
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20535
20535
  credentialStoreId: z.ZodString;
20536
20536
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20537
20537
  }, {
@@ -20540,13 +20540,13 @@ declare const CredentialReferenceInsertSchema: z.ZodObject<{
20540
20540
  }>;
20541
20541
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
20542
20542
  type: z.ZodOptional<z.ZodString>;
20543
- id: z.ZodOptional<z.ZodString>;
20544
20543
  name: z.ZodOptional<z.ZodString>;
20544
+ id: z.ZodOptional<z.ZodString>;
20545
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20545
20546
  tenantId: z.ZodOptional<z.ZodString>;
20546
20547
  projectId: z.ZodOptional<z.ZodString>;
20547
- toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20548
- userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20549
20548
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20549
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20550
20550
  credentialStoreId: z.ZodOptional<z.ZodString>;
20551
20551
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
20552
20552
  }, {
@@ -20554,13 +20554,13 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
20554
20554
  in: {};
20555
20555
  }>;
20556
20556
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20557
- id: z.ZodString;
20558
20557
  name: z.ZodString;
20558
+ id: z.ZodString;
20559
20559
  createdAt: z.ZodString;
20560
20560
  updatedAt: z.ZodString;
20561
- toolId: z.ZodNullable<z.ZodString>;
20562
20561
  userId: z.ZodNullable<z.ZodString>;
20563
20562
  createdBy: z.ZodNullable<z.ZodString>;
20563
+ toolId: z.ZodNullable<z.ZodString>;
20564
20564
  credentialStoreId: z.ZodString;
20565
20565
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
20566
20566
  type: z.ZodEnum<{
@@ -21145,11 +21145,11 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
21145
21145
  }>>>;
21146
21146
  }, z.core.$strip>;
21147
21147
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21148
- id: z.ZodString;
21149
21148
  name: z.ZodString;
21150
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21149
+ id: z.ZodString;
21151
21150
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21152
21151
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21152
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21153
21153
  credentialStoreId: z.ZodString;
21154
21154
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21155
21155
  type: z.ZodEnum<{
@@ -21159,11 +21159,11 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21159
21159
  }>;
21160
21160
  }, z.core.$strip>;
21161
21161
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
21162
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21163
21162
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21164
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21163
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21165
21164
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21166
21165
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21166
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21167
21167
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21168
21168
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
21169
21169
  type: z.ZodOptional<z.ZodEnum<{
@@ -21227,12 +21227,11 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
21227
21227
  error_description: z.ZodOptional<z.ZodString>;
21228
21228
  }, z.core.$strip>;
21229
21229
  declare const McpToolSchema: z.ZodObject<{
21230
- id: z.ZodString;
21231
21230
  name: z.ZodString;
21232
21231
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21232
+ id: z.ZodString;
21233
21233
  tenantId: z.ZodString;
21234
21234
  projectId: z.ZodString;
21235
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21236
21235
  config: z.ZodObject<{
21237
21236
  type: z.ZodLiteral<"mcp">;
21238
21237
  mcp: z.ZodObject<{
@@ -21259,6 +21258,7 @@ declare const McpToolSchema: z.ZodObject<{
21259
21258
  prompt: z.ZodOptional<z.ZodString>;
21260
21259
  }, z.core.$strip>;
21261
21260
  }, z.core.$strip>;
21261
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21262
21262
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21263
21263
  credentialScope: z.ZodOptional<z.ZodString>;
21264
21264
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -21271,9 +21271,9 @@ declare const McpToolSchema: z.ZodObject<{
21271
21271
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
21272
21272
  }, z.core.$strip>>>;
21273
21273
  status: z.ZodDefault<z.ZodEnum<{
21274
- unknown: "unknown";
21275
21274
  healthy: "healthy";
21276
21275
  unhealthy: "unhealthy";
21276
+ unknown: "unknown";
21277
21277
  needs_auth: "needs_auth";
21278
21278
  unavailable: "unavailable";
21279
21279
  }>>;
@@ -21286,11 +21286,11 @@ declare const McpToolSchema: z.ZodObject<{
21286
21286
  in: {};
21287
21287
  }>;
21288
21288
  declare const MCPToolConfigSchema: z.ZodObject<{
21289
- id: z.ZodString;
21290
21289
  name: z.ZodString;
21291
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21290
+ id: z.ZodString;
21292
21291
  expiresAt: z.ZodOptional<z.ZodString>;
21293
21292
  createdBy: z.ZodOptional<z.ZodString>;
21293
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21294
21294
  credentialScope: z.ZodOptional<z.ZodString>;
21295
21295
  imageUrl: z.ZodOptional<z.ZodString>;
21296
21296
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -21322,11 +21322,11 @@ declare const MCPToolConfigSchema: z.ZodObject<{
21322
21322
  sessionId: z.ZodOptional<z.ZodString>;
21323
21323
  }, z.core.$strip>>;
21324
21324
  credential: z.ZodOptional<z.ZodObject<{
21325
- id: z.ZodString;
21326
21325
  name: z.ZodString;
21327
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21326
+ id: z.ZodString;
21328
21327
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21329
21328
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21329
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21330
21330
  credentialStoreId: z.ZodString;
21331
21331
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21332
21332
  type: z.ZodEnum<{
@@ -21347,12 +21347,11 @@ declare const MCPToolConfigSchema: z.ZodObject<{
21347
21347
  in: {};
21348
21348
  }>;
21349
21349
  declare const ToolUpdateSchema: z.ZodObject<{
21350
- id: z.ZodOptional<z.ZodString>;
21351
21350
  name: z.ZodOptional<z.ZodString>;
21352
21351
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21352
+ id: z.ZodOptional<z.ZodString>;
21353
21353
  tenantId: z.ZodOptional<z.ZodString>;
21354
21354
  projectId: z.ZodOptional<z.ZodString>;
21355
- headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
21356
21355
  config: z.ZodOptional<z.ZodObject<{
21357
21356
  type: z.ZodLiteral<"mcp">;
21358
21357
  mcp: z.ZodObject<{
@@ -21379,6 +21378,7 @@ declare const ToolUpdateSchema: z.ZodObject<{
21379
21378
  prompt: z.ZodOptional<z.ZodString>;
21380
21379
  }, z.core.$strip>;
21381
21380
  }, z.core.$strip>>;
21381
+ headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
21382
21382
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21383
21383
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21384
21384
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -21419,12 +21419,11 @@ declare const ToolApiSelectSchema: z.ZodObject<OmitProjectScope<{
21419
21419
  id: z.ZodString;
21420
21420
  }>, z.core.$strip>;
21421
21421
  declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
21422
- id: z.ZodString;
21423
21422
  name: z.ZodString;
21424
21423
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21424
+ id: z.ZodString;
21425
21425
  tenantId: z.ZodString;
21426
21426
  projectId: z.ZodString;
21427
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21428
21427
  config: z.ZodObject<{
21429
21428
  type: z.ZodLiteral<"mcp">;
21430
21429
  mcp: z.ZodObject<{
@@ -21451,6 +21450,7 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
21451
21450
  prompt: z.ZodOptional<z.ZodString>;
21452
21451
  }, z.core.$strip>;
21453
21452
  }, z.core.$strip>;
21453
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21454
21454
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21455
21455
  credentialScope: z.ZodOptional<z.ZodString>;
21456
21456
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -21459,10 +21459,9 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
21459
21459
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
21460
21460
  }>, z.core.$strip>;
21461
21461
  declare const ToolApiUpdateSchema: z.ZodObject<{
21462
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21463
21462
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21464
21463
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21465
- 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>>>>>>>;
21464
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21466
21465
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
21467
21466
  type: z.ZodLiteral<"mcp">;
21468
21467
  mcp: z.ZodObject<{
@@ -21489,6 +21488,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
21489
21488
  prompt: z.ZodOptional<z.ZodString>;
21490
21489
  }, z.core.$strip>;
21491
21490
  }, z.core.$strip>>>;
21491
+ 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>>>>>>>;
21492
21492
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21493
21493
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21494
21494
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -21830,9 +21830,9 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
21830
21830
  }>;
21831
21831
  }, undefined>, undefined>;
21832
21832
  declare const FunctionToolInsertSchema: z.ZodObject<{
21833
- id: z.ZodString;
21834
21833
  name: z.ZodString;
21835
21834
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21835
+ id: z.ZodString;
21836
21836
  tenantId: z.ZodString;
21837
21837
  projectId: z.ZodString;
21838
21838
  agentId: z.ZodString;
@@ -21842,9 +21842,9 @@ declare const FunctionToolInsertSchema: z.ZodObject<{
21842
21842
  in: {};
21843
21843
  }>;
21844
21844
  declare const FunctionToolUpdateSchema: z.ZodObject<{
21845
- id: z.ZodOptional<z.ZodString>;
21846
21845
  name: z.ZodOptional<z.ZodString>;
21847
21846
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21847
+ id: z.ZodOptional<z.ZodString>;
21848
21848
  tenantId: z.ZodOptional<z.ZodString>;
21849
21849
  projectId: z.ZodOptional<z.ZodString>;
21850
21850
  agentId: z.ZodOptional<z.ZodString>;
@@ -21854,28 +21854,28 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21854
21854
  in: {};
21855
21855
  }>;
21856
21856
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21857
- id: z.ZodString;
21858
21857
  name: z.ZodString;
21859
21858
  description: z.ZodNullable<z.ZodString>;
21860
- agentId: z.ZodString;
21859
+ id: z.ZodString;
21861
21860
  createdAt: z.ZodString;
21862
21861
  updatedAt: z.ZodString;
21862
+ agentId: z.ZodString;
21863
21863
  functionId: z.ZodString;
21864
21864
  relationshipId: z.ZodOptional<z.ZodString>;
21865
21865
  }, z.core.$strip>;
21866
21866
  declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21867
- id: z.ZodString;
21868
21867
  name: z.ZodString;
21869
21868
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21869
+ id: z.ZodString;
21870
21870
  tenantId: z.ZodString;
21871
21871
  projectId: z.ZodString;
21872
21872
  agentId: z.ZodString;
21873
21873
  functionId: z.ZodString;
21874
21874
  }>, z.core.$strip>;
21875
21875
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21876
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21877
21876
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21878
21877
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21878
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21879
21879
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21880
21880
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21881
21881
  }, z.core.$strip>;
@@ -22250,9 +22250,9 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
22250
22250
  id: z.ZodString;
22251
22251
  }>, z.core.$strip>;
22252
22252
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
22253
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22254
22253
  subAgentId: z.ZodString;
22255
22254
  functionToolId: z.ZodString;
22255
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22256
22256
  }, {
22257
22257
  out: {};
22258
22258
  in: {};
@@ -22642,11 +22642,11 @@ declare const FetchDefinitionSchema: z.ZodObject<{
22642
22642
  responseSchema: z.ZodOptional<z.ZodAny>;
22643
22643
  defaultValue: z.ZodOptional<z.ZodAny>;
22644
22644
  credential: z.ZodOptional<z.ZodObject<{
22645
- id: z.ZodString;
22646
22645
  name: z.ZodString;
22647
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22646
+ id: z.ZodString;
22648
22647
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22649
22648
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22649
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22650
22650
  credentialStoreId: z.ZodString;
22651
22651
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22652
22652
  type: z.ZodEnum<{
@@ -23197,12 +23197,12 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
23197
23197
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23198
23198
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23199
23199
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23200
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23200
23201
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23201
23202
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23202
23203
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23203
23204
  needsApproval: z.ZodOptional<z.ZodBoolean>;
23204
23205
  }, z.core.$strip>>>>>>;
23205
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23206
23206
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
23207
23207
  }, z.core.$strip>;
23208
23208
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -23591,9 +23591,9 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
23591
23591
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23592
23592
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23593
23593
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23594
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23594
23595
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23595
23596
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23596
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23597
23597
  }, z.core.$strip>;
23598
23598
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
23599
23599
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -23981,8 +23981,8 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23981
23981
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23982
23982
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23983
23983
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23984
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23985
23984
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23985
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23986
23986
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23987
23987
  }, z.core.$strip>;
23988
23988
  declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -25326,7 +25326,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
25326
25326
  }, {}, {
25327
25327
  length: 256;
25328
25328
  }>;
25329
- }, "type" | "id" | "name" | "description" | "tenantId" | "projectId" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "toolCallId" | "contextId" | "visibility" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
25329
+ }, "type" | "name" | "description" | "id" | "createdAt" | "updatedAt" | "metadata" | "tenantId" | "projectId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
25330
25330
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
25331
25331
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25332
25332
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -25392,16 +25392,16 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
25392
25392
  }>, z.core.$strip>;
25393
25393
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
25394
25394
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25395
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25396
25395
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25397
25396
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25397
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25398
25398
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25399
25399
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25400
25400
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
25401
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25402
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25403
25401
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25404
25402
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25403
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25404
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25405
25405
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
25406
25406
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25407
25407
  mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
@@ -25471,9 +25471,11 @@ declare const TeamAgentSchema: z.ZodObject<{
25471
25471
  description: z.ZodString;
25472
25472
  }, z.core.$strip>;
25473
25473
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
25474
- id: z.ZodString;
25475
25474
  name: z.ZodString;
25476
25475
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25476
+ id: z.ZodString;
25477
+ createdAt: z.ZodOptional<z.ZodString>;
25478
+ updatedAt: z.ZodOptional<z.ZodString>;
25477
25479
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25478
25480
  models: z.ZodOptional<z.ZodObject<{
25479
25481
  base: z.ZodOptional<z.ZodObject<{
@@ -25489,8 +25491,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25489
25491
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25490
25492
  }, z.core.$strip>>;
25491
25493
  }, z.core.$strip>>;
25492
- createdAt: z.ZodOptional<z.ZodString>;
25493
- updatedAt: z.ZodOptional<z.ZodString>;
25494
25494
  type: z.ZodLiteral<"internal">;
25495
25495
  canUse: z.ZodArray<z.ZodObject<{
25496
25496
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25524,15 +25524,17 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25524
25524
  }, z.core.$strip>>;
25525
25525
  }, z.core.$strip>;
25526
25526
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25527
- id: z.ZodString;
25528
25527
  name: z.ZodString;
25529
25528
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25530
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25529
+ id: z.ZodString;
25531
25530
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25531
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25532
25532
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25533
- id: z.ZodString;
25534
25533
  name: z.ZodString;
25535
25534
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25535
+ id: z.ZodString;
25536
+ createdAt: z.ZodOptional<z.ZodString>;
25537
+ updatedAt: z.ZodOptional<z.ZodString>;
25536
25538
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25537
25539
  models: z.ZodOptional<z.ZodObject<{
25538
25540
  base: z.ZodOptional<z.ZodObject<{
@@ -25548,8 +25550,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25548
25550
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25549
25551
  }, z.core.$strip>>;
25550
25552
  }, z.core.$strip>>;
25551
- createdAt: z.ZodOptional<z.ZodString>;
25552
- updatedAt: z.ZodOptional<z.ZodString>;
25553
25553
  type: z.ZodLiteral<"internal">;
25554
25554
  canUse: z.ZodArray<z.ZodObject<{
25555
25555
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25583,12 +25583,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25583
25583
  }, z.core.$strip>>;
25584
25584
  }, z.core.$strip>>;
25585
25585
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25586
- id: z.ZodString;
25587
25586
  name: z.ZodString;
25588
25587
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25588
+ id: z.ZodString;
25589
25589
  tenantId: z.ZodString;
25590
25590
  projectId: z.ZodString;
25591
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
25592
25591
  config: z.ZodObject<{
25593
25592
  type: z.ZodLiteral<"mcp">;
25594
25593
  mcp: z.ZodObject<{
@@ -25615,6 +25614,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25615
25614
  prompt: z.ZodOptional<z.ZodString>;
25616
25615
  }, z.core.$strip>;
25617
25616
  }, z.core.$strip>;
25617
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
25618
25618
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25619
25619
  credentialScope: z.ZodOptional<z.ZodString>;
25620
25620
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -25623,9 +25623,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25623
25623
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
25624
25624
  }>, z.core.$strip>>>;
25625
25625
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25626
- id: z.ZodString;
25627
25626
  name: z.ZodString;
25628
25627
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25628
+ id: z.ZodString;
25629
25629
  tenantId: z.ZodString;
25630
25630
  projectId: z.ZodString;
25631
25631
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25637,9 +25637,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25637
25637
  description: z.ZodString;
25638
25638
  }, z.core.$strip>>>;
25639
25639
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
25640
- id: z.ZodString;
25641
25640
  name: z.ZodString;
25642
25641
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25642
+ id: z.ZodString;
25643
25643
  tenantId: z.ZodString;
25644
25644
  projectId: z.ZodString;
25645
25645
  agentId: z.ZodString;
@@ -25652,9 +25652,10 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25652
25652
  executeCode: z.ZodString;
25653
25653
  }, z.core.$strip>>>;
25654
25654
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25655
- id: z.ZodOptional<z.ZodString>;
25656
25655
  name: z.ZodString;
25657
25656
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25657
+ id: z.ZodOptional<z.ZodString>;
25658
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25658
25659
  enabled: z.ZodOptional<z.ZodBoolean>;
25659
25660
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25660
25661
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -25663,15 +25664,14 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25663
25664
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25664
25665
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25665
25666
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25666
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25667
25667
  }, z.core.$strip>>>;
25668
25668
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25669
25669
  name: z.ZodString;
25670
25670
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25671
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25671
25672
  enabled: z.ZodOptional<z.ZodBoolean>;
25672
25673
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25673
25674
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25674
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25675
25675
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25676
25676
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25677
25677
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25780,10 +25780,14 @@ declare const ProjectSelectSchema: z.ZodObject<{
25780
25780
  in: {};
25781
25781
  }>;
25782
25782
  declare const ProjectInsertSchema: z.ZodObject<{
25783
- id: z.ZodString;
25784
25783
  name: z.ZodString;
25785
25784
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25785
+ id: z.ZodString;
25786
25786
  tenantId: z.ZodString;
25787
+ stopWhen: z.ZodOptional<z.ZodObject<{
25788
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25789
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25790
+ }, z.core.$strip>>;
25787
25791
  models: z.ZodObject<{
25788
25792
  base: z.ZodObject<{
25789
25793
  model: z.ZodOptional<z.ZodString>;
@@ -25798,10 +25802,6 @@ declare const ProjectInsertSchema: z.ZodObject<{
25798
25802
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25799
25803
  }, z.core.$strip>>;
25800
25804
  }, z.core.$strip>;
25801
- stopWhen: z.ZodOptional<z.ZodObject<{
25802
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25803
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25804
- }, z.core.$strip>>;
25805
25805
  }, {
25806
25806
  out: {};
25807
25807
  in: {};
@@ -25809,6 +25809,10 @@ declare const ProjectInsertSchema: z.ZodObject<{
25809
25809
  declare const ProjectUpdateSchema: z.ZodObject<{
25810
25810
  name: z.ZodOptional<z.ZodString>;
25811
25811
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25812
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
25813
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25814
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25815
+ }, z.core.$strip>>>;
25812
25816
  models: z.ZodOptional<z.ZodObject<{
25813
25817
  base: z.ZodObject<{
25814
25818
  model: z.ZodOptional<z.ZodString>;
@@ -25823,18 +25827,20 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25823
25827
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25824
25828
  }, z.core.$strip>>;
25825
25829
  }, z.core.$strip>>;
25826
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
25827
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25828
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25829
- }, z.core.$strip>>>;
25830
25830
  }, {
25831
25831
  out: {};
25832
25832
  in: {};
25833
25833
  }>;
25834
25834
  declare const ProjectApiSelectSchema: z.ZodObject<{
25835
- id: z.ZodString;
25836
25835
  name: z.ZodString;
25837
25836
  description: z.ZodNullable<z.ZodString>;
25837
+ id: z.ZodString;
25838
+ createdAt: z.ZodString;
25839
+ updatedAt: z.ZodString;
25840
+ stopWhen: z.ZodNullable<z.ZodObject<{
25841
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25842
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25843
+ }, z.core.$strip>>;
25838
25844
  models: z.ZodNullable<z.ZodObject<{
25839
25845
  base: z.ZodObject<{
25840
25846
  model: z.ZodOptional<z.ZodString>;
@@ -25849,20 +25855,18 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25849
25855
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25850
25856
  }, z.core.$strip>>;
25851
25857
  }, z.core.$strip>>;
25852
- stopWhen: z.ZodNullable<z.ZodObject<{
25853
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25854
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25855
- }, z.core.$strip>>;
25856
- createdAt: z.ZodString;
25857
- updatedAt: z.ZodString;
25858
25858
  }, {
25859
25859
  out: {};
25860
25860
  in: {};
25861
25861
  }>;
25862
25862
  declare const ProjectApiInsertSchema: z.ZodObject<{
25863
- id: z.ZodString;
25864
25863
  name: z.ZodString;
25865
25864
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25865
+ id: z.ZodString;
25866
+ stopWhen: z.ZodOptional<z.ZodObject<{
25867
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25868
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25869
+ }, z.core.$strip>>;
25866
25870
  models: z.ZodObject<{
25867
25871
  base: z.ZodObject<{
25868
25872
  model: z.ZodOptional<z.ZodString>;
@@ -25877,10 +25881,6 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
25877
25881
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25878
25882
  }, z.core.$strip>>;
25879
25883
  }, z.core.$strip>;
25880
- stopWhen: z.ZodOptional<z.ZodObject<{
25881
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25882
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25883
- }, z.core.$strip>>;
25884
25884
  }, {
25885
25885
  out: {};
25886
25886
  in: {};
@@ -25888,6 +25888,10 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
25888
25888
  declare const ProjectApiUpdateSchema: z.ZodObject<{
25889
25889
  name: z.ZodOptional<z.ZodString>;
25890
25890
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25891
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
25892
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25893
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25894
+ }, z.core.$strip>>>;
25891
25895
  models: z.ZodOptional<z.ZodObject<{
25892
25896
  base: z.ZodObject<{
25893
25897
  model: z.ZodOptional<z.ZodString>;
@@ -25902,18 +25906,18 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
25902
25906
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25903
25907
  }, z.core.$strip>>;
25904
25908
  }, z.core.$strip>>;
25905
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
25906
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25907
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25908
- }, z.core.$strip>>>;
25909
25909
  }, {
25910
25910
  out: {};
25911
25911
  in: {};
25912
25912
  }>;
25913
25913
  declare const FullProjectDefinitionSchema: z.ZodObject<{
25914
- id: z.ZodString;
25915
25914
  name: z.ZodString;
25916
25915
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25916
+ id: z.ZodString;
25917
+ stopWhen: z.ZodOptional<z.ZodObject<{
25918
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25919
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25920
+ }, z.core.$strip>>;
25917
25921
  models: z.ZodObject<{
25918
25922
  base: z.ZodObject<{
25919
25923
  model: z.ZodOptional<z.ZodString>;
@@ -25928,20 +25932,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25928
25932
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25929
25933
  }, z.core.$strip>>;
25930
25934
  }, z.core.$strip>;
25931
- stopWhen: z.ZodOptional<z.ZodObject<{
25932
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25933
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25934
- }, z.core.$strip>>;
25935
25935
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25936
- id: z.ZodString;
25937
25936
  name: z.ZodString;
25938
25937
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25939
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25938
+ id: z.ZodString;
25940
25939
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25940
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25941
25941
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25942
- id: z.ZodString;
25943
25942
  name: z.ZodString;
25944
25943
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25944
+ id: z.ZodString;
25945
+ createdAt: z.ZodOptional<z.ZodString>;
25946
+ updatedAt: z.ZodOptional<z.ZodString>;
25945
25947
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25946
25948
  models: z.ZodOptional<z.ZodObject<{
25947
25949
  base: z.ZodOptional<z.ZodObject<{
@@ -25957,8 +25959,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25957
25959
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25958
25960
  }, z.core.$strip>>;
25959
25961
  }, z.core.$strip>>;
25960
- createdAt: z.ZodOptional<z.ZodString>;
25961
- updatedAt: z.ZodOptional<z.ZodString>;
25962
25962
  type: z.ZodLiteral<"internal">;
25963
25963
  canUse: z.ZodArray<z.ZodObject<{
25964
25964
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25992,12 +25992,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25992
25992
  }, z.core.$strip>>;
25993
25993
  }, z.core.$strip>>;
25994
25994
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25995
- id: z.ZodString;
25996
25995
  name: z.ZodString;
25997
25996
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25997
+ id: z.ZodString;
25998
25998
  tenantId: z.ZodString;
25999
25999
  projectId: z.ZodString;
26000
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26001
26000
  config: z.ZodObject<{
26002
26001
  type: z.ZodLiteral<"mcp">;
26003
26002
  mcp: z.ZodObject<{
@@ -26024,6 +26023,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26024
26023
  prompt: z.ZodOptional<z.ZodString>;
26025
26024
  }, z.core.$strip>;
26026
26025
  }, z.core.$strip>;
26026
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26027
26027
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26028
26028
  credentialScope: z.ZodOptional<z.ZodString>;
26029
26029
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -26032,9 +26032,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26032
26032
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
26033
26033
  }>, z.core.$strip>>>;
26034
26034
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26035
- id: z.ZodString;
26036
26035
  name: z.ZodString;
26037
26036
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26037
+ id: z.ZodString;
26038
26038
  tenantId: z.ZodString;
26039
26039
  projectId: z.ZodString;
26040
26040
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26046,9 +26046,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26046
26046
  description: z.ZodString;
26047
26047
  }, z.core.$strip>>>;
26048
26048
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
26049
- id: z.ZodString;
26050
26049
  name: z.ZodString;
26051
26050
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26051
+ id: z.ZodString;
26052
26052
  tenantId: z.ZodString;
26053
26053
  projectId: z.ZodString;
26054
26054
  agentId: z.ZodString;
@@ -26061,9 +26061,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26061
26061
  executeCode: z.ZodString;
26062
26062
  }, z.core.$strip>>>;
26063
26063
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26064
- id: z.ZodOptional<z.ZodString>;
26065
26064
  name: z.ZodString;
26066
26065
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26066
+ id: z.ZodOptional<z.ZodString>;
26067
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26067
26068
  enabled: z.ZodOptional<z.ZodBoolean>;
26068
26069
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26069
26070
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -26072,15 +26073,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26072
26073
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26073
26074
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26074
26075
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26075
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26076
26076
  }, z.core.$strip>>>;
26077
26077
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26078
26078
  name: z.ZodString;
26079
26079
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26080
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26080
26081
  enabled: z.ZodOptional<z.ZodBoolean>;
26081
26082
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26082
26083
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26083
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26084
26084
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26085
26085
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26086
26086
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26130,12 +26130,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26130
26130
  prompt: z.ZodOptional<z.ZodString>;
26131
26131
  }, z.core.$strip>>;
26132
26132
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26133
- id: z.ZodString;
26134
26133
  name: z.ZodString;
26135
26134
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26135
+ id: z.ZodString;
26136
26136
  tenantId: z.ZodString;
26137
26137
  projectId: z.ZodString;
26138
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26139
26138
  config: z.ZodObject<{
26140
26139
  type: z.ZodLiteral<"mcp">;
26141
26140
  mcp: z.ZodObject<{
@@ -26162,6 +26161,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26162
26161
  prompt: z.ZodOptional<z.ZodString>;
26163
26162
  }, z.core.$strip>;
26164
26163
  }, z.core.$strip>;
26164
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26165
26165
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26166
26166
  credentialScope: z.ZodOptional<z.ZodString>;
26167
26167
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -26170,9 +26170,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26170
26170
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
26171
26171
  }>, z.core.$strip>>;
26172
26172
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
26173
- id: z.ZodString;
26174
26173
  name: z.ZodString;
26175
26174
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26175
+ id: z.ZodString;
26176
26176
  tenantId: z.ZodString;
26177
26177
  projectId: z.ZodString;
26178
26178
  agentId: z.ZodString;
@@ -26187,10 +26187,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26187
26187
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26188
26188
  name: z.ZodString;
26189
26189
  description: z.ZodString;
26190
- tenantId: z.ZodString;
26191
- projectId: z.ZodString;
26192
26190
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
26193
26191
  content: z.ZodString;
26192
+ tenantId: z.ZodString;
26193
+ projectId: z.ZodString;
26194
26194
  }>, z.core.$strip>>>;
26195
26195
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26196
26196
  id: z.ZodString;
@@ -26246,9 +26246,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26246
26246
  in: {};
26247
26247
  }>>>;
26248
26248
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26249
- id: z.ZodString;
26250
26249
  name: z.ZodString;
26251
26250
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26251
+ id: z.ZodString;
26252
26252
  tenantId: z.ZodString;
26253
26253
  projectId: z.ZodString;
26254
26254
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26270,11 +26270,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26270
26270
  }, z.core.$strip>>>;
26271
26271
  }, z.core.$strip>>;
26272
26272
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26273
- id: z.ZodString;
26274
26273
  name: z.ZodString;
26275
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26274
+ id: z.ZodString;
26276
26275
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26277
26276
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26277
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26278
26278
  credentialStoreId: z.ZodString;
26279
26279
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26280
26280
  type: z.ZodEnum<{
@@ -26290,9 +26290,20 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26290
26290
  in: {};
26291
26291
  }>;
26292
26292
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26293
- id: z.ZodString;
26294
26293
  name: z.ZodString;
26295
26294
  description: z.ZodNullable<z.ZodString>;
26295
+ id: z.ZodString;
26296
+ createdAt: z.ZodString;
26297
+ updatedAt: z.ZodString;
26298
+ stopWhen: z.ZodNullable<z.ZodType<{
26299
+ stepCountIs?: number | undefined;
26300
+ }, {
26301
+ stepCountIs?: number | undefined;
26302
+ }, z.core.$ZodTypeInternals<{
26303
+ stepCountIs?: number | undefined;
26304
+ }, {
26305
+ stepCountIs?: number | undefined;
26306
+ }>>>;
26296
26307
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26297
26308
  models: z.ZodNullable<z.ZodType<{
26298
26309
  base?: {
@@ -26347,17 +26358,6 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26347
26358
  providerOptions?: Record<string, any> | undefined;
26348
26359
  } | undefined;
26349
26360
  }>>>;
26350
- stopWhen: z.ZodNullable<z.ZodType<{
26351
- stepCountIs?: number | undefined;
26352
- }, {
26353
- stepCountIs?: number | undefined;
26354
- }, z.core.$ZodTypeInternals<{
26355
- stepCountIs?: number | undefined;
26356
- }, {
26357
- stepCountIs?: number | undefined;
26358
- }>>>;
26359
- createdAt: z.ZodString;
26360
- updatedAt: z.ZodString;
26361
26361
  type: z.ZodLiteral<"internal">;
26362
26362
  canUse: z.ZodArray<z.ZodObject<{
26363
26363
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26383,9 +26383,20 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26383
26383
  }, z.core.$strip>]>>>;
26384
26384
  }, z.core.$strip>;
26385
26385
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26386
- id: z.ZodString;
26387
26386
  name: z.ZodString;
26388
26387
  description: z.ZodNullable<z.ZodString>;
26388
+ id: z.ZodString;
26389
+ createdAt: z.ZodString;
26390
+ updatedAt: z.ZodString;
26391
+ stopWhen: z.ZodNullable<z.ZodType<{
26392
+ stepCountIs?: number | undefined;
26393
+ }, {
26394
+ stepCountIs?: number | undefined;
26395
+ }, z.core.$ZodTypeInternals<{
26396
+ stepCountIs?: number | undefined;
26397
+ }, {
26398
+ stepCountIs?: number | undefined;
26399
+ }>>>;
26389
26400
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26390
26401
  models: z.ZodNullable<z.ZodType<{
26391
26402
  base?: {
@@ -26440,17 +26451,6 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26440
26451
  providerOptions?: Record<string, any> | undefined;
26441
26452
  } | undefined;
26442
26453
  }>>>;
26443
- stopWhen: z.ZodNullable<z.ZodType<{
26444
- stepCountIs?: number | undefined;
26445
- }, {
26446
- stepCountIs?: number | undefined;
26447
- }, z.core.$ZodTypeInternals<{
26448
- stepCountIs?: number | undefined;
26449
- }, {
26450
- stepCountIs?: number | undefined;
26451
- }>>>;
26452
- createdAt: z.ZodString;
26453
- updatedAt: z.ZodString;
26454
26454
  type: z.ZodLiteral<"internal">;
26455
26455
  canUse: z.ZodArray<z.ZodObject<{
26456
26456
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26482,17 +26482,28 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26482
26482
  }, z.core.$strip>]>>>;
26483
26483
  }, z.core.$strip>;
26484
26484
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26485
- id: z.ZodString;
26486
26485
  name: z.ZodString;
26487
26486
  description: z.ZodNullable<z.ZodString>;
26488
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26487
+ id: z.ZodString;
26489
26488
  createdAt: z.ZodString;
26490
26489
  updatedAt: z.ZodString;
26491
26490
  contextConfigId: z.ZodNullable<z.ZodString>;
26491
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26492
26492
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26493
- id: z.ZodString;
26494
26493
  name: z.ZodString;
26495
26494
  description: z.ZodNullable<z.ZodString>;
26495
+ id: z.ZodString;
26496
+ createdAt: z.ZodString;
26497
+ updatedAt: z.ZodString;
26498
+ stopWhen: z.ZodNullable<z.ZodType<{
26499
+ stepCountIs?: number | undefined;
26500
+ }, {
26501
+ stepCountIs?: number | undefined;
26502
+ }, z.core.$ZodTypeInternals<{
26503
+ stepCountIs?: number | undefined;
26504
+ }, {
26505
+ stepCountIs?: number | undefined;
26506
+ }>>>;
26496
26507
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26497
26508
  models: z.ZodNullable<z.ZodType<{
26498
26509
  base?: {
@@ -26547,17 +26558,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26547
26558
  providerOptions?: Record<string, any> | undefined;
26548
26559
  } | undefined;
26549
26560
  }>>>;
26550
- stopWhen: z.ZodNullable<z.ZodType<{
26551
- stepCountIs?: number | undefined;
26552
- }, {
26553
- stepCountIs?: number | undefined;
26554
- }, z.core.$ZodTypeInternals<{
26555
- stepCountIs?: number | undefined;
26556
- }, {
26557
- stepCountIs?: number | undefined;
26558
- }>>>;
26559
- createdAt: z.ZodString;
26560
- updatedAt: z.ZodString;
26561
26561
  type: z.ZodLiteral<"internal">;
26562
26562
  canUse: z.ZodArray<z.ZodObject<{
26563
26563
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26628,12 +26628,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26628
26628
  description: z.ZodString;
26629
26629
  }, z.core.$strip>>>;
26630
26630
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26631
- id: z.ZodString;
26632
26631
  name: z.ZodString;
26633
26632
  description: z.ZodNullable<z.ZodString>;
26634
- agentId: z.ZodString;
26633
+ id: z.ZodString;
26635
26634
  createdAt: z.ZodString;
26636
26635
  updatedAt: z.ZodString;
26636
+ agentId: z.ZodString;
26637
26637
  functionId: z.ZodString;
26638
26638
  relationshipId: z.ZodOptional<z.ZodString>;
26639
26639
  }, z.core.$strip>>>;
@@ -26710,13 +26710,13 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26710
26710
  prompt: z.ZodNullable<z.ZodString>;
26711
26711
  }, z.core.$strip>;
26712
26712
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26713
- id: z.ZodString;
26714
26713
  name: z.ZodString;
26715
26714
  description: z.ZodNullable<z.ZodString>;
26716
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26715
+ id: z.ZodString;
26717
26716
  createdAt: z.ZodString;
26718
26717
  updatedAt: z.ZodString;
26719
26718
  contextConfigId: z.ZodNullable<z.ZodString>;
26719
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26720
26720
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26721
26721
  createdAt: z.ZodString;
26722
26722
  updatedAt: z.ZodString;
@@ -26763,12 +26763,12 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26763
26763
  description: z.ZodString;
26764
26764
  }, z.core.$strip>>>;
26765
26765
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26766
- id: z.ZodString;
26767
26766
  name: z.ZodString;
26768
26767
  description: z.ZodNullable<z.ZodString>;
26769
- agentId: z.ZodString;
26768
+ id: z.ZodString;
26770
26769
  createdAt: z.ZodString;
26771
26770
  updatedAt: z.ZodString;
26771
+ agentId: z.ZodString;
26772
26772
  functionId: z.ZodString;
26773
26773
  relationshipId: z.ZodOptional<z.ZodString>;
26774
26774
  }, z.core.$strip>>>;
@@ -26844,9 +26844,20 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26844
26844
  }, z.core.$strip>>;
26845
26845
  prompt: z.ZodNullable<z.ZodString>;
26846
26846
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26847
- id: z.ZodString;
26848
26847
  name: z.ZodString;
26849
26848
  description: z.ZodNullable<z.ZodString>;
26849
+ id: z.ZodString;
26850
+ createdAt: z.ZodString;
26851
+ updatedAt: z.ZodString;
26852
+ stopWhen: z.ZodNullable<z.ZodType<{
26853
+ stepCountIs?: number | undefined;
26854
+ }, {
26855
+ stepCountIs?: number | undefined;
26856
+ }, z.core.$ZodTypeInternals<{
26857
+ stepCountIs?: number | undefined;
26858
+ }, {
26859
+ stepCountIs?: number | undefined;
26860
+ }>>>;
26850
26861
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26851
26862
  models: z.ZodNullable<z.ZodType<{
26852
26863
  base?: {
@@ -26901,17 +26912,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26901
26912
  providerOptions?: Record<string, any> | undefined;
26902
26913
  } | undefined;
26903
26914
  }>>>;
26904
- stopWhen: z.ZodNullable<z.ZodType<{
26905
- stepCountIs?: number | undefined;
26906
- }, {
26907
- stepCountIs?: number | undefined;
26908
- }, z.core.$ZodTypeInternals<{
26909
- stepCountIs?: number | undefined;
26910
- }, {
26911
- stepCountIs?: number | undefined;
26912
- }>>>;
26913
- createdAt: z.ZodString;
26914
- updatedAt: z.ZodString;
26915
26915
  type: z.ZodLiteral<"internal">;
26916
26916
  canUse: z.ZodArray<z.ZodObject<{
26917
26917
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26944,9 +26944,15 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26944
26944
  }, z.core.$strip>>;
26945
26945
  }, z.core.$strip>;
26946
26946
  declare const FullProjectSelectSchema: z.ZodObject<{
26947
- id: z.ZodString;
26948
26947
  name: z.ZodString;
26949
26948
  description: z.ZodNullable<z.ZodString>;
26949
+ id: z.ZodString;
26950
+ createdAt: z.ZodString;
26951
+ updatedAt: z.ZodString;
26952
+ stopWhen: z.ZodNullable<z.ZodObject<{
26953
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
26954
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
26955
+ }, z.core.$strip>>;
26950
26956
  models: z.ZodNullable<z.ZodObject<{
26951
26957
  base: z.ZodObject<{
26952
26958
  model: z.ZodOptional<z.ZodString>;
@@ -26961,24 +26967,29 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26961
26967
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26962
26968
  }, z.core.$strip>>;
26963
26969
  }, z.core.$strip>>;
26964
- stopWhen: z.ZodNullable<z.ZodObject<{
26965
- transferCountIs: z.ZodOptional<z.ZodNumber>;
26966
- stepCountIs: z.ZodOptional<z.ZodNumber>;
26967
- }, z.core.$strip>>;
26968
- createdAt: z.ZodString;
26969
- updatedAt: z.ZodString;
26970
26970
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26971
- id: z.ZodString;
26972
26971
  name: z.ZodString;
26973
26972
  description: z.ZodNullable<z.ZodString>;
26974
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26973
+ id: z.ZodString;
26975
26974
  createdAt: z.ZodString;
26976
26975
  updatedAt: z.ZodString;
26977
26976
  contextConfigId: z.ZodNullable<z.ZodString>;
26977
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26978
26978
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26979
- id: z.ZodString;
26980
26979
  name: z.ZodString;
26981
26980
  description: z.ZodNullable<z.ZodString>;
26981
+ id: z.ZodString;
26982
+ createdAt: z.ZodString;
26983
+ updatedAt: z.ZodString;
26984
+ stopWhen: z.ZodNullable<z.ZodType<{
26985
+ stepCountIs?: number | undefined;
26986
+ }, {
26987
+ stepCountIs?: number | undefined;
26988
+ }, z.core.$ZodTypeInternals<{
26989
+ stepCountIs?: number | undefined;
26990
+ }, {
26991
+ stepCountIs?: number | undefined;
26992
+ }>>>;
26982
26993
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26983
26994
  models: z.ZodNullable<z.ZodType<{
26984
26995
  base?: {
@@ -27033,17 +27044,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27033
27044
  providerOptions?: Record<string, any> | undefined;
27034
27045
  } | undefined;
27035
27046
  }>>>;
27036
- stopWhen: z.ZodNullable<z.ZodType<{
27037
- stepCountIs?: number | undefined;
27038
- }, {
27039
- stepCountIs?: number | undefined;
27040
- }, z.core.$ZodTypeInternals<{
27041
- stepCountIs?: number | undefined;
27042
- }, {
27043
- stepCountIs?: number | undefined;
27044
- }>>>;
27045
- createdAt: z.ZodString;
27046
- updatedAt: z.ZodString;
27047
27047
  type: z.ZodLiteral<"internal">;
27048
27048
  canUse: z.ZodArray<z.ZodObject<{
27049
27049
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27114,12 +27114,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27114
27114
  description: z.ZodString;
27115
27115
  }, z.core.$strip>>>;
27116
27116
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27117
- id: z.ZodString;
27118
27117
  name: z.ZodString;
27119
27118
  description: z.ZodNullable<z.ZodString>;
27120
- agentId: z.ZodString;
27119
+ id: z.ZodString;
27121
27120
  createdAt: z.ZodString;
27122
27121
  updatedAt: z.ZodString;
27122
+ agentId: z.ZodString;
27123
27123
  functionId: z.ZodString;
27124
27124
  relationshipId: z.ZodOptional<z.ZodString>;
27125
27125
  }, z.core.$strip>>>;
@@ -27225,12 +27225,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27225
27225
  id: z.ZodString;
27226
27226
  }>, z.core.$strip>>;
27227
27227
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27228
- id: z.ZodString;
27229
27228
  name: z.ZodString;
27230
27229
  description: z.ZodNullable<z.ZodString>;
27231
- agentId: z.ZodString;
27230
+ id: z.ZodString;
27232
27231
  createdAt: z.ZodString;
27233
27232
  updatedAt: z.ZodString;
27233
+ agentId: z.ZodString;
27234
27234
  functionId: z.ZodString;
27235
27235
  relationshipId: z.ZodOptional<z.ZodString>;
27236
27236
  }, z.core.$strip>>>;
@@ -27373,13 +27373,13 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27373
27373
  }, z.core.$strip>>>;
27374
27374
  }, z.core.$strip>>;
27375
27375
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27376
- id: z.ZodString;
27377
27376
  name: z.ZodString;
27377
+ id: z.ZodString;
27378
27378
  createdAt: z.ZodString;
27379
27379
  updatedAt: z.ZodString;
27380
- toolId: z.ZodNullable<z.ZodString>;
27381
27380
  userId: z.ZodNullable<z.ZodString>;
27382
27381
  createdBy: z.ZodNullable<z.ZodString>;
27382
+ toolId: z.ZodNullable<z.ZodString>;
27383
27383
  credentialStoreId: z.ZodString;
27384
27384
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27385
27385
  type: z.ZodEnum<{
@@ -27968,9 +27968,15 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27968
27968
  in: {};
27969
27969
  }>;
27970
27970
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27971
- id: z.ZodString;
27972
27971
  name: z.ZodString;
27973
27972
  description: z.ZodNullable<z.ZodString>;
27973
+ id: z.ZodString;
27974
+ createdAt: z.ZodString;
27975
+ updatedAt: z.ZodString;
27976
+ stopWhen: z.ZodNullable<z.ZodObject<{
27977
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
27978
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
27979
+ }, z.core.$strip>>;
27974
27980
  models: z.ZodNullable<z.ZodObject<{
27975
27981
  base: z.ZodObject<{
27976
27982
  model: z.ZodOptional<z.ZodString>;
@@ -27985,12 +27991,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27985
27991
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
27986
27992
  }, z.core.$strip>>;
27987
27993
  }, z.core.$strip>>;
27988
- stopWhen: z.ZodNullable<z.ZodObject<{
27989
- transferCountIs: z.ZodOptional<z.ZodNumber>;
27990
- stepCountIs: z.ZodOptional<z.ZodNumber>;
27991
- }, z.core.$strip>>;
27992
- createdAt: z.ZodString;
27993
- updatedAt: z.ZodString;
27994
27994
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27995
27995
  createdAt: z.ZodString;
27996
27996
  updatedAt: z.ZodString;
@@ -28021,12 +28021,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28021
28021
  id: z.ZodString;
28022
28022
  }>, z.core.$strip>>;
28023
28023
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28024
- id: z.ZodString;
28025
28024
  name: z.ZodString;
28026
28025
  description: z.ZodNullable<z.ZodString>;
28027
- agentId: z.ZodString;
28026
+ id: z.ZodString;
28028
28027
  createdAt: z.ZodString;
28029
28028
  updatedAt: z.ZodString;
28029
+ agentId: z.ZodString;
28030
28030
  functionId: z.ZodString;
28031
28031
  relationshipId: z.ZodOptional<z.ZodString>;
28032
28032
  }, z.core.$strip>>>;
@@ -28169,13 +28169,13 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28169
28169
  }, z.core.$strip>>>;
28170
28170
  }, z.core.$strip>>;
28171
28171
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28172
- id: z.ZodString;
28173
28172
  name: z.ZodString;
28173
+ id: z.ZodString;
28174
28174
  createdAt: z.ZodString;
28175
28175
  updatedAt: z.ZodString;
28176
- toolId: z.ZodNullable<z.ZodString>;
28177
28176
  userId: z.ZodNullable<z.ZodString>;
28178
28177
  createdBy: z.ZodNullable<z.ZodString>;
28178
+ toolId: z.ZodNullable<z.ZodString>;
28179
28179
  credentialStoreId: z.ZodString;
28180
28180
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28181
28181
  type: z.ZodEnum<{
@@ -28760,13 +28760,13 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28760
28760
  }>>>;
28761
28761
  }, z.core.$strip>>>;
28762
28762
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28763
- id: z.ZodString;
28764
28763
  name: z.ZodString;
28765
28764
  description: z.ZodNullable<z.ZodString>;
28766
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28765
+ id: z.ZodString;
28767
28766
  createdAt: z.ZodString;
28768
28767
  updatedAt: z.ZodString;
28769
28768
  contextConfigId: z.ZodNullable<z.ZodString>;
28769
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28770
28770
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28771
28771
  createdAt: z.ZodString;
28772
28772
  updatedAt: z.ZodString;
@@ -28813,12 +28813,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28813
28813
  description: z.ZodString;
28814
28814
  }, z.core.$strip>>>;
28815
28815
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28816
- id: z.ZodString;
28817
28816
  name: z.ZodString;
28818
28817
  description: z.ZodNullable<z.ZodString>;
28819
- agentId: z.ZodString;
28818
+ id: z.ZodString;
28820
28819
  createdAt: z.ZodString;
28821
28820
  updatedAt: z.ZodString;
28821
+ agentId: z.ZodString;
28822
28822
  functionId: z.ZodString;
28823
28823
  relationshipId: z.ZodOptional<z.ZodString>;
28824
28824
  }, z.core.$strip>>>;
@@ -28894,9 +28894,20 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28894
28894
  }, z.core.$strip>>;
28895
28895
  prompt: z.ZodNullable<z.ZodString>;
28896
28896
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28897
- id: z.ZodString;
28898
28897
  name: z.ZodString;
28899
28898
  description: z.ZodNullable<z.ZodString>;
28899
+ id: z.ZodString;
28900
+ createdAt: z.ZodString;
28901
+ updatedAt: z.ZodString;
28902
+ stopWhen: z.ZodNullable<z.ZodType<{
28903
+ stepCountIs?: number | undefined;
28904
+ }, {
28905
+ stepCountIs?: number | undefined;
28906
+ }, z.core.$ZodTypeInternals<{
28907
+ stepCountIs?: number | undefined;
28908
+ }, {
28909
+ stepCountIs?: number | undefined;
28910
+ }>>>;
28900
28911
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28901
28912
  models: z.ZodNullable<z.ZodType<{
28902
28913
  base?: {
@@ -28951,17 +28962,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28951
28962
  providerOptions?: Record<string, any> | undefined;
28952
28963
  } | undefined;
28953
28964
  }>>>;
28954
- stopWhen: z.ZodNullable<z.ZodType<{
28955
- stepCountIs?: number | undefined;
28956
- }, {
28957
- stepCountIs?: number | undefined;
28958
- }, z.core.$ZodTypeInternals<{
28959
- stepCountIs?: number | undefined;
28960
- }, {
28961
- stepCountIs?: number | undefined;
28962
- }>>>;
28963
- createdAt: z.ZodString;
28964
- updatedAt: z.ZodString;
28965
28965
  type: z.ZodLiteral<"internal">;
28966
28966
  canUse: z.ZodArray<z.ZodObject<{
28967
28967
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28999,9 +28999,15 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28999
28999
  }>;
29000
29000
  declare const ProjectResponse: z.ZodObject<{
29001
29001
  data: z.ZodObject<{
29002
- id: z.ZodString;
29003
29002
  name: z.ZodString;
29004
29003
  description: z.ZodNullable<z.ZodString>;
29004
+ id: z.ZodString;
29005
+ createdAt: z.ZodString;
29006
+ updatedAt: z.ZodString;
29007
+ stopWhen: z.ZodNullable<z.ZodObject<{
29008
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
29009
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
29010
+ }, z.core.$strip>>;
29005
29011
  models: z.ZodNullable<z.ZodObject<{
29006
29012
  base: z.ZodObject<{
29007
29013
  model: z.ZodOptional<z.ZodString>;
@@ -29016,12 +29022,6 @@ declare const ProjectResponse: z.ZodObject<{
29016
29022
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
29017
29023
  }, z.core.$strip>>;
29018
29024
  }, z.core.$strip>>;
29019
- stopWhen: z.ZodNullable<z.ZodObject<{
29020
- transferCountIs: z.ZodOptional<z.ZodNumber>;
29021
- stepCountIs: z.ZodOptional<z.ZodNumber>;
29022
- }, z.core.$strip>>;
29023
- createdAt: z.ZodString;
29024
- updatedAt: z.ZodString;
29025
29025
  }, {
29026
29026
  out: {};
29027
29027
  in: {};
@@ -29260,12 +29260,12 @@ declare const ContextConfigResponse: z.ZodObject<{
29260
29260
  }, z.core.$strip>;
29261
29261
  declare const ApiKeyResponse: z.ZodObject<{
29262
29262
  data: z.ZodObject<{
29263
- id: z.ZodString;
29264
29263
  name: z.ZodNullable<z.ZodString>;
29265
- agentId: z.ZodString;
29264
+ id: z.ZodString;
29266
29265
  createdAt: z.ZodString;
29267
29266
  updatedAt: z.ZodString;
29268
29267
  expiresAt: z.ZodNullable<z.ZodString>;
29268
+ agentId: z.ZodString;
29269
29269
  publicId: z.ZodString;
29270
29270
  keyPrefix: z.ZodString;
29271
29271
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -29276,13 +29276,13 @@ declare const ApiKeyResponse: z.ZodObject<{
29276
29276
  }, z.core.$strip>;
29277
29277
  declare const CredentialReferenceResponse: z.ZodObject<{
29278
29278
  data: z.ZodObject<{
29279
- id: z.ZodString;
29280
29279
  name: z.ZodString;
29280
+ id: z.ZodString;
29281
29281
  createdAt: z.ZodString;
29282
29282
  updatedAt: z.ZodString;
29283
- toolId: z.ZodNullable<z.ZodString>;
29284
29283
  userId: z.ZodNullable<z.ZodString>;
29285
29284
  createdBy: z.ZodNullable<z.ZodString>;
29285
+ toolId: z.ZodNullable<z.ZodString>;
29286
29286
  credentialStoreId: z.ZodString;
29287
29287
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29288
29288
  type: z.ZodEnum<{
@@ -29881,12 +29881,12 @@ declare const FunctionResponse: z.ZodObject<{
29881
29881
  }, z.core.$strip>;
29882
29882
  declare const FunctionToolResponse: z.ZodObject<{
29883
29883
  data: z.ZodObject<{
29884
- id: z.ZodString;
29885
29884
  name: z.ZodString;
29886
29885
  description: z.ZodNullable<z.ZodString>;
29887
- agentId: z.ZodString;
29886
+ id: z.ZodString;
29888
29887
  createdAt: z.ZodString;
29889
29888
  updatedAt: z.ZodString;
29889
+ agentId: z.ZodString;
29890
29890
  functionId: z.ZodString;
29891
29891
  relationshipId: z.ZodOptional<z.ZodString>;
29892
29892
  }, z.core.$strip>;
@@ -30069,8 +30069,8 @@ declare const TriggerResponse: z.ZodObject<{
30069
30069
  signature: z.ZodObject<{
30070
30070
  source: z.ZodEnum<{
30071
30071
  query: "query";
30072
- body: "body";
30073
30072
  header: "header";
30073
+ body: "body";
30074
30074
  }>;
30075
30075
  key: z.ZodString;
30076
30076
  prefix: z.ZodOptional<z.ZodString>;
@@ -30078,9 +30078,9 @@ declare const TriggerResponse: z.ZodObject<{
30078
30078
  }, z.core.$strip>;
30079
30079
  signedComponents: z.ZodArray<z.ZodObject<{
30080
30080
  source: z.ZodEnum<{
30081
+ header: "header";
30081
30082
  literal: "literal";
30082
30083
  body: "body";
30083
- header: "header";
30084
30084
  }>;
30085
30085
  key: z.ZodOptional<z.ZodString>;
30086
30086
  value: z.ZodOptional<z.ZodString>;
@@ -30120,9 +30120,15 @@ declare const TriggerInvocationResponse: z.ZodObject<{
30120
30120
  }, z.core.$strip>;
30121
30121
  declare const ProjectListResponse: z.ZodObject<{
30122
30122
  data: z.ZodArray<z.ZodObject<{
30123
- id: z.ZodString;
30124
30123
  name: z.ZodString;
30125
30124
  description: z.ZodNullable<z.ZodString>;
30125
+ id: z.ZodString;
30126
+ createdAt: z.ZodString;
30127
+ updatedAt: z.ZodString;
30128
+ stopWhen: z.ZodNullable<z.ZodObject<{
30129
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
30130
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
30131
+ }, z.core.$strip>>;
30126
30132
  models: z.ZodNullable<z.ZodObject<{
30127
30133
  base: z.ZodObject<{
30128
30134
  model: z.ZodOptional<z.ZodString>;
@@ -30137,12 +30143,6 @@ declare const ProjectListResponse: z.ZodObject<{
30137
30143
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
30138
30144
  }, z.core.$strip>>;
30139
30145
  }, z.core.$strip>>;
30140
- stopWhen: z.ZodNullable<z.ZodObject<{
30141
- transferCountIs: z.ZodOptional<z.ZodNumber>;
30142
- stepCountIs: z.ZodOptional<z.ZodNumber>;
30143
- }, z.core.$strip>>;
30144
- createdAt: z.ZodString;
30145
- updatedAt: z.ZodString;
30146
30146
  }, {
30147
30147
  out: {};
30148
30148
  in: {};
@@ -30411,12 +30411,12 @@ declare const ContextConfigListResponse: z.ZodObject<{
30411
30411
  }, z.core.$strip>;
30412
30412
  declare const ApiKeyListResponse: z.ZodObject<{
30413
30413
  data: z.ZodArray<z.ZodObject<{
30414
- id: z.ZodString;
30415
30414
  name: z.ZodNullable<z.ZodString>;
30416
- agentId: z.ZodString;
30415
+ id: z.ZodString;
30417
30416
  createdAt: z.ZodString;
30418
30417
  updatedAt: z.ZodString;
30419
30418
  expiresAt: z.ZodNullable<z.ZodString>;
30419
+ agentId: z.ZodString;
30420
30420
  publicId: z.ZodString;
30421
30421
  keyPrefix: z.ZodString;
30422
30422
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -30434,17 +30434,17 @@ declare const ApiKeyListResponse: z.ZodObject<{
30434
30434
  declare const AppResponse: z.ZodObject<{
30435
30435
  data: z.ZodObject<{
30436
30436
  type: z.ZodString;
30437
- id: z.ZodString;
30438
30437
  name: z.ZodString;
30439
30438
  description: z.ZodNullable<z.ZodString>;
30440
- tenantId: z.ZodNullable<z.ZodString>;
30441
- projectId: z.ZodNullable<z.ZodString>;
30439
+ id: z.ZodString;
30442
30440
  createdAt: z.ZodString;
30443
30441
  updatedAt: z.ZodString;
30444
- enabled: z.ZodBoolean;
30442
+ tenantId: z.ZodNullable<z.ZodString>;
30443
+ projectId: z.ZodNullable<z.ZodString>;
30445
30444
  lastUsedAt: z.ZodNullable<z.ZodString>;
30446
30445
  defaultProjectId: z.ZodNullable<z.ZodString>;
30447
30446
  defaultAgentId: z.ZodNullable<z.ZodString>;
30447
+ enabled: z.ZodBoolean;
30448
30448
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
30449
30449
  type: z.ZodLiteral<"web_client">;
30450
30450
  webClient: z.ZodObject<{
@@ -30462,17 +30462,17 @@ declare const AppResponse: z.ZodObject<{
30462
30462
  declare const AppListResponse: z.ZodObject<{
30463
30463
  data: z.ZodArray<z.ZodObject<{
30464
30464
  type: z.ZodString;
30465
- id: z.ZodString;
30466
30465
  name: z.ZodString;
30467
30466
  description: z.ZodNullable<z.ZodString>;
30468
- tenantId: z.ZodNullable<z.ZodString>;
30469
- projectId: z.ZodNullable<z.ZodString>;
30467
+ id: z.ZodString;
30470
30468
  createdAt: z.ZodString;
30471
30469
  updatedAt: z.ZodString;
30472
- enabled: z.ZodBoolean;
30470
+ tenantId: z.ZodNullable<z.ZodString>;
30471
+ projectId: z.ZodNullable<z.ZodString>;
30473
30472
  lastUsedAt: z.ZodNullable<z.ZodString>;
30474
30473
  defaultProjectId: z.ZodNullable<z.ZodString>;
30475
30474
  defaultAgentId: z.ZodNullable<z.ZodString>;
30475
+ enabled: z.ZodBoolean;
30476
30476
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
30477
30477
  type: z.ZodLiteral<"web_client">;
30478
30478
  webClient: z.ZodObject<{
@@ -30495,13 +30495,13 @@ declare const AppListResponse: z.ZodObject<{
30495
30495
  }, z.core.$strip>;
30496
30496
  declare const CredentialReferenceListResponse: z.ZodObject<{
30497
30497
  data: z.ZodArray<z.ZodObject<{
30498
- id: z.ZodString;
30499
30498
  name: z.ZodString;
30499
+ id: z.ZodString;
30500
30500
  createdAt: z.ZodString;
30501
30501
  updatedAt: z.ZodString;
30502
- toolId: z.ZodNullable<z.ZodString>;
30503
30502
  userId: z.ZodNullable<z.ZodString>;
30504
30503
  createdBy: z.ZodNullable<z.ZodString>;
30504
+ toolId: z.ZodNullable<z.ZodString>;
30505
30505
  credentialStoreId: z.ZodString;
30506
30506
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
30507
30507
  type: z.ZodEnum<{
@@ -31112,12 +31112,12 @@ declare const FunctionListResponse: z.ZodObject<{
31112
31112
  }, z.core.$strip>;
31113
31113
  declare const FunctionToolListResponse: z.ZodObject<{
31114
31114
  data: z.ZodArray<z.ZodObject<{
31115
- id: z.ZodString;
31116
31115
  name: z.ZodString;
31117
31116
  description: z.ZodNullable<z.ZodString>;
31118
- agentId: z.ZodString;
31117
+ id: z.ZodString;
31119
31118
  createdAt: z.ZodString;
31120
31119
  updatedAt: z.ZodString;
31120
+ agentId: z.ZodString;
31121
31121
  functionId: z.ZodString;
31122
31122
  relationshipId: z.ZodOptional<z.ZodString>;
31123
31123
  }, z.core.$strip>>;
@@ -31368,8 +31368,8 @@ declare const TriggerListResponse: z.ZodObject<{
31368
31368
  signature: z.ZodObject<{
31369
31369
  source: z.ZodEnum<{
31370
31370
  query: "query";
31371
- body: "body";
31372
31371
  header: "header";
31372
+ body: "body";
31373
31373
  }>;
31374
31374
  key: z.ZodString;
31375
31375
  prefix: z.ZodOptional<z.ZodString>;
@@ -31377,9 +31377,9 @@ declare const TriggerListResponse: z.ZodObject<{
31377
31377
  }, z.core.$strip>;
31378
31378
  signedComponents: z.ZodArray<z.ZodObject<{
31379
31379
  source: z.ZodEnum<{
31380
+ header: "header";
31380
31381
  literal: "literal";
31381
31382
  body: "body";
31382
- header: "header";
31383
31383
  }>;
31384
31384
  key: z.ZodOptional<z.ZodString>;
31385
31385
  value: z.ZodOptional<z.ZodString>;
@@ -31431,11 +31431,12 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
31431
31431
  }, z.core.$strip>;
31432
31432
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
31433
31433
  data: z.ZodObject<{
31434
- id: z.ZodString;
31435
31434
  name: z.ZodString;
31436
31435
  description: z.ZodNullable<z.ZodString>;
31436
+ id: z.ZodString;
31437
31437
  createdAt: z.ZodString;
31438
31438
  updatedAt: z.ZodString;
31439
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31439
31440
  enabled: z.ZodBoolean;
31440
31441
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31441
31442
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -31457,8 +31458,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
31457
31458
  signature: z.ZodObject<{
31458
31459
  source: z.ZodEnum<{
31459
31460
  query: "query";
31460
- body: "body";
31461
31461
  header: "header";
31462
+ body: "body";
31462
31463
  }>;
31463
31464
  key: z.ZodString;
31464
31465
  prefix: z.ZodOptional<z.ZodString>;
@@ -31466,9 +31467,9 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
31466
31467
  }, z.core.$strip>;
31467
31468
  signedComponents: z.ZodArray<z.ZodObject<{
31468
31469
  source: z.ZodEnum<{
31470
+ header: "header";
31469
31471
  literal: "literal";
31470
31472
  body: "body";
31471
- header: "header";
31472
31473
  }>;
31473
31474
  key: z.ZodOptional<z.ZodString>;
31474
31475
  value: z.ZodOptional<z.ZodString>;
@@ -31488,17 +31489,17 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
31488
31489
  }, z.core.$strip>>;
31489
31490
  }, z.core.$strip>>>;
31490
31491
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31491
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31492
31492
  webhookUrl: z.ZodString;
31493
31493
  }, z.core.$strip>;
31494
31494
  }, z.core.$strip>;
31495
31495
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31496
31496
  data: z.ZodObject<{
31497
- id: z.ZodString;
31498
31497
  name: z.ZodString;
31499
31498
  description: z.ZodNullable<z.ZodString>;
31499
+ id: z.ZodString;
31500
31500
  createdAt: z.ZodString;
31501
31501
  updatedAt: z.ZodString;
31502
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31502
31503
  enabled: z.ZodBoolean;
31503
31504
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31504
31505
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -31520,8 +31521,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31520
31521
  signature: z.ZodObject<{
31521
31522
  source: z.ZodEnum<{
31522
31523
  query: "query";
31523
- body: "body";
31524
31524
  header: "header";
31525
+ body: "body";
31525
31526
  }>;
31526
31527
  key: z.ZodString;
31527
31528
  prefix: z.ZodOptional<z.ZodString>;
@@ -31529,9 +31530,9 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31529
31530
  }, z.core.$strip>;
31530
31531
  signedComponents: z.ZodArray<z.ZodObject<{
31531
31532
  source: z.ZodEnum<{
31533
+ header: "header";
31532
31534
  literal: "literal";
31533
31535
  body: "body";
31534
- header: "header";
31535
31536
  }>;
31536
31537
  key: z.ZodOptional<z.ZodString>;
31537
31538
  value: z.ZodOptional<z.ZodString>;
@@ -31551,18 +31552,18 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31551
31552
  }, z.core.$strip>>;
31552
31553
  }, z.core.$strip>>>;
31553
31554
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31554
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31555
31555
  webhookUrl: z.ZodString;
31556
31556
  }, z.core.$strip>;
31557
31557
  warning: z.ZodOptional<z.ZodString>;
31558
31558
  }, z.core.$strip>;
31559
31559
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31560
31560
  data: z.ZodArray<z.ZodObject<{
31561
- id: z.ZodString;
31562
31561
  name: z.ZodString;
31563
31562
  description: z.ZodNullable<z.ZodString>;
31563
+ id: z.ZodString;
31564
31564
  createdAt: z.ZodString;
31565
31565
  updatedAt: z.ZodString;
31566
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31566
31567
  enabled: z.ZodBoolean;
31567
31568
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31568
31569
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -31584,8 +31585,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31584
31585
  signature: z.ZodObject<{
31585
31586
  source: z.ZodEnum<{
31586
31587
  query: "query";
31587
- body: "body";
31588
31588
  header: "header";
31589
+ body: "body";
31589
31590
  }>;
31590
31591
  key: z.ZodString;
31591
31592
  prefix: z.ZodOptional<z.ZodString>;
@@ -31593,9 +31594,9 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31593
31594
  }, z.core.$strip>;
31594
31595
  signedComponents: z.ZodArray<z.ZodObject<{
31595
31596
  source: z.ZodEnum<{
31597
+ header: "header";
31596
31598
  literal: "literal";
31597
31599
  body: "body";
31598
- header: "header";
31599
31600
  }>;
31600
31601
  key: z.ZodOptional<z.ZodString>;
31601
31602
  value: z.ZodOptional<z.ZodString>;
@@ -31615,7 +31616,6 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31615
31616
  }, z.core.$strip>>;
31616
31617
  }, z.core.$strip>>>;
31617
31618
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31618
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31619
31619
  webhookUrl: z.ZodString;
31620
31620
  }, z.core.$strip>>;
31621
31621
  pagination: z.ZodObject<{
@@ -31626,15 +31626,15 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31626
31626
  }, z.core.$strip>;
31627
31627
  }, z.core.$strip>;
31628
31628
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31629
- id: z.ZodString;
31630
31629
  name: z.ZodString;
31631
31630
  description: z.ZodNullable<z.ZodString>;
31631
+ id: z.ZodString;
31632
31632
  createdAt: z.ZodString;
31633
31633
  updatedAt: z.ZodString;
31634
+ createdBy: z.ZodNullable<z.ZodString>;
31634
31635
  enabled: z.ZodBoolean;
31635
31636
  messageTemplate: z.ZodNullable<z.ZodString>;
31636
31637
  runAsUserId: z.ZodNullable<z.ZodString>;
31637
- createdBy: z.ZodNullable<z.ZodString>;
31638
31638
  cronExpression: z.ZodNullable<z.ZodString>;
31639
31639
  cronTimezone: z.ZodNullable<z.ZodString>;
31640
31640
  runAt: z.ZodNullable<z.ZodString>;
@@ -31644,8 +31644,8 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31644
31644
  timeoutSeconds: z.ZodNumber;
31645
31645
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
31646
31646
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
31647
- failed: "failed";
31648
31647
  completed: "completed";
31648
+ failed: "failed";
31649
31649
  }>>;
31650
31650
  lastRunConversationIds: z.ZodArray<z.ZodString>;
31651
31651
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -31705,15 +31705,15 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
31705
31705
  }, z.core.$strip>;
31706
31706
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31707
31707
  data: z.ZodArray<z.ZodObject<{
31708
- id: z.ZodString;
31709
31708
  name: z.ZodString;
31710
31709
  description: z.ZodNullable<z.ZodString>;
31710
+ id: z.ZodString;
31711
31711
  createdAt: z.ZodString;
31712
31712
  updatedAt: z.ZodString;
31713
+ createdBy: z.ZodNullable<z.ZodString>;
31713
31714
  enabled: z.ZodBoolean;
31714
31715
  messageTemplate: z.ZodNullable<z.ZodString>;
31715
31716
  runAsUserId: z.ZodNullable<z.ZodString>;
31716
- createdBy: z.ZodNullable<z.ZodString>;
31717
31717
  cronExpression: z.ZodNullable<z.ZodString>;
31718
31718
  cronTimezone: z.ZodNullable<z.ZodString>;
31719
31719
  runAt: z.ZodNullable<z.ZodString>;
@@ -31723,8 +31723,8 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31723
31723
  timeoutSeconds: z.ZodNumber;
31724
31724
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
31725
31725
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
31726
- failed: "failed";
31727
31726
  completed: "completed";
31727
+ failed: "failed";
31728
31728
  }>>;
31729
31729
  lastRunConversationIds: z.ZodArray<z.ZodString>;
31730
31730
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -31753,9 +31753,9 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
31753
31753
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31754
31754
  status: z.ZodEnum<{
31755
31755
  pending: "pending";
31756
- failed: "failed";
31757
31756
  running: "running";
31758
31757
  completed: "completed";
31758
+ failed: "failed";
31759
31759
  cancelled: "cancelled";
31760
31760
  }>;
31761
31761
  }>, z.core.$strip>;
@@ -31777,9 +31777,9 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
31777
31777
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31778
31778
  status: z.ZodEnum<{
31779
31779
  pending: "pending";
31780
- failed: "failed";
31781
31780
  running: "running";
31782
31781
  completed: "completed";
31782
+ failed: "failed";
31783
31783
  cancelled: "cancelled";
31784
31784
  }>;
31785
31785
  }>, z.core.$strip>>;
@@ -31864,9 +31864,9 @@ declare const SubAgentSkillResponse: z.ZodObject<{
31864
31864
  }, z.core.$strip>;
31865
31865
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31866
31866
  data: z.ZodArray<z.ZodObject<{
31867
- id: z.ZodString;
31868
31867
  name: z.ZodString;
31869
31868
  description: z.ZodString;
31869
+ id: z.ZodString;
31870
31870
  createdAt: z.ZodString;
31871
31871
  updatedAt: z.ZodString;
31872
31872
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -31879,9 +31879,13 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31879
31879
  }, z.core.$strip>;
31880
31880
  declare const FullProjectDefinitionResponse: z.ZodObject<{
31881
31881
  data: z.ZodObject<{
31882
- id: z.ZodString;
31883
31882
  name: z.ZodString;
31884
31883
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31884
+ id: z.ZodString;
31885
+ stopWhen: z.ZodOptional<z.ZodObject<{
31886
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
31887
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
31888
+ }, z.core.$strip>>;
31885
31889
  models: z.ZodObject<{
31886
31890
  base: z.ZodObject<{
31887
31891
  model: z.ZodOptional<z.ZodString>;
@@ -31896,20 +31900,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31896
31900
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31897
31901
  }, z.core.$strip>>;
31898
31902
  }, z.core.$strip>;
31899
- stopWhen: z.ZodOptional<z.ZodObject<{
31900
- transferCountIs: z.ZodOptional<z.ZodNumber>;
31901
- stepCountIs: z.ZodOptional<z.ZodNumber>;
31902
- }, z.core.$strip>>;
31903
31903
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31904
- id: z.ZodString;
31905
31904
  name: z.ZodString;
31906
31905
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31907
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31906
+ id: z.ZodString;
31908
31907
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31908
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31909
31909
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31910
- id: z.ZodString;
31911
31910
  name: z.ZodString;
31912
31911
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31912
+ id: z.ZodString;
31913
+ createdAt: z.ZodOptional<z.ZodString>;
31914
+ updatedAt: z.ZodOptional<z.ZodString>;
31913
31915
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31914
31916
  models: z.ZodOptional<z.ZodObject<{
31915
31917
  base: z.ZodOptional<z.ZodObject<{
@@ -31925,8 +31927,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31925
31927
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31926
31928
  }, z.core.$strip>>;
31927
31929
  }, z.core.$strip>>;
31928
- createdAt: z.ZodOptional<z.ZodString>;
31929
- updatedAt: z.ZodOptional<z.ZodString>;
31930
31930
  type: z.ZodLiteral<"internal">;
31931
31931
  canUse: z.ZodArray<z.ZodObject<{
31932
31932
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31960,12 +31960,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31960
31960
  }, z.core.$strip>>;
31961
31961
  }, z.core.$strip>>;
31962
31962
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31963
- id: z.ZodString;
31964
31963
  name: z.ZodString;
31965
31964
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31965
+ id: z.ZodString;
31966
31966
  tenantId: z.ZodString;
31967
31967
  projectId: z.ZodString;
31968
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
31969
31968
  config: z.ZodObject<{
31970
31969
  type: z.ZodLiteral<"mcp">;
31971
31970
  mcp: z.ZodObject<{
@@ -31992,6 +31991,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31992
31991
  prompt: z.ZodOptional<z.ZodString>;
31993
31992
  }, z.core.$strip>;
31994
31993
  }, z.core.$strip>;
31994
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
31995
31995
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31996
31996
  credentialScope: z.ZodOptional<z.ZodString>;
31997
31997
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -32000,9 +32000,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32000
32000
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
32001
32001
  }>, z.core.$strip>>>;
32002
32002
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32003
- id: z.ZodString;
32004
32003
  name: z.ZodString;
32005
32004
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32005
+ id: z.ZodString;
32006
32006
  tenantId: z.ZodString;
32007
32007
  projectId: z.ZodString;
32008
32008
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32014,9 +32014,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32014
32014
  description: z.ZodString;
32015
32015
  }, z.core.$strip>>>;
32016
32016
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
32017
- id: z.ZodString;
32018
32017
  name: z.ZodString;
32019
32018
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32019
+ id: z.ZodString;
32020
32020
  tenantId: z.ZodString;
32021
32021
  projectId: z.ZodString;
32022
32022
  agentId: z.ZodString;
@@ -32029,9 +32029,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32029
32029
  executeCode: z.ZodString;
32030
32030
  }, z.core.$strip>>>;
32031
32031
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32032
- id: z.ZodOptional<z.ZodString>;
32033
32032
  name: z.ZodString;
32034
32033
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32034
+ id: z.ZodOptional<z.ZodString>;
32035
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32035
32036
  enabled: z.ZodOptional<z.ZodBoolean>;
32036
32037
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32037
32038
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -32040,15 +32041,14 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32040
32041
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32041
32042
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32042
32043
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32043
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32044
32044
  }, z.core.$strip>>>;
32045
32045
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32046
32046
  name: z.ZodString;
32047
32047
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32048
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32048
32049
  enabled: z.ZodOptional<z.ZodBoolean>;
32049
32050
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32050
32051
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32051
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32052
32052
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32053
32053
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32054
32054
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32098,12 +32098,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32098
32098
  prompt: z.ZodOptional<z.ZodString>;
32099
32099
  }, z.core.$strip>>;
32100
32100
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32101
- id: z.ZodString;
32102
32101
  name: z.ZodString;
32103
32102
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32103
+ id: z.ZodString;
32104
32104
  tenantId: z.ZodString;
32105
32105
  projectId: z.ZodString;
32106
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32107
32106
  config: z.ZodObject<{
32108
32107
  type: z.ZodLiteral<"mcp">;
32109
32108
  mcp: z.ZodObject<{
@@ -32130,6 +32129,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32130
32129
  prompt: z.ZodOptional<z.ZodString>;
32131
32130
  }, z.core.$strip>;
32132
32131
  }, z.core.$strip>;
32132
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32133
32133
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32134
32134
  credentialScope: z.ZodOptional<z.ZodString>;
32135
32135
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -32138,9 +32138,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32138
32138
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
32139
32139
  }>, z.core.$strip>>;
32140
32140
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
32141
- id: z.ZodString;
32142
32141
  name: z.ZodString;
32143
32142
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32143
+ id: z.ZodString;
32144
32144
  tenantId: z.ZodString;
32145
32145
  projectId: z.ZodString;
32146
32146
  agentId: z.ZodString;
@@ -32155,10 +32155,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32155
32155
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32156
32156
  name: z.ZodString;
32157
32157
  description: z.ZodString;
32158
- tenantId: z.ZodString;
32159
- projectId: z.ZodString;
32160
32158
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
32161
32159
  content: z.ZodString;
32160
+ tenantId: z.ZodString;
32161
+ projectId: z.ZodString;
32162
32162
  }>, z.core.$strip>>>;
32163
32163
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32164
32164
  id: z.ZodString;
@@ -32214,9 +32214,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32214
32214
  in: {};
32215
32215
  }>>>;
32216
32216
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32217
- id: z.ZodString;
32218
32217
  name: z.ZodString;
32219
32218
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32219
+ id: z.ZodString;
32220
32220
  tenantId: z.ZodString;
32221
32221
  projectId: z.ZodString;
32222
32222
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32238,11 +32238,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32238
32238
  }, z.core.$strip>>>;
32239
32239
  }, z.core.$strip>>;
32240
32240
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32241
- id: z.ZodString;
32242
32241
  name: z.ZodString;
32243
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32242
+ id: z.ZodString;
32244
32243
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32245
32244
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32245
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32246
32246
  credentialStoreId: z.ZodString;
32247
32247
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32248
32248
  type: z.ZodEnum<{
@@ -32260,9 +32260,15 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32260
32260
  }, z.core.$strip>;
32261
32261
  declare const FullProjectSelectResponse: z.ZodObject<{
32262
32262
  data: z.ZodObject<{
32263
- id: z.ZodString;
32264
32263
  name: z.ZodString;
32265
32264
  description: z.ZodNullable<z.ZodString>;
32265
+ id: z.ZodString;
32266
+ createdAt: z.ZodString;
32267
+ updatedAt: z.ZodString;
32268
+ stopWhen: z.ZodNullable<z.ZodObject<{
32269
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
32270
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
32271
+ }, z.core.$strip>>;
32266
32272
  models: z.ZodNullable<z.ZodObject<{
32267
32273
  base: z.ZodObject<{
32268
32274
  model: z.ZodOptional<z.ZodString>;
@@ -32277,24 +32283,29 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32277
32283
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
32278
32284
  }, z.core.$strip>>;
32279
32285
  }, z.core.$strip>>;
32280
- stopWhen: z.ZodNullable<z.ZodObject<{
32281
- transferCountIs: z.ZodOptional<z.ZodNumber>;
32282
- stepCountIs: z.ZodOptional<z.ZodNumber>;
32283
- }, z.core.$strip>>;
32284
- createdAt: z.ZodString;
32285
- updatedAt: z.ZodString;
32286
32286
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
32287
- id: z.ZodString;
32288
32287
  name: z.ZodString;
32289
32288
  description: z.ZodNullable<z.ZodString>;
32290
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
32289
+ id: z.ZodString;
32291
32290
  createdAt: z.ZodString;
32292
32291
  updatedAt: z.ZodString;
32293
32292
  contextConfigId: z.ZodNullable<z.ZodString>;
32293
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
32294
32294
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32295
- id: z.ZodString;
32296
32295
  name: z.ZodString;
32297
32296
  description: z.ZodNullable<z.ZodString>;
32297
+ id: z.ZodString;
32298
+ createdAt: z.ZodString;
32299
+ updatedAt: z.ZodString;
32300
+ stopWhen: z.ZodNullable<z.ZodType<{
32301
+ stepCountIs?: number | undefined;
32302
+ }, {
32303
+ stepCountIs?: number | undefined;
32304
+ }, z.core.$ZodTypeInternals<{
32305
+ stepCountIs?: number | undefined;
32306
+ }, {
32307
+ stepCountIs?: number | undefined;
32308
+ }>>>;
32298
32309
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32299
32310
  models: z.ZodNullable<z.ZodType<{
32300
32311
  base?: {
@@ -32349,17 +32360,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32349
32360
  providerOptions?: Record<string, any> | undefined;
32350
32361
  } | undefined;
32351
32362
  }>>>;
32352
- stopWhen: z.ZodNullable<z.ZodType<{
32353
- stepCountIs?: number | undefined;
32354
- }, {
32355
- stepCountIs?: number | undefined;
32356
- }, z.core.$ZodTypeInternals<{
32357
- stepCountIs?: number | undefined;
32358
- }, {
32359
- stepCountIs?: number | undefined;
32360
- }>>>;
32361
- createdAt: z.ZodString;
32362
- updatedAt: z.ZodString;
32363
32363
  type: z.ZodLiteral<"internal">;
32364
32364
  canUse: z.ZodArray<z.ZodObject<{
32365
32365
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -32430,12 +32430,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32430
32430
  description: z.ZodString;
32431
32431
  }, z.core.$strip>>>;
32432
32432
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32433
- id: z.ZodString;
32434
32433
  name: z.ZodString;
32435
32434
  description: z.ZodNullable<z.ZodString>;
32436
- agentId: z.ZodString;
32435
+ id: z.ZodString;
32437
32436
  createdAt: z.ZodString;
32438
32437
  updatedAt: z.ZodString;
32438
+ agentId: z.ZodString;
32439
32439
  functionId: z.ZodString;
32440
32440
  relationshipId: z.ZodOptional<z.ZodString>;
32441
32441
  }, z.core.$strip>>>;
@@ -32541,12 +32541,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32541
32541
  id: z.ZodString;
32542
32542
  }>, z.core.$strip>>;
32543
32543
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32544
- id: z.ZodString;
32545
32544
  name: z.ZodString;
32546
32545
  description: z.ZodNullable<z.ZodString>;
32547
- agentId: z.ZodString;
32546
+ id: z.ZodString;
32548
32547
  createdAt: z.ZodString;
32549
32548
  updatedAt: z.ZodString;
32549
+ agentId: z.ZodString;
32550
32550
  functionId: z.ZodString;
32551
32551
  relationshipId: z.ZodOptional<z.ZodString>;
32552
32552
  }, z.core.$strip>>>;
@@ -32689,13 +32689,13 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32689
32689
  }, z.core.$strip>>>;
32690
32690
  }, z.core.$strip>>;
32691
32691
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32692
- id: z.ZodString;
32693
32692
  name: z.ZodString;
32693
+ id: z.ZodString;
32694
32694
  createdAt: z.ZodString;
32695
32695
  updatedAt: z.ZodString;
32696
- toolId: z.ZodNullable<z.ZodString>;
32697
32696
  userId: z.ZodNullable<z.ZodString>;
32698
32697
  createdBy: z.ZodNullable<z.ZodString>;
32698
+ toolId: z.ZodNullable<z.ZodString>;
32699
32699
  credentialStoreId: z.ZodString;
32700
32700
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32701
32701
  type: z.ZodEnum<{
@@ -33286,9 +33286,15 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33286
33286
  }, z.core.$strip>;
33287
33287
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33288
33288
  data: z.ZodObject<{
33289
- id: z.ZodString;
33290
33289
  name: z.ZodString;
33291
33290
  description: z.ZodNullable<z.ZodString>;
33291
+ id: z.ZodString;
33292
+ createdAt: z.ZodString;
33293
+ updatedAt: z.ZodString;
33294
+ stopWhen: z.ZodNullable<z.ZodObject<{
33295
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
33296
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
33297
+ }, z.core.$strip>>;
33292
33298
  models: z.ZodNullable<z.ZodObject<{
33293
33299
  base: z.ZodObject<{
33294
33300
  model: z.ZodOptional<z.ZodString>;
@@ -33303,12 +33309,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33303
33309
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
33304
33310
  }, z.core.$strip>>;
33305
33311
  }, z.core.$strip>>;
33306
- stopWhen: z.ZodNullable<z.ZodObject<{
33307
- transferCountIs: z.ZodOptional<z.ZodNumber>;
33308
- stepCountIs: z.ZodOptional<z.ZodNumber>;
33309
- }, z.core.$strip>>;
33310
- createdAt: z.ZodString;
33311
- updatedAt: z.ZodString;
33312
33312
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33313
33313
  createdAt: z.ZodString;
33314
33314
  updatedAt: z.ZodString;
@@ -33339,12 +33339,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33339
33339
  id: z.ZodString;
33340
33340
  }>, z.core.$strip>>;
33341
33341
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33342
- id: z.ZodString;
33343
33342
  name: z.ZodString;
33344
33343
  description: z.ZodNullable<z.ZodString>;
33345
- agentId: z.ZodString;
33344
+ id: z.ZodString;
33346
33345
  createdAt: z.ZodString;
33347
33346
  updatedAt: z.ZodString;
33347
+ agentId: z.ZodString;
33348
33348
  functionId: z.ZodString;
33349
33349
  relationshipId: z.ZodOptional<z.ZodString>;
33350
33350
  }, z.core.$strip>>>;
@@ -33487,13 +33487,13 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33487
33487
  }, z.core.$strip>>>;
33488
33488
  }, z.core.$strip>>;
33489
33489
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33490
- id: z.ZodString;
33491
33490
  name: z.ZodString;
33491
+ id: z.ZodString;
33492
33492
  createdAt: z.ZodString;
33493
33493
  updatedAt: z.ZodString;
33494
- toolId: z.ZodNullable<z.ZodString>;
33495
33494
  userId: z.ZodNullable<z.ZodString>;
33496
33495
  createdBy: z.ZodNullable<z.ZodString>;
33496
+ toolId: z.ZodNullable<z.ZodString>;
33497
33497
  credentialStoreId: z.ZodString;
33498
33498
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33499
33499
  type: z.ZodEnum<{
@@ -34078,13 +34078,13 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34078
34078
  }>>>;
34079
34079
  }, z.core.$strip>>>;
34080
34080
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
34081
- id: z.ZodString;
34082
34081
  name: z.ZodString;
34083
34082
  description: z.ZodNullable<z.ZodString>;
34084
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
34083
+ id: z.ZodString;
34085
34084
  createdAt: z.ZodString;
34086
34085
  updatedAt: z.ZodString;
34087
34086
  contextConfigId: z.ZodNullable<z.ZodString>;
34087
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
34088
34088
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
34089
34089
  createdAt: z.ZodString;
34090
34090
  updatedAt: z.ZodString;
@@ -34131,12 +34131,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34131
34131
  description: z.ZodString;
34132
34132
  }, z.core.$strip>>>;
34133
34133
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34134
- id: z.ZodString;
34135
34134
  name: z.ZodString;
34136
34135
  description: z.ZodNullable<z.ZodString>;
34137
- agentId: z.ZodString;
34136
+ id: z.ZodString;
34138
34137
  createdAt: z.ZodString;
34139
34138
  updatedAt: z.ZodString;
34139
+ agentId: z.ZodString;
34140
34140
  functionId: z.ZodString;
34141
34141
  relationshipId: z.ZodOptional<z.ZodString>;
34142
34142
  }, z.core.$strip>>>;
@@ -34212,9 +34212,20 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34212
34212
  }, z.core.$strip>>;
34213
34213
  prompt: z.ZodNullable<z.ZodString>;
34214
34214
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34215
- id: z.ZodString;
34216
34215
  name: z.ZodString;
34217
34216
  description: z.ZodNullable<z.ZodString>;
34217
+ id: z.ZodString;
34218
+ createdAt: z.ZodString;
34219
+ updatedAt: z.ZodString;
34220
+ stopWhen: z.ZodNullable<z.ZodType<{
34221
+ stepCountIs?: number | undefined;
34222
+ }, {
34223
+ stepCountIs?: number | undefined;
34224
+ }, z.core.$ZodTypeInternals<{
34225
+ stepCountIs?: number | undefined;
34226
+ }, {
34227
+ stepCountIs?: number | undefined;
34228
+ }>>>;
34218
34229
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34219
34230
  models: z.ZodNullable<z.ZodType<{
34220
34231
  base?: {
@@ -34269,17 +34280,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34269
34280
  providerOptions?: Record<string, any> | undefined;
34270
34281
  } | undefined;
34271
34282
  }>>>;
34272
- stopWhen: z.ZodNullable<z.ZodType<{
34273
- stepCountIs?: number | undefined;
34274
- }, {
34275
- stepCountIs?: number | undefined;
34276
- }, z.core.$ZodTypeInternals<{
34277
- stepCountIs?: number | undefined;
34278
- }, {
34279
- stepCountIs?: number | undefined;
34280
- }>>>;
34281
- createdAt: z.ZodString;
34282
- updatedAt: z.ZodString;
34283
34283
  type: z.ZodLiteral<"internal">;
34284
34284
  canUse: z.ZodArray<z.ZodObject<{
34285
34285
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34318,15 +34318,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34318
34318
  }, z.core.$strip>;
34319
34319
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34320
34320
  data: z.ZodObject<{
34321
- id: z.ZodString;
34322
34321
  name: z.ZodString;
34323
34322
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34324
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34323
+ id: z.ZodString;
34325
34324
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34325
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34326
34326
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34327
- id: z.ZodString;
34328
34327
  name: z.ZodString;
34329
34328
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34329
+ id: z.ZodString;
34330
+ createdAt: z.ZodOptional<z.ZodString>;
34331
+ updatedAt: z.ZodOptional<z.ZodString>;
34330
34332
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
34331
34333
  models: z.ZodOptional<z.ZodObject<{
34332
34334
  base: z.ZodOptional<z.ZodObject<{
@@ -34342,8 +34344,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34342
34344
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
34343
34345
  }, z.core.$strip>>;
34344
34346
  }, z.core.$strip>>;
34345
- createdAt: z.ZodOptional<z.ZodString>;
34346
- updatedAt: z.ZodOptional<z.ZodString>;
34347
34347
  type: z.ZodLiteral<"internal">;
34348
34348
  canUse: z.ZodArray<z.ZodObject<{
34349
34349
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34377,12 +34377,11 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34377
34377
  }, z.core.$strip>>;
34378
34378
  }, z.core.$strip>>;
34379
34379
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
34380
- id: z.ZodString;
34381
34380
  name: z.ZodString;
34382
34381
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34382
+ id: z.ZodString;
34383
34383
  tenantId: z.ZodString;
34384
34384
  projectId: z.ZodString;
34385
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34386
34385
  config: z.ZodObject<{
34387
34386
  type: z.ZodLiteral<"mcp">;
34388
34387
  mcp: z.ZodObject<{
@@ -34409,6 +34408,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34409
34408
  prompt: z.ZodOptional<z.ZodString>;
34410
34409
  }, z.core.$strip>;
34411
34410
  }, z.core.$strip>;
34411
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34412
34412
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34413
34413
  credentialScope: z.ZodOptional<z.ZodString>;
34414
34414
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -34417,9 +34417,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34417
34417
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
34418
34418
  }>, z.core.$strip>>>;
34419
34419
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
34420
- id: z.ZodString;
34421
34420
  name: z.ZodString;
34422
34421
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34422
+ id: z.ZodString;
34423
34423
  tenantId: z.ZodString;
34424
34424
  projectId: z.ZodString;
34425
34425
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34431,9 +34431,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34431
34431
  description: z.ZodString;
34432
34432
  }, z.core.$strip>>>;
34433
34433
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
34434
- id: z.ZodString;
34435
34434
  name: z.ZodString;
34436
34435
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34436
+ id: z.ZodString;
34437
34437
  tenantId: z.ZodString;
34438
34438
  projectId: z.ZodString;
34439
34439
  agentId: z.ZodString;
@@ -34446,9 +34446,10 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34446
34446
  executeCode: z.ZodString;
34447
34447
  }, z.core.$strip>>>;
34448
34448
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
34449
- id: z.ZodOptional<z.ZodString>;
34450
34449
  name: z.ZodString;
34451
34450
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34451
+ id: z.ZodOptional<z.ZodString>;
34452
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34452
34453
  enabled: z.ZodOptional<z.ZodBoolean>;
34453
34454
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34454
34455
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -34457,15 +34458,14 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34457
34458
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34458
34459
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34459
34460
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34460
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34461
34461
  }, z.core.$strip>>>;
34462
34462
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
34463
34463
  name: z.ZodString;
34464
34464
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34465
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34465
34466
  enabled: z.ZodOptional<z.ZodBoolean>;
34466
34467
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34467
34468
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34468
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34469
34469
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34470
34470
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34471
34471
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34517,17 +34517,28 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34517
34517
  }, z.core.$strip>;
34518
34518
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34519
34519
  data: z.ZodObject<{
34520
- id: z.ZodString;
34521
34520
  name: z.ZodString;
34522
34521
  description: z.ZodNullable<z.ZodString>;
34523
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
34522
+ id: z.ZodString;
34524
34523
  createdAt: z.ZodString;
34525
34524
  updatedAt: z.ZodString;
34526
34525
  contextConfigId: z.ZodNullable<z.ZodString>;
34526
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
34527
34527
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34528
- id: z.ZodString;
34529
34528
  name: z.ZodString;
34530
34529
  description: z.ZodNullable<z.ZodString>;
34530
+ id: z.ZodString;
34531
+ createdAt: z.ZodString;
34532
+ updatedAt: z.ZodString;
34533
+ stopWhen: z.ZodNullable<z.ZodType<{
34534
+ stepCountIs?: number | undefined;
34535
+ }, {
34536
+ stepCountIs?: number | undefined;
34537
+ }, z.core.$ZodTypeInternals<{
34538
+ stepCountIs?: number | undefined;
34539
+ }, {
34540
+ stepCountIs?: number | undefined;
34541
+ }>>>;
34531
34542
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34532
34543
  models: z.ZodNullable<z.ZodType<{
34533
34544
  base?: {
@@ -34582,17 +34593,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34582
34593
  providerOptions?: Record<string, any> | undefined;
34583
34594
  } | undefined;
34584
34595
  }>>>;
34585
- stopWhen: z.ZodNullable<z.ZodType<{
34586
- stepCountIs?: number | undefined;
34587
- }, {
34588
- stepCountIs?: number | undefined;
34589
- }, z.core.$ZodTypeInternals<{
34590
- stepCountIs?: number | undefined;
34591
- }, {
34592
- stepCountIs?: number | undefined;
34593
- }>>>;
34594
- createdAt: z.ZodString;
34595
- updatedAt: z.ZodString;
34596
34596
  type: z.ZodLiteral<"internal">;
34597
34597
  canUse: z.ZodArray<z.ZodObject<{
34598
34598
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34663,12 +34663,12 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34663
34663
  description: z.ZodString;
34664
34664
  }, z.core.$strip>>>;
34665
34665
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34666
- id: z.ZodString;
34667
34666
  name: z.ZodString;
34668
34667
  description: z.ZodNullable<z.ZodString>;
34669
- agentId: z.ZodString;
34668
+ id: z.ZodString;
34670
34669
  createdAt: z.ZodString;
34671
34670
  updatedAt: z.ZodString;
34671
+ agentId: z.ZodString;
34672
34672
  functionId: z.ZodString;
34673
34673
  relationshipId: z.ZodOptional<z.ZodString>;
34674
34674
  }, z.core.$strip>>>;
@@ -34766,12 +34766,11 @@ declare const ComponentAssociationListResponse: z.ZodObject<{
34766
34766
  }, z.core.$strip>;
34767
34767
  declare const McpToolResponse: z.ZodObject<{
34768
34768
  data: z.ZodObject<{
34769
- id: z.ZodString;
34770
34769
  name: z.ZodString;
34771
34770
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34771
+ id: z.ZodString;
34772
34772
  tenantId: z.ZodString;
34773
34773
  projectId: z.ZodString;
34774
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34775
34774
  config: z.ZodObject<{
34776
34775
  type: z.ZodLiteral<"mcp">;
34777
34776
  mcp: z.ZodObject<{
@@ -34798,6 +34797,7 @@ declare const McpToolResponse: z.ZodObject<{
34798
34797
  prompt: z.ZodOptional<z.ZodString>;
34799
34798
  }, z.core.$strip>;
34800
34799
  }, z.core.$strip>;
34800
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34801
34801
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34802
34802
  credentialScope: z.ZodOptional<z.ZodString>;
34803
34803
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -34810,9 +34810,9 @@ declare const McpToolResponse: z.ZodObject<{
34810
34810
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
34811
34811
  }, z.core.$strip>>>;
34812
34812
  status: z.ZodDefault<z.ZodEnum<{
34813
- unknown: "unknown";
34814
34813
  healthy: "healthy";
34815
34814
  unhealthy: "unhealthy";
34815
+ unknown: "unknown";
34816
34816
  needs_auth: "needs_auth";
34817
34817
  unavailable: "unavailable";
34818
34818
  }>>;
@@ -34827,12 +34827,11 @@ declare const McpToolResponse: z.ZodObject<{
34827
34827
  }, z.core.$strip>;
34828
34828
  declare const McpToolListResponse: z.ZodObject<{
34829
34829
  data: z.ZodArray<z.ZodObject<{
34830
- id: z.ZodString;
34831
34830
  name: z.ZodString;
34832
34831
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34832
+ id: z.ZodString;
34833
34833
  tenantId: z.ZodString;
34834
34834
  projectId: z.ZodString;
34835
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34836
34835
  config: z.ZodObject<{
34837
34836
  type: z.ZodLiteral<"mcp">;
34838
34837
  mcp: z.ZodObject<{
@@ -34859,6 +34858,7 @@ declare const McpToolListResponse: z.ZodObject<{
34859
34858
  prompt: z.ZodOptional<z.ZodString>;
34860
34859
  }, z.core.$strip>;
34861
34860
  }, z.core.$strip>;
34861
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34862
34862
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34863
34863
  credentialScope: z.ZodOptional<z.ZodString>;
34864
34864
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -34871,9 +34871,9 @@ declare const McpToolListResponse: z.ZodObject<{
34871
34871
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
34872
34872
  }, z.core.$strip>>>;
34873
34873
  status: z.ZodDefault<z.ZodEnum<{
34874
- unknown: "unknown";
34875
34874
  healthy: "healthy";
34876
34875
  unhealthy: "unhealthy";
34876
+ unknown: "unknown";
34877
34877
  needs_auth: "needs_auth";
34878
34878
  unavailable: "unavailable";
34879
34879
  }>>;
@@ -35382,8 +35382,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
35382
35382
  disconnected: "disconnected";
35383
35383
  }>;
35384
35384
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
35385
- User: "User";
35386
35385
  Organization: "Organization";
35386
+ User: "User";
35387
35387
  }>;
35388
35388
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
35389
35389
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -35478,7 +35478,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35478
35478
  tableName: "work_app_github_installations";
35479
35479
  dataType: "string";
35480
35480
  columnType: "PgVarchar";
35481
- data: "User" | "Organization";
35481
+ data: "Organization" | "User";
35482
35482
  driverParam: string;
35483
35483
  notNull: true;
35484
35484
  hasDefault: false;
@@ -35491,7 +35491,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35491
35491
  generated: undefined;
35492
35492
  }, {}, {
35493
35493
  length: 20;
35494
- $type: "User" | "Organization";
35494
+ $type: "Organization" | "User";
35495
35495
  }>;
35496
35496
  status: drizzle_orm_pg_core217.PgColumn<{
35497
35497
  name: "status";
@@ -35644,7 +35644,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35644
35644
  tableName: "work_app_github_installations";
35645
35645
  dataType: "string";
35646
35646
  columnType: "PgVarchar";
35647
- data: "User" | "Organization";
35647
+ data: "Organization" | "User";
35648
35648
  driverParam: string;
35649
35649
  notNull: true;
35650
35650
  hasDefault: false;
@@ -35657,7 +35657,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35657
35657
  generated: undefined;
35658
35658
  }, {}, {
35659
35659
  length: 20;
35660
- $type: "User" | "Organization";
35660
+ $type: "Organization" | "User";
35661
35661
  }>;
35662
35662
  status: drizzle_orm_pg_core217.PgColumn<{
35663
35663
  name: "status";
@@ -35720,13 +35720,13 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35720
35720
  }, undefined>, undefined>;
35721
35721
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35722
35722
  id: z.ZodString;
35723
- tenantId: z.ZodString;
35724
35723
  accountId: z.ZodString;
35724
+ tenantId: z.ZodString;
35725
35725
  installationId: z.ZodString;
35726
35726
  accountLogin: z.ZodString;
35727
35727
  accountType: z.ZodEnum<{
35728
- User: "User";
35729
35728
  Organization: "Organization";
35729
+ User: "User";
35730
35730
  }>;
35731
35731
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35732
35732
  pending: "pending";
@@ -35751,13 +35751,13 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
35751
35751
  }>, z.core.$strip>;
35752
35752
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
35753
35753
  id: z.ZodString;
35754
- tenantId: z.ZodString;
35755
35754
  accountId: z.ZodString;
35755
+ tenantId: z.ZodString;
35756
35756
  installationId: z.ZodString;
35757
35757
  accountLogin: z.ZodString;
35758
35758
  accountType: z.ZodEnum<{
35759
- User: "User";
35760
35759
  Organization: "Organization";
35760
+ User: "User";
35761
35761
  }>;
35762
35762
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35763
35763
  pending: "pending";