@supernova-studio/client 0.54.32 → 0.54.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -128,6 +128,8 @@ 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
135
 
@@ -149,7 +151,6 @@ var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequire
149
151
 
150
152
 
151
153
 
152
- var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
153
154
 
154
155
 
155
156
 
@@ -3557,12 +3558,261 @@ var ElementGroupSnapshot = DesignElementSnapshotBase.extend({
3557
3558
  function pickLatestGroupSnapshots(snapshots) {
3558
3559
  return pickLatestSnapshots(snapshots, (s) => s.group.id);
3559
3560
  }
3561
+ var NpmRegistryAuthType = _zod.z.enum(["Basic", "Bearer", "None", "Custom"]);
3562
+ var NpmRegistryType = _zod.z.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
3563
+ var NpmRegistryBasicAuthConfig = _zod.z.object({
3564
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.Basic),
3565
+ username: _zod.z.string(),
3566
+ password: _zod.z.string()
3567
+ });
3568
+ var NpmRegistryBearerAuthConfig = _zod.z.object({
3569
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.Bearer),
3570
+ accessToken: _zod.z.string()
3571
+ });
3572
+ var NpmRegistryNoAuthConfig = _zod.z.object({
3573
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.None)
3574
+ });
3575
+ var NpmRegistrCustomAuthConfig = _zod.z.object({
3576
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.Custom),
3577
+ authHeaderName: _zod.z.string(),
3578
+ authHeaderValue: _zod.z.string()
3579
+ });
3580
+ var NpmRegistryAuthConfig = _zod.z.discriminatedUnion("authType", [
3581
+ NpmRegistryBasicAuthConfig,
3582
+ NpmRegistryBearerAuthConfig,
3583
+ NpmRegistryNoAuthConfig,
3584
+ NpmRegistrCustomAuthConfig
3585
+ ]);
3586
+ var NpmRegistryConfigBase = _zod.z.object({
3587
+ registryType: NpmRegistryType,
3588
+ enabledScopes: _zod.z.array(_zod.z.string()),
3589
+ customRegistryUrl: _zod.z.string().optional(),
3590
+ bypassProxy: _zod.z.boolean().default(false),
3591
+ npmProxyRegistryConfigId: _zod.z.string().optional(),
3592
+ npmProxyVersion: _zod.z.number().optional()
3593
+ });
3594
+ var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
3595
+ var SsoProvider = _zod.z.object({
3596
+ providerId: _zod.z.string(),
3597
+ defaultAutoInviteValue: _zod.z.boolean(),
3598
+ autoInviteDomains: _zod.z.record(_zod.z.string(), _zod.z.boolean()),
3599
+ skipDocsSupernovaLogin: _zod.z.boolean(),
3600
+ areInvitesDisabled: _zod.z.boolean(),
3601
+ isTestMode: _zod.z.boolean(),
3602
+ emailDomains: _zod.z.array(_zod.z.string()),
3603
+ metadataXml: _zod.z.string().nullish()
3604
+ });
3605
+ var WorkspaceRoleSchema = _zod.z.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
3606
+ var WorkspaceRole = WorkspaceRoleSchema.enum;
3607
+ var MAX_MEMBERS_COUNT = 100;
3608
+ var UserInvite = _zod.z.object({
3609
+ email: _zod.z.string().email().trim().transform((value) => value.toLowerCase()),
3610
+ role: WorkspaceRoleSchema
3611
+ });
3612
+ var UserInvites = _zod.z.array(UserInvite).max(MAX_MEMBERS_COUNT);
3613
+ var isValidCIDR = (value) => {
3614
+ return _ipcidr2.default.isValidAddress(value);
3615
+ };
3616
+ var WorkspaceIpWhitelistEntry = _zod.z.object({
3617
+ isEnabled: _zod.z.boolean(),
3618
+ name: _zod.z.string(),
3619
+ range: _zod.z.string().refine(isValidCIDR, {
3620
+ message: "Invalid IP CIDR"
3621
+ })
3622
+ });
3623
+ var WorkspaceIpSettings = _zod.z.object({
3624
+ isEnabledForCloud: _zod.z.boolean(),
3625
+ isEnabledForDocs: _zod.z.boolean(),
3626
+ entries: _zod.z.array(WorkspaceIpWhitelistEntry)
3627
+ });
3628
+ var WorkspaceProfile = _zod.z.object({
3629
+ name: _zod.z.string(),
3630
+ handle: _zod.z.string(),
3631
+ color: _zod.z.string(),
3632
+ avatar: nullishToOptional(_zod.z.string()),
3633
+ billingDetails: nullishToOptional(BillingDetails)
3634
+ });
3635
+ var WorkspaceProfileUpdate = WorkspaceProfile.omit({
3636
+ avatar: true
3637
+ });
3638
+ var Workspace = _zod.z.object({
3639
+ id: _zod.z.string(),
3640
+ profile: WorkspaceProfile,
3641
+ subscription: Subscription,
3642
+ ipWhitelist: nullishToOptional(WorkspaceIpSettings),
3643
+ sso: nullishToOptional(SsoProvider),
3644
+ npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
3645
+ });
3646
+ var WorkspaceWithDesignSystems = _zod.z.object({
3647
+ workspace: Workspace,
3648
+ designSystems: _zod.z.array(DesignSystem)
3649
+ });
3650
+ var WorkspaceConfigurationUpdate = _zod.z.object({
3651
+ id: _zod.z.string(),
3652
+ ipWhitelist: WorkspaceIpSettings.optional(),
3653
+ sso: SsoProvider.optional(),
3654
+ npmRegistrySettings: NpmRegistryConfig.optional(),
3655
+ profile: WorkspaceProfileUpdate.optional()
3656
+ });
3657
+ var WorkspaceContext = _zod.z.object({
3658
+ workspaceId: _zod.z.string(),
3659
+ product: ProductCodeSchema,
3660
+ ipWhitelist: nullishToOptional(WorkspaceIpSettings),
3661
+ publicDesignSystem: _zod.z.boolean().optional()
3662
+ });
3663
+ var WORKSPACE_NAME_MIN_LENGTH = 2;
3664
+ var WORKSPACE_NAME_MAX_LENGTH = 64;
3665
+ var HANDLE_MIN_LENGTH = 2;
3666
+ var HANDLE_MAX_LENGTH = 64;
3667
+ var CreateWorkspaceInput = _zod.z.object({
3668
+ name: _zod.z.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
3669
+ handle: _zod.z.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => _optionalChain([value, 'optionalAccess', _2 => _2.length]) > 0).optional()
3670
+ });
3671
+ var WorkspaceInvitation = _zod.z.object({
3672
+ id: _zod.z.string(),
3673
+ email: _zod.z.string().email(),
3674
+ createdAt: _zod.z.coerce.date(),
3675
+ resentAt: _zod.z.coerce.date().nullish(),
3676
+ role: _zod.z.nativeEnum(WorkspaceRole),
3677
+ workspaceId: _zod.z.string(),
3678
+ invitedBy: _zod.z.string()
3679
+ });
3680
+ var IntegrationAuthType = _zod.z.union([_zod.z.literal("OAuth2"), _zod.z.literal("PAT")]);
3681
+ var ExternalServiceType = _zod.z.union([
3682
+ _zod.z.literal("figma"),
3683
+ _zod.z.literal("github"),
3684
+ _zod.z.literal("azure"),
3685
+ _zod.z.literal("gitlab"),
3686
+ _zod.z.literal("bitbucket")
3687
+ ]);
3688
+ var IntegrationUserInfo = _zod.z.object({
3689
+ id: _zod.z.string(),
3690
+ handle: _zod.z.string().optional(),
3691
+ avatarUrl: _zod.z.string().optional(),
3692
+ email: _zod.z.string().optional(),
3693
+ authType: IntegrationAuthType.optional(),
3694
+ customUrl: _zod.z.string().optional()
3695
+ });
3696
+ var UserLinkedIntegrations = _zod.z.object({
3697
+ figma: IntegrationUserInfo.optional(),
3698
+ github: IntegrationUserInfo.array().optional(),
3699
+ azure: IntegrationUserInfo.array().optional(),
3700
+ gitlab: IntegrationUserInfo.array().optional(),
3701
+ bitbucket: IntegrationUserInfo.array().optional()
3702
+ });
3703
+ var UserAnalyticsCleanupSchedule = _zod.z.object({
3704
+ userId: _zod.z.string(),
3705
+ createdAt: _zod.z.coerce.date(),
3706
+ deleteAt: _zod.z.coerce.date()
3707
+ });
3708
+ var UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
3709
+ createdAt: true
3710
+ });
3711
+ var UserIdentity = _zod.z.object({
3712
+ id: _zod.z.string(),
3713
+ userId: _zod.z.string()
3714
+ });
3715
+ var UserMinified = _zod.z.object({
3716
+ id: _zod.z.string(),
3717
+ name: _zod.z.string(),
3718
+ email: _zod.z.string(),
3719
+ avatar: _zod.z.string().optional()
3720
+ });
3721
+ var LiveblocksNotificationSettings = _zod.z.object({
3722
+ sendCommentNotificationEmails: _zod.z.boolean()
3723
+ });
3724
+ var UserNotificationSettings = _zod.z.object({
3725
+ liveblocksNotificationSettings: LiveblocksNotificationSettings
3726
+ });
3727
+ var UserOnboardingDepartment = _zod.z.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
3728
+ var UserOnboardingJobLevel = _zod.z.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
3729
+ var UserOnboarding = _zod.z.object({
3730
+ companyName: _zod.z.string().optional(),
3731
+ numberOfPeopleInOrg: _zod.z.string().optional(),
3732
+ numberOfPeopleInDesignTeam: _zod.z.string().optional(),
3733
+ department: UserOnboardingDepartment.optional(),
3734
+ jobTitle: _zod.z.string().optional(),
3735
+ phase: _zod.z.string().optional(),
3736
+ jobLevel: UserOnboardingJobLevel.optional(),
3737
+ designSystemName: _zod.z.string().optional(),
3738
+ defaultDestination: _zod.z.string().optional(),
3739
+ figmaUrl: _zod.z.string().optional(),
3740
+ isPageDraftOnboardingFinished: _zod.z.boolean().optional(),
3741
+ isApprovalsOnboardingFinished: _zod.z.boolean().optional()
3742
+ });
3743
+ var UserProfile = _zod.z.object({
3744
+ name: _zod.z.string(),
3745
+ avatar: _zod.z.string().optional(),
3746
+ nickname: _zod.z.string().optional(),
3747
+ onboarding: UserOnboarding.optional()
3748
+ });
3749
+ var UserProfileUpdate = UserProfile.partial().omit({
3750
+ avatar: true
3751
+ });
3752
+ var UserTest = _zod.z.object({
3753
+ id: _zod.z.string(),
3754
+ email: _zod.z.string()
3755
+ });
3756
+ var UserSource = _zod.z.enum(["SignUp", "Invite", "SSO"]);
3757
+ var User = _zod.z.object({
3758
+ id: _zod.z.string(),
3759
+ email: _zod.z.string(),
3760
+ emailVerified: _zod.z.boolean(),
3761
+ createdAt: _zod.z.coerce.date(),
3762
+ trialExpiresAt: _zod.z.coerce.date().optional(),
3763
+ profile: UserProfile,
3764
+ linkedIntegrations: UserLinkedIntegrations.optional(),
3765
+ loggedOutAt: _zod.z.coerce.date().optional(),
3766
+ isProtected: _zod.z.boolean(),
3767
+ source: UserSource.optional()
3768
+ });
3769
+ var WorkspaceMembership = _zod.z.object({
3770
+ id: _zod.z.string(),
3771
+ userId: _zod.z.string(),
3772
+ workspaceId: _zod.z.string(),
3773
+ workspaceRole: _zod.z.nativeEnum(WorkspaceRole),
3774
+ notificationSettings: UserNotificationSettings
3775
+ });
3776
+ var UpdateMembershipRolesInput = _zod.z.object({
3777
+ members: _zod.z.array(
3778
+ _zod.z.object({
3779
+ userId: _zod.z.string(),
3780
+ role: _zod.z.nativeEnum(WorkspaceRole)
3781
+ })
3782
+ )
3783
+ });
3784
+ var DesignSystemInvitation = _zod.z.object({
3785
+ id: _zod.z.string(),
3786
+ designSystemId: _zod.z.string(),
3787
+ workspaceInvitationId: _zod.z.string()
3788
+ });
3560
3789
  var DesignSystemMembership = _zod.z.object({
3561
3790
  id: _zod.z.string(),
3562
3791
  userId: _zod.z.string(),
3563
3792
  designSystemId: _zod.z.string(),
3564
3793
  workspaceMembershipId: _zod.z.string()
3565
3794
  });
3795
+ var DesignSystemMembers = _zod.z.object({
3796
+ members: DesignSystemMembership.array(),
3797
+ invitations: DesignSystemInvitation.array()
3798
+ });
3799
+ var DesignSystemPendingMemberInvitation = _zod.z.object({
3800
+ inviteId: _zod.z.string()
3801
+ });
3802
+ var DesignSystemUserInvitation = _zod.z.object({
3803
+ userId: _zod.z.string()
3804
+ });
3805
+ var DesignSystemInvite = _zod.z.object({
3806
+ email: _zod.z.string(),
3807
+ workspaceRole: WorkspaceRoleSchema
3808
+ });
3809
+ var DesignSystemMembershipUpdates = _zod.z.object({
3810
+ usersToInvite: DesignSystemUserInvitation.array().optional(),
3811
+ invitesToInvite: DesignSystemPendingMemberInvitation.array().optional(),
3812
+ emailsToInvite: DesignSystemInvite.array().optional(),
3813
+ removeUserIds: _zod.z.string().array().optional(),
3814
+ deleteInvitationIds: _zod.z.string().array().optional()
3815
+ });
3566
3816
  var ElementViewBaseColumnType = _zod.z.enum(["Name", "Description", "Value", "UpdatedAt"]);
3567
3817
  var ElementViewColumnType = _zod.z.union([
3568
3818
  _zod.z.literal("BaseProperty"),
@@ -3934,95 +4184,6 @@ var DesignSystemDump = _zod.z.object({
3934
4184
  customDomain: CustomDomain.optional(),
3935
4185
  files: Asset.array()
3936
4186
  });
3937
- var IntegrationAuthType = _zod.z.union([_zod.z.literal("OAuth2"), _zod.z.literal("PAT")]);
3938
- var ExternalServiceType = _zod.z.union([
3939
- _zod.z.literal("figma"),
3940
- _zod.z.literal("github"),
3941
- _zod.z.literal("azure"),
3942
- _zod.z.literal("gitlab"),
3943
- _zod.z.literal("bitbucket")
3944
- ]);
3945
- var IntegrationUserInfo = _zod.z.object({
3946
- id: _zod.z.string(),
3947
- handle: _zod.z.string().optional(),
3948
- avatarUrl: _zod.z.string().optional(),
3949
- email: _zod.z.string().optional(),
3950
- authType: IntegrationAuthType.optional(),
3951
- customUrl: _zod.z.string().optional()
3952
- });
3953
- var UserLinkedIntegrations = _zod.z.object({
3954
- figma: IntegrationUserInfo.optional(),
3955
- github: IntegrationUserInfo.array().optional(),
3956
- azure: IntegrationUserInfo.array().optional(),
3957
- gitlab: IntegrationUserInfo.array().optional(),
3958
- bitbucket: IntegrationUserInfo.array().optional()
3959
- });
3960
- var UserAnalyticsCleanupSchedule = _zod.z.object({
3961
- userId: _zod.z.string(),
3962
- createdAt: _zod.z.coerce.date(),
3963
- deleteAt: _zod.z.coerce.date()
3964
- });
3965
- var UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
3966
- createdAt: true
3967
- });
3968
- var UserIdentity = _zod.z.object({
3969
- id: _zod.z.string(),
3970
- userId: _zod.z.string()
3971
- });
3972
- var UserMinified = _zod.z.object({
3973
- id: _zod.z.string(),
3974
- name: _zod.z.string(),
3975
- email: _zod.z.string(),
3976
- avatar: _zod.z.string().optional()
3977
- });
3978
- var LiveblocksNotificationSettings = _zod.z.object({
3979
- sendCommentNotificationEmails: _zod.z.boolean()
3980
- });
3981
- var UserNotificationSettings = _zod.z.object({
3982
- liveblocksNotificationSettings: LiveblocksNotificationSettings
3983
- });
3984
- var UserOnboardingDepartment = _zod.z.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
3985
- var UserOnboardingJobLevel = _zod.z.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
3986
- var UserOnboarding = _zod.z.object({
3987
- companyName: _zod.z.string().optional(),
3988
- numberOfPeopleInOrg: _zod.z.string().optional(),
3989
- numberOfPeopleInDesignTeam: _zod.z.string().optional(),
3990
- department: UserOnboardingDepartment.optional(),
3991
- jobTitle: _zod.z.string().optional(),
3992
- phase: _zod.z.string().optional(),
3993
- jobLevel: UserOnboardingJobLevel.optional(),
3994
- designSystemName: _zod.z.string().optional(),
3995
- defaultDestination: _zod.z.string().optional(),
3996
- figmaUrl: _zod.z.string().optional(),
3997
- isPageDraftOnboardingFinished: _zod.z.boolean().optional(),
3998
- isApprovalsOnboardingFinished: _zod.z.boolean().optional()
3999
- });
4000
- var UserProfile = _zod.z.object({
4001
- name: _zod.z.string(),
4002
- avatar: _zod.z.string().optional(),
4003
- nickname: _zod.z.string().optional(),
4004
- onboarding: UserOnboarding.optional()
4005
- });
4006
- var UserProfileUpdate = UserProfile.partial().omit({
4007
- avatar: true
4008
- });
4009
- var UserTest = _zod.z.object({
4010
- id: _zod.z.string(),
4011
- email: _zod.z.string()
4012
- });
4013
- var UserSource = _zod.z.enum(["SignUp", "Invite", "SSO"]);
4014
- var User = _zod.z.object({
4015
- id: _zod.z.string(),
4016
- email: _zod.z.string(),
4017
- emailVerified: _zod.z.boolean(),
4018
- createdAt: _zod.z.coerce.date(),
4019
- trialExpiresAt: _zod.z.coerce.date().optional(),
4020
- profile: UserProfile,
4021
- linkedIntegrations: UserLinkedIntegrations.optional(),
4022
- loggedOutAt: _zod.z.coerce.date().optional(),
4023
- isProtected: _zod.z.boolean(),
4024
- source: UserSource.optional()
4025
- });
4026
4187
  var IntegrationDesignSystem = _zod.z.object({
4027
4188
  designSystemId: _zod.z.string(),
4028
4189
  brandId: _zod.z.string(),
@@ -4090,7 +4251,7 @@ var IntegrationToken = _zod.z.object({
4090
4251
  token_bitbucket_username: _zod.z.string().optional(),
4091
4252
  // Bitbucket only
4092
4253
  custom_url: _zod.z.string().optional().transform((value) => {
4093
- if (!_optionalChain([value, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]))
4254
+ if (!_optionalChain([value, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]))
4094
4255
  return void 0;
4095
4256
  return formatCustomUrl(value);
4096
4257
  })
@@ -4125,87 +4286,6 @@ function formatCustomUrl(url) {
4125
4286
  }
4126
4287
  return forbiddenCustomUrlDomainList.some((domain) => formattedUrl.includes(domain)) ? void 0 : formattedUrl;
4127
4288
  }
4128
- var NpmRegistryAuthType = _zod.z.enum(["Basic", "Bearer", "None", "Custom"]);
4129
- var NpmRegistryType = _zod.z.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
4130
- var NpmRegistryBasicAuthConfig = _zod.z.object({
4131
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.Basic),
4132
- username: _zod.z.string(),
4133
- password: _zod.z.string()
4134
- });
4135
- var NpmRegistryBearerAuthConfig = _zod.z.object({
4136
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.Bearer),
4137
- accessToken: _zod.z.string()
4138
- });
4139
- var NpmRegistryNoAuthConfig = _zod.z.object({
4140
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.None)
4141
- });
4142
- var NpmRegistrCustomAuthConfig = _zod.z.object({
4143
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.Custom),
4144
- authHeaderName: _zod.z.string(),
4145
- authHeaderValue: _zod.z.string()
4146
- });
4147
- var NpmRegistryAuthConfig = _zod.z.discriminatedUnion("authType", [
4148
- NpmRegistryBasicAuthConfig,
4149
- NpmRegistryBearerAuthConfig,
4150
- NpmRegistryNoAuthConfig,
4151
- NpmRegistrCustomAuthConfig
4152
- ]);
4153
- var NpmRegistryConfigBase = _zod.z.object({
4154
- registryType: NpmRegistryType,
4155
- enabledScopes: _zod.z.array(_zod.z.string()),
4156
- customRegistryUrl: _zod.z.string().optional(),
4157
- bypassProxy: _zod.z.boolean().default(false),
4158
- npmProxyRegistryConfigId: _zod.z.string().optional(),
4159
- npmProxyVersion: _zod.z.number().optional()
4160
- });
4161
- var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
4162
- var SsoProvider = _zod.z.object({
4163
- providerId: _zod.z.string(),
4164
- defaultAutoInviteValue: _zod.z.boolean(),
4165
- autoInviteDomains: _zod.z.record(_zod.z.string(), _zod.z.boolean()),
4166
- skipDocsSupernovaLogin: _zod.z.boolean(),
4167
- areInvitesDisabled: _zod.z.boolean(),
4168
- isTestMode: _zod.z.boolean(),
4169
- emailDomains: _zod.z.array(_zod.z.string()),
4170
- metadataXml: _zod.z.string().nullish()
4171
- });
4172
- var isValidCIDR = (value) => {
4173
- return _ipcidr2.default.isValidAddress(value);
4174
- };
4175
- var WorkspaceIpWhitelistEntry = _zod.z.object({
4176
- isEnabled: _zod.z.boolean(),
4177
- name: _zod.z.string(),
4178
- range: _zod.z.string().refine(isValidCIDR, {
4179
- message: "Invalid IP CIDR"
4180
- })
4181
- });
4182
- var WorkspaceIpSettings = _zod.z.object({
4183
- isEnabledForCloud: _zod.z.boolean(),
4184
- isEnabledForDocs: _zod.z.boolean(),
4185
- entries: _zod.z.array(WorkspaceIpWhitelistEntry)
4186
- });
4187
- var WorkspaceProfile = _zod.z.object({
4188
- name: _zod.z.string(),
4189
- handle: _zod.z.string(),
4190
- color: _zod.z.string(),
4191
- avatar: nullishToOptional(_zod.z.string()),
4192
- billingDetails: nullishToOptional(BillingDetails)
4193
- });
4194
- var WorkspaceProfileUpdate = WorkspaceProfile.omit({
4195
- avatar: true
4196
- });
4197
- var Workspace = _zod.z.object({
4198
- id: _zod.z.string(),
4199
- profile: WorkspaceProfile,
4200
- subscription: Subscription,
4201
- ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4202
- sso: nullishToOptional(SsoProvider),
4203
- npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
4204
- });
4205
- var WorkspaceWithDesignSystems = _zod.z.object({
4206
- workspace: Workspace,
4207
- designSystems: _zod.z.array(DesignSystem)
4208
- });
4209
4289
  var WorkspaceDump = _zod.z.object({
4210
4290
  workspace: Workspace,
4211
4291
  designSystems: DesignSystemDump.array(),
@@ -4463,72 +4543,6 @@ var NpmPackage = AnyRecord.and(
4463
4543
  var NpmProxyTokenPayload = _zod.z.object({
4464
4544
  npmProxyRegistryConfigId: _zod.z.string()
4465
4545
  });
4466
- var WorkspaceRoleSchema = _zod.z.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
4467
- var WorkspaceRole = WorkspaceRoleSchema.enum;
4468
- var MAX_MEMBERS_COUNT = 100;
4469
- var UserInvite = _zod.z.object({
4470
- email: _zod.z.string().email().trim().transform((value) => value.toLowerCase()),
4471
- role: WorkspaceRoleSchema
4472
- });
4473
- var UserInvites = _zod.z.array(UserInvite).max(MAX_MEMBERS_COUNT);
4474
- var WorkspaceConfigurationUpdate = _zod.z.object({
4475
- id: _zod.z.string(),
4476
- ipWhitelist: WorkspaceIpSettings.optional(),
4477
- sso: SsoProvider.optional(),
4478
- npmRegistrySettings: NpmRegistryConfig.optional(),
4479
- profile: WorkspaceProfileUpdate.optional()
4480
- });
4481
- var WorkspaceContext = _zod.z.object({
4482
- workspaceId: _zod.z.string(),
4483
- product: ProductCodeSchema,
4484
- ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4485
- publicDesignSystem: _zod.z.boolean().optional()
4486
- });
4487
- var WORKSPACE_NAME_MIN_LENGTH = 2;
4488
- var WORKSPACE_NAME_MAX_LENGTH = 64;
4489
- var HANDLE_MIN_LENGTH = 2;
4490
- var HANDLE_MAX_LENGTH = 64;
4491
- var CreateWorkspaceInput = _zod.z.object({
4492
- name: _zod.z.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
4493
- product: ProductCodeSchema,
4494
- priceId: _zod.z.string(),
4495
- billingEmail: _zod.z.string().email().optional(),
4496
- handle: _zod.z.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => _optionalChain([value, 'optionalAccess', _4 => _4.length]) > 0).optional(),
4497
- invites: UserInvites.optional(),
4498
- promoCode: _zod.z.string().optional(),
4499
- status: InternalStatusSchema.optional(),
4500
- planInterval: BillingIntervalSchema.optional(),
4501
- seats: _zod.z.number().optional(),
4502
- seatLimit: _zod.z.number().optional(),
4503
- card: CardSchema.optional(),
4504
- sso: SsoProvider.optional(),
4505
- npmRegistrySettings: NpmRegistryConfig.optional(),
4506
- ipWhitelist: WorkspaceIpSettings.optional()
4507
- });
4508
- var WorkspaceInvitation = _zod.z.object({
4509
- id: _zod.z.string(),
4510
- email: _zod.z.string().email(),
4511
- createdAt: _zod.z.coerce.date(),
4512
- resentAt: _zod.z.coerce.date().nullish(),
4513
- role: _zod.z.nativeEnum(WorkspaceRole),
4514
- workspaceId: _zod.z.string(),
4515
- invitedBy: _zod.z.string()
4516
- });
4517
- var WorkspaceMembership = _zod.z.object({
4518
- id: _zod.z.string(),
4519
- userId: _zod.z.string(),
4520
- workspaceId: _zod.z.string(),
4521
- workspaceRole: _zod.z.nativeEnum(WorkspaceRole),
4522
- notificationSettings: UserNotificationSettings
4523
- });
4524
- var UpdateMembershipRolesInput = _zod.z.object({
4525
- members: _zod.z.array(
4526
- _zod.z.object({
4527
- userId: _zod.z.string(),
4528
- role: _zod.z.nativeEnum(WorkspaceRole)
4529
- })
4530
- )
4531
- });
4532
4546
  var PersonalAccessToken = _zod.z.object({
4533
4547
  id: _zod.z.string(),
4534
4548
  userId: _zod.z.string(),
@@ -5126,16 +5140,18 @@ var DTOExporterPropertyListResponse = _zod.z.object({ items: _zod.z.array(DTOExp
5126
5140
  var DTODesignSystemMember = _zod.z.object({
5127
5141
  userId: _zod.z.string()
5128
5142
  });
5143
+ var DTODesignSystemInvitation = _zod.z.object({
5144
+ id: _zod.z.string(),
5145
+ workspaceInvitationId: _zod.z.string()
5146
+ });
5129
5147
  var DTODesignSystemMemberListResponse = _zod.z.object({
5130
- members: DTODesignSystemMember.array()
5148
+ members: DTODesignSystemMember.array(),
5149
+ invitations: DTODesignSystemInvitation.array()
5131
5150
  });
5132
5151
  var DTODesignSystemMembersUpdateResponse = _zod.z.object({
5133
5152
  ok: _zod.z.literal(true)
5134
5153
  });
5135
- var DTODesignSystemMembersUpdatePayload = _zod.z.object({
5136
- inviteUserIds: _zod.z.string().array().optional(),
5137
- removeUserIds: _zod.z.string().array().optional()
5138
- });
5154
+ var DTODesignSystemMembersUpdatePayload = DesignSystemMembershipUpdates;
5139
5155
 
5140
5156
  // src/api/dto/design-systems/version.ts
5141
5157
 
@@ -5151,16 +5167,25 @@ var DTOCreateBrandInput = _zod.z.object({
5151
5167
  });
5152
5168
 
5153
5169
  // src/api/payloads/design-systems/update-design-system.ts
5170
+
5154
5171
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
5155
5172
  id: true,
5156
5173
  workspaceId: true,
5157
5174
  createdAt: true,
5158
5175
  updatedAt: true,
5159
5176
  docSlug: true,
5160
- docViewUrl: true
5177
+ docViewUrl: true,
5178
+ accessMode: true
5161
5179
  }).extend({
5162
5180
  meta: ObjectMeta.partial().optional()
5163
5181
  });
5182
+ var DTODesignSystemUpdateAccessModeInput = _zod.z.object({
5183
+ accessMode: DesignSystemAccessMode,
5184
+ retain: _zod.z.object({
5185
+ userIds: _zod.z.string().array(),
5186
+ inviteIds: _zod.z.string().array()
5187
+ }).optional()
5188
+ });
5164
5189
 
5165
5190
  // src/api/payloads/design-systems/version.ts
5166
5191
 
@@ -5459,6 +5484,9 @@ var DTOWorkspaceInvitationsListInput = _zod.z.object({
5459
5484
  invites: DTOWorkspaceInvitationInput.array().max(100),
5460
5485
  designSystemId: _zod.z.string().optional()
5461
5486
  });
5487
+ var DTOWorkspaceInvitationsResponse = _zod.z.object({
5488
+ invitations: WorkspaceInvitation.array()
5489
+ });
5462
5490
 
5463
5491
  // src/api/dto/workspaces/membership.ts
5464
5492
 
@@ -6473,6 +6501,12 @@ var DesignSystemsEndpoint = class {
6473
6501
  body
6474
6502
  });
6475
6503
  }
6504
+ updateAccessMode(dsId, body) {
6505
+ return this.requestExecutor.json(`/design-systems/${dsId}/access-mode`, DTODesignSystemResponse, {
6506
+ method: "PUT",
6507
+ body
6508
+ });
6509
+ }
6476
6510
  };
6477
6511
 
6478
6512
  // src/api/endpoints/users.ts
@@ -6491,6 +6525,18 @@ var UsersEndpoint = class {
6491
6525
  }
6492
6526
  };
6493
6527
 
6528
+ // src/api/endpoints/workspace-invites.ts
6529
+ var WorkspaceInvitationsEndpoint = class {
6530
+ constructor(requestExecutor) {
6531
+ this.requestExecutor = requestExecutor;
6532
+ }
6533
+ list(workspaceId) {
6534
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/invitations`, DTOWorkspaceInvitationsResponse, {
6535
+ method: "GET"
6536
+ });
6537
+ }
6538
+ };
6539
+
6494
6540
  // src/api/endpoints/workspace-members.ts
6495
6541
 
6496
6542
  var WorkspaceMembersEndpoint = class {
@@ -6524,7 +6570,9 @@ var WorkspacesEndpoint = class {
6524
6570
  constructor(requestExecutor) {
6525
6571
  this.requestExecutor = requestExecutor;
6526
6572
  __publicField(this, "members");
6573
+ __publicField(this, "invitations");
6527
6574
  this.members = new WorkspaceMembersEndpoint(requestExecutor);
6575
+ this.invitations = new WorkspaceInvitationsEndpoint(requestExecutor);
6528
6576
  }
6529
6577
  create(body) {
6530
6578
  return this.requestExecutor.json("/workspaces", DTOWorkspaceResponse, {
@@ -6546,17 +6594,39 @@ var WorkspacesEndpoint = class {
6546
6594
 
6547
6595
  // src/api/transport/request-executor-error.ts
6548
6596
  var RequestExecutorError = class _RequestExecutorError extends Error {
6549
- constructor(type, message, cause) {
6597
+ constructor(type, message, errorCode, cause) {
6550
6598
  super(`${type}: ${message}`, { cause });
6551
6599
  __publicField(this, "type");
6600
+ __publicField(this, "errorCode");
6552
6601
  this.type = type;
6602
+ this.errorCode = errorCode;
6603
+ }
6604
+ static tryParseErrorCode(body) {
6605
+ try {
6606
+ const errorObj = JSON.parse(body);
6607
+ if (errorObj && typeof errorObj.errorCode === "string") {
6608
+ return errorObj.errorCode;
6609
+ }
6610
+ return null;
6611
+ } catch (e) {
6612
+ return null;
6613
+ }
6553
6614
  }
6554
6615
  static serverError(endpoint, status, bodyText) {
6555
- return new _RequestExecutorError("ServerError", `Endpoint ${endpoint} returned ${status}
6556
- ${bodyText}`);
6616
+ return new _RequestExecutorError(
6617
+ "ServerError",
6618
+ `Endpoint ${endpoint} returned ${status}
6619
+ ${bodyText}`,
6620
+ this.tryParseErrorCode(bodyText)
6621
+ );
6557
6622
  }
6558
6623
  static responseParsingError(endpoint, cause) {
6559
- return new _RequestExecutorError("ResponseParsingError", `Endpoint ${endpoint} returned incompatible JSON`, cause);
6624
+ return new _RequestExecutorError(
6625
+ "ResponseParsingError",
6626
+ `Endpoint ${endpoint} returned incompatible JSON`,
6627
+ void 0,
6628
+ cause
6629
+ );
6560
6630
  }
6561
6631
  };
6562
6632
 
@@ -11636,5 +11706,9 @@ var BackendVersionRoomYDoc = class {
11636
11706
 
11637
11707
 
11638
11708
 
11639
- 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.DTODesignSystemMember = DTODesignSystemMember; exports.DTODesignSystemMemberListResponse = DTODesignSystemMemberListResponse; exports.DTODesignSystemMembersUpdatePayload = DTODesignSystemMembersUpdatePayload; exports.DTODesignSystemMembersUpdateResponse = DTODesignSystemMembersUpdateResponse; exports.DTODesignSystemResponse = DTODesignSystemResponse; 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.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.DTOWorkspaceResponse = DTOWorkspaceResponse; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DesignSystemMembersEndpoint = DesignSystemMembersEndpoint; 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.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;
11709
+
11710
+
11711
+
11712
+
11713
+ 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.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.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;
11640
11714
  //# sourceMappingURL=index.js.map