@inkeep/agents-core 0.0.0-dev-20260320171843 → 0.0.0-dev-20260320204032

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.
@@ -820,8 +820,8 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
820
820
  }, z.core.$strip>>;
821
821
  }>, z.core.$strip>;
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
823
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
825
825
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
826
826
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
827
827
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<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,6 +848,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
849
848
  }, {
850
849
  stepCountIs?: number | undefined;
851
850
  }>>>>>>;
851
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
852
852
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
853
853
  }, z.core.$strip>;
854
854
  declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -2483,7 +2483,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2483
2483
  }, {}, {
2484
2484
  length: 256;
2485
2485
  }>;
2486
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "projectId" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2486
+ }, "name" | "id" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "description" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "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,11 +2750,9 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2750
2750
  id: z.ZodString;
2751
2751
  }>, z.core.$strip>;
2752
2752
  declare const AgentApiInsertSchema: z.ZodObject<{
2753
- id: z.ZodString;
2754
2753
  name: z.ZodString;
2754
+ id: z.ZodString;
2755
2755
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
2756
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2759
2757
  base?: {
2760
2758
  model?: string | undefined;
@@ -2808,7 +2806,18 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2808
2806
  providerOptions?: Record<string, any> | undefined;
2809
2807
  } | undefined;
2810
2808
  }>>>>;
2809
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2810
+ transferCountIs?: number | undefined;
2811
+ }, {
2812
+ transferCountIs?: number | undefined;
2813
+ }, z.core.$ZodTypeInternals<{
2814
+ transferCountIs?: number | undefined;
2815
+ }, {
2816
+ transferCountIs?: number | undefined;
2817
+ }>>>>;
2811
2818
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2819
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2820
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2812
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2813
2822
  enabled?: boolean | undefined;
2814
2823
  numEvents?: number | undefined;
@@ -2866,21 +2875,10 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2866
2875
  } | undefined;
2867
2876
  }[] | undefined;
2868
2877
  }>>>>;
2869
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2870
- transferCountIs?: number | undefined;
2871
- }, {
2872
- transferCountIs?: number | undefined;
2873
- }, z.core.$ZodTypeInternals<{
2874
- transferCountIs?: number | undefined;
2875
- }, {
2876
- transferCountIs?: number | undefined;
2877
- }>>>>;
2878
2878
  }, z.core.$strip>;
2879
2879
  declare const AgentApiUpdateSchema: z.ZodObject<{
2880
2880
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2881
2881
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2882
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2883
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
2882
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2885
2883
  base?: {
2886
2884
  model?: string | undefined;
@@ -2934,7 +2932,18 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2934
2932
  providerOptions?: Record<string, any> | undefined;
2935
2933
  } | undefined;
2936
2934
  }>>>>>>;
2935
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2936
+ transferCountIs?: number | undefined;
2937
+ }, {
2938
+ transferCountIs?: number | undefined;
2939
+ }, z.core.$ZodTypeInternals<{
2940
+ transferCountIs?: number | undefined;
2941
+ }, {
2942
+ transferCountIs?: number | undefined;
2943
+ }>>>>>>;
2937
2944
  prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2945
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2946
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2938
2947
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2939
2948
  enabled?: boolean | undefined;
2940
2949
  numEvents?: number | undefined;
@@ -2992,15 +3001,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2992
3001
  } | undefined;
2993
3002
  }[] | undefined;
2994
3003
  }>>>>>>;
2995
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2996
- transferCountIs?: number | undefined;
2997
- }, {
2998
- transferCountIs?: number | undefined;
2999
- }, z.core.$ZodTypeInternals<{
3000
- transferCountIs?: number | undefined;
3001
- }, {
3002
- transferCountIs?: number | undefined;
3003
- }>>>>>>;
3004
3004
  }, z.core.$strip>;
3005
3005
  declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
3006
3006
  name: z.ZodString;
@@ -3066,8 +3066,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3066
3066
  */
3067
3067
  declare const SignatureSourceSchema: z.ZodObject<{
3068
3068
  source: z.ZodEnum<{
3069
- query: "query";
3070
3069
  body: "body";
3070
+ query: "query";
3071
3071
  header: "header";
3072
3072
  }>;
3073
3073
  key: z.ZodString;
@@ -3206,8 +3206,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3206
3206
  }>;
3207
3207
  signature: z.ZodObject<{
3208
3208
  source: z.ZodEnum<{
3209
- query: "query";
3210
3209
  body: "body";
3210
+ query: "query";
3211
3211
  header: "header";
3212
3212
  }>;
3213
3213
  key: z.ZodString;
@@ -3269,8 +3269,8 @@ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3269
3269
  */
3270
3270
  type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3271
3271
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3272
- pending: "pending";
3273
3272
  success: "success";
3273
+ pending: "pending";
3274
3274
  failed: "failed";
3275
3275
  }>;
3276
3276
  declare const TriggerSelectSchema: z.ZodObject<{
@@ -3302,8 +3302,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3302
3302
  }>;
3303
3303
  signature: z.ZodObject<{
3304
3304
  source: z.ZodEnum<{
3305
- query: "query";
3306
3305
  body: "body";
3306
+ query: "query";
3307
3307
  header: "header";
3308
3308
  }>;
3309
3309
  key: z.ZodString;
@@ -3499,7 +3499,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3499
3499
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3500
3500
  encoding: "hex" | "base64";
3501
3501
  signature: {
3502
- source: "query" | "body" | "header";
3502
+ source: "body" | "query" | "header";
3503
3503
  key: string;
3504
3504
  prefix?: string | undefined;
3505
3505
  regex?: string | undefined;
@@ -3536,7 +3536,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3536
3536
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3537
3537
  encoding: "hex" | "base64";
3538
3538
  signature: {
3539
- source: "query" | "body" | "header";
3539
+ source: "body" | "query" | "header";
3540
3540
  key: string;
3541
3541
  prefix?: string | undefined;
3542
3542
  regex?: string | undefined;
@@ -3869,7 +3869,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3869
3869
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3870
3870
  encoding: "hex" | "base64";
3871
3871
  signature: {
3872
- source: "query" | "body" | "header";
3872
+ source: "body" | "query" | "header";
3873
3873
  key: string;
3874
3874
  prefix?: string | undefined;
3875
3875
  regex?: string | undefined;
@@ -3906,7 +3906,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3906
3906
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3907
3907
  encoding: "hex" | "base64";
3908
3908
  signature: {
3909
- source: "query" | "body" | "header";
3909
+ source: "body" | "query" | "header";
3910
3910
  key: string;
3911
3911
  prefix?: string | undefined;
3912
3912
  regex?: string | undefined;
@@ -4079,7 +4079,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4079
4079
  }, {}, {
4080
4080
  length: 256;
4081
4081
  }>;
4082
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "agentId" | "projectId" | "tenantId" | "enabled" | "createdBy" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId">, undefined>, undefined>;
4082
+ }, "enabled" | "name" | "id" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "agentId" | "description" | "createdBy" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId">, undefined>, undefined>;
4083
4083
  declare const TriggerUpdateSchema: z.ZodObject<{
4084
4084
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4085
4085
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4131,8 +4131,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4131
4131
  }>;
4132
4132
  signature: z.ZodObject<{
4133
4133
  source: z.ZodEnum<{
4134
- query: "query";
4135
4134
  body: "body";
4135
+ query: "query";
4136
4136
  header: "header";
4137
4137
  }>;
4138
4138
  key: z.ZodString;
@@ -4166,10 +4166,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4166
4166
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4167
4167
  }>, z.core.$strip>;
4168
4168
  declare const TriggerApiInsertSchema: z.ZodObject<{
4169
- id: z.ZodOptional<z.ZodString>;
4169
+ enabled: z.ZodOptional<z.ZodBoolean>;
4170
4170
  name: z.ZodString;
4171
+ id: z.ZodOptional<z.ZodString>;
4171
4172
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4172
- enabled: z.ZodOptional<z.ZodBoolean>;
4173
4173
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4174
4174
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4175
4175
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -4180,12 +4180,12 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4180
4180
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4181
4181
  }, z.core.$strip>;
4182
4182
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4183
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4183
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4184
4184
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4185
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4185
4186
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4186
4187
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4187
4188
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4188
- enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4189
4189
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4190
4190
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4191
4191
  outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
@@ -4196,12 +4196,12 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4196
4196
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4197
4197
  }, z.core.$strip>;
4198
4198
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4199
- id: z.ZodString;
4199
+ enabled: z.ZodBoolean;
4200
4200
  name: z.ZodString;
4201
+ id: z.ZodString;
4201
4202
  createdAt: z.ZodString;
4202
4203
  updatedAt: z.ZodString;
4203
4204
  description: z.ZodNullable<z.ZodString>;
4204
- enabled: z.ZodBoolean;
4205
4205
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4206
4206
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4207
4207
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -4222,8 +4222,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4222
4222
  }>;
4223
4223
  signature: z.ZodObject<{
4224
4224
  source: z.ZodEnum<{
4225
- query: "query";
4226
4225
  body: "body";
4226
+ query: "query";
4227
4227
  header: "header";
4228
4228
  }>;
4229
4229
  key: z.ZodString;
@@ -4270,8 +4270,8 @@ declare const TriggerInvocationSelectSchema: z.ZodObject<{
4270
4270
  id: z.ZodString;
4271
4271
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4272
4272
  type: z.ZodEnum<{
4273
- tag: "tag";
4274
4273
  commit: "commit";
4274
+ tag: "tag";
4275
4275
  branch: "branch";
4276
4276
  }>;
4277
4277
  name: z.ZodString;
@@ -4326,7 +4326,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4326
4326
  dataType: "json";
4327
4327
  columnType: "PgJsonb";
4328
4328
  data: {
4329
- type: "tag" | "commit" | "branch";
4329
+ type: "commit" | "tag" | "branch";
4330
4330
  name: string;
4331
4331
  hash: string;
4332
4332
  };
@@ -4342,7 +4342,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4342
4342
  generated: undefined;
4343
4343
  }, {}, {
4344
4344
  $type: {
4345
- type: "tag" | "commit" | "branch";
4345
+ type: "commit" | "tag" | "branch";
4346
4346
  name: string;
4347
4347
  hash: string;
4348
4348
  };
@@ -4555,7 +4555,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4555
4555
  dataType: "json";
4556
4556
  columnType: "PgJsonb";
4557
4557
  data: {
4558
- type: "tag" | "commit" | "branch";
4558
+ type: "commit" | "tag" | "branch";
4559
4559
  name: string;
4560
4560
  hash: string;
4561
4561
  };
@@ -4571,7 +4571,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4571
4571
  generated: undefined;
4572
4572
  }, {}, {
4573
4573
  $type: {
4574
- type: "tag" | "commit" | "branch";
4574
+ type: "commit" | "tag" | "branch";
4575
4575
  name: string;
4576
4576
  hash: string;
4577
4577
  };
@@ -4739,24 +4739,24 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4739
4739
  }, {}, {
4740
4740
  length: 256;
4741
4741
  }>;
4742
- }, "id" | "createdAt" | "ref" | "status" | "agentId" | "projectId" | "tenantId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4742
+ }, "id" | "createdAt" | "status" | "ref" | "tenantId" | "projectId" | "agentId" | "conversationId" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4743
4743
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4744
4744
  triggerId: z.ZodOptional<z.ZodString>;
4745
4745
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4746
4746
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
4747
- type: "tag" | "commit" | "branch";
4747
+ type: "commit" | "tag" | "branch";
4748
4748
  name: string;
4749
4749
  hash: string;
4750
4750
  }, {
4751
- type: "tag" | "commit" | "branch";
4751
+ type: "commit" | "tag" | "branch";
4752
4752
  name: string;
4753
4753
  hash: string;
4754
4754
  }, z.core.$ZodTypeInternals<{
4755
- type: "tag" | "commit" | "branch";
4755
+ type: "commit" | "tag" | "branch";
4756
4756
  name: string;
4757
4757
  hash: string;
4758
4758
  }, {
4759
- type: "tag" | "commit" | "branch";
4759
+ type: "commit" | "tag" | "branch";
4760
4760
  name: string;
4761
4761
  hash: string;
4762
4762
  }>>>>>;
@@ -4787,8 +4787,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4787
4787
  id: z.ZodString;
4788
4788
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4789
4789
  type: z.ZodEnum<{
4790
- tag: "tag";
4791
4790
  commit: "commit";
4791
+ tag: "tag";
4792
4792
  branch: "branch";
4793
4793
  }>;
4794
4794
  name: z.ZodString;
@@ -4797,26 +4797,26 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4797
4797
  }>, z.core.$strip>;
4798
4798
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4799
4799
  createdAt: z.ZodOptional<z.ZodString>;
4800
+ status: z.ZodOptional<z.ZodString>;
4800
4801
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
4801
- type: "tag" | "commit" | "branch";
4802
+ type: "commit" | "tag" | "branch";
4802
4803
  name: string;
4803
4804
  hash: string;
4804
4805
  }, {
4805
- type: "tag" | "commit" | "branch";
4806
+ type: "commit" | "tag" | "branch";
4806
4807
  name: string;
4807
4808
  hash: string;
4808
4809
  }, z.core.$ZodTypeInternals<{
4809
- type: "tag" | "commit" | "branch";
4810
+ type: "commit" | "tag" | "branch";
4810
4811
  name: string;
4811
4812
  hash: string;
4812
4813
  }, {
4813
- type: "tag" | "commit" | "branch";
4814
+ type: "commit" | "tag" | "branch";
4814
4815
  name: string;
4815
4816
  hash: string;
4816
4817
  }>>>>;
4817
- status: z.ZodOptional<z.ZodString>;
4818
- triggerId: z.ZodString;
4819
4818
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4819
+ triggerId: z.ZodString;
4820
4820
  requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4821
4821
  transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4822
4822
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4825,26 +4825,26 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4825
4825
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
4826
4826
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4827
4827
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4828
+ status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4828
4829
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
4829
- type: "tag" | "commit" | "branch";
4830
+ type: "commit" | "tag" | "branch";
4830
4831
  name: string;
4831
4832
  hash: string;
4832
4833
  }, {
4833
- type: "tag" | "commit" | "branch";
4834
+ type: "commit" | "tag" | "branch";
4834
4835
  name: string;
4835
4836
  hash: string;
4836
4837
  }, z.core.$ZodTypeInternals<{
4837
- type: "tag" | "commit" | "branch";
4838
+ type: "commit" | "tag" | "branch";
4838
4839
  name: string;
4839
4840
  hash: string;
4840
4841
  }, {
4841
- type: "tag" | "commit" | "branch";
4842
+ type: "commit" | "tag" | "branch";
4842
4843
  name: string;
4843
4844
  hash: string;
4844
4845
  }>>>>>>;
4845
- status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4846
- triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4847
4846
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4847
+ triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4848
4848
  requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4849
4849
  transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4850
4850
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -4875,13 +4875,13 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
4875
4875
  in: {};
4876
4876
  }>;
4877
4877
  declare const ScheduledTriggerInsertSchema: z.ZodObject<{
4878
- id: z.ZodString;
4878
+ enabled: z.ZodOptional<z.ZodBoolean>;
4879
4879
  name: z.ZodString;
4880
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4881
- agentId: z.ZodString;
4882
- projectId: z.ZodString;
4880
+ id: z.ZodString;
4883
4881
  tenantId: z.ZodString;
4884
- enabled: z.ZodOptional<z.ZodBoolean>;
4882
+ projectId: z.ZodString;
4883
+ agentId: z.ZodString;
4884
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4885
4885
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4886
4886
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4887
4887
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4897,12 +4897,12 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
4897
4897
  in: {};
4898
4898
  }>;
4899
4899
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
4900
- id: z.ZodOptional<z.ZodString>;
4901
4900
  name: z.ZodOptional<z.ZodString>;
4902
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4903
- agentId: z.ZodOptional<z.ZodString>;
4904
- projectId: z.ZodOptional<z.ZodString>;
4901
+ id: z.ZodOptional<z.ZodString>;
4905
4902
  tenantId: z.ZodOptional<z.ZodString>;
4903
+ projectId: z.ZodOptional<z.ZodString>;
4904
+ agentId: z.ZodOptional<z.ZodString>;
4905
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4906
4906
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4907
4907
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4908
4908
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -4940,9 +4940,9 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4940
4940
  createdBy: z.ZodNullable<z.ZodString>;
4941
4941
  }>, z.core.$strip>;
4942
4942
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
4943
+ enabled: z.ZodOptional<z.ZodBoolean>;
4943
4944
  name: z.ZodString;
4944
4945
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4945
- enabled: z.ZodOptional<z.ZodBoolean>;
4946
4946
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4947
4947
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4948
4948
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4956,9 +4956,9 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
4956
4956
  id: z.ZodOptional<z.ZodString>;
4957
4957
  }, z.core.$strip>;
4958
4958
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
4959
+ enabled: z.ZodOptional<z.ZodBoolean>;
4959
4960
  name: z.ZodString;
4960
4961
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4961
- enabled: z.ZodOptional<z.ZodBoolean>;
4962
4962
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4963
4963
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4964
4964
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4972,10 +4972,10 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
4972
4972
  id: z.ZodOptional<z.ZodString>;
4973
4973
  }, z.core.$strip>;
4974
4974
  declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
