@supernova-studio/supernova-sdk-beta 2.2.52 → 2.4.9
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/README.md +4 -5
- package/build/supernova-sdk-typescript.js +1 -1
- package/build/supernova-sdk-typescript.js.map +1 -1
- package/build/{sdk-typescript/src → types}/core/SDKSupernova.d.ts +19 -4
- package/build/types/core/areas/SDKAreaActivityEvents.d.ts +7 -0
- package/build/types/core/areas/SDKAreaAgentChats.d.ts +12 -0
- package/build/{sdk-typescript/src → types}/core/areas/SDKAreaAssets.d.ts +1 -6
- package/build/{sdk-typescript/src → types}/core/areas/SDKAreaAutomation.d.ts +3 -2
- package/build/{sdk-typescript/src → types}/core/areas/SDKAreaBulkOperations.d.ts +130 -4
- package/build/types/core/areas/SDKAreaCodeComponents.d.ts +44 -0
- package/build/types/core/areas/SDKAreaContext.d.ts +30 -0
- package/build/{sdk-typescript/src → types}/core/areas/SDKAreaDataSources.d.ts +2 -2
- package/build/{sdk-typescript/src → types}/core/areas/SDKAreaDesignSystems.d.ts +34 -19
- package/build/types/core/areas/SDKAreaDocumentation.d.ts +725 -0
- package/build/types/core/areas/SDKAreaImport.d.ts +35 -0
- package/build/types/core/areas/SDKAreaMCP.d.ts +42 -0
- package/build/{sdk-typescript/src → types}/core/areas/SDKAreaMe.d.ts +1 -1
- package/build/types/core/areas/SDKAreaProjects.d.ts +2225 -0
- package/build/types/core/areas/SDKAreaRawData.d.ts +2236 -0
- package/build/{sdk-typescript/src → types}/core/areas/SDKAreaRelay.d.ts +1 -1
- package/build/{sdk-typescript/src → types}/core/areas/SDKAreaResources.d.ts +129 -58
- package/build/types/core/areas/SDKAreaSanboxes.d.ts +25 -0
- package/build/types/core/areas/SDKAreaThreads.d.ts +155 -0
- package/build/{sdk-typescript/src → types}/core/areas/SDKAreaTokens.d.ts +17 -16
- package/build/{sdk-typescript/src → types}/core/areas/SDKAreaWorkspaceIntegrations.d.ts +6 -4
- package/build/{sdk-typescript/src → types}/core/areas/SDKAreaWorkspaces.d.ts +38 -10
- package/build/{sdk-typescript/src → types}/core/data/SDKDataBridge.d.ts +34 -17
- package/build/types/core/data/SDKDataCore.d.ts +4072 -0
- package/build/{sdk-typescript/src → types}/core/data/SDKDataCoreCached.d.ts +5 -5
- package/build/{sdk-typescript/src → types}/core/data/requests/SDKDataCoreAIRequests.d.ts +1 -1
- package/build/types/core/data/requests/SDKDataCoreReadRequests.d.ts +1511 -0
- package/build/types/core/data/requests/SDKDataCoreWriteRequests.d.ts +4941 -0
- package/build/{sdk-typescript/src → types}/core/errors/SDKSupernovaError.d.ts +11 -0
- package/build/types/core/resolvers/SDKDocsEntityItemResolver.d.ts +212 -0
- package/build/types/core/resolvers/SDKSnapshotTokenBuilder.d.ts +28 -0
- package/build/{sdk-typescript/src → types}/core/resolvers/SDKTokenResolver.d.ts +13 -10
- package/build/{sdk-typescript/src → types}/exports.d.ts +53 -17
- package/build/types/model/activity-events/SDKActivityEvent.d.ts +46 -0
- package/build/types/model/agent-chats/SDKAgentChat.d.ts +28 -0
- package/build/{sdk-typescript/src → types}/model/base/SDKDesignSystem.d.ts +4 -0
- package/build/{sdk-typescript/src → types}/model/base/SDKDesignSystemCollection.d.ts +2 -1
- package/build/types/model/base/SDKDesignSystemListView.d.ts +14 -0
- package/build/{sdk-typescript/src → types}/model/base/SDKDesignSystemMemberList.d.ts +1 -0
- package/build/types/model/code-components/SDKCodeComponent.d.ts +18 -0
- package/build/types/model/code-components/SDKCodeComponentMarkdown.d.ts +14 -0
- package/build/types/model/code-components/SDKCodeComponentPropUsage.d.ts +7 -0
- package/build/types/model/code-components/SDKCodeComponentPropertyDefinition.d.ts +7 -0
- package/build/types/model/code-components/SDKCodeComponentUsage.d.ts +12 -0
- package/build/types/model/code-components/SDKCodeHistorySnapshot.d.ts +12 -0
- package/build/types/model/code-components/SDKCodeScanListItem.d.ts +11 -0
- package/build/{sdk-typescript/src → types}/model/components/SDKComponent.d.ts +1 -3
- package/build/types/model/context/SDKKnowledgeItem.d.ts +42 -0
- package/build/types/model/datasets/SDKDataset.d.ts +228 -0
- package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/SDKDocsBlockBehavior.d.ts +4 -1
- package/build/types/model/docs/blocks/definition/actual/context-mcp/SDKDocsBlockActualContextMcp.d.ts +2 -0
- package/build/types/model/docs/blocks/properties/SDKDocsBlockAssetProperty.d.ts +17 -0
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockAssetPropertyProperty.d.ts +3 -2
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockBooleanProperty.d.ts +3 -2
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockCodeProperty.d.ts +3 -6
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockCodeSandboxProperty.d.ts +3 -8
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockColorProperty.d.ts +3 -3
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockComponentProperty.d.ts +7 -10
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockComponentPropertyProperty.d.ts +3 -2
- package/build/types/model/docs/blocks/properties/SDKDocsBlockContextProperty.d.ts +16 -0
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockDividerProperty.d.ts +3 -2
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockEmbedUrlProperty.d.ts +3 -6
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockFigmaComponentProperty.d.ts +7 -26
- package/build/types/model/docs/blocks/properties/SDKDocsBlockFigmaNodeProperty.d.ts +17 -0
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockFileProperty.d.ts +4 -9
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockImageProperty.d.ts +3 -10
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockMarkdownProperty.d.ts +3 -2
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockMultiRichTextProperty.d.ts +3 -3
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockMultiSelectProperty.d.ts +3 -2
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockNumberProperty.d.ts +3 -2
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockProperty.d.ts +4 -6
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockRichTextEditorProperty.d.ts +3 -3
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockRichTextProperty.d.ts +3 -7
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockSingleSelectProperty.d.ts +3 -2
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockStorybookProperty.d.ts +4 -21
- package/build/types/model/docs/blocks/properties/SDKDocsBlockTableProperty.d.ts +22 -0
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockTextProperty.d.ts +3 -2
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockTokenProperty.d.ts +7 -31
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockTokenPropertyProperty.d.ts +3 -2
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockTokenTypeProperty.d.ts +3 -3
- package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockUrlProperty.d.ts +3 -2
- package/build/{sdk-typescript/src → types}/model/docs/blocks/usage/SDKDocsBlockItem.d.ts +1 -3
- package/build/types/model/docs/sections/SDKDocsSection.d.ts +16 -0
- package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyPageBlock.d.ts +2 -1
- package/build/types/model/documentation/SDKPageHistoryVersion.d.ts +20 -0
- package/build/types/model/documentation/blocks/SDKDocumentationLegacyPageBlockContextMcp.d.ts +11 -0
- package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockCustom.d.ts +2 -1
- package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockGuidelines.d.ts +1 -2
- package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockRenderCode.d.ts +2 -2
- package/build/{sdk-typescript/src → types}/model/elements/SDKElementPropertyOption.d.ts +2 -3
- package/build/{sdk-typescript/src → types}/model/enums/SDKCodeLanguage.d.ts +1 -1
- package/build/{sdk-typescript/src → types}/model/enums/SDKDesignSystemRole.d.ts +1 -2
- package/build/types/model/enums/SDKDocsBlockBehaviorSelectionType.d.ts +10 -0
- package/build/types/model/enums/SDKDocsBlockContainerSize.d.ts +8 -0
- package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemPropertyType.d.ts +3 -1
- package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationLegacyPageBlockType.d.ts +1 -0
- package/build/{sdk-typescript/src → types}/model/enums/SDKTokenType.d.ts +3 -1
- package/build/types/model/enums/SDKWorkspaceSeatType.d.ts +14 -0
- package/build/{sdk-typescript/src → types}/model/enums/SDKWorkspaceSubscriptionStatus.d.ts +1 -5
- package/build/{sdk-typescript/src → types}/model/exporters/SDKExporter.d.ts +5 -2
- package/build/{sdk-typescript/src → types}/model/exporters/SDKExporterJobDestination.d.ts +1 -1
- package/build/{sdk-typescript/src → types}/model/exporters/SDKPipeline.d.ts +2 -1
- package/build/{sdk-typescript/src → types}/model/membership/SDKMembership.d.ts +1 -1
- package/build/types/model/projects/SDKForgeOnboardingContainerUsage.d.ts +13 -0
- package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProject.d.ts +1 -10
- package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectContext.d.ts +13 -1
- package/build/types/model/projects/SDKForgeProjectContextFeedback.d.ts +25 -0
- package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectContextOverride.d.ts +4 -9
- package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectFeature.d.ts +6 -2
- package/build/types/model/projects/SDKForgeProjectFeatureIteration.d.ts +21 -0
- package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectFeaturePreview.d.ts +2 -0
- package/build/types/model/projects/SDKForgeProjectIterationTag.d.ts +11 -0
- package/build/types/model/projects/SDKForgeProjectPublishedState.d.ts +12 -0
- package/build/types/model/projects/SDKForgeProjectSandbox.d.ts +14 -0
- package/build/types/model/projects/SDKPublishedFeature.d.ts +22 -0
- package/build/{sdk-typescript/src/model/projects → types/model/projects/memberships}/SDKForgeProjectInvitation.d.ts +4 -1
- package/build/types/model/projects/memberships/SDKForgeProjectMembersList.d.ts +10 -0
- package/build/types/model/sandboxes/SDKSandboxTemplate.d.ts +20 -0
- package/build/{sdk-typescript/src → types}/model/support/SDKSource.d.ts +24 -3
- package/build/{sdk-typescript/src → types}/model/themes/SDKTokenTheme.d.ts +13 -4
- package/build/{sdk-typescript/src → types}/model/themes/SDKTokenThemeOverride.d.ts +4 -3
- package/build/{sdk-typescript/src → types}/model/threads/SDKThreadMessage.d.ts +3 -2
- package/build/{sdk-typescript/src → types}/model/tokens/SDKBorderToken.d.ts +2 -2
- package/build/{sdk-typescript/src → types}/model/tokens/SDKDimensionToken.d.ts +20 -4
- package/build/{sdk-typescript/src → types}/model/tokens/SDKGradientToken.d.ts +1 -1
- package/build/{sdk-typescript/src → types}/model/tokens/SDKStringToken.d.ts +4 -4
- package/build/{sdk-typescript/src → types}/model/tokens/SDKTextCaseToken.d.ts +2 -2
- package/build/{sdk-typescript/src → types}/model/tokens/SDKTextDecorationToken.d.ts +4 -4
- package/build/{sdk-typescript/src → types}/model/tokens/SDKToken.d.ts +3 -3
- package/build/{sdk-typescript/src → types}/model/tokens/SDKTokenValue.d.ts +3 -3
- package/build/{sdk-typescript/src → types}/model/tokens/SDKTypographyToken.d.ts +14 -1
- package/build/{sdk-typescript/src → types}/model/tokens/remote/SDKRemoteTokenModel.d.ts +35 -1
- package/build/{sdk-typescript/src → types}/model/tokens/remote/SDKRemoteTokenValue.d.ts +1 -1
- package/build/{sdk-typescript/src → types}/model/users/SDKUser.d.ts +4 -0
- package/build/{sdk-typescript/src → types}/model/users/SDKUserMembership.d.ts +2 -2
- package/build/{sdk-typescript/src → types}/model/users/SDKUserProfile.d.ts +10 -2
- package/build/types/model/users/SDKUserWorkspaceNotificationSettings.d.ts +19 -0
- package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceIntegration.d.ts +4 -2
- package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceIntegrationOauthRequest.d.ts +1 -0
- package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceInvitation.d.ts +2 -2
- package/build/types/model/workspaces/SDKWorkspaceLoginScreenSettings.d.ts +12 -0
- package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceProductFeatures.d.ts +6 -8
- package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceProductPrice.d.ts +6 -3
- package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceSSOSettings.d.ts +5 -1
- package/build/types/model/workspaces/SDKWorkspaceScimToken.d.ts +19 -0
- package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceSubscription.d.ts +5 -6
- package/build/{sdk-typescript/src → types}/pulsar-interfaces.d.ts +4 -2
- package/build/{sdk-typescript/src → types}/tools/design-tokens/SDKToolsDesignTokensPlugin.d.ts +6 -3
- package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTJSONLoader.d.ts +2 -1
- package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTJSONParser.d.ts +2 -1
- package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTThemeMerger.d.ts +2 -2
- package/build/types/tools/design-tokens/utilities/expression/SDKDTExpressionParser.d.ts +6 -0
- package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/tree/SDKDTGroupTree.d.ts +1 -1
- package/build/{sdk-typescript/src → types}/tools/docs-block-builder/SDKDocsBlockBuilder.d.ts +36 -81
- package/build/{sdk-typescript/src → types}/tools/json-builder/elements-transformers/SDKToolsJSONElementFigmaTokensTransformer.d.ts +11 -10
- package/build/{sdk-typescript/src → types}/tools/json-builder/elements-transformers/SDKToolsJSONElementStyleDictionaryTransformer.d.ts +9 -8
- package/build/{sdk-typescript/src → types}/tools/json-builder/elements-transformers/SDKToolsJSONElementTransformer.d.ts +14 -13
- package/build/{sdk-typescript/src → types}/tools/token-preview/TokenUtilPreviewGenerator.d.ts +1 -1
- package/build/{sdk-typescript/src → types}/tools/token-preview/TokenUtilPreviewMetadataGenerator.d.ts +1 -1
- package/build/{sdk-typescript/src → types}/tools/token-preview/TokenUtilPreviewSegmentGenerator.d.ts +6 -6
- package/build/types/utils/ContextUtils.d.ts +16 -0
- package/build/{sdk-typescript/src → types}/utils/RawUtils.d.ts +22 -5
- package/build/types/utils/SDKJSONValue.d.ts +6 -0
- package/build/{sdk-typescript/src → types}/utils/TokenUtils.d.ts +14 -14
- package/package.json +42 -48
- package/build/sdk-typescript/.eslintrc.d.cts +0 -41
- package/build/sdk-typescript/src/core/areas/SDKAreaCodeComponents.d.ts +0 -13
- package/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +0 -216
- package/build/sdk-typescript/src/core/areas/SDKAreaImport.d.ts +0 -6
- package/build/sdk-typescript/src/core/areas/SDKAreaMCP.d.ts +0 -24
- package/build/sdk-typescript/src/core/areas/SDKAreaProjects.d.ts +0 -2127
- package/build/sdk-typescript/src/core/areas/SDKAreaRawData.d.ts +0 -2096
- package/build/sdk-typescript/src/core/areas/SDKAreaThreads.d.ts +0 -81
- package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +0 -2957
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +0 -1392
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +0 -2896
- package/build/sdk-typescript/src/core/resolvers/SDKDocsEntityItemResolver.d.ts +0 -212
- package/build/sdk-typescript/src/exports-pulsar.d.ts +0 -230
- package/build/sdk-typescript/src/model/code-components/SDKCodeComponent.d.ts +0 -15
- package/build/sdk-typescript/src/model/code-components/SDKCodeComponentPropertyControlDefinition.d.ts +0 -14
- package/build/sdk-typescript/src/model/code-components/SDKCodeComponentPropertyDefinition.d.ts +0 -10
- package/build/sdk-typescript/src/model/docs/SDKDocsConfiguration.d.ts +0 -13
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/link/SDKDocsBlockActualLink.d.ts +0 -8
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/omni-multi-item/SDKDocsBlockActualOmniMultiItem.d.ts +0 -6
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/omni-single-item/SDKDocsBlockActualOmniSingleItem.d.ts +0 -6
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/token-detail/SDKDocsBlockActualTokenDetail.d.ts +0 -6
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/token-list/SDKDocsBlockActualTokenList.d.ts +0 -6
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockAssetProperty.d.ts +0 -34
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockFigmaNodeProperty.d.ts +0 -32
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTableProperty.d.ts +0 -38
- package/build/sdk-typescript/src/model/docs/sections/SDKDocsSection.d.ts +0 -47
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockBehaviorSelectionType.d.ts +0 -8
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockContainerSize.d.ts +0 -6
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockTokenNameFormat.d.ts +0 -10
- package/build/sdk-typescript/src/model/enums/SDKIntegrationService.d.ts +0 -7
- package/build/sdk-typescript/src/model/enums/SDKWorkspaceSeatType.d.ts +0 -3
- package/build/sdk-typescript/src/model/projects/SDKForgeAgent.d.ts +0 -8
- package/build/sdk-typescript/src/model/projects/SDKForgeProjectFeatureIteration.d.ts +0 -13
- package/build/sdk-typescript/src/model/users/SDKUserWorkspaceNotificationSettings.d.ts +0 -16
- package/build/sdk-typescript/src/tests/Areas/AreaBatchUpdates.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Areas/AreaBrands.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Areas/AreaDesignSystems.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Areas/AreaDocumentation.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Areas/AreaImport.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Areas/AreaMe.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Areas/AreaMessaging.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Areas/AreaRelay.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Areas/AreaResources.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Areas/AreaStorage.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Areas/AreaThreads.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Areas/AreaTokens.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Areas/AreaWorkspace.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/FigmaTokensDataLoader.d.ts +0 -33
- package/build/sdk-typescript/src/tests/Serialization/User.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Serialization/Workspace.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Serialization/WorkspaceIPWhitelistSettings.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Serialization/WorkspaceNPMRegistrySettings.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Serialization/WorkspaceOnboarding.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Serialization/WorkspaceSSOSettings.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Tooling/PluginFigmaTokens.spec.token-studio.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Tooling/PluginJSONBuilder.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Tooling/ReadTokens.spec.token-studio.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Tooling/TokensModel.spec.token-studio.d.ts +0 -1
- package/build/sdk-typescript/src/tests/helpers.d.ts +0 -10
- package/build/sdk-typescript/src/tests/validators.d.ts +0 -91
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenSetResolver.d.ts +0 -11
- package/build/sdk-typescript/src/tools/design-tokens/utilities/collection/SDKDTTokenCollection.d.ts +0 -13
- package/build/sdk-typescript/src/tools/design-tokens/utilities/expression/SDKDTExpressionParser.d.ts +0 -5
- package/build/sdk-typescript/src/utils/FlowUtils.d.ts +0 -5
- package/build/sdk-typescript/src/utils/deepPartial.d.ts +0 -3
- package/build/sdk-typescript/vitest.config-ci.d.ts +0 -2
- package/build/sdk-typescript/vitest.config-token-studio.d.ts +0 -2
- package/build/sdk-typescript/vitest.config.d.ts +0 -2
- /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaBrands.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaComponents.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaDocsAnalytics.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaIntegrations.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaMessaging.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaMultiplayer.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaNetwork.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaStorage.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaTokenValues.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaUsers.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaVersions.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/areas/SDKRemoteIdentifiers.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/data/SDKConfiguration.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/data/requests/SDKDataCoreRenderRequests.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/resolvers/SDKAssetGroupResolver.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/resolvers/SDKComponentGroupResolver.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/resolvers/SDKComponentResolver.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/resolvers/SDKDesignComponentGroupResolver.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/resolvers/SDKDocumentationItemResolver.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/core/resolvers/SDKTokenGroupResolver.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/index.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/assets/SDKAsset.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/assets/SDKRenderedAsset.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/base/SDKBootstrapData.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/base/SDKBrand.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/base/SDKDesignSystemContactList.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/base/SDKDesignSystemVersion.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/base/SDKDesignSystemVersionStats.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/base/SDKDocumentationLegacy.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/components/SDKDesignComponent.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/components/SDKDesignComponentBase.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/components/SDKDesignComponentPropertyDefinition.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/components/SDKDesignComponentVariant.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/SDKDocsBlockDefinition.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/SDKDocsBlockItemDefinition.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/SDKDocsBlockLayout.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/SDKDocsBlockOnboarding.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/SDKDocsBlockVariant.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/assets/SDKDocsBlockActualAssets.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/blockquote/SDKDocsBlockActualBlockquote.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/callout/SDKDocsBlockActualCallout.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/code/SDKDocsBlockActualCode.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/code-react/SDKDocsBlockActualCodeReact.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/color-accessibility-grid/SDKDocsBlockActualAccessibilityGrid.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/color-ramps/SDKDocsBlockActualColorRamps.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/component-checklist/SDKDocsBlockActualComponentChecklist.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/component-checklist-all/SDKDocsBlockActualComponentChecklistAll.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/component-health/SDKDocsBlockActualComponentHealth.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/design-tokens/SDKDocsBlockActualDesignTokens.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/divider/SDKDocsBlockActualDivider.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/do-dont-guidelines/SDKDocsBlockActualDoDontGuidelines.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/embed/SDKDocsBlockActualEmbed.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/embed-figma/SDKDocsBlockActualEmbedFigma.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/embed-lottie/SDKDocsBlockActualEmbedLottie.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/embed-youtube/SDKDocsBlockActualEmbedYoutube.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/figma-component/SDKDocsBlockActualFigmaComponent.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/figma-component-props-table/SDKDocsBlockActualFigmaComponentPropsTable.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/figma-frames/SDKDocsBlockActualFigmaFrames.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/files/SDKDocsBlockActualFiles.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/image/SDKDocsBlockActualImage.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/markdown/SDKDocsBlockActualMarkdown.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/ordered-list/SDKDocsBlockActualOrderedList.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualDoDontGuidelines.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualEmbed.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualEmbedFigma.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualEmbedYoutube.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualFiles.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualImage.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualShortcutLinks.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/release-notes/SDKDocsBlockActualReleaseNotes.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/rich-text/SDKDocsBlockActualRichText.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/shortcut-links/SDKDocsBlockActualShortcutLinks.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/storybook/SDKDocsBlockActualStorybook.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/table/SDKDocsBlockActualTable.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/title1/SDKDocsBlockActualTitle1.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/title2/SDKDocsBlockActualTitle2.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/title3/SDKDocsBlockActualTitle3.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/title4/SDKDocsBlockActualTitle4.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/title5/SDKDocsBlockActualTitle5.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/unordered-list/SDKDocsBlockActualUnorderedList.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/support/SDKDocsColorRef.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/support/SDKDocsImageRef.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/support/SDKDocsLinkRef.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/support/SDKDocsSizeRef.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/blocks/usage/SDKDocsBlock.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/entities/SDKDocsEntity.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/entities/SDKDocsEntityApprovalState.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/entities/SDKDocsEntityConfiguration.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/entities/SDKDocsEntityDraftState.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/entities/SDKDocsEntityGroup.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/entities/SDKDocsEntityHeader.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/entities/SDKDocsEntityPage.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/sections/SDKDocsSectionColumn.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs/sections/SDKDocsSectionItem.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs_analytics/SDKDocsAnalyticsComparisonData.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs_analytics/SDKDocsAnalyticsData.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs_analytics/SDKDocsAnalyticsPageComparisonData.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs_analytics/SDKDocsAnalyticsPageVisitData.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs_analytics/SDKDocsAnalyticsTimeFrame.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs_analytics/SDKDocsAnalyticsVisitData.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/docs_analytics/SDKDocsAnalyticsVisitHeatMapWeek.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyConfiguration.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyGroup.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyItem.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyPage.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyPageAsset.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyRichText.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyRichTextSpan.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyRichTextSpanAttribute.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockAsset.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockAssets.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockCallout.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockCode.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockColumn.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockColumnItem.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockDivider.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedFigma.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedGeneric.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedLink.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedStorybook.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedYoutube.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockFigmaComponentPropsTable.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockFigmaComponents.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockFigmaComponentsConfig.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockFiles.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockFrame.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockFrames.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockGuideline.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockHeading.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockImage.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockOrderedList.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockQuote.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockShortcut.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockShortcuts.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTab.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTabItem.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTable.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableCell.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableColumn.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableRow.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockText.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockToken.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTokenGroup.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTokenList.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockUnorderedList.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/builder/SDKDocumentationLegacyBlockBuilder.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/configuration/SDKDocumentationLegacyItemConfiguration.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/documentation/configuration/SDKDocumentationLegacyItemHeader.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/elements/SDKElementDataView.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/elements/SDKElementDataViewColumn.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/elements/SDKElementProperty.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/elements/values/SDKElementPropertyValue.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKAlignment.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKAssetFormat.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKAssetScale.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKAssetScaleType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKBlurType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKBorderPosition.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKBorderStyle.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKCloudWarningType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKConnectionProviders.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKCustomDomainErrorCode.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKCustomDomainState.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocBlockMode.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockBehaviorDataType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockCategory.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockImagePropertyAspectRatio.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockImagePropertyWidth.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemEntityType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemPropertyOptionRenderingStyle.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemPropertyRichTextStyle.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemPropertyTextStyle.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemVariantLayoutAlign.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemVariantLayoutColumnResizing.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemVariantLayoutGap.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemVariantLayoutType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemVariantLayoutWidth.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockMultiRichTextPropertyStyle.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockOptionColor.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockOptionRenderStyle.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockRichTextEditorPropertyStyle.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockRichTextPropertyStyle.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockTextPropertyColor.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockTextPropertyStyle.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsEntityGroupBehavior.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsEntityType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsPublishStatus.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsSectionType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationEnvironment.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationLegacyCalloutType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationLegacyGroupBehavior.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationLegacyHeadingType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationLegacyItemType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationLegacyPageAssetType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationLegacyPageBlockThemeType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKFigmaComponentPreviewContainerSize.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKFrameAlignment.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKFrameLayout.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKGradientType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKIconSet.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKImportJobOperation.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKImportJobState.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKRichTextSpanAttributeType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKShadowType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKSourceType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKTextCase.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKTextDecoration.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKUnit.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKUserRole.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKVisibilityType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKWorkspaceNPMRegistryAuthType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKWorkspaceNPMRegistryType.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKWorkspaceSubscriptionPlanInterval.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/enums/SDKWorkspaceSubscriptionProduct.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/SDKConnections.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/custom_blocks/SDKExporterCustomBlock.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/custom_blocks/SDKExporterCustomBlockProperty.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/custom_blocks/SDKExporterCustomBlockVariant.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterConfigurationProperty.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyArray.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyBase.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyBoolean.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyCode.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyDefinition.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyEnum.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyNumber.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyObject.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyString.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/exporter_builds/SDKExportBuild.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/exporter_builds/SDKExportBuildResults.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/exporter_builds/SDKExportDestinations.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/exporters/remote/SDKRemoteConnectionsModel.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/files/SDKFileUpload.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/groups/SDKAssetGroup.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/groups/SDKComponentGroup.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/groups/SDKDesignComponentGroup.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/groups/SDKTokenGroup.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/jobs/SDKImportJob.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/mcp/SDKMCPStream.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/messaging/SDKChatThread.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/messaging/SDKChatThreadMessage.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectDocument.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectDocumentPreview.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectFeatureArtifact.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectFeatureArtifactList.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectFeatureMessage.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectFeatureMessageList.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectFeatureMessageReaction.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectRelation.d.ts +0 -0
- /package/build/{sdk-typescript/src/model/projects → types/model/projects/memberships}/SDKForgeProjectMembership.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/projects/sections/SDKForgeProjectDocumentSection.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/projects/sections/SDKForgeProjectFeatureSection.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/projects/sections/SDKForgeProjectSection.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/resources/SDKResource.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/resources/SDKResourceAsset.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/resources/SDKResourceFont.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/storybook/SDKStorybookEntry.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/storybook/SDKStorybookUpdate.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/support/SDKCustomDomain.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/support/SDKDesignComponentOrigin.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/support/SDKFigmaFrame.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/support/SDKFigmaStructure.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/support/SDKFigmaStructureDetail.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/support/SDKFrameOrigin.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/support/SDKLogger.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/support/SDKSize.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/support/SDKTokenOrigin.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/themes/SDKThemeUtilities.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/threads/SDKThreadMessageList.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/threads/SDKThreadMessageReaction.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/tokens/SDKBlurToken.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/tokens/SDKColorToken.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/tokens/SDKShadowToken.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/tokens/SDKTokenCompator.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/tokens/SDKVisibilityToken.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/tokens/remote/SDKRemoteTokenData.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/trail-events/SDKTrailEvent.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/users/SDKInspectableUser.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspace.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceIPWhitelistSettings.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceIntegrationAccessToken.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceIntegrationGetGitProviders.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceInvoice.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceNPMRegistryAccessToken.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceNPMRegistrySettings.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceOnboarding.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspacePortalSettings.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceProduct.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceProfile.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/integrations/GitProvidersBranches.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/integrations/GitProvidersOrganizations.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/integrations/GitProvidersProjects.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/model/workspaces/integrations/GitProvidersRepositories.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTJSONConverter.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTJSONGroupBuilder.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTMapLoader.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTMapResolver.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTTokenGroupTreeMerger.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTTokenMerger.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTTokenReferenceResolver.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/tree/SDKDTGroupTreeNode.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/tree/SDKDTParentChildMapping.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/json-builder/SDKToolsJSONBuilder.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/markdown-transform/SDKToolsMarkdownLinkResolver.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/markdown-transform/SDKToolsMarkdownTransform.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/markdown-transform/SDKToolsMarkdownTransformBlock.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/markdown-transform/SDKToolsMarkdownTransformUtil.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/search-index/SDKToolsDocSearch.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/token-preview/TokenUtilPreviewReferenceInfoGenerator.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/token-preview/TokenUtilPreviewStyleGenerator.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/token-preview/TokenUtilPreviewTypes.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/tools/token-transform/SDKToolsTokenTransform.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/utils/CommonUtils.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/utils/ComponentUtils.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/utils/StringUtils.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/utils/UnreachableCaseError.d.ts +0 -0
- /package/build/{sdk-typescript/src → types}/utils/tokenDefaultValues.d.ts +0 -0
|
@@ -31,7 +31,7 @@ export declare class AreaRelay {
|
|
|
31
31
|
};
|
|
32
32
|
prompt?: string;
|
|
33
33
|
};
|
|
34
|
-
[key: string]:
|
|
34
|
+
[key: string]: unknown;
|
|
35
35
|
}): Promise<ReadableStreamDefaultReader<Uint8Array>>;
|
|
36
36
|
/** Execute specific agent on top of a already existing project.
|
|
37
37
|
* @param prompt - User instruction that tells agent what to do
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DTOFigmaNode, DTOFigmaNodeV2, DTOFileFinalizeBulkPayload, DTOFileUploadBulkPayload, DTOFileUploadPayload, DTOForgeProjectFileUploadPayload } from "@supernova-studio/client";
|
|
1
|
+
import { DTOFigmaNode, DTOFigmaNodeV2, DTOFileFinalizeBulkPayload, DTOFileUploadBulkPayload, DTOFileUploadPayload, DTOForgeFigmaNodeCreateRequest, DTOForgeProjectFileUploadPayload } from "@supernova-studio/client";
|
|
2
2
|
import { DocsImageRef, ResourceAsset, ResourceFont } from "../../exports";
|
|
3
3
|
import { DataCore } from "../data/SDKDataCore";
|
|
4
4
|
import { RemoteVersionIdentifier } from "./SDKRemoteIdentifiers";
|
|
@@ -43,7 +43,16 @@ export declare class AreaResources {
|
|
|
43
43
|
* @param persistentIds - Optional array of persistentIds to filter the files by
|
|
44
44
|
* @returns All files in the specified version or a subset of them based on the persistentIds
|
|
45
45
|
*/
|
|
46
|
-
getFiles(from: RemoteVersionIdentifier): Promise<
|
|
46
|
+
getFiles(from: RemoteVersionIdentifier): Promise<{
|
|
47
|
+
id: string;
|
|
48
|
+
fileId?: string;
|
|
49
|
+
name: string;
|
|
50
|
+
checksum: string;
|
|
51
|
+
url: string;
|
|
52
|
+
size: number;
|
|
53
|
+
pendingUpload: boolean;
|
|
54
|
+
referencePersistentId?: string;
|
|
55
|
+
}[]>;
|
|
47
56
|
getProjectFiles(workspaceId: string, projectId: string): Promise<import("../../exports").RemoteFile[]>;
|
|
48
57
|
/** Uploads new asset resource */
|
|
49
58
|
uploadAssetResource(from: RemoteVersionIdentifier, asset: File): Promise<ResourceAsset>;
|
|
@@ -52,80 +61,142 @@ export declare class AreaResources {
|
|
|
52
61
|
/** Uploads new font resources */
|
|
53
62
|
uploadFontResources(from: RemoteVersionIdentifier, fonts: FileList): Promise<ResourceFont[]>;
|
|
54
63
|
initializeFileUpload(from: RemoteVersionIdentifier, fileUploadItems: DTOFileUploadPayload["files"]): Promise<{
|
|
55
|
-
files
|
|
56
|
-
name
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
size
|
|
60
|
-
|
|
61
|
-
referencePersistentId
|
|
62
|
-
|
|
64
|
+
files?: {
|
|
65
|
+
name?: string;
|
|
66
|
+
pendingUpload?: boolean;
|
|
67
|
+
url?: string;
|
|
68
|
+
size?: number;
|
|
69
|
+
fileId?: string;
|
|
70
|
+
referencePersistentId?: string;
|
|
71
|
+
checksum?: string;
|
|
63
72
|
}[];
|
|
64
|
-
uploadUrls
|
|
65
|
-
fileId
|
|
66
|
-
uploadUrl
|
|
73
|
+
uploadUrls?: {
|
|
74
|
+
fileId?: string;
|
|
75
|
+
uploadUrl?: string;
|
|
67
76
|
}[];
|
|
68
77
|
}>;
|
|
69
78
|
initializeProjectFileUpload(workspaceId: string, projectId: string, fileUploadItems: DTOForgeProjectFileUploadPayload["files"]): Promise<{
|
|
70
|
-
files
|
|
71
|
-
id
|
|
72
|
-
name
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
79
|
+
files?: {
|
|
80
|
+
id?: string;
|
|
81
|
+
name?: string;
|
|
82
|
+
pendingUpload?: boolean;
|
|
83
|
+
url?: string;
|
|
84
|
+
size?: number;
|
|
85
|
+
checksum?: string;
|
|
77
86
|
}[];
|
|
78
|
-
uploadUrls
|
|
79
|
-
fileId
|
|
80
|
-
uploadUrl
|
|
87
|
+
uploadUrls?: {
|
|
88
|
+
fileId?: string;
|
|
89
|
+
uploadUrl?: string;
|
|
81
90
|
}[];
|
|
82
91
|
}>;
|
|
83
92
|
initializeBulkFileUpload(input: DTOFileUploadBulkPayload): Promise<{
|
|
84
|
-
files
|
|
85
|
-
id
|
|
86
|
-
name
|
|
87
|
-
url: string;
|
|
88
|
-
storagePath: string;
|
|
89
|
-
size: number;
|
|
90
|
-
deduplicationKey: string;
|
|
93
|
+
files?: {
|
|
94
|
+
id?: string;
|
|
95
|
+
name?: string;
|
|
91
96
|
source?: {
|
|
92
|
-
type
|
|
93
|
-
userId
|
|
97
|
+
type?: "UserUpload";
|
|
98
|
+
userId?: string;
|
|
94
99
|
} | {
|
|
95
|
-
type
|
|
96
|
-
renderMode
|
|
97
|
-
}
|
|
98
|
-
|
|
100
|
+
type?: "Figma";
|
|
101
|
+
renderMode?: "Image" | "HTML" | "JSON";
|
|
102
|
+
};
|
|
103
|
+
deduplicationKey?: string;
|
|
104
|
+
pendingUpload?: boolean;
|
|
105
|
+
storagePath?: string;
|
|
106
|
+
url?: string;
|
|
107
|
+
size?: number;
|
|
99
108
|
}[];
|
|
100
|
-
uploadUrls
|
|
101
|
-
fileId
|
|
102
|
-
uploadUrl
|
|
109
|
+
uploadUrls?: {
|
|
110
|
+
fileId?: string;
|
|
111
|
+
uploadUrl?: string;
|
|
103
112
|
}[];
|
|
104
113
|
}>;
|
|
105
|
-
finalizeFileUpload(from: RemoteVersionIdentifier, fileIds: Array<string>): Promise<
|
|
106
|
-
|
|
114
|
+
finalizeFileUpload(from: RemoteVersionIdentifier, fileIds: Array<string>): Promise<{
|
|
115
|
+
ok?: true;
|
|
116
|
+
}>;
|
|
117
|
+
finalizeProjectFileUpload(workspaceId: string, projectId: string, fileIds: Array<string>): Promise<{
|
|
118
|
+
ok?: true;
|
|
119
|
+
}>;
|
|
107
120
|
finalizeBulkFileUpload(input: DTOFileFinalizeBulkPayload): Promise<{
|
|
108
|
-
files
|
|
109
|
-
id
|
|
110
|
-
name
|
|
111
|
-
url: string;
|
|
112
|
-
storagePath: string;
|
|
113
|
-
size: number;
|
|
114
|
-
deduplicationKey: string;
|
|
121
|
+
files?: {
|
|
122
|
+
id?: string;
|
|
123
|
+
name?: string;
|
|
115
124
|
source?: {
|
|
116
|
-
type
|
|
117
|
-
userId
|
|
125
|
+
type?: "UserUpload";
|
|
126
|
+
userId?: string;
|
|
118
127
|
} | {
|
|
119
|
-
type
|
|
120
|
-
renderMode
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
128
|
+
type?: "Figma";
|
|
129
|
+
renderMode?: "Image" | "HTML" | "JSON";
|
|
130
|
+
};
|
|
131
|
+
deduplicationKey?: string;
|
|
132
|
+
pendingUpload?: boolean;
|
|
133
|
+
storagePath?: string;
|
|
134
|
+
url?: string;
|
|
135
|
+
size?: number;
|
|
127
136
|
}[];
|
|
128
137
|
}>;
|
|
138
|
+
validateFigmaNodeAccess(input: DTOForgeFigmaNodeCreateRequest): Promise<boolean>;
|
|
139
|
+
exportFigmaNode(input: DTOForgeFigmaNodeCreateRequest): Promise<{
|
|
140
|
+
figmaNode?: {
|
|
141
|
+
id?: string;
|
|
142
|
+
code?: {
|
|
143
|
+
id?: string;
|
|
144
|
+
name?: string;
|
|
145
|
+
source?: {
|
|
146
|
+
type?: "UserUpload";
|
|
147
|
+
userId?: string;
|
|
148
|
+
} | {
|
|
149
|
+
type?: "Figma";
|
|
150
|
+
renderMode?: "Image" | "HTML" | "JSON";
|
|
151
|
+
};
|
|
152
|
+
url?: string;
|
|
153
|
+
};
|
|
154
|
+
state?: "Success" | "Failed" | "Optimizing";
|
|
155
|
+
origin?: {
|
|
156
|
+
nodeId?: string;
|
|
157
|
+
fileId?: string;
|
|
158
|
+
fileName?: string;
|
|
159
|
+
fileLastEditedAt?: string;
|
|
160
|
+
nodeName?: string;
|
|
161
|
+
};
|
|
162
|
+
thumbnail?: {
|
|
163
|
+
id?: string;
|
|
164
|
+
name?: string;
|
|
165
|
+
source?: {
|
|
166
|
+
type?: "UserUpload";
|
|
167
|
+
userId?: string;
|
|
168
|
+
} | {
|
|
169
|
+
type?: "Figma";
|
|
170
|
+
renderMode?: "Image" | "HTML" | "JSON";
|
|
171
|
+
};
|
|
172
|
+
url?: string;
|
|
173
|
+
};
|
|
174
|
+
json?: {
|
|
175
|
+
id?: string;
|
|
176
|
+
name?: string;
|
|
177
|
+
source?: {
|
|
178
|
+
type?: "UserUpload";
|
|
179
|
+
userId?: string;
|
|
180
|
+
} | {
|
|
181
|
+
type?: "Figma";
|
|
182
|
+
renderMode?: "Image" | "HTML" | "JSON";
|
|
183
|
+
};
|
|
184
|
+
url?: string;
|
|
185
|
+
};
|
|
186
|
+
html?: {
|
|
187
|
+
id?: string;
|
|
188
|
+
name?: string;
|
|
189
|
+
source?: {
|
|
190
|
+
type?: "UserUpload";
|
|
191
|
+
userId?: string;
|
|
192
|
+
} | {
|
|
193
|
+
type?: "Figma";
|
|
194
|
+
renderMode?: "Image" | "HTML" | "JSON";
|
|
195
|
+
};
|
|
196
|
+
url?: string;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
}>;
|
|
129
200
|
/** Deletes single resource of any type */
|
|
130
201
|
deleteResource(from: RemoteVersionIdentifier, resourceId: string): Promise<void>;
|
|
131
202
|
/** Deletes multiple resource of any type */
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SandboxTemplate } from "../../model/sandboxes/SDKSandboxTemplate";
|
|
2
|
+
import type { DataCore } from "../data/SDKDataCore";
|
|
3
|
+
export declare class AreaSandboxes {
|
|
4
|
+
private dataCore;
|
|
5
|
+
constructor(dataCore: DataCore);
|
|
6
|
+
getSandboxTemplateList({ workspaceId, designSystemId, }: {
|
|
7
|
+
workspaceId: string;
|
|
8
|
+
designSystemId?: string;
|
|
9
|
+
}): Promise<SandboxTemplate[]>;
|
|
10
|
+
sandboxKeepAlive(workspaceId: string, projectId: string, featureId: string, sandboxId: string): Promise<{
|
|
11
|
+
id?: string;
|
|
12
|
+
url?: string;
|
|
13
|
+
error?: {
|
|
14
|
+
stage?: "PackageInstall" | "HealthCheck" | "Build" | "Unknown";
|
|
15
|
+
errorDescription?: string;
|
|
16
|
+
};
|
|
17
|
+
parentMessageId?: string;
|
|
18
|
+
currentIterationId?: string;
|
|
19
|
+
featureId?: string;
|
|
20
|
+
expiresAt?: string;
|
|
21
|
+
}>;
|
|
22
|
+
provisionSandbox(workspaceId: string, projectId: string, featureId: string, parentMessageId?: string): Promise<{
|
|
23
|
+
ok?: boolean;
|
|
24
|
+
}>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { DTOThreadMessageCreateInput, DTOThreadMessageFinalizeInput, DTOThreadMessageRetryInput, DTOThreadReactionCreateInput, DTOThreadReactionDeleteInput } from "@supernova-studio/client";
|
|
2
|
+
import { DataCore } from "../data/SDKDataCore";
|
|
3
|
+
export declare class AreaThreads {
|
|
4
|
+
/** Internal: Engine */
|
|
5
|
+
private dataCore;
|
|
6
|
+
constructor(dataCore: DataCore);
|
|
7
|
+
/**
|
|
8
|
+
* Gets the messages for a specific thread.
|
|
9
|
+
* @param threadId - The ID of the thread.
|
|
10
|
+
* @returns An array of ThreadMessage objects.
|
|
11
|
+
*/
|
|
12
|
+
getMessages(threadId: string): Promise<import("../..").ThreadMessageList>;
|
|
13
|
+
/**
|
|
14
|
+
* Creates a new message in a specific thread.
|
|
15
|
+
* @param threadId - The ID of the thread.
|
|
16
|
+
* @param input - The input for the message.
|
|
17
|
+
* @returns A new ThreadMessage object.
|
|
18
|
+
*/
|
|
19
|
+
createMessage(threadId: string, input: DTOThreadMessageCreateInput): Promise<import("../..").ThreadMessage>;
|
|
20
|
+
/**
|
|
21
|
+
* Retries an agent message in a specific thread.
|
|
22
|
+
* @param threadId - The ID of the thread.
|
|
23
|
+
* @param input - The input for the retry.
|
|
24
|
+
* @returns A new ThreadMessage object.
|
|
25
|
+
*/
|
|
26
|
+
retryMessage(threadId: string, input: DTOThreadMessageRetryInput): Promise<import("../..").ThreadMessage>;
|
|
27
|
+
/**
|
|
28
|
+
* Creates a new message reaction in a specific thread.
|
|
29
|
+
* @param threadId - The ID of the thread.
|
|
30
|
+
* @param input - The input for the message reaction.
|
|
31
|
+
* @returns A new ThreadMessageReaction object.
|
|
32
|
+
*/
|
|
33
|
+
createMessageReaction(threadId: string, input: DTOThreadReactionCreateInput): Promise<import("../..").ThreadMessageReaction>;
|
|
34
|
+
/**
|
|
35
|
+
* Removes a message reaction from a specific thread.
|
|
36
|
+
* @param threadId - The ID of the thread.
|
|
37
|
+
* @param input - The input for the message reaction.
|
|
38
|
+
* @returns A new ThreadMessageReaction object.
|
|
39
|
+
*/
|
|
40
|
+
removeMessageReaction(threadId: string, input: DTOThreadReactionDeleteInput): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Finalizes a message in a specific thread.
|
|
43
|
+
* @param threadId - The ID of the thread.
|
|
44
|
+
* @param input - The input for the thread.
|
|
45
|
+
* @returns Finalize input
|
|
46
|
+
*/
|
|
47
|
+
finalizeMessage(threadId: string, input: DTOThreadMessageFinalizeInput): Promise<{
|
|
48
|
+
message?: {
|
|
49
|
+
id?: string;
|
|
50
|
+
createdAt?: string;
|
|
51
|
+
updatedAt?: string;
|
|
52
|
+
parentMessageId?: string;
|
|
53
|
+
threadId?: string;
|
|
54
|
+
sender?: {
|
|
55
|
+
type?: "User";
|
|
56
|
+
userId?: string;
|
|
57
|
+
} | {
|
|
58
|
+
type?: "Agent";
|
|
59
|
+
agentType?: "Ask" | "Document" | "Prototype" | "ReleaseNotes";
|
|
60
|
+
} | {
|
|
61
|
+
type?: "System";
|
|
62
|
+
onBehalfOfUserId?: string;
|
|
63
|
+
};
|
|
64
|
+
body?: string;
|
|
65
|
+
isPrompt?: boolean;
|
|
66
|
+
isRetry?: boolean;
|
|
67
|
+
startsNewThread?: boolean;
|
|
68
|
+
agentResponseTrackerId?: string;
|
|
69
|
+
attachments?: {
|
|
70
|
+
files?: {
|
|
71
|
+
id?: string;
|
|
72
|
+
name?: string;
|
|
73
|
+
source?: {
|
|
74
|
+
type?: "UserUpload";
|
|
75
|
+
userId?: string;
|
|
76
|
+
} | {
|
|
77
|
+
type?: "Figma";
|
|
78
|
+
renderMode?: "Image" | "HTML" | "JSON";
|
|
79
|
+
};
|
|
80
|
+
url?: string;
|
|
81
|
+
}[];
|
|
82
|
+
figmaNodes?: {
|
|
83
|
+
id?: string;
|
|
84
|
+
code?: {
|
|
85
|
+
id?: string;
|
|
86
|
+
name?: string;
|
|
87
|
+
source?: {
|
|
88
|
+
type?: "UserUpload";
|
|
89
|
+
userId?: string;
|
|
90
|
+
} | {
|
|
91
|
+
type?: "Figma";
|
|
92
|
+
renderMode?: "Image" | "HTML" | "JSON";
|
|
93
|
+
};
|
|
94
|
+
url?: string;
|
|
95
|
+
};
|
|
96
|
+
state?: "Success" | "Failed" | "Optimizing";
|
|
97
|
+
origin?: {
|
|
98
|
+
nodeId?: string;
|
|
99
|
+
fileId?: string;
|
|
100
|
+
fileName?: string;
|
|
101
|
+
fileLastEditedAt?: string;
|
|
102
|
+
nodeName?: string;
|
|
103
|
+
};
|
|
104
|
+
thumbnail?: {
|
|
105
|
+
id?: string;
|
|
106
|
+
name?: string;
|
|
107
|
+
source?: {
|
|
108
|
+
type?: "UserUpload";
|
|
109
|
+
userId?: string;
|
|
110
|
+
} | {
|
|
111
|
+
type?: "Figma";
|
|
112
|
+
renderMode?: "Image" | "HTML" | "JSON";
|
|
113
|
+
};
|
|
114
|
+
url?: string;
|
|
115
|
+
};
|
|
116
|
+
json?: {
|
|
117
|
+
id?: string;
|
|
118
|
+
name?: string;
|
|
119
|
+
source?: {
|
|
120
|
+
type?: "UserUpload";
|
|
121
|
+
userId?: string;
|
|
122
|
+
} | {
|
|
123
|
+
type?: "Figma";
|
|
124
|
+
renderMode?: "Image" | "HTML" | "JSON";
|
|
125
|
+
};
|
|
126
|
+
url?: string;
|
|
127
|
+
};
|
|
128
|
+
html?: {
|
|
129
|
+
id?: string;
|
|
130
|
+
name?: string;
|
|
131
|
+
source?: {
|
|
132
|
+
type?: "UserUpload";
|
|
133
|
+
userId?: string;
|
|
134
|
+
} | {
|
|
135
|
+
type?: "Figma";
|
|
136
|
+
renderMode?: "Image" | "HTML" | "JSON";
|
|
137
|
+
};
|
|
138
|
+
url?: string;
|
|
139
|
+
};
|
|
140
|
+
}[];
|
|
141
|
+
iterationId?: string;
|
|
142
|
+
templateId?: string;
|
|
143
|
+
};
|
|
144
|
+
annotations?: {
|
|
145
|
+
prompt?: string;
|
|
146
|
+
elements?: {
|
|
147
|
+
xpath?: string;
|
|
148
|
+
line?: string;
|
|
149
|
+
}[];
|
|
150
|
+
}[];
|
|
151
|
+
replyToMessageId?: string;
|
|
152
|
+
promptMetadata?: Record<string, any>;
|
|
153
|
+
};
|
|
154
|
+
}>;
|
|
155
|
+
}
|
|
@@ -4,6 +4,7 @@ import { ElementDataView } from "../../model/elements/SDKElementDataView";
|
|
|
4
4
|
import { ElementDataViewColumn } from "../../model/elements/SDKElementDataViewColumn";
|
|
5
5
|
import { ElementProperty, ElementPropertyCreationModel, ElementPropertyUpdateModel } from "../../model/elements/SDKElementProperty";
|
|
6
6
|
import { ElementPropertyValue } from "../../model/elements/values/SDKElementPropertyValue";
|
|
7
|
+
import { ActivityEventOptions } from "../data/requests/SDKDataCoreWriteRequests";
|
|
7
8
|
import { TokenType } from "../../model/enums/SDKTokenType";
|
|
8
9
|
import { TokenGroup } from "../../model/groups/SDKTokenGroup";
|
|
9
10
|
import { TokenTheme } from "../../model/themes/SDKTokenTheme";
|
|
@@ -28,7 +29,7 @@ export declare class AreaTokens {
|
|
|
28
29
|
getTokens(from: RemoteVersionIdentifier, filter?: {
|
|
29
30
|
type?: TokenType;
|
|
30
31
|
brandId?: string;
|
|
31
|
-
}): Promise<Array<
|
|
32
|
+
}): Promise<Array<AnyToken>>;
|
|
32
33
|
/** Retrieves all occurances of the specified token in the version - its usages in other tokens, components and documentation pages
|
|
33
34
|
* @param from - Remote version to fetch from
|
|
34
35
|
* @param idInVersion - Token to check for references
|
|
@@ -77,7 +78,11 @@ export declare class AreaTokens {
|
|
|
77
78
|
* @returns All token collections in the specified version
|
|
78
79
|
*/
|
|
79
80
|
getTokenCollections(from: RemoteVersionIdentifier): Promise<Array<DesignSystemCollection>>;
|
|
80
|
-
/** Creates remote token.
|
|
81
|
+
/** Creates remote token. The token's own persistent id is sent to the server, so this method can only be used once per token. Calling it for a token that already exists remotely will result in error
|
|
82
|
+
*
|
|
83
|
+
* Both `id` and `idInVersion` are written back onto the passed token from the server response.
|
|
84
|
+
*
|
|
85
|
+
* Only the token itself is written. To create it together with theme overrides or property values, use `bulkOperations.updateTokenData` with `tokenMode: "create"`.
|
|
81
86
|
* @param to - Remote version to write to
|
|
82
87
|
* @param token - Token to create
|
|
83
88
|
* @param parentId - Id of the group to add the token to. This is id of the group, not the versioned id
|
|
@@ -92,7 +97,7 @@ export declare class AreaTokens {
|
|
|
92
97
|
* @returns New token of the specified type, filled with default values
|
|
93
98
|
*/
|
|
94
99
|
createLocalToken<T extends TokenType>(tokenType: T, versionId: string, brandId: string, properties: Array<ElementProperty>): TokenTypeMapToken[T];
|
|
95
|
-
/** Creates local token override. This theme override doesn't have id associated with it on remote
|
|
100
|
+
/** Creates local token override. This theme override doesn't have id associated with it on remote — convert it with `TokenTheme.toWriteOverrideObject` and pass the result to `bulkOperations.updateTokenData` as a theme value to store it in design system
|
|
96
101
|
* @param tokenType - Type of token to create
|
|
97
102
|
* @returns New token of the specified type, filled with default values
|
|
98
103
|
*/
|
|
@@ -217,24 +222,20 @@ export declare class AreaTokens {
|
|
|
217
222
|
*/
|
|
218
223
|
deleteTokenTheme(to: RemoteVersionIdentifier, idInVersion: string): Promise<void>;
|
|
219
224
|
/** Warning: INTERNAL, DO NOT USE YET, NOT STABLE INTERFACE. Write tokens in bulk */
|
|
220
|
-
writeTokens(to: RemoteVersionIdentifier, tokens: Array<Token>, groups: Array<TokenGroup>, deleteTokens: Array<Token>, deleteTokenGroups: Array<TokenGroup
|
|
225
|
+
writeTokens(to: RemoteVersionIdentifier, tokens: Array<Token>, groups: Array<TokenGroup>, deleteTokens: Array<Token>, deleteTokenGroups: Array<TokenGroup>, activityEventOptions?: ActivityEventOptions): Promise<void>;
|
|
221
226
|
/** Warning: INTERNAL, DO NOT USE YET, NOT STABLE INTERFACE. Write theme in bulk */
|
|
222
|
-
writeTheme(to: RemoteVersionIdentifier, theme: TokenTheme): Promise<void>;
|
|
227
|
+
writeTheme(to: RemoteVersionIdentifier, theme: TokenTheme, activityEventOptions?: ActivityEventOptions): Promise<void>;
|
|
223
228
|
/** Resolves tokens by applying themes to them and retrieves new token set where values correctly correspond to that theme */
|
|
224
|
-
computeTokensByApplyingThemes(allTokens: Array<Token>, tokens: Array<Token>, themes: Array<TokenTheme>): Array<
|
|
225
|
-
computeInnerReferencesByApplyingThemesEfficient(tokensIndex: Map<string, Token>, themeOverridesIndex:
|
|
226
|
-
[key: string]: Map<string, Token>;
|
|
227
|
-
}, tokens: Array<Token>, themes: Array<TokenTheme>): Array<Token>;
|
|
229
|
+
computeTokensByApplyingThemes(allTokens: Array<Token>, tokens: Array<Token>, themes: Array<TokenTheme>): Array<AnyToken>;
|
|
230
|
+
computeInnerReferencesByApplyingThemesEfficient(tokensIndex: Map<string, Token>, themeOverridesIndex: Record<string, Map<string, Token>>, tokens: Array<Token>, themes: Array<TokenTheme>): Array<AnyToken>;
|
|
228
231
|
private computeSingleTokenValueFromReferenceByApplyingThemes;
|
|
229
|
-
computeTokensByApplyingThemesEfficient(tokensIndex: Map<string, Token>, themeOverridesIndex:
|
|
230
|
-
[key: string]: Map<string, Token>;
|
|
231
|
-
}, tokens: Array<Token>, themes: Array<TokenTheme>): Array<Token>;
|
|
232
|
+
computeTokensByApplyingThemesEfficient(tokensIndex: Map<string, Token>, themeOverridesIndex: Record<string, Map<string, Token>>, tokens: Array<Token>, themes: Array<TokenTheme>): Array<AnyToken>;
|
|
232
233
|
/** Separates groups by types */
|
|
233
|
-
computeGroupTrees(groups: Array<TokenGroup>):
|
|
234
|
+
computeGroupTrees(groups: Array<TokenGroup>): Map<TokenType, Array<TokenGroup>>;
|
|
234
235
|
/** Get determistic mocked token data. Must be used with mocked token groups */
|
|
235
|
-
getMockedTokens(from: RemoteBrandIdentifier):
|
|
236
|
+
getMockedTokens(from: RemoteBrandIdentifier): Array<AnyToken>;
|
|
236
237
|
/** Get determistic mocked token group data. Must be used with mocked tokens */
|
|
237
|
-
getMockedTokenGroups(from: RemoteBrandIdentifier):
|
|
238
|
+
getMockedTokenGroups(from: RemoteBrandIdentifier): Array<TokenGroup>;
|
|
238
239
|
/** Get determistic mocked token data views. Must be used with mocked tokens */
|
|
239
|
-
getMockedTokenDataViews(
|
|
240
|
+
getMockedTokenDataViews(_from: RemoteVersionIdentifier): Array<ElementDataView>;
|
|
240
241
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { WorkspaceIntegrationType, WorkspaceIntegrations } from "../../model/workspaces/SDKWorkspaceIntegration";
|
|
1
|
+
import { WorkspaceIntegration, WorkspaceIntegrationType, WorkspaceIntegrations } from "../../model/workspaces/SDKWorkspaceIntegration";
|
|
2
2
|
import { WorkspaceIntegrationAccessTokenPayload } from "../../model/workspaces/SDKWorkspaceIntegrationAccessToken";
|
|
3
3
|
import { WorkspaceIntegrationGetGitProvidersInput } from "../../model/workspaces/SDKWorkspaceIntegrationGetGitProviders";
|
|
4
|
-
import { OAuth2IntegrationTypes, WorkspaceIntegrationOauthRequest } from "../../model/workspaces/SDKWorkspaceIntegrationOauthRequest";
|
|
4
|
+
import { OAuth2IntegrationPlatform, OAuth2IntegrationTypes, WorkspaceIntegrationOauthRequest } from "../../model/workspaces/SDKWorkspaceIntegrationOauthRequest";
|
|
5
5
|
import { GitProvidersBranches } from "../../model/workspaces/integrations/GitProvidersBranches";
|
|
6
6
|
import { GitProvidersOrganizations } from "../../model/workspaces/integrations/GitProvidersOrganizations";
|
|
7
7
|
import { GitProvidersProjects } from "../../model/workspaces/integrations/GitProvidersProjects";
|
|
@@ -19,11 +19,13 @@ export declare class AreaWorkspaceIntegrations {
|
|
|
19
19
|
/** Fetches redirect url for oauth of one specific workspace integration by workspace id and integration type
|
|
20
20
|
* @param workspaceId - ID of the workspace
|
|
21
21
|
* @param type - Type of integration
|
|
22
|
+
* @param platform - Platform of the integration (Desktop or Browser), defaults to Browser
|
|
22
23
|
* @returns Object with redirect url
|
|
23
24
|
*/
|
|
24
|
-
getRedirectUrl({ workspaceId, type, }: {
|
|
25
|
+
getRedirectUrl({ workspaceId, type, platform, }: {
|
|
25
26
|
workspaceId: string;
|
|
26
27
|
type: OAuth2IntegrationTypes;
|
|
28
|
+
platform?: OAuth2IntegrationPlatform;
|
|
27
29
|
}): Promise<WorkspaceIntegrationOauthRequest>;
|
|
28
30
|
/** Fetches Organizations
|
|
29
31
|
* @param workspaceId - ID of the workspace
|
|
@@ -75,7 +77,7 @@ export declare class AreaWorkspaceIntegrations {
|
|
|
75
77
|
createWorkspaceIntegrationAccessToken({ workspaceId, payload, }: {
|
|
76
78
|
workspaceId: string;
|
|
77
79
|
payload: WorkspaceIntegrationAccessTokenPayload;
|
|
78
|
-
}): Promise<
|
|
80
|
+
}): Promise<WorkspaceIntegration>;
|
|
79
81
|
/** Delete workspace integration's connection
|
|
80
82
|
* @param workspaceId - ID of the workspace
|
|
81
83
|
* @param integrationId - ID of the integration
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { DTOPortalSettingsUpdatePayload, DTOWorkspaceUntypedDataListResponse, DTOWorkspaceUntypedDataResponse } from "@supernova-studio/client";
|
|
1
|
+
import { DTOLoginScreenSettingsUpdate, DTOPortalSettingsUpdatePayload, DTOWorkspaceUntypedDataListResponse, DTOWorkspaceUntypedDataResponse } from "@supernova-studio/client";
|
|
2
2
|
import { WorkspaceSeatType } from "@supernova-studio/model";
|
|
3
|
+
import { JSONObject } from "../../utils/SDKJSONValue";
|
|
3
4
|
import { UserRole } from "../../model/enums/SDKUserRole";
|
|
4
5
|
import { WorkspaceSubscriptionPlanInterval } from "../../model/enums/SDKWorkspaceSubscriptionPlanInterval";
|
|
5
6
|
import { SubscriptionCheckoutProductCode } from "../../model/enums/SDKWorkspaceSubscriptionProduct";
|
|
6
7
|
import { Membership } from "../../model/membership/SDKMembership";
|
|
7
8
|
import { UserMembership } from "../../model/users/SDKUserMembership";
|
|
8
|
-
import {
|
|
9
|
+
import { NotificationSettingsUpdateModel, UserWorkspaceNotificationSettings } from "../../model/users/SDKUserWorkspaceNotificationSettings";
|
|
9
10
|
import { DefaultProjectAccessMode, DefaultProjectRole, Workspace } from "../../model/workspaces/SDKWorkspace";
|
|
10
11
|
import { WorkspaceIPWhitelistSettings, WorkspaceIPWhitelistSettingsUpdateModel } from "../../model/workspaces/SDKWorkspaceIPWhitelistSettings";
|
|
11
12
|
import { WorkspaceInvitation, WorkspaceInvitationUpdateModel } from "../../model/workspaces/SDKWorkspaceInvitation";
|
|
@@ -17,6 +18,7 @@ import { WorkspaceProduct } from "../../model/workspaces/SDKWorkspaceProduct";
|
|
|
17
18
|
import { SubscriptionProductFeatures } from "../../model/workspaces/SDKWorkspaceProductFeatures";
|
|
18
19
|
import { WorkspaceProfileUpdateModel } from "../../model/workspaces/SDKWorkspaceProfile";
|
|
19
20
|
import { WorkspaceSSOSettings, WorkspaceSSOSettingsUpdateModel } from "../../model/workspaces/SDKWorkspaceSSOSettings";
|
|
21
|
+
import { WorkspaceScimToken, WorkspaceScimTokenCreateResult } from "../../model/workspaces/SDKWorkspaceScimToken";
|
|
20
22
|
import { WorkspaceSubscription, WorkspaceSubscriptionUpdateModel, WorkspaceSubscriptionUpdatePreviewModel } from "../../model/workspaces/SDKWorkspaceSubscription";
|
|
21
23
|
import { DataCore } from "../data/SDKDataCore";
|
|
22
24
|
export declare class AreaWorkspaces {
|
|
@@ -79,6 +81,21 @@ export declare class AreaWorkspaces {
|
|
|
79
81
|
* @returns Workspace SSO settings or null if the workspace is not using SSO
|
|
80
82
|
*/
|
|
81
83
|
workspaceSSOSettings(workspaceId: string): Promise<WorkspaceSSOSettings | null>;
|
|
84
|
+
/** Fetches all SCIM tokens of the workspace
|
|
85
|
+
* @param workspaceId - ID of the workspace
|
|
86
|
+
* @returns All SCIM tokens of the workspace
|
|
87
|
+
*/
|
|
88
|
+
workspaceScimTokens(workspaceId: string): Promise<WorkspaceScimToken[]>;
|
|
89
|
+
/** Creates a SCIM token, returning the raw secret exactly once
|
|
90
|
+
* @param workspaceId - ID of the workspace
|
|
91
|
+
* @param name - Name of the token
|
|
92
|
+
*/
|
|
93
|
+
createWorkspaceScimToken(workspaceId: string, name: string): Promise<WorkspaceScimTokenCreateResult>;
|
|
94
|
+
/** Deletes a SCIM token of the workspace
|
|
95
|
+
* @param workspaceId - ID of the workspace
|
|
96
|
+
* @param tokenId - ID of the token to delete
|
|
97
|
+
*/
|
|
98
|
+
deleteWorkspaceScimToken(workspaceId: string, tokenId: string): Promise<void>;
|
|
82
99
|
/** Fetches all invitations that are part of the workspace.
|
|
83
100
|
* @param workspaceId - ID of the workspace
|
|
84
101
|
* @returns All invitations of the provided workspace
|
|
@@ -104,13 +121,18 @@ export declare class AreaWorkspaces {
|
|
|
104
121
|
* @returns Workspace portal settings
|
|
105
122
|
*/
|
|
106
123
|
workspacePortalSettings(workspaceId: string): Promise<import("../..").PortalSettings>;
|
|
124
|
+
/** Fetches workspace login screen settings
|
|
125
|
+
* @param workspaceId - ID of the workspace
|
|
126
|
+
* @returns Workspace login screen settings
|
|
127
|
+
*/
|
|
128
|
+
workspaceLoginScreenSettings(workspaceId: string): Promise<import("../..").LoginScreenSettings>;
|
|
107
129
|
/**
|
|
108
130
|
* Checks whether the workspace has available credits
|
|
109
131
|
* @param workspaceId - ID of the workspace
|
|
110
132
|
* @returns boolean - true if the workspace has available credits, false otherwise
|
|
111
133
|
*/
|
|
112
134
|
getWorkspaceCreditsAvailability(workspaceId: string): Promise<{
|
|
113
|
-
canSpendCredits
|
|
135
|
+
canSpendCredits?: boolean;
|
|
114
136
|
}>;
|
|
115
137
|
/** Creates new workspace and retrieves the newly created workspace object. The user who creates the workspace becomes its owner
|
|
116
138
|
* @param name - Name of the workspace
|
|
@@ -179,7 +201,7 @@ export declare class AreaWorkspaces {
|
|
|
179
201
|
* @param workspaceId - ID of the workspace
|
|
180
202
|
* @returns Nothing
|
|
181
203
|
*/
|
|
182
|
-
updateUserWorkspaceNotificationSettings(userId: string, workspaceId: string, notificationSettings:
|
|
204
|
+
updateUserWorkspaceNotificationSettings(userId: string, workspaceId: string, notificationSettings: NotificationSettingsUpdateModel): Promise<void>;
|
|
183
205
|
/** Transfers an ownership of the workspace.
|
|
184
206
|
* Old owner receives new owner's previous role.
|
|
185
207
|
* @param workspaceId - ID of the workspace
|
|
@@ -263,6 +285,12 @@ export declare class AreaWorkspaces {
|
|
|
263
285
|
* @returns Nothing
|
|
264
286
|
*/
|
|
265
287
|
updateWorkspacePortalSettings(workspaceId: string, settings: DTOPortalSettingsUpdatePayload): Promise<void>;
|
|
288
|
+
/** Updates workspace login screen settings
|
|
289
|
+
* @param workspaceId - ID of the workspace
|
|
290
|
+
* @param settings - updated settings
|
|
291
|
+
* @returns Nothing
|
|
292
|
+
*/
|
|
293
|
+
updateWorkspaceLoginScreenSettings(workspaceId: string, settings: DTOLoginScreenSettingsUpdate): Promise<void>;
|
|
266
294
|
/** Deletes a single workspace. This action is irreversible, all data will be lost, and can only be performed by the workspace owner
|
|
267
295
|
* @param workspaceId - ID of the workspace
|
|
268
296
|
* @returns Nothing
|
|
@@ -291,10 +319,10 @@ export declare class AreaWorkspaces {
|
|
|
291
319
|
*/
|
|
292
320
|
deleteWorkspaceInvitation(workspaceId: string, invitationId: string): Promise<void>;
|
|
293
321
|
/**
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
322
|
+
* Lists all untyped data for a given workspace.
|
|
323
|
+
* @param workspaceId - The ID of the workspace.
|
|
324
|
+
* @returns A promise that resolves to the list of untyped data.
|
|
325
|
+
*/
|
|
298
326
|
listUntypedData(workspaceId: string): Promise<DTOWorkspaceUntypedDataListResponse>;
|
|
299
327
|
/**
|
|
300
328
|
* Creates new untyped data in the specified workspace.
|
|
@@ -302,7 +330,7 @@ export declare class AreaWorkspaces {
|
|
|
302
330
|
* @param data - The data to create. Must be a valid JSON object.
|
|
303
331
|
* @returns A promise that resolves to the created untyped data.
|
|
304
332
|
*/
|
|
305
|
-
createUntypedData(workspaceId: string, data:
|
|
333
|
+
createUntypedData(workspaceId: string, data: JSONObject): Promise<DTOWorkspaceUntypedDataResponse>;
|
|
306
334
|
/**
|
|
307
335
|
* Deletes all untyped data in the specified workspace.
|
|
308
336
|
* @param workspaceId - The ID of the workspace.
|
|
@@ -316,7 +344,7 @@ export declare class AreaWorkspaces {
|
|
|
316
344
|
* @param data - The updated data. Must be a valid JSON object.
|
|
317
345
|
* @returns A promise that resolves to the updated untyped data.
|
|
318
346
|
*/
|
|
319
|
-
updateUntypedData(workspaceId: string, id: string, data:
|
|
347
|
+
updateUntypedData(workspaceId: string, id: string, data: JSONObject): Promise<DTOWorkspaceUntypedDataResponse>;
|
|
320
348
|
/**
|
|
321
349
|
* Deletes specific untyped data in the specified workspace.
|
|
322
350
|
* @param workspaceId - The ID of the workspace.
|