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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2750,6 +2750,7 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2750
2750
  id: z.ZodString;
2751
2751
  }>, z.core.$strip>;
2752
2752
  declare const AgentApiInsertSchema: z.ZodObject<{
2753
+ id: z.ZodString;
2753
2754
  name: z.ZodString;
2754
2755
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2755
2756
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2816,8 +2817,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2816
2817
  }, {
2817
2818
  transferCountIs?: number | undefined;
2818
2819
  }>>>>;
2819
- createdAt: z.ZodOptional<z.ZodString>;
2820
- updatedAt: z.ZodOptional<z.ZodString>;
2821
2820
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2822
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2823
2822
  enabled?: boolean | undefined;
@@ -2876,7 +2875,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2876
2875
  } | undefined;
2877
2876
  }[] | undefined;
2878
2877
  }>>>>;
2879
- id: z.ZodString;
2880
2878
  }, z.core.$strip>;
2881
2879
  declare const AgentApiUpdateSchema: z.ZodObject<{
2882
2880
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -3072,8 +3070,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
3072
3070
  declare const SignatureSourceSchema: z.ZodObject<{
3073
3071
  source: z.ZodEnum<{
3074
3072
  query: "query";
3075
- body: "body";
3076
3073
  header: "header";
3074
+ body: "body";
3077
3075
  }>;
3078
3076
  key: z.ZodString;
3079
3077
  prefix: z.ZodOptional<z.ZodString>;
@@ -3102,8 +3100,8 @@ declare const SignatureSourceSchema: z.ZodObject<{
3102
3100
  declare const SignedComponentSchema: z.ZodObject<{
3103
3101
  source: z.ZodEnum<{
3104
3102
  literal: "literal";
3105
- body: "body";
3106
3103
  header: "header";
3104
+ body: "body";
3107
3105
  }>;
3108
3106
  key: z.ZodOptional<z.ZodString>;
3109
3107
  value: z.ZodOptional<z.ZodString>;
@@ -3212,8 +3210,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3212
3210
  signature: z.ZodObject<{
3213
3211
  source: z.ZodEnum<{
3214
3212
  query: "query";
3215
- body: "body";
3216
3213
  header: "header";
3214
+ body: "body";
3217
3215
  }>;
3218
3216
  key: z.ZodString;
3219
3217
  prefix: z.ZodOptional<z.ZodString>;
@@ -3222,8 +3220,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
3222
3220
  signedComponents: z.ZodArray<z.ZodObject<{
3223
3221
  source: z.ZodEnum<{
3224
3222
  literal: "literal";
3225
- body: "body";
3226
3223
  header: "header";
3224
+ body: "body";
3227
3225
  }>;
3228
3226
  key: z.ZodOptional<z.ZodString>;
3229
3227
  value: z.ZodOptional<z.ZodString>;
@@ -3308,8 +3306,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3308
3306
  signature: z.ZodObject<{
3309
3307
  source: z.ZodEnum<{
3310
3308
  query: "query";
3311
- body: "body";
3312
3309
  header: "header";
3310
+ body: "body";
3313
3311
  }>;
3314
3312
  key: z.ZodString;
3315
3313
  prefix: z.ZodOptional<z.ZodString>;
@@ -3318,8 +3316,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
3318
3316
  signedComponents: z.ZodArray<z.ZodObject<{
3319
3317
  source: z.ZodEnum<{
3320
3318
  literal: "literal";
3321
- body: "body";
3322
3319
  header: "header";
3320
+ body: "body";
3323
3321
  }>;
3324
3322
  key: z.ZodOptional<z.ZodString>;
3325
3323
  value: z.ZodOptional<z.ZodString>;
@@ -3504,13 +3502,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3504
3502
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3505
3503
  encoding: "hex" | "base64";
3506
3504
  signature: {
3507
- source: "query" | "body" | "header";
3505
+ source: "query" | "header" | "body";
3508
3506
  key: string;
3509
3507
  prefix?: string | undefined;
3510
3508
  regex?: string | undefined;
3511
3509
  };
3512
3510
  signedComponents: {
3513
- source: "literal" | "body" | "header";
3511
+ source: "literal" | "header" | "body";
3514
3512
  required: boolean;
3515
3513
  key?: string | undefined;
3516
3514
  value?: string | undefined;
@@ -3541,13 +3539,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3541
3539
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3542
3540
  encoding: "hex" | "base64";
3543
3541
  signature: {
3544
- source: "query" | "body" | "header";
3542
+ source: "query" | "header" | "body";
3545
3543
  key: string;
3546
3544
  prefix?: string | undefined;
3547
3545
  regex?: string | undefined;
3548
3546
  };
3549
3547
  signedComponents: {
3550
- source: "literal" | "body" | "header";
3548
+ source: "literal" | "header" | "body";
3551
3549
  required: boolean;
3552
3550
  key?: string | undefined;
3553
3551
  value?: string | undefined;
@@ -3874,13 +3872,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3874
3872
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3875
3873
  encoding: "hex" | "base64";
3876
3874
  signature: {
3877
- source: "query" | "body" | "header";
3875
+ source: "query" | "header" | "body";
3878
3876
  key: string;
3879
3877
  prefix?: string | undefined;
3880
3878
  regex?: string | undefined;
3881
3879
  };
3882
3880
  signedComponents: {
3883
- source: "literal" | "body" | "header";
3881
+ source: "literal" | "header" | "body";
3884
3882
  required: boolean;
3885
3883
  key?: string | undefined;
3886
3884
  value?: string | undefined;
@@ -3911,13 +3909,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3911
3909
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
3912
3910
  encoding: "hex" | "base64";
3913
3911
  signature: {
3914
- source: "query" | "body" | "header";
3912
+ source: "query" | "header" | "body";
3915
3913
  key: string;
3916
3914
  prefix?: string | undefined;
3917
3915
  regex?: string | undefined;
3918
3916
  };
3919
3917
  signedComponents: {
3920
- source: "literal" | "body" | "header";
3918
+ source: "literal" | "header" | "body";
3921
3919
  required: boolean;
3922
3920
  key?: string | undefined;
3923
3921
  value?: string | undefined;
@@ -4084,7 +4082,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4084
4082
  }, {}, {
4085
4083
  length: 256;
4086
4084
  }>;
4087
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "runAsUserId" | "createdBy" | "inputSchema" | "outputTransform" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4085
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "createdBy" | "inputSchema" | "messageTemplate" | "runAsUserId" | "outputTransform" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4088
4086
  declare const TriggerUpdateSchema: z.ZodObject<{
4089
4087
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4090
4088
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4137,8 +4135,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4137
4135
  signature: z.ZodObject<{
4138
4136
  source: z.ZodEnum<{
4139
4137
  query: "query";
4140
- body: "body";
4141
4138
  header: "header";
4139
+ body: "body";
4142
4140
  }>;
4143
4141
  key: z.ZodString;
4144
4142
  prefix: z.ZodOptional<z.ZodString>;
@@ -4147,8 +4145,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4147
4145
  signedComponents: z.ZodArray<z.ZodObject<{
4148
4146
  source: z.ZodEnum<{
4149
4147
  literal: "literal";
4150
- body: "body";
4151
4148
  header: "header";
4149
+ body: "body";
4152
4150
  }>;
4153
4151
  key: z.ZodOptional<z.ZodString>;
4154
4152
  value: z.ZodOptional<z.ZodString>;
@@ -4171,20 +4169,18 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4171
4169
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4172
4170
  }>, z.core.$strip>;
4173
4171
  declare const TriggerApiInsertSchema: z.ZodObject<{
4172
+ id: z.ZodOptional<z.ZodString>;
4174
4173
  name: z.ZodString;
4175
4174
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4176
- createdAt: z.ZodOptional<z.ZodString>;
4177
- updatedAt: z.ZodOptional<z.ZodString>;
4178
4175
  enabled: z.ZodOptional<z.ZodBoolean>;
4179
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4180
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4181
4176
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4182
4177
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4178
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4179
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4183
4180
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4184
4181
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4185
4182
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4186
4183
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4187
- id: z.ZodOptional<z.ZodString>;
4188
4184
  }, z.core.$strip>;
4189
4185
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4190
4186
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4215,10 +4211,10 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4215
4211
  createdAt: z.ZodString;
4216
4212
  updatedAt: z.ZodString;
4217
4213
  enabled: z.ZodBoolean;
4218
- messageTemplate: z.ZodNullable<z.ZodString>;
4219
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4220
4214
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4221
4215
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4216
+ messageTemplate: z.ZodNullable<z.ZodString>;
4217
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4222
4218
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4223
4219
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4224
4220
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4237,8 +4233,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4237
4233
  signature: z.ZodObject<{
4238
4234
  source: z.ZodEnum<{
4239
4235
  query: "query";
4240
- body: "body";
4241
4236
  header: "header";
4237
+ body: "body";
4242
4238
  }>;
4243
4239
  key: z.ZodString;
4244
4240
  prefix: z.ZodOptional<z.ZodString>;
@@ -4247,8 +4243,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4247
4243
  signedComponents: z.ZodArray<z.ZodObject<{
4248
4244
  source: z.ZodEnum<{
4249
4245
  literal: "literal";
4250
- body: "body";
4251
4246
  header: "header";
4247
+ body: "body";
4252
4248
  }>;
4253
4249
  key: z.ZodOptional<z.ZodString>;
4254
4250
  value: z.ZodOptional<z.ZodString>;
@@ -5153,710 +5149,41 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5153
5149
  out: {};
5154
5150
  in: {};
5155
5151
  }>;
5156
- declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
5157
- createdAt: drizzle_orm_pg_core866.PgColumn<{
5158
- name: "created_at";
5159
- tableName: "scheduled_triggers";
5160
- dataType: "string";
5161
- columnType: "PgTimestampString";
5162
- data: string;
5163
- driverParam: string;
5164
- notNull: true;
5165
- hasDefault: true;
5166
- isPrimaryKey: false;
5167
- isAutoincrement: false;
5168
- hasRuntimeDefault: false;
5169
- enumValues: undefined;
5170
- baseColumn: never;
5171
- identity: undefined;
5172
- generated: undefined;
5173
- }, {}, {}>;
5174
- updatedAt: drizzle_orm_pg_core866.PgColumn<{
5175
- name: "updated_at";
5176
- tableName: "scheduled_triggers";
5177
- dataType: "string";
5178
- columnType: "PgTimestampString";
5179
- data: string;
5180
- driverParam: string;
5181
- notNull: true;
5182
- hasDefault: true;
5183
- isPrimaryKey: false;
5184
- isAutoincrement: false;
5185
- hasRuntimeDefault: false;
5186
- enumValues: undefined;
5187
- baseColumn: never;
5188
- identity: undefined;
5189
- generated: undefined;
5190
- }, {}, {}>;
5191
- enabled: drizzle_orm_pg_core866.PgColumn<{
5192
- name: "enabled";
5193
- tableName: "scheduled_triggers";
5194
- dataType: "boolean";
5195
- columnType: "PgBoolean";
5196
- data: boolean;
5197
- driverParam: boolean;
5198
- notNull: true;
5199
- hasDefault: true;
5200
- isPrimaryKey: false;
5201
- isAutoincrement: false;
5202
- hasRuntimeDefault: false;
5203
- enumValues: undefined;
5204
- baseColumn: never;
5205
- identity: undefined;
5206
- generated: undefined;
5207
- }, {}, {}>;
5208
- cronExpression: drizzle_orm_pg_core866.PgColumn<{
5209
- name: "cron_expression";
5210
- tableName: "scheduled_triggers";
5211
- dataType: "string";
5212
- columnType: "PgVarchar";
5213
- data: string;
5214
- driverParam: string;
5215
- notNull: false;
5216
- hasDefault: false;
5217
- isPrimaryKey: false;
5218
- isAutoincrement: false;
5219
- hasRuntimeDefault: false;
5220
- enumValues: [string, ...string[]];
5221
- baseColumn: never;
5222
- identity: undefined;
5223
- generated: undefined;
5224
- }, {}, {
5225
- length: 256;
5226
- }>;
5227
- cronTimezone: drizzle_orm_pg_core866.PgColumn<{
5228
- name: "cron_timezone";
5229
- tableName: "scheduled_triggers";
5230
- dataType: "string";
5231
- columnType: "PgVarchar";
5232
- data: string;
5233
- driverParam: string;
5234
- notNull: false;
5235
- hasDefault: true;
5236
- isPrimaryKey: false;
5237
- isAutoincrement: false;
5238
- hasRuntimeDefault: false;
5239
- enumValues: [string, ...string[]];
5240
- baseColumn: never;
5241
- identity: undefined;
5242
- generated: undefined;
5243
- }, {}, {
5244
- length: 64;
5245
- }>;
5246
- runAt: drizzle_orm_pg_core866.PgColumn<{
5247
- name: "run_at";
5248
- tableName: "scheduled_triggers";
5249
- dataType: "string";
5250
- columnType: "PgTimestampString";
5251
- data: string;
5252
- driverParam: string;
5253
- notNull: false;
5254
- hasDefault: false;
5255
- isPrimaryKey: false;
5256
- isAutoincrement: false;
5257
- hasRuntimeDefault: false;
5258
- enumValues: undefined;
5259
- baseColumn: never;
5260
- identity: undefined;
5261
- generated: undefined;
5262
- }, {}, {}>;
5263
- payload: drizzle_orm_pg_core866.PgColumn<{
5264
- name: "payload";
5265
- tableName: "scheduled_triggers";
5266
- dataType: "json";
5267
- columnType: "PgJsonb";
5268
- data: Record<string, unknown> | null;
5269
- driverParam: unknown;
5270
- notNull: false;
5271
- hasDefault: false;
5272
- isPrimaryKey: false;
5273
- isAutoincrement: false;
5274
- hasRuntimeDefault: false;
5275
- enumValues: undefined;
5276
- baseColumn: never;
5277
- identity: undefined;
5278
- generated: undefined;
5279
- }, {}, {
5280
- $type: Record<string, unknown> | null;
5281
- }>;
5282
- messageTemplate: drizzle_orm_pg_core866.PgColumn<{
5283
- name: "message_template";
5284
- tableName: "scheduled_triggers";
5285
- dataType: "string";
5286
- columnType: "PgText";
5287
- data: string;
5288
- driverParam: string;
5289
- notNull: false;
5290
- hasDefault: false;
5291
- isPrimaryKey: false;
5292
- isAutoincrement: false;
5293
- hasRuntimeDefault: false;
5294
- enumValues: [string, ...string[]];
5295
- baseColumn: never;
5296
- identity: undefined;
5297
- generated: undefined;
5298
- }, {}, {}>;
5299
- maxRetries: drizzle_orm_pg_core866.PgColumn<{
5300
- name: "max_retries";
5301
- tableName: "scheduled_triggers";
5302
- dataType: "number";
5303
- columnType: "PgNumericNumber";
5304
- data: number;
5305
- driverParam: string;
5306
- notNull: true;
5307
- hasDefault: true;
5308
- isPrimaryKey: false;
5309
- isAutoincrement: false;
5310
- hasRuntimeDefault: false;
5311
- enumValues: undefined;
5312
- baseColumn: never;
5313
- identity: undefined;
5314
- generated: undefined;
5315
- }, {}, {}>;
5316
- retryDelaySeconds: drizzle_orm_pg_core866.PgColumn<{
5317
- name: "retry_delay_seconds";
5318
- tableName: "scheduled_triggers";
5319
- dataType: "number";
5320
- columnType: "PgNumericNumber";
5321
- data: number;
5322
- driverParam: string;
5323
- notNull: true;
5324
- hasDefault: true;
5325
- isPrimaryKey: false;
5326
- isAutoincrement: false;
5327
- hasRuntimeDefault: false;
5328
- enumValues: undefined;
5329
- baseColumn: never;
5330
- identity: undefined;
5331
- generated: undefined;
5332
- }, {}, {}>;
5333
- timeoutSeconds: drizzle_orm_pg_core866.PgColumn<{
5334
- name: "timeout_seconds";
5335
- tableName: "scheduled_triggers";
5336
- dataType: "number";
5337
- columnType: "PgNumericNumber";
5338
- data: number;
5339
- driverParam: string;
5340
- notNull: true;
5341
- hasDefault: true;
5342
- isPrimaryKey: false;
5343
- isAutoincrement: false;
5344
- hasRuntimeDefault: false;
5345
- enumValues: undefined;
5346
- baseColumn: never;
5347
- identity: undefined;
5348
- generated: undefined;
5349
- }, {}, {}>;
5350
- runAsUserId: drizzle_orm_pg_core866.PgColumn<{
5351
- name: "run_as_user_id";
5352
- tableName: "scheduled_triggers";
5353
- dataType: "string";
5354
- columnType: "PgVarchar";
5355
- data: string;
5356
- driverParam: string;
5357
- notNull: false;
5358
- hasDefault: false;
5359
- isPrimaryKey: false;
5360
- isAutoincrement: false;
5361
- hasRuntimeDefault: false;
5362
- enumValues: [string, ...string[]];
5363
- baseColumn: never;
5364
- identity: undefined;
5365
- generated: undefined;
5366
- }, {}, {
5367
- length: 256;
5368
- }>;
5369
- createdBy: drizzle_orm_pg_core866.PgColumn<{
5370
- name: "created_by";
5371
- tableName: "scheduled_triggers";
5372
- dataType: "string";
5373
- columnType: "PgVarchar";
5374
- data: string;
5375
- driverParam: string;
5376
- notNull: false;
5377
- hasDefault: false;
5378
- isPrimaryKey: false;
5379
- isAutoincrement: false;
5380
- hasRuntimeDefault: false;
5381
- enumValues: [string, ...string[]];
5382
- baseColumn: never;
5383
- identity: undefined;
5384
- generated: undefined;
5385
- }, {}, {
5386
- length: 256;
5387
- }>;
5388
- name: drizzle_orm_pg_core866.PgColumn<{
5389
- name: "name";
5390
- tableName: "scheduled_triggers";
5391
- dataType: "string";
5392
- columnType: "PgVarchar";
5393
- data: string;
5394
- driverParam: string;
5395
- notNull: true;
5396
- hasDefault: false;
5397
- isPrimaryKey: false;
5398
- isAutoincrement: false;
5399
- hasRuntimeDefault: false;
5400
- enumValues: [string, ...string[]];
5401
- baseColumn: never;
5402
- identity: undefined;
5403
- generated: undefined;
5404
- }, {}, {
5405
- length: 256;
5406
- }>;
5407
- description: drizzle_orm_pg_core866.PgColumn<{
5408
- name: "description";
5409
- tableName: "scheduled_triggers";
5410
- dataType: "string";
5411
- columnType: "PgText";
5412
- data: string;
5413
- driverParam: string;
5414
- notNull: false;
5415
- hasDefault: false;
5416
- isPrimaryKey: false;
5417
- isAutoincrement: false;
5418
- hasRuntimeDefault: false;
5419
- enumValues: [string, ...string[]];
5420
- baseColumn: never;
5421
- identity: undefined;
5422
- generated: undefined;
5423
- }, {}, {}>;
5424
- agentId: drizzle_orm_pg_core866.PgColumn<{
5425
- name: "agent_id";
5426
- tableName: "scheduled_triggers";
5427
- dataType: "string";
5428
- columnType: "PgVarchar";
5429
- data: string;
5430
- driverParam: string;
5431
- notNull: true;
5432
- hasDefault: false;
5433
- isPrimaryKey: false;
5434
- isAutoincrement: false;
5435
- hasRuntimeDefault: false;
5436
- enumValues: [string, ...string[]];
5437
- baseColumn: never;
5438
- identity: undefined;
5439
- generated: undefined;
5440
- }, {}, {
5441
- length: 256;
5442
- }>;
5443
- projectId: drizzle_orm_pg_core866.PgColumn<{
5444
- name: "project_id";
5445
- tableName: "scheduled_triggers";
5446
- dataType: "string";
5447
- columnType: "PgVarchar";
5448
- data: string;
5449
- driverParam: string;
5450
- notNull: true;
5451
- hasDefault: false;
5452
- isPrimaryKey: false;
5453
- isAutoincrement: false;
5454
- hasRuntimeDefault: false;
5455
- enumValues: [string, ...string[]];
5456
- baseColumn: never;
5457
- identity: undefined;
5458
- generated: undefined;
5459
- }, {}, {
5460
- length: 256;
5461
- }>;
5462
- tenantId: drizzle_orm_pg_core866.PgColumn<{
5463
- name: "tenant_id";
5464
- tableName: "scheduled_triggers";
5465
- dataType: "string";
5466
- columnType: "PgVarchar";
5467
- data: string;
5468
- driverParam: string;
5469
- notNull: true;
5470
- hasDefault: false;
5471
- isPrimaryKey: false;
5472
- isAutoincrement: false;
5473
- hasRuntimeDefault: false;
5474
- enumValues: [string, ...string[]];
5475
- baseColumn: never;
5476
- identity: undefined;
5477
- generated: undefined;
5478
- }, {}, {
5479
- length: 256;
5480
- }>;
5481
- id: drizzle_orm_pg_core866.PgColumn<{
5482
- name: "id";
5483
- tableName: "scheduled_triggers";
5484
- dataType: "string";
5485
- columnType: "PgVarchar";
5486
- data: string;
5487
- driverParam: string;
5488
- notNull: true;
5489
- hasDefault: false;
5490
- isPrimaryKey: false;
5491
- isAutoincrement: false;
5492
- hasRuntimeDefault: false;
5493
- enumValues: [string, ...string[]];
5494
- baseColumn: never;
5495
- identity: undefined;
5496
- generated: undefined;
5497
- }, {}, {
5498
- length: 256;
5499
- }>;
5500
- }, drizzle_zod19.BuildRefine<Pick<{
5501
- createdAt: drizzle_orm_pg_core866.PgColumn<{
5502
- name: "created_at";
5503
- tableName: "scheduled_triggers";
5504
- dataType: "string";
5505
- columnType: "PgTimestampString";
5506
- data: string;
5507
- driverParam: string;
5508
- notNull: true;
5509
- hasDefault: true;
5510
- isPrimaryKey: false;
5511
- isAutoincrement: false;
5512
- hasRuntimeDefault: false;
5513
- enumValues: undefined;
5514
- baseColumn: never;
5515
- identity: undefined;
5516
- generated: undefined;
5517
- }, {}, {}>;
5518
- updatedAt: drizzle_orm_pg_core866.PgColumn<{
5519
- name: "updated_at";
5520
- tableName: "scheduled_triggers";
5521
- dataType: "string";
5522
- columnType: "PgTimestampString";
5523
- data: string;
5524
- driverParam: string;
5525
- notNull: true;
5526
- hasDefault: true;
5527
- isPrimaryKey: false;
5528
- isAutoincrement: false;
5529
- hasRuntimeDefault: false;
5530
- enumValues: undefined;
5531
- baseColumn: never;
5532
- identity: undefined;
5533
- generated: undefined;
5534
- }, {}, {}>;
5535
- enabled: drizzle_orm_pg_core866.PgColumn<{
5536
- name: "enabled";
5537
- tableName: "scheduled_triggers";
5538
- dataType: "boolean";
5539
- columnType: "PgBoolean";
5540
- data: boolean;
5541
- driverParam: boolean;
5542
- notNull: true;
5543
- hasDefault: true;
5544
- isPrimaryKey: false;
5545
- isAutoincrement: false;
5546
- hasRuntimeDefault: false;
5547
- enumValues: undefined;
5548
- baseColumn: never;
5549
- identity: undefined;
5550
- generated: undefined;
5551
- }, {}, {}>;
5552
- cronExpression: drizzle_orm_pg_core866.PgColumn<{
5553
- name: "cron_expression";
5554
- tableName: "scheduled_triggers";
5555
- dataType: "string";
5556
- columnType: "PgVarchar";
5557
- data: string;
5558
- driverParam: string;
5559
- notNull: false;
5560
- hasDefault: false;
5561
- isPrimaryKey: false;
5562
- isAutoincrement: false;
5563
- hasRuntimeDefault: false;
5564
- enumValues: [string, ...string[]];
5565
- baseColumn: never;
5566
- identity: undefined;
5567
- generated: undefined;
5568
- }, {}, {
5569
- length: 256;
5570
- }>;
5571
- cronTimezone: drizzle_orm_pg_core866.PgColumn<{
5572
- name: "cron_timezone";
5573
- tableName: "scheduled_triggers";
5574
- dataType: "string";
5575
- columnType: "PgVarchar";
5576
- data: string;
5577
- driverParam: string;
5578
- notNull: false;
5579
- hasDefault: true;
5580
- isPrimaryKey: false;
5581
- isAutoincrement: false;
5582
- hasRuntimeDefault: false;
5583
- enumValues: [string, ...string[]];
5584
- baseColumn: never;
5585
- identity: undefined;
5586
- generated: undefined;
5587
- }, {}, {
5588
- length: 64;
5589
- }>;
5590
- runAt: drizzle_orm_pg_core866.PgColumn<{
5591
- name: "run_at";
5592
- tableName: "scheduled_triggers";
5593
- dataType: "string";
5594
- columnType: "PgTimestampString";
5595
- data: string;
5596
- driverParam: string;
5597
- notNull: false;
5598
- hasDefault: false;
5599
- isPrimaryKey: false;
5600
- isAutoincrement: false;
5601
- hasRuntimeDefault: false;
5602
- enumValues: undefined;
5603
- baseColumn: never;
5604
- identity: undefined;
5605
- generated: undefined;
5606
- }, {}, {}>;
5607
- payload: drizzle_orm_pg_core866.PgColumn<{
5608
- name: "payload";
5609
- tableName: "scheduled_triggers";
5610
- dataType: "json";
5611
- columnType: "PgJsonb";
5612
- data: Record<string, unknown> | null;
5613
- driverParam: unknown;
5614
- notNull: false;
5615
- hasDefault: false;
5616
- isPrimaryKey: false;
5617
- isAutoincrement: false;
5618
- hasRuntimeDefault: false;
5619
- enumValues: undefined;
5620
- baseColumn: never;
5621
- identity: undefined;
5622
- generated: undefined;
5623
- }, {}, {
5624
- $type: Record<string, unknown> | null;
5625
- }>;
5626
- messageTemplate: drizzle_orm_pg_core866.PgColumn<{
5627
- name: "message_template";
5628
- tableName: "scheduled_triggers";
5629
- dataType: "string";
5630
- columnType: "PgText";
5631
- data: string;
5632
- driverParam: string;
5633
- notNull: false;
5634
- hasDefault: false;
5635
- isPrimaryKey: false;
5636
- isAutoincrement: false;
5637
- hasRuntimeDefault: false;
5638
- enumValues: [string, ...string[]];
5639
- baseColumn: never;
5640
- identity: undefined;
5641
- generated: undefined;
5642
- }, {}, {}>;
5643
- maxRetries: drizzle_orm_pg_core866.PgColumn<{
5644
- name: "max_retries";
5645
- tableName: "scheduled_triggers";
5646
- dataType: "number";
5647
- columnType: "PgNumericNumber";
5648
- data: number;
5649
- driverParam: string;
5650
- notNull: true;
5651
- hasDefault: true;
5652
- isPrimaryKey: false;
5653
- isAutoincrement: false;
5654
- hasRuntimeDefault: false;
5655
- enumValues: undefined;
5656
- baseColumn: never;
5657
- identity: undefined;
5658
- generated: undefined;
5659
- }, {}, {}>;
5660
- retryDelaySeconds: drizzle_orm_pg_core866.PgColumn<{
5661
- name: "retry_delay_seconds";
5662
- tableName: "scheduled_triggers";
5663
- dataType: "number";
5664
- columnType: "PgNumericNumber";
5665
- data: number;
5666
- driverParam: string;
5667
- notNull: true;
5668
- hasDefault: true;
5669
- isPrimaryKey: false;
5670
- isAutoincrement: false;
5671
- hasRuntimeDefault: false;
5672
- enumValues: undefined;
5673
- baseColumn: never;
5674
- identity: undefined;
5675
- generated: undefined;
5676
- }, {}, {}>;
5677
- timeoutSeconds: drizzle_orm_pg_core866.PgColumn<{
5678
- name: "timeout_seconds";
5679
- tableName: "scheduled_triggers";
5680
- dataType: "number";
5681
- columnType: "PgNumericNumber";
5682
- data: number;
5683
- driverParam: string;
5684
- notNull: true;
5685
- hasDefault: true;
5686
- isPrimaryKey: false;
5687
- isAutoincrement: false;
5688
- hasRuntimeDefault: false;
5689
- enumValues: undefined;
5690
- baseColumn: never;
5691
- identity: undefined;
5692
- generated: undefined;
5693
- }, {}, {}>;
5694
- runAsUserId: drizzle_orm_pg_core866.PgColumn<{
5695
- name: "run_as_user_id";
5696
- tableName: "scheduled_triggers";
5697
- dataType: "string";
5698
- columnType: "PgVarchar";
5699
- data: string;
5700
- driverParam: string;
5701
- notNull: false;
5702
- hasDefault: false;
5703
- isPrimaryKey: false;
5704
- isAutoincrement: false;
5705
- hasRuntimeDefault: false;
5706
- enumValues: [string, ...string[]];
5707
- baseColumn: never;
5708
- identity: undefined;
5709
- generated: undefined;
5710
- }, {}, {
5711
- length: 256;
5712
- }>;
5713
- createdBy: drizzle_orm_pg_core866.PgColumn<{
5714
- name: "created_by";
5715
- tableName: "scheduled_triggers";
5716
- dataType: "string";
5717
- columnType: "PgVarchar";
5718
- data: string;
5719
- driverParam: string;
5720
- notNull: false;
5721
- hasDefault: false;
5722
- isPrimaryKey: false;
5723
- isAutoincrement: false;
5724
- hasRuntimeDefault: false;
5725
- enumValues: [string, ...string[]];
5726
- baseColumn: never;
5727
- identity: undefined;
5728
- generated: undefined;
5729
- }, {}, {
5730
- length: 256;
5731
- }>;
5732
- name: drizzle_orm_pg_core866.PgColumn<{
5733
- name: "name";
5734
- tableName: "scheduled_triggers";
5735
- dataType: "string";
5736
- columnType: "PgVarchar";
5737
- data: string;
5738
- driverParam: string;
5739
- notNull: true;
5740
- hasDefault: false;
5741
- isPrimaryKey: false;
5742
- isAutoincrement: false;
5743
- hasRuntimeDefault: false;
5744
- enumValues: [string, ...string[]];
5745
- baseColumn: never;
5746
- identity: undefined;
5747
- generated: undefined;
5748
- }, {}, {
5749
- length: 256;
5750
- }>;
5751
- description: drizzle_orm_pg_core866.PgColumn<{
5752
- name: "description";
5753
- tableName: "scheduled_triggers";
5754
- dataType: "string";
5755
- columnType: "PgText";
5756
- data: string;
5757
- driverParam: string;
5758
- notNull: false;
5759
- hasDefault: false;
5760
- isPrimaryKey: false;
5761
- isAutoincrement: false;
5762
- hasRuntimeDefault: false;
5763
- enumValues: [string, ...string[]];
5764
- baseColumn: never;
5765
- identity: undefined;
5766
- generated: undefined;
5767
- }, {}, {}>;
5768
- agentId: drizzle_orm_pg_core866.PgColumn<{
5769
- name: "agent_id";
5770
- tableName: "scheduled_triggers";
5771
- dataType: "string";
5772
- columnType: "PgVarchar";
5773
- data: string;
5774
- driverParam: string;
5775
- notNull: true;
5776
- hasDefault: false;
5777
- isPrimaryKey: false;
5778
- isAutoincrement: false;
5779
- hasRuntimeDefault: false;
5780
- enumValues: [string, ...string[]];
5781
- baseColumn: never;
5782
- identity: undefined;
5783
- generated: undefined;
5784
- }, {}, {
5785
- length: 256;
5786
- }>;
5787
- projectId: drizzle_orm_pg_core866.PgColumn<{
5788
- name: "project_id";
5789
- tableName: "scheduled_triggers";
5790
- dataType: "string";
5791
- columnType: "PgVarchar";
5792
- data: string;
5793
- driverParam: string;
5794
- notNull: true;
5795
- hasDefault: false;
5796
- isPrimaryKey: false;
5797
- isAutoincrement: false;
5798
- hasRuntimeDefault: false;
5799
- enumValues: [string, ...string[]];
5800
- baseColumn: never;
5801
- identity: undefined;
5802
- generated: undefined;
5803
- }, {}, {
5804
- length: 256;
5805
- }>;
5806
- tenantId: drizzle_orm_pg_core866.PgColumn<{
5807
- name: "tenant_id";
5808
- tableName: "scheduled_triggers";
5809
- dataType: "string";
5810
- columnType: "PgVarchar";
5811
- data: string;
5812
- driverParam: string;
5813
- notNull: true;
5814
- hasDefault: false;
5815
- isPrimaryKey: false;
5816
- isAutoincrement: false;
5817
- hasRuntimeDefault: false;
5818
- enumValues: [string, ...string[]];
5819
- baseColumn: never;
5820
- identity: undefined;
5821
- generated: undefined;
5822
- }, {}, {
5823
- length: 256;
5824
- }>;
5825
- id: drizzle_orm_pg_core866.PgColumn<{
5826
- name: "id";
5827
- tableName: "scheduled_triggers";
5828
- dataType: "string";
5829
- columnType: "PgVarchar";
5830
- data: string;
5831
- driverParam: string;
5832
- notNull: true;
5833
- hasDefault: false;
5834
- isPrimaryKey: false;
5835
- isAutoincrement: false;
5836
- hasRuntimeDefault: false;
5837
- enumValues: [string, ...string[]];
5838
- baseColumn: never;
5839
- identity: undefined;
5840
- generated: undefined;
5841
- }, {}, {
5842
- length: 256;
5843
- }>;
5844
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "messageTemplate" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds" | "runAsUserId" | "createdBy">, undefined>, undefined>;
5152
+ declare const ScheduledTriggerInsertSchema: z.ZodObject<{
5153
+ id: z.ZodString;
5154
+ name: z.ZodString;
5155
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5156
+ tenantId: z.ZodString;
5157
+ projectId: z.ZodString;
5158
+ agentId: z.ZodString;
5159
+ enabled: z.ZodOptional<z.ZodBoolean>;
5160
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5161
+ cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5162
+ cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5163
+ runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5164
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5165
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5166
+ maxRetries: z.ZodOptional<z.ZodNumber>;
5167
+ retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5168
+ timeoutSeconds: z.ZodOptional<z.ZodNumber>;
5169
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5170
+ }, {
5171
+ out: {};
5172
+ in: {};
5173
+ }>;
5845
5174
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5846
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5847
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5175
+ id: z.ZodOptional<z.ZodString>;
5176
+ name: z.ZodOptional<z.ZodString>;
5177
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5178
+ tenantId: z.ZodOptional<z.ZodString>;
5179
+ projectId: z.ZodOptional<z.ZodString>;
5180
+ agentId: z.ZodOptional<z.ZodString>;
5181
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5848
5182
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5849
5183
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5850
5184
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5851
5185
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5852
5186
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5853
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5854
- name: z.ZodOptional<z.ZodString>;
5855
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5856
- agentId: z.ZodOptional<z.ZodString>;
5857
- projectId: z.ZodOptional<z.ZodString>;
5858
- tenantId: z.ZodOptional<z.ZodString>;
5859
- id: z.ZodOptional<z.ZodString>;
5860
5187
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5861
5188
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5862
5189
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5890,9 +5217,8 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5890
5217
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5891
5218
  name: z.ZodString;
5892
5219
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5893
- createdAt: z.ZodOptional<z.ZodString>;
5894
- updatedAt: z.ZodOptional<z.ZodString>;
5895
5220
  enabled: z.ZodOptional<z.ZodBoolean>;
5221
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5896
5222
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5897
5223
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5898
5224
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5902,15 +5228,13 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5902
5228
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5903
5229
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
5904
5230
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5905
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5906
5231
  id: z.ZodOptional<z.ZodString>;
5907
5232
  }, z.core.$strip>;
5908
5233
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5909
5234
  name: z.ZodString;
5910
5235
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5911
- createdAt: z.ZodOptional<z.ZodString>;
5912
- updatedAt: z.ZodOptional<z.ZodString>;
5913
5236
  enabled: z.ZodOptional<z.ZodBoolean>;
5237
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5914
5238
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5915
5239
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5916
5240
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5920,24 +5244,21 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5920
5244
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5921
5245
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
5922
5246
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5923
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5924
5247
  id: z.ZodOptional<z.ZodString>;
5925
5248
  }, z.core.$strip>;
5926
5249
  declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5927
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5928
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5250
+ id: z.ZodOptional<z.ZodString>;
5251
+ name: z.ZodOptional<z.ZodString>;
5252
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5253
+ tenantId: z.ZodOptional<z.ZodString>;
5254
+ projectId: z.ZodOptional<z.ZodString>;
5255
+ agentId: z.ZodOptional<z.ZodString>;
5256
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5929
5257
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5930
5258
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5931
5259
  payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5932
5260
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5933
5261
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5934
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5935
- name: z.ZodOptional<z.ZodString>;
5936
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5937
- agentId: z.ZodOptional<z.ZodString>;
5938
- projectId: z.ZodOptional<z.ZodString>;
5939
- tenantId: z.ZodOptional<z.ZodString>;
5940
- id: z.ZodOptional<z.ZodString>;
5941
5262
  enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5942
5263
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5943
5264
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -6770,7 +6091,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
6770
6091
  }, {}, {
6771
6092
  length: 256;
6772
6093
  }>;
6773
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6094
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "scheduledTriggerId" | "workflowRunId">, undefined>, undefined>;
6774
6095
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6775
6096
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6776
6097
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6806,8 +6127,8 @@ declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6806
6127
  createdAt: z.ZodOptional<z.ZodString>;
6807
6128
  updatedAt: z.ZodOptional<z.ZodString>;
6808
6129
  status: z.ZodOptional<z.ZodString>;
6809
- workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6810
6130
  scheduledTriggerId: z.ZodString;
6131
+ workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6811
6132
  id: z.ZodOptional<z.ZodString>;
6812
6133
  }, z.core.$strip>;
6813
6134
  declare const ScheduledWorkflowApiUpdateSchema: z.ZodObject<{
@@ -7377,7 +6698,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
7377
6698
  }, {}, {
7378
6699
  length: 256;
7379
6700
  }>;
7380
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "conversationIds" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
6701
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7381
6702
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7382
6703
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7383
6704
  status: z.ZodOptional<z.ZodString>;
@@ -7423,11 +6744,11 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7423
6744
  createdAt: z.ZodOptional<z.ZodString>;
7424
6745
  status: z.ZodString;
7425
6746
  scheduledTriggerId: z.ZodString;
7426
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7427
6747
  scheduledFor: z.ZodString;
7428
6748
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7429
6749
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7430
6750
  resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
6751
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7431
6752
  attemptNumber: z.ZodOptional<z.ZodInt>;
7432
6753
  idempotencyKey: z.ZodString;
7433
6754
  id: z.ZodString;
@@ -7437,11 +6758,11 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7437
6758
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7438
6759
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7439
6760
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7440
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7441
6761
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7442
6762
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7443
6763
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7444
6764
  resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
6765
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7445
6766
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
7446
6767
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7447
6768
  }, z.core.$strip>;
@@ -7985,7 +7306,6 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
7985
7306
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7986
7307
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7987
7308
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7988
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7989
7309
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7990
7310
  type: z.ZodEnum<{
7991
7311
  commit: "commit";
@@ -7995,6 +7315,7 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
7995
7315
  name: z.ZodString;
7996
7316
  hash: z.ZodString;
7997
7317
  }, z.core.$strip>>>;
7318
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7998
7319
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7999
7320
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8000
7321
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -8936,20 +8257,12 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
8936
8257
  }>;
8937
8258
  }, undefined>, undefined>;
8938
8259
  declare const ToolInsertSchema: z.ZodObject<{
8939
- createdAt: z.ZodOptional<z.ZodString>;
8940
- updatedAt: z.ZodOptional<z.ZodString>;
8941
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8942
- credentialScope: z.ZodOptional<z.ZodString>;
8943
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8944
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8945
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8946
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
8260
+ id: z.ZodString;
8947
8261
  name: z.ZodString;
8948
8262
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8949
- projectId: z.ZodString;
8950
8263
  tenantId: z.ZodString;
8951
- id: z.ZodString;
8952
- imageUrl: z.ZodOptional<z.ZodString>;
8264
+ projectId: z.ZodString;
8265
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8953
8266
  config: z.ZodObject<{
8954
8267
  type: z.ZodLiteral<"mcp">;
8955
8268
  mcp: z.ZodObject<{
@@ -8976,6 +8289,12 @@ declare const ToolInsertSchema: z.ZodObject<{
8976
8289
  prompt: z.ZodOptional<z.ZodString>;
8977
8290
  }, z.core.$strip>;
8978
8291
  }, z.core.$strip>;
8292
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8293
+ credentialScope: z.ZodOptional<z.ZodString>;
8294
+ imageUrl: z.ZodOptional<z.ZodString>;
8295
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8296
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8297
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
8979
8298
  }, {
8980
8299
  out: {};
8981
8300
  in: {};
@@ -9552,7 +8871,6 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
9552
8871
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9553
8872
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9554
8873
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9555
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9556
8874
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9557
8875
  type: z.ZodEnum<{
9558
8876
  commit: "commit";
@@ -9562,6 +8880,7 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
9562
8880
  name: z.ZodString;
9563
8881
  hash: z.ZodString;
9564
8882
  }, z.core.$strip>>>;
8883
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9565
8884
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9566
8885
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9567
8886
  }, z.core.$strip>;
@@ -10463,18 +9782,18 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
10463
9782
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10464
9783
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10465
9784
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9785
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10466
9786
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10467
9787
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10468
9788
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10469
9789
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10470
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10471
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10472
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10473
9790
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10474
9791
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10475
9792
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10476
9793
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9794
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10477
9795
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9796
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10478
9797
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10479
9798
  }, z.core.$strip>;
10480
9799
  declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -11432,15 +10751,15 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
11432
10751
  createdAt: z.ZodOptional<z.ZodString>;
11433
10752
  updatedAt: z.ZodOptional<z.ZodString>;
11434
10753
  datasetId: z.ZodString;
11435
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11436
10754
  datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10755
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11437
10756
  }, z.core.$strip>;
11438
10757
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
11439
10758
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11440
10759
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11441
10760
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11442
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11443
10761
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10762
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11444
10763
  }, z.core.$strip>;
11445
10764
  declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11446
10765
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -17095,8 +16414,11 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17095
16414
  }>;
17096
16415
  }, undefined>, undefined>;
17097
16416
  declare const DataComponentInsertSchema: z.ZodObject<{
17098
- createdAt: z.ZodOptional<z.ZodString>;
17099
- updatedAt: z.ZodOptional<z.ZodString>;
16417
+ id: z.ZodString;
16418
+ name: z.ZodString;
16419
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16420
+ tenantId: z.ZodString;
16421
+ projectId: z.ZodString;
17100
16422
  props: z.ZodType<{
17101
16423
  [x: string]: unknown;
17102
16424
  type: "object";
@@ -17139,18 +16461,16 @@ declare const DataComponentInsertSchema: z.ZodObject<{
17139
16461
  component: string;
17140
16462
  mockData: Record<string, unknown>;
17141
16463
  }>>>>;
17142
- name: z.ZodString;
17143
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17144
- projectId: z.ZodString;
17145
- tenantId: z.ZodString;
17146
- id: z.ZodString;
17147
16464
  }, {
17148
16465
  out: {};
17149
16466
  in: {};
17150
16467
  }>;
17151
16468
  declare const DataComponentUpdateSchema: z.ZodObject<{
17152
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17153
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16469
+ id: z.ZodOptional<z.ZodString>;
16470
+ name: z.ZodOptional<z.ZodString>;
16471
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16472
+ tenantId: z.ZodOptional<z.ZodString>;
16473
+ projectId: z.ZodOptional<z.ZodString>;
17154
16474
  props: z.ZodOptional<z.ZodType<{
17155
16475
  [x: string]: unknown;
17156
16476
  type: "object";
@@ -17193,11 +16513,6 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
17193
16513
  component: string;
17194
16514
  mockData: Record<string, unknown>;
17195
16515
  }>>>>>;
17196
- name: z.ZodOptional<z.ZodString>;
17197
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17198
- projectId: z.ZodOptional<z.ZodString>;
17199
- tenantId: z.ZodOptional<z.ZodString>;
17200
- id: z.ZodOptional<z.ZodString>;
17201
16516
  }, {
17202
16517
  out: {};
17203
16518
  in: {};
@@ -17255,8 +16570,6 @@ declare const DataComponentApiSelectSchema: z.ZodObject<OmitProjectScope<{
17255
16570
  }>, z.core.$strip>;
17256
16571
  declare const DataComponentApiInsertSchema: z.ZodObject<{
17257
16572
  id: z.ZodString;
17258
- createdAt: z.ZodOptional<z.ZodString>;
17259
- updatedAt: z.ZodOptional<z.ZodString>;
17260
16573
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
17261
16574
  component: string;
17262
16575
  mockData: Record<string, unknown>;
@@ -17282,8 +16595,6 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
17282
16595
  }, z.core.$strip>;
17283
16596
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
17284
16597
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17285
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17286
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17287
16598
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
17288
16599
  component: string;
17289
16600
  mockData: Record<string, unknown>;
@@ -18897,29 +18208,25 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
18897
18208
  in: {};
18898
18209
  }>;
18899
18210
  declare const ExternalAgentInsertSchema: z.ZodObject<{
18900
- createdAt: z.ZodOptional<z.ZodString>;
18901
- updatedAt: z.ZodOptional<z.ZodString>;
18902
- projectId: z.ZodString;
18903
- tenantId: z.ZodString;
18904
18211
  id: z.ZodString;
18905
18212
  name: z.ZodString;
18906
18213
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18907
- baseUrl: z.ZodURL;
18214
+ tenantId: z.ZodString;
18215
+ projectId: z.ZodString;
18908
18216
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18217
+ baseUrl: z.ZodURL;
18909
18218
  }, {
18910
18219
  out: {};
18911
18220
  in: {};
18912
18221
  }>;
18913
18222
  declare const ExternalAgentUpdateSchema: z.ZodObject<{
18914
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18915
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18916
- projectId: z.ZodOptional<z.ZodString>;
18917
- tenantId: z.ZodOptional<z.ZodString>;
18918
18223
  id: z.ZodOptional<z.ZodString>;
18919
18224
  name: z.ZodOptional<z.ZodString>;
18920
18225
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18921
- baseUrl: z.ZodOptional<z.ZodURL>;
18226
+ tenantId: z.ZodOptional<z.ZodString>;
18227
+ projectId: z.ZodOptional<z.ZodString>;
18922
18228
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18229
+ baseUrl: z.ZodOptional<z.ZodURL>;
18923
18230
  }, {
18924
18231
  out: {};
18925
18232
  in: {};
@@ -18936,24 +18243,20 @@ declare const ExternalAgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
18936
18243
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18937
18244
  }>, z.core.$strip>;
18938
18245
  declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18939
- createdAt: z.ZodOptional<z.ZodString>;
18940
- updatedAt: z.ZodOptional<z.ZodString>;
18941
- projectId: z.ZodString;
18942
- tenantId: z.ZodString;
18943
18246
  id: z.ZodString;
18944
18247
  name: z.ZodString;
18945
18248
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18946
- baseUrl: z.ZodURL;
18249
+ tenantId: z.ZodString;
18250
+ projectId: z.ZodString;
18947
18251
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18252
+ baseUrl: z.ZodURL;
18948
18253
  }>, z.core.$strip>;
18949
18254
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18950
18255
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18951
18256
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18952
18257
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18953
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18954
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18955
- baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18956
18258
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18259
+ baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18957
18260
  }, z.core.$strip>;
18958
18261
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18959
18262
  id: z.ZodString;
@@ -19032,8 +18335,8 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19032
18335
  description: z.ZodNullable<z.ZodString>;
19033
18336
  createdAt: z.ZodString;
19034
18337
  updatedAt: z.ZodString;
19035
- baseUrl: z.ZodString;
19036
18338
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18339
+ baseUrl: z.ZodString;
19037
18340
  type: z.ZodLiteral<"external">;
19038
18341
  }, z.core.$strip>], "type">;
19039
18342
  declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -21224,35 +20527,31 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
21224
20527
  }>;
21225
20528
  }, undefined>, undefined>;
21226
20529
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
21227
- createdAt: z.ZodOptional<z.ZodString>;
21228
- updatedAt: z.ZodOptional<z.ZodString>;
20530
+ id: z.ZodString;
21229
20531
  name: z.ZodString;
21230
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21231
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21232
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21233
- projectId: z.ZodString;
21234
20532
  tenantId: z.ZodString;
21235
- id: z.ZodString;
20533
+ projectId: z.ZodString;
21236
20534
  type: z.ZodString;
20535
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20536
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21237
20537
  credentialStoreId: z.ZodString;
21238
20538
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20539
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21239
20540
  }, {
21240
20541
  out: {};
21241
20542
  in: {};
21242
20543
  }>;
21243
20544
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
21244
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21245
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20545
+ id: z.ZodOptional<z.ZodString>;
21246
20546
  name: z.ZodOptional<z.ZodString>;
21247
- toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21248
- userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21249
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21250
- projectId: z.ZodOptional<z.ZodString>;
21251
20547
  tenantId: z.ZodOptional<z.ZodString>;
21252
- id: z.ZodOptional<z.ZodString>;
20548
+ projectId: z.ZodOptional<z.ZodString>;
21253
20549
  type: z.ZodOptional<z.ZodString>;
