@supernova-studio/model 0.48.13 → 0.48.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -34688,6 +34688,7 @@ declare const DesignElementSnapshotBase: z.ZodObject<{
34688
34688
  type DesignElementSnapshotBase = z.infer<typeof DesignElementSnapshotBase>;
34689
34689
  declare const DesignElementSnapshotReason: z.ZodEnum<["Publish", "Deletion"]>;
34690
34690
  type DesignElementSnapshotReason = z.infer<typeof DesignElementSnapshotReason>;
34691
+ declare function pickLatestSnapshots<T extends DesignElementSnapshotBase>(snapshots: T[], getSnapshotElementId: (snapshot: T) => string): T[];
34691
34692
 
34692
34693
  declare const TokenDataAliasSchema: z.ZodObject<{
34693
34694
  aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
@@ -72904,6 +72905,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<z.objectUtil.extendShape<{
72904
72905
  type DocumentationPageSnapshot = z.infer<typeof DocumentationPageSnapshot>;
72905
72906
  type CreateDocumentationPageSnapshot = DbCreateInputOmit<DocumentationPageSnapshot>;
72906
72907
  type UpdateDocumentationPageSnapshot = OmitStrict<DbUpdate<DocumentationPageSnapshot>, "designSystemVersionId">;
72908
+ declare function pickLatestPageSnapshots(snapshots: DocumentationPageSnapshot[]): DocumentationPageSnapshot[];
72907
72909
 
72908
72910
  /**
72909
72911
  * Snapshot of an element group.
@@ -73373,6 +73375,7 @@ declare const ElementGroupSnapshot: z.ZodObject<z.objectUtil.extendShape<{
73373
73375
  type ElementGroupSnapshot = z.infer<typeof ElementGroupSnapshot>;
73374
73376
  type CreateElementGroupSnapshot = DbCreateInputOmit<ElementGroupSnapshot>;
73375
73377
  type UpdateElementGroupSnapshot = OmitStrict<DbUpdate<ElementGroupSnapshot>, "designSystemVersionId">;
73378
+ declare function pickLatestGroupSnapshots(snapshots: ElementGroupSnapshot[]): ElementGroupSnapshot[];
73376
73379
 
73377
73380
  declare const FigmaFileDownloadScope: z.ZodObject<{
73378
73381
  styles: z.ZodBoolean;
@@ -162396,4 +162399,4 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
162396
162399
  }>;
162397
162400
  type WorkspaceWithDesignSystems = z.infer<typeof WorkspaceWithDesignSystems>;
162398
162401
 
162399
- export { Address, type AllFields, type ArrayElementType, Asset, AssetDeleteSchedule, type AssetDeleteScheduleDbInput, AssetDeleteScheduleStatus, AssetDynamoRecord, AssetFontProperties, type AssetImportModel, AssetImportModelInput, AssetOrigin, AssetProcessStatus, AssetProperties, AssetReference, type AssetReferenceDiff, AssetRenderConfiguration, AssetScope, AssetType, AssetValue, AuthTokens, BillingDetails, type BillingInterval, BillingIntervalSchema, BillingType, BillingTypeSchema, BlurTokenData, BlurType, BlurValue, BorderPosition, BorderRadiusTokenData, BorderRadiusUnit, BorderRadiusValue, BorderStyle, BorderTokenData, BorderValue, BorderWidthTokenData, BorderWidthUnit, BorderWidthValue, Brand, BrandedElementGroup, type Card, CardSchema, ChangedImportedFigmaSourceData, CodeIntegrationDump, ColorTokenData, ColorTokenInlineData, ColorValue, Component, ComponentAsset, type ComponentDiff, ComponentElementData, ComponentImportModel, ComponentImportModelInput, ComponentOrigin, ComponentOriginPart, ContentLoadInstruction, ContentLoaderPayload, type CreateAssetReference, type CreateBrand, type CreateComponent, type CreateDataSource, type CreateDesignElement, type CreateDesignElementReference, type CreateDesignSystemVersion, type CreateDesignSystemVersionRoom, CreateDesignToken, type CreateDocumentationPageContent, type CreateDocumentationPageRoom, type CreateDocumentationPageSnapshot, type CreateDocumentationPageV1, type CreateDocumentationPageV2, type CreateElementGroup, type CreateElementGroupSnapshot, type CreateElementPropertyDefinition, type CreateElementPropertyValue, type CreateElementView, type CreateElementViewColumn, type CreateExportJob, type CreateExporterMembership, type CreateFigmaFileStructure, type CreateFigmaNodeReference, type CreateImportJob, type CreatePersonalAccessToken, type CreatePublishedDocPage, type CreateTheme, CreateUserInput, CreateWorkspaceInput, type CreateWorkspaceRoom, CustomDomain, type CustomDomainState, Customer, DataSource, DataSourceAutoImportMode, DataSourceFigmaFileData, DataSourceFigmaFileVersionData, DataSourceFigmaImportMetadata, DataSourceFigmaRemote, DataSourceFigmaScope, DataSourceFigmaState, DataSourceImportModel, DataSourceRemote, DataSourceRemoteType, DataSourceStats, DataSourceTokenStudioRemote, DataSourceUploadImportMetadata, DataSourceUploadRemote, DataSourceUploadRemoteSource, DataSourceVersion, type DbCreateInputOmit, type DbUpdate, type DbUpdateInputOmit, type Defined, DesignElement, DesignElementBase, DesignElementBrandedPart, DesignElementCategory, DesignElementGroupableBase, DesignElementGroupablePart, DesignElementGroupableRequiredPart, DesignElementImportedBase, DesignElementOrigin, type DesignElementOriginImportModel, type DesignElementReference, DesignElementSlugPart, DesignElementSnapshotBase, DesignElementSnapshotReason, DesignElementType, DesignSystem, DesignSystemCreateInput, DesignSystemDump, DesignSystemElementExportProps, DesignSystemSwitcher, DesignSystemUpdateInput, DesignSystemUpdateInputMetadata, DesignSystemVersion, DesignSystemVersionDump, DesignSystemVersionMultiplayerDump, DesignSystemVersionRoom, DesignSystemVersionRoomInitialState, DesignSystemVersionRoomInternalSettings, DesignSystemVersionRoomUpdate, DesignSystemWithWorkspace, DesignToken, DesignTokenBase, DesignTokenImportModel, DesignTokenImportModelBase, DesignTokenImportModelInput, DesignTokenImportModelInputBase, type DesignTokenImportModelInputOfType, type DesignTokenImportModelOfType, type DesignTokenOfType, DesignTokenOrigin, DesignTokenOriginPart, DesignTokenType, DesignTokenTypedData, type DesignTokenTypedDataOfType, type DesignTokensDiff, DimensionTokenData, DimensionUnit, DimensionValue, DocumentationComment, DocumentationCommentThread, DocumentationGroupBehavior, DocumentationGroupV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, DocumentationItemHeaderAlignment, DocumentationItemHeaderAlignmentSchema, DocumentationItemHeaderImageScaleType, DocumentationItemHeaderImageScaleTypeSchema, DocumentationItemHeaderV1, DocumentationItemHeaderV2, DocumentationLinkPreview, DocumentationPage, DocumentationPageAnchor, DocumentationPageContent, DocumentationPageContentBackup, DocumentationPageContentData, DocumentationPageContentItem, DocumentationPageDataV1, DocumentationPageDataV2, DocumentationPageGroup, DocumentationPageRoom, DocumentationPageRoomDump, DocumentationPageRoomInitialStateUpdate, DocumentationPageRoomRoomUpdate, DocumentationPageRoomState, DocumentationPageSnapshot, DocumentationPageV1, DocumentationPageV2, DocumentationThreadDump, DurationTokenData, DurationUnit, DurationValue, ElementGroup, ElementGroupDataV1, ElementGroupDataV2, ElementGroupSnapshot, type ElementGroupsDiff, ElementPropertyDefinition, type ElementPropertyDefinitionDiff, ElementPropertyDefinitionOption, ElementPropertyLinkType, type ElementPropertyReference, ElementPropertyTargetType, ElementPropertyType, ElementPropertyTypeSchema, ElementPropertyValue, type ElementPropertyValueDiff, ElementView, ElementViewBaseColumnType, ElementViewBasePropertyColumn, ElementViewColumn, ElementViewColumnSharedAttributes, ElementViewColumnType, ElementViewPropertyDefinitionColumn, ElementViewThemeColumn, Entity, type ExplicitPartial, ExportDestinationsMap, ExportJob, ExportJobContext, ExportJobDestinationType, ExportJobDocsDestinationResult, ExportJobDocumentationChanges, ExportJobDocumentationContext, ExportJobDump, ExportJobFindByFilter, ExportJobLogEntry, ExportJobLogEntryType, ExportJobPullRequestDestinationResult, ExportJobResult, ExportJobS3DestinationResult, ExportJobStatus, Exporter, ExporterDestinationAzure, ExporterDestinationBitbucket, ExporterDestinationDocs, ExporterDestinationGithub, ExporterDestinationGitlab, ExporterDestinationS3, ExporterDetails, ExporterFunctionPayload, ExporterPropertyImageValue, ExporterPropertyValue, ExporterPropertyValuesCollection, ExporterPulsarDetails, ExporterSource, ExporterTag, ExporterType, ExporterWorkspaceMembership, ExporterWorkspaceMembershipRole, type ExtendedIntegration, ExtendedIntegrationType, ExternalOAuthRequest, ExternalServiceType, FeatureFlag, FeatureFlagMap, type FeatureLimitedDetails, type FeatureToggleDetails, type FeatureWithImportJobsDetails, FeaturesSummary, FigmaFileAccessData, FigmaFileDownloadScope, FigmaFileStructure, FigmaFileStructureData, type FigmaFileStructureDiff, FigmaFileStructureElementData, FigmaFileStructureImportModel, FigmaFileStructureImportModelInput, FigmaFileStructureNode, FigmaFileStructureNodeBase, FigmaFileStructureNodeImportModel, FigmaFileStructureNodeType, FigmaFileStructureOrigin, FigmaFileStructureStatistics, FigmaImportBaseContext, FigmaImportContextWithDownloadScopes, FigmaImportContextWithSourcesState, FigmaNodeReference, FigmaNodeReferenceData, type FigmaNodeReferenceDiff, FigmaNodeReferenceElementData, FigmaNodeReferenceOrigin, FigmaPngRenderImportModel, FigmaRenderBase, FigmaRenderFormat, FigmaRenderImportModel, FigmaSvgRenderImportModel, FileStructureStats, FlaggedFeature, FontFamilyTokenData, FontFamilyValue, FontSizeTokenData, FontSizeUnit, FontSizeValue, FontWeightTokenData, FontWeightValue, GitBranch, GitIntegrationType, GitObjectsQuery, GitOrganization, GitProject, GitProvider, GitProviderNames, GitRepository, GradientLayerData, GradientLayerValue, GradientStop, GradientTokenData, GradientTokenValue, GradientType, HANDLE_MAX_LENGTH, HANDLE_MIN_LENGTH, HierarchicalElements, IconSet, ImageImportModel, ImageImportModelType, ImportFunctionInput, ImportJob, ImportJobOperation, ImportJobState, ImportModelBase, ImportModelCollection, ImportModelInputBase, ImportModelInputCollection, ImportWarning, ImportWarningType, type ImportedAsset, type ImportedComponent, type ImportedDesignToken, type ImportedDesignTokenOfType, ImportedFigmaSourceData, Integration, IntegrationAuthType, IntegrationCredentials, IntegrationCredentialsProfile, IntegrationCredentialsState, IntegrationCredentialsType, IntegrationDesignSystem, IntegrationToken, type IntegrationTokenOld, IntegrationTokenSchemaOld, IntegrationType, IntegrationUserInfo, InternalStatus, InternalStatusSchema, type Invoice, type InvoiceCoupon, InvoiceCouponSchema, type InvoiceLine, InvoiceLineSchema, InvoiceSchema, LetterSpacingTokenData, LetterSpacingUnit, LetterSpacingValue, LineHeightTokenData, LineHeightUnit, LineHeightValue, LiveblocksNotificationSettings, MAX_MEMBERS_COUNT, NpmPackage, NpmProxyToken, NpmProxyTokenPayload, NpmRegistrCustomAuthConfig, NpmRegistryAuthConfig, NpmRegistryAuthType, NpmRegistryBasicAuthConfig, NpmRegistryBearerAuthConfig, NpmRegistryConfig, NpmRegistryNoAuthConfig, NpmRegistryType, type Nullish, OAuthProvider, OAuthProviderNames, OAuthProviderSchema, ObjectMeta, type OmitStrict, OpacityTokenData, OpacityValue, type Optional, type OptionalToNullable, PageBlockAlignment, PageBlockAppearanceV2, PageBlockAsset, PageBlockAssetComponent, PageBlockAssetEntityMeta, PageBlockAssetType, PageBlockBaseV1, PageBlockBehaviorDataType, PageBlockBehaviorSelectionType, PageBlockCalloutType, PageBlockCategory, PageBlockCodeLanguage, PageBlockColorV2, PageBlockCustomBlockPropertyImageValue, PageBlockCustomBlockPropertyValue, PageBlockDataV2, PageBlockDefinition, PageBlockDefinitionAppearance, PageBlockDefinitionBehavior, PageBlockDefinitionBooleanOptions, PageBlockDefinitionBooleanPropertyStyle, PageBlockDefinitionComponentOptions, PageBlockDefinitionImageAspectRatio, PageBlockDefinitionImageOptions, PageBlockDefinitionImageWidth, PageBlockDefinitionItem, PageBlockDefinitionLayout, PageBlockDefinitionLayoutAlign, PageBlockDefinitionLayoutBase, PageBlockDefinitionLayoutGap, PageBlockDefinitionLayoutResizing, PageBlockDefinitionLayoutType, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockDefinitionMultiSelectPropertyStyle, PageBlockDefinitionMutiRichTextOptions, PageBlockDefinitionNumberOptions, PageBlockDefinitionOnboarding, PageBlockDefinitionProperty, PageBlockDefinitionPropertyType, PageBlockDefinitionRichTextOptions, PageBlockDefinitionRichTextPropertyStyle, PageBlockDefinitionSelectChoice, PageBlockDefinitionSelectOptions, PageBlockDefinitionSingleSelectPropertyColor, PageBlockDefinitionSingleSelectPropertyStyle, PageBlockDefinitionTextOptions, PageBlockDefinitionTextPropertyColor, PageBlockDefinitionTextPropertyStyle, PageBlockDefinitionUntypedPropertyOptions, PageBlockDefinitionVariant, PageBlockDefinitionsMap, PageBlockEditorModelV2, PageBlockFigmaComponentEntityMeta, PageBlockFigmaFrameProperties, PageBlockFigmaNodeEntityMeta, PageBlockFrame, PageBlockFrameOrigin, PageBlockGuideline, PageBlockImageAlignment, PageBlockImageReference, PageBlockImageResourceReference, PageBlockImageType, PageBlockItemAssetPropertyValue, PageBlockItemAssetValue, PageBlockItemBooleanValue, PageBlockItemCodeValue, PageBlockItemColorValue, PageBlockItemComponentPropertyValue, PageBlockItemComponentValue, PageBlockItemDividerValue, PageBlockItemEmbedValue, PageBlockItemFigmaComponentValue, PageBlockItemFigmaNodeValue, PageBlockItemImageValue, PageBlockItemMarkdownValue, PageBlockItemMultiRichTextValue, PageBlockItemMultiSelectValue, PageBlockItemNumberValue, PageBlockItemRichTextValue, PageBlockItemSandboxValue, PageBlockItemSingleSelectValue, PageBlockItemStorybookValue, PageBlockItemTableCell, PageBlockItemTableImageNode, PageBlockItemTableMultiRichTextNode, PageBlockItemTableNode, PageBlockItemTableRichTextNode, PageBlockItemTableRow, PageBlockItemTableValue, PageBlockItemTextValue, PageBlockItemTokenPropertyValue, PageBlockItemTokenTypeValue, PageBlockItemTokenValue, PageBlockItemUntypedValue, PageBlockItemUrlValue, PageBlockItemV2, PageBlockLinkPreview, PageBlockLinkType, PageBlockLinkV2, PageBlockPreviewContainerSize, PageBlockRenderCodeProperties, PageBlockResourceFrameNodeReference, PageBlockShortcut, PageBlockTableCellAlignment, PageBlockTableColumn, PageBlockTableProperties, PageBlockText, PageBlockTextSpan, PageBlockTextSpanAttribute, PageBlockTextSpanAttributeType, PageBlockTheme, PageBlockThemeDisplayMode, PageBlockThemeType, PageBlockTilesAlignment, PageBlockTilesLayout, PageBlockTypeV1, PageBlockUrlPreview, PageBlockV1, PageBlockV2, PageSectionAppearanceV2, PageSectionColumnV2, PageSectionEditorModelV2, PageSectionItemV2, PageSectionPaddingV2, PageSectionTypeV2, type Pagination, ParagraphIndentTokenData, ParagraphIndentUnit, ParagraphIndentValue, ParagraphSpacingTokenData, ParagraphSpacingUnit, ParagraphSpacingValue, PeriodSchema, PersonalAccessToken, type PersonalAccessTokenWithUser, Pipeline, PipelineDestinationExtraType, PipelineDestinationGitType, PipelineDestinationType, PipelineEventType, type PluginOAuthRequest, PluginOAuthRequestSchema, Point2D, PostStripeCheckoutBodyInputSchema, PostStripeCheckoutOutputSchema, PostStripePortalSessionBodyInputSchema, PostStripePortalSessionOutputSchema, PostStripePortalUpdateSessionBodyInputSchema, type Price, PriceSchema, ProductCode, ProductCodeSchema, ProductCopyTokenData, ProductCopyValue, PublishedDoc, PublishedDocEnvironment, PublishedDocPage, PublishedDocRoutingVersion, PublishedDocsChecksums, PublishedDocsDump, PulsarBaseProperty, PulsarContributionConfigurationProperty, PulsarContributionVariant, PulsarCustomBlock, PulsarPropertyType, RESERVED_SLUGS, RESERVED_SLUG_PREFIX, RenderedAssetFile, ResolvedAsset, RestoredDocumentationGroup, RestoredDocumentationPage, RoomType, RoomTypeEnum, RoomTypeSchema, SHORT_PERSISTENT_ID_LENGTH, SafeIdSchema, Session, SessionData, ShadowLayerValue, ShadowTokenData, ShadowType, ShallowDesignElement, Size, SizeOrUndefined, SizeTokenData, SizeUnit, SizeValue, SourceImportComponentSummary, SourceImportFrameSummary, SourceImportSummary, SourceImportSummaryByTokenType, SourceImportTokenSummary, SpaceTokenData, SpaceUnit, SpaceValue, SsoProvider, StringTokenData, StringValue, type StripeCheckoutInput, type StripeCheckoutOutput, type StripePortalSessionInput, type StripePortalSessionOutput, StripeSubscriptionStatus, StripeSubscriptionStatusSchema, Subscription, SupernovaException, type SupernovaExceptionType, TextCase, TextCaseTokenData, TextCaseValue, TextDecoration, TextDecorationTokenData, TextDecorationValue, Theme, type ThemeDiff, ThemeElementData, ThemeImportModel, ThemeImportModelInput, ThemeOrigin, ThemeOriginObject, ThemeOriginPart, ThemeOriginSource, ThemeOverride, ThemeOverrideImportModel, ThemeOverrideImportModelBase, ThemeOverrideImportModelInput, type ThemeOverrideImportModelInputOfType, type ThemeOverrideImportModelOfType, type ThemeOverrideOfType, ThemeOverrideOrigin, ThemeOverrideOriginPart, ThemeUpdateImportModel, ThemeUpdateImportModelInput, TokenDataAliasSchema, TypographyTokenData, TypographyValue, type UpdateComponent, type UpdateDataSource, type UpdateDesignElement, type UpdateDesignSystemVersion, type UpdateDesignSystemVersionRoom, type UpdateDesignToken, type UpdateDocumentationPageContent, type UpdateDocumentationPageRoom, type UpdateDocumentationPageSnapshot, type UpdateDocumentationPageV1, type UpdateDocumentationPageV2, type UpdateElementGroup, type UpdateElementGroupSnapshot, type UpdateElementPropertyDefinition, type UpdateElementPropertyValue, type UpdateElementView, type UpdateElementViewColumn, type UpdateExportJob, type UpdateFigmaFileStructure, type UpdateFigmaNodeReference, type UpdateImportJob, UpdateMembershipRolesInput, type UpdatePublishedDocPage, type UpdateTheme, type UpdateWorkspaceRoom, UrlImageImportModel, User, UserAnalyticsCleanupSchedule, UserAnalyticsCleanupScheduleDbInput, UserDump, UserIdentity, UserInvite, UserInvites, UserLinkedIntegrations, UserMinified, UserNotificationSettings, UserOnboarding, UserOnboardingDepartment, UserOnboardingJobLevel, UserProfile, UserProfileUpdate, UserSession, UserTest, VersionCreationJob, VersionCreationJobStatus, Visibility, VisibilityTokenData, VisibilityValue, type WithRequired, Workspace, WorkspaceConfigurationUpdate, WorkspaceContext, WorkspaceDump, WorkspaceInvitation, WorkspaceIpSettings, WorkspaceIpWhitelistEntry, WorkspaceMembership, type WorkspaceOAuthRequest, WorkspaceOAuthRequestSchema, WorkspaceProfile, WorkspaceProfileUpdate, WorkspaceRole, WorkspaceRoleSchema, WorkspaceRoom, WorkspaceWithDesignSystems, ZIndexTokenData, ZIndexUnit, ZIndexValue, addImportModelCollections, buildConstantEnum, defaultDocumentationItemConfigurationV1, defaultDocumentationItemConfigurationV2, defaultDocumentationItemHeaderV1, defaultDocumentationItemHeaderV2, defaultNotificationSettings, designTokenImportModelTypeFilter, designTokenTypeFilter, extractTokenTypedData, figmaFileStructureImportModelToMap, figmaFileStructureToMap, filterNonNullish, forceUnwrapNullish, getCodenameFromText, getFigmaRenderFormatFileExtension, groupBy, isDesignTokenImportModelOfType, isDesignTokenOfType, isImportedAsset, isImportedComponent, isImportedDesignToken, isSlugReserved, isTokenType, mapByUnique, mapPageBlockItemValuesV2, nonNullFilter, nonNullishFilter, nullishToOptional, parseUrl, promiseWithTimeout, publishedDocEnvironments, sleep, slugRegex, slugify, tokenAliasOrValue, tokenElementTypes, traversePageBlockItemValuesV2, traversePageBlockItemsV2, traversePageBlocksV1, traversePageItemsV2, traverseStructure, trimLeadingSlash, trimTrailingSlash, tryParseShortPersistentId, tryParseUrl, uniqueBy, zodCreateInputOmit, zodUpdateInputOmit };
162402
+ export { Address, type AllFields, type ArrayElementType, Asset, AssetDeleteSchedule, type AssetDeleteScheduleDbInput, AssetDeleteScheduleStatus, AssetDynamoRecord, AssetFontProperties, type AssetImportModel, AssetImportModelInput, AssetOrigin, AssetProcessStatus, AssetProperties, AssetReference, type AssetReferenceDiff, AssetRenderConfiguration, AssetScope, AssetType, AssetValue, AuthTokens, BillingDetails, type BillingInterval, BillingIntervalSchema, BillingType, BillingTypeSchema, BlurTokenData, BlurType, BlurValue, BorderPosition, BorderRadiusTokenData, BorderRadiusUnit, BorderRadiusValue, BorderStyle, BorderTokenData, BorderValue, BorderWidthTokenData, BorderWidthUnit, BorderWidthValue, Brand, BrandedElementGroup, type Card, CardSchema, ChangedImportedFigmaSourceData, CodeIntegrationDump, ColorTokenData, ColorTokenInlineData, ColorValue, Component, ComponentAsset, type ComponentDiff, ComponentElementData, ComponentImportModel, ComponentImportModelInput, ComponentOrigin, ComponentOriginPart, ContentLoadInstruction, ContentLoaderPayload, type CreateAssetReference, type CreateBrand, type CreateComponent, type CreateDataSource, type CreateDesignElement, type CreateDesignElementReference, type CreateDesignSystemVersion, type CreateDesignSystemVersionRoom, CreateDesignToken, type CreateDocumentationPageContent, type CreateDocumentationPageRoom, type CreateDocumentationPageSnapshot, type CreateDocumentationPageV1, type CreateDocumentationPageV2, type CreateElementGroup, type CreateElementGroupSnapshot, type CreateElementPropertyDefinition, type CreateElementPropertyValue, type CreateElementView, type CreateElementViewColumn, type CreateExportJob, type CreateExporterMembership, type CreateFigmaFileStructure, type CreateFigmaNodeReference, type CreateImportJob, type CreatePersonalAccessToken, type CreatePublishedDocPage, type CreateTheme, CreateUserInput, CreateWorkspaceInput, type CreateWorkspaceRoom, CustomDomain, type CustomDomainState, Customer, DataSource, DataSourceAutoImportMode, DataSourceFigmaFileData, DataSourceFigmaFileVersionData, DataSourceFigmaImportMetadata, DataSourceFigmaRemote, DataSourceFigmaScope, DataSourceFigmaState, DataSourceImportModel, DataSourceRemote, DataSourceRemoteType, DataSourceStats, DataSourceTokenStudioRemote, DataSourceUploadImportMetadata, DataSourceUploadRemote, DataSourceUploadRemoteSource, DataSourceVersion, type DbCreateInputOmit, type DbUpdate, type DbUpdateInputOmit, type Defined, DesignElement, DesignElementBase, DesignElementBrandedPart, DesignElementCategory, DesignElementGroupableBase, DesignElementGroupablePart, DesignElementGroupableRequiredPart, DesignElementImportedBase, DesignElementOrigin, type DesignElementOriginImportModel, type DesignElementReference, DesignElementSlugPart, DesignElementSnapshotBase, DesignElementSnapshotReason, DesignElementType, DesignSystem, DesignSystemCreateInput, DesignSystemDump, DesignSystemElementExportProps, DesignSystemSwitcher, DesignSystemUpdateInput, DesignSystemUpdateInputMetadata, DesignSystemVersion, DesignSystemVersionDump, DesignSystemVersionMultiplayerDump, DesignSystemVersionRoom, DesignSystemVersionRoomInitialState, DesignSystemVersionRoomInternalSettings, DesignSystemVersionRoomUpdate, DesignSystemWithWorkspace, DesignToken, DesignTokenBase, DesignTokenImportModel, DesignTokenImportModelBase, DesignTokenImportModelInput, DesignTokenImportModelInputBase, type DesignTokenImportModelInputOfType, type DesignTokenImportModelOfType, type DesignTokenOfType, DesignTokenOrigin, DesignTokenOriginPart, DesignTokenType, DesignTokenTypedData, type DesignTokenTypedDataOfType, type DesignTokensDiff, DimensionTokenData, DimensionUnit, DimensionValue, DocumentationComment, DocumentationCommentThread, DocumentationGroupBehavior, DocumentationGroupV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, DocumentationItemHeaderAlignment, DocumentationItemHeaderAlignmentSchema, DocumentationItemHeaderImageScaleType, DocumentationItemHeaderImageScaleTypeSchema, DocumentationItemHeaderV1, DocumentationItemHeaderV2, DocumentationLinkPreview, DocumentationPage, DocumentationPageAnchor, DocumentationPageContent, DocumentationPageContentBackup, DocumentationPageContentData, DocumentationPageContentItem, DocumentationPageDataV1, DocumentationPageDataV2, DocumentationPageGroup, DocumentationPageRoom, DocumentationPageRoomDump, DocumentationPageRoomInitialStateUpdate, DocumentationPageRoomRoomUpdate, DocumentationPageRoomState, DocumentationPageSnapshot, DocumentationPageV1, DocumentationPageV2, DocumentationThreadDump, DurationTokenData, DurationUnit, DurationValue, ElementGroup, ElementGroupDataV1, ElementGroupDataV2, ElementGroupSnapshot, type ElementGroupsDiff, ElementPropertyDefinition, type ElementPropertyDefinitionDiff, ElementPropertyDefinitionOption, ElementPropertyLinkType, type ElementPropertyReference, ElementPropertyTargetType, ElementPropertyType, ElementPropertyTypeSchema, ElementPropertyValue, type ElementPropertyValueDiff, ElementView, ElementViewBaseColumnType, ElementViewBasePropertyColumn, ElementViewColumn, ElementViewColumnSharedAttributes, ElementViewColumnType, ElementViewPropertyDefinitionColumn, ElementViewThemeColumn, Entity, type ExplicitPartial, ExportDestinationsMap, ExportJob, ExportJobContext, ExportJobDestinationType, ExportJobDocsDestinationResult, ExportJobDocumentationChanges, ExportJobDocumentationContext, ExportJobDump, ExportJobFindByFilter, ExportJobLogEntry, ExportJobLogEntryType, ExportJobPullRequestDestinationResult, ExportJobResult, ExportJobS3DestinationResult, ExportJobStatus, Exporter, ExporterDestinationAzure, ExporterDestinationBitbucket, ExporterDestinationDocs, ExporterDestinationGithub, ExporterDestinationGitlab, ExporterDestinationS3, ExporterDetails, ExporterFunctionPayload, ExporterPropertyImageValue, ExporterPropertyValue, ExporterPropertyValuesCollection, ExporterPulsarDetails, ExporterSource, ExporterTag, ExporterType, ExporterWorkspaceMembership, ExporterWorkspaceMembershipRole, type ExtendedIntegration, ExtendedIntegrationType, ExternalOAuthRequest, ExternalServiceType, FeatureFlag, FeatureFlagMap, type FeatureLimitedDetails, type FeatureToggleDetails, type FeatureWithImportJobsDetails, FeaturesSummary, FigmaFileAccessData, FigmaFileDownloadScope, FigmaFileStructure, FigmaFileStructureData, type FigmaFileStructureDiff, FigmaFileStructureElementData, FigmaFileStructureImportModel, FigmaFileStructureImportModelInput, FigmaFileStructureNode, FigmaFileStructureNodeBase, FigmaFileStructureNodeImportModel, FigmaFileStructureNodeType, FigmaFileStructureOrigin, FigmaFileStructureStatistics, FigmaImportBaseContext, FigmaImportContextWithDownloadScopes, FigmaImportContextWithSourcesState, FigmaNodeReference, FigmaNodeReferenceData, type FigmaNodeReferenceDiff, FigmaNodeReferenceElementData, FigmaNodeReferenceOrigin, FigmaPngRenderImportModel, FigmaRenderBase, FigmaRenderFormat, FigmaRenderImportModel, FigmaSvgRenderImportModel, FileStructureStats, FlaggedFeature, FontFamilyTokenData, FontFamilyValue, FontSizeTokenData, FontSizeUnit, FontSizeValue, FontWeightTokenData, FontWeightValue, GitBranch, GitIntegrationType, GitObjectsQuery, GitOrganization, GitProject, GitProvider, GitProviderNames, GitRepository, GradientLayerData, GradientLayerValue, GradientStop, GradientTokenData, GradientTokenValue, GradientType, HANDLE_MAX_LENGTH, HANDLE_MIN_LENGTH, HierarchicalElements, IconSet, ImageImportModel, ImageImportModelType, ImportFunctionInput, ImportJob, ImportJobOperation, ImportJobState, ImportModelBase, ImportModelCollection, ImportModelInputBase, ImportModelInputCollection, ImportWarning, ImportWarningType, type ImportedAsset, type ImportedComponent, type ImportedDesignToken, type ImportedDesignTokenOfType, ImportedFigmaSourceData, Integration, IntegrationAuthType, IntegrationCredentials, IntegrationCredentialsProfile, IntegrationCredentialsState, IntegrationCredentialsType, IntegrationDesignSystem, IntegrationToken, type IntegrationTokenOld, IntegrationTokenSchemaOld, IntegrationType, IntegrationUserInfo, InternalStatus, InternalStatusSchema, type Invoice, type InvoiceCoupon, InvoiceCouponSchema, type InvoiceLine, InvoiceLineSchema, InvoiceSchema, LetterSpacingTokenData, LetterSpacingUnit, LetterSpacingValue, LineHeightTokenData, LineHeightUnit, LineHeightValue, LiveblocksNotificationSettings, MAX_MEMBERS_COUNT, NpmPackage, NpmProxyToken, NpmProxyTokenPayload, NpmRegistrCustomAuthConfig, NpmRegistryAuthConfig, NpmRegistryAuthType, NpmRegistryBasicAuthConfig, NpmRegistryBearerAuthConfig, NpmRegistryConfig, NpmRegistryNoAuthConfig, NpmRegistryType, type Nullish, OAuthProvider, OAuthProviderNames, OAuthProviderSchema, ObjectMeta, type OmitStrict, OpacityTokenData, OpacityValue, type Optional, type OptionalToNullable, PageBlockAlignment, PageBlockAppearanceV2, PageBlockAsset, PageBlockAssetComponent, PageBlockAssetEntityMeta, PageBlockAssetType, PageBlockBaseV1, PageBlockBehaviorDataType, PageBlockBehaviorSelectionType, PageBlockCalloutType, PageBlockCategory, PageBlockCodeLanguage, PageBlockColorV2, PageBlockCustomBlockPropertyImageValue, PageBlockCustomBlockPropertyValue, PageBlockDataV2, PageBlockDefinition, PageBlockDefinitionAppearance, PageBlockDefinitionBehavior, PageBlockDefinitionBooleanOptions, PageBlockDefinitionBooleanPropertyStyle, PageBlockDefinitionComponentOptions, PageBlockDefinitionImageAspectRatio, PageBlockDefinitionImageOptions, PageBlockDefinitionImageWidth, PageBlockDefinitionItem, PageBlockDefinitionLayout, PageBlockDefinitionLayoutAlign, PageBlockDefinitionLayoutBase, PageBlockDefinitionLayoutGap, PageBlockDefinitionLayoutResizing, PageBlockDefinitionLayoutType, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockDefinitionMultiSelectPropertyStyle, PageBlockDefinitionMutiRichTextOptions, PageBlockDefinitionNumberOptions, PageBlockDefinitionOnboarding, PageBlockDefinitionProperty, PageBlockDefinitionPropertyType, PageBlockDefinitionRichTextOptions, PageBlockDefinitionRichTextPropertyStyle, PageBlockDefinitionSelectChoice, PageBlockDefinitionSelectOptions, PageBlockDefinitionSingleSelectPropertyColor, PageBlockDefinitionSingleSelectPropertyStyle, PageBlockDefinitionTextOptions, PageBlockDefinitionTextPropertyColor, PageBlockDefinitionTextPropertyStyle, PageBlockDefinitionUntypedPropertyOptions, PageBlockDefinitionVariant, PageBlockDefinitionsMap, PageBlockEditorModelV2, PageBlockFigmaComponentEntityMeta, PageBlockFigmaFrameProperties, PageBlockFigmaNodeEntityMeta, PageBlockFrame, PageBlockFrameOrigin, PageBlockGuideline, PageBlockImageAlignment, PageBlockImageReference, PageBlockImageResourceReference, PageBlockImageType, PageBlockItemAssetPropertyValue, PageBlockItemAssetValue, PageBlockItemBooleanValue, PageBlockItemCodeValue, PageBlockItemColorValue, PageBlockItemComponentPropertyValue, PageBlockItemComponentValue, PageBlockItemDividerValue, PageBlockItemEmbedValue, PageBlockItemFigmaComponentValue, PageBlockItemFigmaNodeValue, PageBlockItemImageValue, PageBlockItemMarkdownValue, PageBlockItemMultiRichTextValue, PageBlockItemMultiSelectValue, PageBlockItemNumberValue, PageBlockItemRichTextValue, PageBlockItemSandboxValue, PageBlockItemSingleSelectValue, PageBlockItemStorybookValue, PageBlockItemTableCell, PageBlockItemTableImageNode, PageBlockItemTableMultiRichTextNode, PageBlockItemTableNode, PageBlockItemTableRichTextNode, PageBlockItemTableRow, PageBlockItemTableValue, PageBlockItemTextValue, PageBlockItemTokenPropertyValue, PageBlockItemTokenTypeValue, PageBlockItemTokenValue, PageBlockItemUntypedValue, PageBlockItemUrlValue, PageBlockItemV2, PageBlockLinkPreview, PageBlockLinkType, PageBlockLinkV2, PageBlockPreviewContainerSize, PageBlockRenderCodeProperties, PageBlockResourceFrameNodeReference, PageBlockShortcut, PageBlockTableCellAlignment, PageBlockTableColumn, PageBlockTableProperties, PageBlockText, PageBlockTextSpan, PageBlockTextSpanAttribute, PageBlockTextSpanAttributeType, PageBlockTheme, PageBlockThemeDisplayMode, PageBlockThemeType, PageBlockTilesAlignment, PageBlockTilesLayout, PageBlockTypeV1, PageBlockUrlPreview, PageBlockV1, PageBlockV2, PageSectionAppearanceV2, PageSectionColumnV2, PageSectionEditorModelV2, PageSectionItemV2, PageSectionPaddingV2, PageSectionTypeV2, type Pagination, ParagraphIndentTokenData, ParagraphIndentUnit, ParagraphIndentValue, ParagraphSpacingTokenData, ParagraphSpacingUnit, ParagraphSpacingValue, PeriodSchema, PersonalAccessToken, type PersonalAccessTokenWithUser, Pipeline, PipelineDestinationExtraType, PipelineDestinationGitType, PipelineDestinationType, PipelineEventType, type PluginOAuthRequest, PluginOAuthRequestSchema, Point2D, PostStripeCheckoutBodyInputSchema, PostStripeCheckoutOutputSchema, PostStripePortalSessionBodyInputSchema, PostStripePortalSessionOutputSchema, PostStripePortalUpdateSessionBodyInputSchema, type Price, PriceSchema, ProductCode, ProductCodeSchema, ProductCopyTokenData, ProductCopyValue, PublishedDoc, PublishedDocEnvironment, PublishedDocPage, PublishedDocRoutingVersion, PublishedDocsChecksums, PublishedDocsDump, PulsarBaseProperty, PulsarContributionConfigurationProperty, PulsarContributionVariant, PulsarCustomBlock, PulsarPropertyType, RESERVED_SLUGS, RESERVED_SLUG_PREFIX, RenderedAssetFile, ResolvedAsset, RestoredDocumentationGroup, RestoredDocumentationPage, RoomType, RoomTypeEnum, RoomTypeSchema, SHORT_PERSISTENT_ID_LENGTH, SafeIdSchema, Session, SessionData, ShadowLayerValue, ShadowTokenData, ShadowType, ShallowDesignElement, Size, SizeOrUndefined, SizeTokenData, SizeUnit, SizeValue, SourceImportComponentSummary, SourceImportFrameSummary, SourceImportSummary, SourceImportSummaryByTokenType, SourceImportTokenSummary, SpaceTokenData, SpaceUnit, SpaceValue, SsoProvider, StringTokenData, StringValue, type StripeCheckoutInput, type StripeCheckoutOutput, type StripePortalSessionInput, type StripePortalSessionOutput, StripeSubscriptionStatus, StripeSubscriptionStatusSchema, Subscription, SupernovaException, type SupernovaExceptionType, TextCase, TextCaseTokenData, TextCaseValue, TextDecoration, TextDecorationTokenData, TextDecorationValue, Theme, type ThemeDiff, ThemeElementData, ThemeImportModel, ThemeImportModelInput, ThemeOrigin, ThemeOriginObject, ThemeOriginPart, ThemeOriginSource, ThemeOverride, ThemeOverrideImportModel, ThemeOverrideImportModelBase, ThemeOverrideImportModelInput, type ThemeOverrideImportModelInputOfType, type ThemeOverrideImportModelOfType, type ThemeOverrideOfType, ThemeOverrideOrigin, ThemeOverrideOriginPart, ThemeUpdateImportModel, ThemeUpdateImportModelInput, TokenDataAliasSchema, TypographyTokenData, TypographyValue, type UpdateComponent, type UpdateDataSource, type UpdateDesignElement, type UpdateDesignSystemVersion, type UpdateDesignSystemVersionRoom, type UpdateDesignToken, type UpdateDocumentationPageContent, type UpdateDocumentationPageRoom, type UpdateDocumentationPageSnapshot, type UpdateDocumentationPageV1, type UpdateDocumentationPageV2, type UpdateElementGroup, type UpdateElementGroupSnapshot, type UpdateElementPropertyDefinition, type UpdateElementPropertyValue, type UpdateElementView, type UpdateElementViewColumn, type UpdateExportJob, type UpdateFigmaFileStructure, type UpdateFigmaNodeReference, type UpdateImportJob, UpdateMembershipRolesInput, type UpdatePublishedDocPage, type UpdateTheme, type UpdateWorkspaceRoom, UrlImageImportModel, User, UserAnalyticsCleanupSchedule, UserAnalyticsCleanupScheduleDbInput, UserDump, UserIdentity, UserInvite, UserInvites, UserLinkedIntegrations, UserMinified, UserNotificationSettings, UserOnboarding, UserOnboardingDepartment, UserOnboardingJobLevel, UserProfile, UserProfileUpdate, UserSession, UserTest, VersionCreationJob, VersionCreationJobStatus, Visibility, VisibilityTokenData, VisibilityValue, type WithRequired, Workspace, WorkspaceConfigurationUpdate, WorkspaceContext, WorkspaceDump, WorkspaceInvitation, WorkspaceIpSettings, WorkspaceIpWhitelistEntry, WorkspaceMembership, type WorkspaceOAuthRequest, WorkspaceOAuthRequestSchema, WorkspaceProfile, WorkspaceProfileUpdate, WorkspaceRole, WorkspaceRoleSchema, WorkspaceRoom, WorkspaceWithDesignSystems, ZIndexTokenData, ZIndexUnit, ZIndexValue, addImportModelCollections, buildConstantEnum, defaultDocumentationItemConfigurationV1, defaultDocumentationItemConfigurationV2, defaultDocumentationItemHeaderV1, defaultDocumentationItemHeaderV2, defaultNotificationSettings, designTokenImportModelTypeFilter, designTokenTypeFilter, extractTokenTypedData, figmaFileStructureImportModelToMap, figmaFileStructureToMap, filterNonNullish, forceUnwrapNullish, getCodenameFromText, getFigmaRenderFormatFileExtension, groupBy, isDesignTokenImportModelOfType, isDesignTokenOfType, isImportedAsset, isImportedComponent, isImportedDesignToken, isSlugReserved, isTokenType, mapByUnique, mapPageBlockItemValuesV2, nonNullFilter, nonNullishFilter, nullishToOptional, parseUrl, pickLatestGroupSnapshots, pickLatestPageSnapshots, pickLatestSnapshots, promiseWithTimeout, publishedDocEnvironments, sleep, slugRegex, slugify, tokenAliasOrValue, tokenElementTypes, traversePageBlockItemValuesV2, traversePageBlockItemsV2, traversePageBlocksV1, traversePageItemsV2, traverseStructure, trimLeadingSlash, trimTrailingSlash, tryParseShortPersistentId, tryParseUrl, uniqueBy, zodCreateInputOmit, zodUpdateInputOmit };
package/dist/index.d.ts CHANGED
@@ -34688,6 +34688,7 @@ declare const DesignElementSnapshotBase: z.ZodObject<{
34688
34688
  type DesignElementSnapshotBase = z.infer<typeof DesignElementSnapshotBase>;
34689
34689
  declare const DesignElementSnapshotReason: z.ZodEnum<["Publish", "Deletion"]>;
34690
34690
  type DesignElementSnapshotReason = z.infer<typeof DesignElementSnapshotReason>;
34691
+ declare function pickLatestSnapshots<T extends DesignElementSnapshotBase>(snapshots: T[], getSnapshotElementId: (snapshot: T) => string): T[];
34691
34692
 
34692
34693
  declare const TokenDataAliasSchema: z.ZodObject<{
34693
34694
  aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
@@ -72904,6 +72905,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<z.objectUtil.extendShape<{
72904
72905
  type DocumentationPageSnapshot = z.infer<typeof DocumentationPageSnapshot>;
72905
72906
  type CreateDocumentationPageSnapshot = DbCreateInputOmit<DocumentationPageSnapshot>;
72906
72907
  type UpdateDocumentationPageSnapshot = OmitStrict<DbUpdate<DocumentationPageSnapshot>, "designSystemVersionId">;
72908
+ declare function pickLatestPageSnapshots(snapshots: DocumentationPageSnapshot[]): DocumentationPageSnapshot[];
72907
72909
 
72908
72910
  /**
72909
72911
  * Snapshot of an element group.
@@ -73373,6 +73375,7 @@ declare const ElementGroupSnapshot: z.ZodObject<z.objectUtil.extendShape<{
73373
73375
  type ElementGroupSnapshot = z.infer<typeof ElementGroupSnapshot>;
73374
73376
  type CreateElementGroupSnapshot = DbCreateInputOmit<ElementGroupSnapshot>;
73375
73377
  type UpdateElementGroupSnapshot = OmitStrict<DbUpdate<ElementGroupSnapshot>, "designSystemVersionId">;
73378
+ declare function pickLatestGroupSnapshots(snapshots: ElementGroupSnapshot[]): ElementGroupSnapshot[];
73376
73379
 
73377
73380
  declare const FigmaFileDownloadScope: z.ZodObject<{
73378
73381
  styles: z.ZodBoolean;
@@ -162396,4 +162399,4 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
162396
162399
  }>;
162397
162400
  type WorkspaceWithDesignSystems = z.infer<typeof WorkspaceWithDesignSystems>;
162398
162401
 
162399
- export { Address, type AllFields, type ArrayElementType, Asset, AssetDeleteSchedule, type AssetDeleteScheduleDbInput, AssetDeleteScheduleStatus, AssetDynamoRecord, AssetFontProperties, type AssetImportModel, AssetImportModelInput, AssetOrigin, AssetProcessStatus, AssetProperties, AssetReference, type AssetReferenceDiff, AssetRenderConfiguration, AssetScope, AssetType, AssetValue, AuthTokens, BillingDetails, type BillingInterval, BillingIntervalSchema, BillingType, BillingTypeSchema, BlurTokenData, BlurType, BlurValue, BorderPosition, BorderRadiusTokenData, BorderRadiusUnit, BorderRadiusValue, BorderStyle, BorderTokenData, BorderValue, BorderWidthTokenData, BorderWidthUnit, BorderWidthValue, Brand, BrandedElementGroup, type Card, CardSchema, ChangedImportedFigmaSourceData, CodeIntegrationDump, ColorTokenData, ColorTokenInlineData, ColorValue, Component, ComponentAsset, type ComponentDiff, ComponentElementData, ComponentImportModel, ComponentImportModelInput, ComponentOrigin, ComponentOriginPart, ContentLoadInstruction, ContentLoaderPayload, type CreateAssetReference, type CreateBrand, type CreateComponent, type CreateDataSource, type CreateDesignElement, type CreateDesignElementReference, type CreateDesignSystemVersion, type CreateDesignSystemVersionRoom, CreateDesignToken, type CreateDocumentationPageContent, type CreateDocumentationPageRoom, type CreateDocumentationPageSnapshot, type CreateDocumentationPageV1, type CreateDocumentationPageV2, type CreateElementGroup, type CreateElementGroupSnapshot, type CreateElementPropertyDefinition, type CreateElementPropertyValue, type CreateElementView, type CreateElementViewColumn, type CreateExportJob, type CreateExporterMembership, type CreateFigmaFileStructure, type CreateFigmaNodeReference, type CreateImportJob, type CreatePersonalAccessToken, type CreatePublishedDocPage, type CreateTheme, CreateUserInput, CreateWorkspaceInput, type CreateWorkspaceRoom, CustomDomain, type CustomDomainState, Customer, DataSource, DataSourceAutoImportMode, DataSourceFigmaFileData, DataSourceFigmaFileVersionData, DataSourceFigmaImportMetadata, DataSourceFigmaRemote, DataSourceFigmaScope, DataSourceFigmaState, DataSourceImportModel, DataSourceRemote, DataSourceRemoteType, DataSourceStats, DataSourceTokenStudioRemote, DataSourceUploadImportMetadata, DataSourceUploadRemote, DataSourceUploadRemoteSource, DataSourceVersion, type DbCreateInputOmit, type DbUpdate, type DbUpdateInputOmit, type Defined, DesignElement, DesignElementBase, DesignElementBrandedPart, DesignElementCategory, DesignElementGroupableBase, DesignElementGroupablePart, DesignElementGroupableRequiredPart, DesignElementImportedBase, DesignElementOrigin, type DesignElementOriginImportModel, type DesignElementReference, DesignElementSlugPart, DesignElementSnapshotBase, DesignElementSnapshotReason, DesignElementType, DesignSystem, DesignSystemCreateInput, DesignSystemDump, DesignSystemElementExportProps, DesignSystemSwitcher, DesignSystemUpdateInput, DesignSystemUpdateInputMetadata, DesignSystemVersion, DesignSystemVersionDump, DesignSystemVersionMultiplayerDump, DesignSystemVersionRoom, DesignSystemVersionRoomInitialState, DesignSystemVersionRoomInternalSettings, DesignSystemVersionRoomUpdate, DesignSystemWithWorkspace, DesignToken, DesignTokenBase, DesignTokenImportModel, DesignTokenImportModelBase, DesignTokenImportModelInput, DesignTokenImportModelInputBase, type DesignTokenImportModelInputOfType, type DesignTokenImportModelOfType, type DesignTokenOfType, DesignTokenOrigin, DesignTokenOriginPart, DesignTokenType, DesignTokenTypedData, type DesignTokenTypedDataOfType, type DesignTokensDiff, DimensionTokenData, DimensionUnit, DimensionValue, DocumentationComment, DocumentationCommentThread, DocumentationGroupBehavior, DocumentationGroupV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, DocumentationItemHeaderAlignment, DocumentationItemHeaderAlignmentSchema, DocumentationItemHeaderImageScaleType, DocumentationItemHeaderImageScaleTypeSchema, DocumentationItemHeaderV1, DocumentationItemHeaderV2, DocumentationLinkPreview, DocumentationPage, DocumentationPageAnchor, DocumentationPageContent, DocumentationPageContentBackup, DocumentationPageContentData, DocumentationPageContentItem, DocumentationPageDataV1, DocumentationPageDataV2, DocumentationPageGroup, DocumentationPageRoom, DocumentationPageRoomDump, DocumentationPageRoomInitialStateUpdate, DocumentationPageRoomRoomUpdate, DocumentationPageRoomState, DocumentationPageSnapshot, DocumentationPageV1, DocumentationPageV2, DocumentationThreadDump, DurationTokenData, DurationUnit, DurationValue, ElementGroup, ElementGroupDataV1, ElementGroupDataV2, ElementGroupSnapshot, type ElementGroupsDiff, ElementPropertyDefinition, type ElementPropertyDefinitionDiff, ElementPropertyDefinitionOption, ElementPropertyLinkType, type ElementPropertyReference, ElementPropertyTargetType, ElementPropertyType, ElementPropertyTypeSchema, ElementPropertyValue, type ElementPropertyValueDiff, ElementView, ElementViewBaseColumnType, ElementViewBasePropertyColumn, ElementViewColumn, ElementViewColumnSharedAttributes, ElementViewColumnType, ElementViewPropertyDefinitionColumn, ElementViewThemeColumn, Entity, type ExplicitPartial, ExportDestinationsMap, ExportJob, ExportJobContext, ExportJobDestinationType, ExportJobDocsDestinationResult, ExportJobDocumentationChanges, ExportJobDocumentationContext, ExportJobDump, ExportJobFindByFilter, ExportJobLogEntry, ExportJobLogEntryType, ExportJobPullRequestDestinationResult, ExportJobResult, ExportJobS3DestinationResult, ExportJobStatus, Exporter, ExporterDestinationAzure, ExporterDestinationBitbucket, ExporterDestinationDocs, ExporterDestinationGithub, ExporterDestinationGitlab, ExporterDestinationS3, ExporterDetails, ExporterFunctionPayload, ExporterPropertyImageValue, ExporterPropertyValue, ExporterPropertyValuesCollection, ExporterPulsarDetails, ExporterSource, ExporterTag, ExporterType, ExporterWorkspaceMembership, ExporterWorkspaceMembershipRole, type ExtendedIntegration, ExtendedIntegrationType, ExternalOAuthRequest, ExternalServiceType, FeatureFlag, FeatureFlagMap, type FeatureLimitedDetails, type FeatureToggleDetails, type FeatureWithImportJobsDetails, FeaturesSummary, FigmaFileAccessData, FigmaFileDownloadScope, FigmaFileStructure, FigmaFileStructureData, type FigmaFileStructureDiff, FigmaFileStructureElementData, FigmaFileStructureImportModel, FigmaFileStructureImportModelInput, FigmaFileStructureNode, FigmaFileStructureNodeBase, FigmaFileStructureNodeImportModel, FigmaFileStructureNodeType, FigmaFileStructureOrigin, FigmaFileStructureStatistics, FigmaImportBaseContext, FigmaImportContextWithDownloadScopes, FigmaImportContextWithSourcesState, FigmaNodeReference, FigmaNodeReferenceData, type FigmaNodeReferenceDiff, FigmaNodeReferenceElementData, FigmaNodeReferenceOrigin, FigmaPngRenderImportModel, FigmaRenderBase, FigmaRenderFormat, FigmaRenderImportModel, FigmaSvgRenderImportModel, FileStructureStats, FlaggedFeature, FontFamilyTokenData, FontFamilyValue, FontSizeTokenData, FontSizeUnit, FontSizeValue, FontWeightTokenData, FontWeightValue, GitBranch, GitIntegrationType, GitObjectsQuery, GitOrganization, GitProject, GitProvider, GitProviderNames, GitRepository, GradientLayerData, GradientLayerValue, GradientStop, GradientTokenData, GradientTokenValue, GradientType, HANDLE_MAX_LENGTH, HANDLE_MIN_LENGTH, HierarchicalElements, IconSet, ImageImportModel, ImageImportModelType, ImportFunctionInput, ImportJob, ImportJobOperation, ImportJobState, ImportModelBase, ImportModelCollection, ImportModelInputBase, ImportModelInputCollection, ImportWarning, ImportWarningType, type ImportedAsset, type ImportedComponent, type ImportedDesignToken, type ImportedDesignTokenOfType, ImportedFigmaSourceData, Integration, IntegrationAuthType, IntegrationCredentials, IntegrationCredentialsProfile, IntegrationCredentialsState, IntegrationCredentialsType, IntegrationDesignSystem, IntegrationToken, type IntegrationTokenOld, IntegrationTokenSchemaOld, IntegrationType, IntegrationUserInfo, InternalStatus, InternalStatusSchema, type Invoice, type InvoiceCoupon, InvoiceCouponSchema, type InvoiceLine, InvoiceLineSchema, InvoiceSchema, LetterSpacingTokenData, LetterSpacingUnit, LetterSpacingValue, LineHeightTokenData, LineHeightUnit, LineHeightValue, LiveblocksNotificationSettings, MAX_MEMBERS_COUNT, NpmPackage, NpmProxyToken, NpmProxyTokenPayload, NpmRegistrCustomAuthConfig, NpmRegistryAuthConfig, NpmRegistryAuthType, NpmRegistryBasicAuthConfig, NpmRegistryBearerAuthConfig, NpmRegistryConfig, NpmRegistryNoAuthConfig, NpmRegistryType, type Nullish, OAuthProvider, OAuthProviderNames, OAuthProviderSchema, ObjectMeta, type OmitStrict, OpacityTokenData, OpacityValue, type Optional, type OptionalToNullable, PageBlockAlignment, PageBlockAppearanceV2, PageBlockAsset, PageBlockAssetComponent, PageBlockAssetEntityMeta, PageBlockAssetType, PageBlockBaseV1, PageBlockBehaviorDataType, PageBlockBehaviorSelectionType, PageBlockCalloutType, PageBlockCategory, PageBlockCodeLanguage, PageBlockColorV2, PageBlockCustomBlockPropertyImageValue, PageBlockCustomBlockPropertyValue, PageBlockDataV2, PageBlockDefinition, PageBlockDefinitionAppearance, PageBlockDefinitionBehavior, PageBlockDefinitionBooleanOptions, PageBlockDefinitionBooleanPropertyStyle, PageBlockDefinitionComponentOptions, PageBlockDefinitionImageAspectRatio, PageBlockDefinitionImageOptions, PageBlockDefinitionImageWidth, PageBlockDefinitionItem, PageBlockDefinitionLayout, PageBlockDefinitionLayoutAlign, PageBlockDefinitionLayoutBase, PageBlockDefinitionLayoutGap, PageBlockDefinitionLayoutResizing, PageBlockDefinitionLayoutType, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockDefinitionMultiSelectPropertyStyle, PageBlockDefinitionMutiRichTextOptions, PageBlockDefinitionNumberOptions, PageBlockDefinitionOnboarding, PageBlockDefinitionProperty, PageBlockDefinitionPropertyType, PageBlockDefinitionRichTextOptions, PageBlockDefinitionRichTextPropertyStyle, PageBlockDefinitionSelectChoice, PageBlockDefinitionSelectOptions, PageBlockDefinitionSingleSelectPropertyColor, PageBlockDefinitionSingleSelectPropertyStyle, PageBlockDefinitionTextOptions, PageBlockDefinitionTextPropertyColor, PageBlockDefinitionTextPropertyStyle, PageBlockDefinitionUntypedPropertyOptions, PageBlockDefinitionVariant, PageBlockDefinitionsMap, PageBlockEditorModelV2, PageBlockFigmaComponentEntityMeta, PageBlockFigmaFrameProperties, PageBlockFigmaNodeEntityMeta, PageBlockFrame, PageBlockFrameOrigin, PageBlockGuideline, PageBlockImageAlignment, PageBlockImageReference, PageBlockImageResourceReference, PageBlockImageType, PageBlockItemAssetPropertyValue, PageBlockItemAssetValue, PageBlockItemBooleanValue, PageBlockItemCodeValue, PageBlockItemColorValue, PageBlockItemComponentPropertyValue, PageBlockItemComponentValue, PageBlockItemDividerValue, PageBlockItemEmbedValue, PageBlockItemFigmaComponentValue, PageBlockItemFigmaNodeValue, PageBlockItemImageValue, PageBlockItemMarkdownValue, PageBlockItemMultiRichTextValue, PageBlockItemMultiSelectValue, PageBlockItemNumberValue, PageBlockItemRichTextValue, PageBlockItemSandboxValue, PageBlockItemSingleSelectValue, PageBlockItemStorybookValue, PageBlockItemTableCell, PageBlockItemTableImageNode, PageBlockItemTableMultiRichTextNode, PageBlockItemTableNode, PageBlockItemTableRichTextNode, PageBlockItemTableRow, PageBlockItemTableValue, PageBlockItemTextValue, PageBlockItemTokenPropertyValue, PageBlockItemTokenTypeValue, PageBlockItemTokenValue, PageBlockItemUntypedValue, PageBlockItemUrlValue, PageBlockItemV2, PageBlockLinkPreview, PageBlockLinkType, PageBlockLinkV2, PageBlockPreviewContainerSize, PageBlockRenderCodeProperties, PageBlockResourceFrameNodeReference, PageBlockShortcut, PageBlockTableCellAlignment, PageBlockTableColumn, PageBlockTableProperties, PageBlockText, PageBlockTextSpan, PageBlockTextSpanAttribute, PageBlockTextSpanAttributeType, PageBlockTheme, PageBlockThemeDisplayMode, PageBlockThemeType, PageBlockTilesAlignment, PageBlockTilesLayout, PageBlockTypeV1, PageBlockUrlPreview, PageBlockV1, PageBlockV2, PageSectionAppearanceV2, PageSectionColumnV2, PageSectionEditorModelV2, PageSectionItemV2, PageSectionPaddingV2, PageSectionTypeV2, type Pagination, ParagraphIndentTokenData, ParagraphIndentUnit, ParagraphIndentValue, ParagraphSpacingTokenData, ParagraphSpacingUnit, ParagraphSpacingValue, PeriodSchema, PersonalAccessToken, type PersonalAccessTokenWithUser, Pipeline, PipelineDestinationExtraType, PipelineDestinationGitType, PipelineDestinationType, PipelineEventType, type PluginOAuthRequest, PluginOAuthRequestSchema, Point2D, PostStripeCheckoutBodyInputSchema, PostStripeCheckoutOutputSchema, PostStripePortalSessionBodyInputSchema, PostStripePortalSessionOutputSchema, PostStripePortalUpdateSessionBodyInputSchema, type Price, PriceSchema, ProductCode, ProductCodeSchema, ProductCopyTokenData, ProductCopyValue, PublishedDoc, PublishedDocEnvironment, PublishedDocPage, PublishedDocRoutingVersion, PublishedDocsChecksums, PublishedDocsDump, PulsarBaseProperty, PulsarContributionConfigurationProperty, PulsarContributionVariant, PulsarCustomBlock, PulsarPropertyType, RESERVED_SLUGS, RESERVED_SLUG_PREFIX, RenderedAssetFile, ResolvedAsset, RestoredDocumentationGroup, RestoredDocumentationPage, RoomType, RoomTypeEnum, RoomTypeSchema, SHORT_PERSISTENT_ID_LENGTH, SafeIdSchema, Session, SessionData, ShadowLayerValue, ShadowTokenData, ShadowType, ShallowDesignElement, Size, SizeOrUndefined, SizeTokenData, SizeUnit, SizeValue, SourceImportComponentSummary, SourceImportFrameSummary, SourceImportSummary, SourceImportSummaryByTokenType, SourceImportTokenSummary, SpaceTokenData, SpaceUnit, SpaceValue, SsoProvider, StringTokenData, StringValue, type StripeCheckoutInput, type StripeCheckoutOutput, type StripePortalSessionInput, type StripePortalSessionOutput, StripeSubscriptionStatus, StripeSubscriptionStatusSchema, Subscription, SupernovaException, type SupernovaExceptionType, TextCase, TextCaseTokenData, TextCaseValue, TextDecoration, TextDecorationTokenData, TextDecorationValue, Theme, type ThemeDiff, ThemeElementData, ThemeImportModel, ThemeImportModelInput, ThemeOrigin, ThemeOriginObject, ThemeOriginPart, ThemeOriginSource, ThemeOverride, ThemeOverrideImportModel, ThemeOverrideImportModelBase, ThemeOverrideImportModelInput, type ThemeOverrideImportModelInputOfType, type ThemeOverrideImportModelOfType, type ThemeOverrideOfType, ThemeOverrideOrigin, ThemeOverrideOriginPart, ThemeUpdateImportModel, ThemeUpdateImportModelInput, TokenDataAliasSchema, TypographyTokenData, TypographyValue, type UpdateComponent, type UpdateDataSource, type UpdateDesignElement, type UpdateDesignSystemVersion, type UpdateDesignSystemVersionRoom, type UpdateDesignToken, type UpdateDocumentationPageContent, type UpdateDocumentationPageRoom, type UpdateDocumentationPageSnapshot, type UpdateDocumentationPageV1, type UpdateDocumentationPageV2, type UpdateElementGroup, type UpdateElementGroupSnapshot, type UpdateElementPropertyDefinition, type UpdateElementPropertyValue, type UpdateElementView, type UpdateElementViewColumn, type UpdateExportJob, type UpdateFigmaFileStructure, type UpdateFigmaNodeReference, type UpdateImportJob, UpdateMembershipRolesInput, type UpdatePublishedDocPage, type UpdateTheme, type UpdateWorkspaceRoom, UrlImageImportModel, User, UserAnalyticsCleanupSchedule, UserAnalyticsCleanupScheduleDbInput, UserDump, UserIdentity, UserInvite, UserInvites, UserLinkedIntegrations, UserMinified, UserNotificationSettings, UserOnboarding, UserOnboardingDepartment, UserOnboardingJobLevel, UserProfile, UserProfileUpdate, UserSession, UserTest, VersionCreationJob, VersionCreationJobStatus, Visibility, VisibilityTokenData, VisibilityValue, type WithRequired, Workspace, WorkspaceConfigurationUpdate, WorkspaceContext, WorkspaceDump, WorkspaceInvitation, WorkspaceIpSettings, WorkspaceIpWhitelistEntry, WorkspaceMembership, type WorkspaceOAuthRequest, WorkspaceOAuthRequestSchema, WorkspaceProfile, WorkspaceProfileUpdate, WorkspaceRole, WorkspaceRoleSchema, WorkspaceRoom, WorkspaceWithDesignSystems, ZIndexTokenData, ZIndexUnit, ZIndexValue, addImportModelCollections, buildConstantEnum, defaultDocumentationItemConfigurationV1, defaultDocumentationItemConfigurationV2, defaultDocumentationItemHeaderV1, defaultDocumentationItemHeaderV2, defaultNotificationSettings, designTokenImportModelTypeFilter, designTokenTypeFilter, extractTokenTypedData, figmaFileStructureImportModelToMap, figmaFileStructureToMap, filterNonNullish, forceUnwrapNullish, getCodenameFromText, getFigmaRenderFormatFileExtension, groupBy, isDesignTokenImportModelOfType, isDesignTokenOfType, isImportedAsset, isImportedComponent, isImportedDesignToken, isSlugReserved, isTokenType, mapByUnique, mapPageBlockItemValuesV2, nonNullFilter, nonNullishFilter, nullishToOptional, parseUrl, promiseWithTimeout, publishedDocEnvironments, sleep, slugRegex, slugify, tokenAliasOrValue, tokenElementTypes, traversePageBlockItemValuesV2, traversePageBlockItemsV2, traversePageBlocksV1, traversePageItemsV2, traverseStructure, trimLeadingSlash, trimTrailingSlash, tryParseShortPersistentId, tryParseUrl, uniqueBy, zodCreateInputOmit, zodUpdateInputOmit };
162402
+ export { Address, type AllFields, type ArrayElementType, Asset, AssetDeleteSchedule, type AssetDeleteScheduleDbInput, AssetDeleteScheduleStatus, AssetDynamoRecord, AssetFontProperties, type AssetImportModel, AssetImportModelInput, AssetOrigin, AssetProcessStatus, AssetProperties, AssetReference, type AssetReferenceDiff, AssetRenderConfiguration, AssetScope, AssetType, AssetValue, AuthTokens, BillingDetails, type BillingInterval, BillingIntervalSchema, BillingType, BillingTypeSchema, BlurTokenData, BlurType, BlurValue, BorderPosition, BorderRadiusTokenData, BorderRadiusUnit, BorderRadiusValue, BorderStyle, BorderTokenData, BorderValue, BorderWidthTokenData, BorderWidthUnit, BorderWidthValue, Brand, BrandedElementGroup, type Card, CardSchema, ChangedImportedFigmaSourceData, CodeIntegrationDump, ColorTokenData, ColorTokenInlineData, ColorValue, Component, ComponentAsset, type ComponentDiff, ComponentElementData, ComponentImportModel, ComponentImportModelInput, ComponentOrigin, ComponentOriginPart, ContentLoadInstruction, ContentLoaderPayload, type CreateAssetReference, type CreateBrand, type CreateComponent, type CreateDataSource, type CreateDesignElement, type CreateDesignElementReference, type CreateDesignSystemVersion, type CreateDesignSystemVersionRoom, CreateDesignToken, type CreateDocumentationPageContent, type CreateDocumentationPageRoom, type CreateDocumentationPageSnapshot, type CreateDocumentationPageV1, type CreateDocumentationPageV2, type CreateElementGroup, type CreateElementGroupSnapshot, type CreateElementPropertyDefinition, type CreateElementPropertyValue, type CreateElementView, type CreateElementViewColumn, type CreateExportJob, type CreateExporterMembership, type CreateFigmaFileStructure, type CreateFigmaNodeReference, type CreateImportJob, type CreatePersonalAccessToken, type CreatePublishedDocPage, type CreateTheme, CreateUserInput, CreateWorkspaceInput, type CreateWorkspaceRoom, CustomDomain, type CustomDomainState, Customer, DataSource, DataSourceAutoImportMode, DataSourceFigmaFileData, DataSourceFigmaFileVersionData, DataSourceFigmaImportMetadata, DataSourceFigmaRemote, DataSourceFigmaScope, DataSourceFigmaState, DataSourceImportModel, DataSourceRemote, DataSourceRemoteType, DataSourceStats, DataSourceTokenStudioRemote, DataSourceUploadImportMetadata, DataSourceUploadRemote, DataSourceUploadRemoteSource, DataSourceVersion, type DbCreateInputOmit, type DbUpdate, type DbUpdateInputOmit, type Defined, DesignElement, DesignElementBase, DesignElementBrandedPart, DesignElementCategory, DesignElementGroupableBase, DesignElementGroupablePart, DesignElementGroupableRequiredPart, DesignElementImportedBase, DesignElementOrigin, type DesignElementOriginImportModel, type DesignElementReference, DesignElementSlugPart, DesignElementSnapshotBase, DesignElementSnapshotReason, DesignElementType, DesignSystem, DesignSystemCreateInput, DesignSystemDump, DesignSystemElementExportProps, DesignSystemSwitcher, DesignSystemUpdateInput, DesignSystemUpdateInputMetadata, DesignSystemVersion, DesignSystemVersionDump, DesignSystemVersionMultiplayerDump, DesignSystemVersionRoom, DesignSystemVersionRoomInitialState, DesignSystemVersionRoomInternalSettings, DesignSystemVersionRoomUpdate, DesignSystemWithWorkspace, DesignToken, DesignTokenBase, DesignTokenImportModel, DesignTokenImportModelBase, DesignTokenImportModelInput, DesignTokenImportModelInputBase, type DesignTokenImportModelInputOfType, type DesignTokenImportModelOfType, type DesignTokenOfType, DesignTokenOrigin, DesignTokenOriginPart, DesignTokenType, DesignTokenTypedData, type DesignTokenTypedDataOfType, type DesignTokensDiff, DimensionTokenData, DimensionUnit, DimensionValue, DocumentationComment, DocumentationCommentThread, DocumentationGroupBehavior, DocumentationGroupV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, DocumentationItemHeaderAlignment, DocumentationItemHeaderAlignmentSchema, DocumentationItemHeaderImageScaleType, DocumentationItemHeaderImageScaleTypeSchema, DocumentationItemHeaderV1, DocumentationItemHeaderV2, DocumentationLinkPreview, DocumentationPage, DocumentationPageAnchor, DocumentationPageContent, DocumentationPageContentBackup, DocumentationPageContentData, DocumentationPageContentItem, DocumentationPageDataV1, DocumentationPageDataV2, DocumentationPageGroup, DocumentationPageRoom, DocumentationPageRoomDump, DocumentationPageRoomInitialStateUpdate, DocumentationPageRoomRoomUpdate, DocumentationPageRoomState, DocumentationPageSnapshot, DocumentationPageV1, DocumentationPageV2, DocumentationThreadDump, DurationTokenData, DurationUnit, DurationValue, ElementGroup, ElementGroupDataV1, ElementGroupDataV2, ElementGroupSnapshot, type ElementGroupsDiff, ElementPropertyDefinition, type ElementPropertyDefinitionDiff, ElementPropertyDefinitionOption, ElementPropertyLinkType, type ElementPropertyReference, ElementPropertyTargetType, ElementPropertyType, ElementPropertyTypeSchema, ElementPropertyValue, type ElementPropertyValueDiff, ElementView, ElementViewBaseColumnType, ElementViewBasePropertyColumn, ElementViewColumn, ElementViewColumnSharedAttributes, ElementViewColumnType, ElementViewPropertyDefinitionColumn, ElementViewThemeColumn, Entity, type ExplicitPartial, ExportDestinationsMap, ExportJob, ExportJobContext, ExportJobDestinationType, ExportJobDocsDestinationResult, ExportJobDocumentationChanges, ExportJobDocumentationContext, ExportJobDump, ExportJobFindByFilter, ExportJobLogEntry, ExportJobLogEntryType, ExportJobPullRequestDestinationResult, ExportJobResult, ExportJobS3DestinationResult, ExportJobStatus, Exporter, ExporterDestinationAzure, ExporterDestinationBitbucket, ExporterDestinationDocs, ExporterDestinationGithub, ExporterDestinationGitlab, ExporterDestinationS3, ExporterDetails, ExporterFunctionPayload, ExporterPropertyImageValue, ExporterPropertyValue, ExporterPropertyValuesCollection, ExporterPulsarDetails, ExporterSource, ExporterTag, ExporterType, ExporterWorkspaceMembership, ExporterWorkspaceMembershipRole, type ExtendedIntegration, ExtendedIntegrationType, ExternalOAuthRequest, ExternalServiceType, FeatureFlag, FeatureFlagMap, type FeatureLimitedDetails, type FeatureToggleDetails, type FeatureWithImportJobsDetails, FeaturesSummary, FigmaFileAccessData, FigmaFileDownloadScope, FigmaFileStructure, FigmaFileStructureData, type FigmaFileStructureDiff, FigmaFileStructureElementData, FigmaFileStructureImportModel, FigmaFileStructureImportModelInput, FigmaFileStructureNode, FigmaFileStructureNodeBase, FigmaFileStructureNodeImportModel, FigmaFileStructureNodeType, FigmaFileStructureOrigin, FigmaFileStructureStatistics, FigmaImportBaseContext, FigmaImportContextWithDownloadScopes, FigmaImportContextWithSourcesState, FigmaNodeReference, FigmaNodeReferenceData, type FigmaNodeReferenceDiff, FigmaNodeReferenceElementData, FigmaNodeReferenceOrigin, FigmaPngRenderImportModel, FigmaRenderBase, FigmaRenderFormat, FigmaRenderImportModel, FigmaSvgRenderImportModel, FileStructureStats, FlaggedFeature, FontFamilyTokenData, FontFamilyValue, FontSizeTokenData, FontSizeUnit, FontSizeValue, FontWeightTokenData, FontWeightValue, GitBranch, GitIntegrationType, GitObjectsQuery, GitOrganization, GitProject, GitProvider, GitProviderNames, GitRepository, GradientLayerData, GradientLayerValue, GradientStop, GradientTokenData, GradientTokenValue, GradientType, HANDLE_MAX_LENGTH, HANDLE_MIN_LENGTH, HierarchicalElements, IconSet, ImageImportModel, ImageImportModelType, ImportFunctionInput, ImportJob, ImportJobOperation, ImportJobState, ImportModelBase, ImportModelCollection, ImportModelInputBase, ImportModelInputCollection, ImportWarning, ImportWarningType, type ImportedAsset, type ImportedComponent, type ImportedDesignToken, type ImportedDesignTokenOfType, ImportedFigmaSourceData, Integration, IntegrationAuthType, IntegrationCredentials, IntegrationCredentialsProfile, IntegrationCredentialsState, IntegrationCredentialsType, IntegrationDesignSystem, IntegrationToken, type IntegrationTokenOld, IntegrationTokenSchemaOld, IntegrationType, IntegrationUserInfo, InternalStatus, InternalStatusSchema, type Invoice, type InvoiceCoupon, InvoiceCouponSchema, type InvoiceLine, InvoiceLineSchema, InvoiceSchema, LetterSpacingTokenData, LetterSpacingUnit, LetterSpacingValue, LineHeightTokenData, LineHeightUnit, LineHeightValue, LiveblocksNotificationSettings, MAX_MEMBERS_COUNT, NpmPackage, NpmProxyToken, NpmProxyTokenPayload, NpmRegistrCustomAuthConfig, NpmRegistryAuthConfig, NpmRegistryAuthType, NpmRegistryBasicAuthConfig, NpmRegistryBearerAuthConfig, NpmRegistryConfig, NpmRegistryNoAuthConfig, NpmRegistryType, type Nullish, OAuthProvider, OAuthProviderNames, OAuthProviderSchema, ObjectMeta, type OmitStrict, OpacityTokenData, OpacityValue, type Optional, type OptionalToNullable, PageBlockAlignment, PageBlockAppearanceV2, PageBlockAsset, PageBlockAssetComponent, PageBlockAssetEntityMeta, PageBlockAssetType, PageBlockBaseV1, PageBlockBehaviorDataType, PageBlockBehaviorSelectionType, PageBlockCalloutType, PageBlockCategory, PageBlockCodeLanguage, PageBlockColorV2, PageBlockCustomBlockPropertyImageValue, PageBlockCustomBlockPropertyValue, PageBlockDataV2, PageBlockDefinition, PageBlockDefinitionAppearance, PageBlockDefinitionBehavior, PageBlockDefinitionBooleanOptions, PageBlockDefinitionBooleanPropertyStyle, PageBlockDefinitionComponentOptions, PageBlockDefinitionImageAspectRatio, PageBlockDefinitionImageOptions, PageBlockDefinitionImageWidth, PageBlockDefinitionItem, PageBlockDefinitionLayout, PageBlockDefinitionLayoutAlign, PageBlockDefinitionLayoutBase, PageBlockDefinitionLayoutGap, PageBlockDefinitionLayoutResizing, PageBlockDefinitionLayoutType, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockDefinitionMultiSelectPropertyStyle, PageBlockDefinitionMutiRichTextOptions, PageBlockDefinitionNumberOptions, PageBlockDefinitionOnboarding, PageBlockDefinitionProperty, PageBlockDefinitionPropertyType, PageBlockDefinitionRichTextOptions, PageBlockDefinitionRichTextPropertyStyle, PageBlockDefinitionSelectChoice, PageBlockDefinitionSelectOptions, PageBlockDefinitionSingleSelectPropertyColor, PageBlockDefinitionSingleSelectPropertyStyle, PageBlockDefinitionTextOptions, PageBlockDefinitionTextPropertyColor, PageBlockDefinitionTextPropertyStyle, PageBlockDefinitionUntypedPropertyOptions, PageBlockDefinitionVariant, PageBlockDefinitionsMap, PageBlockEditorModelV2, PageBlockFigmaComponentEntityMeta, PageBlockFigmaFrameProperties, PageBlockFigmaNodeEntityMeta, PageBlockFrame, PageBlockFrameOrigin, PageBlockGuideline, PageBlockImageAlignment, PageBlockImageReference, PageBlockImageResourceReference, PageBlockImageType, PageBlockItemAssetPropertyValue, PageBlockItemAssetValue, PageBlockItemBooleanValue, PageBlockItemCodeValue, PageBlockItemColorValue, PageBlockItemComponentPropertyValue, PageBlockItemComponentValue, PageBlockItemDividerValue, PageBlockItemEmbedValue, PageBlockItemFigmaComponentValue, PageBlockItemFigmaNodeValue, PageBlockItemImageValue, PageBlockItemMarkdownValue, PageBlockItemMultiRichTextValue, PageBlockItemMultiSelectValue, PageBlockItemNumberValue, PageBlockItemRichTextValue, PageBlockItemSandboxValue, PageBlockItemSingleSelectValue, PageBlockItemStorybookValue, PageBlockItemTableCell, PageBlockItemTableImageNode, PageBlockItemTableMultiRichTextNode, PageBlockItemTableNode, PageBlockItemTableRichTextNode, PageBlockItemTableRow, PageBlockItemTableValue, PageBlockItemTextValue, PageBlockItemTokenPropertyValue, PageBlockItemTokenTypeValue, PageBlockItemTokenValue, PageBlockItemUntypedValue, PageBlockItemUrlValue, PageBlockItemV2, PageBlockLinkPreview, PageBlockLinkType, PageBlockLinkV2, PageBlockPreviewContainerSize, PageBlockRenderCodeProperties, PageBlockResourceFrameNodeReference, PageBlockShortcut, PageBlockTableCellAlignment, PageBlockTableColumn, PageBlockTableProperties, PageBlockText, PageBlockTextSpan, PageBlockTextSpanAttribute, PageBlockTextSpanAttributeType, PageBlockTheme, PageBlockThemeDisplayMode, PageBlockThemeType, PageBlockTilesAlignment, PageBlockTilesLayout, PageBlockTypeV1, PageBlockUrlPreview, PageBlockV1, PageBlockV2, PageSectionAppearanceV2, PageSectionColumnV2, PageSectionEditorModelV2, PageSectionItemV2, PageSectionPaddingV2, PageSectionTypeV2, type Pagination, ParagraphIndentTokenData, ParagraphIndentUnit, ParagraphIndentValue, ParagraphSpacingTokenData, ParagraphSpacingUnit, ParagraphSpacingValue, PeriodSchema, PersonalAccessToken, type PersonalAccessTokenWithUser, Pipeline, PipelineDestinationExtraType, PipelineDestinationGitType, PipelineDestinationType, PipelineEventType, type PluginOAuthRequest, PluginOAuthRequestSchema, Point2D, PostStripeCheckoutBodyInputSchema, PostStripeCheckoutOutputSchema, PostStripePortalSessionBodyInputSchema, PostStripePortalSessionOutputSchema, PostStripePortalUpdateSessionBodyInputSchema, type Price, PriceSchema, ProductCode, ProductCodeSchema, ProductCopyTokenData, ProductCopyValue, PublishedDoc, PublishedDocEnvironment, PublishedDocPage, PublishedDocRoutingVersion, PublishedDocsChecksums, PublishedDocsDump, PulsarBaseProperty, PulsarContributionConfigurationProperty, PulsarContributionVariant, PulsarCustomBlock, PulsarPropertyType, RESERVED_SLUGS, RESERVED_SLUG_PREFIX, RenderedAssetFile, ResolvedAsset, RestoredDocumentationGroup, RestoredDocumentationPage, RoomType, RoomTypeEnum, RoomTypeSchema, SHORT_PERSISTENT_ID_LENGTH, SafeIdSchema, Session, SessionData, ShadowLayerValue, ShadowTokenData, ShadowType, ShallowDesignElement, Size, SizeOrUndefined, SizeTokenData, SizeUnit, SizeValue, SourceImportComponentSummary, SourceImportFrameSummary, SourceImportSummary, SourceImportSummaryByTokenType, SourceImportTokenSummary, SpaceTokenData, SpaceUnit, SpaceValue, SsoProvider, StringTokenData, StringValue, type StripeCheckoutInput, type StripeCheckoutOutput, type StripePortalSessionInput, type StripePortalSessionOutput, StripeSubscriptionStatus, StripeSubscriptionStatusSchema, Subscription, SupernovaException, type SupernovaExceptionType, TextCase, TextCaseTokenData, TextCaseValue, TextDecoration, TextDecorationTokenData, TextDecorationValue, Theme, type ThemeDiff, ThemeElementData, ThemeImportModel, ThemeImportModelInput, ThemeOrigin, ThemeOriginObject, ThemeOriginPart, ThemeOriginSource, ThemeOverride, ThemeOverrideImportModel, ThemeOverrideImportModelBase, ThemeOverrideImportModelInput, type ThemeOverrideImportModelInputOfType, type ThemeOverrideImportModelOfType, type ThemeOverrideOfType, ThemeOverrideOrigin, ThemeOverrideOriginPart, ThemeUpdateImportModel, ThemeUpdateImportModelInput, TokenDataAliasSchema, TypographyTokenData, TypographyValue, type UpdateComponent, type UpdateDataSource, type UpdateDesignElement, type UpdateDesignSystemVersion, type UpdateDesignSystemVersionRoom, type UpdateDesignToken, type UpdateDocumentationPageContent, type UpdateDocumentationPageRoom, type UpdateDocumentationPageSnapshot, type UpdateDocumentationPageV1, type UpdateDocumentationPageV2, type UpdateElementGroup, type UpdateElementGroupSnapshot, type UpdateElementPropertyDefinition, type UpdateElementPropertyValue, type UpdateElementView, type UpdateElementViewColumn, type UpdateExportJob, type UpdateFigmaFileStructure, type UpdateFigmaNodeReference, type UpdateImportJob, UpdateMembershipRolesInput, type UpdatePublishedDocPage, type UpdateTheme, type UpdateWorkspaceRoom, UrlImageImportModel, User, UserAnalyticsCleanupSchedule, UserAnalyticsCleanupScheduleDbInput, UserDump, UserIdentity, UserInvite, UserInvites, UserLinkedIntegrations, UserMinified, UserNotificationSettings, UserOnboarding, UserOnboardingDepartment, UserOnboardingJobLevel, UserProfile, UserProfileUpdate, UserSession, UserTest, VersionCreationJob, VersionCreationJobStatus, Visibility, VisibilityTokenData, VisibilityValue, type WithRequired, Workspace, WorkspaceConfigurationUpdate, WorkspaceContext, WorkspaceDump, WorkspaceInvitation, WorkspaceIpSettings, WorkspaceIpWhitelistEntry, WorkspaceMembership, type WorkspaceOAuthRequest, WorkspaceOAuthRequestSchema, WorkspaceProfile, WorkspaceProfileUpdate, WorkspaceRole, WorkspaceRoleSchema, WorkspaceRoom, WorkspaceWithDesignSystems, ZIndexTokenData, ZIndexUnit, ZIndexValue, addImportModelCollections, buildConstantEnum, defaultDocumentationItemConfigurationV1, defaultDocumentationItemConfigurationV2, defaultDocumentationItemHeaderV1, defaultDocumentationItemHeaderV2, defaultNotificationSettings, designTokenImportModelTypeFilter, designTokenTypeFilter, extractTokenTypedData, figmaFileStructureImportModelToMap, figmaFileStructureToMap, filterNonNullish, forceUnwrapNullish, getCodenameFromText, getFigmaRenderFormatFileExtension, groupBy, isDesignTokenImportModelOfType, isDesignTokenOfType, isImportedAsset, isImportedComponent, isImportedDesignToken, isSlugReserved, isTokenType, mapByUnique, mapPageBlockItemValuesV2, nonNullFilter, nonNullishFilter, nullishToOptional, parseUrl, pickLatestGroupSnapshots, pickLatestPageSnapshots, pickLatestSnapshots, promiseWithTimeout, publishedDocEnvironments, sleep, slugRegex, slugify, tokenAliasOrValue, tokenElementTypes, traversePageBlockItemValuesV2, traversePageBlockItemsV2, traversePageBlocksV1, traversePageItemsV2, traverseStructure, trimLeadingSlash, trimTrailingSlash, tryParseShortPersistentId, tryParseUrl, uniqueBy, zodCreateInputOmit, zodUpdateInputOmit };