@supernova-studio/client 0.54.18 → 0.54.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -4875,6 +4875,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
4875
4875
  }>;
4876
4876
  docExporterId: z.ZodString;
4877
4877
  sources: z.ZodArray<z.ZodAny, "many">;
4878
+ role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
4878
4879
  }>, "strip", z.ZodTypeAny, {
4879
4880
  id: string;
4880
4881
  meta: {
@@ -4901,6 +4902,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
4901
4902
  isEnabled: boolean;
4902
4903
  designSystemIds: string[];
4903
4904
  } | undefined;
4905
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
4904
4906
  }, {
4905
4907
  id: string;
4906
4908
  meta: {
@@ -4927,6 +4929,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
4927
4929
  isEnabled: boolean;
4928
4930
  designSystemIds: string[];
4929
4931
  } | null | undefined;
4932
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
4930
4933
  }>;
4931
4934
  type DTODesignSystem = z.infer<typeof DTODesignSystem>;
4932
4935
  declare const DTODesignSystemCreateResponse: z.ZodObject<{
@@ -4975,6 +4978,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
4975
4978
  }>;
4976
4979
  docExporterId: z.ZodString;
4977
4980
  sources: z.ZodArray<z.ZodAny, "many">;
4981
+ role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
4978
4982
  }>, "strip", z.ZodTypeAny, {
4979
4983
  id: string;
4980
4984
  meta: {
@@ -5001,6 +5005,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
5001
5005
  isEnabled: boolean;
5002
5006
  designSystemIds: string[];
5003
5007
  } | undefined;
5008
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5004
5009
  }, {
5005
5010
  id: string;
5006
5011
  meta: {
@@ -5027,6 +5032,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
5027
5032
  isEnabled: boolean;
5028
5033
  designSystemIds: string[];
5029
5034
  } | null | undefined;
5035
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5030
5036
  }>;
5031
5037
  }, "strip", z.ZodTypeAny, {
5032
5038
  designSystem: {
@@ -5055,6 +5061,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
5055
5061
  isEnabled: boolean;
5056
5062
  designSystemIds: string[];
5057
5063
  } | undefined;
5064
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5058
5065
  };
5059
5066
  }, {
5060
5067
  designSystem: {
@@ -5083,9 +5090,172 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
5083
5090
  isEnabled: boolean;
5084
5091
  designSystemIds: string[];
5085
5092
  } | null | undefined;
5093
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5086
5094
  };
5087
5095
  }>;
5088
5096
  type DTODesignSystemCreateResponse = z.infer<typeof DTODesignSystemCreateResponse>;
5097
+ declare const DTODesignSystemsListResponse: z.ZodObject<{
5098
+ designSystems: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<{
5099
+ id: z.ZodString;
5100
+ workspaceId: z.ZodString;
5101
+ name: z.ZodString;
5102
+ description: z.ZodString;
5103
+ docExporterId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
5104
+ docSlug: z.ZodString;
5105
+ docUserSlug: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
5106
+ docSlugDeprecated: z.ZodString;
5107
+ isPublic: z.ZodBoolean;
5108
+ isMultibrand: z.ZodBoolean;
5109
+ docViewUrl: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
5110
+ basePrefixes: z.ZodArray<z.ZodString, "many">;
5111
+ designSystemSwitcher: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
5112
+ isEnabled: boolean;
5113
+ designSystemIds: string[];
5114
+ }, z.ZodTypeDef, {
5115
+ isEnabled: boolean;
5116
+ designSystemIds: string[];
5117
+ }>>>, {
5118
+ isEnabled: boolean;
5119
+ designSystemIds: string[];
5120
+ } | undefined, {
5121
+ isEnabled: boolean;
5122
+ designSystemIds: string[];
5123
+ } | null | undefined>;
5124
+ isApprovalFeatureEnabled: z.ZodBoolean;
5125
+ approvalRequiredForPublishing: z.ZodBoolean;
5126
+ accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
5127
+ membersGenerated: z.ZodBoolean;
5128
+ createdAt: z.ZodDate;
5129
+ updatedAt: z.ZodDate;
5130
+ }, "description" | "name" | "docExporterId">, {
5131
+ meta: z.ZodObject<{
5132
+ name: z.ZodString;
5133
+ description: z.ZodOptional<z.ZodString>;
5134
+ }, "strip", z.ZodTypeAny, {
5135
+ name: string;
5136
+ description?: string | undefined;
5137
+ }, {
5138
+ name: string;
5139
+ description?: string | undefined;
5140
+ }>;
5141
+ docExporterId: z.ZodString;
5142
+ sources: z.ZodArray<z.ZodAny, "many">;
5143
+ role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
5144
+ }>, "strip", z.ZodTypeAny, {
5145
+ id: string;
5146
+ meta: {
5147
+ name: string;
5148
+ description?: string | undefined;
5149
+ };
5150
+ createdAt: Date;
5151
+ updatedAt: Date;
5152
+ sources: any[];
5153
+ workspaceId: string;
5154
+ docExporterId: string;
5155
+ docSlug: string;
5156
+ docSlugDeprecated: string;
5157
+ isPublic: boolean;
5158
+ isMultibrand: boolean;
5159
+ basePrefixes: string[];
5160
+ isApprovalFeatureEnabled: boolean;
5161
+ approvalRequiredForPublishing: boolean;
5162
+ accessMode: "Open" | "InviteOnly";
5163
+ membersGenerated: boolean;
5164
+ docUserSlug?: string | undefined;
5165
+ docViewUrl?: string | undefined;
5166
+ designSystemSwitcher?: {
5167
+ isEnabled: boolean;
5168
+ designSystemIds: string[];
5169
+ } | undefined;
5170
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5171
+ }, {
5172
+ id: string;
5173
+ meta: {
5174
+ name: string;
5175
+ description?: string | undefined;
5176
+ };
5177
+ createdAt: Date;
5178
+ updatedAt: Date;
5179
+ sources: any[];
5180
+ workspaceId: string;
5181
+ docExporterId: string;
5182
+ docSlug: string;
5183
+ docSlugDeprecated: string;
5184
+ isPublic: boolean;
5185
+ isMultibrand: boolean;
5186
+ basePrefixes: string[];
5187
+ isApprovalFeatureEnabled: boolean;
5188
+ approvalRequiredForPublishing: boolean;
5189
+ accessMode: "Open" | "InviteOnly";
5190
+ membersGenerated: boolean;
5191
+ docUserSlug?: string | null | undefined;
5192
+ docViewUrl?: string | null | undefined;
5193
+ designSystemSwitcher?: {
5194
+ isEnabled: boolean;
5195
+ designSystemIds: string[];
5196
+ } | null | undefined;
5197
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5198
+ }>, "many">;
5199
+ }, "strip", z.ZodTypeAny, {
5200
+ designSystems: {
5201
+ id: string;
5202
+ meta: {
5203
+ name: string;
5204
+ description?: string | undefined;
5205
+ };
5206
+ createdAt: Date;
5207
+ updatedAt: Date;
5208
+ sources: any[];
5209
+ workspaceId: string;
5210
+ docExporterId: string;
5211
+ docSlug: string;
5212
+ docSlugDeprecated: string;
5213
+ isPublic: boolean;
5214
+ isMultibrand: boolean;
5215
+ basePrefixes: string[];
5216
+ isApprovalFeatureEnabled: boolean;
5217
+ approvalRequiredForPublishing: boolean;
5218
+ accessMode: "Open" | "InviteOnly";
5219
+ membersGenerated: boolean;
5220
+ docUserSlug?: string | undefined;
5221
+ docViewUrl?: string | undefined;
5222
+ designSystemSwitcher?: {
5223
+ isEnabled: boolean;
5224
+ designSystemIds: string[];
5225
+ } | undefined;
5226
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5227
+ }[];
5228
+ }, {
5229
+ designSystems: {
5230
+ id: string;
5231
+ meta: {
5232
+ name: string;
5233
+ description?: string | undefined;
5234
+ };
5235
+ createdAt: Date;
5236
+ updatedAt: Date;
5237
+ sources: any[];
5238
+ workspaceId: string;
5239
+ docExporterId: string;
5240
+ docSlug: string;
5241
+ docSlugDeprecated: string;
5242
+ isPublic: boolean;
5243
+ isMultibrand: boolean;
5244
+ basePrefixes: string[];
5245
+ isApprovalFeatureEnabled: boolean;
5246
+ approvalRequiredForPublishing: boolean;
5247
+ accessMode: "Open" | "InviteOnly";
5248
+ membersGenerated: boolean;
5249
+ docUserSlug?: string | null | undefined;
5250
+ docViewUrl?: string | null | undefined;
5251
+ designSystemSwitcher?: {
5252
+ isEnabled: boolean;
5253
+ designSystemIds: string[];
5254
+ } | null | undefined;
5255
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5256
+ }[];
5257
+ }>;
5258
+ type DTODesignSystemsListResponse = z.infer<typeof DTODesignSystemsListResponse>;
5089
5259
  declare const DTODesignSystemCreateInput: z.ZodObject<{
5090
5260
  workspaceId: z.ZodString;
5091
5261
  meta: z.ZodOptional<z.ZodObject<{
@@ -28974,12 +29144,12 @@ declare const DTOExporterMembership: z.ZodObject<{
28974
29144
  role: z.ZodEnum<["Owner", "OwnerArchived", "User"]>;
28975
29145
  }, "strip", z.ZodTypeAny, {
28976
29146
  workspaceId: string;
28977
- exporterId: string;
28978
29147
  role: "Owner" | "OwnerArchived" | "User";
29148
+ exporterId: string;
28979
29149
  }, {
28980
29150
  workspaceId: string;
28981
- exporterId: string;
28982
29151
  role: "Owner" | "OwnerArchived" | "User";
29152
+ exporterId: string;
28983
29153
  }>;
28984
29154
  type DTOExporterMembership = z.infer<typeof DTOExporterMembership>;
28985
29155
  declare const DTOExporterCreateOutput: z.ZodObject<{
@@ -29249,12 +29419,12 @@ declare const DTOExporterCreateOutput: z.ZodObject<{
29249
29419
  role: z.ZodEnum<["Owner", "OwnerArchived", "User"]>;
29250
29420
  }, "strip", z.ZodTypeAny, {
29251
29421
  workspaceId: string;
29252
- exporterId: string;
29253
29422
  role: "Owner" | "OwnerArchived" | "User";
29423
+ exporterId: string;
29254
29424
  }, {
29255
29425
  workspaceId: string;
29256
- exporterId: string;
29257
29426
  role: "Owner" | "OwnerArchived" | "User";
29427
+ exporterId: string;
29258
29428
  }>;
29259
29429
  }, "strip", z.ZodTypeAny, {
29260
29430
  exporter: {
@@ -29309,8 +29479,8 @@ declare const DTOExporterCreateOutput: z.ZodObject<{
29309
29479
  };
29310
29480
  membership: {
29311
29481
  workspaceId: string;
29312
- exporterId: string;
29313
29482
  role: "Owner" | "OwnerArchived" | "User";
29483
+ exporterId: string;
29314
29484
  };
29315
29485
  }, {
29316
29486
  exporter: {
@@ -29365,8 +29535,8 @@ declare const DTOExporterCreateOutput: z.ZodObject<{
29365
29535
  };
29366
29536
  membership: {
29367
29537
  workspaceId: string;
29368
- exporterId: string;
29369
29538
  role: "Owner" | "OwnerArchived" | "User";
29539
+ exporterId: string;
29370
29540
  };
29371
29541
  }>;
29372
29542
  type DTOExporterCreateOutput = z.infer<typeof DTOExporterCreateOutput>;
@@ -44877,4 +45047,4 @@ declare class FrontendVersionRoomYDoc {
44877
45047
 
44878
45048
  declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
44879
45049
 
44880
- export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemCreateResponse, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserNotificationSettingsResponse, DTOUserProfile, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
45050
+ export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemCreateResponse, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserNotificationSettingsResponse, DTOUserProfile, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
package/dist/index.d.ts CHANGED
@@ -4875,6 +4875,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
4875
4875
  }>;
4876
4876
  docExporterId: z.ZodString;
4877
4877
  sources: z.ZodArray<z.ZodAny, "many">;
4878
+ role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
4878
4879
  }>, "strip", z.ZodTypeAny, {
4879
4880
  id: string;
4880
4881
  meta: {
@@ -4901,6 +4902,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
4901
4902
  isEnabled: boolean;
4902
4903
  designSystemIds: string[];
4903
4904
  } | undefined;
4905
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
4904
4906
  }, {
4905
4907
  id: string;
4906
4908
  meta: {
@@ -4927,6 +4929,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
4927
4929
  isEnabled: boolean;
4928
4930
  designSystemIds: string[];
4929
4931
  } | null | undefined;
4932
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
4930
4933
  }>;
4931
4934
  type DTODesignSystem = z.infer<typeof DTODesignSystem>;
4932
4935
  declare const DTODesignSystemCreateResponse: z.ZodObject<{
@@ -4975,6 +4978,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
4975
4978
  }>;
4976
4979
  docExporterId: z.ZodString;
4977
4980
  sources: z.ZodArray<z.ZodAny, "many">;
4981
+ role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
4978
4982
  }>, "strip", z.ZodTypeAny, {
4979
4983
  id: string;
4980
4984
  meta: {
@@ -5001,6 +5005,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
5001
5005
  isEnabled: boolean;
5002
5006
  designSystemIds: string[];
5003
5007
  } | undefined;
5008
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5004
5009
  }, {
5005
5010
  id: string;
5006
5011
  meta: {
@@ -5027,6 +5032,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
5027
5032
  isEnabled: boolean;
5028
5033
  designSystemIds: string[];
5029
5034
  } | null | undefined;
5035
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5030
5036
  }>;
5031
5037
  }, "strip", z.ZodTypeAny, {
5032
5038
  designSystem: {
@@ -5055,6 +5061,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
5055
5061
  isEnabled: boolean;
5056
5062
  designSystemIds: string[];
5057
5063
  } | undefined;
5064
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5058
5065
  };
5059
5066
  }, {
5060
5067
  designSystem: {
@@ -5083,9 +5090,172 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
5083
5090
  isEnabled: boolean;
5084
5091
  designSystemIds: string[];
5085
5092
  } | null | undefined;
5093
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5086
5094
  };
5087
5095
  }>;
5088
5096
  type DTODesignSystemCreateResponse = z.infer<typeof DTODesignSystemCreateResponse>;
5097
+ declare const DTODesignSystemsListResponse: z.ZodObject<{
5098
+ designSystems: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<{
5099
+ id: z.ZodString;
5100
+ workspaceId: z.ZodString;
5101
+ name: z.ZodString;
5102
+ description: z.ZodString;
5103
+ docExporterId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
5104
+ docSlug: z.ZodString;
5105
+ docUserSlug: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
5106
+ docSlugDeprecated: z.ZodString;
5107
+ isPublic: z.ZodBoolean;
5108
+ isMultibrand: z.ZodBoolean;
5109
+ docViewUrl: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
5110
+ basePrefixes: z.ZodArray<z.ZodString, "many">;
5111
+ designSystemSwitcher: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
5112
+ isEnabled: boolean;
5113
+ designSystemIds: string[];
5114
+ }, z.ZodTypeDef, {
5115
+ isEnabled: boolean;
5116
+ designSystemIds: string[];
5117
+ }>>>, {
5118
+ isEnabled: boolean;
5119
+ designSystemIds: string[];
5120
+ } | undefined, {
5121
+ isEnabled: boolean;
5122
+ designSystemIds: string[];
5123
+ } | null | undefined>;
5124
+ isApprovalFeatureEnabled: z.ZodBoolean;
5125
+ approvalRequiredForPublishing: z.ZodBoolean;
5126
+ accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
5127
+ membersGenerated: z.ZodBoolean;
5128
+ createdAt: z.ZodDate;
5129
+ updatedAt: z.ZodDate;
5130
+ }, "description" | "name" | "docExporterId">, {
5131
+ meta: z.ZodObject<{
5132
+ name: z.ZodString;
5133
+ description: z.ZodOptional<z.ZodString>;
5134
+ }, "strip", z.ZodTypeAny, {
5135
+ name: string;
5136
+ description?: string | undefined;
5137
+ }, {
5138
+ name: string;
5139
+ description?: string | undefined;
5140
+ }>;
5141
+ docExporterId: z.ZodString;
5142
+ sources: z.ZodArray<z.ZodAny, "many">;
5143
+ role: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
5144
+ }>, "strip", z.ZodTypeAny, {
5145
+ id: string;
5146
+ meta: {
5147
+ name: string;
5148
+ description?: string | undefined;
5149
+ };
5150
+ createdAt: Date;
5151
+ updatedAt: Date;
5152
+ sources: any[];
5153
+ workspaceId: string;
5154
+ docExporterId: string;
5155
+ docSlug: string;
5156
+ docSlugDeprecated: string;
5157
+ isPublic: boolean;
5158
+ isMultibrand: boolean;
5159
+ basePrefixes: string[];
5160
+ isApprovalFeatureEnabled: boolean;
5161
+ approvalRequiredForPublishing: boolean;
5162
+ accessMode: "Open" | "InviteOnly";
5163
+ membersGenerated: boolean;
5164
+ docUserSlug?: string | undefined;
5165
+ docViewUrl?: string | undefined;
5166
+ designSystemSwitcher?: {
5167
+ isEnabled: boolean;
5168
+ designSystemIds: string[];
5169
+ } | undefined;
5170
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5171
+ }, {
5172
+ id: string;
5173
+ meta: {
5174
+ name: string;
5175
+ description?: string | undefined;
5176
+ };
5177
+ createdAt: Date;
5178
+ updatedAt: Date;
5179
+ sources: any[];
5180
+ workspaceId: string;
5181
+ docExporterId: string;
5182
+ docSlug: string;
5183
+ docSlugDeprecated: string;
5184
+ isPublic: boolean;
5185
+ isMultibrand: boolean;
5186
+ basePrefixes: string[];
5187
+ isApprovalFeatureEnabled: boolean;
5188
+ approvalRequiredForPublishing: boolean;
5189
+ accessMode: "Open" | "InviteOnly";
5190
+ membersGenerated: boolean;
5191
+ docUserSlug?: string | null | undefined;
5192
+ docViewUrl?: string | null | undefined;
5193
+ designSystemSwitcher?: {
5194
+ isEnabled: boolean;
5195
+ designSystemIds: string[];
5196
+ } | null | undefined;
5197
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5198
+ }>, "many">;
5199
+ }, "strip", z.ZodTypeAny, {
5200
+ designSystems: {
5201
+ id: string;
5202
+ meta: {
5203
+ name: string;
5204
+ description?: string | undefined;
5205
+ };
5206
+ createdAt: Date;
5207
+ updatedAt: Date;
5208
+ sources: any[];
5209
+ workspaceId: string;
5210
+ docExporterId: string;
5211
+ docSlug: string;
5212
+ docSlugDeprecated: string;
5213
+ isPublic: boolean;
5214
+ isMultibrand: boolean;
5215
+ basePrefixes: string[];
5216
+ isApprovalFeatureEnabled: boolean;
5217
+ approvalRequiredForPublishing: boolean;
5218
+ accessMode: "Open" | "InviteOnly";
5219
+ membersGenerated: boolean;
5220
+ docUserSlug?: string | undefined;
5221
+ docViewUrl?: string | undefined;
5222
+ designSystemSwitcher?: {
5223
+ isEnabled: boolean;
5224
+ designSystemIds: string[];
5225
+ } | undefined;
5226
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5227
+ }[];
5228
+ }, {
5229
+ designSystems: {
5230
+ id: string;
5231
+ meta: {
5232
+ name: string;
5233
+ description?: string | undefined;
5234
+ };
5235
+ createdAt: Date;
5236
+ updatedAt: Date;
5237
+ sources: any[];
5238
+ workspaceId: string;
5239
+ docExporterId: string;
5240
+ docSlug: string;
5241
+ docSlugDeprecated: string;
5242
+ isPublic: boolean;
5243
+ isMultibrand: boolean;
5244
+ basePrefixes: string[];
5245
+ isApprovalFeatureEnabled: boolean;
5246
+ approvalRequiredForPublishing: boolean;
5247
+ accessMode: "Open" | "InviteOnly";
5248
+ membersGenerated: boolean;
5249
+ docUserSlug?: string | null | undefined;
5250
+ docViewUrl?: string | null | undefined;
5251
+ designSystemSwitcher?: {
5252
+ isEnabled: boolean;
5253
+ designSystemIds: string[];
5254
+ } | null | undefined;
5255
+ role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
5256
+ }[];
5257
+ }>;
5258
+ type DTODesignSystemsListResponse = z.infer<typeof DTODesignSystemsListResponse>;
5089
5259
  declare const DTODesignSystemCreateInput: z.ZodObject<{
5090
5260
  workspaceId: z.ZodString;
5091
5261
  meta: z.ZodOptional<z.ZodObject<{
@@ -28974,12 +29144,12 @@ declare const DTOExporterMembership: z.ZodObject<{
28974
29144
  role: z.ZodEnum<["Owner", "OwnerArchived", "User"]>;
28975
29145
  }, "strip", z.ZodTypeAny, {
28976
29146
  workspaceId: string;
28977
- exporterId: string;
28978
29147
  role: "Owner" | "OwnerArchived" | "User";
29148
+ exporterId: string;
28979
29149
  }, {
28980
29150
  workspaceId: string;
28981
- exporterId: string;
28982
29151
  role: "Owner" | "OwnerArchived" | "User";
29152
+ exporterId: string;
28983
29153
  }>;
28984
29154
  type DTOExporterMembership = z.infer<typeof DTOExporterMembership>;
28985
29155
  declare const DTOExporterCreateOutput: z.ZodObject<{
@@ -29249,12 +29419,12 @@ declare const DTOExporterCreateOutput: z.ZodObject<{
29249
29419
  role: z.ZodEnum<["Owner", "OwnerArchived", "User"]>;
29250
29420
  }, "strip", z.ZodTypeAny, {
29251
29421
  workspaceId: string;
29252
- exporterId: string;
29253
29422
  role: "Owner" | "OwnerArchived" | "User";
29423
+ exporterId: string;
29254
29424
  }, {
29255
29425
  workspaceId: string;
29256
- exporterId: string;
29257
29426
  role: "Owner" | "OwnerArchived" | "User";
29427
+ exporterId: string;
29258
29428
  }>;
29259
29429
  }, "strip", z.ZodTypeAny, {
29260
29430
  exporter: {
@@ -29309,8 +29479,8 @@ declare const DTOExporterCreateOutput: z.ZodObject<{
29309
29479
  };
29310
29480
  membership: {
29311
29481
  workspaceId: string;
29312
- exporterId: string;
29313
29482
  role: "Owner" | "OwnerArchived" | "User";
29483
+ exporterId: string;
29314
29484
  };
29315
29485
  }, {
29316
29486
  exporter: {
@@ -29365,8 +29535,8 @@ declare const DTOExporterCreateOutput: z.ZodObject<{
29365
29535
  };
29366
29536
  membership: {
29367
29537
  workspaceId: string;
29368
- exporterId: string;
29369
29538
  role: "Owner" | "OwnerArchived" | "User";
29539
+ exporterId: string;
29370
29540
  };
29371
29541
  }>;
29372
29542
  type DTOExporterCreateOutput = z.infer<typeof DTOExporterCreateOutput>;
@@ -44877,4 +45047,4 @@ declare class FrontendVersionRoomYDoc {
44877
45047
 
44878
45048
  declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
44879
45049
 
44880
- export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemCreateResponse, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserNotificationSettingsResponse, DTOUserProfile, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
45050
+ export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemCreateResponse, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserNotificationSettingsResponse, DTOUserProfile, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };