@supernova-studio/client 1.90.0 → 1.90.2

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
@@ -7148,83 +7148,83 @@ var DTOBrandUpdatePayload = z224.object({
7148
7148
  persistentId: z224.string()
7149
7149
  });
7150
7150
 
7151
- // src/api/dto/design-systems/code-component.ts
7152
- import z225 from "zod";
7153
- var DTOCodeComponentProperty = z225.object({
7154
- name: z225.string(),
7155
- type: z225.string(),
7156
- isRequired: z225.boolean()
7157
- });
7158
- var DTOCodeComponentStorybookFile = z225.object({
7159
- name: z225.string(),
7160
- type: z225.enum(["Story", "Doc"]),
7161
- filePath: z225.string()
7162
- });
7163
- var DTOCodeComponentDocFile = z225.object({
7164
- filePath: z225.string()
7165
- });
7166
- var DTOCodeComponent = z225.object({
7167
- /** Name of the component in code */
7168
- name: z225.string(),
7169
- /** Name of the package (from package.json) from where the component was imported */
7170
- packageName: z225.string(),
7171
- /** Name of the repository that contains this component */
7172
- repositoryName: z225.string(),
7173
- /** JSDoc comment for this component */
7174
- description: z225.string(),
7175
- /** File path of this component, relative to the repository root */
7176
- filePath: z225.string(),
7177
- /** All code properties of this component */
7178
- props: DTOCodeComponentProperty.array(),
7179
- /** List of Storybook files that mention this component */
7180
- storybookFiles: DTOCodeComponentStorybookFile.array(),
7181
- /** List of doc files (markdown) that mention this component */
7182
- docFiles: DTOCodeComponentDocFile.array(),
7183
- createdAt: z225.string(),
7184
- updatedAt: z225.string()
7185
- });
7186
- var DTOCodeComponentListResponse = z225.object({
7187
- components: DTOCodeComponent.array()
7188
- });
7189
-
7190
7151
  // src/api/dto/design-systems/code-component-usage.ts
