@inkeep/agents-core 0.80.4 → 0.80.5

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 (30) hide show
  1. package/dist/auth/auth-types.d.ts +7 -0
  2. package/dist/auth/auth.js +1 -1
  3. package/dist/auth/init.js +2 -1
  4. package/dist/auth/permissions.d.ts +9 -9
  5. package/dist/data-access/manage/agents.d.ts +25 -25
  6. package/dist/data-access/manage/artifactComponents.d.ts +2 -2
  7. package/dist/data-access/manage/contextConfigs.d.ts +4 -4
  8. package/dist/data-access/manage/functionTools.d.ts +4 -4
  9. package/dist/data-access/manage/skills.d.ts +8 -8
  10. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  11. package/dist/data-access/manage/subAgentRelations.d.ts +8 -8
  12. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
  13. package/dist/data-access/manage/subAgents.d.ts +15 -15
  14. package/dist/data-access/manage/tools.d.ts +18 -18
  15. package/dist/data-access/manage/triggers.d.ts +3 -3
  16. package/dist/data-access/runtime/apiKeys.d.ts +4 -4
  17. package/dist/data-access/runtime/apps.d.ts +8 -8
  18. package/dist/data-access/runtime/conversations.d.ts +32 -32
  19. package/dist/data-access/runtime/events.d.ts +4 -4
  20. package/dist/data-access/runtime/feedback.d.ts +4 -4
  21. package/dist/data-access/runtime/messages.d.ts +24 -24
  22. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +5 -5
  23. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  24. package/dist/data-access/runtime/tasks.d.ts +5 -5
  25. package/dist/db/manage/manage-schema.d.ts +401 -401
  26. package/dist/db/runtime/runtime-schema.d.ts +420 -420
  27. package/dist/setup/setup.js +4 -0
  28. package/dist/validation/schemas/skills.d.ts +36 -36
  29. package/dist/validation/schemas.d.ts +496 -496
  30. package/package.json +4 -4
@@ -848,7 +848,10 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
848
848
  declare const SubAgentApiSelectSchema: z.ZodObject<{
849
849
  id: z.ZodString;
850
850
  name: z.ZodString;
851
+ createdAt: z.ZodString;
852
+ updatedAt: z.ZodString;
851
853
  description: z.ZodNullable<z.ZodString>;
854
+ prompt: z.ZodNullable<z.ZodString>;
852
855
  models: z.ZodNullable<z.ZodType<{
853
856
  base?: {
854
857
  model?: string | undefined;
@@ -935,9 +938,6 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
935
938
  }, {
936
939
  stepCountIs?: number | undefined;
937
940
  }>>>;
938
- createdAt: z.ZodString;
939
- updatedAt: z.ZodString;
940
- prompt: z.ZodNullable<z.ZodString>;
941
941
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
942
942
  outputContract: z.ZodNullable<z.ZodType<{
943
943
  [x: string]: unknown;
@@ -976,7 +976,10 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
976
976
  declare const SubAgentApiInsertSchema: z.ZodObject<{
977
977
  id: z.ZodString;
978
978
  name: z.ZodString;
979
+ createdAt: z.ZodOptional<z.ZodString>;
980
+ updatedAt: z.ZodOptional<z.ZodString>;
979
981
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
982
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
980
983
  models: z.ZodOptional<z.ZodObject<{
981
984
  base: z.ZodOptional<z.ZodObject<{
982
985
  model: z.ZodOptional<z.ZodString>;
@@ -1006,9 +1009,6 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
1006
1009
  }, {
1007
1010
  stepCountIs?: number | undefined;
1008
1011
  }>>>>;
1009
- createdAt: z.ZodOptional<z.ZodString>;
1010
- updatedAt: z.ZodOptional<z.ZodString>;
1011
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1012
1012
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
1013
1013
  outputContract: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1014
1014
  allowText: z.ZodOptional<z.ZodBoolean>;
@@ -1026,7 +1026,10 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
1026
1026
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
1027
1027
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1028
1028
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1029
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1030
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1029
1031
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
1032
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
1030
1033
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
1031
1034
  base: z.ZodOptional<z.ZodObject<{
1032
1035
  model: z.ZodOptional<z.ZodString>;
@@ -1056,9 +1059,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
1056
1059
  }, {
1057
1060
  stepCountIs?: number | undefined;
1058
1061
  }>>>>>>;
1059
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1060
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1061
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
1062
1062
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
1063
1063
  outputContract: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1064
1064
  allowText: z.ZodOptional<z.ZodBoolean>;
@@ -2828,7 +2828,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2828
2828
  }, {}, {
2829
2829
  length: 256;
2830
2830
  }>;
2831
- }, "id" | "name" | "description" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2831
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "prompt" | "tenantId" | "projectId" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2832
2832
  declare const AgentUpdateSchema: z.ZodObject<{
2833
2833
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2834
2834
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2991,7 +2991,10 @@ declare const AgentUpdateSchema: z.ZodObject<{
2991
2991
  declare const AgentApiSelectSchema: z.ZodObject<{
2992
2992
  id: z.ZodString;
2993
2993
  name: z.ZodString;
2994
+ createdAt: z.ZodString;
2995
+ updatedAt: z.ZodString;
2994
2996
  description: z.ZodNullable<z.ZodString>;
2997
+ prompt: z.ZodNullable<z.ZodString>;
2995
2998
  models: z.ZodNullable<z.ZodType<{
2996
2999
  base?: {
2997
3000
  model?: string | undefined;
@@ -3078,11 +3081,8 @@ declare const AgentApiSelectSchema: z.ZodObject<{
3078
3081
  }, {
3079
3082
  transferCountIs?: number | undefined;
3080
3083
  }>>>;
3081
- createdAt: z.ZodString;
3082
- updatedAt: z.ZodString;
3083
3084
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
3084
3085
  contextConfigId: z.ZodNullable<z.ZodString>;
3085
- prompt: z.ZodNullable<z.ZodString>;
3086
3086
  statusUpdates: z.ZodNullable<z.ZodType<{
3087
3087
  enabled?: boolean | undefined;
3088
3088
  numEvents?: number | undefined;
@@ -3146,6 +3146,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
3146
3146
  id: z.ZodString;
3147
3147
  name: z.ZodString;
3148
3148
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3149
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3149
3150
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
3150
3151
  base?: {
3151
3152
  model?: string | undefined;
@@ -3234,7 +3235,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
3234
3235
  }>>>>;
3235
3236
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3236
3237
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3237
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3238
3238
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
3239
3239
  enabled?: boolean | undefined;
3240
3240
  numEvents?: number | undefined;
@@ -3297,6 +3297,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
3297
3297
  declare const AgentApiUpdateSchema: z.ZodObject<{
3298
3298
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3299
3299
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3300
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3300
3301
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3301
3302
  base?: {
3302
3303
  model?: string | undefined;
@@ -3385,7 +3386,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3385
3386
  }>>>>>>;
3386
3387
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3387
3388
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3388
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3389
3389
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3390
3390
  enabled?: boolean | undefined;
3391
3391
  numEvents?: number | undefined;
@@ -3510,8 +3510,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3510
3510
  declare const SignatureSourceSchema: z.ZodObject<{
3511
3511
  source: z.ZodEnum<{
3512
3512
  query: "query";
3513
- header: "header";
3514
3513
  body: "body";
3514
+ header: "header";
3515
3515
  }>;
3516
3516
  key: z.ZodString;
3517
3517
  prefix: z.ZodOptional<z.ZodString>;
@@ -3540,8 +3540,8 @@ declare const SignatureSourceSchema: z.ZodObject<{
3540
3540
  declare const SignedComponentSchema: z.ZodObject<{
3541
3541
  source: z.ZodEnum<{
3542
3542
  literal: "literal";
3543
- header: "header";
3544
3543
  body: "body";
3544
+ header: "header";
3545
3545
  }>;
3546
3546
  key: z.ZodOptional<z.ZodString>;
3547
3547
  value: z.ZodOptional<z.ZodString>;
@@ -3650,8 +3650,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3650
3650
  signature: z.ZodObject<{
3651
3651
  source: z.ZodEnum<{
3652
3652
  query: "query";
3653
- header: "header";
3654
3653
  body: "body";
3654
+ header: "header";
3655
3655
  }>;
3656
3656
  key: z.ZodString;
3657
3657
  prefix: z.ZodOptional<z.ZodString>;
@@ -3660,8 +3660,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3660
3660
  signedComponents: z.ZodArray<z.ZodObject<{
3661
3661
  source: z.ZodEnum<{
3662
3662
  literal: "literal";
3663
- header: "header";
3664
3663
  body: "body";
3664
+ header: "header";
3665
3665
  }>;
3666
3666
  key: z.ZodOptional<z.ZodString>;
3667
3667
  value: z.ZodOptional<z.ZodString>;
@@ -3712,8 +3712,8 @@ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3712
3712
  */
3713
3713
  type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3714
3714
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3715
- success: "success";
3716
3715
  pending: "pending";
3716
+ success: "success";
3717
3717
  failed: "failed";
3718
3718
  }>;
3719
3719
  declare const maxWebhookDispatchDelayMs = 600000;
@@ -3747,8 +3747,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3747
3747
  signature: z.ZodObject<{
3748
3748
  source: z.ZodEnum<{
3749
3749
  query: "query";
3750
- header: "header";
3751
3750
  body: "body";
3751
+ header: "header";
3752
3752
  }>;
3753
3753
  key: z.ZodString;
3754
3754
  prefix: z.ZodOptional<z.ZodString>;
@@ -3757,8 +3757,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3757
3757
  signedComponents: z.ZodArray<z.ZodObject<{
3758
3758
  source: z.ZodEnum<{
3759
3759
  literal: "literal";
3760
- header: "header";
3761
3760
  body: "body";
3761
+ header: "header";
3762
3762
  }>;
3763
3763
  key: z.ZodOptional<z.ZodString>;
3764
3764
  value: z.ZodOptional<z.ZodString>;
@@ -3944,13 +3944,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3944
3944
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3945
3945
  encoding: "hex" | "base64";
3946
3946
  signature: {
3947
- source: "query" | "header" | "body";
3947
+ source: "query" | "body" | "header";
3948
3948
  key: string;
3949
3949
  prefix?: string | undefined;
3950
3950
  regex?: string | undefined;
3951
3951
  };
3952
3952
  signedComponents: {
3953
- source: "literal" | "header" | "body";
3953
+ source: "literal" | "body" | "header";
3954
3954
  required: boolean;
3955
3955
  key?: string | undefined;
3956
3956
  value?: string | undefined;
@@ -3981,13 +3981,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3981
3981
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3982
3982
  encoding: "hex" | "base64";
3983
3983
  signature: {
3984
- source: "query" | "header" | "body";
3984
+ source: "query" | "body" | "header";
3985
3985
  key: string;
3986
3986
  prefix?: string | undefined;
3987
3987
  regex?: string | undefined;
3988
3988
  };
3989
3989
  signedComponents: {
3990
- source: "literal" | "header" | "body";
3990
+ source: "literal" | "body" | "header";
3991
3991
  required: boolean;
3992
3992
  key?: string | undefined;
3993
3993
  value?: string | undefined;
@@ -4331,13 +4331,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4331
4331
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
4332
4332
  encoding: "hex" | "base64";
4333
4333
  signature: {
4334
- source: "query" | "header" | "body";
4334
+ source: "query" | "body" | "header";
4335
4335
  key: string;
4336
4336
  prefix?: string | undefined;
4337
4337
  regex?: string | undefined;
4338
4338
  };
4339
4339
  signedComponents: {
4340
- source: "literal" | "header" | "body";
4340
+ source: "literal" | "body" | "header";
4341
4341
  required: boolean;
4342
4342
  key?: string | undefined;
4343
4343
  value?: string | undefined;
@@ -4368,13 +4368,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4368
4368
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
4369
4369
  encoding: "hex" | "base64";
4370
4370
  signature: {
4371
- source: "query" | "header" | "body";
4371
+ source: "query" | "body" | "header";
4372
4372
  key: string;
4373
4373
  prefix?: string | undefined;
4374
4374
  regex?: string | undefined;
4375
4375
  };
4376
4376
  signedComponents: {
4377
- source: "literal" | "header" | "body";
4377
+ source: "literal" | "body" | "header";
4378
4378
  required: boolean;
4379
4379
  key?: string | undefined;
4380
4380
  value?: string | undefined;
@@ -4558,7 +4558,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4558
4558
  }, {}, {
4559
4559
  length: 256;
4560
4560
  }>;
4561
- }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "enabled" | "agentId" | "createdBy" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "dispatchDelayMs">, undefined>, undefined>;
4561
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "tenantId" | "projectId" | "createdBy" | "inputSchema" | "agentId" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "dispatchDelayMs">, undefined>, undefined>;
4562
4562
  declare const runAsUserIdsSchema: z.ZodOptional<z.ZodArray<z.ZodString>>;
4563
4563
  declare const TriggerUpdateSchema: z.ZodObject<{
4564
4564
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4592,9 +4592,9 @@ declare const TriggerUpdateSchema: z.ZodObject<{
4592
4592
  declare const TriggerApiSelectSchema: z.ZodObject<{
4593
4593
  id: z.ZodString;
4594
4594
  name: z.ZodString;
4595
- description: z.ZodNullable<z.ZodString>;
4596
4595
  createdAt: z.ZodString;
4597
4596
  updatedAt: z.ZodString;
4597
+ description: z.ZodNullable<z.ZodString>;
4598
4598
  enabled: z.ZodBoolean;
4599
4599
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4600
4600
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -4617,8 +4617,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<{
4617
4617
  signature: z.ZodObject<{
4618
4618
  source: z.ZodEnum<{
4619
4619
  query: "query";
4620
- header: "header";
4621
4620
  body: "body";
4621
+ header: "header";
4622
4622
  }>;
4623
4623
  key: z.ZodString;
4624
4624
  prefix: z.ZodOptional<z.ZodString>;
@@ -4627,8 +4627,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<{
4627
4627
  signedComponents: z.ZodArray<z.ZodObject<{
4628
4628
  source: z.ZodEnum<{
4629
4629
  literal: "literal";
4630
- header: "header";
4631
4630
  body: "body";
4631
+ header: "header";
4632
4632
  }>;
4633
4633
  key: z.ZodOptional<z.ZodString>;
4634
4634
  value: z.ZodOptional<z.ZodString>;
@@ -4685,9 +4685,9 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4685
4685
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4686
4686
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4687
4687
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4688
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4689
4688
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4690
4689
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4690
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4691
4691
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4692
4692
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4693
4693
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
@@ -4709,9 +4709,9 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4709
4709
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4710
4710
  id: z.ZodString;
4711
4711
  name: z.ZodString;
4712
- description: z.ZodNullable<z.ZodString>;
4713
4712
  createdAt: z.ZodString;
4714
4713
  updatedAt: z.ZodString;
4714
+ description: z.ZodNullable<z.ZodString>;
4715
4715
  enabled: z.ZodBoolean;
4716
4716
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4717
4717
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -4734,8 +4734,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4734
4734
  signature: z.ZodObject<{
4735
4735
  source: z.ZodEnum<{
4736
4736
  query: "query";
4737
- header: "header";
4738
4737
  body: "body";
4738
+ header: "header";
4739
4739
  }>;
4740
4740
  key: z.ZodString;
4741
4741
  prefix: z.ZodOptional<z.ZodString>;
@@ -4744,8 +4744,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4744
4744
  signedComponents: z.ZodArray<z.ZodObject<{
4745
4745
  source: z.ZodEnum<{
4746
4746
  literal: "literal";
4747
- header: "header";
4748
4747
  body: "body";
4748
+ header: "header";
4749
4749
  }>;
4750
4750
  key: z.ZodOptional<z.ZodString>;
4751
4751
  value: z.ZodOptional<z.ZodString>;
@@ -5331,7 +5331,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
5331
5331
  }, {}, {
5332
5332
  length: 256;
5333
5333
  }>;
5334
- }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "runAsUserId" | "ref" | "status" | "triggerId" | "conversationId" | "batchId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5334
+ }, "id" | "createdAt" | "ref" | "status" | "tenantId" | "projectId" | "agentId" | "runAsUserId" | "triggerId" | "conversationId" | "batchId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5335
5335
  declare const SetTriggerUsersRequestSchema: z.ZodObject<{
5336
5336
  userIds: z.ZodArray<z.ZodString>;
5337
5337
  }, z.core.$strip>;
@@ -5379,7 +5379,6 @@ declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5379
5379
  declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5380
5380
  id: z.ZodString;
5381
5381
  createdAt: z.ZodString;
5382
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5383
5382
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5384
5383
  type: z.ZodEnum<{
5385
5384
  commit: "commit";
@@ -5390,6 +5389,7 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5390
5389
  hash: z.ZodString;
5391
5390
  }, z.core.$strip>>>;
5392
5391
  status: z.ZodString;
5392
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5393
5393
  triggerId: z.ZodString;
5394
5394
  conversationId: z.ZodNullable<z.ZodString>;
5395
5395
  batchId: z.ZodNullable<z.ZodString>;
@@ -5399,7 +5399,6 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5399
5399
  }, z.core.$strip>;
5400
5400
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5401
5401
  createdAt: z.ZodOptional<z.ZodString>;
5402
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5403
5402
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
5404
5403
  type: "commit" | "tag" | "branch";
5405
5404
  name: string;
@@ -5418,6 +5417,7 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5418
5417
  hash: string;
5419
5418
  }>>>>;
5420
5419
  status: z.ZodOptional<z.ZodString>;
5420
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5421
5421
  triggerId: z.ZodString;
5422
5422
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5423
5423
  batchId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5429,7 +5429,6 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5429
5429
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5430
5430
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5431
5431
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5432
- runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5433
5432
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
5434
5433
  type: "commit" | "tag" | "branch";
5435
5434
  name: string;
@@ -5448,6 +5447,7 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5448
5447
  hash: string;
5449
5448
  }>>>>>>;
5450
5449
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5450
+ runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5451
5451
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5452
5452
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5453
5453
  batchId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5993,7 +5993,7 @@ declare const WebhookDestinationInsertSchema: drizzle_zod19.BuildSchema<"insert"
5993
5993
  }, {}, {
5994
5994
  length: 256;
5995
5995
  }>;
5996
- }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "enabled" | "headers" | "url" | "slackChannelId" | "eventTypes">, undefined>, undefined>;
5996
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "headers" | "url" | "tenantId" | "projectId" | "slackChannelId" | "eventTypes">, undefined>, undefined>;
5997
5997
  declare const WebhookDestinationUpdateSchema: z.ZodObject<{
5998
5998
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5999
5999
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6014,9 +6014,9 @@ declare const WebhookDestinationUpdateSchema: z.ZodObject<{
6014
6014
  declare const WebhookDestinationApiSelectSchema: z.ZodObject<{
6015
6015
  id: z.ZodString;
6016
6016
  name: z.ZodString;
6017
- description: z.ZodNullable<z.ZodString>;
6018
6017
  createdAt: z.ZodString;
6019
6018
  updatedAt: z.ZodString;
6019
+ description: z.ZodNullable<z.ZodString>;
6020
6020
  enabled: z.ZodBoolean;
6021
6021
  headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
6022
6022
  url: z.ZodNullable<z.ZodString>;
@@ -6050,9 +6050,9 @@ declare const WebhookDestinationApiInsertSchema: z.ZodObject<{
6050
6050
  declare const WebhookDestinationApiUpdateSchema: z.ZodObject<{
6051
6051
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6052
6052
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6053
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6054
6053
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6055
6054
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6055
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6056
6056
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
6057
6057
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
6058
6058
  url: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -6065,9 +6065,9 @@ declare const WebhookDestinationResponse: z.ZodObject<{
6065
6065
  data: z.ZodObject<{
6066
6066
  id: z.ZodString;
6067
6067
  name: z.ZodString;
6068
- description: z.ZodNullable<z.ZodString>;
6069
6068
  createdAt: z.ZodString;
6070
6069
  updatedAt: z.ZodString;
6070
+ description: z.ZodNullable<z.ZodString>;
6071
6071
  enabled: z.ZodBoolean;
6072
6072
  headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
6073
6073
  url: z.ZodNullable<z.ZodString>;
@@ -6091,9 +6091,9 @@ declare const WebhookDestinationListResponse: z.ZodObject<{
6091
6091
  data: z.ZodArray<z.ZodObject<{
6092
6092
  id: z.ZodString;
6093
6093
  name: z.ZodString;
6094
- description: z.ZodNullable<z.ZodString>;
6095
6094
  createdAt: z.ZodString;
6096
6095
  updatedAt: z.ZodString;
6096
+ description: z.ZodNullable<z.ZodString>;
6097
6097
  enabled: z.ZodBoolean;
6098
6098
  headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
6099
6099
  url: z.ZodNullable<z.ZodString>;
@@ -6157,23 +6157,23 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
6157
6157
  declare const ScheduledTriggerInsertSchema: z.ZodObject<{
6158
6158
  id: z.ZodString;
6159
6159
  name: z.ZodString;
6160
+ ref: z.ZodOptional<z.ZodString>;
6160
6161
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6162
+ enabled: z.ZodOptional<z.ZodBoolean>;
6161
6163
  tenantId: z.ZodString;
6162
6164
  projectId: z.ZodString;
6163
- enabled: z.ZodOptional<z.ZodBoolean>;
6164
- agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6165
6165
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6166
+ agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6166
6167
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6167
6168
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6168
6169
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6169
- ref: z.ZodOptional<z.ZodString>;
6170
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6170
6171
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6171
6172
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6172
6173
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6173
6174
  maxRetries: z.ZodOptional<z.ZodInt>;
6174
6175
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
6175
6176
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
6176
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6177
6177
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6178
6178
  }, {
6179
6179
  out: {};
@@ -6185,14 +6185,14 @@ declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
6185
6185
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6186
6186
  tenantId: z.ZodOptional<z.ZodString>;
6187
6187
  projectId: z.ZodOptional<z.ZodString>;
6188
- agentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6189
6188
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6189
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6190
6190
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6191
6191
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6192
6192
  dispatchDelayMs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>;
6193
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6193
6194
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6194
6195
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6195
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6196
6196
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
6197
6197
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
6198
6198
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -6207,16 +6207,17 @@ declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
6207
6207
  declare const ScheduledTriggerApiSelectSchema: z.ZodObject<{
6208
6208
  id: z.ZodString;
6209
6209
  name: z.ZodString;
6210
- description: z.ZodNullable<z.ZodString>;
6211
6210
  createdAt: z.ZodString;
6212
6211
  updatedAt: z.ZodString;
6212
+ ref: z.ZodString;
6213
+ description: z.ZodNullable<z.ZodString>;
6213
6214
  enabled: z.ZodBoolean;
6215
+ payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6214
6216
  createdBy: z.ZodNullable<z.ZodString>;
6215
6217
  messageTemplate: z.ZodNullable<z.ZodString>;
6216
6218
  runAsUserId: z.ZodNullable<z.ZodString>;
6217
6219
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
6218
- ref: z.ZodString;
6219
- payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6220
+ datasetRunConfigId: z.ZodNullable<z.ZodString>;
6220
6221
  cronExpression: z.ZodNullable<z.ZodString>;
6221
6222
  cronTimezone: z.ZodNullable<z.ZodString>;
6222
6223
  runAt: z.ZodNullable<z.ZodString>;
@@ -6224,44 +6225,43 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<{
6224
6225
  retryDelaySeconds: z.ZodInt;
6225
6226
  timeoutSeconds: z.ZodInt;
6226
6227
  nextRunAt: z.ZodNullable<z.ZodString>;
6227
- datasetRunConfigId: z.ZodNullable<z.ZodString>;
6228
6228
  }, z.core.$strip>;
6229
6229
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
6230
6230
  name: z.ZodString;
6231
+ ref: z.ZodOptional<z.ZodString>;
6231
6232
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6232
6233
  enabled: z.ZodOptional<z.ZodBoolean>;
6234
+ payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6233
6235
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6234
6236
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6235
6237
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6236
- ref: z.ZodOptional<z.ZodString>;
6237
- payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6238
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6238
6239
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6239
6240
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6240
6241
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6241
6242
  maxRetries: z.ZodOptional<z.ZodInt>;
6242
6243
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
6243
6244
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
6244
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6245
6245
  id: z.ZodOptional<z.ZodString>;
6246
6246
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6247
6247
  dispatchDelayMs: z.ZodOptional<z.ZodNumber>;
6248
6248
  }, z.core.$strip>;
6249
6249
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
6250
6250
  name: z.ZodString;
6251
+ ref: z.ZodOptional<z.ZodString>;
6251
6252
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6252
6253
  enabled: z.ZodOptional<z.ZodBoolean>;
6254
+ payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6253
6255
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6254
6256
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6255
6257
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6256
- ref: z.ZodOptional<z.ZodString>;
6257
- payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6258
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6258
6259
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6259
6260
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6260
6261
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6261
6262
  maxRetries: z.ZodOptional<z.ZodInt>;
6262
6263
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
6263
6264
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
6264
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6265
6265
  id: z.ZodOptional<z.ZodString>;
6266
6266
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6267
6267
  dispatchDelayMs: z.ZodOptional<z.ZodNumber>;
@@ -6269,20 +6269,20 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
6269
6269
  declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
6270
6270
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6271
6271
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6272
+ ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6272
6273
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6273
6274
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
6275
+ payload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
6274
6276
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6275
6277
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6276
6278
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6277
- ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6278
- payload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
6279
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6279
6280
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6280
6281
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6281
6282
  runAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6282
6283
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
6283
6284
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
6284
6285
  timeoutSeconds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
6285
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6286
6286
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6287
6287
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6288
6288
  }, z.core.$strip>;
@@ -6297,9 +6297,9 @@ declare const ScheduledTriggerUsersResponseSchema: z.ZodObject<{
6297
6297
  }, z.core.$strip>;
6298
6298
  declare const ScheduledTriggerInvocationStatusEnum: z.ZodEnum<{
6299
6299
  pending: "pending";
6300
- failed: "failed";
6301
6300
  running: "running";
6302
6301
  completed: "completed";
6302
+ failed: "failed";
6303
6303
  cancelled: "cancelled";
6304
6304
  }>;
6305
6305
  declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
@@ -6328,9 +6328,9 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6328
6328
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6329
6329
  status: z.ZodEnum<{
6330
6330
  pending: "pending";
6331
- failed: "failed";
6332
6331
  running: "running";
6333
6332
  completed: "completed";
6333
+ failed: "failed";
6334
6334
  cancelled: "cancelled";
6335
6335
  }>;
6336
6336
  }, {
@@ -6389,7 +6389,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6389
6389
  tableName: "scheduled_trigger_invocations";
6390
6390
  dataType: "string";
6391
6391
  columnType: "PgVarchar";
6392
- data: "pending" | "failed" | "running" | "completed" | "cancelled";
6392
+ data: "pending" | "running" | "completed" | "failed" | "cancelled";
6393
6393
  driverParam: string;
6394
6394
  notNull: true;
6395
6395
  hasDefault: false;
@@ -6402,7 +6402,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6402
6402
  generated: undefined;
6403
6403
  }, {}, {
6404
6404
  length: 50;
6405
- $type: "pending" | "failed" | "running" | "completed" | "cancelled";
6405
+ $type: "pending" | "running" | "completed" | "failed" | "cancelled";
6406
6406
  }>;
6407
6407
  scheduledFor: drizzle_orm_pg_core297.PgColumn<{
6408
6408
  name: "scheduled_for";
@@ -6693,7 +6693,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6693
6693
  tableName: "scheduled_trigger_invocations";
6694
6694
  dataType: "string";
6695
6695
  columnType: "PgVarchar";
6696
- data: "pending" | "failed" | "running" | "completed" | "cancelled";
6696
+ data: "pending" | "running" | "completed" | "failed" | "cancelled";
6697
6697
  driverParam: string;
6698
6698
  notNull: true;
6699
6699
  hasDefault: false;
@@ -6706,7 +6706,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6706
6706
  generated: undefined;
6707
6707
  }, {}, {
6708
6708
  length: 50;
6709
- $type: "pending" | "failed" | "running" | "completed" | "cancelled";
6709
+ $type: "pending" | "running" | "completed" | "failed" | "cancelled";
6710
6710
  }>;
6711
6711
  scheduledFor: drizzle_orm_pg_core297.PgColumn<{
6712
6712
  name: "scheduled_for";
@@ -6945,7 +6945,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6945
6945
  }, {}, {
6946
6946
  length: 256;
6947
6947
  }>;
6948
- }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "runAsUserId" | "ref" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6948
+ }, "id" | "createdAt" | "ref" | "status" | "tenantId" | "projectId" | "agentId" | "runAsUserId" | "conversationIds" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6949
6949
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6950
6950
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
6951
6951
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -6986,7 +6986,6 @@ declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6986
6986
  declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
6987
6987
  id: z.ZodString;
6988
6988
  createdAt: z.ZodString;
6989
- runAsUserId: z.ZodNullable<z.ZodString>;
6990
6989
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6991
6990
  type: z.ZodEnum<{
6992
6991
  commit: "commit";
@@ -6998,23 +6997,23 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
6998
6997
  }, z.core.$strip>>>;
6999
6998
  status: z.ZodEnum<{
7000
6999
  pending: "pending";
7001
- failed: "failed";
7002
7000
  running: "running";
7003
7001
  completed: "completed";
7002
+ failed: "failed";
7004
7003
  cancelled: "cancelled";
7005
7004
  }>;
7005
+ runAsUserId: z.ZodNullable<z.ZodString>;
7006
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
7006
7007
  scheduledTriggerId: z.ZodString;
7007
7008
  scheduledFor: z.ZodString;
7008
7009
  startedAt: z.ZodNullable<z.ZodString>;
7009
7010
  completedAt: z.ZodNullable<z.ZodString>;
7010
7011
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
7011
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
7012
7012
  attemptNumber: z.ZodInt;
7013
7013
  idempotencyKey: z.ZodString;
7014
7014
  }, z.core.$strip>;
7015
7015
  declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7016
7016
  createdAt: z.ZodOptional<z.ZodString>;
7017
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7018
7017
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
7019
7018
  type: "commit" | "tag" | "branch";
7020
7019
  name: string;
@@ -7033,12 +7032,13 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7033
7032
  hash: string;
7034
7033
  }>>>>;
7035
7034
  status: z.ZodString;
7035
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7036
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7036
7037
  scheduledTriggerId: z.ZodString;
7037
7038
  scheduledFor: z.ZodString;
7038
7039
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7039
7040
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7040
7041
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
7041
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7042
7042
  attemptNumber: z.ZodOptional<z.ZodInt>;
7043
7043
  idempotencyKey: z.ZodString;
7044
7044
  id: z.ZodString;
@@ -7046,7 +7046,6 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7046
7046
  declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7047
7047
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7048
7048
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7049
- runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7050
7049
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
7051
7050
  type: "commit" | "tag" | "branch";
7052
7051
  name: string;
@@ -7065,12 +7064,13 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7065
7064
  hash: string;
7066
7065
  }>>>>>>;
7067
7066
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7067
+ runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7068
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7068
7069
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7069
7070
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7070
7071
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7071
7072
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7072
7073
  resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
7073
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7074
7074
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
7075
7075
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7076
7076
  }, z.core.$strip>;
@@ -7300,9 +7300,6 @@ declare const TaskApiSelectSchema: z.ZodObject<{
7300
7300
  id: z.ZodString;
7301
7301
  createdAt: z.ZodString;
7302
7302
  updatedAt: z.ZodString;
7303
- metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
7304
- agentId: z.ZodString;
7305
- subAgentId: z.ZodString;
7306
7303
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7307
7304
  type: z.ZodEnum<{
7308
7305
  commit: "commit";
@@ -7312,16 +7309,16 @@ declare const TaskApiSelectSchema: z.ZodObject<{
7312
7309
  name: z.ZodString;
7313
7310
  hash: z.ZodString;
7314
7311
  }, z.core.$strip>>>;
7312
+ metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
7315
7313
  status: z.ZodString;
7314
+ agentId: z.ZodString;
7315
+ subAgentId: z.ZodString;
7316
7316
  contextId: z.ZodString;
7317
7317
  }, z.core.$strip>;
7318
7318
  declare const TaskApiInsertSchema: z.ZodObject<{
7319
7319
  id: z.ZodString;
7320
7320
  createdAt: z.ZodOptional<z.ZodString>;
7321
7321
  updatedAt: z.ZodOptional<z.ZodString>;
7322
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
7323
- agentId: z.ZodString;
7324
- subAgentId: z.ZodString;
7325
7322
  ref: z.ZodObject<{
7326
7323
  type: z.ZodEnum<{
7327
7324
  commit: "commit";
@@ -7331,17 +7328,17 @@ declare const TaskApiInsertSchema: z.ZodObject<{
7331
7328
  name: z.ZodString;
7332
7329
  hash: z.ZodString;
7333
7330
  }, z.core.$strip>;
7331
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
7334
7332
  status: z.ZodString;
7335
- conversationId: z.ZodOptional<z.ZodString>;
7333
+ agentId: z.ZodString;
7334
+ subAgentId: z.ZodString;
7336
7335
  contextId: z.ZodString;
7336
+ conversationId: z.ZodOptional<z.ZodString>;
7337
7337
  }, z.core.$strip>;
7338
7338
  declare const TaskApiUpdateSchema: z.ZodObject<{
7339
7339
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7340
7340
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7341
7341
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7342
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7343
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7344
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7345
7342
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7346
7343
  type: z.ZodEnum<{
7347
7344
  commit: "commit";
@@ -7351,9 +7348,12 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
7351
7348
  name: z.ZodString;
7352
7349
  hash: z.ZodString;
7353
7350
  }, z.core.$strip>>>;
7351
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7354
7352
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7355
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7353
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7354
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7356
7355
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7356
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7357
7357
  }, z.core.$strip>;
7358
7358
  declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
7359
7359
  createdAt: drizzle_orm_pg_core297.PgColumn<{
@@ -8291,9 +8291,9 @@ declare const ToolInsertSchema: z.ZodObject<{
8291
8291
  id: z.ZodString;
8292
8292
  name: z.ZodString;
8293
8293
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8294
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
8294
8295
  tenantId: z.ZodString;
8295
8296
  projectId: z.ZodString;
8296
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
8297
8297
  config: z.ZodObject<{
8298
8298
  type: z.ZodLiteral<"mcp">;
8299
8299
  mcp: z.ZodObject<{
@@ -8415,13 +8415,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
8415
8415
  }>;
8416
8416
  declare const ConversationApiSelectSchema: z.ZodObject<{
8417
8417
  id: z.ZodString;
8418
- properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8419
- title: z.ZodNullable<z.ZodString>;
8420
8418
  createdAt: z.ZodString;
8421
8419
  updatedAt: z.ZodString;
8422
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
8423
- agentId: z.ZodNullable<z.ZodString>;
8424
- userId: z.ZodNullable<z.ZodString>;
8425
8420
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8426
8421
  type: z.ZodEnum<{
8427
8422
  commit: "commit";
@@ -8431,20 +8426,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
8431
8426
  name: z.ZodString;
8432
8427
  hash: z.ZodString;
8433
8428
  }, z.core.$strip>>>;
8434
- userProperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8429
+ userId: z.ZodNullable<z.ZodString>;
8430
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
8431
+ properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8432
+ title: z.ZodNullable<z.ZodString>;
8433
+ agentId: z.ZodNullable<z.ZodString>;
8435
8434
  activeSubAgentId: z.ZodString;
8436
8435
  lastContextResolution: z.ZodNullable<z.ZodString>;
8436
+ userProperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8437
8437
  }, z.core.$strip>;
8438
8438
  declare const ConversationApiInsertSchema: z.ZodObject<{
8439
8439
  id: z.ZodString;
8440
- properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8441
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8442
8440
  createdAt: z.ZodOptional<z.ZodString>;
8443
8441
  updatedAt: z.ZodOptional<z.ZodString>;
8444
- contextConfigId: z.ZodOptional<z.ZodString>;
8445
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
8446
- agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8447
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8448
8442
  ref: z.ZodObject<{
8449
8443
  type: z.ZodEnum<{
8450
8444
  commit: "commit";
@@ -8454,20 +8448,20 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
8454
8448
  name: z.ZodString;
8455
8449
  hash: z.ZodString;
8456
8450
  }, z.core.$strip>;
8457
- userProperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8451
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8452
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
8453
+ properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8454
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8455
+ contextConfigId: z.ZodOptional<z.ZodString>;
8456
+ agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8458
8457
  activeSubAgentId: z.ZodString;
8459
8458
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8459
+ userProperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8460
8460
  }, z.core.$strip>;
8461
8461
  declare const ConversationApiUpdateSchema: z.ZodObject<{
8462
8462
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8463
- properties: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
8464
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8465
8463
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8466
8464
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8467
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8468
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
8469
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8470
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8471
8465
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8472
8466
  type: z.ZodEnum<{
8473
8467
  commit: "commit";
@@ -8477,9 +8471,15 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
8477
8471
  name: z.ZodString;
8478
8472
  hash: z.ZodString;
8479
8473
  }, z.core.$strip>>>;
8480
- userProperties: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
8474
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8475
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
8476
+ properties: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
8477
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8478
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8479
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8481
8480
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8482
8481
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8482
+ userProperties: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
8483
8483
  }, z.core.$strip>;
8484
8484
  declare const MessageSelectSchema: z.ZodObject<{
8485
8485
  createdAt: z.ZodString;
@@ -8567,71 +8567,71 @@ declare const MessageUpdateSchema: z.ZodObject<{
8567
8567
  }>;
8568
8568
  declare const MessageApiSelectSchema: z.ZodObject<{
8569
8569
  id: z.ZodString;
8570
- properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8571
8570
  createdAt: z.ZodString;
8572
8571
  updatedAt: z.ZodString;
8573
8572
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
8574
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8575
8573
  role: z.ZodString;
8574
+ properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8575
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8576
+ userProperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8577
+ conversationId: z.ZodString;
8576
8578
  fromSubAgentId: z.ZodNullable<z.ZodString>;
8577
8579
  toSubAgentId: z.ZodNullable<z.ZodString>;
8578
8580
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
8579
8581
  toExternalAgentId: z.ZodNullable<z.ZodString>;
8580
- taskId: z.ZodNullable<z.ZodString>;
8581
- a2aTaskId: z.ZodNullable<z.ZodString>;
8582
- conversationId: z.ZodString;
8583
- userProperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8584
8582
  fromTeamAgentId: z.ZodNullable<z.ZodString>;
8585
8583
  toTeamAgentId: z.ZodNullable<z.ZodString>;
8586
8584
  visibility: z.ZodString;
8587
8585
  messageType: z.ZodString;
8586
+ taskId: z.ZodNullable<z.ZodString>;
8588
8587
  parentMessageId: z.ZodNullable<z.ZodString>;
8588
+ a2aTaskId: z.ZodNullable<z.ZodString>;
8589
8589
  a2aSessionId: z.ZodNullable<z.ZodString>;
8590
8590
  }, z.core.$strip>;
8591
8591
  declare const MessageApiInsertSchema: z.ZodObject<{
8592
8592
  id: z.ZodString;
8593
- properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8594
8593
  createdAt: z.ZodOptional<z.ZodString>;
8595
8594
  updatedAt: z.ZodOptional<z.ZodString>;
8596
8595
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
8597
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8598
8596
  role: z.ZodString;
8597
+ properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8598
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8599
+ userProperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8600
+ conversationId: z.ZodString;
8599
8601
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8600
8602
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8601
8603
  fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8602
8604
  toExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8603
- taskId: z.ZodOptional<z.ZodString>;
8604
- a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8605
- conversationId: z.ZodString;
8606
- userProperties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8607
8605
  fromTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8608
8606
  toTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8609
8607
  visibility: z.ZodOptional<z.ZodString>;
8610
8608
  messageType: z.ZodOptional<z.ZodString>;
8609
+ taskId: z.ZodOptional<z.ZodString>;
8611
8610
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8611
+ a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8612
8612
  a2aSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8613
8613
  }, z.core.$strip>;
8614
8614
  declare const MessageApiUpdateSchema: z.ZodObject<{
8615
8615
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8616
- properties: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
8617
8616
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8618
8617
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8619
8618
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8620
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8621
8619
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8620
+ properties: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
8621
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8622
+ userProperties: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
8623
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8622
8624
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8623
8625
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8624
8626
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8625
8627
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8626
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8627
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8628
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8629
- userProperties: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
8630
8628
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8631
8629
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8632
8630
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8633
8631
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8632
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8634
8633
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8634
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8635
8635
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8636
8636
  }, z.core.$strip>;
8637
8637
  declare const FeedbackSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -9004,44 +9004,44 @@ declare const FeedbackUpdateSchema: z.ZodObject<{
9004
9004
  in: {};
9005
9005
  }>;
9006
9006
  declare const FeedbackApiSelectSchema: z.ZodObject<{
9007
- type: z.ZodString;
9008
9007
  id: z.ZodString;
9009
9008
  createdAt: z.ZodString;
9010
9009
  updatedAt: z.ZodString;
9011
- details: z.ZodNullable<z.ZodString>;
9010
+ type: z.ZodString;
9012
9011
  conversationId: z.ZodString;
9013
9012
  messageId: z.ZodNullable<z.ZodString>;
9013
+ details: z.ZodNullable<z.ZodString>;
9014
9014
  }, z.core.$strip>;
9015
9015
  declare const FeedbackApiInsertSchema: z.ZodObject<{
9016
+ createdAt: z.ZodOptional<z.ZodString>;
9017
+ updatedAt: z.ZodOptional<z.ZodString>;
9016
9018
  type: z.ZodEnum<{
9017
9019
  positive: "positive";
9018
9020
  negative: "negative";
9019
9021
  }>;
9020
- createdAt: z.ZodOptional<z.ZodString>;
9021
- updatedAt: z.ZodOptional<z.ZodString>;
9022
- details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9023
9022
  conversationId: z.ZodString;
9024
9023
  messageId: z.ZodOptional<z.ZodString>;
9024
+ details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9025
9025
  id: z.ZodOptional<z.ZodString>;
9026
9026
  }, z.core.$strip>;
9027
9027
  declare const FeedbackApiUpdateSchema: z.ZodObject<{
9028
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9029
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9028
9030
  type: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
9029
9031
  positive: "positive";
9030
9032
  negative: "negative";
9031
9033
  }>>>;
9032
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9033
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9034
9034
  details: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9035
9035
  }, z.core.$strip>;
9036
9036
  declare const WebhookFeedbackDataSchema: z.ZodObject<{
9037
9037
  feedback: z.ZodObject<{
9038
- type: z.ZodString;
9039
9038
  id: z.ZodString;
9040
9039
  createdAt: z.ZodString;
9041
9040
  updatedAt: z.ZodString;
9042
- details: z.ZodNullable<z.ZodString>;
9041
+ type: z.ZodString;
9043
9042
  conversationId: z.ZodString;
9044
9043
  messageId: z.ZodNullable<z.ZodString>;
9044
+ details: z.ZodNullable<z.ZodString>;
9045
9045
  }, z.core.$strip>;
9046
9046
  conversation: z.ZodObject<{
9047
9047
  id: z.ZodString;
@@ -9585,15 +9585,15 @@ declare const EventInsertSchema: z.ZodObject<{
9585
9585
  in: {};
9586
9586
  }>;
9587
9587
  declare const EventApiSelectSchema: z.ZodObject<{
9588
- type: z.ZodString;
9589
9588
  id: z.ZodString;
9590
- properties: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
9591
9589
  createdAt: z.ZodString;
9592
9590
  updatedAt: z.ZodString;
9591
+ type: z.ZodString;
9593
9592
  metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
9593
+ properties: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
9594
9594
  agentId: z.ZodNullable<z.ZodString>;
9595
- conversationId: z.ZodNullable<z.ZodString>;
9596
9595
  userProperties: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
9596
+ conversationId: z.ZodNullable<z.ZodString>;
9597
9597
  messageId: z.ZodNullable<z.ZodString>;
9598
9598
  serverMetadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
9599
9599
  }, z.core.$strip>;
@@ -9609,15 +9609,15 @@ declare const EventApiInsertSchema: z.ZodObject<{
9609
9609
  }, z.core.$strip>;
9610
9610
  declare const WebhookEventCreatedDataSchema: z.ZodObject<{
9611
9611
  event: z.ZodObject<{
9612
- type: z.ZodString;
9613
9612
  id: z.ZodString;
9614
- properties: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
9615
9613
  createdAt: z.ZodString;
9616
9614
  updatedAt: z.ZodString;
9615
+ type: z.ZodString;
9617
9616
  metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
9617
+ properties: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
9618
9618
  agentId: z.ZodNullable<z.ZodString>;
9619
- conversationId: z.ZodNullable<z.ZodString>;
9620
9619
  userProperties: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
9620
+ conversationId: z.ZodNullable<z.ZodString>;
9621
9621
  messageId: z.ZodNullable<z.ZodString>;
9622
9622
  serverMetadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
9623
9623
  }, z.core.$strip>;
@@ -9702,10 +9702,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
9702
9702
  }>;
9703
9703
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
9704
9704
  id: z.ZodString;
9705
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
9706
9705
  createdAt: z.ZodString;
9707
9706
  updatedAt: z.ZodString;
9708
- contextConfigId: z.ZodString;
9709
9707
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9710
9708
  type: z.ZodEnum<{
9711
9709
  commit: "commit";
@@ -9715,6 +9713,8 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
9715
9713
  name: z.ZodString;
9716
9714
  hash: z.ZodString;
9717
9715
  }, z.core.$strip>>>;
9716
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
9717
+ contextConfigId: z.ZodString;
9718
9718
  conversationId: z.ZodString;
9719
9719
  contextVariableKey: z.ZodString;
9720
9720
  requestHash: z.ZodNullable<z.ZodString>;
@@ -9723,10 +9723,8 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
9723
9723
  }, z.core.$strip>;
9724
9724
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
9725
9725
  id: z.ZodString;
9726
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
9727
9726
  createdAt: z.ZodOptional<z.ZodString>;
9728
9727
  updatedAt: z.ZodOptional<z.ZodString>;
9729
- contextConfigId: z.ZodString;
9730
9728
  ref: z.ZodObject<{
9731
9729
  type: z.ZodEnum<{
9732
9730
  commit: "commit";
@@ -9736,6 +9734,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
9736
9734
  name: z.ZodString;
9737
9735
  hash: z.ZodString;
9738
9736
  }, z.core.$strip>;
9737
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
9738
+ contextConfigId: z.ZodString;
9739
9739
  conversationId: z.ZodString;
9740
9740
  contextVariableKey: z.ZodString;
9741
9741
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9744,10 +9744,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
9744
9744
  }, z.core.$strip>;
9745
9745
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
9746
9746
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9747
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
9748
9747
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9749
9748
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9750
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9751
9749
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9752
9750
  type: z.ZodEnum<{
9753
9751
  commit: "commit";
@@ -9757,6 +9755,8 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
9757
9755
  name: z.ZodString;
9758
9756
  hash: z.ZodString;
9759
9757
  }, z.core.$strip>>>;
9758
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
9759
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9760
9760
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9761
9761
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9762
9762
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -9858,9 +9858,9 @@ declare const DatasetRunApiSelectSchema: z.ZodObject<{
9858
9858
  name: z.ZodString;
9859
9859
  hash: z.ZodString;
9860
9860
  }, z.core.$strip>>>;
9861
- datasetRunConfigId: z.ZodNullable<z.ZodString>;
9862
9861
  datasetId: z.ZodString;
9863
9862
  evaluationJobConfigId: z.ZodNullable<z.ZodString>;
9863
+ datasetRunConfigId: z.ZodNullable<z.ZodString>;
9864
9864
  }, z.core.$strip>;
9865
9865
  declare const DatasetRunApiInsertSchema: z.ZodObject<{
9866
9866
  createdAt: z.ZodOptional<z.ZodString>;
@@ -9882,9 +9882,9 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
9882
9882
  name: string;
9883
9883
  hash: string;
9884
9884
  }>>>>;
9885
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9886
9885
  datasetId: z.ZodString;
9887
9886
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9887
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9888
9888
  }, z.core.$strip>;
9889
9889
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
9890
9890
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -9906,9 +9906,9 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
9906
9906
  name: string;
9907
9907
  hash: string;
9908
9908
  }>>>>>>;
9909
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9910
9909
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9911
9910
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9911
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9912
9912
  }, z.core.$strip>;
9913
9913
  declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9914
9914
  createdAt: drizzle_orm_pg_core297.PgColumn<{
@@ -10599,28 +10599,28 @@ declare const EvaluationResultUpdateSchema: z.ZodObject<{
10599
10599
  in: {};
10600
10600
  }>;
10601
10601
  declare const EvaluationResultApiSelectSchema: z.ZodObject<{
10602
- output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
10603
10602
  id: z.ZodString;
10604
10603
  createdAt: z.ZodString;
10605
10604
  updatedAt: z.ZodString;
10606
- conversationId: z.ZodString;
10605
+ output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
10607
10606
  evaluatorId: z.ZodString;
10607
+ conversationId: z.ZodString;
10608
10608
  evaluationRunId: z.ZodNullable<z.ZodString>;
10609
10609
  }, z.core.$strip>;
10610
10610
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
10611
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10612
10611
  createdAt: z.ZodOptional<z.ZodString>;
10613
10612
  updatedAt: z.ZodOptional<z.ZodString>;
10614
- conversationId: z.ZodString;
10613
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10615
10614
  evaluatorId: z.ZodString;
10615
+ conversationId: z.ZodString;
10616
10616
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10617
10617
  }, z.core.$strip>;
10618
10618
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
10619
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
10620
10619
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10621
10620
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10622
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10621
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
10623
10622
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10623
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10624
10624
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10625
10625
  }, z.core.$strip>;
10626
10626
  declare const EvaluationRunSelectSchema: z.ZodObject<{
@@ -10715,8 +10715,8 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<{
10715
10715
  name: z.ZodString;
10716
10716
  hash: z.ZodString;
10717
10717
  }, z.core.$strip>>>;
10718
- evaluationJobConfigId: z.ZodNullable<z.ZodString>;
10719
10718
  evaluationRunConfigId: z.ZodNullable<z.ZodString>;
10719
+ evaluationJobConfigId: z.ZodNullable<z.ZodString>;
10720
10720
  }, z.core.$strip>;
10721
10721
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
10722
10722
  createdAt: z.ZodOptional<z.ZodString>;
@@ -10738,8 +10738,8 @@ declare const EvaluationRunApiInsertSchema: z.ZodObject<{
10738
10738
  name: string;
10739
10739
  hash: string;
10740
10740
  }>>>>;
10741
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10742
10741
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10742
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10743
10743
  }, z.core.$strip>;
10744
10744
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
10745
10745
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -10761,8 +10761,8 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
10761
10761
  name: string;
10762
10762
  hash: string;
10763
10763
  }>>>>>>;
10764
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10765
10764
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10765
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10766
10766
  }, z.core.$strip>;
10767
10767
  declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10768
10768
  createdAt: drizzle_orm_pg_core297.PgColumn<{
@@ -11084,33 +11084,33 @@ declare const EvaluationRunConfigUpdateSchema: z.ZodObject<{
11084
11084
  declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<{
11085
11085
  id: z.ZodString;
11086
11086
  name: z.ZodString;
11087
- description: z.ZodNullable<z.ZodString>;
11088
11087
  createdAt: z.ZodString;
11089
11088
  updatedAt: z.ZodString;
11089
+ description: z.ZodNullable<z.ZodString>;
11090
11090
  isActive: z.ZodBoolean;
11091
11091
  }, z.core.$strip>;
11092
11092
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
11093
11093
  name: z.ZodString;
11094
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11095
11094
  createdAt: z.ZodOptional<z.ZodString>;
11096
11095
  updatedAt: z.ZodOptional<z.ZodString>;
11096
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11097
11097
  isActive: z.ZodOptional<z.ZodBoolean>;
11098
11098
  suiteConfigIds: z.ZodArray<z.ZodString>;
11099
11099
  }, z.core.$strip>;
11100
11100
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
11101
11101
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11102
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11103
11102
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11104
11103
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11104
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11105
11105
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
11106
11106
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
11107
11107
  }, z.core.$strip>;
11108
11108
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
11109
11109
  id: z.ZodString;
11110
11110
  name: z.ZodString;
11111
- description: z.ZodNullable<z.ZodString>;
11112
11111
  createdAt: z.ZodString;
11113
11112
  updatedAt: z.ZodString;
11113
+ description: z.ZodNullable<z.ZodString>;
11114
11114
  isActive: z.ZodBoolean;
11115
11115
  suiteConfigIds: z.ZodArray<z.ZodString>;
11116
11116
  }, z.core.$strip>;
@@ -12135,20 +12135,20 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
12135
12135
  id: z.ZodString;
12136
12136
  createdAt: z.ZodString;
12137
12137
  updatedAt: z.ZodString;
12138
- evaluationRunConfigId: z.ZodString;
12139
12138
  evaluationSuiteConfigId: z.ZodString;
12139
+ evaluationRunConfigId: z.ZodString;
12140
12140
  }, z.core.$strip>;
12141
12141
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
12142
12142
  createdAt: z.ZodOptional<z.ZodString>;
12143
12143
  updatedAt: z.ZodOptional<z.ZodString>;
12144
- evaluationRunConfigId: z.ZodString;
12145
12144
  evaluationSuiteConfigId: z.ZodString;
12145
+ evaluationRunConfigId: z.ZodString;
12146
12146
  }, z.core.$strip>;
12147
12147
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
12148
12148
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12149
12149
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12150
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12151
12150
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12151
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12152
12152
  }, z.core.$strip>;
12153
12153
  declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
12154
12154
  createdAt: drizzle_orm_pg_core297.PgColumn<{
@@ -12439,20 +12439,20 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<{
12439
12439
  id: z.ZodString;
12440
12440
  createdAt: z.ZodString;
12441
12441
  updatedAt: z.ZodString;
12442
- evaluationJobConfigId: z.ZodString;
12443
12442
  evaluatorId: z.ZodString;
12443
+ evaluationJobConfigId: z.ZodString;
12444
12444
  }, z.core.$strip>;
12445
12445
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
12446
12446
  createdAt: z.ZodOptional<z.ZodString>;
12447
12447
  updatedAt: z.ZodOptional<z.ZodString>;
12448
- evaluationJobConfigId: z.ZodString;
12449
12448
  evaluatorId: z.ZodString;
12449
+ evaluationJobConfigId: z.ZodString;
12450
12450
  }, z.core.$strip>;
12451
12451
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
12452
12452
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12453
12453
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12454
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12455
12454
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12455
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12456
12456
  }, z.core.$strip>;
12457
12457
  declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
12458
12458
  createdAt: drizzle_orm_pg_core297.PgColumn<{
@@ -13258,7 +13258,11 @@ declare const EvaluatorUpdateSchema: z.ZodObject<{
13258
13258
  declare const EvaluatorApiSelectSchema: z.ZodObject<{
13259
13259
  id: z.ZodString;
13260
13260
  name: z.ZodString;
13261
+ createdAt: z.ZodString;
13262
+ updatedAt: z.ZodString;
13263
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
13261
13264
  description: z.ZodNullable<z.ZodString>;
13265
+ prompt: z.ZodString;
13262
13266
  model: z.ZodType<{
13263
13267
  model?: string | undefined;
13264
13268
  providerOptions?: Record<string, unknown> | undefined;
@@ -13280,15 +13284,15 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<{
13280
13284
  fallbackModels?: string[] | undefined;
13281
13285
  allowedProviders?: string[] | undefined;
13282
13286
  }>>;
13283
- createdAt: z.ZodString;
13284
- updatedAt: z.ZodString;
13285
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
13286
- prompt: z.ZodString;
13287
13287
  passCriteria: z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>;
13288
13288
  }, z.core.$strip>;
13289
13289
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
13290
13290
  name: z.ZodString;
13291
+ createdAt: z.ZodOptional<z.ZodString>;
13292
+ updatedAt: z.ZodOptional<z.ZodString>;
13293
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
13291
13294
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13295
+ prompt: z.ZodString;
13292
13296
  model: z.ZodType<{
13293
13297
  model?: string | undefined;
13294
13298
  providerOptions?: Record<string, unknown> | undefined;
@@ -13310,15 +13314,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
13310
13314
  fallbackModels?: string[] | undefined;
13311
13315
  allowedProviders?: string[] | undefined;
13312
13316
  }>>;
13313
- createdAt: z.ZodOptional<z.ZodString>;
13314
- updatedAt: z.ZodOptional<z.ZodString>;
13315
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
13316
- prompt: z.ZodString;
13317
13317
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, any, any>>>;
13318
13318
  }, z.core.$strip>;
13319
13319
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
13320
13320
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13321
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13322
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13323
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
13321
13324
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13325
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13322
13326
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
13323
13327
  model?: string | undefined;
13324
13328
  providerOptions?: Record<string, unknown> | undefined;
@@ -13340,10 +13344,6 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
13340
13344
  fallbackModels?: string[] | undefined;
13341
13345
  allowedProviders?: string[] | undefined;
13342
13346
  }>>>>;
13343
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13344
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13345
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
13346
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13347
13347
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, any, any>>>>>;
13348
13348
  }, z.core.$strip>;
13349
13349
  declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -13933,28 +13933,28 @@ declare const DatasetItemUpdateSchema: z.ZodObject<{
13933
13933
  in: {};
13934
13934
  }>;
13935
13935
  declare const DatasetItemApiSelectSchema: z.ZodObject<{
13936
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13937
13936
  id: z.ZodString;
13938
13937
  createdAt: z.ZodString;
13939
13938
  updatedAt: z.ZodString;
13939
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13940
13940
  datasetId: z.ZodString;
13941
13941
  expectedOutput: z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>;
13942
13942
  }, z.core.$strip>;
13943
13943
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
13944
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13945
13944
  createdAt: z.ZodOptional<z.ZodString>;
13946
13945
  updatedAt: z.ZodOptional<z.ZodString>;
13946
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13947
13947
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13948
13948
  }, z.core.$strip>;
13949
13949
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13950
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
13951
13950
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13952
13951
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13952
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
13953
13953
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
13954
13954
  }, z.core.$strip>;
13955
13955
  declare const DatasetRunItemSchema: z.ZodObject<{
13956
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13957
13956
  id: z.ZodOptional<z.ZodString>;
13957
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13958
13958
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13959
13959
  agentId: z.ZodString;
13960
13960
  }, z.core.$strip>;
@@ -14348,25 +14348,25 @@ declare const DatasetRunConfigUpdateSchema: z.ZodObject<{
14348
14348
  declare const DatasetRunConfigApiSelectSchema: z.ZodObject<{
14349
14349
  id: z.ZodString;
14350
14350
  name: z.ZodString;
14351
- description: z.ZodNullable<z.ZodString>;
14352
14351
  createdAt: z.ZodString;
14353
14352
  updatedAt: z.ZodString;
14353
+ description: z.ZodNullable<z.ZodString>;
14354
14354
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
14355
14355
  datasetId: z.ZodString;
14356
14356
  }, z.core.$strip>;
14357
14357
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
14358
14358
  name: z.ZodString;
14359
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14360
14359
  createdAt: z.ZodOptional<z.ZodString>;
14361
14360
  updatedAt: z.ZodOptional<z.ZodString>;
14361
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14362
14362
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
14363
14363
  datasetId: z.ZodString;
14364
14364
  }, z.core.$strip>;
14365
14365
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
14366
14366
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14367
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14368
14367
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14369
14368
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14369
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14370
14370
  dispatchDelayMs: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>>;
14371
14371
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14372
14372
  }, z.core.$strip>;
@@ -16016,9 +16016,9 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
16016
16016
  declare const DataComponentApiSelectSchema: z.ZodObject<{
16017
16017
  id: z.ZodString;
16018
16018
  name: z.ZodString;
16019
- description: z.ZodNullable<z.ZodString>;
16020
16019
  createdAt: z.ZodString;
16021
16020
  updatedAt: z.ZodString;
16021
+ description: z.ZodNullable<z.ZodString>;
16022
16022
  props: z.ZodType<{
16023
16023
  [x: string]: unknown;
16024
16024
  type: "object";
@@ -17158,9 +17158,9 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
17158
17158
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
17159
17159
  id: z.ZodString;
17160
17160
  name: z.ZodString;
17161
- description: z.ZodNullable<z.ZodString>;
17162
17161
  createdAt: z.ZodString;
17163
17162
  updatedAt: z.ZodString;
17163
+ description: z.ZodNullable<z.ZodString>;
17164
17164
  props: z.ZodNullable<z.ZodType<{
17165
17165
  [x: string]: unknown;
17166
17166
  type: "object";
@@ -17235,9 +17235,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
17235
17235
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
17236
17236
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17237
17237
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17238
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17239
17238
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17240
17239
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17240
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17241
17241
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
17242
17242
  [x: string]: unknown;
17243
17243
  type: "object";
@@ -17631,9 +17631,9 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
17631
17631
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
17632
17632
  id: z.ZodString;
17633
17633
  name: z.ZodString;
17634
- description: z.ZodNullable<z.ZodString>;
17635
17634
  createdAt: z.ZodString;
17636
17635
  updatedAt: z.ZodString;
17636
+ description: z.ZodNullable<z.ZodString>;
17637
17637
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17638
17638
  baseUrl: z.ZodString;
17639
17639
  }, z.core.$strip>;
@@ -17654,7 +17654,10 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
17654
17654
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
17655
17655
  id: z.ZodString;
17656
17656
  name: z.ZodString;
17657
+ createdAt: z.ZodString;
17658
+ updatedAt: z.ZodString;
17657
17659
  description: z.ZodNullable<z.ZodString>;
17660
+ prompt: z.ZodNullable<z.ZodString>;
17658
17661
  models: z.ZodNullable<z.ZodType<{
17659
17662
  base?: {
17660
17663
  model?: string | undefined;
@@ -17741,9 +17744,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
17741
17744
  }, {
17742
17745
  stepCountIs?: number | undefined;
17743
17746
  }>>>;
17744
- createdAt: z.ZodString;
17745
- updatedAt: z.ZodString;
17746
- prompt: z.ZodNullable<z.ZodString>;
17747
17747
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
17748
17748
  outputContract: z.ZodNullable<z.ZodType<{
17749
17749
  [x: string]: unknown;
@@ -17782,9 +17782,9 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
17782
17782
  }, z.core.$strip>, z.ZodObject<{
17783
17783
  id: z.ZodString;
17784
17784
  name: z.ZodString;
17785
- description: z.ZodNullable<z.ZodString>;
17786
17785
  createdAt: z.ZodString;
17787
17786
  updatedAt: z.ZodString;
17787
+ description: z.ZodNullable<z.ZodString>;
17788
17788
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17789
17789
  baseUrl: z.ZodString;
17790
17790
  type: z.ZodLiteral<"external">;
@@ -18252,8 +18252,8 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
18252
18252
  declare const ApiKeyUpdateSchema: z.ZodObject<{
18253
18253
  name: z.ZodOptional<z.ZodString>;
18254
18254
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18255
- agentId: z.ZodOptional<z.ZodString>;
18256
18255
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18256
+ agentId: z.ZodOptional<z.ZodString>;
18257
18257
  }, {
18258
18258
  out: {};
18259
18259
  in: {};
@@ -18263,8 +18263,8 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
18263
18263
  name: z.ZodNullable<z.ZodString>;
18264
18264
  createdAt: z.ZodString;
18265
18265
  updatedAt: z.ZodString;
18266
- agentId: z.ZodString;
18267
18266
  expiresAt: z.ZodNullable<z.ZodString>;
18267
+ agentId: z.ZodString;
18268
18268
  publicId: z.ZodString;
18269
18269
  keyPrefix: z.ZodString;
18270
18270
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -18279,8 +18279,8 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
18279
18279
  name: z.ZodNullable<z.ZodString>;
18280
18280
  createdAt: z.ZodString;
18281
18281
  updatedAt: z.ZodString;
18282
- agentId: z.ZodString;
18283
18282
  expiresAt: z.ZodNullable<z.ZodString>;
18283
+ agentId: z.ZodString;
18284
18284
  publicId: z.ZodString;
18285
18285
  keyPrefix: z.ZodString;
18286
18286
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -18295,8 +18295,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
18295
18295
  name: z.ZodString;
18296
18296
  createdAt: z.ZodOptional<z.ZodString>;
18297
18297
  updatedAt: z.ZodOptional<z.ZodString>;
18298
- agentId: z.ZodString;
18299
18298
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18299
+ agentId: z.ZodString;
18300
18300
  }, {
18301
18301
  out: {};
18302
18302
  in: {};
@@ -18304,8 +18304,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
18304
18304
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
18305
18305
  name: z.ZodOptional<z.ZodString>;
18306
18306
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18307
- agentId: z.ZodOptional<z.ZodString>;
18308
18307
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18308
+ agentId: z.ZodOptional<z.ZodString>;
18309
18309
  }, {
18310
18310
  out: {};
18311
18311
  in: {};
@@ -19230,12 +19230,12 @@ declare const AppInsertSchema: z.ZodObject<{
19230
19230
  }>;
19231
19231
  declare const AppUpdateSchema: z.ZodObject<{
19232
19232
  name: z.ZodOptional<z.ZodString>;
19233
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19234
19233
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19235
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19236
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19234
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19237
19235
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
19238
19236
  prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19237
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19238
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19239
19239
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
19240
19240
  type: z.ZodLiteral<"web_client">;
19241
19241
  webClient: z.ZodObject<{
@@ -19913,16 +19913,16 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
19913
19913
  }, {}, {}>;
19914
19914
  }, undefined>, undefined>;
19915
19915
  declare const AppApiResponseSelectSchema: z.ZodObject<{
19916
- type: z.ZodString;
19917
19916
  id: z.ZodString;
19918
19917
  name: z.ZodString;
19919
- description: z.ZodNullable<z.ZodString>;
19920
19918
  createdAt: z.ZodString;
19921
19919
  updatedAt: z.ZodString;
19922
- tenantId: z.ZodNullable<z.ZodString>;
19923
- projectId: z.ZodNullable<z.ZodString>;
19920
+ type: z.ZodString;
19921
+ description: z.ZodNullable<z.ZodString>;
19924
19922
  enabled: z.ZodBoolean;
19925
19923
  prompt: z.ZodNullable<z.ZodString>;
19924
+ tenantId: z.ZodNullable<z.ZodString>;
19925
+ projectId: z.ZodNullable<z.ZodString>;
19926
19926
  lastUsedAt: z.ZodNullable<z.ZodString>;
19927
19927
  defaultProjectId: z.ZodNullable<z.ZodString>;
19928
19928
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -19971,19 +19971,19 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
19971
19971
  in: {};
19972
19972
  }>;
19973
19973
  declare const AppApiInsertSchema: z.ZodObject<{
19974
+ name: z.ZodString;
19975
+ createdAt: z.ZodOptional<z.ZodString>;
19976
+ updatedAt: z.ZodOptional<z.ZodString>;
19974
19977
  type: z.ZodEnum<{
19975
19978
  web_client: "web_client";
19976
19979
  api: "api";
19977
19980
  support_copilot: "support_copilot";
19978
19981
  }>;
19979
- name: z.ZodString;
19980
19982
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19981
- createdAt: z.ZodOptional<z.ZodString>;
19982
- updatedAt: z.ZodOptional<z.ZodString>;
19983
- tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19984
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19985
19983
  enabled: z.ZodOptional<z.ZodBoolean>;
19986
19984
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19985
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19986
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19987
19987
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
19988
19988
  type: z.ZodLiteral<"web_client">;
19989
19989
  webClient: z.ZodObject<{
@@ -20032,12 +20032,12 @@ declare const AppApiInsertSchema: z.ZodObject<{
20032
20032
  }>;
20033
20033
  declare const AppApiUpdateSchema: z.ZodObject<{
20034
20034
  name: z.ZodOptional<z.ZodString>;
20035
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20036
20035
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20037
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20038
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20036
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20039
20037
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
20040
20038
  prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20039
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20040
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20041
20041
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
20042
20042
  type: z.ZodLiteral<"web_client">;
20043
20043
  webClient: z.ZodObject<{
@@ -20088,16 +20088,16 @@ declare const AppApiUpdateSchema: z.ZodObject<{
20088
20088
  declare const AppApiCreationResponseSchema: z.ZodObject<{
20089
20089
  data: z.ZodObject<{
20090
20090
  app: z.ZodObject<{
20091
- type: z.ZodString;
20092
20091
  id: z.ZodString;
20093
20092
  name: z.ZodString;
20094
- description: z.ZodNullable<z.ZodString>;
20095
20093
  createdAt: z.ZodString;
20096
20094
  updatedAt: z.ZodString;
20097
- tenantId: z.ZodNullable<z.ZodString>;
20098
- projectId: z.ZodNullable<z.ZodString>;
20095
+ type: z.ZodString;
20096
+ description: z.ZodNullable<z.ZodString>;
20099
20097
  enabled: z.ZodBoolean;
20100
20098
  prompt: z.ZodNullable<z.ZodString>;
20099
+ tenantId: z.ZodNullable<z.ZodString>;
20100
+ projectId: z.ZodNullable<z.ZodString>;
20101
20101
  lastUsedAt: z.ZodNullable<z.ZodString>;
20102
20102
  defaultProjectId: z.ZodNullable<z.ZodString>;
20103
20103
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -20599,30 +20599,30 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
20599
20599
  }>;
20600
20600
  }, undefined>, undefined>;
20601
20601
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
20602
- type: z.ZodString;
20603
20602
  id: z.ZodString;
20604
20603
  name: z.ZodString;
20604
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20605
+ type: z.ZodString;
20605
20606
  tenantId: z.ZodString;
20606
20607
  projectId: z.ZodString;
20607
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20608
20608
  credentialStoreId: z.ZodString;
20609
20609
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20610
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20610
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20611
20611
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20612
20612
  }, {
20613
20613
  out: {};
20614
20614
  in: {};
20615
20615
  }>;
20616
20616
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
20617
- type: z.ZodOptional<z.ZodString>;
20618
20617
  id: z.ZodOptional<z.ZodString>;
20619
20618
  name: z.ZodOptional<z.ZodString>;
20619
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20620
+ type: z.ZodOptional<z.ZodString>;
20620
20621
  tenantId: z.ZodOptional<z.ZodString>;
20621
20622
  projectId: z.ZodOptional<z.ZodString>;
20622
- toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20623
20623
  credentialStoreId: z.ZodOptional<z.ZodString>;
20624
20624
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
20625
- userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20625
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20626
20626
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20627
20627
  }, {
20628
20628
  out: {};
@@ -20633,10 +20633,10 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20633
20633
  name: z.ZodString;
20634
20634
  createdAt: z.ZodString;
20635
20635
  updatedAt: z.ZodString;
20636
- toolId: z.ZodNullable<z.ZodString>;
20636
+ userId: z.ZodNullable<z.ZodString>;
20637
20637
  credentialStoreId: z.ZodString;
20638
20638
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
20639
- userId: z.ZodNullable<z.ZodString>;
20639
+ toolId: z.ZodNullable<z.ZodString>;
20640
20640
  createdBy: z.ZodNullable<z.ZodString>;
20641
20641
  type: z.ZodEnum<{
20642
20642
  readonly memory: "memory";
@@ -21223,10 +21223,10 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
21223
21223
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21224
21224
  id: z.ZodString;
21225
21225
  name: z.ZodString;
21226
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21226
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21227
21227
  credentialStoreId: z.ZodString;
21228
21228
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21229
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21229
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21230
21230
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21231
21231
  type: z.ZodEnum<{
21232
21232
  readonly memory: "memory";
@@ -21238,10 +21238,10 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21238
21238
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
21239
21239
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21240
21240
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21241
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21241
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21242
21242
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21243
21243
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
21244
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21244
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21245
21245
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21246
21246
  type: z.ZodOptional<z.ZodEnum<{
21247
21247
  readonly memory: "memory";
@@ -21310,9 +21310,9 @@ declare const McpToolSchema: z.ZodObject<{
21310
21310
  id: z.ZodString;
21311
21311
  name: z.ZodString;
21312
21312
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21313
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21313
21314
  tenantId: z.ZodString;
21314
21315
  projectId: z.ZodString;
21315
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21316
21316
  config: z.ZodObject<{
21317
21317
  type: z.ZodLiteral<"mcp">;
21318
21318
  mcp: z.ZodObject<{
@@ -21368,6 +21368,7 @@ declare const McpToolSchema: z.ZodObject<{
21368
21368
  declare const MCPToolConfigSchema: z.ZodObject<{
21369
21369
  id: z.ZodString;
21370
21370
  name: z.ZodString;
21371
+ expiresAt: z.ZodOptional<z.ZodString>;
21371
21372
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21372
21373
  credentialScope: z.ZodOptional<z.ZodString>;
21373
21374
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -21375,13 +21376,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
21375
21376
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21376
21377
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
21377
21378
  createdBy: z.ZodOptional<z.ZodString>;
21378
- relationshipId: z.ZodOptional<z.ZodString>;
21379
- expiresAt: z.ZodOptional<z.ZodString>;
21380
21379
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
21381
21380
  name: z.ZodString;
21382
21381
  description: z.ZodOptional<z.ZodString>;
21383
21382
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
21384
21383
  }, z.core.$strip>>>;
21384
+ relationshipId: z.ZodOptional<z.ZodString>;
21385
21385
  tenantId: z.ZodOptional<z.ZodString>;
21386
21386
  projectId: z.ZodOptional<z.ZodString>;
21387
21387
  description: z.ZodOptional<z.ZodString>;
@@ -21404,10 +21404,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
21404
21404
  credential: z.ZodOptional<z.ZodObject<{
21405
21405
  id: z.ZodString;
21406
21406
  name: z.ZodString;
21407
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21407
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21408
21408
  credentialStoreId: z.ZodString;
21409
21409
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21410
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21410
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21411
21411
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21412
21412
  type: z.ZodEnum<{
21413
21413
  readonly memory: "memory";
@@ -21431,9 +21431,9 @@ declare const ToolUpdateSchema: z.ZodObject<{
21431
21431
  id: z.ZodOptional<z.ZodString>;
21432
21432
  name: z.ZodOptional<z.ZodString>;
21433
21433
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21434
+ headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
21434
21435
  tenantId: z.ZodOptional<z.ZodString>;
21435
21436
  projectId: z.ZodOptional<z.ZodString>;
21436
- headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
21437
21437
  config: z.ZodOptional<z.ZodObject<{
21438
21438
  type: z.ZodLiteral<"mcp">;
21439
21439
  mcp: z.ZodObject<{
@@ -21473,9 +21473,9 @@ declare const ToolUpdateSchema: z.ZodObject<{
21473
21473
  declare const ToolApiSelectSchema: z.ZodObject<{
21474
21474
  id: z.ZodString;
21475
21475
  name: z.ZodString;
21476
- description: z.ZodNullable<z.ZodString>;
21477
21476
  createdAt: z.ZodString;
21478
21477
  updatedAt: z.ZodString;
21478
+ description: z.ZodNullable<z.ZodString>;
21479
21479
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
21480
21480
  config: z.ZodType<{
21481
21481
  type: "mcp";
@@ -21933,9 +21933,9 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21933
21933
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21934
21934
  id: z.ZodString;
21935
21935
  name: z.ZodString;
21936
- description: z.ZodNullable<z.ZodString>;
21937
21936
  createdAt: z.ZodString;
21938
21937
  updatedAt: z.ZodString;
21938
+ description: z.ZodNullable<z.ZodString>;
21939
21939
  agentId: z.ZodString;
21940
21940
  functionId: z.ZodString;
21941
21941
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -22316,13 +22316,13 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<{
22316
22316
  id: z.ZodString;
22317
22317
  createdAt: z.ZodString;
22318
22318
  updatedAt: z.ZodString;
22319
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22320
22319
  subAgentId: z.ZodString;
22320
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22321
22321
  functionToolId: z.ZodString;
22322
22322
  }, z.core.$strip>;
22323
22323
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
22324
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22325
22324
  subAgentId: z.ZodString;
22325
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22326
22326
  functionToolId: z.ZodString;
22327
22327
  }, {
22328
22328
  out: {};
@@ -22713,10 +22713,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
22713
22713
  credential: z.ZodOptional<z.ZodObject<{
22714
22714
  id: z.ZodString;
22715
22715
  name: z.ZodString;
22716
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22716
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22717
22717
  credentialStoreId: z.ZodString;
22718
22718
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22719
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22719
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22720
22720
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22721
22721
  type: z.ZodEnum<{
22722
22722
  readonly memory: "memory";
@@ -22743,9 +22743,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
22743
22743
  id: z.ZodOptional<z.ZodString>;
22744
22744
  tenantId: z.ZodString;
22745
22745
  projectId: z.ZodString;
22746
- agentId: z.ZodString;
22747
22746
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22748
22747
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22748
+ agentId: z.ZodString;
22749
22749
  }, {
22750
22750
  out: {};
22751
22751
  in: {};
@@ -22754,9 +22754,9 @@ declare const ContextConfigUpdateSchema: z.ZodObject<{
22754
22754
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22755
22755
  tenantId: z.ZodOptional<z.ZodString>;
22756
22756
  projectId: z.ZodOptional<z.ZodString>;
22757
- agentId: z.ZodOptional<z.ZodString>;
22758
22757
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
22759
22758
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
22759
+ agentId: z.ZodOptional<z.ZodString>;
22760
22760
  }, {
22761
22761
  out: {};
22762
22762
  in: {};
@@ -23239,35 +23239,35 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
23239
23239
  id: z.ZodString;
23240
23240
  createdAt: z.ZodString;
23241
23241
  updatedAt: z.ZodString;
23242
- toolId: z.ZodString;
23243
23242
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23244
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23243
+ toolId: z.ZodString;
23245
23244
  subAgentId: z.ZodString;
23246
23245
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23246
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23247
23247
  }, z.core.$strip>;
23248
23248
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
23249
23249
  id: z.ZodString;
23250
23250
  createdAt: z.ZodOptional<z.ZodString>;
23251
23251
  updatedAt: z.ZodOptional<z.ZodString>;
23252
- toolId: z.ZodString;
23253
23252
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23253
+ toolId: z.ZodString;
23254
+ subAgentId: z.ZodString;
23255
+ selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
23254
23256
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23255
23257
  needsApproval: z.ZodOptional<z.ZodBoolean>;
23256
23258
  }, z.core.$strip>>>>;
23257
- subAgentId: z.ZodString;
23258
- selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
23259
23259
  }, z.core.$strip>;
23260
23260
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
23261
23261
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23262
23262
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23263
23263
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23264
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23265
23264
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23265
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23266
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23267
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
23266
23268
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23267
23269
  needsApproval: z.ZodOptional<z.ZodBoolean>;
23268
23270
  }, z.core.$strip>>>>>>;
23269
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23270
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
23271
23271
  }, z.core.$strip>;
23272
23272
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
23273
23273
  createdAt: drizzle_orm_pg_core297.PgColumn<{
@@ -23639,8 +23639,8 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
23639
23639
  createdAt: z.ZodString;
23640
23640
  updatedAt: z.ZodString;
23641
23641
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23642
- externalAgentId: z.ZodString;
23643
23642
  subAgentId: z.ZodString;
23643
+ externalAgentId: z.ZodString;
23644
23644
  }, z.core.$strip>;
23645
23645
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
23646
23646
  createdAt: z.ZodOptional<z.ZodString>;
@@ -23653,8 +23653,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
23653
23653
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23654
23654
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23655
23655
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23656
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23657
23656
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23657
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23658
23658
  }, z.core.$strip>;
23659
23659
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
23660
23660
  createdAt: drizzle_orm_pg_core297.PgColumn<{
@@ -25384,7 +25384,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
25384
25384
  }, {}, {
25385
25385
  length: 256;
25386
25386
  }>;
25387
- }, "type" | "id" | "name" | "description" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "metadata" | "taskId" | "toolCallId" | "parts" | "contextId" | "visibility" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
25387
+ }, "id" | "name" | "createdAt" | "updatedAt" | "type" | "metadata" | "description" | "tenantId" | "projectId" | "contextId" | "toolCallId" | "visibility" | "taskId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
25388
25388
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
25389
25389
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25390
25390
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -25409,54 +25409,54 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
25409
25409
  in: {};
25410
25410
  }>;
25411
25411
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
25412
- type: z.ZodString;
25413
25412
  id: z.ZodString;
25414
25413
  name: z.ZodNullable<z.ZodString>;
25415
- description: z.ZodNullable<z.ZodString>;
25416
25414
  createdAt: z.ZodString;
25417
25415
  updatedAt: z.ZodString;
25416
+ type: z.ZodString;
25418
25417
  metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
25419
- taskId: z.ZodString;
25420
- toolCallId: z.ZodNullable<z.ZodString>;
25421
- parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
25418
+ description: z.ZodNullable<z.ZodString>;
25422
25419
  contextId: z.ZodString;
25420
+ toolCallId: z.ZodNullable<z.ZodString>;
25423
25421
  visibility: z.ZodNullable<z.ZodString>;
25422
+ taskId: z.ZodString;
25423
+ parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
25424
25424
  summary: z.ZodNullable<z.ZodString>;
25425
25425
  mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
25426
25426
  allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
25427
25427
  derivedFrom: z.ZodNullable<z.ZodString>;
25428
25428
  }, z.core.$strip>;
25429
25429
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
25430
- type: z.ZodOptional<z.ZodString>;
25431
25430
  id: z.ZodString;
25432
25431
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25433
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25434
25432
  createdAt: z.ZodOptional<z.ZodString>;
25435
25433
  updatedAt: z.ZodOptional<z.ZodString>;
25434
+ type: z.ZodOptional<z.ZodString>;
25436
25435
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25437
- taskId: z.ZodString;
25438
- toolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25439
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25436
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25440
25437
  contextId: z.ZodString;
25438
+ toolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25441
25439
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25440
+ taskId: z.ZodString;
25441
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25442
25442
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25443
25443
  mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25444
25444
  allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25445
25445
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25446
25446
  }, z.core.$strip>;
25447
25447
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
25448
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25449
25448
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25450
25449
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25451
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25452
25450
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25453
25451
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25452
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25454
25453
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
25455
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25456
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25457
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
25454
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25458
25455
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25456
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25459
25457
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25458
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25459
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
25460
25460
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25461
25461
  mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
25462
25462
  allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
@@ -25527,6 +25527,8 @@ declare const TeamAgentSchema: z.ZodObject<{
25527
25527
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
25528
25528
  id: z.ZodString;
25529
25529
  name: z.ZodString;
25530
+ createdAt: z.ZodOptional<z.ZodString>;
25531
+ updatedAt: z.ZodOptional<z.ZodString>;
25530
25532
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25531
25533
  models: z.ZodOptional<z.ZodObject<{
25532
25534
  base: z.ZodOptional<z.ZodObject<{
@@ -25548,8 +25550,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25548
25550
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
25549
25551
  }, z.core.$strip>>;
25550
25552
  }, z.core.$strip>>;
25551
- createdAt: z.ZodOptional<z.ZodString>;
25552
- updatedAt: z.ZodOptional<z.ZodString>;
25553
25553
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25554
25554
  outputContract: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25555
25555
  allowText: z.ZodOptional<z.ZodBoolean>;
@@ -25605,6 +25605,8 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
25605
25605
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25606
25606
  id: z.ZodString;
25607
25607
  name: z.ZodString;
25608
+ createdAt: z.ZodOptional<z.ZodString>;
25609
+ updatedAt: z.ZodOptional<z.ZodString>;
25608
25610
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25609
25611
  models: z.ZodOptional<z.ZodObject<{
25610
25612
  base: z.ZodOptional<z.ZodObject<{
@@ -25626,8 +25628,6 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
25626
25628
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
25627
25629
  }, z.core.$strip>>;
25628
25630
  }, z.core.$strip>>;
25629
- createdAt: z.ZodOptional<z.ZodString>;
25630
- updatedAt: z.ZodOptional<z.ZodString>;
25631
25631
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25632
25632
  outputContract: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25633
25633
  allowText: z.ZodOptional<z.ZodBoolean>;
@@ -25806,6 +25806,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25806
25806
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25807
25807
  id: z.ZodString;
25808
25808
  name: z.ZodString;
25809
+ createdAt: z.ZodOptional<z.ZodString>;
25810
+ updatedAt: z.ZodOptional<z.ZodString>;
25809
25811
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25810
25812
  models: z.ZodOptional<z.ZodObject<{
25811
25813
  base: z.ZodOptional<z.ZodObject<{
@@ -25827,8 +25829,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25827
25829
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
25828
25830
  }, z.core.$strip>>;
25829
25831
  }, z.core.$strip>>;
25830
- createdAt: z.ZodOptional<z.ZodString>;
25831
- updatedAt: z.ZodOptional<z.ZodString>;
25832
25832
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25833
25833
  outputContract: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25834
25834
  allowText: z.ZodOptional<z.ZodBoolean>;
@@ -26061,6 +26061,7 @@ declare const ProjectInsertSchema: z.ZodObject<{
26061
26061
  id: z.ZodString;
26062
26062
  name: z.ZodString;
26063
26063
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26064
+ tenantId: z.ZodString;
26064
26065
  models: z.ZodObject<{
26065
26066
  base: z.ZodObject<{
26066
26067
  model: z.ZodOptional<z.ZodString>;
@@ -26085,7 +26086,6 @@ declare const ProjectInsertSchema: z.ZodObject<{
26085
26086
  transferCountIs: z.ZodOptional<z.ZodInt>;
26086
26087
  stepCountIs: z.ZodOptional<z.ZodInt>;
26087
26088
  }, z.core.$strip>>;
26088
- tenantId: z.ZodString;
26089
26089
  }, {
26090
26090
  out: {};
26091
26091
  in: {};
@@ -26124,6 +26124,8 @@ declare const ProjectUpdateSchema: z.ZodObject<{
26124
26124
  declare const ProjectApiSelectSchema: z.ZodObject<{
26125
26125
  id: z.ZodString;
26126
26126
  name: z.ZodString;
26127
+ createdAt: z.ZodString;
26128
+ updatedAt: z.ZodString;
26127
26129
  description: z.ZodNullable<z.ZodString>;
26128
26130
  models: z.ZodNullable<z.ZodObject<{
26129
26131
  base: z.ZodObject<{
@@ -26149,8 +26151,6 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
26149
26151
  transferCountIs: z.ZodOptional<z.ZodInt>;
26150
26152
  stepCountIs: z.ZodOptional<z.ZodInt>;
26151
26153
  }, z.core.$strip>>;
26152
- createdAt: z.ZodString;
26153
- updatedAt: z.ZodString;
26154
26154
  }, {
26155
26155
  out: {};
26156
26156
  in: {};
@@ -26256,6 +26256,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26256
26256
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26257
26257
  id: z.ZodString;
26258
26258
  name: z.ZodString;
26259
+ createdAt: z.ZodOptional<z.ZodString>;
26260
+ updatedAt: z.ZodOptional<z.ZodString>;
26259
26261
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26260
26262
  models: z.ZodOptional<z.ZodObject<{
26261
26263
  base: z.ZodOptional<z.ZodObject<{
@@ -26277,8 +26279,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26277
26279
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
26278
26280
  }, z.core.$strip>>;
26279
26281
  }, z.core.$strip>>;
26280
- createdAt: z.ZodOptional<z.ZodString>;
26281
- updatedAt: z.ZodOptional<z.ZodString>;
26282
26282
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
26283
26283
  outputContract: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26284
26284
  allowText: z.ZodOptional<z.ZodBoolean>;
@@ -26604,10 +26604,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26604
26604
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26605
26605
  id: z.ZodString;
26606
26606
  name: z.ZodString;
26607
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26607
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26608
26608
  credentialStoreId: z.ZodString;
26609
26609
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26610
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26610
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26611
26611
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26612
26612
  type: z.ZodEnum<{
26613
26613
  readonly memory: "memory";
@@ -26625,6 +26625,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26625
26625
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26626
26626
  id: z.ZodString;
26627
26627
  name: z.ZodString;
26628
+ createdAt: z.ZodString;
26629
+ updatedAt: z.ZodString;
26628
26630
  description: z.ZodNullable<z.ZodString>;
26629
26631
  models: z.ZodNullable<z.ZodType<{
26630
26632
  base?: {
@@ -26712,8 +26714,6 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26712
26714
  }, {
26713
26715
  stepCountIs?: number | undefined;
26714
26716
  }>>>;
26715
- createdAt: z.ZodString;
26716
- updatedAt: z.ZodString;
26717
26717
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26718
26718
  outputContract: z.ZodNullable<z.ZodType<{
26719
26719
  [x: string]: unknown;
@@ -26775,6 +26775,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26775
26775
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26776
26776
  id: z.ZodString;
26777
26777
  name: z.ZodString;
26778
+ createdAt: z.ZodString;
26779
+ updatedAt: z.ZodString;
26778
26780
  description: z.ZodNullable<z.ZodString>;
26779
26781
  models: z.ZodNullable<z.ZodType<{
26780
26782
  base?: {
@@ -26862,8 +26864,6 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26862
26864
  }, {
26863
26865
  stepCountIs?: number | undefined;
26864
26866
  }>>>;
26865
- createdAt: z.ZodString;
26866
- updatedAt: z.ZodString;
26867
26867
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26868
26868
  outputContract: z.ZodNullable<z.ZodType<{
26869
26869
  [x: string]: unknown;
@@ -26931,15 +26931,17 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26931
26931
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26932
26932
  id: z.ZodString;
26933
26933
  name: z.ZodString;
26934
- description: z.ZodNullable<z.ZodString>;
26935
26934
  createdAt: z.ZodString;
26936
26935
  updatedAt: z.ZodString;
26936
+ description: z.ZodNullable<z.ZodString>;
26937
26937
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26938
26938
  contextConfigId: z.ZodNullable<z.ZodString>;
26939
26939
  executionMode: z.ZodString;
26940
26940
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26941
26941
  id: z.ZodString;
26942
26942
  name: z.ZodString;
26943
+ createdAt: z.ZodString;
26944
+ updatedAt: z.ZodString;
26943
26945
  description: z.ZodNullable<z.ZodString>;
26944
26946
  models: z.ZodNullable<z.ZodType<{
26945
26947
  base?: {
@@ -27027,8 +27029,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27027
27029
  }, {
27028
27030
  stepCountIs?: number | undefined;
27029
27031
  }>>>;
27030
- createdAt: z.ZodString;
27031
- updatedAt: z.ZodString;
27032
27032
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27033
27033
  outputContract: z.ZodNullable<z.ZodType<{
27034
27034
  [x: string]: unknown;
@@ -27090,9 +27090,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27090
27090
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27091
27091
  id: z.ZodString;
27092
27092
  name: z.ZodString;
27093
- description: z.ZodNullable<z.ZodString>;
27094
27093
  createdAt: z.ZodString;
27095
27094
  updatedAt: z.ZodString;
27095
+ description: z.ZodNullable<z.ZodString>;
27096
27096
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27097
27097
  config: z.ZodType<{
27098
27098
  type: "mcp";
@@ -27117,9 +27117,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27117
27117
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27118
27118
  id: z.ZodString;
27119
27119
  name: z.ZodString;
27120
- description: z.ZodNullable<z.ZodString>;
27121
27120
  createdAt: z.ZodString;
27122
27121
  updatedAt: z.ZodString;
27122
+ description: z.ZodNullable<z.ZodString>;
27123
27123
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27124
27124
  baseUrl: z.ZodString;
27125
27125
  }, z.core.$strip>>>;
@@ -27131,9 +27131,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27131
27131
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27132
27132
  id: z.ZodString;
27133
27133
  name: z.ZodString;
27134
- description: z.ZodNullable<z.ZodString>;
27135
27134
  createdAt: z.ZodString;
27136
27135
  updatedAt: z.ZodString;
27136
+ description: z.ZodNullable<z.ZodString>;
27137
27137
  agentId: z.ZodString;
27138
27138
  functionId: z.ZodString;
27139
27139
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -27196,18 +27196,18 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27196
27196
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
27197
27197
  id: z.ZodString;
27198
27198
  name: z.ZodString;
27199
- description: z.ZodNullable<z.ZodString>;
27200
27199
  createdAt: z.ZodString;
27201
27200
  updatedAt: z.ZodString;
27201
+ description: z.ZodNullable<z.ZodString>;
27202
27202
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
27203
27203
  contextConfigId: z.ZodNullable<z.ZodString>;
27204
27204
  executionMode: z.ZodString;
27205
27205
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27206
27206
  id: z.ZodString;
27207
27207
  name: z.ZodString;
27208
- description: z.ZodNullable<z.ZodString>;
27209
27208
  createdAt: z.ZodString;
27210
27209
  updatedAt: z.ZodString;
27210
+ description: z.ZodNullable<z.ZodString>;
27211
27211
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27212
27212
  config: z.ZodType<{
27213
27213
  type: "mcp";
@@ -27232,9 +27232,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27232
27232
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27233
27233
  id: z.ZodString;
27234
27234
  name: z.ZodString;
27235
- description: z.ZodNullable<z.ZodString>;
27236
27235
  createdAt: z.ZodString;
27237
27236
  updatedAt: z.ZodString;
27237
+ description: z.ZodNullable<z.ZodString>;
27238
27238
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27239
27239
  baseUrl: z.ZodString;
27240
27240
  }, z.core.$strip>>>;
@@ -27246,9 +27246,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27246
27246
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27247
27247
  id: z.ZodString;
27248
27248
  name: z.ZodString;
27249
- description: z.ZodNullable<z.ZodString>;
27250
27249
  createdAt: z.ZodString;
27251
27250
  updatedAt: z.ZodString;
27251
+ description: z.ZodNullable<z.ZodString>;
27252
27252
  agentId: z.ZodString;
27253
27253
  functionId: z.ZodString;
27254
27254
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -27310,6 +27310,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27310
27310
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27311
27311
  id: z.ZodString;
27312
27312
  name: z.ZodString;
27313
+ createdAt: z.ZodString;
27314
+ updatedAt: z.ZodString;
27313
27315
  description: z.ZodNullable<z.ZodString>;
27314
27316
  models: z.ZodNullable<z.ZodType<{
27315
27317
  base?: {
@@ -27397,8 +27399,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27397
27399
  }, {
27398
27400
  stepCountIs?: number | undefined;
27399
27401
  }>>>;
27400
- createdAt: z.ZodString;
27401
- updatedAt: z.ZodString;
27402
27402
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27403
27403
  outputContract: z.ZodNullable<z.ZodType<{
27404
27404
  [x: string]: unknown;
@@ -27467,6 +27467,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27467
27467
  declare const FullProjectSelectSchema: z.ZodObject<{
27468
27468
  id: z.ZodString;
27469
27469
  name: z.ZodString;
27470
+ createdAt: z.ZodString;
27471
+ updatedAt: z.ZodString;
27470
27472
  description: z.ZodNullable<z.ZodString>;
27471
27473
  models: z.ZodNullable<z.ZodObject<{
27472
27474
  base: z.ZodObject<{
@@ -27492,20 +27494,20 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27492
27494
  transferCountIs: z.ZodOptional<z.ZodInt>;
27493
27495
  stepCountIs: z.ZodOptional<z.ZodInt>;
27494
27496
  }, z.core.$strip>>;
27495
- createdAt: z.ZodString;
27496
- updatedAt: z.ZodString;
27497
27497
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
27498
27498
  id: z.ZodString;
27499
27499
  name: z.ZodString;
27500
- description: z.ZodNullable<z.ZodString>;
27501
27500
  createdAt: z.ZodString;
27502
27501
  updatedAt: z.ZodString;
27502
+ description: z.ZodNullable<z.ZodString>;
27503
27503
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
27504
27504
  contextConfigId: z.ZodNullable<z.ZodString>;
27505
27505
  executionMode: z.ZodString;
27506
27506
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27507
27507
  id: z.ZodString;
27508
27508
  name: z.ZodString;
27509
+ createdAt: z.ZodString;
27510
+ updatedAt: z.ZodString;
27509
27511
  description: z.ZodNullable<z.ZodString>;
27510
27512
  models: z.ZodNullable<z.ZodType<{
27511
27513
  base?: {
@@ -27593,8 +27595,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27593
27595
  }, {
27594
27596
  stepCountIs?: number | undefined;
27595
27597
  }>>>;
27596
- createdAt: z.ZodString;
27597
- updatedAt: z.ZodString;
27598
27598
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27599
27599
  outputContract: z.ZodNullable<z.ZodType<{
27600
27600
  [x: string]: unknown;
@@ -27656,9 +27656,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27656
27656
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27657
27657
  id: z.ZodString;
27658
27658
  name: z.ZodString;
27659
- description: z.ZodNullable<z.ZodString>;
27660
27659
  createdAt: z.ZodString;
27661
27660
  updatedAt: z.ZodString;
27661
+ description: z.ZodNullable<z.ZodString>;
27662
27662
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27663
27663
  config: z.ZodType<{
27664
27664
  type: "mcp";
@@ -27683,9 +27683,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27683
27683
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27684
27684
  id: z.ZodString;
27685
27685
  name: z.ZodString;
27686
- description: z.ZodNullable<z.ZodString>;
27687
27686
  createdAt: z.ZodString;
27688
27687
  updatedAt: z.ZodString;
27688
+ description: z.ZodNullable<z.ZodString>;
27689
27689
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27690
27690
  baseUrl: z.ZodString;
27691
27691
  }, z.core.$strip>>>;
@@ -27697,9 +27697,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27697
27697
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27698
27698
  id: z.ZodString;
27699
27699
  name: z.ZodString;
27700
- description: z.ZodNullable<z.ZodString>;
27701
27700
  createdAt: z.ZodString;
27702
27701
  updatedAt: z.ZodString;
27702
+ description: z.ZodNullable<z.ZodString>;
27703
27703
  agentId: z.ZodString;
27704
27704
  functionId: z.ZodString;
27705
27705
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -27762,9 +27762,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27762
27762
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
27763
27763
  id: z.ZodString;
27764
27764
  name: z.ZodString;
27765
- description: z.ZodNullable<z.ZodString>;
27766
27765
  createdAt: z.ZodString;
27767
27766
  updatedAt: z.ZodString;
27767
+ description: z.ZodNullable<z.ZodString>;
27768
27768
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27769
27769
  config: z.ZodType<{
27770
27770
  type: "mcp";
@@ -27789,9 +27789,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27789
27789
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27790
27790
  id: z.ZodString;
27791
27791
  name: z.ZodString;
27792
- description: z.ZodNullable<z.ZodString>;
27793
27792
  createdAt: z.ZodString;
27794
27793
  updatedAt: z.ZodString;
27794
+ description: z.ZodNullable<z.ZodString>;
27795
27795
  agentId: z.ZodString;
27796
27796
  functionId: z.ZodString;
27797
27797
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -27807,9 +27807,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27807
27807
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27808
27808
  id: z.ZodString;
27809
27809
  name: z.ZodString;
27810
- description: z.ZodNullable<z.ZodString>;
27811
27810
  createdAt: z.ZodString;
27812
27811
  updatedAt: z.ZodString;
27812
+ description: z.ZodNullable<z.ZodString>;
27813
27813
  props: z.ZodType<{
27814
27814
  [x: string]: unknown;
27815
27815
  type: "object";
@@ -27856,9 +27856,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27856
27856
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27857
27857
  id: z.ZodString;
27858
27858
  name: z.ZodString;
27859
- description: z.ZodNullable<z.ZodString>;
27860
27859
  createdAt: z.ZodString;
27861
27860
  updatedAt: z.ZodString;
27861
+ description: z.ZodNullable<z.ZodString>;
27862
27862
  props: z.ZodNullable<z.ZodType<{
27863
27863
  [x: string]: unknown;
27864
27864
  type: "object";
@@ -27905,9 +27905,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27905
27905
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27906
27906
  id: z.ZodString;
27907
27907
  name: z.ZodString;
27908
- description: z.ZodNullable<z.ZodString>;
27909
27908
  createdAt: z.ZodString;
27910
27909
  updatedAt: z.ZodString;
27910
+ description: z.ZodNullable<z.ZodString>;
27911
27911
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27912
27912
  baseUrl: z.ZodString;
27913
27913
  }, z.core.$strip>>>;
@@ -27931,10 +27931,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27931
27931
  name: z.ZodString;
27932
27932
  createdAt: z.ZodString;
27933
27933
  updatedAt: z.ZodString;
27934
- toolId: z.ZodNullable<z.ZodString>;
27934
+ userId: z.ZodNullable<z.ZodString>;
27935
27935
  credentialStoreId: z.ZodString;
27936
27936
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27937
- userId: z.ZodNullable<z.ZodString>;
27937
+ toolId: z.ZodNullable<z.ZodString>;
27938
27938
  createdBy: z.ZodNullable<z.ZodString>;
27939
27939
  type: z.ZodEnum<{
27940
27940
  readonly memory: "memory";
@@ -28525,6 +28525,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
28525
28525
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28526
28526
  id: z.ZodString;
28527
28527
  name: z.ZodString;
28528
+ createdAt: z.ZodString;
28529
+ updatedAt: z.ZodString;
28528
28530
  description: z.ZodNullable<z.ZodString>;
28529
28531
  models: z.ZodNullable<z.ZodObject<{
28530
28532
  base: z.ZodObject<{
@@ -28550,14 +28552,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28550
28552
  transferCountIs: z.ZodOptional<z.ZodInt>;
28551
28553
  stepCountIs: z.ZodOptional<z.ZodInt>;
28552
28554
  }, z.core.$strip>>;
28553
- createdAt: z.ZodString;
28554
- updatedAt: z.ZodString;
28555
28555
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
28556
28556
  id: z.ZodString;
28557
28557
  name: z.ZodString;
28558
- description: z.ZodNullable<z.ZodString>;
28559
28558
  createdAt: z.ZodString;
28560
28559
  updatedAt: z.ZodString;
28560
+ description: z.ZodNullable<z.ZodString>;
28561
28561
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
28562
28562
  config: z.ZodType<{
28563
28563
  type: "mcp";
@@ -28582,9 +28582,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28582
28582
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28583
28583
  id: z.ZodString;
28584
28584
  name: z.ZodString;
28585
- description: z.ZodNullable<z.ZodString>;
28586
28585
  createdAt: z.ZodString;
28587
28586
  updatedAt: z.ZodString;
28587
+ description: z.ZodNullable<z.ZodString>;
28588
28588
  agentId: z.ZodString;
28589
28589
  functionId: z.ZodString;
28590
28590
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -28600,9 +28600,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28600
28600
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28601
28601
  id: z.ZodString;
28602
28602
  name: z.ZodString;
28603
- description: z.ZodNullable<z.ZodString>;
28604
28603
  createdAt: z.ZodString;
28605
28604
  updatedAt: z.ZodString;
28605
+ description: z.ZodNullable<z.ZodString>;
28606
28606
  props: z.ZodType<{
28607
28607
  [x: string]: unknown;
28608
28608
  type: "object";
@@ -28649,9 +28649,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28649
28649
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28650
28650
  id: z.ZodString;
28651
28651
  name: z.ZodString;
28652
- description: z.ZodNullable<z.ZodString>;
28653
28652
  createdAt: z.ZodString;
28654
28653
  updatedAt: z.ZodString;
28654
+ description: z.ZodNullable<z.ZodString>;
28655
28655
  props: z.ZodNullable<z.ZodType<{
28656
28656
  [x: string]: unknown;
28657
28657
  type: "object";
@@ -28698,9 +28698,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28698
28698
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28699
28699
  id: z.ZodString;
28700
28700
  name: z.ZodString;
28701
- description: z.ZodNullable<z.ZodString>;
28702
28701
  createdAt: z.ZodString;
28703
28702
  updatedAt: z.ZodString;
28703
+ description: z.ZodNullable<z.ZodString>;
28704
28704
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28705
28705
  baseUrl: z.ZodString;
28706
28706
  }, z.core.$strip>>>;
@@ -28724,10 +28724,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28724
28724
  name: z.ZodString;
28725
28725
  createdAt: z.ZodString;
28726
28726
  updatedAt: z.ZodString;
28727
- toolId: z.ZodNullable<z.ZodString>;
28727
+ userId: z.ZodNullable<z.ZodString>;
28728
28728
  credentialStoreId: z.ZodString;
28729
28729
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28730
- userId: z.ZodNullable<z.ZodString>;
28730
+ toolId: z.ZodNullable<z.ZodString>;
28731
28731
  createdBy: z.ZodNullable<z.ZodString>;
28732
28732
  type: z.ZodEnum<{
28733
28733
  readonly memory: "memory";
@@ -29314,18 +29314,18 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29314
29314
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
29315
29315
  id: z.ZodString;
29316
29316
  name: z.ZodString;
29317
- description: z.ZodNullable<z.ZodString>;
29318
29317
  createdAt: z.ZodString;
29319
29318
  updatedAt: z.ZodString;
29319
+ description: z.ZodNullable<z.ZodString>;
29320
29320
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
29321
29321
  contextConfigId: z.ZodNullable<z.ZodString>;
29322
29322
  executionMode: z.ZodString;
29323
29323
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29324
29324
  id: z.ZodString;
29325
29325
  name: z.ZodString;
29326
- description: z.ZodNullable<z.ZodString>;
29327
29326
  createdAt: z.ZodString;
29328
29327
  updatedAt: z.ZodString;
29328
+ description: z.ZodNullable<z.ZodString>;
29329
29329
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
29330
29330
  config: z.ZodType<{
29331
29331
  type: "mcp";
@@ -29350,9 +29350,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29350
29350
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29351
29351
  id: z.ZodString;
29352
29352
  name: z.ZodString;
29353
- description: z.ZodNullable<z.ZodString>;
29354
29353
  createdAt: z.ZodString;
29355
29354
  updatedAt: z.ZodString;
29355
+ description: z.ZodNullable<z.ZodString>;
29356
29356
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29357
29357
  baseUrl: z.ZodString;
29358
29358
  }, z.core.$strip>>>;
@@ -29364,9 +29364,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29364
29364
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29365
29365
  id: z.ZodString;
29366
29366
  name: z.ZodString;
29367
- description: z.ZodNullable<z.ZodString>;
29368
29367
  createdAt: z.ZodString;
29369
29368
  updatedAt: z.ZodString;
29369
+ description: z.ZodNullable<z.ZodString>;
29370
29370
  agentId: z.ZodString;
29371
29371
  functionId: z.ZodString;
29372
29372
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -29428,6 +29428,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29428
29428
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29429
29429
  id: z.ZodString;
29430
29430
  name: z.ZodString;
29431
+ createdAt: z.ZodString;
29432
+ updatedAt: z.ZodString;
29431
29433
  description: z.ZodNullable<z.ZodString>;
29432
29434
  models: z.ZodNullable<z.ZodType<{
29433
29435
  base?: {
@@ -29515,8 +29517,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29515
29517
  }, {
29516
29518
  stepCountIs?: number | undefined;
29517
29519
  }>>>;
29518
- createdAt: z.ZodString;
29519
- updatedAt: z.ZodString;
29520
29520
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29521
29521
  outputContract: z.ZodNullable<z.ZodType<{
29522
29522
  [x: string]: unknown;
@@ -29590,6 +29590,8 @@ declare const ProjectResponse: z.ZodObject<{
29590
29590
  data: z.ZodObject<{
29591
29591
  id: z.ZodString;
29592
29592
  name: z.ZodString;
29593
+ createdAt: z.ZodString;
29594
+ updatedAt: z.ZodString;
29593
29595
  description: z.ZodNullable<z.ZodString>;
29594
29596
  models: z.ZodNullable<z.ZodObject<{
29595
29597
  base: z.ZodObject<{
@@ -29615,8 +29617,6 @@ declare const ProjectResponse: z.ZodObject<{
29615
29617
  transferCountIs: z.ZodOptional<z.ZodInt>;
29616
29618
  stepCountIs: z.ZodOptional<z.ZodInt>;
29617
29619
  }, z.core.$strip>>;
29618
- createdAt: z.ZodString;
29619
- updatedAt: z.ZodString;
29620
29620
  }, {
29621
29621
  out: {};
29622
29622
  in: {};
@@ -29626,7 +29626,10 @@ declare const SubAgentResponse: z.ZodObject<{
29626
29626
  data: z.ZodObject<{
29627
29627
  id: z.ZodString;
29628
29628
  name: z.ZodString;
29629
+ createdAt: z.ZodString;
29630
+ updatedAt: z.ZodString;
29629
29631
  description: z.ZodNullable<z.ZodString>;
29632
+ prompt: z.ZodNullable<z.ZodString>;
29630
29633
  models: z.ZodNullable<z.ZodType<{
29631
29634
  base?: {
29632
29635
  model?: string | undefined;
@@ -29713,9 +29716,6 @@ declare const SubAgentResponse: z.ZodObject<{
29713
29716
  }, {
29714
29717
  stepCountIs?: number | undefined;
29715
29718
  }>>>;
29716
- createdAt: z.ZodString;
29717
- updatedAt: z.ZodString;
29718
- prompt: z.ZodNullable<z.ZodString>;
29719
29719
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29720
29720
  outputContract: z.ZodNullable<z.ZodType<{
29721
29721
  [x: string]: unknown;
@@ -29756,7 +29756,10 @@ declare const AgentResponse: z.ZodObject<{
29756
29756
  data: z.ZodObject<{
29757
29757
  id: z.ZodString;
29758
29758
  name: z.ZodString;
29759
+ createdAt: z.ZodString;
29760
+ updatedAt: z.ZodString;
29759
29761
  description: z.ZodNullable<z.ZodString>;
29762
+ prompt: z.ZodNullable<z.ZodString>;
29760
29763
  models: z.ZodNullable<z.ZodType<{
29761
29764
  base?: {
29762
29765
  model?: string | undefined;
@@ -29843,11 +29846,8 @@ declare const AgentResponse: z.ZodObject<{
29843
29846
  }, {
29844
29847
  transferCountIs?: number | undefined;
29845
29848
  }>>>;
29846
- createdAt: z.ZodString;
29847
- updatedAt: z.ZodString;
29848
29849
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
29849
29850
  contextConfigId: z.ZodNullable<z.ZodString>;
29850
- prompt: z.ZodNullable<z.ZodString>;
29851
29851
  statusUpdates: z.ZodNullable<z.ZodType<{
29852
29852
  enabled?: boolean | undefined;
29853
29853
  numEvents?: number | undefined;
@@ -29912,9 +29912,9 @@ declare const ExternalAgentResponse: z.ZodObject<{
29912
29912
  data: z.ZodObject<{
29913
29913
  id: z.ZodString;
29914
29914
  name: z.ZodString;
29915
- description: z.ZodNullable<z.ZodString>;
29916
29915
  createdAt: z.ZodString;
29917
29916
  updatedAt: z.ZodString;
29917
+ description: z.ZodNullable<z.ZodString>;
29918
29918
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29919
29919
  baseUrl: z.ZodString;
29920
29920
  }, z.core.$strip>;
@@ -29934,8 +29934,8 @@ declare const ApiKeyResponse: z.ZodObject<{
29934
29934
  name: z.ZodNullable<z.ZodString>;
29935
29935
  createdAt: z.ZodString;
29936
29936
  updatedAt: z.ZodString;
29937
- agentId: z.ZodString;
29938
29937
  expiresAt: z.ZodNullable<z.ZodString>;
29938
+ agentId: z.ZodString;
29939
29939
  publicId: z.ZodString;
29940
29940
  keyPrefix: z.ZodString;
29941
29941
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -29950,10 +29950,10 @@ declare const CredentialReferenceResponse: z.ZodObject<{
29950
29950
  name: z.ZodString;
29951
29951
  createdAt: z.ZodString;
29952
29952
  updatedAt: z.ZodString;
29953
- toolId: z.ZodNullable<z.ZodString>;
29953
+ userId: z.ZodNullable<z.ZodString>;
29954
29954
  credentialStoreId: z.ZodString;
29955
29955
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29956
- userId: z.ZodNullable<z.ZodString>;
29956
+ toolId: z.ZodNullable<z.ZodString>;
29957
29957
  createdBy: z.ZodNullable<z.ZodString>;
29958
29958
  type: z.ZodEnum<{
29959
29959
  readonly memory: "memory";
@@ -30552,9 +30552,9 @@ declare const FunctionToolResponse: z.ZodObject<{
30552
30552
  data: z.ZodObject<{
30553
30553
  id: z.ZodString;
30554
30554
  name: z.ZodString;
30555
- description: z.ZodNullable<z.ZodString>;
30556
30555
  createdAt: z.ZodString;
30557
30556
  updatedAt: z.ZodString;
30557
+ description: z.ZodNullable<z.ZodString>;
30558
30558
  agentId: z.ZodString;
30559
30559
  functionId: z.ZodString;
30560
30560
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -30565,8 +30565,8 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
30565
30565
  id: z.ZodString;
30566
30566
  createdAt: z.ZodString;
30567
30567
  updatedAt: z.ZodString;
30568
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30569
30568
  subAgentId: z.ZodString;
30569
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30570
30570
  functionToolId: z.ZodString;
30571
30571
  }, z.core.$strip>;
30572
30572
  }, z.core.$strip>;
@@ -30574,9 +30574,9 @@ declare const DataComponentResponse: z.ZodObject<{
30574
30574
  data: z.ZodObject<{
30575
30575
  id: z.ZodString;
30576
30576
  name: z.ZodString;
30577
- description: z.ZodNullable<z.ZodString>;
30578
30577
  createdAt: z.ZodString;
30579
30578
  updatedAt: z.ZodString;
30579
+ description: z.ZodNullable<z.ZodString>;
30580
30580
  props: z.ZodType<{
30581
30581
  [x: string]: unknown;
30582
30582
  type: "object";
@@ -30625,9 +30625,9 @@ declare const ArtifactComponentResponse: z.ZodObject<{
30625
30625
  data: z.ZodObject<{
30626
30626
  id: z.ZodString;
30627
30627
  name: z.ZodString;
30628
- description: z.ZodNullable<z.ZodString>;
30629
30628
  createdAt: z.ZodString;
30630
30629
  updatedAt: z.ZodString;
30630
+ description: z.ZodNullable<z.ZodString>;
30631
30631
  props: z.ZodNullable<z.ZodType<{
30632
30632
  [x: string]: unknown;
30633
30633
  type: "object";
@@ -30687,20 +30687,20 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
30687
30687
  id: z.ZodString;
30688
30688
  createdAt: z.ZodString;
30689
30689
  updatedAt: z.ZodString;
30690
- toolId: z.ZodString;
30691
30690
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30692
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30691
+ toolId: z.ZodString;
30693
30692
  subAgentId: z.ZodString;
30694
30693
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30694
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30695
30695
  }, z.core.$strip>;
30696
30696
  }, z.core.$strip>;
30697
30697
  declare const TriggerResponse: z.ZodObject<{
30698
30698
  data: z.ZodObject<{
30699
30699
  id: z.ZodString;
30700
30700
  name: z.ZodString;
30701
- description: z.ZodNullable<z.ZodString>;
30702
30701
  createdAt: z.ZodString;
30703
30702
  updatedAt: z.ZodString;
30703
+ description: z.ZodNullable<z.ZodString>;
30704
30704
  enabled: z.ZodBoolean;
30705
30705
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30706
30706
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -30723,8 +30723,8 @@ declare const TriggerResponse: z.ZodObject<{
30723
30723
  signature: z.ZodObject<{
30724
30724
  source: z.ZodEnum<{
30725
30725
  query: "query";
30726
- header: "header";
30727
30726
  body: "body";
30727
+ header: "header";
30728
30728
  }>;
30729
30729
  key: z.ZodString;
30730
30730
  prefix: z.ZodOptional<z.ZodString>;
@@ -30733,8 +30733,8 @@ declare const TriggerResponse: z.ZodObject<{
30733
30733
  signedComponents: z.ZodArray<z.ZodObject<{
30734
30734
  source: z.ZodEnum<{
30735
30735
  literal: "literal";
30736
- header: "header";
30737
30736
  body: "body";
30737
+ header: "header";
30738
30738
  }>;
30739
30739
  key: z.ZodOptional<z.ZodString>;
30740
30740
  value: z.ZodOptional<z.ZodString>;
@@ -30761,7 +30761,6 @@ declare const TriggerInvocationResponse: z.ZodObject<{
30761
30761
  data: z.ZodObject<{
30762
30762
  id: z.ZodString;
30763
30763
  createdAt: z.ZodString;
30764
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30765
30764
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30766
30765
  type: z.ZodEnum<{
30767
30766
  commit: "commit";
@@ -30772,6 +30771,7 @@ declare const TriggerInvocationResponse: z.ZodObject<{
30772
30771
  hash: z.ZodString;
30773
30772
  }, z.core.$strip>>>;
30774
30773
  status: z.ZodString;
30774
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30775
30775
  triggerId: z.ZodString;
30776
30776
  conversationId: z.ZodNullable<z.ZodString>;
30777
30777
  batchId: z.ZodNullable<z.ZodString>;
@@ -30782,39 +30782,39 @@ declare const TriggerInvocationResponse: z.ZodObject<{
30782
30782
  }, z.core.$strip>;
30783
30783
  declare const FeedbackResponse: z.ZodObject<{
30784
30784
  data: z.ZodObject<{
30785
- type: z.ZodString;
30786
30785
  id: z.ZodString;
30787
30786
  createdAt: z.ZodString;
30788
30787
  updatedAt: z.ZodString;
30789
- details: z.ZodNullable<z.ZodString>;
30788
+ type: z.ZodString;
30790
30789
  conversationId: z.ZodString;
30791
30790
  messageId: z.ZodNullable<z.ZodString>;
30791
+ details: z.ZodNullable<z.ZodString>;
30792
30792
  }, z.core.$strip>;
30793
30793
  }, z.core.$strip>;
30794
30794
  declare const EventResponse: z.ZodObject<{
30795
30795
  data: z.ZodObject<{
30796
- type: z.ZodString;
30797
30796
  id: z.ZodString;
30798
- properties: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30799
30797
  createdAt: z.ZodString;
30800
30798
  updatedAt: z.ZodString;
30799
+ type: z.ZodString;
30801
30800
  metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30801
+ properties: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30802
30802
  agentId: z.ZodNullable<z.ZodString>;
30803
- conversationId: z.ZodNullable<z.ZodString>;
30804
30803
  userProperties: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30804
+ conversationId: z.ZodNullable<z.ZodString>;
30805
30805
  messageId: z.ZodNullable<z.ZodString>;
30806
30806
  serverMetadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30807
30807
  }, z.core.$strip>;
30808
30808
  }, z.core.$strip>;
30809
30809
  declare const BulkFeedbackResponseSchema: z.ZodObject<{
30810
30810
  data: z.ZodArray<z.ZodObject<{
30811
- type: z.ZodString;
30812
30811
  id: z.ZodString;
30813
30812
  createdAt: z.ZodString;
30814
30813
  updatedAt: z.ZodString;
30815
- details: z.ZodNullable<z.ZodString>;
30814
+ type: z.ZodString;
30816
30815
  conversationId: z.ZodString;
30817
30816
  messageId: z.ZodNullable<z.ZodString>;
30817
+ details: z.ZodNullable<z.ZodString>;
30818
30818
  }, z.core.$strip>>;
30819
30819
  errors: z.ZodArray<z.ZodObject<{
30820
30820
  index: z.ZodNumber;
@@ -30826,6 +30826,8 @@ declare const ProjectListResponse: z.ZodObject<{
30826
30826
  data: z.ZodArray<z.ZodObject<{
30827
30827
  id: z.ZodString;
30828
30828
  name: z.ZodString;
30829
+ createdAt: z.ZodString;
30830
+ updatedAt: z.ZodString;
30829
30831
  description: z.ZodNullable<z.ZodString>;
30830
30832
  models: z.ZodNullable<z.ZodObject<{
30831
30833
  base: z.ZodObject<{
@@ -30851,8 +30853,6 @@ declare const ProjectListResponse: z.ZodObject<{
30851
30853
  transferCountIs: z.ZodOptional<z.ZodInt>;
30852
30854
  stepCountIs: z.ZodOptional<z.ZodInt>;
30853
30855
  }, z.core.$strip>>;
30854
- createdAt: z.ZodString;
30855
- updatedAt: z.ZodString;
30856
30856
  }, {
30857
30857
  out: {};
30858
30858
  in: {};
@@ -30869,7 +30869,10 @@ declare const SubAgentListResponse: z.ZodObject<{
30869
30869
  data: z.ZodArray<z.ZodObject<{
30870
30870
  id: z.ZodString;
30871
30871
  name: z.ZodString;
30872
+ createdAt: z.ZodString;
30873
+ updatedAt: z.ZodString;
30872
30874
  description: z.ZodNullable<z.ZodString>;
30875
+ prompt: z.ZodNullable<z.ZodString>;
30873
30876
  models: z.ZodNullable<z.ZodType<{
30874
30877
  base?: {
30875
30878
  model?: string | undefined;
@@ -30956,9 +30959,6 @@ declare const SubAgentListResponse: z.ZodObject<{
30956
30959
  }, {
30957
30960
  stepCountIs?: number | undefined;
30958
30961
  }>>>;
30959
- createdAt: z.ZodString;
30960
- updatedAt: z.ZodString;
30961
- prompt: z.ZodNullable<z.ZodString>;
30962
30962
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30963
30963
  outputContract: z.ZodNullable<z.ZodType<{
30964
30964
  [x: string]: unknown;
@@ -31006,7 +31006,10 @@ declare const AgentListResponse: z.ZodObject<{
31006
31006
  data: z.ZodArray<z.ZodObject<{
31007
31007
  id: z.ZodString;
31008
31008
  name: z.ZodString;
31009
+ createdAt: z.ZodString;
31010
+ updatedAt: z.ZodString;
31009
31011
  description: z.ZodNullable<z.ZodString>;
31012
+ prompt: z.ZodNullable<z.ZodString>;
31010
31013
  models: z.ZodNullable<z.ZodType<{
31011
31014
  base?: {
31012
31015
  model?: string | undefined;
@@ -31093,11 +31096,8 @@ declare const AgentListResponse: z.ZodObject<{
31093
31096
  }, {
31094
31097
  transferCountIs?: number | undefined;
31095
31098
  }>>>;
31096
- createdAt: z.ZodString;
31097
- updatedAt: z.ZodString;
31098
31099
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
31099
31100
  contextConfigId: z.ZodNullable<z.ZodString>;
31100
- prompt: z.ZodNullable<z.ZodString>;
31101
31101
  statusUpdates: z.ZodNullable<z.ZodType<{
31102
31102
  enabled?: boolean | undefined;
31103
31103
  numEvents?: number | undefined;
@@ -31169,9 +31169,9 @@ declare const ExternalAgentListResponse: z.ZodObject<{
31169
31169
  data: z.ZodArray<z.ZodObject<{
31170
31170
  id: z.ZodString;
31171
31171
  name: z.ZodString;
31172
- description: z.ZodNullable<z.ZodString>;
31173
31172
  createdAt: z.ZodString;
31174
31173
  updatedAt: z.ZodString;
31174
+ description: z.ZodNullable<z.ZodString>;
31175
31175
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31176
31176
  baseUrl: z.ZodString;
31177
31177
  }, z.core.$strip>>;
@@ -31205,8 +31205,8 @@ declare const ApiKeyListResponse: z.ZodObject<{
31205
31205
  name: z.ZodNullable<z.ZodString>;
31206
31206
  createdAt: z.ZodString;
31207
31207
  updatedAt: z.ZodString;
31208
- agentId: z.ZodString;
31209
31208
  expiresAt: z.ZodNullable<z.ZodString>;
31209
+ agentId: z.ZodString;
31210
31210
  publicId: z.ZodString;
31211
31211
  keyPrefix: z.ZodString;
31212
31212
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -31224,16 +31224,16 @@ declare const ApiKeyListResponse: z.ZodObject<{
31224
31224
  }, z.core.$strip>;
31225
31225
  declare const AppResponse: z.ZodObject<{
31226
31226
  data: z.ZodObject<{
31227
- type: z.ZodString;
31228
31227
  id: z.ZodString;
31229
31228
  name: z.ZodString;
31230
- description: z.ZodNullable<z.ZodString>;
31231
31229
  createdAt: z.ZodString;
31232
31230
  updatedAt: z.ZodString;
31233
- tenantId: z.ZodNullable<z.ZodString>;
31234
- projectId: z.ZodNullable<z.ZodString>;
31231
+ type: z.ZodString;
31232
+ description: z.ZodNullable<z.ZodString>;
31235
31233
  enabled: z.ZodBoolean;
31236
31234
  prompt: z.ZodNullable<z.ZodString>;
31235
+ tenantId: z.ZodNullable<z.ZodString>;
31236
+ projectId: z.ZodNullable<z.ZodString>;
31237
31237
  lastUsedAt: z.ZodNullable<z.ZodString>;
31238
31238
  defaultProjectId: z.ZodNullable<z.ZodString>;
31239
31239
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -31284,16 +31284,16 @@ declare const AppResponse: z.ZodObject<{
31284
31284
  }, z.core.$strip>;
31285
31285
  declare const AppListResponse: z.ZodObject<{
31286
31286
  data: z.ZodArray<z.ZodObject<{
31287
- type: z.ZodString;
31288
31287
  id: z.ZodString;
31289
31288
  name: z.ZodString;
31290
- description: z.ZodNullable<z.ZodString>;
31291
31289
  createdAt: z.ZodString;
31292
31290
  updatedAt: z.ZodString;
31293
- tenantId: z.ZodNullable<z.ZodString>;
31294
- projectId: z.ZodNullable<z.ZodString>;
31291
+ type: z.ZodString;
31292
+ description: z.ZodNullable<z.ZodString>;
31295
31293
  enabled: z.ZodBoolean;
31296
31294
  prompt: z.ZodNullable<z.ZodString>;
31295
+ tenantId: z.ZodNullable<z.ZodString>;
31296
+ projectId: z.ZodNullable<z.ZodString>;
31297
31297
  lastUsedAt: z.ZodNullable<z.ZodString>;
31298
31298
  defaultProjectId: z.ZodNullable<z.ZodString>;
31299
31299
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -31361,10 +31361,10 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
31361
31361
  name: z.ZodString;
31362
31362
  createdAt: z.ZodString;
31363
31363
  updatedAt: z.ZodString;
31364
- toolId: z.ZodNullable<z.ZodString>;
31364
+ userId: z.ZodNullable<z.ZodString>;
31365
31365
  credentialStoreId: z.ZodString;
31366
31366
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31367
- userId: z.ZodNullable<z.ZodString>;
31367
+ toolId: z.ZodNullable<z.ZodString>;
31368
31368
  createdBy: z.ZodNullable<z.ZodString>;
31369
31369
  type: z.ZodEnum<{
31370
31370
  readonly memory: "memory";
@@ -31977,9 +31977,9 @@ declare const FunctionToolListResponse: z.ZodObject<{
31977
31977
  data: z.ZodArray<z.ZodObject<{
31978
31978
  id: z.ZodString;
31979
31979
  name: z.ZodString;
31980
- description: z.ZodNullable<z.ZodString>;
31981
31980
  createdAt: z.ZodString;
31982
31981
  updatedAt: z.ZodString;
31982
+ description: z.ZodNullable<z.ZodString>;
31983
31983
  agentId: z.ZodString;
31984
31984
  functionId: z.ZodString;
31985
31985
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -31997,8 +31997,8 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
31997
31997
  id: z.ZodString;
31998
31998
  createdAt: z.ZodString;
31999
31999
  updatedAt: z.ZodString;
32000
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32001
32000
  subAgentId: z.ZodString;
32001
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32002
32002
  functionToolId: z.ZodString;
32003
32003
  }, z.core.$strip>>;
32004
32004
  pagination: z.ZodObject<{
@@ -32011,13 +32011,13 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
32011
32011
  }, z.core.$strip>;
32012
32012
  declare const FeedbackListResponse: z.ZodObject<{
32013
32013
  data: z.ZodArray<z.ZodObject<{
32014
- type: z.ZodString;
32015
32014
  id: z.ZodString;
32016
32015
  createdAt: z.ZodString;
32017
32016
  updatedAt: z.ZodString;
32018
- details: z.ZodNullable<z.ZodString>;
32017
+ type: z.ZodString;
32019
32018
  conversationId: z.ZodString;
32020
32019
  messageId: z.ZodNullable<z.ZodString>;
32020
+ details: z.ZodNullable<z.ZodString>;
32021
32021
  agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32022
32022
  }, z.core.$strip>>;
32023
32023
  pagination: z.ZodObject<{
@@ -32032,9 +32032,9 @@ declare const DataComponentListResponse: z.ZodObject<{
32032
32032
  data: z.ZodArray<z.ZodObject<{
32033
32033
  id: z.ZodString;
32034
32034
  name: z.ZodString;
32035
- description: z.ZodNullable<z.ZodString>;
32036
32035
  createdAt: z.ZodString;
32037
32036
  updatedAt: z.ZodString;
32037
+ description: z.ZodNullable<z.ZodString>;
32038
32038
  props: z.ZodType<{
32039
32039
  [x: string]: unknown;
32040
32040
  type: "object";
@@ -32090,9 +32090,9 @@ declare const ArtifactComponentListResponse: z.ZodObject<{
32090
32090
  data: z.ZodArray<z.ZodObject<{
32091
32091
  id: z.ZodString;
32092
32092
  name: z.ZodString;
32093
- description: z.ZodNullable<z.ZodString>;
32094
32093
  createdAt: z.ZodString;
32095
32094
  updatedAt: z.ZodString;
32095
+ description: z.ZodNullable<z.ZodString>;
32096
32096
  props: z.ZodNullable<z.ZodType<{
32097
32097
  [x: string]: unknown;
32098
32098
  type: "object";
@@ -32166,11 +32166,11 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
32166
32166
  id: z.ZodString;
32167
32167
  createdAt: z.ZodString;
32168
32168
  updatedAt: z.ZodString;
32169
- toolId: z.ZodString;
32170
32169
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32171
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32170
+ toolId: z.ZodString;
32172
32171
  subAgentId: z.ZodString;
32173
32172
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32173
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32174
32174
  }, z.core.$strip>>;
32175
32175
  pagination: z.ZodObject<{
32176
32176
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -32184,9 +32184,9 @@ declare const TriggerListResponse: z.ZodObject<{
32184
32184
  data: z.ZodArray<z.ZodObject<{
32185
32185
  id: z.ZodString;
32186
32186
  name: z.ZodString;
32187
- description: z.ZodNullable<z.ZodString>;
32188
32187
  createdAt: z.ZodString;
32189
32188
  updatedAt: z.ZodString;
32189
+ description: z.ZodNullable<z.ZodString>;
32190
32190
  enabled: z.ZodBoolean;
32191
32191
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32192
32192
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -32209,8 +32209,8 @@ declare const TriggerListResponse: z.ZodObject<{
32209
32209
  signature: z.ZodObject<{
32210
32210
  source: z.ZodEnum<{
32211
32211
  query: "query";
32212
- header: "header";
32213
32212
  body: "body";
32213
+ header: "header";
32214
32214
  }>;
32215
32215
  key: z.ZodString;
32216
32216
  prefix: z.ZodOptional<z.ZodString>;
@@ -32219,8 +32219,8 @@ declare const TriggerListResponse: z.ZodObject<{
32219
32219
  signedComponents: z.ZodArray<z.ZodObject<{
32220
32220
  source: z.ZodEnum<{
32221
32221
  literal: "literal";
32222
- header: "header";
32223
32222
  body: "body";
32223
+ header: "header";
32224
32224
  }>;
32225
32225
  key: z.ZodOptional<z.ZodString>;
32226
32226
  value: z.ZodOptional<z.ZodString>;
@@ -32254,7 +32254,6 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
32254
32254
  data: z.ZodArray<z.ZodObject<{
32255
32255
  id: z.ZodString;
32256
32256
  createdAt: z.ZodString;
32257
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32258
32257
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32259
32258
  type: z.ZodEnum<{
32260
32259
  commit: "commit";
@@ -32265,6 +32264,7 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
32265
32264
  hash: z.ZodString;
32266
32265
  }, z.core.$strip>>>;
32267
32266
  status: z.ZodString;
32267
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32268
32268
  triggerId: z.ZodString;
32269
32269
  conversationId: z.ZodNullable<z.ZodString>;
32270
32270
  batchId: z.ZodNullable<z.ZodString>;
@@ -32284,9 +32284,9 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
32284
32284
  data: z.ZodObject<{
32285
32285
  id: z.ZodString;
32286
32286
  name: z.ZodString;
32287
- description: z.ZodNullable<z.ZodString>;
32288
32287
  createdAt: z.ZodString;
32289
32288
  updatedAt: z.ZodString;
32289
+ description: z.ZodNullable<z.ZodString>;
32290
32290
  enabled: z.ZodBoolean;
32291
32291
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32292
32292
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -32309,8 +32309,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
32309
32309
  signature: z.ZodObject<{
32310
32310
  source: z.ZodEnum<{
32311
32311
  query: "query";
32312
- header: "header";
32313
32312
  body: "body";
32313
+ header: "header";
32314
32314
  }>;
32315
32315
  key: z.ZodString;
32316
32316
  prefix: z.ZodOptional<z.ZodString>;
@@ -32319,8 +32319,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
32319
32319
  signedComponents: z.ZodArray<z.ZodObject<{
32320
32320
  source: z.ZodEnum<{
32321
32321
  literal: "literal";
32322
- header: "header";
32323
32322
  body: "body";
32323
+ header: "header";
32324
32324
  }>;
32325
32325
  key: z.ZodOptional<z.ZodString>;
32326
32326
  value: z.ZodOptional<z.ZodString>;
@@ -32350,9 +32350,9 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
32350
32350
  data: z.ZodObject<{
32351
32351
  id: z.ZodString;
32352
32352
  name: z.ZodString;
32353
- description: z.ZodNullable<z.ZodString>;
32354
32353
  createdAt: z.ZodString;
32355
32354
  updatedAt: z.ZodString;
32355
+ description: z.ZodNullable<z.ZodString>;
32356
32356
  enabled: z.ZodBoolean;
32357
32357
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32358
32358
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -32375,8 +32375,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
32375
32375
  signature: z.ZodObject<{
32376
32376
  source: z.ZodEnum<{
32377
32377
  query: "query";
32378
- header: "header";
32379
32378
  body: "body";
32379
+ header: "header";
32380
32380
  }>;
32381
32381
  key: z.ZodString;
32382
32382
  prefix: z.ZodOptional<z.ZodString>;
@@ -32385,8 +32385,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
32385
32385
  signedComponents: z.ZodArray<z.ZodObject<{
32386
32386
  source: z.ZodEnum<{
32387
32387
  literal: "literal";
32388
- header: "header";
32389
32388
  body: "body";
32389
+ header: "header";
32390
32390
  }>;
32391
32391
  key: z.ZodOptional<z.ZodString>;
32392
32392
  value: z.ZodOptional<z.ZodString>;
@@ -32417,9 +32417,9 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
32417
32417
  data: z.ZodArray<z.ZodObject<{
32418
32418
  id: z.ZodString;
32419
32419
  name: z.ZodString;
32420
- description: z.ZodNullable<z.ZodString>;
32421
32420
  createdAt: z.ZodString;
32422
32421
  updatedAt: z.ZodString;
32422
+ description: z.ZodNullable<z.ZodString>;
32423
32423
  enabled: z.ZodBoolean;
32424
32424
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32425
32425
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -32442,8 +32442,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
32442
32442
  signature: z.ZodObject<{
32443
32443
  source: z.ZodEnum<{
32444
32444
  query: "query";
32445
- header: "header";
32446
32445
  body: "body";
32446
+ header: "header";
32447
32447
  }>;
32448
32448
  key: z.ZodString;
32449
32449
  prefix: z.ZodOptional<z.ZodString>;
@@ -32452,8 +32452,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
32452
32452
  signedComponents: z.ZodArray<z.ZodObject<{
32453
32453
  source: z.ZodEnum<{
32454
32454
  literal: "literal";
32455
- header: "header";
32456
32455
  body: "body";
32456
+ header: "header";
32457
32457
  }>;
32458
32458
  key: z.ZodOptional<z.ZodString>;
32459
32459
  value: z.ZodOptional<z.ZodString>;
@@ -32496,27 +32496,27 @@ declare const LastRunSummarySchema: z.ZodObject<{
32496
32496
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
32497
32497
  id: z.ZodString;
32498
32498
  name: z.ZodString;
32499
- description: z.ZodNullable<z.ZodString>;
32500
32499
  createdAt: z.ZodString;
32501
32500
  updatedAt: z.ZodString;
32501
+ ref: z.ZodString;
32502
+ description: z.ZodNullable<z.ZodString>;
32502
32503
  enabled: z.ZodBoolean;
32504
+ payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32503
32505
  createdBy: z.ZodNullable<z.ZodString>;
32504
32506
  messageTemplate: z.ZodNullable<z.ZodString>;
32505
32507
  runAsUserId: z.ZodNullable<z.ZodString>;
32506
32508
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
32507
- ref: z.ZodString;
32508
- payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32509
+ datasetRunConfigId: z.ZodNullable<z.ZodString>;
32509
32510
  cronExpression: z.ZodNullable<z.ZodString>;
32510
32511
  cronTimezone: z.ZodNullable<z.ZodString>;
32511
32512
  runAt: z.ZodNullable<z.ZodString>;
32512
32513
  maxRetries: z.ZodInt;
32513
32514
  retryDelaySeconds: z.ZodInt;
32514
32515
  timeoutSeconds: z.ZodInt;
32515
- datasetRunConfigId: z.ZodNullable<z.ZodString>;
32516
32516
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
32517
32517
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
32518
- failed: "failed";
32519
32518
  completed: "completed";
32519
+ failed: "failed";
32520
32520
  }>>;
32521
32521
  lastRunConversationIds: z.ZodArray<z.ZodString>;
32522
32522
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -32535,16 +32535,17 @@ declare const ScheduledTriggerResponse: z.ZodObject<{
32535
32535
  data: z.ZodObject<{
32536
32536
  id: z.ZodString;
32537
32537
  name: z.ZodString;
32538
- description: z.ZodNullable<z.ZodString>;
32539
32538
  createdAt: z.ZodString;
32540
32539
  updatedAt: z.ZodString;
32540
+ ref: z.ZodString;
32541
+ description: z.ZodNullable<z.ZodString>;
32541
32542
  enabled: z.ZodBoolean;
32543
+ payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32542
32544
  createdBy: z.ZodNullable<z.ZodString>;
32543
32545
  messageTemplate: z.ZodNullable<z.ZodString>;
32544
32546
  runAsUserId: z.ZodNullable<z.ZodString>;
32545
32547
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
32546
- ref: z.ZodString;
32547
- payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32548
+ datasetRunConfigId: z.ZodNullable<z.ZodString>;
32548
32549
  cronExpression: z.ZodNullable<z.ZodString>;
32549
32550
  cronTimezone: z.ZodNullable<z.ZodString>;
32550
32551
  runAt: z.ZodNullable<z.ZodString>;
@@ -32552,23 +32553,23 @@ declare const ScheduledTriggerResponse: z.ZodObject<{
32552
32553
  retryDelaySeconds: z.ZodInt;
32553
32554
  timeoutSeconds: z.ZodInt;
32554
32555
  nextRunAt: z.ZodNullable<z.ZodString>;
32555
- datasetRunConfigId: z.ZodNullable<z.ZodString>;
32556
32556
  }, z.core.$strip>;
32557
32557
  }, z.core.$strip>;
32558
32558
  declare const ScheduledTriggerListResponse: z.ZodObject<{
32559
32559
  data: z.ZodArray<z.ZodObject<{
32560
32560
  id: z.ZodString;
32561
32561
  name: z.ZodString;
32562
- description: z.ZodNullable<z.ZodString>;
32563
32562
  createdAt: z.ZodString;
32564
32563
  updatedAt: z.ZodString;
32564
+ ref: z.ZodString;
32565
+ description: z.ZodNullable<z.ZodString>;
32565
32566
  enabled: z.ZodBoolean;
32567
+ payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32566
32568
  createdBy: z.ZodNullable<z.ZodString>;
32567
32569
  messageTemplate: z.ZodNullable<z.ZodString>;
32568
32570
  runAsUserId: z.ZodNullable<z.ZodString>;
32569
32571
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
32570
- ref: z.ZodString;
32571
- payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32572
+ datasetRunConfigId: z.ZodNullable<z.ZodString>;
32572
32573
  cronExpression: z.ZodNullable<z.ZodString>;
32573
32574
  cronTimezone: z.ZodNullable<z.ZodString>;
32574
32575
  runAt: z.ZodNullable<z.ZodString>;
@@ -32576,7 +32577,6 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
32576
32577
  retryDelaySeconds: z.ZodInt;
32577
32578
  timeoutSeconds: z.ZodInt;
32578
32579
  nextRunAt: z.ZodNullable<z.ZodString>;
32579
- datasetRunConfigId: z.ZodNullable<z.ZodString>;
32580
32580
  }, z.core.$strip>>;
32581
32581
  pagination: z.ZodObject<{
32582
32582
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -32590,27 +32590,27 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
32590
32590
  data: z.ZodArray<z.ZodObject<{
32591
32591
  id: z.ZodString;
32592
32592
  name: z.ZodString;
32593
- description: z.ZodNullable<z.ZodString>;
32594
32593
  createdAt: z.ZodString;
32595
32594
  updatedAt: z.ZodString;
32595
+ ref: z.ZodString;
32596
+ description: z.ZodNullable<z.ZodString>;
32596
32597
  enabled: z.ZodBoolean;
32598
+ payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32597
32599
  createdBy: z.ZodNullable<z.ZodString>;
32598
32600
  messageTemplate: z.ZodNullable<z.ZodString>;
32599
32601
  runAsUserId: z.ZodNullable<z.ZodString>;
32600
32602
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
32601
- ref: z.ZodString;
32602
- payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32603
+ datasetRunConfigId: z.ZodNullable<z.ZodString>;
32603
32604
  cronExpression: z.ZodNullable<z.ZodString>;
32604
32605
  cronTimezone: z.ZodNullable<z.ZodString>;
32605
32606
  runAt: z.ZodNullable<z.ZodString>;
32606
32607
  maxRetries: z.ZodInt;
32607
32608
  retryDelaySeconds: z.ZodInt;
32608
32609
  timeoutSeconds: z.ZodInt;
32609
- datasetRunConfigId: z.ZodNullable<z.ZodString>;
32610
32610
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
32611
32611
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
32612
- failed: "failed";
32613
32612
  completed: "completed";
32613
+ failed: "failed";
32614
32614
  }>>;
32615
32615
  lastRunConversationIds: z.ZodArray<z.ZodString>;
32616
32616
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -32636,7 +32636,6 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
32636
32636
  data: z.ZodObject<{
32637
32637
  id: z.ZodString;
32638
32638
  createdAt: z.ZodString;
32639
- runAsUserId: z.ZodNullable<z.ZodString>;
32640
32639
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32641
32640
  type: z.ZodEnum<{
32642
32641
  commit: "commit";
@@ -32648,17 +32647,18 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
32648
32647
  }, z.core.$strip>>>;
32649
32648
  status: z.ZodEnum<{
32650
32649
  pending: "pending";
32651
- failed: "failed";
32652
32650
  running: "running";
32653
32651
  completed: "completed";
32652
+ failed: "failed";
32654
32653
  cancelled: "cancelled";
32655
32654
  }>;
32655
+ runAsUserId: z.ZodNullable<z.ZodString>;
32656
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
32656
32657
  scheduledTriggerId: z.ZodString;
32657
32658
  scheduledFor: z.ZodString;
32658
32659
  startedAt: z.ZodNullable<z.ZodString>;
32659
32660
  completedAt: z.ZodNullable<z.ZodString>;
32660
32661
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32661
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
32662
32662
  attemptNumber: z.ZodInt;
32663
32663
  idempotencyKey: z.ZodString;
32664
32664
  }, z.core.$strip>;
@@ -32667,7 +32667,6 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
32667
32667
  data: z.ZodArray<z.ZodObject<{
32668
32668
  id: z.ZodString;
32669
32669
  createdAt: z.ZodString;
32670
- runAsUserId: z.ZodNullable<z.ZodString>;
32671
32670
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32672
32671
  type: z.ZodEnum<{
32673
32672
  commit: "commit";
@@ -32679,17 +32678,18 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
32679
32678
  }, z.core.$strip>>>;
32680
32679
  status: z.ZodEnum<{
32681
32680
  pending: "pending";
32682
- failed: "failed";
32683
32681
  running: "running";
32684
32682
  completed: "completed";
32683
+ failed: "failed";
32685
32684
  cancelled: "cancelled";
32686
32685
  }>;
32686
+ runAsUserId: z.ZodNullable<z.ZodString>;
32687
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
32687
32688
  scheduledTriggerId: z.ZodString;
32688
32689
  scheduledFor: z.ZodString;
32689
32690
  startedAt: z.ZodNullable<z.ZodString>;
32690
32691
  completedAt: z.ZodNullable<z.ZodString>;
32691
32692
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32692
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
32693
32693
  attemptNumber: z.ZodInt;
32694
32694
  idempotencyKey: z.ZodString;
32695
32695
  }, z.core.$strip>>;
@@ -32756,6 +32756,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32756
32756
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32757
32757
  id: z.ZodString;
32758
32758
  name: z.ZodString;
32759
+ createdAt: z.ZodOptional<z.ZodString>;
32760
+ updatedAt: z.ZodOptional<z.ZodString>;
32759
32761
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32760
32762
  models: z.ZodOptional<z.ZodObject<{
32761
32763
  base: z.ZodOptional<z.ZodObject<{
@@ -32777,8 +32779,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32777
32779
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
32778
32780
  }, z.core.$strip>>;
32779
32781
  }, z.core.$strip>>;
32780
- createdAt: z.ZodOptional<z.ZodString>;
32781
- updatedAt: z.ZodOptional<z.ZodString>;
32782
32782
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
32783
32783
  outputContract: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32784
32784
  allowText: z.ZodOptional<z.ZodBoolean>;
@@ -33104,10 +33104,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
33104
33104
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33105
33105
  id: z.ZodString;
33106
33106
  name: z.ZodString;
33107
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33107
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33108
33108
  credentialStoreId: z.ZodString;
33109
33109
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
33110
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33110
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33111
33111
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33112
33112
  type: z.ZodEnum<{
33113
33113
  readonly memory: "memory";
@@ -33127,6 +33127,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33127
33127
  data: z.ZodObject<{
33128
33128
  id: z.ZodString;
33129
33129
  name: z.ZodString;
33130
+ createdAt: z.ZodString;
33131
+ updatedAt: z.ZodString;
33130
33132
  description: z.ZodNullable<z.ZodString>;
33131
33133
  models: z.ZodNullable<z.ZodObject<{
33132
33134
  base: z.ZodObject<{
@@ -33152,20 +33154,20 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33152
33154
  transferCountIs: z.ZodOptional<z.ZodInt>;
33153
33155
  stepCountIs: z.ZodOptional<z.ZodInt>;
33154
33156
  }, z.core.$strip>>;
33155
- createdAt: z.ZodString;
33156
- updatedAt: z.ZodString;
33157
33157
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33158
33158
  id: z.ZodString;
33159
33159
  name: z.ZodString;
33160
- description: z.ZodNullable<z.ZodString>;
33161
33160
  createdAt: z.ZodString;
33162
33161
  updatedAt: z.ZodString;
33162
+ description: z.ZodNullable<z.ZodString>;
33163
33163
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
33164
33164
  contextConfigId: z.ZodNullable<z.ZodString>;
33165
33165
  executionMode: z.ZodString;
33166
33166
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33167
33167
  id: z.ZodString;
33168
33168
  name: z.ZodString;
33169
+ createdAt: z.ZodString;
33170
+ updatedAt: z.ZodString;
33169
33171
  description: z.ZodNullable<z.ZodString>;
33170
33172
  models: z.ZodNullable<z.ZodType<{
33171
33173
  base?: {
@@ -33253,8 +33255,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33253
33255
  }, {
33254
33256
  stepCountIs?: number | undefined;
33255
33257
  }>>>;
33256
- createdAt: z.ZodString;
33257
- updatedAt: z.ZodString;
33258
33258
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33259
33259
  outputContract: z.ZodNullable<z.ZodType<{
33260
33260
  [x: string]: unknown;
@@ -33316,9 +33316,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33316
33316
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33317
33317
  id: z.ZodString;
33318
33318
  name: z.ZodString;
33319
- description: z.ZodNullable<z.ZodString>;
33320
33319
  createdAt: z.ZodString;
33321
33320
  updatedAt: z.ZodString;
33321
+ description: z.ZodNullable<z.ZodString>;
33322
33322
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33323
33323
  config: z.ZodType<{
33324
33324
  type: "mcp";
@@ -33343,9 +33343,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33343
33343
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33344
33344
  id: z.ZodString;
33345
33345
  name: z.ZodString;
33346
- description: z.ZodNullable<z.ZodString>;
33347
33346
  createdAt: z.ZodString;
33348
33347
  updatedAt: z.ZodString;
33348
+ description: z.ZodNullable<z.ZodString>;
33349
33349
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33350
33350
  baseUrl: z.ZodString;
33351
33351
  }, z.core.$strip>>>;
@@ -33357,9 +33357,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33357
33357
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33358
33358
  id: z.ZodString;
33359
33359
  name: z.ZodString;
33360
- description: z.ZodNullable<z.ZodString>;
33361
33360
  createdAt: z.ZodString;
33362
33361
  updatedAt: z.ZodString;
33362
+ description: z.ZodNullable<z.ZodString>;
33363
33363
  agentId: z.ZodString;
33364
33364
  functionId: z.ZodString;
33365
33365
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -33422,9 +33422,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33422
33422
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
33423
33423
  id: z.ZodString;
33424
33424
  name: z.ZodString;
33425
- description: z.ZodNullable<z.ZodString>;
33426
33425
  createdAt: z.ZodString;
33427
33426
  updatedAt: z.ZodString;
33427
+ description: z.ZodNullable<z.ZodString>;
33428
33428
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33429
33429
  config: z.ZodType<{
33430
33430
  type: "mcp";
@@ -33449,9 +33449,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33449
33449
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33450
33450
  id: z.ZodString;
33451
33451
  name: z.ZodString;
33452
- description: z.ZodNullable<z.ZodString>;
33453
33452
  createdAt: z.ZodString;
33454
33453
  updatedAt: z.ZodString;
33454
+ description: z.ZodNullable<z.ZodString>;
33455
33455
  agentId: z.ZodString;
33456
33456
  functionId: z.ZodString;
33457
33457
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -33467,9 +33467,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33467
33467
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33468
33468
  id: z.ZodString;
33469
33469
  name: z.ZodString;
33470
- description: z.ZodNullable<z.ZodString>;
33471
33470
  createdAt: z.ZodString;
33472
33471
  updatedAt: z.ZodString;
33472
+ description: z.ZodNullable<z.ZodString>;
33473
33473
  props: z.ZodType<{
33474
33474
  [x: string]: unknown;
33475
33475
  type: "object";
@@ -33516,9 +33516,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33516
33516
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33517
33517
  id: z.ZodString;
33518
33518
  name: z.ZodString;
33519
- description: z.ZodNullable<z.ZodString>;
33520
33519
  createdAt: z.ZodString;
33521
33520
  updatedAt: z.ZodString;
33521
+ description: z.ZodNullable<z.ZodString>;
33522
33522
  props: z.ZodNullable<z.ZodType<{
33523
33523
  [x: string]: unknown;
33524
33524
  type: "object";
@@ -33565,9 +33565,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33565
33565
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33566
33566
  id: z.ZodString;
33567
33567
  name: z.ZodString;
33568
- description: z.ZodNullable<z.ZodString>;
33569
33568
  createdAt: z.ZodString;
33570
33569
  updatedAt: z.ZodString;
33570
+ description: z.ZodNullable<z.ZodString>;
33571
33571
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33572
33572
  baseUrl: z.ZodString;
33573
33573
  }, z.core.$strip>>>;
@@ -33591,10 +33591,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33591
33591
  name: z.ZodString;
33592
33592
  createdAt: z.ZodString;
33593
33593
  updatedAt: z.ZodString;
33594
- toolId: z.ZodNullable<z.ZodString>;
33594
+ userId: z.ZodNullable<z.ZodString>;
33595
33595
  credentialStoreId: z.ZodString;
33596
33596
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33597
- userId: z.ZodNullable<z.ZodString>;
33597
+ toolId: z.ZodNullable<z.ZodString>;
33598
33598
  createdBy: z.ZodNullable<z.ZodString>;
33599
33599
  type: z.ZodEnum<{
33600
33600
  readonly memory: "memory";
@@ -34187,6 +34187,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34187
34187
  data: z.ZodObject<{
34188
34188
  id: z.ZodString;
34189
34189
  name: z.ZodString;
34190
+ createdAt: z.ZodString;
34191
+ updatedAt: z.ZodString;
34190
34192
  description: z.ZodNullable<z.ZodString>;
34191
34193
  models: z.ZodNullable<z.ZodObject<{
34192
34194
  base: z.ZodObject<{
@@ -34212,14 +34214,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34212
34214
  transferCountIs: z.ZodOptional<z.ZodInt>;
34213
34215
  stepCountIs: z.ZodOptional<z.ZodInt>;
34214
34216
  }, z.core.$strip>>;
34215
- createdAt: z.ZodString;
34216
- updatedAt: z.ZodString;
34217
34217
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
34218
34218
  id: z.ZodString;
34219
34219
  name: z.ZodString;
34220
- description: z.ZodNullable<z.ZodString>;
34221
34220
  createdAt: z.ZodString;
34222
34221
  updatedAt: z.ZodString;
34222
+ description: z.ZodNullable<z.ZodString>;
34223
34223
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
34224
34224
  config: z.ZodType<{
34225
34225
  type: "mcp";
@@ -34244,9 +34244,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34244
34244
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34245
34245
  id: z.ZodString;
34246
34246
  name: z.ZodString;
34247
- description: z.ZodNullable<z.ZodString>;
34248
34247
  createdAt: z.ZodString;
34249
34248
  updatedAt: z.ZodString;
34249
+ description: z.ZodNullable<z.ZodString>;
34250
34250
  agentId: z.ZodString;
34251
34251
  functionId: z.ZodString;
34252
34252
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -34262,9 +34262,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34262
34262
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34263
34263
  id: z.ZodString;
34264
34264
  name: z.ZodString;
34265
- description: z.ZodNullable<z.ZodString>;
34266
34265
  createdAt: z.ZodString;
34267
34266
  updatedAt: z.ZodString;
34267
+ description: z.ZodNullable<z.ZodString>;
34268
34268
  props: z.ZodType<{
34269
34269
  [x: string]: unknown;
34270
34270
  type: "object";
@@ -34311,9 +34311,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34311
34311
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34312
34312
  id: z.ZodString;
34313
34313
  name: z.ZodString;
34314
- description: z.ZodNullable<z.ZodString>;
34315
34314
  createdAt: z.ZodString;
34316
34315
  updatedAt: z.ZodString;
34316
+ description: z.ZodNullable<z.ZodString>;
34317
34317
  props: z.ZodNullable<z.ZodType<{
34318
34318
  [x: string]: unknown;
34319
34319
  type: "object";
@@ -34360,9 +34360,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34360
34360
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34361
34361
  id: z.ZodString;
34362
34362
  name: z.ZodString;
34363
- description: z.ZodNullable<z.ZodString>;
34364
34363
  createdAt: z.ZodString;
34365
34364
  updatedAt: z.ZodString;
34365
+ description: z.ZodNullable<z.ZodString>;
34366
34366
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34367
34367
  baseUrl: z.ZodString;
34368
34368
  }, z.core.$strip>>>;
@@ -34386,10 +34386,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34386
34386
  name: z.ZodString;
34387
34387
  createdAt: z.ZodString;
34388
34388
  updatedAt: z.ZodString;
34389
- toolId: z.ZodNullable<z.ZodString>;
34389
+ userId: z.ZodNullable<z.ZodString>;
34390
34390
  credentialStoreId: z.ZodString;
34391
34391
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
34392
- userId: z.ZodNullable<z.ZodString>;
34392
+ toolId: z.ZodNullable<z.ZodString>;
34393
34393
  createdBy: z.ZodNullable<z.ZodString>;
34394
34394
  type: z.ZodEnum<{
34395
34395
  readonly memory: "memory";
@@ -34976,18 +34976,18 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34976
34976
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
34977
34977
  id: z.ZodString;
34978
34978
  name: z.ZodString;
34979
- description: z.ZodNullable<z.ZodString>;
34980
34979
  createdAt: z.ZodString;
34981
34980
  updatedAt: z.ZodString;
34981
+ description: z.ZodNullable<z.ZodString>;
34982
34982
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
34983
34983
  contextConfigId: z.ZodNullable<z.ZodString>;
34984
34984
  executionMode: z.ZodString;
34985
34985
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34986
34986
  id: z.ZodString;
34987
34987
  name: z.ZodString;
34988
- description: z.ZodNullable<z.ZodString>;
34989
34988
  createdAt: z.ZodString;
34990
34989
  updatedAt: z.ZodString;
34990
+ description: z.ZodNullable<z.ZodString>;
34991
34991
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
34992
34992
  config: z.ZodType<{
34993
34993
  type: "mcp";
@@ -35012,9 +35012,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
35012
35012
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
35013
35013
  id: z.ZodString;
35014
35014
  name: z.ZodString;
35015
- description: z.ZodNullable<z.ZodString>;
35016
35015
  createdAt: z.ZodString;
35017
35016
  updatedAt: z.ZodString;
35017
+ description: z.ZodNullable<z.ZodString>;
35018
35018
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35019
35019
  baseUrl: z.ZodString;
35020
35020
  }, z.core.$strip>>>;
@@ -35026,9 +35026,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
35026
35026
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
35027
35027
  id: z.ZodString;
35028
35028
  name: z.ZodString;
35029
- description: z.ZodNullable<z.ZodString>;
35030
35029
  createdAt: z.ZodString;
35031
35030
  updatedAt: z.ZodString;
35031
+ description: z.ZodNullable<z.ZodString>;
35032
35032
  agentId: z.ZodString;
35033
35033
  functionId: z.ZodString;
35034
35034
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -35090,6 +35090,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
35090
35090
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
35091
35091
  id: z.ZodString;
35092
35092
  name: z.ZodString;
35093
+ createdAt: z.ZodString;
35094
+ updatedAt: z.ZodString;
35093
35095
  description: z.ZodNullable<z.ZodString>;
35094
35096
  models: z.ZodNullable<z.ZodType<{
35095
35097
  base?: {
@@ -35177,8 +35179,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
35177
35179
  }, {
35178
35180
  stepCountIs?: number | undefined;
35179
35181
  }>>>;
35180
- createdAt: z.ZodString;
35181
- updatedAt: z.ZodString;
35182
35182
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
35183
35183
  outputContract: z.ZodNullable<z.ZodType<{
35184
35184
  [x: string]: unknown;
@@ -35260,6 +35260,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35260
35260
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
35261
35261
  id: z.ZodString;
35262
35262
  name: z.ZodString;
35263
+ createdAt: z.ZodOptional<z.ZodString>;
35264
+ updatedAt: z.ZodOptional<z.ZodString>;
35263
35265
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35264
35266
  models: z.ZodOptional<z.ZodObject<{
35265
35267
  base: z.ZodOptional<z.ZodObject<{
@@ -35281,8 +35283,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35281
35283
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
35282
35284
  }, z.core.$strip>>;
35283
35285
  }, z.core.$strip>>;
35284
- createdAt: z.ZodOptional<z.ZodString>;
35285
- updatedAt: z.ZodOptional<z.ZodString>;
35286
35286
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
35287
35287
  outputContract: z.ZodOptional<z.ZodNullable<z.ZodObject<{
35288
35288
  allowText: z.ZodOptional<z.ZodBoolean>;
@@ -35456,15 +35456,17 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
35456
35456
  data: z.ZodObject<{
35457
35457
  id: z.ZodString;
35458
35458
  name: z.ZodString;
35459
- description: z.ZodNullable<z.ZodString>;
35460
35459
  createdAt: z.ZodString;
35461
35460
  updatedAt: z.ZodString;
35461
+ description: z.ZodNullable<z.ZodString>;
35462
35462
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
35463
35463
  contextConfigId: z.ZodNullable<z.ZodString>;
35464
35464
  executionMode: z.ZodString;
35465
35465
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
35466
35466
  id: z.ZodString;
35467
35467
  name: z.ZodString;
35468
+ createdAt: z.ZodString;
35469
+ updatedAt: z.ZodString;
35468
35470
  description: z.ZodNullable<z.ZodString>;
35469
35471
  models: z.ZodNullable<z.ZodType<{
35470
35472
  base?: {
@@ -35552,8 +35554,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
35552
35554
  }, {
35553
35555
  stepCountIs?: number | undefined;
35554
35556
  }>>>;
35555
- createdAt: z.ZodString;
35556
- updatedAt: z.ZodString;
35557
35557
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
35558
35558
  outputContract: z.ZodNullable<z.ZodType<{
35559
35559
  [x: string]: unknown;
@@ -35615,9 +35615,9 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
35615
35615
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
35616
35616
  id: z.ZodString;
35617
35617
  name: z.ZodString;
35618
- description: z.ZodNullable<z.ZodString>;
35619
35618
  createdAt: z.ZodString;
35620
35619
  updatedAt: z.ZodString;
35620
+ description: z.ZodNullable<z.ZodString>;
35621
35621
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
35622
35622
  config: z.ZodType<{
35623
35623
  type: "mcp";
@@ -35642,9 +35642,9 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
35642
35642
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
35643
35643
  id: z.ZodString;
35644
35644
  name: z.ZodString;
35645
- description: z.ZodNullable<z.ZodString>;
35646
35645
  createdAt: z.ZodString;
35647
35646
  updatedAt: z.ZodString;
35647
+ description: z.ZodNullable<z.ZodString>;
35648
35648
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35649
35649
  baseUrl: z.ZodString;
35650
35650
  }, z.core.$strip>>>;
@@ -35656,9 +35656,9 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
35656
35656
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
35657
35657
  id: z.ZodString;
35658
35658
  name: z.ZodString;
35659
- description: z.ZodNullable<z.ZodString>;
35660
35659
  createdAt: z.ZodString;
35661
35660
  updatedAt: z.ZodString;
35661
+ description: z.ZodNullable<z.ZodString>;
35662
35662
  agentId: z.ZodString;
35663
35663
  functionId: z.ZodString;
35664
35664
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -35744,9 +35744,9 @@ declare const McpToolResponse: z.ZodObject<{
35744
35744
  id: z.ZodString;
35745
35745
  name: z.ZodString;
35746
35746
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35747
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
35747
35748
  tenantId: z.ZodString;
35748
35749
  projectId: z.ZodString;
35749
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
35750
35750
  config: z.ZodObject<{
35751
35751
  type: z.ZodLiteral<"mcp">;
35752
35752
  mcp: z.ZodObject<{
@@ -35805,9 +35805,9 @@ declare const McpToolListResponse: z.ZodObject<{
35805
35805
  id: z.ZodString;
35806
35806
  name: z.ZodString;
35807
35807
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35808
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
35808
35809
  tenantId: z.ZodString;
35809
35810
  projectId: z.ZodString;
35810
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
35811
35811
  config: z.ZodObject<{
35812
35812
  type: z.ZodLiteral<"mcp">;
35813
35813
  mcp: z.ZodObject<{
@@ -35901,8 +35901,8 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
35901
35901
  createdAt: z.ZodString;
35902
35902
  updatedAt: z.ZodString;
35903
35903
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
35904
- externalAgentId: z.ZodString;
35905
35904
  subAgentId: z.ZodString;
35905
+ externalAgentId: z.ZodString;
35906
35906
  }, z.core.$strip>;
35907
35907
  }, z.core.$strip>;
35908
35908
  declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
@@ -35911,8 +35911,8 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
35911
35911
  createdAt: z.ZodString;
35912
35912
  updatedAt: z.ZodString;
35913
35913
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
35914
- externalAgentId: z.ZodString;
35915
35914
  subAgentId: z.ZodString;
35915
+ externalAgentId: z.ZodString;
35916
35916
  }, z.core.$strip>>;
35917
35917
  pagination: z.ZodObject<{
35918
35918
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -35926,9 +35926,9 @@ declare const DataComponentArrayResponse: z.ZodObject<{
35926
35926
  data: z.ZodArray<z.ZodObject<{
35927
35927
  id: z.ZodString;
35928
35928
  name: z.ZodString;
35929
- description: z.ZodNullable<z.ZodString>;
35930
35929
  createdAt: z.ZodString;
35931
35930
  updatedAt: z.ZodString;
35931
+ description: z.ZodNullable<z.ZodString>;
35932
35932
  props: z.ZodType<{
35933
35933
  [x: string]: unknown;
35934
35934
  type: "object";
@@ -35977,9 +35977,9 @@ declare const ArtifactComponentArrayResponse: z.ZodObject<{
35977
35977
  data: z.ZodArray<z.ZodObject<{
35978
35978
  id: z.ZodString;
35979
35979
  name: z.ZodString;
35980
- description: z.ZodNullable<z.ZodString>;
35981
35980
  createdAt: z.ZodString;
35982
35981
  updatedAt: z.ZodString;
35982
+ description: z.ZodNullable<z.ZodString>;
35983
35983
  props: z.ZodNullable<z.ZodType<{
35984
35984
  [x: string]: unknown;
35985
35985
  type: "object";
@@ -36346,8 +36346,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
36346
36346
  disconnected: "disconnected";
36347
36347
  }>;
36348
36348
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
36349
- User: "User";
36350
36349
  Organization: "Organization";
36350
+ User: "User";
36351
36351
  }>;
36352
36352
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
36353
36353
  createdAt: drizzle_orm_pg_core297.PgColumn<{
@@ -36442,7 +36442,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
36442
36442
  tableName: "work_app_github_installations";
36443
36443
  dataType: "string";
36444
36444
  columnType: "PgVarchar";
36445
- data: "User" | "Organization";
36445
+ data: "Organization" | "User";
36446
36446
  driverParam: string;
36447
36447
  notNull: true;
36448
36448
  hasDefault: false;
@@ -36455,7 +36455,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
36455
36455
  generated: undefined;
36456
36456
  }, {}, {
36457
36457
  length: 20;
36458
- $type: "User" | "Organization";
36458
+ $type: "Organization" | "User";
36459
36459
  }>;
36460
36460
  status: drizzle_orm_pg_core297.PgColumn<{
36461
36461
  name: "status";
@@ -36608,7 +36608,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
36608
36608
  tableName: "work_app_github_installations";
36609
36609
  dataType: "string";
36610
36610
  columnType: "PgVarchar";
36611
- data: "User" | "Organization";
36611
+ data: "Organization" | "User";
36612
36612
  driverParam: string;
36613
36613
  notNull: true;
36614
36614
  hasDefault: false;
@@ -36621,7 +36621,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
36621
36621
  generated: undefined;
36622
36622
  }, {}, {
36623
36623
  length: 20;
36624
- $type: "User" | "Organization";
36624
+ $type: "Organization" | "User";
36625
36625
  }>;
36626
36626
  status: drizzle_orm_pg_core297.PgColumn<{
36627
36627
  name: "status";
@@ -36684,13 +36684,13 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
36684
36684
  }, undefined>, undefined>;
36685
36685
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
36686
36686
  id: z.ZodString;
36687
- tenantId: z.ZodString;
36688
36687
  accountId: z.ZodString;
36689
36688
  installationId: z.ZodString;
36690
36689
  accountLogin: z.ZodString;
36690
+ tenantId: z.ZodString;
36691
36691
  accountType: z.ZodEnum<{
36692
- User: "User";
36693
36692
  Organization: "Organization";
36693
+ User: "User";
36694
36694
  }>;
36695
36695
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
36696
36696
  pending: "pending";
@@ -36713,7 +36713,6 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<{
36713
36713
  accountType: z.ZodString;
36714
36714
  }, z.core.$strip>;
36715
36715
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<{
36716
- tenantId: z.ZodString;
36717
36716
  accountId: z.ZodString;
36718
36717
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
36719
36718
  pending: "pending";
@@ -36724,9 +36723,10 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<{
36724
36723
  installationId: z.ZodString;
36725
36724
  accountLogin: z.ZodString;
36726
36725
  accountType: z.ZodEnum<{
36727
- User: "User";
36728
36726
  Organization: "Organization";
36727
+ User: "User";
36729
36728
  }>;
36729
+ tenantId: z.ZodString;
36730
36730
  }, z.core.$strip>;
36731
36731
  declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"select", {
36732
36732
  createdAt: drizzle_orm_pg_core297.PgColumn<{
@@ -39191,10 +39191,10 @@ declare const AnonymousSessionResponseSchema: z.ZodObject<{
39191
39191
  expiresAt: z.ZodString;
39192
39192
  }, z.core.$strip>;
39193
39193
  declare const WorkflowExecutionStatusEnum: z.ZodEnum<{
39194
- failed: "failed";
39194
+ suspended: "suspended";
39195
39195
  running: "running";
39196
39196
  completed: "completed";
39197
- suspended: "suspended";
39197
+ failed: "failed";
39198
39198
  }>;
39199
39199
  declare const WorkflowExecutionSelectSchema: z.ZodObject<{
39200
39200
  createdAt: z.ZodString;
@@ -39207,10 +39207,10 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
39207
39207
  tenantId: z.ZodString;
39208
39208
  id: z.ZodString;
39209
39209
  status: z.ZodEnum<{
39210
- failed: "failed";
39210
+ suspended: "suspended";
39211
39211
  running: "running";
39212
39212
  completed: "completed";
39213
- suspended: "suspended";
39213
+ failed: "failed";
39214
39214
  }>;
39215
39215
  }, {
39216
39216
  out: {};
@@ -39218,17 +39218,17 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
39218
39218
  }>;
39219
39219
  declare const WorkflowExecutionInsertSchema: z.ZodObject<{
39220
39220
  id: z.ZodString;
39221
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
39221
39222
  tenantId: z.ZodString;
39222
39223
  projectId: z.ZodString;
39223
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
39224
39224
  agentId: z.ZodString;
39225
39225
  conversationId: z.ZodString;
39226
39226
  requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39227
39227
  status: z.ZodDefault<z.ZodEnum<{
39228
- failed: "failed";
39228
+ suspended: "suspended";
39229
39229
  running: "running";
39230
39230
  completed: "completed";
39231
- suspended: "suspended";
39231
+ failed: "failed";
39232
39232
  }>>;
39233
39233
  }, {
39234
39234
  out: {};
@@ -39236,17 +39236,17 @@ declare const WorkflowExecutionInsertSchema: z.ZodObject<{
39236
39236
  }>;
39237
39237
  declare const WorkflowExecutionUpdateSchema: z.ZodObject<{
39238
39238
  id: z.ZodOptional<z.ZodString>;
39239
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
39239
39240
  tenantId: z.ZodOptional<z.ZodString>;
39240
39241
  projectId: z.ZodOptional<z.ZodString>;
39241
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
39242
39242
  agentId: z.ZodOptional<z.ZodString>;
39243
39243
  conversationId: z.ZodOptional<z.ZodString>;
39244
39244
  requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
39245
39245
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
39246
- failed: "failed";
39246
+ suspended: "suspended";
39247
39247
  running: "running";
39248
39248
  completed: "completed";
39249
- suspended: "suspended";
39249
+ failed: "failed";
39250
39250
  }>>>;
39251
39251
  }, {
39252
39252
  out: {};