@supernova-studio/client 0.58.12 → 0.58.14

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 z146 } from "zod";
23
+ import { z as z147 } 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 z146 } from "zod";
27
28
  import { z as z145 } from "zod";
28
- import { z as z144 } 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";
@@ -154,36 +154,37 @@ import { z as z140 } from "zod";
154
154
  import { z as z141 } from "zod";
155
155
  import { z as z142 } from "zod";
156
156
  import { z as z143 } from "zod";
157
+ import { z as z144 } from "zod";
158
+ import { z as z154 } from "zod";
157
159
  import { z as z153 } from "zod";
158
- import { z as z152 } from "zod";
159
- import { z as z147 } from "zod";
160
160
  import { z as z148 } from "zod";
161
161
  import { z as z149 } from "zod";
162
162
  import { z as z150 } from "zod";
163
163
  import { z as z151 } from "zod";
164
+ import { z as z152 } from "zod";
165
+ import { z as z157 } from "zod";
164
166
  import { z as z156 } from "zod";
165
167
  import { z as z155 } from "zod";
166
- import { z as z154 } from "zod";
167
- import { z as z157 } from "zod";
168
168
  import { z as z158 } from "zod";
169
169
  import { z as z159 } from "zod";
170
- import { z as z162 } from "zod";
171
170
  import { z as z160 } from "zod";
172
- import { z as z161 } from "zod";
173
171
  import { z as z163 } from "zod";
172
+ import { z as z161 } from "zod";
173
+ import { z as z162 } from "zod";
174
174
  import { z as z164 } from "zod";
175
175
  import { z as z165 } from "zod";
176
176
  import { z as z166 } from "zod";
177
177
  import { z as z167 } from "zod";
178
178
  import { z as z168 } from "zod";
179
- import { z as z170 } from "zod";
180
179
  import { z as z169 } from "zod";
181
180
  import { z as z171 } from "zod";
181
+ import { z as z170 } from "zod";
182
182
  import { z as z172 } from "zod";
183
183
  import { z as z173 } from "zod";
184
184
  import { z as z174 } from "zod";
185
185
  import { z as z175 } from "zod";
186
186
  import { z as z176 } from "zod";
187
+ import { z as z177 } from "zod";
187
188
  var __defProp2 = Object.defineProperty;
188
189
  var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
189
190
  var __publicField2 = (obj, key, value) => {
@@ -4038,143 +4039,151 @@ var ExporterPropertyValuesCollection = z140.object({
4038
4039
  exporterId: z140.string(),
4039
4040
  values: z140.array(ExporterPropertyValue)
4040
4041
  });
4041
- var PublishedDocPage = z141.object({
4042
+ var PublishedDocPageVisitsEntry = z141.object({
4042
4043
  id: z141.string(),
4043
- publishedDocId: z141.string(),
4044
+ versionId: z141.string(),
4044
4045
  pageShortPersistentId: z141.string(),
4045
- pathV1: z141.string(),
4046
- pathV2: z141.string(),
4047
- storagePath: z141.string(),
4048
4046
  locale: z141.string().optional(),
4049
- isPrivate: z141.boolean(),
4050
- isHidden: z141.boolean(),
4051
- createdAt: z141.coerce.date(),
4052
- updatedAt: z141.coerce.date()
4047
+ timestamp: z141.coerce.date(),
4048
+ visits: z141.number()
4053
4049
  });
4054
- var publishedDocEnvironments = ["Live", "Preview"];
4055
- var PublishedDocEnvironment = z142.enum(publishedDocEnvironments);
4056
- var PublishedDocsChecksums = z142.record(z142.string());
4057
- var PublishedDocRoutingVersion = z142.enum(["1", "2"]);
4058
- var PublishedDoc = z142.object({
4050
+ var PublishedDocPage = z142.object({
4059
4051
  id: z142.string(),
4060
- designSystemVersionId: z142.string(),
4061
- createdAt: z142.coerce.date(),
4062
- updatedAt: z142.coerce.date(),
4063
- lastPublishedAt: z142.coerce.date(),
4064
- isDefault: z142.boolean(),
4065
- isPublic: z142.boolean(),
4066
- environment: PublishedDocEnvironment,
4067
- checksums: PublishedDocsChecksums,
4052
+ publishedDocId: z142.string(),
4053
+ pageShortPersistentId: z142.string(),
4054
+ pathV1: z142.string(),
4055
+ pathV2: z142.string(),
4068
4056
  storagePath: z142.string(),
4069
- wasMigrated: z142.boolean(),
4070
- routingVersion: PublishedDocRoutingVersion,
4071
- usesLocalizations: z142.boolean(),
4072
- wasPublishedWithLocalizations: z142.boolean(),
4073
- tokenCount: z142.number(),
4074
- assetCount: z142.number()
4057
+ locale: z142.string().optional(),
4058
+ isPrivate: z142.boolean(),
4059
+ isHidden: z142.boolean(),
4060
+ createdAt: z142.coerce.date(),
4061
+ updatedAt: z142.coerce.date()
4075
4062
  });
4076
- var DesignSystemVersion = z143.object({
4063
+ var publishedDocEnvironments = ["Live", "Preview"];
4064
+ var PublishedDocEnvironment = z143.enum(publishedDocEnvironments);
4065
+ var PublishedDocsChecksums = z143.record(z143.string());
4066
+ var PublishedDocRoutingVersion = z143.enum(["1", "2"]);
4067
+ var PublishedDoc = z143.object({
4077
4068
  id: z143.string(),
4078
- version: z143.string(),
4069
+ designSystemVersionId: z143.string(),
4079
4070
  createdAt: z143.coerce.date(),
4080
- designSystemId: z143.string(),
4081
- name: z143.string(),
4082
- comment: z143.string(),
4083
- isReadonly: z143.boolean(),
4084
- changeLog: z143.string(),
4085
- parentId: z143.string().optional(),
4086
- isDraftsFeatureAdopted: z143.boolean()
4087
- });
4088
- var VersionCreationJobStatus = z143.enum(["Success", "InProgress", "Error"]);
4089
- var VersionCreationJob = z143.object({
4090
- id: z143.string(),
4091
- version: z143.string(),
4092
- designSystemId: z143.string(),
4093
- designSystemVersionId: nullishToOptional(z143.string()),
4071
+ updatedAt: z143.coerce.date(),
4072
+ lastPublishedAt: z143.coerce.date(),
4073
+ isDefault: z143.boolean(),
4074
+ isPublic: z143.boolean(),
4075
+ environment: PublishedDocEnvironment,
4076
+ checksums: PublishedDocsChecksums,
4077
+ storagePath: z143.string(),
4078
+ wasMigrated: z143.boolean(),
4079
+ routingVersion: PublishedDocRoutingVersion,
4080
+ usesLocalizations: z143.boolean(),
4081
+ wasPublishedWithLocalizations: z143.boolean(),
4082
+ tokenCount: z143.number(),
4083
+ assetCount: z143.number()
4084
+ });
4085
+ var DesignSystemVersion = z144.object({
4086
+ id: z144.string(),
4087
+ version: z144.string(),
4088
+ createdAt: z144.coerce.date(),
4089
+ designSystemId: z144.string(),
4090
+ name: z144.string(),
4091
+ comment: z144.string(),
4092
+ isReadonly: z144.boolean(),
4093
+ changeLog: z144.string(),
4094
+ parentId: z144.string().optional(),
4095
+ isDraftsFeatureAdopted: z144.boolean()
4096
+ });
4097
+ var VersionCreationJobStatus = z144.enum(["Success", "InProgress", "Error"]);
4098
+ var VersionCreationJob = z144.object({
4099
+ id: z144.string(),
4100
+ version: z144.string(),
4101
+ designSystemId: z144.string(),
4102
+ designSystemVersionId: nullishToOptional(z144.string()),
4094
4103
  status: VersionCreationJobStatus,
4095
- errorMessage: nullishToOptional(z143.string())
4104
+ errorMessage: nullishToOptional(z144.string())
4096
4105
  });
4097
4106
  var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
4098
4107
  var BITBUCKET_MAX_LENGTH = 64;
4099
- var ExportJobDocumentationChanges = z144.object({
4100
- pagePersistentIds: z144.string().array(),
4101
- groupPersistentIds: z144.string().array()
4108
+ var ExportJobDocumentationChanges = z145.object({
4109
+ pagePersistentIds: z145.string().array(),
4110
+ groupPersistentIds: z145.string().array()
4102
4111
  });
4103
- var ExporterDestinationDocs = z144.object({
4112
+ var ExporterDestinationDocs = z145.object({
4104
4113
  environment: PublishedDocEnvironment,
4105
4114
  changes: nullishToOptional(ExportJobDocumentationChanges)
4106
4115
  });
4107
- var ExporterDestinationS3 = z144.object({});
4108
- var ExporterDestinationGithub = z144.object({
4109
- credentialId: z144.string().optional(),
4116
+ var ExporterDestinationS3 = z145.object({});
4117
+ var ExporterDestinationGithub = z145.object({
4118
+ credentialId: z145.string().optional(),
4110
4119
  // Repository
4111
- url: z144.string(),
4120
+ url: z145.string(),
4112
4121
  // Location
4113
- branch: z144.string(),
4114
- relativePath: nullishToOptional(z144.string()),
4115
- purgeDirectory: nullishToOptional(z144.boolean()),
4122
+ branch: z145.string(),
4123
+ relativePath: nullishToOptional(z145.string()),
4124
+ purgeDirectory: nullishToOptional(z145.boolean()),
4116
4125
  // Commit metadata
4117
- commitAuthorName: nullishToOptional(z144.string()),
4118
- commitAuthorEmail: nullishToOptional(z144.string()),
4126
+ commitAuthorName: nullishToOptional(z145.string()),
4127
+ commitAuthorEmail: nullishToOptional(z145.string()),
4119
4128
  // Legacy deprecated fields. Use `credentialId` instead
4120
- connectionId: nullishToOptional(z144.string()),
4121
- userId: nullishToOptional(z144.number())
4129
+ connectionId: nullishToOptional(z145.string()),
4130
+ userId: nullishToOptional(z145.number())
4122
4131
  });
4123
- var ExporterDestinationAzure = z144.object({
4124
- credentialId: z144.string().optional(),
4132
+ var ExporterDestinationAzure = z145.object({
4133
+ credentialId: z145.string().optional(),
4125
4134
  // Repository
4126
- organizationId: z144.string(),
4127
- projectId: z144.string(),
4128
- repositoryId: z144.string(),
4135
+ organizationId: z145.string(),
4136
+ projectId: z145.string(),
4137
+ repositoryId: z145.string(),
4129
4138
  // Commit metadata
4130
- commitAuthorName: nullishToOptional(z144.string()),
4131
- commitAuthorEmail: nullishToOptional(z144.string()),
4139
+ commitAuthorName: nullishToOptional(z145.string()),
4140
+ commitAuthorEmail: nullishToOptional(z145.string()),
4132
4141
  // Location
4133
- branch: z144.string(),
4134
- relativePath: nullishToOptional(z144.string()),
4135
- purgeDirectory: nullishToOptional(z144.boolean()),
4142
+ branch: z145.string(),
4143
+ relativePath: nullishToOptional(z145.string()),
4144
+ purgeDirectory: nullishToOptional(z145.boolean()),
4136
4145
  // Maybe not needed
4137
- url: nullishToOptional(z144.string()),
4146
+ url: nullishToOptional(z145.string()),
4138
4147
  // Legacy deprecated fields. Use `credentialId` instead
4139
- connectionId: nullishToOptional(z144.string()),
4140
- userId: nullishToOptional(z144.number())
4148
+ connectionId: nullishToOptional(z145.string()),
4149
+ userId: nullishToOptional(z145.number())
4141
4150
  });
4142
- var ExporterDestinationGitlab = z144.object({
4143
- credentialId: z144.string().optional(),
4151
+ var ExporterDestinationGitlab = z145.object({
4152
+ credentialId: z145.string().optional(),
4144
4153
  // Repository
4145
- projectId: z144.string(),
4154
+ projectId: z145.string(),
4146
4155
  // Commit metadata
4147
- commitAuthorName: nullishToOptional(z144.string()),
4148
- commitAuthorEmail: nullishToOptional(z144.string()),
4156
+ commitAuthorName: nullishToOptional(z145.string()),
4157
+ commitAuthorEmail: nullishToOptional(z145.string()),
4149
4158
  // Location
4150
- branch: z144.string(),
4151
- relativePath: nullishToOptional(z144.string()),
4152
- purgeDirectory: nullishToOptional(z144.boolean()),
4159
+ branch: z145.string(),
4160
+ relativePath: nullishToOptional(z145.string()),
4161
+ purgeDirectory: nullishToOptional(z145.boolean()),
4153
4162
  // Maybe not needed
4154
- url: nullishToOptional(z144.string()),
4163
+ url: nullishToOptional(z145.string()),
4155
4164
  // Legacy deprecated fields. Use `credentialId` instead
4156
- connectionId: nullishToOptional(z144.string()),
4157
- userId: nullishToOptional(z144.number())
4165
+ connectionId: nullishToOptional(z145.string()),
4166
+ userId: nullishToOptional(z145.number())
4158
4167
  });
4159
- var ExporterDestinationBitbucket = z144.object({
4160
- credentialId: z144.string().optional(),
4168
+ var ExporterDestinationBitbucket = z145.object({
4169
+ credentialId: z145.string().optional(),
4161
4170
  // Repository
4162
- workspaceSlug: z144.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4163
- projectKey: z144.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4164
- repoSlug: z144.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4171
+ workspaceSlug: z145.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4172
+ projectKey: z145.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4173
+ repoSlug: z145.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4165
4174
  // Commit metadata
4166
- commitAuthorName: nullishToOptional(z144.string()),
4167
- commitAuthorEmail: nullishToOptional(z144.string()),
4175
+ commitAuthorName: nullishToOptional(z145.string()),
4176
+ commitAuthorEmail: nullishToOptional(z145.string()),
4168
4177
  // Location
4169
- branch: z144.string(),
4170
- relativePath: nullishToOptional(z144.string()),
4171
- purgeDirectory: nullishToOptional(z144.boolean()),
4178
+ branch: z145.string(),
4179
+ relativePath: nullishToOptional(z145.string()),
4180
+ purgeDirectory: nullishToOptional(z145.boolean()),
4172
4181
  // Legacy deprecated fields. Use `credentialId` instead
4173
- connectionId: nullishToOptional(z144.string()),
4174
- userId: nullishToOptional(z144.number())
4182
+ connectionId: nullishToOptional(z145.string()),
4183
+ userId: nullishToOptional(z145.number())
4175
4184
  });
4176
- var ExportDestinationsMap = z144.object({
4177
- webhookUrl: z144.string().optional(),
4185
+ var ExportDestinationsMap = z145.object({
4186
+ webhookUrl: z145.string().optional(),
4178
4187
  destinationSnDocs: ExporterDestinationDocs.optional(),
4179
4188
  destinationS3: ExporterDestinationS3.optional(),
4180
4189
  destinationGithub: ExporterDestinationGithub.optional(),
@@ -4182,93 +4191,93 @@ var ExportDestinationsMap = z144.object({
4182
4191
  destinationGitlab: ExporterDestinationGitlab.optional(),
4183
4192
  destinationBitbucket: ExporterDestinationBitbucket.optional()
4184
4193
  });
4185
- var PipelineEventType = z145.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
4186
- var PipelineDestinationGitType = z145.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
4187
- var PipelineDestinationExtraType = z145.enum(["WebhookUrl", "S3", "Documentation"]);
4188
- var PipelineDestinationType = z145.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
4189
- var Pipeline = z145.object({
4190
- id: z145.string(),
4191
- name: z145.string(),
4194
+ var PipelineEventType = z146.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
4195
+ var PipelineDestinationGitType = z146.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
4196
+ var PipelineDestinationExtraType = z146.enum(["WebhookUrl", "S3", "Documentation"]);
4197
+ var PipelineDestinationType = z146.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
4198
+ var Pipeline = z146.object({
4199
+ id: z146.string(),
4200
+ name: z146.string(),
4192
4201
  eventType: PipelineEventType,
4193
- isEnabled: z145.boolean(),
4194
- workspaceId: z145.string(),
4195
- designSystemId: z145.string(),
4196
- exporterId: z145.string(),
4197
- brandPersistentId: z145.string().optional(),
4198
- themePersistentId: z145.string().optional(),
4199
- themePersistentIds: z145.string().array().optional(),
4202
+ isEnabled: z146.boolean(),
4203
+ workspaceId: z146.string(),
4204
+ designSystemId: z146.string(),
4205
+ exporterId: z146.string(),
4206
+ brandPersistentId: z146.string().optional(),
4207
+ themePersistentId: z146.string().optional(),
4208
+ themePersistentIds: z146.string().array().optional(),
4200
4209
  // Destinations
4201
4210
  ...ExportDestinationsMap.shape
4202
4211
  });
4203
- var ExportJobDump = z146.object({
4204
- id: z146.string(),
4205
- createdAt: z146.coerce.date(),
4206
- finishedAt: z146.coerce.date(),
4207
- exportArtefacts: z146.string()
4212
+ var ExportJobDump = z147.object({
4213
+ id: z147.string(),
4214
+ createdAt: z147.coerce.date(),
4215
+ finishedAt: z147.coerce.date(),
4216
+ exportArtefacts: z147.string()
4208
4217
  });
4209
- var CodeIntegrationDump = z146.object({
4218
+ var CodeIntegrationDump = z147.object({
4210
4219
  exporters: Exporter.array(),
4211
4220
  pipelines: Pipeline.array(),
4212
4221
  exportJobs: ExportJobDump.array()
4213
4222
  });
4214
4223
  var DesignSystemVersionRoom = Entity.extend({
4215
- designSystemVersionId: z147.string(),
4216
- liveblocksId: z147.string()
4217
- });
4218
- var DesignSystemVersionRoomInternalSettings = z147.object({
4219
- routingVersion: z147.string(),
4220
- isDraftFeatureAdopted: z147.boolean(),
4221
- isApprovalFeatureEnabled: z147.boolean(),
4222
- approvalRequiredForPublishing: z147.boolean()
4223
- });
4224
- var DesignSystemVersionRoomInitialState = z147.object({
4225
- pages: z147.array(DocumentationPageV2),
4226
- groups: z147.array(ElementGroup),
4227
- pageSnapshots: z147.array(DocumentationPageSnapshot),
4228
- groupSnapshots: z147.array(ElementGroupSnapshot),
4229
- pageApprovals: z147.array(DocumentationPageApproval),
4224
+ designSystemVersionId: z148.string(),
4225
+ liveblocksId: z148.string()
4226
+ });
4227
+ var DesignSystemVersionRoomInternalSettings = z148.object({
4228
+ routingVersion: z148.string(),
4229
+ isDraftFeatureAdopted: z148.boolean(),
4230
+ isApprovalFeatureEnabled: z148.boolean(),
4231
+ approvalRequiredForPublishing: z148.boolean()
4232
+ });
4233
+ var DesignSystemVersionRoomInitialState = z148.object({
4234
+ pages: z148.array(DocumentationPageV2),
4235
+ groups: z148.array(ElementGroup),
4236
+ pageSnapshots: z148.array(DocumentationPageSnapshot),
4237
+ groupSnapshots: z148.array(ElementGroupSnapshot),
4238
+ pageApprovals: z148.array(DocumentationPageApproval),
4230
4239
  internalSettings: DesignSystemVersionRoomInternalSettings
4231
4240
  });
4232
- var DesignSystemVersionRoomUpdate = z147.object({
4233
- pages: z147.array(DocumentationPageV2),
4234
- groups: z147.array(ElementGroup),
4235
- pageIdsToDelete: z147.array(z147.string()),
4236
- groupIdsToDelete: z147.array(z147.string()),
4237
- pageSnapshots: z147.array(DocumentationPageSnapshot),
4238
- groupSnapshots: z147.array(ElementGroupSnapshot),
4239
- pageSnapshotIdsToDelete: z147.array(z147.string()),
4240
- groupSnapshotIdsToDelete: z147.array(z147.string()),
4241
- pageHashesToUpdate: z147.record(z147.string(), z147.string()),
4242
- pageApprovals: z147.array(DocumentationPageApproval),
4243
- pageApprovalIdsToDelete: z147.array(z147.string())
4241
+ var DesignSystemVersionRoomUpdate = z148.object({
4242
+ pages: z148.array(DocumentationPageV2),
4243
+ groups: z148.array(ElementGroup),
4244
+ pageIdsToDelete: z148.array(z148.string()),
4245
+ groupIdsToDelete: z148.array(z148.string()),
4246
+ pageSnapshots: z148.array(DocumentationPageSnapshot),
4247
+ groupSnapshots: z148.array(ElementGroupSnapshot),
4248
+ pageSnapshotIdsToDelete: z148.array(z148.string()),
4249
+ groupSnapshotIdsToDelete: z148.array(z148.string()),
4250
+ pageHashesToUpdate: z148.record(z148.string(), z148.string()),
4251
+ pageApprovals: z148.array(DocumentationPageApproval),
4252
+ pageApprovalIdsToDelete: z148.array(z148.string())
4244
4253
  });
4245
4254
  var DocumentationPageRoom = Entity.extend({
4246
- designSystemVersionId: z148.string(),
4247
- documentationPageId: z148.string(),
4248
- liveblocksId: z148.string(),
4249
- isDirty: z148.boolean()
4255
+ designSystemVersionId: z149.string(),
4256
+ documentationPageId: z149.string(),
4257
+ liveblocksId: z149.string(),
4258
+ isDirty: z149.boolean()
4250
4259
  });
4251
- var DocumentationPageRoomState = z148.object({
4252
- pageItems: z148.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
4260
+ var DocumentationPageRoomState = z149.object({
4261
+ pageItems: z149.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
4253
4262
  itemConfiguration: DocumentationItemConfigurationV2
4254
4263
  });
4255
- var DocumentationPageRoomRoomUpdate = z148.object({
4264
+ var DocumentationPageRoomRoomUpdate = z149.object({
4256
4265
  page: DocumentationPageV2,
4257
4266
  pageParent: ElementGroup
4258
4267
  });
4259
4268
  var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.extend({
4260
- pageItems: z148.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
4261
- blockDefinitions: z148.array(PageBlockDefinition)
4269
+ pageItems: z149.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
4270
+ blockDefinitions: z149.array(PageBlockDefinition)
4262
4271
  });
4263
- var RestoredDocumentationPage = z148.object({
4272
+ var RestoredDocumentationPage = z149.object({
4264
4273
  page: DocumentationPageV2,
4265
4274
  pageParent: ElementGroup,
4266
4275
  pageContent: DocumentationPageContentData,
4267
- contentHash: z148.string(),
4268
- snapshotId: z148.string(),
4269
- roomId: z148.string().optional()
4276
+ contentHash: z149.string(),
4277
+ snapshotId: z149.string(),
4278
+ roomId: z149.string().optional()
4270
4279
  });
4271
- var RestoredDocumentationGroup = z148.object({
4280
+ var RestoredDocumentationGroup = z149.object({
4272
4281
  group: ElementGroup,
4273
4282
  parent: ElementGroup
4274
4283
  });
@@ -4278,28 +4287,28 @@ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
4278
4287
  RoomTypeEnum2["Workspace"] = "workspace";
4279
4288
  return RoomTypeEnum2;
4280
4289
  })(RoomTypeEnum || {});
4281
- var RoomTypeSchema = z149.nativeEnum(RoomTypeEnum);
4290
+ var RoomTypeSchema = z150.nativeEnum(RoomTypeEnum);
4282
4291
  var RoomType = RoomTypeSchema.enum;
4283
4292
  var WorkspaceRoom = Entity.extend({
4284
- workspaceId: z150.string(),
4285
- liveblocksId: z150.string()
4293
+ workspaceId: z151.string(),
4294
+ liveblocksId: z151.string()
4286
4295
  });
4287
- var PublishedDocsDump = z151.object({
4296
+ var PublishedDocsDump = z152.object({
4288
4297
  documentation: PublishedDoc,
4289
4298
  pages: PublishedDocPage.array()
4290
4299
  });
4291
- var DocumentationThreadDump = z152.object({
4300
+ var DocumentationThreadDump = z153.object({
4292
4301
  thread: DocumentationCommentThread,
4293
4302
  comments: DocumentationComment.array()
4294
4303
  });
4295
- var DocumentationPageRoomDump = z152.object({
4304
+ var DocumentationPageRoomDump = z153.object({
4296
4305
  room: DocumentationPageRoom,
4297
4306
  threads: DocumentationThreadDump.array()
4298
4307
  });
4299
- var DesignSystemVersionMultiplayerDump = z152.object({
4308
+ var DesignSystemVersionMultiplayerDump = z153.object({
4300
4309
  documentationPages: DocumentationPageRoomDump.array()
4301
4310
  });
4302
- var DesignSystemVersionDump = z152.object({
4311
+ var DesignSystemVersionDump = z153.object({
4303
4312
  version: DesignSystemVersion,
4304
4313
  brands: Brand.array(),
4305
4314
  elements: DesignElement.array(),
@@ -4312,50 +4321,50 @@ var DesignSystemVersionDump = z152.object({
4312
4321
  publishedDocumentations: PublishedDocsDump.array(),
4313
4322
  assetReferences: AssetReference.array()
4314
4323
  });
4315
- var DesignSystemDump = z153.object({
4324
+ var DesignSystemDump = z154.object({
4316
4325
  designSystem: DesignSystem,
4317
4326
  dataSources: DataSource.array(),
4318
4327
  versions: DesignSystemVersionDump.array(),
4319
4328
  customDomain: CustomDomain.optional(),
4320
4329
  files: Asset.array()
4321
4330
  });
4322
- var IntegrationDesignSystem = z154.object({
4323
- designSystemId: z154.string(),
4324
- brandId: z154.string(),
4325
- title: z154.string().optional(),
4326
- userId: z154.string().optional(),
4327
- date: z154.coerce.date().optional()
4328
- });
4329
- var IntegrationCredentialsType = z154.enum(["OAuth2", "PAT"]);
4330
- var IntegrationCredentialsState = z154.enum(["Active", "Inactive"]);
4331
- var IntegrationCredentialsProfile = z154.object({
4332
- id: nullishToOptional(z154.string()),
4333
- email: nullishToOptional(z154.string()),
4334
- handle: nullishToOptional(z154.string()),
4335
- type: nullishToOptional(z154.string()),
4336
- avatarUrl: nullishToOptional(z154.string()),
4337
- organization: nullishToOptional(z154.string()),
4338
- collection: nullishToOptional(z154.string())
4339
- });
4340
- var IntegrationCredentials = z154.object({
4341
- id: z154.string(),
4331
+ var IntegrationDesignSystem = z155.object({
4332
+ designSystemId: z155.string(),
4333
+ brandId: z155.string(),
4334
+ title: z155.string().optional(),
4335
+ userId: z155.string().optional(),
4336
+ date: z155.coerce.date().optional()
4337
+ });
4338
+ var IntegrationCredentialsType = z155.enum(["OAuth2", "PAT"]);
4339
+ var IntegrationCredentialsState = z155.enum(["Active", "Inactive"]);
4340
+ var IntegrationCredentialsProfile = z155.object({
4341
+ id: nullishToOptional(z155.string()),
4342
+ email: nullishToOptional(z155.string()),
4343
+ handle: nullishToOptional(z155.string()),
4344
+ type: nullishToOptional(z155.string()),
4345
+ avatarUrl: nullishToOptional(z155.string()),
4346
+ organization: nullishToOptional(z155.string()),
4347
+ collection: nullishToOptional(z155.string())
4348
+ });
4349
+ var IntegrationCredentials = z155.object({
4350
+ id: z155.string(),
4342
4351
  type: IntegrationCredentialsType,
4343
- integrationId: z154.string(),
4344
- accessToken: z154.string(),
4345
- userId: z154.string(),
4346
- createdAt: z154.coerce.date(),
4347
- refreshToken: z154.string().optional(),
4348
- tokenName: z154.string().optional(),
4349
- expiresAt: z154.coerce.date().optional(),
4350
- refreshedAt: z154.coerce.date().optional(),
4351
- username: z154.string().optional(),
4352
- appInstallationId: z154.string().optional(),
4352
+ integrationId: z155.string(),
4353
+ accessToken: z155.string(),
4354
+ userId: z155.string(),
4355
+ createdAt: z155.coerce.date(),
4356
+ refreshToken: z155.string().optional(),
4357
+ tokenName: z155.string().optional(),
4358
+ expiresAt: z155.coerce.date().optional(),
4359
+ refreshedAt: z155.coerce.date().optional(),
4360
+ username: z155.string().optional(),
4361
+ appInstallationId: z155.string().optional(),
4353
4362
  profile: IntegrationCredentialsProfile.optional(),
4354
- customUrl: z154.string().optional(),
4363
+ customUrl: z155.string().optional(),
4355
4364
  state: IntegrationCredentialsState,
4356
4365
  user: UserMinified.optional()
4357
4366
  });
4358
- var ExtendedIntegrationType = z154.enum([
4367
+ var ExtendedIntegrationType = z155.enum([
4359
4368
  "Figma",
4360
4369
  "Github",
4361
4370
  "Gitlab",
@@ -4366,26 +4375,26 @@ var ExtendedIntegrationType = z154.enum([
4366
4375
  ]);
4367
4376
  var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
4368
4377
  var GitIntegrationType = IntegrationType.exclude(["Figma"]);
4369
- var Integration = z154.object({
4370
- id: z154.string(),
4371
- workspaceId: z154.string(),
4378
+ var Integration = z155.object({
4379
+ id: z155.string(),
4380
+ workspaceId: z155.string(),
4372
4381
  type: IntegrationType,
4373
- createdAt: z154.coerce.date(),
4374
- integrationCredentials: z154.array(IntegrationCredentials).optional()
4375
- });
4376
- var IntegrationToken = z154.object({
4377
- access_token: z154.string(),
4378
- refresh_token: z154.string().optional(),
4379
- expires_in: z154.union([z154.number().optional(), z154.string().optional()]),
4380
- token_type: z154.string().optional(),
4381
- token_name: z154.string().optional(),
4382
- token_azure_organization_name: z154.string().optional(),
4382
+ createdAt: z155.coerce.date(),
4383
+ integrationCredentials: z155.array(IntegrationCredentials).optional()
4384
+ });
4385
+ var IntegrationToken = z155.object({
4386
+ access_token: z155.string(),
4387
+ refresh_token: z155.string().optional(),
4388
+ expires_in: z155.union([z155.number().optional(), z155.string().optional()]),
4389
+ token_type: z155.string().optional(),
4390
+ token_name: z155.string().optional(),
4391
+ token_azure_organization_name: z155.string().optional(),
4383
4392
  // Azure Cloud PAT only
4384
- token_azure_collection_name: z154.string().optional(),
4393
+ token_azure_collection_name: z155.string().optional(),
4385
4394
  // Azure Server PAT only
4386
- token_bitbucket_username: z154.string().optional(),
4395
+ token_bitbucket_username: z155.string().optional(),
4387
4396
  // Bitbucket only
4388
- custom_url: z154.string().optional().transform((value) => {
4397
+ custom_url: z155.string().optional().transform((value) => {
4389
4398
  if (!value?.trim())
4390
4399
  return void 0;
4391
4400
  return formatCustomUrl(value);
@@ -4421,98 +4430,98 @@ function formatCustomUrl(url) {
4421
4430
  }
4422
4431
  return forbiddenCustomUrlDomainList.some((domain) => formattedUrl.includes(domain)) ? void 0 : formattedUrl;
4423
4432
  }
4424
- var WorkspaceDump = z155.object({
4433
+ var WorkspaceDump = z156.object({
4425
4434
  workspace: Workspace,
4426
4435
  designSystems: DesignSystemDump.array(),
4427
4436
  codeIntegration: CodeIntegrationDump,
4428
4437
  integrations: Integration.array()
4429
4438
  });
4430
- var UserDump = z156.object({
4439
+ var UserDump = z157.object({
4431
4440
  user: User,
4432
4441
  workspaces: WorkspaceDump.array()
4433
4442
  });
4434
- var NpmProxyToken = z157.object({
4435
- access: z157.string(),
4436
- expiresAt: z157.number()
4443
+ var NpmProxyToken = z158.object({
4444
+ access: z158.string(),
4445
+ expiresAt: z158.number()
4437
4446
  });
4438
- var SessionData = z157.object({
4439
- returnToUrl: z157.string().optional(),
4447
+ var SessionData = z158.object({
4448
+ returnToUrl: z158.string().optional(),
4440
4449
  npmProxyToken: NpmProxyToken.optional()
4441
4450
  });
4442
- var Session = z157.object({
4443
- id: z157.string(),
4444
- expiresAt: z157.coerce.date(),
4445
- userId: z157.string().nullable(),
4451
+ var Session = z158.object({
4452
+ id: z158.string(),
4453
+ expiresAt: z158.coerce.date(),
4454
+ userId: z158.string().nullable(),
4446
4455
  data: SessionData
4447
4456
  });
4448
- var AuthTokens = z157.object({
4449
- access: z157.string(),
4450
- refresh: z157.string()
4457
+ var AuthTokens = z158.object({
4458
+ access: z158.string(),
4459
+ refresh: z158.string()
4451
4460
  });
4452
- var UserSession = z157.object({
4461
+ var UserSession = z158.object({
4453
4462
  session: Session,
4454
4463
  user: User.nullable()
4455
4464
  });
4456
- var DesignSystemInviteEmailRecipient = z158.object({
4457
- email: z158.string(),
4465
+ var DesignSystemInviteEmailRecipient = z159.object({
4466
+ email: z159.string(),
4458
4467
  role: WorkspaceRoleSchema
4459
4468
  });
4460
- var DesignSystemInviteEmailData = z158.object({
4469
+ var DesignSystemInviteEmailData = z159.object({
4461
4470
  workspace: Workspace,
4462
4471
  designSystem: DesignSystem,
4463
4472
  invitedBy: User,
4464
- documentationDomain: z158.string().optional()
4473
+ documentationDomain: z159.string().optional()
4465
4474
  });
4466
- var WorkspaceInviteEmailRecipient = z159.object({
4467
- email: z159.string(),
4475
+ var WorkspaceInviteEmailRecipient = z160.object({
4476
+ email: z160.string(),
4468
4477
  role: WorkspaceRoleSchema
4469
4478
  });
4470
- var WorkspaceInviteEmailData = z159.object({
4479
+ var WorkspaceInviteEmailData = z160.object({
4471
4480
  workspace: Workspace,
4472
4481
  invitedBy: User,
4473
- documentationDomain: z159.string().optional()
4474
- });
4475
- var EventDataSourceImported = z160.object({
4476
- type: z160.literal("DataSourceImported"),
4477
- workspaceId: z160.string(),
4478
- designSystemId: z160.string()
4482
+ documentationDomain: z160.string().optional()
4479
4483
  });
4480
- var EventVersionReleased = z161.object({
4481
- type: z161.literal("DesignSystemVersionReleased"),
4484
+ var EventDataSourceImported = z161.object({
4485
+ type: z161.literal("DataSourceImported"),
4482
4486
  workspaceId: z161.string(),
4483
- designSystemId: z161.string(),
4484
- versionId: z161.string()
4485
- });
4486
- var Event = z162.discriminatedUnion("type", [EventVersionReleased, EventDataSourceImported]);
4487
- var ExportJobDocumentationContext = z163.object({
4488
- isSingleVersionDocs: z163.boolean(),
4489
- versionSlug: z163.string(),
4487
+ designSystemId: z161.string()
4488
+ });
4489
+ var EventVersionReleased = z162.object({
4490
+ type: z162.literal("DesignSystemVersionReleased"),
4491
+ workspaceId: z162.string(),
4492
+ designSystemId: z162.string(),
4493
+ versionId: z162.string()
4494
+ });
4495
+ var Event = z163.discriminatedUnion("type", [EventVersionReleased, EventDataSourceImported]);
4496
+ var ExportJobDocumentationContext = z164.object({
4497
+ isSingleVersionDocs: z164.boolean(),
4498
+ versionSlug: z164.string(),
4490
4499
  environment: PublishedDocEnvironment
4491
4500
  });
4492
- var ExportJobContext = z163.object({
4493
- apiUrl: z163.string(),
4494
- accessToken: z163.string(),
4495
- designSystemId: z163.string(),
4496
- designSystemName: z163.string(),
4497
- exporterId: z163.string(),
4498
- versionId: z163.string(),
4499
- brandId: z163.string().optional(),
4500
- themeId: z163.string().optional(),
4501
- themePersistentIds: z163.string().array().optional(),
4502
- exporterName: z163.string(),
4501
+ var ExportJobContext = z164.object({
4502
+ apiUrl: z164.string(),
4503
+ accessToken: z164.string(),
4504
+ designSystemId: z164.string(),
4505
+ designSystemName: z164.string(),
4506
+ exporterId: z164.string(),
4507
+ versionId: z164.string(),
4508
+ brandId: z164.string().optional(),
4509
+ themeId: z164.string().optional(),
4510
+ themePersistentIds: z164.string().array().optional(),
4511
+ exporterName: z164.string(),
4503
4512
  documentation: ExportJobDocumentationContext.optional()
4504
4513
  });
4505
- var ExportJobExporterConfiguration = z163.object({
4506
- exporterPackageUrl: z163.string(),
4514
+ var ExportJobExporterConfiguration = z164.object({
4515
+ exporterPackageUrl: z164.string(),
4507
4516
  exporterPropertyValues: ExporterPropertyValue.array()
4508
4517
  });
4509
- var ExporterFunctionPayload = z164.object({
4510
- exportJobId: z164.string(),
4511
- exportContextId: z164.string(),
4512
- designSystemId: z164.string(),
4513
- workspaceId: z164.string()
4518
+ var ExporterFunctionPayload = z165.object({
4519
+ exportJobId: z165.string(),
4520
+ exportContextId: z165.string(),
4521
+ designSystemId: z165.string(),
4522
+ workspaceId: z165.string()
4514
4523
  });
4515
- var ExportJobDestinationType = z165.enum([
4524
+ var ExportJobDestinationType = z166.enum([
4516
4525
  "s3",
4517
4526
  "webhookUrl",
4518
4527
  "github",
@@ -4521,30 +4530,30 @@ var ExportJobDestinationType = z165.enum([
4521
4530
  "gitlab",
4522
4531
  "bitbucket"
4523
4532
  ]);
4524
- var ExportJobStatus = z165.enum(["InProgress", "Success", "Failed", "Timeout"]);
4525
- var ExportJobLogEntryType = z165.enum(["success", "info", "warning", "error", "user"]);
4526
- var ExportJobLogEntry = z165.object({
4527
- id: z165.string().optional(),
4528
- time: z165.coerce.date(),
4533
+ var ExportJobStatus = z166.enum(["InProgress", "Success", "Failed", "Timeout"]);
4534
+ var ExportJobLogEntryType = z166.enum(["success", "info", "warning", "error", "user"]);
4535
+ var ExportJobLogEntry = z166.object({
4536
+ id: z166.string().optional(),
4537
+ time: z166.coerce.date(),
4529
4538
  type: ExportJobLogEntryType,
4530
- message: z165.string()
4539
+ message: z166.string()
4531
4540
  });
4532
- var ExportJobPullRequestDestinationResult = z165.object({
4533
- pullRequestUrl: z165.string()
4541
+ var ExportJobPullRequestDestinationResult = z166.object({
4542
+ pullRequestUrl: z166.string()
4534
4543
  });
4535
- var ExportJobS3DestinationResult = z165.object({
4536
- bucket: z165.string(),
4537
- urlPrefix: z165.string().optional(),
4538
- path: z165.string(),
4539
- files: z165.array(z165.string()),
4540
- url: nullishToOptional(z165.string()),
4541
- urls: nullishToOptional(z165.string().array())
4544
+ var ExportJobS3DestinationResult = z166.object({
4545
+ bucket: z166.string(),
4546
+ urlPrefix: z166.string().optional(),
4547
+ path: z166.string(),
4548
+ files: z166.array(z166.string()),
4549
+ url: nullishToOptional(z166.string()),
4550
+ urls: nullishToOptional(z166.string().array())
4542
4551
  });
4543
- var ExportJobDocsDestinationResult = z165.object({
4544
- url: z165.string()
4552
+ var ExportJobDocsDestinationResult = z166.object({
4553
+ url: z166.string()
4545
4554
  });
4546
- var ExportJobResult = z165.object({
4547
- error: z165.string().optional(),
4555
+ var ExportJobResult = z166.object({
4556
+ error: z166.string().optional(),
4548
4557
  s3: nullishToOptional(ExportJobS3DestinationResult),
4549
4558
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
4550
4559
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -4553,22 +4562,22 @@ var ExportJobResult = z165.object({
4553
4562
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
4554
4563
  logs: nullishToOptional(ExportJobLogEntry.array())
4555
4564
  });
4556
- var ExportJob = z165.object({
4557
- id: z165.string(),
4558
- createdAt: z165.coerce.date(),
4559
- finishedAt: z165.coerce.date().optional(),
4560
- designSystemId: z165.string(),
4561
- designSystemVersionId: z165.string(),
4562
- workspaceId: z165.string(),
4563
- scheduleId: z165.string().nullish(),
4564
- exporterId: z165.string(),
4565
- brandId: z165.string().optional(),
4566
- themeId: z165.string().optional(),
4567
- themePersistentIds: z165.string().array().optional(),
4568
- estimatedExecutionTime: z165.number().optional(),
4565
+ var ExportJob = z166.object({
4566
+ id: z166.string(),
4567
+ createdAt: z166.coerce.date(),
4568
+ finishedAt: z166.coerce.date().optional(),
4569
+ designSystemId: z166.string(),
4570
+ designSystemVersionId: z166.string(),
4571
+ workspaceId: z166.string(),
4572
+ scheduleId: z166.string().nullish(),
4573
+ exporterId: z166.string(),
4574
+ brandId: z166.string().optional(),
4575
+ themeId: z166.string().optional(),
4576
+ themePersistentIds: z166.string().array().optional(),
4577
+ estimatedExecutionTime: z166.number().optional(),
4569
4578
  status: ExportJobStatus,
4570
4579
  result: ExportJobResult.optional(),
4571
- createdByUserId: z165.string().optional(),
4580
+ createdByUserId: z166.string().optional(),
4572
4581
  // Destinations
4573
4582
  ...ExportDestinationsMap.shape
4574
4583
  });
@@ -4582,30 +4591,30 @@ var ExportJobFindByFilter = ExportJob.pick({
4582
4591
  themeId: true,
4583
4592
  brandId: true
4584
4593
  }).extend({
4585
- destinations: z165.array(ExportJobDestinationType),
4594
+ destinations: z166.array(ExportJobDestinationType),
4586
4595
  docsEnvironment: PublishedDocEnvironment
4587
4596
  }).partial();
4588
- var ExporterWorkspaceMembershipRole = z166.enum(["Owner", "OwnerArchived", "User"]);
4589
- var ExporterWorkspaceMembership = z167.object({
4590
- id: z167.string(),
4591
- workspaceId: z167.string(),
4592
- exporterId: z167.string(),
4597
+ var ExporterWorkspaceMembershipRole = z167.enum(["Owner", "OwnerArchived", "User"]);
4598
+ var ExporterWorkspaceMembership = z168.object({
4599
+ id: z168.string(),
4600
+ workspaceId: z168.string(),
4601
+ exporterId: z168.string(),
4593
4602
  role: ExporterWorkspaceMembershipRole
4594
4603
  });
4595
- var FlaggedFeature = z168.enum([
4604
+ var FlaggedFeature = z169.enum([
4596
4605
  "FigmaImporterV2",
4597
4606
  "ShadowOpacityOptional",
4598
4607
  "DisableImporter",
4599
4608
  "VariablesOrder",
4600
4609
  "TypographyPropsKeepAliases"
4601
4610
  ]);
4602
- var FeatureFlagMap = z168.record(FlaggedFeature, z168.boolean());
4603
- var FeatureFlag = z168.object({
4604
- id: z168.string(),
4611
+ var FeatureFlagMap = z169.record(FlaggedFeature, z169.boolean());
4612
+ var FeatureFlag = z169.object({
4613
+ id: z169.string(),
4605
4614
  feature: FlaggedFeature,
4606
- createdAt: z168.coerce.date(),
4607
- enabled: z168.boolean(),
4608
- designSystemId: z168.string().optional()
4615
+ createdAt: z169.coerce.date(),
4616
+ enabled: z169.boolean(),
4617
+ designSystemId: z169.string().optional()
4609
4618
  });
4610
4619
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
4611
4620
  OAuthProviderNames2["Figma"] = "figma";
@@ -4615,108 +4624,108 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
4615
4624
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
4616
4625
  return OAuthProviderNames2;
4617
4626
  })(OAuthProviderNames || {});
4618
- var OAuthProviderSchema = z169.nativeEnum(OAuthProviderNames);
4627
+ var OAuthProviderSchema = z170.nativeEnum(OAuthProviderNames);
4619
4628
  var OAuthProvider = OAuthProviderSchema.enum;
4620
- var ExternalOAuthRequest = z170.object({
4621
- id: z170.string(),
4629
+ var ExternalOAuthRequest = z171.object({
4630
+ id: z171.string(),
4622
4631
  provider: OAuthProviderSchema,
4623
- userId: z170.string(),
4624
- state: z170.string(),
4625
- createdAt: z170.coerce.date()
4632
+ userId: z171.string(),
4633
+ state: z171.string(),
4634
+ createdAt: z171.coerce.date()
4626
4635
  });
4627
- var GitObjectsQuery = z171.object({
4628
- organization: z171.string().optional(),
4636
+ var GitObjectsQuery = z172.object({
4637
+ organization: z172.string().optional(),
4629
4638
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
4630
- project: z171.string().optional(),
4639
+ project: z172.string().optional(),
4631
4640
  // Only for Bitbucket and Azure
4632
- repository: z171.string().optional(),
4641
+ repository: z172.string().optional(),
4633
4642
  // For all providers. For Gitlab, it's called "project".
4634
- branch: z171.string().optional(),
4643
+ branch: z172.string().optional(),
4635
4644
  // For all providers.
4636
- user: z171.string().optional()
4645
+ user: z172.string().optional()
4637
4646
  // Gitlab user
4638
4647
  });
4639
- var GitOrganization = z171.object({
4640
- id: z171.string(),
4641
- name: z171.string(),
4642
- url: z171.string(),
4643
- slug: z171.string()
4648
+ var GitOrganization = z172.object({
4649
+ id: z172.string(),
4650
+ name: z172.string(),
4651
+ url: z172.string(),
4652
+ slug: z172.string()
4644
4653
  });
4645
- var GitProject = z171.object({
4646
- id: z171.string(),
4647
- name: z171.string(),
4648
- url: z171.string(),
4649
- slug: z171.string()
4654
+ var GitProject = z172.object({
4655
+ id: z172.string(),
4656
+ name: z172.string(),
4657
+ url: z172.string(),
4658
+ slug: z172.string()
4650
4659
  });
4651
- var GitRepository = z171.object({
4652
- id: z171.string(),
4653
- name: z171.string(),
4654
- url: z171.string(),
4655
- slug: z171.string(),
4660
+ var GitRepository = z172.object({
4661
+ id: z172.string(),
4662
+ name: z172.string(),
4663
+ url: z172.string(),
4664
+ slug: z172.string(),
4656
4665
  /**
4657
4666
  * Can be undefined when:
4658
4667
  * - there are no branches in the repository yet
4659
4668
  * - Git provider doesn't expose this information on a repository via their API
4660
4669
  */
4661
- defaultBranch: z171.string().optional()
4670
+ defaultBranch: z172.string().optional()
4662
4671
  });
4663
- var GitBranch = z171.object({
4664
- name: z171.string(),
4665
- lastCommitId: z171.string()
4672
+ var GitBranch = z172.object({
4673
+ name: z172.string(),
4674
+ lastCommitId: z172.string()
4666
4675
  });
4667
- var IntegrationTokenSchemaOld = z172.object({
4668
- id: z172.string(),
4669
- provider: OAuthProviderSchema,
4670
- scope: z172.string(),
4671
- userId: z172.string(),
4672
- accessToken: z172.string(),
4673
- refreshToken: z172.string(),
4674
- expiresAt: z172.coerce.date(),
4675
- externalUserId: z172.string().nullish()
4676
- });
4677
- var WorkspaceOAuthRequestSchema = z173.object({
4676
+ var IntegrationTokenSchemaOld = z173.object({
4678
4677
  id: z173.string(),
4679
- workspaceId: z173.string(),
4680
4678
  provider: OAuthProviderSchema,
4679
+ scope: z173.string(),
4681
4680
  userId: z173.string(),
4682
- createdAt: z173.coerce.date()
4681
+ accessToken: z173.string(),
4682
+ refreshToken: z173.string(),
4683
+ expiresAt: z173.coerce.date(),
4684
+ externalUserId: z173.string().nullish()
4685
+ });
4686
+ var WorkspaceOAuthRequestSchema = z174.object({
4687
+ id: z174.string(),
4688
+ workspaceId: z174.string(),
4689
+ provider: OAuthProviderSchema,
4690
+ userId: z174.string(),
4691
+ createdAt: z174.coerce.date()
4683
4692
  });
4684
- var AnyRecord = z174.record(z174.any());
4693
+ var AnyRecord = z175.record(z175.any());
4685
4694
  var NpmPackageVersionDist = AnyRecord.and(
4686
- z174.object({
4687
- tarball: z174.string()
4695
+ z175.object({
4696
+ tarball: z175.string()
4688
4697
  })
4689
4698
  );
4690
4699
  var NpmPackageVersion = AnyRecord.and(
4691
- z174.object({
4700
+ z175.object({
4692
4701
  dist: NpmPackageVersionDist
4693
4702
  })
4694
4703
  );
4695
4704
  var NpmPackage = AnyRecord.and(
4696
- z174.object({
4697
- _id: z174.string(),
4698
- name: z174.string(),
4705
+ z175.object({
4706
+ _id: z175.string(),
4707
+ name: z175.string(),
4699
4708
  // e.g. "latest": "1.2.3"
4700
- "dist-tags": z174.record(z174.string(), z174.string()),
4709
+ "dist-tags": z175.record(z175.string(), z175.string()),
4701
4710
  // "1.2.3": {...}
4702
- versions: z174.record(NpmPackageVersion)
4711
+ versions: z175.record(NpmPackageVersion)
4703
4712
  })
4704
4713
  );
4705
- var NpmProxyTokenPayload = z175.object({
4706
- npmProxyRegistryConfigId: z175.string()
4707
- });
4708
- var PersonalAccessToken = z176.object({
4709
- id: z176.string(),
4710
- userId: z176.string(),
4711
- workspaceId: z176.string().optional(),
4712
- designSystemId: z176.string().optional(),
4714
+ var NpmProxyTokenPayload = z176.object({
4715
+ npmProxyRegistryConfigId: z176.string()
4716
+ });
4717
+ var PersonalAccessToken = z177.object({
4718
+ id: z177.string(),
4719
+ userId: z177.string(),
4720
+ workspaceId: z177.string().optional(),
4721
+ designSystemId: z177.string().optional(),
4713
4722
  workspaceRole: WorkspaceRoleSchema.optional(),
4714
- name: z176.string(),
4715
- hidden: z176.boolean(),
4716
- token: z176.string(),
4717
- scope: z176.string().optional(),
4718
- createdAt: z176.coerce.date(),
4719
- expireAt: z176.coerce.date().optional()
4723
+ name: z177.string(),
4724
+ hidden: z177.boolean(),
4725
+ token: z177.string(),
4726
+ scope: z177.string().optional(),
4727
+ createdAt: z177.coerce.date(),
4728
+ expireAt: z177.coerce.date().optional()
4720
4729
  });
4721
4730
 
4722
4731
  // src/api/conversion/documentation/documentation-item-configuration-v1-to-dto.ts
@@ -5133,93 +5142,93 @@ function integrationCredentialToDto(credential) {
5133
5142
  }
5134
5143
 
5135
5144
  // src/api/dto/aux/color.ts
5136
- import { z as z177 } from "zod";
5137
- var DTOColorTokenInlineData = z177.object({
5138
- value: z177.string().regex(/^#[a-f0-9]{6,8}$/)
5145
+ import { z as z178 } from "zod";
5146
+ var DTOColorTokenInlineData = z178.object({
5147
+ value: z178.string().regex(/^#[a-f0-9]{6,8}$/)
5139
5148
  });
5140
5149
 
5141
5150
  // src/api/dto/aux/meta.ts
5142
- import { z as z178 } from "zod";
5143
- var DTOObjectMeta = z178.object({
5144
- name: z178.string().max(512),
5145
- description: z178.string().max(2048).optional()
5151
+ import { z as z179 } from "zod";
5152
+ var DTOObjectMeta = z179.object({
5153
+ name: z179.string().max(512),
5154
+ description: z179.string().max(2048).optional()
5146
5155
  });
5147
5156
 
5148
5157
  // src/api/dto/aux/pagination.ts
5149
- import { z as z179 } from "zod";
5150
- var DTOPagination = z179.object({
5151
- limit: z179.string().optional(),
5152
- offset: z179.string().optional()
5158
+ import { z as z180 } from "zod";
5159
+ var DTOPagination = z180.object({
5160
+ limit: z180.string().optional(),
5161
+ offset: z180.string().optional()
5153
5162
  });
5154
5163
 
5155
5164
  // src/api/dto/bff/app-bootstrap-data.ts
5156
- import { z as z213 } from "zod";
5165
+ import { z as z214 } from "zod";
5157
5166
 
5158
5167
  // src/api/dto/design-systems/brand.ts
5159
- import { z as z180 } from "zod";
5160
- var DTOBrand = z180.object({
5161
- id: z180.string(),
5162
- designSystemVersionId: z180.string(),
5163
- persistentId: z180.string(),
5168
+ import { z as z181 } from "zod";
5169
+ var DTOBrand = z181.object({
5170
+ id: z181.string(),
5171
+ designSystemVersionId: z181.string(),
5172
+ persistentId: z181.string(),
5164
5173
  meta: ObjectMeta
5165
5174
  });
5166
- var DTOBrandGetResponse = z180.object({ brand: DTOBrand });
5167
- var DTOBrandCreateResponse = z180.object({
5175
+ var DTOBrandGetResponse = z181.object({ brand: DTOBrand });
5176
+ var DTOBrandCreateResponse = z181.object({
5168
5177
  brand: DTOBrand
5169
5178
  });
5170
- var DTOBrandsListResponse = z180.object({ brands: z180.array(DTOBrand) });
5171
- var DTOBrandCreatePayload = z180.object({
5172
- persistentId: z180.string().uuid(),
5179
+ var DTOBrandsListResponse = z181.object({ brands: z181.array(DTOBrand) });
5180
+ var DTOBrandCreatePayload = z181.object({
5181
+ persistentId: z181.string().uuid(),
5173
5182
  meta: DTOObjectMeta
5174
5183
  });
5175
- var DTOBrandUpdatePayload = z180.object({
5184
+ var DTOBrandUpdatePayload = z181.object({
5176
5185
  meta: DTOObjectMeta.optional(),
5177
- persistentId: z180.string()
5186
+ persistentId: z181.string()
5178
5187
  });
5179
5188
 
5180
5189
  // src/api/dto/design-systems/component.ts
5181
- import { z as z181 } from "zod";
5182
- var DTODesignSystemComponent = z181.object({
5183
- id: z181.string(),
5184
- persistentId: z181.string(),
5185
- designSystemVersionId: z181.string(),
5186
- brandId: z181.string(),
5190
+ import { z as z182 } from "zod";
5191
+ var DTODesignSystemComponent = z182.object({
5192
+ id: z182.string(),
5193
+ persistentId: z182.string(),
5194
+ designSystemVersionId: z182.string(),
5195
+ brandId: z182.string(),
5187
5196
  meta: DTOObjectMeta,
5188
- createdAt: z181.coerce.date(),
5189
- updatedAt: z181.coerce.date()
5197
+ createdAt: z182.coerce.date(),
5198
+ updatedAt: z182.coerce.date()
5190
5199
  });
5191
- var DTODesignSystemComponentResponse = z181.object({
5200
+ var DTODesignSystemComponentResponse = z182.object({
5192
5201
  designSystemComponent: DTODesignSystemComponent
5193
5202
  });
5194
- var DTODesignSystemComponentListResponse = z181.object({
5203
+ var DTODesignSystemComponentListResponse = z182.object({
5195
5204
  designSystemComponents: DTODesignSystemComponent.array()
5196
5205
  });
5197
- var DTODesignSystemComponentCreateInput = z181.object({
5198
- brandId: z181.string(),
5206
+ var DTODesignSystemComponentCreateInput = z182.object({
5207
+ brandId: z182.string(),
5199
5208
  // Persistent ID,
5200
- persistentId: z181.string(),
5209
+ persistentId: z182.string(),
5201
5210
  meta: DTOObjectMeta
5202
5211
  });
5203
5212
 
5204
5213
  // src/api/dto/design-systems/contact.ts
5205
- import { z as z185 } from "zod";
5214
+ import { z as z186 } from "zod";
5206
5215
 
5207
5216
  // src/api/dto/users/authenticated-user.ts
5208
- import { z as z183 } from "zod";
5217
+ import { z as z184 } from "zod";
5209
5218
 
5210
5219
  // src/api/dto/users/user.ts
5211
- import { z as z182 } from "zod";
5212
- var DTOUserProfile = z182.object({
5213
- name: z182.string(),
5214
- nickname: z182.string().optional(),
5215
- avatar: z182.string().optional()
5216
- });
5217
- var DTOUser = z182.object({
5218
- id: z182.string(),
5219
- email: z182.string(),
5220
+ import { z as z183 } from "zod";
5221
+ var DTOUserProfile = z183.object({
5222
+ name: z183.string(),
5223
+ nickname: z183.string().optional(),
5224
+ avatar: z183.string().optional()
5225
+ });
5226
+ var DTOUser = z183.object({
5227
+ id: z183.string(),
5228
+ email: z183.string(),
5220
5229
  profile: DTOUserProfile
5221
5230
  });
5222
- var DTOUserGetResponse = z182.object({
5231
+ var DTOUserGetResponse = z183.object({
5223
5232
  user: DTOUser
5224
5233
  });
5225
5234
  var DTOUserProfileUpdate = UserProfileUpdate;
@@ -5228,156 +5237,156 @@ var DTOUserProfileUpdate = UserProfileUpdate;
5228
5237
  var DTOUserOnboardingDepartment = UserOnboardingDepartment;
5229
5238
  var DTOUserOnboardingJobLevel = UserOnboardingJobLevel;
5230
5239
  var DTOUserSource = UserSource;
5231
- var DTOUserOnboarding = z183.object({
5232
- companyName: z183.string().optional(),
5233
- numberOfPeopleInOrg: z183.string().optional(),
5234
- numberOfPeopleInDesignTeam: z183.string().optional(),
5240
+ var DTOUserOnboarding = z184.object({
5241
+ companyName: z184.string().optional(),
5242
+ numberOfPeopleInOrg: z184.string().optional(),
5243
+ numberOfPeopleInDesignTeam: z184.string().optional(),
5235
5244
  department: DTOUserOnboardingDepartment.optional(),
5236
- jobTitle: z183.string().optional(),
5237
- phase: z183.string().optional(),
5245
+ jobTitle: z184.string().optional(),
5246
+ phase: z184.string().optional(),
5238
5247
  jobLevel: DTOUserOnboardingJobLevel.optional(),
5239
- designSystemName: z183.string().optional(),
5240
- defaultDestination: z183.string().optional(),
5241
- isPageDraftOnboardingFinished: z183.boolean().optional()
5248
+ designSystemName: z184.string().optional(),
5249
+ defaultDestination: z184.string().optional(),
5250
+ isPageDraftOnboardingFinished: z184.boolean().optional()
5242
5251
  });
5243
5252
  var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
5244
5253
  onboarding: DTOUserOnboarding.optional()
5245
5254
  });
5246
5255
  var DTOAuthenticatedUser = DTOUser.extend({
5247
5256
  profile: DTOAuthenticatedUserProfile,
5248
- createdAt: z183.coerce.date(),
5249
- loggedOutAt: z183.coerce.date().optional(),
5257
+ createdAt: z184.coerce.date(),
5258
+ loggedOutAt: z184.coerce.date().optional(),
5250
5259
  source: DTOUserSource.optional()
5251
5260
  });
5252
- var DTOAuthenticatedUserResponse = z183.object({
5261
+ var DTOAuthenticatedUserResponse = z184.object({
5253
5262
  user: DTOAuthenticatedUser
5254
5263
  });
5255
5264
 
5256
5265
  // src/api/dto/users/update.ts
5257
- import { z as z184 } from "zod";
5258
- var DTOUserProfileUpdateResponse = z184.object({
5266
+ import { z as z185 } from "zod";
5267
+ var DTOUserProfileUpdateResponse = z185.object({
5259
5268
  user: User
5260
5269
  });
5261
5270
 
5262
5271
  // src/api/dto/design-systems/contact.ts
5263
- var DTODesignSystemContactsResponse = z185.object({
5264
- contacts: z185.object({
5265
- workspace: z185.array(DTOUser),
5266
- designSystem: z185.array(DTOUser)
5272
+ var DTODesignSystemContactsResponse = z186.object({
5273
+ contacts: z186.object({
5274
+ workspace: z186.array(DTOUser),
5275
+ designSystem: z186.array(DTOUser)
5267
5276
  })
5268
5277
  });
5269
5278
 
5270
5279
  // src/api/dto/design-systems/data-source.ts
5271
- import { z as z186 } from "zod";
5280
+ import { z as z187 } from "zod";
5272
5281
  var DTODataSourceFigmaScope = DataSourceFigmaScope;
5273
- var DTODataSourceFigmaFileVersion = z186.object({
5274
- id: z186.string(),
5275
- created_at: z186.coerce.date(),
5276
- label: z186.string(),
5277
- description: z186.string()
5278
- });
5279
- var DTODataSourceFigmaCloud = z186.object({
5280
- fileId: z186.string(),
5282
+ var DTODataSourceFigmaFileVersion = z187.object({
5283
+ id: z187.string(),
5284
+ created_at: z187.coerce.date(),
5285
+ label: z187.string(),
5286
+ description: z187.string()
5287
+ });
5288
+ var DTODataSourceFigmaCloud = z187.object({
5289
+ fileId: z187.string(),
5281
5290
  state: DataSourceFigmaState,
5282
5291
  autoImportMode: DataSourceAutoImportMode,
5283
- fileThumbnailUrl: z186.string().optional(),
5292
+ fileThumbnailUrl: z187.string().optional(),
5284
5293
  lastImportResult: SourceImportSummary.nullish(),
5285
- lastImportedAt: z186.coerce.date().nullish(),
5294
+ lastImportedAt: z187.coerce.date().nullish(),
5286
5295
  lastImportedVersion: DTODataSourceFigmaFileVersion.nullish(),
5287
- lastUpdatesCheckedAt: z186.date().nullish(),
5288
- ownerId: z186.string(),
5289
- ownerUserName: z186.string().optional(),
5290
- preferredCredentialId: z186.string().optional(),
5296
+ lastUpdatesCheckedAt: z187.date().nullish(),
5297
+ ownerId: z187.string(),
5298
+ ownerUserName: z187.string().optional(),
5299
+ preferredCredentialId: z187.string().optional(),
5291
5300
  stats: DataSourceStats
5292
5301
  });
5293
- var DTODataSourceFigma = z186.object({
5294
- id: z186.string(),
5295
- type: z186.literal(DataSourceRemoteType.Enum.Figma),
5296
- fileName: z186.string(),
5302
+ var DTODataSourceFigma = z187.object({
5303
+ id: z187.string(),
5304
+ type: z187.literal(DataSourceRemoteType.Enum.Figma),
5305
+ fileName: z187.string(),
5297
5306
  scope: DTODataSourceFigmaScope,
5298
- brandId: z186.string(),
5299
- themeId: z186.string().nullish(),
5307
+ brandId: z187.string(),
5308
+ themeId: z187.string().nullish(),
5300
5309
  cloud: DTODataSourceFigmaCloud.nullish()
5301
5310
  });
5302
- var DTODataSourceTokenStudio = z186.object({
5303
- id: z186.string(),
5304
- type: z186.literal(DataSourceRemoteType.Enum.TokenStudio),
5305
- fileName: z186.string(),
5306
- brandId: z186.string(),
5307
- themeId: z186.string().nullish(),
5308
- tokenStudio: z186.object({
5309
- settings: z186.object({
5310
- dryRun: z186.boolean(),
5311
- verbose: z186.boolean(),
5312
- preciseCopy: z186.boolean()
5311
+ var DTODataSourceTokenStudio = z187.object({
5312
+ id: z187.string(),
5313
+ type: z187.literal(DataSourceRemoteType.Enum.TokenStudio),
5314
+ fileName: z187.string(),
5315
+ brandId: z187.string(),
5316
+ themeId: z187.string().nullish(),
5317
+ tokenStudio: z187.object({
5318
+ settings: z187.object({
5319
+ dryRun: z187.boolean(),
5320
+ verbose: z187.boolean(),
5321
+ preciseCopy: z187.boolean()
5313
5322
  }),
5314
- connectionName: z186.string(),
5315
- lastImportedAt: z186.coerce.date(),
5316
- lastImportedResults: z186.array(
5317
- z186.object({
5318
- mapping: z186.object({
5319
- tokenSets: z186.array(z186.string()),
5320
- supernovaBrand: z186.string(),
5321
- supernovaTheme: z186.string().optional()
5323
+ connectionName: z187.string(),
5324
+ lastImportedAt: z187.coerce.date(),
5325
+ lastImportedResults: z187.array(
5326
+ z187.object({
5327
+ mapping: z187.object({
5328
+ tokenSets: z187.array(z187.string()),
5329
+ supernovaBrand: z187.string(),
5330
+ supernovaTheme: z187.string().optional()
5322
5331
  }),
5323
- isFailed: z186.boolean(),
5324
- tokensCreated: z186.number(),
5325
- tokensDeleted: z186.number(),
5326
- tokensUpdated: z186.number()
5332
+ isFailed: z187.boolean(),
5333
+ tokensCreated: z187.number(),
5334
+ tokensDeleted: z187.number(),
5335
+ tokensUpdated: z187.number()
5327
5336
  })
5328
5337
  )
5329
5338
  })
5330
5339
  });
5331
- var DTODataSourceFigmaVariablesPlugin = z186.object({
5332
- id: z186.string(),
5333
- type: z186.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5334
- fileName: z186.string(),
5335
- brandId: z186.string(),
5336
- upload: z186.object({
5337
- remoteId: z186.string(),
5340
+ var DTODataSourceFigmaVariablesPlugin = z187.object({
5341
+ id: z187.string(),
5342
+ type: z187.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5343
+ fileName: z187.string(),
5344
+ brandId: z187.string(),
5345
+ upload: z187.object({
5346
+ remoteId: z187.string(),
5338
5347
  remoteSourceType: DataSourceUploadRemoteSource,
5339
- lastImportedAt: z186.coerce.date().optional(),
5348
+ lastImportedAt: z187.coerce.date().optional(),
5340
5349
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
5341
- isTokenTypeSplitEnabled: z186.boolean()
5350
+ isTokenTypeSplitEnabled: z187.boolean()
5342
5351
  }),
5343
- figmaVariablesPlugin: z186.object({
5344
- fileId: z186.string(),
5345
- lastImportedAt: z186.coerce.date().optional(),
5352
+ figmaVariablesPlugin: z187.object({
5353
+ fileId: z187.string(),
5354
+ lastImportedAt: z187.coerce.date().optional(),
5346
5355
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
5347
- isTokenTypeSplitEnabled: z186.boolean(),
5348
- isCollectionsMigrationCompleted: z186.boolean().default(false)
5356
+ isTokenTypeSplitEnabled: z187.boolean(),
5357
+ isCollectionsMigrationCompleted: z187.boolean().default(false)
5349
5358
  })
5350
5359
  });
5351
- var DTODataSource = z186.discriminatedUnion("type", [
5360
+ var DTODataSource = z187.discriminatedUnion("type", [
5352
5361
  DTODataSourceFigma,
5353
5362
  DTODataSourceFigmaVariablesPlugin,
5354
5363
  DTODataSourceTokenStudio
5355
5364
  ]);
5356
- var DTODataSourcesListResponse = z186.object({
5357
- sources: z186.array(DTODataSource)
5365
+ var DTODataSourcesListResponse = z187.object({
5366
+ sources: z187.array(DTODataSource)
5358
5367
  });
5359
- var DTODataSourceResponse = z186.object({
5368
+ var DTODataSourceResponse = z187.object({
5360
5369
  source: DTODataSource
5361
5370
  });
5362
- var DTODataSourceFigmaCreatePayload = z186.object({
5363
- brandPersistentId: z186.string(),
5364
- figmaFileUrl: z186.string(),
5371
+ var DTODataSourceFigmaCreatePayload = z187.object({
5372
+ brandPersistentId: z187.string(),
5373
+ figmaFileUrl: z187.string(),
5365
5374
  scope: DTODataSourceFigmaScope,
5366
5375
  autoImportMode: DataSourceAutoImportMode
5367
5376
  });
5368
- var DTODataSourceFigmaImportPayload = z186.object({
5369
- sourceIds: z186.array(z186.string())
5377
+ var DTODataSourceFigmaImportPayload = z187.object({
5378
+ sourceIds: z187.array(z187.string())
5370
5379
  });
5371
5380
 
5372
5381
  // src/api/dto/design-systems/design-system.ts
5373
- import { z as z189 } from "zod";
5382
+ import { z as z190 } from "zod";
5374
5383
 
5375
5384
  // src/api/dto/design-systems/members.ts
5376
- import { z as z188 } from "zod";
5385
+ import { z as z189 } from "zod";
5377
5386
 
5378
5387
  // src/api/dto/design-systems/role.ts
5379
- import { z as z187 } from "zod";
5380
- var DTODesignSystemRole = z187.enum([
5388
+ import { z as z188 } from "zod";
5389
+ var DTODesignSystemRole = z188.enum([
5381
5390
  WorkspaceRole.Admin,
5382
5391
  WorkspaceRole.Contributor,
5383
5392
  WorkspaceRole.Creator,
@@ -5385,29 +5394,29 @@ var DTODesignSystemRole = z187.enum([
5385
5394
  ]);
5386
5395
 
5387
5396
  // src/api/dto/design-systems/members.ts
5388
- var DTODesignSystemMember = z188.object({
5389
- userId: z188.string(),
5397
+ var DTODesignSystemMember = z189.object({
5398
+ userId: z189.string(),
5390
5399
  /**
5391
5400
  * Role that the member has in the design system,
5392
5401
  * undefined if set to inherit from workspace
5393
5402
  */
5394
5403
  designSystemRole: DTODesignSystemRole.optional()
5395
5404
  });
5396
- var DTODesignSystemInvitation = z188.object({
5397
- id: z188.string(),
5398
- workspaceInvitationId: z188.string(),
5405
+ var DTODesignSystemInvitation = z189.object({
5406
+ id: z189.string(),
5407
+ workspaceInvitationId: z189.string(),
5399
5408
  /**
5400
5409
  * Role that the invitation has in the design system,
5401
5410
  * undefined if set to inherit from workspace
5402
5411
  */
5403
5412
  designSystemRole: DTODesignSystemRole.optional()
5404
5413
  });
5405
- var DTODesignSystemMemberListResponse = z188.object({
5414
+ var DTODesignSystemMemberListResponse = z189.object({
5406
5415
  members: DTODesignSystemMember.array(),
5407
5416
  invitations: DTODesignSystemInvitation.array()
5408
5417
  });
5409
- var DTODesignSystemMembersUpdateResponse = z188.object({
5410
- ok: z188.literal(true)
5418
+ var DTODesignSystemMembersUpdateResponse = z189.object({
5419
+ ok: z189.literal(true)
5411
5420
  });
5412
5421
  var DTODesignSystemMembersUpdatePayload = DesignSystemMembershipUpdates;
5413
5422
 
@@ -5418,14 +5427,14 @@ var DTODesignSystem = DesignSystem.omit({
5418
5427
  docExporterId: true
5419
5428
  }).extend({
5420
5429
  meta: ObjectMeta,
5421
- docExporterId: z189.string(),
5422
- sources: z189.array(z189.any()),
5423
- isPublic: z189.literal(true),
5430
+ docExporterId: z190.string(),
5431
+ sources: z190.array(z190.any()),
5432
+ isPublic: z190.literal(true),
5424
5433
  /**
5425
5434
  * Whether or not user who is requesting the design system
5426
5435
  * has access to the design system's contents.
5427
5436
  */
5428
- isAvailableToUser: z189.boolean(),
5437
+ isAvailableToUser: z190.boolean(),
5429
5438
  /**
5430
5439
  * @deprecated
5431
5440
  */
@@ -5436,17 +5445,17 @@ var DTODesignSystem = DesignSystem.omit({
5436
5445
  */
5437
5446
  effectiveRole: DTODesignSystemRole.optional()
5438
5447
  });
5439
- var DTODesignSystemResponse = z189.object({
5448
+ var DTODesignSystemResponse = z190.object({
5440
5449
  designSystem: DTODesignSystem
5441
5450
  });
5442
- var DTODesignSystemsListResponse = z189.object({
5451
+ var DTODesignSystemsListResponse = z190.object({
5443
5452
  designSystems: DTODesignSystem.array()
5444
5453
  });
5445
- var DTODesignSystemCreateInput = z189.object({
5446
- workspaceId: z189.string(),
5454
+ var DTODesignSystemCreateInput = z190.object({
5455
+ workspaceId: z190.string(),
5447
5456
  meta: ObjectMeta.optional(),
5448
- name: z189.string().min(2).max(64).optional(),
5449
- description: z189.string().max(1024).optional(),
5457
+ name: z190.string().min(2).max(64).optional(),
5458
+ description: z190.string().max(1024).optional(),
5450
5459
  accessMode: DesignSystemAccessMode.optional(),
5451
5460
  invites: DTODesignSystemMembersUpdatePayload.pick({
5452
5461
  usersToInvite: true,
@@ -5456,20 +5465,20 @@ var DTODesignSystemCreateInput = z189.object({
5456
5465
  });
5457
5466
 
5458
5467
  // src/api/dto/design-systems/elements-diff.ts
5459
- import { z as z190 } from "zod";
5460
- var DTODiffCountBase = z190.object({
5461
- created: z190.number(),
5462
- updated: z190.number(),
5463
- deleted: z190.number()
5468
+ import { z as z191 } from "zod";
5469
+ var DTODiffCountBase = z191.object({
5470
+ created: z191.number(),
5471
+ updated: z191.number(),
5472
+ deleted: z191.number()
5464
5473
  });
5465
- var DTODesignElementsDataDiffResponse = z190.object({
5474
+ var DTODesignElementsDataDiffResponse = z191.object({
5466
5475
  tokens: DTODiffCountBase,
5467
5476
  assets: DTODiffCountBase
5468
5477
  });
5469
5478
 
5470
5479
  // src/api/dto/design-systems/figma-variables.ts
5471
- import { z as z191 } from "zod";
5472
- var DimensionsVariableScopeSchema = z191.enum([
5480
+ import { z as z192 } from "zod";
5481
+ var DimensionsVariableScopeSchema = z192.enum([
5473
5482
  "CORNER_RADIUS",
5474
5483
  "WIDTH_HEIGHT",
5475
5484
  "GAP",
@@ -5483,120 +5492,124 @@ var DimensionsVariableScopeSchema = z191.enum([
5483
5492
  "PARAGRAPH_INDENT",
5484
5493
  "FONT_WEIGHT"
5485
5494
  ]);
5486
- var StringVariableScopeSchema = z191.enum(["TEXT_CONTENT", "FONT_FAMILY", "FONT_STYLE"]);
5495
+ var StringVariableScopeSchema = z192.enum(["TEXT_CONTENT", "FONT_FAMILY", "FONT_STYLE"]);
5487
5496
  var DimensionsVariableScopeType = DimensionsVariableScopeSchema.enum;
5488
5497
  var StringVariableScopeType = StringVariableScopeSchema.enum;
5489
- var VariableScope = z191.string();
5490
- var ReferencedVariableOrigin = z191.object({
5491
- name: z191.string(),
5492
- remote: z191.boolean()
5498
+ var VariableScope = z192.string();
5499
+ var ReferencedVariableOrigin = z192.object({
5500
+ name: z192.string(),
5501
+ remote: z192.boolean()
5493
5502
  });
5494
- var RGB = z191.object({
5495
- r: z191.number(),
5496
- g: z191.number(),
5497
- b: z191.number()
5503
+ var RGB = z192.object({
5504
+ r: z192.number(),
5505
+ g: z192.number(),
5506
+ b: z192.number()
5498
5507
  });
5499
5508
  var RGBA = RGB.extend({
5500
- a: z191.number()
5501
- });
5502
- var VariableAlias = z191.object({
5503
- type: z191.literal("VARIABLE_ALIAS"),
5504
- id: z191.string(),
5505
- resolvedValue: z191.boolean().or(z191.number()).or(z191.string()).or(RGBA).or(RGB).optional(),
5506
- referenceOrigin: ReferencedVariableOrigin.optional().or(z191.null())
5507
- });
5508
- var VariableValue = z191.boolean().or(z191.number()).or(z191.string()).or(RGBA).or(RGB).or(VariableAlias);
5509
- var ResolvedVariableType = z191.enum(["BOOLEAN", "FLOAT", "STRING", "COLOR"]);
5510
- var Variable = z191.object({
5511
- id: z191.string(),
5512
- name: z191.string(),
5513
- key: z191.string(),
5514
- variableCollectionId: z191.string(),
5509
+ a: z192.number()
5510
+ });
5511
+ var VariableAlias = z192.object({
5512
+ type: z192.literal("VARIABLE_ALIAS"),
5513
+ id: z192.string(),
5514
+ resolvedValue: z192.boolean().or(z192.number()).or(z192.string()).or(RGBA).or(RGB).optional(),
5515
+ referenceOrigin: ReferencedVariableOrigin.optional().or(z192.null())
5516
+ });
5517
+ var VariableValue = z192.boolean().or(z192.number()).or(z192.string()).or(RGBA).or(RGB).or(VariableAlias);
5518
+ var ResolvedVariableType = z192.enum(["BOOLEAN", "FLOAT", "STRING", "COLOR"]);
5519
+ var Variable = z192.object({
5520
+ id: z192.string(),
5521
+ name: z192.string(),
5522
+ key: z192.string(),
5523
+ variableCollectionId: z192.string(),
5515
5524
  resolvedType: ResolvedVariableType,
5516
- valuesByMode: z191.record(VariableValue),
5517
- remote: z191.boolean(),
5518
- description: z191.string(),
5519
- hiddenFromPublishing: z191.boolean(),
5520
- scopes: z191.array(VariableScope),
5521
- codeSyntax: z191.record(z191.any()).optional()
5522
- });
5523
- var VariableMode = z191.object({
5524
- modeId: z191.string(),
5525
- name: z191.string()
5526
- });
5527
- var Collection2 = z191.object({
5528
- id: z191.string(),
5529
- name: z191.string(),
5530
- modes: z191.array(VariableMode),
5531
- defaultModeId: z191.string(),
5532
- remote: z191.boolean(),
5533
- hiddenFromPublishing: z191.boolean()
5534
- });
5535
- var VariablesMapping = z191.object({
5536
- variableCollections: z191.array(z191.string()).min(1),
5537
- variableMode: z191.string().min(1),
5538
- supernovaBrand: z191.string().min(1),
5539
- supernovaTheme: z191.string().min(1).optional().or(z191.null())
5540
- });
5541
- var FormattedCollections = z191.object({
5542
- variables: z191.record(z191.string(), Variable),
5543
- variableCollections: z191.record(z191.string(), Collection2),
5544
- mappings: z191.array(VariablesMapping).optional(),
5545
- variablesOrder: z191.string().array().optional()
5525
+ valuesByMode: z192.record(VariableValue),
5526
+ remote: z192.boolean(),
5527
+ description: z192.string(),
5528
+ hiddenFromPublishing: z192.boolean(),
5529
+ scopes: z192.array(VariableScope),
5530
+ codeSyntax: z192.record(z192.any()).optional()
5531
+ });
5532
+ var VariableMode = z192.object({
5533
+ modeId: z192.string(),
5534
+ name: z192.string()
5535
+ });
5536
+ var Collection2 = z192.object({
5537
+ id: z192.string(),
5538
+ name: z192.string(),
5539
+ modes: z192.array(VariableMode),
5540
+ defaultModeId: z192.string(),
5541
+ remote: z192.boolean(),
5542
+ hiddenFromPublishing: z192.boolean()
5543
+ });
5544
+ var VariablesMapping = z192.object({
5545
+ variableCollections: z192.array(z192.string()).min(1),
5546
+ variableMode: z192.string().min(1),
5547
+ supernovaBrand: z192.string().min(1),
5548
+ supernovaTheme: z192.string().min(1).optional().or(z192.null())
5549
+ });
5550
+ var FormattedCollections = z192.object({
5551
+ variables: z192.record(z192.string(), Variable),
5552
+ variableCollections: z192.record(z192.string(), Collection2),
5553
+ mappings: z192.array(VariablesMapping).optional(),
5554
+ variablesOrder: z192.string().array().optional()
5546
5555
  });
5547
5556
 
5548
5557
  // src/api/dto/design-systems/import-job.ts
5549
- import { z as z192 } from "zod";
5550
- var DTOImportJob = z192.object({
5551
- id: z192.string(),
5552
- designSystemId: z192.string(),
5553
- designSystemVersionId: z192.string(),
5554
- operation: z192.literal("Import"),
5555
- createdAt: z192.coerce.date(),
5556
- stateChangedAt: z192.coerce.date(),
5558
+ import { z as z193 } from "zod";
5559
+ var DTOImportJob = z193.object({
5560
+ id: z193.string(),
5561
+ designSystemId: z193.string(),
5562
+ designSystemVersionId: z193.string(),
5563
+ operation: z193.literal("Import"),
5564
+ createdAt: z193.coerce.date(),
5565
+ stateChangedAt: z193.coerce.date(),
5557
5566
  state: ImportJobState,
5558
- sourceIds: z192.string().array()
5567
+ sourceIds: z193.string().array()
5559
5568
  });
5560
- var DTOImportJobResponse = z192.object({
5569
+ var DTOImportJobResponse = z193.object({
5561
5570
  job: DTOImportJob
5562
5571
  });
5563
- var DTOBffFigmaImportRequestBody = z192.object({
5564
- type: z192.literal(DataSourceRemoteType.Enum.Figma),
5565
- brandPersistentId: z192.string().optional(),
5566
- fileId: z192.string(),
5572
+ var DTOBffFigmaImportRequestBody = z193.object({
5573
+ type: z193.literal(DataSourceRemoteType.Enum.Figma),
5574
+ brandPersistentId: z193.string().optional(),
5575
+ fileId: z193.string(),
5567
5576
  scope: DataSourceFigmaScope,
5568
5577
  autoImportMode: DataSourceAutoImportMode
5569
5578
  });
5570
- var DTOBffUploadImportRequestBody = z192.object({
5571
- type: z192.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5572
- brandPersistentId: z192.string().optional(),
5573
- sourceName: z192.string().optional(),
5574
- remoteId: z192.string(),
5575
- isTokenTypeSplitEnabled: z192.boolean().optional(),
5576
- payload: z192.any()
5579
+ var DTOBffUploadImportRequestBody = z193.object({
5580
+ type: z193.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5581
+ brandPersistentId: z193.string().optional(),
5582
+ sourceName: z193.string().optional(),
5583
+ remoteId: z193.string(),
5584
+ isTokenTypeSplitEnabled: z193.boolean().optional(),
5585
+ payload: z193.any()
5577
5586
  });
5578
- var DTOBffImportRequestBody = z192.discriminatedUnion("type", [
5587
+ var DTOBffImportRequestBody = z193.discriminatedUnion("type", [
5579
5588
  DTOBffFigmaImportRequestBody,
5580
5589
  DTOBffUploadImportRequestBody
5581
5590
  ]);
5582
5591
 
5583
5592
  // src/api/dto/design-systems/stats.ts
5584
- import { z as z193 } from "zod";
5585
- var DTODesignSystemVersionStats = z193.object({
5586
- tokens: z193.number(),
5587
- designSystemComponents: z193.number(),
5588
- assets: z193.number(),
5589
- documentationPages: z193.number()
5590
- });
5591
- var DTODesignSystemVersionStatsQuery = z193.object({
5592
- brandId: z193.string().optional()
5593
+ import { z as z194 } from "zod";
5594
+ var DTODesignSystemVersionStats = z194.object({
5595
+ tokens: z194.number(),
5596
+ designSystemComponents: z194.number(),
5597
+ assets: z194.number(),
5598
+ documentationPages: z194.number(),
5599
+ figmaComponents: z194.number()
5600
+ });
5601
+ var DTODesignSystemVersionStatsQuery = z194.object({
5602
+ /**
5603
+ * Unique ID across versions (non-persistent ID)
5604
+ */
5605
+ brandId: z194.string().optional()
5593
5606
  });
5594
5607
 
5595
5608
  // src/api/dto/design-systems/version.ts
5596
- import { z as z205 } from "zod";
5609
+ import { z as z206 } from "zod";
5597
5610
 
5598
5611
  // src/api/payloads/design-systems/update-design-system.ts
5599
- import { z as z194 } from "zod";
5612
+ import { z as z195 } from "zod";
5600
5613
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
5601
5614
  id: true,
5602
5615
  workspaceId: true,
@@ -5608,40 +5621,40 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
5608
5621
  }).extend({
5609
5622
  meta: ObjectMeta.partial().optional()
5610
5623
  });
5611
- var DTODesignSystemUpdateAccessModeInput = z194.object({
5624
+ var DTODesignSystemUpdateAccessModeInput = z195.object({
5612
5625
  accessMode: DesignSystemAccessMode,
5613
- retain: z194.object({
5614
- userIds: z194.string().array(),
5615
- inviteIds: z194.string().array()
5626
+ retain: z195.object({
5627
+ userIds: z195.string().array(),
5628
+ inviteIds: z195.string().array()
5616
5629
  }).optional()
5617
5630
  });
5618
5631
 
5619
5632
  // src/api/payloads/design-systems/version.ts
5620
- import { z as z195 } from "zod";
5621
- var ObjectMeta2 = z195.object({
5622
- name: z195.string().max(150).optional(),
5623
- description: z195.string().max(2e3).optional()
5633
+ import { z as z196 } from "zod";
5634
+ var ObjectMeta2 = z196.object({
5635
+ name: z196.string().max(150).optional(),
5636
+ description: z196.string().max(2e3).optional()
5624
5637
  });
5625
5638
  function validateDesignSystemVersion(version) {
5626
5639
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
5627
5640
  return urlCompliantRegex.test(version);
5628
5641
  }
5629
- var DTOCreateVersionInput = z195.object({
5642
+ var DTOCreateVersionInput = z196.object({
5630
5643
  meta: ObjectMeta2,
5631
- version: z195.string().refine(validateDesignSystemVersion, {
5644
+ version: z196.string().refine(validateDesignSystemVersion, {
5632
5645
  message: "Invalid semantic versioning format"
5633
5646
  }),
5634
- changeLog: z195.string().optional()
5647
+ changeLog: z196.string().optional()
5635
5648
  });
5636
- var DTOUpdateVersionInput = z195.object({
5649
+ var DTOUpdateVersionInput = z196.object({
5637
5650
  meta: ObjectMeta2,
5638
- version: z195.string(),
5651
+ version: z196.string(),
5639
5652
  // required for PUT, but not editable
5640
- changeLog: z195.string()
5653
+ changeLog: z196.string()
5641
5654
  });
5642
5655
 
5643
5656
  // src/api/payloads/documentation/block-definitions.ts
5644
- import { z as z196 } from "zod";
5657
+ import { z as z197 } from "zod";
5645
5658
 
5646
5659
  // src/api/dto/documentation/block-definition.ts
5647
5660
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -5653,63 +5666,63 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
5653
5666
  var DTOPageBlockDefinition = PageBlockDefinition;
5654
5667
 
5655
5668
  // src/api/payloads/documentation/block-definitions.ts
5656
- var DTOGetBlockDefinitionsOutput = z196.object({
5657
- definitions: z196.array(DTOPageBlockDefinition)
5669
+ var DTOGetBlockDefinitionsOutput = z197.object({
5670
+ definitions: z197.array(DTOPageBlockDefinition)
5658
5671
  });
5659
5672
 
5660
5673
  // src/api/payloads/documentation/design-data-doc-diff.ts
5661
- import { z as z197 } from "zod";
5662
- var DTODocumentationPublishTypeQueryParams = z197.object({
5663
- environment: z197.enum(["Live", "Preview"])
5674
+ import { z as z198 } from "zod";
5675
+ var DTODocumentationPublishTypeQueryParams = z198.object({
5676
+ environment: z198.enum(["Live", "Preview"])
5664
5677
  });
5665
5678
 
5666
5679
  // src/api/payloads/export/pipeline.ts
5667
- import { z as z199 } from "zod";
5680
+ import { z as z200 } from "zod";
5668
5681
 
5669
5682
  // src/api/dto/export/exporter-property.ts
5670
- import { z as z198 } from "zod";
5671
- var PrimitiveValue = z198.number().or(z198.boolean()).or(z198.string());
5672
- var ArrayValue = z198.array(z198.string());
5673
- var ObjectValue = z198.record(z198.string());
5683
+ import { z as z199 } from "zod";
5684
+ var PrimitiveValue = z199.number().or(z199.boolean()).or(z199.string());
5685
+ var ArrayValue = z199.array(z199.string());
5686
+ var ObjectValue = z199.record(z199.string());
5674
5687
  var DTOExporterPropertyDefinitionValue = PrimitiveValue.or(ArrayValue).or(ObjectValue);
5675
- var DTOExporterPropertyType = z198.enum(["Enum", "Boolean", "String", "Number", "Array", "Object"]);
5676
- var PropertyDefinitionBase = z198.object({
5677
- key: z198.string(),
5678
- title: z198.string(),
5679
- description: z198.string()
5688
+ var DTOExporterPropertyType = z199.enum(["Enum", "Boolean", "String", "Number", "Array", "Object"]);
5689
+ var PropertyDefinitionBase = z199.object({
5690
+ key: z199.string(),
5691
+ title: z199.string(),
5692
+ description: z199.string()
5680
5693
  });
5681
5694
  var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase.extend({
5682
- type: z198.literal(DTOExporterPropertyType.Enum.Enum),
5683
- options: z198.string().array(),
5684
- default: z198.string()
5695
+ type: z199.literal(DTOExporterPropertyType.Enum.Enum),
5696
+ options: z199.string().array(),
5697
+ default: z199.string()
5685
5698
  });
5686
5699
  var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase.extend({
5687
- type: z198.literal(DTOExporterPropertyType.Enum.Boolean),
5688
- default: z198.boolean()
5700
+ type: z199.literal(DTOExporterPropertyType.Enum.Boolean),
5701
+ default: z199.boolean()
5689
5702
  });
5690
5703
  var DTOExporterPropertyDefinitionString = PropertyDefinitionBase.extend({
5691
- type: z198.literal(DTOExporterPropertyType.Enum.String),
5692
- default: z198.string()
5704
+ type: z199.literal(DTOExporterPropertyType.Enum.String),
5705
+ default: z199.string()
5693
5706
  });
5694
5707
  var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase.extend({
5695
- type: z198.literal(DTOExporterPropertyType.Enum.Number),
5696
- default: z198.number()
5708
+ type: z199.literal(DTOExporterPropertyType.Enum.Number),
5709
+ default: z199.number()
5697
5710
  });
5698
5711
  var DTOExporterPropertyDefinitionArray = PropertyDefinitionBase.extend({
5699
- type: z198.literal(DTOExporterPropertyType.Enum.Array),
5712
+ type: z199.literal(DTOExporterPropertyType.Enum.Array),
5700
5713
  default: ArrayValue
5701
5714
  });
5702
5715
  var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase.extend({
5703
- type: z198.literal(DTOExporterPropertyType.Enum.Object),
5716
+ type: z199.literal(DTOExporterPropertyType.Enum.Object),
5704
5717
  default: ObjectValue,
5705
- allowedKeys: z198.object({
5706
- options: z198.string().array()
5718
+ allowedKeys: z199.object({
5719
+ options: z199.string().array()
5707
5720
  }).optional(),
5708
- allowedValues: z198.object({
5709
- options: z198.string().array()
5721
+ allowedValues: z199.object({
5722
+ options: z199.string().array()
5710
5723
  }).optional()
5711
5724
  });
5712
- var DTOExporterPropertyDefinition = z198.discriminatedUnion("type", [
5725
+ var DTOExporterPropertyDefinition = z199.discriminatedUnion("type", [
5713
5726
  DTOExporterPropertyDefinitionEnum,
5714
5727
  DTOExporterPropertyDefinitionBoolean,
5715
5728
  DTOExporterPropertyDefinitionString,
@@ -5717,55 +5730,55 @@ var DTOExporterPropertyDefinition = z198.discriminatedUnion("type", [
5717
5730
  DTOExporterPropertyDefinitionArray,
5718
5731
  DTOExporterPropertyDefinitionObject
5719
5732
  ]);
5720
- var DTOExporterPropertyDefinitionsResponse = z198.object({
5733
+ var DTOExporterPropertyDefinitionsResponse = z199.object({
5721
5734
  properties: DTOExporterPropertyDefinition.array()
5722
5735
  });
5723
- var DTOExporterPropertyDefinitionValueMap = z198.record(DTOExporterPropertyDefinitionValue);
5736
+ var DTOExporterPropertyDefinitionValueMap = z199.record(DTOExporterPropertyDefinitionValue);
5724
5737
 
5725
5738
  // src/api/payloads/export/pipeline.ts
5726
- var DTOPipelineCreateBody = z199.object({
5727
- name: z199.string(),
5728
- exporterId: z199.string(),
5729
- designSystemId: z199.string(),
5730
- isEnabled: z199.boolean(),
5739
+ var DTOPipelineCreateBody = z200.object({
5740
+ name: z200.string(),
5741
+ exporterId: z200.string(),
5742
+ designSystemId: z200.string(),
5743
+ isEnabled: z200.boolean(),
5731
5744
  eventType: PipelineEventType,
5732
- brandPersistentId: z199.string().optional(),
5733
- themePersistentId: z199.string().optional(),
5734
- themePersistentIds: z199.string().array().optional(),
5745
+ brandPersistentId: z200.string().optional(),
5746
+ themePersistentId: z200.string().optional(),
5747
+ themePersistentIds: z200.string().array().optional(),
5735
5748
  exporterConfiguration: DTOExporterPropertyDefinitionValueMap.optional(),
5736
5749
  destination: PipelineDestinationType.optional(),
5737
5750
  gitQuery: GitObjectsQuery,
5738
- destinations: z199.object({
5751
+ destinations: z200.object({
5739
5752
  s3: ExporterDestinationS3.nullish(),
5740
5753
  azure: ExporterDestinationAzure.nullish(),
5741
5754
  bitbucket: ExporterDestinationBitbucket.nullish(),
5742
5755
  github: ExporterDestinationGithub.nullish(),
5743
5756
  gitlab: ExporterDestinationGitlab.nullish(),
5744
5757
  documentation: ExporterDestinationDocs.nullish(),
5745
- webhookUrl: z199.string().nullish()
5758
+ webhookUrl: z200.string().nullish()
5746
5759
  })
5747
5760
  });
5748
5761
  var DTOPipelineUpdateBody = DTOPipelineCreateBody.extend({
5749
- id: z199.string()
5762
+ id: z200.string()
5750
5763
  });
5751
- var DTOPipelineTriggerBody = z199.object({
5752
- designSystemVersionId: z199.string()
5764
+ var DTOPipelineTriggerBody = z200.object({
5765
+ designSystemVersionId: z200.string()
5753
5766
  });
5754
5767
 
5755
5768
  // src/api/payloads/liveblocks/auth.ts
5756
- import { z as z200 } from "zod";
5757
- var DTOLiveblocksAuthRequest = z200.object({
5758
- room: z200.string().optional()
5769
+ import { z as z201 } from "zod";
5770
+ var DTOLiveblocksAuthRequest = z201.object({
5771
+ room: z201.string().optional()
5759
5772
  });
5760
5773
 
5761
5774
  // src/api/payloads/users/notifications/notification-settings.ts
5762
- import { z as z201 } from "zod";
5763
- var DTOUpdateUserNotificationSettingsPayload = z201.object({
5775
+ import { z as z202 } from "zod";
5776
+ var DTOUpdateUserNotificationSettingsPayload = z202.object({
5764
5777
  notificationSettings: UserNotificationSettings
5765
5778
  });
5766
- var DTOUserNotificationSettingsResponse = z201.object({
5767
- userId: z201.string(),
5768
- workspaceId: z201.string(),
5779
+ var DTOUserNotificationSettingsResponse = z202.object({
5780
+ userId: z202.string(),
5781
+ workspaceId: z202.string(),
5769
5782
  notificationSettings: UserNotificationSettings
5770
5783
  });
5771
5784
 
@@ -5773,13 +5786,13 @@ var DTOUserNotificationSettingsResponse = z201.object({
5773
5786
  var DTOUserProfileUpdatePayload = UserProfileUpdate;
5774
5787
 
5775
5788
  // src/api/payloads/workspaces/transfer-ownership.ts
5776
- import { z as z202 } from "zod";
5777
- var DTOTransferOwnershipPayload = z202.object({
5778
- newOwnerId: z202.string()
5789
+ import { z as z203 } from "zod";
5790
+ var DTOTransferOwnershipPayload = z203.object({
5791
+ newOwnerId: z203.string()
5779
5792
  });
5780
5793
 
5781
5794
  // src/api/payloads/workspaces/workspace-configuration.ts
5782
- import { z as z203 } from "zod";
5795
+ import { z as z204 } from "zod";
5783
5796
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
5784
5797
  function validateSsoPayload(ssoPayload) {
5785
5798
  const keys = [];
@@ -5802,21 +5815,21 @@ function validateSsoPayload(ssoPayload) {
5802
5815
  keys
5803
5816
  };
5804
5817
  }
5805
- var NpmRegistryInput = z203.object({
5806
- enabledScopes: z203.array(z203.string()),
5807
- customRegistryUrl: z203.string().optional(),
5808
- bypassProxy: z203.boolean().optional(),
5809
- npmProxyRegistryConfigId: z203.string().optional(),
5810
- npmProxyVersion: z203.number().optional(),
5811
- registryType: z203.string(),
5812
- authType: z203.string(),
5813
- authHeaderName: z203.string(),
5814
- authHeaderValue: z203.string(),
5815
- accessToken: z203.string(),
5816
- username: z203.string(),
5817
- password: z203.string()
5818
- });
5819
- var WorkspaceConfigurationPayload = z203.object({
5818
+ var NpmRegistryInput = z204.object({
5819
+ enabledScopes: z204.array(z204.string()),
5820
+ customRegistryUrl: z204.string().optional(),
5821
+ bypassProxy: z204.boolean().optional(),
5822
+ npmProxyRegistryConfigId: z204.string().optional(),
5823
+ npmProxyVersion: z204.number().optional(),
5824
+ registryType: z204.string(),
5825
+ authType: z204.string(),
5826
+ authHeaderName: z204.string(),
5827
+ authHeaderValue: z204.string(),
5828
+ accessToken: z204.string(),
5829
+ username: z204.string(),
5830
+ password: z204.string()
5831
+ });
5832
+ var WorkspaceConfigurationPayload = z204.object({
5820
5833
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
5821
5834
  sso: SsoProvider.partial().optional(),
5822
5835
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
@@ -5824,218 +5837,218 @@ var WorkspaceConfigurationPayload = z203.object({
5824
5837
  });
5825
5838
 
5826
5839
  // src/api/payloads/workspaces/workspace-integrations.ts
5827
- import { z as z204 } from "zod";
5828
- var DTOWorkspaceIntegrationOauthInput = z204.object({
5840
+ import { z as z205 } from "zod";
5841
+ var DTOWorkspaceIntegrationOauthInput = z205.object({
5829
5842
  type: IntegrationType
5830
5843
  });
5831
- var DTOWorkspaceIntegrationPATInput = z204.object({
5832
- userId: z204.string(),
5844
+ var DTOWorkspaceIntegrationPATInput = z205.object({
5845
+ userId: z205.string(),
5833
5846
  type: IntegrationType,
5834
5847
  token: IntegrationToken
5835
5848
  });
5836
- var DTOWorkspaceIntegrationGetGitObjectsInput = z204.object({
5837
- organization: z204.string().optional(),
5849
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z205.object({
5850
+ organization: z205.string().optional(),
5838
5851
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
5839
- project: z204.string().optional(),
5852
+ project: z205.string().optional(),
5840
5853
  // Only for Bitbucket and Azure
5841
- repository: z204.string().optional(),
5854
+ repository: z205.string().optional(),
5842
5855
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
5843
- branch: z204.string().optional(),
5856
+ branch: z205.string().optional(),
5844
5857
  // For all providers, useful for PR creations.
5845
- user: z204.string().optional()
5858
+ user: z205.string().optional()
5846
5859
  // Only for Gitlab User Repositories
5847
5860
  });
5848
5861
 
5849
5862
  // src/api/dto/design-systems/version.ts
5850
- var DTODesignSystemVersion = z205.object({
5851
- id: z205.string(),
5852
- createdAt: z205.coerce.date(),
5863
+ var DTODesignSystemVersion = z206.object({
5864
+ id: z206.string(),
5865
+ createdAt: z206.coerce.date(),
5853
5866
  meta: ObjectMeta,
5854
- version: z205.string(),
5855
- isReadonly: z205.boolean(),
5856
- changeLog: z205.string(),
5857
- designSystemId: z205.string()
5867
+ version: z206.string(),
5868
+ isReadonly: z206.boolean(),
5869
+ changeLog: z206.string(),
5870
+ designSystemId: z206.string()
5858
5871
  });
5859
- var DTODesignSystemVersionsListResponse = z205.object({
5860
- designSystemVersions: z205.array(DTODesignSystemVersion)
5872
+ var DTODesignSystemVersionsListResponse = z206.object({
5873
+ designSystemVersions: z206.array(DTODesignSystemVersion)
5861
5874
  });
5862
- var DTODesignSystemVersionGetResponse = z205.object({
5875
+ var DTODesignSystemVersionGetResponse = z206.object({
5863
5876
  designSystemVersion: DTODesignSystemVersion
5864
5877
  });
5865
- var DTODesignSystemVersionCreationResponse = z205.object({
5878
+ var DTODesignSystemVersionCreationResponse = z206.object({
5866
5879
  meta: ObjectMeta,
5867
- version: z205.string(),
5868
- changeLog: z205.string(),
5869
- isReadOnly: z205.boolean(),
5870
- designSystemId: z205.string(),
5871
- jobId: z205.string()
5872
- });
5873
- var VersionSQSPayload = z205.object({
5874
- jobId: z205.string(),
5875
- designSystemId: z205.string(),
5880
+ version: z206.string(),
5881
+ changeLog: z206.string(),
5882
+ isReadOnly: z206.boolean(),
5883
+ designSystemId: z206.string(),
5884
+ jobId: z206.string()
5885
+ });
5886
+ var VersionSQSPayload = z206.object({
5887
+ jobId: z206.string(),
5888
+ designSystemId: z206.string(),
5876
5889
  input: DTOCreateVersionInput
5877
5890
  });
5878
- var DTODesignSystemVersionJobsResponse = z205.object({
5879
- jobs: z205.array(VersionCreationJob)
5891
+ var DTODesignSystemVersionJobsResponse = z206.object({
5892
+ jobs: z206.array(VersionCreationJob)
5880
5893
  });
5881
- var DTODesignSystemVersionJobStatusResponse = z205.object({
5894
+ var DTODesignSystemVersionJobStatusResponse = z206.object({
5882
5895
  job: VersionCreationJob
5883
5896
  });
5884
5897
 
5885
5898
  // src/api/dto/design-systems/view.ts
5886
- import { z as z206 } from "zod";
5887
- var DTOElementViewColumnSharedAttributes = z206.object({
5888
- id: z206.string(),
5889
- persistentId: z206.string(),
5890
- width: z206.number()
5899
+ import { z as z207 } from "zod";
5900
+ var DTOElementViewColumnSharedAttributes = z207.object({
5901
+ id: z207.string(),
5902
+ persistentId: z207.string(),
5903
+ width: z207.number()
5891
5904
  });
5892
5905
  var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
5893
- type: z206.literal("BaseProperty"),
5906
+ type: z207.literal("BaseProperty"),
5894
5907
  basePropertyType: ElementViewBaseColumnType
5895
5908
  });
5896
5909
  var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
5897
- type: z206.literal("PropertyDefinition"),
5898
- propertyDefinitionId: z206.string()
5910
+ type: z207.literal("PropertyDefinition"),
5911
+ propertyDefinitionId: z207.string()
5899
5912
  });
5900
5913
  var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
5901
- type: z206.literal("Theme"),
5902
- themeId: z206.string()
5914
+ type: z207.literal("Theme"),
5915
+ themeId: z207.string()
5903
5916
  });
5904
- var DTOElementViewColumn = z206.discriminatedUnion("type", [
5917
+ var DTOElementViewColumn = z207.discriminatedUnion("type", [
5905
5918
  DTOElementViewBasePropertyColumn,
5906
5919
  DTOElementViewPropertyDefinitionColumn,
5907
5920
  DTOElementViewThemeColumn
5908
5921
  ]);
5909
- var DTOElementView = z206.object({
5922
+ var DTOElementView = z207.object({
5910
5923
  meta: ObjectMeta,
5911
- persistentId: z206.string(),
5924
+ persistentId: z207.string(),
5912
5925
  targetElementType: ElementPropertyTargetType,
5913
- id: z206.string(),
5914
- isDefault: z206.boolean(),
5915
- columns: z206.array(DTOElementViewColumn)
5926
+ id: z207.string(),
5927
+ isDefault: z207.boolean(),
5928
+ columns: z207.array(DTOElementViewColumn)
5916
5929
  });
5917
- var DTOElementViewsListResponse = z206.object({
5918
- elementDataViews: z206.array(DTOElementView)
5930
+ var DTOElementViewsListResponse = z207.object({
5931
+ elementDataViews: z207.array(DTOElementView)
5919
5932
  });
5920
5933
 
5921
5934
  // src/api/dto/workspaces/git.ts
5922
- import { z as z207 } from "zod";
5923
- var DTOGitOrganization = z207.object({
5924
- id: z207.string(),
5925
- name: z207.string(),
5926
- url: z207.string(),
5927
- slug: z207.string()
5935
+ import { z as z208 } from "zod";
5936
+ var DTOGitOrganization = z208.object({
5937
+ id: z208.string(),
5938
+ name: z208.string(),
5939
+ url: z208.string(),
5940
+ slug: z208.string()
5928
5941
  });
5929
- var DTOGitProject = z207.object({
5930
- id: z207.string(),
5931
- name: z207.string(),
5932
- url: z207.string(),
5933
- slug: z207.string()
5942
+ var DTOGitProject = z208.object({
5943
+ id: z208.string(),
5944
+ name: z208.string(),
5945
+ url: z208.string(),
5946
+ slug: z208.string()
5934
5947
  });
5935
- var DTOGitRepository = z207.object({
5936
- id: z207.string(),
5937
- name: z207.string(),
5938
- url: z207.string(),
5939
- slug: z207.string(),
5940
- defaultBranch: z207.string().optional()
5948
+ var DTOGitRepository = z208.object({
5949
+ id: z208.string(),
5950
+ name: z208.string(),
5951
+ url: z208.string(),
5952
+ slug: z208.string(),
5953
+ defaultBranch: z208.string().optional()
5941
5954
  });
5942
- var DTOGitBranch = z207.object({
5943
- name: z207.string(),
5944
- lastCommitId: z207.string()
5955
+ var DTOGitBranch = z208.object({
5956
+ name: z208.string(),
5957
+ lastCommitId: z208.string()
5945
5958
  });
5946
5959
 
5947
5960
  // src/api/dto/workspaces/integrations.ts
5948
- import { z as z208 } from "zod";
5961
+ import { z as z209 } from "zod";
5949
5962
  var DTOIntegrationCredentials = IntegrationCredentials.omit({
5950
5963
  accessToken: true,
5951
5964
  refreshToken: true
5952
5965
  });
5953
- var DTOIntegration = z208.object({
5954
- id: z208.string(),
5955
- workspaceId: z208.string(),
5966
+ var DTOIntegration = z209.object({
5967
+ id: z209.string(),
5968
+ workspaceId: z209.string(),
5956
5969
  type: ExtendedIntegrationType,
5957
- createdAt: z208.coerce.date(),
5958
- integrationCredentials: z208.array(DTOIntegrationCredentials).optional(),
5959
- integrationDesignSystems: z208.array(IntegrationDesignSystem).optional()
5970
+ createdAt: z209.coerce.date(),
5971
+ integrationCredentials: z209.array(DTOIntegrationCredentials).optional(),
5972
+ integrationDesignSystems: z209.array(IntegrationDesignSystem).optional()
5960
5973
  });
5961
- var DTOIntegrationOAuthGetResponse = z208.object({
5962
- url: z208.string()
5974
+ var DTOIntegrationOAuthGetResponse = z209.object({
5975
+ url: z209.string()
5963
5976
  });
5964
- var DTOIntegrationPostResponse = z208.object({
5977
+ var DTOIntegrationPostResponse = z209.object({
5965
5978
  integration: DTOIntegration
5966
5979
  });
5967
- var DTOIntegrationsGetListResponse = z208.object({
5980
+ var DTOIntegrationsGetListResponse = z209.object({
5968
5981
  integrations: DTOIntegration.array()
5969
5982
  });
5970
5983
 
5971
5984
  // src/api/dto/workspaces/invitations.ts
5972
- import { z as z209 } from "zod";
5973
- var DTOWorkspaceInvitationInput = z209.object({
5974
- email: z209.string().email(),
5985
+ import { z as z210 } from "zod";
5986
+ var DTOWorkspaceInvitationInput = z210.object({
5987
+ email: z210.string().email(),
5975
5988
  role: WorkspaceRoleSchema
5976
5989
  });
5977
- var DTOWorkspaceInvitationsListInput = z209.object({
5990
+ var DTOWorkspaceInvitationsListInput = z210.object({
5978
5991
  invites: DTOWorkspaceInvitationInput.array().max(100),
5979
- designSystemId: z209.string().optional()
5992
+ designSystemId: z210.string().optional()
5980
5993
  });
5981
- var DTOWorkspaceInvitationsResponse = z209.object({
5994
+ var DTOWorkspaceInvitationsResponse = z210.object({
5982
5995
  invitations: WorkspaceInvitation.array()
5983
5996
  });
5984
- var DTOWorkspaceInviteUpdate = z209.object({
5997
+ var DTOWorkspaceInviteUpdate = z210.object({
5985
5998
  role: WorkspaceRoleSchema
5986
5999
  });
5987
- var DTOWorkspaceInvitationUpdateResponse = z209.object({
6000
+ var DTOWorkspaceInvitationUpdateResponse = z210.object({
5988
6001
  invitation: WorkspaceInvitation
5989
6002
  });
5990
6003
 
5991
6004
  // src/api/dto/workspaces/membership.ts
5992
- import { z as z212 } from "zod";
6005
+ import { z as z213 } from "zod";
5993
6006
 
5994
6007
  // src/api/dto/workspaces/workspace.ts
5995
- import { z as z211 } from "zod";
6008
+ import { z as z212 } from "zod";
5996
6009
 
5997
6010
  // src/api/dto/workspaces/npm-registry.ts
5998
- import { z as z210 } from "zod";
6011
+ import { z as z211 } from "zod";
5999
6012
  var DTONpmRegistryConfigConstants = {
6000
6013
  passwordPlaceholder: "redacted"
6001
6014
  };
6002
- var DTONpmRegistryConfig = z210.object({
6015
+ var DTONpmRegistryConfig = z211.object({
6003
6016
  // Registry basic configuration
6004
6017
  registryType: NpmRegistryType,
6005
- registryUrl: z210.string(),
6006
- customRegistryUrl: z210.string().optional(),
6018
+ registryUrl: z211.string(),
6019
+ customRegistryUrl: z211.string().optional(),
6007
6020
  // URL of Supernova NPM packages proxy
6008
- proxyUrl: z210.string(),
6021
+ proxyUrl: z211.string(),
6009
6022
  // Auth configuration
6010
6023
  authType: NpmRegistryAuthType,
6011
- accessToken: z210.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6012
- username: z210.string().optional(),
6013
- password: z210.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6024
+ accessToken: z211.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6025
+ username: z211.string().optional(),
6026
+ password: z211.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6014
6027
  // NPM package scopes for whih the proxy should be enabled
6015
- enabledScopes: z210.array(z210.string()),
6028
+ enabledScopes: z211.array(z211.string()),
6016
6029
  // True if client should bypass Supernova proxy and connect directly to the registry
6017
6030
  // (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
6018
- bypassProxy: z210.boolean()
6031
+ bypassProxy: z211.boolean()
6019
6032
  });
6020
6033
 
6021
6034
  // src/api/dto/workspaces/workspace.ts
6022
6035
  var DTOWorkspaceProfile = WorkspaceProfile;
6023
- var DTOWorkspace = z211.object({
6024
- id: z211.string(),
6036
+ var DTOWorkspace = z212.object({
6037
+ id: z212.string(),
6025
6038
  profile: DTOWorkspaceProfile,
6026
6039
  subscription: Subscription,
6027
6040
  npmRegistry: DTONpmRegistryConfig.optional()
6028
6041
  });
6029
- var DTOWorkspaceCreateInput = z211.object({
6030
- name: z211.string()
6042
+ var DTOWorkspaceCreateInput = z212.object({
6043
+ name: z212.string()
6031
6044
  });
6032
- var DTOWorkspaceResponse = z211.object({
6045
+ var DTOWorkspaceResponse = z212.object({
6033
6046
  workspace: DTOWorkspace
6034
6047
  });
6035
6048
 
6036
6049
  // src/api/dto/workspaces/membership.ts
6037
- var DTOWorkspaceRole = z212.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
6038
- var DTOUserWorkspaceMembership = z212.object({
6050
+ var DTOWorkspaceRole = z213.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
6051
+ var DTOUserWorkspaceMembership = z213.object({
6039
6052
  // Workspace the user is a member of
6040
6053
  workspace: DTOWorkspace,
6041
6054
  // Assigned role the user has in the workspace
@@ -6045,26 +6058,26 @@ var DTOUserWorkspaceMembership = z212.object({
6045
6058
  // when a workspace's subscription is downgraded to free tier
6046
6059
  effectiveRole: DTOWorkspaceRole
6047
6060
  });
6048
- var DTOWorkspaceMember = z212.object({
6061
+ var DTOWorkspaceMember = z213.object({
6049
6062
  user: User,
6050
6063
  role: WorkspaceRoleSchema,
6051
6064
  effectiveRole: WorkspaceRoleSchema
6052
6065
  });
6053
- var DTOUserWorkspaceMembershipsResponse = z212.object({
6054
- membership: z212.array(DTOUserWorkspaceMembership)
6066
+ var DTOUserWorkspaceMembershipsResponse = z213.object({
6067
+ membership: z213.array(DTOUserWorkspaceMembership)
6055
6068
  });
6056
- var DTOWorkspaceMembersListResponse = z212.object({
6057
- members: z212.array(DTOWorkspaceMember)
6069
+ var DTOWorkspaceMembersListResponse = z213.object({
6070
+ members: z213.array(DTOWorkspaceMember)
6058
6071
  });
6059
6072
 
6060
6073
  // src/api/dto/bff/app-bootstrap-data.ts
6061
- var DTOAppBootstrapDataQuery = z213.object({
6062
- preferredWorkspaceId: z213.string().optional(),
6063
- preferredDesignSystemId: z213.string().optional(),
6064
- preferredVersionId: z213.string().optional(),
6065
- preferredBrandId: z213.string().optional()
6074
+ var DTOAppBootstrapDataQuery = z214.object({
6075
+ preferredWorkspaceId: z214.string().optional(),
6076
+ preferredDesignSystemId: z214.string().optional(),
6077
+ preferredVersionId: z214.string().optional(),
6078
+ preferredBrandId: z214.string().optional()
6066
6079
  });
6067
- var DTOAppBootstrapDataResponse = z213.object({
6080
+ var DTOAppBootstrapDataResponse = z214.object({
6068
6081
  workspaceMembership: DTOUserWorkspaceMembership.optional(),
6069
6082
  designSystem: DTODesignSystem.optional(),
6070
6083
  version: DTODesignSystemVersion.optional(),
@@ -6072,88 +6085,88 @@ var DTOAppBootstrapDataResponse = z213.object({
6072
6085
  });
6073
6086
 
6074
6087
  // src/api/dto/collections/token-collection.ts
6075
- import { z as z214 } from "zod";
6076
- var DTOTokenCollection = z214.object({
6077
- id: z214.string(),
6078
- persistentId: z214.string(),
6079
- designSystemVersionId: z214.string(),
6088
+ import { z as z215 } from "zod";
6089
+ var DTOTokenCollection = z215.object({
6090
+ id: z215.string(),
6091
+ persistentId: z215.string(),
6092
+ designSystemVersionId: z215.string(),
6080
6093
  meta: ObjectMeta,
6081
6094
  backgroundColor: ColorTokenInlineData.optional(),
6082
- elementPropertyOptionId: z214.string(),
6083
- createdAt: z214.coerce.date(),
6084
- updatedAt: z214.coerce.date(),
6095
+ elementPropertyOptionId: z215.string(),
6096
+ createdAt: z215.coerce.date(),
6097
+ updatedAt: z215.coerce.date(),
6085
6098
  origin: CollectionOrigin.optional()
6086
6099
  });
6087
- var DTOTokenCollectionsListReponse = z214.object({
6100
+ var DTOTokenCollectionsListReponse = z215.object({
6088
6101
  collections: DTOTokenCollection.array()
6089
6102
  });
6090
6103
 
6091
6104
  // src/api/dto/design-tokens/design-token.ts
6092
- import { z as z215 } from "zod";
6105
+ import { z as z216 } from "zod";
6093
6106
  var DTODesignToken = DesignTokenTypedData.and(
6094
- z215.object({
6095
- id: z215.string(),
6096
- persistentId: z215.string(),
6097
- designSystemVersionId: z215.string(),
6107
+ z216.object({
6108
+ id: z216.string(),
6109
+ persistentId: z216.string(),
6110
+ designSystemVersionId: z216.string(),
6098
6111
  meta: ObjectMeta,
6099
6112
  originStyle: DesignTokenOrigin.optional(),
6100
- brandId: z215.string(),
6101
- collectionId: z215.string().optional(),
6102
- updatedAt: z215.coerce.date()
6113
+ brandId: z216.string(),
6114
+ collectionId: z216.string().optional(),
6115
+ updatedAt: z216.coerce.date()
6103
6116
  })
6104
6117
  );
6105
- var DTODesignTokenListResponse = z215.object({
6118
+ var DTODesignTokenListResponse = z216.object({
6106
6119
  tokens: DTODesignToken.array()
6107
6120
  });
6108
- var DTODesignTokenResponse = z215.object({
6121
+ var DTODesignTokenResponse = z216.object({
6109
6122
  token: DTODesignToken
6110
6123
  });
6111
- var DTODesignTokenGroup = z215.object({
6112
- id: z215.string(),
6124
+ var DTODesignTokenGroup = z216.object({
6125
+ id: z216.string(),
6113
6126
  tokenType: DesignTokenType,
6114
- persistentId: z215.string(),
6115
- isRoot: z215.boolean(),
6116
- brandId: z215.string(),
6127
+ persistentId: z216.string(),
6128
+ isRoot: z216.boolean(),
6129
+ brandId: z216.string(),
6117
6130
  meta: ObjectMeta,
6118
- childrenIds: z215.string().array()
6131
+ childrenIds: z216.string().array()
6119
6132
  });
6120
- var DTODesignTokenGroupListResponse = z215.object({
6133
+ var DTODesignTokenGroupListResponse = z216.object({
6121
6134
  groups: DTODesignTokenGroup.array()
6122
6135
  });
6123
- var DTODesignTokenGroupResponse = z215.object({
6136
+ var DTODesignTokenGroupResponse = z216.object({
6124
6137
  group: DTODesignTokenGroup
6125
6138
  });
6126
6139
  var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
6127
- z215.object({
6128
- persistentId: z215.string(),
6140
+ z216.object({
6141
+ persistentId: z216.string(),
6129
6142
  meta: ObjectMeta,
6130
- brandId: z215.string(),
6131
- groupPersistentId: z215.string().optional()
6143
+ brandId: z216.string(),
6144
+ groupPersistentId: z216.string().optional()
6132
6145
  })
6133
6146
  );
6134
- var DTODesignTokenGroupCreatePayload = z215.object({
6135
- persistentId: z215.string(),
6147
+ var DTODesignTokenGroupCreatePayload = z216.object({
6148
+ persistentId: z216.string(),
6136
6149
  meta: ObjectMeta,
6137
- brandId: z215.string(),
6138
- parentId: z215.string().optional(),
6150
+ brandId: z216.string(),
6151
+ parentId: z216.string().optional(),
6139
6152
  tokenType: DesignTokenType,
6140
- childrenIds: z215.string().array()
6153
+ childrenIds: z216.string().array()
6141
6154
  });
6142
6155
 
6143
6156
  // src/api/dto/documentation/anchor.ts
6144
- import { z as z216 } from "zod";
6157
+ import { z as z217 } from "zod";
6145
6158
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
6146
- var DTOGetDocumentationPageAnchorsResponse = z216.object({
6147
- anchors: z216.array(DTODocumentationPageAnchor)
6159
+ var DTOGetDocumentationPageAnchorsResponse = z217.object({
6160
+ anchors: z217.array(DTODocumentationPageAnchor)
6148
6161
  });
6149
6162
 
6150
6163
  // src/api/dto/documentation/approvals.ts
6151
- import { z as z217 } from "zod";
6164
+ import { z as z218 } from "zod";
6152
6165
  var DTODocumentationPageApprovalState = DocumentationPageApproval;
6153
- var DTODocumentationGroupApprovalState = z217.object({
6154
- persistentId: z217.string(),
6155
- groupId: z217.string(),
6156
- designSystemVersionId: z217.string(),
6166
+ var DTODocumentationGroupApprovalState = z218.object({
6167
+ persistentId: z218.string(),
6168
+ groupId: z218.string(),
6169
+ designSystemVersionId: z218.string(),
6157
6170
  approvalState: DocumentationPageApprovalState
6158
6171
  });
6159
6172
 
@@ -6161,68 +6174,68 @@ var DTODocumentationGroupApprovalState = z217.object({
6161
6174
  var DTOPageBlockItemV2 = PageBlockItemV2;
6162
6175
 
6163
6176
  // src/api/dto/documentation/documentation-page-snapshot.ts
6164
- import { z as z222 } from "zod";
6177
+ import { z as z223 } from "zod";
6165
6178
 
6166
6179
  // src/api/dto/elements/documentation/page-v2.ts
6167
- import { z as z221 } from "zod";
6180
+ import { z as z222 } from "zod";
6168
6181
 
6169
6182
  // src/api/dto/elements/documentation/draft-state.ts
6170
- import { z as z219 } from "zod";
6183
+ import { z as z220 } from "zod";
6171
6184
 
6172
6185
  // src/api/dto/elements/documentation/item-configuration-v2.ts
6173
- import { z as z218 } from "zod";
6186
+ import { z as z219 } from "zod";
6174
6187
  var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
6175
- var DTODocumentationItemConfigurationV2 = z218.object({
6176
- showSidebar: z218.boolean(),
6177
- isPrivate: z218.boolean(),
6178
- isHidden: z218.boolean(),
6188
+ var DTODocumentationItemConfigurationV2 = z219.object({
6189
+ showSidebar: z219.boolean(),
6190
+ isPrivate: z219.boolean(),
6191
+ isHidden: z219.boolean(),
6179
6192
  header: DTODocumentationItemHeaderV2
6180
6193
  });
6181
6194
 
6182
6195
  // src/api/dto/elements/documentation/draft-state.ts
6183
- var DTODocumentationDraftChangeType = z219.enum(["Created", "Updated", "Deleted"]);
6184
- var DTODocumentationDraftStateCreated = z219.object({
6185
- changeType: z219.literal(DTODocumentationDraftChangeType.enum.Created)
6186
- });
6187
- var DTODocumentationDraftStateUpdated = z219.object({
6188
- changeType: z219.literal(DTODocumentationDraftChangeType.enum.Updated),
6189
- changes: z219.object({
6190
- previousTitle: z219.string().optional(),
6196
+ var DTODocumentationDraftChangeType = z220.enum(["Created", "Updated", "Deleted"]);
6197
+ var DTODocumentationDraftStateCreated = z220.object({
6198
+ changeType: z220.literal(DTODocumentationDraftChangeType.enum.Created)
6199
+ });
6200
+ var DTODocumentationDraftStateUpdated = z220.object({
6201
+ changeType: z220.literal(DTODocumentationDraftChangeType.enum.Updated),
6202
+ changes: z220.object({
6203
+ previousTitle: z220.string().optional(),
6191
6204
  previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
6192
- previousContentHash: z219.string().optional()
6205
+ previousContentHash: z220.string().optional()
6193
6206
  })
6194
6207
  });
6195
- var DTODocumentationDraftStateDeleted = z219.object({
6196
- changeType: z219.literal(DTODocumentationDraftChangeType.enum.Deleted),
6197
- deletedAt: z219.coerce.date(),
6198
- deletedByUserId: z219.string()
6208
+ var DTODocumentationDraftStateDeleted = z220.object({
6209
+ changeType: z220.literal(DTODocumentationDraftChangeType.enum.Deleted),
6210
+ deletedAt: z220.coerce.date(),
6211
+ deletedByUserId: z220.string()
6199
6212
  });
6200
- var DTODocumentationDraftState = z219.discriminatedUnion("changeType", [
6213
+ var DTODocumentationDraftState = z220.discriminatedUnion("changeType", [
6201
6214
  DTODocumentationDraftStateCreated,
6202
6215
  DTODocumentationDraftStateUpdated,
6203
6216
  DTODocumentationDraftStateDeleted
6204
6217
  ]);
6205
6218
 
6206
6219
  // src/api/dto/elements/documentation/metadata.ts
6207
- import { z as z220 } from "zod";
6208
- var DTODocumentationPublishMetadata = z220.object({
6209
- lastPublishedByUserId: z220.string(),
6210
- lastPublishedAt: z220.coerce.date()
6220
+ import { z as z221 } from "zod";
6221
+ var DTODocumentationPublishMetadata = z221.object({
6222
+ lastPublishedByUserId: z221.string(),
6223
+ lastPublishedAt: z221.coerce.date()
6211
6224
  });
6212
6225
 
6213
6226
  // src/api/dto/elements/documentation/page-v2.ts
6214
- var DTODocumentationPageV2 = z221.object({
6215
- id: z221.string(),
6216
- persistentId: z221.string(),
6217
- designSystemVersionId: z221.string(),
6218
- title: z221.string(),
6227
+ var DTODocumentationPageV2 = z222.object({
6228
+ id: z222.string(),
6229
+ persistentId: z222.string(),
6230
+ designSystemVersionId: z222.string(),
6231
+ title: z222.string(),
6219
6232
  configuration: DTODocumentationItemConfigurationV2,
6220
- shortPersistentId: z221.string(),
6221
- slug: z221.string().optional(),
6222
- userSlug: z221.string().optional(),
6223
- createdAt: z221.coerce.date(),
6224
- updatedAt: z221.coerce.date(),
6225
- path: z221.string(),
6233
+ shortPersistentId: z222.string(),
6234
+ slug: z222.string().optional(),
6235
+ userSlug: z222.string().optional(),
6236
+ createdAt: z222.coerce.date(),
6237
+ updatedAt: z222.coerce.date(),
6238
+ path: z222.string(),
6226
6239
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6227
6240
  draftState: DTODocumentationDraftState.optional(),
6228
6241
  /** Defined if a page was published at least once and contains metadata about last publish */
@@ -6230,218 +6243,218 @@ var DTODocumentationPageV2 = z221.object({
6230
6243
  /** Defines the approval state of the documentation page */
6231
6244
  approvalState: DTODocumentationPageApprovalState.optional(),
6232
6245
  // Backward compatibility
6233
- type: z221.literal("Page")
6246
+ type: z222.literal("Page")
6234
6247
  });
6235
- var DTOCreateDocumentationPageInputV2 = z221.object({
6248
+ var DTOCreateDocumentationPageInputV2 = z222.object({
6236
6249
  // Identifier
6237
- persistentId: z221.string(),
6250
+ persistentId: z222.string(),
6238
6251
  // Page properties
6239
- title: z221.string(),
6252
+ title: z222.string(),
6240
6253
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6241
6254
  // Page placement properties
6242
- parentPersistentId: z221.string(),
6243
- afterPersistentId: z221.string().nullish()
6255
+ parentPersistentId: z222.string(),
6256
+ afterPersistentId: z222.string().nullish()
6244
6257
  });
6245
- var DTOUpdateDocumentationPageInputV2 = z221.object({
6258
+ var DTOUpdateDocumentationPageInputV2 = z222.object({
6246
6259
  // Identifier of the group to update
6247
- id: z221.string(),
6260
+ id: z222.string(),
6248
6261
  // Page properties
6249
- title: z221.string().optional(),
6262
+ title: z222.string().optional(),
6250
6263
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
6251
6264
  });
6252
- var DTOMoveDocumentationPageInputV2 = z221.object({
6265
+ var DTOMoveDocumentationPageInputV2 = z222.object({
6253
6266
  // Identifier of the group to update
6254
- id: z221.string(),
6267
+ id: z222.string(),
6255
6268
  // Page placement properties
6256
- parentPersistentId: z221.string(),
6257
- afterPersistentId: z221.string().nullish()
6269
+ parentPersistentId: z222.string(),
6270
+ afterPersistentId: z222.string().nullish()
6258
6271
  });
6259
- var DTODuplicateDocumentationPageInputV2 = z221.object({
6272
+ var DTODuplicateDocumentationPageInputV2 = z222.object({
6260
6273
  // Identifier of the page to duplicate from
6261
- id: z221.string(),
6274
+ id: z222.string(),
6262
6275
  // New page persistent id
6263
- persistentId: z221.string(),
6276
+ persistentId: z222.string(),
6264
6277
  // Page placement properties
6265
- parentPersistentId: z221.string(),
6266
- afterPersistentId: z221.string().nullish()
6278
+ parentPersistentId: z222.string(),
6279
+ afterPersistentId: z222.string().nullish()
6267
6280
  });
6268
- var DTODeleteDocumentationPageInputV2 = z221.object({
6281
+ var DTODeleteDocumentationPageInputV2 = z222.object({
6269
6282
  // Identifier
6270
- id: z221.string()
6283
+ id: z222.string()
6271
6284
  });
6272
- var DTORestoreDocumentationPageInput = z221.object({
6273
- persistentId: z221.string(),
6274
- snapshotId: z221.string().optional()
6285
+ var DTORestoreDocumentationPageInput = z222.object({
6286
+ persistentId: z222.string(),
6287
+ snapshotId: z222.string().optional()
6275
6288
  });
6276
- var DTORestoreDocumentationGroupInput = z221.object({
6277
- persistentId: z221.string(),
6278
- snapshotId: z221.string().optional()
6289
+ var DTORestoreDocumentationGroupInput = z222.object({
6290
+ persistentId: z222.string(),
6291
+ snapshotId: z222.string().optional()
6279
6292
  });
6280
- var DTODocumentationPageApprovalStateChangeInput = z221.object({
6281
- persistentId: z221.string(),
6293
+ var DTODocumentationPageApprovalStateChangeInput = z222.object({
6294
+ persistentId: z222.string(),
6282
6295
  approvalState: DocumentationPageApprovalState.optional()
6283
6296
  });
6284
6297
 
6285
6298
  // src/api/dto/documentation/documentation-page-snapshot.ts
6286
- var DTODocumentationPageSnapshot = z222.object({
6287
- id: z222.string(),
6288
- designSystemVersionId: z222.string(),
6289
- createdAt: z222.string(),
6290
- updatedAt: z222.string(),
6299
+ var DTODocumentationPageSnapshot = z223.object({
6300
+ id: z223.string(),
6301
+ designSystemVersionId: z223.string(),
6302
+ createdAt: z223.string(),
6303
+ updatedAt: z223.string(),
6291
6304
  documentationPage: DTODocumentationPageV2,
6292
- pageContentHash: z222.string(),
6305
+ pageContentHash: z223.string(),
6293
6306
  reason: DesignElementSnapshotReason
6294
6307
  });
6295
6308
 
6296
6309
  // src/api/dto/documentation/link-preview.ts
6297
- import { z as z223 } from "zod";
6298
- var DTODocumentationLinkPreviewResponse = z223.object({
6310
+ import { z as z224 } from "zod";
6311
+ var DTODocumentationLinkPreviewResponse = z224.object({
6299
6312
  linkPreview: DocumentationLinkPreview
6300
6313
  });
6301
- var DTODocumentationLinkPreviewRequest = z223.object({
6302
- url: z223.string().optional(),
6303
- documentationItemPersistentId: z223.string().optional()
6314
+ var DTODocumentationLinkPreviewRequest = z224.object({
6315
+ url: z224.string().optional(),
6316
+ documentationItemPersistentId: z224.string().optional()
6304
6317
  });
6305
6318
 
6306
6319
  // src/api/dto/documentation/publish.ts
6307
- import { z as z227 } from "zod";
6320
+ import { z as z228 } from "zod";
6308
6321
 
6309
6322
  // src/api/dto/export/exporter.ts
6310
- import { z as z224 } from "zod";
6311
- var DTOExporterType = z224.enum(["documentation", "code"]);
6312
- var DTOExporterSource = z224.enum(["git", "upload"]);
6313
- var DTOExporterMembershipRole = z224.enum(["Owner", "OwnerArchived", "User"]);
6314
- var DTOExporterListQuery = z224.object({
6315
- limit: z224.coerce.number().optional()
6316
- });
6317
- var DTOExporter = z224.object({
6318
- id: z224.string(),
6319
- name: z224.string(),
6320
- isPrivate: z224.boolean(),
6323
+ import { z as z225 } from "zod";
6324
+ var DTOExporterType = z225.enum(["documentation", "code"]);
6325
+ var DTOExporterSource = z225.enum(["git", "upload"]);
6326
+ var DTOExporterMembershipRole = z225.enum(["Owner", "OwnerArchived", "User"]);
6327
+ var DTOExporterListQuery = z225.object({
6328
+ limit: z225.coerce.number().optional()
6329
+ });
6330
+ var DTOExporter = z225.object({
6331
+ id: z225.string(),
6332
+ name: z225.string(),
6333
+ isPrivate: z225.boolean(),
6321
6334
  exporterType: DTOExporterType,
6322
- isDefaultDocumentationExporter: z224.boolean(),
6323
- iconURL: z224.string().optional(),
6335
+ isDefaultDocumentationExporter: z225.boolean(),
6336
+ iconURL: z225.string().optional(),
6324
6337
  configurationProperties: PulsarContributionConfigurationProperty.array(),
6325
6338
  properties: DTOExporterPropertyDefinition.array().optional(),
6326
6339
  customBlocks: PulsarCustomBlock.array(),
6327
- blockVariants: z224.record(z224.string(), PulsarContributionVariant.array()),
6328
- usesBrands: z224.boolean(),
6329
- usesThemes: z224.boolean(),
6340
+ blockVariants: z225.record(z225.string(), PulsarContributionVariant.array()),
6341
+ usesBrands: z225.boolean(),
6342
+ usesThemes: z225.boolean(),
6330
6343
  source: DTOExporterSource,
6331
- gitUrl: nullishToOptional(z224.string()),
6332
- gitBranch: nullishToOptional(z224.string()),
6333
- gitDirectory: nullishToOptional(z224.string())
6344
+ gitUrl: nullishToOptional(z225.string()),
6345
+ gitBranch: nullishToOptional(z225.string()),
6346
+ gitDirectory: nullishToOptional(z225.string())
6334
6347
  });
6335
- var DTOExporterMembership = z224.object({
6336
- workspaceId: z224.string(),
6337
- exporterId: z224.string(),
6348
+ var DTOExporterMembership = z225.object({
6349
+ workspaceId: z225.string(),
6350
+ exporterId: z225.string(),
6338
6351
  role: DTOExporterMembershipRole
6339
6352
  });
6340
- var DTOExporterCreateOutput = z224.object({
6353
+ var DTOExporterCreateOutput = z225.object({
6341
6354
  exporter: DTOExporter,
6342
6355
  membership: DTOExporterMembership
6343
6356
  });
6344
- var DTOExporterListResponse = z224.object({
6357
+ var DTOExporterListResponse = z225.object({
6345
6358
  exporters: DTOExporter.array(),
6346
6359
  membership: DTOExporterMembership.array()
6347
6360
  });
6348
- var DTOExporterGitProviderEnum = z224.enum(["github", "gitlab", "bitbucket", "azure"]);
6349
- var DTOExporterCreateInput = z224.object({
6350
- url: z224.string(),
6361
+ var DTOExporterGitProviderEnum = z225.enum(["github", "gitlab", "bitbucket", "azure"]);
6362
+ var DTOExporterCreateInput = z225.object({
6363
+ url: z225.string(),
6351
6364
  provider: DTOExporterGitProviderEnum
6352
6365
  });
6353
- var DTOExporterUpdateInput = z224.object({
6354
- url: z224.string().optional()
6366
+ var DTOExporterUpdateInput = z225.object({
6367
+ url: z225.string().optional()
6355
6368
  });
6356
6369
 
6357
6370
  // src/api/dto/export/filter.ts
6358
6371
  var DTOExportJobsListFilter = ExportJobFindByFilter;
6359
6372
 
6360
6373
  // src/api/dto/export/job.ts
6361
- import { z as z225 } from "zod";
6362
- var DTOExportJobCreatedBy = z225.object({
6363
- userId: z225.string(),
6364
- userName: z225.string()
6374
+ import { z as z226 } from "zod";
6375
+ var DTOExportJobCreatedBy = z226.object({
6376
+ userId: z226.string(),
6377
+ userName: z226.string()
6365
6378
  });
6366
- var DTOExportJobDesignSystemPreview = z225.object({
6367
- id: z225.string(),
6379
+ var DTOExportJobDesignSystemPreview = z226.object({
6380
+ id: z226.string(),
6368
6381
  meta: ObjectMeta
6369
6382
  });
6370
- var DTOExportJobDesignSystemVersionPreview = z225.object({
6371
- id: z225.string(),
6383
+ var DTOExportJobDesignSystemVersionPreview = z226.object({
6384
+ id: z226.string(),
6372
6385
  meta: ObjectMeta,
6373
- version: z225.string(),
6374
- isReadonly: z225.boolean()
6386
+ version: z226.string(),
6387
+ isReadonly: z226.boolean()
6375
6388
  });
6376
- var DTOExportJobDestinations = z225.object({
6389
+ var DTOExportJobDestinations = z226.object({
6377
6390
  s3: ExporterDestinationS3.optional(),
6378
6391
  azure: ExporterDestinationAzure.optional(),
6379
6392
  bitbucket: ExporterDestinationBitbucket.optional(),
6380
6393
  github: ExporterDestinationGithub.optional(),
6381
6394
  gitlab: ExporterDestinationGitlab.optional(),
6382
6395
  documentation: ExporterDestinationDocs.optional(),
6383
- webhookUrl: z225.string().optional()
6396
+ webhookUrl: z226.string().optional()
6384
6397
  });
6385
6398
  var DTOExportJobResult = ExportJobResult.omit({
6386
6399
  sndocs: true
6387
6400
  }).extend({
6388
6401
  documentation: ExportJobDocsDestinationResult.optional()
6389
6402
  });
6390
- var DTOExportJob = z225.object({
6391
- id: z225.string(),
6392
- createdAt: z225.coerce.date(),
6393
- finishedAt: z225.coerce.date().optional(),
6394
- index: z225.number().optional(),
6403
+ var DTOExportJob = z226.object({
6404
+ id: z226.string(),
6405
+ createdAt: z226.coerce.date(),
6406
+ finishedAt: z226.coerce.date().optional(),
6407
+ index: z226.number().optional(),
6395
6408
  status: ExportJobStatus,
6396
- estimatedExecutionTime: z225.number().optional(),
6409
+ estimatedExecutionTime: z226.number().optional(),
6397
6410
  createdBy: DTOExportJobCreatedBy.optional(),
6398
6411
  designSystem: DTOExportJobDesignSystemPreview,
6399
6412
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
6400
6413
  destinations: DTOExportJobDestinations,
6401
- exporterId: z225.string(),
6402
- scheduleId: z225.string().optional(),
6414
+ exporterId: z226.string(),
6415
+ scheduleId: z226.string().optional(),
6403
6416
  result: DTOExportJobResult.optional(),
6404
- brandPersistentId: z225.string().optional(),
6405
- themePersistentId: z225.string().optional(),
6406
- themePersistentIds: z225.string().array().optional(),
6417
+ brandPersistentId: z226.string().optional(),
6418
+ themePersistentId: z226.string().optional(),
6419
+ themePersistentIds: z226.string().array().optional(),
6407
6420
  exporterConfiguration: DTOExporterPropertyDefinitionValueMap.optional()
6408
6421
  });
6409
- var DTOExportJobResponse = z225.object({
6422
+ var DTOExportJobResponse = z226.object({
6410
6423
  job: DTOExportJob
6411
6424
  });
6412
6425
 
6413
6426
  // src/api/dto/export/pipeline.ts
6414
- import { z as z226 } from "zod";
6415
- var DTOPipelineListQuery = z226.object({
6416
- designSystemId: z226.string().optional(),
6417
- exporterId: z226.string().optional(),
6418
- latestJobsLimit: z226.coerce.number().optional()
6419
- });
6420
- var DTOPipeline = z226.object({
6421
- id: z226.string(),
6422
- name: z226.string(),
6427
+ import { z as z227 } from "zod";
6428
+ var DTOPipelineListQuery = z227.object({
6429
+ designSystemId: z227.string().optional(),
6430
+ exporterId: z227.string().optional(),
6431
+ latestJobsLimit: z227.coerce.number().optional()
6432
+ });
6433
+ var DTOPipeline = z227.object({
6434
+ id: z227.string(),
6435
+ name: z227.string(),
6423
6436
  eventType: PipelineEventType,
6424
- isEnabled: z226.boolean(),
6425
- workspaceId: z226.string(),
6426
- designSystemId: z226.string(),
6427
- exporterId: z226.string(),
6428
- brandPersistentId: z226.string().optional(),
6429
- themePersistentId: z226.string().optional(),
6430
- themePersistentIds: z226.string().array().optional(),
6437
+ isEnabled: z227.boolean(),
6438
+ workspaceId: z227.string(),
6439
+ designSystemId: z227.string(),
6440
+ exporterId: z227.string(),
6441
+ brandPersistentId: z227.string().optional(),
6442
+ themePersistentId: z227.string().optional(),
6443
+ themePersistentIds: z227.string().array().optional(),
6431
6444
  exporterConfiguration: DTOExporterPropertyDefinitionValueMap.optional(),
6432
6445
  ...ExportDestinationsMap.shape,
6433
6446
  latestJobs: DTOExportJob.array()
6434
6447
  });
6435
- var DTOPipelineListResponse = z226.object({
6448
+ var DTOPipelineListResponse = z227.object({
6436
6449
  pipelines: DTOPipeline.array()
6437
6450
  });
6438
- var DTOPipelineResponse = z226.object({
6451
+ var DTOPipelineResponse = z227.object({
6439
6452
  pipeline: DTOPipeline
6440
6453
  });
6441
6454
 
6442
6455
  // src/api/dto/documentation/publish.ts
6443
6456
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
6444
- var DTOPublishDocumentationRequest = z227.object({
6457
+ var DTOPublishDocumentationRequest = z228.object({
6445
6458
  environment: PublishedDocEnvironment,
6446
6459
  /**
6447
6460
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -6449,57 +6462,57 @@ var DTOPublishDocumentationRequest = z227.object({
6449
6462
  */
6450
6463
  changes: DTOPublishDocumentationChanges.optional()
6451
6464
  });
6452
- var DTOPublishDocumentationResponse = z227.object({
6465
+ var DTOPublishDocumentationResponse = z228.object({
6453
6466
  job: DTOExportJob
6454
6467
  });
6455
6468
 
6456
6469
  // src/api/dto/elements/components/figma-component-group.ts
6457
- import z228 from "zod";
6458
- var DTOFigmaComponentGroup = z228.object({
6459
- id: z228.string(),
6460
- designSystemVersionId: z228.string(),
6461
- persistentId: z228.string(),
6462
- isRoot: z228.boolean(),
6463
- brandId: z228.string(),
6470
+ import z229 from "zod";
6471
+ var DTOFigmaComponentGroup = z229.object({
6472
+ id: z229.string(),
6473
+ designSystemVersionId: z229.string(),
6474
+ persistentId: z229.string(),
6475
+ isRoot: z229.boolean(),
6476
+ brandId: z229.string(),
6464
6477
  meta: DTOObjectMeta,
6465
- childrenIds: z228.string().array()
6478
+ childrenIds: z229.string().array()
6466
6479
  });
6467
- var DTOFigmaComponentGroupListResponse = z228.object({
6480
+ var DTOFigmaComponentGroupListResponse = z229.object({
6468
6481
  groups: DTOFigmaComponentGroup.array()
6469
6482
  });
6470
6483
 
6471
6484
  // src/api/dto/elements/components/figma-component.ts
6472
- import { z as z229 } from "zod";
6485
+ import { z as z230 } from "zod";
6473
6486
  var DTOFigmaComponentProperty = FigmaComponentProperty;
6474
- var DTOFigmaComponentPropertyMap = z229.record(DTOFigmaComponentProperty);
6475
- var DTOFigmaComponent = z229.object({
6476
- id: z229.string(),
6477
- persistentId: z229.string(),
6478
- designSystemVersionId: z229.string(),
6479
- brandId: z229.string(),
6480
- thumbnailUrl: z229.string().optional(),
6481
- svgUrl: z229.string().optional(),
6482
- exportProperties: z229.object({
6483
- isAsset: z229.boolean()
6487
+ var DTOFigmaComponentPropertyMap = z230.record(DTOFigmaComponentProperty);
6488
+ var DTOFigmaComponent = z230.object({
6489
+ id: z230.string(),
6490
+ persistentId: z230.string(),
6491
+ designSystemVersionId: z230.string(),
6492
+ brandId: z230.string(),
6493
+ thumbnailUrl: z230.string().optional(),
6494
+ svgUrl: z230.string().optional(),
6495
+ exportProperties: z230.object({
6496
+ isAsset: z230.boolean()
6484
6497
  }),
6485
- createdAt: z229.coerce.date(),
6486
- updatedAt: z229.coerce.date(),
6498
+ createdAt: z230.coerce.date(),
6499
+ updatedAt: z230.coerce.date(),
6487
6500
  meta: ObjectMeta,
6488
6501
  originComponent: FigmaComponentOrigin.optional(),
6489
- parentComponentPersistentId: z229.string().optional(),
6490
- childrenPersistentIds: z229.string().array().optional(),
6502
+ parentComponentPersistentId: z230.string().optional(),
6503
+ childrenPersistentIds: z230.string().array().optional(),
6491
6504
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
6492
- variantPropertyValues: z229.record(z229.string()).optional()
6505
+ variantPropertyValues: z230.record(z230.string()).optional()
6493
6506
  });
6494
- var DTOFigmaComponentListResponse = z229.object({
6507
+ var DTOFigmaComponentListResponse = z230.object({
6495
6508
  components: DTOFigmaComponent.array()
6496
6509
  });
6497
6510
 
6498
6511
  // src/api/dto/elements/documentation/group-action.ts
6499
- import { z as z231 } from "zod";
6512
+ import { z as z232 } from "zod";
6500
6513
 
6501
6514
  // src/api/dto/elements/documentation/group-v2.ts
6502
- import { z as z230 } from "zod";
6515
+ import { z as z231 } from "zod";
6503
6516
  var DTODocumentationGroupV2 = ElementGroup.omit({
6504
6517
  sortOrder: true,
6505
6518
  parentPersistentId: true,
@@ -6509,13 +6522,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6509
6522
  data: true,
6510
6523
  shortPersistentId: true
6511
6524
  }).extend({
6512
- title: z230.string(),
6513
- isRoot: z230.boolean(),
6514
- childrenIds: z230.array(z230.string()),
6525
+ title: z231.string(),
6526
+ isRoot: z231.boolean(),
6527
+ childrenIds: z231.array(z231.string()),
6515
6528
  groupBehavior: DocumentationGroupBehavior,
6516
- shortPersistentId: z230.string(),
6529
+ shortPersistentId: z231.string(),
6517
6530
  configuration: DTODocumentationItemConfigurationV2,
6518
- type: z230.literal("Group"),
6531
+ type: z231.literal("Group"),
6519
6532
  /** Defined when a group has changed since last publish and can be included into a partial publish */
6520
6533
  draftState: DTODocumentationDraftState.optional(),
6521
6534
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -6523,127 +6536,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6523
6536
  //** An approval state for frontend to utilize. */
6524
6537
  approvalState: DTODocumentationGroupApprovalState.optional()
6525
6538
  });
6526
- var DTOCreateDocumentationGroupInput = z230.object({
6539
+ var DTOCreateDocumentationGroupInput = z231.object({
6527
6540
  // Identifier
6528
- persistentId: z230.string(),
6541
+ persistentId: z231.string(),
6529
6542
  // Group properties
6530
- title: z230.string(),
6543
+ title: z231.string(),
6531
6544
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6532
6545
  // Group placement properties
6533
- afterPersistentId: z230.string().nullish(),
6534
- parentPersistentId: z230.string()
6546
+ afterPersistentId: z231.string().nullish(),
6547
+ parentPersistentId: z231.string()
6535
6548
  });
6536
- var DTOUpdateDocumentationGroupInput = z230.object({
6549
+ var DTOUpdateDocumentationGroupInput = z231.object({
6537
6550
  // Identifier of the group to update
6538
- id: z230.string(),
6551
+ id: z231.string(),
6539
6552
  // Group properties
6540
- title: z230.string().optional(),
6553
+ title: z231.string().optional(),
6541
6554
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
6542
6555
  });
6543
- var DTOMoveDocumentationGroupInput = z230.object({
6556
+ var DTOMoveDocumentationGroupInput = z231.object({
6544
6557
  // Identifier of the group to update
6545
- id: z230.string(),
6558
+ id: z231.string(),
6546
6559
  // Group placement properties
6547
- parentPersistentId: z230.string(),
6548
- afterPersistentId: z230.string().nullish()
6560
+ parentPersistentId: z231.string(),
6561
+ afterPersistentId: z231.string().nullish()
6549
6562
  });
6550
- var DTODuplicateDocumentationGroupInput = z230.object({
6563
+ var DTODuplicateDocumentationGroupInput = z231.object({
6551
6564
  // Identifier of the group to duplicate from
6552
- id: z230.string(),
6565
+ id: z231.string(),
6553
6566
  // New group persistent id
6554
- persistentId: z230.string(),
6567
+ persistentId: z231.string(),
6555
6568
  // Group placement properties
6556
- afterPersistentId: z230.string().nullish(),
6557
- parentPersistentId: z230.string()
6569
+ afterPersistentId: z231.string().nullish(),
6570
+ parentPersistentId: z231.string()
6558
6571
  });
6559
- var DTOCreateDocumentationTabInput = z230.object({
6572
+ var DTOCreateDocumentationTabInput = z231.object({
6560
6573
  // New group persistent id
6561
- persistentId: z230.string(),
6574
+ persistentId: z231.string(),
6562
6575
  // If this is page, we will attempt to convert it to tab
6563
6576
  // If this is tab group, we will add a new tab to it
6564
- fromItemPersistentId: z230.string(),
6565
- tabName: z230.string()
6577
+ fromItemPersistentId: z231.string(),
6578
+ tabName: z231.string()
6566
6579
  });
6567
- var DTODeleteDocumentationTabGroupInput = z230.object({
6580
+ var DTODeleteDocumentationTabGroupInput = z231.object({
6568
6581
  // Deleted group id
6569
- id: z230.string()
6582
+ id: z231.string()
6570
6583
  });
6571
- var DTODeleteDocumentationGroupInput = z230.object({
6584
+ var DTODeleteDocumentationGroupInput = z231.object({
6572
6585
  // Identifier
6573
- id: z230.string(),
6586
+ id: z231.string(),
6574
6587
  // Deletion options
6575
- deleteSubtree: z230.boolean().default(false)
6588
+ deleteSubtree: z231.boolean().default(false)
6576
6589
  });
6577
6590
 
6578
6591
  // src/api/dto/elements/documentation/group-action.ts
6579
- var SuccessPayload = z231.object({
6580
- success: z231.literal(true)
6592
+ var SuccessPayload = z232.object({
6593
+ success: z232.literal(true)
6581
6594
  });
6582
- var DTODocumentationGroupCreateActionOutputV2 = z231.object({
6583
- type: z231.literal("DocumentationGroupCreate"),
6595
+ var DTODocumentationGroupCreateActionOutputV2 = z232.object({
6596
+ type: z232.literal("DocumentationGroupCreate"),
6584
6597
  output: SuccessPayload
6585
6598
  });
6586
- var DTODocumentationTabCreateActionOutputV2 = z231.object({
6587
- type: z231.literal("DocumentationTabCreate"),
6599
+ var DTODocumentationTabCreateActionOutputV2 = z232.object({
6600
+ type: z232.literal("DocumentationTabCreate"),
6588
6601
  output: SuccessPayload
6589
6602
  });
6590
- var DTODocumentationGroupUpdateActionOutputV2 = z231.object({
6591
- type: z231.literal("DocumentationGroupUpdate"),
6603
+ var DTODocumentationGroupUpdateActionOutputV2 = z232.object({
6604
+ type: z232.literal("DocumentationGroupUpdate"),
6592
6605
  output: SuccessPayload
6593
6606
  });
6594
- var DTODocumentationGroupMoveActionOutputV2 = z231.object({
6595
- type: z231.literal("DocumentationGroupMove"),
6607
+ var DTODocumentationGroupMoveActionOutputV2 = z232.object({
6608
+ type: z232.literal("DocumentationGroupMove"),
6596
6609
  output: SuccessPayload
6597
6610
  });
6598
- var DTODocumentationGroupDuplicateActionOutputV2 = z231.object({
6599
- type: z231.literal("DocumentationGroupDuplicate"),
6611
+ var DTODocumentationGroupDuplicateActionOutputV2 = z232.object({
6612
+ type: z232.literal("DocumentationGroupDuplicate"),
6600
6613
  output: SuccessPayload
6601
6614
  });
6602
- var DTODocumentationGroupDeleteActionOutputV2 = z231.object({
6603
- type: z231.literal("DocumentationGroupDelete"),
6615
+ var DTODocumentationGroupDeleteActionOutputV2 = z232.object({
6616
+ type: z232.literal("DocumentationGroupDelete"),
6604
6617
  output: SuccessPayload
6605
6618
  });
6606
- var DTODocumentationTabGroupDeleteActionOutputV2 = z231.object({
6607
- type: z231.literal("DocumentationTabGroupDelete"),
6619
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z232.object({
6620
+ type: z232.literal("DocumentationTabGroupDelete"),
6608
6621
  output: SuccessPayload
6609
6622
  });
6610
- var DTODocumentationGroupCreateActionInputV2 = z231.object({
6611
- type: z231.literal("DocumentationGroupCreate"),
6623
+ var DTODocumentationGroupCreateActionInputV2 = z232.object({
6624
+ type: z232.literal("DocumentationGroupCreate"),
6612
6625
  input: DTOCreateDocumentationGroupInput
6613
6626
  });
6614
- var DTODocumentationTabCreateActionInputV2 = z231.object({
6615
- type: z231.literal("DocumentationTabCreate"),
6627
+ var DTODocumentationTabCreateActionInputV2 = z232.object({
6628
+ type: z232.literal("DocumentationTabCreate"),
6616
6629
  input: DTOCreateDocumentationTabInput
6617
6630
  });
6618
- var DTODocumentationGroupUpdateActionInputV2 = z231.object({
6619
- type: z231.literal("DocumentationGroupUpdate"),
6631
+ var DTODocumentationGroupUpdateActionInputV2 = z232.object({
6632
+ type: z232.literal("DocumentationGroupUpdate"),
6620
6633
  input: DTOUpdateDocumentationGroupInput
6621
6634
  });
6622
- var DTODocumentationGroupMoveActionInputV2 = z231.object({
6623
- type: z231.literal("DocumentationGroupMove"),
6635
+ var DTODocumentationGroupMoveActionInputV2 = z232.object({
6636
+ type: z232.literal("DocumentationGroupMove"),
6624
6637
  input: DTOMoveDocumentationGroupInput
6625
6638
  });
6626
- var DTODocumentationGroupDuplicateActionInputV2 = z231.object({
6627
- type: z231.literal("DocumentationGroupDuplicate"),
6639
+ var DTODocumentationGroupDuplicateActionInputV2 = z232.object({
6640
+ type: z232.literal("DocumentationGroupDuplicate"),
6628
6641
  input: DTODuplicateDocumentationGroupInput
6629
6642
  });
6630
- var DTODocumentationGroupDeleteActionInputV2 = z231.object({
6631
- type: z231.literal("DocumentationGroupDelete"),
6643
+ var DTODocumentationGroupDeleteActionInputV2 = z232.object({
6644
+ type: z232.literal("DocumentationGroupDelete"),
6632
6645
  input: DTODeleteDocumentationGroupInput
6633
6646
  });
6634
- var DTODocumentationTabGroupDeleteActionInputV2 = z231.object({
6635
- type: z231.literal("DocumentationTabGroupDelete"),
6647
+ var DTODocumentationTabGroupDeleteActionInputV2 = z232.object({
6648
+ type: z232.literal("DocumentationTabGroupDelete"),
6636
6649
  input: DTODeleteDocumentationTabGroupInput
6637
6650
  });
6638
6651
 
6639
6652
  // src/api/dto/elements/documentation/group-v1.ts
6640
- import { z as z233 } from "zod";
6653
+ import { z as z234 } from "zod";
6641
6654
 
6642
6655
  // src/api/dto/elements/documentation/item-configuration-v1.ts
6643
- import { z as z232 } from "zod";
6644
- var DocumentationColorV1 = z232.object({
6645
- aliasTo: z232.string().optional(),
6646
- value: z232.string().optional()
6656
+ import { z as z233 } from "zod";
6657
+ var DocumentationColorV1 = z233.object({
6658
+ aliasTo: z233.string().optional(),
6659
+ value: z233.string().optional()
6647
6660
  });
6648
6661
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6649
6662
  foregroundColor: true,
@@ -6652,10 +6665,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6652
6665
  foregroundColor: DocumentationColorV1.optional(),
6653
6666
  backgroundColor: DocumentationColorV1.optional()
6654
6667
  });
6655
- var DTODocumentationItemConfigurationV1 = z232.object({
6656
- showSidebar: z232.boolean(),
6657
- isPrivate: z232.boolean(),
6658
- isHidden: z232.boolean(),
6668
+ var DTODocumentationItemConfigurationV1 = z233.object({
6669
+ showSidebar: z233.boolean(),
6670
+ isPrivate: z233.boolean(),
6671
+ isHidden: z233.boolean(),
6659
6672
  header: DTODocumentationItemHeaderV1
6660
6673
  });
6661
6674
 
@@ -6669,27 +6682,27 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
6669
6682
  data: true,
6670
6683
  shortPersistentId: true
6671
6684
  }).extend({
6672
- title: z233.string(),
6673
- isRoot: z233.boolean(),
6674
- childrenIds: z233.array(z233.string()),
6685
+ title: z234.string(),
6686
+ isRoot: z234.boolean(),
6687
+ childrenIds: z234.array(z234.string()),
6675
6688
  groupBehavior: DocumentationGroupBehavior,
6676
- shortPersistentId: z233.string(),
6677
- type: z233.literal("Group")
6689
+ shortPersistentId: z234.string(),
6690
+ type: z234.literal("Group")
6678
6691
  });
6679
6692
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
6680
6693
  configuration: DTODocumentationItemConfigurationV1
6681
6694
  });
6682
6695
 
6683
6696
  // src/api/dto/elements/documentation/hierarchy.ts
6684
- import { z as z234 } from "zod";
6685
- var DTODocumentationHierarchyV2 = z234.object({
6686
- pages: z234.array(
6697
+ import { z as z235 } from "zod";
6698
+ var DTODocumentationHierarchyV2 = z235.object({
6699
+ pages: z235.array(
6687
6700
  DTODocumentationPageV2.extend({
6688
6701
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6689
6702
  draftState: DTODocumentationDraftState.optional()
6690
6703
  })
6691
6704
  ),
6692
- groups: z234.array(
6705
+ groups: z235.array(
6693
6706
  DTODocumentationGroupV2.extend({
6694
6707
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6695
6708
  draftState: DTODocumentationDraftState.optional()
@@ -6698,84 +6711,84 @@ var DTODocumentationHierarchyV2 = z234.object({
6698
6711
  });
6699
6712
 
6700
6713
  // src/api/dto/elements/documentation/page-actions-v2.ts
6701
- import { z as z235 } from "zod";
6702
- var SuccessPayload2 = z235.object({
6703
- success: z235.literal(true)
6714
+ import { z as z236 } from "zod";
6715
+ var SuccessPayload2 = z236.object({
6716
+ success: z236.literal(true)
6704
6717
  });
6705
- var DTODocumentationPageCreateActionOutputV2 = z235.object({
6706
- type: z235.literal("DocumentationPageCreate"),
6718
+ var DTODocumentationPageCreateActionOutputV2 = z236.object({
6719
+ type: z236.literal("DocumentationPageCreate"),
6707
6720
  output: SuccessPayload2
6708
6721
  });
6709
- var DTODocumentationPageUpdateActionOutputV2 = z235.object({
6710
- type: z235.literal("DocumentationPageUpdate"),
6722
+ var DTODocumentationPageUpdateActionOutputV2 = z236.object({
6723
+ type: z236.literal("DocumentationPageUpdate"),
6711
6724
  output: SuccessPayload2
6712
6725
  });
6713
- var DTODocumentationPageMoveActionOutputV2 = z235.object({
6714
- type: z235.literal("DocumentationPageMove"),
6726
+ var DTODocumentationPageMoveActionOutputV2 = z236.object({
6727
+ type: z236.literal("DocumentationPageMove"),
6715
6728
  output: SuccessPayload2
6716
6729
  });
6717
- var DTODocumentationPageDuplicateActionOutputV2 = z235.object({
6718
- type: z235.literal("DocumentationPageDuplicate"),
6730
+ var DTODocumentationPageDuplicateActionOutputV2 = z236.object({
6731
+ type: z236.literal("DocumentationPageDuplicate"),
6719
6732
  output: SuccessPayload2
6720
6733
  });
6721
- var DTODocumentationPageDeleteActionOutputV2 = z235.object({
6722
- type: z235.literal("DocumentationPageDelete"),
6734
+ var DTODocumentationPageDeleteActionOutputV2 = z236.object({
6735
+ type: z236.literal("DocumentationPageDelete"),
6723
6736
  output: SuccessPayload2
6724
6737
  });
6725
- var DTODocumentationPageRestoreActionOutput = z235.object({
6726
- type: z235.literal("DocumentationPageRestore"),
6738
+ var DTODocumentationPageRestoreActionOutput = z236.object({
6739
+ type: z236.literal("DocumentationPageRestore"),
6727
6740
  output: SuccessPayload2
6728
6741
  });
6729
- var DTODocumentationGroupRestoreActionOutput = z235.object({
6730
- type: z235.literal("DocumentationGroupRestore"),
6742
+ var DTODocumentationGroupRestoreActionOutput = z236.object({
6743
+ type: z236.literal("DocumentationGroupRestore"),
6731
6744
  output: SuccessPayload2
6732
6745
  });
6733
- var DTODocumentationPageApprovalStateChangeActionOutput = z235.object({
6734
- type: z235.literal("DocumentationPageApprovalStateChange"),
6746
+ var DTODocumentationPageApprovalStateChangeActionOutput = z236.object({
6747
+ type: z236.literal("DocumentationPageApprovalStateChange"),
6735
6748
  output: SuccessPayload2
6736
6749
  });
6737
- var DTODocumentationPageCreateActionInputV2 = z235.object({
6738
- type: z235.literal("DocumentationPageCreate"),
6750
+ var DTODocumentationPageCreateActionInputV2 = z236.object({
6751
+ type: z236.literal("DocumentationPageCreate"),
6739
6752
  input: DTOCreateDocumentationPageInputV2
6740
6753
  });
6741
- var DTODocumentationPageUpdateActionInputV2 = z235.object({
6742
- type: z235.literal("DocumentationPageUpdate"),
6754
+ var DTODocumentationPageUpdateActionInputV2 = z236.object({
6755
+ type: z236.literal("DocumentationPageUpdate"),
6743
6756
  input: DTOUpdateDocumentationPageInputV2
6744
6757
  });
6745
- var DTODocumentationPageMoveActionInputV2 = z235.object({
6746
- type: z235.literal("DocumentationPageMove"),
6758
+ var DTODocumentationPageMoveActionInputV2 = z236.object({
6759
+ type: z236.literal("DocumentationPageMove"),
6747
6760
  input: DTOMoveDocumentationPageInputV2
6748
6761
  });
6749
- var DTODocumentationPageDuplicateActionInputV2 = z235.object({
6750
- type: z235.literal("DocumentationPageDuplicate"),
6762
+ var DTODocumentationPageDuplicateActionInputV2 = z236.object({
6763
+ type: z236.literal("DocumentationPageDuplicate"),
6751
6764
  input: DTODuplicateDocumentationPageInputV2
6752
6765
  });
6753
- var DTODocumentationPageDeleteActionInputV2 = z235.object({
6754
- type: z235.literal("DocumentationPageDelete"),
6766
+ var DTODocumentationPageDeleteActionInputV2 = z236.object({
6767
+ type: z236.literal("DocumentationPageDelete"),
6755
6768
  input: DTODeleteDocumentationPageInputV2
6756
6769
  });
6757
- var DTODocumentationPageRestoreActionInput = z235.object({
6758
- type: z235.literal("DocumentationPageRestore"),
6770
+ var DTODocumentationPageRestoreActionInput = z236.object({
6771
+ type: z236.literal("DocumentationPageRestore"),
6759
6772
  input: DTORestoreDocumentationPageInput
6760
6773
  });
6761
- var DTODocumentationGroupRestoreActionInput = z235.object({
6762
- type: z235.literal("DocumentationGroupRestore"),
6774
+ var DTODocumentationGroupRestoreActionInput = z236.object({
6775
+ type: z236.literal("DocumentationGroupRestore"),
6763
6776
  input: DTORestoreDocumentationGroupInput
6764
6777
  });
6765
- var DTODocumentationPageApprovalStateChangeActionInput = z235.object({
6766
- type: z235.literal("DocumentationPageApprovalStateChange"),
6778
+ var DTODocumentationPageApprovalStateChangeActionInput = z236.object({
6779
+ type: z236.literal("DocumentationPageApprovalStateChange"),
6767
6780
  input: DTODocumentationPageApprovalStateChangeInput
6768
6781
  });
6769
6782
 
6770
6783
  // src/api/dto/elements/documentation/page-content.ts
6771
- import { z as z236 } from "zod";
6784
+ import { z as z237 } from "zod";
6772
6785
  var DTODocumentationPageContent = DocumentationPageContent;
6773
- var DTODocumentationPageContentGetResponse = z236.object({
6786
+ var DTODocumentationPageContentGetResponse = z237.object({
6774
6787
  pageContent: DTODocumentationPageContent
6775
6788
  });
6776
6789
 
6777
6790
  // src/api/dto/elements/documentation/page-v1.ts
6778
- import { z as z237 } from "zod";
6791
+ import { z as z238 } from "zod";
6779
6792
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
6780
6793
  data: true,
6781
6794
  meta: true,
@@ -6783,63 +6796,63 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
6783
6796
  sortOrder: true
6784
6797
  }).extend({
6785
6798
  configuration: DTODocumentationItemConfigurationV1,
6786
- blocks: z237.array(PageBlockV1),
6787
- title: z237.string(),
6788
- path: z237.string()
6799
+ blocks: z238.array(PageBlockV1),
6800
+ title: z238.string(),
6801
+ path: z238.string()
6789
6802
  });
6790
6803
 
6791
6804
  // src/api/dto/elements/documentation/structure.ts
6792
- import { z as z238 } from "zod";
6793
- var DTODocumentationStructureItemType = z238.enum(["Group", "Page"]);
6794
- var DTODocumentationStructureItemBase = z238.object({
6805
+ import { z as z239 } from "zod";
6806
+ var DTODocumentationStructureItemType = z239.enum(["Group", "Page"]);
6807
+ var DTODocumentationStructureItemBase = z239.object({
6795
6808
  type: DTODocumentationStructureItemType,
6796
- id: z238.string(),
6797
- designSystemVersionId: z238.string(),
6798
- shortPersistentId: z238.string(),
6799
- persistentId: z238.string(),
6800
- title: z238.string(),
6801
- createdAt: z238.coerce.date(),
6802
- updatedAt: z238.coerce.date()
6809
+ id: z239.string(),
6810
+ designSystemVersionId: z239.string(),
6811
+ shortPersistentId: z239.string(),
6812
+ persistentId: z239.string(),
6813
+ title: z239.string(),
6814
+ createdAt: z239.coerce.date(),
6815
+ updatedAt: z239.coerce.date()
6803
6816
  });
6804
6817
  var DTODocumentationStructureGroupItem = DTODocumentationStructureItemBase.extend({
6805
- type: z238.literal(DTODocumentationStructureItemType.enum.Group),
6806
- groupBehavior: z238.string(),
6807
- childrenIds: z238.string().array(),
6808
- isRoot: z238.boolean()
6818
+ type: z239.literal(DTODocumentationStructureItemType.enum.Group),
6819
+ groupBehavior: z239.string(),
6820
+ childrenIds: z239.string().array(),
6821
+ isRoot: z239.boolean()
6809
6822
  });
6810
6823
  var DTODocumentationStructurePageItem = DTODocumentationStructureItemBase.extend({
6811
- type: z238.literal(DTODocumentationStructureItemType.enum.Page),
6812
- path: z238.string()
6824
+ type: z239.literal(DTODocumentationStructureItemType.enum.Page),
6825
+ path: z239.string()
6813
6826
  });
6814
- var DTODocumentationStructureItem = z238.discriminatedUnion("type", [
6827
+ var DTODocumentationStructureItem = z239.discriminatedUnion("type", [
6815
6828
  DTODocumentationStructureGroupItem,
6816
6829
  DTODocumentationStructurePageItem
6817
6830
  ]);
6818
- var DTODocumentationStructure = z238.object({
6819
- items: z238.array(DTODocumentationStructureItem)
6831
+ var DTODocumentationStructure = z239.object({
6832
+ items: z239.array(DTODocumentationStructureItem)
6820
6833
  });
6821
6834
 
6822
6835
  // src/api/dto/elements/figma-nodes/figma-node.ts
6823
- import { z as z239 } from "zod";
6836
+ import { z as z240 } from "zod";
6824
6837
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
6825
- var DTOFigmaNodeOrigin = z239.object({
6826
- sourceId: z239.string(),
6827
- fileId: z239.string().optional(),
6828
- parentName: z239.string().optional()
6838
+ var DTOFigmaNodeOrigin = z240.object({
6839
+ sourceId: z240.string(),
6840
+ fileId: z240.string().optional(),
6841
+ parentName: z240.string().optional()
6829
6842
  });
6830
- var DTOFigmaNodeData = z239.object({
6843
+ var DTOFigmaNodeData = z240.object({
6831
6844
  // Id of the node in the Figma file
6832
- figmaNodeId: z239.string(),
6845
+ figmaNodeId: z240.string(),
6833
6846
  // Validity
6834
- isValid: z239.boolean(),
6847
+ isValid: z240.boolean(),
6835
6848
  // Asset data
6836
- assetId: z239.string(),
6837
- assetUrl: z239.string(),
6849
+ assetId: z240.string(),
6850
+ assetUrl: z240.string(),
6838
6851
  assetFormat: DTOFigmaNodeRenderFormat,
6839
6852
  // Asset metadata
6840
- assetScale: z239.number(),
6841
- assetWidth: z239.number().optional(),
6842
- assetHeight: z239.number().optional()
6853
+ assetScale: z240.number(),
6854
+ assetWidth: z240.number().optional(),
6855
+ assetHeight: z240.number().optional()
6843
6856
  });
6844
6857
  var DTOFigmaNode = FigmaNodeReference.omit({
6845
6858
  data: true,
@@ -6848,15 +6861,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
6848
6861
  data: DTOFigmaNodeData,
6849
6862
  origin: DTOFigmaNodeOrigin
6850
6863
  });
6851
- var DTOFigmaNodeRenderInput = z239.object({
6864
+ var DTOFigmaNodeRenderInput = z240.object({
6852
6865
  /**
6853
6866
  * Id of a design system's data source representing a linked Figma file
6854
6867
  */
6855
- sourceId: z239.string(),
6868
+ sourceId: z240.string(),
6856
6869
  /**
6857
6870
  * Id of a node within the Figma file
6858
6871
  */
6859
- figmaFileNodeId: z239.string(),
6872
+ figmaFileNodeId: z240.string(),
6860
6873
  /**
6861
6874
  * Format in which the node must be rendered, png by default.
6862
6875
  */
@@ -6864,97 +6877,97 @@ var DTOFigmaNodeRenderInput = z239.object({
6864
6877
  });
6865
6878
 
6866
6879
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
6867
- import { z as z240 } from "zod";
6868
- var DTOFigmaNodeRenderActionOutput = z240.object({
6869
- type: z240.literal("FigmaNodeRender"),
6870
- figmaNodes: z240.array(DTOFigmaNode)
6880
+ import { z as z241 } from "zod";
6881
+ var DTOFigmaNodeRenderActionOutput = z241.object({
6882
+ type: z241.literal("FigmaNodeRender"),
6883
+ figmaNodes: z241.array(DTOFigmaNode)
6871
6884
  });
6872
- var DTOFigmaNodeRenderActionInput = z240.object({
6873
- type: z240.literal("FigmaNodeRender"),
6885
+ var DTOFigmaNodeRenderActionInput = z241.object({
6886
+ type: z241.literal("FigmaNodeRender"),
6874
6887
  input: DTOFigmaNodeRenderInput.array()
6875
6888
  });
6876
6889
 
6877
6890
  // src/api/dto/elements/frame-node-structures/frame-node-structure.ts
6878
- import { z as z241 } from "zod";
6879
- var DTOFrameNodeStructure = z241.object({
6880
- id: z241.string(),
6881
- persistentId: z241.string(),
6882
- designSystemVersionId: z241.string(),
6891
+ import { z as z242 } from "zod";
6892
+ var DTOFrameNodeStructure = z242.object({
6893
+ id: z242.string(),
6894
+ persistentId: z242.string(),
6895
+ designSystemVersionId: z242.string(),
6883
6896
  origin: FigmaFileStructureOrigin,
6884
6897
  assetsInFile: FigmaFileStructureStatistics
6885
6898
  });
6886
- var DTOFrameNodeStructureListResponse = z241.object({
6899
+ var DTOFrameNodeStructureListResponse = z242.object({
6887
6900
  structures: DTOFrameNodeStructure.array()
6888
6901
  });
6889
6902
 
6890
6903
  // src/api/dto/elements/properties/property-definitions.ts
6891
- import { z as z242 } from "zod";
6904
+ import { z as z243 } from "zod";
6892
6905
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
6893
- var DTOElementPropertyDefinitionOption = z242.object({
6894
- id: z242.string(),
6895
- name: z242.string(),
6906
+ var DTOElementPropertyDefinitionOption = z243.object({
6907
+ id: z243.string(),
6908
+ name: z243.string(),
6896
6909
  backgroundColor: DTOColorTokenInlineData.optional()
6897
6910
  });
6898
- var DTOElementPropertyDefinition = z242.object({
6899
- id: z242.string(),
6900
- designSystemVersionId: z242.string(),
6911
+ var DTOElementPropertyDefinition = z243.object({
6912
+ id: z243.string(),
6913
+ designSystemVersionId: z243.string(),
6901
6914
  meta: DTOObjectMeta,
6902
- persistentId: z242.string(),
6915
+ persistentId: z243.string(),
6903
6916
  type: ElementPropertyTypeSchema,
6904
6917
  targetElementType: ElementPropertyTargetType,
6905
- codeName: z242.string().regex(CODE_NAME_REGEX2),
6906
- options: nullishToOptional(z242.array(DTOElementPropertyDefinitionOption)),
6918
+ codeName: z243.string().regex(CODE_NAME_REGEX2),
6919
+ options: nullishToOptional(z243.array(DTOElementPropertyDefinitionOption)),
6907
6920
  linkElementType: nullishToOptional(ElementPropertyLinkType),
6908
- isImmutable: z242.boolean(),
6921
+ isImmutable: z243.boolean(),
6909
6922
  immutablePropertyType: ElementPropertyImmutableType.optional()
6910
6923
  });
6911
- var DTOElementPropertyDefinitionListResponse = z242.object({
6912
- definitions: z242.array(DTOElementPropertyDefinition)
6924
+ var DTOElementPropertyDefinitionListResponse = z243.object({
6925
+ definitions: z243.array(DTOElementPropertyDefinition)
6913
6926
  });
6914
- var DTOElementPropertyDefinitionResponse = z242.object({
6927
+ var DTOElementPropertyDefinitionResponse = z243.object({
6915
6928
  definition: DTOElementPropertyDefinition
6916
6929
  });
6917
- var DTOElementPropertyDefinitionCreatePayload = z242.object({
6930
+ var DTOElementPropertyDefinitionCreatePayload = z243.object({
6918
6931
  meta: DTOObjectMeta,
6919
- persistentId: z242.string(),
6932
+ persistentId: z243.string(),
6920
6933
  type: ElementPropertyTypeSchema,
6921
6934
  targetElementType: ElementPropertyTargetType,
6922
- codeName: z242.string().regex(CODE_NAME_REGEX2),
6923
- options: nullishToOptional(z242.array(DTOElementPropertyDefinitionOption)),
6935
+ codeName: z243.string().regex(CODE_NAME_REGEX2),
6936
+ options: nullishToOptional(z243.array(DTOElementPropertyDefinitionOption)),
6924
6937
  linkElementType: nullishToOptional(ElementPropertyLinkType),
6925
- columnWidth: z242.number().max(1024).optional()
6938
+ columnWidth: z243.number().max(1024).optional()
6926
6939
  });
6927
- var DTOElementPropertyDefinitionUpdatePayload = z242.object({
6940
+ var DTOElementPropertyDefinitionUpdatePayload = z243.object({
6928
6941
  meta: DTOObjectMeta.optional(),
6929
- codeName: z242.string().regex(CODE_NAME_REGEX2).optional(),
6930
- options: z242.array(DTOElementPropertyDefinitionOption).optional()
6942
+ codeName: z243.string().regex(CODE_NAME_REGEX2).optional(),
6943
+ options: z243.array(DTOElementPropertyDefinitionOption).optional()
6931
6944
  });
6932
6945
 
6933
6946
  // src/api/dto/elements/properties/property-values.ts
6934
- import { z as z243 } from "zod";
6935
- var DTOElementPropertyValue = z243.object({
6936
- id: z243.string(),
6937
- designSystemVersionId: z243.string(),
6938
- definitionId: z243.string(),
6939
- targetElementId: z243.string(),
6940
- value: z243.union([z243.string(), z243.number(), z243.boolean()]).optional(),
6941
- valuePreview: z243.string().optional()
6942
- });
6943
- var DTOElementPropertyValueListResponse = z243.object({
6944
- values: z243.array(DTOElementPropertyValue)
6945
- });
6946
- var DTOElementPropertyValueResponse = z243.object({
6947
+ import { z as z244 } from "zod";
6948
+ var DTOElementPropertyValue = z244.object({
6949
+ id: z244.string(),
6950
+ designSystemVersionId: z244.string(),
6951
+ definitionId: z244.string(),
6952
+ targetElementId: z244.string(),
6953
+ value: z244.union([z244.string(), z244.number(), z244.boolean()]).optional(),
6954
+ valuePreview: z244.string().optional()
6955
+ });
6956
+ var DTOElementPropertyValueListResponse = z244.object({
6957
+ values: z244.array(DTOElementPropertyValue)
6958
+ });
6959
+ var DTOElementPropertyValueResponse = z244.object({
6947
6960
  value: DTOElementPropertyValue
6948
6961
  });
6949
- var DTOElementPropertyValueUpsertPaylod = z243.object({
6950
- definitionId: z243.string(),
6951
- targetElementId: z243.string(),
6952
- value: z243.string().or(z243.number()).or(z243.boolean())
6962
+ var DTOElementPropertyValueUpsertPaylod = z244.object({
6963
+ definitionId: z244.string(),
6964
+ targetElementId: z244.string(),
6965
+ value: z244.string().or(z244.number()).or(z244.boolean())
6953
6966
  });
6954
6967
 
6955
6968
  // src/api/dto/elements/elements-action-v2.ts
6956
- import { z as z244 } from "zod";
6957
- var DTOElementActionOutput = z244.discriminatedUnion("type", [
6969
+ import { z as z245 } from "zod";
6970
+ var DTOElementActionOutput = z245.discriminatedUnion("type", [
6958
6971
  // Documentation pages
6959
6972
  DTODocumentationPageCreateActionOutputV2,
6960
6973
  DTODocumentationPageUpdateActionOutputV2,
@@ -6977,7 +6990,7 @@ var DTOElementActionOutput = z244.discriminatedUnion("type", [
6977
6990
  // Approvals
6978
6991
  DTODocumentationPageApprovalStateChangeActionOutput
6979
6992
  ]);
6980
- var DTOElementActionInput = z244.discriminatedUnion("type", [
6993
+ var DTOElementActionInput = z245.discriminatedUnion("type", [
6981
6994
  // Documentation pages
6982
6995
  DTODocumentationPageCreateActionInputV2,
6983
6996
  DTODocumentationPageUpdateActionInputV2,
@@ -7002,80 +7015,80 @@ var DTOElementActionInput = z244.discriminatedUnion("type", [
7002
7015
  ]);
7003
7016
 
7004
7017
  // src/api/dto/elements/get-elements-v2.ts
7005
- import { z as z245 } from "zod";
7006
- var DTOElementsGetTypeFilter = z245.enum(["FigmaNode"]);
7007
- var DTOElementsGetQuerySchema = z245.object({
7008
- types: z245.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
7018
+ import { z as z246 } from "zod";
7019
+ var DTOElementsGetTypeFilter = z246.enum(["FigmaNode"]);
7020
+ var DTOElementsGetQuerySchema = z246.object({
7021
+ types: z246.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
7009
7022
  });
7010
- var DTOElementsGetOutput = z245.object({
7011
- figmaNodes: z245.array(DTOFigmaNode).optional()
7023
+ var DTOElementsGetOutput = z246.object({
7024
+ figmaNodes: z246.array(DTOFigmaNode).optional()
7012
7025
  });
7013
7026
 
7014
7027
  // src/api/dto/figma-components/assets/download.ts
7015
- import { z as z246 } from "zod";
7016
- var DTOAssetRenderConfiguration = z246.object({
7017
- prefix: z246.string().optional(),
7018
- suffix: z246.string().optional(),
7019
- scale: z246.enum(["x1", "x2", "x3", "x4"]),
7020
- format: z246.enum(["png", "pdf", "svg"])
7021
- });
7022
- var DTORenderedAssetFile = z246.object({
7023
- assetId: z246.string(),
7024
- fileName: z246.string(),
7025
- sourceUrl: z246.string(),
7028
+ import { z as z247 } from "zod";
7029
+ var DTOAssetRenderConfiguration = z247.object({
7030
+ prefix: z247.string().optional(),
7031
+ suffix: z247.string().optional(),
7032
+ scale: z247.enum(["x1", "x2", "x3", "x4"]),
7033
+ format: z247.enum(["png", "pdf", "svg"])
7034
+ });
7035
+ var DTORenderedAssetFile = z247.object({
7036
+ assetId: z247.string(),
7037
+ fileName: z247.string(),
7038
+ sourceUrl: z247.string(),
7026
7039
  settings: DTOAssetRenderConfiguration,
7027
- originalName: z246.string()
7040
+ originalName: z247.string()
7028
7041
  });
7029
- var DTODownloadAssetsRequest = z246.object({
7030
- persistentIds: z246.array(z246.string().uuid()).optional(),
7042
+ var DTODownloadAssetsRequest = z247.object({
7043
+ persistentIds: z247.array(z247.string().uuid()).optional(),
7031
7044
  settings: DTOAssetRenderConfiguration.array()
7032
7045
  });
7033
- var DTODownloadAssetsResponse = z246.object({
7046
+ var DTODownloadAssetsResponse = z247.object({
7034
7047
  items: DTORenderedAssetFile.array()
7035
7048
  });
7036
7049
 
7037
7050
  // src/api/dto/liveblocks/auth-response.ts
7038
- import { z as z247 } from "zod";
7039
- var DTOLiveblocksAuthResponse = z247.object({
7040
- token: z247.string()
7051
+ import { z as z248 } from "zod";
7052
+ var DTOLiveblocksAuthResponse = z248.object({
7053
+ token: z248.string()
7041
7054
  });
7042
7055
 
7043
7056
  // src/api/dto/themes/override.ts
7044
- import { z as z248 } from "zod";
7057
+ import { z as z249 } from "zod";
7045
7058
  var DTOThemeOverride = DesignTokenTypedData.and(
7046
- z248.object({
7047
- tokenPersistentId: z248.string(),
7059
+ z249.object({
7060
+ tokenPersistentId: z249.string(),
7048
7061
  origin: ThemeOverrideOrigin.optional()
7049
7062
  })
7050
7063
  );
7051
7064
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
7052
- z248.object({
7053
- tokenPersistentId: z248.string()
7065
+ z249.object({
7066
+ tokenPersistentId: z249.string()
7054
7067
  })
7055
7068
  );
7056
7069
 
7057
7070
  // src/api/dto/themes/theme.ts
7058
- import { z as z249 } from "zod";
7059
- var DTOTheme = z249.object({
7060
- id: z249.string(),
7061
- persistentId: z249.string(),
7062
- designSystemVersionId: z249.string(),
7063
- brandId: z249.string(),
7071
+ import { z as z250 } from "zod";
7072
+ var DTOTheme = z250.object({
7073
+ id: z250.string(),
7074
+ persistentId: z250.string(),
7075
+ designSystemVersionId: z250.string(),
7076
+ brandId: z250.string(),
7064
7077
  meta: ObjectMeta,
7065
- codeName: z249.string(),
7078
+ codeName: z250.string(),
7066
7079
  overrides: DTOThemeOverride.array()
7067
7080
  });
7068
- var DTOThemeResponse = z249.object({
7081
+ var DTOThemeResponse = z250.object({
7069
7082
  theme: DTOTheme
7070
7083
  });
7071
- var DTOThemeListResponse = z249.object({
7084
+ var DTOThemeListResponse = z250.object({
7072
7085
  themes: DTOTheme.array()
7073
7086
  });
7074
- var DTOThemeCreatePayload = z249.object({
7087
+ var DTOThemeCreatePayload = z250.object({
7075
7088
  meta: ObjectMeta,
7076
- persistentId: z249.string(),
7077
- brandId: z249.string(),
7078
- codeName: z249.string(),
7089
+ persistentId: z250.string(),
7090
+ brandId: z250.string(),
7091
+ codeName: z250.string(),
7079
7092
  overrides: DTOThemeOverride.array()
7080
7093
  });
7081
7094
 
@@ -7206,7 +7219,7 @@ var CodegenEndpoint = class {
7206
7219
  };
7207
7220
 
7208
7221
  // src/api/endpoints/design-system/versions/brands.ts
7209
- import { z as z250 } from "zod";
7222
+ import { z as z251 } from "zod";
7210
7223
  var BrandsEndpoint = class {
7211
7224
  constructor(requestExecutor) {
7212
7225
  this.requestExecutor = requestExecutor;
@@ -7240,7 +7253,7 @@ var BrandsEndpoint = class {
7240
7253
  });
7241
7254
  }
7242
7255
  delete(dsId, vId, brandId) {
7243
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z250.any(), {
7256
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z251.any(), {
7244
7257
  method: "DELETE"
7245
7258
  });
7246
7259
  }
@@ -7394,7 +7407,7 @@ var ImportJobsEndpoint = class {
7394
7407
  };
7395
7408
 
7396
7409
  // src/api/endpoints/design-system/versions/overrides.ts
7397
- import { z as z251 } from "zod";
7410
+ import { z as z252 } from "zod";
7398
7411
  var OverridesEndpoint = class {
7399
7412
  constructor(requestExecutor) {
7400
7413
  this.requestExecutor = requestExecutor;
@@ -7402,7 +7415,7 @@ var OverridesEndpoint = class {
7402
7415
  create(dsId, versionId, themeId, body) {
7403
7416
  return this.requestExecutor.json(
7404
7417
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
7405
- z251.any(),
7418
+ z252.any(),
7406
7419
  {
7407
7420
  method: "POST",
7408
7421
  body
@@ -7412,7 +7425,7 @@ var OverridesEndpoint = class {
7412
7425
  };
7413
7426
 
7414
7427
  // src/api/endpoints/design-system/versions/property-definitions.ts
7415
- import { z as z252 } from "zod";
7428
+ import { z as z253 } from "zod";
7416
7429
  var ElementPropertyDefinitionsEndpoint = class {
7417
7430
  constructor(requestExecutor) {
7418
7431
  this.requestExecutor = requestExecutor;
@@ -7440,7 +7453,7 @@ var ElementPropertyDefinitionsEndpoint = class {
7440
7453
  delete(designSystemId, versionId, defId) {
7441
7454
  return this.requestExecutor.json(
7442
7455
  `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
7443
- z252.any(),
7456
+ z253.any(),
7444
7457
  { method: "DELETE" }
7445
7458
  );
7446
7459
  }
@@ -7479,7 +7492,7 @@ var VersionStatsEndpoint = class {
7479
7492
  };
7480
7493
 
7481
7494
  // src/api/endpoints/design-system/versions/themes.ts
7482
- import { z as z253 } from "zod";
7495
+ import { z as z254 } from "zod";
7483
7496
  var ThemesEndpoint = class {
7484
7497
  constructor(requestExecutor) {
7485
7498
  this.requestExecutor = requestExecutor;
@@ -7502,7 +7515,7 @@ var ThemesEndpoint = class {
7502
7515
  });
7503
7516
  }
7504
7517
  delete(dsId, versionId, themeId) {
7505
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z253.any(), {
7518
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z254.any(), {
7506
7519
  method: "DELETE"
7507
7520
  });
7508
7521
  }
@@ -7649,7 +7662,7 @@ var DesignSystemContactsEndpoint = class {
7649
7662
  };
7650
7663
 
7651
7664
  // src/api/endpoints/design-system/design-systems.ts
7652
- import { z as z255 } from "zod";
7665
+ import { z as z256 } from "zod";
7653
7666
 
7654
7667
  // src/api/endpoints/design-system/members.ts
7655
7668
  var DesignSystemMembersEndpoint = class {
@@ -7670,7 +7683,7 @@ var DesignSystemMembersEndpoint = class {
7670
7683
  };
7671
7684
 
7672
7685
  // src/api/endpoints/design-system/sources.ts
7673
- import { z as z254 } from "zod";
7686
+ import { z as z255 } from "zod";
7674
7687
  var DesignSystemSourcesEndpoint = class {
7675
7688
  constructor(requestExecutor) {
7676
7689
  this.requestExecutor = requestExecutor;
@@ -7685,7 +7698,7 @@ var DesignSystemSourcesEndpoint = class {
7685
7698
  return this.requestExecutor.json(`/design-systems/${dsId}/sources`, DTODataSourcesListResponse);
7686
7699
  }
7687
7700
  delete(dsId, sourceId) {
7688
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z254.any(), { method: "DELETE" });
7701
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z255.any(), { method: "DELETE" });
7689
7702
  }
7690
7703
  figmaImport(dsId, payload) {
7691
7704
  return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/cloud-import`, DTOImportJobResponse, {
@@ -7720,7 +7733,7 @@ var DesignSystemsEndpoint = class {
7720
7733
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
7721
7734
  }
7722
7735
  delete(dsId) {
7723
- return this.requestExecutor.json(`/design-systems/${dsId}`, z255.any(), { method: "DELETE" });
7736
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z256.any(), { method: "DELETE" });
7724
7737
  }
7725
7738
  update(dsId, body) {
7726
7739
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -7764,7 +7777,7 @@ var WorkspaceInvitationsEndpoint = class {
7764
7777
  };
7765
7778
 
7766
7779
  // src/api/endpoints/workspaces/workspace-members.ts
7767
- import { z as z256 } from "zod";
7780
+ import { z as z257 } from "zod";
7768
7781
  var WorkspaceMembersEndpoint = class {
7769
7782
  constructor(requestExecutor) {
7770
7783
  this.requestExecutor = requestExecutor;
@@ -7781,7 +7794,7 @@ var WorkspaceMembersEndpoint = class {
7781
7794
  });
7782
7795
  }
7783
7796
  invite(workspaceId, body) {
7784
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z256.any(), { method: "POST", body });
7797
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z257.any(), { method: "POST", body });
7785
7798
  }
7786
7799
  delete(workspaceId, userId) {
7787
7800
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -7791,7 +7804,7 @@ var WorkspaceMembersEndpoint = class {
7791
7804
  };
7792
7805
 
7793
7806
  // src/api/endpoints/workspaces/workspaces.ts
7794
- import { z as z257 } from "zod";
7807
+ import { z as z258 } from "zod";
7795
7808
  var WorkspacesEndpoint = class {
7796
7809
  constructor(requestExecutor) {
7797
7810
  this.requestExecutor = requestExecutor;
@@ -7814,10 +7827,10 @@ var WorkspacesEndpoint = class {
7814
7827
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
7815
7828
  }
7816
7829
  delete(workspaceId) {
7817
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z257.any(), { method: "DELETE" });
7830
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z258.any(), { method: "DELETE" });
7818
7831
  }
7819
7832
  subscription(workspaceId) {
7820
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z257.any(), { method: "GET" });
7833
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z258.any(), { method: "GET" });
7821
7834
  }
7822
7835
  transferOwnership(workspaceId, body) {
7823
7836
  return this.requestExecutor.json(`/workspaces/${workspaceId}/ownership`, DTOWorkspaceResponse, {
@@ -7904,9 +7917,9 @@ ${bodyText}`,
7904
7917
 
7905
7918
  // src/api/transport/request-executor.ts
7906
7919
  import fetch from "node-fetch";
7907
- import { z as z258 } from "zod";
7908
- var ResponseWrapper = z258.object({
7909
- result: z258.record(z258.any())
7920
+ import { z as z259 } from "zod";
7921
+ var ResponseWrapper = z259.object({
7922
+ result: z259.record(z259.any())
7910
7923
  });
7911
7924
  var RequestExecutor = class {
7912
7925
  constructor(testServerConfig) {
@@ -7981,7 +7994,7 @@ var SupernovaApiClient = class {
7981
7994
  };
7982
7995
 
7983
7996
  // src/yjs/design-system-content/documentation-hierarchy.ts
7984
- import { z as z259 } from "zod";
7997
+ import { z as z260 } from "zod";
7985
7998
 
7986
7999
  // src/yjs/version-room/base.ts
7987
8000
  var VersionRoomBaseYDoc = class {
@@ -8511,24 +8524,24 @@ var FrontendVersionRoomYDoc = class {
8511
8524
  };
8512
8525
 
8513
8526
  // src/yjs/design-system-content/documentation-hierarchy.ts
8514
- var DocumentationHierarchySettings = z259.object({
8515
- routingVersion: z259.string(),
8516
- isDraftFeatureAdopted: z259.boolean(),
8517
- isApprovalFeatureEnabled: z259.boolean(),
8518
- approvalRequiredForPublishing: z259.boolean()
8527
+ var DocumentationHierarchySettings = z260.object({
8528
+ routingVersion: z260.string(),
8529
+ isDraftFeatureAdopted: z260.boolean(),
8530
+ isApprovalFeatureEnabled: z260.boolean(),
8531
+ approvalRequiredForPublishing: z260.boolean()
8519
8532
  });
8520
8533
  function yjsToDocumentationHierarchy(doc) {
8521
8534
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
8522
8535
  }
8523
8536
 
8524
8537
  // src/yjs/design-system-content/item-configuration.ts
8525
- import { z as z260 } from "zod";
8526
- var DTODocumentationPageRoomHeaderData = z260.object({
8527
- title: z260.string(),
8538
+ import { z as z261 } from "zod";
8539
+ var DTODocumentationPageRoomHeaderData = z261.object({
8540
+ title: z261.string(),
8528
8541
  configuration: DTODocumentationItemConfigurationV2
8529
8542
  });
8530
- var DTODocumentationPageRoomHeaderDataUpdate = z260.object({
8531
- title: z260.string().optional(),
8543
+ var DTODocumentationPageRoomHeaderDataUpdate = z261.object({
8544
+ title: z261.string().optional(),
8532
8545
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
8533
8546
  });
8534
8547
  function itemConfigurationToYjs(yDoc, item) {
@@ -8579,7 +8592,7 @@ function yjsToItemConfiguration(yDoc) {
8579
8592
  header: rawHeader
8580
8593
  };
8581
8594
  return {
8582
- title: z260.string().parse(title),
8595
+ title: z261.string().parse(title),
8583
8596
  configuration: DTODocumentationItemConfigurationV2.parse(rawConfig)
8584
8597
  };
8585
8598
  }
@@ -8589,9 +8602,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
8589
8602
  var PageSectionEditorModel = PageSectionEditorModelV2;
8590
8603
 
8591
8604
  // src/yjs/docs-editor/model/page.ts
8592
- import { z as z261 } from "zod";
8593
- var DocumentationPageEditorModel = z261.object({
8594
- blocks: z261.array(DocumentationPageContentItem)
8605
+ import { z as z262 } from "zod";
8606
+ var DocumentationPageEditorModel = z262.object({
8607
+ blocks: z262.array(DocumentationPageContentItem)
8595
8608
  });
8596
8609
 
8597
8610
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -12112,7 +12125,7 @@ var blocks = [
12112
12125
 
12113
12126
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
12114
12127
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
12115
- import { z as z262 } from "zod";
12128
+ import { z as z263 } from "zod";
12116
12129
  function yDocToPage(yDoc, definitions) {
12117
12130
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
12118
12131
  }
@@ -12192,7 +12205,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
12192
12205
  return null;
12193
12206
  return {
12194
12207
  id,
12195
- title: getProsemirrorAttribute(prosemirrorNode, "title", z262.string()) ?? "",
12208
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z263.string()) ?? "",
12196
12209
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
12197
12210
  };
12198
12211
  }
@@ -12227,7 +12240,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
12227
12240
  });
12228
12241
  }
12229
12242
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
12230
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z262.string());
12243
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z263.string());
12231
12244
  if (!definitionId) {
12232
12245
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
12233
12246
  return [];
@@ -12269,7 +12282,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
12269
12282
  if (!id)
12270
12283
  return null;
12271
12284
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
12272
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z262.string().optional()));
12285
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z263.string().optional()));
12273
12286
  return {
12274
12287
  id,
12275
12288
  type: "Block",
@@ -12397,10 +12410,10 @@ function parseRichTextAttribute(mark) {
12397
12410
  return null;
12398
12411
  }
12399
12412
  function parseProsemirrorLink(mark) {
12400
- const href = getProsemirrorAttribute(mark, "href", z262.string().optional());
12413
+ const href = getProsemirrorAttribute(mark, "href", z263.string().optional());
12401
12414
  if (!href)
12402
12415
  return null;
12403
- const target = getProsemirrorAttribute(mark, "target", z262.string().optional());
12416
+ const target = getProsemirrorAttribute(mark, "target", z263.string().optional());
12404
12417
  const openInNewTab = target === "_blank";
12405
12418
  if (href.startsWith("@")) {
12406
12419
  return {
@@ -12419,10 +12432,10 @@ function parseProsemirrorLink(mark) {
12419
12432
  }
12420
12433
  }
12421
12434
  function parseProsemirrorCommentHighlight(mark) {
12422
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z262.string().optional());
12435
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z263.string().optional());
12423
12436
  if (!highlightId)
12424
12437
  return null;
12425
- const isResolved = getProsemirrorAttribute(mark, "resolved", z262.boolean().optional()) ?? false;
12438
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z263.boolean().optional()) ?? false;
12426
12439
  return {
12427
12440
  type: "Comment",
12428
12441
  commentHighlightId: highlightId,
@@ -12434,7 +12447,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
12434
12447
  if (!id)
12435
12448
  return null;
12436
12449
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
12437
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z262.boolean().optional()) !== false;
12450
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z263.boolean().optional()) !== false;
12438
12451
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
12439
12452
  if (!tableChild) {
12440
12453
  return emptyTable(id, variantId, 0);
@@ -12481,9 +12494,9 @@ function parseAsTableCell(prosemirrorNode) {
12481
12494
  const id = getProsemirrorBlockId(prosemirrorNode);
12482
12495
  if (!id)
12483
12496
  return null;
12484
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z262.string().optional());
12497
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z263.string().optional());
12485
12498
  let columnWidth;
12486
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z262.array(z262.number()).nullish());
12499
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z263.array(z263.number()).nullish());
12487
12500
  if (columnWidthArray) {
12488
12501
  columnWidth = roundDimension(columnWidthArray[0]);
12489
12502
  }
@@ -12521,7 +12534,7 @@ function parseAsTableNode(prosemirrorNode) {
12521
12534
  value: parseRichText(prosemirrorNode.content ?? [])
12522
12535
  };
12523
12536
  case "image":
12524
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z262.string());
12537
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z263.string());
12525
12538
  if (!items)
12526
12539
  return null;
12527
12540
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
@@ -12641,7 +12654,7 @@ function definitionExpectsPlaceholderItem(definition) {
12641
12654
  );
12642
12655
  }
12643
12656
  function parseBlockItems(prosemirrorNode, definition) {
12644
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z262.string());
12657
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z263.string());
12645
12658
  if (!itemsString)
12646
12659
  return null;
12647
12660
  const itemsJson = JSON.parse(itemsString);
@@ -12653,18 +12666,18 @@ function parseBlockItems(prosemirrorNode, definition) {
12653
12666
  }
12654
12667
  function parseAppearance(prosemirrorNode) {
12655
12668
  let appearance = {};
12656
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z262.string().optional());
12669
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z263.string().optional());
12657
12670
  if (rawAppearanceString) {
12658
12671
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
12659
12672
  if (parsedAppearance.success) {
12660
12673
  appearance = parsedAppearance.data;
12661
12674
  }
12662
12675
  }
12663
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z262.number().optional());
12676
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z263.number().optional());
12664
12677
  if (columns) {
12665
12678
  appearance.numberOfColumns = columns;
12666
12679
  }
12667
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z262.string().optional());
12680
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z263.string().optional());
12668
12681
  if (backgroundColor) {
12669
12682
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
12670
12683
  if (parsedColor.success) {
@@ -12759,13 +12772,13 @@ function valueSchemaForPropertyType(type) {
12759
12772
  }
12760
12773
  }
12761
12774
  function getProsemirrorBlockId(prosemirrorNode) {
12762
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z262.string());
12775
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z263.string());
12763
12776
  if (!id)
12764
12777
  console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
12765
12778
  return id;
12766
12779
  }
12767
12780
  function getProsemirrorBlockVariantId(prosemirrorNode) {
12768
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z262.string()));
12781
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z263.string()));
12769
12782
  }
12770
12783
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
12771
12784
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);