@supernova-studio/client 0.54.4 → 0.54.6

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.mjs CHANGED
@@ -20,12 +20,12 @@ import { z as z11 } from "zod";
20
20
  import { z as z12 } from "zod";
21
21
  import { z as z13 } from "zod";
22
22
  import { z as z14 } from "zod";
23
- import { z as z128 } from "zod";
23
+ import { z as z126 } from "zod";
24
24
  import { z as z17 } from "zod";
25
25
  import { z as z15 } from "zod";
26
26
  import { z as z16 } from "zod";
27
- import { z as z127 } from "zod";
28
- import { z as z126 } from "zod";
27
+ import { z as z125 } from "zod";
28
+ import { z as z124 } from "zod";
29
29
  import { z as z18 } from "zod";
30
30
  import { z as z19 } from "zod";
31
31
  import { z as z20 } from "zod";
@@ -125,25 +125,24 @@ import { z as z112 } from "zod";
125
125
  import { z as z113 } from "zod";
126
126
  import { z as z114 } from "zod";
127
127
  import { z as z115 } from "zod";
128
- import { z as z120 } from "zod";
129
- import { z as z119 } from "zod";
130
- import IPCIDR from "ip-cidr";
131
- import { z as z118 } from "zod";
132
128
  import { z as z116 } from "zod";
129
+ import { z as z118 } from "zod";
133
130
  import { z as z117 } from "zod";
131
+ import { z as z119 } from "zod";
132
+ import { z as z120 } from "zod";
134
133
  import { z as z121 } from "zod";
135
134
  import { z as z122 } from "zod";
136
135
  import { z as z123 } from "zod";
137
- import { z as z124 } from "zod";
138
- import { z as z125 } from "zod";
139
- import { z as z135 } from "zod";
140
- import { z as z134 } from "zod";
136
+ import { z as z133 } from "zod";
137
+ import { z as z132 } from "zod";
138
+ import { z as z127 } from "zod";
139
+ import { z as z128 } from "zod";
141
140
  import { z as z129 } from "zod";
142
141
  import { z as z130 } from "zod";
143
142
  import { z as z131 } from "zod";
144
- import { z as z132 } from "zod";
145
- import { z as z133 } from "zod";
146
- import { z as z147 } from "zod";
143
+ import { z as z148 } from "zod";
144
+ import { z as z134 } from "zod";
145
+ import { z as z135 } from "zod";
147
146
  import { z as z136 } from "zod";
148
147
  import { z as z137 } from "zod";
149
148
  import { z as z138 } from "zod";
@@ -151,35 +150,37 @@ import { z as z139 } from "zod";
151
150
  import { z as z140 } from "zod";
152
151
  import { z as z141 } from "zod";
153
152
  import { z as z142 } from "zod";
153
+ import { z as z147 } from "zod";
154
154
  import { z as z143 } from "zod";
155
- import { z as z144 } from "zod";
155
+ import IPCIDR from "ip-cidr";
156
156
  import { z as z146 } from "zod";
157
+ import { z as z144 } from "zod";
157
158
  import { z as z145 } from "zod";
158
- import { z as z148 } from "zod";
159
- import { z as z151 } from "zod";
160
159
  import { z as z149 } from "zod";
161
- import { z as z150 } from "zod";
162
160
  import { z as z152 } from "zod";
161
+ import { z as z150 } from "zod";
162
+ import { z as z151 } from "zod";
163
163
  import { z as z153 } from "zod";
164
164
  import { z as z154 } from "zod";
165
165
  import { z as z155 } from "zod";
166
166
  import { z as z156 } from "zod";
167
167
  import { z as z157 } from "zod";
168
- import { z as z159 } from "zod";
169
168
  import { z as z158 } from "zod";
170
169
  import { z as z160 } from "zod";
170
+ import { z as z159 } from "zod";
171
171
  import { z as z161 } from "zod";
172
172
  import { z as z162 } from "zod";
173
173
  import { z as z163 } from "zod";
174
174
  import { z as z164 } from "zod";
175
- import { z as z172 } from "zod";
176
- import { z as z166 } from "zod";
177
175
  import { z as z165 } from "zod";
176
+ import { z as z173 } from "zod";
178
177
  import { z as z167 } from "zod";
178
+ import { z as z166 } from "zod";
179
179
  import { z as z168 } from "zod";
180
180
  import { z as z169 } from "zod";
181
181
  import { z as z170 } from "zod";
182
182
  import { z as z171 } from "zod";
183
+ import { z as z172 } from "zod";
183
184
  var __defProp2 = Object.defineProperty;
184
185
  var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
185
186
  var __publicField2 = (obj, key, value) => {
@@ -3542,166 +3543,89 @@ var ElementGroupSnapshot = DesignElementSnapshotBase.extend({
3542
3543
  function pickLatestGroupSnapshots(snapshots) {
3543
3544
  return pickLatestSnapshots(snapshots, (s) => s.group.id);
3544
3545
  }
3545
- var ElementViewBaseColumnType = z113.enum(["Name", "Description", "Value", "UpdatedAt"]);
3546
- var ElementViewColumnType = z113.union([
3547
- z113.literal("BaseProperty"),
3548
- z113.literal("PropertyDefinition"),
3549
- z113.literal("Theme")
3550
- ]);
3551
- var ElementViewColumnSharedAttributes = z113.object({
3546
+ var DesignSystemMembership = z113.object({
3552
3547
  id: z113.string(),
3553
- persistentId: z113.string(),
3554
- elementDataViewId: z113.string(),
3555
- sortPosition: z113.number(),
3556
- width: z113.number()
3548
+ userId: z113.string(),
3549
+ designSystemId: z113.string(),
3550
+ workspaceMembershipId: z113.string()
3551
+ });
3552
+ var ElementViewBaseColumnType = z114.enum(["Name", "Description", "Value", "UpdatedAt"]);
3553
+ var ElementViewColumnType = z114.union([
3554
+ z114.literal("BaseProperty"),
3555
+ z114.literal("PropertyDefinition"),
3556
+ z114.literal("Theme")
3557
+ ]);
3558
+ var ElementViewColumnSharedAttributes = z114.object({
3559
+ id: z114.string(),
3560
+ persistentId: z114.string(),
3561
+ elementDataViewId: z114.string(),
3562
+ sortPosition: z114.number(),
3563
+ width: z114.number()
3557
3564
  });
3558
3565
  var ElementViewBasePropertyColumn = ElementViewColumnSharedAttributes.extend({
3559
- type: z113.literal("BaseProperty"),
3566
+ type: z114.literal("BaseProperty"),
3560
3567
  basePropertyType: ElementViewBaseColumnType
3561
3568
  });
3562
3569
  var ElementViewPropertyDefinitionColumn = ElementViewColumnSharedAttributes.extend({
3563
- type: z113.literal("PropertyDefinition"),
3564
- propertyDefinitionId: z113.string()
3570
+ type: z114.literal("PropertyDefinition"),
3571
+ propertyDefinitionId: z114.string()
3565
3572
  });
3566
3573
  var ElementViewThemeColumn = ElementViewColumnSharedAttributes.extend({
3567
- type: z113.literal("Theme"),
3568
- themeId: z113.string()
3574
+ type: z114.literal("Theme"),
3575
+ themeId: z114.string()
3569
3576
  });
3570
- var ElementViewColumn = z113.discriminatedUnion("type", [
3577
+ var ElementViewColumn = z114.discriminatedUnion("type", [
3571
3578
  ElementViewBasePropertyColumn,
3572
3579
  ElementViewPropertyDefinitionColumn,
3573
3580
  ElementViewThemeColumn
3574
3581
  ]);
3575
- var ElementView = z114.object({
3576
- id: z114.string(),
3577
- persistentId: z114.string(),
3578
- designSystemVersionId: z114.string(),
3579
- name: z114.string(),
3580
- description: z114.string(),
3581
- targetElementType: ElementPropertyTargetType,
3582
- isDefault: z114.boolean()
3583
- });
3584
- var Brand = z115.object({
3582
+ var ElementView = z115.object({
3585
3583
  id: z115.string(),
3586
- designSystemVersionId: z115.string(),
3587
3584
  persistentId: z115.string(),
3585
+ designSystemVersionId: z115.string(),
3588
3586
  name: z115.string(),
3589
- description: z115.string()
3590
- });
3591
- var NpmRegistryAuthType = z116.enum(["Basic", "Bearer", "None", "Custom"]);
3592
- var NpmRegistryType = z116.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
3593
- var NpmRegistryBasicAuthConfig = z116.object({
3594
- authType: z116.literal(NpmRegistryAuthType.Enum.Basic),
3595
- username: z116.string(),
3596
- password: z116.string()
3597
- });
3598
- var NpmRegistryBearerAuthConfig = z116.object({
3599
- authType: z116.literal(NpmRegistryAuthType.Enum.Bearer),
3600
- accessToken: z116.string()
3601
- });
3602
- var NpmRegistryNoAuthConfig = z116.object({
3603
- authType: z116.literal(NpmRegistryAuthType.Enum.None)
3604
- });
3605
- var NpmRegistrCustomAuthConfig = z116.object({
3606
- authType: z116.literal(NpmRegistryAuthType.Enum.Custom),
3607
- authHeaderName: z116.string(),
3608
- authHeaderValue: z116.string()
3609
- });
3610
- var NpmRegistryAuthConfig = z116.discriminatedUnion("authType", [
3611
- NpmRegistryBasicAuthConfig,
3612
- NpmRegistryBearerAuthConfig,
3613
- NpmRegistryNoAuthConfig,
3614
- NpmRegistrCustomAuthConfig
3615
- ]);
3616
- var NpmRegistryConfigBase = z116.object({
3617
- registryType: NpmRegistryType,
3618
- enabledScopes: z116.array(z116.string()),
3619
- customRegistryUrl: z116.string().optional(),
3620
- bypassProxy: z116.boolean().default(false),
3621
- npmProxyRegistryConfigId: z116.string().optional(),
3622
- npmProxyVersion: z116.number().optional()
3623
- });
3624
- var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
3625
- var SsoProvider = z117.object({
3626
- providerId: z117.string(),
3627
- defaultAutoInviteValue: z117.boolean(),
3628
- autoInviteDomains: z117.record(z117.string(), z117.boolean()),
3629
- skipDocsSupernovaLogin: z117.boolean(),
3630
- areInvitesDisabled: z117.boolean(),
3631
- isTestMode: z117.boolean(),
3632
- emailDomains: z117.array(z117.string()),
3633
- metadataXml: z117.string().nullish()
3634
- });
3635
- var isValidCIDR = (value) => {
3636
- return IPCIDR.isValidAddress(value);
3637
- };
3638
- var WorkspaceIpWhitelistEntry = z118.object({
3639
- isEnabled: z118.boolean(),
3640
- name: z118.string(),
3641
- range: z118.string().refine(isValidCIDR, {
3642
- message: "Invalid IP CIDR"
3643
- })
3644
- });
3645
- var WorkspaceIpSettings = z118.object({
3646
- isEnabledForCloud: z118.boolean(),
3647
- isEnabledForDocs: z118.boolean(),
3648
- entries: z118.array(WorkspaceIpWhitelistEntry)
3649
- });
3650
- var WorkspaceProfile = z118.object({
3651
- name: z118.string(),
3652
- handle: z118.string(),
3653
- color: z118.string(),
3654
- avatar: nullishToOptional(z118.string()),
3655
- billingDetails: nullishToOptional(BillingDetails)
3656
- });
3657
- var WorkspaceProfileUpdate = WorkspaceProfile.omit({
3658
- avatar: true
3659
- });
3660
- var Workspace = z118.object({
3661
- id: z118.string(),
3662
- profile: WorkspaceProfile,
3663
- subscription: Subscription,
3664
- ipWhitelist: nullishToOptional(WorkspaceIpSettings),
3665
- sso: nullishToOptional(SsoProvider),
3666
- npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
3667
- });
3668
- var WorkspaceWithDesignSystems = z118.object({
3669
- workspace: Workspace,
3670
- designSystems: z118.array(DesignSystem)
3671
- });
3672
- var DesignSystemSwitcher = z119.object({
3673
- isEnabled: z119.boolean(),
3674
- designSystemIds: z119.array(z119.string())
3675
- });
3676
- var DesignSystem = z119.object({
3677
- id: z119.string(),
3678
- workspaceId: z119.string(),
3679
- name: z119.string(),
3680
- description: z119.string(),
3681
- docExporterId: nullishToOptional(z119.string()),
3682
- docSlug: z119.string(),
3683
- docUserSlug: nullishToOptional(z119.string()),
3684
- docSlugDeprecated: z119.string(),
3685
- isPublic: z119.boolean(),
3686
- isMultibrand: z119.boolean(),
3687
- docViewUrl: nullishToOptional(z119.string()),
3688
- basePrefixes: z119.array(z119.string()),
3587
+ description: z115.string(),
3588
+ targetElementType: ElementPropertyTargetType,
3589
+ isDefault: z115.boolean()
3590
+ });
3591
+ var Brand = z116.object({
3592
+ id: z116.string(),
3593
+ designSystemVersionId: z116.string(),
3594
+ persistentId: z116.string(),
3595
+ name: z116.string(),
3596
+ description: z116.string()
3597
+ });
3598
+ var DesignSystemAccessMode = z117.enum(["Open", "InviteOnly"]);
3599
+ var DesignSystemSwitcher = z117.object({
3600
+ isEnabled: z117.boolean(),
3601
+ designSystemIds: z117.array(z117.string())
3602
+ });
3603
+ var DesignSystem = z117.object({
3604
+ id: z117.string(),
3605
+ workspaceId: z117.string(),
3606
+ name: z117.string(),
3607
+ description: z117.string(),
3608
+ docExporterId: nullishToOptional(z117.string()),
3609
+ docSlug: z117.string(),
3610
+ docUserSlug: nullishToOptional(z117.string()),
3611
+ docSlugDeprecated: z117.string(),
3612
+ isPublic: z117.boolean(),
3613
+ isMultibrand: z117.boolean(),
3614
+ docViewUrl: nullishToOptional(z117.string()),
3615
+ basePrefixes: z117.array(z117.string()),
3689
3616
  designSystemSwitcher: nullishToOptional(DesignSystemSwitcher),
3690
- isApprovalFeatureEnabled: z119.boolean(),
3691
- approvalRequiredForPublishing: z119.boolean(),
3692
- createdAt: z119.coerce.date(),
3693
- updatedAt: z119.coerce.date()
3694
- });
3695
- var DesignSystemWithWorkspace = z119.object({
3696
- designSystem: DesignSystem,
3697
- workspace: Workspace
3617
+ isApprovalFeatureEnabled: z117.boolean(),
3618
+ approvalRequiredForPublishing: z117.boolean(),
3619
+ accessMode: DesignSystemAccessMode,
3620
+ createdAt: z117.coerce.date(),
3621
+ updatedAt: z117.coerce.date()
3698
3622
  });
3699
3623
  var DS_NAME_MIN_LENGTH = 2;
3700
3624
  var DS_NAME_MAX_LENGTH = 64;
3701
3625
  var DS_DESC_MAX_LENGTH = 2048;
3702
- var DesignSystemUpdateInputMetadata = z120.object({
3703
- name: z120.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim().optional(),
3704
- description: z120.string().max(DS_DESC_MAX_LENGTH).trim().optional()
3626
+ var DesignSystemUpdateInputMetadata = z118.object({
3627
+ name: z118.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim().optional(),
3628
+ description: z118.string().max(DS_DESC_MAX_LENGTH).trim().optional()
3705
3629
  });
3706
3630
  var DesignSystemUpdateInput = DesignSystem.partial().omit({
3707
3631
  id: true,
@@ -3716,173 +3640,173 @@ var DesignSystemUpdateInput = DesignSystem.partial().omit({
3716
3640
  var DS_NAME_MIN_LENGTH2 = 2;
3717
3641
  var DS_NAME_MAX_LENGTH2 = 64;
3718
3642
  var DS_DESC_MAX_LENGTH2 = 64;
3719
- var DesignSystemCreateInputMetadata = z121.object({
3720
- name: z121.string().min(DS_NAME_MIN_LENGTH2).max(DS_NAME_MAX_LENGTH2).trim(),
3721
- description: z121.string().max(DS_DESC_MAX_LENGTH2).trim()
3643
+ var DesignSystemCreateInputMetadata = z119.object({
3644
+ name: z119.string().min(DS_NAME_MIN_LENGTH2).max(DS_NAME_MAX_LENGTH2).trim(),
3645
+ description: z119.string().max(DS_DESC_MAX_LENGTH2).trim()
3722
3646
  });
3723
- var DesignSystemCreateInput = z121.object({
3647
+ var DesignSystemCreateInput = z119.object({
3724
3648
  meta: DesignSystemCreateInputMetadata,
3725
- workspaceId: z121.string(),
3726
- isPublic: z121.boolean().optional(),
3727
- basePrefixes: z121.array(z121.string()).optional(),
3728
- docUserSlug: z121.string().nullish().optional(),
3729
- source: z121.array(z121.string()).optional()
3649
+ workspaceId: z119.string(),
3650
+ isPublic: z119.boolean().optional(),
3651
+ basePrefixes: z119.array(z119.string()).optional(),
3652
+ docUserSlug: z119.string().nullish().optional(),
3653
+ source: z119.array(z119.string()).optional()
3730
3654
  });
3731
- var ExporterPropertyImageValue = z122.object({
3655
+ var ExporterPropertyImageValue = z120.object({
3732
3656
  asset: PageBlockAsset.optional(),
3733
- assetId: z122.string().optional(),
3734
- assetUrl: z122.string().optional()
3735
- });
3736
- var ExporterPropertyValue = z122.object({
3737
- key: z122.string(),
3738
- value: z122.union([
3739
- z122.number(),
3740
- z122.string(),
3741
- z122.boolean(),
3657
+ assetId: z120.string().optional(),
3658
+ assetUrl: z120.string().optional()
3659
+ });
3660
+ var ExporterPropertyValue = z120.object({
3661
+ key: z120.string(),
3662
+ value: z120.union([
3663
+ z120.number(),
3664
+ z120.string(),
3665
+ z120.boolean(),
3742
3666
  ExporterPropertyImageValue,
3743
3667
  ColorTokenData,
3744
3668
  TypographyTokenData
3745
3669
  ])
3746
3670
  });
3747
- var ExporterPropertyValuesCollection = z122.object({
3748
- id: z122.string(),
3749
- designSystemId: z122.string(),
3750
- exporterId: z122.string(),
3751
- values: z122.array(ExporterPropertyValue)
3752
- });
3753
- var PublishedDocPage = z123.object({
3754
- id: z123.string(),
3755
- publishedDocId: z123.string(),
3756
- pageShortPersistentId: z123.string(),
3757
- pathV1: z123.string(),
3758
- pathV2: z123.string(),
3759
- storagePath: z123.string(),
3760
- locale: z123.string().optional(),
3761
- isPrivate: z123.boolean(),
3762
- isHidden: z123.boolean(),
3763
- createdAt: z123.coerce.date(),
3764
- updatedAt: z123.coerce.date()
3671
+ var ExporterPropertyValuesCollection = z120.object({
3672
+ id: z120.string(),
3673
+ designSystemId: z120.string(),
3674
+ exporterId: z120.string(),
3675
+ values: z120.array(ExporterPropertyValue)
3676
+ });
3677
+ var PublishedDocPage = z121.object({
3678
+ id: z121.string(),
3679
+ publishedDocId: z121.string(),
3680
+ pageShortPersistentId: z121.string(),
3681
+ pathV1: z121.string(),
3682
+ pathV2: z121.string(),
3683
+ storagePath: z121.string(),
3684
+ locale: z121.string().optional(),
3685
+ isPrivate: z121.boolean(),
3686
+ isHidden: z121.boolean(),
3687
+ createdAt: z121.coerce.date(),
3688
+ updatedAt: z121.coerce.date()
3765
3689
  });
3766
3690
  var publishedDocEnvironments = ["Live", "Preview"];
3767
- var PublishedDocEnvironment = z124.enum(publishedDocEnvironments);
3768
- var PublishedDocsChecksums = z124.record(z124.string());
3769
- var PublishedDocRoutingVersion = z124.enum(["1", "2"]);
3770
- var PublishedDoc = z124.object({
3771
- id: z124.string(),
3772
- designSystemVersionId: z124.string(),
3773
- createdAt: z124.coerce.date(),
3774
- updatedAt: z124.coerce.date(),
3775
- lastPublishedAt: z124.coerce.date(),
3776
- isDefault: z124.boolean(),
3777
- isPublic: z124.boolean(),
3691
+ var PublishedDocEnvironment = z122.enum(publishedDocEnvironments);
3692
+ var PublishedDocsChecksums = z122.record(z122.string());
3693
+ var PublishedDocRoutingVersion = z122.enum(["1", "2"]);
3694
+ var PublishedDoc = z122.object({
3695
+ id: z122.string(),
3696
+ designSystemVersionId: z122.string(),
3697
+ createdAt: z122.coerce.date(),
3698
+ updatedAt: z122.coerce.date(),
3699
+ lastPublishedAt: z122.coerce.date(),
3700
+ isDefault: z122.boolean(),
3701
+ isPublic: z122.boolean(),
3778
3702
  environment: PublishedDocEnvironment,
3779
3703
  checksums: PublishedDocsChecksums,
3780
- storagePath: z124.string(),
3781
- wasMigrated: z124.boolean(),
3704
+ storagePath: z122.string(),
3705
+ wasMigrated: z122.boolean(),
3782
3706
  routingVersion: PublishedDocRoutingVersion,
3783
- usesLocalizations: z124.boolean(),
3784
- wasPublishedWithLocalizations: z124.boolean(),
3785
- tokenCount: z124.number(),
3786
- assetCount: z124.number()
3707
+ usesLocalizations: z122.boolean(),
3708
+ wasPublishedWithLocalizations: z122.boolean(),
3709
+ tokenCount: z122.number(),
3710
+ assetCount: z122.number()
3787
3711
  });
3788
- var DesignSystemVersion = z125.object({
3789
- id: z125.string(),
3790
- version: z125.string(),
3791
- createdAt: z125.coerce.date(),
3792
- designSystemId: z125.string(),
3793
- name: z125.string(),
3794
- comment: z125.string(),
3795
- isReadonly: z125.boolean(),
3796
- changeLog: z125.string(),
3797
- parentId: z125.string().optional(),
3798
- isDraftsFeatureAdopted: z125.boolean()
3799
- });
3800
- var VersionCreationJobStatus = z125.enum(["Success", "InProgress", "Error"]);
3801
- var VersionCreationJob = z125.object({
3802
- id: z125.string(),
3803
- version: z125.string(),
3804
- designSystemId: z125.string(),
3805
- designSystemVersionId: nullishToOptional(z125.string()),
3712
+ var DesignSystemVersion = z123.object({
3713
+ id: z123.string(),
3714
+ version: z123.string(),
3715
+ createdAt: z123.coerce.date(),
3716
+ designSystemId: z123.string(),
3717
+ name: z123.string(),
3718
+ comment: z123.string(),
3719
+ isReadonly: z123.boolean(),
3720
+ changeLog: z123.string(),
3721
+ parentId: z123.string().optional(),
3722
+ isDraftsFeatureAdopted: z123.boolean()
3723
+ });
3724
+ var VersionCreationJobStatus = z123.enum(["Success", "InProgress", "Error"]);
3725
+ var VersionCreationJob = z123.object({
3726
+ id: z123.string(),
3727
+ version: z123.string(),
3728
+ designSystemId: z123.string(),
3729
+ designSystemVersionId: nullishToOptional(z123.string()),
3806
3730
  status: VersionCreationJobStatus,
3807
- errorMessage: nullishToOptional(z125.string())
3731
+ errorMessage: nullishToOptional(z123.string())
3808
3732
  });
3809
3733
  var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
3810
3734
  var BITBUCKET_MAX_LENGTH = 64;
3811
- var ExportJobDocumentationChanges = z126.object({
3812
- pagePersistentIds: z126.string().array(),
3813
- groupPersistentIds: z126.string().array()
3735
+ var ExportJobDocumentationChanges = z124.object({
3736
+ pagePersistentIds: z124.string().array(),
3737
+ groupPersistentIds: z124.string().array()
3814
3738
  });
3815
- var ExporterDestinationDocs = z126.object({
3739
+ var ExporterDestinationDocs = z124.object({
3816
3740
  environment: PublishedDocEnvironment,
3817
3741
  changes: nullishToOptional(ExportJobDocumentationChanges)
3818
3742
  });
3819
- var ExporterDestinationS3 = z126.object({});
3820
- var ExporterDestinationGithub = z126.object({
3821
- credentialId: z126.string().optional(),
3743
+ var ExporterDestinationS3 = z124.object({});
3744
+ var ExporterDestinationGithub = z124.object({
3745
+ credentialId: z124.string().optional(),
3822
3746
  // Repository
3823
- url: z126.string(),
3747
+ url: z124.string(),
3824
3748
  // Location
3825
- branch: z126.string(),
3826
- relativePath: nullishToOptional(z126.string()),
3749
+ branch: z124.string(),
3750
+ relativePath: nullishToOptional(z124.string()),
3827
3751
  // Commit metadata
3828
- commitAuthorName: nullishToOptional(z126.string()),
3829
- commitAuthorEmail: nullishToOptional(z126.string()),
3752
+ commitAuthorName: nullishToOptional(z124.string()),
3753
+ commitAuthorEmail: nullishToOptional(z124.string()),
3830
3754
  // Legacy deprecated fields. Use `credentialId` instead
3831
- connectionId: nullishToOptional(z126.string()),
3832
- userId: nullishToOptional(z126.number())
3755
+ connectionId: nullishToOptional(z124.string()),
3756
+ userId: nullishToOptional(z124.number())
3833
3757
  });
3834
- var ExporterDestinationAzure = z126.object({
3835
- credentialId: z126.string().optional(),
3758
+ var ExporterDestinationAzure = z124.object({
3759
+ credentialId: z124.string().optional(),
3836
3760
  // Repository
3837
- organizationId: z126.string(),
3838
- projectId: z126.string(),
3839
- repositoryId: z126.string(),
3761
+ organizationId: z124.string(),
3762
+ projectId: z124.string(),
3763
+ repositoryId: z124.string(),
3840
3764
  // Commit metadata
3841
- commitAuthorName: nullishToOptional(z126.string()),
3842
- commitAuthorEmail: nullishToOptional(z126.string()),
3765
+ commitAuthorName: nullishToOptional(z124.string()),
3766
+ commitAuthorEmail: nullishToOptional(z124.string()),
3843
3767
  // Location
3844
- branch: z126.string(),
3845
- relativePath: nullishToOptional(z126.string()),
3768
+ branch: z124.string(),
3769
+ relativePath: nullishToOptional(z124.string()),
3846
3770
  // Maybe not needed
3847
- url: nullishToOptional(z126.string()),
3771
+ url: nullishToOptional(z124.string()),
3848
3772
  // Legacy deprecated fields. Use `credentialId` instead
3849
- connectionId: nullishToOptional(z126.string()),
3850
- userId: nullishToOptional(z126.number())
3773
+ connectionId: nullishToOptional(z124.string()),
3774
+ userId: nullishToOptional(z124.number())
3851
3775
  });
3852
- var ExporterDestinationGitlab = z126.object({
3853
- credentialId: z126.string().optional(),
3776
+ var ExporterDestinationGitlab = z124.object({
3777
+ credentialId: z124.string().optional(),
3854
3778
  // Repository
3855
- projectId: z126.string(),
3779
+ projectId: z124.string(),
3856
3780
  // Commit metadata
3857
- commitAuthorName: nullishToOptional(z126.string()),
3858
- commitAuthorEmail: nullishToOptional(z126.string()),
3781
+ commitAuthorName: nullishToOptional(z124.string()),
3782
+ commitAuthorEmail: nullishToOptional(z124.string()),
3859
3783
  // Location
3860
- branch: z126.string(),
3861
- relativePath: nullishToOptional(z126.string()),
3784
+ branch: z124.string(),
3785
+ relativePath: nullishToOptional(z124.string()),
3862
3786
  // Maybe not needed
3863
- url: nullishToOptional(z126.string()),
3787
+ url: nullishToOptional(z124.string()),
3864
3788
  // Legacy deprecated fields. Use `credentialId` instead
3865
- connectionId: nullishToOptional(z126.string()),
3866
- userId: nullishToOptional(z126.number())
3789
+ connectionId: nullishToOptional(z124.string()),
3790
+ userId: nullishToOptional(z124.number())
3867
3791
  });
3868
- var ExporterDestinationBitbucket = z126.object({
3869
- credentialId: z126.string().optional(),
3792
+ var ExporterDestinationBitbucket = z124.object({
3793
+ credentialId: z124.string().optional(),
3870
3794
  // Repository
3871
- workspaceSlug: z126.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
3872
- projectKey: z126.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
3873
- repoSlug: z126.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
3795
+ workspaceSlug: z124.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
3796
+ projectKey: z124.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
3797
+ repoSlug: z124.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
3874
3798
  // Commit metadata
3875
- commitAuthorName: nullishToOptional(z126.string()),
3876
- commitAuthorEmail: nullishToOptional(z126.string()),
3799
+ commitAuthorName: nullishToOptional(z124.string()),
3800
+ commitAuthorEmail: nullishToOptional(z124.string()),
3877
3801
  // Location
3878
- branch: z126.string(),
3879
- relativePath: nullishToOptional(z126.string()),
3802
+ branch: z124.string(),
3803
+ relativePath: nullishToOptional(z124.string()),
3880
3804
  // Legacy deprecated fields. Use `credentialId` instead
3881
- connectionId: nullishToOptional(z126.string()),
3882
- userId: nullishToOptional(z126.number())
3805
+ connectionId: nullishToOptional(z124.string()),
3806
+ userId: nullishToOptional(z124.number())
3883
3807
  });
3884
- var ExportDestinationsMap = z126.object({
3885
- webhookUrl: z126.string().optional(),
3808
+ var ExportDestinationsMap = z124.object({
3809
+ webhookUrl: z124.string().optional(),
3886
3810
  destinationSnDocs: ExporterDestinationDocs.optional(),
3887
3811
  destinationS3: ExporterDestinationS3.optional(),
3888
3812
  destinationGithub: ExporterDestinationGithub.optional(),
@@ -3890,92 +3814,92 @@ var ExportDestinationsMap = z126.object({
3890
3814
  destinationGitlab: ExporterDestinationGitlab.optional(),
3891
3815
  destinationBitbucket: ExporterDestinationBitbucket.optional()
3892
3816
  });
3893
- var PipelineEventType = z127.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
3894
- var PipelineDestinationGitType = z127.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
3895
- var PipelineDestinationExtraType = z127.enum(["WebhookUrl", "S3", "Documentation"]);
3896
- var PipelineDestinationType = z127.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
3897
- var Pipeline = z127.object({
3898
- id: z127.string(),
3899
- name: z127.string(),
3817
+ var PipelineEventType = z125.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
3818
+ var PipelineDestinationGitType = z125.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
3819
+ var PipelineDestinationExtraType = z125.enum(["WebhookUrl", "S3", "Documentation"]);
3820
+ var PipelineDestinationType = z125.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
3821
+ var Pipeline = z125.object({
3822
+ id: z125.string(),
3823
+ name: z125.string(),
3900
3824
  eventType: PipelineEventType,
3901
- isEnabled: z127.boolean(),
3902
- workspaceId: z127.string(),
3903
- designSystemId: z127.string(),
3904
- exporterId: z127.string(),
3905
- brandPersistentId: z127.string().optional(),
3906
- themePersistentId: z127.string().optional(),
3825
+ isEnabled: z125.boolean(),
3826
+ workspaceId: z125.string(),
3827
+ designSystemId: z125.string(),
3828
+ exporterId: z125.string(),
3829
+ brandPersistentId: z125.string().optional(),
3830
+ themePersistentId: z125.string().optional(),
3907
3831
  // Destinations
3908
3832
  ...ExportDestinationsMap.shape
3909
3833
  });
3910
- var ExportJobDump = z128.object({
3911
- id: z128.string(),
3912
- createdAt: z128.coerce.date(),
3913
- finishedAt: z128.coerce.date(),
3914
- exportArtefacts: z128.string()
3834
+ var ExportJobDump = z126.object({
3835
+ id: z126.string(),
3836
+ createdAt: z126.coerce.date(),
3837
+ finishedAt: z126.coerce.date(),
3838
+ exportArtefacts: z126.string()
3915
3839
  });
3916
- var CodeIntegrationDump = z128.object({
3840
+ var CodeIntegrationDump = z126.object({
3917
3841
  exporters: Exporter.array(),
3918
3842
  pipelines: Pipeline.array(),
3919
3843
  exportJobs: ExportJobDump.array()
3920
3844
  });
3921
3845
  var DesignSystemVersionRoom = Entity.extend({
3922
- designSystemVersionId: z129.string(),
3923
- liveblocksId: z129.string()
3924
- });
3925
- var DesignSystemVersionRoomInternalSettings = z129.object({
3926
- routingVersion: z129.string(),
3927
- isDraftFeatureAdopted: z129.boolean(),
3928
- isApprovalFeatureEnabled: z129.boolean(),
3929
- approvalRequiredForPublishing: z129.boolean()
3930
- });
3931
- var DesignSystemVersionRoomInitialState = z129.object({
3932
- pages: z129.array(DocumentationPageV2),
3933
- groups: z129.array(ElementGroup),
3934
- pageSnapshots: z129.array(DocumentationPageSnapshot),
3935
- groupSnapshots: z129.array(ElementGroupSnapshot),
3936
- pageApprovals: z129.array(DocumentationPageApproval),
3846
+ designSystemVersionId: z127.string(),
3847
+ liveblocksId: z127.string()
3848
+ });
3849
+ var DesignSystemVersionRoomInternalSettings = z127.object({
3850
+ routingVersion: z127.string(),
3851
+ isDraftFeatureAdopted: z127.boolean(),
3852
+ isApprovalFeatureEnabled: z127.boolean(),
3853
+ approvalRequiredForPublishing: z127.boolean()
3854
+ });
3855
+ var DesignSystemVersionRoomInitialState = z127.object({
3856
+ pages: z127.array(DocumentationPageV2),
3857
+ groups: z127.array(ElementGroup),
3858
+ pageSnapshots: z127.array(DocumentationPageSnapshot),
3859
+ groupSnapshots: z127.array(ElementGroupSnapshot),
3860
+ pageApprovals: z127.array(DocumentationPageApproval),
3937
3861
  internalSettings: DesignSystemVersionRoomInternalSettings
3938
3862
  });
3939
- var DesignSystemVersionRoomUpdate = z129.object({
3940
- pages: z129.array(DocumentationPageV2),
3941
- groups: z129.array(ElementGroup),
3942
- pageIdsToDelete: z129.array(z129.string()),
3943
- groupIdsToDelete: z129.array(z129.string()),
3944
- pageSnapshots: z129.array(DocumentationPageSnapshot),
3945
- groupSnapshots: z129.array(ElementGroupSnapshot),
3946
- pageSnapshotIdsToDelete: z129.array(z129.string()),
3947
- groupSnapshotIdsToDelete: z129.array(z129.string()),
3948
- pageHashesToUpdate: z129.record(z129.string(), z129.string()),
3949
- pageApprovals: z129.array(DocumentationPageApproval),
3950
- pageApprovalIdsToDelete: z129.array(z129.string())
3863
+ var DesignSystemVersionRoomUpdate = z127.object({
3864
+ pages: z127.array(DocumentationPageV2),
3865
+ groups: z127.array(ElementGroup),
3866
+ pageIdsToDelete: z127.array(z127.string()),
3867
+ groupIdsToDelete: z127.array(z127.string()),
3868
+ pageSnapshots: z127.array(DocumentationPageSnapshot),
3869
+ groupSnapshots: z127.array(ElementGroupSnapshot),
3870
+ pageSnapshotIdsToDelete: z127.array(z127.string()),
3871
+ groupSnapshotIdsToDelete: z127.array(z127.string()),
3872
+ pageHashesToUpdate: z127.record(z127.string(), z127.string()),
3873
+ pageApprovals: z127.array(DocumentationPageApproval),
3874
+ pageApprovalIdsToDelete: z127.array(z127.string())
3951
3875
  });
3952
3876
  var DocumentationPageRoom = Entity.extend({
3953
- designSystemVersionId: z130.string(),
3954
- documentationPageId: z130.string(),
3955
- liveblocksId: z130.string(),
3956
- isDirty: z130.boolean()
3877
+ designSystemVersionId: z128.string(),
3878
+ documentationPageId: z128.string(),
3879
+ liveblocksId: z128.string(),
3880
+ isDirty: z128.boolean()
3957
3881
  });
3958
- var DocumentationPageRoomState = z130.object({
3959
- pageItems: z130.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
3882
+ var DocumentationPageRoomState = z128.object({
3883
+ pageItems: z128.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
3960
3884
  itemConfiguration: DocumentationItemConfigurationV2
3961
3885
  });
3962
- var DocumentationPageRoomRoomUpdate = z130.object({
3886
+ var DocumentationPageRoomRoomUpdate = z128.object({
3963
3887
  page: DocumentationPageV2,
3964
3888
  pageParent: ElementGroup
3965
3889
  });
3966
3890
  var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.extend({
3967
- pageItems: z130.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
3968
- blockDefinitions: z130.array(PageBlockDefinition)
3891
+ pageItems: z128.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
3892
+ blockDefinitions: z128.array(PageBlockDefinition)
3969
3893
  });
3970
- var RestoredDocumentationPage = z130.object({
3894
+ var RestoredDocumentationPage = z128.object({
3971
3895
  page: DocumentationPageV2,
3972
3896
  pageParent: ElementGroup,
3973
3897
  pageContent: DocumentationPageContentData,
3974
- contentHash: z130.string(),
3975
- snapshotId: z130.string(),
3976
- roomId: z130.string().optional()
3898
+ contentHash: z128.string(),
3899
+ snapshotId: z128.string(),
3900
+ roomId: z128.string().optional()
3977
3901
  });
3978
- var RestoredDocumentationGroup = z130.object({
3902
+ var RestoredDocumentationGroup = z128.object({
3979
3903
  group: ElementGroup,
3980
3904
  parent: ElementGroup
3981
3905
  });
@@ -3985,28 +3909,28 @@ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
3985
3909
  RoomTypeEnum2["Workspace"] = "workspace";
3986
3910
  return RoomTypeEnum2;
3987
3911
  })(RoomTypeEnum || {});
3988
- var RoomTypeSchema = z131.nativeEnum(RoomTypeEnum);
3912
+ var RoomTypeSchema = z129.nativeEnum(RoomTypeEnum);
3989
3913
  var RoomType = RoomTypeSchema.enum;
3990
3914
  var WorkspaceRoom = Entity.extend({
3991
- workspaceId: z132.string(),
3992
- liveblocksId: z132.string()
3915
+ workspaceId: z130.string(),
3916
+ liveblocksId: z130.string()
3993
3917
  });
3994
- var PublishedDocsDump = z133.object({
3918
+ var PublishedDocsDump = z131.object({
3995
3919
  documentation: PublishedDoc,
3996
3920
  pages: PublishedDocPage.array()
3997
3921
  });
3998
- var DocumentationThreadDump = z134.object({
3922
+ var DocumentationThreadDump = z132.object({
3999
3923
  thread: DocumentationCommentThread,
4000
3924
  comments: DocumentationComment.array()
4001
3925
  });
4002
- var DocumentationPageRoomDump = z134.object({
3926
+ var DocumentationPageRoomDump = z132.object({
4003
3927
  room: DocumentationPageRoom,
4004
3928
  threads: DocumentationThreadDump.array()
4005
3929
  });
4006
- var DesignSystemVersionMultiplayerDump = z134.object({
3930
+ var DesignSystemVersionMultiplayerDump = z132.object({
4007
3931
  documentationPages: DocumentationPageRoomDump.array()
4008
3932
  });
4009
- var DesignSystemVersionDump = z134.object({
3933
+ var DesignSystemVersionDump = z132.object({
4010
3934
  version: DesignSystemVersion,
4011
3935
  brands: Brand.array(),
4012
3936
  elements: DesignElement.array(),
@@ -4019,142 +3943,142 @@ var DesignSystemVersionDump = z134.object({
4019
3943
  publishedDocumentations: PublishedDocsDump.array(),
4020
3944
  assetReferences: AssetReference.array()
4021
3945
  });
4022
- var DesignSystemDump = z135.object({
3946
+ var DesignSystemDump = z133.object({
4023
3947
  designSystem: DesignSystem,
4024
3948
  dataSources: DataSource.array(),
4025
3949
  versions: DesignSystemVersionDump.array(),
4026
3950
  customDomain: CustomDomain.optional(),
4027
3951
  files: Asset.array()
4028
3952
  });
4029
- var IntegrationAuthType = z136.union([z136.literal("OAuth2"), z136.literal("PAT")]);
4030
- var ExternalServiceType = z136.union([
4031
- z136.literal("figma"),
4032
- z136.literal("github"),
4033
- z136.literal("azure"),
4034
- z136.literal("gitlab"),
4035
- z136.literal("bitbucket")
3953
+ var IntegrationAuthType = z134.union([z134.literal("OAuth2"), z134.literal("PAT")]);
3954
+ var ExternalServiceType = z134.union([
3955
+ z134.literal("figma"),
3956
+ z134.literal("github"),
3957
+ z134.literal("azure"),
3958
+ z134.literal("gitlab"),
3959
+ z134.literal("bitbucket")
4036
3960
  ]);
4037
- var IntegrationUserInfo = z136.object({
4038
- id: z136.string(),
4039
- handle: z136.string().optional(),
4040
- avatarUrl: z136.string().optional(),
4041
- email: z136.string().optional(),
3961
+ var IntegrationUserInfo = z134.object({
3962
+ id: z134.string(),
3963
+ handle: z134.string().optional(),
3964
+ avatarUrl: z134.string().optional(),
3965
+ email: z134.string().optional(),
4042
3966
  authType: IntegrationAuthType.optional(),
4043
- customUrl: z136.string().optional()
3967
+ customUrl: z134.string().optional()
4044
3968
  });
4045
- var UserLinkedIntegrations = z136.object({
3969
+ var UserLinkedIntegrations = z134.object({
4046
3970
  figma: IntegrationUserInfo.optional(),
4047
3971
  github: IntegrationUserInfo.array().optional(),
4048
3972
  azure: IntegrationUserInfo.array().optional(),
4049
3973
  gitlab: IntegrationUserInfo.array().optional(),
4050
3974
  bitbucket: IntegrationUserInfo.array().optional()
4051
3975
  });
4052
- var UserAnalyticsCleanupSchedule = z137.object({
4053
- userId: z137.string(),
4054
- createdAt: z137.coerce.date(),
4055
- deleteAt: z137.coerce.date()
3976
+ var UserAnalyticsCleanupSchedule = z135.object({
3977
+ userId: z135.string(),
3978
+ createdAt: z135.coerce.date(),
3979
+ deleteAt: z135.coerce.date()
4056
3980
  });
4057
3981
  var UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
4058
3982
  createdAt: true
4059
3983
  });
4060
- var CreateUserInput = z138.object({
4061
- email: z138.string(),
4062
- name: z138.string(),
4063
- username: z138.string()
3984
+ var CreateUserInput = z136.object({
3985
+ email: z136.string(),
3986
+ name: z136.string(),
3987
+ username: z136.string()
4064
3988
  });
4065
- var UserIdentity = z139.object({
4066
- id: z139.string(),
4067
- userId: z139.string()
3989
+ var UserIdentity = z137.object({
3990
+ id: z137.string(),
3991
+ userId: z137.string()
4068
3992
  });
4069
- var UserMinified = z140.object({
4070
- id: z140.string(),
4071
- name: z140.string(),
4072
- email: z140.string(),
4073
- avatar: z140.string().optional()
3993
+ var UserMinified = z138.object({
3994
+ id: z138.string(),
3995
+ name: z138.string(),
3996
+ email: z138.string(),
3997
+ avatar: z138.string().optional()
4074
3998
  });
4075
- var LiveblocksNotificationSettings = z141.object({
4076
- sendCommentNotificationEmails: z141.boolean()
3999
+ var LiveblocksNotificationSettings = z139.object({
4000
+ sendCommentNotificationEmails: z139.boolean()
4077
4001
  });
4078
- var UserNotificationSettings = z141.object({
4002
+ var UserNotificationSettings = z139.object({
4079
4003
  liveblocksNotificationSettings: LiveblocksNotificationSettings
4080
4004
  });
4081
- var UserOnboardingDepartment = z142.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
4082
- var UserOnboardingJobLevel = z142.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
4083
- var UserOnboarding = z142.object({
4084
- companyName: z142.string().optional(),
4085
- numberOfPeopleInOrg: z142.string().optional(),
4086
- numberOfPeopleInDesignTeam: z142.string().optional(),
4005
+ var UserOnboardingDepartment = z140.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
4006
+ var UserOnboardingJobLevel = z140.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
4007
+ var UserOnboarding = z140.object({
4008
+ companyName: z140.string().optional(),
4009
+ numberOfPeopleInOrg: z140.string().optional(),
4010
+ numberOfPeopleInDesignTeam: z140.string().optional(),
4087
4011
  department: UserOnboardingDepartment.optional(),
4088
- jobTitle: z142.string().optional(),
4089
- phase: z142.string().optional(),
4012
+ jobTitle: z140.string().optional(),
4013
+ phase: z140.string().optional(),
4090
4014
  jobLevel: UserOnboardingJobLevel.optional(),
4091
- designSystemName: z142.string().optional(),
4092
- defaultDestination: z142.string().optional(),
4093
- figmaUrl: z142.string().optional(),
4094
- isPageDraftOnboardingFinished: z142.boolean().optional(),
4095
- isApprovalsOnboardingFinished: z142.boolean().optional()
4096
- });
4097
- var UserProfile = z142.object({
4098
- name: z142.string(),
4099
- avatar: z142.string().optional(),
4100
- nickname: z142.string().optional(),
4015
+ designSystemName: z140.string().optional(),
4016
+ defaultDestination: z140.string().optional(),
4017
+ figmaUrl: z140.string().optional(),
4018
+ isPageDraftOnboardingFinished: z140.boolean().optional(),
4019
+ isApprovalsOnboardingFinished: z140.boolean().optional()
4020
+ });
4021
+ var UserProfile = z140.object({
4022
+ name: z140.string(),
4023
+ avatar: z140.string().optional(),
4024
+ nickname: z140.string().optional(),
4101
4025
  onboarding: UserOnboarding.optional()
4102
4026
  });
4103
4027
  var UserProfileUpdate = UserProfile.partial().omit({
4104
4028
  avatar: true
4105
4029
  });
4106
- var UserTest = z143.object({
4107
- id: z143.string(),
4108
- email: z143.string()
4109
- });
4110
- var User = z144.object({
4111
- id: z144.string(),
4112
- email: z144.string(),
4113
- emailVerified: z144.boolean(),
4114
- createdAt: z144.coerce.date(),
4115
- trialExpiresAt: z144.coerce.date().optional(),
4030
+ var UserTest = z141.object({
4031
+ id: z141.string(),
4032
+ email: z141.string()
4033
+ });
4034
+ var User = z142.object({
4035
+ id: z142.string(),
4036
+ email: z142.string(),
4037
+ emailVerified: z142.boolean(),
4038
+ createdAt: z142.coerce.date(),
4039
+ trialExpiresAt: z142.coerce.date().optional(),
4116
4040
  profile: UserProfile,
4117
4041
  linkedIntegrations: UserLinkedIntegrations.optional(),
4118
- loggedOutAt: z144.coerce.date().optional(),
4119
- isProtected: z144.boolean()
4120
- });
4121
- var IntegrationDesignSystem = z145.object({
4122
- designSystemId: z145.string(),
4123
- brandId: z145.string(),
4124
- title: z145.string().optional(),
4125
- userId: z145.string().optional(),
4126
- date: z145.coerce.date().optional()
4127
- });
4128
- var IntegrationCredentialsType = z145.enum(["OAuth2", "PAT", "GithubApp"]);
4129
- var IntegrationCredentialsState = z145.enum(["Active", "Inactive"]);
4130
- var IntegrationCredentialsProfile = z145.object({
4131
- id: nullishToOptional(z145.string()),
4132
- email: nullishToOptional(z145.string()),
4133
- handle: nullishToOptional(z145.string()),
4134
- type: nullishToOptional(z145.string()),
4135
- avatarUrl: nullishToOptional(z145.string()),
4136
- organization: nullishToOptional(z145.string()),
4137
- collection: nullishToOptional(z145.string())
4138
- });
4139
- var IntegrationCredentials = z145.object({
4140
- id: z145.string(),
4042
+ loggedOutAt: z142.coerce.date().optional(),
4043
+ isProtected: z142.boolean()
4044
+ });
4045
+ var IntegrationDesignSystem = z143.object({
4046
+ designSystemId: z143.string(),
4047
+ brandId: z143.string(),
4048
+ title: z143.string().optional(),
4049
+ userId: z143.string().optional(),
4050
+ date: z143.coerce.date().optional()
4051
+ });
4052
+ var IntegrationCredentialsType = z143.enum(["OAuth2", "PAT", "GithubApp"]);
4053
+ var IntegrationCredentialsState = z143.enum(["Active", "Inactive"]);
4054
+ var IntegrationCredentialsProfile = z143.object({
4055
+ id: nullishToOptional(z143.string()),
4056
+ email: nullishToOptional(z143.string()),
4057
+ handle: nullishToOptional(z143.string()),
4058
+ type: nullishToOptional(z143.string()),
4059
+ avatarUrl: nullishToOptional(z143.string()),
4060
+ organization: nullishToOptional(z143.string()),
4061
+ collection: nullishToOptional(z143.string())
4062
+ });
4063
+ var IntegrationCredentials = z143.object({
4064
+ id: z143.string(),
4141
4065
  type: IntegrationCredentialsType,
4142
- integrationId: z145.string(),
4143
- accessToken: z145.string(),
4144
- userId: z145.string(),
4145
- createdAt: z145.coerce.date(),
4146
- refreshToken: z145.string().optional(),
4147
- tokenName: z145.string().optional(),
4148
- expiresAt: z145.coerce.date().optional(),
4149
- refreshedAt: z145.coerce.date().optional(),
4150
- username: z145.string().optional(),
4151
- appInstallationId: z145.string().optional(),
4066
+ integrationId: z143.string(),
4067
+ accessToken: z143.string(),
4068
+ userId: z143.string(),
4069
+ createdAt: z143.coerce.date(),
4070
+ refreshToken: z143.string().optional(),
4071
+ tokenName: z143.string().optional(),
4072
+ expiresAt: z143.coerce.date().optional(),
4073
+ refreshedAt: z143.coerce.date().optional(),
4074
+ username: z143.string().optional(),
4075
+ appInstallationId: z143.string().optional(),
4152
4076
  profile: IntegrationCredentialsProfile.optional(),
4153
- customUrl: z145.string().optional(),
4077
+ customUrl: z143.string().optional(),
4154
4078
  state: IntegrationCredentialsState,
4155
4079
  user: UserMinified.optional()
4156
4080
  });
4157
- var ExtendedIntegrationType = z145.enum([
4081
+ var ExtendedIntegrationType = z143.enum([
4158
4082
  "Figma",
4159
4083
  "Github",
4160
4084
  "Gitlab",
@@ -4165,26 +4089,26 @@ var ExtendedIntegrationType = z145.enum([
4165
4089
  ]);
4166
4090
  var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
4167
4091
  var GitIntegrationType = IntegrationType.exclude(["Figma"]);
4168
- var Integration = z145.object({
4169
- id: z145.string(),
4170
- workspaceId: z145.string(),
4092
+ var Integration = z143.object({
4093
+ id: z143.string(),
4094
+ workspaceId: z143.string(),
4171
4095
  type: IntegrationType,
4172
- createdAt: z145.coerce.date(),
4173
- integrationCredentials: z145.array(IntegrationCredentials).optional()
4174
- });
4175
- var IntegrationToken = z145.object({
4176
- access_token: z145.string(),
4177
- refresh_token: z145.string().optional(),
4178
- expires_in: z145.union([z145.number().optional(), z145.string().optional()]),
4179
- token_type: z145.string().optional(),
4180
- token_name: z145.string().optional(),
4181
- token_azure_organization_name: z145.string().optional(),
4096
+ createdAt: z143.coerce.date(),
4097
+ integrationCredentials: z143.array(IntegrationCredentials).optional()
4098
+ });
4099
+ var IntegrationToken = z143.object({
4100
+ access_token: z143.string(),
4101
+ refresh_token: z143.string().optional(),
4102
+ expires_in: z143.union([z143.number().optional(), z143.string().optional()]),
4103
+ token_type: z143.string().optional(),
4104
+ token_name: z143.string().optional(),
4105
+ token_azure_organization_name: z143.string().optional(),
4182
4106
  // Azure Cloud PAT only
4183
- token_azure_collection_name: z145.string().optional(),
4107
+ token_azure_collection_name: z143.string().optional(),
4184
4108
  // Azure Server PAT only
4185
- token_bitbucket_username: z145.string().optional(),
4109
+ token_bitbucket_username: z143.string().optional(),
4186
4110
  // Bitbucket only
4187
- custom_url: z145.string().optional().transform((value) => {
4111
+ custom_url: z143.string().optional().transform((value) => {
4188
4112
  if (!value?.trim())
4189
4113
  return void 0;
4190
4114
  return formatCustomUrl(value);
@@ -4220,76 +4144,157 @@ function formatCustomUrl(url) {
4220
4144
  }
4221
4145
  return forbiddenCustomUrlDomainList.some((domain) => formattedUrl.includes(domain)) ? void 0 : formattedUrl;
4222
4146
  }
4223
- var WorkspaceDump = z146.object({
4147
+ var NpmRegistryAuthType = z144.enum(["Basic", "Bearer", "None", "Custom"]);
4148
+ var NpmRegistryType = z144.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
4149
+ var NpmRegistryBasicAuthConfig = z144.object({
4150
+ authType: z144.literal(NpmRegistryAuthType.Enum.Basic),
4151
+ username: z144.string(),
4152
+ password: z144.string()
4153
+ });
4154
+ var NpmRegistryBearerAuthConfig = z144.object({
4155
+ authType: z144.literal(NpmRegistryAuthType.Enum.Bearer),
4156
+ accessToken: z144.string()
4157
+ });
4158
+ var NpmRegistryNoAuthConfig = z144.object({
4159
+ authType: z144.literal(NpmRegistryAuthType.Enum.None)
4160
+ });
4161
+ var NpmRegistrCustomAuthConfig = z144.object({
4162
+ authType: z144.literal(NpmRegistryAuthType.Enum.Custom),
4163
+ authHeaderName: z144.string(),
4164
+ authHeaderValue: z144.string()
4165
+ });
4166
+ var NpmRegistryAuthConfig = z144.discriminatedUnion("authType", [
4167
+ NpmRegistryBasicAuthConfig,
4168
+ NpmRegistryBearerAuthConfig,
4169
+ NpmRegistryNoAuthConfig,
4170
+ NpmRegistrCustomAuthConfig
4171
+ ]);
4172
+ var NpmRegistryConfigBase = z144.object({
4173
+ registryType: NpmRegistryType,
4174
+ enabledScopes: z144.array(z144.string()),
4175
+ customRegistryUrl: z144.string().optional(),
4176
+ bypassProxy: z144.boolean().default(false),
4177
+ npmProxyRegistryConfigId: z144.string().optional(),
4178
+ npmProxyVersion: z144.number().optional()
4179
+ });
4180
+ var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
4181
+ var SsoProvider = z145.object({
4182
+ providerId: z145.string(),
4183
+ defaultAutoInviteValue: z145.boolean(),
4184
+ autoInviteDomains: z145.record(z145.string(), z145.boolean()),
4185
+ skipDocsSupernovaLogin: z145.boolean(),
4186
+ areInvitesDisabled: z145.boolean(),
4187
+ isTestMode: z145.boolean(),
4188
+ emailDomains: z145.array(z145.string()),
4189
+ metadataXml: z145.string().nullish()
4190
+ });
4191
+ var isValidCIDR = (value) => {
4192
+ return IPCIDR.isValidAddress(value);
4193
+ };
4194
+ var WorkspaceIpWhitelistEntry = z146.object({
4195
+ isEnabled: z146.boolean(),
4196
+ name: z146.string(),
4197
+ range: z146.string().refine(isValidCIDR, {
4198
+ message: "Invalid IP CIDR"
4199
+ })
4200
+ });
4201
+ var WorkspaceIpSettings = z146.object({
4202
+ isEnabledForCloud: z146.boolean(),
4203
+ isEnabledForDocs: z146.boolean(),
4204
+ entries: z146.array(WorkspaceIpWhitelistEntry)
4205
+ });
4206
+ var WorkspaceProfile = z146.object({
4207
+ name: z146.string(),
4208
+ handle: z146.string(),
4209
+ color: z146.string(),
4210
+ avatar: nullishToOptional(z146.string()),
4211
+ billingDetails: nullishToOptional(BillingDetails)
4212
+ });
4213
+ var WorkspaceProfileUpdate = WorkspaceProfile.omit({
4214
+ avatar: true
4215
+ });
4216
+ var Workspace = z146.object({
4217
+ id: z146.string(),
4218
+ profile: WorkspaceProfile,
4219
+ subscription: Subscription,
4220
+ ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4221
+ sso: nullishToOptional(SsoProvider),
4222
+ npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
4223
+ });
4224
+ var WorkspaceWithDesignSystems = z146.object({
4225
+ workspace: Workspace,
4226
+ designSystems: z146.array(DesignSystem)
4227
+ });
4228
+ var WorkspaceDump = z147.object({
4224
4229
  workspace: Workspace,
4225
4230
  designSystems: DesignSystemDump.array(),
4226
4231
  codeIntegration: CodeIntegrationDump,
4227
4232
  integrations: Integration.array()
4228
4233
  });
4229
- var UserDump = z147.object({
4234
+ var UserDump = z148.object({
4230
4235
  user: User,
4231
4236
  workspaces: WorkspaceDump.array()
4232
4237
  });
4233
- var NpmProxyToken = z148.object({
4234
- access: z148.string(),
4235
- expiresAt: z148.number()
4238
+ var NpmProxyToken = z149.object({
4239
+ access: z149.string(),
4240
+ expiresAt: z149.number()
4236
4241
  });
4237
- var SessionData = z148.object({
4238
- returnToUrl: z148.string().optional(),
4242
+ var SessionData = z149.object({
4243
+ returnToUrl: z149.string().optional(),
4239
4244
  npmProxyToken: NpmProxyToken.optional()
4240
4245
  });
4241
- var Session = z148.object({
4242
- id: z148.string(),
4243
- expiresAt: z148.coerce.date(),
4244
- userId: z148.string().nullable(),
4246
+ var Session = z149.object({
4247
+ id: z149.string(),
4248
+ expiresAt: z149.coerce.date(),
4249
+ userId: z149.string().nullable(),
4245
4250
  data: SessionData
4246
4251
  });
4247
- var AuthTokens = z148.object({
4248
- access: z148.string(),
4249
- refresh: z148.string()
4252
+ var AuthTokens = z149.object({
4253
+ access: z149.string(),
4254
+ refresh: z149.string()
4250
4255
  });
4251
- var UserSession = z148.object({
4256
+ var UserSession = z149.object({
4252
4257
  session: Session,
4253
4258
  user: User.nullable()
4254
4259
  });
4255
- var EventDataSourceImported = z149.object({
4256
- type: z149.literal("DataSourceImported"),
4257
- workspaceId: z149.string(),
4258
- designSystemId: z149.string()
4259
- });
4260
- var EventVersionReleased = z150.object({
4261
- type: z150.literal("DesignSystemVersionReleased"),
4260
+ var EventDataSourceImported = z150.object({
4261
+ type: z150.literal("DataSourceImported"),
4262
4262
  workspaceId: z150.string(),
4263
- designSystemId: z150.string(),
4264
- versionId: z150.string()
4265
- });
4266
- var Event = z151.discriminatedUnion("type", [EventVersionReleased, EventDataSourceImported]);
4267
- var ExportJobDocumentationContext = z152.object({
4268
- isSingleVersionDocs: z152.boolean(),
4269
- versionSlug: z152.string(),
4263
+ designSystemId: z150.string()
4264
+ });
4265
+ var EventVersionReleased = z151.object({
4266
+ type: z151.literal("DesignSystemVersionReleased"),
4267
+ workspaceId: z151.string(),
4268
+ designSystemId: z151.string(),
4269
+ versionId: z151.string()
4270
+ });
4271
+ var Event = z152.discriminatedUnion("type", [EventVersionReleased, EventDataSourceImported]);
4272
+ var ExportJobDocumentationContext = z153.object({
4273
+ isSingleVersionDocs: z153.boolean(),
4274
+ versionSlug: z153.string(),
4270
4275
  environment: PublishedDocEnvironment
4271
4276
  });
4272
- var ExportJobContext = z152.object({
4273
- apiUrl: z152.string(),
4274
- accessToken: z152.string(),
4275
- designSystemId: z152.string(),
4276
- designSystemName: z152.string(),
4277
- exporterId: z152.string(),
4278
- versionId: z152.string(),
4279
- brandId: z152.string().optional(),
4280
- themeId: z152.string().optional(),
4281
- exporterName: z152.string(),
4282
- exporterPackageUrl: z152.string(),
4277
+ var ExportJobContext = z153.object({
4278
+ apiUrl: z153.string(),
4279
+ accessToken: z153.string(),
4280
+ designSystemId: z153.string(),
4281
+ designSystemName: z153.string(),
4282
+ exporterId: z153.string(),
4283
+ versionId: z153.string(),
4284
+ brandId: z153.string().optional(),
4285
+ themeId: z153.string().optional(),
4286
+ exporterName: z153.string(),
4287
+ exporterPackageUrl: z153.string(),
4283
4288
  exporterPropertyValues: ExporterPropertyValue.array(),
4284
4289
  documentation: ExportJobDocumentationContext.optional()
4285
4290
  });
4286
- var ExporterFunctionPayload = z153.object({
4287
- exportJobId: z153.string(),
4288
- exportContextId: z153.string(),
4289
- designSystemId: z153.string(),
4290
- workspaceId: z153.string()
4291
+ var ExporterFunctionPayload = z154.object({
4292
+ exportJobId: z154.string(),
4293
+ exportContextId: z154.string(),
4294
+ designSystemId: z154.string(),
4295
+ workspaceId: z154.string()
4291
4296
  });
4292
- var ExportJobDestinationType = z154.enum([
4297
+ var ExportJobDestinationType = z155.enum([
4293
4298
  "s3",
4294
4299
  "webhookUrl",
4295
4300
  "github",
@@ -4298,30 +4303,30 @@ var ExportJobDestinationType = z154.enum([
4298
4303
  "gitlab",
4299
4304
  "bitbucket"
4300
4305
  ]);
4301
- var ExportJobStatus = z154.enum(["InProgress", "Success", "Failed", "Timeout"]);
4302
- var ExportJobLogEntryType = z154.enum(["success", "info", "warning", "error", "user"]);
4303
- var ExportJobLogEntry = z154.object({
4304
- id: z154.string().optional(),
4305
- time: z154.coerce.date(),
4306
+ var ExportJobStatus = z155.enum(["InProgress", "Success", "Failed", "Timeout"]);
4307
+ var ExportJobLogEntryType = z155.enum(["success", "info", "warning", "error", "user"]);
4308
+ var ExportJobLogEntry = z155.object({
4309
+ id: z155.string().optional(),
4310
+ time: z155.coerce.date(),
4306
4311
  type: ExportJobLogEntryType,
4307
- message: z154.string()
4312
+ message: z155.string()
4308
4313
  });
4309
- var ExportJobPullRequestDestinationResult = z154.object({
4310
- pullRequestUrl: z154.string()
4314
+ var ExportJobPullRequestDestinationResult = z155.object({
4315
+ pullRequestUrl: z155.string()
4311
4316
  });
4312
- var ExportJobS3DestinationResult = z154.object({
4313
- bucket: z154.string(),
4314
- urlPrefix: z154.string().optional(),
4315
- path: z154.string(),
4316
- files: z154.array(z154.string()),
4317
- url: nullishToOptional(z154.string()),
4318
- urls: nullishToOptional(z154.string().array())
4317
+ var ExportJobS3DestinationResult = z155.object({
4318
+ bucket: z155.string(),
4319
+ urlPrefix: z155.string().optional(),
4320
+ path: z155.string(),
4321
+ files: z155.array(z155.string()),
4322
+ url: nullishToOptional(z155.string()),
4323
+ urls: nullishToOptional(z155.string().array())
4319
4324
  });
4320
- var ExportJobDocsDestinationResult = z154.object({
4321
- url: z154.string()
4325
+ var ExportJobDocsDestinationResult = z155.object({
4326
+ url: z155.string()
4322
4327
  });
4323
- var ExportJobResult = z154.object({
4324
- error: z154.string().optional(),
4328
+ var ExportJobResult = z155.object({
4329
+ error: z155.string().optional(),
4325
4330
  s3: nullishToOptional(ExportJobS3DestinationResult),
4326
4331
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
4327
4332
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -4330,21 +4335,21 @@ var ExportJobResult = z154.object({
4330
4335
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
4331
4336
  logs: nullishToOptional(ExportJobLogEntry.array())
4332
4337
  });
4333
- var ExportJob = z154.object({
4334
- id: z154.string(),
4335
- createdAt: z154.coerce.date(),
4336
- finishedAt: z154.coerce.date().optional(),
4337
- designSystemId: z154.string(),
4338
- designSystemVersionId: z154.string(),
4339
- workspaceId: z154.string(),
4340
- scheduleId: z154.string().nullish(),
4341
- exporterId: z154.string(),
4342
- brandId: z154.string().optional(),
4343
- themeId: z154.string().optional(),
4344
- estimatedExecutionTime: z154.number().optional(),
4338
+ var ExportJob = z155.object({
4339
+ id: z155.string(),
4340
+ createdAt: z155.coerce.date(),
4341
+ finishedAt: z155.coerce.date().optional(),
4342
+ designSystemId: z155.string(),
4343
+ designSystemVersionId: z155.string(),
4344
+ workspaceId: z155.string(),
4345
+ scheduleId: z155.string().nullish(),
4346
+ exporterId: z155.string(),
4347
+ brandId: z155.string().optional(),
4348
+ themeId: z155.string().optional(),
4349
+ estimatedExecutionTime: z155.number().optional(),
4345
4350
  status: ExportJobStatus,
4346
4351
  result: ExportJobResult.optional(),
4347
- createdByUserId: z154.string().optional(),
4352
+ createdByUserId: z155.string().optional(),
4348
4353
  // Destinations
4349
4354
  ...ExportDestinationsMap.shape
4350
4355
  });
@@ -4358,24 +4363,24 @@ var ExportJobFindByFilter = ExportJob.pick({
4358
4363
  themeId: true,
4359
4364
  brandId: true
4360
4365
  }).extend({
4361
- destinations: z154.array(ExportJobDestinationType),
4366
+ destinations: z155.array(ExportJobDestinationType),
4362
4367
  docsEnvironment: PublishedDocEnvironment
4363
4368
  }).partial();
4364
- var ExporterWorkspaceMembershipRole = z155.enum(["Owner", "OwnerArchived", "User"]);
4365
- var ExporterWorkspaceMembership = z156.object({
4366
- id: z156.string(),
4367
- workspaceId: z156.string(),
4368
- exporterId: z156.string(),
4369
+ var ExporterWorkspaceMembershipRole = z156.enum(["Owner", "OwnerArchived", "User"]);
4370
+ var ExporterWorkspaceMembership = z157.object({
4371
+ id: z157.string(),
4372
+ workspaceId: z157.string(),
4373
+ exporterId: z157.string(),
4369
4374
  role: ExporterWorkspaceMembershipRole
4370
4375
  });
4371
- var FlaggedFeature = z157.enum(["FigmaImporterV2", "ShadowOpacityOptional", "DisableImporter", "VariablesOrder"]);
4372
- var FeatureFlagMap = z157.record(FlaggedFeature, z157.boolean());
4373
- var FeatureFlag = z157.object({
4374
- id: z157.string(),
4376
+ var FlaggedFeature = z158.enum(["FigmaImporterV2", "ShadowOpacityOptional", "DisableImporter", "VariablesOrder"]);
4377
+ var FeatureFlagMap = z158.record(FlaggedFeature, z158.boolean());
4378
+ var FeatureFlag = z158.object({
4379
+ id: z158.string(),
4375
4380
  feature: FlaggedFeature,
4376
- createdAt: z157.coerce.date(),
4377
- enabled: z157.boolean(),
4378
- designSystemId: z157.string().optional()
4381
+ createdAt: z158.coerce.date(),
4382
+ enabled: z158.boolean(),
4383
+ designSystemId: z158.string().optional()
4379
4384
  });
4380
4385
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
4381
4386
  OAuthProviderNames2["Figma"] = "figma";
@@ -4385,173 +4390,173 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
4385
4390
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
4386
4391
  return OAuthProviderNames2;
4387
4392
  })(OAuthProviderNames || {});
4388
- var OAuthProviderSchema = z158.nativeEnum(OAuthProviderNames);
4393
+ var OAuthProviderSchema = z159.nativeEnum(OAuthProviderNames);
4389
4394
  var OAuthProvider = OAuthProviderSchema.enum;
4390
- var ExternalOAuthRequest = z159.object({
4391
- id: z159.string(),
4395
+ var ExternalOAuthRequest = z160.object({
4396
+ id: z160.string(),
4392
4397
  provider: OAuthProviderSchema,
4393
- userId: z159.string(),
4394
- state: z159.string(),
4395
- createdAt: z159.coerce.date()
4398
+ userId: z160.string(),
4399
+ state: z160.string(),
4400
+ createdAt: z160.coerce.date()
4396
4401
  });
4397
- var GitObjectsQuery = z160.object({
4398
- organization: z160.string().optional(),
4402
+ var GitObjectsQuery = z161.object({
4403
+ organization: z161.string().optional(),
4399
4404
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
4400
- project: z160.string().optional(),
4405
+ project: z161.string().optional(),
4401
4406
  // Only for Bitbucket and Azure
4402
- repository: z160.string().optional(),
4407
+ repository: z161.string().optional(),
4403
4408
  // For all providers. For Gitlab, it's called "project".
4404
- branch: z160.string().optional(),
4409
+ branch: z161.string().optional(),
4405
4410
  // For all providers.
4406
- user: z160.string().optional()
4411
+ user: z161.string().optional()
4407
4412
  // Gitlab user
4408
4413
  });
4409
- var GitOrganization = z160.object({
4410
- id: z160.string(),
4411
- name: z160.string(),
4412
- url: z160.string(),
4413
- slug: z160.string()
4414
+ var GitOrganization = z161.object({
4415
+ id: z161.string(),
4416
+ name: z161.string(),
4417
+ url: z161.string(),
4418
+ slug: z161.string()
4414
4419
  });
4415
- var GitProject = z160.object({
4416
- id: z160.string(),
4417
- name: z160.string(),
4418
- url: z160.string(),
4419
- slug: z160.string()
4420
+ var GitProject = z161.object({
4421
+ id: z161.string(),
4422
+ name: z161.string(),
4423
+ url: z161.string(),
4424
+ slug: z161.string()
4420
4425
  });
4421
- var GitRepository = z160.object({
4422
- id: z160.string(),
4423
- name: z160.string(),
4424
- url: z160.string(),
4425
- slug: z160.string(),
4426
+ var GitRepository = z161.object({
4427
+ id: z161.string(),
4428
+ name: z161.string(),
4429
+ url: z161.string(),
4430
+ slug: z161.string(),
4426
4431
  /**
4427
4432
  * Can be undefined when:
4428
4433
  * - there are no branches in the repository yet
4429
4434
  * - Git provider doesn't expose this information on a repository via their API
4430
4435
  */
4431
- defaultBranch: z160.string().optional()
4436
+ defaultBranch: z161.string().optional()
4432
4437
  });
4433
- var GitBranch = z160.object({
4434
- name: z160.string(),
4435
- lastCommitId: z160.string()
4438
+ var GitBranch = z161.object({
4439
+ name: z161.string(),
4440
+ lastCommitId: z161.string()
4436
4441
  });
4437
- var IntegrationTokenSchemaOld = z161.object({
4438
- id: z161.string(),
4439
- provider: OAuthProviderSchema,
4440
- scope: z161.string(),
4441
- userId: z161.string(),
4442
- accessToken: z161.string(),
4443
- refreshToken: z161.string(),
4444
- expiresAt: z161.coerce.date(),
4445
- externalUserId: z161.string().nullish()
4446
- });
4447
- var WorkspaceOAuthRequestSchema = z162.object({
4442
+ var IntegrationTokenSchemaOld = z162.object({
4448
4443
  id: z162.string(),
4449
- workspaceId: z162.string(),
4450
4444
  provider: OAuthProviderSchema,
4445
+ scope: z162.string(),
4451
4446
  userId: z162.string(),
4452
- createdAt: z162.coerce.date()
4447
+ accessToken: z162.string(),
4448
+ refreshToken: z162.string(),
4449
+ expiresAt: z162.coerce.date(),
4450
+ externalUserId: z162.string().nullish()
4451
+ });
4452
+ var WorkspaceOAuthRequestSchema = z163.object({
4453
+ id: z163.string(),
4454
+ workspaceId: z163.string(),
4455
+ provider: OAuthProviderSchema,
4456
+ userId: z163.string(),
4457
+ createdAt: z163.coerce.date()
4453
4458
  });
4454
- var AnyRecord = z163.record(z163.any());
4459
+ var AnyRecord = z164.record(z164.any());
4455
4460
  var NpmPackageVersionDist = AnyRecord.and(
4456
- z163.object({
4457
- tarball: z163.string()
4461
+ z164.object({
4462
+ tarball: z164.string()
4458
4463
  })
4459
4464
  );
4460
4465
  var NpmPackageVersion = AnyRecord.and(
4461
- z163.object({
4466
+ z164.object({
4462
4467
  dist: NpmPackageVersionDist
4463
4468
  })
4464
4469
  );
4465
4470
  var NpmPackage = AnyRecord.and(
4466
- z163.object({
4467
- _id: z163.string(),
4468
- name: z163.string(),
4471
+ z164.object({
4472
+ _id: z164.string(),
4473
+ name: z164.string(),
4469
4474
  // e.g. "latest": "1.2.3"
4470
- "dist-tags": z163.record(z163.string(), z163.string()),
4475
+ "dist-tags": z164.record(z164.string(), z164.string()),
4471
4476
  // "1.2.3": {...}
4472
- versions: z163.record(NpmPackageVersion)
4477
+ versions: z164.record(NpmPackageVersion)
4473
4478
  })
4474
4479
  );
4475
- var NpmProxyTokenPayload = z164.object({
4476
- npmProxyRegistryConfigId: z164.string()
4480
+ var NpmProxyTokenPayload = z165.object({
4481
+ npmProxyRegistryConfigId: z165.string()
4477
4482
  });
4478
- var WorkspaceRoleSchema = z165.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
4483
+ var WorkspaceRoleSchema = z166.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
4479
4484
  var WorkspaceRole = WorkspaceRoleSchema.enum;
4480
4485
  var MAX_MEMBERS_COUNT = 100;
4481
- var UserInvite = z166.object({
4482
- email: z166.string().email().trim().transform((value) => value.toLowerCase()),
4486
+ var UserInvite = z167.object({
4487
+ email: z167.string().email().trim().transform((value) => value.toLowerCase()),
4483
4488
  role: WorkspaceRoleSchema
4484
4489
  });
4485
- var UserInvites = z166.array(UserInvite).max(MAX_MEMBERS_COUNT);
4486
- var WorkspaceConfigurationUpdate = z167.object({
4487
- id: z167.string(),
4490
+ var UserInvites = z167.array(UserInvite).max(MAX_MEMBERS_COUNT);
4491
+ var WorkspaceConfigurationUpdate = z168.object({
4492
+ id: z168.string(),
4488
4493
  ipWhitelist: WorkspaceIpSettings.optional(),
4489
4494
  sso: SsoProvider.optional(),
4490
4495
  npmRegistrySettings: NpmRegistryConfig.optional(),
4491
4496
  profile: WorkspaceProfileUpdate.optional()
4492
4497
  });
4493
- var WorkspaceContext = z168.object({
4494
- workspaceId: z168.string(),
4498
+ var WorkspaceContext = z169.object({
4499
+ workspaceId: z169.string(),
4495
4500
  product: ProductCodeSchema,
4496
4501
  ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4497
- publicDesignSystem: z168.boolean().optional()
4502
+ publicDesignSystem: z169.boolean().optional()
4498
4503
  });
4499
4504
  var WORKSPACE_NAME_MIN_LENGTH = 2;
4500
4505
  var WORKSPACE_NAME_MAX_LENGTH = 64;
4501
4506
  var HANDLE_MIN_LENGTH = 2;
4502
4507
  var HANDLE_MAX_LENGTH = 64;
4503
- var CreateWorkspaceInput = z169.object({
4504
- name: z169.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
4508
+ var CreateWorkspaceInput = z170.object({
4509
+ name: z170.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
4505
4510
  product: ProductCodeSchema,
4506
- priceId: z169.string(),
4507
- billingEmail: z169.string().email().optional(),
4508
- handle: z169.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional(),
4511
+ priceId: z170.string(),
4512
+ billingEmail: z170.string().email().optional(),
4513
+ handle: z170.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional(),
4509
4514
  invites: UserInvites.optional(),
4510
- promoCode: z169.string().optional(),
4515
+ promoCode: z170.string().optional(),
4511
4516
  status: InternalStatusSchema.optional(),
4512
4517
  planInterval: BillingIntervalSchema.optional(),
4513
- seats: z169.number().optional(),
4514
- seatLimit: z169.number().optional(),
4518
+ seats: z170.number().optional(),
4519
+ seatLimit: z170.number().optional(),
4515
4520
  card: CardSchema.optional(),
4516
4521
  sso: SsoProvider.optional(),
4517
4522
  npmRegistrySettings: NpmRegistryConfig.optional(),
4518
4523
  ipWhitelist: WorkspaceIpSettings.optional()
4519
4524
  });
4520
- var WorkspaceInvitation = z170.object({
4521
- id: z170.string(),
4522
- email: z170.string().email(),
4523
- createdAt: z170.coerce.date(),
4524
- resentAt: z170.coerce.date().nullish(),
4525
- role: z170.nativeEnum(WorkspaceRole),
4526
- workspaceId: z170.string(),
4527
- invitedBy: z170.string()
4528
- });
4529
- var WorkspaceMembership = z171.object({
4525
+ var WorkspaceInvitation = z171.object({
4530
4526
  id: z171.string(),
4531
- userId: z171.string(),
4527
+ email: z171.string().email(),
4528
+ createdAt: z171.coerce.date(),
4529
+ resentAt: z171.coerce.date().nullish(),
4530
+ role: z171.nativeEnum(WorkspaceRole),
4532
4531
  workspaceId: z171.string(),
4533
- workspaceRole: z171.nativeEnum(WorkspaceRole),
4532
+ invitedBy: z171.string()
4533
+ });
4534
+ var WorkspaceMembership = z172.object({
4535
+ id: z172.string(),
4536
+ userId: z172.string(),
4537
+ workspaceId: z172.string(),
4538
+ workspaceRole: z172.nativeEnum(WorkspaceRole),
4534
4539
  notificationSettings: UserNotificationSettings
4535
4540
  });
4536
- var UpdateMembershipRolesInput = z171.object({
4537
- members: z171.array(
4538
- z171.object({
4539
- userId: z171.string(),
4540
- role: z171.nativeEnum(WorkspaceRole)
4541
+ var UpdateMembershipRolesInput = z172.object({
4542
+ members: z172.array(
4543
+ z172.object({
4544
+ userId: z172.string(),
4545
+ role: z172.nativeEnum(WorkspaceRole)
4541
4546
  })
4542
4547
  )
4543
4548
  });
4544
- var PersonalAccessToken = z172.object({
4545
- id: z172.string(),
4546
- userId: z172.string(),
4547
- workspaceId: z172.string().optional(),
4549
+ var PersonalAccessToken = z173.object({
4550
+ id: z173.string(),
4551
+ userId: z173.string(),
4552
+ workspaceId: z173.string().optional(),
4548
4553
  workspaceRole: WorkspaceRoleSchema.optional(),
4549
- name: z172.string(),
4550
- hidden: z172.boolean(),
4551
- token: z172.string(),
4552
- scope: z172.string().optional(),
4553
- createdAt: z172.coerce.date(),
4554
- expireAt: z172.coerce.date().optional()
4554
+ name: z173.string(),
4555
+ hidden: z173.boolean(),
4556
+ token: z173.string(),
4557
+ scope: z173.string().optional(),
4558
+ createdAt: z173.coerce.date(),
4559
+ expireAt: z173.coerce.date().optional()
4555
4560
  });
4556
4561
 
4557
4562
  // src/api/conversion/documentation/documentation-item-configuration-v1-to-dto.ts
@@ -4967,163 +4972,179 @@ function integrationCredentialToDto(credential) {
4967
4972
  }
4968
4973
 
4969
4974
  // src/api/dto/aux/pagination.ts
4970
- import { z as z173 } from "zod";
4971
- var DTOPagination = z173.object({
4972
- limit: z173.string().optional(),
4973
- offset: z173.string().optional()
4975
+ import { z as z174 } from "zod";
4976
+ var DTOPagination = z174.object({
4977
+ limit: z174.string().optional(),
4978
+ offset: z174.string().optional()
4974
4979
  });
4975
4980
 
4976
4981
  // src/api/dto/design-systems/brand.ts
4977
- import { z as z174 } from "zod";
4978
- var DTOBrand = z174.object({
4979
- id: z174.string(),
4980
- designSystemVersionId: z174.string(),
4981
- persistentId: z174.string(),
4982
+ import { z as z175 } from "zod";
4983
+ var DTOBrand = z175.object({
4984
+ id: z175.string(),
4985
+ designSystemVersionId: z175.string(),
4986
+ persistentId: z175.string(),
4982
4987
  meta: ObjectMeta
4983
4988
  });
4984
- var DTOBrandGetResponse = z174.object({ brand: DTOBrand });
4985
- var DTOBrandCreateResponse = z174.object({
4989
+ var DTOBrandGetResponse = z175.object({ brand: DTOBrand });
4990
+ var DTOBrandCreateResponse = z175.object({
4986
4991
  brand: DTOBrand
4987
4992
  });
4988
- var DTOBrandsListResponse = z174.object({ brands: z174.array(DTOBrand) });
4993
+ var DTOBrandsListResponse = z175.object({ brands: z175.array(DTOBrand) });
4989
4994
 
4990
4995
  // src/api/dto/design-systems/data-source.ts
4991
- import { z as z175 } from "zod";
4992
- var DTODataSourceFigmaFileVersion = z175.object({
4993
- id: z175.string(),
4994
- created_at: z175.coerce.date(),
4995
- label: z175.string(),
4996
- description: z175.string()
4997
- });
4998
- var DTODataSourceFigmaCloud = z175.object({
4999
- fileId: z175.string(),
4996
+ import { z as z176 } from "zod";
4997
+ var DTODataSourceFigmaFileVersion = z176.object({
4998
+ id: z176.string(),
4999
+ created_at: z176.coerce.date(),
5000
+ label: z176.string(),
5001
+ description: z176.string()
5002
+ });
5003
+ var DTODataSourceFigmaCloud = z176.object({
5004
+ fileId: z176.string(),
5000
5005
  state: DataSourceFigmaState,
5001
5006
  autoImportMode: DataSourceAutoImportMode,
5002
- fileThumbnailUrl: z175.string().optional(),
5007
+ fileThumbnailUrl: z176.string().optional(),
5003
5008
  lastImportResult: SourceImportSummary.nullish(),
5004
- lastImportedAt: z175.date().nullish(),
5009
+ lastImportedAt: z176.date().nullish(),
5005
5010
  lastImportedVersion: DTODataSourceFigmaFileVersion.nullish(),
5006
- lastUpdatesCheckedAt: z175.date().nullish(),
5007
- ownerId: z175.string(),
5008
- ownerUserName: z175.string().optional(),
5009
- preferredCredentialId: z175.string().optional(),
5011
+ lastUpdatesCheckedAt: z176.date().nullish(),
5012
+ ownerId: z176.string(),
5013
+ ownerUserName: z176.string().optional(),
5014
+ preferredCredentialId: z176.string().optional(),
5010
5015
  stats: DataSourceStats
5011
5016
  });
5012
- var DTODataSourceFigma = z175.object({
5013
- id: z175.string(),
5014
- type: z175.literal(DataSourceRemoteType.Enum.Figma),
5015
- fileName: z175.string(),
5017
+ var DTODataSourceFigma = z176.object({
5018
+ id: z176.string(),
5019
+ type: z176.literal(DataSourceRemoteType.Enum.Figma),
5020
+ fileName: z176.string(),
5016
5021
  scope: DataSourceFigmaScope,
5017
- brandId: z175.string(),
5018
- themeId: z175.string().nullish(),
5022
+ brandId: z176.string(),
5023
+ themeId: z176.string().nullish(),
5019
5024
  cloud: DTODataSourceFigmaCloud.nullish(),
5020
- tokenStudio: z175.literal(null),
5021
- upload: z175.literal(null),
5022
- figmaVariablesPlugin: z175.literal(null)
5023
- });
5024
- var DTODataSourceTokenStudio = z175.object({
5025
- id: z175.string(),
5026
- type: z175.literal(DataSourceRemoteType.Enum.TokenStudio),
5027
- fileName: z175.string(),
5028
- brandId: z175.string(),
5029
- themeId: z175.string().nullish(),
5030
- cloud: z175.literal(null),
5031
- tokenStudio: z175.object({
5032
- settings: z175.object({
5033
- dryRun: z175.boolean(),
5034
- verbose: z175.boolean(),
5035
- preciseCopy: z175.boolean()
5025
+ tokenStudio: z176.literal(null),
5026
+ upload: z176.literal(null),
5027
+ figmaVariablesPlugin: z176.literal(null)
5028
+ });
5029
+ var DTODataSourceTokenStudio = z176.object({
5030
+ id: z176.string(),
5031
+ type: z176.literal(DataSourceRemoteType.Enum.TokenStudio),
5032
+ fileName: z176.string(),
5033
+ brandId: z176.string(),
5034
+ themeId: z176.string().nullish(),
5035
+ cloud: z176.literal(null),
5036
+ tokenStudio: z176.object({
5037
+ settings: z176.object({
5038
+ dryRun: z176.boolean(),
5039
+ verbose: z176.boolean(),
5040
+ preciseCopy: z176.boolean()
5036
5041
  }),
5037
- connectionName: z175.string(),
5038
- lastImportedAt: z175.date(),
5039
- lastImportedResults: z175.array(
5040
- z175.object({
5041
- mapping: z175.object({
5042
- tokenSets: z175.array(z175.string()),
5043
- supernovaBrand: z175.string(),
5044
- supernovaTheme: z175.string().optional()
5042
+ connectionName: z176.string(),
5043
+ lastImportedAt: z176.date(),
5044
+ lastImportedResults: z176.array(
5045
+ z176.object({
5046
+ mapping: z176.object({
5047
+ tokenSets: z176.array(z176.string()),
5048
+ supernovaBrand: z176.string(),
5049
+ supernovaTheme: z176.string().optional()
5045
5050
  }),
5046
- isFailed: z175.boolean(),
5047
- tokensCreated: z175.number(),
5048
- tokensDeleted: z175.number(),
5049
- tokensUpdated: z175.number()
5051
+ isFailed: z176.boolean(),
5052
+ tokensCreated: z176.number(),
5053
+ tokensDeleted: z176.number(),
5054
+ tokensUpdated: z176.number()
5050
5055
  })
5051
5056
  )
5052
5057
  }),
5053
- upload: z175.literal(null),
5054
- figmaVariablesPlugin: z175.literal(null)
5055
- });
5056
- var DTODataSourceFigmaVariablesPlugin = z175.object({
5057
- id: z175.string(),
5058
- type: z175.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5059
- fileName: z175.string(),
5060
- brandId: z175.string(),
5061
- themeId: z175.literal(null),
5062
- cloud: z175.literal(null),
5063
- tokenStudio: z175.literal(null),
5064
- upload: z175.object({
5065
- remoteId: z175.string(),
5058
+ upload: z176.literal(null),
5059
+ figmaVariablesPlugin: z176.literal(null)
5060
+ });
5061
+ var DTODataSourceFigmaVariablesPlugin = z176.object({
5062
+ id: z176.string(),
5063
+ type: z176.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5064
+ fileName: z176.string(),
5065
+ brandId: z176.string(),
5066
+ themeId: z176.literal(null),
5067
+ cloud: z176.literal(null),
5068
+ tokenStudio: z176.literal(null),
5069
+ upload: z176.object({
5070
+ remoteId: z176.string(),
5066
5071
  remoteSourceType: DataSourceUploadRemoteSource,
5067
- lastImportedAt: z175.date().optional(),
5072
+ lastImportedAt: z176.date().optional(),
5068
5073
  lastImportMetadata: DataSourceUploadImportMetadata.optional()
5069
5074
  }),
5070
- figmaVariablesPlugin: z175.object({
5071
- fileId: z175.string(),
5072
- lastImportedAt: z175.date().optional(),
5075
+ figmaVariablesPlugin: z176.object({
5076
+ fileId: z176.string(),
5077
+ lastImportedAt: z176.date().optional(),
5073
5078
  lastImportMetadata: DataSourceUploadImportMetadata.optional()
5074
5079
  })
5075
5080
  });
5076
- var DTODataSource = z175.discriminatedUnion("type", [
5081
+ var DTODataSource = z176.discriminatedUnion("type", [
5077
5082
  DTODataSourceFigma,
5078
5083
  DTODataSourceFigmaVariablesPlugin,
5079
5084
  DTODataSourceTokenStudio
5080
5085
  ]);
5081
- var DTODataSourcesListResponse = z175.object({
5082
- sources: z175.array(DTODataSource)
5086
+ var DTODataSourcesListResponse = z176.object({
5087
+ sources: z176.array(DTODataSource)
5083
5088
  });
5084
- var DTODataSourceCreationResponse = z175.object({
5089
+ var DTODataSourceCreationResponse = z176.object({
5085
5090
  source: DTODataSource
5086
5091
  });
5087
5092
 
5088
5093
  // src/api/dto/design-systems/design-system.ts
5089
- import { z as z176 } from "zod";
5094
+ import { z as z177 } from "zod";
5090
5095
  var DTODesignSystem = DesignSystem.omit({
5091
5096
  name: true,
5092
5097
  description: true,
5093
5098
  docExporterId: true
5094
5099
  }).extend({
5095
5100
  meta: ObjectMeta,
5096
- docExporterId: z176.string(),
5097
- sources: z176.array(z176.any())
5101
+ docExporterId: z177.string(),
5102
+ sources: z177.array(z177.any())
5098
5103
  });
5099
5104
 
5100
5105
  // src/api/dto/design-systems/elements-diff.ts
5101
- import { z as z177 } from "zod";
5102
- var DTODiffCountBase = z177.object({
5103
- created: z177.number(),
5104
- updated: z177.number(),
5105
- deleted: z177.number()
5106
+ import { z as z178 } from "zod";
5107
+ var DTODiffCountBase = z178.object({
5108
+ created: z178.number(),
5109
+ updated: z178.number(),
5110
+ deleted: z178.number()
5106
5111
  });
5107
- var DTODesignElementsDataDiffResponse = z177.object({
5112
+ var DTODesignElementsDataDiffResponse = z178.object({
5108
5113
  tokens: DTODiffCountBase,
5109
5114
  assets: DTODiffCountBase
5110
5115
  });
5111
5116
 
5112
5117
  // src/api/dto/design-systems/exporter-property.ts
5113
- import { z as z178 } from "zod";
5114
- var DTOExporterProperty = z178.any({});
5115
- var DTOExporterPropertyListResponse = z178.object({ items: z178.array(DTOExporterProperty) });
5118
+ import { z as z179 } from "zod";
5119
+ var DTOExporterProperty = z179.any({});
5120
+ var DTOExporterPropertyListResponse = z179.object({ items: z179.array(DTOExporterProperty) });
5121
+
5122
+ // src/api/dto/design-systems/members.ts
5123
+ import { z as z180 } from "zod";
5124
+ var DTODesignSystemMember = z180.object({
5125
+ userId: z180.string()
5126
+ });
5127
+ var DTODesignSystemMemberListResponse = z180.object({
5128
+ members: DTODesignSystemMember.array()
5129
+ });
5130
+ var DTODesignSystemMembersUpdateResponse = z180.object({
5131
+ ok: z180.literal(true)
5132
+ });
5133
+ var DTODesignSystemMembersUpdatePayload = z180.object({
5134
+ inviteUserIds: z180.string().array(),
5135
+ removeUserIds: z180.string().array()
5136
+ });
5116
5137
 
5117
5138
  // src/api/dto/design-systems/version.ts
5118
- import { z as z188 } from "zod";
5139
+ import { z as z190 } from "zod";
5119
5140
 
5120
5141
  // src/api/payloads/design-systems/brand.ts
5121
- import { z as z179 } from "zod";
5122
- var DTOCreateBrandInput = z179.object({
5123
- persistentId: z179.string().uuid(),
5124
- meta: z179.object({
5125
- name: z179.string(),
5126
- description: z179.string()
5142
+ import { z as z181 } from "zod";
5143
+ var DTOCreateBrandInput = z181.object({
5144
+ persistentId: z181.string().uuid(),
5145
+ meta: z181.object({
5146
+ name: z181.string(),
5147
+ description: z181.string()
5127
5148
  })
5128
5149
  });
5129
5150
 
@@ -5131,31 +5152,31 @@ var DTOCreateBrandInput = z179.object({
5131
5152
  var DTODesignSystemUpdateInput = DesignSystemUpdateInput;
5132
5153
 
5133
5154
  // src/api/payloads/design-systems/version.ts
5134
- import { z as z180 } from "zod";
5135
- var ObjectMeta2 = z180.object({
5136
- name: z180.string().max(150).optional(),
5137
- description: z180.string().max(2e3).optional()
5155
+ import { z as z182 } from "zod";
5156
+ var ObjectMeta2 = z182.object({
5157
+ name: z182.string().max(150).optional(),
5158
+ description: z182.string().max(2e3).optional()
5138
5159
  });
5139
5160
  function validateDesignSystemVersion(version) {
5140
5161
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
5141
5162
  return urlCompliantRegex.test(version);
5142
5163
  }
5143
- var DTOCreateVersionInput = z180.object({
5164
+ var DTOCreateVersionInput = z182.object({
5144
5165
  meta: ObjectMeta2,
5145
- version: z180.string().refine(validateDesignSystemVersion, {
5166
+ version: z182.string().refine(validateDesignSystemVersion, {
5146
5167
  message: "Invalid semantic versioning format"
5147
5168
  }),
5148
- changeLog: z180.string().optional()
5169
+ changeLog: z182.string().optional()
5149
5170
  });
5150
- var DTOUpdateVersionInput = z180.object({
5171
+ var DTOUpdateVersionInput = z182.object({
5151
5172
  meta: ObjectMeta2,
5152
- version: z180.string(),
5173
+ version: z182.string(),
5153
5174
  // required for PUT, but not editable
5154
- changeLog: z180.string()
5175
+ changeLog: z182.string()
5155
5176
  });
5156
5177
 
5157
5178
  // src/api/payloads/documentation/block-definitions.ts
5158
- import { z as z181 } from "zod";
5179
+ import { z as z183 } from "zod";
5159
5180
 
5160
5181
  // src/api/dto/documentation/block-definition.ts
5161
5182
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -5167,59 +5188,59 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
5167
5188
  var DTOPageBlockDefinition = PageBlockDefinition;
5168
5189
 
5169
5190
  // src/api/payloads/documentation/block-definitions.ts
5170
- var DTOGetBlockDefinitionsOutput = z181.object({
5171
- definitions: z181.array(DTOPageBlockDefinition)
5191
+ var DTOGetBlockDefinitionsOutput = z183.object({
5192
+ definitions: z183.array(DTOPageBlockDefinition)
5172
5193
  });
5173
5194
 
5174
5195
  // src/api/payloads/documentation/design-data-doc-diff.ts
5175
- import { z as z182 } from "zod";
5176
- var DTODocumentationPublishTypeQueryParams = z182.object({
5177
- environment: z182.enum(["Live", "Preview"])
5196
+ import { z as z184 } from "zod";
5197
+ var DTODocumentationPublishTypeQueryParams = z184.object({
5198
+ environment: z184.enum(["Live", "Preview"])
5178
5199
  });
5179
5200
 
5180
5201
  // src/api/payloads/export/pipeline.ts
5181
- import { z as z183 } from "zod";
5182
- var DTOPipelineCreateBody = z183.object({
5183
- name: z183.string(),
5184
- exporterId: z183.string(),
5185
- designSystemId: z183.string(),
5186
- isEnabled: z183.boolean(),
5202
+ import { z as z185 } from "zod";
5203
+ var DTOPipelineCreateBody = z185.object({
5204
+ name: z185.string(),
5205
+ exporterId: z185.string(),
5206
+ designSystemId: z185.string(),
5207
+ isEnabled: z185.boolean(),
5187
5208
  eventType: PipelineEventType,
5188
- brandPersistentId: z183.string().optional(),
5189
- themePersistentId: z183.string().optional(),
5209
+ brandPersistentId: z185.string().optional(),
5210
+ themePersistentId: z185.string().optional(),
5190
5211
  destination: PipelineDestinationType.optional(),
5191
5212
  gitQuery: GitObjectsQuery,
5192
- destinations: z183.object({
5213
+ destinations: z185.object({
5193
5214
  s3: ExporterDestinationS3.nullish(),
5194
5215
  azure: ExporterDestinationAzure.nullish(),
5195
5216
  bitbucket: ExporterDestinationBitbucket.nullish(),
5196
5217
  github: ExporterDestinationGithub.nullish(),
5197
5218
  gitlab: ExporterDestinationGitlab.nullish(),
5198
5219
  documentation: ExporterDestinationDocs.nullish(),
5199
- webhookUrl: z183.string().nullish()
5220
+ webhookUrl: z185.string().nullish()
5200
5221
  })
5201
5222
  });
5202
5223
  var DTOPipelineUpdateBody = DTOPipelineCreateBody.extend({
5203
- id: z183.string()
5224
+ id: z185.string()
5204
5225
  });
5205
- var DTOPipelineTriggerBody = z183.object({
5206
- designSystemVersionId: z183.string()
5226
+ var DTOPipelineTriggerBody = z185.object({
5227
+ designSystemVersionId: z185.string()
5207
5228
  });
5208
5229
 
5209
5230
  // src/api/payloads/liveblocks/auth.ts
5210
- import { z as z184 } from "zod";
5211
- var DTOLiveblocksAuthRequest = z184.object({
5212
- room: z184.string().optional()
5231
+ import { z as z186 } from "zod";
5232
+ var DTOLiveblocksAuthRequest = z186.object({
5233
+ room: z186.string().optional()
5213
5234
  });
5214
5235
 
5215
5236
  // src/api/payloads/users/notifications/notification-settings.ts
5216
- import { z as z185 } from "zod";
5217
- var DTOUpdateUserNotificationSettingsPayload = z185.object({
5237
+ import { z as z187 } from "zod";
5238
+ var DTOUpdateUserNotificationSettingsPayload = z187.object({
5218
5239
  notificationSettings: UserNotificationSettings
5219
5240
  });
5220
- var DTOUserNotificationSettingsResponse = z185.object({
5221
- userId: z185.string(),
5222
- workspaceId: z185.string(),
5241
+ var DTOUserNotificationSettingsResponse = z187.object({
5242
+ userId: z187.string(),
5243
+ workspaceId: z187.string(),
5223
5244
  notificationSettings: UserNotificationSettings
5224
5245
  });
5225
5246
 
@@ -5227,7 +5248,7 @@ var DTOUserNotificationSettingsResponse = z185.object({
5227
5248
  var DTOUserProfileUpdatePayload = UserProfileUpdate;
5228
5249
 
5229
5250
  // src/api/payloads/workspaces/workspace-configuration.ts
5230
- import { z as z186 } from "zod";
5251
+ import { z as z188 } from "zod";
5231
5252
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
5232
5253
  function validateSsoPayload(ssoPayload) {
5233
5254
  const keys = [];
@@ -5250,21 +5271,21 @@ function validateSsoPayload(ssoPayload) {
5250
5271
  keys
5251
5272
  };
5252
5273
  }
5253
- var NpmRegistryInput = z186.object({
5254
- enabledScopes: z186.array(z186.string()),
5255
- customRegistryUrl: z186.string().optional(),
5256
- bypassProxy: z186.boolean().optional(),
5257
- npmProxyRegistryConfigId: z186.string().optional(),
5258
- npmProxyVersion: z186.number().optional(),
5259
- registryType: z186.string(),
5260
- authType: z186.string(),
5261
- authHeaderName: z186.string(),
5262
- authHeaderValue: z186.string(),
5263
- accessToken: z186.string(),
5264
- username: z186.string(),
5265
- password: z186.string()
5266
- });
5267
- var WorkspaceConfigurationPayload = z186.object({
5274
+ var NpmRegistryInput = z188.object({
5275
+ enabledScopes: z188.array(z188.string()),
5276
+ customRegistryUrl: z188.string().optional(),
5277
+ bypassProxy: z188.boolean().optional(),
5278
+ npmProxyRegistryConfigId: z188.string().optional(),
5279
+ npmProxyVersion: z188.number().optional(),
5280
+ registryType: z188.string(),
5281
+ authType: z188.string(),
5282
+ authHeaderName: z188.string(),
5283
+ authHeaderValue: z188.string(),
5284
+ accessToken: z188.string(),
5285
+ username: z188.string(),
5286
+ password: z188.string()
5287
+ });
5288
+ var WorkspaceConfigurationPayload = z188.object({
5268
5289
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
5269
5290
  sso: SsoProvider.partial().optional(),
5270
5291
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
@@ -5272,114 +5293,114 @@ var WorkspaceConfigurationPayload = z186.object({
5272
5293
  });
5273
5294
 
5274
5295
  // src/api/payloads/workspaces/workspace-integrations.ts
5275
- import { z as z187 } from "zod";
5276
- var DTOWorkspaceIntegrationOauthInput = z187.object({
5296
+ import { z as z189 } from "zod";
5297
+ var DTOWorkspaceIntegrationOauthInput = z189.object({
5277
5298
  type: IntegrationType
5278
5299
  });
5279
- var DTOWorkspaceIntegrationPATInput = z187.object({
5280
- userId: z187.string(),
5300
+ var DTOWorkspaceIntegrationPATInput = z189.object({
5301
+ userId: z189.string(),
5281
5302
  type: IntegrationType,
5282
5303
  token: IntegrationToken
5283
5304
  });
5284
- var DTOWorkspaceIntegrationGetGitObjectsInput = z187.object({
5285
- organization: z187.string().optional(),
5305
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z189.object({
5306
+ organization: z189.string().optional(),
5286
5307
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
5287
- project: z187.string().optional(),
5308
+ project: z189.string().optional(),
5288
5309
  // Only for Bitbucket and Azure
5289
- repository: z187.string().optional(),
5310
+ repository: z189.string().optional(),
5290
5311
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
5291
- branch: z187.string().optional(),
5312
+ branch: z189.string().optional(),
5292
5313
  // For all providers, useful for PR creations.
5293
- user: z187.string().optional()
5314
+ user: z189.string().optional()
5294
5315
  // Only for Gitlab User Repositories
5295
5316
  });
5296
5317
 
5297
5318
  // src/api/dto/design-systems/version.ts
5298
- var DTODesignSystemVersion = z188.object({
5299
- id: z188.string(),
5300
- createdAt: z188.date(),
5319
+ var DTODesignSystemVersion = z190.object({
5320
+ id: z190.string(),
5321
+ createdAt: z190.date(),
5301
5322
  meta: ObjectMeta,
5302
- version: z188.string(),
5303
- isReadonly: z188.boolean(),
5304
- changeLog: z188.string(),
5305
- designSystemId: z188.string()
5323
+ version: z190.string(),
5324
+ isReadonly: z190.boolean(),
5325
+ changeLog: z190.string(),
5326
+ designSystemId: z190.string()
5306
5327
  });
5307
- var DTODesignSystemVersionsListResponse = z188.object({
5308
- designSystemVersions: z188.array(DTODesignSystemVersion)
5328
+ var DTODesignSystemVersionsListResponse = z190.object({
5329
+ designSystemVersions: z190.array(DTODesignSystemVersion)
5309
5330
  });
5310
- var DTODesignSystemVersionGetResponse = z188.object({
5331
+ var DTODesignSystemVersionGetResponse = z190.object({
5311
5332
  designSystemVersion: DTODesignSystemVersion
5312
5333
  });
5313
- var DTODesignSystemVersionCreationResponse = z188.object({
5334
+ var DTODesignSystemVersionCreationResponse = z190.object({
5314
5335
  meta: ObjectMeta,
5315
- version: z188.string(),
5316
- changeLog: z188.string(),
5317
- isReadOnly: z188.boolean(),
5318
- designSystemId: z188.string(),
5319
- jobId: z188.string()
5320
- });
5321
- var VersionSQSPayload = z188.object({
5322
- jobId: z188.string(),
5323
- designSystemId: z188.string(),
5336
+ version: z190.string(),
5337
+ changeLog: z190.string(),
5338
+ isReadOnly: z190.boolean(),
5339
+ designSystemId: z190.string(),
5340
+ jobId: z190.string()
5341
+ });
5342
+ var VersionSQSPayload = z190.object({
5343
+ jobId: z190.string(),
5344
+ designSystemId: z190.string(),
5324
5345
  input: DTOCreateVersionInput
5325
5346
  });
5326
- var DTODesignSystemVersionJobsResponse = z188.object({
5327
- jobs: z188.array(VersionCreationJob)
5347
+ var DTODesignSystemVersionJobsResponse = z190.object({
5348
+ jobs: z190.array(VersionCreationJob)
5328
5349
  });
5329
- var DTODesignSystemVersionJobStatusResponse = z188.object({
5350
+ var DTODesignSystemVersionJobStatusResponse = z190.object({
5330
5351
  job: VersionCreationJob
5331
5352
  });
5332
5353
 
5333
5354
  // src/api/dto/design-systems/view.ts
5334
- import { z as z189 } from "zod";
5335
- var DTOElementViewColumnSharedAttributes = z189.object({
5336
- id: z189.string(),
5337
- persistentId: z189.string(),
5338
- width: z189.number()
5355
+ import { z as z191 } from "zod";
5356
+ var DTOElementViewColumnSharedAttributes = z191.object({
5357
+ id: z191.string(),
5358
+ persistentId: z191.string(),
5359
+ width: z191.number()
5339
5360
  });
5340
5361
  var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
5341
- type: z189.literal("BaseProperty"),
5362
+ type: z191.literal("BaseProperty"),
5342
5363
  basePropertyType: ElementViewBaseColumnType
5343
5364
  });
5344
5365
  var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
5345
- type: z189.literal("PropertyDefinition"),
5346
- propertyDefinitionId: z189.string()
5366
+ type: z191.literal("PropertyDefinition"),
5367
+ propertyDefinitionId: z191.string()
5347
5368
  });
5348
5369
  var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
5349
- type: z189.literal("Theme"),
5350
- themeId: z189.string()
5370
+ type: z191.literal("Theme"),
5371
+ themeId: z191.string()
5351
5372
  });
5352
- var DTOElementViewColumn = z189.discriminatedUnion("type", [
5373
+ var DTOElementViewColumn = z191.discriminatedUnion("type", [
5353
5374
  DTOElementViewBasePropertyColumn,
5354
5375
  DTOElementViewPropertyDefinitionColumn,
5355
5376
  DTOElementViewThemeColumn
5356
5377
  ]);
5357
- var DTOElementView = z189.object({
5378
+ var DTOElementView = z191.object({
5358
5379
  meta: ObjectMeta,
5359
- persistentId: z189.string(),
5380
+ persistentId: z191.string(),
5360
5381
  targetElementType: ElementPropertyTargetType,
5361
- id: z189.string(),
5362
- isDefault: z189.boolean(),
5363
- columns: z189.array(DTOElementViewColumn)
5382
+ id: z191.string(),
5383
+ isDefault: z191.boolean(),
5384
+ columns: z191.array(DTOElementViewColumn)
5364
5385
  });
5365
- var DTOElementViewsListResponse = z189.object({
5366
- elementDataViews: z189.array(DTOElementView)
5386
+ var DTOElementViewsListResponse = z191.object({
5387
+ elementDataViews: z191.array(DTOElementView)
5367
5388
  });
5368
5389
 
5369
5390
  // src/api/dto/documentation/anchor.ts
5370
- import { z as z190 } from "zod";
5391
+ import { z as z192 } from "zod";
5371
5392
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
5372
- var DTOGetDocumentationPageAnchorsResponse = z190.object({
5373
- anchors: z190.array(DTODocumentationPageAnchor)
5393
+ var DTOGetDocumentationPageAnchorsResponse = z192.object({
5394
+ anchors: z192.array(DTODocumentationPageAnchor)
5374
5395
  });
5375
5396
 
5376
5397
  // src/api/dto/documentation/approvals.ts
5377
- import { z as z191 } from "zod";
5398
+ import { z as z193 } from "zod";
5378
5399
  var DTODocumentationPageApprovalState = DocumentationPageApproval;
5379
- var DTODocumentationGroupApprovalState = z191.object({
5380
- persistentId: z191.string(),
5381
- groupId: z191.string(),
5382
- designSystemVersionId: z191.string(),
5400
+ var DTODocumentationGroupApprovalState = z193.object({
5401
+ persistentId: z193.string(),
5402
+ groupId: z193.string(),
5403
+ designSystemVersionId: z193.string(),
5383
5404
  approvalState: DocumentationPageApprovalState
5384
5405
  });
5385
5406
 
@@ -5387,68 +5408,68 @@ var DTODocumentationGroupApprovalState = z191.object({
5387
5408
  var DTOPageBlockItemV2 = PageBlockItemV2;
5388
5409
 
5389
5410
  // src/api/dto/documentation/documentation-page-snapshot.ts
5390
- import { z as z196 } from "zod";
5411
+ import { z as z198 } from "zod";
5391
5412
 
5392
5413
  // src/api/dto/elements/documentation/page-v2.ts
5393
- import { z as z195 } from "zod";
5414
+ import { z as z197 } from "zod";
5394
5415
 
5395
5416
  // src/api/dto/elements/documentation/draft-state.ts
5396
- import { z as z193 } from "zod";
5417
+ import { z as z195 } from "zod";
5397
5418
 
5398
5419
  // src/api/dto/elements/documentation/item-configuration-v2.ts
5399
- import { z as z192 } from "zod";
5420
+ import { z as z194 } from "zod";
5400
5421
  var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
5401
- var DTODocumentationItemConfigurationV2 = z192.object({
5402
- showSidebar: z192.boolean(),
5403
- isPrivate: z192.boolean(),
5404
- isHidden: z192.boolean(),
5422
+ var DTODocumentationItemConfigurationV2 = z194.object({
5423
+ showSidebar: z194.boolean(),
5424
+ isPrivate: z194.boolean(),
5425
+ isHidden: z194.boolean(),
5405
5426
  header: DTODocumentationItemHeaderV2
5406
5427
  });
5407
5428
 
5408
5429
  // src/api/dto/elements/documentation/draft-state.ts
5409
- var DTODocumentationDraftChangeType = z193.enum(["Created", "Updated", "Deleted"]);
5410
- var DTODocumentationDraftStateCreated = z193.object({
5411
- changeType: z193.literal(DTODocumentationDraftChangeType.enum.Created)
5412
- });
5413
- var DTODocumentationDraftStateUpdated = z193.object({
5414
- changeType: z193.literal(DTODocumentationDraftChangeType.enum.Updated),
5415
- changes: z193.object({
5416
- previousTitle: z193.string().optional(),
5430
+ var DTODocumentationDraftChangeType = z195.enum(["Created", "Updated", "Deleted"]);
5431
+ var DTODocumentationDraftStateCreated = z195.object({
5432
+ changeType: z195.literal(DTODocumentationDraftChangeType.enum.Created)
5433
+ });
5434
+ var DTODocumentationDraftStateUpdated = z195.object({
5435
+ changeType: z195.literal(DTODocumentationDraftChangeType.enum.Updated),
5436
+ changes: z195.object({
5437
+ previousTitle: z195.string().optional(),
5417
5438
  previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
5418
- previousContentHash: z193.string().optional()
5439
+ previousContentHash: z195.string().optional()
5419
5440
  })
5420
5441
  });
5421
- var DTODocumentationDraftStateDeleted = z193.object({
5422
- changeType: z193.literal(DTODocumentationDraftChangeType.enum.Deleted),
5423
- deletedAt: z193.coerce.date(),
5424
- deletedByUserId: z193.string()
5442
+ var DTODocumentationDraftStateDeleted = z195.object({
5443
+ changeType: z195.literal(DTODocumentationDraftChangeType.enum.Deleted),
5444
+ deletedAt: z195.coerce.date(),
5445
+ deletedByUserId: z195.string()
5425
5446
  });
5426
- var DTODocumentationDraftState = z193.discriminatedUnion("changeType", [
5447
+ var DTODocumentationDraftState = z195.discriminatedUnion("changeType", [
5427
5448
  DTODocumentationDraftStateCreated,
5428
5449
  DTODocumentationDraftStateUpdated,
5429
5450
  DTODocumentationDraftStateDeleted
5430
5451
  ]);
5431
5452
 
5432
5453
  // src/api/dto/elements/documentation/metadata.ts
5433
- import { z as z194 } from "zod";
5434
- var DTODocumentationPublishMetadata = z194.object({
5435
- lastPublishedByUserId: z194.string(),
5436
- lastPublishedAt: z194.coerce.date()
5454
+ import { z as z196 } from "zod";
5455
+ var DTODocumentationPublishMetadata = z196.object({
5456
+ lastPublishedByUserId: z196.string(),
5457
+ lastPublishedAt: z196.coerce.date()
5437
5458
  });
5438
5459
 
5439
5460
  // src/api/dto/elements/documentation/page-v2.ts
5440
- var DTODocumentationPageV2 = z195.object({
5441
- id: z195.string(),
5442
- persistentId: z195.string(),
5443
- designSystemVersionId: z195.string(),
5444
- title: z195.string(),
5461
+ var DTODocumentationPageV2 = z197.object({
5462
+ id: z197.string(),
5463
+ persistentId: z197.string(),
5464
+ designSystemVersionId: z197.string(),
5465
+ title: z197.string(),
5445
5466
  configuration: DTODocumentationItemConfigurationV2,
5446
- shortPersistentId: z195.string(),
5447
- slug: z195.string().optional(),
5448
- userSlug: z195.string().optional(),
5449
- createdAt: z195.coerce.date(),
5450
- updatedAt: z195.coerce.date(),
5451
- path: z195.string(),
5467
+ shortPersistentId: z197.string(),
5468
+ slug: z197.string().optional(),
5469
+ userSlug: z197.string().optional(),
5470
+ createdAt: z197.coerce.date(),
5471
+ updatedAt: z197.coerce.date(),
5472
+ path: z197.string(),
5452
5473
  /** Defined when a page has changed since last publish and can be included into a partial publish */
5453
5474
  draftState: DTODocumentationDraftState.optional(),
5454
5475
  /** Defined if a page was published at least once and contains metadata about last publish */
@@ -5456,195 +5477,195 @@ var DTODocumentationPageV2 = z195.object({
5456
5477
  /** Defines the approval state of the documentation page */
5457
5478
  approvalState: DTODocumentationPageApprovalState.optional(),
5458
5479
  // Backward compatibility
5459
- type: z195.literal("Page")
5480
+ type: z197.literal("Page")
5460
5481
  });
5461
- var DTOCreateDocumentationPageInputV2 = z195.object({
5482
+ var DTOCreateDocumentationPageInputV2 = z197.object({
5462
5483
  // Identifier
5463
- persistentId: z195.string().uuid(),
5484
+ persistentId: z197.string().uuid(),
5464
5485
  // Page properties
5465
- title: z195.string(),
5486
+ title: z197.string(),
5466
5487
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
5467
5488
  // Page placement properties
5468
- parentPersistentId: z195.string().uuid(),
5469
- afterPersistentId: z195.string().uuid().nullish()
5489
+ parentPersistentId: z197.string().uuid(),
5490
+ afterPersistentId: z197.string().uuid().nullish()
5470
5491
  });
5471
- var DTOUpdateDocumentationPageInputV2 = z195.object({
5492
+ var DTOUpdateDocumentationPageInputV2 = z197.object({
5472
5493
  // Identifier of the group to update
5473
- id: z195.string(),
5494
+ id: z197.string(),
5474
5495
  // Page properties
5475
- title: z195.string().optional(),
5496
+ title: z197.string().optional(),
5476
5497
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
5477
5498
  });
5478
- var DTOMoveDocumentationPageInputV2 = z195.object({
5499
+ var DTOMoveDocumentationPageInputV2 = z197.object({
5479
5500
  // Identifier of the group to update
5480
- id: z195.string(),
5501
+ id: z197.string(),
5481
5502
  // Page placement properties
5482
- parentPersistentId: z195.string().uuid(),
5483
- afterPersistentId: z195.string().uuid().nullish()
5503
+ parentPersistentId: z197.string().uuid(),
5504
+ afterPersistentId: z197.string().uuid().nullish()
5484
5505
  });
5485
- var DTODuplicateDocumentationPageInputV2 = z195.object({
5506
+ var DTODuplicateDocumentationPageInputV2 = z197.object({
5486
5507
  // Identifier of the page to duplicate from
5487
- id: z195.string(),
5508
+ id: z197.string(),
5488
5509
  // New page persistent id
5489
- persistentId: z195.string().uuid(),
5510
+ persistentId: z197.string().uuid(),
5490
5511
  // Page placement properties
5491
- parentPersistentId: z195.string().uuid(),
5492
- afterPersistentId: z195.string().uuid().nullish()
5512
+ parentPersistentId: z197.string().uuid(),
5513
+ afterPersistentId: z197.string().uuid().nullish()
5493
5514
  });
5494
- var DTODeleteDocumentationPageInputV2 = z195.object({
5515
+ var DTODeleteDocumentationPageInputV2 = z197.object({
5495
5516
  // Identifier
5496
- id: z195.string()
5517
+ id: z197.string()
5497
5518
  });
5498
- var DTORestoreDocumentationPageInput = z195.object({
5499
- persistentId: z195.string(),
5500
- snapshotId: z195.string().optional()
5519
+ var DTORestoreDocumentationPageInput = z197.object({
5520
+ persistentId: z197.string(),
5521
+ snapshotId: z197.string().optional()
5501
5522
  });
5502
- var DTORestoreDocumentationGroupInput = z195.object({
5503
- persistentId: z195.string(),
5504
- snapshotId: z195.string().optional()
5523
+ var DTORestoreDocumentationGroupInput = z197.object({
5524
+ persistentId: z197.string(),
5525
+ snapshotId: z197.string().optional()
5505
5526
  });
5506
- var DTODocumentationPageApprovalStateChangeInput = z195.object({
5507
- persistentId: z195.string(),
5527
+ var DTODocumentationPageApprovalStateChangeInput = z197.object({
5528
+ persistentId: z197.string(),
5508
5529
  approvalState: DocumentationPageApprovalState.optional()
5509
5530
  });
5510
5531
 
5511
5532
  // src/api/dto/documentation/documentation-page-snapshot.ts
5512
- var DTODocumentationPageSnapshot = z196.object({
5513
- id: z196.string(),
5514
- designSystemVersionId: z196.string(),
5515
- createdAt: z196.string(),
5516
- updatedAt: z196.string(),
5533
+ var DTODocumentationPageSnapshot = z198.object({
5534
+ id: z198.string(),
5535
+ designSystemVersionId: z198.string(),
5536
+ createdAt: z198.string(),
5537
+ updatedAt: z198.string(),
5517
5538
  documentationPage: DTODocumentationPageV2,
5518
- pageContentHash: z196.string(),
5539
+ pageContentHash: z198.string(),
5519
5540
  reason: DesignElementSnapshotReason
5520
5541
  });
5521
5542
 
5522
5543
  // src/api/dto/documentation/link-preview.ts
5523
- import { z as z197 } from "zod";
5524
- var DTODocumentationLinkPreviewResponse = z197.object({
5544
+ import { z as z199 } from "zod";
5545
+ var DTODocumentationLinkPreviewResponse = z199.object({
5525
5546
  linkPreview: DocumentationLinkPreview
5526
5547
  });
5527
- var DTODocumentationLinkPreviewRequest = z197.object({
5528
- url: z197.string().optional(),
5529
- documentationItemPersistentId: z197.string().optional()
5548
+ var DTODocumentationLinkPreviewRequest = z199.object({
5549
+ url: z199.string().optional(),
5550
+ documentationItemPersistentId: z199.string().optional()
5530
5551
  });
5531
5552
 
5532
5553
  // src/api/dto/documentation/publish.ts
5533
- import { z as z201 } from "zod";
5554
+ import { z as z203 } from "zod";
5534
5555
 
5535
5556
  // src/api/dto/export/exporter.ts
5536
- import { z as z198 } from "zod";
5537
- var DTOExporterType = z198.enum(["documentation", "code"]);
5538
- var DTOExporterSource = z198.enum(["git", "upload"]);
5539
- var DTOExporterMembershipRole = z198.enum(["Owner", "OwnerArchived", "User"]);
5540
- var DTOExporter = z198.object({
5541
- id: z198.string(),
5542
- name: z198.string(),
5543
- isPrivate: z198.boolean(),
5557
+ import { z as z200 } from "zod";
5558
+ var DTOExporterType = z200.enum(["documentation", "code"]);
5559
+ var DTOExporterSource = z200.enum(["git", "upload"]);
5560
+ var DTOExporterMembershipRole = z200.enum(["Owner", "OwnerArchived", "User"]);
5561
+ var DTOExporter = z200.object({
5562
+ id: z200.string(),
5563
+ name: z200.string(),
5564
+ isPrivate: z200.boolean(),
5544
5565
  exporterType: DTOExporterType,
5545
- isDefaultDocumentationExporter: z198.boolean(),
5546
- iconURL: z198.string().optional(),
5566
+ isDefaultDocumentationExporter: z200.boolean(),
5567
+ iconURL: z200.string().optional(),
5547
5568
  configurationProperties: PulsarContributionConfigurationProperty.array(),
5548
5569
  customBlocks: PulsarCustomBlock.array(),
5549
- blockVariants: z198.record(z198.string(), PulsarContributionVariant.array()),
5550
- usesBrands: z198.boolean(),
5551
- usesThemes: z198.boolean(),
5570
+ blockVariants: z200.record(z200.string(), PulsarContributionVariant.array()),
5571
+ usesBrands: z200.boolean(),
5572
+ usesThemes: z200.boolean(),
5552
5573
  source: DTOExporterSource,
5553
- gitUrl: z198.string().optional(),
5554
- gitBranch: z198.string().optional(),
5555
- gitDirectory: z198.string().optional()
5574
+ gitUrl: z200.string().optional(),
5575
+ gitBranch: z200.string().optional(),
5576
+ gitDirectory: z200.string().optional()
5556
5577
  });
5557
- var DTOExporterMembership = z198.object({
5558
- workspaceId: z198.string(),
5559
- exporterId: z198.string(),
5578
+ var DTOExporterMembership = z200.object({
5579
+ workspaceId: z200.string(),
5580
+ exporterId: z200.string(),
5560
5581
  role: DTOExporterMembershipRole
5561
5582
  });
5562
- var DTOExporterCreateOutput = z198.object({
5583
+ var DTOExporterCreateOutput = z200.object({
5563
5584
  exporter: DTOExporter,
5564
5585
  membership: DTOExporterMembership
5565
5586
  });
5566
- var DTOExporterGitProviderEnum = z198.enum(["github", "gitlab", "bitbucket", "azure"]);
5567
- var DTOExporterCreateInput = z198.object({
5568
- url: z198.string(),
5587
+ var DTOExporterGitProviderEnum = z200.enum(["github", "gitlab", "bitbucket", "azure"]);
5588
+ var DTOExporterCreateInput = z200.object({
5589
+ url: z200.string(),
5569
5590
  provider: DTOExporterGitProviderEnum
5570
5591
  });
5571
- var DTOExporterUpdateInput = z198.object({
5572
- url: z198.string().optional()
5592
+ var DTOExporterUpdateInput = z200.object({
5593
+ url: z200.string().optional()
5573
5594
  });
5574
5595
 
5575
5596
  // src/api/dto/export/filter.ts
5576
5597
  var DTOExportJobsListFilter = ExportJobFindByFilter;
5577
5598
 
5578
5599
  // src/api/dto/export/job.ts
5579
- import { z as z199 } from "zod";
5580
- var DTOExportJobCreatedBy = z199.object({
5581
- userId: z199.string(),
5582
- userName: z199.string()
5600
+ import { z as z201 } from "zod";
5601
+ var DTOExportJobCreatedBy = z201.object({
5602
+ userId: z201.string(),
5603
+ userName: z201.string()
5583
5604
  });
5584
- var DTOExportJobDesignSystemPreview = z199.object({
5585
- id: z199.string(),
5605
+ var DTOExportJobDesignSystemPreview = z201.object({
5606
+ id: z201.string(),
5586
5607
  meta: ObjectMeta
5587
5608
  });
5588
- var DTOExportJobDesignSystemVersionPreview = z199.object({
5589
- id: z199.string(),
5609
+ var DTOExportJobDesignSystemVersionPreview = z201.object({
5610
+ id: z201.string(),
5590
5611
  meta: ObjectMeta,
5591
- version: z199.string(),
5592
- isReadonly: z199.boolean()
5612
+ version: z201.string(),
5613
+ isReadonly: z201.boolean()
5593
5614
  });
5594
- var DTOExportJobDestinations = z199.object({
5615
+ var DTOExportJobDestinations = z201.object({
5595
5616
  s3: ExporterDestinationS3.optional(),
5596
5617
  azure: ExporterDestinationAzure.optional(),
5597
5618
  bitbucket: ExporterDestinationBitbucket.optional(),
5598
5619
  github: ExporterDestinationGithub.optional(),
5599
5620
  gitlab: ExporterDestinationGitlab.optional(),
5600
5621
  documentation: ExporterDestinationDocs.optional(),
5601
- webhookUrl: z199.string().optional()
5622
+ webhookUrl: z201.string().optional()
5602
5623
  });
5603
5624
  var DTOExportJobResult = ExportJobResult.omit({
5604
5625
  sndocs: true
5605
5626
  }).extend({
5606
5627
  documentation: ExportJobDocsDestinationResult.optional()
5607
5628
  });
5608
- var DTOExportJob = z199.object({
5609
- id: z199.string(),
5610
- createdAt: z199.coerce.date(),
5611
- finishedAt: z199.coerce.date().optional(),
5612
- index: z199.number().optional(),
5629
+ var DTOExportJob = z201.object({
5630
+ id: z201.string(),
5631
+ createdAt: z201.coerce.date(),
5632
+ finishedAt: z201.coerce.date().optional(),
5633
+ index: z201.number().optional(),
5613
5634
  status: ExportJobStatus,
5614
- estimatedExecutionTime: z199.number().optional(),
5635
+ estimatedExecutionTime: z201.number().optional(),
5615
5636
  createdBy: DTOExportJobCreatedBy.optional(),
5616
5637
  designSystem: DTOExportJobDesignSystemPreview,
5617
5638
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
5618
5639
  destinations: DTOExportJobDestinations,
5619
- exporterId: z199.string(),
5620
- scheduleId: z199.string().optional(),
5640
+ exporterId: z201.string(),
5641
+ scheduleId: z201.string().optional(),
5621
5642
  result: DTOExportJobResult.optional(),
5622
- brandPersistentId: z199.string().optional(),
5623
- themePersistentId: z199.string().optional()
5643
+ brandPersistentId: z201.string().optional(),
5644
+ themePersistentId: z201.string().optional()
5624
5645
  });
5625
- var DTOExportJobResponse = z199.object({
5646
+ var DTOExportJobResponse = z201.object({
5626
5647
  job: DTOExportJob
5627
5648
  });
5628
5649
 
5629
5650
  // src/api/dto/export/pipeline.ts
5630
- import { z as z200 } from "zod";
5631
- var DTOPipeline = z200.object({
5632
- id: z200.string(),
5633
- name: z200.string(),
5651
+ import { z as z202 } from "zod";
5652
+ var DTOPipeline = z202.object({
5653
+ id: z202.string(),
5654
+ name: z202.string(),
5634
5655
  eventType: PipelineEventType,
5635
- isEnabled: z200.boolean(),
5636
- workspaceId: z200.string(),
5637
- designSystemId: z200.string(),
5638
- exporterId: z200.string(),
5639
- brandPersistentId: z200.string().optional(),
5640
- themePersistentId: z200.string().optional(),
5656
+ isEnabled: z202.boolean(),
5657
+ workspaceId: z202.string(),
5658
+ designSystemId: z202.string(),
5659
+ exporterId: z202.string(),
5660
+ brandPersistentId: z202.string().optional(),
5661
+ themePersistentId: z202.string().optional(),
5641
5662
  ...ExportDestinationsMap.shape,
5642
5663
  latestJobs: DTOExportJob.array()
5643
5664
  });
5644
5665
 
5645
5666
  // src/api/dto/documentation/publish.ts
5646
5667
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
5647
- var DTOPublishDocumentationRequest = z201.object({
5668
+ var DTOPublishDocumentationRequest = z203.object({
5648
5669
  environment: PublishedDocEnvironment,
5649
5670
  /**
5650
5671
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -5652,41 +5673,41 @@ var DTOPublishDocumentationRequest = z201.object({
5652
5673
  */
5653
5674
  changes: DTOPublishDocumentationChanges.optional()
5654
5675
  });
5655
- var DTOPublishDocumentationResponse = z201.object({
5676
+ var DTOPublishDocumentationResponse = z203.object({
5656
5677
  job: DTOExportJob
5657
5678
  });
5658
5679
 
5659
5680
  // src/api/dto/elements/components/figma-component.ts
5660
- import { z as z202 } from "zod";
5681
+ import { z as z204 } from "zod";
5661
5682
  var DTOFigmaComponentProperty = FigmaComponentProperty;
5662
- var DTOFigmaComponentPropertyMap = z202.record(DTOFigmaComponentProperty);
5663
- var DTOFigmaComponent = z202.object({
5664
- id: z202.string(),
5665
- persistentId: z202.string(),
5666
- designSystemVersionId: z202.string(),
5667
- brandId: z202.string(),
5668
- thumbnailUrl: z202.string().optional(),
5669
- svgUrl: z202.string().optional(),
5670
- exportProperties: z202.object({
5671
- isAsset: z202.boolean()
5683
+ var DTOFigmaComponentPropertyMap = z204.record(DTOFigmaComponentProperty);
5684
+ var DTOFigmaComponent = z204.object({
5685
+ id: z204.string(),
5686
+ persistentId: z204.string(),
5687
+ designSystemVersionId: z204.string(),
5688
+ brandId: z204.string(),
5689
+ thumbnailUrl: z204.string().optional(),
5690
+ svgUrl: z204.string().optional(),
5691
+ exportProperties: z204.object({
5692
+ isAsset: z204.boolean()
5672
5693
  }),
5673
- createdAt: z202.coerce.date(),
5674
- updatedAt: z202.coerce.date(),
5694
+ createdAt: z204.coerce.date(),
5695
+ updatedAt: z204.coerce.date(),
5675
5696
  meta: ObjectMeta,
5676
5697
  originComponent: FigmaComponentOrigin.optional(),
5677
- parentComponentPersistentId: z202.string().optional(),
5698
+ parentComponentPersistentId: z204.string().optional(),
5678
5699
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
5679
- childrenPersistentIds: z202.string().array().optional()
5700
+ childrenPersistentIds: z204.string().array().optional()
5680
5701
  });
5681
- var DTOFigmaComponentListResponse = z202.object({
5702
+ var DTOFigmaComponentListResponse = z204.object({
5682
5703
  components: DTOFigmaComponent.array()
5683
5704
  });
5684
5705
 
5685
5706
  // src/api/dto/elements/documentation/group-action.ts
5686
- import { z as z204 } from "zod";
5707
+ import { z as z206 } from "zod";
5687
5708
 
5688
5709
  // src/api/dto/elements/documentation/group-v2.ts
5689
- import { z as z203 } from "zod";
5710
+ import { z as z205 } from "zod";
5690
5711
  var DTODocumentationGroupV2 = ElementGroup.omit({
5691
5712
  sortOrder: true,
5692
5713
  parentPersistentId: true,
@@ -5696,13 +5717,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
5696
5717
  data: true,
5697
5718
  shortPersistentId: true
5698
5719
  }).extend({
5699
- title: z203.string(),
5700
- isRoot: z203.boolean(),
5701
- childrenIds: z203.array(z203.string()),
5720
+ title: z205.string(),
5721
+ isRoot: z205.boolean(),
5722
+ childrenIds: z205.array(z205.string()),
5702
5723
  groupBehavior: DocumentationGroupBehavior,
5703
- shortPersistentId: z203.string(),
5724
+ shortPersistentId: z205.string(),
5704
5725
  configuration: DTODocumentationItemConfigurationV2,
5705
- type: z203.literal("Group"),
5726
+ type: z205.literal("Group"),
5706
5727
  /** Defined when a group has changed since last publish and can be included into a partial publish */
5707
5728
  draftState: DTODocumentationDraftState.optional(),
5708
5729
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -5710,127 +5731,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
5710
5731
  //** An approval state for frontend to utilize. */
5711
5732
  approvalState: DTODocumentationGroupApprovalState.optional()
5712
5733
  });
5713
- var DTOCreateDocumentationGroupInput = z203.object({
5734
+ var DTOCreateDocumentationGroupInput = z205.object({
5714
5735
  // Identifier
5715
- persistentId: z203.string().uuid(),
5736
+ persistentId: z205.string().uuid(),
5716
5737
  // Group properties
5717
- title: z203.string(),
5738
+ title: z205.string(),
5718
5739
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
5719
5740
  // Group placement properties
5720
- afterPersistentId: z203.string().uuid().nullish(),
5721
- parentPersistentId: z203.string().uuid()
5741
+ afterPersistentId: z205.string().uuid().nullish(),
5742
+ parentPersistentId: z205.string().uuid()
5722
5743
  });
5723
- var DTOUpdateDocumentationGroupInput = z203.object({
5744
+ var DTOUpdateDocumentationGroupInput = z205.object({
5724
5745
  // Identifier of the group to update
5725
- id: z203.string(),
5746
+ id: z205.string(),
5726
5747
  // Group properties
5727
- title: z203.string().optional(),
5748
+ title: z205.string().optional(),
5728
5749
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
5729
5750
  });
5730
- var DTOMoveDocumentationGroupInput = z203.object({
5751
+ var DTOMoveDocumentationGroupInput = z205.object({
5731
5752
  // Identifier of the group to update
5732
- id: z203.string(),
5753
+ id: z205.string(),
5733
5754
  // Group placement properties
5734
- parentPersistentId: z203.string().uuid(),
5735
- afterPersistentId: z203.string().uuid().nullish()
5755
+ parentPersistentId: z205.string().uuid(),
5756
+ afterPersistentId: z205.string().uuid().nullish()
5736
5757
  });
5737
- var DTODuplicateDocumentationGroupInput = z203.object({
5758
+ var DTODuplicateDocumentationGroupInput = z205.object({
5738
5759
  // Identifier of the group to duplicate from
5739
- id: z203.string(),
5760
+ id: z205.string(),
5740
5761
  // New group persistent id
5741
- persistentId: z203.string().uuid(),
5762
+ persistentId: z205.string().uuid(),
5742
5763
  // Group placement properties
5743
- afterPersistentId: z203.string().uuid().nullish(),
5744
- parentPersistentId: z203.string().uuid()
5764
+ afterPersistentId: z205.string().uuid().nullish(),
5765
+ parentPersistentId: z205.string().uuid()
5745
5766
  });
5746
- var DTOCreateDocumentationTabInput = z203.object({
5767
+ var DTOCreateDocumentationTabInput = z205.object({
5747
5768
  // New group persistent id
5748
- persistentId: z203.string().uuid(),
5769
+ persistentId: z205.string().uuid(),
5749
5770
  // If this is page, we will attempt to convert it to tab
5750
5771
  // If this is tab group, we will add a new tab to it
5751
- fromItemPersistentId: z203.string(),
5752
- tabName: z203.string()
5772
+ fromItemPersistentId: z205.string(),
5773
+ tabName: z205.string()
5753
5774
  });
5754
- var DTODeleteDocumentationTabGroupInput = z203.object({
5775
+ var DTODeleteDocumentationTabGroupInput = z205.object({
5755
5776
  // Deleted group id
5756
- id: z203.string()
5777
+ id: z205.string()
5757
5778
  });
5758
- var DTODeleteDocumentationGroupInput = z203.object({
5779
+ var DTODeleteDocumentationGroupInput = z205.object({
5759
5780
  // Identifier
5760
- id: z203.string(),
5781
+ id: z205.string(),
5761
5782
  // Deletion options
5762
- deleteSubtree: z203.boolean().default(false)
5783
+ deleteSubtree: z205.boolean().default(false)
5763
5784
  });
5764
5785
 
5765
5786
  // src/api/dto/elements/documentation/group-action.ts
5766
- var SuccessPayload = z204.object({
5767
- success: z204.literal(true)
5787
+ var SuccessPayload = z206.object({
5788
+ success: z206.literal(true)
5768
5789
  });
5769
- var DTODocumentationGroupCreateActionOutputV2 = z204.object({
5770
- type: z204.literal("DocumentationGroupCreate"),
5790
+ var DTODocumentationGroupCreateActionOutputV2 = z206.object({
5791
+ type: z206.literal("DocumentationGroupCreate"),
5771
5792
  output: SuccessPayload
5772
5793
  });
5773
- var DTODocumentationTabCreateActionOutputV2 = z204.object({
5774
- type: z204.literal("DocumentationTabCreate"),
5794
+ var DTODocumentationTabCreateActionOutputV2 = z206.object({
5795
+ type: z206.literal("DocumentationTabCreate"),
5775
5796
  output: SuccessPayload
5776
5797
  });
5777
- var DTODocumentationGroupUpdateActionOutputV2 = z204.object({
5778
- type: z204.literal("DocumentationGroupUpdate"),
5798
+ var DTODocumentationGroupUpdateActionOutputV2 = z206.object({
5799
+ type: z206.literal("DocumentationGroupUpdate"),
5779
5800
  output: SuccessPayload
5780
5801
  });
5781
- var DTODocumentationGroupMoveActionOutputV2 = z204.object({
5782
- type: z204.literal("DocumentationGroupMove"),
5802
+ var DTODocumentationGroupMoveActionOutputV2 = z206.object({
5803
+ type: z206.literal("DocumentationGroupMove"),
5783
5804
  output: SuccessPayload
5784
5805
  });
5785
- var DTODocumentationGroupDuplicateActionOutputV2 = z204.object({
5786
- type: z204.literal("DocumentationGroupDuplicate"),
5806
+ var DTODocumentationGroupDuplicateActionOutputV2 = z206.object({
5807
+ type: z206.literal("DocumentationGroupDuplicate"),
5787
5808
  output: SuccessPayload
5788
5809
  });
5789
- var DTODocumentationGroupDeleteActionOutputV2 = z204.object({
5790
- type: z204.literal("DocumentationGroupDelete"),
5810
+ var DTODocumentationGroupDeleteActionOutputV2 = z206.object({
5811
+ type: z206.literal("DocumentationGroupDelete"),
5791
5812
  output: SuccessPayload
5792
5813
  });
5793
- var DTODocumentationTabGroupDeleteActionOutputV2 = z204.object({
5794
- type: z204.literal("DocumentationTabGroupDelete"),
5814
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z206.object({
5815
+ type: z206.literal("DocumentationTabGroupDelete"),
5795
5816
  output: SuccessPayload
5796
5817
  });
5797
- var DTODocumentationGroupCreateActionInputV2 = z204.object({
5798
- type: z204.literal("DocumentationGroupCreate"),
5818
+ var DTODocumentationGroupCreateActionInputV2 = z206.object({
5819
+ type: z206.literal("DocumentationGroupCreate"),
5799
5820
  input: DTOCreateDocumentationGroupInput
5800
5821
  });
5801
- var DTODocumentationTabCreateActionInputV2 = z204.object({
5802
- type: z204.literal("DocumentationTabCreate"),
5822
+ var DTODocumentationTabCreateActionInputV2 = z206.object({
5823
+ type: z206.literal("DocumentationTabCreate"),
5803
5824
  input: DTOCreateDocumentationTabInput
5804
5825
  });
5805
- var DTODocumentationGroupUpdateActionInputV2 = z204.object({
5806
- type: z204.literal("DocumentationGroupUpdate"),
5826
+ var DTODocumentationGroupUpdateActionInputV2 = z206.object({
5827
+ type: z206.literal("DocumentationGroupUpdate"),
5807
5828
  input: DTOUpdateDocumentationGroupInput
5808
5829
  });
5809
- var DTODocumentationGroupMoveActionInputV2 = z204.object({
5810
- type: z204.literal("DocumentationGroupMove"),
5830
+ var DTODocumentationGroupMoveActionInputV2 = z206.object({
5831
+ type: z206.literal("DocumentationGroupMove"),
5811
5832
  input: DTOMoveDocumentationGroupInput
5812
5833
  });
5813
- var DTODocumentationGroupDuplicateActionInputV2 = z204.object({
5814
- type: z204.literal("DocumentationGroupDuplicate"),
5834
+ var DTODocumentationGroupDuplicateActionInputV2 = z206.object({
5835
+ type: z206.literal("DocumentationGroupDuplicate"),
5815
5836
  input: DTODuplicateDocumentationGroupInput
5816
5837
  });
5817
- var DTODocumentationGroupDeleteActionInputV2 = z204.object({
5818
- type: z204.literal("DocumentationGroupDelete"),
5838
+ var DTODocumentationGroupDeleteActionInputV2 = z206.object({
5839
+ type: z206.literal("DocumentationGroupDelete"),
5819
5840
  input: DTODeleteDocumentationGroupInput
5820
5841
  });
5821
- var DTODocumentationTabGroupDeleteActionInputV2 = z204.object({
5822
- type: z204.literal("DocumentationTabGroupDelete"),
5842
+ var DTODocumentationTabGroupDeleteActionInputV2 = z206.object({
5843
+ type: z206.literal("DocumentationTabGroupDelete"),
5823
5844
  input: DTODeleteDocumentationTabGroupInput
5824
5845
  });
5825
5846
 
5826
5847
  // src/api/dto/elements/documentation/group-v1.ts
5827
- import { z as z206 } from "zod";
5848
+ import { z as z208 } from "zod";
5828
5849
 
5829
5850
  // src/api/dto/elements/documentation/item-configuration-v1.ts
5830
- import { z as z205 } from "zod";
5831
- var DocumentationColorV1 = z205.object({
5832
- aliasTo: z205.string().optional(),
5833
- value: z205.string().optional()
5851
+ import { z as z207 } from "zod";
5852
+ var DocumentationColorV1 = z207.object({
5853
+ aliasTo: z207.string().optional(),
5854
+ value: z207.string().optional()
5834
5855
  });
5835
5856
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
5836
5857
  foregroundColor: true,
@@ -5839,10 +5860,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
5839
5860
  foregroundColor: DocumentationColorV1.optional(),
5840
5861
  backgroundColor: DocumentationColorV1.optional()
5841
5862
  });
5842
- var DTODocumentationItemConfigurationV1 = z205.object({
5843
- showSidebar: z205.boolean(),
5844
- isPrivate: z205.boolean(),
5845
- isHidden: z205.boolean(),
5863
+ var DTODocumentationItemConfigurationV1 = z207.object({
5864
+ showSidebar: z207.boolean(),
5865
+ isPrivate: z207.boolean(),
5866
+ isHidden: z207.boolean(),
5846
5867
  header: DTODocumentationItemHeaderV1
5847
5868
  });
5848
5869
 
@@ -5856,27 +5877,27 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
5856
5877
  data: true,
5857
5878
  shortPersistentId: true
5858
5879
  }).extend({
5859
- title: z206.string(),
5860
- isRoot: z206.boolean(),
5861
- childrenIds: z206.array(z206.string()),
5880
+ title: z208.string(),
5881
+ isRoot: z208.boolean(),
5882
+ childrenIds: z208.array(z208.string()),
5862
5883
  groupBehavior: DocumentationGroupBehavior,
5863
- shortPersistentId: z206.string(),
5864
- type: z206.literal("Group")
5884
+ shortPersistentId: z208.string(),
5885
+ type: z208.literal("Group")
5865
5886
  });
5866
5887
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
5867
5888
  configuration: DTODocumentationItemConfigurationV1
5868
5889
  });
5869
5890
 
5870
5891
  // src/api/dto/elements/documentation/hierarchy.ts
5871
- import { z as z207 } from "zod";
5872
- var DTODocumentationHierarchyV2 = z207.object({
5873
- pages: z207.array(
5892
+ import { z as z209 } from "zod";
5893
+ var DTODocumentationHierarchyV2 = z209.object({
5894
+ pages: z209.array(
5874
5895
  DTODocumentationPageV2.extend({
5875
5896
  /** Defined when a page has changed since last publish and can be included into a partial publish */
5876
5897
  draftState: DTODocumentationDraftState.optional()
5877
5898
  })
5878
5899
  ),
5879
- groups: z207.array(
5900
+ groups: z209.array(
5880
5901
  DTODocumentationGroupV2.extend({
5881
5902
  /** Defined when a page has changed since last publish and can be included into a partial publish */
5882
5903
  draftState: DTODocumentationDraftState.optional()
@@ -5885,84 +5906,84 @@ var DTODocumentationHierarchyV2 = z207.object({
5885
5906
  });
5886
5907
 
5887
5908
  // src/api/dto/elements/documentation/page-actions-v2.ts
5888
- import { z as z208 } from "zod";
5889
- var SuccessPayload2 = z208.object({
5890
- success: z208.literal(true)
5909
+ import { z as z210 } from "zod";
5910
+ var SuccessPayload2 = z210.object({
5911
+ success: z210.literal(true)
5891
5912
  });
5892
- var DTODocumentationPageCreateActionOutputV2 = z208.object({
5893
- type: z208.literal("DocumentationPageCreate"),
5913
+ var DTODocumentationPageCreateActionOutputV2 = z210.object({
5914
+ type: z210.literal("DocumentationPageCreate"),
5894
5915
  output: SuccessPayload2
5895
5916
  });
5896
- var DTODocumentationPageUpdateActionOutputV2 = z208.object({
5897
- type: z208.literal("DocumentationPageUpdate"),
5917
+ var DTODocumentationPageUpdateActionOutputV2 = z210.object({
5918
+ type: z210.literal("DocumentationPageUpdate"),
5898
5919
  output: SuccessPayload2
5899
5920
  });
5900
- var DTODocumentationPageMoveActionOutputV2 = z208.object({
5901
- type: z208.literal("DocumentationPageMove"),
5921
+ var DTODocumentationPageMoveActionOutputV2 = z210.object({
5922
+ type: z210.literal("DocumentationPageMove"),
5902
5923
  output: SuccessPayload2
5903
5924
  });
5904
- var DTODocumentationPageDuplicateActionOutputV2 = z208.object({
5905
- type: z208.literal("DocumentationPageDuplicate"),
5925
+ var DTODocumentationPageDuplicateActionOutputV2 = z210.object({
5926
+ type: z210.literal("DocumentationPageDuplicate"),
5906
5927
  output: SuccessPayload2
5907
5928
  });
5908
- var DTODocumentationPageDeleteActionOutputV2 = z208.object({
5909
- type: z208.literal("DocumentationPageDelete"),
5929
+ var DTODocumentationPageDeleteActionOutputV2 = z210.object({
5930
+ type: z210.literal("DocumentationPageDelete"),
5910
5931
  output: SuccessPayload2
5911
5932
  });
5912
- var DTODocumentationPageRestoreActionOutput = z208.object({
5913
- type: z208.literal("DocumentationPageRestore"),
5933
+ var DTODocumentationPageRestoreActionOutput = z210.object({
5934
+ type: z210.literal("DocumentationPageRestore"),
5914
5935
  output: SuccessPayload2
5915
5936
  });
5916
- var DTODocumentationGroupRestoreActionOutput = z208.object({
5917
- type: z208.literal("DocumentationGroupRestore"),
5937
+ var DTODocumentationGroupRestoreActionOutput = z210.object({
5938
+ type: z210.literal("DocumentationGroupRestore"),
5918
5939
  output: SuccessPayload2
5919
5940
  });
5920
- var DTODocumentationPageApprovalStateChangeActionOutput = z208.object({
5921
- type: z208.literal("DocumentationPageApprovalStateChange"),
5941
+ var DTODocumentationPageApprovalStateChangeActionOutput = z210.object({
5942
+ type: z210.literal("DocumentationPageApprovalStateChange"),
5922
5943
  output: SuccessPayload2
5923
5944
  });
5924
- var DTODocumentationPageCreateActionInputV2 = z208.object({
5925
- type: z208.literal("DocumentationPageCreate"),
5945
+ var DTODocumentationPageCreateActionInputV2 = z210.object({
5946
+ type: z210.literal("DocumentationPageCreate"),
5926
5947
  input: DTOCreateDocumentationPageInputV2
5927
5948
  });
5928
- var DTODocumentationPageUpdateActionInputV2 = z208.object({
5929
- type: z208.literal("DocumentationPageUpdate"),
5949
+ var DTODocumentationPageUpdateActionInputV2 = z210.object({
5950
+ type: z210.literal("DocumentationPageUpdate"),
5930
5951
  input: DTOUpdateDocumentationPageInputV2
5931
5952
  });
5932
- var DTODocumentationPageMoveActionInputV2 = z208.object({
5933
- type: z208.literal("DocumentationPageMove"),
5953
+ var DTODocumentationPageMoveActionInputV2 = z210.object({
5954
+ type: z210.literal("DocumentationPageMove"),
5934
5955
  input: DTOMoveDocumentationPageInputV2
5935
5956
  });
5936
- var DTODocumentationPageDuplicateActionInputV2 = z208.object({
5937
- type: z208.literal("DocumentationPageDuplicate"),
5957
+ var DTODocumentationPageDuplicateActionInputV2 = z210.object({
5958
+ type: z210.literal("DocumentationPageDuplicate"),
5938
5959
  input: DTODuplicateDocumentationPageInputV2
5939
5960
  });
5940
- var DTODocumentationPageDeleteActionInputV2 = z208.object({
5941
- type: z208.literal("DocumentationPageDelete"),
5961
+ var DTODocumentationPageDeleteActionInputV2 = z210.object({
5962
+ type: z210.literal("DocumentationPageDelete"),
5942
5963
  input: DTODeleteDocumentationPageInputV2
5943
5964
  });
5944
- var DTODocumentationPageRestoreActionInput = z208.object({
5945
- type: z208.literal("DocumentationPageRestore"),
5965
+ var DTODocumentationPageRestoreActionInput = z210.object({
5966
+ type: z210.literal("DocumentationPageRestore"),
5946
5967
  input: DTORestoreDocumentationPageInput
5947
5968
  });
5948
- var DTODocumentationGroupRestoreActionInput = z208.object({
5949
- type: z208.literal("DocumentationGroupRestore"),
5969
+ var DTODocumentationGroupRestoreActionInput = z210.object({
5970
+ type: z210.literal("DocumentationGroupRestore"),
5950
5971
  input: DTORestoreDocumentationGroupInput
5951
5972
  });
5952
- var DTODocumentationPageApprovalStateChangeActionInput = z208.object({
5953
- type: z208.literal("DocumentationPageApprovalStateChange"),
5973
+ var DTODocumentationPageApprovalStateChangeActionInput = z210.object({
5974
+ type: z210.literal("DocumentationPageApprovalStateChange"),
5954
5975
  input: DTODocumentationPageApprovalStateChangeInput
5955
5976
  });
5956
5977
 
5957
5978
  // src/api/dto/elements/documentation/page-content.ts
5958
- import { z as z209 } from "zod";
5979
+ import { z as z211 } from "zod";
5959
5980
  var DTODocumentationPageContent = DocumentationPageContent;
5960
- var DTODocumentationPageContentGetResponse = z209.object({
5981
+ var DTODocumentationPageContentGetResponse = z211.object({
5961
5982
  pageContent: DTODocumentationPageContent
5962
5983
  });
5963
5984
 
5964
5985
  // src/api/dto/elements/documentation/page-v1.ts
5965
- import { z as z210 } from "zod";
5986
+ import { z as z212 } from "zod";
5966
5987
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
5967
5988
  data: true,
5968
5989
  meta: true,
@@ -5970,32 +5991,32 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
5970
5991
  sortOrder: true
5971
5992
  }).extend({
5972
5993
  configuration: DTODocumentationItemConfigurationV1,
5973
- blocks: z210.array(PageBlockV1),
5974
- title: z210.string(),
5975
- path: z210.string()
5994
+ blocks: z212.array(PageBlockV1),
5995
+ title: z212.string(),
5996
+ path: z212.string()
5976
5997
  });
5977
5998
 
5978
5999
  // src/api/dto/elements/figma-nodes/figma-node.ts
5979
- import { z as z211 } from "zod";
6000
+ import { z as z213 } from "zod";
5980
6001
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
5981
- var DTOFigmaNodeOrigin = z211.object({
5982
- sourceId: z211.string(),
5983
- fileId: z211.string().optional(),
5984
- parentName: z211.string().optional()
6002
+ var DTOFigmaNodeOrigin = z213.object({
6003
+ sourceId: z213.string(),
6004
+ fileId: z213.string().optional(),
6005
+ parentName: z213.string().optional()
5985
6006
  });
5986
- var DTOFigmaNodeData = z211.object({
6007
+ var DTOFigmaNodeData = z213.object({
5987
6008
  // Id of the node in the Figma file
5988
- figmaNodeId: z211.string(),
6009
+ figmaNodeId: z213.string(),
5989
6010
  // Validity
5990
- isValid: z211.boolean(),
6011
+ isValid: z213.boolean(),
5991
6012
  // Asset data
5992
- assetId: z211.string(),
5993
- assetUrl: z211.string(),
6013
+ assetId: z213.string(),
6014
+ assetUrl: z213.string(),
5994
6015
  assetFormat: DTOFigmaNodeRenderFormat,
5995
6016
  // Asset metadata
5996
- assetScale: z211.number(),
5997
- assetWidth: z211.number().optional(),
5998
- assetHeight: z211.number().optional()
6017
+ assetScale: z213.number(),
6018
+ assetWidth: z213.number().optional(),
6019
+ assetHeight: z213.number().optional()
5999
6020
  });
6000
6021
  var DTOFigmaNode = FigmaNodeReference.omit({
6001
6022
  data: true,
@@ -6004,15 +6025,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
6004
6025
  data: DTOFigmaNodeData,
6005
6026
  origin: DTOFigmaNodeOrigin
6006
6027
  });
6007
- var DTOFigmaNodeRenderInput = z211.object({
6028
+ var DTOFigmaNodeRenderInput = z213.object({
6008
6029
  /**
6009
6030
  * Id of a design system's data source representing a linked Figma file
6010
6031
  */
6011
- sourceId: z211.string(),
6032
+ sourceId: z213.string(),
6012
6033
  /**
6013
6034
  * Id of a node within the Figma file
6014
6035
  */
6015
- figmaFileNodeId: z211.string(),
6036
+ figmaFileNodeId: z213.string(),
6016
6037
  /**
6017
6038
  * Format in which the node must be rendered, png by default.
6018
6039
  */
@@ -6020,97 +6041,97 @@ var DTOFigmaNodeRenderInput = z211.object({
6020
6041
  });
6021
6042
 
6022
6043
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
6023
- import { z as z212 } from "zod";
6024
- var DTOFigmaNodeRenderActionOutput = z212.object({
6025
- type: z212.literal("FigmaNodeRender"),
6026
- figmaNodes: z212.array(DTOFigmaNode)
6044
+ import { z as z214 } from "zod";
6045
+ var DTOFigmaNodeRenderActionOutput = z214.object({
6046
+ type: z214.literal("FigmaNodeRender"),
6047
+ figmaNodes: z214.array(DTOFigmaNode)
6027
6048
  });
6028
- var DTOFigmaNodeRenderActionInput = z212.object({
6029
- type: z212.literal("FigmaNodeRender"),
6049
+ var DTOFigmaNodeRenderActionInput = z214.object({
6050
+ type: z214.literal("FigmaNodeRender"),
6030
6051
  input: DTOFigmaNodeRenderInput.array()
6031
6052
  });
6032
6053
 
6033
6054
  // src/api/dto/elements/properties/property-definitions-actions-v2.ts
6034
- import { z as z214 } from "zod";
6055
+ import { z as z216 } from "zod";
6035
6056
 
6036
6057
  // src/api/dto/elements/properties/property-definitions.ts
6037
- import { z as z213 } from "zod";
6058
+ import { z as z215 } from "zod";
6038
6059
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
6039
- var DTOElementPropertyDefinition = z213.object({
6040
- id: z213.string(),
6041
- designSystemVersionId: z213.string(),
6060
+ var DTOElementPropertyDefinition = z215.object({
6061
+ id: z215.string(),
6062
+ designSystemVersionId: z215.string(),
6042
6063
  meta: ObjectMeta,
6043
- persistentId: z213.string(),
6064
+ persistentId: z215.string(),
6044
6065
  type: ElementPropertyTypeSchema,
6045
6066
  targetElementType: ElementPropertyTargetType,
6046
- codeName: z213.string().regex(CODE_NAME_REGEX2),
6047
- options: z213.array(ElementPropertyDefinitionOption).optional(),
6067
+ codeName: z215.string().regex(CODE_NAME_REGEX2),
6068
+ options: z215.array(ElementPropertyDefinitionOption).optional(),
6048
6069
  linkElementType: ElementPropertyLinkType.optional()
6049
6070
  });
6050
- var DTOElementPropertyDefinitionsGetResponse = z213.object({
6051
- definitions: z213.array(DTOElementPropertyDefinition)
6071
+ var DTOElementPropertyDefinitionsGetResponse = z215.object({
6072
+ definitions: z215.array(DTOElementPropertyDefinition)
6052
6073
  });
6053
6074
  var DTOCreateElementPropertyDefinitionInputV2 = DTOElementPropertyDefinition.omit({
6054
6075
  id: true,
6055
6076
  designSystemVersionId: true
6056
6077
  });
6057
- var DTOUpdateElementPropertyDefinitionInputV2 = z213.object({
6058
- id: z213.string(),
6059
- name: z213.string().optional(),
6060
- description: z213.string().optional(),
6061
- codeName: z213.string().regex(CODE_NAME_REGEX2).optional(),
6062
- options: z213.array(ElementPropertyDefinitionOption).optional()
6078
+ var DTOUpdateElementPropertyDefinitionInputV2 = z215.object({
6079
+ id: z215.string(),
6080
+ name: z215.string().optional(),
6081
+ description: z215.string().optional(),
6082
+ codeName: z215.string().regex(CODE_NAME_REGEX2).optional(),
6083
+ options: z215.array(ElementPropertyDefinitionOption).optional()
6063
6084
  });
6064
- var DTODeleteElementPropertyDefinitionInputV2 = z213.object({
6065
- id: z213.string()
6085
+ var DTODeleteElementPropertyDefinitionInputV2 = z215.object({
6086
+ id: z215.string()
6066
6087
  });
6067
6088
 
6068
6089
  // src/api/dto/elements/properties/property-definitions-actions-v2.ts
6069
- var SuccessPayload3 = z214.object({
6070
- success: z214.literal(true)
6090
+ var SuccessPayload3 = z216.object({
6091
+ success: z216.literal(true)
6071
6092
  });
6072
- var DTOPropertyDefinitionCreateActionOutputV2 = z214.object({
6073
- type: z214.literal("PropertyDefinitionCreate"),
6093
+ var DTOPropertyDefinitionCreateActionOutputV2 = z216.object({
6094
+ type: z216.literal("PropertyDefinitionCreate"),
6074
6095
  definition: DTOElementPropertyDefinition
6075
6096
  });
6076
- var DTOPropertyDefinitionUpdateActionOutputV2 = z214.object({
6077
- type: z214.literal("PropertyDefinitionUpdate"),
6097
+ var DTOPropertyDefinitionUpdateActionOutputV2 = z216.object({
6098
+ type: z216.literal("PropertyDefinitionUpdate"),
6078
6099
  definition: DTOElementPropertyDefinition
6079
6100
  });
6080
- var DTOPropertyDefinitionDeleteActionOutputV2 = z214.object({
6081
- type: z214.literal("PropertyDefinitionDelete"),
6101
+ var DTOPropertyDefinitionDeleteActionOutputV2 = z216.object({
6102
+ type: z216.literal("PropertyDefinitionDelete"),
6082
6103
  output: SuccessPayload3
6083
6104
  });
6084
- var DTOPropertyDefinitionCreateActionInputV2 = z214.object({
6085
- type: z214.literal("PropertyDefinitionCreate"),
6105
+ var DTOPropertyDefinitionCreateActionInputV2 = z216.object({
6106
+ type: z216.literal("PropertyDefinitionCreate"),
6086
6107
  input: DTOCreateElementPropertyDefinitionInputV2
6087
6108
  });
6088
- var DTOPropertyDefinitionUpdateActionInputV2 = z214.object({
6089
- type: z214.literal("PropertyDefinitionUpdate"),
6109
+ var DTOPropertyDefinitionUpdateActionInputV2 = z216.object({
6110
+ type: z216.literal("PropertyDefinitionUpdate"),
6090
6111
  input: DTOUpdateElementPropertyDefinitionInputV2
6091
6112
  });
6092
- var DTOPropertyDefinitionDeleteActionInputV2 = z214.object({
6093
- type: z214.literal("PropertyDefinitionDelete"),
6113
+ var DTOPropertyDefinitionDeleteActionInputV2 = z216.object({
6114
+ type: z216.literal("PropertyDefinitionDelete"),
6094
6115
  input: DTODeleteElementPropertyDefinitionInputV2
6095
6116
  });
6096
6117
 
6097
6118
  // src/api/dto/elements/properties/property-values.ts
6098
- import { z as z215 } from "zod";
6099
- var DTOElementPropertyValue = z215.object({
6100
- id: z215.string(),
6101
- designSystemVersionId: z215.string(),
6102
- definitionId: z215.string(),
6103
- targetElementId: z215.string(),
6104
- value: z215.union([z215.string(), z215.number(), z215.boolean()]).optional(),
6105
- valuePreview: z215.string().optional()
6119
+ import { z as z217 } from "zod";
6120
+ var DTOElementPropertyValue = z217.object({
6121
+ id: z217.string(),
6122
+ designSystemVersionId: z217.string(),
6123
+ definitionId: z217.string(),
6124
+ targetElementId: z217.string(),
6125
+ value: z217.union([z217.string(), z217.number(), z217.boolean()]).optional(),
6126
+ valuePreview: z217.string().optional()
6106
6127
  });
6107
- var DTOElementPropertyValuesGetResponse = z215.object({
6108
- values: z215.array(DTOElementPropertyValue)
6128
+ var DTOElementPropertyValuesGetResponse = z217.object({
6129
+ values: z217.array(DTOElementPropertyValue)
6109
6130
  });
6110
6131
 
6111
6132
  // src/api/dto/elements/elements-action-v2.ts
6112
- import { z as z216 } from "zod";
6113
- var DTOElementActionOutput = z216.discriminatedUnion("type", [
6133
+ import { z as z218 } from "zod";
6134
+ var DTOElementActionOutput = z218.discriminatedUnion("type", [
6114
6135
  // Documentation pages
6115
6136
  DTODocumentationPageCreateActionOutputV2,
6116
6137
  DTODocumentationPageUpdateActionOutputV2,
@@ -6137,7 +6158,7 @@ var DTOElementActionOutput = z216.discriminatedUnion("type", [
6137
6158
  // Approvals
6138
6159
  DTODocumentationPageApprovalStateChangeActionOutput
6139
6160
  ]);
6140
- var DTOElementActionInput = z216.discriminatedUnion("type", [
6161
+ var DTOElementActionInput = z218.discriminatedUnion("type", [
6141
6162
  // Documentation pages
6142
6163
  DTODocumentationPageCreateActionInputV2,
6143
6164
  DTODocumentationPageUpdateActionInputV2,
@@ -6166,141 +6187,154 @@ var DTOElementActionInput = z216.discriminatedUnion("type", [
6166
6187
  ]);
6167
6188
 
6168
6189
  // src/api/dto/elements/get-elements-v2.ts
6169
- import { z as z217 } from "zod";
6170
- var DTOElementsGetTypeFilter = z217.enum(["FigmaNode"]);
6171
- var DTOElementsGetQuerySchema = z217.object({
6172
- types: z217.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
6190
+ import { z as z219 } from "zod";
6191
+ var DTOElementsGetTypeFilter = z219.enum(["FigmaNode"]);
6192
+ var DTOElementsGetQuerySchema = z219.object({
6193
+ types: z219.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
6173
6194
  });
6174
- var DTOElementsGetOutput = z217.object({
6175
- figmaNodes: z217.array(DTOFigmaNode).optional()
6195
+ var DTOElementsGetOutput = z219.object({
6196
+ figmaNodes: z219.array(DTOFigmaNode).optional()
6176
6197
  });
6177
6198
 
6178
6199
  // src/api/dto/figma-components/assets/download.ts
6179
- import { z as z218 } from "zod";
6180
- var DTOAssetRenderConfiguration = z218.object({
6181
- prefix: z218.string().optional(),
6182
- suffix: z218.string().optional(),
6183
- scale: z218.enum(["x1", "x2", "x3", "x4"]),
6184
- format: z218.enum(["png", "pdf", "svg"])
6185
- });
6186
- var DTORenderedAssetFile = z218.object({
6187
- assetId: z218.string(),
6188
- fileName: z218.string(),
6189
- sourceUrl: z218.string(),
6200
+ import { z as z220 } from "zod";
6201
+ var DTOAssetRenderConfiguration = z220.object({
6202
+ prefix: z220.string().optional(),
6203
+ suffix: z220.string().optional(),
6204
+ scale: z220.enum(["x1", "x2", "x3", "x4"]),
6205
+ format: z220.enum(["png", "pdf", "svg"])
6206
+ });
6207
+ var DTORenderedAssetFile = z220.object({
6208
+ assetId: z220.string(),
6209
+ fileName: z220.string(),
6210
+ sourceUrl: z220.string(),
6190
6211
  settings: DTOAssetRenderConfiguration,
6191
- originalName: z218.string()
6212
+ originalName: z220.string()
6192
6213
  });
6193
- var DTODownloadAssetsRequest = z218.object({
6194
- persistentIds: z218.array(z218.string().uuid()).optional(),
6214
+ var DTODownloadAssetsRequest = z220.object({
6215
+ persistentIds: z220.array(z220.string().uuid()).optional(),
6195
6216
  settings: DTOAssetRenderConfiguration.array()
6196
6217
  });
6197
- var DTODownloadAssetsResponse = z218.object({
6218
+ var DTODownloadAssetsResponse = z220.object({
6198
6219
  items: DTORenderedAssetFile.array()
6199
6220
  });
6200
6221
 
6201
6222
  // src/api/dto/liveblocks/auth-response.ts
6202
- import { z as z219 } from "zod";
6203
- var DTOLiveblocksAuthResponse = z219.object({
6204
- token: z219.string()
6223
+ import { z as z221 } from "zod";
6224
+ var DTOLiveblocksAuthResponse = z221.object({
6225
+ token: z221.string()
6205
6226
  });
6206
6227
 
6207
- // src/api/dto/users/profile/update.ts
6208
- import { z as z220 } from "zod";
6209
- var DTOUserProfileUpdateResponse = z220.object({
6228
+ // src/api/dto/users/update.ts
6229
+ import { z as z222 } from "zod";
6230
+ var DTOUserProfileUpdateResponse = z222.object({
6210
6231
  user: User
6211
6232
  });
6212
6233
 
6234
+ // src/api/dto/users/user.ts
6235
+ import { z as z223 } from "zod";
6236
+ var DTOUserProfile = z223.object({
6237
+ name: z223.string(),
6238
+ nickname: z223.string().optional(),
6239
+ avatar: z223.string().optional()
6240
+ });
6241
+ var DTOUser = z223.object({
6242
+ id: z223.string(),
6243
+ email: z223.string(),
6244
+ profile: DTOUserProfile
6245
+ });
6246
+
6213
6247
  // src/api/dto/workspaces/git.ts
6214
- import { z as z221 } from "zod";
6215
- var DTOGitOrganization = z221.object({
6216
- id: z221.string(),
6217
- name: z221.string(),
6218
- url: z221.string(),
6219
- slug: z221.string()
6220
- });
6221
- var DTOGitProject = z221.object({
6222
- id: z221.string(),
6223
- name: z221.string(),
6224
- url: z221.string(),
6225
- slug: z221.string()
6226
- });
6227
- var DTOGitRepository = z221.object({
6228
- id: z221.string(),
6229
- name: z221.string(),
6230
- url: z221.string(),
6231
- slug: z221.string(),
6232
- defaultBranch: z221.string().optional()
6233
- });
6234
- var DTOGitBranch = z221.object({
6235
- name: z221.string(),
6236
- lastCommitId: z221.string()
6248
+ import { z as z224 } from "zod";
6249
+ var DTOGitOrganization = z224.object({
6250
+ id: z224.string(),
6251
+ name: z224.string(),
6252
+ url: z224.string(),
6253
+ slug: z224.string()
6254
+ });
6255
+ var DTOGitProject = z224.object({
6256
+ id: z224.string(),
6257
+ name: z224.string(),
6258
+ url: z224.string(),
6259
+ slug: z224.string()
6260
+ });
6261
+ var DTOGitRepository = z224.object({
6262
+ id: z224.string(),
6263
+ name: z224.string(),
6264
+ url: z224.string(),
6265
+ slug: z224.string(),
6266
+ defaultBranch: z224.string().optional()
6267
+ });
6268
+ var DTOGitBranch = z224.object({
6269
+ name: z224.string(),
6270
+ lastCommitId: z224.string()
6237
6271
  });
6238
6272
 
6239
6273
  // src/api/dto/workspaces/integrations.ts
6240
- import { z as z222 } from "zod";
6274
+ import { z as z225 } from "zod";
6241
6275
  var DTOIntegrationCredentials = IntegrationCredentials.omit({
6242
6276
  accessToken: true,
6243
6277
  refreshToken: true
6244
6278
  });
6245
- var DTOIntegration = z222.object({
6246
- id: z222.string(),
6247
- workspaceId: z222.string(),
6279
+ var DTOIntegration = z225.object({
6280
+ id: z225.string(),
6281
+ workspaceId: z225.string(),
6248
6282
  type: ExtendedIntegrationType,
6249
- createdAt: z222.coerce.date(),
6250
- integrationCredentials: z222.array(DTOIntegrationCredentials).optional(),
6251
- integrationDesignSystems: z222.array(IntegrationDesignSystem).optional()
6283
+ createdAt: z225.coerce.date(),
6284
+ integrationCredentials: z225.array(DTOIntegrationCredentials).optional(),
6285
+ integrationDesignSystems: z225.array(IntegrationDesignSystem).optional()
6252
6286
  });
6253
- var DTOIntegrationOAuthGetResponse = z222.object({
6254
- url: z222.string()
6287
+ var DTOIntegrationOAuthGetResponse = z225.object({
6288
+ url: z225.string()
6255
6289
  });
6256
- var DTOIntegrationPostResponse = z222.object({
6290
+ var DTOIntegrationPostResponse = z225.object({
6257
6291
  integration: DTOIntegration
6258
6292
  });
6259
- var DTOIntegrationsGetListResponse = z222.object({
6293
+ var DTOIntegrationsGetListResponse = z225.object({
6260
6294
  integrations: DTOIntegration.array()
6261
6295
  });
6262
6296
 
6263
6297
  // src/api/dto/workspaces/membership.ts
6264
- import { z as z225 } from "zod";
6298
+ import { z as z228 } from "zod";
6265
6299
 
6266
6300
  // src/api/dto/workspaces/workspace.ts
6267
- import { z as z224 } from "zod";
6301
+ import { z as z227 } from "zod";
6268
6302
 
6269
6303
  // src/api/dto/workspaces/npm-registry.ts
6270
- import { z as z223 } from "zod";
6304
+ import { z as z226 } from "zod";
6271
6305
  var DTONpmRegistryConfigConstants = {
6272
6306
  passwordPlaceholder: "redacted"
6273
6307
  };
6274
- var DTONpmRegistryConfig = z223.object({
6308
+ var DTONpmRegistryConfig = z226.object({
6275
6309
  // Registry basic configuration
6276
6310
  registryType: NpmRegistryType,
6277
- registryUrl: z223.string(),
6278
- customRegistryUrl: z223.string().optional(),
6311
+ registryUrl: z226.string(),
6312
+ customRegistryUrl: z226.string().optional(),
6279
6313
  // URL of Supernova NPM packages proxy
6280
- proxyUrl: z223.string(),
6314
+ proxyUrl: z226.string(),
6281
6315
  // Auth configuration
6282
6316
  authType: NpmRegistryAuthType,
6283
- accessToken: z223.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6284
- username: z223.string().optional(),
6285
- password: z223.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6317
+ accessToken: z226.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6318
+ username: z226.string().optional(),
6319
+ password: z226.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6286
6320
  // NPM package scopes for whih the proxy should be enabled
6287
- enabledScopes: z223.array(z223.string()),
6321
+ enabledScopes: z226.array(z226.string()),
6288
6322
  // True if client should bypass Supernova proxy and connect directly to the registry
6289
6323
  // (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
6290
- bypassProxy: z223.boolean()
6324
+ bypassProxy: z226.boolean()
6291
6325
  });
6292
6326
 
6293
6327
  // src/api/dto/workspaces/workspace.ts
6294
- var DTOWorkspace = z224.object({
6295
- id: z224.string(),
6328
+ var DTOWorkspace = z227.object({
6329
+ id: z227.string(),
6296
6330
  profile: WorkspaceProfile,
6297
6331
  subscription: Subscription,
6298
6332
  npmRegistry: DTONpmRegistryConfig.optional()
6299
6333
  });
6300
6334
 
6301
6335
  // src/api/dto/workspaces/membership.ts
6302
- var DTOWorkspaceRole = z225.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
6303
- var DTOUserWorkspaceMembership = z225.object({
6336
+ var DTOWorkspaceRole = z228.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
6337
+ var DTOUserWorkspaceMembership = z228.object({
6304
6338
  // Workspace the user is a member of
6305
6339
  workspace: DTOWorkspace,
6306
6340
  // Assigned role the user has in the workspace
@@ -6310,8 +6344,8 @@ var DTOUserWorkspaceMembership = z225.object({
6310
6344
  // when a workspace's subscription is downgraded to free tier
6311
6345
  effectiveRole: DTOWorkspaceRole
6312
6346
  });
6313
- var DTOUserWorkspaceMembershipsResponse = z225.object({
6314
- membership: z225.array(DTOUserWorkspaceMembership)
6347
+ var DTOUserWorkspaceMembershipsResponse = z228.object({
6348
+ membership: z228.array(DTOUserWorkspaceMembership)
6315
6349
  });
6316
6350
 
6317
6351
  // src/utils/hash.ts
@@ -6373,7 +6407,7 @@ function generateHash(input, debug = false) {
6373
6407
  }
6374
6408
 
6375
6409
  // src/yjs/design-system-content/documentation-hierarchy.ts
6376
- import { z as z226 } from "zod";
6410
+ import { z as z229 } from "zod";
6377
6411
 
6378
6412
  // src/yjs/version-room/base.ts
6379
6413
  var VersionRoomBaseYDoc = class {
@@ -6902,24 +6936,24 @@ var FrontendVersionRoomYDoc = class {
6902
6936
  };
6903
6937
 
6904
6938
  // src/yjs/design-system-content/documentation-hierarchy.ts
6905
- var DocumentationHierarchySettings = z226.object({
6906
- routingVersion: z226.string(),
6907
- isDraftFeatureAdopted: z226.boolean(),
6908
- isApprovalFeatureEnabled: z226.boolean(),
6909
- approvalRequiredForPublishing: z226.boolean()
6939
+ var DocumentationHierarchySettings = z229.object({
6940
+ routingVersion: z229.string(),
6941
+ isDraftFeatureAdopted: z229.boolean(),
6942
+ isApprovalFeatureEnabled: z229.boolean(),
6943
+ approvalRequiredForPublishing: z229.boolean()
6910
6944
  });
6911
6945
  function yjsToDocumentationHierarchy(doc) {
6912
6946
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
6913
6947
  }
6914
6948
 
6915
6949
  // src/yjs/design-system-content/item-configuration.ts
6916
- import { z as z227 } from "zod";
6917
- var DTODocumentationPageRoomHeaderData = z227.object({
6918
- title: z227.string(),
6950
+ import { z as z230 } from "zod";
6951
+ var DTODocumentationPageRoomHeaderData = z230.object({
6952
+ title: z230.string(),
6919
6953
  configuration: DTODocumentationItemConfigurationV2
6920
6954
  });
6921
- var DTODocumentationPageRoomHeaderDataUpdate = z227.object({
6922
- title: z227.string().optional(),
6955
+ var DTODocumentationPageRoomHeaderDataUpdate = z230.object({
6956
+ title: z230.string().optional(),
6923
6957
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
6924
6958
  });
6925
6959
  function itemConfigurationToYjs(yDoc, item) {
@@ -6970,7 +7004,7 @@ function yjsToItemConfiguration(yDoc) {
6970
7004
  header: rawHeader
6971
7005
  };
6972
7006
  return {
6973
- title: z227.string().parse(title),
7007
+ title: z230.string().parse(title),
6974
7008
  configuration: DTODocumentationItemConfigurationV2.parse(rawConfig)
6975
7009
  };
6976
7010
  }
@@ -6980,9 +7014,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
6980
7014
  var PageSectionEditorModel = PageSectionEditorModelV2;
6981
7015
 
6982
7016
  // src/yjs/docs-editor/model/page.ts
6983
- import { z as z228 } from "zod";
6984
- var DocumentationPageEditorModel = z228.object({
6985
- blocks: z228.array(DocumentationPageContentItem)
7017
+ import { z as z231 } from "zod";
7018
+ var DocumentationPageEditorModel = z231.object({
7019
+ blocks: z231.array(DocumentationPageContentItem)
6986
7020
  });
6987
7021
 
6988
7022
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -10846,7 +10880,7 @@ var blocks = [
10846
10880
 
10847
10881
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
10848
10882
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
10849
- import { z as z229 } from "zod";
10883
+ import { z as z232 } from "zod";
10850
10884
  function yDocToPage(yDoc, definitions) {
10851
10885
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
10852
10886
  }
@@ -10926,7 +10960,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
10926
10960
  return null;
10927
10961
  return {
10928
10962
  id,
10929
- title: getProsemirrorAttribute(prosemirrorNode, "title", z229.string()) ?? "",
10963
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z232.string()) ?? "",
10930
10964
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
10931
10965
  };
10932
10966
  }
@@ -10961,7 +10995,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
10961
10995
  });
10962
10996
  }
10963
10997
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
10964
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z229.string());
10998
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z232.string());
10965
10999
  if (!definitionId) {
10966
11000
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
10967
11001
  return [];
@@ -11003,7 +11037,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
11003
11037
  if (!id)
11004
11038
  return null;
11005
11039
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
11006
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z229.string().optional()));
11040
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z232.string().optional()));
11007
11041
  return {
11008
11042
  id,
11009
11043
  type: "Block",
@@ -11131,10 +11165,10 @@ function parseRichTextAttribute(mark) {
11131
11165
  return null;
11132
11166
  }
11133
11167
  function parseProsemirrorLink(mark) {
11134
- const href = getProsemirrorAttribute(mark, "href", z229.string().optional());
11168
+ const href = getProsemirrorAttribute(mark, "href", z232.string().optional());
11135
11169
  if (!href)
11136
11170
  return null;
11137
- const target = getProsemirrorAttribute(mark, "target", z229.string().optional());
11171
+ const target = getProsemirrorAttribute(mark, "target", z232.string().optional());
11138
11172
  const openInNewTab = target === "_blank";
11139
11173
  if (href.startsWith("@")) {
11140
11174
  return {
@@ -11153,10 +11187,10 @@ function parseProsemirrorLink(mark) {
11153
11187
  }
11154
11188
  }
11155
11189
  function parseProsemirrorCommentHighlight(mark) {
11156
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z229.string().optional());
11190
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z232.string().optional());
11157
11191
  if (!highlightId)
11158
11192
  return null;
11159
- const isResolved = getProsemirrorAttribute(mark, "resolved", z229.boolean().optional()) ?? false;
11193
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z232.boolean().optional()) ?? false;
11160
11194
  return {
11161
11195
  type: "Comment",
11162
11196
  commentHighlightId: highlightId,
@@ -11168,7 +11202,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
11168
11202
  if (!id)
11169
11203
  return null;
11170
11204
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
11171
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z229.boolean().optional()) !== false;
11205
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z232.boolean().optional()) !== false;
11172
11206
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
11173
11207
  if (!tableChild) {
11174
11208
  return emptyTable(id, variantId, 0);
@@ -11215,9 +11249,9 @@ function parseAsTableCell(prosemirrorNode) {
11215
11249
  const id = getProsemirrorBlockId(prosemirrorNode);
11216
11250
  if (!id)
11217
11251
  return null;
11218
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z229.string().optional());
11252
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z232.string().optional());
11219
11253
  let columnWidth;
11220
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z229.array(z229.number()).optional());
11254
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z232.array(z232.number()).optional());
11221
11255
  if (columnWidthArray) {
11222
11256
  columnWidth = roundDimension(columnWidthArray[0]);
11223
11257
  }
@@ -11255,7 +11289,7 @@ function parseAsTableNode(prosemirrorNode) {
11255
11289
  value: parseRichText(prosemirrorNode.content ?? [])
11256
11290
  };
11257
11291
  case "image":
11258
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z229.string());
11292
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z232.string());
11259
11293
  if (!items)
11260
11294
  return null;
11261
11295
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
@@ -11375,7 +11409,7 @@ function definitionExpectsPlaceholderItem(definition) {
11375
11409
  );
11376
11410
  }
11377
11411
  function parseBlockItems(prosemirrorNode, definition) {
11378
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z229.string());
11412
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z232.string());
11379
11413
  if (!itemsString)
11380
11414
  return null;
11381
11415
  const itemsJson = JSON.parse(itemsString);
@@ -11387,18 +11421,18 @@ function parseBlockItems(prosemirrorNode, definition) {
11387
11421
  }
11388
11422
  function parseAppearance(prosemirrorNode) {
11389
11423
  let appearance = {};
11390
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z229.string().optional());
11424
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z232.string().optional());
11391
11425
  if (rawAppearanceString) {
11392
11426
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
11393
11427
  if (parsedAppearance.success) {
11394
11428
  appearance = parsedAppearance.data;
11395
11429
  }
11396
11430
  }
11397
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z229.number().optional());
11431
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z232.number().optional());
11398
11432
  if (columns) {
11399
11433
  appearance.numberOfColumns = columns;
11400
11434
  }
11401
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z229.string().optional());
11435
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z232.string().optional());
11402
11436
  if (backgroundColor) {
11403
11437
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
11404
11438
  if (parsedColor.success) {
@@ -11493,13 +11527,13 @@ function valueSchemaForPropertyType(type) {
11493
11527
  }
11494
11528
  }
11495
11529
  function getProsemirrorBlockId(prosemirrorNode) {
11496
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z229.string());
11530
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z232.string());
11497
11531
  if (!id)
11498
11532
  console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
11499
11533
  return id;
11500
11534
  }
11501
11535
  function getProsemirrorBlockVariantId(prosemirrorNode) {
11502
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z229.string()));
11536
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z232.string()));
11503
11537
  }
11504
11538
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
11505
11539
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
@@ -11577,6 +11611,10 @@ export {
11577
11611
  DTODeleteElementPropertyDefinitionInputV2,
11578
11612
  DTODesignElementsDataDiffResponse,
11579
11613
  DTODesignSystem,
11614
+ DTODesignSystemMember,
11615
+ DTODesignSystemMemberListResponse,
11616
+ DTODesignSystemMembersUpdatePayload,
11617
+ DTODesignSystemMembersUpdateResponse,
11580
11618
  DTODesignSystemUpdateInput,
11581
11619
  DTODesignSystemVersion,
11582
11620
  DTODesignSystemVersionCreationResponse,
@@ -11736,7 +11774,9 @@ export {
11736
11774
  DTOUpdateElementPropertyDefinitionInputV2,
11737
11775
  DTOUpdateUserNotificationSettingsPayload,
11738
11776
  DTOUpdateVersionInput,
11777
+ DTOUser,
11739
11778
  DTOUserNotificationSettingsResponse,
11779
+ DTOUserProfile,
11740
11780
  DTOUserProfileUpdatePayload,
11741
11781
  DTOUserProfileUpdateResponse,
11742
11782
  DTOUserWorkspaceMembership,