@supernova-studio/client 0.55.16 → 0.55.18

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
@@ -128,7 +128,6 @@ var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequire
128
128
 
129
129
 
130
130
 
131
- var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
132
131
 
133
132
 
134
133
 
@@ -152,6 +151,7 @@ var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr)
152
151
 
153
152
 
154
153
 
154
+ var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
155
155
 
156
156
 
157
157
 
@@ -3573,234 +3573,19 @@ var ElementGroupSnapshot = DesignElementSnapshotBase.extend({
3573
3573
  function pickLatestGroupSnapshots(snapshots) {
3574
3574
  return pickLatestSnapshots(snapshots, (s) => s.group.id);
3575
3575
  }
3576
- var NpmRegistryAuthType = _zod.z.enum(["Basic", "Bearer", "None", "Custom"]);
3577
- var NpmRegistryType = _zod.z.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
3578
- var NpmRegistryBasicAuthConfig = _zod.z.object({
3579
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.Basic),
3580
- username: _zod.z.string(),
3581
- password: _zod.z.string()
3582
- });
3583
- var NpmRegistryBearerAuthConfig = _zod.z.object({
3584
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.Bearer),
3585
- accessToken: _zod.z.string()
3586
- });
3587
- var NpmRegistryNoAuthConfig = _zod.z.object({
3588
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.None)
3589
- });
3590
- var NpmRegistrCustomAuthConfig = _zod.z.object({
3591
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.Custom),
3592
- authHeaderName: _zod.z.string(),
3593
- authHeaderValue: _zod.z.string()
3594
- });
3595
- var NpmRegistryAuthConfig = _zod.z.discriminatedUnion("authType", [
3596
- NpmRegistryBasicAuthConfig,
3597
- NpmRegistryBearerAuthConfig,
3598
- NpmRegistryNoAuthConfig,
3599
- NpmRegistrCustomAuthConfig
3600
- ]);
3601
- var NpmRegistryConfigBase = _zod.z.object({
3602
- registryType: NpmRegistryType,
3603
- enabledScopes: _zod.z.array(_zod.z.string()),
3604
- customRegistryUrl: _zod.z.string().optional(),
3605
- bypassProxy: _zod.z.boolean().default(false),
3606
- npmProxyRegistryConfigId: _zod.z.string().optional(),
3607
- npmProxyVersion: _zod.z.number().optional()
3608
- });
3609
- var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
3610
- var SsoProvider = _zod.z.object({
3611
- providerId: _zod.z.string(),
3612
- defaultAutoInviteValue: _zod.z.boolean(),
3613
- autoInviteDomains: _zod.z.record(_zod.z.string(), _zod.z.boolean()),
3614
- skipDocsSupernovaLogin: _zod.z.boolean(),
3615
- areInvitesDisabled: _zod.z.boolean(),
3616
- isTestMode: _zod.z.boolean(),
3617
- emailDomains: _zod.z.array(_zod.z.string()),
3618
- metadataXml: _zod.z.string().nullish()
3619
- });
3620
3576
  var WorkspaceRoleSchema = _zod.z.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
3621
3577
  var WorkspaceRole = WorkspaceRoleSchema.enum;
3622
- var MAX_MEMBERS_COUNT = 100;
3623
- var UserInvite = _zod.z.object({
3624
- email: _zod.z.string().email().trim().transform((value) => value.toLowerCase()),
3625
- role: WorkspaceRoleSchema
3626
- });
3627
- var UserInvites = _zod.z.array(UserInvite).max(MAX_MEMBERS_COUNT);
3628
- var isValidCIDR = (value) => {
3629
- return _ipcidr2.default.isValidAddress(value);
3630
- };
3631
- var WorkspaceIpWhitelistEntry = _zod.z.object({
3632
- isEnabled: _zod.z.boolean(),
3633
- name: _zod.z.string(),
3634
- range: _zod.z.string().refine(isValidCIDR, {
3635
- message: "Invalid IP CIDR"
3636
- })
3637
- });
3638
- var WorkspaceIpSettings = _zod.z.object({
3639
- isEnabledForCloud: _zod.z.boolean(),
3640
- isEnabledForDocs: _zod.z.boolean(),
3641
- entries: _zod.z.array(WorkspaceIpWhitelistEntry)
3642
- });
3643
- var WorkspaceProfile = _zod.z.object({
3644
- name: _zod.z.string(),
3645
- handle: _zod.z.string(),
3646
- color: _zod.z.string(),
3647
- avatar: nullishToOptional(_zod.z.string()),
3648
- billingDetails: nullishToOptional(BillingDetails)
3649
- });
3650
- var WorkspaceProfileUpdate = WorkspaceProfile.omit({
3651
- avatar: true
3652
- });
3653
- var Workspace = _zod.z.object({
3654
- id: _zod.z.string(),
3655
- profile: WorkspaceProfile,
3656
- subscription: Subscription,
3657
- ipWhitelist: nullishToOptional(WorkspaceIpSettings),
3658
- sso: nullishToOptional(SsoProvider),
3659
- npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
3660
- });
3661
- var WorkspaceWithDesignSystems = _zod.z.object({
3662
- workspace: Workspace,
3663
- designSystems: _zod.z.array(DesignSystem)
3664
- });
3665
- var WorkspaceConfigurationUpdate = _zod.z.object({
3666
- id: _zod.z.string(),
3667
- ipWhitelist: WorkspaceIpSettings.optional(),
3668
- sso: SsoProvider.optional(),
3669
- npmRegistrySettings: NpmRegistryConfig.optional(),
3670
- profile: WorkspaceProfileUpdate.optional()
3671
- });
3672
- var WorkspaceContext = _zod.z.object({
3673
- workspaceId: _zod.z.string(),
3674
- product: ProductCodeSchema,
3675
- ipWhitelist: nullishToOptional(WorkspaceIpSettings),
3676
- publicDesignSystem: _zod.z.boolean().optional()
3677
- });
3678
- var WORKSPACE_NAME_MIN_LENGTH = 2;
3679
- var WORKSPACE_NAME_MAX_LENGTH = 64;
3680
- var HANDLE_MIN_LENGTH = 2;
3681
- var HANDLE_MAX_LENGTH = 64;
3682
- var CreateWorkspaceInput = _zod.z.object({
3683
- name: _zod.z.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
3684
- handle: _zod.z.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => _optionalChain([value, 'optionalAccess', _2 => _2.length]) > 0).optional()
3685
- });
3686
- var WorkspaceInvitation = _zod.z.object({
3687
- id: _zod.z.string(),
3688
- email: _zod.z.string().email(),
3689
- createdAt: _zod.z.coerce.date(),
3690
- resentAt: _zod.z.coerce.date().nullish(),
3691
- role: _zod.z.nativeEnum(WorkspaceRole),
3692
- workspaceId: _zod.z.string(),
3693
- invitedBy: _zod.z.string()
3694
- });
3695
- var IntegrationAuthType = _zod.z.union([_zod.z.literal("OAuth2"), _zod.z.literal("PAT")]);
3696
- var ExternalServiceType = _zod.z.union([
3697
- _zod.z.literal("figma"),
3698
- _zod.z.literal("github"),
3699
- _zod.z.literal("azure"),
3700
- _zod.z.literal("gitlab"),
3701
- _zod.z.literal("bitbucket")
3702
- ]);
3703
- var IntegrationUserInfo = _zod.z.object({
3704
- id: _zod.z.string(),
3705
- handle: _zod.z.string().optional(),
3706
- avatarUrl: _zod.z.string().optional(),
3707
- email: _zod.z.string().optional(),
3708
- authType: IntegrationAuthType.optional(),
3709
- customUrl: _zod.z.string().optional()
3710
- });
3711
- var UserLinkedIntegrations = _zod.z.object({
3712
- figma: IntegrationUserInfo.optional(),
3713
- github: IntegrationUserInfo.array().optional(),
3714
- azure: IntegrationUserInfo.array().optional(),
3715
- gitlab: IntegrationUserInfo.array().optional(),
3716
- bitbucket: IntegrationUserInfo.array().optional()
3717
- });
3718
- var UserAnalyticsCleanupSchedule = _zod.z.object({
3719
- userId: _zod.z.string(),
3720
- createdAt: _zod.z.coerce.date(),
3721
- deleteAt: _zod.z.coerce.date()
3722
- });
3723
- var UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
3724
- createdAt: true
3725
- });
3726
- var UserIdentity = _zod.z.object({
3727
- id: _zod.z.string(),
3728
- userId: _zod.z.string()
3729
- });
3730
- var UserMinified = _zod.z.object({
3731
- id: _zod.z.string(),
3732
- name: _zod.z.string(),
3733
- email: _zod.z.string(),
3734
- avatar: _zod.z.string().optional()
3735
- });
3736
- var LiveblocksNotificationSettings = _zod.z.object({
3737
- sendCommentNotificationEmails: _zod.z.boolean()
3738
- });
3739
- var UserNotificationSettings = _zod.z.object({
3740
- liveblocksNotificationSettings: LiveblocksNotificationSettings
3741
- });
3742
- var UserOnboardingDepartment = _zod.z.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
3743
- var UserOnboardingJobLevel = _zod.z.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
3744
- var UserOnboarding = _zod.z.object({
3745
- companyName: _zod.z.string().optional(),
3746
- numberOfPeopleInOrg: _zod.z.string().optional(),
3747
- numberOfPeopleInDesignTeam: _zod.z.string().optional(),
3748
- department: UserOnboardingDepartment.optional(),
3749
- jobTitle: _zod.z.string().optional(),
3750
- phase: _zod.z.string().optional(),
3751
- jobLevel: UserOnboardingJobLevel.optional(),
3752
- designSystemName: _zod.z.string().optional(),
3753
- defaultDestination: _zod.z.string().optional(),
3754
- figmaUrl: _zod.z.string().optional(),
3755
- isPageDraftOnboardingFinished: _zod.z.boolean().optional(),
3756
- isApprovalsOnboardingFinished: _zod.z.boolean().optional()
3757
- });
3758
- var UserProfile = _zod.z.object({
3759
- name: _zod.z.string(),
3760
- avatar: _zod.z.string().optional(),
3761
- nickname: _zod.z.string().optional(),
3762
- onboarding: UserOnboarding.optional()
3763
- });
3764
- var UserProfileUpdate = UserProfile.partial().omit({
3765
- avatar: true
3766
- });
3767
- var UserTest = _zod.z.object({
3768
- id: _zod.z.string(),
3769
- email: _zod.z.string()
3770
- });
3771
- var UserSource = _zod.z.enum(["SignUp", "Invite", "SSO"]);
3772
- var User = _zod.z.object({
3773
- id: _zod.z.string(),
3774
- email: _zod.z.string(),
3775
- emailVerified: _zod.z.boolean(),
3776
- createdAt: _zod.z.coerce.date(),
3777
- trialExpiresAt: _zod.z.coerce.date().optional(),
3778
- profile: UserProfile,
3779
- linkedIntegrations: UserLinkedIntegrations.optional(),
3780
- loggedOutAt: _zod.z.coerce.date().optional(),
3781
- isProtected: _zod.z.boolean(),
3782
- source: UserSource.optional()
3783
- });
3784
- var WorkspaceMembership = _zod.z.object({
3785
- id: _zod.z.string(),
3786
- userId: _zod.z.string(),
3787
- workspaceId: _zod.z.string(),
3788
- workspaceRole: _zod.z.nativeEnum(WorkspaceRole),
3789
- notificationSettings: UserNotificationSettings
3790
- });
3791
- var UpdateMembershipRolesInput = _zod.z.object({
3792
- members: _zod.z.array(
3793
- _zod.z.object({
3794
- userId: _zod.z.string(),
3795
- role: _zod.z.nativeEnum(WorkspaceRole)
3796
- })
3797
- )
3798
- });
3799
3578
  var DesignSystemInvitation = _zod.z.object({
3800
3579
  id: _zod.z.string(),
3801
3580
  designSystemId: _zod.z.string(),
3802
3581
  workspaceInvitationId: _zod.z.string()
3803
3582
  });
3583
+ var DesignSystemRole = _zod.z.enum([
3584
+ WorkspaceRole.Admin,
3585
+ WorkspaceRole.Contributor,
3586
+ WorkspaceRole.Creator,
3587
+ WorkspaceRole.Viewer
3588
+ ]);
3804
3589
  var DesignSystemMembership = _zod.z.object({
3805
3590
  id: _zod.z.string(),
3806
3591
  userId: _zod.z.string(),
@@ -3812,14 +3597,29 @@ var DesignSystemMembers = _zod.z.object({
3812
3597
  invitations: DesignSystemInvitation.array()
3813
3598
  });
3814
3599
  var DesignSystemPendingMemberInvitation = _zod.z.object({
3815
- inviteId: _zod.z.string()
3600
+ inviteId: _zod.z.string(),
3601
+ /**
3602
+ * Role that the user will have in the design system, undefined
3603
+ * if it should be inherited from the workspace
3604
+ */
3605
+ designSystemRole: DesignSystemRole.optional()
3816
3606
  });
3817
3607
  var DesignSystemUserInvitation = _zod.z.object({
3818
- userId: _zod.z.string()
3608
+ userId: _zod.z.string(),
3609
+ /**
3610
+ * Role that the user will have in the design system, undefined
3611
+ * if it should be inherited from the workspace
3612
+ */
3613
+ designSystemRole: DesignSystemRole.optional()
3819
3614
  });
3820
3615
  var DesignSystemInvite = _zod.z.object({
3821
3616
  email: _zod.z.string(),
3822
- workspaceRole: WorkspaceRoleSchema
3617
+ workspaceRole: WorkspaceRoleSchema,
3618
+ /**
3619
+ * Role that the user will have in the design system, undefined
3620
+ * if it should be inherited from the workspace
3621
+ */
3622
+ designSystemRole: DesignSystemRole.optional()
3823
3623
  });
3824
3624
  var DesignSystemMembershipUpdates = _zod.z.object({
3825
3625
  usersToInvite: DesignSystemUserInvitation.array().optional(),
@@ -3888,7 +3688,6 @@ var DesignSystem = _zod.z.object({
3888
3688
  docSlug: _zod.z.string(),
3889
3689
  docUserSlug: nullishToOptional(_zod.z.string()),
3890
3690
  docSlugDeprecated: _zod.z.string(),
3891
- isPublic: _zod.z.boolean(),
3892
3691
  isMultibrand: _zod.z.boolean(),
3893
3692
  docViewUrl: nullishToOptional(_zod.z.string()),
3894
3693
  basePrefixes: _zod.z.array(_zod.z.string()),
@@ -4199,6 +3998,95 @@ var DesignSystemDump = _zod.z.object({
4199
3998
  customDomain: CustomDomain.optional(),
4200
3999
  files: Asset.array()
4201
4000
  });
4001
+ var IntegrationAuthType = _zod.z.union([_zod.z.literal("OAuth2"), _zod.z.literal("PAT")]);
4002
+ var ExternalServiceType = _zod.z.union([
4003
+ _zod.z.literal("figma"),
4004
+ _zod.z.literal("github"),
4005
+ _zod.z.literal("azure"),
4006
+ _zod.z.literal("gitlab"),
4007
+ _zod.z.literal("bitbucket")
4008
+ ]);
4009
+ var IntegrationUserInfo = _zod.z.object({
4010
+ id: _zod.z.string(),
4011
+ handle: _zod.z.string().optional(),
4012
+ avatarUrl: _zod.z.string().optional(),
4013
+ email: _zod.z.string().optional(),
4014
+ authType: IntegrationAuthType.optional(),
4015
+ customUrl: _zod.z.string().optional()
4016
+ });
4017
+ var UserLinkedIntegrations = _zod.z.object({
4018
+ figma: IntegrationUserInfo.optional(),
4019
+ github: IntegrationUserInfo.array().optional(),
4020
+ azure: IntegrationUserInfo.array().optional(),
4021
+ gitlab: IntegrationUserInfo.array().optional(),
4022
+ bitbucket: IntegrationUserInfo.array().optional()
4023
+ });
4024
+ var UserAnalyticsCleanupSchedule = _zod.z.object({
4025
+ userId: _zod.z.string(),
4026
+ createdAt: _zod.z.coerce.date(),
4027
+ deleteAt: _zod.z.coerce.date()
4028
+ });
4029
+ var UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
4030
+ createdAt: true
4031
+ });
4032
+ var UserIdentity = _zod.z.object({
4033
+ id: _zod.z.string(),
4034
+ userId: _zod.z.string()
4035
+ });
4036
+ var UserMinified = _zod.z.object({
4037
+ id: _zod.z.string(),
4038
+ name: _zod.z.string(),
4039
+ email: _zod.z.string(),
4040
+ avatar: _zod.z.string().optional()
4041
+ });
4042
+ var LiveblocksNotificationSettings = _zod.z.object({
4043
+ sendCommentNotificationEmails: _zod.z.boolean()
4044
+ });
4045
+ var UserNotificationSettings = _zod.z.object({
4046
+ liveblocksNotificationSettings: LiveblocksNotificationSettings
4047
+ });
4048
+ var UserOnboardingDepartment = _zod.z.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
4049
+ var UserOnboardingJobLevel = _zod.z.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
4050
+ var UserOnboarding = _zod.z.object({
4051
+ companyName: _zod.z.string().optional(),
4052
+ numberOfPeopleInOrg: _zod.z.string().optional(),
4053
+ numberOfPeopleInDesignTeam: _zod.z.string().optional(),
4054
+ department: UserOnboardingDepartment.optional(),
4055
+ jobTitle: _zod.z.string().optional(),
4056
+ phase: _zod.z.string().optional(),
4057
+ jobLevel: UserOnboardingJobLevel.optional(),
4058
+ designSystemName: _zod.z.string().optional(),
4059
+ defaultDestination: _zod.z.string().optional(),
4060
+ figmaUrl: _zod.z.string().optional(),
4061
+ isPageDraftOnboardingFinished: _zod.z.boolean().optional(),
4062
+ isApprovalsOnboardingFinished: _zod.z.boolean().optional()
4063
+ });
4064
+ var UserProfile = _zod.z.object({
4065
+ name: _zod.z.string(),
4066
+ avatar: _zod.z.string().optional(),
4067
+ nickname: _zod.z.string().optional(),
4068
+ onboarding: UserOnboarding.optional()
4069
+ });
4070
+ var UserProfileUpdate = UserProfile.partial().omit({
4071
+ avatar: true
4072
+ });
4073
+ var UserTest = _zod.z.object({
4074
+ id: _zod.z.string(),
4075
+ email: _zod.z.string()
4076
+ });
4077
+ var UserSource = _zod.z.enum(["SignUp", "Invite", "SSO"]);
4078
+ var User = _zod.z.object({
4079
+ id: _zod.z.string(),
4080
+ email: _zod.z.string(),
4081
+ emailVerified: _zod.z.boolean(),
4082
+ createdAt: _zod.z.coerce.date(),
4083
+ trialExpiresAt: _zod.z.coerce.date().optional(),
4084
+ profile: UserProfile,
4085
+ linkedIntegrations: UserLinkedIntegrations.optional(),
4086
+ loggedOutAt: _zod.z.coerce.date().optional(),
4087
+ isProtected: _zod.z.boolean(),
4088
+ source: UserSource.optional()
4089
+ });
4202
4090
  var IntegrationDesignSystem = _zod.z.object({
4203
4091
  designSystemId: _zod.z.string(),
4204
4092
  brandId: _zod.z.string(),
@@ -4266,7 +4154,7 @@ var IntegrationToken = _zod.z.object({
4266
4154
  token_bitbucket_username: _zod.z.string().optional(),
4267
4155
  // Bitbucket only
4268
4156
  custom_url: _zod.z.string().optional().transform((value) => {
4269
- if (!_optionalChain([value, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]))
4157
+ if (!_optionalChain([value, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]))
4270
4158
  return void 0;
4271
4159
  return formatCustomUrl(value);
4272
4160
  })
@@ -4301,6 +4189,87 @@ function formatCustomUrl(url) {
4301
4189
  }
4302
4190
  return forbiddenCustomUrlDomainList.some((domain) => formattedUrl.includes(domain)) ? void 0 : formattedUrl;
4303
4191
  }
4192
+ var NpmRegistryAuthType = _zod.z.enum(["Basic", "Bearer", "None", "Custom"]);
4193
+ var NpmRegistryType = _zod.z.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
4194
+ var NpmRegistryBasicAuthConfig = _zod.z.object({
4195
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.Basic),
4196
+ username: _zod.z.string(),
4197
+ password: _zod.z.string()
4198
+ });
4199
+ var NpmRegistryBearerAuthConfig = _zod.z.object({
4200
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.Bearer),
4201
+ accessToken: _zod.z.string()
4202
+ });
4203
+ var NpmRegistryNoAuthConfig = _zod.z.object({
4204
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.None)
4205
+ });
4206
+ var NpmRegistrCustomAuthConfig = _zod.z.object({
4207
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.Custom),
4208
+ authHeaderName: _zod.z.string(),
4209
+ authHeaderValue: _zod.z.string()
4210
+ });
4211
+ var NpmRegistryAuthConfig = _zod.z.discriminatedUnion("authType", [
4212
+ NpmRegistryBasicAuthConfig,
4213
+ NpmRegistryBearerAuthConfig,
4214
+ NpmRegistryNoAuthConfig,
4215
+ NpmRegistrCustomAuthConfig
4216
+ ]);
4217
+ var NpmRegistryConfigBase = _zod.z.object({
4218
+ registryType: NpmRegistryType,
4219
+ enabledScopes: _zod.z.array(_zod.z.string()),
4220
+ customRegistryUrl: _zod.z.string().optional(),
4221
+ bypassProxy: _zod.z.boolean().default(false),
4222
+ npmProxyRegistryConfigId: _zod.z.string().optional(),
4223
+ npmProxyVersion: _zod.z.number().optional()
4224
+ });
4225
+ var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
4226
+ var SsoProvider = _zod.z.object({
4227
+ providerId: _zod.z.string(),
4228
+ defaultAutoInviteValue: _zod.z.boolean(),
4229
+ autoInviteDomains: _zod.z.record(_zod.z.string(), _zod.z.boolean()),
4230
+ skipDocsSupernovaLogin: _zod.z.boolean(),
4231
+ areInvitesDisabled: _zod.z.boolean(),
4232
+ isTestMode: _zod.z.boolean(),
4233
+ emailDomains: _zod.z.array(_zod.z.string()),
4234
+ metadataXml: _zod.z.string().nullish()
4235
+ });
4236
+ var isValidCIDR = (value) => {
4237
+ return _ipcidr2.default.isValidAddress(value);
4238
+ };
4239
+ var WorkspaceIpWhitelistEntry = _zod.z.object({
4240
+ isEnabled: _zod.z.boolean(),
4241
+ name: _zod.z.string(),
4242
+ range: _zod.z.string().refine(isValidCIDR, {
4243
+ message: "Invalid IP CIDR"
4244
+ })
4245
+ });
4246
+ var WorkspaceIpSettings = _zod.z.object({
4247
+ isEnabledForCloud: _zod.z.boolean(),
4248
+ isEnabledForDocs: _zod.z.boolean(),
4249
+ entries: _zod.z.array(WorkspaceIpWhitelistEntry)
4250
+ });
4251
+ var WorkspaceProfile = _zod.z.object({
4252
+ name: _zod.z.string(),
4253
+ handle: _zod.z.string(),
4254
+ color: _zod.z.string(),
4255
+ avatar: nullishToOptional(_zod.z.string()),
4256
+ billingDetails: nullishToOptional(BillingDetails)
4257
+ });
4258
+ var WorkspaceProfileUpdate = WorkspaceProfile.omit({
4259
+ avatar: true
4260
+ });
4261
+ var Workspace = _zod.z.object({
4262
+ id: _zod.z.string(),
4263
+ profile: WorkspaceProfile,
4264
+ subscription: Subscription,
4265
+ ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4266
+ sso: nullishToOptional(SsoProvider),
4267
+ npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
4268
+ });
4269
+ var WorkspaceWithDesignSystems = _zod.z.object({
4270
+ workspace: Workspace,
4271
+ designSystems: _zod.z.array(DesignSystem)
4272
+ });
4304
4273
  var WorkspaceDump = _zod.z.object({
4305
4274
  workspace: Workspace,
4306
4275
  designSystems: DesignSystemDump.array(),
@@ -4333,6 +4302,57 @@ var UserSession = _zod.z.object({
4333
4302
  session: Session,
4334
4303
  user: User.nullable()
4335
4304
  });
4305
+ var MAX_MEMBERS_COUNT = 100;
4306
+ var UserInvite = _zod.z.object({
4307
+ email: _zod.z.string().email().trim().transform((value) => value.toLowerCase()),
4308
+ role: WorkspaceRoleSchema
4309
+ });
4310
+ var UserInvites = _zod.z.array(UserInvite).max(MAX_MEMBERS_COUNT);
4311
+ var WorkspaceConfigurationUpdate = _zod.z.object({
4312
+ id: _zod.z.string(),
4313
+ ipWhitelist: WorkspaceIpSettings.optional(),
4314
+ sso: SsoProvider.optional(),
4315
+ npmRegistrySettings: NpmRegistryConfig.optional(),
4316
+ profile: WorkspaceProfileUpdate.optional()
4317
+ });
4318
+ var WorkspaceContext = _zod.z.object({
4319
+ workspaceId: _zod.z.string(),
4320
+ product: ProductCodeSchema,
4321
+ ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4322
+ publicDesignSystem: _zod.z.boolean().optional()
4323
+ });
4324
+ var WORKSPACE_NAME_MIN_LENGTH = 2;
4325
+ var WORKSPACE_NAME_MAX_LENGTH = 64;
4326
+ var HANDLE_MIN_LENGTH = 2;
4327
+ var HANDLE_MAX_LENGTH = 64;
4328
+ var CreateWorkspaceInput = _zod.z.object({
4329
+ name: _zod.z.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
4330
+ handle: _zod.z.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => _optionalChain([value, 'optionalAccess', _4 => _4.length]) > 0).optional()
4331
+ });
4332
+ var WorkspaceInvitation = _zod.z.object({
4333
+ id: _zod.z.string(),
4334
+ email: _zod.z.string().email(),
4335
+ createdAt: _zod.z.coerce.date(),
4336
+ resentAt: _zod.z.coerce.date().nullish(),
4337
+ role: _zod.z.nativeEnum(WorkspaceRole),
4338
+ workspaceId: _zod.z.string(),
4339
+ invitedBy: _zod.z.string()
4340
+ });
4341
+ var WorkspaceMembership = _zod.z.object({
4342
+ id: _zod.z.string(),
4343
+ userId: _zod.z.string(),
4344
+ workspaceId: _zod.z.string(),
4345
+ workspaceRole: _zod.z.nativeEnum(WorkspaceRole),
4346
+ notificationSettings: UserNotificationSettings
4347
+ });
4348
+ var UpdateMembershipRolesInput = _zod.z.object({
4349
+ members: _zod.z.array(
4350
+ _zod.z.object({
4351
+ userId: _zod.z.string(),
4352
+ role: _zod.z.nativeEnum(WorkspaceRole)
4353
+ })
4354
+ )
4355
+ });
4336
4356
  var DesignSystemInviteEmailRecipient = _zod.z.object({
4337
4357
  email: _zod.z.string(),
4338
4358
  role: WorkspaceRoleSchema
@@ -5130,12 +5150,33 @@ var DTODataSourceCreationResponse = _zod.z.object({
5130
5150
 
5131
5151
  // src/api/dto/design-systems/members.ts
5132
5152
 
5153
+
5154
+ // src/api/dto/design-systems/role.ts
5155
+
5156
+ var DTODesignSystemRole = _zod.z.enum([
5157
+ WorkspaceRole.Admin,
5158
+ WorkspaceRole.Contributor,
5159
+ WorkspaceRole.Creator,
5160
+ WorkspaceRole.Viewer
5161
+ ]);
5162
+
5163
+ // src/api/dto/design-systems/members.ts
5133
5164
  var DTODesignSystemMember = _zod.z.object({
5134
- userId: _zod.z.string()
5165
+ userId: _zod.z.string(),
5166
+ /**
5167
+ * Role that the member has in the design system,
5168
+ * undefined if set to inherit from workspace
5169
+ */
5170
+ designSystemRole: DTODesignSystemRole.optional()
5135
5171
  });
5136
5172
  var DTODesignSystemInvitation = _zod.z.object({
5137
5173
  id: _zod.z.string(),
5138
- workspaceInvitationId: _zod.z.string()
5174
+ workspaceInvitationId: _zod.z.string(),
5175
+ /**
5176
+ * Role that the invitation has in the design system,
5177
+ * undefined if set to inherit from workspace
5178
+ */
5179
+ designSystemRole: DTODesignSystemRole.optional()
5139
5180
  });
5140
5181
  var DTODesignSystemMemberListResponse = _zod.z.object({
5141
5182
  members: DTODesignSystemMember.array(),
@@ -5160,7 +5201,15 @@ var DTODesignSystem = DesignSystem.omit({
5160
5201
  * has access to the design system's contents.
5161
5202
  */
5162
5203
  isAvailableToUser: _zod.z.boolean(),
5163
- role: WorkspaceRoleSchema.optional()
5204
+ /**
5205
+ * @deprecated
5206
+ */
5207
+ role: WorkspaceRoleSchema.optional(),
5208
+ /**
5209
+ * User's role within the design system that can come either from
5210
+ * the design system or workspace.
5211
+ */
5212
+ effectiveRole: DTODesignSystemRole.optional()
5164
5213
  });
5165
5214
  var DTODesignSystemResponse = _zod.z.object({
5166
5215
  designSystem: DTODesignSystem
@@ -5607,6 +5656,24 @@ var DTOAppBootstrapDataResponse = _zod.z.object({
5607
5656
  brand: DTOBrand.optional()
5608
5657
  });
5609
5658
 
5659
+ // src/api/dto/collections/collection.ts
5660
+
5661
+ var DTOTokenCollection = _zod.z.object({
5662
+ id: _zod.z.string(),
5663
+ persistentId: _zod.z.string(),
5664
+ designSystemVersionId: _zod.z.string(),
5665
+ meta: ObjectMeta,
5666
+ createdAt: _zod.z.coerce.date(),
5667
+ updatedAt: _zod.z.coerce.date(),
5668
+ origin: _zod.z.object({
5669
+ id: _zod.z.string(),
5670
+ sourceId: _zod.z.string()
5671
+ })
5672
+ });
5673
+ var DTOTokenCollectionsListReponse = _zod.z.object({
5674
+ collections: DTOTokenCollection.array()
5675
+ });
5676
+
5610
5677
  // src/api/dto/documentation/anchor.ts
5611
5678
 
5612
5679
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
@@ -6567,6 +6634,19 @@ var DesignSystemsEndpoint = class {
6567
6634
  }
6568
6635
  };
6569
6636
 
6637
+ // src/api/endpoints/token-collections.ts
6638
+ var TokenCollectionsEndpoint = class {
6639
+ constructor(requestExecutor) {
6640
+ this.requestExecutor = requestExecutor;
6641
+ }
6642
+ list(dsId, vId) {
6643
+ return this.requestExecutor.json(
6644
+ `/design-systems/${dsId}/versions/${vId}/token-collections`,
6645
+ DTOTokenCollectionsListReponse
6646
+ );
6647
+ }
6648
+ };
6649
+
6570
6650
  // src/api/endpoints/users.ts
6571
6651
  var UsersEndpoint = class {
6572
6652
  constructor(requestExecutor) {
@@ -11973,5 +12053,9 @@ var BackendVersionRoomYDoc = class {
11973
12053
 
11974
12054
 
11975
12055
 
11976
- exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.DTOAppBootstrapDataQuery = DTOAppBootstrapDataQuery; exports.DTOAppBootstrapDataResponse = DTOAppBootstrapDataResponse; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOAuthenticatedUser = DTOAuthenticatedUser; exports.DTOAuthenticatedUserProfile = DTOAuthenticatedUserProfile; exports.DTOAuthenticatedUserResponse = DTOAuthenticatedUserResponse; exports.DTOBrand = DTOBrand; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCreateBrandInput = DTOCreateBrandInput; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateElementPropertyDefinitionInputV2 = DTOCreateElementPropertyDefinitionInputV2; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceCreationResponse = DTODataSourceCreationResponse; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODeleteElementPropertyDefinitionInputV2 = DTODeleteElementPropertyDefinitionInputV2; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemCreateInput = DTODesignSystemCreateInput; exports.DTODesignSystemInvitation = DTODesignSystemInvitation; exports.DTODesignSystemMember = DTODesignSystemMember; exports.DTODesignSystemMemberListResponse = DTODesignSystemMemberListResponse; exports.DTODesignSystemMembersUpdatePayload = DTODesignSystemMembersUpdatePayload; exports.DTODesignSystemMembersUpdateResponse = DTODesignSystemMembersUpdateResponse; exports.DTODesignSystemResponse = DTODesignSystemResponse; exports.DTODesignSystemUpdateAccessModeInput = DTODesignSystemUpdateAccessModeInput; exports.DTODesignSystemUpdateInput = DTODesignSystemUpdateInput; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODesignSystemsListResponse = DTODesignSystemsListResponse; exports.DTODiffCountBase = DTODiffCountBase; exports.DTODocumentationDraftChangeType = DTODocumentationDraftChangeType; exports.DTODocumentationDraftState = DTODocumentationDraftState; exports.DTODocumentationDraftStateCreated = DTODocumentationDraftStateCreated; exports.DTODocumentationDraftStateDeleted = DTODocumentationDraftStateDeleted; exports.DTODocumentationDraftStateUpdated = DTODocumentationDraftStateUpdated; exports.DTODocumentationGroupApprovalState = DTODocumentationGroupApprovalState; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupRestoreActionInput = DTODocumentationGroupRestoreActionInput; exports.DTODocumentationGroupRestoreActionOutput = DTODocumentationGroupRestoreActionOutput; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageApprovalState = DTODocumentationPageApprovalState; exports.DTODocumentationPageApprovalStateChangeActionInput = DTODocumentationPageApprovalStateChangeActionInput; exports.DTODocumentationPageApprovalStateChangeActionOutput = DTODocumentationPageApprovalStateChangeActionOutput; exports.DTODocumentationPageApprovalStateChangeInput = DTODocumentationPageApprovalStateChangeInput; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRestoreActionInput = DTODocumentationPageRestoreActionInput; exports.DTODocumentationPageRestoreActionOutput = DTODocumentationPageRestoreActionOutput; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODownloadAssetsRequest = DTODownloadAssetsRequest; exports.DTODownloadAssetsResponse = DTODownloadAssetsResponse; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionsGetResponse = DTOElementPropertyDefinitionsGetResponse; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValuesGetResponse = DTOElementPropertyValuesGetResponse; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExportJobResult = DTOExportJobResult; exports.DTOExportJobsListFilter = DTOExportJobsListFilter; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterCreateOutput = DTOExporterCreateOutput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterProperty = DTOExporterProperty; exports.DTOExporterPropertyListResponse = DTOExporterPropertyListResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; exports.DTOFigmaComponentListResponse = DTOFigmaComponentListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOGitBranch = DTOGitBranch; exports.DTOGitOrganization = DTOGitOrganization; exports.DTOGitProject = DTOGitProject; exports.DTOGitRepository = DTOGitRepository; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationCredentials = DTOIntegrationCredentials; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOLiveblocksAuthResponse = DTOLiveblocksAuthResponse; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTONpmRegistryConfigConstants = DTONpmRegistryConfigConstants; exports.DTOPageBlockColorV2 = DTOPageBlockColorV2; exports.DTOPageBlockDefinition = DTOPageBlockDefinition; exports.DTOPageBlockDefinitionBehavior = DTOPageBlockDefinitionBehavior; exports.DTOPageBlockDefinitionItem = DTOPageBlockDefinitionItem; exports.DTOPageBlockDefinitionLayout = DTOPageBlockDefinitionLayout; exports.DTOPageBlockDefinitionProperty = DTOPageBlockDefinitionProperty; exports.DTOPageBlockDefinitionVariant = DTOPageBlockDefinitionVariant; exports.DTOPageBlockItemV2 = DTOPageBlockItemV2; exports.DTOPagination = DTOPagination; exports.DTOPipeline = DTOPipeline; exports.DTOPipelineCreateBody = DTOPipelineCreateBody; exports.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPropertyDefinitionCreateActionInputV2 = DTOPropertyDefinitionCreateActionInputV2; exports.DTOPropertyDefinitionCreateActionOutputV2 = DTOPropertyDefinitionCreateActionOutputV2; exports.DTOPropertyDefinitionDeleteActionInputV2 = DTOPropertyDefinitionDeleteActionInputV2; exports.DTOPropertyDefinitionDeleteActionOutputV2 = DTOPropertyDefinitionDeleteActionOutputV2; exports.DTOPropertyDefinitionUpdateActionInputV2 = DTOPropertyDefinitionUpdateActionInputV2; exports.DTOPropertyDefinitionUpdateActionOutputV2 = DTOPropertyDefinitionUpdateActionOutputV2; exports.DTOPublishDocumentationChanges = DTOPublishDocumentationChanges; exports.DTOPublishDocumentationRequest = DTOPublishDocumentationRequest; exports.DTOPublishDocumentationResponse = DTOPublishDocumentationResponse; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTORestoreDocumentationGroupInput = DTORestoreDocumentationGroupInput; exports.DTORestoreDocumentationPageInput = DTORestoreDocumentationPageInput; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateElementPropertyDefinitionInputV2 = DTOUpdateElementPropertyDefinitionInputV2; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUser = DTOUser; exports.DTOUserGetResponse = DTOUserGetResponse; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserOnboarding = DTOUserOnboarding; exports.DTOUserOnboardingDepartment = DTOUserOnboardingDepartment; exports.DTOUserOnboardingJobLevel = DTOUserOnboardingJobLevel; exports.DTOUserProfile = DTOUserProfile; exports.DTOUserProfileUpdate = DTOUserProfileUpdate; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserSource = DTOUserSource; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceCreateInput = DTOWorkspaceCreateInput; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceInvitationInput = DTOWorkspaceInvitationInput; exports.DTOWorkspaceInvitationsListInput = DTOWorkspaceInvitationsListInput; exports.DTOWorkspaceInvitationsResponse = DTOWorkspaceInvitationsResponse; exports.DTOWorkspaceResponse = DTOWorkspaceResponse; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DesignSystemMembersEndpoint = DesignSystemMembersEndpoint; exports.DesignSystemVersionsEndpoint = DesignSystemVersionsEndpoint; exports.DesignSystemsEndpoint = DesignSystemsEndpoint; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.ListTreeBuilder = ListTreeBuilder; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.RequestExecutor = RequestExecutor; exports.RequestExecutorError = RequestExecutorError; exports.SupernovaApiClient = SupernovaApiClient; exports.UsersEndpoint = UsersEndpoint; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.WorkspaceInvitationsEndpoint = WorkspaceInvitationsEndpoint; exports.WorkspaceMembersEndpoint = WorkspaceMembersEndpoint; exports.WorkspacesEndpoint = WorkspacesEndpoint; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPageToDTOV2 = documentationPageToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.generateHash = generateHash; exports.generatePageContentHash = generatePageContentHash; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.gitBranchToDto = gitBranchToDto; exports.gitOrganizationToDto = gitOrganizationToDto; exports.gitProjectToDto = gitProjectToDto; exports.gitRepositoryToDto = gitRepositoryToDto; exports.innerEditorProsemirrorSchema = innerEditorProsemirrorSchema; exports.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.mainEditorProsemirrorSchema = mainEditorProsemirrorSchema; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pipelineToDto = pipelineToDto; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorDocToRichTextPropertyValue = prosemirrorDocToRichTextPropertyValue; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.richTextPropertyValueToProsemirror = richTextPropertyValueToProsemirror; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
12056
+
12057
+
12058
+
12059
+
12060
+ exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.DTOAppBootstrapDataQuery = DTOAppBootstrapDataQuery; exports.DTOAppBootstrapDataResponse = DTOAppBootstrapDataResponse; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOAuthenticatedUser = DTOAuthenticatedUser; exports.DTOAuthenticatedUserProfile = DTOAuthenticatedUserProfile; exports.DTOAuthenticatedUserResponse = DTOAuthenticatedUserResponse; exports.DTOBrand = DTOBrand; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCreateBrandInput = DTOCreateBrandInput; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateElementPropertyDefinitionInputV2 = DTOCreateElementPropertyDefinitionInputV2; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceCreationResponse = DTODataSourceCreationResponse; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODeleteElementPropertyDefinitionInputV2 = DTODeleteElementPropertyDefinitionInputV2; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemCreateInput = DTODesignSystemCreateInput; exports.DTODesignSystemInvitation = DTODesignSystemInvitation; exports.DTODesignSystemMember = DTODesignSystemMember; exports.DTODesignSystemMemberListResponse = DTODesignSystemMemberListResponse; exports.DTODesignSystemMembersUpdatePayload = DTODesignSystemMembersUpdatePayload; exports.DTODesignSystemMembersUpdateResponse = DTODesignSystemMembersUpdateResponse; exports.DTODesignSystemResponse = DTODesignSystemResponse; exports.DTODesignSystemRole = DTODesignSystemRole; exports.DTODesignSystemUpdateAccessModeInput = DTODesignSystemUpdateAccessModeInput; exports.DTODesignSystemUpdateInput = DTODesignSystemUpdateInput; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODesignSystemsListResponse = DTODesignSystemsListResponse; exports.DTODiffCountBase = DTODiffCountBase; exports.DTODocumentationDraftChangeType = DTODocumentationDraftChangeType; exports.DTODocumentationDraftState = DTODocumentationDraftState; exports.DTODocumentationDraftStateCreated = DTODocumentationDraftStateCreated; exports.DTODocumentationDraftStateDeleted = DTODocumentationDraftStateDeleted; exports.DTODocumentationDraftStateUpdated = DTODocumentationDraftStateUpdated; exports.DTODocumentationGroupApprovalState = DTODocumentationGroupApprovalState; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupRestoreActionInput = DTODocumentationGroupRestoreActionInput; exports.DTODocumentationGroupRestoreActionOutput = DTODocumentationGroupRestoreActionOutput; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageApprovalState = DTODocumentationPageApprovalState; exports.DTODocumentationPageApprovalStateChangeActionInput = DTODocumentationPageApprovalStateChangeActionInput; exports.DTODocumentationPageApprovalStateChangeActionOutput = DTODocumentationPageApprovalStateChangeActionOutput; exports.DTODocumentationPageApprovalStateChangeInput = DTODocumentationPageApprovalStateChangeInput; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRestoreActionInput = DTODocumentationPageRestoreActionInput; exports.DTODocumentationPageRestoreActionOutput = DTODocumentationPageRestoreActionOutput; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODownloadAssetsRequest = DTODownloadAssetsRequest; exports.DTODownloadAssetsResponse = DTODownloadAssetsResponse; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionsGetResponse = DTOElementPropertyDefinitionsGetResponse; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValuesGetResponse = DTOElementPropertyValuesGetResponse; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExportJobResult = DTOExportJobResult; exports.DTOExportJobsListFilter = DTOExportJobsListFilter; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterCreateOutput = DTOExporterCreateOutput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterProperty = DTOExporterProperty; exports.DTOExporterPropertyListResponse = DTOExporterPropertyListResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; exports.DTOFigmaComponentListResponse = DTOFigmaComponentListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOGitBranch = DTOGitBranch; exports.DTOGitOrganization = DTOGitOrganization; exports.DTOGitProject = DTOGitProject; exports.DTOGitRepository = DTOGitRepository; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationCredentials = DTOIntegrationCredentials; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOLiveblocksAuthResponse = DTOLiveblocksAuthResponse; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTONpmRegistryConfigConstants = DTONpmRegistryConfigConstants; exports.DTOPageBlockColorV2 = DTOPageBlockColorV2; exports.DTOPageBlockDefinition = DTOPageBlockDefinition; exports.DTOPageBlockDefinitionBehavior = DTOPageBlockDefinitionBehavior; exports.DTOPageBlockDefinitionItem = DTOPageBlockDefinitionItem; exports.DTOPageBlockDefinitionLayout = DTOPageBlockDefinitionLayout; exports.DTOPageBlockDefinitionProperty = DTOPageBlockDefinitionProperty; exports.DTOPageBlockDefinitionVariant = DTOPageBlockDefinitionVariant; exports.DTOPageBlockItemV2 = DTOPageBlockItemV2; exports.DTOPagination = DTOPagination; exports.DTOPipeline = DTOPipeline; exports.DTOPipelineCreateBody = DTOPipelineCreateBody; exports.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPropertyDefinitionCreateActionInputV2 = DTOPropertyDefinitionCreateActionInputV2; exports.DTOPropertyDefinitionCreateActionOutputV2 = DTOPropertyDefinitionCreateActionOutputV2; exports.DTOPropertyDefinitionDeleteActionInputV2 = DTOPropertyDefinitionDeleteActionInputV2; exports.DTOPropertyDefinitionDeleteActionOutputV2 = DTOPropertyDefinitionDeleteActionOutputV2; exports.DTOPropertyDefinitionUpdateActionInputV2 = DTOPropertyDefinitionUpdateActionInputV2; exports.DTOPropertyDefinitionUpdateActionOutputV2 = DTOPropertyDefinitionUpdateActionOutputV2; exports.DTOPublishDocumentationChanges = DTOPublishDocumentationChanges; exports.DTOPublishDocumentationRequest = DTOPublishDocumentationRequest; exports.DTOPublishDocumentationResponse = DTOPublishDocumentationResponse; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTORestoreDocumentationGroupInput = DTORestoreDocumentationGroupInput; exports.DTORestoreDocumentationPageInput = DTORestoreDocumentationPageInput; exports.DTOTokenCollection = DTOTokenCollection; exports.DTOTokenCollectionsListReponse = DTOTokenCollectionsListReponse; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateElementPropertyDefinitionInputV2 = DTOUpdateElementPropertyDefinitionInputV2; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUser = DTOUser; exports.DTOUserGetResponse = DTOUserGetResponse; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserOnboarding = DTOUserOnboarding; exports.DTOUserOnboardingDepartment = DTOUserOnboardingDepartment; exports.DTOUserOnboardingJobLevel = DTOUserOnboardingJobLevel; exports.DTOUserProfile = DTOUserProfile; exports.DTOUserProfileUpdate = DTOUserProfileUpdate; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserSource = DTOUserSource; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceCreateInput = DTOWorkspaceCreateInput; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceInvitationInput = DTOWorkspaceInvitationInput; exports.DTOWorkspaceInvitationsListInput = DTOWorkspaceInvitationsListInput; exports.DTOWorkspaceInvitationsResponse = DTOWorkspaceInvitationsResponse; exports.DTOWorkspaceResponse = DTOWorkspaceResponse; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DesignSystemMembersEndpoint = DesignSystemMembersEndpoint; exports.DesignSystemVersionsEndpoint = DesignSystemVersionsEndpoint; exports.DesignSystemsEndpoint = DesignSystemsEndpoint; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.ListTreeBuilder = ListTreeBuilder; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.RequestExecutor = RequestExecutor; exports.RequestExecutorError = RequestExecutorError; exports.SupernovaApiClient = SupernovaApiClient; exports.TokenCollectionsEndpoint = TokenCollectionsEndpoint; exports.UsersEndpoint = UsersEndpoint; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.WorkspaceInvitationsEndpoint = WorkspaceInvitationsEndpoint; exports.WorkspaceMembersEndpoint = WorkspaceMembersEndpoint; exports.WorkspacesEndpoint = WorkspacesEndpoint; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPageToDTOV2 = documentationPageToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.generateHash = generateHash; exports.generatePageContentHash = generatePageContentHash; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.gitBranchToDto = gitBranchToDto; exports.gitOrganizationToDto = gitOrganizationToDto; exports.gitProjectToDto = gitProjectToDto; exports.gitRepositoryToDto = gitRepositoryToDto; exports.innerEditorProsemirrorSchema = innerEditorProsemirrorSchema; exports.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.mainEditorProsemirrorSchema = mainEditorProsemirrorSchema; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pipelineToDto = pipelineToDto; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorDocToRichTextPropertyValue = prosemirrorDocToRichTextPropertyValue; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.richTextPropertyValueToProsemirror = richTextPropertyValueToProsemirror; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
11977
12061
  //# sourceMappingURL=index.js.map