@supernova-studio/client 0.54.26 → 0.54.28

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
@@ -1,4 +1,4 @@
1
- import { DocumentationGroupV1, DocumentationPageV1, DocumentationPageV2, DocumentationPageApproval, PageBlockDefinitionLayout as PageBlockDefinitionLayout$1, PageBlockV1, ElementGroup, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SsoProvider, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemRichTextEditorValue, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType, DocumentationPageSnapshot, ElementGroupSnapshot } from '@supernova-studio/model';
1
+ import { DocumentationGroupV1, DocumentationPageV1, DocumentationPageV2, DocumentationPageApproval, PageBlockDefinitionLayout as PageBlockDefinitionLayout$1, PageBlockV1, ElementGroup, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SsoProvider, UpdateMembershipRolesInput, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemRichTextEditorValue, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType, DocumentationPageSnapshot, ElementGroupSnapshot } from '@supernova-studio/model';
2
2
  import * as zod from 'zod';
3
3
  import { z, ZodSchema, ZodTypeDef } from 'zod';
4
4
  import { RequestInit } from 'node-fetch';
@@ -7298,7 +7298,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
7298
7298
  role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
7299
7299
  }>;
7300
7300
  type DTODesignSystem = z.infer<typeof DTODesignSystem>;
7301
- declare const DTODesignSystemCreateResponse: z.ZodObject<{
7301
+ declare const DTODesignSystemResponse: z.ZodObject<{
7302
7302
  designSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
7303
7303
  id: z.ZodString;
7304
7304
  workspaceId: z.ZodString;
@@ -7459,7 +7459,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
7459
7459
  role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
7460
7460
  };
7461
7461
  }>;
7462
- type DTODesignSystemCreateResponse = z.infer<typeof DTODesignSystemCreateResponse>;
7462
+ type DTODesignSystemResponse = z.infer<typeof DTODesignSystemResponse>;
7463
7463
  declare const DTODesignSystemsListResponse: z.ZodObject<{
7464
7464
  designSystems: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<{
7465
7465
  id: z.ZodString;
@@ -9327,7 +9327,7 @@ declare const DTOPageBlockDefinition: z.ZodObject<{
9327
9327
  id: string;
9328
9328
  name: string;
9329
9329
  description: string;
9330
- category: "Figma" | "Text" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
9330
+ category: "Figma" | "Text" | "Other" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data";
9331
9331
  item: {
9332
9332
  properties: {
9333
9333
  id: string;
@@ -9400,7 +9400,7 @@ declare const DTOPageBlockDefinition: z.ZodObject<{
9400
9400
  id: string;
9401
9401
  name: string;
9402
9402
  description: string;
9403
- category: "Figma" | "Text" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
9403
+ category: "Figma" | "Text" | "Other" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data";
9404
9404
  item: {
9405
9405
  properties: {
9406
9406
  id: string;
@@ -35748,6 +35748,453 @@ declare const DTOLiveblocksAuthResponse: z.ZodObject<{
35748
35748
  }>;
35749
35749
  type DTOLiveblocksAuthResponse = z.infer<typeof DTOLiveblocksAuthResponse>;
35750
35750
 
35751
+ declare const DTOUserOnboardingDepartment: z.ZodEnum<["Design", "Engineering", "Brand", "Other"]>;
35752
+ type DTOUserOnboardingDepartment = z.infer<typeof DTOUserOnboardingDepartment>;
35753
+ declare const DTOUserOnboardingJobLevel: z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>;
35754
+ type DTOUserOnboardingJobLevel = z.infer<typeof DTOUserOnboardingJobLevel>;
35755
+ declare const DTOUserSource: z.ZodEnum<["SignUp", "Invite", "SSO"]>;
35756
+ type DTOUserSource = z.infer<typeof DTOUserSource>;
35757
+ declare const DTOUserOnboarding: z.ZodObject<{
35758
+ companyName: z.ZodOptional<z.ZodString>;
35759
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
35760
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
35761
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Brand", "Other"]>>;
35762
+ jobTitle: z.ZodOptional<z.ZodString>;
35763
+ phase: z.ZodOptional<z.ZodString>;
35764
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
35765
+ designSystemName: z.ZodOptional<z.ZodString>;
35766
+ defaultDestination: z.ZodOptional<z.ZodString>;
35767
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
35768
+ }, "strip", z.ZodTypeAny, {
35769
+ companyName?: string | undefined;
35770
+ numberOfPeopleInOrg?: string | undefined;
35771
+ numberOfPeopleInDesignTeam?: string | undefined;
35772
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35773
+ jobTitle?: string | undefined;
35774
+ phase?: string | undefined;
35775
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35776
+ designSystemName?: string | undefined;
35777
+ defaultDestination?: string | undefined;
35778
+ isPageDraftOnboardingFinished?: boolean | undefined;
35779
+ }, {
35780
+ companyName?: string | undefined;
35781
+ numberOfPeopleInOrg?: string | undefined;
35782
+ numberOfPeopleInDesignTeam?: string | undefined;
35783
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35784
+ jobTitle?: string | undefined;
35785
+ phase?: string | undefined;
35786
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35787
+ designSystemName?: string | undefined;
35788
+ defaultDestination?: string | undefined;
35789
+ isPageDraftOnboardingFinished?: boolean | undefined;
35790
+ }>;
35791
+ type DTOUserOnboarding = z.infer<typeof DTOUserOnboarding>;
35792
+ declare const DTOAuthenticatedUserProfile: z.ZodObject<z.objectUtil.extendShape<{
35793
+ name: z.ZodString;
35794
+ nickname: z.ZodOptional<z.ZodString>;
35795
+ avatar: z.ZodOptional<z.ZodString>;
35796
+ }, {
35797
+ onboarding: z.ZodOptional<z.ZodObject<{
35798
+ companyName: z.ZodOptional<z.ZodString>;
35799
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
35800
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
35801
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Brand", "Other"]>>;
35802
+ jobTitle: z.ZodOptional<z.ZodString>;
35803
+ phase: z.ZodOptional<z.ZodString>;
35804
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
35805
+ designSystemName: z.ZodOptional<z.ZodString>;
35806
+ defaultDestination: z.ZodOptional<z.ZodString>;
35807
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
35808
+ }, "strip", z.ZodTypeAny, {
35809
+ companyName?: string | undefined;
35810
+ numberOfPeopleInOrg?: string | undefined;
35811
+ numberOfPeopleInDesignTeam?: string | undefined;
35812
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35813
+ jobTitle?: string | undefined;
35814
+ phase?: string | undefined;
35815
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35816
+ designSystemName?: string | undefined;
35817
+ defaultDestination?: string | undefined;
35818
+ isPageDraftOnboardingFinished?: boolean | undefined;
35819
+ }, {
35820
+ companyName?: string | undefined;
35821
+ numberOfPeopleInOrg?: string | undefined;
35822
+ numberOfPeopleInDesignTeam?: string | undefined;
35823
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35824
+ jobTitle?: string | undefined;
35825
+ phase?: string | undefined;
35826
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35827
+ designSystemName?: string | undefined;
35828
+ defaultDestination?: string | undefined;
35829
+ isPageDraftOnboardingFinished?: boolean | undefined;
35830
+ }>>;
35831
+ }>, "strip", z.ZodTypeAny, {
35832
+ name: string;
35833
+ avatar?: string | undefined;
35834
+ nickname?: string | undefined;
35835
+ onboarding?: {
35836
+ companyName?: string | undefined;
35837
+ numberOfPeopleInOrg?: string | undefined;
35838
+ numberOfPeopleInDesignTeam?: string | undefined;
35839
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35840
+ jobTitle?: string | undefined;
35841
+ phase?: string | undefined;
35842
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35843
+ designSystemName?: string | undefined;
35844
+ defaultDestination?: string | undefined;
35845
+ isPageDraftOnboardingFinished?: boolean | undefined;
35846
+ } | undefined;
35847
+ }, {
35848
+ name: string;
35849
+ avatar?: string | undefined;
35850
+ nickname?: string | undefined;
35851
+ onboarding?: {
35852
+ companyName?: string | undefined;
35853
+ numberOfPeopleInOrg?: string | undefined;
35854
+ numberOfPeopleInDesignTeam?: string | undefined;
35855
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35856
+ jobTitle?: string | undefined;
35857
+ phase?: string | undefined;
35858
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35859
+ designSystemName?: string | undefined;
35860
+ defaultDestination?: string | undefined;
35861
+ isPageDraftOnboardingFinished?: boolean | undefined;
35862
+ } | undefined;
35863
+ }>;
35864
+ type DTOAuthenticatedUserProfile = z.infer<typeof DTOAuthenticatedUserProfile>;
35865
+ declare const DTOAuthenticatedUser: z.ZodObject<z.objectUtil.extendShape<{
35866
+ id: z.ZodString;
35867
+ email: z.ZodString;
35868
+ profile: z.ZodObject<{
35869
+ name: z.ZodString;
35870
+ nickname: z.ZodOptional<z.ZodString>;
35871
+ avatar: z.ZodOptional<z.ZodString>;
35872
+ }, "strip", z.ZodTypeAny, {
35873
+ name: string;
35874
+ avatar?: string | undefined;
35875
+ nickname?: string | undefined;
35876
+ }, {
35877
+ name: string;
35878
+ avatar?: string | undefined;
35879
+ nickname?: string | undefined;
35880
+ }>;
35881
+ }, {
35882
+ profile: z.ZodObject<z.objectUtil.extendShape<{
35883
+ name: z.ZodString;
35884
+ nickname: z.ZodOptional<z.ZodString>;
35885
+ avatar: z.ZodOptional<z.ZodString>;
35886
+ }, {
35887
+ onboarding: z.ZodOptional<z.ZodObject<{
35888
+ companyName: z.ZodOptional<z.ZodString>;
35889
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
35890
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
35891
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Brand", "Other"]>>;
35892
+ jobTitle: z.ZodOptional<z.ZodString>;
35893
+ phase: z.ZodOptional<z.ZodString>;
35894
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
35895
+ designSystemName: z.ZodOptional<z.ZodString>;
35896
+ defaultDestination: z.ZodOptional<z.ZodString>;
35897
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
35898
+ }, "strip", z.ZodTypeAny, {
35899
+ companyName?: string | undefined;
35900
+ numberOfPeopleInOrg?: string | undefined;
35901
+ numberOfPeopleInDesignTeam?: string | undefined;
35902
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35903
+ jobTitle?: string | undefined;
35904
+ phase?: string | undefined;
35905
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35906
+ designSystemName?: string | undefined;
35907
+ defaultDestination?: string | undefined;
35908
+ isPageDraftOnboardingFinished?: boolean | undefined;
35909
+ }, {
35910
+ companyName?: string | undefined;
35911
+ numberOfPeopleInOrg?: string | undefined;
35912
+ numberOfPeopleInDesignTeam?: string | undefined;
35913
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35914
+ jobTitle?: string | undefined;
35915
+ phase?: string | undefined;
35916
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35917
+ designSystemName?: string | undefined;
35918
+ defaultDestination?: string | undefined;
35919
+ isPageDraftOnboardingFinished?: boolean | undefined;
35920
+ }>>;
35921
+ }>, "strip", z.ZodTypeAny, {
35922
+ name: string;
35923
+ avatar?: string | undefined;
35924
+ nickname?: string | undefined;
35925
+ onboarding?: {
35926
+ companyName?: string | undefined;
35927
+ numberOfPeopleInOrg?: string | undefined;
35928
+ numberOfPeopleInDesignTeam?: string | undefined;
35929
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35930
+ jobTitle?: string | undefined;
35931
+ phase?: string | undefined;
35932
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35933
+ designSystemName?: string | undefined;
35934
+ defaultDestination?: string | undefined;
35935
+ isPageDraftOnboardingFinished?: boolean | undefined;
35936
+ } | undefined;
35937
+ }, {
35938
+ name: string;
35939
+ avatar?: string | undefined;
35940
+ nickname?: string | undefined;
35941
+ onboarding?: {
35942
+ companyName?: string | undefined;
35943
+ numberOfPeopleInOrg?: string | undefined;
35944
+ numberOfPeopleInDesignTeam?: string | undefined;
35945
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35946
+ jobTitle?: string | undefined;
35947
+ phase?: string | undefined;
35948
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35949
+ designSystemName?: string | undefined;
35950
+ defaultDestination?: string | undefined;
35951
+ isPageDraftOnboardingFinished?: boolean | undefined;
35952
+ } | undefined;
35953
+ }>;
35954
+ createdAt: z.ZodDate;
35955
+ loggedOutAt: z.ZodOptional<z.ZodDate>;
35956
+ source: z.ZodOptional<z.ZodEnum<["SignUp", "Invite", "SSO"]>>;
35957
+ }>, "strip", z.ZodTypeAny, {
35958
+ id: string;
35959
+ createdAt: Date;
35960
+ profile: {
35961
+ name: string;
35962
+ avatar?: string | undefined;
35963
+ nickname?: string | undefined;
35964
+ onboarding?: {
35965
+ companyName?: string | undefined;
35966
+ numberOfPeopleInOrg?: string | undefined;
35967
+ numberOfPeopleInDesignTeam?: string | undefined;
35968
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35969
+ jobTitle?: string | undefined;
35970
+ phase?: string | undefined;
35971
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35972
+ designSystemName?: string | undefined;
35973
+ defaultDestination?: string | undefined;
35974
+ isPageDraftOnboardingFinished?: boolean | undefined;
35975
+ } | undefined;
35976
+ };
35977
+ email: string;
35978
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
35979
+ loggedOutAt?: Date | undefined;
35980
+ }, {
35981
+ id: string;
35982
+ createdAt: Date;
35983
+ profile: {
35984
+ name: string;
35985
+ avatar?: string | undefined;
35986
+ nickname?: string | undefined;
35987
+ onboarding?: {
35988
+ companyName?: string | undefined;
35989
+ numberOfPeopleInOrg?: string | undefined;
35990
+ numberOfPeopleInDesignTeam?: string | undefined;
35991
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35992
+ jobTitle?: string | undefined;
35993
+ phase?: string | undefined;
35994
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35995
+ designSystemName?: string | undefined;
35996
+ defaultDestination?: string | undefined;
35997
+ isPageDraftOnboardingFinished?: boolean | undefined;
35998
+ } | undefined;
35999
+ };
36000
+ email: string;
36001
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
36002
+ loggedOutAt?: Date | undefined;
36003
+ }>;
36004
+ type DTOAuthenticatedUser = z.infer<typeof DTOAuthenticatedUser>;
36005
+ declare const DTOAuthenticatedUserResponse: z.ZodObject<{
36006
+ user: z.ZodObject<z.objectUtil.extendShape<{
36007
+ id: z.ZodString;
36008
+ email: z.ZodString;
36009
+ profile: z.ZodObject<{
36010
+ name: z.ZodString;
36011
+ nickname: z.ZodOptional<z.ZodString>;
36012
+ avatar: z.ZodOptional<z.ZodString>;
36013
+ }, "strip", z.ZodTypeAny, {
36014
+ name: string;
36015
+ avatar?: string | undefined;
36016
+ nickname?: string | undefined;
36017
+ }, {
36018
+ name: string;
36019
+ avatar?: string | undefined;
36020
+ nickname?: string | undefined;
36021
+ }>;
36022
+ }, {
36023
+ profile: z.ZodObject<z.objectUtil.extendShape<{
36024
+ name: z.ZodString;
36025
+ nickname: z.ZodOptional<z.ZodString>;
36026
+ avatar: z.ZodOptional<z.ZodString>;
36027
+ }, {
36028
+ onboarding: z.ZodOptional<z.ZodObject<{
36029
+ companyName: z.ZodOptional<z.ZodString>;
36030
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
36031
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
36032
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Brand", "Other"]>>;
36033
+ jobTitle: z.ZodOptional<z.ZodString>;
36034
+ phase: z.ZodOptional<z.ZodString>;
36035
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
36036
+ designSystemName: z.ZodOptional<z.ZodString>;
36037
+ defaultDestination: z.ZodOptional<z.ZodString>;
36038
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
36039
+ }, "strip", z.ZodTypeAny, {
36040
+ companyName?: string | undefined;
36041
+ numberOfPeopleInOrg?: string | undefined;
36042
+ numberOfPeopleInDesignTeam?: string | undefined;
36043
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36044
+ jobTitle?: string | undefined;
36045
+ phase?: string | undefined;
36046
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36047
+ designSystemName?: string | undefined;
36048
+ defaultDestination?: string | undefined;
36049
+ isPageDraftOnboardingFinished?: boolean | undefined;
36050
+ }, {
36051
+ companyName?: string | undefined;
36052
+ numberOfPeopleInOrg?: string | undefined;
36053
+ numberOfPeopleInDesignTeam?: string | undefined;
36054
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36055
+ jobTitle?: string | undefined;
36056
+ phase?: string | undefined;
36057
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36058
+ designSystemName?: string | undefined;
36059
+ defaultDestination?: string | undefined;
36060
+ isPageDraftOnboardingFinished?: boolean | undefined;
36061
+ }>>;
36062
+ }>, "strip", z.ZodTypeAny, {
36063
+ name: string;
36064
+ avatar?: string | undefined;
36065
+ nickname?: string | undefined;
36066
+ onboarding?: {
36067
+ companyName?: string | undefined;
36068
+ numberOfPeopleInOrg?: string | undefined;
36069
+ numberOfPeopleInDesignTeam?: string | undefined;
36070
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36071
+ jobTitle?: string | undefined;
36072
+ phase?: string | undefined;
36073
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36074
+ designSystemName?: string | undefined;
36075
+ defaultDestination?: string | undefined;
36076
+ isPageDraftOnboardingFinished?: boolean | undefined;
36077
+ } | undefined;
36078
+ }, {
36079
+ name: string;
36080
+ avatar?: string | undefined;
36081
+ nickname?: string | undefined;
36082
+ onboarding?: {
36083
+ companyName?: string | undefined;
36084
+ numberOfPeopleInOrg?: string | undefined;
36085
+ numberOfPeopleInDesignTeam?: string | undefined;
36086
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36087
+ jobTitle?: string | undefined;
36088
+ phase?: string | undefined;
36089
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36090
+ designSystemName?: string | undefined;
36091
+ defaultDestination?: string | undefined;
36092
+ isPageDraftOnboardingFinished?: boolean | undefined;
36093
+ } | undefined;
36094
+ }>;
36095
+ createdAt: z.ZodDate;
36096
+ loggedOutAt: z.ZodOptional<z.ZodDate>;
36097
+ source: z.ZodOptional<z.ZodEnum<["SignUp", "Invite", "SSO"]>>;
36098
+ }>, "strip", z.ZodTypeAny, {
36099
+ id: string;
36100
+ createdAt: Date;
36101
+ profile: {
36102
+ name: string;
36103
+ avatar?: string | undefined;
36104
+ nickname?: string | undefined;
36105
+ onboarding?: {
36106
+ companyName?: string | undefined;
36107
+ numberOfPeopleInOrg?: string | undefined;
36108
+ numberOfPeopleInDesignTeam?: string | undefined;
36109
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36110
+ jobTitle?: string | undefined;
36111
+ phase?: string | undefined;
36112
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36113
+ designSystemName?: string | undefined;
36114
+ defaultDestination?: string | undefined;
36115
+ isPageDraftOnboardingFinished?: boolean | undefined;
36116
+ } | undefined;
36117
+ };
36118
+ email: string;
36119
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
36120
+ loggedOutAt?: Date | undefined;
36121
+ }, {
36122
+ id: string;
36123
+ createdAt: Date;
36124
+ profile: {
36125
+ name: string;
36126
+ avatar?: string | undefined;
36127
+ nickname?: string | undefined;
36128
+ onboarding?: {
36129
+ companyName?: string | undefined;
36130
+ numberOfPeopleInOrg?: string | undefined;
36131
+ numberOfPeopleInDesignTeam?: string | undefined;
36132
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36133
+ jobTitle?: string | undefined;
36134
+ phase?: string | undefined;
36135
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36136
+ designSystemName?: string | undefined;
36137
+ defaultDestination?: string | undefined;
36138
+ isPageDraftOnboardingFinished?: boolean | undefined;
36139
+ } | undefined;
36140
+ };
36141
+ email: string;
36142
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
36143
+ loggedOutAt?: Date | undefined;
36144
+ }>;
36145
+ }, "strip", z.ZodTypeAny, {
36146
+ user: {
36147
+ id: string;
36148
+ createdAt: Date;
36149
+ profile: {
36150
+ name: string;
36151
+ avatar?: string | undefined;
36152
+ nickname?: string | undefined;
36153
+ onboarding?: {
36154
+ companyName?: string | undefined;
36155
+ numberOfPeopleInOrg?: string | undefined;
36156
+ numberOfPeopleInDesignTeam?: string | undefined;
36157
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36158
+ jobTitle?: string | undefined;
36159
+ phase?: string | undefined;
36160
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36161
+ designSystemName?: string | undefined;
36162
+ defaultDestination?: string | undefined;
36163
+ isPageDraftOnboardingFinished?: boolean | undefined;
36164
+ } | undefined;
36165
+ };
36166
+ email: string;
36167
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
36168
+ loggedOutAt?: Date | undefined;
36169
+ };
36170
+ }, {
36171
+ user: {
36172
+ id: string;
36173
+ createdAt: Date;
36174
+ profile: {
36175
+ name: string;
36176
+ avatar?: string | undefined;
36177
+ nickname?: string | undefined;
36178
+ onboarding?: {
36179
+ companyName?: string | undefined;
36180
+ numberOfPeopleInOrg?: string | undefined;
36181
+ numberOfPeopleInDesignTeam?: string | undefined;
36182
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36183
+ jobTitle?: string | undefined;
36184
+ phase?: string | undefined;
36185
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36186
+ designSystemName?: string | undefined;
36187
+ defaultDestination?: string | undefined;
36188
+ isPageDraftOnboardingFinished?: boolean | undefined;
36189
+ } | undefined;
36190
+ };
36191
+ email: string;
36192
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
36193
+ loggedOutAt?: Date | undefined;
36194
+ };
36195
+ }>;
36196
+ type DTOAuthenticatedUserResponse = z.infer<typeof DTOAuthenticatedUserResponse>;
36197
+
35751
36198
  declare const DTOUserProfileUpdateResponse: z.ZodObject<{
35752
36199
  user: z.ZodObject<{
35753
36200
  id: z.ZodString;
@@ -35776,7 +36223,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
35776
36223
  companyName?: string | undefined;
35777
36224
  numberOfPeopleInOrg?: string | undefined;
35778
36225
  numberOfPeopleInDesignTeam?: string | undefined;
35779
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36226
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
35780
36227
  jobTitle?: string | undefined;
35781
36228
  phase?: string | undefined;
35782
36229
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -35789,7 +36236,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
35789
36236
  companyName?: string | undefined;
35790
36237
  numberOfPeopleInOrg?: string | undefined;
35791
36238
  numberOfPeopleInDesignTeam?: string | undefined;
35792
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36239
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
35793
36240
  jobTitle?: string | undefined;
35794
36241
  phase?: string | undefined;
35795
36242
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -35807,7 +36254,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
35807
36254
  companyName?: string | undefined;
35808
36255
  numberOfPeopleInOrg?: string | undefined;
35809
36256
  numberOfPeopleInDesignTeam?: string | undefined;
35810
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36257
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
35811
36258
  jobTitle?: string | undefined;
35812
36259
  phase?: string | undefined;
35813
36260
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -35825,7 +36272,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
35825
36272
  companyName?: string | undefined;
35826
36273
  numberOfPeopleInOrg?: string | undefined;
35827
36274
  numberOfPeopleInDesignTeam?: string | undefined;
35828
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36275
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
35829
36276
  jobTitle?: string | undefined;
35830
36277
  phase?: string | undefined;
35831
36278
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -36044,7 +36491,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
36044
36491
  companyName?: string | undefined;
36045
36492
  numberOfPeopleInOrg?: string | undefined;
36046
36493
  numberOfPeopleInDesignTeam?: string | undefined;
36047
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36494
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
36048
36495
  jobTitle?: string | undefined;
36049
36496
  phase?: string | undefined;
36050
36497
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -36113,7 +36560,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
36113
36560
  companyName?: string | undefined;
36114
36561
  numberOfPeopleInOrg?: string | undefined;
36115
36562
  numberOfPeopleInDesignTeam?: string | undefined;
36116
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36563
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
36117
36564
  jobTitle?: string | undefined;
36118
36565
  phase?: string | undefined;
36119
36566
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -36184,7 +36631,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
36184
36631
  companyName?: string | undefined;
36185
36632
  numberOfPeopleInOrg?: string | undefined;
36186
36633
  numberOfPeopleInDesignTeam?: string | undefined;
36187
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36634
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
36188
36635
  jobTitle?: string | undefined;
36189
36636
  phase?: string | undefined;
36190
36637
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -36255,7 +36702,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
36255
36702
  companyName?: string | undefined;
36256
36703
  numberOfPeopleInOrg?: string | undefined;
36257
36704
  numberOfPeopleInDesignTeam?: string | undefined;
36258
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36705
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
36259
36706
  jobTitle?: string | undefined;
36260
36707
  phase?: string | undefined;
36261
36708
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -42660,7 +43107,7 @@ declare const DTOWorkspaceCreateInput: z.ZodObject<{
42660
43107
  name: string;
42661
43108
  }>;
42662
43109
  type DTOWorkspaceCreateInput = z.infer<typeof DTOWorkspaceCreateInput>;
42663
- declare const DTOWorkspaceCreateResponse: z.ZodObject<{
43110
+ declare const DTOWorkspaceResponse: z.ZodObject<{
42664
43111
  workspace: z.ZodObject<{
42665
43112
  id: z.ZodString;
42666
43113
  profile: z.ZodObject<{
@@ -44358,7 +44805,7 @@ declare const DTOWorkspaceCreateResponse: z.ZodObject<{
44358
44805
  } | undefined;
44359
44806
  };
44360
44807
  }>;
44361
- type DTOWorkspaceCreateResponse = z.infer<typeof DTOWorkspaceCreateResponse>;
44808
+ type DTOWorkspaceResponse = z.infer<typeof DTOWorkspaceResponse>;
44362
44809
 
44363
44810
  declare function elementGroupsToDocumentationGroupDTOV2(groups: ElementGroup[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV2[];
44364
44811
  declare function elementGroupsToDocumentationGroupFixedConfigurationDTOV2(groups: ElementGroup[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV2[];
@@ -44429,285 +44876,23 @@ type RequestExecutorJSONRequest = Omit<RequestInit, "body"> & {
44429
44876
  declare class RequestExecutor {
44430
44877
  private readonly testServerConfig;
44431
44878
  constructor(testServerConfig: RequestExecutorConfig);
44432
- json<O, I>(path: string, schema: ZodSchema<O, ZodTypeDef, I>, requestInit?: RequestExecutorJSONRequest): Promise<O>;
44879
+ json<O, I>(path: `/${string}`, schema: ZodSchema<O, ZodTypeDef, I>, requestInit?: RequestExecutorJSONRequest): Promise<O>;
44433
44880
  private fullUrl;
44434
44881
  }
44435
44882
 
44436
- declare class DesignSystemsEndpoint {
44883
+ declare class DesignSystemMembersEndpoint {
44437
44884
  private readonly requestExecutor;
44438
44885
  constructor(requestExecutor: RequestExecutor);
44439
- create(body: DTODesignSystemCreateInput): Promise<{
44440
- designSystem: {
44441
- id: string;
44442
- meta: {
44443
- name: string;
44444
- description?: string | undefined;
44445
- };
44446
- createdAt: Date;
44447
- updatedAt: Date;
44448
- sources: any[];
44449
- workspaceId: string;
44450
- docExporterId: string;
44451
- docSlug: string;
44452
- docSlugDeprecated: string;
44453
- isPublic: boolean;
44454
- isMultibrand: boolean;
44455
- basePrefixes: string[];
44456
- isApprovalFeatureEnabled: boolean;
44457
- approvalRequiredForPublishing: boolean;
44458
- accessMode: "Open" | "InviteOnly";
44459
- membersGenerated: boolean;
44460
- docUserSlug?: string | undefined;
44461
- docViewUrl?: string | undefined;
44462
- designSystemSwitcher?: {
44463
- isEnabled: boolean;
44464
- designSystemIds: string[];
44465
- } | undefined;
44466
- role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
44467
- };
44468
- }>;
44469
- list(wsId: string): Promise<{
44470
- designSystems: {
44471
- id: string;
44472
- meta: {
44473
- name: string;
44474
- description?: string | undefined;
44475
- };
44476
- createdAt: Date;
44477
- updatedAt: Date;
44478
- sources: any[];
44479
- workspaceId: string;
44480
- docExporterId: string;
44481
- docSlug: string;
44482
- docSlugDeprecated: string;
44483
- isPublic: boolean;
44484
- isMultibrand: boolean;
44485
- basePrefixes: string[];
44486
- isApprovalFeatureEnabled: boolean;
44487
- approvalRequiredForPublishing: boolean;
44488
- accessMode: "Open" | "InviteOnly";
44489
- membersGenerated: boolean;
44490
- docUserSlug?: string | undefined;
44491
- docViewUrl?: string | undefined;
44492
- designSystemSwitcher?: {
44493
- isEnabled: boolean;
44494
- designSystemIds: string[];
44495
- } | undefined;
44496
- role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
44886
+ list(dsId: string): Promise<{
44887
+ members: {
44888
+ userId: string;
44497
44889
  }[];
44498
44890
  }>;
44499
- get(dsId: string): Promise<any>;
44500
- delete(dsId: string): Promise<any>;
44501
- editMembers(dsId: string, body: DTODesignSystemMembersUpdatePayload): Promise<{
44891
+ update(dsId: string, body: DTODesignSystemMembersUpdatePayload): Promise<{
44502
44892
  ok: true;
44503
44893
  }>;
44504
44894
  }
44505
44895
 
44506
- declare class UsersEndpoint {
44507
- private readonly requestExecutor;
44508
- constructor(requestExecutor: RequestExecutor);
44509
- getMe(): Promise<{
44510
- user: {
44511
- id: string;
44512
- profile: {
44513
- name: string;
44514
- avatar?: string | undefined;
44515
- nickname?: string | undefined;
44516
- };
44517
- email: string;
44518
- };
44519
- }>;
44520
- }
44521
-
44522
- declare class WorkspacesEndpoint {
44523
- private readonly requestExecutor;
44524
- constructor(requestExecutor: RequestExecutor);
44525
- create(body: DTOWorkspaceCreateInput): Promise<{
44526
- workspace: {
44527
- id: string;
44528
- profile: {
44529
- name: string;
44530
- color: string;
44531
- handle: string;
44532
- avatar?: string | undefined;
44533
- billingDetails?: {
44534
- address?: {
44535
- street1?: string | undefined;
44536
- street2?: string | undefined;
44537
- city?: string | undefined;
44538
- postal?: string | undefined;
44539
- country?: string | undefined;
44540
- state?: string | undefined;
44541
- } | undefined;
44542
- email?: string | undefined;
44543
- companyName?: string | undefined;
44544
- companyId?: string | undefined;
44545
- notes?: string | undefined;
44546
- vat?: string | undefined;
44547
- poNumber?: string | undefined;
44548
- } | undefined;
44549
- };
44550
- subscription: {
44551
- product: "free" | "team" | "company" | "enterprise";
44552
- planPriceId: string;
44553
- planInterval: "yearly" | "daily" | "monthly" | "weekly";
44554
- seats: number;
44555
- seatLimit: number;
44556
- status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
44557
- card?: {
44558
- cardId?: string | null | undefined;
44559
- last4?: string | null | undefined;
44560
- expiryMonth?: string | null | undefined;
44561
- expiryYear?: string | null | undefined;
44562
- brand?: string | null | undefined;
44563
- name?: string | null | undefined;
44564
- } | undefined;
44565
- amount?: number | null | undefined;
44566
- stripeProductDescription?: string | undefined;
44567
- isPricePerCreator?: boolean | undefined;
44568
- isTrial?: boolean | undefined;
44569
- legacyVersion?: string | undefined;
44570
- stripeProductFeatures?: string[] | undefined;
44571
- stripeProductAdditionalFeatures?: string[] | undefined;
44572
- stripeSubscriptionId?: string | null | undefined;
44573
- stripeCustomerId?: string | null | undefined;
44574
- subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
44575
- internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
44576
- featuresSummary?: {
44577
- designSystems: {
44578
- max: number;
44579
- errorMessage: string;
44580
- errorReason: string;
44581
- };
44582
- designSystemSources: {
44583
- max: number;
44584
- errorMessage: string;
44585
- errorReason: string;
44586
- noImportJobsErrorMessage: string;
44587
- noImportJobsErrorReason: string;
44588
- };
44589
- designSystemVersions: {
44590
- max: number;
44591
- errorMessage: string;
44592
- errorReason: string;
44593
- };
44594
- themes: {
44595
- max: number;
44596
- errorMessage: string;
44597
- errorReason: string;
44598
- };
44599
- brands: {
44600
- max: number;
44601
- errorMessage: string;
44602
- errorReason: string;
44603
- };
44604
- codegenSchedules: {
44605
- max: number;
44606
- errorMessage: string;
44607
- errorReason: string;
44608
- };
44609
- publicDocumentation: {
44610
- errorMessage: string;
44611
- errorReason: string;
44612
- enabled: boolean;
44613
- };
44614
- customDocumentationUrl: {
44615
- errorMessage: string;
44616
- errorReason: string;
44617
- enabled: boolean;
44618
- };
44619
- customDocumentationViewButton: {
44620
- errorMessage: string;
44621
- errorReason: string;
44622
- enabled: boolean;
44623
- };
44624
- designSystemSourceAutoImport: {
44625
- errorMessage: string;
44626
- errorReason: string;
44627
- enabled: boolean;
44628
- };
44629
- designSystemSlug: {
44630
- errorMessage: string;
44631
- errorReason: string;
44632
- enabled: boolean;
44633
- };
44634
- ipWhitelisting: {
44635
- errorMessage: string;
44636
- errorReason: string;
44637
- enabled: boolean;
44638
- };
44639
- npmRegistry: {
44640
- errorMessage: string;
44641
- errorReason: string;
44642
- enabled: boolean;
44643
- };
44644
- sso: {
44645
- errorMessage: string;
44646
- errorReason: string;
44647
- enabled: boolean;
44648
- };
44649
- workspacePaidSeats: {
44650
- max: number;
44651
- errorMessage: string;
44652
- errorReason: string;
44653
- };
44654
- workspaceViewers: {
44655
- max: number;
44656
- errorMessage: string;
44657
- errorReason: string;
44658
- };
44659
- customDocumentationExporter: {
44660
- errorMessage: string;
44661
- errorReason: string;
44662
- enabled: boolean;
44663
- };
44664
- protectedPages: {
44665
- errorMessage: string;
44666
- errorReason: string;
44667
- enabled: boolean;
44668
- };
44669
- approvals: {
44670
- errorMessage: string;
44671
- errorReason: string;
44672
- enabled: boolean;
44673
- };
44674
- selectivePublishing: {
44675
- errorMessage: string;
44676
- errorReason: string;
44677
- enabled: boolean;
44678
- };
44679
- designSystemAccessModes: {
44680
- errorMessage: string;
44681
- errorReason: string;
44682
- enabled: boolean;
44683
- };
44684
- } | undefined;
44685
- stripeSubscriptionMainItemId?: string | undefined;
44686
- currentPeriodStart?: string | undefined;
44687
- currentPeriodEnd?: string | undefined;
44688
- subscriptionStatusUpdatedAt?: string | undefined;
44689
- cancelAt?: string | null | undefined;
44690
- billingType?: "Auto" | "Invoice" | undefined;
44691
- daysUntilDue?: number | undefined;
44692
- };
44693
- npmRegistry?: {
44694
- enabledScopes: string[];
44695
- bypassProxy: boolean;
44696
- registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
44697
- authType: "Custom" | "None" | "Basic" | "Bearer";
44698
- registryUrl: string;
44699
- proxyUrl: string;
44700
- customRegistryUrl?: string | undefined;
44701
- accessToken?: string | undefined;
44702
- username?: string | undefined;
44703
- password?: string | undefined;
44704
- } | undefined;
44705
- };
44706
- }>;
44707
- delete(workspaceId: string): Promise<any>;
44708
- invite(workspaceId: string, body: DTOWorkspaceInvitationsListInput): Promise<any>;
44709
- }
44710
-
44711
44896
  declare const DTOCreateBrandInput: z.ZodObject<{
44712
44897
  persistentId: z.ZodString;
44713
44898
  meta: z.ZodObject<{
@@ -45205,7 +45390,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
45205
45390
  id: string;
45206
45391
  name: string;
45207
45392
  description: string;
45208
- category: "Figma" | "Text" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
45393
+ category: "Figma" | "Text" | "Other" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data";
45209
45394
  item: {
45210
45395
  properties: {
45211
45396
  id: string;
@@ -45278,7 +45463,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
45278
45463
  id: string;
45279
45464
  name: string;
45280
45465
  description: string;
45281
- category: "Figma" | "Text" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
45466
+ category: "Figma" | "Text" | "Other" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data";
45282
45467
  item: {
45283
45468
  properties: {
45284
45469
  id: string;
@@ -45353,7 +45538,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
45353
45538
  id: string;
45354
45539
  name: string;
45355
45540
  description: string;
45356
- category: "Figma" | "Text" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
45541
+ category: "Figma" | "Text" | "Other" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data";
45357
45542
  item: {
45358
45543
  properties: {
45359
45544
  id: string;
@@ -45428,7 +45613,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
45428
45613
  id: string;
45429
45614
  name: string;
45430
45615
  description: string;
45431
- category: "Figma" | "Text" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
45616
+ category: "Figma" | "Text" | "Other" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data";
45432
45617
  item: {
45433
45618
  properties: {
45434
45619
  id: string;
@@ -46530,7 +46715,7 @@ declare const DTOUserProfileUpdatePayload: zod.ZodObject<Omit<{
46530
46715
  companyName?: string | undefined;
46531
46716
  numberOfPeopleInOrg?: string | undefined;
46532
46717
  numberOfPeopleInDesignTeam?: string | undefined;
46533
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
46718
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
46534
46719
  jobTitle?: string | undefined;
46535
46720
  phase?: string | undefined;
46536
46721
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -46543,7 +46728,7 @@ declare const DTOUserProfileUpdatePayload: zod.ZodObject<Omit<{
46543
46728
  companyName?: string | undefined;
46544
46729
  numberOfPeopleInOrg?: string | undefined;
46545
46730
  numberOfPeopleInDesignTeam?: string | undefined;
46546
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
46731
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
46547
46732
  jobTitle?: string | undefined;
46548
46733
  phase?: string | undefined;
46549
46734
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -46560,7 +46745,7 @@ declare const DTOUserProfileUpdatePayload: zod.ZodObject<Omit<{
46560
46745
  companyName?: string | undefined;
46561
46746
  numberOfPeopleInOrg?: string | undefined;
46562
46747
  numberOfPeopleInDesignTeam?: string | undefined;
46563
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
46748
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
46564
46749
  jobTitle?: string | undefined;
46565
46750
  phase?: string | undefined;
46566
46751
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -46577,7 +46762,7 @@ declare const DTOUserProfileUpdatePayload: zod.ZodObject<Omit<{
46577
46762
  companyName?: string | undefined;
46578
46763
  numberOfPeopleInOrg?: string | undefined;
46579
46764
  numberOfPeopleInDesignTeam?: string | undefined;
46580
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
46765
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
46581
46766
  jobTitle?: string | undefined;
46582
46767
  phase?: string | undefined;
46583
46768
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -47112,6 +47297,347 @@ declare const DTOWorkspaceIntegrationGetGitObjectsInput: z.ZodObject<{
47112
47297
  }>;
47113
47298
  type DTOWorkspaceIntegrationGetGitObjectsInput = z.infer<typeof DTOWorkspaceIntegrationGetGitObjectsInput>;
47114
47299
 
47300
+ declare class DesignSystemsEndpoint {
47301
+ private readonly requestExecutor;
47302
+ members: DesignSystemMembersEndpoint;
47303
+ constructor(requestExecutor: RequestExecutor);
47304
+ create(body: DTODesignSystemCreateInput): Promise<{
47305
+ designSystem: {
47306
+ id: string;
47307
+ meta: {
47308
+ name: string;
47309
+ description?: string | undefined;
47310
+ };
47311
+ createdAt: Date;
47312
+ updatedAt: Date;
47313
+ sources: any[];
47314
+ workspaceId: string;
47315
+ docExporterId: string;
47316
+ docSlug: string;
47317
+ docSlugDeprecated: string;
47318
+ isPublic: boolean;
47319
+ isMultibrand: boolean;
47320
+ basePrefixes: string[];
47321
+ isApprovalFeatureEnabled: boolean;
47322
+ approvalRequiredForPublishing: boolean;
47323
+ accessMode: "Open" | "InviteOnly";
47324
+ membersGenerated: boolean;
47325
+ docUserSlug?: string | undefined;
47326
+ docViewUrl?: string | undefined;
47327
+ designSystemSwitcher?: {
47328
+ isEnabled: boolean;
47329
+ designSystemIds: string[];
47330
+ } | undefined;
47331
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
47332
+ };
47333
+ }>;
47334
+ list(wsId: string): Promise<{
47335
+ designSystems: {
47336
+ id: string;
47337
+ meta: {
47338
+ name: string;
47339
+ description?: string | undefined;
47340
+ };
47341
+ createdAt: Date;
47342
+ updatedAt: Date;
47343
+ sources: any[];
47344
+ workspaceId: string;
47345
+ docExporterId: string;
47346
+ docSlug: string;
47347
+ docSlugDeprecated: string;
47348
+ isPublic: boolean;
47349
+ isMultibrand: boolean;
47350
+ basePrefixes: string[];
47351
+ isApprovalFeatureEnabled: boolean;
47352
+ approvalRequiredForPublishing: boolean;
47353
+ accessMode: "Open" | "InviteOnly";
47354
+ membersGenerated: boolean;
47355
+ docUserSlug?: string | undefined;
47356
+ docViewUrl?: string | undefined;
47357
+ designSystemSwitcher?: {
47358
+ isEnabled: boolean;
47359
+ designSystemIds: string[];
47360
+ } | undefined;
47361
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
47362
+ }[];
47363
+ }>;
47364
+ get(dsId: string): Promise<any>;
47365
+ delete(dsId: string): Promise<any>;
47366
+ update(dsId: string, body: DTODesignSystemUpdateInput): Promise<{
47367
+ designSystem: {
47368
+ id: string;
47369
+ meta: {
47370
+ name: string;
47371
+ description?: string | undefined;
47372
+ };
47373
+ createdAt: Date;
47374
+ updatedAt: Date;
47375
+ sources: any[];
47376
+ workspaceId: string;
47377
+ docExporterId: string;
47378
+ docSlug: string;
47379
+ docSlugDeprecated: string;
47380
+ isPublic: boolean;
47381
+ isMultibrand: boolean;
47382
+ basePrefixes: string[];
47383
+ isApprovalFeatureEnabled: boolean;
47384
+ approvalRequiredForPublishing: boolean;
47385
+ accessMode: "Open" | "InviteOnly";
47386
+ membersGenerated: boolean;
47387
+ docUserSlug?: string | undefined;
47388
+ docViewUrl?: string | undefined;
47389
+ designSystemSwitcher?: {
47390
+ isEnabled: boolean;
47391
+ designSystemIds: string[];
47392
+ } | undefined;
47393
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
47394
+ };
47395
+ }>;
47396
+ }
47397
+
47398
+ declare class UsersEndpoint {
47399
+ private readonly requestExecutor;
47400
+ constructor(requestExecutor: RequestExecutor);
47401
+ getMe(): Promise<{
47402
+ user: {
47403
+ id: string;
47404
+ createdAt: Date;
47405
+ profile: {
47406
+ name: string;
47407
+ avatar?: string | undefined;
47408
+ nickname?: string | undefined;
47409
+ onboarding?: {
47410
+ companyName?: string | undefined;
47411
+ numberOfPeopleInOrg?: string | undefined;
47412
+ numberOfPeopleInDesignTeam?: string | undefined;
47413
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
47414
+ jobTitle?: string | undefined;
47415
+ phase?: string | undefined;
47416
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
47417
+ designSystemName?: string | undefined;
47418
+ defaultDestination?: string | undefined;
47419
+ isPageDraftOnboardingFinished?: boolean | undefined;
47420
+ } | undefined;
47421
+ };
47422
+ email: string;
47423
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
47424
+ loggedOutAt?: Date | undefined;
47425
+ };
47426
+ }>;
47427
+ listWorkspaces(uid: string): Promise<{
47428
+ membership: {
47429
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
47430
+ workspace: {
47431
+ id: string;
47432
+ profile: {
47433
+ name: string;
47434
+ color: string;
47435
+ handle: string;
47436
+ avatar?: string | undefined;
47437
+ billingDetails?: {
47438
+ address?: {
47439
+ street1?: string | undefined;
47440
+ street2?: string | undefined;
47441
+ city?: string | undefined;
47442
+ postal?: string | undefined;
47443
+ country?: string | undefined;
47444
+ state?: string | undefined;
47445
+ } | undefined;
47446
+ email?: string | undefined;
47447
+ companyName?: string | undefined;
47448
+ companyId?: string | undefined;
47449
+ notes?: string | undefined;
47450
+ vat?: string | undefined;
47451
+ poNumber?: string | undefined;
47452
+ } | undefined;
47453
+ };
47454
+ subscription: {
47455
+ product: "free" | "team" | "company" | "enterprise";
47456
+ planPriceId: string;
47457
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
47458
+ seats: number;
47459
+ seatLimit: number;
47460
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
47461
+ card?: {
47462
+ cardId?: string | null | undefined;
47463
+ last4?: string | null | undefined;
47464
+ expiryMonth?: string | null | undefined;
47465
+ expiryYear?: string | null | undefined;
47466
+ brand?: string | null | undefined;
47467
+ name?: string | null | undefined;
47468
+ } | undefined;
47469
+ amount?: number | null | undefined;
47470
+ stripeProductDescription?: string | undefined;
47471
+ isPricePerCreator?: boolean | undefined;
47472
+ isTrial?: boolean | undefined;
47473
+ legacyVersion?: string | undefined;
47474
+ stripeProductFeatures?: string[] | undefined;
47475
+ stripeProductAdditionalFeatures?: string[] | undefined;
47476
+ stripeSubscriptionId?: string | null | undefined;
47477
+ stripeCustomerId?: string | null | undefined;
47478
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
47479
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
47480
+ featuresSummary?: {
47481
+ designSystems: {
47482
+ max: number;
47483
+ errorMessage: string;
47484
+ errorReason: string;
47485
+ };
47486
+ designSystemSources: {
47487
+ max: number;
47488
+ errorMessage: string;
47489
+ errorReason: string;
47490
+ noImportJobsErrorMessage: string;
47491
+ noImportJobsErrorReason: string;
47492
+ };
47493
+ designSystemVersions: {
47494
+ max: number;
47495
+ errorMessage: string;
47496
+ errorReason: string;
47497
+ };
47498
+ themes: {
47499
+ max: number;
47500
+ errorMessage: string;
47501
+ errorReason: string;
47502
+ };
47503
+ brands: {
47504
+ max: number;
47505
+ errorMessage: string;
47506
+ errorReason: string;
47507
+ };
47508
+ codegenSchedules: {
47509
+ max: number;
47510
+ errorMessage: string;
47511
+ errorReason: string;
47512
+ };
47513
+ publicDocumentation: {
47514
+ errorMessage: string;
47515
+ errorReason: string;
47516
+ enabled: boolean;
47517
+ };
47518
+ customDocumentationUrl: {
47519
+ errorMessage: string;
47520
+ errorReason: string;
47521
+ enabled: boolean;
47522
+ };
47523
+ customDocumentationViewButton: {
47524
+ errorMessage: string;
47525
+ errorReason: string;
47526
+ enabled: boolean;
47527
+ };
47528
+ designSystemSourceAutoImport: {
47529
+ errorMessage: string;
47530
+ errorReason: string;
47531
+ enabled: boolean;
47532
+ };
47533
+ designSystemSlug: {
47534
+ errorMessage: string;
47535
+ errorReason: string;
47536
+ enabled: boolean;
47537
+ };
47538
+ ipWhitelisting: {
47539
+ errorMessage: string;
47540
+ errorReason: string;
47541
+ enabled: boolean;
47542
+ };
47543
+ npmRegistry: {
47544
+ errorMessage: string;
47545
+ errorReason: string;
47546
+ enabled: boolean;
47547
+ };
47548
+ sso: {
47549
+ errorMessage: string;
47550
+ errorReason: string;
47551
+ enabled: boolean;
47552
+ };
47553
+ workspacePaidSeats: {
47554
+ max: number;
47555
+ errorMessage: string;
47556
+ errorReason: string;
47557
+ };
47558
+ workspaceViewers: {
47559
+ max: number;
47560
+ errorMessage: string;
47561
+ errorReason: string;
47562
+ };
47563
+ customDocumentationExporter: {
47564
+ errorMessage: string;
47565
+ errorReason: string;
47566
+ enabled: boolean;
47567
+ };
47568
+ protectedPages: {
47569
+ errorMessage: string;
47570
+ errorReason: string;
47571
+ enabled: boolean;
47572
+ };
47573
+ approvals: {
47574
+ errorMessage: string;
47575
+ errorReason: string;
47576
+ enabled: boolean;
47577
+ };
47578
+ selectivePublishing: {
47579
+ errorMessage: string;
47580
+ errorReason: string;
47581
+ enabled: boolean;
47582
+ };
47583
+ designSystemAccessModes: {
47584
+ errorMessage: string;
47585
+ errorReason: string;
47586
+ enabled: boolean;
47587
+ };
47588
+ } | undefined;
47589
+ stripeSubscriptionMainItemId?: string | undefined;
47590
+ currentPeriodStart?: string | undefined;
47591
+ currentPeriodEnd?: string | undefined;
47592
+ subscriptionStatusUpdatedAt?: string | undefined;
47593
+ cancelAt?: string | null | undefined;
47594
+ billingType?: "Auto" | "Invoice" | undefined;
47595
+ daysUntilDue?: number | undefined;
47596
+ };
47597
+ npmRegistry?: {
47598
+ enabledScopes: string[];
47599
+ bypassProxy: boolean;
47600
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
47601
+ authType: "Custom" | "None" | "Basic" | "Bearer";
47602
+ registryUrl: string;
47603
+ proxyUrl: string;
47604
+ customRegistryUrl?: string | undefined;
47605
+ accessToken?: string | undefined;
47606
+ username?: string | undefined;
47607
+ password?: string | undefined;
47608
+ } | undefined;
47609
+ };
47610
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
47611
+ }[];
47612
+ }>;
47613
+ delete(uid: string): Promise<{
47614
+ user: {
47615
+ id: string;
47616
+ createdAt: Date;
47617
+ profile: {
47618
+ name: string;
47619
+ avatar?: string | undefined;
47620
+ nickname?: string | undefined;
47621
+ onboarding?: {
47622
+ companyName?: string | undefined;
47623
+ numberOfPeopleInOrg?: string | undefined;
47624
+ numberOfPeopleInDesignTeam?: string | undefined;
47625
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
47626
+ jobTitle?: string | undefined;
47627
+ phase?: string | undefined;
47628
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
47629
+ designSystemName?: string | undefined;
47630
+ defaultDestination?: string | undefined;
47631
+ isPageDraftOnboardingFinished?: boolean | undefined;
47632
+ } | undefined;
47633
+ };
47634
+ email: string;
47635
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
47636
+ loggedOutAt?: Date | undefined;
47637
+ };
47638
+ }>;
47639
+ }
47640
+
47115
47641
  type RequestExecutorErrorType = "ServerError" | "ResponseParsingError";
47116
47642
  declare class RequestExecutorError extends Error {
47117
47643
  static serverError(endpoint: string, status: number, bodyText: string): RequestExecutorError;
@@ -47120,6 +47646,752 @@ declare class RequestExecutorError extends Error {
47120
47646
  private constructor();
47121
47647
  }
47122
47648
 
47649
+ declare class WorkspaceMembersEndpoint {
47650
+ private readonly requestExecutor;
47651
+ constructor(requestExecutor: RequestExecutor);
47652
+ list(workspaceId: string): Promise<{
47653
+ membership: {
47654
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
47655
+ workspace: {
47656
+ id: string;
47657
+ profile: {
47658
+ name: string;
47659
+ color: string;
47660
+ handle: string;
47661
+ avatar?: string | undefined;
47662
+ billingDetails?: {
47663
+ address?: {
47664
+ street1?: string | undefined;
47665
+ street2?: string | undefined;
47666
+ city?: string | undefined;
47667
+ postal?: string | undefined;
47668
+ country?: string | undefined;
47669
+ state?: string | undefined;
47670
+ } | undefined;
47671
+ email?: string | undefined;
47672
+ companyName?: string | undefined;
47673
+ companyId?: string | undefined;
47674
+ notes?: string | undefined;
47675
+ vat?: string | undefined;
47676
+ poNumber?: string | undefined;
47677
+ } | undefined;
47678
+ };
47679
+ subscription: {
47680
+ product: "free" | "team" | "company" | "enterprise";
47681
+ planPriceId: string;
47682
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
47683
+ seats: number;
47684
+ seatLimit: number;
47685
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
47686
+ card?: {
47687
+ cardId?: string | null | undefined;
47688
+ last4?: string | null | undefined;
47689
+ expiryMonth?: string | null | undefined;
47690
+ expiryYear?: string | null | undefined;
47691
+ brand?: string | null | undefined;
47692
+ name?: string | null | undefined;
47693
+ } | undefined;
47694
+ amount?: number | null | undefined;
47695
+ stripeProductDescription?: string | undefined;
47696
+ isPricePerCreator?: boolean | undefined;
47697
+ isTrial?: boolean | undefined;
47698
+ legacyVersion?: string | undefined;
47699
+ stripeProductFeatures?: string[] | undefined;
47700
+ stripeProductAdditionalFeatures?: string[] | undefined;
47701
+ stripeSubscriptionId?: string | null | undefined;
47702
+ stripeCustomerId?: string | null | undefined;
47703
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
47704
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
47705
+ featuresSummary?: {
47706
+ designSystems: {
47707
+ max: number;
47708
+ errorMessage: string;
47709
+ errorReason: string;
47710
+ };
47711
+ designSystemSources: {
47712
+ max: number;
47713
+ errorMessage: string;
47714
+ errorReason: string;
47715
+ noImportJobsErrorMessage: string;
47716
+ noImportJobsErrorReason: string;
47717
+ };
47718
+ designSystemVersions: {
47719
+ max: number;
47720
+ errorMessage: string;
47721
+ errorReason: string;
47722
+ };
47723
+ themes: {
47724
+ max: number;
47725
+ errorMessage: string;
47726
+ errorReason: string;
47727
+ };
47728
+ brands: {
47729
+ max: number;
47730
+ errorMessage: string;
47731
+ errorReason: string;
47732
+ };
47733
+ codegenSchedules: {
47734
+ max: number;
47735
+ errorMessage: string;
47736
+ errorReason: string;
47737
+ };
47738
+ publicDocumentation: {
47739
+ errorMessage: string;
47740
+ errorReason: string;
47741
+ enabled: boolean;
47742
+ };
47743
+ customDocumentationUrl: {
47744
+ errorMessage: string;
47745
+ errorReason: string;
47746
+ enabled: boolean;
47747
+ };
47748
+ customDocumentationViewButton: {
47749
+ errorMessage: string;
47750
+ errorReason: string;
47751
+ enabled: boolean;
47752
+ };
47753
+ designSystemSourceAutoImport: {
47754
+ errorMessage: string;
47755
+ errorReason: string;
47756
+ enabled: boolean;
47757
+ };
47758
+ designSystemSlug: {
47759
+ errorMessage: string;
47760
+ errorReason: string;
47761
+ enabled: boolean;
47762
+ };
47763
+ ipWhitelisting: {
47764
+ errorMessage: string;
47765
+ errorReason: string;
47766
+ enabled: boolean;
47767
+ };
47768
+ npmRegistry: {
47769
+ errorMessage: string;
47770
+ errorReason: string;
47771
+ enabled: boolean;
47772
+ };
47773
+ sso: {
47774
+ errorMessage: string;
47775
+ errorReason: string;
47776
+ enabled: boolean;
47777
+ };
47778
+ workspacePaidSeats: {
47779
+ max: number;
47780
+ errorMessage: string;
47781
+ errorReason: string;
47782
+ };
47783
+ workspaceViewers: {
47784
+ max: number;
47785
+ errorMessage: string;
47786
+ errorReason: string;
47787
+ };
47788
+ customDocumentationExporter: {
47789
+ errorMessage: string;
47790
+ errorReason: string;
47791
+ enabled: boolean;
47792
+ };
47793
+ protectedPages: {
47794
+ errorMessage: string;
47795
+ errorReason: string;
47796
+ enabled: boolean;
47797
+ };
47798
+ approvals: {
47799
+ errorMessage: string;
47800
+ errorReason: string;
47801
+ enabled: boolean;
47802
+ };
47803
+ selectivePublishing: {
47804
+ errorMessage: string;
47805
+ errorReason: string;
47806
+ enabled: boolean;
47807
+ };
47808
+ designSystemAccessModes: {
47809
+ errorMessage: string;
47810
+ errorReason: string;
47811
+ enabled: boolean;
47812
+ };
47813
+ } | undefined;
47814
+ stripeSubscriptionMainItemId?: string | undefined;
47815
+ currentPeriodStart?: string | undefined;
47816
+ currentPeriodEnd?: string | undefined;
47817
+ subscriptionStatusUpdatedAt?: string | undefined;
47818
+ cancelAt?: string | null | undefined;
47819
+ billingType?: "Auto" | "Invoice" | undefined;
47820
+ daysUntilDue?: number | undefined;
47821
+ };
47822
+ npmRegistry?: {
47823
+ enabledScopes: string[];
47824
+ bypassProxy: boolean;
47825
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
47826
+ authType: "Custom" | "None" | "Basic" | "Bearer";
47827
+ registryUrl: string;
47828
+ proxyUrl: string;
47829
+ customRegistryUrl?: string | undefined;
47830
+ accessToken?: string | undefined;
47831
+ username?: string | undefined;
47832
+ password?: string | undefined;
47833
+ } | undefined;
47834
+ };
47835
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
47836
+ }[];
47837
+ }>;
47838
+ update(workspaceId: string, body: UpdateMembershipRolesInput): Promise<{
47839
+ workspace: {
47840
+ id: string;
47841
+ profile: {
47842
+ name: string;
47843
+ color: string;
47844
+ handle: string;
47845
+ avatar?: string | undefined;
47846
+ billingDetails?: {
47847
+ address?: {
47848
+ street1?: string | undefined;
47849
+ street2?: string | undefined;
47850
+ city?: string | undefined;
47851
+ postal?: string | undefined;
47852
+ country?: string | undefined;
47853
+ state?: string | undefined;
47854
+ } | undefined;
47855
+ email?: string | undefined;
47856
+ companyName?: string | undefined;
47857
+ companyId?: string | undefined;
47858
+ notes?: string | undefined;
47859
+ vat?: string | undefined;
47860
+ poNumber?: string | undefined;
47861
+ } | undefined;
47862
+ };
47863
+ subscription: {
47864
+ product: "free" | "team" | "company" | "enterprise";
47865
+ planPriceId: string;
47866
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
47867
+ seats: number;
47868
+ seatLimit: number;
47869
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
47870
+ card?: {
47871
+ cardId?: string | null | undefined;
47872
+ last4?: string | null | undefined;
47873
+ expiryMonth?: string | null | undefined;
47874
+ expiryYear?: string | null | undefined;
47875
+ brand?: string | null | undefined;
47876
+ name?: string | null | undefined;
47877
+ } | undefined;
47878
+ amount?: number | null | undefined;
47879
+ stripeProductDescription?: string | undefined;
47880
+ isPricePerCreator?: boolean | undefined;
47881
+ isTrial?: boolean | undefined;
47882
+ legacyVersion?: string | undefined;
47883
+ stripeProductFeatures?: string[] | undefined;
47884
+ stripeProductAdditionalFeatures?: string[] | undefined;
47885
+ stripeSubscriptionId?: string | null | undefined;
47886
+ stripeCustomerId?: string | null | undefined;
47887
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
47888
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
47889
+ featuresSummary?: {
47890
+ designSystems: {
47891
+ max: number;
47892
+ errorMessage: string;
47893
+ errorReason: string;
47894
+ };
47895
+ designSystemSources: {
47896
+ max: number;
47897
+ errorMessage: string;
47898
+ errorReason: string;
47899
+ noImportJobsErrorMessage: string;
47900
+ noImportJobsErrorReason: string;
47901
+ };
47902
+ designSystemVersions: {
47903
+ max: number;
47904
+ errorMessage: string;
47905
+ errorReason: string;
47906
+ };
47907
+ themes: {
47908
+ max: number;
47909
+ errorMessage: string;
47910
+ errorReason: string;
47911
+ };
47912
+ brands: {
47913
+ max: number;
47914
+ errorMessage: string;
47915
+ errorReason: string;
47916
+ };
47917
+ codegenSchedules: {
47918
+ max: number;
47919
+ errorMessage: string;
47920
+ errorReason: string;
47921
+ };
47922
+ publicDocumentation: {
47923
+ errorMessage: string;
47924
+ errorReason: string;
47925
+ enabled: boolean;
47926
+ };
47927
+ customDocumentationUrl: {
47928
+ errorMessage: string;
47929
+ errorReason: string;
47930
+ enabled: boolean;
47931
+ };
47932
+ customDocumentationViewButton: {
47933
+ errorMessage: string;
47934
+ errorReason: string;
47935
+ enabled: boolean;
47936
+ };
47937
+ designSystemSourceAutoImport: {
47938
+ errorMessage: string;
47939
+ errorReason: string;
47940
+ enabled: boolean;
47941
+ };
47942
+ designSystemSlug: {
47943
+ errorMessage: string;
47944
+ errorReason: string;
47945
+ enabled: boolean;
47946
+ };
47947
+ ipWhitelisting: {
47948
+ errorMessage: string;
47949
+ errorReason: string;
47950
+ enabled: boolean;
47951
+ };
47952
+ npmRegistry: {
47953
+ errorMessage: string;
47954
+ errorReason: string;
47955
+ enabled: boolean;
47956
+ };
47957
+ sso: {
47958
+ errorMessage: string;
47959
+ errorReason: string;
47960
+ enabled: boolean;
47961
+ };
47962
+ workspacePaidSeats: {
47963
+ max: number;
47964
+ errorMessage: string;
47965
+ errorReason: string;
47966
+ };
47967
+ workspaceViewers: {
47968
+ max: number;
47969
+ errorMessage: string;
47970
+ errorReason: string;
47971
+ };
47972
+ customDocumentationExporter: {
47973
+ errorMessage: string;
47974
+ errorReason: string;
47975
+ enabled: boolean;
47976
+ };
47977
+ protectedPages: {
47978
+ errorMessage: string;
47979
+ errorReason: string;
47980
+ enabled: boolean;
47981
+ };
47982
+ approvals: {
47983
+ errorMessage: string;
47984
+ errorReason: string;
47985
+ enabled: boolean;
47986
+ };
47987
+ selectivePublishing: {
47988
+ errorMessage: string;
47989
+ errorReason: string;
47990
+ enabled: boolean;
47991
+ };
47992
+ designSystemAccessModes: {
47993
+ errorMessage: string;
47994
+ errorReason: string;
47995
+ enabled: boolean;
47996
+ };
47997
+ } | undefined;
47998
+ stripeSubscriptionMainItemId?: string | undefined;
47999
+ currentPeriodStart?: string | undefined;
48000
+ currentPeriodEnd?: string | undefined;
48001
+ subscriptionStatusUpdatedAt?: string | undefined;
48002
+ cancelAt?: string | null | undefined;
48003
+ billingType?: "Auto" | "Invoice" | undefined;
48004
+ daysUntilDue?: number | undefined;
48005
+ };
48006
+ npmRegistry?: {
48007
+ enabledScopes: string[];
48008
+ bypassProxy: boolean;
48009
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
48010
+ authType: "Custom" | "None" | "Basic" | "Bearer";
48011
+ registryUrl: string;
48012
+ proxyUrl: string;
48013
+ customRegistryUrl?: string | undefined;
48014
+ accessToken?: string | undefined;
48015
+ username?: string | undefined;
48016
+ password?: string | undefined;
48017
+ } | undefined;
48018
+ };
48019
+ }>;
48020
+ invite(workspaceId: string, body: DTOWorkspaceInvitationsListInput): Promise<any>;
48021
+ delete(workspaceId: string, userId: string): Promise<{
48022
+ workspace: {
48023
+ id: string;
48024
+ profile: {
48025
+ name: string;
48026
+ color: string;
48027
+ handle: string;
48028
+ avatar?: string | undefined;
48029
+ billingDetails?: {
48030
+ address?: {
48031
+ street1?: string | undefined;
48032
+ street2?: string | undefined;
48033
+ city?: string | undefined;
48034
+ postal?: string | undefined;
48035
+ country?: string | undefined;
48036
+ state?: string | undefined;
48037
+ } | undefined;
48038
+ email?: string | undefined;
48039
+ companyName?: string | undefined;
48040
+ companyId?: string | undefined;
48041
+ notes?: string | undefined;
48042
+ vat?: string | undefined;
48043
+ poNumber?: string | undefined;
48044
+ } | undefined;
48045
+ };
48046
+ subscription: {
48047
+ product: "free" | "team" | "company" | "enterprise";
48048
+ planPriceId: string;
48049
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
48050
+ seats: number;
48051
+ seatLimit: number;
48052
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
48053
+ card?: {
48054
+ cardId?: string | null | undefined;
48055
+ last4?: string | null | undefined;
48056
+ expiryMonth?: string | null | undefined;
48057
+ expiryYear?: string | null | undefined;
48058
+ brand?: string | null | undefined;
48059
+ name?: string | null | undefined;
48060
+ } | undefined;
48061
+ amount?: number | null | undefined;
48062
+ stripeProductDescription?: string | undefined;
48063
+ isPricePerCreator?: boolean | undefined;
48064
+ isTrial?: boolean | undefined;
48065
+ legacyVersion?: string | undefined;
48066
+ stripeProductFeatures?: string[] | undefined;
48067
+ stripeProductAdditionalFeatures?: string[] | undefined;
48068
+ stripeSubscriptionId?: string | null | undefined;
48069
+ stripeCustomerId?: string | null | undefined;
48070
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
48071
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
48072
+ featuresSummary?: {
48073
+ designSystems: {
48074
+ max: number;
48075
+ errorMessage: string;
48076
+ errorReason: string;
48077
+ };
48078
+ designSystemSources: {
48079
+ max: number;
48080
+ errorMessage: string;
48081
+ errorReason: string;
48082
+ noImportJobsErrorMessage: string;
48083
+ noImportJobsErrorReason: string;
48084
+ };
48085
+ designSystemVersions: {
48086
+ max: number;
48087
+ errorMessage: string;
48088
+ errorReason: string;
48089
+ };
48090
+ themes: {
48091
+ max: number;
48092
+ errorMessage: string;
48093
+ errorReason: string;
48094
+ };
48095
+ brands: {
48096
+ max: number;
48097
+ errorMessage: string;
48098
+ errorReason: string;
48099
+ };
48100
+ codegenSchedules: {
48101
+ max: number;
48102
+ errorMessage: string;
48103
+ errorReason: string;
48104
+ };
48105
+ publicDocumentation: {
48106
+ errorMessage: string;
48107
+ errorReason: string;
48108
+ enabled: boolean;
48109
+ };
48110
+ customDocumentationUrl: {
48111
+ errorMessage: string;
48112
+ errorReason: string;
48113
+ enabled: boolean;
48114
+ };
48115
+ customDocumentationViewButton: {
48116
+ errorMessage: string;
48117
+ errorReason: string;
48118
+ enabled: boolean;
48119
+ };
48120
+ designSystemSourceAutoImport: {
48121
+ errorMessage: string;
48122
+ errorReason: string;
48123
+ enabled: boolean;
48124
+ };
48125
+ designSystemSlug: {
48126
+ errorMessage: string;
48127
+ errorReason: string;
48128
+ enabled: boolean;
48129
+ };
48130
+ ipWhitelisting: {
48131
+ errorMessage: string;
48132
+ errorReason: string;
48133
+ enabled: boolean;
48134
+ };
48135
+ npmRegistry: {
48136
+ errorMessage: string;
48137
+ errorReason: string;
48138
+ enabled: boolean;
48139
+ };
48140
+ sso: {
48141
+ errorMessage: string;
48142
+ errorReason: string;
48143
+ enabled: boolean;
48144
+ };
48145
+ workspacePaidSeats: {
48146
+ max: number;
48147
+ errorMessage: string;
48148
+ errorReason: string;
48149
+ };
48150
+ workspaceViewers: {
48151
+ max: number;
48152
+ errorMessage: string;
48153
+ errorReason: string;
48154
+ };
48155
+ customDocumentationExporter: {
48156
+ errorMessage: string;
48157
+ errorReason: string;
48158
+ enabled: boolean;
48159
+ };
48160
+ protectedPages: {
48161
+ errorMessage: string;
48162
+ errorReason: string;
48163
+ enabled: boolean;
48164
+ };
48165
+ approvals: {
48166
+ errorMessage: string;
48167
+ errorReason: string;
48168
+ enabled: boolean;
48169
+ };
48170
+ selectivePublishing: {
48171
+ errorMessage: string;
48172
+ errorReason: string;
48173
+ enabled: boolean;
48174
+ };
48175
+ designSystemAccessModes: {
48176
+ errorMessage: string;
48177
+ errorReason: string;
48178
+ enabled: boolean;
48179
+ };
48180
+ } | undefined;
48181
+ stripeSubscriptionMainItemId?: string | undefined;
48182
+ currentPeriodStart?: string | undefined;
48183
+ currentPeriodEnd?: string | undefined;
48184
+ subscriptionStatusUpdatedAt?: string | undefined;
48185
+ cancelAt?: string | null | undefined;
48186
+ billingType?: "Auto" | "Invoice" | undefined;
48187
+ daysUntilDue?: number | undefined;
48188
+ };
48189
+ npmRegistry?: {
48190
+ enabledScopes: string[];
48191
+ bypassProxy: boolean;
48192
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
48193
+ authType: "Custom" | "None" | "Basic" | "Bearer";
48194
+ registryUrl: string;
48195
+ proxyUrl: string;
48196
+ customRegistryUrl?: string | undefined;
48197
+ accessToken?: string | undefined;
48198
+ username?: string | undefined;
48199
+ password?: string | undefined;
48200
+ } | undefined;
48201
+ };
48202
+ }>;
48203
+ }
48204
+
48205
+ declare class WorkspacesEndpoint {
48206
+ private readonly requestExecutor;
48207
+ members: WorkspaceMembersEndpoint;
48208
+ constructor(requestExecutor: RequestExecutor);
48209
+ create(body: DTOWorkspaceCreateInput): Promise<{
48210
+ workspace: {
48211
+ id: string;
48212
+ profile: {
48213
+ name: string;
48214
+ color: string;
48215
+ handle: string;
48216
+ avatar?: string | undefined;
48217
+ billingDetails?: {
48218
+ address?: {
48219
+ street1?: string | undefined;
48220
+ street2?: string | undefined;
48221
+ city?: string | undefined;
48222
+ postal?: string | undefined;
48223
+ country?: string | undefined;
48224
+ state?: string | undefined;
48225
+ } | undefined;
48226
+ email?: string | undefined;
48227
+ companyName?: string | undefined;
48228
+ companyId?: string | undefined;
48229
+ notes?: string | undefined;
48230
+ vat?: string | undefined;
48231
+ poNumber?: string | undefined;
48232
+ } | undefined;
48233
+ };
48234
+ subscription: {
48235
+ product: "free" | "team" | "company" | "enterprise";
48236
+ planPriceId: string;
48237
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
48238
+ seats: number;
48239
+ seatLimit: number;
48240
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
48241
+ card?: {
48242
+ cardId?: string | null | undefined;
48243
+ last4?: string | null | undefined;
48244
+ expiryMonth?: string | null | undefined;
48245
+ expiryYear?: string | null | undefined;
48246
+ brand?: string | null | undefined;
48247
+ name?: string | null | undefined;
48248
+ } | undefined;
48249
+ amount?: number | null | undefined;
48250
+ stripeProductDescription?: string | undefined;
48251
+ isPricePerCreator?: boolean | undefined;
48252
+ isTrial?: boolean | undefined;
48253
+ legacyVersion?: string | undefined;
48254
+ stripeProductFeatures?: string[] | undefined;
48255
+ stripeProductAdditionalFeatures?: string[] | undefined;
48256
+ stripeSubscriptionId?: string | null | undefined;
48257
+ stripeCustomerId?: string | null | undefined;
48258
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
48259
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
48260
+ featuresSummary?: {
48261
+ designSystems: {
48262
+ max: number;
48263
+ errorMessage: string;
48264
+ errorReason: string;
48265
+ };
48266
+ designSystemSources: {
48267
+ max: number;
48268
+ errorMessage: string;
48269
+ errorReason: string;
48270
+ noImportJobsErrorMessage: string;
48271
+ noImportJobsErrorReason: string;
48272
+ };
48273
+ designSystemVersions: {
48274
+ max: number;
48275
+ errorMessage: string;
48276
+ errorReason: string;
48277
+ };
48278
+ themes: {
48279
+ max: number;
48280
+ errorMessage: string;
48281
+ errorReason: string;
48282
+ };
48283
+ brands: {
48284
+ max: number;
48285
+ errorMessage: string;
48286
+ errorReason: string;
48287
+ };
48288
+ codegenSchedules: {
48289
+ max: number;
48290
+ errorMessage: string;
48291
+ errorReason: string;
48292
+ };
48293
+ publicDocumentation: {
48294
+ errorMessage: string;
48295
+ errorReason: string;
48296
+ enabled: boolean;
48297
+ };
48298
+ customDocumentationUrl: {
48299
+ errorMessage: string;
48300
+ errorReason: string;
48301
+ enabled: boolean;
48302
+ };
48303
+ customDocumentationViewButton: {
48304
+ errorMessage: string;
48305
+ errorReason: string;
48306
+ enabled: boolean;
48307
+ };
48308
+ designSystemSourceAutoImport: {
48309
+ errorMessage: string;
48310
+ errorReason: string;
48311
+ enabled: boolean;
48312
+ };
48313
+ designSystemSlug: {
48314
+ errorMessage: string;
48315
+ errorReason: string;
48316
+ enabled: boolean;
48317
+ };
48318
+ ipWhitelisting: {
48319
+ errorMessage: string;
48320
+ errorReason: string;
48321
+ enabled: boolean;
48322
+ };
48323
+ npmRegistry: {
48324
+ errorMessage: string;
48325
+ errorReason: string;
48326
+ enabled: boolean;
48327
+ };
48328
+ sso: {
48329
+ errorMessage: string;
48330
+ errorReason: string;
48331
+ enabled: boolean;
48332
+ };
48333
+ workspacePaidSeats: {
48334
+ max: number;
48335
+ errorMessage: string;
48336
+ errorReason: string;
48337
+ };
48338
+ workspaceViewers: {
48339
+ max: number;
48340
+ errorMessage: string;
48341
+ errorReason: string;
48342
+ };
48343
+ customDocumentationExporter: {
48344
+ errorMessage: string;
48345
+ errorReason: string;
48346
+ enabled: boolean;
48347
+ };
48348
+ protectedPages: {
48349
+ errorMessage: string;
48350
+ errorReason: string;
48351
+ enabled: boolean;
48352
+ };
48353
+ approvals: {
48354
+ errorMessage: string;
48355
+ errorReason: string;
48356
+ enabled: boolean;
48357
+ };
48358
+ selectivePublishing: {
48359
+ errorMessage: string;
48360
+ errorReason: string;
48361
+ enabled: boolean;
48362
+ };
48363
+ designSystemAccessModes: {
48364
+ errorMessage: string;
48365
+ errorReason: string;
48366
+ enabled: boolean;
48367
+ };
48368
+ } | undefined;
48369
+ stripeSubscriptionMainItemId?: string | undefined;
48370
+ currentPeriodStart?: string | undefined;
48371
+ currentPeriodEnd?: string | undefined;
48372
+ subscriptionStatusUpdatedAt?: string | undefined;
48373
+ cancelAt?: string | null | undefined;
48374
+ billingType?: "Auto" | "Invoice" | undefined;
48375
+ daysUntilDue?: number | undefined;
48376
+ };
48377
+ npmRegistry?: {
48378
+ enabledScopes: string[];
48379
+ bypassProxy: boolean;
48380
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
48381
+ authType: "Custom" | "None" | "Basic" | "Bearer";
48382
+ registryUrl: string;
48383
+ proxyUrl: string;
48384
+ customRegistryUrl?: string | undefined;
48385
+ accessToken?: string | undefined;
48386
+ username?: string | undefined;
48387
+ password?: string | undefined;
48388
+ } | undefined;
48389
+ };
48390
+ }>;
48391
+ delete(workspaceId: string): Promise<any>;
48392
+ subscription(workspaceId: string): Promise<any>;
48393
+ }
48394
+
47123
48395
  type SupernovaApiClientConfig = {
47124
48396
  host: string;
47125
48397
  accessToken: string;
@@ -49681,4 +50953,4 @@ declare class FrontendVersionRoomYDoc {
49681
50953
 
49682
50954
  declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
49683
50955
 
49684
- export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemCreateResponse, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserProfile, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceCreateResponse, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationsListInput, DTOWorkspaceRole, DesignSystemsEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, SupernovaApiClient, UsersEndpoint, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, WorkspacesEndpoint, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
50956
+ export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserOnboarding, DTOUserOnboardingDepartment, DTOUserOnboardingJobLevel, DTOUserProfile, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserSource, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationsListInput, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemMembersEndpoint, DesignSystemsEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, SupernovaApiClient, UsersEndpoint, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, WorkspaceMembersEndpoint, WorkspacesEndpoint, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };