@inkeep/agents-core 0.0.0-dev-20260123094230 → 0.0.0-dev-20260123205017

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 (45) hide show
  1. package/dist/auth/auth.d.ts +53 -53
  2. package/dist/auth/permissions.d.ts +13 -13
  3. package/dist/client-exports.d.ts +3 -2
  4. package/dist/client-exports.js +2 -2
  5. package/dist/credential-stores/keychain-store.js +1 -3
  6. package/dist/data-access/manage/agentFull.js +2 -0
  7. package/dist/data-access/manage/agents.d.ts +37 -37
  8. package/dist/data-access/manage/agents.js +5 -3
  9. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  10. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  11. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  12. package/dist/data-access/manage/functionTools.d.ts +37 -16
  13. package/dist/data-access/manage/functionTools.js +10 -6
  14. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  15. package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
  16. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  17. package/dist/data-access/manage/subAgents.d.ts +27 -27
  18. package/dist/data-access/manage/tools.d.ts +33 -33
  19. package/dist/data-access/manage/triggers.d.ts +27 -1
  20. package/dist/data-access/runtime/apiKeys.d.ts +20 -20
  21. package/dist/data-access/runtime/conversations.d.ts +31 -31
  22. package/dist/data-access/runtime/messages.d.ts +12 -12
  23. package/dist/data-access/runtime/tasks.d.ts +6 -6
  24. package/dist/db/manage/manage-schema.d.ts +400 -306
  25. package/dist/db/manage/manage-schema.js +27 -17
  26. package/dist/db/runtime/runtime-schema.d.ts +163 -163
  27. package/dist/index.d.ts +3 -3
  28. package/dist/index.js +3 -3
  29. package/dist/utils/index.d.ts +2 -2
  30. package/dist/utils/index.js +2 -2
  31. package/dist/utils/signature-validation.d.ts +39 -0
  32. package/dist/utils/signature-validation.js +71 -0
  33. package/dist/utils/trigger-auth.d.ts +31 -8
  34. package/dist/utils/trigger-auth.js +123 -13
  35. package/dist/validation/dolt-schemas.d.ts +1 -1
  36. package/dist/validation/index.d.ts +2 -2
  37. package/dist/validation/index.js +2 -2
  38. package/dist/validation/schemas.d.ts +1343 -1156
  39. package/dist/validation/schemas.js +248 -14
  40. package/drizzle/manage/0003_tiny_captain_universe.sql +8 -0
  41. package/drizzle/manage/0004_curious_phil_sheldon.sql +2 -0
  42. package/drizzle/manage/meta/0003_snapshot.json +3134 -0
  43. package/drizzle/manage/meta/0004_snapshot.json +3141 -0
  44. package/drizzle/manage/meta/_journal.json +14 -0
  45. package/package.json +5 -1
@@ -766,12 +766,22 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
766
766
  }, z.core.$strip>>;
767
767
  }>, z.core.$strip>;
768
768
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
769
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
770
769
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
771
770
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
772
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
771
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
773
772
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
774
773
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
774
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
775
+ stepCountIs?: number | undefined;
776
+ }, {
777
+ stepCountIs?: number | undefined;
778
+ }, z.core.$ZodTypeInternals<{
779
+ stepCountIs?: number | undefined;
780
+ }, {
781
+ stepCountIs?: number | undefined;
782
+ }>>>>>>;
783
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
784
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
775
785
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
776
786
  base: z.ZodOptional<z.ZodObject<{
777
787
  model: z.ZodOptional<z.ZodString>;
@@ -786,16 +796,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
786
796
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
787
797
  }, z.core.$strip>>;
788
798
  }, z.core.$strip>>>>;
789
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
790
- stepCountIs?: number | undefined;
791
- }, {
792
- stepCountIs?: number | undefined;
793
- }, z.core.$ZodTypeInternals<{
794
- stepCountIs?: number | undefined;
795
- }, {
796
- stepCountIs?: number | undefined;
797
- }>>>>>>;
798
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
799
799
  }, z.core.$strip>;
800
800
  declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
801
801
  createdAt: drizzle_orm_pg_core208.PgColumn<{
@@ -2429,7 +2429,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2429
2429
  }, {}, {
2430
2430
  length: 256;
2431
2431
  }>;
2432
- }, "tenantId" | "projectId" | "id" | "name" | "description" | "prompt" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2432
+ }, "name" | "description" | "id" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "stopWhen" | "prompt" | "models" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2433
2433
  declare const AgentUpdateSchema: z.ZodObject<{
2434
2434
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2435
2435
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2698,9 +2698,18 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2698
2698
  declare const AgentApiInsertSchema: z.ZodObject<{
2699
2699
  name: z.ZodString;
2700
2700
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2701
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2702
2701
  createdAt: z.ZodOptional<z.ZodString>;
2703
2702
  updatedAt: z.ZodOptional<z.ZodString>;
2703
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2704
+ transferCountIs?: number | undefined;
2705
+ }, {
2706
+ transferCountIs?: number | undefined;
2707
+ }, z.core.$ZodTypeInternals<{
2708
+ transferCountIs?: number | undefined;
2709
+ }, {
2710
+ transferCountIs?: number | undefined;
2711
+ }>>>>;
2712
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2704
2713
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2705
2714
  base?: {
2706
2715
  model?: string | undefined;
@@ -2754,15 +2763,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2754
2763
  providerOptions?: Record<string, any> | undefined;
2755
2764
  } | undefined;
2756
2765
  }>>>>;
2757
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2758
- transferCountIs?: number | undefined;
2759
- }, {
2760
- transferCountIs?: number | undefined;
2761
- }, z.core.$ZodTypeInternals<{
2762
- transferCountIs?: number | undefined;
2763
- }, {
2764
- transferCountIs?: number | undefined;
2765
- }>>>>;
2766
2766
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
2767
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2768
2768
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2825,12 +2825,21 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2825
2825
  id: z.ZodString;
2826
2826
  }, z.core.$strip>;
2827
2827
  declare const AgentApiUpdateSchema: z.ZodObject<{
2828
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2829
2828
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2830
2829
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2831
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2830
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2832
2831
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2833
2832
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2833
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2834
+ transferCountIs?: number | undefined;
2835
+ }, {
2836
+ transferCountIs?: number | undefined;
2837
+ }, z.core.$ZodTypeInternals<{
2838
+ transferCountIs?: number | undefined;
2839
+ }, {
2840
+ transferCountIs?: number | undefined;
2841
+ }>>>>>>;
2842
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2834
2843
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2835
2844
  base?: {
2836
2845
  model?: string | undefined;
@@ -2884,15 +2893,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2884
2893
  providerOptions?: Record<string, any> | undefined;
2885
2894
  } | undefined;
2886
2895
  }>>>>>>;
2887
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2888
- transferCountIs?: number | undefined;
2889
- }, {
2890
- transferCountIs?: number | undefined;
2891
- }, z.core.$ZodTypeInternals<{
2892
- transferCountIs?: number | undefined;
2893
- }, {
2894
- transferCountIs?: number | undefined;
2895
- }>>>>>>;
2896
2896
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2897
2897
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2898
2898
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2997,12 +2997,298 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
2997
2997
  jmespath: z.ZodOptional<z.ZodString>;
2998
2998
  objectTransformation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2999
2999
  }, z.core.$strip>;
3000
+ /**
3001
+ * Configuration for extracting the webhook signature from an incoming request.
3002
+ *
3003
+ * The signature can be located in HTTP headers, query parameters, or the request body.
3004
+ * Supports prefix stripping and regex extraction for complex signature formats.
3005
+ *
3006
+ * @example
3007
+ * // GitHub: Extract from header with prefix
3008
+ * { source: 'header', key: 'X-Hub-Signature-256', prefix: 'sha256=' }
3009
+ *
3010
+ * @example
3011
+ * // Stripe: Extract from header using regex
3012
+ * { source: 'header', key: 'Stripe-Signature', regex: 'v1=([a-f0-9]+)' }
3013
+ *
3014
+ * @example
3015
+ * // Custom: Extract from body using JMESPath
3016
+ * { source: 'body', key: 'metadata.signature' }
3017
+ */
3018
+ declare const SignatureSourceSchema: z.ZodObject<{
3019
+ source: z.ZodEnum<{
3020
+ query: "query";
3021
+ body: "body";
3022
+ header: "header";
3023
+ }>;
3024
+ key: z.ZodString;
3025
+ prefix: z.ZodOptional<z.ZodString>;
3026
+ regex: z.ZodOptional<z.ZodString>;
3027
+ }, z.core.$strip>;
3028
+ /**
3029
+ * Configuration for a single component that is part of the signed data.
3030
+ *
3031
+ * Webhook providers often sign multiple pieces of data together (e.g., timestamp + body).
3032
+ * Components are extracted from the request and joined in order before verification.
3033
+ *
3034
+ * @example
3035
+ * // GitHub: Sign only the body
3036
+ * { source: 'body', required: true }
3037
+ *
3038
+ * @example
3039
+ * // Slack: Sign literal version + timestamp header + body
3040
+ * { source: 'literal', value: 'v0', required: true }
3041
+ * { source: 'header', key: 'X-Slack-Request-Timestamp', required: true }
3042
+ * { source: 'body', required: true }
3043
+ *
3044
+ * @example
3045
+ * // Stripe: Extract timestamp from header using regex
3046
+ * { source: 'header', key: 'Stripe-Signature', regex: 't=([0-9]+)', required: true }
3047
+ */
3048
+ declare const SignedComponentSchema: z.ZodObject<{
3049
+ source: z.ZodEnum<{
3050
+ literal: "literal";
3051
+ body: "body";
3052
+ header: "header";
3053
+ }>;
3054
+ key: z.ZodOptional<z.ZodString>;
3055
+ value: z.ZodOptional<z.ZodString>;
3056
+ regex: z.ZodOptional<z.ZodString>;
3057
+ required: z.ZodDefault<z.ZodBoolean>;
3058
+ }, z.core.$strip>;
3059
+ /**
3060
+ * Configuration for how to join multiple signed components into a single string.
3061
+ *
3062
+ * Different webhook providers use different separators between components.
3063
+ *
3064
+ * @example
3065
+ * // GitHub/Zendesk: Direct concatenation (empty separator)
3066
+ * { strategy: 'concatenate', separator: '' }
3067
+ *
3068
+ * @example
3069
+ * // Slack: Colon separator
3070
+ * { strategy: 'concatenate', separator: ':' }
3071
+ *
3072
+ * @example
3073
+ * // Stripe: Dot separator
3074
+ * { strategy: 'concatenate', separator: '.' }
3075
+ */
3076
+ declare const ComponentJoinSchema: z.ZodObject<{
3077
+ strategy: z.ZodEnum<{
3078
+ concatenate: "concatenate";
3079
+ }>;
3080
+ separator: z.ZodString;
3081
+ }, z.core.$strip>;
3082
+ /**
3083
+ * Advanced validation options for fine-grained control over signature verification.
3084
+ *
3085
+ * These options control edge case behavior and should generally use default values.
3086
+ *
3087
+ * @example
3088
+ * // Strict validation for security-critical webhooks
3089
+ * {
3090
+ * headerCaseSensitive: true,
3091
+ * allowEmptyBody: false,
3092
+ * normalizeUnicode: true
3093
+ * }
3094
+ */
3095
+ declare const SignatureValidationOptionsSchema: z.ZodObject<{
3096
+ headerCaseSensitive: z.ZodDefault<z.ZodBoolean>;
3097
+ allowEmptyBody: z.ZodDefault<z.ZodBoolean>;
3098
+ normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
3099
+ }, z.core.$strip>;
3100
+ /**
3101
+ * Complete configuration for webhook HMAC signature verification.
3102
+ *
3103
+ * Supports flexible, provider-agnostic signature verification for webhooks from
3104
+ * GitHub, Slack, Stripe, Zendesk, and other providers.
3105
+ *
3106
+ * SECURITY: Always use credential references to store signing secrets. Never hardcode
3107
+ * secrets in your configuration. Prefer sha256 or stronger algorithms.
3108
+ *
3109
+ * @example
3110
+ * // GitHub webhook verification
3111
+ * {
3112
+ * algorithm: 'sha256',
3113
+ * encoding: 'hex',
3114
+ * signature: { source: 'header', key: 'X-Hub-Signature-256', prefix: 'sha256=' },
3115
+ * signedComponents: [{ source: 'body', required: true }],
3116
+ * componentJoin: { strategy: 'concatenate', separator: '' }
3117
+ * }
3118
+ *
3119
+ * @example
3120
+ * // Slack webhook verification with multi-component signing
3121
+ * {
3122
+ * algorithm: 'sha256',
3123
+ * encoding: 'hex',
3124
+ * signature: { source: 'header', key: 'X-Slack-Signature', prefix: 'v0=' },
3125
+ * signedComponents: [
3126
+ * { source: 'literal', value: 'v0', required: true },
3127
+ * { source: 'header', key: 'X-Slack-Request-Timestamp', required: true },
3128
+ * { source: 'body', required: true }
3129
+ * ],
3130
+ * componentJoin: { strategy: 'concatenate', separator: ':' }
3131
+ * }
3132
+ *
3133
+ * @example
3134
+ * // Stripe webhook verification with regex extraction
3135
+ * {
3136
+ * algorithm: 'sha256',
3137
+ * encoding: 'hex',
3138
+ * signature: { source: 'header', key: 'Stripe-Signature', regex: 'v1=([a-f0-9]+)' },
3139
+ * signedComponents: [
3140
+ * { source: 'header', key: 'Stripe-Signature', regex: 't=([0-9]+)', required: true },
3141
+ * { source: 'body', required: true }
3142
+ * ],
3143
+ * componentJoin: { strategy: 'concatenate', separator: '.' }
3144
+ * }
3145
+ */
3146
+ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3147
+ algorithm: z.ZodEnum<{
3148
+ sha256: "sha256";
3149
+ sha512: "sha512";
3150
+ sha384: "sha384";
3151
+ sha1: "sha1";
3152
+ md5: "md5";
3153
+ }>;
3154
+ encoding: z.ZodEnum<{
3155
+ hex: "hex";
3156
+ base64: "base64";
3157
+ }>;
3158
+ signature: z.ZodObject<{
3159
+ source: z.ZodEnum<{
3160
+ query: "query";
3161
+ body: "body";
3162
+ header: "header";
3163
+ }>;
3164
+ key: z.ZodString;
3165
+ prefix: z.ZodOptional<z.ZodString>;
3166
+ regex: z.ZodOptional<z.ZodString>;
3167
+ }, z.core.$strip>;
3168
+ signedComponents: z.ZodArray<z.ZodObject<{
3169
+ source: z.ZodEnum<{
3170
+ literal: "literal";
3171
+ body: "body";
3172
+ header: "header";
3173
+ }>;
3174
+ key: z.ZodOptional<z.ZodString>;
3175
+ value: z.ZodOptional<z.ZodString>;
3176
+ regex: z.ZodOptional<z.ZodString>;
3177
+ required: z.ZodDefault<z.ZodBoolean>;
3178
+ }, z.core.$strip>>;
3179
+ componentJoin: z.ZodObject<{
3180
+ strategy: z.ZodEnum<{
3181
+ concatenate: "concatenate";
3182
+ }>;
3183
+ separator: z.ZodString;
3184
+ }, z.core.$strip>;
3185
+ validation: z.ZodOptional<z.ZodObject<{
3186
+ headerCaseSensitive: z.ZodDefault<z.ZodBoolean>;
3187
+ allowEmptyBody: z.ZodDefault<z.ZodBoolean>;
3188
+ normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
3189
+ }, z.core.$strip>>;
3190
+ }, z.core.$strip>;
3191
+ /**
3192
+ * Complete configuration for webhook HMAC signature verification.
3193
+ *
3194
+ * Use this type when working with signature verification in TypeScript.
3195
+ * See SignatureVerificationConfigSchema for detailed examples and validation.
3196
+ */
3197
+ type SignatureVerificationConfig = z.infer<typeof SignatureVerificationConfigSchema>;
3198
+ /**
3199
+ * Configuration for extracting the webhook signature from an incoming request.
3200
+ *
3201
+ * See SignatureSourceSchema for detailed examples and validation.
3202
+ */
3203
+ type SignatureSource = z.infer<typeof SignatureSourceSchema>;
3204
+ /**
3205
+ * Configuration for a single component that is part of the signed data.
3206
+ *
3207
+ * See SignedComponentSchema for detailed examples and validation.
3208
+ */
3209
+ type SignedComponent = z.infer<typeof SignedComponentSchema>;
3210
+ /**
3211
+ * Configuration for how to join multiple signed components into a single string.
3212
+ *
3213
+ * See ComponentJoinSchema for detailed examples and validation.
3214
+ */
3215
+ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3216
+ /**
3217
+ * Advanced validation options for fine-grained control over signature verification.
3218
+ *
3219
+ * See SignatureValidationOptionsSchema for detailed examples and validation.
3220
+ */
3221
+ type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3000
3222
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3001
- success: "success";
3002
3223
  pending: "pending";
3224
+ success: "success";
3003
3225
  failed: "failed";
3004
3226
  }>;
3005
- declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3227
+ declare const TriggerSelectSchema: z.ZodObject<{
3228
+ createdAt: z.ZodString;
3229
+ updatedAt: z.ZodString;
3230
+ enabled: z.ZodBoolean;
3231
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3232
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3233
+ messageTemplate: z.ZodNullable<z.ZodString>;
3234
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3235
+ name: z.ZodString;
3236
+ description: z.ZodNullable<z.ZodString>;
3237
+ agentId: z.ZodString;
3238
+ projectId: z.ZodString;
3239
+ tenantId: z.ZodString;
3240
+ id: z.ZodString;
3241
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3242
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3243
+ algorithm: z.ZodEnum<{
3244
+ sha256: "sha256";
3245
+ sha512: "sha512";
3246
+ sha384: "sha384";
3247
+ sha1: "sha1";
3248
+ md5: "md5";
3249
+ }>;
3250
+ encoding: z.ZodEnum<{
3251
+ hex: "hex";
3252
+ base64: "base64";
3253
+ }>;
3254
+ signature: z.ZodObject<{
3255
+ source: z.ZodEnum<{
3256
+ query: "query";
3257
+ body: "body";
3258
+ header: "header";
3259
+ }>;
3260
+ key: z.ZodString;
3261
+ prefix: z.ZodOptional<z.ZodString>;
3262
+ regex: z.ZodOptional<z.ZodString>;
3263
+ }, z.core.$strip>;
3264
+ signedComponents: z.ZodArray<z.ZodObject<{
3265
+ source: z.ZodEnum<{
3266
+ literal: "literal";
3267
+ body: "body";
3268
+ header: "header";
3269
+ }>;
3270
+ key: z.ZodOptional<z.ZodString>;
3271
+ value: z.ZodOptional<z.ZodString>;
3272
+ regex: z.ZodOptional<z.ZodString>;
3273
+ required: z.ZodDefault<z.ZodBoolean>;
3274
+ }, z.core.$strip>>;
3275
+ componentJoin: z.ZodObject<{
3276
+ strategy: z.ZodEnum<{
3277
+ concatenate: "concatenate";
3278
+ }>;
3279
+ separator: z.ZodString;
3280
+ }, z.core.$strip>;
3281
+ validation: z.ZodOptional<z.ZodObject<{
3282
+ headerCaseSensitive: z.ZodDefault<z.ZodBoolean>;
3283
+ allowEmptyBody: z.ZodDefault<z.ZodBoolean>;
3284
+ normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
3285
+ }, z.core.$strip>>;
3286
+ }, z.core.$strip>>>;
3287
+ }, {
3288
+ out: {};
3289
+ in: {};
3290
+ }>;
3291
+ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3006
3292
  createdAt: drizzle_orm_pg_core208.PgColumn<{
3007
3293
  name: "created_at";
3008
3294
  tableName: "triggers";
@@ -3059,7 +3345,7 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3059
3345
  tableName: "triggers";
3060
3346
  dataType: "json";
3061
3347
  columnType: "PgJsonb";
3062
- data: Record<string, unknown>;
3348
+ data: Record<string, unknown> | null;
3063
3349
  driverParam: unknown;
3064
3350
  notNull: false;
3065
3351
  hasDefault: false;
@@ -3071,7 +3357,7 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3071
3357
  identity: undefined;
3072
3358
  generated: undefined;
3073
3359
  }, {}, {
3074
- $type: Record<string, unknown>;
3360
+ $type: Record<string, unknown> | null;
3075
3361
  }>;
3076
3362
  outputTransform: drizzle_orm_pg_core208.PgColumn<{
3077
3363
  name: "output_transform";
@@ -3081,7 +3367,7 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3081
3367
  data: {
3082
3368
  jmespath?: string;
3083
3369
  objectTransformation?: Record<string, string>;
3084
- };
3370
+ } | null;
3085
3371
  driverParam: unknown;
3086
3372
  notNull: false;
3087
3373
  hasDefault: false;
@@ -3096,7 +3382,7 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3096
3382
  $type: {
3097
3383
  jmespath?: string;
3098
3384
  objectTransformation?: Record<string, string>;
3099
- };
3385
+ } | null;
3100
3386
  }>;
3101
3387
  messageTemplate: drizzle_orm_pg_core208.PgColumn<{
3102
3388
  name: "message_template";
@@ -3134,11 +3420,11 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3134
3420
  }, {}, {
3135
3421
  $type: unknown;
3136
3422
  }>;
3137
- signingSecret: drizzle_orm_pg_core208.PgColumn<{
3138
- name: "signing_secret";
3423
+ signingSecretCredentialReferenceId: drizzle_orm_pg_core208.PgColumn<{
3424
+ name: "signing_secret_credential_reference_id";
3139
3425
  tableName: "triggers";
3140
3426
  dataType: "string";
3141
- columnType: "PgText";
3427
+ columnType: "PgVarchar";
3142
3428
  data: string;
3143
3429
  driverParam: string;
3144
3430
  notNull: false;
@@ -3150,7 +3436,78 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3150
3436
  baseColumn: never;
3151
3437
  identity: undefined;
3152
3438
  generated: undefined;
3153
- }, {}, {}>;
3439
+ }, {}, {
3440
+ length: 256;
3441
+ }>;
3442
+ signatureVerification: drizzle_orm_pg_core208.PgColumn<{
3443
+ name: "signature_verification";
3444
+ tableName: "triggers";
3445
+ dataType: "json";
3446
+ columnType: "PgJsonb";
3447
+ data: {
3448
+ algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3449
+ encoding: "hex" | "base64";
3450
+ signature: {
3451
+ source: "query" | "body" | "header";
3452
+ key: string;
3453
+ prefix?: string | undefined;
3454
+ regex?: string | undefined;
3455
+ };
3456
+ signedComponents: {
3457
+ source: "literal" | "body" | "header";
3458
+ required: boolean;
3459
+ key?: string | undefined;
3460
+ value?: string | undefined;
3461
+ regex?: string | undefined;
3462
+ }[];
3463
+ componentJoin: {
3464
+ strategy: "concatenate";
3465
+ separator: string;
3466
+ };
3467
+ validation?: {
3468
+ headerCaseSensitive: boolean;
3469
+ allowEmptyBody: boolean;
3470
+ normalizeUnicode: boolean;
3471
+ } | undefined;
3472
+ } | null;
3473
+ driverParam: unknown;
3474
+ notNull: false;
3475
+ hasDefault: true;
3476
+ isPrimaryKey: false;
3477
+ isAutoincrement: false;
3478
+ hasRuntimeDefault: false;
3479
+ enumValues: undefined;
3480
+ baseColumn: never;
3481
+ identity: undefined;
3482
+ generated: undefined;
3483
+ }, {}, {
3484
+ $type: {
3485
+ algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3486
+ encoding: "hex" | "base64";
3487
+ signature: {
3488
+ source: "query" | "body" | "header";
3489
+ key: string;
3490
+ prefix?: string | undefined;
3491
+ regex?: string | undefined;
3492
+ };
3493
+ signedComponents: {
3494
+ source: "literal" | "body" | "header";
3495
+ required: boolean;
3496
+ key?: string | undefined;
3497
+ value?: string | undefined;
3498
+ regex?: string | undefined;
3499
+ }[];
3500
+ componentJoin: {
3501
+ strategy: "concatenate";
3502
+ separator: string;
3503
+ };
3504
+ validation?: {
3505
+ headerCaseSensitive: boolean;
3506
+ allowEmptyBody: boolean;
3507
+ normalizeUnicode: boolean;
3508
+ } | undefined;
3509
+ } | null;
3510
+ }>;
3154
3511
  name: drizzle_orm_pg_core208.PgColumn<{
3155
3512
  name: "name";
3156
3513
  tableName: "triggers";
@@ -3263,7 +3620,7 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3263
3620
  }, {}, {
3264
3621
  length: 256;
3265
3622
  }>;
3266
- }, drizzle_zod19.BuildRefine<{
3623
+ }, drizzle_zod19.BuildRefine<Pick<{
3267
3624
  createdAt: drizzle_orm_pg_core208.PgColumn<{
3268
3625
  name: "created_at";
3269
3626
  tableName: "triggers";
@@ -3320,7 +3677,7 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3320
3677
  tableName: "triggers";
3321
3678
  dataType: "json";
3322
3679
  columnType: "PgJsonb";
3323
- data: Record<string, unknown>;
3680
+ data: Record<string, unknown> | null;
3324
3681
  driverParam: unknown;
3325
3682
  notNull: false;
3326
3683
  hasDefault: false;
@@ -3332,7 +3689,7 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3332
3689
  identity: undefined;
3333
3690
  generated: undefined;
3334
3691
  }, {}, {
3335
- $type: Record<string, unknown>;
3692
+ $type: Record<string, unknown> | null;
3336
3693
  }>;
3337
3694
  outputTransform: drizzle_orm_pg_core208.PgColumn<{
3338
3695
  name: "output_transform";
@@ -3342,7 +3699,7 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3342
3699
  data: {
3343
3700
  jmespath?: string;
3344
3701
  objectTransformation?: Record<string, string>;
3345
- };
3702
+ } | null;
3346
3703
  driverParam: unknown;
3347
3704
  notNull: false;
3348
3705
  hasDefault: false;
@@ -3357,7 +3714,7 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3357
3714
  $type: {
3358
3715
  jmespath?: string;
3359
3716
  objectTransformation?: Record<string, string>;
3360
- };
3717
+ } | null;
3361
3718
  }>;
3362
3719
  messageTemplate: drizzle_orm_pg_core208.PgColumn<{
3363
3720
  name: "message_template";
@@ -3395,11 +3752,11 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3395
3752
  }, {}, {
3396
3753
  $type: unknown;
3397
3754
  }>;
3398
- signingSecret: drizzle_orm_pg_core208.PgColumn<{
3399
- name: "signing_secret";
3755
+ signingSecretCredentialReferenceId: drizzle_orm_pg_core208.PgColumn<{
3756
+ name: "signing_secret_credential_reference_id";
3400
3757
  tableName: "triggers";
3401
3758
  dataType: "string";
3402
- columnType: "PgText";
3759
+ columnType: "PgVarchar";
3403
3760
  data: string;
3404
3761
  driverParam: string;
3405
3762
  notNull: false;
@@ -3411,7 +3768,78 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3411
3768
  baseColumn: never;
3412
3769
  identity: undefined;
3413
3770
  generated: undefined;
3414
- }, {}, {}>;
3771
+ }, {}, {
3772
+ length: 256;
3773
+ }>;
3774
+ signatureVerification: drizzle_orm_pg_core208.PgColumn<{
3775
+ name: "signature_verification";
3776
+ tableName: "triggers";
3777
+ dataType: "json";
3778
+ columnType: "PgJsonb";
3779
+ data: {
3780
+ algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3781
+ encoding: "hex" | "base64";
3782
+ signature: {
3783
+ source: "query" | "body" | "header";
3784
+ key: string;
3785
+ prefix?: string | undefined;
3786
+ regex?: string | undefined;
3787
+ };
3788
+ signedComponents: {
3789
+ source: "literal" | "body" | "header";
3790
+ required: boolean;
3791
+ key?: string | undefined;
3792
+ value?: string | undefined;
3793
+ regex?: string | undefined;
3794
+ }[];
3795
+ componentJoin: {
3796
+ strategy: "concatenate";
3797
+ separator: string;
3798
+ };
3799
+ validation?: {
3800
+ headerCaseSensitive: boolean;
3801
+ allowEmptyBody: boolean;
3802
+ normalizeUnicode: boolean;
3803
+ } | undefined;
3804
+ } | null;
3805
+ driverParam: unknown;
3806
+ notNull: false;
3807
+ hasDefault: true;
3808
+ isPrimaryKey: false;
3809
+ isAutoincrement: false;
3810
+ hasRuntimeDefault: false;
3811
+ enumValues: undefined;
3812
+ baseColumn: never;
3813
+ identity: undefined;
3814
+ generated: undefined;
3815
+ }, {}, {
3816
+ $type: {
3817
+ algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3818
+ encoding: "hex" | "base64";
3819
+ signature: {
3820
+ source: "query" | "body" | "header";
3821
+ key: string;
3822
+ prefix?: string | undefined;
3823
+ regex?: string | undefined;
3824
+ };
3825
+ signedComponents: {
3826
+ source: "literal" | "body" | "header";
3827
+ required: boolean;
3828
+ key?: string | undefined;
3829
+ value?: string | undefined;
3830
+ regex?: string | undefined;
3831
+ }[];
3832
+ componentJoin: {
3833
+ strategy: "concatenate";
3834
+ separator: string;
3835
+ };
3836
+ validation?: {
3837
+ headerCaseSensitive: boolean;
3838
+ allowEmptyBody: boolean;
3839
+ normalizeUnicode: boolean;
3840
+ } | undefined;
3841
+ } | null;
3842
+ }>;
3415
3843
  name: drizzle_orm_pg_core208.PgColumn<{
3416
3844
  name: "name";
3417
3845
  tableName: "triggers";
@@ -3524,577 +3952,87 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3524
3952
  }, {}, {
3525
3953
  length: 256;
3526
3954
  }>;
3527
- }, undefined>, undefined>;
3528
- declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3529
- createdAt: drizzle_orm_pg_core208.PgColumn<{
3530
- name: "created_at";
3531
- tableName: "triggers";
3532
- dataType: "string";
3533
- columnType: "PgTimestampString";
3534
- data: string;
3535
- driverParam: string;
3536
- notNull: true;
3537
- hasDefault: true;
3538
- isPrimaryKey: false;
3539
- isAutoincrement: false;
3540
- hasRuntimeDefault: false;
3541
- enumValues: undefined;
3542
- baseColumn: never;
3543
- identity: undefined;
3544
- generated: undefined;
3545
- }, {}, {}>;
3546
- updatedAt: drizzle_orm_pg_core208.PgColumn<{
3547
- name: "updated_at";
3548
- tableName: "triggers";
3549
- dataType: "string";
3550
- columnType: "PgTimestampString";
3551
- data: string;
3552
- driverParam: string;
3553
- notNull: true;
3554
- hasDefault: true;
3555
- isPrimaryKey: false;
3556
- isAutoincrement: false;
3557
- hasRuntimeDefault: false;
3558
- enumValues: undefined;
3559
- baseColumn: never;
3560
- identity: undefined;
3561
- generated: undefined;
3562
- }, {}, {}>;
3563
- enabled: drizzle_orm_pg_core208.PgColumn<{
3564
- name: "enabled";
3565
- tableName: "triggers";
3566
- dataType: "boolean";
3567
- columnType: "PgBoolean";
3568
- data: boolean;
3569
- driverParam: boolean;
3570
- notNull: true;
3571
- hasDefault: true;
3572
- isPrimaryKey: false;
3573
- isAutoincrement: false;
3574
- hasRuntimeDefault: false;
3575
- enumValues: undefined;
3576
- baseColumn: never;
3577
- identity: undefined;
3578
- generated: undefined;
3579
- }, {}, {}>;
3580
- inputSchema: drizzle_orm_pg_core208.PgColumn<{
3581
- name: "input_schema";
3582
- tableName: "triggers";
3583
- dataType: "json";
3584
- columnType: "PgJsonb";
3585
- data: Record<string, unknown>;
3586
- driverParam: unknown;
3587
- notNull: false;
3588
- hasDefault: false;
3589
- isPrimaryKey: false;
3590
- isAutoincrement: false;
3591
- hasRuntimeDefault: false;
3592
- enumValues: undefined;
3593
- baseColumn: never;
3594
- identity: undefined;
3595
- generated: undefined;
3596
- }, {}, {
3597
- $type: Record<string, unknown>;
3598
- }>;
3599
- outputTransform: drizzle_orm_pg_core208.PgColumn<{
3600
- name: "output_transform";
3601
- tableName: "triggers";
3602
- dataType: "json";
3603
- columnType: "PgJsonb";
3604
- data: {
3605
- jmespath?: string;
3606
- objectTransformation?: Record<string, string>;
3607
- };
3608
- driverParam: unknown;
3609
- notNull: false;
3610
- hasDefault: false;
3611
- isPrimaryKey: false;
3612
- isAutoincrement: false;
3613
- hasRuntimeDefault: false;
3614
- enumValues: undefined;
3615
- baseColumn: never;
3616
- identity: undefined;
3617
- generated: undefined;
3618
- }, {}, {
3619
- $type: {
3620
- jmespath?: string;
3621
- objectTransformation?: Record<string, string>;
3622
- };
3623
- }>;
3624
- messageTemplate: drizzle_orm_pg_core208.PgColumn<{
3625
- name: "message_template";
3626
- tableName: "triggers";
3627
- dataType: "string";
3628
- columnType: "PgText";
3629
- data: string;
3630
- driverParam: string;
3631
- notNull: false;
3632
- hasDefault: false;
3633
- isPrimaryKey: false;
3634
- isAutoincrement: false;
3635
- hasRuntimeDefault: false;
3636
- enumValues: [string, ...string[]];
3637
- baseColumn: never;
3638
- identity: undefined;
3639
- generated: undefined;
3640
- }, {}, {}>;
3641
- authentication: drizzle_orm_pg_core208.PgColumn<{
3642
- name: "authentication";
3643
- tableName: "triggers";
3644
- dataType: "json";
3645
- columnType: "PgJsonb";
3646
- data: unknown;
3647
- driverParam: unknown;
3648
- notNull: false;
3649
- hasDefault: false;
3650
- isPrimaryKey: false;
3651
- isAutoincrement: false;
3652
- hasRuntimeDefault: false;
3653
- enumValues: undefined;
3654
- baseColumn: never;
3655
- identity: undefined;
3656
- generated: undefined;
3657
- }, {}, {
3658
- $type: unknown;
3659
- }>;
3660
- signingSecret: drizzle_orm_pg_core208.PgColumn<{
3661
- name: "signing_secret";
3662
- tableName: "triggers";
3663
- dataType: "string";
3664
- columnType: "PgText";
3665
- data: string;
3666
- driverParam: string;
3667
- notNull: false;
3668
- hasDefault: false;
3669
- isPrimaryKey: false;
3670
- isAutoincrement: false;
3671
- hasRuntimeDefault: false;
3672
- enumValues: [string, ...string[]];
3673
- baseColumn: never;
3674
- identity: undefined;
3675
- generated: undefined;
3676
- }, {}, {}>;
3677
- name: drizzle_orm_pg_core208.PgColumn<{
3678
- name: "name";
3679
- tableName: "triggers";
3680
- dataType: "string";
3681
- columnType: "PgVarchar";
3682
- data: string;
3683
- driverParam: string;
3684
- notNull: true;
3685
- hasDefault: false;
3686
- isPrimaryKey: false;
3687
- isAutoincrement: false;
3688
- hasRuntimeDefault: false;
3689
- enumValues: [string, ...string[]];
3690
- baseColumn: never;
3691
- identity: undefined;
3692
- generated: undefined;
3693
- }, {}, {
3694
- length: 256;
3695
- }>;
3696
- description: drizzle_orm_pg_core208.PgColumn<{
3697
- name: "description";
3698
- tableName: "triggers";
3699
- dataType: "string";
3700
- columnType: "PgText";
3701
- data: string;
3702
- driverParam: string;
3703
- notNull: false;
3704
- hasDefault: false;
3705
- isPrimaryKey: false;
3706
- isAutoincrement: false;
3707
- hasRuntimeDefault: false;
3708
- enumValues: [string, ...string[]];
3709
- baseColumn: never;
3710
- identity: undefined;
3711
- generated: undefined;
3712
- }, {}, {}>;
3713
- agentId: drizzle_orm_pg_core208.PgColumn<{
3714
- name: "agent_id";
3715
- tableName: "triggers";
3716
- dataType: "string";
3717
- columnType: "PgVarchar";
3718
- data: string;
3719
- driverParam: string;
3720
- notNull: true;
3721
- hasDefault: false;
3722
- isPrimaryKey: false;
3723
- isAutoincrement: false;
3724
- hasRuntimeDefault: false;
3725
- enumValues: [string, ...string[]];
3726
- baseColumn: never;
3727
- identity: undefined;
3728
- generated: undefined;
3729
- }, {}, {
3730
- length: 256;
3731
- }>;
3732
- projectId: drizzle_orm_pg_core208.PgColumn<{
3733
- name: "project_id";
3734
- tableName: "triggers";
3735
- dataType: "string";
3736
- columnType: "PgVarchar";
3737
- data: string;
3738
- driverParam: string;
3739
- notNull: true;
3740
- hasDefault: false;
3741
- isPrimaryKey: false;
3742
- isAutoincrement: false;
3743
- hasRuntimeDefault: false;
3744
- enumValues: [string, ...string[]];
3745
- baseColumn: never;
3746
- identity: undefined;
3747
- generated: undefined;
3748
- }, {}, {
3749
- length: 256;
3750
- }>;
3751
- tenantId: drizzle_orm_pg_core208.PgColumn<{
3752
- name: "tenant_id";
3753
- tableName: "triggers";
3754
- dataType: "string";
3755
- columnType: "PgVarchar";
3756
- data: string;
3757
- driverParam: string;
3758
- notNull: true;
3759
- hasDefault: false;
3760
- isPrimaryKey: false;
3761
- isAutoincrement: false;
3762
- hasRuntimeDefault: false;
3763
- enumValues: [string, ...string[]];
3764
- baseColumn: never;
3765
- identity: undefined;
3766
- generated: undefined;
3767
- }, {}, {
3768
- length: 256;
3769
- }>;
3770
- id: drizzle_orm_pg_core208.PgColumn<{
3771
- name: "id";
3772
- tableName: "triggers";
3773
- dataType: "string";
3774
- columnType: "PgVarchar";
3775
- data: string;
3776
- driverParam: string;
3777
- notNull: true;
3778
- hasDefault: false;
3779
- isPrimaryKey: false;
3780
- isAutoincrement: false;
3781
- hasRuntimeDefault: false;
3782
- enumValues: [string, ...string[]];
3783
- baseColumn: never;
3784
- identity: undefined;
3785
- generated: undefined;
3786
- }, {}, {
3787
- length: 256;
3788
- }>;
3789
- }, drizzle_zod19.BuildRefine<Pick<{
3790
- createdAt: drizzle_orm_pg_core208.PgColumn<{
3791
- name: "created_at";
3792
- tableName: "triggers";
3793
- dataType: "string";
3794
- columnType: "PgTimestampString";
3795
- data: string;
3796
- driverParam: string;
3797
- notNull: true;
3798
- hasDefault: true;
3799
- isPrimaryKey: false;
3800
- isAutoincrement: false;
3801
- hasRuntimeDefault: false;
3802
- enumValues: undefined;
3803
- baseColumn: never;
3804
- identity: undefined;
3805
- generated: undefined;
3806
- }, {}, {}>;
3807
- updatedAt: drizzle_orm_pg_core208.PgColumn<{
3808
- name: "updated_at";
3809
- tableName: "triggers";
3810
- dataType: "string";
3811
- columnType: "PgTimestampString";
3812
- data: string;
3813
- driverParam: string;
3814
- notNull: true;
3815
- hasDefault: true;
3816
- isPrimaryKey: false;
3817
- isAutoincrement: false;
3818
- hasRuntimeDefault: false;
3819
- enumValues: undefined;
3820
- baseColumn: never;
3821
- identity: undefined;
3822
- generated: undefined;
3823
- }, {}, {}>;
3824
- enabled: drizzle_orm_pg_core208.PgColumn<{
3825
- name: "enabled";
3826
- tableName: "triggers";
3827
- dataType: "boolean";
3828
- columnType: "PgBoolean";
3829
- data: boolean;
3830
- driverParam: boolean;
3831
- notNull: true;
3832
- hasDefault: true;
3833
- isPrimaryKey: false;
3834
- isAutoincrement: false;
3835
- hasRuntimeDefault: false;
3836
- enumValues: undefined;
3837
- baseColumn: never;
3838
- identity: undefined;
3839
- generated: undefined;
3840
- }, {}, {}>;
3841
- inputSchema: drizzle_orm_pg_core208.PgColumn<{
3842
- name: "input_schema";
3843
- tableName: "triggers";
3844
- dataType: "json";
3845
- columnType: "PgJsonb";
3846
- data: Record<string, unknown>;
3847
- driverParam: unknown;
3848
- notNull: false;
3849
- hasDefault: false;
3850
- isPrimaryKey: false;
3851
- isAutoincrement: false;
3852
- hasRuntimeDefault: false;
3853
- enumValues: undefined;
3854
- baseColumn: never;
3855
- identity: undefined;
3856
- generated: undefined;
3857
- }, {}, {
3858
- $type: Record<string, unknown>;
3859
- }>;
3860
- outputTransform: drizzle_orm_pg_core208.PgColumn<{
3861
- name: "output_transform";
3862
- tableName: "triggers";
3863
- dataType: "json";
3864
- columnType: "PgJsonb";
3865
- data: {
3866
- jmespath?: string;
3867
- objectTransformation?: Record<string, string>;
3868
- };
3869
- driverParam: unknown;
3870
- notNull: false;
3871
- hasDefault: false;
3872
- isPrimaryKey: false;
3873
- isAutoincrement: false;
3874
- hasRuntimeDefault: false;
3875
- enumValues: undefined;
3876
- baseColumn: never;
3877
- identity: undefined;
3878
- generated: undefined;
3879
- }, {}, {
3880
- $type: {
3881
- jmespath?: string;
3882
- objectTransformation?: Record<string, string>;
3883
- };
3884
- }>;
3885
- messageTemplate: drizzle_orm_pg_core208.PgColumn<{
3886
- name: "message_template";
3887
- tableName: "triggers";
3888
- dataType: "string";
3889
- columnType: "PgText";
3890
- data: string;
3891
- driverParam: string;
3892
- notNull: false;
3893
- hasDefault: false;
3894
- isPrimaryKey: false;
3895
- isAutoincrement: false;
3896
- hasRuntimeDefault: false;
3897
- enumValues: [string, ...string[]];
3898
- baseColumn: never;
3899
- identity: undefined;
3900
- generated: undefined;
3901
- }, {}, {}>;
3902
- authentication: drizzle_orm_pg_core208.PgColumn<{
3903
- name: "authentication";
3904
- tableName: "triggers";
3905
- dataType: "json";
3906
- columnType: "PgJsonb";
3907
- data: unknown;
3908
- driverParam: unknown;
3909
- notNull: false;
3910
- hasDefault: false;
3911
- isPrimaryKey: false;
3912
- isAutoincrement: false;
3913
- hasRuntimeDefault: false;
3914
- enumValues: undefined;
3915
- baseColumn: never;
3916
- identity: undefined;
3917
- generated: undefined;
3918
- }, {}, {
3919
- $type: unknown;
3920
- }>;
3921
- signingSecret: drizzle_orm_pg_core208.PgColumn<{
3922
- name: "signing_secret";
3923
- tableName: "triggers";
3924
- dataType: "string";
3925
- columnType: "PgText";
3926
- data: string;
3927
- driverParam: string;
3928
- notNull: false;
3929
- hasDefault: false;
3930
- isPrimaryKey: false;
3931
- isAutoincrement: false;
3932
- hasRuntimeDefault: false;
3933
- enumValues: [string, ...string[]];
3934
- baseColumn: never;
3935
- identity: undefined;
3936
- generated: undefined;
3937
- }, {}, {}>;
3938
- name: drizzle_orm_pg_core208.PgColumn<{
3939
- name: "name";
3940
- tableName: "triggers";
3941
- dataType: "string";
3942
- columnType: "PgVarchar";
3943
- data: string;
3944
- driverParam: string;
3945
- notNull: true;
3946
- hasDefault: false;
3947
- isPrimaryKey: false;
3948
- isAutoincrement: false;
3949
- hasRuntimeDefault: false;
3950
- enumValues: [string, ...string[]];
3951
- baseColumn: never;
3952
- identity: undefined;
3953
- generated: undefined;
3954
- }, {}, {
3955
- length: 256;
3956
- }>;
3957
- description: drizzle_orm_pg_core208.PgColumn<{
3958
- name: "description";
3959
- tableName: "triggers";
3960
- dataType: "string";
3961
- columnType: "PgText";
3962
- data: string;
3963
- driverParam: string;
3964
- notNull: false;
3965
- hasDefault: false;
3966
- isPrimaryKey: false;
3967
- isAutoincrement: false;
3968
- hasRuntimeDefault: false;
3969
- enumValues: [string, ...string[]];
3970
- baseColumn: never;
3971
- identity: undefined;
3972
- generated: undefined;
3973
- }, {}, {}>;
3974
- agentId: drizzle_orm_pg_core208.PgColumn<{
3975
- name: "agent_id";
3976
- tableName: "triggers";
3977
- dataType: "string";
3978
- columnType: "PgVarchar";
3979
- data: string;
3980
- driverParam: string;
3981
- notNull: true;
3982
- hasDefault: false;
3983
- isPrimaryKey: false;
3984
- isAutoincrement: false;
3985
- hasRuntimeDefault: false;
3986
- enumValues: [string, ...string[]];
3987
- baseColumn: never;
3988
- identity: undefined;
3989
- generated: undefined;
3990
- }, {}, {
3991
- length: 256;
3992
- }>;
3993
- projectId: drizzle_orm_pg_core208.PgColumn<{
3994
- name: "project_id";
3995
- tableName: "triggers";
3996
- dataType: "string";
3997
- columnType: "PgVarchar";
3998
- data: string;
3999
- driverParam: string;
4000
- notNull: true;
4001
- hasDefault: false;
4002
- isPrimaryKey: false;
4003
- isAutoincrement: false;
4004
- hasRuntimeDefault: false;
4005
- enumValues: [string, ...string[]];
4006
- baseColumn: never;
4007
- identity: undefined;
4008
- generated: undefined;
4009
- }, {}, {
4010
- length: 256;
4011
- }>;
4012
- tenantId: drizzle_orm_pg_core208.PgColumn<{
4013
- name: "tenant_id";
4014
- tableName: "triggers";
4015
- dataType: "string";
4016
- columnType: "PgVarchar";
4017
- data: string;
4018
- driverParam: string;
4019
- notNull: true;
4020
- hasDefault: false;
4021
- isPrimaryKey: false;
4022
- isAutoincrement: false;
4023
- hasRuntimeDefault: false;
4024
- enumValues: [string, ...string[]];
4025
- baseColumn: never;
4026
- identity: undefined;
4027
- generated: undefined;
4028
- }, {}, {
4029
- length: 256;
4030
- }>;
4031
- id: drizzle_orm_pg_core208.PgColumn<{
4032
- name: "id";
4033
- tableName: "triggers";
4034
- dataType: "string";
4035
- columnType: "PgVarchar";
4036
- data: string;
4037
- driverParam: string;
4038
- notNull: true;
4039
- hasDefault: false;
4040
- isPrimaryKey: false;
4041
- isAutoincrement: false;
4042
- hasRuntimeDefault: false;
4043
- enumValues: [string, ...string[]];
4044
- baseColumn: never;
4045
- identity: undefined;
4046
- generated: undefined;
4047
- }, {}, {
4048
- length: 256;
4049
- }>;
4050
- }, "tenantId" | "projectId" | "id" | "name" | "description" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecret">, undefined>, undefined>;
3955
+ }, "name" | "description" | "id" | "createdAt" | "updatedAt" | "enabled" | "tenantId" | "projectId" | "inputSchema" | "agentId" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4051
3956
  declare const TriggerUpdateSchema: z.ZodObject<{
3957
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3958
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3959
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
3960
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
3961
+ messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3962
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
3963
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3964
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4052
3965
  name: z.ZodOptional<z.ZodString>;
4053
- description: z.ZodOptional<z.ZodString>;
4054
- enabled: z.ZodOptional<z.ZodBoolean>;
4055
- inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4056
- outputTransform: z.ZodOptional<z.ZodObject<{
4057
- jmespath: z.ZodOptional<z.ZodString>;
4058
- objectTransformation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4059
- }, z.core.$strip>>;
4060
- messageTemplate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4061
- authentication: z.ZodOptional<z.ZodObject<{
4062
- headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
4063
- name: z.ZodString;
4064
- value: z.ZodOptional<z.ZodString>;
4065
- keepExisting: z.ZodOptional<z.ZodBoolean>;
4066
- }, z.core.$strip>>>;
4067
- }, z.core.$strip>>;
4068
- signingSecret: z.ZodOptional<z.ZodString>;
4069
- keepExistingSigningSecret: z.ZodOptional<z.ZodBoolean>;
4070
- }, z.core.$strip>;
3966
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3967
+ agentId: z.ZodOptional<z.ZodString>;
3968
+ projectId: z.ZodOptional<z.ZodString>;
3969
+ tenantId: z.ZodOptional<z.ZodString>;
3970
+ id: z.ZodOptional<z.ZodString>;
3971
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3972
+ }, {
3973
+ out: {};
3974
+ in: {};
3975
+ }>;
4071
3976
  declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4072
3977
  createdAt: z.ZodString;
4073
3978
  updatedAt: z.ZodString;
4074
3979
  enabled: z.ZodBoolean;
4075
- inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4076
- outputTransform: z.ZodNullable<z.ZodType<{
4077
- jmespath?: string;
4078
- objectTransformation?: Record<string, string>;
4079
- }, {
4080
- jmespath?: string;
4081
- objectTransformation?: Record<string, string>;
4082
- }, z.core.$ZodTypeInternals<{
4083
- jmespath?: string;
4084
- objectTransformation?: Record<string, string>;
4085
- }, {
4086
- jmespath?: string;
4087
- objectTransformation?: Record<string, string>;
4088
- }>>>;
3980
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3981
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4089
3982
  messageTemplate: z.ZodNullable<z.ZodString>;
4090
3983
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4091
- signingSecret: z.ZodNullable<z.ZodString>;
4092
3984
  name: z.ZodString;
4093
3985
  description: z.ZodNullable<z.ZodString>;
4094
3986
  agentId: z.ZodString;
4095
3987
  projectId: z.ZodString;
4096
3988
  tenantId: z.ZodString;
4097
3989
  id: z.ZodString;
3990
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3991
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3992
+ algorithm: z.ZodEnum<{
3993
+ sha256: "sha256";
3994
+ sha512: "sha512";
3995
+ sha384: "sha384";
3996
+ sha1: "sha1";
3997
+ md5: "md5";
3998
+ }>;
3999
+ encoding: z.ZodEnum<{
4000
+ hex: "hex";
4001
+ base64: "base64";
4002
+ }>;
4003
+ signature: z.ZodObject<{
4004
+ source: z.ZodEnum<{
4005
+ query: "query";
4006
+ body: "body";
4007
+ header: "header";
4008
+ }>;
4009
+ key: z.ZodString;
4010
+ prefix: z.ZodOptional<z.ZodString>;
4011
+ regex: z.ZodOptional<z.ZodString>;
4012
+ }, z.core.$strip>;
4013
+ signedComponents: z.ZodArray<z.ZodObject<{
4014
+ source: z.ZodEnum<{
4015
+ literal: "literal";
4016
+ body: "body";
4017
+ header: "header";
4018
+ }>;
4019
+ key: z.ZodOptional<z.ZodString>;
4020
+ value: z.ZodOptional<z.ZodString>;
4021
+ regex: z.ZodOptional<z.ZodString>;
4022
+ required: z.ZodDefault<z.ZodBoolean>;
4023
+ }, z.core.$strip>>;
4024
+ componentJoin: z.ZodObject<{
4025
+ strategy: z.ZodEnum<{
4026
+ concatenate: "concatenate";
4027
+ }>;
4028
+ separator: z.ZodString;
4029
+ }, z.core.$strip>;
4030
+ validation: z.ZodOptional<z.ZodObject<{
4031
+ headerCaseSensitive: z.ZodDefault<z.ZodBoolean>;
4032
+ allowEmptyBody: z.ZodDefault<z.ZodBoolean>;
4033
+ normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
4034
+ }, z.core.$strip>>;
4035
+ }, z.core.$strip>>>;
4098
4036
  }>, z.core.$strip>;
4099
4037
  declare const TriggerApiInsertSchema: z.ZodObject<{
4100
4038
  name: z.ZodString;
@@ -4102,44 +4040,92 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4102
4040
  createdAt: z.ZodOptional<z.ZodString>;
4103
4041
  updatedAt: z.ZodOptional<z.ZodString>;
4104
4042
  enabled: z.ZodOptional<z.ZodBoolean>;
4105
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4106
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
4107
- jmespath?: string;
4108
- objectTransformation?: Record<string, string>;
4109
- }, {
4110
- jmespath?: string;
4111
- objectTransformation?: Record<string, string>;
4112
- }, z.core.$ZodTypeInternals<{
4113
- jmespath?: string;
4114
- objectTransformation?: Record<string, string>;
4115
- }, {
4116
- jmespath?: string;
4117
- objectTransformation?: Record<string, string>;
4118
- }>>>>;
4043
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4044
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4119
4045
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4120
4046
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4121
- signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4047
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4048
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4122
4049
  id: z.ZodOptional<z.ZodString>;
4123
4050
  }, z.core.$strip>;
4124
4051
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4052
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4053
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4054
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4055
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4056
+ messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4057
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4058
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4059
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4125
4060
  name: z.ZodOptional<z.ZodString>;
4126
- description: z.ZodOptional<z.ZodString>;
4127
- enabled: z.ZodOptional<z.ZodBoolean>;
4128
- inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4129
- outputTransform: z.ZodOptional<z.ZodObject<{
4130
- jmespath: z.ZodOptional<z.ZodString>;
4131
- objectTransformation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4132
- }, z.core.$strip>>;
4133
- messageTemplate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4134
- authentication: z.ZodOptional<z.ZodObject<{
4135
- headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
4136
- name: z.ZodString;
4061
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4062
+ agentId: z.ZodOptional<z.ZodString>;
4063
+ projectId: z.ZodOptional<z.ZodString>;
4064
+ tenantId: z.ZodOptional<z.ZodString>;
4065
+ id: z.ZodOptional<z.ZodString>;
4066
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4067
+ }, {
4068
+ out: {};
4069
+ in: {};
4070
+ }>;
4071
+ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4072
+ name: z.ZodString;
4073
+ description: z.ZodNullable<z.ZodString>;
4074
+ id: z.ZodString;
4075
+ createdAt: z.ZodString;
4076
+ updatedAt: z.ZodString;
4077
+ enabled: z.ZodBoolean;
4078
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4079
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4080
+ messageTemplate: z.ZodNullable<z.ZodString>;
4081
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4082
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4083
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4084
+ algorithm: z.ZodEnum<{
4085
+ sha256: "sha256";
4086
+ sha512: "sha512";
4087
+ sha384: "sha384";
4088
+ sha1: "sha1";
4089
+ md5: "md5";
4090
+ }>;
4091
+ encoding: z.ZodEnum<{
4092
+ hex: "hex";
4093
+ base64: "base64";
4094
+ }>;
4095
+ signature: z.ZodObject<{
4096
+ source: z.ZodEnum<{
4097
+ query: "query";
4098
+ body: "body";
4099
+ header: "header";
4100
+ }>;
4101
+ key: z.ZodString;
4102
+ prefix: z.ZodOptional<z.ZodString>;
4103
+ regex: z.ZodOptional<z.ZodString>;
4104
+ }, z.core.$strip>;
4105
+ signedComponents: z.ZodArray<z.ZodObject<{
4106
+ source: z.ZodEnum<{
4107
+ literal: "literal";
4108
+ body: "body";
4109
+ header: "header";
4110
+ }>;
4111
+ key: z.ZodOptional<z.ZodString>;
4137
4112
  value: z.ZodOptional<z.ZodString>;
4138
- keepExisting: z.ZodOptional<z.ZodBoolean>;
4139
- }, z.core.$strip>>>;
4140
- }, z.core.$strip>>;
4141
- signingSecret: z.ZodOptional<z.ZodString>;
4142
- keepExistingSigningSecret: z.ZodOptional<z.ZodBoolean>;
4113
+ regex: z.ZodOptional<z.ZodString>;
4114
+ required: z.ZodDefault<z.ZodBoolean>;
4115
+ }, z.core.$strip>>;
4116
+ componentJoin: z.ZodObject<{
4117
+ strategy: z.ZodEnum<{
4118
+ concatenate: "concatenate";
4119
+ }>;
4120
+ separator: z.ZodString;
4121
+ }, z.core.$strip>;
4122
+ validation: z.ZodOptional<z.ZodObject<{
4123
+ headerCaseSensitive: z.ZodDefault<z.ZodBoolean>;
4124
+ allowEmptyBody: z.ZodDefault<z.ZodBoolean>;
4125
+ normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
4126
+ }, z.core.$strip>>;
4127
+ }, z.core.$strip>>>;
4128
+ webhookUrl: z.ZodString;
4143
4129
  }, z.core.$strip>;
4144
4130
  declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4145
4131
  triggerId: drizzle_orm_pg_core208.PgColumn<{
@@ -4950,7 +4936,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4950
4936
  }, {}, {
4951
4937
  length: 256;
4952
4938
  }>;
4953
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "status" | "conversationId" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4939
+ }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4954
4940
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4955
4941
  triggerId: z.ZodOptional<z.ZodString>;
4956
4942
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -4983,8 +4969,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4983
4969
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4984
4970
  createdAt: z.ZodOptional<z.ZodString>;
4985
4971
  status: z.ZodOptional<z.ZodString>;
4986
- conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4987
4972
  triggerId: z.ZodString;
4973
+ conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4988
4974
  requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4989
4975
  transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4990
4976
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4994,8 +4980,8 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
4994
4980
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4995
4981
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4996
4982
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4997
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4998
4983
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4984
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4999
4985
  requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5000
4986
  transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
5001
4987
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5060,7 +5046,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5060
5046
  dataType: "json";
5061
5047
  columnType: "PgJsonb";
5062
5048
  data: {
5063
- type: "tag" | "commit" | "branch";
5049
+ type: "commit" | "tag" | "branch";
5064
5050
  name: string;
5065
5051
  hash: string;
5066
5052
  };
@@ -5076,7 +5062,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5076
5062
  generated: undefined;
5077
5063
  }, {}, {
5078
5064
  $type: {
5079
- type: "tag" | "commit" | "branch";
5065
+ type: "commit" | "tag" | "branch";
5080
5066
  name: string;
5081
5067
  hash: string;
5082
5068
  };
@@ -5274,7 +5260,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5274
5260
  dataType: "json";
5275
5261
  columnType: "PgJsonb";
5276
5262
  data: {
5277
- type: "tag" | "commit" | "branch";
5263
+ type: "commit" | "tag" | "branch";
5278
5264
  name: string;
5279
5265
  hash: string;
5280
5266
  };
@@ -5290,7 +5276,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5290
5276
  generated: undefined;
5291
5277
  }, {}, {
5292
5278
  $type: {
5293
- type: "tag" | "commit" | "branch";
5279
+ type: "commit" | "tag" | "branch";
5294
5280
  name: string;
5295
5281
  hash: string;
5296
5282
  };
@@ -5443,8 +5429,8 @@ declare const TaskInsertSchema: z.ZodObject<{
5443
5429
  conversationId: z.ZodOptional<z.ZodString>;
5444
5430
  ref: z.ZodObject<{
5445
5431
  type: z.ZodEnum<{
5446
- tag: "tag";
5447
5432
  commit: "commit";
5433
+ tag: "tag";
5448
5434
  branch: "branch";
5449
5435
  }>;
5450
5436
  name: z.ZodString;
@@ -5468,8 +5454,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
5468
5454
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5469
5455
  ref: z.ZodOptional<z.ZodObject<{
5470
5456
  type: z.ZodEnum<{
5471
- tag: "tag";
5472
5457
  commit: "commit";
5458
+ tag: "tag";
5473
5459
  branch: "branch";
5474
5460
  }>;
5475
5461
  name: z.ZodString;
@@ -5484,19 +5470,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
5484
5470
  updatedAt: z.ZodString;
5485
5471
  contextId: z.ZodString;
5486
5472
  ref: z.ZodNullable<z.ZodType<{
5487
- type: "tag" | "commit" | "branch";
5473
+ type: "commit" | "tag" | "branch";
5488
5474
  name: string;
5489
5475
  hash: string;
5490
5476
  }, {
5491
- type: "tag" | "commit" | "branch";
5477
+ type: "commit" | "tag" | "branch";
5492
5478
  name: string;
5493
5479
  hash: string;
5494
5480
  }, z.core.$ZodTypeInternals<{
5495
- type: "tag" | "commit" | "branch";
5481
+ type: "commit" | "tag" | "branch";
5496
5482
  name: string;
5497
5483
  hash: string;
5498
5484
  }, {
5499
- type: "tag" | "commit" | "branch";
5485
+ type: "commit" | "tag" | "branch";
5500
5486
  name: string;
5501
5487
  hash: string;
5502
5488
  }>>>;
@@ -5522,8 +5508,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5522
5508
  conversationId: z.ZodOptional<z.ZodString>;
5523
5509
  ref: z.ZodObject<{
5524
5510
  type: z.ZodEnum<{
5525
- tag: "tag";
5526
5511
  commit: "commit";
5512
+ tag: "tag";
5527
5513
  branch: "branch";
5528
5514
  }>;
5529
5515
  name: z.ZodString;
@@ -5532,23 +5518,23 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5532
5518
  }>, z.core.$strip>;
5533
5519
  declare const TaskApiUpdateSchema: z.ZodObject<{
5534
5520
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5535
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5536
5521
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5537
5522
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5538
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5539
5523
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5540
5524
  type: z.ZodEnum<{
5541
- tag: "tag";
5542
5525
  commit: "commit";
5526
+ tag: "tag";
5543
5527
  branch: "branch";
5544
5528
  }>;
5545
5529
  name: z.ZodString;
5546
5530
  hash: z.ZodString;
5547
5531
  }, z.core.$strip>>>;
5532
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5548
5533
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5549
5534
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5550
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5535
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5551
5536
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5537
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5552
5538
  }, z.core.$strip>;
5553
5539
  declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
5554
5540
  createdAt: drizzle_orm_pg_core208.PgColumn<{
@@ -6593,7 +6579,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6593
6579
  dataType: "json";
6594
6580
  columnType: "PgJsonb";
6595
6581
  data: {
6596
- type: "tag" | "commit" | "branch";
6582
+ type: "commit" | "tag" | "branch";
6597
6583
  name: string;
6598
6584
  hash: string;
6599
6585
  };
@@ -6609,7 +6595,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6609
6595
  generated: undefined;
6610
6596
  }, {}, {
6611
6597
  $type: {
6612
- type: "tag" | "commit" | "branch";
6598
+ type: "commit" | "tag" | "branch";
6613
6599
  name: string;
6614
6600
  hash: string;
6615
6601
  };
@@ -6822,7 +6808,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6822
6808
  dataType: "json";
6823
6809
  columnType: "PgJsonb";
6824
6810
  data: {
6825
- type: "tag" | "commit" | "branch";
6811
+ type: "commit" | "tag" | "branch";
6826
6812
  name: string;
6827
6813
  hash: string;
6828
6814
  };
@@ -6838,7 +6824,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6838
6824
  generated: undefined;
6839
6825
  }, {}, {
6840
6826
  $type: {
6841
- type: "tag" | "commit" | "branch";
6827
+ type: "commit" | "tag" | "branch";
6842
6828
  name: string;
6843
6829
  hash: string;
6844
6830
  };
@@ -6969,8 +6955,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
6969
6955
  contextConfigId: z.ZodOptional<z.ZodString>;
6970
6956
  ref: z.ZodObject<{
6971
6957
  type: z.ZodEnum<{
6972
- tag: "tag";
6973
6958
  commit: "commit";
6959
+ tag: "tag";
6974
6960
  branch: "branch";
6975
6961
  }>;
6976
6962
  name: z.ZodString;
@@ -6995,8 +6981,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
6995
6981
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6996
6982
  ref: z.ZodOptional<z.ZodObject<{
6997
6983
  type: z.ZodEnum<{
6998
- tag: "tag";
6999
6984
  commit: "commit";
6985
+ tag: "tag";
7000
6986
  branch: "branch";
7001
6987
  }>;
7002
6988
  name: z.ZodString;
@@ -7013,19 +6999,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
7013
6999
  agentId: z.ZodNullable<z.ZodString>;
7014
7000
  activeSubAgentId: z.ZodString;
7015
7001
  ref: z.ZodNullable<z.ZodType<{
7016
- type: "tag" | "commit" | "branch";
7002
+ type: "commit" | "tag" | "branch";
7017
7003
  name: string;
7018
7004
  hash: string;
7019
7005
  }, {
7020
- type: "tag" | "commit" | "branch";
7006
+ type: "commit" | "tag" | "branch";
7021
7007
  name: string;
7022
7008
  hash: string;
7023
7009
  }, z.core.$ZodTypeInternals<{
7024
- type: "tag" | "commit" | "branch";
7010
+ type: "commit" | "tag" | "branch";
7025
7011
  name: string;
7026
7012
  hash: string;
7027
7013
  }, {
7028
- type: "tag" | "commit" | "branch";
7014
+ type: "commit" | "tag" | "branch";
7029
7015
  name: string;
7030
7016
  hash: string;
7031
7017
  }>>>;
@@ -7051,8 +7037,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7051
7037
  contextConfigId: z.ZodOptional<z.ZodString>;
7052
7038
  ref: z.ZodObject<{
7053
7039
  type: z.ZodEnum<{
7054
- tag: "tag";
7055
7040
  commit: "commit";
7041
+ tag: "tag";
7056
7042
  branch: "branch";
7057
7043
  }>;
7058
7044
  name: z.ZodString;
@@ -7060,23 +7046,23 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7060
7046
  }, z.core.$strip>;
7061
7047
  }>, z.core.$strip>;
7062
7048
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7063
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7064
7049
  title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7065
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7050
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7066
7051
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7067
7052
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7068
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7069
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7070
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7071
7053
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7072
7054
  type: z.ZodEnum<{
7073
- tag: "tag";
7074
7055
  commit: "commit";
7056
+ tag: "tag";
7075
7057
  branch: "branch";
7076
7058
  }>;
7077
7059
  name: z.ZodString;
7078
7060
  hash: z.ZodString;
7079
7061
  }, z.core.$strip>>>;
7062
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7063
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7064
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7065
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7080
7066
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7081
7067
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7082
7068
  }, z.core.$strip>;
@@ -7976,15 +7962,15 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
7976
7962
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7977
7963
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7978
7964
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
7979
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7980
7965
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7981
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7966
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7982
7967
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7983
7968
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7984
7969
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7985
7970
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7986
7971
  taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7987
7972
  a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7973
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7988
7974
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7989
7975
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7990
7976
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -8090,7 +8076,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8090
8076
  dataType: "json";
8091
8077
  columnType: "PgJsonb";
8092
8078
  data: {
8093
- type: "tag" | "commit" | "branch";
8079
+ type: "commit" | "tag" | "branch";
8094
8080
  name: string;
8095
8081
  hash: string;
8096
8082
  };
@@ -8106,7 +8092,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8106
8092
  generated: undefined;
8107
8093
  }, {}, {
8108
8094
  $type: {
8109
- type: "tag" | "commit" | "branch";
8095
+ type: "commit" | "tag" | "branch";
8110
8096
  name: string;
8111
8097
  hash: string;
8112
8098
  };
@@ -8340,7 +8326,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8340
8326
  dataType: "json";
8341
8327
  columnType: "PgJsonb";
8342
8328
  data: {
8343
- type: "tag" | "commit" | "branch";
8329
+ type: "commit" | "tag" | "branch";
8344
8330
  name: string;
8345
8331
  hash: string;
8346
8332
  };
@@ -8356,7 +8342,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8356
8342
  generated: undefined;
8357
8343
  }, {}, {
8358
8344
  $type: {
8359
- type: "tag" | "commit" | "branch";
8345
+ type: "commit" | "tag" | "branch";
8360
8346
  name: string;
8361
8347
  hash: string;
8362
8348
  };
@@ -8508,8 +8494,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8508
8494
  id: z.ZodString;
8509
8495
  ref: z.ZodObject<{
8510
8496
  type: z.ZodEnum<{
8511
- tag: "tag";
8512
8497
  commit: "commit";
8498
+ tag: "tag";
8513
8499
  branch: "branch";
8514
8500
  }>;
8515
8501
  name: z.ZodString;
@@ -8534,8 +8520,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8534
8520
  id: z.ZodOptional<z.ZodString>;
8535
8521
  ref: z.ZodOptional<z.ZodObject<{
8536
8522
  type: z.ZodEnum<{
8537
- tag: "tag";
8538
8523
  commit: "commit";
8524
+ tag: "tag";
8539
8525
  branch: "branch";
8540
8526
  }>;
8541
8527
  name: z.ZodString;
@@ -8552,19 +8538,19 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8552
8538
  contextConfigId: z.ZodString;
8553
8539
  contextVariableKey: z.ZodString;
8554
8540
  ref: z.ZodNullable<z.ZodType<{
8555
- type: "tag" | "commit" | "branch";
8541
+ type: "commit" | "tag" | "branch";
8556
8542
  name: string;
8557
8543
  hash: string;
8558
8544
  }, {
8559
- type: "tag" | "commit" | "branch";
8545
+ type: "commit" | "tag" | "branch";
8560
8546
  name: string;
8561
8547
  hash: string;
8562
8548
  }, z.core.$ZodTypeInternals<{
8563
- type: "tag" | "commit" | "branch";
8549
+ type: "commit" | "tag" | "branch";
8564
8550
  name: string;
8565
8551
  hash: string;
8566
8552
  }, {
8567
- type: "tag" | "commit" | "branch";
8553
+ type: "commit" | "tag" | "branch";
8568
8554
  name: string;
8569
8555
  hash: string;
8570
8556
  }>>>;
@@ -8591,8 +8577,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8591
8577
  id: z.ZodString;
8592
8578
  ref: z.ZodObject<{
8593
8579
  type: z.ZodEnum<{
8594
- tag: "tag";
8595
8580
  commit: "commit";
8581
+ tag: "tag";
8596
8582
  branch: "branch";
8597
8583
  }>;
8598
8584
  name: z.ZodString;
@@ -8601,19 +8587,19 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8601
8587
  }>, z.core.$strip>;
8602
8588
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8603
8589
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8604
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8605
8590
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8606
8591
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8607
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8608
8592
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8609
8593
  type: z.ZodEnum<{
8610
- tag: "tag";
8611
8594
  commit: "commit";
8595
+ tag: "tag";
8612
8596
  branch: "branch";
8613
8597
  }>;
8614
8598
  name: z.ZodString;
8615
8599
  hash: z.ZodString;
8616
8600
  }, z.core.$strip>>>;
8601
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8602
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8617
8603
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8618
8604
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8619
8605
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10316,9 +10302,9 @@ declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10316
10302
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10317
10303
  }, z.core.$strip>;
10318
10304
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10319
- id: z.ZodString;
10320
10305
  name: z.ZodString;
10321
10306
  description: z.ZodNullable<z.ZodString>;
10307
+ id: z.ZodString;
10322
10308
  createdAt: z.ZodString;
10323
10309
  updatedAt: z.ZodString;
10324
10310
  isActive: z.ZodBoolean;
@@ -12455,7 +12441,9 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12455
12441
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12456
12442
  name: z.ZodString;
12457
12443
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12458
- prompt: z.ZodString;
12444
+ createdAt: z.ZodOptional<z.ZodString>;
12445
+ updatedAt: z.ZodOptional<z.ZodString>;
12446
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12459
12447
  model: z.ZodType<{
12460
12448
  model?: string | undefined;
12461
12449
  providerOptions?: Record<string, any> | undefined;
@@ -12469,15 +12457,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12469
12457
  model?: string | undefined;
12470
12458
  providerOptions?: Record<string, any> | undefined;
12471
12459
  }>>;
12472
- createdAt: z.ZodOptional<z.ZodString>;
12473
- updatedAt: z.ZodOptional<z.ZodString>;
12474
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12460
+ prompt: z.ZodString;
12475
12461
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12476
12462
  }, z.core.$strip>;
12477
12463
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12478
12464
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12479
12465
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12480
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12466
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12467
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12468
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12481
12469
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12482
12470
  model?: string | undefined;
12483
12471
  providerOptions?: Record<string, any> | undefined;
@@ -12491,9 +12479,7 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12491
12479
  model?: string | undefined;
12492
12480
  providerOptions?: Record<string, any> | undefined;
12493
12481
  }>>>>;
12494
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12495
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12496
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12482
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12497
12483
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12498
12484
  }, z.core.$strip>;
12499
12485
  declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -14142,15 +14128,15 @@ declare const DatasetRunConfigAgentRelationApiSelectSchema: z.ZodObject<OmitProj
14142
14128
  id: z.ZodString;
14143
14129
  }>, z.core.$strip>;
14144
14130
  declare const DatasetRunConfigAgentRelationApiInsertSchema: z.ZodObject<{
14145
- agentId: z.ZodString;
14146
14131
  createdAt: z.ZodOptional<z.ZodString>;
14147
14132
  updatedAt: z.ZodOptional<z.ZodString>;
14133
+ agentId: z.ZodString;
14148
14134
  datasetRunConfigId: z.ZodString;
14149
14135
  }, z.core.$strip>;
14150
14136
  declare const DatasetRunConfigAgentRelationApiUpdateSchema: z.ZodObject<{
14151
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14152
14137
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14153
14138
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14139
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14154
14140
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14155
14141
  }, z.core.$strip>;
14156
14142
  declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -14525,11 +14511,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14525
14511
  in: {};
14526
14512
  }>;
14527
14513
  declare const DataComponentBaseSchema: z.ZodObject<{
14528
- tenantId: z.ZodString;
14529
- projectId: z.ZodString;
14530
- id: z.ZodString;
14531
14514
  name: z.ZodString;
14532
14515
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14516
+ id: z.ZodString;
14517
+ tenantId: z.ZodString;
14518
+ projectId: z.ZodString;
14533
14519
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14534
14520
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
14535
14521
  component: string;
@@ -14621,9 +14607,9 @@ declare const DataComponentApiInsertSchema: z.ZodObject<OmitProjectScope<{
14621
14607
  id: z.ZodString;
14622
14608
  }>, z.core.$strip>;
14623
14609
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
14624
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14625
14610
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14626
14611
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14612
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14627
14613
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14628
14614
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14629
14615
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
@@ -15170,7 +15156,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15170
15156
  }, {}, {
15171
15157
  length: 256;
15172
15158
  }>;
15173
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15159
+ }, "id" | "createdAt" | "tenantId" | "projectId" | "subAgentId" | "agentId" | "dataComponentId">, undefined>, undefined>;
15174
15160
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15175
15161
  dataComponentId: z.ZodOptional<z.ZodString>;
15176
15162
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15193,8 +15179,8 @@ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
15193
15179
  id: z.ZodString;
15194
15180
  }>, z.core.$strip>;
15195
15181
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15196
- agentId: z.ZodString;
15197
15182
  subAgentId: z.ZodString;
15183
+ agentId: z.ZodString;
15198
15184
  dataComponentId: z.ZodString;
15199
15185
  }, {
15200
15186
  out: {};
@@ -15627,9 +15613,9 @@ declare const ArtifactComponentApiSelectSchema: z.ZodObject<OmitProjectScope<{
15627
15613
  id: z.ZodString;
15628
15614
  }>, z.core.$strip>;
15629
15615
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15630
- id: z.ZodString;
15631
15616
  name: z.ZodString;
15632
15617
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15618
+ id: z.ZodString;
15633
15619
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
15634
15620
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
15635
15621
  component: string;
@@ -15649,9 +15635,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15649
15635
  in: {};
15650
15636
  }>;
15651
15637
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15652
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15653
15638
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15654
15639
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15640
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15655
15641
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15656
15642
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15657
15643
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
@@ -15968,8 +15954,8 @@ declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<OmitAgentSco
15968
15954
  id: z.ZodString;
15969
15955
  }>, z.core.$strip>;
15970
15956
  declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
15971
- agentId: z.ZodString;
15972
15957
  subAgentId: z.ZodString;
15958
+ agentId: z.ZodString;
15973
15959
  artifactComponentId: z.ZodString;
15974
15960
  }, {
15975
15961
  out: {};
@@ -16046,21 +16032,31 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
16046
16032
  id: z.ZodString;
16047
16033
  }>, z.core.$strip>;
16048
16034
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16049
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16050
16035
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16051
16036
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16052
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16037
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16053
16038
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16054
16039
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16040
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16055
16041
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16056
16042
  }, z.core.$strip>;
16057
16043
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16058
- id: z.ZodString;
16059
16044
  name: z.ZodString;
16060
16045
  description: z.ZodNullable<z.ZodString>;
16061
- prompt: z.ZodNullable<z.ZodString>;
16046
+ id: z.ZodString;
16062
16047
  createdAt: z.ZodString;
16063
16048
  updatedAt: z.ZodString;
16049
+ stopWhen: z.ZodNullable<z.ZodType<{
16050
+ stepCountIs?: number | undefined;
16051
+ }, {
16052
+ stepCountIs?: number | undefined;
16053
+ }, z.core.$ZodTypeInternals<{
16054
+ stepCountIs?: number | undefined;
16055
+ }, {
16056
+ stepCountIs?: number | undefined;
16057
+ }>>>;
16058
+ prompt: z.ZodNullable<z.ZodString>;
16059
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16064
16060
  models: z.ZodNullable<z.ZodType<{
16065
16061
  base?: {
16066
16062
  model?: string | undefined;
@@ -16114,24 +16110,14 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16114
16110
  providerOptions?: Record<string, any> | undefined;
16115
16111
  } | undefined;
16116
16112
  }>>>;
16117
- stopWhen: z.ZodNullable<z.ZodType<{
16118
- stepCountIs?: number | undefined;
16119
- }, {
16120
- stepCountIs?: number | undefined;
16121
- }, z.core.$ZodTypeInternals<{
16122
- stepCountIs?: number | undefined;
16123
- }, {
16124
- stepCountIs?: number | undefined;
16125
- }>>>;
16126
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16127
16113
  type: z.ZodLiteral<"internal">;
16128
16114
  }, z.core.$strip>, z.ZodObject<{
16129
- id: z.ZodString;
16130
16115
  name: z.ZodString;
16131
16116
  description: z.ZodNullable<z.ZodString>;
16132
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16117
+ id: z.ZodString;
16133
16118
  createdAt: z.ZodString;
16134
16119
  updatedAt: z.ZodString;
16120
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16135
16121
  baseUrl: z.ZodString;
16136
16122
  type: z.ZodLiteral<"external">;
16137
16123
  }, z.core.$strip>], "type">;
@@ -16597,24 +16583,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
16597
16583
  }>;
16598
16584
  declare const ApiKeyUpdateSchema: z.ZodObject<{
16599
16585
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16586
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16587
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16600
16588
  agentId: z.ZodOptional<z.ZodString>;
16601
16589
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16602
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16603
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16604
16590
  }, {
16605
16591
  out: {};
16606
16592
  in: {};
16607
16593
  }>;
16608
16594
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16609
- id: z.ZodString;
16610
16595
  name: z.ZodNullable<z.ZodString>;
16596
+ id: z.ZodString;
16597
+ createdAt: z.ZodString;
16598
+ updatedAt: z.ZodString;
16599
+ expiresAt: z.ZodNullable<z.ZodString>;
16611
16600
  agentId: z.ZodString;
16612
16601
  publicId: z.ZodString;
16613
16602
  keyPrefix: z.ZodString;
16614
16603
  lastUsedAt: z.ZodNullable<z.ZodString>;
16615
- expiresAt: z.ZodNullable<z.ZodString>;
16616
- createdAt: z.ZodString;
16617
- updatedAt: z.ZodString;
16618
16604
  }, {
16619
16605
  out: {};
16620
16606
  in: {};
@@ -16622,15 +16608,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
16622
16608
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16623
16609
  data: z.ZodObject<{
16624
16610
  apiKey: z.ZodObject<{
16625
- id: z.ZodString;
16626
16611
  name: z.ZodNullable<z.ZodString>;
16612
+ id: z.ZodString;
16613
+ createdAt: z.ZodString;
16614
+ updatedAt: z.ZodString;
16615
+ expiresAt: z.ZodNullable<z.ZodString>;
16627
16616
  agentId: z.ZodString;
16628
16617
  publicId: z.ZodString;
16629
16618
  keyPrefix: z.ZodString;
16630
16619
  lastUsedAt: z.ZodNullable<z.ZodString>;
16631
- expiresAt: z.ZodNullable<z.ZodString>;
16632
- createdAt: z.ZodString;
16633
- updatedAt: z.ZodString;
16634
16620
  }, {
16635
16621
  out: {};
16636
16622
  in: {};
@@ -16640,20 +16626,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16640
16626
  }, z.core.$strip>;
16641
16627
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
16642
16628
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16643
- agentId: z.ZodString;
16644
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16645
16629
  createdAt: z.ZodOptional<z.ZodString>;
16646
16630
  updatedAt: z.ZodOptional<z.ZodString>;
16631
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16632
+ agentId: z.ZodString;
16647
16633
  }, {
16648
16634
  out: {};
16649
16635
  in: {};
16650
16636
  }>;
16651
16637
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
16652
16638
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16639
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16640
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16653
16641
  agentId: z.ZodOptional<z.ZodString>;
16654
16642
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16655
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16656
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16657
16643
  }, {
16658
16644
  out: {};
16659
16645
  in: {};
@@ -17144,13 +17130,13 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
17144
17130
  in: {};
17145
17131
  }>;
17146
17132
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17147
- id: z.ZodString;
17148
17133
  name: z.ZodString;
17134
+ id: z.ZodString;
17149
17135
  createdAt: z.ZodString;
17150
17136
  updatedAt: z.ZodString;
17137
+ userId: z.ZodNullable<z.ZodString>;
17151
17138
  credentialStoreId: z.ZodString;
17152
17139
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
17153
- userId: z.ZodNullable<z.ZodString>;
17154
17140
  toolId: z.ZodNullable<z.ZodString>;
17155
17141
  createdBy: z.ZodNullable<z.ZodString>;
17156
17142
  type: z.ZodEnum<{
@@ -17701,13 +17687,13 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17701
17687
  }>>>;
17702
17688
  }, z.core.$strip>;
17703
17689
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17704
- id: z.ZodString;
17705
17690
  name: z.ZodString;
17691
+ id: z.ZodString;
17706
17692
  createdAt: z.ZodOptional<z.ZodString>;
17707
17693
  updatedAt: z.ZodOptional<z.ZodString>;
17694
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17708
17695
  credentialStoreId: z.ZodString;
17709
17696
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17710
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17711
17697
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17712
17698
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17713
17699
  type: z.ZodEnum<{
@@ -17717,13 +17703,13 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17717
17703
  }>;
17718
17704
  }, z.core.$strip>;
17719
17705
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
17720
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17721
17706
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17707
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17722
17708
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17723
17709
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17710
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17724
17711
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17725
17712
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
17726
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17727
17713
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17728
17714
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17729
17715
  type: z.ZodOptional<z.ZodEnum<{
@@ -17846,12 +17832,11 @@ declare const McpToolSchema: z.ZodObject<{
17846
17832
  in: {};
17847
17833
  }>;
17848
17834
  declare const MCPToolConfigSchema: z.ZodObject<{
17849
- id: z.ZodString;
17850
17835
  name: z.ZodString;
17836
+ id: z.ZodString;
17851
17837
  expiresAt: z.ZodOptional<z.ZodString>;
17852
- createdBy: z.ZodOptional<z.ZodString>;
17853
17838
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17854
- relationshipId: z.ZodOptional<z.ZodString>;
17839
+ createdBy: z.ZodOptional<z.ZodString>;
17855
17840
  credentialScope: z.ZodOptional<z.ZodString>;
17856
17841
  imageUrl: z.ZodOptional<z.ZodString>;
17857
17842
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -17861,6 +17846,7 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17861
17846
  description: z.ZodOptional<z.ZodString>;
17862
17847
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17863
17848
  }, z.core.$strip>>>;
17849
+ relationshipId: z.ZodOptional<z.ZodString>;
17864
17850
  tenantId: z.ZodOptional<z.ZodString>;
17865
17851
  projectId: z.ZodOptional<z.ZodString>;
17866
17852
  description: z.ZodOptional<z.ZodString>;
@@ -17881,13 +17867,13 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17881
17867
  sessionId: z.ZodOptional<z.ZodString>;
17882
17868
  }, z.core.$strip>>;
17883
17869
  credential: z.ZodOptional<z.ZodObject<{
17884
- id: z.ZodString;
17885
17870
  name: z.ZodString;
17871
+ id: z.ZodString;
17886
17872
  createdAt: z.ZodOptional<z.ZodString>;
17887
17873
  updatedAt: z.ZodOptional<z.ZodString>;
17874
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17888
17875
  credentialStoreId: z.ZodString;
17889
17876
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17890
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17891
17877
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17892
17878
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17893
17879
  type: z.ZodEnum<{
@@ -18021,9 +18007,12 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
18021
18007
  }, z.core.$strip>;
18022
18008
  }>, z.core.$strip>;
18023
18009
  declare const ToolApiUpdateSchema: z.ZodObject<{
18024
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18025
18010
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18026
18011
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18012
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18013
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18014
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18015
+ 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>>>>>>>;
18027
18016
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
18028
18017
  type: z.ZodLiteral<"mcp">;
18029
18018
  mcp: z.ZodObject<{
@@ -18051,9 +18040,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18051
18040
  }, z.core.$strip>;
18052
18041
  }, z.core.$strip>>>;
18053
18042
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18054
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18055
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18056
- 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>>>>>>>;
18057
18043
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18058
18044
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18059
18045
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
@@ -18421,12 +18407,12 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
18421
18407
  in: {};
18422
18408
  }>;
