@supernova-studio/client 0.55.15 → 0.55.17

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
 
@@ -2244,7 +2244,9 @@ var PageBlockItemFigmaComponentValue = _zod.z.object({
2244
2244
  _zod.z.object({
2245
2245
  entityId: _zod.z.string(),
2246
2246
  entityType: _zod.z.enum(["FigmaComponent"]),
2247
- selectedComponentProperties: _zod.z.string().array().optional()
2247
+ entityMeta: _zod.z.object({
2248
+ selectedComponentProperties: _zod.z.string().array().optional()
2249
+ }).optional()
2248
2250
  })
2249
2251
  ).default([])
2250
2252
  });
@@ -3571,234 +3573,19 @@ var ElementGroupSnapshot = DesignElementSnapshotBase.extend({
3571
3573
  function pickLatestGroupSnapshots(snapshots) {
3572
3574
  return pickLatestSnapshots(snapshots, (s) => s.group.id);
3573
3575
  }
3574
- var NpmRegistryAuthType = _zod.z.enum(["Basic", "Bearer", "None", "Custom"]);
3575
- var NpmRegistryType = _zod.z.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
3576
- var NpmRegistryBasicAuthConfig = _zod.z.object({
3577
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.Basic),
3578
- username: _zod.z.string(),
3579
- password: _zod.z.string()
3580
- });
3581
- var NpmRegistryBearerAuthConfig = _zod.z.object({
3582
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.Bearer),
3583
- accessToken: _zod.z.string()
3584
- });
3585
- var NpmRegistryNoAuthConfig = _zod.z.object({
3586
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.None)
3587
- });
3588
- var NpmRegistrCustomAuthConfig = _zod.z.object({
3589
- authType: _zod.z.literal(NpmRegistryAuthType.Enum.Custom),
3590
- authHeaderName: _zod.z.string(),
3591
- authHeaderValue: _zod.z.string()
3592
- });
3593
- var NpmRegistryAuthConfig = _zod.z.discriminatedUnion("authType", [
3594
- NpmRegistryBasicAuthConfig,
3595
- NpmRegistryBearerAuthConfig,
3596
- NpmRegistryNoAuthConfig,
3597
- NpmRegistrCustomAuthConfig
3598
- ]);
3599
- var NpmRegistryConfigBase = _zod.z.object({
3600
- registryType: NpmRegistryType,
3601
- enabledScopes: _zod.z.array(_zod.z.string()),
3602
- customRegistryUrl: _zod.z.string().optional(),
3603
- bypassProxy: _zod.z.boolean().default(false),
3604
- npmProxyRegistryConfigId: _zod.z.string().optional(),
3605
- npmProxyVersion: _zod.z.number().optional()
3606
- });
3607
- var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
3608
- var SsoProvider = _zod.z.object({
3609
- providerId: _zod.z.string(),
3610
- defaultAutoInviteValue: _zod.z.boolean(),
3611
- autoInviteDomains: _zod.z.record(_zod.z.string(), _zod.z.boolean()),
3612
- skipDocsSupernovaLogin: _zod.z.boolean(),
3613
- areInvitesDisabled: _zod.z.boolean(),
3614
- isTestMode: _zod.z.boolean(),
3615
- emailDomains: _zod.z.array(_zod.z.string()),
3616
- metadataXml: _zod.z.string().nullish()
3617
- });
3618
3576
  var WorkspaceRoleSchema = _zod.z.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
3619
3577
  var WorkspaceRole = WorkspaceRoleSchema.enum;
