@inkeep/agents-core 0.0.0-dev-20260311141825 → 0.0.0-dev-20260311144908

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.
@@ -821,10 +821,10 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
821
821
  }>, z.core.$strip>;
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
823
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
825
824
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
826
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
827
825
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
827
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
828
828
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
829
829
  base: z.ZodOptional<z.ZodObject<{
830
830
  model: z.ZodOptional<z.ZodString>;
@@ -839,7 +839,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
839
839
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
840
840
  }, z.core.$strip>>;
841
841
  }, z.core.$strip>>>>;
842
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
843
842
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
844
843
  stepCountIs?: number | undefined;
845
844
  }, {
@@ -849,7 +848,8 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
849
848
  }, {
850
849
  stepCountIs?: number | undefined;
851
850
  }>>>>>>;
852
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
851
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
853
853
  }, z.core.$strip>;
854
854
  declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
855
855
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -2483,7 +2483,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2483
2483
  }, {}, {
2484
2484
  length: 256;
2485
2485
  }>;
2486
- }, "id" | "createdAt" | "name" | "updatedAt" | "projectId" | "tenantId" | "description" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2486
+ }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2487
2487
  declare const AgentUpdateSchema: z.ZodObject<{
2488
2488
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2489
2489
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2750,12 +2750,11 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2750
2750
  id: z.ZodString;
2751
2751
  }>, z.core.$strip>;
2752
2752
  declare const AgentApiInsertSchema: z.ZodObject<{
2753
- createdAt: z.ZodOptional<z.ZodString>;
2753
+ id: z.ZodString;
2754
2754
  name: z.ZodString;
2755
- updatedAt: z.ZodOptional<z.ZodString>;
2756
2755
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
2756
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2759
2758
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2760
2759
  base?: {
2761
2760
  model?: string | undefined;
@@ -2809,7 +2808,16 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2809
2808
  providerOptions?: Record<string, any> | undefined;
2810
2809
  } | undefined;
2811
2810
  }>>>>;
2812
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2811
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2812
+ transferCountIs?: number | undefined;
2813
+ }, {
2814
+ transferCountIs?: number | undefined;
2815
+ }, z.core.$ZodTypeInternals<{
2816
+ transferCountIs?: number | undefined;
2817
+ }, {
2818
+ transferCountIs?: number | undefined;
2819
+ }>>>>;
2820
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2813
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2814
2822
  enabled?: boolean | undefined;
2815
2823
  numEvents?: number | undefined;
@@ -2867,25 +2875,13 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2867
2875
  } | undefined;
2868
2876
  }[] | undefined;
2869
2877
  }>>>>;
2870
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2871
- transferCountIs?: number | undefined;
2872
- }, {
2873
- transferCountIs?: number | undefined;
2874
- }, z.core.$ZodTypeInternals<{
2875
- transferCountIs?: number | undefined;
2876
- }, {
2877
- transferCountIs?: number | undefined;
2878
- }>>>>;
2879
- id: z.ZodString;
2880
2878
  }, z.core.$strip>;
2881
2879
  declare const AgentApiUpdateSchema: z.ZodObject<{
2882
2880
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2883
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2884
2881
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2885
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2886
2882
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2887
2883
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2888
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2889
2885
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2890
2886
  base?: {
2891
2887
  model?: string | undefined;
@@ -2939,7 +2935,18 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2939
2935
  providerOptions?: Record<string, any> | undefined;
2940
2936
  } | undefined;
2941
2937
  }>>>>>>;
2942
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2938
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2939
+ transferCountIs?: number | undefined;
2940
+ }, {
2941
+ transferCountIs?: number | undefined;
2942
+ }, z.core.$ZodTypeInternals<{
2943
+ transferCountIs?: number | undefined;
2944
+ }, {
2945
+ transferCountIs?: number | undefined;
2946
+ }>>>>>>;
2947
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2948
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2949
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2943
2950
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2944
2951
  enabled?: boolean | undefined;
2945
2952
  numEvents?: number | undefined;
@@ -2997,15 +3004,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2997
3004
  } | undefined;
2998
3005
  }[] | undefined;
2999
3006
  }>>>>>>;
3000
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3001
- transferCountIs?: number | undefined;
3002
- }, {
3003
- transferCountIs?: number | undefined;
3004
- }, z.core.$ZodTypeInternals<{
3005
- transferCountIs?: number | undefined;
3006
- }, {
3007
- transferCountIs?: number | undefined;
3008
- }>>>>>>;
3009
3007
  }, z.core.$strip>;
3010
3008
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
3011
3009
  name: z.ZodString;
@@ -3072,8 +3070,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3072
3070
  declare const SignatureSourceSchema: z.ZodObject<{
3073
3071
  source: z.ZodEnum<{
3074
3072
  query: "query";
3075
- body: "body";
3076
3073
  header: "header";
3074
+ body: "body";
3077
3075
  }>;
3078
3076
  key: z.ZodString;
3079
3077
  prefix: z.ZodOptional<z.ZodString>;
@@ -3102,8 +3100,8 @@ declare const SignatureSourceSchema: z.ZodObject<{
3102
3100
  declare const SignedComponentSchema: z.ZodObject<{
3103
3101
  source: z.ZodEnum<{
3104
3102
  literal: "literal";
3105
- body: "body";
3106
3103
  header: "header";
3104
+ body: "body";
3107
3105
  }>;
3108
3106
  key: z.ZodOptional<z.ZodString>;
3109
3107
  value: z.ZodOptional<z.ZodString>;
@@ -3212,8 +3210,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3212
3210
  signature: z.ZodObject<{
3213
3211
  source: z.ZodEnum<{
3214
3212
  query: "query";
3215
- body: "body";
3216
3213
  header: "header";
3214
+ body: "body";
3217
3215
  }>;
3218
3216
  key: z.ZodString;
3219
3217
  prefix: z.ZodOptional<z.ZodString>;
@@ -3222,8 +3220,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3222
3220
  signedComponents: z.ZodArray<z.ZodObject<{
3223
3221
  source: z.ZodEnum<{
3224
3222
  literal: "literal";
3225
- body: "body";
3226
3223
  header: "header";
3224
+ body: "body";
3227
3225
  }>;
3228
3226
  key: z.ZodOptional<z.ZodString>;
3229
3227
  value: z.ZodOptional<z.ZodString>;
@@ -3308,8 +3306,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3308
3306
  signature: z.ZodObject<{
3309
3307
  source: z.ZodEnum<{
3310
3308
  query: "query";
3311
- body: "body";
3312
3309
  header: "header";
3310
+ body: "body";
3313
3311
  }>;
3314
3312
  key: z.ZodString;
3315
3313
  prefix: z.ZodOptional<z.ZodString>;
@@ -3318,8 +3316,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3318
3316
  signedComponents: z.ZodArray<z.ZodObject<{
3319
3317
  source: z.ZodEnum<{
3320
3318
  literal: "literal";
3321
- body: "body";
3322
3319
  header: "header";
3320
+ body: "body";
3323
3321
  }>;
3324
3322
  key: z.ZodOptional<z.ZodString>;
3325
3323
  value: z.ZodOptional<z.ZodString>;
@@ -3504,13 +3502,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3504
3502
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3505
3503
  encoding: "hex" | "base64";
3506
3504
  signature: {
3507
- source: "query" | "body" | "header";
3505
+ source: "query" | "header" | "body";
3508
3506
  key: string;
3509
3507
  prefix?: string | undefined;
3510
3508
  regex?: string | undefined;
3511
3509
  };
3512
3510
  signedComponents: {
3513
- source: "literal" | "body" | "header";
3511
+ source: "literal" | "header" | "body";
3514
3512
  required: boolean;
3515
3513
  key?: string | undefined;
3516
3514
  value?: string | undefined;
@@ -3541,13 +3539,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3541
3539
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3542
3540
  encoding: "hex" | "base64";
3543
3541
  signature: {
3544
- source: "query" | "body" | "header";
3542
+ source: "query" | "header" | "body";
3545
3543
  key: string;
3546
3544
  prefix?: string | undefined;
3547
3545
  regex?: string | undefined;
3548
3546
  };
3549
3547
  signedComponents: {
3550
- source: "literal" | "body" | "header";
3548
+ source: "literal" | "header" | "body";
3551
3549
  required: boolean;
3552
3550
  key?: string | undefined;
3553
3551
  value?: string | undefined;
@@ -3874,13 +3872,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3874
3872
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3875
3873
  encoding: "hex" | "base64";
3876
3874
  signature: {
3877
- source: "query" | "body" | "header";
3875
+ source: "query" | "header" | "body";
3878
3876
  key: string;
3879
3877
  prefix?: string | undefined;
3880
3878
  regex?: string | undefined;
3881
3879
  };
3882
3880
  signedComponents: {
3883
- source: "literal" | "body" | "header";
3881
+ source: "literal" | "header" | "body";
3884
3882
  required: boolean;
3885
3883
  key?: string | undefined;
3886
3884
  value?: string | undefined;
@@ -3911,13 +3909,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3911
3909
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3912
3910
  encoding: "hex" | "base64";
3913
3911
  signature: {
3914
- source: "query" | "body" | "header";
3912
+ source: "query" | "header" | "body";
3915
3913
  key: string;
3916
3914
  prefix?: string | undefined;
3917
3915
  regex?: string | undefined;
3918
3916
  };
3919
3917
  signedComponents: {
3920
- source: "literal" | "body" | "header";
3918
+ source: "literal" | "header" | "body";
3921
3919
  required: boolean;
3922
3920
  key?: string | undefined;
3923
3921
  value?: string | undefined;
@@ -4084,7 +4082,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4084
4082
  }, {}, {
4085
4083
  length: 256;
4086
4084
  }>;
4087
- }, "id" | "createdAt" | "name" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "enabled" | "createdBy" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId">, undefined>, undefined>;
4085
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "createdBy" | "inputSchema" | "messageTemplate" | "runAsUserId" | "outputTransform" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4088
4086
  declare const TriggerUpdateSchema: z.ZodObject<{
4089
4087
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4090
4088
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4137,8 +4135,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4137
4135
  signature: z.ZodObject<{
4138
4136
  source: z.ZodEnum<{
4139
4137
  query: "query";
4140
- body: "body";
4141
4138
  header: "header";
4139
+ body: "body";
4142
4140
  }>;
4143
4141
  key: z.ZodString;
4144
4142
  prefix: z.ZodOptional<z.ZodString>;
@@ -4147,8 +4145,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4147
4145
  signedComponents: z.ZodArray<z.ZodObject<{
4148
4146
  source: z.ZodEnum<{
4149
4147
  literal: "literal";
4150
- body: "body";
4151
4148
  header: "header";
4149
+ body: "body";
4152
4150
  }>;
4153
4151
  key: z.ZodOptional<z.ZodString>;
4154
4152
  value: z.ZodOptional<z.ZodString>;
@@ -4171,20 +4169,18 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4171
4169
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4172
4170
  }>, z.core.$strip>;
4173
4171
  declare const TriggerApiInsertSchema: z.ZodObject<{
4174
- createdAt: z.ZodOptional<z.ZodString>;
4172
+ id: z.ZodOptional<z.ZodString>;
4175
4173
  name: z.ZodString;
4176
- updatedAt: z.ZodOptional<z.ZodString>;
4177
4174
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4178
4175
  enabled: z.ZodOptional<z.ZodBoolean>;
4179
4176
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4180
4177
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4181
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4182
4178
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4179
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4180
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4183
4181
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4184
4182
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4185
4183
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4186
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4187
- id: z.ZodOptional<z.ZodString>;
4188
4184
  }, z.core.$strip>;
4189
4185
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4190
4186
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4210,15 +4206,16 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4210
4206
  }>;
4211
4207
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4212
4208
  id: z.ZodString;
4213
- createdAt: z.ZodString;
4214
4209
  name: z.ZodString;
4215
- updatedAt: z.ZodString;
4216
4210
  description: z.ZodNullable<z.ZodString>;
4211
+ createdAt: z.ZodString;
4212
+ updatedAt: z.ZodString;
4217
4213
  enabled: z.ZodBoolean;
4218
4214
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4219
4215
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4220
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4221
4216
  messageTemplate: z.ZodNullable<z.ZodString>;
4217
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4218
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4222
4219
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4223
4220
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4224
4221
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4236,8 +4233,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4236
4233
  signature: z.ZodObject<{
4237
4234
  source: z.ZodEnum<{
4238
4235
  query: "query";
4239
- body: "body";
4240
4236
  header: "header";
4237
+ body: "body";
4241
4238
  }>;
4242
4239
  key: z.ZodString;
4243
4240
  prefix: z.ZodOptional<z.ZodString>;
@@ -4246,8 +4243,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4246
4243
  signedComponents: z.ZodArray<z.ZodObject<{
4247
4244
  source: z.ZodEnum<{
4248
4245
  literal: "literal";
4249
- body: "body";
4250
4246
  header: "header";
4247
+ body: "body";
4251
4248
  }>;
4252
4249
  key: z.ZodOptional<z.ZodString>;
4253
4250
  value: z.ZodOptional<z.ZodString>;
@@ -4266,7 +4263,6 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4266
4263
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
4267
4264
  }, z.core.$strip>>;
4268
4265
  }, z.core.$strip>>>;
4269
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4270
4266
  webhookUrl: z.ZodString;
4271
4267
  }, z.core.$strip>;
4272
4268
  declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -5078,7 +5074,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
5078
5074
  }, {}, {
5079
5075
  length: 256;
5080
5076
  }>;
5081
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5077
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5082
5078
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5083
5079
  triggerId: z.ZodOptional<z.ZodString>;
5084
5080
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5153,710 +5149,41 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5153
5149
  out: {};
5154
5150
  in: {};
5155
5151
  }>;
5156
- declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
5157
- createdAt: drizzle_orm_pg_core866.PgColumn<{
5158
- name: "created_at";
5159
- tableName: "scheduled_triggers";
5160
- dataType: "string";
5161
- columnType: "PgTimestampString";
5162
- data: string;
5163
- driverParam: string;
5164
- notNull: true;
5165
- hasDefault: true;
5166
- isPrimaryKey: false;
5167
- isAutoincrement: false;
5168
- hasRuntimeDefault: false;
5169
- enumValues: undefined;
5170
- baseColumn: never;
5171
- identity: undefined;
5172
- generated: undefined;
5173
- }, {}, {}>;
5174
- updatedAt: drizzle_orm_pg_core866.PgColumn<{
5175
- name: "updated_at";
5176
- tableName: "scheduled_triggers";
5177
- dataType: "string";
5178
- columnType: "PgTimestampString";
5179
- data: string;
5180
- driverParam: string;
5181
- notNull: true;
5182
- hasDefault: true;
5183
- isPrimaryKey: false;
5184
- isAutoincrement: false;
5185
- hasRuntimeDefault: false;
5186
- enumValues: undefined;
5187
- baseColumn: never;
5188
- identity: undefined;
5189
- generated: undefined;
5190
- }, {}, {}>;
5191
- enabled: drizzle_orm_pg_core866.PgColumn<{
5192
- name: "enabled";
5193
- tableName: "scheduled_triggers";
5194
- dataType: "boolean";
5195
- columnType: "PgBoolean";
5196
- data: boolean;
5197
- driverParam: boolean;
5198
- notNull: true;
5199
- hasDefault: true;
5200
- isPrimaryKey: false;
5201
- isAutoincrement: false;
5202
- hasRuntimeDefault: false;
5203
- enumValues: undefined;
5204
- baseColumn: never;
5205
- identity: undefined;
5206
- generated: undefined;
5207
- }, {}, {}>;
5208
- cronExpression: drizzle_orm_pg_core866.PgColumn<{
5209
- name: "cron_expression";
5210
- tableName: "scheduled_triggers";
5211
- dataType: "string";
5212
- columnType: "PgVarchar";
5213
- data: string;
5214
- driverParam: string;
5215
- notNull: false;
5216
- hasDefault: false;
5217
- isPrimaryKey: false;
5218
- isAutoincrement: false;
5219
- hasRuntimeDefault: false;
5220
- enumValues: [string, ...string[]];
5221
- baseColumn: never;
5222
- identity: undefined;
5223
- generated: undefined;
5224
- }, {}, {
5225
- length: 256;
5226
- }>;
5227
- cronTimezone: drizzle_orm_pg_core866.PgColumn<{
5228
- name: "cron_timezone";
5229
- tableName: "scheduled_triggers";
5230
- dataType: "string";
5231
- columnType: "PgVarchar";
5232
- data: string;
5233
- driverParam: string;
5234
- notNull: false;
5235
- hasDefault: true;
5236
- isPrimaryKey: false;
5237
- isAutoincrement: false;
5238
- hasRuntimeDefault: false;
5239
- enumValues: [string, ...string[]];
5240
- baseColumn: never;
5241
- identity: undefined;
5242
- generated: undefined;
5243
- }, {}, {
5244
- length: 64;
5245
- }>;
5246
- runAt: drizzle_orm_pg_core866.PgColumn<{
5247
- name: "run_at";
5248
- tableName: "scheduled_triggers";
5249
- dataType: "string";
5250
- columnType: "PgTimestampString";
5251
- data: string;
5252
- driverParam: string;
5253
- notNull: false;
5254
- hasDefault: false;
5255
- isPrimaryKey: false;
5256
- isAutoincrement: false;
5257
- hasRuntimeDefault: false;
5258
- enumValues: undefined;
5259
- baseColumn: never;
5260
- identity: undefined;
5261
- generated: undefined;
5262
- }, {}, {}>;
5263
- payload: drizzle_orm_pg_core866.PgColumn<{
5264
- name: "payload";
5265
- tableName: "scheduled_triggers";
5266
- dataType: "json";
5267
- columnType: "PgJsonb";
5268
- data: Record<string, unknown> | null;
5269
- driverParam: unknown;
5270
- notNull: false;
5271
- hasDefault: false;
5272
- isPrimaryKey: false;
5273
- isAutoincrement: false;
5274
- hasRuntimeDefault: false;
5275
- enumValues: undefined;
5276
- baseColumn: never;
5277
- identity: undefined;
5278
- generated: undefined;
5279
- }, {}, {
5280
- $type: Record<string, unknown> | null;
5281
- }>;
5282
- messageTemplate: drizzle_orm_pg_core866.PgColumn<{
5283
- name: "message_template";
5284
- tableName: "scheduled_triggers";
5285
- dataType: "string";
5286
- columnType: "PgText";
5287
- data: string;
5288
- driverParam: string;
5289
- notNull: false;
5290
- hasDefault: false;
5291
- isPrimaryKey: false;
5292
- isAutoincrement: false;
5293
- hasRuntimeDefault: false;
5294
- enumValues: [string, ...string[]];
5295
- baseColumn: never;
5296
- identity: undefined;
5297
- generated: undefined;
5298
- }, {}, {}>;
5299
- maxRetries: drizzle_orm_pg_core866.PgColumn<{
5300
- name: "max_retries";
5301
- tableName: "scheduled_triggers";
5302
- dataType: "number";
5303
- columnType: "PgNumericNumber";
5304
- data: number;
5305
- driverParam: string;
5306
- notNull: true;
5307
- hasDefault: true;
5308
- isPrimaryKey: false;
5309
- isAutoincrement: false;
5310
- hasRuntimeDefault: false;
5311
- enumValues: undefined;
5312
- baseColumn: never;
5313
- identity: undefined;
5314
- generated: undefined;
5315
- }, {}, {}>;
5316
- retryDelaySeconds: drizzle_orm_pg_core866.PgColumn<{
5317
- name: "retry_delay_seconds";
5318
- tableName: "scheduled_triggers";
5319
- dataType: "number";
5320
- columnType: "PgNumericNumber";
5321
- data: number;
5322
- driverParam: string;
5323
- notNull: true;
5324
- hasDefault: true;
5325
- isPrimaryKey: false;
5326
- isAutoincrement: false;
5327
- hasRuntimeDefault: false;
5328
- enumValues: undefined;
5329
- baseColumn: never;
5330
- identity: undefined;
5331
- generated: undefined;
5332
- }, {}, {}>;
5333
- timeoutSeconds: drizzle_orm_pg_core866.PgColumn<{
5334
- name: "timeout_seconds";
5335
- tableName: "scheduled_triggers";
5336
- dataType: "number";
5337
- columnType: "PgNumericNumber";
5338
- data: number;
5339
- driverParam: string;
5340
- notNull: true;
5341
- hasDefault: true;
5342
- isPrimaryKey: false;
5343
- isAutoincrement: false;
5344
- hasRuntimeDefault: false;
5345
- enumValues: undefined;
5346
- baseColumn: never;
5347
- identity: undefined;
5348
- generated: undefined;
5349
- }, {}, {}>;
5350
- runAsUserId: drizzle_orm_pg_core866.PgColumn<{
5351
- name: "run_as_user_id";
5352
- tableName: "scheduled_triggers";
5353
- dataType: "string";
5354
- columnType: "PgVarchar";
5355
- data: string;
5356
- driverParam: string;
5357
- notNull: false;
5358
- hasDefault: false;
5359
- isPrimaryKey: false;
5360
- isAutoincrement: false;
5361
- hasRuntimeDefault: false;
5362
- enumValues: [string, ...string[]];
5363
- baseColumn: never;
5364
- identity: undefined;
5365
- generated: undefined;
5366
- }, {}, {
5367
- length: 256;
5368
- }>;
5369
- createdBy: drizzle_orm_pg_core866.PgColumn<{
5370
- name: "created_by";
5371
- tableName: "scheduled_triggers";
5372
- dataType: "string";
5373
- columnType: "PgVarchar";
5374
- data: string;
5375
- driverParam: string;
5376
- notNull: false;
5377
- hasDefault: false;
5378
- isPrimaryKey: false;
5379
- isAutoincrement: false;
5380
- hasRuntimeDefault: false;
5381
- enumValues: [string, ...string[]];
5382
- baseColumn: never;
5383
- identity: undefined;
5384
- generated: undefined;
5385
- }, {}, {
5386
- length: 256;
5387
- }>;
5388
- name: drizzle_orm_pg_core866.PgColumn<{
5389
- name: "name";
5390
- tableName: "scheduled_triggers";
5391
- dataType: "string";
5392
- columnType: "PgVarchar";
5393
- data: string;
5394
- driverParam: string;
5395
- notNull: true;
5396
- hasDefault: false;
5397
- isPrimaryKey: false;
5398
- isAutoincrement: false;
5399
- hasRuntimeDefault: false;
5400
- enumValues: [string, ...string[]];
5401
- baseColumn: never;
5402
- identity: undefined;
5403
- generated: undefined;
5404
- }, {}, {
5405
- length: 256;
5406
- }>;
5407
- description: drizzle_orm_pg_core866.PgColumn<{
5408
- name: "description";
5409
- tableName: "scheduled_triggers";
5410
- dataType: "string";
5411
- columnType: "PgText";
5412
- data: string;
5413
- driverParam: string;
5414
- notNull: false;
5415
- hasDefault: false;
5416
- isPrimaryKey: false;
5417
- isAutoincrement: false;
5418
- hasRuntimeDefault: false;
5419
- enumValues: [string, ...string[]];
5420
- baseColumn: never;
5421
- identity: undefined;
5422
- generated: undefined;
5423
- }, {}, {}>;
5424
- agentId: drizzle_orm_pg_core866.PgColumn<{
5425
- name: "agent_id";
5426
- tableName: "scheduled_triggers";
5427
- dataType: "string";
5428
- columnType: "PgVarchar";
5429
- data: string;
5430
- driverParam: string;
5431
- notNull: true;
5432
- hasDefault: false;
5433
- isPrimaryKey: false;
5434
- isAutoincrement: false;
5435
- hasRuntimeDefault: false;
5436
- enumValues: [string, ...string[]];
5437
- baseColumn: never;
5438
- identity: undefined;
5439
- generated: undefined;
5440
- }, {}, {
5441
- length: 256;
5442
- }>;
5443
- projectId: drizzle_orm_pg_core866.PgColumn<{
5444
- name: "project_id";
5445
- tableName: "scheduled_triggers";
5446
- dataType: "string";
5447
- columnType: "PgVarchar";
5448
- data: string;
5449
- driverParam: string;
5450
- notNull: true;
5451
- hasDefault: false;
5452
- isPrimaryKey: false;
5453
- isAutoincrement: false;
5454
- hasRuntimeDefault: false;
5455
- enumValues: [string, ...string[]];
5456
- baseColumn: never;
5457
- identity: undefined;
5458
- generated: undefined;
5459
- }, {}, {
5460
- length: 256;
5461
- }>;
5462
- tenantId: drizzle_orm_pg_core866.PgColumn<{
5463
- name: "tenant_id";
5464
- tableName: "scheduled_triggers";
5465
- dataType: "string";
5466
- columnType: "PgVarchar";
5467
- data: string;
5468
- driverParam: string;
5469
- notNull: true;
5470
- hasDefault: false;
5471
- isPrimaryKey: false;
5472
- isAutoincrement: false;
5473
- hasRuntimeDefault: false;
5474
- enumValues: [string, ...string[]];
5475
- baseColumn: never;
5476
- identity: undefined;
5477
- generated: undefined;
5478
- }, {}, {
5479
- length: 256;
5480
- }>;
5481
- id: drizzle_orm_pg_core866.PgColumn<{
5482
- name: "id";
5483
- tableName: "scheduled_triggers";
5484
- dataType: "string";
5485
- columnType: "PgVarchar";
5486
- data: string;
5487
- driverParam: string;
5488
- notNull: true;
5489
- hasDefault: false;
5490
- isPrimaryKey: false;
5491
- isAutoincrement: false;
5492
- hasRuntimeDefault: false;
5493
- enumValues: [string, ...string[]];
5494
- baseColumn: never;
5495
- identity: undefined;
5496
- generated: undefined;
5497
- }, {}, {
5498
- length: 256;
5499
- }>;
5500
- }, drizzle_zod19.BuildRefine<Pick<{
5501
- createdAt: drizzle_orm_pg_core866.PgColumn<{
5502
- name: "created_at";
5503
- tableName: "scheduled_triggers";
5504
- dataType: "string";
5505
- columnType: "PgTimestampString";
5506
- data: string;
5507
- driverParam: string;
5508
- notNull: true;
5509
- hasDefault: true;
5510
- isPrimaryKey: false;
5511
- isAutoincrement: false;
5512
- hasRuntimeDefault: false;
5513
- enumValues: undefined;
5514
- baseColumn: never;
5515
- identity: undefined;
5516
- generated: undefined;
5517
- }, {}, {}>;
5518
- updatedAt: drizzle_orm_pg_core866.PgColumn<{
5519
- name: "updated_at";
5520
- tableName: "scheduled_triggers";
5521
- dataType: "string";
5522
- columnType: "PgTimestampString";
5523
- data: string;
5524
- driverParam: string;
5525
- notNull: true;
5526
- hasDefault: true;
5527
- isPrimaryKey: false;
5528
- isAutoincrement: false;
5529
- hasRuntimeDefault: false;
5530
- enumValues: undefined;
5531
- baseColumn: never;
5532
- identity: undefined;
5533
- generated: undefined;
5534
- }, {}, {}>;
5535
- enabled: drizzle_orm_pg_core866.PgColumn<{
5536
- name: "enabled";
5537
- tableName: "scheduled_triggers";
5538
- dataType: "boolean";
5539
- columnType: "PgBoolean";
5540
- data: boolean;
5541
- driverParam: boolean;
5542
- notNull: true;
5543
- hasDefault: true;
5544
- isPrimaryKey: false;
5545
- isAutoincrement: false;
5546
- hasRuntimeDefault: false;
5547
- enumValues: undefined;
5548
- baseColumn: never;
5549
- identity: undefined;
5550
- generated: undefined;
5551
- }, {}, {}>;
5552
- cronExpression: drizzle_orm_pg_core866.PgColumn<{
5553
- name: "cron_expression";
5554
- tableName: "scheduled_triggers";
5555
- dataType: "string";
5556
- columnType: "PgVarchar";
5557
- data: string;
5558
- driverParam: string;
5559
- notNull: false;
5560
- hasDefault: false;
5561
- isPrimaryKey: false;
5562
- isAutoincrement: false;
5563
- hasRuntimeDefault: false;
5564
- enumValues: [string, ...string[]];
5565
- baseColumn: never;
5566
- identity: undefined;
5567
- generated: undefined;
5568
- }, {}, {
5569
- length: 256;
5570
- }>;
5571
- cronTimezone: drizzle_orm_pg_core866.PgColumn<{
5572
- name: "cron_timezone";
5573
- tableName: "scheduled_triggers";
5574
- dataType: "string";
5575
- columnType: "PgVarchar";
5576
- data: string;
5577
- driverParam: string;
5578
- notNull: false;
5579
- hasDefault: true;
5580
- isPrimaryKey: false;
5581
- isAutoincrement: false;
5582
- hasRuntimeDefault: false;
5583
- enumValues: [string, ...string[]];
5584
- baseColumn: never;
5585
- identity: undefined;
5586
- generated: undefined;
5587
- }, {}, {
5588
- length: 64;
5589
- }>;
5590
- runAt: drizzle_orm_pg_core866.PgColumn<{
5591
- name: "run_at";
5592
- tableName: "scheduled_triggers";
5593
- dataType: "string";
5594
- columnType: "PgTimestampString";
5595
- data: string;
5596
- driverParam: string;
5597
- notNull: false;
5598
- hasDefault: false;
5599
- isPrimaryKey: false;
5600
- isAutoincrement: false;
5601
- hasRuntimeDefault: false;
5602
- enumValues: undefined;
5603
- baseColumn: never;
5604
- identity: undefined;
5605
- generated: undefined;
5606
- }, {}, {}>;
5607
- payload: drizzle_orm_pg_core866.PgColumn<{
5608
- name: "payload";
5609
- tableName: "scheduled_triggers";
5610
- dataType: "json";
5611
- columnType: "PgJsonb";
5612
- data: Record<string, unknown> | null;
5613
- driverParam: unknown;
5614
- notNull: false;
5615
- hasDefault: false;
5616
- isPrimaryKey: false;
5617
- isAutoincrement: false;
5618
- hasRuntimeDefault: false;
5619
- enumValues: undefined;
5620
- baseColumn: never;
5621
- identity: undefined;
5622
- generated: undefined;
5623
- }, {}, {
5624
- $type: Record<string, unknown> | null;
5625
- }>;
5626
- messageTemplate: drizzle_orm_pg_core866.PgColumn<{
5627
- name: "message_template";
5628
- tableName: "scheduled_triggers";
5629
- dataType: "string";
5630
- columnType: "PgText";
5631
- data: string;
5632
- driverParam: string;
5633
- notNull: false;
5634
- hasDefault: false;
5635
- isPrimaryKey: false;
5636
- isAutoincrement: false;
5637
- hasRuntimeDefault: false;
5638
- enumValues: [string, ...string[]];
5639
- baseColumn: never;
5640
- identity: undefined;
5641
- generated: undefined;
5642
- }, {}, {}>;
5643
- maxRetries: drizzle_orm_pg_core866.PgColumn<{
5644
- name: "max_retries";
5645
- tableName: "scheduled_triggers";
5646
- dataType: "number";
5647
- columnType: "PgNumericNumber";
5648
- data: number;
5649
- driverParam: string;
5650
- notNull: true;
5651
- hasDefault: true;
5652
- isPrimaryKey: false;
5653
- isAutoincrement: false;
5654
- hasRuntimeDefault: false;
5655
- enumValues: undefined;
5656
- baseColumn: never;
5657
- identity: undefined;
5658
- generated: undefined;
5659
- }, {}, {}>;
5660
- retryDelaySeconds: drizzle_orm_pg_core866.PgColumn<{
5661
- name: "retry_delay_seconds";
5662
- tableName: "scheduled_triggers";
5663
- dataType: "number";
5664
- columnType: "PgNumericNumber";
5665
- data: number;
5666
- driverParam: string;
5667
- notNull: true;
5668
- hasDefault: true;
5669
- isPrimaryKey: false;
5670
- isAutoincrement: false;
5671
- hasRuntimeDefault: false;
5672
- enumValues: undefined;
5673
- baseColumn: never;
5674
- identity: undefined;
5675
- generated: undefined;
5676
- }, {}, {}>;
5677
- timeoutSeconds: drizzle_orm_pg_core866.PgColumn<{
5678
- name: "timeout_seconds";
5679
- tableName: "scheduled_triggers";
5680
- dataType: "number";
5681
- columnType: "PgNumericNumber";
5682
- data: number;
5683
- driverParam: string;
5684
- notNull: true;
5685
- hasDefault: true;
5686
- isPrimaryKey: false;
5687
- isAutoincrement: false;
5688
- hasRuntimeDefault: false;
5689
- enumValues: undefined;
5690
- baseColumn: never;
5691
- identity: undefined;
5692
- generated: undefined;
5693
- }, {}, {}>;
5694
- runAsUserId: drizzle_orm_pg_core866.PgColumn<{
5695
- name: "run_as_user_id";
5696
- tableName: "scheduled_triggers";
5697
- dataType: "string";
5698
- columnType: "PgVarchar";
5699
- data: string;
5700
- driverParam: string;
5701
- notNull: false;
5702
- hasDefault: false;
5703
- isPrimaryKey: false;
5704
- isAutoincrement: false;
5705
- hasRuntimeDefault: false;
5706
- enumValues: [string, ...string[]];
5707
- baseColumn: never;
5708
- identity: undefined;
5709
- generated: undefined;
5710
- }, {}, {
5711
- length: 256;
5712
- }>;
5713
- createdBy: drizzle_orm_pg_core866.PgColumn<{
5714
- name: "created_by";
5715
- tableName: "scheduled_triggers";
5716
- dataType: "string";
5717
- columnType: "PgVarchar";
5718
- data: string;
5719
- driverParam: string;
5720
- notNull: false;
5721
- hasDefault: false;
5722
- isPrimaryKey: false;
5723
- isAutoincrement: false;
5724
- hasRuntimeDefault: false;
5725
- enumValues: [string, ...string[]];
5726
- baseColumn: never;
5727
- identity: undefined;
5728
- generated: undefined;
5729
- }, {}, {
5730
- length: 256;
5731
- }>;
5732
- name: drizzle_orm_pg_core866.PgColumn<{
5733
- name: "name";
5734
- tableName: "scheduled_triggers";
5735
- dataType: "string";
5736
- columnType: "PgVarchar";
5737
- data: string;
5738
- driverParam: string;
5739
- notNull: true;
5740
- hasDefault: false;
5741
- isPrimaryKey: false;
5742
- isAutoincrement: false;
5743
- hasRuntimeDefault: false;
5744
- enumValues: [string, ...string[]];
5745
- baseColumn: never;
5746
- identity: undefined;
5747
- generated: undefined;
5748
- }, {}, {
5749
- length: 256;
5750
- }>;
5751
- description: drizzle_orm_pg_core866.PgColumn<{
5752
- name: "description";
5753
- tableName: "scheduled_triggers";
5754
- dataType: "string";
5755
- columnType: "PgText";
5756
- data: string;
5757
- driverParam: string;
5758
- notNull: false;
5759
- hasDefault: false;
5760
- isPrimaryKey: false;
5761
- isAutoincrement: false;
5762
- hasRuntimeDefault: false;
5763
- enumValues: [string, ...string[]];
5764
- baseColumn: never;
5765
- identity: undefined;
5766
- generated: undefined;
5767
- }, {}, {}>;
5768
- agentId: drizzle_orm_pg_core866.PgColumn<{
5769
- name: "agent_id";
5770
- tableName: "scheduled_triggers";
5771
- dataType: "string";
5772
- columnType: "PgVarchar";
5773
- data: string;
5774
- driverParam: string;
5775
- notNull: true;
5776
- hasDefault: false;
5777
- isPrimaryKey: false;
5778
- isAutoincrement: false;
5779
- hasRuntimeDefault: false;
5780
- enumValues: [string, ...string[]];
5781
- baseColumn: never;
5782
- identity: undefined;
5783
- generated: undefined;
5784
- }, {}, {
5785
- length: 256;
5786
- }>;
5787
- projectId: drizzle_orm_pg_core866.PgColumn<{
5788
- name: "project_id";
5789
- tableName: "scheduled_triggers";
5790
- dataType: "string";
5791
- columnType: "PgVarchar";
5792
- data: string;
5793
- driverParam: string;
5794
- notNull: true;
5795
- hasDefault: false;
5796
- isPrimaryKey: false;
5797
- isAutoincrement: false;
5798
- hasRuntimeDefault: false;
5799
- enumValues: [string, ...string[]];
5800
- baseColumn: never;
5801
- identity: undefined;
5802
- generated: undefined;
5803
- }, {}, {
5804
- length: 256;
5805
- }>;
5806
- tenantId: drizzle_orm_pg_core866.PgColumn<{
5807
- name: "tenant_id";
5808
- tableName: "scheduled_triggers";
5809
- dataType: "string";
5810
- columnType: "PgVarchar";
5811
- data: string;
5812
- driverParam: string;
5813
- notNull: true;
5814
- hasDefault: false;
5815
- isPrimaryKey: false;
5816
- isAutoincrement: false;
5817
- hasRuntimeDefault: false;
5818
- enumValues: [string, ...string[]];
5819
- baseColumn: never;
5820
- identity: undefined;
5821
- generated: undefined;
5822
- }, {}, {
5823
- length: 256;
5824
- }>;
5825
- id: drizzle_orm_pg_core866.PgColumn<{
5826
- name: "id";
5827
- tableName: "scheduled_triggers";
5828
- dataType: "string";
5829
- columnType: "PgVarchar";
5830
- data: string;
5831
- driverParam: string;
5832
- notNull: true;
5833
- hasDefault: false;
5834
- isPrimaryKey: false;
5835
- isAutoincrement: false;
5836
- hasRuntimeDefault: false;
5837
- enumValues: [string, ...string[]];
5838
- baseColumn: never;
5839
- identity: undefined;
5840
- generated: undefined;
5841
- }, {}, {
5842
- length: 256;
5843
- }>;
5844
- }, "id" | "createdAt" | "name" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "enabled" | "createdBy" | "messageTemplate" | "runAsUserId" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5152
+ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5153
+ id: z.ZodString;
5154
+ name: z.ZodString;
5155
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5156
+ tenantId: z.ZodString;
5157
+ projectId: z.ZodString;
5158
+ agentId: z.ZodString;
5159
+ enabled: z.ZodOptional<z.ZodBoolean>;
5160
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5161
+ cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5162
+ cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5163
+ runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5164
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5165
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5166
+ maxRetries: z.ZodOptional<z.ZodNumber>;
5167
+ retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5168
+ timeoutSeconds: z.ZodOptional<z.ZodNumber>;
5169
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5170
+ }, {
5171
+ out: {};
5172
+ in: {};
5173
+ }>;
5845
5174
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5846
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5847
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5175
+ id: z.ZodOptional<z.ZodString>;
5176
+ name: z.ZodOptional<z.ZodString>;
5177
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5178
+ tenantId: z.ZodOptional<z.ZodString>;
5179
+ projectId: z.ZodOptional<z.ZodString>;
5180
+ agentId: z.ZodOptional<z.ZodString>;
5181
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5848
5182
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5849
5183
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5850
5184
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5851
5185
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5852
5186
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5853
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5854
- name: z.ZodOptional<z.ZodString>;
5855
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5856
- agentId: z.ZodOptional<z.ZodString>;
5857
- projectId: z.ZodOptional<z.ZodString>;
5858
- tenantId: z.ZodOptional<z.ZodString>;
5859
- id: z.ZodOptional<z.ZodString>;
5860
5187
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5861
5188
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5862
5189
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5888,56 +5215,50 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5888
5215
  createdBy: z.ZodNullable<z.ZodString>;
5889
5216
  }>, z.core.$strip>;
5890
5217
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5891
- createdAt: z.ZodOptional<z.ZodString>;
5892
5218
  name: z.ZodString;
5893
- updatedAt: z.ZodOptional<z.ZodString>;
5894
5219
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5895
5220
  enabled: z.ZodOptional<z.ZodBoolean>;
5896
5221
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5897
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5898
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5899
5222
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5900
5223
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5901
5224
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5902
5225
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5226
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5903
5227
  maxRetries: z.ZodOptional<z.ZodNumber>;
5904
5228
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5905
5229
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
5230
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5906
5231
  id: z.ZodOptional<z.ZodString>;
5907
5232
  }, z.core.$strip>;
5908
5233
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5909
- createdAt: z.ZodOptional<z.ZodString>;
5910
5234
  name: z.ZodString;
5911
- updatedAt: z.ZodOptional<z.ZodString>;
5912
5235
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5913
5236
  enabled: z.ZodOptional<z.ZodBoolean>;
5914
5237
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5915
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5916
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5917
5238
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5918
5239
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5919
5240
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5920
5241
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5242
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5921
5243
  maxRetries: z.ZodOptional<z.ZodNumber>;
5922
5244
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5923
5245
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
5246
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5924
5247
  id: z.ZodOptional<z.ZodString>;
5925
5248
  }, z.core.$strip>;
5926
5249
  declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5927
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5928
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5250
+ id: z.ZodOptional<z.ZodString>;
5251
+ name: z.ZodOptional<z.ZodString>;
5252
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5253
+ tenantId: z.ZodOptional<z.ZodString>;
5254
+ projectId: z.ZodOptional<z.ZodString>;
5255
+ agentId: z.ZodOptional<z.ZodString>;
5256
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5929
5257
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5930
5258
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5931
5259
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5932
5260
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5933
5261
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5934
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5935
- name: z.ZodOptional<z.ZodString>;
5936
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5937
- agentId: z.ZodOptional<z.ZodString>;
5938
- projectId: z.ZodOptional<z.ZodString>;
5939
- tenantId: z.ZodOptional<z.ZodString>;
5940
- id: z.ZodOptional<z.ZodString>;
5941
5262
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5942
5263
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5943
5264
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -6770,7 +6091,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
6770
6091
  }, {}, {
6771
6092
  length: 256;
6772
6093
  }>;
6773
- }, "id" | "createdAt" | "name" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "status" | "scheduledTriggerId" | "workflowRunId">, undefined>, undefined>;
6094
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "scheduledTriggerId" | "workflowRunId">, undefined>, undefined>;
6774
6095
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6775
6096
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6776
6097
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6801,10 +6122,10 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6801
6122
  id: z.ZodString;
6802
6123
  }>, z.core.$strip>;
6803
6124
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6804
- createdAt: z.ZodOptional<z.ZodString>;
6805
6125
  name: z.ZodString;
6806
- updatedAt: z.ZodOptional<z.ZodString>;
6807
6126
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6127
+ createdAt: z.ZodOptional<z.ZodString>;
6128
+ updatedAt: z.ZodOptional<z.ZodString>;
6808
6129
  status: z.ZodOptional<z.ZodString>;
6809
6130
  scheduledTriggerId: z.ZodString;
6810
6131
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7377,7 +6698,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
7377
6698
  }, {}, {
7378
6699
  length: 256;
7379
6700
  }>;
7380
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6701
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7381
6702
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7382
6703
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7383
6704
  status: z.ZodOptional<z.ZodString>;
@@ -7981,9 +7302,9 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7981
7302
  }>, z.core.$strip>;
7982
7303
  declare const TaskApiUpdateSchema: z.ZodObject<{
7983
7304
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7305
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7984
7306
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7985
7307
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7986
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7987
7308
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7988
7309
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7989
7310
  type: z.ZodEnum<{
@@ -8348,9 +7669,9 @@ declare const TaskRelationApiUpdateSchema: z.ZodObject<{
8348
7669
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8349
7670
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8350
7671
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7672
+ relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8351
7673
  parentTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8352
7674
  childTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8353
- relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8354
7675
  }, z.core.$strip>;
8355
7676
  declare const McpTransportConfigSchema: z.ZodObject<{
8356
7677
  type: z.ZodEnum<{
@@ -8936,20 +8257,12 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
8936
8257
  }>;
8937
8258
  }, undefined>, undefined>;
8938
8259
  declare const ToolInsertSchema: z.ZodObject<{
8939
- createdAt: z.ZodOptional<z.ZodString>;
8940
- updatedAt: z.ZodOptional<z.ZodString>;
8941
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8942
- credentialScope: z.ZodOptional<z.ZodString>;
8943
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8944
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8945
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8946
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
8260
+ id: z.ZodString;
8947
8261
  name: z.ZodString;
8948
8262
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8949
- projectId: z.ZodString;
8950
8263
  tenantId: z.ZodString;
8951
- id: z.ZodString;
8952
- imageUrl: z.ZodOptional<z.ZodString>;
8264
+ projectId: z.ZodString;
8265
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8953
8266
  config: z.ZodObject<{
8954
8267
  type: z.ZodLiteral<"mcp">;
8955
8268
  mcp: z.ZodObject<{
@@ -8976,6 +8289,12 @@ declare const ToolInsertSchema: z.ZodObject<{
8976
8289
  prompt: z.ZodOptional<z.ZodString>;
8977
8290
  }, z.core.$strip>;
8978
8291
  }, z.core.$strip>;
8292
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8293
+ credentialScope: z.ZodOptional<z.ZodString>;
8294
+ imageUrl: z.ZodOptional<z.ZodString>;
8295
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8296
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8297
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
8979
8298
  }, {
8980
8299
  out: {};
8981
8300
  in: {};
@@ -9546,11 +8865,11 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9546
8865
  }>, z.core.$strip>;
9547
8866
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9548
8867
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8868
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8869
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9549
8870
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9550
8871
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9551
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9552
8872
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9553
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9554
8873
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9555
8874
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9556
8875
  type: z.ZodEnum<{
@@ -11086,10 +10405,10 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11086
10405
  }>, z.core.$strip>;
11087
10406
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
11088
10407
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10408
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
11089
10409
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11090
10410
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11091
10411
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11092
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
11093
10412
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
11094
10413
  type: z.ZodEnum<{
11095
10414
  commit: "commit";
@@ -12147,16 +11466,16 @@ declare const EvaluationResultApiInsertSchema: z.ZodObject<{
12147
11466
  output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
12148
11467
  createdAt: z.ZodOptional<z.ZodString>;
12149
11468
  updatedAt: z.ZodOptional<z.ZodString>;
12150
- conversationId: z.ZodString;
12151
11469
  evaluatorId: z.ZodString;
11470
+ conversationId: z.ZodString;
12152
11471
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12153
11472
  }, z.core.$strip>;
12154
11473
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
12155
11474
  output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
12156
11475
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12157
11476
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12158
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12159
11477
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11478
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12160
11479
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12161
11480
  }, z.core.$strip>;
12162
11481
  declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -12448,14 +11767,14 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
12448
11767
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
12449
11768
  createdAt: z.ZodOptional<z.ZodString>;
12450
11769
  updatedAt: z.ZodOptional<z.ZodString>;
12451
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12452
11770
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11771
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12453
11772
  }, z.core.$strip>;
12454
11773
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
12455
11774
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12456
11775
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12457
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12458
11776
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11777
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12459
11778
  }, z.core.$strip>;
12460
11779
  declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12461
11780
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -12785,27 +12104,27 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12785
12104
  id: z.ZodString;
12786
12105
  }>, z.core.$strip>;
12787
12106
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12788
- createdAt: z.ZodOptional<z.ZodString>;
12789
12107
  name: z.ZodString;
12790
- updatedAt: z.ZodOptional<z.ZodString>;
12791
12108
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12109
+ createdAt: z.ZodOptional<z.ZodString>;
12110
+ updatedAt: z.ZodOptional<z.ZodString>;
12792
12111
  isActive: z.ZodOptional<z.ZodBoolean>;
12793
12112
  suiteConfigIds: z.ZodArray<z.ZodString>;
12794
12113
  }, z.core.$strip>;
12795
12114
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12796
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12797
12115
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12798
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12799
12116
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12117
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12118
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12800
12119
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12801
12120
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12802
12121
  }, z.core.$strip>;
12803
12122
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12804
12123
  id: z.ZodString;
12805
- createdAt: z.ZodString;
12806
12124
  name: z.ZodString;
12807
- updatedAt: z.ZodString;
12808
12125
  description: z.ZodNullable<z.ZodString>;
12126
+ createdAt: z.ZodString;
12127
+ updatedAt: z.ZodString;
12809
12128
  isActive: z.ZodBoolean;
12810
12129
  suiteConfigIds: z.ZodArray<z.ZodString>;
12811
12130
  }, z.core.$strip>;
@@ -13842,14 +13161,14 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
13842
13161
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
13843
13162
  createdAt: z.ZodOptional<z.ZodString>;
13844
13163
  updatedAt: z.ZodOptional<z.ZodString>;
13845
- evaluationRunConfigId: z.ZodString;
13846
13164
  evaluationSuiteConfigId: z.ZodString;
13165
+ evaluationRunConfigId: z.ZodString;
13847
13166
  }, z.core.$strip>;
13848
13167
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
13849
13168
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13850
13169
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13851
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13852
13170
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13171
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13853
13172
  }, z.core.$strip>;
13854
13173
  declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13855
13174
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -14148,14 +13467,14 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
14148
13467
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
14149
13468
  createdAt: z.ZodOptional<z.ZodString>;
14150
13469
  updatedAt: z.ZodOptional<z.ZodString>;
14151
- evaluationJobConfigId: z.ZodString;
14152
13470
  evaluatorId: z.ZodString;
13471
+ evaluationJobConfigId: z.ZodString;
14153
13472
  }, z.core.$strip>;
14154
13473
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14155
13474
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14156
13475
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14157
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14158
13476
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13477
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14159
13478
  }, z.core.$strip>;
14160
13479
  declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
14161
13480
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -14454,14 +13773,14 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
14454
13773
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
14455
13774
  createdAt: z.ZodOptional<z.ZodString>;
14456
13775
  updatedAt: z.ZodOptional<z.ZodString>;
14457
- evaluatorId: z.ZodString;
14458
13776
  evaluationSuiteConfigId: z.ZodString;
13777
+ evaluatorId: z.ZodString;
14459
13778
  }, z.core.$strip>;
14460
13779
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14461
13780
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14462
13781
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14463
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14464
13782
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13783
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14465
13784
  }, z.core.$strip>;
14466
13785
  declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
14467
13786
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -14962,10 +14281,9 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14962
14281
  id: z.ZodString;
14963
14282
  }>, z.core.$strip>;
14964
14283
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14965
- createdAt: z.ZodOptional<z.ZodString>;
14966
14284
  name: z.ZodString;
14967
- updatedAt: z.ZodOptional<z.ZodString>;
14968
14285
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14286
+ prompt: z.ZodString;
14969
14287
  model: z.ZodType<{
14970
14288
  model?: string | undefined;
14971
14289
  providerOptions?: Record<string, any> | undefined;
@@ -14979,15 +14297,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14979
14297
  model?: string | undefined;
14980
14298
  providerOptions?: Record<string, any> | undefined;
14981
14299
  }>>;
14982
- prompt: z.ZodString;
14300
+ createdAt: z.ZodOptional<z.ZodString>;
14301
+ updatedAt: z.ZodOptional<z.ZodString>;
14983
14302
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14984
14303
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14985
14304
  }, z.core.$strip>;
14986
14305
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14987
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14988
14306
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14989
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14990
14307
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14308
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14991
14309
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14992
14310
  model?: string | undefined;
14993
14311
  providerOptions?: Record<string, any> | undefined;
@@ -15001,7 +14319,8 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
15001
14319
  model?: string | undefined;
15002
14320
  providerOptions?: Record<string, any> | undefined;
15003
14321
  }>>>>;
15004
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14322
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14323
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15005
14324
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
15006
14325
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
15007
14326
  }, z.core.$strip>;
@@ -15259,13 +14578,13 @@ declare const DatasetApiSelectSchema: z.ZodObject<OmitProjectScope<{
15259
14578
  id: z.ZodString;
15260
14579
  }>, z.core.$strip>;
15261
14580
  declare const DatasetApiInsertSchema: z.ZodObject<{
15262
- createdAt: z.ZodOptional<z.ZodString>;
15263
14581
  name: z.ZodString;
14582
+ createdAt: z.ZodOptional<z.ZodString>;
15264
14583
  updatedAt: z.ZodOptional<z.ZodString>;
15265
14584
  }, z.core.$strip>;
15266
14585
  declare const DatasetApiUpdateSchema: z.ZodObject<{
15267
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15268
14586
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14587
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15269
14588
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15270
14589
  }, z.core.$strip>;
15271
14590
  declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -15899,8 +15218,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15899
15218
  }>>>>>>;
15900
15219
  }, z.core.$strip>;
15901
15220
  declare const DatasetRunItemSchema: z.ZodObject<{
15902
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15903
15221
  id: z.ZodOptional<z.ZodString>;
15222
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15904
15223
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15905
15224
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15906
15225
  prompt: string;
@@ -15948,8 +15267,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
15948
15267
  declare const TriggerDatasetRunSchema: z.ZodObject<{
15949
15268
  datasetRunId: z.ZodString;
15950
15269
  items: z.ZodArray<z.ZodObject<{
15951
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15952
15270
  id: z.ZodOptional<z.ZodString>;
15271
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15953
15272
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15954
15273
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15955
15274
  prompt: string;
@@ -16359,17 +15678,17 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
16359
15678
  id: z.ZodString;
16360
15679
  }>, z.core.$strip>;
16361
15680
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
16362
- createdAt: z.ZodOptional<z.ZodString>;
16363
15681
  name: z.ZodString;
16364
- updatedAt: z.ZodOptional<z.ZodString>;
16365
15682
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15683
+ createdAt: z.ZodOptional<z.ZodString>;
15684
+ updatedAt: z.ZodOptional<z.ZodString>;
16366
15685
  datasetId: z.ZodString;
16367
15686
  }, z.core.$strip>;
16368
15687
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16369
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16370
15688
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16371
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16372
15689
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15690
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15691
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16373
15692
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16374
15693
  }, z.core.$strip>;
16375
15694
  declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -16678,9 +15997,9 @@ declare const SkillSelectSchema: z.ZodObject<{
16678
15997
  }>;
16679
15998
  declare const SkillInsertSchema: z.ZodObject<{
16680
15999
  name: z.ZodString;
16681
- projectId: z.ZodString;
16682
- tenantId: z.ZodString;
16683
16000
  description: z.ZodString;
16001
+ tenantId: z.ZodString;
16002
+ projectId: z.ZodString;
16684
16003
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16685
16004
  content: z.ZodString;
16686
16005
  }, {
@@ -16688,9 +16007,9 @@ declare const SkillInsertSchema: z.ZodObject<{
16688
16007
  in: {};
16689
16008
  }>;
16690
16009
  declare const SkillUpdateSchema: z.ZodObject<{
16691
- projectId: z.ZodOptional<z.ZodString>;
16692
- tenantId: z.ZodOptional<z.ZodString>;
16693
16010
  description: z.ZodOptional<z.ZodString>;
16011
+ tenantId: z.ZodOptional<z.ZodString>;
16012
+ projectId: z.ZodOptional<z.ZodString>;
16694
16013
  metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16695
16014
  content: z.ZodOptional<z.ZodString>;
16696
16015
  }, {
@@ -16710,9 +16029,9 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16710
16029
  }>, z.core.$strip>;
16711
16030
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16712
16031
  name: z.ZodString;
16713
- projectId: z.ZodString;
16714
- tenantId: z.ZodString;
16715
16032
  description: z.ZodString;
16033
+ tenantId: z.ZodString;
16034
+ projectId: z.ZodString;
16716
16035
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16717
16036
  content: z.ZodString;
16718
16037
  }>, z.core.$strip>;
@@ -17095,8 +16414,11 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17095
16414
  }>;
17096
16415
  }, undefined>, undefined>;
17097
16416
  declare const DataComponentInsertSchema: z.ZodObject<{
17098
- createdAt: z.ZodOptional<z.ZodString>;
17099
- updatedAt: z.ZodOptional<z.ZodString>;
16417
+ id: z.ZodString;
16418
+ name: z.ZodString;
16419
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16420
+ tenantId: z.ZodString;
16421
+ projectId: z.ZodString;
17100
16422
  props: z.ZodType<{
17101
16423
  [x: string]: unknown;
17102
16424
  type: "object";
@@ -17139,18 +16461,16 @@ declare const DataComponentInsertSchema: z.ZodObject<{
17139
16461
  component: string;
17140
16462
  mockData: Record<string, unknown>;
17141
16463
  }>>>>;
17142
- name: z.ZodString;
17143
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17144
- projectId: z.ZodString;
17145
- tenantId: z.ZodString;
17146
- id: z.ZodString;
17147
16464
  }, {
17148
16465
  out: {};
17149
16466
  in: {};
17150
16467
  }>;
17151
16468
  declare const DataComponentUpdateSchema: z.ZodObject<{
17152
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17153
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16469
+ id: z.ZodOptional<z.ZodString>;
16470
+ name: z.ZodOptional<z.ZodString>;
16471
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16472
+ tenantId: z.ZodOptional<z.ZodString>;
16473
+ projectId: z.ZodOptional<z.ZodString>;
17154
16474
  props: z.ZodOptional<z.ZodType<{
17155
16475
  [x: string]: unknown;
17156
16476
  type: "object";
@@ -17193,11 +16513,6 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
17193
16513
  component: string;
17194
16514
  mockData: Record<string, unknown>;
17195
16515
  }>>>>>;
17196
- name: z.ZodOptional<z.ZodString>;
17197
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17198
- projectId: z.ZodOptional<z.ZodString>;
17199
- tenantId: z.ZodOptional<z.ZodString>;
17200
- id: z.ZodOptional<z.ZodString>;
17201
16516
  }, {
17202
16517
  out: {};
17203
16518
  in: {};
@@ -17255,8 +16570,6 @@ declare const DataComponentApiSelectSchema: z.ZodObject<OmitProjectScope<{
17255
16570
  }>, z.core.$strip>;
17256
16571
  declare const DataComponentApiInsertSchema: z.ZodObject<{
17257
16572
  id: z.ZodString;
17258
- createdAt: z.ZodOptional<z.ZodString>;
17259
- updatedAt: z.ZodOptional<z.ZodString>;
17260
16573
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
17261
16574
  component: string;
17262
16575
  mockData: Record<string, unknown>;
@@ -17282,8 +16595,6 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
17282
16595
  }, z.core.$strip>;
17283
16596
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
17284
16597
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17285
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17286
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17287
16598
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
17288
16599
  component: string;
17289
16600
  mockData: Record<string, unknown>;
@@ -17836,7 +17147,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
17836
17147
  }, {}, {
17837
17148
  length: 256;
17838
17149
  }>;
17839
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17150
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17840
17151
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17841
17152
  dataComponentId: z.ZodOptional<z.ZodString>;
17842
17153
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -18434,10 +17745,10 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
18434
17745
  }>;
18435
17746
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18436
17747
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18437
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18438
17748
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18439
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18440
17749
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17750
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17751
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18441
17752
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
18442
17753
  [x: string]: unknown;
18443
17754
  type: "object";
@@ -18871,10 +18182,10 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18871
18182
  }, z.core.$strip>;
18872
18183
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18873
18184
  id: z.ZodString;
18874
- createdAt: z.ZodString;
18875
18185
  name: z.ZodString;
18876
- updatedAt: z.ZodString;
18877
18186
  description: z.ZodString;
18187
+ createdAt: z.ZodString;
18188
+ updatedAt: z.ZodString;
18878
18189
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18879
18190
  content: z.ZodString;
18880
18191
  subAgentSkillId: z.ZodString;
@@ -18897,29 +18208,25 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
18897
18208
  in: {};
18898
18209
  }>;
18899
18210
  declare const ExternalAgentInsertSchema: z.ZodObject<{
18900
- createdAt: z.ZodOptional<z.ZodString>;
18901
- updatedAt: z.ZodOptional<z.ZodString>;
18902
- projectId: z.ZodString;
18903
- tenantId: z.ZodString;
18904
18211
  id: z.ZodString;
18905
18212
  name: z.ZodString;
18906
18213
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18907
- baseUrl: z.ZodURL;
18214
+ tenantId: z.ZodString;
18215
+ projectId: z.ZodString;
18908
18216
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18217
+ baseUrl: z.ZodURL;
18909
18218
  }, {
18910
18219
  out: {};
18911
18220
  in: {};
18912
18221
  }>;
18913
18222
  declare const ExternalAgentUpdateSchema: z.ZodObject<{
18914
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18915
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18916
- projectId: z.ZodOptional<z.ZodString>;
18917
- tenantId: z.ZodOptional<z.ZodString>;
18918
18223
  id: z.ZodOptional<z.ZodString>;
18919
18224
  name: z.ZodOptional<z.ZodString>;
18920
18225
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18921
- baseUrl: z.ZodOptional<z.ZodURL>;
18226
+ tenantId: z.ZodOptional<z.ZodString>;
18227
+ projectId: z.ZodOptional<z.ZodString>;
18922
18228
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18229
+ baseUrl: z.ZodOptional<z.ZodURL>;
18923
18230
  }, {
18924
18231
  out: {};
18925
18232
  in: {};
@@ -18936,31 +18243,27 @@ declare const ExternalAgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
18936
18243
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18937
18244
  }>, z.core.$strip>;
18938
18245
  declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18939
- createdAt: z.ZodOptional<z.ZodString>;
18940
- updatedAt: z.ZodOptional<z.ZodString>;
18941
- projectId: z.ZodString;
18942
- tenantId: z.ZodString;
18943
18246
  id: z.ZodString;
18944
18247
  name: z.ZodString;
18945
18248
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18946
- baseUrl: z.ZodURL;
18249
+ tenantId: z.ZodString;
18250
+ projectId: z.ZodString;
18947
18251
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18252
+ baseUrl: z.ZodURL;
18948
18253
  }>, z.core.$strip>;
18949
18254
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18950
18255
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18951
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18952
18256
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18953
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18954
18257
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18955
18258
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18956
18259
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18957
18260
  }, z.core.$strip>;
18958
18261
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18959
18262
  id: z.ZodString;
18960
- createdAt: z.ZodString;
18961
18263
  name: z.ZodString;
18962
- updatedAt: z.ZodString;
18963
18264
  description: z.ZodNullable<z.ZodString>;
18265
+ prompt: z.ZodNullable<z.ZodString>;
18266
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18964
18267
  models: z.ZodNullable<z.ZodType<{
18965
18268
  base?: {
18966
18269
  model?: string | undefined;
@@ -19014,7 +18317,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19014
18317
  providerOptions?: Record<string, any> | undefined;
19015
18318
  } | undefined;
19016
18319
  }>>>;
19017
- prompt: z.ZodNullable<z.ZodString>;
19018
18320
  stopWhen: z.ZodNullable<z.ZodType<{
19019
18321
  stepCountIs?: number | undefined;
19020
18322
  }, {
@@ -19024,14 +18326,15 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19024
18326
  }, {
19025
18327
  stepCountIs?: number | undefined;
19026
18328
  }>>>;
19027
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18329
+ createdAt: z.ZodString;
18330
+ updatedAt: z.ZodString;
19028
18331
  type: z.ZodLiteral<"internal">;
19029
18332
  }, z.core.$strip>, z.ZodObject<{
19030
18333
  id: z.ZodString;
19031
- createdAt: z.ZodString;
19032
18334
  name: z.ZodString;
19033
- updatedAt: z.ZodString;
19034
18335
  description: z.ZodNullable<z.ZodString>;
18336
+ createdAt: z.ZodString;
18337
+ updatedAt: z.ZodString;
19035
18338
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19036
18339
  baseUrl: z.ZodString;
19037
18340
  type: z.ZodLiteral<"external">;
@@ -19498,8 +18801,8 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
19498
18801
  }>;
19499
18802
  declare const ApiKeyUpdateSchema: z.ZodObject<{
19500
18803
  name: z.ZodOptional<z.ZodString>;
19501
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19502
18804
  agentId: z.ZodOptional<z.ZodString>;
18805
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19503
18806
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19504
18807
  }, {
19505
18808
  out: {};
@@ -19507,10 +18810,10 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
19507
18810
  }>;
19508
18811
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19509
18812
  id: z.ZodString;
19510
- createdAt: z.ZodString;
19511
18813
  name: z.ZodNullable<z.ZodString>;
19512
- updatedAt: z.ZodString;
19513
18814
  agentId: z.ZodString;
18815
+ createdAt: z.ZodString;
18816
+ updatedAt: z.ZodString;
19514
18817
  expiresAt: z.ZodNullable<z.ZodString>;
19515
18818
  publicId: z.ZodString;
19516
18819
  keyPrefix: z.ZodString;
@@ -19523,10 +18826,10 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19523
18826
  data: z.ZodObject<{
19524
18827
  apiKey: z.ZodObject<{
19525
18828
  id: z.ZodString;
19526
- createdAt: z.ZodString;
19527
18829
  name: z.ZodNullable<z.ZodString>;
19528
- updatedAt: z.ZodString;
19529
18830
  agentId: z.ZodString;
18831
+ createdAt: z.ZodString;
18832
+ updatedAt: z.ZodString;
19530
18833
  expiresAt: z.ZodNullable<z.ZodString>;
19531
18834
  publicId: z.ZodString;
19532
18835
  keyPrefix: z.ZodString;
@@ -19539,10 +18842,10 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19539
18842
  }, z.core.$strip>;
19540
18843
  }, z.core.$strip>;
19541
18844
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
19542
- createdAt: z.ZodOptional<z.ZodString>;
19543
18845
  name: z.ZodString;
19544
- updatedAt: z.ZodOptional<z.ZodString>;
19545
18846
  agentId: z.ZodString;
18847
+ createdAt: z.ZodOptional<z.ZodString>;
18848
+ updatedAt: z.ZodOptional<z.ZodString>;
19546
18849
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19547
18850
  }, {
19548
18851
  out: {};
@@ -19550,8 +18853,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
19550
18853
  }>;
19551
18854
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19552
18855
  name: z.ZodOptional<z.ZodString>;
19553
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19554
18856
  agentId: z.ZodOptional<z.ZodString>;
18857
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19555
18858
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19556
18859
  }, {
19557
18860
  out: {};
@@ -20134,10 +19437,10 @@ declare const AppInsertSchema: z.ZodObject<{
20134
19437
  }>;
20135
19438
  declare const AppUpdateSchema: z.ZodObject<{
20136
19439
  name: z.ZodOptional<z.ZodString>;
20137
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20138
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20139
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20140
19440
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19441
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19442
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19443
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20141
19444
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
20142
19445
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
20143
19446
  type: z.ZodLiteral<"web_client">;
@@ -20667,14 +19970,14 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
20667
19970
  }, {}, {}>;
20668
19971
  }, undefined>, undefined>;
20669
19972
  declare const AppApiResponseSelectSchema: z.ZodObject<{
20670
- type: z.ZodString;
20671
19973
  id: z.ZodString;
20672
- createdAt: z.ZodString;
20673
19974
  name: z.ZodString;
20674
- updatedAt: z.ZodString;
20675
- projectId: z.ZodNullable<z.ZodString>;
20676
- tenantId: z.ZodNullable<z.ZodString>;
20677
19975
  description: z.ZodNullable<z.ZodString>;
19976
+ tenantId: z.ZodNullable<z.ZodString>;
19977
+ projectId: z.ZodNullable<z.ZodString>;
19978
+ type: z.ZodString;
19979
+ createdAt: z.ZodString;
19980
+ updatedAt: z.ZodString;
20678
19981
  enabled: z.ZodBoolean;
20679
19982
  lastUsedAt: z.ZodNullable<z.ZodString>;
20680
19983
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -20693,16 +19996,16 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
20693
19996
  in: {};
20694
19997
  }>;
20695
19998
  declare const AppApiInsertSchema: z.ZodObject<{
19999
+ name: z.ZodString;
20000
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20001
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20002
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20696
20003
  type: z.ZodEnum<{
20697
20004
  web_client: "web_client";
20698
20005
  api: "api";
20699
20006
  }>;
20700
20007
  createdAt: z.ZodOptional<z.ZodString>;
20701
- name: z.ZodString;
20702
20008
  updatedAt: z.ZodOptional<z.ZodString>;
20703
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20704
- tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20705
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20706
20009
  enabled: z.ZodOptional<z.ZodBoolean>;
20707
20010
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
20708
20011
  type: z.ZodLiteral<"web_client">;
@@ -20721,10 +20024,10 @@ declare const AppApiInsertSchema: z.ZodObject<{
20721
20024
  }>;
20722
20025
  declare const AppApiUpdateSchema: z.ZodObject<{
20723
20026
  name: z.ZodOptional<z.ZodString>;
20724
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20725
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20726
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20727
20027
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20028
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20029
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20030
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20728
20031
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
20729
20032
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
20730
20033
  type: z.ZodLiteral<"web_client">;
@@ -20745,14 +20048,14 @@ declare const AppApiUpdateSchema: z.ZodObject<{
20745
20048
  declare const AppApiCreationResponseSchema: z.ZodObject<{
20746
20049
  data: z.ZodObject<{
20747
20050
  app: z.ZodObject<{
20748
- type: z.ZodString;
20749
20051
  id: z.ZodString;
20750
- createdAt: z.ZodString;
20751
20052
  name: z.ZodString;
20752
- updatedAt: z.ZodString;
20753
- projectId: z.ZodNullable<z.ZodString>;
20754
- tenantId: z.ZodNullable<z.ZodString>;
20755
20053
  description: z.ZodNullable<z.ZodString>;
20054
+ tenantId: z.ZodNullable<z.ZodString>;
20055
+ projectId: z.ZodNullable<z.ZodString>;
20056
+ type: z.ZodString;
20057
+ createdAt: z.ZodString;
20058
+ updatedAt: z.ZodString;
20756
20059
  enabled: z.ZodBoolean;
20757
20060
  lastUsedAt: z.ZodNullable<z.ZodString>;
20758
20061
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -21224,46 +20527,42 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
21224
20527
  }>;
21225
20528
  }, undefined>, undefined>;
21226
20529
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
21227
- createdAt: z.ZodOptional<z.ZodString>;
21228
- updatedAt: z.ZodOptional<z.ZodString>;
20530
+ id: z.ZodString;
21229
20531
  name: z.ZodString;
21230
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21231
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21232
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21233
- projectId: z.ZodString;
21234
20532
  tenantId: z.ZodString;
21235
- id: z.ZodString;
20533
+ projectId: z.ZodString;
21236
20534
  type: z.ZodString;
20535
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20536
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21237
20537
  credentialStoreId: z.ZodString;
21238
20538
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20539
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21239
20540
  }, {
21240
20541
  out: {};
21241
20542
  in: {};
21242
20543
  }>;
21243
20544
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
21244
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21245
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20545
+ id: z.ZodOptional<z.ZodString>;
21246
20546
  name: z.ZodOptional<z.ZodString>;
21247
- toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21248
- userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21249
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21250
- projectId: z.ZodOptional<z.ZodString>;
21251
20547
  tenantId: z.ZodOptional<z.ZodString>;
21252
- id: z.ZodOptional<z.ZodString>;
20548
+ projectId: z.ZodOptional<z.ZodString>;
21253
20549
  type: z.ZodOptional<z.ZodString>;
20550
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20551
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21254
20552
  credentialStoreId: z.ZodOptional<z.ZodString>;
21255
20553
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
20554
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21256
20555
  }, {
21257
20556
  out: {};
21258
20557
  in: {};
21259
20558
  }>;
21260
20559
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
21261
20560
  id: z.ZodString;
21262
- createdAt: z.ZodString;
21263
20561
  name: z.ZodString;
20562
+ createdAt: z.ZodString;
21264
20563
  updatedAt: z.ZodString;
21265
- userId: z.ZodNullable<z.ZodString>;
21266
20564
  toolId: z.ZodNullable<z.ZodString>;
20565
+ userId: z.ZodNullable<z.ZodString>;
21267
20566
  credentialStoreId: z.ZodString;
21268
20567
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
21269
20568
  createdBy: z.ZodNullable<z.ZodString>;
@@ -21850,11 +21149,9 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
21850
21149
  }, z.core.$strip>;
21851
21150
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21852
21151
  id: z.ZodString;
21853
- createdAt: z.ZodOptional<z.ZodString>;
21854
21152
  name: z.ZodString;
21855
- updatedAt: z.ZodOptional<z.ZodString>;
21856
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21857
21153
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21154
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21858
21155
  credentialStoreId: z.ZodString;
21859
21156
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21860
21157
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -21866,11 +21163,9 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21866
21163
  }, z.core.$strip>;
21867
21164
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
21868
21165
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21869
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21870
21166
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21871
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21872
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21873
21167
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21168
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21874
21169
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21875
21170
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
21876
21171
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -21935,19 +21230,12 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
21935
21230
  error_description: z.ZodOptional<z.ZodString>;
21936
21231
  }, z.core.$strip>;
21937
21232
  declare const McpToolSchema: z.ZodObject<{
21938
- createdAt: z.ZodOptional<z.ZodString>;
21939
- updatedAt: z.ZodOptional<z.ZodString>;
21940
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21941
- credentialScope: z.ZodOptional<z.ZodString>;
21942
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21943
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
21944
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21945
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
21233
+ id: z.ZodString;
21946
21234
  name: z.ZodString;
21947
21235
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21948
- projectId: z.ZodString;
21949
21236
  tenantId: z.ZodString;
21950
- id: z.ZodString;
21237
+ projectId: z.ZodString;
21238
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21951
21239
  config: z.ZodObject<{
21952
21240
  type: z.ZodLiteral<"mcp">;
21953
21241
  mcp: z.ZodObject<{
@@ -21974,6 +21262,11 @@ declare const McpToolSchema: z.ZodObject<{
21974
21262
  prompt: z.ZodOptional<z.ZodString>;
21975
21263
  }, z.core.$strip>;
21976
21264
  }, z.core.$strip>;
21265
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21266
+ credentialScope: z.ZodOptional<z.ZodString>;
21267
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
21268
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21269
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
21977
21270
  imageUrl: z.ZodOptional<z.ZodString>;
21978
21271
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
21979
21272
  name: z.ZodString;
@@ -21998,20 +21291,20 @@ declare const McpToolSchema: z.ZodObject<{
21998
21291
  declare const MCPToolConfigSchema: z.ZodObject<{
21999
21292
  id: z.ZodString;
22000
21293
  name: z.ZodString;
22001
- expiresAt: z.ZodOptional<z.ZodString>;
22002
21294
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21295
+ expiresAt: z.ZodOptional<z.ZodString>;
22003
21296
  credentialScope: z.ZodOptional<z.ZodString>;
22004
21297
  imageUrl: z.ZodOptional<z.ZodString>;
22005
21298
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
22006
21299
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22007
21300
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
22008
21301
  createdBy: z.ZodOptional<z.ZodString>;
22009
- relationshipId: z.ZodOptional<z.ZodString>;
22010
21302
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
22011
21303
  name: z.ZodString;
22012
21304
  description: z.ZodOptional<z.ZodString>;
22013
21305
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
22014
21306
  }, z.core.$strip>>>;
21307
+ relationshipId: z.ZodOptional<z.ZodString>;
22015
21308
  tenantId: z.ZodOptional<z.ZodString>;
22016
21309
  projectId: z.ZodOptional<z.ZodString>;
22017
21310
  description: z.ZodOptional<z.ZodString>;
@@ -22033,11 +21326,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
22033
21326
  }, z.core.$strip>>;
22034
21327
  credential: z.ZodOptional<z.ZodObject<{
22035
21328
  id: z.ZodString;
22036
- createdAt: z.ZodOptional<z.ZodString>;
22037
21329
  name: z.ZodString;
22038
- updatedAt: z.ZodOptional<z.ZodString>;
22039
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22040
21330
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21331
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22041
21332
  credentialStoreId: z.ZodString;
22042
21333
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22043
21334
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -22059,20 +21350,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
22059
21350
  in: {};
22060
21351
  }>;
22061
21352
  declare const ToolUpdateSchema: z.ZodObject<{
22062
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22063
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22064
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22065
- credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22066
- headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
22067
- capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
22068
- lastError: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22069
- isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
21353
+ id: z.ZodOptional<z.ZodString>;
22070
21354
  name: z.ZodOptional<z.ZodString>;
22071
21355
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22072
- projectId: z.ZodOptional<z.ZodString>;
22073
21356
  tenantId: z.ZodOptional<z.ZodString>;
22074
- id: z.ZodOptional<z.ZodString>;
22075
- imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21357
+ projectId: z.ZodOptional<z.ZodString>;
21358
+ headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
22076
21359
  config: z.ZodOptional<z.ZodObject<{
22077
21360
  type: z.ZodLiteral<"mcp">;
22078
21361
  mcp: z.ZodObject<{
@@ -22099,6 +21382,12 @@ declare const ToolUpdateSchema: z.ZodObject<{
22099
21382
  prompt: z.ZodOptional<z.ZodString>;
22100
21383
  }, z.core.$strip>;
22101
21384
  }, z.core.$strip>>;
21385
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21386
+ credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21387
+ imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21388
+ capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
21389
+ lastError: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21390
+ isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
22102
21391
  }, {
22103
21392
  out: {};
22104
21393
  in: {};
@@ -22133,20 +21422,12 @@ declare const ToolApiSelectSchema: z.ZodObject<OmitProjectScope<{
22133
21422
  id: z.ZodString;
22134
21423
  }>, z.core.$strip>;
22135
21424
  declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
22136
- createdAt: z.ZodOptional<z.ZodString>;
22137
- updatedAt: z.ZodOptional<z.ZodString>;
22138
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22139
- credentialScope: z.ZodOptional<z.ZodString>;
22140
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
22141
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
22142
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22143
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
21425
+ id: z.ZodString;
22144
21426
  name: z.ZodString;
22145
21427
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22146
- projectId: z.ZodString;
22147
21428
  tenantId: z.ZodString;
22148
- id: z.ZodString;
22149
- imageUrl: z.ZodOptional<z.ZodString>;
21429
+ projectId: z.ZodString;
21430
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
22150
21431
  config: z.ZodObject<{
22151
21432
  type: z.ZodLiteral<"mcp">;
22152
21433
  mcp: z.ZodObject<{
@@ -22173,12 +21454,16 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
22173
21454
  prompt: z.ZodOptional<z.ZodString>;
22174
21455
  }, z.core.$strip>;
22175
21456
  }, z.core.$strip>;
21457
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21458
+ credentialScope: z.ZodOptional<z.ZodString>;
21459
+ imageUrl: z.ZodOptional<z.ZodString>;
21460
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
21461
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21462
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
22176
21463
  }>, z.core.$strip>;
22177
21464
  declare const ToolApiUpdateSchema: z.ZodObject<{
22178
21465
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22179
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22180
21466
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22181
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22182
21467
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22183
21468
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
22184
21469
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -22548,61 +21833,53 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
22548
21833
  }>;
22549
21834
  }, undefined>, undefined>;
22550
21835
  declare const FunctionToolInsertSchema: z.ZodObject<{
22551
- createdAt: z.ZodOptional<z.ZodString>;
22552
- updatedAt: z.ZodOptional<z.ZodString>;
22553
- functionId: z.ZodString;
21836
+ id: z.ZodString;
22554
21837
  name: z.ZodString;
22555
21838
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22556
- agentId: z.ZodString;
22557
- projectId: z.ZodString;
22558
21839
  tenantId: z.ZodString;
22559
- id: z.ZodString;
21840
+ projectId: z.ZodString;
21841
+ agentId: z.ZodString;
21842
+ functionId: z.ZodString;
22560
21843
  }, {
22561
21844
  out: {};
22562
21845
  in: {};
22563
21846
  }>;
22564
21847
  declare const FunctionToolUpdateSchema: z.ZodObject<{
22565
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22566
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22567
- functionId: z.ZodOptional<z.ZodString>;
21848
+ id: z.ZodOptional<z.ZodString>;
22568
21849
  name: z.ZodOptional<z.ZodString>;
22569
21850
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22570
- agentId: z.ZodOptional<z.ZodString>;
22571
- projectId: z.ZodOptional<z.ZodString>;
22572
21851
  tenantId: z.ZodOptional<z.ZodString>;
22573
- id: z.ZodOptional<z.ZodString>;
21852
+ projectId: z.ZodOptional<z.ZodString>;
21853
+ agentId: z.ZodOptional<z.ZodString>;
21854
+ functionId: z.ZodOptional<z.ZodString>;
22574
21855
  }, {
22575
21856
  out: {};
22576
21857
  in: {};
22577
21858
  }>;
22578
21859
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
22579
21860
  id: z.ZodString;
22580
- createdAt: z.ZodString;
22581
21861
  name: z.ZodString;
22582
- updatedAt: z.ZodString;
22583
- agentId: z.ZodString;
22584
21862
  description: z.ZodNullable<z.ZodString>;
21863
+ agentId: z.ZodString;
21864
+ createdAt: z.ZodString;
21865
+ updatedAt: z.ZodString;
22585
21866
  functionId: z.ZodString;
22586
21867
  relationshipId: z.ZodOptional<z.ZodString>;
22587
21868
  }, z.core.$strip>;
22588
21869
  declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
22589
- createdAt: z.ZodOptional<z.ZodString>;
22590
- updatedAt: z.ZodOptional<z.ZodString>;
22591
- functionId: z.ZodString;
21870
+ id: z.ZodString;
22592
21871
  name: z.ZodString;
22593
21872
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22594
- agentId: z.ZodString;
22595
- projectId: z.ZodString;
22596
21873
  tenantId: z.ZodString;
22597
- id: z.ZodString;
21874
+ projectId: z.ZodString;
21875
+ agentId: z.ZodString;
21876
+ functionId: z.ZodString;
22598
21877
  }>, z.core.$strip>;
22599
21878
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
22600
21879
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22601
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22602
21880
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22603
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22604
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22605
21881
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21882
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22606
21883
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22607
21884
  }, z.core.$strip>;
22608
21885
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -23316,11 +22593,9 @@ declare const FunctionApiSelectSchema: z.ZodObject<OmitProjectScope<{
23316
22593
  }>, z.core.$strip>;
23317
22594
  declare const FunctionApiInsertSchema: z.ZodObject<{
23318
22595
  id: z.ZodString;
23319
- createdAt: z.ZodOptional<z.ZodString>;
23320
- updatedAt: z.ZodOptional<z.ZodString>;
23321
22596
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
23322
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
23323
22597
  executeCode: z.ZodString;
22598
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
23324
22599
  }, z.core.$strip>;
23325
22600
  declare const FunctionApiUpdateSchema: z.ZodObject<{
23326
22601
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -23371,11 +22646,9 @@ declare const FetchDefinitionSchema: z.ZodObject<{
23371
22646
  defaultValue: z.ZodOptional<z.ZodAny>;
23372
22647
  credential: z.ZodOptional<z.ZodObject<{
23373
22648
  id: z.ZodString;
23374
- createdAt: z.ZodOptional<z.ZodString>;
23375
22649
  name: z.ZodString;
23376
- updatedAt: z.ZodOptional<z.ZodString>;
23377
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23378
22650
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22651
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23379
22652
  credentialStoreId: z.ZodString;
23380
22653
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23381
22654
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23401,32 +22674,32 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
23401
22674
  }>;
23402
22675
  declare const ContextConfigInsertSchema: z.ZodObject<{
23403
22676
  id: z.ZodOptional<z.ZodString>;
22677
+ tenantId: z.ZodString;
22678
+ projectId: z.ZodString;
22679
+ agentId: z.ZodString;
23404
22680
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
23405
22681
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
23406
- agentId: z.ZodString;
23407
- projectId: z.ZodString;
23408
- tenantId: z.ZodString;
23409
22682
  }, {
23410
22683
  out: {};
23411
22684
  in: {};
23412
22685
  }>;
23413
22686
  declare const ContextConfigUpdateSchema: z.ZodObject<{
23414
22687
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22688
+ tenantId: z.ZodOptional<z.ZodString>;
22689
+ projectId: z.ZodOptional<z.ZodString>;
22690
+ agentId: z.ZodOptional<z.ZodString>;
23415
22691
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
23416
22692
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
23417
- agentId: z.ZodOptional<z.ZodString>;
23418
- projectId: z.ZodOptional<z.ZodString>;
23419
- tenantId: z.ZodOptional<z.ZodString>;
23420
22693
  }, {
23421
22694
  out: {};
23422
22695
  in: {};
23423
22696
  }>;
23424
22697
  declare const ContextConfigApiSelectSchema: z.ZodObject<{
23425
22698
  id: z.ZodString;
23426
- headersSchema: z.ZodOptional<z.ZodAny>;
23427
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
23428
22699
  createdAt: z.ZodString;
23429
22700
  updatedAt: z.ZodString;
22701
+ headersSchema: z.ZodOptional<z.ZodAny>;
22702
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
23430
22703
  }, z.core.$strip>;
23431
22704
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
23432
22705
  id: z.ZodOptional<z.ZodString>;
@@ -23927,8 +23200,8 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
23927
23200
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23928
23201
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23929
23202
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23930
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23931
23203
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23204
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23932
23205
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23933
23206
  needsApproval: z.ZodOptional<z.ZodBoolean>;
23934
23207
  }, z.core.$strip>>>>>>;
@@ -26056,7 +25329,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
26056
25329
  }, {}, {
26057
25330
  length: 256;
26058
25331
  }>;
26059
- }, "type" | "id" | "createdAt" | "name" | "updatedAt" | "projectId" | "tenantId" | "description" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
25332
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
26060
25333
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
26061
25334
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26062
25335
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -26121,12 +25394,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
26121
25394
  id: z.ZodString;
26122
25395
  }>, z.core.$strip>;
26123
25396
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
26124
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
26125
25397
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26126
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
26127
25398
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
26128
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
26129
25399
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25400
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25401
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25402
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
26130
25403
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
26131
25404
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26132
25405
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -26202,10 +25475,9 @@ declare const TeamAgentSchema: z.ZodObject<{
26202
25475
  }, z.core.$strip>;
26203
25476
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
26204
25477
  id: z.ZodString;
26205
- createdAt: z.ZodOptional<z.ZodString>;
26206
25478
  name: z.ZodString;
26207
- updatedAt: z.ZodOptional<z.ZodString>;
26208
25479
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25480
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
26209
25481
  models: z.ZodOptional<z.ZodObject<{
26210
25482
  base: z.ZodOptional<z.ZodObject<{
26211
25483
  model: z.ZodOptional<z.ZodString>;
@@ -26220,7 +25492,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
26220
25492
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26221
25493
  }, z.core.$strip>>;
26222
25494
  }, z.core.$strip>>;
26223
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25495
+ createdAt: z.ZodOptional<z.ZodString>;
25496
+ updatedAt: z.ZodOptional<z.ZodString>;
26224
25497
  type: z.ZodLiteral<"internal">;
26225
25498
  canUse: z.ZodArray<z.ZodObject<{
26226
25499
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26254,19 +25527,16 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
26254
25527
  }, z.core.$strip>>;
26255
25528
  }, z.core.$strip>;
26256
25529
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
26257
- createdAt: z.ZodOptional<z.ZodString>;
25530
+ id: z.ZodString;
26258
25531
  name: z.ZodString;
26259
- updatedAt: z.ZodOptional<z.ZodString>;
26260
25532
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26261
25533
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26262
25534
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26263
- id: z.ZodString;
26264
25535
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26265
25536
  id: z.ZodString;
26266
- createdAt: z.ZodOptional<z.ZodString>;
26267
25537
  name: z.ZodString;
26268
- updatedAt: z.ZodOptional<z.ZodString>;
26269
25538
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25539
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
26270
25540
  models: z.ZodOptional<z.ZodObject<{
26271
25541
  base: z.ZodOptional<z.ZodObject<{
26272
25542
  model: z.ZodOptional<z.ZodString>;
@@ -26281,7 +25551,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
26281
25551
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26282
25552
  }, z.core.$strip>>;
26283
25553
  }, z.core.$strip>>;
26284
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25554
+ createdAt: z.ZodOptional<z.ZodString>;
25555
+ updatedAt: z.ZodOptional<z.ZodString>;
26285
25556
  type: z.ZodLiteral<"internal">;
26286
25557
  canUse: z.ZodArray<z.ZodObject<{
26287
25558
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26315,20 +25586,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
26315
25586
  }, z.core.$strip>>;
26316
25587
  }, z.core.$strip>>;
26317
25588
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26318
- createdAt: z.ZodOptional<z.ZodString>;
26319
- updatedAt: z.ZodOptional<z.ZodString>;
26320
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26321
- credentialScope: z.ZodOptional<z.ZodString>;
26322
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26323
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
26324
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26325
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
25589
+ id: z.ZodString;
26326
25590
  name: z.ZodString;
26327
25591
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26328
- projectId: z.ZodString;
26329
25592
  tenantId: z.ZodString;
26330
- id: z.ZodString;
26331
- imageUrl: z.ZodOptional<z.ZodString>;
25593
+ projectId: z.ZodString;
25594
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26332
25595
  config: z.ZodObject<{
26333
25596
  type: z.ZodLiteral<"mcp">;
26334
25597
  mcp: z.ZodObject<{
@@ -26355,17 +25618,21 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
26355
25618
  prompt: z.ZodOptional<z.ZodString>;
26356
25619
  }, z.core.$strip>;
26357
25620
  }, z.core.$strip>;
25621
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25622
+ credentialScope: z.ZodOptional<z.ZodString>;
25623
+ imageUrl: z.ZodOptional<z.ZodString>;
25624
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
25625
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25626
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
26358
25627
  }>, z.core.$strip>>>;
26359
25628
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26360
- createdAt: z.ZodOptional<z.ZodString>;
26361
- updatedAt: z.ZodOptional<z.ZodString>;
26362
- projectId: z.ZodString;
26363
- tenantId: z.ZodString;
26364
25629
  id: z.ZodString;
26365
25630
  name: z.ZodString;
26366
25631
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26367
- baseUrl: z.ZodURL;
25632
+ tenantId: z.ZodString;
25633
+ projectId: z.ZodString;
26368
25634
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25635
+ baseUrl: z.ZodURL;
26369
25636
  }>, z.core.$strip>>>;
26370
25637
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26371
25638
  id: z.ZodString;
@@ -26373,56 +25640,48 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
26373
25640
  description: z.ZodString;
26374
25641
  }, z.core.$strip>>>;
26375
25642
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
26376
- createdAt: z.ZodOptional<z.ZodString>;
26377
- updatedAt: z.ZodOptional<z.ZodString>;
26378
- functionId: z.ZodString;
25643
+ id: z.ZodString;
26379
25644
  name: z.ZodString;
26380
25645
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26381
- agentId: z.ZodString;
26382
- projectId: z.ZodString;
26383
25646
  tenantId: z.ZodString;
26384
- id: z.ZodString;
25647
+ projectId: z.ZodString;
25648
+ agentId: z.ZodString;
25649
+ functionId: z.ZodString;
26385
25650
  }>, z.core.$strip>>>;
26386
25651
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26387
25652
  id: z.ZodString;
26388
- createdAt: z.ZodOptional<z.ZodString>;
26389
- updatedAt: z.ZodOptional<z.ZodString>;
26390
25653
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
26391
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26392
25654
  executeCode: z.ZodString;
25655
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26393
25656
  }, z.core.$strip>>>;
26394
25657
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26395
- createdAt: z.ZodOptional<z.ZodString>;
25658
+ id: z.ZodOptional<z.ZodString>;
26396
25659
  name: z.ZodString;
26397
- updatedAt: z.ZodOptional<z.ZodString>;
26398
25660
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26399
25661
  enabled: z.ZodOptional<z.ZodBoolean>;
26400
25662
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26401
25663
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26402
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26403
25664
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25665
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25666
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26404
25667
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26405
25668
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26406
25669
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26407
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26408
- id: z.ZodOptional<z.ZodString>;
26409
25670
  }, z.core.$strip>>>;
26410
25671
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26411
- createdAt: z.ZodOptional<z.ZodString>;
26412
25672
  name: z.ZodString;
26413
- updatedAt: z.ZodOptional<z.ZodString>;
26414
25673
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26415
25674
  enabled: z.ZodOptional<z.ZodBoolean>;
26416
25675
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26417
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26418
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26419
25676
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26420
25677
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26421
25678
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26422
25679
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25680
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26423
25681
  maxRetries: z.ZodOptional<z.ZodNumber>;
26424
25682
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
26425
25683
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
25684
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26426
25685
  id: z.ZodOptional<z.ZodString>;
26427
25686
  }, z.core.$strip>>>;
26428
25687
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -26526,8 +25785,8 @@ declare const ProjectSelectSchema: z.ZodObject<{
26526
25785
  declare const ProjectInsertSchema: z.ZodObject<{
26527
25786
  id: z.ZodString;
26528
25787
  name: z.ZodString;
26529
- tenantId: z.ZodString;
26530
25788
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25789
+ tenantId: z.ZodString;
26531
25790
  models: z.ZodObject<{
26532
25791
  base: z.ZodObject<{
26533
25792
  model: z.ZodOptional<z.ZodString>;
@@ -26577,9 +25836,7 @@ declare const ProjectUpdateSchema: z.ZodObject<{
26577
25836
  }>;
26578
25837
  declare const ProjectApiSelectSchema: z.ZodObject<{
26579
25838
  id: z.ZodString;
26580
- createdAt: z.ZodString;
26581
25839
  name: z.ZodString;
26582
- updatedAt: z.ZodString;
26583
25840
  description: z.ZodNullable<z.ZodString>;
26584
25841
  models: z.ZodNullable<z.ZodObject<{
26585
25842
  base: z.ZodObject<{
@@ -26599,6 +25856,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
26599
25856
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26600
25857
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26601
25858
  }, z.core.$strip>>;
25859
+ createdAt: z.ZodString;
25860
+ updatedAt: z.ZodString;
26602
25861
  }, {
26603
25862
  out: {};
26604
25863
  in: {};
@@ -26677,19 +25936,16 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26677
25936
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26678
25937
  }, z.core.$strip>>;
26679
25938
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26680
- createdAt: z.ZodOptional<z.ZodString>;
25939
+ id: z.ZodString;
26681
25940
  name: z.ZodString;
26682
- updatedAt: z.ZodOptional<z.ZodString>;
26683
25941
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26684
25942
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26685
25943
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26686
- id: z.ZodString;
26687
25944
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26688
25945
  id: z.ZodString;
26689
- createdAt: z.ZodOptional<z.ZodString>;
26690
25946
  name: z.ZodString;
26691
- updatedAt: z.ZodOptional<z.ZodString>;
26692
25947
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25948
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
26693
25949
  models: z.ZodOptional<z.ZodObject<{
26694
25950
  base: z.ZodOptional<z.ZodObject<{
26695
25951
  model: z.ZodOptional<z.ZodString>;
@@ -26704,7 +25960,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26704
25960
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26705
25961
  }, z.core.$strip>>;
26706
25962
  }, z.core.$strip>>;
26707
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25963
+ createdAt: z.ZodOptional<z.ZodString>;
25964
+ updatedAt: z.ZodOptional<z.ZodString>;
26708
25965
  type: z.ZodLiteral<"internal">;
26709
25966
  canUse: z.ZodArray<z.ZodObject<{
26710
25967
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26738,20 +25995,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26738
25995
  }, z.core.$strip>>;
26739
25996
  }, z.core.$strip>>;
26740
25997
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26741
- createdAt: z.ZodOptional<z.ZodString>;
26742
- updatedAt: z.ZodOptional<z.ZodString>;
26743
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26744
- credentialScope: z.ZodOptional<z.ZodString>;
26745
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26746
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
26747
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26748
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
25998
+ id: z.ZodString;
26749
25999
  name: z.ZodString;
26750
26000
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26751
- projectId: z.ZodString;
26752
26001
  tenantId: z.ZodString;
26753
- id: z.ZodString;
26754
- imageUrl: z.ZodOptional<z.ZodString>;
26002
+ projectId: z.ZodString;
26003
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26755
26004
  config: z.ZodObject<{
26756
26005
  type: z.ZodLiteral<"mcp">;
26757
26006
  mcp: z.ZodObject<{
@@ -26778,17 +26027,21 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26778
26027
  prompt: z.ZodOptional<z.ZodString>;
26779
26028
  }, z.core.$strip>;
26780
26029
  }, z.core.$strip>;
26030
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26031
+ credentialScope: z.ZodOptional<z.ZodString>;
26032
+ imageUrl: z.ZodOptional<z.ZodString>;
26033
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
26034
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26035
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
26781
26036
  }>, z.core.$strip>>>;
26782
26037
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26783
- createdAt: z.ZodOptional<z.ZodString>;
26784
- updatedAt: z.ZodOptional<z.ZodString>;
26785
- projectId: z.ZodString;
26786
- tenantId: z.ZodString;
26787
26038
  id: z.ZodString;
26788
26039
  name: z.ZodString;
26789
26040
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26790
- baseUrl: z.ZodURL;
26041
+ tenantId: z.ZodString;
26042
+ projectId: z.ZodString;
26791
26043
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26044
+ baseUrl: z.ZodURL;
26792
26045
  }>, z.core.$strip>>>;
26793
26046
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26794
26047
  id: z.ZodString;
@@ -26796,56 +26049,48 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26796
26049
  description: z.ZodString;
26797
26050
  }, z.core.$strip>>>;
26798
26051
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
26799
- createdAt: z.ZodOptional<z.ZodString>;
26800
- updatedAt: z.ZodOptional<z.ZodString>;
26801
- functionId: z.ZodString;
26052
+ id: z.ZodString;
26802
26053
  name: z.ZodString;
26803
26054
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26804
- agentId: z.ZodString;
26805
- projectId: z.ZodString;
26806
26055
  tenantId: z.ZodString;
26807
- id: z.ZodString;
26056
+ projectId: z.ZodString;
26057
+ agentId: z.ZodString;
26058
+ functionId: z.ZodString;
26808
26059
  }>, z.core.$strip>>>;
26809
26060
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26810
26061
  id: z.ZodString;
26811
- createdAt: z.ZodOptional<z.ZodString>;
26812
- updatedAt: z.ZodOptional<z.ZodString>;
26813
26062
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
26814
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26815
26063
  executeCode: z.ZodString;
26064
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26816
26065
  }, z.core.$strip>>>;
26817
26066
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26818
- createdAt: z.ZodOptional<z.ZodString>;
26067
+ id: z.ZodOptional<z.ZodString>;
26819
26068
  name: z.ZodString;
26820
- updatedAt: z.ZodOptional<z.ZodString>;
26821
26069
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26822
26070
  enabled: z.ZodOptional<z.ZodBoolean>;
26823
26071
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26824
26072
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26825
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26826
26073
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26074
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26075
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26827
26076
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26828
26077
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26829
26078
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26830
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26831
- id: z.ZodOptional<z.ZodString>;
26832
26079
  }, z.core.$strip>>>;
26833
26080
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26834
- createdAt: z.ZodOptional<z.ZodString>;
26835
26081
  name: z.ZodString;
26836
- updatedAt: z.ZodOptional<z.ZodString>;
26837
26082
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26838
26083
  enabled: z.ZodOptional<z.ZodBoolean>;
26839
26084
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26840
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26841
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26842
26085
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26843
26086
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26844
26087
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26845
26088
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26089
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26846
26090
  maxRetries: z.ZodOptional<z.ZodNumber>;
26847
26091
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
26848
26092
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
26093
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26849
26094
  id: z.ZodOptional<z.ZodString>;
26850
26095
  }, z.core.$strip>>>;
26851
26096
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -26888,20 +26133,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26888
26133
  prompt: z.ZodOptional<z.ZodString>;
26889
26134
  }, z.core.$strip>>;
26890
26135
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26891
- createdAt: z.ZodOptional<z.ZodString>;
26892
- updatedAt: z.ZodOptional<z.ZodString>;
26893
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26894
- credentialScope: z.ZodOptional<z.ZodString>;
26895
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26896
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
26897
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26898
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
26136
+ id: z.ZodString;
26899
26137
  name: z.ZodString;
26900
26138
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26901
- projectId: z.ZodString;
26902
26139
  tenantId: z.ZodString;
26903
- id: z.ZodString;
26904
- imageUrl: z.ZodOptional<z.ZodString>;
26140
+ projectId: z.ZodString;
26141
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26905
26142
  config: z.ZodObject<{
26906
26143
  type: z.ZodLiteral<"mcp">;
26907
26144
  mcp: z.ZodObject<{
@@ -26928,38 +26165,38 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26928
26165
  prompt: z.ZodOptional<z.ZodString>;
26929
26166
  }, z.core.$strip>;
26930
26167
  }, z.core.$strip>;
26168
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26169
+ credentialScope: z.ZodOptional<z.ZodString>;
26170
+ imageUrl: z.ZodOptional<z.ZodString>;
26171
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
26172
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26173
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
26931
26174
  }>, z.core.$strip>>;
26932
26175
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
26933
- createdAt: z.ZodOptional<z.ZodString>;
26934
- updatedAt: z.ZodOptional<z.ZodString>;
26935
- functionId: z.ZodString;
26176
+ id: z.ZodString;
26936
26177
  name: z.ZodString;
26937
26178
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26938
- agentId: z.ZodString;
26939
- projectId: z.ZodString;
26940
26179
  tenantId: z.ZodString;
26941
- id: z.ZodString;
26180
+ projectId: z.ZodString;
26181
+ agentId: z.ZodString;
26182
+ functionId: z.ZodString;
26942
26183
  }>, z.core.$strip>>>;
26943
26184
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26944
26185
  id: z.ZodString;
26945
- createdAt: z.ZodOptional<z.ZodString>;
26946
- updatedAt: z.ZodOptional<z.ZodString>;
26947
26186
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
26948
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26949
26187
  executeCode: z.ZodString;
26188
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26950
26189
  }, z.core.$strip>>>;
26951
26190
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26952
26191
  name: z.ZodString;
26953
- projectId: z.ZodString;
26954
- tenantId: z.ZodString;
26955
26192
  description: z.ZodString;
26193
+ tenantId: z.ZodString;
26194
+ projectId: z.ZodString;
26956
26195
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
26957
26196
  content: z.ZodString;
26958
26197
  }>, z.core.$strip>>>;
26959
26198
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26960
26199
  id: z.ZodString;
26961
- createdAt: z.ZodOptional<z.ZodString>;
26962
- updatedAt: z.ZodOptional<z.ZodString>;
26963
26200
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
26964
26201
  component: string;
26965
26202
  mockData: Record<string, unknown>;
@@ -27012,15 +26249,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
27012
26249
  in: {};
27013
26250
  }>>>;
27014
26251
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27015
- createdAt: z.ZodOptional<z.ZodString>;
27016
- updatedAt: z.ZodOptional<z.ZodString>;
27017
- projectId: z.ZodString;
27018
- tenantId: z.ZodString;
27019
26252
  id: z.ZodString;
27020
26253
  name: z.ZodString;
27021
26254
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27022
- baseUrl: z.ZodURL;
26255
+ tenantId: z.ZodString;
26256
+ projectId: z.ZodString;
27023
26257
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26258
+ baseUrl: z.ZodURL;
27024
26259
  }>, z.core.$strip>>>;
27025
26260
  statusUpdates: z.ZodOptional<z.ZodObject<{
27026
26261
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -27039,11 +26274,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
27039
26274
  }, z.core.$strip>>;
27040
26275
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27041
26276
  id: z.ZodString;
27042
- createdAt: z.ZodOptional<z.ZodString>;
27043
26277
  name: z.ZodString;
27044
- updatedAt: z.ZodOptional<z.ZodString>;
27045
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27046
26278
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26279
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27047
26280
  credentialStoreId: z.ZodString;
27048
26281
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
27049
26282
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -27061,10 +26294,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
27061
26294
  }>;
27062
26295
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
27063
26296
  id: z.ZodString;
27064
- createdAt: z.ZodString;
27065
26297
  name: z.ZodString;
27066
- updatedAt: z.ZodString;
27067
26298
  description: z.ZodNullable<z.ZodString>;
26299
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27068
26300
  models: z.ZodNullable<z.ZodType<{
27069
26301
  base?: {
27070
26302
  model?: string | undefined;
@@ -27127,7 +26359,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
27127
26359
  }, {
27128
26360
  stepCountIs?: number | undefined;
27129
26361
  }>>>;
27130
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26362
+ createdAt: z.ZodString;
26363
+ updatedAt: z.ZodString;
27131
26364
  type: z.ZodLiteral<"internal">;
27132
26365
  canUse: z.ZodArray<z.ZodObject<{
27133
26366
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27154,10 +26387,9 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
27154
26387
  }, z.core.$strip>;
27155
26388
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
27156
26389
  id: z.ZodString;
27157
- createdAt: z.ZodString;
27158
26390
  name: z.ZodString;
27159
- updatedAt: z.ZodString;
27160
26391
  description: z.ZodNullable<z.ZodString>;
26392
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27161
26393
  models: z.ZodNullable<z.ZodType<{
27162
26394
  base?: {
27163
26395
  model?: string | undefined;
@@ -27220,7 +26452,8 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
27220
26452
  }, {
27221
26453
  stepCountIs?: number | undefined;
27222
26454
  }>>>;
27223
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26455
+ createdAt: z.ZodString;
26456
+ updatedAt: z.ZodString;
27224
26457
  type: z.ZodLiteral<"internal">;
27225
26458
  canUse: z.ZodArray<z.ZodObject<{
27226
26459
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27253,18 +26486,17 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
27253
26486
  }, z.core.$strip>;
27254
26487
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27255
26488
  id: z.ZodString;
27256
- createdAt: z.ZodString;
27257
26489
  name: z.ZodString;
27258
- updatedAt: z.ZodString;
27259
26490
  description: z.ZodNullable<z.ZodString>;
27260
26491
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26492
+ createdAt: z.ZodString;
26493
+ updatedAt: z.ZodString;
27261
26494
  contextConfigId: z.ZodNullable<z.ZodString>;
27262
26495
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27263
26496
  id: z.ZodString;
27264
- createdAt: z.ZodString;
27265
26497
  name: z.ZodString;
27266
- updatedAt: z.ZodString;
27267
26498
  description: z.ZodNullable<z.ZodString>;
26499
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27268
26500
  models: z.ZodNullable<z.ZodType<{
27269
26501
  base?: {
27270
26502
  model?: string | undefined;
@@ -27327,7 +26559,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27327
26559
  }, {
27328
26560
  stepCountIs?: number | undefined;
27329
26561
  }>>>;
27330
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26562
+ createdAt: z.ZodString;
26563
+ updatedAt: z.ZodString;
27331
26564
  type: z.ZodLiteral<"internal">;
27332
26565
  canUse: z.ZodArray<z.ZodObject<{
27333
26566
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27399,11 +26632,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27399
26632
  }, z.core.$strip>>>;
27400
26633
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27401
26634
  id: z.ZodString;
27402
- createdAt: z.ZodString;
27403
26635
  name: z.ZodString;
27404
- updatedAt: z.ZodString;
27405
- agentId: z.ZodString;
27406
26636
  description: z.ZodNullable<z.ZodString>;
26637
+ agentId: z.ZodString;
26638
+ createdAt: z.ZodString;
26639
+ updatedAt: z.ZodString;
27407
26640
  functionId: z.ZodString;
27408
26641
  relationshipId: z.ZodOptional<z.ZodString>;
27409
26642
  }, z.core.$strip>>>;
@@ -27440,10 +26673,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27440
26673
  }>, z.core.$strip>>>;
27441
26674
  contextConfig: z.ZodNullable<z.ZodObject<{
27442
26675
  id: z.ZodString;
27443
- headersSchema: z.ZodOptional<z.ZodAny>;
27444
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27445
26676
  createdAt: z.ZodString;
27446
26677
  updatedAt: z.ZodString;
26678
+ headersSchema: z.ZodOptional<z.ZodAny>;
26679
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27447
26680
  }, z.core.$strip>>;
27448
26681
  statusUpdates: z.ZodNullable<z.ZodObject<{
27449
26682
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -27481,11 +26714,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
27481
26714
  }, z.core.$strip>;
27482
26715
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
27483
26716
  id: z.ZodString;
27484
- createdAt: z.ZodString;
27485
26717
  name: z.ZodString;
27486
- updatedAt: z.ZodString;
27487
26718
  description: z.ZodNullable<z.ZodString>;
27488
26719
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26720
+ createdAt: z.ZodString;
26721
+ updatedAt: z.ZodString;
27489
26722
  contextConfigId: z.ZodNullable<z.ZodString>;
27490
26723
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27491
26724
  createdAt: z.ZodString;
@@ -27534,11 +26767,11 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27534
26767
  }, z.core.$strip>>>;