18423
18409
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
18424
- id: z.ZodString;
18425
18410
  name: z.ZodString;
18426
18411
  description: z.ZodNullable<z.ZodString>;
18427
- agentId: z.ZodString;
18412
+ id: z.ZodString;
18428
18413
  createdAt: z.ZodString;
18429
18414
  updatedAt: z.ZodString;
18415
+ agentId: z.ZodString;
18430
18416
  functionId: z.ZodString;
18431
18417
  relationshipId: z.ZodOptional<z.ZodString>;
18432
18418
  }, z.core.$strip>;
@@ -18442,12 +18428,12 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
18442
18428
  id: z.ZodString;
18443
18429
  }>, z.core.$strip>;
18444
18430
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
18445
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18446
18431
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18447
18432
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18448
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18433
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18449
18434
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18450
18435
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18436
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18451
18437
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18452
18438
  }, z.core.$strip>;
18453
18439
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -18504,6 +18490,29 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
18504
18490
  }, {}, {
18505
18491
  length: 256;
18506
18492
  }>;
18493
+ toolPolicies: drizzle_orm_pg_core208.PgColumn<{
18494
+ name: "tool_policies";
18495
+ tableName: "sub_agent_function_tool_relations";
18496
+ dataType: "json";
18497
+ columnType: "PgJsonb";
18498
+ data: Record<string, {
18499
+ needsApproval?: boolean;
18500
+ }> | null;
18501
+ driverParam: unknown;
18502
+ notNull: false;
18503
+ hasDefault: false;
18504
+ isPrimaryKey: false;
18505
+ isAutoincrement: false;
18506
+ hasRuntimeDefault: false;
18507
+ enumValues: undefined;
18508
+ baseColumn: never;
18509
+ identity: undefined;
18510
+ generated: undefined;
18511
+ }, {}, {
18512
+ $type: Record<string, {
18513
+ needsApproval?: boolean;
18514
+ }> | null;
18515
+ }>;
18507
18516
  subAgentId: drizzle_orm_pg_core208.PgColumn<{
18508
18517
  name: "sub_agent_id";
18509
18518
  tableName: "sub_agent_function_tool_relations";
@@ -18653,6 +18662,29 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
18653
18662
  }, {}, {
18654
18663
  length: 256;
18655
18664
  }>;
18665
+ toolPolicies: drizzle_orm_pg_core208.PgColumn<{
18666
+ name: "tool_policies";
18667
+ tableName: "sub_agent_function_tool_relations";
18668
+ dataType: "json";
18669
+ columnType: "PgJsonb";
18670
+ data: Record<string, {
18671
+ needsApproval?: boolean;
18672
+ }> | null;
18673
+ driverParam: unknown;
18674
+ notNull: false;
18675
+ hasDefault: false;
18676
+ isPrimaryKey: false;
18677
+ isAutoincrement: false;
18678
+ hasRuntimeDefault: false;
18679
+ enumValues: undefined;
18680
+ baseColumn: never;
18681
+ identity: undefined;
18682
+ generated: undefined;
18683
+ }, {}, {
18684
+ $type: Record<string, {
18685
+ needsApproval?: boolean;
18686
+ }> | null;
18687
+ }>;
18656
18688
  subAgentId: drizzle_orm_pg_core208.PgColumn<{
18657
18689
  name: "sub_agent_id";
18658
18690
  tableName: "sub_agent_function_tool_relations";
@@ -18752,6 +18784,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
18752
18784
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
18753
18785
  createdAt: z.ZodOptional<z.ZodString>;
18754
18786
  updatedAt: z.ZodOptional<z.ZodString>;
18787
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
18755
18788
  agentId: z.ZodString;
18756
18789
  projectId: z.ZodString;
18757
18790
  tenantId: z.ZodString;
@@ -18766,6 +18799,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
18766
18799
  createdAt: z.ZodString;
18767
18800
  updatedAt: z.ZodString;
18768
18801
  functionToolId: z.ZodString;
18802
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
18769
18803
  subAgentId: z.ZodString;
18770
18804
  agentId: z.ZodString;
18771
18805
  projectId: z.ZodString;
@@ -18773,8 +18807,9 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
18773
18807
  id: z.ZodString;
18774
18808
  }>, z.core.$strip>;
18775
18809
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
18776
- functionToolId: z.ZodString;
18777
18810
  subAgentId: z.ZodString;
18811
+ functionToolId: z.ZodString;
18812
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
18778
18813
  }, {
18779
18814
  out: {};
18780
18815
  in: {};
@@ -19125,8 +19160,8 @@ declare const FunctionApiUpdateSchema: z.ZodObject<{
19125
19160
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19126
19161
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19127
19162
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
19128
- executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19129
19163
  dependencies: 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>>>>>>>;
19164
+ executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19130
19165
  }, z.core.$strip>;
19131
19166
  declare const FetchConfigSchema: z.ZodObject<{
19132
19167
  url: z.ZodString;
@@ -19168,13 +19203,13 @@ declare const FetchDefinitionSchema: z.ZodObject<{
19168
19203
  responseSchema: z.ZodOptional<z.ZodAny>;
19169
19204
  defaultValue: z.ZodOptional<z.ZodAny>;
19170
19205
  credential: z.ZodOptional<z.ZodObject<{
19171
- id: z.ZodString;
19172
19206
  name: z.ZodString;
19207
+ id: z.ZodString;
19173
19208
  createdAt: z.ZodOptional<z.ZodString>;
19174
19209
  updatedAt: z.ZodOptional<z.ZodString>;
19210
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19175
19211
  credentialStoreId: z.ZodString;
19176
19212
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19177
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19178
19213
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19179
19214
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19180
19215
  type: z.ZodEnum<{
@@ -19198,9 +19233,9 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
19198
19233
  in: {};
19199
19234
  }>;
19200
19235
  declare const ContextConfigInsertSchema: z.ZodObject<{
19236
+ id: z.ZodOptional<z.ZodString>;
19201
19237
  tenantId: z.ZodString;
19202
19238
  projectId: z.ZodString;
19203
- id: z.ZodOptional<z.ZodString>;
19204
19239
  agentId: z.ZodString;
19205
19240
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19206
19241
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
@@ -19209,9 +19244,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
19209
19244
  in: {};
19210
19245
  }>;
19211
19246
  declare const ContextConfigUpdateSchema: z.ZodObject<{
19247
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19212
19248
  tenantId: z.ZodOptional<z.ZodString>;
19213
19249
  projectId: z.ZodOptional<z.ZodString>;
19214
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19215
19250
  agentId: z.ZodOptional<z.ZodString>;
19216
19251
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19217
19252
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
@@ -19725,12 +19760,12 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
19725
19760
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19726
19761
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19727
19762
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19728
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19729
19763
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19764
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19765
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19730
19766
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
19731
19767
  needsApproval: z.ZodOptional<z.ZodBoolean>;
19732
19768
  }, z.core.$strip>>>>>>;
19733
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19734
19769
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19735
19770
  }, z.core.$strip>;
19736
19771
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -20120,8 +20155,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
20120
20155
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20121
20156
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20122
20157
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20123
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20124
20158
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20159
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20125
20160
  }, z.core.$strip>;
20126
20161
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
20127
20162
  createdAt: drizzle_orm_pg_core208.PgColumn<{
@@ -21854,7 +21889,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21854
21889
  }, {}, {
21855
21890
  length: 256;
21856
21891
  }>;
21857
- }, "type" | "tenantId" | "projectId" | "id" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "taskId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21892
+ }, "type" | "name" | "description" | "id" | "createdAt" | "updatedAt" | "metadata" | "tenantId" | "projectId" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21858
21893
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
21859
21894
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21860
21895
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -21920,14 +21955,14 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
21920
21955
  }>, z.core.$strip>;
21921
21956
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
21922
21957
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21923
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21924
21958
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21925
21959
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21960
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21926
21961
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21927
21962
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21928
21963
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21929
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21930
21964
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21965
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21931
21966
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21932
21967
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21933
21968
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
@@ -21999,11 +22034,21 @@ declare const TeamAgentSchema: z.ZodObject<{
21999
22034
  description: z.ZodString;
22000
22035
  }, z.core.$strip>;
22001
22036
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
22002
- id: z.ZodString;
22003
22037
  name: z.ZodString;
22004
22038
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22039
+ id: z.ZodString;
22005
22040
  createdAt: z.ZodOptional<z.ZodString>;
22006
22041
  updatedAt: z.ZodOptional<z.ZodString>;
22042
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22043
+ stepCountIs?: number | undefined;
22044
+ }, {
22045
+ stepCountIs?: number | undefined;
22046
+ }, z.core.$ZodTypeInternals<{
22047
+ stepCountIs?: number | undefined;
22048
+ }, {
22049
+ stepCountIs?: number | undefined;
22050
+ }>>>>;
22051
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22007
22052
  models: z.ZodOptional<z.ZodObject<{
22008
22053
  base: z.ZodOptional<z.ZodObject<{
22009
22054
  model: z.ZodOptional<z.ZodString>;
@@ -22018,16 +22063,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22018
22063
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22019
22064
  }, z.core.$strip>>;
22020
22065
  }, z.core.$strip>>;
22021
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22022
- stepCountIs?: number | undefined;
22023
- }, {
22024
- stepCountIs?: number | undefined;
22025
- }, z.core.$ZodTypeInternals<{
22026
- stepCountIs?: number | undefined;
22027
- }, {
22028
- stepCountIs?: number | undefined;
22029
- }>>>>;
22030
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22031
22066
  type: z.ZodLiteral<"internal">;
22032
22067
  canUse: z.ZodArray<z.ZodObject<{
22033
22068
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22061,11 +22096,21 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22061
22096
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22062
22097
  id: z.ZodString;
22063
22098
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22064
- id: z.ZodString;
22065
22099
  name: z.ZodString;
22066
22100
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22101
+ id: z.ZodString;
22067
22102
  createdAt: z.ZodOptional<z.ZodString>;
22068
22103
  updatedAt: z.ZodOptional<z.ZodString>;
22104
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22105
+ stepCountIs?: number | undefined;
22106
+ }, {
22107
+ stepCountIs?: number | undefined;
22108
+ }, z.core.$ZodTypeInternals<{
22109
+ stepCountIs?: number | undefined;
22110
+ }, {
22111
+ stepCountIs?: number | undefined;
22112
+ }>>>>;
22113
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22069
22114
  models: z.ZodOptional<z.ZodObject<{
22070
22115
  base: z.ZodOptional<z.ZodObject<{
22071
22116
  model: z.ZodOptional<z.ZodString>;
@@ -22080,16 +22125,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22080
22125
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22081
22126
  }, z.core.$strip>>;
22082
22127
  }, z.core.$strip>>;
22083
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22084
- stepCountIs?: number | undefined;
22085
- }, {
22086
- stepCountIs?: number | undefined;
22087
- }, z.core.$ZodTypeInternals<{
22088
- stepCountIs?: number | undefined;
22089
- }, {
22090
- stepCountIs?: number | undefined;
22091
- }>>>>;
22092
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22093
22128
  type: z.ZodLiteral<"internal">;
22094
22129
  canUse: z.ZodArray<z.ZodObject<{
22095
22130
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22198,23 +22233,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22198
22233
  createdAt: z.ZodOptional<z.ZodString>;
22199
22234
  updatedAt: z.ZodOptional<z.ZodString>;
22200
22235
  enabled: z.ZodOptional<z.ZodBoolean>;
22201
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22202
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
22203
- jmespath?: string;
22204
- objectTransformation?: Record<string, string>;
22205
- }, {
22206
- jmespath?: string;
22207
- objectTransformation?: Record<string, string>;
22208
- }, z.core.$ZodTypeInternals<{
22209
- jmespath?: string;
22210
- objectTransformation?: Record<string, string>;
22211
- }, {
22212
- jmespath?: string;
22213
- objectTransformation?: Record<string, string>;
22214
- }>>>>;
22236
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22237
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22215
22238
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22216
22239
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22217
- signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22240
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22241
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22218
22242
  id: z.ZodOptional<z.ZodString>;
22219
22243
  }, z.core.$strip>>>;
22220
22244
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -22316,10 +22340,14 @@ declare const ProjectSelectSchema: z.ZodObject<{
22316
22340
  in: {};
22317
22341
  }>;
22318
22342
  declare const ProjectInsertSchema: z.ZodObject<{
22319
- tenantId: z.ZodString;
22320
- id: z.ZodString;
22321
22343
  name: z.ZodString;
22322
22344
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22345
+ id: z.ZodString;
22346
+ tenantId: z.ZodString;
22347
+ stopWhen: z.ZodOptional<z.ZodObject<{
22348
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22349
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22350
+ }, z.core.$strip>>;
22323
22351
  models: z.ZodObject<{
22324
22352
  base: z.ZodObject<{
22325
22353
  model: z.ZodOptional<z.ZodString>;
@@ -22334,10 +22362,6 @@ declare const ProjectInsertSchema: z.ZodObject<{
22334
22362
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22335
22363
  }, z.core.$strip>>;
22336
22364
  }, z.core.$strip>;
22337
- stopWhen: z.ZodOptional<z.ZodObject<{
22338
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22339
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22340
- }, z.core.$strip>>;
22341
22365
  }, {
22342
22366
  out: {};
22343
22367
  in: {};
@@ -22345,6 +22369,10 @@ declare const ProjectInsertSchema: z.ZodObject<{
22345
22369
  declare const ProjectUpdateSchema: z.ZodObject<{
22346
22370
  name: z.ZodOptional<z.ZodString>;
22347
22371
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22372
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22373
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22374
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22375
+ }, z.core.$strip>>>;
22348
22376
  models: z.ZodOptional<z.ZodObject<{
22349
22377
  base: z.ZodObject<{
22350
22378
  model: z.ZodOptional<z.ZodString>;
@@ -22359,20 +22387,20 @@ declare const ProjectUpdateSchema: z.ZodObject<{
22359
22387
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22360
22388
  }, z.core.$strip>>;
22361
22389
  }, z.core.$strip>>;
22362
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22363
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22364
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22365
- }, z.core.$strip>>>;
22366
22390
  }, {
22367
22391
  out: {};
22368
22392
  in: {};
22369
22393
  }>;
22370
22394
  declare const ProjectApiSelectSchema: z.ZodObject<{
22371
- id: z.ZodString;
22372
22395
  name: z.ZodString;
22373
22396
  description: z.ZodNullable<z.ZodString>;
22397
+ id: z.ZodString;
22374
22398
  createdAt: z.ZodString;
22375
22399
  updatedAt: z.ZodString;
22400
+ stopWhen: z.ZodNullable<z.ZodObject<{
22401
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22402
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22403
+ }, z.core.$strip>>;
22376
22404
  models: z.ZodNullable<z.ZodObject<{
22377
22405
  base: z.ZodObject<{
22378
22406
  model: z.ZodOptional<z.ZodString>;
@@ -22387,18 +22415,18 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
22387
22415
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22388
22416
  }, z.core.$strip>>;
22389
22417
  }, z.core.$strip>>;
22390
- stopWhen: z.ZodNullable<z.ZodObject<{
22391
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22392
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22393
- }, z.core.$strip>>;
22394
22418
  }, {
22395
22419
  out: {};
22396
22420
  in: {};
22397
22421
  }>;
22398
22422
  declare const ProjectApiInsertSchema: z.ZodObject<{
22399
- id: z.ZodString;
22400
22423
  name: z.ZodString;
22401
22424
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22425
+ id: z.ZodString;
22426
+ stopWhen: z.ZodOptional<z.ZodObject<{
22427
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22428
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22429
+ }, z.core.$strip>>;
22402
22430
  models: z.ZodObject<{
22403
22431
  base: z.ZodObject<{
22404
22432
  model: z.ZodOptional<z.ZodString>;
@@ -22413,10 +22441,6 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
22413
22441
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22414
22442
  }, z.core.$strip>>;
22415
22443
  }, z.core.$strip>;
22416
- stopWhen: z.ZodOptional<z.ZodObject<{
22417
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22418
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22419
- }, z.core.$strip>>;
22420
22444
  }, {
22421
22445
  out: {};
22422
22446
  in: {};
@@ -22424,6 +22448,10 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
22424
22448
  declare const ProjectApiUpdateSchema: z.ZodObject<{
22425
22449
  name: z.ZodOptional<z.ZodString>;
22426
22450
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22451
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22452
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22453
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22454
+ }, z.core.$strip>>>;
22427
22455
  models: z.ZodOptional<z.ZodObject<{
22428
22456
  base: z.ZodObject<{
22429
22457
  model: z.ZodOptional<z.ZodString>;
@@ -22438,18 +22466,18 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
22438
22466
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22439
22467
  }, z.core.$strip>>;
22440
22468
  }, z.core.$strip>>;
22441
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22442
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22443
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22444
- }, z.core.$strip>>>;
22445
22469
  }, {
22446
22470
  out: {};
22447
22471
  in: {};
22448
22472
  }>;
22449
22473
  declare const FullProjectDefinitionSchema: z.ZodObject<{
22450
- id: z.ZodString;
22451
22474
  name: z.ZodString;
22452
22475
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22476
+ id: z.ZodString;
22477
+ stopWhen: z.ZodOptional<z.ZodObject<{
22478
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22479
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22480
+ }, z.core.$strip>>;
22453
22481
  models: z.ZodObject<{
22454
22482
  base: z.ZodObject<{
22455
22483
  model: z.ZodOptional<z.ZodString>;
@@ -22464,10 +22492,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22464
22492
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22465
22493
  }, z.core.$strip>>;
22466
22494
  }, z.core.$strip>;
22467
- stopWhen: z.ZodOptional<z.ZodObject<{
22468
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22469
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22470
- }, z.core.$strip>>;
22471
22495
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
22472
22496
  name: z.ZodString;
22473
22497
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -22477,11 +22501,21 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22477
22501
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22478
22502
  id: z.ZodString;
22479
22503
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22480
- id: z.ZodString;
22481
22504
  name: z.ZodString;
22482
22505
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22506
+ id: z.ZodString;
22483
22507
  createdAt: z.ZodOptional<z.ZodString>;
22484
22508
  updatedAt: z.ZodOptional<z.ZodString>;
22509
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22510
+ stepCountIs?: number | undefined;
22511
+ }, {
22512
+ stepCountIs?: number | undefined;
22513
+ }, z.core.$ZodTypeInternals<{
22514
+ stepCountIs?: number | undefined;
22515
+ }, {
22516
+ stepCountIs?: number | undefined;
22517
+ }>>>>;
22518
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22485
22519
  models: z.ZodOptional<z.ZodObject<{
22486
22520
  base: z.ZodOptional<z.ZodObject<{
22487
22521
  model: z.ZodOptional<z.ZodString>;
@@ -22496,16 +22530,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22496
22530
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22497
22531
  }, z.core.$strip>>;
22498
22532
  }, z.core.$strip>>;
22499
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22500
- stepCountIs?: number | undefined;
22501
- }, {
22502
- stepCountIs?: number | undefined;
22503
- }, z.core.$ZodTypeInternals<{
22504
- stepCountIs?: number | undefined;
22505
- }, {
22506
- stepCountIs?: number | undefined;
22507
- }>>>>;
22508
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22509
22533
  type: z.ZodLiteral<"internal">;
22510
22534
  canUse: z.ZodArray<z.ZodObject<{
22511
22535
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22614,23 +22638,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22614
22638
  createdAt: z.ZodOptional<z.ZodString>;
22615
22639
  updatedAt: z.ZodOptional<z.ZodString>;
22616
22640
  enabled: z.ZodOptional<z.ZodBoolean>;
22617
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22618
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
22619
- jmespath?: string;
22620
- objectTransformation?: Record<string, string>;
22621
- }, {
22622
- jmespath?: string;
22623
- objectTransformation?: Record<string, string>;
22624
- }, z.core.$ZodTypeInternals<{
22625
- jmespath?: string;
22626
- objectTransformation?: Record<string, string>;
22627
- }, {
22628
- jmespath?: string;
22629
- objectTransformation?: Record<string, string>;
22630
- }>>>>;
22641
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22642
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22631
22643
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22632
22644
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22633
- signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22645
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22646
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22634
22647
  id: z.ZodOptional<z.ZodString>;
22635
22648
  }, z.core.$strip>>>;
22636
22649
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -22758,9 +22771,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22758
22771
  id: z.ZodString;
22759
22772
  }>, z.core.$strip>>>;
22760
22773
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22761
- id: z.ZodString;
22762
22774
  name: z.ZodString;
22763
22775
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22776
+ id: z.ZodString;
22764
22777
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22765
22778
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
22766
22779
  component: string;
@@ -22806,13 +22819,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22806
22819
  }, z.core.$strip>>>;
22807
22820
  }, z.core.$strip>>;
22808
22821
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22809
- id: z.ZodString;
22810
22822
  name: z.ZodString;
22823
+ id: z.ZodString;
22811
22824
  createdAt: z.ZodOptional<z.ZodString>;
22812
22825
  updatedAt: z.ZodOptional<z.ZodString>;
22826
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22813
22827
  credentialStoreId: z.ZodString;
22814
22828
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22815
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22816
22829
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22817
22830
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22818
22831
  type: z.ZodEnum<{
@@ -22828,11 +22841,21 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22828
22841
  in: {};
22829
22842
  }>;
22830
22843
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22831
- id: z.ZodString;
22832
22844
  name: z.ZodString;
22833
22845
  description: z.ZodNullable<z.ZodString>;
22846
+ id: z.ZodString;
22834
22847
  createdAt: z.ZodString;
22835
22848
  updatedAt: z.ZodString;
22849
+ stopWhen: z.ZodNullable<z.ZodType<{
22850
+ stepCountIs?: number | undefined;
22851
+ }, {
22852
+ stepCountIs?: number | undefined;
22853
+ }, z.core.$ZodTypeInternals<{
22854
+ stepCountIs?: number | undefined;
22855
+ }, {
22856
+ stepCountIs?: number | undefined;
22857
+ }>>>;
22858
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22836
22859
  models: z.ZodNullable<z.ZodType<{
22837
22860
  base?: {
22838
22861
  model?: string | undefined;
@@ -22886,16 +22909,6 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22886
22909
  providerOptions?: Record<string, any> | undefined;
22887
22910
  } | undefined;
22888
22911
  }>>>;
22889
- stopWhen: z.ZodNullable<z.ZodType<{
22890
- stepCountIs?: number | undefined;
22891
- }, {
22892
- stepCountIs?: number | undefined;
22893
- }, z.core.$ZodTypeInternals<{
22894
- stepCountIs?: number | undefined;
22895
- }, {
22896
- stepCountIs?: number | undefined;
22897
- }>>>;
22898
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22899
22912
  type: z.ZodLiteral<"internal">;
22900
22913
  canUse: z.ZodArray<z.ZodObject<{
22901
22914
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22921,11 +22934,21 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22921
22934
  }, z.core.$strip>]>>>;
22922
22935
  }, z.core.$strip>;
22923
22936
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
22924
- id: z.ZodString;
22925
22937
  name: z.ZodString;
22926
22938
  description: z.ZodNullable<z.ZodString>;
22939
+ id: z.ZodString;
22927
22940
  createdAt: z.ZodString;
22928
22941
  updatedAt: z.ZodString;
22942
+ stopWhen: z.ZodNullable<z.ZodType<{
22943
+ stepCountIs?: number | undefined;
22944
+ }, {
22945
+ stepCountIs?: number | undefined;
22946
+ }, z.core.$ZodTypeInternals<{
22947
+ stepCountIs?: number | undefined;
22948
+ }, {
22949
+ stepCountIs?: number | undefined;
22950
+ }>>>;
22951
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22929
22952
  models: z.ZodNullable<z.ZodType<{
22930
22953
  base?: {
22931
22954
  model?: string | undefined;
@@ -22979,16 +23002,6 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
22979
23002
  providerOptions?: Record<string, any> | undefined;
22980
23003
  } | undefined;
22981
23004
  }>>>;
22982
- stopWhen: z.ZodNullable<z.ZodType<{
22983
- stepCountIs?: number | undefined;
22984
- }, {
22985
- stepCountIs?: number | undefined;
22986
- }, z.core.$ZodTypeInternals<{
22987
- stepCountIs?: number | undefined;
22988
- }, {
22989
- stepCountIs?: number | undefined;
22990
- }>>>;
22991
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22992
23005
  type: z.ZodLiteral<"internal">;
22993
23006
  canUse: z.ZodArray<z.ZodObject<{
22994
23007
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23020,19 +23033,29 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23020
23033
  }, z.core.$strip>]>>>;
23021
23034
  }, z.core.$strip>;
23022
23035
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23023
- id: z.ZodString;
23024
23036
  name: z.ZodString;
23025
23037
  description: z.ZodNullable<z.ZodString>;
23038
+ id: z.ZodString;
23026
23039
  createdAt: z.ZodString;
23027
23040
  updatedAt: z.ZodString;
23028
23041
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23029
23042
  contextConfigId: z.ZodNullable<z.ZodString>;
23030
23043
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23031
- id: z.ZodString;
23032
23044
  name: z.ZodString;
23033
23045
  description: z.ZodNullable<z.ZodString>;
23046
+ id: z.ZodString;
23034
23047
  createdAt: z.ZodString;
23035
23048
  updatedAt: z.ZodString;
23049
+ stopWhen: z.ZodNullable<z.ZodType<{
23050
+ stepCountIs?: number | undefined;
23051
+ }, {
23052
+ stepCountIs?: number | undefined;
23053
+ }, z.core.$ZodTypeInternals<{
23054
+ stepCountIs?: number | undefined;
23055
+ }, {
23056
+ stepCountIs?: number | undefined;
23057
+ }>>>;
23058
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23036
23059
  models: z.ZodNullable<z.ZodType<{
23037
23060
  base?: {
23038
23061
  model?: string | undefined;
@@ -23086,16 +23109,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23086
23109
  providerOptions?: Record<string, any> | undefined;
23087
23110
  } | undefined;
23088
23111
  }>>>;
23089
- stopWhen: z.ZodNullable<z.ZodType<{
23090
- stepCountIs?: number | undefined;
23091
- }, {
23092
- stepCountIs?: number | undefined;
23093
- }, z.core.$ZodTypeInternals<{
23094
- stepCountIs?: number | undefined;
23095
- }, {
23096
- stepCountIs?: number | undefined;
23097
- }>>>;
23098
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23099
23112
  type: z.ZodLiteral<"internal">;
23100
23113
  canUse: z.ZodArray<z.ZodObject<{
23101
23114
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23165,12 +23178,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23165
23178
  description: z.ZodString;
23166
23179
  }, z.core.$strip>>>;
23167
23180
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23168
- id: z.ZodString;
23169
23181
  name: z.ZodString;
23170
23182
  description: z.ZodNullable<z.ZodString>;
23171
- agentId: z.ZodString;
23183
+ id: z.ZodString;
23172
23184
  createdAt: z.ZodString;
23173
23185
  updatedAt: z.ZodString;
23186
+ agentId: z.ZodString;
23174
23187
  functionId: z.ZodString;
23175
23188
  relationshipId: z.ZodOptional<z.ZodString>;
23176
23189
  }, z.core.$strip>>>;
@@ -23226,9 +23239,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23226
23239
  prompt: z.ZodNullable<z.ZodString>;
23227
23240
  }, z.core.$strip>;
23228
23241
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
23229
- id: z.ZodString;
23230
23242
  name: z.ZodString;
23231
23243
  description: z.ZodNullable<z.ZodString>;
23244
+ id: z.ZodString;
23232
23245
  createdAt: z.ZodString;
23233
23246
  updatedAt: z.ZodString;
23234
23247
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
@@ -23278,12 +23291,12 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23278
23291
  description: z.ZodString;
23279
23292
  }, z.core.$strip>>>;
23280
23293
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23281
- id: z.ZodString;
23282
23294
  name: z.ZodString;
23283
23295
  description: z.ZodNullable<z.ZodString>;
23284
- agentId: z.ZodString;
23296
+ id: z.ZodString;
23285
23297
  createdAt: z.ZodString;
23286
23298
  updatedAt: z.ZodString;
23299
+ agentId: z.ZodString;
23287
23300
  functionId: z.ZodString;
23288
23301
  relationshipId: z.ZodOptional<z.ZodString>;
23289
23302
  }, z.core.$strip>>>;
@@ -23338,11 +23351,21 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23338
23351
  }, z.core.$strip>>;
23339
23352
  prompt: z.ZodNullable<z.ZodString>;
23340
23353
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23341
- id: z.ZodString;
23342
23354
  name: z.ZodString;
23343
23355
  description: z.ZodNullable<z.ZodString>;
23356
+ id: z.ZodString;
23344
23357
  createdAt: z.ZodString;
23345
23358
  updatedAt: z.ZodString;
23359
+ stopWhen: z.ZodNullable<z.ZodType<{
23360
+ stepCountIs?: number | undefined;
23361
+ }, {
23362
+ stepCountIs?: number | undefined;
23363
+ }, z.core.$ZodTypeInternals<{
23364
+ stepCountIs?: number | undefined;
23365
+ }, {
23366
+ stepCountIs?: number | undefined;
23367
+ }>>>;
23368
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23346
23369
  models: z.ZodNullable<z.ZodType<{
23347
23370
  base?: {
23348
23371
  model?: string | undefined;
@@ -23396,16 +23419,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23396
23419
  providerOptions?: Record<string, any> | undefined;
23397
23420
  } | undefined;
23398
23421
  }>>>;
23399
- stopWhen: z.ZodNullable<z.ZodType<{
23400
- stepCountIs?: number | undefined;
23401
- }, {
23402
- stepCountIs?: number | undefined;
23403
- }, z.core.$ZodTypeInternals<{
23404
- stepCountIs?: number | undefined;
23405
- }, {
23406
- stepCountIs?: number | undefined;
23407
- }>>>;
23408
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23409
23422
  type: z.ZodLiteral<"internal">;
23410
23423
  canUse: z.ZodArray<z.ZodObject<{
23411
23424
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23438,11 +23451,15 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23438
23451
  }, z.core.$strip>>;
23439
23452
  }, z.core.$strip>;
23440
23453
  declare const FullProjectSelectSchema: z.ZodObject<{
23441
- id: z.ZodString;
23442
23454
  name: z.ZodString;
23443
23455
  description: z.ZodNullable<z.ZodString>;
23456
+ id: z.ZodString;
23444
23457
  createdAt: z.ZodString;
23445
23458
  updatedAt: z.ZodString;
23459
+ stopWhen: z.ZodNullable<z.ZodObject<{
23460
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
23461
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
23462
+ }, z.core.$strip>>;
23446
23463
  models: z.ZodNullable<z.ZodObject<{
23447
23464
  base: z.ZodObject<{
23448
23465
  model: z.ZodOptional<z.ZodString>;
@@ -23457,24 +23474,30 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23457
23474
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
23458
23475
  }, z.core.$strip>>;
23459
23476
  }, z.core.$strip>>;
23460
- stopWhen: z.ZodNullable<z.ZodObject<{
23461
- transferCountIs: z.ZodOptional<z.ZodNumber>;
23462
- stepCountIs: z.ZodOptional<z.ZodNumber>;
23463
- }, z.core.$strip>>;
23464
23477
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
23465
- id: z.ZodString;
23466
23478
  name: z.ZodString;
23467
23479
  description: z.ZodNullable<z.ZodString>;
23480
+ id: z.ZodString;
23468
23481
  createdAt: z.ZodString;
23469
23482
  updatedAt: z.ZodString;
23470
23483
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23471
23484
  contextConfigId: z.ZodNullable<z.ZodString>;
23472
23485
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23473
- id: z.ZodString;
23474
23486
  name: z.ZodString;
23475
23487
  description: z.ZodNullable<z.ZodString>;
23488
+ id: z.ZodString;
23476
23489
  createdAt: z.ZodString;
23477
23490
  updatedAt: z.ZodString;
23491
+ stopWhen: z.ZodNullable<z.ZodType<{
23492
+ stepCountIs?: number | undefined;
23493
+ }, {
23494
+ stepCountIs?: number | undefined;
23495
+ }, z.core.$ZodTypeInternals<{
23496
+ stepCountIs?: number | undefined;
23497
+ }, {
23498
+ stepCountIs?: number | undefined;
23499
+ }>>>;
23500
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23478
23501
  models: z.ZodNullable<z.ZodType<{
23479
23502
  base?: {
23480
23503
  model?: string | undefined;
@@ -23528,16 +23551,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23528
23551
  providerOptions?: Record<string, any> | undefined;
23529
23552
  } | undefined;
23530
23553
  }>>>;
23531
- stopWhen: z.ZodNullable<z.ZodType<{
23532
- stepCountIs?: number | undefined;
23533
- }, {
23534
- stepCountIs?: number | undefined;
23535
- }, z.core.$ZodTypeInternals<{
23536
- stepCountIs?: number | undefined;
23537
- }, {
23538
- stepCountIs?: number | undefined;
23539
- }>>>;
23540
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23541
23554
  type: z.ZodLiteral<"internal">;
23542
23555
  canUse: z.ZodArray<z.ZodObject<{
23543
23556
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23607,12 +23620,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23607
23620
  description: z.ZodString;
23608
23621
  }, z.core.$strip>>>;
23609
23622
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23610
- id: z.ZodString;
23611
23623
  name: z.ZodString;
23612
23624
  description: z.ZodNullable<z.ZodString>;
23613
- agentId: z.ZodString;
23625
+ id: z.ZodString;
23614
23626
  createdAt: z.ZodString;
23615
23627
  updatedAt: z.ZodString;
23628
+ agentId: z.ZodString;
23616
23629
  functionId: z.ZodString;
23617
23630
  relationshipId: z.ZodOptional<z.ZodString>;
23618
23631
  }, z.core.$strip>>>;
@@ -23696,12 +23709,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23696
23709
  id: z.ZodString;
23697
23710
  }>, z.core.$strip>>;
23698
23711
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23699
- id: z.ZodString;
23700
23712
  name: z.ZodString;
23701
23713
  description: z.ZodNullable<z.ZodString>;
23702
- agentId: z.ZodString;
23714
+ id: z.ZodString;
23703
23715
  createdAt: z.ZodString;
23704
23716
  updatedAt: z.ZodString;
23717
+ agentId: z.ZodString;
23705
23718
  functionId: z.ZodString;
23706
23719
  relationshipId: z.ZodOptional<z.ZodString>;
23707
23720
  }, z.core.$strip>>>;
@@ -23788,13 +23801,13 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23788
23801
  }, z.core.$strip>>>;
23789
23802
  }, z.core.$strip>>;
23790
23803
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23791
- id: z.ZodString;
23792
23804
  name: z.ZodString;
23805
+ id: z.ZodString;
23793
23806
  createdAt: z.ZodString;
23794
23807
  updatedAt: z.ZodString;
23808
+ userId: z.ZodNullable<z.ZodString>;
23795
23809
  credentialStoreId: z.ZodString;
23796
23810
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
23797
- userId: z.ZodNullable<z.ZodString>;
23798
23811
  toolId: z.ZodNullable<z.ZodString>;
23799
23812
  createdBy: z.ZodNullable<z.ZodString>;
23800
23813
  type: z.ZodEnum<{
@@ -24349,11 +24362,15 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24349
24362
  in: {};
24350
24363
  }>;
24351
24364
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24352
- id: z.ZodString;
24353
24365
  name: z.ZodString;
24354
24366
  description: z.ZodNullable<z.ZodString>;
24367
+ id: z.ZodString;
24355
24368
  createdAt: z.ZodString;
24356
24369
  updatedAt: z.ZodString;
24370
+ stopWhen: z.ZodNullable<z.ZodObject<{
24371
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
24372
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
24373
+ }, z.core.$strip>>;
24357
24374
  models: z.ZodNullable<z.ZodObject<{
24358
24375
  base: z.ZodObject<{
24359
24376
  model: z.ZodOptional<z.ZodString>;
@@ -24368,10 +24385,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24368
24385
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24369
24386
  }, z.core.$strip>>;
24370
24387
  }, z.core.$strip>>;
24371
- stopWhen: z.ZodNullable<z.ZodObject<{
24372
- transferCountIs: z.ZodOptional<z.ZodNumber>;
24373
- stepCountIs: z.ZodOptional<z.ZodNumber>;
24374
- }, z.core.$strip>>;
24375
24388
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24376
24389
  createdAt: z.ZodString;
24377
24390
  updatedAt: z.ZodString;
@@ -24401,12 +24414,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24401
24414
  id: z.ZodString;
24402
24415
  }>, z.core.$strip>>;
24403
24416
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24404
- id: z.ZodString;
24405
24417
  name: z.ZodString;
24406
24418
  description: z.ZodNullable<z.ZodString>;
24407
- agentId: z.ZodString;
24419
+ id: z.ZodString;
24408
24420
  createdAt: z.ZodString;
24409
24421
  updatedAt: z.ZodString;
24422
+ agentId: z.ZodString;
24410
24423
  functionId: z.ZodString;
24411
24424
  relationshipId: z.ZodOptional<z.ZodString>;
24412
24425
  }, z.core.$strip>>>;
@@ -24493,13 +24506,13 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24493
24506
  }, z.core.$strip>>>;
24494
24507
  }, z.core.$strip>>;
24495
24508
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24496
- id: z.ZodString;
24497
24509
  name: z.ZodString;
24510
+ id: z.ZodString;
24498
24511
  createdAt: z.ZodString;
24499
24512
  updatedAt: z.ZodString;
24513
+ userId: z.ZodNullable<z.ZodString>;
24500
24514
  credentialStoreId: z.ZodString;
24501
24515
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
24502
- userId: z.ZodNullable<z.ZodString>;
24503
24516
  toolId: z.ZodNullable<z.ZodString>;
24504
24517
  createdBy: z.ZodNullable<z.ZodString>;
24505
24518
  type: z.ZodEnum<{
@@ -25050,9 +25063,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25050
25063
  }>>>;
25051
25064
  }, z.core.$strip>>>;
25052
25065
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25053
- id: z.ZodString;
25054
25066
  name: z.ZodString;
25055
25067
  description: z.ZodNullable<z.ZodString>;
25068
+ id: z.ZodString;
25056
25069
  createdAt: z.ZodString;
25057
25070
  updatedAt: z.ZodString;
25058
25071
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
@@ -25102,12 +25115,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25102
25115
  description: z.ZodString;
25103
25116
  }, z.core.$strip>>>;
25104
25117
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25105
- id: z.ZodString;
25106
25118
  name: z.ZodString;
25107
25119
  description: z.ZodNullable<z.ZodString>;
25108
- agentId: z.ZodString;
25120
+ id: z.ZodString;
25109
25121
  createdAt: z.ZodString;
25110
25122
  updatedAt: z.ZodString;
25123
+ agentId: z.ZodString;
25111
25124
  functionId: z.ZodString;
25112
25125
  relationshipId: z.ZodOptional<z.ZodString>;
25113
25126
  }, z.core.$strip>>>;
@@ -25162,11 +25175,21 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25162
25175
  }, z.core.$strip>>;
25163
25176
  prompt: z.ZodNullable<z.ZodString>;
25164
25177
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25165
- id: z.ZodString;
25166
25178
  name: z.ZodString;
25167
25179
  description: z.ZodNullable<z.ZodString>;
25180
+ id: z.ZodString;
25168
25181
  createdAt: z.ZodString;
25169
25182
  updatedAt: z.ZodString;
25183
+ stopWhen: z.ZodNullable<z.ZodType<{
25184
+ stepCountIs?: number | undefined;
25185
+ }, {
25186
+ stepCountIs?: number | undefined;
25187
+ }, z.core.$ZodTypeInternals<{
25188
+ stepCountIs?: number | undefined;
25189
+ }, {
25190
+ stepCountIs?: number | undefined;
25191
+ }>>>;
25192
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25170
25193
  models: z.ZodNullable<z.ZodType<{
25171
25194
  base?: {
25172
25195
  model?: string | undefined;
@@ -25220,16 +25243,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25220
25243
  providerOptions?: Record<string, any> | undefined;
25221
25244
  } | undefined;
25222
25245
  }>>>;
25223
- stopWhen: z.ZodNullable<z.ZodType<{
25224
- stepCountIs?: number | undefined;
25225
- }, {
25226
- stepCountIs?: number | undefined;
25227
- }, z.core.$ZodTypeInternals<{
25228
- stepCountIs?: number | undefined;
25229
- }, {
25230
- stepCountIs?: number | undefined;
25231
- }>>>;
25232
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25233
25246
  type: z.ZodLiteral<"internal">;
25234
25247
  canUse: z.ZodArray<z.ZodObject<{
25235
25248
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25267,11 +25280,15 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25267
25280
  }>;
