@inkeep/agents-core 0.0.0-dev-20260413140955 → 0.0.0-dev-20260413152429

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.
@@ -740,9 +740,11 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
740
740
  }>;
741
741
  declare const SubAgentApiSelectSchema: z.ZodObject<{
742
742
  id: z.ZodString;
743
- createdAt: z.ZodString;
744
743
  name: z.ZodString;
744
+ createdAt: z.ZodString;
745
+ updatedAt: z.ZodString;
745
746
  description: z.ZodNullable<z.ZodString>;
747
+ prompt: z.ZodNullable<z.ZodString>;
746
748
  models: z.ZodNullable<z.ZodType<{
747
749
  base?: {
748
750
  model?: string | undefined;
@@ -829,15 +831,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
829
831
  }, {
830
832
  stepCountIs?: number | undefined;
831
833
  }>>>;
832
- updatedAt: z.ZodString;
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<{
837
837
  id: z.ZodString;
838
- createdAt: z.ZodOptional<z.ZodString>;
839
838
  name: z.ZodString;
839
+ createdAt: z.ZodOptional<z.ZodString>;
840
+ updatedAt: z.ZodOptional<z.ZodString>;
840
841
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
842
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
841
843
  models: z.ZodOptional<z.ZodObject<{
842
844
  base: z.ZodOptional<z.ZodObject<{
843
845
  model: z.ZodOptional<z.ZodString>;
@@ -867,15 +869,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
867
869
  }, {
868
870
  stepCountIs?: number | undefined;
869
871
  }>>>>;
870
- updatedAt: z.ZodOptional<z.ZodString>;
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<{
875
875
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
876
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
877
876
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
877
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
878
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
878
879
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
880
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
879
881
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
880
882
  base: z.ZodOptional<z.ZodObject<{
881
883
  model: z.ZodOptional<z.ZodString>;
@@ -905,8 +907,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
905
907
  }, {
906
908
  stepCountIs?: number | undefined;
907
909
  }>>>>>>;
908
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
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", {
@@ -2664,7 +2664,7 @@ declare const AgentInsertSchema: drizzle_zod21.BuildSchema<"insert", {
2664
2664
  }, {}, {
2665
2665
  length: 256;
2666
2666
  }>;
2667
- }, "id" | "tenantId" | "createdAt" | "name" | "description" | "models" | "stopWhen" | "updatedAt" | "projectId" | "prompt" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2667
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "prompt" | "tenantId" | "projectId" | "defaultSubAgentId" | "contextConfigId" | "models" | "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>>;
@@ -2826,9 +2826,13 @@ declare const AgentUpdateSchema: z.ZodObject<{
2826
2826
  }>;
2827
2827
  declare const AgentApiSelectSchema: z.ZodObject<{
2828
2828
  id: z.ZodString;
2829
- createdAt: z.ZodString;
2830
2829
  name: z.ZodString;
2830
+ createdAt: z.ZodString;
2831
+ updatedAt: z.ZodString;
2831
2832
  description: z.ZodNullable<z.ZodString>;
2833
+ prompt: z.ZodNullable<z.ZodString>;
2834
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
2835
+ contextConfigId: z.ZodNullable<z.ZodString>;
2832
2836
  models: z.ZodNullable<z.ZodType<{
2833
2837
  base?: {
2834
2838
  model?: string | undefined;
@@ -2906,19 +2910,6 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2906
2910
  allowedProviders?: string[] | undefined;
2907
2911
  } | undefined;
2908
2912
  }>>>;
2909
- stopWhen: z.ZodNullable<z.ZodType<{
2910
- transferCountIs?: number | undefined;
2911
- }, {
2912
- transferCountIs?: number | undefined;
2913
- }, z.core.$ZodTypeInternals<{
2914
- transferCountIs?: number | undefined;
2915
- }, {
2916
- transferCountIs?: number | undefined;
2917
- }>>>;
2918
- updatedAt: z.ZodString;
2919
- prompt: z.ZodNullable<z.ZodString>;
2920
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
2921
- contextConfigId: z.ZodNullable<z.ZodString>;
2922
2913
  statusUpdates: z.ZodNullable<z.ZodType<{
2923
2914
  enabled?: boolean | undefined;
2924
2915
  numEvents?: number | undefined;
@@ -2976,12 +2967,24 @@ 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
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2986
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2987
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2985
2988
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2986
2989
  base?: {
2987
2990
  model?: string | undefined;
@@ -3059,18 +3062,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
3059
3062
  allowedProviders?: string[] | undefined;
3060
3063
  } | undefined;
3061
3064
  }>>>>;
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
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3072
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3073
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3074
3065
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
3075
3066
  enabled?: boolean | undefined;
3076
3067
  numEvents?: number | undefined;
@@ -3128,11 +3119,23 @@ 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
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3137
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3138
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3136
3139
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3137
3140
  base?: {
3138
3141
  model?: string | undefined;
@@ -3210,18 +3213,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3210
3213
  allowedProviders?: string[] | undefined;
3211
3214
  } | undefined;
3212
3215
  }>>>>>>;
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
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3223
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3224
- contextConfigId: 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;
3227
3218
  numEvents?: number | 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<{
@@ -4394,7 +4394,7 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
4394
4394
  }, {}, {
4395
4395
  length: 256;
4396
4396
  }>;
4397
- }, "id" | "tenantId" | "createdAt" | "createdBy" | "name" | "description" | "updatedAt" | "projectId" | "agentId" | "enabled" | "messageTemplate" | "runAsUserId" | "dispatchDelayMs" | "inputSchema" | "outputTransform" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4397
+ }, "enabled" | "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "createdBy" | "runAsUserId" | "agentId" | "projectId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "dispatchDelayMs">, undefined>, undefined>;
4398
4398
  declare const runAsUserIdsSchema: z.ZodOptional<z.ZodArray<z.ZodString>>;
4399
4399
  declare const TriggerUpdateSchema: z.ZodObject<{
4400
4400
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4426,18 +4426,17 @@ declare const TriggerUpdateSchema: z.ZodObject<{
4426
4426
  in: {};
4427
4427
  }>;
4428
4428
  declare const TriggerApiSelectSchema: z.ZodObject<{
4429
+ enabled: z.ZodBoolean;
4429
4430
  id: z.ZodString;
4430
- createdAt: z.ZodString;
4431
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4432
4431
  name: z.ZodString;
4433
- description: z.ZodNullable<z.ZodString>;
4432
+ createdAt: z.ZodString;
4434
4433
  updatedAt: z.ZodString;
4435
- enabled: z.ZodBoolean;
4436
- messageTemplate: z.ZodNullable<z.ZodString>;
4434
+ description: z.ZodNullable<z.ZodString>;
4435
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4437
4436
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4438
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4439
4437
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4440
4438
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4439
+ messageTemplate: z.ZodNullable<z.ZodString>;
4441
4440
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4442
4441
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4443
4442
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4485,52 +4484,52 @@ declare const TriggerApiSelectSchema: z.ZodObject<{
4485
4484
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
4486
4485
  }, z.core.$strip>>;
4487
4486
  }, z.core.$strip>>>;
4487
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4488
4488
  }, z.core.$strip>;
4489
4489
  declare const TriggerApiInsertBaseSchema: z.ZodObject<{
4490
+ enabled: z.ZodOptional<z.ZodBoolean>;
4490
4491
  id: z.ZodOptional<z.ZodString>;
4491
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4492
4492
  name: z.ZodString;
4493
4493
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4494
- enabled: z.ZodOptional<z.ZodBoolean>;
4495
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4494
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4496
4495
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4497
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4498
4496
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4499
4497
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4498
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4500
4499
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4501
4500
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4502
4501
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4502
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4503
4503
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4504
4504
  }, z.core.$strip>;
4505
4505
  declare const TriggerApiInsertSchema: z.ZodObject<{
4506
+ enabled: z.ZodOptional<z.ZodBoolean>;
4506
4507
  id: z.ZodOptional<z.ZodString>;
4507
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4508
4508
  name: z.ZodString;
4509
4509
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4510
- enabled: z.ZodOptional<z.ZodBoolean>;
4511
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4510
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4512
4511
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4513
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4514
4512
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4515
4513
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4514
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4516
4515
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4517
4516
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4518
4517
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4518
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4519
4519
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4520
4520
  }, z.core.$strip>;
4521
4521
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4522
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4522
4523
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4523
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4524
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4525
4524
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4526
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4525
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4527
4526
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4528
- enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4529
- messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4527
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4528
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4530
4529
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4531
- dispatchDelayMs: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>>;
4532
4530
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
4533
4531
  outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
4532
+ messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4534
4533
  authentication: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
4535
4534
  headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
4536
4535
  name: z.ZodString;
@@ -4540,21 +4539,21 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4540
4539
  }, z.core.$strip>>>>;
4541
4540
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4542
4541
  signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
4542
+ dispatchDelayMs: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>>;
4543
4543
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4544
4544
  }, z.core.$strip>;
4545
4545
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4546
+ enabled: z.ZodBoolean;
4546
4547
  id: z.ZodString;
4547
- createdAt: z.ZodString;
4548
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4549
4548
  name: z.ZodString;
4550
- description: z.ZodNullable<z.ZodString>;
4549
+ createdAt: z.ZodString;
4551
4550
  updatedAt: z.ZodString;
4552
- enabled: z.ZodBoolean;
4553
- messageTemplate: z.ZodNullable<z.ZodString>;
4551
+ description: z.ZodNullable<z.ZodString>;
4552
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4554
4553
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4555
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4556
4554
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4557
4555
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4556
+ messageTemplate: z.ZodNullable<z.ZodString>;
4558
4557
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4559
4558
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4560
4559
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4602,6 +4601,7 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4602
4601
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
4603
4602
  }, z.core.$strip>>;
4604
4603
  }, z.core.$strip>>>;
4604
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4605
4605
  runAsUserIds: z.ZodArray<z.ZodString>;
4606
4606
  userCount: z.ZodNumber;
4607
4607
  webhookUrl: z.ZodString;
@@ -5167,7 +5167,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<"insert",
5167
5167
  }, {}, {
5168
5168
  length: 256;
5169
5169
  }>;
5170
- }, "id" | "tenantId" | "createdAt" | "projectId" | "agentId" | "ref" | "status" | "runAsUserId" | "triggerId" | "conversationId" | "batchId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5170
+ }, "id" | "createdAt" | "ref" | "status" | "tenantId" | "runAsUserId" | "agentId" | "projectId" | "triggerId" | "conversationId" | "batchId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5171
5171
  declare const SetTriggerUsersRequestSchema: z.ZodObject<{
5172
5172
  userIds: z.ZodArray<z.ZodString>;
5173
5173
  }, z.core.$strip>;
@@ -5321,24 +5321,24 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5321
5321
  in: {};
5322
5322
  }>;
5323
5323
  declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5324
+ enabled: z.ZodOptional<z.ZodBoolean>;
5324
5325
  id: z.ZodString;
5325
- tenantId: z.ZodString;
5326
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5327
5326
  name: z.ZodString;
5327
+ ref: z.ZodOptional<z.ZodString>;
5328
5328
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5329
- projectId: z.ZodString;
5329
+ tenantId: z.ZodString;
5330
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5331
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5330
5332
  agentId: z.ZodString;
5331
- ref: z.ZodOptional<z.ZodString>;
5332
- enabled: z.ZodOptional<z.ZodBoolean>;
5333
+ projectId: z.ZodString;
5334
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5335
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5333
5336
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5334
5337
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5335
5338
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5336
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5337
5339
  maxRetries: z.ZodOptional<z.ZodInt>;
5338
5340
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
5339
5341
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
5340
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5341
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5342
5342
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5343
5343
  }, {
5344
5344
  out: {};
@@ -5346,17 +5346,17 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5346
5346
  }>;
5347
5347
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5348
5348
  id: z.ZodOptional<z.ZodString>;
5349
- tenantId: z.ZodOptional<z.ZodString>;
5350
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5351
5349
  name: z.ZodOptional<z.ZodString>;
5352
5350
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5353
- projectId: z.ZodOptional<z.ZodString>;
5351
+ tenantId: z.ZodOptional<z.ZodString>;
5352
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5353
+ runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5354
5354
  agentId: z.ZodOptional<z.ZodString>;
5355
- cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5356
- runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5355
+ projectId: z.ZodOptional<z.ZodString>;
5357
5356
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5358
- runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5359
5357
  dispatchDelayMs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>;
5358
+ cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5359
+ runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5360
5360
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
5361
5361
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5362
5362
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5369,80 +5369,80 @@ declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5369
5369
  in: {};
5370
5370
  }>;
5371
5371
  declare const ScheduledTriggerApiSelectSchema: z.ZodObject<{
5372
+ enabled: z.ZodBoolean;
5372
5373
  id: z.ZodString;
5373
- createdAt: z.ZodString;
5374
- createdBy: z.ZodNullable<z.ZodString>;
5375
5374
  name: z.ZodString;
5376
- description: z.ZodNullable<z.ZodString>;
5375
+ createdAt: z.ZodString;
5377
5376
  updatedAt: z.ZodString;
5378
5377
  ref: z.ZodString;
5379
- enabled: z.ZodBoolean;
5378
+ description: z.ZodNullable<z.ZodString>;
5380
5379
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5380
+ createdBy: z.ZodNullable<z.ZodString>;
5381
+ runAsUserId: z.ZodNullable<z.ZodString>;
5382
+ messageTemplate: z.ZodNullable<z.ZodString>;
5383
+ dispatchDelayMs: z.ZodNullable<z.ZodInt>;
5381
5384
  cronExpression: z.ZodNullable<z.ZodString>;
5382
5385
  cronTimezone: z.ZodNullable<z.ZodString>;
5383
5386
  runAt: z.ZodNullable<z.ZodString>;
5384
- messageTemplate: z.ZodNullable<z.ZodString>;
5385
5387
  maxRetries: z.ZodInt;
5386
5388
  retryDelaySeconds: z.ZodInt;
5387
5389
  timeoutSeconds: z.ZodInt;
5388
- runAsUserId: z.ZodNullable<z.ZodString>;
5389
5390
  nextRunAt: z.ZodNullable<z.ZodString>;
5390
- dispatchDelayMs: z.ZodNullable<z.ZodInt>;
5391
5391
  }, z.core.$strip>;
5392
5392
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5393
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5393
+ enabled: z.ZodOptional<z.ZodBoolean>;
5394
5394
  name: z.ZodString;
5395
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5396
5395
  ref: z.ZodOptional<z.ZodString>;
5397
- enabled: z.ZodOptional<z.ZodBoolean>;
5396
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5398
5397
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5398
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5399
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5400
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5399
5401
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5400
5402
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5401
5403
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5402
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5403
5404
  maxRetries: z.ZodOptional<z.ZodInt>;
5404
5405
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
5405
5406
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
5406
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5407
5407
  id: z.ZodOptional<z.ZodString>;
5408
5408
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5409
5409
  dispatchDelayMs: z.ZodOptional<z.ZodNumber>;
5410
5410
  }, z.core.$strip>;
5411
5411
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5412
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5412
+ enabled: z.ZodOptional<z.ZodBoolean>;
5413
5413
  name: z.ZodString;
5414
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5415
5414
  ref: z.ZodOptional<z.ZodString>;
5416
- enabled: z.ZodOptional<z.ZodBoolean>;
5415
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5417
5416
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5417
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5418
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5419
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5418
5420
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5419
5421
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5420
5422
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5421
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5422
5423
  maxRetries: z.ZodOptional<z.ZodInt>;
5423
5424
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
5424
5425
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
5425
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5426
5426
  id: z.ZodOptional<z.ZodString>;
5427
5427
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5428
5428
  dispatchDelayMs: z.ZodOptional<z.ZodNumber>;
5429
5429
  }, z.core.$strip>;
5430
5430
  declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5431
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
5431
5432
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5432
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5433
5433
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5434
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5435
5434
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5436
- enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
5435
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5437
5436
  payload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
5437
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5438
+ runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5439
+ messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5438
5440
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5439
5441
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5440
5442
  runAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5441
- messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5442
5443
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
5443
5444
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
5444
5445
  timeoutSeconds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
5445
- runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5446
5446
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5447
5447
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5448
5448
  }, z.core.$strip>;
@@ -5457,9 +5457,9 @@ declare const ScheduledTriggerUsersResponseSchema: z.ZodObject<{
5457
5457
  }, z.core.$strip>;
5458
5458
  declare const ScheduledTriggerInvocationStatusEnum: z.ZodEnum<{
5459
5459
  pending: "pending";
5460
- failed: "failed";
5461
5460
  running: "running";
5462
5461
  completed: "completed";
5462
+ failed: "failed";
5463
5463
  cancelled: "cancelled";
5464
5464
  }>;
5465
5465
  declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
@@ -5488,9 +5488,9 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
5488
5488
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5489
5489
  status: z.ZodEnum<{
5490
5490
  pending: "pending";
5491
- failed: "failed";
5492
5491
  running: "running";
5493
5492
  completed: "completed";
5493
+ failed: "failed";
5494
5494
  cancelled: "cancelled";
5495
5495
  }>;
5496
5496
  }, {
@@ -5549,7 +5549,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<
5549
5549
  tableName: "scheduled_trigger_invocations";
5550
5550
  dataType: "string";
5551
5551
  columnType: "PgVarchar";
5552
- data: "pending" | "failed" | "running" | "completed" | "cancelled";
5552
+ data: "pending" | "running" | "completed" | "failed" | "cancelled";
5553
5553
  driverParam: string;
5554
5554
  notNull: true;
5555
5555
  hasDefault: false;
@@ -5562,7 +5562,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<
5562
5562
  generated: undefined;
5563
5563
  }, {}, {
5564
5564
  length: 50;
5565
- $type: "pending" | "failed" | "running" | "completed" | "cancelled";
5565
+ $type: "pending" | "running" | "completed" | "failed" | "cancelled";
5566
5566
  }>;
5567
5567
  scheduledFor: drizzle_orm_pg_core1040.PgColumn<{
5568
5568
  name: "scheduled_for";
@@ -5853,7 +5853,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<
5853
5853
  tableName: "scheduled_trigger_invocations";
5854
5854
  dataType: "string";
5855
5855
  columnType: "PgVarchar";
5856
- data: "pending" | "failed" | "running" | "completed" | "cancelled";
5856
+ data: "pending" | "running" | "completed" | "failed" | "cancelled";
5857
5857
  driverParam: string;
5858
5858
  notNull: true;
5859
5859
  hasDefault: false;
@@ -5866,7 +5866,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<
5866
5866
  generated: undefined;
5867
5867
  }, {}, {
5868
5868
  length: 50;
5869
- $type: "pending" | "failed" | "running" | "completed" | "cancelled";
5869
+ $type: "pending" | "running" | "completed" | "failed" | "cancelled";
5870
5870
  }>;
5871
5871
  scheduledFor: drizzle_orm_pg_core1040.PgColumn<{
5872
5872
  name: "scheduled_for";
@@ -6105,7 +6105,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<
6105
6105
  }, {}, {
6106
6106
  length: 256;
6107
6107
  }>;
6108
- }, "id" | "tenantId" | "createdAt" | "projectId" | "agentId" | "ref" | "status" | "runAsUserId" | "conversationIds" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6108
+ }, "id" | "createdAt" | "ref" | "status" | "tenantId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey" | "runAsUserId" | "agentId" | "projectId">, undefined>, undefined>;
6109
6109
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6110
6110
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
6111
6111
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -6157,20 +6157,20 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
6157
6157
  }, z.core.$strip>>>;
6158
6158
  status: z.ZodEnum<{
6159
6159
  pending: "pending";
6160
- failed: "failed";
6161
6160
  running: "running";
6162
6161
  completed: "completed";
6162
+ failed: "failed";
6163
6163
  cancelled: "cancelled";
6164
6164
  }>;
6165
- runAsUserId: z.ZodNullable<z.ZodString>;
6166
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
6167
6165
  scheduledTriggerId: z.ZodString;
6168
6166
  scheduledFor: z.ZodString;
6169
6167
  startedAt: z.ZodNullable<z.ZodString>;
6170
6168
  completedAt: z.ZodNullable<z.ZodString>;
6171
6169
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6170
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
6172
6171
  attemptNumber: z.ZodInt;
6173
6172
  idempotencyKey: z.ZodString;