20550
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20551
+ userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21254
20552
  credentialStoreId: z.ZodOptional<z.ZodString>;
21255
20553
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
20554
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21256
20555
  }, {
21257
20556
  out: {};
21258
20557
  in: {};
@@ -21264,9 +20563,9 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
21264
20563
  updatedAt: z.ZodString;
21265
20564
  toolId: z.ZodNullable<z.ZodString>;
21266
20565
  userId: z.ZodNullable<z.ZodString>;
21267
- createdBy: z.ZodNullable<z.ZodString>;
21268
20566
  credentialStoreId: z.ZodString;
21269
20567
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
20568
+ createdBy: z.ZodNullable<z.ZodString>;
21270
20569
  type: z.ZodEnum<{
21271
20570
  readonly memory: "memory";
21272
20571
  readonly keychain: "keychain";
@@ -21851,13 +21150,11 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
21851
21150
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21852
21151
  id: z.ZodString;
21853
21152
  name: z.ZodString;
21854
- createdAt: z.ZodOptional<z.ZodString>;
21855
- updatedAt: z.ZodOptional<z.ZodString>;
21856
21153
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21857
21154
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21858
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21859
21155
  credentialStoreId: z.ZodString;
21860
21156
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21157
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21861
21158
  type: z.ZodEnum<{
21862
21159
  readonly memory: "memory";
21863
21160
  readonly keychain: "keychain";
@@ -21867,13 +21164,11 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
21867
21164
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
21868
21165
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21869
21166
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21870
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21871
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21872
21167
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21873
21168
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21874
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21875
21169
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21876
21170
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
21171
+ createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21877
21172
  type: z.ZodOptional<z.ZodEnum<{
21878
21173
  readonly memory: "memory";
21879
21174
  readonly keychain: "keychain";
@@ -21935,19 +21230,12 @@ declare const OAuthCallbackQuerySchema: z.ZodObject<{
21935
21230
  error_description: z.ZodOptional<z.ZodString>;
21936
21231
  }, z.core.$strip>;
21937
21232
  declare const McpToolSchema: z.ZodObject<{
21938
- createdAt: z.ZodOptional<z.ZodString>;
21939
- updatedAt: z.ZodOptional<z.ZodString>;
21940
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21941
- credentialScope: z.ZodOptional<z.ZodString>;
21942
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21943
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
21944
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21945
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
21233
+ id: z.ZodString;
21946
21234
  name: z.ZodString;
21947
21235
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21948
- projectId: z.ZodString;
21949
21236
  tenantId: z.ZodString;
21950
- id: z.ZodString;
21237
+ projectId: z.ZodString;
21238
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
21951
21239
  config: z.ZodObject<{
21952
21240
  type: z.ZodLiteral<"mcp">;
21953
21241
  mcp: z.ZodObject<{
@@ -21974,6 +21262,11 @@ declare const McpToolSchema: z.ZodObject<{
21974
21262
  prompt: z.ZodOptional<z.ZodString>;
21975
21263
  }, z.core.$strip>;
21976
21264
  }, z.core.$strip>;
21265
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21266
+ credentialScope: z.ZodOptional<z.ZodString>;
21267
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
21268
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21269
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
21977
21270
  imageUrl: z.ZodOptional<z.ZodString>;
21978
21271
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
21979
21272
  name: z.ZodString;
@@ -22000,12 +21293,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
22000
21293
  name: z.ZodString;
22001
21294
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
22002
21295
  expiresAt: z.ZodOptional<z.ZodString>;
22003
- createdBy: z.ZodOptional<z.ZodString>;
22004
21296
  credentialScope: z.ZodOptional<z.ZodString>;
22005
21297
  imageUrl: z.ZodOptional<z.ZodString>;
22006
21298
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
22007
21299
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22008
21300
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
21301
+ createdBy: z.ZodOptional<z.ZodString>;
22009
21302
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
22010
21303
  name: z.ZodString;
22011
21304
  description: z.ZodOptional<z.ZodString>;
@@ -22034,13 +21327,11 @@ declare const MCPToolConfigSchema: z.ZodObject<{
22034
21327
  credential: z.ZodOptional<z.ZodObject<{
22035
21328
  id: z.ZodString;
22036
21329
  name: z.ZodString;
22037
- createdAt: z.ZodOptional<z.ZodString>;
22038
- updatedAt: z.ZodOptional<z.ZodString>;
22039
21330
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22040
21331
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22041
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22042
21332
  credentialStoreId: z.ZodString;
22043
21333
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21334
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22044
21335
  type: z.ZodEnum<{
22045
21336
  readonly memory: "memory";
22046
21337
  readonly keychain: "keychain";
@@ -22059,20 +21350,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
22059
21350
  in: {};
22060
21351
  }>;
22061
21352
  declare const ToolUpdateSchema: z.ZodObject<{
22062
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22063
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22064
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22065
- credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22066
- headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
22067
- capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
22068
- lastError: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22069
- isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
21353
+ id: z.ZodOptional<z.ZodString>;
22070
21354
  name: z.ZodOptional<z.ZodString>;
22071
21355
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22072
- projectId: z.ZodOptional<z.ZodString>;
22073
21356
  tenantId: z.ZodOptional<z.ZodString>;
22074
- id: z.ZodOptional<z.ZodString>;
22075
- imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21357
+ projectId: z.ZodOptional<z.ZodString>;
21358
+ headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
22076
21359
  config: z.ZodOptional<z.ZodObject<{
22077
21360
  type: z.ZodLiteral<"mcp">;
22078
21361
  mcp: z.ZodObject<{
@@ -22099,6 +21382,12 @@ declare const ToolUpdateSchema: z.ZodObject<{
22099
21382
  prompt: z.ZodOptional<z.ZodString>;
22100
21383
  }, z.core.$strip>;
22101
21384
  }, z.core.$strip>>;
21385
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21386
+ credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21387
+ imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21388
+ capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
21389
+ lastError: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21390
+ isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
22102
21391
  }, {
22103
21392
  out: {};
22104
21393
  in: {};
@@ -22133,20 +21422,12 @@ declare const ToolApiSelectSchema: z.ZodObject<OmitProjectScope<{
22133
21422
  id: z.ZodString;
22134
21423
  }>, z.core.$strip>;
22135
21424
  declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
22136
- createdAt: z.ZodOptional<z.ZodString>;
22137
- updatedAt: z.ZodOptional<z.ZodString>;
22138
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22139
- credentialScope: z.ZodOptional<z.ZodString>;
22140
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
22141
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
22142
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22143
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
21425
+ id: z.ZodString;
22144
21426
  name: z.ZodString;
22145
21427
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22146
- projectId: z.ZodString;
22147
21428
  tenantId: z.ZodString;
22148
- id: z.ZodString;
22149
- imageUrl: z.ZodOptional<z.ZodString>;
21429
+ projectId: z.ZodString;
21430
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
22150
21431
  config: z.ZodObject<{
22151
21432
  type: z.ZodLiteral<"mcp">;
22152
21433
  mcp: z.ZodObject<{
@@ -22173,13 +21454,17 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
22173
21454
  prompt: z.ZodOptional<z.ZodString>;
22174
21455
  }, z.core.$strip>;
22175
21456
  }, z.core.$strip>;
21457
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21458
+ credentialScope: z.ZodOptional<z.ZodString>;
21459
+ imageUrl: z.ZodOptional<z.ZodString>;
21460
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
21461
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21462
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
22176
21463
  }>, z.core.$strip>;
22177
21464
  declare const ToolApiUpdateSchema: z.ZodObject<{
22178
21465
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22179
21466
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22180
21467
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22181
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22182
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22183
21468
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
22184
21469
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22185
21470
  type: z.ZodLiteral<"mcp">;
@@ -22548,29 +21833,25 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
22548
21833
  }>;
22549
21834
  }, undefined>, undefined>;
22550
21835
  declare const FunctionToolInsertSchema: z.ZodObject<{
22551
- createdAt: z.ZodOptional<z.ZodString>;
22552
- updatedAt: z.ZodOptional<z.ZodString>;
22553
- functionId: z.ZodString;
21836
+ id: z.ZodString;
22554
21837
  name: z.ZodString;
22555
21838
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22556
- agentId: z.ZodString;
22557
- projectId: z.ZodString;
22558
21839
  tenantId: z.ZodString;
22559
- id: z.ZodString;
21840
+ projectId: z.ZodString;
21841
+ agentId: z.ZodString;
21842
+ functionId: z.ZodString;
22560
21843
  }, {
22561
21844
  out: {};
22562
21845
  in: {};
22563
21846
  }>;
22564
21847
  declare const FunctionToolUpdateSchema: z.ZodObject<{
22565
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22566
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22567
- functionId: z.ZodOptional<z.ZodString>;
21848
+ id: z.ZodOptional<z.ZodString>;
22568
21849
  name: z.ZodOptional<z.ZodString>;
22569
21850
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22570
- agentId: z.ZodOptional<z.ZodString>;
22571
- projectId: z.ZodOptional<z.ZodString>;
22572
21851
  tenantId: z.ZodOptional<z.ZodString>;
22573
- id: z.ZodOptional<z.ZodString>;
21852
+ projectId: z.ZodOptional<z.ZodString>;
21853
+ agentId: z.ZodOptional<z.ZodString>;
21854
+ functionId: z.ZodOptional<z.ZodString>;
22574
21855
  }, {
22575
21856
  out: {};
22576
21857
  in: {};
@@ -22586,23 +21867,19 @@ declare const FunctionToolApiSelectSchema: z.ZodObject<{
22586
21867
  relationshipId: z.ZodOptional<z.ZodString>;
22587
21868
  }, z.core.$strip>;
22588
21869
  declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
22589
- createdAt: z.ZodOptional<z.ZodString>;
22590
- updatedAt: z.ZodOptional<z.ZodString>;
22591
- functionId: z.ZodString;
21870
+ id: z.ZodString;
22592
21871
  name: z.ZodString;
22593
21872
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22594
- agentId: z.ZodString;
22595
- projectId: z.ZodString;
22596
21873
  tenantId: z.ZodString;
22597
- id: z.ZodString;
21874
+ projectId: z.ZodString;
21875
+ agentId: z.ZodString;
21876
+ functionId: z.ZodString;
22598
21877
  }>, z.core.$strip>;
22599
21878
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
22600
21879
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22601
21880
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22602
21881
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22603
21882
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22604
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22605
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22606
21883
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22607
21884
  }, z.core.$strip>;
22608
21885
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -23316,11 +22593,9 @@ declare const FunctionApiSelectSchema: z.ZodObject<OmitProjectScope<{
23316
22593
  }>, z.core.$strip>;
23317
22594
  declare const FunctionApiInsertSchema: z.ZodObject<{
23318
22595
  id: z.ZodString;
23319
- createdAt: z.ZodOptional<z.ZodString>;
23320
- updatedAt: z.ZodOptional<z.ZodString>;
23321
22596
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
23322
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
23323
22597
  executeCode: z.ZodString;
22598
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
23324
22599
  }, z.core.$strip>;
23325
22600
  declare const FunctionApiUpdateSchema: z.ZodObject<{
23326
22601
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -23372,13 +22647,11 @@ declare const FetchDefinitionSchema: z.ZodObject<{
23372
22647
  credential: z.ZodOptional<z.ZodObject<{
23373
22648
  id: z.ZodString;
23374
22649
  name: z.ZodString;
23375
- createdAt: z.ZodOptional<z.ZodString>;
23376
- updatedAt: z.ZodOptional<z.ZodString>;
23377
22650
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23378
22651
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23379
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23380
22652
  credentialStoreId: z.ZodString;
23381
22653
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22654
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23382
22655
  type: z.ZodEnum<{
23383
22656
  readonly memory: "memory";
23384
22657
  readonly keychain: "keychain";
@@ -26056,7 +25329,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
26056
25329
  }, {}, {
26057
25330
  length: 256;
26058
25331
  }>;
26059
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
25332
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
26060
25333
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
26061
25334
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26062
25335
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -26128,9 +25401,9 @@ declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
26128
25401
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
26129
25402
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
26130
25403
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
26131
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26132
25404
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26133
25405
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
25406
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
26134
25407
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
26135
25408
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
26136
25409
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -26254,13 +25527,11 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
26254
25527
  }, z.core.$strip>>;
26255
25528
  }, z.core.$strip>;
26256
25529
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25530
+ id: z.ZodString;
26257
25531
  name: z.ZodString;
26258
25532
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26259
25533
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26260
- createdAt: z.ZodOptional<z.ZodString>;
26261
- updatedAt: z.ZodOptional<z.ZodString>;
26262
25534
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26263
- id: z.ZodString;
26264
25535
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26265
25536
  id: z.ZodString;
26266
25537
  name: z.ZodString;
@@ -26315,20 +25586,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
26315
25586
  }, z.core.$strip>>;
26316
25587
  }, z.core.$strip>>;
26317
25588
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26318
- createdAt: z.ZodOptional<z.ZodString>;
26319
- updatedAt: z.ZodOptional<z.ZodString>;
26320
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26321
- credentialScope: z.ZodOptional<z.ZodString>;
26322
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26323
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
26324
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26325
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
25589
+ id: z.ZodString;
26326
25590
  name: z.ZodString;
26327
25591
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26328
- projectId: z.ZodString;
26329
25592
  tenantId: z.ZodString;
26330
- id: z.ZodString;
26331
- imageUrl: z.ZodOptional<z.ZodString>;
25593
+ projectId: z.ZodString;
25594
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26332
25595
  config: z.ZodObject<{
26333
25596
  type: z.ZodLiteral<"mcp">;
26334
25597
  mcp: z.ZodObject<{
@@ -26355,17 +25618,21 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
26355
25618
  prompt: z.ZodOptional<z.ZodString>;
26356
25619
  }, z.core.$strip>;
26357
25620
  }, z.core.$strip>;
25621
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25622
+ credentialScope: z.ZodOptional<z.ZodString>;
25623
+ imageUrl: z.ZodOptional<z.ZodString>;
25624
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
25625
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25626
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
26358
25627
  }>, z.core.$strip>>>;
26359
25628
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26360
- createdAt: z.ZodOptional<z.ZodString>;
26361
- updatedAt: z.ZodOptional<z.ZodString>;
26362
- projectId: z.ZodString;
26363
- tenantId: z.ZodString;
26364
25629
  id: z.ZodString;
26365
25630
  name: z.ZodString;
26366
25631
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26367
- baseUrl: z.ZodURL;
25632
+ tenantId: z.ZodString;
25633
+ projectId: z.ZodString;
26368
25634
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25635
+ baseUrl: z.ZodURL;
26369
25636
  }>, z.core.$strip>>>;
26370
25637
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26371
25638
  id: z.ZodString;
@@ -26373,46 +25640,39 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
26373
25640
  description: z.ZodString;
26374
25641
  }, z.core.$strip>>>;
26375
25642
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
26376
- createdAt: z.ZodOptional<z.ZodString>;
26377
- updatedAt: z.ZodOptional<z.ZodString>;
26378
- functionId: z.ZodString;
25643
+ id: z.ZodString;
26379
25644
  name: z.ZodString;
26380
25645
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26381
- agentId: z.ZodString;
26382
- projectId: z.ZodString;
26383
25646
  tenantId: z.ZodString;
26384
- id: z.ZodString;
25647
+ projectId: z.ZodString;
25648
+ agentId: z.ZodString;
25649
+ functionId: z.ZodString;
26385
25650
  }>, z.core.$strip>>>;
26386
25651
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26387
25652
  id: z.ZodString;
26388
- createdAt: z.ZodOptional<z.ZodString>;
26389
- updatedAt: z.ZodOptional<z.ZodString>;
26390
25653
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
26391
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26392
25654
  executeCode: z.ZodString;
25655
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26393
25656
  }, z.core.$strip>>>;
26394
25657
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25658
+ id: z.ZodOptional<z.ZodString>;
26395
25659
  name: z.ZodString;
26396
25660
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26397
- createdAt: z.ZodOptional<z.ZodString>;
26398
- updatedAt: z.ZodOptional<z.ZodString>;
26399
25661
  enabled: z.ZodOptional<z.ZodBoolean>;
26400
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26401
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26402
25662
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26403
25663
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25664
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25665
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26404
25666
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26405
25667
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26406
25668
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26407
25669
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26408
- id: z.ZodOptional<z.ZodString>;
26409
25670
  }, z.core.$strip>>>;
26410
25671
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26411
25672
  name: z.ZodString;
26412
25673
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26413
- createdAt: z.ZodOptional<z.ZodString>;
26414
- updatedAt: z.ZodOptional<z.ZodString>;
26415
25674
  enabled: z.ZodOptional<z.ZodBoolean>;
25675
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26416
25676
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26417
25677
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26418
25678
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26422,7 +25682,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
26422
25682
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
26423
25683
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
26424
25684
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26425
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26426
25685
  id: z.ZodOptional<z.ZodString>;
26427
25686
  }, z.core.$strip>>>;
26428
25687
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -26677,13 +25936,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26677
25936
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26678
25937
  }, z.core.$strip>>;
26679
25938
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25939
+ id: z.ZodString;
26680
25940
  name: z.ZodString;
26681
25941
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26682
25942
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26683
- createdAt: z.ZodOptional<z.ZodString>;
26684
- updatedAt: z.ZodOptional<z.ZodString>;
26685
25943
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26686
- id: z.ZodString;
26687
25944
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26688
25945
  id: z.ZodString;
26689
25946
  name: z.ZodString;
@@ -26738,20 +25995,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26738
25995
  }, z.core.$strip>>;
26739
25996
  }, z.core.$strip>>;
26740
25997
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26741
- createdAt: z.ZodOptional<z.ZodString>;
26742
- updatedAt: z.ZodOptional<z.ZodString>;
26743
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26744
- credentialScope: z.ZodOptional<z.ZodString>;
26745
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26746
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
26747
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26748
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
25998
+ id: z.ZodString;
26749
25999
  name: z.ZodString;
26750
26000
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26751
- projectId: z.ZodString;
26752
26001
  tenantId: z.ZodString;
26753
- id: z.ZodString;
26754
- imageUrl: z.ZodOptional<z.ZodString>;
26002
+ projectId: z.ZodString;
26003
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26755
26004
  config: z.ZodObject<{
26756
26005
  type: z.ZodLiteral<"mcp">;
26757
26006
  mcp: z.ZodObject<{
@@ -26778,17 +26027,21 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26778
26027
  prompt: z.ZodOptional<z.ZodString>;
26779
26028
  }, z.core.$strip>;
26780
26029
  }, z.core.$strip>;
26030
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26031
+ credentialScope: z.ZodOptional<z.ZodString>;
26032
+ imageUrl: z.ZodOptional<z.ZodString>;
26033
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
26034
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26035
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
26781
26036
  }>, z.core.$strip>>>;
26782
26037
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26783
- createdAt: z.ZodOptional<z.ZodString>;
26784
- updatedAt: z.ZodOptional<z.ZodString>;
26785
- projectId: z.ZodString;
26786
- tenantId: z.ZodString;
26787
26038
  id: z.ZodString;
26788
26039
  name: z.ZodString;
26789
26040
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26790
- baseUrl: z.ZodURL;
26041
+ tenantId: z.ZodString;
26042
+ projectId: z.ZodString;
26791
26043
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26044
+ baseUrl: z.ZodURL;
26792
26045
  }>, z.core.$strip>>>;
26793
26046
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26794
26047
  id: z.ZodString;
@@ -26796,46 +26049,39 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26796
26049
  description: z.ZodString;
26797
26050
  }, z.core.$strip>>>;
26798
26051
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
26799
- createdAt: z.ZodOptional<z.ZodString>;
26800
- updatedAt: z.ZodOptional<z.ZodString>;
26801
- functionId: z.ZodString;
26052
+ id: z.ZodString;
26802
26053
  name: z.ZodString;
26803
26054
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26804
- agentId: z.ZodString;
26805
- projectId: z.ZodString;
26806
26055
  tenantId: z.ZodString;
26807
- id: z.ZodString;
26056
+ projectId: z.ZodString;
26057
+ agentId: z.ZodString;
26058
+ functionId: z.ZodString;
26808
26059
  }>, z.core.$strip>>>;
26809
26060
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26810
26061
  id: z.ZodString;
26811
- createdAt: z.ZodOptional<z.ZodString>;
26812
- updatedAt: z.ZodOptional<z.ZodString>;
26813
26062
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
26814
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26815
26063
  executeCode: z.ZodString;
26064
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26816
26065
  }, z.core.$strip>>>;
26817
26066
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26067
+ id: z.ZodOptional<z.ZodString>;
26818
26068
  name: z.ZodString;
26819
26069
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26820
- createdAt: z.ZodOptional<z.ZodString>;
26821
- updatedAt: z.ZodOptional<z.ZodString>;
26822
26070
  enabled: z.ZodOptional<z.ZodBoolean>;
26823
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26824
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26825
26071
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26826
26072
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26073
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26074
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26827
26075
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26828
26076
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26829
26077
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26830
26078
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
26831
- id: z.ZodOptional<z.ZodString>;
26832
26079
  }, z.core.$strip>>>;
26833
26080
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26834
26081
  name: z.ZodString;
26835
26082
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26836
- createdAt: z.ZodOptional<z.ZodString>;
26837
- updatedAt: z.ZodOptional<z.ZodString>;
26838
26083
  enabled: z.ZodOptional<z.ZodBoolean>;
26084
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26839
26085
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26840
26086
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26841
26087
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26845,7 +26091,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26845
26091
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
26846
26092
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
26847
26093
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26848
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26849
26094
  id: z.ZodOptional<z.ZodString>;
26850
26095
  }, z.core.$strip>>>;
26851
26096
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -26888,20 +26133,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26888
26133
  prompt: z.ZodOptional<z.ZodString>;
26889
26134
  }, z.core.$strip>>;
26890
26135
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26891
- createdAt: z.ZodOptional<z.ZodString>;
26892
- updatedAt: z.ZodOptional<z.ZodString>;
26893
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26894
- credentialScope: z.ZodOptional<z.ZodString>;
26895
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26896
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
26897
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26898
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
26136
+ id: z.ZodString;
26899
26137
  name: z.ZodString;
26900
26138
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26901
- projectId: z.ZodString;
26902
26139
  tenantId: z.ZodString;
26903
- id: z.ZodString;
26904
- imageUrl: z.ZodOptional<z.ZodString>;
26140
+ projectId: z.ZodString;
26141
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26905
26142
  config: z.ZodObject<{
26906
26143
  type: z.ZodLiteral<"mcp">;
26907
26144
  mcp: z.ZodObject<{
@@ -26928,25 +26165,27 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26928
26165
  prompt: z.ZodOptional<z.ZodString>;
26929
26166
  }, z.core.$strip>;
26930
26167
  }, z.core.$strip>;
26168
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26169
+ credentialScope: z.ZodOptional<z.ZodString>;
26170
+ imageUrl: z.ZodOptional<z.ZodString>;
26171
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
26172
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26173
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
26931
26174
  }>, z.core.$strip>>;
26932
26175
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
26933
- createdAt: z.ZodOptional<z.ZodString>;
26934
- updatedAt: z.ZodOptional<z.ZodString>;
26935
- functionId: z.ZodString;
26176
+ id: z.ZodString;
26936
26177
  name: z.ZodString;
26937
26178
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26938
- agentId: z.ZodString;
26939
- projectId: z.ZodString;
26940
26179
  tenantId: z.ZodString;
26941
- id: z.ZodString;
26180
+ projectId: z.ZodString;
26181
+ agentId: z.ZodString;
26182
+ functionId: z.ZodString;
26942
26183
  }>, z.core.$strip>>>;
26943
26184
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26944
26185
  id: z.ZodString;
26945
- createdAt: z.ZodOptional<z.ZodString>;
26946
- updatedAt: z.ZodOptional<z.ZodString>;
26947
26186
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
26948
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26949
26187
  executeCode: z.ZodString;
26188
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
26950
26189
  }, z.core.$strip>>>;
26951
26190
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26952
26191
  name: z.ZodString;
@@ -26958,8 +26197,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
26958
26197
  }>, z.core.$strip>>>;
26959
26198
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26960
26199
  id: z.ZodString;
26961
- createdAt: z.ZodOptional<z.ZodString>;
26962
- updatedAt: z.ZodOptional<z.ZodString>;
26963
26200
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
26964
26201
  component: string;
26965
26202
  mockData: Record<string, unknown>;
@@ -27012,15 +26249,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
27012
26249
  in: {};
27013
26250
  }>>>;
27014
26251
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27015
- createdAt: z.ZodOptional<z.ZodString>;
27016
- updatedAt: z.ZodOptional<z.ZodString>;
27017
- projectId: z.ZodString;
27018
- tenantId: z.ZodString;
27019
26252
  id: z.ZodString;
27020
26253
  name: z.ZodString;
27021
26254
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27022
- baseUrl: z.ZodURL;
26255
+ tenantId: z.ZodString;
26256
+ projectId: z.ZodString;
27023
26257
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26258
+ baseUrl: z.ZodURL;
27024
26259
  }>, z.core.$strip>>>;
27025
26260
  statusUpdates: z.ZodOptional<z.ZodObject<{
27026
26261
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -27040,13 +26275,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
27040
26275
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27041
26276
  id: z.ZodString;
27042
26277
  name: z.ZodString;
27043
- createdAt: z.ZodOptional<z.ZodString>;
27044
- updatedAt: z.ZodOptional<z.ZodString>;
27045
26278
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27046
26279
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27047
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27048
26280
  credentialStoreId: z.ZodString;
27049
26281
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26282
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27050
26283
  type: z.ZodEnum<{
27051
26284
  readonly memory: "memory";
27052
26285
  readonly keychain: "keychain";
@@ -28149,9 +27382,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
28149
27382
  updatedAt: z.ZodString;
28150
27383
  toolId: z.ZodNullable<z.ZodString>;
28151
27384
  userId: z.ZodNullable<z.ZodString>;
28152
- createdBy: z.ZodNullable<z.ZodString>;
28153
27385
  credentialStoreId: z.ZodString;
28154
27386
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27387
+ createdBy: z.ZodNullable<z.ZodString>;
28155
27388
  type: z.ZodEnum<{
28156
27389
  readonly memory: "memory";
28157
27390
  readonly keychain: "keychain";
@@ -28945,9 +28178,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28945
28178
  updatedAt: z.ZodString;
28946
28179
  toolId: z.ZodNullable<z.ZodString>;
28947
28180
  userId: z.ZodNullable<z.ZodString>;
28948
- createdBy: z.ZodNullable<z.ZodString>;
28949
28181
  credentialStoreId: z.ZodString;
28950
28182
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28183
+ createdBy: z.ZodNullable<z.ZodString>;
28951
28184
  type: z.ZodEnum<{
28952
28185
  readonly memory: "memory";
28953
28186
  readonly keychain: "keychain";
@@ -30052,9 +29285,9 @@ declare const CredentialReferenceResponse: z.ZodObject<{
30052
29285
  updatedAt: z.ZodString;
30053
29286
  toolId: z.ZodNullable<z.ZodString>;
30054
29287
  userId: z.ZodNullable<z.ZodString>;
30055
- createdBy: z.ZodNullable<z.ZodString>;
30056
29288
  credentialStoreId: z.ZodString;
30057
29289
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29290
+ createdBy: z.ZodNullable<z.ZodString>;
30058
29291
  type: z.ZodEnum<{
30059
29292
  readonly memory: "memory";
30060
29293
  readonly keychain: "keychain";
@@ -30839,8 +30072,8 @@ declare const TriggerResponse: z.ZodObject<{
30839
30072
  signature: z.ZodObject<{
30840
30073
  source: z.ZodEnum<{
30841
30074
  query: "query";
30842
- body: "body";
30843
30075
  header: "header";
30076
+ body: "body";
30844
30077
  }>;
30845
30078
  key: z.ZodString;
30846
30079
  prefix: z.ZodOptional<z.ZodString>;
@@ -30849,8 +30082,8 @@ declare const TriggerResponse: z.ZodObject<{
30849
30082
  signedComponents: z.ZodArray<z.ZodObject<{
30850
30083
  source: z.ZodEnum<{
30851
30084
  literal: "literal";
30852
- body: "body";
30853
30085
  header: "header";
30086
+ body: "body";
30854
30087
  }>;
30855
30088
  key: z.ZodOptional<z.ZodString>;
30856
30089
  value: z.ZodOptional<z.ZodString>;
@@ -31271,9 +30504,9 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
31271
30504
  updatedAt: z.ZodString;
31272
30505
  toolId: z.ZodNullable<z.ZodString>;
31273
30506
  userId: z.ZodNullable<z.ZodString>;
31274
- createdBy: z.ZodNullable<z.ZodString>;
31275
30507
  credentialStoreId: z.ZodString;
31276
30508
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
30509
+ createdBy: z.ZodNullable<z.ZodString>;
31277
30510
  type: z.ZodEnum<{
31278
30511
  readonly memory: "memory";
31279
30512
  readonly keychain: "keychain";
@@ -32138,8 +31371,8 @@ declare const TriggerListResponse: z.ZodObject<{
32138
31371
  signature: z.ZodObject<{
32139
31372
  source: z.ZodEnum<{
32140
31373
  query: "query";
32141
- body: "body";
32142
31374
  header: "header";
31375
+ body: "body";
32143
31376
  }>;
32144
31377
  key: z.ZodString;
32145
31378
  prefix: z.ZodOptional<z.ZodString>;
@@ -32148,8 +31381,8 @@ declare const TriggerListResponse: z.ZodObject<{
32148
31381
  signedComponents: z.ZodArray<z.ZodObject<{
32149
31382
  source: z.ZodEnum<{
32150
31383
  literal: "literal";
32151
- body: "body";
32152
31384
  header: "header";
31385
+ body: "body";
32153
31386
  }>;
32154
31387
  key: z.ZodOptional<z.ZodString>;
32155
31388
  value: z.ZodOptional<z.ZodString>;
@@ -32207,10 +31440,10 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
32207
31440
  createdAt: z.ZodString;
32208
31441
  updatedAt: z.ZodString;
32209
31442
  enabled: z.ZodBoolean;
32210
- messageTemplate: z.ZodNullable<z.ZodString>;
32211
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32212
31443
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32213
31444
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31445
+ messageTemplate: z.ZodNullable<z.ZodString>;
31446
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32214
31447
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32215
31448
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32216
31449
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32229,8 +31462,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
32229
31462
  signature: z.ZodObject<{
32230
31463
  source: z.ZodEnum<{
32231
31464
  query: "query";
32232
- body: "body";
32233
31465
  header: "header";
31466
+ body: "body";
32234
31467
  }>;
32235
31468
  key: z.ZodString;
32236
31469
  prefix: z.ZodOptional<z.ZodString>;
@@ -32239,8 +31472,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
32239
31472
  signedComponents: z.ZodArray<z.ZodObject<{
32240
31473
  source: z.ZodEnum<{
32241
31474
  literal: "literal";
32242
- body: "body";
32243
31475
  header: "header";
31476
+ body: "body";
32244
31477
  }>;
32245
31478
  key: z.ZodOptional<z.ZodString>;
32246
31479
  value: z.ZodOptional<z.ZodString>;
@@ -32270,10 +31503,10 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
32270
31503
  createdAt: z.ZodString;
32271
31504
  updatedAt: z.ZodString;
32272
31505
  enabled: z.ZodBoolean;
32273
- messageTemplate: z.ZodNullable<z.ZodString>;
32274
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32275
31506
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32276
31507
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31508
+ messageTemplate: z.ZodNullable<z.ZodString>;
31509
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32277
31510
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32278
31511
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32279
31512
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32292,8 +31525,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
32292
31525
  signature: z.ZodObject<{
32293
31526
  source: z.ZodEnum<{
32294
31527
  query: "query";
32295
- body: "body";
32296
31528
  header: "header";
31529
+ body: "body";
32297
31530
  }>;
32298
31531
  key: z.ZodString;
32299
31532
  prefix: z.ZodOptional<z.ZodString>;
@@ -32302,8 +31535,8 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
32302
31535
  signedComponents: z.ZodArray<z.ZodObject<{
32303
31536
  source: z.ZodEnum<{
32304
31537
  literal: "literal";
32305
- body: "body";
32306
31538
  header: "header";
31539
+ body: "body";
32307
31540
  }>;
32308
31541
  key: z.ZodOptional<z.ZodString>;
32309
31542
  value: z.ZodOptional<z.ZodString>;
@@ -32334,10 +31567,10 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
32334
31567
  createdAt: z.ZodString;
32335
31568
  updatedAt: z.ZodString;
32336
31569
  enabled: z.ZodBoolean;
32337
- messageTemplate: z.ZodNullable<z.ZodString>;
32338
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32339
31570
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32340
31571
  inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31572
+ messageTemplate: z.ZodNullable<z.ZodString>;
31573
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32341
31574
  outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32342
31575
  authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
32343
31576
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32356,8 +31589,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
32356
31589
  signature: z.ZodObject<{
32357
31590
  source: z.ZodEnum<{
32358
31591
  query: "query";
32359
- body: "body";
32360
31592
  header: "header";
31593
+ body: "body";
32361
31594
  }>;
32362
31595
  key: z.ZodString;
32363
31596
  prefix: z.ZodOptional<z.ZodString>;
@@ -32366,8 +31599,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
32366
31599
  signedComponents: z.ZodArray<z.ZodObject<{
32367
31600
  source: z.ZodEnum<{
32368
31601
  literal: "literal";
32369
- body: "body";
32370
31602
  header: "header";
31603
+ body: "body";
32371
31604
  }>;
32372
31605
  key: z.ZodOptional<z.ZodString>;
32373
31606
  value: z.ZodOptional<z.ZodString>;
@@ -32402,6 +31635,7 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
32402
31635
  createdAt: z.ZodString;
32403
31636
  updatedAt: z.ZodString;
32404
31637
  enabled: z.ZodBoolean;
31638
+ createdBy: z.ZodNullable<z.ZodString>;
32405
31639
  cronExpression: z.ZodNullable<z.ZodString>;
32406
31640
  cronTimezone: z.ZodNullable<z.ZodString>;
32407
31641
  runAt: z.ZodNullable<z.ZodString>;
@@ -32411,7 +31645,6 @@ declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
32411
31645
  retryDelaySeconds: z.ZodNumber;
32412
31646
  timeoutSeconds: z.ZodNumber;
32413
31647
  runAsUserId: z.ZodNullable<z.ZodString>;
32414
- createdBy: z.ZodNullable<z.ZodString>;
32415
31648
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
32416
31649
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
32417
31650
  completed: "completed";
@@ -32481,6 +31714,7 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
32481
31714
  createdAt: z.ZodString;
32482
31715
  updatedAt: z.ZodString;
32483
31716
  enabled: z.ZodBoolean;
31717
+ createdBy: z.ZodNullable<z.ZodString>;
32484
31718
  cronExpression: z.ZodNullable<z.ZodString>;
32485
31719
  cronTimezone: z.ZodNullable<z.ZodString>;
32486
31720
  runAt: z.ZodNullable<z.ZodString>;
@@ -32490,7 +31724,6 @@ declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
32490
31724
  retryDelaySeconds: z.ZodNumber;
32491
31725
  timeoutSeconds: z.ZodNumber;
32492
31726
  runAsUserId: z.ZodNullable<z.ZodString>;
32493
- createdBy: z.ZodNullable<z.ZodString>;
32494
31727
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
32495
31728
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
32496
31729
  completed: "completed";
@@ -32671,13 +31904,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32671
31904
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32672
31905
  }, z.core.$strip>>;
32673
31906
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31907
+ id: z.ZodString;
32674
31908
  name: z.ZodString;
32675
31909
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32676
31910
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32677
- createdAt: z.ZodOptional<z.ZodString>;
32678
- updatedAt: z.ZodOptional<z.ZodString>;
32679
31911
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32680
- id: z.ZodString;
32681
31912
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
32682
31913
  id: z.ZodString;
32683
31914
  name: z.ZodString;
@@ -32732,20 +31963,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32732
31963
  }, z.core.$strip>>;
32733
31964
  }, z.core.$strip>>;
32734
31965
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32735
- createdAt: z.ZodOptional<z.ZodString>;
32736
- updatedAt: z.ZodOptional<z.ZodString>;
32737
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32738
- credentialScope: z.ZodOptional<z.ZodString>;
32739
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32740
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
32741
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32742
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
31966
+ id: z.ZodString;
32743
31967
  name: z.ZodString;
32744
31968
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32745
- projectId: z.ZodString;
32746
31969
  tenantId: z.ZodString;
32747
- id: z.ZodString;
32748
- imageUrl: z.ZodOptional<z.ZodString>;
31970
+ projectId: z.ZodString;
31971
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32749
31972
  config: z.ZodObject<{
32750
31973
  type: z.ZodLiteral<"mcp">;
32751
31974
  mcp: z.ZodObject<{
@@ -32772,17 +31995,21 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32772
31995
  prompt: z.ZodOptional<z.ZodString>;
32773
31996
  }, z.core.$strip>;
32774
31997
  }, z.core.$strip>;
31998
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31999
+ credentialScope: z.ZodOptional<z.ZodString>;
32000
+ imageUrl: z.ZodOptional<z.ZodString>;
32001
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
32002
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32003
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
32775
32004
  }>, z.core.$strip>>>;
32776
32005
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32777
- createdAt: z.ZodOptional<z.ZodString>;
32778
- updatedAt: z.ZodOptional<z.ZodString>;
32779
- projectId: z.ZodString;
32780
- tenantId: z.ZodString;
32781
32006
  id: z.ZodString;
32782
32007
  name: z.ZodString;
32783
32008
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32784
- baseUrl: z.ZodURL;
32009
+ tenantId: z.ZodString;
32010
+ projectId: z.ZodString;
32785
32011
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32012
+ baseUrl: z.ZodURL;
32786
32013
  }>, z.core.$strip>>>;
32787
32014
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32788
32015
  id: z.ZodString;
@@ -32790,46 +32017,39 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32790
32017
  description: z.ZodString;
32791
32018
  }, z.core.$strip>>>;
32792
32019
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
32793
- createdAt: z.ZodOptional<z.ZodString>;
32794
- updatedAt: z.ZodOptional<z.ZodString>;
32795
- functionId: z.ZodString;
32020
+ id: z.ZodString;
32796
32021
  name: z.ZodString;
32797
32022
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32798
- agentId: z.ZodString;
32799
- projectId: z.ZodString;
32800
32023
  tenantId: z.ZodString;
32801
- id: z.ZodString;
32024
+ projectId: z.ZodString;
32025
+ agentId: z.ZodString;
32026
+ functionId: z.ZodString;
32802
32027
  }>, z.core.$strip>>>;
32803
32028
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32804
32029
  id: z.ZodString;
32805
- createdAt: z.ZodOptional<z.ZodString>;
32806
- updatedAt: z.ZodOptional<z.ZodString>;
32807
32030
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
32808
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32809
32031
  executeCode: z.ZodString;
32032
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32810
32033
  }, z.core.$strip>>>;
32811
32034
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32035
+ id: z.ZodOptional<z.ZodString>;
32812
32036
  name: z.ZodString;
32813
32037
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32814
- createdAt: z.ZodOptional<z.ZodString>;
32815
- updatedAt: z.ZodOptional<z.ZodString>;
32816
32038
  enabled: z.ZodOptional<z.ZodBoolean>;
32817
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32818
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32819
32039
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32820
32040
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32041
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32042
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32821
32043
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32822
32044
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32823
32045
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32824
32046
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
32825
- id: z.ZodOptional<z.ZodString>;
32826
32047
  }, z.core.$strip>>>;
32827
32048
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32828
32049
  name: z.ZodString;
32829
32050
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32830
- createdAt: z.ZodOptional<z.ZodString>;
32831
- updatedAt: z.ZodOptional<z.ZodString>;
32832
32051
  enabled: z.ZodOptional<z.ZodBoolean>;
32052
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32833
32053
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32834
32054
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32835
32055
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -32839,7 +32059,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32839
32059
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
32840
32060
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
32841
32061
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32842
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32843
32062
  id: z.ZodOptional<z.ZodString>;
32844
32063
  }, z.core.$strip>>>;
32845
32064
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -32882,20 +32101,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32882
32101
  prompt: z.ZodOptional<z.ZodString>;
32883
32102
  }, z.core.$strip>>;
32884
32103
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32885
- createdAt: z.ZodOptional<z.ZodString>;
32886
- updatedAt: z.ZodOptional<z.ZodString>;
32887
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32888
- credentialScope: z.ZodOptional<z.ZodString>;
32889
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32890
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
32891
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32892
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
32104
+ id: z.ZodString;
32893
32105
  name: z.ZodString;
32894
32106
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32895
- projectId: z.ZodString;
32896
32107
  tenantId: z.ZodString;
32897
- id: z.ZodString;
32898
- imageUrl: z.ZodOptional<z.ZodString>;
32108
+ projectId: z.ZodString;
32109
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32899
32110
  config: z.ZodObject<{
32900
32111
  type: z.ZodLiteral<"mcp">;
32901
32112
  mcp: z.ZodObject<{
@@ -32922,25 +32133,27 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32922
32133
  prompt: z.ZodOptional<z.ZodString>;
32923
32134
  }, z.core.$strip>;
32924
32135
  }, z.core.$strip>;
32136
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32137
+ credentialScope: z.ZodOptional<z.ZodString>;
32138
+ imageUrl: z.ZodOptional<z.ZodString>;
32139
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
32140
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32141
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
32925
32142
  }>, z.core.$strip>>;
32926
32143
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
32927
- createdAt: z.ZodOptional<z.ZodString>;
32928
- updatedAt: z.ZodOptional<z.ZodString>;
32929
- functionId: z.ZodString;
32144
+ id: z.ZodString;
32930
32145
  name: z.ZodString;
32931
32146
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32932
- agentId: z.ZodString;
32933
- projectId: z.ZodString;
32934
32147
  tenantId: z.ZodString;
32935
- id: z.ZodString;
32148
+ projectId: z.ZodString;
32149
+ agentId: z.ZodString;
32150
+ functionId: z.ZodString;
32936
32151
  }>, z.core.$strip>>>;
32937
32152
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32938
32153
  id: z.ZodString;
32939
- createdAt: z.ZodOptional<z.ZodString>;
32940
- updatedAt: z.ZodOptional<z.ZodString>;
32941
32154
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
32942
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32943
32155
  executeCode: z.ZodString;
32156
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
32944
32157
  }, z.core.$strip>>>;
32945
32158
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32946
32159
  name: z.ZodString;
@@ -32952,8 +32165,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
32952
32165
  }>, z.core.$strip>>>;
32953
32166
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32954
32167
  id: z.ZodString;
32955
- createdAt: z.ZodOptional<z.ZodString>;
32956
- updatedAt: z.ZodOptional<z.ZodString>;
32957
32168
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
32958
32169
  component: string;
32959
32170
  mockData: Record<string, unknown>;
@@ -33006,15 +32217,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
33006
32217
  in: {};
33007
32218
  }>>>;
33008
32219
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33009
- createdAt: z.ZodOptional<z.ZodString>;
33010
- updatedAt: z.ZodOptional<z.ZodString>;
33011
- projectId: z.ZodString;
33012
- tenantId: z.ZodString;
33013
32220
  id: z.ZodString;
33014
32221
  name: z.ZodString;
33015
32222
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33016
- baseUrl: z.ZodURL;
32223
+ tenantId: z.ZodString;
32224
+ projectId: z.ZodString;
33017
32225
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32226
+ baseUrl: z.ZodURL;
33018
32227
  }>, z.core.$strip>>>;
33019
32228
  statusUpdates: z.ZodOptional<z.ZodObject<{
33020
32229
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -33034,13 +32243,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
33034
32243
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33035
32244
  id: z.ZodString;
33036
32245
  name: z.ZodString;
33037
- createdAt: z.ZodOptional<z.ZodString>;
33038
- updatedAt: z.ZodOptional<z.ZodString>;
33039
32246
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33040
32247
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33041
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33042
32248
  credentialStoreId: z.ZodString;
33043
32249
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32250
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33044
32251
  type: z.ZodEnum<{
33045
32252
  readonly memory: "memory";
33046
32253
  readonly keychain: "keychain";
@@ -33491,9 +32698,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
33491
32698
  updatedAt: z.ZodString;
33492
32699
  toolId: z.ZodNullable<z.ZodString>;
33493
32700
  userId: z.ZodNullable<z.ZodString>;
33494
- createdBy: z.ZodNullable<z.ZodString>;
33495
32701
  credentialStoreId: z.ZodString;
33496
32702
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32703
+ createdBy: z.ZodNullable<z.ZodString>;
33497
32704
  type: z.ZodEnum<{
33498
32705
  readonly memory: "memory";
33499
32706
  readonly keychain: "keychain";
@@ -34289,9 +33496,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
34289
33496
  updatedAt: z.ZodString;
34290
33497
  toolId: z.ZodNullable<z.ZodString>;
34291
33498
  userId: z.ZodNullable<z.ZodString>;
34292
- createdBy: z.ZodNullable<z.ZodString>;
34293
33499
  credentialStoreId: z.ZodString;
34294
33500
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33501
+ createdBy: z.ZodNullable<z.ZodString>;
34295
33502
  type: z.ZodEnum<{
34296
33503
  readonly memory: "memory";
34297
33504
  readonly keychain: "keychain";
@@ -35114,13 +34321,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
35114
34321
  }, z.core.$strip>;
35115
34322
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35116
34323
  data: z.ZodObject<{
34324
+ id: z.ZodString;
35117
34325
  name: z.ZodString;
35118
34326
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35119
34327
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35120
- createdAt: z.ZodOptional<z.ZodString>;
35121
- updatedAt: z.ZodOptional<z.ZodString>;
35122
34328
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35123
- id: z.ZodString;
35124
34329
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
35125
34330
  id: z.ZodString;
35126
34331
  name: z.ZodString;
@@ -35175,20 +34380,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35175
34380
  }, z.core.$strip>>;
35176
34381
  }, z.core.$strip>>;
35177
34382
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
35178
- createdAt: z.ZodOptional<z.ZodString>;
35179
- updatedAt: z.ZodOptional<z.ZodString>;
35180
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35181
- credentialScope: z.ZodOptional<z.ZodString>;
35182
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35183
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
35184
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35185
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
34383
+ id: z.ZodString;
35186
34384
  name: z.ZodString;
35187
34385
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35188
- projectId: z.ZodString;
35189
34386
  tenantId: z.ZodString;
35190
- id: z.ZodString;
35191
- imageUrl: z.ZodOptional<z.ZodString>;
34387
+ projectId: z.ZodString;
34388
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35192
34389
  config: z.ZodObject<{
35193
34390
  type: z.ZodLiteral<"mcp">;
35194
34391
  mcp: z.ZodObject<{
@@ -35215,17 +34412,21 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35215
34412
  prompt: z.ZodOptional<z.ZodString>;
35216
34413
  }, z.core.$strip>;
35217
34414
  }, z.core.$strip>;
34415
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34416
+ credentialScope: z.ZodOptional<z.ZodString>;
34417
+ imageUrl: z.ZodOptional<z.ZodString>;
34418
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
34419
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34420
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
35218
34421
  }>, z.core.$strip>>>;
35219
34422
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
35220
- createdAt: z.ZodOptional<z.ZodString>;
35221
- updatedAt: z.ZodOptional<z.ZodString>;
35222
- projectId: z.ZodString;
35223
- tenantId: z.ZodString;
35224
34423
  id: z.ZodString;
35225
34424
  name: z.ZodString;
35226
34425
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35227
- baseUrl: z.ZodURL;
34426
+ tenantId: z.ZodString;
34427
+ projectId: z.ZodString;
35228
34428
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34429
+ baseUrl: z.ZodURL;
35229
34430
  }>, z.core.$strip>>>;
35230
34431
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
35231
34432
  id: z.ZodString;
@@ -35233,46 +34434,39 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35233
34434
  description: z.ZodString;
35234
34435
  }, z.core.$strip>>>;
35235
34436
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
35236
- createdAt: z.ZodOptional<z.ZodString>;
35237
- updatedAt: z.ZodOptional<z.ZodString>;
35238
- functionId: z.ZodString;
34437
+ id: z.ZodString;
35239
34438
  name: z.ZodString;
35240
34439
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35241
- agentId: z.ZodString;
35242
- projectId: z.ZodString;
35243
34440
  tenantId: z.ZodString;
35244
- id: z.ZodString;
34441
+ projectId: z.ZodString;
34442
+ agentId: z.ZodString;
34443
+ functionId: z.ZodString;
35245
34444
  }>, z.core.$strip>>>;
35246
34445
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
35247
34446
  id: z.ZodString;
35248
- createdAt: z.ZodOptional<z.ZodString>;
35249
- updatedAt: z.ZodOptional<z.ZodString>;
35250
34447
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
35251
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35252
34448
  executeCode: z.ZodString;
34449
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35253
34450
  }, z.core.$strip>>>;
35254
34451
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
34452
+ id: z.ZodOptional<z.ZodString>;
35255
34453
  name: z.ZodString;
35256
34454
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35257
- createdAt: z.ZodOptional<z.ZodString>;
35258
- updatedAt: z.ZodOptional<z.ZodString>;
35259
34455
  enabled: z.ZodOptional<z.ZodBoolean>;
35260
- messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35261
- runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35262
34456
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35263
34457
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34458
+ messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34459
+ runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35264
34460
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
35265
34461
  authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
35266
34462
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35267
34463
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
35268
- id: z.ZodOptional<z.ZodString>;
35269
34464
  }, z.core.$strip>>>;
35270
34465
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
35271
34466
  name: z.ZodString;
35272
34467
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35273
- createdAt: z.ZodOptional<z.ZodString>;
35274
- updatedAt: z.ZodOptional<z.ZodString>;
35275
34468
  enabled: z.ZodOptional<z.ZodBoolean>;
34469
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35276
34470
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35277
34471
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35278
34472
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -35282,7 +34476,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
35282
34476
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
35283
34477
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
35284
34478
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35285
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35286
34479
  id: z.ZodOptional<z.ZodString>;
35287
34480
  }, z.core.$strip>>>;
35288
34481
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -35576,19 +34769,12 @@ declare const ComponentAssociationListResponse: z.ZodObject<{
35576
34769
  }, z.core.$strip>;
35577
34770
  declare const McpToolResponse: z.ZodObject<{
35578
34771
  data: z.ZodObject<{
35579
- createdAt: z.ZodOptional<z.ZodString>;
35580
- updatedAt: z.ZodOptional<z.ZodString>;
35581
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35582
- credentialScope: z.ZodOptional<z.ZodString>;
35583
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35584
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
35585
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35586
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
34772
+ id: z.ZodString;
35587
34773
  name: z.ZodString;
35588
34774
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35589
- projectId: z.ZodString;
35590
34775
  tenantId: z.ZodString;
35591
- id: z.ZodString;
34776
+ projectId: z.ZodString;
34777
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35592
34778
  config: z.ZodObject<{
35593
34779
  type: z.ZodLiteral<"mcp">;
35594
34780
  mcp: z.ZodObject<{
@@ -35615,6 +34801,11 @@ declare const McpToolResponse: z.ZodObject<{
35615
34801
  prompt: z.ZodOptional<z.ZodString>;
35616
34802
  }, z.core.$strip>;
35617
34803
  }, z.core.$strip>;
34804
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34805
+ credentialScope: z.ZodOptional<z.ZodString>;
34806
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
34807
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34808
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
35618
34809
  imageUrl: z.ZodOptional<z.ZodString>;
35619
34810
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
35620
34811
  name: z.ZodString;
@@ -35639,19 +34830,12 @@ declare const McpToolResponse: z.ZodObject<{
35639
34830
  }, z.core.$strip>;
35640
34831
  declare const McpToolListResponse: z.ZodObject<{
35641
34832
  data: z.ZodArray<z.ZodObject<{
35642
- createdAt: z.ZodOptional<z.ZodString>;
35643
- updatedAt: z.ZodOptional<z.ZodString>;
35644
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35645
- credentialScope: z.ZodOptional<z.ZodString>;
35646
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35647
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
35648
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35649
- isWorkApp: z.ZodOptional<z.ZodBoolean>;
34833
+ id: z.ZodString;
35650
34834
  name: z.ZodString;
35651
34835
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35652
- projectId: z.ZodString;
35653
34836
  tenantId: z.ZodString;
35654
- id: z.ZodString;
34837
+ projectId: z.ZodString;
34838
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
35655
34839
  config: z.ZodObject<{
35656
34840
  type: z.ZodLiteral<"mcp">;
35657
34841
  mcp: z.ZodObject<{
@@ -35678,6 +34862,11 @@ declare const McpToolListResponse: z.ZodObject<{
35678
34862
  prompt: z.ZodOptional<z.ZodString>;
35679
34863
  }, z.core.$strip>;
35680
34864
  }, z.core.$strip>;
34865
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34866
+ credentialScope: z.ZodOptional<z.ZodString>;
34867
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
34868
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34869
+ isWorkApp: z.ZodOptional<z.ZodBoolean>;
35681
34870
  imageUrl: z.ZodOptional<z.ZodString>;
35682
34871
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
35683
34872
  name: z.ZodString;
@@ -36196,8 +35385,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
36196
35385
  disconnected: "disconnected";
36197
35386
  }>;
36198
35387
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
36199
- User: "User";
36200
35388
  Organization: "Organization";
35389
+ User: "User";
36201
35390
  }>;
36202
35391
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
36203
35392
  createdAt: drizzle_orm_pg_core866.PgColumn<{
@@ -36292,7 +35481,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
36292
35481
  tableName: "work_app_github_installations";
36293
35482
  dataType: "string";
36294
35483
  columnType: "PgVarchar";
36295
- data: "User" | "Organization";
35484
+ data: "Organization" | "User";
36296
35485
  driverParam: string;
36297
35486
  notNull: true;
36298
35487
  hasDefault: false;
@@ -36305,7 +35494,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
36305
35494
  generated: undefined;
36306
35495
  }, {}, {
36307
35496
  length: 20;
36308
- $type: "User" | "Organization";
35497
+ $type: "Organization" | "User";
36309
35498
  }>;
36310
35499
  status: drizzle_orm_pg_core866.PgColumn<{
36311
35500
  name: "status";
@@ -36458,7 +35647,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
36458
35647
  tableName: "work_app_github_installations";
36459
35648
  dataType: "string";
36460
35649
  columnType: "PgVarchar";
36461
- data: "User" | "Organization";
35650
+ data: "Organization" | "User";
36462
35651
  driverParam: string;
36463
35652
  notNull: true;
36464
35653
  hasDefault: false;
@@ -36471,7 +35660,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
36471
35660
  generated: undefined;
36472
35661
  }, {}, {
36473
35662
  length: 20;
36474
- $type: "User" | "Organization";
35663
+ $type: "Organization" | "User";
36475
35664
  }>;
36476
35665
  status: drizzle_orm_pg_core866.PgColumn<{
36477
35666
  name: "status";
@@ -36539,8 +35728,8 @@ declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
36539
35728
  installationId: z.ZodString;
36540
35729
  accountLogin: z.ZodString;
36541
35730
  accountType: z.ZodEnum<{
36542
- User: "User";
36543
35731
  Organization: "Organization";
35732
+ User: "User";
36544
35733
  }>;
36545
35734
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
36546
35735
  pending: "pending";
@@ -36570,8 +35759,8 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
36570
35759
  installationId: z.ZodString;
36571
35760
  accountLogin: z.ZodString;
36572
35761
  accountType: z.ZodEnum<{
36573
- User: "User";
36574
35762
  Organization: "Organization";
35763
+ User: "User";
36575
35764
  }>;
36576
35765
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
36577
35766
  pending: "pending";