@inkeep/agents-core 0.58.15 → 0.58.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/auth/auth-schema.d.ts +85 -85
  2. package/dist/auth/auth-validation-schemas.d.ts +135 -135
  3. package/dist/auth/auth.d.ts +28 -28
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/client-exports.d.ts +4 -4
  6. package/dist/data-access/index.d.ts +2 -2
  7. package/dist/data-access/index.js +2 -2
  8. package/dist/data-access/manage/agents.d.ts +42 -42
  9. package/dist/data-access/manage/artifactComponents.d.ts +16 -16
  10. package/dist/data-access/manage/contextConfigs.d.ts +20 -20
  11. package/dist/data-access/manage/dataComponents.d.ts +8 -8
  12. package/dist/data-access/manage/functionTools.d.ts +18 -18
  13. package/dist/data-access/manage/skills.d.ts +19 -19
  14. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  15. package/dist/data-access/manage/subAgentRelations.d.ts +34 -34
  16. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  17. package/dist/data-access/manage/subAgents.d.ts +18 -18
  18. package/dist/data-access/manage/tools.d.ts +27 -27
  19. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  20. package/dist/data-access/runtime/apps.d.ts +10 -10
  21. package/dist/data-access/runtime/conversations.d.ts +35 -35
  22. package/dist/data-access/runtime/messages.d.ts +27 -22
  23. package/dist/data-access/runtime/messages.js +6 -1
  24. package/dist/data-access/runtime/tasks.d.ts +8 -8
  25. package/dist/db/runtime/runtime-schema.d.ts +8 -8
  26. package/dist/index.d.ts +2 -2
  27. package/dist/index.js +2 -2
  28. package/dist/validation/dolt-schemas.d.ts +1 -1
  29. package/dist/validation/schemas.d.ts +558 -558
  30. package/package.json +1 -1
@@ -820,11 +820,11 @@ 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>>;
825
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
824
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
826
825
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
827
826
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
827
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
828
828
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
829
829
  base: z.ZodOptional<z.ZodObject<{
830
830
  model: z.ZodOptional<z.ZodString>;
@@ -839,6 +839,7 @@ 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>>>>;
842
843
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
843
844
  stepCountIs?: number | undefined;
844
845
  }, {
@@ -848,7 +849,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
848
849
  }, {
849
850
  stepCountIs?: number | undefined;
850
851
  }>>>>>>;
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
- }, "tenantId" | "projectId" | "id" | "name" | "description" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2486
+ }, "name" | "id" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "description" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, 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,9 +2750,11 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2750
2750
  id: z.ZodString;
2751
2751
  }>, z.core.$strip>;
2752
2752
  declare const AgentApiInsertSchema: z.ZodObject<{
2753
- 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>>;
2756
2758
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2757
2759
  base?: {
2758
2760
  model?: string | undefined;
@@ -2806,18 +2808,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2806
2808
  providerOptions?: Record<string, any> | undefined;
2807
2809
  } | undefined;
2808
2810
  }>>>>;
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
- }>>>>;
2818
2811
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2819
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2820
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2821
2812
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2822
2813
  enabled?: boolean | undefined;
2823
2814
  numEvents?: number | undefined;
@@ -2875,10 +2866,21 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2875
2866
  } | undefined;
2876
2867
  }[] | undefined;
2877
2868
  }>>>>;
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>>>>;
2882
2884
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2883
2885
  base?: {
2884
2886
  model?: string | undefined;
@@ -2932,18 +2934,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2932
2934
  providerOptions?: Record<string, any> | undefined;
2933
2935
  } | undefined;
2934
2936
  }>>>>>>;
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
- }>>>>>>;
2944
2937
  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>>>>;
2947
2938
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2948
2939
  enabled?: boolean | undefined;
2949
2940
  numEvents?: number | undefined;
@@ -3001,6 +2992,15 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3001
2992
  } | undefined;
3002
2993
  }[] | undefined;
3003
2994
  }>>>>>>;
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;
@@ -4079,7 +4079,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4079
4079
  }, {}, {
4080
4080
  length: 256;
4081
4081
  }>;
4082
- }, "tenantId" | "projectId" | "agentId" | "id" | "name" | "description" | "createdAt" | "updatedAt" | "enabled" | "createdBy" | "inputSchema" | "messageTemplate" | "runAsUserId" | "outputTransform" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4082
+ }, "name" | "id" | "createdAt" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "enabled" | "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>>;
@@ -4166,18 +4166,18 @@ 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>;
4170
4169
  name: z.ZodString;
4170
+ id: z.ZodOptional<z.ZodString>;
4171
4171
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4172
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
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4176
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4177
4175
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4176
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4178
4177
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4179
4178
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4180
4179
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4180
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4181
4181
  }, z.core.$strip>;
4182
4182
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4183
4183
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4202,17 +4202,16 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4202
4202
  in: {};
4203
4203
  }>;
4204
4204
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4205
- id: z.ZodString;
4206
4205
  name: z.ZodString;
4207
- description: z.ZodNullable<z.ZodString>;
4206
+ id: z.ZodString;
4208
4207
  createdAt: z.ZodString;
4209
4208
  updatedAt: z.ZodString;
4209
+ description: z.ZodNullable<z.ZodString>;
4210
4210
  enabled: z.ZodBoolean;
4211
4211
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4212
4212
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4213
- messageTemplate: z.ZodNullable<z.ZodString>;
4214
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4215
4213
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4214
+ messageTemplate: z.ZodNullable<z.ZodString>;
4216
4215
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4217
4216
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4218
4217
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4260,6 +4259,7 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4260
4259
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
4261
4260
  }, z.core.$strip>>;
4262
4261
  }, z.core.$strip>>>;
4262
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4263
4263
  webhookUrl: z.ZodString;
4264
4264
  }, z.core.$strip>;
4265
4265
  declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -5071,7 +5071,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
5071
5071
  }, {}, {
5072
5072
  length: 256;
5073
5073
  }>;
5074
- }, "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5074
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5075
5075
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5076
5076
  triggerId: z.ZodOptional<z.ZodString>;
5077
5077
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5147,40 +5147,40 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5147
5147
  in: {};
5148
5148
  }>;
5149
5149
  declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5150
- tenantId: z.ZodString;
5151
- projectId: z.ZodString;
5152
- agentId: z.ZodString;
5153
- id: z.ZodString;
5154
5150
  name: z.ZodString;
5151
+ id: z.ZodString;
5152
+ agentId: z.ZodString;
5153
+ projectId: z.ZodString;
5154
+ tenantId: z.ZodString;
5155
5155
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5156
5156
  enabled: z.ZodOptional<z.ZodBoolean>;
5157
5157
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5158
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5159
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5158
5160
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5159
5161
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5160
5162
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5161
5163
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5162
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5163
5164
  maxRetries: z.ZodOptional<z.ZodNumber>;
5164
5165
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5165
5166
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
5166
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5167
5167
  }, {
5168
5168
  out: {};
5169
5169
  in: {};
5170
5170
  }>;
5171
5171
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5172
- tenantId: z.ZodOptional<z.ZodString>;
5173
- projectId: z.ZodOptional<z.ZodString>;
5174
- agentId: z.ZodOptional<z.ZodString>;
5175
- id: z.ZodOptional<z.ZodString>;
5176
5172
  name: z.ZodOptional<z.ZodString>;
5173
+ id: z.ZodOptional<z.ZodString>;
5174
+ agentId: z.ZodOptional<z.ZodString>;
5175
+ projectId: z.ZodOptional<z.ZodString>;
5176
+ tenantId: z.ZodOptional<z.ZodString>;
5177
5177
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5178
5178
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5179
+ messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5180
+ runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5179
5181
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5180
5182
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5181
5183
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5182
- messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5183
- runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5184
5184
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5185
5185
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5186
5186
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5216,15 +5216,15 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5216
5216
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5217
5217
  enabled: z.ZodOptional<z.ZodBoolean>;
5218
5218
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5219
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5220
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5219
5221
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5220
5222
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5221
5223
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5222
5224
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5223
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5224
5225
  maxRetries: z.ZodOptional<z.ZodNumber>;
5225
5226
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5226
5227
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
5227
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5228
5228
  id: z.ZodOptional<z.ZodString>;
5229
5229
  }, z.core.$strip>;
5230
5230
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
@@ -5232,30 +5232,30 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5232
5232
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5233
5233
  enabled: z.ZodOptional<z.ZodBoolean>;
5234
5234
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5235
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5236
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5235
5237
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5236
5238
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5237
5239
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5238
5240
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5239
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5240
5241
  maxRetries: z.ZodOptional<z.ZodNumber>;
5241
5242
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5242
5243
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
5243
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5244
5244
  id: z.ZodOptional<z.ZodString>;
5245
5245
  }, z.core.$strip>;
5246
5246
  declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5247
- tenantId: z.ZodOptional<z.ZodString>;
5248
- projectId: z.ZodOptional<z.ZodString>;
5249
- agentId: z.ZodOptional<z.ZodString>;
5250
- id: z.ZodOptional<z.ZodString>;
5251
5247
  name: z.ZodOptional<z.ZodString>;
5248
+ id: z.ZodOptional<z.ZodString>;
5249
+ agentId: z.ZodOptional<z.ZodString>;
5250
+ projectId: z.ZodOptional<z.ZodString>;
5251
+ tenantId: z.ZodOptional<z.ZodString>;
5252
5252
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5253
5253
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5254
+ messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5255
+ runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5254
5256
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5255
5257
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5256
5258
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5257
- messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5258
- runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5259
5259
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5260
5260
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5261
5261
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -6088,7 +6088,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
6088
6088
  }, {}, {
6089
6089
  length: 256;
6090
6090
  }>;
6091
- }, "tenantId" | "projectId" | "agentId" | "id" | "name" | "description" | "createdAt" | "updatedAt" | "status" | "scheduledTriggerId" | "workflowRunId">, undefined>, undefined>;
6091
+ }, "name" | "id" | "createdAt" | "updatedAt" | "agentId" | "projectId" | "tenantId" | "description" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6092
6092
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6093
6093
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6094
6094
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6120,12 +6120,12 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6120
6120
  }>, z.core.$strip>;
6121
6121
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6122
6122
  name: z.ZodString;
6123
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6124
6123
  createdAt: z.ZodOptional<z.ZodString>;
6125
6124
  updatedAt: z.ZodOptional<z.ZodString>;
6125
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6126
6126
  status: z.ZodOptional<z.ZodString>;
6127
- scheduledTriggerId: z.ZodString;
6128
6127
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6128
+ scheduledTriggerId: z.ZodString;
6129
6129
  id: z.ZodOptional<z.ZodString>;
6130
6130
  }, z.core.$strip>;
6131
6131
  declare const ScheduledWorkflowApiUpdateSchema: z.ZodObject<{
@@ -6695,7 +6695,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6695
6695
  }, {}, {
6696
6696
  length: 256;
6697
6697
  }>;
6698
- }, "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6698
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "status" | "scheduledTriggerId" | "conversationIds" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6699
6699
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
6700
6700
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
6701
6701
  status: z.ZodOptional<z.ZodString>;
@@ -6741,11 +6741,11 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6741
6741
  createdAt: z.ZodOptional<z.ZodString>;
6742
6742
  status: z.ZodString;
6743
6743
  scheduledTriggerId: z.ZodString;
6744
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6744
6745
  scheduledFor: z.ZodString;
6745
6746
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6746
6747
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6747
6748
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
6748
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6749
6749
  attemptNumber: z.ZodOptional<z.ZodInt>;
6750
6750
  idempotencyKey: z.ZodString;
6751
6751
  id: z.ZodString;
@@ -6755,11 +6755,11 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6755
6755
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6756
6756
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6757
6757
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6758
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6758
6759
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6759
6760
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6760
6761
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6761
6762
  resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
6762
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6763
6763
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
6764
6764
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6765
6765
  }, z.core.$strip>;
@@ -6827,7 +6827,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
6827
6827
  dataType: "json";
6828
6828
  columnType: "PgJsonb";
6829
6829
  data: {
6830
- type: "commit" | "tag" | "branch";
6830
+ type: "tag" | "commit" | "branch";
6831
6831
  name: string;
6832
6832
  hash: string;
6833
6833
  };
@@ -6843,7 +6843,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
6843
6843
  generated: undefined;
6844
6844
  }, {}, {
6845
6845
  $type: {
6846
- type: "commit" | "tag" | "branch";
6846
+ type: "tag" | "commit" | "branch";
6847
6847
  name: string;
6848
6848
  hash: string;
6849
6849
  };
@@ -7041,7 +7041,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7041
7041
  dataType: "json";
7042
7042
  columnType: "PgJsonb";
7043
7043
  data: {
7044
- type: "commit" | "tag" | "branch";
7044
+ type: "tag" | "commit" | "branch";
7045
7045
  name: string;
7046
7046
  hash: string;
7047
7047
  };
@@ -7057,7 +7057,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7057
7057
  generated: undefined;
7058
7058
  }, {}, {
7059
7059
  $type: {
7060
- type: "commit" | "tag" | "branch";
7060
+ type: "tag" | "commit" | "branch";
7061
7061
  name: string;
7062
7062
  hash: string;
7063
7063
  };
@@ -7210,8 +7210,8 @@ declare const TaskInsertSchema: z.ZodObject<{
7210
7210
  conversationId: z.ZodOptional<z.ZodString>;
7211
7211
  ref: z.ZodObject<{
7212
7212
  type: z.ZodEnum<{
7213
- commit: "commit";
7214
7213
  tag: "tag";
7214
+ commit: "commit";
7215
7215
  branch: "branch";
7216
7216
  }>;
7217
7217
  name: z.ZodString;
@@ -7235,8 +7235,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
7235
7235
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7236
7236
  ref: z.ZodOptional<z.ZodObject<{
7237
7237
  type: z.ZodEnum<{
7238
- commit: "commit";
7239
7238
  tag: "tag";
7239
+ commit: "commit";
7240
7240
  branch: "branch";
7241
7241
  }>;
7242
7242
  name: z.ZodString;
@@ -7251,19 +7251,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
7251
7251
  updatedAt: z.ZodString;
7252
7252
  contextId: z.ZodString;
7253
7253
  ref: z.ZodNullable<z.ZodType<{
7254
- type: "commit" | "tag" | "branch";
7254
+ type: "tag" | "commit" | "branch";
7255
7255
  name: string;
7256
7256
  hash: string;
7257
7257
  }, {
7258
- type: "commit" | "tag" | "branch";
7258
+ type: "tag" | "commit" | "branch";
7259
7259
  name: string;
7260
7260
  hash: string;
7261
7261
  }, z.core.$ZodTypeInternals<{
7262
- type: "commit" | "tag" | "branch";
7262
+ type: "tag" | "commit" | "branch";
7263
7263
  name: string;
7264
7264
  hash: string;
7265
7265
  }, {
7266
- type: "commit" | "tag" | "branch";
7266
+ type: "tag" | "commit" | "branch";
7267
7267
  name: string;
7268
7268
  hash: string;
7269
7269
  }>>>;
@@ -7289,8 +7289,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7289
7289
  conversationId: z.ZodOptional<z.ZodString>;
7290
7290
  ref: z.ZodObject<{
7291
7291
  type: z.ZodEnum<{
7292
- commit: "commit";
7293
7292
  tag: "tag";
7293
+ commit: "commit";
7294
7294
  branch: "branch";
7295
7295
  }>;
7296
7296
  name: z.ZodString;
@@ -7298,23 +7298,23 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7298
7298
  }, z.core.$strip>;
7299
7299
  }>, z.core.$strip>;
7300
7300
  declare const TaskApiUpdateSchema: z.ZodObject<{
7301
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7302
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7303
7301
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7304
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7305
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7306
7302
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7307
7303
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7304
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7305
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7308
7306
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7309
7307
  type: z.ZodEnum<{
7310
- commit: "commit";
7311
7308
  tag: "tag";
7309
+ commit: "commit";
7312
7310
  branch: "branch";
7313
7311
  }>;
7314
7312
  name: z.ZodString;
7315
7313
  hash: z.ZodString;
7316
7314
  }, z.core.$strip>>>;
7317
7315
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7316
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7317
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7318
7318
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7319
7319
  }, z.core.$strip>;
7320
7320
  declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -7666,9 +7666,9 @@ declare const TaskRelationApiUpdateSchema: z.ZodObject<{
7666
7666
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7667
7667
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7668
7668
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7669
+ relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7669
7670
  parentTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7670
7671
  childTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7671
- relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7672
7672
  }, z.core.$strip>;
7673
7673
  declare const McpTransportConfigSchema: z.ZodObject<{
7674
7674
  type: z.ZodEnum<{
@@ -8254,10 +8254,10 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
8254
8254
  }>;
8255
8255
  }, undefined>, undefined>;
8256
8256
  declare const ToolInsertSchema: z.ZodObject<{
8257
- tenantId: z.ZodString;
8258
- projectId: z.ZodString;
8259
- id: z.ZodString;
8260
8257
  name: z.ZodString;
8258
+ id: z.ZodString;
8259
+ projectId: z.ZodString;
8260
+ tenantId: z.ZodString;
8261
8261
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8262
8262
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8263
8263
  config: z.ZodObject<{
@@ -8394,7 +8394,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8394
8394
  dataType: "json";
8395
8395
  columnType: "PgJsonb";
8396
8396
  data: {
8397
- type: "commit" | "tag" | "branch";
8397
+ type: "tag" | "commit" | "branch";
8398
8398
  name: string;
8399
8399
  hash: string;
8400
8400
  };
@@ -8410,7 +8410,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8410
8410
  generated: undefined;
8411
8411
  }, {}, {
8412
8412
  $type: {
8413
- type: "commit" | "tag" | "branch";
8413
+ type: "tag" | "commit" | "branch";
8414
8414
  name: string;
8415
8415
  hash: string;
8416
8416
  };
@@ -8623,7 +8623,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8623
8623
  dataType: "json";
8624
8624
  columnType: "PgJsonb";
8625
8625
  data: {
8626
- type: "commit" | "tag" | "branch";
8626
+ type: "tag" | "commit" | "branch";
8627
8627
  name: string;
8628
8628
  hash: string;
8629
8629
  };
@@ -8639,7 +8639,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8639
8639
  generated: undefined;
8640
8640
  }, {}, {
8641
8641
  $type: {
8642
- type: "commit" | "tag" | "branch";
8642
+ type: "tag" | "commit" | "branch";
8643
8643
  name: string;
8644
8644
  hash: string;
8645
8645
  };
@@ -8770,8 +8770,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
8770
8770
  contextConfigId: z.ZodOptional<z.ZodString>;
8771
8771
  ref: z.ZodObject<{
8772
8772
  type: z.ZodEnum<{
8773
- commit: "commit";
8774
8773
  tag: "tag";
8774
+ commit: "commit";
8775
8775
  branch: "branch";
8776
8776
  }>;
8777
8777
  name: z.ZodString;
@@ -8796,8 +8796,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
8796
8796
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8797
8797
  ref: z.ZodOptional<z.ZodObject<{
8798
8798
  type: z.ZodEnum<{
8799
- commit: "commit";
8800
8799
  tag: "tag";
8800
+ commit: "commit";
8801
8801
  branch: "branch";
8802
8802
  }>;
8803
8803
  name: z.ZodString;
@@ -8814,19 +8814,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
8814
8814
  agentId: z.ZodNullable<z.ZodString>;
8815
8815
  activeSubAgentId: z.ZodString;
8816
8816
  ref: z.ZodNullable<z.ZodType<{
8817
- type: "commit" | "tag" | "branch";
8817
+ type: "tag" | "commit" | "branch";
8818
8818
  name: string;
8819
8819
  hash: string;
8820
8820
  }, {
8821
- type: "commit" | "tag" | "branch";
8821
+ type: "tag" | "commit" | "branch";
8822
8822
  name: string;
8823
8823
  hash: string;
8824
8824
  }, z.core.$ZodTypeInternals<{
8825
- type: "commit" | "tag" | "branch";
8825
+ type: "tag" | "commit" | "branch";
8826
8826
  name: string;
8827
8827
  hash: string;
8828
8828
  }, {
8829
- type: "commit" | "tag" | "branch";
8829
+ type: "tag" | "commit" | "branch";
8830
8830
  name: string;
8831
8831
  hash: string;
8832
8832
  }>>>;
@@ -8852,8 +8852,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
8852
8852
  contextConfigId: z.ZodOptional<z.ZodString>;
8853
8853
  ref: z.ZodObject<{
8854
8854
  type: z.ZodEnum<{
8855
- commit: "commit";
8856
8855
  tag: "tag";
8856
+ commit: "commit";
8857
8857
  branch: "branch";
8858
8858
  }>;
8859
8859
  name: z.ZodString;
@@ -8861,25 +8861,25 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
8861
8861
  }, z.core.$strip>;
8862
8862
  }>, z.core.$strip>;
8863
8863
  declare const ConversationApiUpdateSchema: z.ZodObject<{
8864
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8865
8864
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8866
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
8867
8865
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8868
8866
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8869
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8870
- activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8867
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8868
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8869
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8870
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
8871
8871
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8872
8872
  type: z.ZodEnum<{
8873
- commit: "commit";
8874
8873
  tag: "tag";
8874
+ commit: "commit";
8875
8875
  branch: "branch";
8876
8876
  }>;
8877
8877
  name: z.ZodString;
8878
8878
  hash: z.ZodString;
8879
8879
  }, z.core.$strip>>>;
8880
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8880
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8881
+ activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8881
8882
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8882
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8883
8883
  }, z.core.$strip>;
8884
8884
  declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
8885
8885
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -9774,23 +9774,23 @@ declare const MessageApiInsertSchema: z.ZodObject<OmitProjectScope<{
9774
9774
  }>, z.core.$strip>;
9775
9775
  declare const MessageApiUpdateSchema: z.ZodObject<{
9776
9776
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9777
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9778
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
9779
- visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9780
9777
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9781
9778
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9779
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
9782
9780
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9783
9781
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9784
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9785
9782
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9786
9783
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9787
9784
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9788
9785
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9786
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9787
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9788
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9789
9789
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9790
9790
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9791
+ visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9791
9792
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9792
9793
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9793
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9794
9794
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9795
9795
  }, z.core.$strip>;
9796
9796
  declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -9891,7 +9891,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
9891
9891
  dataType: "json";
9892
9892
  columnType: "PgJsonb";
9893
9893
  data: {
9894
- type: "commit" | "tag" | "branch";
9894
+ type: "tag" | "commit" | "branch";
9895
9895
  name: string;
9896
9896
  hash: string;
9897
9897
  };
@@ -9907,7 +9907,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
9907
9907
  generated: undefined;
9908
9908
  }, {}, {
9909
9909
  $type: {
9910
- type: "commit" | "tag" | "branch";
9910
+ type: "tag" | "commit" | "branch";
9911
9911
  name: string;
9912
9912
  hash: string;
9913
9913
  };
@@ -10141,7 +10141,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10141
10141
  dataType: "json";
10142
10142
  columnType: "PgJsonb";
10143
10143
  data: {
10144
- type: "commit" | "tag" | "branch";
10144
+ type: "tag" | "commit" | "branch";
10145
10145
  name: string;
10146
10146
  hash: string;
10147
10147
  };
@@ -10157,7 +10157,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10157
10157
  generated: undefined;
10158
10158
  }, {}, {
10159
10159
  $type: {
10160
- type: "commit" | "tag" | "branch";
10160
+ type: "tag" | "commit" | "branch";
10161
10161
  name: string;
10162
10162
  hash: string;
10163
10163
  };
@@ -10309,8 +10309,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10309
10309
  id: z.ZodString;
10310
10310
  ref: z.ZodObject<{
10311
10311
  type: z.ZodEnum<{
10312
- commit: "commit";
10313
10312
  tag: "tag";
10313
+ commit: "commit";
10314
10314
  branch: "branch";
10315
10315
  }>;
10316
10316
  name: z.ZodString;
@@ -10335,8 +10335,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
10335
10335
  id: z.ZodOptional<z.ZodString>;
10336
10336
  ref: z.ZodOptional<z.ZodObject<{
10337
10337
  type: z.ZodEnum<{
10338
- commit: "commit";
10339
10338
  tag: "tag";
10339
+ commit: "commit";
10340
10340
  branch: "branch";
10341
10341
  }>;
10342
10342
  name: z.ZodString;
@@ -10353,19 +10353,19 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
10353
10353
  contextConfigId: z.ZodString;
10354
10354
  contextVariableKey: z.ZodString;
10355
10355
  ref: z.ZodNullable<z.ZodType<{
10356
- type: "commit" | "tag" | "branch";
10356
+ type: "tag" | "commit" | "branch";
10357
10357
  name: string;
10358
10358
  hash: string;
10359
10359
  }, {
10360
- type: "commit" | "tag" | "branch";
10360
+ type: "tag" | "commit" | "branch";
10361
10361
  name: string;
10362
10362
  hash: string;
10363
10363
  }, z.core.$ZodTypeInternals<{
10364
- type: "commit" | "tag" | "branch";
10364
+ type: "tag" | "commit" | "branch";
10365
10365
  name: string;
10366
10366
  hash: string;
10367
10367
  }, {
10368
- type: "commit" | "tag" | "branch";
10368
+ type: "tag" | "commit" | "branch";
10369
10369
  name: string;
10370
10370
  hash: string;
10371
10371
  }>>>;
@@ -10392,8 +10392,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10392
10392
  id: z.ZodString;
10393
10393
  ref: z.ZodObject<{
10394
10394
  type: z.ZodEnum<{
10395
- commit: "commit";
10396
10395
  tag: "tag";
10396
+ commit: "commit";
10397
10397
  branch: "branch";
10398
10398
  }>;
10399
10399
  name: z.ZodString;
@@ -10401,20 +10401,20 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10401
10401
  }, z.core.$strip>;
10402
10402
  }>, z.core.$strip>;
10403
10403
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10404
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
10404
10405
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10405
10406
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10406
10407
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10408
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10407
10409
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
10408
10410
  type: z.ZodEnum<{
10409
- commit: "commit";
10410
10411
  tag: "tag";
10412
+ commit: "commit";
10411
10413
  branch: "branch";
10412
10414
  }>;
10413
10415
  name: z.ZodString;
10414
10416
  hash: z.ZodString;
10415
10417
  }, z.core.$strip>>>;
10416
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
10417
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10418
10418
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10419
10419
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10420
10420
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10748,15 +10748,15 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
10748
10748
  createdAt: z.ZodOptional<z.ZodString>;
10749
10749
  updatedAt: z.ZodOptional<z.ZodString>;
10750
10750
  datasetId: z.ZodString;
10751
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10752
10751
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10752
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10753
10753
  }, z.core.$strip>;
10754
10754
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
10755
10755
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10756
10756
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10757
10757
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10758
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10759
10758
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10759
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10760
10760
  }, z.core.$strip>;
10761
10761
  declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
10762
10762
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -11460,19 +11460,19 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
11460
11460
  id: z.ZodString;
11461
11461
  }>, z.core.$strip>;
11462
11462
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
11463
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
11463
11464
  createdAt: z.ZodOptional<z.ZodString>;
11464
11465
  updatedAt: z.ZodOptional<z.ZodString>;
11465
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
11466
- conversationId: z.ZodString;
11467
11466
  evaluatorId: z.ZodString;
11467
+ conversationId: z.ZodString;
11468
11468
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11469
11469
  }, z.core.$strip>;
11470
11470
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
11471
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
11471
11472
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11472
11473
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11473
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
11474
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11475
11474
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11475
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11476
11476
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11477
11477
  }, z.core.$strip>;
11478
11478
  declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -11764,14 +11764,14 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
11764
11764
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
11765
11765
  createdAt: z.ZodOptional<z.ZodString>;
11766
11766
  updatedAt: z.ZodOptional<z.ZodString>;
11767
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11768
11767
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11768
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11769
11769
  }, z.core.$strip>;
11770
11770
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
11771
11771
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11772
11772
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11773
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11774
11773
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11774
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11775
11775
  }, z.core.$strip>;
11776
11776
  declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
11777
11777
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -12102,26 +12102,26 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12102
12102
  }>, z.core.$strip>;
12103
12103
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12104
12104
  name: z.ZodString;
12105
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12106
12105
  createdAt: z.ZodOptional<z.ZodString>;
12107
12106
  updatedAt: z.ZodOptional<z.ZodString>;
12107
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12108
12108
  isActive: z.ZodOptional<z.ZodBoolean>;
12109
12109
  suiteConfigIds: z.ZodArray<z.ZodString>;
12110
12110
  }, z.core.$strip>;
12111
12111
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12112
12112
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12113
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12114
12113
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12115
12114
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12115
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12116
12116
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12117
12117
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12118
12118
  }, z.core.$strip>;
12119
12119
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12120
- id: z.ZodString;
12121
12120
  name: z.ZodString;
12122
- description: z.ZodNullable<z.ZodString>;
12121
+ id: z.ZodString;
12123
12122
  createdAt: z.ZodString;
12124
12123
  updatedAt: z.ZodString;
12124
+ description: z.ZodNullable<z.ZodString>;
12125
12125
  isActive: z.ZodBoolean;
12126
12126
  suiteConfigIds: z.ZodArray<z.ZodString>;
12127
12127
  }, z.core.$strip>;
@@ -13158,14 +13158,14 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
13158
13158
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
13159
13159
  createdAt: z.ZodOptional<z.ZodString>;
13160
13160
  updatedAt: z.ZodOptional<z.ZodString>;
13161
- evaluationRunConfigId: z.ZodString;
13162
13161
  evaluationSuiteConfigId: z.ZodString;
13162
+ evaluationRunConfigId: z.ZodString;
13163
13163
  }, z.core.$strip>;
13164
13164
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
13165
13165
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13166
13166
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13167
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13168
13167
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13168
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13169
13169
  }, z.core.$strip>;
13170
13170
  declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13171
13171
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -13464,14 +13464,14 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
13464
13464
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
13465
13465
  createdAt: z.ZodOptional<z.ZodString>;
13466
13466
  updatedAt: z.ZodOptional<z.ZodString>;
13467
- evaluationJobConfigId: z.ZodString;
13468
13467
  evaluatorId: z.ZodString;
13468
+ evaluationJobConfigId: z.ZodString;
13469
13469
  }, z.core.$strip>;
13470
13470
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
13471
13471
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13472
13472
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13473
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13474
13473
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13474
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13475
13475
  }, z.core.$strip>;
13476
13476
  declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13477
13477
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -13770,14 +13770,14 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
13770
13770
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
13771
13771
  createdAt: z.ZodOptional<z.ZodString>;
13772
13772
  updatedAt: z.ZodOptional<z.ZodString>;
13773
- evaluatorId: z.ZodString;
13774
13773
  evaluationSuiteConfigId: z.ZodString;
13774
+ evaluatorId: z.ZodString;
13775
13775
  }, z.core.$strip>;
13776
13776
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
13777
13777
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13778
13778
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13779
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13780
13779
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13780
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13781
13781
  }, z.core.$strip>;
13782
13782
  declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
13783
13783
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -14279,10 +14279,9 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14279
14279
  }>, z.core.$strip>;
14280
14280
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14281
14281
  name: z.ZodString;
14282
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14283
14282
  createdAt: z.ZodOptional<z.ZodString>;
14284
14283
  updatedAt: z.ZodOptional<z.ZodString>;
14285
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14284
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14286
14285
  model: z.ZodType<{
14287
14286
  model?: string | undefined;
14288
14287
  providerOptions?: Record<string, any> | undefined;
@@ -14297,14 +14296,14 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14297
14296
  providerOptions?: Record<string, any> | undefined;
14298
14297
  }>>;
14299
14298
  prompt: z.ZodString;
14299
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14300
14300
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14301
14301
  }, z.core.$strip>;
14302
14302
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14303
14303
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14304
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14305
14304
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14306
14305
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14307
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14306
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14308
14307
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14309
14308
  model?: string | undefined;
14310
14309
  providerOptions?: Record<string, any> | undefined;
@@ -14319,6 +14318,7 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14319
14318
  providerOptions?: Record<string, any> | undefined;
14320
14319
  }>>>>;
14321
14320
  prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14321
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14322
14322
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
14323
14323
  }, z.core.$strip>;
14324
14324
  declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -15121,9 +15121,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
15121
15121
  id: z.ZodString;
15122
15122
  }>, z.core.$strip>;
15123
15123
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
15124
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15124
15125
  createdAt: z.ZodOptional<z.ZodString>;
15125
15126
  updatedAt: z.ZodOptional<z.ZodString>;
15126
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15127
15127
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15128
15128
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15129
15129
  prompt: string;
@@ -15168,9 +15168,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
15168
15168
  }>>>>;
15169
15169
  }, z.core.$strip>;
15170
15170
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15171
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15171
15172
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15172
15173
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15173
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15174
15174
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
15175
15175
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15176
15176
  prompt: string;
@@ -15215,8 +15215,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15215
15215
  }>>>>>>;
15216
15216
  }, z.core.$strip>;
15217
15217
  declare const DatasetRunItemSchema: z.ZodObject<{
15218
- id: z.ZodOptional<z.ZodString>;
15219
15218
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15219
+ id: z.ZodOptional<z.ZodString>;
15220
15220
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15221
15221
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15222
15222
  prompt: string;
@@ -15264,8 +15264,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
15264
15264
  declare const TriggerDatasetRunSchema: z.ZodObject<{
15265
15265
  datasetRunId: z.ZodString;
15266
15266
  items: z.ZodArray<z.ZodObject<{
15267
- id: z.ZodOptional<z.ZodString>;
15268
15267
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15268
+ id: z.ZodOptional<z.ZodString>;
15269
15269
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15270
15270
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15271
15271
  prompt: string;
@@ -15676,16 +15676,16 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
15676
15676
  }>, z.core.$strip>;
15677
15677
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
15678
15678
  name: z.ZodString;
15679
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15680
15679
  createdAt: z.ZodOptional<z.ZodString>;
15681
15680
  updatedAt: z.ZodOptional<z.ZodString>;
15681
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15682
15682
  datasetId: z.ZodString;
15683
15683
  }, z.core.$strip>;
15684
15684
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
15685
15685
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15686
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15687
15686
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15688
15687
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15688
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15689
15689
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15690
15690
  }, z.core.$strip>;
