@inkeep/agents-core 0.65.2 → 0.66.1

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 (99) hide show
  1. package/dist/_virtual/rolldown_runtime.js +25 -1
  2. package/dist/auth/auth.d.ts +6 -6
  3. package/dist/auth/permissions.d.ts +13 -13
  4. package/dist/constants/index.d.ts +14 -0
  5. package/dist/constants/index.js +15 -0
  6. package/dist/constants/relation-types.d.ts +5 -0
  7. package/dist/constants/relation-types.js +6 -0
  8. package/dist/constants/session-events.d.ts +13 -0
  9. package/dist/constants/session-events.js +14 -0
  10. package/dist/constants/tool-names.d.ts +7 -0
  11. package/dist/constants/tool-names.js +8 -0
  12. package/dist/constants/workflow.d.ts +7 -0
  13. package/dist/constants/workflow.js +8 -0
  14. package/dist/data-access/index.d.ts +3 -3
  15. package/dist/data-access/manage/agentFull.d.ts +7 -10
  16. package/dist/data-access/manage/agentFull.js +26 -28
  17. package/dist/data-access/manage/agents.d.ts +10 -10
  18. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  19. package/dist/data-access/manage/contextConfigs.d.ts +4 -4
  20. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  21. package/dist/data-access/manage/functionTools.d.ts +8 -8
  22. package/dist/data-access/manage/projectFull.d.ts +6 -8
  23. package/dist/data-access/manage/projectFull.js +18 -18
  24. package/dist/data-access/manage/skills.d.ts +7 -7
  25. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  26. package/dist/data-access/manage/subAgentRelations.d.ts +14 -14
  27. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  28. package/dist/data-access/manage/subAgents.d.ts +6 -6
  29. package/dist/data-access/manage/tools.d.ts +18 -18
  30. package/dist/data-access/manage/triggers.d.ts +2 -2
  31. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  32. package/dist/data-access/runtime/apps.d.ts +10 -10
  33. package/dist/data-access/runtime/conversations.d.ts +16 -16
  34. package/dist/data-access/runtime/feedback.d.ts +2 -2
  35. package/dist/data-access/runtime/messages.d.ts +3 -3
  36. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  37. package/dist/data-access/runtime/tasks.d.ts +5 -5
  38. package/dist/db/manage/manage-schema.d.ts +4 -4
  39. package/dist/db/runtime/runtime-schema.d.ts +373 -373
  40. package/dist/dolt/ref-middleware.js +2 -2
  41. package/dist/index.d.ts +7 -3
  42. package/dist/index.js +5 -1
  43. package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js +77 -0
  44. package/dist/node_modules/.pnpm/@vitest_expect@3.2.4/node_modules/@vitest/expect/dist/index.js +1356 -0
  45. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js +1119 -0
  46. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.js +982 -0
  47. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/index.js +4 -0
  48. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/utils.js +3 -0
  49. package/dist/node_modules/.pnpm/@vitest_snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js +1821 -0
  50. package/dist/node_modules/.pnpm/@vitest_spy@3.2.4/node_modules/@vitest/spy/dist/index.js +171 -0
  51. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +124 -0
  52. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/diff.js +1334 -0
  53. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/error.js +105 -0
  54. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/helpers.js +118 -0
  55. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.js +455 -0
  56. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/source-map.js +168 -0
  57. package/dist/node_modules/.pnpm/chai@5.3.3/node_modules/chai/index.js +3087 -0
  58. package/dist/node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js +384 -0
  59. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js +11 -0
  60. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js +16 -0
  61. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js +11 -0
  62. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js +15 -0
  63. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js +13 -0
  64. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js +34 -0
  65. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js +12 -0
  66. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js +122 -0
  67. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js +39 -0
  68. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js +99 -0
  69. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js +25 -0
  70. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js +14 -0
  71. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js +21 -0
  72. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js +6 -0
  73. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js +12 -0
  74. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js +18 -0
  75. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js +25 -0
  76. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js +8 -0
  77. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js +30 -0
  78. package/dist/node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.js +939 -0
  79. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.js +81 -0
  80. package/dist/node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.js +51 -0
  81. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js +81 -0
  82. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js +9 -0
  83. package/dist/node_modules/.pnpm/tinyspy@4.0.4/node_modules/tinyspy/dist/index.js +125 -0
  84. package/dist/node_modules/.pnpm/vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_93023d256ff9ed909ae8f0d436c922a0/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +8 -0
  85. package/dist/node_modules/.pnpm/vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_93023d256ff9ed909ae8f0d436c922a0/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +50 -0
  86. package/dist/node_modules/.pnpm/vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_93023d256ff9ed909ae8f0d436c922a0/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +48 -0
  87. package/dist/node_modules/.pnpm/vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_93023d256ff9ed909ae8f0d436c922a0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +2613 -0
  88. package/dist/test-utils/index.d.ts +2 -0
  89. package/dist/test-utils/index.js +3 -0
  90. package/dist/test-utils/mocks/index.d.ts +2 -0
  91. package/dist/test-utils/mocks/index.js +3 -0
  92. package/dist/test-utils/mocks/logger.d.ts +27 -0
  93. package/dist/test-utils/mocks/logger.js +48 -0
  94. package/dist/utils/jwt-helpers.js +1 -1
  95. package/dist/utils/third-party-mcp-servers/composio-client.js +10 -10
  96. package/dist/utils/tracer-factory.js +1 -1
  97. package/dist/validation/schemas/skills.d.ts +51 -51
  98. package/dist/validation/schemas.d.ts +600 -600
  99. package/package.json +5 -1
@@ -740,8 +740,8 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
740
740
  }>;
741
741
  declare const SubAgentApiSelectSchema: z.ZodObject<{
742
742
  id: z.ZodString;
743
- name: z.ZodString;
744
743
  createdAt: z.ZodString;
744
+ name: z.ZodString;
745
745
  updatedAt: z.ZodString;
746
746
  description: z.ZodNullable<z.ZodString>;
747
747
  models: z.ZodNullable<z.ZodType<{
@@ -835,8 +835,8 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
835
835
  }, z.core.$strip>;
836
836
  declare const SubAgentApiInsertSchema: z.ZodObject<{
837
837
  id: z.ZodString;
838
- name: z.ZodString;
839
838
  createdAt: z.ZodOptional<z.ZodString>;
839
+ name: z.ZodString;
840
840
  updatedAt: z.ZodOptional<z.ZodString>;
841
841
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
842
842
  models: z.ZodOptional<z.ZodObject<{
@@ -873,8 +873,8 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
873
873
  }, z.core.$strip>;
874
874
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
875
875
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
876
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
877
876
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
877
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
878
878
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
879
879
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
880
880
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -1334,10 +1334,10 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1334
1334
  in: {};
1335
1335
  }>;
1336
1336
  declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1337
+ agentId: z.ZodString;
1337
1338
  id: z.ZodString;
1338
1339
  createdAt: z.ZodOptional<z.ZodString>;
1339
1340
  updatedAt: z.ZodOptional<z.ZodString>;
1340
- agentId: z.ZodString;
1341
1341
  sourceSubAgentId: z.ZodString;
1342
1342
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1343
1343
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2664,7 +2664,7 @@ declare const AgentInsertSchema: drizzle_zod21.BuildSchema<"insert", {
2664
2664
  }, {}, {
2665
2665
  length: 256;
2666
2666
  }>;
2667
- }, "tenantId" | "projectId" | "id" | "name" | "createdAt" | "updatedAt" | "description" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2667
+ }, "tenantId" | "projectId" | "id" | "createdAt" | "name" | "updatedAt" | "description" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates" | "executionMode">, undefined>, undefined>;
2668
2668
  declare const AgentUpdateSchema: z.ZodObject<{
2669
2669
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2670
2670
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2826,8 +2826,8 @@ declare const AgentUpdateSchema: z.ZodObject<{
2826
2826
  }>;
2827
2827
  declare const AgentApiSelectSchema: z.ZodObject<{
2828
2828
  id: z.ZodString;
2829
- name: z.ZodString;
2830
2829
  createdAt: z.ZodString;
2830
+ name: z.ZodString;
2831
2831
  updatedAt: z.ZodString;
2832
2832
  description: z.ZodNullable<z.ZodString>;
2833
2833
  models: z.ZodNullable<z.ZodType<{
@@ -2916,9 +2916,9 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2916
2916
  }, {
2917
2917
  transferCountIs?: number | undefined;
2918
2918
  }>>>;
2919
- prompt: z.ZodNullable<z.ZodString>;
2920
2919
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
2921
2920
  contextConfigId: z.ZodNullable<z.ZodString>;
2921
+ prompt: z.ZodNullable<z.ZodString>;
2922
2922
  statusUpdates: z.ZodNullable<z.ZodType<{
2923
2923
  enabled?: boolean | undefined;
2924
2924
  numEvents?: number | undefined;
@@ -3068,9 +3068,9 @@ declare const AgentApiInsertSchema: z.ZodObject<{
3068
3068
  }, {
3069
3069
  transferCountIs?: number | undefined;
3070
3070
  }>>>>;
3071
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3072
3071
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3073
3072
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3073
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3074
3074
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
3075
3075
  enabled?: boolean | undefined;
3076
3076
  numEvents?: number | undefined;
@@ -3219,9 +3219,9 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
3219
3219
  }, {
3220
3220
  transferCountIs?: number | undefined;
3221
3221
  }>>>>>>;
3222
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3223
3222
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3224
3223
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3224
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3225
3225
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
3226
3226
  enabled?: boolean | undefined;
3227
3227
  numEvents?: number | undefined;
@@ -3346,8 +3346,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3346
3346
  declare const SignatureSourceSchema: z.ZodObject<{
3347
3347
  source: z.ZodEnum<{
3348
3348
  query: "query";
3349
- body: "body";
3350
3349
  header: "header";
3350
+ body: "body";
3351
3351
  }>;
3352
3352
  key: z.ZodString;
3353
3353
  prefix: z.ZodOptional<z.ZodString>;
@@ -3376,8 +3376,8 @@ declare const SignatureSourceSchema: z.ZodObject<{
3376
3376
  declare const SignedComponentSchema: z.ZodObject<{
3377
3377
  source: z.ZodEnum<{
3378
3378
  literal: "literal";
3379
- body: "body";
3380
3379
  header: "header";
3380
+ body: "body";
3381
3381
  }>;
3382
3382
  key: z.ZodOptional<z.ZodString>;
3383
3383
  value: z.ZodOptional<z.ZodString>;
@@ -3486,8 +3486,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3486
3486
  signature: z.ZodObject<{
3487
3487
  source: z.ZodEnum<{
3488
3488
  query: "query";
3489
- body: "body";
3490
3489
  header: "header";
3490
+ body: "body";
3491
3491
  }>;
3492
3492
  key: z.ZodString;
3493
3493
  prefix: z.ZodOptional<z.ZodString>;
@@ -3496,8 +3496,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3496
3496
  signedComponents: z.ZodArray<z.ZodObject<{
3497
3497
  source: z.ZodEnum<{
3498
3498
  literal: "literal";
3499
- body: "body";
3500
3499
  header: "header";
3500
+ body: "body";
3501
3501
  }>;
3502
3502
  key: z.ZodOptional<z.ZodString>;
3503
3503
  value: z.ZodOptional<z.ZodString>;
@@ -3582,8 +3582,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3582
3582
  signature: z.ZodObject<{
3583
3583
  source: z.ZodEnum<{
3584
3584
  query: "query";
3585
- body: "body";
3586
3585
  header: "header";
3586
+ body: "body";
3587
3587
  }>;
3588
3588
  key: z.ZodString;
3589
3589
  prefix: z.ZodOptional<z.ZodString>;
@@ -3592,8 +3592,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3592
3592
  signedComponents: z.ZodArray<z.ZodObject<{
3593
3593
  source: z.ZodEnum<{
3594
3594
  literal: "literal";
3595
- body: "body";
3596
3595
  header: "header";
3596
+ body: "body";
3597
3597
  }>;
3598
3598
  key: z.ZodOptional<z.ZodString>;
3599
3599
  value: z.ZodOptional<z.ZodString>;
@@ -3778,13 +3778,13 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
3778
3778
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3779
3779
  encoding: "hex" | "base64";
3780
3780
  signature: {
3781
- source: "query" | "body" | "header";
3781
+ source: "query" | "header" | "body";
3782
3782
  key: string;
3783
3783
  prefix?: string | undefined;
3784
3784
  regex?: string | undefined;
3785
3785
  };
3786
3786
  signedComponents: {
3787
- source: "literal" | "body" | "header";
3787
+ source: "literal" | "header" | "body";
3788
3788
  required: boolean;
3789
3789
  key?: string | undefined;
3790
3790
  value?: string | undefined;
@@ -3815,13 +3815,13 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
3815
3815
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3816
3816
  encoding: "hex" | "base64";
3817
3817
  signature: {
3818
- source: "query" | "body" | "header";
3818
+ source: "query" | "header" | "body";
3819
3819
  key: string;
3820
3820
  prefix?: string | undefined;
3821
3821
  regex?: string | undefined;
3822
3822
  };
3823
3823
  signedComponents: {
3824
- source: "literal" | "body" | "header";
3824
+ source: "literal" | "header" | "body";
3825
3825
  required: boolean;
3826
3826
  key?: string | undefined;
3827
3827
  value?: string | undefined;
@@ -4148,13 +4148,13 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
4148
4148
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
4149
4149
  encoding: "hex" | "base64";
4150
4150
  signature: {
4151
- source: "query" | "body" | "header";
4151
+ source: "query" | "header" | "body";
4152
4152
  key: string;
4153
4153
  prefix?: string | undefined;
4154
4154
  regex?: string | undefined;
4155
4155
  };
4156
4156
  signedComponents: {
4157
- source: "literal" | "body" | "header";
4157
+ source: "literal" | "header" | "body";
4158
4158
  required: boolean;
4159
4159
  key?: string | undefined;
4160
4160
  value?: string | undefined;
@@ -4185,13 +4185,13 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
4185
4185
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
4186
4186
  encoding: "hex" | "base64";
4187
4187
  signature: {
4188
- source: "query" | "body" | "header";
4188
+ source: "query" | "header" | "body";
4189
4189
  key: string;
4190
4190
  prefix?: string | undefined;
4191
4191
  regex?: string | undefined;
4192
4192
  };
4193
4193
  signedComponents: {
4194
- source: "literal" | "body" | "header";
4194
+ source: "literal" | "header" | "body";
4195
4195
  required: boolean;
4196
4196
  key?: string | undefined;
4197
4197
  value?: string | undefined;
@@ -4358,7 +4358,7 @@ declare const TriggerInsertSchema: drizzle_zod21.BuildSchema<"insert", {
4358
4358
  }, {}, {
4359
4359
  length: 256;
4360
4360
  }>;
4361
- }, "tenantId" | "projectId" | "id" | "name" | "inputSchema" | "createdAt" | "updatedAt" | "description" | "agentId" | "enabled" | "messageTemplate" | "runAsUserId" | "createdBy" | "outputTransform" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4361
+ }, "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "name" | "updatedAt" | "description" | "createdBy" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId">, undefined>, undefined>;
4362
4362
  declare const TriggerUpdateSchema: z.ZodObject<{
4363
4363
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4364
4364
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4383,16 +4383,15 @@ declare const TriggerUpdateSchema: z.ZodObject<{
4383
4383
  }>;
4384
4384
  declare const TriggerApiSelectSchema: z.ZodObject<{
4385
4385
  id: z.ZodString;
4386
- name: z.ZodString;
4387
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4388
4386
  createdAt: z.ZodString;
4387
+ name: z.ZodString;
4389
4388
  updatedAt: z.ZodString;
4390
4389
  description: z.ZodNullable<z.ZodString>;
4391
- enabled: z.ZodBoolean;
4392
- messageTemplate: z.ZodNullable<z.ZodString>;
4393
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4394
4390
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4391
+ enabled: z.ZodBoolean;
4392
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4395
4393
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4394
+ messageTemplate: z.ZodNullable<z.ZodString>;
4396
4395
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4397
4396
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4398
4397
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4410,8 +4409,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<{
4410
4409
  signature: z.ZodObject<{
4411
4410
  source: z.ZodEnum<{
4412
4411
  query: "query";
4413
- body: "body";
4414
4412
  header: "header";
4413
+ body: "body";
4415
4414
  }>;
4416
4415
  key: z.ZodString;
4417
4416
  prefix: z.ZodOptional<z.ZodString>;
@@ -4420,8 +4419,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<{
4420
4419
  signedComponents: z.ZodArray<z.ZodObject<{
4421
4420
  source: z.ZodEnum<{
4422
4421
  literal: "literal";
4423
- body: "body";
4424
4422
  header: "header";
4423
+ body: "body";
4425
4424
  }>;
4426
4425
  key: z.ZodOptional<z.ZodString>;
4427
4426
  value: z.ZodOptional<z.ZodString>;
@@ -4440,49 +4439,49 @@ declare const TriggerApiSelectSchema: z.ZodObject<{
4440
4439
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
4441
4440
  }, z.core.$strip>>;
4442
4441
  }, z.core.$strip>>>;
4442
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4443
4443
  }, z.core.$strip>;
4444
4444
  declare const TriggerApiInsertSchema: z.ZodObject<{
4445
4445
  id: z.ZodOptional<z.ZodString>;
4446
4446
  name: z.ZodString;
4447
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4448
4447
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4449
- enabled: z.ZodOptional<z.ZodBoolean>;
4450
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4451
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4452
4448
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4449
+ enabled: z.ZodOptional<z.ZodBoolean>;
4450
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4453
4451
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4452
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4454
4453
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4455
4454
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4456
4455
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
4456
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4457
4457
  }, z.core.$strip>;
4458
4458
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4459
4459
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4460
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4461
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
4462
4460
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4461
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4463
4462
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4464
4463
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4465
- enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4466
- messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4467
- runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4468
4464
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4465
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
4466
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
4469
4467
  outputTransform: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
4468
+ messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4470
4469
  authentication: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
4471
4470
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4472
4471
  signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
4472
+ runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4473
4473
  }, z.core.$strip>;
4474
4474
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4475
4475
  id: z.ZodString;
4476
- name: z.ZodString;
4477
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4478
4476
  createdAt: z.ZodString;
4477
+ name: z.ZodString;
4479
4478
  updatedAt: z.ZodString;
4480
4479
  description: z.ZodNullable<z.ZodString>;
4481
- enabled: z.ZodBoolean;
4482
- messageTemplate: z.ZodNullable<z.ZodString>;
4483
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4484
4480
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4481
+ enabled: z.ZodBoolean;
4482
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4485
4483
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4484
+ messageTemplate: z.ZodNullable<z.ZodString>;
4486
4485
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
4487
4486
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4488
4487
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4500,8 +4499,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4500
4499
  signature: z.ZodObject<{
4501
4500
  source: z.ZodEnum<{
4502
4501
  query: "query";
4503
- body: "body";
4504
4502
  header: "header";
4503
+ body: "body";
4505
4504
  }>;
4506
4505
  key: z.ZodString;
4507
4506
  prefix: z.ZodOptional<z.ZodString>;
@@ -4510,8 +4509,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4510
4509
  signedComponents: z.ZodArray<z.ZodObject<{
4511
4510
  source: z.ZodEnum<{
4512
4511
  literal: "literal";
4513
- body: "body";
4514
4512
  header: "header";
4513
+ body: "body";
4515
4514
  }>;
4516
4515
  key: z.ZodOptional<z.ZodString>;
4517
4516
  value: z.ZodOptional<z.ZodString>;
@@ -4530,6 +4529,7 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4530
4529
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
4531
4530
  }, z.core.$strip>>;
4532
4531
  }, z.core.$strip>>>;
4532
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4533
4533
  webhookUrl: z.ZodString;
4534
4534
  }, z.core.$strip>;
4535
4535
  declare const TriggerInvocationSelectSchema: z.ZodObject<{
@@ -5015,7 +5015,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<"insert",
5015
5015
  }, {}, {
5016
5016
  length: 256;
5017
5017
  }>;
5018
- }, "tenantId" | "projectId" | "id" | "ref" | "createdAt" | "agentId" | "status" | "conversationId" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5018
+ }, "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "ref" | "status" | "conversationId" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5019
5019
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5020
5020
  triggerId: z.ZodOptional<z.ZodString>;
5021
5021
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5051,6 +5051,7 @@ declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5051
5051
  }>;
5052
5052
  declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5053
5053
  id: z.ZodString;
5054
+ createdAt: z.ZodString;
5054
5055
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5055
5056
  type: z.ZodEnum<{
5056
5057
  commit: "commit";
@@ -5060,7 +5061,6 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5060
5061
  name: z.ZodString;
5061
5062
  hash: z.ZodString;
5062
5063
  }, z.core.$strip>>>;
5063
- createdAt: z.ZodString;
5064
5064
  status: z.ZodString;
5065
5065
  conversationId: z.ZodNullable<z.ZodString>;
5066
5066
  triggerId: z.ZodString;
@@ -5069,6 +5069,7 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<{
5069
5069
  errorMessage: z.ZodNullable<z.ZodString>;
5070
5070
  }, z.core.$strip>;
5071
5071
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5072
+ createdAt: z.ZodOptional<z.ZodString>;
5072
5073
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
5073
5074
  type: "commit" | "tag" | "branch";
5074
5075
  name: string;
@@ -5086,7 +5087,6 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5086
5087
  name: string;
5087
5088
  hash: string;
5088
5089
  }>>>>;
5089
- createdAt: z.ZodOptional<z.ZodString>;
5090
5090
  status: z.ZodOptional<z.ZodString>;
5091
5091
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5092
5092
  triggerId: z.ZodString;
@@ -5097,6 +5097,7 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5097
5097
  }, z.core.$strip>;
5098
5098
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5099
5099
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5100
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5100
5101
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
5101
5102
  type: "commit" | "tag" | "branch";
5102
5103
  name: string;
@@ -5114,7 +5115,6 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5114
5115
  name: string;
5115
5116
  hash: string;
5116
5117
  }>>>>>>;
5117
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5118
5118
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5119
5119
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5120
5120
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -5154,21 +5154,21 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5154
5154
  declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5155
5155
  tenantId: z.ZodString;
5156
5156
  projectId: z.ZodString;
5157
+ agentId: z.ZodString;
5157
5158
  id: z.ZodString;
5158
5159
  name: z.ZodString;
5159
- ref: z.ZodOptional<z.ZodString>;
5160
5160
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5161
- agentId: z.ZodString;
5161
+ ref: z.ZodOptional<z.ZodString>;
5162
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5162
5163
  enabled: z.ZodOptional<z.ZodBoolean>;
5164
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5165
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5163
5166
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5164
5167
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5165
5168
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5166
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5167
5169
  maxRetries: z.ZodOptional<z.ZodInt>;
5168
5170
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
5169
5171
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
5170
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5171
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5172
5172
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5173
5173
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5174
5174
  }, {
@@ -5178,15 +5178,15 @@ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5178
5178
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5179
5179
  tenantId: z.ZodOptional<z.ZodString>;
5180
5180
  projectId: z.ZodOptional<z.ZodString>;
5181
+ agentId: z.ZodOptional<z.ZodString>;
5181
5182
  id: z.ZodOptional<z.ZodString>;
5182
5183
  name: z.ZodOptional<z.ZodString>;
5183
5184
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5184
- agentId: z.ZodOptional<z.ZodString>;
5185
- cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5186
- runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5185
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5187
5186
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5188
5187
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5189
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5188
+ cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5189
+ runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5190
5190
  dispatchDelayMs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>;
5191
5191
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
5192
5192
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
@@ -5201,59 +5201,59 @@ declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5201
5201
  }>;
5202
5202
  declare const ScheduledTriggerApiSelectSchema: z.ZodObject<{
5203
5203
  id: z.ZodString;
5204
- name: z.ZodString;
5205
- ref: z.ZodString;
5206
5204
  createdAt: z.ZodString;
5205
+ name: z.ZodString;
5207
5206
  updatedAt: z.ZodString;
5208
5207
  description: z.ZodNullable<z.ZodString>;
5208
+ ref: z.ZodString;
5209
+ createdBy: z.ZodNullable<z.ZodString>;
5209
5210
  enabled: z.ZodBoolean;
5211
+ messageTemplate: z.ZodNullable<z.ZodString>;
5212
+ runAsUserId: z.ZodNullable<z.ZodString>;
5210
5213
  cronExpression: z.ZodNullable<z.ZodString>;
5211
5214
  cronTimezone: z.ZodNullable<z.ZodString>;
5212
5215
  runAt: z.ZodNullable<z.ZodString>;
5213
5216
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5214
- messageTemplate: z.ZodNullable<z.ZodString>;
5215
5217
  maxRetries: z.ZodInt;
5216
5218
  retryDelaySeconds: z.ZodInt;
5217
5219
  timeoutSeconds: z.ZodInt;
5218
- runAsUserId: z.ZodNullable<z.ZodString>;
5219
- createdBy: z.ZodNullable<z.ZodString>;
5220
5220
  nextRunAt: z.ZodNullable<z.ZodString>;
5221
5221
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
5222
5222
  }, z.core.$strip>;
5223
5223
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5224
5224
  name: z.ZodString;
5225
- ref: z.ZodOptional<z.ZodString>;
5226
5225
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5226
+ ref: z.ZodOptional<z.ZodString>;
5227
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5227
5228
  enabled: z.ZodOptional<z.ZodBoolean>;
5229
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5230
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5228
5231
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5229
5232
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5230
5233
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5231
5234
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5232
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5233
5235
  maxRetries: z.ZodOptional<z.ZodInt>;
5234
5236
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
5235
5237
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
5236
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5237
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5238
5238
  id: z.ZodOptional<z.ZodString>;
5239
5239
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5240
5240
  dispatchDelayMs: z.ZodOptional<z.ZodNumber>;
5241
5241
  }, z.core.$strip>;
5242
5242
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5243
5243
  name: z.ZodString;
5244
- ref: z.ZodOptional<z.ZodString>;
5245
5244
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5245
+ ref: z.ZodOptional<z.ZodString>;
5246
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5246
5247
  enabled: z.ZodOptional<z.ZodBoolean>;
5248
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5249
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5247
5250
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5248
5251
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5249
5252
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5250
5253
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5251
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5252
5254
  maxRetries: z.ZodOptional<z.ZodInt>;
5253
5255
  retryDelaySeconds: z.ZodOptional<z.ZodInt>;
5254
5256
  timeoutSeconds: z.ZodOptional<z.ZodInt>;
5255
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5256
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5257
5257
  id: z.ZodOptional<z.ZodString>;
5258
5258
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5259
5259
  dispatchDelayMs: z.ZodOptional<z.ZodNumber>;
@@ -5261,19 +5261,19 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5261
5261
  declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5262
5262
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5263
5263
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5264
- ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5265
5264
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5265
+ ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5266
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5266
5267
  enabled: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
5268
+ messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5269
+ runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5267
5270
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5268
5271
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5269
5272
  runAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5270
5273
  payload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
5271
- messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5272
5274
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
5273
5275
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
5274
5276
  timeoutSeconds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
5275
- runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5276
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5277
5277
  runAsUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5278
5278
  dispatchDelayMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5279
5279
  }, z.core.$strip>;
@@ -5288,9 +5288,9 @@ declare const ScheduledTriggerUsersResponseSchema: z.ZodObject<{
5288
5288
  }, z.core.$strip>;
5289
5289
  declare const ScheduledTriggerInvocationStatusEnum: z.ZodEnum<{
5290
5290
  pending: "pending";
5291
- failed: "failed";
5292
5291
  running: "running";
5293
5292
  completed: "completed";
5293
+ failed: "failed";
5294
5294
  cancelled: "cancelled";
5295
5295
  }>;
5296
5296
  declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
@@ -5319,9 +5319,9 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
5319
5319
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5320
5320
  status: z.ZodEnum<{
5321
5321
  pending: "pending";
5322
- failed: "failed";
5323
5322
  running: "running";
5324
5323
  completed: "completed";
5324
+ failed: "failed";
5325
5325
  cancelled: "cancelled";
5326
5326
  }>;
5327
5327
  }, {
@@ -5380,7 +5380,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<
5380
5380
  tableName: "scheduled_trigger_invocations";
5381
5381
  dataType: "string";
5382
5382
  columnType: "PgVarchar";
5383
- data: "pending" | "failed" | "running" | "completed" | "cancelled";
5383
+ data: "pending" | "running" | "completed" | "failed" | "cancelled";
5384
5384
  driverParam: string;
5385
5385
  notNull: true;
5386
5386
  hasDefault: false;
@@ -5393,7 +5393,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<
5393
5393
  generated: undefined;
5394
5394
  }, {}, {
5395
5395
  length: 50;
5396
- $type: "pending" | "failed" | "running" | "completed" | "cancelled";
5396
+ $type: "pending" | "running" | "completed" | "failed" | "cancelled";
5397
5397
  }>;
5398
5398
  scheduledFor: drizzle_orm_pg_core954.PgColumn<{
5399
5399
  name: "scheduled_for";
@@ -5684,7 +5684,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<
5684
5684
  tableName: "scheduled_trigger_invocations";
5685
5685
  dataType: "string";
5686
5686
  columnType: "PgVarchar";
5687
- data: "pending" | "failed" | "running" | "completed" | "cancelled";
5687
+ data: "pending" | "running" | "completed" | "failed" | "cancelled";
5688
5688
  driverParam: string;
5689
5689
  notNull: true;
5690
5690
  hasDefault: false;
@@ -5697,7 +5697,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<
5697
5697
  generated: undefined;
5698
5698
  }, {}, {
5699
5699
  length: 50;
5700
- $type: "pending" | "failed" | "running" | "completed" | "cancelled";
5700
+ $type: "pending" | "running" | "completed" | "failed" | "cancelled";
5701
5701
  }>;
5702
5702
  scheduledFor: drizzle_orm_pg_core954.PgColumn<{
5703
5703
  name: "scheduled_for";
@@ -5936,7 +5936,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod21.BuildSchema<
5936
5936
  }, {}, {
5937
5937
  length: 256;
5938
5938
  }>;
5939
- }, "tenantId" | "projectId" | "id" | "ref" | "createdAt" | "agentId" | "status" | "scheduledTriggerId" | "runAsUserId" | "conversationIds" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
5939
+ }, "tenantId" | "projectId" | "agentId" | "id" | "createdAt" | "ref" | "runAsUserId" | "conversationIds" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
5940
5940
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
5941
5941
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
5942
5942
  ref: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -5976,6 +5976,7 @@ declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
5976
5976
  }>;
5977
5977
  declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
5978
5978
  id: z.ZodString;
5979
+ createdAt: z.ZodString;
5979
5980
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5980
5981
  type: z.ZodEnum<{
5981
5982
  commit: "commit";
@@ -5985,17 +5986,16 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
5985
5986
  name: z.ZodString;
5986
5987
  hash: z.ZodString;
5987
5988
  }, z.core.$strip>>>;
5988
- createdAt: z.ZodString;
5989
+ runAsUserId: z.ZodNullable<z.ZodString>;
5990
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
5989
5991
  status: z.ZodEnum<{
5990
5992
  pending: "pending";
5991
- failed: "failed";
5992
5993
  running: "running";
5993
5994
  completed: "completed";
5995
+ failed: "failed";
5994
5996
  cancelled: "cancelled";
5995
5997
  }>;
5996
5998
  scheduledTriggerId: z.ZodString;
5997
- runAsUserId: z.ZodNullable<z.ZodString>;
5998
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
5999
5999
  scheduledFor: z.ZodString;
6000
6000
  startedAt: z.ZodNullable<z.ZodString>;
6001
6001
  completedAt: z.ZodNullable<z.ZodString>;
@@ -6004,6 +6004,7 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{
6004
6004
  idempotencyKey: z.ZodString;
6005
6005
  }, z.core.$strip>;
6006
6006
  declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6007
+ createdAt: z.ZodOptional<z.ZodString>;
6007
6008
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
6008
6009
  type: "commit" | "tag" | "branch";
6009
6010
  name: string;
@@ -6021,11 +6022,10 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6021
6022
  name: string;
6022
6023
  hash: string;
6023
6024
  }>>>>;
6024
- createdAt: z.ZodOptional<z.ZodString>;
6025
- status: z.ZodString;
6026
- scheduledTriggerId: z.ZodString;
6027
6025
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6028
6026
  conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
6027
+ status: z.ZodString;
6028
+ scheduledTriggerId: z.ZodString;
6029
6029
  scheduledFor: z.ZodString;
6030
6030
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6031
6031
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6036,6 +6036,7 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
6036
6036
  }, z.core.$strip>;
6037
6037
  declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6038
6038
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6039
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6039
6040
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
6040
6041
  type: "commit" | "tag" | "branch";
6041
6042
  name: string;
@@ -6053,11 +6054,10 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
6053
6054
  name: string;
6054
6055
  hash: string;
6055
6056
  }>>>>>>;
6056
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6057
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6058
- scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6059
6057
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6060
6058
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
6059
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6060
+ scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6061
6061
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6062
6062
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6063
6063
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -6288,7 +6288,12 @@ declare const TaskUpdateSchema: z.ZodObject<{
6288
6288
  in: {};
6289
6289
  }>;
6290
6290
  declare const TaskApiSelectSchema: z.ZodObject<{
6291
+ agentId: z.ZodString;
6292
+ subAgentId: z.ZodString;
6291
6293
  id: z.ZodString;
6294
+ createdAt: z.ZodString;
6295
+ updatedAt: z.ZodString;
6296
+ metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
6292
6297
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6293
6298
  type: z.ZodEnum<{
6294
6299
  commit: "commit";
@@ -6298,16 +6303,16 @@ declare const TaskApiSelectSchema: z.ZodObject<{
6298
6303
  name: z.ZodString;
6299
6304
  hash: z.ZodString;
6300
6305
  }, z.core.$strip>>>;
6301
- createdAt: z.ZodString;
6302
- updatedAt: z.ZodString;
6303
- metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
6304
- agentId: z.ZodString;
6305
- subAgentId: z.ZodString;
6306
6306
  status: z.ZodString;
6307
6307
  contextId: z.ZodString;
6308
6308
  }, z.core.$strip>;
6309
6309
  declare const TaskApiInsertSchema: z.ZodObject<{
6310
+ agentId: z.ZodString;
6311
+ subAgentId: z.ZodString;
6310
6312
  id: z.ZodString;
6313
+ createdAt: z.ZodOptional<z.ZodString>;
6314
+ updatedAt: z.ZodOptional<z.ZodString>;
6315
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
6311
6316
  ref: z.ZodObject<{
6312
6317
  type: z.ZodEnum<{
6313
6318
  commit: "commit";
@@ -6317,17 +6322,17 @@ declare const TaskApiInsertSchema: z.ZodObject<{
6317
6322
  name: z.ZodString;
6318
6323
  hash: z.ZodString;
6319
6324
  }, z.core.$strip>;
6320
- createdAt: z.ZodOptional<z.ZodString>;
6321
- updatedAt: z.ZodOptional<z.ZodString>;
6322
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
6323
- agentId: z.ZodString;
6324
- subAgentId: z.ZodString;
6325
6325
  status: z.ZodString;
6326
- conversationId: z.ZodOptional<z.ZodString>;
6327
6326
  contextId: z.ZodString;
6327
+ conversationId: z.ZodOptional<z.ZodString>;
6328
6328
  }, z.core.$strip>;
6329
6329
  declare const TaskApiUpdateSchema: z.ZodObject<{
6330
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6331
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6330
6332
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6333
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6334
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6335
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6331
6336
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6332
6337
  type: z.ZodEnum<{
6333
6338
  commit: "commit";
@@ -6337,14 +6342,9 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
6337
6342
  name: z.ZodString;
6338
6343
  hash: z.ZodString;
6339
6344
  }, z.core.$strip>>>;
6340
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6341
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6342
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6343
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6344
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6345
6345
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6346
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6347
6346
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6347
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6348
6348
  }, z.core.$strip>;
6349
6349
  declare const TaskRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
6350
6350
  createdAt: drizzle_orm_pg_core954.PgColumn<{
@@ -7284,7 +7284,6 @@ declare const ToolInsertSchema: z.ZodObject<{
7284
7284
  id: z.ZodString;
7285
7285
  name: z.ZodString;
7286
7286
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7287
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7288
7287
  config: z.ZodObject<{
7289
7288
  type: z.ZodLiteral<"mcp">;
7290
7289
  mcp: z.ZodObject<{
@@ -7313,6 +7312,7 @@ declare const ToolInsertSchema: z.ZodObject<{
7313
7312
  }, z.core.$strip>;
7314
7313
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7315
7314
  credentialScope: z.ZodOptional<z.ZodString>;
7315
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7316
7316
  imageUrl: z.ZodOptional<z.ZodString>;
7317
7317
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7318
7318
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7399,7 +7399,11 @@ declare const ConversationUpdateSchema: z.ZodObject<{
7399
7399
  in: {};
7400
7400
  }>;
7401
7401
  declare const ConversationApiSelectSchema: z.ZodObject<{
7402
+ agentId: z.ZodNullable<z.ZodString>;
7402
7403
  id: z.ZodString;
7404
+ createdAt: z.ZodString;
7405
+ updatedAt: z.ZodString;
7406
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
7403
7407
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7404
7408
  type: z.ZodEnum<{
7405
7409
  commit: "commit";
@@ -7409,17 +7413,17 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
7409
7413
  name: z.ZodString;
7410
7414
  hash: z.ZodString;
7411
7415
  }, z.core.$strip>>>;
7412
- createdAt: z.ZodString;
7413
- updatedAt: z.ZodString;
7414
7416
  title: z.ZodNullable<z.ZodString>;
7415
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
7416
- agentId: z.ZodNullable<z.ZodString>;
7417
7417
  userId: z.ZodNullable<z.ZodString>;
7418
7418
  activeSubAgentId: z.ZodString;
7419
7419
  lastContextResolution: z.ZodNullable<z.ZodString>;
7420
7420
  }, z.core.$strip>;
7421
7421
  declare const ConversationApiInsertSchema: z.ZodObject<{
7422
+ agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7422
7423
  id: z.ZodString;
7424
+ createdAt: z.ZodOptional<z.ZodString>;
7425
+ updatedAt: z.ZodOptional<z.ZodString>;
7426
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
7423
7427
  ref: z.ZodObject<{
7424
7428
  type: z.ZodEnum<{
7425
7429
  commit: "commit";
@@ -7429,18 +7433,18 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
7429
7433
  name: z.ZodString;
7430
7434
  hash: z.ZodString;
7431
7435
  }, z.core.$strip>;
7432
- createdAt: z.ZodOptional<z.ZodString>;
7433
- updatedAt: z.ZodOptional<z.ZodString>;
7434
7436
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7435
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
7436
- agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7437
7437
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7438
7438
  contextConfigId: z.ZodOptional<z.ZodString>;
7439
7439
  activeSubAgentId: z.ZodString;
7440
7440
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7441
7441
  }, z.core.$strip>;
7442
7442
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7443
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7443
7444
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7445
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7446
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7447
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7444
7448
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7445
7449
  type: z.ZodEnum<{
7446
7450
  commit: "commit";
@@ -7450,11 +7454,7 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7450
7454
  name: z.ZodString;
7451
7455
  hash: z.ZodString;
7452
7456
  }, z.core.$strip>>>;
7453
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7454
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7455
7457
  title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7456
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7457
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7458
7458
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7459
7459
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7460
7460
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -8307,10 +8307,10 @@ declare const MessageUpdateSchema: z.ZodObject<{
8307
8307
  }>;
8308
8308
  declare const MessageApiSelectSchema: z.ZodObject<{
8309
8309
  id: z.ZodString;
8310
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8310
8311
  createdAt: z.ZodString;
8311
8312
  updatedAt: z.ZodString;
8312
8313
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
8313
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8314
8314
  role: z.ZodString;
8315
8315
  conversationId: z.ZodString;
8316
8316
  fromSubAgentId: z.ZodNullable<z.ZodString>;
@@ -8328,10 +8328,10 @@ declare const MessageApiSelectSchema: z.ZodObject<{
8328
8328
  }, z.core.$strip>;
8329
8329
  declare const MessageApiInsertSchema: z.ZodObject<{
8330
8330
  id: z.ZodString;
8331
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8331
8332
  createdAt: z.ZodOptional<z.ZodString>;
8332
8333
  updatedAt: z.ZodOptional<z.ZodString>;
8333
8334
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
8334
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8335
8335
  role: z.ZodString;
8336
8336
  conversationId: z.ZodString;
8337
8337
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8349,10 +8349,10 @@ declare const MessageApiInsertSchema: z.ZodObject<{
8349
8349
  }, z.core.$strip>;
8350
8350
  declare const MessageApiUpdateSchema: z.ZodObject<{
8351
8351
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8352
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8352
8353
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8353
8354
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8354
8355
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8355
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8356
8356
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8357
8357
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8358
8358
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -8738,33 +8738,33 @@ declare const FeedbackUpdateSchema: z.ZodObject<{
8738
8738
  in: {};
8739
8739
  }>;
8740
8740
  declare const FeedbackApiSelectSchema: z.ZodObject<{
8741
+ type: z.ZodString;
8741
8742
  id: z.ZodString;
8742
8743
  createdAt: z.ZodString;
8743
8744
  updatedAt: z.ZodString;
8744
- type: z.ZodString;
8745
8745
  conversationId: z.ZodString;
8746
8746
  messageId: z.ZodNullable<z.ZodString>;
8747
8747
  details: z.ZodNullable<z.ZodString>;
8748
8748
  }, z.core.$strip>;
8749
8749
  declare const FeedbackApiInsertSchema: z.ZodObject<{
8750
- createdAt: z.ZodOptional<z.ZodString>;
8751
- updatedAt: z.ZodOptional<z.ZodString>;
8752
8750
  type: z.ZodEnum<{
8753
8751
  positive: "positive";
8754
8752
  negative: "negative";
8755
8753
  }>;
8754
+ createdAt: z.ZodOptional<z.ZodString>;
8755
+ updatedAt: z.ZodOptional<z.ZodString>;
8756
8756
  conversationId: z.ZodString;
8757
8757
  messageId: z.ZodOptional<z.ZodString>;
8758
8758
  details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8759
8759
  id: z.ZodOptional<z.ZodString>;
8760
8760
  }, z.core.$strip>;
8761
8761
  declare const FeedbackApiUpdateSchema: z.ZodObject<{
8762
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8763
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8764
8762
  type: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
8765
8763
  positive: "positive";
8766
8764
  negative: "negative";
8767
8765
  }>>>;
8766
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8767
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8768
8768
  details: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8769
8769
  }, z.core.$strip>;
8770
8770
  declare const ContextCacheSelectSchema: z.ZodObject<{
@@ -8847,6 +8847,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8847
8847
  }>;
8848
8848
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
8849
8849
  id: z.ZodString;
8850
+ createdAt: z.ZodString;
8851
+ updatedAt: z.ZodString;
8850
8852
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8851
8853
  type: z.ZodEnum<{
8852
8854
  commit: "commit";
@@ -8856,11 +8858,9 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
8856
8858
  name: z.ZodString;
8857
8859
  hash: z.ZodString;
8858
8860
  }, z.core.$strip>>>;
8859
- createdAt: z.ZodString;
8860
- updatedAt: z.ZodString;
8861
8861
  value: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
8862
- conversationId: z.ZodString;
8863
8862
  contextConfigId: z.ZodString;
8863
+ conversationId: z.ZodString;
8864
8864
  contextVariableKey: z.ZodString;
8865
8865
  requestHash: z.ZodNullable<z.ZodString>;
8866
8866
  fetchedAt: z.ZodString;
@@ -8868,6 +8868,8 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
8868
8868
  }, z.core.$strip>;
8869
8869
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
8870
8870
  id: z.ZodString;
8871
+ createdAt: z.ZodOptional<z.ZodString>;
8872
+ updatedAt: z.ZodOptional<z.ZodString>;
8871
8873
  ref: z.ZodObject<{
8872
8874
  type: z.ZodEnum<{
8873
8875
  commit: "commit";
@@ -8877,11 +8879,9 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
8877
8879
  name: z.ZodString;
8878
8880
  hash: z.ZodString;
8879
8881
  }, z.core.$strip>;
8880
- createdAt: z.ZodOptional<z.ZodString>;
8881
- updatedAt: z.ZodOptional<z.ZodString>;
8882
8882
  value: z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>;
8883
- conversationId: z.ZodString;
8884
8883
  contextConfigId: z.ZodString;
8884
+ conversationId: z.ZodString;
8885
8885
  contextVariableKey: z.ZodString;
8886
8886
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8887
8887
  fetchedAt: z.ZodOptional<z.ZodString>;
@@ -8889,6 +8889,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
8889
8889
  }, z.core.$strip>;
8890
8890
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8891
8891
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8892
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8893
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8892
8894
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8893
8895
  type: z.ZodEnum<{
8894
8896
  commit: "commit";
@@ -8898,11 +8900,9 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8898
8900
  name: z.ZodString;
8899
8901
  hash: z.ZodString;
8900
8902
  }, z.core.$strip>>>;
8901
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8902
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8903
8903
  value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
8904
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8905
8904
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8905
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8906
8906
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8907
8907
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8908
8908
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -8992,6 +8992,8 @@ declare const DatasetRunUpdateSchema: z.ZodObject<{
8992
8992
  }>;
8993
8993
  declare const DatasetRunApiSelectSchema: z.ZodObject<{
8994
8994
  id: z.ZodString;
8995
+ createdAt: z.ZodString;
8996
+ updatedAt: z.ZodString;
8995
8997
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8996
8998
  type: z.ZodEnum<{
8997
8999
  commit: "commit";
@@ -9001,13 +9003,13 @@ declare const DatasetRunApiSelectSchema: z.ZodObject<{
9001
9003
  name: z.ZodString;
9002
9004
  hash: z.ZodString;
9003
9005
  }, z.core.$strip>>>;
9004
- createdAt: z.ZodString;
9005
- updatedAt: z.ZodString;
9006
9006
  datasetId: z.ZodString;
9007
9007
  evaluationJobConfigId: z.ZodNullable<z.ZodString>;
9008
9008
  datasetRunConfigId: z.ZodNullable<z.ZodString>;
9009
9009
  }, z.core.$strip>;
9010
9010
  declare const DatasetRunApiInsertSchema: z.ZodObject<{
9011
+ createdAt: z.ZodOptional<z.ZodString>;
9012
+ updatedAt: z.ZodOptional<z.ZodString>;
9011
9013
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
9012
9014
  type: "commit" | "tag" | "branch";
9013
9015
  name: string;
@@ -9025,13 +9027,13 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
9025
9027
  name: string;
9026
9028
  hash: string;
9027
9029
  }>>>>;
9028
- createdAt: z.ZodOptional<z.ZodString>;
9029
- updatedAt: z.ZodOptional<z.ZodString>;
9030
9030
  datasetId: z.ZodString;
9031
9031
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9032
9032
  datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9033
9033
  }, z.core.$strip>;
9034
9034
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
9035
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9036
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9035
9037
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
9036
9038
  type: "commit" | "tag" | "branch";
9037
9039
  name: string;
@@ -9049,8 +9051,6 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
9049
9051
  name: string;
9050
9052
  hash: string;
9051
9053
  }>>>>>>;
9052
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9053
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9054
9054
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9055
9055
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9056
9056
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -9744,28 +9744,28 @@ declare const EvaluationResultUpdateSchema: z.ZodObject<{
9744
9744
  in: {};
9745
9745
  }>;
9746
9746
  declare const EvaluationResultApiSelectSchema: z.ZodObject<{
9747
+ output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
9747
9748
  id: z.ZodString;
9748
9749
  createdAt: z.ZodString;
9749
9750
  updatedAt: z.ZodString;
9750
- output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
9751
- conversationId: z.ZodString;
9752
9751
  evaluatorId: z.ZodString;
9752
+ conversationId: z.ZodString;
9753
9753
  evaluationRunId: z.ZodNullable<z.ZodString>;
9754
9754
  }, z.core.$strip>;
9755
9755
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9756
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9756
9757
  createdAt: z.ZodOptional<z.ZodString>;
9757
9758
  updatedAt: z.ZodOptional<z.ZodString>;
9758
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9759
- conversationId: z.ZodString;
9760
9759
  evaluatorId: z.ZodString;
9760
+ conversationId: z.ZodString;
9761
9761
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9762
9762
  }, z.core.$strip>;
9763
9763
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9764
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9764
9765
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9765
9766
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9766
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9767
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9768
9767
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9768
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9769
9769
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9770
9770
  }, z.core.$strip>;
9771
9771
  declare const EvaluationRunSelectSchema: z.ZodObject<{
@@ -9849,6 +9849,8 @@ declare const EvaluationRunUpdateSchema: z.ZodObject<{
9849
9849
  }>;
9850
9850
  declare const EvaluationRunApiSelectSchema: z.ZodObject<{
9851
9851
  id: z.ZodString;
9852
+ createdAt: z.ZodString;
9853
+ updatedAt: z.ZodString;
9852
9854
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9853
9855
  type: z.ZodEnum<{
9854
9856
  commit: "commit";
@@ -9858,12 +9860,12 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<{
9858
9860
  name: z.ZodString;
9859
9861
  hash: z.ZodString;
9860
9862
  }, z.core.$strip>>>;
9861
- createdAt: z.ZodString;
9862
- updatedAt: z.ZodString;
9863
9863
  evaluationRunConfigId: z.ZodNullable<z.ZodString>;
9864
9864
  evaluationJobConfigId: z.ZodNullable<z.ZodString>;
9865
9865
  }, z.core.$strip>;
9866
9866
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9867
+ createdAt: z.ZodOptional<z.ZodString>;
9868
+ updatedAt: z.ZodOptional<z.ZodString>;
9867
9869
  ref: z.ZodOptional<z.ZodNullable<z.ZodType<{
9868
9870
  type: "commit" | "tag" | "branch";
9869
9871
  name: string;
@@ -9881,12 +9883,12 @@ declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9881
9883
  name: string;
9882
9884
  hash: string;
9883
9885
  }>>>>;
9884
- createdAt: z.ZodOptional<z.ZodString>;
9885
- updatedAt: z.ZodOptional<z.ZodString>;
9886
9886
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9887
9887
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9888
9888
  }, z.core.$strip>;
9889
9889
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9890
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9891
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9890
9892
  ref: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
9891
9893
  type: "commit" | "tag" | "branch";
9892
9894
  name: string;
@@ -9904,8 +9906,6 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9904
9906
  name: string;
9905
9907
  hash: string;
9906
9908
  }>>>>>>;
9907
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9908
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9909
9909
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9910
9910
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9911
9911
  }, z.core.$strip>;
@@ -10228,23 +10228,23 @@ declare const EvaluationRunConfigUpdateSchema: z.ZodObject<{
10228
10228
  }>;
10229
10229
  declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<{
10230
10230
  id: z.ZodString;
10231
- name: z.ZodString;
10232
10231
  createdAt: z.ZodString;
10232
+ name: z.ZodString;
10233
10233
  updatedAt: z.ZodString;
10234
10234
  description: z.ZodNullable<z.ZodString>;
10235
10235
  isActive: z.ZodBoolean;
10236
10236
  }, z.core.$strip>;
10237
10237
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
10238
- name: z.ZodString;
10239
10238
  createdAt: z.ZodOptional<z.ZodString>;
10239
+ name: z.ZodString;
10240
10240
  updatedAt: z.ZodOptional<z.ZodString>;
10241
10241
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10242
10242
  isActive: z.ZodOptional<z.ZodBoolean>;
10243
10243
  suiteConfigIds: z.ZodArray<z.ZodString>;
10244
10244
  }, z.core.$strip>;
10245
10245
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10246
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10247
10246
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10247
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10248
10248
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10249
10249
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10250
10250
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
@@ -10252,8 +10252,8 @@ declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10252
10252
  }, z.core.$strip>;
10253
10253
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10254
10254
  id: z.ZodString;
10255
- name: z.ZodString;
10256
10255
  createdAt: z.ZodString;
10256
+ name: z.ZodString;
10257
10257
  updatedAt: z.ZodString;
10258
10258
  description: z.ZodNullable<z.ZodString>;
10259
10259
  isActive: z.ZodBoolean;
@@ -12402,8 +12402,8 @@ declare const EvaluatorUpdateSchema: z.ZodObject<{
12402
12402
  }>;
12403
12403
  declare const EvaluatorApiSelectSchema: z.ZodObject<{
12404
12404
  id: z.ZodString;
12405
- name: z.ZodString;
12406
12405
  createdAt: z.ZodString;
12406
+ name: z.ZodString;
12407
12407
  updatedAt: z.ZodString;
12408
12408
  description: z.ZodNullable<z.ZodString>;
12409
12409
  model: z.ZodType<{
@@ -12432,8 +12432,8 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<{
12432
12432
  passCriteria: z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>;
12433
12433
  }, z.core.$strip>;
12434
12434
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12435
- name: z.ZodString;
12436
12435
  createdAt: z.ZodOptional<z.ZodString>;
12436
+ name: z.ZodString;
12437
12437
  updatedAt: z.ZodOptional<z.ZodString>;
12438
12438
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12439
12439
  model: z.ZodType<{
@@ -12462,8 +12462,8 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12462
12462
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12463
12463
  }, z.core.$strip>;
12464
12464
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12465
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12466
12465
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12466
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12467
12467
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12468
12468
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12469
12469
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
@@ -12738,18 +12738,18 @@ declare const DatasetUpdateSchema: z.ZodObject<{
12738
12738
  }>;
12739
12739
  declare const DatasetApiSelectSchema: z.ZodObject<{
12740
12740
  id: z.ZodString;
12741
- name: z.ZodString;
12742
12741
  createdAt: z.ZodString;
12742
+ name: z.ZodString;
12743
12743
  updatedAt: z.ZodString;
12744
12744
  }, z.core.$strip>;
12745
12745
  declare const DatasetApiInsertSchema: z.ZodObject<{
12746
- name: z.ZodString;
12747
12746
  createdAt: z.ZodOptional<z.ZodString>;
12747
+ name: z.ZodString;
12748
12748
  updatedAt: z.ZodOptional<z.ZodString>;
12749
12749
  }, z.core.$strip>;
12750
12750
  declare const DatasetApiUpdateSchema: z.ZodObject<{
12751
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12752
12751
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12752
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12753
12753
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12754
12754
  }, z.core.$strip>;
12755
12755
  declare const DatasetItemSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -13078,28 +13078,28 @@ declare const DatasetItemUpdateSchema: z.ZodObject<{
13078
13078
  in: {};
13079
13079
  }>;
13080
13080
  declare const DatasetItemApiSelectSchema: z.ZodObject<{
13081
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13081
13082
  id: z.ZodString;
13082
13083
  createdAt: z.ZodString;
13083
13084
  updatedAt: z.ZodString;
13084
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13085
13085
  datasetId: z.ZodString;
13086
13086
  expectedOutput: z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>;
13087
13087
  }, z.core.$strip>;
13088
13088
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
13089
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13089
13090
  createdAt: z.ZodOptional<z.ZodString>;
13090
13091
  updatedAt: z.ZodOptional<z.ZodString>;
13091
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
13092
13092
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13093
13093
  }, z.core.$strip>;
13094
13094
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13095
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
13095
13096
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13096
13097
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13097
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
13098
13098
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
13099
13099
  }, z.core.$strip>;
13100
13100
  declare const DatasetRunItemSchema: z.ZodObject<{
13101
- id: z.ZodOptional<z.ZodString>;
13102
13101
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13102
+ id: z.ZodOptional<z.ZodString>;
13103
13103
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13104
13104
  agentId: z.ZodString;
13105
13105
  }, z.core.$strip>;
@@ -13456,22 +13456,22 @@ declare const DatasetRunConfigUpdateSchema: z.ZodObject<{
13456
13456
  }>;
13457
13457
  declare const DatasetRunConfigApiSelectSchema: z.ZodObject<{
13458
13458
  id: z.ZodString;
13459
- name: z.ZodString;
13460
13459
  createdAt: z.ZodString;
13460
+ name: z.ZodString;
13461
13461
  updatedAt: z.ZodString;
13462
13462
  description: z.ZodNullable<z.ZodString>;
13463
13463
  datasetId: z.ZodString;
13464
13464
  }, z.core.$strip>;
13465
13465
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
13466
- name: z.ZodString;
13467
13466
  createdAt: z.ZodOptional<z.ZodString>;
13467
+ name: z.ZodString;
13468
13468
  updatedAt: z.ZodOptional<z.ZodString>;
13469
13469
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13470
13470
  datasetId: z.ZodString;
13471
13471
  }, z.core.$strip>;
13472
13472
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13473
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13474
13473
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13474
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13475
13475
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13476
13476
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13477
13477
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13762,16 +13762,16 @@ declare const AgentDatasetRelationUpdateSchema: z.ZodObject<{
13762
13762
  in: {};
13763
13763
  }>;
13764
13764
  declare const AgentDatasetRelationApiSelectSchema: z.ZodObject<{
13765
+ agentId: z.ZodString;
13765
13766
  id: z.ZodString;
13766
13767
  createdAt: z.ZodString;
13767
13768
  updatedAt: z.ZodString;
13768
- agentId: z.ZodString;
13769
13769
  datasetId: z.ZodString;
13770
13770
  }, z.core.$strip>;
13771
13771
  declare const AgentDatasetRelationApiInsertSchema: z.ZodObject<{
13772
+ agentId: z.ZodString;
13772
13773
  createdAt: z.ZodOptional<z.ZodString>;
13773
13774
  updatedAt: z.ZodOptional<z.ZodString>;
13774
- agentId: z.ZodString;
13775
13775
  datasetId: z.ZodString;
13776
13776
  }, z.core.$strip>;
13777
13777
  declare const AgentEvaluatorRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -14060,16 +14060,16 @@ declare const AgentEvaluatorRelationUpdateSchema: z.ZodObject<{
14060
14060
  in: {};
14061
14061
  }>;
14062
14062
  declare const AgentEvaluatorRelationApiSelectSchema: z.ZodObject<{
14063
+ agentId: z.ZodString;
14063
14064
  id: z.ZodString;
14064
14065
  createdAt: z.ZodString;
14065
14066
  updatedAt: z.ZodString;
14066
- agentId: z.ZodString;
14067
14067
  evaluatorId: z.ZodString;
14068
14068
  }, z.core.$strip>;
14069
14069
  declare const AgentEvaluatorRelationApiInsertSchema: z.ZodObject<{
14070
+ agentId: z.ZodString;
14070
14071
  createdAt: z.ZodOptional<z.ZodString>;
14071
14072
  updatedAt: z.ZodOptional<z.ZodString>;
14072
- agentId: z.ZodString;
14073
14073
  evaluatorId: z.ZodString;
14074
14074
  }, z.core.$strip>;
14075
14075
  declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -14836,8 +14836,8 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
14836
14836
  }>;
14837
14837
  declare const DataComponentApiSelectSchema: z.ZodObject<{
14838
14838
  id: z.ZodString;
14839
- name: z.ZodString;
14840
14839
  createdAt: z.ZodString;
14840
+ name: z.ZodString;
14841
14841
  updatedAt: z.ZodString;
14842
14842
  description: z.ZodNullable<z.ZodString>;
14843
14843
  props: z.ZodType<{
@@ -15462,7 +15462,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod21.BuildSchema<"inse
15462
15462
  }, {}, {
15463
15463
  length: 256;
15464
15464
  }>;
15465
- }, "tenantId" | "projectId" | "id" | "createdAt" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15465
+ }, "tenantId" | "projectId" | "agentId" | "subAgentId" | "id" | "createdAt" | "dataComponentId">, undefined>, undefined>;
15466
15466
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15467
15467
  dataComponentId: z.ZodOptional<z.ZodString>;
