@supernova-studio/model 0.48.13 → 0.48.15

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.js CHANGED
@@ -1697,6 +1697,48 @@ var ZIndexTokenData = tokenAliasOrValue(ZIndexValue);
1697
1697
 
1698
1698
  // src/dsm/elements/component.ts
1699
1699
 
1700
+
1701
+ // src/dsm/elements/component-properties.ts
1702
+
1703
+ var FigmaComponentPropertyType = _zod.z.enum(["Boolean", "InstanceSwap", "Variant", "Text"]);
1704
+ var FigmaComponentBooleanProperty = _zod.z.object({
1705
+ type: _zod.z.literal(FigmaComponentPropertyType.enum.Boolean),
1706
+ value: _zod.z.boolean(),
1707
+ defaultValue: _zod.z.boolean()
1708
+ });
1709
+ var FigmaComponentInstanceSwapProperty = _zod.z.object({
1710
+ type: _zod.z.literal(FigmaComponentPropertyType.enum.InstanceSwap),
1711
+ value: _zod.z.string()
1712
+ // Persistent ID of a Component to swap?
1713
+ });
1714
+ var FigmaComponentVariantProperty = _zod.z.object({
1715
+ type: _zod.z.literal(FigmaComponentPropertyType.enum.Variant),
1716
+ value: _zod.z.string(),
1717
+ options: _zod.z.array(_zod.z.string())
1718
+ });
1719
+ var FigmaComponentTextProperty = _zod.z.object({
1720
+ type: _zod.z.literal(FigmaComponentPropertyType.enum.Text),
1721
+ value: _zod.z.string()
1722
+ });
1723
+ var FigmaComponentProperties = _zod.z.record(
1724
+ _zod.z.string(),
1725
+ _zod.z.discriminatedUnion("type", [
1726
+ FigmaComponentBooleanProperty,
1727
+ FigmaComponentInstanceSwapProperty,
1728
+ FigmaComponentTextProperty
1729
+ ])
1730
+ );
1731
+ var FigmaComponentSetProperties = _zod.z.record(
1732
+ _zod.z.string(),
1733
+ _zod.z.discriminatedUnion("type", [
1734
+ FigmaComponentBooleanProperty,
1735
+ FigmaComponentInstanceSwapProperty,
1736
+ FigmaComponentTextProperty,
1737
+ FigmaComponentVariantProperty
1738
+ ])
1739
+ );
1740
+
1741
+ // src/dsm/elements/component.ts
1700
1742
  var ComponentOriginPart = _zod.z.object({
1701
1743
  nodeId: _zod.z.string().optional(),
1702
1744
  width: _zod.z.number().optional(),
@@ -1707,11 +1749,15 @@ var ComponentAsset = _zod.z.object({
1707
1749
  assetPath: _zod.z.string()
1708
1750
  });
1709
1751
  var ComponentOrigin = DesignElementOrigin.extend(ComponentOriginPart.shape);
1710
- var Component = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementBrandedPart.shape).extend({
1752
+ var BaseComponent = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementBrandedPart.shape).extend({
1711
1753
  origin: ComponentOrigin.optional(),
1712
- thumbnail: ComponentAsset,
1754
+ thumbnail: ComponentAsset
1755
+ });
1756
+ var Component = BaseComponent.extend({
1713
1757
  svg: ComponentAsset.optional(),
1714
- isAsset: _zod.z.boolean()
1758
+ isAsset: _zod.z.boolean(),
1759
+ componentSetId: _zod.z.string().optional(),
1760
+ properties: FigmaComponentProperties.optional()
1715
1761
  });
1716
1762
  function isImportedComponent(component) {
1717
1763
  return !!component.origin;
@@ -2833,883 +2879,182 @@ var DocumentationCommentThread = _zod.z.object({
2833
2879
 
2834
2880
  // src/dsm/element-snapshots/base.ts
2835
2881
 
2836
- var DesignElementSnapshotReason = _zod.z.enum(["Publish", "Deletion"]);
2837
- var DesignElementSnapshotBase = _zod.z.object({
2838
- id: _zod.z.string(),
2839
- persistentId: _zod.z.string(),
2840
- designSystemVersionId: _zod.z.string(),
2841
- createdAt: _zod.z.coerce.date(),
2842
- updatedAt: _zod.z.coerce.date(),
2843
- reason: DesignElementSnapshotReason,
2844
- createdByUserId: _zod.z.string()
2845
- });
2846
-
2847
- // src/dsm/element-snapshots/documentation-page-snapshot.ts
2848
-
2849
- var DocumentationPageSnapshot = DesignElementSnapshotBase.extend({
2850
- page: DocumentationPageV2,
2851
- pageContentHash: _zod.z.string(),
2852
- pageContentStorageKey: _zod.z.string()
2853
- });
2854
-
2855
- // src/dsm/element-snapshots/group-snapshot.ts
2856
- var ElementGroupSnapshot = DesignElementSnapshotBase.extend({
2857
- group: ElementGroup
2858
- });
2859
2882
 
2860
- // src/dsm/views/column.ts
2883
+ // src/utils/errors.ts
2884
+ var SupernovaException = class _SupernovaException extends Error {
2885
+ //
2886
+ // Properties
2887
+ //
2888
+ constructor(type, message) {
2889
+ super(`${type}: ${message}`);
2890
+ this.type = type;
2891
+ }
2892
+ static wrongFormat(message) {
2893
+ return new _SupernovaException("WrongFormat", message);
2894
+ }
2895
+ static validationError(message) {
2896
+ return new _SupernovaException("ValidationError", message);
2897
+ }
2898
+ static accessDenied(message) {
2899
+ return new _SupernovaException("AccessDenied", message);
2900
+ }
2901
+ static tooMuchWork(message) {
2902
+ return new _SupernovaException("TooMuchWork", message);
2903
+ }
2904
+ static notFound(message) {
2905
+ return new _SupernovaException("ResourceNotFound", message);
2906
+ }
2907
+ static timeout(message) {
2908
+ return new _SupernovaException("Timeout", message);
2909
+ }
2910
+ static conflict(message) {
2911
+ return new _SupernovaException("Conflict", message);
2912
+ }
2913
+ static notImplemented(message) {
2914
+ return new _SupernovaException("NotImplemented", message);
2915
+ }
2916
+ static wrongActionOrder(message) {
2917
+ return new _SupernovaException("WrongActionOrder", message);
2918
+ }
2919
+ static invalidOperation(message) {
2920
+ return new _SupernovaException("InvalidOperation", message);
2921
+ }
2922
+ static shouldNotHappen(message) {
2923
+ return new _SupernovaException("UnexpectedError", message);
2924
+ }
2925
+ static ipRestricted(message) {
2926
+ return new _SupernovaException("IPRestricted", message);
2927
+ }
2928
+ static planRestricted(message) {
2929
+ return new _SupernovaException("PlanRestricted", message);
2930
+ }
2931
+ static missingWorkspacePermission(message) {
2932
+ return new _SupernovaException("MissingWorkspacePermission", message);
2933
+ }
2934
+ static missingExporterPermission(message) {
2935
+ return new _SupernovaException("MissingExporterPermission", message);
2936
+ }
2937
+ static missingIntegration(message) {
2938
+ return new _SupernovaException("MissingIntegration", message);
2939
+ }
2940
+ static missingIntegrationAccess(message) {
2941
+ return new _SupernovaException("MissingIntegrationAccess", message);
2942
+ }
2943
+ static noAccess(message) {
2944
+ return new _SupernovaException("NoAccess", message);
2945
+ }
2946
+ static missingCredentials(message) {
2947
+ return new _SupernovaException("MissingCredentials", message);
2948
+ }
2949
+ static thirdPartyError(message) {
2950
+ return new _SupernovaException("ThirdPartyError", message);
2951
+ }
2952
+ //
2953
+ // To refactor
2954
+ //
2955
+ static badRequest(message) {
2956
+ return new _SupernovaException("BadRequest", message);
2957
+ }
2958
+ };
2861
2959
 
2862
- var ElementViewBaseColumnType = _zod.z.enum(["Name", "Description", "Value", "UpdatedAt"]);
2863
- var ElementViewColumnType = _zod.z.union([
2864
- _zod.z.literal("BaseProperty"),
2865
- _zod.z.literal("PropertyDefinition"),
2866
- _zod.z.literal("Theme")
2867
- ]);
2868
- var ElementViewColumnSharedAttributes = _zod.z.object({
2869
- id: _zod.z.string(),
2870
- persistentId: _zod.z.string(),
2871
- elementDataViewId: _zod.z.string(),
2872
- sortPosition: _zod.z.number(),
2873
- width: _zod.z.number()
2874
- });
2875
- var ElementViewBasePropertyColumn = ElementViewColumnSharedAttributes.extend({
2876
- type: _zod.z.literal("BaseProperty"),
2877
- basePropertyType: ElementViewBaseColumnType
2878
- });
2879
- var ElementViewPropertyDefinitionColumn = ElementViewColumnSharedAttributes.extend({
2880
- type: _zod.z.literal("PropertyDefinition"),
2881
- propertyDefinitionId: _zod.z.string()
2882
- });
2883
- var ElementViewThemeColumn = ElementViewColumnSharedAttributes.extend({
2884
- type: _zod.z.literal("Theme"),
2885
- themeId: _zod.z.string()
2886
- });
2887
- var ElementViewColumn = _zod.z.discriminatedUnion("type", [
2888
- ElementViewBasePropertyColumn,
2889
- ElementViewPropertyDefinitionColumn,
2890
- ElementViewThemeColumn
2891
- ]);
2960
+ // src/utils/common.ts
2961
+ function forceUnwrapNullish(value) {
2962
+ if (value === null)
2963
+ throw new Error("Illegal null");
2964
+ if (value === void 0)
2965
+ throw new Error("Illegal undefined");
2966
+ return value;
2967
+ }
2968
+ function trimLeadingSlash(string) {
2969
+ return string.startsWith("/") ? string.substring(1) : string;
2970
+ }
2971
+ function trimTrailingSlash(string) {
2972
+ return string.endsWith("/") ? string.substring(0, string.length - 1) : string;
2973
+ }
2974
+ function tryParseUrl(url) {
2975
+ try {
2976
+ return parseUrl(url);
2977
+ } catch (e) {
2978
+ console.error(`Error parsing URL ${url}`);
2979
+ console.error(e);
2980
+ return null;
2981
+ }
2982
+ }
2983
+ function parseUrl(url) {
2984
+ return new URL(url.startsWith("https://") || url.startsWith("http://") ? url : `https://${url}`);
2985
+ }
2986
+ function mapByUnique(items, keyFn) {
2987
+ const result = /* @__PURE__ */ new Map();
2988
+ for (const item of items) {
2989
+ result.set(keyFn(item), item);
2990
+ }
2991
+ return result;
2992
+ }
2993
+ function groupBy(items, keyFn) {
2994
+ const result = /* @__PURE__ */ new Map();
2995
+ for (const item of items) {
2996
+ const key = keyFn(item);
2997
+ const array = result.get(key);
2998
+ if (array) {
2999
+ array.push(item);
3000
+ } else {
3001
+ result.set(key, [item]);
3002
+ }
3003
+ }
3004
+ return result;
3005
+ }
3006
+ function filterNonNullish(items) {
3007
+ return items.filter(Boolean);
3008
+ }
3009
+ function nonNullishFilter(item) {
3010
+ return !!item;
3011
+ }
3012
+ function nonNullFilter(item) {
3013
+ return item !== null;
3014
+ }
3015
+ function buildConstantEnum(values) {
3016
+ const constMap = values.reduce((acc, code) => ({ ...acc, [code]: code }), {});
3017
+ return constMap;
3018
+ }
3019
+ async function promiseWithTimeout(timeoutMs, promise) {
3020
+ let timeoutHandle;
3021
+ const timeoutPromise = new Promise((_, reject) => {
3022
+ timeoutHandle = setTimeout(() => reject(SupernovaException.timeout()), timeoutMs);
3023
+ });
3024
+ const result = await Promise.race([promise(), timeoutPromise]);
3025
+ clearTimeout(timeoutHandle);
3026
+ return result;
3027
+ }
3028
+ async function sleep(ms) {
3029
+ return new Promise((resolve) => setTimeout(resolve, ms));
3030
+ }
3031
+ function uniqueBy(items, prop) {
3032
+ return Array.from(mapByUnique(items, prop).values());
3033
+ }
2892
3034
 
2893
- // src/dsm/views/view.ts
3035
+ // src/utils/content-loader-instruction.ts
2894
3036
 
2895
- var ElementView = _zod.z.object({
2896
- id: _zod.z.string(),
2897
- persistentId: _zod.z.string(),
2898
- designSystemVersionId: _zod.z.string(),
2899
- name: _zod.z.string(),
2900
- description: _zod.z.string(),
2901
- targetElementType: ElementPropertyTargetType,
2902
- isDefault: _zod.z.boolean()
3037
+ var ContentLoadInstruction = _zod.z.object({
3038
+ from: _zod.z.string(),
3039
+ to: _zod.z.string(),
3040
+ authorizationHeaderKvsId: _zod.z.string().optional(),
3041
+ timeout: _zod.z.number().optional()
2903
3042
  });
2904
-
2905
- // src/dsm/brand.ts
2906
-
2907
- var Brand = _zod.z.object({
2908
- id: _zod.z.string(),
2909
- designSystemVersionId: _zod.z.string(),
2910
- persistentId: _zod.z.string(),
2911
- name: _zod.z.string(),
2912
- description: _zod.z.string()
2913
- });
2914
-
2915
- // src/dsm/design-system-update.ts
2916
-
2917
-
2918
- // src/dsm/design-system.ts
2919
-
2920
-
2921
- // src/workspace/workspace.ts
2922
- var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
2923
-
2924
-
2925
- // src/workspace/npm-registry-settings.ts
2926
-
2927
- var NpmRegistryAuthType = _zod.z.enum(["Basic", "Bearer", "None", "Custom"]);
2928
- var NpmRegistryType = _zod.z.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
2929
- var NpmRegistryBasicAuthConfig = _zod.z.object({
2930
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.Basic),
2931
- username: _zod.z.string(),
2932
- password: _zod.z.string()
2933
- });
2934
- var NpmRegistryBearerAuthConfig = _zod.z.object({
2935
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.Bearer),
2936
- accessToken: _zod.z.string()
2937
- });
2938
- var NpmRegistryNoAuthConfig = _zod.z.object({
2939
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.None)
2940
- });
2941
- var NpmRegistrCustomAuthConfig = _zod.z.object({
2942
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.Custom),
2943
- authHeaderName: _zod.z.string(),
2944
- authHeaderValue: _zod.z.string()
2945
- });
2946
- var NpmRegistryAuthConfig = _zod.z.discriminatedUnion("authType", [
2947
- NpmRegistryBasicAuthConfig,
2948
- NpmRegistryBearerAuthConfig,
2949
- NpmRegistryNoAuthConfig,
2950
- NpmRegistrCustomAuthConfig
2951
- ]);
2952
- var NpmRegistryConfigBase = _zod.z.object({
2953
- registryType: NpmRegistryType,
2954
- enabledScopes: _zod.z.array(_zod.z.string()),
2955
- customRegistryUrl: _zod.z.string().optional(),
2956
- bypassProxy: _zod.z.boolean().default(false),
2957
- npmProxyRegistryConfigId: _zod.z.string().optional(),
2958
- npmProxyVersion: _zod.z.number().optional()
2959
- });
2960
- var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
2961
-
2962
- // src/workspace/sso-provider.ts
2963
-
2964
- var SsoProvider = _zod.z.object({
2965
- providerId: _zod.z.string(),
2966
- defaultAutoInviteValue: _zod.z.boolean(),
2967
- autoInviteDomains: _zod.z.record(_zod.z.string(), _zod.z.boolean()),
2968
- skipDocsSupernovaLogin: _zod.z.boolean(),
2969
- areInvitesDisabled: _zod.z.boolean(),
2970
- isTestMode: _zod.z.boolean(),
2971
- emailDomains: _zod.z.array(_zod.z.string()),
2972
- metadataXml: _zod.z.string().nullish()
2973
- });
2974
-
2975
- // src/workspace/workspace.ts
2976
- var isValidCIDR = (value) => {
2977
- return _ipcidr2.default.isValidAddress(value);
2978
- };
2979
- var WorkspaceIpWhitelistEntry = _zod.z.object({
2980
- isEnabled: _zod.z.boolean(),
2981
- name: _zod.z.string(),
2982
- range: _zod.z.string().refine(isValidCIDR, {
2983
- message: "Invalid IP CIDR"
2984
- })
2985
- });
2986
- var WorkspaceIpSettings = _zod.z.object({
2987
- isEnabledForCloud: _zod.z.boolean(),
2988
- isEnabledForDocs: _zod.z.boolean(),
2989
- entries: _zod.z.array(WorkspaceIpWhitelistEntry)
2990
- });
2991
- var WorkspaceProfile = _zod.z.object({
2992
- name: _zod.z.string(),
2993
- handle: _zod.z.string(),
2994
- color: _zod.z.string(),
2995
- avatar: nullishToOptional(_zod.z.string()),
2996
- billingDetails: nullishToOptional(BillingDetails)
2997
- });
2998
- var WorkspaceProfileUpdate = WorkspaceProfile.omit({
2999
- avatar: true
3000
- });
3001
- var Workspace = _zod.z.object({
3002
- id: _zod.z.string(),
3003
- profile: WorkspaceProfile,
3004
- subscription: Subscription,
3005
- ipWhitelist: nullishToOptional(WorkspaceIpSettings),
3006
- sso: nullishToOptional(SsoProvider),
3007
- npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
3008
- });
3009
- var WorkspaceWithDesignSystems = _zod.z.object({
3010
- workspace: Workspace,
3011
- designSystems: _zod.z.array(DesignSystem)
3012
- });
3013
-
3014
- // src/dsm/design-system.ts
3015
- var DesignSystemSwitcher = _zod.z.object({
3016
- isEnabled: _zod.z.boolean(),
3017
- designSystemIds: _zod.z.array(_zod.z.string())
3018
- });
3019
- var DesignSystem = _zod.z.object({
3020
- id: _zod.z.string(),
3021
- workspaceId: _zod.z.string(),
3022
- name: _zod.z.string(),
3023
- description: _zod.z.string(),
3024
- docExporterId: nullishToOptional(_zod.z.string()),
3025
- docSlug: _zod.z.string(),
3026
- docUserSlug: nullishToOptional(_zod.z.string()),
3027
- docSlugDeprecated: _zod.z.string(),
3028
- isPublic: _zod.z.boolean(),
3029
- isMultibrand: _zod.z.boolean(),
3030
- docViewUrl: nullishToOptional(_zod.z.string()),
3031
- basePrefixes: _zod.z.array(_zod.z.string()),
3032
- designSystemSwitcher: nullishToOptional(DesignSystemSwitcher),
3033
- createdAt: _zod.z.coerce.date(),
3034
- updatedAt: _zod.z.coerce.date()
3035
- });
3036
- var DesignSystemWithWorkspace = _zod.z.object({
3037
- designSystem: DesignSystem,
3038
- workspace: Workspace
3039
- });
3040
-
3041
- // src/dsm/design-system-update.ts
3042
- var DS_NAME_MIN_LENGTH = 2;
3043
- var DS_NAME_MAX_LENGTH = 64;
3044
- var DS_DESC_MAX_LENGTH = 64;
3045
- var DesignSystemUpdateInputMetadata = _zod.z.object({
3046
- name: _zod.z.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim().optional(),
3047
- description: _zod.z.string().max(DS_DESC_MAX_LENGTH).trim().optional()
3048
- });
3049
- var DesignSystemUpdateInput = DesignSystem.partial().omit({
3050
- id: true,
3051
- createdAt: true,
3052
- updatedAt: true,
3053
- docSlug: true,
3054
- docViewUrl: true,
3055
- designSystemSwitcher: true
3056
- }).extend({
3057
- meta: DesignSystemUpdateInputMetadata.optional()
3058
- });
3059
-
3060
- // src/dsm/desing-system-create.ts
3061
-
3062
- var DS_NAME_MIN_LENGTH2 = 2;
3063
- var DS_NAME_MAX_LENGTH2 = 64;
3064
- var DS_DESC_MAX_LENGTH2 = 64;
3065
- var DesignSystemCreateInputMetadata = _zod.z.object({
3066
- name: _zod.z.string().min(DS_NAME_MIN_LENGTH2).max(DS_NAME_MAX_LENGTH2).trim(),
3067
- description: _zod.z.string().max(DS_DESC_MAX_LENGTH2).trim()
3068
- });
3069
- var DesignSystemCreateInput = _zod.z.object({
3070
- meta: DesignSystemCreateInputMetadata,
3071
- workspaceId: _zod.z.string(),
3072
- isPublic: _zod.z.boolean().optional(),
3073
- basePrefixes: _zod.z.array(_zod.z.string()).optional(),
3074
- docUserSlug: _zod.z.string().nullish().optional(),
3075
- source: _zod.z.array(_zod.z.string()).optional()
3076
- });
3077
-
3078
- // src/dsm/exporter-property-values-collection.ts
3079
-
3080
- var ExporterPropertyImageValue = _zod.z.object({
3081
- asset: PageBlockAsset.optional(),
3082
- assetId: _zod.z.string().optional(),
3083
- assetUrl: _zod.z.string().optional()
3084
- });
3085
- var ExporterPropertyValue = _zod.z.object({
3086
- key: _zod.z.string(),
3087
- value: _zod.z.union([
3088
- _zod.z.number(),
3089
- _zod.z.string(),
3090
- _zod.z.boolean(),
3091
- ExporterPropertyImageValue,
3092
- ColorTokenData,
3093
- TypographyTokenData
3094
- ])
3095
- });
3096
- var ExporterPropertyValuesCollection = _zod.z.object({
3097
- id: _zod.z.string(),
3098
- designSystemId: _zod.z.string(),
3099
- exporterId: _zod.z.string(),
3100
- values: _zod.z.array(ExporterPropertyValue)
3101
- });
3102
-
3103
- // src/dsm/published-doc-page.ts
3104
-
3105
- var SHORT_PERSISTENT_ID_LENGTH = 8;
3106
- function tryParseShortPersistentId(url = "/") {
3107
- const lastUrlPart = url.split("/").pop() || "";
3108
- const shortPersistentId = _optionalChain([lastUrlPart, 'access', _2 => _2.split, 'call', _3 => _3("-"), 'access', _4 => _4.pop, 'call', _5 => _5(), 'optionalAccess', _6 => _6.replaceAll, 'call', _7 => _7(".html", "")]) || null;
3109
- return _optionalChain([shortPersistentId, 'optionalAccess', _8 => _8.length]) === SHORT_PERSISTENT_ID_LENGTH ? shortPersistentId : null;
3110
- }
3111
- var PublishedDocPage = _zod.z.object({
3112
- id: _zod.z.string(),
3113
- publishedDocId: _zod.z.string(),
3114
- pageShortPersistentId: _zod.z.string(),
3115
- pathV1: _zod.z.string(),
3116
- pathV2: _zod.z.string(),
3117
- storagePath: _zod.z.string(),
3118
- locale: _zod.z.string().optional(),
3119
- isPrivate: _zod.z.boolean(),
3120
- isHidden: _zod.z.boolean(),
3121
- createdAt: _zod.z.coerce.date(),
3122
- updatedAt: _zod.z.coerce.date()
3123
- });
3124
-
3125
- // src/dsm/published-doc.ts
3126
-
3127
- var publishedDocEnvironments = ["Live", "Preview"];
3128
- var PublishedDocEnvironment = _zod.z.enum(publishedDocEnvironments);
3129
- var PublishedDocsChecksums = _zod.z.record(_zod.z.string());
3130
- var PublishedDocRoutingVersion = _zod.z.enum(["1", "2"]);
3131
- var PublishedDoc = _zod.z.object({
3132
- id: _zod.z.string(),
3133
- designSystemVersionId: _zod.z.string(),
3134
- createdAt: _zod.z.coerce.date(),
3135
- updatedAt: _zod.z.coerce.date(),
3136
- lastPublishedAt: _zod.z.coerce.date(),
3137
- isDefault: _zod.z.boolean(),
3138
- isPublic: _zod.z.boolean(),
3139
- environment: PublishedDocEnvironment,
3140
- checksums: PublishedDocsChecksums,
3141
- storagePath: _zod.z.string(),
3142
- wasMigrated: _zod.z.boolean(),
3143
- routingVersion: PublishedDocRoutingVersion,
3144
- usesLocalizations: _zod.z.boolean(),
3145
- wasPublishedWithLocalizations: _zod.z.boolean(),
3146
- tokenCount: _zod.z.number(),
3147
- assetCount: _zod.z.number()
3148
- });
3149
-
3150
- // src/dsm/version.ts
3151
-
3152
- var DesignSystemVersion = _zod.z.object({
3153
- id: _zod.z.string(),
3154
- version: _zod.z.string(),
3155
- createdAt: _zod.z.date(),
3156
- designSystemId: _zod.z.string(),
3157
- name: _zod.z.string(),
3158
- comment: _zod.z.string(),
3159
- isReadonly: _zod.z.boolean(),
3160
- changeLog: _zod.z.string(),
3161
- parentId: _zod.z.string().optional(),
3162
- isDraftsFeatureAdopted: _zod.z.boolean()
3163
- });
3164
- var VersionCreationJobStatus = _zod.z.enum(["Success", "InProgress", "Error"]);
3165
- var VersionCreationJob = _zod.z.object({
3166
- id: _zod.z.string(),
3167
- version: _zod.z.string(),
3168
- designSystemId: _zod.z.string(),
3169
- designSystemVersionId: nullishToOptional(_zod.z.string()),
3170
- status: VersionCreationJobStatus,
3171
- errorMessage: nullishToOptional(_zod.z.string())
3172
- });
3173
-
3174
- // src/export/export-destinations.ts
3175
- var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
3176
- var BITBUCKET_MAX_LENGTH = 64;
3177
- var ExportJobDocumentationChanges = _zod.z.object({
3178
- pagePersistentIds: _zod.z.string().array(),
3179
- groupPersistentIds: _zod.z.string().array()
3180
- });
3181
- var ExporterDestinationDocs = _zod.z.object({
3182
- environment: PublishedDocEnvironment,
3183
- changes: nullishToOptional(ExportJobDocumentationChanges)
3184
- });
3185
- var ExporterDestinationS3 = _zod.z.object({});
3186
- var ExporterDestinationGithub = _zod.z.object({
3187
- credentialId: _zod.z.string().optional(),
3188
- // Repository
3189
- url: _zod.z.string(),
3190
- // Location
3191
- branch: _zod.z.string(),
3192
- relativePath: nullishToOptional(_zod.z.string()),
3193
- // Legacy deprecated fields. Use `credentialId` instead
3194
- connectionId: nullishToOptional(_zod.z.string()),
3195
- userId: nullishToOptional(_zod.z.number())
3196
- });
3197
- var ExporterDestinationAzure = _zod.z.object({
3198
- credentialId: _zod.z.string().optional(),
3199
- // Repository
3200
- organizationId: _zod.z.string(),
3201
- projectId: _zod.z.string(),
3202
- repositoryId: _zod.z.string(),
3203
- // Location
3204
- branch: _zod.z.string(),
3205
- relativePath: nullishToOptional(_zod.z.string()),
3206
- // Maybe not needed
3207
- url: nullishToOptional(_zod.z.string()),
3208
- // Legacy deprecated fields. Use `credentialId` instead
3209
- connectionId: nullishToOptional(_zod.z.string()),
3210
- userId: nullishToOptional(_zod.z.number())
3211
- });
3212
- var ExporterDestinationGitlab = _zod.z.object({
3213
- credentialId: _zod.z.string().optional(),
3214
- // Repository
3215
- projectId: _zod.z.string(),
3216
- // Location
3217
- branch: _zod.z.string(),
3218
- relativePath: nullishToOptional(_zod.z.string()),
3219
- // Maybe not needed
3220
- url: nullishToOptional(_zod.z.string()),
3221
- // Legacy deprecated fields. Use `credentialId` instead
3222
- connectionId: nullishToOptional(_zod.z.string()),
3223
- userId: nullishToOptional(_zod.z.number())
3224
- });
3225
- var ExporterDestinationBitbucket = _zod.z.object({
3226
- credentialId: _zod.z.string().optional(),
3227
- // Repository
3228
- workspaceSlug: _zod.z.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
3229
- projectKey: _zod.z.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
3230
- repoSlug: _zod.z.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
3231
- // Location
3232
- branch: _zod.z.string(),
3233
- relativePath: nullishToOptional(_zod.z.string()),
3234
- // Legacy deprecated fields. Use `credentialId` instead
3235
- connectionId: nullishToOptional(_zod.z.string()),
3236
- userId: nullishToOptional(_zod.z.number())
3237
- });
3238
- var ExportDestinationsMap = _zod.z.object({
3239
- webhookUrl: _zod.z.string().optional(),
3240
- destinationSnDocs: ExporterDestinationDocs.optional(),
3241
- destinationS3: ExporterDestinationS3.optional(),
3242
- destinationGithub: ExporterDestinationGithub.optional(),
3243
- destinationAzure: ExporterDestinationAzure.optional(),
3244
- destinationGitlab: ExporterDestinationGitlab.optional(),
3245
- destinationBitbucket: ExporterDestinationBitbucket.optional()
3246
- });
3247
-
3248
- // src/export/pipeline.ts
3249
- var PipelineEventType = _zod.z.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
3250
- var PipelineDestinationGitType = _zod.z.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
3251
- var PipelineDestinationExtraType = _zod.z.enum(["WebhookUrl", "S3", "Documentation"]);
3252
- var PipelineDestinationType = _zod.z.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
3253
- var Pipeline = _zod.z.object({
3254
- id: _zod.z.string(),
3255
- name: _zod.z.string(),
3256
- eventType: PipelineEventType,
3257
- isEnabled: _zod.z.boolean(),
3258
- workspaceId: _zod.z.string(),
3259
- designSystemId: _zod.z.string(),
3260
- exporterId: _zod.z.string(),
3261
- brandPersistentId: _zod.z.string().optional(),
3262
- themePersistentId: _zod.z.string().optional(),
3263
- // Destinations
3264
- ...ExportDestinationsMap.shape
3265
- });
3266
-
3267
- // src/data-dumps/code-integration-dump.ts
3268
- var ExportJobDump = _zod.z.object({
3269
- id: _zod.z.string(),
3270
- createdAt: _zod.z.coerce.date(),
3271
- finishedAt: _zod.z.coerce.date(),
3272
- exportArtefacts: _zod.z.string()
3273
- });
3274
- var CodeIntegrationDump = _zod.z.object({
3275
- exporters: Exporter.array(),
3276
- pipelines: Pipeline.array(),
3277
- exportJobs: ExportJobDump.array()
3278
- });
3279
-
3280
- // src/data-dumps/design-system-dump.ts
3281
-
3282
-
3283
- // src/data-dumps/design-system-version-dump.ts
3284
-
3285
-
3286
- // src/liveblocks/rooms/design-system-version-room.ts
3287
-
3288
- var DesignSystemVersionRoom = Entity.extend({
3289
- designSystemVersionId: _zod.z.string(),
3290
- liveblocksId: _zod.z.string()
3291
- });
3292
- var DesignSystemVersionRoomInternalSettings = _zod.z.object({
3293
- routingVersion: _zod.z.string(),
3294
- isDraftFeatureAdopted: _zod.z.boolean()
3295
- });
3296
- var DesignSystemVersionRoomInitialState = _zod.z.object({
3297
- pages: _zod.z.array(DocumentationPageV2),
3298
- groups: _zod.z.array(ElementGroup),
3299
- pageSnapshots: _zod.z.array(DocumentationPageSnapshot),
3300
- groupSnapshots: _zod.z.array(ElementGroupSnapshot),
3301
- internalSettings: DesignSystemVersionRoomInternalSettings
3302
- });
3303
- var DesignSystemVersionRoomUpdate = _zod.z.object({
3304
- pages: _zod.z.array(DocumentationPageV2),
3305
- groups: _zod.z.array(ElementGroup),
3306
- pageIdsToDelete: _zod.z.array(_zod.z.string()),
3307
- groupIdsToDelete: _zod.z.array(_zod.z.string()),
3308
- pageSnapshots: _zod.z.array(DocumentationPageSnapshot),
3309
- groupSnapshots: _zod.z.array(ElementGroupSnapshot),
3310
- pageSnapshotIdsToDelete: _zod.z.array(_zod.z.string()),
3311
- groupSnapshotIdsToDelete: _zod.z.array(_zod.z.string()),
3312
- pageHashesToUpdate: _zod.z.record(_zod.z.string(), _zod.z.string())
3313
- });
3314
-
3315
- // src/liveblocks/rooms/documentation-page-room.ts
3316
-
3317
- var DocumentationPageRoom = Entity.extend({
3318
- designSystemVersionId: _zod.z.string(),
3319
- documentationPageId: _zod.z.string(),
3320
- liveblocksId: _zod.z.string(),
3321
- isDirty: _zod.z.boolean()
3322
- });
3323
- var DocumentationPageRoomState = _zod.z.object({
3324
- pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
3325
- itemConfiguration: DocumentationItemConfigurationV2
3326
- });
3327
- var DocumentationPageRoomRoomUpdate = _zod.z.object({
3328
- page: DocumentationPageV2,
3329
- pageParent: ElementGroup
3330
- });
3331
- var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.extend({
3332
- pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
3333
- blockDefinitions: _zod.z.array(PageBlockDefinition)
3334
- });
3335
- var RestoredDocumentationPage = _zod.z.object({
3336
- page: DocumentationPageV2,
3337
- pageParent: ElementGroup,
3338
- pageContent: DocumentationPageContentData,
3339
- contentHash: _zod.z.string(),
3340
- roomId: _zod.z.string().optional()
3341
- });
3342
- var RestoredDocumentationGroup = _zod.z.object({
3343
- group: ElementGroup,
3344
- parent: ElementGroup
3345
- });
3346
-
3347
- // src/liveblocks/rooms/room-type.ts
3348
-
3349
- var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
3350
- RoomTypeEnum2["DocumentationPage"] = "documentation-page";
3351
- RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
3352
- RoomTypeEnum2["Workspace"] = "workspace";
3353
- return RoomTypeEnum2;
3354
- })(RoomTypeEnum || {});
3355
- var RoomTypeSchema = _zod.z.nativeEnum(RoomTypeEnum);
3356
- var RoomType = RoomTypeSchema.enum;
3357
-
3358
- // src/liveblocks/rooms/workspace-room.ts
3359
-
3360
- var WorkspaceRoom = Entity.extend({
3361
- workspaceId: _zod.z.string(),
3362
- liveblocksId: _zod.z.string()
3363
- });
3364
-
3365
- // src/data-dumps/published-docs-dump.ts
3366
-
3367
- var PublishedDocsDump = _zod.z.object({
3368
- documentation: PublishedDoc,
3369
- pages: PublishedDocPage.array()
3370
- });
3371
-
3372
- // src/data-dumps/design-system-version-dump.ts
3373
- var DocumentationThreadDump = _zod.z.object({
3374
- thread: DocumentationCommentThread,
3375
- comments: DocumentationComment.array()
3376
- });
3377
- var DocumentationPageRoomDump = _zod.z.object({
3378
- room: DocumentationPageRoom,
3379
- threads: DocumentationThreadDump.array()
3380
- });
3381
- var DesignSystemVersionMultiplayerDump = _zod.z.object({
3382
- documentationPages: DocumentationPageRoomDump.array()
3383
- });
3384
- var DesignSystemVersionDump = _zod.z.object({
3385
- version: DesignSystemVersion,
3386
- brands: Brand.array(),
3387
- elements: DesignElement.array(),
3388
- elementPropertyDefinitions: ElementPropertyDefinition.array(),
3389
- elementPropertyValues: ElementPropertyValue.array(),
3390
- elementViews: ElementView.array(),
3391
- elementColumns: ElementViewColumn.array(),
3392
- documentationPageContents: DocumentationPageContent.array(),
3393
- documentationPageRooms: DocumentationPageRoomDump.array(),
3394
- publishedDocumentations: PublishedDocsDump.array(),
3395
- assetReferences: AssetReference.array()
3396
- });
3397
-
3398
- // src/data-dumps/design-system-dump.ts
3399
- var DesignSystemDump = _zod.z.object({
3400
- designSystem: DesignSystem,
3401
- dataSources: DataSource.array(),
3402
- versions: DesignSystemVersionDump.array(),
3403
- customDomain: CustomDomain.optional(),
3404
- files: Asset.array()
3405
- });
3406
-
3407
- // src/data-dumps/user-data-dump.ts
3408
-
3409
-
3410
- // src/users/linked-integrations.ts
3411
-
3412
- var IntegrationAuthType = _zod.z.union([_zod.z.literal("OAuth2"), _zod.z.literal("PAT")]);
3413
- var ExternalServiceType = _zod.z.union([
3414
- _zod.z.literal("figma"),
3415
- _zod.z.literal("github"),
3416
- _zod.z.literal("azure"),
3417
- _zod.z.literal("gitlab"),
3418
- _zod.z.literal("bitbucket")
3419
- ]);
3420
- var IntegrationUserInfo = _zod.z.object({
3421
- id: _zod.z.string(),
3422
- handle: _zod.z.string().optional(),
3423
- avatarUrl: _zod.z.string().optional(),
3424
- email: _zod.z.string().optional(),
3425
- authType: IntegrationAuthType.optional(),
3426
- customUrl: _zod.z.string().optional()
3427
- });
3428
- var UserLinkedIntegrations = _zod.z.object({
3429
- figma: IntegrationUserInfo.optional(),
3430
- github: IntegrationUserInfo.array().optional(),
3431
- azure: IntegrationUserInfo.array().optional(),
3432
- gitlab: IntegrationUserInfo.array().optional(),
3433
- bitbucket: IntegrationUserInfo.array().optional()
3434
- });
3435
-
3436
- // src/users/user-analytics-cleanup-schedule.ts
3437
-
3438
- var UserAnalyticsCleanupSchedule = _zod.z.object({
3439
- userId: _zod.z.string(),
3440
- createdAt: _zod.z.coerce.date(),
3441
- deleteAt: _zod.z.coerce.date()
3442
- });
3443
- var UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
3444
- createdAt: true
3445
- });
3446
-
3447
- // src/users/user-create.ts
3448
-
3449
- var CreateUserInput = _zod.z.object({
3450
- email: _zod.z.string(),
3451
- name: _zod.z.string(),
3452
- username: _zod.z.string()
3453
- });
3454
-
3455
- // src/users/user-identity.ts
3456
-
3457
- var UserIdentity = _zod.z.object({
3458
- id: _zod.z.string(),
3459
- userId: _zod.z.string()
3460
- });
3461
-
3462
- // src/users/user-minified.ts
3463
-
3464
- var UserMinified = _zod.z.object({
3465
- id: _zod.z.string(),
3466
- name: _zod.z.string(),
3467
- email: _zod.z.string(),
3468
- avatar: _zod.z.string().optional()
3469
- });
3470
-
3471
- // src/users/user-notification-settings.ts
3472
-
3473
- var LiveblocksNotificationSettings = _zod.z.object({
3474
- sendCommentNotificationEmails: _zod.z.boolean()
3475
- });
3476
- var UserNotificationSettings = _zod.z.object({
3477
- liveblocksNotificationSettings: LiveblocksNotificationSettings
3478
- });
3479
- var defaultNotificationSettings = {
3480
- liveblocksNotificationSettings: {
3481
- sendCommentNotificationEmails: true
3482
- }
3483
- };
3484
-
3485
- // src/users/user-profile.ts
3486
-
3487
- var UserOnboardingDepartment = _zod.z.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
3488
- var UserOnboardingJobLevel = _zod.z.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
3489
- var UserOnboarding = _zod.z.object({
3490
- companyName: _zod.z.string().optional(),
3491
- numberOfPeopleInOrg: _zod.z.string().optional(),
3492
- numberOfPeopleInDesignTeam: _zod.z.string().optional(),
3493
- department: UserOnboardingDepartment.optional(),
3494
- jobTitle: _zod.z.string().optional(),
3495
- phase: _zod.z.string().optional(),
3496
- jobLevel: UserOnboardingJobLevel.optional(),
3497
- designSystemName: _zod.z.string().optional(),
3498
- defaultDestination: _zod.z.string().optional(),
3499
- figmaUrl: _zod.z.string().optional()
3500
- });
3501
- var UserProfile = _zod.z.object({
3502
- name: _zod.z.string(),
3503
- avatar: _zod.z.string().optional(),
3504
- nickname: _zod.z.string().optional(),
3505
- onboarding: UserOnboarding.optional()
3506
- });
3507
- var UserProfileUpdate = UserProfile.partial().omit({
3508
- avatar: true
3509
- });
3510
-
3511
- // src/users/user-test.ts
3512
-
3513
- var UserTest = _zod.z.object({
3514
- id: _zod.z.string(),
3515
- email: _zod.z.string()
3516
- });
3517
-
3518
- // src/users/user.ts
3519
-
3520
- var User = _zod.z.object({
3521
- id: _zod.z.string(),
3522
- email: _zod.z.string(),
3523
- emailVerified: _zod.z.boolean(),
3524
- createdAt: _zod.z.coerce.date(),
3525
- trialExpiresAt: _zod.z.coerce.date().optional(),
3526
- profile: UserProfile,
3527
- linkedIntegrations: UserLinkedIntegrations.optional(),
3528
- loggedOutAt: _zod.z.coerce.date().optional(),
3529
- isProtected: _zod.z.boolean()
3530
- });
3531
-
3532
- // src/data-dumps/workspace-dump.ts
3533
-
3534
-
3535
- // src/integrations/integration.ts
3536
-
3537
-
3538
- // src/utils/errors.ts
3539
- var SupernovaException = class _SupernovaException extends Error {
3540
- //
3541
- // Properties
3542
- //
3543
- constructor(type, message) {
3544
- super(`${type}: ${message}`);
3545
- this.type = type;
3546
- }
3547
- static wrongFormat(message) {
3548
- return new _SupernovaException("WrongFormat", message);
3549
- }
3550
- static validationError(message) {
3551
- return new _SupernovaException("ValidationError", message);
3552
- }
3553
- static accessDenied(message) {
3554
- return new _SupernovaException("AccessDenied", message);
3555
- }
3556
- static tooMuchWork(message) {
3557
- return new _SupernovaException("TooMuchWork", message);
3558
- }
3559
- static notFound(message) {
3560
- return new _SupernovaException("ResourceNotFound", message);
3561
- }
3562
- static timeout(message) {
3563
- return new _SupernovaException("Timeout", message);
3564
- }
3565
- static conflict(message) {
3566
- return new _SupernovaException("Conflict", message);
3567
- }
3568
- static notImplemented(message) {
3569
- return new _SupernovaException("NotImplemented", message);
3570
- }
3571
- static wrongActionOrder(message) {
3572
- return new _SupernovaException("WrongActionOrder", message);
3573
- }
3574
- static invalidOperation(message) {
3575
- return new _SupernovaException("InvalidOperation", message);
3576
- }
3577
- static shouldNotHappen(message) {
3578
- return new _SupernovaException("UnexpectedError", message);
3579
- }
3580
- static ipRestricted(message) {
3581
- return new _SupernovaException("IPRestricted", message);
3582
- }
3583
- static planRestricted(message) {
3584
- return new _SupernovaException("PlanRestricted", message);
3585
- }
3586
- static missingWorkspacePermission(message) {
3587
- return new _SupernovaException("MissingWorkspacePermission", message);
3588
- }
3589
- static missingExporterPermission(message) {
3590
- return new _SupernovaException("MissingExporterPermission", message);
3591
- }
3592
- static missingIntegration(message) {
3593
- return new _SupernovaException("MissingIntegration", message);
3594
- }
3595
- static missingIntegrationAccess(message) {
3596
- return new _SupernovaException("MissingIntegrationAccess", message);
3597
- }
3598
- static noAccess(message) {
3599
- return new _SupernovaException("NoAccess", message);
3600
- }
3601
- static missingCredentials(message) {
3602
- return new _SupernovaException("MissingCredentials", message);
3603
- }
3604
- static thirdPartyError(message) {
3605
- return new _SupernovaException("ThirdPartyError", message);
3606
- }
3607
- //
3608
- // To refactor
3609
- //
3610
- static badRequest(message) {
3611
- return new _SupernovaException("BadRequest", message);
3612
- }
3613
- };
3614
-
3615
- // src/utils/common.ts
3616
- function forceUnwrapNullish(value) {
3617
- if (value === null)
3618
- throw new Error("Illegal null");
3619
- if (value === void 0)
3620
- throw new Error("Illegal undefined");
3621
- return value;
3622
- }
3623
- function trimLeadingSlash(string) {
3624
- return string.startsWith("/") ? string.substring(1) : string;
3625
- }
3626
- function trimTrailingSlash(string) {
3627
- return string.endsWith("/") ? string.substring(0, string.length - 1) : string;
3628
- }
3629
- function tryParseUrl(url) {
3630
- try {
3631
- return parseUrl(url);
3632
- } catch (e) {
3633
- console.error(`Error parsing URL ${url}`);
3634
- console.error(e);
3635
- return null;
3636
- }
3637
- }
3638
- function parseUrl(url) {
3639
- return new URL(url.startsWith("https://") || url.startsWith("http://") ? url : `https://${url}`);
3640
- }
3641
- function mapByUnique(items, keyFn) {
3642
- const result = /* @__PURE__ */ new Map();
3643
- for (const item of items) {
3644
- result.set(keyFn(item), item);
3645
- }
3646
- return result;
3647
- }
3648
- function groupBy(items, keyFn) {
3649
- const result = /* @__PURE__ */ new Map();
3650
- for (const item of items) {
3651
- const key = keyFn(item);
3652
- const array = result.get(key);
3653
- if (array) {
3654
- array.push(item);
3655
- } else {
3656
- result.set(key, [item]);
3657
- }
3658
- }
3659
- return result;
3660
- }
3661
- function filterNonNullish(items) {
3662
- return items.filter(Boolean);
3663
- }
3664
- function nonNullishFilter(item) {
3665
- return !!item;
3666
- }
3667
- function nonNullFilter(item) {
3668
- return item !== null;
3669
- }
3670
- function buildConstantEnum(values) {
3671
- const constMap = values.reduce((acc, code) => ({ ...acc, [code]: code }), {});
3672
- return constMap;
3673
- }
3674
- async function promiseWithTimeout(timeoutMs, promise) {
3675
- let timeoutHandle;
3676
- const timeoutPromise = new Promise((_, reject) => {
3677
- timeoutHandle = setTimeout(() => reject(SupernovaException.timeout()), timeoutMs);
3678
- });
3679
- const result = await Promise.race([promise(), timeoutPromise]);
3680
- clearTimeout(timeoutHandle);
3681
- return result;
3682
- }
3683
- async function sleep(ms) {
3684
- return new Promise((resolve) => setTimeout(resolve, ms));
3685
- }
3686
- function uniqueBy(items, prop) {
3687
- return Array.from(mapByUnique(items, prop).values());
3688
- }
3689
-
3690
- // src/utils/content-loader-instruction.ts
3691
-
3692
- var ContentLoadInstruction = _zod.z.object({
3693
- from: _zod.z.string(),
3694
- to: _zod.z.string(),
3695
- authorizationHeaderKvsId: _zod.z.string().optional(),
3696
- timeout: _zod.z.number().optional()
3697
- });
3698
- var ContentLoaderPayload = _zod.z.object({
3699
- type: _zod.z.literal("Single"),
3700
- instruction: ContentLoadInstruction
3701
- }).or(
3702
- _zod.z.object({
3703
- type: _zod.z.literal("Multiple"),
3704
- loadingChunkSize: _zod.z.number().optional(),
3705
- instructions: _zod.z.array(ContentLoadInstruction)
3706
- })
3707
- ).or(
3708
- _zod.z.object({
3709
- type: _zod.z.literal("S3"),
3710
- location: _zod.z.string()
3711
- })
3712
- );
3043
+ var ContentLoaderPayload = _zod.z.object({
3044
+ type: _zod.z.literal("Single"),
3045
+ instruction: ContentLoadInstruction
3046
+ }).or(
3047
+ _zod.z.object({
3048
+ type: _zod.z.literal("Multiple"),
3049
+ loadingChunkSize: _zod.z.number().optional(),
3050
+ instructions: _zod.z.array(ContentLoadInstruction)
3051
+ })
3052
+ ).or(
3053
+ _zod.z.object({
3054
+ type: _zod.z.literal("S3"),
3055
+ location: _zod.z.string()
3056
+ })
3057
+ );
3713
3058
 
