@inkeep/agents-core 0.0.0-dev-20260402165145 → 0.0.0-dev-20260402223924

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/auth/auth-schema.d.ts +86 -86
  2. package/dist/auth/auth-validation-schemas.d.ts +137 -137
  3. package/dist/auth/auth.d.ts +6 -6
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/constants/otel-attributes.d.ts +5 -0
  6. package/dist/constants/otel-attributes.js +7 -2
  7. package/dist/constants/signoz-queries.d.ts +1 -0
  8. package/dist/constants/signoz-queries.js +2 -1
  9. package/dist/data-access/manage/agents.d.ts +32 -32
  10. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  11. package/dist/data-access/manage/contextConfigs.d.ts +4 -4
  12. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  13. package/dist/data-access/manage/functionTools.d.ts +6 -6
  14. package/dist/data-access/manage/skills.d.ts +5 -5
  15. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  16. package/dist/data-access/manage/subAgentRelations.d.ts +16 -16
  17. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  18. package/dist/data-access/manage/subAgents.d.ts +12 -12
  19. package/dist/data-access/manage/tools.d.ts +18 -18
  20. package/dist/data-access/manage/triggers.d.ts +2 -2
  21. package/dist/data-access/runtime/apiKeys.d.ts +4 -4
  22. package/dist/data-access/runtime/apps.d.ts +12 -12
  23. package/dist/data-access/runtime/conversations.d.ts +4 -4
  24. package/dist/data-access/runtime/messages.d.ts +6 -6
  25. package/dist/data-access/runtime/tasks.d.ts +1 -1
  26. package/dist/db/manage/manage-schema.d.ts +4 -4
  27. package/dist/db/runtime/runtime-schema.d.ts +346 -346
  28. package/dist/utils/retry-client.d.ts +8 -0
  29. package/dist/utils/retry-client.js +29 -0
  30. package/dist/utils/work-app-mcp.js +1 -2
  31. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  32. package/dist/validation/schemas/skills.d.ts +24 -24
  33. package/dist/validation/schemas.d.ts +386 -386
  34. package/package.json +5 -1
@@ -821,6 +821,7 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
821
821
  allowedProviders?: string[] | undefined;
822
822
  } | undefined;
823
823
  }>>>;
824
+ prompt: z.ZodNullable<z.ZodString>;
824
825
  stopWhen: z.ZodNullable<z.ZodType<{
825
826
  stepCountIs?: number | undefined;
826
827
  }, {
@@ -830,7 +831,6 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
830
831
  }, {
831
832
  stepCountIs?: number | undefined;
832
833
  }>>>;
833
- prompt: z.ZodNullable<z.ZodString>;
834
834
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
835
835
  }, z.core.$strip>;
836
836
  declare const SubAgentApiInsertSchema: z.ZodObject<{
@@ -859,6 +859,7 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
859
859
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
860
860
  }, z.core.$strip>>;
861
861
  }, z.core.$strip>>;
862
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
862
863
  stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
863
864
  stepCountIs?: number | undefined;
864
865
  }, {
@@ -868,7 +869,6 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
868
869
  }, {
869
870
  stepCountIs?: number | undefined;
870
871
  }>>>>;
871
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
872
872
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
873
873
  }, z.core.$strip>;
874
874
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
@@ -897,6 +897,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
897
897
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
898
898
  }, z.core.$strip>>;
899
899
  }, z.core.$strip>>>>;
900
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
900
901
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
901
902
  stepCountIs?: number | undefined;
902
903
  }, {
@@ -906,7 +907,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
906
907
  }, {
907
908
  stepCountIs?: number | undefined;
908
909
  }>>>>>>;
909
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
910
910
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
911
911
  }, z.core.$strip>;
912
912
  declare const SubAgentRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -1282,9 +1282,9 @@ declare const SubAgentRelationApiSelectSchema: z.ZodObject<{
1282
1282
  id: z.ZodString;
1283
1283
  createdAt: z.ZodString;
1284
1284
  updatedAt: z.ZodString;
1285
+ relationType: z.ZodNullable<z.ZodString>;
1285
1286
  sourceSubAgentId: z.ZodString;
1286
1287
  targetSubAgentId: z.ZodNullable<z.ZodString>;
1287
- relationType: z.ZodNullable<z.ZodString>;
1288
1288
  }, z.core.$strip>;
1289
1289
  declare const SubAgentRelationApiInsertSchema: z.ZodObject<{
1290
1290
  id: z.ZodString;
@@ -1338,9 +1338,9 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1338
1338
  createdAt: z.ZodOptional<z.ZodString>;
1339
1339
  updatedAt: z.ZodOptional<z.ZodString>;
1340
1340
  agentId: z.ZodString;
1341
+ relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1341
1342
  sourceSubAgentId: z.ZodString;
1342
1343
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1343
- relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1344
1344
  externalSubAgentId: z.ZodString;
1345
1345
  }, z.core.$strip>;
1346
1346
  declare const AgentSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -2664,7 +2664,7 @@ declare const AgentInsertSchema: drizzle_zod21.BuildSchema<"insert", {
2664
2664
  }, {}, {
2665
2665
  length: 256;
2666
2666
  }>;
2667
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "projectId" | "tenantId" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2667
+ }, "id" | "name" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "description" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen" | "executionMode">, undefined>, undefined>;
2668
2668
  declare const AgentUpdateSchema: z.ZodObject<{
2669
2669
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2670
2670
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2830,6 +2830,8 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2830
2830
  createdAt: z.ZodString;
2831
2831
  updatedAt: z.ZodString;
2832
2832
  description: z.ZodNullable<z.ZodString>;
2833
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
2834
+ contextConfigId: z.ZodNullable<z.ZodString>;
2833
2835
  models: z.ZodNullable<z.ZodType<{
2834
2836
  base?: {
2835
2837
  model?: string | undefined;
@@ -2907,17 +2909,6 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2907
2909
  allowedProviders?: string[] | undefined;
2908
2910
  } | undefined;
2909
2911
  }>>>;
2910
- stopWhen: z.ZodNullable<z.ZodType<{
2911
- transferCountIs?: number | undefined;
2912
- }, {
2913
- transferCountIs?: number | undefined;
2914
- }, z.core.$ZodTypeInternals<{
2915
- transferCountIs?: number | undefined;
2916
- }, {
2917
- transferCountIs?: number | undefined;
2918
- }>>>;
2919
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
2920
- contextConfigId: z.ZodNullable<z.ZodString>;
2921
2912
  prompt: z.ZodNullable<z.ZodString>;
2922
2913
  statusUpdates: z.ZodNullable<z.ZodType<{
2923
2914
  enabled?: boolean | undefined;
@@ -2976,12 +2967,23 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2976
2967
  } | undefined;
2977
2968
  }[] | undefined;
2978
2969
  }>>>;
2970
+ stopWhen: z.ZodNullable<z.ZodType<{
2971
+ transferCountIs?: number | undefined;
2972
+ }, {
2973
+ transferCountIs?: number | undefined;
2974
+ }, z.core.$ZodTypeInternals<{
2975
+ transferCountIs?: number | undefined;
2976
+ }, {
2977
+ transferCountIs?: number | undefined;
2978
+ }>>>;
2979
2979
  executionMode: z.ZodString;
2980
2980
  }, z.core.$strip>;
2981
2981
  declare const AgentApiInsertSchema: z.ZodObject<{
2982
2982
  id: z.ZodString;
2983
2983
  name: z.ZodString;
2984
2984
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2985
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2986
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2985
2987
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2986
2988
  base?: {
2987
2989
  model?: string | undefined;
@@ -3059,17 +3061,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
3059
3061
  allowedProviders?: string[] | undefined;
3060
3062
  } | undefined;
3061
3063
  }>>>>;
3062
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
3063
- transferCountIs?: number | undefined;
3064
- }, {
3065
- transferCountIs?: number | undefined;
3066
- }, z.core.$ZodTypeInternals<{
3067
- transferCountIs?: number | undefined;
3068
- }, {
3069
- transferCountIs?: number | undefined;
3070
- }>>>>;
3071
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3072
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3073
3064
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3074
3065
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
3075
3066
  enabled?: boolean | undefined;
@@ -3128,11 +3119,22 @@ declare const AgentApiInsertSchema: z.ZodObject<{
3128
3119
  } | undefined;
3129
3120
  }[] | undefined;
3130
3121
  }>>>>;
3122
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
3123
+ transferCountIs?: number | undefined;
3124
+ }, {
3125
+ transferCountIs?: number | undefined;
3126
+ }, z.core.$ZodTypeInternals<{
3127
+ transferCountIs?: number | undefined;
3128
+ }, {
3129
+ transferCountIs?: number | undefined;
3130
+ }>>>>;
3131
3131
  executionMode: z.ZodOptional<z.ZodString>;
3132
3132
  }, z.core.$strip>;
3133
3133
  declare const AgentApiUpdateSchema: z.ZodObject<{
3134
3134
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3135
3135
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3136
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3137
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3136
3138
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3137
3139
  base?: {
3138
3140
  model?: string | undefined;
@@ -3210,17 +3212,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3210
3212
  allowedProviders?: string[] | undefined;
3211
3213
  } | undefined;
3212
3214
  }>>>>>>;
3213
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3214
- transferCountIs?: number | undefined;
3215
- }, {
3216
- transferCountIs?: number | undefined;
3217
- }, z.core.$ZodTypeInternals<{
3218
- transferCountIs?: number | undefined;
3219
- }, {
3220
- transferCountIs?: number | undefined;
3221
- }>>>>>>;
3222
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3223
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3224
3215
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3225
3216
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3226
3217
  enabled?: boolean | undefined;
@@ -3279,6 +3270,15 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3279
3270
  } | undefined;
3280
3271
  }[] | undefined;
3281
3272
  }>>>>>>;
3273
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3274
+ transferCountIs?: number | undefined;
3275
+ }, {
3276
+ transferCountIs?: number | undefined;
3277
+ }, z.core.$ZodTypeInternals<{
3278
+ transferCountIs?: number | undefined;
3279
+ }, {
3280
+ transferCountIs?: number | undefined;
3281
+ }>>>>>>;
3282
3282
  executionMode: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3283
3283
  }, z.core.$strip>;
