@supernova-studio/model 0.54.33 → 0.54.34
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 +3 -283
- package/dist/index.d.ts +3 -283
- package/dist/index.js +1 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/workspace/workspace-create.ts +0 -13
- package/src/workspace/workspace.ts +4 -1
package/dist/index.d.ts
CHANGED
|
@@ -162452,295 +162452,13 @@ declare const HANDLE_MIN_LENGTH = 2;
|
|
|
162452
162452
|
declare const HANDLE_MAX_LENGTH = 64;
|
|
162453
162453
|
declare const CreateWorkspaceInput: z.ZodObject<{
|
|
162454
162454
|
name: z.ZodString;
|
|
162455
|
-
product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
|
|
162456
|
-
priceId: z.ZodString;
|
|
162457
|
-
billingEmail: z.ZodOptional<z.ZodString>;
|
|
162458
162455
|
handle: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
162459
|
-
invites: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
162460
|
-
email: z.ZodEffects<z.ZodString, string, string>;
|
|
162461
|
-
role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
|
|
162462
|
-
}, "strip", z.ZodTypeAny, {
|
|
162463
|
-
email: string;
|
|
162464
|
-
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
162465
|
-
}, {
|
|
162466
|
-
email: string;
|
|
162467
|
-
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
162468
|
-
}>, "many">>;
|
|
162469
|
-
promoCode: z.ZodOptional<z.ZodString>;
|
|
162470
|
-
status: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
|
|
162471
|
-
planInterval: z.ZodOptional<z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>>;
|
|
162472
|
-
seats: z.ZodOptional<z.ZodNumber>;
|
|
162473
|
-
seatLimit: z.ZodOptional<z.ZodNumber>;
|
|
162474
|
-
card: z.ZodOptional<z.ZodObject<{
|
|
162475
|
-
cardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162476
|
-
last4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162477
|
-
expiryMonth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162478
|
-
expiryYear: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162479
|
-
brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162480
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162481
|
-
}, "strip", z.ZodTypeAny, {
|
|
162482
|
-
cardId?: string | null | undefined;
|
|
162483
|
-
last4?: string | null | undefined;
|
|
162484
|
-
expiryMonth?: string | null | undefined;
|
|
162485
|
-
expiryYear?: string | null | undefined;
|
|
162486
|
-
brand?: string | null | undefined;
|
|
162487
|
-
name?: string | null | undefined;
|
|
162488
|
-
}, {
|
|
162489
|
-
cardId?: string | null | undefined;
|
|
162490
|
-
last4?: string | null | undefined;
|
|
162491
|
-
expiryMonth?: string | null | undefined;
|
|
162492
|
-
expiryYear?: string | null | undefined;
|
|
162493
|
-
brand?: string | null | undefined;
|
|
162494
|
-
name?: string | null | undefined;
|
|
162495
|
-
}>>;
|
|
162496
|
-
sso: z.ZodOptional<z.ZodObject<{
|
|
162497
|
-
providerId: z.ZodString;
|
|
162498
|
-
defaultAutoInviteValue: z.ZodBoolean;
|
|
162499
|
-
autoInviteDomains: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
162500
|
-
skipDocsSupernovaLogin: z.ZodBoolean;
|
|
162501
|
-
areInvitesDisabled: z.ZodBoolean;
|
|
162502
|
-
isTestMode: z.ZodBoolean;
|
|
162503
|
-
emailDomains: z.ZodArray<z.ZodString, "many">;
|
|
162504
|
-
metadataXml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162505
|
-
}, "strip", z.ZodTypeAny, {
|
|
162506
|
-
providerId: string;
|
|
162507
|
-
defaultAutoInviteValue: boolean;
|
|
162508
|
-
autoInviteDomains: Record<string, boolean>;
|
|
162509
|
-
skipDocsSupernovaLogin: boolean;
|
|
162510
|
-
areInvitesDisabled: boolean;
|
|
162511
|
-
isTestMode: boolean;
|
|
162512
|
-
emailDomains: string[];
|
|
162513
|
-
metadataXml?: string | null | undefined;
|
|
162514
|
-
}, {
|
|
162515
|
-
providerId: string;
|
|
162516
|
-
defaultAutoInviteValue: boolean;
|
|
162517
|
-
autoInviteDomains: Record<string, boolean>;
|
|
162518
|
-
skipDocsSupernovaLogin: boolean;
|
|
162519
|
-
areInvitesDisabled: boolean;
|
|
162520
|
-
isTestMode: boolean;
|
|
162521
|
-
emailDomains: string[];
|
|
162522
|
-
metadataXml?: string | null | undefined;
|
|
162523
|
-
}>>;
|
|
162524
|
-
npmRegistrySettings: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
|
162525
|
-
registryType: z.ZodEnum<["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]>;
|
|
162526
|
-
enabledScopes: z.ZodArray<z.ZodString, "many">;
|
|
162527
|
-
customRegistryUrl: z.ZodOptional<z.ZodString>;
|
|
162528
|
-
bypassProxy: z.ZodDefault<z.ZodBoolean>;
|
|
162529
|
-
npmProxyRegistryConfigId: z.ZodOptional<z.ZodString>;
|
|
162530
|
-
npmProxyVersion: z.ZodOptional<z.ZodNumber>;
|
|
162531
|
-
}, "strip", z.ZodTypeAny, {
|
|
162532
|
-
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
162533
|
-
enabledScopes: string[];
|
|
162534
|
-
bypassProxy: boolean;
|
|
162535
|
-
customRegistryUrl?: string | undefined;
|
|
162536
|
-
npmProxyRegistryConfigId?: string | undefined;
|
|
162537
|
-
npmProxyVersion?: number | undefined;
|
|
162538
|
-
}, {
|
|
162539
|
-
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
162540
|
-
enabledScopes: string[];
|
|
162541
|
-
customRegistryUrl?: string | undefined;
|
|
162542
|
-
bypassProxy?: boolean | undefined;
|
|
162543
|
-
npmProxyRegistryConfigId?: string | undefined;
|
|
162544
|
-
npmProxyVersion?: number | undefined;
|
|
162545
|
-
}>, z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
162546
|
-
authType: z.ZodLiteral<"Basic">;
|
|
162547
|
-
username: z.ZodString;
|
|
162548
|
-
password: z.ZodString;
|
|
162549
|
-
}, "strip", z.ZodTypeAny, {
|
|
162550
|
-
password: string;
|
|
162551
|
-
username: string;
|
|
162552
|
-
authType: "Basic";
|
|
162553
|
-
}, {
|
|
162554
|
-
password: string;
|
|
162555
|
-
username: string;
|
|
162556
|
-
authType: "Basic";
|
|
162557
|
-
}>, z.ZodObject<{
|
|
162558
|
-
authType: z.ZodLiteral<"Bearer">;
|
|
162559
|
-
accessToken: z.ZodString;
|
|
162560
|
-
}, "strip", z.ZodTypeAny, {
|
|
162561
|
-
accessToken: string;
|
|
162562
|
-
authType: "Bearer";
|
|
162563
|
-
}, {
|
|
162564
|
-
accessToken: string;
|
|
162565
|
-
authType: "Bearer";
|
|
162566
|
-
}>, z.ZodObject<{
|
|
162567
|
-
authType: z.ZodLiteral<"None">;
|
|
162568
|
-
}, "strip", z.ZodTypeAny, {
|
|
162569
|
-
authType: "None";
|
|
162570
|
-
}, {
|
|
162571
|
-
authType: "None";
|
|
162572
|
-
}>, z.ZodObject<{
|
|
162573
|
-
authType: z.ZodLiteral<"Custom">;
|
|
162574
|
-
authHeaderName: z.ZodString;
|
|
162575
|
-
authHeaderValue: z.ZodString;
|
|
162576
|
-
}, "strip", z.ZodTypeAny, {
|
|
162577
|
-
authType: "Custom";
|
|
162578
|
-
authHeaderName: string;
|
|
162579
|
-
authHeaderValue: string;
|
|
162580
|
-
}, {
|
|
162581
|
-
authType: "Custom";
|
|
162582
|
-
authHeaderName: string;
|
|
162583
|
-
authHeaderValue: string;
|
|
162584
|
-
}>]>>>;
|
|
162585
|
-
ipWhitelist: z.ZodOptional<z.ZodObject<{
|
|
162586
|
-
isEnabledForCloud: z.ZodBoolean;
|
|
162587
|
-
isEnabledForDocs: z.ZodBoolean;
|
|
162588
|
-
entries: z.ZodArray<z.ZodObject<{
|
|
162589
|
-
isEnabled: z.ZodBoolean;
|
|
162590
|
-
name: z.ZodString;
|
|
162591
|
-
range: z.ZodEffects<z.ZodString, string, string>;
|
|
162592
|
-
}, "strip", z.ZodTypeAny, {
|
|
162593
|
-
name: string;
|
|
162594
|
-
isEnabled: boolean;
|
|
162595
|
-
range: string;
|
|
162596
|
-
}, {
|
|
162597
|
-
name: string;
|
|
162598
|
-
isEnabled: boolean;
|
|
162599
|
-
range: string;
|
|
162600
|
-
}>, "many">;
|
|
162601
|
-
}, "strip", z.ZodTypeAny, {
|
|
162602
|
-
entries: {
|
|
162603
|
-
name: string;
|
|
162604
|
-
isEnabled: boolean;
|
|
162605
|
-
range: string;
|
|
162606
|
-
}[];
|
|
162607
|
-
isEnabledForCloud: boolean;
|
|
162608
|
-
isEnabledForDocs: boolean;
|
|
162609
|
-
}, {
|
|
162610
|
-
entries: {
|
|
162611
|
-
name: string;
|
|
162612
|
-
isEnabled: boolean;
|
|
162613
|
-
range: string;
|
|
162614
|
-
}[];
|
|
162615
|
-
isEnabledForCloud: boolean;
|
|
162616
|
-
isEnabledForDocs: boolean;
|
|
162617
|
-
}>>;
|
|
162618
162456
|
}, "strip", z.ZodTypeAny, {
|
|
162619
162457
|
name: string;
|
|
162620
|
-
priceId: string;
|
|
162621
|
-
product: "free" | "team" | "company" | "enterprise";
|
|
162622
|
-
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
162623
|
-
sso?: {
|
|
162624
|
-
providerId: string;
|
|
162625
|
-
defaultAutoInviteValue: boolean;
|
|
162626
|
-
autoInviteDomains: Record<string, boolean>;
|
|
162627
|
-
skipDocsSupernovaLogin: boolean;
|
|
162628
|
-
areInvitesDisabled: boolean;
|
|
162629
|
-
isTestMode: boolean;
|
|
162630
|
-
emailDomains: string[];
|
|
162631
|
-
metadataXml?: string | null | undefined;
|
|
162632
|
-
} | undefined;
|
|
162633
|
-
card?: {
|
|
162634
|
-
cardId?: string | null | undefined;
|
|
162635
|
-
last4?: string | null | undefined;
|
|
162636
|
-
expiryMonth?: string | null | undefined;
|
|
162637
|
-
expiryYear?: string | null | undefined;
|
|
162638
|
-
brand?: string | null | undefined;
|
|
162639
|
-
name?: string | null | undefined;
|
|
162640
|
-
} | undefined;
|
|
162641
|
-
planInterval?: "daily" | "monthly" | "weekly" | "yearly" | undefined;
|
|
162642
|
-
seats?: number | undefined;
|
|
162643
|
-
seatLimit?: number | undefined;
|
|
162644
162458
|
handle?: string | undefined;
|
|
162645
|
-
ipWhitelist?: {
|
|
162646
|
-
entries: {
|
|
162647
|
-
name: string;
|
|
162648
|
-
isEnabled: boolean;
|
|
162649
|
-
range: string;
|
|
162650
|
-
}[];
|
|
162651
|
-
isEnabledForCloud: boolean;
|
|
162652
|
-
isEnabledForDocs: boolean;
|
|
162653
|
-
} | undefined;
|
|
162654
|
-
npmRegistrySettings?: ({
|
|
162655
|
-
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
162656
|
-
enabledScopes: string[];
|
|
162657
|
-
bypassProxy: boolean;
|
|
162658
|
-
customRegistryUrl?: string | undefined;
|
|
162659
|
-
npmProxyRegistryConfigId?: string | undefined;
|
|
162660
|
-
npmProxyVersion?: number | undefined;
|
|
162661
|
-
} & ({
|
|
162662
|
-
password: string;
|
|
162663
|
-
username: string;
|
|
162664
|
-
authType: "Basic";
|
|
162665
|
-
} | {
|
|
162666
|
-
accessToken: string;
|
|
162667
|
-
authType: "Bearer";
|
|
162668
|
-
} | {
|
|
162669
|
-
authType: "None";
|
|
162670
|
-
} | {
|
|
162671
|
-
authType: "Custom";
|
|
162672
|
-
authHeaderName: string;
|
|
162673
|
-
authHeaderValue: string;
|
|
162674
|
-
})) | undefined;
|
|
162675
|
-
billingEmail?: string | undefined;
|
|
162676
|
-
invites?: {
|
|
162677
|
-
email: string;
|
|
162678
|
-
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
162679
|
-
}[] | undefined;
|
|
162680
|
-
promoCode?: string | undefined;
|
|
162681
162459
|
}, {
|
|
162682
162460
|
name: string;
|
|
162683
|
-
priceId: string;
|
|
162684
|
-
product: "free" | "team" | "company" | "enterprise";
|
|
162685
|
-
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
162686
|
-
sso?: {
|
|
162687
|
-
providerId: string;
|
|
162688
|
-
defaultAutoInviteValue: boolean;
|
|
162689
|
-
autoInviteDomains: Record<string, boolean>;
|
|
162690
|
-
skipDocsSupernovaLogin: boolean;
|
|
162691
|
-
areInvitesDisabled: boolean;
|
|
162692
|
-
isTestMode: boolean;
|
|
162693
|
-
emailDomains: string[];
|
|
162694
|
-
metadataXml?: string | null | undefined;
|
|
162695
|
-
} | undefined;
|
|
162696
|
-
card?: {
|
|
162697
|
-
cardId?: string | null | undefined;
|
|
162698
|
-
last4?: string | null | undefined;
|
|
162699
|
-
expiryMonth?: string | null | undefined;
|
|
162700
|
-
expiryYear?: string | null | undefined;
|
|
162701
|
-
brand?: string | null | undefined;
|
|
162702
|
-
name?: string | null | undefined;
|
|
162703
|
-
} | undefined;
|
|
162704
|
-
planInterval?: "daily" | "monthly" | "weekly" | "yearly" | undefined;
|
|
162705
|
-
seats?: number | undefined;
|
|
162706
|
-
seatLimit?: number | undefined;
|
|
162707
162461
|
handle?: string | undefined;
|
|
162708
|
-
ipWhitelist?: {
|
|
162709
|
-
entries: {
|
|
162710
|
-
name: string;
|
|
162711
|
-
isEnabled: boolean;
|
|
162712
|
-
range: string;
|
|
162713
|
-
}[];
|
|
162714
|
-
isEnabledForCloud: boolean;
|
|
162715
|
-
isEnabledForDocs: boolean;
|
|
162716
|
-
} | undefined;
|
|
162717
|
-
npmRegistrySettings?: ({
|
|
162718
|
-
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
162719
|
-
enabledScopes: string[];
|
|
162720
|
-
customRegistryUrl?: string | undefined;
|
|
162721
|
-
bypassProxy?: boolean | undefined;
|
|
162722
|
-
npmProxyRegistryConfigId?: string | undefined;
|
|
162723
|
-
npmProxyVersion?: number | undefined;
|
|
162724
|
-
} & ({
|
|
162725
|
-
password: string;
|
|
162726
|
-
username: string;
|
|
162727
|
-
authType: "Basic";
|
|
162728
|
-
} | {
|
|
162729
|
-
accessToken: string;
|
|
162730
|
-
authType: "Bearer";
|
|
162731
|
-
} | {
|
|
162732
|
-
authType: "None";
|
|
162733
|
-
} | {
|
|
162734
|
-
authType: "Custom";
|
|
162735
|
-
authHeaderName: string;
|
|
162736
|
-
authHeaderValue: string;
|
|
162737
|
-
})) | undefined;
|
|
162738
|
-
billingEmail?: string | undefined;
|
|
162739
|
-
invites?: {
|
|
162740
|
-
email: string;
|
|
162741
|
-
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
162742
|
-
}[] | undefined;
|
|
162743
|
-
promoCode?: string | undefined;
|
|
162744
162462
|
}>;
|
|
162745
162463
|
type CreateWorkspaceInput = z.infer<typeof CreateWorkspaceInput>;
|
|
162746
162464
|
|
|
@@ -162951,6 +162669,8 @@ declare const WorkspaceProfileUpdate: z.ZodObject<Omit<{
|
|
|
162951
162669
|
} | null | undefined;
|
|
162952
162670
|
}>;
|
|
162953
162671
|
type WorkspaceProfileUpdate = z.infer<typeof WorkspaceProfileUpdate>;
|
|
162672
|
+
type CreateWorkspaceDbInput = DbCreateInputOmit<Workspace>;
|
|
162673
|
+
type UpdateWorkspaceDbInput = DbUpdateInputOmit<Workspace>;
|
|
162954
162674
|
declare const WorkspaceIpWhitelistEntry: z.ZodObject<{
|
|
162955
162675
|
isEnabled: z.ZodBoolean;
|
|
162956
162676
|
name: z.ZodString;
|
|
@@ -166673,4 +166393,4 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
|
|
|
166673
166393
|
}>;
|
|
166674
166394
|
type WorkspaceWithDesignSystems = z.infer<typeof WorkspaceWithDesignSystems>;
|
|
166675
166395
|
|
|
166676
|
-
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, ComponentElementData, ContentLoadInstruction, ContentLoaderPayload, type CreateAssetReference, type CreateBrand, type CreateDataSource, type CreateDesignElement, type CreateDesignElementReference, type CreateDesignSystem, type CreateDesignSystemInvitation, type CreateDesignSystemMembership, type CreateDesignSystemVersion, type CreateDesignSystemVersionRoom, CreateDesignToken, type CreateDocumentationPageApproval, 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 CreateFigmaComponent, type CreateFigmaFileStructure, type CreateFigmaNodeReference, type CreateImportJob, type CreatePersonalAccessToken, type CreatePublishedDocPage, type CreateTheme, 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, DesignSystemAccessMode, DesignSystemDump, DesignSystemElementExportProps, DesignSystemInvitation, DesignSystemInvite, DesignSystemMembers, DesignSystemMembership, DesignSystemMembershipUpdates, DesignSystemPendingMemberInvitation, type DesignSystemPendingMemberInvite, DesignSystemSwitcher, DesignSystemUserInvitation, DesignSystemVersion, DesignSystemVersionDump, DesignSystemVersionMultiplayerDump, DesignSystemVersionRoom, DesignSystemVersionRoomInitialState, DesignSystemVersionRoomInternalSettings, DesignSystemVersionRoomUpdate, 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, DocumentationPageApproval, DocumentationPageApprovalState, DocumentationPageContent, DocumentationPageContentBackup, DocumentationPageContentData, DocumentationPageContentItem, DocumentationPageDataV1, DocumentationPageDataV2, DocumentationPageGroup, DocumentationPageRoom, DocumentationPageRoomDump, DocumentationPageRoomInitialStateUpdate, DocumentationPageRoomRoomUpdate, DocumentationPageRoomState, DocumentationPageSnapshot, DocumentationPageV1, DocumentationPageV2, DocumentationSettings, 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, Event, EventDataSourceImported, EventVersionReleased, 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, FigmaComponent, FigmaComponentAsset, FigmaComponentBooleanProperty, type FigmaComponentDiff, FigmaComponentImportModel, FigmaComponentImportModelInput, FigmaComponentInstanceSwapProperty, FigmaComponentOrigin, FigmaComponentOriginPart, FigmaComponentProperty, FigmaComponentPropertyMap, FigmaComponentPropertyOrigin, FigmaComponentPropertyType, FigmaComponentTextProperty, FigmaComponentVariantProperty, FigmaFileAccessData, FigmaFileDownloadScope, FigmaFileStructure, FigmaFileStructureData, type FigmaFileStructureDiff, FigmaFileStructureElementData, FigmaFileStructureImportModel, FigmaFileStructureImportModelInput, FigmaFileStructureNode, FigmaFileStructureNodeBase, FigmaFileStructureNodeImportModel, FigmaFileStructureNodeType, FigmaFileStructureOrigin, FigmaFileStructureStatistics, FigmaImportBaseContext, FigmaImportContextWithDownloadScopes, FigmaImportContextWithSourcesState, FigmaNodeReference, FigmaNodeReferenceData, type FigmaNodeReferenceDiff, FigmaNodeReferenceElementData, FigmaNodeReferenceOrigin, FigmaNodeRenderFormat, FigmaPngRenderImportModel, FigmaRenderBase, FigmaRenderFormat, FigmaRenderImportModel, FigmaSvgRenderImportModel, FileStructureStats, FlaggedFeature, FontFamilyTokenData, FontFamilyValue, FontSizeTokenData, FontSizeUnit, FontSizeValue, FontTokenData, FontValue, 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 ImportedDesignToken, type ImportedDesignTokenOfType, type ImportedFigmaComponent, 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, PageBlockDefinitionRichTextEditorOptions, PageBlockDefinitionRichTextEditorPropertyStyle, 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, PageBlockItemRichTextEditorListNode, PageBlockItemRichTextEditorNode, PageBlockItemRichTextEditorParagraphNode, PageBlockItemRichTextEditorValue, PageBlockItemRichTextValue, PageBlockItemSandboxValue, PageBlockItemSingleSelectValue, PageBlockItemStorybookValue, PageBlockItemSwatch, PageBlockItemTableCell, PageBlockItemTableImageNode, PageBlockItemTableNode, PageBlockItemTableRichTextNode, PageBlockItemTableRow, PageBlockItemTableValue, PageBlockItemTextValue, PageBlockItemTokenPropertyValue, PageBlockItemTokenTypeValue, PageBlockItemTokenValue, PageBlockItemUntypedValue, PageBlockItemUrlValue, PageBlockItemV2, PageBlockLinkPreview, PageBlockLinkType, PageBlockLinkV2, PageBlockPreviewContainerSize, PageBlockRenderCodeProperties, PageBlockResourceFrameNodeReference, PageBlockShortcut, PageBlockSwatch, 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, type RestoreDocumentationPage, type RestoreElementGroup, 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 UpdateDataSource, type UpdateDesignElement, type UpdateDesignSystem, 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 UpdateFigmaComponent, 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, UserSource, 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, areShallowObjectsEqual, buildConstantEnum, defaultDocumentationItemConfigurationV1, defaultDocumentationItemConfigurationV2, defaultDocumentationItemHeaderV1, defaultDocumentationItemHeaderV2, defaultNotificationSettings, designTokenImportModelTypeFilter, designTokenTypeFilter, extractTokenTypedData, figmaFileStructureImportModelToMap, figmaFileStructureToMap, filterNonNullish, forceUnwrapNullish, getCodenameFromText, getFigmaRenderFormatFileExtension, groupBy, isDesignTokenImportModelOfType, isDesignTokenOfType, isImportedAsset, isImportedDesignToken, isImportedFigmaComponent, isSlugReserved, isTokenType, joinRepeatingSpans, mapByUnique, mapPageBlockItemValuesV2, nonNullFilter, nonNullishFilter, nullishToOptional, parseUrl, pickLatestGroupSnapshots, pickLatestPageSnapshots, pickLatestSnapshots, promiseWithTimeout, publishedDocEnvironments, removeCommentSpans, sleep, slugRegex, slugify, tokenAliasOrValue, tokenElementTypes, traversePageBlockItemValuesV2, traversePageBlockItemsV2, traversePageBlocksV1, traversePageItemsV2, traverseStructure, trimLeadingSlash, trimTrailingSlash, tryParseShortPersistentId, tryParseUrl, uniqueBy, zodCreateInputOmit, zodUpdateInputOmit };
|
|
166396
|
+
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, ComponentElementData, ContentLoadInstruction, ContentLoaderPayload, type CreateAssetReference, type CreateBrand, type CreateDataSource, type CreateDesignElement, type CreateDesignElementReference, type CreateDesignSystem, type CreateDesignSystemInvitation, type CreateDesignSystemMembership, type CreateDesignSystemVersion, type CreateDesignSystemVersionRoom, CreateDesignToken, type CreateDocumentationPageApproval, 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 CreateFigmaComponent, type CreateFigmaFileStructure, type CreateFigmaNodeReference, type CreateImportJob, type CreatePersonalAccessToken, type CreatePublishedDocPage, type CreateTheme, type CreateWorkspaceDbInput, 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, DesignSystemAccessMode, DesignSystemDump, DesignSystemElementExportProps, DesignSystemInvitation, DesignSystemInvite, DesignSystemMembers, DesignSystemMembership, DesignSystemMembershipUpdates, DesignSystemPendingMemberInvitation, type DesignSystemPendingMemberInvite, DesignSystemSwitcher, DesignSystemUserInvitation, DesignSystemVersion, DesignSystemVersionDump, DesignSystemVersionMultiplayerDump, DesignSystemVersionRoom, DesignSystemVersionRoomInitialState, DesignSystemVersionRoomInternalSettings, DesignSystemVersionRoomUpdate, 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, DocumentationPageApproval, DocumentationPageApprovalState, DocumentationPageContent, DocumentationPageContentBackup, DocumentationPageContentData, DocumentationPageContentItem, DocumentationPageDataV1, DocumentationPageDataV2, DocumentationPageGroup, DocumentationPageRoom, DocumentationPageRoomDump, DocumentationPageRoomInitialStateUpdate, DocumentationPageRoomRoomUpdate, DocumentationPageRoomState, DocumentationPageSnapshot, DocumentationPageV1, DocumentationPageV2, DocumentationSettings, 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, Event, EventDataSourceImported, EventVersionReleased, 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, FigmaComponent, FigmaComponentAsset, FigmaComponentBooleanProperty, type FigmaComponentDiff, FigmaComponentImportModel, FigmaComponentImportModelInput, FigmaComponentInstanceSwapProperty, FigmaComponentOrigin, FigmaComponentOriginPart, FigmaComponentProperty, FigmaComponentPropertyMap, FigmaComponentPropertyOrigin, FigmaComponentPropertyType, FigmaComponentTextProperty, FigmaComponentVariantProperty, FigmaFileAccessData, FigmaFileDownloadScope, FigmaFileStructure, FigmaFileStructureData, type FigmaFileStructureDiff, FigmaFileStructureElementData, FigmaFileStructureImportModel, FigmaFileStructureImportModelInput, FigmaFileStructureNode, FigmaFileStructureNodeBase, FigmaFileStructureNodeImportModel, FigmaFileStructureNodeType, FigmaFileStructureOrigin, FigmaFileStructureStatistics, FigmaImportBaseContext, FigmaImportContextWithDownloadScopes, FigmaImportContextWithSourcesState, FigmaNodeReference, FigmaNodeReferenceData, type FigmaNodeReferenceDiff, FigmaNodeReferenceElementData, FigmaNodeReferenceOrigin, FigmaNodeRenderFormat, FigmaPngRenderImportModel, FigmaRenderBase, FigmaRenderFormat, FigmaRenderImportModel, FigmaSvgRenderImportModel, FileStructureStats, FlaggedFeature, FontFamilyTokenData, FontFamilyValue, FontSizeTokenData, FontSizeUnit, FontSizeValue, FontTokenData, FontValue, 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 ImportedDesignToken, type ImportedDesignTokenOfType, type ImportedFigmaComponent, 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, PageBlockDefinitionRichTextEditorOptions, PageBlockDefinitionRichTextEditorPropertyStyle, 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, PageBlockItemRichTextEditorListNode, PageBlockItemRichTextEditorNode, PageBlockItemRichTextEditorParagraphNode, PageBlockItemRichTextEditorValue, PageBlockItemRichTextValue, PageBlockItemSandboxValue, PageBlockItemSingleSelectValue, PageBlockItemStorybookValue, PageBlockItemSwatch, PageBlockItemTableCell, PageBlockItemTableImageNode, PageBlockItemTableNode, PageBlockItemTableRichTextNode, PageBlockItemTableRow, PageBlockItemTableValue, PageBlockItemTextValue, PageBlockItemTokenPropertyValue, PageBlockItemTokenTypeValue, PageBlockItemTokenValue, PageBlockItemUntypedValue, PageBlockItemUrlValue, PageBlockItemV2, PageBlockLinkPreview, PageBlockLinkType, PageBlockLinkV2, PageBlockPreviewContainerSize, PageBlockRenderCodeProperties, PageBlockResourceFrameNodeReference, PageBlockShortcut, PageBlockSwatch, 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, type RestoreDocumentationPage, type RestoreElementGroup, 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 UpdateDataSource, type UpdateDesignElement, type UpdateDesignSystem, 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 UpdateFigmaComponent, type UpdateFigmaFileStructure, type UpdateFigmaNodeReference, type UpdateImportJob, UpdateMembershipRolesInput, type UpdatePublishedDocPage, type UpdateTheme, type UpdateWorkspaceDbInput, type UpdateWorkspaceRoom, UrlImageImportModel, User, UserAnalyticsCleanupSchedule, UserAnalyticsCleanupScheduleDbInput, UserDump, UserIdentity, UserInvite, UserInvites, UserLinkedIntegrations, UserMinified, UserNotificationSettings, UserOnboarding, UserOnboardingDepartment, UserOnboardingJobLevel, UserProfile, UserProfileUpdate, UserSession, UserSource, 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, areShallowObjectsEqual, buildConstantEnum, defaultDocumentationItemConfigurationV1, defaultDocumentationItemConfigurationV2, defaultDocumentationItemHeaderV1, defaultDocumentationItemHeaderV2, defaultNotificationSettings, designTokenImportModelTypeFilter, designTokenTypeFilter, extractTokenTypedData, figmaFileStructureImportModelToMap, figmaFileStructureToMap, filterNonNullish, forceUnwrapNullish, getCodenameFromText, getFigmaRenderFormatFileExtension, groupBy, isDesignTokenImportModelOfType, isDesignTokenOfType, isImportedAsset, isImportedDesignToken, isImportedFigmaComponent, isSlugReserved, isTokenType, joinRepeatingSpans, mapByUnique, mapPageBlockItemValuesV2, nonNullFilter, nonNullishFilter, nullishToOptional, parseUrl, pickLatestGroupSnapshots, pickLatestPageSnapshots, pickLatestSnapshots, promiseWithTimeout, publishedDocEnvironments, removeCommentSpans, sleep, slugRegex, slugify, tokenAliasOrValue, tokenElementTypes, traversePageBlockItemValuesV2, traversePageBlockItemsV2, traversePageBlocksV1, traversePageItemsV2, traverseStructure, trimLeadingSlash, trimTrailingSlash, tryParseShortPersistentId, tryParseUrl, uniqueBy, zodCreateInputOmit, zodUpdateInputOmit };
|
package/dist/index.js
CHANGED
|
@@ -4133,20 +4133,7 @@ var HANDLE_MIN_LENGTH = 2;
|
|
|
4133
4133
|
var HANDLE_MAX_LENGTH = 64;
|
|
4134
4134
|
var CreateWorkspaceInput = _zod.z.object({
|
|
4135
4135
|
name: _zod.z.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
|
|
4136
|
-
|
|
4137
|
-
priceId: _zod.z.string(),
|
|
4138
|
-
billingEmail: _zod.z.string().email().optional(),
|
|
4139
|
-
handle: _zod.z.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => _optionalChain([value, 'optionalAccess', _6 => _6.length]) > 0).optional(),
|
|
4140
|
-
invites: UserInvites.optional(),
|
|
4141
|
-
promoCode: _zod.z.string().optional(),
|
|
4142
|
-
status: InternalStatusSchema.optional(),
|
|
4143
|
-
planInterval: BillingIntervalSchema.optional(),
|
|
4144
|
-
seats: _zod.z.number().optional(),
|
|
4145
|
-
seatLimit: _zod.z.number().optional(),
|
|
4146
|
-
card: CardSchema.optional(),
|
|
4147
|
-
sso: SsoProvider.optional(),
|
|
4148
|
-
npmRegistrySettings: NpmRegistryConfig.optional(),
|
|
4149
|
-
ipWhitelist: WorkspaceIpSettings.optional()
|
|
4136
|
+
handle: _zod.z.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => _optionalChain([value, 'optionalAccess', _6 => _6.length]) > 0).optional()
|
|
4150
4137
|
});
|
|
4151
4138
|
|
|
4152
4139
|
// src/workspace/workspace-invitations.ts
|