@supernova-studio/client 1.41.1 → 1.41.2
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/index.d.mts +295 -0
- package/dist/index.d.ts +295 -0
- package/dist/index.js +144 -143
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +401 -400
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -81313,16 +81313,101 @@ declare const DTOForgeProjectActionArtifactCreate: z__default.ZodObject<{
|
|
|
81313
81313
|
title: z__default.ZodString;
|
|
81314
81314
|
sectionId: z__default.ZodOptional<z__default.ZodString>;
|
|
81315
81315
|
afterArtifactId: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodString>>;
|
|
81316
|
+
initialMessage: z__default.ZodOptional<z__default.ZodObject<Pick<{
|
|
81317
|
+
id: z__default.ZodString;
|
|
81318
|
+
threadId: z__default.ZodString;
|
|
81319
|
+
sender: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
|
|
81320
|
+
type: z__default.ZodLiteral<"User">;
|
|
81321
|
+
userId: z__default.ZodString;
|
|
81322
|
+
}, "strip", z__default.ZodTypeAny, {
|
|
81323
|
+
type: "User";
|
|
81324
|
+
userId: string;
|
|
81325
|
+
}, {
|
|
81326
|
+
type: "User";
|
|
81327
|
+
userId: string;
|
|
81328
|
+
}>, z__default.ZodObject<{
|
|
81329
|
+
type: z__default.ZodLiteral<"Agent">;
|
|
81330
|
+
agentType: z__default.ZodEnum<["Ask", "Document", "Prototype", "ReleaseNotes"]>;
|
|
81331
|
+
}, "strip", z__default.ZodTypeAny, {
|
|
81332
|
+
type: "Agent";
|
|
81333
|
+
agentType: "Ask" | "Document" | "Prototype" | "ReleaseNotes";
|
|
81334
|
+
}, {
|
|
81335
|
+
type: "Agent";
|
|
81336
|
+
agentType: "Ask" | "Document" | "Prototype" | "ReleaseNotes";
|
|
81337
|
+
}>, z__default.ZodObject<{
|
|
81338
|
+
type: z__default.ZodLiteral<"System">;
|
|
81339
|
+
onBehalfOfUserId: z__default.ZodString;
|
|
81340
|
+
}, "strip", z__default.ZodTypeAny, {
|
|
81341
|
+
type: "System";
|
|
81342
|
+
onBehalfOfUserId: string;
|
|
81343
|
+
}, {
|
|
81344
|
+
type: "System";
|
|
81345
|
+
onBehalfOfUserId: string;
|
|
81346
|
+
}>]>;
|
|
81347
|
+
body: z__default.ZodString;
|
|
81348
|
+
isPrompt: z__default.ZodOptional<z__default.ZodBoolean>;
|
|
81349
|
+
startsNewThread: z__default.ZodOptional<z__default.ZodBoolean>;
|
|
81350
|
+
parentMessageId: z__default.ZodOptional<z__default.ZodString>;
|
|
81351
|
+
agentResponseTrackerId: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodString>>;
|
|
81352
|
+
attachments: z__default.ZodOptional<z__default.ZodObject<{
|
|
81353
|
+
iterationId: z__default.ZodOptional<z__default.ZodString>;
|
|
81354
|
+
}, "strip", z__default.ZodTypeAny, {
|
|
81355
|
+
iterationId?: string | undefined;
|
|
81356
|
+
}, {
|
|
81357
|
+
iterationId?: string | undefined;
|
|
81358
|
+
}>>;
|
|
81359
|
+
replyToMessageId: z__default.ZodOptional<z__default.ZodString>;
|
|
81360
|
+
createdAt: z__default.ZodString;
|
|
81361
|
+
updatedAt: z__default.ZodOptional<z__default.ZodString>;
|
|
81362
|
+
}, "id" | "body" | "isPrompt" | "startsNewThread" | "parentMessageId" | "attachments">, "strip", z__default.ZodTypeAny, {
|
|
81363
|
+
id: string;
|
|
81364
|
+
body: string;
|
|
81365
|
+
isPrompt?: boolean | undefined;
|
|
81366
|
+
startsNewThread?: boolean | undefined;
|
|
81367
|
+
parentMessageId?: string | undefined;
|
|
81368
|
+
attachments?: {
|
|
81369
|
+
iterationId?: string | undefined;
|
|
81370
|
+
} | undefined;
|
|
81371
|
+
}, {
|
|
81372
|
+
id: string;
|
|
81373
|
+
body: string;
|
|
81374
|
+
isPrompt?: boolean | undefined;
|
|
81375
|
+
startsNewThread?: boolean | undefined;
|
|
81376
|
+
parentMessageId?: string | undefined;
|
|
81377
|
+
attachments?: {
|
|
81378
|
+
iterationId?: string | undefined;
|
|
81379
|
+
} | undefined;
|
|
81380
|
+
}>>;
|
|
81316
81381
|
}, "strip", z__default.ZodTypeAny, {
|
|
81317
81382
|
id: string;
|
|
81318
81383
|
title: string;
|
|
81319
81384
|
sectionId?: string | undefined;
|
|
81320
81385
|
afterArtifactId?: string | null | undefined;
|
|
81386
|
+
initialMessage?: {
|
|
81387
|
+
id: string;
|
|
81388
|
+
body: string;
|
|
81389
|
+
isPrompt?: boolean | undefined;
|
|
81390
|
+
startsNewThread?: boolean | undefined;
|
|
81391
|
+
parentMessageId?: string | undefined;
|
|
81392
|
+
attachments?: {
|
|
81393
|
+
iterationId?: string | undefined;
|
|
81394
|
+
} | undefined;
|
|
81395
|
+
} | undefined;
|
|
81321
81396
|
}, {
|
|
81322
81397
|
id: string;
|
|
81323
81398
|
title: string;
|
|
81324
81399
|
sectionId?: string | undefined;
|
|
81325
81400
|
afterArtifactId?: string | null | undefined;
|
|
81401
|
+
initialMessage?: {
|
|
81402
|
+
id: string;
|
|
81403
|
+
body: string;
|
|
81404
|
+
isPrompt?: boolean | undefined;
|
|
81405
|
+
startsNewThread?: boolean | undefined;
|
|
81406
|
+
parentMessageId?: string | undefined;
|
|
81407
|
+
attachments?: {
|
|
81408
|
+
iterationId?: string | undefined;
|
|
81409
|
+
} | undefined;
|
|
81410
|
+
} | undefined;
|
|
81326
81411
|
}>;
|
|
81327
81412
|
}, "strip", z__default.ZodTypeAny, {
|
|
81328
81413
|
type: "ArtifactCreate";
|
|
@@ -81331,6 +81416,16 @@ declare const DTOForgeProjectActionArtifactCreate: z__default.ZodObject<{
|
|
|
81331
81416
|
title: string;
|
|
81332
81417
|
sectionId?: string | undefined;
|
|
81333
81418
|
afterArtifactId?: string | null | undefined;
|
|
81419
|
+
initialMessage?: {
|
|
81420
|
+
id: string;
|
|
81421
|
+
body: string;
|
|
81422
|
+
isPrompt?: boolean | undefined;
|
|
81423
|
+
startsNewThread?: boolean | undefined;
|
|
81424
|
+
parentMessageId?: string | undefined;
|
|
81425
|
+
attachments?: {
|
|
81426
|
+
iterationId?: string | undefined;
|
|
81427
|
+
} | undefined;
|
|
81428
|
+
} | undefined;
|
|
81334
81429
|
};
|
|
81335
81430
|
}, {
|
|
81336
81431
|
type: "ArtifactCreate";
|
|
@@ -81339,6 +81434,16 @@ declare const DTOForgeProjectActionArtifactCreate: z__default.ZodObject<{
|
|
|
81339
81434
|
title: string;
|
|
81340
81435
|
sectionId?: string | undefined;
|
|
81341
81436
|
afterArtifactId?: string | null | undefined;
|
|
81437
|
+
initialMessage?: {
|
|
81438
|
+
id: string;
|
|
81439
|
+
body: string;
|
|
81440
|
+
isPrompt?: boolean | undefined;
|
|
81441
|
+
startsNewThread?: boolean | undefined;
|
|
81442
|
+
parentMessageId?: string | undefined;
|
|
81443
|
+
attachments?: {
|
|
81444
|
+
iterationId?: string | undefined;
|
|
81445
|
+
} | undefined;
|
|
81446
|
+
} | undefined;
|
|
81342
81447
|
};
|
|
81343
81448
|
}>;
|
|
81344
81449
|
type DTOForgeProjectActionArtifactCreate = z__default.infer<typeof DTOForgeProjectActionArtifactCreate>;
|
|
@@ -81792,16 +81897,101 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
|
|
|
81792
81897
|
title: z__default.ZodString;
|
|
81793
81898
|
sectionId: z__default.ZodOptional<z__default.ZodString>;
|
|
81794
81899
|
afterArtifactId: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodString>>;
|
|
81900
|
+
initialMessage: z__default.ZodOptional<z__default.ZodObject<Pick<{
|
|
81901
|
+
id: z__default.ZodString;
|
|
81902
|
+
threadId: z__default.ZodString;
|
|
81903
|
+
sender: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
|
|
81904
|
+
type: z__default.ZodLiteral<"User">;
|
|
81905
|
+
userId: z__default.ZodString;
|
|
81906
|
+
}, "strip", z__default.ZodTypeAny, {
|
|
81907
|
+
type: "User";
|
|
81908
|
+
userId: string;
|
|
81909
|
+
}, {
|
|
81910
|
+
type: "User";
|
|
81911
|
+
userId: string;
|
|
81912
|
+
}>, z__default.ZodObject<{
|
|
81913
|
+
type: z__default.ZodLiteral<"Agent">;
|
|
81914
|
+
agentType: z__default.ZodEnum<["Ask", "Document", "Prototype", "ReleaseNotes"]>;
|
|
81915
|
+
}, "strip", z__default.ZodTypeAny, {
|
|
81916
|
+
type: "Agent";
|
|
81917
|
+
agentType: "Ask" | "Document" | "Prototype" | "ReleaseNotes";
|
|
81918
|
+
}, {
|
|
81919
|
+
type: "Agent";
|
|
81920
|
+
agentType: "Ask" | "Document" | "Prototype" | "ReleaseNotes";
|
|
81921
|
+
}>, z__default.ZodObject<{
|
|
81922
|
+
type: z__default.ZodLiteral<"System">;
|
|
81923
|
+
onBehalfOfUserId: z__default.ZodString;
|
|
81924
|
+
}, "strip", z__default.ZodTypeAny, {
|
|
81925
|
+
type: "System";
|
|
81926
|
+
onBehalfOfUserId: string;
|
|
81927
|
+
}, {
|
|
81928
|
+
type: "System";
|
|
81929
|
+
onBehalfOfUserId: string;
|
|
81930
|
+
}>]>;
|
|
81931
|
+
body: z__default.ZodString;
|
|
81932
|
+
isPrompt: z__default.ZodOptional<z__default.ZodBoolean>;
|
|
81933
|
+
startsNewThread: z__default.ZodOptional<z__default.ZodBoolean>;
|
|
81934
|
+
parentMessageId: z__default.ZodOptional<z__default.ZodString>;
|
|
81935
|
+
agentResponseTrackerId: z__default.ZodNullable<z__default.ZodOptional<z__default.ZodString>>;
|
|
81936
|
+
attachments: z__default.ZodOptional<z__default.ZodObject<{
|
|
81937
|
+
iterationId: z__default.ZodOptional<z__default.ZodString>;
|
|
81938
|
+
}, "strip", z__default.ZodTypeAny, {
|
|
81939
|
+
iterationId?: string | undefined;
|
|
81940
|
+
}, {
|
|
81941
|
+
iterationId?: string | undefined;
|
|
81942
|
+
}>>;
|
|
81943
|
+
replyToMessageId: z__default.ZodOptional<z__default.ZodString>;
|
|
81944
|
+
createdAt: z__default.ZodString;
|
|
81945
|
+
updatedAt: z__default.ZodOptional<z__default.ZodString>;
|
|
81946
|
+
}, "id" | "body" | "isPrompt" | "startsNewThread" | "parentMessageId" | "attachments">, "strip", z__default.ZodTypeAny, {
|
|
81947
|
+
id: string;
|
|
81948
|
+
body: string;
|
|
81949
|
+
isPrompt?: boolean | undefined;
|
|
81950
|
+
startsNewThread?: boolean | undefined;
|
|
81951
|
+
parentMessageId?: string | undefined;
|
|
81952
|
+
attachments?: {
|
|
81953
|
+
iterationId?: string | undefined;
|
|
81954
|
+
} | undefined;
|
|
81955
|
+
}, {
|
|
81956
|
+
id: string;
|
|
81957
|
+
body: string;
|
|
81958
|
+
isPrompt?: boolean | undefined;
|
|
81959
|
+
startsNewThread?: boolean | undefined;
|
|
81960
|
+
parentMessageId?: string | undefined;
|
|
81961
|
+
attachments?: {
|
|
81962
|
+
iterationId?: string | undefined;
|
|
81963
|
+
} | undefined;
|
|
81964
|
+
}>>;
|
|
81795
81965
|
}, "strip", z__default.ZodTypeAny, {
|
|
81796
81966
|
id: string;
|
|
81797
81967
|
title: string;
|
|
81798
81968
|
sectionId?: string | undefined;
|
|
81799
81969
|
afterArtifactId?: string | null | undefined;
|
|
81970
|
+
initialMessage?: {
|
|
81971
|
+
id: string;
|
|
81972
|
+
body: string;
|
|
81973
|
+
isPrompt?: boolean | undefined;
|
|
81974
|
+
startsNewThread?: boolean | undefined;
|
|
81975
|
+
parentMessageId?: string | undefined;
|
|
81976
|
+
attachments?: {
|
|
81977
|
+
iterationId?: string | undefined;
|
|
81978
|
+
} | undefined;
|
|
81979
|
+
} | undefined;
|
|
81800
81980
|
}, {
|
|
81801
81981
|
id: string;
|
|
81802
81982
|
title: string;
|
|
81803
81983
|
sectionId?: string | undefined;
|
|
81804
81984
|
afterArtifactId?: string | null | undefined;
|
|
81985
|
+
initialMessage?: {
|
|
81986
|
+
id: string;
|
|
81987
|
+
body: string;
|
|
81988
|
+
isPrompt?: boolean | undefined;
|
|
81989
|
+
startsNewThread?: boolean | undefined;
|
|
81990
|
+
parentMessageId?: string | undefined;
|
|
81991
|
+
attachments?: {
|
|
81992
|
+
iterationId?: string | undefined;
|
|
81993
|
+
} | undefined;
|
|
81994
|
+
} | undefined;
|
|
81805
81995
|
}>;
|
|
81806
81996
|
}, "strip", z__default.ZodTypeAny, {
|
|
81807
81997
|
type: "ArtifactCreate";
|
|
@@ -81810,6 +82000,16 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
|
|
|
81810
82000
|
title: string;
|
|
81811
82001
|
sectionId?: string | undefined;
|
|
81812
82002
|
afterArtifactId?: string | null | undefined;
|
|
82003
|
+
initialMessage?: {
|
|
82004
|
+
id: string;
|
|
82005
|
+
body: string;
|
|
82006
|
+
isPrompt?: boolean | undefined;
|
|
82007
|
+
startsNewThread?: boolean | undefined;
|
|
82008
|
+
parentMessageId?: string | undefined;
|
|
82009
|
+
attachments?: {
|
|
82010
|
+
iterationId?: string | undefined;
|
|
82011
|
+
} | undefined;
|
|
82012
|
+
} | undefined;
|
|
81813
82013
|
};
|
|
81814
82014
|
}, {
|
|
81815
82015
|
type: "ArtifactCreate";
|
|
@@ -81818,6 +82018,16 @@ declare const DTOForgeProjectAction: z__default.ZodIntersection<z__default.ZodDi
|
|
|
81818
82018
|
title: string;
|
|
81819
82019
|
sectionId?: string | undefined;
|
|
81820
82020
|
afterArtifactId?: string | null | undefined;
|
|
82021
|
+
initialMessage?: {
|
|
82022
|
+
id: string;
|
|
82023
|
+
body: string;
|
|
82024
|
+
isPrompt?: boolean | undefined;
|
|
82025
|
+
startsNewThread?: boolean | undefined;
|
|
82026
|
+
parentMessageId?: string | undefined;
|
|
82027
|
+
attachments?: {
|
|
82028
|
+
iterationId?: string | undefined;
|
|
82029
|
+
} | undefined;
|
|
82030
|
+
} | undefined;
|
|
81821
82031
|
};
|
|
81822
82032
|
}>, z__default.ZodObject<{
|
|
81823
82033
|
type: z__default.ZodLiteral<"ArtifactUpdate">;
|
|
@@ -82115,16 +82325,101 @@ declare const DTOForgeProjectArtifactCreateInput: z$1.ZodObject<{
|
|
|
82115
82325
|
title: z$1.ZodString;
|
|
82116
82326
|
sectionId: z$1.ZodOptional<z$1.ZodString>;
|
|
82117
82327
|
afterArtifactId: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodString>>;
|
|
82328
|
+
initialMessage: z$1.ZodOptional<z$1.ZodObject<Pick<{
|
|
82329
|
+
id: z$1.ZodString;
|
|
82330
|
+
threadId: z$1.ZodString;
|
|
82331
|
+
sender: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
|
|
82332
|
+
type: z$1.ZodLiteral<"User">;
|
|
82333
|
+
userId: z$1.ZodString;
|
|
82334
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
82335
|
+
type: "User";
|
|
82336
|
+
userId: string;
|
|
82337
|
+
}, {
|
|
82338
|
+
type: "User";
|
|
82339
|
+
userId: string;
|
|
82340
|
+
}>, z$1.ZodObject<{
|
|
82341
|
+
type: z$1.ZodLiteral<"Agent">;
|
|
82342
|
+
agentType: z$1.ZodEnum<["Ask", "Document", "Prototype", "ReleaseNotes"]>;
|
|
82343
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
82344
|
+
type: "Agent";
|
|
82345
|
+
agentType: "Ask" | "Document" | "Prototype" | "ReleaseNotes";
|
|
82346
|
+
}, {
|
|
82347
|
+
type: "Agent";
|
|
82348
|
+
agentType: "Ask" | "Document" | "Prototype" | "ReleaseNotes";
|
|
82349
|
+
}>, z$1.ZodObject<{
|
|
82350
|
+
type: z$1.ZodLiteral<"System">;
|
|
82351
|
+
onBehalfOfUserId: z$1.ZodString;
|
|
82352
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
82353
|
+
type: "System";
|
|
82354
|
+
onBehalfOfUserId: string;
|
|
82355
|
+
}, {
|
|
82356
|
+
type: "System";
|
|
82357
|
+
onBehalfOfUserId: string;
|
|
82358
|
+
}>]>;
|
|
82359
|
+
body: z$1.ZodString;
|
|
82360
|
+
isPrompt: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
82361
|
+
startsNewThread: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
82362
|
+
parentMessageId: z$1.ZodOptional<z$1.ZodString>;
|
|
82363
|
+
agentResponseTrackerId: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodString>>;
|
|
82364
|
+
attachments: z$1.ZodOptional<z$1.ZodObject<{
|
|
82365
|
+
iterationId: z$1.ZodOptional<z$1.ZodString>;
|
|
82366
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
82367
|
+
iterationId?: string | undefined;
|
|
82368
|
+
}, {
|
|
82369
|
+
iterationId?: string | undefined;
|
|
82370
|
+
}>>;
|
|
82371
|
+
replyToMessageId: z$1.ZodOptional<z$1.ZodString>;
|
|
82372
|
+
createdAt: z$1.ZodString;
|
|
82373
|
+
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
82374
|
+
}, "id" | "body" | "isPrompt" | "startsNewThread" | "parentMessageId" | "attachments">, "strip", z$1.ZodTypeAny, {
|
|
82375
|
+
id: string;
|
|
82376
|
+
body: string;
|
|
82377
|
+
isPrompt?: boolean | undefined;
|
|
82378
|
+
startsNewThread?: boolean | undefined;
|
|
82379
|
+
parentMessageId?: string | undefined;
|
|
82380
|
+
attachments?: {
|
|
82381
|
+
iterationId?: string | undefined;
|
|
82382
|
+
} | undefined;
|
|
82383
|
+
}, {
|
|
82384
|
+
id: string;
|
|
82385
|
+
body: string;
|
|
82386
|
+
isPrompt?: boolean | undefined;
|
|
82387
|
+
startsNewThread?: boolean | undefined;
|
|
82388
|
+
parentMessageId?: string | undefined;
|
|
82389
|
+
attachments?: {
|
|
82390
|
+
iterationId?: string | undefined;
|
|
82391
|
+
} | undefined;
|
|
82392
|
+
}>>;
|
|
82118
82393
|
}, "strip", z$1.ZodTypeAny, {
|
|
82119
82394
|
id: string;
|
|
82120
82395
|
title: string;
|
|
82121
82396
|
sectionId?: string | undefined;
|
|
82122
82397
|
afterArtifactId?: string | null | undefined;
|
|
82398
|
+
initialMessage?: {
|
|
82399
|
+
id: string;
|
|
82400
|
+
body: string;
|
|
82401
|
+
isPrompt?: boolean | undefined;
|
|
82402
|
+
startsNewThread?: boolean | undefined;
|
|
82403
|
+
parentMessageId?: string | undefined;
|
|
82404
|
+
attachments?: {
|
|
82405
|
+
iterationId?: string | undefined;
|
|
82406
|
+
} | undefined;
|
|
82407
|
+
} | undefined;
|
|
82123
82408
|
}, {
|
|
82124
82409
|
id: string;
|
|
82125
82410
|
title: string;
|
|
82126
82411
|
sectionId?: string | undefined;
|
|
82127
82412
|
afterArtifactId?: string | null | undefined;
|
|
82413
|
+
initialMessage?: {
|
|
82414
|
+
id: string;
|
|
82415
|
+
body: string;
|
|
82416
|
+
isPrompt?: boolean | undefined;
|
|
82417
|
+
startsNewThread?: boolean | undefined;
|
|
82418
|
+
parentMessageId?: string | undefined;
|
|
82419
|
+
attachments?: {
|
|
82420
|
+
iterationId?: string | undefined;
|
|
82421
|
+
} | undefined;
|
|
82422
|
+
} | undefined;
|
|
82128
82423
|
}>;
|
|
82129
82424
|
type DTOForgeProjectArtifactCreateInput = z$1.infer<typeof DTOForgeProjectArtifactCreateInput>;
|
|
82130
82425
|
declare const DTOForgeProjectArtifactDeleteInput: z$1.ZodObject<{
|