27535
26768
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27536
26769
  id: z.ZodString;
27537
- createdAt: z.ZodString;
27538
26770
  name: z.ZodString;
27539
- updatedAt: z.ZodString;
27540
- agentId: z.ZodString;
27541
26771
  description: z.ZodNullable<z.ZodString>;
26772
+ agentId: z.ZodString;
26773
+ createdAt: z.ZodString;
26774
+ updatedAt: z.ZodString;
27542
26775
  functionId: z.ZodString;
27543
26776
  relationshipId: z.ZodOptional<z.ZodString>;
27544
26777
  }, z.core.$strip>>>;
@@ -27575,10 +26808,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27575
26808
  }>, z.core.$strip>>>;
27576
26809
  contextConfig: z.ZodNullable<z.ZodObject<{
27577
26810
  id: z.ZodString;
27578
- headersSchema: z.ZodOptional<z.ZodAny>;
27579
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27580
26811
  createdAt: z.ZodString;
27581
26812
  updatedAt: z.ZodString;
26813
+ headersSchema: z.ZodOptional<z.ZodAny>;
26814
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27582
26815
  }, z.core.$strip>>;
27583
26816
  statusUpdates: z.ZodNullable<z.ZodObject<{
27584
26817
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -27615,10 +26848,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27615
26848
  prompt: z.ZodNullable<z.ZodString>;
27616
26849
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27617
26850
  id: z.ZodString;
27618
- createdAt: z.ZodString;
27619
26851
  name: z.ZodString;
27620
- updatedAt: z.ZodString;
27621
26852
  description: z.ZodNullable<z.ZodString>;
26853
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27622
26854
  models: z.ZodNullable<z.ZodType<{
27623
26855
  base?: {
27624
26856
  model?: string | undefined;
@@ -27681,7 +26913,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27681
26913
  }, {
27682
26914
  stepCountIs?: number | undefined;
27683
26915
  }>>>;
27684
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26916
+ createdAt: z.ZodString;
26917
+ updatedAt: z.ZodString;
27685
26918
  type: z.ZodLiteral<"internal">;
27686
26919
  canUse: z.ZodArray<z.ZodObject<{
27687
26920
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27715,9 +26948,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
27715
26948
  }, z.core.$strip>;
27716
26949
  declare const FullProjectSelectSchema: z.ZodObject<{
27717
26950
  id: z.ZodString;
27718
- createdAt: z.ZodString;
27719
26951
  name: z.ZodString;
27720
- updatedAt: z.ZodString;
27721
26952
  description: z.ZodNullable<z.ZodString>;
27722
26953
  models: z.ZodNullable<z.ZodObject<{
27723
26954
  base: z.ZodObject<{
@@ -27737,20 +26968,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27737
26968
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27738
26969
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27739
26970
  }, z.core.$strip>>;
26971
+ createdAt: z.ZodString;
26972
+ updatedAt: z.ZodString;
27740
26973
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
27741
26974
  id: z.ZodString;
27742
- createdAt: z.ZodString;
27743
26975
  name: z.ZodString;
27744
- updatedAt: z.ZodString;
27745
26976
  description: z.ZodNullable<z.ZodString>;
27746
26977
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26978
+ createdAt: z.ZodString;
26979
+ updatedAt: z.ZodString;
27747
26980
  contextConfigId: z.ZodNullable<z.ZodString>;
27748
26981
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27749
26982
  id: z.ZodString;
27750
- createdAt: z.ZodString;
27751
26983
  name: z.ZodString;
27752
- updatedAt: z.ZodString;
27753
26984
  description: z.ZodNullable<z.ZodString>;
26985
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27754
26986
  models: z.ZodNullable<z.ZodType<{
27755
26987
  base?: {
27756
26988
  model?: string | undefined;
@@ -27813,7 +27045,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27813
27045
  }, {
27814
27046
  stepCountIs?: number | undefined;
27815
27047
  }>>>;
27816
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
27048
+ createdAt: z.ZodString;
27049
+ updatedAt: z.ZodString;
27817
27050
  type: z.ZodLiteral<"internal">;
27818
27051
  canUse: z.ZodArray<z.ZodObject<{
27819
27052
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27885,11 +27118,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27885
27118
  }, z.core.$strip>>>;
27886
27119
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27887
27120
  id: z.ZodString;
27888
- createdAt: z.ZodString;
27889
27121
  name: z.ZodString;
27890
- updatedAt: z.ZodString;
27891
- agentId: z.ZodString;
27892
27122
  description: z.ZodNullable<z.ZodString>;
27123
+ agentId: z.ZodString;
27124
+ createdAt: z.ZodString;
27125
+ updatedAt: z.ZodString;
27893
27126
  functionId: z.ZodString;
27894
27127
  relationshipId: z.ZodOptional<z.ZodString>;
27895
27128
  }, z.core.$strip>>>;
@@ -27926,10 +27159,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27926
27159
  }>, z.core.$strip>>>;
27927
27160
  contextConfig: z.ZodNullable<z.ZodObject<{
27928
27161
  id: z.ZodString;
27929
- headersSchema: z.ZodOptional<z.ZodAny>;
27930
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27931
27162
  createdAt: z.ZodString;
27932
27163
  updatedAt: z.ZodString;
27164
+ headersSchema: z.ZodOptional<z.ZodAny>;
27165
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27933
27166
  }, z.core.$strip>>;
27934
27167
  statusUpdates: z.ZodNullable<z.ZodObject<{
27935
27168
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -27996,11 +27229,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27996
27229
  }>, z.core.$strip>>;
27997
27230
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27998
27231
  id: z.ZodString;
27999
- createdAt: z.ZodString;
28000
27232
  name: z.ZodString;
28001
- updatedAt: z.ZodString;
28002
- agentId: z.ZodString;
28003
27233
  description: z.ZodNullable<z.ZodString>;
27234
+ agentId: z.ZodString;
27235
+ createdAt: z.ZodString;
27236
+ updatedAt: z.ZodString;
28004
27237
  functionId: z.ZodString;
28005
27238
  relationshipId: z.ZodOptional<z.ZodString>;
28006
27239
  }, z.core.$strip>>>;
@@ -28144,11 +27377,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
28144
27377
  }, z.core.$strip>>;
28145
27378
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28146
27379
  id: z.ZodString;
28147
- createdAt: z.ZodString;
28148
27380
  name: z.ZodString;
27381
+ createdAt: z.ZodString;
28149
27382
  updatedAt: z.ZodString;
28150
- userId: z.ZodNullable<z.ZodString>;
28151
27383
  toolId: z.ZodNullable<z.ZodString>;
27384
+ userId: z.ZodNullable<z.ZodString>;
28152
27385
  credentialStoreId: z.ZodString;
28153
27386
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28154
27387
  createdBy: z.ZodNullable<z.ZodString>;
@@ -28739,9 +27972,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
28739
27972
  }>;
28740
27973
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28741
27974
  id: z.ZodString;
28742
- createdAt: z.ZodString;
28743
27975
  name: z.ZodString;
28744
- updatedAt: z.ZodString;
28745
27976
  description: z.ZodNullable<z.ZodString>;
28746
27977
  models: z.ZodNullable<z.ZodObject<{
28747
27978
  base: z.ZodObject<{
@@ -28761,6 +27992,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28761
27992
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28762
27993
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28763
27994
  }, z.core.$strip>>;
27995
+ createdAt: z.ZodString;
27996
+ updatedAt: z.ZodString;
28764
27997
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28765
27998
  createdAt: z.ZodString;
28766
27999
  updatedAt: z.ZodString;
@@ -28792,11 +28025,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28792
28025
  }>, z.core.$strip>>;
28793
28026
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28794
28027
  id: z.ZodString;
28795
- createdAt: z.ZodString;
28796
28028
  name: z.ZodString;
28797
- updatedAt: z.ZodString;
28798
- agentId: z.ZodString;
28799
28029
  description: z.ZodNullable<z.ZodString>;
28030
+ agentId: z.ZodString;
28031
+ createdAt: z.ZodString;
28032
+ updatedAt: z.ZodString;
28800
28033
  functionId: z.ZodString;
28801
28034
  relationshipId: z.ZodOptional<z.ZodString>;
28802
28035
  }, z.core.$strip>>>;
@@ -28940,11 +28173,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28940
28173
  }, z.core.$strip>>;
28941
28174
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28942
28175
  id: z.ZodString;
28943
- createdAt: z.ZodString;
28944
28176
  name: z.ZodString;
28177
+ createdAt: z.ZodString;
28945
28178
  updatedAt: z.ZodString;
28946
- userId: z.ZodNullable<z.ZodString>;
28947
28179
  toolId: z.ZodNullable<z.ZodString>;
28180
+ userId: z.ZodNullable<z.ZodString>;
28948
28181
  credentialStoreId: z.ZodString;
28949
28182
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28950
28183
  createdBy: z.ZodNullable<z.ZodString>;
@@ -29531,11 +28764,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29531
28764
  }, z.core.$strip>>>;
29532
28765
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
29533
28766
  id: z.ZodString;
29534
- createdAt: z.ZodString;
29535
28767
  name: z.ZodString;
29536
- updatedAt: z.ZodString;
29537
28768
  description: z.ZodNullable<z.ZodString>;
29538
28769
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28770
+ createdAt: z.ZodString;
28771
+ updatedAt: z.ZodString;
29539
28772
  contextConfigId: z.ZodNullable<z.ZodString>;
29540
28773
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
29541
28774
  createdAt: z.ZodString;
@@ -29584,11 +28817,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29584
28817
  }, z.core.$strip>>>;
29585
28818
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29586
28819
  id: z.ZodString;
29587
- createdAt: z.ZodString;
29588
28820
  name: z.ZodString;
29589
- updatedAt: z.ZodString;
29590
- agentId: z.ZodString;
29591
28821
  description: z.ZodNullable<z.ZodString>;
28822
+ agentId: z.ZodString;
28823
+ createdAt: z.ZodString;
28824
+ updatedAt: z.ZodString;
29592
28825
  functionId: z.ZodString;
29593
28826
  relationshipId: z.ZodOptional<z.ZodString>;
29594
28827
  }, z.core.$strip>>>;
@@ -29625,10 +28858,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29625
28858
  }>, z.core.$strip>>>;
29626
28859
  contextConfig: z.ZodNullable<z.ZodObject<{
29627
28860
  id: z.ZodString;
29628
- headersSchema: z.ZodOptional<z.ZodAny>;
29629
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
29630
28861
  createdAt: z.ZodString;
29631
28862
  updatedAt: z.ZodString;
28863
+ headersSchema: z.ZodOptional<z.ZodAny>;
28864
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
29632
28865
  }, z.core.$strip>>;
29633
28866
  statusUpdates: z.ZodNullable<z.ZodObject<{
29634
28867
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -29665,10 +28898,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29665
28898
  prompt: z.ZodNullable<z.ZodString>;
29666
28899
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29667
28900
  id: z.ZodString;
29668
- createdAt: z.ZodString;
29669
28901
  name: z.ZodString;
29670
- updatedAt: z.ZodString;
29671
28902
  description: z.ZodNullable<z.ZodString>;
28903
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29672
28904
  models: z.ZodNullable<z.ZodType<{
29673
28905
  base?: {
29674
28906
  model?: string | undefined;
@@ -29731,7 +28963,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29731
28963
  }, {
29732
28964
  stepCountIs?: number | undefined;
29733
28965
  }>>>;
29734
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28966
+ createdAt: z.ZodString;
28967
+ updatedAt: z.ZodString;
29735
28968
  type: z.ZodLiteral<"internal">;
29736
28969
  canUse: z.ZodArray<z.ZodObject<{
29737
28970
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -29770,9 +29003,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
29770
29003
  declare const ProjectResponse: z.ZodObject<{
29771
29004
  data: z.ZodObject<{
29772
29005
  id: z.ZodString;
29773
- createdAt: z.ZodString;
29774
29006
  name: z.ZodString;
29775
- updatedAt: z.ZodString;
29776
29007
  description: z.ZodNullable<z.ZodString>;
29777
29008
  models: z.ZodNullable<z.ZodObject<{
29778
29009
  base: z.ZodObject<{
@@ -29792,6 +29023,8 @@ declare const ProjectResponse: z.ZodObject<{
29792
29023
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29793
29024
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29794
29025
  }, z.core.$strip>>;
29026
+ createdAt: z.ZodString;
29027
+ updatedAt: z.ZodString;
29795
29028
  }, {
29796
29029
  out: {};
29797
29030
  in: {};
@@ -30022,19 +29255,19 @@ declare const ExternalAgentResponse: z.ZodObject<{
30022
29255
  declare const ContextConfigResponse: z.ZodObject<{
30023
29256
  data: z.ZodObject<{
30024
29257
  id: z.ZodString;
30025
- headersSchema: z.ZodOptional<z.ZodAny>;
30026
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
30027
29258
  createdAt: z.ZodString;
30028
29259
  updatedAt: z.ZodString;
29260
+ headersSchema: z.ZodOptional<z.ZodAny>;
29261
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
30029
29262
  }, z.core.$strip>;
30030
29263
  }, z.core.$strip>;
30031
29264
  declare const ApiKeyResponse: z.ZodObject<{
30032
29265
  data: z.ZodObject<{
30033
29266
  id: z.ZodString;
30034
- createdAt: z.ZodString;
30035
29267
  name: z.ZodNullable<z.ZodString>;
30036
- updatedAt: z.ZodString;
30037
29268
  agentId: z.ZodString;
29269
+ createdAt: z.ZodString;
29270
+ updatedAt: z.ZodString;
30038
29271
  expiresAt: z.ZodNullable<z.ZodString>;
30039
29272
  publicId: z.ZodString;
30040
29273
  keyPrefix: z.ZodString;
@@ -30047,11 +29280,11 @@ declare const ApiKeyResponse: z.ZodObject<{
30047
29280
  declare const CredentialReferenceResponse: z.ZodObject<{
30048
29281
  data: z.ZodObject<{
30049
29282
  id: z.ZodString;
30050
- createdAt: z.ZodString;
30051
29283
  name: z.ZodString;
29284
+ createdAt: z.ZodString;
30052
29285
  updatedAt: z.ZodString;
30053
- userId: z.ZodNullable<z.ZodString>;
30054
29286
  toolId: z.ZodNullable<z.ZodString>;
29287
+ userId: z.ZodNullable<z.ZodString>;
30055
29288
  credentialStoreId: z.ZodString;
30056
29289
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
30057
29290
  createdBy: z.ZodNullable<z.ZodString>;
@@ -30652,11 +29885,11 @@ declare const FunctionResponse: z.ZodObject<{
30652
29885
  declare const FunctionToolResponse: z.ZodObject<{
30653
29886
  data: z.ZodObject<{
30654
29887
  id: z.ZodString;
30655
- createdAt: z.ZodString;
30656
29888
  name: z.ZodString;
30657
- updatedAt: z.ZodString;
30658
- agentId: z.ZodString;
30659
29889
  description: z.ZodNullable<z.ZodString>;
29890
+ agentId: z.ZodString;
29891
+ createdAt: z.ZodString;
29892
+ updatedAt: z.ZodString;
30660
29893
  functionId: z.ZodString;
30661
29894
  relationshipId: z.ZodOptional<z.ZodString>;
30662
29895
  }, z.core.$strip>;
@@ -30839,8 +30072,8 @@ declare const TriggerResponse: z.ZodObject<{
30839
30072
  signature: z.ZodObject<{
30840
30073
  source: z.ZodEnum<{
30841
30074
  query: "query";
30842
- body: "body";
30843
30075
  header: "header";
30076
+ body: "body";
30844
30077
  }>;
30845
30078
  key: z.ZodString;
30846
30079
  prefix: z.ZodOptional<z.ZodString>;
@@ -30849,8 +30082,8 @@ declare const TriggerResponse: z.ZodObject<{
30849
30082
  signedComponents: z.ZodArray<z.ZodObject<{
30850
30083
  source: z.ZodEnum<{
30851
30084
  literal: "literal";
30852
- body: "body";
30853
30085
  header: "header";
30086
+ body: "body";
30854
30087
  }>;
30855
30088
  key: z.ZodOptional<z.ZodString>;
30856
30089
  value: z.ZodOptional<z.ZodString>;
@@ -30891,9 +30124,7 @@ declare const TriggerInvocationResponse: z.ZodObject<{
30891
30124
  declare const ProjectListResponse: z.ZodObject<{
30892
30125
  data: z.ZodArray<z.ZodObject<{
30893
30126
  id: z.ZodString;
30894
- createdAt: z.ZodString;
30895
30127
  name: z.ZodString;
30896
- updatedAt: z.ZodString;
30897
30128
  description: z.ZodNullable<z.ZodString>;
30898
30129
  models: z.ZodNullable<z.ZodObject<{
30899
30130
  base: z.ZodObject<{
@@ -30913,6 +30144,8 @@ declare const ProjectListResponse: z.ZodObject<{
30913
30144
  transferCountIs: z.ZodOptional<z.ZodNumber>;
30914
30145
  stepCountIs: z.ZodOptional<z.ZodNumber>;
30915
30146
  }, z.core.$strip>>;
30147
+ createdAt: z.ZodString;
30148
+ updatedAt: z.ZodString;
30916
30149
  }, {
30917
30150
  out: {};
30918
30151
  in: {};
@@ -31167,10 +30400,10 @@ declare const ExternalAgentListResponse: z.ZodObject<{
31167
30400
  declare const ContextConfigListResponse: z.ZodObject<{
31168
30401
  data: z.ZodArray<z.ZodObject<{
31169
30402
  id: z.ZodString;
31170
- headersSchema: z.ZodOptional<z.ZodAny>;
31171
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
31172
30403
  createdAt: z.ZodString;
31173
30404
  updatedAt: z.ZodString;
30405
+ headersSchema: z.ZodOptional<z.ZodAny>;
30406
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
31174
30407
  }, z.core.$strip>>;
31175
30408
  pagination: z.ZodObject<{
31176
30409
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -31182,10 +30415,10 @@ declare const ContextConfigListResponse: z.ZodObject<{
31182
30415
  declare const ApiKeyListResponse: z.ZodObject<{
31183
30416
  data: z.ZodArray<z.ZodObject<{
31184
30417
  id: z.ZodString;
31185
- createdAt: z.ZodString;
31186
30418
  name: z.ZodNullable<z.ZodString>;
31187
- updatedAt: z.ZodString;
31188
30419
  agentId: z.ZodString;
30420
+ createdAt: z.ZodString;
30421
+ updatedAt: z.ZodString;
31189
30422
  expiresAt: z.ZodNullable<z.ZodString>;
31190
30423
  publicId: z.ZodString;
31191
30424
  keyPrefix: z.ZodString;
@@ -31203,14 +30436,14 @@ declare const ApiKeyListResponse: z.ZodObject<{
31203
30436
  }, z.core.$strip>;
31204
30437
  declare const AppResponse: z.ZodObject<{
31205
30438
  data: z.ZodObject<{
31206
- type: z.ZodString;
31207
30439
  id: z.ZodString;
31208
- createdAt: z.ZodString;
31209
30440
  name: z.ZodString;
31210
- updatedAt: z.ZodString;
31211
- projectId: z.ZodNullable<z.ZodString>;
31212
- tenantId: z.ZodNullable<z.ZodString>;
31213
30441
  description: z.ZodNullable<z.ZodString>;
30442
+ tenantId: z.ZodNullable<z.ZodString>;
30443
+ projectId: z.ZodNullable<z.ZodString>;
30444
+ type: z.ZodString;
30445
+ createdAt: z.ZodString;
30446
+ updatedAt: z.ZodString;
31214
30447
  enabled: z.ZodBoolean;
31215
30448
  lastUsedAt: z.ZodNullable<z.ZodString>;
31216
30449
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -31231,14 +30464,14 @@ declare const AppResponse: z.ZodObject<{
31231
30464
  }, z.core.$strip>;
31232
30465
  declare const AppListResponse: z.ZodObject<{
31233
30466
  data: z.ZodArray<z.ZodObject<{
31234
- type: z.ZodString;
31235
30467
  id: z.ZodString;
31236
- createdAt: z.ZodString;
31237
30468
  name: z.ZodString;
31238
- updatedAt: z.ZodString;
31239
- projectId: z.ZodNullable<z.ZodString>;
31240
- tenantId: z.ZodNullable<z.ZodString>;
31241
30469
  description: z.ZodNullable<z.ZodString>;
30470
+ tenantId: z.ZodNullable<z.ZodString>;
30471
+ projectId: z.ZodNullable<z.ZodString>;
30472
+ type: z.ZodString;
30473
+ createdAt: z.ZodString;
30474
+ updatedAt: z.ZodString;
31242
30475
  enabled: z.ZodBoolean;
31243
30476
  lastUsedAt: z.ZodNullable<z.ZodString>;
31244
30477
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -31266,11 +30499,11 @@ declare const AppListResponse: z.ZodObject<{
31266
30499
  declare const CredentialReferenceListResponse: z.ZodObject<{
31267
30500
  data: z.ZodArray<z.ZodObject<{
31268
30501
  id: z.ZodString;
31269
- createdAt: z.ZodString;
31270
30502
  name: z.ZodString;
30503
+ createdAt: z.ZodString;
31271
30504
  updatedAt: z.ZodString;
31272
- userId: z.ZodNullable<z.ZodString>;
31273
30505
  toolId: z.ZodNullable<z.ZodString>;
30506
+ userId: z.ZodNullable<z.ZodString>;
31274
30507
  credentialStoreId: z.ZodString;
31275
30508
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31276
30509
  createdBy: z.ZodNullable<z.ZodString>;
@@ -31883,11 +31116,11 @@ declare const FunctionListResponse: z.ZodObject<{
31883
31116
  declare const FunctionToolListResponse: z.ZodObject<{
31884
31117
  data: z.ZodArray<z.ZodObject<{
31885
31118
  id: z.ZodString;
31886
- createdAt: z.ZodString;
31887
31119
  name: z.ZodString;
31888
- updatedAt: z.ZodString;
31889
- agentId: z.ZodString;
31890
31120
  description: z.ZodNullable<z.ZodString>;
31121
+ agentId: z.ZodString;
31122
+ createdAt: z.ZodString;
31123
+ updatedAt: z.ZodString;
31891
31124
  functionId: z.ZodString;
31892
31125
  relationshipId: z.ZodOptional<z.ZodString>;
31893
31126
  }, z.core.$strip>>;
@@ -32138,8 +31371,8 @@ declare const TriggerListResponse: z.ZodObject<{
32138
31371
  signature: z.ZodObject<{
32139
31372
  source: z.ZodEnum<{
32140
31373
  query: "query";
32141
- body: "body";
32142
31374
  header: "header";
31375
+ body: "body";
32143
31376
  }>;
32144
31377
  key: z.ZodString;
32145
31378
  prefix: z.ZodOptional<z.ZodString>;
@@ -32148,8 +31381,8 @@ declare const TriggerListResponse: z.ZodObject<{
32148
31381
  signedComponents: z.ZodArray<z.ZodObject<{
32149
31382
  source: z.ZodEnum<{
32150
31383
  literal: "literal";
32151
- body: "body";
32152
31384
  header: "header";
31385
+ body: "body";
32153
31386
  }>;
32154
31387
  key: z.ZodOptional<z.ZodString>;
32155
31388
  value: z.ZodOptional<z.ZodString>;
@@ -32202,15 +31435,16 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
32202
31435
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
32203
31436
  data: z.ZodObject<{
32204
31437
  id: z.ZodString;
32205
- createdAt: z.ZodString;
32206
31438
  name: z.ZodString;
32207
- updatedAt: z.ZodString;
32208
31439
  description: z.ZodNullable<z.ZodString>;
31440
+ createdAt: z.ZodString;
31441
+ updatedAt: z.ZodString;
32209
31442
  enabled: z.ZodBoolean;
32210
31443
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32211
31444
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32212
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32213
31445
  messageTemplate: z.ZodNullable<z.ZodString>;
31446
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31447
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32214
31448
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32215
31449
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32216
31450
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -32228,8 +31462,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
32228
31462
  signature: z.ZodObject<{
32229
31463
  source: z.ZodEnum<{
32230
31464
  query: "query";
32231
- body: "body";
32232
31465
  header: "header";
31466
+ body: "body";
32233
31467
  }>;
32234
31468
  key: z.ZodString;
32235
31469
  prefix: z.ZodOptional<z.ZodString>;
@@ -32238,8 +31472,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
32238
31472
  signedComponents: z.ZodArray<z.ZodObject<{
32239
31473
  source: z.ZodEnum<{
32240
31474
  literal: "literal";
32241
- body: "body";
32242
31475
  header: "header";
31476
+ body: "body";
32243
31477
  }>;
32244
31478
  key: z.ZodOptional<z.ZodString>;
32245
31479
  value: z.ZodOptional<z.ZodString>;
@@ -32258,22 +31492,22 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
32258
31492
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
32259
31493
  }, z.core.$strip>>;
32260
31494
  }, z.core.$strip>>>;
32261
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32262
31495
  webhookUrl: z.ZodString;
32263
31496
  }, z.core.$strip>;
32264
31497
  }, z.core.$strip>;
32265
31498
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
32266
31499
  data: z.ZodObject<{
32267
31500
  id: z.ZodString;
32268
- createdAt: z.ZodString;
32269
31501
  name: z.ZodString;
32270
- updatedAt: z.ZodString;
32271
31502
  description: z.ZodNullable<z.ZodString>;
31503
+ createdAt: z.ZodString;
31504
+ updatedAt: z.ZodString;
32272
31505
  enabled: z.ZodBoolean;
32273
31506
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32274
31507
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32275
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32276
31508
  messageTemplate: z.ZodNullable<z.ZodString>;
31509
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31510
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32277
31511
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32278
31512
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32279
31513
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -32291,8 +31525,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
32291
31525
  signature: z.ZodObject<{
32292
31526
  source: z.ZodEnum<{
32293
31527
  query: "query";
32294
- body: "body";
32295
31528
  header: "header";
31529
+ body: "body";
32296
31530
  }>;
32297
31531
  key: z.ZodString;
32298
31532
  prefix: z.ZodOptional<z.ZodString>;
@@ -32301,8 +31535,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
32301
31535
  signedComponents: z.ZodArray<z.ZodObject<{
32302
31536
  source: z.ZodEnum<{
32303
31537
  literal: "literal";
32304
- body: "body";
32305
31538
  header: "header";
31539
+ body: "body";
32306
31540
  }>;
32307
31541
  key: z.ZodOptional<z.ZodString>;
32308
31542
  value: z.ZodOptional<z.ZodString>;
@@ -32321,7 +31555,6 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
32321
31555
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
32322
31556
  }, z.core.$strip>>;
32323
31557
  }, z.core.$strip>>>;
32324
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32325
31558
  webhookUrl: z.ZodString;
32326
31559
  }, z.core.$strip>;
32327
31560
  warning: z.ZodOptional<z.ZodString>;
@@ -32329,15 +31562,16 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
32329
31562
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
32330
31563
  data: z.ZodArray<z.ZodObject<{
32331
31564
  id: z.ZodString;
32332
- createdAt: z.ZodString;
32333
31565
  name: z.ZodString;
32334
- updatedAt: z.ZodString;
32335
31566
  description: z.ZodNullable<z.ZodString>;
31567
+ createdAt: z.ZodString;
31568
+ updatedAt: z.ZodString;
32336
31569
  enabled: z.ZodBoolean;
32337
31570
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32338
31571
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32339
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32340
31572
  messageTemplate: z.ZodNullable<z.ZodString>;
31573
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31574
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32341
31575
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32342
31576
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32343
31577
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -32355,8 +31589,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
32355
31589
  signature: z.ZodObject<{
32356
31590
  source: z.ZodEnum<{
32357
31591
  query: "query";
32358
- body: "body";
32359
31592
  header: "header";
31593
+ body: "body";
32360
31594
  }>;
32361
31595
  key: z.ZodString;
32362
31596
  prefix: z.ZodOptional<z.ZodString>;
@@ -32365,8 +31599,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
32365
31599
  signedComponents: z.ZodArray<z.ZodObject<{
32366
31600
  source: z.ZodEnum<{
32367
31601
  literal: "literal";
32368
- body: "body";
32369
31602
  header: "header";
31603
+ body: "body";
32370
31604
  }>;
32371
31605
  key: z.ZodOptional<z.ZodString>;
32372
31606
  value: z.ZodOptional<z.ZodString>;
@@ -32385,7 +31619,6 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
32385
31619
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
32386
31620
  }, z.core.$strip>>;
32387
31621
  }, z.core.$strip>>>;
32388
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32389
31622
  webhookUrl: z.ZodString;
32390
31623
  }, z.core.$strip>>;
32391
31624
  pagination: z.ZodObject<{
@@ -32397,21 +31630,21 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
32397
31630
  }, z.core.$strip>;
32398
31631
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
32399
31632
  id: z.ZodString;
32400
- createdAt: z.ZodString;
32401
31633
  name: z.ZodString;
32402
- updatedAt: z.ZodString;
32403
31634
  description: z.ZodNullable<z.ZodString>;
31635
+ createdAt: z.ZodString;
31636
+ updatedAt: z.ZodString;
32404
31637
  enabled: z.ZodBoolean;
32405
31638
  createdBy: z.ZodNullable<z.ZodString>;
32406
- messageTemplate: z.ZodNullable<z.ZodString>;
32407
- runAsUserId: z.ZodNullable<z.ZodString>;
32408
31639
  cronExpression: z.ZodNullable<z.ZodString>;
32409
31640
  cronTimezone: z.ZodNullable<z.ZodString>;
32410
31641
  runAt: z.ZodNullable<z.ZodString>;
32411
31642
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31643
+ messageTemplate: z.ZodNullable<z.ZodString>;
32412
31644
  maxRetries: z.ZodNumber;
32413
31645
  retryDelaySeconds: z.ZodNumber;
32414
31646
  timeoutSeconds: z.ZodNumber;
31647
+ runAsUserId: z.ZodNullable<z.ZodString>;
32415
31648
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
32416
31649
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
32417
31650
  completed: "completed";
@@ -32476,21 +31709,21 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
32476
31709
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
32477
31710
  data: z.ZodArray<z.ZodObject<{
32478
31711
  id: z.ZodString;
32479
- createdAt: z.ZodString;
32480
31712
  name: z.ZodString;
32481
- updatedAt: z.ZodString;
32482
31713
  description: z.ZodNullable<z.ZodString>;
31714
+ createdAt: z.ZodString;
31715
+ updatedAt: z.ZodString;
32483
31716
  enabled: z.ZodBoolean;
32484
31717
  createdBy: z.ZodNullable<z.ZodString>;
32485
- messageTemplate: z.ZodNullable<z.ZodString>;
32486
- runAsUserId: z.ZodNullable<z.ZodString>;
32487
31718
  cronExpression: z.ZodNullable<z.ZodString>;
32488
31719
  cronTimezone: z.ZodNullable<z.ZodString>;
32489
31720
  runAt: z.ZodNullable<z.ZodString>;
32490
31721
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31722
+ messageTemplate: z.ZodNullable<z.ZodString>;
32491
31723
  maxRetries: z.ZodNumber;
32492
31724
  retryDelaySeconds: z.ZodNumber;
32493
31725
  timeoutSeconds: z.ZodNumber;
31726
+ runAsUserId: z.ZodNullable<z.ZodString>;
32494
31727
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
32495
31728
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
32496
31729
  completed: "completed";
@@ -32635,10 +31868,10 @@ declare const SubAgentSkillResponse: z.ZodObject<{
32635
31868
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
32636
31869
  data: z.ZodArray<z.ZodObject<{
32637
31870
  id: z.ZodString;
32638
- createdAt: z.ZodString;
32639
31871
  name: z.ZodString;
32640
- updatedAt: z.ZodString;
32641
31872
  description: z.ZodString;
31873
+ createdAt: z.ZodString;
31874
+ updatedAt: z.ZodString;
32642
31875
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
32643
31876
  content: z.ZodString;
32644
31877
  subAgentSkillId: z.ZodString;
@@ -32671,19 +31904,16 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32671
31904
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32672
31905
  }, z.core.$strip>>;
32673
31906
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
32674
- createdAt: z.ZodOptional<z.ZodString>;
31907
+ id: z.ZodString;
32675
31908
  name: z.ZodString;
32676
- updatedAt: z.ZodOptional<z.ZodString>;
32677
31909
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32678
31910
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32679
31911
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32680
- id: z.ZodString;
32681
31912
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32682
31913
  id: z.ZodString;
32683
- createdAt: z.ZodOptional<z.ZodString>;
32684
31914
  name: z.ZodString;
32685
- updatedAt: z.ZodOptional<z.ZodString>;
32686
31915
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31916
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
32687
31917
  models: z.ZodOptional<z.ZodObject<{
32688
31918
  base: z.ZodOptional<z.ZodObject<{
32689
31919
  model: z.ZodOptional<z.ZodString>;
@@ -32698,7 +31928,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32698
31928
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
32699
31929
  }, z.core.$strip>>;
32700
31930
  }, z.core.$strip>>;
32701
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31931
+ createdAt: z.ZodOptional<z.ZodString>;
31932
+ updatedAt: z.ZodOptional<z.ZodString>;
32702
31933
  type: z.ZodLiteral<"internal">;
32703
31934
  canUse: z.ZodArray<z.ZodObject<{
32704
31935
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -32732,20 +31963,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32732
31963
  }, z.core.$strip>>;
32733
31964
  }, z.core.$strip>>;
32734
31965
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32735
- createdAt: z.ZodOptional<z.ZodString>;
32736
- updatedAt: z.ZodOptional<z.ZodString>;
32737
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32738
- credentialScope: z.ZodOptional<z.ZodString>;
32739
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32740
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
32741
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32742
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
31966
+ id: z.ZodString;
32743
31967
  name: z.ZodString;
32744
31968
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32745
- projectId: z.ZodString;
32746
31969
  tenantId: z.ZodString;
32747
- id: z.ZodString;
32748
- imageUrl: z.ZodOptional<z.ZodString>;
31970
+ projectId: z.ZodString;
31971
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32749
31972
  config: z.ZodObject<{
32750
31973
  type: z.ZodLiteral<"mcp">;
32751
31974
  mcp: z.ZodObject<{
@@ -32772,17 +31995,21 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32772
31995
  prompt: z.ZodOptional<z.ZodString>;
32773
31996
  }, z.core.$strip>;
32774
31997
  }, z.core.$strip>;
31998
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31999
+ credentialScope: z.ZodOptional<z.ZodString>;
32000
+ imageUrl: z.ZodOptional<z.ZodString>;
32001
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
32002
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32003
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
32775
32004
  }>, z.core.$strip>>>;
32776
32005
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32777
- createdAt: z.ZodOptional<z.ZodString>;
32778
- updatedAt: z.ZodOptional<z.ZodString>;
32779
- projectId: z.ZodString;
32780
- tenantId: z.ZodString;
32781
32006
  id: z.ZodString;
32782
32007
  name: z.ZodString;
32783
32008
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32784
- baseUrl: z.ZodURL;
32009
+ tenantId: z.ZodString;
32010
+ projectId: z.ZodString;
32785
32011
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32012
+ baseUrl: z.ZodURL;
32786
32013
  }>, z.core.$strip>>>;
32787
32014
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32788
32015
  id: z.ZodString;
@@ -32790,56 +32017,48 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32790
32017
  description: z.ZodString;
32791
32018
  }, z.core.$strip>>>;
32792
32019
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
32793
- createdAt: z.ZodOptional<z.ZodString>;
32794
- updatedAt: z.ZodOptional<z.ZodString>;
32795
- functionId: z.ZodString;
32020
+ id: z.ZodString;
32796
32021
  name: z.ZodString;
32797
32022
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32798
- agentId: z.ZodString;
32799
- projectId: z.ZodString;
32800
32023
  tenantId: z.ZodString;
32801
- id: z.ZodString;
32024
+ projectId: z.ZodString;
32025
+ agentId: z.ZodString;
32026
+ functionId: z.ZodString;
32802
32027
  }>, z.core.$strip>>>;
32803
32028
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32804
32029
  id: z.ZodString;
32805
- createdAt: z.ZodOptional<z.ZodString>;
32806
- updatedAt: z.ZodOptional<z.ZodString>;
32807
32030
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
32808
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32809
32031
  executeCode: z.ZodString;
32032
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32810
32033
  }, z.core.$strip>>>;
32811
32034
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32812
- createdAt: z.ZodOptional<z.ZodString>;
32035
+ id: z.ZodOptional<z.ZodString>;
32813
32036
  name: z.ZodString;
32814
- updatedAt: z.ZodOptional<z.ZodString>;
32815
32037
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32816
32038
  enabled: z.ZodOptional<z.ZodBoolean>;
32817
32039
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32818
32040
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32819
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32820
32041
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32042
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32043
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32821
32044
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32822
32045
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32823
32046
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32824
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32825
- id: z.ZodOptional<z.ZodString>;
32826
32047
  }, z.core.$strip>>>;
32827
32048
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32828
- createdAt: z.ZodOptional<z.ZodString>;
32829
32049
  name: z.ZodString;
32830
- updatedAt: z.ZodOptional<z.ZodString>;
32831
32050
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32832
32051
  enabled: z.ZodOptional<z.ZodBoolean>;
32833
32052
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32834
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32835
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32836
32053
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32837
32054
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32838
32055
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32839
32056
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32057
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32840
32058
  maxRetries: z.ZodOptional<z.ZodNumber>;
32841
32059
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
32842
32060
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
32061
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32843
32062
  id: z.ZodOptional<z.ZodString>;
32844
32063
  }, z.core.$strip>>>;
32845
32064
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -32882,20 +32101,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32882
32101
  prompt: z.ZodOptional<z.ZodString>;
32883
32102
  }, z.core.$strip>>;
32884
32103
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32885
- createdAt: z.ZodOptional<z.ZodString>;
32886
- updatedAt: z.ZodOptional<z.ZodString>;
32887
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32888
- credentialScope: z.ZodOptional<z.ZodString>;
32889
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32890
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
32891
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32892
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
32104
+ id: z.ZodString;
32893
32105
  name: z.ZodString;
32894
32106
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32895
- projectId: z.ZodString;
32896
32107
  tenantId: z.ZodString;
32897
- id: z.ZodString;
32898
- imageUrl: z.ZodOptional<z.ZodString>;
32108
+ projectId: z.ZodString;
32109
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32899
32110
  config: z.ZodObject<{
32900
32111
  type: z.ZodLiteral<"mcp">;
32901
32112
  mcp: z.ZodObject<{
@@ -32922,38 +32133,38 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32922
32133
  prompt: z.ZodOptional<z.ZodString>;
32923
32134
  }, z.core.$strip>;
32924
32135
  }, z.core.$strip>;
32136
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32137
+ credentialScope: z.ZodOptional<z.ZodString>;
32138
+ imageUrl: z.ZodOptional<z.ZodString>;
32139
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
32140
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32141
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
32925
32142
  }>, z.core.$strip>>;
32926
32143
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
32927
- createdAt: z.ZodOptional<z.ZodString>;
32928
- updatedAt: z.ZodOptional<z.ZodString>;
32929
- functionId: z.ZodString;
32144
+ id: z.ZodString;
32930
32145
  name: z.ZodString;
32931
32146
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32932
- agentId: z.ZodString;
32933
- projectId: z.ZodString;
32934
32147
  tenantId: z.ZodString;
32935
- id: z.ZodString;
32148
+ projectId: z.ZodString;
32149
+ agentId: z.ZodString;
32150
+ functionId: z.ZodString;
32936
32151
  }>, z.core.$strip>>>;
32937
32152
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32938
32153
  id: z.ZodString;
32939
- createdAt: z.ZodOptional<z.ZodString>;
32940
- updatedAt: z.ZodOptional<z.ZodString>;
32941
32154
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
32942
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32943
32155
  executeCode: z.ZodString;
32156
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32944
32157
  }, z.core.$strip>>>;
32945
32158
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32946
32159
  name: z.ZodString;
32947
- projectId: z.ZodString;
32948
- tenantId: z.ZodString;
32949
32160
  description: z.ZodString;
32161
+ tenantId: z.ZodString;
32162
+ projectId: z.ZodString;
32950
32163
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
32951
32164
  content: z.ZodString;
32952
32165
  }>, z.core.$strip>>>;
32953
32166
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32954
32167
  id: z.ZodString;
32955
- createdAt: z.ZodOptional<z.ZodString>;
32956
- updatedAt: z.ZodOptional<z.ZodString>;
32957
32168
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
32958
32169
  component: string;
32959
32170
  mockData: Record<string, unknown>;
@@ -33006,15 +32217,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
33006
32217
  in: {};
33007
32218
  }>>>;
33008
32219
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33009
- createdAt: z.ZodOptional<z.ZodString>;
33010
- updatedAt: z.ZodOptional<z.ZodString>;
33011
- projectId: z.ZodString;
33012
- tenantId: z.ZodString;
33013
32220
  id: z.ZodString;
33014
32221
  name: z.ZodString;
33015
32222
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33016
- baseUrl: z.ZodURL;
32223
+ tenantId: z.ZodString;
32224
+ projectId: z.ZodString;
33017
32225
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32226
+ baseUrl: z.ZodURL;
33018
32227
  }>, z.core.$strip>>>;
33019
32228
  statusUpdates: z.ZodOptional<z.ZodObject<{
33020
32229
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -33033,11 +32242,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
33033
32242
  }, z.core.$strip>>;
33034
32243
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33035
32244
  id: z.ZodString;
33036
- createdAt: z.ZodOptional<z.ZodString>;
33037
32245
  name: z.ZodString;
33038
- updatedAt: z.ZodOptional<z.ZodString>;
33039
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33040
32246
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32247
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33041
32248
  credentialStoreId: z.ZodString;
33042
32249
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
33043
32250
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33057,9 +32264,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
33057
32264
  declare const FullProjectSelectResponse: z.ZodObject<{
33058
32265
  data: z.ZodObject<{
33059
32266
  id: z.ZodString;
33060
- createdAt: z.ZodString;
33061
32267
  name: z.ZodString;
33062
- updatedAt: z.ZodString;
33063
32268
  description: z.ZodNullable<z.ZodString>;
33064
32269
  models: z.ZodNullable<z.ZodObject<{
33065
32270
  base: z.ZodObject<{
@@ -33079,20 +32284,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33079
32284
  transferCountIs: z.ZodOptional<z.ZodNumber>;
33080
32285
  stepCountIs: z.ZodOptional<z.ZodNumber>;
33081
32286
  }, z.core.$strip>>;
32287
+ createdAt: z.ZodString;
32288
+ updatedAt: z.ZodString;
33082
32289
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33083
32290
  id: z.ZodString;
33084
- createdAt: z.ZodString;
33085
32291
  name: z.ZodString;
33086
- updatedAt: z.ZodString;
33087
32292
  description: z.ZodNullable<z.ZodString>;
33088
32293
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
32294
+ createdAt: z.ZodString;
32295
+ updatedAt: z.ZodString;
33089
32296
  contextConfigId: z.ZodNullable<z.ZodString>;
33090
32297
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33091
32298
  id: z.ZodString;
33092
- createdAt: z.ZodString;
33093
32299
  name: z.ZodString;
33094
- updatedAt: z.ZodString;
33095
32300
  description: z.ZodNullable<z.ZodString>;
32301
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33096
32302
  models: z.ZodNullable<z.ZodType<{
33097
32303
  base?: {
33098
32304
  model?: string | undefined;
@@ -33155,7 +32361,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33155
32361
  }, {
33156
32362
  stepCountIs?: number | undefined;
33157
32363
  }>>>;
33158
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
32364
+ createdAt: z.ZodString;
32365
+ updatedAt: z.ZodString;
33159
32366
  type: z.ZodLiteral<"internal">;
33160
32367
  canUse: z.ZodArray<z.ZodObject<{
33161
32368
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33227,11 +32434,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33227
32434
  }, z.core.$strip>>>;
33228
32435
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33229
32436
  id: z.ZodString;
33230
- createdAt: z.ZodString;
33231
32437
  name: z.ZodString;
33232
- updatedAt: z.ZodString;
33233
- agentId: z.ZodString;
33234
32438
  description: z.ZodNullable<z.ZodString>;
32439
+ agentId: z.ZodString;
32440
+ createdAt: z.ZodString;
32441
+ updatedAt: z.ZodString;
33235
32442
  functionId: z.ZodString;
33236
32443
  relationshipId: z.ZodOptional<z.ZodString>;
33237
32444
  }, z.core.$strip>>>;
@@ -33268,10 +32475,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33268
32475
  }>, z.core.$strip>>>;
33269
32476
  contextConfig: z.ZodNullable<z.ZodObject<{
33270
32477
  id: z.ZodString;
33271
- headersSchema: z.ZodOptional<z.ZodAny>;
33272
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
33273
32478
  createdAt: z.ZodString;
33274
32479
  updatedAt: z.ZodString;
32480
+ headersSchema: z.ZodOptional<z.ZodAny>;
32481
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
33275
32482
  }, z.core.$strip>>;
33276
32483
  statusUpdates: z.ZodNullable<z.ZodObject<{
33277
32484
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -33338,11 +32545,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33338
32545
  }>, z.core.$strip>>;
33339
32546
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33340
32547
  id: z.ZodString;
33341
- createdAt: z.ZodString;
33342
32548
  name: z.ZodString;
33343
- updatedAt: z.ZodString;
33344
- agentId: z.ZodString;
33345
32549
  description: z.ZodNullable<z.ZodString>;
32550
+ agentId: z.ZodString;
32551
+ createdAt: z.ZodString;
32552
+ updatedAt: z.ZodString;
33346
32553
  functionId: z.ZodString;
33347
32554
  relationshipId: z.ZodOptional<z.ZodString>;
33348
32555
  }, z.core.$strip>>>;
@@ -33486,11 +32693,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33486
32693
  }, z.core.$strip>>;
33487
32694
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33488
32695
  id: z.ZodString;
33489
- createdAt: z.ZodString;
33490
32696
  name: z.ZodString;
32697
+ createdAt: z.ZodString;
33491
32698
  updatedAt: z.ZodString;
33492
- userId: z.ZodNullable<z.ZodString>;
33493
32699
  toolId: z.ZodNullable<z.ZodString>;
32700
+ userId: z.ZodNullable<z.ZodString>;
33494
32701
  credentialStoreId: z.ZodString;
33495
32702
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33496
32703
  createdBy: z.ZodNullable<z.ZodString>;
@@ -34083,9 +33290,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
34083
33290
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34084
33291
  data: z.ZodObject<{
34085
33292
  id: z.ZodString;
34086
- createdAt: z.ZodString;
34087
33293
  name: z.ZodString;
34088
- updatedAt: z.ZodString;
34089
33294
  description: z.ZodNullable<z.ZodString>;
34090
33295
  models: z.ZodNullable<z.ZodObject<{
34091
33296
  base: z.ZodObject<{
@@ -34105,6 +33310,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34105
33310
  transferCountIs: z.ZodOptional<z.ZodNumber>;
34106
33311
  stepCountIs: z.ZodOptional<z.ZodNumber>;
34107
33312
  }, z.core.$strip>>;
33313
+ createdAt: z.ZodString;
33314
+ updatedAt: z.ZodString;
34108
33315
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
34109
33316
  createdAt: z.ZodString;
34110
33317
  updatedAt: z.ZodString;
@@ -34136,11 +33343,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34136
33343
  }>, z.core.$strip>>;
34137
33344
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34138
33345
  id: z.ZodString;
34139
- createdAt: z.ZodString;
34140
33346
  name: z.ZodString;
34141
- updatedAt: z.ZodString;
34142
- agentId: z.ZodString;
34143
33347
  description: z.ZodNullable<z.ZodString>;
33348
+ agentId: z.ZodString;
33349
+ createdAt: z.ZodString;
33350
+ updatedAt: z.ZodString;
34144
33351
  functionId: z.ZodString;
34145
33352
  relationshipId: z.ZodOptional<z.ZodString>;
34146
33353
  }, z.core.$strip>>>;
@@ -34284,11 +33491,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34284
33491
  }, z.core.$strip>>;
34285
33492
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34286
33493
  id: z.ZodString;
34287
- createdAt: z.ZodString;
34288
33494
  name: z.ZodString;
33495
+ createdAt: z.ZodString;
34289
33496
  updatedAt: z.ZodString;
34290
- userId: z.ZodNullable<z.ZodString>;
34291
33497
  toolId: z.ZodNullable<z.ZodString>;
33498
+ userId: z.ZodNullable<z.ZodString>;
34292
33499
  credentialStoreId: z.ZodString;
34293
33500
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
34294
33501
  createdBy: z.ZodNullable<z.ZodString>;
@@ -34875,11 +34082,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34875
34082
  }, z.core.$strip>>>;
34876
34083
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
34877
34084
  id: z.ZodString;
34878
- createdAt: z.ZodString;
34879
34085
  name: z.ZodString;
34880
- updatedAt: z.ZodString;
34881
34086
  description: z.ZodNullable<z.ZodString>;
34882
34087
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
34088
+ createdAt: z.ZodString;
34089
+ updatedAt: z.ZodString;
34883
34090
  contextConfigId: z.ZodNullable<z.ZodString>;
34884
34091
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
34885
34092
  createdAt: z.ZodString;
@@ -34928,11 +34135,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34928
34135
  }, z.core.$strip>>>;
34929
34136
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34930
34137
  id: z.ZodString;
34931
- createdAt: z.ZodString;
34932
34138
  name: z.ZodString;
34933
- updatedAt: z.ZodString;
34934
- agentId: z.ZodString;
34935
34139
  description: z.ZodNullable<z.ZodString>;
34140
+ agentId: z.ZodString;
34141
+ createdAt: z.ZodString;
34142
+ updatedAt: z.ZodString;
34936
34143
  functionId: z.ZodString;
34937
34144
  relationshipId: z.ZodOptional<z.ZodString>;
34938
34145
  }, z.core.$strip>>>;
@@ -34969,10 +34176,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34969
34176
  }>, z.core.$strip>>>;
34970
34177
  contextConfig: z.ZodNullable<z.ZodObject<{
34971
34178
  id: z.ZodString;
34972
- headersSchema: z.ZodOptional<z.ZodAny>;
34973
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
34974
34179
  createdAt: z.ZodString;
34975
34180
  updatedAt: z.ZodString;
34181
+ headersSchema: z.ZodOptional<z.ZodAny>;
34182
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
34976
34183
  }, z.core.$strip>>;
34977
34184
  statusUpdates: z.ZodNullable<z.ZodObject<{
34978
34185
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -35009,10 +34216,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
35009
34216
  prompt: z.ZodNullable<z.ZodString>;
35010
34217
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
35011
34218
  id: z.ZodString;
35012
- createdAt: z.ZodString;
35013
34219
  name: z.ZodString;
35014
- updatedAt: z.ZodString;
35015
34220
  description: z.ZodNullable<z.ZodString>;
34221
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
35016
34222
  models: z.ZodNullable<z.ZodType<{
35017
34223
  base?: {
35018
34224
  model?: string | undefined;
@@ -35075,7 +34281,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
35075
34281
  }, {
35076
34282
  stepCountIs?: number | undefined;
35077
34283
  }>>>;
35078
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34284
+ createdAt: z.ZodString;
34285
+ updatedAt: z.ZodString;
35079
34286
  type: z.ZodLiteral<"internal">;
35080
34287
  canUse: z.ZodArray<z.ZodObject<{
35081
34288
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -35114,19 +34321,16 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
35114
34321
  }, z.core.$strip>;
35115
34322
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35116
34323
  data: z.ZodObject<{
35117
- createdAt: z.ZodOptional<z.ZodString>;
34324
+ id: z.ZodString;
35118
34325
  name: z.ZodString;
35119
- updatedAt: z.ZodOptional<z.ZodString>;
35120
34326
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35121
34327
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35122
34328
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35123
- id: z.ZodString;
35124
34329
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
35125
34330
  id: z.ZodString;
35126
- createdAt: z.ZodOptional<z.ZodString>;
35127
34331
  name: z.ZodString;
35128
- updatedAt: z.ZodOptional<z.ZodString>;
35129
34332
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34333
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
35130
34334
  models: z.ZodOptional<z.ZodObject<{
35131
34335
  base: z.ZodOptional<z.ZodObject<{
35132
34336
  model: z.ZodOptional<z.ZodString>;
@@ -35141,7 +34345,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35141
34345
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
35142
34346
  }, z.core.$strip>>;
35143
34347
  }, z.core.$strip>>;
35144
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
34348
+ createdAt: z.ZodOptional<z.ZodString>;
34349
+ updatedAt: z.ZodOptional<z.ZodString>;
35145
34350
  type: z.ZodLiteral<"internal">;
35146
34351
  canUse: z.ZodArray<z.ZodObject<{
35147
34352
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -35175,20 +34380,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35175
34380
  }, z.core.$strip>>;
35176
34381
  }, z.core.$strip>>;
35177
34382
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
35178
- createdAt: z.ZodOptional<z.ZodString>;
35179
- updatedAt: z.ZodOptional<z.ZodString>;
35180
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35181
- credentialScope: z.ZodOptional<z.ZodString>;
35182
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35183
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
35184
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35185
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
34383
+ id: z.ZodString;
35186
34384
  name: z.ZodString;
35187
34385
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35188
- projectId: z.ZodString;
35189
34386
  tenantId: z.ZodString;
35190
- id: z.ZodString;
35191
- imageUrl: z.ZodOptional<z.ZodString>;
34387
+ projectId: z.ZodString;
34388
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35192
34389
  config: z.ZodObject<{
35193
34390
  type: z.ZodLiteral<"mcp">;
35194
34391
  mcp: z.ZodObject<{
@@ -35215,17 +34412,21 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35215
34412
  prompt: z.ZodOptional<z.ZodString>;
35216
34413
  }, z.core.$strip>;
35217
34414
  }, z.core.$strip>;
34415
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34416
+ credentialScope: z.ZodOptional<z.ZodString>;
34417
+ imageUrl: z.ZodOptional<z.ZodString>;
34418
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
34419
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34420
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
35218
34421
  }>, z.core.$strip>>>;
35219
34422
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
35220
- createdAt: z.ZodOptional<z.ZodString>;
35221
- updatedAt: z.ZodOptional<z.ZodString>;
35222
- projectId: z.ZodString;
35223
- tenantId: z.ZodString;
35224
34423
  id: z.ZodString;
35225
34424
  name: z.ZodString;
35226
34425
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35227
- baseUrl: z.ZodURL;
34426
+ tenantId: z.ZodString;
34427
+ projectId: z.ZodString;
35228
34428
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34429
+ baseUrl: z.ZodURL;
35229
34430
  }>, z.core.$strip>>>;
35230
34431
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
35231
34432
  id: z.ZodString;
@@ -35233,56 +34434,48 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35233
34434
  description: z.ZodString;
35234
34435
  }, z.core.$strip>>>;
35235
34436
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
35236
- createdAt: z.ZodOptional<z.ZodString>;
35237
- updatedAt: z.ZodOptional<z.ZodString>;
35238
- functionId: z.ZodString;
34437
+ id: z.ZodString;
35239
34438
  name: z.ZodString;
35240
34439
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35241
- agentId: z.ZodString;
35242
- projectId: z.ZodString;
35243
34440
  tenantId: z.ZodString;
35244
- id: z.ZodString;
34441
+ projectId: z.ZodString;
34442
+ agentId: z.ZodString;
34443
+ functionId: z.ZodString;
35245
34444
  }>, z.core.$strip>>>;
35246
34445
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
35247
34446
  id: z.ZodString;
35248
- createdAt: z.ZodOptional<z.ZodString>;
35249
- updatedAt: z.ZodOptional<z.ZodString>;
35250
34447
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
35251
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35252
34448
  executeCode: z.ZodString;
34449
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35253
34450
  }, z.core.$strip>>>;
35254
34451
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
35255
- createdAt: z.ZodOptional<z.ZodString>;
34452
+ id: z.ZodOptional<z.ZodString>;
35256
34453
  name: z.ZodString;
35257
- updatedAt: z.ZodOptional<z.ZodString>;
35258
34454
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35259
34455
  enabled: z.ZodOptional<z.ZodBoolean>;
35260
34456
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35261
34457
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
35262
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
35263
34458
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34459
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34460
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
35264
34461
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
35265
34462
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35266
34463
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
35267
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35268
- id: z.ZodOptional<z.ZodString>;
35269
34464
  }, z.core.$strip>>>;
35270
34465
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
35271
- createdAt: z.ZodOptional<z.ZodString>;
35272
34466
  name: z.ZodString;
35273
- updatedAt: z.ZodOptional<z.ZodString>;
35274
34467
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35275
34468
  enabled: z.ZodOptional<z.ZodBoolean>;
35276
34469
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35277
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35278
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35279
34470
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35280
34471
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35281
34472
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35282
34473
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34474
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35283
34475
  maxRetries: z.ZodOptional<z.ZodNumber>;
35284
34476
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
35285
34477
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
34478
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35286
34479
  id: z.ZodOptional<z.ZodString>;
35287
34480
  }, z.core.$strip>>>;
35288
34481
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -35328,18 +34521,17 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35328
34521
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
35329
34522
  data: z.ZodObject<{
35330
34523
  id: z.ZodString;
35331
- createdAt: z.ZodString;
35332
34524
  name: z.ZodString;
35333
- updatedAt: z.ZodString;
35334
34525
  description: z.ZodNullable<z.ZodString>;
35335
34526
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
34527
+ createdAt: z.ZodString;
34528
+ updatedAt: z.ZodString;
35336
34529
  contextConfigId: z.ZodNullable<z.ZodString>;
35337
34530
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
35338
34531
  id: z.ZodString;
35339
- createdAt: z.ZodString;
35340
34532
  name: z.ZodString;
35341
- updatedAt: z.ZodString;
35342
34533
  description: z.ZodNullable<z.ZodString>;
34534
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
35343
34535
  models: z.ZodNullable<z.ZodType<{
35344
34536
  base?: {
35345
34537
  model?: string | undefined;
@@ -35402,7 +34594,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
35402
34594
  }, {
35403
34595
  stepCountIs?: number | undefined;
35404
34596
  }>>>;
35405
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34597
+ createdAt: z.ZodString;
34598
+ updatedAt: z.ZodString;
35406
34599
  type: z.ZodLiteral<"internal">;
35407
34600
  canUse: z.ZodArray<z.ZodObject<{
35408
34601
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -35474,11 +34667,11 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
35474
34667
  }, z.core.$strip>>>;
35475
34668
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
35476
34669
  id: z.ZodString;
35477
- createdAt: z.ZodString;
35478
34670
  name: z.ZodString;
35479
- updatedAt: z.ZodString;
35480
- agentId: z.ZodString;
35481
34671
  description: z.ZodNullable<z.ZodString>;
34672
+ agentId: z.ZodString;
34673
+ createdAt: z.ZodString;
34674
+ updatedAt: z.ZodString;
35482
34675
  functionId: z.ZodString;
35483
34676
  relationshipId: z.ZodOptional<z.ZodString>;
35484
34677
  }, z.core.$strip>>>;
@@ -35515,10 +34708,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
35515
34708
  }>, z.core.$strip>>>;
35516
34709
  contextConfig: z.ZodNullable<z.ZodObject<{
35517
34710
  id: z.ZodString;
35518
- headersSchema: z.ZodOptional<z.ZodAny>;
35519
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
35520
34711
  createdAt: z.ZodString;
35521
34712
  updatedAt: z.ZodString;
34713
+ headersSchema: z.ZodOptional<z.ZodAny>;
34714
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
35522
34715
  }, z.core.$strip>>;
35523
34716
  statusUpdates: z.ZodNullable<z.ZodObject<{
35524
34717
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -35576,19 +34769,12 @@ declare const ComponentAssociationListResponse: z.ZodObject<{
35576
34769
  }, z.core.$strip>;
35577
34770
  declare const McpToolResponse: z.ZodObject<{
35578
34771
  data: z.ZodObject<{
35579
- createdAt: z.ZodOptional<z.ZodString>;
35580
- updatedAt: z.ZodOptional<z.ZodString>;
35581
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35582
- credentialScope: z.ZodOptional<z.ZodString>;
35583
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35584
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
35585
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35586
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
34772
+ id: z.ZodString;
35587
34773
  name: z.ZodString;
35588
34774
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35589
- projectId: z.ZodString;
35590
34775
  tenantId: z.ZodString;
35591
- id: z.ZodString;
34776
+ projectId: z.ZodString;
34777
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35592
34778
  config: z.ZodObject<{
35593
34779
  type: z.ZodLiteral<"mcp">;
35594
34780
  mcp: z.ZodObject<{
@@ -35615,6 +34801,11 @@ declare const McpToolResponse: z.ZodObject<{
35615
34801
  prompt: z.ZodOptional<z.ZodString>;
35616
34802
  }, z.core.$strip>;
35617
34803
  }, z.core.$strip>;
34804
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34805
+ credentialScope: z.ZodOptional<z.ZodString>;
34806
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
34807
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34808
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
35618
34809
  imageUrl: z.ZodOptional<z.ZodString>;
35619
34810
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
35620
34811
  name: z.ZodString;
@@ -35639,19 +34830,12 @@ declare const McpToolResponse: z.ZodObject<{
35639
34830
  }, z.core.$strip>;
35640
34831
  declare const McpToolListResponse: z.ZodObject<{
35641
34832
  data: z.ZodArray<z.ZodObject<{
35642
- createdAt: z.ZodOptional<z.ZodString>;
35643
- updatedAt: z.ZodOptional<z.ZodString>;
35644
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35645
- credentialScope: z.ZodOptional<z.ZodString>;
35646
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35647
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
35648
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35649
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
34833
+ id: z.ZodString;
35650
34834
  name: z.ZodString;
35651
34835
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35652
- projectId: z.ZodString;
35653
34836
  tenantId: z.ZodString;
35654
- id: z.ZodString;
34837
+ projectId: z.ZodString;
34838
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35655
34839
  config: z.ZodObject<{
35656
34840
  type: z.ZodLiteral<"mcp">;
35657
34841
  mcp: z.ZodObject<{
@@ -35678,6 +34862,11 @@ declare const McpToolListResponse: z.ZodObject<{
35678
34862
  prompt: z.ZodOptional<z.ZodString>;
35679
34863
  }, z.core.$strip>;
35680
34864
  }, z.core.$strip>;
34865
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34866
+ credentialScope: z.ZodOptional<z.ZodString>;
34867
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
34868
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34869
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
35681
34870
  imageUrl: z.ZodOptional<z.ZodString>;
35682
34871
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
35683
34872
  name: z.ZodString;
@@ -38759,16 +37948,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"sele
38759
37948
  }, {}, {}>;
38760
37949
  }, undefined>, undefined>;
38761
37950
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
38762
- agentId: z.ZodString;
38763
37951
  projectId: z.ZodString;
37952
+ agentId: z.ZodString;
38764
37953
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
38765
37954
  }, {
38766
37955
  out: {};
38767
37956
  in: {};
38768
37957
  }>;
38769
37958
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
38770
- agentId: z.ZodString;
38771
37959
  projectId: z.ZodString;
37960
+ agentId: z.ZodString;
38772
37961
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
38773
37962
  agentName: z.ZodString;
38774
37963
  projectName: z.ZodOptional<z.ZodString>;
@@ -38784,8 +37973,8 @@ declare const ChannelAccessModeSchema: z.ZodEnum<{
38784
37973
  selected: "selected";
38785
37974
  }>;
38786
37975
  declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{
38787
- projectId: z.ZodString;
38788
37976
  tenantId: z.ZodString;
37977
+ projectId: z.ZodString;
38789
37978
  toolId: z.ZodString;
38790
37979
  channelAccessMode: z.ZodEnum<{
38791
37980
  all: "all";