@inkeep/agents-core 0.0.0-dev-20260317010148 → 0.0.0-dev-20260317180950

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/auth/auth-validation-schemas.d.ts +17 -17
  2. package/dist/auth/auth.d.ts +28 -28
  3. package/dist/auth/permissions.d.ts +13 -13
  4. package/dist/client-exports.d.ts +3 -3
  5. package/dist/data-access/index.d.ts +2 -2
  6. package/dist/data-access/index.js +2 -2
  7. package/dist/data-access/manage/agents.d.ts +42 -42
  8. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  9. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  10. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  11. package/dist/data-access/manage/functionTools.d.ts +16 -16
  12. package/dist/data-access/manage/skills.d.ts +13 -13
  13. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  14. package/dist/data-access/manage/subAgentRelations.d.ts +32 -32
  15. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  16. package/dist/data-access/manage/subAgents.d.ts +18 -18
  17. package/dist/data-access/manage/tools.d.ts +21 -21
  18. package/dist/data-access/manage/triggers.d.ts +2 -2
  19. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  20. package/dist/data-access/runtime/apps.d.ts +12 -12
  21. package/dist/data-access/runtime/conversations.d.ts +27 -27
  22. package/dist/data-access/runtime/messages.d.ts +24 -19
  23. package/dist/data-access/runtime/messages.js +6 -1
  24. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  25. package/dist/data-access/runtime/tasks.d.ts +6 -6
  26. package/dist/db/manage/manage-schema.d.ts +453 -453
  27. package/dist/db/runtime/runtime-schema.d.ts +334 -334
  28. package/dist/index.d.ts +2 -2
  29. package/dist/index.js +2 -2
  30. package/dist/utils/error.d.ts +51 -51
  31. package/dist/validation/dolt-schemas.d.ts +1 -1
  32. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  33. package/dist/validation/schemas.d.ts +446 -446
  34. package/package.json +1 -1
@@ -822,9 +822,9 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
823
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
824
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
825
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
826
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
827
825
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
827
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
828
828
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
829
829
  base: z.ZodOptional<z.ZodObject<{
830
830
  model: z.ZodOptional<z.ZodString>;
@@ -839,7 +839,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
839
839
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
840
840
  }, z.core.$strip>>;
841
841
  }, z.core.$strip>>>>;
842
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
843
842
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
844
843
  stepCountIs?: number | undefined;
845
844
  }, {
@@ -849,7 +848,8 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
849
848
  }, {
850
849
  stepCountIs?: number | undefined;
851
850
  }>>>>>>;
852
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
851
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
853
853
  }, z.core.$strip>;
854
854
  declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
855
855
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -2483,7 +2483,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2483
2483
  }, {}, {
2484
2484
  length: 256;
2485
2485
  }>;
2486
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "projectId" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2486
+ }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2487
2487
  declare const AgentUpdateSchema: z.ZodObject<{
2488
2488
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2489
2489
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2754,7 +2754,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2754
2754
  name: z.ZodString;
2755
2755
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
2756
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
2758
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2759
2759
  base?: {
2760
2760
  model?: string | undefined;
@@ -2808,7 +2808,16 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2808
2808
  providerOptions?: Record<string, any> | undefined;
2809
2809
  } | undefined;
2810
2810
  }>>>>;
2811
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2811
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2812
+ transferCountIs?: number | undefined;
2813
+ }, {
2814
+ transferCountIs?: number | undefined;
2815
+ }, z.core.$ZodTypeInternals<{
2816
+ transferCountIs?: number | undefined;
2817
+ }, {
2818
+ transferCountIs?: number | undefined;
2819
+ }>>>>;
2820
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2812
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2813
2822
  enabled?: boolean | undefined;
2814
2823
  numEvents?: number | undefined;
@@ -2866,21 +2875,12 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2866
2875
  } | undefined;
2867
2876
  }[] | undefined;
2868
2877
  }>>>>;
2869
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2870
- transferCountIs?: number | undefined;
2871
- }, {
2872
- transferCountIs?: number | undefined;
2873
- }, z.core.$ZodTypeInternals<{
2874
- transferCountIs?: number | undefined;
2875
- }, {
2876
- transferCountIs?: number | undefined;
2877
- }>>>>;
2878
2878
  }, z.core.$strip>;
2879
2879
  declare const AgentApiUpdateSchema: z.ZodObject<{
2880
2880
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2881
2881
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2882
2882
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2883
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2883
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
2884
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2885
2885
  base?: {
2886
2886
  model?: string | undefined;
@@ -2934,7 +2934,16 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2934
2934
  providerOptions?: Record<string, any> | undefined;
2935
2935
  } | undefined;
2936
2936
  }>>>>>>;
2937
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2937
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2938
+ transferCountIs?: number | undefined;
2939
+ }, {
2940
+ transferCountIs?: number | undefined;
2941
+ }, z.core.$ZodTypeInternals<{
2942
+ transferCountIs?: number | undefined;
2943
+ }, {
2944
+ transferCountIs?: number | undefined;
2945
+ }>>>>>>;
2946
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2938
2947
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2939
2948
  enabled?: boolean | undefined;
2940
2949
  numEvents?: number | undefined;
@@ -2992,15 +3001,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2992
3001
  } | undefined;
2993
3002
  }[] | undefined;
2994
3003
  }>>>>>>;
2995
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2996
- transferCountIs?: number | undefined;
2997
- }, {
2998
- transferCountIs?: number | undefined;
2999
- }, z.core.$ZodTypeInternals<{
3000
- transferCountIs?: number | undefined;
3001
- }, {
3002
- transferCountIs?: number | undefined;
3003
- }>>>>>>;
3004
3004
  }, z.core.$strip>;
3005
3005
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
3006
3006
  name: z.ZodString;
@@ -3067,8 +3067,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3067
3067
  declare const SignatureSourceSchema: z.ZodObject<{
3068
3068
  source: z.ZodEnum<{
3069
3069
  query: "query";
3070
- header: "header";
3071
3070
  body: "body";
3071
+ header: "header";
3072
3072
  }>;
3073
3073
  key: z.ZodString;
3074
3074
  prefix: z.ZodOptional<z.ZodString>;
@@ -3097,8 +3097,8 @@ declare const SignatureSourceSchema: z.ZodObject<{
3097
3097
  declare const SignedComponentSchema: z.ZodObject<{
3098
3098
  source: z.ZodEnum<{
3099
3099
  literal: "literal";
3100
- header: "header";
3101
3100
  body: "body";
3101
+ header: "header";
3102
3102
  }>;
3103
3103
  key: z.ZodOptional<z.ZodString>;
3104
3104
  value: z.ZodOptional<z.ZodString>;
@@ -3207,8 +3207,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3207
3207
  signature: z.ZodObject<{
3208
3208
  source: z.ZodEnum<{
3209
3209
  query: "query";
3210
- header: "header";
3211
3210
  body: "body";
3211
+ header: "header";
3212
3212
  }>;
3213
3213
  key: z.ZodString;
3214
3214
  prefix: z.ZodOptional<z.ZodString>;
@@ -3217,8 +3217,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3217
3217
  signedComponents: z.ZodArray<z.ZodObject<{
3218
3218
  source: z.ZodEnum<{
3219
3219
  literal: "literal";
3220
- header: "header";
3221
3220
  body: "body";
3221
+ header: "header";
3222
3222
  }>;
3223
3223
  key: z.ZodOptional<z.ZodString>;
3224
3224
  value: z.ZodOptional<z.ZodString>;
@@ -3269,8 +3269,8 @@ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3269
3269
  */
3270
3270
  type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3271
3271
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3272
- pending: "pending";
3273
3272
  success: "success";
3273
+ pending: "pending";
3274
3274
  failed: "failed";
3275
3275
  }>;
3276
3276
  declare const TriggerSelectSchema: z.ZodObject<{
@@ -3303,8 +3303,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3303
3303
  signature: z.ZodObject<{
3304
3304
  source: z.ZodEnum<{
3305
3305
  query: "query";
3306
- header: "header";
3307
3306
  body: "body";
3307
+ header: "header";
3308
3308
  }>;
3309
3309
  key: z.ZodString;
3310
3310
  prefix: z.ZodOptional<z.ZodString>;
@@ -3313,8 +3313,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3313
3313
  signedComponents: z.ZodArray<z.ZodObject<{
3314
3314
  source: z.ZodEnum<{
3315
3315
  literal: "literal";
3316
- header: "header";
3317
3316
  body: "body";
3317
+ header: "header";
3318
3318
  }>;
3319
3319
  key: z.ZodOptional<z.ZodString>;
3320
3320
  value: z.ZodOptional<z.ZodString>;
@@ -3499,13 +3499,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3499
3499
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3500
3500
  encoding: "hex" | "base64";
3501
3501
  signature: {
3502
- source: "query" | "header" | "body";
3502
+ source: "query" | "body" | "header";
3503
3503
  key: string;
3504
3504
  prefix?: string | undefined;
3505
3505
  regex?: string | undefined;
3506
3506
  };
3507
3507
  signedComponents: {
3508
- source: "literal" | "header" | "body";
3508
+ source: "literal" | "body" | "header";
3509
3509
  required: boolean;
3510
3510
  key?: string | undefined;
3511
3511
  value?: string | undefined;
@@ -3536,13 +3536,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3536
3536
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3537
3537
  encoding: "hex" | "base64";
3538
3538
  signature: {
3539
- source: "query" | "header" | "body";
3539
+ source: "query" | "body" | "header";
3540
3540
  key: string;
3541
3541
  prefix?: string | undefined;
3542
3542
  regex?: string | undefined;
3543
3543
  };
3544
3544
  signedComponents: {
3545
- source: "literal" | "header" | "body";
3545
+ source: "literal" | "body" | "header";
3546
3546
  required: boolean;
3547
3547
  key?: string | undefined;
3548
3548
  value?: string | undefined;
@@ -3869,13 +3869,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3869
3869
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3870
3870
  encoding: "hex" | "base64";
3871
3871
  signature: {
3872
- source: "query" | "header" | "body";
3872
+ source: "query" | "body" | "header";
3873
3873
  key: string;
3874
3874
  prefix?: string | undefined;
3875
3875
  regex?: string | undefined;
3876
3876
  };
3877
3877
  signedComponents: {
3878
- source: "literal" | "header" | "body";
3878
+ source: "literal" | "body" | "header";
3879
3879
  required: boolean;
3880
3880
  key?: string | undefined;
3881
3881
  value?: string | undefined;
@@ -3906,13 +3906,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3906
3906
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3907
3907
  encoding: "hex" | "base64";
3908
3908
  signature: {
3909
- source: "query" | "header" | "body";
3909
+ source: "query" | "body" | "header";
3910
3910
  key: string;
3911
3911
  prefix?: string | undefined;
3912
3912
  regex?: string | undefined;
3913
3913
  };
3914
3914
  signedComponents: {
3915
- source: "literal" | "header" | "body";
3915
+ source: "literal" | "body" | "header";
3916
3916
  required: boolean;
3917
3917
  key?: string | undefined;
3918
3918
  value?: string | undefined;
@@ -4079,7 +4079,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4079
4079
  }, {}, {
4080
4080
  length: 256;
4081
4081
  }>;
4082
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "agentId" | "projectId" | "tenantId" | "enabled" | "createdBy" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId">, undefined>, undefined>;
4082
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4083
4083
  declare const TriggerUpdateSchema: z.ZodObject<{
4084
4084
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4085
4085
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4132,8 +4132,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4132
4132
  signature: z.ZodObject<{
4133
4133
  source: z.ZodEnum<{
4134
4134
  query: "query";
4135
- header: "header";
4136
4135
  body: "body";
4136
+ header: "header";
4137
4137
  }>;
4138
4138
  key: z.ZodString;
4139
4139
  prefix: z.ZodOptional<z.ZodString>;
@@ -4142,8 +4142,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4142
4142
  signedComponents: z.ZodArray<z.ZodObject<{
4143
4143
  source: z.ZodEnum<{
4144
4144
  literal: "literal";
4145
- header: "header";
4146
4145
  body: "body";
4146
+ header: "header";
4147
4147
  }>;
4148
4148
  key: z.ZodOptional<z.ZodString>;
4149
4149
  value: z.ZodOptional<z.ZodString>;
@@ -4170,7 +4170,6 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4170
4170
  name: z.ZodString;
4171
4171
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4172
4172
  enabled: z.ZodOptional<z.ZodBoolean>;
4173
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4174
4173
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4175
4174
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4176
4175
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4178,6 +4177,7 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4178
4177
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4179
4178
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4180
4179
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4180
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4181
4181
  }, z.core.$strip>;
4182
4182
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4183
4183
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4204,11 +4204,10 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4204
4204
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4205
4205
  id: z.ZodString;
4206
4206
  name: z.ZodString;
4207
+ description: z.ZodNullable<z.ZodString>;
4207
4208
  createdAt: z.ZodString;
4208
4209
  updatedAt: z.ZodString;
4209
- description: z.ZodNullable<z.ZodString>;
4210
4210
  enabled: z.ZodBoolean;
4211
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4212
4211
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4213
4212
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4214
4213
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -4229,8 +4228,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4229
4228
  signature: z.ZodObject<{
4230
4229
  source: z.ZodEnum<{
4231
4230
  query: "query";
4232
- header: "header";
4233
4231
  body: "body";
4232
+ header: "header";
4234
4233
  }>;
4235
4234
  key: z.ZodString;
4236
4235
  prefix: z.ZodOptional<z.ZodString>;
@@ -4239,8 +4238,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4239
4238
  signedComponents: z.ZodArray<z.ZodObject<{
4240
4239
  source: z.ZodEnum<{
4241
4240
  literal: "literal";
4242
- header: "header";
4243
4241
  body: "body";
4242
+ header: "header";
4244
4243
  }>;
4245
4244
  key: z.ZodOptional<z.ZodString>;
4246
4245
  value: z.ZodOptional<z.ZodString>;
@@ -4260,6 +4259,7 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4260
4259
  }, z.core.$strip>>;
4261
4260
  }, z.core.$strip>>>;
4262
4261
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4262
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4263
4263
  webhookUrl: z.ZodString;
4264
4264
  }, z.core.$strip>;
4265
4265
  declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -5071,7 +5071,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
5071
5071
  }, {}, {
5072
5072
  length: 256;
5073
5073
  }>;
5074
- }, "id" | "createdAt" | "status" | "agentId" | "projectId" | "tenantId" | "conversationId" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5074
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5075
5075
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5076
5076
  triggerId: z.ZodOptional<z.ZodString>;
5077
5077
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5104,8 +5104,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5104
5104
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5105
5105
  createdAt: z.ZodOptional<z.ZodString>;
5106
5106
  status: z.ZodOptional<z.ZodString>;
5107
- conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5108
5107
  triggerId: z.ZodString;
5108
+ conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5109
5109
  requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5110
5110
  transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5111
5111
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5115,8 +5115,8 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5115
5115
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5116
5116
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5117
5117
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5118
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5119
5118
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5119
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5120
5120
  requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5121
5121
  transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
5122
5122
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5150,13 +5150,13 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5150
5150
  id: z.ZodString;
5151
5151
  name: z.ZodString;
5152
5152
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5153
- agentId: z.ZodString;
5154
- projectId: z.ZodString;
5155
5153
  tenantId: z.ZodString;
5154
+ projectId: z.ZodString;
5155
+ agentId: z.ZodString;
5156
5156
  enabled: z.ZodOptional<z.ZodBoolean>;
5157
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5158
5157
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5159
5158
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5159
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5160
5160
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5161
5161
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5162
5162
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5172,12 +5172,12 @@ declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5172
5172
  id: z.ZodOptional<z.ZodString>;
5173
5173
  name: z.ZodOptional<z.ZodString>;
5174
5174
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5175
- agentId: z.ZodOptional<z.ZodString>;
5176
- projectId: z.ZodOptional<z.ZodString>;
5177
5175
  tenantId: z.ZodOptional<z.ZodString>;
5178
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5176
+ projectId: z.ZodOptional<z.ZodString>;
5177
+ agentId: z.ZodOptional<z.ZodString>;
5179
5178
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5180
5179
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5180
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5181
5181
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5182
5182
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5183
5183
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
@@ -5215,9 +5215,9 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5215
5215
  name: z.ZodString;
5216
5216
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5217
5217
  enabled: z.ZodOptional<z.ZodBoolean>;
5218
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5219
5218
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5220
5219
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5220
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5221
5221
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5222
5222
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5223
5223
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5231,9 +5231,9 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5231
5231
  name: z.ZodString;
5232
5232
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5233
5233
  enabled: z.ZodOptional<z.ZodBoolean>;
5234
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5235
5234
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5236
5235
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5236
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5237
5237
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5238
5238
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5239
5239
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5247,12 +5247,12 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5247
5247
  id: z.ZodOptional<z.ZodString>;
5248
5248
  name: z.ZodOptional<z.ZodString>;
5249
5249
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5250
- agentId: z.ZodOptional<z.ZodString>;
5251
- projectId: z.ZodOptional<z.ZodString>;
5252
5250
  tenantId: z.ZodOptional<z.ZodString>;
5253
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5251
+ projectId: z.ZodOptional<z.ZodString>;
5252
+ agentId: z.ZodOptional<z.ZodString>;
5254
5253
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5255
5254
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5255
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5256
5256
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5257
5257
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5258
5258
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
@@ -6088,7 +6088,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
6088
6088
  }, {}, {
6089
6089
  length: 256;
6090
6090
  }>;
6091
- }, "id" | "name" | "createdAt" | "updatedAt" | "status" | "description" | "agentId" | "projectId" | "tenantId" | "scheduledTriggerId" | "workflowRunId">, undefined>, undefined>;
6091
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6092
6092
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6093
6093
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6094
6094
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6120,12 +6120,12 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6120
6120
  }>, z.core.$strip>;
6121
6121
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6122
6122
  name: z.ZodString;
6123
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6123
6124
  createdAt: z.ZodOptional<z.ZodString>;
6124
6125
  updatedAt: z.ZodOptional<z.ZodString>;
6125
6126
  status: z.ZodOptional<z.ZodString>;
6126
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6127
- scheduledTriggerId: z.ZodString;
6128
6127
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6128
+ scheduledTriggerId: z.ZodString;
6129
6129
  id: z.ZodOptional<z.ZodString>;
6130
6130
  }, z.core.$strip>;
6131
6131
  declare const ScheduledWorkflowApiUpdateSchema: z.ZodObject<{
@@ -6149,9 +6149,9 @@ type ScheduledWorkflowInsert = z.infer<typeof ScheduledWorkflowInsertSchema>;
6149
6149
  type ScheduledWorkflowUpdate = z.infer<typeof ScheduledWorkflowUpdateSchema>;
6150
6150
  declare const ScheduledTriggerInvocationStatusEnum: z.ZodEnum<{
6151
6151
  pending: "pending";
6152
+ failed: "failed";
6152
6153
  running: "running";
6153
6154
  completed: "completed";
6154
- failed: "failed";
6155
6155
  cancelled: "cancelled";
6156
6156
  }>;
6157
6157
  declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
@@ -6170,9 +6170,9 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6170
6170
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6171
6171
  status: z.ZodEnum<{
6172
6172
  pending: "pending";
6173
+ failed: "failed";
6173
6174
  running: "running";
6174
6175
  completed: "completed";
6175
- failed: "failed";
6176
6176
  cancelled: "cancelled";
6177
6177
  }>;
6178
6178
  }, {
@@ -6204,7 +6204,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6204
6204
  tableName: "scheduled_trigger_invocations";
6205
6205
  dataType: "string";
6206
6206
  columnType: "PgVarchar";
6207
- data: "pending" | "running" | "completed" | "failed" | "cancelled";
6207
+ data: "pending" | "failed" | "running" | "completed" | "cancelled";
6208
6208
  driverParam: string;
6209
6209
  notNull: true;
6210
6210
  hasDefault: false;
@@ -6217,7 +6217,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6217
6217
  generated: undefined;
6218
6218
  }, {}, {
6219
6219
  length: 50;
6220
- $type: "pending" | "running" | "completed" | "failed" | "cancelled";
6220
+ $type: "pending" | "failed" | "running" | "completed" | "cancelled";
6221
6221
  }>;
6222
6222
  scheduledFor: drizzle_orm_pg_core866.PgColumn<{
6223
6223
  name: "scheduled_for";
@@ -6462,7 +6462,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6462
6462
  tableName: "scheduled_trigger_invocations";
6463
6463
  dataType: "string";
6464
6464
  columnType: "PgVarchar";
6465
- data: "pending" | "running" | "completed" | "failed" | "cancelled";
6465
+ data: "pending" | "failed" | "running" | "completed" | "cancelled";
6466
6466
  driverParam: string;
6467
6467
  notNull: true;
6468
6468
  hasDefault: false;
@@ -6475,7 +6475,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6475
6475
  generated: undefined;
6476
6476
  }, {}, {
6477
6477
  length: 50;
6478
- $type: "pending" | "running" | "completed" | "failed" | "cancelled";
6478
+ $type: "pending" | "failed" | "running" | "completed" | "cancelled";
6479
6479
  }>;
6480
6480
  scheduledFor: drizzle_orm_pg_core866.PgColumn<{
6481
6481
  name: "scheduled_for";
@@ -6695,7 +6695,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6695
6695
  }, {}, {
6696
6696
  length: 256;
6697
6697
  }>;
6698
- }, "id" | "createdAt" | "status" | "agentId" | "projectId" | "tenantId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6698
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "conversationIds" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6699
6699
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6700
6700
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
6701
6701
  status: z.ZodOptional<z.ZodString>;
@@ -6731,9 +6731,9 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentSc
6731
6731
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6732
6732
  status: z.ZodEnum<{
6733
6733
  pending: "pending";
6734
+ failed: "failed";
6734
6735
  running: "running";
6735
6736
  completed: "completed";
6736
- failed: "failed";
6737
6737
  cancelled: "cancelled";
6738
6738
  }>;
6739
6739
  }>, z.core.$strip>;
@@ -6741,11 +6741,11 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6741
6741
  createdAt: z.ZodOptional<z.ZodString>;
6742
6742
  status: z.ZodString;
6743
6743
  scheduledTriggerId: z.ZodString;
6744
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6744
6745
  scheduledFor: z.ZodString;
6745
6746
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6746
6747
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6747
6748
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
6748
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6749
6749
  attemptNumber: z.ZodOptional<z.ZodInt>;
6750
6750
  idempotencyKey: z.ZodString;
6751
6751
  id: z.ZodString;
@@ -6755,11 +6755,11 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6755
6755
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6756
6756
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6757
6757
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6758
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6758
6759
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6759
6760
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6760
6761
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6761
6762
  resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
6762
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6763
6763
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
6764
6764
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6765
6765
  }, z.core.$strip>;
@@ -6827,7 +6827,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
6827
6827
  dataType: "json";
6828
6828
  columnType: "PgJsonb";
6829
6829
  data: {
6830
- type: "tag" | "commit" | "branch";
6830
+ type: "commit" | "tag" | "branch";
6831
6831
  name: string;
6832
6832
  hash: string;
6833
6833
  };
@@ -6843,7 +6843,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
6843
6843
  generated: undefined;
6844
6844
  }, {}, {
6845
6845
  $type: {
6846
- type: "tag" | "commit" | "branch";
6846
+ type: "commit" | "tag" | "branch";
6847
6847
  name: string;
6848
6848
  hash: string;
6849
6849
  };
@@ -7041,7 +7041,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7041
7041
  dataType: "json";
7042
7042
  columnType: "PgJsonb";
7043
7043
  data: {
7044
- type: "tag" | "commit" | "branch";
7044
+ type: "commit" | "tag" | "branch";
7045
7045
  name: string;
7046
7046
  hash: string;
7047
7047
  };
@@ -7057,7 +7057,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7057
7057
  generated: undefined;
7058
7058
  }, {}, {
7059
7059
  $type: {
7060
- type: "tag" | "commit" | "branch";
7060
+ type: "commit" | "tag" | "branch";
7061
7061
  name: string;
7062
7062
  hash: string;
7063
7063
  };
@@ -7210,8 +7210,8 @@ declare const TaskInsertSchema: z.ZodObject<{
7210
7210
  conversationId: z.ZodOptional<z.ZodString>;
7211
7211
  ref: z.ZodObject<{
7212
7212
  type: z.ZodEnum<{
7213
- tag: "tag";
7214
7213
  commit: "commit";
7214
+ tag: "tag";
7215
7215
  branch: "branch";
7216
7216
  }>;
7217
7217
  name: z.ZodString;
@@ -7235,8 +7235,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
7235
7235
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7236
7236
  ref: z.ZodOptional<z.ZodObject<{
7237
7237
  type: z.ZodEnum<{
7238
- tag: "tag";
7239
7238
  commit: "commit";
7239
+ tag: "tag";
7240
7240
  branch: "branch";
7241
7241
  }>;
7242
7242
  name: z.ZodString;
@@ -7251,19 +7251,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
7251
7251
  updatedAt: z.ZodString;
7252
7252
  contextId: z.ZodString;
7253
7253
  ref: z.ZodNullable<z.ZodType<{
7254
- type: "tag" | "commit" | "branch";
7254
+ type: "commit" | "tag" | "branch";
7255
7255
  name: string;
7256
7256
  hash: string;
7257
7257
  }, {
7258
- type: "tag" | "commit" | "branch";
7258
+ type: "commit" | "tag" | "branch";
7259
7259
  name: string;
7260
7260
  hash: string;
7261
7261
  }, z.core.$ZodTypeInternals<{
7262
- type: "tag" | "commit" | "branch";
7262
+ type: "commit" | "tag" | "branch";
7263
7263
  name: string;
7264
7264
  hash: string;
7265
7265
  }, {
7266
- type: "tag" | "commit" | "branch";
7266
+ type: "commit" | "tag" | "branch";
7267
7267
  name: string;
7268
7268
  hash: string;
7269
7269
  }>>>;
@@ -7289,8 +7289,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7289
7289
  conversationId: z.ZodOptional<z.ZodString>;
7290
7290
  ref: z.ZodObject<{
7291
7291
  type: z.ZodEnum<{
7292
- tag: "tag";
7293
7292
  commit: "commit";
7293
+ tag: "tag";
7294
7294
  branch: "branch";
7295
7295
  }>;
7296
7296
  name: z.ZodString;
@@ -7299,20 +7299,20 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7299
7299
  }>, z.core.$strip>;
7300
7300
  declare const TaskApiUpdateSchema: z.ZodObject<{
7301
7301
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7302
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7302
7303
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7303
7304
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7305
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7304
7306
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7305
7307
  type: z.ZodEnum<{
7306
- tag: "tag";
7307
7308
  commit: "commit";
7309
+ tag: "tag";
7308
7310
  branch: "branch";
7309
7311
  }>;
7310
7312
  name: z.ZodString;
7311
7313
  hash: z.ZodString;
7312
7314
  }, z.core.$strip>>>;
7313
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7314
7315
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7315
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7316
7316
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7317
7317
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7318
7318
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7666,9 +7666,9 @@ declare const TaskRelationApiUpdateSchema: z.ZodObject<{
7666
7666
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7667
7667
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7668
7668
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7669
+ relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7669
7670
  parentTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7670
7671
  childTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7671
- relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7672
7672
  }, z.core.$strip>;
7673
7673
  declare const McpTransportConfigSchema: z.ZodObject<{
7674
7674
  type: z.ZodEnum<{
@@ -8257,8 +8257,8 @@ declare const ToolInsertSchema: z.ZodObject<{
8257
8257
  id: z.ZodString;
8258
8258
  name: z.ZodString;
8259
8259
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8260
- projectId: z.ZodString;
8261
8260
  tenantId: z.ZodString;
8261
+ projectId: z.ZodString;
8262
8262
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8263
8263
  config: z.ZodObject<{
8264
8264
  type: z.ZodLiteral<"mcp">;
@@ -8394,7 +8394,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8394
8394
  dataType: "json";
8395
8395
  columnType: "PgJsonb";
8396
8396
  data: {
8397
- type: "tag" | "commit" | "branch";
8397
+ type: "commit" | "tag" | "branch";
8398
8398
  name: string;
8399
8399
  hash: string;
8400
8400
  };
@@ -8410,7 +8410,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8410
8410
  generated: undefined;
8411
8411
  }, {}, {
8412
8412
  $type: {
8413
- type: "tag" | "commit" | "branch";
8413
+ type: "commit" | "tag" | "branch";
8414
8414
  name: string;
8415
8415
  hash: string;
8416
8416
  };
@@ -8623,7 +8623,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8623
8623
  dataType: "json";
8624
8624
  columnType: "PgJsonb";
8625
8625
  data: {
8626
- type: "tag" | "commit" | "branch";
8626
+ type: "commit" | "tag" | "branch";
8627
8627
  name: string;
8628
8628
  hash: string;
8629
8629
  };
@@ -8639,7 +8639,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8639
8639
  generated: undefined;
8640
8640
  }, {}, {
8641
8641
  $type: {
8642
- type: "tag" | "commit" | "branch";
8642
+ type: "commit" | "tag" | "branch";
8643
8643
  name: string;
8644
8644
  hash: string;
8645
8645
  };
@@ -8770,8 +8770,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
8770
8770
  contextConfigId: z.ZodOptional<z.ZodString>;
8771
8771
  ref: z.ZodObject<{
8772
8772
  type: z.ZodEnum<{
8773
- tag: "tag";
8774
8773
  commit: "commit";
8774
+ tag: "tag";
8775
8775
  branch: "branch";
8776
8776
  }>;
8777
8777
  name: z.ZodString;
@@ -8796,8 +8796,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
8796
8796
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8797
8797
  ref: z.ZodOptional<z.ZodObject<{
8798
8798
  type: z.ZodEnum<{
8799
- tag: "tag";
8800
8799
  commit: "commit";
8800
+ tag: "tag";
8801
8801
  branch: "branch";
8802
8802
  }>;
8803
8803
  name: z.ZodString;
@@ -8814,19 +8814,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
8814
8814
  agentId: z.ZodNullable<z.ZodString>;
8815
8815
  activeSubAgentId: z.ZodString;
8816
8816
  ref: z.ZodNullable<z.ZodType<{
8817
- type: "tag" | "commit" | "branch";
8817
+ type: "commit" | "tag" | "branch";
8818
8818
  name: string;
8819
8819
  hash: string;
8820
8820
  }, {
8821
- type: "tag" | "commit" | "branch";
8821
+ type: "commit" | "tag" | "branch";
8822
8822
  name: string;
8823
8823
  hash: string;
8824
8824
  }, z.core.$ZodTypeInternals<{
8825
- type: "tag" | "commit" | "branch";
8825
+ type: "commit" | "tag" | "branch";
8826
8826
  name: string;
8827
8827
  hash: string;
8828
8828
  }, {
8829
- type: "tag" | "commit" | "branch";
8829
+ type: "commit" | "tag" | "branch";
8830
8830
  name: string;
8831
8831
  hash: string;
8832
8832
  }>>>;
@@ -8852,8 +8852,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
8852
8852
  contextConfigId: z.ZodOptional<z.ZodString>;
8853
8853
  ref: z.ZodObject<{
8854
8854
  type: z.ZodEnum<{
8855
- tag: "tag";
8856
8855
  commit: "commit";
8856
+ tag: "tag";
8857
8857
  branch: "branch";
8858
8858
  }>;
8859
8859
  name: z.ZodString;
@@ -8862,22 +8862,22 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
8862
8862
  }>, z.core.$strip>;
8863
8863
  declare const ConversationApiUpdateSchema: z.ZodObject<{
8864
8864
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8865
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8866
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8865
8867
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8866
8868
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8869
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8870
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
8867
8871
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8868
8872
  type: z.ZodEnum<{
8869
- tag: "tag";
8870
8873
  commit: "commit";
8874
+ tag: "tag";
8871
8875
  branch: "branch";
8872
8876
  }>;
8873
8877
  name: z.ZodString;
8874
8878
  hash: z.ZodString;
8875
8879
  }, z.core.$strip>>>;
8876
8880
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8877
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
8878
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8879
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8880
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8881
8881
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8882
8882
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8883
8883
  }, z.core.$strip>;
@@ -9777,20 +9777,20 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
9777
9777
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9778
9778
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9779
9779
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
9780
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9781
9780
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9781
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9782
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9782
9783
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9783
9784
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9784
9785
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9785
9786
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9786
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9787
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9788
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9789
9787
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9790
9788
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9791
9789
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9792
9790
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9791
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9793
9792
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9793
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9794
9794
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9795
9795
  }, z.core.$strip>;
9796
9796
  declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -9891,7 +9891,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
9891
9891
  dataType: "json";
9892
9892
  columnType: "PgJsonb";
9893
9893
  data: {
9894
- type: "tag" | "commit" | "branch";
9894
+ type: "commit" | "tag" | "branch";
9895
9895
  name: string;
9896
9896
  hash: string;
9897
9897
  };
@@ -9907,7 +9907,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
9907
9907
  generated: undefined;
9908
9908
  }, {}, {
9909
9909
  $type: {
9910
- type: "tag" | "commit" | "branch";
9910
+ type: "commit" | "tag" | "branch";
9911
9911
  name: string;
9912
9912
  hash: string;
9913
9913
  };
@@ -10141,7 +10141,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10141
10141
  dataType: "json";
10142
10142
  columnType: "PgJsonb";
10143
10143
  data: {
10144
- type: "tag" | "commit" | "branch";
10144
+ type: "commit" | "tag" | "branch";
10145
10145
  name: string;
10146
10146
  hash: string;
10147
10147
  };
@@ -10157,7 +10157,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10157
10157
  generated: undefined;
10158
10158
  }, {}, {
10159
10159
  $type: {
10160
- type: "tag" | "commit" | "branch";
10160
+ type: "commit" | "tag" | "branch";
10161
10161
  name: string;
10162
10162
  hash: string;
10163
10163
  };
@@ -10309,8 +10309,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10309
10309
  id: z.ZodString;
10310
10310
  ref: z.ZodObject<{
10311
10311
  type: z.ZodEnum<{
10312
- tag: "tag";
10313
10312
  commit: "commit";
10313
+ tag: "tag";
10314
10314
  branch: "branch";
10315
10315
  }>;
10316
10316
  name: z.ZodString;
@@ -10335,8 +10335,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
10335
10335
  id: z.ZodOptional<z.ZodString>;
10336
10336
  ref: z.ZodOptional<z.ZodObject<{
10337
10337
  type: z.ZodEnum<{
10338
- tag: "tag";
10339
10338
  commit: "commit";
10339
+ tag: "tag";
10340
10340
  branch: "branch";
10341
10341
  }>;
10342
10342
  name: z.ZodString;
@@ -10353,19 +10353,19 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
10353
10353
  contextConfigId: z.ZodString;
10354
10354
  contextVariableKey: z.ZodString;
10355
10355
  ref: z.ZodNullable<z.ZodType<{
10356
- type: "tag" | "commit" | "branch";
10356
+ type: "commit" | "tag" | "branch";
10357
10357
  name: string;
10358
10358
  hash: string;
10359
10359
  }, {
10360
- type: "tag" | "commit" | "branch";
10360
+ type: "commit" | "tag" | "branch";
10361
10361
  name: string;
10362
10362
  hash: string;
10363
10363
  }, z.core.$ZodTypeInternals<{
10364
- type: "tag" | "commit" | "branch";
10364
+ type: "commit" | "tag" | "branch";
10365
10365
  name: string;
10366
10366
  hash: string;
10367
10367
  }, {
10368
- type: "tag" | "commit" | "branch";
10368
+ type: "commit" | "tag" | "branch";
10369
10369
  name: string;
10370
10370
  hash: string;
10371
10371
  }>>>;
@@ -10392,8 +10392,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10392
10392
  id: z.ZodString;
10393
10393
  ref: z.ZodObject<{
10394
10394
  type: z.ZodEnum<{
10395
- tag: "tag";
10396
10395
  commit: "commit";
10396
+ tag: "tag";
10397
10397
  branch: "branch";
10398
10398
  }>;
10399
10399
  name: z.ZodString;
@@ -10402,19 +10402,19 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10402
10402
  }>, z.core.$strip>;
10403
10403
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10404
10404
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10405
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
10405
10406
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10406
10407
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10408
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10407
10409
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
10408
10410
  type: z.ZodEnum<{
10409
- tag: "tag";
10410
10411
  commit: "commit";
10412
+ tag: "tag";
10411
10413
  branch: "branch";
10412
10414
  }>;
10413
10415
  name: z.ZodString;
10414
10416
  hash: z.ZodString;
10415
10417
  }, z.core.$strip>>>;
10416
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
10417
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10418
10418
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10419
10419
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10420
10420
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10748,15 +10748,15 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
10748
10748
  createdAt: z.ZodOptional<z.ZodString>;
10749
10749
  updatedAt: z.ZodOptional<z.ZodString>;
10750
10750
  datasetId: z.ZodString;
10751
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10752
10751
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10752
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10753
10753
  }, z.core.$strip>;
10754
10754
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
10755
10755
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10756
10756
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10757
10757
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10758
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10759
10758
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10759
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10760
10760
  }, z.core.$strip>;
10761
10761
  declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
10762
10762
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -11460,19 +11460,19 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
11460
11460
  id: z.ZodString;
11461
11461
  }>, z.core.$strip>;
11462
11462
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
11463
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
11463
11464
  createdAt: z.ZodOptional<z.ZodString>;
11464
11465
  updatedAt: z.ZodOptional<z.ZodString>;
11465
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
11466
- conversationId: z.ZodString;
11467
11466
  evaluatorId: z.ZodString;
11467
+ conversationId: z.ZodString;
11468
11468
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11469
11469
  }, z.core.$strip>;
11470
11470
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
11471
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
11471
11472
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11472
11473
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11473
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
11474
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11475
11474
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11475
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11476
11476
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11477
11477
  }, z.core.$strip>;
11478
11478
  declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -11764,14 +11764,14 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
11764
11764
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
11765
11765
  createdAt: z.ZodOptional<z.ZodString>;
11766
11766
  updatedAt: z.ZodOptional<z.ZodString>;
11767
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11768
11767
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11768
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11769
11769
  }, z.core.$strip>;
11770
11770
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
11771
11771
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11772
11772
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11773
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11774
11773
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11774
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11775
11775
  }, z.core.$strip>;
11776
11776
  declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
11777
11777
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -12102,26 +12102,26 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12102
12102
  }>, z.core.$strip>;
12103
12103
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12104
12104
  name: z.ZodString;
12105
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12105
12106
  createdAt: z.ZodOptional<z.ZodString>;
12106
12107
  updatedAt: z.ZodOptional<z.ZodString>;
12107
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12108
12108
  isActive: z.ZodOptional<z.ZodBoolean>;
12109
12109
  suiteConfigIds: z.ZodArray<z.ZodString>;
12110
12110
  }, z.core.$strip>;
12111
12111
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12112
12112
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12113
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12113
12114
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12114
12115
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12115
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12116
12116
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12117
12117
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12118
12118
  }, z.core.$strip>;
12119
12119
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12120
12120
  id: z.ZodString;
12121
12121
  name: z.ZodString;
12122
+ description: z.ZodNullable<z.ZodString>;
12122
12123
  createdAt: z.ZodString;
12123
12124
  updatedAt: z.ZodString;
12124
- description: z.ZodNullable<z.ZodString>;
12125
12125
  isActive: z.ZodBoolean;
12126
12126
  suiteConfigIds: z.ZodArray<z.ZodString>;
12127
12127
  }, z.core.$strip>;
@@ -13158,14 +13158,14 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
13158
13158
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
13159
13159
  createdAt: z.ZodOptional<z.ZodString>;
13160
13160
  updatedAt: z.ZodOptional<z.ZodString>;
13161
- evaluationRunConfigId: z.ZodString;
13162
13161
  evaluationSuiteConfigId: z.ZodString;
13162
+ evaluationRunConfigId: z.ZodString;
13163
13163
  }, z.core.$strip>;
13164
13164
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
13165
13165
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13166
13166
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13167
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13168
13167
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13168
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13169
13169
  }, z.core.$strip>;
13170
13170
  declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13171
13171
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -13464,14 +13464,14 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
13464
13464
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
13465
13465
  createdAt: z.ZodOptional<z.ZodString>;
13466
13466
  updatedAt: z.ZodOptional<z.ZodString>;
13467
- evaluationJobConfigId: z.ZodString;
13468
13467
  evaluatorId: z.ZodString;
13468
+ evaluationJobConfigId: z.ZodString;
13469
13469
  }, z.core.$strip>;
13470
13470
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
13471
13471
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13472
13472
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13473
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13474
13473
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13474
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13475
13475
  }, z.core.$strip>;
13476
13476
  declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13477
13477
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -13770,14 +13770,14 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
13770
13770
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
13771
13771
  createdAt: z.ZodOptional<z.ZodString>;
13772
13772
  updatedAt: z.ZodOptional<z.ZodString>;
13773
- evaluatorId: z.ZodString;
13774
13773
  evaluationSuiteConfigId: z.ZodString;
13774
+ evaluatorId: z.ZodString;
13775
13775
  }, z.core.$strip>;
13776
13776
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
13777
13777
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13778
13778
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13779
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13780
13779
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13780
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13781
13781
  }, z.core.$strip>;
13782
13782
  declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
13783
13783
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -14279,10 +14279,8 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14279
14279
  }>, z.core.$strip>;
14280
14280
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14281
14281
  name: z.ZodString;
14282
- createdAt: z.ZodOptional<z.ZodString>;
14283
- updatedAt: z.ZodOptional<z.ZodString>;
14284
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14285
14282
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14283
+ prompt: z.ZodString;
14286
14284
  model: z.ZodType<{
14287
14285
  model?: string | undefined;
14288
14286
  providerOptions?: Record<string, any> | undefined;
@@ -14296,15 +14294,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14296
14294
  model?: string | undefined;
14297
14295
  providerOptions?: Record<string, any> | undefined;
14298
14296
  }>>;
14299
- prompt: z.ZodString;
14297
+ createdAt: z.ZodOptional<z.ZodString>;
14298
+ updatedAt: z.ZodOptional<z.ZodString>;
14299
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14300
14300
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14301
14301
  }, z.core.$strip>;
14302
14302
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14303
14303
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14304
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14305
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14306
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14307
14304
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14305
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14308
14306
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14309
14307
  model?: string | undefined;
14310
14308
  providerOptions?: Record<string, any> | undefined;
@@ -14318,7 +14316,9 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14318
14316
  model?: string | undefined;
14319
14317
  providerOptions?: Record<string, any> | undefined;
14320
14318
  }>>>>;
14321
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14319
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14320
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14321
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14322
14322
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
14323
14323
  }, z.core.$strip>;
14324
14324
  declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -15121,9 +15121,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
15121
15121
  id: z.ZodString;
15122
15122
  }>, z.core.$strip>;
15123
15123
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
15124
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15124
15125
  createdAt: z.ZodOptional<z.ZodString>;
15125
15126
  updatedAt: z.ZodOptional<z.ZodString>;
15126
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15127
15127
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15128
15128
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15129
15129
  prompt: string;
@@ -15168,9 +15168,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
15168
15168
  }>>>>;
15169
15169
  }, z.core.$strip>;
15170
15170
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15171
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15171
15172
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15172
15173
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15173
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15174
15174
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
15175
15175
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15176
15176
  prompt: string;
@@ -15215,8 +15215,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15215
15215
  }>>>>>>;
15216
15216
  }, z.core.$strip>;
15217
15217
  declare const DatasetRunItemSchema: z.ZodObject<{
15218
- id: z.ZodOptional<z.ZodString>;
15219
15218
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15219
+ id: z.ZodOptional<z.ZodString>;
15220
15220
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15221
15221
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15222
15222
  prompt: string;
@@ -15264,8 +15264,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
15264
15264
  declare const TriggerDatasetRunSchema: z.ZodObject<{
15265
15265
  datasetRunId: z.ZodString;
15266
15266
  items: z.ZodArray<z.ZodObject<{
15267
- id: z.ZodOptional<z.ZodString>;
15268
15267
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15268
+ id: z.ZodOptional<z.ZodString>;
15269
15269
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15270
15270
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15271
15271
  prompt: string;
@@ -15676,16 +15676,16 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
15676
15676
  }>, z.core.$strip>;
15677
15677
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
15678
15678
  name: z.ZodString;
15679
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15679
15680
  createdAt: z.ZodOptional<z.ZodString>;
15680
15681
  updatedAt: z.ZodOptional<z.ZodString>;
15681
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15682
15682
  datasetId: z.ZodString;
15683
15683
  }, z.core.$strip>;
15684
15684
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
15685
15685
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15686
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15686
15687
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15687
15688
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15688
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15689
15689
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15690
15690
  }, z.core.$strip>;
15691
15691
  declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -15994,20 +15994,20 @@ declare const SkillSelectSchema: z.ZodObject<{
15994
15994
  }>;
15995
15995
  declare const SkillInsertSchema: z.ZodObject<{
15996
15996
  name: z.ZodString;
15997
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
15998
15997
  description: z.ZodString;
15999
- projectId: z.ZodString;
16000
15998
  tenantId: z.ZodString;
15999
+ projectId: z.ZodString;
16000
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16001
16001
  content: z.ZodString;
16002
16002
  }, {
16003
16003
  out: {};
16004
16004
  in: {};
16005
16005
  }>;
16006
16006
  declare const SkillUpdateSchema: z.ZodObject<{
16007
- metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16008
16007
  description: z.ZodOptional<z.ZodString>;
16009
- projectId: z.ZodOptional<z.ZodString>;
16010
16008
  tenantId: z.ZodOptional<z.ZodString>;
16009
+ projectId: z.ZodOptional<z.ZodString>;
16010
+ metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16011
16011
  content: z.ZodOptional<z.ZodString>;
16012
16012
  }, {
16013
16013
  out: {};
@@ -16026,15 +16026,15 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16026
16026
  }>, z.core.$strip>;
16027
16027
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16028
16028
  name: z.ZodString;
16029
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16030
16029
  description: z.ZodString;
16031
- projectId: z.ZodString;
16032
16030
  tenantId: z.ZodString;
16031
+ projectId: z.ZodString;
16032
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16033
16033
  content: z.ZodString;
16034
16034
  }>, z.core.$strip>;
16035
16035
  declare const SkillApiUpdateSchema: z.ZodObject<{
16036
- metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16037
16036
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16037
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16038
16038
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16039
16039
  }, z.core.$strip>;
16040
16040
  declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -16414,8 +16414,8 @@ declare const DataComponentInsertSchema: z.ZodObject<{
16414
16414
  id: z.ZodString;
16415
16415
  name: z.ZodString;
16416
16416
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16417
- projectId: z.ZodString;
16418
16417
  tenantId: z.ZodString;
16418
+ projectId: z.ZodString;
16419
16419
  props: z.ZodType<{
16420
16420
  [x: string]: unknown;
16421
16421
  type: "object";
@@ -16466,8 +16466,8 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
16466
16466
  id: z.ZodOptional<z.ZodString>;
16467
16467
  name: z.ZodOptional<z.ZodString>;
16468
16468
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16469
- projectId: z.ZodOptional<z.ZodString>;
16470
16469
  tenantId: z.ZodOptional<z.ZodString>;
16470
+ projectId: z.ZodOptional<z.ZodString>;
16471
16471
  props: z.ZodOptional<z.ZodType<{
16472
16472
  [x: string]: unknown;
16473
16473
  type: "object";
@@ -17144,7 +17144,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
17144
17144
  }, {}, {
17145
17145
  length: 256;
17146
17146
  }>;
17147
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17147
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17148
17148
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17149
17149
  dataComponentId: z.ZodOptional<z.ZodString>;
17150
17150
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17743,9 +17743,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
17743
17743
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
17744
17744
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17745
17745
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17746
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17746
17747
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17747
17748
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17748
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17749
17749
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
17750
17750
  [x: string]: unknown;
17751
17751
  type: "object";
@@ -18160,9 +18160,9 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18160
18160
  }>, z.core.$strip>;
18161
18161
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18162
18162
  agentId: z.ZodString;
18163
- subAgentId: z.ZodString;
18164
18163
  index: z.ZodInt;
18165
18164
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18165
+ subAgentId: z.ZodString;
18166
18166
  skillId: z.ZodString;
18167
18167
  }, {
18168
18168
  out: {};
@@ -18172,18 +18172,18 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18172
18172
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18173
18173
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18174
18174
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18175
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18176
18175
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18177
18176
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18177
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18178
18178
  skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18179
18179
  }, z.core.$strip>;
18180
18180
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18181
18181
  id: z.ZodString;
18182
18182
  name: z.ZodString;
18183
+ description: z.ZodString;
18183
18184
  createdAt: z.ZodString;
18184
18185
  updatedAt: z.ZodString;
18185
18186
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18186
- description: z.ZodString;
18187
18187
  content: z.ZodString;
18188
18188
  subAgentSkillId: z.ZodString;
18189
18189
  subAgentId: z.ZodString;
@@ -18208,8 +18208,8 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
18208
18208
  id: z.ZodString;
18209
18209
  name: z.ZodString;
18210
18210
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18211
- projectId: z.ZodString;
18212
18211
  tenantId: z.ZodString;
18212
+ projectId: z.ZodString;
18213
18213
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18214
18214
  baseUrl: z.ZodURL;
18215
18215
  }, {
@@ -18220,8 +18220,8 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
18220
18220
  id: z.ZodOptional<z.ZodString>;
18221
18221
  name: z.ZodOptional<z.ZodString>;
18222
18222
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18223
- projectId: z.ZodOptional<z.ZodString>;
18224
18223
  tenantId: z.ZodOptional<z.ZodString>;
18224
+ projectId: z.ZodOptional<z.ZodString>;
18225
18225
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18226
18226
  baseUrl: z.ZodOptional<z.ZodURL>;
18227
18227
  }, {
@@ -18243,8 +18243,8 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18243
18243
  id: z.ZodString;
18244
18244
  name: z.ZodString;
18245
18245
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18246
- projectId: z.ZodString;
18247
18246
  tenantId: z.ZodString;
18247
+ projectId: z.ZodString;
18248
18248
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18249
18249
  baseUrl: z.ZodURL;
18250
18250
  }>, z.core.$strip>;
@@ -18258,9 +18258,9 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18258
18258
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18259
18259
  id: z.ZodString;
18260
18260
  name: z.ZodString;
18261
- createdAt: z.ZodString;
18262
- updatedAt: z.ZodString;
18263
18261
  description: z.ZodNullable<z.ZodString>;
18262
+ prompt: z.ZodNullable<z.ZodString>;
18263
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18264
18264
  models: z.ZodNullable<z.ZodType<{
18265
18265
  base?: {
18266
18266
  model?: string | undefined;
@@ -18314,7 +18314,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18314
18314
  providerOptions?: Record<string, any> | undefined;
18315
18315
  } | undefined;
18316
18316
  }>>>;
18317
- prompt: z.ZodNullable<z.ZodString>;
18318
18317
  stopWhen: z.ZodNullable<z.ZodType<{
18319
18318
  stepCountIs?: number | undefined;
18320
18319
  }, {
@@ -18324,14 +18323,15 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18324
18323
  }, {
18325
18324
  stepCountIs?: number | undefined;
18326
18325
  }>>>;
18327
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18326
+ createdAt: z.ZodString;
18327
+ updatedAt: z.ZodString;
18328
18328
  type: z.ZodLiteral<"internal">;
18329
18329
  }, z.core.$strip>, z.ZodObject<{
18330
18330
  id: z.ZodString;
18331
18331
  name: z.ZodString;
18332
+ description: z.ZodNullable<z.ZodString>;
18332
18333
  createdAt: z.ZodString;
18333
18334
  updatedAt: z.ZodString;
18334
- description: z.ZodNullable<z.ZodString>;
18335
18335
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18336
18336
  baseUrl: z.ZodString;
18337
18337
  type: z.ZodLiteral<"external">;
@@ -18798,9 +18798,9 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
18798
18798
  }>;
18799
18799
  declare const ApiKeyUpdateSchema: z.ZodObject<{
18800
18800
  name: z.ZodOptional<z.ZodString>;
18801
+ agentId: z.ZodOptional<z.ZodString>;
18801
18802
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18802
18803
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18803
- agentId: z.ZodOptional<z.ZodString>;
18804
18804
  }, {
18805
18805
  out: {};
18806
18806
  in: {};
@@ -18808,13 +18808,13 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
18808
18808
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
18809
18809
  id: z.ZodString;
18810
18810
  name: z.ZodNullable<z.ZodString>;
18811
+ agentId: z.ZodString;
18811
18812
  createdAt: z.ZodString;
18812
18813
  updatedAt: z.ZodString;
18813
18814
  expiresAt: z.ZodNullable<z.ZodString>;
18814
- agentId: z.ZodString;
18815
+ lastUsedAt: z.ZodNullable<z.ZodString>;
18815
18816
  publicId: z.ZodString;
18816
18817
  keyPrefix: z.ZodString;
18817
- lastUsedAt: z.ZodNullable<z.ZodString>;
18818
18818
  }, {
18819
18819
  out: {};
18820
18820
  in: {};
@@ -18824,13 +18824,13 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
18824
18824
  apiKey: z.ZodObject<{
18825
18825
  id: z.ZodString;
18826
18826
  name: z.ZodNullable<z.ZodString>;
18827
+ agentId: z.ZodString;
18827
18828
  createdAt: z.ZodString;
18828
18829
  updatedAt: z.ZodString;
18829
18830
  expiresAt: z.ZodNullable<z.ZodString>;
18830
- agentId: z.ZodString;
18831
+ lastUsedAt: z.ZodNullable<z.ZodString>;
18831
18832
  publicId: z.ZodString;
18832
18833
  keyPrefix: z.ZodString;
18833
- lastUsedAt: z.ZodNullable<z.ZodString>;
18834
18834
  }, {
18835
18835
  out: {};
18836
18836
  in: {};
@@ -18840,19 +18840,19 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
18840
18840
  }, z.core.$strip>;
18841
18841
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
18842
18842
  name: z.ZodString;
18843
+ agentId: z.ZodString;
18843
18844
  createdAt: z.ZodOptional<z.ZodString>;
18844
18845
  updatedAt: z.ZodOptional<z.ZodString>;
18845
18846
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18846
- agentId: z.ZodString;
18847
18847
  }, {
18848
18848
  out: {};
18849
18849
  in: {};
18850
18850
  }>;
18851
18851
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
18852
18852
  name: z.ZodOptional<z.ZodString>;
18853
+ agentId: z.ZodOptional<z.ZodString>;
18853
18854
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18854
18855
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18855
- agentId: z.ZodOptional<z.ZodString>;
18856
18856
  }, {
18857
18857
  out: {};
18858
18858
  in: {};
@@ -19434,10 +19434,10 @@ declare const AppInsertSchema: z.ZodObject<{
19434
19434
  }>;
19435
19435
  declare const AppUpdateSchema: z.ZodObject<{
19436
19436
  name: z.ZodOptional<z.ZodString>;
19437
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19438
19437
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19439
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19440
19438
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19439
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19440
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19441
19441
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
19442
19442
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
19443
19443
  type: z.ZodLiteral<"web_client">;
@@ -19448,9 +19448,9 @@ declare const AppUpdateSchema: z.ZodObject<{
19448
19448
  type: z.ZodLiteral<"api">;
19449
19449
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
19450
19450
  }, z.core.$strip>], "type">>;
19451
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19452
- defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19453
19451
  defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19452
+ defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19453
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19454
19454
  }, {
19455
19455
  out: {};
19456
19456
  in: {};
@@ -19967,18 +19967,18 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
19967
19967
  }, {}, {}>;
19968
19968
  }, undefined>, undefined>;
19969
19969
  declare const AppApiResponseSelectSchema: z.ZodObject<{
19970
+ type: z.ZodString;
19970
19971
  id: z.ZodString;
19971
19972
  name: z.ZodString;
19972
- createdAt: z.ZodString;
19973
- updatedAt: z.ZodString;
19974
19973
  description: z.ZodNullable<z.ZodString>;
19975
- projectId: z.ZodNullable<z.ZodString>;
19976
19974
  tenantId: z.ZodNullable<z.ZodString>;
19977
- type: z.ZodString;
19975
+ projectId: z.ZodNullable<z.ZodString>;
19976
+ createdAt: z.ZodString;
19977
+ updatedAt: z.ZodString;
19978
19978
  enabled: z.ZodBoolean;
19979
- lastUsedAt: z.ZodNullable<z.ZodString>;
19980
- defaultProjectId: z.ZodNullable<z.ZodString>;
19981
19979
  defaultAgentId: z.ZodNullable<z.ZodString>;
19980
+ defaultProjectId: z.ZodNullable<z.ZodString>;
19981
+ lastUsedAt: z.ZodNullable<z.ZodString>;
19982
19982
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
19983
19983
  type: z.ZodLiteral<"web_client">;
19984
19984
  webClient: z.ZodObject<{
@@ -19993,16 +19993,16 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
19993
19993
  in: {};
19994
19994
  }>;
19995
19995
  declare const AppApiInsertSchema: z.ZodObject<{
19996
- name: z.ZodString;
19997
- createdAt: z.ZodOptional<z.ZodString>;
19998
- updatedAt: z.ZodOptional<z.ZodString>;
19999
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20000
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20001
- tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20002
19996
  type: z.ZodEnum<{
20003
19997
  web_client: "web_client";
20004
19998
  api: "api";
20005
19999
  }>;
20000
+ name: z.ZodString;
20001
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20002
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20003
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20004
+ createdAt: z.ZodOptional<z.ZodString>;
20005
+ updatedAt: z.ZodOptional<z.ZodString>;
20006
20006
  enabled: z.ZodOptional<z.ZodBoolean>;
20007
20007
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
20008
20008
  type: z.ZodLiteral<"web_client">;
@@ -20013,18 +20013,18 @@ declare const AppApiInsertSchema: z.ZodObject<{
20013
20013
  type: z.ZodLiteral<"api">;
20014
20014
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
20015
20015
  }, z.core.$strip>], "type">;
20016
- defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20017
20016
  defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20017
+ defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20018
20018
  }, {
20019
20019
  out: {};
20020
20020
  in: {};
20021
20021
  }>;
20022
20022
  declare const AppApiUpdateSchema: z.ZodObject<{
20023
20023
  name: z.ZodOptional<z.ZodString>;
20024
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20025
20024
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20026
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20027
20025
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20026
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20027
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20028
20028
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
20029
20029
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
20030
20030
  type: z.ZodLiteral<"web_client">;
@@ -20035,9 +20035,9 @@ declare const AppApiUpdateSchema: z.ZodObject<{
20035
20035
  type: z.ZodLiteral<"api">;
20036
20036
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
20037
20037
  }, z.core.$strip>], "type">>;
20038
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20039
- defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20040
20038
  defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20039
+ defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20040
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20041
20041
  }, {
20042
20042
  out: {};
20043
20043
  in: {};
@@ -20045,18 +20045,18 @@ declare const AppApiUpdateSchema: z.ZodObject<{
20045
20045
  declare const AppApiCreationResponseSchema: z.ZodObject<{
20046
20046
  data: z.ZodObject<{
20047
20047
  app: z.ZodObject<{
20048
+ type: z.ZodString;
20048
20049
  id: z.ZodString;
20049
20050
  name: z.ZodString;
20050
- createdAt: z.ZodString;
20051
- updatedAt: z.ZodString;
20052
20051
  description: z.ZodNullable<z.ZodString>;
20053
- projectId: z.ZodNullable<z.ZodString>;
20054
20052
  tenantId: z.ZodNullable<z.ZodString>;
20055
- type: z.ZodString;
20053
+ projectId: z.ZodNullable<z.ZodString>;
20054
+ createdAt: z.ZodString;
20055
+ updatedAt: z.ZodString;
20056
20056
  enabled: z.ZodBoolean;
20057
- lastUsedAt: z.ZodNullable<z.ZodString>;
20058
- defaultProjectId: z.ZodNullable<z.ZodString>;
20059
20057
  defaultAgentId: z.ZodNullable<z.ZodString>;
20058
+ defaultProjectId: z.ZodNullable<z.ZodString>;
20059
+ lastUsedAt: z.ZodNullable<z.ZodString>;
20060
20060
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
20061
20061
  type: z.ZodLiteral<"web_client">;
20062
20062
  webClient: z.ZodObject<{
@@ -20524,13 +20524,13 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
20524
20524
  }>;
20525
20525
  }, undefined>, undefined>;
20526
20526
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
20527
+ type: z.ZodString;
20527
20528
  id: z.ZodString;
20528
20529
  name: z.ZodString;
20529
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20530
- projectId: z.ZodString;
20531
20530
  tenantId: z.ZodString;
20532
- type: z.ZodString;
20531
+ projectId: z.ZodString;
20533
20532
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20533
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20534
20534
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20535
20535
  credentialStoreId: z.ZodString;
20536
20536
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -20539,13 +20539,13 @@ declare const CredentialReferenceInsertSchema: z.ZodObject<{
20539
20539
  in: {};
20540
20540
  }>;
20541
20541
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
20542
+ type: z.ZodOptional<z.ZodString>;
20542
20543
  id: z.ZodOptional<z.ZodString>;
20543
20544
  name: z.ZodOptional<z.ZodString>;
20544
- userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20545
- projectId: z.ZodOptional<z.ZodString>;
20546
20545
  tenantId: z.ZodOptional<z.ZodString>;
20547
- type: z.ZodOptional<z.ZodString>;
20546
+ projectId: z.ZodOptional<z.ZodString>;
20548
20547
  toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20548
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20549
20549
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20550
20550
  credentialStoreId: z.ZodOptional<z.ZodString>;
20551
20551
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
@@ -20558,8 +20558,8 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20558
20558
  name: z.ZodString;
20559
20559
  createdAt: z.ZodString;
20560
20560
  updatedAt: z.ZodString;
20561
- userId: z.ZodNullable<z.ZodString>;
20562
20561
  toolId: z.ZodNullable<z.ZodString>;
20562
+ userId: z.ZodNullable<z.ZodString>;
20563
20563
  createdBy: z.ZodNullable<z.ZodString>;
20564
20564
  credentialStoreId: z.ZodString;
20565
20565
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -21147,8 +21147,8 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
21147
21147
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21148
21148
  id: z.ZodString;
21149
21149
  name: z.ZodString;
21150
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21151
21150
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21151
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21152
21152
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21153
21153
  credentialStoreId: z.ZodString;
21154
21154
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -21161,8 +21161,8 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21161
21161
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
21162
21162
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21163
21163
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21164
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21165
21164
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21165
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21166
21166
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21167
21167
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21168
21168
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
@@ -21230,8 +21230,8 @@ declare const McpToolSchema: z.ZodObject<{
21230
21230
  id: z.ZodString;
21231
21231
  name: z.ZodString;
21232
21232
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21233
- projectId: z.ZodString;
21234
21233
  tenantId: z.ZodString;
21234
+ projectId: z.ZodString;
21235
21235
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21236
21236
  config: z.ZodObject<{
21237
21237
  type: z.ZodLiteral<"mcp">;
@@ -21288,8 +21288,8 @@ declare const McpToolSchema: z.ZodObject<{
21288
21288
  declare const MCPToolConfigSchema: z.ZodObject<{
21289
21289
  id: z.ZodString;
21290
21290
  name: z.ZodString;
21291
- expiresAt: z.ZodOptional<z.ZodString>;
21292
21291
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21292
+ expiresAt: z.ZodOptional<z.ZodString>;
21293
21293
  createdBy: z.ZodOptional<z.ZodString>;
21294
21294
  credentialScope: z.ZodOptional<z.ZodString>;
21295
21295
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -21324,8 +21324,8 @@ declare const MCPToolConfigSchema: z.ZodObject<{
21324
21324
  credential: z.ZodOptional<z.ZodObject<{
21325
21325
  id: z.ZodString;
21326
21326
  name: z.ZodString;
21327
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21328
21327
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21328
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21329
21329
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21330
21330
  credentialStoreId: z.ZodString;
21331
21331
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -21350,8 +21350,8 @@ declare const ToolUpdateSchema: z.ZodObject<{
21350
21350
  id: z.ZodOptional<z.ZodString>;
21351
21351
  name: z.ZodOptional<z.ZodString>;
21352
21352
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21353
- projectId: z.ZodOptional<z.ZodString>;
21354
21353
  tenantId: z.ZodOptional<z.ZodString>;
21354
+ projectId: z.ZodOptional<z.ZodString>;
21355
21355
  headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
21356
21356
  config: z.ZodOptional<z.ZodObject<{
21357
21357
  type: z.ZodLiteral<"mcp">;
@@ -21422,8 +21422,8 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
21422
21422
  id: z.ZodString;
21423
21423
  name: z.ZodString;
21424
21424
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21425
- projectId: z.ZodString;
21426
21425
  tenantId: z.ZodString;
21426
+ projectId: z.ZodString;
21427
21427
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21428
21428
  config: z.ZodObject<{
21429
21429
  type: z.ZodLiteral<"mcp">;
@@ -21833,9 +21833,9 @@ declare const FunctionToolInsertSchema: z.ZodObject<{
21833
21833
  id: z.ZodString;
21834
21834
  name: z.ZodString;
21835
21835
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21836
- agentId: z.ZodString;
21837
- projectId: z.ZodString;
21838
21836
  tenantId: z.ZodString;
21837
+ projectId: z.ZodString;
21838
+ agentId: z.ZodString;
21839
21839
  functionId: z.ZodString;
21840
21840
  }, {
21841
21841
  out: {};
@@ -21845,9 +21845,9 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21845
21845
  id: z.ZodOptional<z.ZodString>;
21846
21846
  name: z.ZodOptional<z.ZodString>;
21847
21847
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21848
- agentId: z.ZodOptional<z.ZodString>;
21849
- projectId: z.ZodOptional<z.ZodString>;
21850
21848
  tenantId: z.ZodOptional<z.ZodString>;
21849
+ projectId: z.ZodOptional<z.ZodString>;
21850
+ agentId: z.ZodOptional<z.ZodString>;
21851
21851
  functionId: z.ZodOptional<z.ZodString>;
21852
21852
  }, {
21853
21853
  out: {};
@@ -21856,10 +21856,10 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21856
21856
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21857
21857
  id: z.ZodString;
21858
21858
  name: z.ZodString;
21859
- createdAt: z.ZodString;
21860
- updatedAt: z.ZodString;
21861
21859
  description: z.ZodNullable<z.ZodString>;
21862
21860
  agentId: z.ZodString;
21861
+ createdAt: z.ZodString;
21862
+ updatedAt: z.ZodString;
21863
21863
  functionId: z.ZodString;
21864
21864
  relationshipId: z.ZodOptional<z.ZodString>;
21865
21865
  }, z.core.$strip>;
@@ -21867,9 +21867,9 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21867
21867
  id: z.ZodString;
21868
21868
  name: z.ZodString;
21869
21869
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21870
- agentId: z.ZodString;
21871
- projectId: z.ZodString;
21872
21870
  tenantId: z.ZodString;
21871
+ projectId: z.ZodString;
21872
+ agentId: z.ZodString;
21873
21873
  functionId: z.ZodString;
21874
21874
  }>, z.core.$strip>;
21875
21875
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
@@ -22250,8 +22250,8 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
22250
22250
  id: z.ZodString;
22251
22251
  }>, z.core.$strip>;
22252
22252
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
22253
- subAgentId: z.ZodString;
22254
22253
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22254
+ subAgentId: z.ZodString;
22255
22255
  functionToolId: z.ZodString;
22256
22256
  }, {
22257
22257
  out: {};
@@ -22644,8 +22644,8 @@ declare const FetchDefinitionSchema: z.ZodObject<{
22644
22644
  credential: z.ZodOptional<z.ZodObject<{
22645
22645
  id: z.ZodString;
22646
22646
  name: z.ZodString;
22647
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22648
22647
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22648
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22649
22649
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22650
22650
  credentialStoreId: z.ZodString;
22651
22651
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -22671,22 +22671,22 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
22671
22671
  }>;
22672
22672
  declare const ContextConfigInsertSchema: z.ZodObject<{
22673
22673
  id: z.ZodOptional<z.ZodString>;
22674
+ tenantId: z.ZodString;
22675
+ projectId: z.ZodString;
22676
+ agentId: z.ZodString;
22674
22677
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22675
22678
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22676
- agentId: z.ZodString;
22677
- projectId: z.ZodString;
22678
- tenantId: z.ZodString;
22679
22679
  }, {
22680
22680
  out: {};
22681
22681
  in: {};
22682
22682
  }>;
22683
22683
  declare const ContextConfigUpdateSchema: z.ZodObject<{
22684
22684
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22685
+ tenantId: z.ZodOptional<z.ZodString>;
22686
+ projectId: z.ZodOptional<z.ZodString>;
22687
+ agentId: z.ZodOptional<z.ZodString>;
22685
22688
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22686
22689
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22687
- agentId: z.ZodOptional<z.ZodString>;
22688
- projectId: z.ZodOptional<z.ZodString>;
22689
- tenantId: z.ZodOptional<z.ZodString>;
22690
22690
  }, {
22691
22691
  out: {};
22692
22692
  in: {};
@@ -23197,12 +23197,12 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
23197
23197
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23198
23198
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23199
23199
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23200
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23201
23200
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23202
23201
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23203
23202
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23204
23203
  needsApproval: z.ZodOptional<z.ZodBoolean>;
23205
23204
  }, z.core.$strip>>>>>>;
23205
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23206
23206
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
23207
23207
  }, z.core.$strip>;
23208
23208
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -23591,9 +23591,9 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
23591
23591
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23592
23592
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23593
23593
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23594
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23595
23594
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23596
23595
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23596
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23597
23597
  }, z.core.$strip>;
23598
23598
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
23599
23599
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -23981,8 +23981,8 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23981
23981
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23982
23982
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23983
23983
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23984
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23985
23984
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23985
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23986
23986
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23987
23987
  }, z.core.$strip>;
23988
23988
  declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -25326,7 +25326,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
25326
25326
  }, {}, {
25327
25327
  length: 256;
25328
25328
  }>;
25329
- }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "type" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
25329
+ }, "type" | "id" | "name" | "description" | "tenantId" | "projectId" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
25330
25330
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
25331
25331
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25332
25332
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -25391,16 +25391,16 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
25391
25391
  id: z.ZodString;
25392
25392
  }>, z.core.$strip>;
25393
25393
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
25394
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25394
25395
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25395
25396
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25397
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25396
25398
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25397
25399
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25398
25400
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
25399
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25400
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25401
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25402
25401
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25403
25402
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25403
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25404
25404
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25405
25405
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
25406
25406
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -25473,9 +25473,8 @@ declare const TeamAgentSchema: z.ZodObject<{
25473
25473
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
25474
25474
  id: z.ZodString;
25475
25475
  name: z.ZodString;
25476
- createdAt: z.ZodOptional<z.ZodString>;
25477
- updatedAt: z.ZodOptional<z.ZodString>;
25478
25476
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25477
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25479
25478
  models: z.ZodOptional<z.ZodObject<{
25480
25479
  base: z.ZodOptional<z.ZodObject<{
25481
25480
  model: z.ZodOptional<z.ZodString>;
@@ -25490,7 +25489,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25490
25489
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25491
25490
  }, z.core.$strip>>;
25492
25491
  }, z.core.$strip>>;
25493
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25492
+ createdAt: z.ZodOptional<z.ZodString>;
25493
+ updatedAt: z.ZodOptional<z.ZodString>;
25494
25494
  type: z.ZodLiteral<"internal">;
25495
25495
  canUse: z.ZodArray<z.ZodObject<{
25496
25496
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25532,9 +25532,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25532
25532
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25533
25533
  id: z.ZodString;
25534
25534
  name: z.ZodString;
25535
- createdAt: z.ZodOptional<z.ZodString>;
25536
- updatedAt: z.ZodOptional<z.ZodString>;
25537
25535
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25536
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25538
25537
  models: z.ZodOptional<z.ZodObject<{
25539
25538
  base: z.ZodOptional<z.ZodObject<{
25540
25539
  model: z.ZodOptional<z.ZodString>;
@@ -25549,7 +25548,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25549
25548
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25550
25549
  }, z.core.$strip>>;
25551
25550
  }, z.core.$strip>>;
25552
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25551
+ createdAt: z.ZodOptional<z.ZodString>;
25552
+ updatedAt: z.ZodOptional<z.ZodString>;
25553
25553
  type: z.ZodLiteral<"internal">;
25554
25554
  canUse: z.ZodArray<z.ZodObject<{
25555
25555
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25586,8 +25586,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25586
25586
  id: z.ZodString;
25587
25587
  name: z.ZodString;
25588
25588
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25589
- projectId: z.ZodString;
25590
25589
  tenantId: z.ZodString;
25590
+ projectId: z.ZodString;
25591
25591
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
25592
25592
  config: z.ZodObject<{
25593
25593
  type: z.ZodLiteral<"mcp">;
@@ -25626,8 +25626,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25626
25626
  id: z.ZodString;
25627
25627
  name: z.ZodString;
25628
25628
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25629
- projectId: z.ZodString;
25630
25629
  tenantId: z.ZodString;
25630
+ projectId: z.ZodString;
25631
25631
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25632
25632
  baseUrl: z.ZodURL;
25633
25633
  }>, z.core.$strip>>>;
@@ -25640,9 +25640,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25640
25640
  id: z.ZodString;
25641
25641
  name: z.ZodString;
25642
25642
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25643
- agentId: z.ZodString;
25644
- projectId: z.ZodString;
25645
25643
  tenantId: z.ZodString;
25644
+ projectId: z.ZodString;
25645
+ agentId: z.ZodString;
25646
25646
  functionId: z.ZodString;
25647
25647
  }>, z.core.$strip>>>;
25648
25648
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -25656,7 +25656,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25656
25656
  name: z.ZodString;
25657
25657
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25658
25658
  enabled: z.ZodOptional<z.ZodBoolean>;
25659
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25660
25659
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25661
25660
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25662
25661
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25664,14 +25663,15 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25664
25663
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25665
25664
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25666
25665
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25666
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25667
25667
  }, z.core.$strip>>>;
25668
25668
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25669
25669
  name: z.ZodString;
25670
25670
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25671
25671
  enabled: z.ZodOptional<z.ZodBoolean>;
25672
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25673
25672
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25674
25673
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25674
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25675
25675
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25676
25676
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25677
25677
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25834,8 +25834,6 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25834
25834
  declare const ProjectApiSelectSchema: z.ZodObject<{
25835
25835
  id: z.ZodString;
25836
25836
  name: z.ZodString;
25837
- createdAt: z.ZodString;
25838
- updatedAt: z.ZodString;
25839
25837
  description: z.ZodNullable<z.ZodString>;
25840
25838
  models: z.ZodNullable<z.ZodObject<{
25841
25839
  base: z.ZodObject<{
@@ -25855,6 +25853,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25855
25853
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25856
25854
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25857
25855
  }, z.core.$strip>>;
25856
+ createdAt: z.ZodString;
25857
+ updatedAt: z.ZodString;
25858
25858
  }, {
25859
25859
  out: {};
25860
25860
  in: {};
@@ -25941,9 +25941,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25941
25941
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25942
25942
  id: z.ZodString;
25943
25943
  name: z.ZodString;
25944
- createdAt: z.ZodOptional<z.ZodString>;
25945
- updatedAt: z.ZodOptional<z.ZodString>;
25946
25944
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25945
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25947
25946
  models: z.ZodOptional<z.ZodObject<{
25948
25947
  base: z.ZodOptional<z.ZodObject<{
25949
25948
  model: z.ZodOptional<z.ZodString>;
@@ -25958,7 +25957,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25958
25957
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25959
25958
  }, z.core.$strip>>;
25960
25959
  }, z.core.$strip>>;
25961
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25960
+ createdAt: z.ZodOptional<z.ZodString>;
25961
+ updatedAt: z.ZodOptional<z.ZodString>;
25962
25962
  type: z.ZodLiteral<"internal">;
25963
25963
  canUse: z.ZodArray<z.ZodObject<{
25964
25964
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25995,8 +25995,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25995
25995
  id: z.ZodString;
25996
25996
  name: z.ZodString;
25997
25997
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25998
- projectId: z.ZodString;
25999
25998
  tenantId: z.ZodString;
25999
+ projectId: z.ZodString;
26000
26000
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26001
26001
  config: z.ZodObject<{
26002
26002
  type: z.ZodLiteral<"mcp">;
@@ -26035,8 +26035,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26035
26035
  id: z.ZodString;
26036
26036
  name: z.ZodString;
26037
26037
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26038
- projectId: z.ZodString;
26039
26038
  tenantId: z.ZodString;
26039
+ projectId: z.ZodString;
26040
26040
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26041
26041
  baseUrl: z.ZodURL;
26042
26042
  }>, z.core.$strip>>>;
@@ -26049,9 +26049,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26049
26049
  id: z.ZodString;
26050
26050
  name: z.ZodString;
26051
26051
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26052
- agentId: z.ZodString;
26053
- projectId: z.ZodString;
26054
26052
  tenantId: z.ZodString;
26053
+ projectId: z.ZodString;
26054
+ agentId: z.ZodString;
26055
26055
  functionId: z.ZodString;
26056
26056
  }>, z.core.$strip>>>;
26057
26057
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -26065,7 +26065,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26065
26065
  name: z.ZodString;
26066
26066
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26067
26067
  enabled: z.ZodOptional<z.ZodBoolean>;
26068
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26069
26068
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26070
26069
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26071
26070
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26073,14 +26072,15 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26073
26072
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26074
26073
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26075
26074
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26075
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26076
26076
  }, z.core.$strip>>>;
26077
26077
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26078
26078
  name: z.ZodString;
26079
26079
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26080
26080
  enabled: z.ZodOptional<z.ZodBoolean>;
26081
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26082
26081
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26083
26082
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26083
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26084
26084
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26085
26085
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26086
26086
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26133,8 +26133,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26133
26133
  id: z.ZodString;
26134
26134
  name: z.ZodString;
26135
26135
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26136
- projectId: z.ZodString;
26137
26136
  tenantId: z.ZodString;
26137
+ projectId: z.ZodString;
26138
26138
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26139
26139
  config: z.ZodObject<{
26140
26140
  type: z.ZodLiteral<"mcp">;
@@ -26173,9 +26173,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26173
26173
  id: z.ZodString;
26174
26174
  name: z.ZodString;
26175
26175
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26176
- agentId: z.ZodString;
26177
- projectId: z.ZodString;
26178
26176
  tenantId: z.ZodString;
26177
+ projectId: z.ZodString;
26178
+ agentId: z.ZodString;
26179
26179
  functionId: z.ZodString;
26180
26180
  }>, z.core.$strip>>>;
26181
26181
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -26186,10 +26186,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26186
26186
  }, z.core.$strip>>>;
26187
26187
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26188
26188
  name: z.ZodString;
26189
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
26190
26189
  description: z.ZodString;
26191
- projectId: z.ZodString;
26192
26190
  tenantId: z.ZodString;
26191
+ projectId: z.ZodString;
26192
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
26193
26193
  content: z.ZodString;
26194
26194
  }>, z.core.$strip>>>;
26195
26195
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -26249,8 +26249,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26249
26249
  id: z.ZodString;
26250
26250
  name: z.ZodString;
26251
26251
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26252
- projectId: z.ZodString;
26253
26252
  tenantId: z.ZodString;
26253
+ projectId: z.ZodString;
26254
26254
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26255
26255
  baseUrl: z.ZodURL;
26256
26256
  }>, z.core.$strip>>>;
@@ -26272,8 +26272,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26272
26272
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26273
26273
  id: z.ZodString;
26274
26274
  name: z.ZodString;
26275
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26276
26275
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26276
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26277
26277
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26278
26278
  credentialStoreId: z.ZodString;
26279
26279
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -26292,9 +26292,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26292
26292
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26293
26293
  id: z.ZodString;
26294
26294
  name: z.ZodString;
26295
- createdAt: z.ZodString;
26296
- updatedAt: z.ZodString;
26297
26295
  description: z.ZodNullable<z.ZodString>;
26296
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26298
26297
  models: z.ZodNullable<z.ZodType<{
26299
26298
  base?: {
26300
26299
  model?: string | undefined;
@@ -26357,7 +26356,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26357
26356
  }, {
26358
26357
  stepCountIs?: number | undefined;
26359
26358
  }>>>;
26360
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26359
+ createdAt: z.ZodString;
26360
+ updatedAt: z.ZodString;
26361
26361
  type: z.ZodLiteral<"internal">;
26362
26362
  canUse: z.ZodArray<z.ZodObject<{
26363
26363
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26385,9 +26385,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26385
26385
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26386
26386
  id: z.ZodString;
26387
26387
  name: z.ZodString;
26388
- createdAt: z.ZodString;
26389
- updatedAt: z.ZodString;
26390
26388
  description: z.ZodNullable<z.ZodString>;
26389
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26391
26390
  models: z.ZodNullable<z.ZodType<{
26392
26391
  base?: {
26393
26392
  model?: string | undefined;
@@ -26450,7 +26449,8 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26450
26449
  }, {
26451
26450
  stepCountIs?: number | undefined;
26452
26451
  }>>>;
26453
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26452
+ createdAt: z.ZodString;
26453
+ updatedAt: z.ZodString;
26454
26454
  type: z.ZodLiteral<"internal">;
26455
26455
  canUse: z.ZodArray<z.ZodObject<{
26456
26456
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26484,17 +26484,16 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26484
26484
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26485
26485
  id: z.ZodString;
26486
26486
  name: z.ZodString;
26487
- createdAt: z.ZodString;
26488
- updatedAt: z.ZodString;
26489
26487
  description: z.ZodNullable<z.ZodString>;
26490
26488
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26489
+ createdAt: z.ZodString;
26490
+ updatedAt: z.ZodString;
26491
26491
  contextConfigId: z.ZodNullable<z.ZodString>;
26492
26492
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26493
26493
  id: z.ZodString;
26494
26494
  name: z.ZodString;
26495
- createdAt: z.ZodString;
26496
- updatedAt: z.ZodString;
26497
26495
  description: z.ZodNullable<z.ZodString>;
26496
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26498
26497
  models: z.ZodNullable<z.ZodType<{
26499
26498
  base?: {
26500
26499
  model?: string | undefined;
@@ -26557,7 +26556,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26557
26556
  }, {
26558
26557
  stepCountIs?: number | undefined;
26559
26558
  }>>>;
26560
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26559
+ createdAt: z.ZodString;
26560
+ updatedAt: z.ZodString;
26561
26561
  type: z.ZodLiteral<"internal">;
26562
26562
  canUse: z.ZodArray<z.ZodObject<{
26563
26563
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26630,10 +26630,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26630
26630
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26631
26631
  id: z.ZodString;
26632
26632
  name: z.ZodString;
26633
- createdAt: z.ZodString;
26634
- updatedAt: z.ZodString;
26635
26633
  description: z.ZodNullable<z.ZodString>;
26636
26634
  agentId: z.ZodString;
26635
+ createdAt: z.ZodString;
26636
+ updatedAt: z.ZodString;
26637
26637
  functionId: z.ZodString;
26638
26638
  relationshipId: z.ZodOptional<z.ZodString>;
26639
26639
  }, z.core.$strip>>>;
@@ -26712,10 +26712,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26712
26712
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26713
26713
  id: z.ZodString;
26714
26714
  name: z.ZodString;
26715
- createdAt: z.ZodString;
26716
- updatedAt: z.ZodString;
26717
26715
  description: z.ZodNullable<z.ZodString>;
26718
26716
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26717
+ createdAt: z.ZodString;
26718
+ updatedAt: z.ZodString;
26719
26719
  contextConfigId: z.ZodNullable<z.ZodString>;
26720
26720
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26721
26721
  createdAt: z.ZodString;
@@ -26765,10 +26765,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26765
26765
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26766
26766
  id: z.ZodString;
26767
26767
  name: z.ZodString;
26768
- createdAt: z.ZodString;
26769
- updatedAt: z.ZodString;
26770
26768
  description: z.ZodNullable<z.ZodString>;
26771
26769
  agentId: z.ZodString;
26770
+ createdAt: z.ZodString;
26771
+ updatedAt: z.ZodString;
26772
26772
  functionId: z.ZodString;
26773
26773
  relationshipId: z.ZodOptional<z.ZodString>;
26774
26774
  }, z.core.$strip>>>;
@@ -26846,9 +26846,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26846
26846
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26847
26847
  id: z.ZodString;
26848
26848
  name: z.ZodString;
26849
- createdAt: z.ZodString;
26850
- updatedAt: z.ZodString;
26851
26849
  description: z.ZodNullable<z.ZodString>;
26850
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26852
26851
  models: z.ZodNullable<z.ZodType<{
26853
26852
  base?: {
26854
26853
  model?: string | undefined;
@@ -26911,7 +26910,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26911
26910
  }, {
26912
26911
  stepCountIs?: number | undefined;
26913
26912
  }>>>;
26914
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26913
+ createdAt: z.ZodString;
26914
+ updatedAt: z.ZodString;
26915
26915
  type: z.ZodLiteral<"internal">;
26916
26916
  canUse: z.ZodArray<z.ZodObject<{
26917
26917
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26946,8 +26946,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26946
26946
  declare const FullProjectSelectSchema: z.ZodObject<{
26947
26947
  id: z.ZodString;
26948
26948
  name: z.ZodString;
26949
- createdAt: z.ZodString;
26950
- updatedAt: z.ZodString;
26951
26949
  description: z.ZodNullable<z.ZodString>;
26952
26950
  models: z.ZodNullable<z.ZodObject<{
26953
26951
  base: z.ZodObject<{
@@ -26967,20 +26965,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26967
26965
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26968
26966
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26969
26967
  }, z.core.$strip>>;
26968
+ createdAt: z.ZodString;
26969
+ updatedAt: z.ZodString;
26970
26970
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26971
26971
  id: z.ZodString;
26972
26972
  name: z.ZodString;
26973
- createdAt: z.ZodString;
26974
- updatedAt: z.ZodString;
26975
26973
  description: z.ZodNullable<z.ZodString>;
26976
26974
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26975
+ createdAt: z.ZodString;
26976
+ updatedAt: z.ZodString;
26977
26977
  contextConfigId: z.ZodNullable<z.ZodString>;
26978
26978
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26979
26979
  id: z.ZodString;
26980
26980
  name: z.ZodString;
26981
- createdAt: z.ZodString;
26982
- updatedAt: z.ZodString;
26983
26981
  description: z.ZodNullable<z.ZodString>;
26982
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26984
26983
  models: z.ZodNullable<z.ZodType<{
26985
26984
  base?: {
26986
26985
  model?: string | undefined;
@@ -27043,7 +27042,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27043
27042
  }, {
27044
27043
  stepCountIs?: number | undefined;
27045
27044
  }>>>;
27046
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27045
+ createdAt: z.ZodString;
27046
+ updatedAt: z.ZodString;
27047
27047
  type: z.ZodLiteral<"internal">;
27048
27048
  canUse: z.ZodArray<z.ZodObject<{
27049
27049
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27116,10 +27116,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27116
27116
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27117
27117
  id: z.ZodString;
27118
27118
  name: z.ZodString;
27119
- createdAt: z.ZodString;
27120
- updatedAt: z.ZodString;
27121
27119
  description: z.ZodNullable<z.ZodString>;
27122
27120
  agentId: z.ZodString;
27121
+ createdAt: z.ZodString;
27122
+ updatedAt: z.ZodString;
27123
27123
  functionId: z.ZodString;
27124
27124
  relationshipId: z.ZodOptional<z.ZodString>;
27125
27125
  }, z.core.$strip>>>;
@@ -27227,10 +27227,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27227
27227
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27228
27228
  id: z.ZodString;
27229
27229
  name: z.ZodString;
27230
- createdAt: z.ZodString;
27231
- updatedAt: z.ZodString;
27232
27230
  description: z.ZodNullable<z.ZodString>;
27233
27231
  agentId: z.ZodString;
27232
+ createdAt: z.ZodString;
27233
+ updatedAt: z.ZodString;
27234
27234
  functionId: z.ZodString;
27235
27235
  relationshipId: z.ZodOptional<z.ZodString>;
27236
27236
  }, z.core.$strip>>>;
@@ -27377,8 +27377,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27377
27377
  name: z.ZodString;
27378
27378
  createdAt: z.ZodString;
27379
27379
  updatedAt: z.ZodString;
27380
- userId: z.ZodNullable<z.ZodString>;
27381
27380
  toolId: z.ZodNullable<z.ZodString>;
27381
+ userId: z.ZodNullable<z.ZodString>;
27382
27382
  createdBy: z.ZodNullable<z.ZodString>;
27383
27383
  credentialStoreId: z.ZodString;
27384
27384
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -27970,8 +27970,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27970
27970
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27971
27971
  id: z.ZodString;
27972
27972
  name: z.ZodString;
27973
- createdAt: z.ZodString;
27974
- updatedAt: z.ZodString;
27975
27973
  description: z.ZodNullable<z.ZodString>;
27976
27974
  models: z.ZodNullable<z.ZodObject<{
27977
27975
  base: z.ZodObject<{
@@ -27991,6 +27989,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27991
27989
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27992
27990
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27993
27991
  }, z.core.$strip>>;
27992
+ createdAt: z.ZodString;
27993
+ updatedAt: z.ZodString;
27994
27994
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27995
27995
  createdAt: z.ZodString;
27996
27996
  updatedAt: z.ZodString;
@@ -28023,10 +28023,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28023
28023
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28024
28024
  id: z.ZodString;
28025
28025
  name: z.ZodString;
28026
- createdAt: z.ZodString;
28027
- updatedAt: z.ZodString;
28028
28026
  description: z.ZodNullable<z.ZodString>;
28029
28027
  agentId: z.ZodString;
28028
+ createdAt: z.ZodString;
28029
+ updatedAt: z.ZodString;
28030
28030
  functionId: z.ZodString;
28031
28031
  relationshipId: z.ZodOptional<z.ZodString>;
28032
28032
  }, z.core.$strip>>>;
@@ -28173,8 +28173,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28173
28173
  name: z.ZodString;
28174
28174
  createdAt: z.ZodString;
28175
28175
  updatedAt: z.ZodString;
28176
- userId: z.ZodNullable<z.ZodString>;
28177
28176
  toolId: z.ZodNullable<z.ZodString>;
28177
+ userId: z.ZodNullable<z.ZodString>;
28178
28178
  createdBy: z.ZodNullable<z.ZodString>;
28179
28179
  credentialStoreId: z.ZodString;
28180
28180
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -28762,10 +28762,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28762
28762
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28763
28763
  id: z.ZodString;
28764
28764
  name: z.ZodString;
28765
- createdAt: z.ZodString;
28766
- updatedAt: z.ZodString;
28767
28765
  description: z.ZodNullable<z.ZodString>;
28768
28766
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28767
+ createdAt: z.ZodString;
28768
+ updatedAt: z.ZodString;
28769
28769
  contextConfigId: z.ZodNullable<z.ZodString>;
28770
28770
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28771
28771
  createdAt: z.ZodString;
@@ -28815,10 +28815,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28815
28815
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28816
28816
  id: z.ZodString;
28817
28817
  name: z.ZodString;
28818
- createdAt: z.ZodString;
28819
- updatedAt: z.ZodString;
28820
28818
  description: z.ZodNullable<z.ZodString>;
28821
28819
  agentId: z.ZodString;
28820
+ createdAt: z.ZodString;
28821
+ updatedAt: z.ZodString;
28822
28822
  functionId: z.ZodString;
28823
28823
  relationshipId: z.ZodOptional<z.ZodString>;
28824
28824
  }, z.core.$strip>>>;
@@ -28896,9 +28896,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28896
28896
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28897
28897
  id: z.ZodString;
28898
28898
  name: z.ZodString;
28899
- createdAt: z.ZodString;
28900
- updatedAt: z.ZodString;
28901
28899
  description: z.ZodNullable<z.ZodString>;
28900
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28902
28901
  models: z.ZodNullable<z.ZodType<{
28903
28902
  base?: {
28904
28903
  model?: string | undefined;
@@ -28961,7 +28960,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28961
28960
  }, {
28962
28961
  stepCountIs?: number | undefined;
28963
28962
  }>>>;
28964
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28963
+ createdAt: z.ZodString;
28964
+ updatedAt: z.ZodString;
28965
28965
  type: z.ZodLiteral<"internal">;
28966
28966
  canUse: z.ZodArray<z.ZodObject<{
28967
28967
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -29001,8 +29001,6 @@ declare const ProjectResponse: z.ZodObject<{
29001
29001
  data: z.ZodObject<{
29002
29002
  id: z.ZodString;
29003
29003
  name: z.ZodString;
29004
- createdAt: z.ZodString;
29005
- updatedAt: z.ZodString;
29006
29004
  description: z.ZodNullable<z.ZodString>;
29007
29005
  models: z.ZodNullable<z.ZodObject<{
29008
29006
  base: z.ZodObject<{
@@ -29022,6 +29020,8 @@ declare const ProjectResponse: z.ZodObject<{
29022
29020
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29023
29021
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29024
29022
  }, z.core.$strip>>;
29023
+ createdAt: z.ZodString;
29024
+ updatedAt: z.ZodString;
29025
29025
  }, {
29026
29026
  out: {};
29027
29027
  in: {};
@@ -29262,13 +29262,13 @@ declare const ApiKeyResponse: z.ZodObject<{
29262
29262
  data: z.ZodObject<{
29263
29263
  id: z.ZodString;
29264
29264
  name: z.ZodNullable<z.ZodString>;
29265
+ agentId: z.ZodString;
29265
29266
  createdAt: z.ZodString;
29266
29267
  updatedAt: z.ZodString;
29267
29268
  expiresAt: z.ZodNullable<z.ZodString>;
29268
- agentId: z.ZodString;
29269
+ lastUsedAt: z.ZodNullable<z.ZodString>;
29269
29270
  publicId: z.ZodString;
29270
29271
  keyPrefix: z.ZodString;
29271
- lastUsedAt: z.ZodNullable<z.ZodString>;
29272
29272
  }, {
29273
29273
  out: {};
29274
29274
  in: {};
@@ -29280,8 +29280,8 @@ declare const CredentialReferenceResponse: z.ZodObject<{
29280
29280
  name: z.ZodString;
29281
29281
  createdAt: z.ZodString;
29282
29282
  updatedAt: z.ZodString;
29283
- userId: z.ZodNullable<z.ZodString>;
29284
29283
  toolId: z.ZodNullable<z.ZodString>;
29284
+ userId: z.ZodNullable<z.ZodString>;
29285
29285
  createdBy: z.ZodNullable<z.ZodString>;
29286
29286
  credentialStoreId: z.ZodString;
29287
29287
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -29883,10 +29883,10 @@ declare const FunctionToolResponse: z.ZodObject<{
29883
29883
  data: z.ZodObject<{
29884
29884
  id: z.ZodString;
29885
29885
  name: z.ZodString;
29886
- createdAt: z.ZodString;
29887
- updatedAt: z.ZodString;
29888
29886
  description: z.ZodNullable<z.ZodString>;
29889
29887
  agentId: z.ZodString;
29888
+ createdAt: z.ZodString;
29889
+ updatedAt: z.ZodString;
29890
29890
  functionId: z.ZodString;
29891
29891
  relationshipId: z.ZodOptional<z.ZodString>;
29892
29892
  }, z.core.$strip>;
@@ -30069,8 +30069,8 @@ declare const TriggerResponse: z.ZodObject<{
30069
30069
  signature: z.ZodObject<{
30070
30070
  source: z.ZodEnum<{
30071
30071
  query: "query";
30072
- header: "header";
30073
30072
  body: "body";
30073
+ header: "header";
30074
30074
  }>;
30075
30075
  key: z.ZodString;
30076
30076
  prefix: z.ZodOptional<z.ZodString>;
@@ -30079,8 +30079,8 @@ declare const TriggerResponse: z.ZodObject<{
30079
30079
  signedComponents: z.ZodArray<z.ZodObject<{
30080
30080
  source: z.ZodEnum<{
30081
30081
  literal: "literal";
30082
- header: "header";
30083
30082
  body: "body";
30083
+ header: "header";
30084
30084
  }>;
30085
30085
  key: z.ZodOptional<z.ZodString>;
30086
30086
  value: z.ZodOptional<z.ZodString>;
@@ -30122,8 +30122,6 @@ declare const ProjectListResponse: z.ZodObject<{
30122
30122
  data: z.ZodArray<z.ZodObject<{
30123
30123
  id: z.ZodString;
30124
30124
  name: z.ZodString;
30125
- createdAt: z.ZodString;
30126
- updatedAt: z.ZodString;
30127
30125
  description: z.ZodNullable<z.ZodString>;
30128
30126
  models: z.ZodNullable<z.ZodObject<{
30129
30127
  base: z.ZodObject<{
@@ -30143,6 +30141,8 @@ declare const ProjectListResponse: z.ZodObject<{
30143
30141
  transferCountIs: z.ZodOptional<z.ZodNumber>;
30144
30142
  stepCountIs: z.ZodOptional<z.ZodNumber>;
30145
30143
  }, z.core.$strip>>;
30144
+ createdAt: z.ZodString;
30145
+ updatedAt: z.ZodString;
30146
30146
  }, {
30147
30147
  out: {};
30148
30148
  in: {};
@@ -30413,13 +30413,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
30413
30413
  data: z.ZodArray<z.ZodObject<{
30414
30414
  id: z.ZodString;
30415
30415
  name: z.ZodNullable<z.ZodString>;
30416
+ agentId: z.ZodString;
30416
30417
  createdAt: z.ZodString;
30417
30418
  updatedAt: z.ZodString;
30418
30419
  expiresAt: z.ZodNullable<z.ZodString>;
30419
- agentId: z.ZodString;
30420
+ lastUsedAt: z.ZodNullable<z.ZodString>;
30420
30421
  publicId: z.ZodString;
30421
30422
  keyPrefix: z.ZodString;
30422
- lastUsedAt: z.ZodNullable<z.ZodString>;
30423
30423
  }, {
30424
30424
  out: {};
30425
30425
  in: {};
@@ -30433,18 +30433,18 @@ declare const ApiKeyListResponse: z.ZodObject<{
30433
30433
  }, z.core.$strip>;
30434
30434
  declare const AppResponse: z.ZodObject<{
30435
30435
  data: z.ZodObject<{
30436
+ type: z.ZodString;
30436
30437
  id: z.ZodString;
30437
30438
  name: z.ZodString;
30438
- createdAt: z.ZodString;
30439
- updatedAt: z.ZodString;
30440
30439
  description: z.ZodNullable<z.ZodString>;
30441
- projectId: z.ZodNullable<z.ZodString>;
30442
30440
  tenantId: z.ZodNullable<z.ZodString>;
30443
- type: z.ZodString;
30441
+ projectId: z.ZodNullable<z.ZodString>;
30442
+ createdAt: z.ZodString;
30443
+ updatedAt: z.ZodString;
30444
30444
  enabled: z.ZodBoolean;
30445
- lastUsedAt: z.ZodNullable<z.ZodString>;
30446
- defaultProjectId: z.ZodNullable<z.ZodString>;
30447
30445
  defaultAgentId: z.ZodNullable<z.ZodString>;
30446
+ defaultProjectId: z.ZodNullable<z.ZodString>;
30447
+ lastUsedAt: z.ZodNullable<z.ZodString>;
30448
30448
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
30449
30449
  type: z.ZodLiteral<"web_client">;
30450
30450
  webClient: z.ZodObject<{
@@ -30461,18 +30461,18 @@ declare const AppResponse: z.ZodObject<{
30461
30461
  }, z.core.$strip>;
30462
30462
  declare const AppListResponse: z.ZodObject<{
30463
30463
  data: z.ZodArray<z.ZodObject<{
30464
+ type: z.ZodString;
30464
30465
  id: z.ZodString;
30465
30466
  name: z.ZodString;
30466
- createdAt: z.ZodString;
30467
- updatedAt: z.ZodString;
30468
30467
  description: z.ZodNullable<z.ZodString>;
30469
- projectId: z.ZodNullable<z.ZodString>;
30470
30468
  tenantId: z.ZodNullable<z.ZodString>;
30471
- type: z.ZodString;
30469
+ projectId: z.ZodNullable<z.ZodString>;
30470
+ createdAt: z.ZodString;
30471
+ updatedAt: z.ZodString;
30472
30472
  enabled: z.ZodBoolean;
30473
- lastUsedAt: z.ZodNullable<z.ZodString>;
30474
- defaultProjectId: z.ZodNullable<z.ZodString>;
30475
30473
  defaultAgentId: z.ZodNullable<z.ZodString>;
30474
+ defaultProjectId: z.ZodNullable<z.ZodString>;
30475
+ lastUsedAt: z.ZodNullable<z.ZodString>;
30476
30476
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
30477
30477
  type: z.ZodLiteral<"web_client">;
30478
30478
  webClient: z.ZodObject<{
@@ -30499,8 +30499,8 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30499
30499
  name: z.ZodString;
30500
30500
  createdAt: z.ZodString;
30501
30501
  updatedAt: z.ZodString;
30502
- userId: z.ZodNullable<z.ZodString>;
30503
30502
  toolId: z.ZodNullable<z.ZodString>;
30503
+ userId: z.ZodNullable<z.ZodString>;
30504
30504
  createdBy: z.ZodNullable<z.ZodString>;
30505
30505
  credentialStoreId: z.ZodString;
30506
30506
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -31114,10 +31114,10 @@ declare const FunctionToolListResponse: z.ZodObject<{
31114
31114
  data: z.ZodArray<z.ZodObject<{
31115
31115
  id: z.ZodString;
31116
31116
  name: z.ZodString;
31117
- createdAt: z.ZodString;
31118
- updatedAt: z.ZodString;
31119
31117
  description: z.ZodNullable<z.ZodString>;
31120
31118
  agentId: z.ZodString;
31119
+ createdAt: z.ZodString;
31120
+ updatedAt: z.ZodString;
31121
31121
  functionId: z.ZodString;
31122
31122
  relationshipId: z.ZodOptional<z.ZodString>;
31123
31123
  }, z.core.$strip>>;
@@ -31368,8 +31368,8 @@ declare const TriggerListResponse: z.ZodObject<{
31368
31368
  signature: z.ZodObject<{
31369
31369
  source: z.ZodEnum<{
31370
31370
  query: "query";
31371
- header: "header";
31372
31371
  body: "body";
31372
+ header: "header";
31373
31373
  }>;
31374
31374
  key: z.ZodString;
31375
31375
  prefix: z.ZodOptional<z.ZodString>;
@@ -31378,8 +31378,8 @@ declare const TriggerListResponse: z.ZodObject<{
31378
31378
  signedComponents: z.ZodArray<z.ZodObject<{
31379
31379
  source: z.ZodEnum<{
31380
31380
  literal: "literal";
31381
- header: "header";
31382
31381
  body: "body";
31382
+ header: "header";
31383
31383
  }>;
31384
31384
  key: z.ZodOptional<z.ZodString>;
31385
31385
  value: z.ZodOptional<z.ZodString>;
@@ -31433,11 +31433,10 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
31433
31433
  data: z.ZodObject<{
31434
31434
  id: z.ZodString;
31435
31435
  name: z.ZodString;
31436
+ description: z.ZodNullable<z.ZodString>;
31436
31437
  createdAt: z.ZodString;
31437
31438
  updatedAt: z.ZodString;
31438
- description: z.ZodNullable<z.ZodString>;
31439
31439
  enabled: z.ZodBoolean;
31440
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31441
31440
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31442
31441
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31443
31442
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -31458,8 +31457,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
31458
31457
  signature: z.ZodObject<{
31459
31458
  source: z.ZodEnum<{
31460
31459
  query: "query";
31461
- header: "header";
31462
31460
  body: "body";
31461
+ header: "header";
31463
31462
  }>;
31464
31463
  key: z.ZodString;
31465
31464
  prefix: z.ZodOptional<z.ZodString>;
@@ -31468,8 +31467,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
31468
31467
  signedComponents: z.ZodArray<z.ZodObject<{
31469
31468
  source: z.ZodEnum<{
31470
31469
  literal: "literal";
31471
- header: "header";
31472
31470
  body: "body";
31471
+ header: "header";
31473
31472
  }>;
31474
31473
  key: z.ZodOptional<z.ZodString>;
31475
31474
  value: z.ZodOptional<z.ZodString>;
@@ -31489,6 +31488,7 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
31489
31488
  }, z.core.$strip>>;
31490
31489
  }, z.core.$strip>>>;
31491
31490
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31491
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31492
31492
  webhookUrl: z.ZodString;
31493
31493
  }, z.core.$strip>;
31494
31494
  }, z.core.$strip>;
@@ -31496,11 +31496,10 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31496
31496
  data: z.ZodObject<{
31497
31497
  id: z.ZodString;
31498
31498
  name: z.ZodString;
31499
+ description: z.ZodNullable<z.ZodString>;
31499
31500
  createdAt: z.ZodString;
31500
31501
  updatedAt: z.ZodString;
31501
- description: z.ZodNullable<z.ZodString>;
31502
31502
  enabled: z.ZodBoolean;
31503
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31504
31503
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31505
31504
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31506
31505
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -31521,8 +31520,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31521
31520
  signature: z.ZodObject<{
31522
31521
  source: z.ZodEnum<{
31523
31522
  query: "query";
31524
- header: "header";
31525
31523
  body: "body";
31524
+ header: "header";
31526
31525
  }>;
31527
31526
  key: z.ZodString;
31528
31527
  prefix: z.ZodOptional<z.ZodString>;
@@ -31531,8 +31530,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31531
31530
  signedComponents: z.ZodArray<z.ZodObject<{
31532
31531
  source: z.ZodEnum<{
31533
31532
  literal: "literal";
31534
- header: "header";
31535
31533
  body: "body";
31534
+ header: "header";
31536
31535
  }>;
31537
31536
  key: z.ZodOptional<z.ZodString>;
31538
31537
  value: z.ZodOptional<z.ZodString>;
@@ -31552,6 +31551,7 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31552
31551
  }, z.core.$strip>>;
31553
31552
  }, z.core.$strip>>>;
31554
31553
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31554
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31555
31555
  webhookUrl: z.ZodString;
31556
31556
  }, z.core.$strip>;
31557
31557
  warning: z.ZodOptional<z.ZodString>;
@@ -31560,11 +31560,10 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31560
31560
  data: z.ZodArray<z.ZodObject<{
31561
31561
  id: z.ZodString;
31562
31562
  name: z.ZodString;
31563
+ description: z.ZodNullable<z.ZodString>;
31563
31564
  createdAt: z.ZodString;
31564
31565
  updatedAt: z.ZodString;
31565
- description: z.ZodNullable<z.ZodString>;
31566
31566
  enabled: z.ZodBoolean;
31567
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31568
31567
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31569
31568
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31570
31569
  messageTemplate: z.ZodNullable<z.ZodString>;
@@ -31585,8 +31584,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31585
31584
  signature: z.ZodObject<{
31586
31585
  source: z.ZodEnum<{
31587
31586
  query: "query";
31588
- header: "header";
31589
31587
  body: "body";
31588
+ header: "header";
31590
31589
  }>;
31591
31590
  key: z.ZodString;
31592
31591
  prefix: z.ZodOptional<z.ZodString>;
@@ -31595,8 +31594,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31595
31594
  signedComponents: z.ZodArray<z.ZodObject<{
31596
31595
  source: z.ZodEnum<{
31597
31596
  literal: "literal";
31598
- header: "header";
31599
31597
  body: "body";
31598
+ header: "header";
31600
31599
  }>;
31601
31600
  key: z.ZodOptional<z.ZodString>;
31602
31601
  value: z.ZodOptional<z.ZodString>;
@@ -31616,6 +31615,7 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31616
31615
  }, z.core.$strip>>;
31617
31616
  }, z.core.$strip>>>;
31618
31617
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31618
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31619
31619
  webhookUrl: z.ZodString;
31620
31620
  }, z.core.$strip>>;
31621
31621
  pagination: z.ZodObject<{
@@ -31628,13 +31628,13 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31628
31628
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31629
31629
  id: z.ZodString;
31630
31630
  name: z.ZodString;
31631
+ description: z.ZodNullable<z.ZodString>;
31631
31632
  createdAt: z.ZodString;
31632
31633
  updatedAt: z.ZodString;
31633
- description: z.ZodNullable<z.ZodString>;
31634
31634
  enabled: z.ZodBoolean;
31635
- createdBy: z.ZodNullable<z.ZodString>;
31636
31635
  messageTemplate: z.ZodNullable<z.ZodString>;
31637
31636
  runAsUserId: z.ZodNullable<z.ZodString>;
31637
+ createdBy: z.ZodNullable<z.ZodString>;
31638
31638
  cronExpression: z.ZodNullable<z.ZodString>;
31639
31639
  cronTimezone: z.ZodNullable<z.ZodString>;
31640
31640
  runAt: z.ZodNullable<z.ZodString>;
@@ -31644,8 +31644,8 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31644
31644
  timeoutSeconds: z.ZodNumber;
31645
31645
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
31646
31646
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
31647
- completed: "completed";
31648
31647
  failed: "failed";
31648
+ completed: "completed";
31649
31649
  }>>;
31650
31650
  lastRunConversationIds: z.ZodArray<z.ZodString>;
31651
31651
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -31707,13 +31707,13 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31707
31707
  data: z.ZodArray<z.ZodObject<{
31708
31708
  id: z.ZodString;
31709
31709
  name: z.ZodString;
31710
+ description: z.ZodNullable<z.ZodString>;
31710
31711
  createdAt: z.ZodString;
31711
31712
  updatedAt: z.ZodString;
31712
- description: z.ZodNullable<z.ZodString>;
31713
31713
  enabled: z.ZodBoolean;
31714
- createdBy: z.ZodNullable<z.ZodString>;
31715
31714
  messageTemplate: z.ZodNullable<z.ZodString>;
31716
31715
  runAsUserId: z.ZodNullable<z.ZodString>;
31716
+ createdBy: z.ZodNullable<z.ZodString>;
31717
31717
  cronExpression: z.ZodNullable<z.ZodString>;
31718
31718
  cronTimezone: z.ZodNullable<z.ZodString>;
31719
31719
  runAt: z.ZodNullable<z.ZodString>;
@@ -31723,8 +31723,8 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31723
31723
  timeoutSeconds: z.ZodNumber;
31724
31724
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
31725
31725
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
31726
- completed: "completed";
31727
31726
  failed: "failed";
31727
+ completed: "completed";
31728
31728
  }>>;
31729
31729
  lastRunConversationIds: z.ZodArray<z.ZodString>;
31730
31730
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -31753,9 +31753,9 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
31753
31753
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31754
31754
  status: z.ZodEnum<{
31755
31755
  pending: "pending";
31756
+ failed: "failed";
31756
31757
  running: "running";
31757
31758
  completed: "completed";
31758
- failed: "failed";
31759
31759
  cancelled: "cancelled";
31760
31760
  }>;
31761
31761
  }>, z.core.$strip>;
@@ -31777,9 +31777,9 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
31777
31777
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31778
31778
  status: z.ZodEnum<{
31779
31779
  pending: "pending";
31780
+ failed: "failed";
31780
31781
  running: "running";
31781
31782
  completed: "completed";
31782
- failed: "failed";
31783
31783
  cancelled: "cancelled";
31784
31784
  }>;
31785
31785
  }>, z.core.$strip>>;
@@ -31866,10 +31866,10 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31866
31866
  data: z.ZodArray<z.ZodObject<{
31867
31867
  id: z.ZodString;
31868
31868
  name: z.ZodString;
31869
+ description: z.ZodString;
31869
31870
  createdAt: z.ZodString;
31870
31871
  updatedAt: z.ZodString;
31871
31872
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31872
- description: z.ZodString;
31873
31873
  content: z.ZodString;
31874
31874
  subAgentSkillId: z.ZodString;
31875
31875
  subAgentId: z.ZodString;
@@ -31909,9 +31909,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31909
31909
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31910
31910
  id: z.ZodString;
31911
31911
  name: z.ZodString;
31912
- createdAt: z.ZodOptional<z.ZodString>;
31913
- updatedAt: z.ZodOptional<z.ZodString>;
31914
31912
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31913
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31915
31914
  models: z.ZodOptional<z.ZodObject<{
31916
31915
  base: z.ZodOptional<z.ZodObject<{
31917
31916
  model: z.ZodOptional<z.ZodString>;
@@ -31926,7 +31925,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31926
31925
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31927
31926
  }, z.core.$strip>>;
31928
31927
  }, z.core.$strip>>;
31929
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31928
+ createdAt: z.ZodOptional<z.ZodString>;
31929
+ updatedAt: z.ZodOptional<z.ZodString>;
31930
31930
  type: z.ZodLiteral<"internal">;
31931
31931
  canUse: z.ZodArray<z.ZodObject<{
31932
31932
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31963,8 +31963,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31963
31963
  id: z.ZodString;
31964
31964
  name: z.ZodString;
31965
31965
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31966
- projectId: z.ZodString;
31967
31966
  tenantId: z.ZodString;
31967
+ projectId: z.ZodString;
31968
31968
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
31969
31969
  config: z.ZodObject<{
31970
31970
  type: z.ZodLiteral<"mcp">;
@@ -32003,8 +32003,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32003
32003
  id: z.ZodString;
32004
32004
  name: z.ZodString;
32005
32005
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32006
- projectId: z.ZodString;
32007
32006
  tenantId: z.ZodString;
32007
+ projectId: z.ZodString;
32008
32008
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32009
32009
  baseUrl: z.ZodURL;
32010
32010
  }>, z.core.$strip>>>;
@@ -32017,9 +32017,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32017
32017
  id: z.ZodString;
32018
32018
  name: z.ZodString;
32019
32019
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32020
- agentId: z.ZodString;
32021
- projectId: z.ZodString;
32022
32020
  tenantId: z.ZodString;
32021
+ projectId: z.ZodString;
32022
+ agentId: z.ZodString;
32023
32023
  functionId: z.ZodString;
32024
32024
  }>, z.core.$strip>>>;
32025
32025
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -32033,7 +32033,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32033
32033
  name: z.ZodString;
32034
32034
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32035
32035
  enabled: z.ZodOptional<z.ZodBoolean>;
32036
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32037
32036
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32038
32037
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32039
32038
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32041,14 +32040,15 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32041
32040
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32042
32041
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32043
32042
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32043
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32044
32044
  }, z.core.$strip>>>;
32045
32045
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32046
32046
  name: z.ZodString;
32047
32047
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32048
32048
  enabled: z.ZodOptional<z.ZodBoolean>;
32049
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32050
32049
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32051
32050
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32051
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32052
32052
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32053
32053
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32054
32054
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32101,8 +32101,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32101
32101
  id: z.ZodString;
32102
32102
  name: z.ZodString;
32103
32103
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32104
- projectId: z.ZodString;
32105
32104
  tenantId: z.ZodString;
32105
+ projectId: z.ZodString;
32106
32106
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32107
32107
  config: z.ZodObject<{
32108
32108
  type: z.ZodLiteral<"mcp">;
@@ -32141,9 +32141,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32141
32141
  id: z.ZodString;
32142
32142
  name: z.ZodString;
32143
32143
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32144
- agentId: z.ZodString;
32145
- projectId: z.ZodString;
32146
32144
  tenantId: z.ZodString;
32145
+ projectId: z.ZodString;
32146
+ agentId: z.ZodString;
32147
32147
  functionId: z.ZodString;
32148
32148
  }>, z.core.$strip>>>;
32149
32149
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -32154,10 +32154,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32154
32154
  }, z.core.$strip>>>;
32155
32155
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32156
32156
  name: z.ZodString;
32157
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
32158
32157
  description: z.ZodString;
32159
- projectId: z.ZodString;
32160
32158
  tenantId: z.ZodString;
32159
+ projectId: z.ZodString;
32160
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
32161
32161
  content: z.ZodString;
32162
32162
  }>, z.core.$strip>>>;
32163
32163
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -32217,8 +32217,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32217
32217
  id: z.ZodString;
32218
32218
  name: z.ZodString;
32219
32219
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32220
- projectId: z.ZodString;
32221
32220
  tenantId: z.ZodString;
32221
+ projectId: z.ZodString;
32222
32222
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32223
32223
  baseUrl: z.ZodURL;
32224
32224
  }>, z.core.$strip>>>;
@@ -32240,8 +32240,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32240
32240
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32241
32241
  id: z.ZodString;
32242
32242
  name: z.ZodString;
32243
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32244
32243
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32244
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32245
32245
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32246
32246
  credentialStoreId: z.ZodString;
32247
32247
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -32262,8 +32262,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32262
32262
  data: z.ZodObject<{
32263
32263
  id: z.ZodString;
32264
32264
  name: z.ZodString;
32265
- createdAt: z.ZodString;
32266
- updatedAt: z.ZodString;
32267
32265
  description: z.ZodNullable<z.ZodString>;
32268
32266
  models: z.ZodNullable<z.ZodObject<{
32269
32267
  base: z.ZodObject<{
@@ -32283,20 +32281,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32283
32281
  transferCountIs: z.ZodOptional<z.ZodNumber>;
32284
32282
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32285
32283
  }, z.core.$strip>>;
32284
+ createdAt: z.ZodString;
32285
+ updatedAt: z.ZodString;
32286
32286
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
32287
32287
  id: z.ZodString;
32288
32288
  name: z.ZodString;
32289
- createdAt: z.ZodString;
32290
- updatedAt: z.ZodString;
32291
32289
  description: z.ZodNullable<z.ZodString>;
32292
32290
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
32291
+ createdAt: z.ZodString;
32292
+ updatedAt: z.ZodString;
32293
32293
  contextConfigId: z.ZodNullable<z.ZodString>;
32294
32294
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32295
32295
  id: z.ZodString;
32296
32296
  name: z.ZodString;
32297
- createdAt: z.ZodString;
32298
- updatedAt: z.ZodString;
32299
32297
  description: z.ZodNullable<z.ZodString>;
32298
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32300
32299
  models: z.ZodNullable<z.ZodType<{
32301
32300
  base?: {
32302
32301
  model?: string | undefined;
@@ -32359,7 +32358,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32359
32358
  }, {
32360
32359
  stepCountIs?: number | undefined;
32361
32360
  }>>>;
32362
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32361
+ createdAt: z.ZodString;
32362
+ updatedAt: z.ZodString;
32363
32363
  type: z.ZodLiteral<"internal">;
32364
32364
  canUse: z.ZodArray<z.ZodObject<{
32365
32365
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -32432,10 +32432,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32432
32432
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32433
32433
  id: z.ZodString;
32434
32434
  name: z.ZodString;
32435
- createdAt: z.ZodString;
32436
- updatedAt: z.ZodString;
32437
32435
  description: z.ZodNullable<z.ZodString>;
32438
32436
  agentId: z.ZodString;
32437
+ createdAt: z.ZodString;
32438
+ updatedAt: z.ZodString;
32439
32439
  functionId: z.ZodString;
32440
32440
  relationshipId: z.ZodOptional<z.ZodString>;
32441
32441
  }, z.core.$strip>>>;
@@ -32543,10 +32543,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32543
32543
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32544
32544
  id: z.ZodString;
32545
32545
  name: z.ZodString;
32546
- createdAt: z.ZodString;
32547
- updatedAt: z.ZodString;
32548
32546
  description: z.ZodNullable<z.ZodString>;
32549
32547
  agentId: z.ZodString;
32548
+ createdAt: z.ZodString;
32549
+ updatedAt: z.ZodString;
32550
32550
  functionId: z.ZodString;
32551
32551
  relationshipId: z.ZodOptional<z.ZodString>;
32552
32552
  }, z.core.$strip>>>;
@@ -32693,8 +32693,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32693
32693
  name: z.ZodString;
32694
32694
  createdAt: z.ZodString;
32695
32695
  updatedAt: z.ZodString;
32696
- userId: z.ZodNullable<z.ZodString>;
32697
32696
  toolId: z.ZodNullable<z.ZodString>;
32697
+ userId: z.ZodNullable<z.ZodString>;
32698
32698
  createdBy: z.ZodNullable<z.ZodString>;
32699
32699
  credentialStoreId: z.ZodString;
32700
32700
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -33288,8 +33288,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33288
33288
  data: z.ZodObject<{
33289
33289
  id: z.ZodString;
33290
33290
  name: z.ZodString;
33291
- createdAt: z.ZodString;
33292
- updatedAt: z.ZodString;
33293
33291
  description: z.ZodNullable<z.ZodString>;
33294
33292
  models: z.ZodNullable<z.ZodObject<{
33295
33293
  base: z.ZodObject<{
@@ -33309,6 +33307,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33309
33307
  transferCountIs: z.ZodOptional<z.ZodNumber>;
33310
33308
  stepCountIs: z.ZodOptional<z.ZodNumber>;
33311
33309
  }, z.core.$strip>>;
33310
+ createdAt: z.ZodString;
33311
+ updatedAt: z.ZodString;
33312
33312
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33313
33313
  createdAt: z.ZodString;
33314
33314
  updatedAt: z.ZodString;
@@ -33341,10 +33341,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33341
33341
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33342
33342
  id: z.ZodString;
33343
33343
  name: z.ZodString;
33344
- createdAt: z.ZodString;
33345
- updatedAt: z.ZodString;
33346
33344
  description: z.ZodNullable<z.ZodString>;
33347
33345
  agentId: z.ZodString;
33346
+ createdAt: z.ZodString;
33347
+ updatedAt: z.ZodString;
33348
33348
  functionId: z.ZodString;
33349
33349
  relationshipId: z.ZodOptional<z.ZodString>;
33350
33350
  }, z.core.$strip>>>;
@@ -33491,8 +33491,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33491
33491
  name: z.ZodString;
33492
33492
  createdAt: z.ZodString;
33493
33493
  updatedAt: z.ZodString;
33494
- userId: z.ZodNullable<z.ZodString>;
33495
33494
  toolId: z.ZodNullable<z.ZodString>;
33495
+ userId: z.ZodNullable<z.ZodString>;
33496
33496
  createdBy: z.ZodNullable<z.ZodString>;
33497
33497
  credentialStoreId: z.ZodString;
33498
33498
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -34080,10 +34080,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34080
34080
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
34081
34081
  id: z.ZodString;
34082
34082
  name: z.ZodString;
34083
- createdAt: z.ZodString;
34084
- updatedAt: z.ZodString;
34085
34083
  description: z.ZodNullable<z.ZodString>;
34086
34084
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
34085
+ createdAt: z.ZodString;
34086
+ updatedAt: z.ZodString;
34087
34087
  contextConfigId: z.ZodNullable<z.ZodString>;
34088
34088
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
34089
34089
  createdAt: z.ZodString;
@@ -34133,10 +34133,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34133
34133
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34134
34134
  id: z.ZodString;
34135
34135
  name: z.ZodString;
34136
- createdAt: z.ZodString;
34137
- updatedAt: z.ZodString;
34138
34136
  description: z.ZodNullable<z.ZodString>;
34139
34137
  agentId: z.ZodString;
34138
+ createdAt: z.ZodString;
34139
+ updatedAt: z.ZodString;
34140
34140
  functionId: z.ZodString;
34141
34141
  relationshipId: z.ZodOptional<z.ZodString>;
34142
34142
  }, z.core.$strip>>>;
@@ -34214,9 +34214,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34214
34214
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34215
34215
  id: z.ZodString;
34216
34216
  name: z.ZodString;
34217
- createdAt: z.ZodString;
34218
- updatedAt: z.ZodString;
34219
34217
  description: z.ZodNullable<z.ZodString>;
34218
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34220
34219
  models: z.ZodNullable<z.ZodType<{
34221
34220
  base?: {
34222
34221
  model?: string | undefined;
@@ -34279,7 +34278,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34279
34278
  }, {
34280
34279
  stepCountIs?: number | undefined;
34281
34280
  }>>>;
34282
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34281
+ createdAt: z.ZodString;
34282
+ updatedAt: z.ZodString;
34283
34283
  type: z.ZodLiteral<"internal">;
34284
34284
  canUse: z.ZodArray<z.ZodObject<{
34285
34285
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34326,9 +34326,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34326
34326
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34327
34327
  id: z.ZodString;
34328
34328
  name: z.ZodString;
34329
- createdAt: z.ZodOptional<z.ZodString>;
34330
- updatedAt: z.ZodOptional<z.ZodString>;
34331
34329
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34330
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
34332
34331
  models: z.ZodOptional<z.ZodObject<{
34333
34332
  base: z.ZodOptional<z.ZodObject<{
34334
34333
  model: z.ZodOptional<z.ZodString>;
@@ -34343,7 +34342,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34343
34342
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
34344
34343
  }, z.core.$strip>>;
34345
34344
  }, z.core.$strip>>;
34346
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
34345
+ createdAt: z.ZodOptional<z.ZodString>;
34346
+ updatedAt: z.ZodOptional<z.ZodString>;
34347
34347
  type: z.ZodLiteral<"internal">;
34348
34348
  canUse: z.ZodArray<z.ZodObject<{
34349
34349
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34380,8 +34380,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34380
34380
  id: z.ZodString;
34381
34381
  name: z.ZodString;
34382
34382
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34383
- projectId: z.ZodString;
34384
34383
  tenantId: z.ZodString;
34384
+ projectId: z.ZodString;
34385
34385
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34386
34386
  config: z.ZodObject<{
34387
34387
  type: z.ZodLiteral<"mcp">;
@@ -34420,8 +34420,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34420
34420
  id: z.ZodString;
34421
34421
  name: z.ZodString;
34422
34422
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34423
- projectId: z.ZodString;
34424
34423
  tenantId: z.ZodString;
34424
+ projectId: z.ZodString;
34425
34425
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34426
34426
  baseUrl: z.ZodURL;
34427
34427
  }>, z.core.$strip>>>;
@@ -34434,9 +34434,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34434
34434
  id: z.ZodString;
34435
34435
  name: z.ZodString;
34436
34436
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34437
- agentId: z.ZodString;
34438
- projectId: z.ZodString;
34439
34437
  tenantId: z.ZodString;
34438
+ projectId: z.ZodString;
34439
+ agentId: z.ZodString;
34440
34440
  functionId: z.ZodString;
34441
34441
  }>, z.core.$strip>>>;
34442
34442
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -34450,7 +34450,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34450
34450
  name: z.ZodString;
34451
34451
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34452
34452
  enabled: z.ZodOptional<z.ZodBoolean>;
34453
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34454
34453
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34455
34454
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34456
34455
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34458,14 +34457,15 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34458
34457
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34459
34458
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34460
34459
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34460
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34461
34461
  }, z.core.$strip>>>;
34462
34462
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
34463
34463
  name: z.ZodString;
34464
34464
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34465
34465
  enabled: z.ZodOptional<z.ZodBoolean>;
34466
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34467
34466
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34468
34467
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34468
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34469
34469
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34470
34470
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34471
34471
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34519,17 +34519,16 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34519
34519
  data: z.ZodObject<{
34520
34520
  id: z.ZodString;
34521
34521
  name: z.ZodString;
34522
- createdAt: z.ZodString;
34523
- updatedAt: z.ZodString;
34524
34522
  description: z.ZodNullable<z.ZodString>;
34525
34523
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
34524
+ createdAt: z.ZodString;
34525
+ updatedAt: z.ZodString;
34526
34526
  contextConfigId: z.ZodNullable<z.ZodString>;
34527
34527
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34528
34528
  id: z.ZodString;
34529
34529
  name: z.ZodString;
34530
- createdAt: z.ZodString;
34531
- updatedAt: z.ZodString;
34532
34530
  description: z.ZodNullable<z.ZodString>;
34531
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34533
34532
  models: z.ZodNullable<z.ZodType<{
34534
34533
  base?: {
34535
34534
  model?: string | undefined;
@@ -34592,7 +34591,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34592
34591
  }, {
34593
34592
  stepCountIs?: number | undefined;
34594
34593
  }>>>;
34595
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34594
+ createdAt: z.ZodString;
34595
+ updatedAt: z.ZodString;
34596
34596
  type: z.ZodLiteral<"internal">;
34597
34597
  canUse: z.ZodArray<z.ZodObject<{
34598
34598
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34665,10 +34665,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34665
34665
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34666
34666
  id: z.ZodString;
34667
34667
  name: z.ZodString;
34668
- createdAt: z.ZodString;
34669
- updatedAt: z.ZodString;
34670
34668
  description: z.ZodNullable<z.ZodString>;
34671
34669
  agentId: z.ZodString;
34670
+ createdAt: z.ZodString;
34671
+ updatedAt: z.ZodString;
34672
34672
  functionId: z.ZodString;
34673
34673
  relationshipId: z.ZodOptional<z.ZodString>;
34674
34674
  }, z.core.$strip>>>;
@@ -34769,8 +34769,8 @@ declare const McpToolResponse: z.ZodObject<{
34769
34769
  id: z.ZodString;
34770
34770
  name: z.ZodString;
34771
34771
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34772
- projectId: z.ZodString;
34773
34772
  tenantId: z.ZodString;
34773
+ projectId: z.ZodString;
34774
34774
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34775
34775
  config: z.ZodObject<{
34776
34776
  type: z.ZodLiteral<"mcp">;
@@ -34830,8 +34830,8 @@ declare const McpToolListResponse: z.ZodObject<{
34830
34830
  id: z.ZodString;
34831
34831
  name: z.ZodString;
34832
34832
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34833
- projectId: z.ZodString;
34834
34833
  tenantId: z.ZodString;
34834
+ projectId: z.ZodString;
34835
34835
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34836
34836
  config: z.ZodObject<{
34837
34837
  type: z.ZodLiteral<"mcp">;
@@ -35382,8 +35382,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
35382
35382
  disconnected: "disconnected";
35383
35383
  }>;
35384
35384
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
35385
- User: "User";
35386
35385
  Organization: "Organization";
35386
+ User: "User";
35387
35387
  }>;
35388
35388
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
35389
35389
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -35478,7 +35478,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35478
35478
  tableName: "work_app_github_installations";
35479
35479
  dataType: "string";
35480
35480
  columnType: "PgVarchar";
35481
- data: "User" | "Organization";
35481
+ data: "Organization" | "User";
35482
35482
  driverParam: string;
35483
35483
  notNull: true;
35484
35484
  hasDefault: false;
@@ -35491,7 +35491,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35491
35491
  generated: undefined;
35492
35492
  }, {}, {
35493
35493
  length: 20;
35494
- $type: "User" | "Organization";
35494
+ $type: "Organization" | "User";
35495
35495
  }>;
35496
35496
  status: drizzle_orm_pg_core866.PgColumn<{
35497
35497
  name: "status";
@@ -35644,7 +35644,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35644
35644
  tableName: "work_app_github_installations";
35645
35645
  dataType: "string";
35646
35646
  columnType: "PgVarchar";
35647
- data: "User" | "Organization";
35647
+ data: "Organization" | "User";
35648
35648
  driverParam: string;
35649
35649
  notNull: true;
35650
35650
  hasDefault: false;
@@ -35657,7 +35657,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35657
35657
  generated: undefined;
35658
35658
  }, {}, {
35659
35659
  length: 20;
35660
- $type: "User" | "Organization";
35660
+ $type: "Organization" | "User";
35661
35661
  }>;
35662
35662
  status: drizzle_orm_pg_core866.PgColumn<{
35663
35663
  name: "status";
@@ -35720,13 +35720,13 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35720
35720
  }, undefined>, undefined>;
35721
35721
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35722
35722
  id: z.ZodString;
35723
- accountId: z.ZodString;
35724
35723
  tenantId: z.ZodString;
35724
+ accountId: z.ZodString;
35725
35725
  installationId: z.ZodString;
35726
35726
  accountLogin: z.ZodString;
35727
35727
  accountType: z.ZodEnum<{
35728
- User: "User";
35729
35728
  Organization: "Organization";
35729
+ User: "User";
35730
35730
  }>;
35731
35731
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35732
35732
  pending: "pending";
@@ -35751,13 +35751,13 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
35751
35751
  }>, z.core.$strip>;
35752
35752
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
35753
35753
  id: z.ZodString;
35754
- accountId: z.ZodString;
35755
35754
  tenantId: z.ZodString;
35755
+ accountId: z.ZodString;
35756
35756
  installationId: z.ZodString;
35757
35757
  accountLogin: z.ZodString;
35758
35758
  accountType: z.ZodEnum<{
35759
- User: "User";
35760
35759
  Organization: "Organization";
35760
+ User: "User";
35761
35761
  }>;
35762
35762
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35763
35763
  pending: "pending";
@@ -37945,16 +37945,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"sele
37945
37945
  }, {}, {}>;
37946
37946
  }, undefined>, undefined>;
37947
37947
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
37948
- agentId: z.ZodString;
37949
37948
  projectId: z.ZodString;
37949
+ agentId: z.ZodString;
37950
37950
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37951
37951
  }, {
37952
37952
  out: {};
37953
37953
  in: {};
37954
37954
  }>;
37955
37955
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
37956
- agentId: z.ZodString;
37957
37956
  projectId: z.ZodString;
37957
+ agentId: z.ZodString;
37958
37958
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37959
37959
  agentName: z.ZodString;
37960
37960
  projectName: z.ZodOptional<z.ZodString>;
@@ -37970,8 +37970,8 @@ declare const ChannelAccessModeSchema: z.ZodEnum<{
37970
37970
  selected: "selected";
37971
37971
  }>;
37972
37972
  declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{
37973
- projectId: z.ZodString;
37974
37973
  tenantId: z.ZodString;
37974
+ projectId: z.ZodString;
37975
37975
  toolId: z.ZodString;
37976
37976
  channelAccessMode: z.ZodEnum<{
37977
37977
  all: "all";