@supernova-studio/client 1.11.2 → 1.11.3

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
@@ -6301,7 +6301,7 @@ var DTOPagination = z214.object({
6301
6301
  });
6302
6302
 
6303
6303
  // src/api/dto/bff/app-bootstrap-data.ts
6304
- import { z as z257 } from "zod";
6304
+ import { z as z258 } from "zod";
6305
6305
 
6306
6306
  // src/api/dto/design-systems/brand.ts
6307
6307
  import { z as z215 } from "zod";
@@ -6957,7 +6957,7 @@ var DTOStorybookEntryListResponse = z232.object({ entries: z232.array(DTOStorybo
6957
6957
  var DTOStorybookEntryResponse = z232.object({ entry: DTOStorybookEntry });
6958
6958
 
6959
6959
  // src/api/dto/design-systems/user-design-systems.ts
6960
- import { z as z241 } from "zod";
6960
+ import { z as z242 } from "zod";
6961
6961
 
6962
6962
  // src/api/dto/workspaces/git.ts
6963
6963
  import { z as z233 } from "zod";
@@ -7161,7 +7161,7 @@ var DTOSubscription = z239.object({
7161
7161
  balance: z239.number(),
7162
7162
  resetAt: z239.string().optional()
7163
7163
  })
7164
- })
7164
+ }).optional()
7165
7165
  });