4975
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4975
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4976
4976
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4977
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4977
4978
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4978
- enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4979
4979
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4980
4980
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4981
4981
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5810,7 +5810,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
5810
5810
  }, {}, {
5811
5811
  length: 256;
5812
5812
  }>;
5813
- }, "id" | "name" | "createdAt" | "updatedAt" | "status" | "description" | "agentId" | "projectId" | "tenantId" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
5813
+ }, "name" | "id" | "createdAt" | "status" | "updatedAt" | "tenantId" | "projectId" | "agentId" | "description" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
5814
5814
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
5815
5815
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5816
5816
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -5843,19 +5843,19 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
5843
5843
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
5844
5844
  name: z.ZodString;
5845
5845
  createdAt: z.ZodOptional<z.ZodString>;
5846
- updatedAt: z.ZodOptional<z.ZodString>;
5847
5846
  status: z.ZodOptional<z.ZodString>;
5847
+ updatedAt: z.ZodOptional<z.ZodString>;
5848
5848
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5849
5849
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5850
5850
  scheduledTriggerId: z.ZodString;
5851
5851
  id: z.ZodOptional<z.ZodString>;
5852
5852
  }, z.core.$strip>;
5853
5853
  declare const ScheduledWorkflowApiUpdateSchema: z.ZodObject<{
5854
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5855
5854
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5855
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5856
5856
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5857
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5858
5857
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5858
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5859
5859
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5860
5860
  workflowRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5861
5861
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -5865,9 +5865,9 @@ type ScheduledWorkflowInsert = z.infer<typeof ScheduledWorkflowInsertSchema>;
5865
5865
  type ScheduledWorkflowUpdate = z.infer<typeof ScheduledWorkflowUpdateSchema>;
5866
5866
  declare const ScheduledTriggerInvocationStatusEnum: z.ZodEnum<{
5867
5867
  pending: "pending";
5868
+ failed: "failed";
5868
5869
  running: "running";
5869
5870
  completed: "completed";
5870
- failed: "failed";
5871
5871
  cancelled: "cancelled";
5872
5872
  }>;
5873
5873
  declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
@@ -5885,8 +5885,8 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
5885
5885
  id: z.ZodString;
5886
5886
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5887
5887
  type: z.ZodEnum<{
5888
- tag: "tag";
5889
5888
  commit: "commit";
5889
+ tag: "tag";
5890
5890
  branch: "branch";
5891
5891
  }>;
5892
5892
  name: z.ZodString;
@@ -5895,9 +5895,9 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
5895
5895
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5896
5896
  status: z.ZodEnum<{
5897
5897
  pending: "pending";
5898
+ failed: "failed";
5898
5899
  running: "running";
5899
5900
  completed: "completed";
5900
- failed: "failed";
5901
5901
  cancelled: "cancelled";
5902
5902
  }>;
5903
5903
  }, {
@@ -5930,7 +5930,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
5930
5930
  dataType: "json";
5931
5931
  columnType: "PgJsonb";
5932
5932
  data: {
5933
- type: "tag" | "commit" | "branch";
5933
+ type: "commit" | "tag" | "branch";
5934
5934
  name: string;
5935
5935
  hash: string;
5936
5936
  };
@@ -5946,7 +5946,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
5946
5946
  generated: undefined;
5947
5947
  }, {}, {
5948
5948
  $type: {
5949
- type: "tag" | "commit" | "branch";
5949
+ type: "commit" | "tag" | "branch";
5950
5950
  name: string;
5951
5951
  hash: string;
5952
5952
  };
@@ -5956,7 +5956,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
5956
5956
  tableName: "scheduled_trigger_invocations";
5957
5957
  dataType: "string";
5958
5958
  columnType: "PgVarchar";
5959
- data: "pending" | "running" | "completed" | "failed" | "cancelled";
5959
+ data: "pending" | "failed" | "running" | "completed" | "cancelled";
5960
5960
  driverParam: string;
5961
5961
  notNull: true;
5962
5962
  hasDefault: false;
@@ -5969,7 +5969,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
5969
5969
  generated: undefined;
5970
5970
  }, {}, {
5971
5971
  length: 50;
5972
- $type: "pending" | "running" | "completed" | "failed" | "cancelled";
5972
+ $type: "pending" | "failed" | "running" | "completed" | "cancelled";
5973
5973
  }>;
5974
5974
  scheduledFor: drizzle_orm_pg_core873.PgColumn<{
5975
5975
  name: "scheduled_for";
@@ -6215,7 +6215,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6215
6215
  dataType: "json";
6216
6216
  columnType: "PgJsonb";
6217
6217
  data: {
6218
- type: "tag" | "commit" | "branch";
6218
+ type: "commit" | "tag" | "branch";
6219
6219
  name: string;
6220
6220
  hash: string;
6221
6221
  };
@@ -6231,7 +6231,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6231
6231
  generated: undefined;
6232
6232
  }, {}, {
6233
6233
  $type: {
6234
- type: "tag" | "commit" | "branch";
6234
+ type: "commit" | "tag" | "branch";
6235
6235
  name: string;
6236
6236
  hash: string;
6237
6237
  };
@@ -6241,7 +6241,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6241
6241
  tableName: "scheduled_trigger_invocations";
6242
6242
  dataType: "string";
6243
6243
  columnType: "PgVarchar";
6244
- data: "pending" | "running" | "completed" | "failed" | "cancelled";
6244
+ data: "pending" | "failed" | "running" | "completed" | "cancelled";
6245
6245
  driverParam: string;
6246
6246
  notNull: true;
6247
6247
  hasDefault: false;
@@ -6254,7 +6254,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6254
6254
  generated: undefined;
6255
6255
  }, {}, {
6256
6256
  length: 50;
6257
- $type: "pending" | "running" | "completed" | "failed" | "cancelled";
6257
+ $type: "pending" | "failed" | "running" | "completed" | "cancelled";
6258
6258
  }>;
6259
6259
  scheduledFor: drizzle_orm_pg_core873.PgColumn<{
6260
6260
  name: "scheduled_for";
@@ -6474,23 +6474,23 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6474
6474
  }, {}, {
6475
6475
  length: 256;
6476
6476
  }>;
6477
- }, "id" | "createdAt" | "ref" | "status" | "agentId" | "projectId" | "tenantId" | "scheduledTriggerId" | "conversationIds" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6477
+ }, "id" | "createdAt" | "status" | "ref" | "tenantId" | "projectId" | "agentId" | "scheduledTriggerId" | "conversationIds" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6478
6478
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6479
6479
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
6480
6480
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
6481
- type: "tag" | "commit" | "branch";
6481
+ type: "commit" | "tag" | "branch";
6482
6482
  name: string;
6483
6483
  hash: string;
6484
6484
  }, {
6485
- type: "tag" | "commit" | "branch";
6485
+ type: "commit" | "tag" | "branch";
6486
6486
  name: string;
6487
6487
  hash: string;
6488
6488
  }, z.core.$ZodTypeInternals<{
6489
- type: "tag" | "commit" | "branch";
6489
+ type: "commit" | "tag" | "branch";
6490
6490
  name: string;
6491
6491
  hash: string;
6492
6492
  }, {
6493
- type: "tag" | "commit" | "branch";
6493
+ type: "commit" | "tag" | "branch";
6494
6494
  name: string;
6495
6495
  hash: string;
6496
6496
  }>>>>>;
@@ -6526,8 +6526,8 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentSc
6526
6526
  id: z.ZodString;
6527
6527
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6528
6528
  type: z.ZodEnum<{
6529
- tag: "tag";
6530
6529
  commit: "commit";
6530
+ tag: "tag";
6531
6531
  branch: "branch";
6532
6532
  }>;
6533
6533
  name: z.ZodString;
@@ -6536,32 +6536,32 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentSc
6536
6536
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6537
6537
  status: z.ZodEnum<{
6538
6538
  pending: "pending";
6539
+ failed: "failed";
6539
6540
  running: "running";
6540
6541
  completed: "completed";
6541
- failed: "failed";
6542
6542
  cancelled: "cancelled";
6543
6543
  }>;
6544
6544
  }>, z.core.$strip>;
6545
6545
  declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6546
6546
  createdAt: z.ZodOptional<z.ZodString>;
6547
+ status: z.ZodString;
6547
6548
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
6548
- type: "tag" | "commit" | "branch";
6549
+ type: "commit" | "tag" | "branch";
6549
6550
  name: string;
6550
6551
  hash: string;
6551
6552
  }, {
6552
- type: "tag" | "commit" | "branch";
6553
+ type: "commit" | "tag" | "branch";
6553
6554
  name: string;
6554
6555
  hash: string;
6555
6556
  }, z.core.$ZodTypeInternals<{
6556
- type: "tag" | "commit" | "branch";
6557
+ type: "commit" | "tag" | "branch";
6557
6558
  name: string;
6558
6559
  hash: string;
6559
6560
  }, {
6560
- type: "tag" | "commit" | "branch";
6561
+ type: "commit" | "tag" | "branch";
6561
6562
  name: string;
6562
6563
  hash: string;
6563
6564
  }>>>>;
6564
- status: z.ZodString;
6565
6565
  scheduledTriggerId: z.ZodString;
6566
6566
  conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6567
6567
  scheduledFor: z.ZodString;
@@ -6575,24 +6575,24 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6575
6575
  declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6576
6576
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6577
6577
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6578
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6578
6579
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
6579
- type: "tag" | "commit" | "branch";
6580
+ type: "commit" | "tag" | "branch";
6580
6581
  name: string;
6581
6582
  hash: string;
6582
6583
  }, {
6583
- type: "tag" | "commit" | "branch";
6584
+ type: "commit" | "tag" | "branch";
6584
6585
  name: string;
6585
6586
  hash: string;
6586
6587
  }, z.core.$ZodTypeInternals<{
6587
- type: "tag" | "commit" | "branch";
6588
+ type: "commit" | "tag" | "branch";
6588
6589
  name: string;
6589
6590
  hash: string;
6590
6591
  }, {
6591
- type: "tag" | "commit" | "branch";
6592
+ type: "commit" | "tag" | "branch";
6592
6593
  name: string;
6593
6594
  hash: string;
6594
6595
  }>>>>>>;
6595
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6596
6596
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6597
6597
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6598
6598
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6619,8 +6619,8 @@ declare const TaskSelectSchema: z.ZodObject<{
6619
6619
  id: z.ZodString;
6620
6620
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6621
6621
  type: z.ZodEnum<{
6622
- tag: "tag";
6623
6622
  commit: "commit";
6623
+ tag: "tag";
6624
6624
  branch: "branch";
6625
6625
  }>;
6626
6626
  name: z.ZodString;
@@ -6644,8 +6644,8 @@ declare const TaskInsertSchema: z.ZodObject<{
6644
6644
  conversationId: z.ZodOptional<z.ZodString>;
6645
6645
  ref: z.ZodObject<{
6646
6646
  type: z.ZodEnum<{
6647
- tag: "tag";
6648
6647
  commit: "commit";
6648
+ tag: "tag";
6649
6649
  branch: "branch";
6650
6650
  }>;
6651
6651
  name: z.ZodString;
@@ -6669,8 +6669,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
6669
6669
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6670
6670
  ref: z.ZodOptional<z.ZodObject<{
6671
6671
  type: z.ZodEnum<{
6672
- tag: "tag";
6673
6672
  commit: "commit";
6673
+ tag: "tag";
6674
6674
  branch: "branch";
6675
6675
  }>;
6676
6676
  name: z.ZodString;
@@ -6693,8 +6693,8 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
6693
6693
  id: z.ZodString;
6694
6694
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6695
6695
  type: z.ZodEnum<{
6696
- tag: "tag";
6697
6696
  commit: "commit";
6697
+ tag: "tag";
6698
6698
  branch: "branch";
6699
6699
  }>;
6700
6700
  name: z.ZodString;
@@ -6715,8 +6715,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
6715
6715
  conversationId: z.ZodOptional<z.ZodString>;
6716
6716
  ref: z.ZodObject<{
6717
6717
  type: z.ZodEnum<{
6718
- tag: "tag";
6719
6718
  commit: "commit";
6719
+ tag: "tag";
6720
6720
  branch: "branch";
6721
6721
  }>;
6722
6722
  name: z.ZodString;
@@ -6724,20 +6724,20 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
6724
6724
  }, z.core.$strip>;
6725
6725
  }>, z.core.$strip>;
6726
6726
  declare const TaskApiUpdateSchema: z.ZodObject<{
6727
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6727
6728
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6728
6729
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6730
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6729
6731
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6730
6732
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6731
6733
  type: z.ZodEnum<{
6732
- tag: "tag";
6733
6734
  commit: "commit";
6735
+ tag: "tag";
6734
6736
  branch: "branch";
6735
6737
  }>;
6736
6738
  name: z.ZodString;
6737
6739
  hash: z.ZodString;
6738
6740
  }, z.core.$strip>>>;
6739
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6740
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6741
6741
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6742
6742
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6743
6743
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7680,12 +7680,12 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
7680
7680
  }>;
7681
7681
  }, undefined>, undefined>;
7682
7682
  declare const ToolInsertSchema: z.ZodObject<{
7683
- id: z.ZodString;
7683
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7684
7684
  name: z.ZodString;
7685
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7686
- projectId: z.ZodString;
7685
+ id: z.ZodString;
7687
7686
  tenantId: z.ZodString;
7688
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7687
+ projectId: z.ZodString;
7688
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7689
7689
  config: z.ZodObject<{
7690
7690
  type: z.ZodLiteral<"mcp">;
7691
7691
  mcp: z.ZodObject<{
@@ -7736,8 +7736,8 @@ declare const ConversationSelectSchema: z.ZodObject<{
7736
7736
  id: z.ZodString;
7737
7737
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7738
7738
  type: z.ZodEnum<{
7739
- tag: "tag";
7740
7739
  commit: "commit";
7740
+ tag: "tag";
7741
7741
  branch: "branch";
7742
7742
  }>;
7743
7743
  name: z.ZodString;
@@ -7762,8 +7762,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
7762
7762
  contextConfigId: z.ZodOptional<z.ZodString>;
7763
7763
  ref: z.ZodObject<{
7764
7764
  type: z.ZodEnum<{
7765
- tag: "tag";
7766
7765
  commit: "commit";
7766
+ tag: "tag";
7767
7767
  branch: "branch";
7768
7768
  }>;
7769
7769
  name: z.ZodString;
@@ -7788,8 +7788,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
7788
7788
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7789
7789
  ref: z.ZodOptional<z.ZodObject<{
7790
7790
  type: z.ZodEnum<{
7791
- tag: "tag";
7792
7791
  commit: "commit";
7792
+ tag: "tag";
7793
7793
  branch: "branch";
7794
7794
  }>;
7795
7795
  name: z.ZodString;
@@ -7813,8 +7813,8 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
7813
7813
  id: z.ZodString;
7814
7814
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7815
7815
  type: z.ZodEnum<{
7816
- tag: "tag";
7817
7816
  commit: "commit";
7817
+ tag: "tag";
7818
7818
  branch: "branch";
7819
7819
  }>;
7820
7820
  name: z.ZodString;
@@ -7836,8 +7836,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7836
7836
  contextConfigId: z.ZodOptional<z.ZodString>;
7837
7837
  ref: z.ZodObject<{
7838
7838
  type: z.ZodEnum<{
7839
- tag: "tag";
7840
7839
  commit: "commit";
7840
+ tag: "tag";
7841
7841
  branch: "branch";
7842
7842
  }>;
7843
7843
  name: z.ZodString;
@@ -7845,23 +7845,23 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7845
7845
  }, z.core.$strip>;
7846
7846
  }>, z.core.$strip>;
7847
7847
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7848
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7849
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7848
7850
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7849
7851
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7850
7852
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7851
7853
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7852
7854
  type: z.ZodEnum<{
7853
- tag: "tag";
7854
7855
  commit: "commit";
7856
+ tag: "tag";
7855
7857
  branch: "branch";
7856
7858
  }>;
7857
7859
  name: z.ZodString;
7858
7860
  hash: z.ZodString;
7859
7861
  }, z.core.$strip>>>;
7860
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7861
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7862
7862
  agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7863
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7864
7863
  title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7864
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7865
7865
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7866
7866
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7867
7867
  }, z.core.$strip>;
@@ -8757,11 +8757,11 @@ declare const MessageApiInsertSchema: z.ZodObject<OmitProjectScope<{
8757
8757
  taskId: z.ZodOptional<z.ZodString>;
8758
8758
  }>, z.core.$strip>;
8759
8759
  declare const MessageApiUpdateSchema: z.ZodObject<{
8760
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8761
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8760
8762
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8761
8763
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8762
8764
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8763
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8764
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8765
8765
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8766
8766
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8767
8767
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -8792,8 +8792,8 @@ declare const ContextCacheSelectSchema: z.ZodObject<{
8792
8792
  id: z.ZodString;
8793
8793
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8794
8794
  type: z.ZodEnum<{
8795
- tag: "tag";
8796
8795
  commit: "commit";
8796
+ tag: "tag";
8797
8797
  branch: "branch";
8798
8798
  }>;
8799
8799
  name: z.ZodString;
@@ -8818,8 +8818,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8818
8818
  id: z.ZodString;
8819
8819
  ref: z.ZodObject<{
8820
8820
  type: z.ZodEnum<{
8821
- tag: "tag";
8822
8821
  commit: "commit";
8822
+ tag: "tag";
8823
8823
  branch: "branch";
8824
8824
  }>;
8825
8825
  name: z.ZodString;
@@ -8844,8 +8844,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8844
8844
  id: z.ZodOptional<z.ZodString>;
8845
8845
  ref: z.ZodOptional<z.ZodObject<{
8846
8846
  type: z.ZodEnum<{
8847
- tag: "tag";
8848
8847
  commit: "commit";
8848
+ tag: "tag";
8849
8849
  branch: "branch";
8850
8850
  }>;
8851
8851
  name: z.ZodString;
@@ -8870,8 +8870,8 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8870
8870
  id: z.ZodString;
8871
8871
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8872
8872
  type: z.ZodEnum<{
8873
- tag: "tag";
8874
8873
  commit: "commit";
8874
+ tag: "tag";
8875
8875
  branch: "branch";
8876
8876
  }>;
8877
8877
  name: z.ZodString;
@@ -8893,8 +8893,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8893
8893
  id: z.ZodString;
8894
8894
  ref: z.ZodObject<{
8895
8895
  type: z.ZodEnum<{
8896
- tag: "tag";
8897
8896
  commit: "commit";
8897
+ tag: "tag";
8898
8898
  branch: "branch";
8899
8899
  }>;
8900
8900
  name: z.ZodString;
@@ -8902,21 +8902,21 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8902
8902
  }, z.core.$strip>;
8903
8903
  }>, z.core.$strip>;
8904
8904
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8905
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8905
8906
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8906
8907
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8907
8908
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8908
8909
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8909
8910
  type: z.ZodEnum<{
8910
- tag: "tag";
8911
8911
  commit: "commit";
8912
+ tag: "tag";
8912
8913
  branch: "branch";
8913
8914
  }>;
8914
8915
  name: z.ZodString;
8915
8916
  hash: z.ZodString;
8916
8917
  }, z.core.$strip>>>;
8917
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8918
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8919
8918
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8919
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8920
8920
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8921
8921
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8922
8922
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -8933,8 +8933,8 @@ declare const DatasetRunSelectSchema: z.ZodObject<{
8933
8933
  id: z.ZodString;
8934
8934
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8935
8935
  type: z.ZodEnum<{
8936
- tag: "tag";
8937
8936
  commit: "commit";
8937
+ tag: "tag";
8938
8938
  branch: "branch";
8939
8939
  }>;
8940
8940
  name: z.ZodString;
@@ -8951,19 +8951,19 @@ declare const DatasetRunInsertSchema: z.ZodObject<{
8951
8951
  datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8952
8952
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8953
8953
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
8954
- type: "tag" | "commit" | "branch";
8954
+ type: "commit" | "tag" | "branch";
8955
8955
  name: string;
8956
8956
  hash: string;
8957
8957
  }, {
8958
- type: "tag" | "commit" | "branch";
8958
+ type: "commit" | "tag" | "branch";
8959
8959
  name: string;
8960
8960
  hash: string;
8961
8961
  }, z.core.$ZodTypeInternals<{
8962
- type: "tag" | "commit" | "branch";
8962
+ type: "commit" | "tag" | "branch";
8963
8963
  name: string;
8964
8964
  hash: string;
8965
8965
  }, {
8966
- type: "tag" | "commit" | "branch";
8966
+ type: "commit" | "tag" | "branch";
8967
8967
  name: string;
8968
8968
  hash: string;
8969
8969
  }>>>>;
@@ -8981,19 +8981,19 @@ declare const DatasetRunUpdateSchema: z.ZodObject<{
8981
8981
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8982
8982
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8983
8983
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
8984
- type: "tag" | "commit" | "branch";
8984
+ type: "commit" | "tag" | "branch";
8985
8985
  name: string;
8986
8986
  hash: string;
8987
8987
  }, {
8988
- type: "tag" | "commit" | "branch";
8988
+ type: "commit" | "tag" | "branch";
8989
8989
  name: string;
8990
8990
  hash: string;
8991
8991
  }, z.core.$ZodTypeInternals<{
8992
- type: "tag" | "commit" | "branch";
8992
+ type: "commit" | "tag" | "branch";
8993
8993
  name: string;
8994
8994
  hash: string;
8995
8995
  }, {
8996
- type: "tag" | "commit" | "branch";
8996
+ type: "commit" | "tag" | "branch";
8997
8997
  name: string;
8998
8998
  hash: string;
8999
8999
  }>>>>>;
@@ -9015,8 +9015,8 @@ declare const DatasetRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
9015
9015
  id: z.ZodString;
9016
9016
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9017
9017
  type: z.ZodEnum<{
9018
- tag: "tag";
9019
9018
  commit: "commit";
9019
+ tag: "tag";
9020
9020
  branch: "branch";
9021
9021
  }>;
9022
9022
  name: z.ZodString;
@@ -9027,19 +9027,19 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
9027
9027
  createdAt: z.ZodOptional<z.ZodString>;
9028
9028
  updatedAt: z.ZodOptional<z.ZodString>;
9029
9029
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
9030
- type: "tag" | "commit" | "branch";
9030
+ type: "commit" | "tag" | "branch";
9031
9031
  name: string;
9032
9032
  hash: string;
9033
9033
  }, {
9034
- type: "tag" | "commit" | "branch";
9034
+ type: "commit" | "tag" | "branch";
9035
9035
  name: string;
9036
9036
  hash: string;
9037
9037
  }, z.core.$ZodTypeInternals<{
9038
- type: "tag" | "commit" | "branch";
9038
+ type: "commit" | "tag" | "branch";
9039
9039
  name: string;
9040
9040
  hash: string;
9041
9041
  }, {
9042
- type: "tag" | "commit" | "branch";
9042
+ type: "commit" | "tag" | "branch";
9043
9043
  name: string;
9044
9044
  hash: string;
9045
9045
  }>>>>;
@@ -9051,19 +9051,19 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
9051
9051
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9052
9052
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9053
9053
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
9054
- type: "tag" | "commit" | "branch";
9054
+ type: "commit" | "tag" | "branch";
9055
9055
  name: string;
9056
9056
  hash: string;
9057
9057
  }, {
9058
- type: "tag" | "commit" | "branch";
9058
+ type: "commit" | "tag" | "branch";
9059
9059
  name: string;
9060
9060
  hash: string;
9061
9061
  }, z.core.$ZodTypeInternals<{
9062
- type: "tag" | "commit" | "branch";
9062
+ type: "commit" | "tag" | "branch";
9063
9063
  name: string;
9064
9064
  hash: string;
9065
9065
  }, {
9066
- type: "tag" | "commit" | "branch";
9066
+ type: "commit" | "tag" | "branch";
9067
9067
  name: string;
9068
9068
  hash: string;
9069
9069
  }>>>>>>;
@@ -9776,16 +9776,16 @@ declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9776
9776
  output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9777
9777
  createdAt: z.ZodOptional<z.ZodString>;
9778
9778
  updatedAt: z.ZodOptional<z.ZodString>;
9779
- evaluatorId: z.ZodString;
9780
9779
  conversationId: z.ZodString;
9780
+ evaluatorId: z.ZodString;
9781
9781
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9782
9782
  }, z.core.$strip>;
9783
9783
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9784
9784
  output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9785
9785
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9786
9786
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9787
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9788
9787
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9788
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9789
9789
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9790
9790
  }, z.core.$strip>;
9791
9791
  declare const EvaluationRunSelectSchema: z.ZodObject<{
@@ -9798,8 +9798,8 @@ declare const EvaluationRunSelectSchema: z.ZodObject<{
9798
9798
  id: z.ZodString;
9799
9799
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9800
9800
  type: z.ZodEnum<{
9801
- tag: "tag";
9802
9801
  commit: "commit";
9802
+ tag: "tag";
9803
9803
  branch: "branch";
9804
9804
  }>;
9805
9805
  name: z.ZodString;
@@ -9815,19 +9815,19 @@ declare const EvaluationRunInsertSchema: z.ZodObject<{
9815
9815
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9816
9816
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9817
9817
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
9818
- type: "tag" | "commit" | "branch";
9818
+ type: "commit" | "tag" | "branch";
9819
9819
  name: string;
9820
9820
  hash: string;
9821
9821
  }, {
9822
- type: "tag" | "commit" | "branch";
9822
+ type: "commit" | "tag" | "branch";
9823
9823
  name: string;
9824
9824
  hash: string;
9825
9825
  }, z.core.$ZodTypeInternals<{
9826
- type: "tag" | "commit" | "branch";
9826
+ type: "commit" | "tag" | "branch";
9827
9827
  name: string;
9828
9828
  hash: string;
9829
9829
  }, {
9830
- type: "tag" | "commit" | "branch";
9830
+ type: "commit" | "tag" | "branch";
9831
9831
  name: string;
9832
9832
  hash: string;
9833
9833
  }>>>>;
@@ -9844,19 +9844,19 @@ declare const EvaluationRunUpdateSchema: z.ZodObject<{
9844
9844
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9845
9845
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9846
9846
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
9847
- type: "tag" | "commit" | "branch";
9847
+ type: "commit" | "tag" | "branch";
9848
9848
  name: string;
9849
9849
  hash: string;
9850
9850
  }, {
9851
- type: "tag" | "commit" | "branch";
9851
+ type: "commit" | "tag" | "branch";
9852
9852
  name: string;
9853
9853
  hash: string;
9854
9854
  }, z.core.$ZodTypeInternals<{
9855
- type: "tag" | "commit" | "branch";
9855
+ type: "commit" | "tag" | "branch";
9856
9856
  name: string;
9857
9857
  hash: string;
9858
9858
  }, {
9859
- type: "tag" | "commit" | "branch";
9859
+ type: "commit" | "tag" | "branch";
9860
9860
  name: string;
9861
9861
  hash: string;
9862
9862
  }>>>>>;
@@ -9877,8 +9877,8 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
9877
9877
  id: z.ZodString;
9878
9878
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9879
9879
  type: z.ZodEnum<{
9880
- tag: "tag";
9881
9880
  commit: "commit";
9881
+ tag: "tag";
9882
9882
  branch: "branch";
9883
9883
  }>;
9884
9884
  name: z.ZodString;
@@ -9889,19 +9889,19 @@ declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9889
9889
  createdAt: z.ZodOptional<z.ZodString>;
9890
9890
  updatedAt: z.ZodOptional<z.ZodString>;
9891
9891
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
9892
- type: "tag" | "commit" | "branch";
9892
+ type: "commit" | "tag" | "branch";
9893
9893
  name: string;
9894
9894
  hash: string;
9895
9895
  }, {
9896
- type: "tag" | "commit" | "branch";
9896
+ type: "commit" | "tag" | "branch";
9897
9897
  name: string;
9898
9898
  hash: string;
9899
9899
  }, z.core.$ZodTypeInternals<{
9900
- type: "tag" | "commit" | "branch";
9900
+ type: "commit" | "tag" | "branch";
9901
9901
  name: string;
9902
9902
  hash: string;
9903
9903
  }, {
9904
- type: "tag" | "commit" | "branch";
9904
+ type: "commit" | "tag" | "branch";
9905
9905
  name: string;
9906
9906
  hash: string;
9907
9907
  }>>>>;
@@ -9912,19 +9912,19 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9912
9912
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9913
9913
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9914
9914
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
9915
- type: "tag" | "commit" | "branch";
9915
+ type: "commit" | "tag" | "branch";
9916
9916
  name: string;
9917
9917
  hash: string;
9918
9918
  }, {
9919
- type: "tag" | "commit" | "branch";
9919
+ type: "commit" | "tag" | "branch";
9920
9920
  name: string;
9921
9921
  hash: string;
9922
9922
  }, z.core.$ZodTypeInternals<{
9923
- type: "tag" | "commit" | "branch";
9923
+ type: "commit" | "tag" | "branch";
9924
9924
  name: string;
9925
9925
  hash: string;
9926
9926
  }, {
9927
- type: "tag" | "commit" | "branch";
9927
+ type: "commit" | "tag" | "branch";
9928
9928
  name: string;
9929
9929
  hash: string;
9930
9930
  }>>>>>>;
@@ -10275,8 +10275,8 @@ declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10275
10275
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10276
10276
  }, z.core.$strip>;
10277
10277
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10278
- id: z.ZodString;
10279
10278
  name: z.ZodString;
10279
+ id: z.ZodString;
10280
10280
  createdAt: z.ZodString;
10281
10281
  updatedAt: z.ZodString;
10282
10282
  description: z.ZodNullable<z.ZodString>;
@@ -12436,10 +12436,10 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12436
12436
  id: z.ZodString;
12437
12437
  }>, z.core.$strip>;
12438
12438
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12439
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12439
12440
  name: z.ZodString;
12440
12441
  createdAt: z.ZodOptional<z.ZodString>;
12441
12442
  updatedAt: z.ZodOptional<z.ZodString>;
12442
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12443
12443
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12444
12444
  model: z.ZodType<{
12445
12445
  model?: string | undefined;
@@ -12458,10 +12458,10 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12458
12458
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12459
12459
  }, z.core.$strip>;
12460
12460
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12461
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12461
12462
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12462
12463
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12463
12464
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12464
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12465
12465
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12466
12466
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12467
12467
  model?: string | undefined;
@@ -14151,11 +14151,11 @@ declare const SkillSelectSchema: z.ZodObject<{
14151
14151
  in: {};
14152
14152
  }>;
14153
14153
  declare const SkillInsertSchema: z.ZodObject<{
14154
- name: z.ZodString;
14155
14154
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
14156
- description: z.ZodString;
14157
- projectId: z.ZodString;
14155
+ name: z.ZodString;
14158
14156
  tenantId: z.ZodString;
14157
+ projectId: z.ZodString;
14158
+ description: z.ZodString;
14159
14159
  content: z.ZodString;
14160
14160
  }, {
14161
14161
  out: {};
@@ -14163,9 +14163,9 @@ declare const SkillInsertSchema: z.ZodObject<{
14163
14163
  }>;
14164
14164
  declare const SkillUpdateSchema: z.ZodObject<{
14165
14165
  metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
14166
- description: z.ZodOptional<z.ZodString>;
14167
- projectId: z.ZodOptional<z.ZodString>;
14168
14166
  tenantId: z.ZodOptional<z.ZodString>;
14167
+ projectId: z.ZodOptional<z.ZodString>;
14168
+ description: z.ZodOptional<z.ZodString>;
14169
14169
  content: z.ZodOptional<z.ZodString>;
14170
14170
  }, {
14171
14171
  out: {};
@@ -14183,11 +14183,11 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
14183
14183
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
14184
14184
  }>, z.core.$strip>;
14185
14185
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
14186
- name: z.ZodString;
14187
14186
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
14188
- description: z.ZodString;
14189
- projectId: z.ZodString;
14187
+ name: z.ZodString;
14190
14188
  tenantId: z.ZodString;
14189
+ projectId: z.ZodString;
14190
+ description: z.ZodString;
14191
14191
  content: z.ZodString;
14192
14192
  }>, z.core.$strip>;
14193
14193
  declare const SkillApiUpdateSchema: z.ZodObject<{
@@ -14569,11 +14569,11 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14569
14569
  }>;
14570
14570
  }, undefined>, undefined>;
14571
14571
  declare const DataComponentInsertSchema: z.ZodObject<{
14572
- id: z.ZodString;
14573
14572
  name: z.ZodString;
14574
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14575
- projectId: z.ZodString;
14573
+ id: z.ZodString;
14576
14574
  tenantId: z.ZodString;
14575
+ projectId: z.ZodString;
14576
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14577
14577
  props: z.ZodType<{
14578
14578
  [x: string]: unknown;
14579
14579
  type: "object";
@@ -14621,11 +14621,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14621
14621
  in: {};
14622
14622
  }>;
14623
14623
  declare const DataComponentUpdateSchema: z.ZodObject<{
14624
- id: z.ZodOptional<z.ZodString>;
14625
14624
  name: z.ZodOptional<z.ZodString>;
14626
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14627
- projectId: z.ZodOptional<z.ZodString>;
14625
+ id: z.ZodOptional<z.ZodString>;
14628
14626
  tenantId: z.ZodOptional<z.ZodString>;
14627
+ projectId: z.ZodOptional<z.ZodString>;
14628
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14629
14629
  props: z.ZodOptional<z.ZodType<{
14630
14630
  [x: string]: unknown;
14631
14631
  type: "object";
@@ -15302,7 +15302,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15302
15302
  }, {}, {
15303
15303
  length: 256;
15304
15304
  }>;
15305
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15305
+ }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15306
15306
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15307
15307
  dataComponentId: z.ZodOptional<z.ZodString>;
15308
15308
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15899,8 +15899,8 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15899
15899
  in: {};
15900
15900
  }>;
15901
15901
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15902
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15903
15902
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15903
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15904
15904
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15905
15905
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15906
15906
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -16318,10 +16318,10 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
16318
16318
  }>, z.core.$strip>;
16319
16319
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
16320
16320
  agentId: z.ZodString;
16321
- index: z.ZodInt;
16322
- alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
16323
16321
  subAgentId: z.ZodString;
16324
16322
  skillId: z.ZodString;
16323
+ index: z.ZodInt;
16324
+ alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
16325
16325
  }, {
16326
16326
  out: {};
16327
16327
  in: {};
@@ -16330,17 +16330,17 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
16330
16330
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16331
16331
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16332
16332
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16333
- index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
16334
- alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
16335
16333
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16336
16334
  skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16335
+ index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
16336
+ alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
16337
16337
  }, z.core.$strip>;