15468
15468
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15476,9 +15476,9 @@ declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15476
15476
  in: {};
15477
15477
  }>;
15478
15478
  declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<{
15479
+ subAgentId: z.ZodString;
15479
15480
  id: z.ZodString;
15480
15481
  createdAt: z.ZodString;
15481
- subAgentId: z.ZodString;
15482
15482
  dataComponentId: z.ZodString;
15483
15483
  }, z.core.$strip>;
15484
15484
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
@@ -15490,9 +15490,9 @@ declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15490
15490
  in: {};
15491
15491
  }>;
15492
15492
  declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
15493
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15493
15494
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15494
15495
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15495
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15496
15496
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15497
15497
  }, z.core.$strip>;
15498
15498
  declare const ArtifactComponentSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -15978,8 +15978,8 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
15978
15978
  }>;
15979
15979
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
15980
15980
  id: z.ZodString;
15981
- name: z.ZodString;
15982
15981
  createdAt: z.ZodString;
15982
+ name: z.ZodString;
15983
15983
  updatedAt: z.ZodString;
15984
15984
  description: z.ZodNullable<z.ZodString>;
15985
15985
  props: z.ZodNullable<z.ZodType<{
@@ -16055,8 +16055,8 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
16055
16055
  }>;
16056
16056
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
16057
16057
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16058
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16059
16058
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16059
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16060
16060
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16061
16061
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16062
16062
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -16392,9 +16392,9 @@ declare const SubAgentArtifactComponentUpdateSchema: z.ZodObject<{
16392
16392
  in: {};
16393
16393
  }>;
16394
16394
  declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<{
16395
+ subAgentId: z.ZodString;
16395
16396
  id: z.ZodString;
16396
16397
  createdAt: z.ZodString;
16397
- subAgentId: z.ZodString;
16398
16398
  artifactComponentId: z.ZodString;
16399
16399
  }, z.core.$strip>;
16400
16400
  declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
@@ -16406,9 +16406,9 @@ declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
16406
16406
  in: {};
16407
16407
  }>;
16408
16408
  declare const SubAgentArtifactComponentApiUpdateSchema: z.ZodObject<{
16409
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16409
16410
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16410
16411
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16411
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16412
16412
  artifactComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16413
16413
  }, z.core.$strip>;
16414
16414
  declare const ExternalAgentSelectSchema: z.ZodObject<{
@@ -16451,8 +16451,8 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
16451
16451
  }>;
16452
16452
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
16453
16453
  id: z.ZodString;
16454
- name: z.ZodString;
16455
16454
  createdAt: z.ZodString;
16455
+ name: z.ZodString;
16456
16456
  updatedAt: z.ZodString;
16457
16457
  description: z.ZodNullable<z.ZodString>;
16458
16458
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16474,8 +16474,8 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16474
16474
  }, z.core.$strip>;
16475
16475
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16476
16476
  id: z.ZodString;
16477
- name: z.ZodString;
16478
16477
  createdAt: z.ZodString;
16478
+ name: z.ZodString;
16479
16479
  updatedAt: z.ZodString;
16480
16480
  description: z.ZodNullable<z.ZodString>;
16481
16481
  models: z.ZodNullable<z.ZodType<{
@@ -16569,8 +16569,8 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16569
16569
  type: z.ZodLiteral<"internal">;
16570
16570
  }, z.core.$strip>, z.ZodObject<{
16571
16571
  id: z.ZodString;
16572
- name: z.ZodString;
16573
16572
  createdAt: z.ZodString;
16573
+ name: z.ZodString;
16574
16574
  updatedAt: z.ZodString;
16575
16575
  description: z.ZodNullable<z.ZodString>;
16576
16576
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -17038,24 +17038,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
17038
17038
  in: {};
17039
17039
  }>;
17040
17040
  declare const ApiKeyUpdateSchema: z.ZodObject<{
17041
+ agentId: z.ZodOptional<z.ZodString>;
17041
17042
  name: z.ZodOptional<z.ZodString>;
17042
17043
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17043
- agentId: z.ZodOptional<z.ZodString>;
17044
17044
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17045
17045
  }, {
17046
17046
  out: {};
17047
17047
  in: {};
17048
17048
  }>;
17049
17049
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
17050
+ agentId: z.ZodString;
17050
17051
  id: z.ZodString;
17051
- name: z.ZodNullable<z.ZodString>;
17052
17052
  createdAt: z.ZodString;
17053
+ name: z.ZodNullable<z.ZodString>;
17053
17054
  updatedAt: z.ZodString;
17054
- agentId: z.ZodString;
17055
17055
  expiresAt: z.ZodNullable<z.ZodString>;
17056
- lastUsedAt: z.ZodNullable<z.ZodString>;
17057
17056
  publicId: z.ZodString;
17058
17057
  keyPrefix: z.ZodString;
17058
+ lastUsedAt: z.ZodNullable<z.ZodString>;
17059
17059
  }, {
17060
17060
  out: {};
17061
17061
  in: {};
@@ -17063,15 +17063,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
17063
17063
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
17064
17064
  data: z.ZodObject<{
17065
17065
  apiKey: z.ZodObject<{
17066
+ agentId: z.ZodString;
17066
17067
  id: z.ZodString;
17067
- name: z.ZodNullable<z.ZodString>;
17068
17068
  createdAt: z.ZodString;
17069
+ name: z.ZodNullable<z.ZodString>;
17069
17070
  updatedAt: z.ZodString;
17070
- agentId: z.ZodString;
17071
17071
  expiresAt: z.ZodNullable<z.ZodString>;
17072
- lastUsedAt: z.ZodNullable<z.ZodString>;
17073
17072
  publicId: z.ZodString;
17074
17073
  keyPrefix: z.ZodString;
17074
+ lastUsedAt: z.ZodNullable<z.ZodString>;
17075
17075
  }, {
17076
17076
  out: {};
17077
17077
  in: {};
@@ -17080,19 +17080,19 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
17080
17080
  }, z.core.$strip>;
17081
17081
  }, z.core.$strip>;
17082
17082
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
17083
- name: z.ZodString;
17083
+ agentId: z.ZodString;
17084
17084
  createdAt: z.ZodOptional<z.ZodString>;
17085
+ name: z.ZodString;
17085
17086
  updatedAt: z.ZodOptional<z.ZodString>;
17086
- agentId: z.ZodString;
17087
17087
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17088
17088
  }, {
17089
17089
  out: {};
17090
17090
  in: {};
17091
17091
  }>;
17092
17092
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
17093
+ agentId: z.ZodOptional<z.ZodString>;
17093
17094
  name: z.ZodOptional<z.ZodString>;
17094
17095
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17095
- agentId: z.ZodOptional<z.ZodString>;
17096
17096
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17097
17097
  }, {
17098
17098
  out: {};
@@ -17894,7 +17894,6 @@ declare const AppUpdateSchema: z.ZodObject<{
17894
17894
  name: z.ZodOptional<z.ZodString>;
17895
17895
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17896
17896
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17897
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17898
17897
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
17899
17898
  type: z.ZodLiteral<"web_client">;
17900
17899
  webClient: z.ZodObject<{
@@ -17920,10 +17919,11 @@ declare const AppUpdateSchema: z.ZodObject<{
17920
17919
  type: z.ZodLiteral<"api">;
17921
17920
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
17922
17921
  }, z.core.$strip>], "type">>;
17922
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
17923
17923
  prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17924
- defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17925
- defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17926
17924
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17925
+ defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17926
+ defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17927
17927
  }, {
17928
17928
  out: {};
17929
17929
  in: {};
@@ -18506,19 +18506,19 @@ declare const AppApiSelectSchema: drizzle_zod21.BuildSchema<"select", {
18506
18506
  }, {}, {}>;
18507
18507
  }, undefined>, undefined>;
18508
18508
  declare const AppApiResponseSelectSchema: z.ZodObject<{
18509
+ type: z.ZodString;
18509
18510
  tenantId: z.ZodNullable<z.ZodString>;
18510
18511
  projectId: z.ZodNullable<z.ZodString>;
18511
18512
  id: z.ZodString;
18512
- name: z.ZodString;
18513
18513
  createdAt: z.ZodString;
18514
+ name: z.ZodString;
18514
18515
  updatedAt: z.ZodString;
18515
18516
  description: z.ZodNullable<z.ZodString>;
18516
- type: z.ZodString;
18517
18517
  enabled: z.ZodBoolean;
18518
18518
  prompt: z.ZodNullable<z.ZodString>;
18519
- defaultAgentId: z.ZodNullable<z.ZodString>;
18520
- defaultProjectId: z.ZodNullable<z.ZodString>;
18521
18519
  lastUsedAt: z.ZodNullable<z.ZodString>;
18520
+ defaultProjectId: z.ZodNullable<z.ZodString>;
18521
+ defaultAgentId: z.ZodNullable<z.ZodString>;
18522
18522
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
18523
18523
  type: z.ZodLiteral<"web_client">;
18524
18524
  webClient: z.ZodObject<{
@@ -18549,17 +18549,16 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
18549
18549
  in: {};
18550
18550
  }>;
18551
18551
  declare const AppApiInsertSchema: z.ZodObject<{
18552
+ type: z.ZodEnum<{
18553
+ web_client: "web_client";
18554
+ api: "api";
18555
+ }>;
18552
18556
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18553
18557
  projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18554
- name: z.ZodString;
18555
18558
  createdAt: z.ZodOptional<z.ZodString>;
18559
+ name: z.ZodString;
18556
18560
  updatedAt: z.ZodOptional<z.ZodString>;
18557
18561
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18558
- type: z.ZodEnum<{
18559
- web_client: "web_client";
18560
- api: "api";
18561
- }>;
18562
- enabled: z.ZodOptional<z.ZodBoolean>;
18563
18562
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
18564
18563
  type: z.ZodLiteral<"web_client">;
18565
18564
  webClient: z.ZodObject<{
@@ -18585,9 +18584,10 @@ declare const AppApiInsertSchema: z.ZodObject<{
18585
18584
  type: z.ZodLiteral<"api">;
18586
18585
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
18587
18586
  }, z.core.$strip>], "type">;
18587
+ enabled: z.ZodOptional<z.ZodBoolean>;
18588
18588
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18589
- defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18590
18589
  defaultProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18590
+ defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18591
18591
  }, {
18592
18592
  out: {};
18593
18593
  in: {};
@@ -18598,7 +18598,6 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18598
18598
  name: z.ZodOptional<z.ZodString>;
18599
18599
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18600
18600
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18601
- enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18602
18601
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18603
18602
  type: z.ZodLiteral<"web_client">;
18604
18603
  webClient: z.ZodObject<{
@@ -18624,10 +18623,11 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18624
18623
  type: z.ZodLiteral<"api">;
18625
18624
  api: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
18626
18625
  }, z.core.$strip>], "type">>;
18626
+ enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
18627
18627
  prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18628
- defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18629
- defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18630
18628
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18629
+ defaultProjectId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18630
+ defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18631
18631
  }, {
18632
18632
  out: {};
18633
18633
  in: {};
@@ -18635,19 +18635,19 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18635
18635
  declare const AppApiCreationResponseSchema: z.ZodObject<{
18636
18636
  data: z.ZodObject<{
18637
18637
  app: z.ZodObject<{
18638
+ type: z.ZodString;
18638
18639
  tenantId: z.ZodNullable<z.ZodString>;
18639
18640
  projectId: z.ZodNullable<z.ZodString>;
18640
18641
  id: z.ZodString;
18641
- name: z.ZodString;
18642
18642
  createdAt: z.ZodString;
18643
+ name: z.ZodString;
18643
18644
  updatedAt: z.ZodString;
18644
18645
  description: z.ZodNullable<z.ZodString>;
18645
- type: z.ZodString;
18646
18646
  enabled: z.ZodBoolean;
18647
18647
  prompt: z.ZodNullable<z.ZodString>;
18648
- defaultAgentId: z.ZodNullable<z.ZodString>;
18649
- defaultProjectId: z.ZodNullable<z.ZodString>;
18650
18648
  lastUsedAt: z.ZodNullable<z.ZodString>;
18649
+ defaultProjectId: z.ZodNullable<z.ZodString>;
18650
+ defaultAgentId: z.ZodNullable<z.ZodString>;
18651
18651
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
18652
18652
  type: z.ZodLiteral<"web_client">;
18653
18653
  webClient: z.ZodObject<{
@@ -19131,45 +19131,45 @@ declare const CredentialReferenceSelectSchema: drizzle_zod21.BuildSchema<"select
19131
19131
  }>;
19132
19132
  }, undefined>, undefined>;
19133
19133
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
19134
+ type: z.ZodString;
19134
19135
  tenantId: z.ZodString;
19135
19136
  projectId: z.ZodString;
19137
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19136
19138
  id: z.ZodString;
19137
19139
  name: z.ZodString;
19138
- type: z.ZodString;
19139
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19140
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19141
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19142
19140
  credentialStoreId: z.ZodString;
19143
19141
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19142
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19143
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19144
19144
  }, {
19145
19145
  out: {};
19146
19146
  in: {};
19147
19147
  }>;
19148
19148
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
19149
+ type: z.ZodOptional<z.ZodString>;
19149
19150
  tenantId: z.ZodOptional<z.ZodString>;
19150
19151
  projectId: z.ZodOptional<z.ZodString>;
19152
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19151
19153
  id: z.ZodOptional<z.ZodString>;
19152
19154
  name: z.ZodOptional<z.ZodString>;
19153
- type: z.ZodOptional<z.ZodString>;
19154
- toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19155
- userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19156
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19157
19155
  credentialStoreId: z.ZodOptional<z.ZodString>;
19158
19156
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
19157
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19158
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19159
19159
  }, {
19160
19160
  out: {};
19161
19161
  in: {};
19162
19162
  }>;
19163
19163
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19164
+ toolId: z.ZodNullable<z.ZodString>;
19164
19165
  id: z.ZodString;
19165
- name: z.ZodString;
19166
19166
  createdAt: z.ZodString;
19167
+ name: z.ZodString;
19167
19168
  updatedAt: z.ZodString;
19168
- toolId: z.ZodNullable<z.ZodString>;
19169
- userId: z.ZodNullable<z.ZodString>;
19170
- createdBy: z.ZodNullable<z.ZodString>;
19171
19169
  credentialStoreId: z.ZodString;
19172
19170
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
19171
+ userId: z.ZodNullable<z.ZodString>;
19172
+ createdBy: z.ZodNullable<z.ZodString>;
19173
19173
  type: z.ZodEnum<{
19174
19174
  readonly memory: "memory";
19175
19175
  readonly keychain: "keychain";
@@ -19753,13 +19753,13 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19753
19753
  }>>>;
19754
19754
  }, z.core.$strip>;
19755
19755
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19756
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19756
19757
  id: z.ZodString;
19757
19758
  name: z.ZodString;
19758
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19759
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19760
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19761
19759
  credentialStoreId: z.ZodString;
19762
19760
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19761
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19762
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19763
19763
  type: z.ZodEnum<{
19764
19764
  readonly memory: "memory";
19765
19765
  readonly keychain: "keychain";
@@ -19768,13 +19768,13 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
19768
19768
  }>;
19769
19769
  }, z.core.$strip>;