7166
7166
  var DTOSubscriptionResponse = z239.object({
7167
7167
  subscription: DTOSubscription
@@ -7183,26 +7183,35 @@ var DTOWorkspaceUntypedDataUpdatePayload = z240.object({
7183
7183
  value: z240.unknown()
7184
7184
  });
7185
7185
 
7186
+ // src/api/dto/workspaces/billing.ts
7187
+ import z241 from "zod";
7188
+ var DTOBillingCreditsSpendInput = z241.object({
7189
+ amount: z241.number()
7190
+ });
7191
+ var DTOBillingCreditsSpendResponse = z241.object({
7192
+ hasSpentCredits: z241.boolean()
7193
+ });
7194
+
7186
7195
  // src/api/dto/design-systems/user-design-systems.ts
7187
- var DTOUserDesignSystemsResponse = z241.object({
7196
+ var DTOUserDesignSystemsResponse = z242.object({
7188
7197
  designSystems: DTODesignSystem.array(),
7189
7198
  workspaces: DTOWorkspace.array()
7190
7199
  });
7191
7200
 
7192
7201
  // src/api/dto/design-systems/version-room.ts
7193
- import { z as z242 } from "zod";
7194
- var DTODesignSystemVersionRoom = z242.object({
7195
- id: z242.string()
7202
+ import { z as z243 } from "zod";
7203
+ var DTODesignSystemVersionRoom = z243.object({
7204
+ id: z243.string()
7196
7205
  });
7197
- var DTODesignSystemVersionRoomResponse = z242.object({
7206
+ var DTODesignSystemVersionRoomResponse = z243.object({
7198
7207
  room: DTODesignSystemVersionRoom
7199
7208
  });
7200
7209
 
7201
7210
  // src/api/dto/design-systems/version.ts
7202
- import { z as z255 } from "zod";
7211
+ import { z as z256 } from "zod";
7203
7212
 
7204
7213
  // src/api/payloads/design-systems/update-design-system.ts
7205
- import { z as z243 } from "zod";
7214
+ import { z as z244 } from "zod";
7206
7215
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
7207
7216
  id: true,
7208
7217
  workspaceId: true,
@@ -7214,56 +7223,56 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
7214
7223
  }).extend({
7215
7224
  meta: ObjectMeta.partial().optional()
7216
7225
  });
7217
- var DTODesignSystemUpdateAccessModeInput = z243.object({
7226
+ var DTODesignSystemUpdateAccessModeInput = z244.object({
7218
7227
  accessMode: DesignSystemAccessMode,
7219
- retain: z243.object({
7220
- userIds: z243.string().array(),
7221
- inviteIds: z243.string().array()
7228
+ retain: z244.object({
7229
+ userIds: z244.string().array(),
7230
+ inviteIds: z244.string().array()
7222
7231
  }).optional()
7223
7232
  });
7224
7233
 
7225
7234
  // src/api/payloads/design-systems/version.ts
7226
- import { z as z244 } from "zod";
7227
- var ObjectMeta2 = z244.object({
7228
- name: z244.string().max(150).optional(),
7229
- description: z244.string().max(2e3).optional()
7235
+ import { z as z245 } from "zod";
7236
+ var ObjectMeta2 = z245.object({
7237
+ name: z245.string().max(150).optional(),
7238
+ description: z245.string().max(2e3).optional()
7230
7239
  });
7231
7240
  function validateDesignSystemVersion(version) {
7232
7241
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
7233
7242
  return urlCompliantRegex.test(version);
7234
7243
  }
7235
- var DTOCreateVersionInput = z244.object({
7244
+ var DTOCreateVersionInput = z245.object({
7236
7245
  meta: ObjectMeta2,
7237
- version: z244.string().refine(validateDesignSystemVersion, {
7246
+ version: z245.string().refine(validateDesignSystemVersion, {
7238
7247
  message: "Invalid semantic versioning format"
7239
7248
  }),
7240
- changeLog: z244.string().optional()
7249
+ changeLog: z245.string().optional()
7241
7250
  });
7242
- var DTOUpdateVersionInput = z244.object({
7251
+ var DTOUpdateVersionInput = z245.object({
7243
7252
  meta: ObjectMeta2,
7244
- version: z244.string(),
7253
+ version: z245.string(),
7245
7254
  // required for PUT, but not editable
7246
- changeLog: z244.string()
7255
+ changeLog: z245.string()
7247
7256
  });
7248
7257
 
7249
7258
  // src/api/payloads/documentation/analytics.ts
7250
- import { z as z245 } from "zod";
7251
- var DTODocumentationAnalyticsTimeFrameComparison = z245.object({
7252
- referencePeriod: z245.object({
7253
- start: z245.coerce.date(),
7254
- end: z245.coerce.date().optional()
7259
+ import { z as z246 } from "zod";
7260
+ var DTODocumentationAnalyticsTimeFrameComparison = z246.object({
7261
+ referencePeriod: z246.object({
7262
+ start: z246.coerce.date(),
7263
+ end: z246.coerce.date().optional()
7255
7264
  }),
7256
- baselinePeriod: z245.object({
7257
- start: z245.coerce.date(),
7258
- end: z245.coerce.date().optional()
7265
+ baselinePeriod: z246.object({
7266
+ start: z246.coerce.date(),
7267
+ end: z246.coerce.date().optional()
7259
7268
  })
7260
7269
  });
7261
- var DTODocumentationAnalyticsDiffPayload = z245.object({
7262
- timeFrames: z245.array(DTODocumentationAnalyticsTimeFrameComparison)
7270
+ var DTODocumentationAnalyticsDiffPayload = z246.object({
7271
+ timeFrames: z246.array(DTODocumentationAnalyticsTimeFrameComparison)
7263
7272
  });
7264
7273
 
7265
7274
  // src/api/payloads/documentation/block-definitions.ts
7266
- import { z as z246 } from "zod";
7275
+ import { z as z247 } from "zod";
7267
7276
 
7268
7277
  // src/api/dto/documentation/block-definition.ts
7269
7278
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -7275,79 +7284,79 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
7275
7284
  var DTOPageBlockDefinition = PageBlockDefinition;
7276
7285
 
7277
7286
  // src/api/payloads/documentation/block-definitions.ts
7278
- var DTOGetBlockDefinitionsQuery = z246.object({
7279
- files: z246.coerce.boolean().optional()
7287
+ var DTOGetBlockDefinitionsQuery = z247.object({
7288
+ files: z247.coerce.boolean().optional()
7280
7289
  });
7281
- var DTOGetBlockDefinitionsOutput = z246.object({
7282
- definitions: z246.array(DTOPageBlockDefinition)
7290
+ var DTOGetBlockDefinitionsOutput = z247.object({
7291
+ definitions: z247.array(DTOPageBlockDefinition)
7283
7292
  });
7284
7293
 
7285
7294
  // src/api/payloads/documentation/design-data-doc-diff.ts
7286
- import { z as z247 } from "zod";
7287
- var DTODocumentationPublishTypeQueryParams = z247.object({
7288
- environment: z247.enum(["Live", "Preview"])
7295
+ import { z as z248 } from "zod";
7296
+ var DTODocumentationPublishTypeQueryParams = z248.object({
7297
+ environment: z248.enum(["Live", "Preview"])
7289
7298
  });
7290
7299
 
7291
7300
  // src/api/payloads/export/pipeline.ts
7292
- import { z as z249 } from "zod";
7301
+ import { z as z250 } from "zod";
7293
7302
 
7294
7303
  // src/api/dto/export/exporter-property.ts
7295
- import { z as z248 } from "zod";
7296
- var PrimitiveValue2 = z248.number().or(z248.boolean()).or(z248.string());
7297
- var ArrayValue2 = z248.array(z248.string());
7298
- var ObjectValue2 = z248.record(z248.string());
7304
+ import { z as z249 } from "zod";
7305
+ var PrimitiveValue2 = z249.number().or(z249.boolean()).or(z249.string());
7306
+ var ArrayValue2 = z249.array(z249.string());
7307
+ var ObjectValue2 = z249.record(z249.string());
7299
7308
  var DTOExporterPropertyValue = PrimitiveValue2.or(ArrayValue2).or(ObjectValue2);
7300
- var DTOExporterPropertyType = z248.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
7301
- var PropertyDefinitionBase2 = z248.object({
7302
- key: z248.string(),
7303
- title: z248.string(),
7304
- description: z248.string(),
7305
- category: z248.string().optional(),
7306
- dependsOn: z248.record(z248.boolean()).optional()
7307
- });
7308
- var DTOExporterPropertyDefinitionEnumOption = z248.object({
7309
- label: z248.string(),
7310
- description: z248.string()
7309
+ var DTOExporterPropertyType = z249.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
7310
+ var PropertyDefinitionBase2 = z249.object({
7311
+ key: z249.string(),
7312
+ title: z249.string(),
7313
+ description: z249.string(),
7314
+ category: z249.string().optional(),
7315
+ dependsOn: z249.record(z249.boolean()).optional()
7316
+ });
7317
+ var DTOExporterPropertyDefinitionEnumOption = z249.object({
7318
+ label: z249.string(),
7319
+ description: z249.string()
7311
7320
  });
7312
7321
  var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase2.extend({
7313
- type: z248.literal(DTOExporterPropertyType.Enum.Enum),
7314
- options: z248.record(DTOExporterPropertyDefinitionEnumOption),
7315
- default: z248.string()
7322
+ type: z249.literal(DTOExporterPropertyType.Enum.Enum),
7323
+ options: z249.record(DTOExporterPropertyDefinitionEnumOption),
7324
+ default: z249.string()
7316
7325
  });
7317
7326
  var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase2.extend({
7318
- type: z248.literal(DTOExporterPropertyType.Enum.Boolean),
7319
- default: z248.boolean()
7327
+ type: z249.literal(DTOExporterPropertyType.Enum.Boolean),
7328
+ default: z249.boolean()
7320
7329
  });
7321
7330
  var DTOExporterPropertyDefinitionString = PropertyDefinitionBase2.extend({
7322
- type: z248.literal(DTOExporterPropertyType.Enum.String),
7323
- default: z248.string(),
7324
- isMultiline: z248.boolean().optional()
7331
+ type: z249.literal(DTOExporterPropertyType.Enum.String),
7332
+ default: z249.string(),
7333
+ isMultiline: z249.boolean().optional()
7325
7334
  });
7326
7335
  var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase2.extend({
7327
- type: z248.literal(DTOExporterPropertyType.Enum.Number),
7328
- default: z248.number()
7336
+ type: z249.literal(DTOExporterPropertyType.Enum.Number),
7337
+ default: z249.number()
7329
7338
  });
7330
7339
  var DTOExporterPropertyDefinitionArray = PropertyDefinitionBase2.extend({
7331
- type: z248.literal(DTOExporterPropertyType.Enum.Array),
7340
+ type: z249.literal(DTOExporterPropertyType.Enum.Array),
7332
7341
  default: ArrayValue2
7333
7342
  });
7334
7343
  var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase2.extend({
7335
- type: z248.literal(DTOExporterPropertyType.Enum.Object),
7344
+ type: z249.literal(DTOExporterPropertyType.Enum.Object),
7336
7345
  default: ObjectValue2,
7337
- allowedKeys: z248.object({
7338
- options: z248.string().array(),
7339
- type: z248.string()
7346
+ allowedKeys: z249.object({
7347
+ options: z249.string().array(),
7348
+ type: z249.string()
7340
7349
  }).optional(),
7341
- allowedValues: z248.object({
7342
- type: z248.string()
7350
+ allowedValues: z249.object({
7351
+ type: z249.string()
7343
7352
  }).optional()
7344
7353
  });
7345
7354
  var DTOExporterPropertyDefinitionCode = PropertyDefinitionBase2.extend({
7346
- type: z248.literal(DTOExporterPropertyType.Enum.Code),
7347
- language: z248.string(),
7348
- default: z248.string()
7355
+ type: z249.literal(DTOExporterPropertyType.Enum.Code),
7356
+ language: z249.string(),
7357
+ default: z249.string()
7349
7358
  });
7350
- var DTOExporterPropertyDefinition = z248.discriminatedUnion("type", [
7359
+ var DTOExporterPropertyDefinition = z249.discriminatedUnion("type", [
7351
7360
  DTOExporterPropertyDefinitionEnum,
7352
7361
  DTOExporterPropertyDefinitionBoolean,
7353
7362
  DTOExporterPropertyDefinitionString,
@@ -7356,84 +7365,84 @@ var DTOExporterPropertyDefinition = z248.discriminatedUnion("type", [
7356
7365
  DTOExporterPropertyDefinitionObject,
7357
7366
  DTOExporterPropertyDefinitionCode
7358
7367
  ]);
7359
- var DTOExporterPropertyDefinitionsResponse = z248.object({
7368
+ var DTOExporterPropertyDefinitionsResponse = z249.object({
7360
7369
  properties: DTOExporterPropertyDefinition.array()
7361
7370
  });
7362
- var DTOExporterPropertyValueMap = z248.record(DTOExporterPropertyValue);
7371
+ var DTOExporterPropertyValueMap = z249.record(DTOExporterPropertyValue);
7363
7372
 
7364
7373
  // src/api/payloads/export/pipeline.ts
7365
- var GitDestinationOptions = z249.object({
7366
- branch: z249.string().min(1).nullish(),
7367
- commitMessage: z249.string().min(1).nullish(),
7368
- commitAuthorName: z249.string().min(1).nullish(),
7369
- commitAuthorEmail: z249.string().email().nullish(),
7370
- pullRequestTitle: z249.string().min(1).nullish(),
7371
- pullRequestDescription: z249.string().min(1).nullish(),
7372
- relativePath: z249.string().nullish(),
7373
- purgeDirectory: z249.boolean().nullish()
7374
- });
7375
- var DTOPipelineCreateBody = z249.object({
7376
- name: z249.string(),
7377
- exporterId: z249.string(),
7378
- designSystemId: z249.string(),
7379
- isEnabled: z249.boolean(),
7374
+ var GitDestinationOptions = z250.object({
7375
+ branch: z250.string().min(1).nullish(),
7376
+ commitMessage: z250.string().min(1).nullish(),
7377
+ commitAuthorName: z250.string().min(1).nullish(),
7378
+ commitAuthorEmail: z250.string().email().nullish(),
7379
+ pullRequestTitle: z250.string().min(1).nullish(),
7380
+ pullRequestDescription: z250.string().min(1).nullish(),
7381
+ relativePath: z250.string().nullish(),
7382
+ purgeDirectory: z250.boolean().nullish()
7383
+ });
7384
+ var DTOPipelineCreateBody = z250.object({
7385
+ name: z250.string(),
7386
+ exporterId: z250.string(),
7387
+ designSystemId: z250.string(),
7388
+ isEnabled: z250.boolean(),
7380
7389
  eventType: PipelineEventType,
7381
- brandPersistentId: z249.string().optional(),
7382
- themePersistentId: z249.string().optional(),
7383
- themePersistentIds: z249.string().array().optional(),
7390
+ brandPersistentId: z250.string().optional(),
7391
+ themePersistentId: z250.string().optional(),
7392
+ themePersistentIds: z250.string().array().optional(),
7384
7393
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7385
7394
  destination: PipelineDestinationType.optional(),
7386
7395
  gitQuery: GitObjectsQuery,
7387
- destinations: z249.object({
7396
+ destinations: z250.object({
7388
7397
  s3: ExporterDestinationS3.nullish(),
7389
7398
  azure: ExporterDestinationAzure.nullish(),
7390
7399
  bitbucket: ExporterDestinationBitbucket.nullish(),
7391
7400
  github: ExporterDestinationGithub.nullish(),
7392
7401
  gitlab: ExporterDestinationGitlab.nullish(),
7393
7402
  documentation: ExporterDestinationDocs.nullish(),
7394
- webhookUrl: z249.string().nullish()
7403
+ webhookUrl: z250.string().nullish()
7395
7404
  })
7396
7405
  });
7397
- var DTOPipelineUpdateBody = z249.object({
7398
- exporterId: z249.string().optional(),
7399
- name: z249.string().optional(),
7400
- isEnabled: z249.boolean().optional(),
7406
+ var DTOPipelineUpdateBody = z250.object({
7407
+ exporterId: z250.string().optional(),
7408
+ name: z250.string().optional(),
7409
+ isEnabled: z250.boolean().optional(),
7401
7410
  eventType: PipelineEventType.optional(),
7402
- brandPersistentId: z249.string().optional(),
7403
- themePersistentId: z249.string().optional(),
7404
- themePersistentIds: z249.string().array().optional(),
7411
+ brandPersistentId: z250.string().optional(),
7412
+ themePersistentId: z250.string().optional(),
7413
+ themePersistentIds: z250.string().array().optional(),
7405
7414
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7406
7415
  destination: PipelineDestinationType.optional(),
7407
7416
  gitQuery: GitObjectsQuery.optional(),
7408
- destinations: z249.object({
7417
+ destinations: z250.object({
7409
7418
  s3: ExporterDestinationS3.nullish(),
7410
7419
  azure: ExporterDestinationAzure.nullish(),
7411
7420
  bitbucket: ExporterDestinationBitbucket.nullish(),
7412
7421
  github: ExporterDestinationGithub.nullish(),
7413
7422
  gitlab: ExporterDestinationGitlab.nullish(),
7414
7423
  documentation: ExporterDestinationDocs.nullish(),
7415
- webhookUrl: z249.string().nullish()
7424
+ webhookUrl: z250.string().nullish()
7416
7425
  }).optional(),
7417
7426
  gitDestinationOptions: GitDestinationOptions.partial().optional()
7418
7427
  });
7419
- var DTOPipelineTriggerBody = z249.object({
7420
- designSystemVersionId: z249.string()
7428
+ var DTOPipelineTriggerBody = z250.object({
7429
+ designSystemVersionId: z250.string()
7421
7430
  });
7422
7431
 
7423
7432
  // src/api/payloads/liveblocks/auth.ts
7424
- import { z as z250 } from "zod";
7425
- var DTOLiveblocksAuthRequest = z250.object({
7426
- room: z250.string().optional()
7433
+ import { z as z251 } from "zod";
7434
+ var DTOLiveblocksAuthRequest = z251.object({
7435
+ room: z251.string().optional()
7427
7436
  });
7428
7437
 
7429
7438
  // src/api/payloads/users/notifications/notification-settings.ts
7430
- import { z as z251 } from "zod";
7431
- var DTOUpdateUserNotificationSettingsPayload = z251.object({
7439
+ import { z as z252 } from "zod";
7440
+ var DTOUpdateUserNotificationSettingsPayload = z252.object({
7432
7441
  notificationSettings: UserNotificationSettings
7433
7442
  });
7434
- var DTOUserNotificationSettingsResponse = z251.object({
7435
- userId: z251.string(),
7436
- workspaceId: z251.string(),
7443
+ var DTOUserNotificationSettingsResponse = z252.object({
7444
+ userId: z252.string(),
7445
+ workspaceId: z252.string(),
7437
7446
  notificationSettings: UserNotificationSettings
7438
7447
  });
7439
7448
 
@@ -7441,13 +7450,13 @@ var DTOUserNotificationSettingsResponse = z251.object({
7441
7450
  var DTOUserProfileUpdatePayload = UserProfileUpdate;
7442
7451
 
7443
7452
  // src/api/payloads/workspaces/transfer-ownership.ts
7444
- import { z as z252 } from "zod";
7445
- var DTOTransferOwnershipPayload = z252.object({
7446
- newOwnerId: z252.string()
7453
+ import { z as z253 } from "zod";
7454
+ var DTOTransferOwnershipPayload = z253.object({
7455
+ newOwnerId: z253.string()
7447
7456
  });
7448
7457
 
7449
7458
  // src/api/payloads/workspaces/workspace-configuration.ts
7450
- import { z as z253 } from "zod";
7459
+ import { z as z254 } from "zod";
7451
7460
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
7452
7461
  function validateSsoPayload(ssoPayload) {
7453
7462
  const keys = [];
@@ -7470,21 +7479,21 @@ function validateSsoPayload(ssoPayload) {
7470
7479
  keys
7471
7480
  };
7472
7481
  }
7473
- var NpmRegistryInput = z253.object({
7474
- enabledScopes: z253.array(z253.string()),
7475
- customRegistryUrl: z253.string().optional(),
7476
- bypassProxy: z253.boolean().optional(),
7477
- npmProxyRegistryConfigId: z253.string().optional(),
7478
- npmProxyVersion: z253.number().optional(),
7479
- registryType: z253.string(),
7480
- authType: z253.string(),
7481
- authHeaderName: z253.string(),
7482
- authHeaderValue: z253.string(),
7483
- accessToken: z253.string(),
7484
- username: z253.string(),
7485
- password: z253.string()
7486
- });
7487
- var WorkspaceConfigurationPayload = z253.object({
7482
+ var NpmRegistryInput = z254.object({
7483
+ enabledScopes: z254.array(z254.string()),
7484
+ customRegistryUrl: z254.string().optional(),
7485
+ bypassProxy: z254.boolean().optional(),
7486
+ npmProxyRegistryConfigId: z254.string().optional(),
7487
+ npmProxyVersion: z254.number().optional(),
7488
+ registryType: z254.string(),
7489
+ authType: z254.string(),
7490
+ authHeaderName: z254.string(),
7491
+ authHeaderValue: z254.string(),
7492
+ accessToken: z254.string(),
7493
+ username: z254.string(),
7494
+ password: z254.string()
7495
+ });
7496
+ var WorkspaceConfigurationPayload = z254.object({
7488
7497
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
7489
7498
  sso: SsoProvider.partial().optional(),
7490
7499
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
@@ -7492,107 +7501,107 @@ var WorkspaceConfigurationPayload = z253.object({
7492
7501
  });
7493
7502
 
7494
7503
  // src/api/payloads/workspaces/workspace-integrations.ts
7495
- import { z as z254 } from "zod";
7496
- var DTOWorkspaceIntegrationOauthInput = z254.object({
7504
+ import { z as z255 } from "zod";
7505
+ var DTOWorkspaceIntegrationOauthInput = z255.object({
7497
7506
  type: IntegrationType
7498
7507
  });
7499
- var DTOWorkspaceIntegrationPATInput = z254.object({
7508
+ var DTOWorkspaceIntegrationPATInput = z255.object({
7500
7509
  type: IntegrationType,
7501
7510
  token: IntegrationToken
7502
7511
  });
7503
- var DTOWorkspaceIntegrationGetGitObjectsInput = z254.object({
7504
- organization: z254.string().optional(),
7512
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z255.object({
7513
+ organization: z255.string().optional(),
7505
7514
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
7506
- project: z254.string().optional(),
7515
+ project: z255.string().optional(),
7507
7516
  // Only for Bitbucket and Azure
7508
- repository: z254.string().optional(),
7517
+ repository: z255.string().optional(),
7509
7518
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
7510
- branch: z254.string().optional(),
7519
+ branch: z255.string().optional(),
7511
7520
  // For all providers, useful for PR creations.
7512
- user: z254.string().optional()
7521
+ user: z255.string().optional()
7513
7522
  // Only for Gitlab User Repositories
7514
7523
  });
7515
7524
 
7516
7525
  // src/api/dto/design-systems/version.ts
7517
- var DTODesignSystemVersion = z255.object({
7518
- id: z255.string(),
7519
- createdAt: z255.coerce.date(),
7526
+ var DTODesignSystemVersion = z256.object({
7527
+ id: z256.string(),
7528
+ createdAt: z256.coerce.date(),
7520
7529
  meta: ObjectMeta,
7521
- version: z255.string(),
7522
- isReadonly: z255.boolean(),
7523
- changeLog: z255.string(),
7524
- designSystemId: z255.string()
7530
+ version: z256.string(),
7531
+ isReadonly: z256.boolean(),
7532
+ changeLog: z256.string(),
7533
+ designSystemId: z256.string()
7525
7534
  });
7526
- var DTODesignSystemVersionsListResponse = z255.object({
7527
- designSystemVersions: z255.array(DTODesignSystemVersion)
7535
+ var DTODesignSystemVersionsListResponse = z256.object({
7536
+ designSystemVersions: z256.array(DTODesignSystemVersion)
7528
7537
  });
7529
- var DTODesignSystemVersionGetResponse = z255.object({
7538
+ var DTODesignSystemVersionGetResponse = z256.object({
7530
7539
  designSystemVersion: DTODesignSystemVersion
7531
7540
  });
7532
- var DTODesignSystemVersionCreationResponse = z255.object({
7541
+ var DTODesignSystemVersionCreationResponse = z256.object({
7533
7542
  meta: ObjectMeta,
7534
- version: z255.string(),
7535
- changeLog: z255.string(),
7536
- isReadOnly: z255.boolean(),
7537
- designSystemId: z255.string(),
7538
- jobId: z255.string()
7539
- });
7540
- var VersionSQSPayload = z255.object({
7541
- jobId: z255.string(),
7542
- designSystemId: z255.string(),
7543
+ version: z256.string(),
7544
+ changeLog: z256.string(),
7545
+ isReadOnly: z256.boolean(),
7546
+ designSystemId: z256.string(),
7547
+ jobId: z256.string()
7548
+ });
7549
+ var VersionSQSPayload = z256.object({
7550
+ jobId: z256.string(),
7551
+ designSystemId: z256.string(),
7543
7552
  input: DTOCreateVersionInput
7544
7553
  });
7545
- var DTODesignSystemVersionJobsResponse = z255.object({
7546
- jobs: z255.array(VersionCreationJob)
7554
+ var DTODesignSystemVersionJobsResponse = z256.object({
7555
+ jobs: z256.array(VersionCreationJob)
7547
7556
  });
7548
- var DTODesignSystemVersionJobStatusResponse = z255.object({
7557
+ var DTODesignSystemVersionJobStatusResponse = z256.object({
7549
7558
  job: VersionCreationJob
7550
7559
  });
7551
7560
 
7552
7561
  // src/api/dto/design-systems/view.ts
7553
- import { z as z256 } from "zod";
7554
- var DTOElementViewColumnSharedAttributes = z256.object({
7555
- id: z256.string(),
7556
- persistentId: z256.string(),
7557
- width: z256.number()
7562
+ import { z as z257 } from "zod";
7563
+ var DTOElementViewColumnSharedAttributes = z257.object({
7564
+ id: z257.string(),
7565
+ persistentId: z257.string(),
7566
+ width: z257.number()
7558
7567
  });
7559
7568
  var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
7560
- type: z256.literal("BaseProperty"),
7569
+ type: z257.literal("BaseProperty"),
7561
7570
  basePropertyType: ElementViewBaseColumnType
7562
7571
  });
7563
7572
  var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
7564
- type: z256.literal("PropertyDefinition"),
7565
- propertyDefinitionId: z256.string()
7573
+ type: z257.literal("PropertyDefinition"),
7574
+ propertyDefinitionId: z257.string()
7566
7575
  });
7567
7576
  var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
7568
- type: z256.literal("Theme"),
7569
- themeId: z256.string()
7577
+ type: z257.literal("Theme"),
7578
+ themeId: z257.string()
7570
7579
  });
7571
- var DTOElementViewColumn = z256.discriminatedUnion("type", [
7580
+ var DTOElementViewColumn = z257.discriminatedUnion("type", [
7572
7581
  DTOElementViewBasePropertyColumn,
7573
7582
  DTOElementViewPropertyDefinitionColumn,
7574
7583
  DTOElementViewThemeColumn
7575
7584
  ]);
7576
- var DTOElementView = z256.object({
7585
+ var DTOElementView = z257.object({
7577
7586
  meta: ObjectMeta,
7578
- persistentId: z256.string(),
7587
+ persistentId: z257.string(),
7579
7588
  targetElementType: ElementPropertyTargetType,
7580
- id: z256.string(),
7581
- isDefault: z256.boolean(),
7582
- columns: z256.array(DTOElementViewColumn)
7589
+ id: z257.string(),
7590
+ isDefault: z257.boolean(),
7591
+ columns: z257.array(DTOElementViewColumn)
7583
7592
  });
7584
- var DTOElementViewsListResponse = z256.object({
7585
- elementDataViews: z256.array(DTOElementView)
7593
+ var DTOElementViewsListResponse = z257.object({
7594
+ elementDataViews: z257.array(DTOElementView)
7586
7595
  });
7587
7596
 
7588
7597
  // src/api/dto/bff/app-bootstrap-data.ts
7589
- var DTOAppBootstrapDataQuery = z257.object({
7590
- preferredWorkspaceId: z257.string().optional(),
7591
- preferredDesignSystemId: z257.string().optional(),
7592
- preferredVersionId: z257.string().optional(),
7593
- preferredBrandId: z257.string().optional()
7598
+ var DTOAppBootstrapDataQuery = z258.object({
7599
+ preferredWorkspaceId: z258.string().optional(),
7600
+ preferredDesignSystemId: z258.string().optional(),
7601
+ preferredVersionId: z258.string().optional(),
7602
+ preferredBrandId: z258.string().optional()
7594
7603
  });
7595
- var DTOAppBootstrapDataResponse = z257.object({
7604
+ var DTOAppBootstrapDataResponse = z258.object({
7596
7605
  workspaceMembership: DTOUserWorkspaceMembership.optional(),
7597
7606
  designSystem: DTODesignSystem.optional(),
7598
7607
  version: DTODesignSystemVersion.optional(),
@@ -7600,92 +7609,92 @@ var DTOAppBootstrapDataResponse = z257.object({
7600
7609
  });
7601
7610
 
7602
7611
  // src/api/dto/collections/token-collection.ts
7603
- import { z as z258 } from "zod";
7604
- var DTOTokenCollection = z258.object({
7605
- id: z258.string(),
7606
- persistentId: z258.string(),
7607
- designSystemVersionId: z258.string(),
7612
+ import { z as z259 } from "zod";
7613
+ var DTOTokenCollection = z259.object({
7614
+ id: z259.string(),
7615
+ persistentId: z259.string(),
7616
+ designSystemVersionId: z259.string(),
7608
7617
  meta: ObjectMeta,
7609
7618
  backgroundColor: ColorTokenInlineData.optional(),
7610
- elementPropertyOptionId: z258.string(),
7611
- createdAt: z258.coerce.date(),
7612
- updatedAt: z258.coerce.date(),
7619
+ elementPropertyOptionId: z259.string(),
7620
+ createdAt: z259.coerce.date(),
7621
+ updatedAt: z259.coerce.date(),
7613
7622
  origin: CollectionOrigin.optional()
7614
7623
  });
7615
- var DTOTokenCollectionsListReponse = z258.object({
7624
+ var DTOTokenCollectionsListReponse = z259.object({
7616
7625
  collections: DTOTokenCollection.array()
7617
7626
  });
7618
7627
 
7619
7628
  // src/api/dto/design-tokens/design-token.ts
7620
- import { z as z259 } from "zod";
7629
+ import { z as z260 } from "zod";
7621
7630
  var DTODesignToken = DesignTokenTypedData.and(
7622
- z259.object({
7623
- id: z259.string(),
7624
- persistentId: z259.string(),
7625
- designSystemVersionId: z259.string(),
7631
+ z260.object({
7632
+ id: z260.string(),
7633
+ persistentId: z260.string(),
7634
+ designSystemVersionId: z260.string(),
7626
7635
  meta: ObjectMeta,
7627
7636
  originStyle: DesignTokenOrigin.optional(),
7628
- brandId: z259.string(),
7629
- collectionId: z259.string().optional(),
7630
- updatedAt: z259.coerce.date()
7637
+ brandId: z260.string(),
7638
+ collectionId: z260.string().optional(),
7639
+ updatedAt: z260.coerce.date()
7631
7640
  })
7632
7641
  );
7633
- var DTODesignTokenListResponse = z259.object({
7642
+ var DTODesignTokenListResponse = z260.object({
7634
7643
  tokens: DTODesignToken.array()
7635
7644
  });
7636
- var DTODesignTokenResponse = z259.object({
7645
+ var DTODesignTokenResponse = z260.object({
7637
7646
  token: DTODesignToken
7638
7647
  });
7639
- var DTODesignTokenGroup = z259.object({
7640
- id: z259.string(),
7648
+ var DTODesignTokenGroup = z260.object({
7649
+ id: z260.string(),
7641
7650
  tokenType: DesignTokenType,
7642
- persistentId: z259.string(),
7643
- isRoot: z259.boolean(),
7644
- brandId: z259.string(),
7651
+ persistentId: z260.string(),
7652
+ isRoot: z260.boolean(),
7653
+ brandId: z260.string(),
7645
7654
  meta: ObjectMeta,
7646
- childrenIds: z259.string().array()
7655
+ childrenIds: z260.string().array()
7647
7656
  });
7648
- var DTODesignTokenGroupListResponse = z259.object({
7657
+ var DTODesignTokenGroupListResponse = z260.object({
7649
7658
  groups: DTODesignTokenGroup.array()
7650
7659
  });
7651
- var DTODesignTokenGroupResponse = z259.object({
7660
+ var DTODesignTokenGroupResponse = z260.object({
7652
7661
  group: DTODesignTokenGroup
7653
7662
  });
7654
7663
  var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
7655
- z259.object({
7656
- persistentId: z259.string(),
7664
+ z260.object({
7665
+ persistentId: z260.string(),
7657
7666
  meta: ObjectMeta,
7658
- brandId: z259.string(),
7659
- groupPersistentId: z259.string().optional()
7667
+ brandId: z260.string(),
7668
+ groupPersistentId: z260.string().optional()
7660
7669
  })
7661
7670
  );
7662
- var DTODesignTokenGroupCreatePayload = z259.object({
7663
- persistentId: z259.string(),
7671
+ var DTODesignTokenGroupCreatePayload = z260.object({
7672
+ persistentId: z260.string(),
7664
7673
  meta: ObjectMeta,
7665
- brandId: z259.string(),
7666
- parentId: z259.string().optional(),
7674
+ brandId: z260.string(),
7675
+ parentId: z260.string().optional(),
7667
7676
  tokenType: DesignTokenType,
7668
- childrenIds: z259.string().array()
7677
+ childrenIds: z260.string().array()
7669
7678
  });
7670
7679
 
7671
7680
  // src/api/dto/documentation/analytics-v2.ts
7672
- import { z as z260 } from "zod";
7673
- var DTODocumentationAnalyticsTimeFrame = z260.object({
7674
- start: z260.coerce.date(),
7675
- end: z260.coerce.date().optional()
7681
+ import { z as z261 } from "zod";
7682
+ var DTODocumentationAnalyticsTimeFrame = z261.object({
7683
+ start: z261.coerce.date(),
7684
+ end: z261.coerce.date().optional()
7676
7685
  });
7677
- var DTOPublishedDocVisitData = z260.object({
7678
- timestamp: z260.coerce.date(),
7679
- versionId: z260.string(),
7680
- locale: z260.string().optional(),
7681
- visits: z260.number(),
7682
- sessions: z260.number()
7686
+ var DTOPublishedDocVisitData = z261.object({
7687
+ timestamp: z261.coerce.date(),
7688
+ versionId: z261.string(),
7689
+ locale: z261.string().optional(),
7690
+ visits: z261.number(),
7691
+ sessions: z261.number()
7683
7692
  });
7684
7693
  var DTOPublishedDocPageVisitData = DTOPublishedDocVisitData.extend({
7685
- pagePersistentId: z260.string()
7694
+ pagePersistentId: z261.string()
7686
7695
  });
7687
- var DTOPublishedDocVisitHeatMapDay = z260.number().array().length(12);
7688
- var DTOPublishedDocVisitHeatMapWeek = z260.object({
7696
+ var DTOPublishedDocVisitHeatMapDay = z261.number().array().length(12);
7697
+ var DTOPublishedDocVisitHeatMapWeek = z261.object({
7689
7698
  /**
7690
7699
  * For which timeframe it was calculated
7691
7700
  */
@@ -7698,65 +7707,65 @@ var DTOPublishedDocVisitHeatMapWeek = z260.object({
7698
7707
  sat: DTOPublishedDocVisitHeatMapDay,
7699
7708
  sun: DTOPublishedDocVisitHeatMapDay
7700
7709
  });
7701
- var DTOPublishedDocAnalyticsComparisonData = z260.object({
7710
+ var DTOPublishedDocAnalyticsComparisonData = z261.object({
7702
7711
  /**
7703
7712
  * For which timeframe it was calculated
7704
7713
  */
7705
7714
  timeFrame: DTODocumentationAnalyticsTimeFrame,
7706
- priorVisitCount: z260.number(),
7707
- priorSessionCount: z260.number(),
7708
- currentVisitCount: z260.number(),
7709
- currentSessionCount: z260.number()
7715
+ priorVisitCount: z261.number(),
7716
+ priorSessionCount: z261.number(),
7717
+ currentVisitCount: z261.number(),
7718
+ currentSessionCount: z261.number()
7710
7719
  });
7711
7720
  var DTOPublishedDocPageAnalyticsComparisonData = DTOPublishedDocAnalyticsComparisonData.extend({
7712
- pagePersistentId: z260.string()
7721
+ pagePersistentId: z261.string()
7713
7722
  });
7714
- var DTODocumentationPageAnalyticsResponse = z260.object({
7723
+ var DTODocumentationPageAnalyticsResponse = z261.object({
7715
7724
  globalAnalytics: DTOPublishedDocVisitData.array(),
7716
7725
  pageAnalytics: DTOPublishedDocPageVisitData.array(),
7717
7726
  heatMapData: DTOPublishedDocVisitHeatMapWeek.array(),
7718
7727
  comparisonData: DTOPublishedDocAnalyticsComparisonData.array(),
7719
7728
  pageComparisonData: DTOPublishedDocPageAnalyticsComparisonData.array()
7720
7729
  });
7721
- var DTODocumentationAnalyticsRequest = z260.object({
7722
- timeFrames: z260.array(DTODocumentationAnalyticsTimeFrame)
7730
+ var DTODocumentationAnalyticsRequest = z261.object({
7731
+ timeFrames: z261.array(DTODocumentationAnalyticsTimeFrame)
7723
7732
  });
7724
7733
 
7725
7734
  // src/api/dto/documentation/analytics.ts
7726
- import { z as z261 } from "zod";
7727
- var DTODocumentationPageAnalyticsDifference = z261.object({
7728
- startDate: z261.coerce.date(),
7729
- endDate: z261.coerce.date().optional(),
7730
- currentVisitCount: z261.number(),
7731
- currentSessionCount: z261.number(),
7732
- priorVisitCount: z261.number(),
7733
- priorSessionCount: z261.number()
7735
+ import { z as z262 } from "zod";
7736
+ var DTODocumentationPageAnalyticsDifference = z262.object({
7737
+ startDate: z262.coerce.date(),
7738
+ endDate: z262.coerce.date().optional(),
7739
+ currentVisitCount: z262.number(),
7740
+ currentSessionCount: z262.number(),
7741
+ priorVisitCount: z262.number(),
7742
+ priorSessionCount: z262.number()
7734
7743
  });
7735
- var DTODocumentationPageIntervalDifferenceResponse = z261.object({
7736
- differences: z261.array(DTODocumentationPageAnalyticsDifference)
7744
+ var DTODocumentationPageIntervalDifferenceResponse = z262.object({
7745
+ differences: z262.array(DTODocumentationPageAnalyticsDifference)
7737
7746
  });
7738
7747
 
7739
7748
  // src/api/dto/documentation/anchor.ts
7740
- import { z as z262 } from "zod";
7749
+ import { z as z263 } from "zod";
7741
7750
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
7742
- var DTOGetDocumentationPageAnchorsResponse = z262.object({
7743
- anchors: z262.array(DTODocumentationPageAnchor)
7751
+ var DTOGetDocumentationPageAnchorsResponse = z263.object({
7752
+ anchors: z263.array(DTODocumentationPageAnchor)
7744
7753
  });
7745
7754
 
7746
7755
  // src/api/dto/documentation/approvals.ts
7747
- import { z as z263 } from "zod";
7748
- var DTODocumentationPageApprovalState = z263.object({
7756
+ import { z as z264 } from "zod";
7757
+ var DTODocumentationPageApprovalState = z264.object({
7749
7758
  approvalState: DocumentationPageApprovalState,
7750
- pagePersistentId: z263.string(),
7751
- updatedByUserId: z263.string(),
7752
- designSystemVersionId: z263.string(),
7753
- updatedAt: z263.coerce.date(),
7754
- createdAt: z263.coerce.date()
7755
- });
7756
- var DTODocumentationGroupApprovalState = z263.object({
7757
- persistentId: z263.string(),
7758
- groupPersistentId: z263.string(),
7759
- designSystemVersionId: z263.string(),
7759
+ pagePersistentId: z264.string(),
7760
+ updatedByUserId: z264.string(),
7761
+ designSystemVersionId: z264.string(),
7762
+ updatedAt: z264.coerce.date(),
7763
+ createdAt: z264.coerce.date()
7764
+ });
7765
+ var DTODocumentationGroupApprovalState = z264.object({
7766
+ persistentId: z264.string(),
7767
+ groupPersistentId: z264.string(),
7768
+ designSystemVersionId: z264.string(),
7760
7769
  approvalState: DocumentationPageApprovalState
7761
7770
  });
7762
7771
 
@@ -7764,68 +7773,68 @@ var DTODocumentationGroupApprovalState = z263.object({
7764
7773
  var DTOPageBlockItemV2 = PageBlockItemV2;
7765
7774
 
7766
7775
  // src/api/dto/documentation/documentation-page-snapshot.ts
7767
- import { z as z268 } from "zod";
7776
+ import { z as z269 } from "zod";
7768
7777
 
7769
7778
  // src/api/dto/elements/documentation/page-v2.ts
7770
- import { z as z267 } from "zod";
7779
+ import { z as z268 } from "zod";
7771
7780
 
7772
7781
  // src/api/dto/elements/documentation/draft-state.ts
7773
- import { z as z265 } from "zod";
7782
+ import { z as z266 } from "zod";
7774
7783
 
7775
7784
  // src/api/dto/elements/documentation/item-configuration-v2.ts
7776
- import { z as z264 } from "zod";
7785
+ import { z as z265 } from "zod";
7777
7786
  var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
7778
- var DTODocumentationItemConfigurationV2 = z264.object({
7779
- showSidebar: z264.boolean(),
7780
- isPrivate: z264.boolean(),
7781
- isHidden: z264.boolean(),
7787
+ var DTODocumentationItemConfigurationV2 = z265.object({
7788
+ showSidebar: z265.boolean(),
7789
+ isPrivate: z265.boolean(),
7790
+ isHidden: z265.boolean(),
7782
7791
  header: DTODocumentationItemHeaderV2
7783
7792
  });
7784
7793
 
7785
7794
  // src/api/dto/elements/documentation/draft-state.ts
7786
- var DTODocumentationDraftChangeType = z265.enum(["Created", "Updated", "Deleted"]);
7787
- var DTODocumentationDraftStateCreated = z265.object({
7788
- changeType: z265.literal(DTODocumentationDraftChangeType.enum.Created)
7789
- });
7790
- var DTODocumentationDraftStateUpdated = z265.object({
7791
- changeType: z265.literal(DTODocumentationDraftChangeType.enum.Updated),
7792
- changes: z265.object({
7793
- previousTitle: z265.string().optional(),
7795
+ var DTODocumentationDraftChangeType = z266.enum(["Created", "Updated", "Deleted"]);
7796
+ var DTODocumentationDraftStateCreated = z266.object({
7797
+ changeType: z266.literal(DTODocumentationDraftChangeType.enum.Created)
7798
+ });
7799
+ var DTODocumentationDraftStateUpdated = z266.object({
7800
+ changeType: z266.literal(DTODocumentationDraftChangeType.enum.Updated),
7801
+ changes: z266.object({
7802
+ previousTitle: z266.string().optional(),
7794
7803
  previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
7795
- previousContentHash: z265.string().optional()
7804
+ previousContentHash: z266.string().optional()
7796
7805
  })
7797
7806
  });
7798
- var DTODocumentationDraftStateDeleted = z265.object({
7799
- changeType: z265.literal(DTODocumentationDraftChangeType.enum.Deleted),
7800
- deletedAt: z265.coerce.date(),
7801
- deletedByUserId: z265.string()
7807
+ var DTODocumentationDraftStateDeleted = z266.object({
7808
+ changeType: z266.literal(DTODocumentationDraftChangeType.enum.Deleted),
7809
+ deletedAt: z266.coerce.date(),
7810
+ deletedByUserId: z266.string()
7802
7811
  });
7803
- var DTODocumentationDraftState = z265.discriminatedUnion("changeType", [
7812
+ var DTODocumentationDraftState = z266.discriminatedUnion("changeType", [
7804
7813
  DTODocumentationDraftStateCreated,
7805
7814
  DTODocumentationDraftStateUpdated,
7806
7815
  DTODocumentationDraftStateDeleted
7807
7816
  ]);
7808
7817
 
7809
7818
  // src/api/dto/elements/documentation/metadata.ts
7810
- import { z as z266 } from "zod";
7811
- var DTODocumentationPublishMetadata = z266.object({
7812
- lastPublishedByUserId: z266.string(),
7813
- lastPublishedAt: z266.coerce.date()
7819
+ import { z as z267 } from "zod";
7820
+ var DTODocumentationPublishMetadata = z267.object({
7821
+ lastPublishedByUserId: z267.string(),
7822
+ lastPublishedAt: z267.coerce.date()
7814
7823
  });
7815
7824
 
7816
7825
  // src/api/dto/elements/documentation/page-v2.ts
7817
- var DTODocumentationPageV2 = z267.object({
7818
- id: z267.string(),
7819
- persistentId: z267.string(),
7820
- designSystemVersionId: z267.string(),
7821
- title: z267.string(),
7826
+ var DTODocumentationPageV2 = z268.object({
7827
+ id: z268.string(),
7828
+ persistentId: z268.string(),
7829
+ designSystemVersionId: z268.string(),
7830
+ title: z268.string(),
7822
7831
  configuration: DTODocumentationItemConfigurationV2,
7823
- shortPersistentId: z267.string(),
7824
- slug: z267.string().optional(),
7825
- userSlug: z267.string().optional(),
7826
- createdAt: z267.coerce.date(),
7827
- updatedAt: z267.coerce.date(),
7828
- path: z267.string(),
7832
+ shortPersistentId: z268.string(),
7833
+ slug: z268.string().optional(),
7834
+ userSlug: z268.string().optional(),
7835
+ createdAt: z268.coerce.date(),
7836
+ updatedAt: z268.coerce.date(),
7837
+ path: z268.string(),
7829
7838
  /** Defined when a page has changed since last publish and can be included into a partial publish */
7830
7839
  draftState: DTODocumentationDraftState.optional(),
7831
7840
  /** Defined if a page was published at least once and contains metadata about last publish */
@@ -7833,278 +7842,278 @@ var DTODocumentationPageV2 = z267.object({
7833
7842
  /** Defines the approval state of the documentation page */
7834
7843
  approvalState: DTODocumentationPageApprovalState.optional(),
7835
7844
  /** Id of the page document room */
7836
- liveblocksRoomId: z267.string().optional(),
7845
+ liveblocksRoomId: z268.string().optional(),
7837
7846
  // Backward compatibility
7838
- type: z267.literal("Page")
7847
+ type: z268.literal("Page")
7839
7848
  });
7840
- var DTOCreateDocumentationPageInputV2 = z267.object({
7849
+ var DTOCreateDocumentationPageInputV2 = z268.object({
7841
7850
  // Identifier
7842
- persistentId: z267.string(),
7851
+ persistentId: z268.string(),
7843
7852
  // Page properties
7844
- title: z267.string(),
7853
+ title: z268.string(),
7845
7854
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
7846
7855
  // Page placement properties
7847
- parentPersistentId: z267.string(),
7848
- afterPersistentId: z267.string().nullish()
7856
+ parentPersistentId: z268.string(),
7857
+ afterPersistentId: z268.string().nullish()
7849
7858
  });
7850
- var DTOUpdateDocumentationPageInputV2 = z267.object({
7859
+ var DTOUpdateDocumentationPageInputV2 = z268.object({
7851
7860
  // Identifier of the page to update
7852
- id: z267.string(),
7861
+ id: z268.string(),
7853
7862
  // Page properties
7854
- title: z267.string().optional(),
7863
+ title: z268.string().optional(),
7855
7864
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
7856
7865
  });
7857
- var DTOUpdateDocumentationPageDocumentInputV2 = z267.object({
7866
+ var DTOUpdateDocumentationPageDocumentInputV2 = z268.object({
7858
7867
  // Identifier of the page to update
7859
- id: z267.string(),
7868
+ id: z268.string(),
7860
7869
  // Page properties
7861
- documentItems: z267.array(DocumentationPageContentItem)
7870
+ documentItems: z268.array(DocumentationPageContentItem)
7862
7871
  });
7863
- var DTOMoveDocumentationPageInputV2 = z267.object({
7872
+ var DTOMoveDocumentationPageInputV2 = z268.object({
7864
7873
  // Identifier of the group to update
7865
- id: z267.string(),
7874
+ id: z268.string(),
7866
7875
  // Page placement properties
7867
- parentPersistentId: z267.string(),
7868
- afterPersistentId: z267.string().nullish()
7876
+ parentPersistentId: z268.string(),
7877
+ afterPersistentId: z268.string().nullish()
7869
7878
  });
7870
- var DTODuplicateDocumentationPageInputV2 = z267.object({
7879
+ var DTODuplicateDocumentationPageInputV2 = z268.object({
7871
7880
  // Identifier of the page to duplicate from
7872
- id: z267.string(),
7881
+ id: z268.string(),
7873
7882
  // New page persistent id
7874
- persistentId: z267.string(),
7883
+ persistentId: z268.string(),
7875
7884
  // Page placement properties
7876
- parentPersistentId: z267.string(),
7877
- afterPersistentId: z267.string().nullish()
7885
+ parentPersistentId: z268.string(),
7886
+ afterPersistentId: z268.string().nullish()
7878
7887
  });
7879
- var DTODeleteDocumentationPageInputV2 = z267.object({
7888
+ var DTODeleteDocumentationPageInputV2 = z268.object({
7880
7889
  // Identifier
7881
- id: z267.string()
7890
+ id: z268.string()
7882
7891
  });
7883
- var DTORestoreDocumentationPageInput = z267.object({
7884
- persistentId: z267.string(),
7885
- snapshotId: z267.string().optional()
7892
+ var DTORestoreDocumentationPageInput = z268.object({
7893
+ persistentId: z268.string(),
7894
+ snapshotId: z268.string().optional()
7886
7895
  });
7887
- var DTORestoreDocumentationGroupInput = z267.object({
7888
- persistentId: z267.string(),
7889
- snapshotId: z267.string().optional()
7896
+ var DTORestoreDocumentationGroupInput = z268.object({
7897
+ persistentId: z268.string(),
7898
+ snapshotId: z268.string().optional()
7890
7899
  });
7891
- var DTODocumentationPageApprovalStateChangeInput = z267.object({
7892
- persistentId: z267.string(),
7900
+ var DTODocumentationPageApprovalStateChangeInput = z268.object({
7901
+ persistentId: z268.string(),
7893
7902
  approvalState: DocumentationPageApprovalState.optional()
7894
7903
  });
7895
7904
 
7896
7905
  // src/api/dto/documentation/documentation-page-snapshot.ts
7897
- var DTODocumentationPageSnapshot = z268.object({
7898
- id: z268.string(),
7899
- designSystemVersionId: z268.string(),
7900
- createdAt: z268.string(),
7901
- updatedAt: z268.string(),
7906
+ var DTODocumentationPageSnapshot = z269.object({
7907
+ id: z269.string(),
7908
+ designSystemVersionId: z269.string(),
7909
+ createdAt: z269.string(),
7910
+ updatedAt: z269.string(),
7902
7911
  documentationPage: DTODocumentationPageV2,
7903
- pageContentHash: z268.string(),
7912
+ pageContentHash: z269.string(),
7904
7913
  reason: DesignElementSnapshotReason
7905
7914
  });
7906
7915
 
7907
7916
  // src/api/dto/documentation/link-preview.ts
7908
- import { z as z269 } from "zod";
7909
- var DTODocumentationLinkPreviewResponse = z269.object({
7917
+ import { z as z270 } from "zod";
7918
+ var DTODocumentationLinkPreviewResponse = z270.object({
7910
7919
  linkPreview: DocumentationLinkPreview
7911
7920
  });
7912
- var DTODocumentationLinkPreviewRequest = z269.object({
7913
- url: z269.string().optional(),
7914
- documentationItemPersistentId: z269.string().optional()
7921
+ var DTODocumentationLinkPreviewRequest = z270.object({
7922
+ url: z270.string().optional(),
7923
+ documentationItemPersistentId: z270.string().optional()
7915
7924
  });
7916
7925
 
7917
7926
  // src/api/dto/documentation/publish.ts
7918
- import { z as z274 } from "zod";
7927
+ import { z as z275 } from "zod";
7919
7928
 
7920
7929
  // src/api/dto/export/exporter.ts
7921
- import { z as z270 } from "zod";
7922
- var DTOExporterType = z270.enum(["documentation", "code"]);
7923
- var DTOExporterSource = z270.enum(["git", "upload"]);
7924
- var DTOExporterMembershipRole = z270.enum(["Owner", "OwnerArchived", "User"]);
7925
- var DTOExporterListQuery = z270.object({
7926
- limit: z270.coerce.number().optional(),
7927
- offset: z270.coerce.number().optional(),
7930
+ import { z as z271 } from "zod";
7931
+ var DTOExporterType = z271.enum(["documentation", "code"]);
7932
+ var DTOExporterSource = z271.enum(["git", "upload"]);
7933
+ var DTOExporterMembershipRole = z271.enum(["Owner", "OwnerArchived", "User"]);
7934
+ var DTOExporterListQuery = z271.object({
7935
+ limit: z271.coerce.number().optional(),
7936
+ offset: z271.coerce.number().optional(),
7928
7937
  type: DTOExporterType.optional(),
7929
- search: z270.string().optional()
7938
+ search: z271.string().optional()
7930
7939
  });
7931
- var DTOExporter = z270.object({
7932
- id: z270.string(),
7933
- name: z270.string(),
7934
- isPrivate: z270.boolean(),
7940
+ var DTOExporter = z271.object({
7941
+ id: z271.string(),
7942
+ name: z271.string(),
7943
+ isPrivate: z271.boolean(),
7935
7944
  exporterType: DTOExporterType,
7936
- isDefaultDocumentationExporter: z270.boolean(),
7937
- iconURL: z270.string().optional(),
7945
+ isDefaultDocumentationExporter: z271.boolean(),
7946
+ iconURL: z271.string().optional(),
7938
7947
  configurationProperties: PulsarContributionConfigurationProperty.array(),
7939
7948
  properties: DTOExporterPropertyDefinition.array().optional(),
7940
7949
  customBlocks: PulsarCustomBlock.array(),
7941
- blockVariants: z270.record(z270.string(), PulsarContributionVariant.array()),
7942
- homepage: z270.string().optional(),
7943
- organization: z270.string().optional(),
7944
- packageId: z270.string().optional(),
7945
- tags: z270.array(z270.string()),
7946
- author: z270.string().optional(),
7947
- version: z270.string(),
7948
- description: z270.string(),
7949
- usesLocale: z270.boolean(),
7950
- usesBrands: z270.boolean(),
7951
- usesThemes: z270.boolean(),
7952
- readme: z270.string().optional(),
7953
- routingVersion: z270.string().optional(),
7950
+ blockVariants: z271.record(z271.string(), PulsarContributionVariant.array()),
7951
+ homepage: z271.string().optional(),
7952
+ organization: z271.string().optional(),
7953
+ packageId: z271.string().optional(),
7954
+ tags: z271.array(z271.string()),
7955
+ author: z271.string().optional(),
7956
+ version: z271.string(),
7957
+ description: z271.string(),
7958
+ usesLocale: z271.boolean(),
7959
+ usesBrands: z271.boolean(),
7960
+ usesThemes: z271.boolean(),
7961
+ readme: z271.string().optional(),
7962
+ routingVersion: z271.string().optional(),
7954
7963
  source: DTOExporterSource,
7955
- gitProvider: z270.string().optional(),
7956
- gitUrl: nullishToOptional(z270.string()),
7957
- gitBranch: nullishToOptional(z270.string()),
7958
- gitDirectory: nullishToOptional(z270.string()),
7959
- isDeprecated: z270.boolean(),
7960
- deprecationNote: z270.string().optional(),
7961
- replacementExporterId: z270.string().optional()
7962
- });
7963
- var DTOExporterMembership = z270.object({
7964
- workspaceId: z270.string(),
7965
- exporterId: z270.string(),
7964
+ gitProvider: z271.string().optional(),
7965
+ gitUrl: nullishToOptional(z271.string()),
7966
+ gitBranch: nullishToOptional(z271.string()),
7967
+ gitDirectory: nullishToOptional(z271.string()),
7968
+ isDeprecated: z271.boolean(),
7969
+ deprecationNote: z271.string().optional(),
7970
+ replacementExporterId: z271.string().optional()
7971
+ });
7972
+ var DTOExporterMembership = z271.object({
7973
+ workspaceId: z271.string(),
7974
+ exporterId: z271.string(),
7966
7975
  role: DTOExporterMembershipRole
7967
7976
  });
7968
- var DTOExporterResponse = z270.object({
7977
+ var DTOExporterResponse = z271.object({
7969
7978
  exporter: DTOExporter,
7970
7979
  membership: DTOExporterMembership
7971
7980
  });
7972
- var DTOExporterListResponse = z270.object({
7981
+ var DTOExporterListResponse = z271.object({
7973
7982
  exporters: DTOExporter.array(),
7974
7983
  membership: DTOExporterMembership.array(),
7975
- total: z270.number()
7984
+ total: z271.number()
7976
7985
  });
7977
- var DTOExporterGitProviderEnum = z270.enum(["github", "gitlab", "bitbucket", "azure"]);
7978
- var DTOExporterCreateInput = z270.object({
7979
- url: z270.string(),
7986
+ var DTOExporterGitProviderEnum = z271.enum(["github", "gitlab", "bitbucket", "azure"]);
7987
+ var DTOExporterCreateInput = z271.object({
7988
+ url: z271.string(),
7980
7989
  provider: DTOExporterGitProviderEnum
7981
7990
  });
7982
- var DTOExporterUpdateInput = z270.object({
7983
- url: z270.string().optional()
7991
+ var DTOExporterUpdateInput = z271.object({
7992
+ url: z271.string().optional()
7984
7993
  });
7985
- var DTOExporterDeprecationInput = z270.object({
7986
- isDeprecated: z270.boolean(),
7987
- deprecationNote: z270.string().optional(),
7988
- replacementExporterId: z270.string().optional()
7994
+ var DTOExporterDeprecationInput = z271.object({
7995
+ isDeprecated: z271.boolean(),
7996
+ deprecationNote: z271.string().optional(),
7997
+ replacementExporterId: z271.string().optional()
7989
7998
  });
7990
7999
 
7991
8000
  // src/api/dto/export/filter.ts
7992
- import { z as z271 } from "zod";
7993
- var DTOExportJobsListFilter = z271.object({
7994
- exporterId: z271.string().optional(),
7995
- designSystemVersionId: z271.string().optional(),
7996
- createdByUserId: z271.string().optional(),
8001
+ import { z as z272 } from "zod";
8002
+ var DTOExportJobsListFilter = z272.object({
8003
+ exporterId: z272.string().optional(),
8004
+ designSystemVersionId: z272.string().optional(),
8005
+ createdByUserId: z272.string().optional(),
7997
8006
  status: ExportJobStatus.optional(),
7998
- scheduleId: z271.string().optional(),
7999
- designSystemId: z271.string().optional(),
8000
- themeId: z271.string().optional(),
8001
- brandId: z271.string().optional(),
8002
- destinations: z271.string().transform((s) => s.split(",").map((p) => ExportJobDestinationType.parse(p))).optional()
8007
+ scheduleId: z272.string().optional(),
8008
+ designSystemId: z272.string().optional(),
8009
+ themeId: z272.string().optional(),
8010
+ brandId: z272.string().optional(),
8011
+ destinations: z272.string().transform((s) => s.split(",").map((p) => ExportJobDestinationType.parse(p))).optional()
8003
8012
  });
8004
8013
 
8005
8014
  // src/api/dto/export/job.ts
8006
- import { z as z272 } from "zod";
8007
- var DTOExportJobCreatedBy = z272.object({
8008
- userId: z272.string(),
8009
- userName: z272.string()
8015
+ import { z as z273 } from "zod";
8016
+ var DTOExportJobCreatedBy = z273.object({
8017
+ userId: z273.string(),
8018
+ userName: z273.string()
8010
8019
  });
8011
- var DTOExportJobDesignSystemPreview = z272.object({
8012
- id: z272.string(),
8020
+ var DTOExportJobDesignSystemPreview = z273.object({
8021
+ id: z273.string(),
8013
8022
  meta: ObjectMeta
8014
8023
  });
8015
- var DTOExportJobDesignSystemVersionPreview = z272.object({
8016
- id: z272.string(),
8024
+ var DTOExportJobDesignSystemVersionPreview = z273.object({
8025
+ id: z273.string(),
8017
8026
  meta: ObjectMeta,
8018
- version: z272.string(),
8019
- isReadonly: z272.boolean()
8027
+ version: z273.string(),
8028
+ isReadonly: z273.boolean()
8020
8029
  });
8021
- var DTOExportJobDestinations = z272.object({
8030
+ var DTOExportJobDestinations = z273.object({
8022
8031
  s3: ExporterDestinationS3.optional(),
8023
8032
  azure: ExporterDestinationAzure.optional(),
8024
8033
  bitbucket: ExporterDestinationBitbucket.optional(),
8025
8034
  github: ExporterDestinationGithub.optional(),
8026
8035
  gitlab: ExporterDestinationGitlab.optional(),
8027
8036
  documentation: ExporterDestinationDocs.optional(),
8028
- webhookUrl: z272.string().optional()
8037
+ webhookUrl: z273.string().optional()
8029
8038
  });
8030
8039
  var DTOExportJobResult = ExportJobResult.omit({
8031
8040
  sndocs: true
8032
8041
  }).extend({
8033
8042
  documentation: ExportJobDocsDestinationResult.optional()
8034
8043
  });
8035
- var DTOExportJob = z272.object({
8036
- id: z272.string(),
8037
- createdAt: z272.coerce.date(),
8038
- finishedAt: z272.coerce.date().optional(),
8039
- index: z272.number().optional(),
8044
+ var DTOExportJob = z273.object({
8045
+ id: z273.string(),
8046
+ createdAt: z273.coerce.date(),
8047
+ finishedAt: z273.coerce.date().optional(),
8048
+ index: z273.number().optional(),
8040
8049
  status: ExportJobStatus,
8041
- estimatedExecutionTime: z272.number().optional(),
8050
+ estimatedExecutionTime: z273.number().optional(),
8042
8051
  createdBy: DTOExportJobCreatedBy.optional(),
8043
8052
  designSystem: DTOExportJobDesignSystemPreview,
8044
8053
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
8045
8054
  destinations: DTOExportJobDestinations,
8046
- exporterId: z272.string(),
8047
- scheduleId: z272.string().optional(),
8055
+ exporterId: z273.string(),
8056
+ scheduleId: z273.string().optional(),
8048
8057
  result: DTOExportJobResult.optional(),
8049
- brandPersistentId: z272.string().optional(),
8050
- themePersistentId: z272.string().optional(),
8051
- themePersistentIds: z272.string().array().optional(),
8058
+ brandPersistentId: z273.string().optional(),
8059
+ themePersistentId: z273.string().optional(),
8060
+ themePersistentIds: z273.string().array().optional(),
8052
8061
  exporterPropertyValues: DTOExporterPropertyValueMap.optional()
8053
8062
  });
8054
- var DTOExportJobResponse = z272.object({
8063
+ var DTOExportJobResponse = z273.object({
8055
8064
  job: DTOExportJob
8056
8065
  });
8057
- var DTOExportJobResponseLegacy = z272.object({
8058
- job: z272.object({
8059
- id: z272.string(),
8066
+ var DTOExportJobResponseLegacy = z273.object({
8067
+ job: z273.object({
8068
+ id: z273.string(),
8060
8069
  status: ExportJobStatus
8061
8070
  })
8062
8071
  });
8063
- var DTOExportJobCreateInput = z272.object({
8064
- designSystemId: z272.string(),
8065
- designSystemVersionId: z272.string(),
8066
- exporterId: z272.string(),
8067
- brandId: z272.string().optional(),
8068
- themeId: z272.string().optional(),
8069
- themePersistentIds: z272.string().array().optional(),
8072
+ var DTOExportJobCreateInput = z273.object({
8073
+ designSystemId: z273.string(),
8074
+ designSystemVersionId: z273.string(),
8075
+ exporterId: z273.string(),
8076
+ brandId: z273.string().optional(),
8077
+ themeId: z273.string().optional(),
8078
+ themePersistentIds: z273.string().array().optional(),
8070
8079
  destinations: DTOExportJobDestinations,
8071
8080
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
8072
- previewMode: z272.boolean().optional()
8081
+ previewMode: z273.boolean().optional()
8073
8082
  });
8074
8083
 
8075
8084
  // src/api/dto/export/pipeline.ts
8076
- import { z as z273 } from "zod";
8077
- var DTOPipelineListQuery = z273.object({
8078
- designSystemId: z273.string().optional(),
8079
- exporterId: z273.string().optional(),
8080
- latestJobsLimit: z273.coerce.number().optional()
8081
- });
8082
- var DTOPipeline = z273.object({
8083
- id: z273.string(),
8084
- name: z273.string(),
8085
+ import { z as z274 } from "zod";
8086
+ var DTOPipelineListQuery = z274.object({
8087
+ designSystemId: z274.string().optional(),
8088
+ exporterId: z274.string().optional(),
8089
+ latestJobsLimit: z274.coerce.number().optional()
8090
+ });
8091
+ var DTOPipeline = z274.object({
8092
+ id: z274.string(),
8093
+ name: z274.string(),
8085
8094
  eventType: PipelineEventType,
8086
- isEnabled: z273.boolean(),
8087
- workspaceId: z273.string(),
8088
- designSystemId: z273.string(),
8089
- exporterId: z273.string(),
8090
- brandPersistentId: z273.string().optional(),
8091
- themePersistentId: z273.string().optional(),
8092
- themePersistentIds: z273.string().array().optional(),
8095
+ isEnabled: z274.boolean(),
8096
+ workspaceId: z274.string(),
8097
+ designSystemId: z274.string(),
8098
+ exporterId: z274.string(),
8099
+ brandPersistentId: z274.string().optional(),
8100
+ themePersistentId: z274.string().optional(),
8101
+ themePersistentIds: z274.string().array().optional(),
8093
8102
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
8094
8103
  ...ExportDestinationsMap.shape,
8095
8104
  latestJobs: DTOExportJob.array(),
8096
- isExporterDeprecated: z273.boolean()
8105
+ isExporterDeprecated: z274.boolean()
8097
8106
  });
8098
- var DTOPipelineListResponse = z273.object({
8107
+ var DTOPipelineListResponse = z274.object({
8099
8108
  pipelines: DTOPipeline.array()
8100
8109
  });
8101
- var DTOPipelineResponse = z273.object({
8110
+ var DTOPipelineResponse = z274.object({
8102
8111
  pipeline: DTOPipeline
8103
8112
  });
8104
8113
 
8105
8114
  // src/api/dto/documentation/publish.ts
8106
8115
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
8107
- var DTOPublishDocumentationRequest = z274.object({
8116
+ var DTOPublishDocumentationRequest = z275.object({
8108
8117
  environment: PublishedDocEnvironment,
8109
8118
  /**
8110
8119
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -8112,66 +8121,66 @@ var DTOPublishDocumentationRequest = z274.object({
8112
8121
  */
8113
8122
  changes: DTOPublishDocumentationChanges.optional()
8114
8123
  });
8115
- var DTOPublishDocumentationResponse = z274.object({
8124
+ var DTOPublishDocumentationResponse = z275.object({
8116
8125
  job: DTOExportJob
8117
8126
  });
8118
8127
 
8119
8128
  // src/api/dto/documentation/room.ts
8120
- import { z as z275 } from "zod";
8121
- var DTODocumentationPageRoom = z275.object({
8122
- id: z275.string()
8129
+ import { z as z276 } from "zod";
8130
+ var DTODocumentationPageRoom = z276.object({
8131
+ id: z276.string()
8123
8132
  });
8124
- var DTODocumentationPageRoomResponse = z275.object({
8133
+ var DTODocumentationPageRoomResponse = z276.object({
8125
8134
  room: DTODocumentationPageRoom
8126
8135
  });
8127
8136
 
8128
8137
  // src/api/dto/elements/components/figma-component-group.ts
8129
- import z276 from "zod";
8130
- var DTOFigmaComponentGroup = z276.object({
8131
- id: z276.string(),
8132
- designSystemVersionId: z276.string(),
8133
- persistentId: z276.string(),
8134
- isRoot: z276.boolean(),
8135
- brandId: z276.string(),
8138
+ import z277 from "zod";
8139
+ var DTOFigmaComponentGroup = z277.object({
8140
+ id: z277.string(),
8141
+ designSystemVersionId: z277.string(),
8142
+ persistentId: z277.string(),
8143
+ isRoot: z277.boolean(),
8144
+ brandId: z277.string(),
8136
8145
  meta: DTOObjectMeta,
8137
- childrenIds: z276.string().array()
8146
+ childrenIds: z277.string().array()
8138
8147
  });
8139
- var DTOFigmaComponentGroupListResponse = z276.object({
8148
+ var DTOFigmaComponentGroupListResponse = z277.object({
8140
8149
  groups: DTOFigmaComponentGroup.array()
8141
8150
  });
8142
8151
 
8143
8152
  // src/api/dto/elements/components/figma-component.ts
8144
- import { z as z277 } from "zod";
8153
+ import { z as z278 } from "zod";
8145
8154
  var DTOFigmaComponentProperty = FigmaComponentProperty;
8146
- var DTOFigmaComponentPropertyMap = z277.record(DTOFigmaComponentProperty);
8147
- var DTOFigmaComponent = z277.object({
8148
- id: z277.string(),
8149
- persistentId: z277.string(),
8150
- designSystemVersionId: z277.string(),
8151
- brandId: z277.string(),
8152
- thumbnailUrl: z277.string().optional(),
8153
- svgUrl: z277.string().optional(),
8154
- exportProperties: z277.object({
8155
- isAsset: z277.boolean()
8155
+ var DTOFigmaComponentPropertyMap = z278.record(DTOFigmaComponentProperty);
8156
+ var DTOFigmaComponent = z278.object({
8157
+ id: z278.string(),
8158
+ persistentId: z278.string(),
8159
+ designSystemVersionId: z278.string(),
8160
+ brandId: z278.string(),
8161
+ thumbnailUrl: z278.string().optional(),
8162
+ svgUrl: z278.string().optional(),
8163
+ exportProperties: z278.object({
8164
+ isAsset: z278.boolean()
8156
8165
  }),
8157
- createdAt: z277.coerce.date(),
8158
- updatedAt: z277.coerce.date(),
8166
+ createdAt: z278.coerce.date(),
8167
+ updatedAt: z278.coerce.date(),
8159
8168
  meta: ObjectMeta,
8160
8169
  originComponent: FigmaComponentOrigin.optional(),
8161
- parentComponentPersistentId: z277.string().optional(),
8162
- childrenPersistentIds: z277.string().array().optional(),
8170
+ parentComponentPersistentId: z278.string().optional(),
8171
+ childrenPersistentIds: z278.string().array().optional(),
8163
8172
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
8164
- variantPropertyValues: z277.record(z277.string()).optional()
8173
+ variantPropertyValues: z278.record(z278.string()).optional()
8165
8174
  });
8166
- var DTOFigmaComponentListResponse = z277.object({
8175
+ var DTOFigmaComponentListResponse = z278.object({
8167
8176
  components: DTOFigmaComponent.array()
8168
8177
  });
8169
8178
 
8170
8179
  // src/api/dto/elements/documentation/group-action.ts
8171
- import { z as z279 } from "zod";
8180
+ import { z as z280 } from "zod";
8172
8181
 
8173
8182
  // src/api/dto/elements/documentation/group-v2.ts
8174
- import { z as z278 } from "zod";
8183
+ import { z as z279 } from "zod";
8175
8184
  var DTODocumentationGroupV2 = ElementGroup.omit({
8176
8185
  sortOrder: true,
8177
8186
  parentPersistentId: true,
@@ -8181,13 +8190,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
8181
8190
  data: true,
8182
8191
  shortPersistentId: true
8183
8192
  }).extend({
8184
- title: z278.string(),
8185
- isRoot: z278.boolean(),
8186
- childrenIds: z278.array(z278.string()),
8193
+ title: z279.string(),
8194
+ isRoot: z279.boolean(),
8195
+ childrenIds: z279.array(z279.string()),
8187
8196
  groupBehavior: DocumentationGroupBehavior,
8188
- shortPersistentId: z278.string(),
8197
+ shortPersistentId: z279.string(),
8189
8198
  configuration: DTODocumentationItemConfigurationV2,
8190
- type: z278.literal("Group"),
8199
+ type: z279.literal("Group"),
8191
8200
  /** Defined when a group has changed since last publish and can be included into a partial publish */
8192
8201
  draftState: DTODocumentationDraftState.optional(),
8193
8202
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -8195,127 +8204,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
8195
8204
  //** An approval state for frontend to utilize. */
8196
8205
  approvalState: DTODocumentationGroupApprovalState.optional()
8197
8206
  });
8198
- var DTOCreateDocumentationGroupInput = z278.object({
8207
+ var DTOCreateDocumentationGroupInput = z279.object({
8199
8208
  // Identifier
8200
- persistentId: z278.string(),
8209
+ persistentId: z279.string(),
8201
8210
  // Group properties
8202
- title: z278.string(),
8211
+ title: z279.string(),
8203
8212
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
8204
8213
  // Group placement properties
8205
- afterPersistentId: z278.string().nullish(),
8206
- parentPersistentId: z278.string()
8214
+ afterPersistentId: z279.string().nullish(),
8215
+ parentPersistentId: z279.string()
8207
8216
  });
8208
- var DTOUpdateDocumentationGroupInput = z278.object({
8217
+ var DTOUpdateDocumentationGroupInput = z279.object({
8209
8218
  // Identifier of the group to update
8210
- id: z278.string(),
8219
+ id: z279.string(),
8211
8220
  // Group properties
8212
- title: z278.string().optional(),
8221
+ title: z279.string().optional(),
8213
8222
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
8214
8223
  });
8215
- var DTOMoveDocumentationGroupInput = z278.object({
8224
+ var DTOMoveDocumentationGroupInput = z279.object({
8216
8225
  // Identifier of the group to update
8217
- id: z278.string(),
8226
+ id: z279.string(),
8218
8227
  // Group placement properties
8219
- parentPersistentId: z278.string(),
8220
- afterPersistentId: z278.string().nullish()
8228
+ parentPersistentId: z279.string(),
8229
+ afterPersistentId: z279.string().nullish()
8221
8230
  });
8222
- var DTODuplicateDocumentationGroupInput = z278.object({
8231
+ var DTODuplicateDocumentationGroupInput = z279.object({
8223
8232
  // Identifier of the group to duplicate from
8224
- id: z278.string(),
8233
+ id: z279.string(),
8225
8234
  // New group persistent id
8226
- persistentId: z278.string(),
8235
+ persistentId: z279.string(),
8227
8236
  // Group placement properties
8228
- afterPersistentId: z278.string().nullish(),
8229
- parentPersistentId: z278.string()
8237
+ afterPersistentId: z279.string().nullish(),
8238
+ parentPersistentId: z279.string()
8230
8239
  });
8231
- var DTOCreateDocumentationTabInput = z278.object({
8240
+ var DTOCreateDocumentationTabInput = z279.object({
8232
8241
  // New group persistent id
8233
- persistentId: z278.string(),
8242
+ persistentId: z279.string(),
8234
8243
  // If this is page, we will attempt to convert it to tab
8235
8244
  // If this is tab group, we will add a new tab to it
8236
- fromItemPersistentId: z278.string(),
8237
- tabName: z278.string()
8245
+ fromItemPersistentId: z279.string(),
8246
+ tabName: z279.string()
8238
8247
  });
8239
- var DTODeleteDocumentationTabGroupInput = z278.object({
8248
+ var DTODeleteDocumentationTabGroupInput = z279.object({
8240
8249
  // Deleted group id
8241
- id: z278.string()
8250
+ id: z279.string()
8242
8251
  });
8243
- var DTODeleteDocumentationGroupInput = z278.object({
8252
+ var DTODeleteDocumentationGroupInput = z279.object({
8244
8253
  // Identifier
8245
- id: z278.string(),
8254
+ id: z279.string(),
8246
8255
  // Deletion options
8247
- deleteSubtree: z278.boolean().default(false)
8256
+ deleteSubtree: z279.boolean().default(false)
8248
8257
  });
8249
8258
 
8250
8259
  // src/api/dto/elements/documentation/group-action.ts
8251
- var SuccessPayload = z279.object({
8252
- success: z279.literal(true)
8260
+ var SuccessPayload = z280.object({
8261
+ success: z280.literal(true)
8253
8262
  });
8254
- var DTODocumentationGroupCreateActionOutputV2 = z279.object({
8255
- type: z279.literal("DocumentationGroupCreate"),
8263
+ var DTODocumentationGroupCreateActionOutputV2 = z280.object({
8264
+ type: z280.literal("DocumentationGroupCreate"),
8256
8265
  output: SuccessPayload
8257
8266
  });
8258
- var DTODocumentationTabCreateActionOutputV2 = z279.object({
8259
- type: z279.literal("DocumentationTabCreate"),
8267
+ var DTODocumentationTabCreateActionOutputV2 = z280.object({
8268
+ type: z280.literal("DocumentationTabCreate"),
8260
8269
  output: SuccessPayload
8261
8270
  });
8262
- var DTODocumentationGroupUpdateActionOutputV2 = z279.object({
8263
- type: z279.literal("DocumentationGroupUpdate"),
8271
+ var DTODocumentationGroupUpdateActionOutputV2 = z280.object({
8272
+ type: z280.literal("DocumentationGroupUpdate"),
8264
8273
  output: SuccessPayload
8265
8274
  });
8266
- var DTODocumentationGroupMoveActionOutputV2 = z279.object({
8267
- type: z279.literal("DocumentationGroupMove"),
8275
+ var DTODocumentationGroupMoveActionOutputV2 = z280.object({
8276
+ type: z280.literal("DocumentationGroupMove"),
8268
8277
  output: SuccessPayload
8269
8278
  });
8270
- var DTODocumentationGroupDuplicateActionOutputV2 = z279.object({
8271
- type: z279.literal("DocumentationGroupDuplicate"),
8279
+ var DTODocumentationGroupDuplicateActionOutputV2 = z280.object({
8280
+ type: z280.literal("DocumentationGroupDuplicate"),
8272
8281
  output: SuccessPayload
8273
8282
  });
8274
- var DTODocumentationGroupDeleteActionOutputV2 = z279.object({
8275
- type: z279.literal("DocumentationGroupDelete"),
8283
+ var DTODocumentationGroupDeleteActionOutputV2 = z280.object({
8284
+ type: z280.literal("DocumentationGroupDelete"),
8276
8285
  output: SuccessPayload
8277
8286
  });
8278
- var DTODocumentationTabGroupDeleteActionOutputV2 = z279.object({
8279
- type: z279.literal("DocumentationTabGroupDelete"),
8287
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z280.object({
8288
+ type: z280.literal("DocumentationTabGroupDelete"),
8280
8289
  output: SuccessPayload
8281
8290
  });
8282
- var DTODocumentationGroupCreateActionInputV2 = z279.object({
8283
- type: z279.literal("DocumentationGroupCreate"),
8291
+ var DTODocumentationGroupCreateActionInputV2 = z280.object({
8292
+ type: z280.literal("DocumentationGroupCreate"),
8284
8293
  input: DTOCreateDocumentationGroupInput
8285
8294
  });
8286
- var DTODocumentationTabCreateActionInputV2 = z279.object({
8287
- type: z279.literal("DocumentationTabCreate"),
8295
+ var DTODocumentationTabCreateActionInputV2 = z280.object({
8296
+ type: z280.literal("DocumentationTabCreate"),
8288
8297
  input: DTOCreateDocumentationTabInput
8289
8298
  });
8290
- var DTODocumentationGroupUpdateActionInputV2 = z279.object({
8291
- type: z279.literal("DocumentationGroupUpdate"),
8299
+ var DTODocumentationGroupUpdateActionInputV2 = z280.object({
8300
+ type: z280.literal("DocumentationGroupUpdate"),
8292
8301
  input: DTOUpdateDocumentationGroupInput
8293
8302
  });
8294
- var DTODocumentationGroupMoveActionInputV2 = z279.object({
8295
- type: z279.literal("DocumentationGroupMove"),
8303
+ var DTODocumentationGroupMoveActionInputV2 = z280.object({
8304
+ type: z280.literal("DocumentationGroupMove"),
8296
8305
  input: DTOMoveDocumentationGroupInput
8297
8306
  });
8298
- var DTODocumentationGroupDuplicateActionInputV2 = z279.object({
8299
- type: z279.literal("DocumentationGroupDuplicate"),
8307
+ var DTODocumentationGroupDuplicateActionInputV2 = z280.object({
8308
+ type: z280.literal("DocumentationGroupDuplicate"),
8300
8309
  input: DTODuplicateDocumentationGroupInput
8301
8310
  });
8302
- var DTODocumentationGroupDeleteActionInputV2 = z279.object({
8303
- type: z279.literal("DocumentationGroupDelete"),
8311
+ var DTODocumentationGroupDeleteActionInputV2 = z280.object({
8312
+ type: z280.literal("DocumentationGroupDelete"),
8304
8313
  input: DTODeleteDocumentationGroupInput
8305
8314
  });
8306
- var DTODocumentationTabGroupDeleteActionInputV2 = z279.object({
8307
- type: z279.literal("DocumentationTabGroupDelete"),
8315
+ var DTODocumentationTabGroupDeleteActionInputV2 = z280.object({
8316
+ type: z280.literal("DocumentationTabGroupDelete"),
8308
8317
  input: DTODeleteDocumentationTabGroupInput
8309
8318
  });
8310
8319
 
8311
8320
  // src/api/dto/elements/documentation/group-v1.ts
8312
- import { z as z281 } from "zod";
8321
+ import { z as z282 } from "zod";
8313
8322
 
8314
8323
  // src/api/dto/elements/documentation/item-configuration-v1.ts
8315
- import { z as z280 } from "zod";
8316
- var DocumentationColorV1 = z280.object({
8317
- aliasTo: z280.string().optional(),
8318
- value: z280.string().optional()
8324
+ import { z as z281 } from "zod";
8325
+ var DocumentationColorV1 = z281.object({
8326
+ aliasTo: z281.string().optional(),
8327
+ value: z281.string().optional()
8319
8328
  });
8320
8329
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
8321
8330
  foregroundColor: true,
@@ -8324,10 +8333,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
8324
8333
  foregroundColor: DocumentationColorV1.optional(),
8325
8334
  backgroundColor: DocumentationColorV1.optional()
8326
8335
  });
8327
- var DTODocumentationItemConfigurationV1 = z280.object({
8328
- showSidebar: z280.boolean(),
8329
- isPrivate: z280.boolean(),
8330
- isHidden: z280.boolean(),
8336
+ var DTODocumentationItemConfigurationV1 = z281.object({
8337
+ showSidebar: z281.boolean(),
8338
+ isPrivate: z281.boolean(),
8339
+ isHidden: z281.boolean(),
8331
8340
  header: DTODocumentationItemHeaderV1
8332
8341
  });
8333
8342
 
@@ -8341,145 +8350,145 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
8341
8350
  data: true,
8342
8351
  shortPersistentId: true
8343
8352
  }).extend({
8344
- title: z281.string(),
8345
- isRoot: z281.boolean(),
8346
- childrenIds: z281.array(z281.string()),
8353
+ title: z282.string(),
8354
+ isRoot: z282.boolean(),
8355
+ childrenIds: z282.array(z282.string()),
8347
8356
  groupBehavior: DocumentationGroupBehavior,
8348
- shortPersistentId: z281.string(),
8349
- type: z281.literal("Group")
8357
+ shortPersistentId: z282.string(),
8358
+ type: z282.literal("Group")
8350
8359
  });
8351
8360
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
8352
8361
  configuration: DTODocumentationItemConfigurationV1
8353
8362
  });
8354
8363
 
8355
8364
  // src/api/dto/elements/documentation/hierarchy.ts
8356
- import { z as z282 } from "zod";
8357
- var DTODocumentationHierarchyV2 = z282.object({
8358
- pages: z282.array(
8365
+ import { z as z283 } from "zod";
8366
+ var DTODocumentationHierarchyV2 = z283.object({
8367
+ pages: z283.array(
8359
8368
  DTODocumentationPageV2.extend({
8360
8369
  /** Defined when a page has changed since last publish and can be included into a partial publish */
8361
8370
  draftState: DTODocumentationDraftState.optional()
8362
8371
  })
8363
8372
  ),
8364
- groups: z282.array(
8373
+ groups: z283.array(
8365
8374
  DTODocumentationGroupV2.extend({
8366
8375
  /** Defined when a page has changed since last publish and can be included into a partial publish */
8367
8376
  draftState: DTODocumentationDraftState.optional()
8368
8377
  })
8369
8378
  ),
8370
8379
  /** True if the documentation was already published, false otherwise. */
8371
- hasPublishedDocumentationContent: z282.boolean()
8380
+ hasPublishedDocumentationContent: z283.boolean()
8372
8381
  });
8373
8382
 
8374
8383
  // src/api/dto/elements/documentation/page-actions-v2.ts
8375
- import { z as z283 } from "zod";
8376
- var SuccessPayload2 = z283.object({
8377
- success: z283.literal(true)
8384
+ import { z as z284 } from "zod";
8385
+ var SuccessPayload2 = z284.object({
8386
+ success: z284.literal(true)
8378
8387
  });
8379
- var DTODocumentationPageCreateActionOutputV2 = z283.object({
8380
- type: z283.literal("DocumentationPageCreate"),
8388
+ var DTODocumentationPageCreateActionOutputV2 = z284.object({
8389
+ type: z284.literal("DocumentationPageCreate"),
8381
8390
  output: SuccessPayload2
8382
8391
  });
8383
- var DTODocumentationPageUpdateActionOutputV2 = z283.object({
8384
- type: z283.literal("DocumentationPageUpdate"),
8392
+ var DTODocumentationPageUpdateActionOutputV2 = z284.object({
8393
+ type: z284.literal("DocumentationPageUpdate"),
8385
8394
  output: SuccessPayload2
8386
8395
  });
8387
- var DTODocumentationPageUpdateDocumentActionOutputV2 = z283.object({
8388
- type: z283.literal("DocumentationPageUpdateDocument"),
8396
+ var DTODocumentationPageUpdateDocumentActionOutputV2 = z284.object({
8397
+ type: z284.literal("DocumentationPageUpdateDocument"),
8389
8398
  output: SuccessPayload2
8390
8399
  });
8391
- var DTODocumentationPageMoveActionOutputV2 = z283.object({
8392
- type: z283.literal("DocumentationPageMove"),
8400
+ var DTODocumentationPageMoveActionOutputV2 = z284.object({
8401
+ type: z284.literal("DocumentationPageMove"),
8393
8402
  output: SuccessPayload2
8394
8403
  });
8395
- var DTODocumentationPageDuplicateActionOutputV2 = z283.object({
8396
- type: z283.literal("DocumentationPageDuplicate"),
8404
+ var DTODocumentationPageDuplicateActionOutputV2 = z284.object({
8405
+ type: z284.literal("DocumentationPageDuplicate"),
8397
8406
  output: SuccessPayload2
8398
8407
  });
8399
- var DTODocumentationPageDeleteActionOutputV2 = z283.object({
8400
- type: z283.literal("DocumentationPageDelete"),
8408
+ var DTODocumentationPageDeleteActionOutputV2 = z284.object({
8409
+ type: z284.literal("DocumentationPageDelete"),
8401
8410
  output: SuccessPayload2
8402
8411
  });
8403
- var DTODocumentationPageRestoreActionOutput = z283.object({
8404
- type: z283.literal("DocumentationPageRestore"),
8412
+ var DTODocumentationPageRestoreActionOutput = z284.object({
8413
+ type: z284.literal("DocumentationPageRestore"),
8405
8414
  output: SuccessPayload2
8406
8415
  });
8407
- var DTODocumentationGroupRestoreActionOutput = z283.object({
8408
- type: z283.literal("DocumentationGroupRestore"),
8416
+ var DTODocumentationGroupRestoreActionOutput = z284.object({
8417
+ type: z284.literal("DocumentationGroupRestore"),
8409
8418
  output: SuccessPayload2
8410
8419
  });
8411
- var DTODocumentationPageApprovalStateChangeActionOutput = z283.object({
8412
- type: z283.literal("DocumentationPageApprovalStateChange"),
8420
+ var DTODocumentationPageApprovalStateChangeActionOutput = z284.object({
8421
+ type: z284.literal("DocumentationPageApprovalStateChange"),
8413
8422
  output: SuccessPayload2
8414
8423
  });
8415
- var DTODocumentationPageCreateActionInputV2 = z283.object({
8416
- type: z283.literal("DocumentationPageCreate"),
8424
+ var DTODocumentationPageCreateActionInputV2 = z284.object({
8425
+ type: z284.literal("DocumentationPageCreate"),
8417
8426
  input: DTOCreateDocumentationPageInputV2
8418
8427
  });
8419
- var DTODocumentationPageUpdateActionInputV2 = z283.object({
8420
- type: z283.literal("DocumentationPageUpdate"),
8428
+ var DTODocumentationPageUpdateActionInputV2 = z284.object({
8429
+ type: z284.literal("DocumentationPageUpdate"),
8421
8430
  input: DTOUpdateDocumentationPageInputV2
8422
8431
  });
8423
- var DTODocumentationPageUpdateDocumentActionInputV2 = z283.object({
8424
- type: z283.literal("DocumentationPageUpdateDocument"),
8432
+ var DTODocumentationPageUpdateDocumentActionInputV2 = z284.object({
8433
+ type: z284.literal("DocumentationPageUpdateDocument"),
8425
8434
  input: DTOUpdateDocumentationPageDocumentInputV2
8426
8435
  });
8427
- var DTODocumentationPageMoveActionInputV2 = z283.object({
8428
- type: z283.literal("DocumentationPageMove"),
8436
+ var DTODocumentationPageMoveActionInputV2 = z284.object({
8437
+ type: z284.literal("DocumentationPageMove"),
8429
8438
  input: DTOMoveDocumentationPageInputV2
8430
8439
  });
8431
- var DTODocumentationPageDuplicateActionInputV2 = z283.object({
8432
- type: z283.literal("DocumentationPageDuplicate"),
8440
+ var DTODocumentationPageDuplicateActionInputV2 = z284.object({
8441
+ type: z284.literal("DocumentationPageDuplicate"),
8433
8442
  input: DTODuplicateDocumentationPageInputV2
8434
8443
  });
8435
- var DTODocumentationPageDeleteActionInputV2 = z283.object({
8436
- type: z283.literal("DocumentationPageDelete"),
8444
+ var DTODocumentationPageDeleteActionInputV2 = z284.object({
8445
+ type: z284.literal("DocumentationPageDelete"),
8437
8446
  input: DTODeleteDocumentationPageInputV2
8438
8447
  });
8439
- var DTODocumentationPageRestoreActionInput = z283.object({
8440
- type: z283.literal("DocumentationPageRestore"),
8448
+ var DTODocumentationPageRestoreActionInput = z284.object({
8449
+ type: z284.literal("DocumentationPageRestore"),
8441
8450
  input: DTORestoreDocumentationPageInput
8442
8451
  });
8443
- var DTODocumentationGroupRestoreActionInput = z283.object({
8444
- type: z283.literal("DocumentationGroupRestore"),
8452
+ var DTODocumentationGroupRestoreActionInput = z284.object({
8453
+ type: z284.literal("DocumentationGroupRestore"),
8445
8454
  input: DTORestoreDocumentationGroupInput
8446
8455
  });
8447
- var DTODocumentationPageApprovalStateChangeActionInput = z283.object({
8448
- type: z283.literal("DocumentationPageApprovalStateChange"),
8456
+ var DTODocumentationPageApprovalStateChangeActionInput = z284.object({
8457
+ type: z284.literal("DocumentationPageApprovalStateChange"),
8449
8458
  input: DTODocumentationPageApprovalStateChangeInput
8450
8459
  });
8451
8460
 
8452
8461
  // src/api/dto/elements/documentation/page-content.ts
8453
- import { z as z284 } from "zod";
8462
+ import { z as z285 } from "zod";
8454
8463
  var DTODocumentationPageContent = DocumentationPageContent;
8455
- var DTODocumentationPageContentGetResponse = z284.object({
8464
+ var DTODocumentationPageContentGetResponse = z285.object({
8456
8465
  pageContent: DTODocumentationPageContent
8457
8466
  });
8458
8467
 
8459
8468
  // src/api/dto/elements/documentation/page-dependencies.ts
8460
- import { z as z285 } from "zod";
8461
- var DTODocumentationPageDependencies = z285.object({
8462
- id: z285.string(),
8463
- designSystemVersionId: z285.string(),
8464
- createdAt: z285.coerce.date(),
8465
- updatedAt: z285.coerce.date(),
8466
- documentationPageId: z285.string(),
8467
- tokenPersistentIds: z285.array(z285.string()),
8468
- figmaComponentPersistentIds: z285.array(z285.string()),
8469
- componentPersistentIds: z285.array(z285.string()),
8470
- figmaNodePersistentIds: z285.array(z285.string()),
8471
- groupPersistentIds: z285.array(z285.string()),
8472
- propertyPersistentIds: z285.array(z285.string()),
8473
- themePersistentIds: z285.array(z285.string()),
8474
- documentationPagePersistentIds: z285.array(z285.string()),
8475
- storybookEntriesStoryIds: z285.array(z285.string())
8476
- });
8477
- var DTODocumentationPageDependenciesGetResponse = z285.object({
8478
- dependencies: z285.array(DTODocumentationPageDependencies)
8469
+ import { z as z286 } from "zod";
8470
+ var DTODocumentationPageDependencies = z286.object({
8471
+ id: z286.string(),
8472
+ designSystemVersionId: z286.string(),
8473
+ createdAt: z286.coerce.date(),
8474
+ updatedAt: z286.coerce.date(),
8475
+ documentationPageId: z286.string(),
8476
+ tokenPersistentIds: z286.array(z286.string()),
8477
+ figmaComponentPersistentIds: z286.array(z286.string()),
8478
+ componentPersistentIds: z286.array(z286.string()),
8479
+ figmaNodePersistentIds: z286.array(z286.string()),
8480
+ groupPersistentIds: z286.array(z286.string()),
8481
+ propertyPersistentIds: z286.array(z286.string()),
8482
+ themePersistentIds: z286.array(z286.string()),
8483
+ documentationPagePersistentIds: z286.array(z286.string()),
8484
+ storybookEntriesStoryIds: z286.array(z286.string())
8485
+ });
8486
+ var DTODocumentationPageDependenciesGetResponse = z286.object({
8487
+ dependencies: z286.array(DTODocumentationPageDependencies)
8479
8488
  });
8480
8489
 
8481
8490
  // src/api/dto/elements/documentation/page-v1.ts
8482
- import { z as z286 } from "zod";
8491
+ import { z as z287 } from "zod";
8483
8492
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
8484
8493
  data: true,
8485
8494
  meta: true,
@@ -8487,81 +8496,81 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
8487
8496
  sortOrder: true
8488
8497
  }).extend({
8489
8498
  configuration: DTODocumentationItemConfigurationV1,
8490
- blocks: z286.array(PageBlockV1),
8491
- title: z286.string(),
8492
- path: z286.string()
8499
+ blocks: z287.array(PageBlockV1),
8500
+ title: z287.string(),
8501
+ path: z287.string()
8493
8502
  });
8494
8503
 
8495
8504
  // src/api/dto/elements/documentation/settings.ts
8496
- import { z as z287 } from "zod";
8497
- var DTODocumentationSettings = z287.object({
8498
- isDraftFeatureAdopted: z287.boolean(),
8499
- isApprovalsFeatureEnabled: z287.boolean(),
8500
- isApprovalRequiredForPublishing: z287.boolean()
8505
+ import { z as z288 } from "zod";
8506
+ var DTODocumentationSettings = z288.object({
8507
+ isDraftFeatureAdopted: z288.boolean(),
8508
+ isApprovalsFeatureEnabled: z288.boolean(),
8509
+ isApprovalRequiredForPublishing: z288.boolean()
8501
8510
  });
8502
8511
 
8503
8512
  // src/api/dto/elements/documentation/structure.ts
8504
- import { z as z288 } from "zod";
8505
- var DTODocumentationStructureItemType = z288.enum(["Group", "Page"]);
8506
- var DTODocumentationStructureItemBase = z288.object({
8513
+ import { z as z289 } from "zod";
8514
+ var DTODocumentationStructureItemType = z289.enum(["Group", "Page"]);
8515
+ var DTODocumentationStructureItemBase = z289.object({
8507
8516
  type: DTODocumentationStructureItemType,
8508
- id: z288.string(),
8509
- designSystemVersionId: z288.string(),
8510
- shortPersistentId: z288.string(),
8511
- persistentId: z288.string(),
8512
- title: z288.string(),
8513
- createdAt: z288.coerce.date(),
8514
- updatedAt: z288.coerce.date()
8517
+ id: z289.string(),
8518
+ designSystemVersionId: z289.string(),
8519
+ shortPersistentId: z289.string(),
8520
+ persistentId: z289.string(),
8521
+ title: z289.string(),
8522
+ createdAt: z289.coerce.date(),
8523
+ updatedAt: z289.coerce.date()
8515
8524
  });
8516
8525
  var DTODocumentationStructureGroupItem = DTODocumentationStructureItemBase.extend({
8517
- type: z288.literal(DTODocumentationStructureItemType.enum.Group),
8518
- groupBehavior: z288.string(),
8519
- childrenIds: z288.string().array(),
8520
- isRoot: z288.boolean()
8526
+ type: z289.literal(DTODocumentationStructureItemType.enum.Group),
8527
+ groupBehavior: z289.string(),
8528
+ childrenIds: z289.string().array(),
8529
+ isRoot: z289.boolean()
8521
8530
  });
8522
8531
  var DTODocumentationStructurePageItem = DTODocumentationStructureItemBase.extend({
8523
- type: z288.literal(DTODocumentationStructureItemType.enum.Page),
8524
- path: z288.string()
8532
+ type: z289.literal(DTODocumentationStructureItemType.enum.Page),
8533
+ path: z289.string()
8525
8534
  });
8526
- var DTODocumentationStructureItem = z288.discriminatedUnion("type", [
8535
+ var DTODocumentationStructureItem = z289.discriminatedUnion("type", [
8527
8536
  DTODocumentationStructureGroupItem,
8528
8537
  DTODocumentationStructurePageItem
8529
8538
  ]);
8530
- var DTODocumentationStructure = z288.object({
8531
- items: z288.array(DTODocumentationStructureItem)
8539
+ var DTODocumentationStructure = z289.object({
8540
+ items: z289.array(DTODocumentationStructureItem)
8532
8541
  });
8533
8542
 
8534
8543
  // src/api/dto/elements/figma-nodes/figma-node-structure.ts
8535
- import { z as z289 } from "zod";
8536
- var DTOFigmaNodeStructure = z289.object({
8537
- id: z289.string(),
8538
- sourceId: z289.string(),
8544
+ import { z as z290 } from "zod";
8545
+ var DTOFigmaNodeStructure = z290.object({
8546
+ id: z290.string(),
8547
+ sourceId: z290.string(),
8539
8548
  importState: FigmaNodeStructureStateV2,
8540
- createdAt: z289.coerce.date(),
8541
- updatedAt: z289.coerce.date()
8549
+ createdAt: z290.coerce.date(),
8550
+ updatedAt: z290.coerce.date()
8542
8551
  });
8543
8552
  var DTOFigmaNodeStructureDetail = DTOFigmaNodeStructure.extend({
8544
8553
  rootNode: FigmaFileStructureNode
8545
8554
  });
8546
- var DTOFigmaNodeStructureListResponse = z289.object({
8555
+ var DTOFigmaNodeStructureListResponse = z290.object({
8547
8556
  structures: DTOFigmaNodeStructure.array()
8548
8557
  });
8549
- var DTOFigmaNodeStructureDetailResponse = z289.object({
8558
+ var DTOFigmaNodeStructureDetailResponse = z290.object({
8550
8559
  structure: DTOFigmaNodeStructureDetail
8551
8560
  });
8552
8561
 
8553
8562
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
8554
- import { z as z291 } from "zod";
8563
+ import { z as z292 } from "zod";
8555
8564
 
8556
8565
  // src/api/dto/elements/figma-nodes/figma-node.ts
8557
- import { z as z290 } from "zod";
8566
+ import { z as z291 } from "zod";
8558
8567
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
8559
- var DTOFigmaNodeOrigin = z290.object({
8560
- sourceId: z290.string(),
8561
- fileId: z290.string().optional(),
8562
- parentName: z290.string().optional()
8568
+ var DTOFigmaNodeOrigin = z291.object({
8569
+ sourceId: z291.string(),
8570
+ fileId: z291.string().optional(),
8571
+ parentName: z291.string().optional()
8563
8572
  });
8564
- var DTOFigmaNodeRenderInputBase = z290.object({
8573
+ var DTOFigmaNodeRenderInputBase = z291.object({
8565
8574
  /**
8566
8575
  * Format in which the node must be rendered, png by default.
8567
8576
  */
@@ -8569,57 +8578,57 @@ var DTOFigmaNodeRenderInputBase = z290.object({
8569
8578
  /**
8570
8579
  * Scale to apply to PNG images, can be between 1 and 4. Scale is ignored for other image formats.
8571
8580
  */
8572
- scale: z290.number().optional()
8581
+ scale: z291.number().optional()
8573
8582
  });
8574
8583
  var DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderInputBase.extend({
8575
- inputType: z290.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
8584
+ inputType: z291.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
8576
8585
  /**
8577
8586
  * Id of a design system's data source representing a linked Figma file
8578
8587
  */
8579
- sourceId: z290.string(),
8588
+ sourceId: z291.string(),
8580
8589
  /**
8581
8590
  * Id of a node within the Figma file
8582
8591
  */
8583
- figmaFileNodeId: z290.string()
8592
+ figmaFileNodeId: z291.string()
8584
8593
  });
8585
8594
  var DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderInputBase.extend({
8586
- inputType: z290.literal("URL"),
8595
+ inputType: z291.literal("URL"),
8587
8596
  /**
8588
8597
  * Id of a design system's data source representing a linked Figma file
8589
8598
  */
8590
- figmaNodeUrl: z290.string(),
8599
+ figmaNodeUrl: z291.string(),
8591
8600
  /**
8592
8601
  * Brand persistent id to use in case a source has to be created for this render
8593
8602
  */
8594
- brandPersistentId: z290.string()
8603
+ brandPersistentId: z291.string()
8595
8604
  });
8596
- var DTOFigmaNodeRerenderInput = z290.object({
8597
- inputType: z290.literal("Rerender"),
8605
+ var DTOFigmaNodeRerenderInput = z291.object({
8606
+ inputType: z291.literal("Rerender"),
8598
8607
  /**
8599
8608
  * Persistent ID of an existing Figma node
8600
8609
  */
8601
- figmaNodePersistentId: z290.string()
8610
+ figmaNodePersistentId: z291.string()
8602
8611
  });
8603
- var DTOFigmaNodeRenderInput = z290.discriminatedUnion("inputType", [
8612
+ var DTOFigmaNodeRenderInput = z291.discriminatedUnion("inputType", [
8604
8613
  DTOFigmaNodeRenderIdInput,
8605
8614
  DTOFigmaNodeRenderUrlInput,
8606
8615
  DTOFigmaNodeRerenderInput
8607
8616
  ]);
8608
8617
 
8609
8618
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
8610
- var DTOFigmaNodeData = z291.object({
8619
+ var DTOFigmaNodeData = z292.object({
8611
8620
  // Id of the node in the Figma file
8612
- figmaNodeId: z291.string(),
8621
+ figmaNodeId: z292.string(),
8613
8622
  // Validity
8614
- isValid: z291.boolean(),
8623
+ isValid: z292.boolean(),
8615
8624
  // Asset data
8616
- assetId: z291.string(),
8617
- assetUrl: z291.string(),
8625
+ assetId: z292.string(),
8626
+ assetUrl: z292.string(),
8618
8627
  assetFormat: DTOFigmaNodeRenderFormat,
8619
8628
  // Asset metadata
8620
- assetScale: z291.number(),
8621
- assetWidth: z291.number().optional(),
8622
- assetHeight: z291.number().optional()
8629
+ assetScale: z292.number(),
8630
+ assetWidth: z292.number().optional(),
8631
+ assetHeight: z292.number().optional()
8623
8632
  });
8624
8633
  var DTOFigmaNode = FigmaNodeReference.omit({
8625
8634
  data: true,
@@ -8630,15 +8639,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
8630
8639
  });
8631
8640
 
8632
8641
  // src/api/dto/elements/figma-nodes/figma-node-v2.ts
8633
- import { z as z292 } from "zod";
8634
- var DTOFigmaNodeDataV2 = z292.object({
8635
- sceneNodeId: z292.string(),
8642
+ import { z as z293 } from "zod";
8643
+ var DTOFigmaNodeDataV2 = z293.object({
8644
+ sceneNodeId: z293.string(),
8636
8645
  format: FigmaNodeRenderFormat,
8637
- scale: z292.number().optional(),
8646
+ scale: z293.number().optional(),
8638
8647
  renderState: FigmaNodeRenderState,
8639
8648
  renderedImage: FigmaNodeRenderedImage.optional(),
8640
8649
  renderError: FigmaNodeRenderError.optional(),
8641
- hasSource: z292.boolean()
8650
+ hasSource: z293.boolean()
8642
8651
  });
8643
8652
  var DTOFigmaNodeV2 = FigmaNodeReference.omit({
8644
8653
  data: true,
@@ -8649,113 +8658,113 @@ var DTOFigmaNodeV2 = FigmaNodeReference.omit({
8649
8658
  });
8650
8659
 
8651
8660
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
8652
- import { z as z293 } from "zod";
8653
- var DTOFigmaNodeRenderActionOutput = z293.object({
8654
- type: z293.literal("FigmaNodeRender"),
8655
- figmaNodes: z293.array(DTOFigmaNode)
8661
+ import { z as z294 } from "zod";
8662
+ var DTOFigmaNodeRenderActionOutput = z294.object({
8663
+ type: z294.literal("FigmaNodeRender"),
8664
+ figmaNodes: z294.array(DTOFigmaNode)
8656
8665
  });
8657
- var DTOFigmaNodeRenderAsyncActionOutput = z293.object({
8658
- type: z293.literal("FigmaNodeRenderAsync"),
8659
- figmaNodes: z293.array(DTOFigmaNodeV2)
8666
+ var DTOFigmaNodeRenderAsyncActionOutput = z294.object({
8667
+ type: z294.literal("FigmaNodeRenderAsync"),
8668
+ figmaNodes: z294.array(DTOFigmaNodeV2)
8660
8669
  });
8661
- var DTOFigmaNodeRenderActionInput = z293.object({
8662
- type: z293.literal("FigmaNodeRender"),
8670
+ var DTOFigmaNodeRenderActionInput = z294.object({
8671
+ type: z294.literal("FigmaNodeRender"),
8663
8672
  input: DTOFigmaNodeRenderIdInput.array()
8664
8673
  });
8665
- var DTOFigmaNodeRenderAsyncActionInput = z293.object({
8666
- type: z293.literal("FigmaNodeRenderAsync"),
8674
+ var DTOFigmaNodeRenderAsyncActionInput = z294.object({
8675
+ type: z294.literal("FigmaNodeRenderAsync"),
8667
8676
  nodes: DTOFigmaNodeRenderInput.array()
8668
8677
  });
8669
8678
 
8670
8679
  // src/api/dto/elements/frame-node-structures/frame-node-structure.ts
8671
- import { z as z294 } from "zod";
8672
- var DTOFrameNodeStructure = z294.object({
8673
- id: z294.string(),
8674
- persistentId: z294.string(),
8675
- designSystemVersionId: z294.string(),
8680
+ import { z as z295 } from "zod";
8681
+ var DTOFrameNodeStructure = z295.object({
8682
+ id: z295.string(),
8683
+ persistentId: z295.string(),
8684
+ designSystemVersionId: z295.string(),
8676
8685
  origin: FigmaFileStructureOrigin,
8677
8686
  assetsInFile: FigmaFileStructureStatistics
8678
8687
  });
8679
- var DTOFrameNodeStructureListResponse = z294.object({
8688
+ var DTOFrameNodeStructureListResponse = z295.object({
8680
8689
  structures: DTOFrameNodeStructure.array()
8681
8690
  });
8682
8691
 
8683
8692
  // src/api/dto/elements/properties/property-definitions.ts
8684
- import { z as z295 } from "zod";
8693
+ import { z as z296 } from "zod";
8685
8694
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9-]{1,99}$/;
8686
- var DTOElementPropertyDefinitionOption = z295.object({
8687
- id: z295.string(),
8688
- name: z295.string(),
8695
+ var DTOElementPropertyDefinitionOption = z296.object({
8696
+ id: z296.string(),
8697
+ name: z296.string(),
8689
8698
  backgroundColor: DTOColorTokenInlineData.optional()
8690
8699
  });
8691
- var DTOElementPropertyDefinition = z295.object({
8692
- id: z295.string(),
8693
- designSystemVersionId: z295.string(),
8700
+ var DTOElementPropertyDefinition = z296.object({
8701
+ id: z296.string(),
8702
+ designSystemVersionId: z296.string(),
8694
8703
  meta: DTOObjectMeta,
8695
- persistentId: z295.string(),
8704
+ persistentId: z296.string(),
8696
8705
  type: ElementPropertyTypeSchema,
8697
8706
  targetElementType: ElementPropertyTargetType,
8698
- codeName: z295.string().regex(CODE_NAME_REGEX2),
8699
- options: nullishToOptional(z295.array(DTOElementPropertyDefinitionOption)),
8707
+ codeName: z296.string().regex(CODE_NAME_REGEX2),
8708
+ options: nullishToOptional(z296.array(DTOElementPropertyDefinitionOption)),
8700
8709
  linkElementType: nullishToOptional(ElementPropertyLinkType),
8701
- isImmutable: z295.boolean(),
8710
+ isImmutable: z296.boolean(),
8702
8711
  immutablePropertyType: ElementPropertyImmutableType.optional()
8703
8712
  });
8704
- var DTOElementPropertyDefinitionListResponse = z295.object({
8705
- definitions: z295.array(DTOElementPropertyDefinition)
8713
+ var DTOElementPropertyDefinitionListResponse = z296.object({
8714
+ definitions: z296.array(DTOElementPropertyDefinition)
8706
8715
  });
8707
- var DTOElementPropertyDefinitionResponse = z295.object({
8716
+ var DTOElementPropertyDefinitionResponse = z296.object({
8708
8717
  definition: DTOElementPropertyDefinition
8709
8718
  });
8710
- var DTOElementPropertyDefinitionCreatePayload = z295.object({
8719
+ var DTOElementPropertyDefinitionCreatePayload = z296.object({
8711
8720
  meta: DTOObjectMeta,
8712
- persistentId: z295.string(),
8721
+ persistentId: z296.string(),
8713
8722
  type: ElementPropertyTypeSchema,
8714
8723
  targetElementType: ElementPropertyTargetType,
8715
- codeName: z295.string().regex(CODE_NAME_REGEX2),
8716
- options: nullishToOptional(z295.array(DTOElementPropertyDefinitionOption)),
8724
+ codeName: z296.string().regex(CODE_NAME_REGEX2),
8725
+ options: nullishToOptional(z296.array(DTOElementPropertyDefinitionOption)),
8717
8726
  linkElementType: nullishToOptional(ElementPropertyLinkType),
8718
- columnWidth: z295.number().max(1024).optional()
8727
+ columnWidth: z296.number().max(1024).optional()
8719
8728
  });
8720
- var DTOElementPropertyDefinitionUpdatePayload = z295.object({
8729
+ var DTOElementPropertyDefinitionUpdatePayload = z296.object({
8721
8730
  meta: DTOObjectMeta.optional(),
8722
- codeName: z295.string().regex(CODE_NAME_REGEX2).optional(),
8723
- options: z295.array(DTOElementPropertyDefinitionOption).optional()
8731
+ codeName: z296.string().regex(CODE_NAME_REGEX2).optional(),
8732
+ options: z296.array(DTOElementPropertyDefinitionOption).optional()
8724
8733
  });
8725
8734
 
8726
8735
  // src/api/dto/elements/properties/property-values.ts
8727
- import { z as z296 } from "zod";
8728
- var DTOElementPropertyValue = z296.object({
8729
- id: z296.string(),
8730
- designSystemVersionId: z296.string(),
8731
- definitionId: z296.string(),
8732
- targetElementId: z296.string(),
8733
- value: z296.union([z296.string(), z296.number(), z296.boolean()]).optional(),
8734
- valuePreview: z296.string().optional()
8735
- });
8736
- var DTOElementPropertyValueListResponse = z296.object({
8737
- values: z296.array(DTOElementPropertyValue)
8738
- });
8739
- var DTOElementPropertyValueResponse = z296.object({
8736
+ import { z as z297 } from "zod";
8737
+ var DTOElementPropertyValue = z297.object({
8738
+ id: z297.string(),
8739
+ designSystemVersionId: z297.string(),
8740
+ definitionId: z297.string(),
8741
+ targetElementId: z297.string(),
8742
+ value: z297.union([z297.string(), z297.number(), z297.boolean()]).optional(),
8743
+ valuePreview: z297.string().optional()
8744
+ });
8745
+ var DTOElementPropertyValueListResponse = z297.object({
8746
+ values: z297.array(DTOElementPropertyValue)
8747
+ });
8748
+ var DTOElementPropertyValueResponse = z297.object({
8740
8749
  value: DTOElementPropertyValue
8741
8750
  });
8742
- var DTOElementPropertyValuesEditActionOutput = z296.object({
8743
- type: z296.literal("ElementPropertyValuesEdit"),
8744
- output: z296.object({ success: z296.literal(true) })
8751
+ var DTOElementPropertyValuesEditActionOutput = z297.object({
8752
+ type: z297.literal("ElementPropertyValuesEdit"),
8753
+ output: z297.object({ success: z297.literal(true) })
8745
8754
  });
8746
- var DTOElementPropertyValueUpsertPaylod = z296.object({
8747
- definitionId: z296.string(),
8748
- targetElementId: z296.string(),
8749
- value: z296.string().or(z296.number()).or(z296.boolean()).nullable()
8755
+ var DTOElementPropertyValueUpsertPaylod = z297.object({
8756
+ definitionId: z297.string(),
8757
+ targetElementId: z297.string(),
8758
+ value: z297.string().or(z297.number()).or(z297.boolean()).nullable()
8750
8759
  });
8751
- var DTOElementPropertyValuesEditActionInput = z296.object({
8752
- type: z296.literal("ElementPropertyValuesEdit"),
8760
+ var DTOElementPropertyValuesEditActionInput = z297.object({
8761
+ type: z297.literal("ElementPropertyValuesEdit"),
8753
8762
  values: DTOElementPropertyValueUpsertPaylod.array()
8754
8763
  });
8755
8764
 
8756
8765
  // src/api/dto/elements/elements-action-v2.ts
8757
- import { z as z297 } from "zod";
8758
- var DTOElementActionOutput = z297.discriminatedUnion("type", [
8766
+ import { z as z298 } from "zod";
8767
+ var DTOElementActionOutput = z298.discriminatedUnion("type", [
8759
8768
  // Documentation pages
8760
8769
  DTODocumentationPageCreateActionOutputV2,
8761
8770
  DTODocumentationPageUpdateActionOutputV2,
@@ -8782,7 +8791,7 @@ var DTOElementActionOutput = z297.discriminatedUnion("type", [
8782
8791
  // Element properties
8783
8792
  DTOElementPropertyValuesEditActionOutput
8784
8793
  ]);
8785
- var DTOElementActionInput = z297.discriminatedUnion("type", [
8794
+ var DTOElementActionInput = z298.discriminatedUnion("type", [
8786
8795
  // Documentation pages
8787
8796
  DTODocumentationPageCreateActionInputV2,
8788
8797
  DTODocumentationPageUpdateActionInputV2,
@@ -8809,78 +8818,78 @@ var DTOElementActionInput = z297.discriminatedUnion("type", [
8809
8818
  // Element properties
8810
8819
  DTOElementPropertyValuesEditActionInput
8811
8820
  ]).and(
8812
- z297.object({
8813
- tId: z297.string().optional()
8821
+ z298.object({
8822
+ tId: z298.string().optional()
8814
8823
  })
8815
8824
  );
8816
8825
 
8817
8826
  // src/api/dto/elements/get-elements-v2.ts
8818
- import { z as z298 } from "zod";
8819
- var DTOElementsGetTypeFilter = z298.enum(["FigmaNode"]);
8820
- var DTOElementsGetQuerySchema = z298.object({
8821
- types: z298.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
8822
- responseVersion: z298.coerce.number().default(1)
8827
+ import { z as z299 } from "zod";
8828
+ var DTOElementsGetTypeFilter = z299.enum(["FigmaNode"]);
8829
+ var DTOElementsGetQuerySchema = z299.object({
8830
+ types: z299.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
8831
+ responseVersion: z299.coerce.number().default(1)
8823
8832
  });
8824
- var DTOElementsGetOutput = z298.object({
8825
- figmaNodes: z298.array(DTOFigmaNode).optional()
8833
+ var DTOElementsGetOutput = z299.object({
8834
+ figmaNodes: z299.array(DTOFigmaNode).optional()
8826
8835
  });
8827
- var DTOElementsGetOutputV2 = z298.object({
8828
- figmaNodes: z298.array(DTOFigmaNodeV2).optional()
8836
+ var DTOElementsGetOutputV2 = z299.object({
8837
+ figmaNodes: z299.array(DTOFigmaNodeV2).optional()
8829
8838
  });
8830
8839
 
8831
8840
  // src/api/dto/figma-components/assets/download.ts
8832
- import { z as z299 } from "zod";
8833
- var DTOAssetRenderConfiguration = z299.object({
8834
- prefix: z299.string().optional(),
8835
- suffix: z299.string().optional(),
8836
- scale: z299.enum(["x1", "x2", "x3", "x4"]),
8837
- format: z299.enum(["png", "pdf", "svg"])
8838
- });
8839
- var DTORenderedAssetFile = z299.object({
8840
- assetId: z299.string(),
8841
- fileName: z299.string(),
8842
- sourceUrl: z299.string(),
8841
+ import { z as z300 } from "zod";
8842
+ var DTOAssetRenderConfiguration = z300.object({
8843
+ prefix: z300.string().optional(),
8844
+ suffix: z300.string().optional(),
8845
+ scale: z300.enum(["x1", "x2", "x3", "x4"]),
8846
+ format: z300.enum(["png", "pdf", "svg"])
8847
+ });
8848
+ var DTORenderedAssetFile = z300.object({
8849
+ assetId: z300.string(),
8850
+ fileName: z300.string(),
8851
+ sourceUrl: z300.string(),
8843
8852
  settings: DTOAssetRenderConfiguration,
8844
- originalName: z299.string()
8853
+ originalName: z300.string()
8845
8854
  });
8846
- var DTODownloadAssetsRequest = z299.object({
8847
- persistentIds: z299.array(z299.string().uuid()).optional(),
8855
+ var DTODownloadAssetsRequest = z300.object({
8856
+ persistentIds: z300.array(z300.string().uuid()).optional(),
8848
8857
  settings: DTOAssetRenderConfiguration.array()
8849
8858
  });
8850
- var DTODownloadAssetsResponse = z299.object({
8859
+ var DTODownloadAssetsResponse = z300.object({
8851
8860
  items: DTORenderedAssetFile.array()
8852
8861
  });
8853
8862
 
8854
8863
  // src/api/dto/figma-exporter/figma-node.ts
8855
- import { z as z300 } from "zod";
8856
- var DTOFigmaNodeResponse = z300.object({
8864
+ import { z as z301 } from "zod";
8865
+ var DTOFigmaNodeResponse = z301.object({
8857
8866
  nodes: FigmaExporterAnyDesignNodeSchema
8858
8867
  });
8859
8868
 
8860
8869
  // src/api/dto/forge/agent.ts
8861
- import { z as z301 } from "zod";
8870
+ import { z as z302 } from "zod";
8862
8871
  var DTOForgeAgent = ForgeAgent;
8863
8872
  var DTOForgeAvatarBuilder = ForgeAvatarBuilder;
8864
8873
  var DTOCreateForgeAgent = DTOForgeAgent.omit({ projectId: true });
8865
- var DTOUpdateForgeAgent = DTOCreateForgeAgent.extend({ id: z301.string() });
8866
- var DTOCreateForgeAgentResponse = z301.object({
8874
+ var DTOUpdateForgeAgent = DTOCreateForgeAgent.extend({ id: z302.string() });
8875
+ var DTOCreateForgeAgentResponse = z302.object({
8867
8876
  agent: DTOForgeAgent
8868
8877
  });
8869
- var DTOUGetForgeAgentResponse = z301.object({
8878
+ var DTOUGetForgeAgentResponse = z302.object({
8870
8879
  agent: DTOForgeAgent.nullable()
8871
8880
  });
8872
- var DTOUpdateForgeAgentResponse = z301.object({
8881
+ var DTOUpdateForgeAgentResponse = z302.object({
8873
8882
  agent: DTOForgeAgent.nullable()
8874
8883
  });
8875
- var DTOForgeAgentsListResponse = z301.object({
8876
- agents: z301.array(DTOForgeAgent)
8884
+ var DTOForgeAgentsListResponse = z302.object({
8885
+ agents: z302.array(DTOForgeAgent)
8877
8886
  });
8878
- var DTODeleteForgeAgentResponse = z301.object({
8879
- ok: z301.literal(true)
8887
+ var DTODeleteForgeAgentResponse = z302.object({
8888
+ ok: z302.literal(true)
8880
8889
  });
8881
8890
 
8882
8891
  // src/api/dto/forge/artifact.ts
8883
- import { z as z302 } from "zod";
8892
+ import { z as z303 } from "zod";
8884
8893
  var DTOCreateForgeBuildArtifact = ForgeBuildArtifact.omit({
8885
8894
  id: true,
8886
8895
  createdAt: true,
@@ -8901,48 +8910,48 @@ var DTOCreateForgeSpecArtifact = ForgeSpecArtifact.omit({
8901
8910
  createdAt: true,
8902
8911
  projectIterationId: true
8903
8912
  });
8904
- var DTOUpdateForgeBuildArtifact = DTOCreateForgeBuildArtifact.extend({ id: z302.string() });
8905
- var DTOUpdateForgeFileArtifact = DTOCreateForgeFileArtifact.extend({ id: z302.string() });
8906
- var DTOUpdateForgeFigmaArtifact = DTOCreateForgeFigmaArtifact.extend({ id: z302.string() });
8907
- var DTOUpdateForgeSpecArtifact = DTOCreateForgeSpecArtifact.extend({ id: z302.string() });
8913
+ var DTOUpdateForgeBuildArtifact = DTOCreateForgeBuildArtifact.extend({ id: z303.string() });
8914
+ var DTOUpdateForgeFileArtifact = DTOCreateForgeFileArtifact.extend({ id: z303.string() });
8915
+ var DTOUpdateForgeFigmaArtifact = DTOCreateForgeFigmaArtifact.extend({ id: z303.string() });
8916
+ var DTOUpdateForgeSpecArtifact = DTOCreateForgeSpecArtifact.extend({ id: z303.string() });
8908
8917
  var DTOForgeArtifact = ForgeArtifact;
8909
8918
  var DTOForgeBuildArtifact = ForgeBuildArtifact;
8910
8919
  var DTOForgeFileArtifact = ForgeFileArtifact;
8911
8920
  var DTOForgeFigmaArtifact = ForgeFigmaArtifact;
8912
8921
  var DTOForgeSpecArtifact = ForgeSpecArtifact;
8913
- var DTOCreateForgeArtifact = z302.union([
8922
+ var DTOCreateForgeArtifact = z303.union([
8914
8923
  DTOCreateForgeBuildArtifact,
8915
8924
  DTOCreateForgeFileArtifact,
8916
8925
  DTOCreateForgeFigmaArtifact,
8917
8926
  DTOCreateForgeSpecArtifact
8918
8927
  ]);
8919
- var DTOUpdateForgeArtifact = z302.union([
8928
+ var DTOUpdateForgeArtifact = z303.union([
8920
8929
  DTOUpdateForgeFileArtifact,
8921
8930
  DTOUpdateForgeBuildArtifact,
8922
8931
  DTOUpdateForgeSpecArtifact,
8923
8932
  DTOUpdateForgeFigmaArtifact
8924
8933
  ]);
8925
- var DTOCreateForgeArtifactResponse = z302.object({
8934
+ var DTOCreateForgeArtifactResponse = z303.object({
8926
8935
  artifact: DTOForgeArtifact
8927
8936
  });
8928
- var DTOUpdateForgeArtifactResponse = z302.object({
8937
+ var DTOUpdateForgeArtifactResponse = z303.object({
8929
8938
  artifact: DTOForgeArtifact.nullable()
8930
8939
  });
8931
- var DTODeleteForgeArtifactResponse = z302.object({
8932
- ok: z302.literal(true)
8940
+ var DTODeleteForgeArtifactResponse = z303.object({
8941
+ ok: z303.literal(true)
8933
8942
  });
8934
- var DTOForgeArtifactsListResponse = z302.object({
8935
- artifacts: z302.array(DTOForgeArtifact)
8943
+ var DTOForgeArtifactsListResponse = z303.object({
8944
+ artifacts: z303.array(DTOForgeArtifact)
8936
8945
  });
8937
- var DTOForgeArtifactGetResponse = z302.object({
8946
+ var DTOForgeArtifactGetResponse = z303.object({
8938
8947
  artifact: DTOForgeArtifact.nullable()
8939
8948
  });
8940
8949
 
8941
8950
  // src/api/dto/forge/iteration-message.ts
8942
- import { z as z304 } from "zod";
8951
+ import { z as z305 } from "zod";
8943
8952
 
8944
8953
  // src/api/dto/forge/participant.ts
8945
- import { z as z303 } from "zod";
8954
+ import { z as z304 } from "zod";
8946
8955
  var DTOForgeParticipant = ForgeParticipant.omit({ agent: true, user: true }).extend({
8947
8956
  agent: DTOForgeAgent.optional(),
8948
8957
  user: DTOUser.optional()
@@ -8952,20 +8961,20 @@ var DTOCreateForgeParticipant = DTOForgeParticipant.omit({
8952
8961
  agent: true,
8953
8962
  user: true
8954
8963
  });
8955
- var DTOUpdateForgeParticipant = DTOCreateForgeParticipant.extend({ id: z303.string() });
8956
- var DTOCreateForgeParticipantResponse = z303.object({
8964
+ var DTOUpdateForgeParticipant = DTOCreateForgeParticipant.extend({ id: z304.string() });
8965
+ var DTOCreateForgeParticipantResponse = z304.object({
8957
8966
  participant: DTOForgeParticipant
8958
8967
  });
8959
- var DTOUpdateForgeParticipantResponse = z303.object({
8968
+ var DTOUpdateForgeParticipantResponse = z304.object({
8960
8969
  participant: DTOForgeParticipant.nullable()
8961
8970
  });
8962
- var DTODeleteForgeParticipantResponse = z303.object({
8963
- ok: z303.literal(true)
8971
+ var DTODeleteForgeParticipantResponse = z304.object({
8972
+ ok: z304.literal(true)
8964
8973
  });
8965
- var DTOForgeParticipantsListResponse = z303.object({
8966
- participants: z303.array(DTOForgeParticipant)
8974
+ var DTOForgeParticipantsListResponse = z304.object({
8975
+ participants: z304.array(DTOForgeParticipant)
8967
8976
  });
8968
- var DTOForgeParticipantGetResponse = z303.object({
8977
+ var DTOForgeParticipantGetResponse = z304.object({
8969
8978
  participant: DTOForgeParticipant.nullable()
8970
8979
  });
8971
8980
 
@@ -8977,28 +8986,28 @@ var DTOCreateForgeIterationMessage = DTOForgeIterationMessage.omit({
8977
8986
  projectIterationId: true,
8978
8987
  participant: true
8979
8988
  });
8980
- var DTOGetForgeIterationMessageResponse = z304.object({
8989
+ var DTOGetForgeIterationMessageResponse = z305.object({
8981
8990
  message: DTOForgeIterationMessage.nullable()
8982
8991
  });
8983
- var DTOForgeIterationMessagesListResponse = z304.object({
8984
- messages: z304.array(DTOForgeIterationMessage)
8992
+ var DTOForgeIterationMessagesListResponse = z305.object({
8993
+ messages: z305.array(DTOForgeIterationMessage)
8985
8994
  });
8986
- var DTOUpdateForgeIterationMessage = DTOCreateForgeIterationMessage.extend({ id: z304.string() });
8987
- var DTOCreateForgeIterationMessageResponse = z304.object({
8995
+ var DTOUpdateForgeIterationMessage = DTOCreateForgeIterationMessage.extend({ id: z305.string() });
8996
+ var DTOCreateForgeIterationMessageResponse = z305.object({
8988
8997
  message: DTOForgeIterationMessage
8989
8998
  });
8990
- var DTOUpdateForgeIterationMessageResponse = z304.object({
8999
+ var DTOUpdateForgeIterationMessageResponse = z305.object({
8991
9000
  message: DTOForgeIterationMessage.nullable()
8992
9001
  });
8993
- var DTODeleteForgeIterationMessageResponse = z304.object({
8994
- ok: z304.literal(true)
9002
+ var DTODeleteForgeIterationMessageResponse = z305.object({
9003
+ ok: z305.literal(true)
8995
9004
  });
8996
9005
 
8997
9006
  // src/api/dto/forge/project-action.ts
8998
- import z307 from "zod";
9007
+ import z308 from "zod";
8999
9008
 
9000
9009
  // src/api/dto/forge/project-artifact.ts
9001
- import { z as z305 } from "zod";
9010
+ import { z as z306 } from "zod";
9002
9011
  var omitProps = {
9003
9012
  projectId: true,
9004
9013
  createdByUserId: true,
@@ -9014,77 +9023,77 @@ var DTOForgeProjectArtifactUpdateInput = DTOForgeProjectArtifact.omit({
9014
9023
  // explicitly reintroduce required id
9015
9024
  });
9016
9025
  var DTOForgeProjectArtifactCreateInput = DTOForgeProjectArtifact.omit(omitProps);
9017
- var DTOForgeProjectArtifactDeleteInput = z305.object({
9018
- id: z305.string()
9026
+ var DTOForgeProjectArtifactDeleteInput = z306.object({
9027
+ id: z306.string()
9019
9028
  });
9020
- var DTOForgeProjectArtifactGetResponse = z305.object({
9029
+ var DTOForgeProjectArtifactGetResponse = z306.object({
9021
9030
  artifact: DTOForgeProjectArtifact
9022
9031
  });
9023
- var DTOForgeProjectArtifactCreateResponse = z305.object({
9032
+ var DTOForgeProjectArtifactCreateResponse = z306.object({
9024
9033
  artifact: DTOForgeProjectArtifact
9025
9034
  });
9026
- var DTOForgeProjectArtifactUpdateResponse = z305.object({
9035
+ var DTOForgeProjectArtifactUpdateResponse = z306.object({
9027
9036
  artifact: DTOForgeProjectArtifact
9028
9037
  });
9029
- var DTOForgeProjectArtifactDeleteResponse = z305.object({
9030
- ok: z305.literal(true)
9038
+ var DTOForgeProjectArtifactDeleteResponse = z306.object({
9039
+ ok: z306.literal(true)
9031
9040
  });
9032
- var DTOForgeProjectArtifactsListResponse = z305.object({
9033
- artifacts: z305.array(DTOForgeProjectArtifact)
9041
+ var DTOForgeProjectArtifactsListResponse = z306.object({
9042
+ artifacts: z306.array(DTOForgeProjectArtifact)
9034
9043
  });
9035
9044
 
9036
9045
  // src/api/dto/forge/project-feature.ts
9037
- import z306 from "zod";
9038
- var DTOForgeProjectFeature = z306.object({
9039
- id: z306.string(),
9040
- name: z306.string(),
9041
- description: z306.string(),
9042
- isArchived: z306.boolean()
9043
- });
9044
- var DTOForgeProjectFeatureListResponse = z306.object({
9046
+ import z307 from "zod";
9047
+ var DTOForgeProjectFeature = z307.object({
9048
+ id: z307.string(),
9049
+ name: z307.string(),
9050
+ description: z307.string(),
9051
+ isArchived: z307.boolean()
9052
+ });
9053
+ var DTOForgeProjectFeatureListResponse = z307.object({
9045
9054
  features: DTOForgeProjectFeature.array()
9046
9055
  });
9047
- var DTOForgeProjectFeatureCreateInput = z306.object({
9048
- id: z306.string(),
9049
- name: z306.string(),
9050
- description: z306.string()
9056
+ var DTOForgeProjectFeatureCreateInput = z307.object({
9057
+ id: z307.string(),
9058
+ name: z307.string(),
9059
+ description: z307.string()
9051
9060
  });
9052
- var DTOForgeProjectFeatureUpdateInput = z306.object({
9053
- id: z306.string(),
9054
- name: z306.string().optional(),
9055
- description: z306.string().optional(),
9056
- isArchived: z306.boolean().optional()
9061
+ var DTOForgeProjectFeatureUpdateInput = z307.object({
9062
+ id: z307.string(),
9063
+ name: z307.string().optional(),
9064
+ description: z307.string().optional(),
9065
+ isArchived: z307.boolean().optional()
9057
9066
  });
9058
- var DTOForgeProjectFeatureDeleteInput = z306.object({
9059
- id: z306.string()
9067
+ var DTOForgeProjectFeatureDeleteInput = z307.object({
9068
+ id: z307.string()
9060
9069
  });
9061
9070
 
9062
9071
  // src/api/dto/forge/project-action.ts
9063
- var DTOForgeProjectActionFeatureCreate = z307.object({
9064
- type: z307.literal("FeatureCreate"),
9072
+ var DTOForgeProjectActionFeatureCreate = z308.object({
9073
+ type: z308.literal("FeatureCreate"),
9065
9074
  input: DTOForgeProjectFeatureCreateInput
9066
9075
  });
9067
- var DTOForgeProjectActionFeatureUpdate = z307.object({
9068
- type: z307.literal("FeatureUpdate"),
9076
+ var DTOForgeProjectActionFeatureUpdate = z308.object({
9077
+ type: z308.literal("FeatureUpdate"),
9069
9078
  input: DTOForgeProjectFeatureCreateInput
9070
9079
  });
9071
- var DTOForgeProjectActionFeatureDelete = z307.object({
9072
- type: z307.literal("FeatureDelete"),
9080
+ var DTOForgeProjectActionFeatureDelete = z308.object({
9081
+ type: z308.literal("FeatureDelete"),
9073
9082
  input: DTOForgeProjectFeatureDeleteInput
9074
9083
  });
9075
- var DTOForgeProjectActionArtifactCreate = z307.object({
9076
- type: z307.literal("ArtifactCreate"),
9084
+ var DTOForgeProjectActionArtifactCreate = z308.object({
9085
+ type: z308.literal("ArtifactCreate"),
9077
9086
  input: DTOForgeProjectArtifactCreateInput
9078
9087
  });
9079
- var DTOForgeProjectActionArtifactUpdate = z307.object({
9080
- type: z307.literal("ArtifactUpdate"),
9088
+ var DTOForgeProjectActionArtifactUpdate = z308.object({
9089
+ type: z308.literal("ArtifactUpdate"),
9081
9090
  input: DTOForgeProjectArtifactUpdateInput
9082
9091
  });
9083
- var DTOForgeProjectActionArtifactDelete = z307.object({
9084
- type: z307.literal("ArtifactDelete"),
9092
+ var DTOForgeProjectActionArtifactDelete = z308.object({
9093
+ type: z308.literal("ArtifactDelete"),
9085
9094
  input: DTOForgeProjectArtifactDeleteInput
9086
9095
  });
9087
- var DTOForgeProjectAction = z307.discriminatedUnion("type", [
9096
+ var DTOForgeProjectAction = z308.discriminatedUnion("type", [
9088
9097
  DTOForgeProjectActionFeatureCreate,
9089
9098
  DTOForgeProjectActionFeatureUpdate,
9090
9099
  DTOForgeProjectActionFeatureDelete,
@@ -9094,16 +9103,16 @@ var DTOForgeProjectAction = z307.discriminatedUnion("type", [
9094
9103
  ]);
9095
9104
 
9096
9105
  // src/api/dto/forge/project-artifact-room.ts
9097
- import { z as z308 } from "zod";
9098
- var DTOForgeProjectArtifactRoom = z308.object({
9099
- id: z308.string()
9106
+ import { z as z309 } from "zod";
9107
+ var DTOForgeProjectArtifactRoom = z309.object({
9108
+ id: z309.string()
9100
9109
  });
9101
- var DTOForgeProjectArtifactRoomResponse = z308.object({
9110
+ var DTOForgeProjectArtifactRoomResponse = z309.object({
9102
9111
  room: DTOForgeProjectArtifactRoom
9103
9112
  });
9104
9113
 
9105
9114
  // src/api/dto/forge/project-context.ts
9106
- import { z as z309 } from "zod";
9115
+ import { z as z310 } from "zod";
9107
9116
  var DTOForgeProjectContext = ForgeProjectContext;
9108
9117
  var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
9109
9118
  definition: true,
@@ -9115,17 +9124,17 @@ var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
9115
9124
  tailwindConfig: true,
9116
9125
  styling: true
9117
9126
  }).extend({ npmProxySettings: DTONpmRegistryConfig });
9118
- var DTOUpdateForgeProjectContext = DTOForgeProjectContext.extend({ id: z309.string() });
9119
- var DTOForgeProjectContextGetResponse = z309.object({ context: DTOForgeProjectContext.nullable() });
9120
- var DTOForgeProjectContextListResponse = z309.object({ contexts: z309.array(DTOForgeProjectContext) });
9121
- var DTOForgeProjectContextCreateResponse = z309.object({ context: DTOForgeProjectContext });
9122
- var DTOForgeProjectContextUpdateResponse = z309.object({ context: DTOForgeProjectContext.nullable() });
9123
- var DTOForgeProjectContextRemoveResponse = z309.object({
9124
- ok: z309.literal(true)
9127
+ var DTOUpdateForgeProjectContext = DTOForgeProjectContext.extend({ id: z310.string() });
9128
+ var DTOForgeProjectContextGetResponse = z310.object({ context: DTOForgeProjectContext.nullable() });
9129
+ var DTOForgeProjectContextListResponse = z310.object({ contexts: z310.array(DTOForgeProjectContext) });
9130
+ var DTOForgeProjectContextCreateResponse = z310.object({ context: DTOForgeProjectContext });
9131
+ var DTOForgeProjectContextUpdateResponse = z310.object({ context: DTOForgeProjectContext.nullable() });
9132
+ var DTOForgeProjectContextRemoveResponse = z310.object({
9133
+ ok: z310.literal(true)
9125
9134
  });
9126
9135
 
9127
9136
  // src/api/dto/forge/project-invitation.ts
9128
- import { z as z310 } from "zod";
9137
+ import { z as z311 } from "zod";
9129
9138
  var DTOForgeProjectInvitation = ForgeProjectInvitation;
9130
9139
  var DTOCreateForgeProjectInvitation = DTOForgeProjectInvitation.pick({
9131
9140
  email: true,
@@ -9137,24 +9146,24 @@ var DTOUpdateForgeProjectInvitation = DTOCreateForgeProjectInvitation.omit({ ema
9137
9146
  var DTORemoveForgeProjectInvitation = DTOCreateForgeProjectInvitation.pick({
9138
9147
  email: true
9139
9148
  });
9140
- var DTOForgeProjectInvitationsListResponse = z310.object({
9141
- invitations: z310.array(DTOForgeProjectInvitation)
9149
+ var DTOForgeProjectInvitationsListResponse = z311.object({
9150
+ invitations: z311.array(DTOForgeProjectInvitation)
9142
9151
  });
9143
- var DTOForgeProjectInvitationGetResponse = z310.object({
9152
+ var DTOForgeProjectInvitationGetResponse = z311.object({
9144
9153
  invitation: DTOForgeProjectInvitation.nullable()
9145
9154
  });
9146
- var DTOForgeProjectInvitationCreateResponse = z310.object({
9155
+ var DTOForgeProjectInvitationCreateResponse = z311.object({
9147
9156
  invitation: DTOForgeProjectInvitation
9148
9157
  });
9149
- var DTOForgeProjectInvitationUpdateResponse = z310.object({
9158
+ var DTOForgeProjectInvitationUpdateResponse = z311.object({
9150
9159
  invitation: DTOForgeProjectInvitation.nullable()
9151
9160
  });
9152
- var DTOForgeProjectInvitationRemoveResponse = z310.object({
9153
- ok: z310.literal(true)
9161
+ var DTOForgeProjectInvitationRemoveResponse = z311.object({
9162
+ ok: z311.literal(true)
9154
9163
  });
9155
9164
 
9156
9165
  // src/api/dto/forge/project-iteration.ts
9157
- import { z as z311 } from "zod";
9166
+ import { z as z312 } from "zod";
9158
9167
  var DTOForgeProjectIterationMergeMeta = ForgeProjectIterationMergeMeta;
9159
9168
  var DTOForgeProjectIteration = ForgeProjectIteration.omit({
9160
9169
  artifacts: true,
@@ -9165,7 +9174,7 @@ var DTOForgeProjectIteration = ForgeProjectIteration.omit({
9165
9174
  messages: DTOForgeIterationMessage.array(),
9166
9175
  mergeMeta: DTOForgeProjectIterationMergeMeta.optional()
9167
9176
  });
9168
- var DTOGetForgeProjectIterationResponse = z311.object({
9177
+ var DTOGetForgeProjectIterationResponse = z312.object({
9169
9178
  iteration: DTOForgeProjectIteration.nullable()
9170
9179
  });
9171
9180
  var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
@@ -9175,20 +9184,20 @@ var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
9175
9184
  mergeMeta: true,
9176
9185
  createdAt: true
9177
9186
  });
9178
- var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z311.string() });
9179
- var DTOCreateForgeProjectIterationResponse = z311.object({
9187
+ var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z312.string() });
9188
+ var DTOCreateForgeProjectIterationResponse = z312.object({
9180
9189
  iteration: DTOForgeProjectIteration
9181
9190
  });
9182
- var DTOUpdateForgeProjectIterationResponse = z311.object({
9191
+ var DTOUpdateForgeProjectIterationResponse = z312.object({
9183
9192
  iteration: DTOForgeProjectIteration.nullable()
9184
9193
  });
9185
- var DTODeleteForgeProjectIterationResponse = z311.object({
9186
- ok: z311.literal(true)
9194
+ var DTODeleteForgeProjectIterationResponse = z312.object({
9195
+ ok: z312.literal(true)
9187
9196
  });
9188
- var DTOForgeProjectIterationListResponse = z311.object({ iterations: z311.array(DTOForgeProjectIteration) });
9197
+ var DTOForgeProjectIterationListResponse = z312.object({ iterations: z312.array(DTOForgeProjectIteration) });
9189
9198
 
9190
9199
  // src/api/dto/forge/project-member.ts
9191
- import { z as z312 } from "zod";
9200
+ import { z as z313 } from "zod";
9192
9201
  var DTOForgeProjectMemberRole = ForgeProjectRole;
9193
9202
  var DTOForgeProjectMember = ForgeProjectMembership.extend({
9194
9203
  user: DTOUser,
@@ -9202,36 +9211,36 @@ var DTOUpdateForgeProjectMember = DTOCreateForgeProjectMember.omit({ userId: tru
9202
9211
  var DTORemoveForgeProjectMember = DTOForgeProjectMember.pick({
9203
9212
  userId: true
9204
9213
  });
9205
- var DTOForgeProjectMembersListResponse = z312.object({
9206
- members: z312.array(DTOForgeProjectMember)
9214
+ var DTOForgeProjectMembersListResponse = z313.object({
9215
+ members: z313.array(DTOForgeProjectMember)
9207
9216
  });
9208
- var DTOForgeProjectMemberGetResponse = z312.object({
9217
+ var DTOForgeProjectMemberGetResponse = z313.object({
9209
9218
  member: DTOForgeProjectMember.nullable()
9210
9219
  });
9211
- var DTOForgeProjectMemberCreateResponse = z312.object({
9220
+ var DTOForgeProjectMemberCreateResponse = z313.object({
9212
9221
  member: DTOForgeProjectMember
9213
9222
  });
9214
- var DTOForgeProjectMemberUpdateResponse = z312.object({
9223
+ var DTOForgeProjectMemberUpdateResponse = z313.object({
9215
9224
  member: DTOForgeProjectMember.nullable()
9216
9225
  });
9217
- var DTOForgeProjectMemberRemoveResponse = z312.object({
9218
- ok: z312.literal(true)
9226
+ var DTOForgeProjectMemberRemoveResponse = z313.object({
9227
+ ok: z313.literal(true)
9219
9228
  });
9220
9229
 
9221
9230
  // src/api/dto/forge/project-room.ts
9222
- import { z as z313 } from "zod";
9223
- var DTOForgeProjectRoom = z313.object({
9224
- id: z313.string()
9231
+ import { z as z314 } from "zod";
9232
+ var DTOForgeProjectRoom = z314.object({
9233
+ id: z314.string()
9225
9234
  });
9226
- var DTOForgeProjectRoomResponse = z313.object({
9235
+ var DTOForgeProjectRoomResponse = z314.object({
9227
9236
  room: DTOForgeProjectRoom
9228
9237
  });
9229
9238
 
9230
9239
  // src/api/dto/forge/project.ts
9231
- import { z as z314 } from "zod";
9240
+ import { z as z315 } from "zod";
9232
9241
  var DTOForgeProject = ForgeProject.omit({ fpContextId: true }).extend({
9233
9242
  context: ForgeProjectContext,
9234
- members: z314.array(DTOForgeProjectMember)
9243
+ members: z315.array(DTOForgeProjectMember)
9235
9244
  });
9236
9245
  var DTOCreateForgeProject = ForgeProject.pick({
9237
9246
  instruction: true,
@@ -9243,156 +9252,156 @@ var DTOCreateForgeProject = ForgeProject.pick({
9243
9252
  isArchived: true
9244
9253
  });
9245
9254
  var DTOUpdateForgeProject = DTOCreateForgeProject.partial().extend({
9246
- id: z314.string(),
9247
- membersToRetain: z314.string().array().min(1).optional()
9255
+ id: z315.string(),
9256
+ membersToRetain: z315.string().array().min(1).optional()
9248
9257
  });
9249
- var DTOForgeProjectGetResponse = z314.object({ project: DTOForgeProject.nullable() });
9250
- var DTOForgeProjectsListResponse = z314.object({ projects: z314.array(DTOForgeProject) });
9251
- var DTOCreateForgeProjectResponse = z314.object({
9258
+ var DTOForgeProjectGetResponse = z315.object({ project: DTOForgeProject.nullable() });
9259
+ var DTOForgeProjectsListResponse = z315.object({ projects: z315.array(DTOForgeProject) });
9260
+ var DTOCreateForgeProjectResponse = z315.object({
9252
9261
  project: DTOForgeProject
9253
9262
  });
9254
- var DTOUpdateForgeProjectResponse = z314.object({
9263
+ var DTOUpdateForgeProjectResponse = z315.object({
9255
9264
  project: DTOForgeProject.nullable()
9256
9265
  });
9257
- var DTOUGetForgeProjectResponse = z314.object({
9266
+ var DTOUGetForgeProjectResponse = z315.object({
9258
9267
  project: DTOForgeProject
9259
9268
  });
9260
- var DTORemoveForgeProjectResponse = z314.object({ ok: z314.literal(true) });
9269
+ var DTORemoveForgeProjectResponse = z315.object({ ok: z315.literal(true) });
9261
9270
 
9262
9271
  // src/api/dto/forge/threads.ts
9263
- import { z as z315 } from "zod";
9272
+ import { z as z316 } from "zod";
9264
9273
  var DTOForgeChatMessage = ForgeChatMessage;
9265
9274
  var DTOForgeChatThread = ForgeChatThread;
9266
9275
  var DTOForgeChatMessageSenderType = ForgeChatMessageSenderType;
9267
9276
  var DTOForgeChatMessageSender = ForgeChatMessageSender;
9268
- var DTOForgeChatThreadCreateInput = z315.object({
9269
- title: z315.string().optional()
9277
+ var DTOForgeChatThreadCreateInput = z316.object({
9278
+ title: z316.string().optional()
9270
9279
  });
9271
- var DTOForgeChatThreadCreateResponse = z315.object({
9280
+ var DTOForgeChatThreadCreateResponse = z316.object({
9272
9281
  thread: DTOForgeChatThread
9273
9282
  });
9274
- var DTOForgeChatThreadUpdateInput = z315.object({
9275
- title: z315.string()
9283
+ var DTOForgeChatThreadUpdateInput = z316.object({
9284
+ title: z316.string()
9276
9285
  });
9277
- var DTOForgeChatThreadUpdateResponse = z315.object({
9286
+ var DTOForgeChatThreadUpdateResponse = z316.object({
9278
9287
  thread: DTOForgeChatThread
9279
9288
  });
9280
- var DTOForgeChatThreadDeleteResponse = z315.object({
9281
- success: z315.boolean()
9289
+ var DTOForgeChatThreadDeleteResponse = z316.object({
9290
+ success: z316.boolean()
9282
9291
  });
9283
- var DTOForgeChatThreadListQuery = z315.object({
9284
- limit: z315.number().optional(),
9285
- offset: z315.number().optional()
9292
+ var DTOForgeChatThreadListQuery = z316.object({
9293
+ limit: z316.number().optional(),
9294
+ offset: z316.number().optional()
9286
9295
  });
9287
- var DTOForgeChatThreadListResponse = z315.object({
9288
- threads: z315.array(DTOForgeChatThread),
9289
- pagination: z315.object({
9290
- offset: z315.number(),
9291
- limit: z315.number(),
9292
- total: z315.number()
9296
+ var DTOForgeChatThreadListResponse = z316.object({
9297
+ threads: z316.array(DTOForgeChatThread),
9298
+ pagination: z316.object({
9299
+ offset: z316.number(),
9300
+ limit: z316.number(),
9301
+ total: z316.number()
9293
9302
  })
9294
9303
  });
9295
- var DTOForgeChatMessageCreateInput = z315.object({
9296
- payload: z315.string(),
9304
+ var DTOForgeChatMessageCreateInput = z316.object({
9305
+ payload: z316.string(),
9297
9306
  sender: DTOForgeChatMessageSender.optional(),
9298
- opikTraceId: z315.string().optional()
9307
+ opikTraceId: z316.string().optional()
9299
9308
  });
9300
- var DTOForgeChatMessageCreateResponse = z315.object({
9309
+ var DTOForgeChatMessageCreateResponse = z316.object({
9301
9310
  message: DTOForgeChatMessage
9302
9311
  });
9303
- var DTOForgeChatMessageListQuery = z315.object({
9304
- limit: z315.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
9305
- offset: z315.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
9312
+ var DTOForgeChatMessageListQuery = z316.object({
9313
+ limit: z316.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
9314
+ offset: z316.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
9306
9315
  });
9307
- var DTOForgeChatMessageListResponse = z315.object({
9308
- messages: z315.array(DTOForgeChatMessage),
9309
- totalCount: z315.number(),
9310
- hasMore: z315.boolean()
9316
+ var DTOForgeChatMessageListResponse = z316.object({
9317
+ messages: z316.array(DTOForgeChatMessage),
9318
+ totalCount: z316.number(),
9319
+ hasMore: z316.boolean()
9311
9320
  });
9312
- var DTOForgeChatMessageScoreInput = z315.object({
9313
- messageId: z315.string(),
9314
- name: z315.string(),
9315
- value: z315.number(),
9316
- categoryName: z315.string().optional(),
9317
- reason: z315.string().optional()
9321
+ var DTOForgeChatMessageScoreInput = z316.object({
9322
+ messageId: z316.string(),
9323
+ name: z316.string(),
9324
+ value: z316.number(),
9325
+ categoryName: z316.string().optional(),
9326
+ reason: z316.string().optional()
9318
9327
  });
9319
- var DTOForgeChatMessageTagInput = z315.object({
9320
- messageId: z315.string(),
9321
- tags: z315.array(z315.string())
9328
+ var DTOForgeChatMessageTagInput = z316.object({
9329
+ messageId: z316.string(),
9330
+ tags: z316.array(z316.string())
9322
9331
  });
9323
- var DTOForgeChatMessageScoreRequest = z315.object({
9332
+ var DTOForgeChatMessageScoreRequest = z316.object({
9324
9333
  scores: DTOForgeChatMessageScoreInput.array(),
9325
9334
  tags: DTOForgeChatMessageTagInput.array().optional().default([])
9326
9335
  });
9327
9336
 
9328
9337
  // src/api/dto/liveblocks/auth-response.ts
9329
- import { z as z316 } from "zod";
9330
- var DTOLiveblocksAuthResponse = z316.object({
9331
- token: z316.string()
9338
+ import { z as z317 } from "zod";
9339
+ var DTOLiveblocksAuthResponse = z317.object({
9340
+ token: z317.string()
9332
9341
  });
9333
9342
 
9334
9343
  // src/api/dto/portal/portal-settings.ts
9335
- import { z as z317 } from "zod";
9344
+ import { z as z318 } from "zod";
9336
9345
  var DTOPortalSettingsTheme = PortalSettingsTheme;
9337
9346
  var DTOPortalSettingsSidebarLink = PortalSettingsSidebarLink;
9338
9347
  var DTOPortalSettingsSidebarSection = PortalSettingsSidebarSection;
9339
9348
  var DTOPortalSettingsSidebar = PortalSettingsSidebar;
9340
- var DTOPortalSettings = z317.object({
9341
- id: z317.string(),
9342
- workspaceId: z317.string(),
9343
- enabledDesignSystemIds: z317.array(z317.string()),
9344
- enabledBrandPersistentIds: z317.array(z317.string()),
9349
+ var DTOPortalSettings = z318.object({
9350
+ id: z318.string(),
9351
+ workspaceId: z318.string(),
9352
+ enabledDesignSystemIds: z318.array(z318.string()),
9353
+ enabledBrandPersistentIds: z318.array(z318.string()),
9345
9354
  theme: DTOPortalSettingsTheme.nullish(),
9346
9355
  sidebar: DTOPortalSettingsSidebar.nullish(),
9347
- createdAt: z317.coerce.date(),
9348
- updatedAt: z317.coerce.date()
9356
+ createdAt: z318.coerce.date(),
9357
+ updatedAt: z318.coerce.date()
9349
9358
  });
9350
- var DTOPortalSettingsGetResponse = z317.object({
9359
+ var DTOPortalSettingsGetResponse = z318.object({
9351
9360
  portalSettings: DTOPortalSettings
9352
9361
  });
9353
- var DTOPortalSettingsUpdatePayload = z317.object({
9354
- enabledDesignSystemIds: z317.array(z317.string()).optional(),
9355
- enabledBrandPersistentIds: z317.array(z317.string()).optional(),
9362
+ var DTOPortalSettingsUpdatePayload = z318.object({
9363
+ enabledDesignSystemIds: z318.array(z318.string()).optional(),
9364
+ enabledBrandPersistentIds: z318.array(z318.string()).optional(),
9356
9365
  theme: DTOPortalSettingsTheme.nullish(),
9357
9366
  sidebar: DTOPortalSettingsSidebar.nullish()
9358
9367
  });
9359
9368
 
9360
9369
  // src/api/dto/themes/override.ts
9361
- import { z as z318 } from "zod";
9370
+ import { z as z319 } from "zod";
9362
9371
  var DTOThemeOverride = DesignTokenTypedData.and(
9363
- z318.object({
9364
- tokenPersistentId: z318.string(),
9372
+ z319.object({
9373
+ tokenPersistentId: z319.string(),
9365
9374
  origin: ThemeOverrideOrigin.optional()
9366
9375
  })
9367
9376
  );
9368
9377
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
9369
- z318.object({
9370
- tokenPersistentId: z318.string()
9378
+ z319.object({
9379
+ tokenPersistentId: z319.string()
9371
9380
  })
9372
9381
  );
9373
9382
 
9374
9383
  // src/api/dto/themes/theme.ts
9375
- import { z as z319 } from "zod";
9376
- var DTOTheme = z319.object({
9377
- id: z319.string(),
9378
- persistentId: z319.string(),
9379
- designSystemVersionId: z319.string(),
9380
- brandId: z319.string(),
9384
+ import { z as z320 } from "zod";
9385
+ var DTOTheme = z320.object({
9386
+ id: z320.string(),
9387
+ persistentId: z320.string(),
9388
+ designSystemVersionId: z320.string(),
9389
+ brandId: z320.string(),
9381
9390
  meta: ObjectMeta,
9382
- codeName: z319.string(),
9391
+ codeName: z320.string(),
9383
9392
  overrides: DTOThemeOverride.array()
9384
9393
  });
9385
- var DTOThemeResponse = z319.object({
9394
+ var DTOThemeResponse = z320.object({
9386
9395
  theme: DTOTheme
9387
9396
  });
9388
- var DTOThemeListResponse = z319.object({
9397
+ var DTOThemeListResponse = z320.object({
9389
9398
  themes: DTOTheme.array()
9390
9399
  });
9391
- var DTOThemeCreatePayload = z319.object({
9400
+ var DTOThemeCreatePayload = z320.object({
9392
9401
  meta: ObjectMeta,
9393
- persistentId: z319.string(),
9394
- brandId: z319.string(),
9395
- codeName: z319.string(),
9402
+ persistentId: z320.string(),
9403
+ brandId: z320.string(),
9404
+ codeName: z320.string(),
9396
9405
  overrides: DTOThemeOverride.array()
9397
9406
  });
9398
9407
 
@@ -9628,13 +9637,13 @@ var ExportersEndpoint = class {
9628
9637
  };
9629
9638
 
9630
9639
  // src/api/endpoints/codegen/jobs.ts
9631
- import { z as z320 } from "zod";
9640
+ import { z as z321 } from "zod";
9632
9641
  var ExporterJobsEndpoint = class {
9633
9642
  constructor(requestExecutor) {
9634
9643
  this.requestExecutor = requestExecutor;
9635
9644
  }
9636
9645
  list(workspaceId) {
9637
- return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z320.any());
9646
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z321.any());
9638
9647
  }
9639
9648
  get(workspaceId, jobId) {
9640
9649
  return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
@@ -9692,7 +9701,7 @@ var CodegenEndpoint = class {
9692
9701
  };
9693
9702
 
9694
9703
  // src/api/endpoints/design-system/versions/brands.ts
9695
- import { z as z321 } from "zod";
9704
+ import { z as z322 } from "zod";
9696
9705
  var BrandsEndpoint = class {
9697
9706
  constructor(requestExecutor) {
9698
9707
  this.requestExecutor = requestExecutor;
@@ -9726,7 +9735,7 @@ var BrandsEndpoint = class {
9726
9735
  });
9727
9736
  }
9728
9737
  delete(dsId, vId, brandId) {
9729
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z321.any(), {
9738
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z322.any(), {
9730
9739
  method: "DELETE"
9731
9740
  });
9732
9741
  }
@@ -9993,7 +10002,7 @@ var ImportJobsEndpoint = class {
9993
10002
  };
9994
10003
 
9995
10004
  // src/api/endpoints/design-system/versions/overrides.ts
9996
- import { z as z322 } from "zod";
10005
+ import { z as z323 } from "zod";
9997
10006
  var OverridesEndpoint = class {
9998
10007
  constructor(requestExecutor) {
9999
10008
  this.requestExecutor = requestExecutor;
@@ -10001,7 +10010,7 @@ var OverridesEndpoint = class {
10001
10010
  create(dsId, versionId, themeId, body) {
10002
10011
  return this.requestExecutor.json(
10003
10012
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
10004
- z322.any(),
10013
+ z323.any(),
10005
10014
  {
10006
10015
  method: "POST",
10007
10016
  body
@@ -10011,7 +10020,7 @@ var OverridesEndpoint = class {
10011
10020
  };
10012
10021
 
10013
10022
  // src/api/endpoints/design-system/versions/property-definitions.ts
10014
- import { z as z323 } from "zod";
10023
+ import { z as z324 } from "zod";
10015
10024
  var ElementPropertyDefinitionsEndpoint = class {
10016
10025
  constructor(requestExecutor) {
10017
10026
  this.requestExecutor = requestExecutor;
@@ -10039,7 +10048,7 @@ var ElementPropertyDefinitionsEndpoint = class {
10039
10048
  delete(designSystemId, versionId, defId) {
10040
10049
  return this.requestExecutor.json(
10041
10050
  `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
10042
- z323.any(),
10051
+ z324.any(),
10043
10052
  { method: "DELETE" }
10044
10053
  );
10045
10054
  }
@@ -10078,7 +10087,7 @@ var VersionStatsEndpoint = class {
10078
10087
  };
10079
10088
 
10080
10089
  // src/api/endpoints/design-system/versions/themes.ts
10081
- import { z as z324 } from "zod";
10090
+ import { z as z325 } from "zod";
10082
10091
  var ThemesEndpoint = class {
10083
10092
  constructor(requestExecutor) {
10084
10093
  this.requestExecutor = requestExecutor;
@@ -10101,7 +10110,7 @@ var ThemesEndpoint = class {
10101
10110
  });
10102
10111
  }
10103
10112
  delete(dsId, versionId, themeId) {
10104
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z324.any(), {
10113
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z325.any(), {
10105
10114
  method: "DELETE"
10106
10115
  });
10107
10116
  }
@@ -10272,7 +10281,7 @@ var DesignSystemContactsEndpoint = class {
10272
10281
  };
10273
10282
 
10274
10283
  // src/api/endpoints/design-system/design-systems.ts
10275
- import { z as z328 } from "zod";
10284
+ import { z as z329 } from "zod";
10276
10285
 
10277
10286
  // src/api/endpoints/design-system/figma-node-structures.ts
10278
10287
  var FigmaNodeStructuresEndpoint = class {
@@ -10349,7 +10358,7 @@ var DesignSystemPageRedirectsEndpoint = class {
10349
10358
  };
10350
10359
 
10351
10360
  // src/api/endpoints/design-system/sources.ts
10352
- import { z as z325 } from "zod";
10361
+ import { z as z326 } from "zod";
10353
10362
  var DesignSystemSourcesEndpoint = class {
10354
10363
  constructor(requestExecutor) {
10355
10364
  this.requestExecutor = requestExecutor;
@@ -10367,7 +10376,7 @@ var DesignSystemSourcesEndpoint = class {
10367
10376
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
10368
10377
  }
10369
10378
  delete(dsId, sourceId) {
10370
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z325.any(), { method: "DELETE" });
10379
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z326.any(), { method: "DELETE" });
10371
10380
  }
10372
10381
  updateFigmaSource(dsId, sourceId, payload) {
10373
10382
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse, {
@@ -10410,7 +10419,7 @@ var DesignSystemSourcesEndpoint = class {
10410
10419
  };
10411
10420
 
10412
10421
  // src/api/endpoints/design-system/storybook.ts
10413
- import { z as z326 } from "zod";
10422
+ import { z as z327 } from "zod";
10414
10423
  var StorybookEntriesEndpoint = class {
10415
10424
  constructor(requestExecutor) {
10416
10425
  this.requestExecutor = requestExecutor;
@@ -10426,14 +10435,14 @@ var StorybookEntriesEndpoint = class {
10426
10435
  );
10427
10436
  }
10428
10437
  delete(dsId, entryId) {
10429
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z326.any(), {
10438
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z327.any(), {
10430
10439
  method: "DELETE"
10431
10440
  });
10432
10441
  }
10433
10442
  };
10434
10443
 
10435
10444
  // src/api/endpoints/design-system/storybook-hosting.ts
10436
- import { z as z327 } from "zod";
10445
+ import { z as z328 } from "zod";
10437
10446
  var StorybookHostingEndpoint = class {
10438
10447
  constructor(requestExecutor) {
10439
10448
  this.requestExecutor = requestExecutor;
@@ -10447,7 +10456,7 @@ var StorybookHostingEndpoint = class {
10447
10456
  delete(dsId, storybookUploadId) {
10448
10457
  return this.requestExecutor.json(
10449
10458
  `/design-systems/${dsId}/storybook/${storybookUploadId}`,
10450
- z327.object({ ok: z327.boolean() }),
10459
+ z328.object({ ok: z328.boolean() }),
10451
10460
  {
10452
10461
  method: "DELETE"
10453
10462
  }
@@ -10505,7 +10514,7 @@ var DesignSystemsEndpoint = class {
10505
10514
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
10506
10515
  }
10507
10516
  delete(dsId) {
10508
- return this.requestExecutor.json(`/design-systems/${dsId}`, z328.any(), { method: "DELETE" });
10517
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z329.any(), { method: "DELETE" });
10509
10518
  }
10510
10519
  update(dsId, body) {
10511
10520
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -10703,7 +10712,7 @@ var ForgeProjectContextsEndpoint = class {
10703
10712
  };
10704
10713
 
10705
10714
  // src/api/endpoints/forge/project-members.ts
10706
- import { z as z329 } from "zod";
10715
+ import { z as z330 } from "zod";
10707
10716
  var ForgeProjectMembersEndpoint = class {
10708
10717
  constructor(requestExecutor) {
10709
10718
  this.requestExecutor = requestExecutor;
@@ -10732,7 +10741,7 @@ var ForgeProjectMembersEndpoint = class {
10732
10741
  delete(projectId, userId) {
10733
10742
  return this.requestExecutor.json(
10734
10743
  `/forge/projects/${projectId}/members/${userId}`,
10735
- z329.object({ ok: z329.literal(true) }),
10744
+ z330.object({ ok: z330.literal(true) }),
10736
10745
  {
10737
10746
  method: "DELETE"
10738
10747
  }
@@ -10886,7 +10895,7 @@ var ForgeProjectIterationsEndpoint = class {
10886
10895
  };
10887
10896
 
10888
10897
  // src/api/endpoints/forge/project-invitations.ts
10889
- import { z as z330 } from "zod";
10898
+ import { z as z331 } from "zod";
10890
10899
  var ForgeProjectInvitationsEndpoint = class {
10891
10900
  constructor(requestExecutor) {
10892
10901
  this.requestExecutor = requestExecutor;
@@ -10923,7 +10932,7 @@ var ForgeProjectInvitationsEndpoint = class {
10923
10932
  delete(projectId, email) {
10924
10933
  return this.requestExecutor.json(
10925
10934
  `/forge/projects/${projectId}/invitations/${encodeURI(email)}`,
10926
- z330.object({ ok: z330.literal(true) }),
10935
+ z331.object({ ok: z331.literal(true) }),
10927
10936
  {
10928
10937
  method: "DELETE"
10929
10938
  }
@@ -10956,7 +10965,7 @@ var ForgesEndpoint = class {
10956
10965
  };
10957
10966
 
10958
10967
  // src/api/endpoints/workspaces/chat-threads.ts
10959
- import { z as z331 } from "zod";
10968
+ import { z as z332 } from "zod";
10960
10969
  var WorkspaceChatThreadsEndpoint = class {
10961
10970
  constructor(requestExecutor) {
10962
10971
  this.requestExecutor = requestExecutor;
@@ -10988,7 +10997,7 @@ var WorkspaceChatThreadsEndpoint = class {
10988
10997
  );
10989
10998
  }
10990
10999
  delete(workspaceId, threadId) {
10991
- return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z331.any(), {
11000
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z332.any(), {
10992
11001
  method: "DELETE"
10993
11002
  });
10994
11003
  }
@@ -11020,7 +11029,7 @@ var ChatThreadMessagesEndpoint = class {
11020
11029
  );
11021
11030
  }
11022
11031
  score(workspaceId, threadId, body) {
11023
- return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z331.any(), {
11032
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z332.any(), {
11024
11033
  method: "POST",
11025
11034
  body
11026
11035
  });
@@ -11028,7 +11037,7 @@ var ChatThreadMessagesEndpoint = class {
11028
11037
  };
11029
11038
 
11030
11039
  // src/api/endpoints/workspaces/integrations.ts
11031
- import { z as z332 } from "zod";
11040
+ import { z as z333 } from "zod";
11032
11041
  var WorkspaceIntegrationsEndpoint = class {
11033
11042
  constructor(requestExecutor) {
11034
11043
  this.requestExecutor = requestExecutor;
@@ -11037,7 +11046,7 @@ var WorkspaceIntegrationsEndpoint = class {
11037
11046
  return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
11038
11047
  }
11039
11048
  delete(wsId, iId) {
11040
- return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z332.unknown(), { method: "DELETE" });
11049
+ return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z333.unknown(), { method: "DELETE" });
11041
11050
  }
11042
11051
  };
11043
11052
 
@@ -11069,7 +11078,7 @@ var WorkspaceInvitationsEndpoint = class {
11069
11078
  };
11070
11079
 
11071
11080
  // src/api/endpoints/workspaces/members.ts
11072
- import { z as z333 } from "zod";
11081
+ import { z as z334 } from "zod";
11073
11082
  var WorkspaceMembersEndpoint = class {
11074
11083
  constructor(requestExecutor) {
11075
11084
  this.requestExecutor = requestExecutor;
@@ -11086,7 +11095,7 @@ var WorkspaceMembersEndpoint = class {
11086
11095
  });
11087
11096
  }
11088
11097
  invite(workspaceId, body) {
11089
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z333.any(), { method: "POST", body });
11098
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z334.any(), { method: "POST", body });
11090
11099
  }
11091
11100
  delete(workspaceId, userId) {
11092
11101
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -11115,7 +11124,7 @@ var WorkspaceNpmRegistryEndpoint = class {
11115
11124
  };
11116
11125
 
11117
11126
  // src/api/endpoints/workspaces/workspaces.ts
11118
- import { z as z334 } from "zod";
11127
+ import { z as z335 } from "zod";
11119
11128
  var WorkspacesEndpoint = class {
11120
11129
  constructor(requestExecutor) {
11121
11130
  this.requestExecutor = requestExecutor;
@@ -11147,10 +11156,10 @@ var WorkspacesEndpoint = class {
11147
11156
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
11148
11157
  }
11149
11158
  delete(workspaceId) {
11150
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z334.any(), { method: "DELETE" });
11159
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z335.any(), { method: "DELETE" });
11151
11160
  }
11152
11161
  subscription(workspaceId) {
11153
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z334.any(), { method: "GET" });
11162
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z335.any(), { method: "GET" });
11154
11163
  }
11155
11164
  getPortalSettings(workspaceId) {
11156
11165
  return this.requestExecutor.json(`/workspaces/${workspaceId}/portal/settings`, DTOPortalSettingsGetResponse, {
@@ -11261,9 +11270,9 @@ ${bodyText}`,
11261
11270
 
11262
11271
  // src/api/transport/request-executor.ts
11263
11272
  import fetch from "node-fetch";
11264
- import { z as z335 } from "zod";
11265
- var ResponseWrapper = z335.object({
11266
- result: z335.record(z335.any())
11273
+ import { z as z336 } from "zod";
11274
+ var ResponseWrapper = z336.object({
11275
+ result: z336.record(z336.any())
11267
11276
  });
11268
11277
  var RequestExecutor = class {
11269
11278
  constructor(testServerConfig) {
@@ -11340,31 +11349,31 @@ var SupernovaApiClient = class {
11340
11349
  };
11341
11350
 
11342
11351
  // src/events/design-system.ts
11343
- import { z as z336 } from "zod";
11344
- var DTOEventFigmaNodesRendered = z336.object({
11345
- type: z336.literal("DesignSystem.FigmaNodesRendered"),
11346
- designSystemId: z336.string(),
11347
- versionId: z336.string(),
11348
- figmaNodePersistentIds: z336.string().array()
11349
- });
11350
- var DTOEventDataSourcesImported = z336.object({
11351
- type: z336.literal("DesignSystem.ImportJobFinished"),
11352
- designSystemId: z336.string(),
11353
- versionId: z336.string(),
11354
- importJobId: z336.string(),
11352
+ import { z as z337 } from "zod";
11353
+ var DTOEventFigmaNodesRendered = z337.object({
11354
+ type: z337.literal("DesignSystem.FigmaNodesRendered"),
11355
+ designSystemId: z337.string(),
11356
+ versionId: z337.string(),
11357
+ figmaNodePersistentIds: z337.string().array()
11358
+ });
11359
+ var DTOEventDataSourcesImported = z337.object({
11360
+ type: z337.literal("DesignSystem.ImportJobFinished"),
11361
+ designSystemId: z337.string(),
11362
+ versionId: z337.string(),
11363
+ importJobId: z337.string(),
11355
11364
  dataSourceType: DataSourceRemoteType,
11356
- dataSourceIds: z336.string().array()
11365
+ dataSourceIds: z337.string().array()
11357
11366
  });
11358
11367
 
11359
11368
  // src/events/event.ts
11360
- import { z as z337 } from "zod";
11361
- var DTOEvent = z337.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
11369
+ import { z as z338 } from "zod";
11370
+ var DTOEvent = z338.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
11362
11371
 
11363
11372
  // src/sync/docs-structure-repo.ts
11364
11373
  import PQueue from "p-queue";
11365
11374
 
11366
11375
  // src/yjs/design-system-content/documentation-hierarchy.ts
11367
- import { z as z338 } from "zod";
11376
+ import { z as z339 } from "zod";
11368
11377
 
11369
11378
  // src/yjs/version-room/base.ts
11370
11379
  var VersionRoomBaseYDoc = class {
@@ -11914,24 +11923,24 @@ var FrontendVersionRoomYDoc = class {
11914
11923
  };
11915
11924
 
11916
11925
  // src/yjs/design-system-content/documentation-hierarchy.ts
11917
- var DocumentationHierarchySettings = z338.object({
11918
- routingVersion: z338.string(),
11919
- isDraftFeatureAdopted: z338.boolean(),
11920
- isApprovalFeatureEnabled: z338.boolean(),
11921
- approvalRequiredForPublishing: z338.boolean()
11926
+ var DocumentationHierarchySettings = z339.object({
11927
+ routingVersion: z339.string(),
11928
+ isDraftFeatureAdopted: z339.boolean(),
11929
+ isApprovalFeatureEnabled: z339.boolean(),
11930
+ approvalRequiredForPublishing: z339.boolean()
11922
11931
  });
11923
11932
  function yjsToDocumentationHierarchy(doc) {
11924
11933
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
11925
11934
  }
11926
11935
 
11927
11936
  // src/yjs/design-system-content/item-configuration.ts
11928
- import { z as z339 } from "zod";
11929
- var DTODocumentationPageRoomHeaderData = z339.object({
11930
- title: z339.string(),
11937
+ import { z as z340 } from "zod";
11938
+ var DTODocumentationPageRoomHeaderData = z340.object({
11939
+ title: z340.string(),
11931
11940
  configuration: DTODocumentationItemConfigurationV2
11932
11941
  });
11933
- var DTODocumentationPageRoomHeaderDataUpdate = z339.object({
11934
- title: z339.string().optional(),
11942
+ var DTODocumentationPageRoomHeaderDataUpdate = z340.object({
11943
+ title: z340.string().optional(),
11935
11944
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
11936
11945
  });
11937
11946
  function itemConfigurationToYjs(yDoc, item) {
@@ -11966,9 +11975,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
11966
11975
  var PageSectionEditorModel = PageSectionEditorModelV2;
11967
11976
 
11968
11977
  // src/yjs/docs-editor/model/page.ts
11969
- import { z as z340 } from "zod";
11970
- var DocumentationPageEditorModel = z340.object({
11971
- blocks: z340.array(DocumentationPageContentItem)
11978
+ import { z as z341 } from "zod";
11979
+ var DocumentationPageEditorModel = z341.object({
11980
+ blocks: z341.array(DocumentationPageContentItem)
11972
11981
  });
11973
11982
 
11974
11983
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -15645,7 +15654,7 @@ var blocks = [
15645
15654
 
15646
15655
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
15647
15656
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
15648
- import { z as z341 } from "zod";
15657
+ import { z as z342 } from "zod";
15649
15658
  function yDocToPage(yDoc, definitions) {
15650
15659
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
15651
15660
  }
@@ -15721,7 +15730,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
15721
15730
  if (!id) return null;
15722
15731
  return {
15723
15732
  id,
15724
- title: getProsemirrorAttribute(prosemirrorNode, "title", z341.string()) ?? "",
15733
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z342.string()) ?? "",
15725
15734
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
15726
15735
  };
15727
15736
  }
@@ -15755,7 +15764,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
15755
15764
  });
15756
15765
  }
15757
15766
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
15758
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z341.string());
15767
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z342.string());
15759
15768
  if (!definitionId) {
15760
15769
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
15761
15770
  return [];
@@ -15796,7 +15805,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
15796
15805
  const id = getProsemirrorBlockId(prosemirrorNode);
15797
15806
  if (!id) return null;
15798
15807
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
15799
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z341.string().optional()));
15808
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z342.string().optional()));
15800
15809
  return {
15801
15810
  id,
15802
15811
  type: "Block",
@@ -15919,9 +15928,9 @@ function parseRichTextAttribute(mark) {
15919
15928
  return null;
15920
15929
  }
15921
15930
  function parseProsemirrorLink(mark) {
15922
- const href = getProsemirrorAttribute(mark, "href", z341.string().optional());
15931
+ const href = getProsemirrorAttribute(mark, "href", z342.string().optional());
15923
15932
  if (!href) return null;
15924
- const target = getProsemirrorAttribute(mark, "target", z341.string().optional());
15933
+ const target = getProsemirrorAttribute(mark, "target", z342.string().optional());
15925
15934
  const openInNewTab = target === "_blank";
15926
15935
  if (href.startsWith("@")) {
15927
15936
  return {
@@ -15940,9 +15949,9 @@ function parseProsemirrorLink(mark) {
15940
15949
  }
15941
15950
  }
15942
15951
  function parseProsemirrorCommentHighlight(mark) {
15943
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z341.string().optional());
15952
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z342.string().optional());
15944
15953
  if (!highlightId) return null;
15945
- const isResolved = getProsemirrorAttribute(mark, "resolved", z341.boolean().optional()) ?? false;
15954
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z342.boolean().optional()) ?? false;
15946
15955
  return {
15947
15956
  type: "Comment",
15948
15957
  commentHighlightId: highlightId,
@@ -15953,7 +15962,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
15953
15962
  const id = getProsemirrorBlockId(prosemirrorNode);
15954
15963
  if (!id) return null;
15955
15964
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
15956
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z341.boolean().optional()) !== false;
15965
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z342.boolean().optional()) !== false;
15957
15966
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
15958
15967
  if (!tableChild) {
15959
15968
  return emptyTable(id, variantId, 0);
@@ -15999,9 +16008,9 @@ function parseAsTable(prosemirrorNode, definition, property) {
15999
16008
  function parseAsTableCell(prosemirrorNode) {
16000
16009
  const id = getProsemirrorBlockId(prosemirrorNode);
16001
16010
  if (!id) return null;
16002
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z341.string().optional());
16011
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z342.string().optional());
16003
16012
  let columnWidth;
16004
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z341.array(z341.number()).nullish());
16013
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z342.array(z342.number()).nullish());
16005
16014
  if (columnWidthArray) {
16006
16015
  columnWidth = roundDimension(columnWidthArray[0]);
16007
16016
  }
@@ -16037,7 +16046,7 @@ function parseAsTableNode(prosemirrorNode) {
16037
16046
  value: parseRichText(prosemirrorNode.content ?? [])
16038
16047
  };
16039
16048
  case "image":
16040
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z341.string());
16049
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z342.string());
16041
16050
  if (!items) return null;
16042
16051
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
16043
16052
  if (!parsedItems.success) return null;
@@ -16151,7 +16160,7 @@ function definitionExpectsPlaceholderItem(definition) {
16151
16160
  );
16152
16161
  }
16153
16162
  function parseBlockItems(prosemirrorNode, definition) {
16154
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z341.string());
16163
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z342.string());
16155
16164
  if (!itemsString) return null;
16156
16165
  const itemsJson = JSON.parse(itemsString);
16157
16166
  if (!Array.isArray(itemsJson)) {
@@ -16162,18 +16171,18 @@ function parseBlockItems(prosemirrorNode, definition) {
16162
16171
  }
16163
16172
  function parseAppearance(prosemirrorNode) {
16164
16173
  let appearance = {};
16165
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z341.string().optional());
16174
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z342.string().optional());
16166
16175
  if (rawAppearanceString) {
16167
16176
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
16168
16177
  if (parsedAppearance.success) {
16169
16178
  appearance = parsedAppearance.data;
16170
16179
  }
16171
16180
  }
16172
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z341.number().optional());
16181
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z342.number().optional());
16173
16182
  if (columns) {
16174
16183
  appearance.numberOfColumns = columns;
16175
16184
  }
16176
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z341.string().optional());
16185
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z342.string().optional());
16177
16186
  if (backgroundColor) {
16178
16187
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
16179
16188
  if (parsedColor.success) {
@@ -16274,12 +16283,12 @@ function valueSchemaForPropertyType(type) {
16274
16283
  }
16275
16284
  }
16276
16285
  function getProsemirrorBlockId(prosemirrorNode) {
16277
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z341.string());
16286
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z342.string());
16278
16287
  if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
16279
16288
  return id;
16280
16289
  }
16281
16290
  function getProsemirrorBlockVariantId(prosemirrorNode) {
16282
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z341.string()));
16291
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z342.string()));
16283
16292
  }
16284
16293
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
16285
16294
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
@@ -16840,6 +16849,8 @@ export {
16840
16849
  DTOBffFigmaImportRequestBody,
16841
16850
  DTOBffImportRequestBody,
16842
16851
  DTOBffUploadImportRequestBody,
16852
+ DTOBillingCreditsSpendInput,
16853
+ DTOBillingCreditsSpendResponse,
16843
16854
  DTOBrand,
16844
16855
  DTOBrandCreatePayload,
16845
16856
  DTOBrandCreateResponse,