@supernova-studio/client 0.55.28 → 0.55.29

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
@@ -23818,6 +23818,9 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
23818
23818
  } | null | undefined;
23819
23819
  imageAlt?: string | null | undefined;
23820
23820
  numberOfColumns?: number | null | undefined;
23821
+ itemBackgroundColor?: {
23822
+ value: string;
23823
+ } | null | undefined;
23821
23824
  designObjectId?: string | null | undefined;
23822
23825
  designObjectIds?: string[] | null | undefined;
23823
23826
  showNestedGroups?: boolean | null | undefined;
@@ -24406,6 +24409,9 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
24406
24409
  } | null | undefined;
24407
24410
  imageAlt?: string | null | undefined;
24408
24411
  numberOfColumns?: number | null | undefined;
24412
+ itemBackgroundColor?: {
24413
+ value: string;
24414
+ } | null | undefined;
24409
24415
  designObjectId?: string | null | undefined;
24410
24416
  designObjectIds?: string[] | null | undefined;
24411
24417
  showNestedGroups?: boolean | null | undefined;
@@ -25218,6 +25224,9 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
25218
25224
  } | null | undefined;
25219
25225
  imageAlt?: string | null | undefined;
25220
25226
  numberOfColumns?: number | null | undefined;
25227
+ itemBackgroundColor?: {
25228
+ value: string;
25229
+ } | null | undefined;
25221
25230
  designObjectId?: string | null | undefined;
25222
25231
  designObjectIds?: string[] | null | undefined;
25223
25232
  showNestedGroups?: boolean | null | undefined;
@@ -25459,6 +25468,9 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
25459
25468
  } | null | undefined;
25460
25469
  imageAlt?: string | null | undefined;
25461
25470
  numberOfColumns?: number | null | undefined;
25471
+ itemBackgroundColor?: {
25472
+ value: string;
25473
+ } | null | undefined;
25462
25474
  designObjectId?: string | null | undefined;
25463
25475
  designObjectIds?: string[] | null | undefined;
25464
25476
  showNestedGroups?: boolean | null | undefined;
@@ -25818,6 +25830,9 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
25818
25830
  } | null | undefined;
25819
25831
  imageAlt?: string | null | undefined;
25820
25832
  numberOfColumns?: number | null | undefined;
25833
+ itemBackgroundColor?: {
25834
+ value: string;
25835
+ } | null | undefined;
25821
25836
  designObjectId?: string | null | undefined;
25822
25837
  designObjectIds?: string[] | null | undefined;
25823
25838
  showNestedGroups?: boolean | null | undefined;
@@ -26059,6 +26074,9 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
26059
26074
  } | null | undefined;
26060
26075
  imageAlt?: string | null | undefined;
26061
26076
  numberOfColumns?: number | null | undefined;
26077
+ itemBackgroundColor?: {
26078
+ value: string;
26079
+ } | null | undefined;
26062
26080
  designObjectId?: string | null | undefined;
26063
26081
  designObjectIds?: string[] | null | undefined;
26064
26082
  showNestedGroups?: boolean | null | undefined;
@@ -38833,185 +38851,762 @@ declare const DTOWorkspaceInvitationsResponse: z.ZodObject<{
38833
38851
  }>;
38834
38852
  type DTOWorkspaceInvitationsResponse = z.infer<typeof DTOWorkspaceInvitationsResponse>;
38835
38853
 
38836
- declare const DTOWorkspaceRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
38837
- type DTOWorkspaceRole = z.infer<typeof DTOWorkspaceRole>;
38838
- declare const DTOUserWorkspaceMembership: z.ZodObject<{
38839
- workspace: z.ZodObject<{
38854
+ declare const DTOWorkspaceMember: z.ZodObject<{
38855
+ user: z.ZodObject<{
38840
38856
  id: z.ZodString;
38857
+ email: z.ZodString;
38858
+ emailVerified: z.ZodBoolean;
38859
+ createdAt: z.ZodDate;
38860
+ trialExpiresAt: z.ZodOptional<z.ZodDate>;
38841
38861
  profile: z.ZodObject<{
38842
38862
  name: z.ZodString;
38843
- handle: z.ZodString;
38844
- color: z.ZodString;
38845
- avatar: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
38846
- billingDetails: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
38847
- address?: {
38848
- street1?: string | undefined;
38849
- street2?: string | undefined;
38850
- city?: string | undefined;
38851
- postal?: string | undefined;
38852
- country?: string | undefined;
38853
- state?: string | undefined;
38854
- } | undefined;
38855
- email?: string | undefined;
38863
+ avatar: z.ZodOptional<z.ZodString>;
38864
+ nickname: z.ZodOptional<z.ZodString>;
38865
+ onboarding: z.ZodOptional<z.ZodObject<{
38866
+ companyName: z.ZodOptional<z.ZodString>;
38867
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
38868
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
38869
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>>;
38870
+ jobTitle: z.ZodOptional<z.ZodString>;
38871
+ phase: z.ZodOptional<z.ZodString>;
38872
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
38873
+ designSystemName: z.ZodOptional<z.ZodString>;
38874
+ defaultDestination: z.ZodOptional<z.ZodString>;
38875
+ figmaUrl: z.ZodOptional<z.ZodString>;
38876
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
38877
+ isApprovalsOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
38878
+ }, "strip", z.ZodTypeAny, {
38856
38879
  companyName?: string | undefined;
38857
- companyId?: string | undefined;
38858
- notes?: string | undefined;
38859
- vat?: string | undefined;
38860
- poNumber?: string | undefined;
38861
- }, z.ZodTypeDef, {
38862
- address?: {
38863
- street1?: string | null | undefined;
38864
- street2?: string | null | undefined;
38865
- city?: string | null | undefined;
38866
- postal?: string | null | undefined;
38867
- country?: string | null | undefined;
38868
- state?: string | null | undefined;
38869
- } | null | undefined;
38870
- email?: string | null | undefined;
38871
- companyName?: string | null | undefined;
38872
- companyId?: string | null | undefined;
38873
- notes?: string | null | undefined;
38874
- vat?: string | null | undefined;
38875
- poNumber?: string | null | undefined;
38876
- }>>>, {
38877
- address?: {
38878
- street1?: string | undefined;
38879
- street2?: string | undefined;
38880
- city?: string | undefined;
38881
- postal?: string | undefined;
38882
- country?: string | undefined;
38883
- state?: string | undefined;
38884
- } | undefined;
38885
- email?: string | undefined;
38880
+ numberOfPeopleInOrg?: string | undefined;
38881
+ numberOfPeopleInDesignTeam?: string | undefined;
38882
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
38883
+ jobTitle?: string | undefined;
38884
+ phase?: string | undefined;
38885
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
38886
+ designSystemName?: string | undefined;
38887
+ defaultDestination?: string | undefined;
38888
+ figmaUrl?: string | undefined;
38889
+ isPageDraftOnboardingFinished?: boolean | undefined;
38890
+ isApprovalsOnboardingFinished?: boolean | undefined;
38891
+ }, {
38886
38892
  companyName?: string | undefined;
38887
- companyId?: string | undefined;
38888
- notes?: string | undefined;
38889
- vat?: string | undefined;
38890
- poNumber?: string | undefined;
38891
- } | undefined, {
38892
- address?: {
38893
- street1?: string | null | undefined;
38894
- street2?: string | null | undefined;
38895
- city?: string | null | undefined;
38896
- postal?: string | null | undefined;
38897
- country?: string | null | undefined;
38898
- state?: string | null | undefined;
38899
- } | null | undefined;
38900
- email?: string | null | undefined;
38901
- companyName?: string | null | undefined;
38902
- companyId?: string | null | undefined;
38903
- notes?: string | null | undefined;
38904
- vat?: string | null | undefined;
38905
- poNumber?: string | null | undefined;
38906
- } | null | undefined>;
38893
+ numberOfPeopleInOrg?: string | undefined;
38894
+ numberOfPeopleInDesignTeam?: string | undefined;
38895
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
38896
+ jobTitle?: string | undefined;
38897
+ phase?: string | undefined;
38898
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
38899
+ designSystemName?: string | undefined;
38900
+ defaultDestination?: string | undefined;
38901
+ figmaUrl?: string | undefined;
38902
+ isPageDraftOnboardingFinished?: boolean | undefined;
38903
+ isApprovalsOnboardingFinished?: boolean | undefined;
38904
+ }>>;
38907
38905
  }, "strip", z.ZodTypeAny, {
38908
38906
  name: string;
38909
- color: string;
38910
- handle: string;
38911
38907
  avatar?: string | undefined;
38912
- billingDetails?: {
38913
- address?: {
38914
- street1?: string | undefined;
38915
- street2?: string | undefined;
38916
- city?: string | undefined;
38917
- postal?: string | undefined;
38918
- country?: string | undefined;
38919
- state?: string | undefined;
38920
- } | undefined;
38921
- email?: string | undefined;
38908
+ nickname?: string | undefined;
38909
+ onboarding?: {
38922
38910
  companyName?: string | undefined;
38923
- companyId?: string | undefined;
38924
- notes?: string | undefined;
38925
- vat?: string | undefined;
38926
- poNumber?: string | undefined;
38911
+ numberOfPeopleInOrg?: string | undefined;
38912
+ numberOfPeopleInDesignTeam?: string | undefined;
38913
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
38914
+ jobTitle?: string | undefined;
38915
+ phase?: string | undefined;
38916
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
38917
+ designSystemName?: string | undefined;
38918
+ defaultDestination?: string | undefined;
38919
+ figmaUrl?: string | undefined;
38920
+ isPageDraftOnboardingFinished?: boolean | undefined;
38921
+ isApprovalsOnboardingFinished?: boolean | undefined;
38927
38922
  } | undefined;
38928
38923
  }, {
38929
38924
  name: string;
38930
- color: string;
38931
- handle: string;
38932
- avatar?: string | null | undefined;
38933
- billingDetails?: {
38934
- address?: {
38935
- street1?: string | null | undefined;
38936
- street2?: string | null | undefined;
38937
- city?: string | null | undefined;
38938
- postal?: string | null | undefined;
38939
- country?: string | null | undefined;
38940
- state?: string | null | undefined;
38941
- } | null | undefined;
38942
- email?: string | null | undefined;
38943
- companyName?: string | null | undefined;
38944
- companyId?: string | null | undefined;
38945
- notes?: string | null | undefined;
38946
- vat?: string | null | undefined;
38947
- poNumber?: string | null | undefined;
38948
- } | null | undefined;
38925
+ avatar?: string | undefined;
38926
+ nickname?: string | undefined;
38927
+ onboarding?: {
38928
+ companyName?: string | undefined;
38929
+ numberOfPeopleInOrg?: string | undefined;
38930
+ numberOfPeopleInDesignTeam?: string | undefined;
38931
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
38932
+ jobTitle?: string | undefined;
38933
+ phase?: string | undefined;
38934
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
38935
+ designSystemName?: string | undefined;
38936
+ defaultDestination?: string | undefined;
38937
+ figmaUrl?: string | undefined;
38938
+ isPageDraftOnboardingFinished?: boolean | undefined;
38939
+ isApprovalsOnboardingFinished?: boolean | undefined;
38940
+ } | undefined;
38949
38941
  }>;
38950
- subscription: z.ZodObject<{
38951
- stripeSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38952
- stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38953
- status: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
38954
- subscriptionStatus: z.ZodOptional<z.ZodEnum<["trialing", "active", "past_due", "canceled", "unpaid", "incomplete_expired", "incomplete", "unknown"]>>;
38955
- internalStatus: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
38956
- product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
38957
- featuresSummary: z.ZodOptional<z.ZodObject<{
38958
- designSystems: z.ZodObject<{
38959
- max: z.ZodNumber;
38960
- errorMessage: z.ZodString;
38961
- errorReason: z.ZodString;
38962
- }, "strip", z.ZodTypeAny, {
38963
- max: number;
38964
- errorMessage: string;
38965
- errorReason: string;
38966
- }, {
38967
- max: number;
38968
- errorMessage: string;
38969
- errorReason: string;
38970
- }>;
38971
- designSystemSources: z.ZodObject<z.objectUtil.extendShape<{
38972
- max: z.ZodNumber;
38973
- errorMessage: z.ZodString;
38974
- errorReason: z.ZodString;
38975
- }, {
38976
- noImportJobsErrorMessage: z.ZodString;
38977
- noImportJobsErrorReason: z.ZodString;
38978
- }>, "strip", z.ZodTypeAny, {
38979
- max: number;
38980
- errorMessage: string;
38981
- errorReason: string;
38982
- noImportJobsErrorMessage: string;
38983
- noImportJobsErrorReason: string;
38984
- }, {
38985
- max: number;
38986
- errorMessage: string;
38987
- errorReason: string;
38988
- noImportJobsErrorMessage: string;
38989
- noImportJobsErrorReason: string;
38990
- }>;
38991
- designSystemVersions: z.ZodObject<{
38992
- max: z.ZodNumber;
38993
- errorMessage: z.ZodString;
38994
- errorReason: z.ZodString;
38995
- }, "strip", z.ZodTypeAny, {
38996
- max: number;
38997
- errorMessage: string;
38998
- errorReason: string;
38999
- }, {
39000
- max: number;
39001
- errorMessage: string;
39002
- errorReason: string;
39003
- }>;
39004
- themes: z.ZodObject<{
39005
- max: z.ZodNumber;
39006
- errorMessage: z.ZodString;
39007
- errorReason: z.ZodString;
39008
- }, "strip", z.ZodTypeAny, {
39009
- max: number;
39010
- errorMessage: string;
39011
- errorReason: string;
39012
- }, {
39013
- max: number;
39014
- errorMessage: string;
38942
+ linkedIntegrations: z.ZodOptional<z.ZodObject<{
38943
+ figma: z.ZodOptional<z.ZodObject<{
38944
+ id: z.ZodString;
38945
+ handle: z.ZodOptional<z.ZodString>;
38946
+ avatarUrl: z.ZodOptional<z.ZodString>;
38947
+ email: z.ZodOptional<z.ZodString>;
38948
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
38949
+ customUrl: z.ZodOptional<z.ZodString>;
38950
+ }, "strip", z.ZodTypeAny, {
38951
+ id: string;
38952
+ email?: string | undefined;
38953
+ authType?: "OAuth2" | "PAT" | undefined;
38954
+ handle?: string | undefined;
38955
+ avatarUrl?: string | undefined;
38956
+ customUrl?: string | undefined;
38957
+ }, {
38958
+ id: string;
38959
+ email?: string | undefined;
38960
+ authType?: "OAuth2" | "PAT" | undefined;
38961
+ handle?: string | undefined;
38962
+ avatarUrl?: string | undefined;
38963
+ customUrl?: string | undefined;
38964
+ }>>;
38965
+ github: z.ZodOptional<z.ZodArray<z.ZodObject<{
38966
+ id: z.ZodString;
38967
+ handle: z.ZodOptional<z.ZodString>;
38968
+ avatarUrl: z.ZodOptional<z.ZodString>;
38969
+ email: z.ZodOptional<z.ZodString>;
38970
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
38971
+ customUrl: z.ZodOptional<z.ZodString>;
38972
+ }, "strip", z.ZodTypeAny, {
38973
+ id: string;
38974
+ email?: string | undefined;
38975
+ authType?: "OAuth2" | "PAT" | undefined;
38976
+ handle?: string | undefined;
38977
+ avatarUrl?: string | undefined;
38978
+ customUrl?: string | undefined;
38979
+ }, {
38980
+ id: string;
38981
+ email?: string | undefined;
38982
+ authType?: "OAuth2" | "PAT" | undefined;
38983
+ handle?: string | undefined;
38984
+ avatarUrl?: string | undefined;
38985
+ customUrl?: string | undefined;
38986
+ }>, "many">>;
38987
+ azure: z.ZodOptional<z.ZodArray<z.ZodObject<{
38988
+ id: z.ZodString;
38989
+ handle: z.ZodOptional<z.ZodString>;
38990
+ avatarUrl: z.ZodOptional<z.ZodString>;
38991
+ email: z.ZodOptional<z.ZodString>;
38992
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
38993
+ customUrl: z.ZodOptional<z.ZodString>;
38994
+ }, "strip", z.ZodTypeAny, {
38995
+ id: string;
38996
+ email?: string | undefined;
38997
+ authType?: "OAuth2" | "PAT" | undefined;
38998
+ handle?: string | undefined;
38999
+ avatarUrl?: string | undefined;
39000
+ customUrl?: string | undefined;
39001
+ }, {
39002
+ id: string;
39003
+ email?: string | undefined;
39004
+ authType?: "OAuth2" | "PAT" | undefined;
39005
+ handle?: string | undefined;
39006
+ avatarUrl?: string | undefined;
39007
+ customUrl?: string | undefined;
39008
+ }>, "many">>;
39009
+ gitlab: z.ZodOptional<z.ZodArray<z.ZodObject<{
39010
+ id: z.ZodString;
39011
+ handle: z.ZodOptional<z.ZodString>;
39012
+ avatarUrl: z.ZodOptional<z.ZodString>;
39013
+ email: z.ZodOptional<z.ZodString>;
39014
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
39015
+ customUrl: z.ZodOptional<z.ZodString>;
39016
+ }, "strip", z.ZodTypeAny, {
39017
+ id: string;
39018
+ email?: string | undefined;
39019
+ authType?: "OAuth2" | "PAT" | undefined;
39020
+ handle?: string | undefined;
39021
+ avatarUrl?: string | undefined;
39022
+ customUrl?: string | undefined;
39023
+ }, {
39024
+ id: string;
39025
+ email?: string | undefined;
39026
+ authType?: "OAuth2" | "PAT" | undefined;
39027
+ handle?: string | undefined;
39028
+ avatarUrl?: string | undefined;
39029
+ customUrl?: string | undefined;
39030
+ }>, "many">>;
39031
+ bitbucket: z.ZodOptional<z.ZodArray<z.ZodObject<{
39032
+ id: z.ZodString;
39033
+ handle: z.ZodOptional<z.ZodString>;
39034
+ avatarUrl: z.ZodOptional<z.ZodString>;
39035
+ email: z.ZodOptional<z.ZodString>;
39036
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
39037
+ customUrl: z.ZodOptional<z.ZodString>;
39038
+ }, "strip", z.ZodTypeAny, {
39039
+ id: string;
39040
+ email?: string | undefined;
39041
+ authType?: "OAuth2" | "PAT" | undefined;
39042
+ handle?: string | undefined;
39043
+ avatarUrl?: string | undefined;
39044
+ customUrl?: string | undefined;
39045
+ }, {
39046
+ id: string;
39047
+ email?: string | undefined;
39048
+ authType?: "OAuth2" | "PAT" | undefined;
39049
+ handle?: string | undefined;
39050
+ avatarUrl?: string | undefined;
39051
+ customUrl?: string | undefined;
39052
+ }>, "many">>;
39053
+ }, "strip", z.ZodTypeAny, {
39054
+ azure?: {
39055
+ id: string;
39056
+ email?: string | undefined;
39057
+ authType?: "OAuth2" | "PAT" | undefined;
39058
+ handle?: string | undefined;
39059
+ avatarUrl?: string | undefined;
39060
+ customUrl?: string | undefined;
39061
+ }[] | undefined;
39062
+ github?: {
39063
+ id: string;
39064
+ email?: string | undefined;
39065
+ authType?: "OAuth2" | "PAT" | undefined;
39066
+ handle?: string | undefined;
39067
+ avatarUrl?: string | undefined;
39068
+ customUrl?: string | undefined;
39069
+ }[] | undefined;
39070
+ gitlab?: {
39071
+ id: string;
39072
+ email?: string | undefined;
39073
+ authType?: "OAuth2" | "PAT" | undefined;
39074
+ handle?: string | undefined;
39075
+ avatarUrl?: string | undefined;
39076
+ customUrl?: string | undefined;
39077
+ }[] | undefined;
39078
+ bitbucket?: {
39079
+ id: string;
39080
+ email?: string | undefined;
39081
+ authType?: "OAuth2" | "PAT" | undefined;
39082
+ handle?: string | undefined;
39083
+ avatarUrl?: string | undefined;
39084
+ customUrl?: string | undefined;
39085
+ }[] | undefined;
39086
+ figma?: {
39087
+ id: string;
39088
+ email?: string | undefined;
39089
+ authType?: "OAuth2" | "PAT" | undefined;
39090
+ handle?: string | undefined;
39091
+ avatarUrl?: string | undefined;
39092
+ customUrl?: string | undefined;
39093
+ } | undefined;
39094
+ }, {
39095
+ azure?: {
39096
+ id: string;
39097
+ email?: string | undefined;
39098
+ authType?: "OAuth2" | "PAT" | undefined;
39099
+ handle?: string | undefined;
39100
+ avatarUrl?: string | undefined;
39101
+ customUrl?: string | undefined;
39102
+ }[] | undefined;
39103
+ github?: {
39104
+ id: string;
39105
+ email?: string | undefined;
39106
+ authType?: "OAuth2" | "PAT" | undefined;
39107
+ handle?: string | undefined;
39108
+ avatarUrl?: string | undefined;
39109
+ customUrl?: string | undefined;
39110
+ }[] | undefined;
39111
+ gitlab?: {
39112
+ id: string;
39113
+ email?: string | undefined;
39114
+ authType?: "OAuth2" | "PAT" | undefined;
39115
+ handle?: string | undefined;
39116
+ avatarUrl?: string | undefined;
39117
+ customUrl?: string | undefined;
39118
+ }[] | undefined;
39119
+ bitbucket?: {
39120
+ id: string;
39121
+ email?: string | undefined;
39122
+ authType?: "OAuth2" | "PAT" | undefined;
39123
+ handle?: string | undefined;
39124
+ avatarUrl?: string | undefined;
39125
+ customUrl?: string | undefined;
39126
+ }[] | undefined;
39127
+ figma?: {
39128
+ id: string;
39129
+ email?: string | undefined;
39130
+ authType?: "OAuth2" | "PAT" | undefined;
39131
+ handle?: string | undefined;
39132
+ avatarUrl?: string | undefined;
39133
+ customUrl?: string | undefined;
39134
+ } | undefined;
39135
+ }>>;
39136
+ loggedOutAt: z.ZodOptional<z.ZodDate>;
39137
+ isProtected: z.ZodBoolean;
39138
+ source: z.ZodOptional<z.ZodEnum<["SignUp", "Invite", "SSO"]>>;
39139
+ }, "strip", z.ZodTypeAny, {
39140
+ id: string;
39141
+ createdAt: Date;
39142
+ email: string;
39143
+ profile: {
39144
+ name: string;
39145
+ avatar?: string | undefined;
39146
+ nickname?: string | undefined;
39147
+ onboarding?: {
39148
+ companyName?: string | undefined;
39149
+ numberOfPeopleInOrg?: string | undefined;
39150
+ numberOfPeopleInDesignTeam?: string | undefined;
39151
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
39152
+ jobTitle?: string | undefined;
39153
+ phase?: string | undefined;
39154
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
39155
+ designSystemName?: string | undefined;
39156
+ defaultDestination?: string | undefined;
39157
+ figmaUrl?: string | undefined;
39158
+ isPageDraftOnboardingFinished?: boolean | undefined;
39159
+ isApprovalsOnboardingFinished?: boolean | undefined;
39160
+ } | undefined;
39161
+ };
39162
+ emailVerified: boolean;
39163
+ isProtected: boolean;
39164
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
39165
+ trialExpiresAt?: Date | undefined;
39166
+ linkedIntegrations?: {
39167
+ azure?: {
39168
+ id: string;
39169
+ email?: string | undefined;
39170
+ authType?: "OAuth2" | "PAT" | undefined;
39171
+ handle?: string | undefined;
39172
+ avatarUrl?: string | undefined;
39173
+ customUrl?: string | undefined;
39174
+ }[] | undefined;
39175
+ github?: {
39176
+ id: string;
39177
+ email?: string | undefined;
39178
+ authType?: "OAuth2" | "PAT" | undefined;
39179
+ handle?: string | undefined;
39180
+ avatarUrl?: string | undefined;
39181
+ customUrl?: string | undefined;
39182
+ }[] | undefined;
39183
+ gitlab?: {
39184
+ id: string;
39185
+ email?: string | undefined;
39186
+ authType?: "OAuth2" | "PAT" | undefined;
39187
+ handle?: string | undefined;
39188
+ avatarUrl?: string | undefined;
39189
+ customUrl?: string | undefined;
39190
+ }[] | undefined;
39191
+ bitbucket?: {
39192
+ id: string;
39193
+ email?: string | undefined;
39194
+ authType?: "OAuth2" | "PAT" | undefined;
39195
+ handle?: string | undefined;
39196
+ avatarUrl?: string | undefined;
39197
+ customUrl?: string | undefined;
39198
+ }[] | undefined;
39199
+ figma?: {
39200
+ id: string;
39201
+ email?: string | undefined;
39202
+ authType?: "OAuth2" | "PAT" | undefined;
39203
+ handle?: string | undefined;
39204
+ avatarUrl?: string | undefined;
39205
+ customUrl?: string | undefined;
39206
+ } | undefined;
39207
+ } | undefined;
39208
+ loggedOutAt?: Date | undefined;
39209
+ }, {
39210
+ id: string;
39211
+ createdAt: Date;
39212
+ email: string;
39213
+ profile: {
39214
+ name: string;
39215
+ avatar?: string | undefined;
39216
+ nickname?: string | undefined;
39217
+ onboarding?: {
39218
+ companyName?: string | undefined;
39219
+ numberOfPeopleInOrg?: string | undefined;
39220
+ numberOfPeopleInDesignTeam?: string | undefined;
39221
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
39222
+ jobTitle?: string | undefined;
39223
+ phase?: string | undefined;
39224
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
39225
+ designSystemName?: string | undefined;
39226
+ defaultDestination?: string | undefined;
39227
+ figmaUrl?: string | undefined;
39228
+ isPageDraftOnboardingFinished?: boolean | undefined;
39229
+ isApprovalsOnboardingFinished?: boolean | undefined;
39230
+ } | undefined;
39231
+ };
39232
+ emailVerified: boolean;
39233
+ isProtected: boolean;
39234
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
39235
+ trialExpiresAt?: Date | undefined;
39236
+ linkedIntegrations?: {
39237
+ azure?: {
39238
+ id: string;
39239
+ email?: string | undefined;
39240
+ authType?: "OAuth2" | "PAT" | undefined;
39241
+ handle?: string | undefined;
39242
+ avatarUrl?: string | undefined;
39243
+ customUrl?: string | undefined;
39244
+ }[] | undefined;
39245
+ github?: {
39246
+ id: string;
39247
+ email?: string | undefined;
39248
+ authType?: "OAuth2" | "PAT" | undefined;
39249
+ handle?: string | undefined;
39250
+ avatarUrl?: string | undefined;
39251
+ customUrl?: string | undefined;
39252
+ }[] | undefined;
39253
+ gitlab?: {
39254
+ id: string;
39255
+ email?: string | undefined;
39256
+ authType?: "OAuth2" | "PAT" | undefined;
39257
+ handle?: string | undefined;
39258
+ avatarUrl?: string | undefined;
39259
+ customUrl?: string | undefined;
39260
+ }[] | undefined;
39261
+ bitbucket?: {
39262
+ id: string;
39263
+ email?: string | undefined;
39264
+ authType?: "OAuth2" | "PAT" | undefined;
39265
+ handle?: string | undefined;
39266
+ avatarUrl?: string | undefined;
39267
+ customUrl?: string | undefined;
39268
+ }[] | undefined;
39269
+ figma?: {
39270
+ id: string;
39271
+ email?: string | undefined;
39272
+ authType?: "OAuth2" | "PAT" | undefined;
39273
+ handle?: string | undefined;
39274
+ avatarUrl?: string | undefined;
39275
+ customUrl?: string | undefined;
39276
+ } | undefined;
39277
+ } | undefined;
39278
+ loggedOutAt?: Date | undefined;
39279
+ }>;
39280
+ role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
39281
+ effectiveRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
39282
+ }, "strip", z.ZodTypeAny, {
39283
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
39284
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
39285
+ user: {
39286
+ id: string;
39287
+ createdAt: Date;
39288
+ email: string;
39289
+ profile: {
39290
+ name: string;
39291
+ avatar?: string | undefined;
39292
+ nickname?: string | undefined;
39293
+ onboarding?: {
39294
+ companyName?: string | undefined;
39295
+ numberOfPeopleInOrg?: string | undefined;
39296
+ numberOfPeopleInDesignTeam?: string | undefined;
39297
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
39298
+ jobTitle?: string | undefined;
39299
+ phase?: string | undefined;
39300
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
39301
+ designSystemName?: string | undefined;
39302
+ defaultDestination?: string | undefined;
39303
+ figmaUrl?: string | undefined;
39304
+ isPageDraftOnboardingFinished?: boolean | undefined;
39305
+ isApprovalsOnboardingFinished?: boolean | undefined;
39306
+ } | undefined;
39307
+ };
39308
+ emailVerified: boolean;
39309
+ isProtected: boolean;
39310
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
39311
+ trialExpiresAt?: Date | undefined;
39312
+ linkedIntegrations?: {
39313
+ azure?: {
39314
+ id: string;
39315
+ email?: string | undefined;
39316
+ authType?: "OAuth2" | "PAT" | undefined;
39317
+ handle?: string | undefined;
39318
+ avatarUrl?: string | undefined;
39319
+ customUrl?: string | undefined;
39320
+ }[] | undefined;
39321
+ github?: {
39322
+ id: string;
39323
+ email?: string | undefined;
39324
+ authType?: "OAuth2" | "PAT" | undefined;
39325
+ handle?: string | undefined;
39326
+ avatarUrl?: string | undefined;
39327
+ customUrl?: string | undefined;
39328
+ }[] | undefined;
39329
+ gitlab?: {
39330
+ id: string;
39331
+ email?: string | undefined;
39332
+ authType?: "OAuth2" | "PAT" | undefined;
39333
+ handle?: string | undefined;
39334
+ avatarUrl?: string | undefined;
39335
+ customUrl?: string | undefined;
39336
+ }[] | undefined;
39337
+ bitbucket?: {
39338
+ id: string;
39339
+ email?: string | undefined;
39340
+ authType?: "OAuth2" | "PAT" | undefined;
39341
+ handle?: string | undefined;
39342
+ avatarUrl?: string | undefined;
39343
+ customUrl?: string | undefined;
39344
+ }[] | undefined;
39345
+ figma?: {
39346
+ id: string;
39347
+ email?: string | undefined;
39348
+ authType?: "OAuth2" | "PAT" | undefined;
39349
+ handle?: string | undefined;
39350
+ avatarUrl?: string | undefined;
39351
+ customUrl?: string | undefined;
39352
+ } | undefined;
39353
+ } | undefined;
39354
+ loggedOutAt?: Date | undefined;
39355
+ };
39356
+ }, {
39357
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
39358
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
39359
+ user: {
39360
+ id: string;
39361
+ createdAt: Date;
39362
+ email: string;
39363
+ profile: {
39364
+ name: string;
39365
+ avatar?: string | undefined;
39366
+ nickname?: string | undefined;
39367
+ onboarding?: {
39368
+ companyName?: string | undefined;
39369
+ numberOfPeopleInOrg?: string | undefined;
39370
+ numberOfPeopleInDesignTeam?: string | undefined;
39371
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
39372
+ jobTitle?: string | undefined;
39373
+ phase?: string | undefined;
39374
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
39375
+ designSystemName?: string | undefined;
39376
+ defaultDestination?: string | undefined;
39377
+ figmaUrl?: string | undefined;
39378
+ isPageDraftOnboardingFinished?: boolean | undefined;
39379
+ isApprovalsOnboardingFinished?: boolean | undefined;
39380
+ } | undefined;
39381
+ };
39382
+ emailVerified: boolean;
39383
+ isProtected: boolean;
39384
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
39385
+ trialExpiresAt?: Date | undefined;
39386
+ linkedIntegrations?: {
39387
+ azure?: {
39388
+ id: string;
39389
+ email?: string | undefined;
39390
+ authType?: "OAuth2" | "PAT" | undefined;
39391
+ handle?: string | undefined;
39392
+ avatarUrl?: string | undefined;
39393
+ customUrl?: string | undefined;
39394
+ }[] | undefined;
39395
+ github?: {
39396
+ id: string;
39397
+ email?: string | undefined;
39398
+ authType?: "OAuth2" | "PAT" | undefined;
39399
+ handle?: string | undefined;
39400
+ avatarUrl?: string | undefined;
39401
+ customUrl?: string | undefined;
39402
+ }[] | undefined;
39403
+ gitlab?: {
39404
+ id: string;
39405
+ email?: string | undefined;
39406
+ authType?: "OAuth2" | "PAT" | undefined;
39407
+ handle?: string | undefined;
39408
+ avatarUrl?: string | undefined;
39409
+ customUrl?: string | undefined;
39410
+ }[] | undefined;
39411
+ bitbucket?: {
39412
+ id: string;
39413
+ email?: string | undefined;
39414
+ authType?: "OAuth2" | "PAT" | undefined;
39415
+ handle?: string | undefined;
39416
+ avatarUrl?: string | undefined;
39417
+ customUrl?: string | undefined;
39418
+ }[] | undefined;
39419
+ figma?: {
39420
+ id: string;
39421
+ email?: string | undefined;
39422
+ authType?: "OAuth2" | "PAT" | undefined;
39423
+ handle?: string | undefined;
39424
+ avatarUrl?: string | undefined;
39425
+ customUrl?: string | undefined;
39426
+ } | undefined;
39427
+ } | undefined;
39428
+ loggedOutAt?: Date | undefined;
39429
+ };
39430
+ }>;
39431
+ declare const DTOWorkspaceRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
39432
+ type DTOWorkspaceRole = z.infer<typeof DTOWorkspaceRole>;
39433
+ declare const DTOUserWorkspaceMembership: z.ZodObject<{
39434
+ workspace: z.ZodObject<{
39435
+ id: z.ZodString;
39436
+ profile: z.ZodObject<{
39437
+ name: z.ZodString;
39438
+ handle: z.ZodString;
39439
+ color: z.ZodString;
39440
+ avatar: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
39441
+ billingDetails: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
39442
+ address?: {
39443
+ street1?: string | undefined;
39444
+ street2?: string | undefined;
39445
+ city?: string | undefined;
39446
+ postal?: string | undefined;
39447
+ country?: string | undefined;
39448
+ state?: string | undefined;
39449
+ } | undefined;
39450
+ email?: string | undefined;
39451
+ companyName?: string | undefined;
39452
+ companyId?: string | undefined;
39453
+ notes?: string | undefined;
39454
+ vat?: string | undefined;
39455
+ poNumber?: string | undefined;
39456
+ }, z.ZodTypeDef, {
39457
+ address?: {
39458
+ street1?: string | null | undefined;
39459
+ street2?: string | null | undefined;
39460
+ city?: string | null | undefined;
39461
+ postal?: string | null | undefined;
39462
+ country?: string | null | undefined;
39463
+ state?: string | null | undefined;
39464
+ } | null | undefined;
39465
+ email?: string | null | undefined;
39466
+ companyName?: string | null | undefined;
39467
+ companyId?: string | null | undefined;
39468
+ notes?: string | null | undefined;
39469
+ vat?: string | null | undefined;
39470
+ poNumber?: string | null | undefined;
39471
+ }>>>, {
39472
+ address?: {
39473
+ street1?: string | undefined;
39474
+ street2?: string | undefined;
39475
+ city?: string | undefined;
39476
+ postal?: string | undefined;
39477
+ country?: string | undefined;
39478
+ state?: string | undefined;
39479
+ } | undefined;
39480
+ email?: string | undefined;
39481
+ companyName?: string | undefined;
39482
+ companyId?: string | undefined;
39483
+ notes?: string | undefined;
39484
+ vat?: string | undefined;
39485
+ poNumber?: string | undefined;
39486
+ } | undefined, {
39487
+ address?: {
39488
+ street1?: string | null | undefined;
39489
+ street2?: string | null | undefined;
39490
+ city?: string | null | undefined;
39491
+ postal?: string | null | undefined;
39492
+ country?: string | null | undefined;
39493
+ state?: string | null | undefined;
39494
+ } | null | undefined;
39495
+ email?: string | null | undefined;
39496
+ companyName?: string | null | undefined;
39497
+ companyId?: string | null | undefined;
39498
+ notes?: string | null | undefined;
39499
+ vat?: string | null | undefined;
39500
+ poNumber?: string | null | undefined;
39501
+ } | null | undefined>;
39502
+ }, "strip", z.ZodTypeAny, {
39503
+ name: string;
39504
+ color: string;
39505
+ handle: string;
39506
+ avatar?: string | undefined;
39507
+ billingDetails?: {
39508
+ address?: {
39509
+ street1?: string | undefined;
39510
+ street2?: string | undefined;
39511
+ city?: string | undefined;
39512
+ postal?: string | undefined;
39513
+ country?: string | undefined;
39514
+ state?: string | undefined;
39515
+ } | undefined;
39516
+ email?: string | undefined;
39517
+ companyName?: string | undefined;
39518
+ companyId?: string | undefined;
39519
+ notes?: string | undefined;
39520
+ vat?: string | undefined;
39521
+ poNumber?: string | undefined;
39522
+ } | undefined;
39523
+ }, {
39524
+ name: string;
39525
+ color: string;
39526
+ handle: string;
39527
+ avatar?: string | null | undefined;
39528
+ billingDetails?: {
39529
+ address?: {
39530
+ street1?: string | null | undefined;
39531
+ street2?: string | null | undefined;
39532
+ city?: string | null | undefined;
39533
+ postal?: string | null | undefined;
39534
+ country?: string | null | undefined;
39535
+ state?: string | null | undefined;
39536
+ } | null | undefined;
39537
+ email?: string | null | undefined;
39538
+ companyName?: string | null | undefined;
39539
+ companyId?: string | null | undefined;
39540
+ notes?: string | null | undefined;
39541
+ vat?: string | null | undefined;
39542
+ poNumber?: string | null | undefined;
39543
+ } | null | undefined;
39544
+ }>;
39545
+ subscription: z.ZodObject<{
39546
+ stripeSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39547
+ stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39548
+ status: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
39549
+ subscriptionStatus: z.ZodOptional<z.ZodEnum<["trialing", "active", "past_due", "canceled", "unpaid", "incomplete_expired", "incomplete", "unknown"]>>;
39550
+ internalStatus: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
39551
+ product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
39552
+ featuresSummary: z.ZodOptional<z.ZodObject<{
39553
+ designSystems: z.ZodObject<{
39554
+ max: z.ZodNumber;
39555
+ errorMessage: z.ZodString;
39556
+ errorReason: z.ZodString;
39557
+ }, "strip", z.ZodTypeAny, {
39558
+ max: number;
39559
+ errorMessage: string;
39560
+ errorReason: string;
39561
+ }, {
39562
+ max: number;
39563
+ errorMessage: string;
39564
+ errorReason: string;
39565
+ }>;
39566
+ designSystemSources: z.ZodObject<z.objectUtil.extendShape<{
39567
+ max: z.ZodNumber;
39568
+ errorMessage: z.ZodString;
39569
+ errorReason: z.ZodString;
39570
+ }, {
39571
+ noImportJobsErrorMessage: z.ZodString;
39572
+ noImportJobsErrorReason: z.ZodString;
39573
+ }>, "strip", z.ZodTypeAny, {
39574
+ max: number;
39575
+ errorMessage: string;
39576
+ errorReason: string;
39577
+ noImportJobsErrorMessage: string;
39578
+ noImportJobsErrorReason: string;
39579
+ }, {
39580
+ max: number;
39581
+ errorMessage: string;
39582
+ errorReason: string;
39583
+ noImportJobsErrorMessage: string;
39584
+ noImportJobsErrorReason: string;
39585
+ }>;
39586
+ designSystemVersions: z.ZodObject<{
39587
+ max: z.ZodNumber;
39588
+ errorMessage: z.ZodString;
39589
+ errorReason: z.ZodString;
39590
+ }, "strip", z.ZodTypeAny, {
39591
+ max: number;
39592
+ errorMessage: string;
39593
+ errorReason: string;
39594
+ }, {
39595
+ max: number;
39596
+ errorMessage: string;
39597
+ errorReason: string;
39598
+ }>;
39599
+ themes: z.ZodObject<{
39600
+ max: z.ZodNumber;
39601
+ errorMessage: z.ZodString;
39602
+ errorReason: z.ZodString;
39603
+ }, "strip", z.ZodTypeAny, {
39604
+ max: number;
39605
+ errorMessage: string;
39606
+ errorReason: string;
39607
+ }, {
39608
+ max: number;
39609
+ errorMessage: string;
39015
39610
  errorReason: string;
39016
39611
  }>;
39017
39612
  brands: z.ZodObject<{
@@ -40897,51 +41492,334 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
40897
41492
  errorMessage: string;
40898
41493
  errorReason: string;
40899
41494
  enabled: boolean;
40900
- }, {
41495
+ }, {
41496
+ errorMessage: string;
41497
+ errorReason: string;
41498
+ enabled: boolean;
41499
+ }>;
41500
+ approvals: z.ZodObject<{
41501
+ enabled: z.ZodBoolean;
41502
+ errorMessage: z.ZodString;
41503
+ errorReason: z.ZodString;
41504
+ }, "strip", z.ZodTypeAny, {
41505
+ errorMessage: string;
41506
+ errorReason: string;
41507
+ enabled: boolean;
41508
+ }, {
41509
+ errorMessage: string;
41510
+ errorReason: string;
41511
+ enabled: boolean;
41512
+ }>;
41513
+ selectivePublishing: z.ZodObject<{
41514
+ enabled: z.ZodBoolean;
41515
+ errorMessage: z.ZodString;
41516
+ errorReason: z.ZodString;
41517
+ }, "strip", z.ZodTypeAny, {
41518
+ errorMessage: string;
41519
+ errorReason: string;
41520
+ enabled: boolean;
41521
+ }, {
41522
+ errorMessage: string;
41523
+ errorReason: string;
41524
+ enabled: boolean;
41525
+ }>;
41526
+ designSystemAccessModes: z.ZodObject<{
41527
+ enabled: z.ZodBoolean;
41528
+ errorMessage: z.ZodString;
41529
+ errorReason: z.ZodString;
41530
+ }, "strip", z.ZodTypeAny, {
41531
+ errorMessage: string;
41532
+ errorReason: string;
41533
+ enabled: boolean;
41534
+ }, {
41535
+ errorMessage: string;
41536
+ errorReason: string;
41537
+ enabled: boolean;
41538
+ }>;
41539
+ }, "strip", z.ZodTypeAny, {
41540
+ designSystems: {
41541
+ max: number;
41542
+ errorMessage: string;
41543
+ errorReason: string;
41544
+ };
41545
+ designSystemSources: {
41546
+ max: number;
41547
+ errorMessage: string;
41548
+ errorReason: string;
41549
+ noImportJobsErrorMessage: string;
41550
+ noImportJobsErrorReason: string;
41551
+ };
41552
+ designSystemVersions: {
41553
+ max: number;
41554
+ errorMessage: string;
41555
+ errorReason: string;
41556
+ };
41557
+ themes: {
41558
+ max: number;
41559
+ errorMessage: string;
41560
+ errorReason: string;
41561
+ };
41562
+ brands: {
41563
+ max: number;
41564
+ errorMessage: string;
41565
+ errorReason: string;
41566
+ };
41567
+ codegenSchedules: {
41568
+ max: number;
41569
+ errorMessage: string;
41570
+ errorReason: string;
41571
+ };
41572
+ publicDocumentation: {
41573
+ errorMessage: string;
41574
+ errorReason: string;
41575
+ enabled: boolean;
41576
+ };
41577
+ customDocumentationUrl: {
41578
+ errorMessage: string;
41579
+ errorReason: string;
41580
+ enabled: boolean;
41581
+ };
41582
+ customDocumentationViewButton: {
41583
+ errorMessage: string;
41584
+ errorReason: string;
41585
+ enabled: boolean;
41586
+ };
41587
+ designSystemSourceAutoImport: {
41588
+ errorMessage: string;
41589
+ errorReason: string;
41590
+ enabled: boolean;
41591
+ };
41592
+ designSystemSlug: {
41593
+ errorMessage: string;
41594
+ errorReason: string;
41595
+ enabled: boolean;
41596
+ };
41597
+ ipWhitelisting: {
41598
+ errorMessage: string;
41599
+ errorReason: string;
41600
+ enabled: boolean;
41601
+ };
41602
+ npmRegistry: {
41603
+ errorMessage: string;
41604
+ errorReason: string;
41605
+ enabled: boolean;
41606
+ };
41607
+ sso: {
41608
+ errorMessage: string;
41609
+ errorReason: string;
41610
+ enabled: boolean;
41611
+ };
41612
+ workspacePaidSeats: {
41613
+ max: number;
41614
+ errorMessage: string;
41615
+ errorReason: string;
41616
+ };
41617
+ workspaceViewers: {
41618
+ max: number;
41619
+ errorMessage: string;
41620
+ errorReason: string;
41621
+ };
41622
+ customDocumentationExporter: {
41623
+ errorMessage: string;
41624
+ errorReason: string;
41625
+ enabled: boolean;
41626
+ };
41627
+ protectedPages: {
41628
+ errorMessage: string;
41629
+ errorReason: string;
41630
+ enabled: boolean;
41631
+ };
41632
+ approvals: {
41633
+ errorMessage: string;
41634
+ errorReason: string;
41635
+ enabled: boolean;
41636
+ };
41637
+ selectivePublishing: {
41638
+ errorMessage: string;
41639
+ errorReason: string;
41640
+ enabled: boolean;
41641
+ };
41642
+ designSystemAccessModes: {
41643
+ errorMessage: string;
41644
+ errorReason: string;
41645
+ enabled: boolean;
41646
+ };
41647
+ }, {
41648
+ designSystems: {
41649
+ max: number;
41650
+ errorMessage: string;
41651
+ errorReason: string;
41652
+ };
41653
+ designSystemSources: {
41654
+ max: number;
41655
+ errorMessage: string;
41656
+ errorReason: string;
41657
+ noImportJobsErrorMessage: string;
41658
+ noImportJobsErrorReason: string;
41659
+ };
41660
+ designSystemVersions: {
41661
+ max: number;
41662
+ errorMessage: string;
41663
+ errorReason: string;
41664
+ };
41665
+ themes: {
41666
+ max: number;
41667
+ errorMessage: string;
41668
+ errorReason: string;
41669
+ };
41670
+ brands: {
41671
+ max: number;
41672
+ errorMessage: string;
41673
+ errorReason: string;
41674
+ };
41675
+ codegenSchedules: {
41676
+ max: number;
41677
+ errorMessage: string;
41678
+ errorReason: string;
41679
+ };
41680
+ publicDocumentation: {
41681
+ errorMessage: string;
41682
+ errorReason: string;
41683
+ enabled: boolean;
41684
+ };
41685
+ customDocumentationUrl: {
41686
+ errorMessage: string;
41687
+ errorReason: string;
41688
+ enabled: boolean;
41689
+ };
41690
+ customDocumentationViewButton: {
41691
+ errorMessage: string;
41692
+ errorReason: string;
41693
+ enabled: boolean;
41694
+ };
41695
+ designSystemSourceAutoImport: {
41696
+ errorMessage: string;
41697
+ errorReason: string;
41698
+ enabled: boolean;
41699
+ };
41700
+ designSystemSlug: {
41701
+ errorMessage: string;
41702
+ errorReason: string;
41703
+ enabled: boolean;
41704
+ };
41705
+ ipWhitelisting: {
41706
+ errorMessage: string;
41707
+ errorReason: string;
41708
+ enabled: boolean;
41709
+ };
41710
+ npmRegistry: {
41711
+ errorMessage: string;
41712
+ errorReason: string;
41713
+ enabled: boolean;
41714
+ };
41715
+ sso: {
40901
41716
  errorMessage: string;
40902
41717
  errorReason: string;
40903
41718
  enabled: boolean;
40904
- }>;
40905
- approvals: z.ZodObject<{
40906
- enabled: z.ZodBoolean;
40907
- errorMessage: z.ZodString;
40908
- errorReason: z.ZodString;
40909
- }, "strip", z.ZodTypeAny, {
41719
+ };
41720
+ workspacePaidSeats: {
41721
+ max: number;
40910
41722
  errorMessage: string;
40911
41723
  errorReason: string;
40912
- enabled: boolean;
40913
- }, {
41724
+ };
41725
+ workspaceViewers: {
41726
+ max: number;
41727
+ errorMessage: string;
41728
+ errorReason: string;
41729
+ };
41730
+ customDocumentationExporter: {
40914
41731
  errorMessage: string;
40915
41732
  errorReason: string;
40916
41733
  enabled: boolean;
40917
- }>;
40918
- selectivePublishing: z.ZodObject<{
40919
- enabled: z.ZodBoolean;
40920
- errorMessage: z.ZodString;
40921
- errorReason: z.ZodString;
40922
- }, "strip", z.ZodTypeAny, {
41734
+ };
41735
+ protectedPages: {
40923
41736
  errorMessage: string;
40924
41737
  errorReason: string;
40925
41738
  enabled: boolean;
40926
- }, {
41739
+ };
41740
+ approvals: {
40927
41741
  errorMessage: string;
40928
41742
  errorReason: string;
40929
41743
  enabled: boolean;
40930
- }>;
40931
- designSystemAccessModes: z.ZodObject<{
40932
- enabled: z.ZodBoolean;
40933
- errorMessage: z.ZodString;
40934
- errorReason: z.ZodString;
40935
- }, "strip", z.ZodTypeAny, {
41744
+ };
41745
+ selectivePublishing: {
40936
41746
  errorMessage: string;
40937
41747
  errorReason: string;
40938
41748
  enabled: boolean;
40939
- }, {
41749
+ };
41750
+ designSystemAccessModes: {
40940
41751
  errorMessage: string;
40941
41752
  errorReason: string;
40942
41753
  enabled: boolean;
40943
- }>;
41754
+ };
41755
+ }>>;
41756
+ stripeProductDescription: z.ZodOptional<z.ZodString>;
41757
+ stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
41758
+ stripeProductAdditionalFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
41759
+ stripeSubscriptionMainItemId: z.ZodOptional<z.ZodString>;
41760
+ planPriceId: z.ZodString;
41761
+ planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
41762
+ isPricePerCreator: z.ZodOptional<z.ZodBoolean>;
41763
+ legacyVersion: z.ZodOptional<z.ZodString>;
41764
+ seats: z.ZodNumber;
41765
+ seatLimit: z.ZodNumber;
41766
+ currentPeriodStart: z.ZodOptional<z.ZodString>;
41767
+ currentPeriodEnd: z.ZodOptional<z.ZodString>;
41768
+ subscriptionStatusUpdatedAt: z.ZodOptional<z.ZodString>;
41769
+ cancelAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41770
+ card: z.ZodOptional<z.ZodObject<{
41771
+ cardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41772
+ last4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41773
+ expiryMonth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41774
+ expiryYear: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41775
+ brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41776
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40944
41777
  }, "strip", z.ZodTypeAny, {
41778
+ cardId?: string | null | undefined;
41779
+ last4?: string | null | undefined;
41780
+ expiryMonth?: string | null | undefined;
41781
+ expiryYear?: string | null | undefined;
41782
+ brand?: string | null | undefined;
41783
+ name?: string | null | undefined;
41784
+ }, {
41785
+ cardId?: string | null | undefined;
41786
+ last4?: string | null | undefined;
41787
+ expiryMonth?: string | null | undefined;
41788
+ expiryYear?: string | null | undefined;
41789
+ brand?: string | null | undefined;
41790
+ name?: string | null | undefined;
41791
+ }>>;
41792
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41793
+ isTrial: z.ZodOptional<z.ZodBoolean>;
41794
+ billingType: z.ZodOptional<z.ZodEnum<["Auto", "Invoice"]>>;
41795
+ daysUntilDue: z.ZodOptional<z.ZodNumber>;
41796
+ }, "strip", z.ZodTypeAny, {
41797
+ product: "free" | "team" | "company" | "enterprise";
41798
+ planPriceId: string;
41799
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
41800
+ seats: number;
41801
+ seatLimit: number;
41802
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
41803
+ card?: {
41804
+ cardId?: string | null | undefined;
41805
+ last4?: string | null | undefined;
41806
+ expiryMonth?: string | null | undefined;
41807
+ expiryYear?: string | null | undefined;
41808
+ brand?: string | null | undefined;
41809
+ name?: string | null | undefined;
41810
+ } | undefined;
41811
+ amount?: number | null | undefined;
41812
+ stripeProductDescription?: string | undefined;
41813
+ isPricePerCreator?: boolean | undefined;
41814
+ isTrial?: boolean | undefined;
41815
+ legacyVersion?: string | undefined;
41816
+ stripeProductFeatures?: string[] | undefined;
41817
+ stripeProductAdditionalFeatures?: string[] | undefined;
41818
+ stripeSubscriptionId?: string | null | undefined;
41819
+ stripeCustomerId?: string | null | undefined;
41820
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
41821
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
41822
+ featuresSummary?: {
40945
41823
  designSystems: {
40946
41824
  max: number;
40947
41825
  errorMessage: string;
@@ -41049,7 +41927,41 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
41049
41927
  errorReason: string;
41050
41928
  enabled: boolean;
41051
41929
  };
41052
- }, {
41930
+ } | undefined;
41931
+ stripeSubscriptionMainItemId?: string | undefined;
41932
+ currentPeriodStart?: string | undefined;
41933
+ currentPeriodEnd?: string | undefined;
41934
+ subscriptionStatusUpdatedAt?: string | undefined;
41935
+ cancelAt?: string | null | undefined;
41936
+ billingType?: "Auto" | "Invoice" | undefined;
41937
+ daysUntilDue?: number | undefined;
41938
+ }, {
41939
+ product: "free" | "team" | "company" | "enterprise";
41940
+ planPriceId: string;
41941
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
41942
+ seats: number;
41943
+ seatLimit: number;
41944
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
41945
+ card?: {
41946
+ cardId?: string | null | undefined;
41947
+ last4?: string | null | undefined;
41948
+ expiryMonth?: string | null | undefined;
41949
+ expiryYear?: string | null | undefined;
41950
+ brand?: string | null | undefined;
41951
+ name?: string | null | undefined;
41952
+ } | undefined;
41953
+ amount?: number | null | undefined;
41954
+ stripeProductDescription?: string | undefined;
41955
+ isPricePerCreator?: boolean | undefined;
41956
+ isTrial?: boolean | undefined;
41957
+ legacyVersion?: string | undefined;
41958
+ stripeProductFeatures?: string[] | undefined;
41959
+ stripeProductAdditionalFeatures?: string[] | undefined;
41960
+ stripeSubscriptionId?: string | null | undefined;
41961
+ stripeCustomerId?: string | null | undefined;
41962
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
41963
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
41964
+ featuresSummary?: {
41053
41965
  designSystems: {
41054
41966
  max: number;
41055
41967
  errorMessage: string;
@@ -41157,48 +42069,74 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
41157
42069
  errorReason: string;
41158
42070
  enabled: boolean;
41159
42071
  };
41160
- }>>;
41161
- stripeProductDescription: z.ZodOptional<z.ZodString>;
41162
- stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
41163
- stripeProductAdditionalFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
41164
- stripeSubscriptionMainItemId: z.ZodOptional<z.ZodString>;
41165
- planPriceId: z.ZodString;
41166
- planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
41167
- isPricePerCreator: z.ZodOptional<z.ZodBoolean>;
41168
- legacyVersion: z.ZodOptional<z.ZodString>;
41169
- seats: z.ZodNumber;
41170
- seatLimit: z.ZodNumber;
41171
- currentPeriodStart: z.ZodOptional<z.ZodString>;
41172
- currentPeriodEnd: z.ZodOptional<z.ZodString>;
41173
- subscriptionStatusUpdatedAt: z.ZodOptional<z.ZodString>;
41174
- cancelAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41175
- card: z.ZodOptional<z.ZodObject<{
41176
- cardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41177
- last4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41178
- expiryMonth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41179
- expiryYear: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41180
- brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41181
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41182
- }, "strip", z.ZodTypeAny, {
41183
- cardId?: string | null | undefined;
41184
- last4?: string | null | undefined;
41185
- expiryMonth?: string | null | undefined;
41186
- expiryYear?: string | null | undefined;
41187
- brand?: string | null | undefined;
41188
- name?: string | null | undefined;
41189
- }, {
41190
- cardId?: string | null | undefined;
41191
- last4?: string | null | undefined;
41192
- expiryMonth?: string | null | undefined;
41193
- expiryYear?: string | null | undefined;
41194
- brand?: string | null | undefined;
41195
- name?: string | null | undefined;
41196
- }>>;
41197
- amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41198
- isTrial: z.ZodOptional<z.ZodBoolean>;
41199
- billingType: z.ZodOptional<z.ZodEnum<["Auto", "Invoice"]>>;
41200
- daysUntilDue: z.ZodOptional<z.ZodNumber>;
42072
+ } | undefined;
42073
+ stripeSubscriptionMainItemId?: string | undefined;
42074
+ currentPeriodStart?: string | undefined;
42075
+ currentPeriodEnd?: string | undefined;
42076
+ subscriptionStatusUpdatedAt?: string | undefined;
42077
+ cancelAt?: string | null | undefined;
42078
+ billingType?: "Auto" | "Invoice" | undefined;
42079
+ daysUntilDue?: number | undefined;
42080
+ }>;
42081
+ npmRegistry: z.ZodOptional<z.ZodObject<{
42082
+ registryType: z.ZodEnum<["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]>;
42083
+ registryUrl: z.ZodString;
42084
+ customRegistryUrl: z.ZodOptional<z.ZodString>;
42085
+ proxyUrl: z.ZodString;
42086
+ authType: z.ZodEnum<["Basic", "Bearer", "None", "Custom"]>;
42087
+ accessToken: z.ZodOptional<z.ZodLiteral<string>>;
42088
+ username: z.ZodOptional<z.ZodString>;
42089
+ password: z.ZodOptional<z.ZodLiteral<string>>;
42090
+ enabledScopes: z.ZodArray<z.ZodString, "many">;
42091
+ bypassProxy: z.ZodBoolean;
41201
42092
  }, "strip", z.ZodTypeAny, {
42093
+ enabledScopes: string[];
42094
+ bypassProxy: boolean;
42095
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
42096
+ authType: "Custom" | "None" | "Basic" | "Bearer";
42097
+ registryUrl: string;
42098
+ proxyUrl: string;
42099
+ customRegistryUrl?: string | undefined;
42100
+ accessToken?: string | undefined;
42101
+ username?: string | undefined;
42102
+ password?: string | undefined;
42103
+ }, {
42104
+ enabledScopes: string[];
42105
+ bypassProxy: boolean;
42106
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
42107
+ authType: "Custom" | "None" | "Basic" | "Bearer";
42108
+ registryUrl: string;
42109
+ proxyUrl: string;
42110
+ customRegistryUrl?: string | undefined;
42111
+ accessToken?: string | undefined;
42112
+ username?: string | undefined;
42113
+ password?: string | undefined;
42114
+ }>>;
42115
+ }, "strip", z.ZodTypeAny, {
42116
+ id: string;
42117
+ profile: {
42118
+ name: string;
42119
+ color: string;
42120
+ handle: string;
42121
+ avatar?: string | undefined;
42122
+ billingDetails?: {
42123
+ address?: {
42124
+ street1?: string | undefined;
42125
+ street2?: string | undefined;
42126
+ city?: string | undefined;
42127
+ postal?: string | undefined;
42128
+ country?: string | undefined;
42129
+ state?: string | undefined;
42130
+ } | undefined;
42131
+ email?: string | undefined;
42132
+ companyName?: string | undefined;
42133
+ companyId?: string | undefined;
42134
+ notes?: string | undefined;
42135
+ vat?: string | undefined;
42136
+ poNumber?: string | undefined;
42137
+ } | undefined;
42138
+ };
42139
+ subscription: {
41202
42140
  product: "free" | "team" | "company" | "enterprise";
41203
42141
  planPriceId: string;
41204
42142
  planInterval: "yearly" | "daily" | "monthly" | "weekly";
@@ -41340,7 +42278,44 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
41340
42278
  cancelAt?: string | null | undefined;
41341
42279
  billingType?: "Auto" | "Invoice" | undefined;
41342
42280
  daysUntilDue?: number | undefined;
41343
- }, {
42281
+ };
42282
+ npmRegistry?: {
42283
+ enabledScopes: string[];
42284
+ bypassProxy: boolean;
42285
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
42286
+ authType: "Custom" | "None" | "Basic" | "Bearer";
42287
+ registryUrl: string;
42288
+ proxyUrl: string;
42289
+ customRegistryUrl?: string | undefined;
42290
+ accessToken?: string | undefined;
42291
+ username?: string | undefined;
42292
+ password?: string | undefined;
42293
+ } | undefined;
42294
+ }, {
42295
+ id: string;
42296
+ profile: {
42297
+ name: string;
42298
+ color: string;
42299
+ handle: string;
42300
+ avatar?: string | null | undefined;
42301
+ billingDetails?: {
42302
+ address?: {
42303
+ street1?: string | null | undefined;
42304
+ street2?: string | null | undefined;
42305
+ city?: string | null | undefined;
42306
+ postal?: string | null | undefined;
42307
+ country?: string | null | undefined;
42308
+ state?: string | null | undefined;
42309
+ } | null | undefined;
42310
+ email?: string | null | undefined;
42311
+ companyName?: string | null | undefined;
42312
+ companyId?: string | null | undefined;
42313
+ notes?: string | null | undefined;
42314
+ vat?: string | null | undefined;
42315
+ poNumber?: string | null | undefined;
42316
+ } | null | undefined;
42317
+ };
42318
+ subscription: {
41344
42319
  product: "free" | "team" | "company" | "enterprise";
41345
42320
  planPriceId: string;
41346
42321
  planInterval: "yearly" | "daily" | "monthly" | "weekly";
@@ -41482,30 +42457,8 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
41482
42457
  cancelAt?: string | null | undefined;
41483
42458
  billingType?: "Auto" | "Invoice" | undefined;
41484
42459
  daysUntilDue?: number | undefined;
41485
- }>;
41486
- npmRegistry: z.ZodOptional<z.ZodObject<{
41487
- registryType: z.ZodEnum<["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]>;
41488
- registryUrl: z.ZodString;
41489
- customRegistryUrl: z.ZodOptional<z.ZodString>;
41490
- proxyUrl: z.ZodString;
41491
- authType: z.ZodEnum<["Basic", "Bearer", "None", "Custom"]>;
41492
- accessToken: z.ZodOptional<z.ZodLiteral<string>>;
41493
- username: z.ZodOptional<z.ZodString>;
41494
- password: z.ZodOptional<z.ZodLiteral<string>>;
41495
- enabledScopes: z.ZodArray<z.ZodString, "many">;
41496
- bypassProxy: z.ZodBoolean;
41497
- }, "strip", z.ZodTypeAny, {
41498
- enabledScopes: string[];
41499
- bypassProxy: boolean;
41500
- registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
41501
- authType: "Custom" | "None" | "Basic" | "Bearer";
41502
- registryUrl: string;
41503
- proxyUrl: string;
41504
- customRegistryUrl?: string | undefined;
41505
- accessToken?: string | undefined;
41506
- username?: string | undefined;
41507
- password?: string | undefined;
41508
- }, {
42460
+ };
42461
+ npmRegistry?: {
41509
42462
  enabledScopes: string[];
41510
42463
  bypassProxy: boolean;
41511
42464
  registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
@@ -41516,8 +42469,14 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
41516
42469
  accessToken?: string | undefined;
41517
42470
  username?: string | undefined;
41518
42471
  password?: string | undefined;
41519
- }>>;
41520
- }, "strip", z.ZodTypeAny, {
42472
+ } | undefined;
42473
+ }>;
42474
+ role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
42475
+ effectiveRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
42476
+ }, "strip", z.ZodTypeAny, {
42477
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
42478
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
42479
+ workspace: {
41521
42480
  id: string;
41522
42481
  profile: {
41523
42482
  name: string;
@@ -41696,7 +42655,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
41696
42655
  username?: string | undefined;
41697
42656
  password?: string | undefined;
41698
42657
  } | undefined;
41699
- }, {
42658
+ };
42659
+ }, {
42660
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
42661
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
42662
+ workspace: {
41700
42663
  id: string;
41701
42664
  profile: {
41702
42665
  name: string;
@@ -41875,10 +42838,10 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
41875
42838
  username?: string | undefined;
41876
42839
  password?: string | undefined;
41877
42840
  } | undefined;
41878
- }>;
41879
- role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
41880
- effectiveRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
41881
- }, "strip", z.ZodTypeAny, {
42841
+ };
42842
+ }>, "many">;
42843
+ }, "strip", z.ZodTypeAny, {
42844
+ membership: {
41882
42845
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
41883
42846
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
41884
42847
  workspace: {
@@ -42061,7 +43024,9 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
42061
43024
  password?: string | undefined;
42062
43025
  } | undefined;
42063
43026
  };
42064
- }, {
43027
+ }[];
43028
+ }, {
43029
+ membership: {
42065
43030
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
42066
43031
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
42067
43032
  workspace: {
@@ -42223,400 +43188,762 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
42223
43188
  enabled: boolean;
42224
43189
  };
42225
43190
  } | undefined;
42226
- stripeSubscriptionMainItemId?: string | undefined;
42227
- currentPeriodStart?: string | undefined;
42228
- currentPeriodEnd?: string | undefined;
42229
- subscriptionStatusUpdatedAt?: string | undefined;
42230
- cancelAt?: string | null | undefined;
42231
- billingType?: "Auto" | "Invoice" | undefined;
42232
- daysUntilDue?: number | undefined;
43191
+ stripeSubscriptionMainItemId?: string | undefined;
43192
+ currentPeriodStart?: string | undefined;
43193
+ currentPeriodEnd?: string | undefined;
43194
+ subscriptionStatusUpdatedAt?: string | undefined;
43195
+ cancelAt?: string | null | undefined;
43196
+ billingType?: "Auto" | "Invoice" | undefined;
43197
+ daysUntilDue?: number | undefined;
43198
+ };
43199
+ npmRegistry?: {
43200
+ enabledScopes: string[];
43201
+ bypassProxy: boolean;
43202
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
43203
+ authType: "Custom" | "None" | "Basic" | "Bearer";
43204
+ registryUrl: string;
43205
+ proxyUrl: string;
43206
+ customRegistryUrl?: string | undefined;
43207
+ accessToken?: string | undefined;
43208
+ username?: string | undefined;
43209
+ password?: string | undefined;
43210
+ } | undefined;
43211
+ };
43212
+ }[];
43213
+ }>;
43214
+ type DTOUserWorkspaceMembershipsResponse = z.infer<typeof DTOUserWorkspaceMembershipsResponse>;
43215
+ declare const DTOWorkspaceMembersListResponse: z.ZodObject<{
43216
+ members: z.ZodArray<z.ZodObject<{
43217
+ user: z.ZodObject<{
43218
+ id: z.ZodString;
43219
+ email: z.ZodString;
43220
+ emailVerified: z.ZodBoolean;
43221
+ createdAt: z.ZodDate;
43222
+ trialExpiresAt: z.ZodOptional<z.ZodDate>;
43223
+ profile: z.ZodObject<{
43224
+ name: z.ZodString;
43225
+ avatar: z.ZodOptional<z.ZodString>;
43226
+ nickname: z.ZodOptional<z.ZodString>;
43227
+ onboarding: z.ZodOptional<z.ZodObject<{
43228
+ companyName: z.ZodOptional<z.ZodString>;
43229
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
43230
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
43231
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>>;
43232
+ jobTitle: z.ZodOptional<z.ZodString>;
43233
+ phase: z.ZodOptional<z.ZodString>;
43234
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
43235
+ designSystemName: z.ZodOptional<z.ZodString>;
43236
+ defaultDestination: z.ZodOptional<z.ZodString>;
43237
+ figmaUrl: z.ZodOptional<z.ZodString>;
43238
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
43239
+ isApprovalsOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
43240
+ }, "strip", z.ZodTypeAny, {
43241
+ companyName?: string | undefined;
43242
+ numberOfPeopleInOrg?: string | undefined;
43243
+ numberOfPeopleInDesignTeam?: string | undefined;
43244
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
43245
+ jobTitle?: string | undefined;
43246
+ phase?: string | undefined;
43247
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
43248
+ designSystemName?: string | undefined;
43249
+ defaultDestination?: string | undefined;
43250
+ figmaUrl?: string | undefined;
43251
+ isPageDraftOnboardingFinished?: boolean | undefined;
43252
+ isApprovalsOnboardingFinished?: boolean | undefined;
43253
+ }, {
43254
+ companyName?: string | undefined;
43255
+ numberOfPeopleInOrg?: string | undefined;
43256
+ numberOfPeopleInDesignTeam?: string | undefined;
43257
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
43258
+ jobTitle?: string | undefined;
43259
+ phase?: string | undefined;
43260
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
43261
+ designSystemName?: string | undefined;
43262
+ defaultDestination?: string | undefined;
43263
+ figmaUrl?: string | undefined;
43264
+ isPageDraftOnboardingFinished?: boolean | undefined;
43265
+ isApprovalsOnboardingFinished?: boolean | undefined;
43266
+ }>>;
43267
+ }, "strip", z.ZodTypeAny, {
43268
+ name: string;
43269
+ avatar?: string | undefined;
43270
+ nickname?: string | undefined;
43271
+ onboarding?: {
43272
+ companyName?: string | undefined;
43273
+ numberOfPeopleInOrg?: string | undefined;
43274
+ numberOfPeopleInDesignTeam?: string | undefined;
43275
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
43276
+ jobTitle?: string | undefined;
43277
+ phase?: string | undefined;
43278
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
43279
+ designSystemName?: string | undefined;
43280
+ defaultDestination?: string | undefined;
43281
+ figmaUrl?: string | undefined;
43282
+ isPageDraftOnboardingFinished?: boolean | undefined;
43283
+ isApprovalsOnboardingFinished?: boolean | undefined;
43284
+ } | undefined;
43285
+ }, {
43286
+ name: string;
43287
+ avatar?: string | undefined;
43288
+ nickname?: string | undefined;
43289
+ onboarding?: {
43290
+ companyName?: string | undefined;
43291
+ numberOfPeopleInOrg?: string | undefined;
43292
+ numberOfPeopleInDesignTeam?: string | undefined;
43293
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
43294
+ jobTitle?: string | undefined;
43295
+ phase?: string | undefined;
43296
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
43297
+ designSystemName?: string | undefined;
43298
+ defaultDestination?: string | undefined;
43299
+ figmaUrl?: string | undefined;
43300
+ isPageDraftOnboardingFinished?: boolean | undefined;
43301
+ isApprovalsOnboardingFinished?: boolean | undefined;
43302
+ } | undefined;
43303
+ }>;
43304
+ linkedIntegrations: z.ZodOptional<z.ZodObject<{
43305
+ figma: z.ZodOptional<z.ZodObject<{
43306
+ id: z.ZodString;
43307
+ handle: z.ZodOptional<z.ZodString>;
43308
+ avatarUrl: z.ZodOptional<z.ZodString>;
43309
+ email: z.ZodOptional<z.ZodString>;
43310
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
43311
+ customUrl: z.ZodOptional<z.ZodString>;
43312
+ }, "strip", z.ZodTypeAny, {
43313
+ id: string;
43314
+ email?: string | undefined;
43315
+ authType?: "OAuth2" | "PAT" | undefined;
43316
+ handle?: string | undefined;
43317
+ avatarUrl?: string | undefined;
43318
+ customUrl?: string | undefined;
43319
+ }, {
43320
+ id: string;
43321
+ email?: string | undefined;
43322
+ authType?: "OAuth2" | "PAT" | undefined;
43323
+ handle?: string | undefined;
43324
+ avatarUrl?: string | undefined;
43325
+ customUrl?: string | undefined;
43326
+ }>>;
43327
+ github: z.ZodOptional<z.ZodArray<z.ZodObject<{
43328
+ id: z.ZodString;
43329
+ handle: z.ZodOptional<z.ZodString>;
43330
+ avatarUrl: z.ZodOptional<z.ZodString>;
43331
+ email: z.ZodOptional<z.ZodString>;
43332
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
43333
+ customUrl: z.ZodOptional<z.ZodString>;
43334
+ }, "strip", z.ZodTypeAny, {
43335
+ id: string;
43336
+ email?: string | undefined;
43337
+ authType?: "OAuth2" | "PAT" | undefined;
43338
+ handle?: string | undefined;
43339
+ avatarUrl?: string | undefined;
43340
+ customUrl?: string | undefined;
43341
+ }, {
43342
+ id: string;
43343
+ email?: string | undefined;
43344
+ authType?: "OAuth2" | "PAT" | undefined;
43345
+ handle?: string | undefined;
43346
+ avatarUrl?: string | undefined;
43347
+ customUrl?: string | undefined;
43348
+ }>, "many">>;
43349
+ azure: z.ZodOptional<z.ZodArray<z.ZodObject<{
43350
+ id: z.ZodString;
43351
+ handle: z.ZodOptional<z.ZodString>;
43352
+ avatarUrl: z.ZodOptional<z.ZodString>;
43353
+ email: z.ZodOptional<z.ZodString>;
43354
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
43355
+ customUrl: z.ZodOptional<z.ZodString>;
43356
+ }, "strip", z.ZodTypeAny, {
43357
+ id: string;
43358
+ email?: string | undefined;
43359
+ authType?: "OAuth2" | "PAT" | undefined;
43360
+ handle?: string | undefined;
43361
+ avatarUrl?: string | undefined;
43362
+ customUrl?: string | undefined;
43363
+ }, {
43364
+ id: string;
43365
+ email?: string | undefined;
43366
+ authType?: "OAuth2" | "PAT" | undefined;
43367
+ handle?: string | undefined;
43368
+ avatarUrl?: string | undefined;
43369
+ customUrl?: string | undefined;
43370
+ }>, "many">>;
43371
+ gitlab: z.ZodOptional<z.ZodArray<z.ZodObject<{
43372
+ id: z.ZodString;
43373
+ handle: z.ZodOptional<z.ZodString>;
43374
+ avatarUrl: z.ZodOptional<z.ZodString>;
43375
+ email: z.ZodOptional<z.ZodString>;
43376
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
43377
+ customUrl: z.ZodOptional<z.ZodString>;
43378
+ }, "strip", z.ZodTypeAny, {
43379
+ id: string;
43380
+ email?: string | undefined;
43381
+ authType?: "OAuth2" | "PAT" | undefined;
43382
+ handle?: string | undefined;
43383
+ avatarUrl?: string | undefined;
43384
+ customUrl?: string | undefined;
43385
+ }, {
43386
+ id: string;
43387
+ email?: string | undefined;
43388
+ authType?: "OAuth2" | "PAT" | undefined;
43389
+ handle?: string | undefined;
43390
+ avatarUrl?: string | undefined;
43391
+ customUrl?: string | undefined;
43392
+ }>, "many">>;
43393
+ bitbucket: z.ZodOptional<z.ZodArray<z.ZodObject<{
43394
+ id: z.ZodString;
43395
+ handle: z.ZodOptional<z.ZodString>;
43396
+ avatarUrl: z.ZodOptional<z.ZodString>;
43397
+ email: z.ZodOptional<z.ZodString>;
43398
+ authType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"OAuth2">, z.ZodLiteral<"PAT">]>>;
43399
+ customUrl: z.ZodOptional<z.ZodString>;
43400
+ }, "strip", z.ZodTypeAny, {
43401
+ id: string;
43402
+ email?: string | undefined;
43403
+ authType?: "OAuth2" | "PAT" | undefined;
43404
+ handle?: string | undefined;
43405
+ avatarUrl?: string | undefined;
43406
+ customUrl?: string | undefined;
43407
+ }, {
43408
+ id: string;
43409
+ email?: string | undefined;
43410
+ authType?: "OAuth2" | "PAT" | undefined;
43411
+ handle?: string | undefined;
43412
+ avatarUrl?: string | undefined;
43413
+ customUrl?: string | undefined;
43414
+ }>, "many">>;
43415
+ }, "strip", z.ZodTypeAny, {
43416
+ azure?: {
43417
+ id: string;
43418
+ email?: string | undefined;
43419
+ authType?: "OAuth2" | "PAT" | undefined;
43420
+ handle?: string | undefined;
43421
+ avatarUrl?: string | undefined;
43422
+ customUrl?: string | undefined;
43423
+ }[] | undefined;
43424
+ github?: {
43425
+ id: string;
43426
+ email?: string | undefined;
43427
+ authType?: "OAuth2" | "PAT" | undefined;
43428
+ handle?: string | undefined;
43429
+ avatarUrl?: string | undefined;
43430
+ customUrl?: string | undefined;
43431
+ }[] | undefined;
43432
+ gitlab?: {
43433
+ id: string;
43434
+ email?: string | undefined;
43435
+ authType?: "OAuth2" | "PAT" | undefined;
43436
+ handle?: string | undefined;
43437
+ avatarUrl?: string | undefined;
43438
+ customUrl?: string | undefined;
43439
+ }[] | undefined;
43440
+ bitbucket?: {
43441
+ id: string;
43442
+ email?: string | undefined;
43443
+ authType?: "OAuth2" | "PAT" | undefined;
43444
+ handle?: string | undefined;
43445
+ avatarUrl?: string | undefined;
43446
+ customUrl?: string | undefined;
43447
+ }[] | undefined;
43448
+ figma?: {
43449
+ id: string;
43450
+ email?: string | undefined;
43451
+ authType?: "OAuth2" | "PAT" | undefined;
43452
+ handle?: string | undefined;
43453
+ avatarUrl?: string | undefined;
43454
+ customUrl?: string | undefined;
43455
+ } | undefined;
43456
+ }, {
43457
+ azure?: {
43458
+ id: string;
43459
+ email?: string | undefined;
43460
+ authType?: "OAuth2" | "PAT" | undefined;
43461
+ handle?: string | undefined;
43462
+ avatarUrl?: string | undefined;
43463
+ customUrl?: string | undefined;
43464
+ }[] | undefined;
43465
+ github?: {
43466
+ id: string;
43467
+ email?: string | undefined;
43468
+ authType?: "OAuth2" | "PAT" | undefined;
43469
+ handle?: string | undefined;
43470
+ avatarUrl?: string | undefined;
43471
+ customUrl?: string | undefined;
43472
+ }[] | undefined;
43473
+ gitlab?: {
43474
+ id: string;
43475
+ email?: string | undefined;
43476
+ authType?: "OAuth2" | "PAT" | undefined;
43477
+ handle?: string | undefined;
43478
+ avatarUrl?: string | undefined;
43479
+ customUrl?: string | undefined;
43480
+ }[] | undefined;
43481
+ bitbucket?: {
43482
+ id: string;
43483
+ email?: string | undefined;
43484
+ authType?: "OAuth2" | "PAT" | undefined;
43485
+ handle?: string | undefined;
43486
+ avatarUrl?: string | undefined;
43487
+ customUrl?: string | undefined;
43488
+ }[] | undefined;
43489
+ figma?: {
43490
+ id: string;
43491
+ email?: string | undefined;
43492
+ authType?: "OAuth2" | "PAT" | undefined;
43493
+ handle?: string | undefined;
43494
+ avatarUrl?: string | undefined;
43495
+ customUrl?: string | undefined;
43496
+ } | undefined;
43497
+ }>>;
43498
+ loggedOutAt: z.ZodOptional<z.ZodDate>;
43499
+ isProtected: z.ZodBoolean;
43500
+ source: z.ZodOptional<z.ZodEnum<["SignUp", "Invite", "SSO"]>>;
43501
+ }, "strip", z.ZodTypeAny, {
43502
+ id: string;
43503
+ createdAt: Date;
43504
+ email: string;
43505
+ profile: {
43506
+ name: string;
43507
+ avatar?: string | undefined;
43508
+ nickname?: string | undefined;
43509
+ onboarding?: {
43510
+ companyName?: string | undefined;
43511
+ numberOfPeopleInOrg?: string | undefined;
43512
+ numberOfPeopleInDesignTeam?: string | undefined;
43513
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
43514
+ jobTitle?: string | undefined;
43515
+ phase?: string | undefined;
43516
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
43517
+ designSystemName?: string | undefined;
43518
+ defaultDestination?: string | undefined;
43519
+ figmaUrl?: string | undefined;
43520
+ isPageDraftOnboardingFinished?: boolean | undefined;
43521
+ isApprovalsOnboardingFinished?: boolean | undefined;
43522
+ } | undefined;
42233
43523
  };
42234
- npmRegistry?: {
42235
- enabledScopes: string[];
42236
- bypassProxy: boolean;
42237
- registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
42238
- authType: "Custom" | "None" | "Basic" | "Bearer";
42239
- registryUrl: string;
42240
- proxyUrl: string;
42241
- customRegistryUrl?: string | undefined;
42242
- accessToken?: string | undefined;
42243
- username?: string | undefined;
42244
- password?: string | undefined;
43524
+ emailVerified: boolean;
43525
+ isProtected: boolean;
43526
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
43527
+ trialExpiresAt?: Date | undefined;
43528
+ linkedIntegrations?: {
43529
+ azure?: {
43530
+ id: string;
43531
+ email?: string | undefined;
43532
+ authType?: "OAuth2" | "PAT" | undefined;
43533
+ handle?: string | undefined;
43534
+ avatarUrl?: string | undefined;
43535
+ customUrl?: string | undefined;
43536
+ }[] | undefined;
43537
+ github?: {
43538
+ id: string;
43539
+ email?: string | undefined;
43540
+ authType?: "OAuth2" | "PAT" | undefined;
43541
+ handle?: string | undefined;
43542
+ avatarUrl?: string | undefined;
43543
+ customUrl?: string | undefined;
43544
+ }[] | undefined;
43545
+ gitlab?: {
43546
+ id: string;
43547
+ email?: string | undefined;
43548
+ authType?: "OAuth2" | "PAT" | undefined;
43549
+ handle?: string | undefined;
43550
+ avatarUrl?: string | undefined;
43551
+ customUrl?: string | undefined;
43552
+ }[] | undefined;
43553
+ bitbucket?: {
43554
+ id: string;
43555
+ email?: string | undefined;
43556
+ authType?: "OAuth2" | "PAT" | undefined;
43557
+ handle?: string | undefined;
43558
+ avatarUrl?: string | undefined;
43559
+ customUrl?: string | undefined;
43560
+ }[] | undefined;
43561
+ figma?: {
43562
+ id: string;
43563
+ email?: string | undefined;
43564
+ authType?: "OAuth2" | "PAT" | undefined;
43565
+ handle?: string | undefined;
43566
+ avatarUrl?: string | undefined;
43567
+ customUrl?: string | undefined;
43568
+ } | undefined;
42245
43569
  } | undefined;
42246
- };
42247
- }>, "many">;
42248
- }, "strip", z.ZodTypeAny, {
42249
- membership: {
42250
- role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
42251
- effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
42252
- workspace: {
43570
+ loggedOutAt?: Date | undefined;
43571
+ }, {
42253
43572
  id: string;
43573
+ createdAt: Date;
43574
+ email: string;
42254
43575
  profile: {
42255
43576
  name: string;
42256
- color: string;
42257
- handle: string;
42258
43577
  avatar?: string | undefined;
42259
- billingDetails?: {
42260
- address?: {
42261
- street1?: string | undefined;
42262
- street2?: string | undefined;
42263
- city?: string | undefined;
42264
- postal?: string | undefined;
42265
- country?: string | undefined;
42266
- state?: string | undefined;
42267
- } | undefined;
43578
+ nickname?: string | undefined;
43579
+ onboarding?: {
43580
+ companyName?: string | undefined;
43581
+ numberOfPeopleInOrg?: string | undefined;
43582
+ numberOfPeopleInDesignTeam?: string | undefined;
43583
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
43584
+ jobTitle?: string | undefined;
43585
+ phase?: string | undefined;
43586
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
43587
+ designSystemName?: string | undefined;
43588
+ defaultDestination?: string | undefined;
43589
+ figmaUrl?: string | undefined;
43590
+ isPageDraftOnboardingFinished?: boolean | undefined;
43591
+ isApprovalsOnboardingFinished?: boolean | undefined;
43592
+ } | undefined;
43593
+ };
43594
+ emailVerified: boolean;
43595
+ isProtected: boolean;
43596
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
43597
+ trialExpiresAt?: Date | undefined;
43598
+ linkedIntegrations?: {
43599
+ azure?: {
43600
+ id: string;
43601
+ email?: string | undefined;
43602
+ authType?: "OAuth2" | "PAT" | undefined;
43603
+ handle?: string | undefined;
43604
+ avatarUrl?: string | undefined;
43605
+ customUrl?: string | undefined;
43606
+ }[] | undefined;
43607
+ github?: {
43608
+ id: string;
43609
+ email?: string | undefined;
43610
+ authType?: "OAuth2" | "PAT" | undefined;
43611
+ handle?: string | undefined;
43612
+ avatarUrl?: string | undefined;
43613
+ customUrl?: string | undefined;
43614
+ }[] | undefined;
43615
+ gitlab?: {
43616
+ id: string;
43617
+ email?: string | undefined;
43618
+ authType?: "OAuth2" | "PAT" | undefined;
43619
+ handle?: string | undefined;
43620
+ avatarUrl?: string | undefined;
43621
+ customUrl?: string | undefined;
43622
+ }[] | undefined;
43623
+ bitbucket?: {
43624
+ id: string;
43625
+ email?: string | undefined;
43626
+ authType?: "OAuth2" | "PAT" | undefined;
43627
+ handle?: string | undefined;
43628
+ avatarUrl?: string | undefined;
43629
+ customUrl?: string | undefined;
43630
+ }[] | undefined;
43631
+ figma?: {
43632
+ id: string;
42268
43633
  email?: string | undefined;
43634
+ authType?: "OAuth2" | "PAT" | undefined;
43635
+ handle?: string | undefined;
43636
+ avatarUrl?: string | undefined;
43637
+ customUrl?: string | undefined;
43638
+ } | undefined;
43639
+ } | undefined;
43640
+ loggedOutAt?: Date | undefined;
43641
+ }>;
43642
+ role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
43643
+ effectiveRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
43644
+ }, "strip", z.ZodTypeAny, {
43645
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
43646
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
43647
+ user: {
43648
+ id: string;
43649
+ createdAt: Date;
43650
+ email: string;
43651
+ profile: {
43652
+ name: string;
43653
+ avatar?: string | undefined;
43654
+ nickname?: string | undefined;
43655
+ onboarding?: {
42269
43656
  companyName?: string | undefined;
42270
- companyId?: string | undefined;
42271
- notes?: string | undefined;
42272
- vat?: string | undefined;
42273
- poNumber?: string | undefined;
43657
+ numberOfPeopleInOrg?: string | undefined;
43658
+ numberOfPeopleInDesignTeam?: string | undefined;
43659
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
43660
+ jobTitle?: string | undefined;
43661
+ phase?: string | undefined;
43662
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
43663
+ designSystemName?: string | undefined;
43664
+ defaultDestination?: string | undefined;
43665
+ figmaUrl?: string | undefined;
43666
+ isPageDraftOnboardingFinished?: boolean | undefined;
43667
+ isApprovalsOnboardingFinished?: boolean | undefined;
42274
43668
  } | undefined;
42275
43669
  };
42276
- subscription: {
42277
- product: "free" | "team" | "company" | "enterprise";
42278
- planPriceId: string;
42279
- planInterval: "yearly" | "daily" | "monthly" | "weekly";
42280
- seats: number;
42281
- seatLimit: number;
42282
- status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
42283
- card?: {
42284
- cardId?: string | null | undefined;
42285
- last4?: string | null | undefined;
42286
- expiryMonth?: string | null | undefined;
42287
- expiryYear?: string | null | undefined;
42288
- brand?: string | null | undefined;
42289
- name?: string | null | undefined;
43670
+ emailVerified: boolean;
43671
+ isProtected: boolean;
43672
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
43673
+ trialExpiresAt?: Date | undefined;
43674
+ linkedIntegrations?: {
43675
+ azure?: {
43676
+ id: string;
43677
+ email?: string | undefined;
43678
+ authType?: "OAuth2" | "PAT" | undefined;
43679
+ handle?: string | undefined;
43680
+ avatarUrl?: string | undefined;
43681
+ customUrl?: string | undefined;
43682
+ }[] | undefined;
43683
+ github?: {
43684
+ id: string;
43685
+ email?: string | undefined;
43686
+ authType?: "OAuth2" | "PAT" | undefined;
43687
+ handle?: string | undefined;
43688
+ avatarUrl?: string | undefined;
43689
+ customUrl?: string | undefined;
43690
+ }[] | undefined;
43691
+ gitlab?: {
43692
+ id: string;
43693
+ email?: string | undefined;
43694
+ authType?: "OAuth2" | "PAT" | undefined;
43695
+ handle?: string | undefined;
43696
+ avatarUrl?: string | undefined;
43697
+ customUrl?: string | undefined;
43698
+ }[] | undefined;
43699
+ bitbucket?: {
43700
+ id: string;
43701
+ email?: string | undefined;
43702
+ authType?: "OAuth2" | "PAT" | undefined;
43703
+ handle?: string | undefined;
43704
+ avatarUrl?: string | undefined;
43705
+ customUrl?: string | undefined;
43706
+ }[] | undefined;
43707
+ figma?: {
43708
+ id: string;
43709
+ email?: string | undefined;
43710
+ authType?: "OAuth2" | "PAT" | undefined;
43711
+ handle?: string | undefined;
43712
+ avatarUrl?: string | undefined;
43713
+ customUrl?: string | undefined;
42290
43714
  } | undefined;
42291
- amount?: number | null | undefined;
42292
- stripeProductDescription?: string | undefined;
42293
- isPricePerCreator?: boolean | undefined;
42294
- isTrial?: boolean | undefined;
42295
- legacyVersion?: string | undefined;
42296
- stripeProductFeatures?: string[] | undefined;
42297
- stripeProductAdditionalFeatures?: string[] | undefined;
42298
- stripeSubscriptionId?: string | null | undefined;
42299
- stripeCustomerId?: string | null | undefined;
42300
- subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
42301
- internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
42302
- featuresSummary?: {
42303
- designSystems: {
42304
- max: number;
42305
- errorMessage: string;
42306
- errorReason: string;
42307
- };
42308
- designSystemSources: {
42309
- max: number;
42310
- errorMessage: string;
42311
- errorReason: string;
42312
- noImportJobsErrorMessage: string;
42313
- noImportJobsErrorReason: string;
42314
- };
42315
- designSystemVersions: {
42316
- max: number;
42317
- errorMessage: string;
42318
- errorReason: string;
42319
- };
42320
- themes: {
42321
- max: number;
42322
- errorMessage: string;
42323
- errorReason: string;
42324
- };
42325
- brands: {
42326
- max: number;
42327
- errorMessage: string;
42328
- errorReason: string;
42329
- };
42330
- codegenSchedules: {
42331
- max: number;
42332
- errorMessage: string;
42333
- errorReason: string;
42334
- };
42335
- publicDocumentation: {
42336
- errorMessage: string;
42337
- errorReason: string;
42338
- enabled: boolean;
42339
- };
42340
- customDocumentationUrl: {
42341
- errorMessage: string;
42342
- errorReason: string;
42343
- enabled: boolean;
42344
- };
42345
- customDocumentationViewButton: {
42346
- errorMessage: string;
42347
- errorReason: string;
42348
- enabled: boolean;
42349
- };
42350
- designSystemSourceAutoImport: {
42351
- errorMessage: string;
42352
- errorReason: string;
42353
- enabled: boolean;
42354
- };
42355
- designSystemSlug: {
42356
- errorMessage: string;
42357
- errorReason: string;
42358
- enabled: boolean;
42359
- };
42360
- ipWhitelisting: {
42361
- errorMessage: string;
42362
- errorReason: string;
42363
- enabled: boolean;
42364
- };
42365
- npmRegistry: {
42366
- errorMessage: string;
42367
- errorReason: string;
42368
- enabled: boolean;
42369
- };
42370
- sso: {
42371
- errorMessage: string;
42372
- errorReason: string;
42373
- enabled: boolean;
42374
- };
42375
- workspacePaidSeats: {
42376
- max: number;
42377
- errorMessage: string;
42378
- errorReason: string;
42379
- };
42380
- workspaceViewers: {
42381
- max: number;
42382
- errorMessage: string;
42383
- errorReason: string;
42384
- };
42385
- customDocumentationExporter: {
42386
- errorMessage: string;
42387
- errorReason: string;
42388
- enabled: boolean;
42389
- };
42390
- protectedPages: {
42391
- errorMessage: string;
42392
- errorReason: string;
42393
- enabled: boolean;
42394
- };
42395
- approvals: {
42396
- errorMessage: string;
42397
- errorReason: string;
42398
- enabled: boolean;
42399
- };
42400
- selectivePublishing: {
42401
- errorMessage: string;
42402
- errorReason: string;
42403
- enabled: boolean;
42404
- };
42405
- designSystemAccessModes: {
42406
- errorMessage: string;
42407
- errorReason: string;
42408
- enabled: boolean;
42409
- };
43715
+ } | undefined;
43716
+ loggedOutAt?: Date | undefined;
43717
+ };
43718
+ }, {
43719
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
43720
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
43721
+ user: {
43722
+ id: string;
43723
+ createdAt: Date;
43724
+ email: string;
43725
+ profile: {
43726
+ name: string;
43727
+ avatar?: string | undefined;
43728
+ nickname?: string | undefined;
43729
+ onboarding?: {
43730
+ companyName?: string | undefined;
43731
+ numberOfPeopleInOrg?: string | undefined;
43732
+ numberOfPeopleInDesignTeam?: string | undefined;
43733
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
43734
+ jobTitle?: string | undefined;
43735
+ phase?: string | undefined;
43736
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
43737
+ designSystemName?: string | undefined;
43738
+ defaultDestination?: string | undefined;
43739
+ figmaUrl?: string | undefined;
43740
+ isPageDraftOnboardingFinished?: boolean | undefined;
43741
+ isApprovalsOnboardingFinished?: boolean | undefined;
42410
43742
  } | undefined;
42411
- stripeSubscriptionMainItemId?: string | undefined;
42412
- currentPeriodStart?: string | undefined;
42413
- currentPeriodEnd?: string | undefined;
42414
- subscriptionStatusUpdatedAt?: string | undefined;
42415
- cancelAt?: string | null | undefined;
42416
- billingType?: "Auto" | "Invoice" | undefined;
42417
- daysUntilDue?: number | undefined;
42418
43743
  };
42419
- npmRegistry?: {
42420
- enabledScopes: string[];
42421
- bypassProxy: boolean;
42422
- registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
42423
- authType: "Custom" | "None" | "Basic" | "Bearer";
42424
- registryUrl: string;
42425
- proxyUrl: string;
42426
- customRegistryUrl?: string | undefined;
42427
- accessToken?: string | undefined;
42428
- username?: string | undefined;
42429
- password?: string | undefined;
43744
+ emailVerified: boolean;
43745
+ isProtected: boolean;
43746
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
43747
+ trialExpiresAt?: Date | undefined;
43748
+ linkedIntegrations?: {
43749
+ azure?: {
43750
+ id: string;
43751
+ email?: string | undefined;
43752
+ authType?: "OAuth2" | "PAT" | undefined;
43753
+ handle?: string | undefined;
43754
+ avatarUrl?: string | undefined;
43755
+ customUrl?: string | undefined;
43756
+ }[] | undefined;
43757
+ github?: {
43758
+ id: string;
43759
+ email?: string | undefined;
43760
+ authType?: "OAuth2" | "PAT" | undefined;
43761
+ handle?: string | undefined;
43762
+ avatarUrl?: string | undefined;
43763
+ customUrl?: string | undefined;
43764
+ }[] | undefined;
43765
+ gitlab?: {
43766
+ id: string;
43767
+ email?: string | undefined;
43768
+ authType?: "OAuth2" | "PAT" | undefined;
43769
+ handle?: string | undefined;
43770
+ avatarUrl?: string | undefined;
43771
+ customUrl?: string | undefined;
43772
+ }[] | undefined;
43773
+ bitbucket?: {
43774
+ id: string;
43775
+ email?: string | undefined;
43776
+ authType?: "OAuth2" | "PAT" | undefined;
43777
+ handle?: string | undefined;
43778
+ avatarUrl?: string | undefined;
43779
+ customUrl?: string | undefined;
43780
+ }[] | undefined;
43781
+ figma?: {
43782
+ id: string;
43783
+ email?: string | undefined;
43784
+ authType?: "OAuth2" | "PAT" | undefined;
43785
+ handle?: string | undefined;
43786
+ avatarUrl?: string | undefined;
43787
+ customUrl?: string | undefined;
43788
+ } | undefined;
42430
43789
  } | undefined;
43790
+ loggedOutAt?: Date | undefined;
42431
43791
  };
42432
- }[];
42433
- }, {
42434
- membership: {
42435
- role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
42436
- effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
42437
- workspace: {
43792
+ }>, "many">;
43793
+ }, "strip", z.ZodTypeAny, {
43794
+ members: {
43795
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
43796
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
43797
+ user: {
42438
43798
  id: string;
43799
+ createdAt: Date;
43800
+ email: string;
42439
43801
  profile: {
42440
43802
  name: string;
42441
- color: string;
42442
- handle: string;
42443
- avatar?: string | null | undefined;
42444
- billingDetails?: {
42445
- address?: {
42446
- street1?: string | null | undefined;
42447
- street2?: string | null | undefined;
42448
- city?: string | null | undefined;
42449
- postal?: string | null | undefined;
42450
- country?: string | null | undefined;
42451
- state?: string | null | undefined;
42452
- } | null | undefined;
42453
- email?: string | null | undefined;
42454
- companyName?: string | null | undefined;
42455
- companyId?: string | null | undefined;
42456
- notes?: string | null | undefined;
42457
- vat?: string | null | undefined;
42458
- poNumber?: string | null | undefined;
42459
- } | null | undefined;
43803
+ avatar?: string | undefined;
43804
+ nickname?: string | undefined;
43805
+ onboarding?: {
43806
+ companyName?: string | undefined;
43807
+ numberOfPeopleInOrg?: string | undefined;
43808
+ numberOfPeopleInDesignTeam?: string | undefined;
43809
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
43810
+ jobTitle?: string | undefined;
43811
+ phase?: string | undefined;
43812
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
43813
+ designSystemName?: string | undefined;
43814
+ defaultDestination?: string | undefined;
43815
+ figmaUrl?: string | undefined;
43816
+ isPageDraftOnboardingFinished?: boolean | undefined;
43817
+ isApprovalsOnboardingFinished?: boolean | undefined;
43818
+ } | undefined;
42460
43819
  };
42461
- subscription: {
42462
- product: "free" | "team" | "company" | "enterprise";
42463
- planPriceId: string;
42464
- planInterval: "yearly" | "daily" | "monthly" | "weekly";
42465
- seats: number;
42466
- seatLimit: number;
42467
- status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
42468
- card?: {
42469
- cardId?: string | null | undefined;
42470
- last4?: string | null | undefined;
42471
- expiryMonth?: string | null | undefined;
42472
- expiryYear?: string | null | undefined;
42473
- brand?: string | null | undefined;
42474
- name?: string | null | undefined;
43820
+ emailVerified: boolean;
43821
+ isProtected: boolean;
43822
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
43823
+ trialExpiresAt?: Date | undefined;
43824
+ linkedIntegrations?: {
43825
+ azure?: {
43826
+ id: string;
43827
+ email?: string | undefined;
43828
+ authType?: "OAuth2" | "PAT" | undefined;
43829
+ handle?: string | undefined;
43830
+ avatarUrl?: string | undefined;
43831
+ customUrl?: string | undefined;
43832
+ }[] | undefined;
43833
+ github?: {
43834
+ id: string;
43835
+ email?: string | undefined;
43836
+ authType?: "OAuth2" | "PAT" | undefined;
43837
+ handle?: string | undefined;
43838
+ avatarUrl?: string | undefined;
43839
+ customUrl?: string | undefined;
43840
+ }[] | undefined;
43841
+ gitlab?: {
43842
+ id: string;
43843
+ email?: string | undefined;
43844
+ authType?: "OAuth2" | "PAT" | undefined;
43845
+ handle?: string | undefined;
43846
+ avatarUrl?: string | undefined;
43847
+ customUrl?: string | undefined;
43848
+ }[] | undefined;
43849
+ bitbucket?: {
43850
+ id: string;
43851
+ email?: string | undefined;
43852
+ authType?: "OAuth2" | "PAT" | undefined;
43853
+ handle?: string | undefined;
43854
+ avatarUrl?: string | undefined;
43855
+ customUrl?: string | undefined;
43856
+ }[] | undefined;
43857
+ figma?: {
43858
+ id: string;
43859
+ email?: string | undefined;
43860
+ authType?: "OAuth2" | "PAT" | undefined;
43861
+ handle?: string | undefined;
43862
+ avatarUrl?: string | undefined;
43863
+ customUrl?: string | undefined;
42475
43864
  } | undefined;
42476
- amount?: number | null | undefined;
42477
- stripeProductDescription?: string | undefined;
42478
- isPricePerCreator?: boolean | undefined;
42479
- isTrial?: boolean | undefined;
42480
- legacyVersion?: string | undefined;
42481
- stripeProductFeatures?: string[] | undefined;
42482
- stripeProductAdditionalFeatures?: string[] | undefined;
42483
- stripeSubscriptionId?: string | null | undefined;
42484
- stripeCustomerId?: string | null | undefined;
42485
- subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
42486
- internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
42487
- featuresSummary?: {
42488
- designSystems: {
42489
- max: number;
42490
- errorMessage: string;
42491
- errorReason: string;
42492
- };
42493
- designSystemSources: {
42494
- max: number;
42495
- errorMessage: string;
42496
- errorReason: string;
42497
- noImportJobsErrorMessage: string;
42498
- noImportJobsErrorReason: string;
42499
- };
42500
- designSystemVersions: {
42501
- max: number;
42502
- errorMessage: string;
42503
- errorReason: string;
42504
- };
42505
- themes: {
42506
- max: number;
42507
- errorMessage: string;
42508
- errorReason: string;
42509
- };
42510
- brands: {
42511
- max: number;
42512
- errorMessage: string;
42513
- errorReason: string;
42514
- };
42515
- codegenSchedules: {
42516
- max: number;
42517
- errorMessage: string;
42518
- errorReason: string;
42519
- };
42520
- publicDocumentation: {
42521
- errorMessage: string;
42522
- errorReason: string;
42523
- enabled: boolean;
42524
- };
42525
- customDocumentationUrl: {
42526
- errorMessage: string;
42527
- errorReason: string;
42528
- enabled: boolean;
42529
- };
42530
- customDocumentationViewButton: {
42531
- errorMessage: string;
42532
- errorReason: string;
42533
- enabled: boolean;
42534
- };
42535
- designSystemSourceAutoImport: {
42536
- errorMessage: string;
42537
- errorReason: string;
42538
- enabled: boolean;
42539
- };
42540
- designSystemSlug: {
42541
- errorMessage: string;
42542
- errorReason: string;
42543
- enabled: boolean;
42544
- };
42545
- ipWhitelisting: {
42546
- errorMessage: string;
42547
- errorReason: string;
42548
- enabled: boolean;
42549
- };
42550
- npmRegistry: {
42551
- errorMessage: string;
42552
- errorReason: string;
42553
- enabled: boolean;
42554
- };
42555
- sso: {
42556
- errorMessage: string;
42557
- errorReason: string;
42558
- enabled: boolean;
42559
- };
42560
- workspacePaidSeats: {
42561
- max: number;
42562
- errorMessage: string;
42563
- errorReason: string;
42564
- };
42565
- workspaceViewers: {
42566
- max: number;
42567
- errorMessage: string;
42568
- errorReason: string;
42569
- };
42570
- customDocumentationExporter: {
42571
- errorMessage: string;
42572
- errorReason: string;
42573
- enabled: boolean;
42574
- };
42575
- protectedPages: {
42576
- errorMessage: string;
42577
- errorReason: string;
42578
- enabled: boolean;
42579
- };
42580
- approvals: {
42581
- errorMessage: string;
42582
- errorReason: string;
42583
- enabled: boolean;
42584
- };
42585
- selectivePublishing: {
42586
- errorMessage: string;
42587
- errorReason: string;
42588
- enabled: boolean;
42589
- };
42590
- designSystemAccessModes: {
42591
- errorMessage: string;
42592
- errorReason: string;
42593
- enabled: boolean;
42594
- };
43865
+ } | undefined;
43866
+ loggedOutAt?: Date | undefined;
43867
+ };
43868
+ }[];
43869
+ }, {
43870
+ members: {
43871
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
43872
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
43873
+ user: {
43874
+ id: string;
43875
+ createdAt: Date;
43876
+ email: string;
43877
+ profile: {
43878
+ name: string;
43879
+ avatar?: string | undefined;
43880
+ nickname?: string | undefined;
43881
+ onboarding?: {
43882
+ companyName?: string | undefined;
43883
+ numberOfPeopleInOrg?: string | undefined;
43884
+ numberOfPeopleInDesignTeam?: string | undefined;
43885
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
43886
+ jobTitle?: string | undefined;
43887
+ phase?: string | undefined;
43888
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
43889
+ designSystemName?: string | undefined;
43890
+ defaultDestination?: string | undefined;
43891
+ figmaUrl?: string | undefined;
43892
+ isPageDraftOnboardingFinished?: boolean | undefined;
43893
+ isApprovalsOnboardingFinished?: boolean | undefined;
42595
43894
  } | undefined;
42596
- stripeSubscriptionMainItemId?: string | undefined;
42597
- currentPeriodStart?: string | undefined;
42598
- currentPeriodEnd?: string | undefined;
42599
- subscriptionStatusUpdatedAt?: string | undefined;
42600
- cancelAt?: string | null | undefined;
42601
- billingType?: "Auto" | "Invoice" | undefined;
42602
- daysUntilDue?: number | undefined;
42603
43895
  };
42604
- npmRegistry?: {
42605
- enabledScopes: string[];
42606
- bypassProxy: boolean;
42607
- registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
42608
- authType: "Custom" | "None" | "Basic" | "Bearer";
42609
- registryUrl: string;
42610
- proxyUrl: string;
42611
- customRegistryUrl?: string | undefined;
42612
- accessToken?: string | undefined;
42613
- username?: string | undefined;
42614
- password?: string | undefined;
43896
+ emailVerified: boolean;
43897
+ isProtected: boolean;
43898
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
43899
+ trialExpiresAt?: Date | undefined;
43900
+ linkedIntegrations?: {
43901
+ azure?: {
43902
+ id: string;
43903
+ email?: string | undefined;
43904
+ authType?: "OAuth2" | "PAT" | undefined;
43905
+ handle?: string | undefined;
43906
+ avatarUrl?: string | undefined;
43907
+ customUrl?: string | undefined;
43908
+ }[] | undefined;
43909
+ github?: {
43910
+ id: string;
43911
+ email?: string | undefined;
43912
+ authType?: "OAuth2" | "PAT" | undefined;
43913
+ handle?: string | undefined;
43914
+ avatarUrl?: string | undefined;
43915
+ customUrl?: string | undefined;
43916
+ }[] | undefined;
43917
+ gitlab?: {
43918
+ id: string;
43919
+ email?: string | undefined;
43920
+ authType?: "OAuth2" | "PAT" | undefined;
43921
+ handle?: string | undefined;
43922
+ avatarUrl?: string | undefined;
43923
+ customUrl?: string | undefined;
43924
+ }[] | undefined;
43925
+ bitbucket?: {
43926
+ id: string;
43927
+ email?: string | undefined;
43928
+ authType?: "OAuth2" | "PAT" | undefined;
43929
+ handle?: string | undefined;
43930
+ avatarUrl?: string | undefined;
43931
+ customUrl?: string | undefined;
43932
+ }[] | undefined;
43933
+ figma?: {
43934
+ id: string;
43935
+ email?: string | undefined;
43936
+ authType?: "OAuth2" | "PAT" | undefined;
43937
+ handle?: string | undefined;
43938
+ avatarUrl?: string | undefined;
43939
+ customUrl?: string | undefined;
43940
+ } | undefined;
42615
43941
  } | undefined;
43942
+ loggedOutAt?: Date | undefined;
42616
43943
  };
42617
43944
  }[];
42618
43945
  }>;
42619
- type DTOUserWorkspaceMembershipsResponse = z.infer<typeof DTOUserWorkspaceMembershipsResponse>;
43946
+ type DTOWorkspaceMembersListResponse = z.infer<typeof DTOWorkspaceMembersListResponse>;
42620
43947
 
42621
43948
  declare const DTONpmRegistryConfigConstants: {
42622
43949
  passwordPlaceholder: string;
@@ -48458,34 +49785,298 @@ declare class DesignSystemsEndpoint {
48458
49785
  }>;
48459
49786
  }
48460
49787
 
48461
- type RequestExecutorErrorType = "ServerError" | "ResponseParsingError";
48462
- type RequestEexecutorServerErrorCode = SupernovaExceptionType | undefined;
48463
- declare class RequestExecutorError extends Error {
48464
- readonly type: RequestExecutorErrorType;
48465
- readonly errorCode: RequestEexecutorServerErrorCode;
48466
- readonly serverErrorType: SupernovaExceptionType | undefined;
48467
- static tryParseErrorCode(body: string): any;
48468
- static tryParseServerErrorType(body: string): any;
48469
- static serverError(endpoint: string, status: number, bodyText: string): RequestExecutorError;
48470
- static responseParsingError(endpoint: string, cause: Error): RequestExecutorError;
48471
- private constructor();
48472
- }
48473
-
48474
- declare class WorkspaceInvitationsEndpoint {
49788
+ type RequestExecutorErrorType = "ServerError" | "ResponseParsingError";
49789
+ type RequestEexecutorServerErrorCode = SupernovaExceptionType | undefined;
49790
+ declare class RequestExecutorError extends Error {
49791
+ readonly type: RequestExecutorErrorType;
49792
+ readonly errorCode: RequestEexecutorServerErrorCode;
49793
+ readonly serverErrorType: SupernovaExceptionType | undefined;
49794
+ static tryParseErrorCode(body: string): any;
49795
+ static tryParseServerErrorType(body: string): any;
49796
+ static serverError(endpoint: string, status: number, bodyText: string): RequestExecutorError;
49797
+ static responseParsingError(endpoint: string, cause: Error): RequestExecutorError;
49798
+ private constructor();
49799
+ }
49800
+
49801
+ declare class WorkspaceInvitationsEndpoint {
49802
+ private readonly requestExecutor;
49803
+ constructor(requestExecutor: RequestExecutor);
49804
+ list(workspaceId: string): Promise<{
49805
+ invitations: {
49806
+ id: string;
49807
+ createdAt: Date;
49808
+ email: string;
49809
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
49810
+ workspaceId: string;
49811
+ invitedBy: string;
49812
+ resentAt?: Date | null | undefined;
49813
+ }[];
49814
+ }>;
49815
+ delete(workspaceId: string, invitationId: string): Promise<{
49816
+ workspace: {
49817
+ id: string;
49818
+ profile: {
49819
+ name: string;
49820
+ color: string;
49821
+ handle: string;
49822
+ avatar?: string | undefined;
49823
+ billingDetails?: {
49824
+ address?: {
49825
+ street1?: string | undefined;
49826
+ street2?: string | undefined;
49827
+ city?: string | undefined;
49828
+ postal?: string | undefined;
49829
+ country?: string | undefined;
49830
+ state?: string | undefined;
49831
+ } | undefined;
49832
+ email?: string | undefined;
49833
+ companyName?: string | undefined;
49834
+ companyId?: string | undefined;
49835
+ notes?: string | undefined;
49836
+ vat?: string | undefined;
49837
+ poNumber?: string | undefined;
49838
+ } | undefined;
49839
+ };
49840
+ subscription: {
49841
+ product: "free" | "team" | "company" | "enterprise";
49842
+ planPriceId: string;
49843
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
49844
+ seats: number;
49845
+ seatLimit: number;
49846
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
49847
+ card?: {
49848
+ cardId?: string | null | undefined;
49849
+ last4?: string | null | undefined;
49850
+ expiryMonth?: string | null | undefined;
49851
+ expiryYear?: string | null | undefined;
49852
+ brand?: string | null | undefined;
49853
+ name?: string | null | undefined;
49854
+ } | undefined;
49855
+ amount?: number | null | undefined;
49856
+ stripeProductDescription?: string | undefined;
49857
+ isPricePerCreator?: boolean | undefined;
49858
+ isTrial?: boolean | undefined;
49859
+ legacyVersion?: string | undefined;
49860
+ stripeProductFeatures?: string[] | undefined;
49861
+ stripeProductAdditionalFeatures?: string[] | undefined;
49862
+ stripeSubscriptionId?: string | null | undefined;
49863
+ stripeCustomerId?: string | null | undefined;
49864
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
49865
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
49866
+ featuresSummary?: {
49867
+ designSystems: {
49868
+ max: number;
49869
+ errorMessage: string;
49870
+ errorReason: string;
49871
+ };
49872
+ designSystemSources: {
49873
+ max: number;
49874
+ errorMessage: string;
49875
+ errorReason: string;
49876
+ noImportJobsErrorMessage: string;
49877
+ noImportJobsErrorReason: string;
49878
+ };
49879
+ designSystemVersions: {
49880
+ max: number;
49881
+ errorMessage: string;
49882
+ errorReason: string;
49883
+ };
49884
+ themes: {
49885
+ max: number;
49886
+ errorMessage: string;
49887
+ errorReason: string;
49888
+ };
49889
+ brands: {
49890
+ max: number;
49891
+ errorMessage: string;
49892
+ errorReason: string;
49893
+ };
49894
+ codegenSchedules: {
49895
+ max: number;
49896
+ errorMessage: string;
49897
+ errorReason: string;
49898
+ };
49899
+ publicDocumentation: {
49900
+ errorMessage: string;
49901
+ errorReason: string;
49902
+ enabled: boolean;
49903
+ };
49904
+ customDocumentationUrl: {
49905
+ errorMessage: string;
49906
+ errorReason: string;
49907
+ enabled: boolean;
49908
+ };
49909
+ customDocumentationViewButton: {
49910
+ errorMessage: string;
49911
+ errorReason: string;
49912
+ enabled: boolean;
49913
+ };
49914
+ designSystemSourceAutoImport: {
49915
+ errorMessage: string;
49916
+ errorReason: string;
49917
+ enabled: boolean;
49918
+ };
49919
+ designSystemSlug: {
49920
+ errorMessage: string;
49921
+ errorReason: string;
49922
+ enabled: boolean;
49923
+ };
49924
+ ipWhitelisting: {
49925
+ errorMessage: string;
49926
+ errorReason: string;
49927
+ enabled: boolean;
49928
+ };
49929
+ npmRegistry: {
49930
+ errorMessage: string;
49931
+ errorReason: string;
49932
+ enabled: boolean;
49933
+ };
49934
+ sso: {
49935
+ errorMessage: string;
49936
+ errorReason: string;
49937
+ enabled: boolean;
49938
+ };
49939
+ workspacePaidSeats: {
49940
+ max: number;
49941
+ errorMessage: string;
49942
+ errorReason: string;
49943
+ };
49944
+ workspaceViewers: {
49945
+ max: number;
49946
+ errorMessage: string;
49947
+ errorReason: string;
49948
+ };
49949
+ customDocumentationExporter: {
49950
+ errorMessage: string;
49951
+ errorReason: string;
49952
+ enabled: boolean;
49953
+ };
49954
+ protectedPages: {
49955
+ errorMessage: string;
49956
+ errorReason: string;
49957
+ enabled: boolean;
49958
+ };
49959
+ approvals: {
49960
+ errorMessage: string;
49961
+ errorReason: string;
49962
+ enabled: boolean;
49963
+ };
49964
+ selectivePublishing: {
49965
+ errorMessage: string;
49966
+ errorReason: string;
49967
+ enabled: boolean;
49968
+ };
49969
+ designSystemAccessModes: {
49970
+ errorMessage: string;
49971
+ errorReason: string;
49972
+ enabled: boolean;
49973
+ };
49974
+ } | undefined;
49975
+ stripeSubscriptionMainItemId?: string | undefined;
49976
+ currentPeriodStart?: string | undefined;
49977
+ currentPeriodEnd?: string | undefined;
49978
+ subscriptionStatusUpdatedAt?: string | undefined;
49979
+ cancelAt?: string | null | undefined;
49980
+ billingType?: "Auto" | "Invoice" | undefined;
49981
+ daysUntilDue?: number | undefined;
49982
+ };
49983
+ npmRegistry?: {
49984
+ enabledScopes: string[];
49985
+ bypassProxy: boolean;
49986
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
49987
+ authType: "Custom" | "None" | "Basic" | "Bearer";
49988
+ registryUrl: string;
49989
+ proxyUrl: string;
49990
+ customRegistryUrl?: string | undefined;
49991
+ accessToken?: string | undefined;
49992
+ username?: string | undefined;
49993
+ password?: string | undefined;
49994
+ } | undefined;
49995
+ };
49996
+ }>;
49997
+ }
49998
+
49999
+ declare class WorkspaceMembersEndpoint {
48475
50000
  private readonly requestExecutor;
48476
50001
  constructor(requestExecutor: RequestExecutor);
48477
50002
  list(workspaceId: string): Promise<{
48478
- invitations: {
48479
- id: string;
48480
- createdAt: Date;
48481
- email: string;
50003
+ members: {
48482
50004
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
48483
- workspaceId: string;
48484
- invitedBy: string;
48485
- resentAt?: Date | null | undefined;
50005
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
50006
+ user: {
50007
+ id: string;
50008
+ createdAt: Date;
50009
+ email: string;
50010
+ profile: {
50011
+ name: string;
50012
+ avatar?: string | undefined;
50013
+ nickname?: string | undefined;
50014
+ onboarding?: {
50015
+ companyName?: string | undefined;
50016
+ numberOfPeopleInOrg?: string | undefined;
50017
+ numberOfPeopleInDesignTeam?: string | undefined;
50018
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
50019
+ jobTitle?: string | undefined;
50020
+ phase?: string | undefined;
50021
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
50022
+ designSystemName?: string | undefined;
50023
+ defaultDestination?: string | undefined;
50024
+ figmaUrl?: string | undefined;
50025
+ isPageDraftOnboardingFinished?: boolean | undefined;
50026
+ isApprovalsOnboardingFinished?: boolean | undefined;
50027
+ } | undefined;
50028
+ };
50029
+ emailVerified: boolean;
50030
+ isProtected: boolean;
50031
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
50032
+ trialExpiresAt?: Date | undefined;
50033
+ linkedIntegrations?: {
50034
+ azure?: {
50035
+ id: string;
50036
+ email?: string | undefined;
50037
+ authType?: "OAuth2" | "PAT" | undefined;
50038
+ handle?: string | undefined;
50039
+ avatarUrl?: string | undefined;
50040
+ customUrl?: string | undefined;
50041
+ }[] | undefined;
50042
+ github?: {
50043
+ id: string;
50044
+ email?: string | undefined;
50045
+ authType?: "OAuth2" | "PAT" | undefined;
50046
+ handle?: string | undefined;
50047
+ avatarUrl?: string | undefined;
50048
+ customUrl?: string | undefined;
50049
+ }[] | undefined;
50050
+ gitlab?: {
50051
+ id: string;
50052
+ email?: string | undefined;
50053
+ authType?: "OAuth2" | "PAT" | undefined;
50054
+ handle?: string | undefined;
50055
+ avatarUrl?: string | undefined;
50056
+ customUrl?: string | undefined;
50057
+ }[] | undefined;
50058
+ bitbucket?: {
50059
+ id: string;
50060
+ email?: string | undefined;
50061
+ authType?: "OAuth2" | "PAT" | undefined;
50062
+ handle?: string | undefined;
50063
+ avatarUrl?: string | undefined;
50064
+ customUrl?: string | undefined;
50065
+ }[] | undefined;
50066
+ figma?: {
50067
+ id: string;
50068
+ email?: string | undefined;
50069
+ authType?: "OAuth2" | "PAT" | undefined;
50070
+ handle?: string | undefined;
50071
+ avatarUrl?: string | undefined;
50072
+ customUrl?: string | undefined;
50073
+ } | undefined;
50074
+ } | undefined;
50075
+ loggedOutAt?: Date | undefined;
50076
+ };
48486
50077
  }[];
48487
50078
  }>;
48488
- delete(workspaceId: string, invitationId: string): Promise<{
50079
+ update(workspaceId: string, body: UpdateMembershipRolesInput): Promise<{
48489
50080
  workspace: {
48490
50081
  id: string;
48491
50082
  profile: {
@@ -48667,198 +50258,8 @@ declare class WorkspaceInvitationsEndpoint {
48667
50258
  } | undefined;
48668
50259
  };
48669
50260
  }>;
48670
- }
48671
-
48672
- declare class WorkspaceMembersEndpoint {
48673
- private readonly requestExecutor;
48674
- constructor(requestExecutor: RequestExecutor);
48675
- list(workspaceId: string): Promise<{
48676
- membership: {
48677
- role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
48678
- effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
48679
- workspace: {
48680
- id: string;
48681
- profile: {
48682
- name: string;
48683
- color: string;
48684
- handle: string;
48685
- avatar?: string | undefined;
48686
- billingDetails?: {
48687
- address?: {
48688
- street1?: string | undefined;
48689
- street2?: string | undefined;
48690
- city?: string | undefined;
48691
- postal?: string | undefined;
48692
- country?: string | undefined;
48693
- state?: string | undefined;
48694
- } | undefined;
48695
- email?: string | undefined;
48696
- companyName?: string | undefined;
48697
- companyId?: string | undefined;
48698
- notes?: string | undefined;
48699
- vat?: string | undefined;
48700
- poNumber?: string | undefined;
48701
- } | undefined;
48702
- };
48703
- subscription: {
48704
- product: "free" | "team" | "company" | "enterprise";
48705
- planPriceId: string;
48706
- planInterval: "yearly" | "daily" | "monthly" | "weekly";
48707
- seats: number;
48708
- seatLimit: number;
48709
- status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
48710
- card?: {
48711
- cardId?: string | null | undefined;
48712
- last4?: string | null | undefined;
48713
- expiryMonth?: string | null | undefined;
48714
- expiryYear?: string | null | undefined;
48715
- brand?: string | null | undefined;
48716
- name?: string | null | undefined;
48717
- } | undefined;
48718
- amount?: number | null | undefined;
48719
- stripeProductDescription?: string | undefined;
48720
- isPricePerCreator?: boolean | undefined;
48721
- isTrial?: boolean | undefined;
48722
- legacyVersion?: string | undefined;
48723
- stripeProductFeatures?: string[] | undefined;
48724
- stripeProductAdditionalFeatures?: string[] | undefined;
48725
- stripeSubscriptionId?: string | null | undefined;
48726
- stripeCustomerId?: string | null | undefined;
48727
- subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
48728
- internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
48729
- featuresSummary?: {
48730
- designSystems: {
48731
- max: number;
48732
- errorMessage: string;
48733
- errorReason: string;
48734
- };
48735
- designSystemSources: {
48736
- max: number;
48737
- errorMessage: string;
48738
- errorReason: string;
48739
- noImportJobsErrorMessage: string;
48740
- noImportJobsErrorReason: string;
48741
- };
48742
- designSystemVersions: {
48743
- max: number;
48744
- errorMessage: string;
48745
- errorReason: string;
48746
- };
48747
- themes: {
48748
- max: number;
48749
- errorMessage: string;
48750
- errorReason: string;
48751
- };
48752
- brands: {
48753
- max: number;
48754
- errorMessage: string;
48755
- errorReason: string;
48756
- };
48757
- codegenSchedules: {
48758
- max: number;
48759
- errorMessage: string;
48760
- errorReason: string;
48761
- };
48762
- publicDocumentation: {
48763
- errorMessage: string;
48764
- errorReason: string;
48765
- enabled: boolean;
48766
- };
48767
- customDocumentationUrl: {
48768
- errorMessage: string;
48769
- errorReason: string;
48770
- enabled: boolean;
48771
- };
48772
- customDocumentationViewButton: {
48773
- errorMessage: string;
48774
- errorReason: string;
48775
- enabled: boolean;
48776
- };
48777
- designSystemSourceAutoImport: {
48778
- errorMessage: string;
48779
- errorReason: string;
48780
- enabled: boolean;
48781
- };
48782
- designSystemSlug: {
48783
- errorMessage: string;
48784
- errorReason: string;
48785
- enabled: boolean;
48786
- };
48787
- ipWhitelisting: {
48788
- errorMessage: string;
48789
- errorReason: string;
48790
- enabled: boolean;
48791
- };
48792
- npmRegistry: {
48793
- errorMessage: string;
48794
- errorReason: string;
48795
- enabled: boolean;
48796
- };
48797
- sso: {
48798
- errorMessage: string;
48799
- errorReason: string;
48800
- enabled: boolean;
48801
- };
48802
- workspacePaidSeats: {
48803
- max: number;
48804
- errorMessage: string;
48805
- errorReason: string;
48806
- };
48807
- workspaceViewers: {
48808
- max: number;
48809
- errorMessage: string;
48810
- errorReason: string;
48811
- };
48812
- customDocumentationExporter: {
48813
- errorMessage: string;
48814
- errorReason: string;
48815
- enabled: boolean;
48816
- };
48817
- protectedPages: {
48818
- errorMessage: string;
48819
- errorReason: string;
48820
- enabled: boolean;
48821
- };
48822
- approvals: {
48823
- errorMessage: string;
48824
- errorReason: string;
48825
- enabled: boolean;
48826
- };
48827
- selectivePublishing: {
48828
- errorMessage: string;
48829
- errorReason: string;
48830
- enabled: boolean;
48831
- };
48832
- designSystemAccessModes: {
48833
- errorMessage: string;
48834
- errorReason: string;
48835
- enabled: boolean;
48836
- };
48837
- } | undefined;
48838
- stripeSubscriptionMainItemId?: string | undefined;
48839
- currentPeriodStart?: string | undefined;
48840
- currentPeriodEnd?: string | undefined;
48841
- subscriptionStatusUpdatedAt?: string | undefined;
48842
- cancelAt?: string | null | undefined;
48843
- billingType?: "Auto" | "Invoice" | undefined;
48844
- daysUntilDue?: number | undefined;
48845
- };
48846
- npmRegistry?: {
48847
- enabledScopes: string[];
48848
- bypassProxy: boolean;
48849
- registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
48850
- authType: "Custom" | "None" | "Basic" | "Bearer";
48851
- registryUrl: string;
48852
- proxyUrl: string;
48853
- customRegistryUrl?: string | undefined;
48854
- accessToken?: string | undefined;
48855
- username?: string | undefined;
48856
- password?: string | undefined;
48857
- } | undefined;
48858
- };
48859
- }[];
48860
- }>;
48861
- update(workspaceId: string, body: UpdateMembershipRolesInput): Promise<{
50261
+ invite(workspaceId: string, body: DTOWorkspaceInvitationsListInput): Promise<any>;
50262
+ delete(workspaceId: string, userId: string): Promise<{
48862
50263
  workspace: {
48863
50264
  id: string;
48864
50265
  profile: {
@@ -49040,8 +50441,14 @@ declare class WorkspaceMembersEndpoint {
49040
50441
  } | undefined;
49041
50442
  };
49042
50443
  }>;
49043
- invite(workspaceId: string, body: DTOWorkspaceInvitationsListInput): Promise<any>;
49044
- delete(workspaceId: string, userId: string): Promise<{
50444
+ }
50445
+
50446
+ declare class WorkspacesEndpoint {
50447
+ private readonly requestExecutor;
50448
+ members: WorkspaceMembersEndpoint;
50449
+ invitations: WorkspaceInvitationsEndpoint;
50450
+ constructor(requestExecutor: RequestExecutor);
50451
+ create(body: DTOWorkspaceCreateInput): Promise<{
49045
50452
  workspace: {
49046
50453
  id: string;
49047
50454
  profile: {
@@ -49223,14 +50630,7 @@ declare class WorkspaceMembersEndpoint {
49223
50630
  } | undefined;
49224
50631
  };
49225
50632
  }>;
49226
- }
49227
-
49228
- declare class WorkspacesEndpoint {
49229
- private readonly requestExecutor;
49230
- members: WorkspaceMembersEndpoint;
49231
- invitations: WorkspaceInvitationsEndpoint;
49232
- constructor(requestExecutor: RequestExecutor);
49233
- create(body: DTOWorkspaceCreateInput): Promise<{
50633
+ get(workspaceId: string): Promise<{
49234
50634
  workspace: {
49235
50635
  id: string;
49236
50636
  profile: {
@@ -52271,4 +53671,4 @@ declare class FrontendVersionRoomYDoc {
52271
53671
 
52272
53672
  declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
52273
53673
 
52274
- export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, BrandsEndpoint, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateThemeInput, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemInvitation, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemRole, DTODesignSystemUpdateAccessModeInput, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionStats, DTODesignSystemVersionStatsQuery, 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, DTOTokenCollection, DTOTokenCollectionsListReponse, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserOnboarding, DTOUserOnboardingDepartment, DTOUserOnboardingJobLevel, DTOUserProfile, DTOUserProfileUpdate, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserSource, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationsListInput, DTOWorkspaceInvitationsResponse, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemMembersEndpoint, DesignSystemVersionsEndpoint, DesignSystemsEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, OverridesEndpoint, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, type RequestEexecutorServerErrorCode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, SupernovaApiClient, ThemesEndpoint, TokenCollectionsEndpoint, TokensEndpoint, UsersEndpoint, VersionRoomBaseYDoc, VersionSQSPayload, VersionStatsEndpoint, WorkspaceConfigurationPayload, WorkspaceInvitationsEndpoint, 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 };
53674
+ export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, BrandsEndpoint, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateThemeInput, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemInvitation, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemRole, DTODesignSystemUpdateAccessModeInput, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionStats, DTODesignSystemVersionStatsQuery, 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, DTOTokenCollection, DTOTokenCollectionsListReponse, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserOnboarding, DTOUserOnboardingDepartment, DTOUserOnboardingJobLevel, DTOUserProfile, DTOUserProfileUpdate, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserSource, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationsListInput, DTOWorkspaceInvitationsResponse, DTOWorkspaceMember, DTOWorkspaceMembersListResponse, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemMembersEndpoint, DesignSystemVersionsEndpoint, DesignSystemsEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, OverridesEndpoint, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, type RequestEexecutorServerErrorCode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, SupernovaApiClient, ThemesEndpoint, TokenCollectionsEndpoint, TokensEndpoint, UsersEndpoint, VersionRoomBaseYDoc, VersionSQSPayload, VersionStatsEndpoint, WorkspaceConfigurationPayload, WorkspaceInvitationsEndpoint, 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 };