@supernova-studio/supernova-sdk-beta 0.7.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (417) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +135 -0
  3. package/build/sdk-typescript/.eslintrc.d.cts +41 -0
  4. package/build/sdk-typescript/src/browser-bundle.d.ts +1 -0
  5. package/build/sdk-typescript/src/core/SDKSupernova.d.ts +77 -0
  6. package/build/sdk-typescript/src/core/areas/SDKAreaAssets.d.ts +46 -0
  7. package/build/sdk-typescript/src/core/areas/SDKAreaAutomation.d.ts +233 -0
  8. package/build/sdk-typescript/src/core/areas/SDKAreaBrands.d.ts +35 -0
  9. package/build/sdk-typescript/src/core/areas/SDKAreaBulkOperations.d.ts +68 -0
  10. package/build/sdk-typescript/src/core/areas/SDKAreaComponents.d.ts +162 -0
  11. package/build/sdk-typescript/src/core/areas/SDKAreaDataSources.d.ts +54 -0
  12. package/build/sdk-typescript/src/core/areas/SDKAreaDesignSystems.d.ts +104 -0
  13. package/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +179 -0
  14. package/build/sdk-typescript/src/core/areas/SDKAreaIntegrations.d.ts +91 -0
  15. package/build/sdk-typescript/src/core/areas/SDKAreaMe.d.ts +22 -0
  16. package/build/sdk-typescript/src/core/areas/SDKAreaMultiplayer.d.ts +10 -0
  17. package/build/sdk-typescript/src/core/areas/SDKAreaNetwork.d.ts +9 -0
  18. package/build/sdk-typescript/src/core/areas/SDKAreaResources.d.ts +46 -0
  19. package/build/sdk-typescript/src/core/areas/SDKAreaStorage.d.ts +23 -0
  20. package/build/sdk-typescript/src/core/areas/SDKAreaTokenValues.d.ts +136 -0
  21. package/build/sdk-typescript/src/core/areas/SDKAreaTokens.d.ts +225 -0
  22. package/build/sdk-typescript/src/core/areas/SDKAreaUsers.d.ts +6 -0
  23. package/build/sdk-typescript/src/core/areas/SDKAreaVersions.d.ts +35 -0
  24. package/build/sdk-typescript/src/core/areas/SDKAreaWorkspaces.d.ts +230 -0
  25. package/build/sdk-typescript/src/core/areas/SDKRemoteIdentifiers.d.ts +25 -0
  26. package/build/sdk-typescript/src/core/data/SDKConfiguration.d.ts +6 -0
  27. package/build/sdk-typescript/src/core/data/SDKDataBridge.d.ts +55 -0
  28. package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +508 -0
  29. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +232 -0
  30. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreRenderRequests.d.ts +18 -0
  31. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +237 -0
  32. package/build/sdk-typescript/src/core/errors/SDKSupernovaError.d.ts +47 -0
  33. package/build/sdk-typescript/src/core/resolvers/SDKAssetGroupResolver.d.ts +18 -0
  34. package/build/sdk-typescript/src/core/resolvers/SDKComponentGroupResolver.d.ts +13 -0
  35. package/build/sdk-typescript/src/core/resolvers/SDKComponentResolver.d.ts +7 -0
  36. package/build/sdk-typescript/src/core/resolvers/SDKDesignComponentGroupResolver.d.ts +10 -0
  37. package/build/sdk-typescript/src/core/resolvers/SDKDocsEntityMultiplayerItemResolver.d.ts +7 -0
  38. package/build/sdk-typescript/src/core/resolvers/SDKDocumentationItemResolver.d.ts +31 -0
  39. package/build/sdk-typescript/src/core/resolvers/SDKTokenGroupResolver.d.ts +10 -0
  40. package/build/sdk-typescript/src/core/resolvers/SDKTokenResolver.d.ts +105 -0
  41. package/build/sdk-typescript/src/exports-pulsar.d.ts +228 -0
  42. package/build/sdk-typescript/src/exports.d.ts +291 -0
  43. package/build/sdk-typescript/src/index.d.ts +5 -0
  44. package/build/sdk-typescript/src/model/acl/SDKAcl.d.ts +51 -0
  45. package/build/sdk-typescript/src/model/assets/SDKAsset.d.ts +17 -0
  46. package/build/sdk-typescript/src/model/assets/SDKRenderedAsset.d.ts +28 -0
  47. package/build/sdk-typescript/src/model/base/SDKBrand.d.ts +34 -0
  48. package/build/sdk-typescript/src/model/base/SDKDesignSystem.d.ts +54 -0
  49. package/build/sdk-typescript/src/model/base/SDKDesignSystemVersion.d.ts +45 -0
  50. package/build/sdk-typescript/src/model/base/SDKDocumentationLegacy.d.ts +10 -0
  51. package/build/sdk-typescript/src/model/components/SDKComponent.d.ts +32 -0
  52. package/build/sdk-typescript/src/model/components/SDKDesignComponent.d.ts +34 -0
  53. package/build/sdk-typescript/src/model/docs/SDKDocsConfiguration.d.ts +13 -0
  54. package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockBehavior.d.ts +36 -0
  55. package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockDefinition.d.ts +47 -0
  56. package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockItemDefinition.d.ts +20 -0
  57. package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockLayout.d.ts +19 -0
  58. package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockOnboarding.d.ts +11 -0
  59. package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockVariant.d.ts +35 -0
  60. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/assets/SDKDocsBlockActualAssets.d.ts +6 -0
  61. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/blockquote/SDKDocsBlockActualBlockquote.d.ts +6 -0
  62. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/callout/SDKDocsBlockActualCallout.d.ts +6 -0
  63. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/code/SDKDocsBlockActualCode.d.ts +6 -0
  64. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/code-react/SDKDocsBlockActualCodeReact.d.ts +6 -0
  65. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/color-accessibility-grid/SDKDocsBlockActualAccessibilityGrid.d.ts +6 -0
  66. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/color-ramps/SDKDocsBlockActualColorRamps.d.ts +6 -0
  67. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/component-checklist/SDKDocsBlockActualComponentChecklist.d.ts +6 -0
  68. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/component-checklist-all/SDKDocsBlockActualComponentChecklistAll.d.ts +6 -0
  69. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/component-health/SDKDocsBlockActualComponentHealth.d.ts +6 -0
  70. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/design-tokens/SDKDocsBlockActualDesignTokens.d.ts +6 -0
  71. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/divider/SDKDocsBlockActualDivider.d.ts +6 -0
  72. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed/SDKDocsBlockActualEmbed.d.ts +6 -0
  73. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed-figma/SDKDocsBlockActualEmbedFigma.d.ts +6 -0
  74. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed-lottie/SDKDocsBlockActualEmbedLottie.d.ts +6 -0
  75. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed-youtube/SDKDocsBlockActualEmbedYoutube.d.ts +6 -0
  76. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/figma-frames/SDKDocsBlockActualFigmaFrames.d.ts +6 -0
  77. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/image/SDKDocsBlockActualImage.d.ts +6 -0
  78. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/link/SDKDocsBlockActualLink.d.ts +8 -0
  79. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/markdown/SDKDocsBlockActualMarkdown.d.ts +6 -0
  80. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/omni-multi-item/SDKDocsBlockActualOmniMultiItem.d.ts +6 -0
  81. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/omni-single-item/SDKDocsBlockActualOmniSingleItem.d.ts +6 -0
  82. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/ordered-list/SDKDocsBlockActualOrderedList.d.ts +6 -0
  83. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/release-notes/SDKDocsBlockActualReleaseNotes.d.ts +6 -0
  84. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/rich-text/SDKDocsBlockActualRichText.d.ts +6 -0
  85. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/shortcut-links/SDKDocsBlockActualShortcutLinks.d.ts +8 -0
  86. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/storybook/SDKDocsBlockActualStorybook.d.ts +6 -0
  87. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/table/SDKDocsBlockActualTable.d.ts +6 -0
  88. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title1/SDKDocsBlockActualTitle1.d.ts +6 -0
  89. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title2/SDKDocsBlockActualTitle2.d.ts +6 -0
  90. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title3/SDKDocsBlockActualTitle3.d.ts +6 -0
  91. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title4/SDKDocsBlockActualTitle4.d.ts +6 -0
  92. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title5/SDKDocsBlockActualTitle5.d.ts +6 -0
  93. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/token-detail/SDKDocsBlockActualTokenDetail.d.ts +6 -0
  94. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/token-list/SDKDocsBlockActualTokenList.d.ts +6 -0
  95. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/unordered-list/SDKDocsBlockActualUnorderedList.d.ts +6 -0
  96. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockAssetProperty.d.ts +29 -0
  97. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockAssetPropertyProperty.d.ts +12 -0
  98. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockBooleanProperty.d.ts +18 -0
  99. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockCodeProperty.d.ts +16 -0
  100. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockCodeSandboxProperty.d.ts +21 -0
  101. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockColorProperty.d.ts +13 -0
  102. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockComponentProperty.d.ts +23 -0
  103. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockComponentPropertyProperty.d.ts +12 -0
  104. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockDividerProperty.d.ts +12 -0
  105. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockEmbedUrlProperty.d.ts +25 -0
  106. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockFigmaNodeProperty.d.ts +30 -0
  107. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockImageProperty.d.ts +25 -0
  108. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMarkdownProperty.d.ts +15 -0
  109. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMultiRichTextProperty.d.ts +19 -0
  110. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMultiSelectProperty.d.ts +21 -0
  111. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockNumberProperty.d.ts +23 -0
  112. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockProperty.d.ts +30 -0
  113. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockRichTextProperty.d.ts +23 -0
  114. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockSingleSelectProperty.d.ts +27 -0
  115. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockStorybookProperty.d.ts +24 -0
  116. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTableProperty.d.ts +38 -0
  117. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTextProperty.d.ts +23 -0
  118. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTokenProperty.d.ts +36 -0
  119. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTokenPropertyProperty.d.ts +12 -0
  120. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTokenTypeProperty.d.ts +15 -0
  121. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockUrlProperty.d.ts +14 -0
  122. package/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsColorRef.d.ts +3 -0
  123. package/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsImageRef.d.ts +26 -0
  124. package/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsLinkRef.d.ts +24 -0
  125. package/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsSizeRef.d.ts +8 -0
  126. package/build/sdk-typescript/src/model/docs/blocks/usage/SDKDocsBlock.d.ts +47 -0
  127. package/build/sdk-typescript/src/model/docs/blocks/usage/SDKDocsBlockItem.d.ts +16 -0
  128. package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntity.d.ts +30 -0
  129. package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityConfiguration.d.ts +15 -0
  130. package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityGroup.d.ts +51 -0
  131. package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityHeader.d.ts +29 -0
  132. package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityPage.d.ts +39 -0
  133. package/build/sdk-typescript/src/model/docs/sections/SDKDocsSection.d.ts +47 -0
  134. package/build/sdk-typescript/src/model/docs/sections/SDKDocsSectionColumn.d.ts +15 -0
  135. package/build/sdk-typescript/src/model/docs/sections/SDKDocsSectionItem.d.ts +15 -0
  136. package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyConfiguration.d.ts +22 -0
  137. package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyGroup.d.ts +40 -0
  138. package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyItem.d.ts +26 -0
  139. package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyPage.d.ts +34 -0
  140. package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyPageAsset.d.ts +21 -0
  141. package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyPageBlock.d.ts +30 -0
  142. package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyRichText.d.ts +10 -0
  143. package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyRichTextSpan.d.ts +10 -0
  144. package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyRichTextSpanAttribute.d.ts +14 -0
  145. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockAsset.d.ts +15 -0
  146. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockAssets.d.ts +22 -0
  147. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockCallout.d.ts +10 -0
  148. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockCode.d.ts +11 -0
  149. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockColumn.d.ts +4 -0
  150. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockColumnItem.d.ts +9 -0
  151. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockCustom.d.ts +15 -0
  152. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockDivider.d.ts +4 -0
  153. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedFigma.d.ts +4 -0
  154. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedGeneric.d.ts +13 -0
  155. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedLink.d.ts +15 -0
  156. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedStorybook.d.ts +4 -0
  157. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedYoutube.d.ts +4 -0
  158. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockFrame.d.ts +21 -0
  159. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockFrames.d.ts +24 -0
  160. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockHeading.d.ts +10 -0
  161. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockImage.d.ts +16 -0
  162. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockOrderedList.d.ts +4 -0
  163. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockQuote.d.ts +4 -0
  164. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockRenderCode.d.ts +33 -0
  165. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockShortcut.d.ts +35 -0
  166. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockShortcuts.d.ts +9 -0
  167. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTab.d.ts +4 -0
  168. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTabItem.d.ts +8 -0
  169. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTable.d.ts +21 -0
  170. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableCell.d.ts +11 -0
  171. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableColumn.d.ts +10 -0
  172. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableRow.d.ts +4 -0
  173. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockText.d.ts +11 -0
  174. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockToken.d.ts +8 -0
  175. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTokenGroup.d.ts +10 -0
  176. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTokenList.d.ts +8 -0
  177. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockUnorderedList.d.ts +4 -0
  178. package/build/sdk-typescript/src/model/documentation/builder/SDKDocumentationLegacyBlockBuilder.d.ts +6 -0
  179. package/build/sdk-typescript/src/model/documentation/configuration/SDKDocumentationLegacyItemConfiguration.d.ts +11 -0
  180. package/build/sdk-typescript/src/model/documentation/configuration/SDKDocumentationLegacyItemHeader.d.ts +36 -0
  181. package/build/sdk-typescript/src/model/elements/SDKElementDataView.d.ts +30 -0
  182. package/build/sdk-typescript/src/model/elements/SDKElementDataViewColumn.d.ts +37 -0
  183. package/build/sdk-typescript/src/model/elements/SDKElementProperty.d.ts +73 -0
  184. package/build/sdk-typescript/src/model/elements/SDKElementPropertyOption.d.ts +45 -0
  185. package/build/sdk-typescript/src/model/elements/values/SDKElementPropertyValue.d.ts +15 -0
  186. package/build/sdk-typescript/src/model/enums/SDKAlignment.d.ts +10 -0
  187. package/build/sdk-typescript/src/model/enums/SDKAssetFormat.d.ts +5 -0
  188. package/build/sdk-typescript/src/model/enums/SDKAssetScale.d.ts +6 -0
  189. package/build/sdk-typescript/src/model/enums/SDKAssetScaleType.d.ts +4 -0
  190. package/build/sdk-typescript/src/model/enums/SDKBlurType.d.ts +4 -0
  191. package/build/sdk-typescript/src/model/enums/SDKBorderPosition.d.ts +6 -0
  192. package/build/sdk-typescript/src/model/enums/SDKBorderStyle.d.ts +7 -0
  193. package/build/sdk-typescript/src/model/enums/SDKCloudWarningType.d.ts +14 -0
  194. package/build/sdk-typescript/src/model/enums/SDKCodeLanguage.d.ts +34 -0
  195. package/build/sdk-typescript/src/model/enums/SDKConnectionProviders.d.ts +6 -0
  196. package/build/sdk-typescript/src/model/enums/SDKCustomDomainErrorCode.d.ts +5 -0
  197. package/build/sdk-typescript/src/model/enums/SDKCustomDomainState.d.ts +9 -0
  198. package/build/sdk-typescript/src/model/enums/SDKDocBlockMode.d.ts +8 -0
  199. package/build/sdk-typescript/src/model/enums/SDKDocsBlockBehaviorDataType.d.ts +12 -0
  200. package/build/sdk-typescript/src/model/enums/SDKDocsBlockBehaviorSelectionType.d.ts +8 -0
  201. package/build/sdk-typescript/src/model/enums/SDKDocsBlockCategory.d.ts +26 -0
  202. package/build/sdk-typescript/src/model/enums/SDKDocsBlockContainerSize.d.ts +6 -0
  203. package/build/sdk-typescript/src/model/enums/SDKDocsBlockImagePropertyAspectRatio.d.ts +12 -0
  204. package/build/sdk-typescript/src/model/enums/SDKDocsBlockImagePropertyWidth.d.ts +14 -0
  205. package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemEntityType.d.ts +14 -0
  206. package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyOptionRenderingStyle.d.ts +10 -0
  207. package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyRichTextStyle.d.ts +20 -0
  208. package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyTextStyle.d.ts +8 -0
  209. package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyType.d.ts +55 -0
  210. package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutAlign.d.ts +8 -0
  211. package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutColumnResizing.d.ts +6 -0
  212. package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutGap.d.ts +10 -0
  213. package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutType.d.ts +6 -0
  214. package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutWidth.d.ts +26 -0
  215. package/build/sdk-typescript/src/model/enums/SDKDocsBlockMultiRichTextPropertyStyle.d.ts +8 -0
  216. package/build/sdk-typescript/src/model/enums/SDKDocsBlockOptionRenderStyle.d.ts +10 -0
  217. package/build/sdk-typescript/src/model/enums/SDKDocsBlockRichTextPropertyStyle.d.ts +18 -0
  218. package/build/sdk-typescript/src/model/enums/SDKDocsBlockTextPropertyColor.d.ts +6 -0
  219. package/build/sdk-typescript/src/model/enums/SDKDocsBlockTextPropertyStyle.d.ts +26 -0
  220. package/build/sdk-typescript/src/model/enums/SDKDocsEntityGroupBehavior.d.ts +4 -0
  221. package/build/sdk-typescript/src/model/enums/SDKDocsEntityType.d.ts +4 -0
  222. package/build/sdk-typescript/src/model/enums/SDKDocsPublishStatus.d.ts +4 -0
  223. package/build/sdk-typescript/src/model/enums/SDKDocsSectionType.d.ts +6 -0
  224. package/build/sdk-typescript/src/model/enums/SDKDocumentationEnvironment.d.ts +4 -0
  225. package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyCalloutType.d.ts +6 -0
  226. package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyGroupBehavior.d.ts +4 -0
  227. package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyHeadingType.d.ts +5 -0
  228. package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyItemType.d.ts +4 -0
  229. package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyPageAssetType.d.ts +4 -0
  230. package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyPageBlockThemeType.d.ts +4 -0
  231. package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyPageBlockType.d.ts +31 -0
  232. package/build/sdk-typescript/src/model/enums/SDKFrameAlignment.d.ts +4 -0
  233. package/build/sdk-typescript/src/model/enums/SDKFrameLayout.d.ts +11 -0
  234. package/build/sdk-typescript/src/model/enums/SDKGradientType.d.ts +5 -0
  235. package/build/sdk-typescript/src/model/enums/SDKImportJobOperation.d.ts +4 -0
  236. package/build/sdk-typescript/src/model/enums/SDKImportJobState.d.ts +6 -0
  237. package/build/sdk-typescript/src/model/enums/SDKIntegrationService.d.ts +7 -0
  238. package/build/sdk-typescript/src/model/enums/SDKRichTextSpanAttributeType.d.ts +7 -0
  239. package/build/sdk-typescript/src/model/enums/SDKShadowType.d.ts +4 -0
  240. package/build/sdk-typescript/src/model/enums/SDKSourceType.d.ts +5 -0
  241. package/build/sdk-typescript/src/model/enums/SDKTextCase.d.ts +7 -0
  242. package/build/sdk-typescript/src/model/enums/SDKTextDecoration.d.ts +5 -0
  243. package/build/sdk-typescript/src/model/enums/SDKTokenType.d.ts +49 -0
  244. package/build/sdk-typescript/src/model/enums/SDKUnit.d.ts +17 -0
  245. package/build/sdk-typescript/src/model/enums/SDKUserRole.d.ts +8 -0
  246. package/build/sdk-typescript/src/model/enums/SDKVisibilityType.d.ts +4 -0
  247. package/build/sdk-typescript/src/model/enums/SDKWorkspaceNPMRegistryAuthType.d.ts +6 -0
  248. package/build/sdk-typescript/src/model/enums/SDKWorkspaceNPMRegistryType.d.ts +12 -0
  249. package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionPlanInterval.d.ts +6 -0
  250. package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionProduct.d.ts +12 -0
  251. package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionStatus.d.ts +10 -0
  252. package/build/sdk-typescript/src/model/exporters/CodegenAccount.d.ts +9 -0
  253. package/build/sdk-typescript/src/model/exporters/CodegenAzureBranch.d.ts +7 -0
  254. package/build/sdk-typescript/src/model/exporters/CodegenAzureOrganization.d.ts +7 -0
  255. package/build/sdk-typescript/src/model/exporters/CodegenAzureProject.d.ts +7 -0
  256. package/build/sdk-typescript/src/model/exporters/CodegenAzureRepository.d.ts +11 -0
  257. package/build/sdk-typescript/src/model/exporters/CodegenBitbucketBranch.d.ts +7 -0
  258. package/build/sdk-typescript/src/model/exporters/CodegenBitbucketProject.d.ts +6 -0
  259. package/build/sdk-typescript/src/model/exporters/CodegenBitbucketRepository.d.ts +8 -0
  260. package/build/sdk-typescript/src/model/exporters/CodegenBitbucketWorkspace.d.ts +6 -0
  261. package/build/sdk-typescript/src/model/exporters/CodegenBranch.d.ts +8 -0
  262. package/build/sdk-typescript/src/model/exporters/CodegenConnection.d.ts +10 -0
  263. package/build/sdk-typescript/src/model/exporters/CodegenGitlabBranch.d.ts +7 -0
  264. package/build/sdk-typescript/src/model/exporters/CodegenGitlabGroup.d.ts +6 -0
  265. package/build/sdk-typescript/src/model/exporters/CodegenGitlabRepository.d.ts +9 -0
  266. package/build/sdk-typescript/src/model/exporters/CodegenRepository.d.ts +15 -0
  267. package/build/sdk-typescript/src/model/exporters/SDKConnections.d.ts +17 -0
  268. package/build/sdk-typescript/src/model/exporters/SDKExporter.d.ts +83 -0
  269. package/build/sdk-typescript/src/model/exporters/SDKPipeline.d.ts +113 -0
  270. package/build/sdk-typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlock.d.ts +23 -0
  271. package/build/sdk-typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlockProperty.d.ts +32 -0
  272. package/build/sdk-typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlockVariant.d.ts +12 -0
  273. package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterConfigurationProperty.d.ts +38 -0
  274. package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportBuild.d.ts +115 -0
  275. package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportBuildResults.d.ts +84 -0
  276. package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportDestinations.d.ts +126 -0
  277. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenBranchModel.d.ts +5 -0
  278. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenOrganizationModel.d.ts +5 -0
  279. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenProjectModel.d.ts +5 -0
  280. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenRepositoryModel.d.ts +9 -0
  281. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenBranchModel.d.ts +5 -0
  282. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenProjectModel.d.ts +4 -0
  283. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenRepositoryModel.d.ts +6 -0
  284. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenWorkspaceModel.d.ts +4 -0
  285. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenAccountModel.d.ts +7 -0
  286. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenBranchModel.d.ts +6 -0
  287. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenConnectionModel.d.ts +8 -0
  288. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenRepositoryModel.d.ts +17 -0
  289. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteConnectionsModel.d.ts +9 -0
  290. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteGitlabCodegenBranchModel.d.ts +5 -0
  291. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteGitlabCodegenGroupModel.d.ts +4 -0
  292. package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteGitlabCodegenRepositoryModel.d.ts +7 -0
  293. package/build/sdk-typescript/src/model/exporters/remote/SDKRemotePipelineModel.d.ts +57 -0
  294. package/build/sdk-typescript/src/model/groups/SDKAssetGroup.d.ts +24 -0
  295. package/build/sdk-typescript/src/model/groups/SDKComponentGroup.d.ts +40 -0
  296. package/build/sdk-typescript/src/model/groups/SDKDesignComponentGroup.d.ts +33 -0
  297. package/build/sdk-typescript/src/model/groups/SDKTokenGroup.d.ts +43 -0
  298. package/build/sdk-typescript/src/model/jobs/SDKImportJob.d.ts +34 -0
  299. package/build/sdk-typescript/src/model/membership/SDKMembership.d.ts +16 -0
  300. package/build/sdk-typescript/src/model/resources/SDKResource.d.ts +26 -0
  301. package/build/sdk-typescript/src/model/resources/SDKResourceAsset.d.ts +6 -0
  302. package/build/sdk-typescript/src/model/resources/SDKResourceFont.d.ts +25 -0
  303. package/build/sdk-typescript/src/model/support/SDKCustomDomain.d.ts +21 -0
  304. package/build/sdk-typescript/src/model/support/SDKDesignComponentOrigin.d.ts +23 -0
  305. package/build/sdk-typescript/src/model/support/SDKFigmaFrame.d.ts +22 -0
  306. package/build/sdk-typescript/src/model/support/SDKFigmaStructure.d.ts +27 -0
  307. package/build/sdk-typescript/src/model/support/SDKFigmaStructureDetail.d.ts +30 -0
  308. package/build/sdk-typescript/src/model/support/SDKFrameOrigin.d.ts +25 -0
  309. package/build/sdk-typescript/src/model/support/SDKLogger.d.ts +4 -0
  310. package/build/sdk-typescript/src/model/support/SDKSize.d.ts +9 -0
  311. package/build/sdk-typescript/src/model/support/SDKSource.d.ts +150 -0
  312. package/build/sdk-typescript/src/model/support/SDKTokenOrigin.d.ts +18 -0
  313. package/build/sdk-typescript/src/model/themes/SDKThemeUtilities.d.ts +11 -0
  314. package/build/sdk-typescript/src/model/themes/SDKTokenTheme.d.ts +55 -0
  315. package/build/sdk-typescript/src/model/themes/SDKTokenThemeOverride.d.ts +46 -0
  316. package/build/sdk-typescript/src/model/tokens/SDKBlurToken.d.ts +22 -0
  317. package/build/sdk-typescript/src/model/tokens/SDKBorderToken.d.ts +24 -0
  318. package/build/sdk-typescript/src/model/tokens/SDKColorToken.d.ts +34 -0
  319. package/build/sdk-typescript/src/model/tokens/SDKDimensionToken.d.ts +104 -0
  320. package/build/sdk-typescript/src/model/tokens/SDKGradientToken.d.ts +26 -0
  321. package/build/sdk-typescript/src/model/tokens/SDKShadowToken.d.ts +26 -0
  322. package/build/sdk-typescript/src/model/tokens/SDKStringToken.d.ts +61 -0
  323. package/build/sdk-typescript/src/model/tokens/SDKTextCaseToken.d.ts +23 -0
  324. package/build/sdk-typescript/src/model/tokens/SDKTextDecorationToken.d.ts +26 -0
  325. package/build/sdk-typescript/src/model/tokens/SDKToken.d.ts +33 -0
  326. package/build/sdk-typescript/src/model/tokens/SDKTokenCompator.d.ts +20 -0
  327. package/build/sdk-typescript/src/model/tokens/SDKTokenValue.d.ts +201 -0
  328. package/build/sdk-typescript/src/model/tokens/SDKTypographyToken.d.ts +20 -0
  329. package/build/sdk-typescript/src/model/tokens/SDKVisibilityToken.d.ts +18 -0
  330. package/build/sdk-typescript/src/model/tokens/remote/SDKRemoteTokenData.d.ts +105 -0
  331. package/build/sdk-typescript/src/model/tokens/remote/SDKRemoteTokenModel.d.ts +64 -0
  332. package/build/sdk-typescript/src/model/tokens/remote/SDKRemoteTokenValue.d.ts +111 -0
  333. package/build/sdk-typescript/src/model/users/SDKUser.d.ts +53 -0
  334. package/build/sdk-typescript/src/model/users/SDKUserMembership.d.ts +18 -0
  335. package/build/sdk-typescript/src/model/users/SDKUserProfile.d.ts +55 -0
  336. package/build/sdk-typescript/src/model/workspaces/SDKWorkspace.d.ts +22 -0
  337. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceIPWhitelistSettings.d.ts +26 -0
  338. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceInvitation.d.ts +35 -0
  339. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceInvoice.d.ts +38 -0
  340. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceNPMRegistryAccessToken.d.ts +15 -0
  341. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceNPMRegistrySettings.d.ts +34 -0
  342. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceOnboarding.d.ts +30 -0
  343. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProduct.d.ts +21 -0
  344. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProductFeatures.d.ts +32 -0
  345. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProductPrice.d.ts +40 -0
  346. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProfile.d.ts +68 -0
  347. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceSSOSettings.d.ts +19 -0
  348. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceSubscription.d.ts +85 -0
  349. package/build/sdk-typescript/src/pulsar-interfaces.d.ts +40 -0
  350. package/build/sdk-typescript/src/tests/Areas/AreaAssets.spec.d.ts +1 -0
  351. package/build/sdk-typescript/src/tests/Areas/AreaBatchUpdates.spec.d.ts +1 -0
  352. package/build/sdk-typescript/src/tests/Areas/AreaBrands.spec.d.ts +1 -0
  353. package/build/sdk-typescript/src/tests/Areas/AreaDesignSystems.spec.d.ts +1 -0
  354. package/build/sdk-typescript/src/tests/Areas/AreaDocumentation.spec.d.ts +1 -0
  355. package/build/sdk-typescript/src/tests/Areas/AreaMe.spec.d.ts +1 -0
  356. package/build/sdk-typescript/src/tests/Areas/AreaStorage.spec.d.ts +1 -0
  357. package/build/sdk-typescript/src/tests/Areas/AreaTokens.spec.d.ts +1 -0
  358. package/build/sdk-typescript/src/tests/Areas/AreaWorkspace.spec.d.ts +1 -0
  359. package/build/sdk-typescript/src/tests/FigmaTokensDataLoader.d.ts +33 -0
  360. package/build/sdk-typescript/src/tests/Serialization/User.spec.d.ts +1 -0
  361. package/build/sdk-typescript/src/tests/Serialization/Workspace.spec.d.ts +1 -0
  362. package/build/sdk-typescript/src/tests/Serialization/WorkspaceIPWhitelistSettings.spec.d.ts +1 -0
  363. package/build/sdk-typescript/src/tests/Serialization/WorkspaceNPMRegistrySettings.spec.d.ts +1 -0
  364. package/build/sdk-typescript/src/tests/Serialization/WorkspaceOnboarding.spec.d.ts +1 -0
  365. package/build/sdk-typescript/src/tests/Serialization/WorkspaceSSOSettings.spec.d.ts +1 -0
  366. package/build/sdk-typescript/src/tests/Tooling/PluginFigmaTokens.spec.d.ts +1 -0
  367. package/build/sdk-typescript/src/tests/Tooling/PluginJSONBuilder.spec.d.ts +1 -0
  368. package/build/sdk-typescript/src/tests/Tooling/ReadTokens.spec.d.ts +1 -0
  369. package/build/sdk-typescript/src/tests/Tooling/TokensModel.spec.d.ts +1 -0
  370. package/build/sdk-typescript/src/tests/Tooling/ToolDocSearch.spec.d.ts +1 -0
  371. package/build/sdk-typescript/src/tests/Tooling/ToolMarkdownTransform.spec.d.ts +1 -0
  372. package/build/sdk-typescript/src/tests/helpers.d.ts +7 -0
  373. package/build/sdk-typescript/src/tests/validators.d.ts +86 -0
  374. package/build/sdk-typescript/src/tools/design-tokens/SDKToolsDesignTokensPlugin.d.ts +56 -0
  375. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONConverter.d.ts +39 -0
  376. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONGroupBuilder.d.ts +23 -0
  377. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONLoader.d.ts +28 -0
  378. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONParser.d.ts +44 -0
  379. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTMapLoader.d.ts +39 -0
  380. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTMapResolver.d.ts +7 -0
  381. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTThemeMerger.d.ts +15 -0
  382. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenGroupTreeMerger.d.ts +23 -0
  383. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenMerger.d.ts +16 -0
  384. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenReferenceResolver.d.ts +48 -0
  385. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenSetResolver.d.ts +11 -0
  386. package/build/sdk-typescript/src/tools/design-tokens/utilities/collection/SDKDTTokenCollection.d.ts +13 -0
  387. package/build/sdk-typescript/src/tools/design-tokens/utilities/expression/SDKDTExpressionParser.d.ts +5 -0
  388. package/build/sdk-typescript/src/tools/design-tokens/utilities/tree/SDKDTGroupTree.d.ts +12 -0
  389. package/build/sdk-typescript/src/tools/design-tokens/utilities/tree/SDKDTGroupTreeNode.d.ts +17 -0
  390. package/build/sdk-typescript/src/tools/design-tokens/utilities/tree/SDKDTParentChildMapping.d.ts +5 -0
  391. package/build/sdk-typescript/src/tools/docs-block-builder/SDKDocsBlockBuilder.d.ts +409 -0
  392. package/build/sdk-typescript/src/tools/json-builder/SDKToolsJSONBuilder.d.ts +58 -0
  393. package/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementFigmaTokensTransformer.d.ts +37 -0
  394. package/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementStyleDictionaryTransformer.d.ts +26 -0
  395. package/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementTransformer.d.ts +68 -0
  396. package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransform.d.ts +22 -0
  397. package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformBlock.d.ts +75 -0
  398. package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformUtil.d.ts +22 -0
  399. package/build/sdk-typescript/src/tools/search-index/SDKToolsDocSearch.d.ts +47 -0
  400. package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewGenerator.d.ts +20 -0
  401. package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewMetadataGenerator.d.ts +8 -0
  402. package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewReferenceInfoGenerator.d.ts +9 -0
  403. package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewSegmentGenerator.d.ts +7 -0
  404. package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewStyleGenerator.d.ts +8 -0
  405. package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewTypes.d.ts +68 -0
  406. package/build/sdk-typescript/src/tools/token-transform/SDKToolsTokenTransform.d.ts +42 -0
  407. package/build/sdk-typescript/src/utils/CommonUtils.d.ts +5 -0
  408. package/build/sdk-typescript/src/utils/ComponentUtils.d.ts +12 -0
  409. package/build/sdk-typescript/src/utils/FlowUtils.d.ts +5 -0
  410. package/build/sdk-typescript/src/utils/StringUtils.d.ts +72 -0
  411. package/build/sdk-typescript/src/utils/TokenUtils.d.ts +294 -0
  412. package/build/sdk-typescript/src/utils/UnreachableCaseError.d.ts +3 -0
  413. package/build/sdk-typescript/src/utils/deepPartial.d.ts +3 -0
  414. package/build/supernova-sdk-typescript.js +3 -0
  415. package/build/supernova-sdk-typescript.js.LICENSE.txt +8 -0
  416. package/build/supernova-sdk-typescript.js.map +1 -0
  417. package/package.json +127 -0
@@ -0,0 +1,21 @@
1
+ import { FrameOrigin, FrameOriginModel } from "../../support/SDKFrameOrigin";
2
+ import { ColorTokenRemoteData } from "../../tokens/remote/SDKRemoteTokenData";
3
+ export type DocumentationLegacyPageBlockFrameModel = {
4
+ id?: string;
5
+ sourceId: string;
6
+ sourceFrameId: string;
7
+ title?: string;
8
+ description?: string;
9
+ persistentId?: string;
10
+ backgroundColor?: ColorTokenRemoteData;
11
+ origin?: FrameOriginModel;
12
+ };
13
+ export declare class DocumentationLegacyPageBlockFrame {
14
+ title: string | null;
15
+ description: string | null;
16
+ previewUrl: string;
17
+ persistentId: string | null;
18
+ backgroundColor: ColorTokenRemoteData | null;
19
+ origin: FrameOrigin | null;
20
+ constructor(model: DocumentationLegacyPageBlockFrameModel, blockBackgroundColor: ColorTokenRemoteData | null);
21
+ }
@@ -0,0 +1,24 @@
1
+ import { FrameAlignment } from "../../enums/SDKFrameAlignment";
2
+ import { FrameLayout } from "../../enums/SDKFrameLayout";
3
+ import { ColorTokenRemoteData } from "../../tokens/remote/SDKRemoteTokenData";
4
+ import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
5
+ import { DocumentationLegacyPageBlockFrame, DocumentationLegacyPageBlockFrameModel } from "./SDKDocumentationLegacyPageBlockFrame";
6
+ export type DocumentationLegacyPageBlockFramesModel = {
7
+ figmaFrames: Array<DocumentationLegacyPageBlockFrameModel>;
8
+ figmaFrameProperties: {
9
+ alignment: FrameAlignment;
10
+ color?: ColorTokenRemoteData;
11
+ layout: FrameLayout;
12
+ showTitles: boolean;
13
+ };
14
+ } & DocumentationLegacyPageBlockModel;
15
+ export declare class DocumentationLegacyPageBlockFrames extends DocumentationLegacyPageBlock {
16
+ frames: Array<DocumentationLegacyPageBlockFrame>;
17
+ properties: {
18
+ backgroundColor: ColorTokenRemoteData | null;
19
+ alignment: FrameAlignment;
20
+ layout: FrameLayout;
21
+ showTitles: boolean;
22
+ };
23
+ constructor(model: DocumentationLegacyPageBlockFramesModel, children: Array<DocumentationLegacyPageBlock>);
24
+ }
@@ -0,0 +1,10 @@
1
+ import { DocumentationLegacyHeadingType } from "../../enums/SDKDocumentationLegacyHeadingType";
2
+ import { DocumentationLegacyPageBlock } from "../SDKDocumentationLegacyPageBlock";
3
+ import { DocumentationLegacyPageBlockText, DocumentationLegacyPageBlockTextModel } from "./SDKDocumentationLegacyPageBlockText";
4
+ export type DocumentationLegacyPageBlockHeadingModel = {
5
+ headingType: DocumentationLegacyHeadingType;
6
+ } & DocumentationLegacyPageBlockTextModel;
7
+ export declare class DocumentationLegacyPageBlockHeading extends DocumentationLegacyPageBlockText {
8
+ headingType: DocumentationLegacyHeadingType;
9
+ constructor(model: DocumentationLegacyPageBlockHeadingModel, children: Array<DocumentationLegacyPageBlock>);
10
+ }
@@ -0,0 +1,16 @@
1
+ import { Alignment } from "../../enums/SDKAlignment";
2
+ import { DocumentationLegacyPageAsset, DocumentationLegacyPageAssetModel } from "../SDKDocumentationLegacyPageAsset";
3
+ import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
4
+ export type DocumentationLegacyPageBlockImageModel = {
5
+ asset?: DocumentationLegacyPageAssetModel;
6
+ assetUrl?: string;
7
+ caption?: string;
8
+ alignment: Alignment;
9
+ } & DocumentationLegacyPageBlockModel;
10
+ export declare class DocumentationLegacyPageBlockImage extends DocumentationLegacyPageBlock {
11
+ url: string | null;
12
+ asset: DocumentationLegacyPageAsset;
13
+ caption: string | null;
14
+ alignment: Alignment;
15
+ constructor(model: DocumentationLegacyPageBlockImageModel, children: Array<DocumentationLegacyPageBlock>);
16
+ }
@@ -0,0 +1,4 @@
1
+ import { DocumentationLegacyPageBlockText, DocumentationLegacyPageBlockTextModel } from "./SDKDocumentationLegacyPageBlockText";
2
+ export type DocumentationLegacyPageOrderedListModel = DocumentationLegacyPageBlockTextModel;
3
+ export declare class DocumentationLegacyPageOrderedList extends DocumentationLegacyPageBlockText {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { DocumentationLegacyPageBlockText, DocumentationLegacyPageBlockTextModel } from "./SDKDocumentationLegacyPageBlockText";
2
+ export type DocumentationLegacyPageBlockQuoteModel = DocumentationLegacyPageBlockTextModel;
3
+ export declare class DocumentationLegacyPageBlockQuote extends DocumentationLegacyPageBlockText {
4
+ }
@@ -0,0 +1,33 @@
1
+ import { Alignment } from "../../enums/SDKAlignment";
2
+ import { Size } from "../../support/SDKSize";
3
+ import { DocumentationLegacyConfiguration } from "../SDKDocumentationLegacyConfiguration";
4
+ import { DocumentationLegacyPageBlock } from "../SDKDocumentationLegacyPageBlock";
5
+ import { DocumentationLegacyPageBlockTextModel } from "./SDKDocumentationLegacyPageBlockText";
6
+ export type DocumentationLegacyPageBlockRenderCodeModel = {
7
+ alignment: Alignment;
8
+ renderCodeProperties: {
9
+ showCode: boolean;
10
+ };
11
+ backgroundColor?: {
12
+ value?: string;
13
+ };
14
+ size?: Size;
15
+ } & DocumentationLegacyPageBlockTextModel;
16
+ declare enum DocumentationLegacyPageBlockRenderCodeEnvironmentType {
17
+ react = "react"
18
+ }
19
+ export declare class DocumentationLegacyPageBlockRenderCode extends DocumentationLegacyPageBlock {
20
+ alignment: Alignment;
21
+ backgroundColor: string | null;
22
+ showCode: boolean;
23
+ code: string;
24
+ packageJSON: string;
25
+ height: number | null;
26
+ sandboxData: string;
27
+ sandboxType: DocumentationLegacyPageBlockRenderCodeEnvironmentType;
28
+ constructor(model: DocumentationLegacyPageBlockRenderCodeModel, children: Array<DocumentationLegacyPageBlock>, configuration: DocumentationLegacyConfiguration);
29
+ private encodeSandboxData;
30
+ btoaUnicode(str: any): string | null;
31
+ atobUnicode(str: any): string;
32
+ }
33
+ export {};
@@ -0,0 +1,35 @@
1
+ import { DocumentationLegacyPageAssetModel } from "../SDKDocumentationLegacyPageAsset";
2
+ export type DocumentationLegacyPageBlockShortcutModel = {
3
+ title?: string;
4
+ description?: string;
5
+ asset?: DocumentationLegacyPageAssetModel;
6
+ assetId?: string;
7
+ assetUrl?: string;
8
+ documentationItemId?: string;
9
+ url?: string;
10
+ urlPreview?: {
11
+ title?: string;
12
+ description?: string;
13
+ thumbnailUrl?: string;
14
+ };
15
+ documentationItemPreview?: {
16
+ title?: string;
17
+ valid?: boolean;
18
+ };
19
+ };
20
+ export declare enum DocumentationLegacyPageBlockShortcutType {
21
+ external = "External",
22
+ internal = "Internal"
23
+ }
24
+ export declare class DocumentationLegacyPageBlockShortcut {
25
+ title: string | null;
26
+ description: string | null;
27
+ previewUrl: string | null;
28
+ externalUrl: string | null;
29
+ internalId: string | null;
30
+ type: DocumentationLegacyPageBlockShortcutType;
31
+ constructor(model: DocumentationLegacyPageBlockShortcutModel);
32
+ shortcutTitleFromModel(model: DocumentationLegacyPageBlockShortcutModel, type: DocumentationLegacyPageBlockShortcutType): string | null;
33
+ shortcutDescriptionFromModel(model: DocumentationLegacyPageBlockShortcutModel, type: DocumentationLegacyPageBlockShortcutType): string | null;
34
+ shortcutPreviewUrlFromModel(model: DocumentationLegacyPageBlockShortcutModel): string | null;
35
+ }
@@ -0,0 +1,9 @@
1
+ import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
2
+ import { DocumentationLegacyPageBlockShortcut, DocumentationLegacyPageBlockShortcutModel } from "./SDKDocumentationLegacyPageBlockShortcut";
3
+ export type DocumentationLegacyPageBlockShortcutsModel = {
4
+ shortcuts: Array<DocumentationLegacyPageBlockShortcutModel>;
5
+ } & DocumentationLegacyPageBlockModel;
6
+ export declare class DocumentationLegacyPageBlockShortcuts extends DocumentationLegacyPageBlock {
7
+ shortcuts: Array<DocumentationLegacyPageBlockShortcut>;
8
+ constructor(model: DocumentationLegacyPageBlockShortcutsModel, children: Array<DocumentationLegacyPageBlock>);
9
+ }
@@ -0,0 +1,4 @@
1
+ import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
2
+ export type DocumentationLegacyPageBlockTabModel = DocumentationLegacyPageBlockModel;
3
+ export declare class DocumentationLegacyPageBlockTab extends DocumentationLegacyPageBlock {
4
+ }
@@ -0,0 +1,8 @@
1
+ import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
2
+ export type DocumentationLegacyPageBlockTabItemModel = {
3
+ caption: string;
4
+ } & DocumentationLegacyPageBlockModel;
5
+ export declare class DocumentationLegacyPageBlockTabItem extends DocumentationLegacyPageBlock {
6
+ caption: string;
7
+ constructor(model: DocumentationLegacyPageBlockTabItemModel, children: Array<DocumentationLegacyPageBlock>);
8
+ }
@@ -0,0 +1,21 @@
1
+ import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
2
+ import { DocumentationLegacyPageBlockTableColumn, DocumentationLegacyPageBlockTableColumnModel } from "./SDKDocumentationLegacyPageBlockTableColumn";
3
+ import { DocumentationLegacyPageBlockTableRowModel } from "./SDKDocumentationLegacyPageBlockTableRow";
4
+ export type DocumentationLegacyPageBlockTableModel = {
5
+ tableProperties: {
6
+ showBorders: boolean;
7
+ showHeaderRow: boolean;
8
+ showHeaderColumn: boolean;
9
+ columns: Array<DocumentationLegacyPageBlockTableColumnModel>;
10
+ };
11
+ rows: Array<DocumentationLegacyPageBlockTableRowModel>;
12
+ } & DocumentationLegacyPageBlockModel;
13
+ export declare class DocumentationLegacyPageBlockTable extends DocumentationLegacyPageBlock {
14
+ tableProperties: {
15
+ showBorders: boolean;
16
+ showHeaderRow: boolean;
17
+ showHeaderColumn: boolean;
18
+ columns: Array<DocumentationLegacyPageBlockTableColumn>;
19
+ };
20
+ constructor(model: DocumentationLegacyPageBlockTableModel, children: Array<DocumentationLegacyPageBlock>);
21
+ }
@@ -0,0 +1,11 @@
1
+ import { Alignment } from "../../enums/SDKAlignment";
2
+ import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
3
+ export type DocumentationLegacyPageBlockTableCellModel = {
4
+ columnId: string;
5
+ alignment: Alignment;
6
+ } & DocumentationLegacyPageBlockModel;
7
+ export declare class DocumentationLegacyPageBlockTableCell extends DocumentationLegacyPageBlock {
8
+ columnId: string;
9
+ alignment: Alignment;
10
+ constructor(model: DocumentationLegacyPageBlockTableCellModel, children: Array<DocumentationLegacyPageBlock>);
11
+ }
@@ -0,0 +1,10 @@
1
+ import { DimensionTokenRemoteData } from "../../tokens/remote/SDKRemoteTokenData";
2
+ export type DocumentationLegacyPageBlockTableColumnModel = {
3
+ id: string;
4
+ width: DimensionTokenRemoteData;
5
+ };
6
+ export declare class DocumentationLegacyPageBlockTableColumn {
7
+ id: string;
8
+ width: DimensionTokenRemoteData;
9
+ constructor(model: DocumentationLegacyPageBlockTableColumnModel);
10
+ }
@@ -0,0 +1,4 @@
1
+ import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
2
+ export type DocumentationLegacyPageBlockTableRowModel = DocumentationLegacyPageBlockModel;
3
+ export declare class DocumentationLegacyPageBlockTableRow extends DocumentationLegacyPageBlock {
4
+ }
@@ -0,0 +1,11 @@
1
+ import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
2
+ import { DocumentationLegacyRichText, DocumentationLegacyRichTextModel } from "../SDKDocumentationLegacyRichText";
3
+ export type DocumentationLegacyPageBlockTextModel = {
4
+ text: DocumentationLegacyRichTextModel;
5
+ } & DocumentationLegacyPageBlockModel;
6
+ export declare class DocumentationLegacyPageBlockText extends DocumentationLegacyPageBlock {
7
+ text: DocumentationLegacyRichText;
8
+ constructor(model: DocumentationLegacyPageBlockTextModel, children: Array<DocumentationLegacyPageBlock>);
9
+ /** Convert block into plain text, omitting any formatting */
10
+ asPlainText(): string;
11
+ }
@@ -0,0 +1,8 @@
1
+ import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
2
+ export type DocumentationLegacyPageBlockTokenModel = {
3
+ designObjectId: string;
4
+ } & DocumentationLegacyPageBlockModel;
5
+ export declare class DocumentationLegacyPageBlockToken extends DocumentationLegacyPageBlock {
6
+ tokenId: string;
7
+ constructor(model: DocumentationLegacyPageBlockTokenModel, children: Array<DocumentationLegacyPageBlock>);
8
+ }
@@ -0,0 +1,10 @@
1
+ import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
2
+ export type DocumentationLegacyPageBlockTokenGroupModel = {
3
+ designObjectId: string;
4
+ showNestedGroups: boolean;
5
+ } & DocumentationLegacyPageBlockModel;
6
+ export declare class DocumentationLegacyPageBlockTokenGroup extends DocumentationLegacyPageBlock {
7
+ groupId: string;
8
+ showNestedGroups: boolean;
9
+ constructor(model: DocumentationLegacyPageBlockTokenGroupModel, children: Array<DocumentationLegacyPageBlock>);
10
+ }
@@ -0,0 +1,8 @@
1
+ import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
2
+ export type DocumentationLegacyPageBlockTokenListModel = {
3
+ designObjectIds: Array<string>;
4
+ } & DocumentationLegacyPageBlockModel;
5
+ export declare class DocumentationLegacyPageBlockTokenList extends DocumentationLegacyPageBlock {
6
+ tokenIds: Array<string>;
7
+ constructor(model: DocumentationLegacyPageBlockTokenListModel, children: Array<DocumentationLegacyPageBlock>);
8
+ }
@@ -0,0 +1,4 @@
1
+ import { DocumentationLegacyPageBlockText, DocumentationLegacyPageBlockTextModel } from "./SDKDocumentationLegacyPageBlockText";
2
+ export type DocumentationLegacyPageUnorderedListModel = DocumentationLegacyPageBlockTextModel;
3
+ export declare class DocumentationLegacyPageUnorderedList extends DocumentationLegacyPageBlockText {
4
+ }
@@ -0,0 +1,6 @@
1
+ import { ExporterCustomBlock } from "../../exporters/custom_blocks/SDKExporterCustomBlock";
2
+ import { DocumentationLegacyConfiguration } from "../SDKDocumentationLegacyConfiguration";
3
+ import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
4
+ export declare class DocumentationLegacyBlockBuilder {
5
+ static fromGenericModel(model: DocumentationLegacyPageBlockModel, customBlocks: Array<ExporterCustomBlock>, configuration: DocumentationLegacyConfiguration): DocumentationLegacyPageBlock;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { DocumentationLegacyItemHeader, DocumentationLegacyItemHeaderModel } from "./SDKDocumentationLegacyItemHeader";
2
+ export type DocumentationLegacyItemConfigurationModel = {
3
+ header: DocumentationLegacyItemHeaderModel;
4
+ showSidebar: boolean;
5
+ };
6
+ export declare class DocumentationLegacyItemConfiguration {
7
+ header: DocumentationLegacyItemHeader;
8
+ showSidebar: boolean;
9
+ constructor(model: DocumentationLegacyItemConfigurationModel);
10
+ toWriteModel(): DocumentationLegacyItemConfigurationModel;
11
+ }
@@ -0,0 +1,36 @@
1
+ import { Alignment } from "../../enums/SDKAlignment";
2
+ import { AssetScaleType } from "../../enums/SDKAssetScaleType";
3
+ import { DocumentationLegacyPageAssetType } from "../../enums/SDKDocumentationLegacyPageAssetType";
4
+ import { ColorTokenRemoteData } from "../../tokens/remote/SDKRemoteTokenData";
5
+ import { DocumentationLegacyPageAssetModel } from "../SDKDocumentationLegacyPageAsset";
6
+ export type DocumentationLegacyItemHeaderModel = {
7
+ description: string;
8
+ alignment: Alignment;
9
+ foregroundColor?: ColorTokenRemoteData;
10
+ backgroundColor?: ColorTokenRemoteData;
11
+ backgroundImageAsset?: DocumentationLegacyPageAssetModel;
12
+ backgroundImageAssetUrl?: string;
13
+ backgroundImageAssetId?: string;
14
+ backgroundImageScaleType: AssetScaleType;
15
+ showBackgroundOverlay: boolean;
16
+ showCoverText: boolean;
17
+ minHeight: number | null;
18
+ };
19
+ export declare class DocumentationLegacyItemHeader {
20
+ backgroundImageAssetUrl: string | null;
21
+ backgroundImageAssetId: string | null;
22
+ backgroundImageAssetType: DocumentationLegacyPageAssetType | null;
23
+ backgroundImageSourceId: string | null;
24
+ backgroundImagePersistentId: string | null;
25
+ backgroundImageSourceFrameId: string | null;
26
+ backgroundImageScaleType: AssetScaleType;
27
+ description: string;
28
+ alignment: Alignment;
29
+ foregroundColor: ColorTokenRemoteData | null;
30
+ backgroundColor: ColorTokenRemoteData | null;
31
+ showBackgroundOverlay: boolean;
32
+ showCoverText: boolean;
33
+ minHeight: number | null;
34
+ constructor(model: DocumentationLegacyItemHeaderModel);
35
+ toWriteModel(): DocumentationLegacyItemHeaderModel;
36
+ }
@@ -0,0 +1,30 @@
1
+ import { ElementDataViewColumn, ElementDataViewColumnRemoteModel } from "./SDKElementDataViewColumn";
2
+ import { ElementPropertyTargetElementType } from "./SDKElementProperty";
3
+ export type ElementDataViewRemoteModel = {
4
+ id: string;
5
+ persistentId: string;
6
+ isDefault: boolean;
7
+ targetElementType: ElementPropertyTargetElementType;
8
+ columns: Array<ElementDataViewColumnRemoteModel>;
9
+ meta: {
10
+ name: string;
11
+ description: string;
12
+ };
13
+ };
14
+ export declare class ElementDataView {
15
+ /** Unique id of data view, different across versions */
16
+ id: string;
17
+ /** Unique persistent id of the data view */
18
+ persistentId: string;
19
+ /** Default data view */
20
+ isDefault: boolean;
21
+ /** Signifies which objects use this element data view */
22
+ targetElementType: ElementPropertyTargetElementType;
23
+ /** Data view columns */
24
+ columns: Array<ElementDataViewColumn>;
25
+ /** Data view name */
26
+ name: string;
27
+ /** Data view description */
28
+ description: string | null;
29
+ constructor(model: ElementDataViewRemoteModel);
30
+ }
@@ -0,0 +1,37 @@
1
+ export declare enum ElementDataViewColumnType {
2
+ baseProperty = "BaseProperty",
3
+ propertyDefinition = "PropertyDefinition",
4
+ theme = "Theme"
5
+ }
6
+ export declare enum ElementDataViewColumnBasePropertyType {
7
+ name = "Name",
8
+ description = "Description",
9
+ value = "Value",
10
+ updatedAt = "UpdatedAt"
11
+ }
12
+ export type ElementDataViewColumnRemoteModel = {
13
+ id: string;
14
+ persistentId: string;
15
+ type: ElementDataViewColumnType;
16
+ basePropertyType?: ElementDataViewColumnBasePropertyType;
17
+ propertyDefinitionId?: string;
18
+ themeId?: string;
19
+ width: number;
20
+ };
21
+ export declare class ElementDataViewColumn {
22
+ /** Unique id of data view column, different across versions */
23
+ id: string;
24
+ /** Unique persistent id of the data view column */
25
+ persistentId: string;
26
+ /** Type of the contained property */
27
+ type: ElementDataViewColumnType;
28
+ /** Type of the base property, if element column type === BaseProperty */
29
+ basePropertyType: ElementDataViewColumnBasePropertyType | null;
30
+ /** Data view columns */
31
+ propertyDefinitionId: string | null;
32
+ /** Theme id column points to */
33
+ themeId: string | null;
34
+ /** Column width */
35
+ width: number;
36
+ constructor(model: ElementDataViewColumnRemoteModel);
37
+ }
@@ -0,0 +1,73 @@
1
+ import { ElementPropertyOption, ElementPropertyOptionCreationModel, ElementPropertyOptionRemoteModel, ElementPropertyOptionUpdateModel } from "./SDKElementPropertyOption";
2
+ export declare enum ElementPropertyType {
3
+ text = "Text",
4
+ number = "Number",
5
+ boolean = "Boolean",
6
+ select = "Select",
7
+ generic = "Generic",
8
+ link = "Link",
9
+ url = "URL"
10
+ }
11
+ export declare enum ElementPropertyTargetElementType {
12
+ token = "Token",
13
+ component = "Component",
14
+ documentationPage = "DocumentationPage"
15
+ }
16
+ export declare enum ElementPropertyLinkElementType {
17
+ documentationItem = "DocumentationPage",
18
+ figmaComponent = "FigmaComponent"
19
+ }
20
+ export type ElementPropertyRemoteModel = {
21
+ id: string;
22
+ persistentId: string;
23
+ designSystemVersionId: string;
24
+ meta: {
25
+ name: string;
26
+ description: string;
27
+ };
28
+ codeName: string;
29
+ type: ElementPropertyType;
30
+ targetElementType: ElementPropertyTargetElementType;
31
+ linkElementType?: ElementPropertyLinkElementType;
32
+ options?: Array<ElementPropertyOptionRemoteModel>;
33
+ };
34
+ export type ElementPropertyCreationModel = {
35
+ type: ElementPropertyType;
36
+ name: string;
37
+ codeName: string;
38
+ columnWidth: number;
39
+ linkElementType?: ElementPropertyLinkElementType;
40
+ description?: string;
41
+ options?: Array<ElementPropertyOptionCreationModel>;
42
+ };
43
+ export type ElementPropertyUpdateModel = {
44
+ name: string;
45
+ description: string;
46
+ codeName: string;
47
+ options?: Array<ElementPropertyOptionUpdateModel>;
48
+ };
49
+ export declare class ElementProperty {
50
+ /** Versioned id of the element property (changes with version) */
51
+ idInVersion: string;
52
+ /** Persistent id of the element property (stays across versions) */
53
+ id: string;
54
+ /** Specific design system version this property is contained in */
55
+ designSystemVersionId: string;
56
+ /** Property name */
57
+ name: string;
58
+ /** Code property name - guaranteed to be present, unique and code-safe */
59
+ codeName: string;
60
+ /** Property description */
61
+ description: string | null;
62
+ /** Base type */
63
+ propertyType: ElementPropertyType;
64
+ /** Type of design system object this property is contained in - for example, if this property was configured for DS components, this will be of type `component` */
65
+ targetElementType: ElementPropertyTargetElementType;
66
+ /** Type of design system object this property can be configured with */
67
+ linkElementType: ElementPropertyLinkElementType | null;
68
+ /** Property options, only available for `select` type */
69
+ options: Array<ElementPropertyOption> | null;
70
+ constructor(model: ElementPropertyRemoteModel);
71
+ /** Constructs directly manipulable update object */
72
+ toUpdateObject(): ElementPropertyUpdateModel;
73
+ }
@@ -0,0 +1,45 @@
1
+ declare const badgeColorValues: {
2
+ readonly blue: "#EDF5FF";
3
+ readonly cyan: "#D5FBFE";
4
+ readonly fuchsia: "#FCF0FF";
5
+ readonly green: "#EBFEF6";
6
+ readonly grey: "#EDEFF3";
7
+ readonly "light-grey": "#F6F7F9";
8
+ readonly orange: "#FFF2E1";
9
+ readonly pink: "#FDF0F7";
10
+ readonly purple: "#F5F2FD";
11
+ readonly red: "#FEF1F2";
12
+ readonly teal: "#DFFDF6";
13
+ readonly yellow: "#FEF9C3";
14
+ readonly custom: null;
15
+ };
16
+ export type ElementPropertyOptionBadgeColor = keyof typeof badgeColorValues;
17
+ export type ElementPropertyOptionRemoteModel = {
18
+ id: string;
19
+ name: string;
20
+ backgroundColor: {
21
+ value: string;
22
+ };
23
+ };
24
+ export type ElementPropertyOptionCreationModel = ElementPropertyOptionRemoteModel;
25
+ export type ElementPropertyOptionUpdateModel = ElementPropertyOptionRemoteModel;
26
+ export declare class ElementPropertyOption {
27
+ id: string;
28
+ name: string;
29
+ backgroundColor: string | null;
30
+ constructor(model: ElementPropertyOptionRemoteModel);
31
+ static toHex6(rawColor: string): string;
32
+ static toHex8(rawColor: string): string;
33
+ /** Constructs directly manipulable update object for property option */
34
+ toUpdateObject(): ElementPropertyOptionUpdateModel;
35
+ /** Returns background color represented as badge color.
36
+ * If badge color is different from what badge defines as base, return `custom`.
37
+ * */
38
+ asBadgeColor(): ElementPropertyOptionBadgeColor;
39
+ /**
40
+ * Sets background color from hex color or badge color name.
41
+ * @param color - Hex color or badge color name
42
+ */
43
+ setBackgroundColor(color: string): void;
44
+ }
45
+ export {};
@@ -0,0 +1,15 @@
1
+ export type ElementPropertyValueRemoteModel = {
2
+ value: string | boolean | number;
3
+ id: string;
4
+ designSystemVersionId: string;
5
+ definitionId: string;
6
+ targetElementId: string;
7
+ };
8
+ export declare class ElementPropertyValue {
9
+ value: string | boolean | number;
10
+ id: string;
11
+ designSystemVersionId: string;
12
+ definitionId: string;
13
+ targetElementId: string;
14
+ constructor(model: ElementPropertyValueRemoteModel);
15
+ }
@@ -0,0 +1,10 @@
1
+ export declare enum Alignment {
2
+ left = "Left",
3
+ center = "Center",
4
+ stretch = "Stretch"
5
+ }
6
+ export declare enum TextAlignment {
7
+ left = "Left",
8
+ center = "Center",
9
+ right = "Right"
10
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum AssetFormat {
2
+ png = "png",
3
+ pdf = "pdf",
4
+ svg = "svg"
5
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum AssetScale {
2
+ x1 = "x1",
3
+ x2 = "x2",
4
+ x3 = "x3",
5
+ x4 = "x4"
6
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum AssetScaleType {
2
+ aspectFill = "AspectFill",
3
+ aspectFit = "AspectFit"
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum BlurType {
2
+ layer = "Layer",
3
+ background = "Background"
4
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum BorderPosition {
2
+ inside = "Inside",
3
+ center = "Center",
4
+ outside = "Outside"
5
+ }
6
+ export declare const ALL_BORDER_POSITIONS: readonly [BorderPosition.inside, BorderPosition.center, BorderPosition.outside];
@@ -0,0 +1,7 @@
1
+ export declare enum BorderStyle {
2
+ dashed = "Dashed",
3
+ dotted = "Dotted",
4
+ solid = "Solid",
5
+ groove = "Groove"
6
+ }
7
+ export declare const ALL_BORDER_STYLES: readonly [BorderStyle.dashed, BorderStyle.dotted, BorderStyle.solid, BorderStyle.groove];
@@ -0,0 +1,14 @@
1
+ export declare enum ImportWarningType {
2
+ UnsupportedFill = "UnsupportedFill",
3
+ UnsupportedStroke = "UnsupportedStroke",
4
+ UnsupportedEffect = "UnsupportedEffect",
5
+ StyleNotApplied = "StyleNotApplied",
6
+ NoPublishedStyles = "NoPublishedStyles",
7
+ NoPublishedComponents = "NoPublishedComponents",
8
+ NoPublishedAssets = "NoPublishedAssets",
9
+ NoVersionFound = "NoVersionFound",
10
+ ComponentHasNoThumbnail = "ComponentHasNoThumbnail",
11
+ DuplicateImportedStyleId = "DuplicateImportedStyleId",
12
+ DuplicateImportedStylePath = "DuplicateImportedStylePath",
13
+ NoPublishedElements = "NoPublishedElements"
14
+ }