@inkeep/agents-core 0.58.6 → 0.58.8

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 (55) hide show
  1. package/dist/auth/auth-schema.d.ts +85 -85
  2. package/dist/auth/auth-validation-schemas.d.ts +152 -152
  3. package/dist/auth/auth.d.ts +28 -28
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/client-exports.d.ts +8 -6
  6. package/dist/client-exports.js +2 -2
  7. package/dist/data-access/index.d.ts +2 -1
  8. package/dist/data-access/index.js +2 -1
  9. package/dist/data-access/manage/agents.d.ts +48 -48
  10. package/dist/data-access/manage/artifactComponents.d.ts +14 -14
  11. package/dist/data-access/manage/contextConfigs.d.ts +20 -20
  12. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  13. package/dist/data-access/manage/functionTools.d.ts +20 -20
  14. package/dist/data-access/manage/skills.d.ts +17 -17
  15. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  16. package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
  17. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  18. package/dist/data-access/manage/subAgents.d.ts +24 -24
  19. package/dist/data-access/manage/tools.d.ts +27 -27
  20. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  21. package/dist/data-access/runtime/apps.d.ts +113 -0
  22. package/dist/data-access/runtime/apps.js +86 -0
  23. package/dist/data-access/runtime/cascade-delete.d.ts +2 -0
  24. package/dist/data-access/runtime/cascade-delete.js +16 -4
  25. package/dist/data-access/runtime/conversations.d.ts +24 -23
  26. package/dist/data-access/runtime/conversations.js +1 -0
  27. package/dist/data-access/runtime/messages.d.ts +6 -6
  28. package/dist/data-access/runtime/tasks.d.ts +6 -6
  29. package/dist/db/manage/manage-schema.d.ts +357 -357
  30. package/dist/db/runtime/runtime-schema.d.ts +552 -291
  31. package/dist/db/runtime/runtime-schema.js +16 -1
  32. package/dist/index.d.ts +10 -7
  33. package/dist/index.js +7 -4
  34. package/dist/middleware/no-auth.d.ts +2 -2
  35. package/dist/setup/setup.js +10 -0
  36. package/dist/types/entities.d.ts +10 -2
  37. package/dist/types/index.d.ts +4 -4
  38. package/dist/types/utility.d.ts +9 -3
  39. package/dist/utils/apiKeys.d.ts +6 -1
  40. package/dist/utils/apiKeys.js +9 -1
  41. package/dist/utils/domain-validation.d.ts +4 -0
  42. package/dist/utils/domain-validation.js +25 -0
  43. package/dist/utils/index.d.ts +4 -2
  44. package/dist/utils/index.js +4 -2
  45. package/dist/utils/pow.d.ts +13 -0
  46. package/dist/utils/pow.js +52 -0
  47. package/dist/validation/dolt-schemas.d.ts +1 -1
  48. package/dist/validation/index.d.ts +2 -2
  49. package/dist/validation/index.js +2 -2
  50. package/dist/validation/schemas.d.ts +1840 -559
  51. package/dist/validation/schemas.js +57 -3
  52. package/drizzle/runtime/0022_superb_micromacro.sql +17 -0
  53. package/drizzle/runtime/meta/0022_snapshot.json +4240 -0
  54. package/drizzle/runtime/meta/_journal.json +7 -0
  55. package/package.json +3 -2
@@ -1,5 +1,5 @@
1
1
  import { Part } from "../types/a2a.js";
2
- import { ContextFetchDefinition, ConversationHistoryConfig, ConversationMetadata, DatasetItemExpectedOutput, DatasetItemInput, EvaluationSuiteFilterCriteria, Filter, MessageContent, MessageMetadata, PassCriteria, TaskMetadataConfig, ToolMcpConfig, ToolServerCapabilities } from "../types/utility.js";
2
+ import { AppType, ContextFetchDefinition, ConversationHistoryConfig, ConversationMetadata, DatasetItemExpectedOutput, DatasetItemInput, EvaluationSuiteFilterCriteria, Filter, MessageContent, MessageMetadata, PassCriteria, TaskMetadataConfig, ToolMcpConfig, ToolServerCapabilities } from "../types/utility.js";
3
3
  import { JsonSchemaProperty } from "./json-schemas.js";
4
4
  import "../index.js";
5
5
  import { z } from "@hono/zod-openapi";
@@ -820,11 +820,11 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
820
820
  }, z.core.$strip>>;
821
821
  }>, z.core.$strip>;
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
823
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
825
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
826
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
824
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
827
825
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
827
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
828
828
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
829
829
  base: z.ZodOptional<z.ZodObject<{
830
830
  model: z.ZodOptional<z.ZodString>;
@@ -839,7 +839,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
839
839
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
840
840
  }, z.core.$strip>>;
841
841
  }, z.core.$strip>>>>;
842
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
843
842
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
844
843
  stepCountIs?: number | undefined;
845
844
  }, {
@@ -849,7 +848,8 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
849
848
  }, {
850
849
  stepCountIs?: number | undefined;
851
850
  }>>>>>>;
852
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
851
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
853
853
  }, z.core.$strip>;
854
854
  declare const SubAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
855
855
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -2483,7 +2483,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2483
2483
  }, {}, {
2484
2484
  length: 256;
2485
2485
  }>;
2486
- }, "name" | "id" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "description" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2486
+ }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2487
2487
  declare const AgentUpdateSchema: z.ZodObject<{
2488
2488
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2489
2489
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2751,11 +2751,9 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2751
2751
  }>, z.core.$strip>;
2752
2752
  declare const AgentApiInsertSchema: z.ZodObject<{
2753
2753
  name: z.ZodString;
2754
- createdAt: z.ZodOptional<z.ZodString>;
2755
- updatedAt: z.ZodOptional<z.ZodString>;
2756
2754
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
2755
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2759
2757
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2760
2758
  base?: {
2761
2759
  model?: string | undefined;
@@ -2809,7 +2807,18 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2809
2807
  providerOptions?: Record<string, any> | undefined;
2810
2808
  } | undefined;
2811
2809
  }>>>>;
2812
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2810
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2811
+ transferCountIs?: number | undefined;
2812
+ }, {
2813
+ transferCountIs?: number | undefined;
2814
+ }, z.core.$ZodTypeInternals<{
2815
+ transferCountIs?: number | undefined;
2816
+ }, {
2817
+ transferCountIs?: number | undefined;
2818
+ }>>>>;
2819
+ createdAt: z.ZodOptional<z.ZodString>;
2820
+ updatedAt: z.ZodOptional<z.ZodString>;
2821
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2813
2822
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2814
2823
  enabled?: boolean | undefined;
2815
2824
  numEvents?: number | undefined;
@@ -2867,25 +2876,14 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2867
2876
  } | undefined;
2868
2877
  }[] | undefined;
2869
2878
  }>>>>;
2870
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2871
- transferCountIs?: number | undefined;
2872
- }, {
2873
- transferCountIs?: number | undefined;
2874
- }, z.core.$ZodTypeInternals<{
2875
- transferCountIs?: number | undefined;
2876
- }, {
2877
- transferCountIs?: number | undefined;
2878
- }>>>>;
2879
2879
  id: z.ZodString;
2880
2880
  }, z.core.$strip>;
2881
2881
  declare const AgentApiUpdateSchema: z.ZodObject<{
2882
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2883
2882
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2884
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2885
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2883
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2886
2884
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2887
2885
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2888
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2886
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2889
2887
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2890
2888
  base?: {
2891
2889
  model?: string | undefined;
@@ -2939,7 +2937,18 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2939
2937
  providerOptions?: Record<string, any> | undefined;
2940
2938
  } | undefined;
2941
2939
  }>>>>>>;
2942
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2940
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2941
+ transferCountIs?: number | undefined;
2942
+ }, {
2943
+ transferCountIs?: number | undefined;
2944
+ }, z.core.$ZodTypeInternals<{
2945
+ transferCountIs?: number | undefined;
2946
+ }, {
2947
+ transferCountIs?: number | undefined;
2948
+ }>>>>>>;
2949
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2950
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2951
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2943
2952
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2944
2953
  enabled?: boolean | undefined;
2945
2954
  numEvents?: number | undefined;
@@ -2997,15 +3006,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2997
3006
  } | undefined;
2998
3007
  }[] | undefined;
2999
3008
  }>>>>>>;
3000
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3001
- transferCountIs?: number | undefined;
3002
- }, {
3003
- transferCountIs?: number | undefined;
3004
- }, z.core.$ZodTypeInternals<{
3005
- transferCountIs?: number | undefined;
3006
- }, {
3007
- transferCountIs?: number | undefined;
3008
- }>>>>>>;
3009
3009
  }, z.core.$strip>;
3010
3010
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
3011
3011
  name: z.ZodString;
@@ -4084,7 +4084,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4084
4084
  }, {}, {
4085
4085
  length: 256;
4086
4086
  }>;
4087
- }, "name" | "id" | "createdAt" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4087
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4088
4088
  declare const TriggerUpdateSchema: z.ZodObject<{
4089
4089
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4090
4090
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4172,9 +4172,9 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4172
4172
  }>, z.core.$strip>;
4173
4173
  declare const TriggerApiInsertSchema: z.ZodObject<{
4174
4174
  name: z.ZodString;
4175
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4175
4176
  createdAt: z.ZodOptional<z.ZodString>;
4176
4177
  updatedAt: z.ZodOptional<z.ZodString>;
4177
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4178
4178
  enabled: z.ZodOptional<z.ZodBoolean>;
4179
4179
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4180
4180
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -4209,11 +4209,11 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4209
4209
  in: {};
4210
4210
  }>;
4211
4211
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4212
- name: z.ZodString;
4213
4212
  id: z.ZodString;
4213
+ name: z.ZodString;
4214
+ description: z.ZodNullable<z.ZodString>;
4214
4215
  createdAt: z.ZodString;
4215
4216
  updatedAt: z.ZodString;
4216
- description: z.ZodNullable<z.ZodString>;
4217
4217
  enabled: z.ZodBoolean;
4218
4218
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4219
4219
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -5078,7 +5078,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert",
5078
5078
  }, {}, {
5079
5079
  length: 256;
5080
5080
  }>;
5081
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5081
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "triggerId" | "conversationId" | "status" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5082
5082
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5083
5083
  triggerId: z.ZodOptional<z.ZodString>;
5084
5084
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5110,9 +5110,9 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5110
5110
  }>, z.core.$strip>;
5111
5111
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5112
5112
  createdAt: z.ZodOptional<z.ZodString>;
5113
- status: z.ZodOptional<z.ZodString>;
5114
5113
  triggerId: z.ZodString;
5115
5114
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5115
+ status: z.ZodOptional<z.ZodString>;
5116
5116
  requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
5117
5117
  transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5118
5118
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5121,9 +5121,9 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5121
5121
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5122
5122
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5123
5123
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5124
- status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5125
5124
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5126
5125
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5126
+ status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5127
5127
  requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5128
5128
  transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
5129
5129
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5841,7 +5841,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
5841
5841
  }, {}, {
5842
5842
  length: 256;
5843
5843
  }>;
5844
- }, "name" | "id" | "createdAt" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "enabled" | "messageTemplate" | "runAsUserId" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5844
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "runAsUserId" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5845
5845
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5846
5846
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5847
5847
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -5889,9 +5889,9 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5889
5889
  }>, z.core.$strip>;
5890
5890
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5891
5891
  name: z.ZodString;
5892
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5892
5893
  createdAt: z.ZodOptional<z.ZodString>;
5893
5894
  updatedAt: z.ZodOptional<z.ZodString>;
5894
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5895
5895
  enabled: z.ZodOptional<z.ZodBoolean>;
5896
5896
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5897
5897
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5907,9 +5907,9 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5907
5907
  }, z.core.$strip>;
5908
5908
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5909
5909
  name: z.ZodString;
5910
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5910
5911
  createdAt: z.ZodOptional<z.ZodString>;
5911
5912
  updatedAt: z.ZodOptional<z.ZodString>;
5912
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5913
5913
  enabled: z.ZodOptional<z.ZodBoolean>;
5914
5914
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5915
5915
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6770,7 +6770,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod3.BuildSchema<"insert",
6770
6770
  }, {}, {
6771
6771
  length: 256;
6772
6772
  }>;
6773
- }, "name" | "id" | "createdAt" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6773
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6774
6774
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6775
6775
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6776
6776
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6802,9 +6802,9 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6802
6802
  }>, z.core.$strip>;
6803
6803
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6804
6804
  name: z.ZodString;
6805
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6805
6806
  createdAt: z.ZodOptional<z.ZodString>;
6806
6807
  updatedAt: z.ZodOptional<z.ZodString>;
6807
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6808
6808
  status: z.ZodOptional<z.ZodString>;
6809
6809
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6810
6810
  scheduledTriggerId: z.ZodString;
@@ -7377,7 +7377,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"
7377
7377
  }, {}, {
7378
7378
  length: 256;
7379
7379
  }>;
7380
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7380
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7381
7381
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7382
7382
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7383
7383
  status: z.ZodOptional<z.ZodString>;
@@ -7509,7 +7509,7 @@ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7509
7509
  dataType: "json";
7510
7510
  columnType: "PgJsonb";
7511
7511
  data: {
7512
- type: "tag" | "commit" | "branch";
7512
+ type: "commit" | "tag" | "branch";
7513
7513
  name: string;
7514
7514
  hash: string;
7515
7515
  };
@@ -7525,7 +7525,7 @@ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7525
7525
  generated: undefined;
7526
7526
  }, {}, {
7527
7527
  $type: {
7528
- type: "tag" | "commit" | "branch";
7528
+ type: "commit" | "tag" | "branch";
7529
7529
  name: string;
7530
7530
  hash: string;
7531
7531
  };
@@ -7723,7 +7723,7 @@ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7723
7723
  dataType: "json";
7724
7724
  columnType: "PgJsonb";
7725
7725
  data: {
7726
- type: "tag" | "commit" | "branch";
7726
+ type: "commit" | "tag" | "branch";
7727
7727
  name: string;
7728
7728
  hash: string;
7729
7729
  };
@@ -7739,7 +7739,7 @@ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7739
7739
  generated: undefined;
7740
7740
  }, {}, {
7741
7741
  $type: {
7742
- type: "tag" | "commit" | "branch";
7742
+ type: "commit" | "tag" | "branch";
7743
7743
  name: string;
7744
7744
  hash: string;
7745
7745
  };
@@ -7892,8 +7892,8 @@ declare const TaskInsertSchema: z.ZodObject<{
7892
7892
  conversationId: z.ZodOptional<z.ZodString>;
7893
7893
  ref: z.ZodObject<{
7894
7894
  type: z.ZodEnum<{
7895
- tag: "tag";
7896
7895
  commit: "commit";
7896
+ tag: "tag";
7897
7897
  branch: "branch";
7898
7898
  }>;
7899
7899
  name: z.ZodString;
@@ -7917,8 +7917,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
7917
7917
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7918
7918
  ref: z.ZodOptional<z.ZodObject<{
7919
7919
  type: z.ZodEnum<{
7920
- tag: "tag";
7921
7920
  commit: "commit";
7921
+ tag: "tag";
7922
7922
  branch: "branch";
7923
7923
  }>;
7924
7924
  name: z.ZodString;
@@ -7933,19 +7933,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
7933
7933
  updatedAt: z.ZodString;
7934
7934
  contextId: z.ZodString;
7935
7935
  ref: z.ZodNullable<z.ZodType<{
7936
- type: "tag" | "commit" | "branch";
7936
+ type: "commit" | "tag" | "branch";
7937
7937
  name: string;
7938
7938
  hash: string;
7939
7939
  }, {
7940
- type: "tag" | "commit" | "branch";
7940
+ type: "commit" | "tag" | "branch";
7941
7941
  name: string;
7942
7942
  hash: string;
7943
7943
  }, z.core.$ZodTypeInternals<{
7944
- type: "tag" | "commit" | "branch";
7944
+ type: "commit" | "tag" | "branch";
7945
7945
  name: string;
7946
7946
  hash: string;
7947
7947
  }, {
7948
- type: "tag" | "commit" | "branch";
7948
+ type: "commit" | "tag" | "branch";
7949
7949
  name: string;
7950
7950
  hash: string;
7951
7951
  }>>>;
@@ -7971,8 +7971,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7971
7971
  conversationId: z.ZodOptional<z.ZodString>;
7972
7972
  ref: z.ZodObject<{
7973
7973
  type: z.ZodEnum<{
7974
- tag: "tag";
7975
7974
  commit: "commit";
7975
+ tag: "tag";
7976
7976
  branch: "branch";
7977
7977
  }>;
7978
7978
  name: z.ZodString;
@@ -7981,18 +7981,18 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7981
7981
  }>, z.core.$strip>;
7982
7982
  declare const TaskApiUpdateSchema: z.ZodObject<{
7983
7983
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7984
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7984
7985
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7985
7986
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7986
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7987
7987
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7988
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7989
7988
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7990
7989
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7990
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7991
7991
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7992
7992
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7993
7993
  type: z.ZodEnum<{
7994
- tag: "tag";
7995
7994
  commit: "commit";
7995
+ tag: "tag";
7996
7996
  branch: "branch";
7997
7997
  }>;
7998
7998
  name: z.ZodString;
@@ -9078,7 +9078,7 @@ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
9078
9078
  dataType: "json";
9079
9079
  columnType: "PgJsonb";
9080
9080
  data: {
9081
- type: "tag" | "commit" | "branch";
9081
+ type: "commit" | "tag" | "branch";
9082
9082
  name: string;
9083
9083
  hash: string;
9084
9084
  };
@@ -9094,7 +9094,7 @@ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
9094
9094
  generated: undefined;
9095
9095
  }, {}, {
9096
9096
  $type: {
9097
- type: "tag" | "commit" | "branch";
9097
+ type: "commit" | "tag" | "branch";
9098
9098
  name: string;
9099
9099
  hash: string;
9100
9100
  };
@@ -9307,7 +9307,7 @@ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
9307
9307
  dataType: "json";
9308
9308
  columnType: "PgJsonb";
9309
9309
  data: {
9310
- type: "tag" | "commit" | "branch";
9310
+ type: "commit" | "tag" | "branch";
9311
9311
  name: string;
9312
9312
  hash: string;
9313
9313
  };
@@ -9323,7 +9323,7 @@ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
9323
9323
  generated: undefined;
9324
9324
  }, {}, {
9325
9325
  $type: {
9326
- type: "tag" | "commit" | "branch";
9326
+ type: "commit" | "tag" | "branch";
9327
9327
  name: string;
9328
9328
  hash: string;
9329
9329
  };
@@ -9454,8 +9454,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
9454
9454
  contextConfigId: z.ZodOptional<z.ZodString>;
9455
9455
  ref: z.ZodObject<{
9456
9456
  type: z.ZodEnum<{
9457
- tag: "tag";
9458
9457
  commit: "commit";
9458
+ tag: "tag";
9459
9459
  branch: "branch";
9460
9460
  }>;
9461
9461
  name: z.ZodString;
@@ -9480,8 +9480,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
9480
9480
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9481
9481
  ref: z.ZodOptional<z.ZodObject<{
9482
9482
  type: z.ZodEnum<{
9483
- tag: "tag";
9484
9483
  commit: "commit";
9484
+ tag: "tag";
9485
9485
  branch: "branch";
9486
9486
  }>;
9487
9487
  name: z.ZodString;
@@ -9498,19 +9498,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
9498
9498
  agentId: z.ZodNullable<z.ZodString>;
9499
9499
  activeSubAgentId: z.ZodString;
9500
9500
  ref: z.ZodNullable<z.ZodType<{
9501
- type: "tag" | "commit" | "branch";
9501
+ type: "commit" | "tag" | "branch";
9502
9502
  name: string;
9503
9503
  hash: string;
9504
9504
  }, {
9505
- type: "tag" | "commit" | "branch";
9505
+ type: "commit" | "tag" | "branch";
9506
9506
  name: string;
9507
9507
  hash: string;
9508
9508
  }, z.core.$ZodTypeInternals<{
9509
- type: "tag" | "commit" | "branch";
9509
+ type: "commit" | "tag" | "branch";
9510
9510
  name: string;
9511
9511
  hash: string;
9512
9512
  }, {
9513
- type: "tag" | "commit" | "branch";
9513
+ type: "commit" | "tag" | "branch";
9514
9514
  name: string;
9515
9515
  hash: string;
9516
9516
  }>>>;
@@ -9536,8 +9536,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9536
9536
  contextConfigId: z.ZodOptional<z.ZodString>;
9537
9537
  ref: z.ZodObject<{
9538
9538
  type: z.ZodEnum<{
9539
- tag: "tag";
9540
9539
  commit: "commit";
9540
+ tag: "tag";
9541
9541
  branch: "branch";
9542
9542
  }>;
9543
9543
  name: z.ZodString;
@@ -9546,17 +9546,17 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9546
9546
  }>, z.core.$strip>;
9547
9547
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9548
9548
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9549
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9550
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9549
9551
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9550
9552
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9551
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9552
9553
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9553
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9554
9554
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9555
9555
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9556
9556
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9557
9557
  type: z.ZodEnum<{
9558
- tag: "tag";
9559
9558
  commit: "commit";
9559
+ tag: "tag";
9560
9560
  branch: "branch";
9561
9561
  }>;
9562
9562
  name: z.ZodString;
@@ -10575,7 +10575,7 @@ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10575
10575
  dataType: "json";
10576
10576
  columnType: "PgJsonb";
10577
10577
  data: {
10578
- type: "tag" | "commit" | "branch";
10578
+ type: "commit" | "tag" | "branch";
10579
10579
  name: string;
10580
10580
  hash: string;
10581
10581
  };
@@ -10591,7 +10591,7 @@ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10591
10591
  generated: undefined;
10592
10592
  }, {}, {
10593
10593
  $type: {
10594
- type: "tag" | "commit" | "branch";
10594
+ type: "commit" | "tag" | "branch";
10595
10595
  name: string;
10596
10596
  hash: string;
10597
10597
  };
@@ -10825,7 +10825,7 @@ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10825
10825
  dataType: "json";
10826
10826
  columnType: "PgJsonb";
10827
10827
  data: {
10828
- type: "tag" | "commit" | "branch";
10828
+ type: "commit" | "tag" | "branch";
10829
10829
  name: string;
10830
10830
  hash: string;
10831
10831
  };
@@ -10841,7 +10841,7 @@ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10841
10841
  generated: undefined;
10842
10842
  }, {}, {
10843
10843
  $type: {
10844
- type: "tag" | "commit" | "branch";
10844
+ type: "commit" | "tag" | "branch";
10845
10845
  name: string;
10846
10846
  hash: string;
10847
10847
  };
@@ -10993,8 +10993,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10993
10993
  id: z.ZodString;
10994
10994
  ref: z.ZodObject<{
10995
10995
  type: z.ZodEnum<{
10996
- tag: "tag";
10997
10996
  commit: "commit";
10997
+ tag: "tag";
10998
10998
  branch: "branch";
10999
10999
  }>;
11000
11000
  name: z.ZodString;
@@ -11019,8 +11019,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
11019
11019
  id: z.ZodOptional<z.ZodString>;
11020
11020
  ref: z.ZodOptional<z.ZodObject<{
11021
11021
  type: z.ZodEnum<{
11022
- tag: "tag";
11023
11022
  commit: "commit";
11023
+ tag: "tag";
11024
11024
  branch: "branch";
11025
11025
  }>;
11026
11026
  name: z.ZodString;
@@ -11037,19 +11037,19 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
11037
11037
  contextConfigId: z.ZodString;
11038
11038
  contextVariableKey: z.ZodString;
11039
11039
  ref: z.ZodNullable<z.ZodType<{
11040
- type: "tag" | "commit" | "branch";
11040
+ type: "commit" | "tag" | "branch";
11041
11041
  name: string;
11042
11042
  hash: string;
11043
11043
  }, {
11044
- type: "tag" | "commit" | "branch";
11044
+ type: "commit" | "tag" | "branch";
11045
11045
  name: string;
11046
11046
  hash: string;
11047
11047
  }, z.core.$ZodTypeInternals<{
11048
- type: "tag" | "commit" | "branch";
11048
+ type: "commit" | "tag" | "branch";
11049
11049
  name: string;
11050
11050
  hash: string;
11051
11051
  }, {
11052
- type: "tag" | "commit" | "branch";
11052
+ type: "commit" | "tag" | "branch";
11053
11053
  name: string;
11054
11054
  hash: string;
11055
11055
  }>>>;
@@ -11076,8 +11076,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11076
11076
  id: z.ZodString;
11077
11077
  ref: z.ZodObject<{
11078
11078
  type: z.ZodEnum<{
11079
- tag: "tag";
11080
11079
  commit: "commit";
11080
+ tag: "tag";
11081
11081
  branch: "branch";
11082
11082
  }>;
11083
11083
  name: z.ZodString;
@@ -11085,16 +11085,16 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11085
11085
  }, z.core.$strip>;
11086
11086
  }>, z.core.$strip>;
11087
11087
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
11088
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
11089
11088
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11089
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
11090
11090
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11091
11091
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11092
11092
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11093
11093
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11094
11094
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
11095
11095
  type: z.ZodEnum<{
11096
- tag: "tag";
11097
11096
  commit: "commit";
11097
+ tag: "tag";
11098
11098
  branch: "branch";
11099
11099
  }>;
11100
11100
  name: z.ZodString;
@@ -12144,17 +12144,17 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
12144
12144
  id: z.ZodString;
12145
12145
  }>, z.core.$strip>;
12146
12146
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
12147
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
12147
12148
  createdAt: z.ZodOptional<z.ZodString>;
12148
12149
  updatedAt: z.ZodOptional<z.ZodString>;
12149
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
12150
12150
  conversationId: z.ZodString;
12151
12151
  evaluatorId: z.ZodString;
12152
12152
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12153
12153
  }, z.core.$strip>;
12154
12154
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
12155
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
12155
12156
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12156
12157
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12157
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
12158
12158
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12159
12159
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12160
12160
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -12786,26 +12786,26 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12786
12786
  }>, z.core.$strip>;
12787
12787
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12788
12788
  name: z.ZodString;
12789
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12789
12790
  createdAt: z.ZodOptional<z.ZodString>;
12790
12791
  updatedAt: z.ZodOptional<z.ZodString>;
12791
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12792
12792
  isActive: z.ZodOptional<z.ZodBoolean>;
12793
12793
  suiteConfigIds: z.ZodArray<z.ZodString>;
12794
12794
  }, z.core.$strip>;
12795
12795
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12796
12796
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12797
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12797
12798
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12798
12799
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12799
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12800
12800
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12801
12801
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12802
12802
  }, z.core.$strip>;
12803
12803
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12804
- name: z.ZodString;
12805
12804
  id: z.ZodString;
12805
+ name: z.ZodString;
12806
+ description: z.ZodNullable<z.ZodString>;
12806
12807
  createdAt: z.ZodString;
12807
12808
  updatedAt: z.ZodString;
12808
- description: z.ZodNullable<z.ZodString>;
12809
12809
  isActive: z.ZodBoolean;
12810
12810
  suiteConfigIds: z.ZodArray<z.ZodString>;
12811
12811
  }, z.core.$strip>;
@@ -14963,9 +14963,8 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14963
14963
  }>, z.core.$strip>;
14964
14964
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14965
14965
  name: z.ZodString;
14966
- createdAt: z.ZodOptional<z.ZodString>;
14967
- updatedAt: z.ZodOptional<z.ZodString>;
14968
14966
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14967
+ prompt: z.ZodString;
14969
14968
  model: z.ZodType<{
14970
14969
  model?: string | undefined;
14971
14970
  providerOptions?: Record<string, any> | undefined;
@@ -14979,15 +14978,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14979
14978
  model?: string | undefined;
14980
14979
  providerOptions?: Record<string, any> | undefined;
14981
14980
  }>>;
14982
- prompt: z.ZodString;
14981
+ createdAt: z.ZodOptional<z.ZodString>;
14982
+ updatedAt: z.ZodOptional<z.ZodString>;
14983
14983
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14984
14984
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14985
14985
  }, z.core.$strip>;
14986
14986
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14987
14987
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14988
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14989
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14990
14988
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14989
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14991
14990
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14992
14991
  model?: string | undefined;
14993
14992
  providerOptions?: Record<string, any> | undefined;
@@ -15001,7 +15000,8 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
15001
15000
  model?: string | undefined;
15002
15001
  providerOptions?: Record<string, any> | undefined;
15003
15002
  }>>>>;
15004
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15003
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15004
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15005
15005
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
15006
15006
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
15007
15007
  }, z.core.$strip>;
@@ -15805,9 +15805,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
15805
15805
  id: z.ZodString;
15806
15806
  }>, z.core.$strip>;
15807
15807
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
15808
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15808
15809
  createdAt: z.ZodOptional<z.ZodString>;
15809
15810
  updatedAt: z.ZodOptional<z.ZodString>;
15810
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15811
15811
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15812
15812
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15813
15813
  prompt: string;
@@ -15852,9 +15852,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
15852
15852
  }>>>>;
15853
15853
  }, z.core.$strip>;
15854
15854
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15855
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15855
15856
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15856
15857
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15857
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15858
15858
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
15859
15859
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15860
15860
  prompt: string;
@@ -16360,16 +16360,16 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
16360
16360
  }>, z.core.$strip>;
16361
16361
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
16362
16362
  name: z.ZodString;
16363
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16363
16364
  createdAt: z.ZodOptional<z.ZodString>;
16364
16365
  updatedAt: z.ZodOptional<z.ZodString>;
16365
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16366
16366
  datasetId: z.ZodString;
16367
16367
  }, z.core.$strip>;
16368
16368
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16369
16369
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16370
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16370
16371
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16371
16372
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16372
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16373
16373
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16374
16374
  }, z.core.$strip>;
16375
16375
  declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -16678,9 +16678,9 @@ declare const SkillSelectSchema: z.ZodObject<{
16678
16678
  }>;
16679
16679
  declare const SkillInsertSchema: z.ZodObject<{
16680
16680
  name: z.ZodString;
16681
- projectId: z.ZodString;
16682
- tenantId: z.ZodString;
16683
16681
  description: z.ZodString;
16682
+ tenantId: z.ZodString;
16683
+ projectId: z.ZodString;
16684
16684
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16685
16685
  content: z.ZodString;
16686
16686
  }, {
@@ -16688,9 +16688,9 @@ declare const SkillInsertSchema: z.ZodObject<{
16688
16688
  in: {};
16689
16689
  }>;
16690
16690
  declare const SkillUpdateSchema: z.ZodObject<{
16691
- projectId: z.ZodOptional<z.ZodString>;
16692
- tenantId: z.ZodOptional<z.ZodString>;
16693
16691
  description: z.ZodOptional<z.ZodString>;
16692
+ tenantId: z.ZodOptional<z.ZodString>;
16693
+ projectId: z.ZodOptional<z.ZodString>;
16694
16694
  metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16695
16695
  content: z.ZodOptional<z.ZodString>;
16696
16696
  }, {
@@ -16710,9 +16710,9 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16710
16710
  }>, z.core.$strip>;
16711
16711
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16712
16712
  name: z.ZodString;
16713
- projectId: z.ZodString;
16714
- tenantId: z.ZodString;
16715
16713
  description: z.ZodString;
16714
+ tenantId: z.ZodString;
16715
+ projectId: z.ZodString;
16716
16716
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16717
16717
  content: z.ZodString;
16718
16718
  }>, z.core.$strip>;
@@ -17836,7 +17836,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"inser
17836
17836
  }, {}, {
17837
17837
  length: 256;
17838
17838
  }>;
17839
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17839
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17840
17840
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17841
17841
  dataComponentId: z.ZodOptional<z.ZodString>;
17842
17842
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -18433,11 +18433,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
18433
18433
  in: {};
18434
18434
  }>;
18435
18435
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18436
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18437
18436
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18437
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18438
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18438
18439
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18439
18440
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18440
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18441
18441
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
18442
18442
  [x: string]: unknown;
18443
18443
  type: "object";
@@ -18852,10 +18852,10 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18852
18852
  }>, z.core.$strip>;
18853
18853
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18854
18854
  agentId: z.ZodString;
18855
- subAgentId: z.ZodString;
18856
- skillId: z.ZodString;
18857
18855
  index: z.ZodInt;
18858
18856
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18857
+ subAgentId: z.ZodString;
18858
+ skillId: z.ZodString;
18859
18859
  }, {
18860
18860
  out: {};
18861
18861
  in: {};
@@ -18864,17 +18864,17 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18864
18864
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18865
18865
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18866
18866
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18867
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18868
- skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18869
18867
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18870
18868
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18869
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18870
+ skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18871
18871
  }, z.core.$strip>;
18872
18872
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18873
- name: z.ZodString;
18874
18873
  id: z.ZodString;
18874
+ name: z.ZodString;
18875
+ description: z.ZodString;
18875
18876
  createdAt: z.ZodString;
18876
18877
  updatedAt: z.ZodString;
18877
- description: z.ZodString;
18878
18878
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18879
18879
  content: z.ZodString;
18880
18880
  subAgentSkillId: z.ZodString;
@@ -18947,20 +18947,20 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18947
18947
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18948
18948
  }>, z.core.$strip>;
18949
18949
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18950
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18951
18950
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18951
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18952
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18952
18953
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18953
18954
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18954
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18955
18955
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18956
18956
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18957
18957
  }, z.core.$strip>;
18958
18958
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18959
- name: z.ZodString;
18960
18959
  id: z.ZodString;
18961
- createdAt: z.ZodString;
18962
- updatedAt: z.ZodString;
18960
+ name: z.ZodString;
18963
18961
  description: z.ZodNullable<z.ZodString>;
18962
+ prompt: z.ZodNullable<z.ZodString>;
18963
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18964
18964
  models: z.ZodNullable<z.ZodType<{
18965
18965
  base?: {
18966
18966
  model?: string | undefined;
@@ -19014,7 +19014,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19014
19014
  providerOptions?: Record<string, any> | undefined;
19015
19015
  } | undefined;
19016
19016
  }>>>;
19017
- prompt: z.ZodNullable<z.ZodString>;
19018
19017
  stopWhen: z.ZodNullable<z.ZodType<{
19019
19018
  stepCountIs?: number | undefined;
19020
19019
  }, {
@@ -19024,14 +19023,15 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19024
19023
  }, {
19025
19024
  stepCountIs?: number | undefined;
19026
19025
  }>>>;
19027
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
19026
+ createdAt: z.ZodString;
19027
+ updatedAt: z.ZodString;
19028
19028
  type: z.ZodLiteral<"internal">;
19029
19029
  }, z.core.$strip>, z.ZodObject<{
19030
- name: z.ZodString;
19031
19030
  id: z.ZodString;
19031
+ name: z.ZodString;
19032
+ description: z.ZodNullable<z.ZodString>;
19032
19033
  createdAt: z.ZodString;
19033
19034
  updatedAt: z.ZodString;
19034
- description: z.ZodNullable<z.ZodString>;
19035
19035
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19036
19036
  baseUrl: z.ZodString;
19037
19037
  type: z.ZodLiteral<"external">;
@@ -19498,19 +19498,19 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
19498
19498
  }>;
19499
19499
  declare const ApiKeyUpdateSchema: z.ZodObject<{
19500
19500
  name: z.ZodOptional<z.ZodString>;
19501
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19502
19501
  agentId: z.ZodOptional<z.ZodString>;
19502
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19503
19503
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19504
19504
  }, {
19505
19505
  out: {};
19506
19506
  in: {};
19507
19507
  }>;
19508
19508
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19509
- name: z.ZodNullable<z.ZodString>;
19510
19509
  id: z.ZodString;
19510
+ name: z.ZodNullable<z.ZodString>;
19511
+ agentId: z.ZodString;
19511
19512
  createdAt: z.ZodString;
19512
19513
  updatedAt: z.ZodString;
19513
- agentId: z.ZodString;
19514
19514
  publicId: z.ZodString;
19515
19515
  keyPrefix: z.ZodString;
19516
19516
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19522,11 +19522,11 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
19522
19522
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19523
19523
  data: z.ZodObject<{
19524
19524
  apiKey: z.ZodObject<{
19525
- name: z.ZodNullable<z.ZodString>;
19526
19525
  id: z.ZodString;
19526
+ name: z.ZodNullable<z.ZodString>;
19527
+ agentId: z.ZodString;
19527
19528
  createdAt: z.ZodString;
19528
19529
  updatedAt: z.ZodString;
19529
- agentId: z.ZodString;
19530
19530
  publicId: z.ZodString;
19531
19531
  keyPrefix: z.ZodString;
19532
19532
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19540,9 +19540,9 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19540
19540
  }, z.core.$strip>;
19541
19541
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
19542
19542
  name: z.ZodString;
19543
+ agentId: z.ZodString;
19543
19544
  createdAt: z.ZodOptional<z.ZodString>;
19544
19545
  updatedAt: z.ZodOptional<z.ZodString>;
19545
- agentId: z.ZodString;
19546
19546
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19547
19547
  }, {
19548
19548
  out: {};
@@ -19550,17 +19550,52 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
19550
19550
  }>;
19551
19551
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19552
19552
  name: z.ZodOptional<z.ZodString>;
19553
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19554
19553
  agentId: z.ZodOptional<z.ZodString>;
19554
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19555
19555
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19556
19556
  }, {
19557
19557
  out: {};
19558
19558
  in: {};
19559
19559
  }>;
19560
- declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select", {
19560
+ declare const ALLOWED_DOMAIN_PATTERN: RegExp;
19561
+ declare const WebClientConfigSchema: z.ZodObject<{
19562
+ type: z.ZodLiteral<"web_client">;
19563
+ webClient: z.ZodObject<{
19564
+ allowedDomains: z.ZodArray<z.ZodString>;
19565
+ }, z.core.$strip>;
19566
+ }, z.core.$strip>;
19567
+ declare const ApiConfigSchema: z.ZodObject<{
19568
+ type: z.ZodLiteral<"api">;
19569
+ api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
19570
+ }, z.core.$strip>;
19571
+ declare const AppConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19572
+ type: z.ZodLiteral<"web_client">;
19573
+ webClient: z.ZodObject<{
19574
+ allowedDomains: z.ZodArray<z.ZodString>;
19575
+ }, z.core.$strip>;
19576
+ }, z.core.$strip>, z.ZodObject<{
19577
+ type: z.ZodLiteral<"api">;
19578
+ api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
19579
+ }, z.core.$strip>], "type">;
19580
+ declare const WebClientConfigResponseSchema: z.ZodObject<{
19581
+ type: z.ZodLiteral<"web_client">;
19582
+ webClient: z.ZodObject<{
19583
+ allowedDomains: z.ZodArray<z.ZodString>;
19584
+ }, z.core.$strip>;
19585
+ }, z.core.$strip>;
19586
+ declare const AppConfigResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19587
+ type: z.ZodLiteral<"web_client">;
19588
+ webClient: z.ZodObject<{
19589
+ allowedDomains: z.ZodArray<z.ZodString>;
19590
+ }, z.core.$strip>;
19591
+ }, z.core.$strip>, z.ZodObject<{
19592
+ type: z.ZodLiteral<"api">;
19593
+ api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
19594
+ }, z.core.$strip>], "type">;
19595
+ declare const AppSelectSchema: drizzle_zod3.BuildSchema<"select", {
19561
19596
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19562
19597
  name: "created_at";
19563
- tableName: "credential_references";
19598
+ tableName: "apps";
19564
19599
  dataType: "string";
19565
19600
  columnType: "PgTimestampString";
19566
19601
  data: string;
@@ -19577,7 +19612,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19577
19612
  }, {}, {}>;
19578
19613
  updatedAt: drizzle_orm_pg_core0.PgColumn<{
19579
19614
  name: "updated_at";
19580
- tableName: "credential_references";
19615
+ tableName: "apps";
19581
19616
  dataType: "string";
19582
19617
  columnType: "PgTimestampString";
19583
19618
  data: string;
@@ -19592,16 +19627,16 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19592
19627
  identity: undefined;
19593
19628
  generated: undefined;
19594
19629
  }, {}, {}>;