15691
15691
  declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -15993,9 +15993,9 @@ declare const SkillSelectSchema: z.ZodObject<{
15993
15993
  in: {};
15994
15994
  }>;
15995
15995
  declare const SkillInsertSchema: z.ZodObject<{
15996
- tenantId: z.ZodString;
15997
- projectId: z.ZodString;
15998
15996
  name: z.ZodString;
15997
+ projectId: z.ZodString;
15998
+ tenantId: z.ZodString;
15999
15999
  description: z.ZodString;
16000
16000
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16001
16001
  content: z.ZodString;
@@ -16004,8 +16004,8 @@ declare const SkillInsertSchema: z.ZodObject<{
16004
16004
  in: {};
16005
16005
  }>;
16006
16006
  declare const SkillUpdateSchema: z.ZodObject<{
16007
- tenantId: z.ZodOptional<z.ZodString>;
16008
16007
  projectId: z.ZodOptional<z.ZodString>;
16008
+ tenantId: z.ZodOptional<z.ZodString>;
16009
16009
  description: z.ZodOptional<z.ZodString>;
16010
16010
  metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16011
16011
  content: z.ZodOptional<z.ZodString>;
@@ -16025,9 +16025,9 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16025
16025
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
16026
16026
  }>, z.core.$strip>;
16027
16027
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16028
- tenantId: z.ZodString;
16029
- projectId: z.ZodString;
16030
16028
  name: z.ZodString;
16029
+ projectId: z.ZodString;
16030
+ tenantId: z.ZodString;
16031
16031
  description: z.ZodString;
16032
16032
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16033
16033
  content: z.ZodString;
@@ -16411,10 +16411,10 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
16411
16411
  }>;
16412
16412
  }, undefined>, undefined>;
16413
16413
  declare const DataComponentInsertSchema: z.ZodObject<{
16414
- tenantId: z.ZodString;
16415
- projectId: z.ZodString;
16416
- id: z.ZodString;
16417
16414
  name: z.ZodString;
16415
+ id: z.ZodString;
16416
+ projectId: z.ZodString;
16417
+ tenantId: z.ZodString;
16418
16418
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16419
16419
  props: z.ZodType<{
16420
16420
  [x: string]: unknown;
@@ -16463,10 +16463,10 @@ declare const DataComponentInsertSchema: z.ZodObject<{
16463
16463
  in: {};
16464
16464
  }>;
16465
16465
  declare const DataComponentUpdateSchema: z.ZodObject<{
16466
- tenantId: z.ZodOptional<z.ZodString>;
16467
- projectId: z.ZodOptional<z.ZodString>;
16468
- id: z.ZodOptional<z.ZodString>;
16469
16466
  name: z.ZodOptional<z.ZodString>;
16467
+ id: z.ZodOptional<z.ZodString>;
16468
+ projectId: z.ZodOptional<z.ZodString>;
16469
+ tenantId: z.ZodOptional<z.ZodString>;
16470
16470
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16471
16471
  props: z.ZodOptional<z.ZodType<{
16472
16472
  [x: string]: unknown;
@@ -17144,7 +17144,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
17144
17144
  }, {}, {
17145
17145
  length: 256;
17146
17146
  }>;
17147
- }, "tenantId" | "projectId" | "agentId" | "subAgentId" | "id" | "createdAt" | "dataComponentId">, undefined>, undefined>;
17147
+ }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17148
17148
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17149
17149
  dataComponentId: z.ZodOptional<z.ZodString>;
17150
17150
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17175,9 +17175,9 @@ declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
17175
17175
  in: {};
17176
17176
  }>;
17177
17177
  declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
17178
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17179
17178
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17180
17179
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17180
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17181
17181
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17182
17182
  }, z.core.$strip>;
17183
17183
  declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -17741,11 +17741,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
17741
17741
  in: {};
17742
17742
  }>;
17743
17743
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
17744
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17745
17744
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17746
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17745
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17747
17746
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17748
17747
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17748
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17749
17749
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
17750
17750
  [x: string]: unknown;
17751
17751
  type: "object";
@@ -18096,9 +18096,9 @@ declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
18096
18096
  in: {};
18097
18097
  }>;
18098
18098
  declare const SubAgentArtifactComponentApiUpdateSchema: z.ZodObject<{
18099
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18100
18099
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18101
18100
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18101
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18102
18102
  artifactComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18103
18103
  }, z.core.$strip>;
18104
18104
  declare const SubAgentSkillSelectSchema: z.ZodObject<{
@@ -18160,30 +18160,30 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18160
18160
  }>, z.core.$strip>;
18161
18161
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18162
18162
  agentId: z.ZodString;
18163
- subAgentId: z.ZodString;
18164
18163
  index: z.ZodInt;
18165
18164
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18165
+ subAgentId: z.ZodString;
18166
18166
  skillId: z.ZodString;
18167
18167
  }, {
18168
18168
  out: {};
18169
18169
  in: {};
18170
18170
  }>;
18171
18171
  declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18172
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18173
18172
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18174
18173
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18175
18174
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18176
18175
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18177
18176
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18177
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18178
18178
  skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18179
18179
  }, z.core.$strip>;
18180
18180
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18181
- id: z.ZodString;
18182
18181
  name: z.ZodString;
18183
- description: z.ZodString;
18184
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18182
+ id: z.ZodString;
18185
18183
  createdAt: z.ZodString;
18186
18184
  updatedAt: z.ZodString;
18185
+ description: z.ZodString;
18186
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18187
18187
  content: z.ZodString;
18188
18188
  subAgentSkillId: z.ZodString;
18189
18189
  subAgentId: z.ZodString;
@@ -18205,10 +18205,10 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
18205
18205
  in: {};
18206
18206
  }>;
18207
18207
  declare const ExternalAgentInsertSchema: z.ZodObject<{
18208
- tenantId: z.ZodString;
18209
- projectId: z.ZodString;
18210
- id: z.ZodString;
18211
18208
  name: z.ZodString;
18209
+ id: z.ZodString;
18210
+ projectId: z.ZodString;
18211
+ tenantId: z.ZodString;
18212
18212
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18213
18213
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18214
18214
  baseUrl: z.ZodURL;
@@ -18217,10 +18217,10 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
18217
18217
  in: {};
18218
18218
  }>;
18219
18219
  declare const ExternalAgentUpdateSchema: z.ZodObject<{
18220
- tenantId: z.ZodOptional<z.ZodString>;
18221
- projectId: z.ZodOptional<z.ZodString>;
18222
- id: z.ZodOptional<z.ZodString>;
18223
18220
  name: z.ZodOptional<z.ZodString>;
18221
+ id: z.ZodOptional<z.ZodString>;
18222
+ projectId: z.ZodOptional<z.ZodString>;
18223
+ tenantId: z.ZodOptional<z.ZodString>;
18224
18224
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18225
18225
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18226
18226
  baseUrl: z.ZodOptional<z.ZodURL>;
@@ -18240,27 +18240,27 @@ declare const ExternalAgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
18240
18240
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18241
18241
  }>, z.core.$strip>;
18242
18242
  declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18243
- tenantId: z.ZodString;
18244
- projectId: z.ZodString;
18245
- id: z.ZodString;
18246
18243
  name: z.ZodString;
18244
+ id: z.ZodString;
18245
+ projectId: z.ZodString;
18246
+ tenantId: z.ZodString;
18247
18247
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18248
18248
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18249
18249
  baseUrl: z.ZodURL;
18250
18250
  }>, z.core.$strip>;
18251
18251
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18252
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18253
18252
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18253
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18254
18254
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18255
18255
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18256
18256
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18257
18257
  }, z.core.$strip>;
18258
18258
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18259
- id: z.ZodString;
18260
18259
  name: z.ZodString;
18261
- description: z.ZodNullable<z.ZodString>;
18260
+ id: z.ZodString;
18262
18261
  createdAt: z.ZodString;
18263
18262
  updatedAt: z.ZodString;
18263
+ description: z.ZodNullable<z.ZodString>;
18264
18264
  models: z.ZodNullable<z.ZodType<{
18265
18265
  base?: {
18266
18266
  model?: string | undefined;
@@ -18314,6 +18314,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18314
18314
  providerOptions?: Record<string, any> | undefined;
18315
18315
  } | undefined;
18316
18316
  }>>>;
18317
+ prompt: z.ZodNullable<z.ZodString>;
18317
18318
  stopWhen: z.ZodNullable<z.ZodType<{
18318
18319
  stepCountIs?: number | undefined;
18319
18320
  }, {
@@ -18323,15 +18324,14 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18323
18324
  }, {
18324
18325
  stepCountIs?: number | undefined;
18325
18326
  }>>>;
18326
- prompt: z.ZodNullable<z.ZodString>;
18327
18327
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18328
18328
  type: z.ZodLiteral<"internal">;
18329
18329
  }, z.core.$strip>, z.ZodObject<{
18330
- id: z.ZodString;
18331
18330
  name: z.ZodString;
18332
- description: z.ZodNullable<z.ZodString>;
18331
+ id: z.ZodString;
18333
18332
  createdAt: z.ZodString;
18334
18333
  updatedAt: z.ZodString;
18334
+ description: z.ZodNullable<z.ZodString>;
18335
18335
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18336
18336
  baseUrl: z.ZodString;
18337
18337
  type: z.ZodLiteral<"external">;
@@ -18797,20 +18797,20 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
18797
18797
  in: {};
18798
18798
  }>;
18799
18799
  declare const ApiKeyUpdateSchema: z.ZodObject<{
18800
- agentId: z.ZodOptional<z.ZodString>;
18801
18800
  name: z.ZodOptional<z.ZodString>;
18802
18801
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18802
+ agentId: z.ZodOptional<z.ZodString>;
18803
18803
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18804
18804
  }, {
18805
18805
  out: {};
18806
18806
  in: {};
18807
18807
  }>;
18808
18808
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
18809
- agentId: z.ZodString;
18810
- id: z.ZodString;
18811
18809
  name: z.ZodNullable<z.ZodString>;
18810
+ id: z.ZodString;
18812
18811
  createdAt: z.ZodString;
18813
18812
  updatedAt: z.ZodString;
18813
+ agentId: z.ZodString;
18814
18814
  expiresAt: z.ZodNullable<z.ZodString>;
18815
18815
  publicId: z.ZodString;
18816
18816
  keyPrefix: z.ZodString;
@@ -18822,11 +18822,11 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
18822
18822
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
18823
18823
  data: z.ZodObject<{
18824
18824
  apiKey: z.ZodObject<{
18825
- agentId: z.ZodString;
18826
- id: z.ZodString;
18827
18825
  name: z.ZodNullable<z.ZodString>;
18826
+ id: z.ZodString;
18828
18827
  createdAt: z.ZodString;
18829
18828
  updatedAt: z.ZodString;
18829
+ agentId: z.ZodString;
18830
18830
  expiresAt: z.ZodNullable<z.ZodString>;
18831
18831
  publicId: z.ZodString;
18832
18832
  keyPrefix: z.ZodString;
@@ -18839,19 +18839,19 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
18839
18839
  }, z.core.$strip>;
18840
18840
  }, z.core.$strip>;
18841
18841
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
18842
- agentId: z.ZodString;
18843
18842
  name: z.ZodString;
18844
18843
  createdAt: z.ZodOptional<z.ZodString>;
18845
18844
  updatedAt: z.ZodOptional<z.ZodString>;
18845
+ agentId: z.ZodString;
18846
18846
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18847
18847
  }, {
18848
18848
  out: {};
18849
18849
  in: {};
18850
18850
  }>;
18851
18851
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
18852
- agentId: z.ZodOptional<z.ZodString>;
18853
18852
  name: z.ZodOptional<z.ZodString>;
18854
18853
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18854
+ agentId: z.ZodOptional<z.ZodString>;
18855
18855
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18856
18856
  }, {
18857
18857
  out: {};
@@ -19433,11 +19433,11 @@ declare const AppInsertSchema: z.ZodObject<{
19433
19433
  in: {};
19434
19434
  }>;
19435
19435
  declare const AppUpdateSchema: z.ZodObject<{
19436
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19437
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19438
19436
  name: z.ZodOptional<z.ZodString>;
19439
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19440
19437
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19438
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19439
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19440
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19441
19441
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
19442
19442
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
19443
19443
  type: z.ZodLiteral<"web_client">;
@@ -19967,14 +19967,14 @@ declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", {
19967
19967
  }, {}, {}>;
19968
19968
  }, undefined>, undefined>;
19969
19969
  declare const AppApiResponseSelectSchema: z.ZodObject<{
19970
- tenantId: z.ZodNullable<z.ZodString>;
19971
- projectId: z.ZodNullable<z.ZodString>;
19972
- id: z.ZodString;
19973
- name: z.ZodString;
19974
19970
  type: z.ZodString;
19975
- description: z.ZodNullable<z.ZodString>;
19971
+ name: z.ZodString;
19972
+ id: z.ZodString;
19976
19973
  createdAt: z.ZodString;
19977
19974
  updatedAt: z.ZodString;
19975
+ projectId: z.ZodNullable<z.ZodString>;
19976
+ tenantId: z.ZodNullable<z.ZodString>;
19977
+ description: z.ZodNullable<z.ZodString>;
19978
19978
  enabled: z.ZodBoolean;
19979
19979
  lastUsedAt: z.ZodNullable<z.ZodString>;
19980
19980
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -19993,16 +19993,16 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
19993
19993
  in: {};
19994
19994
  }>;
19995
19995
  declare const AppApiInsertSchema: z.ZodObject<{
19996
- tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19997
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19998
- name: z.ZodString;
19999
19996
  type: z.ZodEnum<{
20000
19997
  web_client: "web_client";
20001
19998
  api: "api";
20002
19999
  }>;
20003
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20000
+ name: z.ZodString;
20004
20001
  createdAt: z.ZodOptional<z.ZodString>;
20005
20002
  updatedAt: z.ZodOptional<z.ZodString>;
20003
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20004
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20005
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20006
20006
  enabled: z.ZodOptional<z.ZodBoolean>;
20007
20007
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
20008
20008
  type: z.ZodLiteral<"web_client">;
@@ -20020,11 +20020,11 @@ declare const AppApiInsertSchema: z.ZodObject<{
20020
20020
  in: {};
20021
20021
  }>;
20022
20022
  declare const AppApiUpdateSchema: z.ZodObject<{
20023
- tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20024
- projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20025
20023
  name: z.ZodOptional<z.ZodString>;
20026
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20027
20024
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20025
+ projectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20026
+ tenantId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20027
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20028
20028
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
20029
20029
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
20030
20030
  type: z.ZodLiteral<"web_client">;
@@ -20045,14 +20045,14 @@ declare const AppApiUpdateSchema: z.ZodObject<{
20045
20045
  declare const AppApiCreationResponseSchema: z.ZodObject<{
20046
20046
  data: z.ZodObject<{
20047
20047
  app: z.ZodObject<{
20048
- tenantId: z.ZodNullable<z.ZodString>;
20049
- projectId: z.ZodNullable<z.ZodString>;
20050
- id: z.ZodString;
20051
- name: z.ZodString;
20052
20048
  type: z.ZodString;
20053
- description: z.ZodNullable<z.ZodString>;
20049
+ name: z.ZodString;
20050
+ id: z.ZodString;
20054
20051
  createdAt: z.ZodString;
20055
20052
  updatedAt: z.ZodString;
20053
+ projectId: z.ZodNullable<z.ZodString>;
20054
+ tenantId: z.ZodNullable<z.ZodString>;
20055
+ description: z.ZodNullable<z.ZodString>;
20056
20056
  enabled: z.ZodBoolean;
20057
20057
  lastUsedAt: z.ZodNullable<z.ZodString>;
20058
20058
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -20524,12 +20524,12 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
20524
20524
  }>;
20525
20525
  }, undefined>, undefined>;
20526
20526
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
20527
- tenantId: z.ZodString;
20527
+ type: z.ZodString;
20528
+ name: z.ZodString;
20529
+ id: z.ZodString;
20528
20530
  projectId: z.ZodString;
20531
+ tenantId: z.ZodString;
20529
20532
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20530
- id: z.ZodString;
20531
- name: z.ZodString;
20532
- type: z.ZodString;
20533
20533
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20534
20534
  credentialStoreId: z.ZodString;
20535
20535
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -20539,12 +20539,12 @@ declare const CredentialReferenceInsertSchema: z.ZodObject<{
20539
20539
  in: {};
20540
20540
  }>;
20541
20541
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
20542
- tenantId: z.ZodOptional<z.ZodString>;
20542
+ type: z.ZodOptional<z.ZodString>;
20543
+ name: z.ZodOptional<z.ZodString>;
20544
+ id: z.ZodOptional<z.ZodString>;
20543
20545
  projectId: z.ZodOptional<z.ZodString>;
20546
+ tenantId: z.ZodOptional<z.ZodString>;
20544
20547
  toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20545
- id: z.ZodOptional<z.ZodString>;
20546
- name: z.ZodOptional<z.ZodString>;
20547
- type: z.ZodOptional<z.ZodString>;
20548
20548
  userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20549
20549
  credentialStoreId: z.ZodOptional<z.ZodString>;
20550
20550
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
@@ -20554,11 +20554,11 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
20554
20554
  in: {};
20555
20555
  }>;
20556
20556
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20557
- toolId: z.ZodNullable<z.ZodString>;
20558
- id: z.ZodString;
20559
20557
  name: z.ZodString;
20558
+ id: z.ZodString;
20560
20559
  createdAt: z.ZodString;
20561
20560
  updatedAt: z.ZodString;
20561
+ toolId: z.ZodNullable<z.ZodString>;
20562
20562
  userId: z.ZodNullable<z.ZodString>;
20563
20563
  credentialStoreId: z.ZodString;
20564
20564
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -21145,9 +21145,9 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
21145
21145
  }>>>;
21146
21146
  }, z.core.$strip>;
21147
21147
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21148
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21149
- id: z.ZodString;
21150
21148
  name: z.ZodString;
21149
+ id: z.ZodString;
21150
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21151
21151
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21152
21152
  credentialStoreId: z.ZodString;
21153
21153
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -21159,9 +21159,9 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21159
21159
  }>;
21160
21160
  }, z.core.$strip>;
21161
21161
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
21162
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21163
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21164
21162
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21163
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21164
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21165
21165
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21166
21166
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21167
21167
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
@@ -21227,10 +21227,10 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
21227
21227
  error_description: z.ZodOptional<z.ZodString>;
21228
21228
  }, z.core.$strip>;
21229
21229
  declare const McpToolSchema: z.ZodObject<{
21230
- tenantId: z.ZodString;
21231
- projectId: z.ZodString;
21232
- id: z.ZodString;
21233
21230
  name: z.ZodString;
21231
+ id: z.ZodString;
21232
+ projectId: z.ZodString;
21233
+ tenantId: z.ZodString;
21234
21234
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21235
21235
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21236
21236
  config: z.ZodObject<{
@@ -21286,10 +21286,10 @@ declare const McpToolSchema: z.ZodObject<{
21286
21286
  in: {};
21287
21287
  }>;
21288
21288
  declare const MCPToolConfigSchema: z.ZodObject<{
21289
- id: z.ZodString;
21290
21289
  name: z.ZodString;
21291
- expiresAt: z.ZodOptional<z.ZodString>;
21290
+ id: z.ZodString;
21292
21291
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21292
+ expiresAt: z.ZodOptional<z.ZodString>;
21293
21293
  credentialScope: z.ZodOptional<z.ZodString>;
21294
21294
  imageUrl: z.ZodOptional<z.ZodString>;
21295
21295
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -21322,9 +21322,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
21322
21322
  sessionId: z.ZodOptional<z.ZodString>;
21323
21323
  }, z.core.$strip>>;
21324
21324
  credential: z.ZodOptional<z.ZodObject<{
21325
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21326
- id: z.ZodString;
21327
21325
  name: z.ZodString;
21326
+ id: z.ZodString;
21327
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21328
21328
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21329
21329
  credentialStoreId: z.ZodString;
21330
21330
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -21347,10 +21347,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
21347
21347
  in: {};
21348
21348
  }>;
21349
21349
  declare const ToolUpdateSchema: z.ZodObject<{
21350
- tenantId: z.ZodOptional<z.ZodString>;
21351
- projectId: z.ZodOptional<z.ZodString>;
21352
- id: z.ZodOptional<z.ZodString>;
21353
21350
  name: z.ZodOptional<z.ZodString>;
21351
+ id: z.ZodOptional<z.ZodString>;
21352
+ projectId: z.ZodOptional<z.ZodString>;
21353
+ tenantId: z.ZodOptional<z.ZodString>;
21354
21354
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21355
21355
  headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
21356
21356
  config: z.ZodOptional<z.ZodObject<{
@@ -21419,10 +21419,10 @@ declare const ToolApiSelectSchema: z.ZodObject<OmitProjectScope<{
21419
21419
  id: z.ZodString;
21420
21420
  }>, z.core.$strip>;
21421
21421
  declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
21422
- tenantId: z.ZodString;
21423
- projectId: z.ZodString;
21424
- id: z.ZodString;
21425
21422
  name: z.ZodString;
21423
+ id: z.ZodString;
21424
+ projectId: z.ZodString;
21425
+ tenantId: z.ZodString;
21426
21426
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21427
21427
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21428
21428
  config: z.ZodObject<{
@@ -21459,8 +21459,8 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
21459
21459
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
21460
21460
  }>, z.core.$strip>;
21461
21461
  declare const ToolApiUpdateSchema: z.ZodObject<{
21462
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21463
21462
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21463
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21464
21464
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21465
21465
  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>>>>>>>;
21466
21466
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -21830,11 +21830,11 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
21830
21830
  }>;
21831
21831
  }, undefined>, undefined>;
21832
21832
  declare const FunctionToolInsertSchema: z.ZodObject<{
21833
- tenantId: z.ZodString;
21834
- projectId: z.ZodString;
21835
- agentId: z.ZodString;
21836
- id: z.ZodString;
21837
21833
  name: z.ZodString;
21834
+ id: z.ZodString;
21835
+ agentId: z.ZodString;
21836
+ projectId: z.ZodString;
21837
+ tenantId: z.ZodString;
21838
21838
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21839
21839
  functionId: z.ZodString;
21840
21840
  }, {
@@ -21842,11 +21842,11 @@ declare const FunctionToolInsertSchema: z.ZodObject<{
21842
21842
  in: {};
21843
21843
  }>;
21844
21844
  declare const FunctionToolUpdateSchema: z.ZodObject<{
21845
- tenantId: z.ZodOptional<z.ZodString>;
21846
- projectId: z.ZodOptional<z.ZodString>;
21847
- agentId: z.ZodOptional<z.ZodString>;
21848
- id: z.ZodOptional<z.ZodString>;
21849
21845
  name: z.ZodOptional<z.ZodString>;
21846
+ id: z.ZodOptional<z.ZodString>;
21847
+ agentId: z.ZodOptional<z.ZodString>;
21848
+ projectId: z.ZodOptional<z.ZodString>;
21849
+ tenantId: z.ZodOptional<z.ZodString>;
21850
21850
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21851
21851
  functionId: z.ZodOptional<z.ZodString>;
21852
21852
  }, {
@@ -21854,28 +21854,28 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21854
21854
  in: {};
21855
21855
  }>;
21856
21856
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21857
- agentId: z.ZodString;
21858
- id: z.ZodString;
21859
21857
  name: z.ZodString;
21860
- description: z.ZodNullable<z.ZodString>;
21858
+ id: z.ZodString;
21861
21859
  createdAt: z.ZodString;
21862
21860
  updatedAt: z.ZodString;
21861
+ agentId: z.ZodString;
21862
+ description: z.ZodNullable<z.ZodString>;
21863
21863
  functionId: z.ZodString;
21864
21864
  relationshipId: z.ZodOptional<z.ZodString>;
21865
21865
  }, z.core.$strip>;
21866
21866
  declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21867
- tenantId: z.ZodString;
21868
- projectId: z.ZodString;
21869
- agentId: z.ZodString;
21870
- id: z.ZodString;
21871
21867
  name: z.ZodString;
21868
+ id: z.ZodString;
21869
+ agentId: z.ZodString;
21870
+ projectId: z.ZodString;
21871
+ tenantId: z.ZodString;
21872
21872
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21873
21873
  functionId: z.ZodString;
21874
21874
  }>, z.core.$strip>;
21875
21875
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21876
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21877
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21878
21876
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21877
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21878
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21879
21879
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21880
21880
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21881
21881
  }, z.core.$strip>;
@@ -22250,8 +22250,8 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
22250
22250
  id: z.ZodString;
22251
22251
  }>, z.core.$strip>;
22252
22252
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
22253
- subAgentId: z.ZodString;
22254
22253
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22254
+ subAgentId: z.ZodString;
22255
22255
  functionToolId: z.ZodString;
22256
22256
  }, {
22257
22257
  out: {};
@@ -22642,9 +22642,9 @@ declare const FetchDefinitionSchema: z.ZodObject<{
22642
22642
  responseSchema: z.ZodOptional<z.ZodAny>;
22643
22643
  defaultValue: z.ZodOptional<z.ZodAny>;
22644
22644
  credential: z.ZodOptional<z.ZodObject<{
22645
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22646
- id: z.ZodString;
22647
22645
  name: z.ZodString;
22646
+ id: z.ZodString;
22647
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22648
22648
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22649
22649
  credentialStoreId: z.ZodString;
22650
22650
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -22670,33 +22670,33 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
22670
22670
  in: {};
22671
22671
  }>;
22672
22672
  declare const ContextConfigInsertSchema: z.ZodObject<{
22673
- tenantId: z.ZodString;
22674
- projectId: z.ZodString;
22675
- agentId: z.ZodString;
22676
22673
  id: z.ZodOptional<z.ZodString>;
22677
22674
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22678
22675
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22676
+ agentId: z.ZodString;
22677
+ projectId: z.ZodString;
22678
+ tenantId: z.ZodString;
22679
22679
  }, {
22680
22680
  out: {};
22681
22681
  in: {};
22682
22682
  }>;
22683
22683
  declare const ContextConfigUpdateSchema: z.ZodObject<{
22684
- tenantId: z.ZodOptional<z.ZodString>;
22685
- projectId: z.ZodOptional<z.ZodString>;
22686
- agentId: z.ZodOptional<z.ZodString>;
22687
22684
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22688
22685
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22689
22686
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22687
+ agentId: z.ZodOptional<z.ZodString>;
22688
+ projectId: z.ZodOptional<z.ZodString>;
22689
+ tenantId: z.ZodOptional<z.ZodString>;
22690
22690
  }, {
22691
22691
  out: {};
22692
22692
  in: {};
22693
22693
  }>;
22694
22694
  declare const ContextConfigApiSelectSchema: z.ZodObject<{
22695
22695
  id: z.ZodString;
22696
- createdAt: z.ZodString;
22697
- updatedAt: z.ZodString;
22698
22696
  headersSchema: z.ZodOptional<z.ZodAny>;
22699
22697
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
22698
+ createdAt: z.ZodString;
22699
+ updatedAt: z.ZodString;
22700
22700
  }, z.core.$strip>;
22701
22701
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
22702
22702
  id: z.ZodOptional<z.ZodString>;
@@ -23194,15 +23194,15 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<OmitAgentScope<{
23194
23194
  }, z.core.$strip>>>>;
23195
23195
  }>, z.core.$strip>;
23196
23196
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
23197
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23198
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23199
23197
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23200
23198
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23201
23199
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23200
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23202
23201
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23203
23202
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23204
23203
  needsApproval: z.ZodOptional<z.ZodBoolean>;
23205
23204
  }, z.core.$strip>>>>>>;
23205
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23206
23206
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
23207
23207
  }, z.core.$strip>;
23208
23208
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -23588,12 +23588,12 @@ declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
23588
23588
  externalAgentId: z.ZodString;
23589
23589
  }, z.core.$strip>;
23590
23590
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
23591
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23592
23591
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23593
23592
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23594
23593
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23595
23594
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23596
23595
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23596
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23597
23597
  }, z.core.$strip>;
23598
23598
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
23599
23599
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -23978,11 +23978,11 @@ declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
23978
23978
  targetAgentId: z.ZodString;
23979
23979
  }, z.core.$strip>;
23980
23980
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23981
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23982
23981
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23983
23982
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23984
23983
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23985
23984
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23985
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23986
23986
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23987
23987
  }, z.core.$strip>;
23988
23988
  declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -25326,7 +25326,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
25326
25326
  }, {}, {
25327
25327
  length: 256;
25328
25328
  }>;
25329
- }, "tenantId" | "projectId" | "id" | "taskId" | "toolCallId" | "name" | "contextId" | "type" | "description" | "parts" | "metadata" | "summary" | "mime" | "visibility" | "allowedAgents" | "derivedFrom" | "createdAt" | "updatedAt">, undefined>, undefined>;
25329
+ }, "type" | "name" | "id" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "description" | "metadata" | "taskId" | "toolCallId" | "contextId" | "visibility" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
25330
25330
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
25331
25331
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25332
25332
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -25391,22 +25391,22 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
25391
25391
  id: z.ZodString;
25392
25392
  }>, z.core.$strip>;
25393
25393
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
25394
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25395
+ name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25394
25396
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25397
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25398
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25399
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25400
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
25395
25401
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25396
25402
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25397
- name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25398
25403
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
25399
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25400
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25404
+ visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25401
25405
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
25402
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
25403
25406
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25404
25407
  mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
25405
- visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25406
25408
  allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
25407
25409
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25408
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25409
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
25410
25410
  }, z.core.$strip>;
25411
25411
  declare const StatusComponentSchema: z.ZodObject<{
25412
25412
  type: z.ZodString;
@@ -25471,11 +25471,11 @@ declare const TeamAgentSchema: z.ZodObject<{
25471
25471
  description: z.ZodString;
25472
25472
  }, z.core.$strip>;
25473
25473
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
25474
- id: z.ZodString;
25475
25474
  name: z.ZodString;
25476
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25475
+ id: z.ZodString;
25477
25476
  createdAt: z.ZodOptional<z.ZodString>;
25478
25477
  updatedAt: z.ZodOptional<z.ZodString>;
25478
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25479
25479
  models: z.ZodOptional<z.ZodObject<{
25480
25480
  base: z.ZodOptional<z.ZodObject<{
25481
25481
  model: z.ZodOptional<z.ZodString>;
@@ -25524,17 +25524,17 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25524
25524
  }, z.core.$strip>>;
25525
25525
  }, z.core.$strip>;
25526
25526
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25527
- id: z.ZodString;
25528
25527
  name: z.ZodString;
25528
+ id: z.ZodString;
25529
25529
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25530
25530
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25531
25531
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25532
25532
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25533
- id: z.ZodString;
25534
25533
  name: z.ZodString;
25535
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25534
+ id: z.ZodString;
25536
25535
  createdAt: z.ZodOptional<z.ZodString>;
25537
25536
  updatedAt: z.ZodOptional<z.ZodString>;
25537
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25538
25538
  models: z.ZodOptional<z.ZodObject<{
25539
25539
  base: z.ZodOptional<z.ZodObject<{
25540
25540
  model: z.ZodOptional<z.ZodString>;
@@ -25583,10 +25583,10 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25583
25583
  }, z.core.$strip>>;
25584
25584
  }, z.core.$strip>>;
25585
25585
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25586
- tenantId: z.ZodString;
25587
- projectId: z.ZodString;
25588
- id: z.ZodString;
25589
25586
  name: z.ZodString;
25587
+ id: z.ZodString;
25588
+ projectId: z.ZodString;
25589
+ tenantId: z.ZodString;
25590
25590
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25591
25591
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
25592
25592
  config: z.ZodObject<{
@@ -25623,10 +25623,10 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25623
25623
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
25624
25624
  }>, z.core.$strip>>>;
25625
25625
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25626
- tenantId: z.ZodString;
25627
- projectId: z.ZodString;
25628
- id: z.ZodString;
25629
25626
  name: z.ZodString;
25627
+ id: z.ZodString;
25628
+ projectId: z.ZodString;
25629
+ tenantId: z.ZodString;
25630
25630
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25631
25631
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25632
25632
  baseUrl: z.ZodURL;
@@ -25637,11 +25637,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25637
25637
  description: z.ZodString;
25638
25638
  }, z.core.$strip>>>;
25639
25639
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
25640
- tenantId: z.ZodString;
25641
- projectId: z.ZodString;
25642
- agentId: z.ZodString;
25643
- id: z.ZodString;
25644
25640
  name: z.ZodString;
25641
+ id: z.ZodString;
25642
+ agentId: z.ZodString;
25643
+ projectId: z.ZodString;
25644
+ tenantId: z.ZodString;
25645
25645
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25646
25646
  functionId: z.ZodString;
25647
25647
  }>, z.core.$strip>>>;
@@ -25652,33 +25652,33 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25652
25652
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
25653
25653
  }, z.core.$strip>>>;
25654
25654
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25655
- id: z.ZodOptional<z.ZodString>;
25656
25655
  name: z.ZodString;
