@supernova-studio/client 0.59.11 → 0.59.13

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
@@ -4380,7 +4380,8 @@ var DesignSystemVersionRoomUpdate = z151.object({
4380
4380
  groupSnapshotIdsToDelete: z151.array(z151.string()),
4381
4381
  pageHashesToUpdate: z151.record(z151.string(), z151.string()),
4382
4382
  pageApprovals: z151.array(DocumentationPageApproval),
4383
- pageApprovalIdsToDelete: z151.array(z151.string())
4383
+ pageApprovalIdsToDelete: z151.array(z151.string()),
4384
+ executedTransactionIds: z151.array(z151.string())
4384
4385
  });
4385
4386
  var DocumentationPageRoom = Entity.extend({
4386
4387
  designSystemVersionId: z152.string(),
@@ -5302,7 +5303,7 @@ var DTOPagination = z183.object({
5302
5303
  });
5303
5304
 
5304
5305
  // src/api/dto/bff/app-bootstrap-data.ts
5305
- import { z as z218 } from "zod";
5306
+ import { z as z219 } from "zod";
5306
5307
 
5307
5308
  // src/api/dto/design-systems/brand.ts
5308
5309
  import { z as z184 } from "zod";
@@ -5769,11 +5770,20 @@ var DTODesignSystemVersionStatsQuery = z198.object({
5769
5770
  brandId: z198.string().optional()
5770
5771
  });
5771
5772
 
5773
+ // src/api/dto/design-systems/version-room.ts
5774
+ import { z as z199 } from "zod";
5775
+ var DTODesignSystemVersionRoom = z199.object({
5776
+ id: z199.string()
5777
+ });
5778
+ var DTODesignSystemVersionRoomResponse = z199.object({
5779
+ room: DTODesignSystemVersionRoom
5780
+ });
5781
+
5772
5782
  // src/api/dto/design-systems/version.ts
5773
- import { z as z210 } from "zod";
5783
+ import { z as z211 } from "zod";
5774
5784
 
5775
5785
  // src/api/payloads/design-systems/update-design-system.ts
5776
- import { z as z199 } from "zod";
5786
+ import { z as z200 } from "zod";
5777
5787
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
5778
5788
  id: true,
5779
5789
  workspaceId: true,
@@ -5785,40 +5795,40 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
5785
5795
  }).extend({
5786
5796
  meta: ObjectMeta.partial().optional()
5787
5797
  });
5788
- var DTODesignSystemUpdateAccessModeInput = z199.object({
5798
+ var DTODesignSystemUpdateAccessModeInput = z200.object({
5789
5799
  accessMode: DesignSystemAccessMode,
5790
- retain: z199.object({
5791
- userIds: z199.string().array(),
5792
- inviteIds: z199.string().array()
5800
+ retain: z200.object({
5801
+ userIds: z200.string().array(),
5802
+ inviteIds: z200.string().array()
5793
5803
  }).optional()
5794
5804
  });
5795
5805
 
5796
5806
  // src/api/payloads/design-systems/version.ts
5797
- import { z as z200 } from "zod";
5798
- var ObjectMeta2 = z200.object({
5799
- name: z200.string().max(150).optional(),
5800
- description: z200.string().max(2e3).optional()
5807
+ import { z as z201 } from "zod";
5808
+ var ObjectMeta2 = z201.object({
5809
+ name: z201.string().max(150).optional(),
5810
+ description: z201.string().max(2e3).optional()
5801
5811
  });
5802
5812
  function validateDesignSystemVersion(version) {
5803
5813
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
5804
5814
  return urlCompliantRegex.test(version);
5805
5815
  }
5806
- var DTOCreateVersionInput = z200.object({
5816
+ var DTOCreateVersionInput = z201.object({
5807
5817
  meta: ObjectMeta2,
5808
- version: z200.string().refine(validateDesignSystemVersion, {
5818
+ version: z201.string().refine(validateDesignSystemVersion, {
5809
5819
  message: "Invalid semantic versioning format"
5810
5820
  }),
5811
- changeLog: z200.string().optional()
5821
+ changeLog: z201.string().optional()
5812
5822
  });
5813
- var DTOUpdateVersionInput = z200.object({
5823
+ var DTOUpdateVersionInput = z201.object({
5814
5824
  meta: ObjectMeta2,
5815
- version: z200.string(),
5825
+ version: z201.string(),
5816
5826
  // required for PUT, but not editable
5817
- changeLog: z200.string()
5827
+ changeLog: z201.string()
5818
5828
  });
5819
5829
 
5820
5830
  // src/api/payloads/documentation/block-definitions.ts
5821
- import { z as z201 } from "zod";
5831
+ import { z as z202 } from "zod";
5822
5832
 
5823
5833
  // src/api/dto/documentation/block-definition.ts
5824
5834
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -5830,70 +5840,70 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
5830
5840
  var DTOPageBlockDefinition = PageBlockDefinition;
5831
5841
 
5832
5842
  // src/api/payloads/documentation/block-definitions.ts
5833
- var DTOGetBlockDefinitionsOutput = z201.object({
5834
- definitions: z201.array(DTOPageBlockDefinition)
5843
+ var DTOGetBlockDefinitionsOutput = z202.object({
5844
+ definitions: z202.array(DTOPageBlockDefinition)
5835
5845
  });
5836
5846
 
5837
5847
  // src/api/payloads/documentation/design-data-doc-diff.ts
5838
- import { z as z202 } from "zod";
5839
- var DTODocumentationPublishTypeQueryParams = z202.object({
5840
- environment: z202.enum(["Live", "Preview"])
5848
+ import { z as z203 } from "zod";
5849
+ var DTODocumentationPublishTypeQueryParams = z203.object({
5850
+ environment: z203.enum(["Live", "Preview"])
5841
5851
  });
5842
5852
 
5843
5853
  // src/api/payloads/export/pipeline.ts
5844
- import { z as z204 } from "zod";
5854
+ import { z as z205 } from "zod";
5845
5855
 
5846
5856
  // src/api/dto/export/exporter-property.ts
5847
- import { z as z203 } from "zod";
5848
- var PrimitiveValue2 = z203.number().or(z203.boolean()).or(z203.string());
5849
- var ArrayValue2 = z203.array(z203.string());
5850
- var ObjectValue2 = z203.record(z203.string());
5857
+ import { z as z204 } from "zod";
5858
+ var PrimitiveValue2 = z204.number().or(z204.boolean()).or(z204.string());
5859
+ var ArrayValue2 = z204.array(z204.string());
5860
+ var ObjectValue2 = z204.record(z204.string());
5851
5861
  var DTOExporterPropertyDefinitionValue = PrimitiveValue2.or(ArrayValue2).or(ObjectValue2);
5852
- var DTOExporterPropertyType = z203.enum(["Enum", "Boolean", "String", "Number", "Array", "Object"]);
5853
- var PropertyDefinitionBase2 = z203.object({
5854
- key: z203.string(),
5855
- title: z203.string(),
5856
- description: z203.string(),
5857
- category: z203.string().optional(),
5858
- dependsOn: z203.record(z203.boolean()).optional()
5859
- });
5860
- var DTOExporterPropertyDefinitionEnumOption = z203.object({
5861
- label: z203.string(),
5862
- description: z203.string()
5862
+ var DTOExporterPropertyType = z204.enum(["Enum", "Boolean", "String", "Number", "Array", "Object"]);
5863
+ var PropertyDefinitionBase2 = z204.object({
5864
+ key: z204.string(),
5865
+ title: z204.string(),
5866
+ description: z204.string(),
5867
+ category: z204.string().optional(),
5868
+ dependsOn: z204.record(z204.boolean()).optional()
5869
+ });
5870
+ var DTOExporterPropertyDefinitionEnumOption = z204.object({
5871
+ label: z204.string(),
5872
+ description: z204.string()
5863
5873
  });
5864
5874
  var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase2.extend({
5865
- type: z203.literal(DTOExporterPropertyType.Enum.Enum),
5866
- options: z203.record(DTOExporterPropertyDefinitionEnumOption),
5867
- default: z203.string()
5875
+ type: z204.literal(DTOExporterPropertyType.Enum.Enum),
5876
+ options: z204.record(DTOExporterPropertyDefinitionEnumOption),
5877
+ default: z204.string()
5868
5878
  });
5869
5879
  var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase2.extend({
5870
- type: z203.literal(DTOExporterPropertyType.Enum.Boolean),
5871
- default: z203.boolean()
5880
+ type: z204.literal(DTOExporterPropertyType.Enum.Boolean),
5881
+ default: z204.boolean()
5872
5882
  });
5873
5883
  var DTOExporterPropertyDefinitionString = PropertyDefinitionBase2.extend({
5874
- type: z203.literal(DTOExporterPropertyType.Enum.String),
5875
- default: z203.string()
5884
+ type: z204.literal(DTOExporterPropertyType.Enum.String),
5885
+ default: z204.string()
5876
5886
  });
5877
5887
  var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase2.extend({
5878
- type: z203.literal(DTOExporterPropertyType.Enum.Number),
5879
- default: z203.number()
5888
+ type: z204.literal(DTOExporterPropertyType.Enum.Number),
5889
+ default: z204.number()
5880
5890
  });
5881
5891
  var DTOExporterPropertyDefinitionArray = PropertyDefinitionBase2.extend({
5882
- type: z203.literal(DTOExporterPropertyType.Enum.Array),
5892
+ type: z204.literal(DTOExporterPropertyType.Enum.Array),
5883
5893
  default: ArrayValue2
5884
5894
  });
5885
5895
  var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase2.extend({
5886
- type: z203.literal(DTOExporterPropertyType.Enum.Object),
5896
+ type: z204.literal(DTOExporterPropertyType.Enum.Object),
5887
5897
  default: ObjectValue2,
5888
- allowedKeys: z203.object({
5889
- options: z203.string().array(),
5890
- type: z203.string()
5898
+ allowedKeys: z204.object({
5899
+ options: z204.string().array(),
5900
+ type: z204.string()
5891
5901
  }).optional(),
5892
- allowedValues: z203.object({
5893
- type: z203.string()
5902
+ allowedValues: z204.object({
5903
+ type: z204.string()
5894
5904
  }).optional()
5895
5905
  });
5896
- var DTOExporterPropertyDefinition = z203.discriminatedUnion("type", [
5906
+ var DTOExporterPropertyDefinition = z204.discriminatedUnion("type", [
5897
5907
  DTOExporterPropertyDefinitionEnum,
5898
5908
  DTOExporterPropertyDefinitionBoolean,
5899
5909
  DTOExporterPropertyDefinitionString,
@@ -5901,73 +5911,73 @@ var DTOExporterPropertyDefinition = z203.discriminatedUnion("type", [
5901
5911
  DTOExporterPropertyDefinitionArray,
5902
5912
  DTOExporterPropertyDefinitionObject
5903
5913
  ]);
5904
- var DTOExporterPropertyDefinitionsResponse = z203.object({
5914
+ var DTOExporterPropertyDefinitionsResponse = z204.object({
5905
5915
  properties: DTOExporterPropertyDefinition.array()
5906
5916
  });
5907
- var DTOExporterPropertyDefinitionValueMap = z203.record(DTOExporterPropertyDefinitionValue);
5917
+ var DTOExporterPropertyDefinitionValueMap = z204.record(DTOExporterPropertyDefinitionValue);
5908
5918
 
5909
5919
  // src/api/payloads/export/pipeline.ts
5910
- var DTOPipelineCreateBody = z204.object({
5911
- name: z204.string(),
5912
- exporterId: z204.string(),
5913
- designSystemId: z204.string(),
5914
- isEnabled: z204.boolean(),
5920
+ var DTOPipelineCreateBody = z205.object({
5921
+ name: z205.string(),
5922
+ exporterId: z205.string(),
5923
+ designSystemId: z205.string(),
5924
+ isEnabled: z205.boolean(),
5915
5925
  eventType: PipelineEventType,
5916
- brandPersistentId: z204.string().optional(),
5917
- themePersistentId: z204.string().optional(),
5918
- themePersistentIds: z204.string().array().optional(),
5926
+ brandPersistentId: z205.string().optional(),
5927
+ themePersistentId: z205.string().optional(),
5928
+ themePersistentIds: z205.string().array().optional(),
5919
5929
  exporterConfigurationProperties: DTOExporterPropertyDefinitionValueMap.optional(),
5920
5930
  destination: PipelineDestinationType.optional(),
5921
5931
  gitQuery: GitObjectsQuery,
5922
- destinations: z204.object({
5932
+ destinations: z205.object({
5923
5933
  s3: ExporterDestinationS3.nullish(),
5924
5934
  azure: ExporterDestinationAzure.nullish(),
5925
5935
  bitbucket: ExporterDestinationBitbucket.nullish(),
5926
5936
  github: ExporterDestinationGithub.nullish(),
5927
5937
  gitlab: ExporterDestinationGitlab.nullish(),
5928
5938
  documentation: ExporterDestinationDocs.nullish(),
5929
- webhookUrl: z204.string().nullish()
5939
+ webhookUrl: z205.string().nullish()
5930
5940
  })
5931
5941
  });
5932
- var DTOPipelineUpdateBody = z204.object({
5933
- exporterId: z204.string().optional(),
5934
- name: z204.string().optional(),
5935
- isEnabled: z204.boolean().optional(),
5942
+ var DTOPipelineUpdateBody = z205.object({
5943
+ exporterId: z205.string().optional(),
5944
+ name: z205.string().optional(),
5945
+ isEnabled: z205.boolean().optional(),
5936
5946
  eventType: PipelineEventType.optional(),
5937
- brandPersistentId: z204.string().optional(),
5938
- themePersistentId: z204.string().optional(),
5939
- themePersistentIds: z204.string().array().optional(),
5947
+ brandPersistentId: z205.string().optional(),
5948
+ themePersistentId: z205.string().optional(),
5949
+ themePersistentIds: z205.string().array().optional(),
5940
5950
  exporterConfigurationProperties: DTOExporterPropertyDefinitionValueMap.optional(),
5941
5951
  destination: PipelineDestinationType.optional(),
5942
5952
  gitQuery: GitObjectsQuery.optional(),
5943
- destinations: z204.object({
5953
+ destinations: z205.object({
5944
5954
  s3: ExporterDestinationS3.nullish(),
5945
5955
  azure: ExporterDestinationAzure.nullish(),
5946
5956
  bitbucket: ExporterDestinationBitbucket.nullish(),
5947
5957
  github: ExporterDestinationGithub.nullish(),
5948
5958
  gitlab: ExporterDestinationGitlab.nullish(),
5949
5959
  documentation: ExporterDestinationDocs.nullish(),
5950
- webhookUrl: z204.string().nullish()
5960
+ webhookUrl: z205.string().nullish()
5951
5961
  }).optional()
5952
5962
  });
5953
- var DTOPipelineTriggerBody = z204.object({
5954
- designSystemVersionId: z204.string()
5963
+ var DTOPipelineTriggerBody = z205.object({
5964
+ designSystemVersionId: z205.string()
5955
5965
  });
5956
5966
 
5957
5967
  // src/api/payloads/liveblocks/auth.ts
5958
- import { z as z205 } from "zod";
5959
- var DTOLiveblocksAuthRequest = z205.object({
5960
- room: z205.string().optional()
5968
+ import { z as z206 } from "zod";
5969
+ var DTOLiveblocksAuthRequest = z206.object({
5970
+ room: z206.string().optional()
5961
5971
  });
5962
5972
 
5963
5973
  // src/api/payloads/users/notifications/notification-settings.ts
5964
- import { z as z206 } from "zod";
5965
- var DTOUpdateUserNotificationSettingsPayload = z206.object({
5974
+ import { z as z207 } from "zod";
5975
+ var DTOUpdateUserNotificationSettingsPayload = z207.object({
5966
5976
  notificationSettings: UserNotificationSettings
5967
5977
  });
5968
- var DTOUserNotificationSettingsResponse = z206.object({
5969
- userId: z206.string(),
5970
- workspaceId: z206.string(),
5978
+ var DTOUserNotificationSettingsResponse = z207.object({
5979
+ userId: z207.string(),
5980
+ workspaceId: z207.string(),
5971
5981
  notificationSettings: UserNotificationSettings
5972
5982
  });
5973
5983
 
@@ -5975,13 +5985,13 @@ var DTOUserNotificationSettingsResponse = z206.object({
5975
5985
  var DTOUserProfileUpdatePayload = UserProfileUpdate;
5976
5986
 
5977
5987
  // src/api/payloads/workspaces/transfer-ownership.ts
5978
- import { z as z207 } from "zod";
5979
- var DTOTransferOwnershipPayload = z207.object({
5980
- newOwnerId: z207.string()
5988
+ import { z as z208 } from "zod";
5989
+ var DTOTransferOwnershipPayload = z208.object({
5990
+ newOwnerId: z208.string()
5981
5991
  });
5982
5992
 
5983
5993
  // src/api/payloads/workspaces/workspace-configuration.ts
5984
- import { z as z208 } from "zod";
5994
+ import { z as z209 } from "zod";
5985
5995
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
5986
5996
  function validateSsoPayload(ssoPayload) {
5987
5997
  const keys = [];
@@ -6004,21 +6014,21 @@ function validateSsoPayload(ssoPayload) {
6004
6014
  keys
6005
6015
  };
6006
6016
  }
6007
- var NpmRegistryInput = z208.object({
6008
- enabledScopes: z208.array(z208.string()),
6009
- customRegistryUrl: z208.string().optional(),
6010
- bypassProxy: z208.boolean().optional(),
6011
- npmProxyRegistryConfigId: z208.string().optional(),
6012
- npmProxyVersion: z208.number().optional(),
6013
- registryType: z208.string(),
6014
- authType: z208.string(),
6015
- authHeaderName: z208.string(),
6016
- authHeaderValue: z208.string(),
6017
- accessToken: z208.string(),
6018
- username: z208.string(),
6019
- password: z208.string()
6020
- });
6021
- var WorkspaceConfigurationPayload = z208.object({
6017
+ var NpmRegistryInput = z209.object({
6018
+ enabledScopes: z209.array(z209.string()),
6019
+ customRegistryUrl: z209.string().optional(),
6020
+ bypassProxy: z209.boolean().optional(),
6021
+ npmProxyRegistryConfigId: z209.string().optional(),
6022
+ npmProxyVersion: z209.number().optional(),
6023
+ registryType: z209.string(),
6024
+ authType: z209.string(),
6025
+ authHeaderName: z209.string(),
6026
+ authHeaderValue: z209.string(),
6027
+ accessToken: z209.string(),
6028
+ username: z209.string(),
6029
+ password: z209.string()
6030
+ });
6031
+ var WorkspaceConfigurationPayload = z209.object({
6022
6032
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
6023
6033
  sso: SsoProvider.partial().optional(),
6024
6034
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
@@ -6026,218 +6036,218 @@ var WorkspaceConfigurationPayload = z208.object({
6026
6036
  });
6027
6037
 
6028
6038
  // src/api/payloads/workspaces/workspace-integrations.ts
6029
- import { z as z209 } from "zod";
6030
- var DTOWorkspaceIntegrationOauthInput = z209.object({
6039
+ import { z as z210 } from "zod";
6040
+ var DTOWorkspaceIntegrationOauthInput = z210.object({
6031
6041
  type: IntegrationType
6032
6042
  });
6033
- var DTOWorkspaceIntegrationPATInput = z209.object({
6034
- userId: z209.string(),
6043
+ var DTOWorkspaceIntegrationPATInput = z210.object({
6044
+ userId: z210.string(),
6035
6045
  type: IntegrationType,
6036
6046
  token: IntegrationToken
6037
6047
  });
6038
- var DTOWorkspaceIntegrationGetGitObjectsInput = z209.object({
6039
- organization: z209.string().optional(),
6048
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z210.object({
6049
+ organization: z210.string().optional(),
6040
6050
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
6041
- project: z209.string().optional(),
6051
+ project: z210.string().optional(),
6042
6052
  // Only for Bitbucket and Azure
6043
- repository: z209.string().optional(),
6053
+ repository: z210.string().optional(),
6044
6054
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
6045
- branch: z209.string().optional(),
6055
+ branch: z210.string().optional(),
6046
6056
  // For all providers, useful for PR creations.
6047
- user: z209.string().optional()
6057
+ user: z210.string().optional()
6048
6058
  // Only for Gitlab User Repositories
6049
6059
  });
6050
6060
 
6051
6061
  // src/api/dto/design-systems/version.ts
6052
- var DTODesignSystemVersion = z210.object({
6053
- id: z210.string(),
6054
- createdAt: z210.coerce.date(),
6062
+ var DTODesignSystemVersion = z211.object({
6063
+ id: z211.string(),
6064
+ createdAt: z211.coerce.date(),
6055
6065
  meta: ObjectMeta,
6056
- version: z210.string(),
6057
- isReadonly: z210.boolean(),
6058
- changeLog: z210.string(),
6059
- designSystemId: z210.string()
6066
+ version: z211.string(),
6067
+ isReadonly: z211.boolean(),
6068
+ changeLog: z211.string(),
6069
+ designSystemId: z211.string()
6060
6070
  });
6061
- var DTODesignSystemVersionsListResponse = z210.object({
6062
- designSystemVersions: z210.array(DTODesignSystemVersion)
6071
+ var DTODesignSystemVersionsListResponse = z211.object({
6072
+ designSystemVersions: z211.array(DTODesignSystemVersion)
6063
6073
  });
6064
- var DTODesignSystemVersionGetResponse = z210.object({
6074
+ var DTODesignSystemVersionGetResponse = z211.object({
6065
6075
  designSystemVersion: DTODesignSystemVersion
6066
6076
  });
6067
- var DTODesignSystemVersionCreationResponse = z210.object({
6077
+ var DTODesignSystemVersionCreationResponse = z211.object({
6068
6078
  meta: ObjectMeta,
6069
- version: z210.string(),
6070
- changeLog: z210.string(),
6071
- isReadOnly: z210.boolean(),
6072
- designSystemId: z210.string(),
6073
- jobId: z210.string()
6074
- });
6075
- var VersionSQSPayload = z210.object({
6076
- jobId: z210.string(),
6077
- designSystemId: z210.string(),
6079
+ version: z211.string(),
6080
+ changeLog: z211.string(),
6081
+ isReadOnly: z211.boolean(),
6082
+ designSystemId: z211.string(),
6083
+ jobId: z211.string()
6084
+ });
6085
+ var VersionSQSPayload = z211.object({
6086
+ jobId: z211.string(),
6087
+ designSystemId: z211.string(),
6078
6088
  input: DTOCreateVersionInput
6079
6089
  });
6080
- var DTODesignSystemVersionJobsResponse = z210.object({
6081
- jobs: z210.array(VersionCreationJob)
6090
+ var DTODesignSystemVersionJobsResponse = z211.object({
6091
+ jobs: z211.array(VersionCreationJob)
6082
6092
  });
6083
- var DTODesignSystemVersionJobStatusResponse = z210.object({
6093
+ var DTODesignSystemVersionJobStatusResponse = z211.object({
6084
6094
  job: VersionCreationJob
6085
6095
  });
6086
6096
 
6087
6097
  // src/api/dto/design-systems/view.ts
6088
- import { z as z211 } from "zod";
6089
- var DTOElementViewColumnSharedAttributes = z211.object({
6090
- id: z211.string(),
6091
- persistentId: z211.string(),
6092
- width: z211.number()
6098
+ import { z as z212 } from "zod";
6099
+ var DTOElementViewColumnSharedAttributes = z212.object({
6100
+ id: z212.string(),
6101
+ persistentId: z212.string(),
6102
+ width: z212.number()
6093
6103
  });
6094
6104
  var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
6095
- type: z211.literal("BaseProperty"),
6105
+ type: z212.literal("BaseProperty"),
6096
6106
  basePropertyType: ElementViewBaseColumnType
6097
6107
  });
6098
6108
  var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
6099
- type: z211.literal("PropertyDefinition"),
6100
- propertyDefinitionId: z211.string()
6109
+ type: z212.literal("PropertyDefinition"),
6110
+ propertyDefinitionId: z212.string()
6101
6111
  });
6102
6112
  var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
6103
- type: z211.literal("Theme"),
6104
- themeId: z211.string()
6113
+ type: z212.literal("Theme"),
6114
+ themeId: z212.string()
6105
6115
  });
6106
- var DTOElementViewColumn = z211.discriminatedUnion("type", [
6116
+ var DTOElementViewColumn = z212.discriminatedUnion("type", [
6107
6117
  DTOElementViewBasePropertyColumn,
6108
6118
  DTOElementViewPropertyDefinitionColumn,
6109
6119
  DTOElementViewThemeColumn
6110
6120
  ]);
6111
- var DTOElementView = z211.object({
6121
+ var DTOElementView = z212.object({
6112
6122
  meta: ObjectMeta,
6113
- persistentId: z211.string(),
6123
+ persistentId: z212.string(),
6114
6124
  targetElementType: ElementPropertyTargetType,
6115
- id: z211.string(),
6116
- isDefault: z211.boolean(),
6117
- columns: z211.array(DTOElementViewColumn)
6125
+ id: z212.string(),
6126
+ isDefault: z212.boolean(),
6127
+ columns: z212.array(DTOElementViewColumn)
6118
6128
  });
6119
- var DTOElementViewsListResponse = z211.object({
6120
- elementDataViews: z211.array(DTOElementView)
6129
+ var DTOElementViewsListResponse = z212.object({
6130
+ elementDataViews: z212.array(DTOElementView)
6121
6131
  });
6122
6132
 
6123
6133
  // src/api/dto/workspaces/git.ts
6124
- import { z as z212 } from "zod";
6125
- var DTOGitOrganization = z212.object({
6126
- id: z212.string(),
6127
- name: z212.string(),
6128
- url: z212.string(),
6129
- slug: z212.string()
6134
+ import { z as z213 } from "zod";
6135
+ var DTOGitOrganization = z213.object({
6136
+ id: z213.string(),
6137
+ name: z213.string(),
6138
+ url: z213.string(),
6139
+ slug: z213.string()
6130
6140
  });
6131
- var DTOGitProject = z212.object({
6132
- id: z212.string(),
6133
- name: z212.string(),
6134
- url: z212.string(),
6135
- slug: z212.string()
6141
+ var DTOGitProject = z213.object({
6142
+ id: z213.string(),
6143
+ name: z213.string(),
6144
+ url: z213.string(),
6145
+ slug: z213.string()
6136
6146
  });
6137
- var DTOGitRepository = z212.object({
6138
- id: z212.string(),
6139
- name: z212.string(),
6140
- url: z212.string(),
6141
- slug: z212.string(),
6142
- defaultBranch: z212.string().optional()
6147
+ var DTOGitRepository = z213.object({
6148
+ id: z213.string(),
6149
+ name: z213.string(),
6150
+ url: z213.string(),
6151
+ slug: z213.string(),
6152
+ defaultBranch: z213.string().optional()
6143
6153
  });
6144
- var DTOGitBranch = z212.object({
6145
- name: z212.string(),
6146
- lastCommitId: z212.string()
6154
+ var DTOGitBranch = z213.object({
6155
+ name: z213.string(),
6156
+ lastCommitId: z213.string()
6147
6157
  });
6148
6158
 
6149
6159
  // src/api/dto/workspaces/integrations.ts
6150
- import { z as z213 } from "zod";
6160
+ import { z as z214 } from "zod";
6151
6161
  var DTOIntegrationCredentials = IntegrationCredentials.omit({
6152
6162
  accessToken: true,
6153
6163
  refreshToken: true
6154
6164
  });
6155
- var DTOIntegration = z213.object({
6156
- id: z213.string(),
6157
- workspaceId: z213.string(),
6165
+ var DTOIntegration = z214.object({
6166
+ id: z214.string(),
6167
+ workspaceId: z214.string(),
6158
6168
  type: ExtendedIntegrationType,
6159
- createdAt: z213.coerce.date(),
6160
- integrationCredentials: z213.array(DTOIntegrationCredentials).optional(),
6161
- integrationDesignSystems: z213.array(IntegrationDesignSystem).optional()
6169
+ createdAt: z214.coerce.date(),
6170
+ integrationCredentials: z214.array(DTOIntegrationCredentials).optional(),
6171
+ integrationDesignSystems: z214.array(IntegrationDesignSystem).optional()
6162
6172
  });
6163
- var DTOIntegrationOAuthGetResponse = z213.object({
6164
- url: z213.string()
6173
+ var DTOIntegrationOAuthGetResponse = z214.object({
6174
+ url: z214.string()
6165
6175
  });
6166
- var DTOIntegrationPostResponse = z213.object({
6176
+ var DTOIntegrationPostResponse = z214.object({
6167
6177
  integration: DTOIntegration
6168
6178
  });
6169
- var DTOIntegrationsGetListResponse = z213.object({
6179
+ var DTOIntegrationsGetListResponse = z214.object({
6170
6180
  integrations: DTOIntegration.array()
6171
6181
  });
6172
6182
 
6173
6183
  // src/api/dto/workspaces/invitations.ts
6174
- import { z as z214 } from "zod";
6175
- var DTOWorkspaceInvitationInput = z214.object({
6176
- email: z214.string().email(),
6184
+ import { z as z215 } from "zod";
6185
+ var DTOWorkspaceInvitationInput = z215.object({
6186
+ email: z215.string().email(),
6177
6187
  role: WorkspaceRoleSchema
6178
6188
  });
6179
- var DTOWorkspaceInvitationsListInput = z214.object({
6189
+ var DTOWorkspaceInvitationsListInput = z215.object({
6180
6190
  invites: DTOWorkspaceInvitationInput.array().max(100),
6181
- designSystemId: z214.string().optional()
6191
+ designSystemId: z215.string().optional()
6182
6192
  });
6183
- var DTOWorkspaceInvitationsResponse = z214.object({
6193
+ var DTOWorkspaceInvitationsResponse = z215.object({
6184
6194
  invitations: WorkspaceInvitation.array()
6185
6195
  });
6186
- var DTOWorkspaceInviteUpdate = z214.object({
6196
+ var DTOWorkspaceInviteUpdate = z215.object({
6187
6197
  role: WorkspaceRoleSchema
6188
6198
  });
6189
- var DTOWorkspaceInvitationUpdateResponse = z214.object({
6199
+ var DTOWorkspaceInvitationUpdateResponse = z215.object({
6190
6200
  invitation: WorkspaceInvitation
6191
6201
  });
6192
6202
 
6193
6203
  // src/api/dto/workspaces/membership.ts
6194
- import { z as z217 } from "zod";
6204
+ import { z as z218 } from "zod";
6195
6205
 
6196
6206
  // src/api/dto/workspaces/workspace.ts
6197
- import { z as z216 } from "zod";
6207
+ import { z as z217 } from "zod";
6198
6208
 
6199
6209
  // src/api/dto/workspaces/npm-registry.ts
6200
- import { z as z215 } from "zod";
6210
+ import { z as z216 } from "zod";
6201
6211
  var DTONpmRegistryConfigConstants = {
6202
6212
  passwordPlaceholder: "redacted"
6203
6213
  };
6204
- var DTONpmRegistryConfig = z215.object({
6214
+ var DTONpmRegistryConfig = z216.object({
6205
6215
  // Registry basic configuration
6206
6216
  registryType: NpmRegistryType,
6207
- registryUrl: z215.string(),
6208
- customRegistryUrl: z215.string().optional(),
6217
+ registryUrl: z216.string(),
6218
+ customRegistryUrl: z216.string().optional(),
6209
6219
  // URL of Supernova NPM packages proxy
6210
- proxyUrl: z215.string(),
6220
+ proxyUrl: z216.string(),
6211
6221
  // Auth configuration
6212
6222
  authType: NpmRegistryAuthType,
6213
- accessToken: z215.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6214
- username: z215.string().optional(),
6215
- password: z215.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6223
+ accessToken: z216.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6224
+ username: z216.string().optional(),
6225
+ password: z216.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6216
6226
  // NPM package scopes for whih the proxy should be enabled
6217
- enabledScopes: z215.array(z215.string()),
6227
+ enabledScopes: z216.array(z216.string()),
6218
6228
  // True if client should bypass Supernova proxy and connect directly to the registry
6219
6229
  // (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
6220
- bypassProxy: z215.boolean()
6230
+ bypassProxy: z216.boolean()
6221
6231
  });
6222
6232
 
6223
6233
  // src/api/dto/workspaces/workspace.ts
6224
6234
  var DTOWorkspaceProfile = WorkspaceProfile;
6225
- var DTOWorkspace = z216.object({
6226
- id: z216.string(),
6235
+ var DTOWorkspace = z217.object({
6236
+ id: z217.string(),
6227
6237
  profile: DTOWorkspaceProfile,
6228
6238
  subscription: Subscription,
6229
6239
  npmRegistry: DTONpmRegistryConfig.optional()
6230
6240
  });
6231
- var DTOWorkspaceCreateInput = z216.object({
6232
- name: z216.string()
6241
+ var DTOWorkspaceCreateInput = z217.object({
6242
+ name: z217.string()
6233
6243
  });
6234
- var DTOWorkspaceResponse = z216.object({
6244
+ var DTOWorkspaceResponse = z217.object({
6235
6245
  workspace: DTOWorkspace
6236
6246
  });
6237
6247
 
6238
6248
  // src/api/dto/workspaces/membership.ts
6239
- var DTOWorkspaceRole = z217.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
6240
- var DTOUserWorkspaceMembership = z217.object({
6249
+ var DTOWorkspaceRole = z218.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
6250
+ var DTOUserWorkspaceMembership = z218.object({
6241
6251
  // Workspace the user is a member of
6242
6252
  workspace: DTOWorkspace,
6243
6253
  // Assigned role the user has in the workspace
@@ -6247,26 +6257,26 @@ var DTOUserWorkspaceMembership = z217.object({
6247
6257
  // when a workspace's subscription is downgraded to free tier
6248
6258
  effectiveRole: DTOWorkspaceRole
6249
6259
  });
6250
- var DTOWorkspaceMember = z217.object({
6260
+ var DTOWorkspaceMember = z218.object({
6251
6261
  user: User,
6252
6262
  role: WorkspaceRoleSchema,
6253
6263
  effectiveRole: WorkspaceRoleSchema
6254
6264
  });
6255
- var DTOUserWorkspaceMembershipsResponse = z217.object({
6256
- membership: z217.array(DTOUserWorkspaceMembership)
6265
+ var DTOUserWorkspaceMembershipsResponse = z218.object({
6266
+ membership: z218.array(DTOUserWorkspaceMembership)
6257
6267
  });
6258
- var DTOWorkspaceMembersListResponse = z217.object({
6259
- members: z217.array(DTOWorkspaceMember)
6268
+ var DTOWorkspaceMembersListResponse = z218.object({
6269
+ members: z218.array(DTOWorkspaceMember)
6260
6270
  });
6261
6271
 
6262
6272
  // src/api/dto/bff/app-bootstrap-data.ts
6263
- var DTOAppBootstrapDataQuery = z218.object({
6264
- preferredWorkspaceId: z218.string().optional(),
6265
- preferredDesignSystemId: z218.string().optional(),
6266
- preferredVersionId: z218.string().optional(),
6267
- preferredBrandId: z218.string().optional()
6273
+ var DTOAppBootstrapDataQuery = z219.object({
6274
+ preferredWorkspaceId: z219.string().optional(),
6275
+ preferredDesignSystemId: z219.string().optional(),
6276
+ preferredVersionId: z219.string().optional(),
6277
+ preferredBrandId: z219.string().optional()
6268
6278
  });
6269
- var DTOAppBootstrapDataResponse = z218.object({
6279
+ var DTOAppBootstrapDataResponse = z219.object({
6270
6280
  workspaceMembership: DTOUserWorkspaceMembership.optional(),
6271
6281
  designSystem: DTODesignSystem.optional(),
6272
6282
  version: DTODesignSystemVersion.optional(),
@@ -6274,88 +6284,88 @@ var DTOAppBootstrapDataResponse = z218.object({
6274
6284
  });
6275
6285
 
6276
6286
  // src/api/dto/collections/token-collection.ts
6277
- import { z as z219 } from "zod";
6278
- var DTOTokenCollection = z219.object({
6279
- id: z219.string(),
6280
- persistentId: z219.string(),
6281
- designSystemVersionId: z219.string(),
6287
+ import { z as z220 } from "zod";
6288
+ var DTOTokenCollection = z220.object({
6289
+ id: z220.string(),
6290
+ persistentId: z220.string(),
6291
+ designSystemVersionId: z220.string(),
6282
6292
  meta: ObjectMeta,
6283
6293
  backgroundColor: ColorTokenInlineData.optional(),
6284
- elementPropertyOptionId: z219.string(),
6285
- createdAt: z219.coerce.date(),
6286
- updatedAt: z219.coerce.date(),
6294
+ elementPropertyOptionId: z220.string(),
6295
+ createdAt: z220.coerce.date(),
6296
+ updatedAt: z220.coerce.date(),
6287
6297
  origin: CollectionOrigin.optional()
6288
6298
  });
6289
- var DTOTokenCollectionsListReponse = z219.object({
6299
+ var DTOTokenCollectionsListReponse = z220.object({
6290
6300
  collections: DTOTokenCollection.array()
6291
6301
  });
6292
6302
 
6293
6303
  // src/api/dto/design-tokens/design-token.ts
6294
- import { z as z220 } from "zod";
6304
+ import { z as z221 } from "zod";
6295
6305
  var DTODesignToken = DesignTokenTypedData.and(
6296
- z220.object({
6297
- id: z220.string(),
6298
- persistentId: z220.string(),
6299
- designSystemVersionId: z220.string(),
6306
+ z221.object({
6307
+ id: z221.string(),
6308
+ persistentId: z221.string(),
6309
+ designSystemVersionId: z221.string(),
6300
6310
  meta: ObjectMeta,
6301
6311
  originStyle: DesignTokenOrigin.optional(),
6302
- brandId: z220.string(),
6303
- collectionId: z220.string().optional(),
6304
- updatedAt: z220.coerce.date()
6312
+ brandId: z221.string(),
6313
+ collectionId: z221.string().optional(),
6314
+ updatedAt: z221.coerce.date()
6305
6315
  })
6306
6316
  );
6307
- var DTODesignTokenListResponse = z220.object({
6317
+ var DTODesignTokenListResponse = z221.object({
6308
6318
  tokens: DTODesignToken.array()
6309
6319
  });
6310
- var DTODesignTokenResponse = z220.object({
6320
+ var DTODesignTokenResponse = z221.object({
6311
6321
  token: DTODesignToken
6312
6322
  });
6313
- var DTODesignTokenGroup = z220.object({
6314
- id: z220.string(),
6323
+ var DTODesignTokenGroup = z221.object({
6324
+ id: z221.string(),
6315
6325
  tokenType: DesignTokenType,
6316
- persistentId: z220.string(),
6317
- isRoot: z220.boolean(),
6318
- brandId: z220.string(),
6326
+ persistentId: z221.string(),
6327
+ isRoot: z221.boolean(),
6328
+ brandId: z221.string(),
6319
6329
  meta: ObjectMeta,
6320
- childrenIds: z220.string().array()
6330
+ childrenIds: z221.string().array()
6321
6331
  });
6322
- var DTODesignTokenGroupListResponse = z220.object({
6332
+ var DTODesignTokenGroupListResponse = z221.object({
6323
6333
  groups: DTODesignTokenGroup.array()
6324
6334
  });
6325
- var DTODesignTokenGroupResponse = z220.object({
6335
+ var DTODesignTokenGroupResponse = z221.object({
6326
6336
  group: DTODesignTokenGroup
6327
6337
  });
6328
6338
  var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
6329
- z220.object({
6330
- persistentId: z220.string(),
6339
+ z221.object({
6340
+ persistentId: z221.string(),
6331
6341
  meta: ObjectMeta,
6332
- brandId: z220.string(),
6333
- groupPersistentId: z220.string().optional()
6342
+ brandId: z221.string(),
6343
+ groupPersistentId: z221.string().optional()
6334
6344
  })
6335
6345
  );
6336
- var DTODesignTokenGroupCreatePayload = z220.object({
6337
- persistentId: z220.string(),
6346
+ var DTODesignTokenGroupCreatePayload = z221.object({
6347
+ persistentId: z221.string(),
6338
6348
  meta: ObjectMeta,
6339
- brandId: z220.string(),
6340
- parentId: z220.string().optional(),
6349
+ brandId: z221.string(),
6350
+ parentId: z221.string().optional(),
6341
6351
  tokenType: DesignTokenType,
6342
- childrenIds: z220.string().array()
6352
+ childrenIds: z221.string().array()
6343
6353
  });
6344
6354
 
6345
6355
  // src/api/dto/documentation/anchor.ts
6346
- import { z as z221 } from "zod";
6356
+ import { z as z222 } from "zod";
6347
6357
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
6348
- var DTOGetDocumentationPageAnchorsResponse = z221.object({
6349
- anchors: z221.array(DTODocumentationPageAnchor)
6358
+ var DTOGetDocumentationPageAnchorsResponse = z222.object({
6359
+ anchors: z222.array(DTODocumentationPageAnchor)
6350
6360
  });
6351
6361
 
6352
6362
  // src/api/dto/documentation/approvals.ts
6353
- import { z as z222 } from "zod";
6363
+ import { z as z223 } from "zod";
6354
6364
  var DTODocumentationPageApprovalState = DocumentationPageApproval;
6355
- var DTODocumentationGroupApprovalState = z222.object({
6356
- persistentId: z222.string(),
6357
- groupId: z222.string(),
6358
- designSystemVersionId: z222.string(),
6365
+ var DTODocumentationGroupApprovalState = z223.object({
6366
+ persistentId: z223.string(),
6367
+ groupId: z223.string(),
6368
+ designSystemVersionId: z223.string(),
6359
6369
  approvalState: DocumentationPageApprovalState
6360
6370
  });
6361
6371
 
@@ -6363,68 +6373,68 @@ var DTODocumentationGroupApprovalState = z222.object({
6363
6373
  var DTOPageBlockItemV2 = PageBlockItemV2;
6364
6374
 
6365
6375
  // src/api/dto/documentation/documentation-page-snapshot.ts
6366
- import { z as z227 } from "zod";
6376
+ import { z as z228 } from "zod";
6367
6377
 
6368
6378
  // src/api/dto/elements/documentation/page-v2.ts
6369
- import { z as z226 } from "zod";
6379
+ import { z as z227 } from "zod";
6370
6380
 
6371
6381
  // src/api/dto/elements/documentation/draft-state.ts
6372
- import { z as z224 } from "zod";
6382
+ import { z as z225 } from "zod";
6373
6383
 
6374
6384
  // src/api/dto/elements/documentation/item-configuration-v2.ts
6375
- import { z as z223 } from "zod";
6385
+ import { z as z224 } from "zod";
6376
6386
  var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
6377
- var DTODocumentationItemConfigurationV2 = z223.object({
6378
- showSidebar: z223.boolean(),
6379
- isPrivate: z223.boolean(),
6380
- isHidden: z223.boolean(),
6387
+ var DTODocumentationItemConfigurationV2 = z224.object({
6388
+ showSidebar: z224.boolean(),
6389
+ isPrivate: z224.boolean(),
6390
+ isHidden: z224.boolean(),
6381
6391
  header: DTODocumentationItemHeaderV2
6382
6392
  });
6383
6393
 
6384
6394
  // src/api/dto/elements/documentation/draft-state.ts
6385
- var DTODocumentationDraftChangeType = z224.enum(["Created", "Updated", "Deleted"]);
6386
- var DTODocumentationDraftStateCreated = z224.object({
6387
- changeType: z224.literal(DTODocumentationDraftChangeType.enum.Created)
6388
- });
6389
- var DTODocumentationDraftStateUpdated = z224.object({
6390
- changeType: z224.literal(DTODocumentationDraftChangeType.enum.Updated),
6391
- changes: z224.object({
6392
- previousTitle: z224.string().optional(),
6395
+ var DTODocumentationDraftChangeType = z225.enum(["Created", "Updated", "Deleted"]);
6396
+ var DTODocumentationDraftStateCreated = z225.object({
6397
+ changeType: z225.literal(DTODocumentationDraftChangeType.enum.Created)
6398
+ });
6399
+ var DTODocumentationDraftStateUpdated = z225.object({
6400
+ changeType: z225.literal(DTODocumentationDraftChangeType.enum.Updated),
6401
+ changes: z225.object({
6402
+ previousTitle: z225.string().optional(),
6393
6403
  previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
6394
- previousContentHash: z224.string().optional()
6404
+ previousContentHash: z225.string().optional()
6395
6405
  })
6396
6406
  });
6397
- var DTODocumentationDraftStateDeleted = z224.object({
6398
- changeType: z224.literal(DTODocumentationDraftChangeType.enum.Deleted),
6399
- deletedAt: z224.coerce.date(),
6400
- deletedByUserId: z224.string()
6407
+ var DTODocumentationDraftStateDeleted = z225.object({
6408
+ changeType: z225.literal(DTODocumentationDraftChangeType.enum.Deleted),
6409
+ deletedAt: z225.coerce.date(),
6410
+ deletedByUserId: z225.string()
6401
6411
  });
6402
- var DTODocumentationDraftState = z224.discriminatedUnion("changeType", [
6412
+ var DTODocumentationDraftState = z225.discriminatedUnion("changeType", [
6403
6413
  DTODocumentationDraftStateCreated,
6404
6414
  DTODocumentationDraftStateUpdated,
6405
6415
  DTODocumentationDraftStateDeleted
6406
6416
  ]);
6407
6417
 
6408
6418
  // src/api/dto/elements/documentation/metadata.ts
6409
- import { z as z225 } from "zod";
6410
- var DTODocumentationPublishMetadata = z225.object({
6411
- lastPublishedByUserId: z225.string(),
6412
- lastPublishedAt: z225.coerce.date()
6419
+ import { z as z226 } from "zod";
6420
+ var DTODocumentationPublishMetadata = z226.object({
6421
+ lastPublishedByUserId: z226.string(),
6422
+ lastPublishedAt: z226.coerce.date()
6413
6423
  });
6414
6424
 
6415
6425
  // src/api/dto/elements/documentation/page-v2.ts
6416
- var DTODocumentationPageV2 = z226.object({
6417
- id: z226.string(),
6418
- persistentId: z226.string(),
6419
- designSystemVersionId: z226.string(),
6420
- title: z226.string(),
6426
+ var DTODocumentationPageV2 = z227.object({
6427
+ id: z227.string(),
6428
+ persistentId: z227.string(),
6429
+ designSystemVersionId: z227.string(),
6430
+ title: z227.string(),
6421
6431
  configuration: DTODocumentationItemConfigurationV2,
6422
- shortPersistentId: z226.string(),
6423
- slug: z226.string().optional(),
6424
- userSlug: z226.string().optional(),
6425
- createdAt: z226.coerce.date(),
6426
- updatedAt: z226.coerce.date(),
6427
- path: z226.string(),
6432
+ shortPersistentId: z227.string(),
6433
+ slug: z227.string().optional(),
6434
+ userSlug: z227.string().optional(),
6435
+ createdAt: z227.coerce.date(),
6436
+ updatedAt: z227.coerce.date(),
6437
+ path: z227.string(),
6428
6438
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6429
6439
  draftState: DTODocumentationDraftState.optional(),
6430
6440
  /** Defined if a page was published at least once and contains metadata about last publish */
@@ -6432,226 +6442,226 @@ var DTODocumentationPageV2 = z226.object({
6432
6442
  /** Defines the approval state of the documentation page */
6433
6443
  approvalState: DTODocumentationPageApprovalState.optional(),
6434
6444
  /** Id of the page document room */
6435
- liveblocksRoomId: z226.string().optional(),
6445
+ liveblocksRoomId: z227.string().optional(),
6436
6446
  // Backward compatibility
6437
- type: z226.literal("Page")
6447
+ type: z227.literal("Page")
6438
6448
  });
6439
- var DTOCreateDocumentationPageInputV2 = z226.object({
6449
+ var DTOCreateDocumentationPageInputV2 = z227.object({
6440
6450
  // Identifier
6441
- persistentId: z226.string(),
6451
+ persistentId: z227.string(),
6442
6452
  // Page properties
6443
- title: z226.string(),
6453
+ title: z227.string(),
6444
6454
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6445
6455
  // Page placement properties
6446
- parentPersistentId: z226.string(),
6447
- afterPersistentId: z226.string().nullish()
6456
+ parentPersistentId: z227.string(),
6457
+ afterPersistentId: z227.string().nullish()
6448
6458
  });
6449
- var DTOUpdateDocumentationPageInputV2 = z226.object({
6459
+ var DTOUpdateDocumentationPageInputV2 = z227.object({
6450
6460
  // Identifier of the group to update
6451
- id: z226.string(),
6461
+ id: z227.string(),
6452
6462
  // Page properties
6453
- title: z226.string().optional(),
6463
+ title: z227.string().optional(),
6454
6464
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
6455
6465
  });
6456
- var DTOMoveDocumentationPageInputV2 = z226.object({
6466
+ var DTOMoveDocumentationPageInputV2 = z227.object({
6457
6467
  // Identifier of the group to update
6458
- id: z226.string(),
6468
+ id: z227.string(),
6459
6469
  // Page placement properties
6460
- parentPersistentId: z226.string(),
6461
- afterPersistentId: z226.string().nullish()
6470
+ parentPersistentId: z227.string(),
6471
+ afterPersistentId: z227.string().nullish()
6462
6472
  });
6463
- var DTODuplicateDocumentationPageInputV2 = z226.object({
6473
+ var DTODuplicateDocumentationPageInputV2 = z227.object({
6464
6474
  // Identifier of the page to duplicate from
6465
- id: z226.string(),
6475
+ id: z227.string(),
6466
6476
  // New page persistent id
6467
- persistentId: z226.string(),
6477
+ persistentId: z227.string(),
6468
6478
  // Page placement properties
6469
- parentPersistentId: z226.string(),
6470
- afterPersistentId: z226.string().nullish()
6479
+ parentPersistentId: z227.string(),
6480
+ afterPersistentId: z227.string().nullish()
6471
6481
  });
6472
- var DTODeleteDocumentationPageInputV2 = z226.object({
6482
+ var DTODeleteDocumentationPageInputV2 = z227.object({
6473
6483
  // Identifier
6474
- id: z226.string()
6484
+ id: z227.string()
6475
6485
  });
6476
- var DTORestoreDocumentationPageInput = z226.object({
6477
- persistentId: z226.string(),
6478
- snapshotId: z226.string().optional()
6486
+ var DTORestoreDocumentationPageInput = z227.object({
6487
+ persistentId: z227.string(),
6488
+ snapshotId: z227.string().optional()
6479
6489
  });
6480
- var DTORestoreDocumentationGroupInput = z226.object({
6481
- persistentId: z226.string(),
6482
- snapshotId: z226.string().optional()
6490
+ var DTORestoreDocumentationGroupInput = z227.object({
6491
+ persistentId: z227.string(),
6492
+ snapshotId: z227.string().optional()
6483
6493
  });
6484
- var DTODocumentationPageApprovalStateChangeInput = z226.object({
6485
- persistentId: z226.string(),
6494
+ var DTODocumentationPageApprovalStateChangeInput = z227.object({
6495
+ persistentId: z227.string(),
6486
6496
  approvalState: DocumentationPageApprovalState.optional()
6487
6497
  });
6488
6498
 
6489
6499
  // src/api/dto/documentation/documentation-page-snapshot.ts
6490
- var DTODocumentationPageSnapshot = z227.object({
6491
- id: z227.string(),
6492
- designSystemVersionId: z227.string(),
6493
- createdAt: z227.string(),
6494
- updatedAt: z227.string(),
6500
+ var DTODocumentationPageSnapshot = z228.object({
6501
+ id: z228.string(),
6502
+ designSystemVersionId: z228.string(),
6503
+ createdAt: z228.string(),
6504
+ updatedAt: z228.string(),
6495
6505
  documentationPage: DTODocumentationPageV2,
6496
- pageContentHash: z227.string(),
6506
+ pageContentHash: z228.string(),
6497
6507
  reason: DesignElementSnapshotReason
6498
6508
  });
6499
6509
 
6500
6510
  // src/api/dto/documentation/link-preview.ts
6501
- import { z as z228 } from "zod";
6502
- var DTODocumentationLinkPreviewResponse = z228.object({
6511
+ import { z as z229 } from "zod";
6512
+ var DTODocumentationLinkPreviewResponse = z229.object({
6503
6513
  linkPreview: DocumentationLinkPreview
6504
6514
  });
6505
- var DTODocumentationLinkPreviewRequest = z228.object({
6506
- url: z228.string().optional(),
6507
- documentationItemPersistentId: z228.string().optional()
6515
+ var DTODocumentationLinkPreviewRequest = z229.object({
6516
+ url: z229.string().optional(),
6517
+ documentationItemPersistentId: z229.string().optional()
6508
6518
  });
6509
6519
 
6510
6520
  // src/api/dto/documentation/publish.ts
6511
- import { z as z232 } from "zod";
6521
+ import { z as z233 } from "zod";
6512
6522
 
6513
6523
  // src/api/dto/export/exporter.ts
6514
- import { z as z229 } from "zod";
6515
- var DTOExporterType = z229.enum(["documentation", "code"]);
6516
- var DTOExporterSource = z229.enum(["git", "upload"]);
6517
- var DTOExporterMembershipRole = z229.enum(["Owner", "OwnerArchived", "User"]);
6518
- var DTOExporterListQuery = z229.object({
6519
- limit: z229.coerce.number().optional()
6520
- });
6521
- var DTOExporter = z229.object({
6522
- id: z229.string(),
6523
- name: z229.string(),
6524
- isPrivate: z229.boolean(),
6524
+ import { z as z230 } from "zod";
6525
+ var DTOExporterType = z230.enum(["documentation", "code"]);
6526
+ var DTOExporterSource = z230.enum(["git", "upload"]);
6527
+ var DTOExporterMembershipRole = z230.enum(["Owner", "OwnerArchived", "User"]);
6528
+ var DTOExporterListQuery = z230.object({
6529
+ limit: z230.coerce.number().optional()
6530
+ });
6531
+ var DTOExporter = z230.object({
6532
+ id: z230.string(),
6533
+ name: z230.string(),
6534
+ isPrivate: z230.boolean(),
6525
6535
  exporterType: DTOExporterType,
6526
- isDefaultDocumentationExporter: z229.boolean(),
6527
- iconURL: z229.string().optional(),
6536
+ isDefaultDocumentationExporter: z230.boolean(),
6537
+ iconURL: z230.string().optional(),
6528
6538
  configurationProperties: PulsarContributionConfigurationProperty.array(),
6529
6539
  properties: DTOExporterPropertyDefinition.array().optional(),
6530
6540
  customBlocks: PulsarCustomBlock.array(),
6531
- blockVariants: z229.record(z229.string(), PulsarContributionVariant.array()),
6532
- usesBrands: z229.boolean(),
6533
- usesThemes: z229.boolean(),
6541
+ blockVariants: z230.record(z230.string(), PulsarContributionVariant.array()),
6542
+ usesBrands: z230.boolean(),
6543
+ usesThemes: z230.boolean(),
6534
6544
  source: DTOExporterSource,
6535
- gitUrl: nullishToOptional(z229.string()),
6536
- gitBranch: nullishToOptional(z229.string()),
6537
- gitDirectory: nullishToOptional(z229.string())
6545
+ gitUrl: nullishToOptional(z230.string()),
6546
+ gitBranch: nullishToOptional(z230.string()),
6547
+ gitDirectory: nullishToOptional(z230.string())
6538
6548
  });
6539
- var DTOExporterMembership = z229.object({
6540
- workspaceId: z229.string(),
6541
- exporterId: z229.string(),
6549
+ var DTOExporterMembership = z230.object({
6550
+ workspaceId: z230.string(),
6551
+ exporterId: z230.string(),
6542
6552
  role: DTOExporterMembershipRole
6543
6553
  });
6544
- var DTOExporterResponse = z229.object({
6554
+ var DTOExporterResponse = z230.object({
6545
6555
  exporter: DTOExporter,
6546
6556
  membership: DTOExporterMembership
6547
6557
  });
6548
- var DTOExporterListResponse = z229.object({
6558
+ var DTOExporterListResponse = z230.object({
6549
6559
  exporters: DTOExporter.array(),
6550
6560
  membership: DTOExporterMembership.array()
6551
6561
  });
6552
- var DTOExporterGitProviderEnum = z229.enum(["github", "gitlab", "bitbucket", "azure"]);
6553
- var DTOExporterCreateInput = z229.object({
6554
- url: z229.string(),
6562
+ var DTOExporterGitProviderEnum = z230.enum(["github", "gitlab", "bitbucket", "azure"]);
6563
+ var DTOExporterCreateInput = z230.object({
6564
+ url: z230.string(),
6555
6565
  provider: DTOExporterGitProviderEnum
6556
6566
  });
6557
- var DTOExporterUpdateInput = z229.object({
6558
- url: z229.string().optional()
6567
+ var DTOExporterUpdateInput = z230.object({
6568
+ url: z230.string().optional()
6559
6569
  });
6560
6570
 
6561
6571
  // src/api/dto/export/filter.ts
6562
6572
  var DTOExportJobsListFilter = ExportJobFindByFilter;
6563
6573
 
6564
6574
  // src/api/dto/export/job.ts
6565
- import { z as z230 } from "zod";
6566
- var DTOExportJobCreatedBy = z230.object({
6567
- userId: z230.string(),
6568
- userName: z230.string()
6575
+ import { z as z231 } from "zod";
6576
+ var DTOExportJobCreatedBy = z231.object({
6577
+ userId: z231.string(),
6578
+ userName: z231.string()
6569
6579
  });
6570
- var DTOExportJobDesignSystemPreview = z230.object({
6571
- id: z230.string(),
6580
+ var DTOExportJobDesignSystemPreview = z231.object({
6581
+ id: z231.string(),
6572
6582
  meta: ObjectMeta
6573
6583
  });
6574
- var DTOExportJobDesignSystemVersionPreview = z230.object({
6575
- id: z230.string(),
6584
+ var DTOExportJobDesignSystemVersionPreview = z231.object({
6585
+ id: z231.string(),
6576
6586
  meta: ObjectMeta,
6577
- version: z230.string(),
6578
- isReadonly: z230.boolean()
6587
+ version: z231.string(),
6588
+ isReadonly: z231.boolean()
6579
6589
  });
6580
- var DTOExportJobDestinations = z230.object({
6590
+ var DTOExportJobDestinations = z231.object({
6581
6591
  s3: ExporterDestinationS3.optional(),
6582
6592
  azure: ExporterDestinationAzure.optional(),
6583
6593
  bitbucket: ExporterDestinationBitbucket.optional(),
6584
6594
  github: ExporterDestinationGithub.optional(),
6585
6595
  gitlab: ExporterDestinationGitlab.optional(),
6586
6596
  documentation: ExporterDestinationDocs.optional(),
6587
- webhookUrl: z230.string().optional()
6597
+ webhookUrl: z231.string().optional()
6588
6598
  });
6589
6599
  var DTOExportJobResult = ExportJobResult.omit({
6590
6600
  sndocs: true
6591
6601
  }).extend({
6592
6602
  documentation: ExportJobDocsDestinationResult.optional()
6593
6603
  });
6594
- var DTOExportJob = z230.object({
6595
- id: z230.string(),
6596
- createdAt: z230.coerce.date(),
6597
- finishedAt: z230.coerce.date().optional(),
6598
- index: z230.number().optional(),
6604
+ var DTOExportJob = z231.object({
6605
+ id: z231.string(),
6606
+ createdAt: z231.coerce.date(),
6607
+ finishedAt: z231.coerce.date().optional(),
6608
+ index: z231.number().optional(),
6599
6609
  status: ExportJobStatus,
6600
- estimatedExecutionTime: z230.number().optional(),
6610
+ estimatedExecutionTime: z231.number().optional(),
6601
6611
  createdBy: DTOExportJobCreatedBy.optional(),
6602
6612
  designSystem: DTOExportJobDesignSystemPreview,
6603
6613
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
6604
6614
  destinations: DTOExportJobDestinations,
6605
- exporterId: z230.string(),
6606
- scheduleId: z230.string().optional(),
6615
+ exporterId: z231.string(),
6616
+ scheduleId: z231.string().optional(),
6607
6617
  result: DTOExportJobResult.optional(),
6608
- brandPersistentId: z230.string().optional(),
6609
- themePersistentId: z230.string().optional(),
6610
- themePersistentIds: z230.string().array().optional(),
6618
+ brandPersistentId: z231.string().optional(),
6619
+ themePersistentId: z231.string().optional(),
6620
+ themePersistentIds: z231.string().array().optional(),
6611
6621
  exporterConfigurationProperties: DTOExporterPropertyDefinitionValueMap.optional()
6612
6622
  });
6613
- var DTOExportJobResponse = z230.object({
6623
+ var DTOExportJobResponse = z231.object({
6614
6624
  job: DTOExportJob
6615
6625
  });
6616
- var DTOExportJobResponseLegacy = z230.object({
6617
- job: z230.object({
6618
- id: z230.string(),
6626
+ var DTOExportJobResponseLegacy = z231.object({
6627
+ job: z231.object({
6628
+ id: z231.string(),
6619
6629
  status: ExportJobStatus
6620
6630
  })
6621
6631
  });
6622
6632
 
6623
6633
  // src/api/dto/export/pipeline.ts
6624
- import { z as z231 } from "zod";
6625
- var DTOPipelineListQuery = z231.object({
6626
- designSystemId: z231.string().optional(),
6627
- exporterId: z231.string().optional(),
6628
- latestJobsLimit: z231.coerce.number().optional()
6629
- });
6630
- var DTOPipeline = z231.object({
6631
- id: z231.string(),
6632
- name: z231.string(),
6634
+ import { z as z232 } from "zod";
6635
+ var DTOPipelineListQuery = z232.object({
6636
+ designSystemId: z232.string().optional(),
6637
+ exporterId: z232.string().optional(),
6638
+ latestJobsLimit: z232.coerce.number().optional()
6639
+ });
6640
+ var DTOPipeline = z232.object({
6641
+ id: z232.string(),
6642
+ name: z232.string(),
6633
6643
  eventType: PipelineEventType,
6634
- isEnabled: z231.boolean(),
6635
- workspaceId: z231.string(),
6636
- designSystemId: z231.string(),
6637
- exporterId: z231.string(),
6638
- brandPersistentId: z231.string().optional(),
6639
- themePersistentId: z231.string().optional(),
6640
- themePersistentIds: z231.string().array().optional(),
6644
+ isEnabled: z232.boolean(),
6645
+ workspaceId: z232.string(),
6646
+ designSystemId: z232.string(),
6647
+ exporterId: z232.string(),
6648
+ brandPersistentId: z232.string().optional(),
6649
+ themePersistentId: z232.string().optional(),
6650
+ themePersistentIds: z232.string().array().optional(),
6641
6651
  exporterConfigurationProperties: DTOExporterPropertyDefinitionValueMap.optional(),
6642
6652
  ...ExportDestinationsMap.shape,
6643
6653
  latestJobs: DTOExportJob.array()
6644
6654
  });
6645
- var DTOPipelineListResponse = z231.object({
6655
+ var DTOPipelineListResponse = z232.object({
6646
6656
  pipelines: DTOPipeline.array()
6647
6657
  });
6648
- var DTOPipelineResponse = z231.object({
6658
+ var DTOPipelineResponse = z232.object({
6649
6659
  pipeline: DTOPipeline
6650
6660
  });
6651
6661
 
6652
6662
  // src/api/dto/documentation/publish.ts
6653
6663
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
6654
- var DTOPublishDocumentationRequest = z232.object({
6664
+ var DTOPublishDocumentationRequest = z233.object({
6655
6665
  environment: PublishedDocEnvironment,
6656
6666
  /**
6657
6667
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -6659,66 +6669,66 @@ var DTOPublishDocumentationRequest = z232.object({
6659
6669
  */
6660
6670
  changes: DTOPublishDocumentationChanges.optional()
6661
6671
  });
6662
- var DTOPublishDocumentationResponse = z232.object({
6672
+ var DTOPublishDocumentationResponse = z233.object({
6663
6673
  job: DTOExportJob
6664
6674
  });
6665
6675
 
6666
6676
  // src/api/dto/documentation/room.ts
6667
- import { z as z233 } from "zod";
6668
- var DTODocumentationPageRoom = z233.object({
6669
- id: z233.string()
6677
+ import { z as z234 } from "zod";
6678
+ var DTODocumentationPageRoom = z234.object({
6679
+ id: z234.string()
6670
6680
  });
6671
- var DTODocumentationPageRoomResponse = z233.object({
6681
+ var DTODocumentationPageRoomResponse = z234.object({
6672
6682
  room: DTODocumentationPageRoom
6673
6683
  });
6674
6684
 
6675
6685
  // src/api/dto/elements/components/figma-component-group.ts
6676
- import z234 from "zod";
6677
- var DTOFigmaComponentGroup = z234.object({
6678
- id: z234.string(),
6679
- designSystemVersionId: z234.string(),
6680
- persistentId: z234.string(),
6681
- isRoot: z234.boolean(),
6682
- brandId: z234.string(),
6686
+ import z235 from "zod";
6687
+ var DTOFigmaComponentGroup = z235.object({
6688
+ id: z235.string(),
6689
+ designSystemVersionId: z235.string(),
6690
+ persistentId: z235.string(),
6691
+ isRoot: z235.boolean(),
6692
+ brandId: z235.string(),
6683
6693
  meta: DTOObjectMeta,
6684
- childrenIds: z234.string().array()
6694
+ childrenIds: z235.string().array()
6685
6695
  });
6686
- var DTOFigmaComponentGroupListResponse = z234.object({
6696
+ var DTOFigmaComponentGroupListResponse = z235.object({
6687
6697
  groups: DTOFigmaComponentGroup.array()
6688
6698
  });
6689
6699
 
6690
6700
  // src/api/dto/elements/components/figma-component.ts
6691
- import { z as z235 } from "zod";
6701
+ import { z as z236 } from "zod";
6692
6702
  var DTOFigmaComponentProperty = FigmaComponentProperty;
6693
- var DTOFigmaComponentPropertyMap = z235.record(DTOFigmaComponentProperty);
6694
- var DTOFigmaComponent = z235.object({
6695
- id: z235.string(),
6696
- persistentId: z235.string(),
6697
- designSystemVersionId: z235.string(),
6698
- brandId: z235.string(),
6699
- thumbnailUrl: z235.string().optional(),
6700
- svgUrl: z235.string().optional(),
6701
- exportProperties: z235.object({
6702
- isAsset: z235.boolean()
6703
+ var DTOFigmaComponentPropertyMap = z236.record(DTOFigmaComponentProperty);
6704
+ var DTOFigmaComponent = z236.object({
6705
+ id: z236.string(),
6706
+ persistentId: z236.string(),
6707
+ designSystemVersionId: z236.string(),
6708
+ brandId: z236.string(),
6709
+ thumbnailUrl: z236.string().optional(),
6710
+ svgUrl: z236.string().optional(),
6711
+ exportProperties: z236.object({
6712
+ isAsset: z236.boolean()
6703
6713
  }),
6704
- createdAt: z235.coerce.date(),
6705
- updatedAt: z235.coerce.date(),
6714
+ createdAt: z236.coerce.date(),
6715
+ updatedAt: z236.coerce.date(),
6706
6716
  meta: ObjectMeta,
6707
6717
  originComponent: FigmaComponentOrigin.optional(),
6708
- parentComponentPersistentId: z235.string().optional(),
6709
- childrenPersistentIds: z235.string().array().optional(),
6718
+ parentComponentPersistentId: z236.string().optional(),
6719
+ childrenPersistentIds: z236.string().array().optional(),
6710
6720
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
6711
- variantPropertyValues: z235.record(z235.string()).optional()
6721
+ variantPropertyValues: z236.record(z236.string()).optional()
6712
6722
  });
6713
- var DTOFigmaComponentListResponse = z235.object({
6723
+ var DTOFigmaComponentListResponse = z236.object({
6714
6724
  components: DTOFigmaComponent.array()
6715
6725
  });
6716
6726
 
6717
6727
  // src/api/dto/elements/documentation/group-action.ts
6718
- import { z as z237 } from "zod";
6728
+ import { z as z238 } from "zod";
6719
6729
 
6720
6730
  // src/api/dto/elements/documentation/group-v2.ts
6721
- import { z as z236 } from "zod";
6731
+ import { z as z237 } from "zod";
6722
6732
  var DTODocumentationGroupV2 = ElementGroup.omit({
6723
6733
  sortOrder: true,
6724
6734
  parentPersistentId: true,
@@ -6728,13 +6738,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6728
6738
  data: true,
6729
6739
  shortPersistentId: true
6730
6740
  }).extend({
6731
- title: z236.string(),
6732
- isRoot: z236.boolean(),
6733
- childrenIds: z236.array(z236.string()),
6741
+ title: z237.string(),
6742
+ isRoot: z237.boolean(),
6743
+ childrenIds: z237.array(z237.string()),
6734
6744
  groupBehavior: DocumentationGroupBehavior,
6735
- shortPersistentId: z236.string(),
6745
+ shortPersistentId: z237.string(),
6736
6746
  configuration: DTODocumentationItemConfigurationV2,
6737
- type: z236.literal("Group"),
6747
+ type: z237.literal("Group"),
6738
6748
  /** Defined when a group has changed since last publish and can be included into a partial publish */
6739
6749
  draftState: DTODocumentationDraftState.optional(),
6740
6750
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -6742,127 +6752,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6742
6752
  //** An approval state for frontend to utilize. */
6743
6753
  approvalState: DTODocumentationGroupApprovalState.optional()
6744
6754
  });
6745
- var DTOCreateDocumentationGroupInput = z236.object({
6755
+ var DTOCreateDocumentationGroupInput = z237.object({
6746
6756
  // Identifier
6747
- persistentId: z236.string(),
6757
+ persistentId: z237.string(),
6748
6758
  // Group properties
6749
- title: z236.string(),
6759
+ title: z237.string(),
6750
6760
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6751
6761
  // Group placement properties
6752
- afterPersistentId: z236.string().nullish(),
6753
- parentPersistentId: z236.string()
6762
+ afterPersistentId: z237.string().nullish(),
6763
+ parentPersistentId: z237.string()
6754
6764
  });
6755
- var DTOUpdateDocumentationGroupInput = z236.object({
6765
+ var DTOUpdateDocumentationGroupInput = z237.object({
6756
6766
  // Identifier of the group to update
6757
- id: z236.string(),
6767
+ id: z237.string(),
6758
6768
  // Group properties
6759
- title: z236.string().optional(),
6769
+ title: z237.string().optional(),
6760
6770
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
6761
6771
  });
6762
- var DTOMoveDocumentationGroupInput = z236.object({
6772
+ var DTOMoveDocumentationGroupInput = z237.object({
6763
6773
  // Identifier of the group to update
6764
- id: z236.string(),
6774
+ id: z237.string(),
6765
6775
  // Group placement properties
6766
- parentPersistentId: z236.string(),
6767
- afterPersistentId: z236.string().nullish()
6776
+ parentPersistentId: z237.string(),
6777
+ afterPersistentId: z237.string().nullish()
6768
6778
  });
6769
- var DTODuplicateDocumentationGroupInput = z236.object({
6779
+ var DTODuplicateDocumentationGroupInput = z237.object({
6770
6780
  // Identifier of the group to duplicate from
6771
- id: z236.string(),
6781
+ id: z237.string(),
6772
6782
  // New group persistent id
6773
- persistentId: z236.string(),
6783
+ persistentId: z237.string(),
6774
6784
  // Group placement properties
6775
- afterPersistentId: z236.string().nullish(),
6776
- parentPersistentId: z236.string()
6785
+ afterPersistentId: z237.string().nullish(),
6786
+ parentPersistentId: z237.string()
6777
6787
  });
6778
- var DTOCreateDocumentationTabInput = z236.object({
6788
+ var DTOCreateDocumentationTabInput = z237.object({
6779
6789
  // New group persistent id
6780
- persistentId: z236.string(),
6790
+ persistentId: z237.string(),
6781
6791
  // If this is page, we will attempt to convert it to tab
6782
6792
  // If this is tab group, we will add a new tab to it
6783
- fromItemPersistentId: z236.string(),
6784
- tabName: z236.string()
6793
+ fromItemPersistentId: z237.string(),
6794
+ tabName: z237.string()
6785
6795
  });
6786
- var DTODeleteDocumentationTabGroupInput = z236.object({
6796
+ var DTODeleteDocumentationTabGroupInput = z237.object({
6787
6797
  // Deleted group id
6788
- id: z236.string()
6798
+ id: z237.string()
6789
6799
  });
6790
- var DTODeleteDocumentationGroupInput = z236.object({
6800
+ var DTODeleteDocumentationGroupInput = z237.object({
6791
6801
  // Identifier
6792
- id: z236.string(),
6802
+ id: z237.string(),
6793
6803
  // Deletion options
6794
- deleteSubtree: z236.boolean().default(false)
6804
+ deleteSubtree: z237.boolean().default(false)
6795
6805
  });
6796
6806
 
6797
6807
  // src/api/dto/elements/documentation/group-action.ts
6798
- var SuccessPayload = z237.object({
6799
- success: z237.literal(true)
6808
+ var SuccessPayload = z238.object({
6809
+ success: z238.literal(true)
6800
6810
  });
6801
- var DTODocumentationGroupCreateActionOutputV2 = z237.object({
6802
- type: z237.literal("DocumentationGroupCreate"),
6811
+ var DTODocumentationGroupCreateActionOutputV2 = z238.object({
6812
+ type: z238.literal("DocumentationGroupCreate"),
6803
6813
  output: SuccessPayload
6804
6814
  });
6805
- var DTODocumentationTabCreateActionOutputV2 = z237.object({
6806
- type: z237.literal("DocumentationTabCreate"),
6815
+ var DTODocumentationTabCreateActionOutputV2 = z238.object({
6816
+ type: z238.literal("DocumentationTabCreate"),
6807
6817
  output: SuccessPayload
6808
6818
  });
6809
- var DTODocumentationGroupUpdateActionOutputV2 = z237.object({
6810
- type: z237.literal("DocumentationGroupUpdate"),
6819
+ var DTODocumentationGroupUpdateActionOutputV2 = z238.object({
6820
+ type: z238.literal("DocumentationGroupUpdate"),
6811
6821
  output: SuccessPayload
6812
6822
  });
6813
- var DTODocumentationGroupMoveActionOutputV2 = z237.object({
6814
- type: z237.literal("DocumentationGroupMove"),
6823
+ var DTODocumentationGroupMoveActionOutputV2 = z238.object({
6824
+ type: z238.literal("DocumentationGroupMove"),
6815
6825
  output: SuccessPayload
6816
6826
  });
6817
- var DTODocumentationGroupDuplicateActionOutputV2 = z237.object({
6818
- type: z237.literal("DocumentationGroupDuplicate"),
6827
+ var DTODocumentationGroupDuplicateActionOutputV2 = z238.object({
6828
+ type: z238.literal("DocumentationGroupDuplicate"),
6819
6829
  output: SuccessPayload
6820
6830
  });
6821
- var DTODocumentationGroupDeleteActionOutputV2 = z237.object({
6822
- type: z237.literal("DocumentationGroupDelete"),
6831
+ var DTODocumentationGroupDeleteActionOutputV2 = z238.object({
6832
+ type: z238.literal("DocumentationGroupDelete"),
6823
6833
  output: SuccessPayload
6824
6834
  });
6825
- var DTODocumentationTabGroupDeleteActionOutputV2 = z237.object({
6826
- type: z237.literal("DocumentationTabGroupDelete"),
6835
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z238.object({
6836
+ type: z238.literal("DocumentationTabGroupDelete"),
6827
6837
  output: SuccessPayload
6828
6838
  });
6829
- var DTODocumentationGroupCreateActionInputV2 = z237.object({
6830
- type: z237.literal("DocumentationGroupCreate"),
6839
+ var DTODocumentationGroupCreateActionInputV2 = z238.object({
6840
+ type: z238.literal("DocumentationGroupCreate"),
6831
6841
  input: DTOCreateDocumentationGroupInput
6832
6842
  });
6833
- var DTODocumentationTabCreateActionInputV2 = z237.object({
6834
- type: z237.literal("DocumentationTabCreate"),
6843
+ var DTODocumentationTabCreateActionInputV2 = z238.object({
6844
+ type: z238.literal("DocumentationTabCreate"),
6835
6845
  input: DTOCreateDocumentationTabInput
6836
6846
  });
6837
- var DTODocumentationGroupUpdateActionInputV2 = z237.object({
6838
- type: z237.literal("DocumentationGroupUpdate"),
6847
+ var DTODocumentationGroupUpdateActionInputV2 = z238.object({
6848
+ type: z238.literal("DocumentationGroupUpdate"),
6839
6849
  input: DTOUpdateDocumentationGroupInput
6840
6850
  });
6841
- var DTODocumentationGroupMoveActionInputV2 = z237.object({
6842
- type: z237.literal("DocumentationGroupMove"),
6851
+ var DTODocumentationGroupMoveActionInputV2 = z238.object({
6852
+ type: z238.literal("DocumentationGroupMove"),
6843
6853
  input: DTOMoveDocumentationGroupInput
6844
6854
  });
6845
- var DTODocumentationGroupDuplicateActionInputV2 = z237.object({
6846
- type: z237.literal("DocumentationGroupDuplicate"),
6855
+ var DTODocumentationGroupDuplicateActionInputV2 = z238.object({
6856
+ type: z238.literal("DocumentationGroupDuplicate"),
6847
6857
  input: DTODuplicateDocumentationGroupInput
6848
6858
  });
6849
- var DTODocumentationGroupDeleteActionInputV2 = z237.object({
6850
- type: z237.literal("DocumentationGroupDelete"),
6859
+ var DTODocumentationGroupDeleteActionInputV2 = z238.object({
6860
+ type: z238.literal("DocumentationGroupDelete"),
6851
6861
  input: DTODeleteDocumentationGroupInput
6852
6862
  });
6853
- var DTODocumentationTabGroupDeleteActionInputV2 = z237.object({
6854
- type: z237.literal("DocumentationTabGroupDelete"),
6863
+ var DTODocumentationTabGroupDeleteActionInputV2 = z238.object({
6864
+ type: z238.literal("DocumentationTabGroupDelete"),
6855
6865
  input: DTODeleteDocumentationTabGroupInput
6856
6866
  });
6857
6867
 
6858
6868
  // src/api/dto/elements/documentation/group-v1.ts
6859
- import { z as z239 } from "zod";
6869
+ import { z as z240 } from "zod";
6860
6870
 
6861
6871
  // src/api/dto/elements/documentation/item-configuration-v1.ts
6862
- import { z as z238 } from "zod";
6863
- var DocumentationColorV1 = z238.object({
6864
- aliasTo: z238.string().optional(),
6865
- value: z238.string().optional()
6872
+ import { z as z239 } from "zod";
6873
+ var DocumentationColorV1 = z239.object({
6874
+ aliasTo: z239.string().optional(),
6875
+ value: z239.string().optional()
6866
6876
  });
6867
6877
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6868
6878
  foregroundColor: true,
@@ -6871,10 +6881,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6871
6881
  foregroundColor: DocumentationColorV1.optional(),
6872
6882
  backgroundColor: DocumentationColorV1.optional()
6873
6883
  });
6874
- var DTODocumentationItemConfigurationV1 = z238.object({
6875
- showSidebar: z238.boolean(),
6876
- isPrivate: z238.boolean(),
6877
- isHidden: z238.boolean(),
6884
+ var DTODocumentationItemConfigurationV1 = z239.object({
6885
+ showSidebar: z239.boolean(),
6886
+ isPrivate: z239.boolean(),
6887
+ isHidden: z239.boolean(),
6878
6888
  header: DTODocumentationItemHeaderV1
6879
6889
  });
6880
6890
 
@@ -6888,27 +6898,27 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
6888
6898
  data: true,
6889
6899
  shortPersistentId: true
6890
6900
  }).extend({
6891
- title: z239.string(),
6892
- isRoot: z239.boolean(),
6893
- childrenIds: z239.array(z239.string()),
6901
+ title: z240.string(),
6902
+ isRoot: z240.boolean(),
6903
+ childrenIds: z240.array(z240.string()),
6894
6904
  groupBehavior: DocumentationGroupBehavior,
6895
- shortPersistentId: z239.string(),
6896
- type: z239.literal("Group")
6905
+ shortPersistentId: z240.string(),
6906
+ type: z240.literal("Group")
6897
6907
  });
6898
6908
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
6899
6909
  configuration: DTODocumentationItemConfigurationV1
6900
6910
  });
6901
6911
 
6902
6912
  // src/api/dto/elements/documentation/hierarchy.ts
6903
- import { z as z240 } from "zod";
6904
- var DTODocumentationHierarchyV2 = z240.object({
6905
- pages: z240.array(
6913
+ import { z as z241 } from "zod";
6914
+ var DTODocumentationHierarchyV2 = z241.object({
6915
+ pages: z241.array(
6906
6916
  DTODocumentationPageV2.extend({
6907
6917
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6908
6918
  draftState: DTODocumentationDraftState.optional()
6909
6919
  })
6910
6920
  ),
6911
- groups: z240.array(
6921
+ groups: z241.array(
6912
6922
  DTODocumentationGroupV2.extend({
6913
6923
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6914
6924
  draftState: DTODocumentationDraftState.optional()
@@ -6917,84 +6927,84 @@ var DTODocumentationHierarchyV2 = z240.object({
6917
6927
  });
6918
6928
 
6919
6929
  // src/api/dto/elements/documentation/page-actions-v2.ts
6920
- import { z as z241 } from "zod";
6921
- var SuccessPayload2 = z241.object({
6922
- success: z241.literal(true)
6930
+ import { z as z242 } from "zod";
6931
+ var SuccessPayload2 = z242.object({
6932
+ success: z242.literal(true)
6923
6933
  });
6924
- var DTODocumentationPageCreateActionOutputV2 = z241.object({
6925
- type: z241.literal("DocumentationPageCreate"),
6934
+ var DTODocumentationPageCreateActionOutputV2 = z242.object({
6935
+ type: z242.literal("DocumentationPageCreate"),
6926
6936
  output: SuccessPayload2
6927
6937
  });
6928
- var DTODocumentationPageUpdateActionOutputV2 = z241.object({
6929
- type: z241.literal("DocumentationPageUpdate"),
6938
+ var DTODocumentationPageUpdateActionOutputV2 = z242.object({
6939
+ type: z242.literal("DocumentationPageUpdate"),
6930
6940
  output: SuccessPayload2
6931
6941
  });
6932
- var DTODocumentationPageMoveActionOutputV2 = z241.object({
6933
- type: z241.literal("DocumentationPageMove"),
6942
+ var DTODocumentationPageMoveActionOutputV2 = z242.object({
6943
+ type: z242.literal("DocumentationPageMove"),
6934
6944
  output: SuccessPayload2
6935
6945
  });
6936
- var DTODocumentationPageDuplicateActionOutputV2 = z241.object({
6937
- type: z241.literal("DocumentationPageDuplicate"),
6946
+ var DTODocumentationPageDuplicateActionOutputV2 = z242.object({
6947
+ type: z242.literal("DocumentationPageDuplicate"),
6938
6948
  output: SuccessPayload2
6939
6949
  });
6940
- var DTODocumentationPageDeleteActionOutputV2 = z241.object({
6941
- type: z241.literal("DocumentationPageDelete"),
6950
+ var DTODocumentationPageDeleteActionOutputV2 = z242.object({
6951
+ type: z242.literal("DocumentationPageDelete"),
6942
6952
  output: SuccessPayload2
6943
6953
  });
6944
- var DTODocumentationPageRestoreActionOutput = z241.object({
6945
- type: z241.literal("DocumentationPageRestore"),
6954
+ var DTODocumentationPageRestoreActionOutput = z242.object({
6955
+ type: z242.literal("DocumentationPageRestore"),
6946
6956
  output: SuccessPayload2
6947
6957
  });
6948
- var DTODocumentationGroupRestoreActionOutput = z241.object({
6949
- type: z241.literal("DocumentationGroupRestore"),
6958
+ var DTODocumentationGroupRestoreActionOutput = z242.object({
6959
+ type: z242.literal("DocumentationGroupRestore"),
6950
6960
  output: SuccessPayload2
6951
6961
  });
6952
- var DTODocumentationPageApprovalStateChangeActionOutput = z241.object({
6953
- type: z241.literal("DocumentationPageApprovalStateChange"),
6962
+ var DTODocumentationPageApprovalStateChangeActionOutput = z242.object({
6963
+ type: z242.literal("DocumentationPageApprovalStateChange"),
6954
6964
  output: SuccessPayload2
6955
6965
  });
6956
- var DTODocumentationPageCreateActionInputV2 = z241.object({
6957
- type: z241.literal("DocumentationPageCreate"),
6966
+ var DTODocumentationPageCreateActionInputV2 = z242.object({
6967
+ type: z242.literal("DocumentationPageCreate"),
6958
6968
  input: DTOCreateDocumentationPageInputV2
6959
6969
  });
6960
- var DTODocumentationPageUpdateActionInputV2 = z241.object({
6961
- type: z241.literal("DocumentationPageUpdate"),
6970
+ var DTODocumentationPageUpdateActionInputV2 = z242.object({
6971
+ type: z242.literal("DocumentationPageUpdate"),
6962
6972
  input: DTOUpdateDocumentationPageInputV2
6963
6973
  });
6964
- var DTODocumentationPageMoveActionInputV2 = z241.object({
6965
- type: z241.literal("DocumentationPageMove"),
6974
+ var DTODocumentationPageMoveActionInputV2 = z242.object({
6975
+ type: z242.literal("DocumentationPageMove"),
6966
6976
  input: DTOMoveDocumentationPageInputV2
6967
6977
  });
6968
- var DTODocumentationPageDuplicateActionInputV2 = z241.object({
6969
- type: z241.literal("DocumentationPageDuplicate"),
6978
+ var DTODocumentationPageDuplicateActionInputV2 = z242.object({
6979
+ type: z242.literal("DocumentationPageDuplicate"),
6970
6980
  input: DTODuplicateDocumentationPageInputV2
6971
6981
  });
6972
- var DTODocumentationPageDeleteActionInputV2 = z241.object({
6973
- type: z241.literal("DocumentationPageDelete"),
6982
+ var DTODocumentationPageDeleteActionInputV2 = z242.object({
6983
+ type: z242.literal("DocumentationPageDelete"),
6974
6984
  input: DTODeleteDocumentationPageInputV2
6975
6985
  });
6976
- var DTODocumentationPageRestoreActionInput = z241.object({
6977
- type: z241.literal("DocumentationPageRestore"),
6986
+ var DTODocumentationPageRestoreActionInput = z242.object({
6987
+ type: z242.literal("DocumentationPageRestore"),
6978
6988
  input: DTORestoreDocumentationPageInput
6979
6989
  });
6980
- var DTODocumentationGroupRestoreActionInput = z241.object({
6981
- type: z241.literal("DocumentationGroupRestore"),
6990
+ var DTODocumentationGroupRestoreActionInput = z242.object({
6991
+ type: z242.literal("DocumentationGroupRestore"),
6982
6992
  input: DTORestoreDocumentationGroupInput
6983
6993
  });
6984
- var DTODocumentationPageApprovalStateChangeActionInput = z241.object({
6985
- type: z241.literal("DocumentationPageApprovalStateChange"),
6994
+ var DTODocumentationPageApprovalStateChangeActionInput = z242.object({
6995
+ type: z242.literal("DocumentationPageApprovalStateChange"),
6986
6996
  input: DTODocumentationPageApprovalStateChangeInput
6987
6997
  });
6988
6998
 
6989
6999
  // src/api/dto/elements/documentation/page-content.ts
6990
- import { z as z242 } from "zod";
7000
+ import { z as z243 } from "zod";
6991
7001
  var DTODocumentationPageContent = DocumentationPageContent;
6992
- var DTODocumentationPageContentGetResponse = z242.object({
7002
+ var DTODocumentationPageContentGetResponse = z243.object({
6993
7003
  pageContent: DTODocumentationPageContent
6994
7004
  });
6995
7005
 
6996
7006
  // src/api/dto/elements/documentation/page-v1.ts
6997
- import { z as z243 } from "zod";
7007
+ import { z as z244 } from "zod";
6998
7008
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
6999
7009
  data: true,
7000
7010
  meta: true,
@@ -7002,54 +7012,54 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
7002
7012
  sortOrder: true
7003
7013
  }).extend({
7004
7014
  configuration: DTODocumentationItemConfigurationV1,
7005
- blocks: z243.array(PageBlockV1),
7006
- title: z243.string(),
7007
- path: z243.string()
7015
+ blocks: z244.array(PageBlockV1),
7016
+ title: z244.string(),
7017
+ path: z244.string()
7008
7018
  });
7009
7019
 
7010
7020
  // src/api/dto/elements/documentation/structure.ts
7011
- import { z as z244 } from "zod";
7012
- var DTODocumentationStructureItemType = z244.enum(["Group", "Page"]);
7013
- var DTODocumentationStructureItemBase = z244.object({
7021
+ import { z as z245 } from "zod";
7022
+ var DTODocumentationStructureItemType = z245.enum(["Group", "Page"]);
7023
+ var DTODocumentationStructureItemBase = z245.object({
7014
7024
  type: DTODocumentationStructureItemType,
7015
- id: z244.string(),
7016
- designSystemVersionId: z244.string(),
7017
- shortPersistentId: z244.string(),
7018
- persistentId: z244.string(),
7019
- title: z244.string(),
7020
- createdAt: z244.coerce.date(),
7021
- updatedAt: z244.coerce.date()
7025
+ id: z245.string(),
7026
+ designSystemVersionId: z245.string(),
7027
+ shortPersistentId: z245.string(),
7028
+ persistentId: z245.string(),
7029
+ title: z245.string(),
7030
+ createdAt: z245.coerce.date(),
7031
+ updatedAt: z245.coerce.date()
7022
7032
  });
7023
7033
  var DTODocumentationStructureGroupItem = DTODocumentationStructureItemBase.extend({
7024
- type: z244.literal(DTODocumentationStructureItemType.enum.Group),
7025
- groupBehavior: z244.string(),
7026
- childrenIds: z244.string().array(),
7027
- isRoot: z244.boolean()
7034
+ type: z245.literal(DTODocumentationStructureItemType.enum.Group),
7035
+ groupBehavior: z245.string(),
7036
+ childrenIds: z245.string().array(),
7037
+ isRoot: z245.boolean()
7028
7038
  });
7029
7039
  var DTODocumentationStructurePageItem = DTODocumentationStructureItemBase.extend({
7030
- type: z244.literal(DTODocumentationStructureItemType.enum.Page),
7031
- path: z244.string()
7040
+ type: z245.literal(DTODocumentationStructureItemType.enum.Page),
7041
+ path: z245.string()
7032
7042
  });
7033
- var DTODocumentationStructureItem = z244.discriminatedUnion("type", [
7043
+ var DTODocumentationStructureItem = z245.discriminatedUnion("type", [
7034
7044
  DTODocumentationStructureGroupItem,
7035
7045
  DTODocumentationStructurePageItem
7036
7046
  ]);
7037
- var DTODocumentationStructure = z244.object({
7038
- items: z244.array(DTODocumentationStructureItem)
7047
+ var DTODocumentationStructure = z245.object({
7048
+ items: z245.array(DTODocumentationStructureItem)
7039
7049
  });
7040
7050
 
7041
7051
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
7042
- import { z as z246 } from "zod";
7052
+ import { z as z247 } from "zod";
7043
7053
 
7044
7054
  // src/api/dto/elements/figma-nodes/figma-node.ts
7045
- import { z as z245 } from "zod";
7055
+ import { z as z246 } from "zod";
7046
7056
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
7047
- var DTOFigmaNodeOrigin = z245.object({
7048
- sourceId: z245.string(),
7049
- fileId: z245.string().optional(),
7050
- parentName: z245.string().optional()
7057
+ var DTOFigmaNodeOrigin = z246.object({
7058
+ sourceId: z246.string(),
7059
+ fileId: z246.string().optional(),
7060
+ parentName: z246.string().optional()
7051
7061
  });
7052
- var DTOFigmaNodeRenderInputBase = z245.object({
7062
+ var DTOFigmaNodeRenderInputBase = z246.object({
7053
7063
  /**
7054
7064
  * Format in which the node must be rendered, png by default.
7055
7065
  */
@@ -7057,57 +7067,57 @@ var DTOFigmaNodeRenderInputBase = z245.object({
7057
7067
  /**
7058
7068
  * Scale to apply to PNG images, can be between 1 and 4. Scale is ignored for other image formats.
7059
7069
  */
7060
- scale: z245.number().optional()
7070
+ scale: z246.number().optional()
7061
7071
  });
7062
7072
  var DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderInputBase.extend({
7063
- inputType: z245.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
7073
+ inputType: z246.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
7064
7074
  /**
7065
7075
  * Id of a design system's data source representing a linked Figma file
7066
7076
  */
7067
- sourceId: z245.string(),
7077
+ sourceId: z246.string(),
7068
7078
  /**
7069
7079
  * Id of a node within the Figma file
7070
7080
  */
7071
- figmaFileNodeId: z245.string()
7081
+ figmaFileNodeId: z246.string()
7072
7082
  });
7073
7083
  var DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderInputBase.extend({
7074
- inputType: z245.literal("URL"),
7084
+ inputType: z246.literal("URL"),
7075
7085
  /**
7076
7086
  * Id of a design system's data source representing a linked Figma file
7077
7087
  */
7078
- figmaNodeUrl: z245.string(),
7088
+ figmaNodeUrl: z246.string(),
7079
7089
  /**
7080
7090
  * Brand persistent id to use in case a source has to be created for this render
7081
7091
  */
7082
- brandPersistentId: z245.string()
7092
+ brandPersistentId: z246.string()
7083
7093
  });
7084
- var DTOFigmaNodeRerenderInput = z245.object({
7085
- inputType: z245.literal("Rerender"),
7094
+ var DTOFigmaNodeRerenderInput = z246.object({
7095
+ inputType: z246.literal("Rerender"),
7086
7096
  /**
7087
7097
  * Persistent ID of an existing Figma node
7088
7098
  */
7089
- figmaNodePersistentId: z245.string()
7099
+ figmaNodePersistentId: z246.string()
7090
7100
  });
7091
- var DTOFigmaNodeRenderInput = z245.discriminatedUnion("inputType", [
7101
+ var DTOFigmaNodeRenderInput = z246.discriminatedUnion("inputType", [
7092
7102
  DTOFigmaNodeRenderIdInput,
7093
7103
  DTOFigmaNodeRenderUrlInput,
7094
7104
  DTOFigmaNodeRerenderInput
7095
7105
  ]);
7096
7106
 
7097
7107
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
7098
- var DTOFigmaNodeData = z246.object({
7108
+ var DTOFigmaNodeData = z247.object({
7099
7109
  // Id of the node in the Figma file
7100
- figmaNodeId: z246.string(),
7110
+ figmaNodeId: z247.string(),
7101
7111
  // Validity
7102
- isValid: z246.boolean(),
7112
+ isValid: z247.boolean(),
7103
7113
  // Asset data
7104
- assetId: z246.string(),
7105
- assetUrl: z246.string(),
7114
+ assetId: z247.string(),
7115
+ assetUrl: z247.string(),
7106
7116
  assetFormat: DTOFigmaNodeRenderFormat,
7107
7117
  // Asset metadata
7108
- assetScale: z246.number(),
7109
- assetWidth: z246.number().optional(),
7110
- assetHeight: z246.number().optional()
7118
+ assetScale: z247.number(),
7119
+ assetWidth: z247.number().optional(),
7120
+ assetHeight: z247.number().optional()
7111
7121
  });
7112
7122
  var DTOFigmaNode = FigmaNodeReference.omit({
7113
7123
  data: true,
@@ -7118,15 +7128,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
7118
7128
  });
7119
7129
 
7120
7130
  // src/api/dto/elements/figma-nodes/figma-node-v2.ts
7121
- import { z as z247 } from "zod";
7122
- var DTOFigmaNodeDataV2 = z247.object({
7123
- sceneNodeId: z247.string(),
7131
+ import { z as z248 } from "zod";
7132
+ var DTOFigmaNodeDataV2 = z248.object({
7133
+ sceneNodeId: z248.string(),
7124
7134
  format: FigmaNodeRenderFormat,
7125
- scale: z247.number().optional(),
7135
+ scale: z248.number().optional(),
7126
7136
  renderState: FigmaNodeRenderState,
7127
7137
  renderedImage: FigmaNodeRenderedImage.optional(),
7128
7138
  renderError: FigmaNodeRenderError.optional(),
7129
- hasSource: z247.boolean()
7139
+ hasSource: z248.boolean()
7130
7140
  });
7131
7141
  var DTOFigmaNodeV2 = FigmaNodeReference.omit({
7132
7142
  data: true,
@@ -7137,105 +7147,105 @@ var DTOFigmaNodeV2 = FigmaNodeReference.omit({
7137
7147
  });
7138
7148
 
7139
7149
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
7140
- import { z as z248 } from "zod";
7141
- var DTOFigmaNodeRenderActionOutput = z248.object({
7142
- type: z248.literal("FigmaNodeRender"),
7143
- figmaNodes: z248.array(DTOFigmaNode)
7150
+ import { z as z249 } from "zod";
7151
+ var DTOFigmaNodeRenderActionOutput = z249.object({
7152
+ type: z249.literal("FigmaNodeRender"),
7153
+ figmaNodes: z249.array(DTOFigmaNode)
7144
7154
  });
7145
- var DTOFigmaNodeRenderAsyncActionOutput = z248.object({
7146
- type: z248.literal("FigmaNodeRenderAsync"),
7147
- figmaNodes: z248.array(DTOFigmaNodeV2)
7155
+ var DTOFigmaNodeRenderAsyncActionOutput = z249.object({
7156
+ type: z249.literal("FigmaNodeRenderAsync"),
7157
+ figmaNodes: z249.array(DTOFigmaNodeV2)
7148
7158
  });
7149
- var DTOFigmaNodeRenderActionInput = z248.object({
7150
- type: z248.literal("FigmaNodeRender"),
7159
+ var DTOFigmaNodeRenderActionInput = z249.object({
7160
+ type: z249.literal("FigmaNodeRender"),
7151
7161
  input: DTOFigmaNodeRenderIdInput.array()
7152
7162
  });
7153
- var DTOFigmaNodeRenderAsyncActionInput = z248.object({
7154
- type: z248.literal("FigmaNodeRenderAsync"),
7163
+ var DTOFigmaNodeRenderAsyncActionInput = z249.object({
7164
+ type: z249.literal("FigmaNodeRenderAsync"),
7155
7165
  nodes: DTOFigmaNodeRenderInput.array()
7156
7166
  });
7157
7167
 
7158
7168
  // src/api/dto/elements/frame-node-structures/frame-node-structure.ts
7159
- import { z as z249 } from "zod";
7160
- var DTOFrameNodeStructure = z249.object({
7161
- id: z249.string(),
7162
- persistentId: z249.string(),
7163
- designSystemVersionId: z249.string(),
7169
+ import { z as z250 } from "zod";
7170
+ var DTOFrameNodeStructure = z250.object({
7171
+ id: z250.string(),
7172
+ persistentId: z250.string(),
7173
+ designSystemVersionId: z250.string(),
7164
7174
  origin: FigmaFileStructureOrigin,
7165
7175
  assetsInFile: FigmaFileStructureStatistics
7166
7176
  });
7167
- var DTOFrameNodeStructureListResponse = z249.object({
7177
+ var DTOFrameNodeStructureListResponse = z250.object({
7168
7178
  structures: DTOFrameNodeStructure.array()
7169
7179
  });
7170
7180
 
7171
7181
  // src/api/dto/elements/properties/property-definitions.ts
7172
- import { z as z250 } from "zod";
7182
+ import { z as z251 } from "zod";
7173
7183
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
7174
- var DTOElementPropertyDefinitionOption = z250.object({
7175
- id: z250.string(),
7176
- name: z250.string(),
7184
+ var DTOElementPropertyDefinitionOption = z251.object({
7185
+ id: z251.string(),
7186
+ name: z251.string(),
7177
7187
  backgroundColor: DTOColorTokenInlineData.optional()
7178
7188
  });
7179
- var DTOElementPropertyDefinition = z250.object({
7180
- id: z250.string(),
7181
- designSystemVersionId: z250.string(),
7189
+ var DTOElementPropertyDefinition = z251.object({
7190
+ id: z251.string(),
7191
+ designSystemVersionId: z251.string(),
7182
7192
  meta: DTOObjectMeta,
7183
- persistentId: z250.string(),
7193
+ persistentId: z251.string(),
7184
7194
  type: ElementPropertyTypeSchema,
7185
7195
  targetElementType: ElementPropertyTargetType,
7186
- codeName: z250.string().regex(CODE_NAME_REGEX2),
7187
- options: nullishToOptional(z250.array(DTOElementPropertyDefinitionOption)),
7196
+ codeName: z251.string().regex(CODE_NAME_REGEX2),
7197
+ options: nullishToOptional(z251.array(DTOElementPropertyDefinitionOption)),
7188
7198
  linkElementType: nullishToOptional(ElementPropertyLinkType),
7189
- isImmutable: z250.boolean(),
7199
+ isImmutable: z251.boolean(),
7190
7200
  immutablePropertyType: ElementPropertyImmutableType.optional()
7191
7201
  });
7192
- var DTOElementPropertyDefinitionListResponse = z250.object({
7193
- definitions: z250.array(DTOElementPropertyDefinition)
7202
+ var DTOElementPropertyDefinitionListResponse = z251.object({
7203
+ definitions: z251.array(DTOElementPropertyDefinition)
7194
7204
  });
7195
- var DTOElementPropertyDefinitionResponse = z250.object({
7205
+ var DTOElementPropertyDefinitionResponse = z251.object({
7196
7206
  definition: DTOElementPropertyDefinition
7197
7207
  });
7198
- var DTOElementPropertyDefinitionCreatePayload = z250.object({
7208
+ var DTOElementPropertyDefinitionCreatePayload = z251.object({
7199
7209
  meta: DTOObjectMeta,
7200
- persistentId: z250.string(),
7210
+ persistentId: z251.string(),
7201
7211
  type: ElementPropertyTypeSchema,
7202
7212
  targetElementType: ElementPropertyTargetType,
7203
- codeName: z250.string().regex(CODE_NAME_REGEX2),
7204
- options: nullishToOptional(z250.array(DTOElementPropertyDefinitionOption)),
7213
+ codeName: z251.string().regex(CODE_NAME_REGEX2),
7214
+ options: nullishToOptional(z251.array(DTOElementPropertyDefinitionOption)),
7205
7215
  linkElementType: nullishToOptional(ElementPropertyLinkType),
7206
- columnWidth: z250.number().max(1024).optional()
7216
+ columnWidth: z251.number().max(1024).optional()
7207
7217
  });
7208
- var DTOElementPropertyDefinitionUpdatePayload = z250.object({
7218
+ var DTOElementPropertyDefinitionUpdatePayload = z251.object({
7209
7219
  meta: DTOObjectMeta.optional(),
7210
- codeName: z250.string().regex(CODE_NAME_REGEX2).optional(),
7211
- options: z250.array(DTOElementPropertyDefinitionOption).optional()
7220
+ codeName: z251.string().regex(CODE_NAME_REGEX2).optional(),
7221
+ options: z251.array(DTOElementPropertyDefinitionOption).optional()
7212
7222
  });
7213
7223
 
7214
7224
  // src/api/dto/elements/properties/property-values.ts
7215
- import { z as z251 } from "zod";
7216
- var DTOElementPropertyValue = z251.object({
7217
- id: z251.string(),
7218
- designSystemVersionId: z251.string(),
7219
- definitionId: z251.string(),
7220
- targetElementId: z251.string(),
7221
- value: z251.union([z251.string(), z251.number(), z251.boolean()]).optional(),
7222
- valuePreview: z251.string().optional()
7223
- });
7224
- var DTOElementPropertyValueListResponse = z251.object({
7225
- values: z251.array(DTOElementPropertyValue)
7226
- });
7227
- var DTOElementPropertyValueResponse = z251.object({
7225
+ import { z as z252 } from "zod";
7226
+ var DTOElementPropertyValue = z252.object({
7227
+ id: z252.string(),
7228
+ designSystemVersionId: z252.string(),
7229
+ definitionId: z252.string(),
7230
+ targetElementId: z252.string(),
7231
+ value: z252.union([z252.string(), z252.number(), z252.boolean()]).optional(),
7232
+ valuePreview: z252.string().optional()
7233
+ });
7234
+ var DTOElementPropertyValueListResponse = z252.object({
7235
+ values: z252.array(DTOElementPropertyValue)
7236
+ });
7237
+ var DTOElementPropertyValueResponse = z252.object({
7228
7238
  value: DTOElementPropertyValue
7229
7239
  });
7230
- var DTOElementPropertyValueUpsertPaylod = z251.object({
7231
- definitionId: z251.string(),
7232
- targetElementId: z251.string(),
7233
- value: z251.string().or(z251.number()).or(z251.boolean())
7240
+ var DTOElementPropertyValueUpsertPaylod = z252.object({
7241
+ definitionId: z252.string(),
7242
+ targetElementId: z252.string(),
7243
+ value: z252.string().or(z252.number()).or(z252.boolean())
7234
7244
  });
7235
7245
 
7236
7246
  // src/api/dto/elements/elements-action-v2.ts
7237
- import { z as z252 } from "zod";
7238
- var DTOElementActionOutput = z252.discriminatedUnion("type", [
7247
+ import { z as z253 } from "zod";
7248
+ var DTOElementActionOutput = z253.discriminatedUnion("type", [
7239
7249
  // Documentation pages
7240
7250
  DTODocumentationPageCreateActionOutputV2,
7241
7251
  DTODocumentationPageUpdateActionOutputV2,
@@ -7259,7 +7269,7 @@ var DTOElementActionOutput = z252.discriminatedUnion("type", [
7259
7269
  // Approvals
7260
7270
  DTODocumentationPageApprovalStateChangeActionOutput
7261
7271
  ]);
7262
- var DTOElementActionInput = z252.discriminatedUnion("type", [
7272
+ var DTOElementActionInput = z253.discriminatedUnion("type", [
7263
7273
  // Documentation pages
7264
7274
  DTODocumentationPageCreateActionInputV2,
7265
7275
  DTODocumentationPageUpdateActionInputV2,
@@ -7282,87 +7292,91 @@ var DTOElementActionInput = z252.discriminatedUnion("type", [
7282
7292
  DTODocumentationGroupRestoreActionInput,
7283
7293
  // Approval
7284
7294
  DTODocumentationPageApprovalStateChangeActionInput
7285
- ]);
7295
+ ]).and(
7296
+ z253.object({
7297
+ tId: z253.string().optional()
7298
+ })
7299
+ );
7286
7300
 
7287
7301
  // src/api/dto/elements/get-elements-v2.ts
7288
- import { z as z253 } from "zod";
7289
- var DTOElementsGetTypeFilter = z253.enum(["FigmaNode"]);
7290
- var DTOElementsGetQuerySchema = z253.object({
7291
- types: z253.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
7292
- responseVersion: z253.coerce.number().default(1)
7302
+ import { z as z254 } from "zod";
7303
+ var DTOElementsGetTypeFilter = z254.enum(["FigmaNode"]);
7304
+ var DTOElementsGetQuerySchema = z254.object({
7305
+ types: z254.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
7306
+ responseVersion: z254.coerce.number().default(1)
7293
7307
  });
7294
- var DTOElementsGetOutput = z253.object({
7295
- figmaNodes: z253.array(DTOFigmaNode).optional()
7308
+ var DTOElementsGetOutput = z254.object({
7309
+ figmaNodes: z254.array(DTOFigmaNode).optional()
7296
7310
  });
7297
- var DTOElementsGetOutputV2 = z253.object({
7298
- figmaNodes: z253.array(DTOFigmaNodeV2).optional()
7311
+ var DTOElementsGetOutputV2 = z254.object({
7312
+ figmaNodes: z254.array(DTOFigmaNodeV2).optional()
7299
7313
  });
7300
7314
 
7301
7315
  // src/api/dto/figma-components/assets/download.ts
7302
- import { z as z254 } from "zod";
7303
- var DTOAssetRenderConfiguration = z254.object({
7304
- prefix: z254.string().optional(),
7305
- suffix: z254.string().optional(),
7306
- scale: z254.enum(["x1", "x2", "x3", "x4"]),
7307
- format: z254.enum(["png", "pdf", "svg"])
7308
- });
7309
- var DTORenderedAssetFile = z254.object({
7310
- assetId: z254.string(),
7311
- fileName: z254.string(),
7312
- sourceUrl: z254.string(),
7316
+ import { z as z255 } from "zod";
7317
+ var DTOAssetRenderConfiguration = z255.object({
7318
+ prefix: z255.string().optional(),
7319
+ suffix: z255.string().optional(),
7320
+ scale: z255.enum(["x1", "x2", "x3", "x4"]),
7321
+ format: z255.enum(["png", "pdf", "svg"])
7322
+ });
7323
+ var DTORenderedAssetFile = z255.object({
7324
+ assetId: z255.string(),
7325
+ fileName: z255.string(),
7326
+ sourceUrl: z255.string(),
7313
7327
  settings: DTOAssetRenderConfiguration,
7314
- originalName: z254.string()
7328
+ originalName: z255.string()
7315
7329
  });
7316
- var DTODownloadAssetsRequest = z254.object({
7317
- persistentIds: z254.array(z254.string().uuid()).optional(),
7330
+ var DTODownloadAssetsRequest = z255.object({
7331
+ persistentIds: z255.array(z255.string().uuid()).optional(),
7318
7332
  settings: DTOAssetRenderConfiguration.array()
7319
7333
  });
7320
- var DTODownloadAssetsResponse = z254.object({
7334
+ var DTODownloadAssetsResponse = z255.object({
7321
7335
  items: DTORenderedAssetFile.array()
7322
7336
  });
7323
7337
 
7324
7338
  // src/api/dto/liveblocks/auth-response.ts
7325
- import { z as z255 } from "zod";
7326
- var DTOLiveblocksAuthResponse = z255.object({
7327
- token: z255.string()
7339
+ import { z as z256 } from "zod";
7340
+ var DTOLiveblocksAuthResponse = z256.object({
7341
+ token: z256.string()
7328
7342
  });
7329
7343
 
7330
7344
  // src/api/dto/themes/override.ts
7331
- import { z as z256 } from "zod";
7345
+ import { z as z257 } from "zod";
7332
7346
  var DTOThemeOverride = DesignTokenTypedData.and(
7333
- z256.object({
7334
- tokenPersistentId: z256.string(),
7347
+ z257.object({
7348
+ tokenPersistentId: z257.string(),
7335
7349
  origin: ThemeOverrideOrigin.optional()
7336
7350
  })
7337
7351
  );
7338
7352
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
7339
- z256.object({
7340
- tokenPersistentId: z256.string()
7353
+ z257.object({
7354
+ tokenPersistentId: z257.string()
7341
7355
  })
7342
7356
  );
7343
7357
 
7344
7358
  // src/api/dto/themes/theme.ts
7345
- import { z as z257 } from "zod";
7346
- var DTOTheme = z257.object({
7347
- id: z257.string(),
7348
- persistentId: z257.string(),
7349
- designSystemVersionId: z257.string(),
7350
- brandId: z257.string(),
7359
+ import { z as z258 } from "zod";
7360
+ var DTOTheme = z258.object({
7361
+ id: z258.string(),
7362
+ persistentId: z258.string(),
7363
+ designSystemVersionId: z258.string(),
7364
+ brandId: z258.string(),
7351
7365
  meta: ObjectMeta,
7352
- codeName: z257.string(),
7366
+ codeName: z258.string(),
7353
7367
  overrides: DTOThemeOverride.array()
7354
7368
  });
7355
- var DTOThemeResponse = z257.object({
7369
+ var DTOThemeResponse = z258.object({
7356
7370
  theme: DTOTheme
7357
7371
  });
7358
- var DTOThemeListResponse = z257.object({
7372
+ var DTOThemeListResponse = z258.object({
7359
7373
  themes: DTOTheme.array()
7360
7374
  });
7361
- var DTOThemeCreatePayload = z257.object({
7375
+ var DTOThemeCreatePayload = z258.object({
7362
7376
  meta: ObjectMeta,
7363
- persistentId: z257.string(),
7364
- brandId: z257.string(),
7365
- codeName: z257.string(),
7377
+ persistentId: z258.string(),
7378
+ brandId: z258.string(),
7379
+ codeName: z258.string(),
7366
7380
  overrides: DTOThemeOverride.array()
7367
7381
  });
7368
7382
 
@@ -7505,13 +7519,13 @@ var ExportersEndpoint = class {
7505
7519
  };
7506
7520
 
7507
7521
  // src/api/endpoints/codegen/jobs.ts
7508
- import { z as z258 } from "zod";
7522
+ import { z as z259 } from "zod";
7509
7523
  var ExporterJobsEndpoint = class {
7510
7524
  constructor(requestExecutor) {
7511
7525
  this.requestExecutor = requestExecutor;
7512
7526
  }
7513
7527
  list(workspaceId) {
7514
- return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z258.any());
7528
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z259.any());
7515
7529
  }
7516
7530
  get(workspaceId, jobId) {
7517
7531
  return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
@@ -7569,7 +7583,7 @@ var CodegenEndpoint = class {
7569
7583
  };
7570
7584
 
7571
7585
  // src/api/endpoints/design-system/versions/brands.ts
7572
- import { z as z259 } from "zod";
7586
+ import { z as z260 } from "zod";
7573
7587
  var BrandsEndpoint = class {
7574
7588
  constructor(requestExecutor) {
7575
7589
  this.requestExecutor = requestExecutor;
@@ -7603,7 +7617,7 @@ var BrandsEndpoint = class {
7603
7617
  });
7604
7618
  }
7605
7619
  delete(dsId, vId, brandId) {
7606
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z259.any(), {
7620
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z260.any(), {
7607
7621
  method: "DELETE"
7608
7622
  });
7609
7623
  }
@@ -7772,7 +7786,7 @@ var ImportJobsEndpoint = class {
7772
7786
  };
7773
7787
 
7774
7788
  // src/api/endpoints/design-system/versions/overrides.ts
7775
- import { z as z260 } from "zod";
7789
+ import { z as z261 } from "zod";
7776
7790
  var OverridesEndpoint = class {
7777
7791
  constructor(requestExecutor) {
7778
7792
  this.requestExecutor = requestExecutor;
@@ -7780,7 +7794,7 @@ var OverridesEndpoint = class {
7780
7794
  create(dsId, versionId, themeId, body) {
7781
7795
  return this.requestExecutor.json(
7782
7796
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
7783
- z260.any(),
7797
+ z261.any(),
7784
7798
  {
7785
7799
  method: "POST",
7786
7800
  body
@@ -7790,7 +7804,7 @@ var OverridesEndpoint = class {
7790
7804
  };
7791
7805
 
7792
7806
  // src/api/endpoints/design-system/versions/property-definitions.ts
7793
- import { z as z261 } from "zod";
7807
+ import { z as z262 } from "zod";
7794
7808
  var ElementPropertyDefinitionsEndpoint = class {
7795
7809
  constructor(requestExecutor) {
7796
7810
  this.requestExecutor = requestExecutor;
@@ -7818,7 +7832,7 @@ var ElementPropertyDefinitionsEndpoint = class {
7818
7832
  delete(designSystemId, versionId, defId) {
7819
7833
  return this.requestExecutor.json(
7820
7834
  `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
7821
- z261.any(),
7835
+ z262.any(),
7822
7836
  { method: "DELETE" }
7823
7837
  );
7824
7838
  }
@@ -7857,7 +7871,7 @@ var VersionStatsEndpoint = class {
7857
7871
  };
7858
7872
 
7859
7873
  // src/api/endpoints/design-system/versions/themes.ts
7860
- import { z as z262 } from "zod";
7874
+ import { z as z263 } from "zod";
7861
7875
  var ThemesEndpoint = class {
7862
7876
  constructor(requestExecutor) {
7863
7877
  this.requestExecutor = requestExecutor;
@@ -7880,7 +7894,7 @@ var ThemesEndpoint = class {
7880
7894
  });
7881
7895
  }
7882
7896
  delete(dsId, versionId, themeId) {
7883
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z262.any(), {
7897
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z263.any(), {
7884
7898
  method: "DELETE"
7885
7899
  });
7886
7900
  }
@@ -7999,6 +8013,12 @@ var DesignSystemVersionsEndpoint = class {
7999
8013
  DTODesignSystemVersionJobStatusResponse
8000
8014
  );
8001
8015
  }
8016
+ room(dsId, vId) {
8017
+ return this.requestExecutor.json(
8018
+ `/design-systems/${dsId}/versions/${vId}/room`,
8019
+ DTODesignSystemVersionRoomResponse
8020
+ );
8021
+ }
8002
8022
  };
8003
8023
 
8004
8024
  // src/api/endpoints/design-system/bff.ts
@@ -8027,7 +8047,7 @@ var DesignSystemContactsEndpoint = class {
8027
8047
  };
8028
8048
 
8029
8049
  // src/api/endpoints/design-system/design-systems.ts
8030
- import { z as z264 } from "zod";
8050
+ import { z as z265 } from "zod";
8031
8051
 
8032
8052
  // src/api/endpoints/design-system/members.ts
8033
8053
  var DesignSystemMembersEndpoint = class {
@@ -8048,7 +8068,7 @@ var DesignSystemMembersEndpoint = class {
8048
8068
  };
8049
8069
 
8050
8070
  // src/api/endpoints/design-system/sources.ts
8051
- import { z as z263 } from "zod";
8071
+ import { z as z264 } from "zod";
8052
8072
  var DesignSystemSourcesEndpoint = class {
8053
8073
  constructor(requestExecutor) {
8054
8074
  this.requestExecutor = requestExecutor;
@@ -8063,7 +8083,7 @@ var DesignSystemSourcesEndpoint = class {
8063
8083
  return this.requestExecutor.json(`/design-systems/${dsId}/sources`, DTODataSourcesListResponse);
8064
8084
  }
8065
8085
  delete(dsId, sourceId) {
8066
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z263.any(), { method: "DELETE" });
8086
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z264.any(), { method: "DELETE" });
8067
8087
  }
8068
8088
  figmaImport(dsId, payload) {
8069
8089
  return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/cloud-import`, DTOImportJobResponse, {
@@ -8098,7 +8118,7 @@ var DesignSystemsEndpoint = class {
8098
8118
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
8099
8119
  }
8100
8120
  delete(dsId) {
8101
- return this.requestExecutor.json(`/design-systems/${dsId}`, z264.any(), { method: "DELETE" });
8121
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z265.any(), { method: "DELETE" });
8102
8122
  }
8103
8123
  update(dsId, body) {
8104
8124
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -8142,7 +8162,7 @@ var WorkspaceInvitationsEndpoint = class {
8142
8162
  };
8143
8163
 
8144
8164
  // src/api/endpoints/workspaces/workspace-members.ts
8145
- import { z as z265 } from "zod";
8165
+ import { z as z266 } from "zod";
8146
8166
  var WorkspaceMembersEndpoint = class {
8147
8167
  constructor(requestExecutor) {
8148
8168
  this.requestExecutor = requestExecutor;
@@ -8159,7 +8179,7 @@ var WorkspaceMembersEndpoint = class {
8159
8179
  });
8160
8180
  }
8161
8181
  invite(workspaceId, body) {
8162
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z265.any(), { method: "POST", body });
8182
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z266.any(), { method: "POST", body });
8163
8183
  }
8164
8184
  delete(workspaceId, userId) {
8165
8185
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -8169,7 +8189,7 @@ var WorkspaceMembersEndpoint = class {
8169
8189
  };
8170
8190
 
8171
8191
  // src/api/endpoints/workspaces/workspaces.ts
8172
- import { z as z266 } from "zod";
8192
+ import { z as z267 } from "zod";
8173
8193
  var WorkspacesEndpoint = class {
8174
8194
  constructor(requestExecutor) {
8175
8195
  this.requestExecutor = requestExecutor;
@@ -8192,10 +8212,10 @@ var WorkspacesEndpoint = class {
8192
8212
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
8193
8213
  }
8194
8214
  delete(workspaceId) {
8195
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z266.any(), { method: "DELETE" });
8215
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z267.any(), { method: "DELETE" });
8196
8216
  }
8197
8217
  subscription(workspaceId) {
8198
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z266.any(), { method: "GET" });
8218
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z267.any(), { method: "GET" });
8199
8219
  }
8200
8220
  transferOwnership(workspaceId, body) {
8201
8221
  return this.requestExecutor.json(`/workspaces/${workspaceId}/ownership`, DTOWorkspaceResponse, {
@@ -8295,9 +8315,9 @@ ${bodyText}`,
8295
8315
 
8296
8316
  // src/api/transport/request-executor.ts
8297
8317
  import fetch from "node-fetch";
8298
- import { z as z267 } from "zod";
8299
- var ResponseWrapper = z267.object({
8300
- result: z267.record(z267.any())
8318
+ import { z as z268 } from "zod";
8319
+ var ResponseWrapper = z268.object({
8320
+ result: z268.record(z268.any())
8301
8321
  });
8302
8322
  var RequestExecutor = class {
8303
8323
  constructor(testServerConfig) {
@@ -8374,28 +8394,28 @@ var SupernovaApiClient = class {
8374
8394
  };
8375
8395
 
8376
8396
  // src/events/design-system.ts
8377
- import { z as z268 } from "zod";
8378
- var DTOEventFigmaNodesRendered = z268.object({
8379
- type: z268.literal("DesignSystem.FigmaNodesRendered"),
8380
- designSystemId: z268.string(),
8381
- versionId: z268.string(),
8382
- figmaNodePersistentIds: z268.string().array()
8383
- });
8384
- var DTOEventDataSourcesImported = z268.object({
8385
- type: z268.literal("DesignSystem.ImportJobFinished"),
8386
- designSystemId: z268.string(),
8387
- versionId: z268.string(),
8388
- importJobId: z268.string(),
8397
+ import { z as z269 } from "zod";
8398
+ var DTOEventFigmaNodesRendered = z269.object({
8399
+ type: z269.literal("DesignSystem.FigmaNodesRendered"),
8400
+ designSystemId: z269.string(),
8401
+ versionId: z269.string(),
8402
+ figmaNodePersistentIds: z269.string().array()
8403
+ });
8404
+ var DTOEventDataSourcesImported = z269.object({
8405
+ type: z269.literal("DesignSystem.ImportJobFinished"),
8406
+ designSystemId: z269.string(),
8407
+ versionId: z269.string(),
8408
+ importJobId: z269.string(),
8389
8409
  dataSourceType: DataSourceRemoteType,
8390
- dataSourceIds: z268.string().array()
8410
+ dataSourceIds: z269.string().array()
8391
8411
  });
8392
8412
 
8393
8413
  // src/events/event.ts
8394
- import { z as z269 } from "zod";
8395
- var DTOEvent = z269.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
8414
+ import { z as z270 } from "zod";
8415
+ var DTOEvent = z270.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
8396
8416
 
8397
8417
  // src/yjs/design-system-content/documentation-hierarchy.ts
8398
- import { z as z270 } from "zod";
8418
+ import { z as z271 } from "zod";
8399
8419
 
8400
8420
  // src/yjs/version-room/base.ts
8401
8421
  var VersionRoomBaseYDoc = class {
@@ -8551,7 +8571,9 @@ var VersionRoomBaseYDoc = class {
8551
8571
  get documentationPageContentHashesYMap() {
8552
8572
  return this.yDoc.getMap("documentationPageHashes");
8553
8573
  }
8574
+ //
8554
8575
  // Approval states
8576
+ //
8555
8577
  updateApprovalStates(updates) {
8556
8578
  this.setObjects(this.documentationPageApprovalsMap, updates);
8557
8579
  }
@@ -8564,6 +8586,22 @@ var VersionRoomBaseYDoc = class {
8564
8586
  get documentationPageApprovalsMap() {
8565
8587
  return this.yDoc.getMap("documentationPageApprovals");
8566
8588
  }
8589
+ //
8590
+ // Executed transactions
8591
+ //
8592
+ updateExecutedTransactionIds(transactionIds) {
8593
+ transactionIds = Array.from(new Set(transactionIds));
8594
+ if (!transactionIds.length)
8595
+ return;
8596
+ const array = this.executedTransactionIdsArray;
8597
+ array.push(transactionIds);
8598
+ if (array.length > 100) {
8599
+ array.delete(0, array.length - 100);
8600
+ }
8601
+ }
8602
+ get executedTransactionIdsArray() {
8603
+ return this.yDoc.getArray("executedTransactionIds");
8604
+ }
8567
8605
  };
8568
8606
 
8569
8607
  // src/yjs/version-room/utils.ts
@@ -8938,24 +8976,24 @@ var FrontendVersionRoomYDoc = class {
8938
8976
  };
8939
8977
 
8940
8978
  // src/yjs/design-system-content/documentation-hierarchy.ts
8941
- var DocumentationHierarchySettings = z270.object({
8942
- routingVersion: z270.string(),
8943
- isDraftFeatureAdopted: z270.boolean(),
8944
- isApprovalFeatureEnabled: z270.boolean(),
8945
- approvalRequiredForPublishing: z270.boolean()
8979
+ var DocumentationHierarchySettings = z271.object({
8980
+ routingVersion: z271.string(),
8981
+ isDraftFeatureAdopted: z271.boolean(),
8982
+ isApprovalFeatureEnabled: z271.boolean(),
8983
+ approvalRequiredForPublishing: z271.boolean()
8946
8984
  });
8947
8985
  function yjsToDocumentationHierarchy(doc) {
8948
8986
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
8949
8987
  }
8950
8988
 
8951
8989
  // src/yjs/design-system-content/item-configuration.ts
8952
- import { z as z271 } from "zod";
8953
- var DTODocumentationPageRoomHeaderData = z271.object({
8954
- title: z271.string(),
8990
+ import { z as z272 } from "zod";
8991
+ var DTODocumentationPageRoomHeaderData = z272.object({
8992
+ title: z272.string(),
8955
8993
  configuration: DTODocumentationItemConfigurationV2
8956
8994
  });
8957
- var DTODocumentationPageRoomHeaderDataUpdate = z271.object({
8958
- title: z271.string().optional(),
8995
+ var DTODocumentationPageRoomHeaderDataUpdate = z272.object({
8996
+ title: z272.string().optional(),
8959
8997
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
8960
8998
  });
8961
8999
  function itemConfigurationToYjs(yDoc, item) {
@@ -9006,7 +9044,7 @@ function yjsToItemConfiguration(yDoc) {
9006
9044
  header: rawHeader
9007
9045
  };
9008
9046
  return {
9009
- title: z271.string().parse(title),
9047
+ title: z272.string().parse(title),
9010
9048
  configuration: DTODocumentationItemConfigurationV2.parse(rawConfig)
9011
9049
  };
9012
9050
  }
@@ -9016,9 +9054,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
9016
9054
  var PageSectionEditorModel = PageSectionEditorModelV2;
9017
9055
 
9018
9056
  // src/yjs/docs-editor/model/page.ts
9019
- import { z as z272 } from "zod";
9020
- var DocumentationPageEditorModel = z272.object({
9021
- blocks: z272.array(DocumentationPageContentItem)
9057
+ import { z as z273 } from "zod";
9058
+ var DocumentationPageEditorModel = z273.object({
9059
+ blocks: z273.array(DocumentationPageContentItem)
9022
9060
  });
9023
9061
 
9024
9062
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -12577,7 +12615,7 @@ var blocks = [
12577
12615
 
12578
12616
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
12579
12617
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
12580
- import { z as z273 } from "zod";
12618
+ import { z as z274 } from "zod";
12581
12619
  function yDocToPage(yDoc, definitions) {
12582
12620
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
12583
12621
  }
@@ -12657,7 +12695,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
12657
12695
  return null;
12658
12696
  return {
12659
12697
  id,
12660
- title: getProsemirrorAttribute(prosemirrorNode, "title", z273.string()) ?? "",
12698
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z274.string()) ?? "",
12661
12699
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
12662
12700
  };
12663
12701
  }
@@ -12692,7 +12730,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
12692
12730
  });
12693
12731
  }
12694
12732
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
12695
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z273.string());
12733
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z274.string());
12696
12734
  if (!definitionId) {
12697
12735
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
12698
12736
  return [];
@@ -12734,7 +12772,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
12734
12772
  if (!id)
12735
12773
  return null;
12736
12774
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
12737
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z273.string().optional()));
12775
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z274.string().optional()));
12738
12776
  return {
12739
12777
  id,
12740
12778
  type: "Block",
@@ -12862,10 +12900,10 @@ function parseRichTextAttribute(mark) {
12862
12900
  return null;
12863
12901
  }
12864
12902
  function parseProsemirrorLink(mark) {
12865
- const href = getProsemirrorAttribute(mark, "href", z273.string().optional());
12903
+ const href = getProsemirrorAttribute(mark, "href", z274.string().optional());
12866
12904
  if (!href)
12867
12905
  return null;
12868
- const target = getProsemirrorAttribute(mark, "target", z273.string().optional());
12906
+ const target = getProsemirrorAttribute(mark, "target", z274.string().optional());
12869
12907
  const openInNewTab = target === "_blank";
12870
12908
  if (href.startsWith("@")) {
12871
12909
  return {
@@ -12884,10 +12922,10 @@ function parseProsemirrorLink(mark) {
12884
12922
  }
12885
12923
  }
12886
12924
  function parseProsemirrorCommentHighlight(mark) {
12887
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z273.string().optional());
12925
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z274.string().optional());
12888
12926
  if (!highlightId)
12889
12927
  return null;
12890
- const isResolved = getProsemirrorAttribute(mark, "resolved", z273.boolean().optional()) ?? false;
12928
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z274.boolean().optional()) ?? false;
12891
12929
  return {
12892
12930
  type: "Comment",
12893
12931
  commentHighlightId: highlightId,
@@ -12899,7 +12937,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
12899
12937
  if (!id)
12900
12938
  return null;
12901
12939
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
12902
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z273.boolean().optional()) !== false;
12940
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z274.boolean().optional()) !== false;
12903
12941
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
12904
12942
  if (!tableChild) {
12905
12943
  return emptyTable(id, variantId, 0);
@@ -12946,9 +12984,9 @@ function parseAsTableCell(prosemirrorNode) {
12946
12984
  const id = getProsemirrorBlockId(prosemirrorNode);
12947
12985
  if (!id)
12948
12986
  return null;
12949
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z273.string().optional());
12987
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z274.string().optional());
12950
12988
  let columnWidth;
12951
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z273.array(z273.number()).nullish());
12989
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z274.array(z274.number()).nullish());
12952
12990
  if (columnWidthArray) {
12953
12991
  columnWidth = roundDimension(columnWidthArray[0]);
12954
12992
  }
@@ -12986,7 +13024,7 @@ function parseAsTableNode(prosemirrorNode) {
12986
13024
  value: parseRichText(prosemirrorNode.content ?? [])
12987
13025
  };
12988
13026
  case "image":
12989
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z273.string());
13027
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z274.string());
12990
13028
  if (!items)
12991
13029
  return null;
12992
13030
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
@@ -13106,7 +13144,7 @@ function definitionExpectsPlaceholderItem(definition) {
13106
13144
  );
13107
13145
  }
13108
13146
  function parseBlockItems(prosemirrorNode, definition) {
13109
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z273.string());
13147
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z274.string());
13110
13148
  if (!itemsString)
13111
13149
  return null;
13112
13150
  const itemsJson = JSON.parse(itemsString);
@@ -13118,18 +13156,18 @@ function parseBlockItems(prosemirrorNode, definition) {
13118
13156
  }
13119
13157
  function parseAppearance(prosemirrorNode) {
13120
13158
  let appearance = {};
13121
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z273.string().optional());
13159
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z274.string().optional());
13122
13160
  if (rawAppearanceString) {
13123
13161
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
13124
13162
  if (parsedAppearance.success) {
13125
13163
  appearance = parsedAppearance.data;
13126
13164
  }
13127
13165
  }
13128
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z273.number().optional());
13166
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z274.number().optional());
13129
13167
  if (columns) {
13130
13168
  appearance.numberOfColumns = columns;
13131
13169
  }
13132
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z273.string().optional());
13170
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z274.string().optional());
13133
13171
  if (backgroundColor) {
13134
13172
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
13135
13173
  if (parsedColor.success) {
@@ -13224,13 +13262,13 @@ function valueSchemaForPropertyType(type) {
13224
13262
  }
13225
13263
  }
13226
13264
  function getProsemirrorBlockId(prosemirrorNode) {
13227
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z273.string());
13265
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z274.string());
13228
13266
  if (!id)
13229
13267
  console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
13230
13268
  return id;
13231
13269
  }
13232
13270
  function getProsemirrorBlockVariantId(prosemirrorNode) {
13233
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z273.string()));
13271
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z274.string()));
13234
13272
  }
13235
13273
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
13236
13274
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
@@ -13277,6 +13315,7 @@ var BackendVersionRoomYDoc = class {
13277
13315
  transaction.pageHashesToUpdate && yDoc.updateDocumentationPageContentHashes(transaction.pageHashesToUpdate);
13278
13316
  transaction.pageApprovals && yDoc.updateApprovalStates(transaction.pageApprovals);
13279
13317
  transaction.pageApprovalIdsToDelete && yDoc.removeApprovalStates(transaction.pageApprovalIdsToDelete);
13318
+ transaction.executedTransactionIds && yDoc.updateExecutedTransactionIds(transaction.executedTransactionIds);
13280
13319
  });
13281
13320
  }
13282
13321
  getDocumentationPageContentHashes() {
@@ -13349,6 +13388,8 @@ export {
13349
13388
  DTODesignSystemVersionGetResponse,
13350
13389
  DTODesignSystemVersionJobStatusResponse,
13351
13390
  DTODesignSystemVersionJobsResponse,
13391
+ DTODesignSystemVersionRoom,
13392
+ DTODesignSystemVersionRoomResponse,
13352
13393
  DTODesignSystemVersionStats,
13353
13394
  DTODesignSystemVersionStatsQuery,
13354
13395
  DTODesignSystemVersionsListResponse,