@inkeep/agents-core 0.53.0 → 0.53.1

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 (31) hide show
  1. package/dist/auth/auth.d.ts +53 -53
  2. package/dist/auth/permissions.d.ts +13 -13
  3. package/dist/client-exports.d.ts +3 -3
  4. package/dist/data-access/manage/agents.d.ts +20 -20
  5. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  6. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  7. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  8. package/dist/data-access/manage/functionTools.d.ts +12 -12
  9. package/dist/data-access/manage/skills.d.ts +13 -13
  10. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  11. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  12. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  13. package/dist/data-access/manage/subAgents.d.ts +12 -12
  14. package/dist/data-access/manage/tools.d.ts +21 -21
  15. package/dist/data-access/manage/triggers.d.ts +2 -2
  16. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  17. package/dist/data-access/runtime/conversations.d.ts +20 -20
  18. package/dist/data-access/runtime/messages.d.ts +9 -9
  19. package/dist/data-access/runtime/organizations.d.ts +2 -0
  20. package/dist/data-access/runtime/organizations.js +6 -2
  21. package/dist/data-access/runtime/tasks.d.ts +4 -4
  22. package/dist/db/manage/manage-schema.d.ts +4 -4
  23. package/dist/db/runtime/runtime-schema.d.ts +2 -2
  24. package/dist/index.d.ts +2 -2
  25. package/dist/index.js +2 -2
  26. package/dist/utils/index.d.ts +2 -2
  27. package/dist/utils/index.js +2 -2
  28. package/dist/utils/slack-link-token.d.ts +33 -8
  29. package/dist/utils/slack-link-token.js +20 -9
  30. package/dist/validation/schemas.d.ts +266 -266
  31. package/package.json +1 -1
@@ -821,9 +821,9 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
821
821
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
822
822
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
823
823
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
825
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
826
824
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
825
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
827
827
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
828
828
  base: z.ZodOptional<z.ZodObject<{
829
829
  model: z.ZodOptional<z.ZodString>;
@@ -847,8 +847,8 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
847
847
  }, {
848
848
  stepCountIs?: number | undefined;
849
849
  }>>>>>>;
850
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
851
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
850
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
851
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
852
  }, z.core.$strip>;
853
853
  declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
854
854
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -2482,7 +2482,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2482
2482
  }, {}, {
2483
2483
  length: 256;
2484
2484
  }>;
2485
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2485
+ }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2486
2486
  declare const AgentUpdateSchema: z.ZodObject<{
2487
2487
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2488
2488
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2750,9 +2750,9 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2750
2750
  }>, z.core.$strip>;
2751
2751
  declare const AgentApiInsertSchema: z.ZodObject<{
2752
2752
  name: z.ZodString;
2753
- createdAt: z.ZodOptional<z.ZodString>;
2754
- updatedAt: z.ZodOptional<z.ZodString>;
2755
2753
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2754
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2755
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
2756
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2757
2757
  base?: {
2758
2758
  model?: string | undefined;
@@ -2815,8 +2815,8 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2815
2815
  }, {
2816
2816
  transferCountIs?: number | undefined;
2817
2817
  }>>>>;
2818
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2819
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2818
+ createdAt: z.ZodOptional<z.ZodString>;
2819
+ updatedAt: z.ZodOptional<z.ZodString>;
2820
2820
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2821
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2822
2822
  enabled?: boolean | undefined;
@@ -2880,9 +2880,9 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2880
2880
  declare const AgentApiUpdateSchema: z.ZodObject<{
2881
2881
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2882
2882
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2883
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2884
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2885
2883
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2885
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2886
2886
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2887
2887
  base?: {
2888
2888
  model?: string | undefined;
@@ -2945,8 +2945,8 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2945
2945
  }, {
2946
2946
  transferCountIs?: number | undefined;
2947
2947
  }>>>>>>;
2948
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2949
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2948
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2949
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2950
2950
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2951
2951
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2952
2952
  enabled?: boolean | undefined;
@@ -3071,8 +3071,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3071
3071
  declare const SignatureSourceSchema: z.ZodObject<{
3072
3072
  source: z.ZodEnum<{
3073
3073
  query: "query";
3074
- body: "body";
3075
3074
  header: "header";
3075
+ body: "body";
3076
3076
  }>;
3077
3077
  key: z.ZodString;
3078
3078
  prefix: z.ZodOptional<z.ZodString>;
@@ -3101,8 +3101,8 @@ declare const SignatureSourceSchema: z.ZodObject<{
3101
3101
  declare const SignedComponentSchema: z.ZodObject<{
3102
3102
  source: z.ZodEnum<{
3103
3103
  literal: "literal";
3104
- body: "body";
3105
3104
  header: "header";
3105
+ body: "body";
3106
3106
  }>;
3107
3107
  key: z.ZodOptional<z.ZodString>;
3108
3108
  value: z.ZodOptional<z.ZodString>;
@@ -3211,8 +3211,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3211
3211
  signature: z.ZodObject<{
3212
3212
  source: z.ZodEnum<{
3213
3213
  query: "query";
3214
- body: "body";
3215
3214
  header: "header";
3215
+ body: "body";
3216
3216
  }>;
3217
3217
  key: z.ZodString;
3218
3218
  prefix: z.ZodOptional<z.ZodString>;
@@ -3221,8 +3221,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3221
3221
  signedComponents: z.ZodArray<z.ZodObject<{
3222
3222
  source: z.ZodEnum<{
3223
3223
  literal: "literal";
3224
- body: "body";
3225
3224
  header: "header";
3225
+ body: "body";
3226
3226
  }>;
3227
3227
  key: z.ZodOptional<z.ZodString>;
3228
3228
  value: z.ZodOptional<z.ZodString>;
@@ -3273,8 +3273,8 @@ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3273
3273
  */
3274
3274
  type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3275
3275
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3276
- pending: "pending";
3277
3276
  success: "success";
3277
+ pending: "pending";
3278
3278
  failed: "failed";
3279
3279
  }>;
3280
3280
  declare const TriggerSelectSchema: z.ZodObject<{
@@ -3307,8 +3307,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3307
3307
  signature: z.ZodObject<{
3308
3308
  source: z.ZodEnum<{
3309
3309
  query: "query";
3310
- body: "body";
3311
3310
  header: "header";
3311
+ body: "body";
3312
3312
  }>;
3313
3313
  key: z.ZodString;
3314
3314
  prefix: z.ZodOptional<z.ZodString>;
@@ -3317,8 +3317,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3317
3317
  signedComponents: z.ZodArray<z.ZodObject<{
3318
3318
  source: z.ZodEnum<{
3319
3319
  literal: "literal";
3320
- body: "body";
3321
3320
  header: "header";
3321
+ body: "body";
3322
3322
  }>;
3323
3323
  key: z.ZodOptional<z.ZodString>;
3324
3324
  value: z.ZodOptional<z.ZodString>;
@@ -3501,13 +3501,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3501
3501
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3502
3502
  encoding: "hex" | "base64";
3503
3503
  signature: {
3504
- source: "query" | "body" | "header";
3504
+ source: "query" | "header" | "body";
3505
3505
  key: string;
3506
3506
  prefix?: string | undefined;
3507
3507
  regex?: string | undefined;
3508
3508
  };
3509
3509
  signedComponents: {
3510
- source: "literal" | "body" | "header";
3510
+ source: "literal" | "header" | "body";
3511
3511
  required: boolean;
3512
3512
  key?: string | undefined;
3513
3513
  value?: string | undefined;
@@ -3538,13 +3538,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3538
3538
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3539
3539
  encoding: "hex" | "base64";
3540
3540
  signature: {
3541
- source: "query" | "body" | "header";
3541
+ source: "query" | "header" | "body";
3542
3542
  key: string;
3543
3543
  prefix?: string | undefined;
3544
3544
  regex?: string | undefined;
3545
3545
  };
3546
3546
  signedComponents: {
3547
- source: "literal" | "body" | "header";
3547
+ source: "literal" | "header" | "body";
3548
3548
  required: boolean;
3549
3549
  key?: string | undefined;
3550
3550
  value?: string | undefined;
@@ -3833,13 +3833,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3833
3833
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3834
3834
  encoding: "hex" | "base64";
3835
3835
  signature: {
3836
- source: "query" | "body" | "header";
3836
+ source: "query" | "header" | "body";
3837
3837
  key: string;
3838
3838
  prefix?: string | undefined;
3839
3839
  regex?: string | undefined;
3840
3840
  };
3841
3841
  signedComponents: {
3842
- source: "literal" | "body" | "header";
3842
+ source: "literal" | "header" | "body";
3843
3843
  required: boolean;
3844
3844
  key?: string | undefined;
3845
3845
  value?: string | undefined;
@@ -3870,13 +3870,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3870
3870
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3871
3871
  encoding: "hex" | "base64";
3872
3872
  signature: {
3873
- source: "query" | "body" | "header";
3873
+ source: "query" | "header" | "body";
3874
3874
  key: string;
3875
3875
  prefix?: string | undefined;
3876
3876
  regex?: string | undefined;
3877
3877
  };
3878
3878
  signedComponents: {
3879
- source: "literal" | "body" | "header";
3879
+ source: "literal" | "header" | "body";
3880
3880
  required: boolean;
3881
3881
  key?: string | undefined;
3882
3882
  value?: string | undefined;
@@ -4005,7 +4005,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4005
4005
  }, {}, {
4006
4006
  length: 256;
4007
4007
  }>;
4008
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "tenantId" | "projectId" | "agentId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4008
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4009
4009
  declare const TriggerUpdateSchema: z.ZodObject<{
4010
4010
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4011
4011
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4056,8 +4056,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4056
4056
  signature: z.ZodObject<{
4057
4057
  source: z.ZodEnum<{
4058
4058
  query: "query";
4059
- body: "body";
4060
4059
  header: "header";
4060
+ body: "body";
4061
4061
  }>;
4062
4062
  key: z.ZodString;
4063
4063
  prefix: z.ZodOptional<z.ZodString>;
@@ -4066,8 +4066,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4066
4066
  signedComponents: z.ZodArray<z.ZodObject<{
4067
4067
  source: z.ZodEnum<{
4068
4068
  literal: "literal";
4069
- body: "body";
4070
4069
  header: "header";
4070
+ body: "body";
4071
4071
  }>;
4072
4072
  key: z.ZodOptional<z.ZodString>;
4073
4073
  value: z.ZodOptional<z.ZodString>;
@@ -4089,9 +4089,9 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4089
4089
  }>, z.core.$strip>;
4090
4090
  declare const TriggerApiInsertSchema: z.ZodObject<{
4091
4091
  name: z.ZodString;
4092
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4092
4093
  createdAt: z.ZodOptional<z.ZodString>;
4093
4094
  updatedAt: z.ZodOptional<z.ZodString>;
4094
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4095
4095
  enabled: z.ZodOptional<z.ZodBoolean>;
4096
4096
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4097
4097
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -4124,9 +4124,9 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4124
4124
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4125
4125
  id: z.ZodString;
4126
4126
  name: z.ZodString;
4127
+ description: z.ZodNullable<z.ZodString>;
4127
4128
  createdAt: z.ZodString;
4128
4129
  updatedAt: z.ZodString;
4129
- description: z.ZodNullable<z.ZodString>;
4130
4130
  enabled: z.ZodBoolean;
4131
4131
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4132
4132
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -4148,8 +4148,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4148
4148
  signature: z.ZodObject<{
4149
4149
  source: z.ZodEnum<{
4150
4150
  query: "query";
4151
- body: "body";
4152
4151
  header: "header";
4152
+ body: "body";
4153
4153
  }>;
4154
4154
  key: z.ZodString;
4155
4155
  prefix: z.ZodOptional<z.ZodString>;
@@ -4158,8 +4158,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4158
4158
  signedComponents: z.ZodArray<z.ZodObject<{
4159
4159
  source: z.ZodEnum<{
4160
4160
  literal: "literal";
4161
- body: "body";
4162
4161
  header: "header";
4162
+ body: "body";
4163
4163
  }>;
4164
4164
  key: z.ZodOptional<z.ZodString>;
4165
4165
  value: z.ZodOptional<z.ZodString>;
@@ -4989,7 +4989,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4989
4989
  }, {}, {
4990
4990
  length: 256;
4991
4991
  }>;
4992
- }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4992
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4993
4993
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4994
4994
  triggerId: z.ZodOptional<z.ZodString>;
4995
4995
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5674,7 +5674,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert",
5674
5674
  }, {}, {
5675
5675
  length: 256;
5676
5676
  }>;
5677
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "tenantId" | "projectId" | "agentId" | "messageTemplate" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5677
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5678
5678
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5679
5679
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5680
5680
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -5718,9 +5718,9 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5718
5718
  }>, z.core.$strip>;
5719
5719
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5720
5720
  name: z.ZodString;
5721
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5721
5722
  createdAt: z.ZodOptional<z.ZodString>;
5722
5723
  updatedAt: z.ZodOptional<z.ZodString>;
5723
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5724
5724
  enabled: z.ZodOptional<z.ZodBoolean>;
5725
5725
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5726
5726
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5734,9 +5734,9 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5734
5734
  }, z.core.$strip>;
5735
5735
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5736
5736
  name: z.ZodString;
5737
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5737
5738
  createdAt: z.ZodOptional<z.ZodString>;
5738
5739
  updatedAt: z.ZodOptional<z.ZodString>;
5739
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5740
5740
  enabled: z.ZodOptional<z.ZodBoolean>;
5741
5741
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5742
5742
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6593,7 +6593,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
6593
6593
  }, {}, {
6594
6594
  length: 256;
6595
6595
  }>;
6596
- }, "id" | "name" | "createdAt" | "updatedAt" | "status" | "description" | "tenantId" | "projectId" | "agentId" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6596
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6597
6597
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6598
6598
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6599
6599
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6625,10 +6625,10 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6625
6625
  }>, z.core.$strip>;
6626
6626
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6627
6627
  name: z.ZodString;
6628
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6628
6629
  createdAt: z.ZodOptional<z.ZodString>;
6629
6630
  updatedAt: z.ZodOptional<z.ZodString>;
6630
6631
  status: z.ZodOptional<z.ZodString>;
6631
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6632
6632
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6633
6633
  scheduledTriggerId: z.ZodString;
6634
6634
  id: z.ZodOptional<z.ZodString>;
@@ -7200,7 +7200,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
7200
7200
  }, {}, {
7201
7201
  length: 256;
7202
7202
  }>;
7203
- }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7203
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7204
7204
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7205
7205
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7206
7206
  status: z.ZodOptional<z.ZodString>;
@@ -7804,8 +7804,10 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7804
7804
  }>, z.core.$strip>;
7805
7805
  declare const TaskApiUpdateSchema: z.ZodObject<{
7806
7806
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7807
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7807
7808
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7808
7809
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7810
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7809
7811
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7810
7812
  type: z.ZodEnum<{
7811
7813
  commit: "commit";
@@ -7815,9 +7817,7 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
7815
7817
  name: z.ZodString;
7816
7818
  hash: z.ZodString;
7817
7819
  }, z.core.$strip>>>;
7818
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7819
7820
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7820
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7821
7821
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7822
7822
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7823
7823
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -9369,8 +9369,12 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9369
9369
  }>, z.core.$strip>;
9370
9370
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9371
9371
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9372
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9373
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9372
9374
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9373
9375
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9376
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9377
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9374
9378
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9375
9379
  type: z.ZodEnum<{
9376
9380
  commit: "commit";
@@ -9381,10 +9385,6 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
9381
9385
  hash: z.ZodString;
9382
9386
  }, z.core.$strip>>>;
9383
9387
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9384
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9385
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9386
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9387
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9388
9388
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9389
9389
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9390
9390
  }, z.core.$strip>;
@@ -10284,8 +10284,8 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
10284
10284
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10285
10285
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10286
10286
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10287
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10288
10287
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10288
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10289
10289
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10290
10290
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10291
10291
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10909,8 +10909,10 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10909
10909
  }>, z.core.$strip>;
10910
10910
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10911
10911
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10912
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
10912
10913
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10913
10914
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10915
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10914
10916
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
10915
10917
  type: z.ZodEnum<{
10916
10918
  commit: "commit";
@@ -10920,8 +10922,6 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10920
10922
  name: z.ZodString;
10921
10923
  hash: z.ZodString;
10922
10924
  }, z.core.$strip>>>;
10923
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
10924
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10925
10925
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10926
10926
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10927
10927
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -12609,26 +12609,26 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12609
12609
  }>, z.core.$strip>;
12610
12610
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12611
12611
  name: z.ZodString;
12612
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12612
12613
  createdAt: z.ZodOptional<z.ZodString>;
12613
12614
  updatedAt: z.ZodOptional<z.ZodString>;
12614
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12615
12615
  isActive: z.ZodOptional<z.ZodBoolean>;
12616
12616
  suiteConfigIds: z.ZodArray<z.ZodString>;
12617
12617
  }, z.core.$strip>;
12618
12618
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12619
12619
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12620
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12620
12621
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12621
12622
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12622
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12623
12623
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12624
12624
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12625
12625
  }, z.core.$strip>;
12626
12626
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12627
12627
  id: z.ZodString;
12628
12628
  name: z.ZodString;
12629
+ description: z.ZodNullable<z.ZodString>;
12629
12630
  createdAt: z.ZodString;
12630
12631
  updatedAt: z.ZodString;
12631
- description: z.ZodNullable<z.ZodString>;
12632
12632
  isActive: z.ZodBoolean;
12633
12633
  suiteConfigIds: z.ZodArray<z.ZodString>;
12634
12634
  }, z.core.$strip>;
@@ -14786,10 +14786,8 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14786
14786
  }>, z.core.$strip>;
14787
14787
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14788
14788
  name: z.ZodString;
14789
- createdAt: z.ZodOptional<z.ZodString>;
14790
- updatedAt: z.ZodOptional<z.ZodString>;
14791
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14792
14789
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14790
+ prompt: z.ZodString;
14793
14791
  model: z.ZodType<{
14794
14792
  model?: string | undefined;
14795
14793
  providerOptions?: Record<string, any> | undefined;
@@ -14803,15 +14801,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14803
14801
  model?: string | undefined;
14804
14802
  providerOptions?: Record<string, any> | undefined;
14805
14803
  }>>;
14806
- prompt: z.ZodString;
14804
+ createdAt: z.ZodOptional<z.ZodString>;
14805
+ updatedAt: z.ZodOptional<z.ZodString>;
14806
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14807
14807
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14808
14808
  }, z.core.$strip>;
14809
14809
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14810
14810
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14811
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14812
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14813
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14814
14811
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14812
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14815
14813
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14816
14814
  model?: string | undefined;
14817
14815
  providerOptions?: Record<string, any> | undefined;
@@ -14825,7 +14823,9 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14825
14823
  model?: string | undefined;
14826
14824
  providerOptions?: Record<string, any> | undefined;
14827
14825
  }>>>>;
14828
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14826
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14827
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14828
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14829
14829
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
14830
14830
  }, z.core.$strip>;
14831
14831
  declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -15722,8 +15722,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15722
15722
  }>>>>>>;
15723
15723
  }, z.core.$strip>;
15724
15724
  declare const DatasetRunItemSchema: z.ZodObject<{
15725
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15726
15725
  id: z.ZodOptional<z.ZodString>;
15726
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15727
15727
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15728
15728
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15729
15729
  prompt: string;
@@ -15771,8 +15771,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
15771
15771
  declare const TriggerDatasetRunSchema: z.ZodObject<{
15772
15772
  datasetRunId: z.ZodString;
15773
15773
  items: z.ZodArray<z.ZodObject<{
15774
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15775
15774
  id: z.ZodOptional<z.ZodString>;
15775
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15776
15776
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15777
15777
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15778
15778
  prompt: string;
@@ -16183,16 +16183,16 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
16183
16183
  }>, z.core.$strip>;
16184
16184
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
16185
16185
  name: z.ZodString;
16186
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16186
16187
  createdAt: z.ZodOptional<z.ZodString>;
16187
16188
  updatedAt: z.ZodOptional<z.ZodString>;
16188
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16189
16189
  datasetId: z.ZodString;
16190
16190
  }, z.core.$strip>;
16191
16191
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16192
16192
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16193
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16193
16194
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16194
16195
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16195
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16196
16196
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16197
16197
  }, z.core.$strip>;
16198
16198
  declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -16501,20 +16501,20 @@ declare const SkillSelectSchema: z.ZodObject<{
16501
16501
  }>;
16502
16502
  declare const SkillInsertSchema: z.ZodObject<{
16503
16503
  name: z.ZodString;
16504
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16505
16504
  description: z.ZodString;
16506
16505
  tenantId: z.ZodString;
16507
16506
  projectId: z.ZodString;
16507
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16508
16508
  content: z.ZodString;
16509
16509
  }, {
16510
16510
  out: {};
16511
16511
  in: {};
16512
16512
  }>;