3714
3059
  // src/utils/naming.ts
3715
3060
  function getCodenameFromText(name) {
@@ -3775,7 +3120,7 @@ function removeDiacritics(str) {
3775
3120
  var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequireDefault(_slugify);
3776
3121
  function slugify(str, options) {
3777
3122
  const slug = _slugify2.default.call(void 0, _nullishCoalesce(str, () => ( "")), options);
3778
- return _optionalChain([slug, 'optionalAccess', _9 => _9.length]) > 0 ? slug : "item";
3123
+ return _optionalChain([slug, 'optionalAccess', _2 => _2.length]) > 0 ? slug : "item";
3779
3124
  }
3780
3125
  var RESERVED_SLUGS = [
3781
3126
  "workspaces",
@@ -4398,15 +3743,729 @@ var RESERVED_SLUGS = [
4398
3743
  ];
4399
3744
  var RESERVED_SLUGS_SET = new Set(RESERVED_SLUGS);
4400
3745
  var RESERVED_SLUG_PREFIX = "x-sn-reserved-";
4401
- var isSlugReservedInternal = (slug) => _optionalChain([slug, 'optionalAccess', _10 => _10.startsWith, 'call', _11 => _11(RESERVED_SLUG_PREFIX)]);
3746
+ var isSlugReservedInternal = (slug) => _optionalChain([slug, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4(RESERVED_SLUG_PREFIX)]);
4402
3747
  function isSlugReserved(slug) {
4403
3748
  return RESERVED_SLUGS_SET.has(slug) || isSlugReservedInternal(slug);
4404
3749
  }
4405
3750
 
4406
- // src/utils/validation.ts
4407
- var slugRegex = /^[a-z0-9][a-z0-9-]*[a-z0-9]$/;
3751
+ // src/utils/validation.ts
3752
+ var slugRegex = /^[a-z0-9][a-z0-9-]*[a-z0-9]$/;
3753
+
3754
+ // src/dsm/element-snapshots/base.ts
3755
+ var DesignElementSnapshotReason = _zod.z.enum(["Publish", "Deletion"]);
3756
+ var DesignElementSnapshotBase = _zod.z.object({
3757
+ id: _zod.z.string(),
3758
+ persistentId: _zod.z.string(),
3759
+ designSystemVersionId: _zod.z.string(),
3760
+ createdAt: _zod.z.coerce.date(),
3761
+ updatedAt: _zod.z.coerce.date(),
3762
+ reason: DesignElementSnapshotReason,
3763
+ createdByUserId: _zod.z.string()
3764
+ });
3765
+ function pickLatestSnapshots(snapshots, getSnapshotElementId) {
3766
+ const groupedSnapshots = groupBy(snapshots, getSnapshotElementId);
3767
+ return Array.from(groupedSnapshots.entries()).map(([_, snapshots2]) => {
3768
+ const sorted = snapshots2.sort((lhs, rhs) => rhs.createdAt.getTime() - lhs.createdAt.getTime());
3769
+ return sorted[0];
3770
+ });
3771
+ }
3772
+
3773
+ // src/dsm/element-snapshots/documentation-page-snapshot.ts
3774
+
3775
+ var DocumentationPageSnapshot = DesignElementSnapshotBase.extend({
3776
+ page: DocumentationPageV2,
3777
+ pageContentHash: _zod.z.string(),
3778
+ pageContentStorageKey: _zod.z.string()
3779
+ });
3780
+ function pickLatestPageSnapshots(snapshots) {
3781
+ return pickLatestSnapshots(snapshots, (s) => s.page.id);
3782
+ }
3783
+
3784
+ // src/dsm/element-snapshots/group-snapshot.ts
3785
+ var ElementGroupSnapshot = DesignElementSnapshotBase.extend({
3786
+ group: ElementGroup
3787
+ });
3788
+ function pickLatestGroupSnapshots(snapshots) {
3789
+ return pickLatestSnapshots(snapshots, (s) => s.group.id);
3790
+ }
3791
+
3792
+ // src/dsm/views/column.ts
3793
+
3794
+ var ElementViewBaseColumnType = _zod.z.enum(["Name", "Description", "Value", "UpdatedAt"]);
3795
+ var ElementViewColumnType = _zod.z.union([
3796
+ _zod.z.literal("BaseProperty"),
3797
+ _zod.z.literal("PropertyDefinition"),
3798
+ _zod.z.literal("Theme")
3799
+ ]);
3800
+ var ElementViewColumnSharedAttributes = _zod.z.object({
3801
+ id: _zod.z.string(),
3802
+ persistentId: _zod.z.string(),
3803
+ elementDataViewId: _zod.z.string(),
3804
+ sortPosition: _zod.z.number(),
3805
+ width: _zod.z.number()
3806
+ });
3807
+ var ElementViewBasePropertyColumn = ElementViewColumnSharedAttributes.extend({
3808
+ type: _zod.z.literal("BaseProperty"),
3809
+ basePropertyType: ElementViewBaseColumnType
3810
+ });
3811
+ var ElementViewPropertyDefinitionColumn = ElementViewColumnSharedAttributes.extend({
3812
+ type: _zod.z.literal("PropertyDefinition"),
3813
+ propertyDefinitionId: _zod.z.string()
3814
+ });
3815
+ var ElementViewThemeColumn = ElementViewColumnSharedAttributes.extend({
3816
+ type: _zod.z.literal("Theme"),
3817
+ themeId: _zod.z.string()
3818
+ });
3819
+ var ElementViewColumn = _zod.z.discriminatedUnion("type", [
3820
+ ElementViewBasePropertyColumn,
3821
+ ElementViewPropertyDefinitionColumn,
3822
+ ElementViewThemeColumn
3823
+ ]);
3824
+
3825
+ // src/dsm/views/view.ts
3826
+
3827
+ var ElementView = _zod.z.object({
3828
+ id: _zod.z.string(),
3829
+ persistentId: _zod.z.string(),
3830
+ designSystemVersionId: _zod.z.string(),
3831
+ name: _zod.z.string(),
3832
+ description: _zod.z.string(),
3833
+ targetElementType: ElementPropertyTargetType,
3834
+ isDefault: _zod.z.boolean()
3835
+ });
3836
+
3837
+ // src/dsm/brand.ts
3838
+
3839
+ var Brand = _zod.z.object({
3840
+ id: _zod.z.string(),
3841
+ designSystemVersionId: _zod.z.string(),
3842
+ persistentId: _zod.z.string(),
3843
+ name: _zod.z.string(),
3844
+ description: _zod.z.string()
3845
+ });
3846
+
3847
+ // src/dsm/design-system-update.ts
3848
+
3849
+
3850
+ // src/dsm/design-system.ts
3851
+
3852
+
3853
+ // src/workspace/workspace.ts
3854
+ var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
3855
+
3856
+
3857
+ // src/workspace/npm-registry-settings.ts
3858
+
3859
+ var NpmRegistryAuthType = _zod.z.enum(["Basic", "Bearer", "None", "Custom"]);
3860
+ var NpmRegistryType = _zod.z.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
3861
+ var NpmRegistryBasicAuthConfig = _zod.z.object({
3862
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.Basic),
3863
+ username: _zod.z.string(),
3864
+ password: _zod.z.string()
3865
+ });
3866
+ var NpmRegistryBearerAuthConfig = _zod.z.object({
3867
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.Bearer),
3868
+ accessToken: _zod.z.string()
3869
+ });
3870
+ var NpmRegistryNoAuthConfig = _zod.z.object({
3871
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.None)
3872
+ });
3873
+ var NpmRegistrCustomAuthConfig = _zod.z.object({
3874
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.Custom),
3875
+ authHeaderName: _zod.z.string(),
3876
+ authHeaderValue: _zod.z.string()
3877
+ });
3878
+ var NpmRegistryAuthConfig = _zod.z.discriminatedUnion("authType", [
3879
+ NpmRegistryBasicAuthConfig,
3880
+ NpmRegistryBearerAuthConfig,
3881
+ NpmRegistryNoAuthConfig,
3882
+ NpmRegistrCustomAuthConfig
3883
+ ]);
3884
+ var NpmRegistryConfigBase = _zod.z.object({
3885
+ registryType: NpmRegistryType,
3886
+ enabledScopes: _zod.z.array(_zod.z.string()),
3887
+ customRegistryUrl: _zod.z.string().optional(),
3888
+ bypassProxy: _zod.z.boolean().default(false),
3889
+ npmProxyRegistryConfigId: _zod.z.string().optional(),
3890
+ npmProxyVersion: _zod.z.number().optional()
3891
+ });
3892
+ var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
3893
+
3894
+ // src/workspace/sso-provider.ts
3895
+
3896
+ var SsoProvider = _zod.z.object({
3897
+ providerId: _zod.z.string(),
3898
+ defaultAutoInviteValue: _zod.z.boolean(),
3899
+ autoInviteDomains: _zod.z.record(_zod.z.string(), _zod.z.boolean()),
3900
+ skipDocsSupernovaLogin: _zod.z.boolean(),
3901
+ areInvitesDisabled: _zod.z.boolean(),
3902
+ isTestMode: _zod.z.boolean(),
3903
+ emailDomains: _zod.z.array(_zod.z.string()),
3904
+ metadataXml: _zod.z.string().nullish()
3905
+ });
3906
+
3907
+ // src/workspace/workspace.ts
3908
+ var isValidCIDR = (value) => {
3909
+ return _ipcidr2.default.isValidAddress(value);
3910
+ };
3911
+ var WorkspaceIpWhitelistEntry = _zod.z.object({
3912
+ isEnabled: _zod.z.boolean(),
3913
+ name: _zod.z.string(),
3914
+ range: _zod.z.string().refine(isValidCIDR, {
3915
+ message: "Invalid IP CIDR"
3916
+ })
3917
+ });
3918
+ var WorkspaceIpSettings = _zod.z.object({
3919
+ isEnabledForCloud: _zod.z.boolean(),
3920
+ isEnabledForDocs: _zod.z.boolean(),
3921
+ entries: _zod.z.array(WorkspaceIpWhitelistEntry)
3922
+ });
3923
+ var WorkspaceProfile = _zod.z.object({
3924
+ name: _zod.z.string(),
3925
+ handle: _zod.z.string(),
3926
+ color: _zod.z.string(),
3927
+ avatar: nullishToOptional(_zod.z.string()),
3928
+ billingDetails: nullishToOptional(BillingDetails)
3929
+ });
3930
+ var WorkspaceProfileUpdate = WorkspaceProfile.omit({
3931
+ avatar: true
3932
+ });
3933
+ var Workspace = _zod.z.object({
3934
+ id: _zod.z.string(),
3935
+ profile: WorkspaceProfile,
3936
+ subscription: Subscription,
3937
+ ipWhitelist: nullishToOptional(WorkspaceIpSettings),
3938
+ sso: nullishToOptional(SsoProvider),
3939
+ npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
3940
+ });
3941
+ var WorkspaceWithDesignSystems = _zod.z.object({
3942
+ workspace: Workspace,
3943
+ designSystems: _zod.z.array(DesignSystem)
3944
+ });
3945
+
3946
+ // src/dsm/design-system.ts
3947
+ var DesignSystemSwitcher = _zod.z.object({
3948
+ isEnabled: _zod.z.boolean(),
3949
+ designSystemIds: _zod.z.array(_zod.z.string())
3950
+ });
3951
+ var DesignSystem = _zod.z.object({
3952
+ id: _zod.z.string(),
3953
+ workspaceId: _zod.z.string(),
3954
+ name: _zod.z.string(),
3955
+ description: _zod.z.string(),
3956
+ docExporterId: nullishToOptional(_zod.z.string()),
3957
+ docSlug: _zod.z.string(),
3958
+ docUserSlug: nullishToOptional(_zod.z.string()),
3959
+ docSlugDeprecated: _zod.z.string(),
3960
+ isPublic: _zod.z.boolean(),
3961
+ isMultibrand: _zod.z.boolean(),
3962
+ docViewUrl: nullishToOptional(_zod.z.string()),
3963
+ basePrefixes: _zod.z.array(_zod.z.string()),
3964
+ designSystemSwitcher: nullishToOptional(DesignSystemSwitcher),
3965
+ createdAt: _zod.z.coerce.date(),
3966
+ updatedAt: _zod.z.coerce.date()
3967
+ });
3968
+ var DesignSystemWithWorkspace = _zod.z.object({
3969
+ designSystem: DesignSystem,
3970
+ workspace: Workspace
3971
+ });
3972
+
3973
+ // src/dsm/design-system-update.ts
3974
+ var DS_NAME_MIN_LENGTH = 2;
3975
+ var DS_NAME_MAX_LENGTH = 64;
3976
+ var DS_DESC_MAX_LENGTH = 64;
3977
+ var DesignSystemUpdateInputMetadata = _zod.z.object({
3978
+ name: _zod.z.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim().optional(),
3979
+ description: _zod.z.string().max(DS_DESC_MAX_LENGTH).trim().optional()
3980
+ });
3981
+ var DesignSystemUpdateInput = DesignSystem.partial().omit({
3982
+ id: true,
3983
+ createdAt: true,
3984
+ updatedAt: true,
3985
+ docSlug: true,
3986
+ docViewUrl: true,
3987
+ designSystemSwitcher: true
3988
+ }).extend({
3989
+ meta: DesignSystemUpdateInputMetadata.optional()
3990
+ });
3991
+
3992
+ // src/dsm/desing-system-create.ts
3993
+
3994
+ var DS_NAME_MIN_LENGTH2 = 2;
3995
+ var DS_NAME_MAX_LENGTH2 = 64;
3996
+ var DS_DESC_MAX_LENGTH2 = 64;
3997
+ var DesignSystemCreateInputMetadata = _zod.z.object({
3998
+ name: _zod.z.string().min(DS_NAME_MIN_LENGTH2).max(DS_NAME_MAX_LENGTH2).trim(),
3999
+ description: _zod.z.string().max(DS_DESC_MAX_LENGTH2).trim()
4000
+ });
4001
+ var DesignSystemCreateInput = _zod.z.object({
4002
+ meta: DesignSystemCreateInputMetadata,
4003
+ workspaceId: _zod.z.string(),
4004
+ isPublic: _zod.z.boolean().optional(),
4005
+ basePrefixes: _zod.z.array(_zod.z.string()).optional(),
4006
+ docUserSlug: _zod.z.string().nullish().optional(),
4007
+ source: _zod.z.array(_zod.z.string()).optional()
4008
+ });
4009
+
4010
+ // src/dsm/exporter-property-values-collection.ts
4011
+
4012
+ var ExporterPropertyImageValue = _zod.z.object({
4013
+ asset: PageBlockAsset.optional(),
4014
+ assetId: _zod.z.string().optional(),
4015
+ assetUrl: _zod.z.string().optional()
4016
+ });
4017
+ var ExporterPropertyValue = _zod.z.object({
4018
+ key: _zod.z.string(),
4019
+ value: _zod.z.union([
4020
+ _zod.z.number(),
4021
+ _zod.z.string(),
4022
+ _zod.z.boolean(),
4023
+ ExporterPropertyImageValue,
4024
+ ColorTokenData,
4025
+ TypographyTokenData
4026
+ ])
4027
+ });
4028
+ var ExporterPropertyValuesCollection = _zod.z.object({
4029
+ id: _zod.z.string(),
4030
+ designSystemId: _zod.z.string(),
4031
+ exporterId: _zod.z.string(),
4032
+ values: _zod.z.array(ExporterPropertyValue)
4033
+ });
4034
+
4035
+ // src/dsm/published-doc-page.ts
4036
+
4037
+ var SHORT_PERSISTENT_ID_LENGTH = 8;
4038
+ function tryParseShortPersistentId(url = "/") {
4039
+ const lastUrlPart = url.split("/").pop() || "";
4040
+ const shortPersistentId = _optionalChain([lastUrlPart, 'access', _5 => _5.split, 'call', _6 => _6("-"), 'access', _7 => _7.pop, 'call', _8 => _8(), 'optionalAccess', _9 => _9.replaceAll, 'call', _10 => _10(".html", "")]) || null;
4041
+ return _optionalChain([shortPersistentId, 'optionalAccess', _11 => _11.length]) === SHORT_PERSISTENT_ID_LENGTH ? shortPersistentId : null;
4042
+ }
4043
+ var PublishedDocPage = _zod.z.object({
4044
+ id: _zod.z.string(),
4045
+ publishedDocId: _zod.z.string(),
4046
+ pageShortPersistentId: _zod.z.string(),
4047
+ pathV1: _zod.z.string(),
4048
+ pathV2: _zod.z.string(),
4049
+ storagePath: _zod.z.string(),
4050
+ locale: _zod.z.string().optional(),
4051
+ isPrivate: _zod.z.boolean(),
4052
+ isHidden: _zod.z.boolean(),
4053
+ createdAt: _zod.z.coerce.date(),
4054
+ updatedAt: _zod.z.coerce.date()
4055
+ });
4056
+
4057
+ // src/dsm/published-doc.ts
4058
+
4059
+ var publishedDocEnvironments = ["Live", "Preview"];
4060
+ var PublishedDocEnvironment = _zod.z.enum(publishedDocEnvironments);
4061
+ var PublishedDocsChecksums = _zod.z.record(_zod.z.string());
4062
+ var PublishedDocRoutingVersion = _zod.z.enum(["1", "2"]);
4063
+ var PublishedDoc = _zod.z.object({
4064
+ id: _zod.z.string(),
4065
+ designSystemVersionId: _zod.z.string(),
4066
+ createdAt: _zod.z.coerce.date(),
4067
+ updatedAt: _zod.z.coerce.date(),
4068
+ lastPublishedAt: _zod.z.coerce.date(),
4069
+ isDefault: _zod.z.boolean(),
4070
+ isPublic: _zod.z.boolean(),
4071
+ environment: PublishedDocEnvironment,
4072
+ checksums: PublishedDocsChecksums,
4073
+ storagePath: _zod.z.string(),
4074
+ wasMigrated: _zod.z.boolean(),
4075
+ routingVersion: PublishedDocRoutingVersion,
4076
+ usesLocalizations: _zod.z.boolean(),
4077
+ wasPublishedWithLocalizations: _zod.z.boolean(),
4078
+ tokenCount: _zod.z.number(),
4079
+ assetCount: _zod.z.number()
4080
+ });
4081
+
4082
+ // src/dsm/version.ts
4083
+
4084
+ var DesignSystemVersion = _zod.z.object({
4085
+ id: _zod.z.string(),
4086
+ version: _zod.z.string(),
4087
+ createdAt: _zod.z.date(),
4088
+ designSystemId: _zod.z.string(),
4089
+ name: _zod.z.string(),
4090
+ comment: _zod.z.string(),
4091
+ isReadonly: _zod.z.boolean(),
4092
+ changeLog: _zod.z.string(),
4093
+ parentId: _zod.z.string().optional(),
4094
+ isDraftsFeatureAdopted: _zod.z.boolean()
4095
+ });
4096
+ var VersionCreationJobStatus = _zod.z.enum(["Success", "InProgress", "Error"]);
4097
+ var VersionCreationJob = _zod.z.object({
4098
+ id: _zod.z.string(),
4099
+ version: _zod.z.string(),
4100
+ designSystemId: _zod.z.string(),
4101
+ designSystemVersionId: nullishToOptional(_zod.z.string()),
4102
+ status: VersionCreationJobStatus,
4103
+ errorMessage: nullishToOptional(_zod.z.string())
4104
+ });
4105
+
4106
+ // src/export/export-destinations.ts
4107
+ var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
4108
+ var BITBUCKET_MAX_LENGTH = 64;
4109
+ var ExportJobDocumentationChanges = _zod.z.object({
4110
+ pagePersistentIds: _zod.z.string().array(),
4111
+ groupPersistentIds: _zod.z.string().array()
4112
+ });
4113
+ var ExporterDestinationDocs = _zod.z.object({
4114
+ environment: PublishedDocEnvironment,
4115
+ changes: nullishToOptional(ExportJobDocumentationChanges)
4116
+ });
4117
+ var ExporterDestinationS3 = _zod.z.object({});
4118
+ var ExporterDestinationGithub = _zod.z.object({
4119
+ credentialId: _zod.z.string().optional(),
4120
+ // Repository
4121
+ url: _zod.z.string(),
4122
+ // Location
4123
+ branch: _zod.z.string(),
4124
+ relativePath: nullishToOptional(_zod.z.string()),
4125
+ // Legacy deprecated fields. Use `credentialId` instead
4126
+ connectionId: nullishToOptional(_zod.z.string()),
4127
+ userId: nullishToOptional(_zod.z.number())
4128
+ });
4129
+ var ExporterDestinationAzure = _zod.z.object({
4130
+ credentialId: _zod.z.string().optional(),
4131
+ // Repository
4132
+ organizationId: _zod.z.string(),
4133
+ projectId: _zod.z.string(),
4134
+ repositoryId: _zod.z.string(),
4135
+ // Location
4136
+ branch: _zod.z.string(),
4137
+ relativePath: nullishToOptional(_zod.z.string()),
4138
+ // Maybe not needed
4139
+ url: nullishToOptional(_zod.z.string()),
4140
+ // Legacy deprecated fields. Use `credentialId` instead
4141
+ connectionId: nullishToOptional(_zod.z.string()),
4142
+ userId: nullishToOptional(_zod.z.number())
4143
+ });
4144
+ var ExporterDestinationGitlab = _zod.z.object({
4145
+ credentialId: _zod.z.string().optional(),
4146
+ // Repository
4147
+ projectId: _zod.z.string(),
4148
+ // Location
4149
+ branch: _zod.z.string(),
4150
+ relativePath: nullishToOptional(_zod.z.string()),
4151
+ // Maybe not needed
4152
+ url: nullishToOptional(_zod.z.string()),
4153
+ // Legacy deprecated fields. Use `credentialId` instead
4154
+ connectionId: nullishToOptional(_zod.z.string()),
4155
+ userId: nullishToOptional(_zod.z.number())
4156
+ });
4157
+ var ExporterDestinationBitbucket = _zod.z.object({
4158
+ credentialId: _zod.z.string().optional(),
4159
+ // Repository
4160
+ workspaceSlug: _zod.z.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4161
+ projectKey: _zod.z.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4162
+ repoSlug: _zod.z.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4163
+ // Location
4164
+ branch: _zod.z.string(),
4165
+ relativePath: nullishToOptional(_zod.z.string()),
4166
+ // Legacy deprecated fields. Use `credentialId` instead
4167
+ connectionId: nullishToOptional(_zod.z.string()),
4168
+ userId: nullishToOptional(_zod.z.number())
4169
+ });
4170
+ var ExportDestinationsMap = _zod.z.object({
4171
+ webhookUrl: _zod.z.string().optional(),
4172
+ destinationSnDocs: ExporterDestinationDocs.optional(),
4173
+ destinationS3: ExporterDestinationS3.optional(),
4174
+ destinationGithub: ExporterDestinationGithub.optional(),
4175
+ destinationAzure: ExporterDestinationAzure.optional(),
4176
+ destinationGitlab: ExporterDestinationGitlab.optional(),
4177
+ destinationBitbucket: ExporterDestinationBitbucket.optional()
4178
+ });
4179
+
4180
+ // src/export/pipeline.ts
4181
+ var PipelineEventType = _zod.z.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
4182
+ var PipelineDestinationGitType = _zod.z.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
4183
+ var PipelineDestinationExtraType = _zod.z.enum(["WebhookUrl", "S3", "Documentation"]);
4184
+ var PipelineDestinationType = _zod.z.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
4185
+ var Pipeline = _zod.z.object({
4186
+ id: _zod.z.string(),
4187
+ name: _zod.z.string(),
4188
+ eventType: PipelineEventType,
4189
+ isEnabled: _zod.z.boolean(),
4190
+ workspaceId: _zod.z.string(),
4191
+ designSystemId: _zod.z.string(),
4192
+ exporterId: _zod.z.string(),
4193
+ brandPersistentId: _zod.z.string().optional(),
4194
+ themePersistentId: _zod.z.string().optional(),
4195
+ // Destinations
4196
+ ...ExportDestinationsMap.shape
4197
+ });
4198
+
4199
+ // src/data-dumps/code-integration-dump.ts
4200
+ var ExportJobDump = _zod.z.object({
4201
+ id: _zod.z.string(),
4202
+ createdAt: _zod.z.coerce.date(),
4203
+ finishedAt: _zod.z.coerce.date(),
4204
+ exportArtefacts: _zod.z.string()
4205
+ });
4206
+ var CodeIntegrationDump = _zod.z.object({
4207
+ exporters: Exporter.array(),
4208
+ pipelines: Pipeline.array(),
4209
+ exportJobs: ExportJobDump.array()
4210
+ });
4211
+
4212
+ // src/data-dumps/design-system-dump.ts
4213
+
4214
+
4215
+ // src/data-dumps/design-system-version-dump.ts
4216
+
4217
+
4218
+ // src/liveblocks/rooms/design-system-version-room.ts
4219
+
4220
+ var DesignSystemVersionRoom = Entity.extend({
4221
+ designSystemVersionId: _zod.z.string(),
4222
+ liveblocksId: _zod.z.string()
4223
+ });
4224
+ var DesignSystemVersionRoomInternalSettings = _zod.z.object({
4225
+ routingVersion: _zod.z.string(),
4226
+ isDraftFeatureAdopted: _zod.z.boolean()
4227
+ });
4228
+ var DesignSystemVersionRoomInitialState = _zod.z.object({
4229
+ pages: _zod.z.array(DocumentationPageV2),
4230
+ groups: _zod.z.array(ElementGroup),
4231
+ pageSnapshots: _zod.z.array(DocumentationPageSnapshot),
4232
+ groupSnapshots: _zod.z.array(ElementGroupSnapshot),
4233
+ internalSettings: DesignSystemVersionRoomInternalSettings
4234
+ });
4235
+ var DesignSystemVersionRoomUpdate = _zod.z.object({
4236
+ pages: _zod.z.array(DocumentationPageV2),
4237
+ groups: _zod.z.array(ElementGroup),
4238
+ pageIdsToDelete: _zod.z.array(_zod.z.string()),
4239
+ groupIdsToDelete: _zod.z.array(_zod.z.string()),
4240
+ pageSnapshots: _zod.z.array(DocumentationPageSnapshot),
4241
+ groupSnapshots: _zod.z.array(ElementGroupSnapshot),
4242
+ pageSnapshotIdsToDelete: _zod.z.array(_zod.z.string()),
4243
+ groupSnapshotIdsToDelete: _zod.z.array(_zod.z.string()),
4244
+ pageHashesToUpdate: _zod.z.record(_zod.z.string(), _zod.z.string())
4245
+ });
4246
+
4247
+ // src/liveblocks/rooms/documentation-page-room.ts
4248
+
4249
+ var DocumentationPageRoom = Entity.extend({
4250
+ designSystemVersionId: _zod.z.string(),
4251
+ documentationPageId: _zod.z.string(),
4252
+ liveblocksId: _zod.z.string(),
4253
+ isDirty: _zod.z.boolean()
4254
+ });
4255
+ var DocumentationPageRoomState = _zod.z.object({
4256
+ pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
4257
+ itemConfiguration: DocumentationItemConfigurationV2
4258
+ });
4259
+ var DocumentationPageRoomRoomUpdate = _zod.z.object({
4260
+ page: DocumentationPageV2,
4261
+ pageParent: ElementGroup
4262
+ });
4263
+ var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.extend({
4264
+ pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
4265
+ blockDefinitions: _zod.z.array(PageBlockDefinition)
4266
+ });
4267
+ var RestoredDocumentationPage = _zod.z.object({
4268
+ page: DocumentationPageV2,
4269
+ pageParent: ElementGroup,
4270
+ pageContent: DocumentationPageContentData,
4271
+ contentHash: _zod.z.string(),
4272
+ roomId: _zod.z.string().optional()
4273
+ });
4274
+ var RestoredDocumentationGroup = _zod.z.object({
4275
+ group: ElementGroup,
4276
+ parent: ElementGroup
4277
+ });
4278
+
4279
+ // src/liveblocks/rooms/room-type.ts
4280
+
4281
+ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
4282
+ RoomTypeEnum2["DocumentationPage"] = "documentation-page";
4283
+ RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
4284
+ RoomTypeEnum2["Workspace"] = "workspace";
4285
+ return RoomTypeEnum2;
4286
+ })(RoomTypeEnum || {});
4287
+ var RoomTypeSchema = _zod.z.nativeEnum(RoomTypeEnum);
4288
+ var RoomType = RoomTypeSchema.enum;
4289
+
4290
+ // src/liveblocks/rooms/workspace-room.ts
4291
+
4292
+ var WorkspaceRoom = Entity.extend({
4293
+ workspaceId: _zod.z.string(),
4294
+ liveblocksId: _zod.z.string()
4295
+ });
4296
+
4297
+ // src/data-dumps/published-docs-dump.ts
4298
+
4299
+ var PublishedDocsDump = _zod.z.object({
4300
+ documentation: PublishedDoc,
4301
+ pages: PublishedDocPage.array()
4302
+ });
4303
+
4304
+ // src/data-dumps/design-system-version-dump.ts
4305
+ var DocumentationThreadDump = _zod.z.object({
4306
+ thread: DocumentationCommentThread,
4307
+ comments: DocumentationComment.array()
4308
+ });
4309
+ var DocumentationPageRoomDump = _zod.z.object({
4310
+ room: DocumentationPageRoom,
4311
+ threads: DocumentationThreadDump.array()
4312
+ });
4313
+ var DesignSystemVersionMultiplayerDump = _zod.z.object({
4314
+ documentationPages: DocumentationPageRoomDump.array()
4315
+ });
4316
+ var DesignSystemVersionDump = _zod.z.object({
4317
+ version: DesignSystemVersion,
4318
+ brands: Brand.array(),
4319
+ elements: DesignElement.array(),
4320
+ elementPropertyDefinitions: ElementPropertyDefinition.array(),
4321
+ elementPropertyValues: ElementPropertyValue.array(),
4322
+ elementViews: ElementView.array(),
4323
+ elementColumns: ElementViewColumn.array(),
4324
+ documentationPageContents: DocumentationPageContent.array(),
4325
+ documentationPageRooms: DocumentationPageRoomDump.array(),
4326
+ publishedDocumentations: PublishedDocsDump.array(),
4327
+ assetReferences: AssetReference.array()
4328
+ });
4329
+
4330
+ // src/data-dumps/design-system-dump.ts
4331
+ var DesignSystemDump = _zod.z.object({
4332
+ designSystem: DesignSystem,
4333
+ dataSources: DataSource.array(),
4334
+ versions: DesignSystemVersionDump.array(),
4335
+ customDomain: CustomDomain.optional(),
4336
+ files: Asset.array()
4337
+ });
4338
+
4339
+ // src/data-dumps/user-data-dump.ts
4340
+
4341
+
4342
+ // src/users/linked-integrations.ts
4343
+
4344
+ var IntegrationAuthType = _zod.z.union([_zod.z.literal("OAuth2"), _zod.z.literal("PAT")]);
4345
+ var ExternalServiceType = _zod.z.union([
4346
+ _zod.z.literal("figma"),
4347
+ _zod.z.literal("github"),
4348
+ _zod.z.literal("azure"),
4349
+ _zod.z.literal("gitlab"),
4350
+ _zod.z.literal("bitbucket")
4351
+ ]);
4352
+ var IntegrationUserInfo = _zod.z.object({
4353
+ id: _zod.z.string(),
4354
+ handle: _zod.z.string().optional(),
4355
+ avatarUrl: _zod.z.string().optional(),
4356
+ email: _zod.z.string().optional(),
4357
+ authType: IntegrationAuthType.optional(),
4358
+ customUrl: _zod.z.string().optional()
4359
+ });
4360
+ var UserLinkedIntegrations = _zod.z.object({
4361
+ figma: IntegrationUserInfo.optional(),
4362
+ github: IntegrationUserInfo.array().optional(),
4363
+ azure: IntegrationUserInfo.array().optional(),
4364
+ gitlab: IntegrationUserInfo.array().optional(),
4365
+ bitbucket: IntegrationUserInfo.array().optional()
4366
+ });
4367
+
4368
+ // src/users/user-analytics-cleanup-schedule.ts
4369
+
4370
+ var UserAnalyticsCleanupSchedule = _zod.z.object({
4371
+ userId: _zod.z.string(),
4372
+ createdAt: _zod.z.coerce.date(),
4373
+ deleteAt: _zod.z.coerce.date()
4374
+ });
4375
+ var UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
4376
+ createdAt: true
4377
+ });
4378
+
4379
+ // src/users/user-create.ts
4380
+
4381
+ var CreateUserInput = _zod.z.object({
4382
+ email: _zod.z.string(),
4383
+ name: _zod.z.string(),
4384
+ username: _zod.z.string()
4385
+ });
4386
+
4387
+ // src/users/user-identity.ts
4388
+
4389
+ var UserIdentity = _zod.z.object({
4390
+ id: _zod.z.string(),
4391
+ userId: _zod.z.string()
4392
+ });
4393
+
4394
+ // src/users/user-minified.ts
4395
+
4396
+ var UserMinified = _zod.z.object({
4397
+ id: _zod.z.string(),
4398
+ name: _zod.z.string(),
4399
+ email: _zod.z.string(),
4400
+ avatar: _zod.z.string().optional()
4401
+ });
4402
+
4403
+ // src/users/user-notification-settings.ts
4404
+
4405
+ var LiveblocksNotificationSettings = _zod.z.object({
4406
+ sendCommentNotificationEmails: _zod.z.boolean()
4407
+ });
4408
+ var UserNotificationSettings = _zod.z.object({
4409
+ liveblocksNotificationSettings: LiveblocksNotificationSettings
4410
+ });
4411
+ var defaultNotificationSettings = {
4412
+ liveblocksNotificationSettings: {
4413
+ sendCommentNotificationEmails: true
4414
+ }
4415
+ };
4416
+
4417
+ // src/users/user-profile.ts
4418
+
4419
+ var UserOnboardingDepartment = _zod.z.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
4420
+ var UserOnboardingJobLevel = _zod.z.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
4421
+ var UserOnboarding = _zod.z.object({
4422
+ companyName: _zod.z.string().optional(),
4423
+ numberOfPeopleInOrg: _zod.z.string().optional(),
4424
+ numberOfPeopleInDesignTeam: _zod.z.string().optional(),
4425
+ department: UserOnboardingDepartment.optional(),
4426
+ jobTitle: _zod.z.string().optional(),
4427
+ phase: _zod.z.string().optional(),
4428
+ jobLevel: UserOnboardingJobLevel.optional(),
4429
+ designSystemName: _zod.z.string().optional(),
4430
+ defaultDestination: _zod.z.string().optional(),
4431
+ figmaUrl: _zod.z.string().optional()
4432
+ });
4433
+ var UserProfile = _zod.z.object({
4434
+ name: _zod.z.string(),
4435
+ avatar: _zod.z.string().optional(),
4436
+ nickname: _zod.z.string().optional(),
4437
+ onboarding: UserOnboarding.optional()
4438
+ });
4439
+ var UserProfileUpdate = UserProfile.partial().omit({
4440
+ avatar: true
4441
+ });
4442
+
4443
+ // src/users/user-test.ts
4444
+
4445
+ var UserTest = _zod.z.object({
4446
+ id: _zod.z.string(),
4447
+ email: _zod.z.string()
4448
+ });
4449
+
4450
+ // src/users/user.ts
4451
+
4452
+ var User = _zod.z.object({
4453
+ id: _zod.z.string(),
4454
+ email: _zod.z.string(),
4455
+ emailVerified: _zod.z.boolean(),
4456
+ createdAt: _zod.z.coerce.date(),
4457
+ trialExpiresAt: _zod.z.coerce.date().optional(),
4458
+ profile: UserProfile,
4459
+ linkedIntegrations: UserLinkedIntegrations.optional(),
4460
+ loggedOutAt: _zod.z.coerce.date().optional(),
4461
+ isProtected: _zod.z.boolean()
4462
+ });
4463
+
4464
+ // src/data-dumps/workspace-dump.ts
4465
+
4408
4466
 
4409
4467
  // src/integrations/integration.ts
4468
+
4410
4469
  var IntegrationDesignSystem = _zod.z.object({
4411
4470
  designSystemId: _zod.z.string(),
4412
4471
  brandId: _zod.z.string(),
@@ -5528,5 +5587,9 @@ var PersonalAccessToken = _zod.z.object({
5528
5587
 
5529
5588
 
5530
5589
 
5531
- exports.Address = Address; exports.Asset = Asset; exports.AssetDeleteSchedule = AssetDeleteSchedule; exports.AssetDynamoRecord = AssetDynamoRecord; exports.AssetFontProperties = AssetFontProperties; exports.AssetImportModelInput = AssetImportModelInput; exports.AssetOrigin = AssetOrigin; exports.AssetProcessStatus = AssetProcessStatus; exports.AssetProperties = AssetProperties; exports.AssetReference = AssetReference; exports.AssetRenderConfiguration = AssetRenderConfiguration; exports.AssetScope = AssetScope; exports.AssetType = AssetType; exports.AssetValue = AssetValue; exports.AuthTokens = AuthTokens; exports.BillingDetails = BillingDetails; exports.BillingIntervalSchema = BillingIntervalSchema; exports.BillingType = BillingType; exports.BillingTypeSchema = BillingTypeSchema; exports.BlurTokenData = BlurTokenData; exports.BlurType = BlurType; exports.BlurValue = BlurValue; exports.BorderPosition = BorderPosition; exports.BorderRadiusTokenData = BorderRadiusTokenData; exports.BorderRadiusUnit = BorderRadiusUnit; exports.BorderRadiusValue = BorderRadiusValue; exports.BorderStyle = BorderStyle; exports.BorderTokenData = BorderTokenData; exports.BorderValue = BorderValue; exports.BorderWidthTokenData = BorderWidthTokenData; exports.BorderWidthUnit = BorderWidthUnit; exports.BorderWidthValue = BorderWidthValue; exports.Brand = Brand; exports.BrandedElementGroup = BrandedElementGroup; exports.CardSchema = CardSchema; exports.ChangedImportedFigmaSourceData = ChangedImportedFigmaSourceData; exports.CodeIntegrationDump = CodeIntegrationDump; exports.ColorTokenData = ColorTokenData; exports.ColorTokenInlineData = ColorTokenInlineData; exports.ColorValue = ColorValue; exports.Component = Component; exports.ComponentElementData = ComponentElementData; exports.ComponentImportModel = ComponentImportModel; exports.ComponentImportModelInput = ComponentImportModelInput; exports.ComponentOrigin = ComponentOrigin; exports.ComponentOriginPart = ComponentOriginPart; exports.ContentLoadInstruction = ContentLoadInstruction; exports.ContentLoaderPayload = ContentLoaderPayload; exports.CreateDesignToken = CreateDesignToken; exports.CreateUserInput = CreateUserInput; exports.CreateWorkspaceInput = CreateWorkspaceInput; exports.CustomDomain = CustomDomain; exports.Customer = Customer; exports.DataSource = DataSource; exports.DataSourceAutoImportMode = DataSourceAutoImportMode; exports.DataSourceFigmaFileData = DataSourceFigmaFileData; exports.DataSourceFigmaFileVersionData = DataSourceFigmaFileVersionData; exports.DataSourceFigmaImportMetadata = DataSourceFigmaImportMetadata; exports.DataSourceFigmaRemote = DataSourceFigmaRemote; exports.DataSourceFigmaScope = DataSourceFigmaScope; exports.DataSourceFigmaState = DataSourceFigmaState; exports.DataSourceImportModel = DataSourceImportModel; exports.DataSourceRemote = DataSourceRemote; exports.DataSourceRemoteType = DataSourceRemoteType; exports.DataSourceStats = DataSourceStats; exports.DataSourceTokenStudioRemote = DataSourceTokenStudioRemote; exports.DataSourceUploadImportMetadata = DataSourceUploadImportMetadata; exports.DataSourceUploadRemote = DataSourceUploadRemote; exports.DataSourceUploadRemoteSource = DataSourceUploadRemoteSource; exports.DataSourceVersion = DataSourceVersion; exports.DesignElement = DesignElement; exports.DesignElementBase = DesignElementBase; exports.DesignElementBrandedPart = DesignElementBrandedPart; exports.DesignElementCategory = DesignElementCategory; exports.DesignElementGroupableBase = DesignElementGroupableBase; exports.DesignElementGroupablePart = DesignElementGroupablePart; exports.DesignElementGroupableRequiredPart = DesignElementGroupableRequiredPart; exports.DesignElementImportedBase = DesignElementImportedBase; exports.DesignElementOrigin = DesignElementOrigin; exports.DesignElementSlugPart = DesignElementSlugPart; exports.DesignElementSnapshotBase = DesignElementSnapshotBase; exports.DesignElementSnapshotReason = DesignElementSnapshotReason; exports.DesignElementType = DesignElementType; exports.DesignSystem = DesignSystem; exports.DesignSystemCreateInput = DesignSystemCreateInput; exports.DesignSystemDump = DesignSystemDump; exports.DesignSystemElementExportProps = DesignSystemElementExportProps; exports.DesignSystemSwitcher = DesignSystemSwitcher; exports.DesignSystemUpdateInput = DesignSystemUpdateInput; exports.DesignSystemVersion = DesignSystemVersion; exports.DesignSystemVersionDump = DesignSystemVersionDump; exports.DesignSystemVersionMultiplayerDump = DesignSystemVersionMultiplayerDump; exports.DesignSystemVersionRoom = DesignSystemVersionRoom; exports.DesignSystemVersionRoomInitialState = DesignSystemVersionRoomInitialState; exports.DesignSystemVersionRoomInternalSettings = DesignSystemVersionRoomInternalSettings; exports.DesignSystemVersionRoomUpdate = DesignSystemVersionRoomUpdate; exports.DesignSystemWithWorkspace = DesignSystemWithWorkspace; exports.DesignToken = DesignToken; exports.DesignTokenImportModel = DesignTokenImportModel; exports.DesignTokenImportModelBase = DesignTokenImportModelBase; exports.DesignTokenImportModelInput = DesignTokenImportModelInput; exports.DesignTokenImportModelInputBase = DesignTokenImportModelInputBase; exports.DesignTokenOrigin = DesignTokenOrigin; exports.DesignTokenOriginPart = DesignTokenOriginPart; exports.DesignTokenType = DesignTokenType; exports.DesignTokenTypedData = DesignTokenTypedData; exports.DimensionTokenData = DimensionTokenData; exports.DimensionUnit = DimensionUnit; exports.DimensionValue = DimensionValue; exports.DocumentationComment = DocumentationComment; exports.DocumentationCommentThread = DocumentationCommentThread; exports.DocumentationGroupBehavior = DocumentationGroupBehavior; exports.DocumentationGroupV1 = DocumentationGroupV1; exports.DocumentationItemConfigurationV1 = DocumentationItemConfigurationV1; exports.DocumentationItemConfigurationV2 = DocumentationItemConfigurationV2; exports.DocumentationItemHeaderAlignment = DocumentationItemHeaderAlignment; exports.DocumentationItemHeaderAlignmentSchema = DocumentationItemHeaderAlignmentSchema; exports.DocumentationItemHeaderImageScaleType = DocumentationItemHeaderImageScaleType; exports.DocumentationItemHeaderImageScaleTypeSchema = DocumentationItemHeaderImageScaleTypeSchema; exports.DocumentationItemHeaderV1 = DocumentationItemHeaderV1; exports.DocumentationItemHeaderV2 = DocumentationItemHeaderV2; exports.DocumentationLinkPreview = DocumentationLinkPreview; exports.DocumentationPage = DocumentationPage; exports.DocumentationPageAnchor = DocumentationPageAnchor; exports.DocumentationPageContent = DocumentationPageContent; exports.DocumentationPageContentBackup = DocumentationPageContentBackup; exports.DocumentationPageContentData = DocumentationPageContentData; exports.DocumentationPageContentItem = DocumentationPageContentItem; exports.DocumentationPageDataV1 = DocumentationPageDataV1; exports.DocumentationPageDataV2 = DocumentationPageDataV2; exports.DocumentationPageGroup = DocumentationPageGroup; exports.DocumentationPageRoom = DocumentationPageRoom; exports.DocumentationPageRoomDump = DocumentationPageRoomDump; exports.DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomInitialStateUpdate; exports.DocumentationPageRoomRoomUpdate = DocumentationPageRoomRoomUpdate; exports.DocumentationPageRoomState = DocumentationPageRoomState; exports.DocumentationPageSnapshot = DocumentationPageSnapshot; exports.DocumentationPageV1 = DocumentationPageV1; exports.DocumentationPageV2 = DocumentationPageV2; exports.DocumentationThreadDump = DocumentationThreadDump; exports.DurationTokenData = DurationTokenData; exports.DurationUnit = DurationUnit; exports.DurationValue = DurationValue; exports.ElementGroup = ElementGroup; exports.ElementGroupDataV1 = ElementGroupDataV1; exports.ElementGroupDataV2 = ElementGroupDataV2; exports.ElementGroupSnapshot = ElementGroupSnapshot; exports.ElementPropertyDefinition = ElementPropertyDefinition; exports.ElementPropertyDefinitionOption = ElementPropertyDefinitionOption; exports.ElementPropertyLinkType = ElementPropertyLinkType; exports.ElementPropertyTargetType = ElementPropertyTargetType; exports.ElementPropertyType = ElementPropertyType; exports.ElementPropertyTypeSchema = ElementPropertyTypeSchema; exports.ElementPropertyValue = ElementPropertyValue; exports.ElementView = ElementView; exports.ElementViewBaseColumnType = ElementViewBaseColumnType; exports.ElementViewBasePropertyColumn = ElementViewBasePropertyColumn; exports.ElementViewColumn = ElementViewColumn; exports.ElementViewColumnSharedAttributes = ElementViewColumnSharedAttributes; exports.ElementViewColumnType = ElementViewColumnType; exports.ElementViewPropertyDefinitionColumn = ElementViewPropertyDefinitionColumn; exports.ElementViewThemeColumn = ElementViewThemeColumn; exports.Entity = Entity; exports.ExportDestinationsMap = ExportDestinationsMap; exports.ExportJob = ExportJob; exports.ExportJobContext = ExportJobContext; exports.ExportJobDestinationType = ExportJobDestinationType; exports.ExportJobDocsDestinationResult = ExportJobDocsDestinationResult; exports.ExportJobDocumentationChanges = ExportJobDocumentationChanges; exports.ExportJobDocumentationContext = ExportJobDocumentationContext; exports.ExportJobDump = ExportJobDump; exports.ExportJobFindByFilter = ExportJobFindByFilter; exports.ExportJobLogEntry = ExportJobLogEntry; exports.ExportJobLogEntryType = ExportJobLogEntryType; exports.ExportJobPullRequestDestinationResult = ExportJobPullRequestDestinationResult; exports.ExportJobResult = ExportJobResult; exports.ExportJobS3DestinationResult = ExportJobS3DestinationResult; exports.ExportJobStatus = ExportJobStatus; exports.Exporter = Exporter; exports.ExporterDestinationAzure = ExporterDestinationAzure; exports.ExporterDestinationBitbucket = ExporterDestinationBitbucket; exports.ExporterDestinationDocs = ExporterDestinationDocs; exports.ExporterDestinationGithub = ExporterDestinationGithub; exports.ExporterDestinationGitlab = ExporterDestinationGitlab; exports.ExporterDestinationS3 = ExporterDestinationS3; exports.ExporterDetails = ExporterDetails; exports.ExporterFunctionPayload = ExporterFunctionPayload; exports.ExporterPropertyImageValue = ExporterPropertyImageValue; exports.ExporterPropertyValue = ExporterPropertyValue; exports.ExporterPropertyValuesCollection = ExporterPropertyValuesCollection; exports.ExporterPulsarDetails = ExporterPulsarDetails; exports.ExporterSource = ExporterSource; exports.ExporterTag = ExporterTag; exports.ExporterType = ExporterType; exports.ExporterWorkspaceMembership = ExporterWorkspaceMembership; exports.ExporterWorkspaceMembershipRole = ExporterWorkspaceMembershipRole; exports.ExtendedIntegrationType = ExtendedIntegrationType; exports.ExternalOAuthRequest = ExternalOAuthRequest; exports.ExternalServiceType = ExternalServiceType; exports.FeatureFlag = FeatureFlag; exports.FeatureFlagMap = FeatureFlagMap; exports.FeaturesSummary = FeaturesSummary; exports.FigmaFileAccessData = FigmaFileAccessData; exports.FigmaFileDownloadScope = FigmaFileDownloadScope; exports.FigmaFileStructure = FigmaFileStructure; exports.FigmaFileStructureData = FigmaFileStructureData; exports.FigmaFileStructureElementData = FigmaFileStructureElementData; exports.FigmaFileStructureImportModel = FigmaFileStructureImportModel; exports.FigmaFileStructureImportModelInput = FigmaFileStructureImportModelInput; exports.FigmaFileStructureNode = FigmaFileStructureNode; exports.FigmaFileStructureNodeBase = FigmaFileStructureNodeBase; exports.FigmaFileStructureNodeImportModel = FigmaFileStructureNodeImportModel; exports.FigmaFileStructureNodeType = FigmaFileStructureNodeType; exports.FigmaFileStructureOrigin = FigmaFileStructureOrigin; exports.FigmaFileStructureStatistics = FigmaFileStructureStatistics; exports.FigmaImportBaseContext = FigmaImportBaseContext; exports.FigmaImportContextWithDownloadScopes = FigmaImportContextWithDownloadScopes; exports.FigmaImportContextWithSourcesState = FigmaImportContextWithSourcesState; exports.FigmaNodeReference = FigmaNodeReference; exports.FigmaNodeReferenceData = FigmaNodeReferenceData; exports.FigmaNodeReferenceElementData = FigmaNodeReferenceElementData; exports.FigmaNodeReferenceOrigin = FigmaNodeReferenceOrigin; exports.FigmaPngRenderImportModel = FigmaPngRenderImportModel; exports.FigmaRenderFormat = FigmaRenderFormat; exports.FigmaRenderImportModel = FigmaRenderImportModel; exports.FigmaSvgRenderImportModel = FigmaSvgRenderImportModel; exports.FileStructureStats = FileStructureStats; exports.FlaggedFeature = FlaggedFeature; exports.FontFamilyTokenData = FontFamilyTokenData; exports.FontFamilyValue = FontFamilyValue; exports.FontSizeTokenData = FontSizeTokenData; exports.FontSizeUnit = FontSizeUnit; exports.FontSizeValue = FontSizeValue; exports.FontWeightTokenData = FontWeightTokenData; exports.FontWeightValue = FontWeightValue; exports.GitBranch = GitBranch; exports.GitIntegrationType = GitIntegrationType; exports.GitObjectsQuery = GitObjectsQuery; exports.GitOrganization = GitOrganization; exports.GitProject = GitProject; exports.GitProvider = GitProvider; exports.GitProviderNames = GitProviderNames; exports.GitRepository = GitRepository; exports.GradientLayerData = GradientLayerData; exports.GradientLayerValue = GradientLayerValue; exports.GradientStop = GradientStop; exports.GradientTokenData = GradientTokenData; exports.GradientTokenValue = GradientTokenValue; exports.GradientType = GradientType; exports.HANDLE_MAX_LENGTH = HANDLE_MAX_LENGTH; exports.HANDLE_MIN_LENGTH = HANDLE_MIN_LENGTH; exports.HierarchicalElements = HierarchicalElements; exports.IconSet = IconSet; exports.ImageImportModel = ImageImportModel; exports.ImageImportModelType = ImageImportModelType; exports.ImportFunctionInput = ImportFunctionInput; exports.ImportJob = ImportJob; exports.ImportJobOperation = ImportJobOperation; exports.ImportJobState = ImportJobState; exports.ImportModelBase = ImportModelBase; exports.ImportModelCollection = ImportModelCollection; exports.ImportModelInputBase = ImportModelInputBase; exports.ImportModelInputCollection = ImportModelInputCollection; exports.ImportWarning = ImportWarning; exports.ImportWarningType = ImportWarningType; exports.ImportedFigmaSourceData = ImportedFigmaSourceData; exports.Integration = Integration; exports.IntegrationAuthType = IntegrationAuthType; exports.IntegrationCredentials = IntegrationCredentials; exports.IntegrationCredentialsProfile = IntegrationCredentialsProfile; exports.IntegrationCredentialsState = IntegrationCredentialsState; exports.IntegrationCredentialsType = IntegrationCredentialsType; exports.IntegrationDesignSystem = IntegrationDesignSystem; exports.IntegrationToken = IntegrationToken; exports.IntegrationTokenSchemaOld = IntegrationTokenSchemaOld; exports.IntegrationType = IntegrationType; exports.IntegrationUserInfo = IntegrationUserInfo; exports.InternalStatus = InternalStatus; exports.InternalStatusSchema = InternalStatusSchema; exports.InvoiceCouponSchema = InvoiceCouponSchema; exports.InvoiceLineSchema = InvoiceLineSchema; exports.InvoiceSchema = InvoiceSchema; exports.LetterSpacingTokenData = LetterSpacingTokenData; exports.LetterSpacingUnit = LetterSpacingUnit; exports.LetterSpacingValue = LetterSpacingValue; exports.LineHeightTokenData = LineHeightTokenData; exports.LineHeightUnit = LineHeightUnit; exports.LineHeightValue = LineHeightValue; exports.LiveblocksNotificationSettings = LiveblocksNotificationSettings; exports.MAX_MEMBERS_COUNT = MAX_MEMBERS_COUNT; exports.NpmPackage = NpmPackage; exports.NpmProxyToken = NpmProxyToken; exports.NpmProxyTokenPayload = NpmProxyTokenPayload; exports.NpmRegistrCustomAuthConfig = NpmRegistrCustomAuthConfig; exports.NpmRegistryAuthConfig = NpmRegistryAuthConfig; exports.NpmRegistryAuthType = NpmRegistryAuthType; exports.NpmRegistryBasicAuthConfig = NpmRegistryBasicAuthConfig; exports.NpmRegistryBearerAuthConfig = NpmRegistryBearerAuthConfig; exports.NpmRegistryConfig = NpmRegistryConfig; exports.NpmRegistryNoAuthConfig = NpmRegistryNoAuthConfig; exports.NpmRegistryType = NpmRegistryType; exports.OAuthProvider = OAuthProvider; exports.OAuthProviderNames = OAuthProviderNames; exports.OAuthProviderSchema = OAuthProviderSchema; exports.ObjectMeta = ObjectMeta; exports.OpacityTokenData = OpacityTokenData; exports.OpacityValue = OpacityValue; exports.PageBlockAlignment = PageBlockAlignment; exports.PageBlockAppearanceV2 = PageBlockAppearanceV2; exports.PageBlockAsset = PageBlockAsset; exports.PageBlockAssetComponent = PageBlockAssetComponent; exports.PageBlockAssetEntityMeta = PageBlockAssetEntityMeta; exports.PageBlockAssetType = PageBlockAssetType; exports.PageBlockBaseV1 = PageBlockBaseV1; exports.PageBlockBehaviorDataType = PageBlockBehaviorDataType; exports.PageBlockBehaviorSelectionType = PageBlockBehaviorSelectionType; exports.PageBlockCalloutType = PageBlockCalloutType; exports.PageBlockCategory = PageBlockCategory; exports.PageBlockCodeLanguage = PageBlockCodeLanguage; exports.PageBlockColorV2 = PageBlockColorV2; exports.PageBlockCustomBlockPropertyImageValue = PageBlockCustomBlockPropertyImageValue; exports.PageBlockCustomBlockPropertyValue = PageBlockCustomBlockPropertyValue; exports.PageBlockDataV2 = PageBlockDataV2; exports.PageBlockDefinition = PageBlockDefinition; exports.PageBlockDefinitionAppearance = PageBlockDefinitionAppearance; exports.PageBlockDefinitionBehavior = PageBlockDefinitionBehavior; exports.PageBlockDefinitionBooleanOptions = PageBlockDefinitionBooleanOptions; exports.PageBlockDefinitionBooleanPropertyStyle = PageBlockDefinitionBooleanPropertyStyle; exports.PageBlockDefinitionComponentOptions = PageBlockDefinitionComponentOptions; exports.PageBlockDefinitionImageAspectRatio = PageBlockDefinitionImageAspectRatio; exports.PageBlockDefinitionImageOptions = PageBlockDefinitionImageOptions; exports.PageBlockDefinitionImageWidth = PageBlockDefinitionImageWidth; exports.PageBlockDefinitionItem = PageBlockDefinitionItem; exports.PageBlockDefinitionLayout = PageBlockDefinitionLayout; exports.PageBlockDefinitionLayoutAlign = PageBlockDefinitionLayoutAlign; exports.PageBlockDefinitionLayoutBase = PageBlockDefinitionLayoutBase; exports.PageBlockDefinitionLayoutGap = PageBlockDefinitionLayoutGap; exports.PageBlockDefinitionLayoutResizing = PageBlockDefinitionLayoutResizing; exports.PageBlockDefinitionLayoutType = PageBlockDefinitionLayoutType; exports.PageBlockDefinitionMultiRichTextPropertyStyle = PageBlockDefinitionMultiRichTextPropertyStyle; exports.PageBlockDefinitionMultiSelectPropertyStyle = PageBlockDefinitionMultiSelectPropertyStyle; exports.PageBlockDefinitionMutiRichTextOptions = PageBlockDefinitionMutiRichTextOptions; exports.PageBlockDefinitionNumberOptions = PageBlockDefinitionNumberOptions; exports.PageBlockDefinitionOnboarding = PageBlockDefinitionOnboarding; exports.PageBlockDefinitionProperty = PageBlockDefinitionProperty; exports.PageBlockDefinitionPropertyType = PageBlockDefinitionPropertyType; exports.PageBlockDefinitionRichTextOptions = PageBlockDefinitionRichTextOptions; exports.PageBlockDefinitionRichTextPropertyStyle = PageBlockDefinitionRichTextPropertyStyle; exports.PageBlockDefinitionSelectChoice = PageBlockDefinitionSelectChoice; exports.PageBlockDefinitionSelectOptions = PageBlockDefinitionSelectOptions; exports.PageBlockDefinitionSingleSelectPropertyColor = PageBlockDefinitionSingleSelectPropertyColor; exports.PageBlockDefinitionSingleSelectPropertyStyle = PageBlockDefinitionSingleSelectPropertyStyle; exports.PageBlockDefinitionTextOptions = PageBlockDefinitionTextOptions; exports.PageBlockDefinitionTextPropertyColor = PageBlockDefinitionTextPropertyColor; exports.PageBlockDefinitionTextPropertyStyle = PageBlockDefinitionTextPropertyStyle; exports.PageBlockDefinitionUntypedPropertyOptions = PageBlockDefinitionUntypedPropertyOptions; exports.PageBlockDefinitionVariant = PageBlockDefinitionVariant; exports.PageBlockDefinitionsMap = PageBlockDefinitionsMap; exports.PageBlockEditorModelV2 = PageBlockEditorModelV2; exports.PageBlockFigmaComponentEntityMeta = PageBlockFigmaComponentEntityMeta; exports.PageBlockFigmaFrameProperties = PageBlockFigmaFrameProperties; exports.PageBlockFigmaNodeEntityMeta = PageBlockFigmaNodeEntityMeta; exports.PageBlockFrame = PageBlockFrame; exports.PageBlockFrameOrigin = PageBlockFrameOrigin; exports.PageBlockGuideline = PageBlockGuideline; exports.PageBlockImageAlignment = PageBlockImageAlignment; exports.PageBlockImageReference = PageBlockImageReference; exports.PageBlockImageResourceReference = PageBlockImageResourceReference; exports.PageBlockImageType = PageBlockImageType; exports.PageBlockItemAssetPropertyValue = PageBlockItemAssetPropertyValue; exports.PageBlockItemAssetValue = PageBlockItemAssetValue; exports.PageBlockItemBooleanValue = PageBlockItemBooleanValue; exports.PageBlockItemCodeValue = PageBlockItemCodeValue; exports.PageBlockItemColorValue = PageBlockItemColorValue; exports.PageBlockItemComponentPropertyValue = PageBlockItemComponentPropertyValue; exports.PageBlockItemComponentValue = PageBlockItemComponentValue; exports.PageBlockItemDividerValue = PageBlockItemDividerValue; exports.PageBlockItemEmbedValue = PageBlockItemEmbedValue; exports.PageBlockItemFigmaComponentValue = PageBlockItemFigmaComponentValue; exports.PageBlockItemFigmaNodeValue = PageBlockItemFigmaNodeValue; exports.PageBlockItemImageValue = PageBlockItemImageValue; exports.PageBlockItemMarkdownValue = PageBlockItemMarkdownValue; exports.PageBlockItemMultiRichTextValue = PageBlockItemMultiRichTextValue; exports.PageBlockItemMultiSelectValue = PageBlockItemMultiSelectValue; exports.PageBlockItemNumberValue = PageBlockItemNumberValue; exports.PageBlockItemRichTextValue = PageBlockItemRichTextValue; exports.PageBlockItemSandboxValue = PageBlockItemSandboxValue; exports.PageBlockItemSingleSelectValue = PageBlockItemSingleSelectValue; exports.PageBlockItemStorybookValue = PageBlockItemStorybookValue; exports.PageBlockItemTableCell = PageBlockItemTableCell; exports.PageBlockItemTableImageNode = PageBlockItemTableImageNode; exports.PageBlockItemTableMultiRichTextNode = PageBlockItemTableMultiRichTextNode; exports.PageBlockItemTableNode = PageBlockItemTableNode; exports.PageBlockItemTableRichTextNode = PageBlockItemTableRichTextNode; exports.PageBlockItemTableRow = PageBlockItemTableRow; exports.PageBlockItemTableValue = PageBlockItemTableValue; exports.PageBlockItemTextValue = PageBlockItemTextValue; exports.PageBlockItemTokenPropertyValue = PageBlockItemTokenPropertyValue; exports.PageBlockItemTokenTypeValue = PageBlockItemTokenTypeValue; exports.PageBlockItemTokenValue = PageBlockItemTokenValue; exports.PageBlockItemUntypedValue = PageBlockItemUntypedValue; exports.PageBlockItemUrlValue = PageBlockItemUrlValue; exports.PageBlockItemV2 = PageBlockItemV2; exports.PageBlockLinkPreview = PageBlockLinkPreview; exports.PageBlockLinkType = PageBlockLinkType; exports.PageBlockLinkV2 = PageBlockLinkV2; exports.PageBlockPreviewContainerSize = PageBlockPreviewContainerSize; exports.PageBlockRenderCodeProperties = PageBlockRenderCodeProperties; exports.PageBlockResourceFrameNodeReference = PageBlockResourceFrameNodeReference; exports.PageBlockShortcut = PageBlockShortcut; exports.PageBlockTableCellAlignment = PageBlockTableCellAlignment; exports.PageBlockTableColumn = PageBlockTableColumn; exports.PageBlockTableProperties = PageBlockTableProperties; exports.PageBlockText = PageBlockText; exports.PageBlockTextSpan = PageBlockTextSpan; exports.PageBlockTextSpanAttribute = PageBlockTextSpanAttribute; exports.PageBlockTextSpanAttributeType = PageBlockTextSpanAttributeType; exports.PageBlockTheme = PageBlockTheme; exports.PageBlockThemeDisplayMode = PageBlockThemeDisplayMode; exports.PageBlockThemeType = PageBlockThemeType; exports.PageBlockTilesAlignment = PageBlockTilesAlignment; exports.PageBlockTilesLayout = PageBlockTilesLayout; exports.PageBlockTypeV1 = PageBlockTypeV1; exports.PageBlockUrlPreview = PageBlockUrlPreview; exports.PageBlockV1 = PageBlockV1; exports.PageBlockV2 = PageBlockV2; exports.PageSectionAppearanceV2 = PageSectionAppearanceV2; exports.PageSectionColumnV2 = PageSectionColumnV2; exports.PageSectionEditorModelV2 = PageSectionEditorModelV2; exports.PageSectionItemV2 = PageSectionItemV2; exports.PageSectionPaddingV2 = PageSectionPaddingV2; exports.PageSectionTypeV2 = PageSectionTypeV2; exports.ParagraphIndentTokenData = ParagraphIndentTokenData; exports.ParagraphIndentUnit = ParagraphIndentUnit; exports.ParagraphIndentValue = ParagraphIndentValue; exports.ParagraphSpacingTokenData = ParagraphSpacingTokenData; exports.ParagraphSpacingUnit = ParagraphSpacingUnit; exports.ParagraphSpacingValue = ParagraphSpacingValue; exports.PeriodSchema = PeriodSchema; exports.PersonalAccessToken = PersonalAccessToken; exports.Pipeline = Pipeline; exports.PipelineDestinationExtraType = PipelineDestinationExtraType; exports.PipelineDestinationGitType = PipelineDestinationGitType; exports.PipelineDestinationType = PipelineDestinationType; exports.PipelineEventType = PipelineEventType; exports.PluginOAuthRequestSchema = PluginOAuthRequestSchema; exports.Point2D = Point2D; exports.PostStripeCheckoutBodyInputSchema = PostStripeCheckoutBodyInputSchema; exports.PostStripeCheckoutOutputSchema = PostStripeCheckoutOutputSchema; exports.PostStripePortalSessionBodyInputSchema = PostStripePortalSessionBodyInputSchema; exports.PostStripePortalSessionOutputSchema = PostStripePortalSessionOutputSchema; exports.PostStripePortalUpdateSessionBodyInputSchema = PostStripePortalUpdateSessionBodyInputSchema; exports.PriceSchema = PriceSchema; exports.ProductCode = ProductCode; exports.ProductCodeSchema = ProductCodeSchema; exports.ProductCopyTokenData = ProductCopyTokenData; exports.ProductCopyValue = ProductCopyValue; exports.PublishedDoc = PublishedDoc; exports.PublishedDocEnvironment = PublishedDocEnvironment; exports.PublishedDocPage = PublishedDocPage; exports.PublishedDocRoutingVersion = PublishedDocRoutingVersion; exports.PublishedDocsChecksums = PublishedDocsChecksums; exports.PublishedDocsDump = PublishedDocsDump; exports.PulsarBaseProperty = PulsarBaseProperty; exports.PulsarContributionConfigurationProperty = PulsarContributionConfigurationProperty; exports.PulsarContributionVariant = PulsarContributionVariant; exports.PulsarCustomBlock = PulsarCustomBlock; exports.PulsarPropertyType = PulsarPropertyType; exports.RESERVED_SLUGS = RESERVED_SLUGS; exports.RESERVED_SLUG_PREFIX = RESERVED_SLUG_PREFIX; exports.RenderedAssetFile = RenderedAssetFile; exports.ResolvedAsset = ResolvedAsset; exports.RestoredDocumentationGroup = RestoredDocumentationGroup; exports.RestoredDocumentationPage = RestoredDocumentationPage; exports.RoomType = RoomType; exports.RoomTypeEnum = RoomTypeEnum; exports.RoomTypeSchema = RoomTypeSchema; exports.SHORT_PERSISTENT_ID_LENGTH = SHORT_PERSISTENT_ID_LENGTH; exports.SafeIdSchema = SafeIdSchema; exports.Session = Session; exports.SessionData = SessionData; exports.ShadowLayerValue = ShadowLayerValue; exports.ShadowTokenData = ShadowTokenData; exports.ShadowType = ShadowType; exports.ShallowDesignElement = ShallowDesignElement; exports.Size = Size; exports.SizeOrUndefined = SizeOrUndefined; exports.SizeTokenData = SizeTokenData; exports.SizeUnit = SizeUnit; exports.SizeValue = SizeValue; exports.SourceImportComponentSummary = SourceImportComponentSummary; exports.SourceImportFrameSummary = SourceImportFrameSummary; exports.SourceImportSummary = SourceImportSummary; exports.SourceImportSummaryByTokenType = SourceImportSummaryByTokenType; exports.SourceImportTokenSummary = SourceImportTokenSummary; exports.SpaceTokenData = SpaceTokenData; exports.SpaceUnit = SpaceUnit; exports.SpaceValue = SpaceValue; exports.SsoProvider = SsoProvider; exports.StringTokenData = StringTokenData; exports.StringValue = StringValue; exports.StripeSubscriptionStatus = StripeSubscriptionStatus; exports.StripeSubscriptionStatusSchema = StripeSubscriptionStatusSchema; exports.Subscription = Subscription; exports.SupernovaException = SupernovaException; exports.TextCase = TextCase; exports.TextCaseTokenData = TextCaseTokenData; exports.TextCaseValue = TextCaseValue; exports.TextDecoration = TextDecoration; exports.TextDecorationTokenData = TextDecorationTokenData; exports.TextDecorationValue = TextDecorationValue; exports.Theme = Theme; exports.ThemeElementData = ThemeElementData; exports.ThemeImportModel = ThemeImportModel; exports.ThemeImportModelInput = ThemeImportModelInput; exports.ThemeOrigin = ThemeOrigin; exports.ThemeOriginObject = ThemeOriginObject; exports.ThemeOriginPart = ThemeOriginPart; exports.ThemeOriginSource = ThemeOriginSource; exports.ThemeOverride = ThemeOverride; exports.ThemeOverrideImportModel = ThemeOverrideImportModel; exports.ThemeOverrideImportModelBase = ThemeOverrideImportModelBase; exports.ThemeOverrideImportModelInput = ThemeOverrideImportModelInput; exports.ThemeOverrideOrigin = ThemeOverrideOrigin; exports.ThemeOverrideOriginPart = ThemeOverrideOriginPart; exports.ThemeUpdateImportModel = ThemeUpdateImportModel; exports.ThemeUpdateImportModelInput = ThemeUpdateImportModelInput; exports.TokenDataAliasSchema = TokenDataAliasSchema; exports.TypographyTokenData = TypographyTokenData; exports.TypographyValue = TypographyValue; exports.UpdateMembershipRolesInput = UpdateMembershipRolesInput; exports.UrlImageImportModel = UrlImageImportModel; exports.User = User; exports.UserAnalyticsCleanupSchedule = UserAnalyticsCleanupSchedule; exports.UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupScheduleDbInput; exports.UserDump = UserDump; exports.UserIdentity = UserIdentity; exports.UserInvite = UserInvite; exports.UserInvites = UserInvites; exports.UserLinkedIntegrations = UserLinkedIntegrations; exports.UserMinified = UserMinified; exports.UserNotificationSettings = UserNotificationSettings; exports.UserOnboarding = UserOnboarding; exports.UserOnboardingDepartment = UserOnboardingDepartment; exports.UserOnboardingJobLevel = UserOnboardingJobLevel; exports.UserProfile = UserProfile; exports.UserProfileUpdate = UserProfileUpdate; exports.UserSession = UserSession; exports.UserTest = UserTest; exports.VersionCreationJob = VersionCreationJob; exports.VersionCreationJobStatus = VersionCreationJobStatus; exports.Visibility = Visibility; exports.VisibilityTokenData = VisibilityTokenData; exports.VisibilityValue = VisibilityValue; exports.Workspace = Workspace; exports.WorkspaceConfigurationUpdate = WorkspaceConfigurationUpdate; exports.WorkspaceContext = WorkspaceContext; exports.WorkspaceDump = WorkspaceDump; exports.WorkspaceInvitation = WorkspaceInvitation; exports.WorkspaceIpSettings = WorkspaceIpSettings; exports.WorkspaceIpWhitelistEntry = WorkspaceIpWhitelistEntry; exports.WorkspaceMembership = WorkspaceMembership; exports.WorkspaceOAuthRequestSchema = WorkspaceOAuthRequestSchema; exports.WorkspaceProfile = WorkspaceProfile; exports.WorkspaceProfileUpdate = WorkspaceProfileUpdate; exports.WorkspaceRole = WorkspaceRole; exports.WorkspaceRoleSchema = WorkspaceRoleSchema; exports.WorkspaceRoom = WorkspaceRoom; exports.WorkspaceWithDesignSystems = WorkspaceWithDesignSystems; exports.ZIndexTokenData = ZIndexTokenData; exports.ZIndexUnit = ZIndexUnit; exports.ZIndexValue = ZIndexValue; exports.addImportModelCollections = addImportModelCollections; exports.buildConstantEnum = buildConstantEnum; exports.defaultDocumentationItemConfigurationV1 = defaultDocumentationItemConfigurationV1; exports.defaultDocumentationItemConfigurationV2 = defaultDocumentationItemConfigurationV2; exports.defaultDocumentationItemHeaderV1 = defaultDocumentationItemHeaderV1; exports.defaultDocumentationItemHeaderV2 = defaultDocumentationItemHeaderV2; exports.defaultNotificationSettings = defaultNotificationSettings; exports.designTokenImportModelTypeFilter = designTokenImportModelTypeFilter; exports.designTokenTypeFilter = designTokenTypeFilter; exports.extractTokenTypedData = extractTokenTypedData; exports.figmaFileStructureImportModelToMap = figmaFileStructureImportModelToMap; exports.figmaFileStructureToMap = figmaFileStructureToMap; exports.filterNonNullish = filterNonNullish; exports.forceUnwrapNullish = forceUnwrapNullish; exports.getCodenameFromText = getCodenameFromText; exports.getFigmaRenderFormatFileExtension = getFigmaRenderFormatFileExtension; exports.groupBy = groupBy; exports.isDesignTokenImportModelOfType = isDesignTokenImportModelOfType; exports.isDesignTokenOfType = isDesignTokenOfType; exports.isImportedAsset = isImportedAsset; exports.isImportedComponent = isImportedComponent; exports.isImportedDesignToken = isImportedDesignToken; exports.isSlugReserved = isSlugReserved; exports.isTokenType = isTokenType; exports.mapByUnique = mapByUnique; exports.mapPageBlockItemValuesV2 = mapPageBlockItemValuesV2; exports.nonNullFilter = nonNullFilter; exports.nonNullishFilter = nonNullishFilter; exports.nullishToOptional = nullishToOptional; exports.parseUrl = parseUrl; exports.promiseWithTimeout = promiseWithTimeout; exports.publishedDocEnvironments = publishedDocEnvironments; exports.sleep = sleep; exports.slugRegex = slugRegex; exports.slugify = slugify; exports.tokenAliasOrValue = tokenAliasOrValue; exports.tokenElementTypes = tokenElementTypes; exports.traversePageBlockItemValuesV2 = traversePageBlockItemValuesV2; exports.traversePageBlockItemsV2 = traversePageBlockItemsV2; exports.traversePageBlocksV1 = traversePageBlocksV1; exports.traversePageItemsV2 = traversePageItemsV2; exports.traverseStructure = traverseStructure; exports.trimLeadingSlash = trimLeadingSlash; exports.trimTrailingSlash = trimTrailingSlash; exports.tryParseShortPersistentId = tryParseShortPersistentId; exports.tryParseUrl = tryParseUrl; exports.uniqueBy = uniqueBy; exports.zodCreateInputOmit = zodCreateInputOmit; exports.zodUpdateInputOmit = zodUpdateInputOmit;
5590
+
5591
+
5592
+
5593
+
5594
+ exports.Address = Address; exports.Asset = Asset; exports.AssetDeleteSchedule = AssetDeleteSchedule; exports.AssetDynamoRecord = AssetDynamoRecord; exports.AssetFontProperties = AssetFontProperties; exports.AssetImportModelInput = AssetImportModelInput; exports.AssetOrigin = AssetOrigin; exports.AssetProcessStatus = AssetProcessStatus; exports.AssetProperties = AssetProperties; exports.AssetReference = AssetReference; exports.AssetRenderConfiguration = AssetRenderConfiguration; exports.AssetScope = AssetScope; exports.AssetType = AssetType; exports.AssetValue = AssetValue; exports.AuthTokens = AuthTokens; exports.BaseComponent = BaseComponent; exports.BillingDetails = BillingDetails; exports.BillingIntervalSchema = BillingIntervalSchema; exports.BillingType = BillingType; exports.BillingTypeSchema = BillingTypeSchema; exports.BlurTokenData = BlurTokenData; exports.BlurType = BlurType; exports.BlurValue = BlurValue; exports.BorderPosition = BorderPosition; exports.BorderRadiusTokenData = BorderRadiusTokenData; exports.BorderRadiusUnit = BorderRadiusUnit; exports.BorderRadiusValue = BorderRadiusValue; exports.BorderStyle = BorderStyle; exports.BorderTokenData = BorderTokenData; exports.BorderValue = BorderValue; exports.BorderWidthTokenData = BorderWidthTokenData; exports.BorderWidthUnit = BorderWidthUnit; exports.BorderWidthValue = BorderWidthValue; exports.Brand = Brand; exports.BrandedElementGroup = BrandedElementGroup; exports.CardSchema = CardSchema; exports.ChangedImportedFigmaSourceData = ChangedImportedFigmaSourceData; exports.CodeIntegrationDump = CodeIntegrationDump; exports.ColorTokenData = ColorTokenData; exports.ColorTokenInlineData = ColorTokenInlineData; exports.ColorValue = ColorValue; exports.Component = Component; exports.ComponentElementData = ComponentElementData; exports.ComponentImportModel = ComponentImportModel; exports.ComponentImportModelInput = ComponentImportModelInput; exports.ComponentOrigin = ComponentOrigin; exports.ComponentOriginPart = ComponentOriginPart; exports.ContentLoadInstruction = ContentLoadInstruction; exports.ContentLoaderPayload = ContentLoaderPayload; exports.CreateDesignToken = CreateDesignToken; exports.CreateUserInput = CreateUserInput; exports.CreateWorkspaceInput = CreateWorkspaceInput; exports.CustomDomain = CustomDomain; exports.Customer = Customer; exports.DataSource = DataSource; exports.DataSourceAutoImportMode = DataSourceAutoImportMode; exports.DataSourceFigmaFileData = DataSourceFigmaFileData; exports.DataSourceFigmaFileVersionData = DataSourceFigmaFileVersionData; exports.DataSourceFigmaImportMetadata = DataSourceFigmaImportMetadata; exports.DataSourceFigmaRemote = DataSourceFigmaRemote; exports.DataSourceFigmaScope = DataSourceFigmaScope; exports.DataSourceFigmaState = DataSourceFigmaState; exports.DataSourceImportModel = DataSourceImportModel; exports.DataSourceRemote = DataSourceRemote; exports.DataSourceRemoteType = DataSourceRemoteType; exports.DataSourceStats = DataSourceStats; exports.DataSourceTokenStudioRemote = DataSourceTokenStudioRemote; exports.DataSourceUploadImportMetadata = DataSourceUploadImportMetadata; exports.DataSourceUploadRemote = DataSourceUploadRemote; exports.DataSourceUploadRemoteSource = DataSourceUploadRemoteSource; exports.DataSourceVersion = DataSourceVersion; exports.DesignElement = DesignElement; exports.DesignElementBase = DesignElementBase; exports.DesignElementBrandedPart = DesignElementBrandedPart; exports.DesignElementCategory = DesignElementCategory; exports.DesignElementGroupableBase = DesignElementGroupableBase; exports.DesignElementGroupablePart = DesignElementGroupablePart; exports.DesignElementGroupableRequiredPart = DesignElementGroupableRequiredPart; exports.DesignElementImportedBase = DesignElementImportedBase; exports.DesignElementOrigin = DesignElementOrigin; exports.DesignElementSlugPart = DesignElementSlugPart; exports.DesignElementSnapshotBase = DesignElementSnapshotBase; exports.DesignElementSnapshotReason = DesignElementSnapshotReason; exports.DesignElementType = DesignElementType; exports.DesignSystem = DesignSystem; exports.DesignSystemCreateInput = DesignSystemCreateInput; exports.DesignSystemDump = DesignSystemDump; exports.DesignSystemElementExportProps = DesignSystemElementExportProps; exports.DesignSystemSwitcher = DesignSystemSwitcher; exports.DesignSystemUpdateInput = DesignSystemUpdateInput; exports.DesignSystemVersion = DesignSystemVersion; exports.DesignSystemVersionDump = DesignSystemVersionDump; exports.DesignSystemVersionMultiplayerDump = DesignSystemVersionMultiplayerDump; exports.DesignSystemVersionRoom = DesignSystemVersionRoom; exports.DesignSystemVersionRoomInitialState = DesignSystemVersionRoomInitialState; exports.DesignSystemVersionRoomInternalSettings = DesignSystemVersionRoomInternalSettings; exports.DesignSystemVersionRoomUpdate = DesignSystemVersionRoomUpdate; exports.DesignSystemWithWorkspace = DesignSystemWithWorkspace; exports.DesignToken = DesignToken; exports.DesignTokenImportModel = DesignTokenImportModel; exports.DesignTokenImportModelBase = DesignTokenImportModelBase; exports.DesignTokenImportModelInput = DesignTokenImportModelInput; exports.DesignTokenImportModelInputBase = DesignTokenImportModelInputBase; exports.DesignTokenOrigin = DesignTokenOrigin; exports.DesignTokenOriginPart = DesignTokenOriginPart; exports.DesignTokenType = DesignTokenType; exports.DesignTokenTypedData = DesignTokenTypedData; exports.DimensionTokenData = DimensionTokenData; exports.DimensionUnit = DimensionUnit; exports.DimensionValue = DimensionValue; exports.DocumentationComment = DocumentationComment; exports.DocumentationCommentThread = DocumentationCommentThread; exports.DocumentationGroupBehavior = DocumentationGroupBehavior; exports.DocumentationGroupV1 = DocumentationGroupV1; exports.DocumentationItemConfigurationV1 = DocumentationItemConfigurationV1; exports.DocumentationItemConfigurationV2 = DocumentationItemConfigurationV2; exports.DocumentationItemHeaderAlignment = DocumentationItemHeaderAlignment; exports.DocumentationItemHeaderAlignmentSchema = DocumentationItemHeaderAlignmentSchema; exports.DocumentationItemHeaderImageScaleType = DocumentationItemHeaderImageScaleType; exports.DocumentationItemHeaderImageScaleTypeSchema = DocumentationItemHeaderImageScaleTypeSchema; exports.DocumentationItemHeaderV1 = DocumentationItemHeaderV1; exports.DocumentationItemHeaderV2 = DocumentationItemHeaderV2; exports.DocumentationLinkPreview = DocumentationLinkPreview; exports.DocumentationPage = DocumentationPage; exports.DocumentationPageAnchor = DocumentationPageAnchor; exports.DocumentationPageContent = DocumentationPageContent; exports.DocumentationPageContentBackup = DocumentationPageContentBackup; exports.DocumentationPageContentData = DocumentationPageContentData; exports.DocumentationPageContentItem = DocumentationPageContentItem; exports.DocumentationPageDataV1 = DocumentationPageDataV1; exports.DocumentationPageDataV2 = DocumentationPageDataV2; exports.DocumentationPageGroup = DocumentationPageGroup; exports.DocumentationPageRoom = DocumentationPageRoom; exports.DocumentationPageRoomDump = DocumentationPageRoomDump; exports.DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomInitialStateUpdate; exports.DocumentationPageRoomRoomUpdate = DocumentationPageRoomRoomUpdate; exports.DocumentationPageRoomState = DocumentationPageRoomState; exports.DocumentationPageSnapshot = DocumentationPageSnapshot; exports.DocumentationPageV1 = DocumentationPageV1; exports.DocumentationPageV2 = DocumentationPageV2; exports.DocumentationThreadDump = DocumentationThreadDump; exports.DurationTokenData = DurationTokenData; exports.DurationUnit = DurationUnit; exports.DurationValue = DurationValue; exports.ElementGroup = ElementGroup; exports.ElementGroupDataV1 = ElementGroupDataV1; exports.ElementGroupDataV2 = ElementGroupDataV2; exports.ElementGroupSnapshot = ElementGroupSnapshot; exports.ElementPropertyDefinition = ElementPropertyDefinition; exports.ElementPropertyDefinitionOption = ElementPropertyDefinitionOption; exports.ElementPropertyLinkType = ElementPropertyLinkType; exports.ElementPropertyTargetType = ElementPropertyTargetType; exports.ElementPropertyType = ElementPropertyType; exports.ElementPropertyTypeSchema = ElementPropertyTypeSchema; exports.ElementPropertyValue = ElementPropertyValue; exports.ElementView = ElementView; exports.ElementViewBaseColumnType = ElementViewBaseColumnType; exports.ElementViewBasePropertyColumn = ElementViewBasePropertyColumn; exports.ElementViewColumn = ElementViewColumn; exports.ElementViewColumnSharedAttributes = ElementViewColumnSharedAttributes; exports.ElementViewColumnType = ElementViewColumnType; exports.ElementViewPropertyDefinitionColumn = ElementViewPropertyDefinitionColumn; exports.ElementViewThemeColumn = ElementViewThemeColumn; exports.Entity = Entity; exports.ExportDestinationsMap = ExportDestinationsMap; exports.ExportJob = ExportJob; exports.ExportJobContext = ExportJobContext; exports.ExportJobDestinationType = ExportJobDestinationType; exports.ExportJobDocsDestinationResult = ExportJobDocsDestinationResult; exports.ExportJobDocumentationChanges = ExportJobDocumentationChanges; exports.ExportJobDocumentationContext = ExportJobDocumentationContext; exports.ExportJobDump = ExportJobDump; exports.ExportJobFindByFilter = ExportJobFindByFilter; exports.ExportJobLogEntry = ExportJobLogEntry; exports.ExportJobLogEntryType = ExportJobLogEntryType; exports.ExportJobPullRequestDestinationResult = ExportJobPullRequestDestinationResult; exports.ExportJobResult = ExportJobResult; exports.ExportJobS3DestinationResult = ExportJobS3DestinationResult; exports.ExportJobStatus = ExportJobStatus; exports.Exporter = Exporter; exports.ExporterDestinationAzure = ExporterDestinationAzure; exports.ExporterDestinationBitbucket = ExporterDestinationBitbucket; exports.ExporterDestinationDocs = ExporterDestinationDocs; exports.ExporterDestinationGithub = ExporterDestinationGithub; exports.ExporterDestinationGitlab = ExporterDestinationGitlab; exports.ExporterDestinationS3 = ExporterDestinationS3; exports.ExporterDetails = ExporterDetails; exports.ExporterFunctionPayload = ExporterFunctionPayload; exports.ExporterPropertyImageValue = ExporterPropertyImageValue; exports.ExporterPropertyValue = ExporterPropertyValue; exports.ExporterPropertyValuesCollection = ExporterPropertyValuesCollection; exports.ExporterPulsarDetails = ExporterPulsarDetails; exports.ExporterSource = ExporterSource; exports.ExporterTag = ExporterTag; exports.ExporterType = ExporterType; exports.ExporterWorkspaceMembership = ExporterWorkspaceMembership; exports.ExporterWorkspaceMembershipRole = ExporterWorkspaceMembershipRole; exports.ExtendedIntegrationType = ExtendedIntegrationType; exports.ExternalOAuthRequest = ExternalOAuthRequest; exports.ExternalServiceType = ExternalServiceType; exports.FeatureFlag = FeatureFlag; exports.FeatureFlagMap = FeatureFlagMap; exports.FeaturesSummary = FeaturesSummary; exports.FigmaFileAccessData = FigmaFileAccessData; exports.FigmaFileDownloadScope = FigmaFileDownloadScope; exports.FigmaFileStructure = FigmaFileStructure; exports.FigmaFileStructureData = FigmaFileStructureData; exports.FigmaFileStructureElementData = FigmaFileStructureElementData; exports.FigmaFileStructureImportModel = FigmaFileStructureImportModel; exports.FigmaFileStructureImportModelInput = FigmaFileStructureImportModelInput; exports.FigmaFileStructureNode = FigmaFileStructureNode; exports.FigmaFileStructureNodeBase = FigmaFileStructureNodeBase; exports.FigmaFileStructureNodeImportModel = FigmaFileStructureNodeImportModel; exports.FigmaFileStructureNodeType = FigmaFileStructureNodeType; exports.FigmaFileStructureOrigin = FigmaFileStructureOrigin; exports.FigmaFileStructureStatistics = FigmaFileStructureStatistics; exports.FigmaImportBaseContext = FigmaImportBaseContext; exports.FigmaImportContextWithDownloadScopes = FigmaImportContextWithDownloadScopes; exports.FigmaImportContextWithSourcesState = FigmaImportContextWithSourcesState; exports.FigmaNodeReference = FigmaNodeReference; exports.FigmaNodeReferenceData = FigmaNodeReferenceData; exports.FigmaNodeReferenceElementData = FigmaNodeReferenceElementData; exports.FigmaNodeReferenceOrigin = FigmaNodeReferenceOrigin; exports.FigmaPngRenderImportModel = FigmaPngRenderImportModel; exports.FigmaRenderFormat = FigmaRenderFormat; exports.FigmaRenderImportModel = FigmaRenderImportModel; exports.FigmaSvgRenderImportModel = FigmaSvgRenderImportModel; exports.FileStructureStats = FileStructureStats; exports.FlaggedFeature = FlaggedFeature; exports.FontFamilyTokenData = FontFamilyTokenData; exports.FontFamilyValue = FontFamilyValue; exports.FontSizeTokenData = FontSizeTokenData; exports.FontSizeUnit = FontSizeUnit; exports.FontSizeValue = FontSizeValue; exports.FontWeightTokenData = FontWeightTokenData; exports.FontWeightValue = FontWeightValue; exports.GitBranch = GitBranch; exports.GitIntegrationType = GitIntegrationType; exports.GitObjectsQuery = GitObjectsQuery; exports.GitOrganization = GitOrganization; exports.GitProject = GitProject; exports.GitProvider = GitProvider; exports.GitProviderNames = GitProviderNames; exports.GitRepository = GitRepository; exports.GradientLayerData = GradientLayerData; exports.GradientLayerValue = GradientLayerValue; exports.GradientStop = GradientStop; exports.GradientTokenData = GradientTokenData; exports.GradientTokenValue = GradientTokenValue; exports.GradientType = GradientType; exports.HANDLE_MAX_LENGTH = HANDLE_MAX_LENGTH; exports.HANDLE_MIN_LENGTH = HANDLE_MIN_LENGTH; exports.HierarchicalElements = HierarchicalElements; exports.IconSet = IconSet; exports.ImageImportModel = ImageImportModel; exports.ImageImportModelType = ImageImportModelType; exports.ImportFunctionInput = ImportFunctionInput; exports.ImportJob = ImportJob; exports.ImportJobOperation = ImportJobOperation; exports.ImportJobState = ImportJobState; exports.ImportModelBase = ImportModelBase; exports.ImportModelCollection = ImportModelCollection; exports.ImportModelInputBase = ImportModelInputBase; exports.ImportModelInputCollection = ImportModelInputCollection; exports.ImportWarning = ImportWarning; exports.ImportWarningType = ImportWarningType; exports.ImportedFigmaSourceData = ImportedFigmaSourceData; exports.Integration = Integration; exports.IntegrationAuthType = IntegrationAuthType; exports.IntegrationCredentials = IntegrationCredentials; exports.IntegrationCredentialsProfile = IntegrationCredentialsProfile; exports.IntegrationCredentialsState = IntegrationCredentialsState; exports.IntegrationCredentialsType = IntegrationCredentialsType; exports.IntegrationDesignSystem = IntegrationDesignSystem; exports.IntegrationToken = IntegrationToken; exports.IntegrationTokenSchemaOld = IntegrationTokenSchemaOld; exports.IntegrationType = IntegrationType; exports.IntegrationUserInfo = IntegrationUserInfo; exports.InternalStatus = InternalStatus; exports.InternalStatusSchema = InternalStatusSchema; exports.InvoiceCouponSchema = InvoiceCouponSchema; exports.InvoiceLineSchema = InvoiceLineSchema; exports.InvoiceSchema = InvoiceSchema; exports.LetterSpacingTokenData = LetterSpacingTokenData; exports.LetterSpacingUnit = LetterSpacingUnit; exports.LetterSpacingValue = LetterSpacingValue; exports.LineHeightTokenData = LineHeightTokenData; exports.LineHeightUnit = LineHeightUnit; exports.LineHeightValue = LineHeightValue; exports.LiveblocksNotificationSettings = LiveblocksNotificationSettings; exports.MAX_MEMBERS_COUNT = MAX_MEMBERS_COUNT; exports.NpmPackage = NpmPackage; exports.NpmProxyToken = NpmProxyToken; exports.NpmProxyTokenPayload = NpmProxyTokenPayload; exports.NpmRegistrCustomAuthConfig = NpmRegistrCustomAuthConfig; exports.NpmRegistryAuthConfig = NpmRegistryAuthConfig; exports.NpmRegistryAuthType = NpmRegistryAuthType; exports.NpmRegistryBasicAuthConfig = NpmRegistryBasicAuthConfig; exports.NpmRegistryBearerAuthConfig = NpmRegistryBearerAuthConfig; exports.NpmRegistryConfig = NpmRegistryConfig; exports.NpmRegistryNoAuthConfig = NpmRegistryNoAuthConfig; exports.NpmRegistryType = NpmRegistryType; exports.OAuthProvider = OAuthProvider; exports.OAuthProviderNames = OAuthProviderNames; exports.OAuthProviderSchema = OAuthProviderSchema; exports.ObjectMeta = ObjectMeta; exports.OpacityTokenData = OpacityTokenData; exports.OpacityValue = OpacityValue; exports.PageBlockAlignment = PageBlockAlignment; exports.PageBlockAppearanceV2 = PageBlockAppearanceV2; exports.PageBlockAsset = PageBlockAsset; exports.PageBlockAssetComponent = PageBlockAssetComponent; exports.PageBlockAssetEntityMeta = PageBlockAssetEntityMeta; exports.PageBlockAssetType = PageBlockAssetType; exports.PageBlockBaseV1 = PageBlockBaseV1; exports.PageBlockBehaviorDataType = PageBlockBehaviorDataType; exports.PageBlockBehaviorSelectionType = PageBlockBehaviorSelectionType; exports.PageBlockCalloutType = PageBlockCalloutType; exports.PageBlockCategory = PageBlockCategory; exports.PageBlockCodeLanguage = PageBlockCodeLanguage; exports.PageBlockColorV2 = PageBlockColorV2; exports.PageBlockCustomBlockPropertyImageValue = PageBlockCustomBlockPropertyImageValue; exports.PageBlockCustomBlockPropertyValue = PageBlockCustomBlockPropertyValue; exports.PageBlockDataV2 = PageBlockDataV2; exports.PageBlockDefinition = PageBlockDefinition; exports.PageBlockDefinitionAppearance = PageBlockDefinitionAppearance; exports.PageBlockDefinitionBehavior = PageBlockDefinitionBehavior; exports.PageBlockDefinitionBooleanOptions = PageBlockDefinitionBooleanOptions; exports.PageBlockDefinitionBooleanPropertyStyle = PageBlockDefinitionBooleanPropertyStyle; exports.PageBlockDefinitionComponentOptions = PageBlockDefinitionComponentOptions; exports.PageBlockDefinitionImageAspectRatio = PageBlockDefinitionImageAspectRatio; exports.PageBlockDefinitionImageOptions = PageBlockDefinitionImageOptions; exports.PageBlockDefinitionImageWidth = PageBlockDefinitionImageWidth; exports.PageBlockDefinitionItem = PageBlockDefinitionItem; exports.PageBlockDefinitionLayout = PageBlockDefinitionLayout; exports.PageBlockDefinitionLayoutAlign = PageBlockDefinitionLayoutAlign; exports.PageBlockDefinitionLayoutBase = PageBlockDefinitionLayoutBase; exports.PageBlockDefinitionLayoutGap = PageBlockDefinitionLayoutGap; exports.PageBlockDefinitionLayoutResizing = PageBlockDefinitionLayoutResizing; exports.PageBlockDefinitionLayoutType = PageBlockDefinitionLayoutType; exports.PageBlockDefinitionMultiRichTextPropertyStyle = PageBlockDefinitionMultiRichTextPropertyStyle; exports.PageBlockDefinitionMultiSelectPropertyStyle = PageBlockDefinitionMultiSelectPropertyStyle; exports.PageBlockDefinitionMutiRichTextOptions = PageBlockDefinitionMutiRichTextOptions; exports.PageBlockDefinitionNumberOptions = PageBlockDefinitionNumberOptions; exports.PageBlockDefinitionOnboarding = PageBlockDefinitionOnboarding; exports.PageBlockDefinitionProperty = PageBlockDefinitionProperty; exports.PageBlockDefinitionPropertyType = PageBlockDefinitionPropertyType; exports.PageBlockDefinitionRichTextOptions = PageBlockDefinitionRichTextOptions; exports.PageBlockDefinitionRichTextPropertyStyle = PageBlockDefinitionRichTextPropertyStyle; exports.PageBlockDefinitionSelectChoice = PageBlockDefinitionSelectChoice; exports.PageBlockDefinitionSelectOptions = PageBlockDefinitionSelectOptions; exports.PageBlockDefinitionSingleSelectPropertyColor = PageBlockDefinitionSingleSelectPropertyColor; exports.PageBlockDefinitionSingleSelectPropertyStyle = PageBlockDefinitionSingleSelectPropertyStyle; exports.PageBlockDefinitionTextOptions = PageBlockDefinitionTextOptions; exports.PageBlockDefinitionTextPropertyColor = PageBlockDefinitionTextPropertyColor; exports.PageBlockDefinitionTextPropertyStyle = PageBlockDefinitionTextPropertyStyle; exports.PageBlockDefinitionUntypedPropertyOptions = PageBlockDefinitionUntypedPropertyOptions; exports.PageBlockDefinitionVariant = PageBlockDefinitionVariant; exports.PageBlockDefinitionsMap = PageBlockDefinitionsMap; exports.PageBlockEditorModelV2 = PageBlockEditorModelV2; exports.PageBlockFigmaComponentEntityMeta = PageBlockFigmaComponentEntityMeta; exports.PageBlockFigmaFrameProperties = PageBlockFigmaFrameProperties; exports.PageBlockFigmaNodeEntityMeta = PageBlockFigmaNodeEntityMeta; exports.PageBlockFrame = PageBlockFrame; exports.PageBlockFrameOrigin = PageBlockFrameOrigin; exports.PageBlockGuideline = PageBlockGuideline; exports.PageBlockImageAlignment = PageBlockImageAlignment; exports.PageBlockImageReference = PageBlockImageReference; exports.PageBlockImageResourceReference = PageBlockImageResourceReference; exports.PageBlockImageType = PageBlockImageType; exports.PageBlockItemAssetPropertyValue = PageBlockItemAssetPropertyValue; exports.PageBlockItemAssetValue = PageBlockItemAssetValue; exports.PageBlockItemBooleanValue = PageBlockItemBooleanValue; exports.PageBlockItemCodeValue = PageBlockItemCodeValue; exports.PageBlockItemColorValue = PageBlockItemColorValue; exports.PageBlockItemComponentPropertyValue = PageBlockItemComponentPropertyValue; exports.PageBlockItemComponentValue = PageBlockItemComponentValue; exports.PageBlockItemDividerValue = PageBlockItemDividerValue; exports.PageBlockItemEmbedValue = PageBlockItemEmbedValue; exports.PageBlockItemFigmaComponentValue = PageBlockItemFigmaComponentValue; exports.PageBlockItemFigmaNodeValue = PageBlockItemFigmaNodeValue; exports.PageBlockItemImageValue = PageBlockItemImageValue; exports.PageBlockItemMarkdownValue = PageBlockItemMarkdownValue; exports.PageBlockItemMultiRichTextValue = PageBlockItemMultiRichTextValue; exports.PageBlockItemMultiSelectValue = PageBlockItemMultiSelectValue; exports.PageBlockItemNumberValue = PageBlockItemNumberValue; exports.PageBlockItemRichTextValue = PageBlockItemRichTextValue; exports.PageBlockItemSandboxValue = PageBlockItemSandboxValue; exports.PageBlockItemSingleSelectValue = PageBlockItemSingleSelectValue; exports.PageBlockItemStorybookValue = PageBlockItemStorybookValue; exports.PageBlockItemTableCell = PageBlockItemTableCell; exports.PageBlockItemTableImageNode = PageBlockItemTableImageNode; exports.PageBlockItemTableMultiRichTextNode = PageBlockItemTableMultiRichTextNode; exports.PageBlockItemTableNode = PageBlockItemTableNode; exports.PageBlockItemTableRichTextNode = PageBlockItemTableRichTextNode; exports.PageBlockItemTableRow = PageBlockItemTableRow; exports.PageBlockItemTableValue = PageBlockItemTableValue; exports.PageBlockItemTextValue = PageBlockItemTextValue; exports.PageBlockItemTokenPropertyValue = PageBlockItemTokenPropertyValue; exports.PageBlockItemTokenTypeValue = PageBlockItemTokenTypeValue; exports.PageBlockItemTokenValue = PageBlockItemTokenValue; exports.PageBlockItemUntypedValue = PageBlockItemUntypedValue; exports.PageBlockItemUrlValue = PageBlockItemUrlValue; exports.PageBlockItemV2 = PageBlockItemV2; exports.PageBlockLinkPreview = PageBlockLinkPreview; exports.PageBlockLinkType = PageBlockLinkType; exports.PageBlockLinkV2 = PageBlockLinkV2; exports.PageBlockPreviewContainerSize = PageBlockPreviewContainerSize; exports.PageBlockRenderCodeProperties = PageBlockRenderCodeProperties; exports.PageBlockResourceFrameNodeReference = PageBlockResourceFrameNodeReference; exports.PageBlockShortcut = PageBlockShortcut; exports.PageBlockTableCellAlignment = PageBlockTableCellAlignment; exports.PageBlockTableColumn = PageBlockTableColumn; exports.PageBlockTableProperties = PageBlockTableProperties; exports.PageBlockText = PageBlockText; exports.PageBlockTextSpan = PageBlockTextSpan; exports.PageBlockTextSpanAttribute = PageBlockTextSpanAttribute; exports.PageBlockTextSpanAttributeType = PageBlockTextSpanAttributeType; exports.PageBlockTheme = PageBlockTheme; exports.PageBlockThemeDisplayMode = PageBlockThemeDisplayMode; exports.PageBlockThemeType = PageBlockThemeType; exports.PageBlockTilesAlignment = PageBlockTilesAlignment; exports.PageBlockTilesLayout = PageBlockTilesLayout; exports.PageBlockTypeV1 = PageBlockTypeV1; exports.PageBlockUrlPreview = PageBlockUrlPreview; exports.PageBlockV1 = PageBlockV1; exports.PageBlockV2 = PageBlockV2; exports.PageSectionAppearanceV2 = PageSectionAppearanceV2; exports.PageSectionColumnV2 = PageSectionColumnV2; exports.PageSectionEditorModelV2 = PageSectionEditorModelV2; exports.PageSectionItemV2 = PageSectionItemV2; exports.PageSectionPaddingV2 = PageSectionPaddingV2; exports.PageSectionTypeV2 = PageSectionTypeV2; exports.ParagraphIndentTokenData = ParagraphIndentTokenData; exports.ParagraphIndentUnit = ParagraphIndentUnit; exports.ParagraphIndentValue = ParagraphIndentValue; exports.ParagraphSpacingTokenData = ParagraphSpacingTokenData; exports.ParagraphSpacingUnit = ParagraphSpacingUnit; exports.ParagraphSpacingValue = ParagraphSpacingValue; exports.PeriodSchema = PeriodSchema; exports.PersonalAccessToken = PersonalAccessToken; exports.Pipeline = Pipeline; exports.PipelineDestinationExtraType = PipelineDestinationExtraType; exports.PipelineDestinationGitType = PipelineDestinationGitType; exports.PipelineDestinationType = PipelineDestinationType; exports.PipelineEventType = PipelineEventType; exports.PluginOAuthRequestSchema = PluginOAuthRequestSchema; exports.Point2D = Point2D; exports.PostStripeCheckoutBodyInputSchema = PostStripeCheckoutBodyInputSchema; exports.PostStripeCheckoutOutputSchema = PostStripeCheckoutOutputSchema; exports.PostStripePortalSessionBodyInputSchema = PostStripePortalSessionBodyInputSchema; exports.PostStripePortalSessionOutputSchema = PostStripePortalSessionOutputSchema; exports.PostStripePortalUpdateSessionBodyInputSchema = PostStripePortalUpdateSessionBodyInputSchema; exports.PriceSchema = PriceSchema; exports.ProductCode = ProductCode; exports.ProductCodeSchema = ProductCodeSchema; exports.ProductCopyTokenData = ProductCopyTokenData; exports.ProductCopyValue = ProductCopyValue; exports.PublishedDoc = PublishedDoc; exports.PublishedDocEnvironment = PublishedDocEnvironment; exports.PublishedDocPage = PublishedDocPage; exports.PublishedDocRoutingVersion = PublishedDocRoutingVersion; exports.PublishedDocsChecksums = PublishedDocsChecksums; exports.PublishedDocsDump = PublishedDocsDump; exports.PulsarBaseProperty = PulsarBaseProperty; exports.PulsarContributionConfigurationProperty = PulsarContributionConfigurationProperty; exports.PulsarContributionVariant = PulsarContributionVariant; exports.PulsarCustomBlock = PulsarCustomBlock; exports.PulsarPropertyType = PulsarPropertyType; exports.RESERVED_SLUGS = RESERVED_SLUGS; exports.RESERVED_SLUG_PREFIX = RESERVED_SLUG_PREFIX; exports.RenderedAssetFile = RenderedAssetFile; exports.ResolvedAsset = ResolvedAsset; exports.RestoredDocumentationGroup = RestoredDocumentationGroup; exports.RestoredDocumentationPage = RestoredDocumentationPage; exports.RoomType = RoomType; exports.RoomTypeEnum = RoomTypeEnum; exports.RoomTypeSchema = RoomTypeSchema; exports.SHORT_PERSISTENT_ID_LENGTH = SHORT_PERSISTENT_ID_LENGTH; exports.SafeIdSchema = SafeIdSchema; exports.Session = Session; exports.SessionData = SessionData; exports.ShadowLayerValue = ShadowLayerValue; exports.ShadowTokenData = ShadowTokenData; exports.ShadowType = ShadowType; exports.ShallowDesignElement = ShallowDesignElement; exports.Size = Size; exports.SizeOrUndefined = SizeOrUndefined; exports.SizeTokenData = SizeTokenData; exports.SizeUnit = SizeUnit; exports.SizeValue = SizeValue; exports.SourceImportComponentSummary = SourceImportComponentSummary; exports.SourceImportFrameSummary = SourceImportFrameSummary; exports.SourceImportSummary = SourceImportSummary; exports.SourceImportSummaryByTokenType = SourceImportSummaryByTokenType; exports.SourceImportTokenSummary = SourceImportTokenSummary; exports.SpaceTokenData = SpaceTokenData; exports.SpaceUnit = SpaceUnit; exports.SpaceValue = SpaceValue; exports.SsoProvider = SsoProvider; exports.StringTokenData = StringTokenData; exports.StringValue = StringValue; exports.StripeSubscriptionStatus = StripeSubscriptionStatus; exports.StripeSubscriptionStatusSchema = StripeSubscriptionStatusSchema; exports.Subscription = Subscription; exports.SupernovaException = SupernovaException; exports.TextCase = TextCase; exports.TextCaseTokenData = TextCaseTokenData; exports.TextCaseValue = TextCaseValue; exports.TextDecoration = TextDecoration; exports.TextDecorationTokenData = TextDecorationTokenData; exports.TextDecorationValue = TextDecorationValue; exports.Theme = Theme; exports.ThemeElementData = ThemeElementData; exports.ThemeImportModel = ThemeImportModel; exports.ThemeImportModelInput = ThemeImportModelInput; exports.ThemeOrigin = ThemeOrigin; exports.ThemeOriginObject = ThemeOriginObject; exports.ThemeOriginPart = ThemeOriginPart; exports.ThemeOriginSource = ThemeOriginSource; exports.ThemeOverride = ThemeOverride; exports.ThemeOverrideImportModel = ThemeOverrideImportModel; exports.ThemeOverrideImportModelBase = ThemeOverrideImportModelBase; exports.ThemeOverrideImportModelInput = ThemeOverrideImportModelInput; exports.ThemeOverrideOrigin = ThemeOverrideOrigin; exports.ThemeOverrideOriginPart = ThemeOverrideOriginPart; exports.ThemeUpdateImportModel = ThemeUpdateImportModel; exports.ThemeUpdateImportModelInput = ThemeUpdateImportModelInput; exports.TokenDataAliasSchema = TokenDataAliasSchema; exports.TypographyTokenData = TypographyTokenData; exports.TypographyValue = TypographyValue; exports.UpdateMembershipRolesInput = UpdateMembershipRolesInput; exports.UrlImageImportModel = UrlImageImportModel; exports.User = User; exports.UserAnalyticsCleanupSchedule = UserAnalyticsCleanupSchedule; exports.UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupScheduleDbInput; exports.UserDump = UserDump; exports.UserIdentity = UserIdentity; exports.UserInvite = UserInvite; exports.UserInvites = UserInvites; exports.UserLinkedIntegrations = UserLinkedIntegrations; exports.UserMinified = UserMinified; exports.UserNotificationSettings = UserNotificationSettings; exports.UserOnboarding = UserOnboarding; exports.UserOnboardingDepartment = UserOnboardingDepartment; exports.UserOnboardingJobLevel = UserOnboardingJobLevel; exports.UserProfile = UserProfile; exports.UserProfileUpdate = UserProfileUpdate; exports.UserSession = UserSession; exports.UserTest = UserTest; exports.VersionCreationJob = VersionCreationJob; exports.VersionCreationJobStatus = VersionCreationJobStatus; exports.Visibility = Visibility; exports.VisibilityTokenData = VisibilityTokenData; exports.VisibilityValue = VisibilityValue; exports.Workspace = Workspace; exports.WorkspaceConfigurationUpdate = WorkspaceConfigurationUpdate; exports.WorkspaceContext = WorkspaceContext; exports.WorkspaceDump = WorkspaceDump; exports.WorkspaceInvitation = WorkspaceInvitation; exports.WorkspaceIpSettings = WorkspaceIpSettings; exports.WorkspaceIpWhitelistEntry = WorkspaceIpWhitelistEntry; exports.WorkspaceMembership = WorkspaceMembership; exports.WorkspaceOAuthRequestSchema = WorkspaceOAuthRequestSchema; exports.WorkspaceProfile = WorkspaceProfile; exports.WorkspaceProfileUpdate = WorkspaceProfileUpdate; exports.WorkspaceRole = WorkspaceRole; exports.WorkspaceRoleSchema = WorkspaceRoleSchema; exports.WorkspaceRoom = WorkspaceRoom; exports.WorkspaceWithDesignSystems = WorkspaceWithDesignSystems; exports.ZIndexTokenData = ZIndexTokenData; exports.ZIndexUnit = ZIndexUnit; exports.ZIndexValue = ZIndexValue; exports.addImportModelCollections = addImportModelCollections; exports.buildConstantEnum = buildConstantEnum; exports.defaultDocumentationItemConfigurationV1 = defaultDocumentationItemConfigurationV1; exports.defaultDocumentationItemConfigurationV2 = defaultDocumentationItemConfigurationV2; exports.defaultDocumentationItemHeaderV1 = defaultDocumentationItemHeaderV1; exports.defaultDocumentationItemHeaderV2 = defaultDocumentationItemHeaderV2; exports.defaultNotificationSettings = defaultNotificationSettings; exports.designTokenImportModelTypeFilter = designTokenImportModelTypeFilter; exports.designTokenTypeFilter = designTokenTypeFilter; exports.extractTokenTypedData = extractTokenTypedData; exports.figmaFileStructureImportModelToMap = figmaFileStructureImportModelToMap; exports.figmaFileStructureToMap = figmaFileStructureToMap; exports.filterNonNullish = filterNonNullish; exports.forceUnwrapNullish = forceUnwrapNullish; exports.getCodenameFromText = getCodenameFromText; exports.getFigmaRenderFormatFileExtension = getFigmaRenderFormatFileExtension; exports.groupBy = groupBy; exports.isDesignTokenImportModelOfType = isDesignTokenImportModelOfType; exports.isDesignTokenOfType = isDesignTokenOfType; exports.isImportedAsset = isImportedAsset; exports.isImportedComponent = isImportedComponent; exports.isImportedDesignToken = isImportedDesignToken; exports.isSlugReserved = isSlugReserved; exports.isTokenType = isTokenType; exports.mapByUnique = mapByUnique; exports.mapPageBlockItemValuesV2 = mapPageBlockItemValuesV2; exports.nonNullFilter = nonNullFilter; exports.nonNullishFilter = nonNullishFilter; exports.nullishToOptional = nullishToOptional; exports.parseUrl = parseUrl; exports.pickLatestGroupSnapshots = pickLatestGroupSnapshots; exports.pickLatestPageSnapshots = pickLatestPageSnapshots; exports.pickLatestSnapshots = pickLatestSnapshots; exports.promiseWithTimeout = promiseWithTimeout; exports.publishedDocEnvironments = publishedDocEnvironments; exports.sleep = sleep; exports.slugRegex = slugRegex; exports.slugify = slugify; exports.tokenAliasOrValue = tokenAliasOrValue; exports.tokenElementTypes = tokenElementTypes; exports.traversePageBlockItemValuesV2 = traversePageBlockItemValuesV2; exports.traversePageBlockItemsV2 = traversePageBlockItemsV2; exports.traversePageBlocksV1 = traversePageBlocksV1; exports.traversePageItemsV2 = traversePageItemsV2; exports.traverseStructure = traverseStructure; exports.trimLeadingSlash = trimLeadingSlash; exports.trimTrailingSlash = trimTrailingSlash; exports.tryParseShortPersistentId = tryParseShortPersistentId; exports.tryParseUrl = tryParseUrl; exports.uniqueBy = uniqueBy; exports.zodCreateInputOmit = zodCreateInputOmit; exports.zodUpdateInputOmit = zodUpdateInputOmit;
5532
5595
  //# sourceMappingURL=index.js.map