@supernova-studio/client 1.87.11 → 1.88.0

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.d.ts CHANGED
@@ -40375,6 +40375,99 @@ declare const DTODocumentationPageSnapshot: z.ZodObject<{
40375
40375
  }>;
40376
40376
  type DTODocumentationPageSnapshot = z.infer<typeof DTODocumentationPageSnapshot>;
40377
40377
 
40378
+ declare const DTODocumentationMinimalPage: z.ZodObject<{
40379
+ id: z.ZodString;
40380
+ title: z.ZodString;
40381
+ fullPath: z.ZodString;
40382
+ description: z.ZodOptional<z.ZodString>;
40383
+ }, "strip", z.ZodTypeAny, {
40384
+ id: string;
40385
+ title: string;
40386
+ fullPath: string;
40387
+ description?: string | undefined;
40388
+ }, {
40389
+ id: string;
40390
+ title: string;
40391
+ fullPath: string;
40392
+ description?: string | undefined;
40393
+ }>;
40394
+ type DTODocumentationMinimalPage = z.infer<typeof DTODocumentationMinimalPage>;
40395
+ declare const DTODocumentationMinimalPageListResponse: z.ZodObject<{
40396
+ pages: z.ZodArray<z.ZodObject<{
40397
+ id: z.ZodString;
40398
+ title: z.ZodString;
40399
+ fullPath: z.ZodString;
40400
+ description: z.ZodOptional<z.ZodString>;
40401
+ }, "strip", z.ZodTypeAny, {
40402
+ id: string;
40403
+ title: string;
40404
+ fullPath: string;
40405
+ description?: string | undefined;
40406
+ }, {
40407
+ id: string;
40408
+ title: string;
40409
+ fullPath: string;
40410
+ description?: string | undefined;
40411
+ }>, "many">;
40412
+ }, "strip", z.ZodTypeAny, {
40413
+ pages: {
40414
+ id: string;
40415
+ title: string;
40416
+ fullPath: string;
40417
+ description?: string | undefined;
40418
+ }[];
40419
+ }, {
40420
+ pages: {
40421
+ id: string;
40422
+ title: string;
40423
+ fullPath: string;
40424
+ description?: string | undefined;
40425
+ }[];
40426
+ }>;
40427
+ type DTODocumentationMinimalPageListResponse = z.infer<typeof DTODocumentationMinimalPageListResponse>;
40428
+ declare const DTODocumentationContent: z.ZodObject<{
40429
+ id: z.ZodString;
40430
+ markdown: z.ZodString;
40431
+ }, "strip", z.ZodTypeAny, {
40432
+ id: string;
40433
+ markdown: string;
40434
+ }, {
40435
+ id: string;
40436
+ markdown: string;
40437
+ }>;
40438
+ type DTODocumentationContent = z.infer<typeof DTODocumentationContent>;
40439
+ declare const DTODocumentationContentResponse: z.ZodObject<{
40440
+ pageContents: z.ZodArray<z.ZodObject<{
40441
+ id: z.ZodString;
40442
+ markdown: z.ZodString;
40443
+ }, "strip", z.ZodTypeAny, {
40444
+ id: string;
40445
+ markdown: string;
40446
+ }, {
40447
+ id: string;
40448
+ markdown: string;
40449
+ }>, "many">;
40450
+ }, "strip", z.ZodTypeAny, {
40451
+ pageContents: {
40452
+ id: string;
40453
+ markdown: string;
40454
+ }[];
40455
+ }, {
40456
+ pageContents: {
40457
+ id: string;
40458
+ markdown: string;
40459
+ }[];
40460
+ }>;
40461
+ type DTODocumentationContentResponse = z.infer<typeof DTODocumentationContentResponse>;
40462
+ declare const DTODocumentationContentQuery: z.ZodObject<{
40463
+ pageIds: z.ZodPipeline<z.ZodEffects<z.ZodString, string[], string>, z.ZodArray<z.ZodString, "many">>;
40464
+ }, "strip", z.ZodTypeAny, {
40465
+ pageIds: string[];
40466
+ }, {
40467
+ pageIds: string;
40468
+ }>;
40469
+ type DTODocumentationContentQuery = z.infer<typeof DTODocumentationContentQuery>;
40470
+
40378
40471
  declare const DTODocumentationLinkPreviewResponse: z.ZodObject<{
40379
40472
  linkPreview: z.ZodObject<{
40380
40473
  title: z.ZodOptional<z.ZodString>;
@@ -41908,99 +42001,6 @@ declare const DTODocumentationPageRoomResponse: z.ZodObject<{
41908
42001
  }>;
41909
42002
  type DTODocumentationPageRoomResponse = z.infer<typeof DTODocumentationPageRoomResponse>;
41910
42003
 
41911
- declare const DTODocumentationMinimalPage: z.ZodObject<{
41912
- id: z.ZodString;
41913
- title: z.ZodString;
41914
- fullPath: z.ZodString;
41915
- description: z.ZodOptional<z.ZodString>;
41916
- }, "strip", z.ZodTypeAny, {
41917
- id: string;
41918
- title: string;
41919
- fullPath: string;
41920
- description?: string | undefined;
41921
- }, {
41922
- id: string;
41923
- title: string;
41924
- fullPath: string;
41925
- description?: string | undefined;
41926
- }>;
41927
- type DTODocumentationMinimalPage = z.infer<typeof DTODocumentationMinimalPage>;
41928
- declare const DTODocumentationMinimalPageListResponse: z.ZodObject<{
41929
- pages: z.ZodArray<z.ZodObject<{
41930
- id: z.ZodString;
41931
- title: z.ZodString;
41932
- fullPath: z.ZodString;
41933
- description: z.ZodOptional<z.ZodString>;
41934
- }, "strip", z.ZodTypeAny, {
41935
- id: string;
41936
- title: string;
41937
- fullPath: string;
41938
- description?: string | undefined;
41939
- }, {
41940
- id: string;
41941
- title: string;
41942
- fullPath: string;
41943
- description?: string | undefined;
41944
- }>, "many">;
41945
- }, "strip", z.ZodTypeAny, {
41946
- pages: {
41947
- id: string;
41948
- title: string;
41949
- fullPath: string;
41950
- description?: string | undefined;
41951
- }[];
41952
- }, {
41953
- pages: {
41954
- id: string;
41955
- title: string;
41956
- fullPath: string;
41957
- description?: string | undefined;
41958
- }[];
41959
- }>;
41960
- type DTODocumentationMinimalPageListResponse = z.infer<typeof DTODocumentationMinimalPageListResponse>;
41961
- declare const DTODocumentationContent: z.ZodObject<{
41962
- id: z.ZodString;
41963
- markdown: z.ZodString;
41964
- }, "strip", z.ZodTypeAny, {
41965
- id: string;
41966
- markdown: string;
41967
- }, {
41968
- id: string;
41969
- markdown: string;
41970
- }>;
41971
- type DTODocumentationContent = z.infer<typeof DTODocumentationContent>;
41972
- declare const DTODocumentationContentResponse: z.ZodObject<{
41973
- pageContents: z.ZodArray<z.ZodObject<{
41974
- id: z.ZodString;
41975
- markdown: z.ZodString;
41976
- }, "strip", z.ZodTypeAny, {
41977
- id: string;
41978
- markdown: string;
41979
- }, {
41980
- id: string;
41981
- markdown: string;
41982
- }>, "many">;
41983
- }, "strip", z.ZodTypeAny, {
41984
- pageContents: {
41985
- id: string;
41986
- markdown: string;
41987
- }[];
41988
- }, {
41989
- pageContents: {
41990
- id: string;
41991
- markdown: string;
41992
- }[];
41993
- }>;
41994
- type DTODocumentationContentResponse = z.infer<typeof DTODocumentationContentResponse>;
41995
- declare const DTODocumentationContentQuery: z.ZodObject<{
41996
- pageIds: z.ZodPipeline<z.ZodEffects<z.ZodString, string[], string>, z.ZodArray<z.ZodString, "many">>;
41997
- }, "strip", z.ZodTypeAny, {
41998
- pageIds: string[];
41999
- }, {
42000
- pageIds: string;
42001
- }>;
42002
- type DTODocumentationContentQuery = z.infer<typeof DTODocumentationContentQuery>;
42003
-
42004
42004
  declare const DTOFigmaComponentGroup: z$1.ZodObject<{
42005
42005
  id: z$1.ZodString;
42006
42006
  designSystemVersionId: z$1.ZodString;
@@ -145629,7 +145629,7 @@ declare const DTOForgeFeatureRoomResponse: z.ZodObject<{
145629
145629
  }>;
145630
145630
  type DTOForgeFeatureRoomResponse = z.infer<typeof DTOForgeFeatureRoomResponse>;
145631
145631
 
145632
- declare const ForgeFigmaNodeLatestVersion: "V2";
145632
+ declare const ForgeFigmaNodeLatestVersion: "V7";
145633
145633
  declare const DTOForgeFigmaNodeOrigin: z$1.ZodObject<{
145634
145634
  /**
145635
145635
  * Figma file ID that was passed into the create request as a part of the Figma node URL
@@ -145863,6 +145863,8 @@ declare const DTOForgeFigmaNode: z$1.ZodObject<{
145863
145863
  } | undefined;
145864
145864
  }>;
145865
145865
  /**
145866
+ * @deprecated - Optimizing phase was removed, this field is no longer available.
145867
+ *
145866
145868
  * Code representation of the Figma node. Code gets produced during "Optimizing" phase,
145867
145869
  * it's available when the node reaches "Success" state.
145868
145870
  */
@@ -146258,6 +146260,8 @@ declare const DTOForgeFigmaNodeResponse: z$1.ZodObject<{
146258
146260
  } | undefined;
146259
146261
  }>;
146260
146262
  /**
146263
+ * @deprecated - Optimizing phase was removed, this field is no longer available.
146264
+ *
146261
146265
  * Code representation of the Figma node. Code gets produced during "Optimizing" phase,
146262
146266
  * it's available when the node reaches "Success" state.
146263
146267
  */
@@ -146560,7 +146564,7 @@ declare const DTOForgeFigmaNodeValidateResponse: z$1.ZodObject<{
146560
146564
  isValid: boolean;
146561
146565
  }>;
146562
146566
  type DTOForgeFigmaNodeValidateResponse = z$1.infer<typeof DTOForgeFigmaNodeValidateResponse>;
146563
- declare const DTOForgeFigmaNodeConversionVersion: z$1.ZodEnum<["V1", "V2"]>;
146567
+ declare const DTOForgeFigmaNodeConversionVersion: z$1.ZodEnum<["V1", "V2", "V3", "V4", "V5", "V6", "V7"]>;
146564
146568
  type DTOForgeFigmaNodeConversionVersion = z$1.infer<typeof DTOForgeFigmaNodeConversionVersion>;
146565
146569
 
146566
146570
  declare const DTOForgeIterationMessage: z.ZodObject<Omit<{
@@ -377385,6 +377389,19 @@ declare const DTOSubscription: z$1.ZodObject<{
377385
377389
  errorReason: string;
377386
377390
  enabled: boolean;
377387
377391
  }>;
377392
+ forgeShellTemplates: z$1.ZodObject<{
377393
+ max: z$1.ZodOptional<z$1.ZodNumber>;
377394
+ errorMessage: z$1.ZodString;
377395
+ errorReason: z$1.ZodString;
377396
+ }, "strip", z$1.ZodTypeAny, {
377397
+ errorMessage: string;
377398
+ errorReason: string;
377399
+ max?: number | undefined;
377400
+ }, {
377401
+ errorMessage: string;
377402
+ errorReason: string;
377403
+ max?: number | undefined;
377404
+ }>;
377388
377405
  }, "strip", z$1.ZodTypeAny, {
377389
377406
  analytics: {
377390
377407
  errorMessage: string;
@@ -377573,6 +377590,11 @@ declare const DTOSubscription: z$1.ZodObject<{
377573
377590
  errorReason: string;
377574
377591
  enabled: boolean;
377575
377592
  };
377593
+ forgeShellTemplates: {
377594
+ errorMessage: string;
377595
+ errorReason: string;
377596
+ max?: number | undefined;
377597
+ };
377576
377598
  }, {
377577
377599
  analytics: {
377578
377600
  errorMessage: string;
@@ -377761,6 +377783,11 @@ declare const DTOSubscription: z$1.ZodObject<{
377761
377783
  errorReason: string;
377762
377784
  enabled: boolean;
377763
377785
  };
377786
+ forgeShellTemplates: {
377787
+ errorMessage: string;
377788
+ errorReason: string;
377789
+ max?: number | undefined;
377790
+ };
377764
377791
  }>>;
377765
377792
  allowedRoles: z$1.ZodArray<z$1.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>, "many">;
377766
377793
  /**
@@ -378057,6 +378084,11 @@ declare const DTOSubscription: z$1.ZodObject<{
378057
378084
  errorReason: string;
378058
378085
  enabled: boolean;
378059
378086
  };
378087
+ forgeShellTemplates: {
378088
+ errorMessage: string;
378089
+ errorReason: string;
378090
+ max?: number | undefined;
378091
+ };
378060
378092
  } | undefined;
378061
378093
  stripeSubscriptionMainItemId?: string | undefined;
378062
378094
  billingType?: "Auto" | "Invoice" | undefined;
@@ -378289,6 +378321,11 @@ declare const DTOSubscription: z$1.ZodObject<{
378289
378321
  errorReason: string;
378290
378322
  enabled: boolean;
378291
378323
  };
378324
+ forgeShellTemplates: {
378325
+ errorMessage: string;
378326
+ errorReason: string;
378327
+ max?: number | undefined;
378328
+ };
378292
378329
  } | undefined;
378293
378330
  stripeSubscriptionMainItemId?: string | undefined;
378294
378331
  billingType?: "Auto" | "Invoice" | undefined;
@@ -378793,6 +378830,19 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
378793
378830
  errorReason: string;
378794
378831
  enabled: boolean;
378795
378832
  }>;
378833
+ forgeShellTemplates: z$1.ZodObject<{
378834
+ max: z$1.ZodOptional<z$1.ZodNumber>;
378835
+ errorMessage: z$1.ZodString;
378836
+ errorReason: z$1.ZodString;
378837
+ }, "strip", z$1.ZodTypeAny, {
378838
+ errorMessage: string;
378839
+ errorReason: string;
378840
+ max?: number | undefined;
378841
+ }, {
378842
+ errorMessage: string;
378843
+ errorReason: string;
378844
+ max?: number | undefined;
378845
+ }>;
378796
378846
  }, "strip", z$1.ZodTypeAny, {
378797
378847
  analytics: {
378798
378848
  errorMessage: string;
@@ -378981,6 +379031,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
378981
379031
  errorReason: string;
378982
379032
  enabled: boolean;
378983
379033
  };
379034
+ forgeShellTemplates: {
379035
+ errorMessage: string;
379036
+ errorReason: string;
379037
+ max?: number | undefined;
379038
+ };
378984
379039
  }, {
378985
379040
  analytics: {
378986
379041
  errorMessage: string;
@@ -379169,6 +379224,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
379169
379224
  errorReason: string;
379170
379225
  enabled: boolean;
379171
379226
  };
379227
+ forgeShellTemplates: {
379228
+ errorMessage: string;
379229
+ errorReason: string;
379230
+ max?: number | undefined;
379231
+ };
379172
379232
  }>>;
379173
379233
  allowedRoles: z$1.ZodArray<z$1.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>, "many">;
379174
379234
  /**
@@ -379465,6 +379525,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
379465
379525
  errorReason: string;
379466
379526
  enabled: boolean;
379467
379527
  };
379528
+ forgeShellTemplates: {
379529
+ errorMessage: string;
379530
+ errorReason: string;
379531
+ max?: number | undefined;
379532
+ };
379468
379533
  } | undefined;
379469
379534
  stripeSubscriptionMainItemId?: string | undefined;
379470
379535
  billingType?: "Auto" | "Invoice" | undefined;
@@ -379697,6 +379762,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
379697
379762
  errorReason: string;
379698
379763
  enabled: boolean;
379699
379764
  };
379765
+ forgeShellTemplates: {
379766
+ errorMessage: string;
379767
+ errorReason: string;
379768
+ max?: number | undefined;
379769
+ };
379700
379770
  } | undefined;
379701
379771
  stripeSubscriptionMainItemId?: string | undefined;
379702
379772
  billingType?: "Auto" | "Invoice" | undefined;
@@ -380100,6 +380170,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
380100
380170
  errorReason: string;
380101
380171
  enabled: boolean;
380102
380172
  };
380173
+ forgeShellTemplates: {
380174
+ errorMessage: string;
380175
+ errorReason: string;
380176
+ max?: number | undefined;
380177
+ };
380103
380178
  } | undefined;
380104
380179
  stripeSubscriptionMainItemId?: string | undefined;
380105
380180
  billingType?: "Auto" | "Invoice" | undefined;
@@ -380371,6 +380446,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
380371
380446
  errorReason: string;
380372
380447
  enabled: boolean;
380373
380448
  };
380449
+ forgeShellTemplates: {
380450
+ errorMessage: string;
380451
+ errorReason: string;
380452
+ max?: number | undefined;
380453
+ };
380374
380454
  } | undefined;
380375
380455
  stripeSubscriptionMainItemId?: string | undefined;
380376
380456
  billingType?: "Auto" | "Invoice" | undefined;
@@ -404827,6 +404907,11 @@ declare class WorkspaceSubscriptionEndpoint {
404827
404907
  errorReason: string;
404828
404908
  enabled: boolean;
404829
404909
  };
404910
+ forgeShellTemplates: {
404911
+ errorMessage: string;
404912
+ errorReason: string;
404913
+ max?: number | undefined;
404914
+ };
404830
404915
  } | undefined;
404831
404916
  stripeSubscriptionMainItemId?: string | undefined;
404832
404917
  billingType?: "Auto" | "Invoice" | undefined;
package/dist/index.js CHANGED
@@ -160,7 +160,8 @@ var FeaturesSummary = _zod.z.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 = _zod.z.object({
4400
4401
  textShadow: _zod.z.string().optional(),
4401
4402
  filter: _zod.z.string().optional(),
4402
4403
  backdropFilter: _zod.z.string().optional(),
4404
+ maskImage: _zod.z.string().optional(),
4405
+ maskRepeat: _zod.z.string().optional(),
4406
+ maskPosition: _zod.z.string().optional(),
4407
+ maskSize: _zod.z.string().optional(),
4408
+ WebkitMaskImage: _zod.z.string().optional(),
4409
+ WebkitMaskRepeat: _zod.z.string().optional(),
4410
+ WebkitMaskPosition: _zod.z.string().optional(),
4411
+ WebkitMaskSize: _zod.z.string().optional(),
4403
4412
  mixBlendMode: _zod.z.union([
4404
4413
  _zod.z.literal("normal"),
4405
4414
  _zod.z.literal("multiply"),
@@ -4505,7 +4514,8 @@ var FigmaExporterDesignNodeTypeSchema = _zod.z.union([
4505
4514
  _zod.z.literal("TEXT"),
4506
4515
  _zod.z.literal("SVG"),
4507
4516
  _zod.z.literal("IMAGE"),
4508
- _zod.z.literal("COMPONENT_INSTANCE")
4517
+ _zod.z.literal("COMPONENT_INSTANCE"),
4518
+ _zod.z.literal("MASK_GROUP")
4509
4519
  ]);
4510
4520
  var baseDesignNodeObjectSchema = _zod.z.object({
4511
4521
  id: _zod.z.string(),
@@ -4539,6 +4549,35 @@ var componentInstanceObjectSchema = baseDesignNodeObjectSchema.extend({
4539
4549
  componentDescription: _zod.z.string(),
4540
4550
  props: _zod.z.record(_zod.z.string(), _zod.z.union([_zod.z.string(), _zod.z.boolean()]))
4541
4551
  });
4552
+ var svgMaskDefinitionSchema = _zod.z.object({
4553
+ type: _zod.z.literal("SVG_MASK"),
4554
+ svgString: _zod.z.string(),
4555
+ width: _zod.z.number(),
4556
+ height: _zod.z.number()
4557
+ });
4558
+ var rectClipMaskDefinitionSchema = _zod.z.object({
4559
+ type: _zod.z.literal("RECT_CLIP"),
4560
+ width: _zod.z.number(),
4561
+ height: _zod.z.number(),
4562
+ borderRadius: _zod.z.string().optional()
4563
+ });
4564
+ var ellipseClipMaskDefinitionSchema = _zod.z.object({
4565
+ type: _zod.z.literal("ELLIPSE_CLIP"),
4566
+ width: _zod.z.number(),
4567
+ height: _zod.z.number()
4568
+ });
4569
+ var FigmaExporterMaskDefinitionSchema = _zod.z.union([
4570
+ svgMaskDefinitionSchema,
4571
+ rectClipMaskDefinitionSchema,
4572
+ ellipseClipMaskDefinitionSchema
4573
+ ]);
4574
+ var maskGroupNodeObjectSchema = baseDesignNodeObjectSchema.extend({
4575
+ type: _zod.z.literal("MASK_GROUP"),
4576
+ maskType: _zod.z.union([_zod.z.literal("ALPHA"), _zod.z.literal("VECTOR")]),
4577
+ maskSourceId: _zod.z.string(),
4578
+ maskSourceName: _zod.z.string(),
4579
+ maskDefinition: FigmaExporterMaskDefinitionSchema
4580
+ });
4542
4581
  var frameNodeSchema = _zod.z.lazy(
4543
4582
  () => frameNodeObjectSchema.extend({
4544
4583
  children: FigmaExporterAnyDesignNodeSchema.array()
@@ -4556,12 +4595,18 @@ var componentInstanceNodeSchema = _zod.z.lazy(
4556
4595
  children: FigmaExporterAnyDesignNodeSchema.array()
4557
4596
  })
4558
4597
  );
4598
+ var maskGroupNodeSchema = _zod.z.lazy(
4599
+ () => maskGroupNodeObjectSchema.extend({
4600
+ children: FigmaExporterAnyDesignNodeSchema.array()
4601
+ })
4602
+ );
4559
4603
  var FigmaExporterAnyDesignNodeSchema = _zod.z.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 = _zod.z.enum([
6291
6336
  "ForgeCopyTemplatePreset",
6292
6337
  "ForgeSandboxTimeout",
6293
6338
  "ForgeFileUploadBatchSize",
6294
- "DSVersionRoomYJSStorageVersion"
6339
+ "DSVersionRoomYJSStorageVersion",
6340
+ "ForgeTemplateUploadForAll"
6295
6341
  ]);
6296
6342
  var FeatureFlagMap = _zod.z.record(FlaggedFeature, _zod.z.boolean());
6297
6343
  var FeatureFlag = _zod.z.object({
@@ -9150,6 +9196,28 @@ var DTODocumentationPageSnapshot = _zod.z.object({
9150
9196
  reason: DesignElementSnapshotReason
9151
9197
  });
9152
9198
 
9199
+ // src/api/dto/documentation/documentation.ts
9200
+
9201
+ var DTODocumentationMinimalPage = _zod.z.object({
9202
+ id: _zod.z.string(),
9203
+ title: _zod.z.string(),
9204
+ fullPath: _zod.z.string(),
9205
+ description: _zod.z.string().optional()
9206
+ });
9207
+ var DTODocumentationContent = _zod.z.object({
9208
+ id: _zod.z.string(),
9209
+ markdown: _zod.z.string()
9210
+ });
9211
+ var DTODocumentationMinimalPageListResponse = _zod.z.object({
9212
+ pages: _zod.z.array(DTODocumentationMinimalPage)
9213
+ });
9214
+ var DTODocumentationContentResponse = _zod.z.object({
9215
+ pageContents: _zod.z.array(DTODocumentationContent)
9216
+ });
9217
+ var DTODocumentationContentQuery = _zod.z.object({
9218
+ pageIds: _zod.z.string().transform((value) => value.split(",")).pipe(_zod.z.string().trim().array())
9219
+ });
9220
+
9153
9221
  // src/api/dto/documentation/link-preview.ts
9154
9222
 
9155
9223
  var DTODocumentationLinkPreviewResponse = _zod.z.object({
@@ -9381,28 +9449,6 @@ var DTODocumentationPageRoomResponse = _zod.z.object({
9381
9449
  room: DTODocumentationPageRoom
9382
9450
  });
9383
9451
 
9384
- // src/api/dto/documentation/documentation.ts
9385
-
9386
- var DTODocumentationMinimalPage = _zod.z.object({
9387
- id: _zod.z.string(),
9388
- title: _zod.z.string(),
9389
- fullPath: _zod.z.string(),
9390
- description: _zod.z.string().optional()
9391
- });
9392
- var DTODocumentationContent = _zod.z.object({
9393
- id: _zod.z.string(),
9394
- markdown: _zod.z.string()
9395
- });
9396
- var DTODocumentationMinimalPageListResponse = _zod.z.object({
9397
- pages: _zod.z.array(DTODocumentationMinimalPage)
9398
- });
9399
- var DTODocumentationContentResponse = _zod.z.object({
9400
- pageContents: _zod.z.array(DTODocumentationContent)
9401
- });
9402
- var DTODocumentationContentQuery = _zod.z.object({
9403
- pageIds: _zod.z.string().transform((value) => value.split(",")).pipe(_zod.z.string().trim().array())
9404
- });
9405
-
9406
9452
  // src/api/dto/elements/components/figma-component-group.ts
9407
9453
 
9408
9454
  var DTOFigmaComponentGroup = _zod2.default.object({
@@ -10642,8 +10688,8 @@ var DTOForgeFeatureRoomResponse = _zod.z.object({
10642
10688
  // src/api/dto/forge/figma-node.ts
10643
10689
 
10644
10690
  var DTOForgeFigmaNodeState = _zod2.default.enum(["Optimizing", "Success", "Failed"]);
10645
- var DTOForgeFigmaNodeConversionVersion = _zod2.default.enum(["V1", "V2"]);
10646
- var ForgeFigmaNodeLatestVersion = DTOForgeFigmaNodeConversionVersion.enum.V2;
10691
+ var DTOForgeFigmaNodeConversionVersion = _zod2.default.enum(["V1", "V2", "V3", "V4", "V5", "V6", "V7"]);
10692
+ var ForgeFigmaNodeLatestVersion = DTOForgeFigmaNodeConversionVersion.enum.V7;
10647
10693
  var DTOForgeFigmaNodeOrigin = _zod2.default.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 = _zod2.default.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
  */