19595
- name: drizzle_orm_pg_core0.PgColumn<{
19596
- name: "name";
19597
- tableName: "credential_references";
19630
+ id: drizzle_orm_pg_core0.PgColumn<{
19631
+ name: "id";
19632
+ tableName: "apps";
19598
19633
  dataType: "string";
19599
19634
  columnType: "PgVarchar";
19600
19635
  data: string;
19601
19636
  driverParam: string;
19602
19637
  notNull: true;
19603
19638
  hasDefault: false;
19604
- isPrimaryKey: false;
19639
+ isPrimaryKey: true;
19605
19640
  isAutoincrement: false;
19606
19641
  hasRuntimeDefault: false;
19607
19642
  enumValues: [string, ...string[]];
@@ -19611,14 +19646,14 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19611
19646
  }, {}, {
19612
19647
  length: 256;
19613
19648
  }>;
19614
- type: drizzle_orm_pg_core0.PgColumn<{
19615
- name: "type";
19616
- tableName: "credential_references";
19649
+ tenantId: drizzle_orm_pg_core0.PgColumn<{
19650
+ name: "tenant_id";
19651
+ tableName: "apps";
19617
19652
  dataType: "string";
19618
19653
  columnType: "PgVarchar";
19619
19654
  data: string;
19620
19655
  driverParam: string;
19621
- notNull: true;
19656
+ notNull: false;
19622
19657
  hasDefault: false;
19623
19658
  isPrimaryKey: false;
19624
19659
  isAutoincrement: false;
@@ -19630,14 +19665,14 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19630
19665
  }, {}, {
19631
19666
  length: 256;
19632
19667
  }>;
19633
- credentialStoreId: drizzle_orm_pg_core0.PgColumn<{
19634
- name: "credential_store_id";
19635
- tableName: "credential_references";
19668
+ projectId: drizzle_orm_pg_core0.PgColumn<{
19669
+ name: "project_id";
19670
+ tableName: "apps";
19636
19671
  dataType: "string";
19637
19672
  columnType: "PgVarchar";
19638
19673
  data: string;
19639
19674
  driverParam: string;
19640
- notNull: true;
19675
+ notNull: false;
19641
19676
  hasDefault: false;
19642
19677
  isPrimaryKey: false;
19643
19678
  isAutoincrement: false;
@@ -19649,30 +19684,30 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19649
19684
  }, {}, {
19650
19685
  length: 256;
19651
19686
  }>;
19652
- retrievalParams: drizzle_orm_pg_core0.PgColumn<{
19653
- name: "retrieval_params";
19654
- tableName: "credential_references";
19655
- dataType: "json";
19656
- columnType: "PgJsonb";
19657
- data: Record<string, unknown>;
19658
- driverParam: unknown;
19659
- notNull: false;
19687
+ name: drizzle_orm_pg_core0.PgColumn<{
19688
+ name: "name";
19689
+ tableName: "apps";
19690
+ dataType: "string";
19691
+ columnType: "PgVarchar";
19692
+ data: string;
19693
+ driverParam: string;
19694
+ notNull: true;
19660
19695
  hasDefault: false;
19661
19696
  isPrimaryKey: false;
19662
19697
  isAutoincrement: false;
19663
19698
  hasRuntimeDefault: false;
19664
- enumValues: undefined;
19699
+ enumValues: [string, ...string[]];
19665
19700
  baseColumn: never;
19666
19701
  identity: undefined;
19667
19702
  generated: undefined;
19668
19703
  }, {}, {
19669
- $type: Record<string, unknown>;
19704
+ length: 256;
19670
19705
  }>;
19671
- toolId: drizzle_orm_pg_core0.PgColumn<{
19672
- name: "tool_id";
19673
- tableName: "credential_references";
19706
+ description: drizzle_orm_pg_core0.PgColumn<{
19707
+ name: "description";
19708
+ tableName: "apps";
19674
19709
  dataType: "string";
19675
- columnType: "PgVarchar";
19710
+ columnType: "PgText";
19676
19711
  data: string;
19677
19712
  driverParam: string;
19678
19713
  notNull: false;
@@ -19684,17 +19719,15 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19684
19719
  baseColumn: never;
19685
19720
  identity: undefined;
19686
19721
  generated: undefined;
19687
- }, {}, {
19688
- length: 256;
19689
- }>;
19690
- userId: drizzle_orm_pg_core0.PgColumn<{
19691
- name: "user_id";
19692
- tableName: "credential_references";
19722
+ }, {}, {}>;
19723
+ type: drizzle_orm_pg_core0.PgColumn<{
19724
+ name: "type";
19725
+ tableName: "apps";
19693
19726
  dataType: "string";
19694
19727
  columnType: "PgVarchar";
19695
- data: string;
19728
+ data: AppType;
19696
19729
  driverParam: string;
19697
- notNull: false;
19730
+ notNull: true;
19698
19731
  hasDefault: false;
19699
19732
  isPrimaryKey: false;
19700
19733
  isAutoincrement: false;
@@ -19704,11 +19737,12 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19704
19737
  identity: undefined;
19705
19738
  generated: undefined;
19706
19739
  }, {}, {
19707
- length: 256;
19740
+ length: 64;
19741
+ $type: AppType;
19708
19742
  }>;
19709
- createdBy: drizzle_orm_pg_core0.PgColumn<{
19710
- name: "created_by";
19711
- tableName: "credential_references";
19743
+ defaultProjectId: drizzle_orm_pg_core0.PgColumn<{
19744
+ name: "default_project_id";
19745
+ tableName: "apps";
19712
19746
  dataType: "string";
19713
19747
  columnType: "PgVarchar";
19714
19748
  data: string;
@@ -19725,14 +19759,14 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19725
19759
  }, {}, {
19726
19760
  length: 256;
19727
19761
  }>;
19728
- projectId: drizzle_orm_pg_core0.PgColumn<{
19729
- name: "project_id";
19730
- tableName: "credential_references";
19762
+ defaultAgentId: drizzle_orm_pg_core0.PgColumn<{
19763
+ name: "default_agent_id";
19764
+ tableName: "apps";
19731
19765
  dataType: "string";
19732
19766
  columnType: "PgVarchar";
19733
19767
  data: string;
19734
19768
  driverParam: string;
19735
- notNull: true;
19769
+ notNull: false;
19736
19770
  hasDefault: false;
19737
19771
  isPrimaryKey: false;
19738
19772
  isAutoincrement: false;
@@ -19744,48 +19778,79 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19744
19778
  }, {}, {
19745
19779
  length: 256;
19746
19780
  }>;
19747
- tenantId: drizzle_orm_pg_core0.PgColumn<{
19748
- name: "tenant_id";
19749
- tableName: "credential_references";
19750
- dataType: "string";
19751
- columnType: "PgVarchar";
19752
- data: string;
19753
- driverParam: string;
19781
+ enabled: drizzle_orm_pg_core0.PgColumn<{
19782
+ name: "enabled";
19783
+ tableName: "apps";
19784
+ dataType: "boolean";
19785
+ columnType: "PgBoolean";
19786
+ data: boolean;
19787
+ driverParam: boolean;
19788
+ notNull: true;
19789
+ hasDefault: true;
19790
+ isPrimaryKey: false;
19791
+ isAutoincrement: false;
19792
+ hasRuntimeDefault: false;
19793
+ enumValues: undefined;
19794
+ baseColumn: never;
19795
+ identity: undefined;
19796
+ generated: undefined;
19797
+ }, {}, {}>;
19798
+ config: drizzle_orm_pg_core0.PgColumn<{
19799
+ name: "config";
19800
+ tableName: "apps";
19801
+ dataType: "json";
19802
+ columnType: "PgJsonb";
19803
+ data: {
19804
+ type: "web_client";
19805
+ webClient: {
19806
+ allowedDomains: string[];
19807
+ };
19808
+ } | {
19809
+ type: "api";
19810
+ api: Record<string, never>;
19811
+ };
19812
+ driverParam: unknown;
19754
19813
  notNull: true;
19755
19814
  hasDefault: false;
19756
19815
  isPrimaryKey: false;
19757
19816
  isAutoincrement: false;
19758
19817
  hasRuntimeDefault: false;
19759
- enumValues: [string, ...string[]];
19818
+ enumValues: undefined;
19760
19819
  baseColumn: never;
19761
19820
  identity: undefined;
19762
19821
  generated: undefined;
19763
19822
  }, {}, {
19764
- length: 256;
19823
+ $type: {
19824
+ type: "web_client";
19825
+ webClient: {
19826
+ allowedDomains: string[];
19827
+ };
19828
+ } | {
19829
+ type: "api";
19830
+ api: Record<string, never>;
19831
+ };
19765
19832
  }>;
19766
- id: drizzle_orm_pg_core0.PgColumn<{
19767
- name: "id";
19768
- tableName: "credential_references";
19833
+ lastUsedAt: drizzle_orm_pg_core0.PgColumn<{
19834
+ name: "last_used_at";
19835
+ tableName: "apps";
19769
19836
  dataType: "string";
19770
- columnType: "PgVarchar";
19837
+ columnType: "PgTimestampString";
19771
19838
  data: string;
19772
19839
  driverParam: string;
19773
- notNull: true;
19840
+ notNull: false;
19774
19841
  hasDefault: false;
19775
19842
  isPrimaryKey: false;
19776
19843
  isAutoincrement: false;
19777
19844
  hasRuntimeDefault: false;
19778
- enumValues: [string, ...string[]];
19845
+ enumValues: undefined;
19779
19846
  baseColumn: never;
19780
19847
  identity: undefined;
19781
19848
  generated: undefined;
19782
- }, {}, {
19783
- length: 256;
19784
- }>;
19849
+ }, {}, {}>;
19785
19850
  }, drizzle_zod3.BuildRefine<{
19786
19851
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19787
19852
  name: "created_at";
19788
- tableName: "credential_references";
19853
+ tableName: "apps";
19789
19854
  dataType: "string";
19790
19855
  columnType: "PgTimestampString";
19791
19856
  data: string;
@@ -19802,7 +19867,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19802
19867
  }, {}, {}>;
19803
19868
  updatedAt: drizzle_orm_pg_core0.PgColumn<{
19804
19869
  name: "updated_at";
19805
- tableName: "credential_references";
19870
+ tableName: "apps";
19806
19871
  dataType: "string";
19807
19872
  columnType: "PgTimestampString";
19808
19873
  data: string;
@@ -19817,16 +19882,16 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19817
19882
  identity: undefined;
19818
19883
  generated: undefined;
19819
19884
  }, {}, {}>;
19820
- name: drizzle_orm_pg_core0.PgColumn<{
19821
- name: "name";
19822
- tableName: "credential_references";
19885
+ id: drizzle_orm_pg_core0.PgColumn<{
19886
+ name: "id";
19887
+ tableName: "apps";
19823
19888
  dataType: "string";
19824
19889
  columnType: "PgVarchar";
19825
19890
  data: string;
19826
19891
  driverParam: string;
19827
19892
  notNull: true;
19828
19893
  hasDefault: false;
19829
- isPrimaryKey: false;
19894
+ isPrimaryKey: true;
19830
19895
  isAutoincrement: false;
19831
19896
  hasRuntimeDefault: false;
19832
19897
  enumValues: [string, ...string[]];
@@ -19836,14 +19901,14 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19836
19901
  }, {}, {
19837
19902
  length: 256;
19838
19903
  }>;
19839
- type: drizzle_orm_pg_core0.PgColumn<{
19840
- name: "type";
19841
- tableName: "credential_references";
19904
+ tenantId: drizzle_orm_pg_core0.PgColumn<{
19905
+ name: "tenant_id";
19906
+ tableName: "apps";
19842
19907
  dataType: "string";
19843
19908
  columnType: "PgVarchar";
19844
19909
  data: string;
19845
19910
  driverParam: string;
19846
- notNull: true;
19911
+ notNull: false;
19847
19912
  hasDefault: false;
19848
19913
  isPrimaryKey: false;
19849
19914
  isAutoincrement: false;
@@ -19855,14 +19920,14 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19855
19920
  }, {}, {
19856
19921
  length: 256;
19857
19922
  }>;
19858
- credentialStoreId: drizzle_orm_pg_core0.PgColumn<{
19859
- name: "credential_store_id";
19860
- tableName: "credential_references";
19923
+ projectId: drizzle_orm_pg_core0.PgColumn<{
19924
+ name: "project_id";
19925
+ tableName: "apps";
19861
19926
  dataType: "string";
19862
19927
  columnType: "PgVarchar";
19863
19928
  data: string;
19864
19929
  driverParam: string;
19865
- notNull: true;
19930
+ notNull: false;
19866
19931
  hasDefault: false;
19867
19932
  isPrimaryKey: false;
19868
19933
  isAutoincrement: false;
@@ -19874,30 +19939,30 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19874
19939
  }, {}, {
19875
19940
  length: 256;
19876
19941
  }>;
19877
- retrievalParams: drizzle_orm_pg_core0.PgColumn<{
19878
- name: "retrieval_params";
19879
- tableName: "credential_references";
19880
- dataType: "json";
19881
- columnType: "PgJsonb";
19882
- data: Record<string, unknown>;
19883
- driverParam: unknown;
19884
- notNull: false;
19942
+ name: drizzle_orm_pg_core0.PgColumn<{
19943
+ name: "name";
19944
+ tableName: "apps";
19945
+ dataType: "string";
19946
+ columnType: "PgVarchar";
19947
+ data: string;
19948
+ driverParam: string;
19949
+ notNull: true;
19885
19950
  hasDefault: false;
19886
19951
  isPrimaryKey: false;
19887
19952
  isAutoincrement: false;
19888
19953
  hasRuntimeDefault: false;
19889
- enumValues: undefined;
19954
+ enumValues: [string, ...string[]];
19890
19955
  baseColumn: never;
19891
19956
  identity: undefined;
19892
19957
  generated: undefined;
19893
19958
  }, {}, {
19894
- $type: Record<string, unknown>;
19959
+ length: 256;
19895
19960
  }>;
19896
- toolId: drizzle_orm_pg_core0.PgColumn<{
19897
- name: "tool_id";
19898
- tableName: "credential_references";
19961
+ description: drizzle_orm_pg_core0.PgColumn<{
19962
+ name: "description";
19963
+ tableName: "apps";
19899
19964
  dataType: "string";
19900
- columnType: "PgVarchar";
19965
+ columnType: "PgText";
19901
19966
  data: string;
19902
19967
  driverParam: string;
19903
19968
  notNull: false;
@@ -19909,17 +19974,15 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19909
19974
  baseColumn: never;
19910
19975
  identity: undefined;
19911
19976
  generated: undefined;
19912
- }, {}, {
19913
- length: 256;
19914
- }>;
19915
- userId: drizzle_orm_pg_core0.PgColumn<{
19916
- name: "user_id";
19917
- tableName: "credential_references";
19977
+ }, {}, {}>;
19978
+ type: drizzle_orm_pg_core0.PgColumn<{
19979
+ name: "type";
19980
+ tableName: "apps";
19918
19981
  dataType: "string";
19919
19982
  columnType: "PgVarchar";
19920
- data: string;
19983
+ data: AppType;
19921
19984
  driverParam: string;
19922
- notNull: false;
19985
+ notNull: true;
19923
19986
  hasDefault: false;
19924
19987
  isPrimaryKey: false;
19925
19988
  isAutoincrement: false;
@@ -19929,11 +19992,12 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19929
19992
  identity: undefined;
19930
19993
  generated: undefined;
19931
19994
  }, {}, {
19932
- length: 256;
19995
+ length: 64;
19996
+ $type: AppType;
19933
19997
  }>;
19934
- createdBy: drizzle_orm_pg_core0.PgColumn<{
19935
- name: "created_by";
19936
- tableName: "credential_references";
19998
+ defaultProjectId: drizzle_orm_pg_core0.PgColumn<{
19999
+ name: "default_project_id";
20000
+ tableName: "apps";
19937
20001
  dataType: "string";
19938
20002
  columnType: "PgVarchar";
19939
20003
  data: string;
@@ -19950,14 +20014,14 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19950
20014
  }, {}, {
19951
20015
  length: 256;
19952
20016
  }>;
19953
- projectId: drizzle_orm_pg_core0.PgColumn<{
19954
- name: "project_id";
19955
- tableName: "credential_references";
20017
+ defaultAgentId: drizzle_orm_pg_core0.PgColumn<{
20018
+ name: "default_agent_id";
20019
+ tableName: "apps";
19956
20020
  dataType: "string";
19957
20021
  columnType: "PgVarchar";
19958
20022
  data: string;
19959
20023
  driverParam: string;
19960
- notNull: true;
20024
+ notNull: false;
19961
20025
  hasDefault: false;
19962
20026
  isPrimaryKey: false;
19963
20027
  isAutoincrement: false;
@@ -19969,89 +20033,1240 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19969
20033
  }, {}, {
19970
20034
  length: 256;
19971
20035
  }>;
19972
- tenantId: drizzle_orm_pg_core0.PgColumn<{
19973
- name: "tenant_id";
19974
- tableName: "credential_references";
19975
- dataType: "string";
19976
- columnType: "PgVarchar";
19977
- data: string;
19978
- driverParam: string;
20036
+ enabled: drizzle_orm_pg_core0.PgColumn<{
20037
+ name: "enabled";
20038
+ tableName: "apps";
20039
+ dataType: "boolean";
20040
+ columnType: "PgBoolean";
20041
+ data: boolean;
20042
+ driverParam: boolean;
20043
+ notNull: true;
20044
+ hasDefault: true;
20045
+ isPrimaryKey: false;
20046
+ isAutoincrement: false;
20047
+ hasRuntimeDefault: false;
20048
+ enumValues: undefined;
20049
+ baseColumn: never;
20050
+ identity: undefined;
20051
+ generated: undefined;
20052
+ }, {}, {}>;
20053
+ config: drizzle_orm_pg_core0.PgColumn<{
20054
+ name: "config";
20055
+ tableName: "apps";
20056
+ dataType: "json";
20057
+ columnType: "PgJsonb";
20058
+ data: {
20059
+ type: "web_client";
20060
+ webClient: {
20061
+ allowedDomains: string[];
20062
+ };
20063
+ } | {
20064
+ type: "api";
20065
+ api: Record<string, never>;
20066
+ };
20067
+ driverParam: unknown;
19979
20068
  notNull: true;
19980
20069
  hasDefault: false;
19981
20070
  isPrimaryKey: false;
19982
20071
  isAutoincrement: false;
19983
20072
  hasRuntimeDefault: false;
19984
- enumValues: [string, ...string[]];
20073
+ enumValues: undefined;
19985
20074
  baseColumn: never;
19986
20075
  identity: undefined;
19987
20076
  generated: undefined;
19988
20077
  }, {}, {
19989
- length: 256;
20078
+ $type: {
20079
+ type: "web_client";
20080
+ webClient: {
20081
+ allowedDomains: string[];
20082
+ };
20083
+ } | {
20084
+ type: "api";
20085
+ api: Record<string, never>;
20086
+ };
19990
20087
  }>;
19991
- id: drizzle_orm_pg_core0.PgColumn<{
19992
- name: "id";
19993
- tableName: "credential_references";
20088
+ lastUsedAt: drizzle_orm_pg_core0.PgColumn<{
20089
+ name: "last_used_at";
20090
+ tableName: "apps";
19994
20091
  dataType: "string";
19995
- columnType: "PgVarchar";
20092
+ columnType: "PgTimestampString";
19996
20093
  data: string;
19997
20094
  driverParam: string;
19998
- notNull: true;
20095
+ notNull: false;
19999
20096
  hasDefault: false;
20000
20097
  isPrimaryKey: false;
20001
20098
  isAutoincrement: false;
20002
20099
  hasRuntimeDefault: false;
20003
- enumValues: [string, ...string[]];
20100
+ enumValues: undefined;
20004
20101
  baseColumn: never;
20005
20102
  identity: undefined;
20006
20103
  generated: undefined;
20007
- }, {}, {
20008
- length: 256;
20009
- }>;
20104
+ }, {}, {}>;
20010
20105
  }, undefined>, undefined>;
20011
- declare const CredentialReferenceInsertSchema: z.ZodObject<{
20106
+ declare const AppInsertSchema: z.ZodObject<{
20012
20107
  createdAt: z.ZodOptional<z.ZodString>;
20013
20108
  updatedAt: z.ZodOptional<z.ZodString>;
20014
- name: z.ZodString;
20015
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20016
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20017
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20018
- projectId: z.ZodString;
20019
- tenantId: z.ZodString;
20109
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20110
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20111
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20112
+ defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20113
+ enabled: z.ZodOptional<z.ZodBoolean>;
20114
+ lastUsedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20020
20115
  id: z.ZodString;
20021
- type: z.ZodString;
20022
- credentialStoreId: z.ZodString;
20023
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20116
+ name: z.ZodString;
20117
+ type: z.ZodEnum<{
20118
+ web_client: "web_client";
20119
+ api: "api";
20120
+ }>;
20121
+ defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20122
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
20123
+ type: z.ZodLiteral<"web_client">;
20124
+ webClient: z.ZodObject<{
20125
+ allowedDomains: z.ZodArray<z.ZodString>;
20126
+ }, z.core.$strip>;
20127
+ }, z.core.$strip>, z.ZodObject<{
20128
+ type: z.ZodLiteral<"api">;
20129
+ api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
20130
+ }, z.core.$strip>], "type">;
20024
20131
  }, {
20025
20132
  out: {};
20026
20133
  in: {};
20027
20134
  }>;
20028
- declare const CredentialReferenceUpdateSchema: z.ZodObject<{
20029
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20030
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20135
+ declare const AppUpdateSchema: z.ZodObject<{
20031
20136
  name: z.ZodOptional<z.ZodString>;
20032
- toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20033
- userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20034
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20035
- projectId: z.ZodOptional<z.ZodString>;
20036
- tenantId: z.ZodOptional<z.ZodString>;
20037
- id: z.ZodOptional<z.ZodString>;
20038
- type: z.ZodOptional<z.ZodString>;
20039
- credentialStoreId: z.ZodOptional<z.ZodString>;
20040
- retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
20137
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20138
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20139
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20140
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20141
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
20142
+ config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
20143
+ type: z.ZodLiteral<"web_client">;
20144
+ webClient: z.ZodObject<{
20145
+ allowedDomains: z.ZodArray<z.ZodString>;
20146
+ }, z.core.$strip>;
20147
+ }, z.core.$strip>, z.ZodObject<{
20148
+ type: z.ZodLiteral<"api">;
20149
+ api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
20150
+ }, z.core.$strip>], "type">>;
20151
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20152
+ defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20153
+ defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20041
20154
  }, {
20042
20155
  out: {};
20043
20156
  in: {};
20044
20157
  }>;
20045
- declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20046
- name: z.ZodString;
20047
- id: z.ZodString;
20048
- createdAt: z.ZodString;
20049
- updatedAt: z.ZodString;
20050
- userId: z.ZodNullable<z.ZodString>;
20158
+ declare const AppApiSelectSchema: drizzle_zod3.BuildSchema<"select", {
20159
+ createdAt: drizzle_orm_pg_core0.PgColumn<{
20160
+ name: "created_at";
20161
+ tableName: "apps";
20162
+ dataType: "string";
20163
+ columnType: "PgTimestampString";
20164
+ data: string;
20165
+ driverParam: string;
20166
+ notNull: true;
20167
+ hasDefault: true;
20168
+ isPrimaryKey: false;
20169
+ isAutoincrement: false;
20170
+ hasRuntimeDefault: false;
20171
+ enumValues: undefined;
20172
+ baseColumn: never;
20173
+ identity: undefined;
20174
+ generated: undefined;
20175
+ }, {}, {}>;
20176
+ updatedAt: drizzle_orm_pg_core0.PgColumn<{
20177
+ name: "updated_at";
20178
+ tableName: "apps";
20179
+ dataType: "string";
20180
+ columnType: "PgTimestampString";
20181
+ data: string;
20182
+ driverParam: string;
20183
+ notNull: true;
20184
+ hasDefault: true;
20185
+ isPrimaryKey: false;
20186
+ isAutoincrement: false;
20187
+ hasRuntimeDefault: false;
20188
+ enumValues: undefined;
20189
+ baseColumn: never;
20190
+ identity: undefined;
20191
+ generated: undefined;
20192
+ }, {}, {}>;
20193
+ id: drizzle_orm_pg_core0.PgColumn<{
20194
+ name: "id";
20195
+ tableName: "apps";
20196
+ dataType: "string";
20197
+ columnType: "PgVarchar";
20198
+ data: string;
20199
+ driverParam: string;
20200
+ notNull: true;
20201
+ hasDefault: false;
20202
+ isPrimaryKey: true;
20203
+ isAutoincrement: false;
20204
+ hasRuntimeDefault: false;
20205
+ enumValues: [string, ...string[]];
20206
+ baseColumn: never;
20207
+ identity: undefined;
20208
+ generated: undefined;
20209
+ }, {}, {
20210
+ length: 256;
20211
+ }>;
20212
+ tenantId: drizzle_orm_pg_core0.PgColumn<{
20213
+ name: "tenant_id";
20214
+ tableName: "apps";
20215
+ dataType: "string";
20216
+ columnType: "PgVarchar";
20217
+ data: string;
20218
+ driverParam: string;
20219
+ notNull: false;
20220
+ hasDefault: false;
20221
+ isPrimaryKey: false;
20222
+ isAutoincrement: false;
20223
+ hasRuntimeDefault: false;
20224
+ enumValues: [string, ...string[]];
20225
+ baseColumn: never;
20226
+ identity: undefined;
20227
+ generated: undefined;
20228
+ }, {}, {
20229
+ length: 256;
20230
+ }>;
20231
+ projectId: drizzle_orm_pg_core0.PgColumn<{
20232
+ name: "project_id";
20233
+ tableName: "apps";
20234
+ dataType: "string";
20235
+ columnType: "PgVarchar";
20236
+ data: string;
20237
+ driverParam: string;
20238
+ notNull: false;
20239
+ hasDefault: false;
20240
+ isPrimaryKey: false;
20241
+ isAutoincrement: false;
20242
+ hasRuntimeDefault: false;
20243
+ enumValues: [string, ...string[]];
20244
+ baseColumn: never;
20245
+ identity: undefined;
20246
+ generated: undefined;
20247
+ }, {}, {
20248
+ length: 256;
20249
+ }>;
20250
+ name: drizzle_orm_pg_core0.PgColumn<{
20251
+ name: "name";
20252
+ tableName: "apps";
20253
+ dataType: "string";
20254
+ columnType: "PgVarchar";
20255
+ data: string;
20256
+ driverParam: string;
20257
+ notNull: true;
20258
+ hasDefault: false;
20259
+ isPrimaryKey: false;
20260
+ isAutoincrement: false;
20261
+ hasRuntimeDefault: false;
20262
+ enumValues: [string, ...string[]];
20263
+ baseColumn: never;
20264
+ identity: undefined;
20265
+ generated: undefined;
20266
+ }, {}, {
20267
+ length: 256;
20268
+ }>;
20269
+ description: drizzle_orm_pg_core0.PgColumn<{
20270
+ name: "description";
20271
+ tableName: "apps";
20272
+ dataType: "string";
20273
+ columnType: "PgText";
20274
+ data: string;
20275
+ driverParam: string;
20276
+ notNull: false;
20277
+ hasDefault: false;
20278
+ isPrimaryKey: false;
20279
+ isAutoincrement: false;
20280
+ hasRuntimeDefault: false;
20281
+ enumValues: [string, ...string[]];
20282
+ baseColumn: never;
20283
+ identity: undefined;
20284
+ generated: undefined;
20285
+ }, {}, {}>;
20286
+ type: drizzle_orm_pg_core0.PgColumn<{
20287
+ name: "type";
20288
+ tableName: "apps";
20289
+ dataType: "string";
20290
+ columnType: "PgVarchar";
20291
+ data: AppType;
20292
+ driverParam: string;
20293
+ notNull: true;
20294
+ hasDefault: false;
20295
+ isPrimaryKey: false;
20296
+ isAutoincrement: false;
20297
+ hasRuntimeDefault: false;
20298
+ enumValues: [string, ...string[]];
20299
+ baseColumn: never;
20300
+ identity: undefined;
20301
+ generated: undefined;
20302
+ }, {}, {
20303
+ length: 64;
20304
+ $type: AppType;
20305
+ }>;
20306
+ defaultProjectId: drizzle_orm_pg_core0.PgColumn<{
20307
+ name: "default_project_id";
20308
+ tableName: "apps";
20309
+ dataType: "string";
20310
+ columnType: "PgVarchar";
20311
+ data: string;
20312
+ driverParam: string;
20313
+ notNull: false;
20314
+ hasDefault: false;
20315
+ isPrimaryKey: false;
20316
+ isAutoincrement: false;
20317
+ hasRuntimeDefault: false;
20318
+ enumValues: [string, ...string[]];
20319
+ baseColumn: never;
20320
+ identity: undefined;
20321
+ generated: undefined;
20322
+ }, {}, {
20323
+ length: 256;
20324
+ }>;
20325
+ defaultAgentId: drizzle_orm_pg_core0.PgColumn<{
20326
+ name: "default_agent_id";
20327
+ tableName: "apps";
20328
+ dataType: "string";
20329
+ columnType: "PgVarchar";
20330
+ data: string;
20331
+ driverParam: string;
20332
+ notNull: false;
20333
+ hasDefault: false;
20334
+ isPrimaryKey: false;
20335
+ isAutoincrement: false;
20336
+ hasRuntimeDefault: false;
20337
+ enumValues: [string, ...string[]];
20338
+ baseColumn: never;
20339
+ identity: undefined;
20340
+ generated: undefined;
20341
+ }, {}, {
20342
+ length: 256;
20343
+ }>;
20344
+ enabled: drizzle_orm_pg_core0.PgColumn<{
20345
+ name: "enabled";
20346
+ tableName: "apps";
20347
+ dataType: "boolean";
20348
+ columnType: "PgBoolean";
20349
+ data: boolean;
20350
+ driverParam: boolean;
20351
+ notNull: true;
20352
+ hasDefault: true;
20353
+ isPrimaryKey: false;
20354
+ isAutoincrement: false;
20355
+ hasRuntimeDefault: false;
20356
+ enumValues: undefined;
20357
+ baseColumn: never;
20358
+ identity: undefined;
20359
+ generated: undefined;
20360
+ }, {}, {}>;
20361
+ config: drizzle_orm_pg_core0.PgColumn<{
20362
+ name: "config";
20363
+ tableName: "apps";
20364
+ dataType: "json";
20365
+ columnType: "PgJsonb";
20366
+ data: {
20367
+ type: "web_client";
20368
+ webClient: {
20369
+ allowedDomains: string[];
20370
+ };
20371
+ } | {
20372
+ type: "api";
20373
+ api: Record<string, never>;
20374
+ };
20375
+ driverParam: unknown;
20376
+ notNull: true;
20377
+ hasDefault: false;
20378
+ isPrimaryKey: false;
20379
+ isAutoincrement: false;
20380
+ hasRuntimeDefault: false;
20381
+ enumValues: undefined;
20382
+ baseColumn: never;
20383
+ identity: undefined;
20384
+ generated: undefined;
20385
+ }, {}, {
20386
+ $type: {
20387
+ type: "web_client";
20388
+ webClient: {
20389
+ allowedDomains: string[];
20390
+ };
20391
+ } | {
20392
+ type: "api";
20393
+ api: Record<string, never>;
20394
+ };
20395
+ }>;
20396
+ lastUsedAt: drizzle_orm_pg_core0.PgColumn<{
20397
+ name: "last_used_at";
20398
+ tableName: "apps";
20399
+ dataType: "string";
20400
+ columnType: "PgTimestampString";
20401
+ data: string;
20402
+ driverParam: string;
20403
+ notNull: false;
20404
+ hasDefault: false;
20405
+ isPrimaryKey: false;
20406
+ isAutoincrement: false;
20407
+ hasRuntimeDefault: false;
20408
+ enumValues: undefined;
20409
+ baseColumn: never;
20410
+ identity: undefined;
20411
+ generated: undefined;
20412
+ }, {}, {}>;
20413
+ }, drizzle_zod3.BuildRefine<{
20414
+ createdAt: drizzle_orm_pg_core0.PgColumn<{
20415
+ name: "created_at";
20416
+ tableName: "apps";
20417
+ dataType: "string";
20418
+ columnType: "PgTimestampString";
20419
+ data: string;
20420
+ driverParam: string;
20421
+ notNull: true;
20422
+ hasDefault: true;
20423
+ isPrimaryKey: false;
20424
+ isAutoincrement: false;
20425
+ hasRuntimeDefault: false;
20426
+ enumValues: undefined;
20427
+ baseColumn: never;
20428
+ identity: undefined;
20429
+ generated: undefined;
20430
+ }, {}, {}>;
20431
+ updatedAt: drizzle_orm_pg_core0.PgColumn<{
20432
+ name: "updated_at";
20433
+ tableName: "apps";
20434
+ dataType: "string";
20435
+ columnType: "PgTimestampString";
20436
+ data: string;
20437
+ driverParam: string;
20438
+ notNull: true;
20439
+ hasDefault: true;
20440
+ isPrimaryKey: false;
20441
+ isAutoincrement: false;
20442
+ hasRuntimeDefault: false;
20443
+ enumValues: undefined;
20444
+ baseColumn: never;
20445
+ identity: undefined;
20446
+ generated: undefined;
20447
+ }, {}, {}>;
20448
+ id: drizzle_orm_pg_core0.PgColumn<{
20449
+ name: "id";
20450
+ tableName: "apps";
20451
+ dataType: "string";
20452
+ columnType: "PgVarchar";
20453
+ data: string;
20454
+ driverParam: string;
20455
+ notNull: true;
20456
+ hasDefault: false;
20457
+ isPrimaryKey: true;
20458
+ isAutoincrement: false;
20459
+ hasRuntimeDefault: false;
20460
+ enumValues: [string, ...string[]];
20461
+ baseColumn: never;
20462
+ identity: undefined;
20463
+ generated: undefined;
20464
+ }, {}, {
20465
+ length: 256;
20466
+ }>;
20467
+ tenantId: drizzle_orm_pg_core0.PgColumn<{
20468
+ name: "tenant_id";
20469
+ tableName: "apps";
20470
+ dataType: "string";
20471
+ columnType: "PgVarchar";
20472
+ data: string;
20473
+ driverParam: string;
20474
+ notNull: false;
20475
+ hasDefault: false;
20476
+ isPrimaryKey: false;
20477
+ isAutoincrement: false;
20478
+ hasRuntimeDefault: false;
20479
+ enumValues: [string, ...string[]];
20480
+ baseColumn: never;
20481
+ identity: undefined;
20482
+ generated: undefined;
20483
+ }, {}, {
20484
+ length: 256;
20485
+ }>;
20486
+ projectId: drizzle_orm_pg_core0.PgColumn<{
20487
+ name: "project_id";
20488
+ tableName: "apps";
20489
+ dataType: "string";
20490
+ columnType: "PgVarchar";
20491
+ data: string;
20492
+ driverParam: string;
20493
+ notNull: false;
20494
+ hasDefault: false;
20495
+ isPrimaryKey: false;
20496
+ isAutoincrement: false;
20497
+ hasRuntimeDefault: false;
20498
+ enumValues: [string, ...string[]];
20499
+ baseColumn: never;
20500
+ identity: undefined;
20501
+ generated: undefined;
20502
+ }, {}, {
20503
+ length: 256;
20504
+ }>;
20505
+ name: drizzle_orm_pg_core0.PgColumn<{
20506
+ name: "name";
20507
+ tableName: "apps";
20508
+ dataType: "string";
20509
+ columnType: "PgVarchar";
20510
+ data: string;
20511
+ driverParam: string;
20512
+ notNull: true;
20513
+ hasDefault: false;
20514
+ isPrimaryKey: false;
20515
+ isAutoincrement: false;
20516
+ hasRuntimeDefault: false;
20517
+ enumValues: [string, ...string[]];
20518
+ baseColumn: never;
20519
+ identity: undefined;
20520
+ generated: undefined;
20521
+ }, {}, {
20522
+ length: 256;
20523
+ }>;
20524
+ description: drizzle_orm_pg_core0.PgColumn<{
20525
+ name: "description";
20526
+ tableName: "apps";
20527
+ dataType: "string";
20528
+ columnType: "PgText";
20529
+ data: string;
20530
+ driverParam: string;
20531
+ notNull: false;
20532
+ hasDefault: false;
20533
+ isPrimaryKey: false;
20534
+ isAutoincrement: false;
20535
+ hasRuntimeDefault: false;
20536
+ enumValues: [string, ...string[]];
20537
+ baseColumn: never;
20538
+ identity: undefined;
20539
+ generated: undefined;
20540
+ }, {}, {}>;
20541
+ type: drizzle_orm_pg_core0.PgColumn<{
20542
+ name: "type";
20543
+ tableName: "apps";
20544
+ dataType: "string";
20545
+ columnType: "PgVarchar";
20546
+ data: AppType;
20547
+ driverParam: string;
20548
+ notNull: true;
20549
+ hasDefault: false;
20550
+ isPrimaryKey: false;
20551
+ isAutoincrement: false;
20552
+ hasRuntimeDefault: false;
20553
+ enumValues: [string, ...string[]];
20554
+ baseColumn: never;
20555
+ identity: undefined;
20556
+ generated: undefined;
20557
+ }, {}, {
20558
+ length: 64;
20559
+ $type: AppType;
20560
+ }>;
20561
+ defaultProjectId: drizzle_orm_pg_core0.PgColumn<{
20562
+ name: "default_project_id";
20563
+ tableName: "apps";
20564
+ dataType: "string";
20565
+ columnType: "PgVarchar";
20566
+ data: string;
20567
+ driverParam: string;
20568
+ notNull: false;
20569
+ hasDefault: false;
20570
+ isPrimaryKey: false;
20571
+ isAutoincrement: false;
20572
+ hasRuntimeDefault: false;
20573
+ enumValues: [string, ...string[]];
20574
+ baseColumn: never;
20575
+ identity: undefined;
20576
+ generated: undefined;
20577
+ }, {}, {
20578
+ length: 256;
20579
+ }>;
20580
+ defaultAgentId: drizzle_orm_pg_core0.PgColumn<{
20581
+ name: "default_agent_id";
20582
+ tableName: "apps";
20583
+ dataType: "string";
20584
+ columnType: "PgVarchar";
20585
+ data: string;
20586
+ driverParam: string;
20587
+ notNull: false;
20588
+ hasDefault: false;
20589
+ isPrimaryKey: false;
20590
+ isAutoincrement: false;
20591
+ hasRuntimeDefault: false;
20592
+ enumValues: [string, ...string[]];
20593
+ baseColumn: never;
20594
+ identity: undefined;
20595
+ generated: undefined;
20596
+ }, {}, {
20597
+ length: 256;
20598
+ }>;
20599
+ enabled: drizzle_orm_pg_core0.PgColumn<{
20600
+ name: "enabled";
20601
+ tableName: "apps";
20602
+ dataType: "boolean";
20603
+ columnType: "PgBoolean";
20604
+ data: boolean;
20605
+ driverParam: boolean;
20606
+ notNull: true;
20607
+ hasDefault: true;
20608
+ isPrimaryKey: false;
20609
+ isAutoincrement: false;
20610
+ hasRuntimeDefault: false;
20611
+ enumValues: undefined;
20612
+ baseColumn: never;
20613
+ identity: undefined;
20614
+ generated: undefined;
20615
+ }, {}, {}>;
20616
+ config: drizzle_orm_pg_core0.PgColumn<{
20617
+ name: "config";
20618
+ tableName: "apps";
20619
+ dataType: "json";
20620
+ columnType: "PgJsonb";
20621
+ data: {
20622
+ type: "web_client";
20623
+ webClient: {
20624
+ allowedDomains: string[];
20625
+ };
20626
+ } | {
20627
+ type: "api";
20628
+ api: Record<string, never>;
20629
+ };
20630
+ driverParam: unknown;
20631
+ notNull: true;
20632
+ hasDefault: false;
20633
+ isPrimaryKey: false;
20634
+ isAutoincrement: false;
20635
+ hasRuntimeDefault: false;
20636
+ enumValues: undefined;
20637
+ baseColumn: never;
20638
+ identity: undefined;
20639
+ generated: undefined;
20640
+ }, {}, {
20641
+ $type: {
20642
+ type: "web_client";
20643
+ webClient: {
20644
+ allowedDomains: string[];
20645
+ };
20646
+ } | {
20647
+ type: "api";
20648
+ api: Record<string, never>;
20649
+ };
20650
+ }>;
20651
+ lastUsedAt: drizzle_orm_pg_core0.PgColumn<{
20652
+ name: "last_used_at";
20653
+ tableName: "apps";
20654
+ dataType: "string";
20655
+ columnType: "PgTimestampString";
20656
+ data: string;
20657
+ driverParam: string;
20658
+ notNull: false;
20659
+ hasDefault: false;
20660
+ isPrimaryKey: false;
20661
+ isAutoincrement: false;
20662
+ hasRuntimeDefault: false;
20663
+ enumValues: undefined;
20664
+ baseColumn: never;
20665
+ identity: undefined;
20666
+ generated: undefined;
20667
+ }, {}, {}>;
20668
+ }, undefined>, undefined>;
20669
+ declare const AppApiResponseSelectSchema: z.ZodObject<{
20670
+ id: z.ZodString;
20671
+ name: z.ZodString;
20672
+ description: z.ZodNullable<z.ZodString>;
20673
+ tenantId: z.ZodNullable<z.ZodString>;
20674
+ projectId: z.ZodNullable<z.ZodString>;
20675
+ type: z.ZodString;
20676
+ createdAt: z.ZodString;
20677
+ updatedAt: z.ZodString;
20678
+ enabled: z.ZodBoolean;
20679
+ lastUsedAt: z.ZodNullable<z.ZodString>;
20680
+ defaultProjectId: z.ZodNullable<z.ZodString>;
20681
+ defaultAgentId: z.ZodNullable<z.ZodString>;
20682
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
20683
+ type: z.ZodLiteral<"web_client">;
20684
+ webClient: z.ZodObject<{
20685
+ allowedDomains: z.ZodArray<z.ZodString>;
20686
+ }, z.core.$strip>;
20687
+ }, z.core.$strip>, z.ZodObject<{
20688
+ type: z.ZodLiteral<"api">;
20689
+ api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
20690
+ }, z.core.$strip>], "type">;
20691
+ }, {
20692
+ out: {};
20693
+ in: {};
20694
+ }>;
20695
+ declare const AppApiInsertSchema: z.ZodObject<{
20696
+ name: z.ZodString;
20697
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20698
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20699
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20700
+ type: z.ZodEnum<{
20701
+ web_client: "web_client";
20702
+ api: "api";
20703
+ }>;
20704
+ createdAt: z.ZodOptional<z.ZodString>;
20705
+ updatedAt: z.ZodOptional<z.ZodString>;
20706
+ enabled: z.ZodOptional<z.ZodBoolean>;
20707
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
20708
+ type: z.ZodLiteral<"web_client">;
20709
+ webClient: z.ZodObject<{
20710
+ allowedDomains: z.ZodArray<z.ZodString>;
20711
+ }, z.core.$strip>;
20712
+ }, z.core.$strip>, z.ZodObject<{
20713
+ type: z.ZodLiteral<"api">;
20714
+ api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
20715
+ }, z.core.$strip>], "type">;
20716
+ defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20717
+ defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20718
+ }, {
20719
+ out: {};
20720
+ in: {};
20721
+ }>;
20722
+ declare const AppApiUpdateSchema: z.ZodObject<{
20723
+ name: z.ZodOptional<z.ZodString>;
20724
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20725
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20726
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20727
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20728
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
20729
+ config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
20730
+ type: z.ZodLiteral<"web_client">;
20731
+ webClient: z.ZodObject<{
20732
+ allowedDomains: z.ZodArray<z.ZodString>;
20733
+ }, z.core.$strip>;
20734
+ }, z.core.$strip>, z.ZodObject<{
20735
+ type: z.ZodLiteral<"api">;
20736
+ api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
20737
+ }, z.core.$strip>], "type">>;
20738
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20739
+ defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20740
+ defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20741
+ }, {
20742
+ out: {};
20743
+ in: {};
20744
+ }>;
20745
+ declare const AppApiCreationResponseSchema: z.ZodObject<{
20746
+ data: z.ZodObject<{
20747
+ app: z.ZodObject<{
20748
+ id: z.ZodString;
20749
+ name: z.ZodString;
20750
+ description: z.ZodNullable<z.ZodString>;
20751
+ tenantId: z.ZodNullable<z.ZodString>;
20752
+ projectId: z.ZodNullable<z.ZodString>;
20753
+ type: z.ZodString;
20754
+ createdAt: z.ZodString;
20755
+ updatedAt: z.ZodString;
20756
+ enabled: z.ZodBoolean;
20757
+ lastUsedAt: z.ZodNullable<z.ZodString>;
20758
+ defaultProjectId: z.ZodNullable<z.ZodString>;
20759
+ defaultAgentId: z.ZodNullable<z.ZodString>;
20760
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
20761
+ type: z.ZodLiteral<"web_client">;
20762
+ webClient: z.ZodObject<{
20763
+ allowedDomains: z.ZodArray<z.ZodString>;
20764
+ }, z.core.$strip>;
20765
+ }, z.core.$strip>, z.ZodObject<{
20766
+ type: z.ZodLiteral<"api">;
20767
+ api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
20768
+ }, z.core.$strip>], "type">;
20769
+ }, {
20770
+ out: {};
20771
+ in: {};
20772
+ }>;
20773
+ }, z.core.$strip>;
20774
+ }, z.core.$strip>;
20775
+ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select", {
20776
+ createdAt: drizzle_orm_pg_core0.PgColumn<{
20777
+ name: "created_at";
20778
+ tableName: "credential_references";
20779
+ dataType: "string";
20780
+ columnType: "PgTimestampString";
20781
+ data: string;
20782
+ driverParam: string;
20783
+ notNull: true;
20784
+ hasDefault: true;
20785
+ isPrimaryKey: false;
20786
+ isAutoincrement: false;
20787
+ hasRuntimeDefault: false;
20788
+ enumValues: undefined;
20789
+ baseColumn: never;
20790
+ identity: undefined;
20791
+ generated: undefined;
20792
+ }, {}, {}>;
20793
+ updatedAt: drizzle_orm_pg_core0.PgColumn<{
20794
+ name: "updated_at";
20795
+ tableName: "credential_references";
20796
+ dataType: "string";
20797
+ columnType: "PgTimestampString";
20798
+ data: string;
20799
+ driverParam: string;
20800
+ notNull: true;
20801
+ hasDefault: true;
20802
+ isPrimaryKey: false;
20803
+ isAutoincrement: false;
20804
+ hasRuntimeDefault: false;
20805
+ enumValues: undefined;
20806
+ baseColumn: never;
20807
+ identity: undefined;
20808
+ generated: undefined;
20809
+ }, {}, {}>;
20810
+ name: drizzle_orm_pg_core0.PgColumn<{
20811
+ name: "name";
20812
+ tableName: "credential_references";
20813
+ dataType: "string";
20814
+ columnType: "PgVarchar";
20815
+ data: string;
20816
+ driverParam: string;
20817
+ notNull: true;
20818
+ hasDefault: false;
20819
+ isPrimaryKey: false;
20820
+ isAutoincrement: false;
20821
+ hasRuntimeDefault: false;
20822
+ enumValues: [string, ...string[]];
20823
+ baseColumn: never;
20824
+ identity: undefined;
20825
+ generated: undefined;
20826
+ }, {}, {
20827
+ length: 256;
20828
+ }>;
20829
+ type: drizzle_orm_pg_core0.PgColumn<{
20830
+ name: "type";
20831
+ tableName: "credential_references";
20832
+ dataType: "string";
20833
+ columnType: "PgVarchar";
20834
+ data: string;
20835
+ driverParam: string;
20836
+ notNull: true;
20837
+ hasDefault: false;
20838
+ isPrimaryKey: false;
20839
+ isAutoincrement: false;
20840
+ hasRuntimeDefault: false;
20841
+ enumValues: [string, ...string[]];
20842
+ baseColumn: never;
20843
+ identity: undefined;
20844
+ generated: undefined;
20845
+ }, {}, {
20846
+ length: 256;
20847
+ }>;
20848
+ credentialStoreId: drizzle_orm_pg_core0.PgColumn<{
20849
+ name: "credential_store_id";
20850
+ tableName: "credential_references";
20851
+ dataType: "string";
20852
+ columnType: "PgVarchar";
20853
+ data: string;
20854
+ driverParam: string;
20855
+ notNull: true;
20856
+ hasDefault: false;
20857
+ isPrimaryKey: false;
20858
+ isAutoincrement: false;
20859
+ hasRuntimeDefault: false;
20860
+ enumValues: [string, ...string[]];
20861
+ baseColumn: never;
20862
+ identity: undefined;
20863
+ generated: undefined;
20864
+ }, {}, {
20865
+ length: 256;
20866
+ }>;
20867
+ retrievalParams: drizzle_orm_pg_core0.PgColumn<{
20868
+ name: "retrieval_params";
20869
+ tableName: "credential_references";
20870
+ dataType: "json";
20871
+ columnType: "PgJsonb";
20872
+ data: Record<string, unknown>;
20873
+ driverParam: unknown;
20874
+ notNull: false;
20875
+ hasDefault: false;
20876
+ isPrimaryKey: false;
20877
+ isAutoincrement: false;
20878
+ hasRuntimeDefault: false;
20879
+ enumValues: undefined;
20880
+ baseColumn: never;
20881
+ identity: undefined;
20882
+ generated: undefined;
20883
+ }, {}, {
20884
+ $type: Record<string, unknown>;
20885
+ }>;
20886
+ toolId: drizzle_orm_pg_core0.PgColumn<{
20887
+ name: "tool_id";
20888
+ tableName: "credential_references";
20889
+ dataType: "string";
20890
+ columnType: "PgVarchar";
20891
+ data: string;
20892
+ driverParam: string;
20893
+ notNull: false;
20894
+ hasDefault: false;
20895
+ isPrimaryKey: false;
20896
+ isAutoincrement: false;
20897
+ hasRuntimeDefault: false;
20898
+ enumValues: [string, ...string[]];
20899
+ baseColumn: never;
20900
+ identity: undefined;
20901
+ generated: undefined;
20902
+ }, {}, {
20903
+ length: 256;
20904
+ }>;
20905
+ userId: drizzle_orm_pg_core0.PgColumn<{
20906
+ name: "user_id";
20907
+ tableName: "credential_references";
20908
+ dataType: "string";
20909
+ columnType: "PgVarchar";
20910
+ data: string;
20911
+ driverParam: string;
20912
+ notNull: false;
20913
+ hasDefault: false;
20914
+ isPrimaryKey: false;
20915
+ isAutoincrement: false;
20916
+ hasRuntimeDefault: false;
20917
+ enumValues: [string, ...string[]];
20918
+ baseColumn: never;
20919
+ identity: undefined;
20920
+ generated: undefined;
20921
+ }, {}, {
20922
+ length: 256;
20923
+ }>;
20924
+ createdBy: drizzle_orm_pg_core0.PgColumn<{
20925
+ name: "created_by";
20926
+ tableName: "credential_references";
20927
+ dataType: "string";
20928
+ columnType: "PgVarchar";
20929
+ data: string;
20930
+ driverParam: string;
20931
+ notNull: false;
20932
+ hasDefault: false;
20933
+ isPrimaryKey: false;
20934
+ isAutoincrement: false;
20935
+ hasRuntimeDefault: false;
20936
+ enumValues: [string, ...string[]];
20937
+ baseColumn: never;
20938
+ identity: undefined;
20939
+ generated: undefined;
20940
+ }, {}, {
20941
+ length: 256;
20942
+ }>;
20943
+ projectId: drizzle_orm_pg_core0.PgColumn<{
20944
+ name: "project_id";
20945
+ tableName: "credential_references";
20946
+ dataType: "string";
20947
+ columnType: "PgVarchar";
20948
+ data: string;
20949
+ driverParam: string;
20950
+ notNull: true;
20951
+ hasDefault: false;
20952
+ isPrimaryKey: false;
20953
+ isAutoincrement: false;
20954
+ hasRuntimeDefault: false;
20955
+ enumValues: [string, ...string[]];
20956
+ baseColumn: never;
20957
+ identity: undefined;
20958
+ generated: undefined;
20959
+ }, {}, {
20960
+ length: 256;
20961
+ }>;
20962
+ tenantId: drizzle_orm_pg_core0.PgColumn<{
20963
+ name: "tenant_id";
20964
+ tableName: "credential_references";
20965
+ dataType: "string";
20966
+ columnType: "PgVarchar";
20967
+ data: string;
20968
+ driverParam: string;
20969
+ notNull: true;
20970
+ hasDefault: false;
20971
+ isPrimaryKey: false;
20972
+ isAutoincrement: false;
20973
+ hasRuntimeDefault: false;
20974
+ enumValues: [string, ...string[]];
20975
+ baseColumn: never;
20976
+ identity: undefined;
20977
+ generated: undefined;
20978
+ }, {}, {
20979
+ length: 256;
20980
+ }>;
20981
+ id: drizzle_orm_pg_core0.PgColumn<{
20982
+ name: "id";
20983
+ tableName: "credential_references";
20984
+ dataType: "string";
20985
+ columnType: "PgVarchar";
20986
+ data: string;
20987
+ driverParam: string;
20988
+ notNull: true;
20989
+ hasDefault: false;
20990
+ isPrimaryKey: false;
20991
+ isAutoincrement: false;
20992
+ hasRuntimeDefault: false;
20993
+ enumValues: [string, ...string[]];
20994
+ baseColumn: never;
20995
+ identity: undefined;
20996
+ generated: undefined;
20997
+ }, {}, {
20998
+ length: 256;
20999
+ }>;
21000
+ }, drizzle_zod3.BuildRefine<{
21001
+ createdAt: drizzle_orm_pg_core0.PgColumn<{
21002
+ name: "created_at";
21003
+ tableName: "credential_references";
21004
+ dataType: "string";
21005
+ columnType: "PgTimestampString";
21006
+ data: string;
21007
+ driverParam: string;
21008
+ notNull: true;
21009
+ hasDefault: true;
21010
+ isPrimaryKey: false;
21011
+ isAutoincrement: false;
21012
+ hasRuntimeDefault: false;
21013
+ enumValues: undefined;
21014
+ baseColumn: never;
21015
+ identity: undefined;
21016
+ generated: undefined;
21017
+ }, {}, {}>;
21018
+ updatedAt: drizzle_orm_pg_core0.PgColumn<{
21019
+ name: "updated_at";
21020
+ tableName: "credential_references";
21021
+ dataType: "string";
21022
+ columnType: "PgTimestampString";
21023
+ data: string;
21024
+ driverParam: string;
21025
+ notNull: true;
21026
+ hasDefault: true;
21027
+ isPrimaryKey: false;
21028
+ isAutoincrement: false;
21029
+ hasRuntimeDefault: false;
21030
+ enumValues: undefined;
21031
+ baseColumn: never;
21032
+ identity: undefined;
21033
+ generated: undefined;
21034
+ }, {}, {}>;
21035
+ name: drizzle_orm_pg_core0.PgColumn<{
21036
+ name: "name";
21037
+ tableName: "credential_references";
21038
+ dataType: "string";
21039
+ columnType: "PgVarchar";
21040
+ data: string;
21041
+ driverParam: string;
21042
+ notNull: true;
21043
+ hasDefault: false;
21044
+ isPrimaryKey: false;
21045
+ isAutoincrement: false;
21046
+ hasRuntimeDefault: false;
21047
+ enumValues: [string, ...string[]];
21048
+ baseColumn: never;
21049
+ identity: undefined;
21050
+ generated: undefined;
21051
+ }, {}, {
21052
+ length: 256;
21053
+ }>;
21054
+ type: drizzle_orm_pg_core0.PgColumn<{
21055
+ name: "type";
21056
+ tableName: "credential_references";
21057
+ dataType: "string";
21058
+ columnType: "PgVarchar";
21059
+ data: string;
21060
+ driverParam: string;
21061
+ notNull: true;
21062
+ hasDefault: false;
21063
+ isPrimaryKey: false;
21064
+ isAutoincrement: false;
21065
+ hasRuntimeDefault: false;
21066
+ enumValues: [string, ...string[]];
21067
+ baseColumn: never;
21068
+ identity: undefined;
21069
+ generated: undefined;
21070
+ }, {}, {
21071
+ length: 256;
21072
+ }>;
21073
+ credentialStoreId: drizzle_orm_pg_core0.PgColumn<{
21074
+ name: "credential_store_id";
21075
+ tableName: "credential_references";
21076
+ dataType: "string";
21077
+ columnType: "PgVarchar";
21078
+ data: string;
21079
+ driverParam: string;
21080
+ notNull: true;
21081
+ hasDefault: false;
21082
+ isPrimaryKey: false;
21083
+ isAutoincrement: false;
21084
+ hasRuntimeDefault: false;
21085
+ enumValues: [string, ...string[]];
21086
+ baseColumn: never;
21087
+ identity: undefined;
21088
+ generated: undefined;
21089
+ }, {}, {
21090
+ length: 256;
21091
+ }>;
21092
+ retrievalParams: drizzle_orm_pg_core0.PgColumn<{
21093
+ name: "retrieval_params";
21094
+ tableName: "credential_references";
21095
+ dataType: "json";
21096
+ columnType: "PgJsonb";
21097
+ data: Record<string, unknown>;
21098
+ driverParam: unknown;
21099
+ notNull: false;
21100
+ hasDefault: false;
21101
+ isPrimaryKey: false;
21102
+ isAutoincrement: false;
21103
+ hasRuntimeDefault: false;
21104
+ enumValues: undefined;
21105
+ baseColumn: never;
21106
+ identity: undefined;
21107
+ generated: undefined;
21108
+ }, {}, {
21109
+ $type: Record<string, unknown>;
21110
+ }>;
21111
+ toolId: drizzle_orm_pg_core0.PgColumn<{
21112
+ name: "tool_id";
21113
+ tableName: "credential_references";
21114
+ dataType: "string";
21115
+ columnType: "PgVarchar";
21116
+ data: string;
21117
+ driverParam: string;
21118
+ notNull: false;
21119
+ hasDefault: false;
21120
+ isPrimaryKey: false;
21121
+ isAutoincrement: false;
21122
+ hasRuntimeDefault: false;
21123
+ enumValues: [string, ...string[]];
21124
+ baseColumn: never;
21125
+ identity: undefined;
21126
+ generated: undefined;
21127
+ }, {}, {
21128
+ length: 256;
21129
+ }>;
21130
+ userId: drizzle_orm_pg_core0.PgColumn<{
21131
+ name: "user_id";
21132
+ tableName: "credential_references";
21133
+ dataType: "string";
21134
+ columnType: "PgVarchar";
21135
+ data: string;
21136
+ driverParam: string;
21137
+ notNull: false;
21138
+ hasDefault: false;
21139
+ isPrimaryKey: false;
21140
+ isAutoincrement: false;
21141
+ hasRuntimeDefault: false;
21142
+ enumValues: [string, ...string[]];
21143
+ baseColumn: never;
21144
+ identity: undefined;
21145
+ generated: undefined;
21146
+ }, {}, {
21147
+ length: 256;
21148
+ }>;
21149
+ createdBy: drizzle_orm_pg_core0.PgColumn<{
21150
+ name: "created_by";
21151
+ tableName: "credential_references";
21152
+ dataType: "string";
21153
+ columnType: "PgVarchar";
21154
+ data: string;
21155
+ driverParam: string;
21156
+ notNull: false;
21157
+ hasDefault: false;
21158
+ isPrimaryKey: false;
21159
+ isAutoincrement: false;
21160
+ hasRuntimeDefault: false;
21161
+ enumValues: [string, ...string[]];
21162
+ baseColumn: never;
21163
+ identity: undefined;
21164
+ generated: undefined;
21165
+ }, {}, {
21166
+ length: 256;
21167
+ }>;
21168
+ projectId: drizzle_orm_pg_core0.PgColumn<{
21169
+ name: "project_id";
21170
+ tableName: "credential_references";
21171
+ dataType: "string";
21172
+ columnType: "PgVarchar";
21173
+ data: string;
21174
+ driverParam: string;
21175
+ notNull: true;
21176
+ hasDefault: false;
21177
+ isPrimaryKey: false;
21178
+ isAutoincrement: false;
21179
+ hasRuntimeDefault: false;
21180
+ enumValues: [string, ...string[]];
21181
+ baseColumn: never;
21182
+ identity: undefined;
21183
+ generated: undefined;
21184
+ }, {}, {
21185
+ length: 256;
21186
+ }>;
21187
+ tenantId: drizzle_orm_pg_core0.PgColumn<{
21188
+ name: "tenant_id";
21189
+ tableName: "credential_references";
21190
+ dataType: "string";
21191
+ columnType: "PgVarchar";
21192
+ data: string;
21193
+ driverParam: string;
21194
+ notNull: true;
21195
+ hasDefault: false;
21196
+ isPrimaryKey: false;
21197
+ isAutoincrement: false;
21198
+ hasRuntimeDefault: false;
21199
+ enumValues: [string, ...string[]];
21200
+ baseColumn: never;
21201
+ identity: undefined;
21202
+ generated: undefined;
21203
+ }, {}, {
21204
+ length: 256;
21205
+ }>;
21206
+ id: drizzle_orm_pg_core0.PgColumn<{
21207
+ name: "id";
21208
+ tableName: "credential_references";
21209
+ dataType: "string";
21210
+ columnType: "PgVarchar";
21211
+ data: string;
21212
+ driverParam: string;
21213
+ notNull: true;
21214
+ hasDefault: false;
21215
+ isPrimaryKey: false;
21216
+ isAutoincrement: false;
21217
+ hasRuntimeDefault: false;
21218
+ enumValues: [string, ...string[]];
21219
+ baseColumn: never;
21220
+ identity: undefined;
21221
+ generated: undefined;
21222
+ }, {}, {
21223
+ length: 256;
21224
+ }>;
21225
+ }, undefined>, undefined>;
21226
+ declare const CredentialReferenceInsertSchema: z.ZodObject<{
21227
+ createdAt: z.ZodOptional<z.ZodString>;
21228
+ updatedAt: z.ZodOptional<z.ZodString>;
21229
+ name: z.ZodString;
21230
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21231
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21232
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21233
+ projectId: z.ZodString;
21234
+ tenantId: z.ZodString;
21235
+ id: z.ZodString;
21236
+ type: z.ZodString;
21237
+ credentialStoreId: z.ZodString;
21238
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21239
+ }, {
21240
+ out: {};
21241
+ in: {};
21242
+ }>;
21243
+ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
21244
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21245
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21246
+ name: z.ZodOptional<z.ZodString>;
21247
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21248
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21249
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21250
+ projectId: z.ZodOptional<z.ZodString>;
21251
+ tenantId: z.ZodOptional<z.ZodString>;
21252
+ id: z.ZodOptional<z.ZodString>;
21253
+ type: z.ZodOptional<z.ZodString>;
21254
+ credentialStoreId: z.ZodOptional<z.ZodString>;
21255
+ retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21256
+ }, {
21257
+ out: {};
21258
+ in: {};
21259
+ }>;
21260
+ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
21261
+ id: z.ZodString;
21262
+ name: z.ZodString;
21263
+ createdAt: z.ZodString;
21264
+ updatedAt: z.ZodString;
21265
+ toolId: z.ZodNullable<z.ZodString>;
20051
21266
  createdBy: z.ZodNullable<z.ZodString>;
20052
21267
  credentialStoreId: z.ZodString;
20053
21268
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
20054
- toolId: z.ZodNullable<z.ZodString>;
21269
+ userId: z.ZodNullable<z.ZodString>;
20055
21270
  type: z.ZodEnum<{
20056
21271
  readonly memory: "memory";
20057
21272
  readonly keychain: "keychain";
@@ -20634,15 +21849,15 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20634
21849
  }>>>;
20635
21850
  }, z.core.$strip>;
20636
21851
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20637
- name: z.ZodString;
20638
21852
  id: z.ZodString;
21853
+ name: z.ZodString;
20639
21854
  createdAt: z.ZodOptional<z.ZodString>;
20640
21855
  updatedAt: z.ZodOptional<z.ZodString>;
20641
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21856
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20642
21857
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20643
21858
  credentialStoreId: z.ZodString;
20644
21859
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20645
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21860
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20646
21861
  type: z.ZodEnum<{
20647
21862
  readonly memory: "memory";
20648
21863
  readonly keychain: "keychain";
@@ -20650,15 +21865,15 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20650
21865
  }>;
20651
21866
  }, z.core.$strip>;
