@supernova-studio/client 0.55.26 → 0.55.28

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
@@ -552,7 +552,8 @@ var Asset = z21.object({
552
552
  properties: AssetProperties.nullish(),
553
553
  state: AssetProcessStatus.optional(),
554
554
  origin: AssetOrigin.optional(),
555
- originKey: z21.string().optional()
555
+ originKey: z21.string().optional(),
556
+ createdByImportJobId: z21.string().optional()
556
557
  });
557
558
  var ResolvedAsset = Asset.extend({
558
559
  url: z21.string()
@@ -653,13 +654,19 @@ var FigmaComponentPropertyBase = z32.object({
653
654
  id: z32.string(),
654
655
  name: z32.string()
655
656
  });
657
+ var FigmaComponentInstancePreview = z32.object({
658
+ componentName: z32.string(),
659
+ componentSetName: z32.string().optional(),
660
+ isRemote: z32.boolean()
661
+ });
656
662
  var FigmaComponentBooleanProperty = FigmaComponentPropertyBase.extend({
657
663
  type: z32.literal(FigmaComponentPropertyType.enum.Boolean),
658
664
  defaultValue: z32.boolean()
659
665
  });
660
666
  var FigmaComponentInstanceSwapProperty = FigmaComponentPropertyBase.extend({
661
667
  type: z32.literal(FigmaComponentPropertyType.enum.InstanceSwap),
662
- defaultValue: z32.string()
668
+ defaultValue: z32.string(),
669
+ defaultValuePreview: FigmaComponentInstancePreview.optional()
663
670
  });
664
671
  var FigmaComponentVariantProperty = FigmaComponentPropertyBase.extend({
665
672
  type: z32.literal(FigmaComponentPropertyType.enum.Variant),
@@ -3120,7 +3127,8 @@ var DataSourceUploadRemote = z88.object({
3120
3127
  remoteId: z88.string(),
3121
3128
  remoteSourceType: DataSourceUploadRemoteSource,
3122
3129
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
3123
- warnings: nullishToOptional(ImportWarning.array())
3130
+ warnings: nullishToOptional(ImportWarning.array()),
3131
+ isTokenTypeSplitEnabled: z88.boolean()
3124
3132
  });
3125
3133
  var DataSourceRemote = z88.discriminatedUnion("type", [
3126
3134
  DataSourceFigmaRemote,
@@ -5810,13 +5818,13 @@ var DTODocumentationPageV2 = z210.object({
5810
5818
  });
5811
5819
  var DTOCreateDocumentationPageInputV2 = z210.object({
5812
5820
  // Identifier
5813
- persistentId: z210.string().uuid(),
5821
+ persistentId: z210.string(),
5814
5822
  // Page properties
5815
5823
  title: z210.string(),
5816
5824
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
5817
5825
  // Page placement properties
5818
- parentPersistentId: z210.string().uuid(),
5819
- afterPersistentId: z210.string().uuid().nullish()
5826
+ parentPersistentId: z210.string(),
5827
+ afterPersistentId: z210.string().nullish()
5820
5828
  });
5821
5829
  var DTOUpdateDocumentationPageInputV2 = z210.object({
5822
5830
  // Identifier of the group to update
@@ -5829,17 +5837,17 @@ var DTOMoveDocumentationPageInputV2 = z210.object({
5829
5837
  // Identifier of the group to update
5830
5838
  id: z210.string(),
5831
5839
  // Page placement properties
5832
- parentPersistentId: z210.string().uuid(),
5833
- afterPersistentId: z210.string().uuid().nullish()
5840
+ parentPersistentId: z210.string(),
5841
+ afterPersistentId: z210.string().nullish()
5834
5842
  });
5835
5843
  var DTODuplicateDocumentationPageInputV2 = z210.object({
5836
5844
  // Identifier of the page to duplicate from
5837
5845
  id: z210.string(),
5838
5846
  // New page persistent id
5839
- persistentId: z210.string().uuid(),
5847
+ persistentId: z210.string(),
5840
5848
  // Page placement properties
5841
- parentPersistentId: z210.string().uuid(),
5842
- afterPersistentId: z210.string().uuid().nullish()
5849
+ parentPersistentId: z210.string(),
5850
+ afterPersistentId: z210.string().nullish()
5843
5851
  });
5844
5852
  var DTODeleteDocumentationPageInputV2 = z210.object({
5845
5853
  // Identifier
@@ -6065,13 +6073,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6065
6073
  });
6066
6074
  var DTOCreateDocumentationGroupInput = z218.object({
6067
6075
  // Identifier
6068
- persistentId: z218.string().uuid(),
6076
+ persistentId: z218.string(),
6069
6077
  // Group properties
6070
6078
  title: z218.string(),
6071
6079
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6072
6080
  // Group placement properties
6073
- afterPersistentId: z218.string().uuid().nullish(),
6074
- parentPersistentId: z218.string().uuid()
6081
+ afterPersistentId: z218.string().nullish(),
6082
+ parentPersistentId: z218.string()
6075
6083
  });
6076
6084
  var DTOUpdateDocumentationGroupInput = z218.object({
6077
6085
  // Identifier of the group to update
@@ -6084,21 +6092,21 @@ var DTOMoveDocumentationGroupInput = z218.object({
6084
6092
  // Identifier of the group to update
6085
6093
  id: z218.string(),
6086
6094
  // Group placement properties
6087
- parentPersistentId: z218.string().uuid(),
6088
- afterPersistentId: z218.string().uuid().nullish()
6095
+ parentPersistentId: z218.string(),
6096
+ afterPersistentId: z218.string().nullish()
6089
6097
  });
6090
6098
  var DTODuplicateDocumentationGroupInput = z218.object({
6091
6099
  // Identifier of the group to duplicate from
6092
6100
  id: z218.string(),
6093
6101
  // New group persistent id
6094
- persistentId: z218.string().uuid(),
6102
+ persistentId: z218.string(),
6095
6103
  // Group placement properties
6096
- afterPersistentId: z218.string().uuid().nullish(),
6097
- parentPersistentId: z218.string().uuid()
6104
+ afterPersistentId: z218.string().nullish(),
6105
+ parentPersistentId: z218.string()
6098
6106
  });
6099
6107
  var DTOCreateDocumentationTabInput = z218.object({
6100
6108
  // New group persistent id
6101
- persistentId: z218.string().uuid(),
6109
+ persistentId: z218.string(),
6102
6110
  // If this is page, we will attempt to convert it to tab
6103
6111
  // If this is tab group, we will add a new tab to it
6104
6112
  fromItemPersistentId: z218.string(),