3620
- var MAX_MEMBERS_COUNT = 100;
3621
- var UserInvite = _zod.z.object({
3622
- email: _zod.z.string().email().trim().transform((value) => value.toLowerCase()),
3623
- role: WorkspaceRoleSchema
3624
- });
3625
- var UserInvites = _zod.z.array(UserInvite).max(MAX_MEMBERS_COUNT);
3626
- var isValidCIDR = (value) => {
3627
- return _ipcidr2.default.isValidAddress(value);
3628
- };
3629
- var WorkspaceIpWhitelistEntry = _zod.z.object({
3630
- isEnabled: _zod.z.boolean(),
3631
- name: _zod.z.string(),
3632
- range: _zod.z.string().refine(isValidCIDR, {
3633
- message: "Invalid IP CIDR"
3634
- })
3635
- });
3636
- var WorkspaceIpSettings = _zod.z.object({
3637
- isEnabledForCloud: _zod.z.boolean(),
3638
- isEnabledForDocs: _zod.z.boolean(),
3639
- entries: _zod.z.array(WorkspaceIpWhitelistEntry)
3640
- });
3641
- var WorkspaceProfile = _zod.z.object({
3642
- name: _zod.z.string(),
3643
- handle: _zod.z.string(),
3644
- color: _zod.z.string(),
3645
- avatar: nullishToOptional(_zod.z.string()),
3646
- billingDetails: nullishToOptional(BillingDetails)
3647
- });
3648
- var WorkspaceProfileUpdate = WorkspaceProfile.omit({
3649
- avatar: true
3650
- });
3651
- var Workspace = _zod.z.object({
3652
- id: _zod.z.string(),
3653
- profile: WorkspaceProfile,
3654
- subscription: Subscription,
3655
- ipWhitelist: nullishToOptional(WorkspaceIpSettings),
3656
- sso: nullishToOptional(SsoProvider),
3657
- npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
3658
- });
3659
- var WorkspaceWithDesignSystems = _zod.z.object({
3660
- workspace: Workspace,
3661
- designSystems: _zod.z.array(DesignSystem)
3662
- });
3663
- var WorkspaceConfigurationUpdate = _zod.z.object({
3664
- id: _zod.z.string(),
3665
- ipWhitelist: WorkspaceIpSettings.optional(),
3666
- sso: SsoProvider.optional(),
3667
- npmRegistrySettings: NpmRegistryConfig.optional(),
3668
- profile: WorkspaceProfileUpdate.optional()
3669
- });
3670
- var WorkspaceContext = _zod.z.object({
3671
- workspaceId: _zod.z.string(),
3672
- product: ProductCodeSchema,
3673
- ipWhitelist: nullishToOptional(WorkspaceIpSettings),
3674
- publicDesignSystem: _zod.z.boolean().optional()
3675
- });
3676
- var WORKSPACE_NAME_MIN_LENGTH = 2;
3677
- var WORKSPACE_NAME_MAX_LENGTH = 64;
3678
- var HANDLE_MIN_LENGTH = 2;
3679
- var HANDLE_MAX_LENGTH = 64;
3680
- var CreateWorkspaceInput = _zod.z.object({
3681
- name: _zod.z.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
3682
- handle: _zod.z.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => _optionalChain([value, 'optionalAccess', _2 => _2.length]) > 0).optional()
3683
- });
3684
- var WorkspaceInvitation = _zod.z.object({
3685
- id: _zod.z.string(),
3686
- email: _zod.z.string().email(),
3687
- createdAt: _zod.z.coerce.date(),
3688
- resentAt: _zod.z.coerce.date().nullish(),
3689
- role: _zod.z.nativeEnum(WorkspaceRole),
3690
- workspaceId: _zod.z.string(),
3691
- invitedBy: _zod.z.string()
3692
- });
3693
- var IntegrationAuthType = _zod.z.union([_zod.z.literal("OAuth2"), _zod.z.literal("PAT")]);
3694
- var ExternalServiceType = _zod.z.union([
3695
- _zod.z.literal("figma"),
3696
- _zod.z.literal("github"),
3697
- _zod.z.literal("azure"),
3698
- _zod.z.literal("gitlab"),
3699
- _zod.z.literal("bitbucket")
3700
- ]);
3701
- var IntegrationUserInfo = _zod.z.object({
3702
- id: _zod.z.string(),
3703
- handle: _zod.z.string().optional(),
3704
- avatarUrl: _zod.z.string().optional(),
3705
- email: _zod.z.string().optional(),
3706
- authType: IntegrationAuthType.optional(),
3707
- customUrl: _zod.z.string().optional()
3708
- });
3709
- var UserLinkedIntegrations = _zod.z.object({
3710
- figma: IntegrationUserInfo.optional(),
3711
- github: IntegrationUserInfo.array().optional(),
3712
- azure: IntegrationUserInfo.array().optional(),
3713
- gitlab: IntegrationUserInfo.array().optional(),
3714
- bitbucket: IntegrationUserInfo.array().optional()
3715
- });
3716
- var UserAnalyticsCleanupSchedule = _zod.z.object({
3717
- userId: _zod.z.string(),
3718
- createdAt: _zod.z.coerce.date(),
3719
- deleteAt: _zod.z.coerce.date()
3720
- });
3721
- var UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
3722
- createdAt: true
3723
- });
3724
- var UserIdentity = _zod.z.object({
3725
- id: _zod.z.string(),
3726
- userId: _zod.z.string()
3727
- });
3728
- var UserMinified = _zod.z.object({
3729
- id: _zod.z.string(),
3730
- name: _zod.z.string(),
3731
- email: _zod.z.string(),
3732
- avatar: _zod.z.string().optional()
3733
- });
3734
- var LiveblocksNotificationSettings = _zod.z.object({
3735
- sendCommentNotificationEmails: _zod.z.boolean()
3736
- });
3737
- var UserNotificationSettings = _zod.z.object({
3738
- liveblocksNotificationSettings: LiveblocksNotificationSettings
3739
- });
3740
- var UserOnboardingDepartment = _zod.z.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
3741
- var UserOnboardingJobLevel = _zod.z.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
3742
- var UserOnboarding = _zod.z.object({
3743
- companyName: _zod.z.string().optional(),
3744
- numberOfPeopleInOrg: _zod.z.string().optional(),
3745
- numberOfPeopleInDesignTeam: _zod.z.string().optional(),
3746
- department: UserOnboardingDepartment.optional(),
3747
- jobTitle: _zod.z.string().optional(),
3748
- phase: _zod.z.string().optional(),
3749
- jobLevel: UserOnboardingJobLevel.optional(),
3750
- designSystemName: _zod.z.string().optional(),
3751
- defaultDestination: _zod.z.string().optional(),
3752
- figmaUrl: _zod.z.string().optional(),
3753
- isPageDraftOnboardingFinished: _zod.z.boolean().optional(),
3754
- isApprovalsOnboardingFinished: _zod.z.boolean().optional()
3755
- });
3756
- var UserProfile = _zod.z.object({
3757
- name: _zod.z.string(),
3758
- avatar: _zod.z.string().optional(),
3759
- nickname: _zod.z.string().optional(),
3760
- onboarding: UserOnboarding.optional()
3761
- });
3762
- var UserProfileUpdate = UserProfile.partial().omit({
3763
- avatar: true
3764
- });
3765
- var UserTest = _zod.z.object({
3766
- id: _zod.z.string(),
3767
- email: _zod.z.string()
3768
- });
3769
- var UserSource = _zod.z.enum(["SignUp", "Invite", "SSO"]);
3770
- var User = _zod.z.object({
3771
- id: _zod.z.string(),
3772
- email: _zod.z.string(),
3773
- emailVerified: _zod.z.boolean(),
3774
- createdAt: _zod.z.coerce.date(),
3775
- trialExpiresAt: _zod.z.coerce.date().optional(),
3776
- profile: UserProfile,
3777
- linkedIntegrations: UserLinkedIntegrations.optional(),
3778
- loggedOutAt: _zod.z.coerce.date().optional(),
3779
- isProtected: _zod.z.boolean(),
3780
- source: UserSource.optional()
3781
- });
3782
- var WorkspaceMembership = _zod.z.object({
3783
- id: _zod.z.string(),
3784
- userId: _zod.z.string(),
3785
- workspaceId: _zod.z.string(),
3786
- workspaceRole: _zod.z.nativeEnum(WorkspaceRole),
3787
- notificationSettings: UserNotificationSettings
3788
- });
3789
- var UpdateMembershipRolesInput = _zod.z.object({
3790
- members: _zod.z.array(
3791
- _zod.z.object({
3792
- userId: _zod.z.string(),
3793
- role: _zod.z.nativeEnum(WorkspaceRole)
3794
- })
3795
- )
3796
- });
3797
3578
  var DesignSystemInvitation = _zod.z.object({
3798
3579
  id: _zod.z.string(),
3799
3580
  designSystemId: _zod.z.string(),
3800
3581
  workspaceInvitationId: _zod.z.string()
3801
3582
  });
3583
+ var DesignSystemRole = _zod.z.enum([
3584
+ WorkspaceRole.Admin,
3585
+ WorkspaceRole.Contributor,
3586
+ WorkspaceRole.Creator,
3587
+ WorkspaceRole.Viewer
3588
+ ]);
3802
3589
  var DesignSystemMembership = _zod.z.object({
3803
3590
  id: _zod.z.string(),
3804
3591
  userId: _zod.z.string(),
@@ -3810,14 +3597,29 @@ var DesignSystemMembers = _zod.z.object({
3810
3597
  invitations: DesignSystemInvitation.array()
3811
3598
  });
3812
3599
  var DesignSystemPendingMemberInvitation = _zod.z.object({
3813
- 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()
3814
3606
  });
3815
3607
  var DesignSystemUserInvitation = _zod.z.object({
3816
- 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()
3817
3614
  });
3818
3615
  var DesignSystemInvite = _zod.z.object({
3819
3616
  email: _zod.z.string(),
3820
- 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()
3821
3623
  });
3822
3624
  var DesignSystemMembershipUpdates = _zod.z.object({
3823
3625
  usersToInvite: DesignSystemUserInvitation.array().optional(),
@@ -4197,6 +3999,95 @@ var DesignSystemDump = _zod.z.object({
4197
3999
  customDomain: CustomDomain.optional(),
4198
4000
  files: Asset.array()
4199
4001
  });
4002
+ var IntegrationAuthType = _zod.z.union([_zod.z.literal("OAuth2"), _zod.z.literal("PAT")]);
4003
+ var ExternalServiceType = _zod.z.union([
4004
+ _zod.z.literal("figma"),
4005
+ _zod.z.literal("github"),
4006
+ _zod.z.literal("azure"),
4007
+ _zod.z.literal("gitlab"),
4008
+ _zod.z.literal("bitbucket")
4009
+ ]);
4010
+ var IntegrationUserInfo = _zod.z.object({
4011
+ id: _zod.z.string(),
4012
+ handle: _zod.z.string().optional(),
4013
+ avatarUrl: _zod.z.string().optional(),
4014
+ email: _zod.z.string().optional(),
4015
+ authType: IntegrationAuthType.optional(),
4016
+ customUrl: _zod.z.string().optional()
4017
+ });
4018
+ var UserLinkedIntegrations = _zod.z.object({
4019
+ figma: IntegrationUserInfo.optional(),
4020
+ github: IntegrationUserInfo.array().optional(),
4021
+ azure: IntegrationUserInfo.array().optional(),
4022
+ gitlab: IntegrationUserInfo.array().optional(),
4023
+ bitbucket: IntegrationUserInfo.array().optional()
4024
+ });
4025
+ var UserAnalyticsCleanupSchedule = _zod.z.object({
4026
+ userId: _zod.z.string(),
4027
+ createdAt: _zod.z.coerce.date(),
4028
+ deleteAt: _zod.z.coerce.date()
4029
+ });
4030
+ var UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
4031
+ createdAt: true
4032
+ });
4033
+ var UserIdentity = _zod.z.object({
4034
+ id: _zod.z.string(),
4035
+ userId: _zod.z.string()
4036
+ });
4037
+ var UserMinified = _zod.z.object({
4038
+ id: _zod.z.string(),
4039
+ name: _zod.z.string(),
4040
+ email: _zod.z.string(),
4041
+ avatar: _zod.z.string().optional()
4042
+ });
4043
+ var LiveblocksNotificationSettings = _zod.z.object({
4044
+ sendCommentNotificationEmails: _zod.z.boolean()
4045
+ });
4046
+ var UserNotificationSettings = _zod.z.object({
4047
+ liveblocksNotificationSettings: LiveblocksNotificationSettings
4048
+ });
4049
+ var UserOnboardingDepartment = _zod.z.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
4050
+ var UserOnboardingJobLevel = _zod.z.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
4051
+ var UserOnboarding = _zod.z.object({
4052
+ companyName: _zod.z.string().optional(),
4053
+ numberOfPeopleInOrg: _zod.z.string().optional(),
4054
+ numberOfPeopleInDesignTeam: _zod.z.string().optional(),
4055
+ department: UserOnboardingDepartment.optional(),
4056
+ jobTitle: _zod.z.string().optional(),
4057
+ phase: _zod.z.string().optional(),
4058
+ jobLevel: UserOnboardingJobLevel.optional(),
4059
+ designSystemName: _zod.z.string().optional(),
4060
+ defaultDestination: _zod.z.string().optional(),
4061
+ figmaUrl: _zod.z.string().optional(),
4062
+ isPageDraftOnboardingFinished: _zod.z.boolean().optional(),
4063
+ isApprovalsOnboardingFinished: _zod.z.boolean().optional()
4064
+ });
4065
+ var UserProfile = _zod.z.object({
4066
+ name: _zod.z.string(),
4067
+ avatar: _zod.z.string().optional(),
4068
+ nickname: _zod.z.string().optional(),
4069
+ onboarding: UserOnboarding.optional()
4070
+ });
4071
+ var UserProfileUpdate = UserProfile.partial().omit({
4072
+ avatar: true
4073
+ });
4074
+ var UserTest = _zod.z.object({
4075
+ id: _zod.z.string(),
4076
+ email: _zod.z.string()
4077
+ });
4078
+ var UserSource = _zod.z.enum(["SignUp", "Invite", "SSO"]);
4079
+ var User = _zod.z.object({
4080
+ id: _zod.z.string(),
4081
+ email: _zod.z.string(),
4082
+ emailVerified: _zod.z.boolean(),
4083
+ createdAt: _zod.z.coerce.date(),
4084
+ trialExpiresAt: _zod.z.coerce.date().optional(),
4085
+ profile: UserProfile,
4086
+ linkedIntegrations: UserLinkedIntegrations.optional(),
4087
+ loggedOutAt: _zod.z.coerce.date().optional(),
4088
+ isProtected: _zod.z.boolean(),
4089
+ source: UserSource.optional()
4090
+ });
4200
4091
  var IntegrationDesignSystem = _zod.z.object({
4201
4092
  designSystemId: _zod.z.string(),
4202
4093
  brandId: _zod.z.string(),
@@ -4264,7 +4155,7 @@ var IntegrationToken = _zod.z.object({
4264
4155
  token_bitbucket_username: _zod.z.string().optional(),
4265
4156
  // Bitbucket only
4266
4157
  custom_url: _zod.z.string().optional().transform((value) => {
4267
- if (!_optionalChain([value, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]))
4158
+ if (!_optionalChain([value, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]))
4268
4159
  return void 0;
4269
4160
  return formatCustomUrl(value);
4270
4161
  })
@@ -4299,6 +4190,87 @@ function formatCustomUrl(url) {
4299
4190
  }
4300
4191
  return forbiddenCustomUrlDomainList.some((domain) => formattedUrl.includes(domain)) ? void 0 : formattedUrl;
4301
4192
  }
4193
+ var NpmRegistryAuthType = _zod.z.enum(["Basic", "Bearer", "None", "Custom"]);
4194
+ var NpmRegistryType = _zod.z.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
4195
+ var NpmRegistryBasicAuthConfig = _zod.z.object({
4196
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.Basic),
4197
+ username: _zod.z.string(),
4198
+ password: _zod.z.string()
4199
+ });
4200
+ var NpmRegistryBearerAuthConfig = _zod.z.object({
4201
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.Bearer),
4202
+ accessToken: _zod.z.string()
4203
+ });
4204
+ var NpmRegistryNoAuthConfig = _zod.z.object({
4205
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.None)
4206
+ });
4207
+ var NpmRegistrCustomAuthConfig = _zod.z.object({
4208
+ authType: _zod.z.literal(NpmRegistryAuthType.Enum.Custom),
4209
+ authHeaderName: _zod.z.string(),
4210
+ authHeaderValue: _zod.z.string()
4211
+ });
4212
+ var NpmRegistryAuthConfig = _zod.z.discriminatedUnion("authType", [
4213
+ NpmRegistryBasicAuthConfig,
4214
+ NpmRegistryBearerAuthConfig,
4215
+ NpmRegistryNoAuthConfig,
4216
+ NpmRegistrCustomAuthConfig
4217
+ ]);
4218
+ var NpmRegistryConfigBase = _zod.z.object({
4219
+ registryType: NpmRegistryType,
4220
+ enabledScopes: _zod.z.array(_zod.z.string()),
4221
+ customRegistryUrl: _zod.z.string().optional(),
4222
+ bypassProxy: _zod.z.boolean().default(false),
4223
+ npmProxyRegistryConfigId: _zod.z.string().optional(),
4224
+ npmProxyVersion: _zod.z.number().optional()
4225
+ });
4226
+ var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
4227
+ var SsoProvider = _zod.z.object({
4228
+ providerId: _zod.z.string(),
4229
+ defaultAutoInviteValue: _zod.z.boolean(),
4230
+ autoInviteDomains: _zod.z.record(_zod.z.string(), _zod.z.boolean()),
4231
+ skipDocsSupernovaLogin: _zod.z.boolean(),
4232
+ areInvitesDisabled: _zod.z.boolean(),
4233
+ isTestMode: _zod.z.boolean(),
4234
+ emailDomains: _zod.z.array(_zod.z.string()),
4235
+ metadataXml: _zod.z.string().nullish()
4236
+ });
4237
+ var isValidCIDR = (value) => {
4238
+ return _ipcidr2.default.isValidAddress(value);
4239
+ };
4240
+ var WorkspaceIpWhitelistEntry = _zod.z.object({
4241
+ isEnabled: _zod.z.boolean(),
4242
+ name: _zod.z.string(),
4243
+ range: _zod.z.string().refine(isValidCIDR, {
4244
+ message: "Invalid IP CIDR"
4245
+ })
4246
+ });
4247
+ var WorkspaceIpSettings = _zod.z.object({
4248
+ isEnabledForCloud: _zod.z.boolean(),
4249
+ isEnabledForDocs: _zod.z.boolean(),
4250
+ entries: _zod.z.array(WorkspaceIpWhitelistEntry)
4251
+ });
4252
+ var WorkspaceProfile = _zod.z.object({
4253
+ name: _zod.z.string(),
4254
+ handle: _zod.z.string(),
4255
+ color: _zod.z.string(),
4256
+ avatar: nullishToOptional(_zod.z.string()),
4257
+ billingDetails: nullishToOptional(BillingDetails)
4258
+ });
4259
+ var WorkspaceProfileUpdate = WorkspaceProfile.omit({
4260
+ avatar: true
4261
+ });
4262
+ var Workspace = _zod.z.object({
4263
+ id: _zod.z.string(),
4264
+ profile: WorkspaceProfile,
4265
+ subscription: Subscription,
4266
+ ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4267
+ sso: nullishToOptional(SsoProvider),
4268
+ npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
4269
+ });
4270
+ var WorkspaceWithDesignSystems = _zod.z.object({
4271
+ workspace: Workspace,
4272
+ designSystems: _zod.z.array(DesignSystem)
4273
+ });
4302
4274
  var WorkspaceDump = _zod.z.object({
4303
4275
  workspace: Workspace,
4304
4276
  designSystems: DesignSystemDump.array(),
@@ -4331,6 +4303,57 @@ var UserSession = _zod.z.object({
4331
4303
  session: Session,
4332
4304
  user: User.nullable()
4333
4305
  });
4306
+ var MAX_MEMBERS_COUNT = 100;
4307
+ var UserInvite = _zod.z.object({
4308
+ email: _zod.z.string().email().trim().transform((value) => value.toLowerCase()),
4309
+ role: WorkspaceRoleSchema
4310
+ });
4311
+ var UserInvites = _zod.z.array(UserInvite).max(MAX_MEMBERS_COUNT);
4312
+ var WorkspaceConfigurationUpdate = _zod.z.object({
4313
+ id: _zod.z.string(),
4314
+ ipWhitelist: WorkspaceIpSettings.optional(),
4315
+ sso: SsoProvider.optional(),
4316
+ npmRegistrySettings: NpmRegistryConfig.optional(),
4317
+ profile: WorkspaceProfileUpdate.optional()
4318
+ });
4319
+ var WorkspaceContext = _zod.z.object({
4320
+ workspaceId: _zod.z.string(),
4321
+ product: ProductCodeSchema,
4322
+ ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4323
+ publicDesignSystem: _zod.z.boolean().optional()
4324
+ });
4325
+ var WORKSPACE_NAME_MIN_LENGTH = 2;
4326
+ var WORKSPACE_NAME_MAX_LENGTH = 64;
4327
+ var HANDLE_MIN_LENGTH = 2;
4328
+ var HANDLE_MAX_LENGTH = 64;
4329
+ var CreateWorkspaceInput = _zod.z.object({
4330
+ name: _zod.z.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
4331
+ handle: _zod.z.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => _optionalChain([value, 'optionalAccess', _4 => _4.length]) > 0).optional()
4332
+ });
4333
+ var WorkspaceInvitation = _zod.z.object({
4334
+ id: _zod.z.string(),
4335
+ email: _zod.z.string().email(),
4336
+ createdAt: _zod.z.coerce.date(),
4337
+ resentAt: _zod.z.coerce.date().nullish(),
4338
+ role: _zod.z.nativeEnum(WorkspaceRole),
4339
+ workspaceId: _zod.z.string(),
4340
+ invitedBy: _zod.z.string()
4341
+ });
4342
+ var WorkspaceMembership = _zod.z.object({
4343
+ id: _zod.z.string(),
4344
+ userId: _zod.z.string(),
4345
+ workspaceId: _zod.z.string(),
4346
+ workspaceRole: _zod.z.nativeEnum(WorkspaceRole),
4347
+ notificationSettings: UserNotificationSettings
4348
+ });
4349
+ var UpdateMembershipRolesInput = _zod.z.object({
4350
+ members: _zod.z.array(
4351
+ _zod.z.object({
4352
+ userId: _zod.z.string(),
4353
+ role: _zod.z.nativeEnum(WorkspaceRole)
4354
+ })
4355
+ )
4356
+ });
4334
4357
  var DesignSystemInviteEmailRecipient = _zod.z.object({
4335
4358
  email: _zod.z.string(),
4336
4359
  role: WorkspaceRoleSchema
@@ -5128,12 +5151,33 @@ var DTODataSourceCreationResponse = _zod.z.object({
5128
5151
 
5129
5152
  // src/api/dto/design-systems/members.ts
5130
5153
 
5154
+
5155
+ // src/api/dto/design-systems/role.ts
5156
+
5157
+ var DTODesignSystemRole = _zod.z.enum([
5158
+ WorkspaceRole.Admin,
5159
+ WorkspaceRole.Contributor,
5160
+ WorkspaceRole.Creator,
5161
+ WorkspaceRole.Viewer
5162
+ ]);
5163
+
5164
+ // src/api/dto/design-systems/members.ts
5131
5165
  var DTODesignSystemMember = _zod.z.object({
5132
- userId: _zod.z.string()
5166
+ userId: _zod.z.string(),
5167
+ /**
5168
+ * Role that the member has in the design system,
5169
+ * undefined if set to inherit from workspace
5170
+ */
5171
+ designSystemRole: DTODesignSystemRole.optional()
5133
5172
  });
5134
5173
  var DTODesignSystemInvitation = _zod.z.object({
5135
5174
  id: _zod.z.string(),
5136
- workspaceInvitationId: _zod.z.string()
5175
+ workspaceInvitationId: _zod.z.string(),
5176
+ /**
5177
+ * Role that the invitation has in the design system,
5178
+ * undefined if set to inherit from workspace
5179
+ */
5180
+ designSystemRole: DTODesignSystemRole.optional()
5137
5181
  });
5138
5182
  var DTODesignSystemMemberListResponse = _zod.z.object({
5139
5183
  members: DTODesignSystemMember.array(),
@@ -5158,7 +5202,15 @@ var DTODesignSystem = DesignSystem.omit({
5158
5202
  * has access to the design system's contents.
5159
5203
  */
5160
5204
  isAvailableToUser: _zod.z.boolean(),
5161
- role: WorkspaceRoleSchema.optional()
5205
+ /**
5206
+ * @deprecated
5207
+ */
5208
+ role: WorkspaceRoleSchema.optional(),
5209
+ /**
5210
+ * User's role within the design system that can come either from
5211
+ * the design system or workspace.
5212
+ */
5213
+ effectiveRole: DTODesignSystemRole.optional()
5162
5214
  });
5163
5215
  var DTODesignSystemResponse = _zod.z.object({
5164
5216
  designSystem: DTODesignSystem
@@ -5605,6 +5657,24 @@ var DTOAppBootstrapDataResponse = _zod.z.object({
5605
5657
  brand: DTOBrand.optional()
5606
5658
  });
5607
5659
 
5660
+ // src/api/dto/collections/collection.ts
5661
+
5662
+ var DTOTokenCollection = _zod.z.object({
5663
+ id: _zod.z.string(),
5664
+ persistentId: _zod.z.string(),
5665
+ designSystemVersionId: _zod.z.string(),
5666
+ meta: ObjectMeta,
5667
+ createdAt: _zod.z.coerce.date(),
5668
+ updatedAt: _zod.z.coerce.date(),
5669
+ origin: _zod.z.object({
5670
+ id: _zod.z.string(),
5671
+ sourceId: _zod.z.string()
5672
+ })
5673
+ });
5674
+ var DTOTokenCollectionsListReponse = _zod.z.object({
5675
+ collections: DTOTokenCollection.array()
5676
+ });
5677
+
5608
5678
  // src/api/dto/documentation/anchor.ts
5609
5679
 
5610
5680
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
@@ -6565,6 +6635,19 @@ var DesignSystemsEndpoint = class {
6565
6635
  }
6566
6636
  };
6567
6637
 
6638
+ // src/api/endpoints/token-collections.ts
6639
+ var TokenCollectionsEndpoint = class {
6640
+ constructor(requestExecutor) {
6641
+ this.requestExecutor = requestExecutor;
6642
+ }
6643
+ list(dsId, vId) {
6644
+ return this.requestExecutor.json(
6645
+ `/design-systems/${dsId}/versions/${vId}/token-collections`,
6646
+ DTOTokenCollectionsListReponse
6647
+ );
6648
+ }
6649
+ };
6650
+
6568
6651
  // src/api/endpoints/users.ts
6569
6652
  var UsersEndpoint = class {
6570
6653
  constructor(requestExecutor) {
@@ -11971,5 +12054,9 @@ var BackendVersionRoomYDoc = class {
11971
12054
 
11972
12055
 
11973
12056
 
11974
- 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;
12057
+
12058
+
12059
+
12060
+
12061
+ 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;
11975
12062
  //# sourceMappingURL=index.js.map