16513
16513
  declare const SkillUpdateSchema: z.ZodObject<{
16514
- metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16515
16514
  description: z.ZodOptional<z.ZodString>;
16516
16515
  tenantId: z.ZodOptional<z.ZodString>;
16517
16516
  projectId: z.ZodOptional<z.ZodString>;
16517
+ metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16518
16518
  content: z.ZodOptional<z.ZodString>;
16519
16519
  }, {
16520
16520
  out: {};
@@ -16533,15 +16533,15 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16533
16533
  }>, z.core.$strip>;
16534
16534
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16535
16535
  name: z.ZodString;
16536
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16537
16536
  description: z.ZodString;
16538
16537
  tenantId: z.ZodString;
16539
16538
  projectId: z.ZodString;
16539
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16540
16540
  content: z.ZodString;
16541
16541
  }>, z.core.$strip>;
16542
16542
  declare const SkillApiUpdateSchema: z.ZodObject<{
16543
- metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16544
16543
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16544
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16545
16545
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16546
16546
  }, z.core.$strip>;
16547
16547
  declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -17659,7 +17659,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
17659
17659
  }, {}, {
17660
17660
  length: 256;
17661
17661
  }>;
17662
- }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17662
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17663
17663
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17664
17664
  dataComponentId: z.ZodOptional<z.ZodString>;
17665
17665
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -18258,9 +18258,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
18258
18258
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18259
18259
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18260
18260
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18261
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18261
18262
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18262
18263
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18263
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18264
18264
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
18265
18265
  [x: string]: unknown;
18266
18266
  type: "object";
@@ -18675,10 +18675,10 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18675
18675
  }>, z.core.$strip>;
18676
18676
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18677
18677
  agentId: z.ZodString;
18678
- subAgentId: z.ZodString;
18679
- skillId: z.ZodString;
18680
18678
  index: z.ZodInt;
18681
18679
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18680
+ subAgentId: z.ZodString;
18681
+ skillId: z.ZodString;
18682
18682
  }, {
18683
18683
  out: {};
18684
18684
  in: {};
@@ -18687,18 +18687,18 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18687
18687
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18688
18688
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18689
18689
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18690
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18691
- skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18692
18690
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18693
18691
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18692
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18693
+ skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18694
18694
  }, z.core.$strip>;
18695
18695
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18696
18696
  id: z.ZodString;
18697
18697
  name: z.ZodString;
18698
+ description: z.ZodString;
18698
18699
  createdAt: z.ZodString;
18699
18700
  updatedAt: z.ZodString;
18700
18701
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18701
- description: z.ZodString;
18702
18702
  content: z.ZodString;
18703
18703
  subAgentSkillId: z.ZodString;
18704
18704
  subAgentId: z.ZodString;
@@ -18772,18 +18772,18 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18772
18772
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18773
18773
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18774
18774
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18775
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18775
18776
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18776
18777
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18777
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18778
18778
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18779
18779
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18780
18780
  }, z.core.$strip>;
18781
18781
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18782
18782
  id: z.ZodString;
18783
18783
  name: z.ZodString;
18784
- createdAt: z.ZodString;
18785
- updatedAt: z.ZodString;
18786
18784
  description: z.ZodNullable<z.ZodString>;
18785
+ prompt: z.ZodNullable<z.ZodString>;
18786
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18787
18787
  models: z.ZodNullable<z.ZodType<{
18788
18788
  base?: {
18789
18789
  model?: string | undefined;
@@ -18846,15 +18846,15 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18846
18846
  }, {
18847
18847
  stepCountIs?: number | undefined;
18848
18848
  }>>>;
18849
- prompt: z.ZodNullable<z.ZodString>;
18850
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18849
+ createdAt: z.ZodString;
18850
+ updatedAt: z.ZodString;
18851
18851
  type: z.ZodLiteral<"internal">;
18852
18852
  }, z.core.$strip>, z.ZodObject<{
18853
18853
  id: z.ZodString;
18854
18854
  name: z.ZodString;
18855
+ description: z.ZodNullable<z.ZodString>;
18855
18856
  createdAt: z.ZodString;
18856
18857
  updatedAt: z.ZodString;
18857
- description: z.ZodNullable<z.ZodString>;
18858
18858
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18859
18859
  baseUrl: z.ZodString;
18860
18860
  type: z.ZodLiteral<"external">;
@@ -19321,9 +19321,9 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
19321
19321
  }>;
19322
19322
  declare const ApiKeyUpdateSchema: z.ZodObject<{
19323
19323
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19324
+ agentId: z.ZodOptional<z.ZodString>;
19324
19325
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19325
19326
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19326
- agentId: z.ZodOptional<z.ZodString>;
19327
19327
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19328
19328
  }, {
19329
19329
  out: {};
@@ -19332,10 +19332,10 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
19332
19332
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19333
19333
  id: z.ZodString;
19334
19334
  name: z.ZodNullable<z.ZodString>;
19335
+ agentId: z.ZodString;
19335
19336
  createdAt: z.ZodString;
19336
19337
  updatedAt: z.ZodString;
19337
19338
  expiresAt: z.ZodNullable<z.ZodString>;
19338
- agentId: z.ZodString;
19339
19339
  publicId: z.ZodString;
19340
19340
  keyPrefix: z.ZodString;
19341
19341
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19348,10 +19348,10 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19348
19348
  apiKey: z.ZodObject<{
19349
19349
  id: z.ZodString;
19350
19350
  name: z.ZodNullable<z.ZodString>;
19351
+ agentId: z.ZodString;
19351
19352
  createdAt: z.ZodString;
19352
19353
  updatedAt: z.ZodString;
19353
19354
  expiresAt: z.ZodNullable<z.ZodString>;
19354
- agentId: z.ZodString;
19355
19355
  publicId: z.ZodString;
19356
19356
  keyPrefix: z.ZodString;
19357
19357
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19364,19 +19364,19 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19364
19364
  }, z.core.$strip>;
19365
19365
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
19366
19366
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19367
+ agentId: z.ZodString;
19367
19368
  createdAt: z.ZodOptional<z.ZodString>;
19368
19369
  updatedAt: z.ZodOptional<z.ZodString>;
19369
19370
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19370
- agentId: z.ZodString;
19371
19371
  }, {
19372
19372
  out: {};
19373
19373
  in: {};
19374
19374
  }>;
