@supernova-studio/client 0.54.27 → 0.54.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { DocumentationGroupV1, DocumentationPageV1, DocumentationPageV2, DocumentationPageApproval, PageBlockDefinitionLayout as PageBlockDefinitionLayout$1, PageBlockV1, ElementGroup, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SsoProvider, UpdateMembershipRolesInput, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemRichTextEditorValue, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType, DocumentationPageSnapshot, ElementGroupSnapshot } from '@supernova-studio/model';
2
2
  import * as zod from 'zod';
3
- import { z, ZodTypeDef, ZodSchema } from 'zod';
3
+ import { z, ZodSchema, ZodTypeDef } from 'zod';
4
4
  import { RequestInit } from 'node-fetch';
5
5
  import * as Y from 'yjs';
6
6
  import { Schema } from 'prosemirror-model';
@@ -9327,7 +9327,7 @@ declare const DTOPageBlockDefinition: z.ZodObject<{
9327
9327
  id: string;
9328
9328
  name: string;
9329
9329
  description: string;
9330
- category: "Figma" | "Text" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
9330
+ category: "Figma" | "Text" | "Other" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data";
9331
9331
  item: {
9332
9332
  properties: {
9333
9333
  id: string;
@@ -9400,7 +9400,7 @@ declare const DTOPageBlockDefinition: z.ZodObject<{
9400
9400
  id: string;
9401
9401
  name: string;
9402
9402
  description: string;
9403
- category: "Figma" | "Text" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
9403
+ category: "Figma" | "Text" | "Other" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data";
9404
9404
  item: {
9405
9405
  properties: {
9406
9406
  id: string;
@@ -35748,6 +35748,453 @@ declare const DTOLiveblocksAuthResponse: z.ZodObject<{
35748
35748
  }>;
35749
35749
  type DTOLiveblocksAuthResponse = z.infer<typeof DTOLiveblocksAuthResponse>;
35750
35750
 
35751
+ declare const DTOUserOnboardingDepartment: z.ZodEnum<["Design", "Engineering", "Brand", "Other"]>;
35752
+ type DTOUserOnboardingDepartment = z.infer<typeof DTOUserOnboardingDepartment>;
35753
+ declare const DTOUserOnboardingJobLevel: z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>;
35754
+ type DTOUserOnboardingJobLevel = z.infer<typeof DTOUserOnboardingJobLevel>;
35755
+ declare const DTOUserSource: z.ZodEnum<["SignUp", "Invite", "SSO"]>;
35756
+ type DTOUserSource = z.infer<typeof DTOUserSource>;
35757
+ declare const DTOUserOnboarding: z.ZodObject<{
35758
+ companyName: z.ZodOptional<z.ZodString>;
35759
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
35760
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
35761
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Brand", "Other"]>>;
35762
+ jobTitle: z.ZodOptional<z.ZodString>;
35763
+ phase: z.ZodOptional<z.ZodString>;
35764
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
35765
+ designSystemName: z.ZodOptional<z.ZodString>;
35766
+ defaultDestination: z.ZodOptional<z.ZodString>;
35767
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
35768
+ }, "strip", z.ZodTypeAny, {
35769
+ companyName?: string | undefined;
35770
+ numberOfPeopleInOrg?: string | undefined;
35771
+ numberOfPeopleInDesignTeam?: string | undefined;
35772
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35773
+ jobTitle?: string | undefined;
35774
+ phase?: string | undefined;
35775
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35776
+ designSystemName?: string | undefined;
35777
+ defaultDestination?: string | undefined;
35778
+ isPageDraftOnboardingFinished?: boolean | undefined;
35779
+ }, {
35780
+ companyName?: string | undefined;
35781
+ numberOfPeopleInOrg?: string | undefined;
35782
+ numberOfPeopleInDesignTeam?: string | undefined;
35783
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35784
+ jobTitle?: string | undefined;
35785
+ phase?: string | undefined;
35786
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35787
+ designSystemName?: string | undefined;
35788
+ defaultDestination?: string | undefined;
35789
+ isPageDraftOnboardingFinished?: boolean | undefined;
35790
+ }>;
35791
+ type DTOUserOnboarding = z.infer<typeof DTOUserOnboarding>;
35792
+ declare const DTOAuthenticatedUserProfile: z.ZodObject<z.objectUtil.extendShape<{
35793
+ name: z.ZodString;
35794
+ nickname: z.ZodOptional<z.ZodString>;
35795
+ avatar: z.ZodOptional<z.ZodString>;
35796
+ }, {
35797
+ onboarding: z.ZodOptional<z.ZodObject<{
35798
+ companyName: z.ZodOptional<z.ZodString>;
35799
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
35800
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
35801
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Brand", "Other"]>>;
35802
+ jobTitle: z.ZodOptional<z.ZodString>;
35803
+ phase: z.ZodOptional<z.ZodString>;
35804
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
35805
+ designSystemName: z.ZodOptional<z.ZodString>;
35806
+ defaultDestination: z.ZodOptional<z.ZodString>;
35807
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
35808
+ }, "strip", z.ZodTypeAny, {
35809
+ companyName?: string | undefined;
35810
+ numberOfPeopleInOrg?: string | undefined;
35811
+ numberOfPeopleInDesignTeam?: string | undefined;
35812
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35813
+ jobTitle?: string | undefined;
35814
+ phase?: string | undefined;
35815
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35816
+ designSystemName?: string | undefined;
35817
+ defaultDestination?: string | undefined;
35818
+ isPageDraftOnboardingFinished?: boolean | undefined;
35819
+ }, {
35820
+ companyName?: string | undefined;
35821
+ numberOfPeopleInOrg?: string | undefined;
35822
+ numberOfPeopleInDesignTeam?: string | undefined;
35823
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35824
+ jobTitle?: string | undefined;
35825
+ phase?: string | undefined;
35826
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35827
+ designSystemName?: string | undefined;
35828
+ defaultDestination?: string | undefined;
35829
+ isPageDraftOnboardingFinished?: boolean | undefined;
35830
+ }>>;
35831
+ }>, "strip", z.ZodTypeAny, {
35832
+ name: string;
35833
+ avatar?: string | undefined;
35834
+ nickname?: string | undefined;
35835
+ onboarding?: {
35836
+ companyName?: string | undefined;
35837
+ numberOfPeopleInOrg?: string | undefined;
35838
+ numberOfPeopleInDesignTeam?: string | undefined;
35839
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35840
+ jobTitle?: string | undefined;
35841
+ phase?: string | undefined;
35842
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35843
+ designSystemName?: string | undefined;
35844
+ defaultDestination?: string | undefined;
35845
+ isPageDraftOnboardingFinished?: boolean | undefined;
35846
+ } | undefined;
35847
+ }, {
35848
+ name: string;
35849
+ avatar?: string | undefined;
35850
+ nickname?: string | undefined;
35851
+ onboarding?: {
35852
+ companyName?: string | undefined;
35853
+ numberOfPeopleInOrg?: string | undefined;
35854
+ numberOfPeopleInDesignTeam?: string | undefined;
35855
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35856
+ jobTitle?: string | undefined;
35857
+ phase?: string | undefined;
35858
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35859
+ designSystemName?: string | undefined;
35860
+ defaultDestination?: string | undefined;
35861
+ isPageDraftOnboardingFinished?: boolean | undefined;
35862
+ } | undefined;
35863
+ }>;
35864
+ type DTOAuthenticatedUserProfile = z.infer<typeof DTOAuthenticatedUserProfile>;
35865
+ declare const DTOAuthenticatedUser: z.ZodObject<z.objectUtil.extendShape<{
35866
+ id: z.ZodString;
35867
+ email: z.ZodString;
35868
+ profile: z.ZodObject<{
35869
+ name: z.ZodString;
35870
+ nickname: z.ZodOptional<z.ZodString>;
35871
+ avatar: z.ZodOptional<z.ZodString>;
35872
+ }, "strip", z.ZodTypeAny, {
35873
+ name: string;
35874
+ avatar?: string | undefined;
35875
+ nickname?: string | undefined;
35876
+ }, {
35877
+ name: string;
35878
+ avatar?: string | undefined;
35879
+ nickname?: string | undefined;
35880
+ }>;
35881
+ }, {
35882
+ profile: z.ZodObject<z.objectUtil.extendShape<{
35883
+ name: z.ZodString;
35884
+ nickname: z.ZodOptional<z.ZodString>;
35885
+ avatar: z.ZodOptional<z.ZodString>;
35886
+ }, {
35887
+ onboarding: z.ZodOptional<z.ZodObject<{
35888
+ companyName: z.ZodOptional<z.ZodString>;
35889
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
35890
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
35891
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Brand", "Other"]>>;
35892
+ jobTitle: z.ZodOptional<z.ZodString>;
35893
+ phase: z.ZodOptional<z.ZodString>;
35894
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
35895
+ designSystemName: z.ZodOptional<z.ZodString>;
35896
+ defaultDestination: z.ZodOptional<z.ZodString>;
35897
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
35898
+ }, "strip", z.ZodTypeAny, {
35899
+ companyName?: string | undefined;
35900
+ numberOfPeopleInOrg?: string | undefined;
35901
+ numberOfPeopleInDesignTeam?: string | undefined;
35902
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35903
+ jobTitle?: string | undefined;
35904
+ phase?: string | undefined;
35905
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35906
+ designSystemName?: string | undefined;
35907
+ defaultDestination?: string | undefined;
35908
+ isPageDraftOnboardingFinished?: boolean | undefined;
35909
+ }, {
35910
+ companyName?: string | undefined;
35911
+ numberOfPeopleInOrg?: string | undefined;
35912
+ numberOfPeopleInDesignTeam?: string | undefined;
35913
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35914
+ jobTitle?: string | undefined;
35915
+ phase?: string | undefined;
35916
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35917
+ designSystemName?: string | undefined;
35918
+ defaultDestination?: string | undefined;
35919
+ isPageDraftOnboardingFinished?: boolean | undefined;
35920
+ }>>;
35921
+ }>, "strip", z.ZodTypeAny, {
35922
+ name: string;
35923
+ avatar?: string | undefined;
35924
+ nickname?: string | undefined;
35925
+ onboarding?: {
35926
+ companyName?: string | undefined;
35927
+ numberOfPeopleInOrg?: string | undefined;
35928
+ numberOfPeopleInDesignTeam?: string | undefined;
35929
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35930
+ jobTitle?: string | undefined;
35931
+ phase?: string | undefined;
35932
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35933
+ designSystemName?: string | undefined;
35934
+ defaultDestination?: string | undefined;
35935
+ isPageDraftOnboardingFinished?: boolean | undefined;
35936
+ } | undefined;
35937
+ }, {
35938
+ name: string;
35939
+ avatar?: string | undefined;
35940
+ nickname?: string | undefined;
35941
+ onboarding?: {
35942
+ companyName?: string | undefined;
35943
+ numberOfPeopleInOrg?: string | undefined;
35944
+ numberOfPeopleInDesignTeam?: string | undefined;
35945
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35946
+ jobTitle?: string | undefined;
35947
+ phase?: string | undefined;
35948
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35949
+ designSystemName?: string | undefined;
35950
+ defaultDestination?: string | undefined;
35951
+ isPageDraftOnboardingFinished?: boolean | undefined;
35952
+ } | undefined;
35953
+ }>;
35954
+ createdAt: z.ZodDate;
35955
+ loggedOutAt: z.ZodOptional<z.ZodDate>;
35956
+ source: z.ZodOptional<z.ZodEnum<["SignUp", "Invite", "SSO"]>>;
35957
+ }>, "strip", z.ZodTypeAny, {
35958
+ id: string;
35959
+ createdAt: Date;
35960
+ profile: {
35961
+ name: string;
35962
+ avatar?: string | undefined;
35963
+ nickname?: string | undefined;
35964
+ onboarding?: {
35965
+ companyName?: string | undefined;
35966
+ numberOfPeopleInOrg?: string | undefined;
35967
+ numberOfPeopleInDesignTeam?: string | undefined;
35968
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35969
+ jobTitle?: string | undefined;
35970
+ phase?: string | undefined;
35971
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35972
+ designSystemName?: string | undefined;
35973
+ defaultDestination?: string | undefined;
35974
+ isPageDraftOnboardingFinished?: boolean | undefined;
35975
+ } | undefined;
35976
+ };
35977
+ email: string;
35978
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
35979
+ loggedOutAt?: Date | undefined;
35980
+ }, {
35981
+ id: string;
35982
+ createdAt: Date;
35983
+ profile: {
35984
+ name: string;
35985
+ avatar?: string | undefined;
35986
+ nickname?: string | undefined;
35987
+ onboarding?: {
35988
+ companyName?: string | undefined;
35989
+ numberOfPeopleInOrg?: string | undefined;
35990
+ numberOfPeopleInDesignTeam?: string | undefined;
35991
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
35992
+ jobTitle?: string | undefined;
35993
+ phase?: string | undefined;
35994
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
35995
+ designSystemName?: string | undefined;
35996
+ defaultDestination?: string | undefined;
35997
+ isPageDraftOnboardingFinished?: boolean | undefined;
35998
+ } | undefined;
35999
+ };
36000
+ email: string;
36001
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
36002
+ loggedOutAt?: Date | undefined;
36003
+ }>;
36004
+ type DTOAuthenticatedUser = z.infer<typeof DTOAuthenticatedUser>;
36005
+ declare const DTOAuthenticatedUserResponse: z.ZodObject<{
36006
+ user: z.ZodObject<z.objectUtil.extendShape<{
36007
+ id: z.ZodString;
36008
+ email: z.ZodString;
36009
+ profile: z.ZodObject<{
36010
+ name: z.ZodString;
36011
+ nickname: z.ZodOptional<z.ZodString>;
36012
+ avatar: z.ZodOptional<z.ZodString>;
36013
+ }, "strip", z.ZodTypeAny, {
36014
+ name: string;
36015
+ avatar?: string | undefined;
36016
+ nickname?: string | undefined;
36017
+ }, {
36018
+ name: string;
36019
+ avatar?: string | undefined;
36020
+ nickname?: string | undefined;
36021
+ }>;
36022
+ }, {
36023
+ profile: z.ZodObject<z.objectUtil.extendShape<{
36024
+ name: z.ZodString;
36025
+ nickname: z.ZodOptional<z.ZodString>;
36026
+ avatar: z.ZodOptional<z.ZodString>;
36027
+ }, {
36028
+ onboarding: z.ZodOptional<z.ZodObject<{
36029
+ companyName: z.ZodOptional<z.ZodString>;
36030
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
36031
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
36032
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Brand", "Other"]>>;
36033
+ jobTitle: z.ZodOptional<z.ZodString>;
36034
+ phase: z.ZodOptional<z.ZodString>;
36035
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
36036
+ designSystemName: z.ZodOptional<z.ZodString>;
36037
+ defaultDestination: z.ZodOptional<z.ZodString>;
36038
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
36039
+ }, "strip", z.ZodTypeAny, {
36040
+ companyName?: string | undefined;
36041
+ numberOfPeopleInOrg?: string | undefined;
36042
+ numberOfPeopleInDesignTeam?: string | undefined;
36043
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36044
+ jobTitle?: string | undefined;
36045
+ phase?: string | undefined;
36046
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36047
+ designSystemName?: string | undefined;
36048
+ defaultDestination?: string | undefined;
36049
+ isPageDraftOnboardingFinished?: boolean | undefined;
36050
+ }, {
36051
+ companyName?: string | undefined;
36052
+ numberOfPeopleInOrg?: string | undefined;
36053
+ numberOfPeopleInDesignTeam?: string | undefined;
36054
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36055
+ jobTitle?: string | undefined;
36056
+ phase?: string | undefined;
36057
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36058
+ designSystemName?: string | undefined;
36059
+ defaultDestination?: string | undefined;
36060
+ isPageDraftOnboardingFinished?: boolean | undefined;
36061
+ }>>;
36062
+ }>, "strip", z.ZodTypeAny, {
36063
+ name: string;
36064
+ avatar?: string | undefined;
36065
+ nickname?: string | undefined;
36066
+ onboarding?: {
36067
+ companyName?: string | undefined;
36068
+ numberOfPeopleInOrg?: string | undefined;
36069
+ numberOfPeopleInDesignTeam?: string | undefined;
36070
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36071
+ jobTitle?: string | undefined;
36072
+ phase?: string | undefined;
36073
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36074
+ designSystemName?: string | undefined;
36075
+ defaultDestination?: string | undefined;
36076
+ isPageDraftOnboardingFinished?: boolean | undefined;
36077
+ } | undefined;
36078
+ }, {
36079
+ name: string;
36080
+ avatar?: string | undefined;
36081
+ nickname?: string | undefined;
36082
+ onboarding?: {
36083
+ companyName?: string | undefined;
36084
+ numberOfPeopleInOrg?: string | undefined;
36085
+ numberOfPeopleInDesignTeam?: string | undefined;
36086
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36087
+ jobTitle?: string | undefined;
36088
+ phase?: string | undefined;
36089
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36090
+ designSystemName?: string | undefined;
36091
+ defaultDestination?: string | undefined;
36092
+ isPageDraftOnboardingFinished?: boolean | undefined;
36093
+ } | undefined;
36094
+ }>;
36095
+ createdAt: z.ZodDate;
36096
+ loggedOutAt: z.ZodOptional<z.ZodDate>;
36097
+ source: z.ZodOptional<z.ZodEnum<["SignUp", "Invite", "SSO"]>>;
36098
+ }>, "strip", z.ZodTypeAny, {
36099
+ id: string;
36100
+ createdAt: Date;
36101
+ profile: {
36102
+ name: string;
36103
+ avatar?: string | undefined;
36104
+ nickname?: string | undefined;
36105
+ onboarding?: {
36106
+ companyName?: string | undefined;
36107
+ numberOfPeopleInOrg?: string | undefined;
36108
+ numberOfPeopleInDesignTeam?: string | undefined;
36109
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36110
+ jobTitle?: string | undefined;
36111
+ phase?: string | undefined;
36112
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36113
+ designSystemName?: string | undefined;
36114
+ defaultDestination?: string | undefined;
36115
+ isPageDraftOnboardingFinished?: boolean | undefined;
36116
+ } | undefined;
36117
+ };
36118
+ email: string;
36119
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
36120
+ loggedOutAt?: Date | undefined;
36121
+ }, {
36122
+ id: string;
36123
+ createdAt: Date;
36124
+ profile: {
36125
+ name: string;
36126
+ avatar?: string | undefined;
36127
+ nickname?: string | undefined;
36128
+ onboarding?: {
36129
+ companyName?: string | undefined;
36130
+ numberOfPeopleInOrg?: string | undefined;
36131
+ numberOfPeopleInDesignTeam?: string | undefined;
36132
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36133
+ jobTitle?: string | undefined;
36134
+ phase?: string | undefined;
36135
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36136
+ designSystemName?: string | undefined;
36137
+ defaultDestination?: string | undefined;
36138
+ isPageDraftOnboardingFinished?: boolean | undefined;
36139
+ } | undefined;
36140
+ };
36141
+ email: string;
36142
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
36143
+ loggedOutAt?: Date | undefined;
36144
+ }>;
36145
+ }, "strip", z.ZodTypeAny, {
36146
+ user: {
36147
+ id: string;
36148
+ createdAt: Date;
36149
+ profile: {
36150
+ name: string;
36151
+ avatar?: string | undefined;
36152
+ nickname?: string | undefined;
36153
+ onboarding?: {
36154
+ companyName?: string | undefined;
36155
+ numberOfPeopleInOrg?: string | undefined;
36156
+ numberOfPeopleInDesignTeam?: string | undefined;
36157
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36158
+ jobTitle?: string | undefined;
36159
+ phase?: string | undefined;
36160
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36161
+ designSystemName?: string | undefined;
36162
+ defaultDestination?: string | undefined;
36163
+ isPageDraftOnboardingFinished?: boolean | undefined;
36164
+ } | undefined;
36165
+ };
36166
+ email: string;
36167
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
36168
+ loggedOutAt?: Date | undefined;
36169
+ };
36170
+ }, {
36171
+ user: {
36172
+ id: string;
36173
+ createdAt: Date;
36174
+ profile: {
36175
+ name: string;
36176
+ avatar?: string | undefined;
36177
+ nickname?: string | undefined;
36178
+ onboarding?: {
36179
+ companyName?: string | undefined;
36180
+ numberOfPeopleInOrg?: string | undefined;
36181
+ numberOfPeopleInDesignTeam?: string | undefined;
36182
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
36183
+ jobTitle?: string | undefined;
36184
+ phase?: string | undefined;
36185
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
36186
+ designSystemName?: string | undefined;
36187
+ defaultDestination?: string | undefined;
36188
+ isPageDraftOnboardingFinished?: boolean | undefined;
36189
+ } | undefined;
36190
+ };
36191
+ email: string;
36192
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
36193
+ loggedOutAt?: Date | undefined;
36194
+ };
36195
+ }>;
36196
+ type DTOAuthenticatedUserResponse = z.infer<typeof DTOAuthenticatedUserResponse>;
36197
+
35751
36198
  declare const DTOUserProfileUpdateResponse: z.ZodObject<{
35752
36199
  user: z.ZodObject<{
35753
36200
  id: z.ZodString;
@@ -35776,7 +36223,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
35776
36223
  companyName?: string | undefined;
35777
36224
  numberOfPeopleInOrg?: string | undefined;
35778
36225
  numberOfPeopleInDesignTeam?: string | undefined;
35779
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36226
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
35780
36227
  jobTitle?: string | undefined;
35781
36228
  phase?: string | undefined;
35782
36229
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -35789,7 +36236,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
35789
36236
  companyName?: string | undefined;
35790
36237
  numberOfPeopleInOrg?: string | undefined;
35791
36238
  numberOfPeopleInDesignTeam?: string | undefined;
35792
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36239
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
35793
36240
  jobTitle?: string | undefined;
35794
36241
  phase?: string | undefined;
35795
36242
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -35807,7 +36254,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
35807
36254
  companyName?: string | undefined;
35808
36255
  numberOfPeopleInOrg?: string | undefined;
35809
36256
  numberOfPeopleInDesignTeam?: string | undefined;
35810
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36257
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
35811
36258
  jobTitle?: string | undefined;
35812
36259
  phase?: string | undefined;
35813
36260
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -35825,7 +36272,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
35825
36272
  companyName?: string | undefined;
35826
36273
  numberOfPeopleInOrg?: string | undefined;
35827
36274
  numberOfPeopleInDesignTeam?: string | undefined;
35828
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36275
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
35829
36276
  jobTitle?: string | undefined;
35830
36277
  phase?: string | undefined;
35831
36278
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -36044,7 +36491,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
36044
36491
  companyName?: string | undefined;
36045
36492
  numberOfPeopleInOrg?: string | undefined;
36046
36493
  numberOfPeopleInDesignTeam?: string | undefined;
36047
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36494
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
36048
36495
  jobTitle?: string | undefined;
36049
36496
  phase?: string | undefined;
36050
36497
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -36113,7 +36560,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
36113
36560
  companyName?: string | undefined;
36114
36561
  numberOfPeopleInOrg?: string | undefined;
36115
36562
  numberOfPeopleInDesignTeam?: string | undefined;
36116
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36563
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
36117
36564
  jobTitle?: string | undefined;
36118
36565
  phase?: string | undefined;
36119
36566
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -36184,7 +36631,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
36184
36631
  companyName?: string | undefined;
36185
36632
  numberOfPeopleInOrg?: string | undefined;
36186
36633
  numberOfPeopleInDesignTeam?: string | undefined;
36187
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36634
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
36188
36635
  jobTitle?: string | undefined;
36189
36636
  phase?: string | undefined;
36190
36637
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -36255,7 +36702,7 @@ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
36255
36702
  companyName?: string | undefined;
36256
36703
  numberOfPeopleInOrg?: string | undefined;
36257
36704
  numberOfPeopleInDesignTeam?: string | undefined;
36258
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
36705
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
36259
36706
  jobTitle?: string | undefined;
36260
36707
  phase?: string | undefined;
36261
36708
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -44419,6 +44866,33 @@ declare function gitBranchToDto(branch: GitBranch): DTOGitBranch;
44419
44866
  declare function integrationToDto(integration: ExtendedIntegration): DTOIntegration;
44420
44867
  declare function integrationCredentialToDto(credential: IntegrationCredentials): DTOIntegrationCredentials;
44421
44868
 
44869
+ type RequestExecutorConfig = {
44870
+ host: string;
44871
+ accessToken?: string;
44872
+ };
44873
+ type RequestExecutorJSONRequest = Omit<RequestInit, "body"> & {
44874
+ body?: object;
44875
+ };
44876
+ declare class RequestExecutor {
44877
+ private readonly testServerConfig;
44878
+ constructor(testServerConfig: RequestExecutorConfig);
44879
+ json<O, I>(path: `/${string}`, schema: ZodSchema<O, ZodTypeDef, I>, requestInit?: RequestExecutorJSONRequest): Promise<O>;
44880
+ private fullUrl;
44881
+ }
44882
+
44883
+ declare class DesignSystemMembersEndpoint {
44884
+ private readonly requestExecutor;
44885
+ constructor(requestExecutor: RequestExecutor);
44886
+ list(dsId: string): Promise<{
44887
+ members: {
44888
+ userId: string;
44889
+ }[];
44890
+ }>;
44891
+ update(dsId: string, body: DTODesignSystemMembersUpdatePayload): Promise<{
44892
+ ok: true;
44893
+ }>;
44894
+ }
44895
+
44422
44896
  declare const DTOCreateBrandInput: z.ZodObject<{
44423
44897
  persistentId: z.ZodString;
44424
44898
  meta: z.ZodObject<{
@@ -44916,7 +45390,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
44916
45390
  id: string;
44917
45391
  name: string;
44918
45392
  description: string;
44919
- category: "Figma" | "Text" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
45393
+ category: "Figma" | "Text" | "Other" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data";
44920
45394
  item: {
44921
45395
  properties: {
44922
45396
  id: string;
@@ -44989,7 +45463,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
44989
45463
  id: string;
44990
45464
  name: string;
44991
45465
  description: string;
44992
- category: "Figma" | "Text" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
45466
+ category: "Figma" | "Text" | "Other" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data";
44993
45467
  item: {
44994
45468
  properties: {
44995
45469
  id: string;
@@ -45064,7 +45538,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
45064
45538
  id: string;
45065
45539
  name: string;
45066
45540
  description: string;
45067
- category: "Figma" | "Text" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
45541
+ category: "Figma" | "Text" | "Other" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data";
45068
45542
  item: {
45069
45543
  properties: {
45070
45544
  id: string;
@@ -45139,7 +45613,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
45139
45613
  id: string;
45140
45614
  name: string;
45141
45615
  description: string;
45142
- category: "Figma" | "Text" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
45616
+ category: "Figma" | "Text" | "Other" | "Code" | "Embed" | "Guidelines" | "Layout" | "Media" | "Tokens" | "Components" | "Assets" | "Data";
45143
45617
  item: {
45144
45618
  properties: {
45145
45619
  id: string;
@@ -46241,7 +46715,7 @@ declare const DTOUserProfileUpdatePayload: zod.ZodObject<Omit<{
46241
46715
  companyName?: string | undefined;
46242
46716
  numberOfPeopleInOrg?: string | undefined;
46243
46717
  numberOfPeopleInDesignTeam?: string | undefined;
46244
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
46718
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
46245
46719
  jobTitle?: string | undefined;
46246
46720
  phase?: string | undefined;
46247
46721
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -46254,7 +46728,7 @@ declare const DTOUserProfileUpdatePayload: zod.ZodObject<Omit<{
46254
46728
  companyName?: string | undefined;
46255
46729
  numberOfPeopleInOrg?: string | undefined;
46256
46730
  numberOfPeopleInDesignTeam?: string | undefined;
46257
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
46731
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
46258
46732
  jobTitle?: string | undefined;
46259
46733
  phase?: string | undefined;
46260
46734
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -46271,7 +46745,7 @@ declare const DTOUserProfileUpdatePayload: zod.ZodObject<Omit<{
46271
46745
  companyName?: string | undefined;
46272
46746
  numberOfPeopleInOrg?: string | undefined;
46273
46747
  numberOfPeopleInDesignTeam?: string | undefined;
46274
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
46748
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
46275
46749
  jobTitle?: string | undefined;
46276
46750
  phase?: string | undefined;
46277
46751
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -46288,7 +46762,7 @@ declare const DTOUserProfileUpdatePayload: zod.ZodObject<Omit<{
46288
46762
  companyName?: string | undefined;
46289
46763
  numberOfPeopleInOrg?: string | undefined;
46290
46764
  numberOfPeopleInDesignTeam?: string | undefined;
46291
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
46765
+ department?: "Design" | "Engineering" | "Brand" | "Other" | "Product" | undefined;
46292
46766
  jobTitle?: string | undefined;
46293
46767
  phase?: string | undefined;
46294
46768
  jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
@@ -46823,33 +47297,6 @@ declare const DTOWorkspaceIntegrationGetGitObjectsInput: z.ZodObject<{
46823
47297
  }>;
46824
47298
  type DTOWorkspaceIntegrationGetGitObjectsInput = z.infer<typeof DTOWorkspaceIntegrationGetGitObjectsInput>;
46825
47299
 
46826
- type RequestExecutorConfig = {
46827
- host: string;
46828
- accessToken?: string;
46829
- };
46830
- type RequestExecutorJSONRequest = Omit<RequestInit, "body"> & {
46831
- body?: object;
46832
- };
46833
- declare class RequestExecutor {
46834
- private readonly testServerConfig;
46835
- constructor(testServerConfig: RequestExecutorConfig);
46836
- json<O, I>(path: string, schema: ZodSchema<O, ZodTypeDef, I>, requestInit?: RequestExecutorJSONRequest): Promise<O>;
46837
- private fullUrl;
46838
- }
46839
-
46840
- declare class DesignSystemMembersEndpoint {
46841
- private readonly requestExecutor;
46842
- constructor(requestExecutor: RequestExecutor);
46843
- list(dsId: string): Promise<{
46844
- members: {
46845
- userId: string;
46846
- }[];
46847
- }>;
46848
- update(dsId: string, body: DTODesignSystemMembersUpdatePayload): Promise<{
46849
- ok: true;
46850
- }>;
46851
- }
46852
-
46853
47300
  declare class DesignSystemsEndpoint {
46854
47301
  private readonly requestExecutor;
46855
47302
  members: DesignSystemMembersEndpoint;
@@ -46954,12 +47401,239 @@ declare class UsersEndpoint {
46954
47401
  getMe(): Promise<{
46955
47402
  user: {
46956
47403
  id: string;
47404
+ createdAt: Date;
47405
+ profile: {
47406
+ name: string;
47407
+ avatar?: string | undefined;
47408
+ nickname?: string | undefined;
47409
+ onboarding?: {
47410
+ companyName?: string | undefined;
47411
+ numberOfPeopleInOrg?: string | undefined;
47412
+ numberOfPeopleInDesignTeam?: string | undefined;
47413
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
47414
+ jobTitle?: string | undefined;
47415
+ phase?: string | undefined;
47416
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
47417
+ designSystemName?: string | undefined;
47418
+ defaultDestination?: string | undefined;
47419
+ isPageDraftOnboardingFinished?: boolean | undefined;
47420
+ } | undefined;
47421
+ };
47422
+ email: string;
47423
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
47424
+ loggedOutAt?: Date | undefined;
47425
+ };
47426
+ }>;
47427
+ listWorkspaces(uid: string): Promise<{
47428
+ membership: {
47429
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
47430
+ workspace: {
47431
+ id: string;
47432
+ profile: {
47433
+ name: string;
47434
+ color: string;
47435
+ handle: string;
47436
+ avatar?: string | undefined;
47437
+ billingDetails?: {
47438
+ address?: {
47439
+ street1?: string | undefined;
47440
+ street2?: string | undefined;
47441
+ city?: string | undefined;
47442
+ postal?: string | undefined;
47443
+ country?: string | undefined;
47444
+ state?: string | undefined;
47445
+ } | undefined;
47446
+ email?: string | undefined;
47447
+ companyName?: string | undefined;
47448
+ companyId?: string | undefined;
47449
+ notes?: string | undefined;
47450
+ vat?: string | undefined;
47451
+ poNumber?: string | undefined;
47452
+ } | undefined;
47453
+ };
47454
+ subscription: {
47455
+ product: "free" | "team" | "company" | "enterprise";
47456
+ planPriceId: string;
47457
+ planInterval: "yearly" | "daily" | "monthly" | "weekly";
47458
+ seats: number;
47459
+ seatLimit: number;
47460
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
47461
+ card?: {
47462
+ cardId?: string | null | undefined;
47463
+ last4?: string | null | undefined;
47464
+ expiryMonth?: string | null | undefined;
47465
+ expiryYear?: string | null | undefined;
47466
+ brand?: string | null | undefined;
47467
+ name?: string | null | undefined;
47468
+ } | undefined;
47469
+ amount?: number | null | undefined;
47470
+ stripeProductDescription?: string | undefined;
47471
+ isPricePerCreator?: boolean | undefined;
47472
+ isTrial?: boolean | undefined;
47473
+ legacyVersion?: string | undefined;
47474
+ stripeProductFeatures?: string[] | undefined;
47475
+ stripeProductAdditionalFeatures?: string[] | undefined;
47476
+ stripeSubscriptionId?: string | null | undefined;
47477
+ stripeCustomerId?: string | null | undefined;
47478
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
47479
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
47480
+ featuresSummary?: {
47481
+ designSystems: {
47482
+ max: number;
47483
+ errorMessage: string;
47484
+ errorReason: string;
47485
+ };
47486
+ designSystemSources: {
47487
+ max: number;
47488
+ errorMessage: string;
47489
+ errorReason: string;
47490
+ noImportJobsErrorMessage: string;
47491
+ noImportJobsErrorReason: string;
47492
+ };
47493
+ designSystemVersions: {
47494
+ max: number;
47495
+ errorMessage: string;
47496
+ errorReason: string;
47497
+ };
47498
+ themes: {
47499
+ max: number;
47500
+ errorMessage: string;
47501
+ errorReason: string;
47502
+ };
47503
+ brands: {
47504
+ max: number;
47505
+ errorMessage: string;
47506
+ errorReason: string;
47507
+ };
47508
+ codegenSchedules: {
47509
+ max: number;
47510
+ errorMessage: string;
47511
+ errorReason: string;
47512
+ };
47513
+ publicDocumentation: {
47514
+ errorMessage: string;
47515
+ errorReason: string;
47516
+ enabled: boolean;
47517
+ };
47518
+ customDocumentationUrl: {
47519
+ errorMessage: string;
47520
+ errorReason: string;
47521
+ enabled: boolean;
47522
+ };
47523
+ customDocumentationViewButton: {
47524
+ errorMessage: string;
47525
+ errorReason: string;
47526
+ enabled: boolean;
47527
+ };
47528
+ designSystemSourceAutoImport: {
47529
+ errorMessage: string;
47530
+ errorReason: string;
47531
+ enabled: boolean;
47532
+ };
47533
+ designSystemSlug: {
47534
+ errorMessage: string;
47535
+ errorReason: string;
47536
+ enabled: boolean;
47537
+ };
47538
+ ipWhitelisting: {
47539
+ errorMessage: string;
47540
+ errorReason: string;
47541
+ enabled: boolean;
47542
+ };
47543
+ npmRegistry: {
47544
+ errorMessage: string;
47545
+ errorReason: string;
47546
+ enabled: boolean;
47547
+ };
47548
+ sso: {
47549
+ errorMessage: string;
47550
+ errorReason: string;
47551
+ enabled: boolean;
47552
+ };
47553
+ workspacePaidSeats: {
47554
+ max: number;
47555
+ errorMessage: string;
47556
+ errorReason: string;
47557
+ };
47558
+ workspaceViewers: {
47559
+ max: number;
47560
+ errorMessage: string;
47561
+ errorReason: string;
47562
+ };
47563
+ customDocumentationExporter: {
47564
+ errorMessage: string;
47565
+ errorReason: string;
47566
+ enabled: boolean;
47567
+ };
47568
+ protectedPages: {
47569
+ errorMessage: string;
47570
+ errorReason: string;
47571
+ enabled: boolean;
47572
+ };
47573
+ approvals: {
47574
+ errorMessage: string;
47575
+ errorReason: string;
47576
+ enabled: boolean;
47577
+ };
47578
+ selectivePublishing: {
47579
+ errorMessage: string;
47580
+ errorReason: string;
47581
+ enabled: boolean;
47582
+ };
47583
+ designSystemAccessModes: {
47584
+ errorMessage: string;
47585
+ errorReason: string;
47586
+ enabled: boolean;
47587
+ };
47588
+ } | undefined;
47589
+ stripeSubscriptionMainItemId?: string | undefined;
47590
+ currentPeriodStart?: string | undefined;
47591
+ currentPeriodEnd?: string | undefined;
47592
+ subscriptionStatusUpdatedAt?: string | undefined;
47593
+ cancelAt?: string | null | undefined;
47594
+ billingType?: "Auto" | "Invoice" | undefined;
47595
+ daysUntilDue?: number | undefined;
47596
+ };
47597
+ npmRegistry?: {
47598
+ enabledScopes: string[];
47599
+ bypassProxy: boolean;
47600
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
47601
+ authType: "Custom" | "None" | "Basic" | "Bearer";
47602
+ registryUrl: string;
47603
+ proxyUrl: string;
47604
+ customRegistryUrl?: string | undefined;
47605
+ accessToken?: string | undefined;
47606
+ username?: string | undefined;
47607
+ password?: string | undefined;
47608
+ } | undefined;
47609
+ };
47610
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
47611
+ }[];
47612
+ }>;
47613
+ delete(uid: string): Promise<{
47614
+ user: {
47615
+ id: string;
47616
+ createdAt: Date;
46957
47617
  profile: {
46958
47618
  name: string;
46959
47619
  avatar?: string | undefined;
46960
47620
  nickname?: string | undefined;
47621
+ onboarding?: {
47622
+ companyName?: string | undefined;
47623
+ numberOfPeopleInOrg?: string | undefined;
47624
+ numberOfPeopleInDesignTeam?: string | undefined;
47625
+ department?: "Design" | "Engineering" | "Brand" | "Other" | undefined;
47626
+ jobTitle?: string | undefined;
47627
+ phase?: string | undefined;
47628
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
47629
+ designSystemName?: string | undefined;
47630
+ defaultDestination?: string | undefined;
47631
+ isPageDraftOnboardingFinished?: boolean | undefined;
47632
+ } | undefined;
46961
47633
  };
46962
47634
  email: string;
47635
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
47636
+ loggedOutAt?: Date | undefined;
46963
47637
  };
46964
47638
  }>;
46965
47639
  }
@@ -50279,4 +50953,4 @@ declare class FrontendVersionRoomYDoc {
50279
50953
 
50280
50954
  declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
50281
50955
 
50282
- export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserProfile, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationsListInput, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemsEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, SupernovaApiClient, UsersEndpoint, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, 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 };
50956
+ export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserOnboarding, DTOUserOnboardingDepartment, DTOUserOnboardingJobLevel, DTOUserProfile, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserSource, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationsListInput, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemMembersEndpoint, DesignSystemsEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, SupernovaApiClient, UsersEndpoint, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, WorkspaceMembersEndpoint, WorkspacesEndpoint, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };