@inkeep/agents-core 0.0.0-dev-20251209035832 → 0.0.0-dev-20251211233416
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.
- package/dist/auth/auth.d.ts +3 -3
- package/dist/{chunk-6CYQZ5KX.js → chunk-AUGHKZEB.js} +41 -1
- package/dist/{chunk-AM6VNTQR.js → chunk-CWAFZVRI.js} +1 -1
- package/dist/{chunk-DW4KGORH.js → chunk-DW4DNYUS.js} +1 -1
- package/dist/{chunk-V6TJNM2W.js → chunk-LH6OJIIM.js} +24 -9
- package/dist/{chunk-LPIBTNPD.js → chunk-UK63CULA.js} +3 -12
- package/dist/{client--LyweMGD.d.ts → client-DG_xZdlN.d.ts} +1 -1
- package/dist/client-exports.d.ts +7 -2
- package/dist/client-exports.js +8 -3
- package/dist/credential-stores/index.d.ts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/db/schema.js +1 -1
- package/dist/db/test-client.d.ts +3 -3
- package/dist/db/test-client.js +1 -1
- package/dist/index.d.ts +32 -18
- package/dist/index.js +67 -52
- package/dist/{schema-hzuVg3gd.d.ts → schema-DA6PfmoP.d.ts} +77 -1
- package/dist/{server-5tTh7AW3.d.ts → server-BviIeoo5.d.ts} +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-DWCVEJIN.d.ts → utility-dsfXkYTu.d.ts} +775 -125
- package/dist/utils/schema-conversion.d.ts +11 -1
- package/dist/utils/schema-conversion.js +1 -1
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/drizzle/0005_reflective_starfox.sql +9 -0
- package/drizzle/meta/0005_snapshot.json +3693 -0
- package/drizzle/meta/_journal.json +7 -0
- package/package.json +1 -1
|
@@ -3756,6 +3756,25 @@ declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
3756
3756
|
}, {}, {
|
|
3757
3757
|
length: 256;
|
|
3758
3758
|
}>;
|
|
3759
|
+
credentialScope: drizzle_orm_pg_core.PgColumn<{
|
|
3760
|
+
name: "credential_scope";
|
|
3761
|
+
tableName: "tools";
|
|
3762
|
+
dataType: "string";
|
|
3763
|
+
columnType: "PgVarchar";
|
|
3764
|
+
data: string;
|
|
3765
|
+
driverParam: string;
|
|
3766
|
+
notNull: true;
|
|
3767
|
+
hasDefault: true;
|
|
3768
|
+
isPrimaryKey: false;
|
|
3769
|
+
isAutoincrement: false;
|
|
3770
|
+
hasRuntimeDefault: false;
|
|
3771
|
+
enumValues: [string, ...string[]];
|
|
3772
|
+
baseColumn: never;
|
|
3773
|
+
identity: undefined;
|
|
3774
|
+
generated: undefined;
|
|
3775
|
+
}, {}, {
|
|
3776
|
+
length: 50;
|
|
3777
|
+
}>;
|
|
3759
3778
|
headers: drizzle_orm_pg_core.PgColumn<{
|
|
3760
3779
|
name: "headers";
|
|
3761
3780
|
tableName: "tools";
|
|
@@ -4000,6 +4019,25 @@ declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
4000
4019
|
}, {}, {
|
|
4001
4020
|
length: 256;
|
|
4002
4021
|
}>;
|
|
4022
|
+
credentialScope: drizzle_orm_pg_core.PgColumn<{
|
|
4023
|
+
name: "credential_scope";
|
|
4024
|
+
tableName: "tools";
|
|
4025
|
+
dataType: "string";
|
|
4026
|
+
columnType: "PgVarchar";
|
|
4027
|
+
data: string;
|
|
4028
|
+
driverParam: string;
|
|
4029
|
+
notNull: true;
|
|
4030
|
+
hasDefault: true;
|
|
4031
|
+
isPrimaryKey: false;
|
|
4032
|
+
isAutoincrement: false;
|
|
4033
|
+
hasRuntimeDefault: false;
|
|
4034
|
+
enumValues: [string, ...string[]];
|
|
4035
|
+
baseColumn: never;
|
|
4036
|
+
identity: undefined;
|
|
4037
|
+
generated: undefined;
|
|
4038
|
+
}, {}, {
|
|
4039
|
+
length: 50;
|
|
4040
|
+
}>;
|
|
4003
4041
|
headers: drizzle_orm_pg_core.PgColumn<{
|
|
4004
4042
|
name: "headers";
|
|
4005
4043
|
tableName: "tools";
|
|
@@ -4136,6 +4174,7 @@ declare const ToolInsertSchema: z.ZodObject<{
|
|
|
4136
4174
|
name: z.ZodString;
|
|
4137
4175
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4138
4176
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4177
|
+
credentialScope: z.ZodOptional<z.ZodString>;
|
|
4139
4178
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
4140
4179
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
4141
4180
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4570,8 +4609,8 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
|
|
|
4570
4609
|
title: z.ZodNullable<z.ZodString>;
|
|
4571
4610
|
createdAt: z.ZodString;
|
|
4572
4611
|
updatedAt: z.ZodString;
|
|
4573
|
-
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
4574
4612
|
userId: z.ZodNullable<z.ZodString>;
|
|
4613
|
+
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
4575
4614
|
activeSubAgentId: z.ZodString;
|
|
4576
4615
|
lastContextResolution: z.ZodNullable<z.ZodString>;
|
|
4577
4616
|
}, z.core.$strip>;
|
|
@@ -4580,9 +4619,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
|
|
|
4580
4619
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4581
4620
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
4582
4621
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4622
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4583
4623
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
|
|
4584
4624
|
contextConfigId: z.ZodOptional<z.ZodString>;
|
|
4585
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4586
4625
|
activeSubAgentId: z.ZodString;
|
|
4587
4626
|
lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4588
4627
|
}, z.core.$strip>;
|
|
@@ -4591,9 +4630,9 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
|
|
|
4591
4630
|
title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
4592
4631
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4593
4632
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4633
|
+
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
4594
4634
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
|
|
4595
4635
|
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4596
|
-
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
4597
4636
|
activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4598
4637
|
lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
4599
4638
|
}, z.core.$strip>;
|
|
@@ -8700,18 +8739,545 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
8700
8739
|
isPrimaryKey: false;
|
|
8701
8740
|
isAutoincrement: false;
|
|
8702
8741
|
hasRuntimeDefault: false;
|
|
8703
|
-
enumValues: [string, ...string[]];
|
|
8742
|
+
enumValues: [string, ...string[]];
|
|
8743
|
+
baseColumn: never;
|
|
8744
|
+
identity: undefined;
|
|
8745
|
+
generated: undefined;
|
|
8746
|
+
}, {}, {
|
|
8747
|
+
length: 256;
|
|
8748
|
+
}>;
|
|
8749
|
+
lastUsedAt: drizzle_orm_pg_core.PgColumn<{
|
|
8750
|
+
name: "last_used_at";
|
|
8751
|
+
tableName: "api_keys";
|
|
8752
|
+
dataType: "string";
|
|
8753
|
+
columnType: "PgTimestampString";
|
|
8754
|
+
data: string;
|
|
8755
|
+
driverParam: string;
|
|
8756
|
+
notNull: false;
|
|
8757
|
+
hasDefault: false;
|
|
8758
|
+
isPrimaryKey: false;
|
|
8759
|
+
isAutoincrement: false;
|
|
8760
|
+
hasRuntimeDefault: false;
|
|
8761
|
+
enumValues: undefined;
|
|
8762
|
+
baseColumn: never;
|
|
8763
|
+
identity: undefined;
|
|
8764
|
+
generated: undefined;
|
|
8765
|
+
}, {}, {}>;
|
|
8766
|
+
expiresAt: drizzle_orm_pg_core.PgColumn<{
|
|
8767
|
+
name: "expires_at";
|
|
8768
|
+
tableName: "api_keys";
|
|
8769
|
+
dataType: "string";
|
|
8770
|
+
columnType: "PgTimestampString";
|
|
8771
|
+
data: string;
|
|
8772
|
+
driverParam: string;
|
|
8773
|
+
notNull: false;
|
|
8774
|
+
hasDefault: false;
|
|
8775
|
+
isPrimaryKey: false;
|
|
8776
|
+
isAutoincrement: false;
|
|
8777
|
+
hasRuntimeDefault: false;
|
|
8778
|
+
enumValues: undefined;
|
|
8779
|
+
baseColumn: never;
|
|
8780
|
+
identity: undefined;
|
|
8781
|
+
generated: undefined;
|
|
8782
|
+
}, {}, {}>;
|
|
8783
|
+
agentId: drizzle_orm_pg_core.PgColumn<{
|
|
8784
|
+
name: "agent_id";
|
|
8785
|
+
tableName: "api_keys";
|
|
8786
|
+
dataType: "string";
|
|
8787
|
+
columnType: "PgVarchar";
|
|
8788
|
+
data: string;
|
|
8789
|
+
driverParam: string;
|
|
8790
|
+
notNull: true;
|
|
8791
|
+
hasDefault: false;
|
|
8792
|
+
isPrimaryKey: false;
|
|
8793
|
+
isAutoincrement: false;
|
|
8794
|
+
hasRuntimeDefault: false;
|
|
8795
|
+
enumValues: [string, ...string[]];
|
|
8796
|
+
baseColumn: never;
|
|
8797
|
+
identity: undefined;
|
|
8798
|
+
generated: undefined;
|
|
8799
|
+
}, {}, {
|
|
8800
|
+
length: 256;
|
|
8801
|
+
}>;
|
|
8802
|
+
projectId: drizzle_orm_pg_core.PgColumn<{
|
|
8803
|
+
name: "project_id";
|
|
8804
|
+
tableName: "api_keys";
|
|
8805
|
+
dataType: "string";
|
|
8806
|
+
columnType: "PgVarchar";
|
|
8807
|
+
data: string;
|
|
8808
|
+
driverParam: string;
|
|
8809
|
+
notNull: true;
|
|
8810
|
+
hasDefault: false;
|
|
8811
|
+
isPrimaryKey: false;
|
|
8812
|
+
isAutoincrement: false;
|
|
8813
|
+
hasRuntimeDefault: false;
|
|
8814
|
+
enumValues: [string, ...string[]];
|
|
8815
|
+
baseColumn: never;
|
|
8816
|
+
identity: undefined;
|
|
8817
|
+
generated: undefined;
|
|
8818
|
+
}, {}, {
|
|
8819
|
+
length: 256;
|
|
8820
|
+
}>;
|
|
8821
|
+
tenantId: drizzle_orm_pg_core.PgColumn<{
|
|
8822
|
+
name: "tenant_id";
|
|
8823
|
+
tableName: "api_keys";
|
|
8824
|
+
dataType: "string";
|
|
8825
|
+
columnType: "PgVarchar";
|
|
8826
|
+
data: string;
|
|
8827
|
+
driverParam: string;
|
|
8828
|
+
notNull: true;
|
|
8829
|
+
hasDefault: false;
|
|
8830
|
+
isPrimaryKey: false;
|
|
8831
|
+
isAutoincrement: false;
|
|
8832
|
+
hasRuntimeDefault: false;
|
|
8833
|
+
enumValues: [string, ...string[]];
|
|
8834
|
+
baseColumn: never;
|
|
8835
|
+
identity: undefined;
|
|
8836
|
+
generated: undefined;
|
|
8837
|
+
}, {}, {
|
|
8838
|
+
length: 256;
|
|
8839
|
+
}>;
|
|
8840
|
+
id: drizzle_orm_pg_core.PgColumn<{
|
|
8841
|
+
name: "id";
|
|
8842
|
+
tableName: "api_keys";
|
|
8843
|
+
dataType: "string";
|
|
8844
|
+
columnType: "PgVarchar";
|
|
8845
|
+
data: string;
|
|
8846
|
+
driverParam: string;
|
|
8847
|
+
notNull: true;
|
|
8848
|
+
hasDefault: false;
|
|
8849
|
+
isPrimaryKey: false;
|
|
8850
|
+
isAutoincrement: false;
|
|
8851
|
+
hasRuntimeDefault: false;
|
|
8852
|
+
enumValues: [string, ...string[]];
|
|
8853
|
+
baseColumn: never;
|
|
8854
|
+
identity: undefined;
|
|
8855
|
+
generated: undefined;
|
|
8856
|
+
}, {}, {
|
|
8857
|
+
length: 256;
|
|
8858
|
+
}>;
|
|
8859
|
+
}, undefined>, undefined>;
|
|
8860
|
+
declare const ApiKeyInsertSchema: z.ZodObject<{
|
|
8861
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
8862
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
8863
|
+
publicId: z.ZodString;
|
|
8864
|
+
keyHash: z.ZodString;
|
|
8865
|
+
keyPrefix: z.ZodString;
|
|
8866
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8867
|
+
lastUsedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8868
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8869
|
+
projectId: z.ZodString;
|
|
8870
|
+
tenantId: z.ZodString;
|
|
8871
|
+
id: z.ZodString;
|
|
8872
|
+
agentId: z.ZodString;
|
|
8873
|
+
}, {
|
|
8874
|
+
out: {};
|
|
8875
|
+
in: {};
|
|
8876
|
+
}>;
|
|
8877
|
+
declare const ApiKeyUpdateSchema: z.ZodObject<{
|
|
8878
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8879
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
8880
|
+
lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8881
|
+
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8882
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8883
|
+
}, {
|
|
8884
|
+
out: {};
|
|
8885
|
+
in: {};
|
|
8886
|
+
}>;
|
|
8887
|
+
declare const ApiKeyApiSelectSchema: z.ZodObject<{
|
|
8888
|
+
id: z.ZodString;
|
|
8889
|
+
name: z.ZodNullable<z.ZodString>;
|
|
8890
|
+
agentId: z.ZodString;
|
|
8891
|
+
publicId: z.ZodString;
|
|
8892
|
+
keyPrefix: z.ZodString;
|
|
8893
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
8894
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
8895
|
+
createdAt: z.ZodString;
|
|
8896
|
+
updatedAt: z.ZodString;
|
|
8897
|
+
}, {
|
|
8898
|
+
out: {};
|
|
8899
|
+
in: {};
|
|
8900
|
+
}>;
|
|
8901
|
+
declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
|
|
8902
|
+
data: z.ZodObject<{
|
|
8903
|
+
apiKey: z.ZodObject<{
|
|
8904
|
+
id: z.ZodString;
|
|
8905
|
+
name: z.ZodNullable<z.ZodString>;
|
|
8906
|
+
agentId: z.ZodString;
|
|
8907
|
+
publicId: z.ZodString;
|
|
8908
|
+
keyPrefix: z.ZodString;
|
|
8909
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
8910
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
8911
|
+
createdAt: z.ZodString;
|
|
8912
|
+
updatedAt: z.ZodString;
|
|
8913
|
+
}, {
|
|
8914
|
+
out: {};
|
|
8915
|
+
in: {};
|
|
8916
|
+
}>;
|
|
8917
|
+
key: z.ZodString;
|
|
8918
|
+
}, z.core.$strip>;
|
|
8919
|
+
}, z.core.$strip>;
|
|
8920
|
+
declare const ApiKeyApiInsertSchema: z.ZodObject<{
|
|
8921
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8922
|
+
agentId: z.ZodString;
|
|
8923
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8924
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
8925
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
8926
|
+
}, {
|
|
8927
|
+
out: {};
|
|
8928
|
+
in: {};
|
|
8929
|
+
}>;
|
|
8930
|
+
declare const ApiKeyApiUpdateSchema: z.ZodObject<{
|
|
8931
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8932
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
8933
|
+
lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8934
|
+
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8935
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8936
|
+
}, {
|
|
8937
|
+
out: {};
|
|
8938
|
+
in: {};
|
|
8939
|
+
}>;
|
|
8940
|
+
declare const CredentialReferenceSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
8941
|
+
createdAt: drizzle_orm_pg_core.PgColumn<{
|
|
8942
|
+
name: "created_at";
|
|
8943
|
+
tableName: "credential_references";
|
|
8944
|
+
dataType: "string";
|
|
8945
|
+
columnType: "PgTimestampString";
|
|
8946
|
+
data: string;
|
|
8947
|
+
driverParam: string;
|
|
8948
|
+
notNull: true;
|
|
8949
|
+
hasDefault: true;
|
|
8950
|
+
isPrimaryKey: false;
|
|
8951
|
+
isAutoincrement: false;
|
|
8952
|
+
hasRuntimeDefault: false;
|
|
8953
|
+
enumValues: undefined;
|
|
8954
|
+
baseColumn: never;
|
|
8955
|
+
identity: undefined;
|
|
8956
|
+
generated: undefined;
|
|
8957
|
+
}, {}, {}>;
|
|
8958
|
+
updatedAt: drizzle_orm_pg_core.PgColumn<{
|
|
8959
|
+
name: "updated_at";
|
|
8960
|
+
tableName: "credential_references";
|
|
8961
|
+
dataType: "string";
|
|
8962
|
+
columnType: "PgTimestampString";
|
|
8963
|
+
data: string;
|
|
8964
|
+
driverParam: string;
|
|
8965
|
+
notNull: true;
|
|
8966
|
+
hasDefault: true;
|
|
8967
|
+
isPrimaryKey: false;
|
|
8968
|
+
isAutoincrement: false;
|
|
8969
|
+
hasRuntimeDefault: false;
|
|
8970
|
+
enumValues: undefined;
|
|
8971
|
+
baseColumn: never;
|
|
8972
|
+
identity: undefined;
|
|
8973
|
+
generated: undefined;
|
|
8974
|
+
}, {}, {}>;
|
|
8975
|
+
name: drizzle_orm_pg_core.PgColumn<{
|
|
8976
|
+
name: "name";
|
|
8977
|
+
tableName: "credential_references";
|
|
8978
|
+
dataType: "string";
|
|
8979
|
+
columnType: "PgVarchar";
|
|
8980
|
+
data: string;
|
|
8981
|
+
driverParam: string;
|
|
8982
|
+
notNull: true;
|
|
8983
|
+
hasDefault: false;
|
|
8984
|
+
isPrimaryKey: false;
|
|
8985
|
+
isAutoincrement: false;
|
|
8986
|
+
hasRuntimeDefault: false;
|
|
8987
|
+
enumValues: [string, ...string[]];
|
|
8988
|
+
baseColumn: never;
|
|
8989
|
+
identity: undefined;
|
|
8990
|
+
generated: undefined;
|
|
8991
|
+
}, {}, {
|
|
8992
|
+
length: 256;
|
|
8993
|
+
}>;
|
|
8994
|
+
type: drizzle_orm_pg_core.PgColumn<{
|
|
8995
|
+
name: "type";
|
|
8996
|
+
tableName: "credential_references";
|
|
8997
|
+
dataType: "string";
|
|
8998
|
+
columnType: "PgVarchar";
|
|
8999
|
+
data: string;
|
|
9000
|
+
driverParam: string;
|
|
9001
|
+
notNull: true;
|
|
9002
|
+
hasDefault: false;
|
|
9003
|
+
isPrimaryKey: false;
|
|
9004
|
+
isAutoincrement: false;
|
|
9005
|
+
hasRuntimeDefault: false;
|
|
9006
|
+
enumValues: [string, ...string[]];
|
|
9007
|
+
baseColumn: never;
|
|
9008
|
+
identity: undefined;
|
|
9009
|
+
generated: undefined;
|
|
9010
|
+
}, {}, {
|
|
9011
|
+
length: 256;
|
|
9012
|
+
}>;
|
|
9013
|
+
credentialStoreId: drizzle_orm_pg_core.PgColumn<{
|
|
9014
|
+
name: "credential_store_id";
|
|
9015
|
+
tableName: "credential_references";
|
|
9016
|
+
dataType: "string";
|
|
9017
|
+
columnType: "PgVarchar";
|
|
9018
|
+
data: string;
|
|
9019
|
+
driverParam: string;
|
|
9020
|
+
notNull: true;
|
|
9021
|
+
hasDefault: false;
|
|
9022
|
+
isPrimaryKey: false;
|
|
9023
|
+
isAutoincrement: false;
|
|
9024
|
+
hasRuntimeDefault: false;
|
|
9025
|
+
enumValues: [string, ...string[]];
|
|
9026
|
+
baseColumn: never;
|
|
9027
|
+
identity: undefined;
|
|
9028
|
+
generated: undefined;
|
|
9029
|
+
}, {}, {
|
|
9030
|
+
length: 256;
|
|
9031
|
+
}>;
|
|
9032
|
+
retrievalParams: drizzle_orm_pg_core.PgColumn<{
|
|
9033
|
+
name: "retrieval_params";
|
|
9034
|
+
tableName: "credential_references";
|
|
9035
|
+
dataType: "json";
|
|
9036
|
+
columnType: "PgJsonb";
|
|
9037
|
+
data: Record<string, unknown>;
|
|
9038
|
+
driverParam: unknown;
|
|
9039
|
+
notNull: false;
|
|
9040
|
+
hasDefault: false;
|
|
9041
|
+
isPrimaryKey: false;
|
|
9042
|
+
isAutoincrement: false;
|
|
9043
|
+
hasRuntimeDefault: false;
|
|
9044
|
+
enumValues: undefined;
|
|
9045
|
+
baseColumn: never;
|
|
9046
|
+
identity: undefined;
|
|
9047
|
+
generated: undefined;
|
|
9048
|
+
}, {}, {
|
|
9049
|
+
$type: Record<string, unknown>;
|
|
9050
|
+
}>;
|
|
9051
|
+
toolId: drizzle_orm_pg_core.PgColumn<{
|
|
9052
|
+
name: "tool_id";
|
|
9053
|
+
tableName: "credential_references";
|
|
9054
|
+
dataType: "string";
|
|
9055
|
+
columnType: "PgVarchar";
|
|
9056
|
+
data: string;
|
|
9057
|
+
driverParam: string;
|
|
9058
|
+
notNull: false;
|
|
9059
|
+
hasDefault: false;
|
|
9060
|
+
isPrimaryKey: false;
|
|
9061
|
+
isAutoincrement: false;
|
|
9062
|
+
hasRuntimeDefault: false;
|
|
9063
|
+
enumValues: [string, ...string[]];
|
|
9064
|
+
baseColumn: never;
|
|
9065
|
+
identity: undefined;
|
|
9066
|
+
generated: undefined;
|
|
9067
|
+
}, {}, {
|
|
9068
|
+
length: 256;
|
|
9069
|
+
}>;
|
|
9070
|
+
userId: drizzle_orm_pg_core.PgColumn<{
|
|
9071
|
+
name: "user_id";
|
|
9072
|
+
tableName: "credential_references";
|
|
9073
|
+
dataType: "string";
|
|
9074
|
+
columnType: "PgVarchar";
|
|
9075
|
+
data: string;
|
|
9076
|
+
driverParam: string;
|
|
9077
|
+
notNull: false;
|
|
9078
|
+
hasDefault: false;
|
|
9079
|
+
isPrimaryKey: false;
|
|
9080
|
+
isAutoincrement: false;
|
|
9081
|
+
hasRuntimeDefault: false;
|
|
9082
|
+
enumValues: [string, ...string[]];
|
|
9083
|
+
baseColumn: never;
|
|
9084
|
+
identity: undefined;
|
|
9085
|
+
generated: undefined;
|
|
9086
|
+
}, {}, {
|
|
9087
|
+
length: 256;
|
|
9088
|
+
}>;
|
|
9089
|
+
createdBy: drizzle_orm_pg_core.PgColumn<{
|
|
9090
|
+
name: "created_by";
|
|
9091
|
+
tableName: "credential_references";
|
|
9092
|
+
dataType: "string";
|
|
9093
|
+
columnType: "PgVarchar";
|
|
9094
|
+
data: string;
|
|
9095
|
+
driverParam: string;
|
|
9096
|
+
notNull: false;
|
|
9097
|
+
hasDefault: false;
|
|
9098
|
+
isPrimaryKey: false;
|
|
9099
|
+
isAutoincrement: false;
|
|
9100
|
+
hasRuntimeDefault: false;
|
|
9101
|
+
enumValues: [string, ...string[]];
|
|
9102
|
+
baseColumn: never;
|
|
9103
|
+
identity: undefined;
|
|
9104
|
+
generated: undefined;
|
|
9105
|
+
}, {}, {
|
|
9106
|
+
length: 256;
|
|
9107
|
+
}>;
|
|
9108
|
+
projectId: drizzle_orm_pg_core.PgColumn<{
|
|
9109
|
+
name: "project_id";
|
|
9110
|
+
tableName: "credential_references";
|
|
9111
|
+
dataType: "string";
|
|
9112
|
+
columnType: "PgVarchar";
|
|
9113
|
+
data: string;
|
|
9114
|
+
driverParam: string;
|
|
9115
|
+
notNull: true;
|
|
9116
|
+
hasDefault: false;
|
|
9117
|
+
isPrimaryKey: false;
|
|
9118
|
+
isAutoincrement: false;
|
|
9119
|
+
hasRuntimeDefault: false;
|
|
9120
|
+
enumValues: [string, ...string[]];
|
|
9121
|
+
baseColumn: never;
|
|
9122
|
+
identity: undefined;
|
|
9123
|
+
generated: undefined;
|
|
9124
|
+
}, {}, {
|
|
9125
|
+
length: 256;
|
|
9126
|
+
}>;
|
|
9127
|
+
tenantId: drizzle_orm_pg_core.PgColumn<{
|
|
9128
|
+
name: "tenant_id";
|
|
9129
|
+
tableName: "credential_references";
|
|
9130
|
+
dataType: "string";
|
|
9131
|
+
columnType: "PgVarchar";
|
|
9132
|
+
data: string;
|
|
9133
|
+
driverParam: string;
|
|
9134
|
+
notNull: true;
|
|
9135
|
+
hasDefault: false;
|
|
9136
|
+
isPrimaryKey: false;
|
|
9137
|
+
isAutoincrement: false;
|
|
9138
|
+
hasRuntimeDefault: false;
|
|
9139
|
+
enumValues: [string, ...string[]];
|
|
9140
|
+
baseColumn: never;
|
|
9141
|
+
identity: undefined;
|
|
9142
|
+
generated: undefined;
|
|
9143
|
+
}, {}, {
|
|
9144
|
+
length: 256;
|
|
9145
|
+
}>;
|
|
9146
|
+
id: drizzle_orm_pg_core.PgColumn<{
|
|
9147
|
+
name: "id";
|
|
9148
|
+
tableName: "credential_references";
|
|
9149
|
+
dataType: "string";
|
|
9150
|
+
columnType: "PgVarchar";
|
|
9151
|
+
data: string;
|
|
9152
|
+
driverParam: string;
|
|
9153
|
+
notNull: true;
|
|
9154
|
+
hasDefault: false;
|
|
9155
|
+
isPrimaryKey: false;
|
|
9156
|
+
isAutoincrement: false;
|
|
9157
|
+
hasRuntimeDefault: false;
|
|
9158
|
+
enumValues: [string, ...string[]];
|
|
9159
|
+
baseColumn: never;
|
|
9160
|
+
identity: undefined;
|
|
9161
|
+
generated: undefined;
|
|
9162
|
+
}, {}, {
|
|
9163
|
+
length: 256;
|
|
9164
|
+
}>;
|
|
9165
|
+
}, drizzle_zod.BuildRefine<{
|
|
9166
|
+
createdAt: drizzle_orm_pg_core.PgColumn<{
|
|
9167
|
+
name: "created_at";
|
|
9168
|
+
tableName: "credential_references";
|
|
9169
|
+
dataType: "string";
|
|
9170
|
+
columnType: "PgTimestampString";
|
|
9171
|
+
data: string;
|
|
9172
|
+
driverParam: string;
|
|
9173
|
+
notNull: true;
|
|
9174
|
+
hasDefault: true;
|
|
9175
|
+
isPrimaryKey: false;
|
|
9176
|
+
isAutoincrement: false;
|
|
9177
|
+
hasRuntimeDefault: false;
|
|
9178
|
+
enumValues: undefined;
|
|
9179
|
+
baseColumn: never;
|
|
9180
|
+
identity: undefined;
|
|
9181
|
+
generated: undefined;
|
|
9182
|
+
}, {}, {}>;
|
|
9183
|
+
updatedAt: drizzle_orm_pg_core.PgColumn<{
|
|
9184
|
+
name: "updated_at";
|
|
9185
|
+
tableName: "credential_references";
|
|
9186
|
+
dataType: "string";
|
|
9187
|
+
columnType: "PgTimestampString";
|
|
9188
|
+
data: string;
|
|
9189
|
+
driverParam: string;
|
|
9190
|
+
notNull: true;
|
|
9191
|
+
hasDefault: true;
|
|
9192
|
+
isPrimaryKey: false;
|
|
9193
|
+
isAutoincrement: false;
|
|
9194
|
+
hasRuntimeDefault: false;
|
|
9195
|
+
enumValues: undefined;
|
|
9196
|
+
baseColumn: never;
|
|
9197
|
+
identity: undefined;
|
|
9198
|
+
generated: undefined;
|
|
9199
|
+
}, {}, {}>;
|
|
9200
|
+
name: drizzle_orm_pg_core.PgColumn<{
|
|
9201
|
+
name: "name";
|
|
9202
|
+
tableName: "credential_references";
|
|
9203
|
+
dataType: "string";
|
|
9204
|
+
columnType: "PgVarchar";
|
|
9205
|
+
data: string;
|
|
9206
|
+
driverParam: string;
|
|
9207
|
+
notNull: true;
|
|
9208
|
+
hasDefault: false;
|
|
9209
|
+
isPrimaryKey: false;
|
|
9210
|
+
isAutoincrement: false;
|
|
9211
|
+
hasRuntimeDefault: false;
|
|
9212
|
+
enumValues: [string, ...string[]];
|
|
9213
|
+
baseColumn: never;
|
|
9214
|
+
identity: undefined;
|
|
9215
|
+
generated: undefined;
|
|
9216
|
+
}, {}, {
|
|
9217
|
+
length: 256;
|
|
9218
|
+
}>;
|
|
9219
|
+
type: drizzle_orm_pg_core.PgColumn<{
|
|
9220
|
+
name: "type";
|
|
9221
|
+
tableName: "credential_references";
|
|
9222
|
+
dataType: "string";
|
|
9223
|
+
columnType: "PgVarchar";
|
|
9224
|
+
data: string;
|
|
9225
|
+
driverParam: string;
|
|
9226
|
+
notNull: true;
|
|
9227
|
+
hasDefault: false;
|
|
9228
|
+
isPrimaryKey: false;
|
|
9229
|
+
isAutoincrement: false;
|
|
9230
|
+
hasRuntimeDefault: false;
|
|
9231
|
+
enumValues: [string, ...string[]];
|
|
9232
|
+
baseColumn: never;
|
|
9233
|
+
identity: undefined;
|
|
9234
|
+
generated: undefined;
|
|
9235
|
+
}, {}, {
|
|
9236
|
+
length: 256;
|
|
9237
|
+
}>;
|
|
9238
|
+
credentialStoreId: drizzle_orm_pg_core.PgColumn<{
|
|
9239
|
+
name: "credential_store_id";
|
|
9240
|
+
tableName: "credential_references";
|
|
9241
|
+
dataType: "string";
|
|
9242
|
+
columnType: "PgVarchar";
|
|
9243
|
+
data: string;
|
|
9244
|
+
driverParam: string;
|
|
9245
|
+
notNull: true;
|
|
9246
|
+
hasDefault: false;
|
|
9247
|
+
isPrimaryKey: false;
|
|
9248
|
+
isAutoincrement: false;
|
|
9249
|
+
hasRuntimeDefault: false;
|
|
9250
|
+
enumValues: [string, ...string[]];
|
|
9251
|
+
baseColumn: never;
|
|
9252
|
+
identity: undefined;
|
|
9253
|
+
generated: undefined;
|
|
9254
|
+
}, {}, {
|
|
9255
|
+
length: 256;
|
|
9256
|
+
}>;
|
|
9257
|
+
retrievalParams: drizzle_orm_pg_core.PgColumn<{
|
|
9258
|
+
name: "retrieval_params";
|
|
9259
|
+
tableName: "credential_references";
|
|
9260
|
+
dataType: "json";
|
|
9261
|
+
columnType: "PgJsonb";
|
|
9262
|
+
data: Record<string, unknown>;
|
|
9263
|
+
driverParam: unknown;
|
|
9264
|
+
notNull: false;
|
|
9265
|
+
hasDefault: false;
|
|
9266
|
+
isPrimaryKey: false;
|
|
9267
|
+
isAutoincrement: false;
|
|
9268
|
+
hasRuntimeDefault: false;
|
|
9269
|
+
enumValues: undefined;
|
|
8704
9270
|
baseColumn: never;
|
|
8705
9271
|
identity: undefined;
|
|
8706
9272
|
generated: undefined;
|
|
8707
9273
|
}, {}, {
|
|
8708
|
-
|
|
9274
|
+
$type: Record<string, unknown>;
|
|
8709
9275
|
}>;
|
|
8710
|
-
|
|
8711
|
-
name: "
|
|
8712
|
-
tableName: "
|
|
9276
|
+
toolId: drizzle_orm_pg_core.PgColumn<{
|
|
9277
|
+
name: "tool_id";
|
|
9278
|
+
tableName: "credential_references";
|
|
8713
9279
|
dataType: "string";
|
|
8714
|
-
columnType: "
|
|
9280
|
+
columnType: "PgVarchar";
|
|
8715
9281
|
data: string;
|
|
8716
9282
|
driverParam: string;
|
|
8717
9283
|
notNull: false;
|
|
@@ -8719,16 +9285,18 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
8719
9285
|
isPrimaryKey: false;
|
|
8720
9286
|
isAutoincrement: false;
|
|
8721
9287
|
hasRuntimeDefault: false;
|
|
8722
|
-
enumValues:
|
|
9288
|
+
enumValues: [string, ...string[]];
|
|
8723
9289
|
baseColumn: never;
|
|
8724
9290
|
identity: undefined;
|
|
8725
9291
|
generated: undefined;
|
|
8726
|
-
}, {}, {
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
9292
|
+
}, {}, {
|
|
9293
|
+
length: 256;
|
|
9294
|
+
}>;
|
|
9295
|
+
userId: drizzle_orm_pg_core.PgColumn<{
|
|
9296
|
+
name: "user_id";
|
|
9297
|
+
tableName: "credential_references";
|
|
8730
9298
|
dataType: "string";
|
|
8731
|
-
columnType: "
|
|
9299
|
+
columnType: "PgVarchar";
|
|
8732
9300
|
data: string;
|
|
8733
9301
|
driverParam: string;
|
|
8734
9302
|
notNull: false;
|
|
@@ -8736,19 +9304,21 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
8736
9304
|
isPrimaryKey: false;
|
|
8737
9305
|
isAutoincrement: false;
|
|
8738
9306
|
hasRuntimeDefault: false;
|
|
8739
|
-
enumValues:
|
|
9307
|
+
enumValues: [string, ...string[]];
|
|
8740
9308
|
baseColumn: never;
|
|
8741
9309
|
identity: undefined;
|
|
8742
9310
|
generated: undefined;
|
|
8743
|
-
}, {}, {
|
|
8744
|
-
|
|
8745
|
-
|
|
8746
|
-
|
|
9311
|
+
}, {}, {
|
|
9312
|
+
length: 256;
|
|
9313
|
+
}>;
|
|
9314
|
+
createdBy: drizzle_orm_pg_core.PgColumn<{
|
|
9315
|
+
name: "created_by";
|
|
9316
|
+
tableName: "credential_references";
|
|
8747
9317
|
dataType: "string";
|
|
8748
9318
|
columnType: "PgVarchar";
|
|
8749
9319
|
data: string;
|
|
8750
9320
|
driverParam: string;
|
|
8751
|
-
notNull:
|
|
9321
|
+
notNull: false;
|
|
8752
9322
|
hasDefault: false;
|
|
8753
9323
|
isPrimaryKey: false;
|
|
8754
9324
|
isAutoincrement: false;
|
|
@@ -8762,7 +9332,7 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
8762
9332
|
}>;
|
|
8763
9333
|
projectId: drizzle_orm_pg_core.PgColumn<{
|
|
8764
9334
|
name: "project_id";
|
|
8765
|
-
tableName: "
|
|
9335
|
+
tableName: "credential_references";
|
|
8766
9336
|
dataType: "string";
|
|
8767
9337
|
columnType: "PgVarchar";
|
|
8768
9338
|
data: string;
|
|
@@ -8781,7 +9351,7 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
8781
9351
|
}>;
|
|
8782
9352
|
tenantId: drizzle_orm_pg_core.PgColumn<{
|
|
8783
9353
|
name: "tenant_id";
|
|
8784
|
-
tableName: "
|
|
9354
|
+
tableName: "credential_references";
|
|
8785
9355
|
dataType: "string";
|
|
8786
9356
|
columnType: "PgVarchar";
|
|
8787
9357
|
data: string;
|
|
@@ -8800,7 +9370,7 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
8800
9370
|
}>;
|
|
8801
9371
|
id: drizzle_orm_pg_core.PgColumn<{
|
|
8802
9372
|
name: "id";
|
|
8803
|
-
tableName: "
|
|
9373
|
+
tableName: "credential_references";
|
|
8804
9374
|
dataType: "string";
|
|
8805
9375
|
columnType: "PgVarchar";
|
|
8806
9376
|
data: string;
|
|
@@ -8818,101 +9388,13 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
8818
9388
|
length: 256;
|
|
8819
9389
|
}>;
|
|
8820
9390
|
}, undefined>, undefined>;
|
|
8821
|
-
declare const ApiKeyInsertSchema: z.ZodObject<{
|
|
8822
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
8823
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
8824
|
-
publicId: z.ZodString;
|
|
8825
|
-
keyHash: z.ZodString;
|
|
8826
|
-
keyPrefix: z.ZodString;
|
|
8827
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8828
|
-
lastUsedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8829
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8830
|
-
projectId: z.ZodString;
|
|
8831
|
-
tenantId: z.ZodString;
|
|
8832
|
-
id: z.ZodString;
|
|
8833
|
-
agentId: z.ZodString;
|
|
8834
|
-
}, {
|
|
8835
|
-
out: {};
|
|
8836
|
-
in: {};
|
|
8837
|
-
}>;
|
|
8838
|
-
declare const ApiKeyUpdateSchema: z.ZodObject<{
|
|
8839
|
-
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8840
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
8841
|
-
lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8842
|
-
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8843
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8844
|
-
}, {
|
|
8845
|
-
out: {};
|
|
8846
|
-
in: {};
|
|
8847
|
-
}>;
|
|
8848
|
-
declare const ApiKeyApiSelectSchema: z.ZodObject<{
|
|
8849
|
-
id: z.ZodString;
|
|
8850
|
-
name: z.ZodNullable<z.ZodString>;
|
|
8851
|
-
agentId: z.ZodString;
|
|
8852
|
-
publicId: z.ZodString;
|
|
8853
|
-
keyPrefix: z.ZodString;
|
|
8854
|
-
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
8855
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
8856
|
-
createdAt: z.ZodString;
|
|
8857
|
-
updatedAt: z.ZodString;
|
|
8858
|
-
}, {
|
|
8859
|
-
out: {};
|
|
8860
|
-
in: {};
|
|
8861
|
-
}>;
|
|
8862
|
-
declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
|
|
8863
|
-
data: z.ZodObject<{
|
|
8864
|
-
apiKey: z.ZodObject<{
|
|
8865
|
-
id: z.ZodString;
|
|
8866
|
-
name: z.ZodNullable<z.ZodString>;
|
|
8867
|
-
agentId: z.ZodString;
|
|
8868
|
-
publicId: z.ZodString;
|
|
8869
|
-
keyPrefix: z.ZodString;
|
|
8870
|
-
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
8871
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
8872
|
-
createdAt: z.ZodString;
|
|
8873
|
-
updatedAt: z.ZodString;
|
|
8874
|
-
}, {
|
|
8875
|
-
out: {};
|
|
8876
|
-
in: {};
|
|
8877
|
-
}>;
|
|
8878
|
-
key: z.ZodString;
|
|
8879
|
-
}, z.core.$strip>;
|
|
8880
|
-
}, z.core.$strip>;
|
|
8881
|
-
declare const ApiKeyApiInsertSchema: z.ZodObject<{
|
|
8882
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8883
|
-
agentId: z.ZodString;
|
|
8884
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8885
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
8886
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
8887
|
-
}, {
|
|
8888
|
-
out: {};
|
|
8889
|
-
in: {};
|
|
8890
|
-
}>;
|
|
8891
|
-
declare const ApiKeyApiUpdateSchema: z.ZodObject<{
|
|
8892
|
-
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8893
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
8894
|
-
lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8895
|
-
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8896
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8897
|
-
}, {
|
|
8898
|
-
out: {};
|
|
8899
|
-
in: {};
|
|
8900
|
-
}>;
|
|
8901
|
-
declare const CredentialReferenceSelectSchema: z.ZodObject<{
|
|
8902
|
-
id: z.ZodString;
|
|
8903
|
-
tenantId: z.ZodString;
|
|
8904
|
-
projectId: z.ZodString;
|
|
8905
|
-
name: z.ZodString;
|
|
8906
|
-
type: z.ZodString;
|
|
8907
|
-
credentialStoreId: z.ZodString;
|
|
8908
|
-
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
8909
|
-
createdAt: z.ZodString;
|
|
8910
|
-
updatedAt: z.ZodString;
|
|
8911
|
-
}, z.core.$strip>;
|
|
8912
9391
|
declare const CredentialReferenceInsertSchema: z.ZodObject<{
|
|
8913
9392
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
8914
9393
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
8915
9394
|
name: z.ZodString;
|
|
9395
|
+
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9396
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9397
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8916
9398
|
projectId: z.ZodString;
|
|
8917
9399
|
tenantId: z.ZodString;
|
|
8918
9400
|
id: z.ZodString;
|
|
@@ -8927,6 +9409,9 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
|
|
|
8927
9409
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8928
9410
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8929
9411
|
name: z.ZodOptional<z.ZodString>;
|
|
9412
|
+
toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9413
|
+
userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9414
|
+
createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8930
9415
|
projectId: z.ZodOptional<z.ZodString>;
|
|
8931
9416
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
8932
9417
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -8943,7 +9428,10 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
|
|
|
8943
9428
|
createdAt: z.ZodString;
|
|
8944
9429
|
updatedAt: z.ZodString;
|
|
8945
9430
|
credentialStoreId: z.ZodString;
|
|
8946
|
-
retrievalParams: z.
|
|
9431
|
+
retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
9432
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
9433
|
+
toolId: z.ZodNullable<z.ZodString>;
|
|
9434
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
8947
9435
|
type: z.ZodEnum<{
|
|
8948
9436
|
readonly memory: "memory";
|
|
8949
9437
|
readonly keychain: "keychain";
|
|
@@ -9064,6 +9552,25 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
|
|
|
9064
9552
|
}, {}, {
|
|
9065
9553
|
length: 256;
|
|
9066
9554
|
}>;
|
|
9555
|
+
credentialScope: drizzle_orm_pg_core.PgColumn<{
|
|
9556
|
+
name: "credential_scope";
|
|
9557
|
+
tableName: "tools";
|
|
9558
|
+
dataType: "string";
|
|
9559
|
+
columnType: "PgVarchar";
|
|
9560
|
+
data: string;
|
|
9561
|
+
driverParam: string;
|
|
9562
|
+
notNull: true;
|
|
9563
|
+
hasDefault: true;
|
|
9564
|
+
isPrimaryKey: false;
|
|
9565
|
+
isAutoincrement: false;
|
|
9566
|
+
hasRuntimeDefault: false;
|
|
9567
|
+
enumValues: [string, ...string[]];
|
|
9568
|
+
baseColumn: never;
|
|
9569
|
+
identity: undefined;
|
|
9570
|
+
generated: undefined;
|
|
9571
|
+
}, {}, {
|
|
9572
|
+
length: 50;
|
|
9573
|
+
}>;
|
|
9067
9574
|
headers: drizzle_orm_pg_core.PgColumn<{
|
|
9068
9575
|
name: "headers";
|
|
9069
9576
|
tableName: "tools";
|
|
@@ -9308,6 +9815,25 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
|
|
|
9308
9815
|
}, {}, {
|
|
9309
9816
|
length: 256;
|
|
9310
9817
|
}>;
|
|
9818
|
+
credentialScope: drizzle_orm_pg_core.PgColumn<{
|
|
9819
|
+
name: "credential_scope";
|
|
9820
|
+
tableName: "tools";
|
|
9821
|
+
dataType: "string";
|
|
9822
|
+
columnType: "PgVarchar";
|
|
9823
|
+
data: string;
|
|
9824
|
+
driverParam: string;
|
|
9825
|
+
notNull: true;
|
|
9826
|
+
hasDefault: true;
|
|
9827
|
+
isPrimaryKey: false;
|
|
9828
|
+
isAutoincrement: false;
|
|
9829
|
+
hasRuntimeDefault: false;
|
|
9830
|
+
enumValues: [string, ...string[]];
|
|
9831
|
+
baseColumn: never;
|
|
9832
|
+
identity: undefined;
|
|
9833
|
+
generated: undefined;
|
|
9834
|
+
}, {}, {
|
|
9835
|
+
length: 50;
|
|
9836
|
+
}>;
|
|
9311
9837
|
headers: drizzle_orm_pg_core.PgColumn<{
|
|
9312
9838
|
name: "headers";
|
|
9313
9839
|
tableName: "tools";
|
|
@@ -9460,6 +9986,9 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
|
|
|
9460
9986
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
9461
9987
|
credentialStoreId: z.ZodString;
|
|
9462
9988
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
9989
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9990
|
+
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9991
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9463
9992
|
type: z.ZodEnum<{
|
|
9464
9993
|
readonly memory: "memory";
|
|
9465
9994
|
readonly keychain: "keychain";
|
|
@@ -9473,6 +10002,9 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
|
|
|
9473
10002
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
9474
10003
|
credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9475
10004
|
retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
|
|
10005
|
+
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
10006
|
+
toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
10007
|
+
createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
9476
10008
|
type: z.ZodOptional<z.ZodEnum<{
|
|
9477
10009
|
readonly memory: "memory";
|
|
9478
10010
|
readonly keychain: "keychain";
|
|
@@ -9539,6 +10071,7 @@ declare const McpToolSchema: z.ZodObject<{
|
|
|
9539
10071
|
name: z.ZodString;
|
|
9540
10072
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9541
10073
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10074
|
+
credentialScope: z.ZodOptional<z.ZodString>;
|
|
9542
10075
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
9543
10076
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
9544
10077
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9578,6 +10111,7 @@ declare const McpToolSchema: z.ZodObject<{
|
|
|
9578
10111
|
}>>;
|
|
9579
10112
|
version: z.ZodOptional<z.ZodString>;
|
|
9580
10113
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
10114
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
9581
10115
|
relationshipId: z.ZodOptional<z.ZodString>;
|
|
9582
10116
|
}, {
|
|
9583
10117
|
out: {};
|
|
@@ -9587,8 +10121,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
|
|
|
9587
10121
|
id: z.ZodString;
|
|
9588
10122
|
name: z.ZodString;
|
|
9589
10123
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
10124
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
9590
10125
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
9591
10126
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
10127
|
+
credentialScope: z.ZodOptional<z.ZodString>;
|
|
9592
10128
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
9593
10129
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9594
10130
|
availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -9623,6 +10159,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
|
|
|
9623
10159
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
9624
10160
|
credentialStoreId: z.ZodString;
|
|
9625
10161
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10162
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10163
|
+
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10164
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9626
10165
|
type: z.ZodEnum<{
|
|
9627
10166
|
readonly memory: "memory";
|
|
9628
10167
|
readonly keychain: "keychain";
|
|
@@ -9639,6 +10178,7 @@ declare const ToolUpdateSchema: z.ZodObject<{
|
|
|
9639
10178
|
name: z.ZodOptional<z.ZodString>;
|
|
9640
10179
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9641
10180
|
credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
10181
|
+
credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9642
10182
|
headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
|
|
9643
10183
|
capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
|
|
9644
10184
|
lastError: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -9691,6 +10231,7 @@ declare const ToolApiSelectSchema: z.ZodObject<{
|
|
|
9691
10231
|
updatedAt: z.ZodString;
|
|
9692
10232
|
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
9693
10233
|
capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
|
|
10234
|
+
credentialScope: z.ZodString;
|
|
9694
10235
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
9695
10236
|
lastError: z.ZodNullable<z.ZodString>;
|
|
9696
10237
|
}, z.core.$strip>;
|
|
@@ -9722,6 +10263,7 @@ declare const ToolApiInsertSchema: z.ZodObject<{
|
|
|
9722
10263
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
9723
10264
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
9724
10265
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
10266
|
+
credentialScope: z.ZodOptional<z.ZodString>;
|
|
9725
10267
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
9726
10268
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9727
10269
|
}, z.core.$strip>;
|
|
@@ -9753,6 +10295,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
|
|
|
9753
10295
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
9754
10296
|
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>>>>>>>;
|
|
9755
10297
|
capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
|
|
10298
|
+
credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
9756
10299
|
imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
9757
10300
|
lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
9758
10301
|
}, z.core.$strip>;
|
|
@@ -10534,6 +11077,9 @@ declare const FetchDefinitionSchema: z.ZodObject<{
|
|
|
10534
11077
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
10535
11078
|
credentialStoreId: z.ZodString;
|
|
10536
11079
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11080
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11081
|
+
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11082
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10537
11083
|
type: z.ZodEnum<{
|
|
10538
11084
|
readonly memory: "memory";
|
|
10539
11085
|
readonly keychain: "keychain";
|
|
@@ -11054,8 +11600,8 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
|
|
|
11054
11600
|
id: z.ZodString;
|
|
11055
11601
|
createdAt: z.ZodString;
|
|
11056
11602
|
updatedAt: z.ZodString;
|
|
11057
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
11058
11603
|
toolId: z.ZodString;
|
|
11604
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
11059
11605
|
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
11060
11606
|
selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
11061
11607
|
subAgentId: z.ZodString;
|
|
@@ -11064,8 +11610,8 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
|
|
|
11064
11610
|
id: z.ZodString;
|
|
11065
11611
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
11066
11612
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
11067
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
11068
11613
|
toolId: z.ZodString;
|
|
11614
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
11069
11615
|
toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11070
11616
|
needsApproval: z.ZodOptional<z.ZodBoolean>;
|
|
11071
11617
|
}, z.core.$strip>>>>;
|
|
@@ -11076,8 +11622,8 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
|
|
|
11076
11622
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11077
11623
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11078
11624
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11079
|
-
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
|
|
11080
11625
|
toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11626
|
+
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
|
|
11081
11627
|
toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11082
11628
|
needsApproval: z.ZodOptional<z.ZodBoolean>;
|
|
11083
11629
|
}, z.core.$strip>>>>>>;
|
|
@@ -13469,6 +14015,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
|
|
|
13469
14015
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
13470
14016
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
13471
14017
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
14018
|
+
credentialScope: z.ZodOptional<z.ZodString>;
|
|
13472
14019
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
13473
14020
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13474
14021
|
}, z.core.$strip>>>;
|
|
@@ -13843,6 +14390,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
13843
14390
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
13844
14391
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
13845
14392
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
14393
|
+
credentialScope: z.ZodOptional<z.ZodString>;
|
|
13846
14394
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
13847
14395
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13848
14396
|
}, z.core.$strip>>>;
|
|
@@ -13943,6 +14491,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
13943
14491
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
13944
14492
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
13945
14493
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
14494
|
+
credentialScope: z.ZodOptional<z.ZodString>;
|
|
13946
14495
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
13947
14496
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13948
14497
|
}, z.core.$strip>>;
|
|
@@ -14023,6 +14572,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14023
14572
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14024
14573
|
credentialStoreId: z.ZodString;
|
|
14025
14574
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14575
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14576
|
+
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14577
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14026
14578
|
type: z.ZodEnum<{
|
|
14027
14579
|
readonly memory: "memory";
|
|
14028
14580
|
readonly keychain: "keychain";
|
|
@@ -14292,6 +14844,7 @@ declare const ToolResponse: z.ZodObject<{
|
|
|
14292
14844
|
updatedAt: z.ZodString;
|
|
14293
14845
|
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
14294
14846
|
capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
|
|
14847
|
+
credentialScope: z.ZodString;
|
|
14295
14848
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
14296
14849
|
lastError: z.ZodNullable<z.ZodString>;
|
|
14297
14850
|
}, z.core.$strip>;
|
|
@@ -14339,7 +14892,10 @@ declare const CredentialReferenceResponse: z.ZodObject<{
|
|
|
14339
14892
|
createdAt: z.ZodString;
|
|
14340
14893
|
updatedAt: z.ZodString;
|
|
14341
14894
|
credentialStoreId: z.ZodString;
|
|
14342
|
-
retrievalParams: z.
|
|
14895
|
+
retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
14896
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
14897
|
+
toolId: z.ZodNullable<z.ZodString>;
|
|
14898
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
14343
14899
|
type: z.ZodEnum<{
|
|
14344
14900
|
readonly memory: "memory";
|
|
14345
14901
|
readonly keychain: "keychain";
|
|
@@ -14460,6 +15016,25 @@ declare const CredentialReferenceResponse: z.ZodObject<{
|
|
|
14460
15016
|
}, {}, {
|
|
14461
15017
|
length: 256;
|
|
14462
15018
|
}>;
|
|
15019
|
+
credentialScope: drizzle_orm_pg_core.PgColumn<{
|
|
15020
|
+
name: "credential_scope";
|
|
15021
|
+
tableName: "tools";
|
|
15022
|
+
dataType: "string";
|
|
15023
|
+
columnType: "PgVarchar";
|
|
15024
|
+
data: string;
|
|
15025
|
+
driverParam: string;
|
|
15026
|
+
notNull: true;
|
|
15027
|
+
hasDefault: true;
|
|
15028
|
+
isPrimaryKey: false;
|
|
15029
|
+
isAutoincrement: false;
|
|
15030
|
+
hasRuntimeDefault: false;
|
|
15031
|
+
enumValues: [string, ...string[]];
|
|
15032
|
+
baseColumn: never;
|
|
15033
|
+
identity: undefined;
|
|
15034
|
+
generated: undefined;
|
|
15035
|
+
}, {}, {
|
|
15036
|
+
length: 50;
|
|
15037
|
+
}>;
|
|
14463
15038
|
headers: drizzle_orm_pg_core.PgColumn<{
|
|
14464
15039
|
name: "headers";
|
|
14465
15040
|
tableName: "tools";
|
|
@@ -14704,6 +15279,25 @@ declare const CredentialReferenceResponse: z.ZodObject<{
|
|
|
14704
15279
|
}, {}, {
|
|
14705
15280
|
length: 256;
|
|
14706
15281
|
}>;
|
|
15282
|
+
credentialScope: drizzle_orm_pg_core.PgColumn<{
|
|
15283
|
+
name: "credential_scope";
|
|
15284
|
+
tableName: "tools";
|
|
15285
|
+
dataType: "string";
|
|
15286
|
+
columnType: "PgVarchar";
|
|
15287
|
+
data: string;
|
|
15288
|
+
driverParam: string;
|
|
15289
|
+
notNull: true;
|
|
15290
|
+
hasDefault: true;
|
|
15291
|
+
isPrimaryKey: false;
|
|
15292
|
+
isAutoincrement: false;
|
|
15293
|
+
hasRuntimeDefault: false;
|
|
15294
|
+
enumValues: [string, ...string[]];
|
|
15295
|
+
baseColumn: never;
|
|
15296
|
+
identity: undefined;
|
|
15297
|
+
generated: undefined;
|
|
15298
|
+
}, {}, {
|
|
15299
|
+
length: 50;
|
|
15300
|
+
}>;
|
|
14707
15301
|
headers: drizzle_orm_pg_core.PgColumn<{
|
|
14708
15302
|
name: "headers";
|
|
14709
15303
|
tableName: "tools";
|
|
@@ -14919,8 +15513,8 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
|
|
|
14919
15513
|
id: z.ZodString;
|
|
14920
15514
|
createdAt: z.ZodString;
|
|
14921
15515
|
updatedAt: z.ZodString;
|
|
14922
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
14923
15516
|
toolId: z.ZodString;
|
|
15517
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
14924
15518
|
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
14925
15519
|
selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
14926
15520
|
subAgentId: z.ZodString;
|
|
@@ -14932,8 +15526,8 @@ declare const ConversationResponse: z.ZodObject<{
|
|
|
14932
15526
|
title: z.ZodNullable<z.ZodString>;
|
|
14933
15527
|
createdAt: z.ZodString;
|
|
14934
15528
|
updatedAt: z.ZodString;
|
|
14935
|
-
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
14936
15529
|
userId: z.ZodNullable<z.ZodString>;
|
|
15530
|
+
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
14937
15531
|
activeSubAgentId: z.ZodString;
|
|
14938
15532
|
lastContextResolution: z.ZodNullable<z.ZodString>;
|
|
14939
15533
|
}, z.core.$strip>;
|
|
@@ -15236,6 +15830,7 @@ declare const ToolListResponse: z.ZodObject<{
|
|
|
15236
15830
|
updatedAt: z.ZodString;
|
|
15237
15831
|
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
15238
15832
|
capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
|
|
15833
|
+
credentialScope: z.ZodString;
|
|
15239
15834
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
15240
15835
|
lastError: z.ZodNullable<z.ZodString>;
|
|
15241
15836
|
}, z.core.$strip>>;
|
|
@@ -15307,7 +15902,10 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
|
|
|
15307
15902
|
createdAt: z.ZodString;
|
|
15308
15903
|
updatedAt: z.ZodString;
|
|
15309
15904
|
credentialStoreId: z.ZodString;
|
|
15310
|
-
retrievalParams: z.
|
|
15905
|
+
retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
15906
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
15907
|
+
toolId: z.ZodNullable<z.ZodString>;
|
|
15908
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
15311
15909
|
type: z.ZodEnum<{
|
|
15312
15910
|
readonly memory: "memory";
|
|
15313
15911
|
readonly keychain: "keychain";
|
|
@@ -15428,6 +16026,25 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
|
|
|
15428
16026
|
}, {}, {
|
|
15429
16027
|
length: 256;
|
|
15430
16028
|
}>;
|
|
16029
|
+
credentialScope: drizzle_orm_pg_core.PgColumn<{
|
|
16030
|
+
name: "credential_scope";
|
|
16031
|
+
tableName: "tools";
|
|
16032
|
+
dataType: "string";
|
|
16033
|
+
columnType: "PgVarchar";
|
|
16034
|
+
data: string;
|
|
16035
|
+
driverParam: string;
|
|
16036
|
+
notNull: true;
|
|
16037
|
+
hasDefault: true;
|
|
16038
|
+
isPrimaryKey: false;
|
|
16039
|
+
isAutoincrement: false;
|
|
16040
|
+
hasRuntimeDefault: false;
|
|
16041
|
+
enumValues: [string, ...string[]];
|
|
16042
|
+
baseColumn: never;
|
|
16043
|
+
identity: undefined;
|
|
16044
|
+
generated: undefined;
|
|
16045
|
+
}, {}, {
|
|
16046
|
+
length: 50;
|
|
16047
|
+
}>;
|
|
15431
16048
|
headers: drizzle_orm_pg_core.PgColumn<{
|
|
15432
16049
|
name: "headers";
|
|
15433
16050
|
tableName: "tools";
|
|
@@ -15672,6 +16289,25 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
|
|
|
15672
16289
|
}, {}, {
|
|
15673
16290
|
length: 256;
|
|
15674
16291
|
}>;
|
|
16292
|
+
credentialScope: drizzle_orm_pg_core.PgColumn<{
|
|
16293
|
+
name: "credential_scope";
|
|
16294
|
+
tableName: "tools";
|
|
16295
|
+
dataType: "string";
|
|
16296
|
+
columnType: "PgVarchar";
|
|
16297
|
+
data: string;
|
|
16298
|
+
driverParam: string;
|
|
16299
|
+
notNull: true;
|
|
16300
|
+
hasDefault: true;
|
|
16301
|
+
isPrimaryKey: false;
|
|
16302
|
+
isAutoincrement: false;
|
|
16303
|
+
hasRuntimeDefault: false;
|
|
16304
|
+
enumValues: [string, ...string[]];
|
|
16305
|
+
baseColumn: never;
|
|
16306
|
+
identity: undefined;
|
|
16307
|
+
generated: undefined;
|
|
16308
|
+
}, {}, {
|
|
16309
|
+
length: 50;
|
|
16310
|
+
}>;
|
|
15675
16311
|
headers: drizzle_orm_pg_core.PgColumn<{
|
|
15676
16312
|
name: "headers";
|
|
15677
16313
|
tableName: "tools";
|
|
@@ -15923,8 +16559,8 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
|
|
|
15923
16559
|
id: z.ZodString;
|
|
15924
16560
|
createdAt: z.ZodString;
|
|
15925
16561
|
updatedAt: z.ZodString;
|
|
15926
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
15927
16562
|
toolId: z.ZodString;
|
|
16563
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
15928
16564
|
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
15929
16565
|
selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
15930
16566
|
subAgentId: z.ZodString;
|
|
@@ -15942,8 +16578,8 @@ declare const ConversationListResponse: z.ZodObject<{
|
|
|
15942
16578
|
title: z.ZodNullable<z.ZodString>;
|
|
15943
16579
|
createdAt: z.ZodString;
|
|
15944
16580
|
updatedAt: z.ZodString;
|
|
15945
|
-
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
15946
16581
|
userId: z.ZodNullable<z.ZodString>;
|
|
16582
|
+
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
15947
16583
|
activeSubAgentId: z.ZodString;
|
|
15948
16584
|
lastContextResolution: z.ZodNullable<z.ZodString>;
|
|
15949
16585
|
}, z.core.$strip>>;
|
|
@@ -16140,6 +16776,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
16140
16776
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
16141
16777
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
16142
16778
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
16779
|
+
credentialScope: z.ZodOptional<z.ZodString>;
|
|
16143
16780
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
16144
16781
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16145
16782
|
}, z.core.$strip>>>;
|
|
@@ -16240,6 +16877,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
16240
16877
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
16241
16878
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
16242
16879
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
16880
|
+
credentialScope: z.ZodOptional<z.ZodString>;
|
|
16243
16881
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
16244
16882
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16245
16883
|
}, z.core.$strip>>;
|
|
@@ -16320,6 +16958,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
16320
16958
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
16321
16959
|
credentialStoreId: z.ZodString;
|
|
16322
16960
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16961
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16962
|
+
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16963
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16323
16964
|
type: z.ZodEnum<{
|
|
16324
16965
|
readonly memory: "memory";
|
|
16325
16966
|
readonly keychain: "keychain";
|
|
@@ -16424,6 +17065,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
|
|
|
16424
17065
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
16425
17066
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
16426
17067
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
17068
|
+
credentialScope: z.ZodOptional<z.ZodString>;
|
|
16427
17069
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
16428
17070
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16429
17071
|
}, z.core.$strip>>>;
|
|
@@ -16523,6 +17165,7 @@ declare const McpToolResponse: z.ZodObject<{
|
|
|
16523
17165
|
name: z.ZodString;
|
|
16524
17166
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16525
17167
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17168
|
+
credentialScope: z.ZodOptional<z.ZodString>;
|
|
16526
17169
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
16527
17170
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
16528
17171
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -16562,6 +17205,7 @@ declare const McpToolResponse: z.ZodObject<{
|
|
|
16562
17205
|
}>>;
|
|
16563
17206
|
version: z.ZodOptional<z.ZodString>;
|
|
16564
17207
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
17208
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
16565
17209
|
relationshipId: z.ZodOptional<z.ZodString>;
|
|
16566
17210
|
}, {
|
|
16567
17211
|
out: {};
|
|
@@ -16575,6 +17219,7 @@ declare const McpToolListResponse: z.ZodObject<{
|
|
|
16575
17219
|
name: z.ZodString;
|
|
16576
17220
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16577
17221
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17222
|
+
credentialScope: z.ZodOptional<z.ZodString>;
|
|
16578
17223
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
16579
17224
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
16580
17225
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -16614,6 +17259,7 @@ declare const McpToolListResponse: z.ZodObject<{
|
|
|
16614
17259
|
}>>;
|
|
16615
17260
|
version: z.ZodOptional<z.ZodString>;
|
|
16616
17261
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
17262
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
16617
17263
|
relationshipId: z.ZodOptional<z.ZodString>;
|
|
16618
17264
|
}, {
|
|
16619
17265
|
out: {};
|
|
@@ -17205,6 +17851,10 @@ interface ExecutionContext {
|
|
|
17205
17851
|
metadata?: {
|
|
17206
17852
|
teamDelegation?: boolean;
|
|
17207
17853
|
originAgentId?: string;
|
|
17854
|
+
initiatedBy?: {
|
|
17855
|
+
type: 'user' | 'api_key';
|
|
17856
|
+
id: string;
|
|
17857
|
+
};
|
|
17208
17858
|
};
|
|
17209
17859
|
}
|
|
17210
17860
|
/**
|