@supernova-studio/client 0.59.19 → 0.59.20

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
@@ -483,7 +483,7 @@ var PulsarCustomBlock = z16.object({
483
483
  var PrimitiveValue = z17.number().or(z17.boolean()).or(z17.string());
484
484
  var ArrayValue = z17.array(z17.string());
485
485
  var ObjectValue = z17.record(z17.string());
486
- var ExporterPropertyDefinitionValue = PrimitiveValue.or(ArrayValue).or(ObjectValue);
486
+ var ExporterPropertyValue = PrimitiveValue.or(ArrayValue).or(ObjectValue);
487
487
  var ExporterPropertyType = z17.enum(["Enum", "Boolean", "String", "Number", "Array", "Object"]);
488
488
  var PropertyDefinitionBase = z17.object({
489
489
  key: z17.string(),
@@ -536,7 +536,7 @@ var ExporterPropertyDefinition = z17.discriminatedUnion("type", [
536
536
  ExporterPropertyDefinitionArray,
537
537
  ExporterPropertyDefinitionObject
538
538
  ]);
539
- var ExporterPropertyDefinitionValueMap = z17.record(ExporterPropertyDefinitionValue);
539
+ var ExporterPropertyValueMap = z17.record(ExporterPropertyValue);
540
540
  var ExporterType = z18.enum(["code", "documentation"]);
541
541
  var ExporterSource = z18.enum(["git", "upload"]);
542
542
  var ExporterTag = z18.string();
@@ -4156,7 +4156,7 @@ var ExporterPropertyImageValue = z143.object({
4156
4156
  assetId: z143.string().optional(),
4157
4157
  assetUrl: z143.string().optional()
4158
4158
  });
4159
- var ExporterPropertyValue = z143.object({
4159
+ var ExporterConfigurationPropertyValue = z143.object({
4160
4160
  key: z143.string(),
4161
4161
  value: z143.union([
4162
4162
  z143.number(),
@@ -4171,7 +4171,7 @@ var ExporterPropertyValuesCollection = z143.object({
4171
4171
  id: z143.string(),
4172
4172
  designSystemId: z143.string(),
4173
4173
  exporterId: z143.string(),
4174
- values: z143.array(ExporterPropertyValue)
4174
+ values: z143.array(ExporterConfigurationPropertyValue)
4175
4175
  });
4176
4176
  var PublishedDocPageVisitsEntry = z144.object({
4177
4177
  id: z144.string(),
@@ -4350,7 +4350,7 @@ var Pipeline = z149.object({
4350
4350
  brandPersistentId: z149.string().optional(),
4351
4351
  themePersistentId: z149.string().optional(),
4352
4352
  themePersistentIds: z149.string().array().optional(),
4353
- exporterConfigurationProperties: ExporterPropertyDefinitionValueMap.optional(),
4353
+ exporterPropertyValues: ExporterPropertyValueMap.optional(),
4354
4354
  // Destinations
4355
4355
  ...ExportDestinationsMap.shape
4356
4356
  });
@@ -4659,8 +4659,8 @@ var ExportJobContext = z167.object({
4659
4659
  });
4660
4660
  var ExportJobExporterConfiguration = z167.object({
4661
4661
  exporterPackageUrl: z167.string(),
4662
- exporterPropertyValues: ExporterPropertyValue.array(),
4663
- exporterConfigurationProperties: ExporterPropertyDefinitionValueMap.optional()
4662
+ exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
4663
+ exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
4664
4664
  });
4665
4665
  var ExporterFunctionPayload = z168.object({
4666
4666
  exportJobId: z168.string(),
@@ -4725,7 +4725,7 @@ var ExportJob = z169.object({
4725
4725
  status: ExportJobStatus,
4726
4726
  result: ExportJobResult.optional(),
4727
4727
  createdByUserId: z169.string().optional(),
4728
- exporterConfigurationProperties: ExporterPropertyDefinitionValueMap.optional(),
4728
+ exporterPropertyValues: ExporterPropertyValueMap.optional(),
4729
4729
  // Destinations
4730
4730
  ...ExportDestinationsMap.shape
4731
4731
  });
@@ -5226,7 +5226,7 @@ function pipelineToDto(pipeline) {
5226
5226
  destinationGithub: pipeline.destinationGithub,
5227
5227
  destinationGitlab: pipeline.destinationGitlab,
5228
5228
  destinationS3: pipeline.destinationS3,
5229
- exporterConfigurationProperties: pipeline.exporterConfigurationProperties,
5229
+ exporterPropertyValues: pipeline.exporterPropertyValues,
5230
5230
  webhookUrl: pipeline.webhookUrl,
5231
5231
  latestJobs: []
5232
5232
  };
@@ -5871,7 +5871,7 @@ import { z as z204 } from "zod";
5871
5871
  var PrimitiveValue2 = z204.number().or(z204.boolean()).or(z204.string());
5872
5872
  var ArrayValue2 = z204.array(z204.string());
5873
5873
  var ObjectValue2 = z204.record(z204.string());
5874
- var DTOExporterPropertyDefinitionValue = PrimitiveValue2.or(ArrayValue2).or(ObjectValue2);
5874
+ var DTOExporterPropertyValue = PrimitiveValue2.or(ArrayValue2).or(ObjectValue2);
5875
5875
  var DTOExporterPropertyType = z204.enum(["Enum", "Boolean", "String", "Number", "Array", "Object"]);
5876
5876
  var PropertyDefinitionBase2 = z204.object({
5877
5877
  key: z204.string(),
@@ -5927,7 +5927,7 @@ var DTOExporterPropertyDefinition = z204.discriminatedUnion("type", [
5927
5927
  var DTOExporterPropertyDefinitionsResponse = z204.object({
5928
5928
  properties: DTOExporterPropertyDefinition.array()
5929
5929
  });
5930
- var DTOExporterPropertyDefinitionValueMap = z204.record(DTOExporterPropertyDefinitionValue);
5930
+ var DTOExporterPropertyValueMap = z204.record(DTOExporterPropertyValue);
5931
5931
 
5932
5932
  // src/api/payloads/export/pipeline.ts
5933
5933
  var DTOPipelineCreateBody = z205.object({
@@ -5939,7 +5939,7 @@ var DTOPipelineCreateBody = z205.object({
5939
5939
  brandPersistentId: z205.string().optional(),
5940
5940
  themePersistentId: z205.string().optional(),
5941
5941
  themePersistentIds: z205.string().array().optional(),
5942
- exporterConfigurationProperties: DTOExporterPropertyDefinitionValueMap.optional(),
5942
+ exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
5943
5943
  destination: PipelineDestinationType.optional(),
5944
5944
  gitQuery: GitObjectsQuery,
5945
5945
  destinations: z205.object({
@@ -5960,7 +5960,7 @@ var DTOPipelineUpdateBody = z205.object({
5960
5960
  brandPersistentId: z205.string().optional(),
5961
5961
  themePersistentId: z205.string().optional(),
5962
5962
  themePersistentIds: z205.string().array().optional(),
5963
- exporterConfigurationProperties: DTOExporterPropertyDefinitionValueMap.optional(),
5963
+ exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
5964
5964
  destination: PipelineDestinationType.optional(),
5965
5965
  gitQuery: GitObjectsQuery.optional(),
5966
5966
  destinations: z205.object({
@@ -6637,7 +6637,7 @@ var DTOExportJob = z231.object({
6637
6637
  brandPersistentId: z231.string().optional(),
6638
6638
  themePersistentId: z231.string().optional(),
6639
6639
  themePersistentIds: z231.string().array().optional(),
6640
- exporterConfigurationProperties: DTOExporterPropertyDefinitionValueMap.optional()
6640
+ exporterPropertyValues: DTOExporterPropertyValueMap.optional()
6641
6641
  });
6642
6642
  var DTOExportJobResponse = z231.object({
6643
6643
  job: DTOExportJob
@@ -6648,6 +6648,16 @@ var DTOExportJobResponseLegacy = z231.object({
6648
6648
  status: ExportJobStatus
6649
6649
  })
6650
6650
  });
6651
+ var DTOExportJobCreateInput = z231.object({
6652
+ designSystemId: z231.string(),
6653
+ designSystemVersionId: z231.string(),
6654
+ exporterId: z231.string(),
6655
+ brandId: z231.string().optional(),
6656
+ themeId: z231.string().optional(),
6657
+ themePersistentIds: z231.string().array().optional(),
6658
+ destinations: DTOExportJobDestinations,
6659
+ exporterPropertyValues: DTOExporterPropertyValueMap.optional()
6660
+ });
6651
6661
 
6652
6662
  // src/api/dto/export/pipeline.ts
6653
6663
  import { z as z232 } from "zod";
@@ -6667,7 +6677,7 @@ var DTOPipeline = z232.object({
6667
6677
  brandPersistentId: z232.string().optional(),
6668
6678
  themePersistentId: z232.string().optional(),
6669
6679
  themePersistentIds: z232.string().array().optional(),
6670
- exporterConfigurationProperties: DTOExporterPropertyDefinitionValueMap.optional(),
6680
+ exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
6671
6681
  ...ExportDestinationsMap.shape,
6672
6682
  latestJobs: DTOExportJob.array()
6673
6683
  });
@@ -13639,6 +13649,7 @@ export {
13639
13649
  DTOEventDataSourcesImported,
13640
13650
  DTOEventFigmaNodesRendered,
13641
13651
  DTOExportJob,
13652
+ DTOExportJobCreateInput,
13642
13653
  DTOExportJobCreatedBy,
13643
13654
  DTOExportJobDesignSystemPreview,
13644
13655
  DTOExportJobDesignSystemVersionPreview,
@@ -13662,10 +13673,10 @@ export {
13662
13673
  DTOExporterPropertyDefinitionNumber,
13663
13674
  DTOExporterPropertyDefinitionObject,
13664
13675
  DTOExporterPropertyDefinitionString,
13665
- DTOExporterPropertyDefinitionValue,
13666
- DTOExporterPropertyDefinitionValueMap,
13667
13676
  DTOExporterPropertyDefinitionsResponse,
13668
13677
  DTOExporterPropertyType,
13678
+ DTOExporterPropertyValue,
13679
+ DTOExporterPropertyValueMap,
13669
13680
  DTOExporterResponse,
13670
13681
  DTOExporterSource,
13671
13682
  DTOExporterType,