20652
21867
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20653
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20654
21868
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21869
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20655
21870
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20656
21871
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20657
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21872
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20658
21873
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20659
21874
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20660
21875
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20661
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21876
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20662
21877
  type: z.ZodOptional<z.ZodEnum<{
20663
21878
  readonly memory: "memory";
20664
21879
  readonly keychain: "keychain";
@@ -20781,8 +21996,8 @@ declare const McpToolSchema: z.ZodObject<{
20781
21996
  in: {};
20782
21997
  }>;
20783
21998
  declare const MCPToolConfigSchema: z.ZodObject<{
20784
- name: z.ZodString;
20785
21999
  id: z.ZodString;
22000
+ name: z.ZodString;
20786
22001
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20787
22002
  createdBy: z.ZodOptional<z.ZodString>;
20788
22003
  credentialScope: z.ZodOptional<z.ZodString>;
@@ -20817,15 +22032,15 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20817
22032
  sessionId: z.ZodOptional<z.ZodString>;
20818
22033
  }, z.core.$strip>>;
20819
22034
  credential: z.ZodOptional<z.ZodObject<{
20820
- name: z.ZodString;
20821
22035
  id: z.ZodString;
22036
+ name: z.ZodString;
20822
22037
  createdAt: z.ZodOptional<z.ZodString>;
20823
22038
  updatedAt: z.ZodOptional<z.ZodString>;
20824
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22039
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20825
22040
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20826
22041
  credentialStoreId: z.ZodString;
20827
22042
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20828
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22043
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20829
22044
  type: z.ZodEnum<{
20830
22045
  readonly memory: "memory";
20831
22046
  readonly keychain: "keychain";
@@ -20960,11 +22175,11 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
20960
22175
  }, z.core.$strip>;
20961
22176
  }>, z.core.$strip>;
20962
22177
  declare const ToolApiUpdateSchema: z.ZodObject<{
20963
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20964
22178
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22179
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22180
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20965
22181
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20966
22182
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20967
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20968
22183
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
20969
22184
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20970
22185
  type: z.ZodLiteral<"mcp">;
@@ -21361,12 +22576,12 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21361
22576
  in: {};
21362
22577
  }>;
21363
22578
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21364
- name: z.ZodString;
21365
22579
  id: z.ZodString;
22580
+ name: z.ZodString;
22581
+ description: z.ZodNullable<z.ZodString>;
22582
+ agentId: z.ZodString;
21366
22583
  createdAt: z.ZodString;
21367
22584
  updatedAt: z.ZodString;
21368
- agentId: z.ZodString;
21369
- description: z.ZodNullable<z.ZodString>;
21370
22585
  functionId: z.ZodString;
21371
22586
  relationshipId: z.ZodOptional<z.ZodString>;
21372
22587
  }, z.core.$strip>;