3284
3284
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
@@ -3346,8 +3346,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3346
3346
  declare const SignatureSourceSchema: z.ZodObject<{
3347
3347
  source: z.ZodEnum<{
3348
3348
  query: "query";
3349
- body: "body";
3350
3349
  header: "header";
3350
+ body: "body";
3351
3351
  }>;
3352
3352
  key: z.ZodString;
3353
3353
  prefix: z.ZodOptional<z.ZodString>;
@@ -3376,8 +3376,8 @@ declare const SignatureSourceSchema: z.ZodObject<{
3376
3376
  declare const SignedComponentSchema: z.ZodObject<{
3377
3377
  source: z.ZodEnum<{
3378
3378
  literal: "literal";
3379
- body: "body";
3380
3379
  header: "header";
3380
+ body: "body";
3381
3381
  }>;
3382
3382
  key: z.ZodOptional<z.ZodString>;
3383
3383
  value: z.ZodOptional<z.ZodString>;
@@ -3486,8 +3486,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3486
3486
  signature: z.ZodObject<{
3487
3487
  source: z.ZodEnum<{
3488
3488
  query: "query";
3489
- body: "body";
3490
3489
  header: "header";
3490
+ body: "body";
3491
3491
  }>;
3492
3492
  key: z.ZodString;
3493
3493
  prefix: z.ZodOptional<z.ZodString>;
@@ -3496,8 +3496,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3496
3496
  signedComponents: z.ZodArray<z.ZodObject<{
3497
3497
  source: z.ZodEnum<{
3498
3498
  literal: "literal";
3499
- body: "body";
3500
3499
  header: "header";
3500
+ body: "body";
3501
3501
  }>;
3502
3502
  key: z.ZodOptional<z.ZodString>;
3503
3503
  value: z.ZodOptional<z.ZodString>;
@@ -3548,8 +3548,8 @@ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3548
3548
  */
3549
3549
  type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3550
3550
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3551
- success: "success";
3552
3551
  pending: "pending";
3552
+ success: "success";
3553
3553
  failed: "failed";
3554
3554
  }>;
3555
3555
  declare const TriggerSelectSchema: z.ZodObject<{
@@ -3582,8 +3582,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3582
3582
  signature: z.ZodObject<{
3583
3583
  source: z.ZodEnum<{
3584
3584
  query: "query";
3585
- body: "body";
3586
3585
  header: "header";
3586
+ body: "body";
3587
3587
  }>;
3588
3588
  key: z.ZodString;
3589
3589
  prefix: z.ZodOptional<z.ZodString>;
@@ -3592,8 +3592,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3592
3592
  signedComponents: z.ZodArray<z.ZodObject<{
3593
3593
  source: z.ZodEnum<{
3594
3594
  literal: "literal";
3595
- body: "body";
3596
3595
  header: "header";
3596
+ body: "body";
3597
3597
  }>;
3598
3598
  key: z.ZodOptional<z.ZodString>;
3599
3599
  value: z.ZodOptional<z.ZodString>;
@@ -3778,13 +3778,13 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
3778
3778
  algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
3779
3779
  encoding: "base64" | "hex";
3780
3780
  signature: {
3781
- source: "query" | "body" | "header";
3781
+ source: "query" | "header" | "body";
3782
3782
  key: string;
3783
3783
  prefix?: string | undefined;
3784
3784
  regex?: string | undefined;
3785
3785
  };
3786
3786
  signedComponents: {
3787
- source: "literal" | "body" | "header";
3787
+ source: "literal" | "header" | "body";
3788
3788
  required: boolean;
3789
3789
  key?: string | undefined;
3790
3790
  value?: string | undefined;
@@ -3815,13 +3815,13 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
3815
3815
  algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
3816
3816
  encoding: "base64" | "hex";
3817
3817
  signature: {
3818
- source: "query" | "body" | "header";
3818
+ source: "query" | "header" | "body";
3819
3819
  key: string;
3820
3820
  prefix?: string | undefined;
3821
3821
  regex?: string | undefined;
3822
3822
  };
3823
3823
  signedComponents: {
3824
- source: "literal" | "body" | "header";
3824
+ source: "literal" | "header" | "body";
3825
3825
  required: boolean;
3826
3826
  key?: string | undefined;
3827
3827
  value?: string | undefined;
@@ -4148,13 +4148,13 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
4148
4148
  algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
4149
4149
  encoding: "base64" | "hex";
4150
4150
  signature: {
4151
- source: "query" | "body" | "header";
4151
+ source: "query" | "header" | "body";
4152
4152
  key: string;
4153
4153
  prefix?: string | undefined;
4154
4154
  regex?: string | undefined;
4155
4155
  };
4156
4156
  signedComponents: {
4157
- source: "literal" | "body" | "header";
4157
+ source: "literal" | "header" | "body";
4158
4158
  required: boolean;
4159
4159
  key?: string | undefined;
4160
4160
  value?: string | undefined;
@@ -4185,13 +4185,13 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
4185
4185
  algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
4186
4186
  encoding: "base64" | "hex";
4187
4187
  signature: {
4188
- source: "query" | "body" | "header";
4188
+ source: "query" | "header" | "body";
4189
4189
  key: string;
4190
4190
  prefix?: string | undefined;
4191
4191
  regex?: string | undefined;
4192
4192
  };
4193
4193
  signedComponents: {
4194
- source: "literal" | "body" | "header";
4194
+ source: "literal" | "header" | "body";
4195
4195
  required: boolean;
4196
4196
  key?: string | undefined;
4197
4197
  value?: string | undefined;
@@ -4358,7 +4358,7 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
4358
4358
  }, {}, {
4359
4359
  length: 256;
4360
4360
  }>;
4361
- }, "enabled" | "id" | "name" | "createdAt" | "updatedAt" | "description" | "projectId" | "tenantId" | "agentId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4361
+ }, "id" | "name" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "description" | "agentId" | "enabled" | "createdBy" | "messageTemplate" | "runAsUserId" | "inputSchema" | "outputTransform" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4362
4362
  declare const TriggerUpdateSchema: z.ZodObject<{
4363
4363
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4364
4364
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4382,15 +4382,17 @@ declare const TriggerUpdateSchema: z.ZodObject<{
4382
4382
  in: {};
4383
4383
  }>;
4384
4384
  declare const TriggerApiSelectSchema: z.ZodObject<{
4385
- enabled: z.ZodBoolean;
4386
4385
  id: z.ZodString;
4387
4386
  name: z.ZodString;
4388
4387
  createdAt: z.ZodString;
4389
4388
  updatedAt: z.ZodString;
4390
4389
  description: z.ZodNullable<z.ZodString>;
4390
+ enabled: z.ZodBoolean;
4391
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4392
+ messageTemplate: z.ZodNullable<z.ZodString>;
4393
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4391
4394
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4392
4395
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4393
- messageTemplate: z.ZodNullable<z.ZodString>;
4394
4396
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4395
4397
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4396
4398
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4408,8 +4410,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<{
4408
4410
  signature: z.ZodObject<{
4409
4411
  source: z.ZodEnum<{
4410
4412
  query: "query";
4411
- body: "body";
4412
4413
  header: "header";
4414
+ body: "body";
4413
4415
  }>;
4414
4416
  key: z.ZodString;
4415
4417
  prefix: z.ZodOptional<z.ZodString>;
@@ -4418,8 +4420,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<{
4418
4420
  signedComponents: z.ZodArray<z.ZodObject<{
4419
4421
  source: z.ZodEnum<{
4420
4422
  literal: "literal";
4421
- body: "body";
4422
4423
  header: "header";
4424
+ body: "body";
4423
4425
  }>;
4424
4426
  key: z.ZodOptional<z.ZodString>;
4425
4427
  value: z.ZodOptional<z.ZodString>;
@@ -4438,49 +4440,49 @@ declare const TriggerApiSelectSchema: z.ZodObject<{
4438
4440
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
4439
4441
  }, z.core.$strip>>;
4440
4442
  }, z.core.$strip>>>;
4441
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4442
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4443
4443
  }, z.core.$strip>;
4444
4444
  declare const TriggerApiInsertSchema: z.ZodObject<{
4445
- enabled: z.ZodOptional<z.ZodBoolean>;
4446
4445
  id: z.ZodOptional<z.ZodString>;
4447
4446
  name: z.ZodString;
4448
4447
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4448
+ enabled: z.ZodOptional<z.ZodBoolean>;
4449
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4450
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4451
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4449
4452
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4450
4453
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4451
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4452
4454
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4453
4455
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4454
4456
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4455
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4456
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4457
4457
  }, z.core.$strip>;
4458
4458
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4459
- enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4460
4459
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4461
4460
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4462
4461
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4463
4462
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4464
4463
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4464
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4465
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4466
+ messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4467
+ runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4465
4468
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
4466
4469
  outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
4467
- messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4468
4470
  authentication: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
4469
4471
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4470
4472
  signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
4471
- runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4472
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4473
4473
  }, z.core.$strip>;
4474
4474
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4475
- enabled: z.ZodBoolean;
4476
4475
  id: z.ZodString;
4477
4476
  name: z.ZodString;
4478
4477
  createdAt: z.ZodString;
4479
4478
  updatedAt: z.ZodString;
4480
4479
  description: z.ZodNullable<z.ZodString>;
4480
+ enabled: z.ZodBoolean;
4481
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4482
+ messageTemplate: z.ZodNullable<z.ZodString>;
4483
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4481
4484
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4482
4485
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4483
- messageTemplate: z.ZodNullable<z.ZodString>;
4484
4486
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4485
4487
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4486
4488
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4498,8 +4500,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4498
4500
  signature: z.ZodObject<{
4499
4501
  source: z.ZodEnum<{
4500
4502
  query: "query";
4501
- body: "body";
4502
4503
  header: "header";
4504
+ body: "body";
4503
4505
  }>;
4504
4506
  key: z.ZodString;
4505
4507
  prefix: z.ZodOptional<z.ZodString>;
@@ -4508,8 +4510,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4508
4510
  signedComponents: z.ZodArray<z.ZodObject<{
4509
4511
  source: z.ZodEnum<{
4510
4512
  literal: "literal";
4511
- body: "body";
4512
4513
  header: "header";
4514
+ body: "body";
4513
4515
  }>;
4514
4516
  key: z.ZodOptional<z.ZodString>;
4515
4517
  value: z.ZodOptional<z.ZodString>;
@@ -4528,8 +4530,6 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4528
4530
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
4529
4531
  }, z.core.$strip>>;
4530
4532
  }, z.core.$strip>>>;
4531
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4532
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4533
4533
  webhookUrl: z.ZodString;
4534
4534
  }, z.core.$strip>;
4535
4535
  declare const TriggerInvocationSelectSchema: z.ZodObject<{
@@ -5015,7 +5015,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<"insert",
5015
5015
  }, {}, {
5016
5016
  length: 256;
5017
5017
  }>;
5018
- }, "id" | "createdAt" | "ref" | "status" | "projectId" | "tenantId" | "agentId" | "conversationId" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5018
+ }, "id" | "createdAt" | "ref" | "status" | "tenantId" | "projectId" | "agentId" | "conversationId" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5019
5019
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5020
5020
  triggerId: z.ZodOptional<z.ZodString>;
5021
5021
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5150,23 +5150,23 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5150
5150
  in: {};
5151
5151
  }>;
5152
5152
  declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5153
- enabled: z.ZodOptional<z.ZodBoolean>;
5154
5153
  id: z.ZodString;
5155
5154
  name: z.ZodString;
5156
5155
  ref: z.ZodOptional<z.ZodString>;
5157
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5158
- projectId: z.ZodString;
5159
5156
  tenantId: z.ZodString;
5157
+ projectId: z.ZodString;
5158
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5160
5159
  agentId: z.ZodString;
5161
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5162
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5160
+ enabled: z.ZodOptional<z.ZodBoolean>;
5163
5161
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5164
5162
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5165
5163
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5166
5164
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5165
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5167
5166
  maxRetries: z.ZodOptional<z.ZodInt>;
5168
5167
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
5169
5168
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
5169
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5170
5170
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5171
5171
  }, {
5172
5172
  out: {};
@@ -5175,15 +5175,15 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5175
5175
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5176
5176
  id: z.ZodOptional<z.ZodString>;
5177
5177
  name: z.ZodOptional<z.ZodString>;
5178
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5179
- projectId: z.ZodOptional<z.ZodString>;
5180
5178
  tenantId: z.ZodOptional<z.ZodString>;
5179
+ projectId: z.ZodOptional<z.ZodString>;
5180
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5181
5181
  agentId: z.ZodOptional<z.ZodString>;
5182
- messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5183
- runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5184
5182
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5185
5183
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5186
5184
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5185
+ messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5186
+ runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5187
5187
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
5188
5188
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5189
5189
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5196,75 +5196,75 @@ declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5196
5196
  in: {};
5197
5197
  }>;
5198
5198
  declare const ScheduledTriggerApiSelectSchema: z.ZodObject<{
5199
- enabled: z.ZodBoolean;
5200
5199
  id: z.ZodString;
5201
5200
  name: z.ZodString;
5202
5201
  createdAt: z.ZodString;
5203
5202
  updatedAt: z.ZodString;
5204
5203
  ref: z.ZodString;
5205
5204
  description: z.ZodNullable<z.ZodString>;
5206
- messageTemplate: z.ZodNullable<z.ZodString>;
5207
- runAsUserId: z.ZodNullable<z.ZodString>;
5205
+ enabled: z.ZodBoolean;
5208
5206
  createdBy: z.ZodNullable<z.ZodString>;
5209
5207
  cronExpression: z.ZodNullable<z.ZodString>;
5210
5208
  cronTimezone: z.ZodNullable<z.ZodString>;
5211
5209
  runAt: z.ZodNullable<z.ZodString>;
5212
5210
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5211
+ messageTemplate: z.ZodNullable<z.ZodString>;
5213
5212
  maxRetries: z.ZodInt;
5214
5213
  retryDelaySeconds: z.ZodInt;
5215
5214
  timeoutSeconds: z.ZodInt;
5215
+ runAsUserId: z.ZodNullable<z.ZodString>;
5216
5216
  nextRunAt: z.ZodNullable<z.ZodString>;
5217
5217
  }, z.core.$strip>;
5218
5218
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5219
- enabled: z.ZodOptional<z.ZodBoolean>;
5220
5219
  name: z.ZodString;
5221
5220
  ref: z.ZodOptional<z.ZodString>;
5222
5221
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5223
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5224
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5222
+ enabled: z.ZodOptional<z.ZodBoolean>;
5225
5223
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5226
5224
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5227
5225
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5228
5226
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5229
5227
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5228
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5230
5229
  maxRetries: z.ZodOptional<z.ZodInt>;
5231
5230
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
5232
5231
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
5232
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5233
5233
  id: z.ZodOptional<z.ZodString>;
5234
5234
  }, z.core.$strip>;
5235
5235
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5236
- enabled: z.ZodOptional<z.ZodBoolean>;
5237
5236
  name: z.ZodString;
5238
5237
  ref: z.ZodOptional<z.ZodString>;
5239
5238
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5240
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5241
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5239
+ enabled: z.ZodOptional<z.ZodBoolean>;
5242
5240
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5243
5241
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5244
5242
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5245
5243
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5246
5244
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5245
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5247
5246
  maxRetries: z.ZodOptional<z.ZodInt>;
5248
5247
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
5249
5248
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
5249
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5250
5250
  id: z.ZodOptional<z.ZodString>;
5251
5251
  }, z.core.$strip>;
5252
5252
  declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5253
- enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
5254
5253
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5255
5254
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5256
5255
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5257
5256
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5258
- messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5259
- runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5257
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
5260
5258
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5261
5259
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5262
5260
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5263
5261
  runAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5264
5262
  payload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
5263
+ messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5265
5264
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
5266
5265
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
5267
5266
  timeoutSeconds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
5267
+ runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5268
5268
  }, z.core.$strip>;
5269
5269
  declare const ScheduledTriggerInvocationStatusEnum: z.ZodEnum<{
5270
5270
  pending: "pending";
@@ -5877,7 +5877,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<
5877
5877
  }, {}, {
5878
5878
  length: 256;
5879
5879
  }>;
5880
- }, "id" | "createdAt" | "ref" | "status" | "projectId" | "tenantId" | "agentId" | "conversationIds" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
5880
+ }, "id" | "createdAt" | "ref" | "status" | "tenantId" | "projectId" | "agentId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
5881
5881
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
5882
5882
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
5883
5883
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -5933,12 +5933,12 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
5933
5933
  failed: "failed";
5934
5934
  cancelled: "cancelled";
5935
5935
  }>;
5936
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
5937
5936
  scheduledTriggerId: z.ZodString;
5938
5937
  scheduledFor: z.ZodString;
5939
5938
  startedAt: z.ZodNullable<z.ZodString>;
5940
5939
  completedAt: z.ZodNullable<z.ZodString>;
5941
5940
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5941
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
5942
5942
  attemptNumber: z.ZodInt;
5943
5943
  idempotencyKey: z.ZodString;
5944
5944
  }, z.core.$strip>;
@@ -5962,12 +5962,12 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
5962
5962
  hash: string;
5963
5963
  }>>>>;
5964
5964
  status: z.ZodString;
5965
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
5966
5965
  scheduledTriggerId: z.ZodString;
5967
5966
  scheduledFor: z.ZodString;
5968
5967
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5969
5968
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5970
5969
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
5970
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
5971
5971
  attemptNumber: z.ZodOptional<z.ZodInt>;
5972
5972
  idempotencyKey: z.ZodString;
5973
5973
  id: z.ZodString;
@@ -5993,12 +5993,12 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
5993
5993
  hash: string;
5994
5994
  }>>>>>>;
5995
5995
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5996
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
5997
5996
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5998
5997
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5999
5998
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6000
5999
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6001
6000
  resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
6001
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6002
6002
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
6003
6003
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6004
6004
  }, z.core.$strip>;
@@ -6612,25 +6612,25 @@ declare const TaskRelationApiSelectSchema: z.ZodObject<{
6612
6612
  id: z.ZodString;
6613
6613
  createdAt: z.ZodString;
6614
6614
  updatedAt: z.ZodString;
6615
- relationType: z.ZodNullable<z.ZodString>;
6616
6615
  parentTaskId: z.ZodString;
6617
6616
  childTaskId: z.ZodString;
6617
+ relationType: z.ZodNullable<z.ZodString>;
6618
6618
  }, z.core.$strip>;
6619
6619
  declare const TaskRelationApiInsertSchema: z.ZodObject<{
6620
6620
  id: z.ZodString;
6621
6621
  createdAt: z.ZodOptional<z.ZodString>;
6622
6622
  updatedAt: z.ZodOptional<z.ZodString>;
6623
- relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6624
6623
  parentTaskId: z.ZodString;
6625
6624
  childTaskId: z.ZodString;
6625
+ relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6626
6626
  }, z.core.$strip>;
6627
6627
  declare const TaskRelationApiUpdateSchema: z.ZodObject<{
6628
6628
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6629
6629
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6630
6630
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6631
- relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6632
6631
  parentTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6633
6632
  childTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6633
+ relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6634
6634
  }, z.core.$strip>;
6635
6635
  declare const McpTransportConfigSchema: z.ZodObject<{
6636
6636
  type: z.ZodEnum<{
@@ -7218,11 +7218,9 @@ declare const ToolSelectSchema: drizzle_zod21.BuildSchema<"select", {
7218
7218
  declare const ToolInsertSchema: z.ZodObject<{
7219
7219
  id: z.ZodString;
7220
7220
  name: z.ZodString;
7221
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7222
- projectId: z.ZodString;
7223
7221
  tenantId: z.ZodString;
7224
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7225
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7222
+ projectId: z.ZodString;
7223
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7226
7224
  config: z.ZodObject<{
7227
7225
  type: z.ZodLiteral<"mcp">;
7228
7226
  mcp: z.ZodObject<{
@@ -7249,7 +7247,9 @@ declare const ToolInsertSchema: z.ZodObject<{
7249
7247
  prompt: z.ZodOptional<z.ZodString>;
7250
7248
  }, z.core.$strip>;
7251
7249
  }, z.core.$strip>;
7250
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7252
7251
  credentialScope: z.ZodOptional<z.ZodString>;
7252
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7253
7253
  imageUrl: z.ZodOptional<z.ZodString>;
7254
7254
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7255
7255
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8384,7 +8384,6 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8384
8384
  in: {};
8385
8385
  }>;
8386
8386
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
8387
- value: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
8388
8387
  id: z.ZodString;
8389
8388
  createdAt: z.ZodString;
8390
8389
  updatedAt: z.ZodString;
@@ -8397,6 +8396,7 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
8397
8396
  name: z.ZodString;
8398
8397
  hash: z.ZodString;
8399
8398
  }, z.core.$strip>>>;
8399
+ value: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
8400
8400
  contextConfigId: z.ZodString;
8401
8401
  conversationId: z.ZodString;
8402
8402
  contextVariableKey: z.ZodString;
@@ -8405,7 +8405,6 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
8405
8405
  fetchSource: z.ZodNullable<z.ZodString>;
8406
8406
  }, z.core.$strip>;
8407
8407
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
8408
- value: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
8409
8408
  id: z.ZodString;
8410
8409
  createdAt: z.ZodOptional<z.ZodString>;
8411
8410
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -8418,6 +8417,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
8418
8417
  name: z.ZodString;
8419
8418
  hash: z.ZodString;
8420
8419
  }, z.core.$strip>;
8420
+ value: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
8421
8421
  contextConfigId: z.ZodString;
8422
8422
  conversationId: z.ZodString;
8423
8423
  contextVariableKey: z.ZodString;
@@ -8426,7 +8426,6 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
8426
8426
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8427
8427
  }, z.core.$strip>;
8428
8428
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8429
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
8430
8429
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8431
8430
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8432
8431
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -8439,6 +8438,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8439
8438
  name: z.ZodString;
8440
8439
  hash: z.ZodString;
8441
8440
  }, z.core.$strip>>>;
8441
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
8442
8442
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8443
8443
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8444
8444
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -8542,8 +8542,8 @@ declare const DatasetRunApiSelectSchema: z.ZodObject<{
8542
8542
  hash: z.ZodString;
8543
8543
  }, z.core.$strip>>>;
8544
8544
  datasetId: z.ZodString;
8545
- evaluationJobConfigId: z.ZodNullable<z.ZodString>;
8546
8545
  datasetRunConfigId: z.ZodNullable<z.ZodString>;
8546
+ evaluationJobConfigId: z.ZodNullable<z.ZodString>;
8547
8547
  }, z.core.$strip>;
8548
8548
  declare const DatasetRunApiInsertSchema: z.ZodObject<{
8549
8549
  createdAt: z.ZodOptional<z.ZodString>;
@@ -8566,8 +8566,8 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
8566
8566
  hash: string;
8567
8567
  }>>>>;
8568
8568
  datasetId: z.ZodString;
8569
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8570
8569
  datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8570
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8571
8571
  }, z.core.$strip>;
8572
8572
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8573
8573
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -8590,8 +8590,8 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8590
8590
  hash: string;
8591
8591
  }>>>>>>;
8592
8592
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8593
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8594
8593
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8594
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8595
8595
  }, z.core.$strip>;
8596
8596
  declare const DatasetRunConversationRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
8597
8597
  createdAt: drizzle_orm_pg_core928.PgColumn<{
@@ -9282,28 +9282,28 @@ declare const EvaluationResultUpdateSchema: z.ZodObject<{
9282
9282
  in: {};
9283
9283
  }>;
9284
9284
  declare const EvaluationResultApiSelectSchema: z.ZodObject<{
9285
- output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
9286
9285
  id: z.ZodString;
9287
9286
  createdAt: z.ZodString;
9288
9287
  updatedAt: z.ZodString;
9289
- evaluatorId: z.ZodString;
9288
+ output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
9290
9289
  conversationId: z.ZodString;
9290
+ evaluatorId: z.ZodString;
9291
9291
  evaluationRunId: z.ZodNullable<z.ZodString>;
9292
9292
  }, z.core.$strip>;
9293
9293
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9294
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9295
9294
  createdAt: z.ZodOptional<z.ZodString>;
9296
9295
  updatedAt: z.ZodOptional<z.ZodString>;
9297
- evaluatorId: z.ZodString;
9296
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9298
9297
  conversationId: z.ZodString;
9298
+ evaluatorId: z.ZodString;
9299
9299
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9300
9300
  }, z.core.$strip>;
9301
9301
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9302
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9303
9302
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9304
9303
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9305
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9304
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9306
9305
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9306
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9307
9307
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9308
9308
  }, z.core.$strip>;
9309
9309
  declare const EvaluationRunSelectSchema: z.ZodObject<{
@@ -9398,8 +9398,8 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<{
9398
9398
  name: z.ZodString;
9399
9399
  hash: z.ZodString;
9400
9400
  }, z.core.$strip>>>;
9401
- evaluationRunConfigId: z.ZodNullable<z.ZodString>;
9402
9401
  evaluationJobConfigId: z.ZodNullable<z.ZodString>;
9402
+ evaluationRunConfigId: z.ZodNullable<z.ZodString>;
9403
9403
  }, z.core.$strip>;
9404
9404
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9405
9405
  createdAt: z.ZodOptional<z.ZodString>;
@@ -9421,8 +9421,8 @@ declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9421
9421
  name: string;
9422
9422
  hash: string;
9423
9423
  }>>>>;
9424
- evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9425
9424
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9425
+ evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9426
9426
  }, z.core.$strip>;
9427
9427
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9428
9428
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -9444,8 +9444,8 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9444
9444
  name: string;
9445
9445
  hash: string;
9446
9446
  }>>>>>>;
9447
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9448
9447
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9448
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9449
9449
  }, z.core.$strip>;
9450
9450
  declare const EvaluationRunConfigSelectSchema: drizzle_zod21.BuildSchema<"select", {
9451
9451
  createdAt: drizzle_orm_pg_core928.PgColumn<{
@@ -10818,20 +10818,20 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
10818
10818
  id: z.ZodString;
10819
10819
  createdAt: z.ZodString;
10820
10820
  updatedAt: z.ZodString;
10821
- evaluationSuiteConfigId: z.ZodString;
10822
10821
  evaluationRunConfigId: z.ZodString;
10822
+ evaluationSuiteConfigId: z.ZodString;
10823
10823
  }, z.core.$strip>;
10824
10824
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
10825
10825
  createdAt: z.ZodOptional<z.ZodString>;
10826
10826
  updatedAt: z.ZodOptional<z.ZodString>;
10827
- evaluationSuiteConfigId: z.ZodString;
10828
10827
  evaluationRunConfigId: z.ZodString;
10828
+ evaluationSuiteConfigId: z.ZodString;
10829
10829
  }, z.core.$strip>;
10830
10830
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
10831
10831
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10832
10832
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10833
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10834
10833
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10834
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10835
10835
  }, z.core.$strip>;
10836
10836
  declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
10837
10837
  createdAt: drizzle_orm_pg_core928.PgColumn<{
@@ -11122,20 +11122,20 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<{
11122
11122
  id: z.ZodString;
11123
11123
  createdAt: z.ZodString;
11124
11124
  updatedAt: z.ZodString;
11125
- evaluatorId: z.ZodString;
11126
11125
  evaluationJobConfigId: z.ZodString;
11126
+ evaluatorId: z.ZodString;
11127
11127
  }, z.core.$strip>;
11128
11128
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11129
11129
  createdAt: z.ZodOptional<z.ZodString>;
11130
11130
  updatedAt: z.ZodOptional<z.ZodString>;
11131
- evaluatorId: z.ZodString;
11132
11131
  evaluationJobConfigId: z.ZodString;
11132
+ evaluatorId: z.ZodString;
11133
11133
  }, z.core.$strip>;
11134
11134
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11135
11135
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11136
11136
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11137
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11138
11137
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11138
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11139
11139
  }, z.core.$strip>;
11140
11140
  declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
11141
11141
  createdAt: drizzle_orm_pg_core928.PgColumn<{
@@ -11426,20 +11426,20 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
11426
11426
  id: z.ZodString;
11427
11427
  createdAt: z.ZodString;
11428
11428
  updatedAt: z.ZodString;
11429
- evaluationSuiteConfigId: z.ZodString;
11430
11429
  evaluatorId: z.ZodString;
11430
+ evaluationSuiteConfigId: z.ZodString;
11431
11431
  }, z.core.$strip>;
11432
11432
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11433
11433
  createdAt: z.ZodOptional<z.ZodString>;
11434
11434
  updatedAt: z.ZodOptional<z.ZodString>;
11435
- evaluationSuiteConfigId: z.ZodString;
11436
11435
  evaluatorId: z.ZodString;
11436
+ evaluationSuiteConfigId: z.ZodString;
11437
11437
  }, z.core.$strip>;
11438
11438
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11439
11439
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11440
11440
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11441
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11442
11441
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11442
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11443
11443
  }, z.core.$strip>;
11444
11444
  declare const EvaluatorSelectSchema: drizzle_zod21.BuildSchema<"select", {
11445
11445
  createdAt: drizzle_orm_pg_core928.PgColumn<{
@@ -12616,28 +12616,28 @@ declare const DatasetItemUpdateSchema: z.ZodObject<{
12616
12616
  in: {};
12617
12617
  }>;
12618
12618
  declare const DatasetItemApiSelectSchema: z.ZodObject<{
12619
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12620
12619
  id: z.ZodString;
12621
12620
  createdAt: z.ZodString;
12622
12621
  updatedAt: z.ZodString;
12622
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12623
12623
  datasetId: z.ZodString;
12624
12624
  expectedOutput: z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>;
12625
12625
  }, z.core.$strip>;
12626
12626
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
12627
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12628
12627
  createdAt: z.ZodOptional<z.ZodString>;
12629
12628
  updatedAt: z.ZodOptional<z.ZodString>;
12629
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12630
12630
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
12631
12631
  }, z.core.$strip>;
12632
12632
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
12633
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
12634
12633
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12635
12634
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12635
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
12636
12636
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
12637
12637
  }, z.core.$strip>;
12638
12638
  declare const DatasetRunItemSchema: z.ZodObject<{
12639
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
12640
12639
  id: z.ZodOptional<z.ZodString>;
12640
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
12641
12641
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
12642
12642
  agentId: z.ZodString;
12643
12643
  }, z.core.$strip>;
@@ -14271,9 +14271,9 @@ declare const DataComponentSelectSchema: drizzle_zod21.BuildSchema<"select", {
14271
14271
  declare const DataComponentInsertSchema: z.ZodObject<{
14272
14272
  id: z.ZodString;
14273
14273
  name: z.ZodString;
14274
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14275
- projectId: z.ZodString;
14276
14274
  tenantId: z.ZodString;
14275
+ projectId: z.ZodString;
14276
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14277
14277
  props: z.ZodType<{
14278
14278
  [x: string]: unknown;
14279
14279
  type: "object";
@@ -14323,9 +14323,9 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14323
14323
  declare const DataComponentUpdateSchema: z.ZodObject<{
14324
14324
  id: z.ZodOptional<z.ZodString>;
14325
14325
  name: z.ZodOptional<z.ZodString>;
14326
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14327
- projectId: z.ZodOptional<z.ZodString>;
14328
14326
  tenantId: z.ZodOptional<z.ZodString>;
14327
+ projectId: z.ZodOptional<z.ZodString>;
14328
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14329
14329
  props: z.ZodOptional<z.ZodType<{
14330
14330
  [x: string]: unknown;
14331
14331
  type: "object";
@@ -15000,7 +15000,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod21.BuildSchema<"inse
15000
15000
  }, {}, {
15001
15001
  length: 256;
15002
15002
  }>;
15003
- }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15003
+ }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15004
15004
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15005
15005
  dataComponentId: z.ZodOptional<z.ZodString>;
15006
15006
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15966,11 +15966,11 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
15966
15966
  declare const ExternalAgentInsertSchema: z.ZodObject<{
15967
15967
  id: z.ZodString;
15968
15968
  name: z.ZodString;
15969
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15970
- projectId: z.ZodString;
15971
15969
  tenantId: z.ZodString;
15972
- baseUrl: z.ZodURL;
15970
+ projectId: z.ZodString;
15971
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15973
15972
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15973
+ baseUrl: z.ZodURL;
15974
15974
  }, {
15975
15975
  out: {};
15976
15976
  in: {};
@@ -15978,11 +15978,11 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
15978
15978
  declare const ExternalAgentUpdateSchema: z.ZodObject<{
15979
15979
  id: z.ZodOptional<z.ZodString>;
15980
15980
  name: z.ZodOptional<z.ZodString>;
15981
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15982
- projectId: z.ZodOptional<z.ZodString>;
15983
15981
  tenantId: z.ZodOptional<z.ZodString>;
15984
- baseUrl: z.ZodOptional<z.ZodURL>;
15982
+ projectId: z.ZodOptional<z.ZodString>;
15983
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15985
15984
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15985
+ baseUrl: z.ZodOptional<z.ZodURL>;
15986
15986
  }, {
15987
15987
  out: {};
15988
15988
  in: {};
@@ -15993,22 +15993,22 @@ declare const ExternalAgentApiSelectSchema: z.ZodObject<{
15993
15993
  createdAt: z.ZodString;
15994
15994
  updatedAt: z.ZodString;
15995
15995
  description: z.ZodNullable<z.ZodString>;
15996
- baseUrl: z.ZodString;
15997
15996
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15997
+ baseUrl: z.ZodString;
15998
15998
  }, z.core.$strip>;
15999
15999
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
16000
16000
  id: z.ZodString;
16001
16001
  name: z.ZodString;
16002
16002
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16003
- baseUrl: z.ZodURL;
16004
16003
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16004
+ baseUrl: z.ZodURL;
16005
16005
  }, z.core.$strip>;
16006
16006
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16007
16007
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16008
16008
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16009
16009
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16010
- baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
16011
16010
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16011
+ baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
16012
16012
  }, z.core.$strip>;
16013
16013
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16014
16014
  id: z.ZodString;
@@ -16093,6 +16093,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16093
16093
  allowedProviders?: string[] | undefined;
16094
16094
  } | undefined;
16095
16095
  }>>>;
16096
+ prompt: z.ZodNullable<z.ZodString>;
16096
16097
  stopWhen: z.ZodNullable<z.ZodType<{
16097
16098
  stepCountIs?: number | undefined;
16098
16099
  }, {
@@ -16102,7 +16103,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16102
16103
  }, {
16103
16104
  stepCountIs?: number | undefined;
16104
16105
  }>>>;
16105
- prompt: z.ZodNullable<z.ZodString>;
16106
16106
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16107
16107
  type: z.ZodLiteral<"internal">;
16108
16108
  }, z.core.$strip>, z.ZodObject<{
@@ -16111,8 +16111,8 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16111
16111
  createdAt: z.ZodString;
16112
16112
  updatedAt: z.ZodString;
16113
16113
  description: z.ZodNullable<z.ZodString>;
16114
- baseUrl: z.ZodString;
16115
16114
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16115
+ baseUrl: z.ZodString;
16116
16116
  type: z.ZodLiteral<"external">;
16117
16117
  }, z.core.$strip>], "type">;
16118
16118
  declare const ApiKeySelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -17427,13 +17427,16 @@ declare const AppInsertSchema: z.ZodObject<{
17427
17427
  in: {};
17428
17428
  }>;
17429
17429
  declare const AppUpdateSchema: z.ZodObject<{
17430
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17431
17430
  name: z.ZodOptional<z.ZodString>;
17432
17431
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17433
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17434
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17435
17432
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17433
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17434
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17435
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17436
17436
  prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17437
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17438
+ defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17439
+ defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17437
17440
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
17438
17441
  type: z.ZodLiteral<"web_client">;
17439
17442
  webClient: z.ZodObject<{
@@ -17459,9 +17462,6 @@ declare const AppUpdateSchema: z.ZodObject<{
17459
17462
  type: z.ZodLiteral<"api">;
17460
17463
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
17461
17464
  }, z.core.$strip>], "type">>;
17462
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17463
- defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17464
- defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17465
17465
  }, {
17466
17466
  out: {};
17467
17467
  in: {};
@@ -18044,15 +18044,15 @@ declare const AppApiSelectSchema: drizzle_zod21.BuildSchema<"select", {
18044
18044
  }, {}, {}>;
18045
18045
  }, undefined>, undefined>;
18046
18046
  declare const AppApiResponseSelectSchema: z.ZodObject<{
18047
- enabled: z.ZodBoolean;
18048
18047
  id: z.ZodString;
18049
18048
  name: z.ZodString;
18050
18049
  createdAt: z.ZodString;
18051
18050
  updatedAt: z.ZodString;
18051
+ tenantId: z.ZodNullable<z.ZodString>;
18052
+ projectId: z.ZodNullable<z.ZodString>;
18052
18053
  description: z.ZodNullable<z.ZodString>;
18053
18054
  type: z.ZodString;
18054
- projectId: z.ZodNullable<z.ZodString>;
18055
- tenantId: z.ZodNullable<z.ZodString>;
18055
+ enabled: z.ZodBoolean;
18056
18056
  prompt: z.ZodNullable<z.ZodString>;
18057
18057
  lastUsedAt: z.ZodNullable<z.ZodString>;
18058
18058
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -18087,18 +18087,20 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
18087
18087
  in: {};
18088
18088
  }>;
18089
18089
  declare const AppApiInsertSchema: z.ZodObject<{
18090
- enabled: z.ZodOptional<z.ZodBoolean>;
18091
18090
  name: z.ZodString;
18092
18091
  createdAt: z.ZodOptional<z.ZodString>;
18093
18092
  updatedAt: z.ZodOptional<z.ZodString>;
18093
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18094
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18094
18095
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18095
18096
  type: z.ZodEnum<{
18096
18097
  web_client: "web_client";
18097
18098
  api: "api";
18098
18099
  }>;
18099
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18100
- tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18100
+ enabled: z.ZodOptional<z.ZodBoolean>;
18101
18101
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18102
+ defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18103
+ defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18102
18104
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
18103
18105
  type: z.ZodLiteral<"web_client">;
18104
18106
  webClient: z.ZodObject<{
@@ -18124,20 +18126,21 @@ declare const AppApiInsertSchema: z.ZodObject<{
18124
18126
  type: z.ZodLiteral<"api">;
18125
18127
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
18126
18128
  }, z.core.$strip>], "type">;
18127
- defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18128
- defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18129
18129
  }, {
18130
18130
  out: {};
18131
18131
  in: {};
18132
18132
  }>;
18133
18133
  declare const AppApiUpdateSchema: z.ZodObject<{
18134
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18135
18134
  name: z.ZodOptional<z.ZodString>;
18136
18135
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18137
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18138
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18139
18136
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18137
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18138
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18139
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18140
18140
  prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18141
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18142
+ defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18143
+ defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18141
18144
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18142
18145
  type: z.ZodLiteral<"web_client">;
18143
18146
  webClient: z.ZodObject<{
@@ -18163,9 +18166,6 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18163
18166
  type: z.ZodLiteral<"api">;
18164
18167
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
18165
18168
  }, z.core.$strip>], "type">>;
