@inkeep/agents-core 0.0.0-dev-20260206203908 → 0.0.0-dev-20260206223853

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.
@@ -774,10 +774,9 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
774
774
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
775
775
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
776
776
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
777
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
778
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
779
777
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
780
778
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
779
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
781
780
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
782
781
  base: z.ZodOptional<z.ZodObject<{
783
782
  model: z.ZodOptional<z.ZodString>;
@@ -792,6 +791,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
792
791
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
793
792
  }, z.core.$strip>>;
794
793
  }, z.core.$strip>>>>;
794
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
795
795
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
796
796
  stepCountIs?: number | undefined;
797
797
  }, {
@@ -2435,7 +2435,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2435
2435
  }, {}, {
2436
2436
  length: 256;
2437
2437
  }>;
2438
- }, "tenantId" | "projectId" | "id" | "name" | "description" | "prompt" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2438
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "projectId" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2439
2439
  declare const AgentUpdateSchema: z.ZodObject<{
2440
2440
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2441
2441
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2703,10 +2703,11 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2703
2703
  }>, z.core.$strip>;
2704
2704
  declare const AgentApiInsertSchema: z.ZodObject<{
2705
2705
  name: z.ZodString;
2706
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2707
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2708
2706
  createdAt: z.ZodOptional<z.ZodString>;
2709
2707
  updatedAt: z.ZodOptional<z.ZodString>;
2708
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2709
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2710
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2710
2711
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2711
2712
  base?: {
2712
2713
  model?: string | undefined;
@@ -2760,17 +2761,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2760
2761
  providerOptions?: Record<string, any> | undefined;
2761
2762
  } | undefined;
2762
2763
  }>>>>;
2763
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2764
- transferCountIs?: number | undefined;
2765
- }, {
2766
- transferCountIs?: number | undefined;
2767
- }, z.core.$ZodTypeInternals<{
2768
- transferCountIs?: number | undefined;
2769
- }, {
2770
- transferCountIs?: number | undefined;
2771
- }>>>>;
2772
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2773
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2764
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2774
2765
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2775
2766
  enabled?: boolean | undefined;
2776
2767
  numEvents?: number | undefined;
@@ -2828,15 +2819,25 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2828
2819
  } | undefined;
2829
2820
  }[] | undefined;
2830
2821
  }>>>>;
2822
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2823
+ transferCountIs?: number | undefined;
2824
+ }, {
2825
+ transferCountIs?: number | undefined;
2826
+ }, z.core.$ZodTypeInternals<{
2827
+ transferCountIs?: number | undefined;
2828
+ }, {
2829
+ transferCountIs?: number | undefined;
2830
+ }>>>>;
2831
2831
  id: z.ZodString;
2832
2832
  }, z.core.$strip>;
2833
2833
  declare const AgentApiUpdateSchema: z.ZodObject<{
2834
2834
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2835
2835
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2836
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2837
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2838
2836
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2839
2837
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2838
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2839
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2840
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2840
2841
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2841
2842
  base?: {
2842
2843
  model?: string | undefined;
@@ -2890,17 +2891,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2890
2891
  providerOptions?: Record<string, any> | undefined;
2891
2892
  } | undefined;
2892
2893
  }>>>>>>;
2893
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2894
- transferCountIs?: number | undefined;
2895
- }, {
2896
- transferCountIs?: number | undefined;
2897
- }, z.core.$ZodTypeInternals<{
2898
- transferCountIs?: number | undefined;
2899
- }, {
2900
- transferCountIs?: number | undefined;
2901
- }>>>>>>;
2902
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2903
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2894
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2904
2895
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2905
2896
  enabled?: boolean | undefined;
2906
2897
  numEvents?: number | undefined;
@@ -2958,6 +2949,15 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2958
2949
  } | undefined;
2959
2950
  }[] | undefined;
2960
2951
  }>>>>>>;
2952
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2953
+ transferCountIs?: number | undefined;
2954
+ }, {
2955
+ transferCountIs?: number | undefined;
2956
+ }, z.core.$ZodTypeInternals<{
2957
+ transferCountIs?: number | undefined;
2958
+ }, {
2959
+ transferCountIs?: number | undefined;
2960
+ }>>>>>>;
2961
2961
  }, z.core.$strip>;
2962
2962
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
2963
2963
  name: z.ZodString;
@@ -3024,8 +3024,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3024
3024
  declare const SignatureSourceSchema: z.ZodObject<{
3025
3025
  source: z.ZodEnum<{
3026
3026
  query: "query";
3027
- header: "header";
3028
3027
  body: "body";
3028
+ header: "header";
3029
3029
  }>;
3030
3030
  key: z.ZodString;
3031
3031
  prefix: z.ZodOptional<z.ZodString>;
@@ -3054,8 +3054,8 @@ declare const SignatureSourceSchema: z.ZodObject<{
3054
3054
  declare const SignedComponentSchema: z.ZodObject<{
3055
3055
  source: z.ZodEnum<{
3056
3056
  literal: "literal";
3057
- header: "header";
3058
3057
  body: "body";
3058
+ header: "header";
3059
3059
  }>;
3060
3060
  key: z.ZodOptional<z.ZodString>;
3061
3061
  value: z.ZodOptional<z.ZodString>;
@@ -3164,8 +3164,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3164
3164
  signature: z.ZodObject<{
3165
3165
  source: z.ZodEnum<{
3166
3166
  query: "query";
3167
- header: "header";
3168
3167
  body: "body";
3168
+ header: "header";
3169
3169
  }>;
3170
3170
  key: z.ZodString;
3171
3171
  prefix: z.ZodOptional<z.ZodString>;
@@ -3174,8 +3174,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3174
3174
  signedComponents: z.ZodArray<z.ZodObject<{
3175
3175
  source: z.ZodEnum<{
3176
3176
  literal: "literal";
3177
- header: "header";
3178
3177
  body: "body";
3178
+ header: "header";
3179
3179
  }>;
3180
3180
  key: z.ZodOptional<z.ZodString>;
3181
3181
  value: z.ZodOptional<z.ZodString>;
@@ -3226,8 +3226,8 @@ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3226
3226
  */
3227
3227
  type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3228
3228
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3229
- success: "success";
3230
3229
  pending: "pending";
3230
+ success: "success";
3231
3231
  failed: "failed";
3232
3232
  }>;
3233
3233
  declare const TriggerSelectSchema: z.ZodObject<{
@@ -3260,8 +3260,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3260
3260
  signature: z.ZodObject<{
3261
3261
  source: z.ZodEnum<{
3262
3262
  query: "query";
3263
- header: "header";
3264
3263
  body: "body";
3264
+ header: "header";
3265
3265
  }>;
3266
3266
  key: z.ZodString;
3267
3267
  prefix: z.ZodOptional<z.ZodString>;
@@ -3270,8 +3270,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3270
3270
  signedComponents: z.ZodArray<z.ZodObject<{
3271
3271
  source: z.ZodEnum<{
3272
3272
  literal: "literal";
3273
- header: "header";
3274
3273
  body: "body";
3274
+ header: "header";
3275
3275
  }>;
3276
3276
  key: z.ZodOptional<z.ZodString>;
3277
3277
  value: z.ZodOptional<z.ZodString>;
@@ -3454,13 +3454,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3454
3454
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3455
3455
  encoding: "hex" | "base64";
3456
3456
  signature: {
3457
- source: "query" | "header" | "body";
3457
+ source: "query" | "body" | "header";
3458
3458
  key: string;
3459
3459
  prefix?: string | undefined;
3460
3460
  regex?: string | undefined;
3461
3461
  };
3462
3462
  signedComponents: {
3463
- source: "literal" | "header" | "body";
3463
+ source: "literal" | "body" | "header";
3464
3464
  required: boolean;
3465
3465
  key?: string | undefined;
3466
3466
  value?: string | undefined;
@@ -3491,13 +3491,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3491
3491
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3492
3492
  encoding: "hex" | "base64";
3493
3493
  signature: {
3494
- source: "query" | "header" | "body";
3494
+ source: "query" | "body" | "header";
3495
3495
  key: string;
3496
3496
  prefix?: string | undefined;
3497
3497
  regex?: string | undefined;
3498
3498
  };
3499
3499
  signedComponents: {
3500
- source: "literal" | "header" | "body";
3500
+ source: "literal" | "body" | "header";
3501
3501
  required: boolean;
3502
3502
  key?: string | undefined;
3503
3503
  value?: string | undefined;
@@ -3786,13 +3786,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3786
3786
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3787
3787
  encoding: "hex" | "base64";
3788
3788
  signature: {
3789
- source: "query" | "header" | "body";
3789
+ source: "query" | "body" | "header";
3790
3790
  key: string;
3791
3791
  prefix?: string | undefined;
3792
3792
  regex?: string | undefined;
3793
3793
  };
3794
3794
  signedComponents: {
3795
- source: "literal" | "header" | "body";
3795
+ source: "literal" | "body" | "header";
3796
3796
  required: boolean;
3797
3797
  key?: string | undefined;
3798
3798
  value?: string | undefined;
@@ -3823,13 +3823,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3823
3823
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3824
3824
  encoding: "hex" | "base64";
3825
3825
  signature: {
3826
- source: "query" | "header" | "body";
3826
+ source: "query" | "body" | "header";
3827
3827
  key: string;
3828
3828
  prefix?: string | undefined;
3829
3829
  regex?: string | undefined;
3830
3830
  };
3831
3831
  signedComponents: {
3832
- source: "literal" | "header" | "body";
3832
+ source: "literal" | "body" | "header";
3833
3833
  required: boolean;
3834
3834
  key?: string | undefined;
3835
3835
  value?: string | undefined;
@@ -3958,7 +3958,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3958
3958
  }, {}, {
3959
3959
  length: 256;
3960
3960
  }>;
3961
- }, "tenantId" | "projectId" | "id" | "name" | "description" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
3961
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "agentId" | "projectId" | "tenantId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
3962
3962
  declare const TriggerUpdateSchema: z.ZodObject<{
3963
3963
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3964
3964
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4009,8 +4009,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4009
4009
  signature: z.ZodObject<{
4010
4010
  source: z.ZodEnum<{
4011
4011
  query: "query";
4012
- header: "header";
4013
4012
  body: "body";
4013
+ header: "header";
4014
4014
  }>;
4015
4015
  key: z.ZodString;
4016
4016
  prefix: z.ZodOptional<z.ZodString>;
@@ -4019,8 +4019,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4019
4019
  signedComponents: z.ZodArray<z.ZodObject<{
4020
4020
  source: z.ZodEnum<{
4021
4021
  literal: "literal";
4022
- header: "header";
4023
4022
  body: "body";
4023
+ header: "header";
4024
4024
  }>;
4025
4025
  key: z.ZodOptional<z.ZodString>;
4026
4026
  value: z.ZodOptional<z.ZodString>;
@@ -4042,9 +4042,9 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4042
4042
  }>, z.core.$strip>;
4043
4043
  declare const TriggerApiInsertSchema: z.ZodObject<{
4044
4044
  name: z.ZodString;
4045
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4046
4045
  createdAt: z.ZodOptional<z.ZodString>;
4047
4046
  updatedAt: z.ZodOptional<z.ZodString>;
4047
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4048
4048
  enabled: z.ZodOptional<z.ZodBoolean>;
4049
4049
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4050
4050
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -4077,9 +4077,9 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4077
4077
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4078
4078
  id: z.ZodString;
4079
4079
  name: z.ZodString;
4080
- description: z.ZodNullable<z.ZodString>;
4081
4080
  createdAt: z.ZodString;
4082
4081
  updatedAt: z.ZodString;
4082
+ description: z.ZodNullable<z.ZodString>;
4083
4083
  enabled: z.ZodBoolean;
4084
4084
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4085
4085
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -4101,8 +4101,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4101
4101
  signature: z.ZodObject<{
4102
4102
  source: z.ZodEnum<{
4103
4103
  query: "query";
4104
- header: "header";
4105
4104
  body: "body";
4105
+ header: "header";
4106
4106
  }>;
4107
4107
  key: z.ZodString;
4108
4108
  prefix: z.ZodOptional<z.ZodString>;
@@ -4111,8 +4111,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4111
4111
  signedComponents: z.ZodArray<z.ZodObject<{
4112
4112
  source: z.ZodEnum<{
4113
4113
  literal: "literal";
4114
- header: "header";
4115
4114
  body: "body";
4115
+ header: "header";
4116
4116
  }>;
4117
4117
  key: z.ZodOptional<z.ZodString>;
4118
4118
  value: z.ZodOptional<z.ZodString>;
@@ -4942,7 +4942,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4942
4942
  }, {}, {
4943
4943
  length: 256;
4944
4944
  }>;
4945
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4945
+ }, "id" | "createdAt" | "status" | "agentId" | "projectId" | "tenantId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4946
4946
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4947
4947
  triggerId: z.ZodOptional<z.ZodString>;
4948
4948
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5052,7 +5052,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5052
5052
  dataType: "json";
5053
5053
  columnType: "PgJsonb";
5054
5054
  data: {
5055
- type: "commit" | "tag" | "branch";
5055
+ type: "tag" | "commit" | "branch";
5056
5056
  name: string;
5057
5057
  hash: string;
5058
5058
  };
@@ -5068,7 +5068,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5068
5068
  generated: undefined;
5069
5069
  }, {}, {
5070
5070
  $type: {
5071
- type: "commit" | "tag" | "branch";
5071
+ type: "tag" | "commit" | "branch";
5072
5072
  name: string;
5073
5073
  hash: string;
5074
5074
  };
@@ -5266,7 +5266,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5266
5266
  dataType: "json";
5267
5267
  columnType: "PgJsonb";
5268
5268
  data: {
5269
- type: "commit" | "tag" | "branch";
5269
+ type: "tag" | "commit" | "branch";
5270
5270
  name: string;
5271
5271
  hash: string;
5272
5272
  };
@@ -5282,7 +5282,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5282
5282
  generated: undefined;
5283
5283
  }, {}, {
5284
5284
  $type: {
5285
- type: "commit" | "tag" | "branch";
5285
+ type: "tag" | "commit" | "branch";
5286
5286
  name: string;
5287
5287
  hash: string;
5288
5288
  };
@@ -5435,8 +5435,8 @@ declare const TaskInsertSchema: z.ZodObject<{
5435
5435
  conversationId: z.ZodOptional<z.ZodString>;
5436
5436
  ref: z.ZodObject<{
5437
5437
  type: z.ZodEnum<{
5438
- commit: "commit";
5439
5438
  tag: "tag";
5439
+ commit: "commit";
5440
5440
  branch: "branch";
5441
5441
  }>;
5442
5442
  name: z.ZodString;
@@ -5460,8 +5460,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
5460
5460
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5461
5461
  ref: z.ZodOptional<z.ZodObject<{
5462
5462
  type: z.ZodEnum<{
5463
- commit: "commit";
5464
5463
  tag: "tag";
5464
+ commit: "commit";
5465
5465
  branch: "branch";
5466
5466
  }>;
5467
5467
  name: z.ZodString;
@@ -5476,19 +5476,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
5476
5476
  updatedAt: z.ZodString;
5477
5477
  contextId: z.ZodString;
5478
5478
  ref: z.ZodNullable<z.ZodType<{
5479
- type: "commit" | "tag" | "branch";
5479
+ type: "tag" | "commit" | "branch";
5480
5480
  name: string;
5481
5481
  hash: string;
5482
5482
  }, {
5483
- type: "commit" | "tag" | "branch";
5483
+ type: "tag" | "commit" | "branch";
5484
5484
  name: string;
5485
5485
  hash: string;
5486
5486
  }, z.core.$ZodTypeInternals<{
5487
- type: "commit" | "tag" | "branch";
5487
+ type: "tag" | "commit" | "branch";
5488
5488
  name: string;
5489
5489
  hash: string;
5490
5490
  }, {
5491
- type: "commit" | "tag" | "branch";
5491
+ type: "tag" | "commit" | "branch";
5492
5492
  name: string;
5493
5493
  hash: string;
5494
5494
  }>>>;
@@ -5514,8 +5514,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5514
5514
  conversationId: z.ZodOptional<z.ZodString>;
5515
5515
  ref: z.ZodObject<{
5516
5516
  type: z.ZodEnum<{
5517
- commit: "commit";
5518
5517
  tag: "tag";
5518
+ commit: "commit";
5519
5519
  branch: "branch";
5520
5520
  }>;
5521
5521
  name: z.ZodString;
@@ -5524,20 +5524,20 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5524
5524
  }>, z.core.$strip>;
5525
5525
  declare const TaskApiUpdateSchema: z.ZodObject<{
5526
5526
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5527
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5528
5527
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5529
5528
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5530
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5531
5529
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5532
5530
  type: z.ZodEnum<{
5533
- commit: "commit";
5534
5531
  tag: "tag";
5532
+ commit: "commit";
5535
5533
  branch: "branch";
5536
5534
  }>;
5537
5535
  name: z.ZodString;
5538
5536
  hash: z.ZodString;
5539
5537
  }, z.core.$strip>>>;
5538
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5540
5539
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5540
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5541
5541
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5542
5542
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5543
5543
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6621,7 +6621,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6621
6621
  dataType: "json";
6622
6622
  columnType: "PgJsonb";
6623
6623
  data: {
6624
- type: "commit" | "tag" | "branch";
6624
+ type: "tag" | "commit" | "branch";
6625
6625
  name: string;
6626
6626
  hash: string;
6627
6627
  };
@@ -6637,7 +6637,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6637
6637
  generated: undefined;
6638
6638
  }, {}, {
6639
6639
  $type: {
6640
- type: "commit" | "tag" | "branch";
6640
+ type: "tag" | "commit" | "branch";
6641
6641
  name: string;
6642
6642
  hash: string;
6643
6643
  };
@@ -6850,7 +6850,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6850
6850
  dataType: "json";
6851
6851
  columnType: "PgJsonb";
6852
6852
  data: {
6853
- type: "commit" | "tag" | "branch";
6853
+ type: "tag" | "commit" | "branch";
6854
6854
  name: string;
6855
6855
  hash: string;
6856
6856
  };
@@ -6866,7 +6866,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6866
6866
  generated: undefined;
6867
6867
  }, {}, {
6868
6868
  $type: {
6869
- type: "commit" | "tag" | "branch";
6869
+ type: "tag" | "commit" | "branch";
6870
6870
  name: string;
6871
6871
  hash: string;
6872
6872
  };
@@ -6997,8 +6997,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
6997
6997
  contextConfigId: z.ZodOptional<z.ZodString>;
6998
6998
  ref: z.ZodObject<{
6999
6999
  type: z.ZodEnum<{
7000
- commit: "commit";
7001
7000
  tag: "tag";
7001
+ commit: "commit";
7002
7002
  branch: "branch";
7003
7003
  }>;
7004
7004
  name: z.ZodString;
@@ -7023,8 +7023,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
7023
7023
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7024
7024
  ref: z.ZodOptional<z.ZodObject<{
7025
7025
  type: z.ZodEnum<{
7026
- commit: "commit";
7027
7026
  tag: "tag";
7027
+ commit: "commit";
7028
7028
  branch: "branch";
7029
7029
  }>;
7030
7030
  name: z.ZodString;
@@ -7041,19 +7041,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
7041
7041
  agentId: z.ZodNullable<z.ZodString>;
7042
7042
  activeSubAgentId: z.ZodString;
7043
7043
  ref: z.ZodNullable<z.ZodType<{
7044
- type: "commit" | "tag" | "branch";
7044
+ type: "tag" | "commit" | "branch";
7045
7045
  name: string;
7046
7046
  hash: string;
7047
7047
  }, {
7048
- type: "commit" | "tag" | "branch";
7048
+ type: "tag" | "commit" | "branch";
7049
7049
  name: string;
7050
7050
  hash: string;
7051
7051
  }, z.core.$ZodTypeInternals<{
7052
- type: "commit" | "tag" | "branch";
7052
+ type: "tag" | "commit" | "branch";
7053
7053
  name: string;
7054
7054
  hash: string;
7055
7055
  }, {
7056
- type: "commit" | "tag" | "branch";
7056
+ type: "tag" | "commit" | "branch";
7057
7057
  name: string;
7058
7058
  hash: string;
7059
7059
  }>>>;
@@ -7079,8 +7079,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7079
7079
  contextConfigId: z.ZodOptional<z.ZodString>;
7080
7080
  ref: z.ZodObject<{
7081
7081
  type: z.ZodEnum<{
7082
- commit: "commit";
7083
7082
  tag: "tag";
7083
+ commit: "commit";
7084
7084
  branch: "branch";
7085
7085
  }>;
7086
7086
  name: z.ZodString;
@@ -7089,22 +7089,22 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7089
7089
  }>, z.core.$strip>;
7090
7090
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7091
7091
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7092
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7093
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7094
7092
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7095
7093
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7096
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7097
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7098
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7099
7094
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7100
7095
  type: z.ZodEnum<{
7101
- commit: "commit";
7102
7096
  tag: "tag";
7097
+ commit: "commit";
7103
7098
  branch: "branch";
7104
7099
  }>;
7105
7100
  name: z.ZodString;
7106
7101
  hash: z.ZodString;
7107
7102
  }, z.core.$strip>>>;
7103
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7104
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7105
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7106
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7107
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7108
7108
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7109
7109
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7110
7110
  }, z.core.$strip>;
@@ -8004,8 +8004,8 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
8004
8004
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8005
8005
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8006
8006
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8007
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8008
8007
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8008
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8009
8009
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8010
8010
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8011
8011
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -8118,7 +8118,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8118
8118
  dataType: "json";
8119
8119
  columnType: "PgJsonb";
8120
8120
  data: {
8121
- type: "commit" | "tag" | "branch";
8121
+ type: "tag" | "commit" | "branch";
8122
8122
  name: string;
8123
8123
  hash: string;
8124
8124
  };
@@ -8134,7 +8134,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8134
8134
  generated: undefined;
8135
8135
  }, {}, {
8136
8136
  $type: {
8137
- type: "commit" | "tag" | "branch";
8137
+ type: "tag" | "commit" | "branch";
8138
8138
  name: string;
8139
8139
  hash: string;
8140
8140
  };
@@ -8368,7 +8368,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8368
8368
  dataType: "json";
8369
8369
  columnType: "PgJsonb";
8370
8370
  data: {
8371
- type: "commit" | "tag" | "branch";
8371
+ type: "tag" | "commit" | "branch";
8372
8372
  name: string;
8373
8373
  hash: string;
8374
8374
  };
@@ -8384,7 +8384,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8384
8384
  generated: undefined;
8385
8385
  }, {}, {
8386
8386
  $type: {
8387
- type: "commit" | "tag" | "branch";
8387
+ type: "tag" | "commit" | "branch";
8388
8388
  name: string;
8389
8389
  hash: string;
8390
8390
  };
@@ -8536,8 +8536,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8536
8536
  id: z.ZodString;
8537
8537
  ref: z.ZodObject<{
8538
8538
  type: z.ZodEnum<{
8539
- commit: "commit";
8540
8539
  tag: "tag";
8540
+ commit: "commit";
8541
8541
  branch: "branch";
8542
8542
  }>;
8543
8543
  name: z.ZodString;
@@ -8562,8 +8562,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8562
8562
  id: z.ZodOptional<z.ZodString>;
8563
8563
  ref: z.ZodOptional<z.ZodObject<{
8564
8564
  type: z.ZodEnum<{
8565
- commit: "commit";
8566
8565
  tag: "tag";
8566
+ commit: "commit";
8567
8567
  branch: "branch";
8568
8568
  }>;
8569
8569
  name: z.ZodString;
@@ -8580,19 +8580,19 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8580
8580
  contextConfigId: z.ZodString;
8581
8581
  contextVariableKey: z.ZodString;
8582
8582
  ref: z.ZodNullable<z.ZodType<{
8583
- type: "commit" | "tag" | "branch";
8583
+ type: "tag" | "commit" | "branch";
8584
8584
  name: string;
8585
8585
  hash: string;
8586
8586
  }, {
8587
- type: "commit" | "tag" | "branch";
8587
+ type: "tag" | "commit" | "branch";
8588
8588
  name: string;
8589
8589
  hash: string;
8590
8590
  }, z.core.$ZodTypeInternals<{
8591
- type: "commit" | "tag" | "branch";
8591
+ type: "tag" | "commit" | "branch";
8592
8592
  name: string;
8593
8593
  hash: string;
8594
8594
  }, {
8595
- type: "commit" | "tag" | "branch";
8595
+ type: "tag" | "commit" | "branch";
8596
8596
  name: string;
8597
8597
  hash: string;
8598
8598
  }>>>;
@@ -8619,8 +8619,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8619
8619
  id: z.ZodString;
8620
8620
  ref: z.ZodObject<{
8621
8621
  type: z.ZodEnum<{
8622
- commit: "commit";
8623
8622
  tag: "tag";
8623
+ commit: "commit";
8624
8624
  branch: "branch";
8625
8625
  }>;
8626
8626
  name: z.ZodString;
@@ -8629,19 +8629,19 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8629
8629
  }>, z.core.$strip>;
8630
8630
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8631
8631
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8632
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8633
8632
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8634
8633
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8635
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8636
8634
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8637
8635
  type: z.ZodEnum<{
8638
- commit: "commit";
8639
8636
  tag: "tag";
8637
+ commit: "commit";
8640
8638
  branch: "branch";
8641
8639
  }>;
8642
8640
  name: z.ZodString;
8643
8641
  hash: z.ZodString;
8644
8642
  }, z.core.$strip>>>;
8643
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8644
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8645
8645
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8646
8646
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8647
8647
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10329,26 +10329,26 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
10329
10329
  }>, z.core.$strip>;
10330
10330
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
10331
10331
  name: z.ZodString;
10332
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10333
10332
  createdAt: z.ZodOptional<z.ZodString>;
10334
10333
  updatedAt: z.ZodOptional<z.ZodString>;
10334
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10335
10335
  isActive: z.ZodOptional<z.ZodBoolean>;
10336
10336
  suiteConfigIds: z.ZodArray<z.ZodString>;
10337
10337
  }, z.core.$strip>;
10338
10338
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10339
10339
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10340
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10341
10340
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10342
10341
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10342
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10343
10343
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
10344
10344
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10345
10345
  }, z.core.$strip>;
10346
10346
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10347
10347
  id: z.ZodString;
10348
10348
  name: z.ZodString;
10349
- description: z.ZodNullable<z.ZodString>;
10350
10349
  createdAt: z.ZodString;
10351
10350
  updatedAt: z.ZodString;
10351
+ description: z.ZodNullable<z.ZodString>;
10352
10352
  isActive: z.ZodBoolean;
10353
10353
  suiteConfigIds: z.ZodArray<z.ZodString>;
10354
10354
  }, z.core.$strip>;
@@ -12506,8 +12506,10 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12506
12506
  }>, z.core.$strip>;
12507
12507
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12508
12508
  name: z.ZodString;
12509
+ createdAt: z.ZodOptional<z.ZodString>;
12510
+ updatedAt: z.ZodOptional<z.ZodString>;
12511
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12509
12512
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12510
- prompt: z.ZodString;
12511
12513
  model: z.ZodType<{
12512
12514
  model?: string | undefined;
12513
12515
  providerOptions?: Record<string, any> | undefined;
@@ -12521,15 +12523,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12521
12523
  model?: string | undefined;
12522
12524
  providerOptions?: Record<string, any> | undefined;
12523
12525
  }>>;
12524
- createdAt: z.ZodOptional<z.ZodString>;
12525
- updatedAt: z.ZodOptional<z.ZodString>;
12526
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12526
+ prompt: z.ZodString;
12527
12527
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12528
12528
  }, z.core.$strip>;
12529
12529
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12530
12530
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12531
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12532
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12533
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12531
12534
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12532
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12533
12535
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12534
12536
  model?: string | undefined;
12535
12537
  providerOptions?: Record<string, any> | undefined;
@@ -12543,9 +12545,7 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12543
12545
  model?: string | undefined;
12544
12546
  providerOptions?: Record<string, any> | undefined;
12545
12547
  }>>>>;
12546
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12547
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12548
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12548
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12549
12549
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12550
12550
  }, z.core.$strip>;
12551
12551
  declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -13442,8 +13442,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13442
13442
  }>>>>>>;
13443
13443
  }, z.core.$strip>;
13444
13444
  declare const DatasetRunItemSchema: z.ZodObject<{
13445
- id: z.ZodOptional<z.ZodString>;
13446
13445
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13446
+ id: z.ZodOptional<z.ZodString>;
13447
13447
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13448
13448
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13449
13449
  prompt: string;
@@ -13491,8 +13491,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
13491
13491
  declare const TriggerDatasetRunSchema: z.ZodObject<{
13492
13492
  datasetRunId: z.ZodString;
13493
13493
  items: z.ZodArray<z.ZodObject<{
13494
- id: z.ZodOptional<z.ZodString>;
13495
13494
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13495
+ id: z.ZodOptional<z.ZodString>;
13496
13496
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13497
13497
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13498
13498
  prompt: string;
@@ -13903,16 +13903,16 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
13903
13903
  }>, z.core.$strip>;
13904
13904
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
13905
13905
  name: z.ZodString;
13906
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13907
13906
  createdAt: z.ZodOptional<z.ZodString>;
13908
13907
  updatedAt: z.ZodOptional<z.ZodString>;
13908
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13909
13909
  datasetId: z.ZodString;
13910
13910
  }, z.core.$strip>;
13911
13911
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13912
13912
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13913
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13914
13913
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13915
13914
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13915
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13916
13916
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13917
13917
  }, z.core.$strip>;
13918
13918
  declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -14210,15 +14210,15 @@ declare const DatasetRunConfigAgentRelationApiSelectSchema: z.ZodObject<OmitProj
14210
14210
  id: z.ZodString;
14211
14211
  }>, z.core.$strip>;
14212
14212
  declare const DatasetRunConfigAgentRelationApiInsertSchema: z.ZodObject<{
14213
- agentId: z.ZodString;
14214
14213
  createdAt: z.ZodOptional<z.ZodString>;
14215
14214
  updatedAt: z.ZodOptional<z.ZodString>;
14215
+ agentId: z.ZodString;
14216
14216
  datasetRunConfigId: z.ZodString;
14217
14217
  }, z.core.$strip>;
14218
14218
  declare const DatasetRunConfigAgentRelationApiUpdateSchema: z.ZodObject<{
14219
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14220
14219
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14221
14220
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14221
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14222
14222
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14223
14223
  }, z.core.$strip>;
14224
14224
  declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -14593,11 +14593,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14593
14593
  in: {};
14594
14594
  }>;
14595
14595
  declare const DataComponentBaseSchema: z.ZodObject<{
14596
- tenantId: z.ZodString;
14597
- projectId: z.ZodString;
14598
14596
  id: z.ZodString;
14599
14597
  name: z.ZodString;
14600
14598
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14599
+ projectId: z.ZodString;
14600
+ tenantId: z.ZodString;
14601
14601
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14602
14602
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
14603
14603
  component: string;
@@ -14691,9 +14691,9 @@ declare const DataComponentApiInsertSchema: z.ZodObject<OmitProjectScope<{
14691
14691
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
14692
14692
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14693
14693
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14694
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14695
14694
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14696
14695
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14696
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14697
14697
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
14698
14698
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
14699
14699
  component: string;
@@ -15238,7 +15238,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15238
15238
  }, {}, {
15239
15239
  length: 256;
15240
15240
  }>;
15241
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15241
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15242
15242
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15243
15243
  dataComponentId: z.ZodOptional<z.ZodString>;
15244
15244
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15719,9 +15719,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15719
15719
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15720
15720
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15721
15721
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15722
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15723
15722
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15724
15723
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15724
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15725
15725
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
15726
15726
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15727
15727
  component: string;
@@ -16116,19 +16116,18 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
16116
16116
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16117
16117
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16118
16118
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16119
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16120
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16121
16119
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16122
16120
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16121
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16122
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16123
16123
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16124
16124
  }, z.core.$strip>;
16125
16125
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16126
16126
  id: z.ZodString;
16127
16127
  name: z.ZodString;
16128
- description: z.ZodNullable<z.ZodString>;
16129
- prompt: z.ZodNullable<z.ZodString>;
16130
16128
  createdAt: z.ZodString;
16131
16129
  updatedAt: z.ZodString;
16130
+ description: z.ZodNullable<z.ZodString>;
16132
16131
  models: z.ZodNullable<z.ZodType<{
16133
16132
  base?: {
16134
16133
  model?: string | undefined;
@@ -16182,6 +16181,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16182
16181
  providerOptions?: Record<string, any> | undefined;
16183
16182
  } | undefined;
16184
16183
  }>>>;
16184
+ prompt: z.ZodNullable<z.ZodString>;
16185
16185
  stopWhen: z.ZodNullable<z.ZodType<{
16186
16186
  stepCountIs?: number | undefined;
16187
16187
  }, {
@@ -16196,10 +16196,10 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16196
16196
  }, z.core.$strip>, z.ZodObject<{
16197
16197
  id: z.ZodString;
16198
16198
  name: z.ZodString;
16199
- description: z.ZodNullable<z.ZodString>;
16200
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16201
16199
  createdAt: z.ZodString;
16202
16200
  updatedAt: z.ZodString;
16201
+ description: z.ZodNullable<z.ZodString>;
16202
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16203
16203
  baseUrl: z.ZodString;
16204
16204
  type: z.ZodLiteral<"external">;
16205
16205
  }, z.core.$strip>], "type">;
@@ -16665,10 +16665,10 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
16665
16665
  }>;
16666
16666
  declare const ApiKeyUpdateSchema: z.ZodObject<{
16667
16667
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16668
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16669
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16668
16670
  agentId: z.ZodOptional<z.ZodString>;
16669
16671
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16670
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16671
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16672
16672
  }, {
16673
16673
  out: {};
16674
16674
  in: {};
@@ -16676,13 +16676,13 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
16676
16676
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16677
16677
  id: z.ZodString;
16678
16678
  name: z.ZodNullable<z.ZodString>;
16679
+ createdAt: z.ZodString;
16680
+ updatedAt: z.ZodString;
16681
+ expiresAt: z.ZodNullable<z.ZodString>;
16679
16682
  agentId: z.ZodString;
16680
16683
  publicId: z.ZodString;
16681
16684
  keyPrefix: z.ZodString;
16682
16685
  lastUsedAt: z.ZodNullable<z.ZodString>;
16683
- expiresAt: z.ZodNullable<z.ZodString>;
16684
- createdAt: z.ZodString;
16685
- updatedAt: z.ZodString;
16686
16686
  }, {
16687
16687
  out: {};
16688
16688
  in: {};
@@ -16692,13 +16692,13 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16692
16692
  apiKey: z.ZodObject<{
16693
16693
  id: z.ZodString;
16694
16694
  name: z.ZodNullable<z.ZodString>;
16695
+ createdAt: z.ZodString;
16696
+ updatedAt: z.ZodString;
16697
+ expiresAt: z.ZodNullable<z.ZodString>;
16695
16698
  agentId: z.ZodString;
16696
16699
  publicId: z.ZodString;
16697
16700
  keyPrefix: z.ZodString;
16698
16701
  lastUsedAt: z.ZodNullable<z.ZodString>;
16699
- expiresAt: z.ZodNullable<z.ZodString>;
16700
- createdAt: z.ZodString;
16701
- updatedAt: z.ZodString;
16702
16702
  }, {
16703
16703
  out: {};
16704
16704
  in: {};
@@ -16708,20 +16708,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16708
16708
  }, z.core.$strip>;
16709
16709
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
16710
16710
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16711
- agentId: z.ZodString;
16712
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16713
16711
  createdAt: z.ZodOptional<z.ZodString>;
16714
16712
  updatedAt: z.ZodOptional<z.ZodString>;
16713
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16714
+ agentId: z.ZodString;
16715
16715
  }, {
16716
16716
  out: {};
16717
16717
  in: {};
16718
16718
  }>;
16719
16719
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
16720
16720
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16721
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16722
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16721
16723
  agentId: z.ZodOptional<z.ZodString>;
16722
16724
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16723
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16724
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16725
16725
  }, {
16726
16726
  out: {};
16727
16727
  in: {};
@@ -17216,9 +17216,9 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17216
17216
  name: z.ZodString;
17217
17217
  createdAt: z.ZodString;
17218
17218
  updatedAt: z.ZodString;
17219
+ userId: z.ZodNullable<z.ZodString>;
17219
17220
  credentialStoreId: z.ZodString;
17220
17221
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
17221
- userId: z.ZodNullable<z.ZodString>;
17222
17222
  toolId: z.ZodNullable<z.ZodString>;
17223
17223
  createdBy: z.ZodNullable<z.ZodString>;
17224
17224
  type: z.ZodEnum<{
@@ -17807,9 +17807,9 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17807
17807
  name: z.ZodString;
17808
17808
  createdAt: z.ZodOptional<z.ZodString>;
17809
17809
  updatedAt: z.ZodOptional<z.ZodString>;
17810
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17810
17811
  credentialStoreId: z.ZodString;
17811
17812
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17812
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17813
17813
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17814
17814
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17815
17815
  type: z.ZodEnum<{
@@ -17823,9 +17823,9 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
17823
17823
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17824
17824
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17825
17825
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17826
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17826
17827
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17827
17828
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
17828
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17829
17829
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17830
17830
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17831
17831
  type: z.ZodOptional<z.ZodEnum<{
@@ -17953,8 +17953,8 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17953
17953
  id: z.ZodString;
17954
17954
  name: z.ZodString;
17955
17955
  expiresAt: z.ZodOptional<z.ZodString>;
17956
- createdBy: z.ZodOptional<z.ZodString>;
17957
17956
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17957
+ createdBy: z.ZodOptional<z.ZodString>;
17958
17958
  credentialScope: z.ZodOptional<z.ZodString>;
17959
17959
  imageUrl: z.ZodOptional<z.ZodString>;
17960
17960
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -17990,9 +17990,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17990
17990
  name: z.ZodString;
17991
17991
  createdAt: z.ZodOptional<z.ZodString>;
17992
17992
  updatedAt: z.ZodOptional<z.ZodString>;
17993
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17993
17994
  credentialStoreId: z.ZodString;
17994
17995
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17995
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17996
17996
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17997
17997
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17998
17998
  type: z.ZodEnum<{
@@ -18131,7 +18131,10 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
18131
18131
  declare const ToolApiUpdateSchema: z.ZodObject<{
18132
18132
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18133
18133
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18134
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18135
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18134
18136
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18137
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
18135
18138
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
18136
18139
  type: z.ZodLiteral<"mcp">;
18137
18140
  mcp: z.ZodObject<{
@@ -18159,9 +18162,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18159
18162
  }, z.core.$strip>;
18160
18163
  }, z.core.$strip>>>;
18161
18164
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18162
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18163
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18164
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
18165
18165
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18166
18166
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18167
18167
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
@@ -18532,10 +18532,10 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
18532
18532
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
18533
18533
  id: z.ZodString;
18534
18534
  name: z.ZodString;
18535
- description: z.ZodNullable<z.ZodString>;
18536
- agentId: z.ZodString;
18537
18535
  createdAt: z.ZodString;
18538
18536
  updatedAt: z.ZodString;
18537
+ description: z.ZodNullable<z.ZodString>;
18538
+ agentId: z.ZodString;
18539
18539
  functionId: z.ZodString;
18540
18540
  relationshipId: z.ZodOptional<z.ZodString>;
18541
18541
  }, z.core.$strip>;
@@ -18553,10 +18553,10 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
18553
18553
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
18554
18554
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18555
18555
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18556
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18557
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18558
18556
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18559
18557
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18558
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18559
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18560
18560
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18561
18561
  }, z.core.$strip>;
18562
18562
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -19328,9 +19328,9 @@ declare const FetchDefinitionSchema: z.ZodObject<{
19328
19328
  name: z.ZodString;
19329
19329
  createdAt: z.ZodOptional<z.ZodString>;
19330
19330
  updatedAt: z.ZodOptional<z.ZodString>;
19331
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19331
19332
  credentialStoreId: z.ZodString;
19332
19333
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19333
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19334
19334
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19335
19335
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19336
19336
  type: z.ZodEnum<{
@@ -19354,23 +19354,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
19354
19354
  in: {};
19355
19355
  }>;
19356
19356
  declare const ContextConfigInsertSchema: z.ZodObject<{
19357
- tenantId: z.ZodString;
19358
- projectId: z.ZodString;
19359
19357
  id: z.ZodOptional<z.ZodString>;
19360
- agentId: z.ZodString;
19361
19358
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19362
19359
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19360
+ agentId: z.ZodString;
19361
+ projectId: z.ZodString;
19362
+ tenantId: z.ZodString;
19363
19363
  }, {
19364
19364
  out: {};
19365
19365
  in: {};
19366
19366
  }>;
19367
19367
  declare const ContextConfigUpdateSchema: z.ZodObject<{
19368
- tenantId: z.ZodOptional<z.ZodString>;
19369
- projectId: z.ZodOptional<z.ZodString>;
19370
19368
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19371
- agentId: z.ZodOptional<z.ZodString>;
19372
19369
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19373
19370
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19371
+ agentId: z.ZodOptional<z.ZodString>;
19372
+ projectId: z.ZodOptional<z.ZodString>;
19373
+ tenantId: z.ZodOptional<z.ZodString>;
19374
19374
  }, {
19375
19375
  out: {};
19376
19376
  in: {};
@@ -19881,8 +19881,8 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
19881
19881
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19882
19882
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19883
19883
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19884
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19885
19884
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19885
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19886
19886
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
19887
19887
  needsApproval: z.ZodOptional<z.ZodBoolean>;
19888
19888
  }, z.core.$strip>>>>>>;
@@ -22010,7 +22010,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
22010
22010
  }, {}, {
22011
22011
  length: 256;
22012
22012
  }>;
22013
- }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "toolCallId" | "taskId" | "contextId" | "visibility" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
22013
+ }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
22014
22014
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
22015
22015
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22016
22016
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -22075,17 +22075,17 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
22075
22075
  id: z.ZodString;
22076
22076
  }>, z.core.$strip>;
22077
22077
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
22078
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22079
22078
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22079
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22080
22080
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22081
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22082
22081
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22083
22082
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22084
22083
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
22085
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22084
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22086
22085
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22087
22086
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22088
22087
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22088
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22089
22089
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
22090
22090
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22091
22091
  mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
@@ -22157,9 +22157,9 @@ declare const TeamAgentSchema: z.ZodObject<{
22157
22157
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
22158
22158
  id: z.ZodString;
22159
22159
  name: z.ZodString;
22160
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22161
22160
  createdAt: z.ZodOptional<z.ZodString>;
22162
22161
  updatedAt: z.ZodOptional<z.ZodString>;
22162
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22163
22163
  models: z.ZodOptional<z.ZodObject<{
22164
22164
  base: z.ZodOptional<z.ZodObject<{
22165
22165
  model: z.ZodOptional<z.ZodString>;
@@ -22210,18 +22210,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22210
22210
  }, z.core.$strip>;
22211
22211
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22212
22212
  name: z.ZodString;
22213
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22214
22213
  createdAt: z.ZodOptional<z.ZodString>;
22215
22214
  updatedAt: z.ZodOptional<z.ZodString>;
22215
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22216
22216
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22217
22217
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22218
22218
  id: z.ZodString;
22219
22219
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22220
22220
  id: z.ZodString;
22221
22221
  name: z.ZodString;
22222
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22223
22222
  createdAt: z.ZodOptional<z.ZodString>;
22224
22223
  updatedAt: z.ZodOptional<z.ZodString>;
22224
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22225
22225
  models: z.ZodOptional<z.ZodObject<{
22226
22226
  base: z.ZodOptional<z.ZodObject<{
22227
22227
  model: z.ZodOptional<z.ZodString>;
@@ -22349,9 +22349,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22349
22349
  }, z.core.$strip>>>;
22350
22350
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22351
22351
  name: z.ZodString;
22352
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22353
22352
  createdAt: z.ZodOptional<z.ZodString>;
22354
22353
  updatedAt: z.ZodOptional<z.ZodString>;
22354
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22355
22355
  enabled: z.ZodOptional<z.ZodBoolean>;
22356
22356
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22357
22357
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -22460,10 +22460,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
22460
22460
  in: {};
22461
22461
  }>;
22462
22462
  declare const ProjectInsertSchema: z.ZodObject<{
22463
- tenantId: z.ZodString;
22464
22463
  id: z.ZodString;
22465
22464
  name: z.ZodString;
22466
22465
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22466
+ tenantId: z.ZodString;
22467
22467
  models: z.ZodObject<{
22468
22468
  base: z.ZodObject<{
22469
22469
  model: z.ZodOptional<z.ZodString>;
@@ -22514,9 +22514,9 @@ declare const ProjectUpdateSchema: z.ZodObject<{
22514
22514
  declare const ProjectApiSelectSchema: z.ZodObject<{
22515
22515
  id: z.ZodString;
22516
22516
  name: z.ZodString;
22517
- description: z.ZodNullable<z.ZodString>;
22518
22517
  createdAt: z.ZodString;
22519
22518
  updatedAt: z.ZodString;
22519
+ description: z.ZodNullable<z.ZodString>;
22520
22520
  models: z.ZodNullable<z.ZodObject<{
22521
22521
  base: z.ZodObject<{
22522
22522
  model: z.ZodOptional<z.ZodString>;
@@ -22614,18 +22614,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22614
22614
  }, z.core.$strip>>;
22615
22615
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
22616
22616
  name: z.ZodString;
22617
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22618
22617
  createdAt: z.ZodOptional<z.ZodString>;
22619
22618
  updatedAt: z.ZodOptional<z.ZodString>;
22619
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22620
22620
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22621
22621
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22622
22622
  id: z.ZodString;
22623
22623
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22624
22624
  id: z.ZodString;
22625
22625
  name: z.ZodString;
22626
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22627
22626
  createdAt: z.ZodOptional<z.ZodString>;
22628
22627
  updatedAt: z.ZodOptional<z.ZodString>;
22628
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22629
22629
  models: z.ZodOptional<z.ZodObject<{
22630
22630
  base: z.ZodOptional<z.ZodObject<{
22631
22631
  model: z.ZodOptional<z.ZodString>;
@@ -22753,9 +22753,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22753
22753
  }, z.core.$strip>>>;
22754
22754
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22755
22755
  name: z.ZodString;
22756
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22757
22756
  createdAt: z.ZodOptional<z.ZodString>;
22758
22757
  updatedAt: z.ZodOptional<z.ZodString>;
22758
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22759
22759
  enabled: z.ZodOptional<z.ZodBoolean>;
22760
22760
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22761
22761
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -22941,9 +22941,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22941
22941
  name: z.ZodString;
22942
22942
  createdAt: z.ZodOptional<z.ZodString>;
22943
22943
  updatedAt: z.ZodOptional<z.ZodString>;
22944
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22944
22945
  credentialStoreId: z.ZodString;
22945
22946
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22946
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22947
22947
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22948
22948
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22949
22949
  type: z.ZodEnum<{
@@ -22961,9 +22961,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22961
22961
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22962
22962
  id: z.ZodString;
22963
22963
  name: z.ZodString;
22964
- description: z.ZodNullable<z.ZodString>;
22965
22964
  createdAt: z.ZodString;
22966
22965
  updatedAt: z.ZodString;
22966
+ description: z.ZodNullable<z.ZodString>;
22967
22967
  models: z.ZodNullable<z.ZodType<{
22968
22968
  base?: {
22969
22969
  model?: string | undefined;
@@ -23054,9 +23054,9 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
23054
23054
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23055
23055
  id: z.ZodString;
23056
23056
  name: z.ZodString;
23057
- description: z.ZodNullable<z.ZodString>;
23058
23057
  createdAt: z.ZodString;
23059
23058
  updatedAt: z.ZodString;
23059
+ description: z.ZodNullable<z.ZodString>;
23060
23060
  models: z.ZodNullable<z.ZodType<{
23061
23061
  base?: {
23062
23062
  model?: string | undefined;
@@ -23153,17 +23153,17 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23153
23153
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23154
23154
  id: z.ZodString;
23155
23155
  name: z.ZodString;
23156
- description: z.ZodNullable<z.ZodString>;
23157
23156
  createdAt: z.ZodString;
23158
23157
  updatedAt: z.ZodString;
23158
+ description: z.ZodNullable<z.ZodString>;
23159
23159
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23160
23160
  contextConfigId: z.ZodNullable<z.ZodString>;
23161
23161
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23162
23162
  id: z.ZodString;
23163
23163
  name: z.ZodString;
23164
- description: z.ZodNullable<z.ZodString>;
23165
23164
  createdAt: z.ZodString;
23166
23165
  updatedAt: z.ZodString;
23166
+ description: z.ZodNullable<z.ZodString>;
23167
23167
  models: z.ZodNullable<z.ZodType<{
23168
23168
  base?: {
23169
23169
  model?: string | undefined;
@@ -23299,10 +23299,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23299
23299
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23300
23300
  id: z.ZodString;
23301
23301
  name: z.ZodString;
23302
- description: z.ZodNullable<z.ZodString>;
23303
- agentId: z.ZodString;
23304
23302
  createdAt: z.ZodString;
23305
23303
  updatedAt: z.ZodString;
23304
+ description: z.ZodNullable<z.ZodString>;
23305
+ agentId: z.ZodString;
23306
23306
  functionId: z.ZodString;
23307
23307
  relationshipId: z.ZodOptional<z.ZodString>;
23308
23308
  }, z.core.$strip>>>;
@@ -23360,9 +23360,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23360
23360
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
23361
23361
  id: z.ZodString;
23362
23362
  name: z.ZodString;
23363
- description: z.ZodNullable<z.ZodString>;
23364
23363
  createdAt: z.ZodString;
23365
23364
  updatedAt: z.ZodString;
23365
+ description: z.ZodNullable<z.ZodString>;
23366
23366
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23367
23367
  contextConfigId: z.ZodNullable<z.ZodString>;
23368
23368
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -23413,10 +23413,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23413
23413
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23414
23414
  id: z.ZodString;
23415
23415
  name: z.ZodString;
23416
- description: z.ZodNullable<z.ZodString>;
23417
- agentId: z.ZodString;
23418
23416
  createdAt: z.ZodString;
23419
23417
  updatedAt: z.ZodString;
23418
+ description: z.ZodNullable<z.ZodString>;
23419
+ agentId: z.ZodString;
23420
23420
  functionId: z.ZodString;
23421
23421
  relationshipId: z.ZodOptional<z.ZodString>;
23422
23422
  }, z.core.$strip>>>;
@@ -23473,9 +23473,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23473
23473
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23474
23474
  id: z.ZodString;
23475
23475
  name: z.ZodString;
23476
- description: z.ZodNullable<z.ZodString>;
23477
23476
  createdAt: z.ZodString;
23478
23477
  updatedAt: z.ZodString;
23478
+ description: z.ZodNullable<z.ZodString>;
23479
23479
  models: z.ZodNullable<z.ZodType<{
23480
23480
  base?: {
23481
23481
  model?: string | undefined;
@@ -23573,9 +23573,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23573
23573
  declare const FullProjectSelectSchema: z.ZodObject<{
23574
23574
  id: z.ZodString;
23575
23575
  name: z.ZodString;
23576
- description: z.ZodNullable<z.ZodString>;
23577
23576
  createdAt: z.ZodString;
23578
23577
  updatedAt: z.ZodString;
23578
+ description: z.ZodNullable<z.ZodString>;
23579
23579
  models: z.ZodNullable<z.ZodObject<{
23580
23580
  base: z.ZodObject<{
23581
23581
  model: z.ZodOptional<z.ZodString>;
@@ -23597,17 +23597,17 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23597
23597
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
23598
23598
  id: z.ZodString;
23599
23599
  name: z.ZodString;
23600
- description: z.ZodNullable<z.ZodString>;
23601
23600
  createdAt: z.ZodString;
23602
23601
  updatedAt: z.ZodString;
23602
+ description: z.ZodNullable<z.ZodString>;
23603
23603
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23604
23604
  contextConfigId: z.ZodNullable<z.ZodString>;
23605
23605
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23606
23606
  id: z.ZodString;
23607
23607
  name: z.ZodString;
23608
- description: z.ZodNullable<z.ZodString>;
23609
23608
  createdAt: z.ZodString;
23610
23609
  updatedAt: z.ZodString;
23610
+ description: z.ZodNullable<z.ZodString>;
23611
23611
  models: z.ZodNullable<z.ZodType<{
23612
23612
  base?: {
23613
23613
  model?: string | undefined;
@@ -23743,10 +23743,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23743
23743
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23744
23744
  id: z.ZodString;
23745
23745
  name: z.ZodString;
23746
- description: z.ZodNullable<z.ZodString>;
23747
- agentId: z.ZodString;
23748
23746
  createdAt: z.ZodString;
23749
23747
  updatedAt: z.ZodString;
23748
+ description: z.ZodNullable<z.ZodString>;
23749
+ agentId: z.ZodString;
23750
23750
  functionId: z.ZodString;
23751
23751
  relationshipId: z.ZodOptional<z.ZodString>;
23752
23752
  }, z.core.$strip>>>;
@@ -23833,10 +23833,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23833
23833
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23834
23834
  id: z.ZodString;
23835
23835
  name: z.ZodString;
23836
- description: z.ZodNullable<z.ZodString>;
23837
- agentId: z.ZodString;
23838
23836
  createdAt: z.ZodString;
23839
23837
  updatedAt: z.ZodString;
23838
+ description: z.ZodNullable<z.ZodString>;
23839
+ agentId: z.ZodString;
23840
23840
  functionId: z.ZodString;
23841
23841
  relationshipId: z.ZodOptional<z.ZodString>;
23842
23842
  }, z.core.$strip>>>;
@@ -23927,9 +23927,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23927
23927
  name: z.ZodString;
23928
23928
  createdAt: z.ZodString;
23929
23929
  updatedAt: z.ZodString;
23930
+ userId: z.ZodNullable<z.ZodString>;
23930
23931
  credentialStoreId: z.ZodString;
23931
23932
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
23932
- userId: z.ZodNullable<z.ZodString>;
23933
23933
  toolId: z.ZodNullable<z.ZodString>;
23934
23934
  createdBy: z.ZodNullable<z.ZodString>;
23935
23935
  type: z.ZodEnum<{
@@ -24520,9 +24520,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24520
24520
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24521
24521
  id: z.ZodString;
24522
24522
  name: z.ZodString;
24523
- description: z.ZodNullable<z.ZodString>;
24524
24523
  createdAt: z.ZodString;
24525
24524
  updatedAt: z.ZodString;
24525
+ description: z.ZodNullable<z.ZodString>;
24526
24526
  models: z.ZodNullable<z.ZodObject<{
24527
24527
  base: z.ZodObject<{
24528
24528
  model: z.ZodOptional<z.ZodString>;
@@ -24573,10 +24573,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24573
24573
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24574
24574
  id: z.ZodString;
24575
24575
  name: z.ZodString;
24576
- description: z.ZodNullable<z.ZodString>;
24577
- agentId: z.ZodString;
24578
24576
  createdAt: z.ZodString;
24579
24577
  updatedAt: z.ZodString;
24578
+ description: z.ZodNullable<z.ZodString>;
24579
+ agentId: z.ZodString;
24580
24580
  functionId: z.ZodString;
24581
24581
  relationshipId: z.ZodOptional<z.ZodString>;
24582
24582
  }, z.core.$strip>>>;
@@ -24667,9 +24667,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24667
24667
  name: z.ZodString;
24668
24668
  createdAt: z.ZodString;
24669
24669
  updatedAt: z.ZodString;
24670
+ userId: z.ZodNullable<z.ZodString>;
24670
24671
  credentialStoreId: z.ZodString;
24671
24672
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
24672
- userId: z.ZodNullable<z.ZodString>;
24673
24673
  toolId: z.ZodNullable<z.ZodString>;
24674
24674
  createdBy: z.ZodNullable<z.ZodString>;
24675
24675
  type: z.ZodEnum<{
@@ -25256,9 +25256,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25256
25256
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25257
25257
  id: z.ZodString;
25258
25258
  name: z.ZodString;
25259
- description: z.ZodNullable<z.ZodString>;
25260
25259
  createdAt: z.ZodString;
25261
25260
  updatedAt: z.ZodString;
25261
+ description: z.ZodNullable<z.ZodString>;
25262
25262
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25263
25263
  contextConfigId: z.ZodNullable<z.ZodString>;
25264
25264
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -25309,10 +25309,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25309
25309
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25310
25310
  id: z.ZodString;
25311
25311
  name: z.ZodString;
25312
- description: z.ZodNullable<z.ZodString>;
25313
- agentId: z.ZodString;
25314
25312
  createdAt: z.ZodString;
25315
25313
  updatedAt: z.ZodString;
25314
+ description: z.ZodNullable<z.ZodString>;
25315
+ agentId: z.ZodString;
25316
25316
  functionId: z.ZodString;
25317
25317
  relationshipId: z.ZodOptional<z.ZodString>;
25318
25318
  }, z.core.$strip>>>;
@@ -25369,9 +25369,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25369
25369
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25370
25370
  id: z.ZodString;
25371
25371
  name: z.ZodString;
25372
- description: z.ZodNullable<z.ZodString>;
25373
25372
  createdAt: z.ZodString;
25374
25373
  updatedAt: z.ZodString;
25374
+ description: z.ZodNullable<z.ZodString>;
25375
25375
  models: z.ZodNullable<z.ZodType<{
25376
25376
  base?: {
25377
25377
  model?: string | undefined;
@@ -25474,9 +25474,9 @@ declare const ProjectResponse: z.ZodObject<{
25474
25474
  data: z.ZodObject<{
25475
25475
  id: z.ZodString;
25476
25476
  name: z.ZodString;
25477
- description: z.ZodNullable<z.ZodString>;
25478
25477
  createdAt: z.ZodString;
25479
25478
  updatedAt: z.ZodString;
25479
+ description: z.ZodNullable<z.ZodString>;
25480
25480
  models: z.ZodNullable<z.ZodObject<{
25481
25481
  base: z.ZodObject<{
25482
25482
  model: z.ZodOptional<z.ZodString>;
@@ -25766,13 +25766,13 @@ declare const ApiKeyResponse: z.ZodObject<{
25766
25766
  data: z.ZodObject<{
25767
25767
  id: z.ZodString;
25768
25768
  name: z.ZodNullable<z.ZodString>;
25769
+ createdAt: z.ZodString;
25770
+ updatedAt: z.ZodString;
25771
+ expiresAt: z.ZodNullable<z.ZodString>;
25769
25772
  agentId: z.ZodString;
25770
25773
  publicId: z.ZodString;
25771
25774
  keyPrefix: z.ZodString;
25772
25775
  lastUsedAt: z.ZodNullable<z.ZodString>;
25773
- expiresAt: z.ZodNullable<z.ZodString>;
25774
- createdAt: z.ZodString;
25775
- updatedAt: z.ZodString;
25776
25776
  }, {
25777
25777
  out: {};
25778
25778
  in: {};
@@ -25784,9 +25784,9 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25784
25784
  name: z.ZodString;
25785
25785
  createdAt: z.ZodString;
25786
25786
  updatedAt: z.ZodString;
25787
+ userId: z.ZodNullable<z.ZodString>;
25787
25788
  credentialStoreId: z.ZodString;
25788
25789
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25789
- userId: z.ZodNullable<z.ZodString>;
25790
25790
  toolId: z.ZodNullable<z.ZodString>;
25791
25791
  createdBy: z.ZodNullable<z.ZodString>;
25792
25792
  type: z.ZodEnum<{
@@ -26387,10 +26387,10 @@ declare const FunctionToolResponse: z.ZodObject<{
26387
26387
  data: z.ZodObject<{
26388
26388
  id: z.ZodString;
26389
26389
  name: z.ZodString;
26390
- description: z.ZodNullable<z.ZodString>;
26391
- agentId: z.ZodString;
26392
26390
  createdAt: z.ZodString;
26393
26391
  updatedAt: z.ZodString;
26392
+ description: z.ZodNullable<z.ZodString>;
26393
+ agentId: z.ZodString;
26394
26394
  functionId: z.ZodString;
26395
26395
  relationshipId: z.ZodOptional<z.ZodString>;
26396
26396
  }, z.core.$strip>;
@@ -26494,19 +26494,19 @@ declare const ConversationResponse: z.ZodObject<{
26494
26494
  agentId: z.ZodNullable<z.ZodString>;
26495
26495
  activeSubAgentId: z.ZodString;
26496
26496
  ref: z.ZodNullable<z.ZodType<{
26497
- type: "commit" | "tag" | "branch";
26497
+ type: "tag" | "commit" | "branch";
26498
26498
  name: string;
26499
26499
  hash: string;
26500
26500
  }, {
26501
- type: "commit" | "tag" | "branch";
26501
+ type: "tag" | "commit" | "branch";
26502
26502
  name: string;
26503
26503
  hash: string;
26504
26504
  }, z.core.$ZodTypeInternals<{
26505
- type: "commit" | "tag" | "branch";
26505
+ type: "tag" | "commit" | "branch";
26506
26506
  name: string;
26507
26507
  hash: string;
26508
26508
  }, {
26509
- type: "commit" | "tag" | "branch";
26509
+ type: "tag" | "commit" | "branch";
26510
26510
  name: string;
26511
26511
  hash: string;
26512
26512
  }>>>;
@@ -26574,8 +26574,8 @@ declare const TriggerResponse: z.ZodObject<{
26574
26574
  signature: z.ZodObject<{
26575
26575
  source: z.ZodEnum<{
26576
26576
  query: "query";
26577
- header: "header";
26578
26577
  body: "body";
26578
+ header: "header";
26579
26579
  }>;
26580
26580
  key: z.ZodString;
26581
26581
  prefix: z.ZodOptional<z.ZodString>;
@@ -26584,8 +26584,8 @@ declare const TriggerResponse: z.ZodObject<{
26584
26584
  signedComponents: z.ZodArray<z.ZodObject<{
26585
26585
  source: z.ZodEnum<{
26586
26586
  literal: "literal";
26587
- header: "header";
26588
26587
  body: "body";
26588
+ header: "header";
26589
26589
  }>;
26590
26590
  key: z.ZodOptional<z.ZodString>;
26591
26591
  value: z.ZodOptional<z.ZodString>;
@@ -26625,9 +26625,9 @@ declare const ProjectListResponse: z.ZodObject<{
26625
26625
  data: z.ZodArray<z.ZodObject<{
26626
26626
  id: z.ZodString;
26627
26627
  name: z.ZodString;
26628
- description: z.ZodNullable<z.ZodString>;
26629
26628
  createdAt: z.ZodString;
26630
26629
  updatedAt: z.ZodString;
26630
+ description: z.ZodNullable<z.ZodString>;
26631
26631
  models: z.ZodNullable<z.ZodObject<{
26632
26632
  base: z.ZodObject<{
26633
26633
  model: z.ZodOptional<z.ZodString>;
@@ -26953,13 +26953,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
26953
26953
  data: z.ZodArray<z.ZodObject<{
26954
26954
  id: z.ZodString;
26955
26955
  name: z.ZodNullable<z.ZodString>;
26956
+ createdAt: z.ZodString;
26957
+ updatedAt: z.ZodString;
26958
+ expiresAt: z.ZodNullable<z.ZodString>;
26956
26959
  agentId: z.ZodString;
26957
26960
  publicId: z.ZodString;
26958
26961
  keyPrefix: z.ZodString;
26959
26962
  lastUsedAt: z.ZodNullable<z.ZodString>;
26960
- expiresAt: z.ZodNullable<z.ZodString>;
26961
- createdAt: z.ZodString;
26962
- updatedAt: z.ZodString;
26963
26963
  }, {
26964
26964
  out: {};
26965
26965
  in: {};
@@ -26977,9 +26977,9 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26977
26977
  name: z.ZodString;
26978
26978
  createdAt: z.ZodString;
26979
26979
  updatedAt: z.ZodString;
26980
+ userId: z.ZodNullable<z.ZodString>;
26980
26981
  credentialStoreId: z.ZodString;
26981
26982
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26982
- userId: z.ZodNullable<z.ZodString>;
26983
26983
  toolId: z.ZodNullable<z.ZodString>;
26984
26984
  createdBy: z.ZodNullable<z.ZodString>;
26985
26985
  type: z.ZodEnum<{
@@ -27592,10 +27592,10 @@ declare const FunctionToolListResponse: z.ZodObject<{
27592
27592
  data: z.ZodArray<z.ZodObject<{
27593
27593
  id: z.ZodString;
27594
27594
  name: z.ZodString;
27595
- description: z.ZodNullable<z.ZodString>;
27596
- agentId: z.ZodString;
27597
27595
  createdAt: z.ZodString;
27598
27596
  updatedAt: z.ZodString;
27597
+ description: z.ZodNullable<z.ZodString>;
27598
+ agentId: z.ZodString;
27599
27599
  functionId: z.ZodString;
27600
27600
  relationshipId: z.ZodOptional<z.ZodString>;
27601
27601
  }, z.core.$strip>>;
@@ -27735,19 +27735,19 @@ declare const ConversationListResponse: z.ZodObject<{
27735
27735
  agentId: z.ZodNullable<z.ZodString>;
27736
27736
  activeSubAgentId: z.ZodString;
27737
27737
  ref: z.ZodNullable<z.ZodType<{
27738
- type: "commit" | "tag" | "branch";
27738
+ type: "tag" | "commit" | "branch";
27739
27739
  name: string;
27740
27740
  hash: string;
27741
27741
  }, {
27742
- type: "commit" | "tag" | "branch";
27742
+ type: "tag" | "commit" | "branch";
27743
27743
  name: string;
27744
27744
  hash: string;
27745
27745
  }, z.core.$ZodTypeInternals<{
27746
- type: "commit" | "tag" | "branch";
27746
+ type: "tag" | "commit" | "branch";
27747
27747
  name: string;
27748
27748
  hash: string;
27749
27749
  }, {
27750
- type: "commit" | "tag" | "branch";
27750
+ type: "tag" | "commit" | "branch";
27751
27751
  name: string;
27752
27752
  hash: string;
27753
27753
  }>>>;
@@ -27827,8 +27827,8 @@ declare const TriggerListResponse: z.ZodObject<{
27827
27827
  signature: z.ZodObject<{
27828
27828
  source: z.ZodEnum<{
27829
27829
  query: "query";
27830
- header: "header";
27831
27830
  body: "body";
27831
+ header: "header";
27832
27832
  }>;
27833
27833
  key: z.ZodString;
27834
27834
  prefix: z.ZodOptional<z.ZodString>;
@@ -27837,8 +27837,8 @@ declare const TriggerListResponse: z.ZodObject<{
27837
27837
  signedComponents: z.ZodArray<z.ZodObject<{
27838
27838
  source: z.ZodEnum<{
27839
27839
  literal: "literal";
27840
- header: "header";
27841
27840
  body: "body";
27841
+ header: "header";
27842
27842
  }>;
27843
27843
  key: z.ZodOptional<z.ZodString>;
27844
27844
  value: z.ZodOptional<z.ZodString>;
@@ -27890,9 +27890,9 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
27890
27890
  data: z.ZodObject<{
27891
27891
  id: z.ZodString;
27892
27892
  name: z.ZodString;
27893
- description: z.ZodNullable<z.ZodString>;
27894
27893
  createdAt: z.ZodString;
27895
27894
  updatedAt: z.ZodString;
27895
+ description: z.ZodNullable<z.ZodString>;
27896
27896
  enabled: z.ZodBoolean;
27897
27897
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27898
27898
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -27914,8 +27914,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
27914
27914
  signature: z.ZodObject<{
27915
27915
  source: z.ZodEnum<{
27916
27916
  query: "query";
27917
- header: "header";
27918
27917
  body: "body";
27918
+ header: "header";
27919
27919
  }>;
27920
27920
  key: z.ZodString;
27921
27921
  prefix: z.ZodOptional<z.ZodString>;
@@ -27924,8 +27924,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
27924
27924
  signedComponents: z.ZodArray<z.ZodObject<{
27925
27925
  source: z.ZodEnum<{
27926
27926
  literal: "literal";
27927
- header: "header";
27928
27927
  body: "body";
27928
+ header: "header";
27929
27929
  }>;
27930
27930
  key: z.ZodOptional<z.ZodString>;
27931
27931
  value: z.ZodOptional<z.ZodString>;
@@ -27951,9 +27951,9 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
27951
27951
  data: z.ZodArray<z.ZodObject<{
27952
27952
  id: z.ZodString;
27953
27953
  name: z.ZodString;
27954
- description: z.ZodNullable<z.ZodString>;
27955
27954
  createdAt: z.ZodString;
27956
27955
  updatedAt: z.ZodString;
27956
+ description: z.ZodNullable<z.ZodString>;
27957
27957
  enabled: z.ZodBoolean;
27958
27958
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27959
27959
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -27975,8 +27975,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
27975
27975
  signature: z.ZodObject<{
27976
27976
  source: z.ZodEnum<{
27977
27977
  query: "query";
27978
- header: "header";
27979
27978
  body: "body";
27979
+ header: "header";
27980
27980
  }>;
27981
27981
  key: z.ZodString;
27982
27982
  prefix: z.ZodOptional<z.ZodString>;
@@ -27985,8 +27985,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
27985
27985
  signedComponents: z.ZodArray<z.ZodObject<{
27986
27986
  source: z.ZodEnum<{
27987
27987
  literal: "literal";
27988
- header: "header";
27989
27988
  body: "body";
27989
+ header: "header";
27990
27990
  }>;
27991
27991
  key: z.ZodOptional<z.ZodString>;
27992
27992
  value: z.ZodOptional<z.ZodString>;
@@ -28095,18 +28095,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28095
28095
  }, z.core.$strip>>;
28096
28096
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28097
28097
  name: z.ZodString;
28098
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28099
28098
  createdAt: z.ZodOptional<z.ZodString>;
28100
28099
  updatedAt: z.ZodOptional<z.ZodString>;
28100
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28101
28101
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28102
28102
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28103
28103
  id: z.ZodString;
28104
28104
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28105
28105
  id: z.ZodString;
28106
28106
  name: z.ZodString;
28107
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28108
28107
  createdAt: z.ZodOptional<z.ZodString>;
28109
28108
  updatedAt: z.ZodOptional<z.ZodString>;
28109
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28110
28110
  models: z.ZodOptional<z.ZodObject<{
28111
28111
  base: z.ZodOptional<z.ZodObject<{
28112
28112
  model: z.ZodOptional<z.ZodString>;
@@ -28234,9 +28234,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28234
28234
  }, z.core.$strip>>>;
28235
28235
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
28236
28236
  name: z.ZodString;
28237
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28238
28237
  createdAt: z.ZodOptional<z.ZodString>;
28239
28238
  updatedAt: z.ZodOptional<z.ZodString>;
28239
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28240
28240
  enabled: z.ZodOptional<z.ZodBoolean>;
28241
28241
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
28242
28242
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -28422,9 +28422,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28422
28422
  name: z.ZodString;
28423
28423
  createdAt: z.ZodOptional<z.ZodString>;
28424
28424
  updatedAt: z.ZodOptional<z.ZodString>;
28425
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28425
28426
  credentialStoreId: z.ZodString;
28426
28427
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
28427
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28428
28428
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28429
28429
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28430
28430
  type: z.ZodEnum<{
@@ -28444,9 +28444,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28444
28444
  data: z.ZodObject<{
28445
28445
  id: z.ZodString;
28446
28446
  name: z.ZodString;
28447
- description: z.ZodNullable<z.ZodString>;
28448
28447
  createdAt: z.ZodString;
28449
28448
  updatedAt: z.ZodString;
28449
+ description: z.ZodNullable<z.ZodString>;
28450
28450
  models: z.ZodNullable<z.ZodObject<{
28451
28451
  base: z.ZodObject<{
28452
28452
  model: z.ZodOptional<z.ZodString>;
@@ -28468,17 +28468,17 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28468
28468
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28469
28469
  id: z.ZodString;
28470
28470
  name: z.ZodString;
28471
- description: z.ZodNullable<z.ZodString>;
28472
28471
  createdAt: z.ZodString;
28473
28472
  updatedAt: z.ZodString;
28473
+ description: z.ZodNullable<z.ZodString>;
28474
28474
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28475
28475
  contextConfigId: z.ZodNullable<z.ZodString>;
28476
28476
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28477
28477
  id: z.ZodString;
28478
28478
  name: z.ZodString;
28479
- description: z.ZodNullable<z.ZodString>;
28480
28479
  createdAt: z.ZodString;
28481
28480
  updatedAt: z.ZodString;
28481
+ description: z.ZodNullable<z.ZodString>;
28482
28482
  models: z.ZodNullable<z.ZodType<{
28483
28483
  base?: {
28484
28484
  model?: string | undefined;
@@ -28614,10 +28614,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28614
28614
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28615
28615
  id: z.ZodString;
28616
28616
  name: z.ZodString;
28617
- description: z.ZodNullable<z.ZodString>;
28618
- agentId: z.ZodString;
28619
28617
  createdAt: z.ZodString;
28620
28618
  updatedAt: z.ZodString;
28619
+ description: z.ZodNullable<z.ZodString>;
28620
+ agentId: z.ZodString;
28621
28621
  functionId: z.ZodString;
28622
28622
  relationshipId: z.ZodOptional<z.ZodString>;
28623
28623
  }, z.core.$strip>>>;
@@ -28704,10 +28704,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28704
28704
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28705
28705
  id: z.ZodString;
28706
28706
  name: z.ZodString;
28707
- description: z.ZodNullable<z.ZodString>;
28708
- agentId: z.ZodString;
28709
28707
  createdAt: z.ZodString;
28710
28708
  updatedAt: z.ZodString;
28709
+ description: z.ZodNullable<z.ZodString>;
28710
+ agentId: z.ZodString;
28711
28711
  functionId: z.ZodString;
28712
28712
  relationshipId: z.ZodOptional<z.ZodString>;
28713
28713
  }, z.core.$strip>>>;
@@ -28798,9 +28798,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28798
28798
  name: z.ZodString;
28799
28799
  createdAt: z.ZodString;
28800
28800
  updatedAt: z.ZodString;
28801
+ userId: z.ZodNullable<z.ZodString>;
28801
28802
  credentialStoreId: z.ZodString;
28802
28803
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28803
- userId: z.ZodNullable<z.ZodString>;
28804
28804
  toolId: z.ZodNullable<z.ZodString>;
28805
28805
  createdBy: z.ZodNullable<z.ZodString>;
28806
28806
  type: z.ZodEnum<{
@@ -29393,9 +29393,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29393
29393
  data: z.ZodObject<{
29394
29394
  id: z.ZodString;
29395
29395
  name: z.ZodString;
29396
- description: z.ZodNullable<z.ZodString>;
29397
29396
  createdAt: z.ZodString;
29398
29397
  updatedAt: z.ZodString;
29398
+ description: z.ZodNullable<z.ZodString>;
29399
29399
  models: z.ZodNullable<z.ZodObject<{
29400
29400
  base: z.ZodObject<{
29401
29401
  model: z.ZodOptional<z.ZodString>;
@@ -29446,10 +29446,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29446
29446
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29447
29447
  id: z.ZodString;
29448
29448
  name: z.ZodString;
29449
- description: z.ZodNullable<z.ZodString>;
29450
- agentId: z.ZodString;
29451
29449
  createdAt: z.ZodString;
29452
29450
  updatedAt: z.ZodString;
29451
+ description: z.ZodNullable<z.ZodString>;
29452
+ agentId: z.ZodString;
29453
29453
  functionId: z.ZodString;
29454
29454
  relationshipId: z.ZodOptional<z.ZodString>;
29455
29455
  }, z.core.$strip>>>;
@@ -29540,9 +29540,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29540
29540
  name: z.ZodString;
29541
29541
  createdAt: z.ZodString;
29542
29542
  updatedAt: z.ZodString;
29543
+ userId: z.ZodNullable<z.ZodString>;
29543
29544
  credentialStoreId: z.ZodString;
29544
29545
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29545
- userId: z.ZodNullable<z.ZodString>;
29546
29546
  toolId: z.ZodNullable<z.ZodString>;
29547
29547
  createdBy: z.ZodNullable<z.ZodString>;
29548
29548
  type: z.ZodEnum<{
@@ -30129,9 +30129,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30129
30129
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
30130
30130
  id: z.ZodString;
30131
30131
  name: z.ZodString;
30132
- description: z.ZodNullable<z.ZodString>;
30133
30132
  createdAt: z.ZodString;
30134
30133
  updatedAt: z.ZodString;
30134
+ description: z.ZodNullable<z.ZodString>;
30135
30135
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30136
30136
  contextConfigId: z.ZodNullable<z.ZodString>;
30137
30137
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -30182,10 +30182,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30182
30182
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30183
30183
  id: z.ZodString;
30184
30184
  name: z.ZodString;
30185
- description: z.ZodNullable<z.ZodString>;
30186
- agentId: z.ZodString;
30187
30185
  createdAt: z.ZodString;
30188
30186
  updatedAt: z.ZodString;
30187
+ description: z.ZodNullable<z.ZodString>;
30188
+ agentId: z.ZodString;
30189
30189
  functionId: z.ZodString;
30190
30190
  relationshipId: z.ZodOptional<z.ZodString>;
30191
30191
  }, z.core.$strip>>>;
@@ -30242,9 +30242,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30242
30242
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30243
30243
  id: z.ZodString;
30244
30244
  name: z.ZodString;
30245
- description: z.ZodNullable<z.ZodString>;
30246
30245
  createdAt: z.ZodString;
30247
30246
  updatedAt: z.ZodString;
30247
+ description: z.ZodNullable<z.ZodString>;
30248
30248
  models: z.ZodNullable<z.ZodType<{
30249
30249
  base?: {
30250
30250
  model?: string | undefined;
@@ -30347,18 +30347,18 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30347
30347
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30348
30348
  data: z.ZodObject<{
30349
30349
  name: z.ZodString;
30350
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30351
30350
  createdAt: z.ZodOptional<z.ZodString>;
30352
30351
  updatedAt: z.ZodOptional<z.ZodString>;
30352
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30353
30353
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30354
30354
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30355
30355
  id: z.ZodString;
30356
30356
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30357
30357
  id: z.ZodString;
30358
30358
  name: z.ZodString;
30359
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30360
30359
  createdAt: z.ZodOptional<z.ZodString>;
30361
30360
  updatedAt: z.ZodOptional<z.ZodString>;
30361
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30362
30362
  models: z.ZodOptional<z.ZodObject<{
30363
30363
  base: z.ZodOptional<z.ZodObject<{
30364
30364
  model: z.ZodOptional<z.ZodString>;
@@ -30486,9 +30486,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30486
30486
  }, z.core.$strip>>>;
30487
30487
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30488
30488
  name: z.ZodString;
30489
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30490
30489
  createdAt: z.ZodOptional<z.ZodString>;
30491
30490
  updatedAt: z.ZodOptional<z.ZodString>;
30491
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30492
30492
  enabled: z.ZodOptional<z.ZodBoolean>;
30493
30493
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30494
30494
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -30542,17 +30542,17 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30542
30542
  data: z.ZodObject<{
30543
30543
  id: z.ZodString;
30544
30544
  name: z.ZodString;
30545
- description: z.ZodNullable<z.ZodString>;
30546
30545
  createdAt: z.ZodString;
30547
30546
  updatedAt: z.ZodString;
30547
+ description: z.ZodNullable<z.ZodString>;
30548
30548
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30549
30549
  contextConfigId: z.ZodNullable<z.ZodString>;
30550
30550
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30551
30551
  id: z.ZodString;
30552
30552
  name: z.ZodString;
30553
- description: z.ZodNullable<z.ZodString>;
30554
30553
  createdAt: z.ZodString;
30555
30554
  updatedAt: z.ZodString;
30555
+ description: z.ZodNullable<z.ZodString>;
30556
30556
  models: z.ZodNullable<z.ZodType<{
30557
30557
  base?: {
30558
30558
  model?: string | undefined;
@@ -30688,10 +30688,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30688
30688
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30689
30689
  id: z.ZodString;
30690
30690
  name: z.ZodString;
30691
- description: z.ZodNullable<z.ZodString>;
30692
- agentId: z.ZodString;
30693
30691
  createdAt: z.ZodString;
30694
30692
  updatedAt: z.ZodString;
30693
+ description: z.ZodNullable<z.ZodString>;
30694
+ agentId: z.ZodString;
30695
30695
  functionId: z.ZodString;
30696
30696
  relationshipId: z.ZodOptional<z.ZodString>;
30697
30697
  }, z.core.$strip>>>;
@@ -31305,8 +31305,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
31305
31305
  }>;
31306
31306
  }, undefined>, undefined>;
31307
31307
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
31308
- tenantId: z.ZodString;
31309
31308
  id: z.ZodString;
31309
+ tenantId: z.ZodString;
31310
31310
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31311
31311
  mainBranchName: z.ZodString;
31312
31312
  }, {
@@ -31320,8 +31320,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
31320
31320
  disconnected: "disconnected";
31321
31321
  }>;
31322
31322
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
31323
- Organization: "Organization";
31324
31323
  User: "User";
31324
+ Organization: "Organization";
31325
31325
  }>;
31326
31326
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
31327
31327
  createdAt: drizzle_orm_pg_core211.PgColumn<{
@@ -31416,7 +31416,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31416
31416
  tableName: "work_app_github_installations";
31417
31417
  dataType: "string";
31418
31418
  columnType: "PgVarchar";
31419
- data: "Organization" | "User";
31419
+ data: "User" | "Organization";
31420
31420
  driverParam: string;
31421
31421
  notNull: true;
31422
31422
  hasDefault: false;
@@ -31429,7 +31429,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31429
31429
  generated: undefined;
31430
31430
  }, {}, {
31431
31431
  length: 20;
31432
- $type: "Organization" | "User";
31432
+ $type: "User" | "Organization";
31433
31433
  }>;
31434
31434
  status: drizzle_orm_pg_core211.PgColumn<{
31435
31435
  name: "status";
@@ -31582,7 +31582,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31582
31582
  tableName: "work_app_github_installations";
31583
31583
  dataType: "string";
31584
31584
  columnType: "PgVarchar";
31585
- data: "Organization" | "User";
31585
+ data: "User" | "Organization";
31586
31586
  driverParam: string;
31587
31587
  notNull: true;
31588
31588
  hasDefault: false;
@@ -31595,7 +31595,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31595
31595
  generated: undefined;
31596
31596
  }, {}, {
31597
31597
  length: 20;
31598
- $type: "Organization" | "User";
31598
+ $type: "User" | "Organization";
31599
31599
  }>;
31600
31600
  status: drizzle_orm_pg_core211.PgColumn<{
31601
31601
  name: "status";
@@ -31657,14 +31657,14 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31657
31657
  }>;
31658
31658
  }, undefined>, undefined>;
31659
31659
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
31660
- tenantId: z.ZodString;
31661
31660
  id: z.ZodString;
31662
31661
  accountId: z.ZodString;
31662
+ tenantId: z.ZodString;
31663
31663
  installationId: z.ZodString;
31664
31664
  accountLogin: z.ZodString;
31665
31665
  accountType: z.ZodEnum<{
31666
- Organization: "Organization";
31667
31666
  User: "User";
31667
+ Organization: "Organization";
31668
31668
  }>;
31669
31669
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
31670
31670
  pending: "pending";
@@ -31688,14 +31688,14 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
31688
31688
  id: z.ZodString;
31689
31689
  }>, z.core.$strip>;
31690
31690
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
31691
- tenantId: z.ZodString;
31692
31691
  id: z.ZodString;
31693
31692
  accountId: z.ZodString;
31693
+ tenantId: z.ZodString;
31694
31694
  installationId: z.ZodString;
31695
31695
  accountLogin: z.ZodString;
31696
31696
  accountType: z.ZodEnum<{
31697
- Organization: "Organization";
31698
31697
  User: "User";
31698
+ Organization: "Organization";
31699
31699
  }>;
31700
31700
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
31701
31701
  pending: "pending";