@@ -21382,12 +22597,12 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21382
22597
  id: z.ZodString;
21383
22598
  }>, z.core.$strip>;
21384
22599
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21385
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21386
22600
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22601
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22602
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22603
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21387
22604
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21388
22605
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21389
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21390
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21391
22606
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21392
22607
  }, z.core.$strip>;
21393
22608
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -21761,9 +22976,9 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21761
22976
  id: z.ZodString;
21762
22977
  }>, z.core.$strip>;
21763
22978
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
22979
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
21764
22980
  subAgentId: z.ZodString;
21765
22981
  functionToolId: z.ZodString;
21766
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
21767
22982
  }, {
21768
22983
  out: {};
21769
22984
  in: {};
@@ -22155,15 +23370,15 @@ declare const FetchDefinitionSchema: z.ZodObject<{
22155
23370
  responseSchema: z.ZodOptional<z.ZodAny>;
22156
23371
  defaultValue: z.ZodOptional<z.ZodAny>;
22157
23372
  credential: z.ZodOptional<z.ZodObject<{
22158
- name: z.ZodString;
22159
23373
  id: z.ZodString;
23374
+ name: z.ZodString;
22160
23375
  createdAt: z.ZodOptional<z.ZodString>;
22161
23376
  updatedAt: z.ZodOptional<z.ZodString>;
22162
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23377
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22163
23378
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22164
23379
  credentialStoreId: z.ZodString;
22165
23380
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22166
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23381
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22167
23382
  type: z.ZodEnum<{
22168
23383
  readonly memory: "memory";
22169
23384
  readonly keychain: "keychain";
@@ -22186,32 +23401,32 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
22186
23401
  }>;
22187
23402
  declare const ContextConfigInsertSchema: z.ZodObject<{
22188
23403
  id: z.ZodOptional<z.ZodString>;
23404
+ tenantId: z.ZodString;
23405
+ projectId: z.ZodString;
23406
+ agentId: z.ZodString;
22189
23407
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22190
23408
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22191
- agentId: z.ZodString;
22192
- projectId: z.ZodString;
22193
- tenantId: z.ZodString;
22194
23409
  }, {
22195
23410
  out: {};
22196
23411
  in: {};
22197
23412
  }>;
22198
23413
  declare const ContextConfigUpdateSchema: z.ZodObject<{
22199
23414
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23415
+ tenantId: z.ZodOptional<z.ZodString>;
23416
+ projectId: z.ZodOptional<z.ZodString>;
23417
+ agentId: z.ZodOptional<z.ZodString>;
22200
23418
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22201
23419
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22202
- agentId: z.ZodOptional<z.ZodString>;
22203
- projectId: z.ZodOptional<z.ZodString>;
22204
- tenantId: z.ZodOptional<z.ZodString>;
22205
23420
  }, {
22206
23421
  out: {};
22207
23422
  in: {};
22208
23423
  }>;
22209
23424
  declare const ContextConfigApiSelectSchema: z.ZodObject<{
22210
23425
  id: z.ZodString;
22211
- headersSchema: z.ZodOptional<z.ZodAny>;
22212
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
22213
23426
  createdAt: z.ZodString;
22214
23427
  updatedAt: z.ZodString;
23428
+ headersSchema: z.ZodOptional<z.ZodAny>;
23429
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
22215
23430
  }, z.core.$strip>;
22216
23431
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
22217
23432
  id: z.ZodOptional<z.ZodString>;
@@ -22712,12 +23927,12 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22712
23927
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22713
23928
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22714
23929
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22715
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22716
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22717
23930
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23931
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22718
23932
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22719
23933
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22720
23934
  }, z.core.$strip>>>>>>;
23935
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22721
23936
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22722
23937
  }, z.core.$strip>;
22723
23938
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -23106,9 +24321,9 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
23106
24321
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23107
24322
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23108
24323
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23109
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23110
24324
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23111
24325
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24326
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23112
24327
  }, z.core.$strip>;
23113
24328
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
23114
24329
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -23496,8 +24711,8 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23496
24711
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23497
24712
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23498
24713
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23499
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23500
24714
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
24715
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23501
24716
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23502
24717
  }, z.core.$strip>;
23503
24718
  declare const LedgerArtifactSelectSchema: drizzle_zod3.BuildSchema<"select", {
@@ -24841,7 +26056,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
24841
26056
  }, {}, {
24842
26057
  length: 256;
24843
26058
  }>;
24844
- }, "name" | "id" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "description" | "type" | "metadata" | "toolCallId" | "taskId" | "contextId" | "visibility" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
26059
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24845
26060
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24846
26061
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24847
26062
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24906,17 +26121,17 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24906
26121
  id: z.ZodString;
24907
26122
  }>, z.core.$strip>;
24908
26123
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24909
- name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24910
26124
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24911
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24912
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
26125
+ name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24913
26126
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24914
26127
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
26128
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
26129
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24915
26130
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24916
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24917
26131
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24918
26132
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24919
26133
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
26134
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24920
26135
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24921
26136
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24922
26137
  mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
@@ -24986,11 +26201,10 @@ declare const TeamAgentSchema: z.ZodObject<{
24986
26201
  description: z.ZodString;
24987
26202
  }, z.core.$strip>;
24988
26203
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24989
- name: z.ZodString;
24990
26204
  id: z.ZodString;
24991
- createdAt: z.ZodOptional<z.ZodString>;
24992
- updatedAt: z.ZodOptional<z.ZodString>;
26205
+ name: z.ZodString;
24993
26206
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26207
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24994
26208
  models: z.ZodOptional<z.ZodObject<{
24995
26209
  base: z.ZodOptional<z.ZodObject<{
24996
26210
  model: z.ZodOptional<z.ZodString>;
@@ -25005,7 +26219,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25005
26219
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25006
26220
  }, z.core.$strip>>;
25007
26221
  }, z.core.$strip>>;
25008
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
26222
+ createdAt: z.ZodOptional<z.ZodString>;
26223
+ updatedAt: z.ZodOptional<z.ZodString>;
25009
26224
  type: z.ZodLiteral<"internal">;
25010
26225
  canUse: z.ZodArray<z.ZodObject<{
25011
26226
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25040,18 +26255,17 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25040
26255
  }, z.core.$strip>;
25041
26256
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25042
26257
  name: z.ZodString;
25043
- createdAt: z.ZodOptional<z.ZodString>;
25044
- updatedAt: z.ZodOptional<z.ZodString>;
25045
26258
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25046
26259
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26260
+ createdAt: z.ZodOptional<z.ZodString>;
26261
+ updatedAt: z.ZodOptional<z.ZodString>;
25047
26262
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25048
26263
  id: z.ZodString;
25049
26264
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25050
- name: z.ZodString;
25051
26265
  id: z.ZodString;
25052
- createdAt: z.ZodOptional<z.ZodString>;
25053
- updatedAt: z.ZodOptional<z.ZodString>;
26266
+ name: z.ZodString;
25054
26267
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26268
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25055
26269
  models: z.ZodOptional<z.ZodObject<{
25056
26270
  base: z.ZodOptional<z.ZodObject<{
25057
26271
  model: z.ZodOptional<z.ZodString>;
@@ -25066,7 +26280,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25066
26280
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25067
26281
  }, z.core.$strip>>;
25068
26282
  }, z.core.$strip>>;
25069
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
26283
+ createdAt: z.ZodOptional<z.ZodString>;
26284
+ updatedAt: z.ZodOptional<z.ZodString>;
25070
26285
  type: z.ZodLiteral<"internal">;
25071
26286
  canUse: z.ZodArray<z.ZodObject<{
25072
26287
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25178,9 +26393,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25178
26393
  }, z.core.$strip>>>;
25179
26394
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25180
26395
  name: z.ZodString;
26396
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25181
26397
  createdAt: z.ZodOptional<z.ZodString>;
25182
26398
  updatedAt: z.ZodOptional<z.ZodString>;
25183
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25184
26399
  enabled: z.ZodOptional<z.ZodBoolean>;
25185
26400
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25186
26401
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -25194,9 +26409,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25194
26409
  }, z.core.$strip>>>;
25195
26410
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25196
26411
  name: z.ZodString;
26412
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25197
26413
  createdAt: z.ZodOptional<z.ZodString>;
25198
26414
  updatedAt: z.ZodOptional<z.ZodString>;
25199
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25200
26415
  enabled: z.ZodOptional<z.ZodBoolean>;
25201
26416
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25202
26417
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25309,10 +26524,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
25309
26524
  in: {};
25310
26525
  }>;
25311
26526
  declare const ProjectInsertSchema: z.ZodObject<{
25312
- name: z.ZodString;
25313
26527
  id: z.ZodString;
25314
- tenantId: z.ZodString;
26528
+ name: z.ZodString;
25315
26529
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26530
+ tenantId: z.ZodString;
25316
26531
  models: z.ZodObject<{
25317
26532
  base: z.ZodObject<{
25318
26533
  model: z.ZodOptional<z.ZodString>;
@@ -25361,10 +26576,8 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25361
26576
  in: {};
25362
26577
  }>;
25363
26578
  declare const ProjectApiSelectSchema: z.ZodObject<{
25364
- name: z.ZodString;
25365
26579
  id: z.ZodString;
25366
- createdAt: z.ZodString;
25367
- updatedAt: z.ZodString;
26580
+ name: z.ZodString;
25368
26581
  description: z.ZodNullable<z.ZodString>;
25369
26582
  models: z.ZodNullable<z.ZodObject<{
25370
26583
  base: z.ZodObject<{
@@ -25384,13 +26597,15 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25384
26597
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25385
26598
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25386
26599
  }, z.core.$strip>>;
26600
+ createdAt: z.ZodString;
26601
+ updatedAt: z.ZodString;
25387
26602
  }, {
25388
26603
  out: {};
25389
26604
  in: {};
25390
26605
  }>;
25391
26606
  declare const ProjectApiInsertSchema: z.ZodObject<{
25392
- name: z.ZodString;
25393
26607
  id: z.ZodString;
26608
+ name: z.ZodString;
25394
26609
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25395
26610
  models: z.ZodObject<{
25396
26611
  base: z.ZodObject<{
@@ -25440,8 +26655,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
25440
26655
  in: {};
25441
26656
  }>;
25442
26657
  declare const FullProjectDefinitionSchema: z.ZodObject<{
25443
- name: z.ZodString;
25444
26658
  id: z.ZodString;
26659
+ name: z.ZodString;
25445
26660
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25446
26661
  models: z.ZodObject<{
25447
26662
  base: z.ZodObject<{
@@ -25463,18 +26678,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25463
26678
  }, z.core.$strip>>;
25464
26679
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25465
26680
  name: z.ZodString;
25466
- createdAt: z.ZodOptional<z.ZodString>;
25467
- updatedAt: z.ZodOptional<z.ZodString>;
25468
26681
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25469
26682
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26683
+ createdAt: z.ZodOptional<z.ZodString>;
26684
+ updatedAt: z.ZodOptional<z.ZodString>;
25470
26685
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25471
26686
  id: z.ZodString;
25472
26687
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25473
- name: z.ZodString;
25474
26688
  id: z.ZodString;
25475
- createdAt: z.ZodOptional<z.ZodString>;
25476
- updatedAt: z.ZodOptional<z.ZodString>;
26689
+ name: z.ZodString;
25477
26690
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26691
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25478
26692
  models: z.ZodOptional<z.ZodObject<{
25479
26693
  base: z.ZodOptional<z.ZodObject<{
25480
26694
  model: z.ZodOptional<z.ZodString>;
@@ -25489,7 +26703,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25489
26703
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25490
26704
  }, z.core.$strip>>;
25491
26705
  }, z.core.$strip>>;
25492
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
26706
+ createdAt: z.ZodOptional<z.ZodString>;
26707
+ updatedAt: z.ZodOptional<z.ZodString>;
25493
26708
  type: z.ZodLiteral<"internal">;
25494
26709
  canUse: z.ZodArray<z.ZodObject<{
25495
26710
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25601,9 +26816,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25601
26816
  }, z.core.$strip>>>;
25602
26817
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25603
26818
  name: z.ZodString;
26819
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25604
26820
  createdAt: z.ZodOptional<z.ZodString>;
25605
26821
  updatedAt: z.ZodOptional<z.ZodString>;
25606
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25607
26822
  enabled: z.ZodOptional<z.ZodBoolean>;
25608
26823
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25609
26824
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -25617,9 +26832,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25617
26832
  }, z.core.$strip>>>;
25618
26833
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25619
26834
  name: z.ZodString;
26835
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25620
26836
  createdAt: z.ZodOptional<z.ZodString>;
25621
26837
  updatedAt: z.ZodOptional<z.ZodString>;
25622
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25623
26838
  enabled: z.ZodOptional<z.ZodBoolean>;
25624
26839
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25625
26840
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25735,9 +26950,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25735
26950
  }, z.core.$strip>>>;
25736
26951
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25737
26952
  name: z.ZodString;
25738
- projectId: z.ZodString;
25739
- tenantId: z.ZodString;
25740
26953
  description: z.ZodString;
26954
+ tenantId: z.ZodString;
26955
+ projectId: z.ZodString;
25741
26956
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25742
26957
  content: z.ZodString;
25743
26958
  }>, z.core.$strip>>>;
@@ -25823,15 +27038,15 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25823
27038
  }, z.core.$strip>>>;
25824
27039
  }, z.core.$strip>>;
25825
27040
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25826
- name: z.ZodString;
25827
27041
  id: z.ZodString;
27042
+ name: z.ZodString;
25828
27043
  createdAt: z.ZodOptional<z.ZodString>;
25829
27044
  updatedAt: z.ZodOptional<z.ZodString>;
25830
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27045
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25831
27046
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25832
27047
  credentialStoreId: z.ZodString;
25833
27048
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25834
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27049
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25835
27050
  type: z.ZodEnum<{
25836
27051
  readonly memory: "memory";
25837
27052
  readonly keychain: "keychain";
@@ -25845,11 +27060,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25845
27060
  in: {};
25846
27061
  }>;
25847
27062
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25848
- name: z.ZodString;
25849
27063
  id: z.ZodString;
25850
- createdAt: z.ZodString;
25851
- updatedAt: z.ZodString;
27064
+ name: z.ZodString;
25852
27065
  description: z.ZodNullable<z.ZodString>;
27066
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25853
27067
  models: z.ZodNullable<z.ZodType<{
25854
27068
  base?: {
25855
27069
  model?: string | undefined;
@@ -25912,7 +27126,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25912
27126
  }, {
25913
27127
  stepCountIs?: number | undefined;
25914
27128
  }>>>;
25915
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27129
+ createdAt: z.ZodString;
27130
+ updatedAt: z.ZodString;
25916
27131
  type: z.ZodLiteral<"internal">;
25917
27132
  canUse: z.ZodArray<z.ZodObject<{
25918
27133
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25938,11 +27153,10 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25938
27153
  }, z.core.$strip>]>>>;
25939
27154
  }, z.core.$strip>;
25940
27155
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25941
- name: z.ZodString;
25942
27156
  id: z.ZodString;
25943
- createdAt: z.ZodString;
25944
- updatedAt: z.ZodString;
27157
+ name: z.ZodString;
25945
27158
  description: z.ZodNullable<z.ZodString>;
27159
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25946
27160
  models: z.ZodNullable<z.ZodType<{
25947
27161
  base?: {
25948
27162
  model?: string | undefined;
@@ -26005,7 +27219,8 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26005
27219
  }, {
26006
27220
  stepCountIs?: number | undefined;
26007
27221
  }>>>;
26008
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27222
+ createdAt: z.ZodString;
27223
+ updatedAt: z.ZodString;
26009
27224
  type: z.ZodLiteral<"internal">;
26010
27225
  canUse: z.ZodArray<z.ZodObject<{
26011
27226
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26037,19 +27252,18 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26037
27252
  }, z.core.$strip>]>>>;
26038
27253
  }, z.core.$strip>;
26039
27254
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26040
- name: z.ZodString;
26041
27255
  id: z.ZodString;
26042
- createdAt: z.ZodString;
26043
- updatedAt: z.ZodString;
27256
+ name: z.ZodString;
26044
27257
  description: z.ZodNullable<z.ZodString>;
26045
27258
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
27259
+ createdAt: z.ZodString;
27260
+ updatedAt: z.ZodString;
26046
27261
  contextConfigId: z.ZodNullable<z.ZodString>;
26047
27262
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26048
- name: z.ZodString;
26049
27263
  id: z.ZodString;
26050
- createdAt: z.ZodString;
26051
- updatedAt: z.ZodString;
27264
+ name: z.ZodString;
26052
27265
  description: z.ZodNullable<z.ZodString>;
27266
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26053
27267
  models: z.ZodNullable<z.ZodType<{
26054
27268
  base?: {
26055
27269
  model?: string | undefined;
@@ -26112,7 +27326,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26112
27326
  }, {
26113
27327
  stepCountIs?: number | undefined;
26114
27328
  }>>>;
26115
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27329
+ createdAt: z.ZodString;
27330
+ updatedAt: z.ZodString;
26116
27331
  type: z.ZodLiteral<"internal">;
26117
27332
  canUse: z.ZodArray<z.ZodObject<{
26118
27333
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26183,12 +27398,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26183
27398
  description: z.ZodString;
26184
27399
  }, z.core.$strip>>>;
26185
27400
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26186
- name: z.ZodString;
26187
27401
  id: z.ZodString;
27402
+ name: z.ZodString;
27403
+ description: z.ZodNullable<z.ZodString>;
27404
+ agentId: z.ZodString;
26188
27405
  createdAt: z.ZodString;
26189
27406
  updatedAt: z.ZodString;
26190
- agentId: z.ZodString;
26191
- description: z.ZodNullable<z.ZodString>;
26192
27407
  functionId: z.ZodString;
26193
27408
  relationshipId: z.ZodOptional<z.ZodString>;
26194
27409
  }, z.core.$strip>>>;
@@ -26225,10 +27440,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26225
27440
  }>, z.core.$strip>>>;
26226
27441
  contextConfig: z.ZodNullable<z.ZodObject<{
26227
27442
  id: z.ZodString;
26228
- headersSchema: z.ZodOptional<z.ZodAny>;
26229
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26230
27443
  createdAt: z.ZodString;
26231
27444
  updatedAt: z.ZodString;
27445
+ headersSchema: z.ZodOptional<z.ZodAny>;
27446
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26232
27447
  }, z.core.$strip>>;
26233
27448
  statusUpdates: z.ZodNullable<z.ZodObject<{
26234
27449
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26265,12 +27480,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26265
27480
  prompt: z.ZodNullable<z.ZodString>;
26266
27481
  }, z.core.$strip>;
26267
27482
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26268
- name: z.ZodString;
26269
27483
  id: z.ZodString;
26270
- createdAt: z.ZodString;
26271
- updatedAt: z.ZodString;
27484
+ name: z.ZodString;
26272
27485
  description: z.ZodNullable<z.ZodString>;
26273
27486
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
27487
+ createdAt: z.ZodString;
27488
+ updatedAt: z.ZodString;
26274
27489
  contextConfigId: z.ZodNullable<z.ZodString>;
26275
27490
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26276
27491
  createdAt: z.ZodString;
@@ -26318,12 +27533,12 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26318
27533
  description: z.ZodString;
26319
27534
  }, z.core.$strip>>>;
26320
27535
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26321
- name: z.ZodString;
26322
27536
  id: z.ZodString;
27537
+ name: z.ZodString;
27538
+ description: z.ZodNullable<z.ZodString>;
27539
+ agentId: z.ZodString;
26323
27540
  createdAt: z.ZodString;
26324
27541
  updatedAt: z.ZodString;
26325
- agentId: z.ZodString;
26326
- description: z.ZodNullable<z.ZodString>;
26327
27542
  functionId: z.ZodString;
26328
27543
  relationshipId: z.ZodOptional<z.ZodString>;
26329
27544
  }, z.core.$strip>>>;
@@ -26360,10 +27575,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26360
27575
  }>, z.core.$strip>>>;
26361
27576
  contextConfig: z.ZodNullable<z.ZodObject<{
26362
27577
  id: z.ZodString;
26363
- headersSchema: z.ZodOptional<z.ZodAny>;
26364
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26365
27578
  createdAt: z.ZodString;
26366
27579
  updatedAt: z.ZodString;
27580
+ headersSchema: z.ZodOptional<z.ZodAny>;
27581
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26367
27582
  }, z.core.$strip>>;
26368
27583
  statusUpdates: z.ZodNullable<z.ZodObject<{
26369
27584
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26399,11 +27614,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26399
27614
  }, z.core.$strip>>;
26400
27615
  prompt: z.ZodNullable<z.ZodString>;
26401
27616
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26402
- name: z.ZodString;
26403
27617
  id: z.ZodString;
26404
- createdAt: z.ZodString;
26405
- updatedAt: z.ZodString;
27618
+ name: z.ZodString;
26406
27619
  description: z.ZodNullable<z.ZodString>;
27620
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26407
27621
  models: z.ZodNullable<z.ZodType<{
26408
27622
  base?: {
26409
27623
  model?: string | undefined;
@@ -26466,7 +27680,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26466
27680
  }, {
26467
27681
  stepCountIs?: number | undefined;
26468
27682
  }>>>;
26469
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27683
+ createdAt: z.ZodString;
27684
+ updatedAt: z.ZodString;
26470
27685
  type: z.ZodLiteral<"internal">;
26471
27686
  canUse: z.ZodArray<z.ZodObject<{
26472
27687
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26499,10 +27714,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26499
27714
  }, z.core.$strip>>;
26500
27715
  }, z.core.$strip>;
26501
27716
  declare const FullProjectSelectSchema: z.ZodObject<{
26502
- name: z.ZodString;
26503
27717
  id: z.ZodString;
26504
- createdAt: z.ZodString;
26505
- updatedAt: z.ZodString;
27718
+ name: z.ZodString;
26506
27719
  description: z.ZodNullable<z.ZodString>;
26507
27720
  models: z.ZodNullable<z.ZodObject<{
26508
27721
  base: z.ZodObject<{
@@ -26522,20 +27735,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26522
27735
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26523
27736
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26524
27737
  }, z.core.$strip>>;
27738
+ createdAt: z.ZodString;
27739
+ updatedAt: z.ZodString;
26525
27740
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26526
- name: z.ZodString;
26527
27741
  id: z.ZodString;
26528
- createdAt: z.ZodString;
26529
- updatedAt: z.ZodString;
27742
+ name: z.ZodString;
26530
27743
  description: z.ZodNullable<z.ZodString>;
26531
27744
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
27745
+ createdAt: z.ZodString;
27746
+ updatedAt: z.ZodString;
26532
27747
  contextConfigId: z.ZodNullable<z.ZodString>;
26533
27748
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26534
- name: z.ZodString;
26535
27749
  id: z.ZodString;
26536
- createdAt: z.ZodString;
26537
- updatedAt: z.ZodString;
27750
+ name: z.ZodString;
26538
27751
  description: z.ZodNullable<z.ZodString>;
27752
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26539
27753
  models: z.ZodNullable<z.ZodType<{
26540
27754
  base?: {
26541
27755
  model?: string | undefined;
@@ -26598,7 +27812,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26598
27812
  }, {
26599
27813
  stepCountIs?: number | undefined;
26600
27814
  }>>>;
26601
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27815
+ createdAt: z.ZodString;
27816
+ updatedAt: z.ZodString;
26602
27817
  type: z.ZodLiteral<"internal">;
26603
27818
  canUse: z.ZodArray<z.ZodObject<{
26604
27819
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26669,12 +27884,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26669
27884
  description: z.ZodString;
26670
27885
  }, z.core.$strip>>>;
26671
27886
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26672
- name: z.ZodString;
26673
27887
  id: z.ZodString;
27888
+ name: z.ZodString;
27889
+ description: z.ZodNullable<z.ZodString>;
27890
+ agentId: z.ZodString;
26674
27891
  createdAt: z.ZodString;
26675
27892
  updatedAt: z.ZodString;
26676
- agentId: z.ZodString;
26677
- description: z.ZodNullable<z.ZodString>;
26678
27893
  functionId: z.ZodString;
26679
27894
  relationshipId: z.ZodOptional<z.ZodString>;
26680
27895
  }, z.core.$strip>>>;
@@ -26711,10 +27926,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26711
27926
  }>, z.core.$strip>>>;
26712
27927
  contextConfig: z.ZodNullable<z.ZodObject<{
26713
27928
  id: z.ZodString;
26714
- headersSchema: z.ZodOptional<z.ZodAny>;
26715
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26716
27929
  createdAt: z.ZodString;
26717
27930
  updatedAt: z.ZodString;
27931
+ headersSchema: z.ZodOptional<z.ZodAny>;
27932
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26718
27933
  }, z.core.$strip>>;
26719
27934
  statusUpdates: z.ZodNullable<z.ZodObject<{
26720
27935
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26780,12 +27995,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26780
27995
  id: z.ZodString;
26781
27996
  }>, z.core.$strip>>;
26782
27997
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26783
- name: z.ZodString;
26784
27998
  id: z.ZodString;
27999
+ name: z.ZodString;
28000
+ description: z.ZodNullable<z.ZodString>;
28001
+ agentId: z.ZodString;
26785
28002
  createdAt: z.ZodString;
26786
28003
  updatedAt: z.ZodString;
26787
- agentId: z.ZodString;
26788
- description: z.ZodNullable<z.ZodString>;
26789
28004
  functionId: z.ZodString;
26790
28005
  relationshipId: z.ZodOptional<z.ZodString>;
26791
28006
  }, z.core.$strip>>>;
@@ -26928,15 +28143,15 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26928
28143
  }, z.core.$strip>>>;
26929
28144
  }, z.core.$strip>>;
26930
28145
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26931
- name: z.ZodString;
26932
28146
  id: z.ZodString;
28147
+ name: z.ZodString;
26933
28148
  createdAt: z.ZodString;
26934
28149
  updatedAt: z.ZodString;
26935
- userId: z.ZodNullable<z.ZodString>;
28150
+ toolId: z.ZodNullable<z.ZodString>;
26936
28151
  createdBy: z.ZodNullable<z.ZodString>;
26937
28152
  credentialStoreId: z.ZodString;
26938
28153
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26939
- toolId: z.ZodNullable<z.ZodString>;
28154
+ userId: z.ZodNullable<z.ZodString>;
26940
28155
  type: z.ZodEnum<{
26941
28156
  readonly memory: "memory";
26942
28157
  readonly keychain: "keychain";
@@ -27523,10 +28738,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27523
28738
  in: {};
27524
28739
  }>;
27525
28740
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27526
- name: z.ZodString;
27527
28741
  id: z.ZodString;
27528
- createdAt: z.ZodString;
27529
- updatedAt: z.ZodString;
28742
+ name: z.ZodString;
27530
28743
  description: z.ZodNullable<z.ZodString>;
27531
28744
  models: z.ZodNullable<z.ZodObject<{
27532
28745
  base: z.ZodObject<{
@@ -27546,6 +28759,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27546
28759
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27547
28760
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27548
28761
  }, z.core.$strip>>;
28762
+ createdAt: z.ZodString;
28763
+ updatedAt: z.ZodString;
27549
28764
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27550
28765
  createdAt: z.ZodString;
27551
28766
  updatedAt: z.ZodString;
@@ -27576,12 +28791,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27576
28791
  id: z.ZodString;
27577
28792
  }>, z.core.$strip>>;
27578
28793
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27579
- name: z.ZodString;
27580
28794
  id: z.ZodString;
28795
+ name: z.ZodString;
28796
+ description: z.ZodNullable<z.ZodString>;
28797
+ agentId: z.ZodString;
27581
28798
  createdAt: z.ZodString;
27582
28799
  updatedAt: z.ZodString;
27583
- agentId: z.ZodString;
27584
- description: z.ZodNullable<z.ZodString>;
27585
28800
  functionId: z.ZodString;
27586
28801
  relationshipId: z.ZodOptional<z.ZodString>;
27587
28802
  }, z.core.$strip>>>;
@@ -27724,15 +28939,15 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27724
28939
  }, z.core.$strip>>>;
27725
28940
  }, z.core.$strip>>;
27726
28941
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27727
- name: z.ZodString;
27728
28942
  id: z.ZodString;
28943
+ name: z.ZodString;
27729
28944
  createdAt: z.ZodString;
27730
28945
  updatedAt: z.ZodString;
27731
- userId: z.ZodNullable<z.ZodString>;
28946
+ toolId: z.ZodNullable<z.ZodString>;
27732
28947
  createdBy: z.ZodNullable<z.ZodString>;
27733
28948
  credentialStoreId: z.ZodString;
27734
28949
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27735
- toolId: z.ZodNullable<z.ZodString>;
28950
+ userId: z.ZodNullable<z.ZodString>;
27736
28951
  type: z.ZodEnum<{
27737
28952
  readonly memory: "memory";
27738
28953
  readonly keychain: "keychain";
@@ -28315,12 +29530,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28315
29530
  }>>>;
28316
29531
  }, z.core.$strip>>>;
28317
29532
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28318
- name: z.ZodString;
28319
29533
  id: z.ZodString;
28320
- createdAt: z.ZodString;
28321
- updatedAt: z.ZodString;
29534
+ name: z.ZodString;
28322
29535
  description: z.ZodNullable<z.ZodString>;
28323
29536
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
29537
+ createdAt: z.ZodString;
29538
+ updatedAt: z.ZodString;
28324
29539
  contextConfigId: z.ZodNullable<z.ZodString>;
28325
29540
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28326
29541
  createdAt: z.ZodString;
@@ -28368,12 +29583,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28368
29583
  description: z.ZodString;
28369
29584
  }, z.core.$strip>>>;
28370
29585
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28371
- name: z.ZodString;
28372
29586
  id: z.ZodString;
29587
+ name: z.ZodString;
29588
+ description: z.ZodNullable<z.ZodString>;
29589
+ agentId: z.ZodString;
28373
29590
  createdAt: z.ZodString;
28374
29591
  updatedAt: z.ZodString;
28375
- agentId: z.ZodString;
28376
- description: z.ZodNullable<z.ZodString>;
28377
29592
  functionId: z.ZodString;
28378
29593
  relationshipId: z.ZodOptional<z.ZodString>;
28379
29594
  }, z.core.$strip>>>;
@@ -28410,10 +29625,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28410
29625
  }>, z.core.$strip>>>;
28411
29626
  contextConfig: z.ZodNullable<z.ZodObject<{
28412
29627
  id: z.ZodString;
28413
- headersSchema: z.ZodOptional<z.ZodAny>;
28414
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
28415
29628
  createdAt: z.ZodString;
28416
29629
  updatedAt: z.ZodString;
29630
+ headersSchema: z.ZodOptional<z.ZodAny>;
29631
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
28417
29632
  }, z.core.$strip>>;
28418
29633
  statusUpdates: z.ZodNullable<z.ZodObject<{
28419
29634
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -28449,11 +29664,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28449
29664
  }, z.core.$strip>>;
28450
29665
  prompt: z.ZodNullable<z.ZodString>;
28451
29666
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28452
- name: z.ZodString;
28453
29667
  id: z.ZodString;
28454
- createdAt: z.ZodString;
28455
- updatedAt: z.ZodString;
29668
+ name: z.ZodString;
28456
29669
  description: z.ZodNullable<z.ZodString>;
29670
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28457
29671
  models: z.ZodNullable<z.ZodType<{
28458
29672
  base?: {
28459
29673
  model?: string | undefined;
@@ -28516,7 +29730,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28516
29730
  }, {
28517
29731
  stepCountIs?: number | undefined;
28518
29732
  }>>>;
28519
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29733
+ createdAt: z.ZodString;
29734
+ updatedAt: z.ZodString;
28520
29735
  type: z.ZodLiteral<"internal">;
28521
29736
  canUse: z.ZodArray<z.ZodObject<{
28522
29737
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28554,10 +29769,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28554
29769
  }>;
28555
29770
  declare const ProjectResponse: z.ZodObject<{
28556
29771
  data: z.ZodObject<{
28557
- name: z.ZodString;
28558
29772
  id: z.ZodString;
28559
- createdAt: z.ZodString;
28560
- updatedAt: z.ZodString;
29773
+ name: z.ZodString;
28561
29774
  description: z.ZodNullable<z.ZodString>;
28562
29775
  models: z.ZodNullable<z.ZodObject<{
28563
29776
  base: z.ZodObject<{
@@ -28577,6 +29790,8 @@ declare const ProjectResponse: z.ZodObject<{
28577
29790
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28578
29791
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28579
29792
  }, z.core.$strip>>;
29793
+ createdAt: z.ZodString;
29794
+ updatedAt: z.ZodString;
28580
29795
  }, {
28581
29796
  out: {};
28582
29797
  in: {};
@@ -28807,19 +30022,19 @@ declare const ExternalAgentResponse: z.ZodObject<{
28807
30022
  declare const ContextConfigResponse: z.ZodObject<{
28808
30023
  data: z.ZodObject<{
28809
30024
  id: z.ZodString;
28810
- headersSchema: z.ZodOptional<z.ZodAny>;
28811
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
28812
30025
  createdAt: z.ZodString;
28813
30026
  updatedAt: z.ZodString;
30027
+ headersSchema: z.ZodOptional<z.ZodAny>;
30028
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
28814
30029
  }, z.core.$strip>;
28815
30030
  }, z.core.$strip>;
28816
30031
  declare const ApiKeyResponse: z.ZodObject<{
28817
30032
  data: z.ZodObject<{
28818
- name: z.ZodNullable<z.ZodString>;
28819
30033
  id: z.ZodString;
30034
+ name: z.ZodNullable<z.ZodString>;
30035
+ agentId: z.ZodString;
28820
30036
  createdAt: z.ZodString;
28821
30037
  updatedAt: z.ZodString;
28822
- agentId: z.ZodString;
28823
30038
  publicId: z.ZodString;
28824
30039
  keyPrefix: z.ZodString;
28825
30040
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -28831,15 +30046,15 @@ declare const ApiKeyResponse: z.ZodObject<{
28831
30046
  }, z.core.$strip>;
28832
30047
  declare const CredentialReferenceResponse: z.ZodObject<{
28833
30048
  data: z.ZodObject<{
28834
- name: z.ZodString;
28835
30049
  id: z.ZodString;
30050
+ name: z.ZodString;
28836
30051
  createdAt: z.ZodString;
28837
30052
  updatedAt: z.ZodString;
28838
- userId: z.ZodNullable<z.ZodString>;
30053
+ toolId: z.ZodNullable<z.ZodString>;
28839
30054
  createdBy: z.ZodNullable<z.ZodString>;
28840
30055
  credentialStoreId: z.ZodString;
28841
30056
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28842
- toolId: z.ZodNullable<z.ZodString>;
30057
+ userId: z.ZodNullable<z.ZodString>;
28843
30058
  type: z.ZodEnum<{
28844
30059
  readonly memory: "memory";
28845
30060
  readonly keychain: "keychain";
@@ -29436,12 +30651,12 @@ declare const FunctionResponse: z.ZodObject<{
29436
30651
  }, z.core.$strip>;
29437
30652
  declare const FunctionToolResponse: z.ZodObject<{
29438
30653
  data: z.ZodObject<{
29439
- name: z.ZodString;
29440
30654
  id: z.ZodString;
30655
+ name: z.ZodString;
30656
+ description: z.ZodNullable<z.ZodString>;
30657
+ agentId: z.ZodString;
29441
30658
  createdAt: z.ZodString;
29442
30659
  updatedAt: z.ZodString;
29443
- agentId: z.ZodString;
29444
- description: z.ZodNullable<z.ZodString>;
29445
30660
  functionId: z.ZodString;
29446
30661
  relationshipId: z.ZodOptional<z.ZodString>;
29447
30662
  }, z.core.$strip>;
@@ -29675,10 +30890,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29675
30890
  }, z.core.$strip>;
29676
30891
  declare const ProjectListResponse: z.ZodObject<{
29677
30892
  data: z.ZodArray<z.ZodObject<{
29678
- name: z.ZodString;
29679
30893
  id: z.ZodString;
29680
- createdAt: z.ZodString;
29681
- updatedAt: z.ZodString;
30894
+ name: z.ZodString;
29682
30895
  description: z.ZodNullable<z.ZodString>;
29683
30896
  models: z.ZodNullable<z.ZodObject<{
29684
30897
  base: z.ZodObject<{
@@ -29698,6 +30911,8 @@ declare const ProjectListResponse: z.ZodObject<{
29698
30911
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29699
30912
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29700
30913
  }, z.core.$strip>>;
30914
+ createdAt: z.ZodString;
30915
+ updatedAt: z.ZodString;
29701
30916
  }, {
29702
30917
  out: {};
29703
30918
  in: {};
@@ -29952,10 +31167,10 @@ declare const ExternalAgentListResponse: z.ZodObject<{
29952
31167
  declare const ContextConfigListResponse: z.ZodObject<{
29953
31168
  data: z.ZodArray<z.ZodObject<{
29954
31169
  id: z.ZodString;
29955
- headersSchema: z.ZodOptional<z.ZodAny>;
29956
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
29957
31170
  createdAt: z.ZodString;
29958
31171
  updatedAt: z.ZodString;
31172
+ headersSchema: z.ZodOptional<z.ZodAny>;
31173
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
29959
31174
  }, z.core.$strip>>;
29960
31175
  pagination: z.ZodObject<{
29961
31176
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29966,11 +31181,11 @@ declare const ContextConfigListResponse: z.ZodObject<{
29966
31181
  }, z.core.$strip>;
29967
31182
  declare const ApiKeyListResponse: z.ZodObject<{
29968
31183
  data: z.ZodArray<z.ZodObject<{
29969
- name: z.ZodNullable<z.ZodString>;
29970
31184
  id: z.ZodString;
31185
+ name: z.ZodNullable<z.ZodString>;
31186
+ agentId: z.ZodString;
29971
31187
  createdAt: z.ZodString;
29972
31188
  updatedAt: z.ZodString;
29973
- agentId: z.ZodString;
29974
31189
  publicId: z.ZodString;
29975
31190
  keyPrefix: z.ZodString;
29976
31191
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -29986,17 +31201,79 @@ declare const ApiKeyListResponse: z.ZodObject<{
29986
31201
  pages: z.ZodNumber;
29987
31202
  }, z.core.$strip>;
29988
31203
  }, z.core.$strip>;
29989
- declare const CredentialReferenceListResponse: z.ZodObject<{
31204
+ declare const AppResponse: z.ZodObject<{
31205
+ data: z.ZodObject<{
31206
+ id: z.ZodString;
31207
+ name: z.ZodString;
31208
+ description: z.ZodNullable<z.ZodString>;
31209
+ tenantId: z.ZodNullable<z.ZodString>;
31210
+ projectId: z.ZodNullable<z.ZodString>;
31211
+ type: z.ZodString;
31212
+ createdAt: z.ZodString;
31213
+ updatedAt: z.ZodString;
31214
+ enabled: z.ZodBoolean;
31215
+ lastUsedAt: z.ZodNullable<z.ZodString>;
31216
+ defaultProjectId: z.ZodNullable<z.ZodString>;
31217
+ defaultAgentId: z.ZodNullable<z.ZodString>;
31218
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
31219
+ type: z.ZodLiteral<"web_client">;
31220
+ webClient: z.ZodObject<{
31221
+ allowedDomains: z.ZodArray<z.ZodString>;
31222
+ }, z.core.$strip>;
31223
+ }, z.core.$strip>, z.ZodObject<{
31224
+ type: z.ZodLiteral<"api">;
31225
+ api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
31226
+ }, z.core.$strip>], "type">;
31227
+ }, {
31228
+ out: {};
31229
+ in: {};
31230
+ }>;
31231
+ }, z.core.$strip>;
31232
+ declare const AppListResponse: z.ZodObject<{
29990
31233
  data: z.ZodArray<z.ZodObject<{
31234
+ id: z.ZodString;
29991
31235
  name: z.ZodString;
31236
+ description: z.ZodNullable<z.ZodString>;
31237
+ tenantId: z.ZodNullable<z.ZodString>;
31238
+ projectId: z.ZodNullable<z.ZodString>;
31239
+ type: z.ZodString;
31240
+ createdAt: z.ZodString;
31241
+ updatedAt: z.ZodString;
31242
+ enabled: z.ZodBoolean;
31243
+ lastUsedAt: z.ZodNullable<z.ZodString>;
31244
+ defaultProjectId: z.ZodNullable<z.ZodString>;
31245
+ defaultAgentId: z.ZodNullable<z.ZodString>;
31246
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
31247
+ type: z.ZodLiteral<"web_client">;
31248
+ webClient: z.ZodObject<{
31249
+ allowedDomains: z.ZodArray<z.ZodString>;
31250
+ }, z.core.$strip>;
31251
+ }, z.core.$strip>, z.ZodObject<{
31252
+ type: z.ZodLiteral<"api">;
31253
+ api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
31254
+ }, z.core.$strip>], "type">;
31255
+ }, {
31256
+ out: {};
31257
+ in: {};
31258
+ }>>;
31259
+ pagination: z.ZodObject<{
31260
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
31261
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
31262
+ total: z.ZodNumber;
31263
+ pages: z.ZodNumber;
31264
+ }, z.core.$strip>;
31265
+ }, z.core.$strip>;
31266
+ declare const CredentialReferenceListResponse: z.ZodObject<{
31267
+ data: z.ZodArray<z.ZodObject<{
29992
31268
  id: z.ZodString;
31269
+ name: z.ZodString;
29993
31270
  createdAt: z.ZodString;
29994
31271
  updatedAt: z.ZodString;
29995
- userId: z.ZodNullable<z.ZodString>;
31272
+ toolId: z.ZodNullable<z.ZodString>;
29996
31273
  createdBy: z.ZodNullable<z.ZodString>;
29997
31274
  credentialStoreId: z.ZodString;
29998
31275
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29999
- toolId: z.ZodNullable<z.ZodString>;
31276
+ userId: z.ZodNullable<z.ZodString>;
30000
31277
  type: z.ZodEnum<{
30001
31278
  readonly memory: "memory";
30002
31279
  readonly keychain: "keychain";
@@ -30605,12 +31882,12 @@ declare const FunctionListResponse: z.ZodObject<{
30605
31882
  }, z.core.$strip>;
30606
31883
  declare const FunctionToolListResponse: z.ZodObject<{
30607
31884
  data: z.ZodArray<z.ZodObject<{
30608
- name: z.ZodString;
30609
31885
  id: z.ZodString;
31886
+ name: z.ZodString;
31887
+ description: z.ZodNullable<z.ZodString>;
31888
+ agentId: z.ZodString;
30610
31889
  createdAt: z.ZodString;
30611
31890
  updatedAt: z.ZodString;
30612
- agentId: z.ZodString;
30613
- description: z.ZodNullable<z.ZodString>;
30614
31891
  functionId: z.ZodString;
30615
31892
  relationshipId: z.ZodOptional<z.ZodString>;
30616
31893
  }, z.core.$strip>>;
@@ -30924,11 +32201,11 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30924
32201
  }, z.core.$strip>;
30925
32202
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30926
32203
  data: z.ZodObject<{
30927
- name: z.ZodString;
30928
32204
  id: z.ZodString;
32205
+ name: z.ZodString;
32206
+ description: z.ZodNullable<z.ZodString>;
30929
32207
  createdAt: z.ZodString;
30930
32208
  updatedAt: z.ZodString;
30931
- description: z.ZodNullable<z.ZodString>;
30932
32209
  enabled: z.ZodBoolean;
30933
32210
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30934
32211
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -30987,11 +32264,11 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30987
32264
  }, z.core.$strip>;
30988
32265
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30989
32266
  data: z.ZodObject<{
30990
- name: z.ZodString;
30991
32267
  id: z.ZodString;
32268
+ name: z.ZodString;
32269
+ description: z.ZodNullable<z.ZodString>;
30992
32270
  createdAt: z.ZodString;
30993
32271
  updatedAt: z.ZodString;
30994
- description: z.ZodNullable<z.ZodString>;
30995
32272
  enabled: z.ZodBoolean;
30996
32273
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30997
32274
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -31051,11 +32328,11 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31051
32328
  }, z.core.$strip>;
31052
32329
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31053
32330
  data: z.ZodArray<z.ZodObject<{
31054
- name: z.ZodString;
31055
32331
  id: z.ZodString;
32332
+ name: z.ZodString;
32333
+ description: z.ZodNullable<z.ZodString>;
31056
32334
  createdAt: z.ZodString;
31057
32335
  updatedAt: z.ZodString;
31058
- description: z.ZodNullable<z.ZodString>;
31059
32336
  enabled: z.ZodBoolean;
31060
32337
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
31061
32338
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
@@ -31119,11 +32396,11 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31119
32396
  }, z.core.$strip>;
31120
32397
  }, z.core.$strip>;
31121
32398
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31122
- name: z.ZodString;
31123
32399
  id: z.ZodString;
32400
+ name: z.ZodString;
32401
+ description: z.ZodNullable<z.ZodString>;
31124
32402
  createdAt: z.ZodString;
31125
32403
  updatedAt: z.ZodString;
31126
- description: z.ZodNullable<z.ZodString>;
31127
32404
  enabled: z.ZodBoolean;
31128
32405
  messageTemplate: z.ZodNullable<z.ZodString>;
31129
32406
  runAsUserId: z.ZodNullable<z.ZodString>;
@@ -31198,11 +32475,11 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
31198
32475
  }, z.core.$strip>;
31199
32476
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31200
32477
  data: z.ZodArray<z.ZodObject<{
31201
- name: z.ZodString;
31202
32478
  id: z.ZodString;
32479
+ name: z.ZodString;
32480
+ description: z.ZodNullable<z.ZodString>;
31203
32481
  createdAt: z.ZodString;
31204
32482
  updatedAt: z.ZodString;
31205
- description: z.ZodNullable<z.ZodString>;
31206
32483
  enabled: z.ZodBoolean;
31207
32484
  messageTemplate: z.ZodNullable<z.ZodString>;
31208
32485
  runAsUserId: z.ZodNullable<z.ZodString>;
@@ -31357,11 +32634,11 @@ declare const SubAgentSkillResponse: z.ZodObject<{
31357
32634
  }, z.core.$strip>;
31358
32635
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31359
32636
  data: z.ZodArray<z.ZodObject<{
31360
- name: z.ZodString;
31361
32637
  id: z.ZodString;
32638
+ name: z.ZodString;
32639
+ description: z.ZodString;
31362
32640
  createdAt: z.ZodString;
31363
32641
  updatedAt: z.ZodString;
31364
- description: z.ZodString;
31365
32642
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31366
32643
  content: z.ZodString;
31367
32644
  subAgentSkillId: z.ZodString;
@@ -31372,8 +32649,8 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31372
32649
  }, z.core.$strip>;
31373
32650
  declare const FullProjectDefinitionResponse: z.ZodObject<{
31374
32651
  data: z.ZodObject<{
31375
- name: z.ZodString;
31376
32652
  id: z.ZodString;
32653
+ name: z.ZodString;
31377
32654
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31378
32655
  models: z.ZodObject<{
31379
32656
  base: z.ZodObject<{
@@ -31395,18 +32672,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31395
32672
  }, z.core.$strip>>;
31396
32673
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31397
32674
  name: z.ZodString;
31398
- createdAt: z.ZodOptional<z.ZodString>;
31399
- updatedAt: z.ZodOptional<z.ZodString>;
31400
32675
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31401
32676
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32677
+ createdAt: z.ZodOptional<z.ZodString>;
32678
+ updatedAt: z.ZodOptional<z.ZodString>;
31402
32679
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31403
32680
  id: z.ZodString;
31404
32681
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31405
- name: z.ZodString;
31406
32682
  id: z.ZodString;
31407
- createdAt: z.ZodOptional<z.ZodString>;
31408
- updatedAt: z.ZodOptional<z.ZodString>;
32683
+ name: z.ZodString;
31409
32684
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32685
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31410
32686
  models: z.ZodOptional<z.ZodObject<{
31411
32687
  base: z.ZodOptional<z.ZodObject<{
31412
32688
  model: z.ZodOptional<z.ZodString>;
@@ -31421,7 +32697,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31421
32697
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31422
32698
  }, z.core.$strip>>;
31423
32699
  }, z.core.$strip>>;
31424
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
32700
+ createdAt: z.ZodOptional<z.ZodString>;
32701
+ updatedAt: z.ZodOptional<z.ZodString>;
31425
32702
  type: z.ZodLiteral<"internal">;
31426
32703
  canUse: z.ZodArray<z.ZodObject<{
31427
32704
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31533,9 +32810,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31533
32810
  }, z.core.$strip>>>;
31534
32811
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31535
32812
  name: z.ZodString;
32813
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31536
32814
  createdAt: z.ZodOptional<z.ZodString>;
31537
32815
  updatedAt: z.ZodOptional<z.ZodString>;
31538
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31539
32816
  enabled: z.ZodOptional<z.ZodBoolean>;
31540
32817
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31541
32818
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -31549,9 +32826,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31549
32826
  }, z.core.$strip>>>;
31550
32827
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31551
32828
  name: z.ZodString;
32829
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31552
32830
  createdAt: z.ZodOptional<z.ZodString>;
31553
32831
  updatedAt: z.ZodOptional<z.ZodString>;
31554
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31555
32832
  enabled: z.ZodOptional<z.ZodBoolean>;
31556
32833
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31557
32834
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31667,9 +32944,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31667
32944
  }, z.core.$strip>>>;
31668
32945
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31669
32946
  name: z.ZodString;
31670
- projectId: z.ZodString;
31671
- tenantId: z.ZodString;
31672
32947
  description: z.ZodString;
32948
+ tenantId: z.ZodString;
32949
+ projectId: z.ZodString;
31673
32950
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31674
32951
  content: z.ZodString;
31675
32952
  }>, z.core.$strip>>>;
@@ -31755,15 +33032,15 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31755
33032
  }, z.core.$strip>>>;
31756
33033
  }, z.core.$strip>>;
31757
33034
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31758
- name: z.ZodString;
31759
33035
  id: z.ZodString;
33036
+ name: z.ZodString;
31760
33037
  createdAt: z.ZodOptional<z.ZodString>;
31761
33038
  updatedAt: z.ZodOptional<z.ZodString>;
31762
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33039
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31763
33040
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31764
33041
  credentialStoreId: z.ZodString;
31765
33042
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31766
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33043
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31767
33044
  type: z.ZodEnum<{
31768
33045
  readonly memory: "memory";
31769
33046
  readonly keychain: "keychain";
@@ -31779,10 +33056,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31779
33056
  }, z.core.$strip>;
31780
33057
  declare const FullProjectSelectResponse: z.ZodObject<{
31781
33058
  data: z.ZodObject<{
31782
- name: z.ZodString;
31783
33059
  id: z.ZodString;
31784
- createdAt: z.ZodString;
31785
- updatedAt: z.ZodString;
33060
+ name: z.ZodString;
31786
33061
  description: z.ZodNullable<z.ZodString>;
31787
33062
  models: z.ZodNullable<z.ZodObject<{
31788
33063
  base: z.ZodObject<{
@@ -31802,20 +33077,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31802
33077
  transferCountIs: z.ZodOptional<z.ZodNumber>;
31803
33078
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31804
33079
  }, z.core.$strip>>;
33080
+ createdAt: z.ZodString;
33081
+ updatedAt: z.ZodString;
31805
33082
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31806
- name: z.ZodString;
31807
33083
  id: z.ZodString;
31808
- createdAt: z.ZodString;
31809
- updatedAt: z.ZodString;
33084
+ name: z.ZodString;
31810
33085
  description: z.ZodNullable<z.ZodString>;
31811
33086
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
33087
+ createdAt: z.ZodString;
33088
+ updatedAt: z.ZodString;
31812
33089
  contextConfigId: z.ZodNullable<z.ZodString>;
31813
33090
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31814
- name: z.ZodString;
31815
33091
  id: z.ZodString;
31816
- createdAt: z.ZodString;
31817
- updatedAt: z.ZodString;
33092
+ name: z.ZodString;
31818
33093
  description: z.ZodNullable<z.ZodString>;
33094
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31819
33095
  models: z.ZodNullable<z.ZodType<{
31820
33096
  base?: {
31821
33097
  model?: string | undefined;
@@ -31878,7 +33154,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31878
33154
  }, {
31879
33155
  stepCountIs?: number | undefined;
31880
33156
  }>>>;
31881
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33157
+ createdAt: z.ZodString;
33158
+ updatedAt: z.ZodString;
31882
33159
  type: z.ZodLiteral<"internal">;
31883
33160
  canUse: z.ZodArray<z.ZodObject<{
31884
33161
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31949,12 +33226,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31949
33226
  description: z.ZodString;
31950
33227
  }, z.core.$strip>>>;
31951
33228
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31952
- name: z.ZodString;
31953
33229
  id: z.ZodString;
33230
+ name: z.ZodString;
33231
+ description: z.ZodNullable<z.ZodString>;
33232
+ agentId: z.ZodString;
31954
33233
  createdAt: z.ZodString;
31955
33234
  updatedAt: z.ZodString;
31956
- agentId: z.ZodString;
31957
- description: z.ZodNullable<z.ZodString>;
31958
33235
  functionId: z.ZodString;
31959
33236
  relationshipId: z.ZodOptional<z.ZodString>;
31960
33237
  }, z.core.$strip>>>;
@@ -31991,10 +33268,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31991
33268
  }>, z.core.$strip>>>;
31992
33269
  contextConfig: z.ZodNullable<z.ZodObject<{
31993
33270
  id: z.ZodString;
31994
- headersSchema: z.ZodOptional<z.ZodAny>;
31995
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
31996
33271
  createdAt: z.ZodString;
31997
33272
  updatedAt: z.ZodString;
33273
+ headersSchema: z.ZodOptional<z.ZodAny>;
33274
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
31998
33275
  }, z.core.$strip>>;
31999
33276
  statusUpdates: z.ZodNullable<z.ZodObject<{
32000
33277
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -32060,12 +33337,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32060
33337
  id: z.ZodString;
32061
33338
  }>, z.core.$strip>>;
32062
33339
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32063
- name: z.ZodString;
32064
33340
  id: z.ZodString;
33341
+ name: z.ZodString;
33342
+ description: z.ZodNullable<z.ZodString>;
33343
+ agentId: z.ZodString;
32065
33344
  createdAt: z.ZodString;
32066
33345
  updatedAt: z.ZodString;
32067
- agentId: z.ZodString;
32068
- description: z.ZodNullable<z.ZodString>;
32069
33346
  functionId: z.ZodString;
32070
33347
  relationshipId: z.ZodOptional<z.ZodString>;
32071
33348
  }, z.core.$strip>>>;
@@ -32208,15 +33485,15 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32208
33485
  }, z.core.$strip>>>;
32209
33486
  }, z.core.$strip>>;
32210
33487
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32211
- name: z.ZodString;
32212
33488
  id: z.ZodString;
33489
+ name: z.ZodString;
32213
33490
  createdAt: z.ZodString;
32214
33491
  updatedAt: z.ZodString;
32215
- userId: z.ZodNullable<z.ZodString>;
33492
+ toolId: z.ZodNullable<z.ZodString>;
32216
33493
  createdBy: z.ZodNullable<z.ZodString>;
32217
33494
  credentialStoreId: z.ZodString;
32218
33495
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32219
- toolId: z.ZodNullable<z.ZodString>;
33496
+ userId: z.ZodNullable<z.ZodString>;
32220
33497
  type: z.ZodEnum<{
32221
33498
  readonly memory: "memory";
32222
33499
  readonly keychain: "keychain";
@@ -32805,10 +34082,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32805
34082
  }, z.core.$strip>;
32806
34083
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32807
34084
  data: z.ZodObject<{
32808
- name: z.ZodString;
32809
34085
  id: z.ZodString;
32810
- createdAt: z.ZodString;
32811
- updatedAt: z.ZodString;
34086
+ name: z.ZodString;
32812
34087
  description: z.ZodNullable<z.ZodString>;
32813
34088
  models: z.ZodNullable<z.ZodObject<{
32814
34089
  base: z.ZodObject<{
@@ -32828,6 +34103,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32828
34103
  transferCountIs: z.ZodOptional<z.ZodNumber>;
32829
34104
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32830
34105
  }, z.core.$strip>>;
34106
+ createdAt: z.ZodString;
34107
+ updatedAt: z.ZodString;
32831
34108
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32832
34109
  createdAt: z.ZodString;
32833
34110
  updatedAt: z.ZodString;
@@ -32858,12 +34135,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32858
34135
  id: z.ZodString;
32859
34136
  }>, z.core.$strip>>;
32860
34137
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32861
- name: z.ZodString;
32862
34138
  id: z.ZodString;
34139
+ name: z.ZodString;
34140
+ description: z.ZodNullable<z.ZodString>;
34141
+ agentId: z.ZodString;
32863
34142
  createdAt: z.ZodString;
32864
34143
  updatedAt: z.ZodString;
32865
- agentId: z.ZodString;
32866
- description: z.ZodNullable<z.ZodString>;
32867
34144
  functionId: z.ZodString;
32868
34145
  relationshipId: z.ZodOptional<z.ZodString>;
32869
34146
  }, z.core.$strip>>>;
@@ -33006,15 +34283,15 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33006
34283
  }, z.core.$strip>>>;
33007
34284
  }, z.core.$strip>>;
33008
34285
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33009
- name: z.ZodString;
33010
34286
  id: z.ZodString;
34287
+ name: z.ZodString;
33011
34288
  createdAt: z.ZodString;
33012
34289
  updatedAt: z.ZodString;
33013
- userId: z.ZodNullable<z.ZodString>;
34290
+ toolId: z.ZodNullable<z.ZodString>;
33014
34291
  createdBy: z.ZodNullable<z.ZodString>;
33015
34292
  credentialStoreId: z.ZodString;
33016
34293
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33017
- toolId: z.ZodNullable<z.ZodString>;
34294
+ userId: z.ZodNullable<z.ZodString>;
33018
34295
  type: z.ZodEnum<{
33019
34296
  readonly memory: "memory";
33020
34297
  readonly keychain: "keychain";
@@ -33597,12 +34874,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33597
34874
  }>>>;
33598
34875
  }, z.core.$strip>>>;
33599
34876
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33600
- name: z.ZodString;
33601
34877
  id: z.ZodString;
33602
- createdAt: z.ZodString;
33603
- updatedAt: z.ZodString;
34878
+ name: z.ZodString;
33604
34879
  description: z.ZodNullable<z.ZodString>;
33605
34880
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
34881
+ createdAt: z.ZodString;
34882
+ updatedAt: z.ZodString;
33606
34883
  contextConfigId: z.ZodNullable<z.ZodString>;
33607
34884
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33608
34885
  createdAt: z.ZodString;
@@ -33650,12 +34927,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33650
34927
  description: z.ZodString;
33651
34928
  }, z.core.$strip>>>;
33652
34929
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33653
- name: z.ZodString;
33654
34930
  id: z.ZodString;
34931
+ name: z.ZodString;
34932
+ description: z.ZodNullable<z.ZodString>;
34933
+ agentId: z.ZodString;
33655
34934
  createdAt: z.ZodString;
33656
34935
  updatedAt: z.ZodString;
33657
- agentId: z.ZodString;
33658
- description: z.ZodNullable<z.ZodString>;
33659
34936
  functionId: z.ZodString;
33660
34937
  relationshipId: z.ZodOptional<z.ZodString>;
33661
34938
  }, z.core.$strip>>>;
@@ -33692,10 +34969,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33692
34969
  }>, z.core.$strip>>>;
33693
34970
  contextConfig: z.ZodNullable<z.ZodObject<{
33694
34971
  id: z.ZodString;
33695
- headersSchema: z.ZodOptional<z.ZodAny>;
33696
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
33697
34972
  createdAt: z.ZodString;
33698
34973
  updatedAt: z.ZodString;
34974
+ headersSchema: z.ZodOptional<z.ZodAny>;
34975
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
33699
34976
  }, z.core.$strip>>;
33700
34977
  statusUpdates: z.ZodNullable<z.ZodObject<{
33701
34978
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -33731,11 +35008,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33731
35008
  }, z.core.$strip>>;
33732
35009
  prompt: z.ZodNullable<z.ZodString>;
33733
35010
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33734
- name: z.ZodString;
33735
35011
  id: z.ZodString;
33736
- createdAt: z.ZodString;
33737
- updatedAt: z.ZodString;
35012
+ name: z.ZodString;
33738
35013
  description: z.ZodNullable<z.ZodString>;
35014
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33739
35015
  models: z.ZodNullable<z.ZodType<{
33740
35016
  base?: {
33741
35017
  model?: string | undefined;
@@ -33798,7 +35074,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33798
35074
  }, {
33799
35075
  stepCountIs?: number | undefined;
33800
35076
  }>>>;
33801
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
35077
+ createdAt: z.ZodString;
35078
+ updatedAt: z.ZodString;
33802
35079
  type: z.ZodLiteral<"internal">;
33803
35080
  canUse: z.ZodArray<z.ZodObject<{
33804
35081
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33838,18 +35115,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33838
35115
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33839
35116
  data: z.ZodObject<{
33840
35117
  name: z.ZodString;
33841
- createdAt: z.ZodOptional<z.ZodString>;
33842
- updatedAt: z.ZodOptional<z.ZodString>;
33843
35118
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33844
35119
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35120
+ createdAt: z.ZodOptional<z.ZodString>;
35121
+ updatedAt: z.ZodOptional<z.ZodString>;
33845
35122
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33846
35123
  id: z.ZodString;
33847
35124
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33848
- name: z.ZodString;
33849
35125
  id: z.ZodString;
33850
- createdAt: z.ZodOptional<z.ZodString>;
33851
- updatedAt: z.ZodOptional<z.ZodString>;
35126
+ name: z.ZodString;
33852
35127
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35128
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33853
35129
  models: z.ZodOptional<z.ZodObject<{
33854
35130
  base: z.ZodOptional<z.ZodObject<{
33855
35131
  model: z.ZodOptional<z.ZodString>;
@@ -33864,7 +35140,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33864
35140
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
33865
35141
  }, z.core.$strip>>;
33866
35142
  }, z.core.$strip>>;
33867
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
35143
+ createdAt: z.ZodOptional<z.ZodString>;
35144
+ updatedAt: z.ZodOptional<z.ZodString>;
33868
35145
  type: z.ZodLiteral<"internal">;
33869
35146
  canUse: z.ZodArray<z.ZodObject<{
33870
35147
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33976,9 +35253,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33976
35253
  }, z.core.$strip>>>;
33977
35254
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33978
35255
  name: z.ZodString;
35256
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33979
35257
  createdAt: z.ZodOptional<z.ZodString>;
33980
35258
  updatedAt: z.ZodOptional<z.ZodString>;
33981
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33982
35259
  enabled: z.ZodOptional<z.ZodBoolean>;
33983
35260
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33984
35261
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
@@ -33992,9 +35269,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33992
35269
  }, z.core.$strip>>>;
33993
35270
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33994
35271
  name: z.ZodString;
35272
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33995
35273
  createdAt: z.ZodOptional<z.ZodString>;
33996
35274
  updatedAt: z.ZodOptional<z.ZodString>;
33997
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33998
35275
  enabled: z.ZodOptional<z.ZodBoolean>;
33999
35276
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34000
35277
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34050,19 +35327,18 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34050
35327
  }, z.core.$strip>;
34051
35328
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34052
35329
  data: z.ZodObject<{
34053
- name: z.ZodString;
34054
35330
  id: z.ZodString;
34055
- createdAt: z.ZodString;
34056
- updatedAt: z.ZodString;
35331
+ name: z.ZodString;
34057
35332
  description: z.ZodNullable<z.ZodString>;
34058
35333
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
35334
+ createdAt: z.ZodString;
35335
+ updatedAt: z.ZodString;
34059
35336
  contextConfigId: z.ZodNullable<z.ZodString>;
34060
35337
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34061
- name: z.ZodString;
34062
35338
  id: z.ZodString;
34063
- createdAt: z.ZodString;
34064
- updatedAt: z.ZodString;
35339
+ name: z.ZodString;
34065
35340
  description: z.ZodNullable<z.ZodString>;
35341
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34066
35342
  models: z.ZodNullable<z.ZodType<{
34067
35343
  base?: {
34068
35344
  model?: string | undefined;
@@ -34125,7 +35401,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34125
35401
  }, {
34126
35402
  stepCountIs?: number | undefined;
34127
35403
  }>>>;
34128
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
35404
+ createdAt: z.ZodString;
35405
+ updatedAt: z.ZodString;
34129
35406
  type: z.ZodLiteral<"internal">;
34130
35407
  canUse: z.ZodArray<z.ZodObject<{
34131
35408
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34196,12 +35473,12 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34196
35473
  description: z.ZodString;
34197
35474
  }, z.core.$strip>>>;
34198
35475
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34199
- name: z.ZodString;
34200
35476
  id: z.ZodString;
35477
+ name: z.ZodString;
35478
+ description: z.ZodNullable<z.ZodString>;
35479
+ agentId: z.ZodString;
34201
35480
  createdAt: z.ZodString;
34202
35481
  updatedAt: z.ZodString;
34203
- agentId: z.ZodString;
34204
- description: z.ZodNullable<z.ZodString>;
34205
35482
  functionId: z.ZodString;
34206
35483
  relationshipId: z.ZodOptional<z.ZodString>;
34207
35484
  }, z.core.$strip>>>;
@@ -34238,10 +35515,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34238
35515
  }>, z.core.$strip>>>;
34239
35516
  contextConfig: z.ZodNullable<z.ZodObject<{
34240
35517
  id: z.ZodString;
34241
- headersSchema: z.ZodOptional<z.ZodAny>;
34242
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
34243
35518
  createdAt: z.ZodString;
34244
35519
  updatedAt: z.ZodString;
35520
+ headersSchema: z.ZodOptional<z.ZodAny>;
35521
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
34245
35522
  }, z.core.$strip>>;
34246
35523
  statusUpdates: z.ZodNullable<z.ZodObject<{
34247
35524
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -34919,8 +36196,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
34919
36196
  disconnected: "disconnected";
34920
36197
  }>;
34921
36198
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34922
- User: "User";
34923
36199
  Organization: "Organization";
36200
+ User: "User";
34924
36201
  }>;
34925
36202
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"select", {
34926
36203
  createdAt: drizzle_orm_pg_core0.PgColumn<{
@@ -35015,7 +36292,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35015
36292
  tableName: "work_app_github_installations";
35016
36293
  dataType: "string";
35017
36294
  columnType: "PgVarchar";
35018
- data: "User" | "Organization";
36295
+ data: "Organization" | "User";
35019
36296
  driverParam: string;
35020
36297
  notNull: true;
35021
36298
  hasDefault: false;
@@ -35028,7 +36305,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35028
36305
  generated: undefined;
35029
36306
  }, {}, {
35030
36307
  length: 20;
35031
- $type: "User" | "Organization";
36308
+ $type: "Organization" | "User";
35032
36309
  }>;
35033
36310
  status: drizzle_orm_pg_core0.PgColumn<{
35034
36311
  name: "status";
@@ -35181,7 +36458,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35181
36458
  tableName: "work_app_github_installations";
35182
36459
  dataType: "string";
35183
36460
  columnType: "PgVarchar";
35184
- data: "User" | "Organization";
36461
+ data: "Organization" | "User";
35185
36462
  driverParam: string;
35186
36463
  notNull: true;
35187
36464
  hasDefault: false;
@@ -35194,7 +36471,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35194
36471
  generated: undefined;
35195
36472
  }, {}, {
35196
36473
  length: 20;
35197
- $type: "User" | "Organization";
36474
+ $type: "Organization" | "User";
35198
36475
  }>;
35199
36476
  status: drizzle_orm_pg_core0.PgColumn<{
35200
36477
  name: "status";
@@ -35262,8 +36539,8 @@ declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35262
36539
  accountLogin: z.ZodString;
35263
36540
  accountId: z.ZodString;
35264
36541
  accountType: z.ZodEnum<{
35265
- User: "User";
35266
36542
  Organization: "Organization";
36543
+ User: "User";
35267
36544
  }>;
35268
36545
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35269
36546
  pending: "pending";
@@ -35293,8 +36570,8 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35293
36570
  accountLogin: z.ZodString;
35294
36571
  accountId: z.ZodString;
35295
36572
  accountType: z.ZodEnum<{
35296
- User: "User";
35297
36573
  Organization: "Organization";
36574
+ User: "User";
35298
36575
  }>;
35299
36576
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35300
36577
  pending: "pending";
@@ -37482,16 +38759,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod3.BuildSchema<"selec
37482
38759
  }, {}, {}>;
37483
38760
  }, undefined>, undefined>;
37484
38761
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
37485
- agentId: z.ZodString;
37486
38762
  projectId: z.ZodString;
38763
+ agentId: z.ZodString;
37487
38764
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37488
38765
  }, {
37489
38766
  out: {};
37490
38767
  in: {};
37491
38768
  }>;
37492
38769
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
37493
- agentId: z.ZodString;
37494
38770
  projectId: z.ZodString;
38771
+ agentId: z.ZodString;
37495
38772
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37496
38773
  agentName: z.ZodString;
37497
38774
  projectName: z.ZodOptional<z.ZodString>;
@@ -37507,8 +38784,8 @@ declare const ChannelAccessModeSchema: z.ZodEnum<{
37507
38784
  selected: "selected";
37508
38785
  }>;
37509
38786
  declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{
37510
- projectId: z.ZodString;
37511
38787
  tenantId: z.ZodString;
38788
+ projectId: z.ZodString;
37512
38789
  toolId: z.ZodString;
37513
38790
  channelAccessMode: z.ZodEnum<{
37514
38791
  all: "all";
@@ -37767,5 +39044,9 @@ declare const UserProfileApiUpdateSchema: z.ZodObject<{
37767
39044
  out: {};
37768
39045
  in: {};
37769
39046
  }>;
39047
+ declare const AnonymousSessionResponseSchema: z.ZodObject<{
39048
+ token: z.ZodString;
39049
+ expiresAt: z.ZodString;
39050
+ }, z.core.$strip>;
37770
39051
  //#endregion
37771
- export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhen, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ChannelAccessModeSchema, ChannelIdsSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ComponentJoin, ComponentJoinSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, CronExpressionSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DataPartSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, DateTimeFilterQueryParamsSchema, ErrorResponseSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FilePartSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfig, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettings, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PaginationWithRefQueryParamsSchema, PartSchema, PartSchemaType, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, ResourceIdSchema, ScheduledTrigger, ScheduledTriggerApiInsert, ScheduledTriggerApiInsertBaseSchema, ScheduledTriggerApiInsertSchema, ScheduledTriggerApiSelect, ScheduledTriggerApiSelectSchema, ScheduledTriggerApiUpdate, ScheduledTriggerApiUpdateSchema, ScheduledTriggerInsert, ScheduledTriggerInsertSchema, ScheduledTriggerInvocation, ScheduledTriggerInvocationApiInsertSchema, ScheduledTriggerInvocationApiSelectSchema, ScheduledTriggerInvocationApiUpdateSchema, ScheduledTriggerInvocationInsert, ScheduledTriggerInvocationInsertSchema, ScheduledTriggerInvocationListResponse, ScheduledTriggerInvocationResponse, ScheduledTriggerInvocationSelectSchema, ScheduledTriggerInvocationStatus, ScheduledTriggerInvocationStatusEnum, ScheduledTriggerInvocationUpdate, ScheduledTriggerInvocationUpdateSchema, ScheduledTriggerListResponse, ScheduledTriggerResponse, ScheduledTriggerSelectSchema, ScheduledTriggerUpdate, ScheduledTriggerUpdateSchema, ScheduledTriggerWithRunInfo, ScheduledTriggerWithRunInfoListResponse, ScheduledTriggerWithRunInfoSchema, ScheduledWorkflow, ScheduledWorkflowApiInsertSchema, ScheduledWorkflowApiSelectSchema, ScheduledWorkflowApiUpdateSchema, ScheduledWorkflowInsert, ScheduledWorkflowInsertSchema, ScheduledWorkflowListResponse, ScheduledWorkflowResponse, ScheduledWorkflowSelectSchema, ScheduledWorkflowUpdate, ScheduledWorkflowUpdateSchema, SignatureSource, SignatureSourceSchema, SignatureValidationOptions, SignatureValidationOptionsSchema, SignatureVerificationConfig, SignatureVerificationConfigSchema, SignedComponent, SignedComponentSchema, SimulationAgent, SimulationAgentSchema, SingleResponseSchema, SkillApiInsertSchema, SkillApiSelectSchema, SkillApiUpdateSchema, SkillFrontmatterSchema, SkillInsertSchema, SkillListResponse, SkillResponse, SkillSelectSchema, SkillUpdateSchema, StatusComponentSchema, StatusUpdateSchema, StopWhen, StopWhenSchema, StringRecordSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentSkillApiInsertSchema, SubAgentSkillApiSelectSchema, SubAgentSkillApiUpdateSchema, SubAgentSkillInsertSchema, SubAgentSkillResponse, SubAgentSkillSelectSchema, SubAgentSkillUpdateSchema, SubAgentSkillWithIndexArrayResponse, SubAgentSkillWithIndexSchema, SubAgentStopWhen, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, TenantProjectToolParamsSchema, TextPartSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthHeaderInputSchema, TriggerAuthHeaderStoredSchema, TriggerAuthHeaderUpdateSchema, TriggerAuthenticationInputSchema, TriggerAuthenticationSchema, TriggerAuthenticationStoredSchema, TriggerAuthenticationUpdateSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerDatasetRunSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, TriggerWithWebhookUrlListResponse, TriggerWithWebhookUrlResponse, TriggerWithWebhookUrlSchema, TriggerWithWebhookUrlWithWarningResponse, URL_SAFE_ID_PATTERN, UserIdParamsSchema, UserIdSchema, UserProfileApiInsertSchema, UserProfileApiUpdateSchema, UserProfileInsertSchema, UserProfileSelectSchema, UserProfileUpdateSchema, WorkAppGitHubAccessGetResponseSchema, WorkAppGitHubAccessModeSchema, WorkAppGitHubAccessSetRequestSchema, WorkAppGitHubAccessSetResponseSchema, WorkAppGitHubAccountTypeSchema, WorkAppGitHubInstallationApiInsertSchema, WorkAppGitHubInstallationInsertSchema, WorkAppGitHubInstallationSelectSchema, WorkAppGitHubInstallationStatusSchema, WorkAppGitHubMcpToolRepositoryAccessSelectSchema, WorkAppGitHubProjectRepositoryAccessSelectSchema, WorkAppGitHubRepositoryApiInsertSchema, WorkAppGitHubRepositoryInsertSchema, WorkAppGitHubRepositorySelectSchema, WorkAppGithubInstallationApiSelectSchema, WorkAppSlackAgentConfigRequest, WorkAppSlackAgentConfigRequestSchema, WorkAppSlackAgentConfigResponse, WorkAppSlackAgentConfigResponseSchema, WorkAppSlackChannelAgentConfigSelectSchema, WorkAppSlackMcpToolAccessConfigApiInsertSchema, WorkAppSlackMcpToolAccessConfigInsertSchema, WorkAppSlackWorkspaceSelectSchema, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema };
39052
+ export { ALLOWED_DOMAIN_PATTERN, AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhen, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, AnonymousSessionResponseSchema, ApiConfigSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, AppApiCreationResponseSchema, AppApiInsertSchema, AppApiResponseSelectSchema, AppApiSelectSchema, AppApiUpdateSchema, AppConfigResponseSchema, AppConfigSchema, AppInsertSchema, AppListResponse, AppResponse, AppSelectSchema, AppUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ChannelAccessModeSchema, ChannelIdsSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ComponentJoin, ComponentJoinSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, CronExpressionSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DataPartSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, DateTimeFilterQueryParamsSchema, ErrorResponseSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FilePartSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfig, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettings, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PaginationWithRefQueryParamsSchema, PartSchema, PartSchemaType, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, ResourceIdSchema, ScheduledTrigger, ScheduledTriggerApiInsert, ScheduledTriggerApiInsertBaseSchema, ScheduledTriggerApiInsertSchema, ScheduledTriggerApiSelect, ScheduledTriggerApiSelectSchema, ScheduledTriggerApiUpdate, ScheduledTriggerApiUpdateSchema, ScheduledTriggerInsert, ScheduledTriggerInsertSchema, ScheduledTriggerInvocation, ScheduledTriggerInvocationApiInsertSchema, ScheduledTriggerInvocationApiSelectSchema, ScheduledTriggerInvocationApiUpdateSchema, ScheduledTriggerInvocationInsert, ScheduledTriggerInvocationInsertSchema, ScheduledTriggerInvocationListResponse, ScheduledTriggerInvocationResponse, ScheduledTriggerInvocationSelectSchema, ScheduledTriggerInvocationStatus, ScheduledTriggerInvocationStatusEnum, ScheduledTriggerInvocationUpdate, ScheduledTriggerInvocationUpdateSchema, ScheduledTriggerListResponse, ScheduledTriggerResponse, ScheduledTriggerSelectSchema, ScheduledTriggerUpdate, ScheduledTriggerUpdateSchema, ScheduledTriggerWithRunInfo, ScheduledTriggerWithRunInfoListResponse, ScheduledTriggerWithRunInfoSchema, ScheduledWorkflow, ScheduledWorkflowApiInsertSchema, ScheduledWorkflowApiSelectSchema, ScheduledWorkflowApiUpdateSchema, ScheduledWorkflowInsert, ScheduledWorkflowInsertSchema, ScheduledWorkflowListResponse, ScheduledWorkflowResponse, ScheduledWorkflowSelectSchema, ScheduledWorkflowUpdate, ScheduledWorkflowUpdateSchema, SignatureSource, SignatureSourceSchema, SignatureValidationOptions, SignatureValidationOptionsSchema, SignatureVerificationConfig, SignatureVerificationConfigSchema, SignedComponent, SignedComponentSchema, SimulationAgent, SimulationAgentSchema, SingleResponseSchema, SkillApiInsertSchema, SkillApiSelectSchema, SkillApiUpdateSchema, SkillFrontmatterSchema, SkillInsertSchema, SkillListResponse, SkillResponse, SkillSelectSchema, SkillUpdateSchema, StatusComponentSchema, StatusUpdateSchema, StopWhen, StopWhenSchema, StringRecordSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentSkillApiInsertSchema, SubAgentSkillApiSelectSchema, SubAgentSkillApiUpdateSchema, SubAgentSkillInsertSchema, SubAgentSkillResponse, SubAgentSkillSelectSchema, SubAgentSkillUpdateSchema, SubAgentSkillWithIndexArrayResponse, SubAgentSkillWithIndexSchema, SubAgentStopWhen, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, TenantProjectToolParamsSchema, TextPartSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthHeaderInputSchema, TriggerAuthHeaderStoredSchema, TriggerAuthHeaderUpdateSchema, TriggerAuthenticationInputSchema, TriggerAuthenticationSchema, TriggerAuthenticationStoredSchema, TriggerAuthenticationUpdateSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerDatasetRunSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, TriggerWithWebhookUrlListResponse, TriggerWithWebhookUrlResponse, TriggerWithWebhookUrlSchema, TriggerWithWebhookUrlWithWarningResponse, URL_SAFE_ID_PATTERN, UserIdParamsSchema, UserIdSchema, UserProfileApiInsertSchema, UserProfileApiUpdateSchema, UserProfileInsertSchema, UserProfileSelectSchema, UserProfileUpdateSchema, WebClientConfigResponseSchema, WebClientConfigSchema, WorkAppGitHubAccessGetResponseSchema, WorkAppGitHubAccessModeSchema, WorkAppGitHubAccessSetRequestSchema, WorkAppGitHubAccessSetResponseSchema, WorkAppGitHubAccountTypeSchema, WorkAppGitHubInstallationApiInsertSchema, WorkAppGitHubInstallationInsertSchema, WorkAppGitHubInstallationSelectSchema, WorkAppGitHubInstallationStatusSchema, WorkAppGitHubMcpToolRepositoryAccessSelectSchema, WorkAppGitHubProjectRepositoryAccessSelectSchema, WorkAppGitHubRepositoryApiInsertSchema, WorkAppGitHubRepositoryInsertSchema, WorkAppGitHubRepositorySelectSchema, WorkAppGithubInstallationApiSelectSchema, WorkAppSlackAgentConfigRequest, WorkAppSlackAgentConfigRequestSchema, WorkAppSlackAgentConfigResponse, WorkAppSlackAgentConfigResponseSchema, WorkAppSlackChannelAgentConfigSelectSchema, WorkAppSlackMcpToolAccessConfigApiInsertSchema, WorkAppSlackMcpToolAccessConfigInsertSchema, WorkAppSlackWorkspaceSelectSchema, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema };