@supernova-studio/client 1.90.0 → 1.90.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
@@ -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,37 @@ 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
+ repoPackageName: z262.string(),
8481
8490
  scannerType: DTOCodeSnapshotUploadInitScannerType
8482
8491
  });
8483
- var DTOCodeSnapshotFinalizePayload = z261.object({}).optional();
8484
- var DTOCodeSnapshotStartProcessingRunPayload = z261.object({
8485
- designSystemId: z261.string()
8492
+ var DTOCodeSnapshotFinalizePayload = z262.object({}).optional();
8493
+ var DTOCodeSnapshotStartProcessingRunPayload = z262.object({
8494
+ designSystemId: z262.string()
8486
8495
  });
8487
8496
 
8488
8497
  // src/api/payloads/design-systems/update-design-system.ts
8489
- import { z as z262 } from "zod";
8498
+ import { z as z263 } from "zod";
8490
8499
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
8491
8500
  id: true,
8492
8501
  workspaceId: true,
@@ -8502,59 +8511,59 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
8502
8511
  */
8503
8512
  designSystemSwitcher: DesignSystemSwitcher.optional()
8504
8513
  });
8505
- var DTODesignSystemUpdateAccessModeInput = z262.object({
8514
+ var DTODesignSystemUpdateAccessModeInput = z263.object({
8506
8515
  accessMode: DesignSystemAccessMode,
8507
- retain: z262.object({
8508
- userIds: z262.string().array(),
8509
- inviteIds: z262.string().array()
8516
+ retain: z263.object({
8517
+ userIds: z263.string().array(),
8518
+ inviteIds: z263.string().array()
8510
8519
  }).optional()
8511
8520
  });
8512
- var DTODesignSystemUpdateSwitcherInput = z262.object({
8521
+ var DTODesignSystemUpdateSwitcherInput = z263.object({
8513
8522
  designSystemSwitcher: DesignSystemSwitcher
8514
8523
  });
8515
8524
 
8516
8525
  // 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()
8526
+ import { z as z264 } from "zod";
8527
+ var ObjectMeta2 = z264.object({
8528
+ name: z264.string().max(150).optional(),
8529
+ description: z264.string().max(2e3).optional()
8521
8530
  });
8522
8531
  function validateDesignSystemVersion(version) {
8523
8532
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
8524
8533
  return urlCompliantRegex.test(version);
8525
8534
  }
8526
- var DTOCreateVersionInput = z263.object({
8535
+ var DTOCreateVersionInput = z264.object({
8527
8536
  meta: ObjectMeta2,
8528
- version: z263.string().refine(validateDesignSystemVersion, {
8537
+ version: z264.string().refine(validateDesignSystemVersion, {
8529
8538
  message: "Invalid semantic versioning format"
8530
8539
  }),
8531
- changeLog: z263.string().optional()
8540
+ changeLog: z264.string().optional()
8532
8541
  });
8533
- var DTOUpdateVersionInput = z263.object({
8542
+ var DTOUpdateVersionInput = z264.object({
8534
8543
  meta: ObjectMeta2,
8535
- version: z263.string(),
8544
+ version: z264.string(),
8536
8545
  // required for PUT, but not editable
8537
- changeLog: z263.string()
8546
+ changeLog: z264.string()
8538
8547
  });
8539
8548
 
8540
8549
  // 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()
8550
+ import { z as z265 } from "zod";
8551
+ var DTODocumentationAnalyticsTimeFrameComparison = z265.object({
8552
+ referencePeriod: z265.object({
8553
+ start: z265.coerce.date(),
8554
+ end: z265.coerce.date().optional()
8546
8555
  }),
8547
- baselinePeriod: z264.object({
8548
- start: z264.coerce.date(),
8549
- end: z264.coerce.date().optional()
8556
+ baselinePeriod: z265.object({
8557
+ start: z265.coerce.date(),
8558
+ end: z265.coerce.date().optional()
8550
8559
  })
8551
8560
  });
8552
- var DTODocumentationAnalyticsDiffPayload = z264.object({
8553
- timeFrames: z264.array(DTODocumentationAnalyticsTimeFrameComparison)
8561
+ var DTODocumentationAnalyticsDiffPayload = z265.object({
8562
+ timeFrames: z265.array(DTODocumentationAnalyticsTimeFrameComparison)
8554
8563
  });
8555
8564
 
8556
8565
  // src/api/payloads/documentation/block-definitions.ts
8557
- import { z as z265 } from "zod";
8566
+ import { z as z266 } from "zod";
8558
8567
 
8559
8568
  // src/api/dto/documentation/block-definition.ts
8560
8569
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -8566,79 +8575,79 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
8566
8575
  var DTOPageBlockDefinition = PageBlockDefinition;
8567
8576
 
8568
8577
  // src/api/payloads/documentation/block-definitions.ts
8569
- var DTOGetBlockDefinitionsQuery = z265.object({
8578
+ var DTOGetBlockDefinitionsQuery = z266.object({
8570
8579
  files: zodQueryBoolean()
8571
8580
  });
8572
- var DTOGetBlockDefinitionsOutput = z265.object({
8573
- definitions: z265.array(DTOPageBlockDefinition)
8581
+ var DTOGetBlockDefinitionsOutput = z266.object({
8582
+ definitions: z266.array(DTOPageBlockDefinition)
8574
8583
  });
8575
8584
 
8576
8585
  // 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"])
8586
+ import { z as z267 } from "zod";
8587
+ var DTODocumentationPublishTypeQueryParams = z267.object({
8588
+ environment: z267.enum(["Live", "Preview"])
8580
8589
  });
8581
8590
 
8582
8591
  // src/api/payloads/export/pipeline.ts
8583
- import { z as z268 } from "zod";
8592
+ import { z as z269 } from "zod";
8584
8593
 
8585
8594
  // 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());
8595
+ import { z as z268 } from "zod";
8596
+ var PrimitiveValue2 = z268.number().or(z268.boolean()).or(z268.string());
8597
+ var ArrayValue2 = z268.array(z268.string());
8598
+ var ObjectValue2 = z268.record(z268.string());
8590
8599
  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()
8600
+ var DTOExporterPropertyType = z268.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
8601
+ var PropertyDefinitionBase2 = z268.object({
8602
+ key: z268.string(),
8603
+ title: z268.string(),
8604
+ description: z268.string(),
8605
+ category: z268.string().optional(),
8606
+ dependsOn: z268.record(z268.boolean()).optional()
8607
+ });
8608
+ var DTOExporterPropertyDefinitionEnumOption = z268.object({
8609
+ label: z268.string(),
8610
+ description: z268.string()
8602
8611
  });
8603
8612
  var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase2.extend({
8604
- type: z267.literal(DTOExporterPropertyType.Enum.Enum),
8605
- options: z267.record(DTOExporterPropertyDefinitionEnumOption),
8606
- default: z267.string()
8613
+ type: z268.literal(DTOExporterPropertyType.Enum.Enum),
8614
+ options: z268.record(DTOExporterPropertyDefinitionEnumOption),
8615
+ default: z268.string()
8607
8616
  });
8608
8617
  var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase2.extend({
8609
- type: z267.literal(DTOExporterPropertyType.Enum.Boolean),
8610
- default: z267.boolean()
8618
+ type: z268.literal(DTOExporterPropertyType.Enum.Boolean),
8619
+ default: z268.boolean()
8611
8620
  });
8612
8621
  var DTOExporterPropertyDefinitionString = PropertyDefinitionBase2.extend({
8613
- type: z267.literal(DTOExporterPropertyType.Enum.String),
8614
- default: z267.string(),
8615
- isMultiline: z267.boolean().optional()
8622
+ type: z268.literal(DTOExporterPropertyType.Enum.String),
8623
+ default: z268.string(),
8624
+ isMultiline: z268.boolean().optional()
8616
8625
  });
8617
8626
  var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase2.extend({
8618
- type: z267.literal(DTOExporterPropertyType.Enum.Number),
8619
- default: z267.number()
8627
+ type: z268.literal(DTOExporterPropertyType.Enum.Number),
8628
+ default: z268.number()
8620
8629
  });
8621
8630
  var DTOExporterPropertyDefinitionArray = PropertyDefinitionBase2.extend({
8622
- type: z267.literal(DTOExporterPropertyType.Enum.Array),
8631
+ type: z268.literal(DTOExporterPropertyType.Enum.Array),
8623
8632
  default: ArrayValue2
8624
8633
  });
8625
8634
  var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase2.extend({
8626
- type: z267.literal(DTOExporterPropertyType.Enum.Object),
8635
+ type: z268.literal(DTOExporterPropertyType.Enum.Object),
8627
8636
  default: ObjectValue2,
8628
- allowedKeys: z267.object({
8629
- options: z267.string().array(),
8630
- type: z267.string()
8637
+ allowedKeys: z268.object({
8638
+ options: z268.string().array(),
8639
+ type: z268.string()
8631
8640
  }).optional(),
8632
- allowedValues: z267.object({
8633
- type: z267.string()
8641
+ allowedValues: z268.object({
8642
+ type: z268.string()
8634
8643
  }).optional()
8635
8644
  });
8636
8645
  var DTOExporterPropertyDefinitionCode = PropertyDefinitionBase2.extend({
8637
- type: z267.literal(DTOExporterPropertyType.Enum.Code),
8638
- language: z267.string(),
8639
- default: z267.string()
8646
+ type: z268.literal(DTOExporterPropertyType.Enum.Code),
8647
+ language: z268.string(),
8648
+ default: z268.string()
8640
8649
  });
8641
- var DTOExporterPropertyDefinition = z267.discriminatedUnion("type", [
8650
+ var DTOExporterPropertyDefinition = z268.discriminatedUnion("type", [
8642
8651
  DTOExporterPropertyDefinitionEnum,
8643
8652
  DTOExporterPropertyDefinitionBoolean,
8644
8653
  DTOExporterPropertyDefinitionString,
@@ -8647,110 +8656,110 @@ var DTOExporterPropertyDefinition = z267.discriminatedUnion("type", [
8647
8656
  DTOExporterPropertyDefinitionObject,
8648
8657
  DTOExporterPropertyDefinitionCode
8649
8658
  ]);
8650
- var DTOExporterPropertyDefinitionsResponse = z267.object({
8659
+ var DTOExporterPropertyDefinitionsResponse = z268.object({
8651
8660
  properties: DTOExporterPropertyDefinition.array()
8652
8661
  });
8653
- var DTOExporterPropertyValueMap = z267.record(DTOExporterPropertyValue);
8662
+ var DTOExporterPropertyValueMap = z268.record(DTOExporterPropertyValue);
8654
8663
 
8655
8664
  // 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(),
8665
+ var GitDestinationOptions = z269.object({
8666
+ branch: z269.string().min(1).nullish(),
8667
+ commitMessage: z269.string().min(1).nullish(),
8668
+ commitAuthorName: z269.string().min(1).nullish(),
8669
+ commitAuthorEmail: z269.string().email().nullish(),
8670
+ pullRequestTitle: z269.string().min(1).nullish(),
8671
+ pullRequestDescription: z269.string().min(1).nullish(),
8672
+ relativePath: z269.string().nullish(),
8673
+ purgeDirectory: z269.boolean().nullish()
8674
+ });
8675
+ var DTOPipelineCreateBody = z269.object({
8676
+ name: z269.string(),
8677
+ exporterId: z269.string(),
8678
+ designSystemId: z269.string(),
8679
+ isEnabled: z269.boolean(),
8671
8680
  eventType: PipelineEventType,
8672
- brandPersistentId: z268.string().optional(),
8673
- themePersistentId: z268.string().optional(),
8674
- themePersistentIds: z268.string().array().optional(),
8681
+ brandPersistentId: z269.string().optional(),
8682
+ themePersistentId: z269.string().optional(),
8683
+ themePersistentIds: z269.string().array().optional(),
8675
8684
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
8676
8685
  destination: PipelineDestinationType.optional(),
8677
8686
  gitQuery: GitObjectsQuery,
8678
- destinations: z268.object({
8687
+ destinations: z269.object({
8679
8688
  s3: ExporterDestinationS3.nullish(),
8680
8689
  azure: ExporterDestinationAzure.nullish(),
8681
8690
  bitbucket: ExporterDestinationBitbucket.nullish(),
8682
8691
  github: ExporterDestinationGithub.nullish(),
8683
8692
  gitlab: ExporterDestinationGitlab.nullish(),
8684
8693
  documentation: ExporterDestinationDocs.nullish(),
8685
- webhookUrl: z268.string().nullish()
8694
+ webhookUrl: z269.string().nullish()
8686
8695
  })
8687
8696
  });
8688
- var DTODesignSystemPipelineCreateBody = z268.object({
8689
- name: z268.string(),
8690
- exporterId: z268.string(),
8691
- isEnabled: z268.boolean(),
8697
+ var DTODesignSystemPipelineCreateBody = z269.object({
8698
+ name: z269.string(),
8699
+ exporterId: z269.string(),
8700
+ isEnabled: z269.boolean(),
8692
8701
  eventType: PipelineEventType,
8693
- brandPersistentId: z268.string().optional(),
8694
- themePersistentId: z268.string().optional(),
8695
- themePersistentIds: z268.string().array().optional(),
8702
+ brandPersistentId: z269.string().optional(),
8703
+ themePersistentId: z269.string().optional(),
8704
+ themePersistentIds: z269.string().array().optional(),
8696
8705
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
8697
8706
  destination: PipelineDestinationType.optional(),
8698
8707
  gitQuery: GitObjectsQuery,
8699
- destinations: z268.object({
8708
+ destinations: z269.object({
8700
8709
  s3: ExporterDestinationS3.nullish(),
8701
8710
  azure: ExporterDestinationAzure.nullish(),
8702
8711
  bitbucket: ExporterDestinationBitbucket.nullish(),
8703
8712
  github: ExporterDestinationGithub.nullish(),
8704
8713
  gitlab: ExporterDestinationGitlab.nullish(),
8705
8714
  documentation: ExporterDestinationDocs.nullish(),
8706
- webhookUrl: z268.string().nullish()
8715
+ webhookUrl: z269.string().nullish()
8707
8716
  })
8708
8717
  });
8709
- var DTOPipelineUpdateBody = z268.object({
8710
- exporterId: z268.string().optional(),
8711
- name: z268.string().optional(),
8712
- isEnabled: z268.boolean().optional(),
8718
+ var DTOPipelineUpdateBody = z269.object({
8719
+ exporterId: z269.string().optional(),
8720
+ name: z269.string().optional(),
8721
+ isEnabled: z269.boolean().optional(),
8713
8722
  eventType: PipelineEventType.optional(),
8714
- brandPersistentId: z268.string().optional(),
8715
- themePersistentId: z268.string().optional(),
8716
- themePersistentIds: z268.string().array().optional(),
8723
+ brandPersistentId: z269.string().optional(),
8724
+ themePersistentId: z269.string().optional(),
8725
+ themePersistentIds: z269.string().array().optional(),
8717
8726
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
8718
8727
  destination: PipelineDestinationType.optional(),
8719
8728
  gitQuery: GitObjectsQuery.optional(),
8720
- destinations: z268.object({
8729
+ destinations: z269.object({
8721
8730
  s3: ExporterDestinationS3.nullish(),
8722
8731
  azure: ExporterDestinationAzure.nullish(),
8723
8732
  bitbucket: ExporterDestinationBitbucket.nullish(),
8724
8733
  github: ExporterDestinationGithub.nullish(),
8725
8734
  gitlab: ExporterDestinationGitlab.nullish(),
8726
8735
  documentation: ExporterDestinationDocs.nullish(),
8727
- webhookUrl: z268.string().nullish()
8736
+ webhookUrl: z269.string().nullish()
8728
8737
  }).optional(),
8729
8738
  gitDestinationOptions: GitDestinationOptions.partial().optional()
8730
8739
  });
8731
- var DTOPipelineTriggerBody = z268.object({
8732
- designSystemVersionId: z268.string()
8740
+ var DTOPipelineTriggerBody = z269.object({
8741
+ designSystemVersionId: z269.string()
8733
8742
  });
8734
8743
 
8735
8744
  // src/api/payloads/liveblocks/auth.ts
8736
- import { z as z269 } from "zod";
8737
- var DTOLiveblocksAuthRequest = z269.object({
8738
- room: z269.string().optional()
8745
+ import { z as z270 } from "zod";
8746
+ var DTOLiveblocksAuthRequest = z270.object({
8747
+ room: z270.string().optional()
8739
8748
  });
8740
8749
 
8741
8750
  // src/api/payloads/users/notifications/notification-settings.ts
8742
- import { z as z270 } from "zod";
8743
- var DTOUpdateUserNotificationSettingsPayload = z270.object({
8751
+ import { z as z271 } from "zod";
8752
+ var DTOUpdateUserNotificationSettingsPayload = z271.object({
8744
8753
  notificationSettings: UserNotificationSettings
8745
8754
  });
8746
- var DTOUserNotificationSettingsResponse = z270.object({
8747
- userId: z270.string(),
8748
- workspaceId: z270.string(),
8755
+ var DTOUserNotificationSettingsResponse = z271.object({
8756
+ userId: z271.string(),
8757
+ workspaceId: z271.string(),
8749
8758
  notificationSettings: UserNotificationSettings
8750
8759
  });
8751
8760
 
8752
8761
  // src/api/payloads/workspaces/workspace-configuration.ts
8753
- import { z as z271 } from "zod";
8762
+ import { z as z272 } from "zod";
8754
8763
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
8755
8764
  function validateSsoPayload(ssoPayload) {
8756
8765
  const keys = [];
@@ -8773,105 +8782,96 @@ function validateSsoPayload(ssoPayload) {
8773
8782
  keys
8774
8783
  };
8775
8784
  }
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({
8785
+ var NpmRegistryInput = z272.object({
8786
+ enabledScopes: z272.array(z272.string()),
8787
+ customRegistryUrl: z272.string().optional(),
8788
+ bypassProxy: z272.boolean().optional(),
8789
+ npmProxyRegistryConfigId: z272.string().optional(),
8790
+ npmProxyVersion: z272.number().optional(),
8791
+ registryType: z272.string(),
8792
+ authType: z272.string(),
8793
+ authHeaderName: z272.string(),
8794
+ authHeaderValue: z272.string(),
8795
+ accessToken: z272.string(),
8796
+ username: z272.string(),
8797
+ password: z272.string()
8798
+ });
8799
+ var WorkspaceConfigurationPayload = z272.object({
8791
8800
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
8792
8801
  sso: SsoProvider.partial().optional(),
8793
8802
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
8794
8803
  profile: WorkspaceProfile.partial().optional(),
8795
- aiFeaturesEnabled: z271.boolean().optional(),
8796
- projectsEnabled: z271.boolean().optional(),
8804
+ aiFeaturesEnabled: z272.boolean().optional(),
8805
+ projectsEnabled: z272.boolean().optional(),
8797
8806
  defaultProjectAccessMode: WorkspaceDefaultProjectAccessMode.optional(),
8798
8807
  defaultProjectRole: WorkspaceDefaultProjectRole.optional(),
8799
- aiAskFeaturesEnabled: z271.boolean().optional(),
8800
- aiCustomInstruction: z271.string().optional()
8808
+ aiAskFeaturesEnabled: z272.boolean().optional(),
8809
+ aiCustomInstruction: z272.string().optional()
8801
8810
  });
8802
8811
 
8803
8812
  // 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({
8813
+ import { z as z273 } from "zod";
8814
+ var IntegrationOauthPlatform = z273.enum(["Desktop", "Browser"]);
8815
+ var IntegrationOauthCallbackState = z273.enum(["Success", "Error"]);
8816
+ var DTOWorkspaceIntegrationOauthInput = z273.object({
8808
8817
  type: IntegrationType,
8809
8818
  platform: IntegrationOauthPlatform.optional().default("Browser"),
8810
- authId: z272.string().optional()
8819
+ authId: z273.string().optional()
8811
8820
  // Allow FE client to distinguish between multiple parallel OAuth flows, useful for desktop where multiple flows can be initiated in parallel
8812
8821
  });
8813
- var DTOWorkspaceIntegrationPATInput = z272.object({
8822
+ var DTOWorkspaceIntegrationPATInput = z273.object({
8814
8823
  type: IntegrationType,
8815
8824
  token: IntegrationToken
8816
8825
  });
8817
- var DTOWorkspaceIntegrationGetGitObjectsInput = z272.object({
8818
- organization: z272.string().optional(),
8826
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z273.object({
8827
+ organization: z273.string().optional(),
8819
8828
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
8820
- project: z272.string().optional(),
8829
+ project: z273.string().optional(),
8821
8830
  // Only for Bitbucket and Azure
8822
- repository: z272.string().optional(),
8831
+ repository: z273.string().optional(),
8823
8832
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
8824
- branch: z272.string().optional(),
8833
+ branch: z273.string().optional(),
8825
8834
  // For all providers, useful for PR creations.
8826
- user: z272.string().optional()
8835
+ user: z273.string().optional()
8827
8836
  // Only for Gitlab User Repositories
8828
8837
  });
8829
8838
 
8830
8839
  // src/api/dto/design-systems/version.ts
8831
- var DTODesignSystemVersion = z273.object({
8832
- id: z273.string(),
8833
- createdAt: z273.coerce.date(),
8840
+ var DTODesignSystemVersion = z274.object({
8841
+ id: z274.string(),
8842
+ createdAt: z274.coerce.date(),
8834
8843
  meta: ObjectMeta,
8835
- version: z273.string(),
8836
- isReadonly: z273.boolean(),
8837
- changeLog: z273.string(),
8838
- designSystemId: z273.string()
8844
+ version: z274.string(),
8845
+ isReadonly: z274.boolean(),
8846
+ changeLog: z274.string(),
8847
+ designSystemId: z274.string()
8839
8848
  });
8840
- var DTODesignSystemVersionsListResponse = z273.object({
8841
- designSystemVersions: z273.array(DTODesignSystemVersion)
8849
+ var DTODesignSystemVersionsListResponse = z274.object({
8850
+ designSystemVersions: z274.array(DTODesignSystemVersion)
8842
8851
  });
8843
- var DTODesignSystemVersionGetResponse = z273.object({
8852
+ var DTODesignSystemVersionGetResponse = z274.object({
8844
8853
  designSystemVersion: DTODesignSystemVersion
8845
8854
  });
8846
- var DTODesignSystemVersionCreationResponse = z273.object({
8855
+ var DTODesignSystemVersionCreationResponse = z274.object({
8847
8856
  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(),
8857
+ version: z274.string(),
8858
+ changeLog: z274.string(),
8859
+ isReadOnly: z274.boolean(),
8860
+ designSystemId: z274.string(),
8861
+ jobId: z274.string()
8862
+ });
8863
+ var VersionSQSPayload = z274.object({
8864
+ jobId: z274.string(),
8865
+ designSystemId: z274.string(),
8857
8866
  input: DTOCreateVersionInput
8858
8867
  });
8859
- var DTODesignSystemVersionJobsResponse = z273.object({
8860
- jobs: z273.array(VersionCreationJob)
8868
+ var DTODesignSystemVersionJobsResponse = z274.object({
8869
+ jobs: z274.array(VersionCreationJob)
8861
8870
  });
8862
- var DTODesignSystemVersionJobStatusResponse = z273.object({
8871
+ var DTODesignSystemVersionJobStatusResponse = z274.object({
8863
8872
  job: VersionCreationJob
8864
8873
  });
8865
8874
 
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
8875
  // src/api/dto/design-systems/view.ts
8876
8876
  import { z as z275 } from "zod";
8877
8877
  var DTOElementViewColumnSharedAttributes = z275.object({
@@ -10724,8 +10724,8 @@ var DTOForgeFeatureRoomResponse = z324.object({
10724
10724
  // src/api/dto/forge/figma-node.ts
10725
10725
  import z325 from "zod";
10726
10726
  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;
10727
+ var DTOForgeFigmaNodeConversionVersion = z325.enum(["V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8"]);
10728
+ var ForgeFigmaNodeLatestVersion = DTOForgeFigmaNodeConversionVersion.enum.V8;
10729
10729
  var DTOForgeFigmaNodeOrigin = z325.object({
10730
10730
  /**
10731
10731
  * Figma file ID that was passed into the create request as a part of the Figma node URL