6173
+ runAsUserId: z.ZodNullable<z.ZodString>;
6174
6174
  }, z.core.$strip>;
6175
6175
  declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6176
6176
  createdAt: z.ZodOptional<z.ZodString>;
@@ -6192,15 +6192,15 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6192
6192
  hash: string;
6193
6193
  }>>>>;
6194
6194
  status: z.ZodString;
6195
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6196
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6197
6195
  scheduledTriggerId: z.ZodString;
6198
6196
  scheduledFor: z.ZodString;
6199
6197
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6200
6198
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6201
6199
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
6200
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6202
6201
  attemptNumber: z.ZodOptional<z.ZodInt>;
6203
6202
  idempotencyKey: z.ZodString;
6203
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6204
6204
  id: z.ZodString;
6205
6205
  }, z.core.$strip>;
6206
6206
  declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
@@ -6224,15 +6224,15 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6224
6224
  hash: string;
6225
6225
  }>>>>>>;
6226
6226
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6227
- runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6228
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6229
6227
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6230
6228
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6231
6229
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6232
6230
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6233
6231
  resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
6232
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6234
6233
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
6235
6234
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6235
+ runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6236
6236
  }, z.core.$strip>;
6237
6237
  type ScheduledTriggerInvocationStatus = z.infer<typeof ScheduledTriggerInvocationStatusEnum>;
6238
6238
  declare const SchedulerStateSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -6459,10 +6459,7 @@ declare const TaskUpdateSchema: z.ZodObject<{
6459
6459
  declare const TaskApiSelectSchema: z.ZodObject<{
6460
6460
  id: z.ZodString;
6461
6461
  createdAt: z.ZodString;
6462
- metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
6463
6462
  updatedAt: z.ZodString;
6464
- agentId: z.ZodString;
6465
- subAgentId: z.ZodString;
6466
6463
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6467
6464
  type: z.ZodEnum<{
6468
6465
  commit: "commit";
@@ -6472,16 +6469,16 @@ declare const TaskApiSelectSchema: z.ZodObject<{
6472
6469
  name: z.ZodString;
6473
6470
  hash: z.ZodString;
6474
6471
  }, z.core.$strip>>>;
6472
+ metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
6475
6473
  status: z.ZodString;
6474
+ agentId: z.ZodString;
6475
+ subAgentId: z.ZodString;
6476
6476
  contextId: z.ZodString;
6477
6477
  }, z.core.$strip>;
6478
6478
  declare const TaskApiInsertSchema: z.ZodObject<{
6479
6479
  id: z.ZodString;
6480
6480
  createdAt: z.ZodOptional<z.ZodString>;
6481
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
6482
6481
  updatedAt: z.ZodOptional<z.ZodString>;
6483
- agentId: z.ZodString;
6484
- subAgentId: z.ZodString;
6485
6482
  ref: z.ZodObject<{
6486
6483
  type: z.ZodEnum<{
6487
6484
  commit: "commit";
@@ -6491,17 +6488,17 @@ declare const TaskApiInsertSchema: z.ZodObject<{
6491
6488
  name: z.ZodString;
6492
6489
  hash: z.ZodString;
6493
6490
  }, z.core.$strip>;
6491
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
6494
6492
  status: z.ZodString;
6495
- contextId: z.ZodString;
6493
+ agentId: z.ZodString;
6494
+ subAgentId: z.ZodString;
6496
6495
  conversationId: z.ZodOptional<z.ZodString>;
6496
+ contextId: z.ZodString;
6497
6497
  }, z.core.$strip>;
6498
6498
  declare const TaskApiUpdateSchema: z.ZodObject<{
6499
6499
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6500
6500
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6501
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6502
6501
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6503
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6504
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6505
6502
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6506
6503
  type: z.ZodEnum<{
6507
6504
  commit: "commit";
@@ -6511,9 +6508,12 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
6511
6508
  name: z.ZodString;
6512
6509
  hash: z.ZodString;
6513
6510
  }, z.core.$strip>>>;
6511
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6514
6512
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6515
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6513
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6514
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6516
6515
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6516
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6517
6517
  }, z.core.$strip>;
6518
6518
  declare const TaskRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
6519
6519
  createdAt: drizzle_orm_pg_core1040.PgColumn<{
@@ -7449,11 +7449,11 @@ declare const ToolSelectSchema: drizzle_zod21.BuildSchema<"select", {
7449
7449
  }, undefined>, undefined>;
7450
7450
  declare const ToolInsertSchema: z.ZodObject<{
7451
7451
  id: z.ZodString;
7452
- tenantId: z.ZodString;
7453
7452
  name: z.ZodString;
7454
7453
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7455
- projectId: z.ZodString;
7456
7454
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7455
+ tenantId: z.ZodString;
7456
+ projectId: z.ZodString;
7457
7457
  config: z.ZodObject<{
7458
7458
  type: z.ZodLiteral<"mcp">;
7459
7459
  mcp: z.ZodObject<{
@@ -7570,10 +7570,7 @@ declare const ConversationUpdateSchema: z.ZodObject<{
7570
7570
  declare const ConversationApiSelectSchema: z.ZodObject<{
7571
7571
  id: z.ZodString;
7572
7572
  createdAt: z.ZodString;
7573
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
7574
- title: z.ZodNullable<z.ZodString>;
7575
7573
  updatedAt: z.ZodString;
7576
- agentId: z.ZodNullable<z.ZodString>;
7577
7574
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7578
7575
  type: z.ZodEnum<{
7579
7576
  commit: "commit";
@@ -7584,16 +7581,16 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
7584
7581
  hash: z.ZodString;
7585
7582
  }, z.core.$strip>>>;
7586
7583
  userId: z.ZodNullable<z.ZodString>;
7584
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
7585
+ title: z.ZodNullable<z.ZodString>;
7586
+ agentId: z.ZodNullable<z.ZodString>;
7587
7587
  activeSubAgentId: z.ZodString;
7588
7588
  lastContextResolution: z.ZodNullable<z.ZodString>;
7589
7589
  }, z.core.$strip>;
7590
7590
  declare const ConversationApiInsertSchema: z.ZodObject<{
7591
7591
  id: z.ZodString;
7592
7592
  createdAt: z.ZodOptional<z.ZodString>;
7593
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
7594
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7595
7593
  updatedAt: z.ZodOptional<z.ZodString>;
7596
- agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7597
7594
  ref: z.ZodObject<{
7598
7595
  type: z.ZodEnum<{
7599
7596
  commit: "commit";
@@ -7604,6 +7601,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
7604
7601
  hash: z.ZodString;
7605
7602
  }, z.core.$strip>;
7606
7603
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7604
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
7605
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7606
+ agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7607
7607
  contextConfigId: z.ZodOptional<z.ZodString>;
7608
7608
  activeSubAgentId: z.ZodString;
7609
7609
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7611,10 +7611,7 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
7611
7611
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7612
7612
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7613
7613
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7614
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7615
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7616
7614
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7617
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7618
7615
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7619
7616
  type: z.ZodEnum<{
7620
7617
  commit: "commit";
@@ -7625,6 +7622,9 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7625
7622
  hash: z.ZodString;
7626
7623
  }, z.core.$strip>>>;
7627
7624
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7625
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7626
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7627
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7628
7628
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7629
7629
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7630
7630
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -8477,10 +8477,10 @@ declare const MessageUpdateSchema: z.ZodObject<{
8477
8477
  declare const MessageApiSelectSchema: z.ZodObject<{
8478
8478
  id: z.ZodString;
8479
8479
  createdAt: z.ZodString;
8480
- metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
8481
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8482
8480
  updatedAt: z.ZodString;
8481
+ metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
8483
8482
  role: z.ZodString;
8483
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8484
8484
  conversationId: z.ZodString;
8485
8485
  fromSubAgentId: z.ZodNullable<z.ZodString>;
8486
8486
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -8498,10 +8498,10 @@ declare const MessageApiSelectSchema: z.ZodObject<{
8498
8498
  declare const MessageApiInsertSchema: z.ZodObject<{
8499
8499
  id: z.ZodString;
8500
8500
  createdAt: z.ZodOptional<z.ZodString>;
8501
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
8502
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8503
8501
  updatedAt: z.ZodOptional<z.ZodString>;
8502
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
8504
8503
  role: z.ZodString;
8504
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8505
8505
  conversationId: z.ZodString;
8506
8506
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8507
8507
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8519,10 +8519,10 @@ declare const MessageApiInsertSchema: z.ZodObject<{
8519
8519
  declare const MessageApiUpdateSchema: z.ZodObject<{
8520
8520
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8521
8521
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8522
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8523
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8524
8522
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8523
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8525
8524
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8525
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8526
8526
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8527
8527
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8528
8528
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -9015,9 +9015,9 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
9015
9015
  in: {};
9016
9016
  }>;
9017
9017
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
9018
+ value: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
9018
9019
  id: z.ZodString;
9019
9020
  createdAt: z.ZodString;
9020
- value: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
9021
9021
  updatedAt: z.ZodString;
9022
9022
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9023
9023
  type: z.ZodEnum<{
@@ -9036,9 +9036,9 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
9036
9036
  fetchSource: z.ZodNullable<z.ZodString>;
9037
9037
  }, z.core.$strip>;
9038
9038
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
9039
+ value: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
9039
9040
  id: z.ZodString;
9040
9041
  createdAt: z.ZodOptional<z.ZodString>;
9041
- value: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
9042
9042
  updatedAt: z.ZodOptional<z.ZodString>;
9043
9043
  ref: z.ZodObject<{
9044
9044
  type: z.ZodEnum<{
@@ -9057,9 +9057,9 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
9057
9057
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9058
9058
  }, z.core.$strip>;
9059
9059
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
9060
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
9060
9061
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9061
9062
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9062
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
9063
9063
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9064
9064
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9065
9065
  type: z.ZodEnum<{
@@ -10397,34 +10397,34 @@ declare const EvaluationRunConfigUpdateSchema: z.ZodObject<{
10397
10397
  }>;
10398
10398
  declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<{
10399
10399
  id: z.ZodString;
10400
- createdAt: z.ZodString;
10401
10400
  name: z.ZodString;
10402
- description: z.ZodNullable<z.ZodString>;
10401
+ createdAt: z.ZodString;
10403
10402
  updatedAt: z.ZodString;
10403
+ description: z.ZodNullable<z.ZodString>;
10404
10404
  isActive: z.ZodBoolean;
10405
10405
  }, z.core.$strip>;
10406
10406
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
10407
- createdAt: z.ZodOptional<z.ZodString>;
10408
10407
  name: z.ZodString;
10409
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10408
+ createdAt: z.ZodOptional<z.ZodString>;
10410
10409
  updatedAt: z.ZodOptional<z.ZodString>;
10410
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10411
10411
  isActive: z.ZodOptional<z.ZodBoolean>;
10412
10412
  suiteConfigIds: z.ZodArray<z.ZodString>;
10413
10413
  }, z.core.$strip>;
10414
10414
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10415
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10416
10415
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10417
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10416
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10418
10417
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10418
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10419
10419
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
10420
10420
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10421
10421
  }, z.core.$strip>;
10422
10422
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10423
10423
  id: z.ZodString;
10424
- createdAt: z.ZodString;
10425
10424
  name: z.ZodString;
10426
- description: z.ZodNullable<z.ZodString>;
10425
+ createdAt: z.ZodString;
10427
10426
  updatedAt: z.ZodString;
10427
+ description: z.ZodNullable<z.ZodString>;
10428
10428
  isActive: z.ZodBoolean;
10429
10429
  suiteConfigIds: z.ZodArray<z.ZodString>;
10430
10430
  }, z.core.$strip>;
@@ -12571,10 +12571,12 @@ declare const EvaluatorUpdateSchema: z.ZodObject<{
12571
12571
  }>;
12572
12572
  declare const EvaluatorApiSelectSchema: z.ZodObject<{
12573
12573
  id: z.ZodString;
12574
- createdAt: z.ZodString;
12575
12574
  name: z.ZodString;
12575
+ createdAt: z.ZodString;
12576
+ updatedAt: z.ZodString;
12576
12577
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12577
12578
  description: z.ZodNullable<z.ZodString>;
12579
+ prompt: z.ZodString;
12578
12580
  model: z.ZodType<{
12579
12581
  model?: string | undefined;
12580
12582
  providerOptions?: Record<string, unknown> | undefined;
@@ -12596,15 +12598,15 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<{
12596
12598
  fallbackModels?: string[] | undefined;
12597
12599
  allowedProviders?: string[] | undefined;
12598
12600
  }>>;
12599
- updatedAt: z.ZodString;
12600
- prompt: z.ZodString;
12601
12601
  passCriteria: z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>;
12602
12602
  }, z.core.$strip>;
12603
12603
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12604
- createdAt: z.ZodOptional<z.ZodString>;
12605
12604
  name: z.ZodString;
12605
+ createdAt: z.ZodOptional<z.ZodString>;
12606
+ updatedAt: z.ZodOptional<z.ZodString>;
12606
12607
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12607
12608
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12609
+ prompt: z.ZodString;
12608
12610
  model: z.ZodType<{
12609
12611
  model?: string | undefined;
12610
12612
  providerOptions?: Record<string, unknown> | undefined;
@@ -12626,15 +12628,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12626
12628
  fallbackModels?: string[] | undefined;
12627
12629
  allowedProviders?: string[] | undefined;
12628
12630
  }>>;
12629
- updatedAt: z.ZodOptional<z.ZodString>;
12630
- prompt: z.ZodString;
12631
12631
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12632
12632
  }, z.core.$strip>;
12633
12633
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12634
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12635
12634
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12635
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12636
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12636
12637
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12637
12638
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12639
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12638
12640
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12639
12641
  model?: string | undefined;
12640
12642
  providerOptions?: Record<string, unknown> | undefined;
@@ -12656,8 +12658,6 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12656
12658
  fallbackModels?: string[] | undefined;
12657
12659
  allowedProviders?: string[] | undefined;
12658
12660
  }>>>>;
12659
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12660
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12661
12661
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12662
12662
  }, z.core.$strip>;
12663
12663
  declare const DatasetSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -12907,18 +12907,18 @@ declare const DatasetUpdateSchema: z.ZodObject<{
12907
12907
  }>;
12908
12908
  declare const DatasetApiSelectSchema: z.ZodObject<{
12909
12909
  id: z.ZodString;
12910
- createdAt: z.ZodString;
12911
12910
  name: z.ZodString;
12911
+ createdAt: z.ZodString;
12912
12912
  updatedAt: z.ZodString;
12913
12913
  }, z.core.$strip>;
12914
12914
  declare const DatasetApiInsertSchema: z.ZodObject<{
12915
- createdAt: z.ZodOptional<z.ZodString>;
12916
12915
  name: z.ZodString;
12916
+ createdAt: z.ZodOptional<z.ZodString>;
12917
12917
  updatedAt: z.ZodOptional<z.ZodString>;
12918
12918
  }, z.core.$strip>;
12919
12919
  declare const DatasetApiUpdateSchema: z.ZodObject<{
12920
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12921
12920
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12921
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12922
12922
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12923
12923
  }, z.core.$strip>;
12924
12924
  declare const DatasetItemSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -13625,24 +13625,24 @@ declare const DatasetRunConfigUpdateSchema: z.ZodObject<{
13625
13625
  }>;
13626
13626
  declare const DatasetRunConfigApiSelectSchema: z.ZodObject<{
13627
13627
  id: z.ZodString;
13628
- createdAt: z.ZodString;
13629
13628
  name: z.ZodString;
13630
- description: z.ZodNullable<z.ZodString>;
13629
+ createdAt: z.ZodString;
13631
13630
  updatedAt: z.ZodString;
13631
+ description: z.ZodNullable<z.ZodString>;
13632
13632
  datasetId: z.ZodString;
13633
13633
  }, z.core.$strip>;
13634
13634
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
13635
- createdAt: z.ZodOptional<z.ZodString>;
13636
13635
  name: z.ZodString;
13637
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13636
+ createdAt: z.ZodOptional<z.ZodString>;
13638
13637
  updatedAt: z.ZodOptional<z.ZodString>;
13638
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13639
13639
  datasetId: z.ZodString;
13640
13640
  }, z.core.$strip>;
13641
13641
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13642
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13643
13642
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13644
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13643
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13645
13644
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13645
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13646
13646
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13647
13647
  }, z.core.$strip>;
13648
13648
  declare const AgentDatasetRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -14901,9 +14901,9 @@ declare const DataComponentSelectSchema: drizzle_zod21.BuildSchema<"select", {
14901
14901
  }, undefined>, undefined>;
14902
14902
  declare const DataComponentInsertSchema: z.ZodObject<{
14903
14903
  id: z.ZodString;
14904
- tenantId: z.ZodString;
14905
14904
  name: z.ZodString;
14906
14905
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14906
+ tenantId: z.ZodString;
14907
14907
  projectId: z.ZodString;
14908
14908
  props: z.ZodType<{
14909
14909
  [x: string]: unknown;
@@ -14953,9 +14953,9 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14953
14953
  }>;
14954
14954
  declare const DataComponentUpdateSchema: z.ZodObject<{
14955
14955
  id: z.ZodOptional<z.ZodString>;
14956
- tenantId: z.ZodOptional<z.ZodString>;
14957
14956
  name: z.ZodOptional<z.ZodString>;
14958
14957
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14958
+ tenantId: z.ZodOptional<z.ZodString>;
14959
14959
  projectId: z.ZodOptional<z.ZodString>;
14960
14960
  props: z.ZodOptional<z.ZodType<{
14961
14961
  [x: string]: unknown;
@@ -15005,10 +15005,10 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
15005
15005
  }>;
15006
15006
  declare const DataComponentApiSelectSchema: z.ZodObject<{
15007
15007
  id: z.ZodString;
15008
- createdAt: z.ZodString;
15009
15008
  name: z.ZodString;
15010
- description: z.ZodNullable<z.ZodString>;
15009
+ createdAt: z.ZodString;
15011
15010
  updatedAt: z.ZodString;
15011
+ description: z.ZodNullable<z.ZodString>;
15012
15012
  props: z.ZodType<{
15013
15013
  [x: string]: unknown;
15014
15014
  type: "object";
@@ -15631,7 +15631,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod21.BuildSchema<"inse
15631
15631
  }, {}, {
15632
15632
  length: 256;
15633
15633
  }>;
15634
- }, "id" | "tenantId" | "createdAt" | "projectId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15634
+ }, "id" | "createdAt" | "tenantId" | "agentId" | "projectId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15635
15635
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15636
15636
  dataComponentId: z.ZodOptional<z.ZodString>;
15637
15637
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -16147,10 +16147,10 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
16147
16147
  }>;
16148
16148
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
16149
16149
  id: z.ZodString;
16150
- createdAt: z.ZodString;
16151
16150
  name: z.ZodString;
16152
- description: z.ZodNullable<z.ZodString>;
16151
+ createdAt: z.ZodString;
16153
16152
  updatedAt: z.ZodString;
16153
+ description: z.ZodNullable<z.ZodString>;
16154
16154
  props: z.ZodNullable<z.ZodType<{
16155
16155
  [x: string]: unknown;
16156
16156
  type: "object";
@@ -16224,10 +16224,10 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
16224
16224
  }>;
16225
16225
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
16226
16226
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16227
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16228
16227
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16229
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16228
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16230
16229
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16230
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16231
16231
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
16232
16232
  [x: string]: unknown;
16233
16233
  type: "object";
@@ -16596,9 +16596,9 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
16596
16596
  }>;
16597
16597
  declare const ExternalAgentInsertSchema: z.ZodObject<{
16598
16598
  id: z.ZodString;
16599
- tenantId: z.ZodString;
16600
16599
  name: z.ZodString;
16601
16600
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16601
+ tenantId: z.ZodString;
16602
16602
  projectId: z.ZodString;
16603
16603
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16604
16604
  baseUrl: z.ZodURL;
@@ -16608,9 +16608,9 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
16608
16608
  }>;
16609
16609
  declare const ExternalAgentUpdateSchema: z.ZodObject<{
16610
16610
  id: z.ZodOptional<z.ZodString>;
16611
- tenantId: z.ZodOptional<z.ZodString>;
16612
16611
  name: z.ZodOptional<z.ZodString>;
16613
16612
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16613
+ tenantId: z.ZodOptional<z.ZodString>;
16614
16614
  projectId: z.ZodOptional<z.ZodString>;
16615
16615
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16616
16616
  baseUrl: z.ZodOptional<z.ZodURL>;
@@ -16620,10 +16620,10 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
16620
16620
  }>;
16621
16621
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
16622
16622
  id: z.ZodString;
16623
- createdAt: z.ZodString;
16624
16623
  name: z.ZodString;
16625
- description: z.ZodNullable<z.ZodString>;
16624
+ createdAt: z.ZodString;
16626
16625
  updatedAt: z.ZodString;
16626
+ description: z.ZodNullable<z.ZodString>;
16627
16627
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16628
16628
  baseUrl: z.ZodString;
16629
16629
  }, z.core.$strip>;
@@ -16643,9 +16643,11 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16643
16643
  }, z.core.$strip>;
16644
16644
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16645
16645
  id: z.ZodString;
16646
- createdAt: z.ZodString;
16647
16646
  name: z.ZodString;
16647
+ createdAt: z.ZodString;
16648
+ updatedAt: z.ZodString;
16648
16649
  description: z.ZodNullable<z.ZodString>;
16650
+ prompt: z.ZodNullable<z.ZodString>;
16649
16651
  models: z.ZodNullable<z.ZodType<{
16650
16652
  base?: {
16651
16653
  model?: string | undefined;
@@ -16732,16 +16734,14 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16732
16734
  }, {
16733
16735
  stepCountIs?: number | undefined;
16734
16736
  }>>>;
16735
- updatedAt: z.ZodString;
16736
- prompt: z.ZodNullable<z.ZodString>;
16737
16737
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16738
16738
  type: z.ZodLiteral<"internal">;
16739
16739
  }, z.core.$strip>, z.ZodObject<{
16740
16740
  id: z.ZodString;
16741
- createdAt: z.ZodString;
16742
16741
  name: z.ZodString;
16743
- description: z.ZodNullable<z.ZodString>;
16742
+ createdAt: z.ZodString;
16744
16743
  updatedAt: z.ZodString;
16744
+ description: z.ZodNullable<z.ZodString>;
16745
16745
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16746
16746
  baseUrl: z.ZodString;
16747
16747
  type: z.ZodLiteral<"external">;
@@ -17209,19 +17209,19 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
17209
17209
  declare const ApiKeyUpdateSchema: z.ZodObject<{
17210
17210
  name: z.ZodOptional<z.ZodString>;
17211
17211
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17212
- agentId: z.ZodOptional<z.ZodString>;
17213
17212
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17213
+ agentId: z.ZodOptional<z.ZodString>;
17214
17214
  }, {
17215
17215
  out: {};
17216
17216
  in: {};
17217
17217
  }>;
17218
17218
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
17219
17219
  id: z.ZodString;
17220
- createdAt: z.ZodString;
17221
17220
  name: z.ZodNullable<z.ZodString>;
17221
+ createdAt: z.ZodString;
17222
17222
  updatedAt: z.ZodString;
17223
- agentId: z.ZodString;
17224
17223
  expiresAt: z.ZodNullable<z.ZodString>;
17224
+ agentId: z.ZodString;
17225
17225
  lastUsedAt: z.ZodNullable<z.ZodString>;
17226
17226
  publicId: z.ZodString;
17227
17227
  keyPrefix: z.ZodString;
@@ -17233,11 +17233,11 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
17233
17233
  data: z.ZodObject<{
17234
17234
  apiKey: z.ZodObject<{
17235
17235
  id: z.ZodString;
17236
- createdAt: z.ZodString;
17237
17236
  name: z.ZodNullable<z.ZodString>;
17237
+ createdAt: z.ZodString;
17238
17238
  updatedAt: z.ZodString;
17239
- agentId: z.ZodString;
17240
17239
  expiresAt: z.ZodNullable<z.ZodString>;
17240
+ agentId: z.ZodString;
17241
17241
  lastUsedAt: z.ZodNullable<z.ZodString>;
17242
17242
  publicId: z.ZodString;
17243
17243
  keyPrefix: z.ZodString;
@@ -17249,11 +17249,11 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
17249
17249
  }, z.core.$strip>;
17250
17250
  }, z.core.$strip>;
17251
17251
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
17252
- createdAt: z.ZodOptional<z.ZodString>;
17253
17252
  name: z.ZodString;
17253
+ createdAt: z.ZodOptional<z.ZodString>;
17254
17254
  updatedAt: z.ZodOptional<z.ZodString>;
17255
- agentId: z.ZodString;
17256
17255
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17256
+ agentId: z.ZodString;
17257
17257
  }, {
17258
17258
  out: {};
17259
17259
  in: {};
@@ -17261,8 +17261,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
17261
17261
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
17262
17262
  name: z.ZodOptional<z.ZodString>;
17263
17263
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17264
- agentId: z.ZodOptional<z.ZodString>;
17265
17264
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17265
+ agentId: z.ZodOptional<z.ZodString>;
17266
17266
  }, {
17267
17267
  out: {};
17268
17268
  in: {};
@@ -18058,13 +18058,13 @@ declare const AppInsertSchema: z.ZodObject<{
18058
18058
  in: {};
18059
18059
  }>;
18060
18060
  declare const AppUpdateSchema: z.ZodObject<{
18061
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18061
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18062
18062
  name: z.ZodOptional<z.ZodString>;
18063
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18064
18063
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18065
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18066
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18064
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18067
18065
  prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18066
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18067
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18068
18068
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18069
18069
  type: z.ZodLiteral<"web_client">;
18070
18070
  webClient: z.ZodObject<{
@@ -18676,15 +18676,15 @@ declare const AppApiSelectSchema: drizzle_zod21.BuildSchema<"select", {
18676
18676
  }, undefined>, undefined>;
18677
18677
  declare const AppApiResponseSelectSchema: z.ZodObject<{
18678
18678
  type: z.ZodString;
18679
+ enabled: z.ZodBoolean;
18679
18680
  id: z.ZodString;
18680
- tenantId: z.ZodNullable<z.ZodString>;
18681
- createdAt: z.ZodString;
18682
18681
  name: z.ZodString;
18683
- description: z.ZodNullable<z.ZodString>;
18682
+ createdAt: z.ZodString;
18684
18683
  updatedAt: z.ZodString;
18685
- projectId: z.ZodNullable<z.ZodString>;
18686
- enabled: z.ZodBoolean;
18684
+ description: z.ZodNullable<z.ZodString>;
18687
18685
  prompt: z.ZodNullable<z.ZodString>;
18686
+ tenantId: z.ZodNullable<z.ZodString>;
18687
+ projectId: z.ZodNullable<z.ZodString>;
18688
18688
  defaultAgentId: z.ZodNullable<z.ZodString>;
18689
18689
  defaultProjectId: z.ZodNullable<z.ZodString>;
18690
18690
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -18722,14 +18722,14 @@ declare const AppApiInsertSchema: z.ZodObject<{
18722
18722
  web_client: "web_client";
18723
18723
  api: "api";
18724
18724
  }>;
18725
- tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18726
- createdAt: z.ZodOptional<z.ZodString>;
18725
+ enabled: z.ZodOptional<z.ZodBoolean>;
18727
18726
  name: z.ZodString;
18728
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18727
+ createdAt: z.ZodOptional<z.ZodString>;
18729
18728
  updatedAt: z.ZodOptional<z.ZodString>;
18730
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18731
- enabled: z.ZodOptional<z.ZodBoolean>;
18729
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18732
18730
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18731
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18732
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18733
18733
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
18734
18734
  type: z.ZodLiteral<"web_client">;
18735
18735
  webClient: z.ZodObject<{
@@ -18762,13 +18762,13 @@ declare const AppApiInsertSchema: z.ZodObject<{
18762
18762
  in: {};
18763
18763
  }>;
18764
18764
  declare const AppApiUpdateSchema: z.ZodObject<{
18765
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18765
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18766
18766
  name: z.ZodOptional<z.ZodString>;
18767
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18768
18767
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18769
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18770
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18768
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18771
18769
  prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18770
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18771
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18772
18772
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18773
18773
  type: z.ZodLiteral<"web_client">;
18774
18774
  webClient: z.ZodObject<{
@@ -18805,15 +18805,15 @@ declare const AppApiCreationResponseSchema: z.ZodObject<{
18805
18805
  data: z.ZodObject<{
18806
18806
  app: z.ZodObject<{
18807
18807
  type: z.ZodString;
18808
+ enabled: z.ZodBoolean;
18808
18809
  id: z.ZodString;
18809
- tenantId: z.ZodNullable<z.ZodString>;
18810
- createdAt: z.ZodString;
18811
18810
  name: z.ZodString;
18812
- description: z.ZodNullable<z.ZodString>;
18811
+ createdAt: z.ZodString;
18813
18812
  updatedAt: z.ZodString;
18814
- projectId: z.ZodNullable<z.ZodString>;
18815
- enabled: z.ZodBoolean;
18813
+ description: z.ZodNullable<z.ZodString>;
18816
18814
  prompt: z.ZodNullable<z.ZodString>;
18815
+ tenantId: z.ZodNullable<z.ZodString>;
18816
+ projectId: z.ZodNullable<z.ZodString>;
18817
18817
  defaultAgentId: z.ZodNullable<z.ZodString>;
18818
18818
  defaultProjectId: z.ZodNullable<z.ZodString>;
18819
18819
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19302,12 +19302,12 @@ declare const CredentialReferenceSelectSchema: drizzle_zod21.BuildSchema<"select
19302
19302
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
19303
19303
  type: z.ZodString;
19304
19304
  id: z.ZodString;
19305
+ name: z.ZodString;
19306
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19305
19307
  tenantId: z.ZodString;
19306
19308
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19307
- name: z.ZodString;
19308
19309
  projectId: z.ZodString;
19309
19310
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19310
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19311
19311
  credentialStoreId: z.ZodString;
19312
19312
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19313
19313
  }, {
@@ -19317,12 +19317,12 @@ declare const CredentialReferenceInsertSchema: z.ZodObject<{
19317
19317
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
19318
19318
  type: z.ZodOptional<z.ZodString>;
19319
19319
  id: z.ZodOptional<z.ZodString>;
19320
+ name: z.ZodOptional<z.ZodString>;
19321
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19320
19322
  tenantId: z.ZodOptional<z.ZodString>;
19321
19323
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19322
- name: z.ZodOptional<z.ZodString>;
19323
19324
  projectId: z.ZodOptional<z.ZodString>;
19324
19325
  toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19325
- userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19326
19326
  credentialStoreId: z.ZodOptional<z.ZodString>;
19327
19327
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
19328
19328
  }, {
@@ -19331,12 +19331,12 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
19331
19331
  }>;
19332
19332
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19333
19333
  id: z.ZodString;
19334
- createdAt: z.ZodString;
19335
- createdBy: z.ZodNullable<z.ZodString>;
19336
19334
  name: z.ZodString;
19335
+ createdAt: z.ZodString;
19337
19336
  updatedAt: z.ZodString;
19338
- toolId: z.ZodNullable<z.ZodString>;
19339
19337
  userId: z.ZodNullable<z.ZodString>;
19338
+ createdBy: z.ZodNullable<z.ZodString>;
19339
+ toolId: z.ZodNullable<z.ZodString>;
19340
19340
  credentialStoreId: z.ZodString;
19341
19341
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
19342
19342
  type: z.ZodEnum<{
@@ -19923,10 +19923,10 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19923
19923
  }, z.core.$strip>;
19924
19924
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19925
19925
  id: z.ZodString;
19926
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19927
19926
  name: z.ZodString;
19928
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19929
19927
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19928
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19929
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19930
19930
  credentialStoreId: z.ZodString;
19931
19931
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19932
19932
  type: z.ZodEnum<{
@@ -19938,10 +19938,10 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19938
19938
  }, z.core.$strip>;
19939
19939
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
19940
19940
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19941
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19942
19941
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19943
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19944
19942
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19943
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19944
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19945
19945
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19946
19946
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
19947
19947
  type: z.ZodOptional<z.ZodEnum<{
@@ -20009,11 +20009,11 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
20009
20009
  }, z.core.$strip>;
20010
20010
  declare const McpToolSchema: z.ZodObject<{
20011
20011
  id: z.ZodString;
20012
- tenantId: z.ZodString;
20013
20012
  name: z.ZodString;
20014
20013
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20015
- projectId: z.ZodString;
20016
20014
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20015
+ tenantId: z.ZodString;
20016
+ projectId: z.ZodString;
20017
20017
  config: z.ZodObject<{
20018
20018
  type: z.ZodLiteral<"mcp">;
20019
20019
  mcp: z.ZodObject<{
@@ -20068,10 +20068,10 @@ declare const McpToolSchema: z.ZodObject<{
20068
20068
  }>;
20069
20069
  declare const MCPToolConfigSchema: z.ZodObject<{
20070
20070
  id: z.ZodString;
20071
- createdBy: z.ZodOptional<z.ZodString>;
20072
20071
  name: z.ZodString;
20073
20072
  expiresAt: z.ZodOptional<z.ZodString>;
20074
20073
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20074
+ createdBy: z.ZodOptional<z.ZodString>;
20075
20075
  credentialScope: z.ZodOptional<z.ZodString>;
20076
20076
  imageUrl: z.ZodOptional<z.ZodString>;
20077
20077
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -20104,10 +20104,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20104
20104
  }, z.core.$strip>>;
20105
20105
  credential: z.ZodOptional<z.ZodObject<{
20106
20106
  id: z.ZodString;
20107
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20108
20107
  name: z.ZodString;
20109
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20110
20108
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20109
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20110
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20111
20111
  credentialStoreId: z.ZodString;
20112
20112
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20113
20113
  type: z.ZodEnum<{
@@ -20130,11 +20130,11 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20130
20130
  }>;
20131
20131
  declare const ToolUpdateSchema: z.ZodObject<{
20132
20132
  id: z.ZodOptional<z.ZodString>;
20133
- tenantId: z.ZodOptional<z.ZodString>;
20134
20133
  name: z.ZodOptional<z.ZodString>;
20135
20134
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20136
- projectId: z.ZodOptional<z.ZodString>;
20137
20135
  headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
20136
+ tenantId: z.ZodOptional<z.ZodString>;
20137
+ projectId: z.ZodOptional<z.ZodString>;
20138
20138
  config: z.ZodOptional<z.ZodObject<{
20139
20139
  type: z.ZodLiteral<"mcp">;
20140
20140
  mcp: z.ZodObject<{
@@ -20173,10 +20173,10 @@ declare const ToolUpdateSchema: z.ZodObject<{
20173
20173
  }>;
20174
20174
  declare const ToolApiSelectSchema: z.ZodObject<{
20175
20175
  id: z.ZodString;
20176
- createdAt: z.ZodString;
20177
20176
  name: z.ZodString;
20178
- description: z.ZodNullable<z.ZodString>;
20177
+ createdAt: z.ZodString;
20179
20178
  updatedAt: z.ZodString;
20179
+ description: z.ZodNullable<z.ZodString>;
20180
20180
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
20181
20181
  config: z.ZodType<{
20182
20182
  type: "mcp";
@@ -20609,11 +20609,11 @@ declare const FunctionToolSelectSchema: drizzle_zod21.BuildSchema<"select", {
20609
20609
  }, undefined>, undefined>;
20610
20610
  declare const FunctionToolInsertSchema: z.ZodObject<{
20611
20611
  id: z.ZodString;
20612
- tenantId: z.ZodString;
20613
20612
  name: z.ZodString;
20614
20613
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20615
- projectId: z.ZodString;
20614
+ tenantId: z.ZodString;
20616
20615
  agentId: z.ZodString;
20616
+ projectId: z.ZodString;
20617
20617
  functionId: z.ZodString;
20618
20618
  }, {
20619
20619
  out: {};
@@ -20621,11 +20621,11 @@ declare const FunctionToolInsertSchema: z.ZodObject<{
20621
20621
  }>;
20622
20622
  declare const FunctionToolUpdateSchema: z.ZodObject<{
20623
20623
  id: z.ZodOptional<z.ZodString>;
20624
- tenantId: z.ZodOptional<z.ZodString>;
20625
20624
  name: z.ZodOptional<z.ZodString>;
20626
20625
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20627
- projectId: z.ZodOptional<z.ZodString>;
20626
+ tenantId: z.ZodOptional<z.ZodString>;
20628
20627
  agentId: z.ZodOptional<z.ZodString>;
20628
+ projectId: z.ZodOptional<z.ZodString>;
20629
20629
  functionId: z.ZodOptional<z.ZodString>;
20630
20630
  }, {
20631
20631
  out: {};
@@ -20633,10 +20633,10 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
20633
20633
  }>;
20634
20634
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
20635
20635
  id: z.ZodString;
20636
- createdAt: z.ZodString;
20637
20636
  name: z.ZodString;
20638
- description: z.ZodNullable<z.ZodString>;
20637
+ createdAt: z.ZodString;
20639
20638
  updatedAt: z.ZodString;
20639
+ description: z.ZodNullable<z.ZodString>;
20640
20640
  agentId: z.ZodString;
20641
20641
  functionId: z.ZodString;
20642
20642
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -21413,10 +21413,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
21413
21413
  defaultValue: z.ZodOptional<z.ZodAny>;
21414
21414
  credential: z.ZodOptional<z.ZodObject<{
21415
21415
  id: z.ZodString;
21416
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21417
21416
  name: z.ZodString;
21418
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21419
21417
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21418
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21419
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21420
21420
  credentialStoreId: z.ZodString;
21421
21421
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21422
21422
  type: z.ZodEnum<{
@@ -21443,8 +21443,8 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
21443
21443
  declare const ContextConfigInsertSchema: z.ZodObject<{
21444
21444
  id: z.ZodOptional<z.ZodString>;
21445
21445
  tenantId: z.ZodString;
21446
- projectId: z.ZodString;
21447
21446
  agentId: z.ZodString;
21447
+ projectId: z.ZodString;
21448
21448
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21449
21449
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21450
21450
  }, {
@@ -21454,8 +21454,8 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
21454
21454
  declare const ContextConfigUpdateSchema: z.ZodObject<{
21455
21455
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21456
21456
  tenantId: z.ZodOptional<z.ZodString>;
21457
- projectId: z.ZodOptional<z.ZodString>;
21458
21457
  agentId: z.ZodOptional<z.ZodString>;
21458
+ projectId: z.ZodOptional<z.ZodString>;
21459
21459
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21460
21460
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21461
21461
  }, {
@@ -21940,35 +21940,35 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
21940
21940
  id: z.ZodString;
21941
21941
  createdAt: z.ZodString;
21942
21942
  updatedAt: z.ZodString;
21943
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21943
21944
  subAgentId: z.ZodString;
21944
21945
  toolId: z.ZodString;
21945
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21946
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21947
21946
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21947
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21948
21948
  }, z.core.$strip>;
21949
21949
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
21950
21950
  id: z.ZodString;
21951
21951
  createdAt: z.ZodOptional<z.ZodString>;
21952
21952
  updatedAt: z.ZodOptional<z.ZodString>;
21953
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21953
21954
  subAgentId: z.ZodString;
21954
21955
  toolId: z.ZodString;
21955
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21956
- selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21957
21956
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21958
21957
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21959
21958
  }, z.core.$strip>>>>;
21959
+ selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21960
21960
  }, z.core.$strip>;
21961
21961
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
21962
21962
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21963
21963
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21964
21964
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21965
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21965
21966
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21966
21967
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21967
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21968
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21969
21968
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21970
21969
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21971
21970
  }, z.core.$strip>>>>>>;
21971
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21972
21972
  }, z.core.$strip>;
21973
21973
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
21974
21974
  createdAt: drizzle_orm_pg_core1040.PgColumn<{
@@ -22339,8 +22339,8 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
22339
22339
  id: z.ZodString;
22340
22340
  createdAt: z.ZodString;
22341
22341
  updatedAt: z.ZodString;
22342
- subAgentId: z.ZodString;
22343
22342
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
22343
+ subAgentId: z.ZodString;
22344
22344
  externalAgentId: z.ZodString;
22345
22345
  }, z.core.$strip>;
22346
22346
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
@@ -22353,8 +22353,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
22353
22353
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22354
22354
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22355
22355
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22356
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22357
22356
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22357
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22358
22358
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22359
22359
  }, z.core.$strip>;
22360
22360
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -22726,8 +22726,8 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
22726
22726
  id: z.ZodString;
22727
22727
  createdAt: z.ZodString;
22728
22728
  updatedAt: z.ZodString;
22729
- subAgentId: z.ZodString;
22730
22729
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
22730
+ subAgentId: z.ZodString;
22731
22731
  targetAgentId: z.ZodString;
22732
22732
  }, z.core.$strip>;
22733
22733
  declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
@@ -22740,8 +22740,8 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
22740
22740
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22741
22741
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22742
22742
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22743
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22744
22743
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22744
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22745
22745
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22746
22746
  }, z.core.$strip>;
22747
22747
  declare const LedgerArtifactSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -24085,7 +24085,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod21.BuildSchema<"insert", {
24085
24085
  }, {}, {
24086
24086
  length: 256;
24087
24087
  }>;
24088
- }, "type" | "id" | "tenantId" | "createdAt" | "name" | "metadata" | "description" | "updatedAt" | "projectId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24088
+ }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "tenantId" | "projectId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24089
24089
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24090
24090
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24091
24091
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24112,11 +24112,11 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24112
24112
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
24113
24113
  type: z.ZodString;
24114
24114
  id: z.ZodString;
24115
- createdAt: z.ZodString;
24116
24115
  name: z.ZodNullable<z.ZodString>;
24116
+ createdAt: z.ZodString;
24117
+ updatedAt: z.ZodString;
24117
24118
  metadata: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
24118
24119
  description: z.ZodNullable<z.ZodString>;
24119
- updatedAt: z.ZodString;
24120
24120
  contextId: z.ZodString;
24121
24121
  visibility: z.ZodNullable<z.ZodString>;
24122
24122
  taskId: z.ZodString;
@@ -24130,11 +24130,11 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
24130
24130
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
24131
24131
  type: z.ZodOptional<z.ZodString>;
24132
24132
  id: z.ZodString;
24133
- createdAt: z.ZodOptional<z.ZodString>;
24134
24133
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24134
+ createdAt: z.ZodOptional<z.ZodString>;
24135
+ updatedAt: z.ZodOptional<z.ZodString>;
24135
24136
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24136
24137
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24137
- updatedAt: z.ZodOptional<z.ZodString>;
24138
24138
  contextId: z.ZodString;
24139
24139
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24140
24140
  taskId: z.ZodString;
@@ -24148,11 +24148,11 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
24148
24148
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24149
24149
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24150
24150
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24151
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24152
24151
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24152
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24153
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24153
24154
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
24154
24155
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24155
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24156
24156
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24157
24157
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24158
24158
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24227,8 +24227,9 @@ declare const TeamAgentSchema: z.ZodObject<{
24227
24227
  }, z.core.$strip>;
24228
24228
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24229
24229
  id: z.ZodString;
24230
- createdAt: z.ZodOptional<z.ZodString>;
24231
24230
  name: z.ZodString;
24231
+ createdAt: z.ZodOptional<z.ZodString>;
24232
+ updatedAt: z.ZodOptional<z.ZodString>;
24232
24233
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24233
24234
  models: z.ZodOptional<z.ZodObject<{
24234
24235
  base: z.ZodOptional<z.ZodObject<{
@@ -24250,7 +24251,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24250
24251
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
24251
24252
  }, z.core.$strip>>;
24252
24253
  }, z.core.$strip>>;
24253
- updatedAt: z.ZodOptional<z.ZodString>;
24254
24254
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24255
24255
  type: z.ZodLiteral<"internal">;
24256
24256
  canUse: z.ZodArray<z.ZodObject<{
@@ -24293,8 +24293,9 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24293
24293
  executionMode: z.ZodOptional<z.ZodString>;
24294
24294
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24295
24295
  id: z.ZodString;
24296
- createdAt: z.ZodOptional<z.ZodString>;
24297
24296
  name: z.ZodString;
24297
+ createdAt: z.ZodOptional<z.ZodString>;
24298
+ updatedAt: z.ZodOptional<z.ZodString>;
24298
24299
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24299
24300
  models: z.ZodOptional<z.ZodObject<{
24300
24301
  base: z.ZodOptional<z.ZodObject<{
@@ -24316,7 +24317,6 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24316
24317
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
24317
24318
  }, z.core.$strip>>;
24318
24319
  }, z.core.$strip>>;
24319
- updatedAt: z.ZodOptional<z.ZodString>;
24320
24320
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24321
24321
  type: z.ZodLiteral<"internal">;
24322
24322
  canUse: z.ZodArray<z.ZodObject<{
@@ -24413,19 +24413,19 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24413
24413
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24414
24414
  }, z.core.$strip>>>;
24415
24415
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24416
+ enabled: z.ZodOptional<z.ZodBoolean>;
24416
24417
  id: z.ZodOptional<z.ZodString>;
24417
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24418
24418
  name: z.ZodString;
24419
24419
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24420
- enabled: z.ZodOptional<z.ZodBoolean>;
24421
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24420
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24422
24421
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24423
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
24424
24422
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24425
24423
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24424
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24426
24425
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24427
24426
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24428
24427
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24428
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
24429
24429
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
24430
24430
  }, z.core.$strip>>>;
24431
24431
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -24482,8 +24482,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24482
24482
  executionMode: z.ZodOptional<z.ZodString>;
24483
24483
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24484
24484
  id: z.ZodString;
24485
- createdAt: z.ZodOptional<z.ZodString>;
24486
24485
  name: z.ZodString;
24486
+ createdAt: z.ZodOptional<z.ZodString>;
24487
+ updatedAt: z.ZodOptional<z.ZodString>;
24487
24488
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24488
24489
  models: z.ZodOptional<z.ZodObject<{
24489
24490
  base: z.ZodOptional<z.ZodObject<{
@@ -24505,7 +24506,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24505
24506
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
24506
24507
  }, z.core.$strip>>;
24507
24508
  }, z.core.$strip>>;
24508
- updatedAt: z.ZodOptional<z.ZodString>;
24509
24509
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24510
24510
  type: z.ZodLiteral<"internal">;
24511
24511
  canUse: z.ZodArray<z.ZodObject<{
@@ -24602,19 +24602,19 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24602
24602
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24603
24603
  }, z.core.$strip>>>;
24604
24604
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24605
+ enabled: z.ZodOptional<z.ZodBoolean>;
24605
24606
  id: z.ZodOptional<z.ZodString>;
24606
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24607
24607
  name: z.ZodString;
24608
24608
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24609
- enabled: z.ZodOptional<z.ZodBoolean>;
24610
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24609
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24611
24610
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24612
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
24613
24611
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24614
24612
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24613
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24615
24614
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24616
24615
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24617
24616
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24617
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
24618
24618
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
24619
24619
  }, z.core.$strip>>>;
24620
24620
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -24723,9 +24723,9 @@ declare const ProjectSelectSchema: z.ZodObject<{
24723
24723
  }>;
24724
24724
  declare const ProjectInsertSchema: z.ZodObject<{
24725
24725
  id: z.ZodString;
24726
- tenantId: z.ZodString;
24727
24726
  name: z.ZodString;
24728
24727
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24728
+ tenantId: z.ZodString;
24729
24729
  models: z.ZodObject<{
24730
24730
  base: z.ZodObject<{
24731
24731
  model: z.ZodOptional<z.ZodString>;
@@ -24787,8 +24787,9 @@ declare const ProjectUpdateSchema: z.ZodObject<{
24787
24787
  }>;
24788
24788
  declare const ProjectApiSelectSchema: z.ZodObject<{
24789
24789
  id: z.ZodString;
24790
- createdAt: z.ZodString;
24791
24790
  name: z.ZodString;
24791
+ createdAt: z.ZodString;
24792
+ updatedAt: z.ZodString;
24792
24793
  description: z.ZodNullable<z.ZodString>;
24793
24794
  models: z.ZodNullable<z.ZodObject<{
24794
24795
  base: z.ZodObject<{
@@ -24814,7 +24815,6 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
24814
24815
  transferCountIs: z.ZodOptional<z.ZodInt>;
24815
24816
  stepCountIs: z.ZodOptional<z.ZodInt>;
24816
24817
  }, z.core.$strip>>;
24817
- updatedAt: z.ZodString;
24818
24818
  }, {
24819
24819
  out: {};
24820
24820
  in: {};
@@ -24919,8 +24919,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24919
24919
  executionMode: z.ZodOptional<z.ZodString>;
24920
24920
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24921
24921
  id: z.ZodString;
24922
- createdAt: z.ZodOptional<z.ZodString>;
24923
24922
  name: z.ZodString;
24923
+ createdAt: z.ZodOptional<z.ZodString>;
24924
+ updatedAt: z.ZodOptional<z.ZodString>;
24924
24925
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24925
24926
  models: z.ZodOptional<z.ZodObject<{
24926
24927
  base: z.ZodOptional<z.ZodObject<{
@@ -24942,7 +24943,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24942
24943
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
24943
24944
  }, z.core.$strip>>;
24944
24945
  }, z.core.$strip>>;
24945
- updatedAt: z.ZodOptional<z.ZodString>;
24946
24946
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24947
24947
  type: z.ZodLiteral<"internal">;
24948
24948
  canUse: z.ZodArray<z.ZodObject<{
@@ -25039,19 +25039,19 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25039
25039
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
25040
25040
  }, z.core.$strip>>>;
25041
25041
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25042
+ enabled: z.ZodOptional<z.ZodBoolean>;
25042
25043
  id: z.ZodOptional<z.ZodString>;
25043
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25044
25044
  name: z.ZodString;
25045
25045
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25046
- enabled: z.ZodOptional<z.ZodBoolean>;
25047
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25046
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25048
25047
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25049
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
25050
25048
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
25051
25049
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
25050
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25052
25051
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
25053
25052
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25054
25053
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
25054
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
25055
25055
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
25056
25056
  }, z.core.$strip>>>;
25057
25057
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -25255,10 +25255,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25255
25255
  }, z.core.$strict>>;
25256
25256
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25257
25257
  id: z.ZodString;
25258
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25259
25258
  name: z.ZodString;
25260
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25261
25259
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25260
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25261
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25262
25262
  credentialStoreId: z.ZodString;
25263
25263
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25264
25264
  type: z.ZodEnum<{
@@ -25276,8 +25276,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25276
25276
  }>;
25277
25277
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25278
25278
  id: z.ZodString;
25279
- createdAt: z.ZodString;
25280
25279
  name: z.ZodString;
25280
+ createdAt: z.ZodString;
25281
+ updatedAt: z.ZodString;
25281
25282
  description: z.ZodNullable<z.ZodString>;
25282
25283
  models: z.ZodNullable<z.ZodType<{
25283
25284
  base?: {
@@ -25365,7 +25366,6 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25365
25366
  }, {
25366
25367
  stepCountIs?: number | undefined;
25367
25368
  }>>>;
25368
- updatedAt: z.ZodString;
25369
25369
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25370
25370
  type: z.ZodLiteral<"internal">;
25371
25371
  canUse: z.ZodArray<z.ZodObject<{
@@ -25393,8 +25393,9 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25393
25393
  }, z.core.$strip>;
25394
25394
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25395
25395
  id: z.ZodString;
25396
- createdAt: z.ZodString;
25397
25396
  name: z.ZodString;
25397
+ createdAt: z.ZodString;
25398
+ updatedAt: z.ZodString;
25398
25399
  description: z.ZodNullable<z.ZodString>;
25399
25400
  models: z.ZodNullable<z.ZodType<{
25400
25401
  base?: {
@@ -25482,7 +25483,6 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25482
25483
  }, {
25483
25484
  stepCountIs?: number | undefined;
25484
25485
  }>>>;
25485
- updatedAt: z.ZodString;
25486
25486
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25487
25487
  type: z.ZodLiteral<"internal">;
25488
25488
  canUse: z.ZodArray<z.ZodObject<{
@@ -25516,17 +25516,18 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25516
25516
  }, z.core.$strip>;
25517
25517
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25518
25518
  id: z.ZodString;
25519
- createdAt: z.ZodString;
25520
25519
  name: z.ZodString;
25521
- description: z.ZodNullable<z.ZodString>;
25520
+ createdAt: z.ZodString;
25522
25521
  updatedAt: z.ZodString;
25522
+ description: z.ZodNullable<z.ZodString>;
25523
25523
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25524
25524
  contextConfigId: z.ZodNullable<z.ZodString>;
25525
25525
  executionMode: z.ZodString;
25526
25526
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25527
25527
  id: z.ZodString;
25528
- createdAt: z.ZodString;
25529
25528
  name: z.ZodString;
25529
+ createdAt: z.ZodString;
25530
+ updatedAt: z.ZodString;
25530
25531
  description: z.ZodNullable<z.ZodString>;
25531
25532
  models: z.ZodNullable<z.ZodType<{
25532
25533
  base?: {
@@ -25614,7 +25615,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25614
25615
  }, {
25615
25616
  stepCountIs?: number | undefined;
25616
25617
  }>>>;
25617
- updatedAt: z.ZodString;
25618
25618
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25619
25619
  type: z.ZodLiteral<"internal">;
25620
25620
  canUse: z.ZodArray<z.ZodObject<{
@@ -25642,10 +25642,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25642
25642
  }, z.core.$strip>>;
25643
25643
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25644
25644
  id: z.ZodString;
25645
- createdAt: z.ZodString;
25646
25645
  name: z.ZodString;
25647
- description: z.ZodNullable<z.ZodString>;
25646
+ createdAt: z.ZodString;
25648
25647
  updatedAt: z.ZodString;
25648
+ description: z.ZodNullable<z.ZodString>;
25649
25649
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25650
25650
  config: z.ZodType<{
25651
25651
  type: "mcp";
@@ -25669,10 +25669,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25669
25669
  }, z.core.$strip>>>;
25670
25670
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25671
25671
  id: z.ZodString;
25672
- createdAt: z.ZodString;
25673
25672
  name: z.ZodString;
25674
- description: z.ZodNullable<z.ZodString>;
25673
+ createdAt: z.ZodString;
25675
25674
  updatedAt: z.ZodString;
25675
+ description: z.ZodNullable<z.ZodString>;
25676
25676
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25677
25677
  baseUrl: z.ZodString;
25678
25678
  }, z.core.$strip>>>;
@@ -25683,10 +25683,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25683
25683
  }, z.core.$strip>>>;
25684
25684
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25685
25685
  id: z.ZodString;
25686
- createdAt: z.ZodString;
25687
25686
  name: z.ZodString;
25688
- description: z.ZodNullable<z.ZodString>;
25687
+ createdAt: z.ZodString;
25689
25688
  updatedAt: z.ZodString;
25689
+ description: z.ZodNullable<z.ZodString>;
25690
25690
  agentId: z.ZodString;
25691
25691
  functionId: z.ZodString;
25692
25692
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -25748,19 +25748,19 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25748
25748
  }, z.core.$strip>;
25749
25749
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
25750
25750
  id: z.ZodString;
25751
- createdAt: z.ZodString;
25752
25751
  name: z.ZodString;
25753
- description: z.ZodNullable<z.ZodString>;
25752
+ createdAt: z.ZodString;
25754
25753
  updatedAt: z.ZodString;
25754
+ description: z.ZodNullable<z.ZodString>;
25755
25755
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25756
25756
  contextConfigId: z.ZodNullable<z.ZodString>;
25757
25757
  executionMode: z.ZodString;
25758
25758
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25759
25759
  id: z.ZodString;
25760
- createdAt: z.ZodString;
25761
25760
  name: z.ZodString;
25762
- description: z.ZodNullable<z.ZodString>;
25761
+ createdAt: z.ZodString;
25763
25762
  updatedAt: z.ZodString;
25763
+ description: z.ZodNullable<z.ZodString>;
25764
25764
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25765
25765
  config: z.ZodType<{
25766
25766
  type: "mcp";
@@ -25784,10 +25784,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25784
25784
  }, z.core.$strip>>>;
25785
25785
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25786
25786
  id: z.ZodString;
25787
- createdAt: z.ZodString;
25788
25787
  name: z.ZodString;
25789
- description: z.ZodNullable<z.ZodString>;
25788
+ createdAt: z.ZodString;
25790
25789
  updatedAt: z.ZodString;
25790
+ description: z.ZodNullable<z.ZodString>;
25791
25791
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25792
25792
  baseUrl: z.ZodString;
25793
25793
  }, z.core.$strip>>>;
@@ -25798,10 +25798,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25798
25798
  }, z.core.$strip>>>;
25799
25799
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25800
25800
  id: z.ZodString;
25801
- createdAt: z.ZodString;
25802
25801
  name: z.ZodString;
25803
- description: z.ZodNullable<z.ZodString>;
25802
+ createdAt: z.ZodString;
25804
25803
  updatedAt: z.ZodString;
25804
+ description: z.ZodNullable<z.ZodString>;
25805
25805
  agentId: z.ZodString;
25806
25806
  functionId: z.ZodString;
25807
25807
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -25862,8 +25862,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25862
25862
  prompt: z.ZodNullable<z.ZodString>;
25863
25863
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25864
25864
  id: z.ZodString;
25865
- createdAt: z.ZodString;
25866
25865
  name: z.ZodString;
25866
+ createdAt: z.ZodString;
25867
+ updatedAt: z.ZodString;
25867
25868
  description: z.ZodNullable<z.ZodString>;
25868
25869
  models: z.ZodNullable<z.ZodType<{
25869
25870
  base?: {
@@ -25951,7 +25952,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25951
25952
  }, {
25952
25953
  stepCountIs?: number | undefined;
25953
25954
  }>>>;
25954
- updatedAt: z.ZodString;
25955
25955
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25956
25956
  type: z.ZodLiteral<"internal">;
25957
25957
  canUse: z.ZodArray<z.ZodObject<{
@@ -25986,8 +25986,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25986
25986
  }, z.core.$strip>;
25987
25987
  declare const FullProjectSelectSchema: z.ZodObject<{
25988
25988
  id: z.ZodString;
25989
- createdAt: z.ZodString;
25990
25989
  name: z.ZodString;
25990
+ createdAt: z.ZodString;
25991
+ updatedAt: z.ZodString;
25991
25992
  description: z.ZodNullable<z.ZodString>;
25992
25993
  models: z.ZodNullable<z.ZodObject<{
25993
25994
  base: z.ZodObject<{
@@ -26013,20 +26014,20 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26013
26014
  transferCountIs: z.ZodOptional<z.ZodInt>;
26014
26015
  stepCountIs: z.ZodOptional<z.ZodInt>;
26015
26016
  }, z.core.$strip>>;
26016
- updatedAt: z.ZodString;
26017
26017
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26018
26018
  id: z.ZodString;
26019
- createdAt: z.ZodString;
26020
26019
  name: z.ZodString;
26021
- description: z.ZodNullable<z.ZodString>;
26020
+ createdAt: z.ZodString;
26022
26021
  updatedAt: z.ZodString;
26022
+ description: z.ZodNullable<z.ZodString>;
26023
26023
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26024
26024
  contextConfigId: z.ZodNullable<z.ZodString>;
26025
26025
  executionMode: z.ZodString;
26026
26026
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26027
26027
  id: z.ZodString;
26028
- createdAt: z.ZodString;
26029
26028
  name: z.ZodString;
26029
+ createdAt: z.ZodString;
26030
+ updatedAt: z.ZodString;
26030
26031
  description: z.ZodNullable<z.ZodString>;
26031
26032
  models: z.ZodNullable<z.ZodType<{
26032
26033
  base?: {
@@ -26114,7 +26115,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26114
26115
  }, {
26115
26116
  stepCountIs?: number | undefined;
26116
26117
  }>>>;
26117
- updatedAt: z.ZodString;
26118
26118
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26119
26119
  type: z.ZodLiteral<"internal">;
26120
26120
  canUse: z.ZodArray<z.ZodObject<{
@@ -26142,10 +26142,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26142
26142
  }, z.core.$strip>>;
26143
26143
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26144
26144
  id: z.ZodString;
26145
- createdAt: z.ZodString;
26146
26145
  name: z.ZodString;
26147
- description: z.ZodNullable<z.ZodString>;
26146
+ createdAt: z.ZodString;
26148
26147
  updatedAt: z.ZodString;
26148
+ description: z.ZodNullable<z.ZodString>;
26149
26149
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26150
26150
  config: z.ZodType<{
26151
26151
  type: "mcp";
@@ -26169,10 +26169,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26169
26169
  }, z.core.$strip>>>;
26170
26170
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26171
26171
  id: z.ZodString;
26172
- createdAt: z.ZodString;
26173
26172
  name: z.ZodString;
26174
- description: z.ZodNullable<z.ZodString>;
26173
+ createdAt: z.ZodString;
26175
26174
  updatedAt: z.ZodString;
26175
+ description: z.ZodNullable<z.ZodString>;
26176
26176
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26177
26177
  baseUrl: z.ZodString;
26178
26178
  }, z.core.$strip>>>;
@@ -26183,10 +26183,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26183
26183
  }, z.core.$strip>>>;
26184
26184
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26185
26185
  id: z.ZodString;
26186
- createdAt: z.ZodString;
26187
26186
  name: z.ZodString;
26188
- description: z.ZodNullable<z.ZodString>;
26187
+ createdAt: z.ZodString;
26189
26188
  updatedAt: z.ZodString;
26189
+ description: z.ZodNullable<z.ZodString>;
26190
26190
  agentId: z.ZodString;
26191
26191
  functionId: z.ZodString;
26192
26192
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -26248,10 +26248,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26248
26248
  }, z.core.$strip>>;
26249
26249
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
26250
26250
  id: z.ZodString;
26251
- createdAt: z.ZodString;
26252
26251
  name: z.ZodString;
26253
- description: z.ZodNullable<z.ZodString>;
26252
+ createdAt: z.ZodString;
26254
26253
  updatedAt: z.ZodString;
26254
+ description: z.ZodNullable<z.ZodString>;
26255
26255
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26256
26256
  config: z.ZodType<{
26257
26257
  type: "mcp";
@@ -26275,10 +26275,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26275
26275
  }, z.core.$strip>>;
26276
26276
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26277
26277
  id: z.ZodString;
26278
- createdAt: z.ZodString;
26279
26278
  name: z.ZodString;
26280
- description: z.ZodNullable<z.ZodString>;
26279
+ createdAt: z.ZodString;
26281
26280
  updatedAt: z.ZodString;
26281
+ description: z.ZodNullable<z.ZodString>;
26282
26282
  agentId: z.ZodString;
26283
26283
  functionId: z.ZodString;
26284
26284
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -26293,10 +26293,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26293
26293
  }, z.core.$strip>>>;
26294
26294
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26295
26295
  id: z.ZodString;
26296
- createdAt: z.ZodString;
26297
26296
  name: z.ZodString;
26298
- description: z.ZodNullable<z.ZodString>;
26297
+ createdAt: z.ZodString;
26299
26298
  updatedAt: z.ZodString;
26299
+ description: z.ZodNullable<z.ZodString>;
26300
26300
  props: z.ZodType<{
26301
26301
  [x: string]: unknown;
26302
26302
  type: "object";
@@ -26342,10 +26342,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26342
26342
  }, z.core.$strip>>>;
26343
26343
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26344
26344
  id: z.ZodString;
26345
- createdAt: z.ZodString;
26346
26345
  name: z.ZodString;
26347
- description: z.ZodNullable<z.ZodString>;
26346
+ createdAt: z.ZodString;
26348
26347
  updatedAt: z.ZodString;
26348
+ description: z.ZodNullable<z.ZodString>;
26349
26349
  props: z.ZodNullable<z.ZodType<{
26350
26350
  [x: string]: unknown;
26351
26351
  type: "object";
@@ -26391,10 +26391,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26391
26391
  }, z.core.$strip>>>;
26392
26392
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26393
26393
  id: z.ZodString;
26394
- createdAt: z.ZodString;
26395
26394
  name: z.ZodString;
26396
- description: z.ZodNullable<z.ZodString>;
26395
+ createdAt: z.ZodString;
26397
26396
  updatedAt: z.ZodString;
26397
+ description: z.ZodNullable<z.ZodString>;
26398
26398
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26399
26399
  baseUrl: z.ZodString;
26400
26400
  }, z.core.$strip>>>;
@@ -26415,12 +26415,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26415
26415
  }, z.core.$strict>>;
26416
26416
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26417
26417
  id: z.ZodString;
26418
- createdAt: z.ZodString;
26419
- createdBy: z.ZodNullable<z.ZodString>;
26420
26418
  name: z.ZodString;
26419
+ createdAt: z.ZodString;
26421
26420
  updatedAt: z.ZodString;
26422
- toolId: z.ZodNullable<z.ZodString>;
26423
26421
  userId: z.ZodNullable<z.ZodString>;
26422
+ createdBy: z.ZodNullable<z.ZodString>;
26423
+ toolId: z.ZodNullable<z.ZodString>;
26424
26424
  credentialStoreId: z.ZodString;
26425
26425
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26426
26426
  type: z.ZodEnum<{
@@ -27011,8 +27011,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27011
27011
  }>;
27012
27012
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27013
27013
  id: z.ZodString;
27014
- createdAt: z.ZodString;
27015
27014
  name: z.ZodString;
27015
+ createdAt: z.ZodString;
27016
+ updatedAt: z.ZodString;
27016
27017
  description: z.ZodNullable<z.ZodString>;
27017
27018
  models: z.ZodNullable<z.ZodObject<{
27018
27019
  base: z.ZodObject<{
@@ -27038,13 +27039,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27038
27039
  transferCountIs: z.ZodOptional<z.ZodInt>;
27039
27040
  stepCountIs: z.ZodOptional<z.ZodInt>;
27040
27041
  }, z.core.$strip>>;
27041
- updatedAt: z.ZodString;
27042
27042
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
27043
27043
  id: z.ZodString;
27044
- createdAt: z.ZodString;
27045
27044
  name: z.ZodString;
27046
- description: z.ZodNullable<z.ZodString>;
27045
+ createdAt: z.ZodString;
27047
27046
  updatedAt: z.ZodString;
27047
+ description: z.ZodNullable<z.ZodString>;
27048
27048
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27049
27049
  config: z.ZodType<{
27050
27050
  type: "mcp";
@@ -27068,10 +27068,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27068
27068
  }, z.core.$strip>>;
27069
27069
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27070
27070
  id: z.ZodString;
27071
- createdAt: z.ZodString;
27072
27071
  name: z.ZodString;
27073
- description: z.ZodNullable<z.ZodString>;
27072
+ createdAt: z.ZodString;
27074
27073
  updatedAt: z.ZodString;
27074
+ description: z.ZodNullable<z.ZodString>;
27075
27075
  agentId: z.ZodString;
27076
27076
  functionId: z.ZodString;
27077
27077
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -27086,10 +27086,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27086
27086
  }, z.core.$strip>>>;
27087
27087
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27088
27088
  id: z.ZodString;
27089
- createdAt: z.ZodString;
27090
27089
  name: z.ZodString;
27091
- description: z.ZodNullable<z.ZodString>;
27090
+ createdAt: z.ZodString;
27092
27091
  updatedAt: z.ZodString;
27092
+ description: z.ZodNullable<z.ZodString>;
27093
27093
  props: z.ZodType<{
27094
27094
  [x: string]: unknown;
27095
27095
  type: "object";
@@ -27135,10 +27135,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27135
27135
  }, z.core.$strip>>>;
27136
27136
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27137
27137
  id: z.ZodString;
27138
- createdAt: z.ZodString;
27139
27138
  name: z.ZodString;
27140
- description: z.ZodNullable<z.ZodString>;
27139
+ createdAt: z.ZodString;
27141
27140
  updatedAt: z.ZodString;
27141
+ description: z.ZodNullable<z.ZodString>;
27142
27142
  props: z.ZodNullable<z.ZodType<{
27143
27143
  [x: string]: unknown;
27144
27144
  type: "object";
@@ -27184,10 +27184,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27184
27184
  }, z.core.$strip>>>;
27185
27185
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27186
27186
  id: z.ZodString;
27187
- createdAt: z.ZodString;
27188
27187
  name: z.ZodString;
27189
- description: z.ZodNullable<z.ZodString>;
27188
+ createdAt: z.ZodString;
27190
27189
  updatedAt: z.ZodString;
27190
+ description: z.ZodNullable<z.ZodString>;
27191
27191
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27192
27192
  baseUrl: z.ZodString;
27193
27193
  }, z.core.$strip>>>;
@@ -27208,12 +27208,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27208
27208
  }, z.core.$strict>>;
27209
27209
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27210
27210
  id: z.ZodString;
27211
- createdAt: z.ZodString;
27212
- createdBy: z.ZodNullable<z.ZodString>;
27213
27211
  name: z.ZodString;
27212
+ createdAt: z.ZodString;
27214
27213
  updatedAt: z.ZodString;
27215
- toolId: z.ZodNullable<z.ZodString>;
27216
27214
  userId: z.ZodNullable<z.ZodString>;
27215
+ createdBy: z.ZodNullable<z.ZodString>;
27216
+ toolId: z.ZodNullable<z.ZodString>;
27217
27217
  credentialStoreId: z.ZodString;
27218
27218
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27219
27219
  type: z.ZodEnum<{
@@ -27800,19 +27800,19 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27800
27800
  }, z.core.$strip>>>;
27801
27801
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
27802
27802
  id: z.ZodString;
27803
- createdAt: z.ZodString;
27804
27803
  name: z.ZodString;
27805
- description: z.ZodNullable<z.ZodString>;
27804
+ createdAt: z.ZodString;
27806
27805
  updatedAt: z.ZodString;
27806
+ description: z.ZodNullable<z.ZodString>;
27807
27807
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
27808
27808
  contextConfigId: z.ZodNullable<z.ZodString>;
27809
27809
  executionMode: z.ZodString;
27810
27810
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27811
27811
  id: z.ZodString;
27812
- createdAt: z.ZodString;
27813
27812
  name: z.ZodString;
27814
- description: z.ZodNullable<z.ZodString>;
27813
+ createdAt: z.ZodString;
27815
27814
  updatedAt: z.ZodString;
27815
+ description: z.ZodNullable<z.ZodString>;
27816
27816
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27817
27817
  config: z.ZodType<{
27818
27818
  type: "mcp";
@@ -27836,10 +27836,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27836
27836
  }, z.core.$strip>>>;
27837
27837
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27838
27838
  id: z.ZodString;
27839
- createdAt: z.ZodString;
27840
27839
  name: z.ZodString;
27841
- description: z.ZodNullable<z.ZodString>;
27840
+ createdAt: z.ZodString;
27842
27841
  updatedAt: z.ZodString;
27842
+ description: z.ZodNullable<z.ZodString>;
27843
27843
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27844
27844
  baseUrl: z.ZodString;
27845
27845
  }, z.core.$strip>>>;
@@ -27850,10 +27850,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27850
27850
  }, z.core.$strip>>>;
27851
27851
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27852
27852
  id: z.ZodString;
27853
- createdAt: z.ZodString;
27854
27853
  name: z.ZodString;
27855
- description: z.ZodNullable<z.ZodString>;
27854
+ createdAt: z.ZodString;
27856
27855
  updatedAt: z.ZodString;
27856
+ description: z.ZodNullable<z.ZodString>;
27857
27857
  agentId: z.ZodString;
27858
27858
  functionId: z.ZodString;
27859
27859
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -27914,8 +27914,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27914
27914
  prompt: z.ZodNullable<z.ZodString>;
27915
27915
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27916
27916
  id: z.ZodString;
27917
- createdAt: z.ZodString;
27918
27917
  name: z.ZodString;
27918
+ createdAt: z.ZodString;
27919
+ updatedAt: z.ZodString;
27919
27920
  description: z.ZodNullable<z.ZodString>;
27920
27921
  models: z.ZodNullable<z.ZodType<{
27921
27922
  base?: {
@@ -28003,7 +28004,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28003
28004
  }, {
28004
28005
  stepCountIs?: number | undefined;
28005
28006
  }>>>;
28006
- updatedAt: z.ZodString;
28007
28007
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28008
28008
  type: z.ZodLiteral<"internal">;
28009
28009
  canUse: z.ZodArray<z.ZodObject<{
@@ -28043,8 +28043,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28043
28043
  declare const ProjectResponse: z.ZodObject<{
28044
28044
  data: z.ZodObject<{
28045
28045
  id: z.ZodString;
28046
- createdAt: z.ZodString;
28047
28046
  name: z.ZodString;
28047
+ createdAt: z.ZodString;
28048
+ updatedAt: z.ZodString;
28048
28049
  description: z.ZodNullable<z.ZodString>;
28049
28050
  models: z.ZodNullable<z.ZodObject<{
28050
28051
  base: z.ZodObject<{
@@ -28070,7 +28071,6 @@ declare const ProjectResponse: z.ZodObject<{
28070
28071
  transferCountIs: z.ZodOptional<z.ZodInt>;
28071
28072
  stepCountIs: z.ZodOptional<z.ZodInt>;
28072
28073
  }, z.core.$strip>>;
28073
- updatedAt: z.ZodString;
28074
28074
  }, {
28075
28075
  out: {};
28076
28076
  in: {};
@@ -28079,9 +28079,11 @@ declare const ProjectResponse: z.ZodObject<{
28079
28079
  declare const SubAgentResponse: z.ZodObject<{
28080
28080
  data: z.ZodObject<{
28081
28081
  id: z.ZodString;
28082
- createdAt: z.ZodString;
28083
28082
  name: z.ZodString;
28083
+ createdAt: z.ZodString;
28084
+ updatedAt: z.ZodString;
28084
28085
  description: z.ZodNullable<z.ZodString>;
28086
+ prompt: z.ZodNullable<z.ZodString>;
28085
28087
  models: z.ZodNullable<z.ZodType<{
28086
28088
  base?: {
28087
28089
  model?: string | undefined;
@@ -28168,17 +28170,19 @@ declare const SubAgentResponse: z.ZodObject<{
28168
28170
  }, {
28169
28171
  stepCountIs?: number | undefined;
28170
28172
  }>>>;
28171
- updatedAt: z.ZodString;
28172
- prompt: z.ZodNullable<z.ZodString>;
28173
28173
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28174
28174
  }, z.core.$strip>;
28175
28175
  }, z.core.$strip>;
28176
28176
  declare const AgentResponse: z.ZodObject<{
28177
28177
  data: z.ZodObject<{
28178
28178
  id: z.ZodString;
28179
- createdAt: z.ZodString;
28180
28179
  name: z.ZodString;
28180
+ createdAt: z.ZodString;
28181
+ updatedAt: z.ZodString;
28181
28182
  description: z.ZodNullable<z.ZodString>;
28183
+ prompt: z.ZodNullable<z.ZodString>;
28184
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28185
+ contextConfigId: z.ZodNullable<z.ZodString>;
28182
28186
  models: z.ZodNullable<z.ZodType<{
28183
28187
  base?: {
28184
28188
  model?: string | undefined;
@@ -28256,19 +28260,6 @@ declare const AgentResponse: z.ZodObject<{
28256
28260
  allowedProviders?: string[] | undefined;
28257
28261
  } | undefined;
28258
28262
  }>>>;
28259
- stopWhen: z.ZodNullable<z.ZodType<{
28260
- transferCountIs?: number | undefined;
28261
- }, {
28262
- transferCountIs?: number | undefined;
28263
- }, z.core.$ZodTypeInternals<{
28264
- transferCountIs?: number | undefined;
28265
- }, {
28266
- transferCountIs?: number | undefined;
28267
- }>>>;
28268
- updatedAt: z.ZodString;
28269
- prompt: z.ZodNullable<z.ZodString>;
28270
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28271
- contextConfigId: z.ZodNullable<z.ZodString>;
28272
28263
  statusUpdates: z.ZodNullable<z.ZodType<{
28273
28264
  enabled?: boolean | undefined;
28274
28265
  numEvents?: number | undefined;
@@ -28326,16 +28317,25 @@ declare const AgentResponse: z.ZodObject<{
28326
28317
  } | undefined;
28327
28318
  }[] | undefined;
28328
28319
  }>>>;
28320
+ stopWhen: z.ZodNullable<z.ZodType<{
28321
+ transferCountIs?: number | undefined;
28322
+ }, {
28323
+ transferCountIs?: number | undefined;
28324
+ }, z.core.$ZodTypeInternals<{
28325
+ transferCountIs?: number | undefined;
28326
+ }, {
28327
+ transferCountIs?: number | undefined;
28328
+ }>>>;
28329
28329
  executionMode: z.ZodString;
28330
28330
  }, z.core.$strip>;
28331
28331
  }, z.core.$strip>;
28332
28332
  declare const ExternalAgentResponse: z.ZodObject<{
28333
28333
  data: z.ZodObject<{
28334
28334
  id: z.ZodString;
28335
- createdAt: z.ZodString;
28336
28335
  name: z.ZodString;
28337
- description: z.ZodNullable<z.ZodString>;
28336
+ createdAt: z.ZodString;
28338
28337
  updatedAt: z.ZodString;
28338
+ description: z.ZodNullable<z.ZodString>;
28339
28339
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28340
28340
  baseUrl: z.ZodString;
28341
28341
  }, z.core.$strip>;
@@ -28352,11 +28352,11 @@ declare const ContextConfigResponse: z.ZodObject<{
28352
28352
  declare const ApiKeyResponse: z.ZodObject<{
28353
28353
  data: z.ZodObject<{
28354
28354
  id: z.ZodString;
28355
- createdAt: z.ZodString;
28356
28355
  name: z.ZodNullable<z.ZodString>;
28356
+ createdAt: z.ZodString;
28357
28357
  updatedAt: z.ZodString;
28358
- agentId: z.ZodString;
28359
28358
  expiresAt: z.ZodNullable<z.ZodString>;
28359
+ agentId: z.ZodString;
28360
28360
  lastUsedAt: z.ZodNullable<z.ZodString>;
28361
28361
  publicId: z.ZodString;
28362
28362
  keyPrefix: z.ZodString;
@@ -28368,12 +28368,12 @@ declare const ApiKeyResponse: z.ZodObject<{
28368
28368
  declare const CredentialReferenceResponse: z.ZodObject<{
28369
28369
  data: z.ZodObject<{
28370
28370
  id: z.ZodString;
28371
- createdAt: z.ZodString;
28372
- createdBy: z.ZodNullable<z.ZodString>;
28373
28371
  name: z.ZodString;
28372
+ createdAt: z.ZodString;
28374
28373
  updatedAt: z.ZodString;
28375
- toolId: z.ZodNullable<z.ZodString>;
28376
28374
  userId: z.ZodNullable<z.ZodString>;
28375
+ createdBy: z.ZodNullable<z.ZodString>;
28376
+ toolId: z.ZodNullable<z.ZodString>;
28377
28377
  credentialStoreId: z.ZodString;
28378
28378
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28379
28379
  type: z.ZodEnum<{
@@ -28972,10 +28972,10 @@ declare const FunctionResponse: z.ZodObject<{
28972
28972
  declare const FunctionToolResponse: z.ZodObject<{
28973
28973
  data: z.ZodObject<{
28974
28974
  id: z.ZodString;
28975
- createdAt: z.ZodString;
28976
28975
  name: z.ZodString;
28977
- description: z.ZodNullable<z.ZodString>;
28976
+ createdAt: z.ZodString;
28978
28977
  updatedAt: z.ZodString;
28978
+ description: z.ZodNullable<z.ZodString>;
28979
28979
  agentId: z.ZodString;
28980
28980
  functionId: z.ZodString;
28981
28981
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -28994,10 +28994,10 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
28994
28994
  declare const DataComponentResponse: z.ZodObject<{
28995
28995
  data: z.ZodObject<{
28996
28996
  id: z.ZodString;
28997
- createdAt: z.ZodString;
28998
28997
  name: z.ZodString;
28999
- description: z.ZodNullable<z.ZodString>;
28998
+ createdAt: z.ZodString;
29000
28999
  updatedAt: z.ZodString;
29000
+ description: z.ZodNullable<z.ZodString>;
29001
29001
  props: z.ZodType<{
29002
29002
  [x: string]: unknown;
29003
29003
  type: "object";
@@ -29045,10 +29045,10 @@ declare const DataComponentResponse: z.ZodObject<{
29045
29045
  declare const ArtifactComponentResponse: z.ZodObject<{
29046
29046
  data: z.ZodObject<{
29047
29047
  id: z.ZodString;
29048
- createdAt: z.ZodString;
29049
29048
  name: z.ZodString;
29050
- description: z.ZodNullable<z.ZodString>;
29049
+ createdAt: z.ZodString;
29051
29050
  updatedAt: z.ZodString;
29051
+ description: z.ZodNullable<z.ZodString>;
29052
29052
  props: z.ZodNullable<z.ZodType<{
29053
29053
  [x: string]: unknown;
29054
29054
  type: "object";
@@ -29108,27 +29108,26 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29108
29108
  id: z.ZodString;
29109
29109
  createdAt: z.ZodString;
29110
29110
  updatedAt: z.ZodString;
29111
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29111
29112
  subAgentId: z.ZodString;
29112
29113
  toolId: z.ZodString;
29113
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29114
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29115
29114
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29115
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29116
29116
  }, z.core.$strip>;
29117
29117
  }, z.core.$strip>;
29118
29118
  declare const TriggerResponse: z.ZodObject<{
29119
29119
  data: z.ZodObject<{
29120
+ enabled: z.ZodBoolean;
29120
29121
  id: z.ZodString;
29121
- createdAt: z.ZodString;
29122
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29123
29122
  name: z.ZodString;
29124
- description: z.ZodNullable<z.ZodString>;
29123
+ createdAt: z.ZodString;
29125
29124
  updatedAt: z.ZodString;
29126
- enabled: z.ZodBoolean;
29127
- messageTemplate: z.ZodNullable<z.ZodString>;
29125
+ description: z.ZodNullable<z.ZodString>;
29126
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29128
29127
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29129
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29130
29128
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29131
29129
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29130
+ messageTemplate: z.ZodNullable<z.ZodString>;
29132
29131
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
29133
29132
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29134
29133
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -29176,6 +29175,7 @@ declare const TriggerResponse: z.ZodObject<{
29176
29175
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
29177
29176
  }, z.core.$strip>>;
29178
29177
  }, z.core.$strip>>>;
29178
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29179
29179
  }, z.core.$strip>;
29180
29180
  }, z.core.$strip>;
29181
29181
  declare const TriggerInvocationResponse: z.ZodObject<{
@@ -29215,8 +29215,9 @@ declare const FeedbackResponse: z.ZodObject<{
29215
29215
  declare const ProjectListResponse: z.ZodObject<{
29216
29216
  data: z.ZodArray<z.ZodObject<{
29217
29217
  id: z.ZodString;
29218
- createdAt: z.ZodString;
29219
29218
  name: z.ZodString;
29219
+ createdAt: z.ZodString;
29220
+ updatedAt: z.ZodString;
29220
29221
  description: z.ZodNullable<z.ZodString>;
29221
29222
  models: z.ZodNullable<z.ZodObject<{
29222
29223
  base: z.ZodObject<{
@@ -29242,7 +29243,6 @@ declare const ProjectListResponse: z.ZodObject<{
29242
29243
  transferCountIs: z.ZodOptional<z.ZodInt>;
29243
29244
  stepCountIs: z.ZodOptional<z.ZodInt>;
29244
29245
  }, z.core.$strip>>;
29245
- updatedAt: z.ZodString;
29246
29246
  }, {
29247
29247
  out: {};
29248
29248
  in: {};
@@ -29257,9 +29257,11 @@ declare const ProjectListResponse: z.ZodObject<{
29257
29257
  declare const SubAgentListResponse: z.ZodObject<{
29258
29258
  data: z.ZodArray<z.ZodObject<{
29259
29259
  id: z.ZodString;
29260
- createdAt: z.ZodString;
29261
29260
  name: z.ZodString;
29261
+ createdAt: z.ZodString;
29262
+ updatedAt: z.ZodString;
29262
29263
  description: z.ZodNullable<z.ZodString>;
29264
+ prompt: z.ZodNullable<z.ZodString>;
29263
29265
  models: z.ZodNullable<z.ZodType<{
29264
29266
  base?: {
29265
29267
  model?: string | undefined;
@@ -29346,8 +29348,6 @@ declare const SubAgentListResponse: z.ZodObject<{
29346
29348
  }, {
29347
29349
  stepCountIs?: number | undefined;
29348
29350
  }>>>;
29349
- updatedAt: z.ZodString;
29350
- prompt: z.ZodNullable<z.ZodString>;
29351
29351
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29352
29352
  }, z.core.$strip>>;
29353
29353
  pagination: z.ZodObject<{
@@ -29360,9 +29360,13 @@ declare const SubAgentListResponse: z.ZodObject<{
29360
29360
  declare const AgentListResponse: z.ZodObject<{
29361
29361
  data: z.ZodArray<z.ZodObject<{
29362
29362
  id: z.ZodString;
29363
- createdAt: z.ZodString;
29364
29363
  name: z.ZodString;
29364
+ createdAt: z.ZodString;
29365
+ updatedAt: z.ZodString;
29365
29366
  description: z.ZodNullable<z.ZodString>;
29367
+ prompt: z.ZodNullable<z.ZodString>;
29368
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
29369
+ contextConfigId: z.ZodNullable<z.ZodString>;
29366
29370
  models: z.ZodNullable<z.ZodType<{
29367
29371
  base?: {
29368
29372
  model?: string | undefined;
@@ -29440,19 +29444,6 @@ declare const AgentListResponse: z.ZodObject<{
29440
29444
  allowedProviders?: string[] | undefined;
29441
29445
  } | undefined;
29442
29446
  }>>>;
29443
- stopWhen: z.ZodNullable<z.ZodType<{
29444
- transferCountIs?: number | undefined;
29445
- }, {
29446
- transferCountIs?: number | undefined;
29447
- }, z.core.$ZodTypeInternals<{
29448
- transferCountIs?: number | undefined;
29449
- }, {
29450
- transferCountIs?: number | undefined;
29451
- }>>>;
29452
- updatedAt: z.ZodString;
29453
- prompt: z.ZodNullable<z.ZodString>;
29454
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
29455
- contextConfigId: z.ZodNullable<z.ZodString>;
29456
29447
  statusUpdates: z.ZodNullable<z.ZodType<{
29457
29448
  enabled?: boolean | undefined;
29458
29449
  numEvents?: number | undefined;
@@ -29510,6 +29501,15 @@ declare const AgentListResponse: z.ZodObject<{
29510
29501
  } | undefined;
29511
29502
  }[] | undefined;
29512
29503
  }>>>;
29504
+ stopWhen: z.ZodNullable<z.ZodType<{
29505
+ transferCountIs?: number | undefined;
29506
+ }, {
29507
+ transferCountIs?: number | undefined;
29508
+ }, z.core.$ZodTypeInternals<{
29509
+ transferCountIs?: number | undefined;
29510
+ }, {
29511
+ transferCountIs?: number | undefined;
29512
+ }>>>;
29513
29513
  executionMode: z.ZodString;
29514
29514
  }, z.core.$strip>>;
29515
29515
  pagination: z.ZodObject<{
@@ -29522,10 +29522,10 @@ declare const AgentListResponse: z.ZodObject<{
29522
29522
  declare const ExternalAgentListResponse: z.ZodObject<{
29523
29523
  data: z.ZodArray<z.ZodObject<{
29524
29524
  id: z.ZodString;
29525
- createdAt: z.ZodString;
29526
29525
  name: z.ZodString;
29527
- description: z.ZodNullable<z.ZodString>;
29526
+ createdAt: z.ZodString;
29528
29527
  updatedAt: z.ZodString;
29528
+ description: z.ZodNullable<z.ZodString>;
29529
29529
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29530
29530
  baseUrl: z.ZodString;
29531
29531
  }, z.core.$strip>>;
@@ -29554,11 +29554,11 @@ declare const ContextConfigListResponse: z.ZodObject<{
29554
29554
  declare const ApiKeyListResponse: z.ZodObject<{
29555
29555
  data: z.ZodArray<z.ZodObject<{
29556
29556
  id: z.ZodString;
29557
- createdAt: z.ZodString;
29558
29557
  name: z.ZodNullable<z.ZodString>;
29558
+ createdAt: z.ZodString;
29559
29559
  updatedAt: z.ZodString;
29560
- agentId: z.ZodString;
29561
29560
  expiresAt: z.ZodNullable<z.ZodString>;
29561
+ agentId: z.ZodString;
29562
29562
  lastUsedAt: z.ZodNullable<z.ZodString>;
29563
29563
  publicId: z.ZodString;
29564
29564
  keyPrefix: z.ZodString;
@@ -29576,15 +29576,15 @@ declare const ApiKeyListResponse: z.ZodObject<{
29576
29576
  declare const AppResponse: z.ZodObject<{
29577
29577
  data: z.ZodObject<{
29578
29578
  type: z.ZodString;
29579
+ enabled: z.ZodBoolean;
29579
29580
  id: z.ZodString;
29580
- tenantId: z.ZodNullable<z.ZodString>;
29581
- createdAt: z.ZodString;
29582
29581
  name: z.ZodString;
29583
- description: z.ZodNullable<z.ZodString>;
29582
+ createdAt: z.ZodString;
29584
29583
  updatedAt: z.ZodString;
29585
- projectId: z.ZodNullable<z.ZodString>;
29586
- enabled: z.ZodBoolean;
29584
+ description: z.ZodNullable<z.ZodString>;
29587
29585
  prompt: z.ZodNullable<z.ZodString>;
29586
+ tenantId: z.ZodNullable<z.ZodString>;
29587
+ projectId: z.ZodNullable<z.ZodString>;
29588
29588
  defaultAgentId: z.ZodNullable<z.ZodString>;
29589
29589
  defaultProjectId: z.ZodNullable<z.ZodString>;
29590
29590
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -29621,15 +29621,15 @@ declare const AppResponse: z.ZodObject<{
29621
29621
  declare const AppListResponse: z.ZodObject<{
29622
29622
  data: z.ZodArray<z.ZodObject<{
29623
29623
  type: z.ZodString;
29624
+ enabled: z.ZodBoolean;
29624
29625
  id: z.ZodString;
29625
- tenantId: z.ZodNullable<z.ZodString>;
29626
- createdAt: z.ZodString;
29627
29626
  name: z.ZodString;
29628
- description: z.ZodNullable<z.ZodString>;
29627
+ createdAt: z.ZodString;
29629
29628
  updatedAt: z.ZodString;
29630
- projectId: z.ZodNullable<z.ZodString>;
29631
- enabled: z.ZodBoolean;
29629
+ description: z.ZodNullable<z.ZodString>;
29632
29630
  prompt: z.ZodNullable<z.ZodString>;
29631
+ tenantId: z.ZodNullable<z.ZodString>;
29632
+ projectId: z.ZodNullable<z.ZodString>;
29633
29633
  defaultAgentId: z.ZodNullable<z.ZodString>;
29634
29634
  defaultProjectId: z.ZodNullable<z.ZodString>;
29635
29635
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -29672,12 +29672,12 @@ declare const AppListResponse: z.ZodObject<{
29672
29672
  declare const CredentialReferenceListResponse: z.ZodObject<{
29673
29673
  data: z.ZodArray<z.ZodObject<{
29674
29674
  id: z.ZodString;
29675
- createdAt: z.ZodString;
29676
- createdBy: z.ZodNullable<z.ZodString>;
29677
29675
  name: z.ZodString;
29676
+ createdAt: z.ZodString;
29678
29677
  updatedAt: z.ZodString;
29679
- toolId: z.ZodNullable<z.ZodString>;
29680
29678
  userId: z.ZodNullable<z.ZodString>;
29679
+ createdBy: z.ZodNullable<z.ZodString>;
29680
+ toolId: z.ZodNullable<z.ZodString>;
29681
29681
  credentialStoreId: z.ZodString;
29682
29682
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29683
29683
  type: z.ZodEnum<{
@@ -30288,10 +30288,10 @@ declare const FunctionListResponse: z.ZodObject<{
30288
30288
  declare const FunctionToolListResponse: z.ZodObject<{
30289
30289
  data: z.ZodArray<z.ZodObject<{
30290
30290
  id: z.ZodString;
30291
- createdAt: z.ZodString;
30292
30291
  name: z.ZodString;
30293
- description: z.ZodNullable<z.ZodString>;
30292
+ createdAt: z.ZodString;
30294
30293
  updatedAt: z.ZodString;
30294
+ description: z.ZodNullable<z.ZodString>;
30295
30295
  agentId: z.ZodString;
30296
30296
  functionId: z.ZodString;
30297
30297
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -30340,10 +30340,10 @@ declare const FeedbackListResponse: z.ZodObject<{
30340
30340
  declare const DataComponentListResponse: z.ZodObject<{
30341
30341
  data: z.ZodArray<z.ZodObject<{
30342
30342
  id: z.ZodString;
30343
- createdAt: z.ZodString;
30344
30343
  name: z.ZodString;
30345
- description: z.ZodNullable<z.ZodString>;
30344
+ createdAt: z.ZodString;
30346
30345
  updatedAt: z.ZodString;
30346
+ description: z.ZodNullable<z.ZodString>;
30347
30347
  props: z.ZodType<{
30348
30348
  [x: string]: unknown;
30349
30349
  type: "object";
@@ -30397,10 +30397,10 @@ declare const DataComponentListResponse: z.ZodObject<{
30397
30397
  declare const ArtifactComponentListResponse: z.ZodObject<{
30398
30398
  data: z.ZodArray<z.ZodObject<{
30399
30399
  id: z.ZodString;
30400
- createdAt: z.ZodString;
30401
30400
  name: z.ZodString;
30402
- description: z.ZodNullable<z.ZodString>;
30401
+ createdAt: z.ZodString;
30403
30402
  updatedAt: z.ZodString;
30403
+ description: z.ZodNullable<z.ZodString>;
30404
30404
  props: z.ZodNullable<z.ZodType<{
30405
30405
  [x: string]: unknown;
30406
30406
  type: "object";
@@ -30472,11 +30472,11 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30472
30472
  id: z.ZodString;
30473
30473
  createdAt: z.ZodString;
30474
30474
  updatedAt: z.ZodString;
30475
+ headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30475
30476
  subAgentId: z.ZodString;
30476
30477
  toolId: z.ZodString;
30477
- headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30478
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30479
30478
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30479
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30480
30480
  }, z.core.$strip>>;
30481
30481
  pagination: z.ZodObject<{
30482
30482
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30487,18 +30487,17 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30487
30487
  }, z.core.$strip>;
30488
30488
  declare const TriggerListResponse: z.ZodObject<{
30489
30489
  data: z.ZodArray<z.ZodObject<{
30490
+ enabled: z.ZodBoolean;
30490
30491
  id: z.ZodString;
30491
- createdAt: z.ZodString;
30492
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30493
30492
  name: z.ZodString;
30494
- description: z.ZodNullable<z.ZodString>;
30493
+ createdAt: z.ZodString;
30495
30494
  updatedAt: z.ZodString;
30496
- enabled: z.ZodBoolean;
30497
- messageTemplate: z.ZodNullable<z.ZodString>;
30495
+ description: z.ZodNullable<z.ZodString>;
30496
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30498
30497
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30499
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30500
30498
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30501
30499
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30500
+ messageTemplate: z.ZodNullable<z.ZodString>;
30502
30501
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30503
30502
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30504
30503
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -30546,6 +30545,7 @@ declare const TriggerListResponse: z.ZodObject<{
30546
30545
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
30547
30546
  }, z.core.$strip>>;
30548
30547
  }, z.core.$strip>>>;
30548
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30549
30549
  }, z.core.$strip>>;
30550
30550
  pagination: z.ZodObject<{
30551
30551
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30585,18 +30585,17 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30585
30585
  }, z.core.$strip>;
30586
30586
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30587
30587
  data: z.ZodObject<{
30588
+ enabled: z.ZodBoolean;
30588
30589
  id: z.ZodString;
30589
- createdAt: z.ZodString;
30590
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30591
30590
  name: z.ZodString;
30592
- description: z.ZodNullable<z.ZodString>;
30591
+ createdAt: z.ZodString;
30593
30592
  updatedAt: z.ZodString;
30594
- enabled: z.ZodBoolean;
30595
- messageTemplate: z.ZodNullable<z.ZodString>;
30593
+ description: z.ZodNullable<z.ZodString>;
30594
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30596
30595
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30597
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30598
30596
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30599
30597
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30598
+ messageTemplate: z.ZodNullable<z.ZodString>;
30600
30599
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30601
30600
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30602
30601
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -30644,6 +30643,7 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30644
30643
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
30645
30644
  }, z.core.$strip>>;
30646
30645
  }, z.core.$strip>>>;
30646
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30647
30647
  runAsUserIds: z.ZodArray<z.ZodString>;
30648
30648
  userCount: z.ZodNumber;
30649
30649
  webhookUrl: z.ZodString;
@@ -30651,18 +30651,17 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30651
30651
  }, z.core.$strip>;
30652
30652
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30653
30653
  data: z.ZodObject<{
30654
+ enabled: z.ZodBoolean;
30654
30655
  id: z.ZodString;
30655
- createdAt: z.ZodString;
30656
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30657
30656
  name: z.ZodString;
30658
- description: z.ZodNullable<z.ZodString>;
30657
+ createdAt: z.ZodString;
30659
30658
  updatedAt: z.ZodString;
30660
- enabled: z.ZodBoolean;
30661
- messageTemplate: z.ZodNullable<z.ZodString>;
30659
+ description: z.ZodNullable<z.ZodString>;
30660
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30662
30661
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30663
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30664
30662
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30665
30663
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30664
+ messageTemplate: z.ZodNullable<z.ZodString>;
30666
30665
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30667
30666
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30668
30667
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -30710,6 +30709,7 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30710
30709
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
30711
30710
  }, z.core.$strip>>;
30712
30711
  }, z.core.$strip>>>;
30712
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30713
30713
  runAsUserIds: z.ZodArray<z.ZodString>;
30714
30714
  userCount: z.ZodNumber;
30715
30715
  webhookUrl: z.ZodString;
@@ -30718,18 +30718,17 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30718
30718
  }, z.core.$strip>;
30719
30719
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30720
30720
  data: z.ZodArray<z.ZodObject<{
30721
+ enabled: z.ZodBoolean;
30721
30722
  id: z.ZodString;
30722
- createdAt: z.ZodString;
30723
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30724
30723
  name: z.ZodString;
30725
- description: z.ZodNullable<z.ZodString>;
30724
+ createdAt: z.ZodString;
30726
30725
  updatedAt: z.ZodString;
30727
- enabled: z.ZodBoolean;
30728
- messageTemplate: z.ZodNullable<z.ZodString>;
30726
+ description: z.ZodNullable<z.ZodString>;
30727
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30729
30728
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30730
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30731
30729
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30732
30730
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30731
+ messageTemplate: z.ZodNullable<z.ZodString>;
30733
30732
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30734
30733
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30735
30734
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -30777,6 +30776,7 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30777
30776
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
30778
30777
  }, z.core.$strip>>;
30779
30778
  }, z.core.$strip>>>;
30779
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30780
30780
  runAsUserIds: z.ZodArray<z.ZodString>;
30781
30781
  userCount: z.ZodNumber;
30782
30782
  webhookUrl: z.ZodString;
@@ -30796,28 +30796,28 @@ declare const LastRunSummarySchema: z.ZodObject<{
30796
30796
  pending: z.ZodNumber;
30797
30797
  }, z.core.$strip>;
30798
30798
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30799
+ enabled: z.ZodBoolean;
30799
30800
  id: z.ZodString;
30800
- createdAt: z.ZodString;
30801
- createdBy: z.ZodNullable<z.ZodString>;
30802
30801
  name: z.ZodString;
30803
- description: z.ZodNullable<z.ZodString>;
30802
+ createdAt: z.ZodString;
30804
30803
  updatedAt: z.ZodString;
30805
30804
  ref: z.ZodString;
30806
- enabled: z.ZodBoolean;
30805
+ description: z.ZodNullable<z.ZodString>;
30807
30806
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30807
+ createdBy: z.ZodNullable<z.ZodString>;
30808
+ runAsUserId: z.ZodNullable<z.ZodString>;
30809
+ messageTemplate: z.ZodNullable<z.ZodString>;
30810
+ dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30808
30811
  cronExpression: z.ZodNullable<z.ZodString>;
30809
30812
  cronTimezone: z.ZodNullable<z.ZodString>;
30810
30813
  runAt: z.ZodNullable<z.ZodString>;
30811
- messageTemplate: z.ZodNullable<z.ZodString>;
30812
30814
  maxRetries: z.ZodInt;
30813
30815
  retryDelaySeconds: z.ZodInt;
30814
30816
  timeoutSeconds: z.ZodInt;
30815
- runAsUserId: z.ZodNullable<z.ZodString>;
30816
- dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30817
30817
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
30818
30818
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
30819
- failed: "failed";
30820
30819
  completed: "completed";
30820
+ failed: "failed";
30821
30821
  }>>;
30822
30822
  lastRunConversationIds: z.ZodArray<z.ZodString>;
30823
30823
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -30834,48 +30834,48 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30834
30834
  type ScheduledTriggerWithRunInfo = z.infer<typeof ScheduledTriggerWithRunInfoSchema>;
30835
30835
  declare const ScheduledTriggerResponse: z.ZodObject<{
30836
30836
  data: z.ZodObject<{
30837
+ enabled: z.ZodBoolean;
30837
30838
  id: z.ZodString;
30838
- createdAt: z.ZodString;
30839
- createdBy: z.ZodNullable<z.ZodString>;
30840
30839
  name: z.ZodString;
30841
- description: z.ZodNullable<z.ZodString>;
30840
+ createdAt: z.ZodString;
30842
30841
  updatedAt: z.ZodString;
30843
30842
  ref: z.ZodString;
30844
- enabled: z.ZodBoolean;
30843
+ description: z.ZodNullable<z.ZodString>;
30845
30844
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30845
+ createdBy: z.ZodNullable<z.ZodString>;
30846
+ runAsUserId: z.ZodNullable<z.ZodString>;
30847
+ messageTemplate: z.ZodNullable<z.ZodString>;
30848
+ dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30846
30849
  cronExpression: z.ZodNullable<z.ZodString>;
30847
30850
  cronTimezone: z.ZodNullable<z.ZodString>;
30848
30851
  runAt: z.ZodNullable<z.ZodString>;
30849
- messageTemplate: z.ZodNullable<z.ZodString>;
30850
30852
  maxRetries: z.ZodInt;
30851
30853
  retryDelaySeconds: z.ZodInt;
30852
30854
  timeoutSeconds: z.ZodInt;
30853
- runAsUserId: z.ZodNullable<z.ZodString>;
30854
30855
  nextRunAt: z.ZodNullable<z.ZodString>;
30855
- dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30856
30856
  }, z.core.$strip>;
30857
30857
  }, z.core.$strip>;
30858
30858
  declare const ScheduledTriggerListResponse: z.ZodObject<{
30859
30859
  data: z.ZodArray<z.ZodObject<{
30860
+ enabled: z.ZodBoolean;
30860
30861
  id: z.ZodString;
30861
- createdAt: z.ZodString;
30862
- createdBy: z.ZodNullable<z.ZodString>;
30863
30862
  name: z.ZodString;
30864
- description: z.ZodNullable<z.ZodString>;
30863
+ createdAt: z.ZodString;
30865
30864
  updatedAt: z.ZodString;
30866
30865
  ref: z.ZodString;
30867
- enabled: z.ZodBoolean;
30866
+ description: z.ZodNullable<z.ZodString>;
30868
30867
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30868
+ createdBy: z.ZodNullable<z.ZodString>;
30869
+ runAsUserId: z.ZodNullable<z.ZodString>;
30870
+ messageTemplate: z.ZodNullable<z.ZodString>;
30871
+ dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30869
30872
  cronExpression: z.ZodNullable<z.ZodString>;
30870
30873
  cronTimezone: z.ZodNullable<z.ZodString>;
30871
30874
  runAt: z.ZodNullable<z.ZodString>;
30872
- messageTemplate: z.ZodNullable<z.ZodString>;
30873
30875
  maxRetries: z.ZodInt;
30874
30876
  retryDelaySeconds: z.ZodInt;
30875
30877
  timeoutSeconds: z.ZodInt;
30876
- runAsUserId: z.ZodNullable<z.ZodString>;
30877
30878
  nextRunAt: z.ZodNullable<z.ZodString>;
30878
- dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30879
30879
  }, z.core.$strip>>;
30880
30880
  pagination: z.ZodObject<{
30881
30881
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30886,28 +30886,28 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
30886
30886
  }, z.core.$strip>;
30887
30887
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30888
30888
  data: z.ZodArray<z.ZodObject<{
30889
+ enabled: z.ZodBoolean;
30889
30890
  id: z.ZodString;
30890
- createdAt: z.ZodString;
30891
- createdBy: z.ZodNullable<z.ZodString>;
30892
30891
  name: z.ZodString;
30893
- description: z.ZodNullable<z.ZodString>;
30892
+ createdAt: z.ZodString;
30894
30893
  updatedAt: z.ZodString;
30895
30894
  ref: z.ZodString;
30896
- enabled: z.ZodBoolean;
30895
+ description: z.ZodNullable<z.ZodString>;
30897
30896
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30897
+ createdBy: z.ZodNullable<z.ZodString>;
30898
+ runAsUserId: z.ZodNullable<z.ZodString>;
30899
+ messageTemplate: z.ZodNullable<z.ZodString>;
30900
+ dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30898
30901
  cronExpression: z.ZodNullable<z.ZodString>;
30899
30902
  cronTimezone: z.ZodNullable<z.ZodString>;
30900
30903
  runAt: z.ZodNullable<z.ZodString>;
30901
- messageTemplate: z.ZodNullable<z.ZodString>;
30902
30904
  maxRetries: z.ZodInt;
30903
30905
  retryDelaySeconds: z.ZodInt;
30904
30906
  timeoutSeconds: z.ZodInt;
30905
- runAsUserId: z.ZodNullable<z.ZodString>;
30906
- dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30907
30907
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
30908
30908
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
30909
- failed: "failed";
30910
30909
  completed: "completed";
30910
+ failed: "failed";
30911
30911
  }>>;
30912
30912
  lastRunConversationIds: z.ZodArray<z.ZodString>;
30913
30913
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -30943,20 +30943,20 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
30943
30943
  }, z.core.$strip>>>;
30944
30944
  status: z.ZodEnum<{
30945
30945
  pending: "pending";
30946
- failed: "failed";
30947
30946
  running: "running";
30948
30947
  completed: "completed";
30948
+ failed: "failed";
30949
30949
  cancelled: "cancelled";
30950
30950
  }>;
30951
- runAsUserId: z.ZodNullable<z.ZodString>;
30952
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30953
30951
  scheduledTriggerId: z.ZodString;
30954
30952
  scheduledFor: z.ZodString;
30955
30953
  startedAt: z.ZodNullable<z.ZodString>;
30956
30954
  completedAt: z.ZodNullable<z.ZodString>;
30957
30955
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30956
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30958
30957
  attemptNumber: z.ZodInt;
30959
30958
  idempotencyKey: z.ZodString;
30959
+ runAsUserId: z.ZodNullable<z.ZodString>;
30960
30960
  }, z.core.$strip>;
30961
30961
  }, z.core.$strip>;
30962
30962
  declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
@@ -30974,20 +30974,20 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
30974
30974
  }, z.core.$strip>>>;
30975
30975
  status: z.ZodEnum<{
30976
30976
  pending: "pending";
30977
- failed: "failed";
30978
30977
  running: "running";
30979
30978
  completed: "completed";
30979
+ failed: "failed";
30980
30980
  cancelled: "cancelled";
30981
30981
  }>;
30982
- runAsUserId: z.ZodNullable<z.ZodString>;
30983
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30984
30982
  scheduledTriggerId: z.ZodString;
30985
30983
  scheduledFor: z.ZodString;
30986
30984
  startedAt: z.ZodNullable<z.ZodString>;
30987
30985
  completedAt: z.ZodNullable<z.ZodString>;
30988
30986
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30987
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30989
30988
  attemptNumber: z.ZodInt;
30990
30989
  idempotencyKey: z.ZodString;
30990
+ runAsUserId: z.ZodNullable<z.ZodString>;
30991
30991
  }, z.core.$strip>>;
30992
30992
  pagination: z.ZodObject<{
30993
30993
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -31050,8 +31050,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31050
31050
  executionMode: z.ZodOptional<z.ZodString>;
31051
31051
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31052
31052
  id: z.ZodString;
31053
- createdAt: z.ZodOptional<z.ZodString>;
31054
31053
  name: z.ZodString;
31054
+ createdAt: z.ZodOptional<z.ZodString>;
31055
+ updatedAt: z.ZodOptional<z.ZodString>;
31055
31056
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31056
31057
  models: z.ZodOptional<z.ZodObject<{
31057
31058
  base: z.ZodOptional<z.ZodObject<{
@@ -31073,7 +31074,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31073
31074
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
31074
31075
  }, z.core.$strip>>;
31075
31076
  }, z.core.$strip>>;
31076
- updatedAt: z.ZodOptional<z.ZodString>;
31077
31077
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31078
31078
  type: z.ZodLiteral<"internal">;
31079
31079
  canUse: z.ZodArray<z.ZodObject<{
@@ -31170,19 +31170,19 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31170
31170
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31171
31171
  }, z.core.$strip>>>;
31172
31172
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31173
+ enabled: z.ZodOptional<z.ZodBoolean>;
31173
31174
  id: z.ZodOptional<z.ZodString>;
31174
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31175
31175
  name: z.ZodString;
31176
31176
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31177
- enabled: z.ZodOptional<z.ZodBoolean>;
31178
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31177
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31179
31178
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31180
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
31181
31179
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
31182
31180
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
31181
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31183
31182
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
31184
31183
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31185
31184
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
31185
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
31186
31186
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
31187
31187
  }, z.core.$strip>>>;
31188
31188
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -31386,10 +31386,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31386
31386
  }, z.core.$strict>>;
31387
31387
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31388
31388
  id: z.ZodString;
31389
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31390
31389
  name: z.ZodString;
31391
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31392
31390
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31391
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31392
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31393
31393
  credentialStoreId: z.ZodString;
31394
31394
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31395
31395
  type: z.ZodEnum<{
@@ -31409,8 +31409,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31409
31409
  declare const FullProjectSelectResponse: z.ZodObject<{
31410
31410
  data: z.ZodObject<{
31411
31411
  id: z.ZodString;
31412
- createdAt: z.ZodString;
31413
31412
  name: z.ZodString;
31413
+ createdAt: z.ZodString;
31414
+ updatedAt: z.ZodString;
31414
31415
  description: z.ZodNullable<z.ZodString>;
31415
31416
  models: z.ZodNullable<z.ZodObject<{
31416
31417
  base: z.ZodObject<{
@@ -31436,20 +31437,20 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31436
31437
  transferCountIs: z.ZodOptional<z.ZodInt>;
31437
31438
  stepCountIs: z.ZodOptional<z.ZodInt>;
31438
31439
  }, z.core.$strip>>;
31439
- updatedAt: z.ZodString;
31440
31440
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31441
31441
  id: z.ZodString;
31442
- createdAt: z.ZodString;
31443
31442
  name: z.ZodString;
31444
- description: z.ZodNullable<z.ZodString>;
31443
+ createdAt: z.ZodString;
31445
31444
  updatedAt: z.ZodString;
31445
+ description: z.ZodNullable<z.ZodString>;
31446
31446
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
31447
31447
  contextConfigId: z.ZodNullable<z.ZodString>;
31448
31448
  executionMode: z.ZodString;
31449
31449
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31450
31450
  id: z.ZodString;
31451
- createdAt: z.ZodString;
31452
31451
  name: z.ZodString;
31452
+ createdAt: z.ZodString;
31453
+ updatedAt: z.ZodString;
31453
31454
  description: z.ZodNullable<z.ZodString>;
31454
31455
  models: z.ZodNullable<z.ZodType<{
31455
31456
  base?: {
@@ -31537,7 +31538,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31537
31538
  }, {
31538
31539
  stepCountIs?: number | undefined;
31539
31540
  }>>>;
31540
- updatedAt: z.ZodString;
31541
31541
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31542
31542
  type: z.ZodLiteral<"internal">;
31543
31543
  canUse: z.ZodArray<z.ZodObject<{
@@ -31565,10 +31565,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31565
31565
  }, z.core.$strip>>;
31566
31566
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31567
31567
  id: z.ZodString;
31568
- createdAt: z.ZodString;
31569
31568
  name: z.ZodString;
31570
- description: z.ZodNullable<z.ZodString>;
31569
+ createdAt: z.ZodString;
31571
31570
  updatedAt: z.ZodString;
31571
+ description: z.ZodNullable<z.ZodString>;
31572
31572
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31573
31573
  config: z.ZodType<{
31574
31574
  type: "mcp";
@@ -31592,10 +31592,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31592
31592
  }, z.core.$strip>>>;
31593
31593
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31594
31594
  id: z.ZodString;
31595
- createdAt: z.ZodString;
31596
31595
  name: z.ZodString;
31597
- description: z.ZodNullable<z.ZodString>;
31596
+ createdAt: z.ZodString;
31598
31597
  updatedAt: z.ZodString;
31598
+ description: z.ZodNullable<z.ZodString>;
31599
31599
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31600
31600
  baseUrl: z.ZodString;
31601
31601
  }, z.core.$strip>>>;
@@ -31606,10 +31606,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31606
31606
  }, z.core.$strip>>>;
31607
31607
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31608
31608
  id: z.ZodString;
31609
- createdAt: z.ZodString;
31610
31609
  name: z.ZodString;
31611
- description: z.ZodNullable<z.ZodString>;
31610
+ createdAt: z.ZodString;
31612
31611
  updatedAt: z.ZodString;
31612
+ description: z.ZodNullable<z.ZodString>;
31613
31613
  agentId: z.ZodString;
31614
31614
  functionId: z.ZodString;
31615
31615
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -31671,10 +31671,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31671
31671
  }, z.core.$strip>>;
31672
31672
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
31673
31673
  id: z.ZodString;
31674
- createdAt: z.ZodString;
31675
31674
  name: z.ZodString;
31676
- description: z.ZodNullable<z.ZodString>;
31675
+ createdAt: z.ZodString;
31677
31676
  updatedAt: z.ZodString;
31677
+ description: z.ZodNullable<z.ZodString>;
31678
31678
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31679
31679
  config: z.ZodType<{
31680
31680
  type: "mcp";
@@ -31698,10 +31698,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31698
31698
  }, z.core.$strip>>;
31699
31699
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31700
31700
  id: z.ZodString;
31701
- createdAt: z.ZodString;
31702
31701
  name: z.ZodString;
31703
- description: z.ZodNullable<z.ZodString>;
31702
+ createdAt: z.ZodString;
31704
31703
  updatedAt: z.ZodString;
31704
+ description: z.ZodNullable<z.ZodString>;
31705
31705
  agentId: z.ZodString;
31706
31706
  functionId: z.ZodString;
31707
31707
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -31716,10 +31716,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31716
31716
  }, z.core.$strip>>>;
31717
31717
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31718
31718
  id: z.ZodString;
31719
- createdAt: z.ZodString;
31720
31719
  name: z.ZodString;
31721
- description: z.ZodNullable<z.ZodString>;
31720
+ createdAt: z.ZodString;
31722
31721
  updatedAt: z.ZodString;
31722
+ description: z.ZodNullable<z.ZodString>;
31723
31723
  props: z.ZodType<{
31724
31724
  [x: string]: unknown;
31725
31725
  type: "object";
@@ -31765,10 +31765,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31765
31765
  }, z.core.$strip>>>;
31766
31766
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31767
31767
  id: z.ZodString;
31768
- createdAt: z.ZodString;
31769
31768
  name: z.ZodString;
31770
- description: z.ZodNullable<z.ZodString>;
31769
+ createdAt: z.ZodString;
31771
31770
  updatedAt: z.ZodString;
31771
+ description: z.ZodNullable<z.ZodString>;
31772
31772
  props: z.ZodNullable<z.ZodType<{
31773
31773
  [x: string]: unknown;
31774
31774
  type: "object";
@@ -31814,10 +31814,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31814
31814
  }, z.core.$strip>>>;
31815
31815
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31816
31816
  id: z.ZodString;
31817
- createdAt: z.ZodString;
31818
31817
  name: z.ZodString;
31819
- description: z.ZodNullable<z.ZodString>;
31818
+ createdAt: z.ZodString;
31820
31819
  updatedAt: z.ZodString;
31820
+ description: z.ZodNullable<z.ZodString>;
31821
31821
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31822
31822
  baseUrl: z.ZodString;
31823
31823
  }, z.core.$strip>>>;
@@ -31838,12 +31838,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31838
31838
  }, z.core.$strict>>;
31839
31839
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31840
31840
  id: z.ZodString;
31841
- createdAt: z.ZodString;
31842
- createdBy: z.ZodNullable<z.ZodString>;
31843
31841
  name: z.ZodString;
31842
+ createdAt: z.ZodString;
31844
31843
  updatedAt: z.ZodString;
31845
- toolId: z.ZodNullable<z.ZodString>;
31846
31844
  userId: z.ZodNullable<z.ZodString>;
31845
+ createdBy: z.ZodNullable<z.ZodString>;
31846
+ toolId: z.ZodNullable<z.ZodString>;
31847
31847
  credentialStoreId: z.ZodString;
31848
31848
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31849
31849
  type: z.ZodEnum<{
@@ -32436,8 +32436,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32436
32436
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32437
32437
  data: z.ZodObject<{
32438
32438
  id: z.ZodString;
32439
- createdAt: z.ZodString;
32440
32439
  name: z.ZodString;
32440
+ createdAt: z.ZodString;
32441
+ updatedAt: z.ZodString;
32441
32442
  description: z.ZodNullable<z.ZodString>;
32442
32443
  models: z.ZodNullable<z.ZodObject<{
32443
32444
  base: z.ZodObject<{
@@ -32463,13 +32464,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32463
32464
  transferCountIs: z.ZodOptional<z.ZodInt>;
32464
32465
  stepCountIs: z.ZodOptional<z.ZodInt>;
32465
32466
  }, z.core.$strip>>;
32466
- updatedAt: z.ZodString;
32467
32467
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
32468
32468
  id: z.ZodString;
32469
- createdAt: z.ZodString;
32470
32469
  name: z.ZodString;
32471
- description: z.ZodNullable<z.ZodString>;
32470
+ createdAt: z.ZodString;
32472
32471
  updatedAt: z.ZodString;
32472
+ description: z.ZodNullable<z.ZodString>;
32473
32473
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32474
32474
  config: z.ZodType<{
32475
32475
  type: "mcp";
@@ -32493,10 +32493,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32493
32493
  }, z.core.$strip>>;
32494
32494
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32495
32495
  id: z.ZodString;
32496
- createdAt: z.ZodString;
32497
32496
  name: z.ZodString;
32498
- description: z.ZodNullable<z.ZodString>;
32497
+ createdAt: z.ZodString;
32499
32498
  updatedAt: z.ZodString;
32499
+ description: z.ZodNullable<z.ZodString>;
32500
32500
  agentId: z.ZodString;
32501
32501
  functionId: z.ZodString;
32502
32502
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -32511,10 +32511,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32511
32511
  }, z.core.$strip>>>;
32512
32512
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32513
32513
  id: z.ZodString;
32514
- createdAt: z.ZodString;
32515
32514
  name: z.ZodString;
32516
- description: z.ZodNullable<z.ZodString>;
32515
+ createdAt: z.ZodString;
32517
32516
  updatedAt: z.ZodString;
32517
+ description: z.ZodNullable<z.ZodString>;
32518
32518
  props: z.ZodType<{
32519
32519
  [x: string]: unknown;
32520
32520
  type: "object";
@@ -32560,10 +32560,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32560
32560
  }, z.core.$strip>>>;
32561
32561
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32562
32562
  id: z.ZodString;
32563
- createdAt: z.ZodString;
32564
32563
  name: z.ZodString;
32565
- description: z.ZodNullable<z.ZodString>;
32564
+ createdAt: z.ZodString;
32566
32565
  updatedAt: z.ZodString;
32566
+ description: z.ZodNullable<z.ZodString>;
32567
32567
  props: z.ZodNullable<z.ZodType<{
32568
32568
  [x: string]: unknown;
32569
32569
  type: "object";
@@ -32609,10 +32609,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32609
32609
  }, z.core.$strip>>>;
32610
32610
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32611
32611
  id: z.ZodString;
32612
- createdAt: z.ZodString;
32613
32612
  name: z.ZodString;
32614
- description: z.ZodNullable<z.ZodString>;
32613
+ createdAt: z.ZodString;
32615
32614
  updatedAt: z.ZodString;
32615
+ description: z.ZodNullable<z.ZodString>;
32616
32616
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32617
32617
  baseUrl: z.ZodString;
32618
32618
  }, z.core.$strip>>>;
@@ -32633,12 +32633,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32633
32633
  }, z.core.$strict>>;
32634
32634
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32635
32635
  id: z.ZodString;
32636
- createdAt: z.ZodString;
32637
- createdBy: z.ZodNullable<z.ZodString>;
32638
32636
  name: z.ZodString;
32637
+ createdAt: z.ZodString;
32639
32638
  updatedAt: z.ZodString;
32640
- toolId: z.ZodNullable<z.ZodString>;
32641
32639
  userId: z.ZodNullable<z.ZodString>;
32640
+ createdBy: z.ZodNullable<z.ZodString>;
32641
+ toolId: z.ZodNullable<z.ZodString>;
32642
32642
  credentialStoreId: z.ZodString;
32643
32643
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32644
32644
  type: z.ZodEnum<{
@@ -33225,19 +33225,19 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33225
33225
  }, z.core.$strip>>>;
33226
33226
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33227
33227
  id: z.ZodString;
33228
- createdAt: z.ZodString;
33229
33228
  name: z.ZodString;
33230
- description: z.ZodNullable<z.ZodString>;
33229
+ createdAt: z.ZodString;
33231
33230
  updatedAt: z.ZodString;
33231
+ description: z.ZodNullable<z.ZodString>;
33232
33232
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
33233
33233
  contextConfigId: z.ZodNullable<z.ZodString>;
33234
33234
  executionMode: z.ZodString;
33235
33235
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33236
33236
  id: z.ZodString;
33237
- createdAt: z.ZodString;
33238
33237
  name: z.ZodString;
33239
- description: z.ZodNullable<z.ZodString>;
33238
+ createdAt: z.ZodString;
33240
33239
  updatedAt: z.ZodString;
33240
+ description: z.ZodNullable<z.ZodString>;
33241
33241
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33242
33242
  config: z.ZodType<{
33243
33243
  type: "mcp";
@@ -33261,10 +33261,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33261
33261
  }, z.core.$strip>>>;
33262
33262
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33263
33263
  id: z.ZodString;
33264
- createdAt: z.ZodString;
33265
33264
  name: z.ZodString;
33266
- description: z.ZodNullable<z.ZodString>;
33265
+ createdAt: z.ZodString;
33267
33266
  updatedAt: z.ZodString;
33267
+ description: z.ZodNullable<z.ZodString>;
33268
33268
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33269
33269
  baseUrl: z.ZodString;
33270
33270
  }, z.core.$strip>>>;
@@ -33275,10 +33275,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33275
33275
  }, z.core.$strip>>>;
33276
33276
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33277
33277
  id: z.ZodString;
33278
- createdAt: z.ZodString;
33279
33278
  name: z.ZodString;
33280
- description: z.ZodNullable<z.ZodString>;
33279
+ createdAt: z.ZodString;
33281
33280
  updatedAt: z.ZodString;
33281
+ description: z.ZodNullable<z.ZodString>;
33282
33282
  agentId: z.ZodString;
33283
33283
  functionId: z.ZodString;
33284
33284
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -33339,8 +33339,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33339
33339
  prompt: z.ZodNullable<z.ZodString>;
33340
33340
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33341
33341
  id: z.ZodString;
33342
- createdAt: z.ZodString;
33343
33342
  name: z.ZodString;
33343
+ createdAt: z.ZodString;
33344
+ updatedAt: z.ZodString;
33344
33345
  description: z.ZodNullable<z.ZodString>;
33345
33346
  models: z.ZodNullable<z.ZodType<{
33346
33347
  base?: {
@@ -33428,7 +33429,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33428
33429
  }, {
33429
33430
  stepCountIs?: number | undefined;
33430
33431
  }>>>;
33431
- updatedAt: z.ZodString;
33432
33432
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33433
33433
  type: z.ZodLiteral<"internal">;
33434
33434
  canUse: z.ZodArray<z.ZodObject<{
@@ -33476,8 +33476,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33476
33476
  executionMode: z.ZodOptional<z.ZodString>;
33477
33477
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33478
33478
  id: z.ZodString;
33479
- createdAt: z.ZodOptional<z.ZodString>;
33480
33479
  name: z.ZodString;
33480
+ createdAt: z.ZodOptional<z.ZodString>;
33481
+ updatedAt: z.ZodOptional<z.ZodString>;
33481
33482
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33482
33483
  models: z.ZodOptional<z.ZodObject<{
33483
33484
  base: z.ZodOptional<z.ZodObject<{
@@ -33499,7 +33500,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33499
33500
  allowedProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
33500
33501
  }, z.core.$strip>>;
33501
33502
  }, z.core.$strip>>;
33502
- updatedAt: z.ZodOptional<z.ZodString>;
33503
33503
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33504
33504
  type: z.ZodLiteral<"internal">;
33505
33505
  canUse: z.ZodArray<z.ZodObject<{
@@ -33596,19 +33596,19 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33596
33596
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33597
33597
  }, z.core.$strip>>>;
33598
33598
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33599
+ enabled: z.ZodOptional<z.ZodBoolean>;
33599
33600
  id: z.ZodOptional<z.ZodString>;
33600
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33601
33601
  name: z.ZodString;
33602
33602
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33603
- enabled: z.ZodOptional<z.ZodBoolean>;
33604
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33603
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33605
33604
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33606
- dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
33607
33605
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
33608
33606
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
33607
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33609
33608
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
33610
33609
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33611
33610
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
33611
+ dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
33612
33612
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
33613
33613
  }, z.core.$strip>>>;
33614
33614
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -33660,17 +33660,18 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33660
33660
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33661
33661
  data: z.ZodObject<{
33662
33662
  id: z.ZodString;
33663
- createdAt: z.ZodString;
33664
33663
  name: z.ZodString;
33665
- description: z.ZodNullable<z.ZodString>;
33664
+ createdAt: z.ZodString;
33666
33665
  updatedAt: z.ZodString;
33666
+ description: z.ZodNullable<z.ZodString>;
33667
33667
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
33668
33668
  contextConfigId: z.ZodNullable<z.ZodString>;
33669
33669
  executionMode: z.ZodString;
33670
33670
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33671
33671
  id: z.ZodString;
33672
- createdAt: z.ZodString;
33673
33672
  name: z.ZodString;
33673
+ createdAt: z.ZodString;
33674
+ updatedAt: z.ZodString;
33674
33675
  description: z.ZodNullable<z.ZodString>;
33675
33676
  models: z.ZodNullable<z.ZodType<{
33676
33677
  base?: {
@@ -33758,7 +33759,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33758
33759
  }, {
33759
33760
  stepCountIs?: number | undefined;
33760
33761
  }>>>;
33761
- updatedAt: z.ZodString;
33762
33762
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33763
33763
  type: z.ZodLiteral<"internal">;
33764
33764
  canUse: z.ZodArray<z.ZodObject<{
@@ -33786,10 +33786,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33786
33786
  }, z.core.$strip>>;
33787
33787
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33788
33788
  id: z.ZodString;
33789
- createdAt: z.ZodString;
33790
33789
  name: z.ZodString;
33791
- description: z.ZodNullable<z.ZodString>;
33790
+ createdAt: z.ZodString;
33792
33791
  updatedAt: z.ZodString;
33792
+ description: z.ZodNullable<z.ZodString>;
33793
33793
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33794
33794
  config: z.ZodType<{
33795
33795
  type: "mcp";
@@ -33813,10 +33813,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33813
33813
  }, z.core.$strip>>>;
33814
33814
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33815
33815
  id: z.ZodString;
33816
- createdAt: z.ZodString;
33817
33816
  name: z.ZodString;
33818
- description: z.ZodNullable<z.ZodString>;
33817
+ createdAt: z.ZodString;
33819
33818
  updatedAt: z.ZodString;
33819
+ description: z.ZodNullable<z.ZodString>;
33820
33820
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33821
33821
  baseUrl: z.ZodString;
33822
33822
  }, z.core.$strip>>>;
@@ -33827,10 +33827,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33827
33827
  }, z.core.$strip>>>;
33828
33828
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33829
33829
  id: z.ZodString;
33830
- createdAt: z.ZodString;
33831
33830
  name: z.ZodString;
33832
- description: z.ZodNullable<z.ZodString>;
33831
+ createdAt: z.ZodString;
33833
33832
  updatedAt: z.ZodString;
33833
+ description: z.ZodNullable<z.ZodString>;
33834
33834
  agentId: z.ZodString;
33835
33835
  functionId: z.ZodString;
33836
33836
  relationshipId: z.ZodOptional<z.ZodString>;
@@ -33913,11 +33913,11 @@ declare const ComponentAssociationListResponse: z.ZodObject<{
33913
33913
  declare const McpToolResponse: z.ZodObject<{
33914
33914
  data: z.ZodObject<{
33915
33915
  id: z.ZodString;
33916
- tenantId: z.ZodString;
33917
33916
  name: z.ZodString;
33918
33917
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33919
- projectId: z.ZodString;
33920
33918
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33919
+ tenantId: z.ZodString;
33920
+ projectId: z.ZodString;
33921
33921
  config: z.ZodObject<{
33922
33922
  type: z.ZodLiteral<"mcp">;
33923
33923
  mcp: z.ZodObject<{
@@ -33974,11 +33974,11 @@ declare const McpToolResponse: z.ZodObject<{
33974
33974
  declare const McpToolListResponse: z.ZodObject<{
33975
33975
  data: z.ZodArray<z.ZodObject<{
33976
33976
  id: z.ZodString;
33977
- tenantId: z.ZodString;
33978
33977
  name: z.ZodString;
33979
33978
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33980
- projectId: z.ZodString;
33981
33979
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33980
+ tenantId: z.ZodString;
33981
+ projectId: z.ZodString;
33982
33982
  config: z.ZodObject<{
33983
33983
  type: z.ZodLiteral<"mcp">;
33984
33984
  mcp: z.ZodObject<{
@@ -34043,8 +34043,8 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
34043
34043
  id: z.ZodString;
34044
34044
  createdAt: z.ZodString;
34045
34045
  updatedAt: z.ZodString;
34046
- subAgentId: z.ZodString;
34047
34046
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
34047
+ subAgentId: z.ZodString;
34048
34048
  targetAgentId: z.ZodString;
34049
34049
  }, z.core.$strip>;
34050
34050
  }, z.core.$strip>;
@@ -34053,8 +34053,8 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
34053
34053
  id: z.ZodString;
34054
34054
  createdAt: z.ZodString;
34055
34055
  updatedAt: z.ZodString;
34056
- subAgentId: z.ZodString;
34057
34056
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
34057
+ subAgentId: z.ZodString;
34058
34058
  targetAgentId: z.ZodString;
34059
34059
  }, z.core.$strip>>;
34060
34060
  pagination: z.ZodObject<{
@@ -34069,8 +34069,8 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
34069
34069
  id: z.ZodString;
34070
34070
  createdAt: z.ZodString;
34071
34071
  updatedAt: z.ZodString;
34072
- subAgentId: z.ZodString;
34073
34072
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
34073
+ subAgentId: z.ZodString;
34074
34074
  externalAgentId: z.ZodString;
34075
34075
  }, z.core.$strip>;
34076
34076
  }, z.core.$strip>;
@@ -34079,8 +34079,8 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34079
34079
  id: z.ZodString;
34080
34080
  createdAt: z.ZodString;
34081
34081
  updatedAt: z.ZodString;
34082
- subAgentId: z.ZodString;
34083
34082
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
34083
+ subAgentId: z.ZodString;
34084
34084
  externalAgentId: z.ZodString;
34085
34085
  }, z.core.$strip>>;
34086
34086
  pagination: z.ZodObject<{
@@ -34093,10 +34093,10 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34093
34093
  declare const DataComponentArrayResponse: z.ZodObject<{
34094
34094
  data: z.ZodArray<z.ZodObject<{
34095
34095
  id: z.ZodString;
34096
- createdAt: z.ZodString;
34097
34096
  name: z.ZodString;
34098
- description: z.ZodNullable<z.ZodString>;
34097
+ createdAt: z.ZodString;
34099
34098
  updatedAt: z.ZodString;
34099
+ description: z.ZodNullable<z.ZodString>;
34100
34100
  props: z.ZodType<{
34101
34101
  [x: string]: unknown;
34102
34102
  type: "object";
@@ -34144,10 +34144,10 @@ declare const DataComponentArrayResponse: z.ZodObject<{
34144
34144
  declare const ArtifactComponentArrayResponse: z.ZodObject<{
34145
34145
  data: z.ZodArray<z.ZodObject<{
34146
34146
  id: z.ZodString;
34147
- createdAt: z.ZodString;
34148
34147
  name: z.ZodString;
34149
- description: z.ZodNullable<z.ZodString>;
34148
+ createdAt: z.ZodString;
34150
34149
  updatedAt: z.ZodString;
34150
+ description: z.ZodNullable<z.ZodString>;
34151
34151
  props: z.ZodNullable<z.ZodType<{
34152
34152
  [x: string]: unknown;
34153
34153
  type: "object";
@@ -34514,8 +34514,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
34514
34514
  disconnected: "disconnected";
34515
34515
  }>;
34516
34516
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34517
- User: "User";
34518
34517
  Organization: "Organization";
34518
+ User: "User";
34519
34519
  }>;
34520
34520
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"select", {
34521
34521
  createdAt: drizzle_orm_pg_core1040.PgColumn<{
@@ -34610,7 +34610,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"
34610
34610
  tableName: "work_app_github_installations";
34611
34611
  dataType: "string";
34612
34612
  columnType: "PgVarchar";
34613
- data: "User" | "Organization";
34613
+ data: "Organization" | "User";
34614
34614
  driverParam: string;
34615
34615
  notNull: true;
34616
34616
  hasDefault: false;
@@ -34623,7 +34623,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"
34623
34623
  generated: undefined;
34624
34624
  }, {}, {
34625
34625
  length: 20;
34626
- $type: "User" | "Organization";
34626
+ $type: "Organization" | "User";
34627
34627
  }>;
34628
34628
  status: drizzle_orm_pg_core1040.PgColumn<{
34629
34629
  name: "status";
@@ -34776,7 +34776,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"
34776
34776
  tableName: "work_app_github_installations";
34777
34777
  dataType: "string";
34778
34778
  columnType: "PgVarchar";
34779
- data: "User" | "Organization";
34779
+ data: "Organization" | "User";
34780
34780
  driverParam: string;
34781
34781
  notNull: true;
34782
34782
  hasDefault: false;
@@ -34789,7 +34789,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"
34789
34789
  generated: undefined;
34790
34790
  }, {}, {
34791
34791
  length: 20;
34792
- $type: "User" | "Organization";
34792
+ $type: "Organization" | "User";
34793
34793
  }>;
34794
34794
  status: drizzle_orm_pg_core1040.PgColumn<{
34795
34795
  name: "status";
@@ -34852,13 +34852,13 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"
34852
34852
  }, undefined>, undefined>;
34853
34853
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
34854
34854
  id: z.ZodString;
34855
- tenantId: z.ZodString;
34856
34855
  accountId: z.ZodString;
34856
+ tenantId: z.ZodString;
34857
34857
  installationId: z.ZodString;
34858
34858
  accountLogin: z.ZodString;
34859
34859
  accountType: z.ZodEnum<{
34860
- User: "User";
34861
34860
  Organization: "Organization";
34861
+ User: "User";
34862
34862
  }>;
34863
34863
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
34864
34864
  pending: "pending";
@@ -34881,7 +34881,6 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<{
34881
34881
  accountType: z.ZodString;
34882
34882
  }, z.core.$strip>;
34883
34883
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<{
34884
- tenantId: z.ZodString;
34885
34884
  accountId: z.ZodString;
34886
34885
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
34887
34886
  pending: "pending";
@@ -34889,11 +34888,12 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<{
34889
34888
  suspended: "suspended";
34890
34889
  disconnected: "disconnected";
34891
34890
  }>>>;
34891
+ tenantId: z.ZodString;
34892
34892
  installationId: z.ZodString;
34893
34893
  accountLogin: z.ZodString;
34894
34894
  accountType: z.ZodEnum<{
34895
- User: "User";
34896
34895
  Organization: "Organization";
34896
+ User: "User";
34897
34897
  }>;
34898
34898
  }, z.core.$strip>;
34899
34899
  declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -37070,16 +37070,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod21.BuildSchema<"sele
37070
37070
  }, {}, {}>;
37071
37071
  }, undefined>, undefined>;
37072
37072
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
37073
- projectId: z.ZodString;
37074
37073
  agentId: z.ZodString;
37074
+ projectId: z.ZodString;
37075
37075
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37076
37076
  }, {
37077
37077
  out: {};
37078
37078
  in: {};
37079
37079
  }>;
37080
37080
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
37081
- projectId: z.ZodString;
37082
37081
  agentId: z.ZodString;
37082
+ projectId: z.ZodString;
37083
37083
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37084
37084
  agentName: z.ZodString;
37085
37085
  projectName: z.ZodOptional<z.ZodString>;
@@ -37359,10 +37359,10 @@ declare const AnonymousSessionResponseSchema: z.ZodObject<{
37359
37359
  expiresAt: z.ZodString;
37360
37360
  }, z.core.$strip>;
37361
37361
  declare const WorkflowExecutionStatusEnum: z.ZodEnum<{
37362
- failed: "failed";
37363
37362
  running: "running";
37364
- suspended: "suspended";
37365
37363
  completed: "completed";
37364
+ failed: "failed";
37365
+ suspended: "suspended";
37366
37366
  }>;
37367
37367
  declare const WorkflowExecutionSelectSchema: z.ZodObject<{
37368
37368
  createdAt: z.ZodString;
@@ -37375,10 +37375,10 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
37375
37375
  tenantId: z.ZodString;
37376
37376
  id: z.ZodString;
37377
37377
  status: z.ZodEnum<{
37378
- failed: "failed";
37379
37378
  running: "running";
37380
- suspended: "suspended";
37381
37379
  completed: "completed";
37380
+ failed: "failed";
37381
+ suspended: "suspended";
37382
37382
  }>;
37383
37383
  }, {
37384
37384
  out: {};
@@ -37386,17 +37386,17 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
37386
37386
  }>;
37387
37387
  declare const WorkflowExecutionInsertSchema: z.ZodObject<{
37388
37388
  id: z.ZodString;
37389
- tenantId: z.ZodString;
37390
37389
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
37391
- projectId: z.ZodString;
37390
+ tenantId: z.ZodString;
37392
37391
  agentId: z.ZodString;
37393
- requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37392
+ projectId: z.ZodString;
37394
37393
  conversationId: z.ZodString;
37394
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37395
37395
  status: z.ZodDefault<z.ZodEnum<{
37396
- failed: "failed";
37397
37396
  running: "running";
37398
- suspended: "suspended";
37399
37397
  completed: "completed";
37398
+ failed: "failed";
37399
+ suspended: "suspended";
37400
37400
  }>>;
37401
37401
  }, {
37402
37402
  out: {};
@@ -37404,17 +37404,17 @@ declare const WorkflowExecutionInsertSchema: z.ZodObject<{
37404
37404
  }>;
37405
37405
  declare const WorkflowExecutionUpdateSchema: z.ZodObject<{
37406
37406
  id: z.ZodOptional<z.ZodString>;
37407
- tenantId: z.ZodOptional<z.ZodString>;
37408
37407
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
37409
- projectId: z.ZodOptional<z.ZodString>;
37408
+ tenantId: z.ZodOptional<z.ZodString>;
37410
37409
  agentId: z.ZodOptional<z.ZodString>;
37411
- requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
37410
+ projectId: z.ZodOptional<z.ZodString>;
37412
37411
  conversationId: z.ZodOptional<z.ZodString>;
37412
+ requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
37413
37413
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
37414
- failed: "failed";
37415
37414
  running: "running";
37416
- suspended: "suspended";
37417
37415
  completed: "completed";
37416
+ failed: "failed";
37417
+ suspended: "suspended";
37418
37418
  }>>>;
37419
37419
  }, {
37420
37420
  out: {};