@supernova-studio/client 1.87.11 → 1.88.1

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
@@ -160,7 +160,8 @@ var FeaturesSummary = z7.object({
160
160
  forgeFeatureWorkspacePublishing: featureToggleSchema,
161
161
  forgeFeatureHideSupernovaUI: featureToggleSchema,
162
162
  documentationPages: featureLimitedSchema,
163
- sandboxTemplates: featureToggleSchema
163
+ sandboxTemplates: featureToggleSchema,
164
+ forgeShellTemplates: featureLimitedSchema
164
165
  });
165
166
 
166
167
  // ../model/src/billing/invoice.ts
@@ -4400,6 +4401,14 @@ var FigmaExporterProcessedStylesSchema = z124.object({
4400
4401
  textShadow: z124.string().optional(),
4401
4402
  filter: z124.string().optional(),
4402
4403
  backdropFilter: z124.string().optional(),
4404
+ maskImage: z124.string().optional(),
4405
+ maskRepeat: z124.string().optional(),
4406
+ maskPosition: z124.string().optional(),
4407
+ maskSize: z124.string().optional(),
4408
+ WebkitMaskImage: z124.string().optional(),
4409
+ WebkitMaskRepeat: z124.string().optional(),
4410
+ WebkitMaskPosition: z124.string().optional(),
4411
+ WebkitMaskSize: z124.string().optional(),
4403
4412
  mixBlendMode: z124.union([
4404
4413
  z124.literal("normal"),
4405
4414
  z124.literal("multiply"),
@@ -4505,7 +4514,8 @@ var FigmaExporterDesignNodeTypeSchema = z124.union([
4505
4514
  z124.literal("TEXT"),
4506
4515
  z124.literal("SVG"),
4507
4516
  z124.literal("IMAGE"),
4508
- z124.literal("COMPONENT_INSTANCE")
4517
+ z124.literal("COMPONENT_INSTANCE"),
4518
+ z124.literal("MASK_GROUP")
4509
4519
  ]);
4510
4520
  var baseDesignNodeObjectSchema = z124.object({
4511
4521
  id: z124.string(),
@@ -4539,6 +4549,35 @@ var componentInstanceObjectSchema = baseDesignNodeObjectSchema.extend({
4539
4549
  componentDescription: z124.string(),
4540
4550
  props: z124.record(z124.string(), z124.union([z124.string(), z124.boolean()]))
4541
4551
  });
4552
+ var svgMaskDefinitionSchema = z124.object({
4553
+ type: z124.literal("SVG_MASK"),
4554
+ svgString: z124.string(),
4555
+ width: z124.number(),
4556
+ height: z124.number()
4557
+ });
4558
+ var rectClipMaskDefinitionSchema = z124.object({
4559
+ type: z124.literal("RECT_CLIP"),
4560
+ width: z124.number(),
4561
+ height: z124.number(),
4562
+ borderRadius: z124.string().optional()
4563
+ });
4564
+ var ellipseClipMaskDefinitionSchema = z124.object({
4565
+ type: z124.literal("ELLIPSE_CLIP"),
4566
+ width: z124.number(),
4567
+ height: z124.number()
4568
+ });
4569
+ var FigmaExporterMaskDefinitionSchema = z124.union([
4570
+ svgMaskDefinitionSchema,
4571
+ rectClipMaskDefinitionSchema,
4572
+ ellipseClipMaskDefinitionSchema
4573
+ ]);
4574
+ var maskGroupNodeObjectSchema = baseDesignNodeObjectSchema.extend({
4575
+ type: z124.literal("MASK_GROUP"),
4576
+ maskType: z124.union([z124.literal("ALPHA"), z124.literal("VECTOR")]),
4577
+ maskSourceId: z124.string(),
4578
+ maskSourceName: z124.string(),
4579
+ maskDefinition: FigmaExporterMaskDefinitionSchema
4580
+ });
4542
4581
  var frameNodeSchema = z124.lazy(
4543
4582
  () => frameNodeObjectSchema.extend({
4544
4583
  children: FigmaExporterAnyDesignNodeSchema.array()
@@ -4556,12 +4595,18 @@ var componentInstanceNodeSchema = z124.lazy(
4556
4595
  children: FigmaExporterAnyDesignNodeSchema.array()
4557
4596
  })
4558
4597
  );
4598
+ var maskGroupNodeSchema = z124.lazy(
4599
+ () => maskGroupNodeObjectSchema.extend({
4600
+ children: FigmaExporterAnyDesignNodeSchema.array()
4601
+ })
4602
+ );
4559
4603
  var FigmaExporterAnyDesignNodeSchema = z124.union([
4560
4604
  frameNodeSchema,
4561
4605
  textNodeSchema,
4562
4606
  svgNodeSchema,
4563
4607
  imageNodeSchema,
4564
- componentInstanceNodeSchema
4608
+ componentInstanceNodeSchema,
4609
+ maskGroupNodeSchema
4565
4610
  ]);
4566
4611
 
4567
4612
  // ../model/src/dsm/figma-node-renderer/renderer-payload.ts
@@ -6291,7 +6336,8 @@ var FlaggedFeature = z208.enum([
6291
6336
  "ForgeCopyTemplatePreset",
6292
6337
  "ForgeSandboxTimeout",
6293
6338
  "ForgeFileUploadBatchSize",
6294
- "DSVersionRoomYJSStorageVersion"
6339
+ "DSVersionRoomYJSStorageVersion",
6340
+ "ForgeTemplateUploadForAll"
6295
6341
  ]);
6296
6342
  var FeatureFlagMap = z208.record(FlaggedFeature, z208.boolean());
6297
6343
  var FeatureFlag = z208.object({
@@ -9150,217 +9196,239 @@ var DTODocumentationPageSnapshot = z286.object({
9150
9196
  reason: DesignElementSnapshotReason
9151
9197
  });
9152
9198
 
9153
- // src/api/dto/documentation/link-preview.ts
9199
+ // src/api/dto/documentation/documentation.ts
9154
9200
  import { z as z287 } from "zod";
9155
- var DTODocumentationLinkPreviewResponse = z287.object({
9201
+ var DTODocumentationMinimalPage = z287.object({
9202
+ id: z287.string(),
9203
+ title: z287.string(),
9204
+ fullPath: z287.string(),
9205
+ description: z287.string().optional()
9206
+ });
9207
+ var DTODocumentationContent = z287.object({
9208
+ id: z287.string(),
9209
+ markdown: z287.string()
9210
+ });
9211
+ var DTODocumentationMinimalPageListResponse = z287.object({
9212
+ pages: z287.array(DTODocumentationMinimalPage)
9213
+ });
9214
+ var DTODocumentationContentResponse = z287.object({
9215
+ pageContents: z287.array(DTODocumentationContent)
9216
+ });
9217
+ var DTODocumentationContentQuery = z287.object({
9218
+ pageIds: z287.string().transform((value) => value.split(",")).pipe(z287.string().trim().array())
9219
+ });
9220
+
9221
+ // src/api/dto/documentation/link-preview.ts
9222
+ import { z as z288 } from "zod";
9223
+ var DTODocumentationLinkPreviewResponse = z288.object({
9156
9224
  linkPreview: DocumentationLinkPreview
9157
9225
  });
9158
- var DTODocumentationLinkPreviewRequest = z287.object({
9159
- url: z287.string().optional(),
9160
- documentationItemPersistentId: z287.string().optional()
9226
+ var DTODocumentationLinkPreviewRequest = z288.object({
9227
+ url: z288.string().optional(),
9228
+ documentationItemPersistentId: z288.string().optional()
9161
9229
  });
9162
9230
 
9163
9231
  // src/api/dto/documentation/publish.ts
9164
- import { z as z292 } from "zod";
9232
+ import { z as z293 } from "zod";
9165
9233
 
9166
9234
  // src/api/dto/export/exporter.ts
9167
- import { z as z288 } from "zod";
9168
- var DTOExporterType = z288.enum(["documentation", "code"]);
9169
- var DTOExporterSource = z288.enum(["git", "upload"]);
9170
- var DTOExporterMembershipRole = z288.enum(["Owner", "OwnerArchived", "User"]);
9171
- var DTOExporterListQuery = z288.object({
9172
- limit: z288.coerce.number().optional(),
9173
- offset: z288.coerce.number().optional(),
9235
+ import { z as z289 } from "zod";
9236
+ var DTOExporterType = z289.enum(["documentation", "code"]);
9237
+ var DTOExporterSource = z289.enum(["git", "upload"]);
9238
+ var DTOExporterMembershipRole = z289.enum(["Owner", "OwnerArchived", "User"]);
9239
+ var DTOExporterListQuery = z289.object({
9240
+ limit: z289.coerce.number().optional(),
9241
+ offset: z289.coerce.number().optional(),
9174
9242
  type: DTOExporterType.optional(),
9175
- search: z288.string().optional()
9243
+ search: z289.string().optional()
9176
9244
  });
9177
- var DTOExporter = z288.object({
9178
- id: z288.string(),
9179
- name: z288.string(),
9180
- isPrivate: z288.boolean(),
9245
+ var DTOExporter = z289.object({
9246
+ id: z289.string(),
9247
+ name: z289.string(),
9248
+ isPrivate: z289.boolean(),
9181
9249
  exporterType: DTOExporterType,
9182
- isDefaultDocumentationExporter: z288.boolean(),
9183
- iconURL: z288.string().optional(),
9250
+ isDefaultDocumentationExporter: z289.boolean(),
9251
+ iconURL: z289.string().optional(),
9184
9252
  configurationProperties: PulsarContributionConfigurationProperty.array(),
9185
9253
  properties: DTOExporterPropertyDefinition.array().optional(),
9186
9254
  customBlocks: PulsarCustomBlock.array(),
9187
- blockVariants: z288.record(z288.string(), PulsarContributionVariant.array()),
9188
- homepage: z288.string().optional(),
9189
- organization: z288.string().optional(),
9190
- packageId: z288.string().optional(),
9191
- tags: z288.array(z288.string()),
9192
- author: z288.string().optional(),
9193
- version: z288.string(),
9194
- description: z288.string(),
9195
- usesLocale: z288.boolean(),
9196
- usesBrands: z288.boolean(),
9197
- usesThemes: z288.boolean(),
9198
- readme: z288.string().optional(),
9199
- routingVersion: z288.string().optional(),
9255
+ blockVariants: z289.record(z289.string(), PulsarContributionVariant.array()),
9256
+ homepage: z289.string().optional(),
9257
+ organization: z289.string().optional(),
9258
+ packageId: z289.string().optional(),
9259
+ tags: z289.array(z289.string()),
9260
+ author: z289.string().optional(),
9261
+ version: z289.string(),
9262
+ description: z289.string(),
9263
+ usesLocale: z289.boolean(),
9264
+ usesBrands: z289.boolean(),
9265
+ usesThemes: z289.boolean(),
9266
+ readme: z289.string().optional(),
9267
+ routingVersion: z289.string().optional(),
9200
9268
  source: DTOExporterSource,
9201
- gitProvider: z288.string().optional(),
9202
- gitUrl: nullishToOptional(z288.string()),
9203
- gitBranch: nullishToOptional(z288.string()),
9204
- gitDirectory: nullishToOptional(z288.string()),
9205
- isDeprecated: z288.boolean(),
9206
- deprecationNote: z288.string().optional(),
9207
- replacementExporterId: z288.string().optional()
9208
- });
9209
- var DTOExporterMembership = z288.object({
9210
- workspaceId: z288.string(),
9211
- exporterId: z288.string(),
9269
+ gitProvider: z289.string().optional(),
9270
+ gitUrl: nullishToOptional(z289.string()),
9271
+ gitBranch: nullishToOptional(z289.string()),
9272
+ gitDirectory: nullishToOptional(z289.string()),
9273
+ isDeprecated: z289.boolean(),
9274
+ deprecationNote: z289.string().optional(),
9275
+ replacementExporterId: z289.string().optional()
9276
+ });
9277
+ var DTOExporterMembership = z289.object({
9278
+ workspaceId: z289.string(),
9279
+ exporterId: z289.string(),
9212
9280
  role: DTOExporterMembershipRole
9213
9281
  });
9214
- var DTOExporterResponse = z288.object({
9282
+ var DTOExporterResponse = z289.object({
9215
9283
  exporter: DTOExporter,
9216
9284
  membership: DTOExporterMembership
9217
9285
  });
9218
- var DTOExporterListResponse = z288.object({
9286
+ var DTOExporterListResponse = z289.object({
9219
9287
  exporters: DTOExporter.array(),
9220
9288
  membership: DTOExporterMembership.array(),
9221
- total: z288.number()
9289
+ total: z289.number()
9222
9290
  });
9223
- var DTOExporterGitProviderEnum = z288.enum(["github", "gitlab", "bitbucket", "azure"]);
9224
- var DTOExporterCreateInput = z288.object({
9225
- url: z288.string(),
9291
+ var DTOExporterGitProviderEnum = z289.enum(["github", "gitlab", "bitbucket", "azure"]);
9292
+ var DTOExporterCreateInput = z289.object({
9293
+ url: z289.string(),
9226
9294
  provider: DTOExporterGitProviderEnum
9227
9295
  });
9228
- var DTOExporterUpdateInput = z288.object({
9229
- url: z288.string().optional()
9296
+ var DTOExporterUpdateInput = z289.object({
9297
+ url: z289.string().optional()
9230
9298
  });
9231
- var DTOExporterDeprecationInput = z288.object({
9232
- isDeprecated: z288.boolean(),
9233
- deprecationNote: z288.string().optional(),
9234
- replacementExporterId: z288.string().optional()
9299
+ var DTOExporterDeprecationInput = z289.object({
9300
+ isDeprecated: z289.boolean(),
9301
+ deprecationNote: z289.string().optional(),
9302
+ replacementExporterId: z289.string().optional()
9235
9303
  });
9236
9304
 
9237
9305
  // src/api/dto/export/filter.ts
9238
- import { z as z289 } from "zod";
9239
- var DTOExportJobsListFilter = z289.object({
9240
- exporterId: z289.string().optional(),
9241
- designSystemVersionId: z289.string().optional(),
9242
- createdByUserId: z289.string().optional(),
9306
+ import { z as z290 } from "zod";
9307
+ var DTOExportJobsListFilter = z290.object({
9308
+ exporterId: z290.string().optional(),
9309
+ designSystemVersionId: z290.string().optional(),
9310
+ createdByUserId: z290.string().optional(),
9243
9311
  status: ExportJobStatus.optional(),
9244
- scheduleId: z289.string().optional(),
9245
- designSystemId: z289.string().optional(),
9246
- themeId: z289.string().optional(),
9247
- brandId: z289.string().optional(),
9312
+ scheduleId: z290.string().optional(),
9313
+ designSystemId: z290.string().optional(),
9314
+ themeId: z290.string().optional(),
9315
+ brandId: z290.string().optional(),
9248
9316
  docsEnvironment: PublishedDocEnvironment.optional(),
9249
- destinations: z289.string().transform((s) => s.split(",").map((p) => ExportJobDestinationType.parse(p))).optional()
9317
+ destinations: z290.string().transform((s) => s.split(",").map((p) => ExportJobDestinationType.parse(p))).optional()
9250
9318
  });
9251
9319
 
9252
9320
  // src/api/dto/export/job.ts
9253
- import { z as z290 } from "zod";
9254
- var DTOExportJobCreatedBy = z290.object({
9255
- userId: z290.string(),
9256
- userName: z290.string()
9321
+ import { z as z291 } from "zod";
9322
+ var DTOExportJobCreatedBy = z291.object({
9323
+ userId: z291.string(),
9324
+ userName: z291.string()
9257
9325
  });
9258
- var DTOExportJobDesignSystemPreview = z290.object({
9259
- id: z290.string(),
9326
+ var DTOExportJobDesignSystemPreview = z291.object({
9327
+ id: z291.string(),
9260
9328
  meta: ObjectMeta
9261
9329
  });
9262
- var DTOExportJobDesignSystemVersionPreview = z290.object({
9263
- id: z290.string(),
9330
+ var DTOExportJobDesignSystemVersionPreview = z291.object({
9331
+ id: z291.string(),
9264
9332
  meta: ObjectMeta,
9265
- version: z290.string(),
9266
- isReadonly: z290.boolean()
9333
+ version: z291.string(),
9334
+ isReadonly: z291.boolean()
9267
9335
  });
9268
- var DTOExportJobDestinations = z290.object({
9336
+ var DTOExportJobDestinations = z291.object({
9269
9337
  s3: ExporterDestinationS3.optional(),
9270
9338
  azure: ExporterDestinationAzure.optional(),
9271
9339
  bitbucket: ExporterDestinationBitbucket.optional(),
9272
9340
  github: ExporterDestinationGithub.optional(),
9273
9341
  gitlab: ExporterDestinationGitlab.optional(),
9274
9342
  documentation: ExporterDestinationDocs.optional(),
9275
- webhookUrl: z290.string().optional()
9343
+ webhookUrl: z291.string().optional()
9276
9344
  });
9277
9345
  var DTOExportJobResult = ExportJobResult.omit({
9278
9346
  sndocs: true
9279
9347
  }).extend({
9280
9348
  documentation: ExportJobDocsDestinationResult.optional()
9281
9349
  });
9282
- var DTOExportJob = z290.object({
9283
- id: z290.string(),
9284
- createdAt: z290.coerce.date(),
9285
- finishedAt: z290.coerce.date().optional(),
9286
- index: z290.number().optional(),
9350
+ var DTOExportJob = z291.object({
9351
+ id: z291.string(),
9352
+ createdAt: z291.coerce.date(),
9353
+ finishedAt: z291.coerce.date().optional(),
9354
+ index: z291.number().optional(),
9287
9355
  status: ExportJobStatus,
9288
- estimatedExecutionTime: z290.number().optional(),
9356
+ estimatedExecutionTime: z291.number().optional(),
9289
9357
  createdBy: DTOExportJobCreatedBy.optional(),
9290
9358
  designSystem: DTOExportJobDesignSystemPreview,
9291
9359
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
9292
9360
  destinations: DTOExportJobDestinations,
9293
- exporterId: z290.string(),
9294
- scheduleId: z290.string().optional(),
9361
+ exporterId: z291.string(),
9362
+ scheduleId: z291.string().optional(),
9295
9363
  result: DTOExportJobResult.optional(),
9296
- brandPersistentId: z290.string().optional(),
9297
- themePersistentId: z290.string().optional(),
9298
- themePersistentIds: z290.string().array().optional(),
9364
+ brandPersistentId: z291.string().optional(),
9365
+ themePersistentId: z291.string().optional(),
9366
+ themePersistentIds: z291.string().array().optional(),
9299
9367
  exporterPropertyValues: DTOExporterPropertyValueMap.optional()
9300
9368
  });
9301
- var DTOExportJobResponse = z290.object({
9369
+ var DTOExportJobResponse = z291.object({
9302
9370
  job: DTOExportJob
9303
9371
  });
9304
- var DTOExportJobResponseLegacy = z290.object({
9305
- job: z290.object({
9306
- id: z290.string(),
9372
+ var DTOExportJobResponseLegacy = z291.object({
9373
+ job: z291.object({
9374
+ id: z291.string(),
9307
9375
  status: ExportJobStatus
9308
9376
  })
9309
9377
  });
9310
- var DTOExportJobCreateInput = z290.object({
9311
- designSystemId: z290.string(),
9312
- designSystemVersionId: z290.string(),
9313
- exporterId: z290.string(),
9314
- brandId: z290.string().optional(),
9315
- themeId: z290.string().optional(),
9316
- themePersistentIds: z290.string().array().optional(),
9378
+ var DTOExportJobCreateInput = z291.object({
9379
+ designSystemId: z291.string(),
9380
+ designSystemVersionId: z291.string(),
9381
+ exporterId: z291.string(),
9382
+ brandId: z291.string().optional(),
9383
+ themeId: z291.string().optional(),
9384
+ themePersistentIds: z291.string().array().optional(),
9317
9385
  destinations: DTOExportJobDestinations,
9318
9386
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
9319
- previewMode: z290.boolean().optional()
9387
+ previewMode: z291.boolean().optional()
9320
9388
  });
9321
9389
 
9322
9390
  // src/api/dto/export/pipeline.ts
9323
- import { z as z291 } from "zod";
9391
+ import { z as z292 } from "zod";
9324
9392
  var DTOPipelineExporterQuery = PipelineExporterQuery;
9325
9393
  var DTODesignSystemPipelineListQuery = DTOPipelineExporterQuery.extend({
9326
- latestJobsLimit: z291.coerce.number().optional()
9394
+ latestJobsLimit: z292.coerce.number().optional()
9327
9395
  });
9328
- var DTOPipelineListQuery = z291.object({
9329
- designSystemId: z291.string().optional(),
9330
- exporterId: z291.string().optional(),
9331
- latestJobsLimit: z291.coerce.number().optional()
9396
+ var DTOPipelineListQuery = z292.object({
9397
+ designSystemId: z292.string().optional(),
9398
+ exporterId: z292.string().optional(),
9399
+ latestJobsLimit: z292.coerce.number().optional()
9332
9400
  });
9333
- var DTOPipeline = z291.object({
9334
- id: z291.string(),
9335
- name: z291.string(),
9401
+ var DTOPipeline = z292.object({
9402
+ id: z292.string(),
9403
+ name: z292.string(),
9336
9404
  eventType: PipelineEventType,
9337
- isEnabled: z291.boolean(),
9338
- workspaceId: z291.string(),
9339
- designSystemId: z291.string(),
9340
- exporterId: z291.string(),
9341
- brandPersistentId: z291.string().optional(),
9342
- themePersistentId: z291.string().optional(),
9343
- themePersistentIds: z291.string().array().optional(),
9405
+ isEnabled: z292.boolean(),
9406
+ workspaceId: z292.string(),
9407
+ designSystemId: z292.string(),
9408
+ exporterId: z292.string(),
9409
+ brandPersistentId: z292.string().optional(),
9410
+ themePersistentId: z292.string().optional(),
9411
+ themePersistentIds: z292.string().array().optional(),
9344
9412
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
9345
9413
  ...ExportDestinationsMap.shape,
9346
9414
  latestJobs: DTOExportJob.array(),
9347
- isExporterDeprecated: z291.boolean()
9415
+ isExporterDeprecated: z292.boolean()
9348
9416
  });
9349
- var DTOPipelineListResponse = z291.object({
9417
+ var DTOPipelineListResponse = z292.object({
9350
9418
  pipelines: DTOPipeline.array()
9351
9419
  });
9352
- var DTOPipelineResponse = z291.object({
9420
+ var DTOPipelineResponse = z292.object({
9353
9421
  pipeline: DTOPipeline
9354
9422
  });
9355
- var DTOWorkspaceStats = z291.object({
9356
- pipelines: z291.object({
9357
- totalCount: z291.number()
9423
+ var DTOWorkspaceStats = z292.object({
9424
+ pipelines: z292.object({
9425
+ totalCount: z292.number()
9358
9426
  })
9359
9427
  });
9360
9428
 
9361
9429
  // src/api/dto/documentation/publish.ts
9362
9430
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
9363
- var DTOPublishDocumentationRequest = z292.object({
9431
+ var DTOPublishDocumentationRequest = z293.object({
9364
9432
  environment: PublishedDocEnvironment,
9365
9433
  /**
9366
9434
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -9368,39 +9436,17 @@ var DTOPublishDocumentationRequest = z292.object({
9368
9436
  */
9369
9437
  changes: DTOPublishDocumentationChanges.optional()
9370
9438
  });
9371
- var DTOPublishDocumentationResponse = z292.object({
9439
+ var DTOPublishDocumentationResponse = z293.object({
9372
9440
  job: DTOExportJob
9373
9441
  });
9374
9442
 
9375
9443
  // src/api/dto/documentation/room.ts
9376
- import { z as z293 } from "zod";
9377
- var DTODocumentationPageRoom = z293.object({
9378
- id: z293.string()
9379
- });
9380
- var DTODocumentationPageRoomResponse = z293.object({
9381
- room: DTODocumentationPageRoom
9382
- });
9383
-
9384
- // src/api/dto/documentation/documentation.ts
9385
9444
  import { z as z294 } from "zod";
9386
- var DTODocumentationMinimalPage = z294.object({
9387
- id: z294.string(),
9388
- title: z294.string(),
9389
- fullPath: z294.string(),
9390
- description: z294.string().optional()
9391
- });
9392
- var DTODocumentationContent = z294.object({
9393
- id: z294.string(),
9394
- markdown: z294.string()
9395
- });
9396
- var DTODocumentationMinimalPageListResponse = z294.object({
9397
- pages: z294.array(DTODocumentationMinimalPage)
9445
+ var DTODocumentationPageRoom = z294.object({
9446
+ id: z294.string()
9398
9447
  });
9399
- var DTODocumentationContentResponse = z294.object({
9400
- pageContents: z294.array(DTODocumentationContent)
9401
- });
9402
- var DTODocumentationContentQuery = z294.object({
9403
- pageIds: z294.string().transform((value) => value.split(",")).pipe(z294.string().trim().array())
9448
+ var DTODocumentationPageRoomResponse = z294.object({
9449
+ room: DTODocumentationPageRoom
9404
9450
  });
9405
9451
 
9406
9452
  // src/api/dto/elements/components/figma-component-group.ts
@@ -10642,8 +10688,8 @@ var DTOForgeFeatureRoomResponse = z323.object({
10642
10688
  // src/api/dto/forge/figma-node.ts
10643
10689
  import z324 from "zod";
10644
10690
  var DTOForgeFigmaNodeState = z324.enum(["Optimizing", "Success", "Failed"]);
10645
- var DTOForgeFigmaNodeConversionVersion = z324.enum(["V1", "V2"]);
10646
- var ForgeFigmaNodeLatestVersion = DTOForgeFigmaNodeConversionVersion.enum.V2;
10691
+ var DTOForgeFigmaNodeConversionVersion = z324.enum(["V1", "V2", "V3", "V4", "V5", "V6", "V7"]);
10692
+ var ForgeFigmaNodeLatestVersion = DTOForgeFigmaNodeConversionVersion.enum.V7;
10647
10693
  var DTOForgeFigmaNodeOrigin = z324.object({
10648
10694
  /**
10649
10695
  * Figma file ID that was passed into the create request as a part of the Figma node URL
@@ -10681,6 +10727,8 @@ var DTOForgeFigmaNode = z324.object({
10681
10727
  */
10682
10728
  html: DTOFileReference,
10683
10729
  /**
10730
+ * @deprecated - Optimizing phase was removed, this field is no longer available.
10731
+ *
10684
10732
  * Code representation of the Figma node. Code gets produced during "Optimizing" phase,
10685
10733
  * it's available when the node reaches "Success" state.
10686
10734
  */
@@ -12222,6 +12270,9 @@ var DTOSandboxTemplateBuildCreateInput = z353.object({
12222
12270
  files: z353.string().array()
12223
12271
  }).array().optional()
12224
12272
  });
12273
+ var DTOSandboxTemplateBuildTriggerInput = z353.object({
12274
+ imageFileId: z353.string().optional()
12275
+ });
12225
12276
  var DTOSandboxTemplateBuildCreateResponse = z353.object({
12226
12277
  /** @deprecated use build.dockerImageUri */
12227
12278
  dockerUrl: z353.string().optional(),
@@ -14028,9 +14079,10 @@ var SandboxTemplateBuildsEndpoint = class {
14028
14079
  get(buildId) {
14029
14080
  return this.requestExecutor.json(`/sandboxes/builds/${buildId}`, DTOSandboxTemplateBuildResponse);
14030
14081
  }
14031
- finalize(buildId) {
14082
+ finalize(buildId, body) {
14032
14083
  return this.requestExecutor.json(`/sandboxes/builds/${buildId}`, DTOSandboxTemplateBuildFinalizeResponse, {
14033
- method: "PUT"
14084
+ method: "PUT",
14085
+ body
14034
14086
  });
14035
14087
  }
14036
14088
  };
@@ -21668,6 +21720,7 @@ export {
21668
21720
  DTOSandboxTemplateBuildFinalizeResponse,
21669
21721
  DTOSandboxTemplateBuildFinished,
21670
21722
  DTOSandboxTemplateBuildResponse,
21723
+ DTOSandboxTemplateBuildTriggerInput,
21671
21724
  DTOSandboxTemplateFile,
21672
21725
  DTOSandboxTemplateListResponse,
21673
21726
  DTOSandboxTemplatePreset,