19375
19375
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19376
19376
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19377
+ agentId: z.ZodOptional<z.ZodString>;
19377
19378
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19378
19379
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19379
- agentId: z.ZodOptional<z.ZodString>;
19380
19380
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19381
19381
  }, {
19382
19382
  out: {};
@@ -19872,11 +19872,11 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19872
19872
  name: z.ZodString;
19873
19873
  createdAt: z.ZodString;
19874
19874
  updatedAt: z.ZodString;
19875
+ toolId: z.ZodNullable<z.ZodString>;
19875
19876
  userId: z.ZodNullable<z.ZodString>;
19877
+ createdBy: z.ZodNullable<z.ZodString>;
19876
19878
  credentialStoreId: z.ZodString;
19877
19879
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
19878
- toolId: z.ZodNullable<z.ZodString>;
19879
- createdBy: z.ZodNullable<z.ZodString>;
19880
19880
  type: z.ZodEnum<{
19881
19881
  readonly memory: "memory";
19882
19882
  readonly keychain: "keychain";
@@ -20463,11 +20463,11 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20463
20463
  name: z.ZodString;
20464
20464
  createdAt: z.ZodOptional<z.ZodString>;
20465
20465
  updatedAt: z.ZodOptional<z.ZodString>;
20466
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20466
20467
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20468
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20467
20469
  credentialStoreId: z.ZodString;
20468
20470
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20469
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20470
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20471
20471
  type: z.ZodEnum<{
20472
20472
  readonly memory: "memory";
20473
20473
  readonly keychain: "keychain";
@@ -20479,11 +20479,11 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20479
20479
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20480
20480
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20481
20481
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20482
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20482
20483
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20484
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20483
20485
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20484
20486
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20485
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20486
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20487
20487
  type: z.ZodOptional<z.ZodEnum<{
20488
20488
  readonly memory: "memory";
20489
20489
  readonly keychain: "keychain";
@@ -20608,8 +20608,8 @@ declare const McpToolSchema: z.ZodObject<{
20608
20608
  declare const MCPToolConfigSchema: z.ZodObject<{
20609
20609
  id: z.ZodString;
20610
20610
  name: z.ZodString;
20611
- expiresAt: z.ZodOptional<z.ZodString>;
20612
20611
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20612
+ expiresAt: z.ZodOptional<z.ZodString>;
20613
20613
  createdBy: z.ZodOptional<z.ZodString>;
20614
20614
  credentialScope: z.ZodOptional<z.ZodString>;
20615
20615
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -20646,11 +20646,11 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20646
20646
  name: z.ZodString;
20647
20647
  createdAt: z.ZodOptional<z.ZodString>;
20648
20648
  updatedAt: z.ZodOptional<z.ZodString>;
20649
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20649
20650
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20651
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20650
20652
  credentialStoreId: z.ZodString;
20651
20653
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20652
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20653
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20654
20654
  type: z.ZodEnum<{
20655
20655
  readonly memory: "memory";
20656
20656
  readonly keychain: "keychain";
@@ -20787,9 +20787,9 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
20787
20787
  declare const ToolApiUpdateSchema: z.ZodObject<{
20788
20788
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20789
20789
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20790
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20790
20791
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20791
20792
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20792
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20793
20793
  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>>>>>>>;
20794
20794
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20795
20795
  type: z.ZodLiteral<"mcp">;
@@ -21188,10 +21188,10 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21188
21188
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21189
21189
  id: z.ZodString;
21190
21190
  name: z.ZodString;
21191
- createdAt: z.ZodString;
21192
- updatedAt: z.ZodString;
21193
21191
  description: z.ZodNullable<z.ZodString>;
21194
21192
  agentId: z.ZodString;
21193
+ createdAt: z.ZodString;
21194
+ updatedAt: z.ZodString;
21195
21195
  functionId: z.ZodString;
21196
21196
  relationshipId: z.ZodOptional<z.ZodString>;
21197
21197
  }, z.core.$strip>;
@@ -21209,10 +21209,10 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21209
21209
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21210
21210
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21211
21211
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21212
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21213
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21214
21212
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21215
21213
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21214
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21215
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21216
21216
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21217
21217
  }, z.core.$strip>;
21218
21218
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -21586,9 +21586,9 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21586
21586
  id: z.ZodString;
21587
21587
  }>, z.core.$strip>;
21588
21588
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21589
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21589
21590
  subAgentId: z.ZodString;
21590
21591
  functionToolId: z.ZodString;
21591
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21592
21592
  }, {
21593
21593
  out: {};
21594
21594
  in: {};
@@ -21984,11 +21984,11 @@ declare const FetchDefinitionSchema: z.ZodObject<{
21984
21984
  name: z.ZodString;
21985
21985
  createdAt: z.ZodOptional<z.ZodString>;
21986
21986
  updatedAt: z.ZodOptional<z.ZodString>;
21987
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21987
21988
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21989
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21988
21990
  credentialStoreId: z.ZodString;
21989
21991
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21990
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21991
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21992
21992
  type: z.ZodEnum<{
21993
21993
  readonly memory: "memory";
21994
21994
  readonly keychain: "keychain";
@@ -22537,12 +22537,12 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22537
22537
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22538
22538
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22539
22539
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22540
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22541
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22542
22540
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22541
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22543
22542
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22544
22543
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22545
22544
  }, z.core.$strip>>>>>>;
22545
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22546
22546
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22547
22547
  }, z.core.$strip>;
22548
22548
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -22932,8 +22932,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
22932
22932
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22933
22933
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22934
22934
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22935
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22936
22935
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22936
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22937
22937
  }, z.core.$strip>;
22938
22938
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22939
22939
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -24666,7 +24666,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24666
24666
  }, {}, {
24667
24667
  length: 256;
24668
24668
  }>;
24669
- }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "tenantId" | "projectId" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24669
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "toolCallId" | "contextId" | "visibility" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24670
24670
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24671
24671
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24672
24672
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24731,17 +24731,17 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24731
24731
  id: z.ZodString;
24732
24732
  }>, z.core.$strip>;
24733
24733
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24734
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24735
24734
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24736
24735
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24736
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24737
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24737
24738
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24738
24739
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24739
24740
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24740
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24741
24741
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24742
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24742
24743
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24743
24744
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24744
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24745
24745
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24746
24746
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24747
24747
  mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
@@ -24813,9 +24813,8 @@ declare const TeamAgentSchema: z.ZodObject<{
24813
24813
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24814
24814
  id: z.ZodString;
24815
24815
  name: z.ZodString;
24816
- createdAt: z.ZodOptional<z.ZodString>;
24817
- updatedAt: z.ZodOptional<z.ZodString>;
24818
24816
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24817
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24819
24818
  models: z.ZodOptional<z.ZodObject<{
24820
24819
  base: z.ZodOptional<z.ZodObject<{
24821
24820
  model: z.ZodOptional<z.ZodString>;
@@ -24830,7 +24829,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24830
24829
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24831
24830
  }, z.core.$strip>>;
24832
24831
  }, z.core.$strip>>;
24833
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24832
+ createdAt: z.ZodOptional<z.ZodString>;
24833
+ updatedAt: z.ZodOptional<z.ZodString>;
24834
24834
  type: z.ZodLiteral<"internal">;
24835
24835
  canUse: z.ZodArray<z.ZodObject<{
24836
24836
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24865,18 +24865,17 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24865
24865
  }, z.core.$strip>;
24866
24866
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24867
24867
  name: z.ZodString;
24868
- createdAt: z.ZodOptional<z.ZodString>;
24869
- updatedAt: z.ZodOptional<z.ZodString>;
24870
24868
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24871
24869
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24870
+ createdAt: z.ZodOptional<z.ZodString>;
24871
+ updatedAt: z.ZodOptional<z.ZodString>;
24872
24872
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24873
24873
  id: z.ZodString;
24874
24874
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24875
24875
  id: z.ZodString;
24876
24876
  name: z.ZodString;
24877
- createdAt: z.ZodOptional<z.ZodString>;
24878
- updatedAt: z.ZodOptional<z.ZodString>;
24879
24877
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24878
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24880
24879
  models: z.ZodOptional<z.ZodObject<{
24881
24880
  base: z.ZodOptional<z.ZodObject<{
24882
24881
  model: z.ZodOptional<z.ZodString>;
@@ -24891,7 +24890,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24891
24890
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24892
24891
  }, z.core.$strip>>;
24893
24892
  }, z.core.$strip>>;
24894
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24893
+ createdAt: z.ZodOptional<z.ZodString>;
24894
+ updatedAt: z.ZodOptional<z.ZodString>;
24895
24895
  type: z.ZodLiteral<"internal">;
24896
24896
  canUse: z.ZodArray<z.ZodObject<{
24897
24897
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25003,9 +25003,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25003
25003
  }, z.core.$strip>>>;
25004
25004
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25005
25005
  name: z.ZodString;
25006
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25006
25007
  createdAt: z.ZodOptional<z.ZodString>;
25007
25008
  updatedAt: z.ZodOptional<z.ZodString>;
25008
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25009
25009
  enabled: z.ZodOptional<z.ZodBoolean>;
25010
25010
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25011
25011
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -25017,9 +25017,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25017
25017
  }, z.core.$strip>>>;
25018
25018
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25019
25019
  name: z.ZodString;
25020
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25020
25021
  createdAt: z.ZodOptional<z.ZodString>;
25021
25022
  updatedAt: z.ZodOptional<z.ZodString>;
25022
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25023
25023
  enabled: z.ZodOptional<z.ZodBoolean>;
25024
25024
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25025
25025
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25184,8 +25184,6 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25184
25184
  declare const ProjectApiSelectSchema: z.ZodObject<{
25185
25185
  id: z.ZodString;
25186
25186
  name: z.ZodString;
25187
- createdAt: z.ZodString;
25188
- updatedAt: z.ZodString;
25189
25187
  description: z.ZodNullable<z.ZodString>;
25190
25188
  models: z.ZodNullable<z.ZodObject<{
25191
25189
  base: z.ZodObject<{
@@ -25205,6 +25203,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25205
25203
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25206
25204
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25207
25205
  }, z.core.$strip>>;
25206
+ createdAt: z.ZodString;
25207
+ updatedAt: z.ZodString;
25208
25208
  }, {
25209
25209
  out: {};
25210
25210
  in: {};
@@ -25284,18 +25284,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25284
25284
  }, z.core.$strip>>;
25285
25285
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25286
25286
  name: z.ZodString;
25287
- createdAt: z.ZodOptional<z.ZodString>;
25288
- updatedAt: z.ZodOptional<z.ZodString>;
25289
25287
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25290
25288
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25289
+ createdAt: z.ZodOptional<z.ZodString>;
25290
+ updatedAt: z.ZodOptional<z.ZodString>;
25291
25291
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25292
25292
  id: z.ZodString;
25293
25293
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25294
25294
  id: z.ZodString;
25295
25295
  name: z.ZodString;
25296
- createdAt: z.ZodOptional<z.ZodString>;
25297
- updatedAt: z.ZodOptional<z.ZodString>;
25298
25296
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25297
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25299
25298
  models: z.ZodOptional<z.ZodObject<{
25300
25299
  base: z.ZodOptional<z.ZodObject<{
25301
25300
  model: z.ZodOptional<z.ZodString>;
@@ -25310,7 +25309,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25310
25309
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25311
25310
  }, z.core.$strip>>;
25312
25311
  }, z.core.$strip>>;
25313
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25312
+ createdAt: z.ZodOptional<z.ZodString>;
25313
+ updatedAt: z.ZodOptional<z.ZodString>;
25314
25314
  type: z.ZodLiteral<"internal">;
25315
25315
  canUse: z.ZodArray<z.ZodObject<{
25316
25316
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25422,9 +25422,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25422
25422
  }, z.core.$strip>>>;
25423
25423
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25424
25424
  name: z.ZodString;
25425
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25425
25426
  createdAt: z.ZodOptional<z.ZodString>;
25426
25427
  updatedAt: z.ZodOptional<z.ZodString>;
25427
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25428
25428
  enabled: z.ZodOptional<z.ZodBoolean>;
25429
25429
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25430
25430
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -25436,9 +25436,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25436
25436
  }, z.core.$strip>>>;
25437
25437
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25438
25438
  name: z.ZodString;
25439
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25439
25440
  createdAt: z.ZodOptional<z.ZodString>;
25440
25441
  updatedAt: z.ZodOptional<z.ZodString>;
25441
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25442
25442
  enabled: z.ZodOptional<z.ZodBoolean>;
25443
25443
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25444
25444
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25552,10 +25552,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25552
25552
  }, z.core.$strip>>>;
25553
25553
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25554
25554
  name: z.ZodString;
25555
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25556
25555
  description: z.ZodString;
25557
25556
  tenantId: z.ZodString;
25558
25557
  projectId: z.ZodString;
25558
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25559
25559
  content: z.ZodString;
25560
25560
  }>, z.core.$strip>>>;
25561
25561
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -25644,11 +25644,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25644
25644
  name: z.ZodString;
25645
25645
  createdAt: z.ZodOptional<z.ZodString>;
25646
25646
  updatedAt: z.ZodOptional<z.ZodString>;
25647
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25647
25648
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25649
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25648
25650
  credentialStoreId: z.ZodString;