16338
16338
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
16339
- id: z.ZodString;
16339
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
16340
16340
  name: z.ZodString;
16341
+ id: z.ZodString;
16341
16342
  createdAt: z.ZodString;
16342
16343
  updatedAt: z.ZodString;
16343
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
16344
16344
  description: z.ZodString;
16345
16345
  content: z.ZodString;
16346
16346
  subAgentSkillId: z.ZodString;
@@ -16363,11 +16363,11 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
16363
16363
  in: {};
16364
16364
  }>;
16365
16365
  declare const ExternalAgentInsertSchema: z.ZodObject<{
16366
- id: z.ZodString;
16367
16366
  name: z.ZodString;
16368
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16369
- projectId: z.ZodString;
16367
+ id: z.ZodString;
16370
16368
  tenantId: z.ZodString;
16369
+ projectId: z.ZodString;
16370
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16371
16371
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16372
16372
  baseUrl: z.ZodURL;
16373
16373
  }, {
@@ -16375,11 +16375,11 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
16375
16375
  in: {};
16376
16376
  }>;
16377
16377
  declare const ExternalAgentUpdateSchema: z.ZodObject<{
16378
- id: z.ZodOptional<z.ZodString>;
16379
16378
  name: z.ZodOptional<z.ZodString>;
16380
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16381
- projectId: z.ZodOptional<z.ZodString>;
16379
+ id: z.ZodOptional<z.ZodString>;
16382
16380
  tenantId: z.ZodOptional<z.ZodString>;
16381
+ projectId: z.ZodOptional<z.ZodString>;
16382
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16383
16383
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16384
16384
  baseUrl: z.ZodOptional<z.ZodURL>;
16385
16385
  }, {
@@ -16398,24 +16398,24 @@ declare const ExternalAgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
16398
16398
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16399
16399
  }>, z.core.$strip>;
16400
16400
  declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
16401
- id: z.ZodString;
16402
16401
  name: z.ZodString;
16403
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16404
- projectId: z.ZodString;
16402
+ id: z.ZodString;
16405
16403
  tenantId: z.ZodString;
16404
+ projectId: z.ZodString;
16405
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16406
16406
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16407
16407
  baseUrl: z.ZodURL;
16408
16408
  }>, z.core.$strip>;
16409
16409
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16410
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16411
16410
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16411
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16412
16412
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16413
16413
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16414
16414
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
16415
16415
  }, z.core.$strip>;
16416
16416
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16417
- id: z.ZodString;
16418
16417
  name: z.ZodString;
16418
+ id: z.ZodString;
16419
16419
  createdAt: z.ZodString;
16420
16420
  updatedAt: z.ZodString;
16421
16421
  description: z.ZodNullable<z.ZodString>;
@@ -16472,7 +16472,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16472
16472
  providerOptions?: Record<string, any> | undefined;
16473
16473
  } | undefined;
16474
16474
  }>>>;
16475
- prompt: z.ZodNullable<z.ZodString>;
16476
16475
  stopWhen: z.ZodNullable<z.ZodType<{
16477
16476
  stepCountIs?: number | undefined;
16478
16477
  }, {
@@ -16482,11 +16481,12 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16482
16481
  }, {
16483
16482
  stepCountIs?: number | undefined;
16484
16483
  }>>>;
16484
+ prompt: z.ZodNullable<z.ZodString>;
16485
16485
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16486
16486
  type: z.ZodLiteral<"internal">;
16487
16487
  }, z.core.$strip>, z.ZodObject<{
16488
- id: z.ZodString;
16489
16488
  name: z.ZodString;
16489
+ id: z.ZodString;
16490
16490
  createdAt: z.ZodString;
16491
16491
  updatedAt: z.ZodString;
16492
16492
  description: z.ZodNullable<z.ZodString>;
@@ -16956,19 +16956,19 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
16956
16956
  }>;
16957
16957
  declare const ApiKeyUpdateSchema: z.ZodObject<{
16958
16958
  name: z.ZodOptional<z.ZodString>;
16959
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16960
16959
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16960
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16961
16961
  agentId: z.ZodOptional<z.ZodString>;
16962
16962
  }, {
16963
16963
  out: {};
16964
16964
  in: {};
16965
16965
  }>;
16966
16966
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16967
- id: z.ZodString;
16968
16967
  name: z.ZodNullable<z.ZodString>;
16968
+ id: z.ZodString;
16969
16969
  createdAt: z.ZodString;
16970
- updatedAt: z.ZodString;
16971
16970
  expiresAt: z.ZodNullable<z.ZodString>;
16971
+ updatedAt: z.ZodString;
16972
16972
  agentId: z.ZodString;
16973
16973
  publicId: z.ZodString;
16974
16974
  keyPrefix: z.ZodString;
@@ -16980,11 +16980,11 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
16980
16980
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16981
16981
  data: z.ZodObject<{
16982
16982
  apiKey: z.ZodObject<{
16983
- id: z.ZodString;
16984
16983
  name: z.ZodNullable<z.ZodString>;
16984
+ id: z.ZodString;
16985
16985
  createdAt: z.ZodString;
16986
- updatedAt: z.ZodString;
16987
16986
  expiresAt: z.ZodNullable<z.ZodString>;
16987
+ updatedAt: z.ZodString;
16988
16988
  agentId: z.ZodString;
16989
16989
  publicId: z.ZodString;
16990
16990
  keyPrefix: z.ZodString;
@@ -16999,8 +16999,8 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16999
16999
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
17000
17000
  name: z.ZodString;
17001
17001
  createdAt: z.ZodOptional<z.ZodString>;
17002
- updatedAt: z.ZodOptional<z.ZodString>;
17003
17002
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17003
+ updatedAt: z.ZodOptional<z.ZodString>;
17004
17004
  agentId: z.ZodString;
17005
17005
  }, {
17006
17006
  out: {};
@@ -17008,8 +17008,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
17008
17008
  }>;
17009
17009
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
17010
17010
  name: z.ZodOptional<z.ZodString>;
17011
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17012
17011
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17012
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17013
17013
  agentId: z.ZodOptional<z.ZodString>;
17014
17014
  }, {
17015
17015
  out: {};
@@ -17591,12 +17591,12 @@ declare const AppInsertSchema: z.ZodObject<{
17591
17591
  in: {};
17592
17592
  }>;
17593
17593
  declare const AppUpdateSchema: z.ZodObject<{
17594
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17594
17595
  name: z.ZodOptional<z.ZodString>;
17595
17596
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17596
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17597
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17598
17597
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17599
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17598
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17599
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17600
17600
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
17601
17601
  type: z.ZodLiteral<"web_client">;
17602
17602
  webClient: z.ZodObject<{
@@ -18125,15 +18125,15 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
18125
18125
  }, {}, {}>;
18126
18126
  }, undefined>, undefined>;
18127
18127
  declare const AppApiResponseSelectSchema: z.ZodObject<{
18128
+ enabled: z.ZodBoolean;
18128
18129
  type: z.ZodString;
18129
- id: z.ZodString;
18130
18130
  name: z.ZodString;
18131
+ id: z.ZodString;
18131
18132
  createdAt: z.ZodString;
18132
18133
  updatedAt: z.ZodString;
18133
- description: z.ZodNullable<z.ZodString>;
18134
- projectId: z.ZodNullable<z.ZodString>;
18135
18134
  tenantId: z.ZodNullable<z.ZodString>;
18136
- enabled: z.ZodBoolean;
18135
+ projectId: z.ZodNullable<z.ZodString>;
18136
+ description: z.ZodNullable<z.ZodString>;
18137
18137
  lastUsedAt: z.ZodNullable<z.ZodString>;
18138
18138
  defaultProjectId: z.ZodNullable<z.ZodString>;
18139
18139
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -18151,6 +18151,7 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
18151
18151
  in: {};
18152
18152
  }>;
18153
18153
  declare const AppApiInsertSchema: z.ZodObject<{
18154
+ enabled: z.ZodOptional<z.ZodBoolean>;
18154
18155
  type: z.ZodEnum<{
18155
18156
  web_client: "web_client";
18156
18157
  api: "api";
@@ -18158,10 +18159,9 @@ declare const AppApiInsertSchema: z.ZodObject<{
18158
18159
  name: z.ZodString;
18159
18160
  createdAt: z.ZodOptional<z.ZodString>;
18160
18161
  updatedAt: z.ZodOptional<z.ZodString>;
18161
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18162
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18163
18162
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18164
- enabled: z.ZodOptional<z.ZodBoolean>;
18163
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18164
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18165
18165
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
18166
18166
  type: z.ZodLiteral<"web_client">;
18167
18167
  webClient: z.ZodObject<{
@@ -18178,12 +18178,12 @@ declare const AppApiInsertSchema: z.ZodObject<{
18178
18178
  in: {};
18179
18179
  }>;
18180
18180
  declare const AppApiUpdateSchema: z.ZodObject<{
18181
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18181
18182
  name: z.ZodOptional<z.ZodString>;
18182
18183
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18183
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18184
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18185
18184
  tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18186
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18185
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18186
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18187
18187
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18188
18188
  type: z.ZodLiteral<"web_client">;
18189
18189
  webClient: z.ZodObject<{
@@ -18203,15 +18203,15 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18203
18203
  declare const AppApiCreationResponseSchema: z.ZodObject<{
18204
18204
  data: z.ZodObject<{
18205
18205
  app: z.ZodObject<{
18206
+ enabled: z.ZodBoolean;
18206
18207
  type: z.ZodString;
18207
- id: z.ZodString;
18208
18208
  name: z.ZodString;
18209
+ id: z.ZodString;
18209
18210
  createdAt: z.ZodString;
18210
18211
  updatedAt: z.ZodString;
18211
- description: z.ZodNullable<z.ZodString>;
18212
- projectId: z.ZodNullable<z.ZodString>;
18213
18212
  tenantId: z.ZodNullable<z.ZodString>;
18214
- enabled: z.ZodBoolean;
18213
+ projectId: z.ZodNullable<z.ZodString>;
18214
+ description: z.ZodNullable<z.ZodString>;
18215
18215
  lastUsedAt: z.ZodNullable<z.ZodString>;
18216
18216
  defaultProjectId: z.ZodNullable<z.ZodString>;
18217
18217
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -18683,11 +18683,11 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
18683
18683
  }, undefined>, undefined>;
18684
18684
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
18685
18685
  type: z.ZodString;
18686
- id: z.ZodString;
18687
18686
  name: z.ZodString;
18688
18687
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18689
- projectId: z.ZodString;
18688
+ id: z.ZodString;
18690
18689
  tenantId: z.ZodString;
18690
+ projectId: z.ZodString;
18691
18691
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18692
18692
  credentialStoreId: z.ZodString;
18693
18693
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -18698,11 +18698,11 @@ declare const CredentialReferenceInsertSchema: z.ZodObject<{
18698
18698
  }>;
18699
18699
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
18700
18700
  type: z.ZodOptional<z.ZodString>;
18701
- id: z.ZodOptional<z.ZodString>;
18702
18701
  name: z.ZodOptional<z.ZodString>;
18703
18702
  userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18704
- projectId: z.ZodOptional<z.ZodString>;
18703
+ id: z.ZodOptional<z.ZodString>;
18705
18704
  tenantId: z.ZodOptional<z.ZodString>;
18705
+ projectId: z.ZodOptional<z.ZodString>;
18706
18706
  toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18707
18707
  credentialStoreId: z.ZodOptional<z.ZodString>;
18708
18708
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
@@ -18712,11 +18712,11 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
18712
18712
  in: {};
18713
18713
  }>;
18714
18714
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
18715
- id: z.ZodString;
18716
18715
  name: z.ZodString;
18716
+ userId: z.ZodNullable<z.ZodString>;
18717
+ id: z.ZodString;
18717
18718
  createdAt: z.ZodString;
18718
18719
  updatedAt: z.ZodString;
18719
- userId: z.ZodNullable<z.ZodString>;
18720
18720
  toolId: z.ZodNullable<z.ZodString>;
18721
18721
  credentialStoreId: z.ZodString;
18722
18722
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -19304,9 +19304,9 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19304
19304
  }>>>;
19305
19305
  }, z.core.$strip>;
19306
19306
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19307
- id: z.ZodString;
19308
19307
  name: z.ZodString;
19309
19308
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19309
+ id: z.ZodString;
19310
19310
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19311
19311
  credentialStoreId: z.ZodString;
19312
19312
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -19319,9 +19319,9 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19319
19319
  }>;
19320
19320
  }, z.core.$strip>;
19321
19321
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
19322
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19323
19322
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19324
19323
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19324
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19325
19325
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19326
19326
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19327
19327
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
@@ -19390,12 +19390,12 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
19390
19390
  error_description: z.ZodOptional<z.ZodString>;
19391
19391
  }, z.core.$strip>;
19392
19392
  declare const McpToolSchema: z.ZodObject<{
19393
- id: z.ZodString;
19393
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
19394
19394
  name: z.ZodString;
19395
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19396
- projectId: z.ZodString;
19395
+ id: z.ZodString;
19397
19396
  tenantId: z.ZodString;
19398
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
19397
+ projectId: z.ZodString;
19398
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19399
19399
  config: z.ZodObject<{
19400
19400
  type: z.ZodLiteral<"mcp">;
19401
19401
  mcp: z.ZodObject<{
@@ -19449,22 +19449,22 @@ declare const McpToolSchema: z.ZodObject<{
19449
19449
  in: {};
19450
19450
  }>;
19451
19451
  declare const MCPToolConfigSchema: z.ZodObject<{
19452
- id: z.ZodString;
19452
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
19453
19453
  name: z.ZodString;
19454
+ id: z.ZodString;
19454
19455
  expiresAt: z.ZodOptional<z.ZodString>;
19455
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
19456
19456
  credentialScope: z.ZodOptional<z.ZodString>;
19457
19457
  imageUrl: z.ZodOptional<z.ZodString>;
19458
19458
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19459
19459
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19460
19460
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
19461
19461
  createdBy: z.ZodOptional<z.ZodString>;
19462
- relationshipId: z.ZodOptional<z.ZodString>;
19463
19462
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
19464
19463
  name: z.ZodString;
19465
19464
  description: z.ZodOptional<z.ZodString>;
19466
19465
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19467
19466
  }, z.core.$strip>>>;
19467
+ relationshipId: z.ZodOptional<z.ZodString>;
19468
19468
  tenantId: z.ZodOptional<z.ZodString>;
19469
19469
  projectId: z.ZodOptional<z.ZodString>;
19470
19470
  description: z.ZodOptional<z.ZodString>;
@@ -19485,9 +19485,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
19485
19485
  sessionId: z.ZodOptional<z.ZodString>;
19486
19486
  }, z.core.$strip>>;
19487
19487
  credential: z.ZodOptional<z.ZodObject<{
19488
- id: z.ZodString;
19489
19488
  name: z.ZodString;
19490
19489
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19490
+ id: z.ZodString;
19491
19491
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19492
19492
  credentialStoreId: z.ZodString;
19493
19493
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -19511,12 +19511,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
19511
19511
  in: {};
19512
19512
  }>;
19513
19513
  declare const ToolUpdateSchema: z.ZodObject<{
19514
- id: z.ZodOptional<z.ZodString>;
19514
+ headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
19515
19515
  name: z.ZodOptional<z.ZodString>;
19516
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19517
- projectId: z.ZodOptional<z.ZodString>;
19516
+ id: z.ZodOptional<z.ZodString>;
19518
19517
  tenantId: z.ZodOptional<z.ZodString>;
19519
- headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
19518
+ projectId: z.ZodOptional<z.ZodString>;
19519
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19520
19520
  config: z.ZodOptional<z.ZodObject<{
19521
19521
  type: z.ZodLiteral<"mcp">;
19522
19522
  mcp: z.ZodObject<{
@@ -19583,12 +19583,12 @@ declare const ToolApiSelectSchema: z.ZodObject<OmitProjectScope<{
19583
19583
  id: z.ZodString;
19584
19584
  }>, z.core.$strip>;
19585
19585
  declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
19586
- id: z.ZodString;
19586
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
19587
19587
  name: z.ZodString;
19588
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19589
- projectId: z.ZodString;
19588
+ id: z.ZodString;
19590
19589
  tenantId: z.ZodString;
19591
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
19590
+ projectId: z.ZodString;
19591
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19592
19592
  config: z.ZodObject<{
19593
19593
  type: z.ZodLiteral<"mcp">;
19594
19594
  mcp: z.ZodObject<{
@@ -19623,10 +19623,10 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
19623
19623
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
19624
19624
  }>, z.core.$strip>;
19625
19625
  declare const ToolApiUpdateSchema: z.ZodObject<{
19626
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19626
+ 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>>>>>>>;
19627
19627
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19628
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19628
19629
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19629
- 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>>>>>>>;
19630
19630
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
19631
19631
  type: z.ZodLiteral<"mcp">;
19632
19632
  mcp: z.ZodObject<{
@@ -19994,53 +19994,53 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
19994
19994
  }>;
19995
19995
  }, undefined>, undefined>;
19996
19996
  declare const FunctionToolInsertSchema: z.ZodObject<{
19997
- id: z.ZodString;
19998
19997
  name: z.ZodString;
19999
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20000
- agentId: z.ZodString;
20001
- projectId: z.ZodString;
19998
+ id: z.ZodString;
20002
19999
  tenantId: z.ZodString;
20000
+ projectId: z.ZodString;
20001
+ agentId: z.ZodString;
20002
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20003
20003
  functionId: z.ZodString;
20004
20004
  }, {
20005
20005
  out: {};
20006
20006
  in: {};
20007
20007
  }>;
20008
20008
  declare const FunctionToolUpdateSchema: z.ZodObject<{
20009
- id: z.ZodOptional<z.ZodString>;
20010
20009
  name: z.ZodOptional<z.ZodString>;
20011
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20012
- agentId: z.ZodOptional<z.ZodString>;
20013
- projectId: z.ZodOptional<z.ZodString>;
20010
+ id: z.ZodOptional<z.ZodString>;
20014
20011
  tenantId: z.ZodOptional<z.ZodString>;
20012
+ projectId: z.ZodOptional<z.ZodString>;
20013
+ agentId: z.ZodOptional<z.ZodString>;
20014
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20015
20015
  functionId: z.ZodOptional<z.ZodString>;
20016
20016
  }, {
20017
20017
  out: {};
20018
20018
  in: {};
20019
20019
  }>;
20020
20020
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
20021
- id: z.ZodString;
20022
20021
  name: z.ZodString;
20022
+ id: z.ZodString;
20023
20023
  createdAt: z.ZodString;
20024
20024
  updatedAt: z.ZodString;
20025
- description: z.ZodNullable<z.ZodString>;
20026
20025
  agentId: z.ZodString;
20026
+ description: z.ZodNullable<z.ZodString>;
20027
20027
  functionId: z.ZodString;
20028
20028
  relationshipId: z.ZodOptional<z.ZodString>;
20029
20029
  }, z.core.$strip>;
20030
20030
  declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
20031
- id: z.ZodString;
20032
20031
  name: z.ZodString;
20033
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20034
- agentId: z.ZodString;
20035
- projectId: z.ZodString;
20032
+ id: z.ZodString;
20036
20033
  tenantId: z.ZodString;
20034
+ projectId: z.ZodString;
20035
+ agentId: z.ZodString;
20036
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20037
20037
  functionId: z.ZodString;
20038
20038
  }>, z.core.$strip>;
20039
20039
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
20040
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20041
20040
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20042
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20041
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20043
20042
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20043
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20044
20044
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20045
20045
  }, z.core.$strip>;
20046
20046
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -20414,8 +20414,8 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
20414
20414
  id: z.ZodString;
20415
20415
  }>, z.core.$strip>;
20416
20416
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
20417
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
20418
20417
  subAgentId: z.ZodString;
20418
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
20419
20419
  functionToolId: z.ZodString;
20420
20420
  }, {
20421
20421
  out: {};
@@ -20806,9 +20806,9 @@ declare const FetchDefinitionSchema: z.ZodObject<{
20806
20806
  responseSchema: z.ZodOptional<z.ZodAny>;
20807
20807
  defaultValue: z.ZodOptional<z.ZodAny>;
20808
20808
  credential: z.ZodOptional<z.ZodObject<{
20809
- id: z.ZodString;
20810
20809
  name: z.ZodString;
20811
20810
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20811
+ id: z.ZodString;
20812
20812
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20813
20813
  credentialStoreId: z.ZodString;
20814
20814
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -20836,22 +20836,22 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
20836
20836
  }>;
20837
20837
  declare const ContextConfigInsertSchema: z.ZodObject<{
20838
20838
  id: z.ZodOptional<z.ZodString>;
20839
+ tenantId: z.ZodString;
20840
+ projectId: z.ZodString;
20841
+ agentId: z.ZodString;
20839
20842
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
20840
20843
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
20841
- agentId: z.ZodString;
20842
- projectId: z.ZodString;
20843
- tenantId: z.ZodString;
20844
20844
  }, {
20845
20845
  out: {};
20846
20846
  in: {};
20847
20847
  }>;
20848
20848
  declare const ContextConfigUpdateSchema: z.ZodObject<{
20849
20849
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20850
+ tenantId: z.ZodOptional<z.ZodString>;
20851
+ projectId: z.ZodOptional<z.ZodString>;
20852
+ agentId: z.ZodOptional<z.ZodString>;
20850
20853
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
20851
20854
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
20852
- agentId: z.ZodOptional<z.ZodString>;
20853
- projectId: z.ZodOptional<z.ZodString>;
20854
- tenantId: z.ZodOptional<z.ZodString>;
20855
20855
  }, {
20856
20856
  out: {};
20857
20857
  in: {};
@@ -21359,16 +21359,16 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<OmitAgentScope<{
21359
21359
  }, z.core.$strip>>>>;
21360
21360
  }>, z.core.$strip>;
21361
21361
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
21362
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21362
21363
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21363
21364
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21364
21365
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21366
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21365
21367
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21366
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21368
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21367
21369
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21368
21370
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21369
21371
  }, z.core.$strip>>>>>>;
21370
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21371
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21372
21372
  }, z.core.$strip>;
21373
21373
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21374
21374
  createdAt: drizzle_orm_pg_core873.PgColumn<{
@@ -21747,18 +21747,18 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
21747
21747
  id: z.ZodString;
21748
21748
  }>, z.core.$strip>;
21749
21749
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
21750
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21750
21751
  createdAt: z.ZodOptional<z.ZodString>;
21751
21752
  updatedAt: z.ZodOptional<z.ZodString>;
21752
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21753
21753
  externalAgentId: z.ZodString;
21754
21754
  }, z.core.$strip>;
21755
21755
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
21756
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21756
21757
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21757
21758
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21758
21759
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21759
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21760
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21761
21760
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21761
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21762
21762
  }, z.core.$strip>;
21763
21763
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21764
21764
  createdAt: drizzle_orm_pg_core873.PgColumn<{
@@ -22137,16 +22137,16 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
22137
22137
  id: z.ZodString;
22138
22138
  }>, z.core.$strip>;
22139
22139
  declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
22140
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
22140
22141
  createdAt: z.ZodOptional<z.ZodString>;
22141
22142
  updatedAt: z.ZodOptional<z.ZodString>;
22142
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
22143
22143
  targetAgentId: z.ZodString;
22144
22144
  }, z.core.$strip>;
22145
22145
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
22146
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22146
22147
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22147
22148
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22148
22149
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22149
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22150
22150
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22151
22151
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22152
22152
  }, z.core.$strip>;
