@supernova-studio/client 1.41.4 → 1.42.0

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 CHANGED
@@ -214488,6 +214488,292 @@ declare const DTOForgeProjectCreate: z$1.ZodObject<Pick<{
214488
214488
  role: "Admin" | "Viewer" | "Builder";
214489
214489
  workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
214490
214490
  }>, "many">>;
214491
+ initialFeature: z$1.ZodOptional<z$1.ZodObject<{
214492
+ id: z$1.ZodString;
214493
+ name: z$1.ZodOptional<z$1.ZodString>;
214494
+ description: z$1.ZodString;
214495
+ sectionId: z$1.ZodOptional<z$1.ZodString>;
214496
+ afterFeatureId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
214497
+ initialMessage: z$1.ZodObject<Pick<{
214498
+ id: z$1.ZodString;
214499
+ sender: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
214500
+ type: z$1.ZodLiteral<"User">;
214501
+ userId: z$1.ZodString;
214502
+ }, "strip", z$1.ZodTypeAny, {
214503
+ type: "User";
214504
+ userId: string;
214505
+ }, {
214506
+ type: "User";
214507
+ userId: string;
214508
+ }>, z$1.ZodObject<{
214509
+ type: z$1.ZodLiteral<"Agent">;
214510
+ }, "strip", z$1.ZodTypeAny, {
214511
+ type: "Agent";
214512
+ }, {
214513
+ type: "Agent";
214514
+ }>, z$1.ZodObject<{
214515
+ type: z$1.ZodLiteral<"System">;
214516
+ onBehalfOfUserId: z$1.ZodString;
214517
+ }, "strip", z$1.ZodTypeAny, {
214518
+ type: "System";
214519
+ onBehalfOfUserId: string;
214520
+ }, {
214521
+ type: "System";
214522
+ onBehalfOfUserId: string;
214523
+ }>]>;
214524
+ body: z$1.ZodString;
214525
+ isPrompt: z$1.ZodOptional<z$1.ZodBoolean>;
214526
+ startsNewThread: z$1.ZodOptional<z$1.ZodBoolean>;
214527
+ parentMessageId: z$1.ZodOptional<z$1.ZodString>;
214528
+ agentResponseTrackerId: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodString>>;
214529
+ attachments: z$1.ZodOptional<z$1.ZodObject<{
214530
+ iterationId: z$1.ZodOptional<z$1.ZodString>;
214531
+ }, "strip", z$1.ZodTypeAny, {
214532
+ iterationId?: string | undefined;
214533
+ }, {
214534
+ iterationId?: string | undefined;
214535
+ }>>;
214536
+ replyToMessageId: z$1.ZodOptional<z$1.ZodString>;
214537
+ createdAt: z$1.ZodString;
214538
+ updatedAt: z$1.ZodOptional<z$1.ZodString>;
214539
+ }, "id" | "body" | "isPrompt" | "startsNewThread" | "parentMessageId" | "attachments">, "strip", z$1.ZodTypeAny, {
214540
+ id: string;
214541
+ body: string;
214542
+ isPrompt?: boolean | undefined;
214543
+ startsNewThread?: boolean | undefined;
214544
+ parentMessageId?: string | undefined;
214545
+ attachments?: {
214546
+ iterationId?: string | undefined;
214547
+ } | undefined;
214548
+ }, {
214549
+ id: string;
214550
+ body: string;
214551
+ isPrompt?: boolean | undefined;
214552
+ startsNewThread?: boolean | undefined;
214553
+ parentMessageId?: string | undefined;
214554
+ attachments?: {
214555
+ iterationId?: string | undefined;
214556
+ } | undefined;
214557
+ }>;
214558
+ }, "strip", z$1.ZodTypeAny, {
214559
+ id: string;
214560
+ description: string;
214561
+ initialMessage: {
214562
+ id: string;
214563
+ body: string;
214564
+ isPrompt?: boolean | undefined;
214565
+ startsNewThread?: boolean | undefined;
214566
+ parentMessageId?: string | undefined;
214567
+ attachments?: {
214568
+ iterationId?: string | undefined;
214569
+ } | undefined;
214570
+ };
214571
+ name?: string | undefined;
214572
+ sectionId?: string | undefined;
214573
+ afterFeatureId?: string | null | undefined;
214574
+ }, {
214575
+ id: string;
214576
+ description: string;
214577
+ initialMessage: {
214578
+ id: string;
214579
+ body: string;
214580
+ isPrompt?: boolean | undefined;
214581
+ startsNewThread?: boolean | undefined;
214582
+ parentMessageId?: string | undefined;
214583
+ attachments?: {
214584
+ iterationId?: string | undefined;
214585
+ } | undefined;
214586
+ };
214587
+ name?: string | undefined;
214588
+ sectionId?: string | undefined;
214589
+ afterFeatureId?: string | null | undefined;
214590
+ }>>;
214591
+ initialArtifact: z$1.ZodOptional<z$1.ZodObject<{
214592
+ id: z$1.ZodString;
214593
+ title: z$1.ZodString;
214594
+ sectionId: z$1.ZodOptional<z$1.ZodString>;
214595
+ afterArtifactId: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodString>>;
214596
+ initialMessage: z$1.ZodOptional<z$1.ZodObject<Pick<{
214597
+ id: z$1.ZodString;
214598
+ threadId: z$1.ZodString;
214599
+ sender: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
214600
+ type: z$1.ZodLiteral<"User">;
214601
+ userId: z$1.ZodString;
214602
+ }, "strip", z$1.ZodTypeAny, {
214603
+ type: "User";
214604
+ userId: string;
214605
+ }, {
214606
+ type: "User";
214607
+ userId: string;
214608
+ }>, z$1.ZodObject<{
214609
+ type: z$1.ZodLiteral<"Agent">;
214610
+ agentType: z$1.ZodEnum<["Ask", "Document", "Prototype", "ReleaseNotes"]>;
214611
+ }, "strip", z$1.ZodTypeAny, {
214612
+ type: "Agent";
214613
+ agentType: "Ask" | "Document" | "Prototype" | "ReleaseNotes";
214614
+ }, {
214615
+ type: "Agent";
214616
+ agentType: "Ask" | "Document" | "Prototype" | "ReleaseNotes";
214617
+ }>, z$1.ZodObject<{
214618
+ type: z$1.ZodLiteral<"System">;
214619
+ onBehalfOfUserId: z$1.ZodString;
214620
+ }, "strip", z$1.ZodTypeAny, {
214621
+ type: "System";
214622
+ onBehalfOfUserId: string;
214623
+ }, {
214624
+ type: "System";
214625
+ onBehalfOfUserId: string;
214626
+ }>]>;
214627
+ body: z$1.ZodString;
214628
+ isPrompt: z$1.ZodOptional<z$1.ZodBoolean>;
214629
+ startsNewThread: z$1.ZodOptional<z$1.ZodBoolean>;
214630
+ parentMessageId: z$1.ZodOptional<z$1.ZodString>;
214631
+ agentResponseTrackerId: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodString>>;
214632
+ attachments: z$1.ZodOptional<z$1.ZodObject<{
214633
+ iterationId: z$1.ZodOptional<z$1.ZodString>;
214634
+ files: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<Pick<{
214635
+ id: z$1.ZodString;
214636
+ name: z$1.ZodString;
214637
+ deduplicationKey: z$1.ZodString;
214638
+ pendingUpload: z$1.ZodOptional<z$1.ZodBoolean>;
214639
+ storagePath: z$1.ZodString;
214640
+ url: z$1.ZodString;
214641
+ size: z$1.ZodNumber;
214642
+ source: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
214643
+ type: z$1.ZodLiteral<"UserUpload">;
214644
+ userId: z$1.ZodString;
214645
+ }, "strip", z$1.ZodTypeAny, {
214646
+ type: "UserUpload";
214647
+ userId: string;
214648
+ }, {
214649
+ type: "UserUpload";
214650
+ userId: string;
214651
+ }>, z$1.ZodObject<{
214652
+ type: z$1.ZodLiteral<"Figma">;
214653
+ renderMode: z$1.ZodEnum<["Image", "HTML"]>;
214654
+ }, "strip", z$1.ZodTypeAny, {
214655
+ type: "Figma";
214656
+ renderMode: "Image" | "HTML";
214657
+ }, {
214658
+ type: "Figma";
214659
+ renderMode: "Image" | "HTML";
214660
+ }>]>>;
214661
+ }, "id" | "url" | "source">, "strip", z$1.ZodTypeAny, {
214662
+ id: string;
214663
+ url: string;
214664
+ source?: {
214665
+ type: "UserUpload";
214666
+ userId: string;
214667
+ } | {
214668
+ type: "Figma";
214669
+ renderMode: "Image" | "HTML";
214670
+ } | undefined;
214671
+ }, {
214672
+ id: string;
214673
+ url: string;
214674
+ source?: {
214675
+ type: "UserUpload";
214676
+ userId: string;
214677
+ } | {
214678
+ type: "Figma";
214679
+ renderMode: "Image" | "HTML";
214680
+ } | undefined;
214681
+ }>, "many">>;
214682
+ }, "strip", z$1.ZodTypeAny, {
214683
+ files?: {
214684
+ id: string;
214685
+ url: string;
214686
+ source?: {
214687
+ type: "UserUpload";
214688
+ userId: string;
214689
+ } | {
214690
+ type: "Figma";
214691
+ renderMode: "Image" | "HTML";
214692
+ } | undefined;
214693
+ }[] | undefined;
214694
+ iterationId?: string | undefined;
214695
+ }, {
214696
+ files?: {
214697
+ id: string;
214698
+ url: string;
214699
+ source?: {
214700
+ type: "UserUpload";
214701
+ userId: string;
214702
+ } | {
214703
+ type: "Figma";
214704
+ renderMode: "Image" | "HTML";
214705
+ } | undefined;
214706
+ }[] | undefined;
214707
+ iterationId?: string | undefined;
214708
+ }>>;
214709
+ replyToMessageId: z$1.ZodOptional<z$1.ZodString>;
214710
+ createdAt: z$1.ZodString;
214711
+ updatedAt: z$1.ZodOptional<z$1.ZodString>;
214712
+ }, "id" | "body" | "isPrompt" | "startsNewThread" | "parentMessageId"> & {
214713
+ attachments: z$1.ZodOptional<z$1.ZodObject<{
214714
+ iterationId: z$1.ZodOptional<z$1.ZodString>;
214715
+ fileIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
214716
+ }, "strip", z$1.ZodTypeAny, {
214717
+ fileIds?: string[] | undefined;
214718
+ iterationId?: string | undefined;
214719
+ }, {
214720
+ fileIds?: string[] | undefined;
214721
+ iterationId?: string | undefined;
214722
+ }>>;
214723
+ }, "strip", z$1.ZodTypeAny, {
214724
+ id: string;
214725
+ body: string;
214726
+ isPrompt?: boolean | undefined;
214727
+ startsNewThread?: boolean | undefined;
214728
+ parentMessageId?: string | undefined;
214729
+ attachments?: {
214730
+ fileIds?: string[] | undefined;
214731
+ iterationId?: string | undefined;
214732
+ } | undefined;
214733
+ }, {
214734
+ id: string;
214735
+ body: string;
214736
+ isPrompt?: boolean | undefined;
214737
+ startsNewThread?: boolean | undefined;
214738
+ parentMessageId?: string | undefined;
214739
+ attachments?: {
214740
+ fileIds?: string[] | undefined;
214741
+ iterationId?: string | undefined;
214742
+ } | undefined;
214743
+ }>>;
214744
+ }, "strip", z$1.ZodTypeAny, {
214745
+ id: string;
214746
+ title: string;
214747
+ sectionId?: string | undefined;
214748
+ afterArtifactId?: string | null | undefined;
214749
+ initialMessage?: {
214750
+ id: string;
214751
+ body: string;
214752
+ isPrompt?: boolean | undefined;
214753
+ startsNewThread?: boolean | undefined;
214754
+ parentMessageId?: string | undefined;
214755
+ attachments?: {
214756
+ fileIds?: string[] | undefined;
214757
+ iterationId?: string | undefined;
214758
+ } | undefined;
214759
+ } | undefined;
214760
+ }, {
214761
+ id: string;
214762
+ title: string;
214763
+ sectionId?: string | undefined;
214764
+ afterArtifactId?: string | null | undefined;
214765
+ initialMessage?: {
214766
+ id: string;
214767
+ body: string;
214768
+ isPrompt?: boolean | undefined;
214769
+ startsNewThread?: boolean | undefined;
214770
+ parentMessageId?: string | undefined;
214771
+ attachments?: {
214772
+ fileIds?: string[] | undefined;
214773
+ iterationId?: string | undefined;
214774
+ } | undefined;
214775
+ } | undefined;
214776
+ }>>;
214491
214777
  }, "strip", z$1.ZodTypeAny, {
214492
214778
  name: string;
214493
214779
  meta: {
@@ -214506,6 +214792,40 @@ declare const DTOForgeProjectCreate: z$1.ZodObject<Pick<{
214506
214792
  role: "Admin" | "Viewer" | "Builder";
214507
214793
  workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
214508
214794
  }[] | undefined;
214795
+ initialFeature?: {
214796
+ id: string;
214797
+ description: string;
214798
+ initialMessage: {
214799
+ id: string;
214800
+ body: string;
214801
+ isPrompt?: boolean | undefined;
214802
+ startsNewThread?: boolean | undefined;
214803
+ parentMessageId?: string | undefined;
214804
+ attachments?: {
214805
+ iterationId?: string | undefined;
214806
+ } | undefined;
214807
+ };
214808
+ name?: string | undefined;
214809
+ sectionId?: string | undefined;
214810
+ afterFeatureId?: string | null | undefined;
214811
+ } | undefined;
214812
+ initialArtifact?: {
214813
+ id: string;
214814
+ title: string;
214815
+ sectionId?: string | undefined;
214816
+ afterArtifactId?: string | null | undefined;
214817
+ initialMessage?: {
214818
+ id: string;
214819
+ body: string;
214820
+ isPrompt?: boolean | undefined;
214821
+ startsNewThread?: boolean | undefined;
214822
+ parentMessageId?: string | undefined;
214823
+ attachments?: {
214824
+ fileIds?: string[] | undefined;
214825
+ iterationId?: string | undefined;
214826
+ } | undefined;
214827
+ } | undefined;
214828
+ } | undefined;
214509
214829
  }, {
214510
214830
  name: string;
214511
214831
  meta: {
@@ -214524,6 +214844,40 @@ declare const DTOForgeProjectCreate: z$1.ZodObject<Pick<{
214524
214844
  workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
214525
214845
  }[] | undefined;
214526
214846
  defaultRole?: "Viewer" | "Builder" | undefined;
214847
+ initialFeature?: {
214848
+ id: string;
214849
+ description: string;
214850
+ initialMessage: {
214851
+ id: string;
214852
+ body: string;
214853
+ isPrompt?: boolean | undefined;
214854
+ startsNewThread?: boolean | undefined;
214855
+ parentMessageId?: string | undefined;
214856
+ attachments?: {
214857
+ iterationId?: string | undefined;
214858
+ } | undefined;
214859
+ };
214860
+ name?: string | undefined;
214861
+ sectionId?: string | undefined;
214862
+ afterFeatureId?: string | null | undefined;
214863
+ } | undefined;
214864
+ initialArtifact?: {
214865
+ id: string;
214866
+ title: string;
214867
+ sectionId?: string | undefined;
214868
+ afterArtifactId?: string | null | undefined;
214869
+ initialMessage?: {
214870
+ id: string;
214871
+ body: string;
214872
+ isPrompt?: boolean | undefined;
214873
+ startsNewThread?: boolean | undefined;
214874
+ parentMessageId?: string | undefined;
214875
+ attachments?: {
214876
+ fileIds?: string[] | undefined;
214877
+ iterationId?: string | undefined;
214878
+ } | undefined;
214879
+ } | undefined;
214880
+ } | undefined;
214527
214881
  }>;
214528
214882
  type DTOForgeProjectCreate = z$1.infer<typeof DTOForgeProjectCreate>;
214529
214883
  declare const DTOForgeProjectUpdate: z$1.ZodObject<{
@@ -214532,19 +214886,305 @@ declare const DTOForgeProjectUpdate: z$1.ZodObject<{
214532
214886
  name: z$1.ZodString;
214533
214887
  description: z$1.ZodOptional<z$1.ZodString>;
214534
214888
  }, "strip", z$1.ZodTypeAny, {
214535
- name: string;
214536
- description?: string | undefined;
214889
+ name: string;
214890
+ description?: string | undefined;
214891
+ }, {
214892
+ name: string;
214893
+ description?: string | undefined;
214894
+ }>>;
214895
+ emoji: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
214896
+ tags: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString, "many">>>;
214897
+ accessMode: z$1.ZodOptional<z$1.ZodEnum<["InviteOnly", "Open", "Unlisted"]>>;
214898
+ isArchived: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodBoolean>>;
214899
+ fpContextId: z$1.ZodOptional<z$1.ZodString>;
214900
+ instruction: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
214901
+ defaultRole: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodEnum<["Viewer", "Builder"]>>>;
214902
+ initialFeature: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
214903
+ id: z$1.ZodString;
214904
+ name: z$1.ZodOptional<z$1.ZodString>;
214905
+ description: z$1.ZodString;
214906
+ sectionId: z$1.ZodOptional<z$1.ZodString>;
214907
+ afterFeatureId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
214908
+ initialMessage: z$1.ZodObject<Pick<{
214909
+ id: z$1.ZodString;
214910
+ sender: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
214911
+ type: z$1.ZodLiteral<"User">;
214912
+ userId: z$1.ZodString;
214913
+ }, "strip", z$1.ZodTypeAny, {
214914
+ type: "User";
214915
+ userId: string;
214916
+ }, {
214917
+ type: "User";
214918
+ userId: string;
214919
+ }>, z$1.ZodObject<{
214920
+ type: z$1.ZodLiteral<"Agent">;
214921
+ }, "strip", z$1.ZodTypeAny, {
214922
+ type: "Agent";
214923
+ }, {
214924
+ type: "Agent";
214925
+ }>, z$1.ZodObject<{
214926
+ type: z$1.ZodLiteral<"System">;
214927
+ onBehalfOfUserId: z$1.ZodString;
214928
+ }, "strip", z$1.ZodTypeAny, {
214929
+ type: "System";
214930
+ onBehalfOfUserId: string;
214931
+ }, {
214932
+ type: "System";
214933
+ onBehalfOfUserId: string;
214934
+ }>]>;
214935
+ body: z$1.ZodString;
214936
+ isPrompt: z$1.ZodOptional<z$1.ZodBoolean>;
214937
+ startsNewThread: z$1.ZodOptional<z$1.ZodBoolean>;
214938
+ parentMessageId: z$1.ZodOptional<z$1.ZodString>;
214939
+ agentResponseTrackerId: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodString>>;
214940
+ attachments: z$1.ZodOptional<z$1.ZodObject<{
214941
+ iterationId: z$1.ZodOptional<z$1.ZodString>;
214942
+ }, "strip", z$1.ZodTypeAny, {
214943
+ iterationId?: string | undefined;
214944
+ }, {
214945
+ iterationId?: string | undefined;
214946
+ }>>;
214947
+ replyToMessageId: z$1.ZodOptional<z$1.ZodString>;
214948
+ createdAt: z$1.ZodString;
214949
+ updatedAt: z$1.ZodOptional<z$1.ZodString>;
214950
+ }, "id" | "body" | "isPrompt" | "startsNewThread" | "parentMessageId" | "attachments">, "strip", z$1.ZodTypeAny, {
214951
+ id: string;
214952
+ body: string;
214953
+ isPrompt?: boolean | undefined;
214954
+ startsNewThread?: boolean | undefined;
214955
+ parentMessageId?: string | undefined;
214956
+ attachments?: {
214957
+ iterationId?: string | undefined;
214958
+ } | undefined;
214959
+ }, {
214960
+ id: string;
214961
+ body: string;
214962
+ isPrompt?: boolean | undefined;
214963
+ startsNewThread?: boolean | undefined;
214964
+ parentMessageId?: string | undefined;
214965
+ attachments?: {
214966
+ iterationId?: string | undefined;
214967
+ } | undefined;
214968
+ }>;
214969
+ }, "strip", z$1.ZodTypeAny, {
214970
+ id: string;
214971
+ description: string;
214972
+ initialMessage: {
214973
+ id: string;
214974
+ body: string;
214975
+ isPrompt?: boolean | undefined;
214976
+ startsNewThread?: boolean | undefined;
214977
+ parentMessageId?: string | undefined;
214978
+ attachments?: {
214979
+ iterationId?: string | undefined;
214980
+ } | undefined;
214981
+ };
214982
+ name?: string | undefined;
214983
+ sectionId?: string | undefined;
214984
+ afterFeatureId?: string | null | undefined;
214985
+ }, {
214986
+ id: string;
214987
+ description: string;
214988
+ initialMessage: {
214989
+ id: string;
214990
+ body: string;
214991
+ isPrompt?: boolean | undefined;
214992
+ startsNewThread?: boolean | undefined;
214993
+ parentMessageId?: string | undefined;
214994
+ attachments?: {
214995
+ iterationId?: string | undefined;
214996
+ } | undefined;
214997
+ };
214998
+ name?: string | undefined;
214999
+ sectionId?: string | undefined;
215000
+ afterFeatureId?: string | null | undefined;
215001
+ }>>>;
215002
+ initialArtifact: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
215003
+ id: z$1.ZodString;
215004
+ title: z$1.ZodString;
215005
+ sectionId: z$1.ZodOptional<z$1.ZodString>;
215006
+ afterArtifactId: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodString>>;
215007
+ initialMessage: z$1.ZodOptional<z$1.ZodObject<Pick<{
215008
+ id: z$1.ZodString;
215009
+ threadId: z$1.ZodString;
215010
+ sender: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
215011
+ type: z$1.ZodLiteral<"User">;
215012
+ userId: z$1.ZodString;
215013
+ }, "strip", z$1.ZodTypeAny, {
215014
+ type: "User";
215015
+ userId: string;
215016
+ }, {
215017
+ type: "User";
215018
+ userId: string;
215019
+ }>, z$1.ZodObject<{
215020
+ type: z$1.ZodLiteral<"Agent">;
215021
+ agentType: z$1.ZodEnum<["Ask", "Document", "Prototype", "ReleaseNotes"]>;
215022
+ }, "strip", z$1.ZodTypeAny, {
215023
+ type: "Agent";
215024
+ agentType: "Ask" | "Document" | "Prototype" | "ReleaseNotes";
215025
+ }, {
215026
+ type: "Agent";
215027
+ agentType: "Ask" | "Document" | "Prototype" | "ReleaseNotes";
215028
+ }>, z$1.ZodObject<{
215029
+ type: z$1.ZodLiteral<"System">;
215030
+ onBehalfOfUserId: z$1.ZodString;
215031
+ }, "strip", z$1.ZodTypeAny, {
215032
+ type: "System";
215033
+ onBehalfOfUserId: string;
215034
+ }, {
215035
+ type: "System";
215036
+ onBehalfOfUserId: string;
215037
+ }>]>;
215038
+ body: z$1.ZodString;
215039
+ isPrompt: z$1.ZodOptional<z$1.ZodBoolean>;
215040
+ startsNewThread: z$1.ZodOptional<z$1.ZodBoolean>;
215041
+ parentMessageId: z$1.ZodOptional<z$1.ZodString>;
215042
+ agentResponseTrackerId: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodString>>;
215043
+ attachments: z$1.ZodOptional<z$1.ZodObject<{
215044
+ iterationId: z$1.ZodOptional<z$1.ZodString>;
215045
+ files: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<Pick<{
215046
+ id: z$1.ZodString;
215047
+ name: z$1.ZodString;
215048
+ deduplicationKey: z$1.ZodString;
215049
+ pendingUpload: z$1.ZodOptional<z$1.ZodBoolean>;
215050
+ storagePath: z$1.ZodString;
215051
+ url: z$1.ZodString;
215052
+ size: z$1.ZodNumber;
215053
+ source: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
215054
+ type: z$1.ZodLiteral<"UserUpload">;
215055
+ userId: z$1.ZodString;
215056
+ }, "strip", z$1.ZodTypeAny, {
215057
+ type: "UserUpload";
215058
+ userId: string;
215059
+ }, {
215060
+ type: "UserUpload";
215061
+ userId: string;
215062
+ }>, z$1.ZodObject<{
215063
+ type: z$1.ZodLiteral<"Figma">;
215064
+ renderMode: z$1.ZodEnum<["Image", "HTML"]>;
215065
+ }, "strip", z$1.ZodTypeAny, {
215066
+ type: "Figma";
215067
+ renderMode: "Image" | "HTML";
215068
+ }, {
215069
+ type: "Figma";
215070
+ renderMode: "Image" | "HTML";
215071
+ }>]>>;
215072
+ }, "id" | "url" | "source">, "strip", z$1.ZodTypeAny, {
215073
+ id: string;
215074
+ url: string;
215075
+ source?: {
215076
+ type: "UserUpload";
215077
+ userId: string;
215078
+ } | {
215079
+ type: "Figma";
215080
+ renderMode: "Image" | "HTML";
215081
+ } | undefined;
215082
+ }, {
215083
+ id: string;
215084
+ url: string;
215085
+ source?: {
215086
+ type: "UserUpload";
215087
+ userId: string;
215088
+ } | {
215089
+ type: "Figma";
215090
+ renderMode: "Image" | "HTML";
215091
+ } | undefined;
215092
+ }>, "many">>;
215093
+ }, "strip", z$1.ZodTypeAny, {
215094
+ files?: {
215095
+ id: string;
215096
+ url: string;
215097
+ source?: {
215098
+ type: "UserUpload";
215099
+ userId: string;
215100
+ } | {
215101
+ type: "Figma";
215102
+ renderMode: "Image" | "HTML";
215103
+ } | undefined;
215104
+ }[] | undefined;
215105
+ iterationId?: string | undefined;
215106
+ }, {
215107
+ files?: {
215108
+ id: string;
215109
+ url: string;
215110
+ source?: {
215111
+ type: "UserUpload";
215112
+ userId: string;
215113
+ } | {
215114
+ type: "Figma";
215115
+ renderMode: "Image" | "HTML";
215116
+ } | undefined;
215117
+ }[] | undefined;
215118
+ iterationId?: string | undefined;
215119
+ }>>;
215120
+ replyToMessageId: z$1.ZodOptional<z$1.ZodString>;
215121
+ createdAt: z$1.ZodString;
215122
+ updatedAt: z$1.ZodOptional<z$1.ZodString>;
215123
+ }, "id" | "body" | "isPrompt" | "startsNewThread" | "parentMessageId"> & {
215124
+ attachments: z$1.ZodOptional<z$1.ZodObject<{
215125
+ iterationId: z$1.ZodOptional<z$1.ZodString>;
215126
+ fileIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
215127
+ }, "strip", z$1.ZodTypeAny, {
215128
+ fileIds?: string[] | undefined;
215129
+ iterationId?: string | undefined;
215130
+ }, {
215131
+ fileIds?: string[] | undefined;
215132
+ iterationId?: string | undefined;
215133
+ }>>;
215134
+ }, "strip", z$1.ZodTypeAny, {
215135
+ id: string;
215136
+ body: string;
215137
+ isPrompt?: boolean | undefined;
215138
+ startsNewThread?: boolean | undefined;
215139
+ parentMessageId?: string | undefined;
215140
+ attachments?: {
215141
+ fileIds?: string[] | undefined;
215142
+ iterationId?: string | undefined;
215143
+ } | undefined;
215144
+ }, {
215145
+ id: string;
215146
+ body: string;
215147
+ isPrompt?: boolean | undefined;
215148
+ startsNewThread?: boolean | undefined;
215149
+ parentMessageId?: string | undefined;
215150
+ attachments?: {
215151
+ fileIds?: string[] | undefined;
215152
+ iterationId?: string | undefined;
215153
+ } | undefined;
215154
+ }>>;
215155
+ }, "strip", z$1.ZodTypeAny, {
215156
+ id: string;
215157
+ title: string;
215158
+ sectionId?: string | undefined;
215159
+ afterArtifactId?: string | null | undefined;
215160
+ initialMessage?: {
215161
+ id: string;
215162
+ body: string;
215163
+ isPrompt?: boolean | undefined;
215164
+ startsNewThread?: boolean | undefined;
215165
+ parentMessageId?: string | undefined;
215166
+ attachments?: {
215167
+ fileIds?: string[] | undefined;
215168
+ iterationId?: string | undefined;
215169
+ } | undefined;
215170
+ } | undefined;
214537
215171
  }, {
214538
- name: string;
214539
- description?: string | undefined;
214540
- }>>;
214541
- emoji: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
214542
- tags: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString, "many">>>;
214543
- accessMode: z$1.ZodOptional<z$1.ZodEnum<["InviteOnly", "Open", "Unlisted"]>>;
214544
- isArchived: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodBoolean>>;
214545
- fpContextId: z$1.ZodOptional<z$1.ZodString>;
214546
- instruction: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
214547
- defaultRole: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodEnum<["Viewer", "Builder"]>>>;
215172
+ id: string;
215173
+ title: string;
215174
+ sectionId?: string | undefined;
215175
+ afterArtifactId?: string | null | undefined;
215176
+ initialMessage?: {
215177
+ id: string;
215178
+ body: string;
215179
+ isPrompt?: boolean | undefined;
215180
+ startsNewThread?: boolean | undefined;
215181
+ parentMessageId?: string | undefined;
215182
+ attachments?: {
215183
+ fileIds?: string[] | undefined;
215184
+ iterationId?: string | undefined;
215185
+ } | undefined;
215186
+ } | undefined;
215187
+ }>>>;
214548
215188
  } & {
214549
215189
  id: z$1.ZodString;
214550
215190
  }, "strip", z$1.ZodTypeAny, {
@@ -214561,6 +215201,40 @@ declare const DTOForgeProjectUpdate: z$1.ZodObject<{
214561
215201
  fpContextId?: string | undefined;
214562
215202
  instruction?: string | null | undefined;
214563
215203
  defaultRole?: "Viewer" | "Builder" | undefined;
215204
+ initialFeature?: {
215205
+ id: string;
215206
+ description: string;
215207
+ initialMessage: {
215208
+ id: string;
215209
+ body: string;
215210
+ isPrompt?: boolean | undefined;
215211
+ startsNewThread?: boolean | undefined;
215212
+ parentMessageId?: string | undefined;
215213
+ attachments?: {
215214
+ iterationId?: string | undefined;
215215
+ } | undefined;
215216
+ };
215217
+ name?: string | undefined;
215218
+ sectionId?: string | undefined;
215219
+ afterFeatureId?: string | null | undefined;
215220
+ } | undefined;
215221
+ initialArtifact?: {
215222
+ id: string;
215223
+ title: string;
215224
+ sectionId?: string | undefined;
215225
+ afterArtifactId?: string | null | undefined;
215226
+ initialMessage?: {
215227
+ id: string;
215228
+ body: string;
215229
+ isPrompt?: boolean | undefined;
215230
+ startsNewThread?: boolean | undefined;
215231
+ parentMessageId?: string | undefined;
215232
+ attachments?: {
215233
+ fileIds?: string[] | undefined;
215234
+ iterationId?: string | undefined;
215235
+ } | undefined;
215236
+ } | undefined;
215237
+ } | undefined;
214564
215238
  }, {
214565
215239
  id: string;
214566
215240
  name?: string | undefined;
@@ -214575,6 +215249,40 @@ declare const DTOForgeProjectUpdate: z$1.ZodObject<{
214575
215249
  fpContextId?: string | undefined;
214576
215250
  instruction?: string | null | undefined;
214577
215251
  defaultRole?: "Viewer" | "Builder" | undefined;
215252
+ initialFeature?: {
215253
+ id: string;
215254
+ description: string;
215255
+ initialMessage: {
215256
+ id: string;
215257
+ body: string;
215258
+ isPrompt?: boolean | undefined;
215259
+ startsNewThread?: boolean | undefined;
215260
+ parentMessageId?: string | undefined;
215261
+ attachments?: {
215262
+ iterationId?: string | undefined;
215263
+ } | undefined;
215264
+ };
215265
+ name?: string | undefined;
215266
+ sectionId?: string | undefined;
215267
+ afterFeatureId?: string | null | undefined;
215268
+ } | undefined;
215269
+ initialArtifact?: {
215270
+ id: string;
215271
+ title: string;
215272
+ sectionId?: string | undefined;
215273
+ afterArtifactId?: string | null | undefined;
215274
+ initialMessage?: {
215275
+ id: string;
215276
+ body: string;
215277
+ isPrompt?: boolean | undefined;
215278
+ startsNewThread?: boolean | undefined;
215279
+ parentMessageId?: string | undefined;
215280
+ attachments?: {
215281
+ fileIds?: string[] | undefined;
215282
+ iterationId?: string | undefined;
215283
+ } | undefined;
215284
+ } | undefined;
215285
+ } | undefined;
214578
215286
  }>;
214579
215287
  type DTOForgeProjectUpdate = z$1.infer<typeof DTOForgeProjectUpdate>;
214580
215288
  declare const DTOForgeProjectRemoveResponse: z$1.ZodObject<{