25656
+ id: z.ZodOptional<z.ZodString>;
25657
25657
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25658
25658
  enabled: z.ZodOptional<z.ZodBoolean>;
25659
25659
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25660
25660
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25661
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25662
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25663
25661
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25662
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25664
25663
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25665
25664
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25666
25665
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25666
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25667
25667
  }, z.core.$strip>>>;
25668
25668
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25669
25669
  name: z.ZodString;
25670
25670
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25671
25671
  enabled: z.ZodOptional<z.ZodBoolean>;
25672
25672
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25673
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25674
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25673
25675
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25674
25676
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25675
25677
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25676
25678
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25677
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25678
25679
  maxRetries: z.ZodOptional<z.ZodNumber>;
25679
25680
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25680
25681
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
25681
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25682
25682
  id: z.ZodOptional<z.ZodString>;
25683
25683
  }, z.core.$strip>>>;
25684
25684
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -25780,9 +25780,9 @@ declare const ProjectSelectSchema: z.ZodObject<{
25780
25780
  in: {};
25781
25781
  }>;
25782
25782
  declare const ProjectInsertSchema: z.ZodObject<{
25783
- tenantId: z.ZodString;
25784
- id: z.ZodString;
25785
25783
  name: z.ZodString;
25784
+ id: z.ZodString;
25785
+ tenantId: z.ZodString;
25786
25786
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25787
25787
  models: z.ZodObject<{
25788
25788
  base: z.ZodObject<{
@@ -25832,11 +25832,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25832
25832
  in: {};
25833
25833
  }>;
25834
25834
  declare const ProjectApiSelectSchema: z.ZodObject<{
25835
- id: z.ZodString;
25836
25835
  name: z.ZodString;
25837
- description: z.ZodNullable<z.ZodString>;
25836
+ id: z.ZodString;
25838
25837
  createdAt: z.ZodString;
25839
25838
  updatedAt: z.ZodString;
25839
+ description: z.ZodNullable<z.ZodString>;
25840
25840
  models: z.ZodNullable<z.ZodObject<{
25841
25841
  base: z.ZodObject<{
25842
25842
  model: z.ZodOptional<z.ZodString>;
@@ -25860,8 +25860,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25860
25860
  in: {};
25861
25861
  }>;
25862
25862
  declare const ProjectApiInsertSchema: z.ZodObject<{
25863
- id: z.ZodString;
25864
25863
  name: z.ZodString;
25864
+ id: z.ZodString;
25865
25865
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25866
25866
  models: z.ZodObject<{
25867
25867
  base: z.ZodObject<{
@@ -25911,8 +25911,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
25911
25911
  in: {};
25912
25912
  }>;
25913
25913
  declare const FullProjectDefinitionSchema: z.ZodObject<{
25914
- id: z.ZodString;
25915
25914
  name: z.ZodString;
25915
+ id: z.ZodString;
25916
25916
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25917
25917
  models: z.ZodObject<{
25918
25918
  base: z.ZodObject<{
@@ -25933,17 +25933,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25933
25933
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25934
25934
  }, z.core.$strip>>;
25935
25935
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25936
- id: z.ZodString;
25937
25936
  name: z.ZodString;
25937
+ id: z.ZodString;
25938
25938
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25939
25939
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25940
25940
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25941
25941
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25942
- id: z.ZodString;
25943
25942
  name: z.ZodString;
25944
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25943
+ id: z.ZodString;
25945
25944
  createdAt: z.ZodOptional<z.ZodString>;
25946
25945
  updatedAt: z.ZodOptional<z.ZodString>;
25946
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25947
25947
  models: z.ZodOptional<z.ZodObject<{
25948
25948
  base: z.ZodOptional<z.ZodObject<{
25949
25949
  model: z.ZodOptional<z.ZodString>;
@@ -25992,10 +25992,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25992
25992
  }, z.core.$strip>>;
25993
25993
  }, z.core.$strip>>;
25994
25994
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25995
- tenantId: z.ZodString;
25996
- projectId: z.ZodString;
25997
- id: z.ZodString;
25998
25995
  name: z.ZodString;
25996
+ id: z.ZodString;
25997
+ projectId: z.ZodString;
25998
+ tenantId: z.ZodString;
25999
25999
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26000
26000
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26001
26001
  config: z.ZodObject<{
@@ -26032,10 +26032,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26032
26032
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
26033
26033
  }>, z.core.$strip>>>;
26034
26034
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26035
- tenantId: z.ZodString;
26036
- projectId: z.ZodString;
26037
- id: z.ZodString;
26038
26035
  name: z.ZodString;
26036
+ id: z.ZodString;
26037
+ projectId: z.ZodString;
26038
+ tenantId: z.ZodString;
26039
26039
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26040
26040
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26041
26041
  baseUrl: z.ZodURL;
@@ -26046,11 +26046,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26046
26046
  description: z.ZodString;
26047
26047
  }, z.core.$strip>>>;
26048
26048
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
26049
- tenantId: z.ZodString;
26050
- projectId: z.ZodString;
26051
- agentId: z.ZodString;
26052
- id: z.ZodString;
26053
26049
  name: z.ZodString;
26050
+ id: z.ZodString;
26051
+ agentId: z.ZodString;
26052
+ projectId: z.ZodString;
26053
+ tenantId: z.ZodString;
26054
26054
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26055
26055
  functionId: z.ZodString;
26056
26056
  }>, z.core.$strip>>>;
@@ -26061,33 +26061,33 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26061
26061
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26062
26062
  }, z.core.$strip>>>;
26063
26063
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26064
- id: z.ZodOptional<z.ZodString>;
26065
26064
  name: z.ZodString;
26065
+ id: z.ZodOptional<z.ZodString>;
26066
26066
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26067
26067
  enabled: z.ZodOptional<z.ZodBoolean>;
26068
26068
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26069
26069
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26070
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26071
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26072
26070
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26071
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26073
26072
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26074
26073
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26075
26074
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26075
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26076
26076
  }, z.core.$strip>>>;
26077
26077
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26078
26078
  name: z.ZodString;
26079
26079
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26080
26080
  enabled: z.ZodOptional<z.ZodBoolean>;
26081
26081
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26082
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26083
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26082
26084
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26083
26085
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26084
26086
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26085
26087
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26086
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26087
26088
  maxRetries: z.ZodOptional<z.ZodNumber>;
26088
26089
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
26089
26090
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
26090
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26091
26091
  id: z.ZodOptional<z.ZodString>;
26092
26092
  }, z.core.$strip>>>;
26093
26093
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -26130,10 +26130,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26130
26130
  prompt: z.ZodOptional<z.ZodString>;
26131
26131
  }, z.core.$strip>>;
26132
26132
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26133
- tenantId: z.ZodString;
26134
- projectId: z.ZodString;
26135
- id: z.ZodString;
26136
26133
  name: z.ZodString;
26134
+ id: z.ZodString;
26135
+ projectId: z.ZodString;
26136
+ tenantId: z.ZodString;
26137
26137
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26138
26138
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26139
26139
  config: z.ZodObject<{
@@ -26170,11 +26170,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26170
26170
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
26171
26171
  }>, z.core.$strip>>;
26172
26172
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
26173
- tenantId: z.ZodString;
26174
- projectId: z.ZodString;
26175
- agentId: z.ZodString;
26176
- id: z.ZodString;
26177
26173
  name: z.ZodString;
26174
+ id: z.ZodString;
26175
+ agentId: z.ZodString;
26176
+ projectId: z.ZodString;
26177
+ tenantId: z.ZodString;
26178
26178
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26179
26179
  functionId: z.ZodString;
26180
26180
  }>, z.core.$strip>>>;
@@ -26185,9 +26185,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26185
26185
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26186
26186
  }, z.core.$strip>>>;
26187
26187
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26188
- tenantId: z.ZodString;
26189
- projectId: z.ZodString;
26190
26188
  name: z.ZodString;
26189
+ projectId: z.ZodString;
26190
+ tenantId: z.ZodString;
26191
26191
  description: z.ZodString;
26192
26192
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
26193
26193
  content: z.ZodString;
@@ -26246,10 +26246,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26246
26246
  in: {};
26247
26247
  }>>>;
26248
26248
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26249
- tenantId: z.ZodString;
26250
- projectId: z.ZodString;
26251
- id: z.ZodString;
26252
26249
  name: z.ZodString;
26250
+ id: z.ZodString;
26251
+ projectId: z.ZodString;
26252
+ tenantId: z.ZodString;
26253
26253
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26254
26254
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26255
26255
  baseUrl: z.ZodURL;
@@ -26270,9 +26270,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26270
26270
  }, z.core.$strip>>>;
26271
26271
  }, z.core.$strip>>;
26272
26272
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26273
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26274
- id: z.ZodString;
26275
26273
  name: z.ZodString;
26274
+ id: z.ZodString;
26275
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26276
26276
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26277
26277
  credentialStoreId: z.ZodString;
26278
26278
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -26290,11 +26290,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26290
26290
  in: {};
26291
26291
  }>;
26292
26292
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26293
- id: z.ZodString;
26294
26293
  name: z.ZodString;
26295
- description: z.ZodNullable<z.ZodString>;
26294
+ id: z.ZodString;
26296
26295
  createdAt: z.ZodString;
26297
26296
  updatedAt: z.ZodString;
26297
+ description: z.ZodNullable<z.ZodString>;
26298
26298
  models: z.ZodNullable<z.ZodType<{
26299
26299
  base?: {
26300
26300
  model?: string | undefined;
@@ -26383,11 +26383,11 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
26383
26383
  }, z.core.$strip>]>>>;
26384
26384
  }, z.core.$strip>;
26385
26385
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26386
- id: z.ZodString;
26387
26386
  name: z.ZodString;
26388
- description: z.ZodNullable<z.ZodString>;
26387
+ id: z.ZodString;
26389
26388
  createdAt: z.ZodString;
26390
26389
  updatedAt: z.ZodString;
26390
+ description: z.ZodNullable<z.ZodString>;
26391
26391
  models: z.ZodNullable<z.ZodType<{
26392
26392
  base?: {
26393
26393
  model?: string | undefined;
@@ -26482,19 +26482,19 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26482
26482
  }, z.core.$strip>]>>>;
26483
26483
  }, z.core.$strip>;
26484
26484
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26485
- id: z.ZodString;
26486
26485
  name: z.ZodString;
26487
- description: z.ZodNullable<z.ZodString>;
26486
+ id: z.ZodString;
26488
26487
  createdAt: z.ZodString;
26489
26488
  updatedAt: z.ZodString;
26489
+ description: z.ZodNullable<z.ZodString>;
26490
26490
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26491
26491
  contextConfigId: z.ZodNullable<z.ZodString>;
26492
26492
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26493
- id: z.ZodString;
26494
26493
  name: z.ZodString;
26495
- description: z.ZodNullable<z.ZodString>;
26494
+ id: z.ZodString;
26496
26495
  createdAt: z.ZodString;
26497
26496
  updatedAt: z.ZodString;
26497
+ description: z.ZodNullable<z.ZodString>;
26498
26498
  models: z.ZodNullable<z.ZodType<{
26499
26499
  base?: {
26500
26500
  model?: string | undefined;
@@ -26628,12 +26628,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26628
26628
  description: z.ZodString;
26629
26629
  }, z.core.$strip>>>;
26630
26630
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26631
- agentId: z.ZodString;
26632
- id: z.ZodString;
26633
26631
  name: z.ZodString;
26634
- description: z.ZodNullable<z.ZodString>;
26632
+ id: z.ZodString;
26635
26633
  createdAt: z.ZodString;
26636
26634
  updatedAt: z.ZodString;
26635
+ agentId: z.ZodString;
26636
+ description: z.ZodNullable<z.ZodString>;
26637
26637
  functionId: z.ZodString;
26638
26638
  relationshipId: z.ZodOptional<z.ZodString>;
26639
26639
  }, z.core.$strip>>>;
@@ -26670,10 +26670,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26670
26670
  }>, z.core.$strip>>>;
26671
26671
  contextConfig: z.ZodNullable<z.ZodObject<{
26672
26672
  id: z.ZodString;
26673
- createdAt: z.ZodString;
26674
- updatedAt: z.ZodString;
26675
26673
  headersSchema: z.ZodOptional<z.ZodAny>;
26676
26674
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26675
+ createdAt: z.ZodString;
26676
+ updatedAt: z.ZodString;
26677
26677
  }, z.core.$strip>>;
26678
26678
  statusUpdates: z.ZodNullable<z.ZodObject<{
26679
26679
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26710,11 +26710,11 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26710
26710
  prompt: z.ZodNullable<z.ZodString>;
26711
26711
  }, z.core.$strip>;
26712
26712
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26713
- id: z.ZodString;
26714
26713
  name: z.ZodString;
26715
- description: z.ZodNullable<z.ZodString>;
26714
+ id: z.ZodString;
26716
26715
  createdAt: z.ZodString;
26717
26716
  updatedAt: z.ZodString;
26717
+ description: z.ZodNullable<z.ZodString>;
26718
26718
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26719
26719
  contextConfigId: z.ZodNullable<z.ZodString>;
26720
26720
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -26763,12 +26763,12 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26763
26763
  description: z.ZodString;
26764
26764
  }, z.core.$strip>>>;
26765
26765
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26766
- agentId: z.ZodString;
26767
- id: z.ZodString;
26768
26766
  name: z.ZodString;
26769
- description: z.ZodNullable<z.ZodString>;
26767
+ id: z.ZodString;
26770
26768
  createdAt: z.ZodString;
26771
26769
  updatedAt: z.ZodString;
26770
+ agentId: z.ZodString;
26771
+ description: z.ZodNullable<z.ZodString>;
26772
26772
  functionId: z.ZodString;
26773
26773
  relationshipId: z.ZodOptional<z.ZodString>;
26774
26774
  }, z.core.$strip>>>;
@@ -26805,10 +26805,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26805
26805
  }>, z.core.$strip>>>;
26806
26806
  contextConfig: z.ZodNullable<z.ZodObject<{
26807
26807
  id: z.ZodString;
26808
- createdAt: z.ZodString;
26809
- updatedAt: z.ZodString;
26810
26808
  headersSchema: z.ZodOptional<z.ZodAny>;
26811
26809
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
26810
+ createdAt: z.ZodString;
26811
+ updatedAt: z.ZodString;
26812
26812
  }, z.core.$strip>>;
26813
26813
  statusUpdates: z.ZodNullable<z.ZodObject<{
26814
26814
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -26844,11 +26844,11 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26844
26844
  }, z.core.$strip>>;
26845
26845
  prompt: z.ZodNullable<z.ZodString>;
26846
26846
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26847
- id: z.ZodString;
26848
26847
  name: z.ZodString;
26849
- description: z.ZodNullable<z.ZodString>;
26848
+ id: z.ZodString;
26850
26849
  createdAt: z.ZodString;
26851
26850
  updatedAt: z.ZodString;
26851
+ description: z.ZodNullable<z.ZodString>;
26852
26852
  models: z.ZodNullable<z.ZodType<{
26853
26853
  base?: {
26854
26854
  model?: string | undefined;
@@ -26944,11 +26944,11 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26944
26944
  }, z.core.$strip>>;
26945
26945
  }, z.core.$strip>;
26946
26946
  declare const FullProjectSelectSchema: z.ZodObject<{
26947
- id: z.ZodString;
26948
26947
  name: z.ZodString;
26949
- description: z.ZodNullable<z.ZodString>;
26948
+ id: z.ZodString;
26950
26949
  createdAt: z.ZodString;
26951
26950
  updatedAt: z.ZodString;
26951
+ description: z.ZodNullable<z.ZodString>;
26952
26952
  models: z.ZodNullable<z.ZodObject<{
26953
26953
  base: z.ZodObject<{
26954
26954
  model: z.ZodOptional<z.ZodString>;
@@ -26968,19 +26968,19 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26968
26968
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26969
26969
  }, z.core.$strip>>;
26970
26970
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26971
- id: z.ZodString;
26972
26971
  name: z.ZodString;
26973
- description: z.ZodNullable<z.ZodString>;
26972
+ id: z.ZodString;
26974
26973
  createdAt: z.ZodString;
26975
26974
  updatedAt: z.ZodString;
26975
+ description: z.ZodNullable<z.ZodString>;
26976
26976
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
26977
26977
  contextConfigId: z.ZodNullable<z.ZodString>;
26978
26978
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26979
- id: z.ZodString;
26980
26979
  name: z.ZodString;
26981
- description: z.ZodNullable<z.ZodString>;
26980
+ id: z.ZodString;
26982
26981
  createdAt: z.ZodString;
26983
26982
  updatedAt: z.ZodString;
26983
+ description: z.ZodNullable<z.ZodString>;
26984
26984
  models: z.ZodNullable<z.ZodType<{
26985
26985
  base?: {
26986
26986
  model?: string | undefined;
@@ -27114,12 +27114,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27114
27114
  description: z.ZodString;
27115
27115
  }, z.core.$strip>>>;
27116
27116
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27117
- agentId: z.ZodString;
27118
- id: z.ZodString;
27119
27117
  name: z.ZodString;
27120
- description: z.ZodNullable<z.ZodString>;
27118
+ id: z.ZodString;
27121
27119
  createdAt: z.ZodString;
27122
27120
  updatedAt: z.ZodString;
27121
+ agentId: z.ZodString;
27122
+ description: z.ZodNullable<z.ZodString>;
27123
27123
  functionId: z.ZodString;
27124
27124
  relationshipId: z.ZodOptional<z.ZodString>;
27125
27125
  }, z.core.$strip>>>;
@@ -27156,10 +27156,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27156
27156
  }>, z.core.$strip>>>;
27157
27157
  contextConfig: z.ZodNullable<z.ZodObject<{
27158
27158
  id: z.ZodString;
27159
- createdAt: z.ZodString;
27160
- updatedAt: z.ZodString;
27161
27159
  headersSchema: z.ZodOptional<z.ZodAny>;
27162
27160
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
27161
+ createdAt: z.ZodString;
27162
+ updatedAt: z.ZodString;
27163
27163
  }, z.core.$strip>>;
27164
27164
  statusUpdates: z.ZodNullable<z.ZodObject<{
27165
27165
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -27225,12 +27225,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27225
27225
  id: z.ZodString;
27226
27226
  }>, z.core.$strip>>;
27227
27227
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27228
- agentId: z.ZodString;
27229
- id: z.ZodString;
27230
27228
  name: z.ZodString;
27231
- description: z.ZodNullable<z.ZodString>;
27229
+ id: z.ZodString;
27232
27230
  createdAt: z.ZodString;
27233
27231
  updatedAt: z.ZodString;
27232
+ agentId: z.ZodString;
27233
+ description: z.ZodNullable<z.ZodString>;
27234
27234
  functionId: z.ZodString;
27235
27235
  relationshipId: z.ZodOptional<z.ZodString>;
27236
27236
  }, z.core.$strip>>>;
@@ -27373,11 +27373,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27373
27373
  }, z.core.$strip>>>;
27374
27374
  }, z.core.$strip>>;
27375
27375
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27376
- toolId: z.ZodNullable<z.ZodString>;
27377
- id: z.ZodString;
27378
27376
  name: z.ZodString;
27377
+ id: z.ZodString;
27379
27378
  createdAt: z.ZodString;
27380
27379
  updatedAt: z.ZodString;
27380
+ toolId: z.ZodNullable<z.ZodString>;
27381
27381
  userId: z.ZodNullable<z.ZodString>;
27382
27382
  credentialStoreId: z.ZodString;
27383
27383
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -27968,11 +27968,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27968
27968
  in: {};
27969
27969
  }>;
27970
27970
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27971
- id: z.ZodString;
27972
27971
  name: z.ZodString;
27973
- description: z.ZodNullable<z.ZodString>;
27972
+ id: z.ZodString;
27974
27973
  createdAt: z.ZodString;
27975
27974
  updatedAt: z.ZodString;
27975
+ description: z.ZodNullable<z.ZodString>;
27976
27976
  models: z.ZodNullable<z.ZodObject<{
27977
27977
  base: z.ZodObject<{
27978
27978
  model: z.ZodOptional<z.ZodString>;
@@ -28021,12 +28021,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28021
28021
  id: z.ZodString;
28022
28022
  }>, z.core.$strip>>;
28023
28023
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28024
- agentId: z.ZodString;
28025
- id: z.ZodString;
28026
28024
  name: z.ZodString;
28027
- description: z.ZodNullable<z.ZodString>;
28025
+ id: z.ZodString;
28028
28026
  createdAt: z.ZodString;
28029
28027
  updatedAt: z.ZodString;
28028
+ agentId: z.ZodString;
28029
+ description: z.ZodNullable<z.ZodString>;
28030
28030
  functionId: z.ZodString;
28031
28031
  relationshipId: z.ZodOptional<z.ZodString>;
28032
28032
  }, z.core.$strip>>>;
@@ -28169,11 +28169,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28169
28169
  }, z.core.$strip>>>;
28170
28170
  }, z.core.$strip>>;
28171
28171
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28172
- toolId: z.ZodNullable<z.ZodString>;
28173
- id: z.ZodString;
28174
28172
  name: z.ZodString;
28173
+ id: z.ZodString;
28175
28174
  createdAt: z.ZodString;
28176
28175
  updatedAt: z.ZodString;
28176
+ toolId: z.ZodNullable<z.ZodString>;
28177
28177
  userId: z.ZodNullable<z.ZodString>;
28178
28178
  credentialStoreId: z.ZodString;
28179
28179
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -28760,11 +28760,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28760
28760
  }>>>;
28761
28761
  }, z.core.$strip>>>;
28762
28762
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28763
- id: z.ZodString;
28764
28763
  name: z.ZodString;
28765
- description: z.ZodNullable<z.ZodString>;
28764
+ id: z.ZodString;
28766
28765
  createdAt: z.ZodString;
28767
28766
  updatedAt: z.ZodString;
28767
+ description: z.ZodNullable<z.ZodString>;
28768
28768
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28769
28769
  contextConfigId: z.ZodNullable<z.ZodString>;
28770
28770
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -28813,12 +28813,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28813
28813
  description: z.ZodString;
28814
28814
  }, z.core.$strip>>>;
28815
28815
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28816
- agentId: z.ZodString;
28817
- id: z.ZodString;
28818
28816
  name: z.ZodString;
28819
- description: z.ZodNullable<z.ZodString>;
28817
+ id: z.ZodString;
28820
28818
  createdAt: z.ZodString;
28821
28819
  updatedAt: z.ZodString;
28820
+ agentId: z.ZodString;
28821
+ description: z.ZodNullable<z.ZodString>;
28822
28822
  functionId: z.ZodString;
28823
28823
  relationshipId: z.ZodOptional<z.ZodString>;
28824
28824
  }, z.core.$strip>>>;
@@ -28855,10 +28855,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28855
28855
  }>, z.core.$strip>>>;
28856
28856
  contextConfig: z.ZodNullable<z.ZodObject<{
28857
28857
  id: z.ZodString;
28858
- createdAt: z.ZodString;
28859
- updatedAt: z.ZodString;
28860
28858
  headersSchema: z.ZodOptional<z.ZodAny>;
28861
28859
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
28860
+ createdAt: z.ZodString;
28861
+ updatedAt: z.ZodString;
28862
28862
  }, z.core.$strip>>;
28863
28863
  statusUpdates: z.ZodNullable<z.ZodObject<{
28864
28864
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -28894,11 +28894,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28894
28894
  }, z.core.$strip>>;
28895
28895
  prompt: z.ZodNullable<z.ZodString>;
28896
28896
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28897
- id: z.ZodString;
28898
28897
  name: z.ZodString;
28899
- description: z.ZodNullable<z.ZodString>;
28898
+ id: z.ZodString;
28900
28899
  createdAt: z.ZodString;
28901
28900
  updatedAt: z.ZodString;
28901
+ description: z.ZodNullable<z.ZodString>;
28902
28902
  models: z.ZodNullable<z.ZodType<{
28903
28903
  base?: {
28904
28904
  model?: string | undefined;
@@ -28999,11 +28999,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28999
28999
  }>;
29000
29000
  declare const ProjectResponse: z.ZodObject<{
29001
29001
  data: z.ZodObject<{
29002
- id: z.ZodString;
29003
29002
  name: z.ZodString;
29004
- description: z.ZodNullable<z.ZodString>;
29003
+ id: z.ZodString;
29005
29004
  createdAt: z.ZodString;
29006
29005
  updatedAt: z.ZodString;
29006
+ description: z.ZodNullable<z.ZodString>;
29007
29007
  models: z.ZodNullable<z.ZodObject<{
29008
29008
  base: z.ZodObject<{
29009
29009
  model: z.ZodOptional<z.ZodString>;
@@ -29252,19 +29252,19 @@ declare const ExternalAgentResponse: z.ZodObject<{
29252
29252
  declare const ContextConfigResponse: z.ZodObject<{
29253
29253
  data: z.ZodObject<{
29254
29254
  id: z.ZodString;
29255
- createdAt: z.ZodString;
29256
- updatedAt: z.ZodString;
29257
29255
  headersSchema: z.ZodOptional<z.ZodAny>;
29258
29256
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
29257
+ createdAt: z.ZodString;
29258
+ updatedAt: z.ZodString;
29259
29259
  }, z.core.$strip>;
29260
29260
  }, z.core.$strip>;
29261
29261
  declare const ApiKeyResponse: z.ZodObject<{
29262
29262
  data: z.ZodObject<{
29263
- agentId: z.ZodString;
29264
- id: z.ZodString;
29265
29263
  name: z.ZodNullable<z.ZodString>;
29264
+ id: z.ZodString;
29266
29265
  createdAt: z.ZodString;
29267
29266
  updatedAt: z.ZodString;
29267
+ agentId: z.ZodString;
29268
29268
  expiresAt: z.ZodNullable<z.ZodString>;
29269
29269
  publicId: z.ZodString;
29270
29270
  keyPrefix: z.ZodString;
@@ -29276,11 +29276,11 @@ declare const ApiKeyResponse: z.ZodObject<{
29276
29276
  }, z.core.$strip>;
29277
29277
  declare const CredentialReferenceResponse: z.ZodObject<{
29278
29278
  data: z.ZodObject<{
29279
- toolId: z.ZodNullable<z.ZodString>;
29280
- id: z.ZodString;
29281
29279
  name: z.ZodString;
29280
+ id: z.ZodString;
29282
29281
  createdAt: z.ZodString;
29283
29282
  updatedAt: z.ZodString;
29283
+ toolId: z.ZodNullable<z.ZodString>;
29284
29284
  userId: z.ZodNullable<z.ZodString>;
29285
29285
  credentialStoreId: z.ZodString;
29286
29286
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -29881,12 +29881,12 @@ declare const FunctionResponse: z.ZodObject<{
29881
29881
  }, z.core.$strip>;
29882
29882
  declare const FunctionToolResponse: z.ZodObject<{
29883
29883
  data: z.ZodObject<{
29884
- agentId: z.ZodString;
29885
- id: z.ZodString;
29886
29884
  name: z.ZodString;
29887
- description: z.ZodNullable<z.ZodString>;
29885
+ id: z.ZodString;
29888
29886
  createdAt: z.ZodString;
29889
29887
  updatedAt: z.ZodString;
29888
+ agentId: z.ZodString;
29889
+ description: z.ZodNullable<z.ZodString>;
29890
29890
  functionId: z.ZodString;
29891
29891
  relationshipId: z.ZodOptional<z.ZodString>;
29892
29892
  }, z.core.$strip>;
@@ -30120,11 +30120,11 @@ declare const TriggerInvocationResponse: z.ZodObject<{
30120
30120
  }, z.core.$strip>;
30121
30121
  declare const ProjectListResponse: z.ZodObject<{
30122
30122
  data: z.ZodArray<z.ZodObject<{
30123
- id: z.ZodString;
30124
30123
  name: z.ZodString;
30125
- description: z.ZodNullable<z.ZodString>;
30124
+ id: z.ZodString;
30126
30125
  createdAt: z.ZodString;
30127
30126
  updatedAt: z.ZodString;
30127
+ description: z.ZodNullable<z.ZodString>;
30128
30128
  models: z.ZodNullable<z.ZodObject<{
30129
30129
  base: z.ZodObject<{
30130
30130
  model: z.ZodOptional<z.ZodString>;
@@ -30397,10 +30397,10 @@ declare const ExternalAgentListResponse: z.ZodObject<{
30397
30397
  declare const ContextConfigListResponse: z.ZodObject<{
30398
30398
  data: z.ZodArray<z.ZodObject<{
30399
30399
  id: z.ZodString;
30400
- createdAt: z.ZodString;
30401
- updatedAt: z.ZodString;
30402
30400
  headersSchema: z.ZodOptional<z.ZodAny>;
30403
30401
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
30402
+ createdAt: z.ZodString;
30403
+ updatedAt: z.ZodString;
30404
30404
  }, z.core.$strip>>;
30405
30405
  pagination: z.ZodObject<{
30406
30406
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30411,11 +30411,11 @@ declare const ContextConfigListResponse: z.ZodObject<{
30411
30411
  }, z.core.$strip>;
30412
30412
  declare const ApiKeyListResponse: z.ZodObject<{
30413
30413
  data: z.ZodArray<z.ZodObject<{
30414
- agentId: z.ZodString;
30415
- id: z.ZodString;
30416
30414
  name: z.ZodNullable<z.ZodString>;
30415
+ id: z.ZodString;
30417
30416
  createdAt: z.ZodString;
30418
30417
  updatedAt: z.ZodString;
30418
+ agentId: z.ZodString;
30419
30419
  expiresAt: z.ZodNullable<z.ZodString>;
30420
30420
  publicId: z.ZodString;
30421
30421
  keyPrefix: z.ZodString;
@@ -30433,14 +30433,14 @@ declare const ApiKeyListResponse: z.ZodObject<{
30433
30433
  }, z.core.$strip>;
30434
30434
  declare const AppResponse: z.ZodObject<{
30435
30435
  data: z.ZodObject<{
30436
- tenantId: z.ZodNullable<z.ZodString>;
30437
- projectId: z.ZodNullable<z.ZodString>;
30438
- id: z.ZodString;
30439
- name: z.ZodString;
30440
30436
  type: z.ZodString;
30441
- description: z.ZodNullable<z.ZodString>;
30437
+ name: z.ZodString;
30438
+ id: z.ZodString;
30442
30439
  createdAt: z.ZodString;
30443
30440
  updatedAt: z.ZodString;
30441
+ projectId: z.ZodNullable<z.ZodString>;
30442
+ tenantId: z.ZodNullable<z.ZodString>;
30443
+ description: z.ZodNullable<z.ZodString>;
30444
30444
  enabled: z.ZodBoolean;
30445
30445
  lastUsedAt: z.ZodNullable<z.ZodString>;
30446
30446
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -30461,14 +30461,14 @@ declare const AppResponse: z.ZodObject<{
30461
30461
  }, z.core.$strip>;
30462
30462
  declare const AppListResponse: z.ZodObject<{
30463
30463
  data: z.ZodArray<z.ZodObject<{
30464
- tenantId: z.ZodNullable<z.ZodString>;
30465
- projectId: z.ZodNullable<z.ZodString>;
30466
- id: z.ZodString;
30467
- name: z.ZodString;
30468
30464
  type: z.ZodString;
30469
- description: z.ZodNullable<z.ZodString>;
30465
+ name: z.ZodString;
30466
+ id: z.ZodString;
30470
30467
  createdAt: z.ZodString;
30471
30468
  updatedAt: z.ZodString;
30469
+ projectId: z.ZodNullable<z.ZodString>;
30470
+ tenantId: z.ZodNullable<z.ZodString>;
30471
+ description: z.ZodNullable<z.ZodString>;
30472
30472
  enabled: z.ZodBoolean;
30473
30473
  lastUsedAt: z.ZodNullable<z.ZodString>;
30474
30474
  defaultProjectId: z.ZodNullable<z.ZodString>;
@@ -30495,11 +30495,11 @@ declare const AppListResponse: z.ZodObject<{
30495
30495
  }, z.core.$strip>;
30496
30496
  declare const CredentialReferenceListResponse: z.ZodObject<{
30497
30497
  data: z.ZodArray<z.ZodObject<{
30498
- toolId: z.ZodNullable<z.ZodString>;
30499
- id: z.ZodString;
30500
30498
  name: z.ZodString;
30499
+ id: z.ZodString;
30501
30500
  createdAt: z.ZodString;
30502
30501
  updatedAt: z.ZodString;
30502
+ toolId: z.ZodNullable<z.ZodString>;
30503
30503
  userId: z.ZodNullable<z.ZodString>;
30504
30504
  credentialStoreId: z.ZodString;
30505
30505
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -31112,12 +31112,12 @@ declare const FunctionListResponse: z.ZodObject<{
31112
31112
  }, z.core.$strip>;
31113
31113
  declare const FunctionToolListResponse: z.ZodObject<{
31114
31114
  data: z.ZodArray<z.ZodObject<{
31115
- agentId: z.ZodString;
31116
- id: z.ZodString;
31117
31115
  name: z.ZodString;
31118
- description: z.ZodNullable<z.ZodString>;
31116
+ id: z.ZodString;
31119
31117
  createdAt: z.ZodString;
31120
31118
  updatedAt: z.ZodString;
31119
+ agentId: z.ZodString;
31120
+ description: z.ZodNullable<z.ZodString>;
31121
31121
  functionId: z.ZodString;
31122
31122
  relationshipId: z.ZodOptional<z.ZodString>;
31123
31123
  }, z.core.$strip>>;
@@ -31431,17 +31431,16 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
31431
31431
  }, z.core.$strip>;
31432
31432
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
31433
31433
  data: z.ZodObject<{
31434
- id: z.ZodString;
31435
31434
  name: z.ZodString;
31436
- description: z.ZodNullable<z.ZodString>;
31435
+ id: z.ZodString;
31437
31436
  createdAt: z.ZodString;
31438
31437
  updatedAt: z.ZodString;
31438
+ description: z.ZodNullable<z.ZodString>;
31439
31439
  enabled: z.ZodBoolean;
31440
31440
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31441
31441
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31442
- messageTemplate: z.ZodNullable<z.ZodString>;
31443
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31444
31442
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31443
+ messageTemplate: z.ZodNullable<z.ZodString>;
31445
31444
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31446
31445
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31447
31446
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -31489,22 +31488,22 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
31489
31488
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
31490
31489
  }, z.core.$strip>>;
31491
31490
  }, z.core.$strip>>>;
31491
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31492
31492
  webhookUrl: z.ZodString;
31493
31493
  }, z.core.$strip>;
31494
31494
  }, z.core.$strip>;
31495
31495
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31496
31496
  data: z.ZodObject<{
31497
- id: z.ZodString;
31498
31497
  name: z.ZodString;
31499
- description: z.ZodNullable<z.ZodString>;
31498
+ id: z.ZodString;
31500
31499
  createdAt: z.ZodString;
31501
31500
  updatedAt: z.ZodString;
31501
+ description: z.ZodNullable<z.ZodString>;
31502
31502
  enabled: z.ZodBoolean;
31503
31503
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31504
31504
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31505
- messageTemplate: z.ZodNullable<z.ZodString>;
31506
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31507
31505
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31506
+ messageTemplate: z.ZodNullable<z.ZodString>;
31508
31507
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31509
31508
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31510
31509
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -31552,23 +31551,23 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31552
31551
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
31553
31552
  }, z.core.$strip>>;
31554
31553
  }, z.core.$strip>>>;
31554
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31555
31555
  webhookUrl: z.ZodString;
31556
31556
  }, z.core.$strip>;
31557
31557
  warning: z.ZodOptional<z.ZodString>;
31558
31558
  }, z.core.$strip>;
31559
31559
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31560
31560
  data: z.ZodArray<z.ZodObject<{
31561
- id: z.ZodString;
31562
31561
  name: z.ZodString;
31563
- description: z.ZodNullable<z.ZodString>;
31562
+ id: z.ZodString;
31564
31563
  createdAt: z.ZodString;
31565
31564
  updatedAt: z.ZodString;
31565
+ description: z.ZodNullable<z.ZodString>;
31566
31566
  enabled: z.ZodBoolean;
31567
31567
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31568
31568
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31569
- messageTemplate: z.ZodNullable<z.ZodString>;
31570
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31571
31569
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31570
+ messageTemplate: z.ZodNullable<z.ZodString>;
31572
31571
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31573
31572
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31574
31573
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -31616,6 +31615,7 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31616
31615
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
31617
31616
  }, z.core.$strip>>;
31618
31617
  }, z.core.$strip>>>;
31618
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31619
31619
  webhookUrl: z.ZodString;
31620
31620
  }, z.core.$strip>>;
31621
31621
  pagination: z.ZodObject<{
@@ -31626,22 +31626,22 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31626
31626
  }, z.core.$strip>;
31627
31627
  }, z.core.$strip>;
31628
31628
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31629
- id: z.ZodString;
31630
31629
  name: z.ZodString;
31631
- description: z.ZodNullable<z.ZodString>;
31630
+ id: z.ZodString;
31632
31631
  createdAt: z.ZodString;
31633
31632
  updatedAt: z.ZodString;
31633
+ description: z.ZodNullable<z.ZodString>;
31634
31634
  enabled: z.ZodBoolean;
31635
31635
  createdBy: z.ZodNullable<z.ZodString>;
31636
+ messageTemplate: z.ZodNullable<z.ZodString>;
31637
+ runAsUserId: z.ZodNullable<z.ZodString>;
31636
31638
  cronExpression: z.ZodNullable<z.ZodString>;
31637
31639
  cronTimezone: z.ZodNullable<z.ZodString>;
31638
31640
  runAt: z.ZodNullable<z.ZodString>;
31639
31641
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31640
- messageTemplate: z.ZodNullable<z.ZodString>;
31641
31642
  maxRetries: z.ZodNumber;
31642
31643
  retryDelaySeconds: z.ZodNumber;
31643
31644
  timeoutSeconds: z.ZodNumber;
31644
- runAsUserId: z.ZodNullable<z.ZodString>;
31645
31645
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
31646
31646
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
31647
31647
  completed: "completed";
@@ -31705,22 +31705,22 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
31705
31705
  }, z.core.$strip>;
31706
31706
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31707
31707
  data: z.ZodArray<z.ZodObject<{
31708
- id: z.ZodString;
31709
31708
  name: z.ZodString;
31710
- description: z.ZodNullable<z.ZodString>;
31709
+ id: z.ZodString;
31711
31710
  createdAt: z.ZodString;
31712
31711
  updatedAt: z.ZodString;
31712
+ description: z.ZodNullable<z.ZodString>;
31713
31713
  enabled: z.ZodBoolean;
31714
31714
  createdBy: z.ZodNullable<z.ZodString>;
31715
+ messageTemplate: z.ZodNullable<z.ZodString>;
31716
+ runAsUserId: z.ZodNullable<z.ZodString>;
31715
31717
  cronExpression: z.ZodNullable<z.ZodString>;
31716
31718
  cronTimezone: z.ZodNullable<z.ZodString>;
31717
31719
  runAt: z.ZodNullable<z.ZodString>;
31718
31720
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31719
- messageTemplate: z.ZodNullable<z.ZodString>;
31720
31721
  maxRetries: z.ZodNumber;
31721
31722
  retryDelaySeconds: z.ZodNumber;
31722
31723
  timeoutSeconds: z.ZodNumber;
31723
- runAsUserId: z.ZodNullable<z.ZodString>;
31724
31724
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
31725
31725
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
31726
31726
  completed: "completed";
@@ -31864,12 +31864,12 @@ declare const SubAgentSkillResponse: z.ZodObject<{
31864
31864
  }, z.core.$strip>;
31865
31865
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31866
31866
  data: z.ZodArray<z.ZodObject<{
31867
- id: z.ZodString;
31868
31867
  name: z.ZodString;
31869
- description: z.ZodString;
31870
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31868
+ id: z.ZodString;
31871
31869
  createdAt: z.ZodString;
31872
31870
  updatedAt: z.ZodString;
31871
+ description: z.ZodString;
31872
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31873
31873
  content: z.ZodString;
31874
31874
  subAgentSkillId: z.ZodString;
31875
31875
  subAgentId: z.ZodString;
@@ -31879,8 +31879,8 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31879
31879
  }, z.core.$strip>;
31880
31880
  declare const FullProjectDefinitionResponse: z.ZodObject<{
31881
31881
  data: z.ZodObject<{
31882
- id: z.ZodString;
31883
31882
  name: z.ZodString;
31883
+ id: z.ZodString;
31884
31884
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31885
31885
  models: z.ZodObject<{
31886
31886
  base: z.ZodObject<{
@@ -31901,17 +31901,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31901
31901
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31902
31902
  }, z.core.$strip>>;
31903
31903
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31904
- id: z.ZodString;
31905
31904
  name: z.ZodString;
31905
+ id: z.ZodString;
31906
31906
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31907
31907
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31908
31908
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31909
31909
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31910
- id: z.ZodString;
31911
31910
  name: z.ZodString;
31912
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31911
+ id: z.ZodString;
31913
31912
  createdAt: z.ZodOptional<z.ZodString>;
31914
31913
  updatedAt: z.ZodOptional<z.ZodString>;
31914
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31915
31915
  models: z.ZodOptional<z.ZodObject<{
31916
31916
  base: z.ZodOptional<z.ZodObject<{
31917
31917
  model: z.ZodOptional<z.ZodString>;
@@ -31960,10 +31960,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31960
31960
  }, z.core.$strip>>;
31961
31961
  }, z.core.$strip>>;
31962
31962
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31963
- tenantId: z.ZodString;
31964
- projectId: z.ZodString;
31965
- id: z.ZodString;
31966
31963
  name: z.ZodString;
31964
+ id: z.ZodString;
31965
+ projectId: z.ZodString;
31966
+ tenantId: z.ZodString;
31967
31967
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31968
31968
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
31969
31969
  config: z.ZodObject<{
@@ -32000,10 +32000,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32000
32000
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
32001
32001
  }>, z.core.$strip>>>;
32002
32002
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32003
- tenantId: z.ZodString;
32004
- projectId: z.ZodString;
32005
- id: z.ZodString;
32006
32003
  name: z.ZodString;
32004
+ id: z.ZodString;
32005
+ projectId: z.ZodString;
32006
+ tenantId: z.ZodString;
32007
32007
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32008
32008
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32009
32009
  baseUrl: z.ZodURL;
@@ -32014,11 +32014,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32014
32014
  description: z.ZodString;
32015
32015
  }, z.core.$strip>>>;
32016
32016
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
32017
- tenantId: z.ZodString;
32018
- projectId: z.ZodString;
32019
- agentId: z.ZodString;
32020
- id: z.ZodString;
32021
32017
  name: z.ZodString;
32018
+ id: z.ZodString;
32019
+ agentId: z.ZodString;
32020
+ projectId: z.ZodString;
32021
+ tenantId: z.ZodString;
32022
32022
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32023
32023
  functionId: z.ZodString;
32024
32024
  }>, z.core.$strip>>>;
@@ -32029,33 +32029,33 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32029
32029
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32030
32030
  }, z.core.$strip>>>;
32031
32031
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32032
- id: z.ZodOptional<z.ZodString>;
32033
32032
  name: z.ZodString;
32033
+ id: z.ZodOptional<z.ZodString>;
32034
32034
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32035
32035
  enabled: z.ZodOptional<z.ZodBoolean>;
32036
32036
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32037
32037
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32038
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32039
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32040
32038
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32039
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32041
32040
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32042
32041
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32043
32042
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32043
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32044
32044
  }, z.core.$strip>>>;
32045
32045
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32046
32046
  name: z.ZodString;
32047
32047
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32048
32048
  enabled: z.ZodOptional<z.ZodBoolean>;
32049
32049
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32050
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32051
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32050
32052
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32051
32053
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32052
32054
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32053
32055
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32054
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32055
32056
  maxRetries: z.ZodOptional<z.ZodNumber>;
32056
32057
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
32057
32058
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
32058
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32059
32059
  id: z.ZodOptional<z.ZodString>;
32060
32060
  }, z.core.$strip>>>;
32061
32061
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -32098,10 +32098,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32098
32098
  prompt: z.ZodOptional<z.ZodString>;
32099
32099
  }, z.core.$strip>>;
32100
32100
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32101
- tenantId: z.ZodString;
32102
- projectId: z.ZodString;
32103
- id: z.ZodString;
32104
32101
  name: z.ZodString;
32102
+ id: z.ZodString;
32103
+ projectId: z.ZodString;
32104
+ tenantId: z.ZodString;
32105
32105
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32106
32106
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32107
32107
  config: z.ZodObject<{
@@ -32138,11 +32138,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32138
32138
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
32139
32139
  }>, z.core.$strip>>;
32140
32140
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
32141
- tenantId: z.ZodString;
32142
- projectId: z.ZodString;
32143
- agentId: z.ZodString;
32144
- id: z.ZodString;
32145
32141
  name: z.ZodString;
32142
+ id: z.ZodString;
32143
+ agentId: z.ZodString;
32144
+ projectId: z.ZodString;
32145
+ tenantId: z.ZodString;
32146
32146
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32147
32147
  functionId: z.ZodString;
32148
32148
  }>, z.core.$strip>>>;
@@ -32153,9 +32153,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32153
32153
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32154
32154
  }, z.core.$strip>>>;
32155
32155
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32156
- tenantId: z.ZodString;
32157
- projectId: z.ZodString;
32158
32156
  name: z.ZodString;
32157
+ projectId: z.ZodString;
32158
+ tenantId: z.ZodString;
32159
32159
  description: z.ZodString;
32160
32160
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
32161
32161
  content: z.ZodString;
@@ -32214,10 +32214,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32214
32214
  in: {};
32215
32215
  }>>>;
32216
32216
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32217
- tenantId: z.ZodString;
32218
- projectId: z.ZodString;
32219
- id: z.ZodString;
32220
32217
  name: z.ZodString;
32218
+ id: z.ZodString;
32219
+ projectId: z.ZodString;
32220
+ tenantId: z.ZodString;
32221
32221
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32222
32222
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32223
32223
  baseUrl: z.ZodURL;
@@ -32238,9 +32238,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32238
32238
  }, z.core.$strip>>>;
32239
32239
  }, z.core.$strip>>;
32240
32240
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32241
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32242
- id: z.ZodString;
32243
32241
  name: z.ZodString;
32242
+ id: z.ZodString;
32243
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32244
32244
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32245
32245
  credentialStoreId: z.ZodString;
32246
32246
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -32260,11 +32260,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32260
32260
  }, z.core.$strip>;
32261
32261
  declare const FullProjectSelectResponse: z.ZodObject<{
32262
32262
  data: z.ZodObject<{
32263
- id: z.ZodString;
32264
32263
  name: z.ZodString;
32265
- description: z.ZodNullable<z.ZodString>;
32264
+ id: z.ZodString;
32266
32265
  createdAt: z.ZodString;
32267
32266
  updatedAt: z.ZodString;
32267
+ description: z.ZodNullable<z.ZodString>;
32268
32268
  models: z.ZodNullable<z.ZodObject<{
32269
32269
  base: z.ZodObject<{
32270
32270
  model: z.ZodOptional<z.ZodString>;
@@ -32284,19 +32284,19 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32284
32284
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32285
32285
  }, z.core.$strip>>;
32286
32286
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
32287
- id: z.ZodString;
32288
32287
  name: z.ZodString;
32289
- description: z.ZodNullable<z.ZodString>;
32288
+ id: z.ZodString;
32290
32289
  createdAt: z.ZodString;
32291
32290
  updatedAt: z.ZodString;
32291
+ description: z.ZodNullable<z.ZodString>;
32292
32292
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
32293
32293
  contextConfigId: z.ZodNullable<z.ZodString>;
32294
32294
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32295
- id: z.ZodString;
32296
32295
  name: z.ZodString;
32297
- description: z.ZodNullable<z.ZodString>;
32296
+ id: z.ZodString;
32298
32297
  createdAt: z.ZodString;
32299
32298
  updatedAt: z.ZodString;
32299
+ description: z.ZodNullable<z.ZodString>;
32300
32300
  models: z.ZodNullable<z.ZodType<{
32301
32301
  base?: {
32302
32302
  model?: string | undefined;
@@ -32430,12 +32430,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32430
32430
  description: z.ZodString;
32431
32431
  }, z.core.$strip>>>;
32432
32432
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32433
- agentId: z.ZodString;
32434
- id: z.ZodString;
32435
32433
  name: z.ZodString;
32436
- description: z.ZodNullable<z.ZodString>;
32434
+ id: z.ZodString;
32437
32435
  createdAt: z.ZodString;
32438
32436
  updatedAt: z.ZodString;
32437
+ agentId: z.ZodString;
32438
+ description: z.ZodNullable<z.ZodString>;
32439
32439
  functionId: z.ZodString;
32440
32440
  relationshipId: z.ZodOptional<z.ZodString>;
32441
32441
  }, z.core.$strip>>>;
@@ -32472,10 +32472,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32472
32472
  }>, z.core.$strip>>>;
32473
32473
  contextConfig: z.ZodNullable<z.ZodObject<{
32474
32474
  id: z.ZodString;
32475
- createdAt: z.ZodString;
32476
- updatedAt: z.ZodString;
32477
32475
  headersSchema: z.ZodOptional<z.ZodAny>;
32478
32476
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
32477
+ createdAt: z.ZodString;
32478
+ updatedAt: z.ZodString;
32479
32479
  }, z.core.$strip>>;
32480
32480
  statusUpdates: z.ZodNullable<z.ZodObject<{
32481
32481
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -32541,12 +32541,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32541
32541
  id: z.ZodString;
32542
32542
  }>, z.core.$strip>>;
32543
32543
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32544
- agentId: z.ZodString;
32545
- id: z.ZodString;
32546
32544
  name: z.ZodString;
32547
- description: z.ZodNullable<z.ZodString>;
32545
+ id: z.ZodString;
32548
32546
  createdAt: z.ZodString;
32549
32547
  updatedAt: z.ZodString;
32548
+ agentId: z.ZodString;
32549
+ description: z.ZodNullable<z.ZodString>;
32550
32550
  functionId: z.ZodString;
32551
32551
  relationshipId: z.ZodOptional<z.ZodString>;
32552
32552
  }, z.core.$strip>>>;
@@ -32689,11 +32689,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32689
32689
  }, z.core.$strip>>>;
32690
32690
  }, z.core.$strip>>;
32691
32691
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32692
- toolId: z.ZodNullable<z.ZodString>;
32693
- id: z.ZodString;
32694
32692
  name: z.ZodString;
32693
+ id: z.ZodString;
32695
32694
  createdAt: z.ZodString;
32696
32695
  updatedAt: z.ZodString;
32696
+ toolId: z.ZodNullable<z.ZodString>;
32697
32697
  userId: z.ZodNullable<z.ZodString>;
32698
32698
  credentialStoreId: z.ZodString;
32699
32699
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -33286,11 +33286,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33286
33286
  }, z.core.$strip>;
33287
33287
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33288
33288
  data: z.ZodObject<{
33289
- id: z.ZodString;
33290
33289
  name: z.ZodString;
33291
- description: z.ZodNullable<z.ZodString>;
33290
+ id: z.ZodString;
33292
33291
  createdAt: z.ZodString;
33293
33292
  updatedAt: z.ZodString;
33293
+ description: z.ZodNullable<z.ZodString>;
33294
33294
  models: z.ZodNullable<z.ZodObject<{
33295
33295
  base: z.ZodObject<{
33296
33296
  model: z.ZodOptional<z.ZodString>;
@@ -33339,12 +33339,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33339
33339
  id: z.ZodString;
33340
33340
  }>, z.core.$strip>>;
33341
33341
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33342
- agentId: z.ZodString;
33343
- id: z.ZodString;
33344
33342
  name: z.ZodString;
33345
- description: z.ZodNullable<z.ZodString>;
33343
+ id: z.ZodString;
33346
33344
  createdAt: z.ZodString;
33347
33345
  updatedAt: z.ZodString;
33346
+ agentId: z.ZodString;
33347
+ description: z.ZodNullable<z.ZodString>;
33348
33348
  functionId: z.ZodString;
33349
33349
  relationshipId: z.ZodOptional<z.ZodString>;
33350
33350
  }, z.core.$strip>>>;
@@ -33487,11 +33487,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33487
33487
  }, z.core.$strip>>>;
33488
33488
  }, z.core.$strip>>;
33489
33489
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33490
- toolId: z.ZodNullable<z.ZodString>;
33491
- id: z.ZodString;
33492
33490
  name: z.ZodString;
33491
+ id: z.ZodString;
33493
33492
  createdAt: z.ZodString;
33494
33493
  updatedAt: z.ZodString;
33494
+ toolId: z.ZodNullable<z.ZodString>;
33495
33495
  userId: z.ZodNullable<z.ZodString>;
33496
33496
  credentialStoreId: z.ZodString;
33497
33497
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -34078,11 +34078,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34078
34078
  }>>>;
34079
34079
  }, z.core.$strip>>>;
34080
34080
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
34081
- id: z.ZodString;
34082
34081
  name: z.ZodString;
34083
- description: z.ZodNullable<z.ZodString>;
34082
+ id: z.ZodString;
34084
34083
  createdAt: z.ZodString;
34085
34084
  updatedAt: z.ZodString;
34085
+ description: z.ZodNullable<z.ZodString>;
34086
34086
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
34087
34087
  contextConfigId: z.ZodNullable<z.ZodString>;
34088
34088
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -34131,12 +34131,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34131
34131
  description: z.ZodString;
34132
34132
  }, z.core.$strip>>>;
34133
34133
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34134
- agentId: z.ZodString;
34135
- id: z.ZodString;
34136
34134
  name: z.ZodString;
34137
- description: z.ZodNullable<z.ZodString>;
34135
+ id: z.ZodString;
34138
34136
  createdAt: z.ZodString;
34139
34137
  updatedAt: z.ZodString;
34138
+ agentId: z.ZodString;
34139
+ description: z.ZodNullable<z.ZodString>;
34140
34140
  functionId: z.ZodString;
34141
34141
  relationshipId: z.ZodOptional<z.ZodString>;
34142
34142
  }, z.core.$strip>>>;
@@ -34173,10 +34173,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34173
34173
  }>, z.core.$strip>>>;
