@inkeep/agents-core 0.0.0-dev-20260324170433 → 0.0.0-dev-20260324185007

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -822,9 +822,9 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
823
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
824
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
825
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
826
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
827
825
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
827
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
828
828
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
829
829
  base: z.ZodOptional<z.ZodObject<{
830
830
  model: z.ZodOptional<z.ZodString>;
@@ -839,7 +839,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
839
839
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
840
840
  }, z.core.$strip>>;
841
841
  }, z.core.$strip>>>>;
842
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
843
842
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
844
843
  stepCountIs?: number | undefined;
845
844
  }, {
@@ -849,7 +848,8 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
849
848
  }, {
850
849
  stepCountIs?: number | undefined;
851
850
  }>>>>>>;
852
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
851
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
853
853
  }, z.core.$strip>;
854
854
  declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
855
855
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -2483,7 +2483,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2483
2483
  }, {}, {
2484
2484
  length: 256;
2485
2485
  }>;
2486
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "projectId" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2486
+ }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2487
2487
  declare const AgentUpdateSchema: z.ZodObject<{
2488
2488
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2489
2489
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2754,7 +2754,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2754
2754
  name: z.ZodString;
2755
2755
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
2756
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
2758
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2759
2759
  base?: {
2760
2760
  model?: string | undefined;
@@ -2808,7 +2808,16 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2808
2808
  providerOptions?: Record<string, any> | undefined;
2809
2809
  } | undefined;
2810
2810
  }>>>>;
2811
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2811
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2812
+ transferCountIs?: number | undefined;
2813
+ }, {
2814
+ transferCountIs?: number | undefined;
2815
+ }, z.core.$ZodTypeInternals<{
2816
+ transferCountIs?: number | undefined;
2817
+ }, {
2818
+ transferCountIs?: number | undefined;
2819
+ }>>>>;
2820
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2812
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2813
2822
  enabled?: boolean | undefined;
2814
2823
  numEvents?: number | undefined;
@@ -2866,21 +2875,12 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2866
2875
  } | undefined;
2867
2876
  }[] | undefined;
2868
2877
  }>>>>;
2869
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2870
- transferCountIs?: number | undefined;
2871
- }, {
2872
- transferCountIs?: number | undefined;
2873
- }, z.core.$ZodTypeInternals<{
2874
- transferCountIs?: number | undefined;
2875
- }, {
2876
- transferCountIs?: number | undefined;
2877
- }>>>>;
2878
2878
  }, z.core.$strip>;
2879
2879
  declare const AgentApiUpdateSchema: z.ZodObject<{
2880
2880
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2881
2881
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2882
2882
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2883
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2883
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
2884
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2885
2885
  base?: {
2886
2886
  model?: string | undefined;
@@ -2934,7 +2934,16 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2934
2934
  providerOptions?: Record<string, any> | undefined;
2935
2935
  } | undefined;
2936
2936
  }>>>>>>;
2937
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2937
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2938
+ transferCountIs?: number | undefined;
2939
+ }, {
2940
+ transferCountIs?: number | undefined;
2941
+ }, z.core.$ZodTypeInternals<{
2942
+ transferCountIs?: number | undefined;
2943
+ }, {
2944
+ transferCountIs?: number | undefined;
2945
+ }>>>>>>;
2946
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2938
2947
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2939
2948
  enabled?: boolean | undefined;
2940
2949
  numEvents?: number | undefined;
@@ -2992,15 +3001,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2992
3001
  } | undefined;
2993
3002
  }[] | undefined;
2994
3003
  }>>>>>>;
2995
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2996
- transferCountIs?: number | undefined;
2997
- }, {
2998
- transferCountIs?: number | undefined;
2999
- }, z.core.$ZodTypeInternals<{
3000
- transferCountIs?: number | undefined;
3001
- }, {
3002
- transferCountIs?: number | undefined;
3003
- }>>>>>>;
3004
3004
  }, z.core.$strip>;
3005
3005
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
3006
3006
  name: z.ZodString;
@@ -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
- pending: "pending";
3273
3272
  success: "success";
3273
+ pending: "pending";
3274
3274
  failed: "failed";
3275
3275
  }>;
3276
3276
  declare const TriggerSelectSchema: z.ZodObject<{
@@ -4079,7 +4079,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4079
4079
  }, {}, {
4080
4080
  length: 256;
4081
4081
  }>;
4082
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "agentId" | "projectId" | "tenantId" | "createdBy" | "inputSchema" | "messageTemplate" | "runAsUserId" | "outputTransform" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4082
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "runAsUserId" | "createdBy" | "inputSchema" | "outputTransform" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4083
4083
  declare const TriggerUpdateSchema: z.ZodObject<{
4084
4084
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4085
4085
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4170,10 +4170,10 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4170
4170
  name: z.ZodString;
4171
4171
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4172
4172
  enabled: z.ZodOptional<z.ZodBoolean>;
4173
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4174
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4175
4173
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4176
4174
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4175
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4176
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4177
4177
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4178
4178
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4179
4179
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4182,14 +4182,14 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4182
4182
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4183
4183
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4184
4184
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4185
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4185
4186
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4186
4187
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4187
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4188
4188
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4189
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4190
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4191
4189
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4192
4190
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4191
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4192
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4193
4193
  outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4194
4194
  authentication: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4195
4195
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -4198,14 +4198,14 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4198
4198
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4199
4199
  id: z.ZodString;
4200
4200
  name: z.ZodString;
4201
+ description: z.ZodNullable<z.ZodString>;
4201
4202
  createdAt: z.ZodString;
4202
4203
  updatedAt: z.ZodString;
4203
- description: z.ZodNullable<z.ZodString>;
4204
4204
  enabled: z.ZodBoolean;
4205
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4206
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4207
4205
  messageTemplate: z.ZodNullable<z.ZodString>;
4208
4206
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4207
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4208
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4209
4209
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4210
4210
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4211
4211
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4739,7 +4739,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4739
4739
  }, {}, {
4740
4740
  length: 256;
4741
4741
  }>;
4742
- }, "id" | "createdAt" | "ref" | "status" | "agentId" | "projectId" | "tenantId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4742
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "ref" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4743
4743
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4744
4744
  triggerId: z.ZodOptional<z.ZodString>;
4745
4745
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -4878,11 +4878,10 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
4878
4878
  id: z.ZodString;
4879
4879
  name: z.ZodString;
4880
4880
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4881
- enabled: z.ZodOptional<z.ZodBoolean>;
4882
- agentId: z.ZodString;
4883
- projectId: z.ZodString;
4884
4881
  tenantId: z.ZodString;
4885
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4882
+ projectId: z.ZodString;
4883
+ agentId: z.ZodString;
4884
+ enabled: z.ZodOptional<z.ZodBoolean>;
4886
4885
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4887
4886
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4888
4887
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4892,6 +4891,7 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
4892
4891
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
4893
4892
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
4894
4893
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4894
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4895
4895
  }, {
4896
4896
  out: {};
4897
4897
  in: {};
@@ -4900,15 +4900,15 @@ declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
4900
4900
  id: z.ZodOptional<z.ZodString>;
4901
4901
  name: z.ZodOptional<z.ZodString>;
4902
4902
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4903
- agentId: z.ZodOptional<z.ZodString>;
4904
- projectId: z.ZodOptional<z.ZodString>;
4905
4903
  tenantId: z.ZodOptional<z.ZodString>;
4906
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4904
+ projectId: z.ZodOptional<z.ZodString>;
4905
+ agentId: z.ZodOptional<z.ZodString>;
4907
4906
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4908
4907
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4909
4908
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4910
4909
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4911
4910
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4911
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4912
4912
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4913
4913
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4914
4914
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4943,7 +4943,6 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
4943
4943
  name: z.ZodString;
4944
4944
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4945
4945
  enabled: z.ZodOptional<z.ZodBoolean>;
4946
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4947
4946
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4948
4947
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4949
4948
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4953,13 +4952,13 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
4953
4952
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
4954
4953
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
4955
4954
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4955
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4956
4956
  id: z.ZodOptional<z.ZodString>;
4957
4957
  }, z.core.$strip>;
4958
4958
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
4959
4959
  name: z.ZodString;
4960
4960
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4961
4961
  enabled: z.ZodOptional<z.ZodBoolean>;
4962
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4963
4962
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4964
4963
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4965
4964
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4969,6 +4968,7 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
4969
4968
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
4970
4969
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
4971
4970
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4971
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4972
4972
  id: z.ZodOptional<z.ZodString>;
4973
4973
  }, z.core.$strip>;
4974
4974
  declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
@@ -4976,7 +4976,6 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
4976
4976
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4977
4977
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4978
4978
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4979
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4980
4979
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4981
4980
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4982
4981
  runAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -4986,6 +4985,7 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
4986
4985
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
4987
4986
  timeoutSeconds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
4988
4987
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4988
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4989
4989
  }, z.core.$strip>;
4990
4990
  type ScheduledTrigger = z.infer<typeof ScheduledTriggerSelectSchema>;
4991
4991
  type ScheduledTriggerInsert = z.infer<typeof ScheduledTriggerInsertSchema>;
@@ -5810,7 +5810,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
5810
5810
  }, {}, {
5811
5811
  length: 256;
5812
5812
  }>;
5813
- }, "id" | "name" | "createdAt" | "updatedAt" | "status" | "description" | "agentId" | "projectId" | "tenantId" | "scheduledTriggerId" | "workflowRunId">, undefined>, undefined>;
5813
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
5814
5814
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
5815
5815
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5816
5816
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -5842,32 +5842,32 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
5842
5842
  }>, z.core.$strip>;
5843
5843
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
5844
5844
  name: z.ZodString;
5845
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5845
5846
  createdAt: z.ZodOptional<z.ZodString>;
5846
5847
  updatedAt: z.ZodOptional<z.ZodString>;
5847
5848
  status: z.ZodOptional<z.ZodString>;
5848
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5849
- scheduledTriggerId: z.ZodString;
5850
5849
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5850
+ scheduledTriggerId: z.ZodString;
5851
5851
  id: z.ZodOptional<z.ZodString>;
5852
5852
  }, z.core.$strip>;
5853
5853
  declare const ScheduledWorkflowApiUpdateSchema: z.ZodObject<{
5854
5854
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5855
5855
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5856
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5856
5857
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5857
5858
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5858
5859
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5859
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5860
- scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5861
5860
  workflowRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5861
+ scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5862
5862
  }, z.core.$strip>;
5863
5863
  type ScheduledWorkflow = z.infer<typeof ScheduledWorkflowSelectSchema>;
5864
5864
  type ScheduledWorkflowInsert = z.infer<typeof ScheduledWorkflowInsertSchema>;
5865
5865
  type ScheduledWorkflowUpdate = z.infer<typeof ScheduledWorkflowUpdateSchema>;
5866
5866
  declare const ScheduledTriggerInvocationStatusEnum: z.ZodEnum<{
5867
5867
  pending: "pending";
5868
- failed: "failed";
5869
5868
  running: "running";
5870
5869
  completed: "completed";
5870
+ failed: "failed";
5871
5871
  cancelled: "cancelled";
5872
5872
  }>;
5873
5873
  declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
@@ -5895,9 +5895,9 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
5895
5895
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5896
5896
  status: z.ZodEnum<{
5897
5897
  pending: "pending";
5898
- failed: "failed";
5899
5898
  running: "running";
5900
5899
  completed: "completed";
5900
+ failed: "failed";
5901
5901
  cancelled: "cancelled";
5902
5902
  }>;
5903
5903
  }, {
@@ -5956,7 +5956,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
5956
5956
  tableName: "scheduled_trigger_invocations";
5957
5957
  dataType: "string";
5958
5958
  columnType: "PgVarchar";
5959
- data: "pending" | "failed" | "running" | "completed" | "cancelled";
5959
+ data: "pending" | "running" | "completed" | "failed" | "cancelled";
5960
5960
  driverParam: string;
5961
5961
  notNull: true;
5962
5962
  hasDefault: false;
@@ -5969,7 +5969,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
5969
5969
  generated: undefined;
5970
5970
  }, {}, {
5971
5971
  length: 50;
5972
- $type: "pending" | "failed" | "running" | "completed" | "cancelled";
5972
+ $type: "pending" | "running" | "completed" | "failed" | "cancelled";
5973
5973
  }>;
5974
5974
  scheduledFor: drizzle_orm_pg_core220.PgColumn<{
5975
5975
  name: "scheduled_for";
@@ -6241,7 +6241,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6241
6241
  tableName: "scheduled_trigger_invocations";
6242
6242
  dataType: "string";
6243
6243
  columnType: "PgVarchar";
6244
- data: "pending" | "failed" | "running" | "completed" | "cancelled";
6244
+ data: "pending" | "running" | "completed" | "failed" | "cancelled";
6245
6245
  driverParam: string;
6246
6246
  notNull: true;
6247
6247
  hasDefault: false;
@@ -6254,7 +6254,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6254
6254
  generated: undefined;
6255
6255
  }, {}, {
6256
6256
  length: 50;
6257
- $type: "pending" | "failed" | "running" | "completed" | "cancelled";
6257
+ $type: "pending" | "running" | "completed" | "failed" | "cancelled";
6258
6258
  }>;
6259
6259
  scheduledFor: drizzle_orm_pg_core220.PgColumn<{
6260
6260
  name: "scheduled_for";
@@ -6474,7 +6474,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6474
6474
  }, {}, {
6475
6475
  length: 256;
6476
6476
  }>;
6477
- }, "id" | "createdAt" | "ref" | "status" | "agentId" | "projectId" | "tenantId" | "conversationIds" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6477
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "ref" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6478
6478
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6479
6479
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
6480
6480
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -6536,9 +6536,9 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentSc
6536
6536
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6537
6537
  status: z.ZodEnum<{
6538
6538
  pending: "pending";
6539
- failed: "failed";
6540
6539
  running: "running";
6541
6540
  completed: "completed";
6541
+ failed: "failed";
6542
6542
  cancelled: "cancelled";
6543
6543
  }>;
6544
6544
  }>, z.core.$strip>;
@@ -6562,12 +6562,12 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6562
6562
  hash: string;
6563
6563
  }>>>>;
6564
6564
  status: z.ZodString;
6565
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6566
6565
  scheduledTriggerId: z.ZodString;
6567
6566
  scheduledFor: z.ZodString;
6568
6567
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6569
6568
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6570
6569
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
6570
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6571
6571
  attemptNumber: z.ZodOptional<z.ZodInt>;
6572
6572
  idempotencyKey: z.ZodString;
6573
6573
  id: z.ZodString;
@@ -6593,12 +6593,12 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6593
6593
  hash: string;
6594
6594
  }>>>>>>;
6595
6595
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6596
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6597
6596
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6598
6597
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6599
6598
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6600
6599
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6601
6600
  resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
6601
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6602
6602
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
6603
6603
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6604
6604
  }, z.core.$strip>;
@@ -6725,8 +6725,10 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
6725
6725
  }>, z.core.$strip>;
6726
6726
  declare const TaskApiUpdateSchema: z.ZodObject<{
6727
6727
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6728
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6728
6729
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6729
6730
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6731
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6730
6732
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6731
6733
  type: z.ZodEnum<{
6732
6734
  commit: "commit";
@@ -6736,12 +6738,10 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
6736
6738
  name: z.ZodString;
6737
6739
  hash: z.ZodString;
6738
6740
  }, z.core.$strip>>>;
6739
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6740
6741
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6741
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6742
6742
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6743
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6744
6743
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6744
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6745
6745
  }, z.core.$strip>;
6746
6746
  declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6747
6747
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -7683,9 +7683,9 @@ declare const ToolInsertSchema: z.ZodObject<{
7683
7683
  id: z.ZodString;
7684
7684
  name: z.ZodString;
7685
7685
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7686
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7687
- projectId: z.ZodString;
7688
7686
  tenantId: z.ZodString;
7687
+ projectId: z.ZodString;
7688
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7689
7689
  config: z.ZodObject<{
7690
7690
  type: z.ZodLiteral<"mcp">;
7691
7691
  mcp: z.ZodObject<{
@@ -7846,8 +7846,12 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7846
7846
  }>, z.core.$strip>;
7847
7847
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7848
7848
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7849
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7850
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7849
7851
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7850
7852
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7853
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7854
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7851
7855
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7852
7856
  type: z.ZodEnum<{
7853
7857
  commit: "commit";
@@ -7858,10 +7862,6 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7858
7862
  hash: z.ZodString;
7859
7863
  }, z.core.$strip>>>;
7860
7864
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7861
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7862
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7863
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7864
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7865
7865
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7866
7866
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7867
7867
  }, z.core.$strip>;
@@ -8761,20 +8761,20 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
8761
8761
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8762
8762
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8763
8763
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8764
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8765
8764
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8765
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8766
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8766
8767
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8767
8768
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8768
8769
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8769
8770
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8770
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8771
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8772
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8773
8771
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8774
8772
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8775
8773
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8776
8774
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8775
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8777
8776
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8777
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8778
8778
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8779
8779
  }, z.core.$strip>;
8780
8780
  declare const ContextCacheSelectSchema: z.ZodObject<{
@@ -8903,8 +8903,10 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8903
8903
  }>, z.core.$strip>;
8904
8904
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8905
8905
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8906
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8906
8907
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8907
8908
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8909
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8908
8910
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8909
8911
  type: z.ZodEnum<{
8910
8912
  commit: "commit";
@@ -8914,8 +8916,6 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8914
8916
  name: z.ZodString;
8915
8917
  hash: z.ZodString;
8916
8918
  }, z.core.$strip>>>;
8917
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8918
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8919
8919
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8920
8920
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8921
8921
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -9773,17 +9773,17 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
9773
9773
  id: z.ZodString;
9774
9774
  }>, z.core.$strip>;
9775
9775
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9776
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9776
9777
  createdAt: z.ZodOptional<z.ZodString>;
9777
9778
  updatedAt: z.ZodOptional<z.ZodString>;
9778
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9779
9779
  conversationId: z.ZodString;
9780
9780
  evaluatorId: z.ZodString;
9781
9781
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9782
9782
  }, z.core.$strip>;
9783
9783
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9784
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9784
9785
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9785
9786
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9786
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9787
9787
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9788
9788
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9789
9789
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10260,26 +10260,26 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
10260
10260
  }>, z.core.$strip>;
10261
10261
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
10262
10262
  name: z.ZodString;
10263
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10263
10264
  createdAt: z.ZodOptional<z.ZodString>;
10264
10265
  updatedAt: z.ZodOptional<z.ZodString>;
10265
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10266
10266
  isActive: z.ZodOptional<z.ZodBoolean>;
10267
10267
  suiteConfigIds: z.ZodArray<z.ZodString>;
10268
10268
  }, z.core.$strip>;
10269
10269
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10270
10270
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10271
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10271
10272
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10272
10273
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10273
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10274
10274
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
10275
10275
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10276
10276
  }, z.core.$strip>;
10277
10277
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10278
10278
  id: z.ZodString;
10279
10279
  name: z.ZodString;
10280
+ description: z.ZodNullable<z.ZodString>;
10280
10281
  createdAt: z.ZodString;
10281
10282
  updatedAt: z.ZodString;
10282
- description: z.ZodNullable<z.ZodString>;
10283
10283
  isActive: z.ZodBoolean;
10284
10284
  suiteConfigIds: z.ZodArray<z.ZodString>;
10285
10285
  }, z.core.$strip>;
@@ -12437,10 +12437,8 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12437
12437
  }>, z.core.$strip>;
12438
12438
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12439
12439
  name: z.ZodString;
12440
- createdAt: z.ZodOptional<z.ZodString>;
12441
- updatedAt: z.ZodOptional<z.ZodString>;
12442
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12443
12440
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12441
+ prompt: z.ZodString;
12444
12442
  model: z.ZodType<{
12445
12443
  model?: string | undefined;
12446
12444
  providerOptions?: Record<string, any> | undefined;
@@ -12454,15 +12452,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12454
12452
  model?: string | undefined;
12455
12453
  providerOptions?: Record<string, any> | undefined;
12456
12454
  }>>;
12457
- prompt: z.ZodString;
12455
+ createdAt: z.ZodOptional<z.ZodString>;
12456
+ updatedAt: z.ZodOptional<z.ZodString>;
12457
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12458
12458
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12459
12459
  }, z.core.$strip>;
12460
12460
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12461
12461
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12462
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12463
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12464
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12465
12462
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12463
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12466
12464
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12467
12465
  model?: string | undefined;
12468
12466
  providerOptions?: Record<string, any> | undefined;
@@ -12476,7 +12474,9 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12476
12474
  model?: string | undefined;
12477
12475
  providerOptions?: Record<string, any> | undefined;
12478
12476
  }>>>>;
12479
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12477
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12478
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12479
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12480
12480
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12481
12481
  }, z.core.$strip>;
12482
12482
  declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -13279,9 +13279,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
13279
13279
  id: z.ZodString;
13280
13280
  }>, z.core.$strip>;
13281
13281
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
13282
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13282
13283
  createdAt: z.ZodOptional<z.ZodString>;
13283
13284
  updatedAt: z.ZodOptional<z.ZodString>;
13284
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13285
13285
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13286
13286
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13287
13287
  prompt: string;
@@ -13326,9 +13326,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
13326
13326
  }>>>>;
13327
13327
  }, z.core.$strip>;
13328
13328
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13329
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
13329
13330
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13330
13331
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13331
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
13332
13332
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
13333
13333
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
13334
13334
  prompt: string;
@@ -13373,8 +13373,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13373
13373
  }>>>>>>;
13374
13374
  }, z.core.$strip>;
13375
13375
  declare const DatasetRunItemSchema: z.ZodObject<{
13376
- id: z.ZodOptional<z.ZodString>;
13377
13376
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13377
+ id: z.ZodOptional<z.ZodString>;
13378
13378
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13379
13379
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13380
13380
  prompt: string;
@@ -13422,8 +13422,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
13422
13422
  declare const TriggerDatasetRunSchema: z.ZodObject<{
13423
13423
  datasetRunId: z.ZodString;
13424
13424
  items: z.ZodArray<z.ZodObject<{
13425
- id: z.ZodOptional<z.ZodString>;
13426
13425
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13426
+ id: z.ZodOptional<z.ZodString>;
13427
13427
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13428
13428
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13429
13429
  prompt: string;
@@ -13834,16 +13834,16 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
13834
13834
  }>, z.core.$strip>;
13835
13835
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
13836
13836
  name: z.ZodString;
13837
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13837
13838
  createdAt: z.ZodOptional<z.ZodString>;
13838
13839
  updatedAt: z.ZodOptional<z.ZodString>;
13839
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13840
13840
  datasetId: z.ZodString;
13841
13841
  }, z.core.$strip>;
13842
13842
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13843
13843
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13844
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13844
13845
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13845
13846
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13846
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13847
13847
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13848
13848
  }, z.core.$strip>;
13849
13849
  declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -14152,20 +14152,20 @@ declare const SkillSelectSchema: z.ZodObject<{
14152
14152
  }>;
14153
14153
  declare const SkillInsertSchema: z.ZodObject<{
14154
14154
  name: z.ZodString;
14155
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
14156
14155
  description: z.ZodString;
14157
- projectId: z.ZodString;
14158
14156
  tenantId: z.ZodString;
14157
+ projectId: z.ZodString;
14158
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
14159
14159
  content: z.ZodString;
14160
14160
  }, {
14161
14161
  out: {};
14162
14162
  in: {};
14163
14163
  }>;
14164
14164
  declare const SkillUpdateSchema: z.ZodObject<{
14165
- metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
14166
14165
  description: z.ZodOptional<z.ZodString>;
14167
- projectId: z.ZodOptional<z.ZodString>;
14168
14166
  tenantId: z.ZodOptional<z.ZodString>;
14167
+ projectId: z.ZodOptional<z.ZodString>;
14168
+ metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
14169
14169
  content: z.ZodOptional<z.ZodString>;
14170
14170
  }, {
14171
14171
  out: {};
@@ -14184,15 +14184,15 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
14184
14184
  }>, z.core.$strip>;
14185
14185
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
14186
14186
  name: z.ZodString;
14187
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
14188
14187
  description: z.ZodString;
14189
- projectId: z.ZodString;
14190
14188
  tenantId: z.ZodString;
14189
+ projectId: z.ZodString;
14190
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
14191
14191
  content: z.ZodString;
14192
14192
  }>, z.core.$strip>;
14193
14193
  declare const SkillApiUpdateSchema: z.ZodObject<{
14194
- metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
14195
14194
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14195
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
14196
14196
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14197
14197
  }, z.core.$strip>;
14198
14198
  declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -14572,8 +14572,8 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14572
14572
  id: z.ZodString;
14573
14573
  name: z.ZodString;
14574
14574
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14575
- projectId: z.ZodString;
14576
14575
  tenantId: z.ZodString;
14576
+ projectId: z.ZodString;
14577
14577
  props: z.ZodType<{
14578
14578
  [x: string]: unknown;
14579
14579
  type: "object";
@@ -14624,8 +14624,8 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
14624
14624
  id: z.ZodOptional<z.ZodString>;
14625
14625
  name: z.ZodOptional<z.ZodString>;
14626
14626
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14627
- projectId: z.ZodOptional<z.ZodString>;
14628
14627
  tenantId: z.ZodOptional<z.ZodString>;
14628
+ projectId: z.ZodOptional<z.ZodString>;
14629
14629
  props: z.ZodOptional<z.ZodType<{
14630
14630
  [x: string]: unknown;
14631
14631
  type: "object";
@@ -15302,7 +15302,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15302
15302
  }, {}, {
15303
15303
  length: 256;
15304
15304
  }>;
15305
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15305
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15306
15306
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15307
15307
  dataComponentId: z.ZodOptional<z.ZodString>;
15308
15308
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15901,9 +15901,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15901
15901
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15902
15902
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15903
15903
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15904
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15904
15905
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15905
15906
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15906
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15907
15907
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15908
15908
  [x: string]: unknown;
15909
15909
  type: "object";
@@ -16318,9 +16318,9 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
16318
16318
  }>, z.core.$strip>;
16319
16319
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
16320
16320
  agentId: z.ZodString;
16321
- subAgentId: z.ZodString;
16322
16321
  index: z.ZodInt;
16323
16322
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
16323
+ subAgentId: z.ZodString;
16324
16324
  skillId: z.ZodString;
16325
16325
  }, {
16326
16326
  out: {};
@@ -16330,18 +16330,18 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
16330
16330
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16331
16331
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16332
16332
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16333
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16334
16333
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
16335
16334
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
16335
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16336
16336
  skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16337
16337
  }, z.core.$strip>;
16338
16338
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
16339
16339
  id: z.ZodString;
16340
16340
  name: z.ZodString;
16341
+ description: z.ZodString;
16341
16342
  createdAt: z.ZodString;
16342
16343
  updatedAt: z.ZodString;
16343
16344
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
16344
- description: z.ZodString;
16345
16345
  content: z.ZodString;
16346
16346
  subAgentSkillId: z.ZodString;
16347
16347
  subAgentId: z.ZodString;
@@ -16366,10 +16366,10 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
16366
16366
  id: z.ZodString;
16367
16367
  name: z.ZodString;
16368
16368
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16369
- projectId: z.ZodString;
16370
16369
  tenantId: z.ZodString;
16371
- baseUrl: z.ZodURL;
16370
+ projectId: z.ZodString;
16372
16371
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16372
+ baseUrl: z.ZodURL;
16373
16373
  }, {
16374
16374
  out: {};
16375
16375
  in: {};
@@ -16378,10 +16378,10 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
16378
16378
  id: z.ZodOptional<z.ZodString>;
16379
16379
  name: z.ZodOptional<z.ZodString>;
16380
16380
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16381
- projectId: z.ZodOptional<z.ZodString>;
16382
16381
  tenantId: z.ZodOptional<z.ZodString>;
16383
- baseUrl: z.ZodOptional<z.ZodURL>;
16382
+ projectId: z.ZodOptional<z.ZodString>;
16384
16383
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16384
+ baseUrl: z.ZodOptional<z.ZodURL>;
16385
16385
  }, {
16386
16386
  out: {};
16387
16387
  in: {};
@@ -16401,24 +16401,24 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
16401
16401
  id: z.ZodString;
16402
16402
  name: z.ZodString;
16403
16403
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16404
- projectId: z.ZodString;
16405
16404
  tenantId: z.ZodString;
16406
- baseUrl: z.ZodURL;
16405
+ projectId: z.ZodString;
16407
16406
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16407
+ baseUrl: z.ZodURL;
16408
16408
  }>, z.core.$strip>;
16409
16409
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16410
16410
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16411
16411
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16412
16412
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16413
- baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
16414
16413
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16414
+ baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
16415
16415
  }, z.core.$strip>;
16416
16416
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16417
16417
  id: z.ZodString;
16418
16418
  name: z.ZodString;
16419
- createdAt: z.ZodString;
16420
- updatedAt: z.ZodString;
16421
16419
  description: z.ZodNullable<z.ZodString>;
16420
+ prompt: z.ZodNullable<z.ZodString>;
16421
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16422
16422
  models: z.ZodNullable<z.ZodType<{
16423
16423
  base?: {
16424
16424
  model?: string | undefined;
@@ -16472,7 +16472,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16472
16472
  providerOptions?: Record<string, any> | undefined;
16473
16473
  } | undefined;
16474
16474
  }>>>;
16475
- prompt: z.ZodNullable<z.ZodString>;
16476
16475
  stopWhen: z.ZodNullable<z.ZodType<{
16477
16476
  stepCountIs?: number | undefined;
16478
16477
  }, {
@@ -16482,16 +16481,17 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16482
16481
  }, {
16483
16482
  stepCountIs?: number | undefined;
16484
16483
  }>>>;
16485
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16484
+ createdAt: z.ZodString;
16485
+ updatedAt: z.ZodString;
16486
16486
  type: z.ZodLiteral<"internal">;
16487
16487
  }, z.core.$strip>, z.ZodObject<{
16488
16488
  id: z.ZodString;
16489
16489
  name: z.ZodString;
16490
+ description: z.ZodNullable<z.ZodString>;
16490
16491
  createdAt: z.ZodString;
16491
16492
  updatedAt: z.ZodString;
16492
- description: z.ZodNullable<z.ZodString>;
16493
- baseUrl: z.ZodString;
16494
16493
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16494
+ baseUrl: z.ZodString;
16495
16495
  type: z.ZodLiteral<"external">;
16496
16496
  }, z.core.$strip>], "type">;
16497
16497
  declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -16956,9 +16956,9 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
16956
16956
  }>;
16957
16957
  declare const ApiKeyUpdateSchema: z.ZodObject<{
16958
16958
  name: z.ZodOptional<z.ZodString>;
16959
+ agentId: z.ZodOptional<z.ZodString>;
16959
16960
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16960
16961
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16961
- agentId: z.ZodOptional<z.ZodString>;
16962
16962
  }, {
16963
16963
  out: {};
16964
16964
  in: {};
@@ -16966,10 +16966,10 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
16966
16966
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16967
16967
  id: z.ZodString;
16968
16968
  name: z.ZodNullable<z.ZodString>;
16969
+ agentId: z.ZodString;
16969
16970
  createdAt: z.ZodString;
16970
16971
  updatedAt: z.ZodString;
16971
16972
  expiresAt: z.ZodNullable<z.ZodString>;
16972
- agentId: z.ZodString;
16973
16973
  publicId: z.ZodString;
16974
16974
  keyPrefix: z.ZodString;
16975
16975
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -16982,10 +16982,10 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16982
16982
  apiKey: z.ZodObject<{
16983
16983
  id: z.ZodString;
16984
16984
  name: z.ZodNullable<z.ZodString>;
16985
+ agentId: z.ZodString;
16985
16986
  createdAt: z.ZodString;
16986
16987
  updatedAt: z.ZodString;
16987
16988
  expiresAt: z.ZodNullable<z.ZodString>;
16988
- agentId: z.ZodString;
16989
16989
  publicId: z.ZodString;
16990
16990
  keyPrefix: z.ZodString;
16991
16991
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -16998,19 +16998,19 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16998
16998
  }, z.core.$strip>;
16999
16999
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
17000
17000
  name: z.ZodString;
17001
+ agentId: z.ZodString;
17001
17002
  createdAt: z.ZodOptional<z.ZodString>;
17002
17003
  updatedAt: z.ZodOptional<z.ZodString>;
17003
17004
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17004
- agentId: z.ZodString;
17005
17005
  }, {
17006
17006
  out: {};
17007
17007
  in: {};
17008
17008
  }>;
17009
17009
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
17010
17010
  name: z.ZodOptional<z.ZodString>;
17011
+ agentId: z.ZodOptional<z.ZodString>;
17011
17012
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17012
17013
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17013
- agentId: z.ZodOptional<z.ZodString>;
17014
17014
  }, {
17015
17015
  out: {};
17016
17016
  in: {};
@@ -17592,14 +17592,11 @@ declare const AppInsertSchema: z.ZodObject<{
17592
17592
  }>;
17593
17593
  declare const AppUpdateSchema: z.ZodObject<{
17594
17594
  name: z.ZodOptional<z.ZodString>;
17595
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17596
17595
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17597
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17598
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17599
17596
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17600
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17601
- defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17602
- defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17597
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17598
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17599
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17603
17600
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
17604
17601
  type: z.ZodLiteral<"web_client">;
17605
17602
  webClient: z.ZodObject<{
@@ -17609,6 +17606,9 @@ declare const AppUpdateSchema: z.ZodObject<{
17609
17606
  type: z.ZodLiteral<"api">;
17610
17607
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
17611
17608
  }, z.core.$strip>], "type">>;
17609
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17610
+ defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17611
+ defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17612
17612
  }, {
17613
17613
  out: {};
17614
17614
  in: {};
@@ -18125,15 +18125,15 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
18125
18125
  }, {}, {}>;
18126
18126
  }, undefined>, undefined>;
18127
18127
  declare const AppApiResponseSelectSchema: z.ZodObject<{
18128
+ type: z.ZodString;
18128
18129
  id: z.ZodString;
18129
18130
  name: z.ZodString;
18131
+ description: z.ZodNullable<z.ZodString>;
18132
+ tenantId: z.ZodNullable<z.ZodString>;
18133
+ projectId: z.ZodNullable<z.ZodString>;
18130
18134
  createdAt: z.ZodString;
18131
18135
  updatedAt: z.ZodString;
18132
- description: z.ZodNullable<z.ZodString>;
18133
18136
  enabled: z.ZodBoolean;
18134
- type: z.ZodString;
18135
- projectId: z.ZodNullable<z.ZodString>;
18136
- tenantId: z.ZodNullable<z.ZodString>;
18137
18137
  lastUsedAt: z.ZodNullable<z.ZodString>;
18138
18138
  defaultProjectId: z.ZodNullable<z.ZodString>;
18139
18139
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -18151,19 +18151,17 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
18151
18151
  in: {};
18152
18152
  }>;
18153
18153
  declare const AppApiInsertSchema: z.ZodObject<{
18154
- name: z.ZodString;
18155
- createdAt: z.ZodOptional<z.ZodString>;
18156
- updatedAt: z.ZodOptional<z.ZodString>;
18157
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18158
- enabled: z.ZodOptional<z.ZodBoolean>;
18159
18154
  type: z.ZodEnum<{
18160
18155
  web_client: "web_client";
18161
18156
  api: "api";
18162
18157
  }>;
18163
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18158
+ name: z.ZodString;
18159
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18164
18160
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18165
- defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18166
- defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18161
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18162
+ createdAt: z.ZodOptional<z.ZodString>;
18163
+ updatedAt: z.ZodOptional<z.ZodString>;
18164
+ enabled: z.ZodOptional<z.ZodBoolean>;
18167
18165
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
18168
18166
  type: z.ZodLiteral<"web_client">;
18169
18167
  webClient: z.ZodObject<{
@@ -18173,20 +18171,19 @@ declare const AppApiInsertSchema: z.ZodObject<{
18173
18171
  type: z.ZodLiteral<"api">;
18174
18172
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
18175
18173
  }, z.core.$strip>], "type">;
18174
+ defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18175
+ defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18176
18176
  }, {
18177
18177
  out: {};
18178
18178
  in: {};
18179
18179
  }>;
18180
18180
  declare const AppApiUpdateSchema: z.ZodObject<{
18181
18181
  name: z.ZodOptional<z.ZodString>;
18182
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18183
18182
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18184
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18185
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18186
18183
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18187
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18188
- defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18189
- defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18184
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18185
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18186
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18190
18187
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18191
18188
  type: z.ZodLiteral<"web_client">;
18192
18189
  webClient: z.ZodObject<{
@@ -18196,6 +18193,9 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18196
18193
  type: z.ZodLiteral<"api">;
18197
18194
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
18198
18195
  }, z.core.$strip>], "type">>;
18196
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18197
+ defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18198
+ defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18199
18199
  }, {
18200
18200
  out: {};
18201
18201
  in: {};
@@ -18203,15 +18203,15 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18203
18203
  declare const AppApiCreationResponseSchema: z.ZodObject<{
18204
18204
  data: z.ZodObject<{
18205
18205
  app: z.ZodObject<{
18206
+ type: z.ZodString;
18206
18207
  id: z.ZodString;
18207
18208
  name: z.ZodString;
18209
+ description: z.ZodNullable<z.ZodString>;
18210
+ tenantId: z.ZodNullable<z.ZodString>;
18211
+ projectId: z.ZodNullable<z.ZodString>;
18208
18212
  createdAt: z.ZodString;
18209
18213
  updatedAt: z.ZodString;
18210
- description: z.ZodNullable<z.ZodString>;
18211
18214
  enabled: z.ZodBoolean;
18212
- type: z.ZodString;
18213
- projectId: z.ZodNullable<z.ZodString>;
18214
- tenantId: z.ZodNullable<z.ZodString>;
18215
18215
  lastUsedAt: z.ZodNullable<z.ZodString>;
18216
18216
  defaultProjectId: z.ZodNullable<z.ZodString>;
18217
18217
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -18682,13 +18682,13 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
18682
18682
  }>;
18683
18683
  }, undefined>, undefined>;
18684
18684
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
18685
+ type: z.ZodString;
18685
18686
  id: z.ZodString;
18686
18687
  name: z.ZodString;
18687
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18688
- type: z.ZodString;
18689
- projectId: z.ZodString;
18690
18688
  tenantId: z.ZodString;
18689
+ projectId: z.ZodString;
18691
18690
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18691
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18692
18692
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18693
18693
  credentialStoreId: z.ZodString;
18694
18694
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -18697,13 +18697,13 @@ declare const CredentialReferenceInsertSchema: z.ZodObject<{
18697
18697
  in: {};
18698
18698
  }>;
18699
18699
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
18700
+ type: z.ZodOptional<z.ZodString>;
18700
18701
  id: z.ZodOptional<z.ZodString>;
18701
18702
  name: z.ZodOptional<z.ZodString>;
18702
- userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18703
- type: z.ZodOptional<z.ZodString>;
18704
- projectId: z.ZodOptional<z.ZodString>;
18705
18703
  tenantId: z.ZodOptional<z.ZodString>;
18704
+ projectId: z.ZodOptional<z.ZodString>;
18706
18705
  toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18706
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18707
18707
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18708
18708
  credentialStoreId: z.ZodOptional<z.ZodString>;
18709
18709
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
@@ -18716,8 +18716,8 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
18716
18716
  name: z.ZodString;
18717
18717
  createdAt: z.ZodString;
18718
18718
  updatedAt: z.ZodString;
18719
- userId: z.ZodNullable<z.ZodString>;
18720
18719
  toolId: z.ZodNullable<z.ZodString>;
18720
+ userId: z.ZodNullable<z.ZodString>;
18721
18721
  createdBy: z.ZodNullable<z.ZodString>;
18722
18722
  credentialStoreId: z.ZodString;
18723
18723
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -19306,8 +19306,8 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19306
19306
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19307
19307
  id: z.ZodString;
19308
19308
  name: z.ZodString;
19309
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19310
19309
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19310
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19311
19311
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19312
19312
  credentialStoreId: z.ZodString;
19313
19313
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -19321,8 +19321,8 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19321
19321
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
19322
19322
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19323
19323
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19324
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19325
19324
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19325
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19326
19326
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19327
19327
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19328
19328
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
@@ -19393,9 +19393,9 @@ declare const McpToolSchema: z.ZodObject<{
19393
19393
  id: z.ZodString;
19394
19394
  name: z.ZodString;
19395
19395
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19396
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
19397
- projectId: z.ZodString;
19398
19396
  tenantId: z.ZodString;
19397
+ projectId: z.ZodString;
19398
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
19399
19399
  config: z.ZodObject<{
19400
19400
  type: z.ZodLiteral<"mcp">;
19401
19401
  mcp: z.ZodObject<{
@@ -19451,15 +19451,15 @@ declare const McpToolSchema: z.ZodObject<{
19451
19451
  declare const MCPToolConfigSchema: z.ZodObject<{
19452
19452
  id: z.ZodString;
19453
19453
  name: z.ZodString;
19454
- expiresAt: z.ZodOptional<z.ZodString>;
19455
19454
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
19455
+ expiresAt: z.ZodOptional<z.ZodString>;
19456
19456
  createdBy: z.ZodOptional<z.ZodString>;
19457
- relationshipId: z.ZodOptional<z.ZodString>;
19458
19457
  credentialScope: z.ZodOptional<z.ZodString>;
19459
19458
  imageUrl: z.ZodOptional<z.ZodString>;
19460
19459
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19461
19460
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19462
19461
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
19462
+ relationshipId: z.ZodOptional<z.ZodString>;
19463
19463
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
19464
19464
  name: z.ZodString;
19465
19465
  description: z.ZodOptional<z.ZodString>;
@@ -19487,8 +19487,8 @@ declare const MCPToolConfigSchema: z.ZodObject<{
19487
19487
  credential: z.ZodOptional<z.ZodObject<{
19488
19488
  id: z.ZodString;
19489
19489
  name: z.ZodString;
19490
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19491
19490
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19491
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19492
19492
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19493
19493
  credentialStoreId: z.ZodString;
19494
19494
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -19514,9 +19514,9 @@ declare const ToolUpdateSchema: z.ZodObject<{
19514
19514
  id: z.ZodOptional<z.ZodString>;
19515
19515
  name: z.ZodOptional<z.ZodString>;
19516
19516
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19517
- headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
19518
- projectId: z.ZodOptional<z.ZodString>;
19519
19517
  tenantId: z.ZodOptional<z.ZodString>;
19518
+ projectId: z.ZodOptional<z.ZodString>;
19519
+ headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
19520
19520
  config: z.ZodOptional<z.ZodObject<{
19521
19521
  type: z.ZodLiteral<"mcp">;
19522
19522
  mcp: z.ZodObject<{
@@ -19586,9 +19586,9 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
19586
19586
  id: z.ZodString;
19587
19587
  name: z.ZodString;
19588
19588
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19589
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
19590
- projectId: z.ZodString;
19591
19589
  tenantId: z.ZodString;
19590
+ projectId: z.ZodString;
19591
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
19592
19592
  config: z.ZodObject<{
19593
19593
  type: z.ZodLiteral<"mcp">;
19594
19594
  mcp: z.ZodObject<{
@@ -19997,9 +19997,9 @@ declare const FunctionToolInsertSchema: z.ZodObject<{
19997
19997
  id: z.ZodString;
19998
19998
  name: z.ZodString;
19999
19999
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20000
- agentId: z.ZodString;
20001
- projectId: z.ZodString;
20002
20000
  tenantId: z.ZodString;
20001
+ projectId: z.ZodString;
20002
+ agentId: z.ZodString;
20003
20003
  functionId: z.ZodString;
20004
20004
  }, {
20005
20005
  out: {};
@@ -20009,9 +20009,9 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
20009
20009
  id: z.ZodOptional<z.ZodString>;
20010
20010
  name: z.ZodOptional<z.ZodString>;
20011
20011
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20012
- agentId: z.ZodOptional<z.ZodString>;
20013
- projectId: z.ZodOptional<z.ZodString>;
20014
20012
  tenantId: z.ZodOptional<z.ZodString>;
20013
+ projectId: z.ZodOptional<z.ZodString>;
20014
+ agentId: z.ZodOptional<z.ZodString>;
20015
20015
  functionId: z.ZodOptional<z.ZodString>;
20016
20016
  }, {
20017
20017
  out: {};
@@ -20020,10 +20020,10 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
20020
20020
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
20021
20021
  id: z.ZodString;
20022
20022
  name: z.ZodString;
20023
- createdAt: z.ZodString;
20024
- updatedAt: z.ZodString;
20025
20023
  description: z.ZodNullable<z.ZodString>;
20026
20024
  agentId: z.ZodString;
20025
+ createdAt: z.ZodString;
20026
+ updatedAt: z.ZodString;
20027
20027
  functionId: z.ZodString;
20028
20028
  relationshipId: z.ZodOptional<z.ZodString>;
20029
20029
  }, z.core.$strip>;
@@ -20031,9 +20031,9 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
20031
20031
  id: z.ZodString;
20032
20032
  name: z.ZodString;
20033
20033
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20034
- agentId: z.ZodString;
20035
- projectId: z.ZodString;
20036
20034
  tenantId: z.ZodString;
20035
+ projectId: z.ZodString;
20036
+ agentId: z.ZodString;
20037
20037
  functionId: z.ZodString;
20038
20038
  }>, z.core.$strip>;
20039
20039
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
@@ -20414,9 +20414,9 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
20414
20414
  id: z.ZodString;
20415
20415
  }>, z.core.$strip>;
20416
20416
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
20417
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
20417
20418
  subAgentId: z.ZodString;
20418
20419
  functionToolId: z.ZodString;
20419
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
20420
20420
  }, {
20421
20421
  out: {};
20422
20422
  in: {};
@@ -20808,8 +20808,8 @@ declare const FetchDefinitionSchema: z.ZodObject<{
20808
20808
  credential: z.ZodOptional<z.ZodObject<{
20809
20809
  id: z.ZodString;
20810
20810
  name: z.ZodString;
20811
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20812
20811
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20812
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20813
20813
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20814
20814
  credentialStoreId: z.ZodString;
20815
20815
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -20836,22 +20836,22 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
20836
20836
  }>;
20837
20837
  declare const ContextConfigInsertSchema: z.ZodObject<{
20838
20838
  id: z.ZodOptional<z.ZodString>;
20839
+ tenantId: z.ZodString;
20840
+ projectId: z.ZodString;
20841
+ agentId: z.ZodString;
20839
20842
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
20840
20843
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
20841
- agentId: z.ZodString;
20842
- projectId: z.ZodString;
20843
- tenantId: z.ZodString;
20844
20844
  }, {
20845
20845
  out: {};
20846
20846
  in: {};
20847
20847
  }>;
20848
20848
  declare const ContextConfigUpdateSchema: z.ZodObject<{
20849
20849
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20850
+ tenantId: z.ZodOptional<z.ZodString>;
20851
+ projectId: z.ZodOptional<z.ZodString>;
20852
+ agentId: z.ZodOptional<z.ZodString>;
20850
20853
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
20851
20854
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
20852
- agentId: z.ZodOptional<z.ZodString>;
20853
- projectId: z.ZodOptional<z.ZodString>;
20854
- tenantId: z.ZodOptional<z.ZodString>;
20855
20855
  }, {
20856
20856
  out: {};
20857
20857
  in: {};
@@ -21362,12 +21362,12 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
21362
21362
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21363
21363
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21364
21364
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21365
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21366
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21367
21365
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21366
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21368
21367
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21369
21368
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21370
21369
  }, z.core.$strip>>>>>>;
21370
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21371
21371
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21372
21372
  }, z.core.$strip>;
21373
21373
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -21757,8 +21757,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
21757
21757
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21758
21758
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21759
21759
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21760
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21761
21760
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21761
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21762
21762
  }, z.core.$strip>;
21763
21763
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21764
21764
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -23491,7 +23491,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
23491
23491
  }, {}, {
23492
23492
  length: 256;
23493
23493
  }>;
23494
- }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "type" | "projectId" | "tenantId" | "taskId" | "toolCallId" | "contextId" | "visibility" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23494
+ }, "type" | "id" | "name" | "description" | "tenantId" | "projectId" | "createdAt" | "updatedAt" | "metadata" | "toolCallId" | "contextId" | "visibility" | "taskId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23495
23495
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
23496
23496
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23497
23497
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -23556,17 +23556,17 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
23556
23556
  id: z.ZodString;
23557
23557
  }>, z.core.$strip>;
23558
23558
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
23559
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23559
23560
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23560
23561
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23562
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23561
23563
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23562
23564
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23563
23565
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
23564
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23565
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23566
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23567
23566
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23568
23567
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23569
23568
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23569
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23570
23570
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
23571
23571
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23572
23572
  mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
@@ -23638,9 +23638,8 @@ declare const TeamAgentSchema: z.ZodObject<{
23638
23638
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
23639
23639
  id: z.ZodString;
23640
23640
  name: z.ZodString;
23641
- createdAt: z.ZodOptional<z.ZodString>;
23642
- updatedAt: z.ZodOptional<z.ZodString>;
23643
23641
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23642
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
23644
23643
  models: z.ZodOptional<z.ZodObject<{
23645
23644
  base: z.ZodOptional<z.ZodObject<{
23646
23645
  model: z.ZodOptional<z.ZodString>;
@@ -23655,7 +23654,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
23655
23654
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
23656
23655
  }, z.core.$strip>>;
23657
23656
  }, z.core.$strip>>;
23658
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
23657
+ createdAt: z.ZodOptional<z.ZodString>;
23658
+ updatedAt: z.ZodOptional<z.ZodString>;
23659
23659
  type: z.ZodLiteral<"internal">;
23660
23660
  canUse: z.ZodArray<z.ZodObject<{
23661
23661
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23697,9 +23697,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23697
23697
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23698
23698
  id: z.ZodString;
23699
23699
  name: z.ZodString;
23700
- createdAt: z.ZodOptional<z.ZodString>;
23701
- updatedAt: z.ZodOptional<z.ZodString>;
23702
23700
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23701
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
23703
23702
  models: z.ZodOptional<z.ZodObject<{
23704
23703
  base: z.ZodOptional<z.ZodObject<{
23705
23704
  model: z.ZodOptional<z.ZodString>;
@@ -23714,7 +23713,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23714
23713
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
23715
23714
  }, z.core.$strip>>;
23716
23715
  }, z.core.$strip>>;
23717
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
23716
+ createdAt: z.ZodOptional<z.ZodString>;
23717
+ updatedAt: z.ZodOptional<z.ZodString>;
23718
23718
  type: z.ZodLiteral<"internal">;
23719
23719
  canUse: z.ZodArray<z.ZodObject<{
23720
23720
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23751,9 +23751,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23751
23751
  id: z.ZodString;
23752
23752
  name: z.ZodString;
23753
23753
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23754
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
23755
- projectId: z.ZodString;
23756
23754
  tenantId: z.ZodString;
23755
+ projectId: z.ZodString;
23756
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
23757
23757
  config: z.ZodObject<{
23758
23758
  type: z.ZodLiteral<"mcp">;
23759
23759
  mcp: z.ZodObject<{
@@ -23791,10 +23791,10 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23791
23791
  id: z.ZodString;
23792
23792
  name: z.ZodString;
23793
23793
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23794
- projectId: z.ZodString;
23795
23794
  tenantId: z.ZodString;
23796
- baseUrl: z.ZodURL;
23795
+ projectId: z.ZodString;
23797
23796
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23797
+ baseUrl: z.ZodURL;
23798
23798
  }>, z.core.$strip>>>;
23799
23799
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23800
23800
  id: z.ZodString;
@@ -23805,9 +23805,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23805
23805
  id: z.ZodString;
23806
23806
  name: z.ZodString;
23807
23807
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23808
- agentId: z.ZodString;
23809
- projectId: z.ZodString;
23810
23808
  tenantId: z.ZodString;
23809
+ projectId: z.ZodString;
23810
+ agentId: z.ZodString;
23811
23811
  functionId: z.ZodString;
23812
23812
  }>, z.core.$strip>>>;
23813
23813
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -23821,10 +23821,10 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23821
23821
  name: z.ZodString;
23822
23822
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23823
23823
  enabled: z.ZodOptional<z.ZodBoolean>;
23824
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23825
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23826
23824
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23827
23825
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23826
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23827
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23828
23828
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23829
23829
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23830
23830
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23834,7 +23834,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23834
23834
  name: z.ZodString;
23835
23835
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23836
23836
  enabled: z.ZodOptional<z.ZodBoolean>;
23837
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23838
23837
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23839
23838
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23840
23839
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23844,6 +23843,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23844
23843
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
23845
23844
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
23846
23845
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23846
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23847
23847
  id: z.ZodOptional<z.ZodString>;
23848
23848
  }, z.core.$strip>>>;
23849
23849
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -23999,8 +23999,6 @@ declare const ProjectUpdateSchema: z.ZodObject<{
23999
23999
  declare const ProjectApiSelectSchema: z.ZodObject<{
24000
24000
  id: z.ZodString;
24001
24001
  name: z.ZodString;
24002
- createdAt: z.ZodString;
24003
- updatedAt: z.ZodString;
24004
24002
  description: z.ZodNullable<z.ZodString>;
24005
24003
  models: z.ZodNullable<z.ZodObject<{
24006
24004
  base: z.ZodObject<{
@@ -24020,6 +24018,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
24020
24018
  transferCountIs: z.ZodOptional<z.ZodNumber>;
24021
24019
  stepCountIs: z.ZodOptional<z.ZodNumber>;
24022
24020
  }, z.core.$strip>>;
24021
+ createdAt: z.ZodString;
24022
+ updatedAt: z.ZodString;
24023
24023
  }, {
24024
24024
  out: {};
24025
24025
  in: {};
@@ -24106,9 +24106,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24106
24106
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24107
24107
  id: z.ZodString;
24108
24108
  name: z.ZodString;
24109
- createdAt: z.ZodOptional<z.ZodString>;
24110
- updatedAt: z.ZodOptional<z.ZodString>;
24111
24109
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24110
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24112
24111
  models: z.ZodOptional<z.ZodObject<{
24113
24112
  base: z.ZodOptional<z.ZodObject<{
24114
24113
  model: z.ZodOptional<z.ZodString>;
@@ -24123,7 +24122,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24123
24122
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24124
24123
  }, z.core.$strip>>;
24125
24124
  }, z.core.$strip>>;
24126
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24125
+ createdAt: z.ZodOptional<z.ZodString>;
24126
+ updatedAt: z.ZodOptional<z.ZodString>;
24127
24127
  type: z.ZodLiteral<"internal">;
24128
24128
  canUse: z.ZodArray<z.ZodObject<{
24129
24129
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24160,9 +24160,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24160
24160
  id: z.ZodString;
24161
24161
  name: z.ZodString;
24162
24162
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24163
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
24164
- projectId: z.ZodString;
24165
24163
  tenantId: z.ZodString;
24164
+ projectId: z.ZodString;
24165
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
24166
24166
  config: z.ZodObject<{
24167
24167
  type: z.ZodLiteral<"mcp">;
24168
24168
  mcp: z.ZodObject<{
@@ -24200,10 +24200,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24200
24200
  id: z.ZodString;
24201
24201
  name: z.ZodString;
24202
24202
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24203
- projectId: z.ZodString;
24204
24203
  tenantId: z.ZodString;
24205
- baseUrl: z.ZodURL;
24204
+ projectId: z.ZodString;
24206
24205
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24206
+ baseUrl: z.ZodURL;
24207
24207
  }>, z.core.$strip>>>;
24208
24208
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24209
24209
  id: z.ZodString;
@@ -24214,9 +24214,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24214
24214
  id: z.ZodString;
24215
24215
  name: z.ZodString;
24216
24216
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24217
- agentId: z.ZodString;
24218
- projectId: z.ZodString;
24219
24217
  tenantId: z.ZodString;
24218
+ projectId: z.ZodString;
24219
+ agentId: z.ZodString;
24220
24220
  functionId: z.ZodString;
24221
24221
  }>, z.core.$strip>>>;
24222
24222
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -24230,10 +24230,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24230
24230
  name: z.ZodString;
24231
24231
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24232
24232
  enabled: z.ZodOptional<z.ZodBoolean>;
24233
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24234
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24235
24233
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24236
24234
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24235
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24236
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24237
24237
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24238
24238
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24239
24239
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24243,7 +24243,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24243
24243
  name: z.ZodString;
24244
24244
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24245
24245
  enabled: z.ZodOptional<z.ZodBoolean>;
24246
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24247
24246
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24248
24247
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24249
24248
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24253,6 +24252,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24253
24252
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
24254
24253
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
24255
24254
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24255
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24256
24256
  id: z.ZodOptional<z.ZodString>;
24257
24257
  }, z.core.$strip>>>;
24258
24258
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -24298,9 +24298,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24298
24298
  id: z.ZodString;
24299
24299
  name: z.ZodString;
24300
24300
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24301
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
24302
- projectId: z.ZodString;
24303
24301
  tenantId: z.ZodString;
24302
+ projectId: z.ZodString;
24303
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
24304
24304
  config: z.ZodObject<{
24305
24305
  type: z.ZodLiteral<"mcp">;
24306
24306
  mcp: z.ZodObject<{
@@ -24338,9 +24338,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24338
24338
  id: z.ZodString;
24339
24339
  name: z.ZodString;
24340
24340
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24341
- agentId: z.ZodString;
24342
- projectId: z.ZodString;
24343
24341
  tenantId: z.ZodString;
24342
+ projectId: z.ZodString;
24343
+ agentId: z.ZodString;
24344
24344
  functionId: z.ZodString;
24345
24345
  }>, z.core.$strip>>>;
24346
24346
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -24351,10 +24351,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24351
24351
  }, z.core.$strip>>>;
24352
24352
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24353
24353
  name: z.ZodString;
24354
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
24355
24354
  description: z.ZodString;
24356
- projectId: z.ZodString;
24357
24355
  tenantId: z.ZodString;
24356
+ projectId: z.ZodString;
24357
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
24358
24358
  content: z.ZodString;
24359
24359
  }>, z.core.$strip>>>;
24360
24360
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -24414,10 +24414,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24414
24414
  id: z.ZodString;
24415
24415
  name: z.ZodString;
24416
24416
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24417
- projectId: z.ZodString;
24418
24417
  tenantId: z.ZodString;
24419
- baseUrl: z.ZodURL;
24418
+ projectId: z.ZodString;
24420
24419
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24420
+ baseUrl: z.ZodURL;
24421
24421
  }>, z.core.$strip>>>;
24422
24422
  statusUpdates: z.ZodOptional<z.ZodObject<{
24423
24423
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -24437,8 +24437,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24437
24437
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24438
24438
  id: z.ZodString;
24439
24439
  name: z.ZodString;
24440
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24441
24440
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24441
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24442
24442
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24443
24443
  credentialStoreId: z.ZodString;
24444
24444
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -24458,9 +24458,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24458
24458
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
24459
24459
  id: z.ZodString;
24460
24460
  name: z.ZodString;
24461
- createdAt: z.ZodString;
24462
- updatedAt: z.ZodString;
24463
24461
  description: z.ZodNullable<z.ZodString>;
24462
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
24464
24463
  models: z.ZodNullable<z.ZodType<{
24465
24464
  base?: {
24466
24465
  model?: string | undefined;
@@ -24523,7 +24522,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
24523
24522
  }, {
24524
24523
  stepCountIs?: number | undefined;
24525
24524
  }>>>;
24526
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
24525
+ createdAt: z.ZodString;
24526
+ updatedAt: z.ZodString;
24527
24527
  type: z.ZodLiteral<"internal">;
24528
24528
  canUse: z.ZodArray<z.ZodObject<{
24529
24529
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24551,9 +24551,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
24551
24551
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
24552
24552
  id: z.ZodString;
24553
24553
  name: z.ZodString;
24554
- createdAt: z.ZodString;
24555
- updatedAt: z.ZodString;
24556
24554
  description: z.ZodNullable<z.ZodString>;
24555
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
24557
24556
  models: z.ZodNullable<z.ZodType<{
24558
24557
  base?: {
24559
24558
  model?: string | undefined;
@@ -24616,7 +24615,8 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
24616
24615
  }, {
24617
24616
  stepCountIs?: number | undefined;
24618
24617
  }>>>;
24619
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
24618
+ createdAt: z.ZodString;
24619
+ updatedAt: z.ZodString;
24620
24620
  type: z.ZodLiteral<"internal">;
24621
24621
  canUse: z.ZodArray<z.ZodObject<{
24622
24622
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24650,17 +24650,16 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
24650
24650
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
24651
24651
  id: z.ZodString;
24652
24652
  name: z.ZodString;
24653
- createdAt: z.ZodString;
24654
- updatedAt: z.ZodString;
24655
24653
  description: z.ZodNullable<z.ZodString>;
24656
24654
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
24655
+ createdAt: z.ZodString;
24656
+ updatedAt: z.ZodString;
24657
24657
  contextConfigId: z.ZodNullable<z.ZodString>;
24658
24658
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24659
24659
  id: z.ZodString;
24660
24660
  name: z.ZodString;
24661
- createdAt: z.ZodString;
24662
- updatedAt: z.ZodString;
24663
24661
  description: z.ZodNullable<z.ZodString>;
24662
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
24664
24663
  models: z.ZodNullable<z.ZodType<{
24665
24664
  base?: {
24666
24665
  model?: string | undefined;
@@ -24723,7 +24722,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
24723
24722
  }, {
24724
24723
  stepCountIs?: number | undefined;
24725
24724
  }>>>;
24726
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
24725
+ createdAt: z.ZodString;
24726
+ updatedAt: z.ZodString;
24727
24727
  type: z.ZodLiteral<"internal">;
24728
24728
  canUse: z.ZodArray<z.ZodObject<{
24729
24729
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24796,10 +24796,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
24796
24796
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24797
24797
  id: z.ZodString;
24798
24798
  name: z.ZodString;
24799
- createdAt: z.ZodString;
24800
- updatedAt: z.ZodString;
24801
24799
  description: z.ZodNullable<z.ZodString>;
24802
24800
  agentId: z.ZodString;
24801
+ createdAt: z.ZodString;
24802
+ updatedAt: z.ZodString;
24803
24803
  functionId: z.ZodString;
24804
24804
  relationshipId: z.ZodOptional<z.ZodString>;
24805
24805
  }, z.core.$strip>>>;
@@ -24878,10 +24878,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
24878
24878
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
24879
24879
  id: z.ZodString;
24880
24880
  name: z.ZodString;
24881
- createdAt: z.ZodString;
24882
- updatedAt: z.ZodString;
24883
24881
  description: z.ZodNullable<z.ZodString>;
24884
24882
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
24883
+ createdAt: z.ZodString;
24884
+ updatedAt: z.ZodString;
24885
24885
  contextConfigId: z.ZodNullable<z.ZodString>;
24886
24886
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24887
24887
  createdAt: z.ZodString;
@@ -24931,10 +24931,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
24931
24931
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24932
24932
  id: z.ZodString;
24933
24933
  name: z.ZodString;
24934
- createdAt: z.ZodString;
24935
- updatedAt: z.ZodString;
24936
24934
  description: z.ZodNullable<z.ZodString>;
24937
24935
  agentId: z.ZodString;
24936
+ createdAt: z.ZodString;
24937
+ updatedAt: z.ZodString;
24938
24938
  functionId: z.ZodString;
24939
24939
  relationshipId: z.ZodOptional<z.ZodString>;
24940
24940
  }, z.core.$strip>>>;
@@ -25012,9 +25012,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25012
25012
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25013
25013
  id: z.ZodString;
25014
25014
  name: z.ZodString;
25015
- createdAt: z.ZodString;
25016
- updatedAt: z.ZodString;
25017
25015
  description: z.ZodNullable<z.ZodString>;
25016
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25018
25017
  models: z.ZodNullable<z.ZodType<{
25019
25018
  base?: {
25020
25019
  model?: string | undefined;
@@ -25077,7 +25076,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25077
25076
  }, {
25078
25077
  stepCountIs?: number | undefined;
25079
25078
  }>>>;
25080
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25079
+ createdAt: z.ZodString;
25080
+ updatedAt: z.ZodString;
25081
25081
  type: z.ZodLiteral<"internal">;
25082
25082
  canUse: z.ZodArray<z.ZodObject<{
25083
25083
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25112,8 +25112,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25112
25112
  declare const FullProjectSelectSchema: z.ZodObject<{
25113
25113
  id: z.ZodString;
25114
25114
  name: z.ZodString;
25115
- createdAt: z.ZodString;
25116
- updatedAt: z.ZodString;
25117
25115
  description: z.ZodNullable<z.ZodString>;
25118
25116
  models: z.ZodNullable<z.ZodObject<{
25119
25117
  base: z.ZodObject<{
@@ -25133,20 +25131,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25133
25131
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25134
25132
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25135
25133
  }, z.core.$strip>>;
25134
+ createdAt: z.ZodString;
25135
+ updatedAt: z.ZodString;
25136
25136
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25137
25137
  id: z.ZodString;
25138
25138
  name: z.ZodString;
25139
- createdAt: z.ZodString;
25140
- updatedAt: z.ZodString;
25141
25139
  description: z.ZodNullable<z.ZodString>;
25142
25140
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25141
+ createdAt: z.ZodString;
25142
+ updatedAt: z.ZodString;
25143
25143
  contextConfigId: z.ZodNullable<z.ZodString>;
25144
25144
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25145
25145
  id: z.ZodString;
25146
25146
  name: z.ZodString;
25147
- createdAt: z.ZodString;
25148
- updatedAt: z.ZodString;
25149
25147
  description: z.ZodNullable<z.ZodString>;
25148
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25150
25149
  models: z.ZodNullable<z.ZodType<{
25151
25150
  base?: {
25152
25151
  model?: string | undefined;
@@ -25209,7 +25208,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25209
25208
  }, {
25210
25209
  stepCountIs?: number | undefined;
25211
25210
  }>>>;
25212
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25211
+ createdAt: z.ZodString;
25212
+ updatedAt: z.ZodString;
25213
25213
  type: z.ZodLiteral<"internal">;
25214
25214
  canUse: z.ZodArray<z.ZodObject<{
25215
25215
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25282,10 +25282,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25282
25282
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25283
25283
  id: z.ZodString;
25284
25284
  name: z.ZodString;
25285
- createdAt: z.ZodString;
25286
- updatedAt: z.ZodString;
25287
25285
  description: z.ZodNullable<z.ZodString>;
25288
25286
  agentId: z.ZodString;
25287
+ createdAt: z.ZodString;
25288
+ updatedAt: z.ZodString;
25289
25289
  functionId: z.ZodString;
25290
25290
  relationshipId: z.ZodOptional<z.ZodString>;
25291
25291
  }, z.core.$strip>>>;
@@ -25393,10 +25393,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25393
25393
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25394
25394
  id: z.ZodString;
25395
25395
  name: z.ZodString;
25396
- createdAt: z.ZodString;
25397
- updatedAt: z.ZodString;
25398
25396
  description: z.ZodNullable<z.ZodString>;
25399
25397
  agentId: z.ZodString;
25398
+ createdAt: z.ZodString;
25399
+ updatedAt: z.ZodString;
25400
25400
  functionId: z.ZodString;
25401
25401
  relationshipId: z.ZodOptional<z.ZodString>;
25402
25402
  }, z.core.$strip>>>;
@@ -25543,8 +25543,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25543
25543
  name: z.ZodString;
25544
25544
  createdAt: z.ZodString;
25545
25545
  updatedAt: z.ZodString;
25546
- userId: z.ZodNullable<z.ZodString>;
25547
25546
  toolId: z.ZodNullable<z.ZodString>;
25547
+ userId: z.ZodNullable<z.ZodString>;
25548
25548
  createdBy: z.ZodNullable<z.ZodString>;
25549
25549
  credentialStoreId: z.ZodString;
25550
25550
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -26137,8 +26137,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26137
26137
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26138
26138
  id: z.ZodString;
26139
26139
  name: z.ZodString;
26140
- createdAt: z.ZodString;
26141
- updatedAt: z.ZodString;
26142
26140
  description: z.ZodNullable<z.ZodString>;
26143
26141
  models: z.ZodNullable<z.ZodObject<{
26144
26142
  base: z.ZodObject<{
@@ -26158,6 +26156,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26158
26156
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26159
26157
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26160
26158
  }, z.core.$strip>>;
26159
+ createdAt: z.ZodString;
26160
+ updatedAt: z.ZodString;
26161
26161
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26162
26162
  createdAt: z.ZodString;
26163
26163
  updatedAt: z.ZodString;
@@ -26190,10 +26190,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26190
26190
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26191
26191
  id: z.ZodString;
26192
26192
  name: z.ZodString;
26193
- createdAt: z.ZodString;
26194
- updatedAt: z.ZodString;
26195
26193
  description: z.ZodNullable<z.ZodString>;
26196
26194
  agentId: z.ZodString;
26195
+ createdAt: z.ZodString;
26196
+ updatedAt: z.ZodString;
26197
26197
  functionId: z.ZodString;
26198
26198
  relationshipId: z.ZodOptional<z.ZodString>;
26199
26199
  }, z.core.$strip>>>;
@@ -26340,8 +26340,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26340
26340
  name: z.ZodString;
26341
26341
  createdAt: z.ZodString;
26342
26342
  updatedAt: z.ZodString;
26343
- userId: z.ZodNullable<z.ZodString>;
26344
26343
  toolId: z.ZodNullable<z.ZodString>;
26344
+ userId: z.ZodNullable<z.ZodString>;
26345
26345
  createdBy: z.ZodNullable<z.ZodString>;
26346
26346
  credentialStoreId: z.ZodString;
26347
26347
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -26930,10 +26930,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26930
26930
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26931
26931
  id: z.ZodString;
26932
26932
  name: z.ZodString;
26933
- createdAt: z.ZodString;
26934
- updatedAt: z.ZodString;
26935
26933
  description: z.ZodNullable<z.ZodString>;
26936
26934
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26935
+ createdAt: z.ZodString;
26936
+ updatedAt: z.ZodString;
26937
26937
  contextConfigId: z.ZodNullable<z.ZodString>;
26938
26938
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26939
26939
  createdAt: z.ZodString;
@@ -26983,10 +26983,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26983
26983
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26984
26984
  id: z.ZodString;
26985
26985
  name: z.ZodString;
26986
- createdAt: z.ZodString;
26987
- updatedAt: z.ZodString;
26988
26986
  description: z.ZodNullable<z.ZodString>;
26989
26987
  agentId: z.ZodString;
26988
+ createdAt: z.ZodString;
26989
+ updatedAt: z.ZodString;
26990
26990
  functionId: z.ZodString;
26991
26991
  relationshipId: z.ZodOptional<z.ZodString>;
26992
26992
  }, z.core.$strip>>>;
@@ -27064,9 +27064,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27064
27064
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27065
27065
  id: z.ZodString;
27066
27066
  name: z.ZodString;
27067
- createdAt: z.ZodString;
27068
- updatedAt: z.ZodString;
27069
27067
  description: z.ZodNullable<z.ZodString>;
27068
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27070
27069
  models: z.ZodNullable<z.ZodType<{
27071
27070
  base?: {
27072
27071
  model?: string | undefined;
@@ -27129,7 +27128,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27129
27128
  }, {
27130
27129
  stepCountIs?: number | undefined;
27131
27130
  }>>>;
27132
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27131
+ createdAt: z.ZodString;
27132
+ updatedAt: z.ZodString;
27133
27133
  type: z.ZodLiteral<"internal">;
27134
27134
  canUse: z.ZodArray<z.ZodObject<{
27135
27135
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27169,8 +27169,6 @@ declare const ProjectResponse: z.ZodObject<{
27169
27169
  data: z.ZodObject<{
27170
27170
  id: z.ZodString;
27171
27171
  name: z.ZodString;
27172
- createdAt: z.ZodString;
27173
- updatedAt: z.ZodString;
27174
27172
  description: z.ZodNullable<z.ZodString>;
27175
27173
  models: z.ZodNullable<z.ZodObject<{
27176
27174
  base: z.ZodObject<{
@@ -27190,6 +27188,8 @@ declare const ProjectResponse: z.ZodObject<{
27190
27188
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27191
27189
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27192
27190
  }, z.core.$strip>>;
27191
+ createdAt: z.ZodString;
27192
+ updatedAt: z.ZodString;
27193
27193
  }, {
27194
27194
  out: {};
27195
27195
  in: {};
@@ -27430,10 +27430,10 @@ declare const ApiKeyResponse: z.ZodObject<{
27430
27430
  data: z.ZodObject<{
27431
27431
  id: z.ZodString;
27432
27432
  name: z.ZodNullable<z.ZodString>;
27433
+ agentId: z.ZodString;
27433
27434
  createdAt: z.ZodString;
27434
27435
  updatedAt: z.ZodString;
27435
27436
  expiresAt: z.ZodNullable<z.ZodString>;
27436
- agentId: z.ZodString;
27437
27437
  publicId: z.ZodString;
27438
27438
  keyPrefix: z.ZodString;
27439
27439
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -27448,8 +27448,8 @@ declare const CredentialReferenceResponse: z.ZodObject<{
27448
27448
  name: z.ZodString;
27449
27449
  createdAt: z.ZodString;
27450
27450
  updatedAt: z.ZodString;
27451
- userId: z.ZodNullable<z.ZodString>;
27452
27451
  toolId: z.ZodNullable<z.ZodString>;
27452
+ userId: z.ZodNullable<z.ZodString>;
27453
27453
  createdBy: z.ZodNullable<z.ZodString>;
27454
27454
  credentialStoreId: z.ZodString;
27455
27455
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -28052,10 +28052,10 @@ declare const FunctionToolResponse: z.ZodObject<{
28052
28052
  data: z.ZodObject<{
28053
28053
  id: z.ZodString;
28054
28054
  name: z.ZodString;
28055
- createdAt: z.ZodString;
28056
- updatedAt: z.ZodString;
28057
28055
  description: z.ZodNullable<z.ZodString>;
28058
28056
  agentId: z.ZodString;
28057
+ createdAt: z.ZodString;
28058
+ updatedAt: z.ZodString;
28059
28059
  functionId: z.ZodString;
28060
28060
  relationshipId: z.ZodOptional<z.ZodString>;
28061
28061
  }, z.core.$strip>;
@@ -28300,8 +28300,6 @@ declare const ProjectListResponse: z.ZodObject<{
28300
28300
  data: z.ZodArray<z.ZodObject<{
28301
28301
  id: z.ZodString;
28302
28302
  name: z.ZodString;
28303
- createdAt: z.ZodString;
28304
- updatedAt: z.ZodString;
28305
28303
  description: z.ZodNullable<z.ZodString>;
28306
28304
  models: z.ZodNullable<z.ZodObject<{
28307
28305
  base: z.ZodObject<{
@@ -28321,6 +28319,8 @@ declare const ProjectListResponse: z.ZodObject<{
28321
28319
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28322
28320
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28323
28321
  }, z.core.$strip>>;
28322
+ createdAt: z.ZodString;
28323
+ updatedAt: z.ZodString;
28324
28324
  }, {
28325
28325
  out: {};
28326
28326
  in: {};
@@ -28591,10 +28591,10 @@ declare const ApiKeyListResponse: z.ZodObject<{
28591
28591
  data: z.ZodArray<z.ZodObject<{
28592
28592
  id: z.ZodString;
28593
28593
  name: z.ZodNullable<z.ZodString>;
28594
+ agentId: z.ZodString;
28594
28595
  createdAt: z.ZodString;
28595
28596
  updatedAt: z.ZodString;
28596
28597
  expiresAt: z.ZodNullable<z.ZodString>;
28597
- agentId: z.ZodString;
28598
28598
  publicId: z.ZodString;
28599
28599
  keyPrefix: z.ZodString;
28600
28600
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -28611,15 +28611,15 @@ declare const ApiKeyListResponse: z.ZodObject<{
28611
28611
  }, z.core.$strip>;
28612
28612
  declare const AppResponse: z.ZodObject<{
28613
28613
  data: z.ZodObject<{
28614
+ type: z.ZodString;
28614
28615
  id: z.ZodString;
28615
28616
  name: z.ZodString;
28617
+ description: z.ZodNullable<z.ZodString>;
28618
+ tenantId: z.ZodNullable<z.ZodString>;
28619
+ projectId: z.ZodNullable<z.ZodString>;
28616
28620
  createdAt: z.ZodString;
28617
28621
  updatedAt: z.ZodString;
28618
- description: z.ZodNullable<z.ZodString>;
28619
28622
  enabled: z.ZodBoolean;
28620
- type: z.ZodString;
28621
- projectId: z.ZodNullable<z.ZodString>;
28622
- tenantId: z.ZodNullable<z.ZodString>;
28623
28623
  lastUsedAt: z.ZodNullable<z.ZodString>;
28624
28624
  defaultProjectId: z.ZodNullable<z.ZodString>;
28625
28625
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -28639,15 +28639,15 @@ declare const AppResponse: z.ZodObject<{
28639
28639
  }, z.core.$strip>;
28640
28640
  declare const AppListResponse: z.ZodObject<{
28641
28641
  data: z.ZodArray<z.ZodObject<{
28642
+ type: z.ZodString;
28642
28643
  id: z.ZodString;
28643
28644
  name: z.ZodString;
28645
+ description: z.ZodNullable<z.ZodString>;
28646
+ tenantId: z.ZodNullable<z.ZodString>;
28647
+ projectId: z.ZodNullable<z.ZodString>;
28644
28648
  createdAt: z.ZodString;
28645
28649
  updatedAt: z.ZodString;
28646
- description: z.ZodNullable<z.ZodString>;
28647
28650
  enabled: z.ZodBoolean;
28648
- type: z.ZodString;
28649
- projectId: z.ZodNullable<z.ZodString>;
28650
- tenantId: z.ZodNullable<z.ZodString>;
28651
28651
  lastUsedAt: z.ZodNullable<z.ZodString>;
28652
28652
  defaultProjectId: z.ZodNullable<z.ZodString>;
28653
28653
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -28677,8 +28677,8 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
28677
28677
  name: z.ZodString;
28678
28678
  createdAt: z.ZodString;
28679
28679
  updatedAt: z.ZodString;
28680
- userId: z.ZodNullable<z.ZodString>;
28681
28680
  toolId: z.ZodNullable<z.ZodString>;
28681
+ userId: z.ZodNullable<z.ZodString>;
28682
28682
  createdBy: z.ZodNullable<z.ZodString>;
28683
28683
  credentialStoreId: z.ZodString;
28684
28684
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -29293,10 +29293,10 @@ declare const FunctionToolListResponse: z.ZodObject<{
29293
29293
  data: z.ZodArray<z.ZodObject<{
29294
29294
  id: z.ZodString;
29295
29295
  name: z.ZodString;
29296
- createdAt: z.ZodString;
29297
- updatedAt: z.ZodString;
29298
29296
  description: z.ZodNullable<z.ZodString>;
29299
29297
  agentId: z.ZodString;
29298
+ createdAt: z.ZodString;
29299
+ updatedAt: z.ZodString;
29300
29300
  functionId: z.ZodString;
29301
29301
  relationshipId: z.ZodOptional<z.ZodString>;
29302
29302
  }, z.core.$strip>>;
@@ -29621,14 +29621,14 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29621
29621
  data: z.ZodObject<{
29622
29622
  id: z.ZodString;
29623
29623
  name: z.ZodString;
29624
+ description: z.ZodNullable<z.ZodString>;
29624
29625
  createdAt: z.ZodString;
29625
29626
  updatedAt: z.ZodString;
29626
- description: z.ZodNullable<z.ZodString>;
29627
29627
  enabled: z.ZodBoolean;
29628
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29629
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29630
29628
  messageTemplate: z.ZodNullable<z.ZodString>;
29631
29629
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29630
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29631
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29632
29632
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29633
29633
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29634
29634
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -29684,14 +29684,14 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
29684
29684
  data: z.ZodObject<{
29685
29685
  id: z.ZodString;
29686
29686
  name: z.ZodString;
29687
+ description: z.ZodNullable<z.ZodString>;
29687
29688
  createdAt: z.ZodString;
29688
29689
  updatedAt: z.ZodString;
29689
- description: z.ZodNullable<z.ZodString>;
29690
29690
  enabled: z.ZodBoolean;
29691
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29692
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29693
29691
  messageTemplate: z.ZodNullable<z.ZodString>;
29694
29692
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29693
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29694
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29695
29695
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29696
29696
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29697
29697
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -29748,14 +29748,14 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
29748
29748
  data: z.ZodArray<z.ZodObject<{
29749
29749
  id: z.ZodString;
29750
29750
  name: z.ZodString;
29751
+ description: z.ZodNullable<z.ZodString>;
29751
29752
  createdAt: z.ZodString;
29752
29753
  updatedAt: z.ZodString;
29753
- description: z.ZodNullable<z.ZodString>;
29754
29754
  enabled: z.ZodBoolean;
29755
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29756
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29757
29755
  messageTemplate: z.ZodNullable<z.ZodString>;
29758
29756
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29757
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29758
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29759
29759
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29760
29760
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29761
29761
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -29816,11 +29816,10 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
29816
29816
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
29817
29817
  id: z.ZodString;
29818
29818
  name: z.ZodString;
29819
+ description: z.ZodNullable<z.ZodString>;
29819
29820
  createdAt: z.ZodString;
29820
29821
  updatedAt: z.ZodString;
29821
- description: z.ZodNullable<z.ZodString>;
29822
29822
  enabled: z.ZodBoolean;
29823
- createdBy: z.ZodNullable<z.ZodString>;
29824
29823
  cronExpression: z.ZodNullable<z.ZodString>;
29825
29824
  cronTimezone: z.ZodNullable<z.ZodString>;
29826
29825
  runAt: z.ZodNullable<z.ZodString>;
@@ -29830,10 +29829,11 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
29830
29829
  retryDelaySeconds: z.ZodNumber;
29831
29830
  timeoutSeconds: z.ZodNumber;
29832
29831
  runAsUserId: z.ZodNullable<z.ZodString>;
29832
+ createdBy: z.ZodNullable<z.ZodString>;
29833
29833
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
29834
29834
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
29835
- failed: "failed";
29836
29835
  completed: "completed";
29836
+ failed: "failed";
29837
29837
  }>>;
29838
29838
  lastRunConversationIds: z.ZodArray<z.ZodString>;
29839
29839
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -29895,11 +29895,10 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
29895
29895
  data: z.ZodArray<z.ZodObject<{
29896
29896
  id: z.ZodString;
29897
29897
  name: z.ZodString;
29898
+ description: z.ZodNullable<z.ZodString>;
29898
29899
  createdAt: z.ZodString;
29899
29900
  updatedAt: z.ZodString;
29900
- description: z.ZodNullable<z.ZodString>;
29901
29901
  enabled: z.ZodBoolean;
29902
- createdBy: z.ZodNullable<z.ZodString>;
29903
29902
  cronExpression: z.ZodNullable<z.ZodString>;
29904
29903
  cronTimezone: z.ZodNullable<z.ZodString>;
29905
29904
  runAt: z.ZodNullable<z.ZodString>;
@@ -29909,10 +29908,11 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
29909
29908
  retryDelaySeconds: z.ZodNumber;
29910
29909
  timeoutSeconds: z.ZodNumber;
29911
29910
  runAsUserId: z.ZodNullable<z.ZodString>;
29911
+ createdBy: z.ZodNullable<z.ZodString>;
29912
29912
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
29913
29913
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
29914
- failed: "failed";
29915
29914
  completed: "completed";
29915
+ failed: "failed";
29916
29916
  }>>;
29917
29917
  lastRunConversationIds: z.ZodArray<z.ZodString>;
29918
29918
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -29950,9 +29950,9 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
29950
29950
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
29951
29951
  status: z.ZodEnum<{
29952
29952
  pending: "pending";
29953
- failed: "failed";
29954
29953
  running: "running";
29955
29954
  completed: "completed";
29955
+ failed: "failed";
29956
29956
  cancelled: "cancelled";
29957
29957
  }>;
29958
29958
  }>, z.core.$strip>;
@@ -29983,9 +29983,9 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
29983
29983
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
29984
29984
  status: z.ZodEnum<{
29985
29985
  pending: "pending";
29986
- failed: "failed";
29987
29986
  running: "running";
29988
29987
  completed: "completed";
29988
+ failed: "failed";
29989
29989
  cancelled: "cancelled";
29990
29990
  }>;
29991
29991
  }>, z.core.$strip>>;
@@ -30072,10 +30072,10 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
30072
30072
  data: z.ZodArray<z.ZodObject<{
30073
30073
  id: z.ZodString;
30074
30074
  name: z.ZodString;
30075
+ description: z.ZodString;
30075
30076
  createdAt: z.ZodString;
30076
30077
  updatedAt: z.ZodString;
30077
30078
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
30078
- description: z.ZodString;
30079
30079
  content: z.ZodString;
30080
30080
  subAgentSkillId: z.ZodString;
30081
30081
  subAgentId: z.ZodString;
@@ -30115,9 +30115,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30115
30115
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30116
30116
  id: z.ZodString;
30117
30117
  name: z.ZodString;
30118
- createdAt: z.ZodOptional<z.ZodString>;
30119
- updatedAt: z.ZodOptional<z.ZodString>;
30120
30118
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30119
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
30121
30120
  models: z.ZodOptional<z.ZodObject<{
30122
30121
  base: z.ZodOptional<z.ZodObject<{
30123
30122
  model: z.ZodOptional<z.ZodString>;
@@ -30132,7 +30131,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30132
30131
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
30133
30132
  }, z.core.$strip>>;
30134
30133
  }, z.core.$strip>>;
30135
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
30134
+ createdAt: z.ZodOptional<z.ZodString>;
30135
+ updatedAt: z.ZodOptional<z.ZodString>;
30136
30136
  type: z.ZodLiteral<"internal">;
30137
30137
  canUse: z.ZodArray<z.ZodObject<{
30138
30138
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -30169,9 +30169,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30169
30169
  id: z.ZodString;
30170
30170
  name: z.ZodString;
30171
30171
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30172
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
30173
- projectId: z.ZodString;
30174
30172
  tenantId: z.ZodString;
30173
+ projectId: z.ZodString;
30174
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
30175
30175
  config: z.ZodObject<{
30176
30176
  type: z.ZodLiteral<"mcp">;
30177
30177
  mcp: z.ZodObject<{
@@ -30209,10 +30209,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30209
30209
  id: z.ZodString;
30210
30210
  name: z.ZodString;
30211
30211
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30212
- projectId: z.ZodString;
30213
30212
  tenantId: z.ZodString;
30214
- baseUrl: z.ZodURL;
30213
+ projectId: z.ZodString;
30215
30214
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30215
+ baseUrl: z.ZodURL;
30216
30216
  }>, z.core.$strip>>>;
30217
30217
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30218
30218
  id: z.ZodString;
@@ -30223,9 +30223,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30223
30223
  id: z.ZodString;
30224
30224
  name: z.ZodString;
30225
30225
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30226
- agentId: z.ZodString;
30227
- projectId: z.ZodString;
30228
30226
  tenantId: z.ZodString;
30227
+ projectId: z.ZodString;
30228
+ agentId: z.ZodString;
30229
30229
  functionId: z.ZodString;
30230
30230
  }>, z.core.$strip>>>;
30231
30231
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -30239,10 +30239,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30239
30239
  name: z.ZodString;
30240
30240
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30241
30241
  enabled: z.ZodOptional<z.ZodBoolean>;
30242
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30243
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30244
30242
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30245
30243
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30244
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30245
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30246
30246
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30247
30247
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30248
30248
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30252,7 +30252,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30252
30252
  name: z.ZodString;
30253
30253
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30254
30254
  enabled: z.ZodOptional<z.ZodBoolean>;
30255
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30256
30255
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30257
30256
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30258
30257
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30262,6 +30261,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30262
30261
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
30263
30262
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
30264
30263
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30264
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30265
30265
  id: z.ZodOptional<z.ZodString>;
30266
30266
  }, z.core.$strip>>>;
30267
30267
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -30307,9 +30307,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30307
30307
  id: z.ZodString;
30308
30308
  name: z.ZodString;
30309
30309
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30310
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
30311
- projectId: z.ZodString;
30312
30310
  tenantId: z.ZodString;
30311
+ projectId: z.ZodString;
30312
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
30313
30313
  config: z.ZodObject<{
30314
30314
  type: z.ZodLiteral<"mcp">;
30315
30315
  mcp: z.ZodObject<{
@@ -30347,9 +30347,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30347
30347
  id: z.ZodString;
30348
30348
  name: z.ZodString;
30349
30349
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30350
- agentId: z.ZodString;
30351
- projectId: z.ZodString;
30352
30350
  tenantId: z.ZodString;
30351
+ projectId: z.ZodString;
30352
+ agentId: z.ZodString;
30353
30353
  functionId: z.ZodString;
30354
30354
  }>, z.core.$strip>>>;
30355
30355
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -30360,10 +30360,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30360
30360
  }, z.core.$strip>>>;
30361
30361
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
30362
30362
  name: z.ZodString;
30363
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
30364
30363
  description: z.ZodString;
30365
- projectId: z.ZodString;
30366
30364
  tenantId: z.ZodString;
30365
+ projectId: z.ZodString;
30366
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
30367
30367
  content: z.ZodString;
30368
30368
  }>, z.core.$strip>>>;
30369
30369
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -30423,10 +30423,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30423
30423
  id: z.ZodString;
30424
30424
  name: z.ZodString;
30425
30425
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30426
- projectId: z.ZodString;
30427
30426
  tenantId: z.ZodString;
30428
- baseUrl: z.ZodURL;
30427
+ projectId: z.ZodString;
30429
30428
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30429
+ baseUrl: z.ZodURL;
30430
30430
  }>, z.core.$strip>>>;
30431
30431
  statusUpdates: z.ZodOptional<z.ZodObject<{
30432
30432
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -30446,8 +30446,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30446
30446
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30447
30447
  id: z.ZodString;
30448
30448
  name: z.ZodString;
30449
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30450
30449
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30450
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30451
30451
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30452
30452
  credentialStoreId: z.ZodString;
30453
30453
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -30469,8 +30469,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30469
30469
  data: z.ZodObject<{
30470
30470
  id: z.ZodString;
30471
30471
  name: z.ZodString;
30472
- createdAt: z.ZodString;
30473
- updatedAt: z.ZodString;
30474
30472
  description: z.ZodNullable<z.ZodString>;
30475
30473
  models: z.ZodNullable<z.ZodObject<{
30476
30474
  base: z.ZodObject<{
@@ -30490,20 +30488,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30490
30488
  transferCountIs: z.ZodOptional<z.ZodNumber>;
30491
30489
  stepCountIs: z.ZodOptional<z.ZodNumber>;
30492
30490
  }, z.core.$strip>>;
30491
+ createdAt: z.ZodString;
30492
+ updatedAt: z.ZodString;
30493
30493
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
30494
30494
  id: z.ZodString;
30495
30495
  name: z.ZodString;
30496
- createdAt: z.ZodString;
30497
- updatedAt: z.ZodString;
30498
30496
  description: z.ZodNullable<z.ZodString>;
30499
30497
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30498
+ createdAt: z.ZodString;
30499
+ updatedAt: z.ZodString;
30500
30500
  contextConfigId: z.ZodNullable<z.ZodString>;
30501
30501
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30502
30502
  id: z.ZodString;
30503
30503
  name: z.ZodString;
30504
- createdAt: z.ZodString;
30505
- updatedAt: z.ZodString;
30506
30504
  description: z.ZodNullable<z.ZodString>;
30505
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30507
30506
  models: z.ZodNullable<z.ZodType<{
30508
30507
  base?: {
30509
30508
  model?: string | undefined;
@@ -30566,7 +30565,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30566
30565
  }, {
30567
30566
  stepCountIs?: number | undefined;
30568
30567
  }>>>;
30569
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30568
+ createdAt: z.ZodString;
30569
+ updatedAt: z.ZodString;
30570
30570
  type: z.ZodLiteral<"internal">;
30571
30571
  canUse: z.ZodArray<z.ZodObject<{
30572
30572
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -30639,10 +30639,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30639
30639
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30640
30640
  id: z.ZodString;
30641
30641
  name: z.ZodString;
30642
- createdAt: z.ZodString;
30643
- updatedAt: z.ZodString;
30644
30642
  description: z.ZodNullable<z.ZodString>;
30645
30643
  agentId: z.ZodString;
30644
+ createdAt: z.ZodString;
30645
+ updatedAt: z.ZodString;
30646
30646
  functionId: z.ZodString;
30647
30647
  relationshipId: z.ZodOptional<z.ZodString>;
30648
30648
  }, z.core.$strip>>>;
@@ -30750,10 +30750,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30750
30750
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30751
30751
  id: z.ZodString;
30752
30752
  name: z.ZodString;
30753
- createdAt: z.ZodString;
30754
- updatedAt: z.ZodString;
30755
30753
  description: z.ZodNullable<z.ZodString>;
30756
30754
  agentId: z.ZodString;
30755
+ createdAt: z.ZodString;
30756
+ updatedAt: z.ZodString;
30757
30757
  functionId: z.ZodString;
30758
30758
  relationshipId: z.ZodOptional<z.ZodString>;
30759
30759
  }, z.core.$strip>>>;
@@ -30900,8 +30900,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30900
30900
  name: z.ZodString;
30901
30901
  createdAt: z.ZodString;
30902
30902
  updatedAt: z.ZodString;
30903
- userId: z.ZodNullable<z.ZodString>;
30904
30903
  toolId: z.ZodNullable<z.ZodString>;
30904
+ userId: z.ZodNullable<z.ZodString>;
30905
30905
  createdBy: z.ZodNullable<z.ZodString>;
30906
30906
  credentialStoreId: z.ZodString;
30907
30907
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -31496,8 +31496,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31496
31496
  data: z.ZodObject<{
31497
31497
  id: z.ZodString;
31498
31498
  name: z.ZodString;
31499
- createdAt: z.ZodString;
31500
- updatedAt: z.ZodString;
31501
31499
  description: z.ZodNullable<z.ZodString>;
31502
31500
  models: z.ZodNullable<z.ZodObject<{
31503
31501
  base: z.ZodObject<{
@@ -31517,6 +31515,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31517
31515
  transferCountIs: z.ZodOptional<z.ZodNumber>;
31518
31516
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31519
31517
  }, z.core.$strip>>;
31518
+ createdAt: z.ZodString;
31519
+ updatedAt: z.ZodString;
31520
31520
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31521
31521
  createdAt: z.ZodString;
31522
31522
  updatedAt: z.ZodString;
@@ -31549,10 +31549,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31549
31549
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31550
31550
  id: z.ZodString;
31551
31551
  name: z.ZodString;
31552
- createdAt: z.ZodString;
31553
- updatedAt: z.ZodString;
31554
31552
  description: z.ZodNullable<z.ZodString>;
31555
31553
  agentId: z.ZodString;
31554
+ createdAt: z.ZodString;
31555
+ updatedAt: z.ZodString;
31556
31556
  functionId: z.ZodString;
31557
31557
  relationshipId: z.ZodOptional<z.ZodString>;
31558
31558
  }, z.core.$strip>>>;
@@ -31699,8 +31699,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31699
31699
  name: z.ZodString;
31700
31700
  createdAt: z.ZodString;
31701
31701
  updatedAt: z.ZodString;
31702
- userId: z.ZodNullable<z.ZodString>;
31703
31702
  toolId: z.ZodNullable<z.ZodString>;
31703
+ userId: z.ZodNullable<z.ZodString>;
31704
31704
  createdBy: z.ZodNullable<z.ZodString>;
31705
31705
  credentialStoreId: z.ZodString;
31706
31706
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -32289,10 +32289,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32289
32289
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
32290
32290
  id: z.ZodString;
32291
32291
  name: z.ZodString;
32292
- createdAt: z.ZodString;
32293
- updatedAt: z.ZodString;
32294
32292
  description: z.ZodNullable<z.ZodString>;
32295
32293
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
32294
+ createdAt: z.ZodString;
32295
+ updatedAt: z.ZodString;
32296
32296
  contextConfigId: z.ZodNullable<z.ZodString>;
32297
32297
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32298
32298
  createdAt: z.ZodString;
@@ -32342,10 +32342,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32342
32342
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32343
32343
  id: z.ZodString;
32344
32344
  name: z.ZodString;
32345
- createdAt: z.ZodString;
32346
- updatedAt: z.ZodString;
32347
32345
  description: z.ZodNullable<z.ZodString>;
32348
32346
  agentId: z.ZodString;
32347
+ createdAt: z.ZodString;
32348
+ updatedAt: z.ZodString;
32349
32349
  functionId: z.ZodString;
32350
32350
  relationshipId: z.ZodOptional<z.ZodString>;
32351
32351
  }, z.core.$strip>>>;
@@ -32423,9 +32423,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32423
32423
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32424
32424
  id: z.ZodString;
32425
32425
  name: z.ZodString;
32426
- createdAt: z.ZodString;
32427
- updatedAt: z.ZodString;
32428
32426
  description: z.ZodNullable<z.ZodString>;
32427
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32429
32428
  models: z.ZodNullable<z.ZodType<{
32430
32429
  base?: {
32431
32430
  model?: string | undefined;
@@ -32488,7 +32487,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32488
32487
  }, {
32489
32488
  stepCountIs?: number | undefined;
32490
32489
  }>>>;
32491
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32490
+ createdAt: z.ZodString;
32491
+ updatedAt: z.ZodString;
32492
32492
  type: z.ZodLiteral<"internal">;
32493
32493
  canUse: z.ZodArray<z.ZodObject<{
32494
32494
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -32535,9 +32535,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32535
32535
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32536
32536
  id: z.ZodString;
32537
32537
  name: z.ZodString;
32538
- createdAt: z.ZodOptional<z.ZodString>;
32539
- updatedAt: z.ZodOptional<z.ZodString>;
32540
32538
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32539
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
32541
32540
  models: z.ZodOptional<z.ZodObject<{
32542
32541
  base: z.ZodOptional<z.ZodObject<{
32543
32542
  model: z.ZodOptional<z.ZodString>;
@@ -32552,7 +32551,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32552
32551
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
32553
32552
  }, z.core.$strip>>;
32554
32553
  }, z.core.$strip>>;
32555
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
32554
+ createdAt: z.ZodOptional<z.ZodString>;
32555
+ updatedAt: z.ZodOptional<z.ZodString>;
32556
32556
  type: z.ZodLiteral<"internal">;
32557
32557
  canUse: z.ZodArray<z.ZodObject<{
32558
32558
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -32589,9 +32589,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32589
32589
  id: z.ZodString;
32590
32590
  name: z.ZodString;
32591
32591
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32592
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32593
- projectId: z.ZodString;
32594
32592
  tenantId: z.ZodString;
32593
+ projectId: z.ZodString;
32594
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32595
32595
  config: z.ZodObject<{
32596
32596
  type: z.ZodLiteral<"mcp">;
32597
32597
  mcp: z.ZodObject<{
@@ -32629,10 +32629,10 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32629
32629
  id: z.ZodString;
32630
32630
  name: z.ZodString;
32631
32631
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32632
- projectId: z.ZodString;
32633
32632
  tenantId: z.ZodString;
32634
- baseUrl: z.ZodURL;
32633
+ projectId: z.ZodString;
32635
32634
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32635
+ baseUrl: z.ZodURL;
32636
32636
  }>, z.core.$strip>>>;
32637
32637
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32638
32638
  id: z.ZodString;
@@ -32643,9 +32643,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32643
32643
  id: z.ZodString;
32644
32644
  name: z.ZodString;
32645
32645
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32646
- agentId: z.ZodString;
32647
- projectId: z.ZodString;
32648
32646
  tenantId: z.ZodString;
32647
+ projectId: z.ZodString;
32648
+ agentId: z.ZodString;
32649
32649
  functionId: z.ZodString;
32650
32650
  }>, z.core.$strip>>>;
32651
32651
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -32659,10 +32659,10 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32659
32659
  name: z.ZodString;
32660
32660
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32661
32661
  enabled: z.ZodOptional<z.ZodBoolean>;
32662
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32663
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32664
32662
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32665
32663
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32664
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32665
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32666
32666
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32667
32667
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32668
32668
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32672,7 +32672,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32672
32672
  name: z.ZodString;
32673
32673
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32674
32674
  enabled: z.ZodOptional<z.ZodBoolean>;
32675
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32676
32675
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32677
32676
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32678
32677
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32682,6 +32681,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32682
32681
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
32683
32682
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
32684
32683
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32684
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32685
32685
  id: z.ZodOptional<z.ZodString>;
32686
32686
  }, z.core.$strip>>>;
32687
32687
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -32728,17 +32728,16 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
32728
32728
  data: z.ZodObject<{
32729
32729
  id: z.ZodString;
32730
32730
  name: z.ZodString;
32731
- createdAt: z.ZodString;
32732
- updatedAt: z.ZodString;
32733
32731
  description: z.ZodNullable<z.ZodString>;
32734
32732
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
32733
+ createdAt: z.ZodString;
32734
+ updatedAt: z.ZodString;
32735
32735
  contextConfigId: z.ZodNullable<z.ZodString>;
32736
32736
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32737
32737
  id: z.ZodString;
32738
32738
  name: z.ZodString;
32739
- createdAt: z.ZodString;
32740
- updatedAt: z.ZodString;
32741
32739
  description: z.ZodNullable<z.ZodString>;
32740
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32742
32741
  models: z.ZodNullable<z.ZodType<{
32743
32742
  base?: {
32744
32743
  model?: string | undefined;
@@ -32801,7 +32800,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
32801
32800
  }, {
32802
32801
  stepCountIs?: number | undefined;
32803
32802
  }>>>;
32804
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32803
+ createdAt: z.ZodString;
32804
+ updatedAt: z.ZodString;
32805
32805
  type: z.ZodLiteral<"internal">;
32806
32806
  canUse: z.ZodArray<z.ZodObject<{
32807
32807
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -32874,10 +32874,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
32874
32874
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32875
32875
  id: z.ZodString;
32876
32876
  name: z.ZodString;
32877
- createdAt: z.ZodString;
32878
- updatedAt: z.ZodString;
32879
32877
  description: z.ZodNullable<z.ZodString>;
32880
32878
  agentId: z.ZodString;
32879
+ createdAt: z.ZodString;
32880
+ updatedAt: z.ZodString;
32881
32881
  functionId: z.ZodString;
32882
32882
  relationshipId: z.ZodOptional<z.ZodString>;
32883
32883
  }, z.core.$strip>>>;
@@ -32978,9 +32978,9 @@ declare const McpToolResponse: z.ZodObject<{
32978
32978
  id: z.ZodString;
32979
32979
  name: z.ZodString;
32980
32980
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32981
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32982
- projectId: z.ZodString;
32983
32981
  tenantId: z.ZodString;
32982
+ projectId: z.ZodString;
32983
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32984
32984
  config: z.ZodObject<{
32985
32985
  type: z.ZodLiteral<"mcp">;
32986
32986
  mcp: z.ZodObject<{
@@ -33039,9 +33039,9 @@ declare const McpToolListResponse: z.ZodObject<{
33039
33039
  id: z.ZodString;
33040
33040
  name: z.ZodString;
33041
33041
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33042
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
33043
- projectId: z.ZodString;
33044
33042
  tenantId: z.ZodString;
33043
+ projectId: z.ZodString;
33044
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
33045
33045
  config: z.ZodObject<{
33046
33046
  type: z.ZodLiteral<"mcp">;
33047
33047
  mcp: z.ZodObject<{
@@ -33597,8 +33597,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
33597
33597
  disconnected: "disconnected";
33598
33598
  }>;
33599
33599
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
33600
- User: "User";
33601
33600
  Organization: "Organization";
33601
+ User: "User";
33602
33602
  }>;
33603
33603
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
33604
33604
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -33693,7 +33693,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
33693
33693
  tableName: "work_app_github_installations";
33694
33694
  dataType: "string";
33695
33695
  columnType: "PgVarchar";
33696
- data: "User" | "Organization";
33696
+ data: "Organization" | "User";
33697
33697
  driverParam: string;
33698
33698
  notNull: true;
33699
33699
  hasDefault: false;
@@ -33706,7 +33706,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
33706
33706
  generated: undefined;
33707
33707
  }, {}, {
33708
33708
  length: 20;
33709
- $type: "User" | "Organization";
33709
+ $type: "Organization" | "User";
33710
33710
  }>;
33711
33711
  status: drizzle_orm_pg_core220.PgColumn<{
33712
33712
  name: "status";
@@ -33859,7 +33859,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
33859
33859
  tableName: "work_app_github_installations";
33860
33860
  dataType: "string";
33861
33861
  columnType: "PgVarchar";
33862
- data: "User" | "Organization";
33862
+ data: "Organization" | "User";
33863
33863
  driverParam: string;
33864
33864
  notNull: true;
33865
33865
  hasDefault: false;
@@ -33872,7 +33872,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
33872
33872
  generated: undefined;
33873
33873
  }, {}, {
33874
33874
  length: 20;
33875
- $type: "User" | "Organization";
33875
+ $type: "Organization" | "User";
33876
33876
  }>;
33877
33877
  status: drizzle_orm_pg_core220.PgColumn<{
33878
33878
  name: "status";
@@ -33935,13 +33935,13 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
33935
33935
  }, undefined>, undefined>;
33936
33936
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
33937
33937
  id: z.ZodString;
33938
- accountId: z.ZodString;
33939
33938
  tenantId: z.ZodString;
33939
+ accountId: z.ZodString;
33940
33940
  installationId: z.ZodString;
33941
33941
  accountLogin: z.ZodString;
33942
33942
  accountType: z.ZodEnum<{
33943
- User: "User";
33944
33943
  Organization: "Organization";
33944
+ User: "User";
33945
33945
  }>;
33946
33946
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
33947
33947
  pending: "pending";
@@ -33966,13 +33966,13 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
33966
33966
  }>, z.core.$strip>;
33967
33967
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
33968
33968
  id: z.ZodString;
33969
- accountId: z.ZodString;
33970
33969
  tenantId: z.ZodString;
33970
+ accountId: z.ZodString;
33971
33971
  installationId: z.ZodString;
33972
33972
  accountLogin: z.ZodString;
33973
33973
  accountType: z.ZodEnum<{
33974
- User: "User";
33975
33974
  Organization: "Organization";
33975
+ User: "User";
33976
33976
  }>;
33977
33977
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
33978
33978
  pending: "pending";
@@ -36160,16 +36160,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"sele
36160
36160
  }, {}, {}>;
36161
36161
  }, undefined>, undefined>;
36162
36162
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
36163
- agentId: z.ZodString;
36164
36163
  projectId: z.ZodString;
36164
+ agentId: z.ZodString;
36165
36165
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
36166
36166
  }, {
36167
36167
  out: {};
36168
36168
  in: {};
36169
36169
  }>;
36170
36170
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
36171
- agentId: z.ZodString;
36172
36171
  projectId: z.ZodString;
36172
+ agentId: z.ZodString;
36173
36173
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
36174
36174
  agentName: z.ZodString;
36175
36175
  projectName: z.ZodOptional<z.ZodString>;
@@ -36185,8 +36185,8 @@ declare const ChannelAccessModeSchema: z.ZodEnum<{
36185
36185
  selected: "selected";
36186
36186
  }>;
36187
36187
  declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{
36188
- projectId: z.ZodString;
36189
36188
  tenantId: z.ZodString;
36189
+ projectId: z.ZodString;
36190
36190
  toolId: z.ZodString;
36191
36191
  channelAccessMode: z.ZodEnum<{
36192
36192
  all: "all";