25268
25281
  declare const ProjectResponse: z.ZodObject<{
25269
25282
  data: z.ZodObject<{
25270
- id: z.ZodString;
25271
25283
  name: z.ZodString;
25272
25284
  description: z.ZodNullable<z.ZodString>;
25285
+ id: z.ZodString;
25273
25286
  createdAt: z.ZodString;
25274
25287
  updatedAt: z.ZodString;
25288
+ stopWhen: z.ZodNullable<z.ZodObject<{
25289
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25290
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25291
+ }, z.core.$strip>>;
25275
25292
  models: z.ZodNullable<z.ZodObject<{
25276
25293
  base: z.ZodObject<{
25277
25294
  model: z.ZodOptional<z.ZodString>;
@@ -25286,10 +25303,6 @@ declare const ProjectResponse: z.ZodObject<{
25286
25303
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25287
25304
  }, z.core.$strip>>;
25288
25305
  }, z.core.$strip>>;
25289
- stopWhen: z.ZodNullable<z.ZodObject<{
25290
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25291
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25292
- }, z.core.$strip>>;
25293
25306
  }, {
25294
25307
  out: {};
25295
25308
  in: {};
@@ -25558,15 +25571,15 @@ declare const ContextConfigResponse: z.ZodObject<{
25558
25571
  }, z.core.$strip>;
25559
25572
  declare const ApiKeyResponse: z.ZodObject<{
25560
25573
  data: z.ZodObject<{
25561
- id: z.ZodString;
25562
25574
  name: z.ZodNullable<z.ZodString>;
25575
+ id: z.ZodString;
25576
+ createdAt: z.ZodString;
25577
+ updatedAt: z.ZodString;
25578
+ expiresAt: z.ZodNullable<z.ZodString>;
25563
25579
  agentId: z.ZodString;
25564
25580
  publicId: z.ZodString;
25565
25581
  keyPrefix: z.ZodString;
25566
25582
  lastUsedAt: z.ZodNullable<z.ZodString>;
25567
- expiresAt: z.ZodNullable<z.ZodString>;
25568
- createdAt: z.ZodString;
25569
- updatedAt: z.ZodString;
25570
25583
  }, {
25571
25584
  out: {};
25572
25585
  in: {};
@@ -25574,13 +25587,13 @@ declare const ApiKeyResponse: z.ZodObject<{
25574
25587
  }, z.core.$strip>;
25575
25588
  declare const CredentialReferenceResponse: z.ZodObject<{
25576
25589
  data: z.ZodObject<{
25577
- id: z.ZodString;
25578
25590
  name: z.ZodString;
25591
+ id: z.ZodString;
25579
25592
  createdAt: z.ZodString;
25580
25593
  updatedAt: z.ZodString;
25594
+ userId: z.ZodNullable<z.ZodString>;
25581
25595
  credentialStoreId: z.ZodString;
25582
25596
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25583
- userId: z.ZodNullable<z.ZodString>;
25584
25597
  toolId: z.ZodNullable<z.ZodString>;
25585
25598
  createdBy: z.ZodNullable<z.ZodString>;
25586
25599
  type: z.ZodEnum<{
@@ -26145,12 +26158,12 @@ declare const FunctionResponse: z.ZodObject<{
26145
26158
  }, z.core.$strip>;
26146
26159
  declare const FunctionToolResponse: z.ZodObject<{
26147
26160
  data: z.ZodObject<{
26148
- id: z.ZodString;
26149
26161
  name: z.ZodString;
26150
26162
  description: z.ZodNullable<z.ZodString>;
26151
- agentId: z.ZodString;
26163
+ id: z.ZodString;
26152
26164
  createdAt: z.ZodString;
26153
26165
  updatedAt: z.ZodString;
26166
+ agentId: z.ZodString;
26154
26167
  functionId: z.ZodString;
26155
26168
  relationshipId: z.ZodOptional<z.ZodString>;
26156
26169
  }, z.core.$strip>;
@@ -26160,6 +26173,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
26160
26173
  createdAt: z.ZodString;
26161
26174
  updatedAt: z.ZodString;
26162
26175
  functionToolId: z.ZodString;
26176
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26163
26177
  subAgentId: z.ZodString;
26164
26178
  agentId: z.ZodString;
26165
26179
  projectId: z.ZodString;
@@ -26253,19 +26267,19 @@ declare const ConversationResponse: z.ZodObject<{
26253
26267
  agentId: z.ZodNullable<z.ZodString>;
26254
26268
  activeSubAgentId: z.ZodString;
26255
26269
  ref: z.ZodNullable<z.ZodType<{
26256
- type: "tag" | "commit" | "branch";
26270
+ type: "commit" | "tag" | "branch";
26257
26271
  name: string;
26258
26272
  hash: string;
26259
26273
  }, {
26260
- type: "tag" | "commit" | "branch";
26274
+ type: "commit" | "tag" | "branch";
26261
26275
  name: string;
26262
26276
  hash: string;
26263
26277
  }, z.core.$ZodTypeInternals<{
26264
- type: "tag" | "commit" | "branch";
26278
+ type: "commit" | "tag" | "branch";
26265
26279
  name: string;
26266
26280
  hash: string;
26267
26281
  }, {
26268
- type: "tag" | "commit" | "branch";
26282
+ type: "commit" | "tag" | "branch";
26269
26283
  name: string;
26270
26284
  hash: string;
26271
26285
  }>>>;
@@ -26307,29 +26321,62 @@ declare const TriggerResponse: z.ZodObject<{
26307
26321
  createdAt: z.ZodString;
26308
26322
  updatedAt: z.ZodString;
26309
26323
  enabled: z.ZodBoolean;
26310
- inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26311
- outputTransform: z.ZodNullable<z.ZodType<{
26312
- jmespath?: string;
26313
- objectTransformation?: Record<string, string>;
26314
- }, {
26315
- jmespath?: string;
26316
- objectTransformation?: Record<string, string>;
26317
- }, z.core.$ZodTypeInternals<{
26318
- jmespath?: string;
26319
- objectTransformation?: Record<string, string>;
26320
- }, {
26321
- jmespath?: string;
26322
- objectTransformation?: Record<string, string>;
26323
- }>>>;
26324
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26325
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26324
26326
  messageTemplate: z.ZodNullable<z.ZodString>;
26325
26327
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26326
- signingSecret: z.ZodNullable<z.ZodString>;
26327
26328
  name: z.ZodString;
26328
26329
  description: z.ZodNullable<z.ZodString>;
26329
26330
  agentId: z.ZodString;
26330
26331
  projectId: z.ZodString;
26331
26332
  tenantId: z.ZodString;
26332
26333
  id: z.ZodString;
26334
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26335
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26336
+ algorithm: z.ZodEnum<{
26337
+ sha256: "sha256";
26338
+ sha512: "sha512";
26339
+ sha384: "sha384";
26340
+ sha1: "sha1";
26341
+ md5: "md5";
26342
+ }>;
26343
+ encoding: z.ZodEnum<{
26344
+ hex: "hex";
26345
+ base64: "base64";
26346
+ }>;
26347
+ signature: z.ZodObject<{
26348
+ source: z.ZodEnum<{
26349
+ query: "query";
26350
+ body: "body";
26351
+ header: "header";
26352
+ }>;
26353
+ key: z.ZodString;
26354
+ prefix: z.ZodOptional<z.ZodString>;
26355
+ regex: z.ZodOptional<z.ZodString>;
26356
+ }, z.core.$strip>;
26357
+ signedComponents: z.ZodArray<z.ZodObject<{
26358
+ source: z.ZodEnum<{
26359
+ literal: "literal";
26360
+ body: "body";
26361
+ header: "header";
26362
+ }>;
26363
+ key: z.ZodOptional<z.ZodString>;
26364
+ value: z.ZodOptional<z.ZodString>;
26365
+ regex: z.ZodOptional<z.ZodString>;
26366
+ required: z.ZodDefault<z.ZodBoolean>;
26367
+ }, z.core.$strip>>;
26368
+ componentJoin: z.ZodObject<{
26369
+ strategy: z.ZodEnum<{
26370
+ concatenate: "concatenate";
26371
+ }>;
26372
+ separator: z.ZodString;
26373
+ }, z.core.$strip>;
26374
+ validation: z.ZodOptional<z.ZodObject<{
26375
+ headerCaseSensitive: z.ZodDefault<z.ZodBoolean>;
26376
+ allowEmptyBody: z.ZodDefault<z.ZodBoolean>;
26377
+ normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
26378
+ }, z.core.$strip>>;
26379
+ }, z.core.$strip>>>;
26333
26380
  }>, z.core.$strip>;
26334
26381
  }, z.core.$strip>;
26335
26382
  declare const TriggerInvocationResponse: z.ZodObject<{
@@ -26349,11 +26396,15 @@ declare const TriggerInvocationResponse: z.ZodObject<{
26349
26396
  }, z.core.$strip>;
26350
26397
  declare const ProjectListResponse: z.ZodObject<{
26351
26398
  data: z.ZodArray<z.ZodObject<{
26352
- id: z.ZodString;
26353
26399
  name: z.ZodString;
26354
26400
  description: z.ZodNullable<z.ZodString>;
26401
+ id: z.ZodString;
26355
26402
  createdAt: z.ZodString;
26356
26403
  updatedAt: z.ZodString;
26404
+ stopWhen: z.ZodNullable<z.ZodObject<{
26405
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
26406
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
26407
+ }, z.core.$strip>>;
26357
26408
  models: z.ZodNullable<z.ZodObject<{
26358
26409
  base: z.ZodObject<{
26359
26410
  model: z.ZodOptional<z.ZodString>;
@@ -26368,10 +26419,6 @@ declare const ProjectListResponse: z.ZodObject<{
26368
26419
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26369
26420
  }, z.core.$strip>>;
26370
26421
  }, z.core.$strip>>;
26371
- stopWhen: z.ZodNullable<z.ZodObject<{
26372
- transferCountIs: z.ZodOptional<z.ZodNumber>;
26373
- stepCountIs: z.ZodOptional<z.ZodNumber>;
26374
- }, z.core.$strip>>;
26375
26422
  }, {
26376
26423
  out: {};
26377
26424
  in: {};
@@ -26676,15 +26723,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
26676
26723
  }, z.core.$strip>;
26677
26724
  declare const ApiKeyListResponse: z.ZodObject<{
26678
26725
  data: z.ZodArray<z.ZodObject<{
26679
- id: z.ZodString;
26680
26726
  name: z.ZodNullable<z.ZodString>;
26727
+ id: z.ZodString;
26728
+ createdAt: z.ZodString;
26729
+ updatedAt: z.ZodString;
26730
+ expiresAt: z.ZodNullable<z.ZodString>;
26681
26731
  agentId: z.ZodString;
26682
26732
  publicId: z.ZodString;
26683
26733
  keyPrefix: z.ZodString;
26684
26734
  lastUsedAt: z.ZodNullable<z.ZodString>;
26685
- expiresAt: z.ZodNullable<z.ZodString>;
26686
- createdAt: z.ZodString;
26687
- updatedAt: z.ZodString;
26688
26735
  }, {
26689
26736
  out: {};
26690
26737
  in: {};
@@ -26698,13 +26745,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
26698
26745
  }, z.core.$strip>;
26699
26746
  declare const CredentialReferenceListResponse: z.ZodObject<{
26700
26747
  data: z.ZodArray<z.ZodObject<{
26701
- id: z.ZodString;
26702
26748
  name: z.ZodString;
26749
+ id: z.ZodString;
26703
26750
  createdAt: z.ZodString;
26704
26751
  updatedAt: z.ZodString;
26752
+ userId: z.ZodNullable<z.ZodString>;
26705
26753
  credentialStoreId: z.ZodString;
26706
26754
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26707
- userId: z.ZodNullable<z.ZodString>;
26708
26755
  toolId: z.ZodNullable<z.ZodString>;
26709
26756
  createdBy: z.ZodNullable<z.ZodString>;
26710
26757
  type: z.ZodEnum<{
@@ -27281,12 +27328,12 @@ declare const FunctionListResponse: z.ZodObject<{
27281
27328
  }, z.core.$strip>;
27282
27329
  declare const FunctionToolListResponse: z.ZodObject<{
27283
27330
  data: z.ZodArray<z.ZodObject<{
27284
- id: z.ZodString;
27285
27331
  name: z.ZodString;
27286
27332
  description: z.ZodNullable<z.ZodString>;
27287
- agentId: z.ZodString;
27333
+ id: z.ZodString;
27288
27334
  createdAt: z.ZodString;
27289
27335
  updatedAt: z.ZodString;
27336
+ agentId: z.ZodString;
27290
27337
  functionId: z.ZodString;
27291
27338
  relationshipId: z.ZodOptional<z.ZodString>;
27292
27339
  }, z.core.$strip>>;
@@ -27302,6 +27349,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
27302
27349
  createdAt: z.ZodString;
27303
27350
  updatedAt: z.ZodString;
27304
27351
  functionToolId: z.ZodString;
27352
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27305
27353
  subAgentId: z.ZodString;
27306
27354
  agentId: z.ZodString;
27307
27355
  projectId: z.ZodString;
@@ -27425,19 +27473,19 @@ declare const ConversationListResponse: z.ZodObject<{
27425
27473
  agentId: z.ZodNullable<z.ZodString>;
27426
27474
  activeSubAgentId: z.ZodString;
27427
27475
  ref: z.ZodNullable<z.ZodType<{
27428
- type: "tag" | "commit" | "branch";
27476
+ type: "commit" | "tag" | "branch";
27429
27477
  name: string;
27430
27478
  hash: string;
27431
27479
  }, {
27432
- type: "tag" | "commit" | "branch";
27480
+ type: "commit" | "tag" | "branch";
27433
27481
  name: string;
27434
27482
  hash: string;
27435
27483
  }, z.core.$ZodTypeInternals<{
27436
- type: "tag" | "commit" | "branch";
27484
+ type: "commit" | "tag" | "branch";
27437
27485
  name: string;
27438
27486
  hash: string;
27439
27487
  }, {
27440
- type: "tag" | "commit" | "branch";
27488
+ type: "commit" | "tag" | "branch";
27441
27489
  name: string;
27442
27490
  hash: string;
27443
27491
  }>>>;
@@ -27485,35 +27533,68 @@ declare const MessageListResponse: z.ZodObject<{
27485
27533
  total: z.ZodNumber;
27486
27534
  pages: z.ZodNumber;
27487
27535
  }, z.core.$strip>;
27488
- }, z.core.$strip>;
27489
- declare const TriggerListResponse: z.ZodObject<{
27490
- data: z.ZodArray<z.ZodObject<OmitAgentScope<{
27491
- createdAt: z.ZodString;
27492
- updatedAt: z.ZodString;
27493
- enabled: z.ZodBoolean;
27494
- inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27495
- outputTransform: z.ZodNullable<z.ZodType<{
27496
- jmespath?: string;
27497
- objectTransformation?: Record<string, string>;
27498
- }, {
27499
- jmespath?: string;
27500
- objectTransformation?: Record<string, string>;
27501
- }, z.core.$ZodTypeInternals<{
27502
- jmespath?: string;
27503
- objectTransformation?: Record<string, string>;
27504
- }, {
27505
- jmespath?: string;
27506
- objectTransformation?: Record<string, string>;
27507
- }>>>;
27536
+ }, z.core.$strip>;
27537
+ declare const TriggerListResponse: z.ZodObject<{
27538
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
27539
+ createdAt: z.ZodString;
27540
+ updatedAt: z.ZodString;
27541
+ enabled: z.ZodBoolean;
27542
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27543
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27508
27544
  messageTemplate: z.ZodNullable<z.ZodString>;
27509
27545
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27510
- signingSecret: z.ZodNullable<z.ZodString>;
27511
27546
  name: z.ZodString;
27512
27547
  description: z.ZodNullable<z.ZodString>;
27513
27548
  agentId: z.ZodString;
27514
27549
  projectId: z.ZodString;
27515
27550
  tenantId: z.ZodString;
27516
27551
  id: z.ZodString;
27552
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27553
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27554
+ algorithm: z.ZodEnum<{
27555
+ sha256: "sha256";
27556
+ sha512: "sha512";
27557
+ sha384: "sha384";
27558
+ sha1: "sha1";
27559
+ md5: "md5";
27560
+ }>;
27561
+ encoding: z.ZodEnum<{
27562
+ hex: "hex";
27563
+ base64: "base64";
27564
+ }>;
27565
+ signature: z.ZodObject<{
27566
+ source: z.ZodEnum<{
27567
+ query: "query";
27568
+ body: "body";
27569
+ header: "header";
27570
+ }>;
27571
+ key: z.ZodString;
27572
+ prefix: z.ZodOptional<z.ZodString>;
27573
+ regex: z.ZodOptional<z.ZodString>;
27574
+ }, z.core.$strip>;
27575
+ signedComponents: z.ZodArray<z.ZodObject<{
27576
+ source: z.ZodEnum<{
27577
+ literal: "literal";
27578
+ body: "body";
27579
+ header: "header";
27580
+ }>;
27581
+ key: z.ZodOptional<z.ZodString>;
27582
+ value: z.ZodOptional<z.ZodString>;
27583
+ regex: z.ZodOptional<z.ZodString>;
27584
+ required: z.ZodDefault<z.ZodBoolean>;
27585
+ }, z.core.$strip>>;
27586
+ componentJoin: z.ZodObject<{
27587
+ strategy: z.ZodEnum<{
27588
+ concatenate: "concatenate";
27589
+ }>;
27590
+ separator: z.ZodString;
27591
+ }, z.core.$strip>;
27592
+ validation: z.ZodOptional<z.ZodObject<{
27593
+ headerCaseSensitive: z.ZodDefault<z.ZodBoolean>;
27594
+ allowEmptyBody: z.ZodDefault<z.ZodBoolean>;
27595
+ normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
27596
+ }, z.core.$strip>>;
27597
+ }, z.core.$strip>>>;
27517
27598
  }>, z.core.$strip>>;
27518
27599
  pagination: z.ZodObject<{
27519
27600
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -27543,6 +27624,134 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
27543
27624
  pages: z.ZodNumber;
27544
27625
  }, z.core.$strip>;
27545
27626
  }, z.core.$strip>;
27627
+ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
27628
+ data: z.ZodObject<{
27629
+ name: z.ZodString;
27630
+ description: z.ZodNullable<z.ZodString>;
27631
+ id: z.ZodString;
27632
+ createdAt: z.ZodString;
27633
+ updatedAt: z.ZodString;
27634
+ enabled: z.ZodBoolean;
27635
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27636
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27637
+ messageTemplate: z.ZodNullable<z.ZodString>;
27638
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27639
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27640
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27641
+ algorithm: z.ZodEnum<{
27642
+ sha256: "sha256";
27643
+ sha512: "sha512";
27644
+ sha384: "sha384";
27645
+ sha1: "sha1";
27646
+ md5: "md5";
27647
+ }>;
27648
+ encoding: z.ZodEnum<{
27649
+ hex: "hex";
27650
+ base64: "base64";
27651
+ }>;
27652
+ signature: z.ZodObject<{
27653
+ source: z.ZodEnum<{
27654
+ query: "query";
27655
+ body: "body";
27656
+ header: "header";
27657
+ }>;
27658
+ key: z.ZodString;
27659
+ prefix: z.ZodOptional<z.ZodString>;
27660
+ regex: z.ZodOptional<z.ZodString>;
27661
+ }, z.core.$strip>;
27662
+ signedComponents: z.ZodArray<z.ZodObject<{
27663
+ source: z.ZodEnum<{
27664
+ literal: "literal";
27665
+ body: "body";
27666
+ header: "header";
27667
+ }>;
27668
+ key: z.ZodOptional<z.ZodString>;
27669
+ value: z.ZodOptional<z.ZodString>;
27670
+ regex: z.ZodOptional<z.ZodString>;
27671
+ required: z.ZodDefault<z.ZodBoolean>;
27672
+ }, z.core.$strip>>;
27673
+ componentJoin: z.ZodObject<{
27674
+ strategy: z.ZodEnum<{
27675
+ concatenate: "concatenate";
27676
+ }>;
27677
+ separator: z.ZodString;
27678
+ }, z.core.$strip>;
27679
+ validation: z.ZodOptional<z.ZodObject<{
27680
+ headerCaseSensitive: z.ZodDefault<z.ZodBoolean>;
27681
+ allowEmptyBody: z.ZodDefault<z.ZodBoolean>;
27682
+ normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
27683
+ }, z.core.$strip>>;
27684
+ }, z.core.$strip>>>;
27685
+ webhookUrl: z.ZodString;
27686
+ }, z.core.$strip>;
27687
+ }, z.core.$strip>;
27688
+ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
27689
+ data: z.ZodArray<z.ZodObject<{
27690
+ name: z.ZodString;
27691
+ description: z.ZodNullable<z.ZodString>;
27692
+ id: z.ZodString;
27693
+ createdAt: z.ZodString;
27694
+ updatedAt: z.ZodString;
27695
+ enabled: z.ZodBoolean;
27696
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27697
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27698
+ messageTemplate: z.ZodNullable<z.ZodString>;
27699
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27700
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27701
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27702
+ algorithm: z.ZodEnum<{
27703
+ sha256: "sha256";
27704
+ sha512: "sha512";
27705
+ sha384: "sha384";
27706
+ sha1: "sha1";
27707
+ md5: "md5";
27708
+ }>;
27709
+ encoding: z.ZodEnum<{
27710
+ hex: "hex";
27711
+ base64: "base64";
27712
+ }>;
27713
+ signature: z.ZodObject<{
27714
+ source: z.ZodEnum<{
27715
+ query: "query";
27716
+ body: "body";
27717
+ header: "header";
27718
+ }>;
27719
+ key: z.ZodString;
27720
+ prefix: z.ZodOptional<z.ZodString>;
27721
+ regex: z.ZodOptional<z.ZodString>;
27722
+ }, z.core.$strip>;
27723
+ signedComponents: z.ZodArray<z.ZodObject<{
27724
+ source: z.ZodEnum<{
27725
+ literal: "literal";
27726
+ body: "body";
27727
+ header: "header";
27728
+ }>;
27729
+ key: z.ZodOptional<z.ZodString>;
27730
+ value: z.ZodOptional<z.ZodString>;
27731
+ regex: z.ZodOptional<z.ZodString>;
27732
+ required: z.ZodDefault<z.ZodBoolean>;
27733
+ }, z.core.$strip>>;
27734
+ componentJoin: z.ZodObject<{
27735
+ strategy: z.ZodEnum<{
27736
+ concatenate: "concatenate";
27737
+ }>;
27738
+ separator: z.ZodString;
27739
+ }, z.core.$strip>;
27740
+ validation: z.ZodOptional<z.ZodObject<{
27741
+ headerCaseSensitive: z.ZodDefault<z.ZodBoolean>;
27742
+ allowEmptyBody: z.ZodDefault<z.ZodBoolean>;
27743
+ normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
27744
+ }, z.core.$strip>>;
27745
+ }, z.core.$strip>>>;
27746
+ webhookUrl: z.ZodString;
27747
+ }, z.core.$strip>>;
27748
+ pagination: z.ZodObject<{
27749
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
27750
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
27751
+ total: z.ZodNumber;
27752
+ pages: z.ZodNumber;
27753
+ }, z.core.$strip>;
27754
+ }, z.core.$strip>;
27546
27755
  declare const SubAgentDataComponentResponse: z.ZodObject<{
27547
27756
  data: z.ZodObject<OmitAgentScope<{
27548
27757
  dataComponentId: z.ZodString;
@@ -27601,9 +27810,13 @@ declare const SubAgentArtifactComponentListResponse: z.ZodObject<{
27601
27810
  }, z.core.$strip>;
27602
27811
  declare const FullProjectDefinitionResponse: z.ZodObject<{
27603
27812
  data: z.ZodObject<{
27604
- id: z.ZodString;
27605
27813
  name: z.ZodString;
27606
27814
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27815
+ id: z.ZodString;
27816
+ stopWhen: z.ZodOptional<z.ZodObject<{
27817
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
27818
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
27819
+ }, z.core.$strip>>;
27607
27820
  models: z.ZodObject<{
27608
27821
  base: z.ZodObject<{
27609
27822
  model: z.ZodOptional<z.ZodString>;
@@ -27618,10 +27831,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27618
27831
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
27619
27832
  }, z.core.$strip>>;
27620
27833
  }, z.core.$strip>;
27621
- stopWhen: z.ZodOptional<z.ZodObject<{
27622
- transferCountIs: z.ZodOptional<z.ZodNumber>;
27623
- stepCountIs: z.ZodOptional<z.ZodNumber>;
27624
- }, z.core.$strip>>;
27625
27834
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
27626
27835
  name: z.ZodString;
27627
27836
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -27631,11 +27840,21 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27631
27840
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27632
27841
  id: z.ZodString;
27633
27842
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27634
- id: z.ZodString;
27635
27843
  name: z.ZodString;
27636
27844
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27845
+ id: z.ZodString;
27637
27846
  createdAt: z.ZodOptional<z.ZodString>;
27638
27847
  updatedAt: z.ZodOptional<z.ZodString>;
27848
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
27849
+ stepCountIs?: number | undefined;
27850
+ }, {
27851
+ stepCountIs?: number | undefined;
27852
+ }, z.core.$ZodTypeInternals<{
27853
+ stepCountIs?: number | undefined;
27854
+ }, {
27855
+ stepCountIs?: number | undefined;
27856
+ }>>>>;
27857
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
27639
27858
  models: z.ZodOptional<z.ZodObject<{
27640
27859
  base: z.ZodOptional<z.ZodObject<{
27641
27860
  model: z.ZodOptional<z.ZodString>;
@@ -27650,16 +27869,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27650
27869
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
27651
27870
  }, z.core.$strip>>;
27652
27871
  }, z.core.$strip>>;
27653
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
27654
- stepCountIs?: number | undefined;
27655
- }, {
27656
- stepCountIs?: number | undefined;
27657
- }, z.core.$ZodTypeInternals<{
27658
- stepCountIs?: number | undefined;
27659
- }, {
27660
- stepCountIs?: number | undefined;
27661
- }>>>>;
27662
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
27663
27872
  type: z.ZodLiteral<"internal">;
27664
27873
  canUse: z.ZodArray<z.ZodObject<{
27665
27874
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27768,23 +27977,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27768
27977
  createdAt: z.ZodOptional<z.ZodString>;
27769
27978
  updatedAt: z.ZodOptional<z.ZodString>;
27770
27979
  enabled: z.ZodOptional<z.ZodBoolean>;
27771
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
27772
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
27773
- jmespath?: string;
27774
- objectTransformation?: Record<string, string>;
27775
- }, {
27776
- jmespath?: string;
27777
- objectTransformation?: Record<string, string>;
27778
- }, z.core.$ZodTypeInternals<{
27779
- jmespath?: string;
27780
- objectTransformation?: Record<string, string>;
27781
- }, {
27782
- jmespath?: string;
27783
- objectTransformation?: Record<string, string>;
27784
- }>>>>;
27980
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
27981
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
27785
27982
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27786
27983
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
27787
- signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27984
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27985
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
27788
27986
  id: z.ZodOptional<z.ZodString>;
27789
27987
  }, z.core.$strip>>>;
27790
27988
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -27912,9 +28110,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27912
28110
  id: z.ZodString;
27913
28111
  }>, z.core.$strip>>>;
27914
28112
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27915
- id: z.ZodString;
27916
28113
  name: z.ZodString;
27917
28114
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28115
+ id: z.ZodString;
27918
28116
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
27919
28117
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
27920
28118
  component: string;
@@ -27960,13 +28158,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27960
28158
  }, z.core.$strip>>>;
27961
28159
  }, z.core.$strip>>;
27962
28160
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27963
- id: z.ZodString;
27964
28161
  name: z.ZodString;
28162
+ id: z.ZodString;
27965
28163
  createdAt: z.ZodOptional<z.ZodString>;
27966
28164
  updatedAt: z.ZodOptional<z.ZodString>;
28165
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27967
28166
  credentialStoreId: z.ZodString;
27968
28167
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
27969
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27970
28168
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27971
28169
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27972
28170
  type: z.ZodEnum<{
@@ -27984,11 +28182,15 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27984
28182
  }, z.core.$strip>;
27985
28183
  declare const FullProjectSelectResponse: z.ZodObject<{
27986
28184
  data: z.ZodObject<{
27987
- id: z.ZodString;
27988
28185
  name: z.ZodString;
27989
28186
  description: z.ZodNullable<z.ZodString>;
28187
+ id: z.ZodString;
27990
28188
  createdAt: z.ZodString;
27991
28189
  updatedAt: z.ZodString;
28190
+ stopWhen: z.ZodNullable<z.ZodObject<{
28191
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
28192
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
28193
+ }, z.core.$strip>>;
27992
28194
  models: z.ZodNullable<z.ZodObject<{
27993
28195
  base: z.ZodObject<{
27994
28196
  model: z.ZodOptional<z.ZodString>;
@@ -28003,24 +28205,30 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28003
28205
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
28004
28206
  }, z.core.$strip>>;
28005
28207
  }, z.core.$strip>>;
28006
- stopWhen: z.ZodNullable<z.ZodObject<{
28007
- transferCountIs: z.ZodOptional<z.ZodNumber>;
28008
- stepCountIs: z.ZodOptional<z.ZodNumber>;
28009
- }, z.core.$strip>>;
28010
28208
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28011
- id: z.ZodString;
28012
28209
  name: z.ZodString;
28013
28210
  description: z.ZodNullable<z.ZodString>;
28211
+ id: z.ZodString;
28014
28212
  createdAt: z.ZodString;
28015
28213
  updatedAt: z.ZodString;
28016
28214
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28017
28215
  contextConfigId: z.ZodNullable<z.ZodString>;
28018
28216
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28019
- id: z.ZodString;
28020
28217
  name: z.ZodString;
28021
28218
  description: z.ZodNullable<z.ZodString>;
28219
+ id: z.ZodString;
28022
28220
  createdAt: z.ZodString;
28023
28221
  updatedAt: z.ZodString;
28222
+ stopWhen: z.ZodNullable<z.ZodType<{
28223
+ stepCountIs?: number | undefined;
28224
+ }, {
28225
+ stepCountIs?: number | undefined;
28226
+ }, z.core.$ZodTypeInternals<{
28227
+ stepCountIs?: number | undefined;
28228
+ }, {
28229
+ stepCountIs?: number | undefined;
28230
+ }>>>;
28231
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28024
28232
  models: z.ZodNullable<z.ZodType<{
28025
28233
  base?: {
28026
28234
  model?: string | undefined;
@@ -28074,16 +28282,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28074
28282
  providerOptions?: Record<string, any> | undefined;
28075
28283
  } | undefined;
28076
28284
  }>>>;
28077
- stopWhen: z.ZodNullable<z.ZodType<{
28078
- stepCountIs?: number | undefined;
28079
- }, {
28080
- stepCountIs?: number | undefined;
28081
- }, z.core.$ZodTypeInternals<{
28082
- stepCountIs?: number | undefined;
28083
- }, {
28084
- stepCountIs?: number | undefined;
28085
- }>>>;
28086
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28087
28285
  type: z.ZodLiteral<"internal">;
28088
28286
  canUse: z.ZodArray<z.ZodObject<{
28089
28287
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28153,12 +28351,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28153
28351
  description: z.ZodString;
28154
28352
  }, z.core.$strip>>>;
28155
28353
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28156
- id: z.ZodString;
28157
28354
  name: z.ZodString;
28158
28355
  description: z.ZodNullable<z.ZodString>;
28159
- agentId: z.ZodString;
28356
+ id: z.ZodString;
28160
28357
  createdAt: z.ZodString;
28161
28358
  updatedAt: z.ZodString;
28359
+ agentId: z.ZodString;
28162
28360
  functionId: z.ZodString;
28163
28361
  relationshipId: z.ZodOptional<z.ZodString>;
28164
28362
  }, z.core.$strip>>>;
@@ -28242,12 +28440,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28242
28440
  id: z.ZodString;
28243
28441
  }>, z.core.$strip>>;
28244
28442
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28245
- id: z.ZodString;
28246
28443
  name: z.ZodString;
28247
28444
  description: z.ZodNullable<z.ZodString>;
28248
- agentId: z.ZodString;
28445
+ id: z.ZodString;
28249
28446
  createdAt: z.ZodString;
28250
28447
  updatedAt: z.ZodString;
28448
+ agentId: z.ZodString;
28251
28449
  functionId: z.ZodString;
28252
28450
  relationshipId: z.ZodOptional<z.ZodString>;
28253
28451
  }, z.core.$strip>>>;
@@ -28334,13 +28532,13 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28334
28532
  }, z.core.$strip>>>;
28335
28533
  }, z.core.$strip>>;
28336
28534
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28337
- id: z.ZodString;
28338
28535
  name: z.ZodString;
28536
+ id: z.ZodString;
28339
28537
  createdAt: z.ZodString;
28340
28538
  updatedAt: z.ZodString;
28539
+ userId: z.ZodNullable<z.ZodString>;
28341
28540
  credentialStoreId: z.ZodString;
28342
28541
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28343
- userId: z.ZodNullable<z.ZodString>;
28344
28542
  toolId: z.ZodNullable<z.ZodString>;
28345
28543
  createdBy: z.ZodNullable<z.ZodString>;
28346
28544
  type: z.ZodEnum<{
@@ -28897,11 +29095,15 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28897
29095
  }, z.core.$strip>;
28898
29096
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28899
29097
  data: z.ZodObject<{
28900
- id: z.ZodString;
28901
29098
  name: z.ZodString;
28902
29099
  description: z.ZodNullable<z.ZodString>;
29100
+ id: z.ZodString;
28903
29101
  createdAt: z.ZodString;
28904
29102
  updatedAt: z.ZodString;
29103
+ stopWhen: z.ZodNullable<z.ZodObject<{
29104
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
29105
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
29106
+ }, z.core.$strip>>;
28905
29107
  models: z.ZodNullable<z.ZodObject<{
28906
29108
  base: z.ZodObject<{
28907
29109
  model: z.ZodOptional<z.ZodString>;
@@ -28916,10 +29118,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28916
29118
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
28917
29119
  }, z.core.$strip>>;
28918
29120
  }, z.core.$strip>>;
28919
- stopWhen: z.ZodNullable<z.ZodObject<{
28920
- transferCountIs: z.ZodOptional<z.ZodNumber>;
28921
- stepCountIs: z.ZodOptional<z.ZodNumber>;
28922
- }, z.core.$strip>>;
28923
29121
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28924
29122
  createdAt: z.ZodString;
28925
29123
  updatedAt: z.ZodString;
@@ -28949,12 +29147,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28949
29147
  id: z.ZodString;
28950
29148
  }>, z.core.$strip>>;
28951
29149
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28952
- id: z.ZodString;
28953
29150
  name: z.ZodString;
28954
29151
  description: z.ZodNullable<z.ZodString>;
28955
- agentId: z.ZodString;
29152
+ id: z.ZodString;
28956
29153
  createdAt: z.ZodString;
28957
29154
  updatedAt: z.ZodString;
29155
+ agentId: z.ZodString;
28958
29156
  functionId: z.ZodString;
28959
29157
  relationshipId: z.ZodOptional<z.ZodString>;
28960
29158
  }, z.core.$strip>>>;
@@ -29041,13 +29239,13 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29041
29239
  }, z.core.$strip>>>;
29042
29240
  }, z.core.$strip>>;
29043
29241
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29044
- id: z.ZodString;
29045
29242
  name: z.ZodString;
29243
+ id: z.ZodString;
29046
29244
  createdAt: z.ZodString;
29047
29245
  updatedAt: z.ZodString;
29246
+ userId: z.ZodNullable<z.ZodString>;
29048
29247
  credentialStoreId: z.ZodString;
29049
29248
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29050
- userId: z.ZodNullable<z.ZodString>;
29051
29249
  toolId: z.ZodNullable<z.ZodString>;
29052
29250
  createdBy: z.ZodNullable<z.ZodString>;
29053
29251
  type: z.ZodEnum<{
@@ -29598,9 +29796,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29598
29796
  }>>>;
29599
29797
  }, z.core.$strip>>>;
29600
29798
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
29601
- id: z.ZodString;
29602
29799
  name: z.ZodString;
29603
29800
  description: z.ZodNullable<z.ZodString>;
29801
+ id: z.ZodString;
29604
29802
  createdAt: z.ZodString;
29605
29803
  updatedAt: z.ZodString;
29606
29804
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
@@ -29650,12 +29848,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29650
29848
  description: z.ZodString;
29651
29849
  }, z.core.$strip>>>;
29652
29850
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29653
- id: z.ZodString;
29654
29851
  name: z.ZodString;
29655
29852
  description: z.ZodNullable<z.ZodString>;
29656
- agentId: z.ZodString;
29853
+ id: z.ZodString;
29657
29854
  createdAt: z.ZodString;
29658
29855
  updatedAt: z.ZodString;
29856
+ agentId: z.ZodString;
29659
29857
  functionId: z.ZodString;
29660
29858
  relationshipId: z.ZodOptional<z.ZodString>;
29661
29859
  }, z.core.$strip>>>;