34174
34174
  contextConfig: z.ZodNullable<z.ZodObject<{
34175
34175
  id: z.ZodString;
34176
- createdAt: z.ZodString;
34177
- updatedAt: z.ZodString;
34178
34176
  headersSchema: z.ZodOptional<z.ZodAny>;
34179
34177
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
34178
+ createdAt: z.ZodString;
34179
+ updatedAt: z.ZodString;
34180
34180
  }, z.core.$strip>>;
34181
34181
  statusUpdates: z.ZodNullable<z.ZodObject<{
34182
34182
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -34212,11 +34212,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34212
34212
  }, z.core.$strip>>;
34213
34213
  prompt: z.ZodNullable<z.ZodString>;
34214
34214
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34215
- id: z.ZodString;
34216
34215
  name: z.ZodString;
34217
- description: z.ZodNullable<z.ZodString>;
34216
+ id: z.ZodString;
34218
34217
  createdAt: z.ZodString;
34219
34218
  updatedAt: z.ZodString;
34219
+ description: z.ZodNullable<z.ZodString>;
34220
34220
  models: z.ZodNullable<z.ZodType<{
34221
34221
  base?: {
34222
34222
  model?: string | undefined;
@@ -34318,17 +34318,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34318
34318
  }, z.core.$strip>;
34319
34319
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34320
34320
  data: z.ZodObject<{
34321
- id: z.ZodString;
34322
34321
  name: z.ZodString;
34322
+ id: z.ZodString;
34323
34323
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34324
34324
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34325
34325
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34326
34326
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34327
- id: z.ZodString;
34328
34327
  name: z.ZodString;
34329
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34328
+ id: z.ZodString;
34330
34329
  createdAt: z.ZodOptional<z.ZodString>;
34331
34330
  updatedAt: z.ZodOptional<z.ZodString>;
34331
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34332
34332
  models: z.ZodOptional<z.ZodObject<{
34333
34333
  base: z.ZodOptional<z.ZodObject<{
34334
34334
  model: z.ZodOptional<z.ZodString>;
@@ -34377,10 +34377,10 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34377
34377
  }, z.core.$strip>>;
34378
34378
  }, z.core.$strip>>;
34379
34379
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
34380
- tenantId: z.ZodString;
34381
- projectId: z.ZodString;
34382
- id: z.ZodString;
34383
34380
  name: z.ZodString;
34381
+ id: z.ZodString;
34382
+ projectId: z.ZodString;
34383
+ tenantId: z.ZodString;
34384
34384
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34385
34385
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34386
34386
  config: z.ZodObject<{
@@ -34417,10 +34417,10 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34417
34417
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
34418
34418
  }>, z.core.$strip>>>;
34419
34419
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
34420
- tenantId: z.ZodString;
34421
- projectId: z.ZodString;
34422
- id: z.ZodString;
34423
34420
  name: z.ZodString;
34421
+ id: z.ZodString;
34422
+ projectId: z.ZodString;
34423
+ tenantId: z.ZodString;
34424
34424
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34425
34425
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34426
34426
  baseUrl: z.ZodURL;
@@ -34431,11 +34431,11 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34431
34431
  description: z.ZodString;
34432
34432
  }, z.core.$strip>>>;
34433
34433
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
34434
- tenantId: z.ZodString;
34435
- projectId: z.ZodString;
34436
- agentId: z.ZodString;
34437
- id: z.ZodString;
34438
34434
  name: z.ZodString;
34435
+ id: z.ZodString;
34436
+ agentId: z.ZodString;
34437
+ projectId: z.ZodString;
34438
+ tenantId: z.ZodString;
34439
34439
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34440
34440
  functionId: z.ZodString;
34441
34441
  }>, z.core.$strip>>>;
@@ -34446,33 +34446,33 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34446
34446
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34447
34447
  }, z.core.$strip>>>;
34448
34448
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
34449
- id: z.ZodOptional<z.ZodString>;
34450
34449
  name: z.ZodString;
34450
+ id: z.ZodOptional<z.ZodString>;
34451
34451
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34452
34452
  enabled: z.ZodOptional<z.ZodBoolean>;
34453
34453
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34454
34454
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34455
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34456
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34457
34455
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34456
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34458
34457
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34459
34458
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34460
34459
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34460
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34461
34461
  }, z.core.$strip>>>;
34462
34462
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
34463
34463
  name: z.ZodString;
34464
34464
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34465
34465
  enabled: z.ZodOptional<z.ZodBoolean>;
34466
34466
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34467
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34468
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34467
34469
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34468
34470
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34469
34471
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34470
34472
  payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34471
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34472
34473
  maxRetries: z.ZodOptional<z.ZodNumber>;
34473
34474
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
34474
34475
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
34475
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34476
34476
  id: z.ZodOptional<z.ZodString>;
34477
34477
  }, z.core.$strip>>>;
34478
34478
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -34517,19 +34517,19 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34517
34517
  }, z.core.$strip>;
34518
34518
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34519
34519
  data: z.ZodObject<{
34520
- id: z.ZodString;
34521
34520
  name: z.ZodString;
34522
- description: z.ZodNullable<z.ZodString>;
34521
+ id: z.ZodString;
34523
34522
  createdAt: z.ZodString;
34524
34523
  updatedAt: z.ZodString;
34524
+ description: z.ZodNullable<z.ZodString>;
34525
34525
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
34526
34526
  contextConfigId: z.ZodNullable<z.ZodString>;
34527
34527
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34528
- id: z.ZodString;
34529
34528
  name: z.ZodString;
34530
- description: z.ZodNullable<z.ZodString>;
34529
+ id: z.ZodString;
34531
34530
  createdAt: z.ZodString;
34532
34531
  updatedAt: z.ZodString;
34532
+ description: z.ZodNullable<z.ZodString>;
34533
34533
  models: z.ZodNullable<z.ZodType<{
34534
34534
  base?: {
34535
34535
  model?: string | undefined;
@@ -34663,12 +34663,12 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34663
34663
  description: z.ZodString;
34664
34664
  }, z.core.$strip>>>;
34665
34665
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34666
- agentId: z.ZodString;
34667
- id: z.ZodString;
34668
34666
  name: z.ZodString;
34669
- description: z.ZodNullable<z.ZodString>;
34667
+ id: z.ZodString;
34670
34668
  createdAt: z.ZodString;
34671
34669
  updatedAt: z.ZodString;
34670
+ agentId: z.ZodString;
34671
+ description: z.ZodNullable<z.ZodString>;
34672
34672
  functionId: z.ZodString;
34673
34673
  relationshipId: z.ZodOptional<z.ZodString>;
34674
34674
  }, z.core.$strip>>>;
@@ -34705,10 +34705,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34705
34705
  }>, z.core.$strip>>>;
34706
34706
  contextConfig: z.ZodNullable<z.ZodObject<{
34707
34707
  id: z.ZodString;
34708
- createdAt: z.ZodString;
34709
- updatedAt: z.ZodString;
34710
34708
  headersSchema: z.ZodOptional<z.ZodAny>;
34711
34709
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
34710
+ createdAt: z.ZodString;
34711
+ updatedAt: z.ZodString;
34712
34712
  }, z.core.$strip>>;
34713
34713
  statusUpdates: z.ZodNullable<z.ZodObject<{
34714
34714
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -34766,10 +34766,10 @@ declare const ComponentAssociationListResponse: z.ZodObject<{
34766
34766
  }, z.core.$strip>;
34767
34767
  declare const McpToolResponse: z.ZodObject<{
34768
34768
  data: z.ZodObject<{
34769
- tenantId: z.ZodString;
34770
- projectId: z.ZodString;
34771
- id: z.ZodString;
34772
34769
  name: z.ZodString;
34770
+ id: z.ZodString;
34771
+ projectId: z.ZodString;
34772
+ tenantId: z.ZodString;
34773
34773
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34774
34774
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34775
34775
  config: z.ZodObject<{
@@ -34827,10 +34827,10 @@ declare const McpToolResponse: z.ZodObject<{
34827
34827
  }, z.core.$strip>;
34828
34828
  declare const McpToolListResponse: z.ZodObject<{
34829
34829
  data: z.ZodArray<z.ZodObject<{
34830
- tenantId: z.ZodString;
34831
- projectId: z.ZodString;
34832
- id: z.ZodString;
34833
34830
  name: z.ZodString;
34831
+ id: z.ZodString;
34832
+ projectId: z.ZodString;
34833
+ tenantId: z.ZodString;
34834
34834
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34835
34835
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
34836
34836
  config: z.ZodObject<{
@@ -35367,8 +35367,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
35367
35367
  }>;
35368
35368
  }, undefined>, undefined>;
35369
35369
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
35370
- tenantId: z.ZodString;
35371
35370
  id: z.ZodString;
35371
+ tenantId: z.ZodString;
35372
35372
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35373
35373
  mainBranchName: z.ZodString;
35374
35374
  }, {
@@ -35382,8 +35382,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
35382
35382
  disconnected: "disconnected";
35383
35383
  }>;
35384
35384
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
35385
- Organization: "Organization";
35386
35385
  User: "User";
35386
+ Organization: "Organization";
35387
35387
  }>;
35388
35388
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
35389
35389
  createdAt: drizzle_orm_pg_core217.PgColumn<{
@@ -35478,7 +35478,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35478
35478
  tableName: "work_app_github_installations";
35479
35479
  dataType: "string";
35480
35480
  columnType: "PgVarchar";
35481
- data: "Organization" | "User";
35481
+ data: "User" | "Organization";
35482
35482
  driverParam: string;
35483
35483
  notNull: true;
35484
35484
  hasDefault: false;
@@ -35491,7 +35491,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35491
35491
  generated: undefined;
35492
35492
  }, {}, {
35493
35493
  length: 20;
35494
- $type: "Organization" | "User";
35494
+ $type: "User" | "Organization";
35495
35495
  }>;
35496
35496
  status: drizzle_orm_pg_core217.PgColumn<{
35497
35497
  name: "status";
@@ -35644,7 +35644,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35644
35644
  tableName: "work_app_github_installations";
35645
35645
  dataType: "string";
35646
35646
  columnType: "PgVarchar";
35647
- data: "Organization" | "User";
35647
+ data: "User" | "Organization";
35648
35648
  driverParam: string;
35649
35649
  notNull: true;
35650
35650
  hasDefault: false;
@@ -35657,7 +35657,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35657
35657
  generated: undefined;
35658
35658
  }, {}, {
35659
35659
  length: 20;
35660
- $type: "Organization" | "User";
35660
+ $type: "User" | "Organization";
35661
35661
  }>;
35662
35662
  status: drizzle_orm_pg_core217.PgColumn<{
35663
35663
  name: "status";
@@ -35719,14 +35719,14 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
35719
35719
  }>;
35720
35720
  }, undefined>, undefined>;
35721
35721
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35722
- tenantId: z.ZodString;
35723
35722
  id: z.ZodString;
35723
+ tenantId: z.ZodString;
35724
35724
  accountId: z.ZodString;
35725
35725
  installationId: z.ZodString;
35726
35726
  accountLogin: z.ZodString;
35727
35727
  accountType: z.ZodEnum<{
35728
- Organization: "Organization";
35729
35728
  User: "User";
35729
+ Organization: "Organization";
35730
35730
  }>;
35731
35731
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35732
35732
  pending: "pending";
@@ -35750,14 +35750,14 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
35750
35750
  id: z.ZodString;
35751
35751
  }>, z.core.$strip>;
35752
35752
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
35753
- tenantId: z.ZodString;
35754
35753
  id: z.ZodString;
35754
+ tenantId: z.ZodString;
35755
35755
  accountId: z.ZodString;
35756
35756
  installationId: z.ZodString;
35757
35757
  accountLogin: z.ZodString;
35758
35758
  accountType: z.ZodEnum<{
35759
- Organization: "Organization";
35760
35759
  User: "User";
35760
+ Organization: "Organization";
35761
35761
  }>;
35762
35762
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35763
35763
  pending: "pending";
@@ -37945,16 +37945,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"sele
37945
37945
  }, {}, {}>;
37946
37946
  }, undefined>, undefined>;
37947
37947
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
37948
- projectId: z.ZodString;
37949
37948
  agentId: z.ZodString;
37949
+ projectId: z.ZodString;
37950
37950
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37951
37951
  }, {
37952
37952
  out: {};
37953
37953
  in: {};
37954
37954
  }>;
37955
37955
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
37956
- projectId: z.ZodString;
37957
37956
  agentId: z.ZodString;
37957
+ projectId: z.ZodString;
37958
37958
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37959
37959
  agentName: z.ZodString;
37960
37960
  projectName: z.ZodOptional<z.ZodString>;
@@ -37970,8 +37970,8 @@ declare const ChannelAccessModeSchema: z.ZodEnum<{
37970
37970
  selected: "selected";
37971
37971
  }>;
37972
37972
  declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{
37973
- tenantId: z.ZodString;
37974
37973
  projectId: z.ZodString;
37974
+ tenantId: z.ZodString;
37975
37975
  toolId: z.ZodString;
37976
37976
  channelAccessMode: z.ZodEnum<{
37977
37977
  all: "all";