19770
19770
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
19771
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19771
19772
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19772
19773
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19773
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19774
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19775
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19776
19774
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19777
19775
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
19776
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19777
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
19778
19778
  type: z.ZodOptional<z.ZodEnum<{
19779
19779
  readonly memory: "memory";
19780
19780
  readonly keychain: "keychain";
@@ -19844,7 +19844,6 @@ declare const McpToolSchema: z.ZodObject<{
19844
19844
  id: z.ZodString;
19845
19845
  name: z.ZodString;
19846
19846
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19847
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19848
19847
  config: z.ZodObject<{
19849
19848
  type: z.ZodLiteral<"mcp">;
19850
19849
  mcp: z.ZodObject<{
@@ -19873,6 +19872,7 @@ declare const McpToolSchema: z.ZodObject<{
19873
19872
  }, z.core.$strip>;
19874
19873
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19875
19874
  credentialScope: z.ZodOptional<z.ZodString>;
19875
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19876
19876
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19877
19877
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19878
19878
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
@@ -19900,14 +19900,14 @@ declare const McpToolSchema: z.ZodObject<{
19900
19900
  declare const MCPToolConfigSchema: z.ZodObject<{
19901
19901
  id: z.ZodString;
19902
19902
  name: z.ZodString;
19903
- expiresAt: z.ZodOptional<z.ZodString>;
19904
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19905
- createdBy: z.ZodOptional<z.ZodString>;
19906
19903
  credentialScope: z.ZodOptional<z.ZodString>;
19904
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19907
19905
  imageUrl: z.ZodOptional<z.ZodString>;
19908
19906
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
19909
19907
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19910
19908
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
19909
+ createdBy: z.ZodOptional<z.ZodString>;
19910
+ expiresAt: z.ZodOptional<z.ZodString>;
19911
19911
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
19912
19912
  name: z.ZodString;
19913
19913
  description: z.ZodOptional<z.ZodString>;
@@ -19934,13 +19934,13 @@ declare const MCPToolConfigSchema: z.ZodObject<{
19934
19934
  sessionId: z.ZodOptional<z.ZodString>;
19935
19935
  }, z.core.$strip>>;
19936
19936
  credential: z.ZodOptional<z.ZodObject<{
19937
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19937
19938
  id: z.ZodString;
19938
19939
  name: z.ZodString;
19939
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19940
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19941
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19942
19940
  credentialStoreId: z.ZodString;
19943
19941
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19942
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19943
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19944
19944
  type: z.ZodEnum<{
19945
19945
  readonly memory: "memory";
19946
19946
  readonly keychain: "keychain";
@@ -19965,7 +19965,6 @@ declare const ToolUpdateSchema: z.ZodObject<{
19965
19965
  id: z.ZodOptional<z.ZodString>;
19966
19966
  name: z.ZodOptional<z.ZodString>;
19967
19967
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19968
- headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
19969
19968
  config: z.ZodOptional<z.ZodObject<{
19970
19969
  type: z.ZodLiteral<"mcp">;
19971
19970
  mcp: z.ZodObject<{
@@ -19994,6 +19993,7 @@ declare const ToolUpdateSchema: z.ZodObject<{
19994
19993
  }, z.core.$strip>>;
19995
19994
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19996
19995
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19996
+ headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
19997
19997
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19998
19998
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
19999
19999
  lastError: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -20004,11 +20004,10 @@ declare const ToolUpdateSchema: z.ZodObject<{
20004
20004
  }>;
20005
20005
  declare const ToolApiSelectSchema: z.ZodObject<{
20006
20006
  id: z.ZodString;
20007
- name: z.ZodString;
20008
20007
  createdAt: z.ZodString;
20008
+ name: z.ZodString;
20009
20009
  updatedAt: z.ZodString;
20010
20010
  description: z.ZodNullable<z.ZodString>;
20011
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
20012
20011
  config: z.ZodType<{
20013
20012
  type: "mcp";
20014
20013
  mcp: ToolMcpConfig;
@@ -20024,6 +20023,7 @@ declare const ToolApiSelectSchema: z.ZodObject<{
20024
20023
  }>>;
20025
20024
  credentialReferenceId: z.ZodNullable<z.ZodString>;
20026
20025
  credentialScope: z.ZodString;
20026
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
20027
20027
  imageUrl: z.ZodNullable<z.ZodString>;
20028
20028
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
20029
20029
  lastError: z.ZodNullable<z.ZodString>;
@@ -20033,7 +20033,6 @@ declare const ToolApiInsertSchema: z.ZodObject<{
20033
20033
  id: z.ZodString;
20034
20034
  name: z.ZodString;
20035
20035
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20036
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20037
20036
  config: z.ZodObject<{
20038
20037
  type: z.ZodLiteral<"mcp">;
20039
20038
  mcp: z.ZodObject<{
@@ -20062,6 +20061,7 @@ declare const ToolApiInsertSchema: z.ZodObject<{
20062
20061
  }, z.core.$strip>;
20063
20062
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20064
20063
  credentialScope: z.ZodOptional<z.ZodString>;
20064
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
20065
20065
  imageUrl: z.ZodOptional<z.ZodString>;
20066
20066
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
20067
20067
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -20071,7 +20071,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20071
20071
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20072
20072
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20073
20073
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20074
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20075
20074
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20076
20075
  type: z.ZodLiteral<"mcp">;
20077
20076
  mcp: z.ZodObject<{
@@ -20100,6 +20099,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20100
20099
  }, z.core.$strip>>>;
20101
20100
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20102
20101
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20102
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20103
20103
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20104
20104
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
20105
20105
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -20441,10 +20441,10 @@ declare const FunctionToolSelectSchema: drizzle_zod21.BuildSchema<"select", {
20441
20441
  declare const FunctionToolInsertSchema: z.ZodObject<{
20442
20442
  tenantId: z.ZodString;
20443
20443
  projectId: z.ZodString;
20444
+ agentId: z.ZodString;
20444
20445
  id: z.ZodString;
20445
20446
  name: z.ZodString;
20446
20447
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20447
- agentId: z.ZodString;
20448
20448
  functionId: z.ZodString;
20449
20449
  }, {
20450
20450
  out: {};
@@ -20453,22 +20453,22 @@ declare const FunctionToolInsertSchema: z.ZodObject<{
20453
20453
  declare const FunctionToolUpdateSchema: z.ZodObject<{
20454
20454
  tenantId: z.ZodOptional<z.ZodString>;
20455
20455
  projectId: z.ZodOptional<z.ZodString>;
20456
+ agentId: z.ZodOptional<z.ZodString>;
20456
20457
  id: z.ZodOptional<z.ZodString>;
20457
20458
  name: z.ZodOptional<z.ZodString>;
20458
20459
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20459
- agentId: z.ZodOptional<z.ZodString>;
20460
20460
  functionId: z.ZodOptional<z.ZodString>;
20461
20461
  }, {
20462
20462
  out: {};
20463
20463
  in: {};
20464
20464
  }>;
20465
20465
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
20466
+ agentId: z.ZodString;
20466
20467
  id: z.ZodString;
20467
- name: z.ZodString;
20468
20468
  createdAt: z.ZodString;
20469
+ name: z.ZodString;
20469
20470
  updatedAt: z.ZodString;
20470
20471
  description: z.ZodNullable<z.ZodString>;
20471
- agentId: z.ZodString;
20472
20472
  functionId: z.ZodString;
20473
20473
  relationshipId: z.ZodOptional<z.ZodString>;
20474
20474
  }, z.core.$strip>;
@@ -20479,10 +20479,10 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<{
20479
20479
  functionId: z.ZodString;
20480
20480
  }, z.core.$strip>;
20481
20481
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
20482
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20482
20483
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20483
20484
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20484
20485
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20485
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20486
20486
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20487
20487
  }, z.core.$strip>;
20488
20488
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -20845,10 +20845,10 @@ declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
20845
20845
  in: {};
20846
20846
  }>;
20847
20847
  declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<{
20848
+ subAgentId: z.ZodString;
20848
20849
  id: z.ZodString;
20849
20850
  createdAt: z.ZodString;
20850
20851
  updatedAt: z.ZodString;
20851
- subAgentId: z.ZodString;
20852
20852
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
20853
20853
  functionToolId: z.ZodString;
20854
20854
  }, z.core.$strip>;
@@ -21183,11 +21183,11 @@ declare const FunctionUpdateSchema: z.ZodObject<{
21183
21183
  }>;
21184
21184
  declare const FunctionApiSelectSchema: z.ZodObject<{
21185
21185
  id: z.ZodString;
21186
+ createdAt: z.ZodString;
21187
+ updatedAt: z.ZodString;
21186
21188
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
21187
21189
  executeCode: z.ZodString;
21188
21190
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
21189
- createdAt: z.ZodString;
21190
- updatedAt: z.ZodString;
21191
21191
  }, z.core.$strip>;
21192
21192
  declare const FunctionApiInsertSchema: z.ZodObject<{
21193
21193
  id: z.ZodString;
@@ -21197,11 +21197,11 @@ declare const FunctionApiInsertSchema: z.ZodObject<{
21197
21197
  }, z.core.$strip>;
21198
21198
  declare const FunctionApiUpdateSchema: z.ZodObject<{
21199
21199
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21200
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21201
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21200
21202
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
21201
21203
  executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21202
21204
  dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21203
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21204
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21205
21205
  }, z.core.$strip>;
21206
21206
  declare const FetchConfigSchema: z.ZodObject<{
21207
21207
  url: z.ZodString;
@@ -21243,13 +21243,13 @@ declare const FetchDefinitionSchema: z.ZodObject<{
21243
21243
  responseSchema: z.ZodOptional<z.ZodAny>;
21244
21244
  defaultValue: z.ZodOptional<z.ZodAny>;
21245
21245
  credential: z.ZodOptional<z.ZodObject<{
21246
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21246
21247
  id: z.ZodString;
21247
21248
  name: z.ZodString;
21248
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21249
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21250
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21251
21249
  credentialStoreId: z.ZodString;
21252
21250
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21251
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21252
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21253
21253
  type: z.ZodEnum<{
21254
21254
  readonly memory: "memory";
21255
21255
  readonly keychain: "keychain";
@@ -21274,8 +21274,8 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
21274
21274
  declare const ContextConfigInsertSchema: z.ZodObject<{
21275
21275
  tenantId: z.ZodString;
21276
21276
  projectId: z.ZodString;
21277
- id: z.ZodOptional<z.ZodString>;
21278
21277
  agentId: z.ZodString;
21278
+ id: z.ZodOptional<z.ZodString>;
21279
21279
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21280
21280
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21281
21281
  }, {
@@ -21285,8 +21285,8 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
21285
21285
  declare const ContextConfigUpdateSchema: z.ZodObject<{
21286
21286
  tenantId: z.ZodOptional<z.ZodString>;
21287
21287
  projectId: z.ZodOptional<z.ZodString>;
21288
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21289
21288
  agentId: z.ZodOptional<z.ZodString>;
21289
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21290
21290
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21291
21291
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21292
21292
  }, {
@@ -21768,38 +21768,38 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
21768
21768
  in: {};
21769
21769
  }>;
21770
21770
  declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
21771
+ subAgentId: z.ZodString;
21772
+ toolId: z.ZodString;
21771
21773
  id: z.ZodString;
21772
21774
  createdAt: z.ZodString;
21773
21775
  updatedAt: z.ZodString;
21774
- subAgentId: z.ZodString;
21775
- toolId: z.ZodString;
21776
21776
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21777
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21778
21777
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21778
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
21779
21779
  }, z.core.$strip>;
21780
21780
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
21781
+ subAgentId: z.ZodString;
21782
+ toolId: z.ZodString;
21781
21783
  id: z.ZodString;
21782
21784
  createdAt: z.ZodOptional<z.ZodString>;
21783
21785
  updatedAt: z.ZodOptional<z.ZodString>;
21784
- subAgentId: z.ZodString;
21785
- toolId: z.ZodString;
21786
21786
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21787
+ selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21787
21788
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21788
21789
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21789
21790
  }, z.core.$strip>>>>;
21790
- selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21791
21791
  }, z.core.$strip>;
21792
21792
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
21793
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21794
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21793
21795
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21794
21796
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21795
21797
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21796
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21797
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21798
21798
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21799
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21799
21800
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21800
21801
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21801
21802
  }, z.core.$strip>>>>>>;
21802
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
21803
21803
  }, z.core.$strip>;
21804
21804
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod21.BuildSchema<"select", {
21805
21805
  createdAt: drizzle_orm_pg_core954.PgColumn<{
@@ -22167,10 +22167,10 @@ declare const SubAgentExternalAgentRelationUpdateSchema: z.ZodObject<{
22167
22167
  in: {};
22168
22168
  }>;
22169
22169
  declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
22170
+ subAgentId: z.ZodString;
22170
22171
  id: z.ZodString;
22171
22172
  createdAt: z.ZodString;
22172
22173
  updatedAt: z.ZodString;
22173
- subAgentId: z.ZodString;
22174
22174
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
22175
22175
  externalAgentId: z.ZodString;
22176
22176
  }, z.core.$strip>;
@@ -22181,10 +22181,10 @@ declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
22181
22181
  externalAgentId: z.ZodString;
22182
22182
  }, z.core.$strip>;
22183
22183
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
22184
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22184
22185
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22185
22186
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22186
22187
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22187
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22188
22188
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22189
22189
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22190
22190
  }, z.core.$strip>;
@@ -22554,10 +22554,10 @@ declare const SubAgentTeamAgentRelationUpdateSchema: z.ZodObject<{
22554
22554
  in: {};
22555
22555
  }>;
22556
22556
  declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
22557
+ subAgentId: z.ZodString;
22557
22558
  id: z.ZodString;
22558
22559
  createdAt: z.ZodString;
22559
22560
  updatedAt: z.ZodString;
22560
- subAgentId: z.ZodString;
22561
22561
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
22562
22562
  targetAgentId: z.ZodString;
22563
22563
  }, z.core.$strip>;
@@ -22568,10 +22568,10 @@ declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
22568
22568
  targetAgentId: z.ZodString;
22569
22569
  }, z.core.$strip>;
22570
22570
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
22571
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22571
22572
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22572
22573
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22573
22574
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22574
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22575
22575
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22576
22576
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22577
22577
  }, z.core.$strip>;
@@ -23916,7 +23916,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod21.BuildSchema<"insert", {
23916
23916
  }, {}, {
23917
23917
  length: 256;
23918
23918
  }>;
23919
- }, "tenantId" | "projectId" | "id" | "name" | "createdAt" | "updatedAt" | "description" | "type" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23919
+ }, "type" | "tenantId" | "projectId" | "id" | "createdAt" | "name" | "updatedAt" | "description" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23920
23920
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
23921
23921
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23922
23922
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -23941,12 +23941,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
23941
23941
  in: {};
23942
23942
  }>;
23943
23943
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
23944
+ type: z.ZodString;
23944
23945
  id: z.ZodString;
23945
- name: z.ZodNullable<z.ZodString>;
23946
23946
  createdAt: z.ZodString;
23947
+ name: z.ZodNullable<z.ZodString>;
23947
23948
  updatedAt: z.ZodString;
23948
23949
  description: z.ZodNullable<z.ZodString>;
23949
- type: z.ZodString;
23950
23950
  metadata: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
23951
23951
  contextId: z.ZodString;
23952
23952
  visibility: z.ZodNullable<z.ZodString>;
@@ -23959,12 +23959,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
23959
23959
  derivedFrom: z.ZodNullable<z.ZodString>;
23960
23960
  }, z.core.$strip>;
23961
23961
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
23962
+ type: z.ZodOptional<z.ZodString>;
23962
23963
  id: z.ZodString;
23963
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23964
23964
  createdAt: z.ZodOptional<z.ZodString>;
23965
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23965
23966
  updatedAt: z.ZodOptional<z.ZodString>;
23966
23967
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23967
- type: z.ZodOptional<z.ZodString>;
23968
23968
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
23969
23969
  contextId: z.ZodString;
23970
23970
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23977,12 +23977,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
23977
23977
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23978
23978
  }, z.core.$strip>;
23979
23979
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
23980
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23980
23981
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23981
- name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23982
23982
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23983
+ name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23983
23984
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23984
23985
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23985
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23986
23986
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>>>;
23987
23987
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23988
23988
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -24058,8 +24058,8 @@ declare const TeamAgentSchema: z.ZodObject<{
24058
24058
  }, z.core.$strip>;
24059
24059
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24060
24060
  id: z.ZodString;
24061
- name: z.ZodString;
24062
24061
  createdAt: z.ZodOptional<z.ZodString>;
24062
+ name: z.ZodString;
24063
24063
  updatedAt: z.ZodOptional<z.ZodString>;
24064
24064
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24065
24065
  models: z.ZodOptional<z.ZodObject<{
@@ -24124,8 +24124,8 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24124
24124
  executionMode: z.ZodOptional<z.ZodString>;
24125
24125
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24126
24126
  id: z.ZodString;
24127
- name: z.ZodString;
24128
24127
  createdAt: z.ZodOptional<z.ZodString>;
24128
+ name: z.ZodString;
24129
24129
  updatedAt: z.ZodOptional<z.ZodString>;
24130
24130
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24131
24131
  models: z.ZodOptional<z.ZodObject<{
@@ -24185,7 +24185,6 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24185
24185
  id: z.ZodString;
24186
24186
  name: z.ZodString;
24187
24187
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24188
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24189
24188
  config: z.ZodObject<{
24190
24189
  type: z.ZodLiteral<"mcp">;
24191
24190
  mcp: z.ZodObject<{
@@ -24214,6 +24213,7 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24214
24213
  }, z.core.$strip>;
24215
24214
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24216
24215
  credentialScope: z.ZodOptional<z.ZodString>;
24216
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24217
24217
  imageUrl: z.ZodOptional<z.ZodString>;
24218
24218
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
24219
24219
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24246,16 +24246,16 @@ declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{
24246
24246
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24247
24247
  id: z.ZodOptional<z.ZodString>;
24248
24248
  name: z.ZodString;
24249
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24250
24249
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24251
- enabled: z.ZodOptional<z.ZodBoolean>;
24252
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24253
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24254
24250
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24251
+ enabled: z.ZodOptional<z.ZodBoolean>;
24252
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24255
24253
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24254
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24256
24255
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24257
24256
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24258
24257
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24258
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24259
24259
  }, z.core.$strip>>>;
24260
24260
  contextConfig: z.ZodOptional<z.ZodObject<{
24261
24261
  id: z.ZodOptional<z.ZodString>;
@@ -24311,8 +24311,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24311
24311
  executionMode: z.ZodOptional<z.ZodString>;
24312
24312
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24313
24313
  id: z.ZodString;
24314
- name: z.ZodString;
24315
24314
  createdAt: z.ZodOptional<z.ZodString>;
24315
+ name: z.ZodString;
24316
24316
  updatedAt: z.ZodOptional<z.ZodString>;
24317
24317
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24318
24318
  models: z.ZodOptional<z.ZodObject<{
@@ -24372,7 +24372,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24372
24372
  id: z.ZodString;
24373
24373
  name: z.ZodString;
24374
24374
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24375
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24376
24375
  config: z.ZodObject<{
24377
24376
  type: z.ZodLiteral<"mcp">;
24378
24377
  mcp: z.ZodObject<{
@@ -24401,6 +24400,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24401
24400
  }, z.core.$strip>;
24402
24401
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24403
24402
  credentialScope: z.ZodOptional<z.ZodString>;
24403
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24404
24404
  imageUrl: z.ZodOptional<z.ZodString>;
24405
24405
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
24406
24406
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24433,16 +24433,16 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24433
24433
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24434
24434
  id: z.ZodOptional<z.ZodString>;
24435
24435
  name: z.ZodString;
24436
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24437
24436
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24438
- enabled: z.ZodOptional<z.ZodBoolean>;
24439
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24440
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24441
24437
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24438
+ enabled: z.ZodOptional<z.ZodBoolean>;
24439
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24442
24440
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24441
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24443
24442
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24444
24443
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24445
24444
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24445
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24446
24446
  }, z.core.$strip>>>;
24447
24447
  contextConfig: z.ZodOptional<z.ZodObject<{
24448
24448
  id: z.ZodOptional<z.ZodString>;
@@ -24614,8 +24614,8 @@ declare const ProjectUpdateSchema: z.ZodObject<{
24614
24614
  }>;
24615
24615
  declare const ProjectApiSelectSchema: z.ZodObject<{
24616
24616
  id: z.ZodString;
24617
- name: z.ZodString;
24618
24617
  createdAt: z.ZodString;
24618
+ name: z.ZodString;
24619
24619
  updatedAt: z.ZodString;
24620
24620
  description: z.ZodNullable<z.ZodString>;
24621
24621
  models: z.ZodNullable<z.ZodObject<{
@@ -24746,8 +24746,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24746
24746
  executionMode: z.ZodOptional<z.ZodString>;
24747
24747
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24748
24748
  id: z.ZodString;
24749
- name: z.ZodString;
24750
24749
  createdAt: z.ZodOptional<z.ZodString>;
24750
+ name: z.ZodString;
24751
24751
  updatedAt: z.ZodOptional<z.ZodString>;
24752
24752
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24753
24753
  models: z.ZodOptional<z.ZodObject<{
@@ -24807,7 +24807,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24807
24807
  id: z.ZodString;
24808
24808
  name: z.ZodString;
24809
24809
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24810
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24811
24810
  config: z.ZodObject<{
24812
24811
  type: z.ZodLiteral<"mcp">;
24813
24812
  mcp: z.ZodObject<{
@@ -24836,6 +24835,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24836
24835
  }, z.core.$strip>;
24837
24836
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24838
24837
  credentialScope: z.ZodOptional<z.ZodString>;
24838
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24839
24839
  imageUrl: z.ZodOptional<z.ZodString>;
24840
24840
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
24841
24841
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24868,16 +24868,16 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24868
24868
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24869
24869
  id: z.ZodOptional<z.ZodString>;
24870
24870
  name: z.ZodString;
24871
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24872
24871
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24873
- enabled: z.ZodOptional<z.ZodBoolean>;
24874
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24875
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24876
24872
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24873
+ enabled: z.ZodOptional<z.ZodBoolean>;
24874
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24877
24875
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24876
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24878
24877
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24879
24878
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24880
24879
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
24880
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24881
24881
  }, z.core.$strip>>>;
24882
24882
  contextConfig: z.ZodOptional<z.ZodObject<{
24883
24883
  id: z.ZodOptional<z.ZodString>;
@@ -24928,7 +24928,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24928
24928
  id: z.ZodString;
24929
24929
  name: z.ZodString;
24930
24930
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24931
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24932
24931
  config: z.ZodObject<{
24933
24932
  type: z.ZodLiteral<"mcp">;
24934
24933
  mcp: z.ZodObject<{
@@ -24957,6 +24956,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24957
24956
  }, z.core.$strip>;
24958
24957
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24959
24958
  credentialScope: z.ZodOptional<z.ZodString>;
24959
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24960
24960
  imageUrl: z.ZodOptional<z.ZodString>;
24961
24961
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
24962
24962
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24999,9 +24999,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
24999
24999
  filePath: z.ZodString;
25000
25000
  content: z.ZodString;
25001
25001
  }, z.core.$strip>>;
25002
+ content: z.ZodString;
25002
25003
  name: z.ZodString;
25003
25004
  description: z.ZodString;
25004
- content: z.ZodString;
25005
25005
  }, z.core.$strict>>>>;
25006
25006
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25007
25007
  id: z.ZodString;
@@ -25079,13 +25079,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25079
25079
  }, z.core.$strip>>>;
25080
25080
  }, z.core.$strict>>;
25081
25081
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25082
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25082
25083
  id: z.ZodString;
25083
25084
  name: z.ZodString;
25084
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25085
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25086
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25087
25085
  credentialStoreId: z.ZodString;
25088
25086
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25087
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25088
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25089
25089
  type: z.ZodEnum<{
25090
25090
  readonly memory: "memory";
25091
25091
  readonly keychain: "keychain";
@@ -25101,8 +25101,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25101
25101
  }>;
25102
25102
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25103
25103
  id: z.ZodString;
25104
- name: z.ZodString;
25105
25104
  createdAt: z.ZodString;
25105
+ name: z.ZodString;
25106
25106
  updatedAt: z.ZodString;
25107
25107
  description: z.ZodNullable<z.ZodString>;
25108
25108
  models: z.ZodNullable<z.ZodType<{
@@ -25218,8 +25218,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25218
25218
  }, z.core.$strip>;
25219
25219
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25220
25220
  id: z.ZodString;
25221
- name: z.ZodString;
25222
25221
  createdAt: z.ZodString;
25222
+ name: z.ZodString;
25223
25223
  updatedAt: z.ZodString;
25224
25224
  description: z.ZodNullable<z.ZodString>;
25225
25225
  models: z.ZodNullable<z.ZodType<{
@@ -25341,8 +25341,8 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25341
25341
  }, z.core.$strip>;
25342
25342
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25343
25343
  id: z.ZodString;
25344
- name: z.ZodString;
25345
25344
  createdAt: z.ZodString;
25345
+ name: z.ZodString;
25346
25346
  updatedAt: z.ZodString;
25347
25347
  description: z.ZodNullable<z.ZodString>;
25348
25348
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
@@ -25350,8 +25350,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25350
25350
  executionMode: z.ZodString;
25351
25351
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25352
25352
  id: z.ZodString;
25353
- name: z.ZodString;
25354
25353
  createdAt: z.ZodString;
25354
+ name: z.ZodString;
25355
25355
  updatedAt: z.ZodString;
25356
25356
  description: z.ZodNullable<z.ZodString>;
25357
25357
  models: z.ZodNullable<z.ZodType<{
@@ -25467,11 +25467,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25467
25467
  }, z.core.$strip>>;
25468
25468
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25469
25469
  id: z.ZodString;
25470
- name: z.ZodString;
25471
25470
  createdAt: z.ZodString;
25471
+ name: z.ZodString;
25472
25472
  updatedAt: z.ZodString;
25473
25473
  description: z.ZodNullable<z.ZodString>;
25474
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25475
25474
  config: z.ZodType<{
25476
25475
  type: "mcp";
25477
25476
  mcp: ToolMcpConfig;
@@ -25487,6 +25486,7 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25487
25486
  }>>;
25488
25487
  credentialReferenceId: z.ZodNullable<z.ZodString>;
25489
25488
  credentialScope: z.ZodString;
25489
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25490
25490
  imageUrl: z.ZodNullable<z.ZodString>;
25491
25491
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
25492
25492
  lastError: z.ZodNullable<z.ZodString>;
@@ -25494,8 +25494,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25494
25494
  }, z.core.$strip>>>;
25495
25495
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25496
25496
  id: z.ZodString;
25497
- name: z.ZodString;
25498
25497
  createdAt: z.ZodString;
25498
+ name: z.ZodString;
25499
25499
  updatedAt: z.ZodString;
25500
25500
  description: z.ZodNullable<z.ZodString>;
25501
25501
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25507,22 +25507,22 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25507
25507
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25508
25508
  }, z.core.$strip>>>;
25509
25509
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25510
+ agentId: z.ZodString;
25510
25511
  id: z.ZodString;
25511
- name: z.ZodString;
25512
25512
  createdAt: z.ZodString;
25513
+ name: z.ZodString;
25513
25514
  updatedAt: z.ZodString;
25514
25515
  description: z.ZodNullable<z.ZodString>;
25515
- agentId: z.ZodString;
25516
25516
  functionId: z.ZodString;
25517
25517
  relationshipId: z.ZodOptional<z.ZodString>;
25518
25518
  }, z.core.$strip>>>;
25519
25519
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25520
25520
  id: z.ZodString;
25521
+ createdAt: z.ZodString;
25522
+ updatedAt: z.ZodString;
25521
25523
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25522
25524
  executeCode: z.ZodString;
25523
25525
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25524
- createdAt: z.ZodString;
25525
- updatedAt: z.ZodString;
25526
25526
  }, z.core.$strip>>>;
25527
25527
  contextConfig: z.ZodNullable<z.ZodObject<{
25528
25528
  id: z.ZodString;
@@ -25573,8 +25573,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25573
25573
  }, z.core.$strip>;
25574
25574
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
25575
25575
  id: z.ZodString;
25576
- name: z.ZodString;
25577
25576
  createdAt: z.ZodString;
25577
+ name: z.ZodString;
25578
25578
  updatedAt: z.ZodString;
25579
25579
  description: z.ZodNullable<z.ZodString>;
25580
25580
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
@@ -25582,11 +25582,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25582
25582
  executionMode: z.ZodString;
25583
25583
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25584
25584
  id: z.ZodString;
25585
- name: z.ZodString;
25586
25585
  createdAt: z.ZodString;
25586
+ name: z.ZodString;
25587
25587
  updatedAt: z.ZodString;
25588
25588
  description: z.ZodNullable<z.ZodString>;
25589
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25590
25589
  config: z.ZodType<{
25591
25590
  type: "mcp";
25592
25591
  mcp: ToolMcpConfig;
@@ -25602,6 +25601,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25602
25601
  }>>;
25603
25602
  credentialReferenceId: z.ZodNullable<z.ZodString>;
25604
25603
  credentialScope: z.ZodString;
25604
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25605
25605
  imageUrl: z.ZodNullable<z.ZodString>;
25606
25606
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
25607
25607
  lastError: z.ZodNullable<z.ZodString>;
@@ -25609,8 +25609,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25609
25609
  }, z.core.$strip>>>;
25610
25610
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25611
25611
  id: z.ZodString;
25612
- name: z.ZodString;
25613
25612
  createdAt: z.ZodString;
25613
+ name: z.ZodString;
25614
25614
  updatedAt: z.ZodString;
25615
25615
  description: z.ZodNullable<z.ZodString>;
25616
25616
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25622,22 +25622,22 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25622
25622
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25623
25623
  }, z.core.$strip>>>;
25624
25624
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25625
+ agentId: z.ZodString;
25625
25626
  id: z.ZodString;
25626
- name: z.ZodString;
25627
25627
  createdAt: z.ZodString;
25628
+ name: z.ZodString;
25628
25629
  updatedAt: z.ZodString;
25629
25630
  description: z.ZodNullable<z.ZodString>;
25630
- agentId: z.ZodString;
25631
25631
  functionId: z.ZodString;
25632
25632
  relationshipId: z.ZodOptional<z.ZodString>;
25633
25633
  }, z.core.$strip>>>;
25634
25634
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25635
25635
  id: z.ZodString;
25636
+ createdAt: z.ZodString;
25637
+ updatedAt: z.ZodString;
25636
25638
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25637
25639
  executeCode: z.ZodString;
25638
25640
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25639
- createdAt: z.ZodString;
25640
- updatedAt: z.ZodString;
25641
25641
  }, z.core.$strip>>>;
25642
25642
  contextConfig: z.ZodNullable<z.ZodObject<{
25643
25643
  id: z.ZodString;
@@ -25687,8 +25687,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25687
25687
  prompt: z.ZodNullable<z.ZodString>;
25688
25688
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25689
25689
  id: z.ZodString;
25690
- name: z.ZodString;
25691
25690
  createdAt: z.ZodString;
25691
+ name: z.ZodString;
25692
25692
  updatedAt: z.ZodString;
25693
25693
  description: z.ZodNullable<z.ZodString>;
25694
25694
  models: z.ZodNullable<z.ZodType<{
@@ -25811,8 +25811,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
25811
25811
  }, z.core.$strip>;
25812
25812
  declare const FullProjectSelectSchema: z.ZodObject<{
25813
25813
  id: z.ZodString;
25814
- name: z.ZodString;
25815
25814
  createdAt: z.ZodString;
25815
+ name: z.ZodString;
25816
25816
  updatedAt: z.ZodString;
25817
25817
  description: z.ZodNullable<z.ZodString>;
25818
25818
  models: z.ZodNullable<z.ZodObject<{
@@ -25841,8 +25841,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25841
25841
  }, z.core.$strip>>;
25842
25842
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25843
25843
  id: z.ZodString;
25844
- name: z.ZodString;
25845
25844
  createdAt: z.ZodString;
25845
+ name: z.ZodString;
25846
25846
  updatedAt: z.ZodString;
25847
25847
  description: z.ZodNullable<z.ZodString>;
25848
25848
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
@@ -25850,8 +25850,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25850
25850
  executionMode: z.ZodString;
25851
25851
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25852
25852
  id: z.ZodString;
25853
- name: z.ZodString;
25854
25853
  createdAt: z.ZodString;
25854
+ name: z.ZodString;
25855
25855
  updatedAt: z.ZodString;
25856
25856
  description: z.ZodNullable<z.ZodString>;
25857
25857
  models: z.ZodNullable<z.ZodType<{
@@ -25967,11 +25967,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25967
25967
  }, z.core.$strip>>;
25968
25968
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25969
25969
  id: z.ZodString;
25970
- name: z.ZodString;
25971
25970
  createdAt: z.ZodString;
25971
+ name: z.ZodString;
25972
25972
  updatedAt: z.ZodString;
25973
25973
  description: z.ZodNullable<z.ZodString>;
25974
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25975
25974
  config: z.ZodType<{
25976
25975
  type: "mcp";
25977
25976
  mcp: ToolMcpConfig;
@@ -25987,6 +25986,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25987
25986
  }>>;
25988
25987
  credentialReferenceId: z.ZodNullable<z.ZodString>;
25989
25988
  credentialScope: z.ZodString;
25989
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
25990
25990
  imageUrl: z.ZodNullable<z.ZodString>;
25991
25991
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
25992
25992
  lastError: z.ZodNullable<z.ZodString>;
@@ -25994,8 +25994,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
25994
25994
  }, z.core.$strip>>>;
25995
25995
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25996
25996
  id: z.ZodString;
25997
- name: z.ZodString;
25998
25997
  createdAt: z.ZodString;
25998
+ name: z.ZodString;
25999
25999
  updatedAt: z.ZodString;
26000
26000
  description: z.ZodNullable<z.ZodString>;
26001
26001
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26007,22 +26007,22 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26007
26007
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26008
26008
  }, z.core.$strip>>>;
26009
26009
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26010
+ agentId: z.ZodString;
26010
26011
  id: z.ZodString;
26011
- name: z.ZodString;
26012
26012
  createdAt: z.ZodString;
26013
+ name: z.ZodString;
26013
26014
  updatedAt: z.ZodString;
26014
26015
  description: z.ZodNullable<z.ZodString>;
26015
- agentId: z.ZodString;
26016
26016
  functionId: z.ZodString;
26017
26017
  relationshipId: z.ZodOptional<z.ZodString>;
26018
26018
  }, z.core.$strip>>>;
26019
26019
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26020
26020
  id: z.ZodString;
26021
+ createdAt: z.ZodString;
26022
+ updatedAt: z.ZodString;
26021
26023
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26022
26024
  executeCode: z.ZodString;
26023
26025
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26024
- createdAt: z.ZodString;
26025
- updatedAt: z.ZodString;
26026
26026
  }, z.core.$strip>>>;
26027
26027
  contextConfig: z.ZodNullable<z.ZodObject<{
26028
26028
  id: z.ZodString;
@@ -26073,11 +26073,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26073
26073
  }, z.core.$strip>>;
26074
26074
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
26075
26075
  id: z.ZodString;
26076
- name: z.ZodString;
26077
26076
  createdAt: z.ZodString;
26077
+ name: z.ZodString;
26078
26078
  updatedAt: z.ZodString;
26079
26079
  description: z.ZodNullable<z.ZodString>;
26080
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26081
26080
  config: z.ZodType<{
26082
26081
  type: "mcp";
26083
26082
  mcp: ToolMcpConfig;
@@ -26093,33 +26092,34 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26093
26092
  }>>;
26094
26093
  credentialReferenceId: z.ZodNullable<z.ZodString>;
26095
26094
  credentialScope: z.ZodString;
26095
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26096
26096
  imageUrl: z.ZodNullable<z.ZodString>;
26097
26097
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
26098
26098
  lastError: z.ZodNullable<z.ZodString>;
26099
26099
  isWorkApp: z.ZodBoolean;
26100
26100
  }, z.core.$strip>>;
26101
26101
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26102
+ agentId: z.ZodString;
26102
26103
  id: z.ZodString;
26103
- name: z.ZodString;
26104
26104
  createdAt: z.ZodString;
26105
+ name: z.ZodString;
26105
26106
  updatedAt: z.ZodString;
26106
26107
  description: z.ZodNullable<z.ZodString>;
26107
- agentId: z.ZodString;
26108
26108
  functionId: z.ZodString;
26109
26109
  relationshipId: z.ZodOptional<z.ZodString>;
26110
26110
  }, z.core.$strip>>>;
26111
26111
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26112
26112
  id: z.ZodString;
26113
+ createdAt: z.ZodString;
26114
+ updatedAt: z.ZodString;
26113
26115
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26114
26116
  executeCode: z.ZodString;
26115
26117
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26116
- createdAt: z.ZodString;
26117
- updatedAt: z.ZodString;
26118
26118
  }, z.core.$strip>>>;
26119
26119
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26120
26120
  id: z.ZodString;
26121
- name: z.ZodString;
26122
26121
  createdAt: z.ZodString;
26122
+ name: z.ZodString;
26123
26123
  updatedAt: z.ZodString;
26124
26124
  description: z.ZodNullable<z.ZodString>;
26125
26125
  props: z.ZodType<{
@@ -26167,8 +26167,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26167
26167
  }, z.core.$strip>>>;
26168
26168
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26169
26169
  id: z.ZodString;
26170
- name: z.ZodString;
26171
26170
  createdAt: z.ZodString;
26171
+ name: z.ZodString;
26172
26172
  updatedAt: z.ZodString;
26173
26173
  description: z.ZodNullable<z.ZodString>;
26174
26174
  props: z.ZodNullable<z.ZodType<{
@@ -26216,8 +26216,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26216
26216
  }, z.core.$strip>>>;
26217
26217
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26218
26218
  id: z.ZodString;
26219
- name: z.ZodString;
26220
26219
  createdAt: z.ZodString;
26220
+ name: z.ZodString;
26221
26221
  updatedAt: z.ZodString;
26222
26222
  description: z.ZodNullable<z.ZodString>;
26223
26223
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26239,15 +26239,15 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26239
26239
  }, z.core.$strip>>>;
26240
26240
  }, z.core.$strict>>;
26241
26241
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26242
+ toolId: z.ZodNullable<z.ZodString>;
26242
26243
  id: z.ZodString;
26243
- name: z.ZodString;
26244
26244
  createdAt: z.ZodString;
26245
+ name: z.ZodString;
26245
26246
  updatedAt: z.ZodString;
26246
- toolId: z.ZodNullable<z.ZodString>;
26247
- userId: z.ZodNullable<z.ZodString>;
26248
- createdBy: z.ZodNullable<z.ZodString>;
26249
26247
  credentialStoreId: z.ZodString;
26250
26248
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26249
+ userId: z.ZodNullable<z.ZodString>;
26250
+ createdBy: z.ZodNullable<z.ZodString>;
26251
26251
  type: z.ZodEnum<{
26252
26252
  readonly memory: "memory";
26253
26253
  readonly keychain: "keychain";
@@ -26836,8 +26836,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26836
26836
  }>;
26837
26837
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26838
26838
  id: z.ZodString;
26839
- name: z.ZodString;
26840
26839
  createdAt: z.ZodString;
26840
+ name: z.ZodString;
26841
26841
  updatedAt: z.ZodString;
26842
26842
  description: z.ZodNullable<z.ZodString>;
26843
26843
  models: z.ZodNullable<z.ZodObject<{
@@ -26866,11 +26866,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26866
26866
  }, z.core.$strip>>;
26867
26867
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
26868
26868
  id: z.ZodString;
26869
- name: z.ZodString;
26870
26869
  createdAt: z.ZodString;
26870
+ name: z.ZodString;
26871
26871
  updatedAt: z.ZodString;
26872
26872
  description: z.ZodNullable<z.ZodString>;
26873
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26874
26873
  config: z.ZodType<{
26875
26874
  type: "mcp";
26876
26875
  mcp: ToolMcpConfig;
@@ -26886,33 +26885,34 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26886
26885
  }>>;
26887
26886
  credentialReferenceId: z.ZodNullable<z.ZodString>;
26888
26887
  credentialScope: z.ZodString;
26888
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26889
26889
  imageUrl: z.ZodNullable<z.ZodString>;
26890
26890
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
26891
26891
  lastError: z.ZodNullable<z.ZodString>;
26892
26892
  isWorkApp: z.ZodBoolean;
26893
26893
  }, z.core.$strip>>;
26894
26894
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26895
+ agentId: z.ZodString;
26895
26896
  id: z.ZodString;
26896
- name: z.ZodString;
26897
26897
  createdAt: z.ZodString;
26898
+ name: z.ZodString;
26898
26899
  updatedAt: z.ZodString;
26899
26900
  description: z.ZodNullable<z.ZodString>;
26900
- agentId: z.ZodString;
26901
26901
  functionId: z.ZodString;
26902
26902
  relationshipId: z.ZodOptional<z.ZodString>;
26903
26903
  }, z.core.$strip>>>;
26904
26904
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26905
26905
  id: z.ZodString;
26906
+ createdAt: z.ZodString;
26907
+ updatedAt: z.ZodString;
26906
26908
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26907
26909
  executeCode: z.ZodString;
26908
26910
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
26909
- createdAt: z.ZodString;
26910
- updatedAt: z.ZodString;
26911
26911
  }, z.core.$strip>>>;
26912
26912
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26913
26913
  id: z.ZodString;
26914
- name: z.ZodString;
26915
26914
  createdAt: z.ZodString;
26915
+ name: z.ZodString;
26916
26916
  updatedAt: z.ZodString;
26917
26917
  description: z.ZodNullable<z.ZodString>;
26918
26918
  props: z.ZodType<{
@@ -26960,8 +26960,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
26960
26960
  }, z.core.$strip>>>;
26961
26961
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26962
26962
  id: z.ZodString;
26963
- name: z.ZodString;
26964
26963
  createdAt: z.ZodString;
26964
+ name: z.ZodString;
26965
26965
  updatedAt: z.ZodString;
26966
26966
  description: z.ZodNullable<z.ZodString>;
26967
26967
  props: z.ZodNullable<z.ZodType<{
@@ -27009,8 +27009,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27009
27009
  }, z.core.$strip>>>;
27010
27010
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27011
27011
  id: z.ZodString;
27012
- name: z.ZodString;
27013
27012
  createdAt: z.ZodString;
27013
+ name: z.ZodString;
27014
27014
  updatedAt: z.ZodString;
27015
27015
  description: z.ZodNullable<z.ZodString>;
27016
27016
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -27032,15 +27032,15 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27032
27032
  }, z.core.$strip>>>;
27033
27033
  }, z.core.$strict>>;
27034
27034
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27035
+ toolId: z.ZodNullable<z.ZodString>;
27035
27036
  id: z.ZodString;
27036
- name: z.ZodString;
27037
27037
  createdAt: z.ZodString;
27038
+ name: z.ZodString;
27038
27039
  updatedAt: z.ZodString;
27039
- toolId: z.ZodNullable<z.ZodString>;
27040
- userId: z.ZodNullable<z.ZodString>;
27041
- createdBy: z.ZodNullable<z.ZodString>;
27042
27040
  credentialStoreId: z.ZodString;
27043
27041
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27042
+ userId: z.ZodNullable<z.ZodString>;
27043
+ createdBy: z.ZodNullable<z.ZodString>;
27044
27044
  type: z.ZodEnum<{
27045
27045
  readonly memory: "memory";
27046
27046
  readonly keychain: "keychain";
@@ -27625,8 +27625,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27625
27625
  }, z.core.$strip>>>;
27626
27626
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
27627
27627
  id: z.ZodString;
27628
- name: z.ZodString;
27629
27628
  createdAt: z.ZodString;
27629
+ name: z.ZodString;
27630
27630
  updatedAt: z.ZodString;
27631
27631
  description: z.ZodNullable<z.ZodString>;
27632
27632
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
@@ -27634,11 +27634,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27634
27634
  executionMode: z.ZodString;
27635
27635
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27636
27636
  id: z.ZodString;
27637
- name: z.ZodString;
27638
27637
  createdAt: z.ZodString;
27638
+ name: z.ZodString;
27639
27639
  updatedAt: z.ZodString;
27640
27640
  description: z.ZodNullable<z.ZodString>;
27641
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27642
27641
  config: z.ZodType<{
27643
27642
  type: "mcp";
27644
27643
  mcp: ToolMcpConfig;
@@ -27654,6 +27653,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27654
27653
  }>>;
27655
27654
  credentialReferenceId: z.ZodNullable<z.ZodString>;
27656
27655
  credentialScope: z.ZodString;
27656
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27657
27657
  imageUrl: z.ZodNullable<z.ZodString>;
27658
27658
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
27659
27659
  lastError: z.ZodNullable<z.ZodString>;
@@ -27661,8 +27661,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27661
27661
  }, z.core.$strip>>>;
27662
27662
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27663
27663
  id: z.ZodString;
27664
- name: z.ZodString;
27665
27664
  createdAt: z.ZodString;
27665
+ name: z.ZodString;
27666
27666
  updatedAt: z.ZodString;
27667
27667
  description: z.ZodNullable<z.ZodString>;
27668
27668
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -27674,22 +27674,22 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27674
27674
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27675
27675
  }, z.core.$strip>>>;
27676
27676
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27677
+ agentId: z.ZodString;
27677
27678
  id: z.ZodString;
27678
- name: z.ZodString;
27679
27679
  createdAt: z.ZodString;
27680
+ name: z.ZodString;
27680
27681
  updatedAt: z.ZodString;
27681
27682
  description: z.ZodNullable<z.ZodString>;
27682
- agentId: z.ZodString;
27683
27683
  functionId: z.ZodString;
27684
27684
  relationshipId: z.ZodOptional<z.ZodString>;
27685
27685
  }, z.core.$strip>>>;
27686
27686
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27687
27687
  id: z.ZodString;
27688
+ createdAt: z.ZodString;
27689
+ updatedAt: z.ZodString;
27688
27690
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27689
27691
  executeCode: z.ZodString;
27690
27692
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
27691
- createdAt: z.ZodString;
27692
- updatedAt: z.ZodString;
27693
27693
  }, z.core.$strip>>>;
27694
27694
  contextConfig: z.ZodNullable<z.ZodObject<{
27695
27695
  id: z.ZodString;
@@ -27739,8 +27739,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27739
27739
  prompt: z.ZodNullable<z.ZodString>;
27740
27740
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27741
27741
  id: z.ZodString;
27742
- name: z.ZodString;
27743
27742
  createdAt: z.ZodString;
27743
+ name: z.ZodString;
27744
27744
  updatedAt: z.ZodString;
27745
27745
  description: z.ZodNullable<z.ZodString>;
27746
27746
  models: z.ZodNullable<z.ZodType<{
@@ -27868,8 +27868,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27868
27868
  declare const ProjectResponse: z.ZodObject<{
27869
27869
  data: z.ZodObject<{
27870
27870
  id: z.ZodString;
27871
- name: z.ZodString;
27872
27871
  createdAt: z.ZodString;
27872
+ name: z.ZodString;
27873
27873
  updatedAt: z.ZodString;
27874
27874
  description: z.ZodNullable<z.ZodString>;
27875
27875
  models: z.ZodNullable<z.ZodObject<{
@@ -27904,8 +27904,8 @@ declare const ProjectResponse: z.ZodObject<{
27904
27904
  declare const SubAgentResponse: z.ZodObject<{
27905
27905
  data: z.ZodObject<{
27906
27906
  id: z.ZodString;
27907
- name: z.ZodString;
27908
27907
  createdAt: z.ZodString;
27908
+ name: z.ZodString;
27909
27909
  updatedAt: z.ZodString;
27910
27910
  description: z.ZodNullable<z.ZodString>;
27911
27911
  models: z.ZodNullable<z.ZodType<{
@@ -28001,8 +28001,8 @@ declare const SubAgentResponse: z.ZodObject<{
28001
28001
  declare const AgentResponse: z.ZodObject<{
28002
28002
  data: z.ZodObject<{
28003
28003
  id: z.ZodString;
28004
- name: z.ZodString;
28005
28004
  createdAt: z.ZodString;
28005
+ name: z.ZodString;
28006
28006
  updatedAt: z.ZodString;
28007
28007
  description: z.ZodNullable<z.ZodString>;
28008
28008
  models: z.ZodNullable<z.ZodType<{
@@ -28091,9 +28091,9 @@ declare const AgentResponse: z.ZodObject<{
28091
28091
  }, {
28092
28092
  transferCountIs?: number | undefined;
28093
28093
  }>>>;
28094
- prompt: z.ZodNullable<z.ZodString>;
28095
28094
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28096
28095
  contextConfigId: z.ZodNullable<z.ZodString>;
28096
+ prompt: z.ZodNullable<z.ZodString>;
28097
28097
  statusUpdates: z.ZodNullable<z.ZodType<{
28098
28098
  enabled?: boolean | undefined;
28099
28099
  numEvents?: number | undefined;
@@ -28157,8 +28157,8 @@ declare const AgentResponse: z.ZodObject<{
28157
28157
  declare const ExternalAgentResponse: z.ZodObject<{
28158
28158
  data: z.ZodObject<{
28159
28159
  id: z.ZodString;
28160
- name: z.ZodString;
28161
28160
  createdAt: z.ZodString;
28161
+ name: z.ZodString;
28162
28162
  updatedAt: z.ZodString;
28163
28163
  description: z.ZodNullable<z.ZodString>;
28164
28164
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -28176,15 +28176,15 @@ declare const ContextConfigResponse: z.ZodObject<{
28176
28176
  }, z.core.$strip>;
28177
28177
  declare const ApiKeyResponse: z.ZodObject<{
28178
28178
  data: z.ZodObject<{
28179
+ agentId: z.ZodString;
28179
28180
  id: z.ZodString;
28180
- name: z.ZodNullable<z.ZodString>;
28181
28181
  createdAt: z.ZodString;
28182
+ name: z.ZodNullable<z.ZodString>;
28182
28183
  updatedAt: z.ZodString;
28183
- agentId: z.ZodString;
28184
28184
  expiresAt: z.ZodNullable<z.ZodString>;
28185
- lastUsedAt: z.ZodNullable<z.ZodString>;
28186
28185
  publicId: z.ZodString;
28187
28186
  keyPrefix: z.ZodString;
28187
+ lastUsedAt: z.ZodNullable<z.ZodString>;
28188
28188
  }, {
28189
28189
  out: {};
28190
28190
  in: {};
@@ -28192,15 +28192,15 @@ declare const ApiKeyResponse: z.ZodObject<{
28192
28192
  }, z.core.$strip>;
28193
28193
  declare const CredentialReferenceResponse: z.ZodObject<{
28194
28194
  data: z.ZodObject<{
28195
+ toolId: z.ZodNullable<z.ZodString>;
28195
28196
  id: z.ZodString;
28196
- name: z.ZodString;
28197
28197
  createdAt: z.ZodString;
28198
+ name: z.ZodString;
28198
28199
  updatedAt: z.ZodString;
28199
- toolId: z.ZodNullable<z.ZodString>;
28200
- userId: z.ZodNullable<z.ZodString>;
28201
- createdBy: z.ZodNullable<z.ZodString>;
28202
28200
  credentialStoreId: z.ZodString;
28203
28201
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28202
+ userId: z.ZodNullable<z.ZodString>;
28203
+ createdBy: z.ZodNullable<z.ZodString>;
28204
28204
  type: z.ZodEnum<{
28205
28205
  readonly memory: "memory";
28206
28206
  readonly keychain: "keychain";
@@ -28787,31 +28787,31 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28787
28787
  declare const FunctionResponse: z.ZodObject<{
28788
28788
  data: z.ZodObject<{
28789
28789
  id: z.ZodString;
28790
+ createdAt: z.ZodString;
28791
+ updatedAt: z.ZodString;
28790
28792
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28791
28793
  executeCode: z.ZodString;
28792
28794
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
28793
- createdAt: z.ZodString;
28794
- updatedAt: z.ZodString;
28795
28795
  }, z.core.$strip>;
28796
28796
  }, z.core.$strip>;
28797
28797
  declare const FunctionToolResponse: z.ZodObject<{
28798
28798
  data: z.ZodObject<{
28799
+ agentId: z.ZodString;
28799
28800
  id: z.ZodString;
28800
- name: z.ZodString;
28801
28801
  createdAt: z.ZodString;
28802
+ name: z.ZodString;
28802
28803
  updatedAt: z.ZodString;
28803
28804
  description: z.ZodNullable<z.ZodString>;
28804
- agentId: z.ZodString;
28805
28805
  functionId: z.ZodString;
28806
28806
  relationshipId: z.ZodOptional<z.ZodString>;
28807
28807
  }, z.core.$strip>;
28808
28808
  }, z.core.$strip>;
28809
28809
  declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
28810
28810
  data: z.ZodObject<{
28811
+ subAgentId: z.ZodString;
28811
28812
  id: z.ZodString;
28812
28813
  createdAt: z.ZodString;
28813
28814
  updatedAt: z.ZodString;
28814
- subAgentId: z.ZodString;
28815
28815
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28816
28816
  functionToolId: z.ZodString;
28817
28817
  }, z.core.$strip>;
@@ -28819,8 +28819,8 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
28819
28819
  declare const DataComponentResponse: z.ZodObject<{
28820
28820
  data: z.ZodObject<{
28821
28821
  id: z.ZodString;
28822
- name: z.ZodString;
28823
28822
  createdAt: z.ZodString;
28823
+ name: z.ZodString;
28824
28824
  updatedAt: z.ZodString;
28825
28825
  description: z.ZodNullable<z.ZodString>;
28826
28826
  props: z.ZodType<{
@@ -28870,8 +28870,8 @@ declare const DataComponentResponse: z.ZodObject<{
28870
28870
  declare const ArtifactComponentResponse: z.ZodObject<{
28871
28871
  data: z.ZodObject<{
28872
28872
  id: z.ZodString;
28873
- name: z.ZodString;
28874
28873
  createdAt: z.ZodString;
28874
+ name: z.ZodString;
28875
28875
  updatedAt: z.ZodString;
28876
28876
  description: z.ZodNullable<z.ZodString>;
28877
28877
  props: z.ZodNullable<z.ZodType<{
@@ -28930,29 +28930,28 @@ declare const SubAgentRelationResponse: z.ZodObject<{
28930
28930
  }, z.core.$strip>;
28931
28931
  declare const SubAgentToolRelationResponse: z.ZodObject<{
28932
28932
  data: z.ZodObject<{
28933
+ subAgentId: z.ZodString;
28934
+ toolId: z.ZodString;
28933
28935
  id: z.ZodString;
28934
28936
  createdAt: z.ZodString;
28935
28937
  updatedAt: z.ZodString;
28936
- subAgentId: z.ZodString;
28937
- toolId: z.ZodString;
28938
28938
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28939
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28940
28939
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28940
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28941
28941
  }, z.core.$strip>;
28942
28942
  }, z.core.$strip>;
28943
28943
  declare const TriggerResponse: z.ZodObject<{
28944
28944
  data: z.ZodObject<{
28945
28945
  id: z.ZodString;
28946
- name: z.ZodString;
28947
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28948
28946
  createdAt: z.ZodString;
28947
+ name: z.ZodString;
28949
28948
  updatedAt: z.ZodString;
28950
28949
  description: z.ZodNullable<z.ZodString>;
28951
- enabled: z.ZodBoolean;
28952
- messageTemplate: z.ZodNullable<z.ZodString>;
28953
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28954
28950
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28951
+ enabled: z.ZodBoolean;
28952
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28955
28953
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28954
+ messageTemplate: z.ZodNullable<z.ZodString>;
28956
28955
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
28957
28956
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28958
28957
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -28970,8 +28969,8 @@ declare const TriggerResponse: z.ZodObject<{
28970
28969
  signature: z.ZodObject<{
28971
28970
  source: z.ZodEnum<{
28972
28971
  query: "query";
28973
- body: "body";
28974
28972
  header: "header";
28973
+ body: "body";
28975
28974
  }>;
28976
28975
  key: z.ZodString;
28977
28976
  prefix: z.ZodOptional<z.ZodString>;
@@ -28980,8 +28979,8 @@ declare const TriggerResponse: z.ZodObject<{
28980
28979
  signedComponents: z.ZodArray<z.ZodObject<{
28981
28980
  source: z.ZodEnum<{
28982
28981
  literal: "literal";
28983
- body: "body";
28984
28982
  header: "header";
28983
+ body: "body";
28985
28984
  }>;
28986
28985
  key: z.ZodOptional<z.ZodString>;
28987
28986
  value: z.ZodOptional<z.ZodString>;
@@ -29000,11 +28999,13 @@ declare const TriggerResponse: z.ZodObject<{
29000
28999
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
29001
29000
  }, z.core.$strip>>;
29002
29001
  }, z.core.$strip>>>;
29002
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29003
29003
  }, z.core.$strip>;
29004
29004
  }, z.core.$strip>;
29005
29005
  declare const TriggerInvocationResponse: z.ZodObject<{
29006
29006
  data: z.ZodObject<{
29007
29007
  id: z.ZodString;
29008
+ createdAt: z.ZodString;
29008
29009
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29009
29010
  type: z.ZodEnum<{
29010
29011
  commit: "commit";
@@ -29014,7 +29015,6 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29014
29015
  name: z.ZodString;
29015
29016
  hash: z.ZodString;
29016
29017
  }, z.core.$strip>>>;
29017
- createdAt: z.ZodString;
29018
29018
  status: z.ZodString;
29019
29019
  conversationId: z.ZodNullable<z.ZodString>;
29020
29020
  triggerId: z.ZodString;
@@ -29025,10 +29025,10 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29025
29025
  }, z.core.$strip>;
29026
29026
  declare const FeedbackResponse: z.ZodObject<{
29027
29027
  data: z.ZodObject<{
29028
+ type: z.ZodString;
29028
29029
  id: z.ZodString;
29029
29030
  createdAt: z.ZodString;
29030
29031
  updatedAt: z.ZodString;
29031
- type: z.ZodString;
29032
29032
  conversationId: z.ZodString;
29033
29033
  messageId: z.ZodNullable<z.ZodString>;
29034
29034
  details: z.ZodNullable<z.ZodString>;
@@ -29037,8 +29037,8 @@ declare const FeedbackResponse: z.ZodObject<{
29037
29037
  declare const ProjectListResponse: z.ZodObject<{
29038
29038
  data: z.ZodArray<z.ZodObject<{
29039
29039
  id: z.ZodString;
29040
- name: z.ZodString;
29041
29040
  createdAt: z.ZodString;
29041
+ name: z.ZodString;
29042
29042
  updatedAt: z.ZodString;
29043
29043
  description: z.ZodNullable<z.ZodString>;
29044
29044
  models: z.ZodNullable<z.ZodObject<{
@@ -29079,8 +29079,8 @@ declare const ProjectListResponse: z.ZodObject<{
29079
29079
  declare const SubAgentListResponse: z.ZodObject<{
29080
29080
  data: z.ZodArray<z.ZodObject<{
29081
29081
  id: z.ZodString;
29082
- name: z.ZodString;
29083
29082
  createdAt: z.ZodString;
29083
+ name: z.ZodString;
29084
29084
  updatedAt: z.ZodString;
29085
29085
  description: z.ZodNullable<z.ZodString>;
29086
29086
  models: z.ZodNullable<z.ZodType<{
@@ -29182,8 +29182,8 @@ declare const SubAgentListResponse: z.ZodObject<{
29182
29182
  declare const AgentListResponse: z.ZodObject<{
29183
29183
  data: z.ZodArray<z.ZodObject<{
29184
29184
  id: z.ZodString;
29185
- name: z.ZodString;
29186
29185
  createdAt: z.ZodString;
29186
+ name: z.ZodString;
29187
29187
  updatedAt: z.ZodString;
29188
29188
  description: z.ZodNullable<z.ZodString>;
29189
29189
  models: z.ZodNullable<z.ZodType<{
@@ -29272,9 +29272,9 @@ declare const AgentListResponse: z.ZodObject<{
29272
29272
  }, {
29273
29273
  transferCountIs?: number | undefined;
29274
29274
  }>>>;
29275
- prompt: z.ZodNullable<z.ZodString>;
29276
29275
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
29277
29276
  contextConfigId: z.ZodNullable<z.ZodString>;
29277
+ prompt: z.ZodNullable<z.ZodString>;
29278
29278
  statusUpdates: z.ZodNullable<z.ZodType<{
29279
29279
  enabled?: boolean | undefined;
29280
29280
  numEvents?: number | undefined;
@@ -29344,8 +29344,8 @@ declare const AgentListResponse: z.ZodObject<{
29344
29344
  declare const ExternalAgentListResponse: z.ZodObject<{
29345
29345
  data: z.ZodArray<z.ZodObject<{
29346
29346
  id: z.ZodString;
29347
- name: z.ZodString;
29348
29347
  createdAt: z.ZodString;
29348
+ name: z.ZodString;
29349
29349
  updatedAt: z.ZodString;
29350
29350
  description: z.ZodNullable<z.ZodString>;
29351
29351
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -29375,15 +29375,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
29375
29375
  }, z.core.$strip>;
29376
29376
  declare const ApiKeyListResponse: z.ZodObject<{
29377
29377
  data: z.ZodArray<z.ZodObject<{
29378
+ agentId: z.ZodString;
29378
29379
  id: z.ZodString;
29379
- name: z.ZodNullable<z.ZodString>;
29380
29380
  createdAt: z.ZodString;
29381
+ name: z.ZodNullable<z.ZodString>;
29381
29382
  updatedAt: z.ZodString;
29382
- agentId: z.ZodString;
29383
29383
  expiresAt: z.ZodNullable<z.ZodString>;
29384
- lastUsedAt: z.ZodNullable<z.ZodString>;
29385
29384
  publicId: z.ZodString;
29386
29385
  keyPrefix: z.ZodString;
29386
+ lastUsedAt: z.ZodNullable<z.ZodString>;
29387
29387
  }, {
29388
29388
  out: {};
29389
29389
  in: {};
@@ -29397,19 +29397,19 @@ declare const ApiKeyListResponse: z.ZodObject<{
29397
29397
  }, z.core.$strip>;
29398
29398
  declare const AppResponse: z.ZodObject<{
29399
29399
  data: z.ZodObject<{
29400
+ type: z.ZodString;
29400
29401
  tenantId: z.ZodNullable<z.ZodString>;
29401
29402
  projectId: z.ZodNullable<z.ZodString>;
29402
29403
  id: z.ZodString;
29403
- name: z.ZodString;
29404
29404
  createdAt: z.ZodString;
29405
+ name: z.ZodString;
29405
29406
  updatedAt: z.ZodString;
29406
29407
  description: z.ZodNullable<z.ZodString>;
29407
- type: z.ZodString;
29408
29408
  enabled: z.ZodBoolean;
29409
29409
  prompt: z.ZodNullable<z.ZodString>;
29410
- defaultAgentId: z.ZodNullable<z.ZodString>;
29411
- defaultProjectId: z.ZodNullable<z.ZodString>;
29412
29410
  lastUsedAt: z.ZodNullable<z.ZodString>;
29411
+ defaultProjectId: z.ZodNullable<z.ZodString>;
29412
+ defaultAgentId: z.ZodNullable<z.ZodString>;
29413
29413
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
29414
29414
  type: z.ZodLiteral<"web_client">;
29415
29415
  webClient: z.ZodObject<{
@@ -29442,19 +29442,19 @@ declare const AppResponse: z.ZodObject<{
29442
29442
  }, z.core.$strip>;
29443
29443
  declare const AppListResponse: z.ZodObject<{
29444
29444
  data: z.ZodArray<z.ZodObject<{
29445
+ type: z.ZodString;
29445
29446
  tenantId: z.ZodNullable<z.ZodString>;
29446
29447
  projectId: z.ZodNullable<z.ZodString>;
29447
29448
  id: z.ZodString;
29448
- name: z.ZodString;
29449
29449
  createdAt: z.ZodString;
29450
+ name: z.ZodString;
29450
29451
  updatedAt: z.ZodString;
29451
29452
  description: z.ZodNullable<z.ZodString>;
29452
- type: z.ZodString;
29453
29453
  enabled: z.ZodBoolean;
29454
29454
  prompt: z.ZodNullable<z.ZodString>;
29455
- defaultAgentId: z.ZodNullable<z.ZodString>;
29456
- defaultProjectId: z.ZodNullable<z.ZodString>;
29457
29455
  lastUsedAt: z.ZodNullable<z.ZodString>;
29456
+ defaultProjectId: z.ZodNullable<z.ZodString>;
29457
+ defaultAgentId: z.ZodNullable<z.ZodString>;
29458
29458
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
29459
29459
  type: z.ZodLiteral<"web_client">;
29460
29460
  webClient: z.ZodObject<{
@@ -29493,15 +29493,15 @@ declare const AppListResponse: z.ZodObject<{
29493
29493
  }, z.core.$strip>;
29494
29494
  declare const CredentialReferenceListResponse: z.ZodObject<{
29495
29495
  data: z.ZodArray<z.ZodObject<{
29496
+ toolId: z.ZodNullable<z.ZodString>;
29496
29497
  id: z.ZodString;
29497
- name: z.ZodString;
29498
29498
  createdAt: z.ZodString;
29499
+ name: z.ZodString;
29499
29500
  updatedAt: z.ZodString;
29500
- toolId: z.ZodNullable<z.ZodString>;
29501
- userId: z.ZodNullable<z.ZodString>;
29502
- createdBy: z.ZodNullable<z.ZodString>;
29503
29501
  credentialStoreId: z.ZodString;
29504
29502
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29503
+ userId: z.ZodNullable<z.ZodString>;
29504
+ createdBy: z.ZodNullable<z.ZodString>;
29505
29505
  type: z.ZodEnum<{
29506
29506
  readonly memory: "memory";
29507
29507
  readonly keychain: "keychain";
@@ -30094,11 +30094,11 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30094
30094
  declare const FunctionListResponse: z.ZodObject<{
30095
30095
  data: z.ZodArray<z.ZodObject<{
30096
30096
  id: z.ZodString;
30097
+ createdAt: z.ZodString;
30098
+ updatedAt: z.ZodString;
30097
30099
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
30098
30100
  executeCode: z.ZodString;
30099
30101
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
30100
- createdAt: z.ZodString;
30101
- updatedAt: z.ZodString;
30102
30102
  }, z.core.$strip>>;
30103
30103
  pagination: z.ZodObject<{
30104
30104
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30109,12 +30109,12 @@ declare const FunctionListResponse: z.ZodObject<{
30109
30109
  }, z.core.$strip>;
30110
30110
  declare const FunctionToolListResponse: z.ZodObject<{
30111
30111
  data: z.ZodArray<z.ZodObject<{
30112
+ agentId: z.ZodString;
30112
30113
  id: z.ZodString;
30113
- name: z.ZodString;
30114
30114
  createdAt: z.ZodString;
30115
+ name: z.ZodString;
30115
30116
  updatedAt: z.ZodString;
30116
30117
  description: z.ZodNullable<z.ZodString>;
30117
- agentId: z.ZodString;
30118
30118
  functionId: z.ZodString;
30119
30119
  relationshipId: z.ZodOptional<z.ZodString>;
30120
30120
  }, z.core.$strip>>;
@@ -30127,10 +30127,10 @@ declare const FunctionToolListResponse: z.ZodObject<{
30127
30127
  }, z.core.$strip>;
30128
30128
  declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30129
30129
  data: z.ZodArray<z.ZodObject<{
30130
+ subAgentId: z.ZodString;
30130
30131
  id: z.ZodString;
30131
30132
  createdAt: z.ZodString;
30132
30133
  updatedAt: z.ZodString;
30133
- subAgentId: z.ZodString;
30134
30134
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30135
30135
  functionToolId: z.ZodString;
30136
30136
  }, z.core.$strip>>;
@@ -30143,10 +30143,10 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30143
30143
  }, z.core.$strip>;
30144
30144
  declare const FeedbackListResponse: z.ZodObject<{
30145
30145
  data: z.ZodArray<z.ZodObject<{
30146
+ type: z.ZodString;
30146
30147
  id: z.ZodString;
30147
30148
  createdAt: z.ZodString;
30148
30149
  updatedAt: z.ZodString;
30149
- type: z.ZodString;
30150
30150
  conversationId: z.ZodString;
30151
30151
  messageId: z.ZodNullable<z.ZodString>;
30152
30152
  details: z.ZodNullable<z.ZodString>;
@@ -30162,8 +30162,8 @@ declare const FeedbackListResponse: z.ZodObject<{
30162
30162
  declare const DataComponentListResponse: z.ZodObject<{
30163
30163
  data: z.ZodArray<z.ZodObject<{
30164
30164
  id: z.ZodString;
30165
- name: z.ZodString;
30166
30165
  createdAt: z.ZodString;
30166
+ name: z.ZodString;
30167
30167
  updatedAt: z.ZodString;
30168
30168
  description: z.ZodNullable<z.ZodString>;
30169
30169
  props: z.ZodType<{
@@ -30219,8 +30219,8 @@ declare const DataComponentListResponse: z.ZodObject<{
30219
30219
  declare const ArtifactComponentListResponse: z.ZodObject<{
30220
30220
  data: z.ZodArray<z.ZodObject<{
30221
30221
  id: z.ZodString;
30222
- name: z.ZodString;
30223
30222
  createdAt: z.ZodString;
30223
+ name: z.ZodString;
30224
30224
  updatedAt: z.ZodString;
30225
30225
  description: z.ZodNullable<z.ZodString>;
30226
30226
  props: z.ZodNullable<z.ZodType<{
@@ -30291,14 +30291,14 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
30291
30291
  }, z.core.$strip>;
30292
30292
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
30293
30293
  data: z.ZodArray<z.ZodObject<{
30294
+ subAgentId: z.ZodString;
30295
+ toolId: z.ZodString;
30294
30296
  id: z.ZodString;
30295
30297
  createdAt: z.ZodString;
30296
30298
  updatedAt: z.ZodString;
30297
- subAgentId: z.ZodString;
30298
- toolId: z.ZodString;
30299
30299
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30300
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30301
30300
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30301
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30302
30302
  }, z.core.$strip>>;
30303
30303
  pagination: z.ZodObject<{
30304
30304
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30310,16 +30310,15 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30310
30310
  declare const TriggerListResponse: z.ZodObject<{
30311
30311
  data: z.ZodArray<z.ZodObject<{
30312
30312
  id: z.ZodString;
30313
- name: z.ZodString;
30314
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30315
30313
  createdAt: z.ZodString;
30314
+ name: z.ZodString;
30316
30315
  updatedAt: z.ZodString;
30317
30316
  description: z.ZodNullable<z.ZodString>;
30318
- enabled: z.ZodBoolean;
30319
- messageTemplate: z.ZodNullable<z.ZodString>;
30320
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30321
30317
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30318
+ enabled: z.ZodBoolean;
30319
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30322
30320
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30321
+ messageTemplate: z.ZodNullable<z.ZodString>;
30323
30322
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30324
30323
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30325
30324
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -30337,8 +30336,8 @@ declare const TriggerListResponse: z.ZodObject<{
30337
30336
  signature: z.ZodObject<{
30338
30337
  source: z.ZodEnum<{
30339
30338
  query: "query";
30340
- body: "body";
30341
30339
  header: "header";
30340
+ body: "body";
30342
30341
  }>;
30343
30342
  key: z.ZodString;
30344
30343
  prefix: z.ZodOptional<z.ZodString>;
@@ -30347,8 +30346,8 @@ declare const TriggerListResponse: z.ZodObject<{
30347
30346
  signedComponents: z.ZodArray<z.ZodObject<{
30348
30347
  source: z.ZodEnum<{
30349
30348
  literal: "literal";
30350
- body: "body";
30351
30349
  header: "header";
30350
+ body: "body";
30352
30351
  }>;
30353
30352
  key: z.ZodOptional<z.ZodString>;
30354
30353
  value: z.ZodOptional<z.ZodString>;
@@ -30367,6 +30366,7 @@ declare const TriggerListResponse: z.ZodObject<{
30367
30366
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
30368
30367
  }, z.core.$strip>>;
30369
30368
  }, z.core.$strip>>>;
30369
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30370
30370
  }, z.core.$strip>>;
30371
30371
  pagination: z.ZodObject<{
30372
30372
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -30378,6 +30378,7 @@ declare const TriggerListResponse: z.ZodObject<{
30378
30378
  declare const TriggerInvocationListResponse: z.ZodObject<{
30379
30379
  data: z.ZodArray<z.ZodObject<{
30380
30380
  id: z.ZodString;
30381
+ createdAt: z.ZodString;
30381
30382
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30382
30383
  type: z.ZodEnum<{
30383
30384
  commit: "commit";
@@ -30387,7 +30388,6 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30387
30388
  name: z.ZodString;
30388
30389
  hash: z.ZodString;
30389
30390
  }, z.core.$strip>>>;
30390
- createdAt: z.ZodString;
30391
30391
  status: z.ZodString;
30392
30392
  conversationId: z.ZodNullable<z.ZodString>;
30393
30393
  triggerId: z.ZodString;
@@ -30405,16 +30405,15 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30405
30405
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30406
30406
  data: z.ZodObject<{
30407
30407
  id: z.ZodString;
30408
- name: z.ZodString;
30409
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30410
30408
  createdAt: z.ZodString;
30409
+ name: z.ZodString;
30411
30410
  updatedAt: z.ZodString;
30412
30411
  description: z.ZodNullable<z.ZodString>;
30413
- enabled: z.ZodBoolean;
30414
- messageTemplate: z.ZodNullable<z.ZodString>;
30415
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30416
30412
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30413
+ enabled: z.ZodBoolean;
30414
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30417
30415
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30416
+ messageTemplate: z.ZodNullable<z.ZodString>;
30418
30417
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30419
30418
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30420
30419
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -30432,8 +30431,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30432
30431
  signature: z.ZodObject<{
30433
30432
  source: z.ZodEnum<{
30434
30433
  query: "query";
30435
- body: "body";
30436
30434
  header: "header";
30435
+ body: "body";
30437
30436
  }>;
30438
30437
  key: z.ZodString;
30439
30438
  prefix: z.ZodOptional<z.ZodString>;
@@ -30442,8 +30441,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30442
30441
  signedComponents: z.ZodArray<z.ZodObject<{
30443
30442
  source: z.ZodEnum<{
30444
30443
  literal: "literal";
30445
- body: "body";
30446
30444
  header: "header";
30445
+ body: "body";
30447
30446
  }>;
30448
30447
  key: z.ZodOptional<z.ZodString>;
30449
30448
  value: z.ZodOptional<z.ZodString>;
@@ -30462,22 +30461,22 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30462
30461
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
30463
30462
  }, z.core.$strip>>;
30464
30463
  }, z.core.$strip>>>;
30464
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30465
30465
  webhookUrl: z.ZodString;
30466
30466
  }, z.core.$strip>;
30467
30467
  }, z.core.$strip>;
30468
30468
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30469
30469
  data: z.ZodObject<{
30470
30470
  id: z.ZodString;
30471
- name: z.ZodString;
30472
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30473
30471
  createdAt: z.ZodString;
30472
+ name: z.ZodString;
30474
30473
  updatedAt: z.ZodString;
30475
30474
  description: z.ZodNullable<z.ZodString>;
30476
- enabled: z.ZodBoolean;
30477
- messageTemplate: z.ZodNullable<z.ZodString>;
30478
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30479
30475
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30476
+ enabled: z.ZodBoolean;
30477
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30480
30478
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30479
+ messageTemplate: z.ZodNullable<z.ZodString>;
30481
30480
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30482
30481
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30483
30482
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -30495,8 +30494,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30495
30494
  signature: z.ZodObject<{
30496
30495
  source: z.ZodEnum<{
30497
30496
  query: "query";
30498
- body: "body";
30499
30497
  header: "header";
30498
+ body: "body";
30500
30499
  }>;
30501
30500
  key: z.ZodString;
30502
30501
  prefix: z.ZodOptional<z.ZodString>;
@@ -30505,8 +30504,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30505
30504
  signedComponents: z.ZodArray<z.ZodObject<{
30506
30505
  source: z.ZodEnum<{
30507
30506
  literal: "literal";
30508
- body: "body";
30509
30507
  header: "header";
30508
+ body: "body";
30510
30509
  }>;
30511
30510
  key: z.ZodOptional<z.ZodString>;
30512
30511
  value: z.ZodOptional<z.ZodString>;
@@ -30525,6 +30524,7 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30525
30524
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
30526
30525
  }, z.core.$strip>>;
30527
30526
  }, z.core.$strip>>>;
30527
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30528
30528
  webhookUrl: z.ZodString;
30529
30529
  }, z.core.$strip>;
30530
30530
  warning: z.ZodOptional<z.ZodString>;
@@ -30532,16 +30532,15 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30532
30532
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30533
30533
  data: z.ZodArray<z.ZodObject<{
30534
30534
  id: z.ZodString;
30535
- name: z.ZodString;
30536
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30537
30535
  createdAt: z.ZodString;
30536
+ name: z.ZodString;
30538
30537
  updatedAt: z.ZodString;
30539
30538
  description: z.ZodNullable<z.ZodString>;
30540
- enabled: z.ZodBoolean;
30541
- messageTemplate: z.ZodNullable<z.ZodString>;
30542
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30543
30539
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30540
+ enabled: z.ZodBoolean;
30541
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30544
30542
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30543
+ messageTemplate: z.ZodNullable<z.ZodString>;
30545
30544
  authentication: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
30546
30545
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30547
30546
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -30559,8 +30558,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30559
30558
  signature: z.ZodObject<{
30560
30559
  source: z.ZodEnum<{
30561
30560
  query: "query";
30562
- body: "body";
30563
30561
  header: "header";
30562
+ body: "body";
30564
30563
  }>;
30565
30564
  key: z.ZodString;
30566
30565
  prefix: z.ZodOptional<z.ZodString>;
@@ -30569,8 +30568,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30569
30568
  signedComponents: z.ZodArray<z.ZodObject<{
30570
30569
  source: z.ZodEnum<{
30571
30570
  literal: "literal";
30572
- body: "body";
30573
30571
  header: "header";
30572
+ body: "body";
30574
30573
  }>;
30575
30574
  key: z.ZodOptional<z.ZodString>;
30576
30575
  value: z.ZodOptional<z.ZodString>;
@@ -30589,6 +30588,7 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30589
30588
  normalizeUnicode: z.ZodDefault<z.ZodBoolean>;
30590
30589
  }, z.core.$strip>>;
30591
30590
  }, z.core.$strip>>>;
30591
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30592
30592
  webhookUrl: z.ZodString;
30593
30593
  }, z.core.$strip>>;
30594
30594
  pagination: z.ZodObject<{
@@ -30607,27 +30607,27 @@ declare const LastRunSummarySchema: z.ZodObject<{
30607
30607
  }, z.core.$strip>;
30608
30608
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30609
30609
  id: z.ZodString;
30610
- name: z.ZodString;
30611
- ref: z.ZodString;
30612
30610
  createdAt: z.ZodString;
30611
+ name: z.ZodString;
30613
30612
  updatedAt: z.ZodString;
30614
30613
  description: z.ZodNullable<z.ZodString>;
30614
+ ref: z.ZodString;
30615
+ createdBy: z.ZodNullable<z.ZodString>;
30615
30616
  enabled: z.ZodBoolean;
30617
+ messageTemplate: z.ZodNullable<z.ZodString>;
30618
+ runAsUserId: z.ZodNullable<z.ZodString>;
30616
30619
  cronExpression: z.ZodNullable<z.ZodString>;
30617
30620
  cronTimezone: z.ZodNullable<z.ZodString>;
30618
30621
  runAt: z.ZodNullable<z.ZodString>;
30619
30622
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30620
- messageTemplate: z.ZodNullable<z.ZodString>;
30621
30623
  maxRetries: z.ZodInt;
30622
30624
  retryDelaySeconds: z.ZodInt;
30623
30625
  timeoutSeconds: z.ZodInt;
30624
- runAsUserId: z.ZodNullable<z.ZodString>;
30625
- createdBy: z.ZodNullable<z.ZodString>;
30626
30626
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30627
30627
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
30628
30628
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
30629
- failed: "failed";
30630
30629
  completed: "completed";
30630
+ failed: "failed";
30631
30631
  }>>;
30632
30632
  lastRunConversationIds: z.ZodArray<z.ZodString>;
30633
30633
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -30645,22 +30645,22 @@ type ScheduledTriggerWithRunInfo = z.infer<typeof ScheduledTriggerWithRunInfoSch
30645
30645
  declare const ScheduledTriggerResponse: z.ZodObject<{
30646
30646
  data: z.ZodObject<{
30647
30647
  id: z.ZodString;
30648
- name: z.ZodString;
30649
- ref: z.ZodString;
30650
30648
  createdAt: z.ZodString;
30649
+ name: z.ZodString;
30651
30650
  updatedAt: z.ZodString;
30652
30651
  description: z.ZodNullable<z.ZodString>;
30652
+ ref: z.ZodString;
30653
+ createdBy: z.ZodNullable<z.ZodString>;
30653
30654
  enabled: z.ZodBoolean;
30655
+ messageTemplate: z.ZodNullable<z.ZodString>;
30656
+ runAsUserId: z.ZodNullable<z.ZodString>;
30654
30657
  cronExpression: z.ZodNullable<z.ZodString>;
30655
30658
  cronTimezone: z.ZodNullable<z.ZodString>;
30656
30659
  runAt: z.ZodNullable<z.ZodString>;
30657
30660
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30658
- messageTemplate: z.ZodNullable<z.ZodString>;
30659
30661
  maxRetries: z.ZodInt;
30660
30662
  retryDelaySeconds: z.ZodInt;
30661
30663
  timeoutSeconds: z.ZodInt;
30662
- runAsUserId: z.ZodNullable<z.ZodString>;
30663
- createdBy: z.ZodNullable<z.ZodString>;
30664
30664
  nextRunAt: z.ZodNullable<z.ZodString>;
30665
30665
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30666
30666
  }, z.core.$strip>;
@@ -30668,22 +30668,22 @@ declare const ScheduledTriggerResponse: z.ZodObject<{
30668
30668
  declare const ScheduledTriggerListResponse: z.ZodObject<{
30669
30669
  data: z.ZodArray<z.ZodObject<{
30670
30670
  id: z.ZodString;
30671
- name: z.ZodString;
30672
- ref: z.ZodString;
30673
30671
  createdAt: z.ZodString;
30672
+ name: z.ZodString;
30674
30673
  updatedAt: z.ZodString;
30675
30674
  description: z.ZodNullable<z.ZodString>;
30675
+ ref: z.ZodString;
30676
+ createdBy: z.ZodNullable<z.ZodString>;
30676
30677
  enabled: z.ZodBoolean;
30678
+ messageTemplate: z.ZodNullable<z.ZodString>;
30679
+ runAsUserId: z.ZodNullable<z.ZodString>;
30677
30680
  cronExpression: z.ZodNullable<z.ZodString>;
30678
30681
  cronTimezone: z.ZodNullable<z.ZodString>;
30679
30682
  runAt: z.ZodNullable<z.ZodString>;
30680
30683
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30681
- messageTemplate: z.ZodNullable<z.ZodString>;
30682
30684
  maxRetries: z.ZodInt;
30683
30685
  retryDelaySeconds: z.ZodInt;
30684
30686
  timeoutSeconds: z.ZodInt;
30685
- runAsUserId: z.ZodNullable<z.ZodString>;
30686
- createdBy: z.ZodNullable<z.ZodString>;
30687
30687
  nextRunAt: z.ZodNullable<z.ZodString>;
30688
30688
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30689
30689
  }, z.core.$strip>>;
@@ -30697,27 +30697,27 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
30697
30697
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30698
30698
  data: z.ZodArray<z.ZodObject<{
30699
30699
  id: z.ZodString;
30700
- name: z.ZodString;
30701
- ref: z.ZodString;
30702
30700
  createdAt: z.ZodString;
30701
+ name: z.ZodString;
30703
30702
  updatedAt: z.ZodString;
30704
30703
  description: z.ZodNullable<z.ZodString>;
30704
+ ref: z.ZodString;
30705
+ createdBy: z.ZodNullable<z.ZodString>;
30705
30706
  enabled: z.ZodBoolean;
30707
+ messageTemplate: z.ZodNullable<z.ZodString>;
30708
+ runAsUserId: z.ZodNullable<z.ZodString>;
30706
30709
  cronExpression: z.ZodNullable<z.ZodString>;
30707
30710
  cronTimezone: z.ZodNullable<z.ZodString>;
30708
30711
  runAt: z.ZodNullable<z.ZodString>;
30709
30712
  payload: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30710
- messageTemplate: z.ZodNullable<z.ZodString>;
30711
30713
  maxRetries: z.ZodInt;
30712
30714
  retryDelaySeconds: z.ZodInt;
30713
30715
  timeoutSeconds: z.ZodInt;
30714
- runAsUserId: z.ZodNullable<z.ZodString>;
30715
- createdBy: z.ZodNullable<z.ZodString>;
30716
30716
  dispatchDelayMs: z.ZodNullable<z.ZodInt>;
30717
30717
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
30718
30718
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
30719
- failed: "failed";
30720
30719
  completed: "completed";
30720
+ failed: "failed";
30721
30721
  }>>;
30722
30722
  lastRunConversationIds: z.ZodArray<z.ZodString>;
30723
30723
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -30741,6 +30741,7 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
30741
30741
  declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
30742
30742
  data: z.ZodObject<{
30743
30743
  id: z.ZodString;
30744
+ createdAt: z.ZodString;
30744
30745
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30745
30746
  type: z.ZodEnum<{
30746
30747
  commit: "commit";
@@ -30750,17 +30751,16 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
30750
30751
  name: z.ZodString;
30751
30752
  hash: z.ZodString;
30752
30753
  }, z.core.$strip>>>;
30753
- createdAt: z.ZodString;
30754
+ runAsUserId: z.ZodNullable<z.ZodString>;
30755
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30754
30756
  status: z.ZodEnum<{
30755
30757
  pending: "pending";
30756
- failed: "failed";
30757
30758
  running: "running";
30758
30759
  completed: "completed";
30760
+ failed: "failed";
30759
30761
  cancelled: "cancelled";
30760
30762
  }>;
30761
30763
  scheduledTriggerId: z.ZodString;
30762
- runAsUserId: z.ZodNullable<z.ZodString>;
30763
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30764
30764
  scheduledFor: z.ZodString;
30765
30765
  startedAt: z.ZodNullable<z.ZodString>;
30766
30766
  completedAt: z.ZodNullable<z.ZodString>;
@@ -30772,6 +30772,7 @@ declare const ScheduledTriggerInvocationResponse: z.ZodObject<{
30772
30772
  declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
30773
30773
  data: z.ZodArray<z.ZodObject<{
30774
30774
  id: z.ZodString;
30775
+ createdAt: z.ZodString;
30775
30776
  ref: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30776
30777
  type: z.ZodEnum<{
30777
30778
  commit: "commit";
@@ -30781,17 +30782,16 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
30781
30782
  name: z.ZodString;
30782
30783
  hash: z.ZodString;
30783
30784
  }, z.core.$strip>>>;
30784
- createdAt: z.ZodString;
30785
+ runAsUserId: z.ZodNullable<z.ZodString>;
30786
+ conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30785
30787
  status: z.ZodEnum<{
30786
30788
  pending: "pending";
30787
- failed: "failed";
30788
30789
  running: "running";
30789
30790
  completed: "completed";
30791
+ failed: "failed";
30790
30792
  cancelled: "cancelled";
30791
30793
  }>;
30792
30794
  scheduledTriggerId: z.ZodString;
30793
- runAsUserId: z.ZodNullable<z.ZodString>;
30794
- conversationIds: z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>;
30795
30795
  scheduledFor: z.ZodString;
30796
30796
  startedAt: z.ZodNullable<z.ZodString>;
30797
30797
  completedAt: z.ZodNullable<z.ZodString>;
@@ -30808,17 +30808,17 @@ declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{
30808
30808
  }, z.core.$strip>;
30809
30809
  declare const SubAgentDataComponentResponse: z.ZodObject<{
30810
30810
  data: z.ZodObject<{
30811
+ subAgentId: z.ZodString;
30811
30812
  id: z.ZodString;
30812
30813
  createdAt: z.ZodString;
30813
- subAgentId: z.ZodString;
30814
30814
  dataComponentId: z.ZodString;
30815
30815
  }, z.core.$strip>;
30816
30816
  }, z.core.$strip>;
30817
30817
  declare const SubAgentArtifactComponentResponse: z.ZodObject<{
30818
30818
  data: z.ZodObject<{
30819
+ subAgentId: z.ZodString;
30819
30820
  id: z.ZodString;
30820
30821
  createdAt: z.ZodString;
30821
- subAgentId: z.ZodString;
30822
30822
  artifactComponentId: z.ZodString;
30823
30823
  }, z.core.$strip>;
30824
30824
  }, z.core.$strip>;
@@ -30860,8 +30860,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30860
30860
  executionMode: z.ZodOptional<z.ZodString>;
30861
30861
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30862
30862
  id: z.ZodString;
30863
- name: z.ZodString;
30864
30863
  createdAt: z.ZodOptional<z.ZodString>;
30864
+ name: z.ZodString;
30865
30865
  updatedAt: z.ZodOptional<z.ZodString>;
30866
30866
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30867
30867
  models: z.ZodOptional<z.ZodObject<{
@@ -30921,7 +30921,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30921
30921
  id: z.ZodString;
30922
30922
  name: z.ZodString;
30923
30923
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30924
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30925
30924
  config: z.ZodObject<{
30926
30925
  type: z.ZodLiteral<"mcp">;
30927
30926
  mcp: z.ZodObject<{
@@ -30950,6 +30949,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30950
30949
  }, z.core.$strip>;
30951
30950
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30952
30951
  credentialScope: z.ZodOptional<z.ZodString>;
30952
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
30953
30953
  imageUrl: z.ZodOptional<z.ZodString>;
30954
30954
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
30955
30955
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30982,16 +30982,16 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
30982
30982
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30983
30983
  id: z.ZodOptional<z.ZodString>;
30984
30984
  name: z.ZodString;
30985
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
30986
30985
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30987
- enabled: z.ZodOptional<z.ZodBoolean>;
30988
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30989
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30990
30986
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30987
+ enabled: z.ZodOptional<z.ZodBoolean>;
30988
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
30991
30989
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
30990
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30992
30991
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
30993
30992
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30994
30993
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
30994
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30995
30995
  }, z.core.$strip>>>;
30996
30996
  contextConfig: z.ZodOptional<z.ZodObject<{
30997
30997
  id: z.ZodOptional<z.ZodString>;
@@ -31042,7 +31042,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31042
31042
  id: z.ZodString;
31043
31043
  name: z.ZodString;
31044
31044
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31045
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31046
31045
  config: z.ZodObject<{
31047
31046
  type: z.ZodLiteral<"mcp">;
31048
31047
  mcp: z.ZodObject<{
@@ -31071,6 +31070,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31071
31070
  }, z.core.$strip>;
31072
31071
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31073
31072
  credentialScope: z.ZodOptional<z.ZodString>;
31073
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
31074
31074
  imageUrl: z.ZodOptional<z.ZodString>;
31075
31075
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
31076
31076
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31113,9 +31113,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31113
31113
  filePath: z.ZodString;
31114
31114
  content: z.ZodString;
31115
31115
  }, z.core.$strip>>;
31116
+ content: z.ZodString;
31116
31117
  name: z.ZodString;
31117
31118
  description: z.ZodString;
31118
- content: z.ZodString;
31119
31119
  }, z.core.$strict>>>>;
31120
31120
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31121
31121
  id: z.ZodString;
@@ -31193,13 +31193,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31193
31193
  }, z.core.$strip>>>;
31194
31194
  }, z.core.$strict>>;
31195
31195
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31196
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31196
31197
  id: z.ZodString;
31197
31198
  name: z.ZodString;
31198
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31199
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31200
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31201
31199
  credentialStoreId: z.ZodString;
31202
31200
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31201
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31202
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31203
31203
  type: z.ZodEnum<{
31204
31204
  readonly memory: "memory";
31205
31205
  readonly keychain: "keychain";
@@ -31217,8 +31217,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31217
31217
  declare const FullProjectSelectResponse: z.ZodObject<{
31218
31218
  data: z.ZodObject<{
31219
31219
  id: z.ZodString;
31220
- name: z.ZodString;
31221
31220
  createdAt: z.ZodString;
31221
+ name: z.ZodString;
31222
31222
  updatedAt: z.ZodString;
31223
31223
  description: z.ZodNullable<z.ZodString>;
31224
31224
  models: z.ZodNullable<z.ZodObject<{
@@ -31247,8 +31247,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31247
31247
  }, z.core.$strip>>;
31248
31248
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31249
31249
  id: z.ZodString;
31250
- name: z.ZodString;
31251
31250
  createdAt: z.ZodString;
31251
+ name: z.ZodString;
31252
31252
  updatedAt: z.ZodString;
31253
31253
  description: z.ZodNullable<z.ZodString>;
31254
31254
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
@@ -31256,8 +31256,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31256
31256
  executionMode: z.ZodString;
31257
31257
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31258
31258
  id: z.ZodString;
31259
- name: z.ZodString;
31260
31259
  createdAt: z.ZodString;
31260
+ name: z.ZodString;
31261
31261
  updatedAt: z.ZodString;
31262
31262
  description: z.ZodNullable<z.ZodString>;
31263
31263
  models: z.ZodNullable<z.ZodType<{
@@ -31373,11 +31373,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31373
31373
  }, z.core.$strip>>;
31374
31374
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31375
31375
  id: z.ZodString;
31376
- name: z.ZodString;
31377
31376
  createdAt: z.ZodString;
31377
+ name: z.ZodString;
31378
31378
  updatedAt: z.ZodString;
31379
31379
  description: z.ZodNullable<z.ZodString>;
31380
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31381
31380
  config: z.ZodType<{
31382
31381
  type: "mcp";
31383
31382
  mcp: ToolMcpConfig;
@@ -31393,6 +31392,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31393
31392
  }>>;
31394
31393
  credentialReferenceId: z.ZodNullable<z.ZodString>;
31395
31394
  credentialScope: z.ZodString;
31395
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31396
31396
  imageUrl: z.ZodNullable<z.ZodString>;
31397
31397
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
31398
31398
  lastError: z.ZodNullable<z.ZodString>;
@@ -31400,8 +31400,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31400
31400
  }, z.core.$strip>>>;
31401
31401
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31402
31402
  id: z.ZodString;
31403
- name: z.ZodString;
31404
31403
  createdAt: z.ZodString;
31404
+ name: z.ZodString;
31405
31405
  updatedAt: z.ZodString;
31406
31406
  description: z.ZodNullable<z.ZodString>;
31407
31407
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31413,22 +31413,22 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31413
31413
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31414
31414
  }, z.core.$strip>>>;
31415
31415
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31416
+ agentId: z.ZodString;
31416
31417
  id: z.ZodString;
31417
- name: z.ZodString;
31418
31418
  createdAt: z.ZodString;
31419
+ name: z.ZodString;
31419
31420
  updatedAt: z.ZodString;
31420
31421
  description: z.ZodNullable<z.ZodString>;
31421
- agentId: z.ZodString;
31422
31422
  functionId: z.ZodString;
31423
31423
  relationshipId: z.ZodOptional<z.ZodString>;
31424
31424
  }, z.core.$strip>>>;
31425
31425
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31426
31426
  id: z.ZodString;
31427
+ createdAt: z.ZodString;
31428
+ updatedAt: z.ZodString;
31427
31429
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31428
31430
  executeCode: z.ZodString;
31429
31431
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31430
- createdAt: z.ZodString;
31431
- updatedAt: z.ZodString;
31432
31432
  }, z.core.$strip>>>;
31433
31433
  contextConfig: z.ZodNullable<z.ZodObject<{
31434
31434
  id: z.ZodString;
@@ -31479,11 +31479,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31479
31479
  }, z.core.$strip>>;
31480
31480
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
31481
31481
  id: z.ZodString;
31482
- name: z.ZodString;
31483
31482
  createdAt: z.ZodString;
31483
+ name: z.ZodString;
31484
31484
  updatedAt: z.ZodString;
31485
31485
  description: z.ZodNullable<z.ZodString>;
31486
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31487
31486
  config: z.ZodType<{
31488
31487
  type: "mcp";
31489
31488
  mcp: ToolMcpConfig;
@@ -31499,33 +31498,34 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31499
31498
  }>>;
31500
31499
  credentialReferenceId: z.ZodNullable<z.ZodString>;
31501
31500
  credentialScope: z.ZodString;
31501
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31502
31502
  imageUrl: z.ZodNullable<z.ZodString>;
31503
31503
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
31504
31504
  lastError: z.ZodNullable<z.ZodString>;
31505
31505
  isWorkApp: z.ZodBoolean;
31506
31506
  }, z.core.$strip>>;
31507
31507
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31508
+ agentId: z.ZodString;
31508
31509
  id: z.ZodString;
31509
- name: z.ZodString;
31510
31510
  createdAt: z.ZodString;
31511
+ name: z.ZodString;
31511
31512
  updatedAt: z.ZodString;
31512
31513
  description: z.ZodNullable<z.ZodString>;
31513
- agentId: z.ZodString;
31514
31514
  functionId: z.ZodString;
31515
31515
  relationshipId: z.ZodOptional<z.ZodString>;
31516
31516
  }, z.core.$strip>>>;
31517
31517
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31518
31518
  id: z.ZodString;
31519
+ createdAt: z.ZodString;
31520
+ updatedAt: z.ZodString;
31519
31521
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31520
31522
  executeCode: z.ZodString;
31521
31523
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
31522
- createdAt: z.ZodString;
31523
- updatedAt: z.ZodString;
31524
31524
  }, z.core.$strip>>>;
31525
31525
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31526
31526
  id: z.ZodString;
31527
- name: z.ZodString;
31528
31527
  createdAt: z.ZodString;
31528
+ name: z.ZodString;
31529
31529
  updatedAt: z.ZodString;
31530
31530
  description: z.ZodNullable<z.ZodString>;
31531
31531
  props: z.ZodType<{
@@ -31573,8 +31573,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31573
31573
  }, z.core.$strip>>>;
31574
31574
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31575
31575
  id: z.ZodString;
31576
- name: z.ZodString;
31577
31576
  createdAt: z.ZodString;
31577
+ name: z.ZodString;
31578
31578
  updatedAt: z.ZodString;
31579
31579
  description: z.ZodNullable<z.ZodString>;
31580
31580
  props: z.ZodNullable<z.ZodType<{
@@ -31622,8 +31622,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31622
31622
  }, z.core.$strip>>>;
31623
31623
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31624
31624
  id: z.ZodString;
31625
- name: z.ZodString;
31626
31625
  createdAt: z.ZodString;
31626
+ name: z.ZodString;
31627
31627
  updatedAt: z.ZodString;
31628
31628
  description: z.ZodNullable<z.ZodString>;
31629
31629
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31645,15 +31645,15 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31645
31645
  }, z.core.$strip>>>;
31646
31646
  }, z.core.$strict>>;
31647
31647
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31648
+ toolId: z.ZodNullable<z.ZodString>;
31648
31649
  id: z.ZodString;
31649
- name: z.ZodString;
31650
31650
  createdAt: z.ZodString;
31651
+ name: z.ZodString;
31651
31652
  updatedAt: z.ZodString;
31652
- toolId: z.ZodNullable<z.ZodString>;
31653
- userId: z.ZodNullable<z.ZodString>;
31654
- createdBy: z.ZodNullable<z.ZodString>;
31655
31653
  credentialStoreId: z.ZodString;
31656
31654
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31655
+ userId: z.ZodNullable<z.ZodString>;
31656
+ createdBy: z.ZodNullable<z.ZodString>;
31657
31657
  type: z.ZodEnum<{
31658
31658
  readonly memory: "memory";
31659
31659
  readonly keychain: "keychain";
@@ -32244,8 +32244,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32244
32244
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32245
32245
  data: z.ZodObject<{
32246
32246
  id: z.ZodString;
32247
- name: z.ZodString;
32248
32247
  createdAt: z.ZodString;
32248
+ name: z.ZodString;
32249
32249
  updatedAt: z.ZodString;
32250
32250
  description: z.ZodNullable<z.ZodString>;
32251
32251
  models: z.ZodNullable<z.ZodObject<{
@@ -32274,11 +32274,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32274
32274
  }, z.core.$strip>>;
32275
32275
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
32276
32276
  id: z.ZodString;
32277
- name: z.ZodString;
32278
32277
  createdAt: z.ZodString;
32278
+ name: z.ZodString;
32279
32279
  updatedAt: z.ZodString;
32280
32280
  description: z.ZodNullable<z.ZodString>;
32281
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32282
32281
  config: z.ZodType<{
32283
32282
  type: "mcp";
32284
32283
  mcp: ToolMcpConfig;
@@ -32294,33 +32293,34 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32294
32293
  }>>;
32295
32294
  credentialReferenceId: z.ZodNullable<z.ZodString>;
32296
32295
  credentialScope: z.ZodString;
32296
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32297
32297
  imageUrl: z.ZodNullable<z.ZodString>;
32298
32298
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
32299
32299
  lastError: z.ZodNullable<z.ZodString>;
32300
32300
  isWorkApp: z.ZodBoolean;
32301
32301
  }, z.core.$strip>>;
32302
32302
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32303
+ agentId: z.ZodString;
32303
32304
  id: z.ZodString;
32304
- name: z.ZodString;
32305
32305
  createdAt: z.ZodString;
32306
+ name: z.ZodString;
32306
32307
  updatedAt: z.ZodString;
32307
32308
  description: z.ZodNullable<z.ZodString>;
32308
- agentId: z.ZodString;
32309
32309
  functionId: z.ZodString;
32310
32310
  relationshipId: z.ZodOptional<z.ZodString>;
32311
32311
  }, z.core.$strip>>>;
32312
32312
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32313
32313
  id: z.ZodString;
32314
+ createdAt: z.ZodString;
32315
+ updatedAt: z.ZodString;
32314
32316
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32315
32317
  executeCode: z.ZodString;
32316
32318
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
32317
- createdAt: z.ZodString;
32318
- updatedAt: z.ZodString;
32319
32319
  }, z.core.$strip>>>;
32320
32320
  dataComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32321
32321
  id: z.ZodString;
32322
- name: z.ZodString;
32323
32322
  createdAt: z.ZodString;
32323
+ name: z.ZodString;
32324
32324
  updatedAt: z.ZodString;
32325
32325
  description: z.ZodNullable<z.ZodString>;
32326
32326
  props: z.ZodType<{
@@ -32368,8 +32368,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32368
32368
  }, z.core.$strip>>>;
32369
32369
  artifactComponents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32370
32370
  id: z.ZodString;
32371
- name: z.ZodString;
32372
32371
  createdAt: z.ZodString;
32372
+ name: z.ZodString;
32373
32373
  updatedAt: z.ZodString;
32374
32374
  description: z.ZodNullable<z.ZodString>;
32375
32375
  props: z.ZodNullable<z.ZodType<{
@@ -32417,8 +32417,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32417
32417
  }, z.core.$strip>>>;
32418
32418
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32419
32419
  id: z.ZodString;
32420
- name: z.ZodString;
32421
32420
  createdAt: z.ZodString;
32421
+ name: z.ZodString;
32422
32422
  updatedAt: z.ZodString;
32423
32423
  description: z.ZodNullable<z.ZodString>;
32424
32424
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32440,15 +32440,15 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32440
32440
  }, z.core.$strip>>>;
32441
32441
  }, z.core.$strict>>;
32442
32442
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32443
+ toolId: z.ZodNullable<z.ZodString>;
32443
32444
  id: z.ZodString;
32444
- name: z.ZodString;
32445
32445
  createdAt: z.ZodString;
32446
+ name: z.ZodString;
32446
32447
  updatedAt: z.ZodString;
32447
- toolId: z.ZodNullable<z.ZodString>;
32448
- userId: z.ZodNullable<z.ZodString>;
32449
- createdBy: z.ZodNullable<z.ZodString>;
32450
32448
  credentialStoreId: z.ZodString;
32451
32449
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32450
+ userId: z.ZodNullable<z.ZodString>;
32451
+ createdBy: z.ZodNullable<z.ZodString>;
32452
32452
  type: z.ZodEnum<{
32453
32453
  readonly memory: "memory";
32454
32454
  readonly keychain: "keychain";
@@ -33033,8 +33033,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33033
33033
  }, z.core.$strip>>>;
33034
33034
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33035
33035
  id: z.ZodString;
33036
- name: z.ZodString;
33037
33036
  createdAt: z.ZodString;
33037
+ name: z.ZodString;
33038
33038
  updatedAt: z.ZodString;
33039
33039
  description: z.ZodNullable<z.ZodString>;
33040
33040
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
@@ -33042,11 +33042,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33042
33042
  executionMode: z.ZodString;
33043
33043
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33044
33044
  id: z.ZodString;
33045
- name: z.ZodString;
33046
33045
  createdAt: z.ZodString;
33046
+ name: z.ZodString;
33047
33047
  updatedAt: z.ZodString;
33048
33048
  description: z.ZodNullable<z.ZodString>;
33049
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33050
33049
  config: z.ZodType<{
33051
33050
  type: "mcp";
33052
33051
  mcp: ToolMcpConfig;
@@ -33062,6 +33061,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33062
33061
  }>>;
33063
33062
  credentialReferenceId: z.ZodNullable<z.ZodString>;
33064
33063
  credentialScope: z.ZodString;
33064
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33065
33065
  imageUrl: z.ZodNullable<z.ZodString>;
33066
33066
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
33067
33067
  lastError: z.ZodNullable<z.ZodString>;
@@ -33069,8 +33069,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33069
33069
  }, z.core.$strip>>>;
33070
33070
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33071
33071
  id: z.ZodString;
33072
- name: z.ZodString;
33073
33072
  createdAt: z.ZodString;
33073
+ name: z.ZodString;
33074
33074
  updatedAt: z.ZodString;
33075
33075
  description: z.ZodNullable<z.ZodString>;
33076
33076
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33082,22 +33082,22 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33082
33082
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33083
33083
  }, z.core.$strip>>>;
33084
33084
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33085
+ agentId: z.ZodString;
33085
33086
  id: z.ZodString;
33086
- name: z.ZodString;
33087
33087
  createdAt: z.ZodString;
33088
+ name: z.ZodString;
33088
33089
  updatedAt: z.ZodString;
33089
33090
  description: z.ZodNullable<z.ZodString>;
33090
- agentId: z.ZodString;
33091
33091
  functionId: z.ZodString;
33092
33092
  relationshipId: z.ZodOptional<z.ZodString>;
33093
33093
  }, z.core.$strip>>>;
33094
33094
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33095
33095
  id: z.ZodString;
33096
+ createdAt: z.ZodString;
33097
+ updatedAt: z.ZodString;
33096
33098
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33097
33099
  executeCode: z.ZodString;
33098
33100
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33099
- createdAt: z.ZodString;
33100
- updatedAt: z.ZodString;
33101
33101
  }, z.core.$strip>>>;
33102
33102
  contextConfig: z.ZodNullable<z.ZodObject<{
33103
33103
  id: z.ZodString;
@@ -33147,8 +33147,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33147
33147
  prompt: z.ZodNullable<z.ZodString>;
33148
33148
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33149
33149
  id: z.ZodString;
33150
- name: z.ZodString;
33151
33150
  createdAt: z.ZodString;
33151
+ name: z.ZodString;
33152
33152
  updatedAt: z.ZodString;
33153
33153
  description: z.ZodNullable<z.ZodString>;
33154
33154
  models: z.ZodNullable<z.ZodType<{
@@ -33284,8 +33284,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33284
33284
  executionMode: z.ZodOptional<z.ZodString>;
33285
33285
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33286
33286
  id: z.ZodString;
33287
- name: z.ZodString;
33288
33287
  createdAt: z.ZodOptional<z.ZodString>;
33288
+ name: z.ZodString;
33289
33289
  updatedAt: z.ZodOptional<z.ZodString>;
33290
33290
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33291
33291
  models: z.ZodOptional<z.ZodObject<{
@@ -33345,7 +33345,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33345
33345
  id: z.ZodString;
33346
33346
  name: z.ZodString;
33347
33347
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33348
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33349
33348
  config: z.ZodObject<{
33350
33349
  type: z.ZodLiteral<"mcp">;
33351
33350
  mcp: z.ZodObject<{
@@ -33374,6 +33373,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33374
33373
  }, z.core.$strip>;
33375
33374
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33376
33375
  credentialScope: z.ZodOptional<z.ZodString>;
33376
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33377
33377
  imageUrl: z.ZodOptional<z.ZodString>;
33378
33378
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
33379
33379
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33406,16 +33406,16 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33406
33406
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33407
33407
  id: z.ZodOptional<z.ZodString>;
33408
33408
  name: z.ZodString;
33409
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
33410
33409
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33411
- enabled: z.ZodOptional<z.ZodBoolean>;
33412
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33413
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33414
33410
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33411
+ enabled: z.ZodOptional<z.ZodBoolean>;
33412
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
33415
33413
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
33414
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33416
33415
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
33417
33416
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33418
33417
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>>;
33418
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33419
33419
  }, z.core.$strip>>>;
33420
33420
  contextConfig: z.ZodOptional<z.ZodObject<{
33421
33421
  id: z.ZodOptional<z.ZodString>;
@@ -33466,8 +33466,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33466
33466
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33467
33467
  data: z.ZodObject<{
33468
33468
  id: z.ZodString;
33469
- name: z.ZodString;
33470
33469
  createdAt: z.ZodString;
33470
+ name: z.ZodString;
33471
33471
  updatedAt: z.ZodString;
33472
33472
  description: z.ZodNullable<z.ZodString>;
33473
33473
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
@@ -33475,8 +33475,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33475
33475
  executionMode: z.ZodString;
33476
33476
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33477
33477
  id: z.ZodString;
33478
- name: z.ZodString;
33479
33478
  createdAt: z.ZodString;
33479
+ name: z.ZodString;
33480
33480
  updatedAt: z.ZodString;
33481
33481
  description: z.ZodNullable<z.ZodString>;
33482
33482
  models: z.ZodNullable<z.ZodType<{
@@ -33592,11 +33592,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33592
33592
  }, z.core.$strip>>;
33593
33593
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33594
33594
  id: z.ZodString;
33595
- name: z.ZodString;
33596
33595
  createdAt: z.ZodString;
33596
+ name: z.ZodString;
33597
33597
  updatedAt: z.ZodString;
33598
33598
  description: z.ZodNullable<z.ZodString>;
33599
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33600
33599
  config: z.ZodType<{
33601
33600
  type: "mcp";
33602
33601
  mcp: ToolMcpConfig;
@@ -33612,6 +33611,7 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33612
33611
  }>>;
33613
33612
  credentialReferenceId: z.ZodNullable<z.ZodString>;
33614
33613
  credentialScope: z.ZodString;
33614
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33615
33615
  imageUrl: z.ZodNullable<z.ZodString>;
33616
33616
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
33617
33617
  lastError: z.ZodNullable<z.ZodString>;
@@ -33619,8 +33619,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33619
33619
  }, z.core.$strip>>>;
33620
33620
  externalAgents: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33621
33621
  id: z.ZodString;
33622
- name: z.ZodString;
33623
33622
  createdAt: z.ZodString;
33623
+ name: z.ZodString;
33624
33624
  updatedAt: z.ZodString;
33625
33625
  description: z.ZodNullable<z.ZodString>;
33626
33626
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33632,22 +33632,22 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33632
33632
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33633
33633
  }, z.core.$strip>>>;
33634
33634
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33635
+ agentId: z.ZodString;
33635
33636
  id: z.ZodString;
33636
- name: z.ZodString;
33637
33637
  createdAt: z.ZodString;
33638
+ name: z.ZodString;
33638
33639
  updatedAt: z.ZodString;
33639
33640
  description: z.ZodNullable<z.ZodString>;
33640
- agentId: z.ZodString;
33641
33641
  functionId: z.ZodString;
33642
33642
  relationshipId: z.ZodOptional<z.ZodString>;
33643
33643
  }, z.core.$strip>>>;
33644
33644
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33645
33645
  id: z.ZodString;
33646
+ createdAt: z.ZodString;
33647
+ updatedAt: z.ZodString;
33646
33648
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33647
33649
  executeCode: z.ZodString;
33648
33650
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
33649
- createdAt: z.ZodString;
33650
- updatedAt: z.ZodString;
33651
33651
  }, z.core.$strip>>>;
33652
33652
  contextConfig: z.ZodNullable<z.ZodObject<{
33653
33653
  id: z.ZodString;
@@ -33723,7 +33723,6 @@ declare const McpToolResponse: z.ZodObject<{
33723
33723
  id: z.ZodString;
33724
33724
  name: z.ZodString;
33725
33725
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33726
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33727
33726
  config: z.ZodObject<{
33728
33727
  type: z.ZodLiteral<"mcp">;
33729
33728
  mcp: z.ZodObject<{
@@ -33752,6 +33751,7 @@ declare const McpToolResponse: z.ZodObject<{
33752
33751
  }, z.core.$strip>;
33753
33752
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33754
33753
  credentialScope: z.ZodOptional<z.ZodString>;
33754
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33755
33755
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
33756
33756
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33757
33757
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
@@ -33784,7 +33784,6 @@ declare const McpToolListResponse: z.ZodObject<{
33784
33784
  id: z.ZodString;
33785
33785
  name: z.ZodString;
33786
33786
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33787
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33788
33787
  config: z.ZodObject<{
33789
33788
  type: z.ZodLiteral<"mcp">;
33790
33789
  mcp: z.ZodObject<{
@@ -33813,6 +33812,7 @@ declare const McpToolListResponse: z.ZodObject<{
33813
33812
  }, z.core.$strip>;
33814
33813
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33815
33814
  credentialScope: z.ZodOptional<z.ZodString>;
33815
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
33816
33816
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
33817
33817
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33818
33818
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
@@ -33846,20 +33846,20 @@ declare const McpToolListResponse: z.ZodObject<{
33846
33846
  }, z.core.$strip>;
33847
33847
  declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
33848
33848
  data: z.ZodObject<{
33849
+ subAgentId: z.ZodString;
33849
33850
  id: z.ZodString;
33850
33851
  createdAt: z.ZodString;
33851
33852
  updatedAt: z.ZodString;
33852
- subAgentId: z.ZodString;
33853
33853
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33854
33854
  targetAgentId: z.ZodString;
33855
33855
  }, z.core.$strip>;
33856
33856
  }, z.core.$strip>;
33857
33857
  declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
33858
33858
  data: z.ZodArray<z.ZodObject<{
33859
+ subAgentId: z.ZodString;
33859
33860
  id: z.ZodString;
33860
33861
  createdAt: z.ZodString;
33861
33862
  updatedAt: z.ZodString;
33862
- subAgentId: z.ZodString;
33863
33863
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33864
33864
  targetAgentId: z.ZodString;
33865
33865
  }, z.core.$strip>>;
@@ -33872,20 +33872,20 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
33872
33872
  }, z.core.$strip>;
33873
33873
  declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
33874
33874
  data: z.ZodObject<{
33875
+ subAgentId: z.ZodString;
33875
33876
  id: z.ZodString;
33876
33877
  createdAt: z.ZodString;
33877
33878
  updatedAt: z.ZodString;
33878
- subAgentId: z.ZodString;
33879
33879
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33880
33880
  externalAgentId: z.ZodString;
33881
33881
  }, z.core.$strip>;
33882
33882
  }, z.core.$strip>;
33883
33883
  declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
33884
33884
  data: z.ZodArray<z.ZodObject<{
33885
+ subAgentId: z.ZodString;
33885
33886
  id: z.ZodString;
33886
33887
  createdAt: z.ZodString;
33887
33888
  updatedAt: z.ZodString;
33888
- subAgentId: z.ZodString;
33889
33889
  headers: z.ZodNullable<z.ZodType<drizzle_zod21.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod21.Json, unknown>>>;
33890
33890
  externalAgentId: z.ZodString;
33891
33891
  }, z.core.$strip>>;
@@ -33899,8 +33899,8 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
33899
33899
  declare const DataComponentArrayResponse: z.ZodObject<{
33900
33900
  data: z.ZodArray<z.ZodObject<{
33901
33901
  id: z.ZodString;
33902
- name: z.ZodString;
33903
33902
  createdAt: z.ZodString;
33903
+ name: z.ZodString;
33904
33904
  updatedAt: z.ZodString;
33905
33905
  description: z.ZodNullable<z.ZodString>;
33906
33906
  props: z.ZodType<{
@@ -33950,8 +33950,8 @@ declare const DataComponentArrayResponse: z.ZodObject<{
33950
33950
  declare const ArtifactComponentArrayResponse: z.ZodObject<{
33951
33951
  data: z.ZodArray<z.ZodObject<{
33952
33952
  id: z.ZodString;
33953
- name: z.ZodString;
33954
33953
  createdAt: z.ZodString;
33954
+ name: z.ZodString;
33955
33955
  updatedAt: z.ZodString;
33956
33956
  description: z.ZodNullable<z.ZodString>;
33957
33957
  props: z.ZodNullable<z.ZodType<{
@@ -34320,8 +34320,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
34320
34320
  disconnected: "disconnected";
34321
34321
  }>;
34322
34322
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34323
- Organization: "Organization";
34324
34323
  User: "User";
34324
+ Organization: "Organization";
34325
34325
  }>;
34326
34326
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"select", {
34327
34327
  createdAt: drizzle_orm_pg_core954.PgColumn<{
@@ -34416,7 +34416,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"
34416
34416
  tableName: "work_app_github_installations";
34417
34417
  dataType: "string";
34418
34418
  columnType: "PgVarchar";
34419
- data: "Organization" | "User";
34419
+ data: "User" | "Organization";
34420
34420
  driverParam: string;
34421
34421
  notNull: true;
34422
34422
  hasDefault: false;
@@ -34429,7 +34429,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"
34429
34429
  generated: undefined;
34430
34430
  }, {}, {
34431
34431
  length: 20;
34432
- $type: "Organization" | "User";
34432
+ $type: "User" | "Organization";
34433
34433
  }>;
34434
34434
  status: drizzle_orm_pg_core954.PgColumn<{
34435
34435
  name: "status";
@@ -34582,7 +34582,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"
34582
34582
  tableName: "work_app_github_installations";
34583
34583
  dataType: "string";
34584
34584
  columnType: "PgVarchar";
34585
- data: "Organization" | "User";
34585
+ data: "User" | "Organization";
34586
34586
  driverParam: string;
34587
34587
  notNull: true;
34588
34588
  hasDefault: false;
@@ -34595,7 +34595,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod21.BuildSchema<"
34595
34595
  generated: undefined;
34596
34596
  }, {}, {
34597
34597
  length: 20;
34598
- $type: "Organization" | "User";
34598
+ $type: "User" | "Organization";
34599
34599
  }>;
34600
34600
  status: drizzle_orm_pg_core954.PgColumn<{
34601
34601
  name: "status";
@@ -34663,8 +34663,8 @@ declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
34663
34663
  installationId: z.ZodString;
34664
34664
  accountLogin: z.ZodString;
34665
34665
  accountType: z.ZodEnum<{
34666
- Organization: "Organization";
34667
34666
  User: "User";
34667
+ Organization: "Organization";
34668
34668
  }>;
34669
34669
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
34670
34670
  pending: "pending";
@@ -34698,8 +34698,8 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<{
34698
34698
  installationId: z.ZodString;
34699
34699
  accountLogin: z.ZodString;
34700
34700
  accountType: z.ZodEnum<{
34701
- Organization: "Organization";
34702
34701
  User: "User";
34702
+ Organization: "Organization";
34703
34703
  }>;
34704
34704
  }, z.core.$strip>;
34705
34705
  declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod21.BuildSchema<"select", {
@@ -37165,10 +37165,10 @@ declare const AnonymousSessionResponseSchema: z.ZodObject<{
37165
37165
  expiresAt: z.ZodString;
37166
37166
  }, z.core.$strip>;
37167
37167
  declare const WorkflowExecutionStatusEnum: z.ZodEnum<{
37168
- failed: "failed";
37169
37168
  running: "running";
37170
- suspended: "suspended";
37171
37169
  completed: "completed";
37170
+ failed: "failed";
37171
+ suspended: "suspended";
37172
37172
  }>;
37173
37173
  declare const WorkflowExecutionSelectSchema: z.ZodObject<{
37174
37174
  createdAt: z.ZodString;
@@ -37181,10 +37181,10 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
37181
37181
  tenantId: z.ZodString;
37182
37182
  id: z.ZodString;
37183
37183
  status: z.ZodEnum<{
37184
- failed: "failed";
37185
37184
  running: "running";
37186
- suspended: "suspended";
37187
37185
  completed: "completed";
37186
+ failed: "failed";
37187
+ suspended: "suspended";
37188
37188
  }>;
37189
37189
  }, {
37190
37190
  out: {};
@@ -37193,16 +37193,16 @@ declare const WorkflowExecutionSelectSchema: z.ZodObject<{
37193
37193
  declare const WorkflowExecutionInsertSchema: z.ZodObject<{
37194
37194
  tenantId: z.ZodString;
37195
37195
  projectId: z.ZodString;
37196
+ agentId: z.ZodString;
37196
37197
  id: z.ZodString;
37197
37198
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
37198
- agentId: z.ZodString;
37199
- conversationId: z.ZodString;
37200
37199
  requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37200
+ conversationId: z.ZodString;
37201
37201
  status: z.ZodDefault<z.ZodEnum<{
37202
- failed: "failed";
37203
37202
  running: "running";
37204
- suspended: "suspended";
37205
37203
  completed: "completed";
37204
+ failed: "failed";
37205
+ suspended: "suspended";
37206
37206
  }>>;
37207
37207
  }, {
37208
37208
  out: {};
@@ -37211,16 +37211,16 @@ declare const WorkflowExecutionInsertSchema: z.ZodObject<{
37211
37211
  declare const WorkflowExecutionUpdateSchema: z.ZodObject<{
37212
37212
  tenantId: z.ZodOptional<z.ZodString>;
37213
37213
  projectId: z.ZodOptional<z.ZodString>;
37214
+ agentId: z.ZodOptional<z.ZodString>;
37214
37215
  id: z.ZodOptional<z.ZodString>;
37215
37216
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
37216
- agentId: z.ZodOptional<z.ZodString>;
37217
- conversationId: z.ZodOptional<z.ZodString>;
37218
37217
  requestId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
37218
+ conversationId: z.ZodOptional<z.ZodString>;
37219
37219
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
37220
- failed: "failed";
37221
37220
  running: "running";
37222
- suspended: "suspended";
37223
37221
  completed: "completed";
37222
+ failed: "failed";
37223
+ suspended: "suspended";
37224
37224
  }>>>;
37225
37225
  }, {
37226
37226
  out: {};