18166
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18167
- defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18168
- defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18169
18169
  }, {
18170
18170
  out: {};
18171
18171
  in: {};
@@ -18173,15 +18173,15 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18173
18173
  declare const AppApiCreationResponseSchema: z.ZodObject<{
18174
18174
  data: z.ZodObject<{
18175
18175
  app: z.ZodObject<{
18176
- enabled: z.ZodBoolean;
18177
18176
  id: z.ZodString;
18178
18177
  name: z.ZodString;
18179
18178
  createdAt: z.ZodString;
18180
18179
  updatedAt: z.ZodString;
18180
+ tenantId: z.ZodNullable<z.ZodString>;
18181
+ projectId: z.ZodNullable<z.ZodString>;
18181
18182
  description: z.ZodNullable<z.ZodString>;
18182
18183
  type: z.ZodString;
18183
- projectId: z.ZodNullable<z.ZodString>;
18184
- tenantId: z.ZodNullable<z.ZodString>;
18184
+ enabled: z.ZodBoolean;
18185
18185
  prompt: z.ZodNullable<z.ZodString>;
18186
18186
  lastUsedAt: z.ZodNullable<z.ZodString>;
18187
18187
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -18672,9 +18672,9 @@ declare const CredentialReferenceInsertSchema: z.ZodObject<{
18672
18672
  id: z.ZodString;
18673
18673
  name: z.ZodString;
18674
18674
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18675
- type: z.ZodString;
18676
- projectId: z.ZodString;
18677
18675
  tenantId: z.ZodString;
18676
+ projectId: z.ZodString;
18677
+ type: z.ZodString;
18678
18678
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18679
18679
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18680
18680
  credentialStoreId: z.ZodString;
@@ -18687,9 +18687,9 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
18687
18687
  id: z.ZodOptional<z.ZodString>;
18688
18688
  name: z.ZodOptional<z.ZodString>;
18689
18689
  userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18690
- type: z.ZodOptional<z.ZodString>;
18691
- projectId: z.ZodOptional<z.ZodString>;
18692
18690
  tenantId: z.ZodOptional<z.ZodString>;
18691
+ projectId: z.ZodOptional<z.ZodString>;
18692
+ type: z.ZodOptional<z.ZodString>;
18693
18693
  toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18694
18694
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18695
18695
  credentialStoreId: z.ZodOptional<z.ZodString>;
@@ -19379,11 +19379,9 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
19379
19379
  declare const McpToolSchema: z.ZodObject<{
19380
19380
  id: z.ZodString;
19381
19381
  name: z.ZodString;
19382
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19383
- projectId: z.ZodString;
19384
19382
  tenantId: z.ZodString;
19385
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19386
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19383
+ projectId: z.ZodString;
19384
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19387
19385
  config: z.ZodObject<{
19388
19386
  type: z.ZodLiteral<"mcp">;
19389
19387
  mcp: z.ZodObject<{
@@ -19410,7 +19408,9 @@ declare const McpToolSchema: z.ZodObject<{
19410
19408
  prompt: z.ZodOptional<z.ZodString>;
19411
19409
  }, z.core.$strip>;
19412
19410
  }, z.core.$strip>;
19411
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19413
19412
  credentialScope: z.ZodOptional<z.ZodString>;
19413
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19414
19414
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19415
19415
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19416
19416
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
@@ -19439,19 +19439,19 @@ declare const MCPToolConfigSchema: z.ZodObject<{
19439
19439
  id: z.ZodString;
19440
19440
  name: z.ZodString;
19441
19441
  expiresAt: z.ZodOptional<z.ZodString>;
19442
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19443
19442
  createdBy: z.ZodOptional<z.ZodString>;
19444
19443
  credentialScope: z.ZodOptional<z.ZodString>;
19444
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19445
19445
  imageUrl: z.ZodOptional<z.ZodString>;
19446
19446
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19447
19447
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19448
19448
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
19449
- relationshipId: z.ZodOptional<z.ZodString>;
19450
19449
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
19451
19450
  name: z.ZodString;
19452
19451
  description: z.ZodOptional<z.ZodString>;
19453
19452
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19454
19453
  }, z.core.$strip>>>;
19454
+ relationshipId: z.ZodOptional<z.ZodString>;
19455
19455
  tenantId: z.ZodOptional<z.ZodString>;
19456
19456
  projectId: z.ZodOptional<z.ZodString>;
19457
19457
  description: z.ZodOptional<z.ZodString>;
@@ -19500,11 +19500,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
19500
19500
  declare const ToolUpdateSchema: z.ZodObject<{
19501
19501
  id: z.ZodOptional<z.ZodString>;
19502
19502
  name: z.ZodOptional<z.ZodString>;
19503
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19504
- projectId: z.ZodOptional<z.ZodString>;
19505
19503
  tenantId: z.ZodOptional<z.ZodString>;
19506
- headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
19507
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19504
+ projectId: z.ZodOptional<z.ZodString>;
19505
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19508
19506
  config: z.ZodOptional<z.ZodObject<{
19509
19507
  type: z.ZodLiteral<"mcp">;
19510
19508
  mcp: z.ZodObject<{
@@ -19531,7 +19529,9 @@ declare const ToolUpdateSchema: z.ZodObject<{
19531
19529
  prompt: z.ZodOptional<z.ZodString>;
19532
19530
  }, z.core.$strip>;
19533
19531
  }, z.core.$strip>>;
19532
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19534
19533
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19534
+ headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
19535
19535
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19536
19536
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
19537
19537
  lastError: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -19546,8 +19546,6 @@ declare const ToolApiSelectSchema: z.ZodObject<{
19546
19546
  createdAt: z.ZodString;
19547
19547
  updatedAt: z.ZodString;
19548
19548
  description: z.ZodNullable<z.ZodString>;
19549
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
19550
- credentialReferenceId: z.ZodNullable<z.ZodString>;
19551
19549
  config: z.ZodType<{
19552
19550
  type: "mcp";
19553
19551
  mcp: ToolMcpConfig;
@@ -19561,7 +19559,9 @@ declare const ToolApiSelectSchema: z.ZodObject<{
19561
19559
  type: "mcp";
19562
19560
  mcp: ToolMcpConfig;
19563
19561
  }>>;
19562
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
19564
19563
  credentialScope: z.ZodString;
19564
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
19565
19565
  imageUrl: z.ZodNullable<z.ZodString>;
19566
19566
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
19567
19567
  lastError: z.ZodNullable<z.ZodString>;
@@ -19571,8 +19571,6 @@ declare const ToolApiInsertSchema: z.ZodObject<{
19571
19571
  id: z.ZodString;
19572
19572
  name: z.ZodString;
19573
19573
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19574
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19575
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19576
19574
  config: z.ZodObject<{
19577
19575
  type: z.ZodLiteral<"mcp">;
19578
19576
  mcp: z.ZodObject<{
@@ -19599,7 +19597,9 @@ declare const ToolApiInsertSchema: z.ZodObject<{
19599
19597
  prompt: z.ZodOptional<z.ZodString>;
19600
19598
  }, z.core.$strip>;
19601
19599
  }, z.core.$strip>;
19600
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19602
19601
  credentialScope: z.ZodOptional<z.ZodString>;
19602
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19603
19603
  imageUrl: z.ZodOptional<z.ZodString>;
19604
19604
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19605
19605
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19609,8 +19609,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
19609
19609
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19610
19610
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19611
19611
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19612
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19613
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19614
19612
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
19615
19613
  type: z.ZodLiteral<"mcp">;
19616
19614
  mcp: z.ZodObject<{
@@ -19637,7 +19635,9 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
19637
19635
  prompt: z.ZodOptional<z.ZodString>;
19638
19636
  }, z.core.$strip>;
19639
19637
  }, z.core.$strip>>>;
19638
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19640
19639
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19640
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19641
19641
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19642
19642
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
19643
19643
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -19979,9 +19979,9 @@ declare const FunctionToolSelectSchema: drizzle_zod21.BuildSchema<"select", {
19979
19979
  declare const FunctionToolInsertSchema: z.ZodObject<{
19980
19980
  id: z.ZodString;
19981
19981
  name: z.ZodString;
19982
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19983
- projectId: z.ZodString;
19984
19982
  tenantId: z.ZodString;
19983
+ projectId: z.ZodString;
19984
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19985
19985
  agentId: z.ZodString;
19986
19986
  functionId: z.ZodString;
19987
19987
  }, {
@@ -19991,9 +19991,9 @@ declare const FunctionToolInsertSchema: z.ZodObject<{
19991
19991
  declare const FunctionToolUpdateSchema: z.ZodObject<{
19992
19992
  id: z.ZodOptional<z.ZodString>;
19993
19993
  name: z.ZodOptional<z.ZodString>;
19994
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19995
- projectId: z.ZodOptional<z.ZodString>;
19996
19994
  tenantId: z.ZodOptional<z.ZodString>;
19995
+ projectId: z.ZodOptional<z.ZodString>;
19996
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19997
19997
  agentId: z.ZodOptional<z.ZodString>;
19998
19998
  functionId: z.ZodOptional<z.ZodString>;
19999
19999
  }, {
@@ -20811,8 +20811,8 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
20811
20811
  }>;
20812
20812
  declare const ContextConfigInsertSchema: z.ZodObject<{
20813
20813
  id: z.ZodOptional<z.ZodString>;
20814
- projectId: z.ZodString;
20815
20814
  tenantId: z.ZodString;
20815
+ projectId: z.ZodString;
20816
20816
  agentId: z.ZodString;
20817
20817
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20818
20818
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -20822,8 +20822,8 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
20822
20822
  }>;
20823
20823
  declare const ContextConfigUpdateSchema: z.ZodObject<{
20824
20824
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20825
- projectId: z.ZodOptional<z.ZodString>;
20826
20825
  tenantId: z.ZodOptional<z.ZodString>;
20826
+ projectId: z.ZodOptional<z.ZodString>;
20827
20827
  agentId: z.ZodOptional<z.ZodString>;
20828
20828
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
20829
20829
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
@@ -21309,9 +21309,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
21309
21309
  id: z.ZodString;
21310
21310
  createdAt: z.ZodString;
21311
21311
  updatedAt: z.ZodString;
21312
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21313
21312
  subAgentId: z.ZodString;
21314
21313
  toolId: z.ZodString;
21314
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21315
21315
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21316
21316
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21317
21317
  }, z.core.$strip>;
@@ -21319,9 +21319,9 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
21319
21319
  id: z.ZodString;
21320
21320
  createdAt: z.ZodOptional<z.ZodString>;
21321
21321
  updatedAt: z.ZodOptional<z.ZodString>;
21322
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21323
21322
  subAgentId: z.ZodString;
21324
21323
  toolId: z.ZodString;
21324
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21325
21325
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21326
21326
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21327
21327
  needsApproval: z.ZodOptional<z.ZodBoolean>;
@@ -21331,9 +21331,9 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
21331
21331
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21332
21332
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21333
21333
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21334
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21335
21334
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21336
21335
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21336
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21337
21337
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21338
21338
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21339
21339
  needsApproval: z.ZodOptional<z.ZodBoolean>;
@@ -21708,8 +21708,8 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
21708
21708
  id: z.ZodString;
21709
21709
  createdAt: z.ZodString;
21710
21710
  updatedAt: z.ZodString;
21711
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21712
21711
  subAgentId: z.ZodString;
21712
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21713
21713
  externalAgentId: z.ZodString;
21714
21714
  }, z.core.$strip>;
21715
21715
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
@@ -21722,8 +21722,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
21722
21722
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21723
21723
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21724
21724
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21725
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21726
21725
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21726
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21727
21727
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21728
21728
  }, z.core.$strip>;
21729
21729
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -22095,8 +22095,8 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
22095
22095
  id: z.ZodString;
22096
22096
  createdAt: z.ZodString;
22097
22097
  updatedAt: z.ZodString;
22098
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
22099
22098
  subAgentId: z.ZodString;
22099
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
22100
22100
  targetAgentId: z.ZodString;
22101
22101
  }, z.core.$strip>;
22102
22102
  declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
@@ -22109,8 +22109,8 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
22109
22109
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22110
22110
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22111
22111
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22112
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22113
22112
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22113
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22114
22114
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22115
22115
  }, z.core.$strip>;
22116
22116
  declare const LedgerArtifactSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -23454,7 +23454,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod21.BuildSchema<"insert", {
23454
23454
  }, {}, {
23455
23455
  length: 256;
23456
23456
  }>;
23457
- }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "type" | "projectId" | "tenantId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23457
+ }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "tenantId" | "projectId" | "description" | "type" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23458
23458
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
23459
23459
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23460
23460
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -23723,8 +23723,6 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23723
23723
  id: z.ZodString;
23724
23724
  name: z.ZodString;
23725
23725
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23726
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23727
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23728
23726
  config: z.ZodObject<{
23729
23727
  type: z.ZodLiteral<"mcp">;
23730
23728
  mcp: z.ZodObject<{
@@ -23751,7 +23749,9 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23751
23749
  prompt: z.ZodOptional<z.ZodString>;
23752
23750
  }, z.core.$strip>;
23753
23751
  }, z.core.$strip>;
23752
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23754
23753
  credentialScope: z.ZodOptional<z.ZodString>;
23754
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23755
23755
  imageUrl: z.ZodOptional<z.ZodString>;
23756
23756
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
23757
23757
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23761,8 +23761,8 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23761
23761
  id: z.ZodString;
23762
23762
  name: z.ZodString;
23763
23763
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23764
- baseUrl: z.ZodURL;
23765
23764
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23765
+ baseUrl: z.ZodURL;
23766
23766
  }, z.core.$strip>>>;
23767
23767
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23768
23768
  id: z.ZodString;
@@ -23782,18 +23782,18 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
23782
23782
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23783
23783
  }, z.core.$strip>>>;
23784
23784
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23785
- enabled: z.ZodOptional<z.ZodBoolean>;
23786
23785
  id: z.ZodOptional<z.ZodString>;
23787
23786
  name: z.ZodString;
23788
23787
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23788
+ enabled: z.ZodOptional<z.ZodBoolean>;
23789
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23790
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23791
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23789
23792
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23790
23793
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23791
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23792
23794
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23793
23795
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23794
23796
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23795
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23796
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23797
23797
  }, z.core.$strip>>>;
23798
23798
  contextConfig: z.ZodOptional<z.ZodObject<{
23799
23799
  id: z.ZodOptional<z.ZodString>;
@@ -23910,8 +23910,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23910
23910
  id: z.ZodString;
23911
23911
  name: z.ZodString;
23912
23912
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23913
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23914
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23915
23913
  config: z.ZodObject<{
23916
23914
  type: z.ZodLiteral<"mcp">;
23917
23915
  mcp: z.ZodObject<{
@@ -23938,7 +23936,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23938
23936
  prompt: z.ZodOptional<z.ZodString>;
23939
23937
  }, z.core.$strip>;
23940
23938
  }, z.core.$strip>;
23939
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23941
23940
  credentialScope: z.ZodOptional<z.ZodString>;
23941
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23942
23942
  imageUrl: z.ZodOptional<z.ZodString>;
23943
23943
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
23944
23944
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23948,8 +23948,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23948
23948
  id: z.ZodString;
23949
23949
  name: z.ZodString;
23950
23950
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23951
- baseUrl: z.ZodURL;
23952
23951
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23952
+ baseUrl: z.ZodURL;
23953
23953
  }, z.core.$strip>>>;
23954
23954
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23955
23955
  id: z.ZodString;
@@ -23969,18 +23969,18 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23969
23969
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
23970
23970
  }, z.core.$strip>>>;
23971
23971
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23972
- enabled: z.ZodOptional<z.ZodBoolean>;
23973
23972
  id: z.ZodOptional<z.ZodString>;
23974
23973
  name: z.ZodString;
23975
23974
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23975
+ enabled: z.ZodOptional<z.ZodBoolean>;
23976
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23977
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23978
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23976
23979
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23977
23980
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23978
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23979
23981
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23980
23982
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23981
23983
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23982
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23983
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23984
23984
  }, z.core.$strip>>>;
23985
23985
  contextConfig: z.ZodOptional<z.ZodObject<{
23986
23986
  id: z.ZodOptional<z.ZodString>;
@@ -24089,8 +24089,8 @@ declare const ProjectSelectSchema: z.ZodObject<{
24089
24089
  declare const ProjectInsertSchema: z.ZodObject<{
24090
24090
  id: z.ZodString;
24091
24091
  name: z.ZodString;
24092
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24093
24092
  tenantId: z.ZodString;
24093
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24094
24094
  models: z.ZodObject<{
24095
24095
  base: z.ZodObject<{
24096
24096
  model: z.ZodOptional<z.ZodString>;
@@ -24345,8 +24345,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24345
24345
  id: z.ZodString;
24346
24346
  name: z.ZodString;
24347
24347
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24348
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24349
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24350
24348
  config: z.ZodObject<{
24351
24349
  type: z.ZodLiteral<"mcp">;
24352
24350
  mcp: z.ZodObject<{
@@ -24373,7 +24371,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24373
24371
  prompt: z.ZodOptional<z.ZodString>;
24374
24372
  }, z.core.$strip>;
24375
24373
  }, z.core.$strip>;
24374
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24376
24375
  credentialScope: z.ZodOptional<z.ZodString>;
24376
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24377
24377
  imageUrl: z.ZodOptional<z.ZodString>;
24378
24378
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
24379
24379
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24383,8 +24383,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24383
24383
  id: z.ZodString;
24384
24384
  name: z.ZodString;
24385
24385
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24386
- baseUrl: z.ZodURL;
24387
24386
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24387
+ baseUrl: z.ZodURL;
24388
24388
  }, z.core.$strip>>>;
24389
24389
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24390
24390
  id: z.ZodString;
@@ -24404,18 +24404,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24404
24404
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24405
24405
  }, z.core.$strip>>>;
24406
24406
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24407
- enabled: z.ZodOptional<z.ZodBoolean>;
24408
24407
  id: z.ZodOptional<z.ZodString>;
24409
24408
  name: z.ZodString;
24410
24409
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24410
+ enabled: z.ZodOptional<z.ZodBoolean>;
24411
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24412
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24413
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24411
24414
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24412
24415
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24413
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24414
24416
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24415
24417
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24416
24418
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24417
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24418
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24419
24419
  }, z.core.$strip>>>;
24420
24420
  contextConfig: z.ZodOptional<z.ZodObject<{
24421
24421
  id: z.ZodOptional<z.ZodString>;
@@ -24466,8 +24466,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24466
24466
  id: z.ZodString;
24467
24467
  name: z.ZodString;
24468
24468
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24469
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24470
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24471
24469
  config: z.ZodObject<{
24472
24470
  type: z.ZodLiteral<"mcp">;
24473
24471
  mcp: z.ZodObject<{
@@ -24494,7 +24492,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24494
24492
  prompt: z.ZodOptional<z.ZodString>;
24495
24493
  }, z.core.$strip>;
24496
24494
  }, z.core.$strip>;
24495
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24497
24496
  credentialScope: z.ZodOptional<z.ZodString>;
24497
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24498
24498
  imageUrl: z.ZodOptional<z.ZodString>;
24499
24499
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
24500
24500
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24598,8 +24598,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24598
24598
  id: z.ZodString;
24599
24599
  name: z.ZodString;
24600
24600
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24601
- baseUrl: z.ZodURL;
24602
24601
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24602
+ baseUrl: z.ZodURL;
24603
24603
  }, z.core.$strip>>>;
24604
24604
  statusUpdates: z.ZodOptional<z.ZodObject<{
24605
24605
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -25009,8 +25009,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25009
25009
  createdAt: z.ZodString;
25010
25010
  updatedAt: z.ZodString;
25011
25011
  description: z.ZodNullable<z.ZodString>;
25012
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25013
- credentialReferenceId: z.ZodNullable<z.ZodString>;
25014
25012
  config: z.ZodType<{
25015
25013
  type: "mcp";
25016
25014
  mcp: ToolMcpConfig;
@@ -25024,7 +25022,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25024
25022
  type: "mcp";
25025
25023
  mcp: ToolMcpConfig;
25026
25024
  }>>;
25025
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
25027
25026
  credentialScope: z.ZodString;
25027
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25028
25028
  imageUrl: z.ZodNullable<z.ZodString>;
25029
25029
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
25030
25030
  lastError: z.ZodNullable<z.ZodString>;
@@ -25036,8 +25036,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25036
25036
  createdAt: z.ZodString;
25037
25037
  updatedAt: z.ZodString;
25038
25038
  description: z.ZodNullable<z.ZodString>;
25039
- baseUrl: z.ZodString;
25040
25039
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25040
+ baseUrl: z.ZodString;
25041
25041
  }, z.core.$strip>>>;
25042
25042
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25043
25043
  id: z.ZodString;
@@ -25124,8 +25124,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25124
25124
  createdAt: z.ZodString;
25125
25125
  updatedAt: z.ZodString;
25126
25126
  description: z.ZodNullable<z.ZodString>;
25127
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25128
- credentialReferenceId: z.ZodNullable<z.ZodString>;
25129
25127
  config: z.ZodType<{
25130
25128
  type: "mcp";
25131
25129
  mcp: ToolMcpConfig;
@@ -25139,7 +25137,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25139
25137
  type: "mcp";
25140
25138
  mcp: ToolMcpConfig;
25141
25139
  }>>;
25140
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
25142
25141
  credentialScope: z.ZodString;
25142
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25143
25143
  imageUrl: z.ZodNullable<z.ZodString>;
25144
25144
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
25145
25145
  lastError: z.ZodNullable<z.ZodString>;
@@ -25151,8 +25151,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25151
25151
  createdAt: z.ZodString;
25152
25152
  updatedAt: z.ZodString;
25153
25153
  description: z.ZodNullable<z.ZodString>;
25154
- baseUrl: z.ZodString;
25155
25154
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25155
+ baseUrl: z.ZodString;
25156
25156
  }, z.core.$strip>>>;
25157
25157
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25158
25158
  id: z.ZodString;
@@ -25509,8 +25509,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25509
25509
  createdAt: z.ZodString;
25510
25510
  updatedAt: z.ZodString;
25511
25511
  description: z.ZodNullable<z.ZodString>;
25512
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25513
- credentialReferenceId: z.ZodNullable<z.ZodString>;
25514
25512
  config: z.ZodType<{
25515
25513
  type: "mcp";
25516
25514
  mcp: ToolMcpConfig;
@@ -25524,7 +25522,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25524
25522
  type: "mcp";
25525
25523
  mcp: ToolMcpConfig;
25526
25524
  }>>;
25525
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
25527
25526
  credentialScope: z.ZodString;
25527
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25528
25528
  imageUrl: z.ZodNullable<z.ZodString>;
25529
25529
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
25530
25530
  lastError: z.ZodNullable<z.ZodString>;
@@ -25536,8 +25536,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25536
25536
  createdAt: z.ZodString;
25537
25537
  updatedAt: z.ZodString;
25538
25538
  description: z.ZodNullable<z.ZodString>;
25539
- baseUrl: z.ZodString;
25540
25539
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25540
+ baseUrl: z.ZodString;
25541
25541
  }, z.core.$strip>>>;
25542
25542
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25543
25543
  id: z.ZodString;
@@ -25615,8 +25615,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25615
25615
  createdAt: z.ZodString;
25616
25616
  updatedAt: z.ZodString;
25617
25617
  description: z.ZodNullable<z.ZodString>;
25618
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25619
- credentialReferenceId: z.ZodNullable<z.ZodString>;
25620
25618
  config: z.ZodType<{
25621
25619
  type: "mcp";
25622
25620
  mcp: ToolMcpConfig;
@@ -25630,7 +25628,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25630
25628
  type: "mcp";
25631
25629
  mcp: ToolMcpConfig;
25632
25630
  }>>;
25631
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
25633
25632
  credentialScope: z.ZodString;
25633
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25634
25634
  imageUrl: z.ZodNullable<z.ZodString>;
25635
25635
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
25636
25636
  lastError: z.ZodNullable<z.ZodString>;
@@ -25758,8 +25758,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25758
25758
  createdAt: z.ZodString;
25759
25759
  updatedAt: z.ZodString;
25760
25760
  description: z.ZodNullable<z.ZodString>;
25761
- baseUrl: z.ZodString;
25762
25761
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25762
+ baseUrl: z.ZodString;
25763
25763
  }, z.core.$strip>>>;
25764
25764
  statusUpdates: z.ZodNullable<z.ZodObject<{
25765
25765
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26408,8 +26408,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26408
26408
  createdAt: z.ZodString;
26409
26409
  updatedAt: z.ZodString;
26410
26410
  description: z.ZodNullable<z.ZodString>;
26411
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26412
- credentialReferenceId: z.ZodNullable<z.ZodString>;
26413
26411
  config: z.ZodType<{
26414
26412
  type: "mcp";
26415
26413
  mcp: ToolMcpConfig;
@@ -26423,7 +26421,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26423
26421
  type: "mcp";
26424
26422
  mcp: ToolMcpConfig;
26425
26423
  }>>;
26424
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
26426
26425
  credentialScope: z.ZodString;
26426
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26427
26427
  imageUrl: z.ZodNullable<z.ZodString>;
26428
26428
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
26429
26429
  lastError: z.ZodNullable<z.ZodString>;
@@ -26551,8 +26551,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26551
26551
  createdAt: z.ZodString;
26552
26552
  updatedAt: z.ZodString;
26553
26553
  description: z.ZodNullable<z.ZodString>;
26554
- baseUrl: z.ZodString;
26555
26554
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26555
+ baseUrl: z.ZodString;
26556
26556
  }, z.core.$strip>>>;
26557
26557
  statusUpdates: z.ZodNullable<z.ZodObject<{
26558
26558
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -27176,8 +27176,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27176
27176
  createdAt: z.ZodString;
27177
27177
  updatedAt: z.ZodString;
27178
27178
  description: z.ZodNullable<z.ZodString>;
27179
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27180
- credentialReferenceId: z.ZodNullable<z.ZodString>;
27181
27179
  config: z.ZodType<{
27182
27180
  type: "mcp";
27183
27181
  mcp: ToolMcpConfig;
@@ -27191,7 +27189,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27191
27189
  type: "mcp";
27192
27190
  mcp: ToolMcpConfig;
27193
27191
  }>>;
27192
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
27194
27193
  credentialScope: z.ZodString;
27194
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27195
27195
  imageUrl: z.ZodNullable<z.ZodString>;
27196
27196
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
27197
27197
  lastError: z.ZodNullable<z.ZodString>;
@@ -27203,8 +27203,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27203
27203
  createdAt: z.ZodString;
27204
27204
  updatedAt: z.ZodString;
27205
27205
  description: z.ZodNullable<z.ZodString>;
27206
- baseUrl: z.ZodString;
27207
27206
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27207
+ baseUrl: z.ZodString;
27208
27208
  }, z.core.$strip>>>;
27209
27209
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27210
27210
  id: z.ZodString;
@@ -27523,6 +27523,7 @@ declare const SubAgentResponse: z.ZodObject<{
27523
27523
  allowedProviders?: string[] | undefined;
27524
27524
  } | undefined;
27525
27525
  }>>>;
27526
+ prompt: z.ZodNullable<z.ZodString>;
27526
27527
  stopWhen: z.ZodNullable<z.ZodType<{
27527
27528
  stepCountIs?: number | undefined;
27528
27529
  }, {
@@ -27532,7 +27533,6 @@ declare const SubAgentResponse: z.ZodObject<{
27532
27533
  }, {
27533
27534
  stepCountIs?: number | undefined;
27534
27535
  }>>>;
27535
- prompt: z.ZodNullable<z.ZodString>;
27536
27536
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27537
27537
  }, z.core.$strip>;
27538
27538
  }, z.core.$strip>;
@@ -27543,6 +27543,8 @@ declare const AgentResponse: z.ZodObject<{
27543
27543
  createdAt: z.ZodString;
27544
27544
  updatedAt: z.ZodString;
27545
27545
  description: z.ZodNullable<z.ZodString>;
27546
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
27547
+ contextConfigId: z.ZodNullable<z.ZodString>;
27546
27548
  models: z.ZodNullable<z.ZodType<{
27547
27549
  base?: {
27548
27550
  model?: string | undefined;
@@ -27620,17 +27622,6 @@ declare const AgentResponse: z.ZodObject<{
27620
27622
  allowedProviders?: string[] | undefined;
27621
27623
  } | undefined;
27622
27624
  }>>>;
27623
- stopWhen: z.ZodNullable<z.ZodType<{
27624
- transferCountIs?: number | undefined;
27625
- }, {
27626
- transferCountIs?: number | undefined;
27627
- }, z.core.$ZodTypeInternals<{
27628
- transferCountIs?: number | undefined;
27629
- }, {
27630
- transferCountIs?: number | undefined;
27631
- }>>>;
27632
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
27633
- contextConfigId: z.ZodNullable<z.ZodString>;
27634
27625
  prompt: z.ZodNullable<z.ZodString>;
27635
27626
  statusUpdates: z.ZodNullable<z.ZodType<{
27636
27627
  enabled?: boolean | undefined;
@@ -27689,6 +27680,15 @@ declare const AgentResponse: z.ZodObject<{
27689
27680
  } | undefined;
27690
27681
  }[] | undefined;
27691
27682
  }>>>;
27683
+ stopWhen: z.ZodNullable<z.ZodType<{
27684
+ transferCountIs?: number | undefined;
27685
+ }, {
27686
+ transferCountIs?: number | undefined;
27687
+ }, z.core.$ZodTypeInternals<{
27688
+ transferCountIs?: number | undefined;
27689
+ }, {
27690
+ transferCountIs?: number | undefined;
27691
+ }>>>;
27692
27692
  executionMode: z.ZodString;
27693
27693
  }, z.core.$strip>;
27694
27694
  }, z.core.$strip>;
@@ -27699,8 +27699,8 @@ declare const ExternalAgentResponse: z.ZodObject<{
27699
27699
  createdAt: z.ZodString;
27700
27700
  updatedAt: z.ZodString;
27701
27701
  description: z.ZodNullable<z.ZodString>;
27702
- baseUrl: z.ZodString;
27703
27702
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27703
+ baseUrl: z.ZodString;
27704
27704
  }, z.core.$strip>;
27705
27705
  }, z.core.$strip>;
27706
27706
  declare const ContextConfigResponse: z.ZodObject<{
@@ -28461,9 +28461,9 @@ declare const SubAgentRelationResponse: z.ZodObject<{
28461
28461
  id: z.ZodString;
28462
28462
  createdAt: z.ZodString;
28463
28463
  updatedAt: z.ZodString;
28464
+ relationType: z.ZodNullable<z.ZodString>;
28464
28465
  sourceSubAgentId: z.ZodString;
28465
28466
  targetSubAgentId: z.ZodNullable<z.ZodString>;
28466
- relationType: z.ZodNullable<z.ZodString>;
28467
28467
  }, z.core.$strip>;
28468
28468
  }, z.core.$strip>;
28469
28469
  declare const SubAgentToolRelationResponse: z.ZodObject<{
@@ -28471,24 +28471,26 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
28471
28471
  id: z.ZodString;
28472
28472
  createdAt: z.ZodString;
28473
28473
  updatedAt: z.ZodString;
28474
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28475
28474
  subAgentId: z.ZodString;
28476
28475
  toolId: z.ZodString;
28476
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28477
28477
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28478
28478
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28479
28479
  }, z.core.$strip>;
28480
28480
  }, z.core.$strip>;
28481
28481
  declare const TriggerResponse: z.ZodObject<{
28482
28482
  data: z.ZodObject<{
28483
- enabled: z.ZodBoolean;
28484
28483
  id: z.ZodString;
28485
28484
  name: z.ZodString;
28486
28485
  createdAt: z.ZodString;
28487
28486
  updatedAt: z.ZodString;
28488
28487
  description: z.ZodNullable<z.ZodString>;
28488
+ enabled: z.ZodBoolean;
28489
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28490
+ messageTemplate: z.ZodNullable<z.ZodString>;
28491
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28489
28492
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28490
28493
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28491
- messageTemplate: z.ZodNullable<z.ZodString>;
28492
28494
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28493
28495
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28494
28496
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -28506,8 +28508,8 @@ declare const TriggerResponse: z.ZodObject<{
28506
28508
  signature: z.ZodObject<{
28507
28509
  source: z.ZodEnum<{
28508
28510
  query: "query";
28509
- body: "body";
28510
28511
  header: "header";
28512
+ body: "body";
28511
28513
  }>;
28512
28514
  key: z.ZodString;
28513
28515
  prefix: z.ZodOptional<z.ZodString>;
@@ -28516,8 +28518,8 @@ declare const TriggerResponse: z.ZodObject<{
28516
28518
  signedComponents: z.ZodArray<z.ZodObject<{
28517
28519
  source: z.ZodEnum<{
28518
28520
  literal: "literal";
28519
- body: "body";
28520
28521
  header: "header";
28522
+ body: "body";
28521
28523
  }>;
28522
28524
  key: z.ZodOptional<z.ZodString>;
28523
28525
  value: z.ZodOptional<z.ZodString>;
@@ -28536,8 +28538,6 @@ declare const TriggerResponse: z.ZodObject<{
28536
28538
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
28537
28539
  }, z.core.$strip>>;
28538
28540
  }, z.core.$strip>>>;
28539
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28540
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28541
28541
  }, z.core.$strip>;
28542
28542
  }, z.core.$strip>;
28543
28543
  declare const TriggerInvocationResponse: z.ZodObject<{
@@ -28687,6 +28687,7 @@ declare const SubAgentListResponse: z.ZodObject<{
28687
28687
  allowedProviders?: string[] | undefined;
28688
28688
  } | undefined;
28689
28689
  }>>>;
28690
+ prompt: z.ZodNullable<z.ZodString>;
28690
28691
  stopWhen: z.ZodNullable<z.ZodType<{
28691
28692
  stepCountIs?: number | undefined;
28692
28693
  }, {
@@ -28696,7 +28697,6 @@ declare const SubAgentListResponse: z.ZodObject<{
28696
28697
  }, {
28697
28698
  stepCountIs?: number | undefined;
28698
28699
  }>>>;
28699
- prompt: z.ZodNullable<z.ZodString>;
28700
28700
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28701
28701
  }, z.core.$strip>>;
28702
28702
  pagination: z.ZodObject<{
@@ -28713,6 +28713,8 @@ declare const AgentListResponse: z.ZodObject<{
28713
28713
  createdAt: z.ZodString;
28714
28714
  updatedAt: z.ZodString;
28715
28715
  description: z.ZodNullable<z.ZodString>;
28716
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28717
+ contextConfigId: z.ZodNullable<z.ZodString>;
28716
28718
  models: z.ZodNullable<z.ZodType<{
28717
28719
  base?: {
28718
28720
  model?: string | undefined;
@@ -28790,17 +28792,6 @@ declare const AgentListResponse: z.ZodObject<{
28790
28792
  allowedProviders?: string[] | undefined;
28791
28793
  } | undefined;
28792
28794
  }>>>;
28793
- stopWhen: z.ZodNullable<z.ZodType<{
28794
- transferCountIs?: number | undefined;
28795
- }, {
28796
- transferCountIs?: number | undefined;
28797
- }, z.core.$ZodTypeInternals<{
28798
- transferCountIs?: number | undefined;
28799
- }, {
28800
- transferCountIs?: number | undefined;
28801
- }>>>;
28802
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28803
- contextConfigId: z.ZodNullable<z.ZodString>;
28804
28795
  prompt: z.ZodNullable<z.ZodString>;
28805
28796
  statusUpdates: z.ZodNullable<z.ZodType<{
28806
28797
  enabled?: boolean | undefined;
@@ -28859,6 +28850,15 @@ declare const AgentListResponse: z.ZodObject<{
28859
28850
  } | undefined;
28860
28851
  }[] | undefined;
28861
28852
  }>>>;
28853
+ stopWhen: z.ZodNullable<z.ZodType<{
28854
+ transferCountIs?: number | undefined;
28855
+ }, {
28856
+ transferCountIs?: number | undefined;
28857
+ }, z.core.$ZodTypeInternals<{
28858
+ transferCountIs?: number | undefined;
28859
+ }, {
28860
+ transferCountIs?: number | undefined;
28861
+ }>>>;
28862
28862
  executionMode: z.ZodString;
28863
28863
  }, z.core.$strip>>;
28864
28864
  pagination: z.ZodObject<{
@@ -28875,8 +28875,8 @@ declare const ExternalAgentListResponse: z.ZodObject<{
28875
28875
  createdAt: z.ZodString;
28876
28876
  updatedAt: z.ZodString;
28877
28877
  description: z.ZodNullable<z.ZodString>;
28878
- baseUrl: z.ZodString;
28879
28878
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28879
+ baseUrl: z.ZodString;
28880
28880
  }, z.core.$strip>>;
28881
28881
  pagination: z.ZodObject<{
28882
28882
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -28924,15 +28924,15 @@ declare const ApiKeyListResponse: z.ZodObject<{
28924
28924
  }, z.core.$strip>;
28925
28925
  declare const AppResponse: z.ZodObject<{
28926
28926
  data: z.ZodObject<{
28927
- enabled: z.ZodBoolean;
28928
28927
  id: z.ZodString;
28929
28928
  name: z.ZodString;
28930
28929
  createdAt: z.ZodString;
28931
28930
  updatedAt: z.ZodString;
28931
+ tenantId: z.ZodNullable<z.ZodString>;
28932
+ projectId: z.ZodNullable<z.ZodString>;
28932
28933
  description: z.ZodNullable<z.ZodString>;
28933
28934
  type: z.ZodString;
28934
- projectId: z.ZodNullable<z.ZodString>;
28935
- tenantId: z.ZodNullable<z.ZodString>;
28935
+ enabled: z.ZodBoolean;
28936
28936
  prompt: z.ZodNullable<z.ZodString>;
28937
28937
  lastUsedAt: z.ZodNullable<z.ZodString>;
28938
28938
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -28969,15 +28969,15 @@ declare const AppResponse: z.ZodObject<{
28969
28969
  }, z.core.$strip>;
28970
28970
  declare const AppListResponse: z.ZodObject<{
28971
28971
  data: z.ZodArray<z.ZodObject<{
28972
- enabled: z.ZodBoolean;
28973
28972
  id: z.ZodString;
28974
28973
  name: z.ZodString;
28975
28974
  createdAt: z.ZodString;
28976
28975
  updatedAt: z.ZodString;
28976
+ tenantId: z.ZodNullable<z.ZodString>;
28977
+ projectId: z.ZodNullable<z.ZodString>;
28977
28978
  description: z.ZodNullable<z.ZodString>;
28978
28979
  type: z.ZodString;
28979
- projectId: z.ZodNullable<z.ZodString>;
28980
- tenantId: z.ZodNullable<z.ZodString>;
28980
+ enabled: z.ZodBoolean;
28981
28981
  prompt: z.ZodNullable<z.ZodString>;
28982
28982
  lastUsedAt: z.ZodNullable<z.ZodString>;
28983
28983
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -29787,9 +29787,9 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
29787
29787
  id: z.ZodString;
29788
29788
  createdAt: z.ZodString;
29789
29789
  updatedAt: z.ZodString;
29790
+ relationType: z.ZodNullable<z.ZodString>;
29790
29791
  sourceSubAgentId: z.ZodString;
29791
29792
  targetSubAgentId: z.ZodNullable<z.ZodString>;
29792
- relationType: z.ZodNullable<z.ZodString>;
29793
29793
  }, z.core.$strip>>;
29794
29794
  pagination: z.ZodObject<{
29795
29795
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29803,9 +29803,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
29803
29803
  id: z.ZodString;
29804
29804
  createdAt: z.ZodString;
29805
29805
  updatedAt: z.ZodString;
29806
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29807
29806
  subAgentId: z.ZodString;
29808
29807
  toolId: z.ZodString;
29808
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29809
29809
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29810
29810
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29811
29811
  }, z.core.$strip>>;
@@ -29818,15 +29818,17 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
29818
29818
  }, z.core.$strip>;
29819
29819
  declare const TriggerListResponse: z.ZodObject<{
29820
29820
  data: z.ZodArray<z.ZodObject<{
29821
- enabled: z.ZodBoolean;
29822
29821
  id: z.ZodString;
29823
29822
  name: z.ZodString;
29824
29823
  createdAt: z.ZodString;
29825
29824
  updatedAt: z.ZodString;
29826
29825
  description: z.ZodNullable<z.ZodString>;
29826
+ enabled: z.ZodBoolean;
29827
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29828
+ messageTemplate: z.ZodNullable<z.ZodString>;
29829
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29827
29830
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29828
29831
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29829
- messageTemplate: z.ZodNullable<z.ZodString>;
29830
29832
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29831
29833
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29832
29834
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -29844,8 +29846,8 @@ declare const TriggerListResponse: z.ZodObject<{
29844
29846
  signature: z.ZodObject<{
29845
29847
  source: z.ZodEnum<{
29846
29848
  query: "query";
29847
- body: "body";
29848
29849
  header: "header";
29850
+ body: "body";
29849
29851
  }>;
29850
29852
  key: z.ZodString;
29851
29853
  prefix: z.ZodOptional<z.ZodString>;
@@ -29854,8 +29856,8 @@ declare const TriggerListResponse: z.ZodObject<{
29854
29856
  signedComponents: z.ZodArray<z.ZodObject<{
29855
29857
  source: z.ZodEnum<{
29856
29858
  literal: "literal";
29857
- body: "body";
29858
29859
  header: "header";
29860
+ body: "body";
29859
29861
  }>;
29860
29862
  key: z.ZodOptional<z.ZodString>;
29861
29863
  value: z.ZodOptional<z.ZodString>;
@@ -29874,8 +29876,6 @@ declare const TriggerListResponse: z.ZodObject<{
29874
29876
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
29875
29877
  }, z.core.$strip>>;
29876
29878
  }, z.core.$strip>>>;
29877
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29878
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29879
29879
  }, z.core.$strip>>;
29880
29880
  pagination: z.ZodObject<{
29881
29881
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -29913,15 +29913,17 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
29913
29913
  }, z.core.$strip>;
29914
29914
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29915
29915
  data: z.ZodObject<{
29916
- enabled: z.ZodBoolean;
29917
29916
  id: z.ZodString;
29918
29917
  name: z.ZodString;
29919
29918
  createdAt: z.ZodString;
29920
29919
  updatedAt: z.ZodString;
29921
29920
  description: z.ZodNullable<z.ZodString>;
29921
+ enabled: z.ZodBoolean;
29922
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29923
+ messageTemplate: z.ZodNullable<z.ZodString>;
29924
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29922
29925
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29923
29926
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29924
- messageTemplate: z.ZodNullable<z.ZodString>;
29925
29927
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29926
29928
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29927
29929
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -29939,8 +29941,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29939
29941
  signature: z.ZodObject<{
29940
29942
  source: z.ZodEnum<{
29941
29943
  query: "query";
29942
- body: "body";
29943
29944
  header: "header";
29945
+ body: "body";
29944
29946
  }>;
29945
29947
  key: z.ZodString;
29946
29948
  prefix: z.ZodOptional<z.ZodString>;
@@ -29949,8 +29951,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29949
29951
  signedComponents: z.ZodArray<z.ZodObject<{
29950
29952
  source: z.ZodEnum<{
29951
29953
  literal: "literal";
29952
- body: "body";
29953
29954
  header: "header";
29955
+ body: "body";
29954
29956
  }>;
29955
29957
  key: z.ZodOptional<z.ZodString>;
29956
29958
  value: z.ZodOptional<z.ZodString>;
@@ -29969,22 +29971,22 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29969
29971
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
29970
29972
  }, z.core.$strip>>;
29971
29973
  }, z.core.$strip>>>;
29972
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29973
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29974
29974
  webhookUrl: z.ZodString;
29975
29975
  }, z.core.$strip>;
29976
29976
  }, z.core.$strip>;
29977
29977
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
29978
29978
  data: z.ZodObject<{
29979
- enabled: z.ZodBoolean;
29980
29979
  id: z.ZodString;
29981
29980
  name: z.ZodString;
29982
29981
  createdAt: z.ZodString;
29983
29982
  updatedAt: z.ZodString;
29984
29983
  description: z.ZodNullable<z.ZodString>;
29984
+ enabled: z.ZodBoolean;
29985
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29986
+ messageTemplate: z.ZodNullable<z.ZodString>;
29987
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29985
29988
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29986
29989
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29987
- messageTemplate: z.ZodNullable<z.ZodString>;
29988
29990
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29989
29991
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29990
29992
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -30002,8 +30004,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30002
30004
  signature: z.ZodObject<{
30003
30005
  source: z.ZodEnum<{
30004
30006
  query: "query";
30005
- body: "body";
30006
30007
  header: "header";
30008
+ body: "body";
30007
30009
  }>;
30008
30010
  key: z.ZodString;
30009
30011
  prefix: z.ZodOptional<z.ZodString>;
@@ -30012,8 +30014,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30012
30014
  signedComponents: z.ZodArray<z.ZodObject<{
30013
30015
  source: z.ZodEnum<{
30014
30016
  literal: "literal";
30015
- body: "body";
30016
30017
  header: "header";
30018
+ body: "body";
30017
30019
  }>;
30018
30020
  key: z.ZodOptional<z.ZodString>;
30019
30021
  value: z.ZodOptional<z.ZodString>;
@@ -30032,23 +30034,23 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30032
30034
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
30033
30035
  }, z.core.$strip>>;
30034
30036
  }, z.core.$strip>>>;
30035
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30036
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30037
30037
  webhookUrl: z.ZodString;
30038
30038
  }, z.core.$strip>;
30039
30039
  warning: z.ZodOptional<z.ZodString>;
30040
30040
  }, z.core.$strip>;
30041
30041
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30042
30042
  data: z.ZodArray<z.ZodObject<{
30043
- enabled: z.ZodBoolean;
30044
30043
  id: z.ZodString;
30045
30044
  name: z.ZodString;
30046
30045
  createdAt: z.ZodString;
30047
30046
  updatedAt: z.ZodString;
30048
30047
  description: z.ZodNullable<z.ZodString>;
30048
+ enabled: z.ZodBoolean;
30049
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30050
+ messageTemplate: z.ZodNullable<z.ZodString>;
30051
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30049
30052
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30050
30053
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30051
- messageTemplate: z.ZodNullable<z.ZodString>;
30052
30054
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30053
30055
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30054
30056
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -30066,8 +30068,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30066
30068
  signature: z.ZodObject<{
30067
30069
  source: z.ZodEnum<{
30068
30070
  query: "query";
30069
- body: "body";
30070
30071
  header: "header";
30072
+ body: "body";
30071
30073
  }>;
30072
30074
  key: z.ZodString;
30073
30075
  prefix: z.ZodOptional<z.ZodString>;
@@ -30076,8 +30078,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30076
30078
  signedComponents: z.ZodArray<z.ZodObject<{
30077
30079
  source: z.ZodEnum<{
30078
30080
  literal: "literal";
30079
- body: "body";
30080
30081
  header: "header";
30082
+ body: "body";
30081
30083
  }>;
30082
30084
  key: z.ZodOptional<z.ZodString>;
30083
30085
  value: z.ZodOptional<z.ZodString>;
@@ -30096,8 +30098,6 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30096
30098
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
30097
30099
  }, z.core.$strip>>;
30098
30100
  }, z.core.$strip>>>;
30099
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30100
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30101
30101
  webhookUrl: z.ZodString;
30102
30102
  }, z.core.$strip>>;
30103
30103
  pagination: z.ZodObject<{
@@ -30108,23 +30108,23 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30108
30108
  }, z.core.$strip>;
30109
30109
  }, z.core.$strip>;
30110
30110
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30111
- enabled: z.ZodBoolean;
30112
30111
  id: z.ZodString;
30113
30112
  name: z.ZodString;
30114
30113
  createdAt: z.ZodString;
30115
30114
  updatedAt: z.ZodString;
30116
30115
  ref: z.ZodString;
30117
30116
  description: z.ZodNullable<z.ZodString>;
30118
- messageTemplate: z.ZodNullable<z.ZodString>;
30119
- runAsUserId: z.ZodNullable<z.ZodString>;
30117
+ enabled: z.ZodBoolean;
30120
30118
  createdBy: z.ZodNullable<z.ZodString>;
30121
30119
  cronExpression: z.ZodNullable<z.ZodString>;
30122
30120
  cronTimezone: z.ZodNullable<z.ZodString>;
30123
30121
  runAt: z.ZodNullable<z.ZodString>;
30124
30122
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30123
+ messageTemplate: z.ZodNullable<z.ZodString>;
30125
30124
  maxRetries: z.ZodInt;
30126
30125
  retryDelaySeconds: z.ZodInt;
30127
30126
  timeoutSeconds: z.ZodInt;
30127
+ runAsUserId: z.ZodNullable<z.ZodString>;
30128
30128
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
30129
30129
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
30130
30130
  completed: "completed";
@@ -30136,45 +30136,45 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30136
30136
  type ScheduledTriggerWithRunInfo = z.infer<typeof ScheduledTriggerWithRunInfoSchema>;
30137
30137
  declare const ScheduledTriggerResponse: z.ZodObject<{
30138
30138
  data: z.ZodObject<{
30139
- enabled: z.ZodBoolean;
30140
30139
  id: z.ZodString;
30141
30140
  name: z.ZodString;
30142
30141
  createdAt: z.ZodString;
30143
30142
  updatedAt: z.ZodString;
30144
30143
  ref: z.ZodString;
30145
30144
  description: z.ZodNullable<z.ZodString>;
30146
- messageTemplate: z.ZodNullable<z.ZodString>;
30147
- runAsUserId: z.ZodNullable<z.ZodString>;
30145
+ enabled: z.ZodBoolean;
30148
30146
  createdBy: z.ZodNullable<z.ZodString>;
30149
30147
  cronExpression: z.ZodNullable<z.ZodString>;
30150
30148
  cronTimezone: z.ZodNullable<z.ZodString>;
30151
30149
  runAt: z.ZodNullable<z.ZodString>;
30152
30150
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30151
+ messageTemplate: z.ZodNullable<z.ZodString>;
30153
30152
  maxRetries: z.ZodInt;
30154
30153
  retryDelaySeconds: z.ZodInt;
30155
30154
  timeoutSeconds: z.ZodInt;
30155
+ runAsUserId: z.ZodNullable<z.ZodString>;
30156
30156
  nextRunAt: z.ZodNullable<z.ZodString>;
30157
30157
  }, z.core.$strip>;
30158
30158
  }, z.core.$strip>;
30159
30159
  declare const ScheduledTriggerListResponse: z.ZodObject<{
30160
30160
  data: z.ZodArray<z.ZodObject<{
30161
- enabled: z.ZodBoolean;
30162
30161
  id: z.ZodString;
30163
30162
  name: z.ZodString;
30164
30163
  createdAt: z.ZodString;
30165
30164
  updatedAt: z.ZodString;
30166
30165
  ref: z.ZodString;
30167
30166
  description: z.ZodNullable<z.ZodString>;
30168
- messageTemplate: z.ZodNullable<z.ZodString>;
30169
- runAsUserId: z.ZodNullable<z.ZodString>;
30167
+ enabled: z.ZodBoolean;
30170
30168
  createdBy: z.ZodNullable<z.ZodString>;
30171
30169
  cronExpression: z.ZodNullable<z.ZodString>;
30172
30170
  cronTimezone: z.ZodNullable<z.ZodString>;
30173
30171
  runAt: z.ZodNullable<z.ZodString>;
30174
30172
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30173
+ messageTemplate: z.ZodNullable<z.ZodString>;
30175
30174
  maxRetries: z.ZodInt;
30176
30175
  retryDelaySeconds: z.ZodInt;
30177
30176
  timeoutSeconds: z.ZodInt;
30177
+ runAsUserId: z.ZodNullable<z.ZodString>;
30178
30178
  nextRunAt: z.ZodNullable<z.ZodString>;
30179
30179
  }, z.core.$strip>>;
30180
30180
  pagination: z.ZodObject<{
@@ -30186,23 +30186,23 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
30186
30186
  }, z.core.$strip>;
30187
30187
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30188
30188
  data: z.ZodArray<z.ZodObject<{
30189
- enabled: z.ZodBoolean;
30190
30189
  id: z.ZodString;
30191
30190
  name: z.ZodString;
30192
30191
  createdAt: z.ZodString;
30193
30192
  updatedAt: z.ZodString;
30194
30193
  ref: z.ZodString;
30195
30194
  description: z.ZodNullable<z.ZodString>;
30196
- messageTemplate: z.ZodNullable<z.ZodString>;
30197
- runAsUserId: z.ZodNullable<z.ZodString>;
30195
+ enabled: z.ZodBoolean;
30198
30196
  createdBy: z.ZodNullable<z.ZodString>;
30199
30197
  cronExpression: z.ZodNullable<z.ZodString>;
30200
30198
  cronTimezone: z.ZodNullable<z.ZodString>;
30201
30199
  runAt: z.ZodNullable<z.ZodString>;
30202
30200
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30201
+ messageTemplate: z.ZodNullable<z.ZodString>;
30203
30202
  maxRetries: z.ZodInt;
30204
30203
  retryDelaySeconds: z.ZodInt;
30205
30204
  timeoutSeconds: z.ZodInt;
30205
+ runAsUserId: z.ZodNullable<z.ZodString>;
30206
30206
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
30207
30207
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
30208
30208
  completed: "completed";
@@ -30238,12 +30238,12 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
30238
30238
  failed: "failed";
30239
30239
  cancelled: "cancelled";
30240
30240
  }>;
30241
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30242
30241
  scheduledTriggerId: z.ZodString;
30243
30242
  scheduledFor: z.ZodString;
30244
30243
  startedAt: z.ZodNullable<z.ZodString>;
30245
30244
  completedAt: z.ZodNullable<z.ZodString>;
30246
30245
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30246
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30247
30247
  attemptNumber: z.ZodInt;
30248
30248
  idempotencyKey: z.ZodString;
30249
30249
  }, z.core.$strip>;
@@ -30268,12 +30268,12 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
30268
30268
  failed: "failed";
30269
30269
  cancelled: "cancelled";
30270
30270
  }>;
30271
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30272
30271
  scheduledTriggerId: z.ZodString;
30273
30272
  scheduledFor: z.ZodString;
30274
30273
  startedAt: z.ZodNullable<z.ZodString>;
30275
30274
  completedAt: z.ZodNullable<z.ZodString>;
30276
30275
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30276
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30277
30277
  attemptNumber: z.ZodInt;
30278
30278
  idempotencyKey: z.ZodString;
30279
30279
  }, z.core.$strip>>;
@@ -30399,8 +30399,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30399
30399
  id: z.ZodString;
30400
30400
  name: z.ZodString;
30401
30401
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30402
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30403
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30404
30402
  config: z.ZodObject<{
30405
30403
  type: z.ZodLiteral<"mcp">;
30406
30404
  mcp: z.ZodObject<{
@@ -30427,7 +30425,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30427
30425
  prompt: z.ZodOptional<z.ZodString>;
30428
30426
  }, z.core.$strip>;
30429
30427
  }, z.core.$strip>;
30428
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30430
30429
  credentialScope: z.ZodOptional<z.ZodString>;
30430
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30431
30431
  imageUrl: z.ZodOptional<z.ZodString>;
30432
30432
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
30433
30433
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30437,8 +30437,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30437
30437
  id: z.ZodString;
30438
30438
  name: z.ZodString;
30439
30439
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30440
- baseUrl: z.ZodURL;
30441
30440
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30441
+ baseUrl: z.ZodURL;
30442
30442
  }, z.core.$strip>>>;
30443
30443
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30444
30444
  id: z.ZodString;
@@ -30458,18 +30458,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30458
30458
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30459
30459
  }, z.core.$strip>>>;
30460
30460
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30461
- enabled: z.ZodOptional<z.ZodBoolean>;
30462
30461
  id: z.ZodOptional<z.ZodString>;
30463
30462
  name: z.ZodString;
30464
30463
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30464
+ enabled: z.ZodOptional<z.ZodBoolean>;
30465
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30466
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30467
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30465
30468
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
30466
30469
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
30467
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30468
30470
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
30469
30471
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30470
30472
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
30471
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30472
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30473
30473
  }, z.core.$strip>>>;
30474
30474
  contextConfig: z.ZodOptional<z.ZodObject<{
30475
30475
  id: z.ZodOptional<z.ZodString>;
@@ -30520,8 +30520,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30520
30520
  id: z.ZodString;
30521
30521
  name: z.ZodString;
30522
30522
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30523
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30524
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30525
30523
  config: z.ZodObject<{
30526
30524
  type: z.ZodLiteral<"mcp">;
30527
30525
  mcp: z.ZodObject<{
@@ -30548,7 +30546,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30548
30546
  prompt: z.ZodOptional<z.ZodString>;
30549
30547
  }, z.core.$strip>;
30550
30548
  }, z.core.$strip>;
30549
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30551
30550
  credentialScope: z.ZodOptional<z.ZodString>;
30551
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30552
30552
  imageUrl: z.ZodOptional<z.ZodString>;
30553
30553
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
30554
30554
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30652,8 +30652,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30652
30652
  id: z.ZodString;
30653
30653
  name: z.ZodString;
30654
30654
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30655
- baseUrl: z.ZodURL;
30656
30655
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30656
+ baseUrl: z.ZodURL;
30657
30657
  }, z.core.$strip>>>;
30658
30658
  statusUpdates: z.ZodOptional<z.ZodObject<{
30659
30659
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -30855,8 +30855,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30855
30855
  createdAt: z.ZodString;
30856
30856
  updatedAt: z.ZodString;
30857
30857
  description: z.ZodNullable<z.ZodString>;
30858
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30859
- credentialReferenceId: z.ZodNullable<z.ZodString>;
30860
30858
  config: z.ZodType<{
30861
30859
  type: "mcp";
30862
30860
  mcp: ToolMcpConfig;
@@ -30870,7 +30868,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30870
30868
  type: "mcp";
30871
30869
  mcp: ToolMcpConfig;
30872
30870
  }>>;
30871
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
30873
30872
  credentialScope: z.ZodString;
30873
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30874
30874
  imageUrl: z.ZodNullable<z.ZodString>;
30875
30875
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
30876
30876
  lastError: z.ZodNullable<z.ZodString>;
@@ -30882,8 +30882,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30882
30882
  createdAt: z.ZodString;
30883
30883
  updatedAt: z.ZodString;
30884
30884
  description: z.ZodNullable<z.ZodString>;
30885
- baseUrl: z.ZodString;
30886
30885
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30886
+ baseUrl: z.ZodString;
30887
30887
  }, z.core.$strip>>>;
30888
30888
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30889
30889
  id: z.ZodString;
@@ -30961,8 +30961,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30961
30961
  createdAt: z.ZodString;
30962
30962
  updatedAt: z.ZodString;
30963
30963
  description: z.ZodNullable<z.ZodString>;
30964
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30965
- credentialReferenceId: z.ZodNullable<z.ZodString>;
30966
30964
  config: z.ZodType<{
30967
30965
  type: "mcp";
30968
30966
  mcp: ToolMcpConfig;
@@ -30976,7 +30974,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30976
30974
  type: "mcp";
30977
30975
  mcp: ToolMcpConfig;
30978
30976
  }>>;
30977
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
30979
30978
  credentialScope: z.ZodString;
30979
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30980
30980
  imageUrl: z.ZodNullable<z.ZodString>;
30981
30981
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
30982
30982
  lastError: z.ZodNullable<z.ZodString>;
@@ -31104,8 +31104,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31104
31104
  createdAt: z.ZodString;
31105
31105
  updatedAt: z.ZodString;
31106
31106
  description: z.ZodNullable<z.ZodString>;
31107
- baseUrl: z.ZodString;
31108
31107
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31108
+ baseUrl: z.ZodString;
31109
31109
  }, z.core.$strip>>>;
31110
31110
  statusUpdates: z.ZodNullable<z.ZodObject<{
31111
31111
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -31756,8 +31756,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31756
31756
  createdAt: z.ZodString;
31757
31757
  updatedAt: z.ZodString;
31758
31758
  description: z.ZodNullable<z.ZodString>;
31759
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31760
- credentialReferenceId: z.ZodNullable<z.ZodString>;
31761
31759
  config: z.ZodType<{
31762
31760
  type: "mcp";
31763
31761
  mcp: ToolMcpConfig;
@@ -31771,7 +31769,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31771
31769
  type: "mcp";
31772
31770
  mcp: ToolMcpConfig;
31773
31771
  }>>;
31772
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
31774
31773
  credentialScope: z.ZodString;
31774
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31775
31775
  imageUrl: z.ZodNullable<z.ZodString>;
31776
31776
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
31777
31777
  lastError: z.ZodNullable<z.ZodString>;
@@ -31899,8 +31899,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31899
31899
  createdAt: z.ZodString;
31900
31900
  updatedAt: z.ZodString;
31901
31901
  description: z.ZodNullable<z.ZodString>;
31902
- baseUrl: z.ZodString;
31903
31902
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31903
+ baseUrl: z.ZodString;
31904
31904
  }, z.core.$strip>>>;
31905
31905
  statusUpdates: z.ZodNullable<z.ZodObject<{
31906
31906
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -32524,8 +32524,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32524
32524
  createdAt: z.ZodString;
32525
32525
  updatedAt: z.ZodString;
32526
32526
  description: z.ZodNullable<z.ZodString>;
32527
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32528
- credentialReferenceId: z.ZodNullable<z.ZodString>;
32529
32527
  config: z.ZodType<{
32530
32528
  type: "mcp";
32531
32529
  mcp: ToolMcpConfig;
@@ -32539,7 +32537,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32539
32537
  type: "mcp";
32540
32538
  mcp: ToolMcpConfig;
32541
32539
  }>>;
32540
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
32542
32541
  credentialScope: z.ZodString;
32542
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32543
32543
  imageUrl: z.ZodNullable<z.ZodString>;
32544
32544
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
32545
32545
  lastError: z.ZodNullable<z.ZodString>;
@@ -32551,8 +32551,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32551
32551
  createdAt: z.ZodString;
32552
32552
  updatedAt: z.ZodString;
32553
32553
  description: z.ZodNullable<z.ZodString>;
32554
- baseUrl: z.ZodString;
32555
32554
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32555
+ baseUrl: z.ZodString;
32556
32556
  }, z.core.$strip>>>;
32557
32557
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32558
32558
  id: z.ZodString;
@@ -32823,8 +32823,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32823
32823
  id: z.ZodString;
32824
32824
  name: z.ZodString;
32825
32825
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32826
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32827
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32828
32826
  config: z.ZodObject<{
32829
32827
  type: z.ZodLiteral<"mcp">;
32830
32828
  mcp: z.ZodObject<{
@@ -32851,7 +32849,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32851
32849
  prompt: z.ZodOptional<z.ZodString>;
32852
32850
  }, z.core.$strip>;
32853
32851
  }, z.core.$strip>;
32852
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32854
32853
  credentialScope: z.ZodOptional<z.ZodString>;
32854
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32855
32855
  imageUrl: z.ZodOptional<z.ZodString>;
32856
32856
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
32857
32857
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32861,8 +32861,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32861
32861
  id: z.ZodString;
32862
32862
  name: z.ZodString;
32863
32863
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32864
- baseUrl: z.ZodURL;
32865
32864
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32865
+ baseUrl: z.ZodURL;
32866
32866
  }, z.core.$strip>>>;
32867
32867
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32868
32868
  id: z.ZodString;
@@ -32882,18 +32882,18 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32882
32882
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
32883
32883
  }, z.core.$strip>>>;
32884
32884
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32885
- enabled: z.ZodOptional<z.ZodBoolean>;
32886
32885
  id: z.ZodOptional<z.ZodString>;
32887
32886
  name: z.ZodString;
32888
32887
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32888
+ enabled: z.ZodOptional<z.ZodBoolean>;
32889
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32890
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32891
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32889
32892
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
32890
32893
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
32891
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32892
32894
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
32893
32895
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32894
32896
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
32895
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32896
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32897
32897
  }, z.core.$strip>>>;
