@cared/sdk 0.1.12 → 0.1.13
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/_tsup-dts-rollup.d.mts +44 -44
- package/dist/_tsup-dts-rollup.d.ts +44 -44
- package/dist/index.d.mts +11 -0
- package/dist/index.d.ts +11 -0
- package/package.json +3 -3
|
@@ -844,7 +844,7 @@ declare const Agent: PgTableWithColumns<{
|
|
|
844
844
|
|
|
845
845
|
declare type Agent = InferSelectModel<typeof Agent>
|
|
846
846
|
|
|
847
|
-
declare interface AgentMetadata {
|
|
847
|
+
export declare interface AgentMetadata {
|
|
848
848
|
description?: string
|
|
849
849
|
imageUrl?: string
|
|
850
850
|
languageModel?: string
|
|
@@ -2173,7 +2173,7 @@ declare type AppContext = BaseContext & {
|
|
|
2173
2173
|
}
|
|
2174
2174
|
}
|
|
2175
2175
|
|
|
2176
|
-
declare interface AppMetadata {
|
|
2176
|
+
export declare interface AppMetadata {
|
|
2177
2177
|
description?: string
|
|
2178
2178
|
imageUrl?: string
|
|
2179
2179
|
clientId?: string
|
|
@@ -6008,6 +6008,7 @@ declare const appRouter: {
|
|
|
6008
6008
|
>,
|
|
6009
6009
|
ZodObject<
|
|
6010
6010
|
{
|
|
6011
|
+
name: ZodString
|
|
6011
6012
|
metadata: ZodObject<
|
|
6012
6013
|
{
|
|
6013
6014
|
description: ZodOptional<ZodString>
|
|
@@ -6035,7 +6036,6 @@ declare const appRouter: {
|
|
|
6035
6036
|
'multiple-agents': 'multiple-agents'
|
|
6036
6037
|
}>
|
|
6037
6038
|
>
|
|
6038
|
-
name: ZodString
|
|
6039
6039
|
archived: ZodOptional<ZodNullable<ZodBoolean>>
|
|
6040
6040
|
archivedAt: ZodOptional<ZodNullable<ZodDate>>
|
|
6041
6041
|
deleted: ZodOptional<ZodNullable<ZodBoolean>>
|
|
@@ -6121,6 +6121,7 @@ declare const appRouter: {
|
|
|
6121
6121
|
ZodObject<
|
|
6122
6122
|
{
|
|
6123
6123
|
id: ZodString
|
|
6124
|
+
name: ZodOptional<ZodString>
|
|
6124
6125
|
metadata: ZodOptional<
|
|
6125
6126
|
ZodObject<
|
|
6126
6127
|
{
|
|
@@ -6144,7 +6145,6 @@ declare const appRouter: {
|
|
|
6144
6145
|
$catchall<ZodUnknown>
|
|
6145
6146
|
>
|
|
6146
6147
|
>
|
|
6147
|
-
name: ZodOptional<ZodString>
|
|
6148
6148
|
archived: ZodOptional<ZodNullable<ZodBoolean>>
|
|
6149
6149
|
archivedAt: ZodOptional<ZodNullable<ZodDate>>
|
|
6150
6150
|
deleted: ZodOptional<ZodNullable<ZodBoolean>>
|
|
@@ -7799,6 +7799,7 @@ declare const appRouter: {
|
|
|
7799
7799
|
>,
|
|
7800
7800
|
ZodObject<
|
|
7801
7801
|
{
|
|
7802
|
+
name: ZodString
|
|
7802
7803
|
metadata: ZodOptional<
|
|
7803
7804
|
ZodObject<
|
|
7804
7805
|
{
|
|
@@ -7821,7 +7822,6 @@ declare const appRouter: {
|
|
|
7821
7822
|
$catchall<ZodUnknown>
|
|
7822
7823
|
>
|
|
7823
7824
|
>
|
|
7824
|
-
name: ZodString
|
|
7825
7825
|
appId: ZodString
|
|
7826
7826
|
},
|
|
7827
7827
|
{
|
|
@@ -7891,6 +7891,7 @@ declare const appRouter: {
|
|
|
7891
7891
|
ZodObject<
|
|
7892
7892
|
{
|
|
7893
7893
|
id: ZodString
|
|
7894
|
+
name: ZodOptional<ZodString>
|
|
7894
7895
|
metadata: ZodOptional<
|
|
7895
7896
|
ZodObject<
|
|
7896
7897
|
{
|
|
@@ -7913,7 +7914,6 @@ declare const appRouter: {
|
|
|
7913
7914
|
$catchall<ZodUnknown>
|
|
7914
7915
|
>
|
|
7915
7916
|
>
|
|
7916
|
-
name: ZodOptional<ZodString>
|
|
7917
7917
|
},
|
|
7918
7918
|
{
|
|
7919
7919
|
out: {}
|
|
@@ -8091,6 +8091,7 @@ declare const appRouter: {
|
|
|
8091
8091
|
>,
|
|
8092
8092
|
ZodObject<
|
|
8093
8093
|
{
|
|
8094
|
+
name: ZodString
|
|
8094
8095
|
metadata: ZodObject<
|
|
8095
8096
|
{
|
|
8096
8097
|
languageModel: ZodOptional<ZodString>
|
|
@@ -8116,7 +8117,6 @@ declare const appRouter: {
|
|
|
8116
8117
|
},
|
|
8117
8118
|
$strip
|
|
8118
8119
|
>
|
|
8119
|
-
name: ZodString
|
|
8120
8120
|
workspaceId: ZodString
|
|
8121
8121
|
},
|
|
8122
8122
|
{
|
|
@@ -8170,6 +8170,7 @@ declare const appRouter: {
|
|
|
8170
8170
|
ZodObject<
|
|
8171
8171
|
{
|
|
8172
8172
|
id: ZodString
|
|
8173
|
+
name: ZodOptional<ZodString>
|
|
8173
8174
|
metadata: ZodOptional<
|
|
8174
8175
|
ZodObject<
|
|
8175
8176
|
{
|
|
@@ -8197,7 +8198,6 @@ declare const appRouter: {
|
|
|
8197
8198
|
$strip
|
|
8198
8199
|
>
|
|
8199
8200
|
>
|
|
8200
|
-
name: ZodOptional<ZodString>
|
|
8201
8201
|
},
|
|
8202
8202
|
{
|
|
8203
8203
|
out: {}
|
|
@@ -8272,6 +8272,7 @@ declare const appRouter: {
|
|
|
8272
8272
|
>,
|
|
8273
8273
|
ZodObject<
|
|
8274
8274
|
{
|
|
8275
|
+
name: ZodString
|
|
8275
8276
|
metadata: ZodOptional<
|
|
8276
8277
|
ZodObject<
|
|
8277
8278
|
{
|
|
@@ -8282,7 +8283,6 @@ declare const appRouter: {
|
|
|
8282
8283
|
$strip
|
|
8283
8284
|
>
|
|
8284
8285
|
>
|
|
8285
|
-
name: ZodString
|
|
8286
8286
|
workspaceId: ZodString
|
|
8287
8287
|
datasetId: ZodString
|
|
8288
8288
|
},
|
|
@@ -8339,6 +8339,7 @@ declare const appRouter: {
|
|
|
8339
8339
|
ZodObject<
|
|
8340
8340
|
{
|
|
8341
8341
|
id: ZodString
|
|
8342
|
+
name: ZodOptional<ZodString>
|
|
8342
8343
|
metadata: ZodOptional<
|
|
8343
8344
|
ZodObject<
|
|
8344
8345
|
{
|
|
@@ -8349,7 +8350,6 @@ declare const appRouter: {
|
|
|
8349
8350
|
$strip
|
|
8350
8351
|
>
|
|
8351
8352
|
>
|
|
8352
|
-
name: ZodOptional<ZodString>
|
|
8353
8353
|
},
|
|
8354
8354
|
{
|
|
8355
8355
|
out: {}
|
|
@@ -14695,7 +14695,7 @@ declare const Chat_2: PgTableWithColumns<{
|
|
|
14695
14695
|
|
|
14696
14696
|
declare type Chat_2 = InferSelectModel<typeof Chat_2>
|
|
14697
14697
|
|
|
14698
|
-
declare interface ChatMetadata {
|
|
14698
|
+
export declare interface ChatMetadata {
|
|
14699
14699
|
title: string
|
|
14700
14700
|
visibility: 'public' | 'private'
|
|
14701
14701
|
languageModel?: string
|
|
@@ -14718,6 +14718,7 @@ declare type Context = BaseContext & {
|
|
|
14718
14718
|
|
|
14719
14719
|
declare const CreateAgentSchema: z.ZodObject<
|
|
14720
14720
|
{
|
|
14721
|
+
name: z.ZodString
|
|
14721
14722
|
metadata: z.ZodOptional<
|
|
14722
14723
|
z.ZodObject<
|
|
14723
14724
|
{
|
|
@@ -14740,7 +14741,6 @@ declare const CreateAgentSchema: z.ZodObject<
|
|
|
14740
14741
|
z.core.$catchall<z.ZodUnknown>
|
|
14741
14742
|
>
|
|
14742
14743
|
>
|
|
14743
|
-
name: z.ZodString
|
|
14744
14744
|
appId: z.ZodString
|
|
14745
14745
|
},
|
|
14746
14746
|
{
|
|
@@ -14751,6 +14751,7 @@ declare const CreateAgentSchema: z.ZodObject<
|
|
|
14751
14751
|
|
|
14752
14752
|
declare const CreateAgentVersionSchema: z.ZodObject<
|
|
14753
14753
|
{
|
|
14754
|
+
name: z.ZodString
|
|
14754
14755
|
metadata: z.ZodOptional<
|
|
14755
14756
|
z.ZodObject<
|
|
14756
14757
|
{
|
|
@@ -14773,9 +14774,8 @@ declare const CreateAgentVersionSchema: z.ZodObject<
|
|
|
14773
14774
|
z.core.$catchall<z.ZodUnknown>
|
|
14774
14775
|
>
|
|
14775
14776
|
>
|
|
14776
|
-
name: z.ZodString
|
|
14777
|
-
version: z.ZodOptional<z.ZodNumber>
|
|
14778
14777
|
agentId: z.ZodString
|
|
14778
|
+
version: z.ZodOptional<z.ZodNumber>
|
|
14779
14779
|
},
|
|
14780
14780
|
{
|
|
14781
14781
|
out: {}
|
|
@@ -14785,6 +14785,7 @@ declare const CreateAgentVersionSchema: z.ZodObject<
|
|
|
14785
14785
|
|
|
14786
14786
|
declare const CreateAppSchema: z.ZodObject<
|
|
14787
14787
|
{
|
|
14788
|
+
name: z.ZodString
|
|
14788
14789
|
metadata: z.ZodObject<
|
|
14789
14790
|
{
|
|
14790
14791
|
description: z.ZodOptional<z.ZodString>
|
|
@@ -14812,7 +14813,6 @@ declare const CreateAppSchema: z.ZodObject<
|
|
|
14812
14813
|
'multiple-agents': 'multiple-agents'
|
|
14813
14814
|
}>
|
|
14814
14815
|
>
|
|
14815
|
-
name: z.ZodString
|
|
14816
14816
|
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>
|
|
14817
14817
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>
|
|
14818
14818
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>
|
|
@@ -14849,6 +14849,7 @@ declare const CreateAppsToTagsSchema: z.ZodObject<
|
|
|
14849
14849
|
|
|
14850
14850
|
declare const CreateAppVersionSchema: z.ZodObject<
|
|
14851
14851
|
{
|
|
14852
|
+
name: z.ZodString
|
|
14852
14853
|
metadata: z.ZodObject<
|
|
14853
14854
|
{
|
|
14854
14855
|
description: z.ZodOptional<z.ZodString>
|
|
@@ -14876,7 +14877,6 @@ declare const CreateAppVersionSchema: z.ZodObject<
|
|
|
14876
14877
|
'multiple-agents': 'multiple-agents'
|
|
14877
14878
|
}>
|
|
14878
14879
|
>
|
|
14879
|
-
name: z.ZodString
|
|
14880
14880
|
appId: z.ZodString
|
|
14881
14881
|
version: z.ZodOptional<z.ZodNumber>
|
|
14882
14882
|
},
|
|
@@ -14888,12 +14888,12 @@ declare const CreateAppVersionSchema: z.ZodObject<
|
|
|
14888
14888
|
|
|
14889
14889
|
declare const CreateArtifactSchema: z.ZodObject<
|
|
14890
14890
|
{
|
|
14891
|
-
title: z.ZodString
|
|
14892
14891
|
id: z.ZodOptional<z.ZodString>
|
|
14893
14892
|
userId: z.ZodString
|
|
14893
|
+
title: z.ZodString
|
|
14894
|
+
version: z.ZodInt
|
|
14894
14895
|
chatId: z.ZodString
|
|
14895
14896
|
content: z.ZodRecord<z.ZodString, z.ZodUnknown>
|
|
14896
|
-
version: z.ZodInt
|
|
14897
14897
|
kind: z.ZodString
|
|
14898
14898
|
},
|
|
14899
14899
|
{
|
|
@@ -14924,6 +14924,7 @@ declare const CreateCategorySchema: z.ZodObject<
|
|
|
14924
14924
|
declare const CreateChatSchema: z.ZodObject<
|
|
14925
14925
|
{
|
|
14926
14926
|
id: z.ZodOptional<z.ZodString>
|
|
14927
|
+
userId: z.ZodString
|
|
14927
14928
|
metadata: z.ZodObject<
|
|
14928
14929
|
{
|
|
14929
14930
|
title: z.ZodDefault<z.ZodString>
|
|
@@ -14941,9 +14942,8 @@ declare const CreateChatSchema: z.ZodObject<
|
|
|
14941
14942
|
},
|
|
14942
14943
|
z.core.$strip
|
|
14943
14944
|
>
|
|
14944
|
-
appId: z.ZodString
|
|
14945
|
-
userId: z.ZodString
|
|
14946
14945
|
debug: z.ZodOptional<z.ZodBoolean>
|
|
14946
|
+
appId: z.ZodString
|
|
14947
14947
|
},
|
|
14948
14948
|
{
|
|
14949
14949
|
out: {}
|
|
@@ -14955,6 +14955,7 @@ export declare const createdAt: HasDefault<NotNull<PgTimestampBuilderInitial<''>
|
|
|
14955
14955
|
|
|
14956
14956
|
declare const CreateDatasetSchema: z.ZodObject<
|
|
14957
14957
|
{
|
|
14958
|
+
name: z.ZodString
|
|
14958
14959
|
metadata: z.ZodObject<
|
|
14959
14960
|
{
|
|
14960
14961
|
languageModel: z.ZodOptional<z.ZodString>
|
|
@@ -14980,7 +14981,6 @@ declare const CreateDatasetSchema: z.ZodObject<
|
|
|
14980
14981
|
},
|
|
14981
14982
|
z.core.$strip
|
|
14982
14983
|
>
|
|
14983
|
-
name: z.ZodString
|
|
14984
14984
|
workspaceId: z.ZodString
|
|
14985
14985
|
},
|
|
14986
14986
|
{
|
|
@@ -15007,6 +15007,7 @@ declare const CreateDocumentChunkSchema: z.ZodObject<
|
|
|
15007
15007
|
|
|
15008
15008
|
declare const CreateDocumentSchema: z.ZodObject<
|
|
15009
15009
|
{
|
|
15010
|
+
name: z.ZodString
|
|
15010
15011
|
metadata: z.ZodOptional<
|
|
15011
15012
|
z.ZodObject<
|
|
15012
15013
|
{
|
|
@@ -15017,7 +15018,6 @@ declare const CreateDocumentSchema: z.ZodObject<
|
|
|
15017
15018
|
z.core.$strip
|
|
15018
15019
|
>
|
|
15019
15020
|
>
|
|
15020
|
-
name: z.ZodString
|
|
15021
15021
|
workspaceId: z.ZodString
|
|
15022
15022
|
datasetId: z.ZodString
|
|
15023
15023
|
},
|
|
@@ -15062,9 +15062,9 @@ export { createLanguageModel as createLanguageModel_alias_2 }
|
|
|
15062
15062
|
|
|
15063
15063
|
declare const CreateMemorySchema: z.ZodObject<
|
|
15064
15064
|
{
|
|
15065
|
+
userId: z.ZodString
|
|
15065
15066
|
metadata: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>
|
|
15066
15067
|
appId: z.ZodString
|
|
15067
|
-
userId: z.ZodString
|
|
15068
15068
|
chatId: z.ZodOptional<z.ZodString>
|
|
15069
15069
|
content: z.ZodString
|
|
15070
15070
|
},
|
|
@@ -15442,7 +15442,7 @@ declare const Credits: PgTableWithColumns<{
|
|
|
15442
15442
|
tableName: 'credits'
|
|
15443
15443
|
dataType: 'string'
|
|
15444
15444
|
columnType: 'PgEnumColumn'
|
|
15445
|
-
data: '
|
|
15445
|
+
data: 'user' | 'organization'
|
|
15446
15446
|
driverParam: string
|
|
15447
15447
|
notNull: true
|
|
15448
15448
|
hasDefault: false
|
|
@@ -15549,7 +15549,7 @@ declare const Credits: PgTableWithColumns<{
|
|
|
15549
15549
|
|
|
15550
15550
|
declare type Credits = InferSelectModel<typeof Credits>
|
|
15551
15551
|
|
|
15552
|
-
declare interface CreditsMetadata {
|
|
15552
|
+
export declare interface CreditsMetadata {
|
|
15553
15553
|
customerId?: string
|
|
15554
15554
|
onetimeRechargeSessionId?: string
|
|
15555
15555
|
autoRechargeEnabled?: boolean
|
|
@@ -15636,7 +15636,7 @@ declare const CreditsOrder: PgTableWithColumns<{
|
|
|
15636
15636
|
tableName: 'credits_order'
|
|
15637
15637
|
dataType: 'string'
|
|
15638
15638
|
columnType: 'PgEnumColumn'
|
|
15639
|
-
data: '
|
|
15639
|
+
data: 'user' | 'organization'
|
|
15640
15640
|
driverParam: string
|
|
15641
15641
|
notNull: true
|
|
15642
15642
|
hasDefault: false
|
|
@@ -15865,7 +15865,7 @@ declare const CreditsSubscription: PgTableWithColumns<{
|
|
|
15865
15865
|
tableName: 'credits_subscription'
|
|
15866
15866
|
dataType: 'string'
|
|
15867
15867
|
columnType: 'PgEnumColumn'
|
|
15868
|
-
data: '
|
|
15868
|
+
data: 'user' | 'organization'
|
|
15869
15869
|
driverParam: string
|
|
15870
15870
|
notNull: true
|
|
15871
15871
|
hasDefault: false
|
|
@@ -16161,7 +16161,7 @@ declare const Dataset: PgTableWithColumns<{
|
|
|
16161
16161
|
|
|
16162
16162
|
declare type Dataset = InferSelectModel<typeof Dataset>
|
|
16163
16163
|
|
|
16164
|
-
declare interface DatasetMetadata {
|
|
16164
|
+
export declare interface DatasetMetadata {
|
|
16165
16165
|
description: string
|
|
16166
16166
|
languageModel: string
|
|
16167
16167
|
embeddingModel: string
|
|
@@ -16565,7 +16565,7 @@ declare const DocumentChunk: PgTableWithColumns<{
|
|
|
16565
16565
|
|
|
16566
16566
|
declare type DocumentChunk = InferSelectModel<typeof DocumentChunk>
|
|
16567
16567
|
|
|
16568
|
-
declare interface DocumentMetadata {
|
|
16568
|
+
export declare interface DocumentMetadata {
|
|
16569
16569
|
url?: string
|
|
16570
16570
|
processed?: boolean
|
|
16571
16571
|
taskId?: string
|
|
@@ -16842,7 +16842,7 @@ declare const Expense: PgTableWithColumns<{
|
|
|
16842
16842
|
tableName: 'expense'
|
|
16843
16843
|
dataType: 'string'
|
|
16844
16844
|
columnType: 'PgEnumColumn'
|
|
16845
|
-
data: '
|
|
16845
|
+
data: 'user' | 'organization'
|
|
16846
16846
|
driverParam: string
|
|
16847
16847
|
notNull: true
|
|
16848
16848
|
hasDefault: false
|
|
@@ -17053,7 +17053,7 @@ declare interface GoogleImagenResult {
|
|
|
17053
17053
|
|
|
17054
17054
|
export declare function hasWhitespace(s: string): boolean
|
|
17055
17055
|
|
|
17056
|
-
declare interface ImageGenerationDetails extends BaseGenerationDetails {
|
|
17056
|
+
export declare interface ImageGenerationDetails extends BaseGenerationDetails {
|
|
17057
17057
|
type: 'image'
|
|
17058
17058
|
callOptions: Omit<ImageModelV2CallOptions, 'prompt' | 'abortSignal' | 'headers'>
|
|
17059
17059
|
warnings: ImageModelV2CallWarning[]
|
|
@@ -17659,7 +17659,7 @@ export declare class KeyV1 {
|
|
|
17659
17659
|
toString(): string
|
|
17660
17660
|
}
|
|
17661
17661
|
|
|
17662
|
-
declare interface LanguageGenerationDetails extends BaseGenerationDetails {
|
|
17662
|
+
export declare interface LanguageGenerationDetails extends BaseGenerationDetails {
|
|
17663
17663
|
type: 'language'
|
|
17664
17664
|
callOptions: Omit<
|
|
17665
17665
|
LanguageModelV2CallOptions,
|
|
@@ -22494,7 +22494,7 @@ export declare const sharedV2ProviderOptionsSchema: z.ZodRecord<
|
|
|
22494
22494
|
>
|
|
22495
22495
|
>
|
|
22496
22496
|
|
|
22497
|
-
declare interface SpeechGenerationDetails extends BaseGenerationDetails {
|
|
22497
|
+
export declare interface SpeechGenerationDetails extends BaseGenerationDetails {
|
|
22498
22498
|
type: 'speech'
|
|
22499
22499
|
callOptions: Pick<
|
|
22500
22500
|
SpeechModelV2CallOptions,
|
|
@@ -23035,7 +23035,7 @@ declare const teamMember: PgTableWithColumns<{
|
|
|
23035
23035
|
dialect: 'pg'
|
|
23036
23036
|
}>
|
|
23037
23037
|
|
|
23038
|
-
declare interface TextEmbeddingGenerationDetails extends BaseGenerationDetails {
|
|
23038
|
+
export declare interface TextEmbeddingGenerationDetails extends BaseGenerationDetails {
|
|
23039
23039
|
type: 'textEmbedding'
|
|
23040
23040
|
callOptions: {
|
|
23041
23041
|
providerOptions?: SharedV2ProviderOptions
|
|
@@ -23065,7 +23065,7 @@ declare function toUIMessages(messages: Pick<Message_2, 'id' | 'role' | 'content
|
|
|
23065
23065
|
export { toUIMessages }
|
|
23066
23066
|
export { toUIMessages as toUIMessages_alias_1 }
|
|
23067
23067
|
|
|
23068
|
-
declare interface TranscriptionGenerationDetails extends BaseGenerationDetails {
|
|
23068
|
+
export declare interface TranscriptionGenerationDetails extends BaseGenerationDetails {
|
|
23069
23069
|
type: 'transcription'
|
|
23070
23070
|
callOptions: Pick<TranscriptionModelV2CallOptions, 'mediaType' | 'providerOptions'>
|
|
23071
23071
|
language: string | undefined
|
|
@@ -23528,6 +23528,7 @@ export declare const uiMessageSchema: z.ZodObject<
|
|
|
23528
23528
|
declare const UpdateAgentSchema: z.ZodObject<
|
|
23529
23529
|
{
|
|
23530
23530
|
id: z.ZodString
|
|
23531
|
+
name: z.ZodOptional<z.ZodString>
|
|
23531
23532
|
metadata: z.ZodOptional<
|
|
23532
23533
|
z.ZodObject<
|
|
23533
23534
|
{
|
|
@@ -23550,7 +23551,6 @@ declare const UpdateAgentSchema: z.ZodObject<
|
|
|
23550
23551
|
z.core.$catchall<z.ZodUnknown>
|
|
23551
23552
|
>
|
|
23552
23553
|
>
|
|
23553
|
-
name: z.ZodOptional<z.ZodString>
|
|
23554
23554
|
},
|
|
23555
23555
|
{
|
|
23556
23556
|
out: {}
|
|
@@ -23560,6 +23560,7 @@ declare const UpdateAgentSchema: z.ZodObject<
|
|
|
23560
23560
|
|
|
23561
23561
|
declare const UpdateAgentVersionSchema: z.ZodObject<
|
|
23562
23562
|
{
|
|
23563
|
+
name: z.ZodOptional<z.ZodString>
|
|
23563
23564
|
metadata: z.ZodOptional<
|
|
23564
23565
|
z.ZodObject<
|
|
23565
23566
|
{
|
|
@@ -23582,9 +23583,8 @@ declare const UpdateAgentVersionSchema: z.ZodObject<
|
|
|
23582
23583
|
z.core.$catchall<z.ZodUnknown>
|
|
23583
23584
|
>
|
|
23584
23585
|
>
|
|
23585
|
-
name: z.ZodOptional<z.ZodString>
|
|
23586
|
-
version: z.ZodOptional<z.ZodNumber>
|
|
23587
23586
|
agentId: z.ZodString
|
|
23587
|
+
version: z.ZodOptional<z.ZodNumber>
|
|
23588
23588
|
},
|
|
23589
23589
|
{
|
|
23590
23590
|
out: {}
|
|
@@ -23595,6 +23595,7 @@ declare const UpdateAgentVersionSchema: z.ZodObject<
|
|
|
23595
23595
|
declare const UpdateAppSchema: z.ZodObject<
|
|
23596
23596
|
{
|
|
23597
23597
|
id: z.ZodString
|
|
23598
|
+
name: z.ZodOptional<z.ZodString>
|
|
23598
23599
|
metadata: z.ZodOptional<
|
|
23599
23600
|
z.ZodObject<
|
|
23600
23601
|
{
|
|
@@ -23618,7 +23619,6 @@ declare const UpdateAppSchema: z.ZodObject<
|
|
|
23618
23619
|
z.core.$catchall<z.ZodUnknown>
|
|
23619
23620
|
>
|
|
23620
23621
|
>
|
|
23621
|
-
name: z.ZodOptional<z.ZodString>
|
|
23622
23622
|
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>
|
|
23623
23623
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>
|
|
23624
23624
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>
|
|
@@ -23632,6 +23632,7 @@ declare const UpdateAppSchema: z.ZodObject<
|
|
|
23632
23632
|
|
|
23633
23633
|
declare const UpdateAppVersionSchema: z.ZodObject<
|
|
23634
23634
|
{
|
|
23635
|
+
name: z.ZodOptional<z.ZodString>
|
|
23635
23636
|
metadata: z.ZodOptional<
|
|
23636
23637
|
z.ZodObject<
|
|
23637
23638
|
{
|
|
@@ -23655,7 +23656,6 @@ declare const UpdateAppVersionSchema: z.ZodObject<
|
|
|
23655
23656
|
z.core.$catchall<z.ZodUnknown>
|
|
23656
23657
|
>
|
|
23657
23658
|
>
|
|
23658
|
-
name: z.ZodOptional<z.ZodString>
|
|
23659
23659
|
appId: z.ZodString
|
|
23660
23660
|
version: z.ZodOptional<z.ZodNumber>
|
|
23661
23661
|
},
|
|
@@ -23667,10 +23667,10 @@ declare const UpdateAppVersionSchema: z.ZodObject<
|
|
|
23667
23667
|
|
|
23668
23668
|
declare const UpdateArtifactSchema: z.ZodObject<
|
|
23669
23669
|
{
|
|
23670
|
-
title: z.ZodOptional<z.ZodString>
|
|
23671
23670
|
id: z.ZodString
|
|
23672
|
-
|
|
23671
|
+
title: z.ZodOptional<z.ZodString>
|
|
23673
23672
|
version: z.ZodOptional<z.ZodInt>
|
|
23673
|
+
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>
|
|
23674
23674
|
kind: z.ZodOptional<z.ZodString>
|
|
23675
23675
|
},
|
|
23676
23676
|
{
|
|
@@ -23726,6 +23726,7 @@ export declare const updatedAt: HasDefault<HasDefault<NotNull<PgTimestampBuilder
|
|
|
23726
23726
|
declare const UpdateDatasetSchema: z.ZodObject<
|
|
23727
23727
|
{
|
|
23728
23728
|
id: z.ZodString
|
|
23729
|
+
name: z.ZodOptional<z.ZodString>
|
|
23729
23730
|
metadata: z.ZodOptional<
|
|
23730
23731
|
z.ZodObject<
|
|
23731
23732
|
{
|
|
@@ -23753,7 +23754,6 @@ declare const UpdateDatasetSchema: z.ZodObject<
|
|
|
23753
23754
|
z.core.$strip
|
|
23754
23755
|
>
|
|
23755
23756
|
>
|
|
23756
|
-
name: z.ZodOptional<z.ZodString>
|
|
23757
23757
|
},
|
|
23758
23758
|
{
|
|
23759
23759
|
out: {}
|
|
@@ -23776,6 +23776,7 @@ declare const UpdateDocumentChunkSchema: z.ZodObject<
|
|
|
23776
23776
|
declare const UpdateDocumentSchema: z.ZodObject<
|
|
23777
23777
|
{
|
|
23778
23778
|
id: z.ZodString
|
|
23779
|
+
name: z.ZodOptional<z.ZodString>
|
|
23779
23780
|
metadata: z.ZodOptional<
|
|
23780
23781
|
z.ZodObject<
|
|
23781
23782
|
{
|
|
@@ -23786,7 +23787,6 @@ declare const UpdateDocumentSchema: z.ZodObject<
|
|
|
23786
23787
|
z.core.$strip
|
|
23787
23788
|
>
|
|
23788
23789
|
>
|
|
23789
|
-
name: z.ZodOptional<z.ZodString>
|
|
23790
23790
|
},
|
|
23791
23791
|
{
|
|
23792
23792
|
out: {}
|
|
@@ -844,7 +844,7 @@ declare const Agent: PgTableWithColumns<{
|
|
|
844
844
|
|
|
845
845
|
declare type Agent = InferSelectModel<typeof Agent>
|
|
846
846
|
|
|
847
|
-
declare interface AgentMetadata {
|
|
847
|
+
export declare interface AgentMetadata {
|
|
848
848
|
description?: string
|
|
849
849
|
imageUrl?: string
|
|
850
850
|
languageModel?: string
|
|
@@ -2173,7 +2173,7 @@ declare type AppContext = BaseContext & {
|
|
|
2173
2173
|
}
|
|
2174
2174
|
}
|
|
2175
2175
|
|
|
2176
|
-
declare interface AppMetadata {
|
|
2176
|
+
export declare interface AppMetadata {
|
|
2177
2177
|
description?: string
|
|
2178
2178
|
imageUrl?: string
|
|
2179
2179
|
clientId?: string
|
|
@@ -6008,6 +6008,7 @@ declare const appRouter: {
|
|
|
6008
6008
|
>,
|
|
6009
6009
|
ZodObject<
|
|
6010
6010
|
{
|
|
6011
|
+
name: ZodString
|
|
6011
6012
|
metadata: ZodObject<
|
|
6012
6013
|
{
|
|
6013
6014
|
description: ZodOptional<ZodString>
|
|
@@ -6035,7 +6036,6 @@ declare const appRouter: {
|
|
|
6035
6036
|
'multiple-agents': 'multiple-agents'
|
|
6036
6037
|
}>
|
|
6037
6038
|
>
|
|
6038
|
-
name: ZodString
|
|
6039
6039
|
archived: ZodOptional<ZodNullable<ZodBoolean>>
|
|
6040
6040
|
archivedAt: ZodOptional<ZodNullable<ZodDate>>
|
|
6041
6041
|
deleted: ZodOptional<ZodNullable<ZodBoolean>>
|
|
@@ -6121,6 +6121,7 @@ declare const appRouter: {
|
|
|
6121
6121
|
ZodObject<
|
|
6122
6122
|
{
|
|
6123
6123
|
id: ZodString
|
|
6124
|
+
name: ZodOptional<ZodString>
|
|
6124
6125
|
metadata: ZodOptional<
|
|
6125
6126
|
ZodObject<
|
|
6126
6127
|
{
|
|
@@ -6144,7 +6145,6 @@ declare const appRouter: {
|
|
|
6144
6145
|
$catchall<ZodUnknown>
|
|
6145
6146
|
>
|
|
6146
6147
|
>
|
|
6147
|
-
name: ZodOptional<ZodString>
|
|
6148
6148
|
archived: ZodOptional<ZodNullable<ZodBoolean>>
|
|
6149
6149
|
archivedAt: ZodOptional<ZodNullable<ZodDate>>
|
|
6150
6150
|
deleted: ZodOptional<ZodNullable<ZodBoolean>>
|
|
@@ -7799,6 +7799,7 @@ declare const appRouter: {
|
|
|
7799
7799
|
>,
|
|
7800
7800
|
ZodObject<
|
|
7801
7801
|
{
|
|
7802
|
+
name: ZodString
|
|
7802
7803
|
metadata: ZodOptional<
|
|
7803
7804
|
ZodObject<
|
|
7804
7805
|
{
|
|
@@ -7821,7 +7822,6 @@ declare const appRouter: {
|
|
|
7821
7822
|
$catchall<ZodUnknown>
|
|
7822
7823
|
>
|
|
7823
7824
|
>
|
|
7824
|
-
name: ZodString
|
|
7825
7825
|
appId: ZodString
|
|
7826
7826
|
},
|
|
7827
7827
|
{
|
|
@@ -7891,6 +7891,7 @@ declare const appRouter: {
|
|
|
7891
7891
|
ZodObject<
|
|
7892
7892
|
{
|
|
7893
7893
|
id: ZodString
|
|
7894
|
+
name: ZodOptional<ZodString>
|
|
7894
7895
|
metadata: ZodOptional<
|
|
7895
7896
|
ZodObject<
|
|
7896
7897
|
{
|
|
@@ -7913,7 +7914,6 @@ declare const appRouter: {
|
|
|
7913
7914
|
$catchall<ZodUnknown>
|
|
7914
7915
|
>
|
|
7915
7916
|
>
|
|
7916
|
-
name: ZodOptional<ZodString>
|
|
7917
7917
|
},
|
|
7918
7918
|
{
|
|
7919
7919
|
out: {}
|
|
@@ -8091,6 +8091,7 @@ declare const appRouter: {
|
|
|
8091
8091
|
>,
|
|
8092
8092
|
ZodObject<
|
|
8093
8093
|
{
|
|
8094
|
+
name: ZodString
|
|
8094
8095
|
metadata: ZodObject<
|
|
8095
8096
|
{
|
|
8096
8097
|
languageModel: ZodOptional<ZodString>
|
|
@@ -8116,7 +8117,6 @@ declare const appRouter: {
|
|
|
8116
8117
|
},
|
|
8117
8118
|
$strip
|
|
8118
8119
|
>
|
|
8119
|
-
name: ZodString
|
|
8120
8120
|
workspaceId: ZodString
|
|
8121
8121
|
},
|
|
8122
8122
|
{
|
|
@@ -8170,6 +8170,7 @@ declare const appRouter: {
|
|
|
8170
8170
|
ZodObject<
|
|
8171
8171
|
{
|
|
8172
8172
|
id: ZodString
|
|
8173
|
+
name: ZodOptional<ZodString>
|
|
8173
8174
|
metadata: ZodOptional<
|
|
8174
8175
|
ZodObject<
|
|
8175
8176
|
{
|
|
@@ -8197,7 +8198,6 @@ declare const appRouter: {
|
|
|
8197
8198
|
$strip
|
|
8198
8199
|
>
|
|
8199
8200
|
>
|
|
8200
|
-
name: ZodOptional<ZodString>
|
|
8201
8201
|
},
|
|
8202
8202
|
{
|
|
8203
8203
|
out: {}
|
|
@@ -8272,6 +8272,7 @@ declare const appRouter: {
|
|
|
8272
8272
|
>,
|
|
8273
8273
|
ZodObject<
|
|
8274
8274
|
{
|
|
8275
|
+
name: ZodString
|
|
8275
8276
|
metadata: ZodOptional<
|
|
8276
8277
|
ZodObject<
|
|
8277
8278
|
{
|
|
@@ -8282,7 +8283,6 @@ declare const appRouter: {
|
|
|
8282
8283
|
$strip
|
|
8283
8284
|
>
|
|
8284
8285
|
>
|
|
8285
|
-
name: ZodString
|
|
8286
8286
|
workspaceId: ZodString
|
|
8287
8287
|
datasetId: ZodString
|
|
8288
8288
|
},
|
|
@@ -8339,6 +8339,7 @@ declare const appRouter: {
|
|
|
8339
8339
|
ZodObject<
|
|
8340
8340
|
{
|
|
8341
8341
|
id: ZodString
|
|
8342
|
+
name: ZodOptional<ZodString>
|
|
8342
8343
|
metadata: ZodOptional<
|
|
8343
8344
|
ZodObject<
|
|
8344
8345
|
{
|
|
@@ -8349,7 +8350,6 @@ declare const appRouter: {
|
|
|
8349
8350
|
$strip
|
|
8350
8351
|
>
|
|
8351
8352
|
>
|
|
8352
|
-
name: ZodOptional<ZodString>
|
|
8353
8353
|
},
|
|
8354
8354
|
{
|
|
8355
8355
|
out: {}
|
|
@@ -14695,7 +14695,7 @@ declare const Chat_2: PgTableWithColumns<{
|
|
|
14695
14695
|
|
|
14696
14696
|
declare type Chat_2 = InferSelectModel<typeof Chat_2>
|
|
14697
14697
|
|
|
14698
|
-
declare interface ChatMetadata {
|
|
14698
|
+
export declare interface ChatMetadata {
|
|
14699
14699
|
title: string
|
|
14700
14700
|
visibility: 'public' | 'private'
|
|
14701
14701
|
languageModel?: string
|
|
@@ -14718,6 +14718,7 @@ declare type Context = BaseContext & {
|
|
|
14718
14718
|
|
|
14719
14719
|
declare const CreateAgentSchema: z.ZodObject<
|
|
14720
14720
|
{
|
|
14721
|
+
name: z.ZodString
|
|
14721
14722
|
metadata: z.ZodOptional<
|
|
14722
14723
|
z.ZodObject<
|
|
14723
14724
|
{
|
|
@@ -14740,7 +14741,6 @@ declare const CreateAgentSchema: z.ZodObject<
|
|
|
14740
14741
|
z.core.$catchall<z.ZodUnknown>
|
|
14741
14742
|
>
|
|
14742
14743
|
>
|
|
14743
|
-
name: z.ZodString
|
|
14744
14744
|
appId: z.ZodString
|
|
14745
14745
|
},
|
|
14746
14746
|
{
|
|
@@ -14751,6 +14751,7 @@ declare const CreateAgentSchema: z.ZodObject<
|
|
|
14751
14751
|
|
|
14752
14752
|
declare const CreateAgentVersionSchema: z.ZodObject<
|
|
14753
14753
|
{
|
|
14754
|
+
name: z.ZodString
|
|
14754
14755
|
metadata: z.ZodOptional<
|
|
14755
14756
|
z.ZodObject<
|
|
14756
14757
|
{
|
|
@@ -14773,9 +14774,8 @@ declare const CreateAgentVersionSchema: z.ZodObject<
|
|
|
14773
14774
|
z.core.$catchall<z.ZodUnknown>
|
|
14774
14775
|
>
|
|
14775
14776
|
>
|
|
14776
|
-
name: z.ZodString
|
|
14777
|
-
version: z.ZodOptional<z.ZodNumber>
|
|
14778
14777
|
agentId: z.ZodString
|
|
14778
|
+
version: z.ZodOptional<z.ZodNumber>
|
|
14779
14779
|
},
|
|
14780
14780
|
{
|
|
14781
14781
|
out: {}
|
|
@@ -14785,6 +14785,7 @@ declare const CreateAgentVersionSchema: z.ZodObject<
|
|
|
14785
14785
|
|
|
14786
14786
|
declare const CreateAppSchema: z.ZodObject<
|
|
14787
14787
|
{
|
|
14788
|
+
name: z.ZodString
|
|
14788
14789
|
metadata: z.ZodObject<
|
|
14789
14790
|
{
|
|
14790
14791
|
description: z.ZodOptional<z.ZodString>
|
|
@@ -14812,7 +14813,6 @@ declare const CreateAppSchema: z.ZodObject<
|
|
|
14812
14813
|
'multiple-agents': 'multiple-agents'
|
|
14813
14814
|
}>
|
|
14814
14815
|
>
|
|
14815
|
-
name: z.ZodString
|
|
14816
14816
|
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>
|
|
14817
14817
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>
|
|
14818
14818
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>
|
|
@@ -14849,6 +14849,7 @@ declare const CreateAppsToTagsSchema: z.ZodObject<
|
|
|
14849
14849
|
|
|
14850
14850
|
declare const CreateAppVersionSchema: z.ZodObject<
|
|
14851
14851
|
{
|
|
14852
|
+
name: z.ZodString
|
|
14852
14853
|
metadata: z.ZodObject<
|
|
14853
14854
|
{
|
|
14854
14855
|
description: z.ZodOptional<z.ZodString>
|
|
@@ -14876,7 +14877,6 @@ declare const CreateAppVersionSchema: z.ZodObject<
|
|
|
14876
14877
|
'multiple-agents': 'multiple-agents'
|
|
14877
14878
|
}>
|
|
14878
14879
|
>
|
|
14879
|
-
name: z.ZodString
|
|
14880
14880
|
appId: z.ZodString
|
|
14881
14881
|
version: z.ZodOptional<z.ZodNumber>
|
|
14882
14882
|
},
|
|
@@ -14888,12 +14888,12 @@ declare const CreateAppVersionSchema: z.ZodObject<
|
|
|
14888
14888
|
|
|
14889
14889
|
declare const CreateArtifactSchema: z.ZodObject<
|
|
14890
14890
|
{
|
|
14891
|
-
title: z.ZodString
|
|
14892
14891
|
id: z.ZodOptional<z.ZodString>
|
|
14893
14892
|
userId: z.ZodString
|
|
14893
|
+
title: z.ZodString
|
|
14894
|
+
version: z.ZodInt
|
|
14894
14895
|
chatId: z.ZodString
|
|
14895
14896
|
content: z.ZodRecord<z.ZodString, z.ZodUnknown>
|
|
14896
|
-
version: z.ZodInt
|
|
14897
14897
|
kind: z.ZodString
|
|
14898
14898
|
},
|
|
14899
14899
|
{
|
|
@@ -14924,6 +14924,7 @@ declare const CreateCategorySchema: z.ZodObject<
|
|
|
14924
14924
|
declare const CreateChatSchema: z.ZodObject<
|
|
14925
14925
|
{
|
|
14926
14926
|
id: z.ZodOptional<z.ZodString>
|
|
14927
|
+
userId: z.ZodString
|
|
14927
14928
|
metadata: z.ZodObject<
|
|
14928
14929
|
{
|
|
14929
14930
|
title: z.ZodDefault<z.ZodString>
|
|
@@ -14941,9 +14942,8 @@ declare const CreateChatSchema: z.ZodObject<
|
|
|
14941
14942
|
},
|
|
14942
14943
|
z.core.$strip
|
|
14943
14944
|
>
|
|
14944
|
-
appId: z.ZodString
|
|
14945
|
-
userId: z.ZodString
|
|
14946
14945
|
debug: z.ZodOptional<z.ZodBoolean>
|
|
14946
|
+
appId: z.ZodString
|
|
14947
14947
|
},
|
|
14948
14948
|
{
|
|
14949
14949
|
out: {}
|
|
@@ -14955,6 +14955,7 @@ export declare const createdAt: HasDefault<NotNull<PgTimestampBuilderInitial<''>
|
|
|
14955
14955
|
|
|
14956
14956
|
declare const CreateDatasetSchema: z.ZodObject<
|
|
14957
14957
|
{
|
|
14958
|
+
name: z.ZodString
|
|
14958
14959
|
metadata: z.ZodObject<
|
|
14959
14960
|
{
|
|
14960
14961
|
languageModel: z.ZodOptional<z.ZodString>
|
|
@@ -14980,7 +14981,6 @@ declare const CreateDatasetSchema: z.ZodObject<
|
|
|
14980
14981
|
},
|
|
14981
14982
|
z.core.$strip
|
|
14982
14983
|
>
|
|
14983
|
-
name: z.ZodString
|
|
14984
14984
|
workspaceId: z.ZodString
|
|
14985
14985
|
},
|
|
14986
14986
|
{
|
|
@@ -15007,6 +15007,7 @@ declare const CreateDocumentChunkSchema: z.ZodObject<
|
|
|
15007
15007
|
|
|
15008
15008
|
declare const CreateDocumentSchema: z.ZodObject<
|
|
15009
15009
|
{
|
|
15010
|
+
name: z.ZodString
|
|
15010
15011
|
metadata: z.ZodOptional<
|
|
15011
15012
|
z.ZodObject<
|
|
15012
15013
|
{
|
|
@@ -15017,7 +15018,6 @@ declare const CreateDocumentSchema: z.ZodObject<
|
|
|
15017
15018
|
z.core.$strip
|
|
15018
15019
|
>
|
|
15019
15020
|
>
|
|
15020
|
-
name: z.ZodString
|
|
15021
15021
|
workspaceId: z.ZodString
|
|
15022
15022
|
datasetId: z.ZodString
|
|
15023
15023
|
},
|
|
@@ -15062,9 +15062,9 @@ export { createLanguageModel as createLanguageModel_alias_2 }
|
|
|
15062
15062
|
|
|
15063
15063
|
declare const CreateMemorySchema: z.ZodObject<
|
|
15064
15064
|
{
|
|
15065
|
+
userId: z.ZodString
|
|
15065
15066
|
metadata: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>
|
|
15066
15067
|
appId: z.ZodString
|
|
15067
|
-
userId: z.ZodString
|
|
15068
15068
|
chatId: z.ZodOptional<z.ZodString>
|
|
15069
15069
|
content: z.ZodString
|
|
15070
15070
|
},
|
|
@@ -15442,7 +15442,7 @@ declare const Credits: PgTableWithColumns<{
|
|
|
15442
15442
|
tableName: 'credits'
|
|
15443
15443
|
dataType: 'string'
|
|
15444
15444
|
columnType: 'PgEnumColumn'
|
|
15445
|
-
data: '
|
|
15445
|
+
data: 'user' | 'organization'
|
|
15446
15446
|
driverParam: string
|
|
15447
15447
|
notNull: true
|
|
15448
15448
|
hasDefault: false
|
|
@@ -15549,7 +15549,7 @@ declare const Credits: PgTableWithColumns<{
|
|
|
15549
15549
|
|
|
15550
15550
|
declare type Credits = InferSelectModel<typeof Credits>
|
|
15551
15551
|
|
|
15552
|
-
declare interface CreditsMetadata {
|
|
15552
|
+
export declare interface CreditsMetadata {
|
|
15553
15553
|
customerId?: string
|
|
15554
15554
|
onetimeRechargeSessionId?: string
|
|
15555
15555
|
autoRechargeEnabled?: boolean
|
|
@@ -15636,7 +15636,7 @@ declare const CreditsOrder: PgTableWithColumns<{
|
|
|
15636
15636
|
tableName: 'credits_order'
|
|
15637
15637
|
dataType: 'string'
|
|
15638
15638
|
columnType: 'PgEnumColumn'
|
|
15639
|
-
data: '
|
|
15639
|
+
data: 'user' | 'organization'
|
|
15640
15640
|
driverParam: string
|
|
15641
15641
|
notNull: true
|
|
15642
15642
|
hasDefault: false
|
|
@@ -15865,7 +15865,7 @@ declare const CreditsSubscription: PgTableWithColumns<{
|
|
|
15865
15865
|
tableName: 'credits_subscription'
|
|
15866
15866
|
dataType: 'string'
|
|
15867
15867
|
columnType: 'PgEnumColumn'
|
|
15868
|
-
data: '
|
|
15868
|
+
data: 'user' | 'organization'
|
|
15869
15869
|
driverParam: string
|
|
15870
15870
|
notNull: true
|
|
15871
15871
|
hasDefault: false
|
|
@@ -16161,7 +16161,7 @@ declare const Dataset: PgTableWithColumns<{
|
|
|
16161
16161
|
|
|
16162
16162
|
declare type Dataset = InferSelectModel<typeof Dataset>
|
|
16163
16163
|
|
|
16164
|
-
declare interface DatasetMetadata {
|
|
16164
|
+
export declare interface DatasetMetadata {
|
|
16165
16165
|
description: string
|
|
16166
16166
|
languageModel: string
|
|
16167
16167
|
embeddingModel: string
|
|
@@ -16565,7 +16565,7 @@ declare const DocumentChunk: PgTableWithColumns<{
|
|
|
16565
16565
|
|
|
16566
16566
|
declare type DocumentChunk = InferSelectModel<typeof DocumentChunk>
|
|
16567
16567
|
|
|
16568
|
-
declare interface DocumentMetadata {
|
|
16568
|
+
export declare interface DocumentMetadata {
|
|
16569
16569
|
url?: string
|
|
16570
16570
|
processed?: boolean
|
|
16571
16571
|
taskId?: string
|
|
@@ -16842,7 +16842,7 @@ declare const Expense: PgTableWithColumns<{
|
|
|
16842
16842
|
tableName: 'expense'
|
|
16843
16843
|
dataType: 'string'
|
|
16844
16844
|
columnType: 'PgEnumColumn'
|
|
16845
|
-
data: '
|
|
16845
|
+
data: 'user' | 'organization'
|
|
16846
16846
|
driverParam: string
|
|
16847
16847
|
notNull: true
|
|
16848
16848
|
hasDefault: false
|
|
@@ -17053,7 +17053,7 @@ declare interface GoogleImagenResult {
|
|
|
17053
17053
|
|
|
17054
17054
|
export declare function hasWhitespace(s: string): boolean
|
|
17055
17055
|
|
|
17056
|
-
declare interface ImageGenerationDetails extends BaseGenerationDetails {
|
|
17056
|
+
export declare interface ImageGenerationDetails extends BaseGenerationDetails {
|
|
17057
17057
|
type: 'image'
|
|
17058
17058
|
callOptions: Omit<ImageModelV2CallOptions, 'prompt' | 'abortSignal' | 'headers'>
|
|
17059
17059
|
warnings: ImageModelV2CallWarning[]
|
|
@@ -17659,7 +17659,7 @@ export declare class KeyV1 {
|
|
|
17659
17659
|
toString(): string
|
|
17660
17660
|
}
|
|
17661
17661
|
|
|
17662
|
-
declare interface LanguageGenerationDetails extends BaseGenerationDetails {
|
|
17662
|
+
export declare interface LanguageGenerationDetails extends BaseGenerationDetails {
|
|
17663
17663
|
type: 'language'
|
|
17664
17664
|
callOptions: Omit<
|
|
17665
17665
|
LanguageModelV2CallOptions,
|
|
@@ -22494,7 +22494,7 @@ export declare const sharedV2ProviderOptionsSchema: z.ZodRecord<
|
|
|
22494
22494
|
>
|
|
22495
22495
|
>
|
|
22496
22496
|
|
|
22497
|
-
declare interface SpeechGenerationDetails extends BaseGenerationDetails {
|
|
22497
|
+
export declare interface SpeechGenerationDetails extends BaseGenerationDetails {
|
|
22498
22498
|
type: 'speech'
|
|
22499
22499
|
callOptions: Pick<
|
|
22500
22500
|
SpeechModelV2CallOptions,
|
|
@@ -23035,7 +23035,7 @@ declare const teamMember: PgTableWithColumns<{
|
|
|
23035
23035
|
dialect: 'pg'
|
|
23036
23036
|
}>
|
|
23037
23037
|
|
|
23038
|
-
declare interface TextEmbeddingGenerationDetails extends BaseGenerationDetails {
|
|
23038
|
+
export declare interface TextEmbeddingGenerationDetails extends BaseGenerationDetails {
|
|
23039
23039
|
type: 'textEmbedding'
|
|
23040
23040
|
callOptions: {
|
|
23041
23041
|
providerOptions?: SharedV2ProviderOptions
|
|
@@ -23065,7 +23065,7 @@ declare function toUIMessages(messages: Pick<Message_2, 'id' | 'role' | 'content
|
|
|
23065
23065
|
export { toUIMessages }
|
|
23066
23066
|
export { toUIMessages as toUIMessages_alias_1 }
|
|
23067
23067
|
|
|
23068
|
-
declare interface TranscriptionGenerationDetails extends BaseGenerationDetails {
|
|
23068
|
+
export declare interface TranscriptionGenerationDetails extends BaseGenerationDetails {
|
|
23069
23069
|
type: 'transcription'
|
|
23070
23070
|
callOptions: Pick<TranscriptionModelV2CallOptions, 'mediaType' | 'providerOptions'>
|
|
23071
23071
|
language: string | undefined
|
|
@@ -23528,6 +23528,7 @@ export declare const uiMessageSchema: z.ZodObject<
|
|
|
23528
23528
|
declare const UpdateAgentSchema: z.ZodObject<
|
|
23529
23529
|
{
|
|
23530
23530
|
id: z.ZodString
|
|
23531
|
+
name: z.ZodOptional<z.ZodString>
|
|
23531
23532
|
metadata: z.ZodOptional<
|
|
23532
23533
|
z.ZodObject<
|
|
23533
23534
|
{
|
|
@@ -23550,7 +23551,6 @@ declare const UpdateAgentSchema: z.ZodObject<
|
|
|
23550
23551
|
z.core.$catchall<z.ZodUnknown>
|
|
23551
23552
|
>
|
|
23552
23553
|
>
|
|
23553
|
-
name: z.ZodOptional<z.ZodString>
|
|
23554
23554
|
},
|
|
23555
23555
|
{
|
|
23556
23556
|
out: {}
|
|
@@ -23560,6 +23560,7 @@ declare const UpdateAgentSchema: z.ZodObject<
|
|
|
23560
23560
|
|
|
23561
23561
|
declare const UpdateAgentVersionSchema: z.ZodObject<
|
|
23562
23562
|
{
|
|
23563
|
+
name: z.ZodOptional<z.ZodString>
|
|
23563
23564
|
metadata: z.ZodOptional<
|
|
23564
23565
|
z.ZodObject<
|
|
23565
23566
|
{
|
|
@@ -23582,9 +23583,8 @@ declare const UpdateAgentVersionSchema: z.ZodObject<
|
|
|
23582
23583
|
z.core.$catchall<z.ZodUnknown>
|
|
23583
23584
|
>
|
|
23584
23585
|
>
|
|
23585
|
-
name: z.ZodOptional<z.ZodString>
|
|
23586
|
-
version: z.ZodOptional<z.ZodNumber>
|
|
23587
23586
|
agentId: z.ZodString
|
|
23587
|
+
version: z.ZodOptional<z.ZodNumber>
|
|
23588
23588
|
},
|
|
23589
23589
|
{
|
|
23590
23590
|
out: {}
|
|
@@ -23595,6 +23595,7 @@ declare const UpdateAgentVersionSchema: z.ZodObject<
|
|
|
23595
23595
|
declare const UpdateAppSchema: z.ZodObject<
|
|
23596
23596
|
{
|
|
23597
23597
|
id: z.ZodString
|
|
23598
|
+
name: z.ZodOptional<z.ZodString>
|
|
23598
23599
|
metadata: z.ZodOptional<
|
|
23599
23600
|
z.ZodObject<
|
|
23600
23601
|
{
|
|
@@ -23618,7 +23619,6 @@ declare const UpdateAppSchema: z.ZodObject<
|
|
|
23618
23619
|
z.core.$catchall<z.ZodUnknown>
|
|
23619
23620
|
>
|
|
23620
23621
|
>
|
|
23621
|
-
name: z.ZodOptional<z.ZodString>
|
|
23622
23622
|
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>
|
|
23623
23623
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>
|
|
23624
23624
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>
|
|
@@ -23632,6 +23632,7 @@ declare const UpdateAppSchema: z.ZodObject<
|
|
|
23632
23632
|
|
|
23633
23633
|
declare const UpdateAppVersionSchema: z.ZodObject<
|
|
23634
23634
|
{
|
|
23635
|
+
name: z.ZodOptional<z.ZodString>
|
|
23635
23636
|
metadata: z.ZodOptional<
|
|
23636
23637
|
z.ZodObject<
|
|
23637
23638
|
{
|
|
@@ -23655,7 +23656,6 @@ declare const UpdateAppVersionSchema: z.ZodObject<
|
|
|
23655
23656
|
z.core.$catchall<z.ZodUnknown>
|
|
23656
23657
|
>
|
|
23657
23658
|
>
|
|
23658
|
-
name: z.ZodOptional<z.ZodString>
|
|
23659
23659
|
appId: z.ZodString
|
|
23660
23660
|
version: z.ZodOptional<z.ZodNumber>
|
|
23661
23661
|
},
|
|
@@ -23667,10 +23667,10 @@ declare const UpdateAppVersionSchema: z.ZodObject<
|
|
|
23667
23667
|
|
|
23668
23668
|
declare const UpdateArtifactSchema: z.ZodObject<
|
|
23669
23669
|
{
|
|
23670
|
-
title: z.ZodOptional<z.ZodString>
|
|
23671
23670
|
id: z.ZodString
|
|
23672
|
-
|
|
23671
|
+
title: z.ZodOptional<z.ZodString>
|
|
23673
23672
|
version: z.ZodOptional<z.ZodInt>
|
|
23673
|
+
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>
|
|
23674
23674
|
kind: z.ZodOptional<z.ZodString>
|
|
23675
23675
|
},
|
|
23676
23676
|
{
|
|
@@ -23726,6 +23726,7 @@ export declare const updatedAt: HasDefault<HasDefault<NotNull<PgTimestampBuilder
|
|
|
23726
23726
|
declare const UpdateDatasetSchema: z.ZodObject<
|
|
23727
23727
|
{
|
|
23728
23728
|
id: z.ZodString
|
|
23729
|
+
name: z.ZodOptional<z.ZodString>
|
|
23729
23730
|
metadata: z.ZodOptional<
|
|
23730
23731
|
z.ZodObject<
|
|
23731
23732
|
{
|
|
@@ -23753,7 +23754,6 @@ declare const UpdateDatasetSchema: z.ZodObject<
|
|
|
23753
23754
|
z.core.$strip
|
|
23754
23755
|
>
|
|
23755
23756
|
>
|
|
23756
|
-
name: z.ZodOptional<z.ZodString>
|
|
23757
23757
|
},
|
|
23758
23758
|
{
|
|
23759
23759
|
out: {}
|
|
@@ -23776,6 +23776,7 @@ declare const UpdateDocumentChunkSchema: z.ZodObject<
|
|
|
23776
23776
|
declare const UpdateDocumentSchema: z.ZodObject<
|
|
23777
23777
|
{
|
|
23778
23778
|
id: z.ZodString
|
|
23779
|
+
name: z.ZodOptional<z.ZodString>
|
|
23779
23780
|
metadata: z.ZodOptional<
|
|
23780
23781
|
z.ZodObject<
|
|
23781
23782
|
{
|
|
@@ -23786,7 +23787,6 @@ declare const UpdateDocumentSchema: z.ZodObject<
|
|
|
23786
23787
|
z.core.$strip
|
|
23787
23788
|
>
|
|
23788
23789
|
>
|
|
23789
|
-
name: z.ZodOptional<z.ZodString>
|
|
23790
23790
|
},
|
|
23791
23791
|
{
|
|
23792
23792
|
out: {}
|
package/dist/index.d.mts
CHANGED
|
@@ -5,6 +5,17 @@ export { splitModelFullId } from './_tsup-dts-rollup.mjs';
|
|
|
5
5
|
export { BaseModelInfo } from './_tsup-dts-rollup.mjs';
|
|
6
6
|
export { ModelType } from './_tsup-dts-rollup.mjs';
|
|
7
7
|
export { BaseProviderInfo } from './_tsup-dts-rollup.mjs';
|
|
8
|
+
export { TranscriptionGenerationDetails } from './_tsup-dts-rollup.mjs';
|
|
9
|
+
export { TextEmbeddingGenerationDetails } from './_tsup-dts-rollup.mjs';
|
|
10
|
+
export { SpeechGenerationDetails } from './_tsup-dts-rollup.mjs';
|
|
11
|
+
export { LanguageGenerationDetails } from './_tsup-dts-rollup.mjs';
|
|
12
|
+
export { ImageGenerationDetails } from './_tsup-dts-rollup.mjs';
|
|
13
|
+
export { DocumentMetadata } from './_tsup-dts-rollup.mjs';
|
|
14
|
+
export { DatasetMetadata } from './_tsup-dts-rollup.mjs';
|
|
15
|
+
export { CreditsMetadata } from './_tsup-dts-rollup.mjs';
|
|
16
|
+
export { ChatMetadata } from './_tsup-dts-rollup.mjs';
|
|
17
|
+
export { AppMetadata } from './_tsup-dts-rollup.mjs';
|
|
18
|
+
export { AgentMetadata } from './_tsup-dts-rollup.mjs';
|
|
8
19
|
export { mergeWithoutUndefined } from './_tsup-dts-rollup.mjs';
|
|
9
20
|
export { regexFromString } from './_tsup-dts-rollup.mjs';
|
|
10
21
|
export { lruCacheSizeCalculation } from './_tsup-dts-rollup.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,17 @@ export { splitModelFullId } from './_tsup-dts-rollup.js';
|
|
|
5
5
|
export { BaseModelInfo } from './_tsup-dts-rollup.js';
|
|
6
6
|
export { ModelType } from './_tsup-dts-rollup.js';
|
|
7
7
|
export { BaseProviderInfo } from './_tsup-dts-rollup.js';
|
|
8
|
+
export { TranscriptionGenerationDetails } from './_tsup-dts-rollup.js';
|
|
9
|
+
export { TextEmbeddingGenerationDetails } from './_tsup-dts-rollup.js';
|
|
10
|
+
export { SpeechGenerationDetails } from './_tsup-dts-rollup.js';
|
|
11
|
+
export { LanguageGenerationDetails } from './_tsup-dts-rollup.js';
|
|
12
|
+
export { ImageGenerationDetails } from './_tsup-dts-rollup.js';
|
|
13
|
+
export { DocumentMetadata } from './_tsup-dts-rollup.js';
|
|
14
|
+
export { DatasetMetadata } from './_tsup-dts-rollup.js';
|
|
15
|
+
export { CreditsMetadata } from './_tsup-dts-rollup.js';
|
|
16
|
+
export { ChatMetadata } from './_tsup-dts-rollup.js';
|
|
17
|
+
export { AppMetadata } from './_tsup-dts-rollup.js';
|
|
18
|
+
export { AgentMetadata } from './_tsup-dts-rollup.js';
|
|
8
19
|
export { mergeWithoutUndefined } from './_tsup-dts-rollup.js';
|
|
9
20
|
export { regexFromString } from './_tsup-dts-rollup.js';
|
|
10
21
|
export { lruCacheSizeCalculation } from './_tsup-dts-rollup.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cared/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"prettier": "^3.4.2",
|
|
28
28
|
"typescript": "^5.7.3",
|
|
29
29
|
"@cared/eslint-config": "0.3.0",
|
|
30
|
-
"@cared/
|
|
31
|
-
"@cared/
|
|
30
|
+
"@cared/tsconfig": "0.1.0",
|
|
31
|
+
"@cared/prettier-config": "0.1.0"
|
|
32
32
|
},
|
|
33
33
|
"prettier": "@cared/prettier-config",
|
|
34
34
|
"peerDependencies": {
|