@supernova-studio/client 1.69.6 → 1.71.1
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 +40 -2
- package/dist/index.d.ts +40 -2
- package/dist/index.js +58 -56
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -26
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -251590,6 +251590,7 @@ declare const DTOForgeProjectInvitation: z.ZodObject<{
|
|
|
251590
251590
|
forgeProjectId: z.ZodString;
|
|
251591
251591
|
workspaceInvitationId: z.ZodString;
|
|
251592
251592
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251593
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251593
251594
|
createdAt: z.ZodDate;
|
|
251594
251595
|
updatedAt: z.ZodDate;
|
|
251595
251596
|
createdById: z.ZodString;
|
|
@@ -251600,6 +251601,7 @@ declare const DTOForgeProjectInvitation: z.ZodObject<{
|
|
|
251600
251601
|
role: "Builder" | "Admin" | "Viewer";
|
|
251601
251602
|
forgeProjectId: string;
|
|
251602
251603
|
workspaceInvitationId: string;
|
|
251604
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251603
251605
|
createdById: string;
|
|
251604
251606
|
}, {
|
|
251605
251607
|
email: string;
|
|
@@ -251608,6 +251610,7 @@ declare const DTOForgeProjectInvitation: z.ZodObject<{
|
|
|
251608
251610
|
role: "Builder" | "Admin" | "Viewer";
|
|
251609
251611
|
forgeProjectId: string;
|
|
251610
251612
|
workspaceInvitationId: string;
|
|
251613
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251611
251614
|
createdById: string;
|
|
251612
251615
|
}>;
|
|
251613
251616
|
type DTOForgeProjectInvitation = z.infer<typeof DTOForgeProjectInvitation>;
|
|
@@ -251616,6 +251619,7 @@ declare const DTOCreateForgeProjectInvitation: z.ZodObject<Pick<{
|
|
|
251616
251619
|
forgeProjectId: z.ZodString;
|
|
251617
251620
|
workspaceInvitationId: z.ZodString;
|
|
251618
251621
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251622
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251619
251623
|
createdAt: z.ZodDate;
|
|
251620
251624
|
updatedAt: z.ZodDate;
|
|
251621
251625
|
createdById: z.ZodString;
|
|
@@ -251632,6 +251636,7 @@ declare const DTOUpdateForgeProjectInvitation: z.ZodObject<Pick<{
|
|
|
251632
251636
|
forgeProjectId: z.ZodString;
|
|
251633
251637
|
workspaceInvitationId: z.ZodString;
|
|
251634
251638
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251639
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251635
251640
|
createdAt: z.ZodDate;
|
|
251636
251641
|
updatedAt: z.ZodDate;
|
|
251637
251642
|
createdById: z.ZodString;
|
|
@@ -251648,6 +251653,7 @@ declare const DTORemoveForgeProjectInvitation: z.ZodObject<Pick<Pick<{
|
|
|
251648
251653
|
forgeProjectId: z.ZodString;
|
|
251649
251654
|
workspaceInvitationId: z.ZodString;
|
|
251650
251655
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251656
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251651
251657
|
createdAt: z.ZodDate;
|
|
251652
251658
|
updatedAt: z.ZodDate;
|
|
251653
251659
|
createdById: z.ZodString;
|
|
@@ -251663,6 +251669,7 @@ declare const DTOForgeProjectInvitationsListResponse: z.ZodObject<{
|
|
|
251663
251669
|
forgeProjectId: z.ZodString;
|
|
251664
251670
|
workspaceInvitationId: z.ZodString;
|
|
251665
251671
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251672
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251666
251673
|
createdAt: z.ZodDate;
|
|
251667
251674
|
updatedAt: z.ZodDate;
|
|
251668
251675
|
createdById: z.ZodString;
|
|
@@ -251673,6 +251680,7 @@ declare const DTOForgeProjectInvitationsListResponse: z.ZodObject<{
|
|
|
251673
251680
|
role: "Builder" | "Admin" | "Viewer";
|
|
251674
251681
|
forgeProjectId: string;
|
|
251675
251682
|
workspaceInvitationId: string;
|
|
251683
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251676
251684
|
createdById: string;
|
|
251677
251685
|
}, {
|
|
251678
251686
|
email: string;
|
|
@@ -251681,6 +251689,7 @@ declare const DTOForgeProjectInvitationsListResponse: z.ZodObject<{
|
|
|
251681
251689
|
role: "Builder" | "Admin" | "Viewer";
|
|
251682
251690
|
forgeProjectId: string;
|
|
251683
251691
|
workspaceInvitationId: string;
|
|
251692
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251684
251693
|
createdById: string;
|
|
251685
251694
|
}>, "many">;
|
|
251686
251695
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -251691,6 +251700,7 @@ declare const DTOForgeProjectInvitationsListResponse: z.ZodObject<{
|
|
|
251691
251700
|
role: "Builder" | "Admin" | "Viewer";
|
|
251692
251701
|
forgeProjectId: string;
|
|
251693
251702
|
workspaceInvitationId: string;
|
|
251703
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251694
251704
|
createdById: string;
|
|
251695
251705
|
}[];
|
|
251696
251706
|
}, {
|
|
@@ -251701,6 +251711,7 @@ declare const DTOForgeProjectInvitationsListResponse: z.ZodObject<{
|
|
|
251701
251711
|
role: "Builder" | "Admin" | "Viewer";
|
|
251702
251712
|
forgeProjectId: string;
|
|
251703
251713
|
workspaceInvitationId: string;
|
|
251714
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251704
251715
|
createdById: string;
|
|
251705
251716
|
}[];
|
|
251706
251717
|
}>;
|
|
@@ -251711,6 +251722,7 @@ declare const DTOForgeProjectInvitationGetResponse: z.ZodObject<{
|
|
|
251711
251722
|
forgeProjectId: z.ZodString;
|
|
251712
251723
|
workspaceInvitationId: z.ZodString;
|
|
251713
251724
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251725
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251714
251726
|
createdAt: z.ZodDate;
|
|
251715
251727
|
updatedAt: z.ZodDate;
|
|
251716
251728
|
createdById: z.ZodString;
|
|
@@ -251721,6 +251733,7 @@ declare const DTOForgeProjectInvitationGetResponse: z.ZodObject<{
|
|
|
251721
251733
|
role: "Builder" | "Admin" | "Viewer";
|
|
251722
251734
|
forgeProjectId: string;
|
|
251723
251735
|
workspaceInvitationId: string;
|
|
251736
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251724
251737
|
createdById: string;
|
|
251725
251738
|
}, {
|
|
251726
251739
|
email: string;
|
|
@@ -251729,6 +251742,7 @@ declare const DTOForgeProjectInvitationGetResponse: z.ZodObject<{
|
|
|
251729
251742
|
role: "Builder" | "Admin" | "Viewer";
|
|
251730
251743
|
forgeProjectId: string;
|
|
251731
251744
|
workspaceInvitationId: string;
|
|
251745
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251732
251746
|
createdById: string;
|
|
251733
251747
|
}>;
|
|
251734
251748
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -251739,6 +251753,7 @@ declare const DTOForgeProjectInvitationGetResponse: z.ZodObject<{
|
|
|
251739
251753
|
role: "Builder" | "Admin" | "Viewer";
|
|
251740
251754
|
forgeProjectId: string;
|
|
251741
251755
|
workspaceInvitationId: string;
|
|
251756
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251742
251757
|
createdById: string;
|
|
251743
251758
|
};
|
|
251744
251759
|
}, {
|
|
@@ -251749,6 +251764,7 @@ declare const DTOForgeProjectInvitationGetResponse: z.ZodObject<{
|
|
|
251749
251764
|
role: "Builder" | "Admin" | "Viewer";
|
|
251750
251765
|
forgeProjectId: string;
|
|
251751
251766
|
workspaceInvitationId: string;
|
|
251767
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251752
251768
|
createdById: string;
|
|
251753
251769
|
};
|
|
251754
251770
|
}>;
|
|
@@ -251759,6 +251775,7 @@ declare const DTOForgeProjectInvitationCreateResponse: z.ZodObject<{
|
|
|
251759
251775
|
forgeProjectId: z.ZodString;
|
|
251760
251776
|
workspaceInvitationId: z.ZodString;
|
|
251761
251777
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251778
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251762
251779
|
createdAt: z.ZodDate;
|
|
251763
251780
|
updatedAt: z.ZodDate;
|
|
251764
251781
|
createdById: z.ZodString;
|
|
@@ -251769,6 +251786,7 @@ declare const DTOForgeProjectInvitationCreateResponse: z.ZodObject<{
|
|
|
251769
251786
|
role: "Builder" | "Admin" | "Viewer";
|
|
251770
251787
|
forgeProjectId: string;
|
|
251771
251788
|
workspaceInvitationId: string;
|
|
251789
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251772
251790
|
createdById: string;
|
|
251773
251791
|
}, {
|
|
251774
251792
|
email: string;
|
|
@@ -251777,6 +251795,7 @@ declare const DTOForgeProjectInvitationCreateResponse: z.ZodObject<{
|
|
|
251777
251795
|
role: "Builder" | "Admin" | "Viewer";
|
|
251778
251796
|
forgeProjectId: string;
|
|
251779
251797
|
workspaceInvitationId: string;
|
|
251798
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251780
251799
|
createdById: string;
|
|
251781
251800
|
}>;
|
|
251782
251801
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -251787,6 +251806,7 @@ declare const DTOForgeProjectInvitationCreateResponse: z.ZodObject<{
|
|
|
251787
251806
|
role: "Builder" | "Admin" | "Viewer";
|
|
251788
251807
|
forgeProjectId: string;
|
|
251789
251808
|
workspaceInvitationId: string;
|
|
251809
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251790
251810
|
createdById: string;
|
|
251791
251811
|
};
|
|
251792
251812
|
}, {
|
|
@@ -251797,6 +251817,7 @@ declare const DTOForgeProjectInvitationCreateResponse: z.ZodObject<{
|
|
|
251797
251817
|
role: "Builder" | "Admin" | "Viewer";
|
|
251798
251818
|
forgeProjectId: string;
|
|
251799
251819
|
workspaceInvitationId: string;
|
|
251820
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251800
251821
|
createdById: string;
|
|
251801
251822
|
};
|
|
251802
251823
|
}>;
|
|
@@ -251807,6 +251828,7 @@ declare const DTOForgeProjectInvitationUpdateResponse: z.ZodObject<{
|
|
|
251807
251828
|
forgeProjectId: z.ZodString;
|
|
251808
251829
|
workspaceInvitationId: z.ZodString;
|
|
251809
251830
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251831
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251810
251832
|
createdAt: z.ZodDate;
|
|
251811
251833
|
updatedAt: z.ZodDate;
|
|
251812
251834
|
createdById: z.ZodString;
|
|
@@ -251817,6 +251839,7 @@ declare const DTOForgeProjectInvitationUpdateResponse: z.ZodObject<{
|
|
|
251817
251839
|
role: "Builder" | "Admin" | "Viewer";
|
|
251818
251840
|
forgeProjectId: string;
|
|
251819
251841
|
workspaceInvitationId: string;
|
|
251842
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251820
251843
|
createdById: string;
|
|
251821
251844
|
}, {
|
|
251822
251845
|
email: string;
|
|
@@ -251825,6 +251848,7 @@ declare const DTOForgeProjectInvitationUpdateResponse: z.ZodObject<{
|
|
|
251825
251848
|
role: "Builder" | "Admin" | "Viewer";
|
|
251826
251849
|
forgeProjectId: string;
|
|
251827
251850
|
workspaceInvitationId: string;
|
|
251851
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251828
251852
|
createdById: string;
|
|
251829
251853
|
}>>;
|
|
251830
251854
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -251835,6 +251859,7 @@ declare const DTOForgeProjectInvitationUpdateResponse: z.ZodObject<{
|
|
|
251835
251859
|
role: "Builder" | "Admin" | "Viewer";
|
|
251836
251860
|
forgeProjectId: string;
|
|
251837
251861
|
workspaceInvitationId: string;
|
|
251862
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251838
251863
|
createdById: string;
|
|
251839
251864
|
} | null;
|
|
251840
251865
|
}, {
|
|
@@ -251845,6 +251870,7 @@ declare const DTOForgeProjectInvitationUpdateResponse: z.ZodObject<{
|
|
|
251845
251870
|
role: "Builder" | "Admin" | "Viewer";
|
|
251846
251871
|
forgeProjectId: string;
|
|
251847
251872
|
workspaceInvitationId: string;
|
|
251873
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251848
251874
|
createdById: string;
|
|
251849
251875
|
} | null;
|
|
251850
251876
|
}>;
|
|
@@ -266894,6 +266920,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
|
|
|
266894
266920
|
forgeProjectId: z.ZodString;
|
|
266895
266921
|
workspaceInvitationId: z.ZodString;
|
|
266896
266922
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
266923
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
266897
266924
|
createdAt: z.ZodDate;
|
|
266898
266925
|
updatedAt: z.ZodDate;
|
|
266899
266926
|
createdById: z.ZodString;
|
|
@@ -266904,6 +266931,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
|
|
|
266904
266931
|
role: "Builder" | "Admin" | "Viewer";
|
|
266905
266932
|
forgeProjectId: string;
|
|
266906
266933
|
workspaceInvitationId: string;
|
|
266934
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
266907
266935
|
createdById: string;
|
|
266908
266936
|
}, {
|
|
266909
266937
|
email: string;
|
|
@@ -266912,6 +266940,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
|
|
|
266912
266940
|
role: "Builder" | "Admin" | "Viewer";
|
|
266913
266941
|
forgeProjectId: string;
|
|
266914
266942
|
workspaceInvitationId: string;
|
|
266943
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
266915
266944
|
createdById: string;
|
|
266916
266945
|
}>, "many">;
|
|
266917
266946
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -266940,6 +266969,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
|
|
|
266940
266969
|
role: "Builder" | "Admin" | "Viewer";
|
|
266941
266970
|
forgeProjectId: string;
|
|
266942
266971
|
workspaceInvitationId: string;
|
|
266972
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
266943
266973
|
createdById: string;
|
|
266944
266974
|
}[];
|
|
266945
266975
|
}, {
|
|
@@ -266968,6 +266998,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
|
|
|
266968
266998
|
role: "Builder" | "Admin" | "Viewer";
|
|
266969
266999
|
forgeProjectId: string;
|
|
266970
267000
|
workspaceInvitationId: string;
|
|
267001
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
266971
267002
|
createdById: string;
|
|
266972
267003
|
}[];
|
|
266973
267004
|
}>;
|
|
@@ -267340,6 +267371,7 @@ declare const DTOAddMembersToForgeProject: z.ZodObject<{
|
|
|
267340
267371
|
forgeProjectId: z.ZodString;
|
|
267341
267372
|
workspaceInvitationId: z.ZodString;
|
|
267342
267373
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
267374
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
267343
267375
|
createdAt: z.ZodDate;
|
|
267344
267376
|
updatedAt: z.ZodDate;
|
|
267345
267377
|
createdById: z.ZodString;
|
|
@@ -287616,6 +287648,7 @@ declare const DTOForgeProjectCreate: z.ZodObject<Pick<{
|
|
|
287616
287648
|
forgeProjectId: z.ZodString;
|
|
287617
287649
|
workspaceInvitationId: z.ZodString;
|
|
287618
287650
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
287651
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
287619
287652
|
createdAt: z.ZodDate;
|
|
287620
287653
|
updatedAt: z.ZodDate;
|
|
287621
287654
|
createdById: z.ZodString;
|
|
@@ -352970,10 +353003,10 @@ declare class RequestExecutorError extends Error {
|
|
|
352970
353003
|
readonly type: RequestExecutorErrorType;
|
|
352971
353004
|
readonly errorCode: RequestEexecutorServerErrorCode | undefined;
|
|
352972
353005
|
readonly serverErrorType: SupernovaExceptionType | undefined;
|
|
352973
|
-
static
|
|
352974
|
-
static tryParseServerErrorType(body: string): any;
|
|
353006
|
+
static tryParseJSON(body: string): any;
|
|
352975
353007
|
static serverError(endpoint: string, status: number, bodyText: string): RequestExecutorError;
|
|
352976
353008
|
static responseParsingError(endpoint: string, cause: Error): RequestExecutorError;
|
|
353009
|
+
getDisplayMessage(): string;
|
|
352977
353010
|
private constructor();
|
|
352978
353011
|
}
|
|
352979
353012
|
|
|
@@ -367113,6 +367146,7 @@ declare class ForgeProjectInvitationsEndpoint {
|
|
|
367113
367146
|
role: "Builder" | "Admin" | "Viewer";
|
|
367114
367147
|
forgeProjectId: string;
|
|
367115
367148
|
workspaceInvitationId: string;
|
|
367149
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
367116
367150
|
createdById: string;
|
|
367117
367151
|
}[];
|
|
367118
367152
|
}>;
|
|
@@ -367142,6 +367176,7 @@ declare class ForgeProjectInvitationsEndpoint {
|
|
|
367142
367176
|
role: "Builder" | "Admin" | "Viewer";
|
|
367143
367177
|
forgeProjectId: string;
|
|
367144
367178
|
workspaceInvitationId: string;
|
|
367179
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
367145
367180
|
createdById: string;
|
|
367146
367181
|
}[];
|
|
367147
367182
|
}>;
|
|
@@ -367153,6 +367188,7 @@ declare class ForgeProjectInvitationsEndpoint {
|
|
|
367153
367188
|
role: "Builder" | "Admin" | "Viewer";
|
|
367154
367189
|
forgeProjectId: string;
|
|
367155
367190
|
workspaceInvitationId: string;
|
|
367191
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
367156
367192
|
createdById: string;
|
|
367157
367193
|
};
|
|
367158
367194
|
}>;
|
|
@@ -367190,6 +367226,7 @@ declare class ForgeProjectMembersEndpoint {
|
|
|
367190
367226
|
role: "Builder" | "Admin" | "Viewer";
|
|
367191
367227
|
forgeProjectId: string;
|
|
367192
367228
|
workspaceInvitationId: string;
|
|
367229
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
367193
367230
|
createdById: string;
|
|
367194
367231
|
}[];
|
|
367195
367232
|
}>;
|
|
@@ -367219,6 +367256,7 @@ declare class ForgeProjectMembersEndpoint {
|
|
|
367219
367256
|
role: "Builder" | "Admin" | "Viewer";
|
|
367220
367257
|
forgeProjectId: string;
|
|
367221
367258
|
workspaceInvitationId: string;
|
|
367259
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
367222
367260
|
createdById: string;
|
|
367223
367261
|
}[];
|
|
367224
367262
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -251590,6 +251590,7 @@ declare const DTOForgeProjectInvitation: z.ZodObject<{
|
|
|
251590
251590
|
forgeProjectId: z.ZodString;
|
|
251591
251591
|
workspaceInvitationId: z.ZodString;
|
|
251592
251592
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251593
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251593
251594
|
createdAt: z.ZodDate;
|
|
251594
251595
|
updatedAt: z.ZodDate;
|
|
251595
251596
|
createdById: z.ZodString;
|
|
@@ -251600,6 +251601,7 @@ declare const DTOForgeProjectInvitation: z.ZodObject<{
|
|
|
251600
251601
|
role: "Builder" | "Admin" | "Viewer";
|
|
251601
251602
|
forgeProjectId: string;
|
|
251602
251603
|
workspaceInvitationId: string;
|
|
251604
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251603
251605
|
createdById: string;
|
|
251604
251606
|
}, {
|
|
251605
251607
|
email: string;
|
|
@@ -251608,6 +251610,7 @@ declare const DTOForgeProjectInvitation: z.ZodObject<{
|
|
|
251608
251610
|
role: "Builder" | "Admin" | "Viewer";
|
|
251609
251611
|
forgeProjectId: string;
|
|
251610
251612
|
workspaceInvitationId: string;
|
|
251613
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251611
251614
|
createdById: string;
|
|
251612
251615
|
}>;
|
|
251613
251616
|
type DTOForgeProjectInvitation = z.infer<typeof DTOForgeProjectInvitation>;
|
|
@@ -251616,6 +251619,7 @@ declare const DTOCreateForgeProjectInvitation: z.ZodObject<Pick<{
|
|
|
251616
251619
|
forgeProjectId: z.ZodString;
|
|
251617
251620
|
workspaceInvitationId: z.ZodString;
|
|
251618
251621
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251622
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251619
251623
|
createdAt: z.ZodDate;
|
|
251620
251624
|
updatedAt: z.ZodDate;
|
|
251621
251625
|
createdById: z.ZodString;
|
|
@@ -251632,6 +251636,7 @@ declare const DTOUpdateForgeProjectInvitation: z.ZodObject<Pick<{
|
|
|
251632
251636
|
forgeProjectId: z.ZodString;
|
|
251633
251637
|
workspaceInvitationId: z.ZodString;
|
|
251634
251638
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251639
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251635
251640
|
createdAt: z.ZodDate;
|
|
251636
251641
|
updatedAt: z.ZodDate;
|
|
251637
251642
|
createdById: z.ZodString;
|
|
@@ -251648,6 +251653,7 @@ declare const DTORemoveForgeProjectInvitation: z.ZodObject<Pick<Pick<{
|
|
|
251648
251653
|
forgeProjectId: z.ZodString;
|
|
251649
251654
|
workspaceInvitationId: z.ZodString;
|
|
251650
251655
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251656
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251651
251657
|
createdAt: z.ZodDate;
|
|
251652
251658
|
updatedAt: z.ZodDate;
|
|
251653
251659
|
createdById: z.ZodString;
|
|
@@ -251663,6 +251669,7 @@ declare const DTOForgeProjectInvitationsListResponse: z.ZodObject<{
|
|
|
251663
251669
|
forgeProjectId: z.ZodString;
|
|
251664
251670
|
workspaceInvitationId: z.ZodString;
|
|
251665
251671
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251672
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251666
251673
|
createdAt: z.ZodDate;
|
|
251667
251674
|
updatedAt: z.ZodDate;
|
|
251668
251675
|
createdById: z.ZodString;
|
|
@@ -251673,6 +251680,7 @@ declare const DTOForgeProjectInvitationsListResponse: z.ZodObject<{
|
|
|
251673
251680
|
role: "Builder" | "Admin" | "Viewer";
|
|
251674
251681
|
forgeProjectId: string;
|
|
251675
251682
|
workspaceInvitationId: string;
|
|
251683
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251676
251684
|
createdById: string;
|
|
251677
251685
|
}, {
|
|
251678
251686
|
email: string;
|
|
@@ -251681,6 +251689,7 @@ declare const DTOForgeProjectInvitationsListResponse: z.ZodObject<{
|
|
|
251681
251689
|
role: "Builder" | "Admin" | "Viewer";
|
|
251682
251690
|
forgeProjectId: string;
|
|
251683
251691
|
workspaceInvitationId: string;
|
|
251692
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251684
251693
|
createdById: string;
|
|
251685
251694
|
}>, "many">;
|
|
251686
251695
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -251691,6 +251700,7 @@ declare const DTOForgeProjectInvitationsListResponse: z.ZodObject<{
|
|
|
251691
251700
|
role: "Builder" | "Admin" | "Viewer";
|
|
251692
251701
|
forgeProjectId: string;
|
|
251693
251702
|
workspaceInvitationId: string;
|
|
251703
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251694
251704
|
createdById: string;
|
|
251695
251705
|
}[];
|
|
251696
251706
|
}, {
|
|
@@ -251701,6 +251711,7 @@ declare const DTOForgeProjectInvitationsListResponse: z.ZodObject<{
|
|
|
251701
251711
|
role: "Builder" | "Admin" | "Viewer";
|
|
251702
251712
|
forgeProjectId: string;
|
|
251703
251713
|
workspaceInvitationId: string;
|
|
251714
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251704
251715
|
createdById: string;
|
|
251705
251716
|
}[];
|
|
251706
251717
|
}>;
|
|
@@ -251711,6 +251722,7 @@ declare const DTOForgeProjectInvitationGetResponse: z.ZodObject<{
|
|
|
251711
251722
|
forgeProjectId: z.ZodString;
|
|
251712
251723
|
workspaceInvitationId: z.ZodString;
|
|
251713
251724
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251725
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251714
251726
|
createdAt: z.ZodDate;
|
|
251715
251727
|
updatedAt: z.ZodDate;
|
|
251716
251728
|
createdById: z.ZodString;
|
|
@@ -251721,6 +251733,7 @@ declare const DTOForgeProjectInvitationGetResponse: z.ZodObject<{
|
|
|
251721
251733
|
role: "Builder" | "Admin" | "Viewer";
|
|
251722
251734
|
forgeProjectId: string;
|
|
251723
251735
|
workspaceInvitationId: string;
|
|
251736
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251724
251737
|
createdById: string;
|
|
251725
251738
|
}, {
|
|
251726
251739
|
email: string;
|
|
@@ -251729,6 +251742,7 @@ declare const DTOForgeProjectInvitationGetResponse: z.ZodObject<{
|
|
|
251729
251742
|
role: "Builder" | "Admin" | "Viewer";
|
|
251730
251743
|
forgeProjectId: string;
|
|
251731
251744
|
workspaceInvitationId: string;
|
|
251745
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251732
251746
|
createdById: string;
|
|
251733
251747
|
}>;
|
|
251734
251748
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -251739,6 +251753,7 @@ declare const DTOForgeProjectInvitationGetResponse: z.ZodObject<{
|
|
|
251739
251753
|
role: "Builder" | "Admin" | "Viewer";
|
|
251740
251754
|
forgeProjectId: string;
|
|
251741
251755
|
workspaceInvitationId: string;
|
|
251756
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251742
251757
|
createdById: string;
|
|
251743
251758
|
};
|
|
251744
251759
|
}, {
|
|
@@ -251749,6 +251764,7 @@ declare const DTOForgeProjectInvitationGetResponse: z.ZodObject<{
|
|
|
251749
251764
|
role: "Builder" | "Admin" | "Viewer";
|
|
251750
251765
|
forgeProjectId: string;
|
|
251751
251766
|
workspaceInvitationId: string;
|
|
251767
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251752
251768
|
createdById: string;
|
|
251753
251769
|
};
|
|
251754
251770
|
}>;
|
|
@@ -251759,6 +251775,7 @@ declare const DTOForgeProjectInvitationCreateResponse: z.ZodObject<{
|
|
|
251759
251775
|
forgeProjectId: z.ZodString;
|
|
251760
251776
|
workspaceInvitationId: z.ZodString;
|
|
251761
251777
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251778
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251762
251779
|
createdAt: z.ZodDate;
|
|
251763
251780
|
updatedAt: z.ZodDate;
|
|
251764
251781
|
createdById: z.ZodString;
|
|
@@ -251769,6 +251786,7 @@ declare const DTOForgeProjectInvitationCreateResponse: z.ZodObject<{
|
|
|
251769
251786
|
role: "Builder" | "Admin" | "Viewer";
|
|
251770
251787
|
forgeProjectId: string;
|
|
251771
251788
|
workspaceInvitationId: string;
|
|
251789
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251772
251790
|
createdById: string;
|
|
251773
251791
|
}, {
|
|
251774
251792
|
email: string;
|
|
@@ -251777,6 +251795,7 @@ declare const DTOForgeProjectInvitationCreateResponse: z.ZodObject<{
|
|
|
251777
251795
|
role: "Builder" | "Admin" | "Viewer";
|
|
251778
251796
|
forgeProjectId: string;
|
|
251779
251797
|
workspaceInvitationId: string;
|
|
251798
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251780
251799
|
createdById: string;
|
|
251781
251800
|
}>;
|
|
251782
251801
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -251787,6 +251806,7 @@ declare const DTOForgeProjectInvitationCreateResponse: z.ZodObject<{
|
|
|
251787
251806
|
role: "Builder" | "Admin" | "Viewer";
|
|
251788
251807
|
forgeProjectId: string;
|
|
251789
251808
|
workspaceInvitationId: string;
|
|
251809
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251790
251810
|
createdById: string;
|
|
251791
251811
|
};
|
|
251792
251812
|
}, {
|
|
@@ -251797,6 +251817,7 @@ declare const DTOForgeProjectInvitationCreateResponse: z.ZodObject<{
|
|
|
251797
251817
|
role: "Builder" | "Admin" | "Viewer";
|
|
251798
251818
|
forgeProjectId: string;
|
|
251799
251819
|
workspaceInvitationId: string;
|
|
251820
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251800
251821
|
createdById: string;
|
|
251801
251822
|
};
|
|
251802
251823
|
}>;
|
|
@@ -251807,6 +251828,7 @@ declare const DTOForgeProjectInvitationUpdateResponse: z.ZodObject<{
|
|
|
251807
251828
|
forgeProjectId: z.ZodString;
|
|
251808
251829
|
workspaceInvitationId: z.ZodString;
|
|
251809
251830
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251831
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
251810
251832
|
createdAt: z.ZodDate;
|
|
251811
251833
|
updatedAt: z.ZodDate;
|
|
251812
251834
|
createdById: z.ZodString;
|
|
@@ -251817,6 +251839,7 @@ declare const DTOForgeProjectInvitationUpdateResponse: z.ZodObject<{
|
|
|
251817
251839
|
role: "Builder" | "Admin" | "Viewer";
|
|
251818
251840
|
forgeProjectId: string;
|
|
251819
251841
|
workspaceInvitationId: string;
|
|
251842
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251820
251843
|
createdById: string;
|
|
251821
251844
|
}, {
|
|
251822
251845
|
email: string;
|
|
@@ -251825,6 +251848,7 @@ declare const DTOForgeProjectInvitationUpdateResponse: z.ZodObject<{
|
|
|
251825
251848
|
role: "Builder" | "Admin" | "Viewer";
|
|
251826
251849
|
forgeProjectId: string;
|
|
251827
251850
|
workspaceInvitationId: string;
|
|
251851
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251828
251852
|
createdById: string;
|
|
251829
251853
|
}>>;
|
|
251830
251854
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -251835,6 +251859,7 @@ declare const DTOForgeProjectInvitationUpdateResponse: z.ZodObject<{
|
|
|
251835
251859
|
role: "Builder" | "Admin" | "Viewer";
|
|
251836
251860
|
forgeProjectId: string;
|
|
251837
251861
|
workspaceInvitationId: string;
|
|
251862
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251838
251863
|
createdById: string;
|
|
251839
251864
|
} | null;
|
|
251840
251865
|
}, {
|
|
@@ -251845,6 +251870,7 @@ declare const DTOForgeProjectInvitationUpdateResponse: z.ZodObject<{
|
|
|
251845
251870
|
role: "Builder" | "Admin" | "Viewer";
|
|
251846
251871
|
forgeProjectId: string;
|
|
251847
251872
|
workspaceInvitationId: string;
|
|
251873
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
251848
251874
|
createdById: string;
|
|
251849
251875
|
} | null;
|
|
251850
251876
|
}>;
|
|
@@ -266894,6 +266920,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
|
|
|
266894
266920
|
forgeProjectId: z.ZodString;
|
|
266895
266921
|
workspaceInvitationId: z.ZodString;
|
|
266896
266922
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
266923
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
266897
266924
|
createdAt: z.ZodDate;
|
|
266898
266925
|
updatedAt: z.ZodDate;
|
|
266899
266926
|
createdById: z.ZodString;
|
|
@@ -266904,6 +266931,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
|
|
|
266904
266931
|
role: "Builder" | "Admin" | "Viewer";
|
|
266905
266932
|
forgeProjectId: string;
|
|
266906
266933
|
workspaceInvitationId: string;
|
|
266934
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
266907
266935
|
createdById: string;
|
|
266908
266936
|
}, {
|
|
266909
266937
|
email: string;
|
|
@@ -266912,6 +266940,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
|
|
|
266912
266940
|
role: "Builder" | "Admin" | "Viewer";
|
|
266913
266941
|
forgeProjectId: string;
|
|
266914
266942
|
workspaceInvitationId: string;
|
|
266943
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
266915
266944
|
createdById: string;
|
|
266916
266945
|
}>, "many">;
|
|
266917
266946
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -266940,6 +266969,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
|
|
|
266940
266969
|
role: "Builder" | "Admin" | "Viewer";
|
|
266941
266970
|
forgeProjectId: string;
|
|
266942
266971
|
workspaceInvitationId: string;
|
|
266972
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
266943
266973
|
createdById: string;
|
|
266944
266974
|
}[];
|
|
266945
266975
|
}, {
|
|
@@ -266968,6 +266998,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
|
|
|
266968
266998
|
role: "Builder" | "Admin" | "Viewer";
|
|
266969
266999
|
forgeProjectId: string;
|
|
266970
267000
|
workspaceInvitationId: string;
|
|
267001
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
266971
267002
|
createdById: string;
|
|
266972
267003
|
}[];
|
|
266973
267004
|
}>;
|
|
@@ -267340,6 +267371,7 @@ declare const DTOAddMembersToForgeProject: z.ZodObject<{
|
|
|
267340
267371
|
forgeProjectId: z.ZodString;
|
|
267341
267372
|
workspaceInvitationId: z.ZodString;
|
|
267342
267373
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
267374
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
267343
267375
|
createdAt: z.ZodDate;
|
|
267344
267376
|
updatedAt: z.ZodDate;
|
|
267345
267377
|
createdById: z.ZodString;
|
|
@@ -287616,6 +287648,7 @@ declare const DTOForgeProjectCreate: z.ZodObject<Pick<{
|
|
|
287616
287648
|
forgeProjectId: z.ZodString;
|
|
287617
287649
|
workspaceInvitationId: z.ZodString;
|
|
287618
287650
|
role: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
287651
|
+
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
287619
287652
|
createdAt: z.ZodDate;
|
|
287620
287653
|
updatedAt: z.ZodDate;
|
|
287621
287654
|
createdById: z.ZodString;
|
|
@@ -352970,10 +353003,10 @@ declare class RequestExecutorError extends Error {
|
|
|
352970
353003
|
readonly type: RequestExecutorErrorType;
|
|
352971
353004
|
readonly errorCode: RequestEexecutorServerErrorCode | undefined;
|
|
352972
353005
|
readonly serverErrorType: SupernovaExceptionType | undefined;
|
|
352973
|
-
static
|
|
352974
|
-
static tryParseServerErrorType(body: string): any;
|
|
353006
|
+
static tryParseJSON(body: string): any;
|
|
352975
353007
|
static serverError(endpoint: string, status: number, bodyText: string): RequestExecutorError;
|
|
352976
353008
|
static responseParsingError(endpoint: string, cause: Error): RequestExecutorError;
|
|
353009
|
+
getDisplayMessage(): string;
|
|
352977
353010
|
private constructor();
|
|
352978
353011
|
}
|
|
352979
353012
|
|
|
@@ -367113,6 +367146,7 @@ declare class ForgeProjectInvitationsEndpoint {
|
|
|
367113
367146
|
role: "Builder" | "Admin" | "Viewer";
|
|
367114
367147
|
forgeProjectId: string;
|
|
367115
367148
|
workspaceInvitationId: string;
|
|
367149
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
367116
367150
|
createdById: string;
|
|
367117
367151
|
}[];
|
|
367118
367152
|
}>;
|
|
@@ -367142,6 +367176,7 @@ declare class ForgeProjectInvitationsEndpoint {
|
|
|
367142
367176
|
role: "Builder" | "Admin" | "Viewer";
|
|
367143
367177
|
forgeProjectId: string;
|
|
367144
367178
|
workspaceInvitationId: string;
|
|
367179
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
367145
367180
|
createdById: string;
|
|
367146
367181
|
}[];
|
|
367147
367182
|
}>;
|
|
@@ -367153,6 +367188,7 @@ declare class ForgeProjectInvitationsEndpoint {
|
|
|
367153
367188
|
role: "Builder" | "Admin" | "Viewer";
|
|
367154
367189
|
forgeProjectId: string;
|
|
367155
367190
|
workspaceInvitationId: string;
|
|
367191
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
367156
367192
|
createdById: string;
|
|
367157
367193
|
};
|
|
367158
367194
|
}>;
|
|
@@ -367190,6 +367226,7 @@ declare class ForgeProjectMembersEndpoint {
|
|
|
367190
367226
|
role: "Builder" | "Admin" | "Viewer";
|
|
367191
367227
|
forgeProjectId: string;
|
|
367192
367228
|
workspaceInvitationId: string;
|
|
367229
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
367193
367230
|
createdById: string;
|
|
367194
367231
|
}[];
|
|
367195
367232
|
}>;
|
|
@@ -367219,6 +367256,7 @@ declare class ForgeProjectMembersEndpoint {
|
|
|
367219
367256
|
role: "Builder" | "Admin" | "Viewer";
|
|
367220
367257
|
forgeProjectId: string;
|
|
367221
367258
|
workspaceInvitationId: string;
|
|
367259
|
+
effectiveRole: "Builder" | "Admin" | "Viewer";
|
|
367222
367260
|
createdById: string;
|
|
367223
367261
|
}[];
|
|
367224
367262
|
}>;
|