@@ -29710,11 +29908,21 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29710
29908
  }, z.core.$strip>>;
29711
29909
  prompt: z.ZodNullable<z.ZodString>;
29712
29910
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29713
- id: z.ZodString;
29714
29911
  name: z.ZodString;
29715
29912
  description: z.ZodNullable<z.ZodString>;
29913
+ id: z.ZodString;
29716
29914
  createdAt: z.ZodString;
29717
29915
  updatedAt: z.ZodString;
29916
+ stopWhen: z.ZodNullable<z.ZodType<{
29917
+ stepCountIs?: number | undefined;
29918
+ }, {
29919
+ stepCountIs?: number | undefined;
29920
+ }, z.core.$ZodTypeInternals<{
29921
+ stepCountIs?: number | undefined;
29922
+ }, {
29923
+ stepCountIs?: number | undefined;
29924
+ }>>>;
29925
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29718
29926
  models: z.ZodNullable<z.ZodType<{
29719
29927
  base?: {
29720
29928
  model?: string | undefined;
@@ -29768,16 +29976,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29768
29976
  providerOptions?: Record<string, any> | undefined;
29769
29977
  } | undefined;
29770
29978
  }>>>;
29771
- stopWhen: z.ZodNullable<z.ZodType<{
29772
- stepCountIs?: number | undefined;
29773
- }, {
29774
- stepCountIs?: number | undefined;
29775
- }, z.core.$ZodTypeInternals<{
29776
- stepCountIs?: number | undefined;
29777
- }, {
29778
- stepCountIs?: number | undefined;
29779
- }>>>;
29780
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29781
29979
  type: z.ZodLiteral<"internal">;
29782
29980
  canUse: z.ZodArray<z.ZodObject<{
29783
29981
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -29824,11 +30022,21 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29824
30022
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29825
30023
  id: z.ZodString;
29826
30024
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29827
- id: z.ZodString;
29828
30025
  name: z.ZodString;
29829
30026
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30027
+ id: z.ZodString;
29830
30028
  createdAt: z.ZodOptional<z.ZodString>;
29831
30029
  updatedAt: z.ZodOptional<z.ZodString>;
30030
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
30031
+ stepCountIs?: number | undefined;
30032
+ }, {
30033
+ stepCountIs?: number | undefined;
30034
+ }, z.core.$ZodTypeInternals<{
30035
+ stepCountIs?: number | undefined;
30036
+ }, {
30037
+ stepCountIs?: number | undefined;
30038
+ }>>>>;
30039
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
29832
30040
  models: z.ZodOptional<z.ZodObject<{
29833
30041
  base: z.ZodOptional<z.ZodObject<{
29834
30042
  model: z.ZodOptional<z.ZodString>;
@@ -29843,16 +30051,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29843
30051
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
29844
30052
  }, z.core.$strip>>;
29845
30053
  }, z.core.$strip>>;
29846
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
29847
- stepCountIs?: number | undefined;
29848
- }, {
29849
- stepCountIs?: number | undefined;
29850
- }, z.core.$ZodTypeInternals<{
29851
- stepCountIs?: number | undefined;
29852
- }, {
29853
- stepCountIs?: number | undefined;
29854
- }>>>>;
29855
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
29856
30054
  type: z.ZodLiteral<"internal">;
29857
30055
  canUse: z.ZodArray<z.ZodObject<{
29858
30056
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -29961,23 +30159,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29961
30159
  createdAt: z.ZodOptional<z.ZodString>;
29962
30160
  updatedAt: z.ZodOptional<z.ZodString>;
29963
30161
  enabled: z.ZodOptional<z.ZodBoolean>;
29964
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
29965
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
29966
- jmespath?: string;
29967
- objectTransformation?: Record<string, string>;
29968
- }, {
29969
- jmespath?: string;
29970
- objectTransformation?: Record<string, string>;
29971
- }, z.core.$ZodTypeInternals<{
29972
- jmespath?: string;
29973
- objectTransformation?: Record<string, string>;
29974
- }, {
29975
- jmespath?: string;
29976
- objectTransformation?: Record<string, string>;
29977
- }>>>>;
30162
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30163
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
29978
30164
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29979
30165
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
29980
- signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30166
+ signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30167
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
29981
30168
  id: z.ZodOptional<z.ZodString>;
29982
30169
  }, z.core.$strip>>>;
29983
30170
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -30022,19 +30209,29 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30022
30209
  }, z.core.$strip>;
30023
30210
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30024
30211
  data: z.ZodObject<{
30025
- id: z.ZodString;
30026
30212
  name: z.ZodString;
30027
30213
  description: z.ZodNullable<z.ZodString>;
30214
+ id: z.ZodString;
30028
30215
  createdAt: z.ZodString;
30029
30216
  updatedAt: z.ZodString;
30030
30217
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30031
30218
  contextConfigId: z.ZodNullable<z.ZodString>;
30032
30219
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30033
- id: z.ZodString;
30034
30220
  name: z.ZodString;
30035
30221
  description: z.ZodNullable<z.ZodString>;
30222
+ id: z.ZodString;
30036
30223
  createdAt: z.ZodString;
30037
30224
  updatedAt: z.ZodString;
30225
+ stopWhen: z.ZodNullable<z.ZodType<{
30226
+ stepCountIs?: number | undefined;
30227
+ }, {
30228
+ stepCountIs?: number | undefined;
30229
+ }, z.core.$ZodTypeInternals<{
30230
+ stepCountIs?: number | undefined;
30231
+ }, {
30232
+ stepCountIs?: number | undefined;
30233
+ }>>>;
30234
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30038
30235
  models: z.ZodNullable<z.ZodType<{
30039
30236
  base?: {
30040
30237
  model?: string | undefined;
@@ -30088,16 +30285,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30088
30285
  providerOptions?: Record<string, any> | undefined;
30089
30286
  } | undefined;
30090
30287
  }>>>;
30091
- stopWhen: z.ZodNullable<z.ZodType<{
30092
- stepCountIs?: number | undefined;
30093
- }, {
30094
- stepCountIs?: number | undefined;
30095
- }, z.core.$ZodTypeInternals<{
30096
- stepCountIs?: number | undefined;
30097
- }, {
30098
- stepCountIs?: number | undefined;
30099
- }>>>;
30100
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30101
30288
  type: z.ZodLiteral<"internal">;
30102
30289
  canUse: z.ZodArray<z.ZodObject<{
30103
30290
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -30167,12 +30354,12 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30167
30354
  description: z.ZodString;
30168
30355
  }, z.core.$strip>>>;
30169
30356
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30170
- id: z.ZodString;
30171
30357
  name: z.ZodString;
30172
30358
  description: z.ZodNullable<z.ZodString>;
30173
- agentId: z.ZodString;
30359
+ id: z.ZodString;
30174
30360
  createdAt: z.ZodString;
30175
30361
  updatedAt: z.ZodString;
30362
+ agentId: z.ZodString;
30176
30363
  functionId: z.ZodString;
30177
30364
  relationshipId: z.ZodOptional<z.ZodString>;
30178
30365
  }, z.core.$strip>>>;
@@ -30782,8 +30969,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
30782
30969
  }>;
30783
30970
  }, undefined>, undefined>;
30784
30971
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
30785
- tenantId: z.ZodString;
30786
30972
  id: z.ZodString;
30973
+ tenantId: z.ZodString;
30787
30974
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30788
30975
  mainBranchName: z.ZodString;
30789
30976
  }, {
@@ -30791,4 +30978,4 @@ declare const ProjectMetadataInsertSchema: z.ZodObject<{
30791
30978
  in: {};
30792
30979
  }>;
30793
30980
  //#endregion
30794
- export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhen, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationApiInsertSchema, DatasetRunConfigAgentRelationApiSelectSchema, DatasetRunConfigAgentRelationApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, ErrorResponseSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfig, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettings, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PaginationWithRefQueryParamsSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SimulationAgent, SimulationAgentSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhen, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhen, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthHeaderInputSchema, TriggerAuthHeaderStoredSchema, TriggerAuthHeaderUpdateSchema, TriggerAuthenticationInputSchema, TriggerAuthenticationSchema, TriggerAuthenticationStoredSchema, TriggerAuthenticationUpdateSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerDatasetRunSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema, resourceIdSchema };
30981
+ export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhen, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ComponentJoin, ComponentJoinSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationApiInsertSchema, DatasetRunConfigAgentRelationApiSelectSchema, DatasetRunConfigAgentRelationApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, ErrorResponseSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfig, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettings, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PaginationWithRefQueryParamsSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SignatureSource, SignatureSourceSchema, SignatureValidationOptions, SignatureValidationOptionsSchema, SignatureVerificationConfig, SignatureVerificationConfigSchema, SignedComponent, SignedComponentSchema, SimulationAgent, SimulationAgentSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhen, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhen, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthHeaderInputSchema, TriggerAuthHeaderStoredSchema, TriggerAuthHeaderUpdateSchema, TriggerAuthenticationInputSchema, TriggerAuthenticationSchema, TriggerAuthenticationStoredSchema, TriggerAuthenticationUpdateSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerDatasetRunSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, TriggerWithWebhookUrlListResponse, TriggerWithWebhookUrlResponse, TriggerWithWebhookUrlSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema, resourceIdSchema };