@@ -23491,7 +23491,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
23491
23491
  }, {}, {
23492
23492
  length: 256;
23493
23493
  }>;
23494
- }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23494
+ }, "metadata" | "type" | "name" | "id" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "description" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23495
23495
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
23496
23496
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23497
23497
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -23556,12 +23556,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
23556
23556
  id: z.ZodString;
23557
23557
  }>, z.core.$strip>;
23558
23558
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
23559
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
23559
23560
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23560
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23561
23561
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23562
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23562
23563
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23563
23564
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23564
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
23565
23565
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23566
23566
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23567
23567
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -23636,8 +23636,8 @@ declare const TeamAgentSchema: z.ZodObject<{
23636
23636
  description: z.ZodString;
23637
23637
  }, z.core.$strip>;
23638
23638
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
23639
- id: z.ZodString;
23640
23639
  name: z.ZodString;
23640
+ id: z.ZodString;
23641
23641
  createdAt: z.ZodOptional<z.ZodString>;
23642
23642
  updatedAt: z.ZodOptional<z.ZodString>;
23643
23643
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23689,14 +23689,14 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
23689
23689
  }, z.core.$strip>>;
23690
23690
  }, z.core.$strip>;
23691
23691
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23692
- id: z.ZodString;
23693
23692
  name: z.ZodString;
23693
+ id: z.ZodString;
23694
23694
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23695
23695
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23696
23696
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23697
23697
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23698
- id: z.ZodString;
23699
23698
  name: z.ZodString;
23699
+ id: z.ZodString;
23700
23700
  createdAt: z.ZodOptional<z.ZodString>;
23701
23701
  updatedAt: z.ZodOptional<z.ZodString>;
23702
23702
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23748,12 +23748,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23748
23748
  }, z.core.$strip>>;
23749
23749
  }, z.core.$strip>>;
23750
23750
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
23751
- id: z.ZodString;
23751
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
23752
23752
  name: z.ZodString;
23753
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23754
- projectId: z.ZodString;
23753
+ id: z.ZodString;
23755
23754
  tenantId: z.ZodString;
23756
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
23755
+ projectId: z.ZodString;
23756
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23757
23757
  config: z.ZodObject<{
23758
23758
  type: z.ZodLiteral<"mcp">;
23759
23759
  mcp: z.ZodObject<{
@@ -23788,11 +23788,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23788
23788
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
23789
23789
  }>, z.core.$strip>>>;
23790
23790
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
23791
- id: z.ZodString;
23792
23791
  name: z.ZodString;
23793
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23794
- projectId: z.ZodString;
23792
+ id: z.ZodString;
23795
23793
  tenantId: z.ZodString;
23794
+ projectId: z.ZodString;
23795
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23796
23796
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23797
23797
  baseUrl: z.ZodURL;
23798
23798
  }>, z.core.$strip>>>;
@@ -23802,12 +23802,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23802
23802
  description: z.ZodString;
23803
23803
  }, z.core.$strip>>>;
23804
23804
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
23805
- id: z.ZodString;
23806
23805
  name: z.ZodString;
23807
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23808
- agentId: z.ZodString;
23809
- projectId: z.ZodString;
23806
+ id: z.ZodString;
23810
23807
  tenantId: z.ZodString;
23808
+ projectId: z.ZodString;
23809
+ agentId: z.ZodString;
23810
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23811
23811
  functionId: z.ZodString;
23812
23812
  }>, z.core.$strip>>>;
23813
23813
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -23817,10 +23817,10 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23817
23817
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
23818
23818
  }, z.core.$strip>>>;
23819
23819
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23820
- id: z.ZodOptional<z.ZodString>;
23820
+ enabled: z.ZodOptional<z.ZodBoolean>;
23821
23821
  name: z.ZodString;
23822
+ id: z.ZodOptional<z.ZodString>;
23822
23823
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23823
- enabled: z.ZodOptional<z.ZodBoolean>;
23824
23824
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23825
23825
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
23826
23826
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -23831,9 +23831,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
23831
23831
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23832
23832
  }, z.core.$strip>>>;
23833
23833
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
23834
+ enabled: z.ZodOptional<z.ZodBoolean>;
23834
23835
  name: z.ZodString;
23835
23836
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23836
- enabled: z.ZodOptional<z.ZodBoolean>;
23837
23837
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23838
23838
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23839
23839
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23945,10 +23945,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
23945
23945
  in: {};
23946
23946
  }>;
23947
23947
  declare const ProjectInsertSchema: z.ZodObject<{
23948
- id: z.ZodString;
23949
23948
  name: z.ZodString;
23950
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23949
+ id: z.ZodString;
23951
23950
  tenantId: z.ZodString;
23951
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23952
23952
  models: z.ZodObject<{
23953
23953
  base: z.ZodObject<{
23954
23954
  model: z.ZodOptional<z.ZodString>;
@@ -23997,8 +23997,8 @@ declare const ProjectUpdateSchema: z.ZodObject<{
23997
23997
  in: {};
23998
23998
  }>;
23999
23999
  declare const ProjectApiSelectSchema: z.ZodObject<{
24000
- id: z.ZodString;
24001
24000
  name: z.ZodString;
24001
+ id: z.ZodString;
24002
24002
  createdAt: z.ZodString;
24003
24003
  updatedAt: z.ZodString;
24004
24004
  description: z.ZodNullable<z.ZodString>;
@@ -24025,8 +24025,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
24025
24025
  in: {};
24026
24026
  }>;
24027
24027
  declare const ProjectApiInsertSchema: z.ZodObject<{
24028
- id: z.ZodString;
24029
24028
  name: z.ZodString;
24029
+ id: z.ZodString;
24030
24030
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24031
24031
  models: z.ZodObject<{
24032
24032
  base: z.ZodObject<{
@@ -24076,8 +24076,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
24076
24076
  in: {};
24077
24077
  }>;
24078
24078
  declare const FullProjectDefinitionSchema: z.ZodObject<{
24079
- id: z.ZodString;
24080
24079
  name: z.ZodString;
24080
+ id: z.ZodString;
24081
24081
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24082
24082
  models: z.ZodObject<{
24083
24083
  base: z.ZodObject<{
@@ -24098,14 +24098,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24098
24098
  stepCountIs: z.ZodOptional<z.ZodNumber>;
24099
24099
  }, z.core.$strip>>;
24100
24100
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
24101
- id: z.ZodString;
24102
24101
  name: z.ZodString;
24102
+ id: z.ZodString;
24103
24103
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24104
24104
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24105
24105
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24106
24106
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24107
- id: z.ZodString;
24108
24107
  name: z.ZodString;
24108
+ id: z.ZodString;
24109
24109
  createdAt: z.ZodOptional<z.ZodString>;
24110
24110
  updatedAt: z.ZodOptional<z.ZodString>;
24111
24111
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24157,12 +24157,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24157
24157
  }, z.core.$strip>>;
24158
24158
  }, z.core.$strip>>;
24159
24159
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24160
- id: z.ZodString;
24160
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
24161
24161
  name: z.ZodString;
24162
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24163
- projectId: z.ZodString;
24162
+ id: z.ZodString;
24164
24163
  tenantId: z.ZodString;
24165
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
24164
+ projectId: z.ZodString;
24165
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24166
24166
  config: z.ZodObject<{
24167
24167
  type: z.ZodLiteral<"mcp">;
24168
24168
  mcp: z.ZodObject<{
@@ -24197,11 +24197,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24197
24197
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
24198
24198
  }>, z.core.$strip>>>;
24199
24199
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24200
- id: z.ZodString;
24201
24200
  name: z.ZodString;
24202
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24203
- projectId: z.ZodString;
24201
+ id: z.ZodString;
24204
24202
  tenantId: z.ZodString;
24203
+ projectId: z.ZodString;
24204
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24205
24205
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24206
24206
  baseUrl: z.ZodURL;
24207
24207
  }>, z.core.$strip>>>;
@@ -24211,12 +24211,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24211
24211
  description: z.ZodString;
24212
24212
  }, z.core.$strip>>>;
24213
24213
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
24214
- id: z.ZodString;
24215
24214
  name: z.ZodString;
24216
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24217
- agentId: z.ZodString;
24218
- projectId: z.ZodString;
24215
+ id: z.ZodString;
24219
24216
  tenantId: z.ZodString;
24217
+ projectId: z.ZodString;
24218
+ agentId: z.ZodString;
24219
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24220
24220
  functionId: z.ZodString;
24221
24221
  }>, z.core.$strip>>>;
24222
24222
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -24226,10 +24226,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24226
24226
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
24227
24227
  }, z.core.$strip>>>;
24228
24228
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24229
- id: z.ZodOptional<z.ZodString>;
24229
+ enabled: z.ZodOptional<z.ZodBoolean>;
24230
24230
  name: z.ZodString;
24231
+ id: z.ZodOptional<z.ZodString>;
24231
24232
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24232
- enabled: z.ZodOptional<z.ZodBoolean>;
24233
24233
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24234
24234
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24235
24235
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -24240,9 +24240,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24240
24240
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24241
24241
  }, z.core.$strip>>>;
24242
24242
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24243
+ enabled: z.ZodOptional<z.ZodBoolean>;
24243
24244
  name: z.ZodString;
24244
24245
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24245
- enabled: z.ZodOptional<z.ZodBoolean>;
24246
24246
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24247
24247
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24248
24248
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24295,12 +24295,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24295
24295
  prompt: z.ZodOptional<z.ZodString>;
24296
24296
  }, z.core.$strip>>;
24297
24297
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24298
- id: z.ZodString;
24298
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
24299
24299
  name: z.ZodString;
24300
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24301
- projectId: z.ZodString;
24300
+ id: z.ZodString;
24302
24301
  tenantId: z.ZodString;
24303
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
24302
+ projectId: z.ZodString;
24303
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24304
24304
  config: z.ZodObject<{
24305
24305
  type: z.ZodLiteral<"mcp">;
24306
24306
  mcp: z.ZodObject<{
@@ -24335,12 +24335,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24335
24335
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
24336
24336
  }>, z.core.$strip>>;
24337
24337
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
24338
- id: z.ZodString;
24339
24338
  name: z.ZodString;
24340
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24341
- agentId: z.ZodString;
24342
- projectId: z.ZodString;
24339
+ id: z.ZodString;
24343
24340
  tenantId: z.ZodString;
24341
+ projectId: z.ZodString;
24342
+ agentId: z.ZodString;
24343
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24344
24344
  functionId: z.ZodString;
24345
24345
  }>, z.core.$strip>>>;
24346
24346
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -24350,11 +24350,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24350
24350
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
24351
24351
  }, z.core.$strip>>>;
24352
24352
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24353
- name: z.ZodString;
24354
24353
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
24355
- description: z.ZodString;
24356
- projectId: z.ZodString;
24354
+ name: z.ZodString;
24357
24355
  tenantId: z.ZodString;
24356
+ projectId: z.ZodString;
24357
+ description: z.ZodString;
24358
24358
  content: z.ZodString;
24359
24359
  }>, z.core.$strip>>>;
24360
24360
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -24411,11 +24411,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24411
24411
  in: {};
24412
24412
  }>>>;
24413
24413
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24414
- id: z.ZodString;
24415
24414
  name: z.ZodString;
24416
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24417
- projectId: z.ZodString;
24415
+ id: z.ZodString;
24418
24416
  tenantId: z.ZodString;
24417
+ projectId: z.ZodString;
24418
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24419
24419
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24420
24420
  baseUrl: z.ZodURL;
24421
24421
  }>, z.core.$strip>>>;
@@ -24435,9 +24435,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24435
24435
  }, z.core.$strip>>>;
24436
24436
  }, z.core.$strip>>;
24437
24437
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24438
- id: z.ZodString;
24439
24438
  name: z.ZodString;
24440
24439
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24440
+ id: z.ZodString;
24441
24441
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24442
24442
  credentialStoreId: z.ZodString;
24443
24443
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -24456,8 +24456,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24456
24456
  in: {};
24457
24457
  }>;
24458
24458
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
24459
- id: z.ZodString;
24460
24459
  name: z.ZodString;
24460
+ id: z.ZodString;
24461
24461
  createdAt: z.ZodString;
24462
24462
  updatedAt: z.ZodString;
24463
24463
  description: z.ZodNullable<z.ZodString>;
@@ -24549,8 +24549,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
24549
24549
  }, z.core.$strip>]>>>;
24550
24550
  }, z.core.$strip>;
24551
24551
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
24552
- id: z.ZodString;
24553
24552
  name: z.ZodString;
24553
+ id: z.ZodString;
24554
24554
  createdAt: z.ZodString;
24555
24555
  updatedAt: z.ZodString;
24556
24556
  description: z.ZodNullable<z.ZodString>;
@@ -24648,16 +24648,16 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
24648
24648
  }, z.core.$strip>]>>>;
24649
24649
  }, z.core.$strip>;
24650
24650
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
24651
- id: z.ZodString;
24652
24651
  name: z.ZodString;
24652
+ id: z.ZodString;
24653
24653
  createdAt: z.ZodString;
24654
24654
  updatedAt: z.ZodString;
24655
24655
  description: z.ZodNullable<z.ZodString>;
24656
24656
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
24657
24657
  contextConfigId: z.ZodNullable<z.ZodString>;
24658
24658
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24659
- id: z.ZodString;
24660
24659
  name: z.ZodString;
24660
+ id: z.ZodString;
24661
24661
  createdAt: z.ZodString;
24662
24662
  updatedAt: z.ZodString;
24663
24663
  description: z.ZodNullable<z.ZodString>;
@@ -24794,12 +24794,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
24794
24794
  description: z.ZodString;
24795
24795
  }, z.core.$strip>>>;
24796
24796
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24797
- id: z.ZodString;
24798
24797
  name: z.ZodString;
24798
+ id: z.ZodString;
24799
24799
  createdAt: z.ZodString;
24800
24800
  updatedAt: z.ZodString;
24801
- description: z.ZodNullable<z.ZodString>;
24802
24801
  agentId: z.ZodString;
24802
+ description: z.ZodNullable<z.ZodString>;
24803
24803
  functionId: z.ZodString;
24804
24804
  relationshipId: z.ZodOptional<z.ZodString>;
24805
24805
  }, z.core.$strip>>>;
@@ -24876,8 +24876,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
24876
24876
  prompt: z.ZodNullable<z.ZodString>;
24877
24877
  }, z.core.$strip>;
24878
24878
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
24879
- id: z.ZodString;
24880
24879
  name: z.ZodString;
24880
+ id: z.ZodString;
24881
24881
  createdAt: z.ZodString;
24882
24882
  updatedAt: z.ZodString;
24883
24883
  description: z.ZodNullable<z.ZodString>;
@@ -24929,12 +24929,12 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
24929
24929
  description: z.ZodString;
24930
24930
  }, z.core.$strip>>>;
24931
24931
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24932
- id: z.ZodString;
24933
24932
  name: z.ZodString;
24933
+ id: z.ZodString;
24934
24934
  createdAt: z.ZodString;
24935
24935
  updatedAt: z.ZodString;
24936
- description: z.ZodNullable<z.ZodString>;
24937
24936
  agentId: z.ZodString;
24937
+ description: z.ZodNullable<z.ZodString>;
24938
24938
  functionId: z.ZodString;
24939
24939
  relationshipId: z.ZodOptional<z.ZodString>;
24940
24940
  }, z.core.$strip>>>;
@@ -25010,8 +25010,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25010
25010
  }, z.core.$strip>>;
25011
25011
  prompt: z.ZodNullable<z.ZodString>;
25012
25012
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25013
- id: z.ZodString;
25014
25013
  name: z.ZodString;
25014
+ id: z.ZodString;
25015
25015
  createdAt: z.ZodString;
25016
25016
  updatedAt: z.ZodString;
25017
25017
  description: z.ZodNullable<z.ZodString>;
@@ -25110,8 +25110,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25110
25110
  }, z.core.$strip>>;
25111
25111
  }, z.core.$strip>;
25112
25112
  declare const FullProjectSelectSchema: z.ZodObject<{
25113
- id: z.ZodString;
25114
25113
  name: z.ZodString;
25114
+ id: z.ZodString;
25115
25115
  createdAt: z.ZodString;
25116
25116
  updatedAt: z.ZodString;
25117
25117
  description: z.ZodNullable<z.ZodString>;
@@ -25134,16 +25134,16 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25134
25134
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25135
25135
  }, z.core.$strip>>;
25136
25136
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25137
- id: z.ZodString;
25138
25137
  name: z.ZodString;
25138
+ id: z.ZodString;
25139
25139
  createdAt: z.ZodString;
25140
25140
  updatedAt: z.ZodString;
25141
25141
  description: z.ZodNullable<z.ZodString>;
25142
25142
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25143
25143
  contextConfigId: z.ZodNullable<z.ZodString>;
25144
25144
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25145
- id: z.ZodString;
25146
25145
  name: z.ZodString;
25146
+ id: z.ZodString;
25147
25147
  createdAt: z.ZodString;
25148
25148
  updatedAt: z.ZodString;
25149
25149
  description: z.ZodNullable<z.ZodString>;
@@ -25280,12 +25280,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25280
25280
  description: z.ZodString;
25281
25281
  }, z.core.$strip>>>;
25282
25282
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25283
- id: z.ZodString;
25284
25283
  name: z.ZodString;
25284
+ id: z.ZodString;
25285
25285
  createdAt: z.ZodString;
25286
25286
  updatedAt: z.ZodString;
25287
- description: z.ZodNullable<z.ZodString>;
25288
25287
  agentId: z.ZodString;
25288
+ description: z.ZodNullable<z.ZodString>;
25289
25289
  functionId: z.ZodString;
25290
25290
  relationshipId: z.ZodOptional<z.ZodString>;
25291
25291
  }, z.core.$strip>>>;
@@ -25391,12 +25391,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25391
25391
  id: z.ZodString;
25392
25392
  }>, z.core.$strip>>;
25393
25393
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25394
- id: z.ZodString;
25395
25394
  name: z.ZodString;
25395
+ id: z.ZodString;
25396
25396
  createdAt: z.ZodString;
25397
25397
  updatedAt: z.ZodString;
25398
- description: z.ZodNullable<z.ZodString>;
25399
25398
  agentId: z.ZodString;
25399
+ description: z.ZodNullable<z.ZodString>;
25400
25400
  functionId: z.ZodString;
25401
25401
  relationshipId: z.ZodOptional<z.ZodString>;
25402
25402
  }, z.core.$strip>>>;
@@ -25539,11 +25539,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25539
25539
  }, z.core.$strip>>>;
25540
25540
  }, z.core.$strip>>;
25541
25541
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25542
- id: z.ZodString;
25543
25542
  name: z.ZodString;
25543
+ userId: z.ZodNullable<z.ZodString>;
25544
+ id: z.ZodString;
25544
25545
  createdAt: z.ZodString;
25545
25546
  updatedAt: z.ZodString;
25546
- userId: z.ZodNullable<z.ZodString>;
25547
25547
  toolId: z.ZodNullable<z.ZodString>;
25548
25548
  credentialStoreId: z.ZodString;
25549
25549
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -26135,8 +26135,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26135
26135
  in: {};
26136
26136
  }>;
26137
26137
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26138
- id: z.ZodString;
26139
26138
  name: z.ZodString;
26139
+ id: z.ZodString;
26140
26140
  createdAt: z.ZodString;
26141
26141
  updatedAt: z.ZodString;
26142
26142
  description: z.ZodNullable<z.ZodString>;
@@ -26188,12 +26188,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26188
26188
  id: z.ZodString;
26189
26189
  }>, z.core.$strip>>;
26190
26190
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26191
- id: z.ZodString;
26192
26191
  name: z.ZodString;
26192
+ id: z.ZodString;
26193
26193
  createdAt: z.ZodString;
26194
26194
  updatedAt: z.ZodString;
26195
- description: z.ZodNullable<z.ZodString>;
26196
26195
  agentId: z.ZodString;
26196
+ description: z.ZodNullable<z.ZodString>;
26197
26197
  functionId: z.ZodString;
26198
26198
  relationshipId: z.ZodOptional<z.ZodString>;
26199
26199
  }, z.core.$strip>>>;
@@ -26336,11 +26336,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26336
26336
  }, z.core.$strip>>>;
26337
26337
  }, z.core.$strip>>;
26338
26338
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26339
- id: z.ZodString;
26340
26339
  name: z.ZodString;
26340
+ userId: z.ZodNullable<z.ZodString>;
26341
+ id: z.ZodString;
26341
26342
  createdAt: z.ZodString;
26342
26343
  updatedAt: z.ZodString;
26343
- userId: z.ZodNullable<z.ZodString>;
26344
26344
  toolId: z.ZodNullable<z.ZodString>;
26345
26345
  credentialStoreId: z.ZodString;
26346
26346
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -26928,8 +26928,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26928
26928
  }>>>;
26929
26929
  }, z.core.$strip>>>;
26930
26930
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26931
- id: z.ZodString;
26932
26931
  name: z.ZodString;
26932
+ id: z.ZodString;
26933
26933
  createdAt: z.ZodString;
26934
26934
  updatedAt: z.ZodString;
26935
26935
  description: z.ZodNullable<z.ZodString>;
@@ -26981,12 +26981,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26981
26981
  description: z.ZodString;
26982
26982
  }, z.core.$strip>>>;
26983
26983
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26984
- id: z.ZodString;
26985
26984
  name: z.ZodString;
26985
+ id: z.ZodString;
26986
26986
  createdAt: z.ZodString;
26987
26987
  updatedAt: z.ZodString;
26988
- description: z.ZodNullable<z.ZodString>;
26989
26988
  agentId: z.ZodString;
26989
+ description: z.ZodNullable<z.ZodString>;
26990
26990
  functionId: z.ZodString;
26991
26991
  relationshipId: z.ZodOptional<z.ZodString>;
26992
26992
  }, z.core.$strip>>>;
@@ -27062,8 +27062,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27062
27062
  }, z.core.$strip>>;
27063
27063
  prompt: z.ZodNullable<z.ZodString>;
27064
27064
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27065
- id: z.ZodString;
27066
27065
  name: z.ZodString;
27066
+ id: z.ZodString;
27067
27067
  createdAt: z.ZodString;
27068
27068
  updatedAt: z.ZodString;
27069
27069
  description: z.ZodNullable<z.ZodString>;
@@ -27167,8 +27167,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27167
27167
  }>;
27168
27168
  declare const ProjectResponse: z.ZodObject<{
27169
27169
  data: z.ZodObject<{
27170
- id: z.ZodString;
27171
27170
  name: z.ZodString;
27171
+ id: z.ZodString;
27172
27172
  createdAt: z.ZodString;
27173
27173
  updatedAt: z.ZodString;
27174
27174
  description: z.ZodNullable<z.ZodString>;
@@ -27428,11 +27428,11 @@ declare const ContextConfigResponse: z.ZodObject<{
27428
27428
  }, z.core.$strip>;
27429
27429
  declare const ApiKeyResponse: z.ZodObject<{
27430
27430
  data: z.ZodObject<{
27431
- id: z.ZodString;
27432
27431
  name: z.ZodNullable<z.ZodString>;
27432
+ id: z.ZodString;
27433
27433
  createdAt: z.ZodString;
27434
- updatedAt: z.ZodString;
27435
27434
  expiresAt: z.ZodNullable<z.ZodString>;
27435
+ updatedAt: z.ZodString;
27436
27436
  agentId: z.ZodString;
27437
27437
  publicId: z.ZodString;
27438
27438
  keyPrefix: z.ZodString;
@@ -27444,11 +27444,11 @@ declare const ApiKeyResponse: z.ZodObject<{
27444
27444
  }, z.core.$strip>;
27445
27445
  declare const CredentialReferenceResponse: z.ZodObject<{
27446
27446
  data: z.ZodObject<{
27447
- id: z.ZodString;
27448
27447
  name: z.ZodString;
27448
+ userId: z.ZodNullable<z.ZodString>;
27449
+ id: z.ZodString;
27449
27450
  createdAt: z.ZodString;
27450
27451
  updatedAt: z.ZodString;
27451
- userId: z.ZodNullable<z.ZodString>;
27452
27452
  toolId: z.ZodNullable<z.ZodString>;
27453
27453
  credentialStoreId: z.ZodString;
27454
27454
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -28050,12 +28050,12 @@ declare const FunctionResponse: z.ZodObject<{
28050
28050
  }, z.core.$strip>;
28051
28051
  declare const FunctionToolResponse: z.ZodObject<{
28052
28052
  data: z.ZodObject<{
28053
- id: z.ZodString;
28054
28053
  name: z.ZodString;
28054
+ id: z.ZodString;
28055
28055
  createdAt: z.ZodString;
28056
28056
  updatedAt: z.ZodString;
28057
- description: z.ZodNullable<z.ZodString>;
28058
28057
  agentId: z.ZodString;
28058
+ description: z.ZodNullable<z.ZodString>;
28059
28059
  functionId: z.ZodString;
28060
28060
  relationshipId: z.ZodOptional<z.ZodString>;
28061
28061
  }, z.core.$strip>;
@@ -28237,8 +28237,8 @@ declare const TriggerResponse: z.ZodObject<{
28237
28237
  }>;
28238
28238
  signature: z.ZodObject<{
28239
28239
  source: z.ZodEnum<{
28240
- query: "query";
28241
28240
  body: "body";
28241
+ query: "query";
28242
28242
  header: "header";
28243
28243
  }>;
28244
28244
  key: z.ZodString;
@@ -28287,8 +28287,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
28287
28287
  id: z.ZodString;
28288
28288
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28289
28289
  type: z.ZodEnum<{
28290
- tag: "tag";
28291
28290
  commit: "commit";
28291
+ tag: "tag";
28292
28292
  branch: "branch";
28293
28293
  }>;
28294
28294
  name: z.ZodString;
@@ -28298,8 +28298,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
28298
28298
  }, z.core.$strip>;
28299
28299
  declare const ProjectListResponse: z.ZodObject<{
28300
28300
  data: z.ZodArray<z.ZodObject<{
28301
- id: z.ZodString;
28302
28301
  name: z.ZodString;
28302
+ id: z.ZodString;
28303
28303
  createdAt: z.ZodString;
28304
28304
  updatedAt: z.ZodString;
28305
28305
  description: z.ZodNullable<z.ZodString>;
@@ -28589,11 +28589,11 @@ declare const ContextConfigListResponse: z.ZodObject<{
28589
28589
  }, z.core.$strip>;
28590
28590
  declare const ApiKeyListResponse: z.ZodObject<{
28591
28591
  data: z.ZodArray<z.ZodObject<{
28592
- id: z.ZodString;
28593
28592
  name: z.ZodNullable<z.ZodString>;
28593
+ id: z.ZodString;
28594
28594
  createdAt: z.ZodString;
28595
- updatedAt: z.ZodString;
28596
28595
  expiresAt: z.ZodNullable<z.ZodString>;
28596
+ updatedAt: z.ZodString;
28597
28597
  agentId: z.ZodString;
28598
28598
  publicId: z.ZodString;
28599
28599
  keyPrefix: z.ZodString;
@@ -28611,15 +28611,15 @@ declare const ApiKeyListResponse: z.ZodObject<{
28611
28611
  }, z.core.$strip>;
28612
28612
  declare const AppResponse: z.ZodObject<{
28613
28613
  data: z.ZodObject<{
28614
+ enabled: z.ZodBoolean;
28614
28615
  type: z.ZodString;
28615
- id: z.ZodString;
28616
28616
  name: z.ZodString;
28617
+ id: z.ZodString;
28617
28618
  createdAt: z.ZodString;
28618
28619
  updatedAt: z.ZodString;
28619
- description: z.ZodNullable<z.ZodString>;
28620
- projectId: z.ZodNullable<z.ZodString>;
28621
28620
  tenantId: z.ZodNullable<z.ZodString>;
28622
- enabled: z.ZodBoolean;
28621
+ projectId: z.ZodNullable<z.ZodString>;
28622
+ description: z.ZodNullable<z.ZodString>;
28623
28623
  lastUsedAt: z.ZodNullable<z.ZodString>;
28624
28624
  defaultProjectId: z.ZodNullable<z.ZodString>;
28625
28625
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -28639,15 +28639,15 @@ declare const AppResponse: z.ZodObject<{
28639
28639
  }, z.core.$strip>;
28640
28640
  declare const AppListResponse: z.ZodObject<{
28641
28641
  data: z.ZodArray<z.ZodObject<{
28642
+ enabled: z.ZodBoolean;
28642
28643
  type: z.ZodString;
28643
- id: z.ZodString;
28644
28644
  name: z.ZodString;
28645
+ id: z.ZodString;
28645
28646
  createdAt: z.ZodString;
28646
28647
  updatedAt: z.ZodString;
28647
- description: z.ZodNullable<z.ZodString>;
28648
- projectId: z.ZodNullable<z.ZodString>;
28649
28648
  tenantId: z.ZodNullable<z.ZodString>;
28650
- enabled: z.ZodBoolean;
28649
+ projectId: z.ZodNullable<z.ZodString>;
28650
+ description: z.ZodNullable<z.ZodString>;
28651
28651
  lastUsedAt: z.ZodNullable<z.ZodString>;
28652
28652
  defaultProjectId: z.ZodNullable<z.ZodString>;
28653
28653
  defaultAgentId: z.ZodNullable<z.ZodString>;
@@ -28673,11 +28673,11 @@ declare const AppListResponse: z.ZodObject<{
28673
28673
  }, z.core.$strip>;
28674
28674
  declare const CredentialReferenceListResponse: z.ZodObject<{
28675
28675
  data: z.ZodArray<z.ZodObject<{
28676
- id: z.ZodString;
28677
28676
  name: z.ZodString;
28677
+ userId: z.ZodNullable<z.ZodString>;
28678
+ id: z.ZodString;
28678
28679
  createdAt: z.ZodString;
28679
28680
  updatedAt: z.ZodString;
28680
- userId: z.ZodNullable<z.ZodString>;
28681
28681
  toolId: z.ZodNullable<z.ZodString>;
28682
28682
  credentialStoreId: z.ZodString;
28683
28683
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -29291,12 +29291,12 @@ declare const FunctionListResponse: z.ZodObject<{
29291
29291
  }, z.core.$strip>;
29292
29292
  declare const FunctionToolListResponse: z.ZodObject<{
29293
29293
  data: z.ZodArray<z.ZodObject<{
29294
- id: z.ZodString;
29295
29294
  name: z.ZodString;
29295
+ id: z.ZodString;
29296
29296
  createdAt: z.ZodString;
29297
29297
  updatedAt: z.ZodString;
29298
- description: z.ZodNullable<z.ZodString>;
29299
29298
  agentId: z.ZodString;
29299
+ description: z.ZodNullable<z.ZodString>;
29300
29300
  functionId: z.ZodString;
29301
29301
  relationshipId: z.ZodOptional<z.ZodString>;
29302
29302
  }, z.core.$strip>>;
@@ -29546,8 +29546,8 @@ declare const TriggerListResponse: z.ZodObject<{
29546
29546
  }>;
29547
29547
  signature: z.ZodObject<{
29548
29548
  source: z.ZodEnum<{
29549
- query: "query";
29550
29549
  body: "body";
29550
+ query: "query";
29551
29551
  header: "header";
29552
29552
  }>;
29553
29553
  key: z.ZodString;
@@ -29602,8 +29602,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
29602
29602
  id: z.ZodString;
29603
29603
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29604
29604
  type: z.ZodEnum<{
29605
- tag: "tag";
29606
29605
  commit: "commit";
29606
+ tag: "tag";
29607
29607
  branch: "branch";
29608
29608
  }>;
29609
29609
  name: z.ZodString;
@@ -29619,12 +29619,12 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
29619
29619
  }, z.core.$strip>;
29620
29620
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29621
29621
  data: z.ZodObject<{
29622
- id: z.ZodString;
29622
+ enabled: z.ZodBoolean;
29623
29623
  name: z.ZodString;
29624
+ id: z.ZodString;
29624
29625
  createdAt: z.ZodString;
29625
29626
  updatedAt: z.ZodString;
29626
29627
  description: z.ZodNullable<z.ZodString>;
29627
- enabled: z.ZodBoolean;
29628
29628
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29629
29629
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29630
29630
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -29645,8 +29645,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29645
29645
  }>;
29646
29646
  signature: z.ZodObject<{
29647
29647
  source: z.ZodEnum<{
29648
- query: "query";
29649
29648
  body: "body";
29649
+ query: "query";
29650
29650
  header: "header";
29651
29651
  }>;
29652
29652
  key: z.ZodString;
@@ -29682,12 +29682,12 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
29682
29682
  }, z.core.$strip>;
29683
29683
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
29684
29684
  data: z.ZodObject<{
29685
- id: z.ZodString;
29685
+ enabled: z.ZodBoolean;
29686
29686
  name: z.ZodString;
29687
+ id: z.ZodString;
29687
29688
  createdAt: z.ZodString;
29688
29689
  updatedAt: z.ZodString;
29689
29690
  description: z.ZodNullable<z.ZodString>;
29690
- enabled: z.ZodBoolean;
29691
29691
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29692
29692
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29693
29693
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -29708,8 +29708,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
29708
29708
  }>;
29709
29709
  signature: z.ZodObject<{
29710
29710
  source: z.ZodEnum<{
29711
- query: "query";
29712
29711
  body: "body";
29712
+ query: "query";
29713
29713
  header: "header";
29714
29714
  }>;
29715
29715
  key: z.ZodString;
@@ -29746,12 +29746,12 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
29746
29746
  }, z.core.$strip>;
29747
29747
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
29748
29748
  data: z.ZodArray<z.ZodObject<{
29749
- id: z.ZodString;
29749
+ enabled: z.ZodBoolean;
29750
29750
  name: z.ZodString;
29751
+ id: z.ZodString;
29751
29752
  createdAt: z.ZodString;
29752
29753
  updatedAt: z.ZodString;
29753
29754
  description: z.ZodNullable<z.ZodString>;
29754
- enabled: z.ZodBoolean;
29755
29755
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29756
29756
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29757
29757
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
@@ -29772,8 +29772,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
29772
29772
  }>;
29773
29773
  signature: z.ZodObject<{
29774
29774
  source: z.ZodEnum<{
29775
- query: "query";
29776
29775
  body: "body";
29776
+ query: "query";
29777
29777
  header: "header";
29778
29778
  }>;
29779
29779
  key: z.ZodString;
@@ -29814,12 +29814,12 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
29814
29814
  }, z.core.$strip>;
29815
29815
  }, z.core.$strip>;
29816
29816
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
29817
- id: z.ZodString;
29817
+ enabled: z.ZodBoolean;
29818
29818
  name: z.ZodString;
29819
+ id: z.ZodString;
29819
29820
  createdAt: z.ZodString;
29820
29821
  updatedAt: z.ZodString;
29821
29822
  description: z.ZodNullable<z.ZodString>;
29822
- enabled: z.ZodBoolean;
29823
29823
  createdBy: z.ZodNullable<z.ZodString>;
29824
29824
  messageTemplate: z.ZodNullable<z.ZodString>;
29825
29825
  runAsUserId: z.ZodNullable<z.ZodString>;
@@ -29832,8 +29832,8 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
29832
29832
  timeoutSeconds: z.ZodNumber;
29833
29833
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
29834
29834
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
29835
- completed: "completed";
29836
29835
  failed: "failed";
29836
+ completed: "completed";
29837
29837
  }>>;
29838
29838
  lastRunConversationIds: z.ZodArray<z.ZodString>;
29839
29839
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -29893,12 +29893,12 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
29893
29893
  }, z.core.$strip>;
29894
29894
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
29895
29895
  data: z.ZodArray<z.ZodObject<{
29896
- id: z.ZodString;
29896
+ enabled: z.ZodBoolean;
29897
29897
  name: z.ZodString;
29898
+ id: z.ZodString;
29898
29899
  createdAt: z.ZodString;
29899
29900
  updatedAt: z.ZodString;
29900
29901
  description: z.ZodNullable<z.ZodString>;
29901
- enabled: z.ZodBoolean;
29902
29902
  createdBy: z.ZodNullable<z.ZodString>;
29903
29903
  messageTemplate: z.ZodNullable<z.ZodString>;
29904
29904
  runAsUserId: z.ZodNullable<z.ZodString>;
@@ -29911,8 +29911,8 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
29911
29911
  timeoutSeconds: z.ZodNumber;
29912
29912
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
29913
29913
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
29914
- completed: "completed";
29915
29914
  failed: "failed";
29915
+ completed: "completed";
29916
29916
  }>>;
29917
29917
  lastRunConversationIds: z.ZodArray<z.ZodString>;
29918
29918
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -29940,8 +29940,8 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
29940
29940
  id: z.ZodString;
29941
29941
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29942
29942
  type: z.ZodEnum<{
29943
- tag: "tag";
29944
29943
  commit: "commit";
29944
+ tag: "tag";
29945
29945
  branch: "branch";
29946
29946
  }>;
29947
29947
  name: z.ZodString;
@@ -29950,9 +29950,9 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
29950
29950
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
29951
29951
  status: z.ZodEnum<{
29952
29952
  pending: "pending";
29953
+ failed: "failed";
29953
29954
  running: "running";
29954
29955
  completed: "completed";
29955
- failed: "failed";
29956
29956
  cancelled: "cancelled";
29957
29957
  }>;
29958
29958
  }>, z.core.$strip>;
@@ -29973,8 +29973,8 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
29973
29973
  id: z.ZodString;
29974
29974
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29975
29975
  type: z.ZodEnum<{
29976
- tag: "tag";
29977
29976
  commit: "commit";
29977
+ tag: "tag";
29978
29978
  branch: "branch";
29979
29979
  }>;
29980
29980
  name: z.ZodString;
@@ -29983,9 +29983,9 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
29983
29983
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
29984
29984
  status: z.ZodEnum<{
29985
29985
  pending: "pending";
29986
+ failed: "failed";
29986
29987
  running: "running";
29987
29988
  completed: "completed";
29988
- failed: "failed";
29989
29989
  cancelled: "cancelled";
29990
29990
  }>;
29991
29991
  }>, z.core.$strip>>;
@@ -30070,11 +30070,11 @@ declare const SubAgentSkillResponse: z.ZodObject<{
30070
30070
  }, z.core.$strip>;
30071
30071
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
30072
30072
  data: z.ZodArray<z.ZodObject<{
30073
- id: z.ZodString;
30073
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
30074
30074
  name: z.ZodString;
30075
+ id: z.ZodString;
30075
30076
  createdAt: z.ZodString;
30076
30077
  updatedAt: z.ZodString;
30077
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
30078
30078
  description: z.ZodString;
30079
30079
  content: z.ZodString;
30080
30080
  subAgentSkillId: z.ZodString;
@@ -30085,8 +30085,8 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
30085
30085
  }, z.core.$strip>;
30086
30086
  declare const FullProjectDefinitionResponse: z.ZodObject<{
30087
30087
  data: z.ZodObject<{
30088
- id: z.ZodString;
30089
30088
  name: z.ZodString;
30089
+ id: z.ZodString;
30090
30090
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30091
30091
  models: z.ZodObject<{
30092
30092
  base: z.ZodObject<{
@@ -30107,14 +30107,14 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30107
30107
  stepCountIs: z.ZodOptional<z.ZodNumber>;
30108
30108
  }, z.core.$strip>>;
30109
30109
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
30110
- id: z.ZodString;
30111
30110
  name: z.ZodString;
30111
+ id: z.ZodString;
30112
30112
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30113
30113
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30114
30114
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30115
30115
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30116
- id: z.ZodString;
30117
30116
  name: z.ZodString;
30117
+ id: z.ZodString;
30118
30118
  createdAt: z.ZodOptional<z.ZodString>;
30119
30119
  updatedAt: z.ZodOptional<z.ZodString>;
30120
30120
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30166,12 +30166,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30166
30166
  }, z.core.$strip>>;
30167
30167
  }, z.core.$strip>>;
30168
30168
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
30169
- id: z.ZodString;
30169
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
30170
30170
  name: z.ZodString;
30171
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30172
- projectId: z.ZodString;
30171
+ id: z.ZodString;
30173
30172
  tenantId: z.ZodString;
30174
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
30173
+ projectId: z.ZodString;
30174
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30175
30175
  config: z.ZodObject<{
30176
30176
  type: z.ZodLiteral<"mcp">;
30177
30177
  mcp: z.ZodObject<{
@@ -30206,11 +30206,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30206
30206
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
30207
30207
  }>, z.core.$strip>>>;
30208
30208
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
30209
- id: z.ZodString;
30210
30209
  name: z.ZodString;
30211
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30212
- projectId: z.ZodString;
30210
+ id: z.ZodString;
30213
30211
  tenantId: z.ZodString;
30212
+ projectId: z.ZodString;
30213
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30214
30214
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30215
30215
  baseUrl: z.ZodURL;
30216
30216
  }>, z.core.$strip>>>;
@@ -30220,12 +30220,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30220
30220
  description: z.ZodString;
30221
30221
  }, z.core.$strip>>>;
30222
30222
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
30223
- id: z.ZodString;
30224
30223
  name: z.ZodString;
30225
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30226
- agentId: z.ZodString;
30227
- projectId: z.ZodString;
30224
+ id: z.ZodString;
30228
30225
  tenantId: z.ZodString;
30226
+ projectId: z.ZodString;
30227
+ agentId: z.ZodString;
30228
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30229
30229
  functionId: z.ZodString;
30230
30230
  }>, z.core.$strip>>>;
30231
30231
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -30235,10 +30235,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30235
30235
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
30236
30236
  }, z.core.$strip>>>;
30237
30237
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30238
- id: z.ZodOptional<z.ZodString>;
30238
+ enabled: z.ZodOptional<z.ZodBoolean>;
30239
30239
  name: z.ZodString;
30240
+ id: z.ZodOptional<z.ZodString>;
30240
30241
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30241
- enabled: z.ZodOptional<z.ZodBoolean>;
30242
30242
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30243
30243
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30244
30244
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -30249,9 +30249,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30249
30249
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30250
30250
  }, z.core.$strip>>>;
30251
30251
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30252
+ enabled: z.ZodOptional<z.ZodBoolean>;
30252
30253
  name: z.ZodString;
30253
30254
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30254
- enabled: z.ZodOptional<z.ZodBoolean>;
30255
30255
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30256
30256
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30257
30257
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30304,12 +30304,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30304
30304
  prompt: z.ZodOptional<z.ZodString>;
30305
30305
  }, z.core.$strip>>;
30306
30306
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
30307
- id: z.ZodString;
30307
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
30308
30308
  name: z.ZodString;
30309
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30310
- projectId: z.ZodString;
30309
+ id: z.ZodString;
30311
30310
  tenantId: z.ZodString;
30312
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
30311
+ projectId: z.ZodString;
30312
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30313
30313
  config: z.ZodObject<{
30314
30314
  type: z.ZodLiteral<"mcp">;
30315
30315
  mcp: z.ZodObject<{
@@ -30344,12 +30344,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30344
30344
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
30345
30345
  }>, z.core.$strip>>;
30346
30346
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
30347
- id: z.ZodString;
30348
30347
  name: z.ZodString;
30349
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30350
- agentId: z.ZodString;
30351
- projectId: z.ZodString;
30348
+ id: z.ZodString;
30352
30349
  tenantId: z.ZodString;
30350
+ projectId: z.ZodString;
30351
+ agentId: z.ZodString;
30352
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30353
30353
  functionId: z.ZodString;
30354
30354
  }>, z.core.$strip>>>;
30355
30355
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -30359,11 +30359,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30359
30359
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
30360
30360
  }, z.core.$strip>>>;
30361
30361
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
30362
- name: z.ZodString;
30363
30362
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
30364
- description: z.ZodString;
30365
- projectId: z.ZodString;
30363
+ name: z.ZodString;
30366
30364
  tenantId: z.ZodString;
30365
+ projectId: z.ZodString;
30366
+ description: z.ZodString;
30367
30367
  content: z.ZodString;
30368
30368
  }>, z.core.$strip>>>;
30369
30369
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -30420,11 +30420,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30420
30420
  in: {};
30421
30421
  }>>>;
30422
30422
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
30423
- id: z.ZodString;
30424
30423
  name: z.ZodString;
30425
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30426
- projectId: z.ZodString;
30424
+ id: z.ZodString;
30427
30425
  tenantId: z.ZodString;
30426
+ projectId: z.ZodString;
30427
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30428
30428
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30429
30429
  baseUrl: z.ZodURL;
30430
30430
  }>, z.core.$strip>>>;
@@ -30444,9 +30444,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30444
30444
  }, z.core.$strip>>>;
30445
30445
  }, z.core.$strip>>;
30446
30446
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30447
- id: z.ZodString;
30448
30447
  name: z.ZodString;
30449
30448
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30449
+ id: z.ZodString;
30450
30450
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30451
30451
  credentialStoreId: z.ZodString;
30452
30452
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -30467,8 +30467,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30467
30467
  }, z.core.$strip>;
30468
30468
  declare const FullProjectSelectResponse: z.ZodObject<{
30469
30469
  data: z.ZodObject<{
30470
- id: z.ZodString;
30471
30470
  name: z.ZodString;
30471
+ id: z.ZodString;
30472
30472
  createdAt: z.ZodString;
30473
30473
  updatedAt: z.ZodString;
30474
30474
  description: z.ZodNullable<z.ZodString>;
@@ -30491,16 +30491,16 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30491
30491
  stepCountIs: z.ZodOptional<z.ZodNumber>;
30492
30492
  }, z.core.$strip>>;
30493
30493
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
30494
- id: z.ZodString;
30495
30494
  name: z.ZodString;
30495
+ id: z.ZodString;
30496
30496
  createdAt: z.ZodString;
30497
30497
  updatedAt: z.ZodString;
30498
30498
  description: z.ZodNullable<z.ZodString>;
30499
30499
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30500
30500
  contextConfigId: z.ZodNullable<z.ZodString>;
30501
30501
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30502
- id: z.ZodString;
30503
30502
  name: z.ZodString;
30503
+ id: z.ZodString;
30504
30504
  createdAt: z.ZodString;
30505
30505
  updatedAt: z.ZodString;
30506
30506
  description: z.ZodNullable<z.ZodString>;
@@ -30637,12 +30637,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30637
30637
  description: z.ZodString;
30638
30638
  }, z.core.$strip>>>;
30639
30639
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30640
- id: z.ZodString;
30641
30640
  name: z.ZodString;
30641
+ id: z.ZodString;
30642
30642
  createdAt: z.ZodString;
30643
30643
  updatedAt: z.ZodString;
30644
- description: z.ZodNullable<z.ZodString>;
30645
30644
  agentId: z.ZodString;
30645
+ description: z.ZodNullable<z.ZodString>;
30646
30646
  functionId: z.ZodString;
30647
30647
  relationshipId: z.ZodOptional<z.ZodString>;
30648
30648
  }, z.core.$strip>>>;
@@ -30748,12 +30748,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30748
30748
  id: z.ZodString;
30749
30749
  }>, z.core.$strip>>;
30750
30750
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30751
- id: z.ZodString;
30752
30751
  name: z.ZodString;
30752
+ id: z.ZodString;
30753
30753
  createdAt: z.ZodString;
30754
30754
  updatedAt: z.ZodString;
30755
- description: z.ZodNullable<z.ZodString>;
30756
30755
  agentId: z.ZodString;
30756
+ description: z.ZodNullable<z.ZodString>;
30757
30757
  functionId: z.ZodString;
30758
30758
  relationshipId: z.ZodOptional<z.ZodString>;
30759
30759
  }, z.core.$strip>>>;
@@ -30896,11 +30896,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
30896
30896
  }, z.core.$strip>>>;
30897
30897
  }, z.core.$strip>>;
30898
30898
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30899
- id: z.ZodString;
30900
30899
  name: z.ZodString;
30900
+ userId: z.ZodNullable<z.ZodString>;
30901
+ id: z.ZodString;
30901
30902
  createdAt: z.ZodString;
30902
30903
  updatedAt: z.ZodString;
30903
- userId: z.ZodNullable<z.ZodString>;
30904
30904
  toolId: z.ZodNullable<z.ZodString>;
30905
30905
  credentialStoreId: z.ZodString;
30906
30906
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -31494,8 +31494,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31494
31494
  }, z.core.$strip>;
31495
31495
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31496
31496
  data: z.ZodObject<{
31497
- id: z.ZodString;
31498
31497
  name: z.ZodString;
31498
+ id: z.ZodString;
31499
31499
  createdAt: z.ZodString;
31500
31500
  updatedAt: z.ZodString;
31501
31501
  description: z.ZodNullable<z.ZodString>;
@@ -31547,12 +31547,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31547
31547
  id: z.ZodString;
31548
31548
  }>, z.core.$strip>>;
31549
31549
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31550
- id: z.ZodString;
31551
31550
  name: z.ZodString;
31551
+ id: z.ZodString;
31552
31552
  createdAt: z.ZodString;
31553
31553
  updatedAt: z.ZodString;
31554
- description: z.ZodNullable<z.ZodString>;
31555
31554
  agentId: z.ZodString;
31555
+ description: z.ZodNullable<z.ZodString>;
31556
31556
  functionId: z.ZodString;
31557
31557
  relationshipId: z.ZodOptional<z.ZodString>;
31558
31558
  }, z.core.$strip>>>;
@@ -31695,11 +31695,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
31695
31695
  }, z.core.$strip>>>;
31696
31696
  }, z.core.$strip>>;
31697
31697
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31698
- id: z.ZodString;
31699
31698
  name: z.ZodString;
31699
+ userId: z.ZodNullable<z.ZodString>;
31700
+ id: z.ZodString;
31700
31701
  createdAt: z.ZodString;
31701
31702
  updatedAt: z.ZodString;
31702
- userId: z.ZodNullable<z.ZodString>;
31703
31703
  toolId: z.ZodNullable<z.ZodString>;
31704
31704
  credentialStoreId: z.ZodString;
31705
31705
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -32287,8 +32287,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32287
32287
  }>>>;
32288
32288
  }, z.core.$strip>>>;
32289
32289
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
32290
- id: z.ZodString;
32291
32290
  name: z.ZodString;
32291
+ id: z.ZodString;
32292
32292
  createdAt: z.ZodString;
32293
32293
  updatedAt: z.ZodString;
32294
32294
  description: z.ZodNullable<z.ZodString>;
@@ -32340,12 +32340,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32340
32340
  description: z.ZodString;
32341
32341
  }, z.core.$strip>>>;
32342
32342
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32343
- id: z.ZodString;
32344
32343
  name: z.ZodString;
32344
+ id: z.ZodString;
32345
32345
  createdAt: z.ZodString;
32346
32346
  updatedAt: z.ZodString;
32347
- description: z.ZodNullable<z.ZodString>;
32348
32347
  agentId: z.ZodString;
32348
+ description: z.ZodNullable<z.ZodString>;
32349
32349
  functionId: z.ZodString;
32350
32350
  relationshipId: z.ZodOptional<z.ZodString>;
32351
32351
  }, z.core.$strip>>>;
@@ -32421,8 +32421,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32421
32421
  }, z.core.$strip>>;
32422
32422
  prompt: z.ZodNullable<z.ZodString>;
32423
32423
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32424
- id: z.ZodString;
32425
32424
  name: z.ZodString;
32425
+ id: z.ZodString;
32426
32426
  createdAt: z.ZodString;
32427
32427
  updatedAt: z.ZodString;
32428
32428
  description: z.ZodNullable<z.ZodString>;
@@ -32527,14 +32527,14 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32527
32527
  }, z.core.$strip>;
32528
32528
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32529
32529
  data: z.ZodObject<{
32530
- id: z.ZodString;
32531
32530
  name: z.ZodString;
32531
+ id: z.ZodString;
32532
32532
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32533
32533
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32534
32534
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32535
32535
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32536
- id: z.ZodString;
32537
32536
  name: z.ZodString;
32537
+ id: z.ZodString;
32538
32538
  createdAt: z.ZodOptional<z.ZodString>;
32539
32539
  updatedAt: z.ZodOptional<z.ZodString>;
32540
32540
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32586,12 +32586,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32586
32586
  }, z.core.$strip>>;
32587
32587
  }, z.core.$strip>>;
32588
32588
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32589
- id: z.ZodString;
32589
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32590
32590
  name: z.ZodString;
32591
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32592
- projectId: z.ZodString;
32591
+ id: z.ZodString;
32593
32592
  tenantId: z.ZodString;
32594
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32593
+ projectId: z.ZodString;
32594
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32595
32595
  config: z.ZodObject<{
32596
32596
  type: z.ZodLiteral<"mcp">;
32597
32597
  mcp: z.ZodObject<{
@@ -32626,11 +32626,11 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32626
32626
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
32627
32627
  }>, z.core.$strip>>>;
32628
32628
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32629
- id: z.ZodString;
32630
32629
  name: z.ZodString;
32631
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32632
- projectId: z.ZodString;
32630
+ id: z.ZodString;
32633
32631
  tenantId: z.ZodString;
32632
+ projectId: z.ZodString;
32633
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32634
32634
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32635
32635
  baseUrl: z.ZodURL;
32636
32636
  }>, z.core.$strip>>>;
@@ -32640,12 +32640,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32640
32640
  description: z.ZodString;
32641
32641
  }, z.core.$strip>>>;
32642
32642
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
32643
- id: z.ZodString;
32644
32643
  name: z.ZodString;
32645
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32646
- agentId: z.ZodString;
32647
- projectId: z.ZodString;
32644
+ id: z.ZodString;
32648
32645
  tenantId: z.ZodString;
32646
+ projectId: z.ZodString;
32647
+ agentId: z.ZodString;
32648
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32649
32649
  functionId: z.ZodString;
32650
32650
  }>, z.core.$strip>>>;
32651
32651
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -32655,10 +32655,10 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32655
32655
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32656
32656
  }, z.core.$strip>>>;
32657
32657
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32658
- id: z.ZodOptional<z.ZodString>;
32658
+ enabled: z.ZodOptional<z.ZodBoolean>;
32659
32659
  name: z.ZodString;
32660
+ id: z.ZodOptional<z.ZodString>;
32660
32661
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32661
- enabled: z.ZodOptional<z.ZodBoolean>;
32662
32662
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32663
32663
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32664
32664
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -32669,9 +32669,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32669
32669
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32670
32670
  }, z.core.$strip>>>;
32671
32671
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32672
+ enabled: z.ZodOptional<z.ZodBoolean>;
32672
32673
  name: z.ZodString;
32673
32674
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32674
- enabled: z.ZodOptional<z.ZodBoolean>;
32675
32675
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32676
32676
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32677
32677
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32726,16 +32726,16 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
32726
32726
  }, z.core.$strip>;
32727
32727
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
32728
32728
  data: z.ZodObject<{
32729
- id: z.ZodString;
32730
32729
  name: z.ZodString;
32730
+ id: z.ZodString;
32731
32731
  createdAt: z.ZodString;
32732
32732
  updatedAt: z.ZodString;
32733
32733
  description: z.ZodNullable<z.ZodString>;
32734
32734
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
32735
32735
  contextConfigId: z.ZodNullable<z.ZodString>;
32736
32736
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32737
- id: z.ZodString;
32738
32737
  name: z.ZodString;
32738
+ id: z.ZodString;
32739
32739
  createdAt: z.ZodString;
32740
32740
  updatedAt: z.ZodString;
32741
32741
  description: z.ZodNullable<z.ZodString>;
@@ -32872,12 +32872,12 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
32872
32872
  description: z.ZodString;
32873
32873
  }, z.core.$strip>>>;
32874
32874
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32875
- id: z.ZodString;
32876
32875
  name: z.ZodString;
32876
+ id: z.ZodString;
32877
32877
  createdAt: z.ZodString;
32878
32878
  updatedAt: z.ZodString;
32879
- description: z.ZodNullable<z.ZodString>;
32880
32879
  agentId: z.ZodString;
32880
+ description: z.ZodNullable<z.ZodString>;
32881
32881
  functionId: z.ZodString;
32882
32882
  relationshipId: z.ZodOptional<z.ZodString>;
32883
32883
  }, z.core.$strip>>>;
@@ -32975,12 +32975,12 @@ declare const ComponentAssociationListResponse: z.ZodObject<{
32975
32975
  }, z.core.$strip>;
32976
32976
  declare const McpToolResponse: z.ZodObject<{
32977
32977
  data: z.ZodObject<{
32978
- id: z.ZodString;
32978
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32979
32979
  name: z.ZodString;
32980
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32981
- projectId: z.ZodString;
32980
+ id: z.ZodString;
32982
32981
  tenantId: z.ZodString;
32983
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32982
+ projectId: z.ZodString;
32983
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32984
32984
  config: z.ZodObject<{
32985
32985
  type: z.ZodLiteral<"mcp">;
32986
32986
  mcp: z.ZodObject<{
@@ -33036,12 +33036,12 @@ declare const McpToolResponse: z.ZodObject<{
33036
33036
  }, z.core.$strip>;
33037
33037
  declare const McpToolListResponse: z.ZodObject<{
33038
33038
  data: z.ZodArray<z.ZodObject<{
33039
- id: z.ZodString;
33039
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
33040
33040
  name: z.ZodString;
33041
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33042
- projectId: z.ZodString;
33041
+ id: z.ZodString;
33043
33042
  tenantId: z.ZodString;
33044
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
33043
+ projectId: z.ZodString;
33044
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33045
33045
  config: z.ZodObject<{
33046
33046
  type: z.ZodLiteral<"mcp">;
33047
33047
  mcp: z.ZodObject<{
@@ -33597,8 +33597,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
33597
33597
  disconnected: "disconnected";
33598
33598
  }>;
33599
33599
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
33600
- User: "User";
33601
33600
  Organization: "Organization";
33601
+ User: "User";
33602
33602
  }>;
33603
33603
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
33604
33604
  createdAt: drizzle_orm_pg_core873.PgColumn<{
@@ -33693,7 +33693,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
33693
33693
  tableName: "work_app_github_installations";
33694
33694
  dataType: "string";
33695
33695
  columnType: "PgVarchar";
33696
- data: "User" | "Organization";
33696
+ data: "Organization" | "User";
33697
33697
  driverParam: string;
33698
33698
  notNull: true;
33699
33699
  hasDefault: false;
@@ -33706,7 +33706,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
33706
33706
  generated: undefined;
33707
33707
  }, {}, {
33708
33708
  length: 20;
33709
- $type: "User" | "Organization";
33709
+ $type: "Organization" | "User";
33710
33710
  }>;
33711
33711
  status: drizzle_orm_pg_core873.PgColumn<{
33712
33712
  name: "status";
@@ -33859,7 +33859,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
33859
33859
  tableName: "work_app_github_installations";
33860
33860
  dataType: "string";
33861
33861
  columnType: "PgVarchar";
33862
- data: "User" | "Organization";
33862
+ data: "Organization" | "User";
33863
33863
  driverParam: string;
33864
33864
  notNull: true;
33865
33865
  hasDefault: false;
@@ -33872,7 +33872,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
33872
33872
  generated: undefined;
33873
33873
  }, {}, {
33874
33874
  length: 20;
33875
- $type: "User" | "Organization";
33875
+ $type: "Organization" | "User";
33876
33876
  }>;
33877
33877
  status: drizzle_orm_pg_core873.PgColumn<{
33878
33878
  name: "status";
@@ -33940,8 +33940,8 @@ declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
33940
33940
  installationId: z.ZodString;
33941
33941
  accountLogin: z.ZodString;
33942
33942
  accountType: z.ZodEnum<{
33943
- User: "User";
33944
33943
  Organization: "Organization";
33944
+ User: "User";
33945
33945
  }>;
33946
33946
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
33947
33947
  pending: "pending";
@@ -33971,8 +33971,8 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
33971
33971
  installationId: z.ZodString;
33972
33972
  accountLogin: z.ZodString;
33973
33973
  accountType: z.ZodEnum<{
33974
- User: "User";
33975
33974
  Organization: "Organization";
33975
+ User: "User";
33976
33976
  }>;
33977
33977
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
33978
33978
  pending: "pending";
@@ -36160,16 +36160,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"sele
36160
36160
  }, {}, {}>;
36161
36161
  }, undefined>, undefined>;
36162
36162
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
36163
- agentId: z.ZodString;
36164
36163
  projectId: z.ZodString;
36164
+ agentId: z.ZodString;
36165
36165
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
36166
36166
  }, {
36167
36167
  out: {};
36168
36168
  in: {};
36169
36169
  }>;
36170
36170
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
36171
- agentId: z.ZodString;
36172
36171
  projectId: z.ZodString;
36172
+ agentId: z.ZodString;
36173
36173
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
36174
36174
  agentName: z.ZodString;
36175
36175
  projectName: z.ZodOptional<z.ZodString>;
@@ -36185,8 +36185,8 @@ declare const ChannelAccessModeSchema: z.ZodEnum<{
36185
36185
  selected: "selected";
36186
36186
  }>;
36187
36187
  declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{
36188
- projectId: z.ZodString;
36189
36188
  tenantId: z.ZodString;
36189
+ projectId: z.ZodString;
36190
36190
  toolId: z.ZodString;
36191
36191
  channelAccessMode: z.ZodEnum<{
36192
36192
  all: "all";
@@ -36415,8 +36415,8 @@ declare const UserProfileSelectSchema: drizzle_zod19.BuildSchema<"select", {
36415
36415
  }>;
36416
36416
  }, undefined>, undefined>;
36417
36417
  declare const UserProfileInsertSchema: z.ZodObject<{
36418
- id: z.ZodString;
36419
36418
  userId: z.ZodString;
36419
+ id: z.ZodString;
36420
36420
  attributes: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
36421
36421
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36422
36422
  }, {
@@ -36424,8 +36424,8 @@ declare const UserProfileInsertSchema: z.ZodObject<{
36424
36424
  in: {};
36425
36425
  }>;
36426
36426
  declare const UserProfileUpdateSchema: z.ZodObject<{
36427
- id: z.ZodOptional<z.ZodString>;
36428
36427
  userId: z.ZodOptional<z.ZodString>;
36428
+ id: z.ZodOptional<z.ZodString>;
36429
36429
  attributes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
36430
36430
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36431
36431
  }, {
@@ -36433,8 +36433,8 @@ declare const UserProfileUpdateSchema: z.ZodObject<{
36433
36433
  in: {};
36434
36434
  }>;
36435
36435
  declare const UserProfileApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
36436
- id: z.ZodString;
36437
36436
  userId: z.ZodString;
36437
+ id: z.ZodString;
36438
36438
  attributes: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
36439
36439
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36440
36440
  }>, z.core.$strip>;