32898
32898
  contextConfig: z.ZodOptional<z.ZodObject<{
32899
32899
  id: z.ZodOptional<z.ZodString>;
@@ -33074,8 +33074,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33074
33074
  createdAt: z.ZodString;
33075
33075
  updatedAt: z.ZodString;
33076
33076
  description: z.ZodNullable<z.ZodString>;
33077
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33078
- credentialReferenceId: z.ZodNullable<z.ZodString>;
33079
33077
  config: z.ZodType<{
33080
33078
  type: "mcp";
33081
33079
  mcp: ToolMcpConfig;
@@ -33089,7 +33087,9 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33089
33087
  type: "mcp";
33090
33088
  mcp: ToolMcpConfig;
33091
33089
  }>>;
33090
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
33092
33091
  credentialScope: z.ZodString;
33092
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33093
33093
  imageUrl: z.ZodNullable<z.ZodString>;
33094
33094
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
33095
33095
  lastError: z.ZodNullable<z.ZodString>;
@@ -33101,8 +33101,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33101
33101
  createdAt: z.ZodString;
33102
33102
  updatedAt: z.ZodString;
33103
33103
  description: z.ZodNullable<z.ZodString>;
33104
- baseUrl: z.ZodString;
33105
33104
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33105
+ baseUrl: z.ZodString;
33106
33106
  }, z.core.$strip>>>;
33107
33107
  teamAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33108
33108
  id: z.ZodString;
@@ -33198,11 +33198,9 @@ declare const McpToolResponse: z.ZodObject<{
33198
33198
  data: z.ZodObject<{
33199
33199
  id: z.ZodString;
33200
33200
  name: z.ZodString;
33201
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33202
- projectId: z.ZodString;
33203
33201
  tenantId: z.ZodString;
33204
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33205
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33202
+ projectId: z.ZodString;
33203
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33206
33204
  config: z.ZodObject<{
33207
33205
  type: z.ZodLiteral<"mcp">;
33208
33206
  mcp: z.ZodObject<{
@@ -33229,7 +33227,9 @@ declare const McpToolResponse: z.ZodObject<{
33229
33227
  prompt: z.ZodOptional<z.ZodString>;
33230
33228
  }, z.core.$strip>;
33231
33229
  }, z.core.$strip>;
33230
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33232
33231
  credentialScope: z.ZodOptional<z.ZodString>;
33232
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33233
33233
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
33234
33234
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33235
33235
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
@@ -33259,11 +33259,9 @@ declare const McpToolListResponse: z.ZodObject<{
33259
33259
  data: z.ZodArray<z.ZodObject<{
33260
33260
  id: z.ZodString;
33261
33261
  name: z.ZodString;
33262
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33263
- projectId: z.ZodString;
33264
33262
  tenantId: z.ZodString;
33265
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33266
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33263
+ projectId: z.ZodString;
33264
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33267
33265
  config: z.ZodObject<{
33268
33266
  type: z.ZodLiteral<"mcp">;
33269
33267
  mcp: z.ZodObject<{
@@ -33290,7 +33288,9 @@ declare const McpToolListResponse: z.ZodObject<{
33290
33288
  prompt: z.ZodOptional<z.ZodString>;
33291
33289
  }, z.core.$strip>;
33292
33290
  }, z.core.$strip>;
33291
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33293
33292
  credentialScope: z.ZodOptional<z.ZodString>;
33293
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33294
33294
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
33295
33295
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33296
33296
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
@@ -33327,8 +33327,8 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
33327
33327
  id: z.ZodString;
33328
33328
  createdAt: z.ZodString;
33329
33329
  updatedAt: z.ZodString;
33330
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33331
33330
  subAgentId: z.ZodString;
33331
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33332
33332
  targetAgentId: z.ZodString;
33333
33333
  }, z.core.$strip>;
33334
33334
  }, z.core.$strip>;
@@ -33337,8 +33337,8 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
33337
33337
  id: z.ZodString;
33338
33338
  createdAt: z.ZodString;
33339
33339
  updatedAt: z.ZodString;
33340
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33341
33340
  subAgentId: z.ZodString;
33341
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33342
33342
  targetAgentId: z.ZodString;
33343
33343
  }, z.core.$strip>>;
33344
33344
  pagination: z.ZodObject<{
@@ -33353,8 +33353,8 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
33353
33353
  id: z.ZodString;
33354
33354
  createdAt: z.ZodString;
33355
33355
  updatedAt: z.ZodString;
33356
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33357
33356
  subAgentId: z.ZodString;
33357
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33358
33358
  externalAgentId: z.ZodString;
33359
33359
  }, z.core.$strip>;
33360
33360
  }, z.core.$strip>;
@@ -33363,8 +33363,8 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
33363
33363
  id: z.ZodString;
33364
33364
  createdAt: z.ZodString;
33365
33365
  updatedAt: z.ZodString;
33366
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33367
33366
  subAgentId: z.ZodString;
33367
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33368
33368
  externalAgentId: z.ZodString;
33369
33369
  }, z.core.$strip>>;
33370
33370
  pagination: z.ZodObject<{
@@ -33798,8 +33798,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
33798
33798
  disconnected: "disconnected";
33799
33799
  }>;
33800
33800
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
33801
- Organization: "Organization";
33802
33801
  User: "User";
33802
+ Organization: "Organization";
33803
33803
  }>;
33804
33804
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"select", {
33805
33805
  createdAt: drizzle_orm_pg_core928.PgColumn<{
@@ -33894,7 +33894,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"
33894
33894
  tableName: "work_app_github_installations";
33895
33895
  dataType: "string";
33896
33896
  columnType: "PgVarchar";
33897
- data: "Organization" | "User";
33897
+ data: "User" | "Organization";
33898
33898
  driverParam: string;
33899
33899
  notNull: true;
33900
33900
  hasDefault: false;
@@ -33907,7 +33907,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"
33907
33907
  generated: undefined;
33908
33908
  }, {}, {
33909
33909
  length: 20;
33910
- $type: "Organization" | "User";
33910
+ $type: "User" | "Organization";
33911
33911
  }>;
33912
33912
  status: drizzle_orm_pg_core928.PgColumn<{
33913
33913
  name: "status";
@@ -34060,7 +34060,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"
34060
34060
  tableName: "work_app_github_installations";
34061
34061
  dataType: "string";
34062
34062
  columnType: "PgVarchar";
34063
- data: "Organization" | "User";
34063
+ data: "User" | "Organization";
34064
34064
  driverParam: string;
34065
34065
  notNull: true;
34066
34066
  hasDefault: false;
@@ -34073,7 +34073,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"
34073
34073
  generated: undefined;
34074
34074
  }, {}, {
34075
34075
  length: 20;
34076
- $type: "Organization" | "User";
34076
+ $type: "User" | "Organization";
34077
34077
  }>;
34078
34078
  status: drizzle_orm_pg_core928.PgColumn<{
34079
34079
  name: "status";
@@ -34141,8 +34141,8 @@ declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
34141
34141
  installationId: z.ZodString;
34142
34142
  accountLogin: z.ZodString;
34143
34143
  accountType: z.ZodEnum<{
34144
- Organization: "Organization";
34145
34144
  User: "User";
34145
+ Organization: "Organization";
34146
34146
  }>;
34147
34147
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
34148
34148
  pending: "pending";
@@ -34176,8 +34176,8 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<{
34176
34176
  installationId: z.ZodString;
34177
34177
  accountLogin: z.ZodString;
34178
34178
  accountType: z.ZodEnum<{
34179
- Organization: "Organization";
34180
34179
  User: "User";
34180
+ Organization: "Organization";
34181
34181
  }>;
34182
34182
  }, z.core.$strip>;
34183
34183
  declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -36379,8 +36379,8 @@ declare const ChannelAccessModeSchema: z.ZodEnum<{
36379
36379
  selected: "selected";
36380
36380
  }>;
36381
36381
  declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{
36382
- projectId: z.ZodString;
36383
36382
  tenantId: z.ZodString;
36383
+ projectId: z.ZodString;
36384
36384
  toolId: z.ZodString;
36385
36385
  channelAccessMode: z.ZodEnum<{
36386
36386
  all: "all";
@@ -36671,8 +36671,8 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
36671
36671
  declare const WorkflowExecutionInsertSchema: z.ZodObject<{
36672
36672
  id: z.ZodString;
36673
36673
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
36674
- projectId: z.ZodString;
36675
36674
  tenantId: z.ZodString;
36675
+ projectId: z.ZodString;
36676
36676
  agentId: z.ZodString;
36677
36677
  conversationId: z.ZodString;
36678
36678
  requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -36689,8 +36689,8 @@ declare const WorkflowExecutionInsertSchema: z.ZodObject<{
36689
36689
  declare const WorkflowExecutionUpdateSchema: z.ZodObject<{
36690
36690
  id: z.ZodOptional<z.ZodString>;
36691
36691
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
36692
- projectId: z.ZodOptional<z.ZodString>;
36693
36692
  tenantId: z.ZodOptional<z.ZodString>;
36693
+ projectId: z.ZodOptional<z.ZodString>;
36694
36694
  agentId: z.ZodOptional<z.ZodString>;
36695
36695
  conversationId: z.ZodOptional<z.ZodString>;
36696
36696
  requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;