7191
- import z226 from "zod";
7192
- var DTOCodeComponentPropUsage = z226.object({
7152
+ import z225 from "zod";
7153
+ var DTOCodeComponentPropUsage = z225.object({
7193
7154
  /** How many times this property has been used in this repository? */
7194
- usages: z226.number(),
7155
+ usages: z225.number(),
7195
7156
  /** How many times different values have been used with this property? */
7196
- values: z226.record(z226.number()),
7157
+ values: z225.record(z225.number()),
7197
7158
  /** How many times a value has not been specified? (all component usages - usages with values) */
7198
- undefinedValue: z226.number()
7159
+ undefinedValue: z225.number()
7199
7160
  });
7200
- var DTOCodeComponentUsage = z226.object({
7161
+ var DTOCodeComponentUsage = z225.object({
7201
7162
  /**
7202
7163
  * Name of the component in its package.
7203
7164
  * `componentName` and `componentPackageName` uniquely identify a component
7204
7165
  */
7205
- componentName: z226.string(),
7166
+ componentName: z225.string(),
7206
7167
  /**
7207
7168
  * Which package the component is coming from.
7208
7169
  * `componentName` and `componentPackageName` uniquely identify a component
7209
7170
  */
7210
- componentPackageName: z226.string(),
7171
+ componentPackageName: z225.string(),
7211
7172
  /** Which repository this component is used in */
7212
- usageRepositoryName: z226.string(),
7173
+ usageRepositoryName: z225.string(),
7213
7174
  /** Which package of the repository the component is used in */
7214
- usagePackageName: z226.string(),
7175
+ usagePackageName: z225.string(),
7215
7176
  /** How many times this component has been used in this repository? */
7216
- usages: z226.number(),
7177
+ usages: z225.number(),
7217
7178
  /** How many files has at least one usage of this component? */
7218
- usageFiles: z226.number(),
7179
+ usageFiles: z225.number(),
7219
7180
  /** Usage data of the component's props */
7220
- props: z226.record(DTOCodeComponentPropUsage),
7181
+ props: z225.record(DTOCodeComponentPropUsage),
7221
7182
  /** Timestamp of the scan that has shapshotted this data */
7222
- scanTimestamp: z226.string()
7183
+ scanTimestamp: z225.string()
7223
7184
  });
7224
- var DTOCodeComponentUsageResponse = z226.object({
7185
+ var DTOCodeComponentUsageResponse = z225.object({
7225
7186
  componentUsage: DTOCodeComponentUsage.array()
7226
7187
  });
7227
7188
 
7189
+ // src/api/dto/design-systems/code-component.ts
7190
+ import z226 from "zod";
7191
+ var DTOCodeComponentProperty = z226.object({
7192
+ name: z226.string(),
7193
+ type: z226.string(),
7194
+ isRequired: z226.boolean()
7195
+ });
7196
+ var DTOCodeComponentStorybookFile = z226.object({
7197
+ name: z226.string(),
7198
+ type: z226.enum(["Story", "Doc"]),
7199
+ filePath: z226.string()
7200
+ });
7201
+ var DTOCodeComponentDocFile = z226.object({
7202
+ filePath: z226.string()
7203
+ });
7204
+ var DTOCodeComponent = z226.object({
7205
+ /** Name of the component in code */
7206
+ name: z226.string(),
7207
+ /** Name of the package (from package.json) from where the component was imported */
7208
+ packageName: z226.string(),
7209
+ /** Name of the repository that contains this component */
7210
+ repositoryName: z226.string(),
7211
+ /** JSDoc comment for this component */
7212
+ description: z226.string(),
7213
+ /** File path of this component, relative to the repository root */
7214
+ filePath: z226.string(),
7215
+ /** All code properties of this component */
7216
+ props: DTOCodeComponentProperty.array(),
7217
+ /** List of Storybook files that mention this component */
7218
+ storybookFiles: DTOCodeComponentStorybookFile.array(),
7219
+ /** List of doc files (markdown) that mention this component */
7220
+ docFiles: DTOCodeComponentDocFile.array(),
7221
+ createdAt: z226.string(),
7222
+ updatedAt: z226.string()
7223
+ });
7224
+ var DTOCodeComponentListResponse = z226.object({
7225
+ components: DTOCodeComponent.array()
7226
+ });
7227
+
7228
7228
  // src/api/dto/design-systems/code-history.ts
7229
7229
  import z227 from "zod";
7230
7230
  var DTOCodeHistoryRepositoryFilter = z227.object({
@@ -8465,28 +8465,38 @@ var DTOUserDesignSystemsResponse = z260.object({
8465
8465
  workspaces: DTOWorkspace.array()
8466
8466
  });
8467
8467
 
8468
+ // src/api/dto/design-systems/version-room.ts
8469
+ import { z as z261 } from "zod";
8470
+ var DTODesignSystemVersionRoom = z261.object({
8471
+ id: z261.string()
8472
+ });
8473
+ var DTODesignSystemVersionRoomResponse = z261.object({
8474
+ room: DTODesignSystemVersionRoom
8475
+ });
8476
+
8468
8477
  // src/api/dto/design-systems/version.ts
8469
- import { z as z273 } from "zod";
8478
+ import { z as z274 } from "zod";
8470
8479
 
8471
8480
  // src/api/payloads/design-systems/code-snapshots.ts
8472
- import { z as z261 } from "zod";
8481
+ import { z as z262 } from "zod";
8473
8482
  var DTOCodeSnapshotUploadInitScannerType = DTOCodeSnapshotScannerType;
8474
- var DTOCodeSnapshotUploadInitPayload = z261.object({
8475
- archiveChecksum: z261.string(),
8476
- archiveName: z261.string(),
8477
- archiveSize: z261.number(),
8478
- designSystemId: z261.string(),
8479
- repoId: z261.string(),
8480
- repoPackageName: z261.string(),
8483
+ var DTOCodeSnapshotUploadInitPayload = z262.object({
8484
+ archiveChecksum: z262.string(),
8485
+ archiveName: z262.string(),
8486
+ archiveSize: z262.number(),
8487
+ designSystemId: z262.string(),
8488
+ repoId: z262.string(),
8489
+ repoName: z262.string(),
8490
+ repoPackageName: z262.string(),
8481
8491
  scannerType: DTOCodeSnapshotUploadInitScannerType
8482
8492
  });
8483
- var DTOCodeSnapshotFinalizePayload = z261.object({}).optional();
8484
- var DTOCodeSnapshotStartProcessingRunPayload = z261.object({
8485
- designSystemId: z261.string()
8493
+ var DTOCodeSnapshotFinalizePayload = z262.object({}).optional();
8494
+ var DTOCodeSnapshotStartProcessingRunPayload = z262.object({
8495
+ designSystemId: z262.string()
8486
8496
  });
8487
8497
 
8488
8498
  // src/api/payloads/design-systems/update-design-system.ts
8489
- import { z as z262 } from "zod";
8499
+ import { z as z263 } from "zod";
8490
8500
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
8491
8501
  id: true,
8492
8502
  workspaceId: true,
@@ -8502,59 +8512,59 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
8502
8512
  */
8503
8513
  designSystemSwitcher: DesignSystemSwitcher.optional()
8504
8514
  });
8505
- var DTODesignSystemUpdateAccessModeInput = z262.object({
8515
+ var DTODesignSystemUpdateAccessModeInput = z263.object({
8506
8516
  accessMode: DesignSystemAccessMode,
8507
- retain: z262.object({
8508
- userIds: z262.string().array(),
8509
- inviteIds: z262.string().array()
8517
+ retain: z263.object({
8518
+ userIds: z263.string().array(),
8519
+ inviteIds: z263.string().array()
8510
8520
  }).optional()
8511
8521
  });
8512
- var DTODesignSystemUpdateSwitcherInput = z262.object({
8522
+ var DTODesignSystemUpdateSwitcherInput = z263.object({
8513
8523
  designSystemSwitcher: DesignSystemSwitcher
8514
8524
  });
8515
8525
 
8516
8526
  // src/api/payloads/design-systems/version.ts
8517
- import { z as z263 } from "zod";
8518
- var ObjectMeta2 = z263.object({
8519
- name: z263.string().max(150).optional(),
8520
- description: z263.string().max(2e3).optional()
8527
+ import { z as z264 } from "zod";
8528
+ var ObjectMeta2 = z264.object({
8529
+ name: z264.string().max(150).optional(),
8530
+ description: z264.string().max(2e3).optional()
8521
8531
  });
8522
8532
  function validateDesignSystemVersion(version) {
8523
8533
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
8524
8534
  return urlCompliantRegex.test(version);
8525
8535
  }
8526
- var DTOCreateVersionInput = z263.object({
8536
+ var DTOCreateVersionInput = z264.object({
8527
8537
  meta: ObjectMeta2,
8528
- version: z263.string().refine(validateDesignSystemVersion, {
8538
+ version: z264.string().refine(validateDesignSystemVersion, {
8529
8539
  message: "Invalid semantic versioning format"
8530
8540
  }),
8531
- changeLog: z263.string().optional()
8541
+ changeLog: z264.string().optional()
8532
8542
  });
8533
- var DTOUpdateVersionInput = z263.object({
8543
+ var DTOUpdateVersionInput = z264.object({
8534
8544
  meta: ObjectMeta2,
8535
- version: z263.string(),
8545
+ version: z264.string(),
8536
8546
  // required for PUT, but not editable
8537
- changeLog: z263.string()
8547
+ changeLog: z264.string()
8538
8548
  });
8539
8549
 
8540
8550
  // src/api/payloads/documentation/analytics.ts
8541
- import { z as z264 } from "zod";
8542
- var DTODocumentationAnalyticsTimeFrameComparison = z264.object({
8543
- referencePeriod: z264.object({
8544
- start: z264.coerce.date(),
8545
- end: z264.coerce.date().optional()
8551
+ import { z as z265 } from "zod";
8552
+ var DTODocumentationAnalyticsTimeFrameComparison = z265.object({
8553
+ referencePeriod: z265.object({
8554
+ start: z265.coerce.date(),
8555
+ end: z265.coerce.date().optional()
8546
8556
  }),
8547
- baselinePeriod: z264.object({
8548
- start: z264.coerce.date(),
8549
- end: z264.coerce.date().optional()
8557
+ baselinePeriod: z265.object({
8558
+ start: z265.coerce.date(),
8559
+ end: z265.coerce.date().optional()
8550
8560
  })
8551
8561
  });
8552
- var DTODocumentationAnalyticsDiffPayload = z264.object({
8553
- timeFrames: z264.array(DTODocumentationAnalyticsTimeFrameComparison)
8562
+ var DTODocumentationAnalyticsDiffPayload = z265.object({
8563
+ timeFrames: z265.array(DTODocumentationAnalyticsTimeFrameComparison)
8554
8564
  });
8555
8565
 
8556
8566
  // src/api/payloads/documentation/block-definitions.ts
8557
- import { z as z265 } from "zod";
8567
+ import { z as z266 } from "zod";
8558
8568
 
8559
8569
  // src/api/dto/documentation/block-definition.ts
8560
8570
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -8566,79 +8576,79 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
8566
8576
  var DTOPageBlockDefinition = PageBlockDefinition;
8567
8577
 
8568
8578
  // src/api/payloads/documentation/block-definitions.ts
8569
- var DTOGetBlockDefinitionsQuery = z265.object({
8579
+ var DTOGetBlockDefinitionsQuery = z266.object({
8570
8580
  files: zodQueryBoolean()
8571
8581
  });
8572
- var DTOGetBlockDefinitionsOutput = z265.object({
8573
- definitions: z265.array(DTOPageBlockDefinition)
8582
+ var DTOGetBlockDefinitionsOutput = z266.object({
8583
+ definitions: z266.array(DTOPageBlockDefinition)
8574
8584
  });
8575
8585
 
8576
8586
  // src/api/payloads/documentation/design-data-doc-diff.ts
8577
- import { z as z266 } from "zod";
8578
- var DTODocumentationPublishTypeQueryParams = z266.object({
8579
- environment: z266.enum(["Live", "Preview"])
8587
+ import { z as z267 } from "zod";
8588
+ var DTODocumentationPublishTypeQueryParams = z267.object({
8589
+ environment: z267.enum(["Live", "Preview"])
8580
8590
  });
8581
8591
 
8582
8592
  // src/api/payloads/export/pipeline.ts
8583
- import { z as z268 } from "zod";
8593
+ import { z as z269 } from "zod";
8584
8594
 
8585
8595
  // src/api/dto/export/exporter-property.ts
8586
- import { z as z267 } from "zod";
8587
- var PrimitiveValue2 = z267.number().or(z267.boolean()).or(z267.string());
8588
- var ArrayValue2 = z267.array(z267.string());
8589
- var ObjectValue2 = z267.record(z267.string());
8596
+ import { z as z268 } from "zod";
8597
+ var PrimitiveValue2 = z268.number().or(z268.boolean()).or(z268.string());
8598
+ var ArrayValue2 = z268.array(z268.string());
8599
+ var ObjectValue2 = z268.record(z268.string());
8590
8600
  var DTOExporterPropertyValue = PrimitiveValue2.or(ArrayValue2).or(ObjectValue2);
8591
- var DTOExporterPropertyType = z267.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
8592
- var PropertyDefinitionBase2 = z267.object({
8593
- key: z267.string(),
8594
- title: z267.string(),
8595
- description: z267.string(),
8596
- category: z267.string().optional(),
8597
- dependsOn: z267.record(z267.boolean()).optional()
8598
- });
8599
- var DTOExporterPropertyDefinitionEnumOption = z267.object({
8600
- label: z267.string(),
8601
- description: z267.string()
8601
+ var DTOExporterPropertyType = z268.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
8602
+ var PropertyDefinitionBase2 = z268.object({
8603
+ key: z268.string(),
8604
+ title: z268.string(),
8605
+ description: z268.string(),
8606
+ category: z268.string().optional(),
8607
+ dependsOn: z268.record(z268.boolean()).optional()
8608
+ });
8609
+ var DTOExporterPropertyDefinitionEnumOption = z268.object({
8610
+ label: z268.string(),
8611
+ description: z268.string()
8602
8612
  });
8603
8613
  var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase2.extend({
8604
- type: z267.literal(DTOExporterPropertyType.Enum.Enum),
8605
- options: z267.record(DTOExporterPropertyDefinitionEnumOption),
8606
- default: z267.string()
8614
+ type: z268.literal(DTOExporterPropertyType.Enum.Enum),
8615
+ options: z268.record(DTOExporterPropertyDefinitionEnumOption),
8616
+ default: z268.string()
8607
8617
  });
8608
8618
  var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase2.extend({
8609
- type: z267.literal(DTOExporterPropertyType.Enum.Boolean),
8610
- default: z267.boolean()
8619
+ type: z268.literal(DTOExporterPropertyType.Enum.Boolean),
8620
+ default: z268.boolean()
8611
8621
  });
8612
8622
  var DTOExporterPropertyDefinitionString = PropertyDefinitionBase2.extend({
8613
- type: z267.literal(DTOExporterPropertyType.Enum.String),
8614
- default: z267.string(),
8615
- isMultiline: z267.boolean().optional()
8623
+ type: z268.literal(DTOExporterPropertyType.Enum.String),
8624
+ default: z268.string(),
8625
+ isMultiline: z268.boolean().optional()
8616
8626
  });
8617
8627
  var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase2.extend({
8618
- type: z267.literal(DTOExporterPropertyType.Enum.Number),
8619
- default: z267.number()
8628
+ type: z268.literal(DTOExporterPropertyType.Enum.Number),
8629
+ default: z268.number()
8620
8630
  });
8621
8631
  var DTOExporterPropertyDefinitionArray = PropertyDefinitionBase2.extend({
8622
- type: z267.literal(DTOExporterPropertyType.Enum.Array),
8632
+ type: z268.literal(DTOExporterPropertyType.Enum.Array),
8623
8633
  default: ArrayValue2
8624
8634
  });
8625
8635
  var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase2.extend({
8626
- type: z267.literal(DTOExporterPropertyType.Enum.Object),
8636
+ type: z268.literal(DTOExporterPropertyType.Enum.Object),
8627
8637
  default: ObjectValue2,
8628
- allowedKeys: z267.object({
8629
- options: z267.string().array(),
8630
- type: z267.string()
8638
+ allowedKeys: z268.object({
8639
+ options: z268.string().array(),
8640
+ type: z268.string()
8631
8641
  }).optional(),
8632
- allowedValues: z267.object({
8633
- type: z267.string()
8642
+ allowedValues: z268.object({
8643
+ type: z268.string()
8634
8644
  }).optional()
8635
8645
  });
8636
8646
  var DTOExporterPropertyDefinitionCode = PropertyDefinitionBase2.extend({
8637
- type: z267.literal(DTOExporterPropertyType.Enum.Code),
8638
- language: z267.string(),
8639
- default: z267.string()
8647
+ type: z268.literal(DTOExporterPropertyType.Enum.Code),
8648
+ language: z268.string(),
8649
+ default: z268.string()
8640
8650
  });
8641
- var DTOExporterPropertyDefinition = z267.discriminatedUnion("type", [
8651
+ var DTOExporterPropertyDefinition = z268.discriminatedUnion("type", [
8642
8652
  DTOExporterPropertyDefinitionEnum,
8643
8653
  DTOExporterPropertyDefinitionBoolean,
8644
8654
  DTOExporterPropertyDefinitionString,
@@ -8647,110 +8657,110 @@ var DTOExporterPropertyDefinition = z267.discriminatedUnion("type", [
8647
8657
  DTOExporterPropertyDefinitionObject,
8648
8658
  DTOExporterPropertyDefinitionCode
8649
8659
  ]);
8650
- var DTOExporterPropertyDefinitionsResponse = z267.object({
8660
+ var DTOExporterPropertyDefinitionsResponse = z268.object({
8651
8661
  properties: DTOExporterPropertyDefinition.array()
8652
8662
  });
8653
- var DTOExporterPropertyValueMap = z267.record(DTOExporterPropertyValue);
8663
+ var DTOExporterPropertyValueMap = z268.record(DTOExporterPropertyValue);
8654
8664
 
8655
8665
  // src/api/payloads/export/pipeline.ts
8656
- var GitDestinationOptions = z268.object({
8657
- branch: z268.string().min(1).nullish(),
8658
- commitMessage: z268.string().min(1).nullish(),
8659
- commitAuthorName: z268.string().min(1).nullish(),
8660
- commitAuthorEmail: z268.string().email().nullish(),
8661
- pullRequestTitle: z268.string().min(1).nullish(),
8662
- pullRequestDescription: z268.string().min(1).nullish(),
8663
- relativePath: z268.string().nullish(),
8664
- purgeDirectory: z268.boolean().nullish()
8665
- });
8666
- var DTOPipelineCreateBody = z268.object({
8667
- name: z268.string(),
8668
- exporterId: z268.string(),
8669
- designSystemId: z268.string(),
8670
- isEnabled: z268.boolean(),
8666
+ var GitDestinationOptions = z269.object({
8667
+ branch: z269.string().min(1).nullish(),
8668
+ commitMessage: z269.string().min(1).nullish(),
8669
+ commitAuthorName: z269.string().min(1).nullish(),
8670
+ commitAuthorEmail: z269.string().email().nullish(),
8671
+ pullRequestTitle: z269.string().min(1).nullish(),
8672
+ pullRequestDescription: z269.string().min(1).nullish(),
8673
+ relativePath: z269.string().nullish(),
8674
+ purgeDirectory: z269.boolean().nullish()
8675
+ });
8676
+ var DTOPipelineCreateBody = z269.object({
8677
+ name: z269.string(),
8678
+ exporterId: z269.string(),
8679
+ designSystemId: z269.string(),
8680
+ isEnabled: z269.boolean(),
8671
8681
  eventType: PipelineEventType,
8672
- brandPersistentId: z268.string().optional(),
8673
- themePersistentId: z268.string().optional(),
8674
- themePersistentIds: z268.string().array().optional(),
8682
+ brandPersistentId: z269.string().optional(),
8683
+ themePersistentId: z269.string().optional(),
8684
+ themePersistentIds: z269.string().array().optional(),
8675
8685
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
8676
8686
  destination: PipelineDestinationType.optional(),
8677
8687
  gitQuery: GitObjectsQuery,
8678
- destinations: z268.object({
8688
+ destinations: z269.object({
8679
8689
  s3: ExporterDestinationS3.nullish(),
8680
8690
  azure: ExporterDestinationAzure.nullish(),
8681
8691
  bitbucket: ExporterDestinationBitbucket.nullish(),
8682
8692
  github: ExporterDestinationGithub.nullish(),
8683
8693
  gitlab: ExporterDestinationGitlab.nullish(),
8684
8694
  documentation: ExporterDestinationDocs.nullish(),
8685
- webhookUrl: z268.string().nullish()
8695
+ webhookUrl: z269.string().nullish()
8686
8696
  })
8687
8697
  });
8688
- var DTODesignSystemPipelineCreateBody = z268.object({
8689
- name: z268.string(),
8690
- exporterId: z268.string(),
8691
- isEnabled: z268.boolean(),
8698
+ var DTODesignSystemPipelineCreateBody = z269.object({
8699
+ name: z269.string(),
8700
+ exporterId: z269.string(),
8701
+ isEnabled: z269.boolean(),
8692
8702
  eventType: PipelineEventType,
8693
- brandPersistentId: z268.string().optional(),
8694
- themePersistentId: z268.string().optional(),
8695
- themePersistentIds: z268.string().array().optional(),
8703
+ brandPersistentId: z269.string().optional(),
8704
+ themePersistentId: z269.string().optional(),
8705
+ themePersistentIds: z269.string().array().optional(),
8696
8706
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
8697
8707
  destination: PipelineDestinationType.optional(),
8698
8708
  gitQuery: GitObjectsQuery,
8699
- destinations: z268.object({
8709
+ destinations: z269.object({
8700
8710
  s3: ExporterDestinationS3.nullish(),
8701
8711
  azure: ExporterDestinationAzure.nullish(),
8702
8712
  bitbucket: ExporterDestinationBitbucket.nullish(),
8703
8713
  github: ExporterDestinationGithub.nullish(),
8704
8714
  gitlab: ExporterDestinationGitlab.nullish(),
8705
8715
  documentation: ExporterDestinationDocs.nullish(),
8706
- webhookUrl: z268.string().nullish()
8716
+ webhookUrl: z269.string().nullish()
8707
8717
  })
8708
8718
  });
8709
- var DTOPipelineUpdateBody = z268.object({
8710
- exporterId: z268.string().optional(),
8711
- name: z268.string().optional(),
8712
- isEnabled: z268.boolean().optional(),
8719
+ var DTOPipelineUpdateBody = z269.object({
8720
+ exporterId: z269.string().optional(),
8721
+ name: z269.string().optional(),
8722
+ isEnabled: z269.boolean().optional(),
8713
8723
  eventType: PipelineEventType.optional(),
8714
- brandPersistentId: z268.string().optional(),
8715
- themePersistentId: z268.string().optional(),
8716
- themePersistentIds: z268.string().array().optional(),
8724
+ brandPersistentId: z269.string().optional(),
8725
+ themePersistentId: z269.string().optional(),
8726
+ themePersistentIds: z269.string().array().optional(),
8717
8727
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
8718
8728
  destination: PipelineDestinationType.optional(),
8719
8729
  gitQuery: GitObjectsQuery.optional(),
8720
- destinations: z268.object({
8730
+ destinations: z269.object({
8721
8731
  s3: ExporterDestinationS3.nullish(),
8722
8732
  azure: ExporterDestinationAzure.nullish(),
8723
8733
  bitbucket: ExporterDestinationBitbucket.nullish(),
8724
8734
  github: ExporterDestinationGithub.nullish(),
8725
8735
  gitlab: ExporterDestinationGitlab.nullish(),
8726
8736
  documentation: ExporterDestinationDocs.nullish(),
8727
- webhookUrl: z268.string().nullish()
8737
+ webhookUrl: z269.string().nullish()
8728
8738
  }).optional(),
8729
8739
  gitDestinationOptions: GitDestinationOptions.partial().optional()
8730
8740
  });
8731
- var DTOPipelineTriggerBody = z268.object({
8732
- designSystemVersionId: z268.string()
8741
+ var DTOPipelineTriggerBody = z269.object({
8742
+ designSystemVersionId: z269.string()
8733
8743
  });
8734
8744
 
8735
8745
  // src/api/payloads/liveblocks/auth.ts
8736
- import { z as z269 } from "zod";
8737
- var DTOLiveblocksAuthRequest = z269.object({
8738
- room: z269.string().optional()
8746
+ import { z as z270 } from "zod";
8747
+ var DTOLiveblocksAuthRequest = z270.object({
8748
+ room: z270.string().optional()
8739
8749
  });
8740
8750
 
8741
8751
  // src/api/payloads/users/notifications/notification-settings.ts
8742
- import { z as z270 } from "zod";
8743
- var DTOUpdateUserNotificationSettingsPayload = z270.object({
8752
+ import { z as z271 } from "zod";
8753
+ var DTOUpdateUserNotificationSettingsPayload = z271.object({
8744
8754
  notificationSettings: UserNotificationSettings
8745
8755
  });
8746
- var DTOUserNotificationSettingsResponse = z270.object({
8747
- userId: z270.string(),
8748
- workspaceId: z270.string(),
8756
+ var DTOUserNotificationSettingsResponse = z271.object({
8757
+ userId: z271.string(),
8758
+ workspaceId: z271.string(),
8749
8759
  notificationSettings: UserNotificationSettings
8750
8760
  });
8751
8761
 
8752
8762
  // src/api/payloads/workspaces/workspace-configuration.ts
8753
- import { z as z271 } from "zod";
8763
+ import { z as z272 } from "zod";
8754
8764
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
8755
8765
  function validateSsoPayload(ssoPayload) {
8756
8766
  const keys = [];
@@ -8773,105 +8783,96 @@ function validateSsoPayload(ssoPayload) {
8773
8783
  keys
8774
8784
  };
8775
8785
  }
8776
- var NpmRegistryInput = z271.object({
8777
- enabledScopes: z271.array(z271.string()),
8778
- customRegistryUrl: z271.string().optional(),
8779
- bypassProxy: z271.boolean().optional(),
8780
- npmProxyRegistryConfigId: z271.string().optional(),
8781
- npmProxyVersion: z271.number().optional(),
8782
- registryType: z271.string(),
8783
- authType: z271.string(),
8784
- authHeaderName: z271.string(),
8785
- authHeaderValue: z271.string(),
8786
- accessToken: z271.string(),
8787
- username: z271.string(),
8788
- password: z271.string()
8789
- });
8790
- var WorkspaceConfigurationPayload = z271.object({
8786
+ var NpmRegistryInput = z272.object({
8787
+ enabledScopes: z272.array(z272.string()),
8788
+ customRegistryUrl: z272.string().optional(),
8789
+ bypassProxy: z272.boolean().optional(),
8790
+ npmProxyRegistryConfigId: z272.string().optional(),
8791
+ npmProxyVersion: z272.number().optional(),
8792
+ registryType: z272.string(),
8793
+ authType: z272.string(),
8794
+ authHeaderName: z272.string(),
8795
+ authHeaderValue: z272.string(),
8796
+ accessToken: z272.string(),
8797
+ username: z272.string(),
8798
+ password: z272.string()
8799
+ });
8800
+ var WorkspaceConfigurationPayload = z272.object({
8791
8801
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
8792
8802
  sso: SsoProvider.partial().optional(),
8793
8803
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
8794
8804
  profile: WorkspaceProfile.partial().optional(),
8795
- aiFeaturesEnabled: z271.boolean().optional(),
8796
- projectsEnabled: z271.boolean().optional(),
8805
+ aiFeaturesEnabled: z272.boolean().optional(),
8806
+ projectsEnabled: z272.boolean().optional(),
8797
8807
  defaultProjectAccessMode: WorkspaceDefaultProjectAccessMode.optional(),
8798
8808
  defaultProjectRole: WorkspaceDefaultProjectRole.optional(),
8799
- aiAskFeaturesEnabled: z271.boolean().optional(),
8800
- aiCustomInstruction: z271.string().optional()
8809
+ aiAskFeaturesEnabled: z272.boolean().optional(),
8810
+ aiCustomInstruction: z272.string().optional()
8801
8811
  });
8802
8812
 
8803
8813
  // src/api/payloads/workspaces/workspace-integrations.ts
8804
- import { z as z272 } from "zod";
8805
- var IntegrationOauthPlatform = z272.enum(["Desktop", "Browser"]);
8806
- var IntegrationOauthCallbackState = z272.enum(["Success", "Error"]);
8807
- var DTOWorkspaceIntegrationOauthInput = z272.object({
8814
+ import { z as z273 } from "zod";
8815
+ var IntegrationOauthPlatform = z273.enum(["Desktop", "Browser"]);
8816
+ var IntegrationOauthCallbackState = z273.enum(["Success", "Error"]);
8817
+ var DTOWorkspaceIntegrationOauthInput = z273.object({
8808
8818
  type: IntegrationType,
8809
8819
  platform: IntegrationOauthPlatform.optional().default("Browser"),
8810
- authId: z272.string().optional()
8820
+ authId: z273.string().optional()
8811
8821
  // Allow FE client to distinguish between multiple parallel OAuth flows, useful for desktop where multiple flows can be initiated in parallel
8812
8822
  });
8813
- var DTOWorkspaceIntegrationPATInput = z272.object({
8823
+ var DTOWorkspaceIntegrationPATInput = z273.object({
8814
8824
  type: IntegrationType,
8815
8825
  token: IntegrationToken
8816
8826
  });
8817
- var DTOWorkspaceIntegrationGetGitObjectsInput = z272.object({
8818
- organization: z272.string().optional(),
8827
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z273.object({
8828
+ organization: z273.string().optional(),
8819
8829
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
8820
- project: z272.string().optional(),
8830
+ project: z273.string().optional(),
8821
8831
  // Only for Bitbucket and Azure
8822
- repository: z272.string().optional(),
8832
+ repository: z273.string().optional(),
8823
8833
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
8824
- branch: z272.string().optional(),
8834
+ branch: z273.string().optional(),
8825
8835
  // For all providers, useful for PR creations.
8826
- user: z272.string().optional()
8836
+ user: z273.string().optional()
8827
8837
  // Only for Gitlab User Repositories
8828
8838
  });
8829
8839
 
8830
8840
  // src/api/dto/design-systems/version.ts
8831
- var DTODesignSystemVersion = z273.object({
8832
- id: z273.string(),
8833
- createdAt: z273.coerce.date(),
8841
+ var DTODesignSystemVersion = z274.object({
8842
+ id: z274.string(),
8843
+ createdAt: z274.coerce.date(),
8834
8844
  meta: ObjectMeta,
8835
- version: z273.string(),
8836
- isReadonly: z273.boolean(),
8837
- changeLog: z273.string(),
8838
- designSystemId: z273.string()
8845
+ version: z274.string(),
8846
+ isReadonly: z274.boolean(),
8847
+ changeLog: z274.string(),
8848
+ designSystemId: z274.string()
8839
8849
  });
8840
- var DTODesignSystemVersionsListResponse = z273.object({
8841
- designSystemVersions: z273.array(DTODesignSystemVersion)
8850
+ var DTODesignSystemVersionsListResponse = z274.object({
8851
+ designSystemVersions: z274.array(DTODesignSystemVersion)
8842
8852
  });
8843
- var DTODesignSystemVersionGetResponse = z273.object({
8853
+ var DTODesignSystemVersionGetResponse = z274.object({
8844
8854
  designSystemVersion: DTODesignSystemVersion
8845
8855
  });
8846
- var DTODesignSystemVersionCreationResponse = z273.object({
8856
+ var DTODesignSystemVersionCreationResponse = z274.object({
8847
8857
  meta: ObjectMeta,
8848
- version: z273.string(),
8849
- changeLog: z273.string(),
8850
- isReadOnly: z273.boolean(),
8851
- designSystemId: z273.string(),
8852
- jobId: z273.string()
8853
- });
8854
- var VersionSQSPayload = z273.object({
8855
- jobId: z273.string(),
8856
- designSystemId: z273.string(),
8858
+ version: z274.string(),
8859
+ changeLog: z274.string(),
8860
+ isReadOnly: z274.boolean(),
8861
+ designSystemId: z274.string(),
8862
+ jobId: z274.string()
8863
+ });
8864
+ var VersionSQSPayload = z274.object({
8865
+ jobId: z274.string(),
8866
+ designSystemId: z274.string(),
8857
8867
  input: DTOCreateVersionInput
8858
8868
  });
8859
- var DTODesignSystemVersionJobsResponse = z273.object({
8860
- jobs: z273.array(VersionCreationJob)
8869
+ var DTODesignSystemVersionJobsResponse = z274.object({
8870
+ jobs: z274.array(VersionCreationJob)
8861
8871
  });
8862
- var DTODesignSystemVersionJobStatusResponse = z273.object({
8872
+ var DTODesignSystemVersionJobStatusResponse = z274.object({
8863
8873
  job: VersionCreationJob
8864
8874
  });
8865
8875
 
8866
- // src/api/dto/design-systems/version-room.ts
8867
- import { z as z274 } from "zod";
8868
- var DTODesignSystemVersionRoom = z274.object({
8869
- id: z274.string()
8870
- });
8871
- var DTODesignSystemVersionRoomResponse = z274.object({
8872
- room: DTODesignSystemVersionRoom
8873
- });
8874
-
8875
8876
  // src/api/dto/design-systems/view.ts
8876
8877
  import { z as z275 } from "zod";
8877
8878
  var DTOElementViewColumnSharedAttributes = z275.object({
@@ -10724,8 +10725,8 @@ var DTOForgeFeatureRoomResponse = z324.object({
10724
10725
  // src/api/dto/forge/figma-node.ts
10725
10726
  import z325 from "zod";
10726
10727
  var DTOForgeFigmaNodeState = z325.enum(["Optimizing", "Success", "Failed"]);
10727
- var DTOForgeFigmaNodeConversionVersion = z325.enum(["V1", "V2", "V3", "V4", "V5", "V6", "V7"]);
10728
- var ForgeFigmaNodeLatestVersion = DTOForgeFigmaNodeConversionVersion.enum.V7;
10728
+ var DTOForgeFigmaNodeConversionVersion = z325.enum(["V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8"]);
10729
+ var ForgeFigmaNodeLatestVersion = DTOForgeFigmaNodeConversionVersion.enum.V8;
10729
10730
  var DTOForgeFigmaNodeOrigin = z325.object({
10730
10731
  /**
10731
10732
  * Figma file ID that was passed into the create request as a part of the Figma node URL