25649
25651
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25650
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25651
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25652
25652
  type: z.ZodEnum<{
25653
25653
  readonly memory: "memory";
25654
25654
  readonly keychain: "keychain";
@@ -25664,9 +25664,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25664
25664
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25665
25665
  id: z.ZodString;
25666
25666
  name: z.ZodString;
25667
- createdAt: z.ZodString;
25668
- updatedAt: z.ZodString;
25669
25667
  description: z.ZodNullable<z.ZodString>;
25668
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25670
25669
  models: z.ZodNullable<z.ZodType<{
25671
25670
  base?: {
25672
25671
  model?: string | undefined;
@@ -25729,7 +25728,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25729
25728
  }, {
25730
25729
  stepCountIs?: number | undefined;
25731
25730
  }>>>;
25732
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25731
+ createdAt: z.ZodString;
25732
+ updatedAt: z.ZodString;
25733
25733
  type: z.ZodLiteral<"internal">;
25734
25734
  canUse: z.ZodArray<z.ZodObject<{
25735
25735
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25757,9 +25757,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25757
25757
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25758
25758
  id: z.ZodString;
25759
25759
  name: z.ZodString;
25760
- createdAt: z.ZodString;
25761
- updatedAt: z.ZodString;
25762
25760
  description: z.ZodNullable<z.ZodString>;
25761
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25763
25762
  models: z.ZodNullable<z.ZodType<{
25764
25763
  base?: {
25765
25764
  model?: string | undefined;
@@ -25822,7 +25821,8 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25822
25821
  }, {
25823
25822
  stepCountIs?: number | undefined;
25824
25823
  }>>>;
25825
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25824
+ createdAt: z.ZodString;
25825
+ updatedAt: z.ZodString;
25826
25826
  type: z.ZodLiteral<"internal">;
25827
25827
  canUse: z.ZodArray<z.ZodObject<{
25828
25828
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25856,17 +25856,16 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25856
25856
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25857
25857
  id: z.ZodString;
25858
25858
  name: z.ZodString;
25859
- createdAt: z.ZodString;
25860
- updatedAt: z.ZodString;
25861
25859
  description: z.ZodNullable<z.ZodString>;
25862
25860
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25861
+ createdAt: z.ZodString;
25862
+ updatedAt: z.ZodString;
25863
25863
  contextConfigId: z.ZodNullable<z.ZodString>;
25864
25864
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25865
25865
  id: z.ZodString;
25866
25866
  name: z.ZodString;
25867
- createdAt: z.ZodString;
25868
- updatedAt: z.ZodString;
25869
25867
  description: z.ZodNullable<z.ZodString>;
25868
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25870
25869
  models: z.ZodNullable<z.ZodType<{
25871
25870
  base?: {
25872
25871
  model?: string | undefined;
@@ -25929,7 +25928,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25929
25928
  }, {
25930
25929
  stepCountIs?: number | undefined;
25931
25930
  }>>>;
25932
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25931
+ createdAt: z.ZodString;
25932
+ updatedAt: z.ZodString;
25933
25933
  type: z.ZodLiteral<"internal">;
25934
25934
  canUse: z.ZodArray<z.ZodObject<{
25935
25935
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26002,10 +26002,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26002
26002
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26003
26003
  id: z.ZodString;
26004
26004
  name: z.ZodString;
26005
- createdAt: z.ZodString;
26006
- updatedAt: z.ZodString;
26007
26005
  description: z.ZodNullable<z.ZodString>;
26008
26006
  agentId: z.ZodString;
26007
+ createdAt: z.ZodString;
26008
+ updatedAt: z.ZodString;
26009
26009
  functionId: z.ZodString;
26010
26010
  relationshipId: z.ZodOptional<z.ZodString>;
26011
26011
  }, z.core.$strip>>>;
@@ -26082,10 +26082,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26082
26082
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26083
26083
  id: z.ZodString;
26084
26084
  name: z.ZodString;
26085
- createdAt: z.ZodString;
26086
- updatedAt: z.ZodString;
26087
26085
  description: z.ZodNullable<z.ZodString>;
26088
26086
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26087
+ createdAt: z.ZodString;
26088
+ updatedAt: z.ZodString;
26089
26089
  contextConfigId: z.ZodNullable<z.ZodString>;
26090
26090
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26091
26091
  createdAt: z.ZodString;
@@ -26135,10 +26135,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26135
26135
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26136
26136
  id: z.ZodString;
26137
26137
  name: z.ZodString;
26138
- createdAt: z.ZodString;
26139
- updatedAt: z.ZodString;
26140
26138
  description: z.ZodNullable<z.ZodString>;
26141
26139
  agentId: z.ZodString;
26140
+ createdAt: z.ZodString;
26141
+ updatedAt: z.ZodString;
26142
26142
  functionId: z.ZodString;
26143
26143
  relationshipId: z.ZodOptional<z.ZodString>;
26144
26144
  }, z.core.$strip>>>;
@@ -26214,9 +26214,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26214
26214
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26215
26215
  id: z.ZodString;
26216
26216
  name: z.ZodString;
26217
- createdAt: z.ZodString;
26218
- updatedAt: z.ZodString;
26219
26217
  description: z.ZodNullable<z.ZodString>;
26218
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26220
26219
  models: z.ZodNullable<z.ZodType<{
26221
26220
  base?: {
26222
26221
  model?: string | undefined;
@@ -26279,7 +26278,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26279
26278
  }, {
26280
26279
  stepCountIs?: number | undefined;
26281
26280
  }>>>;
26282
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26281
+ createdAt: z.ZodString;
26282
+ updatedAt: z.ZodString;
26283
26283
  type: z.ZodLiteral<"internal">;
26284
26284
  canUse: z.ZodArray<z.ZodObject<{
26285
26285
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26314,8 +26314,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26314
26314
  declare const FullProjectSelectSchema: z.ZodObject<{
26315
26315
  id: z.ZodString;
26316
26316
  name: z.ZodString;
26317
- createdAt: z.ZodString;
26318
- updatedAt: z.ZodString;
26319
26317
  description: z.ZodNullable<z.ZodString>;
26320
26318
  models: z.ZodNullable<z.ZodObject<{
26321
26319
  base: z.ZodObject<{
@@ -26335,20 +26333,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26335
26333
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26336
26334
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26337
26335
  }, z.core.$strip>>;
26336
+ createdAt: z.ZodString;
26337
+ updatedAt: z.ZodString;
26338
26338
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26339
26339
  id: z.ZodString;
26340
26340
  name: z.ZodString;
26341
- createdAt: z.ZodString;
26342
- updatedAt: z.ZodString;
26343
26341
  description: z.ZodNullable<z.ZodString>;
26344
26342
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26343
+ createdAt: z.ZodString;
26344
+ updatedAt: z.ZodString;
26345
26345
  contextConfigId: z.ZodNullable<z.ZodString>;
26346
26346
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26347
26347
  id: z.ZodString;
26348
26348
  name: z.ZodString;
26349
- createdAt: z.ZodString;
26350
- updatedAt: z.ZodString;
26351
26349
  description: z.ZodNullable<z.ZodString>;
26350
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26352
26351
  models: z.ZodNullable<z.ZodType<{
26353
26352
  base?: {
26354
26353
  model?: string | undefined;
@@ -26411,7 +26410,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26411
26410
  }, {
26412
26411
  stepCountIs?: number | undefined;
26413
26412
  }>>>;
26414
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26413
+ createdAt: z.ZodString;
26414
+ updatedAt: z.ZodString;
26415
26415
  type: z.ZodLiteral<"internal">;
26416
26416
  canUse: z.ZodArray<z.ZodObject<{
26417
26417
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26484,10 +26484,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26484
26484
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26485
26485
  id: z.ZodString;
26486
26486
  name: z.ZodString;
26487
- createdAt: z.ZodString;
26488
- updatedAt: z.ZodString;
26489
26487
  description: z.ZodNullable<z.ZodString>;
26490
26488
  agentId: z.ZodString;
26489
+ createdAt: z.ZodString;
26490
+ updatedAt: z.ZodString;
26491
26491
  functionId: z.ZodString;
26492
26492
  relationshipId: z.ZodOptional<z.ZodString>;
26493
26493
  }, z.core.$strip>>>;
@@ -26593,10 +26593,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26593
26593
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26594
26594
  id: z.ZodString;
26595
26595
  name: z.ZodString;
26596
- createdAt: z.ZodString;
26597
- updatedAt: z.ZodString;
26598
26596
  description: z.ZodNullable<z.ZodString>;
26599
26597
  agentId: z.ZodString;
26598
+ createdAt: z.ZodString;
26599
+ updatedAt: z.ZodString;
26600
26600
  functionId: z.ZodString;
26601
26601
  relationshipId: z.ZodOptional<z.ZodString>;
26602
26602
  }, z.core.$strip>>>;
@@ -26743,11 +26743,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26743
26743
  name: z.ZodString;
26744
26744
  createdAt: z.ZodString;
26745
26745
  updatedAt: z.ZodString;
26746
+ toolId: z.ZodNullable<z.ZodString>;
26746
26747
  userId: z.ZodNullable<z.ZodString>;
26748
+ createdBy: z.ZodNullable<z.ZodString>;
26747
26749
  credentialStoreId: z.ZodString;
26748
26750
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26749
- toolId: z.ZodNullable<z.ZodString>;
26750
- createdBy: z.ZodNullable<z.ZodString>;
26751
26751
  type: z.ZodEnum<{
26752
26752
  readonly memory: "memory";
26753
26753
  readonly keychain: "keychain";
@@ -27336,8 +27336,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27336
27336
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27337
27337
  id: z.ZodString;
27338
27338
  name: z.ZodString;
27339
- createdAt: z.ZodString;
27340
- updatedAt: z.ZodString;
27341
27339
  description: z.ZodNullable<z.ZodString>;
27342
27340
  models: z.ZodNullable<z.ZodObject<{
27343
27341
  base: z.ZodObject<{
@@ -27357,6 +27355,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27357
27355
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27358
27356
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27359
27357
  }, z.core.$strip>>;
27358
+ createdAt: z.ZodString;
27359
+ updatedAt: z.ZodString;
27360
27360
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27361
27361
  createdAt: z.ZodString;
27362
27362
  updatedAt: z.ZodString;
@@ -27389,10 +27389,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27389
27389
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27390
27390
  id: z.ZodString;
27391
27391
  name: z.ZodString;
27392
- createdAt: z.ZodString;
27393
- updatedAt: z.ZodString;
27394
27392
  description: z.ZodNullable<z.ZodString>;
27395
27393
  agentId: z.ZodString;
27394
+ createdAt: z.ZodString;
27395
+ updatedAt: z.ZodString;
27396
27396
  functionId: z.ZodString;
27397
27397
  relationshipId: z.ZodOptional<z.ZodString>;
27398
27398
  }, z.core.$strip>>>;
@@ -27539,11 +27539,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27539
27539
  name: z.ZodString;
27540
27540
  createdAt: z.ZodString;
27541
27541
  updatedAt: z.ZodString;
27542
+ toolId: z.ZodNullable<z.ZodString>;
27542
27543
  userId: z.ZodNullable<z.ZodString>;
27544
+ createdBy: z.ZodNullable<z.ZodString>;
27543
27545
  credentialStoreId: z.ZodString;
27544
27546
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27545
- toolId: z.ZodNullable<z.ZodString>;
27546
- createdBy: z.ZodNullable<z.ZodString>;
27547
27547
  type: z.ZodEnum<{
27548
27548
  readonly memory: "memory";
27549
27549
  readonly keychain: "keychain";
@@ -28128,10 +28128,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28128
28128
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28129
28129
  id: z.ZodString;
28130
28130
  name: z.ZodString;
28131
- createdAt: z.ZodString;
28132
- updatedAt: z.ZodString;
28133
28131
  description: z.ZodNullable<z.ZodString>;
28134
28132
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28133
+ createdAt: z.ZodString;
28134
+ updatedAt: z.ZodString;
28135
28135
  contextConfigId: z.ZodNullable<z.ZodString>;
28136
28136
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28137
28137
  createdAt: z.ZodString;
@@ -28181,10 +28181,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28181
28181
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28182
28182
  id: z.ZodString;
28183
28183
  name: z.ZodString;
28184
- createdAt: z.ZodString;
28185
- updatedAt: z.ZodString;
28186
28184
  description: z.ZodNullable<z.ZodString>;
28187
28185
  agentId: z.ZodString;
28186
+ createdAt: z.ZodString;
28187
+ updatedAt: z.ZodString;
28188
28188
  functionId: z.ZodString;
28189
28189
  relationshipId: z.ZodOptional<z.ZodString>;
28190
28190
  }, z.core.$strip>>>;
@@ -28260,9 +28260,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28260
28260
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28261
28261
  id: z.ZodString;
28262
28262
  name: z.ZodString;
28263
- createdAt: z.ZodString;
28264
- updatedAt: z.ZodString;
28265
28263
  description: z.ZodNullable<z.ZodString>;
28264
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28266
28265
  models: z.ZodNullable<z.ZodType<{
28267
28266
  base?: {
28268
28267
  model?: string | undefined;
@@ -28325,7 +28324,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28325
28324
  }, {
28326
28325
  stepCountIs?: number | undefined;
28327
28326
  }>>>;
28328
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28327
+ createdAt: z.ZodString;
28328
+ updatedAt: z.ZodString;
28329
28329
  type: z.ZodLiteral<"internal">;
28330
28330
  canUse: z.ZodArray<z.ZodObject<{
28331
28331
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28365,8 +28365,6 @@ declare const ProjectResponse: z.ZodObject<{
28365
28365
  data: z.ZodObject<{
28366
28366
  id: z.ZodString;
28367
28367
  name: z.ZodString;
28368
- createdAt: z.ZodString;
28369
- updatedAt: z.ZodString;
28370
28368
  description: z.ZodNullable<z.ZodString>;
28371
28369
  models: z.ZodNullable<z.ZodObject<{
28372
28370
  base: z.ZodObject<{
@@ -28386,6 +28384,8 @@ declare const ProjectResponse: z.ZodObject<{
28386
28384
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28387
28385
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28388
28386
  }, z.core.$strip>>;
28387
+ createdAt: z.ZodString;
28388
+ updatedAt: z.ZodString;
28389
28389
  }, {
28390
28390
  out: {};
28391
28391
  in: {};
@@ -28626,10 +28626,10 @@ declare const ApiKeyResponse: z.ZodObject<{
28626
28626
  data: z.ZodObject<{
28627
28627
  id: z.ZodString;
28628
28628
  name: z.ZodNullable<z.ZodString>;
28629
+ agentId: z.ZodString;
28629
28630
  createdAt: z.ZodString;
28630
28631
  updatedAt: z.ZodString;
28631
28632
  expiresAt: z.ZodNullable<z.ZodString>;
28632
- agentId: z.ZodString;
28633
28633
  publicId: z.ZodString;
28634
28634
  keyPrefix: z.ZodString;
28635
28635
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -28644,11 +28644,11 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28644
28644
  name: z.ZodString;
28645
28645
  createdAt: z.ZodString;
28646
28646
  updatedAt: z.ZodString;
28647
+ toolId: z.ZodNullable<z.ZodString>;
28647
28648
  userId: z.ZodNullable<z.ZodString>;
28649
+ createdBy: z.ZodNullable<z.ZodString>;
28648
28650
  credentialStoreId: z.ZodString;
28649
28651
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28650
- toolId: z.ZodNullable<z.ZodString>;
28651
- createdBy: z.ZodNullable<z.ZodString>;
28652
28652
  type: z.ZodEnum<{
28653
28653
  readonly memory: "memory";
28654
28654
  readonly keychain: "keychain";
@@ -29247,10 +29247,10 @@ declare const FunctionToolResponse: z.ZodObject<{
29247
29247
  data: z.ZodObject<{
29248
29248
  id: z.ZodString;
29249
29249
  name: z.ZodString;
29250
- createdAt: z.ZodString;
29251
- updatedAt: z.ZodString;
29252
29250
  description: z.ZodNullable<z.ZodString>;
29253
29251
  agentId: z.ZodString;
29252
+ createdAt: z.ZodString;
29253
+ updatedAt: z.ZodString;
29254
29254
  functionId: z.ZodString;
29255
29255
  relationshipId: z.ZodOptional<z.ZodString>;
29256
29256
  }, z.core.$strip>;
@@ -29433,8 +29433,8 @@ declare const TriggerResponse: z.ZodObject<{
29433
29433
  signature: z.ZodObject<{
29434
29434
  source: z.ZodEnum<{
29435
29435
  query: "query";
29436
- body: "body";
29437
29436
  header: "header";
29437
+ body: "body";
29438
29438
  }>;
29439
29439
  key: z.ZodString;
29440
29440
  prefix: z.ZodOptional<z.ZodString>;
@@ -29443,8 +29443,8 @@ declare const TriggerResponse: z.ZodObject<{
29443
29443
  signedComponents: z.ZodArray<z.ZodObject<{
29444
29444
  source: z.ZodEnum<{
29445
29445
  literal: "literal";
29446
- body: "body";
29447
29446
  header: "header";
29447
+ body: "body";
29448
29448
  }>;
29449
29449
  key: z.ZodOptional<z.ZodString>;
29450
29450
  value: z.ZodOptional<z.ZodString>;
@@ -29484,8 +29484,6 @@ declare const ProjectListResponse: z.ZodObject<{
29484
29484
  data: z.ZodArray<z.ZodObject<{
29485
29485
  id: z.ZodString;
29486
29486
  name: z.ZodString;
29487
- createdAt: z.ZodString;
29488
- updatedAt: z.ZodString;
29489
29487
  description: z.ZodNullable<z.ZodString>;
29490
29488
  models: z.ZodNullable<z.ZodObject<{
29491
29489
  base: z.ZodObject<{
@@ -29505,6 +29503,8 @@ declare const ProjectListResponse: z.ZodObject<{
29505
29503
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29506
29504
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29507
29505
  }, z.core.$strip>>;
29506
+ createdAt: z.ZodString;
29507
+ updatedAt: z.ZodString;
29508
29508
  }, {
29509
29509
  out: {};
29510
29510
  in: {};
@@ -29775,10 +29775,10 @@ declare const ApiKeyListResponse: z.ZodObject<{
29775
29775
  data: z.ZodArray<z.ZodObject<{
29776
29776
  id: z.ZodString;
29777
29777
  name: z.ZodNullable<z.ZodString>;
29778
+ agentId: z.ZodString;
29778
29779
  createdAt: z.ZodString;
29779
29780
  updatedAt: z.ZodString;
29780
29781
  expiresAt: z.ZodNullable<z.ZodString>;
29781
- agentId: z.ZodString;
29782
29782
  publicId: z.ZodString;
29783
29783
  keyPrefix: z.ZodString;
29784
29784
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -29799,11 +29799,11 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29799
29799
  name: z.ZodString;
29800
29800
  createdAt: z.ZodString;
29801
29801
  updatedAt: z.ZodString;
29802
+ toolId: z.ZodNullable<z.ZodString>;
29802
29803
  userId: z.ZodNullable<z.ZodString>;
29804
+ createdBy: z.ZodNullable<z.ZodString>;
29803
29805
  credentialStoreId: z.ZodString;
29804
29806
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29805
- toolId: z.ZodNullable<z.ZodString>;
29806
- createdBy: z.ZodNullable<z.ZodString>;
29807
29807
  type: z.ZodEnum<{
29808
29808
  readonly memory: "memory";
29809
29809
  readonly keychain: "keychain";
@@ -30414,10 +30414,10 @@ declare const FunctionToolListResponse: z.ZodObject<{
30414
30414
  data: z.ZodArray<z.ZodObject<{
30415
30415
  id: z.ZodString;
30416
30416
  name: z.ZodString;
30417
- createdAt: z.ZodString;
30418
- updatedAt: z.ZodString;
30419
30417
  description: z.ZodNullable<z.ZodString>;
30420
30418
  agentId: z.ZodString;
30419
+ createdAt: z.ZodString;
30420
+ updatedAt: z.ZodString;
30421
30421
  functionId: z.ZodString;
30422
30422
  relationshipId: z.ZodOptional<z.ZodString>;
30423
30423
  }, z.core.$strip>>;
@@ -30668,8 +30668,8 @@ declare const TriggerListResponse: z.ZodObject<{
30668
30668
  signature: z.ZodObject<{
30669
30669
  source: z.ZodEnum<{
30670
30670
  query: "query";
30671
- body: "body";
30672
30671
  header: "header";
30672
+ body: "body";
30673
30673
  }>;
30674
30674
  key: z.ZodString;
30675
30675
  prefix: z.ZodOptional<z.ZodString>;
@@ -30678,8 +30678,8 @@ declare const TriggerListResponse: z.ZodObject<{
30678
30678
  signedComponents: z.ZodArray<z.ZodObject<{
30679
30679
  source: z.ZodEnum<{
30680
30680
  literal: "literal";
30681
- body: "body";
30682
30681
  header: "header";
30682
+ body: "body";
30683
30683
  }>;
30684
30684
  key: z.ZodOptional<z.ZodString>;
30685
30685
  value: z.ZodOptional<z.ZodString>;
@@ -30731,9 +30731,9 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30731
30731
  data: z.ZodObject<{
30732
30732
  id: z.ZodString;
30733
30733
  name: z.ZodString;
30734
+ description: z.ZodNullable<z.ZodString>;
30734
30735
  createdAt: z.ZodString;
30735
30736
  updatedAt: z.ZodString;
30736
- description: z.ZodNullable<z.ZodString>;
30737
30737
  enabled: z.ZodBoolean;
30738
30738
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30739
30739
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -30755,8 +30755,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30755
30755
  signature: z.ZodObject<{
30756
30756
  source: z.ZodEnum<{
30757
30757
  query: "query";
30758
- body: "body";
30759
30758
  header: "header";
30759
+ body: "body";
30760
30760
  }>;
30761
30761
  key: z.ZodString;
30762
30762
  prefix: z.ZodOptional<z.ZodString>;
@@ -30765,8 +30765,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30765
30765
  signedComponents: z.ZodArray<z.ZodObject<{
30766
30766
  source: z.ZodEnum<{
30767
30767
  literal: "literal";
30768
- body: "body";
30769
30768
  header: "header";
30769
+ body: "body";
30770
30770
  }>;
30771
30771
  key: z.ZodOptional<z.ZodString>;
30772
30772
  value: z.ZodOptional<z.ZodString>;
@@ -30792,9 +30792,9 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30792
30792
  data: z.ZodArray<z.ZodObject<{
30793
30793
  id: z.ZodString;
30794
30794
  name: z.ZodString;
30795
+ description: z.ZodNullable<z.ZodString>;
30795
30796
  createdAt: z.ZodString;
30796
30797
  updatedAt: z.ZodString;
30797
- description: z.ZodNullable<z.ZodString>;
30798
30798
  enabled: z.ZodBoolean;
30799
30799
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30800
30800
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -30816,8 +30816,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30816
30816
  signature: z.ZodObject<{
30817
30817
  source: z.ZodEnum<{
30818
30818
  query: "query";
30819
- body: "body";
30820
30819
  header: "header";
30820
+ body: "body";
30821
30821
  }>;
30822
30822
  key: z.ZodString;
30823
30823
  prefix: z.ZodOptional<z.ZodString>;
@@ -30826,8 +30826,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30826
30826
  signedComponents: z.ZodArray<z.ZodObject<{
30827
30827
  source: z.ZodEnum<{
30828
30828
  literal: "literal";
30829
- body: "body";
30830
30829
  header: "header";
30830
+ body: "body";
30831
30831
  }>;
30832
30832
  key: z.ZodOptional<z.ZodString>;
30833
30833
  value: z.ZodOptional<z.ZodString>;
@@ -30858,9 +30858,9 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30858
30858
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30859
30859
  id: z.ZodString;
30860
30860
  name: z.ZodString;
30861
+ description: z.ZodNullable<z.ZodString>;
30861
30862
  createdAt: z.ZodString;
30862
30863
  updatedAt: z.ZodString;
30863
- description: z.ZodNullable<z.ZodString>;
30864
30864
  enabled: z.ZodBoolean;
30865
30865
  messageTemplate: z.ZodNullable<z.ZodString>;
30866
30866
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -30931,9 +30931,9 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30931
30931
  data: z.ZodArray<z.ZodObject<{
30932
30932
  id: z.ZodString;
30933
30933
  name: z.ZodString;
30934
+ description: z.ZodNullable<z.ZodString>;
30934
30935
  createdAt: z.ZodString;
30935
30936
  updatedAt: z.ZodString;
30936
- description: z.ZodNullable<z.ZodString>;
30937
30937
  enabled: z.ZodBoolean;
30938
30938
  messageTemplate: z.ZodNullable<z.ZodString>;
30939
30939
  cronExpression: z.ZodNullable<z.ZodString>;
@@ -31088,10 +31088,10 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31088
31088
  data: z.ZodArray<z.ZodObject<{
31089
31089
  id: z.ZodString;
31090
31090
  name: z.ZodString;
31091
+ description: z.ZodString;
31091
31092
  createdAt: z.ZodString;
31092
31093
  updatedAt: z.ZodString;
31093
31094
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31094
- description: z.ZodString;
31095
31095
  content: z.ZodString;
31096
31096
  subAgentSkillId: z.ZodString;
31097
31097
  subAgentId: z.ZodString;
@@ -31124,18 +31124,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31124
31124
  }, z.core.$strip>>;
31125
31125
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31126
31126
  name: z.ZodString;
31127
- createdAt: z.ZodOptional<z.ZodString>;
31128
- updatedAt: z.ZodOptional<z.ZodString>;
31129
31127
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31130
31128
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31129
+ createdAt: z.ZodOptional<z.ZodString>;
31130
+ updatedAt: z.ZodOptional<z.ZodString>;
31131
31131
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31132
31132
  id: z.ZodString;
31133
31133
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31134
31134
  id: z.ZodString;
31135
31135
  name: z.ZodString;
31136
- createdAt: z.ZodOptional<z.ZodString>;
31137
- updatedAt: z.ZodOptional<z.ZodString>;
31138
31136
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31137
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31139
31138
  models: z.ZodOptional<z.ZodObject<{
31140
31139
  base: z.ZodOptional<z.ZodObject<{
31141
31140
  model: z.ZodOptional<z.ZodString>;
@@ -31150,7 +31149,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31150
31149
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31151
31150
  }, z.core.$strip>>;
31152
31151
  }, z.core.$strip>>;
31153
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31152
+ createdAt: z.ZodOptional<z.ZodString>;
31153
+ updatedAt: z.ZodOptional<z.ZodString>;
31154
31154
  type: z.ZodLiteral<"internal">;
31155
31155
  canUse: z.ZodArray<z.ZodObject<{
31156
31156
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31262,9 +31262,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31262
31262
  }, z.core.$strip>>>;
31263
31263
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31264
31264
  name: z.ZodString;
31265
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31265
31266
  createdAt: z.ZodOptional<z.ZodString>;
31266
31267
  updatedAt: z.ZodOptional<z.ZodString>;
31267
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31268
31268
  enabled: z.ZodOptional<z.ZodBoolean>;
31269
31269
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31270
31270
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -31276,9 +31276,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31276
31276
  }, z.core.$strip>>>;
31277
31277
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31278
31278
  name: z.ZodString;
31279
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31279
31280
  createdAt: z.ZodOptional<z.ZodString>;
31280
31281
  updatedAt: z.ZodOptional<z.ZodString>;
31281
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31282
31282
  enabled: z.ZodOptional<z.ZodBoolean>;
31283
31283
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31284
31284
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31392,10 +31392,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31392
31392
  }, z.core.$strip>>>;
31393
31393
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31394
31394
  name: z.ZodString;
31395
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31396
31395
  description: z.ZodString;
31397
31396
  tenantId: z.ZodString;
31398
31397
  projectId: z.ZodString;
31398
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31399
31399
  content: z.ZodString;
31400
31400
  }>, z.core.$strip>>>;
31401
31401
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -31484,11 +31484,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31484
31484
  name: z.ZodString;
31485
31485
  createdAt: z.ZodOptional<z.ZodString>;
31486
31486
  updatedAt: z.ZodOptional<z.ZodString>;
31487
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31487
31488
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31489
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31488
31490
  credentialStoreId: z.ZodString;
31489
31491
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31490
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31491
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31492
31492
  type: z.ZodEnum<{
31493
31493
  readonly memory: "memory";
31494
31494
  readonly keychain: "keychain";
@@ -31506,8 +31506,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31506
31506
  data: z.ZodObject<{
31507
31507
  id: z.ZodString;
31508
31508
  name: z.ZodString;
31509
- createdAt: z.ZodString;
31510
- updatedAt: z.ZodString;
31511
31509
  description: z.ZodNullable<z.ZodString>;
31512
31510
  models: z.ZodNullable<z.ZodObject<{
31513
31511
  base: z.ZodObject<{
@@ -31527,20 +31525,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31527
31525
  transferCountIs: z.ZodOptional<z.ZodNumber>;
31528
31526
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31529
31527
  }, z.core.$strip>>;
31528
+ createdAt: z.ZodString;
31529
+ updatedAt: z.ZodString;
31530
31530
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31531
31531
  id: z.ZodString;
31532
31532
  name: z.ZodString;
31533
- createdAt: z.ZodString;
31534
- updatedAt: z.ZodString;
31535
31533
  description: z.ZodNullable<z.ZodString>;
31536
31534
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
31535
+ createdAt: z.ZodString;
31536
+ updatedAt: z.ZodString;
31537
31537
  contextConfigId: z.ZodNullable<z.ZodString>;
31538
31538
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31539
31539
  id: z.ZodString;
31540
31540
  name: z.ZodString;
31541
- createdAt: z.ZodString;
31542
- updatedAt: z.ZodString;
31543
31541
  description: z.ZodNullable<z.ZodString>;
31542
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31544
31543
  models: z.ZodNullable<z.ZodType<{
31545
31544
  base?: {
31546
31545
  model?: string | undefined;
@@ -31603,7 +31602,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31603
31602
  }, {
31604
31603
  stepCountIs?: number | undefined;
31605
31604
  }>>>;
31606
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31605
+ createdAt: z.ZodString;
31606
+ updatedAt: z.ZodString;
31607
31607
  type: z.ZodLiteral<"internal">;
31608
31608
  canUse: z.ZodArray<z.ZodObject<{
31609
31609
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31676,10 +31676,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31676
31676
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31677
31677
  id: z.ZodString;
31678
31678
  name: z.ZodString;
31679
- createdAt: z.ZodString;
31680
- updatedAt: z.ZodString;
31681
31679
  description: z.ZodNullable<z.ZodString>;
31682
31680
  agentId: z.ZodString;
31681
+ createdAt: z.ZodString;
31682
+ updatedAt: z.ZodString;
31683
31683
  functionId: z.ZodString;
31684
31684
  relationshipId: z.ZodOptional<z.ZodString>;
31685
31685
  }, z.core.$strip>>>;
@@ -31785,10 +31785,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31785
31785
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31786
31786
  id: z.ZodString;
31787
31787
  name: z.ZodString;
31788
- createdAt: z.ZodString;
31789
- updatedAt: z.ZodString;
31790
31788
  description: z.ZodNullable<z.ZodString>;
31791
31789
  agentId: z.ZodString;
31790
+ createdAt: z.ZodString;
31791
+ updatedAt: z.ZodString;
31792
31792
  functionId: z.ZodString;
31793
31793
  relationshipId: z.ZodOptional<z.ZodString>;
31794
31794
  }, z.core.$strip>>>;
@@ -31935,11 +31935,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31935
31935
  name: z.ZodString;
31936
31936
  createdAt: z.ZodString;
31937
31937
  updatedAt: z.ZodString;
31938
+ toolId: z.ZodNullable<z.ZodString>;
31938
31939
  userId: z.ZodNullable<z.ZodString>;
31940
+ createdBy: z.ZodNullable<z.ZodString>;
31939
31941
  credentialStoreId: z.ZodString;
31940
31942
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31941
- toolId: z.ZodNullable<z.ZodString>;
31942
- createdBy: z.ZodNullable<z.ZodString>;
31943
31943
  type: z.ZodEnum<{
31944
31944
  readonly memory: "memory";
31945
31945
  readonly keychain: "keychain";
@@ -32530,8 +32530,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32530
32530
  data: z.ZodObject<{
32531
32531
  id: z.ZodString;
32532
32532
  name: z.ZodString;
32533
- createdAt: z.ZodString;
32534
- updatedAt: z.ZodString;
32535
32533
  description: z.ZodNullable<z.ZodString>;
32536
32534
  models: z.ZodNullable<z.ZodObject<{
32537
32535
  base: z.ZodObject<{
@@ -32551,6 +32549,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32551
32549
  transferCountIs: z.ZodOptional<z.ZodNumber>;
32552
32550
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32553
32551
  }, z.core.$strip>>;
32552
+ createdAt: z.ZodString;
32553
+ updatedAt: z.ZodString;
32554
32554
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32555
32555
  createdAt: z.ZodString;
32556
32556
  updatedAt: z.ZodString;
@@ -32583,10 +32583,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32583
32583
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32584
32584
  id: z.ZodString;
32585
32585
  name: z.ZodString;
32586
- createdAt: z.ZodString;
32587
- updatedAt: z.ZodString;
32588
32586
  description: z.ZodNullable<z.ZodString>;
32589
32587
  agentId: z.ZodString;
32588
+ createdAt: z.ZodString;
32589
+ updatedAt: z.ZodString;
32590
32590
  functionId: z.ZodString;
32591
32591
  relationshipId: z.ZodOptional<z.ZodString>;
32592
32592
  }, z.core.$strip>>>;
@@ -32733,11 +32733,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32733
32733
  name: z.ZodString;
32734
32734
  createdAt: z.ZodString;
32735
32735
  updatedAt: z.ZodString;
32736
+ toolId: z.ZodNullable<z.ZodString>;
32736
32737
  userId: z.ZodNullable<z.ZodString>;
32738
+ createdBy: z.ZodNullable<z.ZodString>;
32737
32739
  credentialStoreId: z.ZodString;
32738
32740
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32739
- toolId: z.ZodNullable<z.ZodString>;
32740
- createdBy: z.ZodNullable<z.ZodString>;
32741
32741
  type: z.ZodEnum<{
32742
32742
  readonly memory: "memory";
32743
32743
  readonly keychain: "keychain";
@@ -33322,10 +33322,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33322
33322
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33323
33323
  id: z.ZodString;
33324
33324
  name: z.ZodString;
33325
- createdAt: z.ZodString;
33326
- updatedAt: z.ZodString;
33327
33325
  description: z.ZodNullable<z.ZodString>;
33328
33326
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
33327
+ createdAt: z.ZodString;
33328
+ updatedAt: z.ZodString;
33329
33329
  contextConfigId: z.ZodNullable<z.ZodString>;
33330
33330
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33331
33331
  createdAt: z.ZodString;
@@ -33375,10 +33375,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33375
33375
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33376
33376
  id: z.ZodString;
33377
33377
  name: z.ZodString;
33378
- createdAt: z.ZodString;
33379
- updatedAt: z.ZodString;
33380
33378
  description: z.ZodNullable<z.ZodString>;
33381
33379
  agentId: z.ZodString;
33380
+ createdAt: z.ZodString;
33381
+ updatedAt: z.ZodString;
33382
33382
  functionId: z.ZodString;
33383
33383
  relationshipId: z.ZodOptional<z.ZodString>;
33384
33384
  }, z.core.$strip>>>;
@@ -33454,9 +33454,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33454
33454
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33455
33455
  id: z.ZodString;
33456
33456
  name: z.ZodString;
33457
- createdAt: z.ZodString;
33458
- updatedAt: z.ZodString;
33459
33457
  description: z.ZodNullable<z.ZodString>;
33458
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33460
33459
  models: z.ZodNullable<z.ZodType<{
33461
33460
  base?: {
33462
33461
  model?: string | undefined;
@@ -33519,7 +33518,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33519
33518
  }, {
33520
33519
  stepCountIs?: number | undefined;
33521
33520
  }>>>;
33522
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33521
+ createdAt: z.ZodString;
33522
+ updatedAt: z.ZodString;
33523
33523
  type: z.ZodLiteral<"internal">;
33524
33524
  canUse: z.ZodArray<z.ZodObject<{
33525
33525
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33559,18 +33559,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33559
33559
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33560
33560
  data: z.ZodObject<{
33561
33561
  name: z.ZodString;
33562
- createdAt: z.ZodOptional<z.ZodString>;
33563
- updatedAt: z.ZodOptional<z.ZodString>;
33564
33562
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33565
33563
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33564
+ createdAt: z.ZodOptional<z.ZodString>;
33565
+ updatedAt: z.ZodOptional<z.ZodString>;
33566
33566
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33567
33567
  id: z.ZodString;
33568
33568
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33569
33569
  id: z.ZodString;
33570
33570
  name: z.ZodString;
33571
- createdAt: z.ZodOptional<z.ZodString>;
33572
- updatedAt: z.ZodOptional<z.ZodString>;
33573
33571
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33572
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33574
33573
  models: z.ZodOptional<z.ZodObject<{
33575
33574
  base: z.ZodOptional<z.ZodObject<{
33576
33575
  model: z.ZodOptional<z.ZodString>;
@@ -33585,7 +33584,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33585
33584
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
33586
33585
  }, z.core.$strip>>;
33587
33586
  }, z.core.$strip>>;
33588
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33587
+ createdAt: z.ZodOptional<z.ZodString>;
33588
+ updatedAt: z.ZodOptional<z.ZodString>;
33589
33589
  type: z.ZodLiteral<"internal">;
33590
33590
  canUse: z.ZodArray<z.ZodObject<{
33591
33591
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33697,9 +33697,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33697
33697
  }, z.core.$strip>>>;
33698
33698
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33699
33699
  name: z.ZodString;
33700
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33700
33701
  createdAt: z.ZodOptional<z.ZodString>;
33701
33702
  updatedAt: z.ZodOptional<z.ZodString>;
33702
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33703
33703
  enabled: z.ZodOptional<z.ZodBoolean>;
33704
33704
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33705
33705
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -33711,9 +33711,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33711
33711
  }, z.core.$strip>>>;
33712
33712
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33713
33713
  name: z.ZodString;
33714
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33714
33715
  createdAt: z.ZodOptional<z.ZodString>;
33715
33716
  updatedAt: z.ZodOptional<z.ZodString>;
33716
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33717
33717
  enabled: z.ZodOptional<z.ZodBoolean>;
33718
33718
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33719
33719
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33769,17 +33769,16 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33769
33769
  data: z.ZodObject<{
33770
33770
  id: z.ZodString;
33771
33771
  name: z.ZodString;
33772
- createdAt: z.ZodString;
33773
- updatedAt: z.ZodString;
33774
33772
  description: z.ZodNullable<z.ZodString>;
33775
33773
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
33774
+ createdAt: z.ZodString;
33775
+ updatedAt: z.ZodString;
33776
33776
  contextConfigId: z.ZodNullable<z.ZodString>;
33777
33777
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33778
33778
  id: z.ZodString;
33779
33779
  name: z.ZodString;
33780
- createdAt: z.ZodString;
33781
- updatedAt: z.ZodString;
33782
33780
  description: z.ZodNullable<z.ZodString>;
33781
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33783
33782
  models: z.ZodNullable<z.ZodType<{
33784
33783
  base?: {
33785
33784
  model?: string | undefined;
@@ -33842,7 +33841,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33842
33841
  }, {
33843
33842
  stepCountIs?: number | undefined;
33844
33843
  }>>>;
33845
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33844
+ createdAt: z.ZodString;
33845
+ updatedAt: z.ZodString;
33846
33846
  type: z.ZodLiteral<"internal">;
33847
33847
  canUse: z.ZodArray<z.ZodObject<{
33848
33848
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33915,10 +33915,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33915
33915
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33916
33916
  id: z.ZodString;
33917
33917
  name: z.ZodString;
33918
- createdAt: z.ZodString;
33919
- updatedAt: z.ZodString;
33920
33918
  description: z.ZodNullable<z.ZodString>;
33921
33919
  agentId: z.ZodString;
33920
+ createdAt: z.ZodString;
33921
+ updatedAt: z.ZodString;
33922
33922
  functionId: z.ZodString;
33923
33923
  relationshipId: z.ZodOptional<z.ZodString>;
33924
33924
  }, z.core.$strip>>>;
@@ -34626,8 +34626,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
34626
34626
  disconnected: "disconnected";
34627
34627
  }>;
34628
34628
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34629
- Organization: "Organization";
34630
34629
  User: "User";
34630
+ Organization: "Organization";
34631
34631
  }>;
34632
34632
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
34633
34633
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -34722,7 +34722,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
34722
34722
  tableName: "work_app_github_installations";
34723
34723
  dataType: "string";
34724
34724
  columnType: "PgVarchar";
34725
- data: "Organization" | "User";
34725
+ data: "User" | "Organization";
34726
34726
  driverParam: string;
34727
34727
  notNull: true;
34728
34728
  hasDefault: false;
@@ -34735,7 +34735,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
34735
34735
  generated: undefined;
34736
34736
  }, {}, {
34737
34737
  length: 20;
34738
- $type: "Organization" | "User";
34738
+ $type: "User" | "Organization";
34739
34739
  }>;
34740
34740
  status: drizzle_orm_pg_core217.PgColumn<{
34741
34741
  name: "status";
@@ -34888,7 +34888,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
34888
34888
  tableName: "work_app_github_installations";
34889
34889
  dataType: "string";
34890
34890
  columnType: "PgVarchar";
34891
- data: "Organization" | "User";
34891
+ data: "User" | "Organization";
34892
34892
  driverParam: string;
34893
34893
  notNull: true;
34894
34894
  hasDefault: false;
@@ -34901,7 +34901,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
34901
34901
  generated: undefined;
34902
34902
  }, {}, {
34903
34903
  length: 20;
34904
- $type: "Organization" | "User";
34904
+ $type: "User" | "Organization";
34905
34905
  }>;
34906
34906
  status: drizzle_orm_pg_core217.PgColumn<{
34907
34907
  name: "status";
@@ -34964,13 +34964,13 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
34964
34964
  }, undefined>, undefined>;
34965
34965
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
34966
34966
  id: z.ZodString;
34967
- accountId: z.ZodString;
34968
34967
  tenantId: z.ZodString;
34968
+ accountId: z.ZodString;
34969
34969
  installationId: z.ZodString;
34970
34970
  accountLogin: z.ZodString;
34971
34971
  accountType: z.ZodEnum<{
34972
- Organization: "Organization";
34973
34972
  User: "User";
34973
+ Organization: "Organization";
34974
34974
  }>;
34975
34975
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
34976
34976
  pending: "pending";
@@ -34995,13 +34995,13 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
34995
34995
  }>, z.core.$strip>;
34996
34996
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
34997
34997
  id: z.ZodString;
34998
- accountId: z.ZodString;
34999
34998
  tenantId: z.ZodString;
34999
+ accountId: z.ZodString;
35000
35000
  installationId: z.ZodString;
35001
35001
  accountLogin: z.ZodString;
35002
35002
  accountType: z.ZodEnum<{
35003
- Organization: "Organization";
35004
35003
  User: "User";
35004
+ Organization: "Organization";
35005
35005
  }>;
35006
35006
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35007
35007
  pending: "pending";