@supernova-studio/client 0.59.12 → 1.0.0-alpha.10

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.
Files changed (204) hide show
  1. package/dist/index.d.mts +1592 -1952
  2. package/dist/index.d.ts +1592 -1952
  3. package/dist/index.js +865 -392
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +2569 -2096
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +4 -3
  8. package/src/api/client.ts +0 -31
  9. package/src/api/conversion/documentation/documentation-group-v1-to-dto.ts +0 -114
  10. package/src/api/conversion/documentation/documentation-group-v2-to-dto.ts +0 -92
  11. package/src/api/conversion/documentation/documentation-item-configuration-v1-to-dto.ts +0 -52
  12. package/src/api/conversion/documentation/documentation-item-configuration-v2-to-dto.ts +0 -34
  13. package/src/api/conversion/documentation/documentation-page-to-dto-utils.ts +0 -131
  14. package/src/api/conversion/documentation/documentation-page-v1-to-dto.ts +0 -69
  15. package/src/api/conversion/documentation/documentation-page-v2-to-dto.ts +0 -78
  16. package/src/api/conversion/documentation/index.ts +0 -7
  17. package/src/api/conversion/export/index.ts +0 -1
  18. package/src/api/conversion/export/pipeline.ts +0 -26
  19. package/src/api/conversion/index.ts +0 -3
  20. package/src/api/conversion/integrations/git.ts +0 -37
  21. package/src/api/conversion/integrations/index.ts +0 -2
  22. package/src/api/conversion/integrations/integration.ts +0 -37
  23. package/src/api/dto/aux/color.ts +0 -7
  24. package/src/api/dto/aux/index.ts +0 -3
  25. package/src/api/dto/aux/meta.ts +0 -8
  26. package/src/api/dto/aux/pagination.ts +0 -8
  27. package/src/api/dto/bff/app-bootstrap-data.ts +0 -20
  28. package/src/api/dto/bff/index.ts +0 -1
  29. package/src/api/dto/collections/index.ts +0 -1
  30. package/src/api/dto/collections/token-collection.ts +0 -24
  31. package/src/api/dto/design-systems/brand.ts +0 -44
  32. package/src/api/dto/design-systems/component.ts +0 -40
  33. package/src/api/dto/design-systems/contact.ts +0 -11
  34. package/src/api/dto/design-systems/data-source.ts +0 -141
  35. package/src/api/dto/design-systems/design-system.ts +0 -68
  36. package/src/api/dto/design-systems/elements-diff.ts +0 -14
  37. package/src/api/dto/design-systems/figma-variables.ts +0 -108
  38. package/src/api/dto/design-systems/import-job.ts +0 -61
  39. package/src/api/dto/design-systems/index.ts +0 -15
  40. package/src/api/dto/design-systems/members.ts +0 -50
  41. package/src/api/dto/design-systems/redirects.ts +0 -33
  42. package/src/api/dto/design-systems/role.ts +0 -11
  43. package/src/api/dto/design-systems/stats.ts +0 -19
  44. package/src/api/dto/design-systems/version-room.ts +0 -12
  45. package/src/api/dto/design-systems/version.ts +0 -56
  46. package/src/api/dto/design-systems/view.ts +0 -45
  47. package/src/api/dto/design-tokens/design-token.ts +0 -78
  48. package/src/api/dto/design-tokens/index.ts +0 -1
  49. package/src/api/dto/documentation/anchor.ts +0 -15
  50. package/src/api/dto/documentation/approvals.ts +0 -15
  51. package/src/api/dto/documentation/block-definition.ts +0 -28
  52. package/src/api/dto/documentation/block.ts +0 -6
  53. package/src/api/dto/documentation/documentation-page-snapshot.ts +0 -18
  54. package/src/api/dto/documentation/index.ts +0 -8
  55. package/src/api/dto/documentation/link-preview.ts +0 -23
  56. package/src/api/dto/documentation/publish.ts +0 -23
  57. package/src/api/dto/documentation/room.ts +0 -12
  58. package/src/api/dto/elements/components/figma-component-group.ts +0 -19
  59. package/src/api/dto/elements/components/figma-component.ts +0 -56
  60. package/src/api/dto/elements/components/index.ts +0 -2
  61. package/src/api/dto/elements/documentation/draft-state.ts +0 -37
  62. package/src/api/dto/elements/documentation/group-action.ts +0 -108
  63. package/src/api/dto/elements/documentation/group-v1.ts +0 -35
  64. package/src/api/dto/elements/documentation/group-v2.ts +0 -117
  65. package/src/api/dto/elements/documentation/hierarchy.ts +0 -22
  66. package/src/api/dto/elements/documentation/index.ts +0 -13
  67. package/src/api/dto/elements/documentation/item-configuration-v1.ts +0 -24
  68. package/src/api/dto/elements/documentation/item-configuration-v2.ts +0 -14
  69. package/src/api/dto/elements/documentation/metadata.ts +0 -8
  70. package/src/api/dto/elements/documentation/page-actions-v2.ts +0 -121
  71. package/src/api/dto/elements/documentation/page-content.ts +0 -15
  72. package/src/api/dto/elements/documentation/page-v1.ts +0 -21
  73. package/src/api/dto/elements/documentation/page-v2.ts +0 -123
  74. package/src/api/dto/elements/documentation/structure.ts +0 -37
  75. package/src/api/dto/elements/elements-action-v2.ts +0 -117
  76. package/src/api/dto/elements/figma-nodes/figma-node-v1.ts +0 -32
  77. package/src/api/dto/elements/figma-nodes/figma-node-v2.ts +0 -32
  78. package/src/api/dto/elements/figma-nodes/figma-node.ts +0 -103
  79. package/src/api/dto/elements/figma-nodes/index.ts +0 -4
  80. package/src/api/dto/elements/figma-nodes/node-actions-v2.ts +0 -44
  81. package/src/api/dto/elements/frame-node-structures/frame-node-structure.ts +0 -17
  82. package/src/api/dto/elements/frame-node-structures/index.ts +0 -1
  83. package/src/api/dto/elements/get-elements-v2.ts +0 -27
  84. package/src/api/dto/elements/index.ts +0 -7
  85. package/src/api/dto/elements/properties/index.ts +0 -2
  86. package/src/api/dto/elements/properties/property-definitions.ts +0 -75
  87. package/src/api/dto/elements/properties/property-values.ts +0 -38
  88. package/src/api/dto/export/exporter-property.ts +0 -105
  89. package/src/api/dto/export/exporter.ts +0 -87
  90. package/src/api/dto/export/filter.ts +0 -6
  91. package/src/api/dto/export/index.ts +0 -5
  92. package/src/api/dto/export/job.ts +0 -96
  93. package/src/api/dto/export/pipeline.ts +0 -43
  94. package/src/api/dto/figma-components/assets/download.ts +0 -30
  95. package/src/api/dto/figma-components/assets/index.ts +0 -1
  96. package/src/api/dto/figma-components/index.ts +0 -1
  97. package/src/api/dto/index.ts +0 -13
  98. package/src/api/dto/liveblocks/auth-response.ts +0 -7
  99. package/src/api/dto/liveblocks/index.ts +0 -1
  100. package/src/api/dto/themes/index.ts +0 -2
  101. package/src/api/dto/themes/override.ts +0 -27
  102. package/src/api/dto/themes/theme.ts +0 -45
  103. package/src/api/dto/users/authenticated-user.ts +0 -46
  104. package/src/api/dto/users/index.ts +0 -3
  105. package/src/api/dto/users/update.ts +0 -8
  106. package/src/api/dto/users/user.ts +0 -31
  107. package/src/api/dto/workspaces/git.ts +0 -32
  108. package/src/api/dto/workspaces/index.ts +0 -6
  109. package/src/api/dto/workspaces/integrations.ts +0 -34
  110. package/src/api/dto/workspaces/invitations.ts +0 -30
  111. package/src/api/dto/workspaces/membership.ts +0 -41
  112. package/src/api/dto/workspaces/npm-registry.ts +0 -35
  113. package/src/api/dto/workspaces/workspace.ts +0 -34
  114. package/src/api/endpoints/codegen/codegen.ts +0 -16
  115. package/src/api/endpoints/codegen/exporters.ts +0 -25
  116. package/src/api/endpoints/codegen/index.ts +0 -4
  117. package/src/api/endpoints/codegen/jobs.ts +0 -15
  118. package/src/api/endpoints/codegen/pipelines.ts +0 -44
  119. package/src/api/endpoints/design-system/bff.ts +0 -13
  120. package/src/api/endpoints/design-system/contact.ts +0 -12
  121. package/src/api/endpoints/design-system/design-systems.ts +0 -55
  122. package/src/api/endpoints/design-system/index.ts +0 -6
  123. package/src/api/endpoints/design-system/members.ts +0 -24
  124. package/src/api/endpoints/design-system/sources.ts +0 -35
  125. package/src/api/endpoints/design-system/versions/brands.ts +0 -45
  126. package/src/api/endpoints/design-system/versions/documentation.ts +0 -27
  127. package/src/api/endpoints/design-system/versions/ds-components.ts +0 -28
  128. package/src/api/endpoints/design-system/versions/elements-action.ts +0 -63
  129. package/src/api/endpoints/design-system/versions/elements.ts +0 -27
  130. package/src/api/endpoints/design-system/versions/figma-component-groups.ts +0 -13
  131. package/src/api/endpoints/design-system/versions/figma-components.ts +0 -13
  132. package/src/api/endpoints/design-system/versions/figma-frame-structures.ts +0 -13
  133. package/src/api/endpoints/design-system/versions/import-jobs.ts +0 -13
  134. package/src/api/endpoints/design-system/versions/index.ts +0 -18
  135. package/src/api/endpoints/design-system/versions/overrides.ts +0 -17
  136. package/src/api/endpoints/design-system/versions/property-definitions.ts +0 -43
  137. package/src/api/endpoints/design-system/versions/property-values.ts +0 -25
  138. package/src/api/endpoints/design-system/versions/stats.ts +0 -12
  139. package/src/api/endpoints/design-system/versions/themes.ts +0 -35
  140. package/src/api/endpoints/design-system/versions/token-collections.ts +0 -13
  141. package/src/api/endpoints/design-system/versions/token-groups.ts +0 -28
  142. package/src/api/endpoints/design-system/versions/tokens.ts +0 -27
  143. package/src/api/endpoints/design-system/versions/versions.ts +0 -87
  144. package/src/api/endpoints/index.ts +0 -5
  145. package/src/api/endpoints/liveblocks.ts +0 -14
  146. package/src/api/endpoints/users.ts +0 -26
  147. package/src/api/endpoints/workspaces/index.ts +0 -3
  148. package/src/api/endpoints/workspaces/workspace-invites.ts +0 -34
  149. package/src/api/endpoints/workspaces/workspace-members.ts +0 -31
  150. package/src/api/endpoints/workspaces/workspaces.ts +0 -47
  151. package/src/api/index.ts +0 -6
  152. package/src/api/payloads/design-systems/index.ts +0 -2
  153. package/src/api/payloads/design-systems/update-design-system.ts +0 -29
  154. package/src/api/payloads/design-systems/version.ts +0 -29
  155. package/src/api/payloads/documentation/block-definitions.ts +0 -12
  156. package/src/api/payloads/documentation/design-data-doc-diff.ts +0 -7
  157. package/src/api/payloads/documentation/index.ts +0 -2
  158. package/src/api/payloads/export/index.ts +0 -1
  159. package/src/api/payloads/export/pipeline.ts +0 -74
  160. package/src/api/payloads/index.ts +0 -6
  161. package/src/api/payloads/liveblocks/auth.ts +0 -7
  162. package/src/api/payloads/liveblocks/index.ts +0 -1
  163. package/src/api/payloads/users/index.ts +0 -2
  164. package/src/api/payloads/users/notifications/index.ts +0 -1
  165. package/src/api/payloads/users/notifications/notification-settings.ts +0 -17
  166. package/src/api/payloads/users/profile/index.ts +0 -1
  167. package/src/api/payloads/users/profile/update.ts +0 -4
  168. package/src/api/payloads/workspaces/index.ts +0 -3
  169. package/src/api/payloads/workspaces/transfer-ownership.ts +0 -7
  170. package/src/api/payloads/workspaces/workspace-configuration.ts +0 -50
  171. package/src/api/payloads/workspaces/workspace-integrations.ts +0 -26
  172. package/src/api/transport/index.ts +0 -2
  173. package/src/api/transport/request-executor-error.ts +0 -66
  174. package/src/api/transport/request-executor.ts +0 -87
  175. package/src/events/design-system.ts +0 -21
  176. package/src/events/event.ts +0 -6
  177. package/src/events/index.ts +0 -2
  178. package/src/index.ts +0 -4
  179. package/src/utils/figma.ts +0 -72
  180. package/src/utils/hash.ts +0 -62
  181. package/src/utils/index.ts +0 -3
  182. package/src/utils/query.ts +0 -18
  183. package/src/yjs/design-system-content/documentation-hierarchy.ts +0 -35
  184. package/src/yjs/design-system-content/index.ts +0 -2
  185. package/src/yjs/design-system-content/item-configuration.ts +0 -93
  186. package/src/yjs/docs-editor/blocks-to-prosemirror.ts +0 -764
  187. package/src/yjs/docs-editor/index.ts +0 -7
  188. package/src/yjs/docs-editor/list-tree-builder.ts +0 -127
  189. package/src/yjs/docs-editor/mock.ts +0 -2142
  190. package/src/yjs/docs-editor/model/block.ts +0 -8
  191. package/src/yjs/docs-editor/model/index.ts +0 -2
  192. package/src/yjs/docs-editor/model/page.ts +0 -8
  193. package/src/yjs/docs-editor/prosemirror/index.ts +0 -3
  194. package/src/yjs/docs-editor/prosemirror/inner-editor-schema.ts +0 -145
  195. package/src/yjs/docs-editor/prosemirror/main-editor-schema.ts +0 -577
  196. package/src/yjs/docs-editor/prosemirror/types.ts +0 -19
  197. package/src/yjs/docs-editor/prosemirror-to-blocks.ts +0 -975
  198. package/src/yjs/docs-editor/utils.ts +0 -115
  199. package/src/yjs/index.ts +0 -3
  200. package/src/yjs/version-room/backend.ts +0 -83
  201. package/src/yjs/version-room/base.ts +0 -252
  202. package/src/yjs/version-room/frontend.ts +0 -463
  203. package/src/yjs/version-room/index.ts +0 -4
  204. package/src/yjs/version-room/utils.ts +0 -109
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
- import { DocumentationGroupV1, DocumentationPageV1, DocumentationPageV2, DocumentationPageApproval, PageBlockDefinitionLayout as PageBlockDefinitionLayout$1, PageBlockV1, ElementGroup, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SupernovaExceptionType, SsoProvider, OmitStrict, UpdateMembershipRolesInput, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemRichTextEditorValue, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType, DocumentationPageSnapshot, ElementGroupSnapshot } from '@supernova-studio/model';
1
+ import { DocumentationGroupV1, DocumentationPageV1, DocumentationPageV2, OmitStrict, ElementGroup, DocumentationPageSnapshot, ElementGroupSnapshot, DocumentationPageApproval, PageBlockDefinitionLayout as PageBlockDefinitionLayout$1, PageBlockV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SupernovaExceptionType, SsoProvider, UpdateMembershipRolesInput, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemRichTextEditorValue, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
2
2
  import * as zod from 'zod';
3
3
  import zod__default, { z, ZodSchema, ZodTypeDef } from 'zod';
4
- import { RequestInit } from 'node-fetch';
5
4
  import * as Y from 'yjs';
5
+ import { RequestInit } from 'node-fetch';
6
6
  import { Schema } from 'prosemirror-model';
7
7
 
8
8
  /**
@@ -1127,188 +1127,898 @@ declare function elementGroupsToDocumentationGroupStructureDTOV1(groups: Documen
1127
1127
  declare function elementGroupsToDocumentationGroupDTOV1(groups: DocumentationGroupV1[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV1[];
1128
1128
  declare function elementGroupsToDocumentationGroupFixedConfigurationDTOV1(groups: DocumentationGroupV1[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV1[];
1129
1129
 
1130
- declare const DTOColorTokenInlineData: z.ZodObject<{
1131
- value: z.ZodString;
1132
- }, "strip", z.ZodTypeAny, {
1133
- value: string;
1134
- }, {
1135
- value: string;
1136
- }>;
1137
- type DTOColorTokenInlineData = z.infer<typeof DTOColorTokenInlineData>;
1138
-
1139
- declare const DTOObjectMeta: z.ZodObject<{
1140
- name: z.ZodString;
1141
- description: z.ZodOptional<z.ZodString>;
1142
- }, "strip", z.ZodTypeAny, {
1143
- name: string;
1144
- description?: string | undefined;
1145
- }, {
1146
- name: string;
1147
- description?: string | undefined;
1148
- }>;
1149
- type DTOObjectMeta = z.infer<typeof DTOObjectMeta>;
1130
+ type LocalDocsPage = OmitStrict<DocumentationPageV2, "id" | "userSlug"> & {
1131
+ userSlug?: undefined;
1132
+ };
1133
+ type LocalDocsPageGroup = OmitStrict<ElementGroup, "id" | "brandPersistentId" | "childType" | "userSlug"> & {
1134
+ userSlug?: undefined;
1135
+ };
1136
+ declare class LocalStorage {
1137
+ private readonly pages;
1138
+ private readonly liveblocksRoomIds;
1139
+ private readonly deletedPageIds;
1140
+ private readonly groups;
1141
+ setPage(page: LocalDocsPage): void;
1142
+ deletePage(persistentId: string): void;
1143
+ tryGetPage(persistentId: string): LocalDocsPage | undefined;
1144
+ getPage(persistentId: string): LocalDocsPage;
1145
+ getAllPages(): LocalDocsPage[];
1146
+ getAllDeletedPages(): Set<string>;
1147
+ removePage(persistentId: string): void;
1148
+ setPageLiveblocksRoomId(pagePersistentId: string, id: string): void;
1149
+ getPageLiveblocksRoomId(pagePersistentId: string): string | undefined;
1150
+ getAllPageLiveblocksRoomIds(): Map<string, string>;
1151
+ }
1150
1152
 
1151
- declare const DTOPagination: z.ZodObject<{
1152
- limit: z.ZodOptional<z.ZodString>;
1153
- offset: z.ZodOptional<z.ZodString>;
1153
+ declare const DocumentationHierarchySettings: z.ZodObject<{
1154
+ routingVersion: z.ZodString;
1155
+ isDraftFeatureAdopted: z.ZodBoolean;
1156
+ isApprovalFeatureEnabled: z.ZodBoolean;
1157
+ approvalRequiredForPublishing: z.ZodBoolean;
1154
1158
  }, "strip", z.ZodTypeAny, {
1155
- limit?: string | undefined;
1156
- offset?: string | undefined;
1159
+ isApprovalFeatureEnabled: boolean;
1160
+ approvalRequiredForPublishing: boolean;
1161
+ routingVersion: string;
1162
+ isDraftFeatureAdopted: boolean;
1157
1163
  }, {
1158
- limit?: string | undefined;
1159
- offset?: string | undefined;
1164
+ isApprovalFeatureEnabled: boolean;
1165
+ approvalRequiredForPublishing: boolean;
1166
+ routingVersion: string;
1167
+ isDraftFeatureAdopted: boolean;
1160
1168
  }>;
1161
- type DTOPagination = z.infer<typeof DTOPagination>;
1169
+ type DocumentationHierarchySettings = z.infer<typeof DocumentationHierarchySettings>;
1170
+ /**
1171
+ * @deprecated - Use FrontendVersionRoomYDoc.getDocumentationHierarchy
1172
+ */
1173
+ declare function yjsToDocumentationHierarchy(doc: Y.Doc): DTODocumentationHierarchyV2;
1162
1174
 
1163
- declare const DTOAppBootstrapDataQuery: z.ZodObject<{
1164
- preferredWorkspaceId: z.ZodOptional<z.ZodString>;
1165
- preferredDesignSystemId: z.ZodOptional<z.ZodString>;
1166
- preferredVersionId: z.ZodOptional<z.ZodString>;
1167
- preferredBrandId: z.ZodOptional<z.ZodString>;
1175
+ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
1176
+ title: z.ZodString;
1177
+ configuration: z.ZodObject<{
1178
+ showSidebar: z.ZodBoolean;
1179
+ isPrivate: z.ZodBoolean;
1180
+ isHidden: z.ZodBoolean;
1181
+ header: z.ZodObject<{
1182
+ description: z.ZodString;
1183
+ alignment: z.ZodEnum<["Left", "Center"]>;
1184
+ foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1185
+ value: z.ZodString;
1186
+ referencedTokenId: z.ZodOptional<z.ZodString>;
1187
+ }, "strip", z.ZodTypeAny, {
1188
+ value: string;
1189
+ referencedTokenId?: string | undefined;
1190
+ }, {
1191
+ value: string;
1192
+ referencedTokenId?: string | undefined;
1193
+ }>>>;
1194
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1195
+ value: z.ZodString;
1196
+ referencedTokenId: z.ZodOptional<z.ZodString>;
1197
+ }, "strip", z.ZodTypeAny, {
1198
+ value: string;
1199
+ referencedTokenId?: string | undefined;
1200
+ }, {
1201
+ value: string;
1202
+ referencedTokenId?: string | undefined;
1203
+ }>>>;
1204
+ backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1205
+ type: z.ZodEnum<["Resource", "FigmaNode"]>;
1206
+ resource: z.ZodOptional<z.ZodObject<{
1207
+ resourceId: z.ZodString;
1208
+ url: z.ZodString;
1209
+ }, "strip", z.ZodTypeAny, {
1210
+ url: string;
1211
+ resourceId: string;
1212
+ }, {
1213
+ url: string;
1214
+ resourceId: string;
1215
+ }>>;
1216
+ figmaNode: z.ZodOptional<z.ZodObject<{
1217
+ sourceId: z.ZodString;
1218
+ frameReferenceId: z.ZodString;
1219
+ }, "strip", z.ZodTypeAny, {
1220
+ sourceId: string;
1221
+ frameReferenceId: string;
1222
+ }, {
1223
+ sourceId: string;
1224
+ frameReferenceId: string;
1225
+ }>>;
1226
+ }, "strip", z.ZodTypeAny, {
1227
+ type: "FigmaNode" | "Resource";
1228
+ resource?: {
1229
+ url: string;
1230
+ resourceId: string;
1231
+ } | undefined;
1232
+ figmaNode?: {
1233
+ sourceId: string;
1234
+ frameReferenceId: string;
1235
+ } | undefined;
1236
+ }, {
1237
+ type: "FigmaNode" | "Resource";
1238
+ resource?: {
1239
+ url: string;
1240
+ resourceId: string;
1241
+ } | undefined;
1242
+ figmaNode?: {
1243
+ sourceId: string;
1244
+ frameReferenceId: string;
1245
+ } | undefined;
1246
+ }>>>;
1247
+ backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
1248
+ showBackgroundOverlay: z.ZodBoolean;
1249
+ showCoverText: z.ZodBoolean;
1250
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1251
+ }, "strip", z.ZodTypeAny, {
1252
+ description: string;
1253
+ alignment: "Center" | "Left";
1254
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1255
+ showBackgroundOverlay: boolean;
1256
+ showCoverText: boolean;
1257
+ backgroundColor?: {
1258
+ value: string;
1259
+ referencedTokenId?: string | undefined;
1260
+ } | null | undefined;
1261
+ foregroundColor?: {
1262
+ value: string;
1263
+ referencedTokenId?: string | undefined;
1264
+ } | null | undefined;
1265
+ backgroundImageAsset?: {
1266
+ type: "FigmaNode" | "Resource";
1267
+ resource?: {
1268
+ url: string;
1269
+ resourceId: string;
1270
+ } | undefined;
1271
+ figmaNode?: {
1272
+ sourceId: string;
1273
+ frameReferenceId: string;
1274
+ } | undefined;
1275
+ } | null | undefined;
1276
+ minHeight?: number | null | undefined;
1277
+ }, {
1278
+ description: string;
1279
+ alignment: "Center" | "Left";
1280
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1281
+ showBackgroundOverlay: boolean;
1282
+ showCoverText: boolean;
1283
+ backgroundColor?: {
1284
+ value: string;
1285
+ referencedTokenId?: string | undefined;
1286
+ } | null | undefined;
1287
+ foregroundColor?: {
1288
+ value: string;
1289
+ referencedTokenId?: string | undefined;
1290
+ } | null | undefined;
1291
+ backgroundImageAsset?: {
1292
+ type: "FigmaNode" | "Resource";
1293
+ resource?: {
1294
+ url: string;
1295
+ resourceId: string;
1296
+ } | undefined;
1297
+ figmaNode?: {
1298
+ sourceId: string;
1299
+ frameReferenceId: string;
1300
+ } | undefined;
1301
+ } | null | undefined;
1302
+ minHeight?: number | null | undefined;
1303
+ }>;
1304
+ }, "strip", z.ZodTypeAny, {
1305
+ showSidebar: boolean;
1306
+ isPrivate: boolean;
1307
+ isHidden: boolean;
1308
+ header: {
1309
+ description: string;
1310
+ alignment: "Center" | "Left";
1311
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1312
+ showBackgroundOverlay: boolean;
1313
+ showCoverText: boolean;
1314
+ backgroundColor?: {
1315
+ value: string;
1316
+ referencedTokenId?: string | undefined;
1317
+ } | null | undefined;
1318
+ foregroundColor?: {
1319
+ value: string;
1320
+ referencedTokenId?: string | undefined;
1321
+ } | null | undefined;
1322
+ backgroundImageAsset?: {
1323
+ type: "FigmaNode" | "Resource";
1324
+ resource?: {
1325
+ url: string;
1326
+ resourceId: string;
1327
+ } | undefined;
1328
+ figmaNode?: {
1329
+ sourceId: string;
1330
+ frameReferenceId: string;
1331
+ } | undefined;
1332
+ } | null | undefined;
1333
+ minHeight?: number | null | undefined;
1334
+ };
1335
+ }, {
1336
+ showSidebar: boolean;
1337
+ isPrivate: boolean;
1338
+ isHidden: boolean;
1339
+ header: {
1340
+ description: string;
1341
+ alignment: "Center" | "Left";
1342
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1343
+ showBackgroundOverlay: boolean;
1344
+ showCoverText: boolean;
1345
+ backgroundColor?: {
1346
+ value: string;
1347
+ referencedTokenId?: string | undefined;
1348
+ } | null | undefined;
1349
+ foregroundColor?: {
1350
+ value: string;
1351
+ referencedTokenId?: string | undefined;
1352
+ } | null | undefined;
1353
+ backgroundImageAsset?: {
1354
+ type: "FigmaNode" | "Resource";
1355
+ resource?: {
1356
+ url: string;
1357
+ resourceId: string;
1358
+ } | undefined;
1359
+ figmaNode?: {
1360
+ sourceId: string;
1361
+ frameReferenceId: string;
1362
+ } | undefined;
1363
+ } | null | undefined;
1364
+ minHeight?: number | null | undefined;
1365
+ };
1366
+ }>;
1168
1367
  }, "strip", z.ZodTypeAny, {
1169
- preferredWorkspaceId?: string | undefined;
1170
- preferredDesignSystemId?: string | undefined;
1171
- preferredVersionId?: string | undefined;
1172
- preferredBrandId?: string | undefined;
1368
+ title: string;
1369
+ configuration: {
1370
+ showSidebar: boolean;
1371
+ isPrivate: boolean;
1372
+ isHidden: boolean;
1373
+ header: {
1374
+ description: string;
1375
+ alignment: "Center" | "Left";
1376
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1377
+ showBackgroundOverlay: boolean;
1378
+ showCoverText: boolean;
1379
+ backgroundColor?: {
1380
+ value: string;
1381
+ referencedTokenId?: string | undefined;
1382
+ } | null | undefined;
1383
+ foregroundColor?: {
1384
+ value: string;
1385
+ referencedTokenId?: string | undefined;
1386
+ } | null | undefined;
1387
+ backgroundImageAsset?: {
1388
+ type: "FigmaNode" | "Resource";
1389
+ resource?: {
1390
+ url: string;
1391
+ resourceId: string;
1392
+ } | undefined;
1393
+ figmaNode?: {
1394
+ sourceId: string;
1395
+ frameReferenceId: string;
1396
+ } | undefined;
1397
+ } | null | undefined;
1398
+ minHeight?: number | null | undefined;
1399
+ };
1400
+ };
1173
1401
  }, {
1174
- preferredWorkspaceId?: string | undefined;
1175
- preferredDesignSystemId?: string | undefined;
1176
- preferredVersionId?: string | undefined;
1177
- preferredBrandId?: string | undefined;
1402
+ title: string;
1403
+ configuration: {
1404
+ showSidebar: boolean;
1405
+ isPrivate: boolean;
1406
+ isHidden: boolean;
1407
+ header: {
1408
+ description: string;
1409
+ alignment: "Center" | "Left";
1410
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1411
+ showBackgroundOverlay: boolean;
1412
+ showCoverText: boolean;
1413
+ backgroundColor?: {
1414
+ value: string;
1415
+ referencedTokenId?: string | undefined;
1416
+ } | null | undefined;
1417
+ foregroundColor?: {
1418
+ value: string;
1419
+ referencedTokenId?: string | undefined;
1420
+ } | null | undefined;
1421
+ backgroundImageAsset?: {
1422
+ type: "FigmaNode" | "Resource";
1423
+ resource?: {
1424
+ url: string;
1425
+ resourceId: string;
1426
+ } | undefined;
1427
+ figmaNode?: {
1428
+ sourceId: string;
1429
+ frameReferenceId: string;
1430
+ } | undefined;
1431
+ } | null | undefined;
1432
+ minHeight?: number | null | undefined;
1433
+ };
1434
+ };
1178
1435
  }>;
1179
- type DTOAppBootstrapDataQuery = z.infer<typeof DTOAppBootstrapDataQuery>;
1180
- declare const DTOAppBootstrapDataResponse: z.ZodObject<{
1181
- workspaceMembership: z.ZodOptional<z.ZodObject<{
1182
- workspace: z.ZodObject<{
1183
- id: z.ZodString;
1184
- profile: z.ZodObject<{
1185
- name: z.ZodString;
1186
- handle: z.ZodString;
1187
- color: z.ZodString;
1188
- avatar: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1189
- billingDetails: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
1190
- address?: {
1191
- state?: string | undefined;
1192
- street1?: string | undefined;
1193
- street2?: string | undefined;
1194
- city?: string | undefined;
1195
- postal?: string | undefined;
1196
- country?: string | undefined;
1197
- } | undefined;
1198
- email?: string | undefined;
1199
- notes?: string | undefined;
1200
- companyName?: string | undefined;
1201
- companyId?: string | undefined;
1202
- vat?: string | undefined;
1203
- poNumber?: string | undefined;
1204
- }, z.ZodTypeDef, {
1205
- address?: {
1206
- state?: string | null | undefined;
1207
- street1?: string | null | undefined;
1208
- street2?: string | null | undefined;
1209
- city?: string | null | undefined;
1210
- postal?: string | null | undefined;
1211
- country?: string | null | undefined;
1212
- } | null | undefined;
1213
- email?: string | null | undefined;
1214
- notes?: string | null | undefined;
1215
- companyName?: string | null | undefined;
1216
- companyId?: string | null | undefined;
1217
- vat?: string | null | undefined;
1218
- poNumber?: string | null | undefined;
1219
- }>>>, {
1220
- address?: {
1221
- state?: string | undefined;
1222
- street1?: string | undefined;
1223
- street2?: string | undefined;
1224
- city?: string | undefined;
1225
- postal?: string | undefined;
1226
- country?: string | undefined;
1227
- } | undefined;
1228
- email?: string | undefined;
1229
- notes?: string | undefined;
1230
- companyName?: string | undefined;
1231
- companyId?: string | undefined;
1232
- vat?: string | undefined;
1233
- poNumber?: string | undefined;
1234
- } | undefined, {
1235
- address?: {
1236
- state?: string | null | undefined;
1237
- street1?: string | null | undefined;
1238
- street2?: string | null | undefined;
1239
- city?: string | null | undefined;
1240
- postal?: string | null | undefined;
1241
- country?: string | null | undefined;
1242
- } | null | undefined;
1243
- email?: string | null | undefined;
1244
- notes?: string | null | undefined;
1245
- companyName?: string | null | undefined;
1246
- companyId?: string | null | undefined;
1247
- vat?: string | null | undefined;
1248
- poNumber?: string | null | undefined;
1249
- } | null | undefined>;
1436
+ type DTODocumentationPageRoomHeaderData = z.infer<typeof DTODocumentationPageRoomHeaderData>;
1437
+ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
1438
+ title: z.ZodOptional<z.ZodString>;
1439
+ configuration: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<Omit<{
1440
+ showSidebar: z.ZodBoolean;
1441
+ isPrivate: z.ZodBoolean;
1442
+ isHidden: z.ZodBoolean;
1443
+ header: z.ZodObject<{
1444
+ description: z.ZodString;
1445
+ alignment: z.ZodEnum<["Left", "Center"]>;
1446
+ foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1447
+ value: z.ZodString;
1448
+ referencedTokenId: z.ZodOptional<z.ZodString>;
1250
1449
  }, "strip", z.ZodTypeAny, {
1251
- name: string;
1252
- color: string;
1253
- handle: string;
1254
- avatar?: string | undefined;
1255
- billingDetails?: {
1256
- address?: {
1257
- state?: string | undefined;
1258
- street1?: string | undefined;
1259
- street2?: string | undefined;
1260
- city?: string | undefined;
1261
- postal?: string | undefined;
1262
- country?: string | undefined;
1263
- } | undefined;
1264
- email?: string | undefined;
1265
- notes?: string | undefined;
1266
- companyName?: string | undefined;
1267
- companyId?: string | undefined;
1268
- vat?: string | undefined;
1269
- poNumber?: string | undefined;
1450
+ value: string;
1451
+ referencedTokenId?: string | undefined;
1452
+ }, {
1453
+ value: string;
1454
+ referencedTokenId?: string | undefined;
1455
+ }>>>;
1456
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1457
+ value: z.ZodString;
1458
+ referencedTokenId: z.ZodOptional<z.ZodString>;
1459
+ }, "strip", z.ZodTypeAny, {
1460
+ value: string;
1461
+ referencedTokenId?: string | undefined;
1462
+ }, {
1463
+ value: string;
1464
+ referencedTokenId?: string | undefined;
1465
+ }>>>;
1466
+ backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1467
+ type: z.ZodEnum<["Resource", "FigmaNode"]>;
1468
+ resource: z.ZodOptional<z.ZodObject<{
1469
+ resourceId: z.ZodString;
1470
+ url: z.ZodString;
1471
+ }, "strip", z.ZodTypeAny, {
1472
+ url: string;
1473
+ resourceId: string;
1474
+ }, {
1475
+ url: string;
1476
+ resourceId: string;
1477
+ }>>;
1478
+ figmaNode: z.ZodOptional<z.ZodObject<{
1479
+ sourceId: z.ZodString;
1480
+ frameReferenceId: z.ZodString;
1481
+ }, "strip", z.ZodTypeAny, {
1482
+ sourceId: string;
1483
+ frameReferenceId: string;
1484
+ }, {
1485
+ sourceId: string;
1486
+ frameReferenceId: string;
1487
+ }>>;
1488
+ }, "strip", z.ZodTypeAny, {
1489
+ type: "FigmaNode" | "Resource";
1490
+ resource?: {
1491
+ url: string;
1492
+ resourceId: string;
1493
+ } | undefined;
1494
+ figmaNode?: {
1495
+ sourceId: string;
1496
+ frameReferenceId: string;
1270
1497
  } | undefined;
1271
1498
  }, {
1272
- name: string;
1273
- color: string;
1274
- handle: string;
1275
- avatar?: string | null | undefined;
1276
- billingDetails?: {
1277
- address?: {
1278
- state?: string | null | undefined;
1279
- street1?: string | null | undefined;
1280
- street2?: string | null | undefined;
1281
- city?: string | null | undefined;
1282
- postal?: string | null | undefined;
1283
- country?: string | null | undefined;
1284
- } | null | undefined;
1285
- email?: string | null | undefined;
1286
- notes?: string | null | undefined;
1287
- companyName?: string | null | undefined;
1288
- companyId?: string | null | undefined;
1289
- vat?: string | null | undefined;
1290
- poNumber?: string | null | undefined;
1291
- } | null | undefined;
1292
- }>;
1293
- subscription: z.ZodObject<{
1294
- stripeSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1295
- stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1296
- status: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
1297
- subscriptionStatus: z.ZodOptional<z.ZodEnum<["trialing", "active", "past_due", "canceled", "unpaid", "incomplete_expired", "incomplete", "unknown"]>>;
1298
- internalStatus: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
1299
- product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
1300
- featuresSummary: z.ZodOptional<z.ZodObject<{
1301
- designSystems: z.ZodObject<{
1302
- max: z.ZodNumber;
1303
- errorMessage: z.ZodString;
1304
- errorReason: z.ZodString;
1305
- }, "strip", z.ZodTypeAny, {
1306
- max: number;
1307
- errorMessage: string;
1308
- errorReason: string;
1309
- }, {
1310
- max: number;
1311
- errorMessage: string;
1499
+ type: "FigmaNode" | "Resource";
1500
+ resource?: {
1501
+ url: string;
1502
+ resourceId: string;
1503
+ } | undefined;
1504
+ figmaNode?: {
1505
+ sourceId: string;
1506
+ frameReferenceId: string;
1507
+ } | undefined;
1508
+ }>>>;
1509
+ backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
1510
+ showBackgroundOverlay: z.ZodBoolean;
1511
+ showCoverText: z.ZodBoolean;
1512
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1513
+ }, "strip", z.ZodTypeAny, {
1514
+ description: string;
1515
+ alignment: "Center" | "Left";
1516
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1517
+ showBackgroundOverlay: boolean;
1518
+ showCoverText: boolean;
1519
+ backgroundColor?: {
1520
+ value: string;
1521
+ referencedTokenId?: string | undefined;
1522
+ } | null | undefined;
1523
+ foregroundColor?: {
1524
+ value: string;
1525
+ referencedTokenId?: string | undefined;
1526
+ } | null | undefined;
1527
+ backgroundImageAsset?: {
1528
+ type: "FigmaNode" | "Resource";
1529
+ resource?: {
1530
+ url: string;
1531
+ resourceId: string;
1532
+ } | undefined;
1533
+ figmaNode?: {
1534
+ sourceId: string;
1535
+ frameReferenceId: string;
1536
+ } | undefined;
1537
+ } | null | undefined;
1538
+ minHeight?: number | null | undefined;
1539
+ }, {
1540
+ description: string;
1541
+ alignment: "Center" | "Left";
1542
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1543
+ showBackgroundOverlay: boolean;
1544
+ showCoverText: boolean;
1545
+ backgroundColor?: {
1546
+ value: string;
1547
+ referencedTokenId?: string | undefined;
1548
+ } | null | undefined;
1549
+ foregroundColor?: {
1550
+ value: string;
1551
+ referencedTokenId?: string | undefined;
1552
+ } | null | undefined;
1553
+ backgroundImageAsset?: {
1554
+ type: "FigmaNode" | "Resource";
1555
+ resource?: {
1556
+ url: string;
1557
+ resourceId: string;
1558
+ } | undefined;
1559
+ figmaNode?: {
1560
+ sourceId: string;
1561
+ frameReferenceId: string;
1562
+ } | undefined;
1563
+ } | null | undefined;
1564
+ minHeight?: number | null | undefined;
1565
+ }>;
1566
+ }, "header">, {
1567
+ header: z.ZodObject<{
1568
+ description: z.ZodOptional<z.ZodString>;
1569
+ alignment: z.ZodOptional<z.ZodEnum<["Left", "Center"]>>;
1570
+ foregroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1571
+ value: z.ZodString;
1572
+ referencedTokenId: z.ZodOptional<z.ZodString>;
1573
+ }, "strip", z.ZodTypeAny, {
1574
+ value: string;
1575
+ referencedTokenId?: string | undefined;
1576
+ }, {
1577
+ value: string;
1578
+ referencedTokenId?: string | undefined;
1579
+ }>>>>;
1580
+ backgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1581
+ value: z.ZodString;
1582
+ referencedTokenId: z.ZodOptional<z.ZodString>;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ value: string;
1585
+ referencedTokenId?: string | undefined;
1586
+ }, {
1587
+ value: string;
1588
+ referencedTokenId?: string | undefined;
1589
+ }>>>>;
1590
+ backgroundImageAsset: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1591
+ type: z.ZodEnum<["Resource", "FigmaNode"]>;
1592
+ resource: z.ZodOptional<z.ZodObject<{
1593
+ resourceId: z.ZodString;
1594
+ url: z.ZodString;
1595
+ }, "strip", z.ZodTypeAny, {
1596
+ url: string;
1597
+ resourceId: string;
1598
+ }, {
1599
+ url: string;
1600
+ resourceId: string;
1601
+ }>>;
1602
+ figmaNode: z.ZodOptional<z.ZodObject<{
1603
+ sourceId: z.ZodString;
1604
+ frameReferenceId: z.ZodString;
1605
+ }, "strip", z.ZodTypeAny, {
1606
+ sourceId: string;
1607
+ frameReferenceId: string;
1608
+ }, {
1609
+ sourceId: string;
1610
+ frameReferenceId: string;
1611
+ }>>;
1612
+ }, "strip", z.ZodTypeAny, {
1613
+ type: "FigmaNode" | "Resource";
1614
+ resource?: {
1615
+ url: string;
1616
+ resourceId: string;
1617
+ } | undefined;
1618
+ figmaNode?: {
1619
+ sourceId: string;
1620
+ frameReferenceId: string;
1621
+ } | undefined;
1622
+ }, {
1623
+ type: "FigmaNode" | "Resource";
1624
+ resource?: {
1625
+ url: string;
1626
+ resourceId: string;
1627
+ } | undefined;
1628
+ figmaNode?: {
1629
+ sourceId: string;
1630
+ frameReferenceId: string;
1631
+ } | undefined;
1632
+ }>>>>;
1633
+ backgroundImageScaleType: z.ZodOptional<z.ZodEnum<["AspectFill", "AspectFit"]>>;
1634
+ showBackgroundOverlay: z.ZodOptional<z.ZodBoolean>;
1635
+ showCoverText: z.ZodOptional<z.ZodBoolean>;
1636
+ minHeight: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1637
+ }, "strip", z.ZodTypeAny, {
1638
+ description?: string | undefined;
1639
+ alignment?: "Left" | "Center" | undefined;
1640
+ foregroundColor?: {
1641
+ value: string;
1642
+ referencedTokenId?: string | undefined;
1643
+ } | null | undefined;
1644
+ backgroundColor?: {
1645
+ value: string;
1646
+ referencedTokenId?: string | undefined;
1647
+ } | null | undefined;
1648
+ backgroundImageAsset?: {
1649
+ type: "FigmaNode" | "Resource";
1650
+ resource?: {
1651
+ url: string;
1652
+ resourceId: string;
1653
+ } | undefined;
1654
+ figmaNode?: {
1655
+ sourceId: string;
1656
+ frameReferenceId: string;
1657
+ } | undefined;
1658
+ } | null | undefined;
1659
+ backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
1660
+ showBackgroundOverlay?: boolean | undefined;
1661
+ showCoverText?: boolean | undefined;
1662
+ minHeight?: number | null | undefined;
1663
+ }, {
1664
+ description?: string | undefined;
1665
+ alignment?: "Left" | "Center" | undefined;
1666
+ foregroundColor?: {
1667
+ value: string;
1668
+ referencedTokenId?: string | undefined;
1669
+ } | null | undefined;
1670
+ backgroundColor?: {
1671
+ value: string;
1672
+ referencedTokenId?: string | undefined;
1673
+ } | null | undefined;
1674
+ backgroundImageAsset?: {
1675
+ type: "FigmaNode" | "Resource";
1676
+ resource?: {
1677
+ url: string;
1678
+ resourceId: string;
1679
+ } | undefined;
1680
+ figmaNode?: {
1681
+ sourceId: string;
1682
+ frameReferenceId: string;
1683
+ } | undefined;
1684
+ } | null | undefined;
1685
+ backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
1686
+ showBackgroundOverlay?: boolean | undefined;
1687
+ showCoverText?: boolean | undefined;
1688
+ minHeight?: number | null | undefined;
1689
+ }>;
1690
+ }>, "strip", z.ZodTypeAny, {
1691
+ showSidebar: boolean;
1692
+ isPrivate: boolean;
1693
+ isHidden: boolean;
1694
+ header: {
1695
+ description?: string | undefined;
1696
+ alignment?: "Left" | "Center" | undefined;
1697
+ foregroundColor?: {
1698
+ value: string;
1699
+ referencedTokenId?: string | undefined;
1700
+ } | null | undefined;
1701
+ backgroundColor?: {
1702
+ value: string;
1703
+ referencedTokenId?: string | undefined;
1704
+ } | null | undefined;
1705
+ backgroundImageAsset?: {
1706
+ type: "FigmaNode" | "Resource";
1707
+ resource?: {
1708
+ url: string;
1709
+ resourceId: string;
1710
+ } | undefined;
1711
+ figmaNode?: {
1712
+ sourceId: string;
1713
+ frameReferenceId: string;
1714
+ } | undefined;
1715
+ } | null | undefined;
1716
+ backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
1717
+ showBackgroundOverlay?: boolean | undefined;
1718
+ showCoverText?: boolean | undefined;
1719
+ minHeight?: number | null | undefined;
1720
+ };
1721
+ }, {
1722
+ showSidebar: boolean;
1723
+ isPrivate: boolean;
1724
+ isHidden: boolean;
1725
+ header: {
1726
+ description?: string | undefined;
1727
+ alignment?: "Left" | "Center" | undefined;
1728
+ foregroundColor?: {
1729
+ value: string;
1730
+ referencedTokenId?: string | undefined;
1731
+ } | null | undefined;
1732
+ backgroundColor?: {
1733
+ value: string;
1734
+ referencedTokenId?: string | undefined;
1735
+ } | null | undefined;
1736
+ backgroundImageAsset?: {
1737
+ type: "FigmaNode" | "Resource";
1738
+ resource?: {
1739
+ url: string;
1740
+ resourceId: string;
1741
+ } | undefined;
1742
+ figmaNode?: {
1743
+ sourceId: string;
1744
+ frameReferenceId: string;
1745
+ } | undefined;
1746
+ } | null | undefined;
1747
+ backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
1748
+ showBackgroundOverlay?: boolean | undefined;
1749
+ showCoverText?: boolean | undefined;
1750
+ minHeight?: number | null | undefined;
1751
+ };
1752
+ }>>;
1753
+ }, "strip", z.ZodTypeAny, {
1754
+ title?: string | undefined;
1755
+ configuration?: {
1756
+ showSidebar: boolean;
1757
+ isPrivate: boolean;
1758
+ isHidden: boolean;
1759
+ header: {
1760
+ description?: string | undefined;
1761
+ alignment?: "Left" | "Center" | undefined;
1762
+ foregroundColor?: {
1763
+ value: string;
1764
+ referencedTokenId?: string | undefined;
1765
+ } | null | undefined;
1766
+ backgroundColor?: {
1767
+ value: string;
1768
+ referencedTokenId?: string | undefined;
1769
+ } | null | undefined;
1770
+ backgroundImageAsset?: {
1771
+ type: "FigmaNode" | "Resource";
1772
+ resource?: {
1773
+ url: string;
1774
+ resourceId: string;
1775
+ } | undefined;
1776
+ figmaNode?: {
1777
+ sourceId: string;
1778
+ frameReferenceId: string;
1779
+ } | undefined;
1780
+ } | null | undefined;
1781
+ backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
1782
+ showBackgroundOverlay?: boolean | undefined;
1783
+ showCoverText?: boolean | undefined;
1784
+ minHeight?: number | null | undefined;
1785
+ };
1786
+ } | undefined;
1787
+ }, {
1788
+ title?: string | undefined;
1789
+ configuration?: {
1790
+ showSidebar: boolean;
1791
+ isPrivate: boolean;
1792
+ isHidden: boolean;
1793
+ header: {
1794
+ description?: string | undefined;
1795
+ alignment?: "Left" | "Center" | undefined;
1796
+ foregroundColor?: {
1797
+ value: string;
1798
+ referencedTokenId?: string | undefined;
1799
+ } | null | undefined;
1800
+ backgroundColor?: {
1801
+ value: string;
1802
+ referencedTokenId?: string | undefined;
1803
+ } | null | undefined;
1804
+ backgroundImageAsset?: {
1805
+ type: "FigmaNode" | "Resource";
1806
+ resource?: {
1807
+ url: string;
1808
+ resourceId: string;
1809
+ } | undefined;
1810
+ figmaNode?: {
1811
+ sourceId: string;
1812
+ frameReferenceId: string;
1813
+ } | undefined;
1814
+ } | null | undefined;
1815
+ backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
1816
+ showBackgroundOverlay?: boolean | undefined;
1817
+ showCoverText?: boolean | undefined;
1818
+ minHeight?: number | null | undefined;
1819
+ };
1820
+ } | undefined;
1821
+ }>;
1822
+ type DTODocumentationPageRoomHeaderDataUpdate = z.infer<typeof DTODocumentationPageRoomHeaderDataUpdate>;
1823
+ declare function itemConfigurationToYjs(yDoc: Y.Doc, item: DTODocumentationPageRoomHeaderDataUpdate): void;
1824
+ declare function yjsToItemConfiguration(yDoc: Y.Doc): DTODocumentationPageRoomHeaderData;
1825
+
1826
+ type VersionRoomDocsPage = DocumentationPageV2;
1827
+ type VersionRoomDocsPageGroup = ElementGroup;
1828
+ type VersionRoomBaseYDocState = {
1829
+ isLoaded: boolean;
1830
+ pages: VersionRoomDocsPage[];
1831
+ pageSnapshots: DocumentationPageSnapshot[];
1832
+ pageContentHashes: Record<string, string>;
1833
+ pageLiveblockRoomIds: Record<string, string>;
1834
+ groups: VersionRoomDocsPageGroup[];
1835
+ groupSnapshots: ElementGroupSnapshot[];
1836
+ approvals: DocumentationPageApproval[];
1837
+ settings: DocumentationHierarchySettings;
1838
+ };
1839
+
1840
+ declare const DTOColorTokenInlineData: z.ZodObject<{
1841
+ value: z.ZodString;
1842
+ }, "strip", z.ZodTypeAny, {
1843
+ value: string;
1844
+ }, {
1845
+ value: string;
1846
+ }>;
1847
+ type DTOColorTokenInlineData = z.infer<typeof DTOColorTokenInlineData>;
1848
+
1849
+ declare const DTOObjectMeta: z.ZodObject<{
1850
+ name: z.ZodString;
1851
+ description: z.ZodOptional<z.ZodString>;
1852
+ }, "strip", z.ZodTypeAny, {
1853
+ name: string;
1854
+ description?: string | undefined;
1855
+ }, {
1856
+ name: string;
1857
+ description?: string | undefined;
1858
+ }>;
1859
+ type DTOObjectMeta = z.infer<typeof DTOObjectMeta>;
1860
+
1861
+ declare const DTOPagination: z.ZodObject<{
1862
+ limit: z.ZodOptional<z.ZodString>;
1863
+ offset: z.ZodOptional<z.ZodString>;
1864
+ }, "strip", z.ZodTypeAny, {
1865
+ limit?: string | undefined;
1866
+ offset?: string | undefined;
1867
+ }, {
1868
+ limit?: string | undefined;
1869
+ offset?: string | undefined;
1870
+ }>;
1871
+ type DTOPagination = z.infer<typeof DTOPagination>;
1872
+
1873
+ declare const DTOAppBootstrapDataQuery: z.ZodObject<{
1874
+ preferredWorkspaceId: z.ZodOptional<z.ZodString>;
1875
+ preferredDesignSystemId: z.ZodOptional<z.ZodString>;
1876
+ preferredVersionId: z.ZodOptional<z.ZodString>;
1877
+ preferredBrandId: z.ZodOptional<z.ZodString>;
1878
+ }, "strip", z.ZodTypeAny, {
1879
+ preferredWorkspaceId?: string | undefined;
1880
+ preferredDesignSystemId?: string | undefined;
1881
+ preferredVersionId?: string | undefined;
1882
+ preferredBrandId?: string | undefined;
1883
+ }, {
1884
+ preferredWorkspaceId?: string | undefined;
1885
+ preferredDesignSystemId?: string | undefined;
1886
+ preferredVersionId?: string | undefined;
1887
+ preferredBrandId?: string | undefined;
1888
+ }>;
1889
+ type DTOAppBootstrapDataQuery = z.infer<typeof DTOAppBootstrapDataQuery>;
1890
+ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
1891
+ workspaceMembership: z.ZodOptional<z.ZodObject<{
1892
+ workspace: z.ZodObject<{
1893
+ id: z.ZodString;
1894
+ profile: z.ZodObject<{
1895
+ name: z.ZodString;
1896
+ handle: z.ZodString;
1897
+ color: z.ZodString;
1898
+ avatar: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1899
+ billingDetails: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
1900
+ address?: {
1901
+ state?: string | undefined;
1902
+ street1?: string | undefined;
1903
+ street2?: string | undefined;
1904
+ city?: string | undefined;
1905
+ postal?: string | undefined;
1906
+ country?: string | undefined;
1907
+ } | undefined;
1908
+ email?: string | undefined;
1909
+ notes?: string | undefined;
1910
+ companyName?: string | undefined;
1911
+ companyId?: string | undefined;
1912
+ vat?: string | undefined;
1913
+ poNumber?: string | undefined;
1914
+ }, z.ZodTypeDef, {
1915
+ address?: {
1916
+ state?: string | null | undefined;
1917
+ street1?: string | null | undefined;
1918
+ street2?: string | null | undefined;
1919
+ city?: string | null | undefined;
1920
+ postal?: string | null | undefined;
1921
+ country?: string | null | undefined;
1922
+ } | null | undefined;
1923
+ email?: string | null | undefined;
1924
+ notes?: string | null | undefined;
1925
+ companyName?: string | null | undefined;
1926
+ companyId?: string | null | undefined;
1927
+ vat?: string | null | undefined;
1928
+ poNumber?: string | null | undefined;
1929
+ }>>>, {
1930
+ address?: {
1931
+ state?: string | undefined;
1932
+ street1?: string | undefined;
1933
+ street2?: string | undefined;
1934
+ city?: string | undefined;
1935
+ postal?: string | undefined;
1936
+ country?: string | undefined;
1937
+ } | undefined;
1938
+ email?: string | undefined;
1939
+ notes?: string | undefined;
1940
+ companyName?: string | undefined;
1941
+ companyId?: string | undefined;
1942
+ vat?: string | undefined;
1943
+ poNumber?: string | undefined;
1944
+ } | undefined, {
1945
+ address?: {
1946
+ state?: string | null | undefined;
1947
+ street1?: string | null | undefined;
1948
+ street2?: string | null | undefined;
1949
+ city?: string | null | undefined;
1950
+ postal?: string | null | undefined;
1951
+ country?: string | null | undefined;
1952
+ } | null | undefined;
1953
+ email?: string | null | undefined;
1954
+ notes?: string | null | undefined;
1955
+ companyName?: string | null | undefined;
1956
+ companyId?: string | null | undefined;
1957
+ vat?: string | null | undefined;
1958
+ poNumber?: string | null | undefined;
1959
+ } | null | undefined>;
1960
+ }, "strip", z.ZodTypeAny, {
1961
+ name: string;
1962
+ color: string;
1963
+ handle: string;
1964
+ avatar?: string | undefined;
1965
+ billingDetails?: {
1966
+ address?: {
1967
+ state?: string | undefined;
1968
+ street1?: string | undefined;
1969
+ street2?: string | undefined;
1970
+ city?: string | undefined;
1971
+ postal?: string | undefined;
1972
+ country?: string | undefined;
1973
+ } | undefined;
1974
+ email?: string | undefined;
1975
+ notes?: string | undefined;
1976
+ companyName?: string | undefined;
1977
+ companyId?: string | undefined;
1978
+ vat?: string | undefined;
1979
+ poNumber?: string | undefined;
1980
+ } | undefined;
1981
+ }, {
1982
+ name: string;
1983
+ color: string;
1984
+ handle: string;
1985
+ avatar?: string | null | undefined;
1986
+ billingDetails?: {
1987
+ address?: {
1988
+ state?: string | null | undefined;
1989
+ street1?: string | null | undefined;
1990
+ street2?: string | null | undefined;
1991
+ city?: string | null | undefined;
1992
+ postal?: string | null | undefined;
1993
+ country?: string | null | undefined;
1994
+ } | null | undefined;
1995
+ email?: string | null | undefined;
1996
+ notes?: string | null | undefined;
1997
+ companyName?: string | null | undefined;
1998
+ companyId?: string | null | undefined;
1999
+ vat?: string | null | undefined;
2000
+ poNumber?: string | null | undefined;
2001
+ } | null | undefined;
2002
+ }>;
2003
+ subscription: z.ZodObject<{
2004
+ stripeSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2005
+ stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2006
+ status: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
2007
+ subscriptionStatus: z.ZodOptional<z.ZodEnum<["trialing", "active", "past_due", "canceled", "unpaid", "incomplete_expired", "incomplete", "unknown"]>>;
2008
+ internalStatus: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
2009
+ product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
2010
+ featuresSummary: z.ZodOptional<z.ZodObject<{
2011
+ designSystems: z.ZodObject<{
2012
+ max: z.ZodNumber;
2013
+ errorMessage: z.ZodString;
2014
+ errorReason: z.ZodString;
2015
+ }, "strip", z.ZodTypeAny, {
2016
+ max: number;
2017
+ errorMessage: string;
2018
+ errorReason: string;
2019
+ }, {
2020
+ max: number;
2021
+ errorMessage: string;
1312
2022
  errorReason: string;
1313
2023
  }>;
1314
2024
  designSystemSources: z.ZodObject<z.objectUtil.extendShape<{
@@ -9892,107 +10602,6 @@ declare const DTODesignSystemMembersUpdatePayload: z.ZodObject<{
9892
10602
  }>;
9893
10603
  type DTODesignSystemMembersUpdatePayload = z.infer<typeof DTODesignSystemMembersUpdatePayload>;
9894
10604
 
9895
- declare const DTOPageRedirectCreateBody: z.ZodObject<{
9896
- pagePersistentId: z.ZodString;
9897
- path: z.ZodString;
9898
- }, "strip", z.ZodTypeAny, {
9899
- path: string;
9900
- pagePersistentId: string;
9901
- }, {
9902
- path: string;
9903
- pagePersistentId: string;
9904
- }>;
9905
- type DTOPageRedirectCreateBody = z.infer<typeof DTOPageRedirectCreateBody>;
9906
- declare const DTOPageRedirectUpdateBody: z.ZodObject<{
9907
- pagePersistentId: z.ZodOptional<z.ZodString>;
9908
- path: z.ZodOptional<z.ZodString>;
9909
- }, "strip", z.ZodTypeAny, {
9910
- path?: string | undefined;
9911
- pagePersistentId?: string | undefined;
9912
- }, {
9913
- path?: string | undefined;
9914
- pagePersistentId?: string | undefined;
9915
- }>;
9916
- type DTOPageRedirectUpdateBody = z.infer<typeof DTOPageRedirectUpdateBody>;
9917
- declare const DTOPageRedirect: z.ZodObject<{
9918
- id: z.ZodString;
9919
- pagePersistentId: z.ZodString;
9920
- path: z.ZodString;
9921
- }, "strip", z.ZodTypeAny, {
9922
- path: string;
9923
- id: string;
9924
- pagePersistentId: string;
9925
- }, {
9926
- path: string;
9927
- id: string;
9928
- pagePersistentId: string;
9929
- }>;
9930
- type DTOPageRedirect = z.infer<typeof DTOPageRedirect>;
9931
- declare const DTOPageRedirectListResponse: z.ZodObject<{
9932
- redirects: z.ZodArray<z.ZodObject<{
9933
- id: z.ZodString;
9934
- pagePersistentId: z.ZodString;
9935
- path: z.ZodString;
9936
- }, "strip", z.ZodTypeAny, {
9937
- path: string;
9938
- id: string;
9939
- pagePersistentId: string;
9940
- }, {
9941
- path: string;
9942
- id: string;
9943
- pagePersistentId: string;
9944
- }>, "many">;
9945
- }, "strip", z.ZodTypeAny, {
9946
- redirects: {
9947
- path: string;
9948
- id: string;
9949
- pagePersistentId: string;
9950
- }[];
9951
- }, {
9952
- redirects: {
9953
- path: string;
9954
- id: string;
9955
- pagePersistentId: string;
9956
- }[];
9957
- }>;
9958
- type DTOPageRedirectListResponse = z.infer<typeof DTOPageRedirectListResponse>;
9959
- declare const DTOPageRedirectResponse: z.ZodObject<{
9960
- redirect: z.ZodObject<{
9961
- id: z.ZodString;
9962
- pagePersistentId: z.ZodString;
9963
- path: z.ZodString;
9964
- }, "strip", z.ZodTypeAny, {
9965
- path: string;
9966
- id: string;
9967
- pagePersistentId: string;
9968
- }, {
9969
- path: string;
9970
- id: string;
9971
- pagePersistentId: string;
9972
- }>;
9973
- }, "strip", z.ZodTypeAny, {
9974
- redirect: {
9975
- path: string;
9976
- id: string;
9977
- pagePersistentId: string;
9978
- };
9979
- }, {
9980
- redirect: {
9981
- path: string;
9982
- id: string;
9983
- pagePersistentId: string;
9984
- };
9985
- }>;
9986
- type DTOPageRedirectResponse = z.infer<typeof DTOPageRedirectResponse>;
9987
- declare const DTOPageRedirectDeleteResponse: z.ZodObject<{
9988
- success: z.ZodBoolean;
9989
- }, "strip", z.ZodTypeAny, {
9990
- success: boolean;
9991
- }, {
9992
- success: boolean;
9993
- }>;
9994
- type DTOPageRedirectDeleteResponse = z.infer<typeof DTOPageRedirectDeleteResponse>;
9995
-
9996
10605
  declare const DTODesignSystemRole: z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>;
9997
10606
  type DTODesignSystemRole = z.infer<typeof DTODesignSystemRole>;
9998
10607
 
@@ -10028,33 +10637,6 @@ declare const DTODesignSystemVersionStatsQuery: z.ZodObject<{
10028
10637
  }>;
10029
10638
  type DTODesignSystemVersionStatsQuery = z.infer<typeof DTODesignSystemVersionStatsQuery>;
10030
10639
 
10031
- declare const DTODesignSystemVersionRoom: z.ZodObject<{
10032
- id: z.ZodString;
10033
- }, "strip", z.ZodTypeAny, {
10034
- id: string;
10035
- }, {
10036
- id: string;
10037
- }>;
10038
- type DTODesignSystemVersionRoom = z.infer<typeof DTODesignSystemVersionRoom>;
10039
- declare const DTODesignSystemVersionRoomResponse: z.ZodObject<{
10040
- room: z.ZodObject<{
10041
- id: z.ZodString;
10042
- }, "strip", z.ZodTypeAny, {
10043
- id: string;
10044
- }, {
10045
- id: string;
10046
- }>;
10047
- }, "strip", z.ZodTypeAny, {
10048
- room: {
10049
- id: string;
10050
- };
10051
- }, {
10052
- room: {
10053
- id: string;
10054
- };
10055
- }>;
10056
- type DTODesignSystemVersionRoomResponse = z.infer<typeof DTODesignSystemVersionRoomResponse>;
10057
-
10058
10640
  declare const VersionSQSPayload: z.ZodObject<{
10059
10641
  jobId: z.ZodString;
10060
10642
  designSystemId: z.ZodString;
@@ -21900,18 +22482,18 @@ declare const DTODocumentationPageApprovalState: z.ZodObject<{
21900
22482
  type DTODocumentationPageApprovalState = DocumentationPageApproval;
21901
22483
  declare const DTODocumentationGroupApprovalState: z.ZodObject<{
21902
22484
  persistentId: z.ZodString;
21903
- groupId: z.ZodString;
22485
+ groupPersistentId: z.ZodString;
21904
22486
  designSystemVersionId: z.ZodString;
21905
22487
  approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>;
21906
22488
  }, "strip", z.ZodTypeAny, {
21907
22489
  persistentId: string;
21908
22490
  designSystemVersionId: string;
21909
- groupId: string;
22491
+ groupPersistentId: string;
21910
22492
  approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
21911
22493
  }, {
21912
22494
  persistentId: string;
21913
22495
  designSystemVersionId: string;
21914
- groupId: string;
22496
+ groupPersistentId: string;
21915
22497
  approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
21916
22498
  }>;
21917
22499
  type DTODocumentationGroupApprovalState = z.infer<typeof DTODocumentationGroupApprovalState>;
@@ -28584,18 +29166,18 @@ declare const DTODocumentationGroupV2: z.ZodObject<z.objectUtil.extendShape<Omit
28584
29166
  }>>;
28585
29167
  approvalState: z.ZodOptional<z.ZodObject<{
28586
29168
  persistentId: z.ZodString;
28587
- groupId: z.ZodString;
29169
+ groupPersistentId: z.ZodString;
28588
29170
  designSystemVersionId: z.ZodString;
28589
29171
  approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>;
28590
29172
  }, "strip", z.ZodTypeAny, {
28591
29173
  persistentId: string;
28592
29174
  designSystemVersionId: string;
28593
- groupId: string;
29175
+ groupPersistentId: string;
28594
29176
  approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
28595
29177
  }, {
28596
29178
  persistentId: string;
28597
29179
  designSystemVersionId: string;
28598
- groupId: string;
29180
+ groupPersistentId: string;
28599
29181
  approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
28600
29182
  }>>;
28601
29183
  }>, "strip", z.ZodTypeAny, {
@@ -28647,7 +29229,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<z.objectUtil.extendShape<Omit
28647
29229
  approvalState?: {
28648
29230
  persistentId: string;
28649
29231
  designSystemVersionId: string;
28650
- groupId: string;
29232
+ groupPersistentId: string;
28651
29233
  approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
28652
29234
  } | undefined;
28653
29235
  draftState?: {
@@ -28748,7 +29330,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<z.objectUtil.extendShape<Omit
28748
29330
  approvalState?: {
28749
29331
  persistentId: string;
28750
29332
  designSystemVersionId: string;
28751
- groupId: string;
29333
+ groupPersistentId: string;
28752
29334
  approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
28753
29335
  } | undefined;
28754
29336
  draftState?: {
@@ -31376,18 +31958,18 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
31376
31958
  }>>;
31377
31959
  approvalState: z.ZodOptional<z.ZodObject<{
31378
31960
  persistentId: z.ZodString;
31379
- groupId: z.ZodString;
31961
+ groupPersistentId: z.ZodString;
31380
31962
  designSystemVersionId: z.ZodString;
31381
31963
  approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>;
31382
31964
  }, "strip", z.ZodTypeAny, {
31383
31965
  persistentId: string;
31384
31966
  designSystemVersionId: string;
31385
- groupId: string;
31967
+ groupPersistentId: string;
31386
31968
  approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
31387
31969
  }, {
31388
31970
  persistentId: string;
31389
31971
  designSystemVersionId: string;
31390
- groupId: string;
31972
+ groupPersistentId: string;
31391
31973
  approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
31392
31974
  }>>;
31393
31975
  }>, {
@@ -31802,7 +32384,7 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
31802
32384
  approvalState?: {
31803
32385
  persistentId: string;
31804
32386
  designSystemVersionId: string;
31805
- groupId: string;
32387
+ groupPersistentId: string;
31806
32388
  approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
31807
32389
  } | undefined;
31808
32390
  draftState?: {
@@ -31903,7 +32485,7 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
31903
32485
  approvalState?: {
31904
32486
  persistentId: string;
31905
32487
  designSystemVersionId: string;
31906
- groupId: string;
32488
+ groupPersistentId: string;
31907
32489
  approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
31908
32490
  } | undefined;
31909
32491
  draftState?: {
@@ -32006,7 +32588,7 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
32006
32588
  approvalState?: {
32007
32589
  persistentId: string;
32008
32590
  designSystemVersionId: string;
32009
- groupId: string;
32591
+ groupPersistentId: string;
32010
32592
  approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
32011
32593
  } | undefined;
32012
32594
  draftState?: {
@@ -32215,7 +32797,7 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
32215
32797
  approvalState?: {
32216
32798
  persistentId: string;
32217
32799
  designSystemVersionId: string;
32218
- groupId: string;
32800
+ groupPersistentId: string;
32219
32801
  approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
32220
32802
  } | undefined;
32221
32803
  draftState?: {
@@ -44699,7 +45281,7 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
44699
45281
  };
44700
45282
  }>]>;
44701
45283
  type DTOElementActionOutput = z.infer<typeof DTOElementActionOutput>;
44702
- declare const DTOElementActionInput: z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
45284
+ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
44703
45285
  type: z.ZodLiteral<"DocumentationPageCreate">;
44704
45286
  input: z.ZodObject<{
44705
45287
  persistentId: z.ZodString;
@@ -46502,14 +47084,11 @@ declare const DTOElementActionInput: z.ZodIntersection<z.ZodDiscriminatedUnion<"
46502
47084
  persistentId: string;
46503
47085
  approvalState?: "ReadyForReview" | "ChangesRequested" | "Approved" | undefined;
46504
47086
  };
46505
- }>]>, z.ZodObject<{
46506
- tId: z.ZodOptional<z.ZodString>;
46507
- }, "strip", z.ZodTypeAny, {
46508
- tId?: string | undefined;
46509
- }, {
46510
- tId?: string | undefined;
46511
- }>>;
47087
+ }>]>;
46512
47088
  type DTOElementActionInput = z.infer<typeof DTOElementActionInput>;
47089
+ type DTOElementActionInputOfType<T extends DTOElementActionInput["type"]> = Extract<DTOElementActionInput, {
47090
+ type: T;
47091
+ }>;
46513
47092
 
46514
47093
  declare const DTOElementsGetQuerySchema: z.ZodObject<{
46515
47094
  types: z.ZodEffects<z.ZodString, "FigmaNode"[], string>;
@@ -76064,35 +76643,6 @@ declare const DTOUserOnboardingJobLevel: z.ZodEnum<["Executive", "Manager", "Ind
76064
76643
  type DTOUserOnboardingJobLevel = z.infer<typeof DTOUserOnboardingJobLevel>;
76065
76644
  declare const DTOUserSource: z.ZodEnum<["SignUp", "Invite", "SSO"]>;
76066
76645
  type DTOUserSource = z.infer<typeof DTOUserSource>;
76067
- declare const DTOUserTheme: z.ZodObject<{
76068
- preset: z.ZodOptional<z.ZodEnum<["Custom", "Default", "HighContrast", "DefaultDark", "HighContrastDark", "SpaceBlue", "DarkGrey"]>>;
76069
- backgroundColor: z.ZodOptional<z.ZodString>;
76070
- accentColor: z.ZodOptional<z.ZodString>;
76071
- contrast: z.ZodOptional<z.ZodNumber>;
76072
- isSecondaryEnabled: z.ZodOptional<z.ZodBoolean>;
76073
- secondaryBackgroundColor: z.ZodOptional<z.ZodString>;
76074
- secondaryContrast: z.ZodOptional<z.ZodNumber>;
76075
- isEditorWhite: z.ZodOptional<z.ZodBoolean>;
76076
- }, "strip", z.ZodTypeAny, {
76077
- backgroundColor?: string | undefined;
76078
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76079
- accentColor?: string | undefined;
76080
- contrast?: number | undefined;
76081
- isSecondaryEnabled?: boolean | undefined;
76082
- secondaryBackgroundColor?: string | undefined;
76083
- secondaryContrast?: number | undefined;
76084
- isEditorWhite?: boolean | undefined;
76085
- }, {
76086
- backgroundColor?: string | undefined;
76087
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76088
- accentColor?: string | undefined;
76089
- contrast?: number | undefined;
76090
- isSecondaryEnabled?: boolean | undefined;
76091
- secondaryBackgroundColor?: string | undefined;
76092
- secondaryContrast?: number | undefined;
76093
- isEditorWhite?: boolean | undefined;
76094
- }>;
76095
- type DTOUserTheme = z.infer<typeof DTOUserTheme>;
76096
76646
  declare const DTOUserOnboarding: z.ZodObject<{
76097
76647
  companyName: z.ZodOptional<z.ZodString>;
76098
76648
  numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
@@ -76167,34 +76717,6 @@ declare const DTOAuthenticatedUserProfile: z.ZodObject<z.objectUtil.extendShape<
76167
76717
  defaultDestination?: string | undefined;
76168
76718
  isPageDraftOnboardingFinished?: boolean | undefined;
76169
76719
  }>>;
76170
- theme: z.ZodOptional<z.ZodObject<{
76171
- preset: z.ZodOptional<z.ZodEnum<["Custom", "Default", "HighContrast", "DefaultDark", "HighContrastDark", "SpaceBlue", "DarkGrey"]>>;
76172
- backgroundColor: z.ZodOptional<z.ZodString>;
76173
- accentColor: z.ZodOptional<z.ZodString>;
76174
- contrast: z.ZodOptional<z.ZodNumber>;
76175
- isSecondaryEnabled: z.ZodOptional<z.ZodBoolean>;
76176
- secondaryBackgroundColor: z.ZodOptional<z.ZodString>;
76177
- secondaryContrast: z.ZodOptional<z.ZodNumber>;
76178
- isEditorWhite: z.ZodOptional<z.ZodBoolean>;
76179
- }, "strip", z.ZodTypeAny, {
76180
- backgroundColor?: string | undefined;
76181
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76182
- accentColor?: string | undefined;
76183
- contrast?: number | undefined;
76184
- isSecondaryEnabled?: boolean | undefined;
76185
- secondaryBackgroundColor?: string | undefined;
76186
- secondaryContrast?: number | undefined;
76187
- isEditorWhite?: boolean | undefined;
76188
- }, {
76189
- backgroundColor?: string | undefined;
76190
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76191
- accentColor?: string | undefined;
76192
- contrast?: number | undefined;
76193
- isSecondaryEnabled?: boolean | undefined;
76194
- secondaryBackgroundColor?: string | undefined;
76195
- secondaryContrast?: number | undefined;
76196
- isEditorWhite?: boolean | undefined;
76197
- }>>;
76198
76720
  }>, "strip", z.ZodTypeAny, {
76199
76721
  name: string;
76200
76722
  nickname?: string | undefined;
@@ -76211,16 +76733,6 @@ declare const DTOAuthenticatedUserProfile: z.ZodObject<z.objectUtil.extendShape<
76211
76733
  defaultDestination?: string | undefined;
76212
76734
  isPageDraftOnboardingFinished?: boolean | undefined;
76213
76735
  } | undefined;
76214
- theme?: {
76215
- backgroundColor?: string | undefined;
76216
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76217
- accentColor?: string | undefined;
76218
- contrast?: number | undefined;
76219
- isSecondaryEnabled?: boolean | undefined;
76220
- secondaryBackgroundColor?: string | undefined;
76221
- secondaryContrast?: number | undefined;
76222
- isEditorWhite?: boolean | undefined;
76223
- } | undefined;
76224
76736
  }, {
76225
76737
  name: string;
76226
76738
  nickname?: string | undefined;
@@ -76237,16 +76749,6 @@ declare const DTOAuthenticatedUserProfile: z.ZodObject<z.objectUtil.extendShape<
76237
76749
  defaultDestination?: string | undefined;
76238
76750
  isPageDraftOnboardingFinished?: boolean | undefined;
76239
76751
  } | undefined;
76240
- theme?: {
76241
- backgroundColor?: string | undefined;
76242
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76243
- accentColor?: string | undefined;
76244
- contrast?: number | undefined;
76245
- isSecondaryEnabled?: boolean | undefined;
76246
- secondaryBackgroundColor?: string | undefined;
76247
- secondaryContrast?: number | undefined;
76248
- isEditorWhite?: boolean | undefined;
76249
- } | undefined;
76250
76752
  }>;
76251
76753
  type DTOAuthenticatedUserProfile = z.infer<typeof DTOAuthenticatedUserProfile>;
76252
76754
  declare const DTOAuthenticatedUser: z.ZodObject<z.objectUtil.extendShape<{
@@ -76305,34 +76807,6 @@ declare const DTOAuthenticatedUser: z.ZodObject<z.objectUtil.extendShape<{
76305
76807
  defaultDestination?: string | undefined;
76306
76808
  isPageDraftOnboardingFinished?: boolean | undefined;
76307
76809
  }>>;
76308
- theme: z.ZodOptional<z.ZodObject<{
76309
- preset: z.ZodOptional<z.ZodEnum<["Custom", "Default", "HighContrast", "DefaultDark", "HighContrastDark", "SpaceBlue", "DarkGrey"]>>;
76310
- backgroundColor: z.ZodOptional<z.ZodString>;
76311
- accentColor: z.ZodOptional<z.ZodString>;
76312
- contrast: z.ZodOptional<z.ZodNumber>;
76313
- isSecondaryEnabled: z.ZodOptional<z.ZodBoolean>;
76314
- secondaryBackgroundColor: z.ZodOptional<z.ZodString>;
76315
- secondaryContrast: z.ZodOptional<z.ZodNumber>;
76316
- isEditorWhite: z.ZodOptional<z.ZodBoolean>;
76317
- }, "strip", z.ZodTypeAny, {
76318
- backgroundColor?: string | undefined;
76319
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76320
- accentColor?: string | undefined;
76321
- contrast?: number | undefined;
76322
- isSecondaryEnabled?: boolean | undefined;
76323
- secondaryBackgroundColor?: string | undefined;
76324
- secondaryContrast?: number | undefined;
76325
- isEditorWhite?: boolean | undefined;
76326
- }, {
76327
- backgroundColor?: string | undefined;
76328
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76329
- accentColor?: string | undefined;
76330
- contrast?: number | undefined;
76331
- isSecondaryEnabled?: boolean | undefined;
76332
- secondaryBackgroundColor?: string | undefined;
76333
- secondaryContrast?: number | undefined;
76334
- isEditorWhite?: boolean | undefined;
76335
- }>>;
76336
76810
  }>, "strip", z.ZodTypeAny, {
76337
76811
  name: string;
76338
76812
  nickname?: string | undefined;
@@ -76349,16 +76823,6 @@ declare const DTOAuthenticatedUser: z.ZodObject<z.objectUtil.extendShape<{
76349
76823
  defaultDestination?: string | undefined;
76350
76824
  isPageDraftOnboardingFinished?: boolean | undefined;
76351
76825
  } | undefined;
76352
- theme?: {
76353
- backgroundColor?: string | undefined;
76354
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76355
- accentColor?: string | undefined;
76356
- contrast?: number | undefined;
76357
- isSecondaryEnabled?: boolean | undefined;
76358
- secondaryBackgroundColor?: string | undefined;
76359
- secondaryContrast?: number | undefined;
76360
- isEditorWhite?: boolean | undefined;
76361
- } | undefined;
76362
76826
  }, {
76363
76827
  name: string;
76364
76828
  nickname?: string | undefined;
@@ -76375,16 +76839,6 @@ declare const DTOAuthenticatedUser: z.ZodObject<z.objectUtil.extendShape<{
76375
76839
  defaultDestination?: string | undefined;
76376
76840
  isPageDraftOnboardingFinished?: boolean | undefined;
76377
76841
  } | undefined;
76378
- theme?: {
76379
- backgroundColor?: string | undefined;
76380
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76381
- accentColor?: string | undefined;
76382
- contrast?: number | undefined;
76383
- isSecondaryEnabled?: boolean | undefined;
76384
- secondaryBackgroundColor?: string | undefined;
76385
- secondaryContrast?: number | undefined;
76386
- isEditorWhite?: boolean | undefined;
76387
- } | undefined;
76388
76842
  }>;
76389
76843
  createdAt: z.ZodDate;
76390
76844
  loggedOutAt: z.ZodOptional<z.ZodDate>;
@@ -76409,16 +76863,6 @@ declare const DTOAuthenticatedUser: z.ZodObject<z.objectUtil.extendShape<{
76409
76863
  defaultDestination?: string | undefined;
76410
76864
  isPageDraftOnboardingFinished?: boolean | undefined;
76411
76865
  } | undefined;
76412
- theme?: {
76413
- backgroundColor?: string | undefined;
76414
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76415
- accentColor?: string | undefined;
76416
- contrast?: number | undefined;
76417
- isSecondaryEnabled?: boolean | undefined;
76418
- secondaryBackgroundColor?: string | undefined;
76419
- secondaryContrast?: number | undefined;
76420
- isEditorWhite?: boolean | undefined;
76421
- } | undefined;
76422
76866
  };
76423
76867
  loggedOutAt?: Date | undefined;
76424
76868
  source?: "SignUp" | "Invite" | "SSO" | undefined;
@@ -76442,16 +76886,6 @@ declare const DTOAuthenticatedUser: z.ZodObject<z.objectUtil.extendShape<{
76442
76886
  defaultDestination?: string | undefined;
76443
76887
  isPageDraftOnboardingFinished?: boolean | undefined;
76444
76888
  } | undefined;
76445
- theme?: {
76446
- backgroundColor?: string | undefined;
76447
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76448
- accentColor?: string | undefined;
76449
- contrast?: number | undefined;
76450
- isSecondaryEnabled?: boolean | undefined;
76451
- secondaryBackgroundColor?: string | undefined;
76452
- secondaryContrast?: number | undefined;
76453
- isEditorWhite?: boolean | undefined;
76454
- } | undefined;
76455
76889
  };
76456
76890
  loggedOutAt?: Date | undefined;
76457
76891
  source?: "SignUp" | "Invite" | "SSO" | undefined;
@@ -76513,281 +76947,193 @@ declare const DTOAuthenticatedUserResponse: z.ZodObject<{
76513
76947
  designSystemName?: string | undefined;
76514
76948
  defaultDestination?: string | undefined;
76515
76949
  isPageDraftOnboardingFinished?: boolean | undefined;
76516
- }>>;
76517
- theme: z.ZodOptional<z.ZodObject<{
76518
- preset: z.ZodOptional<z.ZodEnum<["Custom", "Default", "HighContrast", "DefaultDark", "HighContrastDark", "SpaceBlue", "DarkGrey"]>>;
76519
- backgroundColor: z.ZodOptional<z.ZodString>;
76520
- accentColor: z.ZodOptional<z.ZodString>;
76521
- contrast: z.ZodOptional<z.ZodNumber>;
76522
- isSecondaryEnabled: z.ZodOptional<z.ZodBoolean>;
76523
- secondaryBackgroundColor: z.ZodOptional<z.ZodString>;
76524
- secondaryContrast: z.ZodOptional<z.ZodNumber>;
76525
- isEditorWhite: z.ZodOptional<z.ZodBoolean>;
76526
- }, "strip", z.ZodTypeAny, {
76527
- backgroundColor?: string | undefined;
76528
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76529
- accentColor?: string | undefined;
76530
- contrast?: number | undefined;
76531
- isSecondaryEnabled?: boolean | undefined;
76532
- secondaryBackgroundColor?: string | undefined;
76533
- secondaryContrast?: number | undefined;
76534
- isEditorWhite?: boolean | undefined;
76535
- }, {
76536
- backgroundColor?: string | undefined;
76537
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76538
- accentColor?: string | undefined;
76539
- contrast?: number | undefined;
76540
- isSecondaryEnabled?: boolean | undefined;
76541
- secondaryBackgroundColor?: string | undefined;
76542
- secondaryContrast?: number | undefined;
76543
- isEditorWhite?: boolean | undefined;
76544
- }>>;
76545
- }>, "strip", z.ZodTypeAny, {
76546
- name: string;
76547
- nickname?: string | undefined;
76548
- avatar?: string | undefined;
76549
- onboarding?: {
76550
- companyName?: string | undefined;
76551
- numberOfPeopleInOrg?: string | undefined;
76552
- numberOfPeopleInDesignTeam?: string | undefined;
76553
- department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
76554
- jobTitle?: string | undefined;
76555
- phase?: string | undefined;
76556
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
76557
- designSystemName?: string | undefined;
76558
- defaultDestination?: string | undefined;
76559
- isPageDraftOnboardingFinished?: boolean | undefined;
76560
- } | undefined;
76561
- theme?: {
76562
- backgroundColor?: string | undefined;
76563
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76564
- accentColor?: string | undefined;
76565
- contrast?: number | undefined;
76566
- isSecondaryEnabled?: boolean | undefined;
76567
- secondaryBackgroundColor?: string | undefined;
76568
- secondaryContrast?: number | undefined;
76569
- isEditorWhite?: boolean | undefined;
76570
- } | undefined;
76571
- }, {
76572
- name: string;
76573
- nickname?: string | undefined;
76574
- avatar?: string | undefined;
76575
- onboarding?: {
76576
- companyName?: string | undefined;
76577
- numberOfPeopleInOrg?: string | undefined;
76578
- numberOfPeopleInDesignTeam?: string | undefined;
76579
- department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
76580
- jobTitle?: string | undefined;
76581
- phase?: string | undefined;
76582
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
76583
- designSystemName?: string | undefined;
76584
- defaultDestination?: string | undefined;
76585
- isPageDraftOnboardingFinished?: boolean | undefined;
76586
- } | undefined;
76587
- theme?: {
76588
- backgroundColor?: string | undefined;
76589
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76590
- accentColor?: string | undefined;
76591
- contrast?: number | undefined;
76592
- isSecondaryEnabled?: boolean | undefined;
76593
- secondaryBackgroundColor?: string | undefined;
76594
- secondaryContrast?: number | undefined;
76595
- isEditorWhite?: boolean | undefined;
76596
- } | undefined;
76597
- }>;
76598
- createdAt: z.ZodDate;
76599
- loggedOutAt: z.ZodOptional<z.ZodDate>;
76600
- source: z.ZodOptional<z.ZodEnum<["SignUp", "Invite", "SSO"]>>;
76601
- }>, "strip", z.ZodTypeAny, {
76602
- id: string;
76603
- createdAt: Date;
76604
- email: string;
76605
- profile: {
76606
- name: string;
76607
- nickname?: string | undefined;
76608
- avatar?: string | undefined;
76609
- onboarding?: {
76610
- companyName?: string | undefined;
76611
- numberOfPeopleInOrg?: string | undefined;
76612
- numberOfPeopleInDesignTeam?: string | undefined;
76613
- department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
76614
- jobTitle?: string | undefined;
76615
- phase?: string | undefined;
76616
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
76617
- designSystemName?: string | undefined;
76618
- defaultDestination?: string | undefined;
76619
- isPageDraftOnboardingFinished?: boolean | undefined;
76620
- } | undefined;
76621
- theme?: {
76622
- backgroundColor?: string | undefined;
76623
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76624
- accentColor?: string | undefined;
76625
- contrast?: number | undefined;
76626
- isSecondaryEnabled?: boolean | undefined;
76627
- secondaryBackgroundColor?: string | undefined;
76628
- secondaryContrast?: number | undefined;
76629
- isEditorWhite?: boolean | undefined;
76630
- } | undefined;
76631
- };
76632
- loggedOutAt?: Date | undefined;
76633
- source?: "SignUp" | "Invite" | "SSO" | undefined;
76634
- }, {
76635
- id: string;
76636
- createdAt: Date;
76637
- email: string;
76638
- profile: {
76639
- name: string;
76640
- nickname?: string | undefined;
76641
- avatar?: string | undefined;
76642
- onboarding?: {
76643
- companyName?: string | undefined;
76644
- numberOfPeopleInOrg?: string | undefined;
76645
- numberOfPeopleInDesignTeam?: string | undefined;
76646
- department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
76647
- jobTitle?: string | undefined;
76648
- phase?: string | undefined;
76649
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
76650
- designSystemName?: string | undefined;
76651
- defaultDestination?: string | undefined;
76652
- isPageDraftOnboardingFinished?: boolean | undefined;
76653
- } | undefined;
76654
- theme?: {
76655
- backgroundColor?: string | undefined;
76656
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76657
- accentColor?: string | undefined;
76658
- contrast?: number | undefined;
76659
- isSecondaryEnabled?: boolean | undefined;
76660
- secondaryBackgroundColor?: string | undefined;
76661
- secondaryContrast?: number | undefined;
76662
- isEditorWhite?: boolean | undefined;
76663
- } | undefined;
76664
- };
76665
- loggedOutAt?: Date | undefined;
76666
- source?: "SignUp" | "Invite" | "SSO" | undefined;
76667
- }>;
76668
- }, "strip", z.ZodTypeAny, {
76669
- user: {
76670
- id: string;
76671
- createdAt: Date;
76672
- email: string;
76673
- profile: {
76674
- name: string;
76675
- nickname?: string | undefined;
76676
- avatar?: string | undefined;
76677
- onboarding?: {
76678
- companyName?: string | undefined;
76679
- numberOfPeopleInOrg?: string | undefined;
76680
- numberOfPeopleInDesignTeam?: string | undefined;
76681
- department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
76682
- jobTitle?: string | undefined;
76683
- phase?: string | undefined;
76684
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
76685
- designSystemName?: string | undefined;
76686
- defaultDestination?: string | undefined;
76687
- isPageDraftOnboardingFinished?: boolean | undefined;
76688
- } | undefined;
76689
- theme?: {
76690
- backgroundColor?: string | undefined;
76691
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76692
- accentColor?: string | undefined;
76693
- contrast?: number | undefined;
76694
- isSecondaryEnabled?: boolean | undefined;
76695
- secondaryBackgroundColor?: string | undefined;
76696
- secondaryContrast?: number | undefined;
76697
- isEditorWhite?: boolean | undefined;
76698
- } | undefined;
76699
- };
76700
- loggedOutAt?: Date | undefined;
76701
- source?: "SignUp" | "Invite" | "SSO" | undefined;
76702
- };
76703
- }, {
76704
- user: {
76705
- id: string;
76706
- createdAt: Date;
76707
- email: string;
76708
- profile: {
76709
- name: string;
76710
- nickname?: string | undefined;
76711
- avatar?: string | undefined;
76712
- onboarding?: {
76713
- companyName?: string | undefined;
76714
- numberOfPeopleInOrg?: string | undefined;
76715
- numberOfPeopleInDesignTeam?: string | undefined;
76716
- department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
76717
- jobTitle?: string | undefined;
76718
- phase?: string | undefined;
76719
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
76720
- designSystemName?: string | undefined;
76721
- defaultDestination?: string | undefined;
76722
- isPageDraftOnboardingFinished?: boolean | undefined;
76723
- } | undefined;
76724
- theme?: {
76725
- backgroundColor?: string | undefined;
76726
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
76727
- accentColor?: string | undefined;
76728
- contrast?: number | undefined;
76729
- isSecondaryEnabled?: boolean | undefined;
76730
- secondaryBackgroundColor?: string | undefined;
76731
- secondaryContrast?: number | undefined;
76732
- isEditorWhite?: boolean | undefined;
76733
- } | undefined;
76734
- };
76735
- loggedOutAt?: Date | undefined;
76736
- source?: "SignUp" | "Invite" | "SSO" | undefined;
76737
- };
76738
- }>;
76739
- type DTOAuthenticatedUserResponse = z.infer<typeof DTOAuthenticatedUserResponse>;
76740
-
76741
- declare const DTOUserProfileUpdateResponse: z.ZodObject<{
76742
- user: z.ZodObject<{
76743
- id: z.ZodString;
76744
- email: z.ZodString;
76745
- emailVerified: z.ZodBoolean;
76746
- createdAt: z.ZodDate;
76747
- trialExpiresAt: z.ZodOptional<z.ZodDate>;
76748
- profile: z.ZodObject<{
76749
- name: z.ZodString;
76750
- avatar: z.ZodOptional<z.ZodString>;
76751
- nickname: z.ZodOptional<z.ZodString>;
76752
- onboarding: z.ZodOptional<z.ZodObject<{
76753
- companyName: z.ZodOptional<z.ZodString>;
76754
- numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
76755
- numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
76756
- department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>>;
76757
- jobTitle: z.ZodOptional<z.ZodString>;
76758
- phase: z.ZodOptional<z.ZodString>;
76759
- jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
76760
- designSystemName: z.ZodOptional<z.ZodString>;
76761
- defaultDestination: z.ZodOptional<z.ZodString>;
76762
- figmaUrl: z.ZodOptional<z.ZodString>;
76763
- isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
76764
- isApprovalsOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
76765
- }, "strip", z.ZodTypeAny, {
76766
- companyName?: string | undefined;
76767
- numberOfPeopleInOrg?: string | undefined;
76768
- numberOfPeopleInDesignTeam?: string | undefined;
76769
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
76770
- jobTitle?: string | undefined;
76771
- phase?: string | undefined;
76772
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
76773
- designSystemName?: string | undefined;
76774
- defaultDestination?: string | undefined;
76775
- figmaUrl?: string | undefined;
76776
- isPageDraftOnboardingFinished?: boolean | undefined;
76777
- isApprovalsOnboardingFinished?: boolean | undefined;
76778
- }, {
76779
- companyName?: string | undefined;
76780
- numberOfPeopleInOrg?: string | undefined;
76781
- numberOfPeopleInDesignTeam?: string | undefined;
76782
- department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
76783
- jobTitle?: string | undefined;
76784
- phase?: string | undefined;
76785
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
76786
- designSystemName?: string | undefined;
76787
- defaultDestination?: string | undefined;
76788
- figmaUrl?: string | undefined;
76789
- isPageDraftOnboardingFinished?: boolean | undefined;
76790
- isApprovalsOnboardingFinished?: boolean | undefined;
76950
+ }>>;
76951
+ }>, "strip", z.ZodTypeAny, {
76952
+ name: string;
76953
+ nickname?: string | undefined;
76954
+ avatar?: string | undefined;
76955
+ onboarding?: {
76956
+ companyName?: string | undefined;
76957
+ numberOfPeopleInOrg?: string | undefined;
76958
+ numberOfPeopleInDesignTeam?: string | undefined;
76959
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
76960
+ jobTitle?: string | undefined;
76961
+ phase?: string | undefined;
76962
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
76963
+ designSystemName?: string | undefined;
76964
+ defaultDestination?: string | undefined;
76965
+ isPageDraftOnboardingFinished?: boolean | undefined;
76966
+ } | undefined;
76967
+ }, {
76968
+ name: string;
76969
+ nickname?: string | undefined;
76970
+ avatar?: string | undefined;
76971
+ onboarding?: {
76972
+ companyName?: string | undefined;
76973
+ numberOfPeopleInOrg?: string | undefined;
76974
+ numberOfPeopleInDesignTeam?: string | undefined;
76975
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
76976
+ jobTitle?: string | undefined;
76977
+ phase?: string | undefined;
76978
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
76979
+ designSystemName?: string | undefined;
76980
+ defaultDestination?: string | undefined;
76981
+ isPageDraftOnboardingFinished?: boolean | undefined;
76982
+ } | undefined;
76983
+ }>;
76984
+ createdAt: z.ZodDate;
76985
+ loggedOutAt: z.ZodOptional<z.ZodDate>;
76986
+ source: z.ZodOptional<z.ZodEnum<["SignUp", "Invite", "SSO"]>>;
76987
+ }>, "strip", z.ZodTypeAny, {
76988
+ id: string;
76989
+ createdAt: Date;
76990
+ email: string;
76991
+ profile: {
76992
+ name: string;
76993
+ nickname?: string | undefined;
76994
+ avatar?: string | undefined;
76995
+ onboarding?: {
76996
+ companyName?: string | undefined;
76997
+ numberOfPeopleInOrg?: string | undefined;
76998
+ numberOfPeopleInDesignTeam?: string | undefined;
76999
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
77000
+ jobTitle?: string | undefined;
77001
+ phase?: string | undefined;
77002
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
77003
+ designSystemName?: string | undefined;
77004
+ defaultDestination?: string | undefined;
77005
+ isPageDraftOnboardingFinished?: boolean | undefined;
77006
+ } | undefined;
77007
+ };
77008
+ loggedOutAt?: Date | undefined;
77009
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
77010
+ }, {
77011
+ id: string;
77012
+ createdAt: Date;
77013
+ email: string;
77014
+ profile: {
77015
+ name: string;
77016
+ nickname?: string | undefined;
77017
+ avatar?: string | undefined;
77018
+ onboarding?: {
77019
+ companyName?: string | undefined;
77020
+ numberOfPeopleInOrg?: string | undefined;
77021
+ numberOfPeopleInDesignTeam?: string | undefined;
77022
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
77023
+ jobTitle?: string | undefined;
77024
+ phase?: string | undefined;
77025
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
77026
+ designSystemName?: string | undefined;
77027
+ defaultDestination?: string | undefined;
77028
+ isPageDraftOnboardingFinished?: boolean | undefined;
77029
+ } | undefined;
77030
+ };
77031
+ loggedOutAt?: Date | undefined;
77032
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
77033
+ }>;
77034
+ }, "strip", z.ZodTypeAny, {
77035
+ user: {
77036
+ id: string;
77037
+ createdAt: Date;
77038
+ email: string;
77039
+ profile: {
77040
+ name: string;
77041
+ nickname?: string | undefined;
77042
+ avatar?: string | undefined;
77043
+ onboarding?: {
77044
+ companyName?: string | undefined;
77045
+ numberOfPeopleInOrg?: string | undefined;
77046
+ numberOfPeopleInDesignTeam?: string | undefined;
77047
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
77048
+ jobTitle?: string | undefined;
77049
+ phase?: string | undefined;
77050
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
77051
+ designSystemName?: string | undefined;
77052
+ defaultDestination?: string | undefined;
77053
+ isPageDraftOnboardingFinished?: boolean | undefined;
77054
+ } | undefined;
77055
+ };
77056
+ loggedOutAt?: Date | undefined;
77057
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
77058
+ };
77059
+ }, {
77060
+ user: {
77061
+ id: string;
77062
+ createdAt: Date;
77063
+ email: string;
77064
+ profile: {
77065
+ name: string;
77066
+ nickname?: string | undefined;
77067
+ avatar?: string | undefined;
77068
+ onboarding?: {
77069
+ companyName?: string | undefined;
77070
+ numberOfPeopleInOrg?: string | undefined;
77071
+ numberOfPeopleInDesignTeam?: string | undefined;
77072
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
77073
+ jobTitle?: string | undefined;
77074
+ phase?: string | undefined;
77075
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
77076
+ designSystemName?: string | undefined;
77077
+ defaultDestination?: string | undefined;
77078
+ isPageDraftOnboardingFinished?: boolean | undefined;
77079
+ } | undefined;
77080
+ };
77081
+ loggedOutAt?: Date | undefined;
77082
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
77083
+ };
77084
+ }>;
77085
+ type DTOAuthenticatedUserResponse = z.infer<typeof DTOAuthenticatedUserResponse>;
77086
+
77087
+ declare const DTOUserProfileUpdateResponse: z.ZodObject<{
77088
+ user: z.ZodObject<{
77089
+ id: z.ZodString;
77090
+ email: z.ZodString;
77091
+ emailVerified: z.ZodBoolean;
77092
+ createdAt: z.ZodDate;
77093
+ trialExpiresAt: z.ZodOptional<z.ZodDate>;
77094
+ profile: z.ZodObject<{
77095
+ name: z.ZodString;
77096
+ avatar: z.ZodOptional<z.ZodString>;
77097
+ nickname: z.ZodOptional<z.ZodString>;
77098
+ onboarding: z.ZodOptional<z.ZodObject<{
77099
+ companyName: z.ZodOptional<z.ZodString>;
77100
+ numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
77101
+ numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
77102
+ department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>>;
77103
+ jobTitle: z.ZodOptional<z.ZodString>;
77104
+ phase: z.ZodOptional<z.ZodString>;
77105
+ jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
77106
+ designSystemName: z.ZodOptional<z.ZodString>;
77107
+ defaultDestination: z.ZodOptional<z.ZodString>;
77108
+ figmaUrl: z.ZodOptional<z.ZodString>;
77109
+ isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
77110
+ isApprovalsOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
77111
+ }, "strip", z.ZodTypeAny, {
77112
+ companyName?: string | undefined;
77113
+ numberOfPeopleInOrg?: string | undefined;
77114
+ numberOfPeopleInDesignTeam?: string | undefined;
77115
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
77116
+ jobTitle?: string | undefined;
77117
+ phase?: string | undefined;
77118
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
77119
+ designSystemName?: string | undefined;
77120
+ defaultDestination?: string | undefined;
77121
+ figmaUrl?: string | undefined;
77122
+ isPageDraftOnboardingFinished?: boolean | undefined;
77123
+ isApprovalsOnboardingFinished?: boolean | undefined;
77124
+ }, {
77125
+ companyName?: string | undefined;
77126
+ numberOfPeopleInOrg?: string | undefined;
77127
+ numberOfPeopleInDesignTeam?: string | undefined;
77128
+ department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
77129
+ jobTitle?: string | undefined;
77130
+ phase?: string | undefined;
77131
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
77132
+ designSystemName?: string | undefined;
77133
+ defaultDestination?: string | undefined;
77134
+ figmaUrl?: string | undefined;
77135
+ isPageDraftOnboardingFinished?: boolean | undefined;
77136
+ isApprovalsOnboardingFinished?: boolean | undefined;
76791
77137
  }>>;
76792
77138
  theme: z.ZodOptional<z.ZodObject<{
76793
77139
  preset: z.ZodOptional<z.ZodEnum<["Custom", "Default", "HighContrast", "DefaultDark", "HighContrastDark", "SpaceBlue", "DarkGrey"]>>;
@@ -87502,8 +87848,10 @@ declare const DTOWorkspaceResponse: z.ZodObject<{
87502
87848
  }>;
87503
87849
  type DTOWorkspaceResponse = z.infer<typeof DTOWorkspaceResponse>;
87504
87850
 
87505
- declare function elementGroupsToDocumentationGroupDTOV2(groups: ElementGroup[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV2[];
87506
- declare function elementGroupsToDocumentationGroupFixedConfigurationDTOV2(groups: ElementGroup[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV2[];
87851
+ type DocsPage$3 = LocalDocsPage | VersionRoomDocsPage;
87852
+ type DocsPageGroup$3 = LocalDocsPageGroup | VersionRoomDocsPageGroup;
87853
+ declare function elementGroupsToDocumentationGroupDTOV2(groups: DocsPageGroup$3[], pages: (DocumentationPageV1 | DocsPage$3)[]): DTODocumentationGroupV2[];
87854
+ declare function elementGroupsToDocumentationGroupFixedConfigurationDTOV2(groups: DocsPageGroup$3[], pages: (DocumentationPageV1 | DocsPage$3)[]): DTODocumentationGroupV2[];
87507
87855
 
87508
87856
  declare const getDtoDefaultItemConfigurationV1: () => {
87509
87857
  readonly showSidebar: true;
@@ -87537,9 +87885,11 @@ type GroupLike = {
87537
87885
  persistentId: string;
87538
87886
  parentPersistentId?: string;
87539
87887
  };
87540
- declare function buildDocPagePublishPaths(groups: (ElementGroup | DocumentationGroupV1)[], pages: (DocumentationPageV1 | DocumentationPageV2)[], routingVersion: string): Map<string, string>;
87888
+ type DocsPage$2 = LocalDocsPage | VersionRoomDocsPage;
87889
+ type DocsPageGroup$2 = LocalDocsPageGroup | VersionRoomDocsPageGroup;
87890
+ declare function buildDocPagePublishPaths(groups: (DocsPageGroup$2 | DocumentationGroupV1)[], pages: (DocsPage$2 | DocumentationPageV1)[], routingVersion: string): Map<string, string>;
87541
87891
  declare function calculateElementParentChain<T extends GroupLike>(elementParentPersistentId: string, groupPersistentIdToGroupMap: Map<string, T>): T[];
87542
- declare function applyPrivacyConfigurationToNestedItems<PageType extends DocumentationPageV1 | DocumentationPageV2, GroupType extends DocumentationGroupV1 | ElementGroup, ItemConfigurationType extends DocumentationItemConfigurationV1 | DocumentationItemConfigurationV2>(pages: PageType[], groups: GroupType[], getDefaultItemConfiguration: () => ItemConfigurationType): {
87892
+ declare function applyPrivacyConfigurationToNestedItems<PageType extends DocumentationPageV1 | DocsPage$2, GroupType extends DocumentationGroupV1 | DocsPageGroup$2, ItemConfigurationType extends DocumentationItemConfigurationV1 | DocumentationItemConfigurationV2>(pages: PageType[], groups: GroupType[], getDefaultItemConfiguration: () => ItemConfigurationType): {
87543
87893
  pages: PageType[];
87544
87894
  groups: GroupType[];
87545
87895
  };
@@ -87547,9 +87897,11 @@ declare function applyPrivacyConfigurationToNestedItems<PageType extends Documen
87547
87897
  declare function documentationPagesToDTOV1(pages: DocumentationPageV1[], groups: DocumentationGroupV1[], routingVersion: string): DocumentationPageV1DTO[];
87548
87898
  declare function documentationPagesFixedConfigurationToDTOV1(pages: DocumentationPageV1[], groups: DocumentationGroupV1[], routingVersion: string): DocumentationPageV1DTO[];
87549
87899
 
87550
- declare function documentationPageToDTOV2(page: DocumentationPageV2, groups: ElementGroup[], routingVersion: string, pageLiveblocksRoomIdMap: Map<string, string>): DTODocumentationPageV2;
87551
- declare function documentationPagesToDTOV2(pages: DocumentationPageV2[], groups: ElementGroup[], routingVersion: string, pageLiveblocksRoomIdMap: Map<string, string>): DTODocumentationPageV2[];
87552
- declare function documentationPagesFixedConfigurationToDTOV2(pages: DocumentationPageV2[], groups: ElementGroup[], routingVersion: string, pageLiveblocksRoomIdMap: Map<string, string>): DTODocumentationPageV2[];
87900
+ type DocsPage$1 = LocalDocsPage | VersionRoomDocsPage;
87901
+ type DocsPageGroup$1 = LocalDocsPageGroup | VersionRoomDocsPageGroup;
87902
+ declare function documentationPageToDTOV2(page: DocsPage$1, groups: DocsPageGroup$1[], routingVersion: string, pageLiveblocksRoomIdMap: Map<string, string>): DTODocumentationPageV2;
87903
+ declare function documentationPagesToDTOV2(pages: DocsPage$1[], groups: DocsPageGroup$1[], routingVersion: string, pageLiveblocksRoomIdMap: Map<string, string>): DTODocumentationPageV2[];
87904
+ declare function documentationPagesFixedConfigurationToDTOV2(pages: DocsPage$1[], groups: DocsPageGroup$1[], routingVersion: string, pageLiveblocksRoomIdMap: Map<string, string>): DTODocumentationPageV2[];
87553
87905
 
87554
87906
  declare function pipelineToDto(pipeline: Pipeline): DTOPipeline;
87555
87907
 
@@ -94436,11 +94788,6 @@ declare class DesignSystemVersionsEndpoint {
94436
94788
  designSystemVersionId?: string | undefined;
94437
94789
  };
94438
94790
  }>;
94439
- room(dsId: string, vId: string): Promise<{
94440
- room: {
94441
- id: string;
94442
- };
94443
- }>;
94444
94791
  }
94445
94792
 
94446
94793
  declare class DesignSystemBffEndpoint {
@@ -96091,1194 +96438,484 @@ declare class WorkspacesEndpoint {
96091
96438
  designSystemSourceAutoImport: {
96092
96439
  errorMessage: string;
96093
96440
  errorReason: string;
96094
- enabled: boolean;
96095
- };
96096
- designSystemSlug: {
96097
- errorMessage: string;
96098
- errorReason: string;
96099
- enabled: boolean;
96100
- };
96101
- ipWhitelisting: {
96102
- errorMessage: string;
96103
- errorReason: string;
96104
- enabled: boolean;
96105
- };
96106
- npmRegistry: {
96107
- errorMessage: string;
96108
- errorReason: string;
96109
- enabled: boolean;
96110
- };
96111
- sso: {
96112
- errorMessage: string;
96113
- errorReason: string;
96114
- enabled: boolean;
96115
- };
96116
- workspacePaidSeats: {
96117
- max: number;
96118
- errorMessage: string;
96119
- errorReason: string;
96120
- };
96121
- workspaceViewers: {
96122
- max: number;
96123
- errorMessage: string;
96124
- errorReason: string;
96125
- };
96126
- customDocumentationExporter: {
96127
- errorMessage: string;
96128
- errorReason: string;
96129
- enabled: boolean;
96130
- };
96131
- protectedPages: {
96132
- errorMessage: string;
96133
- errorReason: string;
96134
- enabled: boolean;
96135
- };
96136
- approvals: {
96137
- errorMessage: string;
96138
- errorReason: string;
96139
- enabled: boolean;
96140
- };
96141
- selectivePublishing: {
96142
- errorMessage: string;
96143
- errorReason: string;
96144
- enabled: boolean;
96145
- };
96146
- designSystemAccessModes: {
96147
- errorMessage: string;
96148
- errorReason: string;
96149
- enabled: boolean;
96150
- };
96151
- designSystemRoles: {
96152
- errorMessage: string;
96153
- errorReason: string;
96154
- enabled: boolean;
96155
- };
96156
- } | undefined;
96157
- stripeSubscriptionMainItemId?: string | undefined;
96158
- currentPeriodStart?: string | undefined;
96159
- currentPeriodEnd?: string | undefined;
96160
- subscriptionStatusUpdatedAt?: string | undefined;
96161
- cancelAt?: string | null | undefined;
96162
- billingType?: "Auto" | "Invoice" | undefined;
96163
- daysUntilDue?: number | undefined;
96164
- };
96165
- npmRegistry?: {
96166
- enabledScopes: string[];
96167
- bypassProxy: boolean;
96168
- registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
96169
- authType: "Custom" | "None" | "Basic" | "Bearer";
96170
- registryUrl: string;
96171
- proxyUrl: string;
96172
- customRegistryUrl?: string | undefined;
96173
- accessToken?: string | undefined;
96174
- username?: string | undefined;
96175
- password?: string | undefined;
96176
- } | undefined;
96177
- };
96178
- }>;
96179
- }
96180
-
96181
- declare class LiveblocksEndpoint {
96182
- private readonly requestExecutor;
96183
- constructor(requestExecutor: RequestExecutor);
96184
- auth(body: DTOLiveblocksAuthRequest): Promise<{
96185
- token: string;
96186
- }>;
96187
- }
96188
-
96189
- declare class UsersEndpoint {
96190
- private readonly requestExecutor;
96191
- constructor(requestExecutor: RequestExecutor);
96192
- getMe(): Promise<{
96193
- user: {
96194
- id: string;
96195
- createdAt: Date;
96196
- email: string;
96197
- profile: {
96198
- name: string;
96199
- nickname?: string | undefined;
96200
- avatar?: string | undefined;
96201
- onboarding?: {
96202
- companyName?: string | undefined;
96203
- numberOfPeopleInOrg?: string | undefined;
96204
- numberOfPeopleInDesignTeam?: string | undefined;
96205
- department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
96206
- jobTitle?: string | undefined;
96207
- phase?: string | undefined;
96208
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
96209
- designSystemName?: string | undefined;
96210
- defaultDestination?: string | undefined;
96211
- isPageDraftOnboardingFinished?: boolean | undefined;
96212
- } | undefined;
96213
- theme?: {
96214
- backgroundColor?: string | undefined;
96215
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
96216
- accentColor?: string | undefined;
96217
- contrast?: number | undefined;
96218
- isSecondaryEnabled?: boolean | undefined;
96219
- secondaryBackgroundColor?: string | undefined;
96220
- secondaryContrast?: number | undefined;
96221
- isEditorWhite?: boolean | undefined;
96222
- } | undefined;
96223
- };
96224
- loggedOutAt?: Date | undefined;
96225
- source?: "SignUp" | "Invite" | "SSO" | undefined;
96226
- };
96227
- }>;
96228
- listWorkspaces(uid: string): Promise<{
96229
- membership: {
96230
- workspace: {
96231
- id: string;
96232
- profile: {
96233
- name: string;
96234
- color: string;
96235
- handle: string;
96236
- avatar?: string | undefined;
96237
- billingDetails?: {
96238
- address?: {
96239
- state?: string | undefined;
96240
- street1?: string | undefined;
96241
- street2?: string | undefined;
96242
- city?: string | undefined;
96243
- postal?: string | undefined;
96244
- country?: string | undefined;
96245
- } | undefined;
96246
- email?: string | undefined;
96247
- notes?: string | undefined;
96248
- companyName?: string | undefined;
96249
- companyId?: string | undefined;
96250
- vat?: string | undefined;
96251
- poNumber?: string | undefined;
96252
- } | undefined;
96253
- };
96254
- subscription: {
96255
- product: "company" | "enterprise" | "free" | "team";
96256
- planPriceId: string;
96257
- planInterval: "daily" | "monthly" | "weekly" | "yearly";
96258
- seats: number;
96259
- seatLimit: number;
96260
- status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
96261
- card?: {
96262
- name?: string | null | undefined;
96263
- cardId?: string | null | undefined;
96264
- last4?: string | null | undefined;
96265
- expiryMonth?: string | null | undefined;
96266
- expiryYear?: string | null | undefined;
96267
- brand?: string | null | undefined;
96268
- } | undefined;
96269
- amount?: number | null | undefined;
96270
- stripeProductDescription?: string | undefined;
96271
- isPricePerCreator?: boolean | undefined;
96272
- isTrial?: boolean | undefined;
96273
- legacyVersion?: string | undefined;
96274
- stripeProductFeatures?: string[] | undefined;
96275
- stripeProductAdditionalFeatures?: string[] | undefined;
96276
- stripeSubscriptionId?: string | null | undefined;
96277
- stripeCustomerId?: string | null | undefined;
96278
- subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
96279
- internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
96280
- featuresSummary?: {
96281
- themes: {
96282
- max: number;
96283
- errorMessage: string;
96284
- errorReason: string;
96285
- };
96286
- designSystems: {
96287
- max: number;
96288
- errorMessage: string;
96289
- errorReason: string;
96290
- };
96291
- designSystemSources: {
96292
- max: number;
96293
- errorMessage: string;
96294
- errorReason: string;
96295
- noImportJobsErrorMessage: string;
96296
- noImportJobsErrorReason: string;
96297
- };
96298
- designSystemVersions: {
96299
- max: number;
96300
- errorMessage: string;
96301
- errorReason: string;
96302
- };
96303
- brands: {
96304
- max: number;
96305
- errorMessage: string;
96306
- errorReason: string;
96307
- };
96308
- codegenSchedules: {
96309
- max: number;
96310
- errorMessage: string;
96311
- errorReason: string;
96312
- };
96313
- publicDocumentation: {
96314
- errorMessage: string;
96315
- errorReason: string;
96316
- enabled: boolean;
96317
- };
96318
- customDocumentationUrl: {
96319
- errorMessage: string;
96320
- errorReason: string;
96321
- enabled: boolean;
96322
- };
96323
- customDocumentationViewButton: {
96324
- errorMessage: string;
96325
- errorReason: string;
96326
- enabled: boolean;
96327
- };
96328
- designSystemSourceAutoImport: {
96329
- errorMessage: string;
96330
- errorReason: string;
96331
- enabled: boolean;
96332
- };
96333
- designSystemSlug: {
96334
- errorMessage: string;
96335
- errorReason: string;
96336
- enabled: boolean;
96337
- };
96338
- ipWhitelisting: {
96339
- errorMessage: string;
96340
- errorReason: string;
96341
- enabled: boolean;
96342
- };
96343
- npmRegistry: {
96344
- errorMessage: string;
96345
- errorReason: string;
96346
- enabled: boolean;
96347
- };
96348
- sso: {
96349
- errorMessage: string;
96350
- errorReason: string;
96351
- enabled: boolean;
96352
- };
96353
- workspacePaidSeats: {
96354
- max: number;
96355
- errorMessage: string;
96356
- errorReason: string;
96357
- };
96358
- workspaceViewers: {
96359
- max: number;
96360
- errorMessage: string;
96361
- errorReason: string;
96362
- };
96363
- customDocumentationExporter: {
96364
- errorMessage: string;
96365
- errorReason: string;
96366
- enabled: boolean;
96367
- };
96368
- protectedPages: {
96369
- errorMessage: string;
96370
- errorReason: string;
96371
- enabled: boolean;
96372
- };
96373
- approvals: {
96374
- errorMessage: string;
96375
- errorReason: string;
96376
- enabled: boolean;
96377
- };
96378
- selectivePublishing: {
96379
- errorMessage: string;
96380
- errorReason: string;
96381
- enabled: boolean;
96382
- };
96383
- designSystemAccessModes: {
96384
- errorMessage: string;
96385
- errorReason: string;
96386
- enabled: boolean;
96387
- };
96388
- designSystemRoles: {
96389
- errorMessage: string;
96390
- errorReason: string;
96391
- enabled: boolean;
96392
- };
96393
- } | undefined;
96394
- stripeSubscriptionMainItemId?: string | undefined;
96395
- currentPeriodStart?: string | undefined;
96396
- currentPeriodEnd?: string | undefined;
96397
- subscriptionStatusUpdatedAt?: string | undefined;
96398
- cancelAt?: string | null | undefined;
96399
- billingType?: "Auto" | "Invoice" | undefined;
96400
- daysUntilDue?: number | undefined;
96401
- };
96402
- npmRegistry?: {
96403
- enabledScopes: string[];
96404
- bypassProxy: boolean;
96405
- registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
96406
- authType: "Custom" | "None" | "Basic" | "Bearer";
96407
- registryUrl: string;
96408
- proxyUrl: string;
96409
- customRegistryUrl?: string | undefined;
96410
- accessToken?: string | undefined;
96411
- username?: string | undefined;
96412
- password?: string | undefined;
96413
- } | undefined;
96414
- };
96415
- role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
96416
- effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
96417
- }[];
96418
- }>;
96419
- delete(uid: string): Promise<{
96420
- user: {
96421
- id: string;
96422
- createdAt: Date;
96423
- email: string;
96424
- profile: {
96425
- name: string;
96426
- nickname?: string | undefined;
96427
- avatar?: string | undefined;
96428
- onboarding?: {
96429
- companyName?: string | undefined;
96430
- numberOfPeopleInOrg?: string | undefined;
96431
- numberOfPeopleInDesignTeam?: string | undefined;
96432
- department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
96433
- jobTitle?: string | undefined;
96434
- phase?: string | undefined;
96435
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
96436
- designSystemName?: string | undefined;
96437
- defaultDestination?: string | undefined;
96438
- isPageDraftOnboardingFinished?: boolean | undefined;
96439
- } | undefined;
96440
- theme?: {
96441
- backgroundColor?: string | undefined;
96442
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
96443
- accentColor?: string | undefined;
96444
- contrast?: number | undefined;
96445
- isSecondaryEnabled?: boolean | undefined;
96446
- secondaryBackgroundColor?: string | undefined;
96447
- secondaryContrast?: number | undefined;
96448
- isEditorWhite?: boolean | undefined;
96449
- } | undefined;
96450
- };
96451
- loggedOutAt?: Date | undefined;
96452
- source?: "SignUp" | "Invite" | "SSO" | undefined;
96453
- };
96454
- }>;
96455
- updateProfile(uid: string, body: DTOUserProfileUpdate): Promise<{
96456
- user: {
96457
- id: string;
96458
- createdAt: Date;
96459
- email: string;
96460
- profile: {
96461
- name: string;
96462
- nickname?: string | undefined;
96463
- avatar?: string | undefined;
96464
- onboarding?: {
96465
- companyName?: string | undefined;
96466
- numberOfPeopleInOrg?: string | undefined;
96467
- numberOfPeopleInDesignTeam?: string | undefined;
96468
- department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
96469
- jobTitle?: string | undefined;
96470
- phase?: string | undefined;
96471
- jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
96472
- designSystemName?: string | undefined;
96473
- defaultDestination?: string | undefined;
96474
- isPageDraftOnboardingFinished?: boolean | undefined;
96475
- } | undefined;
96476
- theme?: {
96477
- backgroundColor?: string | undefined;
96478
- preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
96479
- accentColor?: string | undefined;
96480
- contrast?: number | undefined;
96481
- isSecondaryEnabled?: boolean | undefined;
96482
- secondaryBackgroundColor?: string | undefined;
96483
- secondaryContrast?: number | undefined;
96484
- isEditorWhite?: boolean | undefined;
96485
- } | undefined;
96486
- };
96487
- loggedOutAt?: Date | undefined;
96488
- source?: "SignUp" | "Invite" | "SSO" | undefined;
96489
- };
96490
- }>;
96491
- }
96492
-
96493
- type SupernovaApiClientConfig = {
96494
- host: string;
96495
- accessToken: string;
96496
- };
96497
- declare class SupernovaApiClient {
96498
- readonly users: UsersEndpoint;
96499
- readonly workspaces: WorkspacesEndpoint;
96500
- readonly designSystems: DesignSystemsEndpoint;
96501
- readonly codegen: CodegenEndpoint;
96502
- readonly liveblocks: LiveblocksEndpoint;
96503
- constructor(config: SupernovaApiClientConfig);
96504
- }
96505
-
96506
- declare const DTOEventFigmaNodesRendered: z.ZodObject<{
96507
- type: z.ZodLiteral<"DesignSystem.FigmaNodesRendered">;
96508
- designSystemId: z.ZodString;
96509
- versionId: z.ZodString;
96510
- figmaNodePersistentIds: z.ZodArray<z.ZodString, "many">;
96511
- }, "strip", z.ZodTypeAny, {
96512
- type: "DesignSystem.FigmaNodesRendered";
96513
- designSystemId: string;
96514
- versionId: string;
96515
- figmaNodePersistentIds: string[];
96516
- }, {
96517
- type: "DesignSystem.FigmaNodesRendered";
96518
- designSystemId: string;
96519
- versionId: string;
96520
- figmaNodePersistentIds: string[];
96521
- }>;
96522
- type DTOEventFigmaNodesRendered = z.infer<typeof DTOEventFigmaNodesRendered>;
96523
- declare const DTOEventDataSourcesImported: z.ZodObject<{
96524
- type: z.ZodLiteral<"DesignSystem.ImportJobFinished">;
96525
- designSystemId: z.ZodString;
96526
- versionId: z.ZodString;
96527
- importJobId: z.ZodString;
96528
- dataSourceType: z.ZodEnum<["Figma", "TokenStudio", "FigmaVariablesPlugin"]>;
96529
- dataSourceIds: z.ZodArray<z.ZodString, "many">;
96530
- }, "strip", z.ZodTypeAny, {
96531
- type: "DesignSystem.ImportJobFinished";
96532
- designSystemId: string;
96533
- versionId: string;
96534
- importJobId: string;
96535
- dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
96536
- dataSourceIds: string[];
96537
- }, {
96538
- type: "DesignSystem.ImportJobFinished";
96539
- designSystemId: string;
96540
- versionId: string;
96541
- importJobId: string;
96542
- dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
96543
- dataSourceIds: string[];
96544
- }>;
96545
- type DTOEventDataSourcesImported = z.infer<typeof DTOEventDataSourcesImported>;
96546
-
96547
- declare const DTOEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
96548
- type: z.ZodLiteral<"DesignSystem.ImportJobFinished">;
96549
- designSystemId: z.ZodString;
96550
- versionId: z.ZodString;
96551
- importJobId: z.ZodString;
96552
- dataSourceType: z.ZodEnum<["Figma", "TokenStudio", "FigmaVariablesPlugin"]>;
96553
- dataSourceIds: z.ZodArray<z.ZodString, "many">;
96554
- }, "strip", z.ZodTypeAny, {
96555
- type: "DesignSystem.ImportJobFinished";
96556
- designSystemId: string;
96557
- versionId: string;
96558
- importJobId: string;
96559
- dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
96560
- dataSourceIds: string[];
96561
- }, {
96562
- type: "DesignSystem.ImportJobFinished";
96563
- designSystemId: string;
96564
- versionId: string;
96565
- importJobId: string;
96566
- dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
96567
- dataSourceIds: string[];
96568
- }>, z.ZodObject<{
96569
- type: z.ZodLiteral<"DesignSystem.FigmaNodesRendered">;
96570
- designSystemId: z.ZodString;
96571
- versionId: z.ZodString;
96572
- figmaNodePersistentIds: z.ZodArray<z.ZodString, "many">;
96573
- }, "strip", z.ZodTypeAny, {
96574
- type: "DesignSystem.FigmaNodesRendered";
96575
- designSystemId: string;
96576
- versionId: string;
96577
- figmaNodePersistentIds: string[];
96578
- }, {
96579
- type: "DesignSystem.FigmaNodesRendered";
96580
- designSystemId: string;
96581
- versionId: string;
96582
- figmaNodePersistentIds: string[];
96583
- }>]>;
96584
- type DTOEvent = z.infer<typeof DTOEvent>;
96585
-
96586
- declare enum ParsedFigmaFileURLError {
96587
- InvalidUrl = "InvalidUrl",
96588
- InvalidFigmaFileId = "InvalidFigmaFileId"
96589
- }
96590
- type ParsedFigmaFileURL = {
96591
- status: "Success";
96592
- fileId: string;
96593
- fileName: string | null;
96594
- nodeId: string | null;
96595
- nodeType: string | null;
96596
- } | {
96597
- status: "Error";
96598
- error: ParsedFigmaFileURLError;
96599
- };
96600
- declare const FigmaUtils: {
96601
- tryParseFigmaFileURL(urlString: string): ParsedFigmaFileURL;
96602
- };
96603
-
96604
- declare function generateHash(input: object | string, debug?: boolean): string;
96605
-
96606
- type CompatibleValue = number | string | boolean | undefined;
96607
- type QueryObject = Record<string, CompatibleValue | CompatibleValue[]>;
96608
- declare function serializeQuery(query: QueryObject): URLSearchParams;
96609
-
96610
- declare const DocumentationHierarchySettings: z.ZodObject<{
96611
- routingVersion: z.ZodString;
96612
- isDraftFeatureAdopted: z.ZodBoolean;
96613
- isApprovalFeatureEnabled: z.ZodBoolean;
96614
- approvalRequiredForPublishing: z.ZodBoolean;
96615
- }, "strip", z.ZodTypeAny, {
96616
- isApprovalFeatureEnabled: boolean;
96617
- approvalRequiredForPublishing: boolean;
96618
- routingVersion: string;
96619
- isDraftFeatureAdopted: boolean;
96620
- }, {
96621
- isApprovalFeatureEnabled: boolean;
96622
- approvalRequiredForPublishing: boolean;
96623
- routingVersion: string;
96624
- isDraftFeatureAdopted: boolean;
96625
- }>;
96626
- type DocumentationHierarchySettings = z.infer<typeof DocumentationHierarchySettings>;
96627
- /**
96628
- * @deprecated - Use FrontendVersionRoomYDoc.getDocumentationHierarchy
96629
- */
96630
- declare function yjsToDocumentationHierarchy(doc: Y.Doc): DTODocumentationHierarchyV2;
96631
-
96632
- declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
96633
- title: z.ZodString;
96634
- configuration: z.ZodObject<{
96635
- showSidebar: z.ZodBoolean;
96636
- isPrivate: z.ZodBoolean;
96637
- isHidden: z.ZodBoolean;
96638
- header: z.ZodObject<{
96639
- description: z.ZodString;
96640
- alignment: z.ZodEnum<["Left", "Center"]>;
96641
- foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
96642
- value: z.ZodString;
96643
- referencedTokenId: z.ZodOptional<z.ZodString>;
96644
- }, "strip", z.ZodTypeAny, {
96645
- value: string;
96646
- referencedTokenId?: string | undefined;
96647
- }, {
96648
- value: string;
96649
- referencedTokenId?: string | undefined;
96650
- }>>>;
96651
- backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
96652
- value: z.ZodString;
96653
- referencedTokenId: z.ZodOptional<z.ZodString>;
96654
- }, "strip", z.ZodTypeAny, {
96655
- value: string;
96656
- referencedTokenId?: string | undefined;
96657
- }, {
96658
- value: string;
96659
- referencedTokenId?: string | undefined;
96660
- }>>>;
96661
- backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
96662
- type: z.ZodEnum<["Resource", "FigmaNode"]>;
96663
- resource: z.ZodOptional<z.ZodObject<{
96664
- resourceId: z.ZodString;
96665
- url: z.ZodString;
96666
- }, "strip", z.ZodTypeAny, {
96667
- url: string;
96668
- resourceId: string;
96669
- }, {
96670
- url: string;
96671
- resourceId: string;
96672
- }>>;
96673
- figmaNode: z.ZodOptional<z.ZodObject<{
96674
- sourceId: z.ZodString;
96675
- frameReferenceId: z.ZodString;
96676
- }, "strip", z.ZodTypeAny, {
96677
- sourceId: string;
96678
- frameReferenceId: string;
96679
- }, {
96680
- sourceId: string;
96681
- frameReferenceId: string;
96682
- }>>;
96683
- }, "strip", z.ZodTypeAny, {
96684
- type: "FigmaNode" | "Resource";
96685
- resource?: {
96686
- url: string;
96687
- resourceId: string;
96688
- } | undefined;
96689
- figmaNode?: {
96690
- sourceId: string;
96691
- frameReferenceId: string;
96692
- } | undefined;
96693
- }, {
96694
- type: "FigmaNode" | "Resource";
96695
- resource?: {
96696
- url: string;
96697
- resourceId: string;
96698
- } | undefined;
96699
- figmaNode?: {
96700
- sourceId: string;
96701
- frameReferenceId: string;
96702
- } | undefined;
96703
- }>>>;
96704
- backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
96705
- showBackgroundOverlay: z.ZodBoolean;
96706
- showCoverText: z.ZodBoolean;
96707
- minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
96708
- }, "strip", z.ZodTypeAny, {
96709
- description: string;
96710
- alignment: "Center" | "Left";
96711
- backgroundImageScaleType: "AspectFill" | "AspectFit";
96712
- showBackgroundOverlay: boolean;
96713
- showCoverText: boolean;
96714
- backgroundColor?: {
96715
- value: string;
96716
- referencedTokenId?: string | undefined;
96717
- } | null | undefined;
96718
- foregroundColor?: {
96719
- value: string;
96720
- referencedTokenId?: string | undefined;
96721
- } | null | undefined;
96722
- backgroundImageAsset?: {
96723
- type: "FigmaNode" | "Resource";
96724
- resource?: {
96725
- url: string;
96726
- resourceId: string;
96727
- } | undefined;
96728
- figmaNode?: {
96729
- sourceId: string;
96730
- frameReferenceId: string;
96731
- } | undefined;
96732
- } | null | undefined;
96733
- minHeight?: number | null | undefined;
96734
- }, {
96735
- description: string;
96736
- alignment: "Center" | "Left";
96737
- backgroundImageScaleType: "AspectFill" | "AspectFit";
96738
- showBackgroundOverlay: boolean;
96739
- showCoverText: boolean;
96740
- backgroundColor?: {
96741
- value: string;
96742
- referencedTokenId?: string | undefined;
96743
- } | null | undefined;
96744
- foregroundColor?: {
96745
- value: string;
96746
- referencedTokenId?: string | undefined;
96747
- } | null | undefined;
96748
- backgroundImageAsset?: {
96749
- type: "FigmaNode" | "Resource";
96750
- resource?: {
96751
- url: string;
96752
- resourceId: string;
96753
- } | undefined;
96754
- figmaNode?: {
96755
- sourceId: string;
96756
- frameReferenceId: string;
96757
- } | undefined;
96758
- } | null | undefined;
96759
- minHeight?: number | null | undefined;
96760
- }>;
96761
- }, "strip", z.ZodTypeAny, {
96762
- showSidebar: boolean;
96763
- isPrivate: boolean;
96764
- isHidden: boolean;
96765
- header: {
96766
- description: string;
96767
- alignment: "Center" | "Left";
96768
- backgroundImageScaleType: "AspectFill" | "AspectFit";
96769
- showBackgroundOverlay: boolean;
96770
- showCoverText: boolean;
96771
- backgroundColor?: {
96772
- value: string;
96773
- referencedTokenId?: string | undefined;
96774
- } | null | undefined;
96775
- foregroundColor?: {
96776
- value: string;
96777
- referencedTokenId?: string | undefined;
96778
- } | null | undefined;
96779
- backgroundImageAsset?: {
96780
- type: "FigmaNode" | "Resource";
96781
- resource?: {
96782
- url: string;
96783
- resourceId: string;
96784
- } | undefined;
96785
- figmaNode?: {
96786
- sourceId: string;
96787
- frameReferenceId: string;
96788
- } | undefined;
96789
- } | null | undefined;
96790
- minHeight?: number | null | undefined;
96791
- };
96792
- }, {
96793
- showSidebar: boolean;
96794
- isPrivate: boolean;
96795
- isHidden: boolean;
96796
- header: {
96797
- description: string;
96798
- alignment: "Center" | "Left";
96799
- backgroundImageScaleType: "AspectFill" | "AspectFit";
96800
- showBackgroundOverlay: boolean;
96801
- showCoverText: boolean;
96802
- backgroundColor?: {
96803
- value: string;
96804
- referencedTokenId?: string | undefined;
96805
- } | null | undefined;
96806
- foregroundColor?: {
96807
- value: string;
96808
- referencedTokenId?: string | undefined;
96809
- } | null | undefined;
96810
- backgroundImageAsset?: {
96811
- type: "FigmaNode" | "Resource";
96812
- resource?: {
96813
- url: string;
96814
- resourceId: string;
96815
- } | undefined;
96816
- figmaNode?: {
96817
- sourceId: string;
96818
- frameReferenceId: string;
96819
- } | undefined;
96820
- } | null | undefined;
96821
- minHeight?: number | null | undefined;
96822
- };
96823
- }>;
96824
- }, "strip", z.ZodTypeAny, {
96825
- title: string;
96826
- configuration: {
96827
- showSidebar: boolean;
96828
- isPrivate: boolean;
96829
- isHidden: boolean;
96830
- header: {
96831
- description: string;
96832
- alignment: "Center" | "Left";
96833
- backgroundImageScaleType: "AspectFill" | "AspectFit";
96834
- showBackgroundOverlay: boolean;
96835
- showCoverText: boolean;
96836
- backgroundColor?: {
96837
- value: string;
96838
- referencedTokenId?: string | undefined;
96839
- } | null | undefined;
96840
- foregroundColor?: {
96841
- value: string;
96842
- referencedTokenId?: string | undefined;
96843
- } | null | undefined;
96844
- backgroundImageAsset?: {
96845
- type: "FigmaNode" | "Resource";
96846
- resource?: {
96847
- url: string;
96848
- resourceId: string;
96849
- } | undefined;
96850
- figmaNode?: {
96851
- sourceId: string;
96852
- frameReferenceId: string;
96853
- } | undefined;
96854
- } | null | undefined;
96855
- minHeight?: number | null | undefined;
96856
- };
96857
- };
96858
- }, {
96859
- title: string;
96860
- configuration: {
96861
- showSidebar: boolean;
96862
- isPrivate: boolean;
96863
- isHidden: boolean;
96864
- header: {
96865
- description: string;
96866
- alignment: "Center" | "Left";
96867
- backgroundImageScaleType: "AspectFill" | "AspectFit";
96868
- showBackgroundOverlay: boolean;
96869
- showCoverText: boolean;
96870
- backgroundColor?: {
96871
- value: string;
96872
- referencedTokenId?: string | undefined;
96873
- } | null | undefined;
96874
- foregroundColor?: {
96875
- value: string;
96876
- referencedTokenId?: string | undefined;
96877
- } | null | undefined;
96878
- backgroundImageAsset?: {
96879
- type: "FigmaNode" | "Resource";
96880
- resource?: {
96881
- url: string;
96882
- resourceId: string;
96883
- } | undefined;
96884
- figmaNode?: {
96885
- sourceId: string;
96886
- frameReferenceId: string;
96887
- } | undefined;
96888
- } | null | undefined;
96889
- minHeight?: number | null | undefined;
96890
- };
96891
- };
96892
- }>;
96893
- type DTODocumentationPageRoomHeaderData = z.infer<typeof DTODocumentationPageRoomHeaderData>;
96894
- declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
96895
- title: z.ZodOptional<z.ZodString>;
96896
- configuration: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<Omit<{
96897
- showSidebar: z.ZodBoolean;
96898
- isPrivate: z.ZodBoolean;
96899
- isHidden: z.ZodBoolean;
96900
- header: z.ZodObject<{
96901
- description: z.ZodString;
96902
- alignment: z.ZodEnum<["Left", "Center"]>;
96903
- foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
96904
- value: z.ZodString;
96905
- referencedTokenId: z.ZodOptional<z.ZodString>;
96906
- }, "strip", z.ZodTypeAny, {
96907
- value: string;
96908
- referencedTokenId?: string | undefined;
96909
- }, {
96910
- value: string;
96911
- referencedTokenId?: string | undefined;
96912
- }>>>;
96913
- backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
96914
- value: z.ZodString;
96915
- referencedTokenId: z.ZodOptional<z.ZodString>;
96916
- }, "strip", z.ZodTypeAny, {
96917
- value: string;
96918
- referencedTokenId?: string | undefined;
96919
- }, {
96920
- value: string;
96921
- referencedTokenId?: string | undefined;
96922
- }>>>;
96923
- backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
96924
- type: z.ZodEnum<["Resource", "FigmaNode"]>;
96925
- resource: z.ZodOptional<z.ZodObject<{
96926
- resourceId: z.ZodString;
96927
- url: z.ZodString;
96928
- }, "strip", z.ZodTypeAny, {
96929
- url: string;
96930
- resourceId: string;
96931
- }, {
96932
- url: string;
96933
- resourceId: string;
96934
- }>>;
96935
- figmaNode: z.ZodOptional<z.ZodObject<{
96936
- sourceId: z.ZodString;
96937
- frameReferenceId: z.ZodString;
96938
- }, "strip", z.ZodTypeAny, {
96939
- sourceId: string;
96940
- frameReferenceId: string;
96941
- }, {
96942
- sourceId: string;
96943
- frameReferenceId: string;
96944
- }>>;
96945
- }, "strip", z.ZodTypeAny, {
96946
- type: "FigmaNode" | "Resource";
96947
- resource?: {
96948
- url: string;
96949
- resourceId: string;
96950
- } | undefined;
96951
- figmaNode?: {
96952
- sourceId: string;
96953
- frameReferenceId: string;
96954
- } | undefined;
96955
- }, {
96956
- type: "FigmaNode" | "Resource";
96957
- resource?: {
96958
- url: string;
96959
- resourceId: string;
96960
- } | undefined;
96961
- figmaNode?: {
96962
- sourceId: string;
96963
- frameReferenceId: string;
96964
- } | undefined;
96965
- }>>>;
96966
- backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
96967
- showBackgroundOverlay: z.ZodBoolean;
96968
- showCoverText: z.ZodBoolean;
96969
- minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
96970
- }, "strip", z.ZodTypeAny, {
96971
- description: string;
96972
- alignment: "Center" | "Left";
96973
- backgroundImageScaleType: "AspectFill" | "AspectFit";
96974
- showBackgroundOverlay: boolean;
96975
- showCoverText: boolean;
96976
- backgroundColor?: {
96977
- value: string;
96978
- referencedTokenId?: string | undefined;
96979
- } | null | undefined;
96980
- foregroundColor?: {
96981
- value: string;
96982
- referencedTokenId?: string | undefined;
96983
- } | null | undefined;
96984
- backgroundImageAsset?: {
96985
- type: "FigmaNode" | "Resource";
96986
- resource?: {
96987
- url: string;
96988
- resourceId: string;
96989
- } | undefined;
96990
- figmaNode?: {
96991
- sourceId: string;
96992
- frameReferenceId: string;
96993
- } | undefined;
96994
- } | null | undefined;
96995
- minHeight?: number | null | undefined;
96996
- }, {
96997
- description: string;
96998
- alignment: "Center" | "Left";
96999
- backgroundImageScaleType: "AspectFill" | "AspectFit";
97000
- showBackgroundOverlay: boolean;
97001
- showCoverText: boolean;
97002
- backgroundColor?: {
97003
- value: string;
97004
- referencedTokenId?: string | undefined;
97005
- } | null | undefined;
97006
- foregroundColor?: {
97007
- value: string;
97008
- referencedTokenId?: string | undefined;
97009
- } | null | undefined;
97010
- backgroundImageAsset?: {
97011
- type: "FigmaNode" | "Resource";
97012
- resource?: {
97013
- url: string;
97014
- resourceId: string;
97015
- } | undefined;
97016
- figmaNode?: {
97017
- sourceId: string;
97018
- frameReferenceId: string;
97019
- } | undefined;
97020
- } | null | undefined;
97021
- minHeight?: number | null | undefined;
97022
- }>;
97023
- }, "header">, {
97024
- header: z.ZodObject<{
97025
- description: z.ZodOptional<z.ZodString>;
97026
- alignment: z.ZodOptional<z.ZodEnum<["Left", "Center"]>>;
97027
- foregroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
97028
- value: z.ZodString;
97029
- referencedTokenId: z.ZodOptional<z.ZodString>;
97030
- }, "strip", z.ZodTypeAny, {
97031
- value: string;
97032
- referencedTokenId?: string | undefined;
97033
- }, {
97034
- value: string;
97035
- referencedTokenId?: string | undefined;
97036
- }>>>>;
97037
- backgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
97038
- value: z.ZodString;
97039
- referencedTokenId: z.ZodOptional<z.ZodString>;
97040
- }, "strip", z.ZodTypeAny, {
97041
- value: string;
97042
- referencedTokenId?: string | undefined;
97043
- }, {
97044
- value: string;
97045
- referencedTokenId?: string | undefined;
97046
- }>>>>;
97047
- backgroundImageAsset: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
97048
- type: z.ZodEnum<["Resource", "FigmaNode"]>;
97049
- resource: z.ZodOptional<z.ZodObject<{
97050
- resourceId: z.ZodString;
97051
- url: z.ZodString;
97052
- }, "strip", z.ZodTypeAny, {
97053
- url: string;
97054
- resourceId: string;
97055
- }, {
97056
- url: string;
97057
- resourceId: string;
97058
- }>>;
97059
- figmaNode: z.ZodOptional<z.ZodObject<{
97060
- sourceId: z.ZodString;
97061
- frameReferenceId: z.ZodString;
97062
- }, "strip", z.ZodTypeAny, {
97063
- sourceId: string;
97064
- frameReferenceId: string;
97065
- }, {
97066
- sourceId: string;
97067
- frameReferenceId: string;
97068
- }>>;
97069
- }, "strip", z.ZodTypeAny, {
97070
- type: "FigmaNode" | "Resource";
97071
- resource?: {
97072
- url: string;
97073
- resourceId: string;
97074
- } | undefined;
97075
- figmaNode?: {
97076
- sourceId: string;
97077
- frameReferenceId: string;
97078
- } | undefined;
97079
- }, {
97080
- type: "FigmaNode" | "Resource";
97081
- resource?: {
97082
- url: string;
97083
- resourceId: string;
97084
- } | undefined;
97085
- figmaNode?: {
97086
- sourceId: string;
97087
- frameReferenceId: string;
97088
- } | undefined;
97089
- }>>>>;
97090
- backgroundImageScaleType: z.ZodOptional<z.ZodEnum<["AspectFill", "AspectFit"]>>;
97091
- showBackgroundOverlay: z.ZodOptional<z.ZodBoolean>;
97092
- showCoverText: z.ZodOptional<z.ZodBoolean>;
97093
- minHeight: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
97094
- }, "strip", z.ZodTypeAny, {
97095
- description?: string | undefined;
97096
- alignment?: "Left" | "Center" | undefined;
97097
- foregroundColor?: {
97098
- value: string;
97099
- referencedTokenId?: string | undefined;
97100
- } | null | undefined;
97101
- backgroundColor?: {
97102
- value: string;
97103
- referencedTokenId?: string | undefined;
97104
- } | null | undefined;
97105
- backgroundImageAsset?: {
97106
- type: "FigmaNode" | "Resource";
97107
- resource?: {
97108
- url: string;
97109
- resourceId: string;
97110
- } | undefined;
97111
- figmaNode?: {
97112
- sourceId: string;
97113
- frameReferenceId: string;
97114
- } | undefined;
97115
- } | null | undefined;
97116
- backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
97117
- showBackgroundOverlay?: boolean | undefined;
97118
- showCoverText?: boolean | undefined;
97119
- minHeight?: number | null | undefined;
97120
- }, {
97121
- description?: string | undefined;
97122
- alignment?: "Left" | "Center" | undefined;
97123
- foregroundColor?: {
97124
- value: string;
97125
- referencedTokenId?: string | undefined;
97126
- } | null | undefined;
97127
- backgroundColor?: {
97128
- value: string;
97129
- referencedTokenId?: string | undefined;
97130
- } | null | undefined;
97131
- backgroundImageAsset?: {
97132
- type: "FigmaNode" | "Resource";
97133
- resource?: {
97134
- url: string;
97135
- resourceId: string;
97136
- } | undefined;
97137
- figmaNode?: {
97138
- sourceId: string;
97139
- frameReferenceId: string;
97140
- } | undefined;
97141
- } | null | undefined;
97142
- backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
97143
- showBackgroundOverlay?: boolean | undefined;
97144
- showCoverText?: boolean | undefined;
97145
- minHeight?: number | null | undefined;
97146
- }>;
97147
- }>, "strip", z.ZodTypeAny, {
97148
- showSidebar: boolean;
97149
- isPrivate: boolean;
97150
- isHidden: boolean;
97151
- header: {
97152
- description?: string | undefined;
97153
- alignment?: "Left" | "Center" | undefined;
97154
- foregroundColor?: {
97155
- value: string;
97156
- referencedTokenId?: string | undefined;
97157
- } | null | undefined;
97158
- backgroundColor?: {
97159
- value: string;
97160
- referencedTokenId?: string | undefined;
97161
- } | null | undefined;
97162
- backgroundImageAsset?: {
97163
- type: "FigmaNode" | "Resource";
97164
- resource?: {
97165
- url: string;
97166
- resourceId: string;
97167
- } | undefined;
97168
- figmaNode?: {
97169
- sourceId: string;
97170
- frameReferenceId: string;
96441
+ enabled: boolean;
96442
+ };
96443
+ designSystemSlug: {
96444
+ errorMessage: string;
96445
+ errorReason: string;
96446
+ enabled: boolean;
96447
+ };
96448
+ ipWhitelisting: {
96449
+ errorMessage: string;
96450
+ errorReason: string;
96451
+ enabled: boolean;
96452
+ };
96453
+ npmRegistry: {
96454
+ errorMessage: string;
96455
+ errorReason: string;
96456
+ enabled: boolean;
96457
+ };
96458
+ sso: {
96459
+ errorMessage: string;
96460
+ errorReason: string;
96461
+ enabled: boolean;
96462
+ };
96463
+ workspacePaidSeats: {
96464
+ max: number;
96465
+ errorMessage: string;
96466
+ errorReason: string;
96467
+ };
96468
+ workspaceViewers: {
96469
+ max: number;
96470
+ errorMessage: string;
96471
+ errorReason: string;
96472
+ };
96473
+ customDocumentationExporter: {
96474
+ errorMessage: string;
96475
+ errorReason: string;
96476
+ enabled: boolean;
96477
+ };
96478
+ protectedPages: {
96479
+ errorMessage: string;
96480
+ errorReason: string;
96481
+ enabled: boolean;
96482
+ };
96483
+ approvals: {
96484
+ errorMessage: string;
96485
+ errorReason: string;
96486
+ enabled: boolean;
96487
+ };
96488
+ selectivePublishing: {
96489
+ errorMessage: string;
96490
+ errorReason: string;
96491
+ enabled: boolean;
96492
+ };
96493
+ designSystemAccessModes: {
96494
+ errorMessage: string;
96495
+ errorReason: string;
96496
+ enabled: boolean;
96497
+ };
96498
+ designSystemRoles: {
96499
+ errorMessage: string;
96500
+ errorReason: string;
96501
+ enabled: boolean;
96502
+ };
97171
96503
  } | undefined;
97172
- } | null | undefined;
97173
- backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
97174
- showBackgroundOverlay?: boolean | undefined;
97175
- showCoverText?: boolean | undefined;
97176
- minHeight?: number | null | undefined;
96504
+ stripeSubscriptionMainItemId?: string | undefined;
96505
+ currentPeriodStart?: string | undefined;
96506
+ currentPeriodEnd?: string | undefined;
96507
+ subscriptionStatusUpdatedAt?: string | undefined;
96508
+ cancelAt?: string | null | undefined;
96509
+ billingType?: "Auto" | "Invoice" | undefined;
96510
+ daysUntilDue?: number | undefined;
96511
+ };
96512
+ npmRegistry?: {
96513
+ enabledScopes: string[];
96514
+ bypassProxy: boolean;
96515
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
96516
+ authType: "Custom" | "None" | "Basic" | "Bearer";
96517
+ registryUrl: string;
96518
+ proxyUrl: string;
96519
+ customRegistryUrl?: string | undefined;
96520
+ accessToken?: string | undefined;
96521
+ username?: string | undefined;
96522
+ password?: string | undefined;
96523
+ } | undefined;
97177
96524
  };
97178
- }, {
97179
- showSidebar: boolean;
97180
- isPrivate: boolean;
97181
- isHidden: boolean;
97182
- header: {
97183
- description?: string | undefined;
97184
- alignment?: "Left" | "Center" | undefined;
97185
- foregroundColor?: {
97186
- value: string;
97187
- referencedTokenId?: string | undefined;
97188
- } | null | undefined;
97189
- backgroundColor?: {
97190
- value: string;
97191
- referencedTokenId?: string | undefined;
97192
- } | null | undefined;
97193
- backgroundImageAsset?: {
97194
- type: "FigmaNode" | "Resource";
97195
- resource?: {
97196
- url: string;
97197
- resourceId: string;
97198
- } | undefined;
97199
- figmaNode?: {
97200
- sourceId: string;
97201
- frameReferenceId: string;
96525
+ }>;
96526
+ }
96527
+
96528
+ declare class LiveblocksEndpoint {
96529
+ private readonly requestExecutor;
96530
+ constructor(requestExecutor: RequestExecutor);
96531
+ auth(body: DTOLiveblocksAuthRequest): Promise<{
96532
+ token: string;
96533
+ }>;
96534
+ }
96535
+
96536
+ declare class UsersEndpoint {
96537
+ private readonly requestExecutor;
96538
+ constructor(requestExecutor: RequestExecutor);
96539
+ getMe(): Promise<{
96540
+ user: {
96541
+ id: string;
96542
+ createdAt: Date;
96543
+ email: string;
96544
+ profile: {
96545
+ name: string;
96546
+ nickname?: string | undefined;
96547
+ avatar?: string | undefined;
96548
+ onboarding?: {
96549
+ companyName?: string | undefined;
96550
+ numberOfPeopleInOrg?: string | undefined;
96551
+ numberOfPeopleInDesignTeam?: string | undefined;
96552
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
96553
+ jobTitle?: string | undefined;
96554
+ phase?: string | undefined;
96555
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
96556
+ designSystemName?: string | undefined;
96557
+ defaultDestination?: string | undefined;
96558
+ isPageDraftOnboardingFinished?: boolean | undefined;
97202
96559
  } | undefined;
97203
- } | null | undefined;
97204
- backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
97205
- showBackgroundOverlay?: boolean | undefined;
97206
- showCoverText?: boolean | undefined;
97207
- minHeight?: number | null | undefined;
96560
+ };
96561
+ loggedOutAt?: Date | undefined;
96562
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
97208
96563
  };
97209
- }>>;
97210
- }, "strip", z.ZodTypeAny, {
97211
- title?: string | undefined;
97212
- configuration?: {
97213
- showSidebar: boolean;
97214
- isPrivate: boolean;
97215
- isHidden: boolean;
97216
- header: {
97217
- description?: string | undefined;
97218
- alignment?: "Left" | "Center" | undefined;
97219
- foregroundColor?: {
97220
- value: string;
97221
- referencedTokenId?: string | undefined;
97222
- } | null | undefined;
97223
- backgroundColor?: {
97224
- value: string;
97225
- referencedTokenId?: string | undefined;
97226
- } | null | undefined;
97227
- backgroundImageAsset?: {
97228
- type: "FigmaNode" | "Resource";
97229
- resource?: {
97230
- url: string;
97231
- resourceId: string;
96564
+ }>;
96565
+ listWorkspaces(uid: string): Promise<{
96566
+ membership: {
96567
+ workspace: {
96568
+ id: string;
96569
+ profile: {
96570
+ name: string;
96571
+ color: string;
96572
+ handle: string;
96573
+ avatar?: string | undefined;
96574
+ billingDetails?: {
96575
+ address?: {
96576
+ state?: string | undefined;
96577
+ street1?: string | undefined;
96578
+ street2?: string | undefined;
96579
+ city?: string | undefined;
96580
+ postal?: string | undefined;
96581
+ country?: string | undefined;
96582
+ } | undefined;
96583
+ email?: string | undefined;
96584
+ notes?: string | undefined;
96585
+ companyName?: string | undefined;
96586
+ companyId?: string | undefined;
96587
+ vat?: string | undefined;
96588
+ poNumber?: string | undefined;
96589
+ } | undefined;
96590
+ };
96591
+ subscription: {
96592
+ product: "company" | "enterprise" | "free" | "team";
96593
+ planPriceId: string;
96594
+ planInterval: "daily" | "monthly" | "weekly" | "yearly";
96595
+ seats: number;
96596
+ seatLimit: number;
96597
+ status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
96598
+ card?: {
96599
+ name?: string | null | undefined;
96600
+ cardId?: string | null | undefined;
96601
+ last4?: string | null | undefined;
96602
+ expiryMonth?: string | null | undefined;
96603
+ expiryYear?: string | null | undefined;
96604
+ brand?: string | null | undefined;
96605
+ } | undefined;
96606
+ amount?: number | null | undefined;
96607
+ stripeProductDescription?: string | undefined;
96608
+ isPricePerCreator?: boolean | undefined;
96609
+ isTrial?: boolean | undefined;
96610
+ legacyVersion?: string | undefined;
96611
+ stripeProductFeatures?: string[] | undefined;
96612
+ stripeProductAdditionalFeatures?: string[] | undefined;
96613
+ stripeSubscriptionId?: string | null | undefined;
96614
+ stripeCustomerId?: string | null | undefined;
96615
+ subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
96616
+ internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
96617
+ featuresSummary?: {
96618
+ themes: {
96619
+ max: number;
96620
+ errorMessage: string;
96621
+ errorReason: string;
96622
+ };
96623
+ designSystems: {
96624
+ max: number;
96625
+ errorMessage: string;
96626
+ errorReason: string;
96627
+ };
96628
+ designSystemSources: {
96629
+ max: number;
96630
+ errorMessage: string;
96631
+ errorReason: string;
96632
+ noImportJobsErrorMessage: string;
96633
+ noImportJobsErrorReason: string;
96634
+ };
96635
+ designSystemVersions: {
96636
+ max: number;
96637
+ errorMessage: string;
96638
+ errorReason: string;
96639
+ };
96640
+ brands: {
96641
+ max: number;
96642
+ errorMessage: string;
96643
+ errorReason: string;
96644
+ };
96645
+ codegenSchedules: {
96646
+ max: number;
96647
+ errorMessage: string;
96648
+ errorReason: string;
96649
+ };
96650
+ publicDocumentation: {
96651
+ errorMessage: string;
96652
+ errorReason: string;
96653
+ enabled: boolean;
96654
+ };
96655
+ customDocumentationUrl: {
96656
+ errorMessage: string;
96657
+ errorReason: string;
96658
+ enabled: boolean;
96659
+ };
96660
+ customDocumentationViewButton: {
96661
+ errorMessage: string;
96662
+ errorReason: string;
96663
+ enabled: boolean;
96664
+ };
96665
+ designSystemSourceAutoImport: {
96666
+ errorMessage: string;
96667
+ errorReason: string;
96668
+ enabled: boolean;
96669
+ };
96670
+ designSystemSlug: {
96671
+ errorMessage: string;
96672
+ errorReason: string;
96673
+ enabled: boolean;
96674
+ };
96675
+ ipWhitelisting: {
96676
+ errorMessage: string;
96677
+ errorReason: string;
96678
+ enabled: boolean;
96679
+ };
96680
+ npmRegistry: {
96681
+ errorMessage: string;
96682
+ errorReason: string;
96683
+ enabled: boolean;
96684
+ };
96685
+ sso: {
96686
+ errorMessage: string;
96687
+ errorReason: string;
96688
+ enabled: boolean;
96689
+ };
96690
+ workspacePaidSeats: {
96691
+ max: number;
96692
+ errorMessage: string;
96693
+ errorReason: string;
96694
+ };
96695
+ workspaceViewers: {
96696
+ max: number;
96697
+ errorMessage: string;
96698
+ errorReason: string;
96699
+ };
96700
+ customDocumentationExporter: {
96701
+ errorMessage: string;
96702
+ errorReason: string;
96703
+ enabled: boolean;
96704
+ };
96705
+ protectedPages: {
96706
+ errorMessage: string;
96707
+ errorReason: string;
96708
+ enabled: boolean;
96709
+ };
96710
+ approvals: {
96711
+ errorMessage: string;
96712
+ errorReason: string;
96713
+ enabled: boolean;
96714
+ };
96715
+ selectivePublishing: {
96716
+ errorMessage: string;
96717
+ errorReason: string;
96718
+ enabled: boolean;
96719
+ };
96720
+ designSystemAccessModes: {
96721
+ errorMessage: string;
96722
+ errorReason: string;
96723
+ enabled: boolean;
96724
+ };
96725
+ designSystemRoles: {
96726
+ errorMessage: string;
96727
+ errorReason: string;
96728
+ enabled: boolean;
96729
+ };
96730
+ } | undefined;
96731
+ stripeSubscriptionMainItemId?: string | undefined;
96732
+ currentPeriodStart?: string | undefined;
96733
+ currentPeriodEnd?: string | undefined;
96734
+ subscriptionStatusUpdatedAt?: string | undefined;
96735
+ cancelAt?: string | null | undefined;
96736
+ billingType?: "Auto" | "Invoice" | undefined;
96737
+ daysUntilDue?: number | undefined;
96738
+ };
96739
+ npmRegistry?: {
96740
+ enabledScopes: string[];
96741
+ bypassProxy: boolean;
96742
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
96743
+ authType: "Custom" | "None" | "Basic" | "Bearer";
96744
+ registryUrl: string;
96745
+ proxyUrl: string;
96746
+ customRegistryUrl?: string | undefined;
96747
+ accessToken?: string | undefined;
96748
+ username?: string | undefined;
96749
+ password?: string | undefined;
97232
96750
  } | undefined;
97233
- figmaNode?: {
97234
- sourceId: string;
97235
- frameReferenceId: string;
96751
+ };
96752
+ role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
96753
+ effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
96754
+ }[];
96755
+ }>;
96756
+ delete(uid: string): Promise<{
96757
+ user: {
96758
+ id: string;
96759
+ createdAt: Date;
96760
+ email: string;
96761
+ profile: {
96762
+ name: string;
96763
+ nickname?: string | undefined;
96764
+ avatar?: string | undefined;
96765
+ onboarding?: {
96766
+ companyName?: string | undefined;
96767
+ numberOfPeopleInOrg?: string | undefined;
96768
+ numberOfPeopleInDesignTeam?: string | undefined;
96769
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
96770
+ jobTitle?: string | undefined;
96771
+ phase?: string | undefined;
96772
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
96773
+ designSystemName?: string | undefined;
96774
+ defaultDestination?: string | undefined;
96775
+ isPageDraftOnboardingFinished?: boolean | undefined;
97236
96776
  } | undefined;
97237
- } | null | undefined;
97238
- backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
97239
- showBackgroundOverlay?: boolean | undefined;
97240
- showCoverText?: boolean | undefined;
97241
- minHeight?: number | null | undefined;
96777
+ };
96778
+ loggedOutAt?: Date | undefined;
96779
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
97242
96780
  };
97243
- } | undefined;
97244
- }, {
97245
- title?: string | undefined;
97246
- configuration?: {
97247
- showSidebar: boolean;
97248
- isPrivate: boolean;
97249
- isHidden: boolean;
97250
- header: {
97251
- description?: string | undefined;
97252
- alignment?: "Left" | "Center" | undefined;
97253
- foregroundColor?: {
97254
- value: string;
97255
- referencedTokenId?: string | undefined;
97256
- } | null | undefined;
97257
- backgroundColor?: {
97258
- value: string;
97259
- referencedTokenId?: string | undefined;
97260
- } | null | undefined;
97261
- backgroundImageAsset?: {
97262
- type: "FigmaNode" | "Resource";
97263
- resource?: {
97264
- url: string;
97265
- resourceId: string;
97266
- } | undefined;
97267
- figmaNode?: {
97268
- sourceId: string;
97269
- frameReferenceId: string;
96781
+ }>;
96782
+ updateProfile(uid: string, body: DTOUserProfileUpdate): Promise<{
96783
+ user: {
96784
+ id: string;
96785
+ createdAt: Date;
96786
+ email: string;
96787
+ profile: {
96788
+ name: string;
96789
+ nickname?: string | undefined;
96790
+ avatar?: string | undefined;
96791
+ onboarding?: {
96792
+ companyName?: string | undefined;
96793
+ numberOfPeopleInOrg?: string | undefined;
96794
+ numberOfPeopleInDesignTeam?: string | undefined;
96795
+ department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
96796
+ jobTitle?: string | undefined;
96797
+ phase?: string | undefined;
96798
+ jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
96799
+ designSystemName?: string | undefined;
96800
+ defaultDestination?: string | undefined;
96801
+ isPageDraftOnboardingFinished?: boolean | undefined;
97270
96802
  } | undefined;
97271
- } | null | undefined;
97272
- backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
97273
- showBackgroundOverlay?: boolean | undefined;
97274
- showCoverText?: boolean | undefined;
97275
- minHeight?: number | null | undefined;
96803
+ };
96804
+ loggedOutAt?: Date | undefined;
96805
+ source?: "SignUp" | "Invite" | "SSO" | undefined;
97276
96806
  };
97277
- } | undefined;
97278
- }>;
97279
- type DTODocumentationPageRoomHeaderDataUpdate = z.infer<typeof DTODocumentationPageRoomHeaderDataUpdate>;
97280
- declare function itemConfigurationToYjs(yDoc: Y.Doc, item: DTODocumentationPageRoomHeaderDataUpdate): void;
97281
- declare function yjsToItemConfiguration(yDoc: Y.Doc): DTODocumentationPageRoomHeaderData;
96807
+ }>;
96808
+ }
96809
+
96810
+ type SupernovaApiClientConfig = {
96811
+ host: string;
96812
+ accessToken: string;
96813
+ };
96814
+ declare class SupernovaApiClient {
96815
+ readonly users: UsersEndpoint;
96816
+ readonly workspaces: WorkspacesEndpoint;
96817
+ readonly designSystems: DesignSystemsEndpoint;
96818
+ readonly codegen: CodegenEndpoint;
96819
+ readonly liveblocks: LiveblocksEndpoint;
96820
+ constructor(config: SupernovaApiClientConfig);
96821
+ }
96822
+
96823
+ type HierarchyObserver$1 = (hierarchy: DTODocumentationHierarchyV2) => void;
96824
+ type DocPageCreate = {
96825
+ persistentId: string;
96826
+ title: string;
96827
+ configuration?: DTODocumentationItemConfigurationV2;
96828
+ parentPersistentId: string;
96829
+ afterPersistentId?: string | null;
96830
+ };
96831
+ type DocPageUpdate = {
96832
+ persistentId: string;
96833
+ title?: string;
96834
+ configuration?: Partial<DTODocumentationItemConfigurationV2>;
96835
+ };
96836
+ type TransactionExecutor$1 = (trx: DTOElementActionInput) => Promise<void>;
96837
+ declare class DocsStructureRepository {
96838
+ private readonly localState;
96839
+ private designSystemVersionId;
96840
+ private readonly yDoc;
96841
+ private readonly yObserver;
96842
+ private _yState;
96843
+ private _currentHierarchy;
96844
+ private readonly trxQueue;
96845
+ private readonly hierarchyObservers;
96846
+ private readonly initCallbacks;
96847
+ constructor(designSystemVersionId: string, yDoc: Y.Doc, transactionExecutor: TransactionExecutor$1);
96848
+ private get yState();
96849
+ get isInitialized(): boolean;
96850
+ onInitialized(): Promise<void>;
96851
+ addHierarchyObserver(observer: HierarchyObserver$1): void;
96852
+ removeHierarchyObserver(observer: HierarchyObserver$1): void;
96853
+ dispose(): void;
96854
+ get currentHierarchy(): DTODocumentationHierarchyV2;
96855
+ createPage(input: DocPageCreate): void;
96856
+ createPagePromise(input: DocPageCreate): Promise<void>;
96857
+ updatePage(update: DocPageUpdate): void;
96858
+ updatePagePromise(update: DocPageUpdate): Promise<void>;
96859
+ private updatePageLocally;
96860
+ deletePagePromise(persistentId: string): Promise<void>;
96861
+ deletePage(persistentId: string): void;
96862
+ private createLocalPageUpdate;
96863
+ private lookupPage;
96864
+ private refreshHierarchy;
96865
+ private calculateHierarchy;
96866
+ private onYUpdate;
96867
+ private calculateSortOrder;
96868
+ }
96869
+
96870
+ type HierarchyObserver = (hierarchy: DTODocumentationHierarchyV2) => void;
96871
+ type TransactionExecutor = (trx: DTOElementActionInput) => Promise<void>;
96872
+ declare class DocsStructureRepositoryV2 {
96873
+ private designSystemVersionId;
96874
+ private readonly yDoc;
96875
+ private readonly yObserver;
96876
+ private _yState;
96877
+ private _currentHierarchy;
96878
+ private readonly localActions;
96879
+ private readonly actionQueue;
96880
+ private readonly hierarchyObservers;
96881
+ private readonly initCallbacks;
96882
+ constructor(designSystemVersionId: string, yDoc: Y.Doc, transactionExecutor: TransactionExecutor);
96883
+ get isInitialized(): boolean;
96884
+ onInitialized(): Promise<void>;
96885
+ addHierarchyObserver(observer: HierarchyObserver): void;
96886
+ removeHierarchyObserver(observer: HierarchyObserver): void;
96887
+ dispose(): void;
96888
+ get currentHierarchy(): DTODocumentationHierarchyV2;
96889
+ executeAction(action: DTOElementActionInput): void;
96890
+ executeActionPromise(action: DTOElementActionInput): Promise<void>;
96891
+ private refreshHierarchy;
96892
+ private calculateHierarchy;
96893
+ private onYUpdate;
96894
+ }
96895
+
96896
+ declare enum ParsedFigmaFileURLError {
96897
+ InvalidUrl = "InvalidUrl",
96898
+ InvalidFigmaFileId = "InvalidFigmaFileId"
96899
+ }
96900
+ type ParsedFigmaFileURL = {
96901
+ status: "Success";
96902
+ fileId: string;
96903
+ fileName: string | null;
96904
+ nodeId: string | null;
96905
+ nodeType: string | null;
96906
+ } | {
96907
+ status: "Error";
96908
+ error: ParsedFigmaFileURLError;
96909
+ };
96910
+ declare const FigmaUtils: {
96911
+ tryParseFigmaFileURL(urlString: string): ParsedFigmaFileURL;
96912
+ };
96913
+
96914
+ declare function generateHash(input: object | string, debug?: boolean): string;
96915
+
96916
+ type CompatibleValue = number | string | boolean | undefined;
96917
+ type QueryObject = Record<string, CompatibleValue | CompatibleValue[]>;
96918
+ declare function serializeQuery(query: QueryObject): URLSearchParams;
97282
96919
 
97283
96920
  declare const PageBlockEditorModel: z.ZodObject<{
97284
96921
  id: z.ZodString;
@@ -99075,7 +98712,6 @@ type DocumentationHierarchyTransaction = {
99075
98712
  pageHashesToUpdate?: Record<string, string>;
99076
98713
  pageApprovals?: DocumentationPageApproval[];
99077
98714
  pageApprovalIdsToDelete?: string[];
99078
- executedTransactionIds?: string[];
99079
98715
  };
99080
98716
  declare class BackendVersionRoomYDoc {
99081
98717
  private readonly yDoc;
@@ -99089,6 +98725,7 @@ declare class BackendVersionRoomYDoc {
99089
98725
  declare class VersionRoomBaseYDoc {
99090
98726
  private readonly yDoc;
99091
98727
  constructor(yDoc: Y.Doc);
98728
+ getState(): VersionRoomBaseYDocState;
99092
98729
  getPages(): DocumentationPageV2[];
99093
98730
  updatePages(pages: DocumentationPageV2[]): void;
99094
98731
  deletePages(ids: string[]): void;
@@ -99130,37 +98767,40 @@ declare class VersionRoomBaseYDoc {
99130
98767
  updatedByUserId: string;
99131
98768
  }[];
99132
98769
  private get documentationPageApprovalsMap();
99133
- updateExecutedTransactionIds(transactionIds: string[]): void;
99134
- private get executedTransactionIdsArray();
99135
98770
  }
99136
98771
 
98772
+ type DocsPage = VersionRoomDocsPage | LocalDocsPage;
98773
+ type DocsPageGroup = VersionRoomDocsPageGroup | LocalDocsPageGroup;
98774
+ type Input = {
98775
+ pages: DocsPage[];
98776
+ pageSnapshots: DocumentationPageSnapshot[];
98777
+ pageContentHashes: Record<string, string>;
98778
+ pageLiveblockRoomIds: Record<string, string>;
98779
+ groups: DocsPageGroup[];
98780
+ groupSnapshots: ElementGroupSnapshot[];
98781
+ approvals: DocumentationPageApproval[];
98782
+ settings: DocumentationHierarchySettings;
98783
+ };
98784
+ declare function computeDocsHierarchy(input: Input, options?: {
98785
+ includeDeletedContent?: boolean;
98786
+ debug?: boolean;
98787
+ }): DTODocumentationHierarchyV2;
98788
+
99137
98789
  declare class FrontendVersionRoomYDoc {
99138
98790
  private readonly debug;
99139
98791
  private readonly yDoc;
99140
98792
  constructor(yDoc: Y.Doc, debug?: boolean);
99141
98793
  getDocumentationHierarchy(options?: {
99142
98794
  includeDeletedContent?: boolean;
98795
+ debug?: boolean;
99143
98796
  }): DTODocumentationHierarchyV2;
99144
- private buildPageDraftDeletedStates;
99145
- private buildPageDraftCreatedAndUpdatedStates;
99146
- private itemStateFromPage;
99147
- private getDeletedPages;
99148
- private buildPagePublishedMetadata;
99149
- private buildGroupDraftDeletedStates;
99150
- private buildGroupDraftCreatedAndUpdatedStates;
99151
- private itemStateFromGroup;
99152
- private getDeletedGroups;
99153
- private buildGroupPublishedMetadata;
99154
- private createDraftState;
99155
- private buildGroupApprovalStates;
99156
98797
  notifyDocumentationPageContentUpdated(pageId: string, content: DocumentationPageEditorModel, definitions: PageBlockDefinition[]): void;
99157
98798
  isDraftFeatureAdopted(): boolean;
99158
98799
  hasPublishedDocumentationContent(): boolean;
99159
98800
  isApprovalsFeatureEnabled(): boolean;
99160
98801
  isApprovalRequiredForPublishing(): boolean;
99161
- private buildPageApprovalStates;
99162
98802
  }
99163
98803
 
99164
98804
  declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
99165
98805
 
99166
- export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, BrandsEndpoint, CodegenEndpoint, Collection, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBffFigmaImportRequestBody, DTOBffImportRequestBody, DTOBffUploadImportRequestBody, DTOBrand, DTOBrandCreatePayload, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandUpdatePayload, DTOBrandsListResponse, DTOColorTokenInlineData, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateVersionInput, DTODataSource, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaCreatePayload, DTODataSourceFigmaImportPayload, DTODataSourceFigmaScope, DTODataSourceFigmaVariablesPlugin, DTODataSourceResponse, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemComponent, DTODesignSystemComponentCreateInput, DTODesignSystemComponentListResponse, DTODesignSystemComponentResponse, DTODesignSystemContactsResponse, DTODesignSystemCreateInput, DTODesignSystemInvitation, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemRole, DTODesignSystemUpdateAccessModeInput, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionRoom, DTODesignSystemVersionRoomResponse, DTODesignSystemVersionStats, DTODesignSystemVersionStatsQuery, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODesignToken, DTODesignTokenCreatePayload, DTODesignTokenGroup, DTODesignTokenGroupCreatePayload, DTODesignTokenGroupListResponse, DTODesignTokenGroupResponse, DTODesignTokenListResponse, DTODesignTokenResponse, 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, DTODocumentationPageRoom, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageRoomResponse, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationStructure, DTODocumentationStructureGroupItem, DTODocumentationStructureItem, DTODocumentationStructurePageItem, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionCreatePayload, DTOElementPropertyDefinitionListResponse, DTOElementPropertyDefinitionOption, DTOElementPropertyDefinitionResponse, DTOElementPropertyDefinitionUpdatePayload, DTOElementPropertyValue, DTOElementPropertyValueListResponse, DTOElementPropertyValueResponse, DTOElementPropertyValueUpsertPaylod, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, DTOElementsGetOutputV2, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOEvent, DTOEventDataSourcesImported, DTOEventFigmaNodesRendered, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResponseLegacy, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterGitProviderEnum, DTOExporterListQuery, DTOExporterListResponse, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterPropertyDefinition, DTOExporterPropertyDefinitionArray, DTOExporterPropertyDefinitionBoolean, DTOExporterPropertyDefinitionEnum, DTOExporterPropertyDefinitionEnumOption, DTOExporterPropertyDefinitionNumber, DTOExporterPropertyDefinitionObject, DTOExporterPropertyDefinitionString, DTOExporterPropertyDefinitionValue, DTOExporterPropertyDefinitionValueMap, DTOExporterPropertyDefinitionsResponse, DTOExporterPropertyType, DTOExporterResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentGroup, DTOFigmaComponentGroupListResponse, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeDataV2, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderAsyncActionInput, DTOFigmaNodeRenderAsyncActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderIdInput, DTOFigmaNodeRenderInput, DTOFigmaNodeRenderUrlInput, DTOFigmaNodeRerenderInput, DTOFigmaNodeV2, DTOFrameNodeStructure, DTOFrameNodeStructureListResponse, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOImportJob, DTOImportJobResponse, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOObjectMeta, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPageRedirect, DTOPageRedirectCreateBody, DTOPageRedirectDeleteResponse, DTOPageRedirectListResponse, DTOPageRedirectResponse, DTOPageRedirectUpdateBody, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineListQuery, DTOPipelineListResponse, DTOPipelineResponse, DTOPipelineTriggerBody, DTOPipelineUpdateBody, type DTOPropertyDefinitionBase, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOTheme, DTOThemeCreatePayload, DTOThemeListResponse, DTOThemeOverride, DTOThemeOverrideCreatePayload, DTOThemeResponse, DTOTokenCollection, DTOTokenCollectionsListReponse, DTOTransferOwnershipPayload, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserOnboarding, DTOUserOnboardingDepartment, DTOUserOnboardingJobLevel, DTOUserProfile, DTOUserProfileUpdate, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserSource, DTOUserTheme, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationUpdateResponse, DTOWorkspaceInvitationsListInput, DTOWorkspaceInvitationsResponse, DTOWorkspaceInviteUpdate, DTOWorkspaceMember, DTOWorkspaceMembersListResponse, DTOWorkspaceProfile, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemBffEndpoint, DesignSystemComponentEndpoint, DesignSystemContactsEndpoint, DesignSystemMembersEndpoint, DesignSystemSourcesEndpoint, DesignSystemVersionsEndpoint, DesignSystemsEndpoint, DimensionsVariableScopeType, DocumentationEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, ElementPropertyDefinitionsEndpoint, ElementPropertyValuesEndpoint, ElementsActionEndpoint, ElementsEndpoint, ExporterJobsEndpoint, ExportersEndpoint, FigmaComponentGroupsEndpoint, FigmaComponentsEndpoint, FigmaFrameStructuresEndpoint, FigmaUtils, FormattedCollections, FrontendVersionRoomYDoc, ImportJobsEndpoint, type ListItemNode, type ListNode, ListTreeBuilder, LiveblocksEndpoint, NpmRegistryInput, ObjectMeta, OverridesEndpoint, PageBlockEditorModel, PageSectionEditorModel, ParsedFigmaFileURLError, PipelinesEndpoint, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RGB, RGBA, type RequestEexecutorServerErrorCode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, ResolvedVariableType, StringVariableScopeType, SupernovaApiClient, ThemesEndpoint, TokenCollectionsEndpoint, TokenGroupsEndpoint, TokensEndpoint, UsersEndpoint, Variable, VariableAlias, VariableMode, VariableValue, VariablesMapping, 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, serializeQuery, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
98806
+ export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, BrandsEndpoint, CodegenEndpoint, Collection, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBffFigmaImportRequestBody, DTOBffImportRequestBody, DTOBffUploadImportRequestBody, DTOBrand, DTOBrandCreatePayload, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandUpdatePayload, DTOBrandsListResponse, DTOColorTokenInlineData, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateVersionInput, DTODataSource, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaCreatePayload, DTODataSourceFigmaImportPayload, DTODataSourceFigmaScope, DTODataSourceFigmaVariablesPlugin, DTODataSourceResponse, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemComponent, DTODesignSystemComponentCreateInput, DTODesignSystemComponentListResponse, DTODesignSystemComponentResponse, DTODesignSystemContactsResponse, DTODesignSystemCreateInput, DTODesignSystemInvitation, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemRole, DTODesignSystemUpdateAccessModeInput, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionStats, DTODesignSystemVersionStatsQuery, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODesignToken, DTODesignTokenCreatePayload, DTODesignTokenGroup, DTODesignTokenGroupCreatePayload, DTODesignTokenGroupListResponse, DTODesignTokenGroupResponse, DTODesignTokenListResponse, DTODesignTokenResponse, 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, DTODocumentationPageRoom, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageRoomResponse, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationStructure, DTODocumentationStructureGroupItem, DTODocumentationStructureItem, DTODocumentationStructurePageItem, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, type DTOElementActionInputOfType, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionCreatePayload, DTOElementPropertyDefinitionListResponse, DTOElementPropertyDefinitionOption, DTOElementPropertyDefinitionResponse, DTOElementPropertyDefinitionUpdatePayload, DTOElementPropertyValue, DTOElementPropertyValueListResponse, DTOElementPropertyValueResponse, DTOElementPropertyValueUpsertPaylod, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, DTOElementsGetOutputV2, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResponseLegacy, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterGitProviderEnum, DTOExporterListQuery, DTOExporterListResponse, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterPropertyDefinition, DTOExporterPropertyDefinitionArray, DTOExporterPropertyDefinitionBoolean, DTOExporterPropertyDefinitionEnum, DTOExporterPropertyDefinitionEnumOption, DTOExporterPropertyDefinitionNumber, DTOExporterPropertyDefinitionObject, DTOExporterPropertyDefinitionString, DTOExporterPropertyDefinitionValue, DTOExporterPropertyDefinitionValueMap, DTOExporterPropertyDefinitionsResponse, DTOExporterPropertyType, DTOExporterResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentGroup, DTOFigmaComponentGroupListResponse, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeDataV2, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderAsyncActionInput, DTOFigmaNodeRenderAsyncActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderIdInput, DTOFigmaNodeRenderInput, DTOFigmaNodeRenderUrlInput, DTOFigmaNodeRerenderInput, DTOFigmaNodeV2, DTOFrameNodeStructure, DTOFrameNodeStructureListResponse, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOImportJob, DTOImportJobResponse, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOObjectMeta, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineListQuery, DTOPipelineListResponse, DTOPipelineResponse, DTOPipelineTriggerBody, DTOPipelineUpdateBody, type DTOPropertyDefinitionBase, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOTheme, DTOThemeCreatePayload, DTOThemeListResponse, DTOThemeOverride, DTOThemeOverrideCreatePayload, DTOThemeResponse, DTOTokenCollection, DTOTokenCollectionsListReponse, DTOTransferOwnershipPayload, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserOnboarding, DTOUserOnboardingDepartment, DTOUserOnboardingJobLevel, DTOUserProfile, DTOUserProfileUpdate, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserSource, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationUpdateResponse, DTOWorkspaceInvitationsListInput, DTOWorkspaceInvitationsResponse, DTOWorkspaceInviteUpdate, DTOWorkspaceMember, DTOWorkspaceMembersListResponse, DTOWorkspaceProfile, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemBffEndpoint, DesignSystemComponentEndpoint, DesignSystemContactsEndpoint, DesignSystemMembersEndpoint, DesignSystemSourcesEndpoint, DesignSystemVersionsEndpoint, DesignSystemsEndpoint, DimensionsVariableScopeType, DocsStructureRepository, DocsStructureRepositoryV2, DocumentationEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, ElementPropertyDefinitionsEndpoint, ElementPropertyValuesEndpoint, ElementsActionEndpoint, ElementsEndpoint, ExporterJobsEndpoint, ExportersEndpoint, FigmaComponentGroupsEndpoint, FigmaComponentsEndpoint, FigmaFrameStructuresEndpoint, FigmaUtils, FormattedCollections, FrontendVersionRoomYDoc, ImportJobsEndpoint, type ListItemNode, type ListNode, ListTreeBuilder, LiveblocksEndpoint, type LocalDocsPage, type LocalDocsPageGroup, LocalStorage, NpmRegistryInput, ObjectMeta, OverridesEndpoint, PageBlockEditorModel, PageSectionEditorModel, ParsedFigmaFileURLError, PipelinesEndpoint, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RGB, RGBA, type RequestEexecutorServerErrorCode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, ResolvedVariableType, StringVariableScopeType, SupernovaApiClient, ThemesEndpoint, TokenCollectionsEndpoint, TokenGroupsEndpoint, TokensEndpoint, UsersEndpoint, Variable, VariableAlias, VariableMode, VariableValue, VariablesMapping, VersionRoomBaseYDoc, type VersionRoomBaseYDocState, type VersionRoomDocsPage, type VersionRoomDocsPageGroup, VersionSQSPayload, VersionStatsEndpoint, WorkspaceConfigurationPayload, WorkspaceInvitationsEndpoint, WorkspaceMembersEndpoint, WorkspacesEndpoint, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, computeDocsHierarchy, 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, serializeQuery, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };