@supernova-studio/model 1.87.4 → 1.87.6

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
@@ -359,7 +359,7 @@ var CustomDomain = z17.object({
359
359
  });
360
360
 
361
361
  // src/data-dumps/code-integration-dump.ts
362
- import { z as z181 } from "zod";
362
+ import { z as z182 } from "zod";
363
363
 
364
364
  // src/export/exporter.ts
365
365
  import { z as z21 } from "zod";
@@ -534,10 +534,10 @@ var Exporter = z21.object({
534
534
  });
535
535
 
536
536
  // src/export/pipeline.ts
537
- import { z as z180 } from "zod";
537
+ import { z as z181 } from "zod";
538
538
 
539
539
  // src/export/export-destinations.ts
540
- import { z as z179 } from "zod";
540
+ import { z as z180 } from "zod";
541
541
 
542
542
  // src/dsm/assets/asset-dynamo-record.ts
543
543
  import { z as z22 } from "zod";
@@ -5816,303 +5816,309 @@ var DesignSystemMembershipUpdates = z167.object({
5816
5816
  deleteInvitationIds: z167.string().array().optional()
5817
5817
  });
5818
5818
 
5819
- // src/dsm/views/column.ts
5819
+ // src/dsm/pipelines/query.ts
5820
5820
  import { z as z168 } from "zod";
5821
- var ElementViewBaseColumnType = z168.enum(["Name", "Description", "Value", "UpdatedAt"]);
5822
- var ElementViewColumnType = z168.union([
5823
- z168.literal("BaseProperty"),
5824
- z168.literal("PropertyDefinition"),
5825
- z168.literal("Theme")
5821
+ var PipelineExporterQuery = z168.object({
5822
+ exporterId: z168.string().optional()
5823
+ });
5824
+
5825
+ // src/dsm/views/column.ts
5826
+ import { z as z169 } from "zod";
5827
+ var ElementViewBaseColumnType = z169.enum(["Name", "Description", "Value", "UpdatedAt"]);
5828
+ var ElementViewColumnType = z169.union([
5829
+ z169.literal("BaseProperty"),
5830
+ z169.literal("PropertyDefinition"),
5831
+ z169.literal("Theme")
5826
5832
  ]);
5827
- var ElementViewColumnSharedAttributes = z168.object({
5828
- id: z168.string(),
5829
- persistentId: z168.string(),
5830
- elementDataViewId: z168.string(),
5831
- sortPosition: z168.number(),
5832
- width: z168.number()
5833
+ var ElementViewColumnSharedAttributes = z169.object({
5834
+ id: z169.string(),
5835
+ persistentId: z169.string(),
5836
+ elementDataViewId: z169.string(),
5837
+ sortPosition: z169.number(),
5838
+ width: z169.number()
5833
5839
  });
5834
5840
  var ElementViewBasePropertyColumn = ElementViewColumnSharedAttributes.extend({
5835
- type: z168.literal("BaseProperty"),
5841
+ type: z169.literal("BaseProperty"),
5836
5842
  basePropertyType: ElementViewBaseColumnType
5837
5843
  });
5838
5844
  var ElementViewPropertyDefinitionColumn = ElementViewColumnSharedAttributes.extend({
5839
- type: z168.literal("PropertyDefinition"),
5840
- propertyDefinitionId: z168.string()
5845
+ type: z169.literal("PropertyDefinition"),
5846
+ propertyDefinitionId: z169.string()
5841
5847
  });
5842
5848
  var ElementViewThemeColumn = ElementViewColumnSharedAttributes.extend({
5843
- type: z168.literal("Theme"),
5844
- themeId: z168.string()
5849
+ type: z169.literal("Theme"),
5850
+ themeId: z169.string()
5845
5851
  });
5846
- var ElementViewColumn = z168.discriminatedUnion("type", [
5852
+ var ElementViewColumn = z169.discriminatedUnion("type", [
5847
5853
  ElementViewBasePropertyColumn,
5848
5854
  ElementViewPropertyDefinitionColumn,
5849
5855
  ElementViewThemeColumn
5850
5856
  ]);
5851
5857
 
5852
5858
  // src/dsm/views/view.ts
5853
- import { z as z169 } from "zod";
5854
- var ElementView = z169.object({
5855
- id: z169.string(),
5856
- persistentId: z169.string(),
5857
- designSystemVersionId: z169.string(),
5858
- name: z169.string(),
5859
- description: z169.string(),
5860
- targetElementType: ElementPropertyTargetType,
5861
- isDefault: z169.boolean()
5862
- });
5863
-
5864
- // src/dsm/brand.ts
5865
5859
  import { z as z170 } from "zod";
5866
- var Brand = z170.object({
5860
+ var ElementView = z170.object({
5867
5861
  id: z170.string(),
5868
- designSystemVersionId: z170.string(),
5869
5862
  persistentId: z170.string(),
5863
+ designSystemVersionId: z170.string(),
5870
5864
  name: z170.string(),
5871
- description: z170.string()
5865
+ description: z170.string(),
5866
+ targetElementType: ElementPropertyTargetType,
5867
+ isDefault: z170.boolean()
5872
5868
  });
5873
5869
 
5874
- // src/dsm/design-system.ts
5870
+ // src/dsm/brand.ts
5875
5871
  import { z as z171 } from "zod";
5876
- var DesignSystemAccessMode = z171.enum(["Open", "InviteOnly"]);
5877
- var DesignSystemSwitcher = z171.object({
5878
- isEnabled: z171.boolean(),
5879
- designSystemIds: z171.array(z171.string())
5880
- });
5881
- var DesignSystem = z171.object({
5872
+ var Brand = z171.object({
5882
5873
  id: z171.string(),
5883
- workspaceId: z171.string(),
5874
+ designSystemVersionId: z171.string(),
5875
+ persistentId: z171.string(),
5884
5876
  name: z171.string(),
5885
- description: z171.string(),
5886
- docExporterId: nullishToOptional(z171.string()),
5887
- docSlug: z171.string(),
5888
- docUserSlug: nullishToOptional(z171.string()),
5889
- docSlugDeprecated: z171.string(),
5890
- isMultibrand: z171.boolean(),
5891
- docViewUrl: nullishToOptional(z171.string()),
5892
- basePrefixes: z171.array(z171.string()),
5877
+ description: z171.string()
5878
+ });
5879
+
5880
+ // src/dsm/design-system.ts
5881
+ import { z as z172 } from "zod";
5882
+ var DesignSystemAccessMode = z172.enum(["Open", "InviteOnly"]);
5883
+ var DesignSystemSwitcher = z172.object({
5884
+ isEnabled: z172.boolean(),
5885
+ designSystemIds: z172.array(z172.string())
5886
+ });
5887
+ var DesignSystem = z172.object({
5888
+ id: z172.string(),
5889
+ workspaceId: z172.string(),
5890
+ name: z172.string(),
5891
+ description: z172.string(),
5892
+ docExporterId: nullishToOptional(z172.string()),
5893
+ docSlug: z172.string(),
5894
+ docUserSlug: nullishToOptional(z172.string()),
5895
+ docSlugDeprecated: z172.string(),
5896
+ isMultibrand: z172.boolean(),
5897
+ docViewUrl: nullishToOptional(z172.string()),
5898
+ basePrefixes: z172.array(z172.string()),
5893
5899
  designSystemSwitcher: nullishToOptional(DesignSystemSwitcher),
5894
- isApprovalFeatureEnabled: z171.boolean(),
5895
- approvalRequiredForPublishing: z171.boolean(),
5900
+ isApprovalFeatureEnabled: z172.boolean(),
5901
+ approvalRequiredForPublishing: z172.boolean(),
5896
5902
  accessMode: DesignSystemAccessMode,
5897
- membersGenerated: z171.boolean(),
5898
- sharedDraftId: z171.string().optional(),
5899
- createdAt: z171.coerce.date(),
5900
- updatedAt: z171.coerce.date()
5903
+ membersGenerated: z172.boolean(),
5904
+ sharedDraftId: z172.string().optional(),
5905
+ createdAt: z172.coerce.date(),
5906
+ updatedAt: z172.coerce.date()
5901
5907
  });
5902
5908
 
5903
5909
  // src/dsm/exporter-property-values-collection.ts
5904
- import { z as z172 } from "zod";
5905
- var ExporterPropertyImageValue = z172.object({
5910
+ import { z as z173 } from "zod";
5911
+ var ExporterPropertyImageValue = z173.object({
5906
5912
  asset: PageBlockAsset.optional(),
5907
- assetId: z172.string().optional(),
5908
- assetUrl: z172.string().optional()
5909
- });
5910
- var ExporterConfigurationPropertyValue = z172.object({
5911
- key: z172.string(),
5912
- value: z172.union([
5913
- z172.number(),
5914
- z172.string(),
5915
- z172.boolean(),
5913
+ assetId: z173.string().optional(),
5914
+ assetUrl: z173.string().optional()
5915
+ });
5916
+ var ExporterConfigurationPropertyValue = z173.object({
5917
+ key: z173.string(),
5918
+ value: z173.union([
5919
+ z173.number(),
5920
+ z173.string(),
5921
+ z173.boolean(),
5916
5922
  ExporterPropertyImageValue,
5917
5923
  ColorTokenData,
5918
5924
  TypographyTokenData
5919
5925
  ])
5920
5926
  });
5921
- var ExporterPropertyValuesCollection = z172.object({
5922
- id: z172.string(),
5923
- designSystemId: z172.string(),
5924
- exporterId: z172.string(),
5925
- values: z172.array(ExporterConfigurationPropertyValue)
5927
+ var ExporterPropertyValuesCollection = z173.object({
5928
+ id: z173.string(),
5929
+ designSystemId: z173.string(),
5930
+ exporterId: z173.string(),
5931
+ values: z173.array(ExporterConfigurationPropertyValue)
5926
5932
  });
5927
5933
 
5928
5934
  // src/dsm/published-doc-page-visits.ts
5929
- import { z as z173 } from "zod";
5930
- var PublishedDocPageVisitsEntry = z173.object({
5931
- id: z173.string(),
5932
- versionId: z173.string(),
5933
- pagePersistentId: z173.string(),
5934
- locale: z173.string().optional(),
5935
- timestamp: z173.coerce.date(),
5936
- visits: z173.number(),
5937
- userId: nullishToOptional(z173.string()),
5938
- anonymousId: nullishToOptional(z173.string())
5935
+ import { z as z174 } from "zod";
5936
+ var PublishedDocPageVisitsEntry = z174.object({
5937
+ id: z174.string(),
5938
+ versionId: z174.string(),
5939
+ pagePersistentId: z174.string(),
5940
+ locale: z174.string().optional(),
5941
+ timestamp: z174.coerce.date(),
5942
+ visits: z174.number(),
5943
+ userId: nullishToOptional(z174.string()),
5944
+ anonymousId: nullishToOptional(z174.string())
5939
5945
  });
5940
5946
 
5941
5947
  // src/dsm/published-doc-page.ts
5942
- import { z as z174 } from "zod";
5948
+ import { z as z175 } from "zod";
5943
5949
  var SHORT_PERSISTENT_ID_LENGTH = 8;
5944
5950
  function tryParseShortPersistentId(url = "/") {
5945
5951
  const lastUrlPart = url.split("/").pop() || "";
5946
5952
  const shortPersistentId = lastUrlPart.split("-").pop()?.replaceAll(".html", "") || null;
5947
5953
  return shortPersistentId?.length === SHORT_PERSISTENT_ID_LENGTH ? shortPersistentId : null;
5948
5954
  }
5949
- var PublishedDocPage = z174.object({
5950
- id: z174.string(),
5951
- publishedDocId: z174.string(),
5952
- pageShortPersistentId: z174.string(),
5953
- pagePersistentId: z174.string().optional(),
5954
- pathV1: z174.string(),
5955
- pathV2: z174.string(),
5956
- storagePath: z174.string(),
5957
- locale: z174.string().optional(),
5958
- isPrivate: z174.boolean(),
5959
- isHidden: z174.boolean(),
5960
- createdAt: z174.coerce.date(),
5961
- updatedAt: z174.coerce.date()
5955
+ var PublishedDocPage = z175.object({
5956
+ id: z175.string(),
5957
+ publishedDocId: z175.string(),
5958
+ pageShortPersistentId: z175.string(),
5959
+ pagePersistentId: z175.string().optional(),
5960
+ pathV1: z175.string(),
5961
+ pathV2: z175.string(),
5962
+ storagePath: z175.string(),
5963
+ locale: z175.string().optional(),
5964
+ isPrivate: z175.boolean(),
5965
+ isHidden: z175.boolean(),
5966
+ createdAt: z175.coerce.date(),
5967
+ updatedAt: z175.coerce.date()
5962
5968
  });
5963
5969
 
5964
5970
  // src/dsm/published-doc.ts
5965
- import { z as z175 } from "zod";
5971
+ import { z as z176 } from "zod";
5966
5972
  var publishedDocEnvironments = ["Live", "Preview"];
5967
- var PublishedDocEnvironment = z175.enum(publishedDocEnvironments);
5968
- var PublishedDocsChecksums = z175.record(z175.string());
5969
- var PublishedDocRoutingVersion = z175.enum(["1", "2"]);
5970
- var PublishedDoc = z175.object({
5971
- id: z175.string(),
5972
- designSystemVersionId: z175.string(),
5973
- createdAt: z175.coerce.date(),
5974
- updatedAt: z175.coerce.date(),
5975
- lastPublishedAt: z175.coerce.date(),
5976
- isDefault: z175.boolean(),
5977
- isPublic: z175.boolean(),
5973
+ var PublishedDocEnvironment = z176.enum(publishedDocEnvironments);
5974
+ var PublishedDocsChecksums = z176.record(z176.string());
5975
+ var PublishedDocRoutingVersion = z176.enum(["1", "2"]);
5976
+ var PublishedDoc = z176.object({
5977
+ id: z176.string(),
5978
+ designSystemVersionId: z176.string(),
5979
+ createdAt: z176.coerce.date(),
5980
+ updatedAt: z176.coerce.date(),
5981
+ lastPublishedAt: z176.coerce.date(),
5982
+ isDefault: z176.boolean(),
5983
+ isPublic: z176.boolean(),
5978
5984
  environment: PublishedDocEnvironment,
5979
5985
  checksums: PublishedDocsChecksums,
5980
- storagePath: z175.string(),
5981
- wasMigrated: z175.boolean(),
5986
+ storagePath: z176.string(),
5987
+ wasMigrated: z176.boolean(),
5982
5988
  routingVersion: PublishedDocRoutingVersion,
5983
- usesLocalizations: z175.boolean(),
5984
- wasPublishedWithLocalizations: z175.boolean(),
5985
- tokenCount: z175.number(),
5986
- assetCount: z175.number()
5989
+ usesLocalizations: z176.boolean(),
5990
+ wasPublishedWithLocalizations: z176.boolean(),
5991
+ tokenCount: z176.number(),
5992
+ assetCount: z176.number()
5987
5993
  });
5988
5994
 
5989
5995
  // src/dsm/storybook-entry.ts
5990
- import { z as z176 } from "zod";
5991
- var StorybookEntryOrigin = z176.object({
5992
- id: z176.string(),
5993
- type: z176.enum(["story", "docs"]),
5994
- name: z176.string(),
5995
- title: z176.string(),
5996
+ import { z as z177 } from "zod";
5997
+ var StorybookEntryOrigin = z177.object({
5998
+ id: z177.string(),
5999
+ type: z177.enum(["story", "docs"]),
6000
+ name: z177.string(),
6001
+ title: z177.string(),
5996
6002
  // Same as 'kind' for v3
5997
- index: z176.number().optional()
5998
- });
5999
- var StorybookEntry = z176.object({
6000
- id: z176.string(),
6001
- storyId: z176.string(),
6002
- designSystemId: z176.string(),
6003
- sourceId: z176.string(),
6004
- aliases: z176.array(z176.string()).optional(),
6005
- url: z176.string(),
6006
- isDeleted: z176.boolean().optional(),
6007
- origin: StorybookEntryOrigin,
6008
- createdAt: z176.coerce.date(),
6009
- updatedAt: z176.coerce.date()
6003
+ index: z177.number().optional()
6010
6004
  });
6011
-
6012
- // src/dsm/storybook-payload.ts
6013
- import { z as z177 } from "zod";
6014
- var StorybookPayload = z177.object({
6005
+ var StorybookEntry = z177.object({
6015
6006
  id: z177.string(),
6007
+ storyId: z177.string(),
6016
6008
  designSystemId: z177.string(),
6017
6009
  sourceId: z177.string(),
6018
- payload: z177.any(),
6010
+ aliases: z177.array(z177.string()).optional(),
6011
+ url: z177.string(),
6012
+ isDeleted: z177.boolean().optional(),
6013
+ origin: StorybookEntryOrigin,
6019
6014
  createdAt: z177.coerce.date(),
6020
6015
  updatedAt: z177.coerce.date()
6021
6016
  });
6022
6017
 
6023
- // src/dsm/version.ts
6018
+ // src/dsm/storybook-payload.ts
6024
6019
  import { z as z178 } from "zod";
6025
- var DesignSystemVersion = z178.object({
6026
- id: z178.string(),
6027
- version: z178.string(),
6028
- createdAt: z178.coerce.date(),
6029
- designSystemId: z178.string(),
6030
- name: z178.string(),
6031
- comment: z178.string(),
6032
- isReadonly: z178.boolean(),
6033
- changeLog: z178.string(),
6034
- parentId: z178.string().optional(),
6035
- isDraftsFeatureAdopted: z178.boolean()
6036
- });
6037
- var VersionCreationJobStatus = z178.enum(["Success", "InProgress", "Error"]);
6038
- var VersionCreationJob = z178.object({
6020
+ var StorybookPayload = z178.object({
6039
6021
  id: z178.string(),
6040
- version: z178.string(),
6041
6022
  designSystemId: z178.string(),
6042
- designSystemVersionId: nullishToOptional(z178.string()),
6023
+ sourceId: z178.string(),
6024
+ payload: z178.any(),
6025
+ createdAt: z178.coerce.date(),
6026
+ updatedAt: z178.coerce.date()
6027
+ });
6028
+
6029
+ // src/dsm/version.ts
6030
+ import { z as z179 } from "zod";
6031
+ var DesignSystemVersion = z179.object({
6032
+ id: z179.string(),
6033
+ version: z179.string(),
6034
+ createdAt: z179.coerce.date(),
6035
+ designSystemId: z179.string(),
6036
+ name: z179.string(),
6037
+ comment: z179.string(),
6038
+ isReadonly: z179.boolean(),
6039
+ changeLog: z179.string(),
6040
+ parentId: z179.string().optional(),
6041
+ isDraftsFeatureAdopted: z179.boolean()
6042
+ });
6043
+ var VersionCreationJobStatus = z179.enum(["Success", "InProgress", "Error"]);
6044
+ var VersionCreationJob = z179.object({
6045
+ id: z179.string(),
6046
+ version: z179.string(),
6047
+ designSystemId: z179.string(),
6048
+ designSystemVersionId: nullishToOptional(z179.string()),
6043
6049
  status: VersionCreationJobStatus,
6044
- errorMessage: nullishToOptional(z178.string())
6050
+ errorMessage: nullishToOptional(z179.string())
6045
6051
  });
6046
6052
 
6047
6053
  // src/export/export-destinations.ts
6048
6054
  var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
6049
6055
  var BITBUCKET_MAX_LENGTH = 64;
6050
- var ExportJobDocumentationChanges = z179.object({
6051
- pagePersistentIds: z179.string().array(),
6052
- groupPersistentIds: z179.string().array(),
6053
- selectivePublishing: z179.boolean().optional()
6056
+ var ExportJobDocumentationChanges = z180.object({
6057
+ pagePersistentIds: z180.string().array(),
6058
+ groupPersistentIds: z180.string().array(),
6059
+ selectivePublishing: z180.boolean().optional()
6054
6060
  });
6055
- var ExporterDestinationDocs = z179.object({
6061
+ var ExporterDestinationDocs = z180.object({
6056
6062
  environment: PublishedDocEnvironment,
6057
6063
  changes: nullishToOptional(ExportJobDocumentationChanges)
6058
6064
  });
6059
- var GitCommonDestinationOptions = z179.object({
6060
- branch: z179.string(),
6061
- relativePath: nullishToOptional(z179.string()),
6062
- purgeDirectory: nullishToOptional(z179.boolean()),
6063
- commitAuthorName: nullishToOptional(z179.string()),
6064
- commitAuthorEmail: nullishToOptional(z179.string()),
6065
- commitMessage: nullishToOptional(z179.string()),
6066
- pullRequestTitle: nullishToOptional(z179.string()),
6067
- pullRequestDescription: nullishToOptional(z179.string()),
6068
- checkoutNoTags: nullishToOptional(z179.boolean()),
6069
- checkoutNoBlobs: nullishToOptional(z179.boolean()),
6070
- checkoutSparse: nullishToOptional(z179.boolean())
6071
- });
6072
- var ExporterDestinationS3 = z179.object({});
6073
- var ExporterDestinationGithub = z179.object({
6074
- credentialId: z179.string().optional(),
6065
+ var GitCommonDestinationOptions = z180.object({
6066
+ branch: z180.string(),
6067
+ relativePath: nullishToOptional(z180.string()),
6068
+ purgeDirectory: nullishToOptional(z180.boolean()),
6069
+ commitAuthorName: nullishToOptional(z180.string()),
6070
+ commitAuthorEmail: nullishToOptional(z180.string()),
6071
+ commitMessage: nullishToOptional(z180.string()),
6072
+ pullRequestTitle: nullishToOptional(z180.string()),
6073
+ pullRequestDescription: nullishToOptional(z180.string()),
6074
+ checkoutNoTags: nullishToOptional(z180.boolean()),
6075
+ checkoutNoBlobs: nullishToOptional(z180.boolean()),
6076
+ checkoutSparse: nullishToOptional(z180.boolean())
6077
+ });
6078
+ var ExporterDestinationS3 = z180.object({});
6079
+ var ExporterDestinationGithub = z180.object({
6080
+ credentialId: z180.string().optional(),
6075
6081
  // Repository
6076
- url: z179.string(),
6082
+ url: z180.string(),
6077
6083
  // Legacy deprecated fields. Use `credentialId` instead
6078
- connectionId: nullishToOptional(z179.string()),
6079
- userId: nullishToOptional(z179.number())
6084
+ connectionId: nullishToOptional(z180.string()),
6085
+ userId: nullishToOptional(z180.number())
6080
6086
  }).extend(GitCommonDestinationOptions.shape);
6081
- var ExporterDestinationAzure = z179.object({
6082
- credentialId: z179.string().optional(),
6087
+ var ExporterDestinationAzure = z180.object({
6088
+ credentialId: z180.string().optional(),
6083
6089
  // Repository
6084
- organizationId: z179.string(),
6085
- projectId: z179.string(),
6086
- repositoryId: z179.string(),
6090
+ organizationId: z180.string(),
6091
+ projectId: z180.string(),
6092
+ repositoryId: z180.string(),
6087
6093
  // Maybe not needed
6088
- url: nullishToOptional(z179.string()),
6094
+ url: nullishToOptional(z180.string()),
6089
6095
  // Legacy deprecated fields. Use `credentialId` instead
6090
- connectionId: nullishToOptional(z179.string()),
6091
- userId: nullishToOptional(z179.number())
6096
+ connectionId: nullishToOptional(z180.string()),
6097
+ userId: nullishToOptional(z180.number())
6092
6098
  }).extend(GitCommonDestinationOptions.shape);
6093
- var ExporterDestinationGitlab = z179.object({
6094
- credentialId: z179.string().optional(),
6099
+ var ExporterDestinationGitlab = z180.object({
6100
+ credentialId: z180.string().optional(),
6095
6101
  // Repository
6096
- projectId: z179.string(),
6102
+ projectId: z180.string(),
6097
6103
  // Maybe not needed
6098
- url: nullishToOptional(z179.string()),
6104
+ url: nullishToOptional(z180.string()),
6099
6105
  // Legacy deprecated fields. Use `credentialId` instead
6100
- connectionId: nullishToOptional(z179.string()),
6101
- userId: nullishToOptional(z179.number())
6106
+ connectionId: nullishToOptional(z180.string()),
6107
+ userId: nullishToOptional(z180.number())
6102
6108
  }).extend(GitCommonDestinationOptions.shape);
6103
- var ExporterDestinationBitbucket = z179.object({
6104
- credentialId: z179.string().optional(),
6109
+ var ExporterDestinationBitbucket = z180.object({
6110
+ credentialId: z180.string().optional(),
6105
6111
  // Repository
6106
- workspaceSlug: z179.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
6107
- projectKey: z179.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
6108
- repoSlug: z179.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
6109
- url: nullishToOptional(z179.string()),
6112
+ workspaceSlug: z180.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
6113
+ projectKey: z180.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
6114
+ repoSlug: z180.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
6115
+ url: nullishToOptional(z180.string()),
6110
6116
  // Legacy deprecated fields. Use `credentialId` instead
6111
- connectionId: nullishToOptional(z179.string()),
6112
- userId: nullishToOptional(z179.number())
6117
+ connectionId: nullishToOptional(z180.string()),
6118
+ userId: nullishToOptional(z180.number())
6113
6119
  }).extend(GitCommonDestinationOptions.shape);
6114
- var ExportDestinationsMap = z179.object({
6115
- webhookUrl: z179.string().optional(),
6120
+ var ExportDestinationsMap = z180.object({
6121
+ webhookUrl: z180.string().optional(),
6116
6122
  destinationSnDocs: ExporterDestinationDocs.optional(),
6117
6123
  destinationS3: ExporterDestinationS3.optional(),
6118
6124
  destinationGithub: ExporterDestinationGithub.optional(),
@@ -6120,8 +6126,8 @@ var ExportDestinationsMap = z179.object({
6120
6126
  destinationGitlab: ExporterDestinationGitlab.optional(),
6121
6127
  destinationBitbucket: ExporterDestinationBitbucket.optional()
6122
6128
  });
6123
- var ExportDestinationsMapUpdate = z179.object({
6124
- webhookUrl: z179.string().nullish(),
6129
+ var ExportDestinationsMapUpdate = z180.object({
6130
+ webhookUrl: z180.string().nullish(),
6125
6131
  destinationSnDocs: ExporterDestinationDocs.nullish(),
6126
6132
  destinationS3: ExporterDestinationS3.nullish(),
6127
6133
  destinationGithub: ExporterDestinationGithub.nullish(),
@@ -6131,164 +6137,164 @@ var ExportDestinationsMapUpdate = z179.object({
6131
6137
  });
6132
6138
 
6133
6139
  // src/export/pipeline.ts
6134
- var PipelineEventType = z180.enum([
6140
+ var PipelineEventType = z181.enum([
6135
6141
  "OnVersionReleased",
6136
6142
  "OnHeadChanged",
6137
6143
  "OnSourceUpdated",
6138
6144
  "OnDocumentationPublished",
6139
6145
  "None"
6140
6146
  ]);
6141
- var PipelineDestinationGitType = z180.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
6142
- var PipelineDestinationExtraType = z180.enum(["WebhookUrl", "S3", "Documentation"]);
6143
- var PipelineDestinationType = z180.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
6144
- var Pipeline = z180.object({
6145
- id: z180.string(),
6146
- name: z180.string(),
6147
+ var PipelineDestinationGitType = z181.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
6148
+ var PipelineDestinationExtraType = z181.enum(["WebhookUrl", "S3", "Documentation"]);
6149
+ var PipelineDestinationType = z181.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
6150
+ var Pipeline = z181.object({
6151
+ id: z181.string(),
6152
+ name: z181.string(),
6147
6153
  eventType: PipelineEventType,
6148
- isEnabled: z180.boolean(),
6149
- workspaceId: z180.string(),
6150
- designSystemId: z180.string(),
6151
- exporterId: z180.string(),
6152
- brandPersistentId: z180.string().optional(),
6153
- themePersistentId: z180.string().optional(),
6154
- themePersistentIds: z180.string().array().optional(),
6154
+ isEnabled: z181.boolean(),
6155
+ workspaceId: z181.string(),
6156
+ designSystemId: z181.string(),
6157
+ exporterId: z181.string(),
6158
+ brandPersistentId: z181.string().optional(),
6159
+ themePersistentId: z181.string().optional(),
6160
+ themePersistentIds: z181.string().array().optional(),
6155
6161
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
6156
- isExporterDeprecated: z180.boolean(),
6162
+ isExporterDeprecated: z181.boolean(),
6157
6163
  // Destinations
6158
6164
  ...ExportDestinationsMap.shape
6159
6165
  });
6160
6166
 
6161
6167
  // src/data-dumps/code-integration-dump.ts
6162
- var ExportJobDump = z181.object({
6163
- id: z181.string(),
6164
- createdAt: z181.coerce.date(),
6165
- finishedAt: z181.coerce.date(),
6166
- exportArtefacts: z181.string()
6168
+ var ExportJobDump = z182.object({
6169
+ id: z182.string(),
6170
+ createdAt: z182.coerce.date(),
6171
+ finishedAt: z182.coerce.date(),
6172
+ exportArtefacts: z182.string()
6167
6173
  });
6168
- var CodeIntegrationDump = z181.object({
6174
+ var CodeIntegrationDump = z182.object({
6169
6175
  exporters: Exporter.array(),
6170
6176
  pipelines: Pipeline.array(),
6171
6177
  exportJobs: ExportJobDump.array()
6172
6178
  });
6173
6179
 
6174
6180
  // src/data-dumps/design-system-dump.ts
6175
- import { z as z191 } from "zod";
6181
+ import { z as z192 } from "zod";
6176
6182
 
6177
6183
  // src/data-dumps/design-system-version-dump.ts
6178
- import { z as z190 } from "zod";
6184
+ import { z as z191 } from "zod";
6179
6185
 
6180
6186
  // src/liveblocks/rooms/design-system-version-room.ts
6181
- import { z as z182 } from "zod";
6187
+ import { z as z183 } from "zod";
6182
6188
  var DesignSystemVersionRoom = Entity.extend({
6183
- designSystemVersionId: z182.string(),
6184
- liveblocksId: z182.string()
6185
- });
6186
- var DesignSystemVersionRoomInternalSettings = z182.object({
6187
- routingVersion: z182.string(),
6188
- isDraftFeatureAdopted: z182.boolean(),
6189
- isApprovalFeatureEnabled: z182.boolean(),
6190
- approvalRequiredForPublishing: z182.boolean()
6191
- });
6192
- var DesignSystemVersionRoomInitialState = z182.object({
6193
- pages: z182.array(DocumentationPageV2),
6194
- groups: z182.array(ElementGroup),
6195
- pageSnapshots: z182.array(DocumentationPageSnapshot),
6196
- groupSnapshots: z182.array(ElementGroupSnapshot),
6197
- pageApprovals: z182.array(DocumentationPageApproval),
6189
+ designSystemVersionId: z183.string(),
6190
+ liveblocksId: z183.string()
6191
+ });
6192
+ var DesignSystemVersionRoomInternalSettings = z183.object({
6193
+ routingVersion: z183.string(),
6194
+ isDraftFeatureAdopted: z183.boolean(),
6195
+ isApprovalFeatureEnabled: z183.boolean(),
6196
+ approvalRequiredForPublishing: z183.boolean()
6197
+ });
6198
+ var DesignSystemVersionRoomInitialState = z183.object({
6199
+ pages: z183.array(DocumentationPageV2),
6200
+ groups: z183.array(ElementGroup),
6201
+ pageSnapshots: z183.array(DocumentationPageSnapshot),
6202
+ groupSnapshots: z183.array(ElementGroupSnapshot),
6203
+ pageApprovals: z183.array(DocumentationPageApproval),
6198
6204
  internalSettings: DesignSystemVersionRoomInternalSettings,
6199
- pageHashes: z182.record(z182.string()).optional(),
6200
- storageVersion: z182.literal(1).or(z182.literal(2))
6201
- });
6202
- var DesignSystemVersionRoomUpdate = z182.object({
6203
- pages: z182.array(DocumentationPageV2),
6204
- groups: z182.array(ElementGroup),
6205
- pageIdsToDelete: z182.array(z182.string()),
6206
- groupIdsToDelete: z182.array(z182.string()),
6207
- pageSnapshots: z182.array(DocumentationPageSnapshot),
6208
- groupSnapshots: z182.array(ElementGroupSnapshot),
6209
- pageSnapshotIdsToDelete: z182.array(z182.string()),
6210
- groupSnapshotIdsToDelete: z182.array(z182.string()),
6211
- pageHashesToUpdate: z182.record(z182.string(), z182.string()),
6212
- pageApprovals: z182.array(DocumentationPageApproval),
6213
- pageApprovalIdsToDelete: z182.array(z182.string()),
6214
- executedTransactionIds: z182.array(z182.string())
6205
+ pageHashes: z183.record(z183.string()).optional(),
6206
+ storageVersion: z183.literal(1).or(z183.literal(2))
6207
+ });
6208
+ var DesignSystemVersionRoomUpdate = z183.object({
6209
+ pages: z183.array(DocumentationPageV2),
6210
+ groups: z183.array(ElementGroup),
6211
+ pageIdsToDelete: z183.array(z183.string()),
6212
+ groupIdsToDelete: z183.array(z183.string()),
6213
+ pageSnapshots: z183.array(DocumentationPageSnapshot),
6214
+ groupSnapshots: z183.array(ElementGroupSnapshot),
6215
+ pageSnapshotIdsToDelete: z183.array(z183.string()),
6216
+ groupSnapshotIdsToDelete: z183.array(z183.string()),
6217
+ pageHashesToUpdate: z183.record(z183.string(), z183.string()),
6218
+ pageApprovals: z183.array(DocumentationPageApproval),
6219
+ pageApprovalIdsToDelete: z183.array(z183.string()),
6220
+ executedTransactionIds: z183.array(z183.string())
6215
6221
  });
6216
6222
 
6217
6223
  // src/liveblocks/rooms/documentation-page-room.ts
6218
- import { z as z183 } from "zod";
6224
+ import { z as z184 } from "zod";
6219
6225
  var DocumentationPageRoom = Entity.extend({
6220
- designSystemVersionId: z183.string(),
6221
- documentationPageId: z183.string(),
6222
- liveblocksId: z183.string(),
6223
- isDirty: z183.boolean()
6226
+ designSystemVersionId: z184.string(),
6227
+ documentationPageId: z184.string(),
6228
+ liveblocksId: z184.string(),
6229
+ isDirty: z184.boolean()
6224
6230
  });
6225
- var DocumentationPageRoomState = z183.object({
6226
- pageItems: z183.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2))
6231
+ var DocumentationPageRoomState = z184.object({
6232
+ pageItems: z184.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2))
6227
6233
  });
6228
- var DocumentationPageRoomRoomUpdate = z183.object({
6234
+ var DocumentationPageRoomRoomUpdate = z184.object({
6229
6235
  page: DocumentationPageV2,
6230
6236
  pageParent: ElementGroup
6231
6237
  });
6232
6238
  var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.extend({
6233
- pageItems: z183.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
6234
- blockDefinitions: z183.array(PageBlockDefinition)
6239
+ pageItems: z184.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
6240
+ blockDefinitions: z184.array(PageBlockDefinition)
6235
6241
  });
6236
- var RestoredDocumentationPage = z183.object({
6242
+ var RestoredDocumentationPage = z184.object({
6237
6243
  page: DocumentationPageV2,
6238
6244
  pageParent: ElementGroup,
6239
6245
  pageContent: DocumentationPageContentData,
6240
- contentHash: z183.string()
6246
+ contentHash: z184.string()
6241
6247
  });
6242
- var RestoredDocumentationGroup = z183.object({
6248
+ var RestoredDocumentationGroup = z184.object({
6243
6249
  group: ElementGroup,
6244
6250
  parent: ElementGroup
6245
6251
  });
6246
6252
 
6247
6253
  // src/liveblocks/rooms/forge-feature-room.ts
6248
- import { z as z184 } from "zod";
6254
+ import { z as z185 } from "zod";
6249
6255
  var ForgeFeatureRoom = Entity.extend({
6250
- featureId: z184.string(),
6251
- projectId: z184.string(),
6252
- liveblocksId: z184.string()
6256
+ featureId: z185.string(),
6257
+ projectId: z185.string(),
6258
+ liveblocksId: z185.string()
6253
6259
  });
6254
6260
 
6255
6261
  // src/liveblocks/rooms/forge-project-artifact-room.ts
6256
- import { z as z185 } from "zod";
6262
+ import { z as z186 } from "zod";
6257
6263
  var ForgeProjectArtifactRoom = Entity.extend({
6258
- artifactId: z185.string(),
6259
- projectId: z185.string(),
6260
- liveblocksId: z185.string(),
6261
- isDirty: z185.boolean()
6264
+ artifactId: z186.string(),
6265
+ projectId: z186.string(),
6266
+ liveblocksId: z186.string(),
6267
+ isDirty: z186.boolean()
6262
6268
  });
6263
6269
 
6264
6270
  // src/liveblocks/rooms/forge-project-room.ts
6265
- import { z as z186 } from "zod";
6271
+ import { z as z187 } from "zod";
6266
6272
  var ForgeProjectRoom = Entity.extend({
6267
- projectId: z186.string(),
6268
- liveblocksId: z186.string()
6269
- });
6270
- var ForgeProjectRoomInitialState = z186.object({
6271
- artifacts: z186.array(ForgeProjectArtifact),
6272
- features: z186.array(ProjectFeature),
6273
- artifactSections: z186.array(ForgeSection),
6274
- featureSections: z186.array(ForgeSection),
6275
- relations: z186.array(ForgeRelation)
6276
- });
6277
- var ForgeProjectRoomUpdate = z186.object({
6278
- artifacts: z186.array(ForgeProjectArtifact).optional(),
6279
- artifactIdsToDelete: z186.array(z186.string()).optional(),
6280
- features: z186.array(ProjectFeature).optional(),
6281
- featureIdsToDelete: z186.array(z186.string()).optional(),
6282
- artifactSections: z186.array(ForgeSection).optional(),
6283
- artifactSectionIdsToDelete: z186.array(z186.string()).optional(),
6284
- featureSections: z186.array(ForgeSection).optional(),
6285
- featureSectionIdsToDelete: z186.array(z186.string()).optional(),
6286
- relations: z186.array(ForgeRelation).optional(),
6287
- executedTransactionIds: z186.string().array().optional()
6273
+ projectId: z187.string(),
6274
+ liveblocksId: z187.string()
6275
+ });
6276
+ var ForgeProjectRoomInitialState = z187.object({
6277
+ artifacts: z187.array(ForgeProjectArtifact),
6278
+ features: z187.array(ProjectFeature),
6279
+ artifactSections: z187.array(ForgeSection),
6280
+ featureSections: z187.array(ForgeSection),
6281
+ relations: z187.array(ForgeRelation)
6282
+ });
6283
+ var ForgeProjectRoomUpdate = z187.object({
6284
+ artifacts: z187.array(ForgeProjectArtifact).optional(),
6285
+ artifactIdsToDelete: z187.array(z187.string()).optional(),
6286
+ features: z187.array(ProjectFeature).optional(),
6287
+ featureIdsToDelete: z187.array(z187.string()).optional(),
6288
+ artifactSections: z187.array(ForgeSection).optional(),
6289
+ artifactSectionIdsToDelete: z187.array(z187.string()).optional(),
6290
+ featureSections: z187.array(ForgeSection).optional(),
6291
+ featureSectionIdsToDelete: z187.array(z187.string()).optional(),
6292
+ relations: z187.array(ForgeRelation).optional(),
6293
+ executedTransactionIds: z187.string().array().optional()
6288
6294
  });
6289
6295
 
6290
6296
  // src/liveblocks/rooms/room-type.ts
6291
- import { z as z187 } from "zod";
6297
+ import { z as z188 } from "zod";
6292
6298
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
6293
6299
  RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
6294
6300
  RoomTypeEnum2["DocumentationPage"] = "doc-page";
@@ -6299,36 +6305,36 @@ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
6299
6305
  RoomTypeEnum2["ForgeProjectFeature"] = "forge-project-feature";
6300
6306
  return RoomTypeEnum2;
6301
6307
  })(RoomTypeEnum || {});
6302
- var RoomTypeSchema = z187.nativeEnum(RoomTypeEnum);
6308
+ var RoomTypeSchema = z188.nativeEnum(RoomTypeEnum);
6303
6309
  var RoomType = RoomTypeSchema.enum;
6304
6310
 
6305
6311
  // src/liveblocks/rooms/workspace-room.ts
6306
- import { z as z188 } from "zod";
6312
+ import { z as z189 } from "zod";
6307
6313
  var WorkspaceRoom = Entity.extend({
6308
- workspaceId: z188.string(),
6309
- liveblocksId: z188.string()
6314
+ workspaceId: z189.string(),
6315
+ liveblocksId: z189.string()
6310
6316
  });
6311
6317
 
6312
6318
  // src/data-dumps/published-docs-dump.ts
6313
- import { z as z189 } from "zod";
6314
- var PublishedDocsDump = z189.object({
6319
+ import { z as z190 } from "zod";
6320
+ var PublishedDocsDump = z190.object({
6315
6321
  documentation: PublishedDoc,
6316
6322
  pages: PublishedDocPage.array()
6317
6323
  });
6318
6324
 
6319
6325
  // src/data-dumps/design-system-version-dump.ts
6320
- var DocumentationThreadDump = z190.object({
6326
+ var DocumentationThreadDump = z191.object({
6321
6327
  thread: DocumentationCommentThread,
6322
6328
  comments: DocumentationComment.array()
6323
6329
  });
6324
- var DocumentationPageRoomDump = z190.object({
6330
+ var DocumentationPageRoomDump = z191.object({
6325
6331
  room: DocumentationPageRoom,
6326
6332
  threads: DocumentationThreadDump.array()
6327
6333
  });
6328
- var DesignSystemVersionMultiplayerDump = z190.object({
6334
+ var DesignSystemVersionMultiplayerDump = z191.object({
6329
6335
  documentationPages: DocumentationPageRoomDump.array()
6330
6336
  });
6331
- var DesignSystemVersionDump = z190.object({
6337
+ var DesignSystemVersionDump = z191.object({
6332
6338
  version: DesignSystemVersion,
6333
6339
  brands: Brand.array(),
6334
6340
  elements: DesignElement.array(),
@@ -6343,7 +6349,7 @@ var DesignSystemVersionDump = z190.object({
6343
6349
  });
6344
6350
 
6345
6351
  // src/data-dumps/design-system-dump.ts
6346
- var DesignSystemDump = z191.object({
6352
+ var DesignSystemDump = z192.object({
6347
6353
  designSystem: DesignSystem,
6348
6354
  dataSources: DataSource.array(),
6349
6355
  versions: DesignSystemVersionDump.array(),
@@ -6352,50 +6358,50 @@ var DesignSystemDump = z191.object({
6352
6358
  });
6353
6359
 
6354
6360
  // src/data-dumps/user-data-dump.ts
6355
- import { z as z194 } from "zod";
6361
+ import { z as z195 } from "zod";
6356
6362
 
6357
6363
  // src/data-dumps/workspace-dump.ts
6358
- import { z as z193 } from "zod";
6364
+ import { z as z194 } from "zod";
6359
6365
 
6360
6366
  // src/integrations/integration.ts
6361
- import { z as z192 } from "zod";
6362
- var IntegrationDesignSystem = z192.object({
6363
- designSystemId: z192.string(),
6364
- brandId: z192.string(),
6365
- title: z192.string().optional(),
6366
- userId: z192.string().optional(),
6367
- date: z192.coerce.date().optional()
6368
- });
6369
- var IntegrationCredentialsType = z192.enum(["OAuth2", "PAT"]);
6370
- var IntegrationCredentialsState = z192.enum(["Active", "Inactive"]);
6371
- var IntegrationCredentialsProfile = z192.object({
6372
- id: nullishToOptional(z192.string()),
6373
- email: nullishToOptional(z192.string()),
6374
- handle: nullishToOptional(z192.string()),
6375
- type: nullishToOptional(z192.string()),
6376
- avatarUrl: nullishToOptional(z192.string()),
6377
- organization: nullishToOptional(z192.string()),
6378
- collection: nullishToOptional(z192.string())
6379
- });
6380
- var IntegrationCredentials = z192.object({
6381
- id: z192.string(),
6367
+ import { z as z193 } from "zod";
6368
+ var IntegrationDesignSystem = z193.object({
6369
+ designSystemId: z193.string(),
6370
+ brandId: z193.string(),
6371
+ title: z193.string().optional(),
6372
+ userId: z193.string().optional(),
6373
+ date: z193.coerce.date().optional()
6374
+ });
6375
+ var IntegrationCredentialsType = z193.enum(["OAuth2", "PAT"]);
6376
+ var IntegrationCredentialsState = z193.enum(["Active", "Inactive"]);
6377
+ var IntegrationCredentialsProfile = z193.object({
6378
+ id: nullishToOptional(z193.string()),
6379
+ email: nullishToOptional(z193.string()),
6380
+ handle: nullishToOptional(z193.string()),
6381
+ type: nullishToOptional(z193.string()),
6382
+ avatarUrl: nullishToOptional(z193.string()),
6383
+ organization: nullishToOptional(z193.string()),
6384
+ collection: nullishToOptional(z193.string())
6385
+ });
6386
+ var IntegrationCredentials = z193.object({
6387
+ id: z193.string(),
6382
6388
  type: IntegrationCredentialsType,
6383
- integrationId: z192.string(),
6384
- accessToken: z192.string(),
6385
- userId: z192.string(),
6386
- createdAt: z192.coerce.date(),
6387
- refreshToken: z192.string().optional(),
6388
- tokenName: z192.string().optional(),
6389
- expiresAt: z192.coerce.date().optional(),
6390
- refreshedAt: z192.coerce.date().optional(),
6391
- username: z192.string().optional(),
6392
- appInstallationId: z192.string().optional(),
6389
+ integrationId: z193.string(),
6390
+ accessToken: z193.string(),
6391
+ userId: z193.string(),
6392
+ createdAt: z193.coerce.date(),
6393
+ refreshToken: z193.string().optional(),
6394
+ tokenName: z193.string().optional(),
6395
+ expiresAt: z193.coerce.date().optional(),
6396
+ refreshedAt: z193.coerce.date().optional(),
6397
+ username: z193.string().optional(),
6398
+ appInstallationId: z193.string().optional(),
6393
6399
  profile: IntegrationCredentialsProfile.optional(),
6394
- customUrl: z192.string().optional(),
6400
+ customUrl: z193.string().optional(),
6395
6401
  state: IntegrationCredentialsState,
6396
6402
  user: UserMinified.optional()
6397
6403
  });
6398
- var ExtendedIntegrationType = z192.enum([
6404
+ var ExtendedIntegrationType = z193.enum([
6399
6405
  "Figma",
6400
6406
  "Github",
6401
6407
  "Gitlab",
@@ -6406,26 +6412,26 @@ var ExtendedIntegrationType = z192.enum([
6406
6412
  ]);
6407
6413
  var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
6408
6414
  var GitIntegrationType = IntegrationType.exclude(["Figma"]);
6409
- var Integration = z192.object({
6410
- id: z192.string(),
6411
- workspaceId: z192.string(),
6415
+ var Integration = z193.object({
6416
+ id: z193.string(),
6417
+ workspaceId: z193.string(),
6412
6418
  type: IntegrationType,
6413
- createdAt: z192.coerce.date(),
6414
- integrationCredentials: z192.array(IntegrationCredentials).optional()
6415
- });
6416
- var IntegrationToken = z192.object({
6417
- access_token: z192.string(),
6418
- refresh_token: z192.string().optional(),
6419
- expires_in: z192.union([z192.number().optional(), z192.string().optional()]),
6420
- token_type: z192.string().optional(),
6421
- token_name: z192.string().optional(),
6422
- token_azure_organization_name: z192.string().optional(),
6419
+ createdAt: z193.coerce.date(),
6420
+ integrationCredentials: z193.array(IntegrationCredentials).optional()
6421
+ });
6422
+ var IntegrationToken = z193.object({
6423
+ access_token: z193.string(),
6424
+ refresh_token: z193.string().optional(),
6425
+ expires_in: z193.union([z193.number().optional(), z193.string().optional()]),
6426
+ token_type: z193.string().optional(),
6427
+ token_name: z193.string().optional(),
6428
+ token_azure_organization_name: z193.string().optional(),
6423
6429
  // Azure Cloud PAT only
6424
- token_azure_collection_name: z192.string().optional(),
6430
+ token_azure_collection_name: z193.string().optional(),
6425
6431
  // Azure Server PAT only
6426
- token_bitbucket_username: z192.string().optional(),
6432
+ token_bitbucket_username: z193.string().optional(),
6427
6433
  // Bitbucket only
6428
- custom_url: z192.string().optional().transform((value) => {
6434
+ custom_url: z193.string().optional().transform((value) => {
6429
6435
  if (!value?.trim()) return void 0;
6430
6436
  return formatCustomUrl(value);
6431
6437
  })
@@ -6462,7 +6468,7 @@ function formatCustomUrl(url) {
6462
6468
  }
6463
6469
 
6464
6470
  // src/data-dumps/workspace-dump.ts
6465
- var WorkspaceDump = z193.object({
6471
+ var WorkspaceDump = z194.object({
6466
6472
  workspace: Workspace,
6467
6473
  designSystems: DesignSystemDump.array(),
6468
6474
  codeIntegration: CodeIntegrationDump,
@@ -6470,149 +6476,150 @@ var WorkspaceDump = z193.object({
6470
6476
  });
6471
6477
 
6472
6478
  // src/data-dumps/user-data-dump.ts
6473
- var UserDump = z194.object({
6479
+ var UserDump = z195.object({
6474
6480
  user: User,
6475
6481
  workspaces: WorkspaceDump.array()
6476
6482
  });
6477
6483
 
6478
6484
  // src/docs-server/session.ts
6479
- import { z as z195 } from "zod";
6480
- var NpmProxyToken = z195.object({
6481
- access: z195.string(),
6482
- expiresAt: z195.number()
6485
+ import { z as z196 } from "zod";
6486
+ var NpmProxyToken = z196.object({
6487
+ access: z196.string(),
6488
+ expiresAt: z196.number()
6483
6489
  });
6484
- var SessionData = z195.object({
6485
- returnToUrl: z195.string().optional(),
6490
+ var SessionData = z196.object({
6491
+ returnToUrl: z196.string().optional(),
6486
6492
  npmProxyToken: NpmProxyToken.optional()
6487
6493
  });
6488
- var Session = z195.object({
6489
- id: z195.string(),
6490
- expiresAt: z195.coerce.date(),
6491
- userId: z195.string().nullable(),
6492
- anonymousId: z195.string().nullable(),
6494
+ var Session = z196.object({
6495
+ id: z196.string(),
6496
+ expiresAt: z196.coerce.date(),
6497
+ userId: z196.string().nullable(),
6498
+ anonymousId: z196.string().nullable(),
6493
6499
  data: SessionData
6494
6500
  });
6495
- var AuthTokens = z195.object({
6496
- access: z195.string(),
6497
- refresh: z195.string()
6501
+ var AuthTokens = z196.object({
6502
+ access: z196.string(),
6503
+ refresh: z196.string()
6498
6504
  });
6499
- var UserSession = z195.object({
6505
+ var UserSession = z196.object({
6500
6506
  session: Session,
6501
6507
  user: User.nullable()
6502
6508
  });
6503
6509
 
6504
6510
  // src/emails/design-system-invite.ts
6505
- import { z as z196 } from "zod";
6506
- var DesignSystemInviteEmailRecipient = z196.object({
6507
- email: z196.string(),
6511
+ import { z as z197 } from "zod";
6512
+ var DesignSystemInviteEmailRecipient = z197.object({
6513
+ email: z197.string(),
6508
6514
  role: WorkspaceRoleSchema
6509
6515
  });
6510
- var DesignSystemInviteEmailData = z196.object({
6516
+ var DesignSystemInviteEmailData = z197.object({
6511
6517
  workspace: Workspace,
6512
6518
  designSystem: DesignSystem,
6513
6519
  invitedBy: User,
6514
- documentationDomain: z196.string().optional()
6520
+ documentationDomain: z197.string().optional()
6515
6521
  });
6516
6522
 
6517
6523
  // src/emails/workspace-invite.ts
6518
- import { z as z197 } from "zod";
6519
- var WorkspaceInviteEmailRecipient = z197.object({
6520
- email: z197.string(),
6521
- role: WorkspaceRoleSchema
6524
+ import { z as z198 } from "zod";
6525
+ var WorkspaceInviteEmailRecipient = z198.object({
6526
+ email: z198.string(),
6527
+ role: WorkspaceRoleSchema,
6528
+ seatType: WorkspaceSeatType
6522
6529
  });
6523
- var WorkspaceInviteEmailData = z197.object({
6530
+ var WorkspaceInviteEmailData = z198.object({
6524
6531
  workspace: Workspace,
6525
6532
  invitedBy: User,
6526
- documentationDomain: z197.string().optional()
6533
+ documentationDomain: z198.string().optional()
6527
6534
  });
6528
6535
 
6529
6536
  // src/events/base.ts
6530
- import { z as z201 } from "zod";
6537
+ import { z as z202 } from "zod";
6531
6538
 
6532
6539
  // src/events/data-source-imported.ts
6533
- import { z as z198 } from "zod";
6534
- var EventDataSourceImported = z198.object({
6535
- type: z198.literal("DataSourceImported"),
6536
- workspaceId: z198.string(),
6537
- designSystemId: z198.string()
6538
- });
6539
-
6540
- // src/events/version-released.ts
6541
6540
  import { z as z199 } from "zod";
6542
- var EventVersionReleased = z199.object({
6543
- type: z199.literal("DesignSystemVersionReleased"),
6541
+ var EventDataSourceImported = z199.object({
6542
+ type: z199.literal("DataSourceImported"),
6544
6543
  workspaceId: z199.string(),
6545
- designSystemId: z199.string(),
6546
- versionId: z199.string()
6544
+ designSystemId: z199.string()
6547
6545
  });
6548
6546
 
6549
- // src/events/documentation-published.ts
6547
+ // src/events/version-released.ts
6550
6548
  import { z as z200 } from "zod";
6551
- var EventDocumentationPublished = z200.object({
6552
- type: z200.literal("DocumentationPublished"),
6549
+ var EventVersionReleased = z200.object({
6550
+ type: z200.literal("DesignSystemVersionReleased"),
6553
6551
  workspaceId: z200.string(),
6554
6552
  designSystemId: z200.string(),
6555
6553
  versionId: z200.string()
6556
6554
  });
6557
6555
 
6556
+ // src/events/documentation-published.ts
6557
+ import { z as z201 } from "zod";
6558
+ var EventDocumentationPublished = z201.object({
6559
+ type: z201.literal("DocumentationPublished"),
6560
+ workspaceId: z201.string(),
6561
+ designSystemId: z201.string(),
6562
+ versionId: z201.string()
6563
+ });
6564
+
6558
6565
  // src/events/base.ts
6559
- var Event = z201.discriminatedUnion("type", [
6566
+ var Event = z202.discriminatedUnion("type", [
6560
6567
  EventVersionReleased,
6561
6568
  EventDataSourceImported,
6562
6569
  EventDocumentationPublished
6563
6570
  ]);
6564
6571
 
6565
6572
  // src/export/export-runner/export-context.ts
6566
- import { z as z202 } from "zod";
6567
- var ExportJobDocumentationContext = z202.object({
6568
- isSingleVersionDocs: z202.boolean(),
6569
- versionSlug: z202.string(),
6573
+ import { z as z203 } from "zod";
6574
+ var ExportJobDocumentationContext = z203.object({
6575
+ isSingleVersionDocs: z203.boolean(),
6576
+ versionSlug: z203.string(),
6570
6577
  environment: PublishedDocEnvironment
6571
6578
  });
6572
- var ExportJobDebugContext = z202.object({
6573
- debugMode: z202.boolean().optional(),
6574
- concurrency: z202.number().optional(),
6575
- preloadData: z202.string().optional(),
6576
- concurrencyMode: z202.string().optional(),
6577
- cacheSdk: z202.string().optional(),
6578
- logSdkNetwork: z202.boolean().optional(),
6579
- profilerMode: z202.string().optional()
6580
- });
6581
- var ExportJobContext = z202.object({
6582
- apiUrl: z202.string(),
6583
- accessToken: z202.string(),
6584
- designSystemId: z202.string(),
6585
- designSystemName: z202.string(),
6586
- exporterId: z202.string(),
6587
- versionId: z202.string(),
6588
- brandId: z202.string().optional(),
6589
- themeId: z202.string().optional(),
6590
- themePersistentIds: z202.string().array().optional(),
6591
- previewMode: z202.boolean().optional(),
6592
- exporterName: z202.string(),
6579
+ var ExportJobDebugContext = z203.object({
6580
+ debugMode: z203.boolean().optional(),
6581
+ concurrency: z203.number().optional(),
6582
+ preloadData: z203.string().optional(),
6583
+ concurrencyMode: z203.string().optional(),
6584
+ cacheSdk: z203.string().optional(),
6585
+ logSdkNetwork: z203.boolean().optional(),
6586
+ profilerMode: z203.string().optional()
6587
+ });
6588
+ var ExportJobContext = z203.object({
6589
+ apiUrl: z203.string(),
6590
+ accessToken: z203.string(),
6591
+ designSystemId: z203.string(),
6592
+ designSystemName: z203.string(),
6593
+ exporterId: z203.string(),
6594
+ versionId: z203.string(),
6595
+ brandId: z203.string().optional(),
6596
+ themeId: z203.string().optional(),
6597
+ themePersistentIds: z203.string().array().optional(),
6598
+ previewMode: z203.boolean().optional(),
6599
+ exporterName: z203.string(),
6593
6600
  documentation: ExportJobDocumentationContext.optional(),
6594
6601
  debug: ExportJobDebugContext.optional()
6595
6602
  });
6596
- var ExportJobExporterConfiguration = z202.object({
6597
- exporterPackageUrl: z202.string(),
6603
+ var ExportJobExporterConfiguration = z203.object({
6604
+ exporterPackageUrl: z203.string(),
6598
6605
  exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
6599
6606
  exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
6600
6607
  });
6601
6608
 
6602
6609
  // src/export/export-runner/exporter-payload.ts
6603
- import { z as z203 } from "zod";
6604
- var ExporterFunctionPayload = z203.object({
6605
- exportJobId: z203.string(),
6606
- exportContextId: z203.string(),
6607
- designSystemId: z203.string(),
6608
- workspaceId: z203.string(),
6609
- exporterId: z203.string(),
6610
- runnerType: z203.enum(["High", "Low"])
6610
+ import { z as z204 } from "zod";
6611
+ var ExporterFunctionPayload = z204.object({
6612
+ exportJobId: z204.string(),
6613
+ exportContextId: z204.string(),
6614
+ designSystemId: z204.string(),
6615
+ workspaceId: z204.string(),
6616
+ exporterId: z204.string(),
6617
+ runnerType: z204.enum(["High", "Low"])
6611
6618
  });
6612
6619
 
6613
6620
  // src/export/export-jobs.ts
6614
- import { z as z204 } from "zod";
6615
- var ExportJobDestinationType = z204.enum([
6621
+ import { z as z205 } from "zod";
6622
+ var ExportJobDestinationType = z205.enum([
6616
6623
  "s3",
6617
6624
  "webhookUrl",
6618
6625
  "github",
@@ -6621,31 +6628,31 @@ var ExportJobDestinationType = z204.enum([
6621
6628
  "gitlab",
6622
6629
  "bitbucket"
6623
6630
  ]);
6624
- var ExportJobStatus = z204.enum(["InProgress", "Success", "Failed", "Timeout"]);
6625
- var ExportJobLogEntryType = z204.enum(["success", "info", "warning", "error", "user"]);
6626
- var ExportJobLogEntry = z204.object({
6627
- id: z204.string().optional(),
6628
- time: z204.coerce.date(),
6631
+ var ExportJobStatus = z205.enum(["InProgress", "Success", "Failed", "Timeout"]);
6632
+ var ExportJobLogEntryType = z205.enum(["success", "info", "warning", "error", "user"]);
6633
+ var ExportJobLogEntry = z205.object({
6634
+ id: z205.string().optional(),
6635
+ time: z205.coerce.date(),
6629
6636
  type: ExportJobLogEntryType,
6630
- message: z204.string()
6637
+ message: z205.string()
6631
6638
  });
6632
- var ExportJobPullRequestDestinationResult = z204.object({
6633
- pullRequestUrl: z204.string(),
6634
- sparseCheckoutUsed: nullishToOptional(z204.boolean())
6639
+ var ExportJobPullRequestDestinationResult = z205.object({
6640
+ pullRequestUrl: z205.string(),
6641
+ sparseCheckoutUsed: nullishToOptional(z205.boolean())
6635
6642
  });
6636
- var ExportJobS3DestinationResult = z204.object({
6637
- bucket: z204.string(),
6638
- urlPrefix: z204.string().optional(),
6639
- path: z204.string(),
6640
- files: z204.array(z204.string()),
6641
- url: nullishToOptional(z204.string()),
6642
- urls: nullishToOptional(z204.string().array())
6643
+ var ExportJobS3DestinationResult = z205.object({
6644
+ bucket: z205.string(),
6645
+ urlPrefix: z205.string().optional(),
6646
+ path: z205.string(),
6647
+ files: z205.array(z205.string()),
6648
+ url: nullishToOptional(z205.string()),
6649
+ urls: nullishToOptional(z205.string().array())
6643
6650
  });
6644
- var ExportJobDocsDestinationResult = z204.object({
6645
- url: z204.string()
6651
+ var ExportJobDocsDestinationResult = z205.object({
6652
+ url: z205.string()
6646
6653
  });
6647
- var ExportJobResult = z204.object({
6648
- error: z204.string().optional(),
6654
+ var ExportJobResult = z205.object({
6655
+ error: z205.string().optional(),
6649
6656
  s3: nullishToOptional(ExportJobS3DestinationResult),
6650
6657
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
6651
6658
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -6654,25 +6661,25 @@ var ExportJobResult = z204.object({
6654
6661
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
6655
6662
  logs: nullishToOptional(ExportJobLogEntry.array())
6656
6663
  });
6657
- var ExportJob = z204.object({
6658
- id: z204.string(),
6659
- createdAt: z204.coerce.date(),
6660
- finishedAt: z204.coerce.date().optional(),
6661
- designSystemId: z204.string(),
6662
- designSystemVersionId: z204.string(),
6663
- workspaceId: z204.string(),
6664
- scheduleId: z204.string().nullish(),
6665
- exporterId: z204.string(),
6666
- brandId: z204.string().optional(),
6667
- themeId: z204.string().optional(),
6668
- themePersistentIds: z204.string().array().optional(),
6669
- estimatedExecutionTime: z204.number().optional(),
6664
+ var ExportJob = z205.object({
6665
+ id: z205.string(),
6666
+ createdAt: z205.coerce.date(),
6667
+ finishedAt: z205.coerce.date().optional(),
6668
+ designSystemId: z205.string(),
6669
+ designSystemVersionId: z205.string(),
6670
+ workspaceId: z205.string(),
6671
+ scheduleId: z205.string().nullish(),
6672
+ exporterId: z205.string(),
6673
+ brandId: z205.string().optional(),
6674
+ themeId: z205.string().optional(),
6675
+ themePersistentIds: z205.string().array().optional(),
6676
+ estimatedExecutionTime: z205.number().optional(),
6670
6677
  status: ExportJobStatus,
6671
6678
  result: ExportJobResult.optional(),
6672
- createdByUserId: z204.string().optional(),
6679
+ createdByUserId: z205.string().optional(),
6673
6680
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
6674
- previewMode: z204.boolean().optional(),
6675
- exportContextId: z204.string().optional().nullable(),
6681
+ previewMode: z205.boolean().optional(),
6682
+ exportContextId: z205.string().optional().nullable(),
6676
6683
  // Destinations
6677
6684
  ...ExportDestinationsMap.shape
6678
6685
  });
@@ -6686,37 +6693,37 @@ var ExportJobFindByFilter = ExportJob.pick({
6686
6693
  themeId: true,
6687
6694
  brandId: true
6688
6695
  }).extend({
6689
- destinations: z204.array(ExportJobDestinationType),
6696
+ destinations: z205.array(ExportJobDestinationType),
6690
6697
  docsEnvironment: PublishedDocEnvironment,
6691
- selectivePublishing: z204.boolean().optional()
6698
+ selectivePublishing: z205.boolean().optional()
6692
6699
  }).partial();
6693
6700
 
6694
6701
  // src/export/exporter-list-query.ts
6695
- import { z as z205 } from "zod";
6696
- var ExporterType2 = z205.enum(["documentation", "code"]);
6697
- var ListExporterQuery = z205.object({
6698
- limit: z205.number().optional(),
6699
- offset: z205.number().optional(),
6702
+ import { z as z206 } from "zod";
6703
+ var ExporterType2 = z206.enum(["documentation", "code"]);
6704
+ var ListExporterQuery = z206.object({
6705
+ limit: z206.number().optional(),
6706
+ offset: z206.number().optional(),
6700
6707
  type: ExporterType2.optional(),
6701
- search: z205.string().optional()
6708
+ search: z206.string().optional()
6702
6709
  });
6703
6710
 
6704
6711
  // src/export/exporter-workspace-membership-role.ts
6705
- import { z as z206 } from "zod";
6706
- var ExporterWorkspaceMembershipRole = z206.enum(["Owner", "OwnerArchived", "User"]);
6712
+ import { z as z207 } from "zod";
6713
+ var ExporterWorkspaceMembershipRole = z207.enum(["Owner", "OwnerArchived", "User"]);
6707
6714
 
6708
6715
  // src/export/exporter-workspace-membership.ts
6709
- import { z as z207 } from "zod";
6710
- var ExporterWorkspaceMembership = z207.object({
6711
- id: z207.string(),
6712
- workspaceId: z207.string(),
6713
- exporterId: z207.string(),
6716
+ import { z as z208 } from "zod";
6717
+ var ExporterWorkspaceMembership = z208.object({
6718
+ id: z208.string(),
6719
+ workspaceId: z208.string(),
6720
+ exporterId: z208.string(),
6714
6721
  role: ExporterWorkspaceMembershipRole
6715
6722
  });
6716
6723
 
6717
6724
  // src/feature-flags/feature-flags.ts
6718
- import { z as z208 } from "zod";
6719
- var FlaggedFeature = z208.enum([
6725
+ import { z as z209 } from "zod";
6726
+ var FlaggedFeature = z209.enum([
6720
6727
  "FigmaImporterV2",
6721
6728
  "DisableImporter",
6722
6729
  "VariablesOrder",
@@ -6748,21 +6755,21 @@ var FeatureFlagDefaults = {
6748
6755
  DocumentationIgnoreSnapshotsOnPublish: "route-bff+route-p3",
6749
6756
  DSVersionRoomYJSStorageVersion: 1
6750
6757
  };
6751
- var FeatureFlagMap = z208.record(FlaggedFeature, z208.boolean());
6752
- var FeatureFlag = z208.object({
6753
- id: z208.string(),
6758
+ var FeatureFlagMap = z209.record(FlaggedFeature, z209.boolean());
6759
+ var FeatureFlag = z209.object({
6760
+ id: z209.string(),
6754
6761
  feature: FlaggedFeature,
6755
- createdAt: z208.coerce.date(),
6756
- enabled: z208.boolean(),
6757
- designSystemId: z208.string().optional(),
6758
- data: z208.record(z208.any()).nullable().optional()
6762
+ createdAt: z209.coerce.date(),
6763
+ enabled: z209.boolean(),
6764
+ designSystemId: z209.string().optional(),
6765
+ data: z209.record(z209.any()).nullable().optional()
6759
6766
  });
6760
6767
 
6761
6768
  // src/integrations/external-oauth-request.ts
6762
- import { z as z210 } from "zod";
6769
+ import { z as z211 } from "zod";
6763
6770
 
6764
6771
  // src/integrations/oauth-providers.ts
6765
- import { z as z209 } from "zod";
6772
+ import { z as z210 } from "zod";
6766
6773
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6767
6774
  OAuthProviderNames2["Figma"] = "figma";
6768
6775
  OAuthProviderNames2["Azure"] = "azure";
@@ -6771,192 +6778,192 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6771
6778
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
6772
6779
  return OAuthProviderNames2;
6773
6780
  })(OAuthProviderNames || {});
6774
- var OAuthProviderSchema = z209.nativeEnum(OAuthProviderNames);
6781
+ var OAuthProviderSchema = z210.nativeEnum(OAuthProviderNames);
6775
6782
  var OAuthProvider = OAuthProviderSchema.enum;
6776
6783
 
6777
6784
  // src/integrations/external-oauth-request.ts
6778
- var ExternalOAuthRequest = z210.object({
6779
- id: z210.string(),
6785
+ var ExternalOAuthRequest = z211.object({
6786
+ id: z211.string(),
6780
6787
  provider: OAuthProviderSchema,
6781
- userId: z210.string(),
6782
- state: z210.string(),
6783
- createdAt: z210.coerce.date()
6788
+ userId: z211.string(),
6789
+ state: z211.string(),
6790
+ createdAt: z211.coerce.date()
6784
6791
  });
6785
6792
 
6786
6793
  // src/integrations/git.ts
6787
- import { z as z211 } from "zod";
6788
- var GitObjectsQuery = z211.object({
6789
- organization: z211.string().optional(),
6794
+ import { z as z212 } from "zod";
6795
+ var GitObjectsQuery = z212.object({
6796
+ organization: z212.string().optional(),
6790
6797
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
6791
- project: z211.string().optional(),
6798
+ project: z212.string().optional(),
6792
6799
  // Only for Bitbucket and Azure
6793
- repository: z211.string().optional(),
6800
+ repository: z212.string().optional(),
6794
6801
  // For all providers. For Gitlab, it's called "project".
6795
- branch: z211.string().optional(),
6802
+ branch: z212.string().optional(),
6796
6803
  // For all providers.
6797
- user: z211.string().optional()
6804
+ user: z212.string().optional()
6798
6805
  // Gitlab user
6799
6806
  });
6800
- var GitOrganization = z211.object({
6801
- id: z211.string(),
6802
- name: z211.string(),
6803
- url: z211.string(),
6804
- slug: z211.string()
6807
+ var GitOrganization = z212.object({
6808
+ id: z212.string(),
6809
+ name: z212.string(),
6810
+ url: z212.string(),
6811
+ slug: z212.string()
6805
6812
  });
6806
- var GitProject = z211.object({
6807
- id: z211.string(),
6808
- name: z211.string(),
6809
- url: z211.string(),
6810
- slug: z211.string()
6813
+ var GitProject = z212.object({
6814
+ id: z212.string(),
6815
+ name: z212.string(),
6816
+ url: z212.string(),
6817
+ slug: z212.string()
6811
6818
  });
6812
- var GitRepository = z211.object({
6813
- id: z211.string(),
6814
- name: z211.string(),
6815
- url: z211.string(),
6816
- slug: z211.string(),
6819
+ var GitRepository = z212.object({
6820
+ id: z212.string(),
6821
+ name: z212.string(),
6822
+ url: z212.string(),
6823
+ slug: z212.string(),
6817
6824
  /**
6818
6825
  * Can be undefined when:
6819
6826
  * - there are no branches in the repository yet
6820
6827
  * - Git provider doesn't expose this information on a repository via their API
6821
6828
  */
6822
- defaultBranch: z211.string().optional()
6829
+ defaultBranch: z212.string().optional()
6823
6830
  });
6824
- var GitBranch = z211.object({
6825
- name: z211.string(),
6826
- lastCommitId: z211.string()
6831
+ var GitBranch = z212.object({
6832
+ name: z212.string(),
6833
+ lastCommitId: z212.string()
6827
6834
  });
6828
6835
 
6829
6836
  // src/integrations/oauth-token.ts
6830
- import { z as z212 } from "zod";
6831
- var IntegrationTokenSchemaOld = z212.object({
6832
- id: z212.string(),
6837
+ import { z as z213 } from "zod";
6838
+ var IntegrationTokenSchemaOld = z213.object({
6839
+ id: z213.string(),
6833
6840
  provider: OAuthProviderSchema,
6834
- scope: z212.string(),
6835
- userId: z212.string(),
6836
- accessToken: z212.string(),
6837
- refreshToken: z212.string(),
6838
- expiresAt: z212.coerce.date(),
6839
- externalUserId: z212.string().nullish()
6841
+ scope: z213.string(),
6842
+ userId: z213.string(),
6843
+ accessToken: z213.string(),
6844
+ refreshToken: z213.string(),
6845
+ expiresAt: z213.coerce.date(),
6846
+ externalUserId: z213.string().nullish()
6840
6847
  });
6841
6848
 
6842
6849
  // src/integrations/workspace-oauth-requests.ts
6843
- import { z as z213 } from "zod";
6844
- var WorkspaceOAuthRequestSchema = z213.object({
6845
- id: z213.string(),
6846
- workspaceId: z213.string(),
6850
+ import { z as z214 } from "zod";
6851
+ var WorkspaceOAuthRequestSchema = z214.object({
6852
+ id: z214.string(),
6853
+ workspaceId: z214.string(),
6847
6854
  provider: OAuthProviderSchema,
6848
- userId: z213.string(),
6849
- createdAt: z213.coerce.date()
6855
+ userId: z214.string(),
6856
+ createdAt: z214.coerce.date()
6850
6857
  });
6851
6858
 
6852
6859
  // src/npm/npm-package.ts
6853
- import { z as z214 } from "zod";
6854
- var AnyRecord = z214.record(z214.any());
6860
+ import { z as z215 } from "zod";
6861
+ var AnyRecord = z215.record(z215.any());
6855
6862
  var NpmPackageVersionDist = AnyRecord.and(
6856
- z214.object({
6857
- tarball: z214.string()
6863
+ z215.object({
6864
+ tarball: z215.string()
6858
6865
  })
6859
6866
  );
6860
6867
  var NpmPackageVersion = AnyRecord.and(
6861
- z214.object({
6868
+ z215.object({
6862
6869
  dist: NpmPackageVersionDist
6863
6870
  })
6864
6871
  );
6865
6872
  var NpmPackage = AnyRecord.and(
6866
- z214.object({
6867
- _id: z214.string(),
6868
- name: z214.string(),
6873
+ z215.object({
6874
+ _id: z215.string(),
6875
+ name: z215.string(),
6869
6876
  // e.g. "latest": "1.2.3"
6870
- "dist-tags": z214.record(z214.string(), z214.string()),
6877
+ "dist-tags": z215.record(z215.string(), z215.string()),
6871
6878
  // "1.2.3": {...}
6872
- versions: z214.record(NpmPackageVersion)
6879
+ versions: z215.record(NpmPackageVersion)
6873
6880
  })
6874
6881
  );
6875
6882
 
6876
6883
  // src/npm/npm-proxy-token-payload.ts
6877
- import { z as z215 } from "zod";
6878
- var NpmProxyTokenPayload = z215.object({
6879
- npmProxyRegistryConfigId: z215.string()
6884
+ import { z as z216 } from "zod";
6885
+ var NpmProxyTokenPayload = z216.object({
6886
+ npmProxyRegistryConfigId: z216.string()
6880
6887
  });
6881
6888
 
6882
6889
  // src/page-screenshot/page-screenshot.ts
6883
- import { z as z216 } from "zod";
6884
- var PageScreenshotInput = z216.object({
6885
- url: z216.string().url(),
6886
- elementSelector: z216.string(),
6887
- uploadUrl: z216.string().url(),
6888
- viewportSize: z216.object({
6889
- width: z216.number().positive(),
6890
- height: z216.number().positive()
6890
+ import { z as z217 } from "zod";
6891
+ var PageScreenshotInput = z217.object({
6892
+ url: z217.string().url(),
6893
+ elementSelector: z217.string(),
6894
+ uploadUrl: z217.string().url(),
6895
+ viewportSize: z217.object({
6896
+ width: z217.number().positive(),
6897
+ height: z217.number().positive()
6891
6898
  }).optional(),
6892
- imageSize: z216.object({
6893
- width: z216.number().positive(),
6894
- height: z216.number().positive()
6899
+ imageSize: z217.object({
6900
+ width: z217.number().positive(),
6901
+ height: z217.number().positive()
6895
6902
  }).optional(),
6896
- supernovaAuth: z216.object({
6897
- accessToken: z216.string()
6903
+ supernovaAuth: z217.object({
6904
+ accessToken: z217.string()
6898
6905
  }).optional(),
6899
- trace: z216.object({
6900
- sentryTrace: z216.string().optional(),
6901
- baggage: z216.string().optional()
6906
+ trace: z217.object({
6907
+ sentryTrace: z217.string().optional(),
6908
+ baggage: z217.string().optional()
6902
6909
  }).optional()
6903
6910
  });
6904
- var PageScreenshotOutput = z216.discriminatedUnion("success", [
6905
- z216.object({
6906
- success: z216.literal(true),
6907
- fileSize: z216.number()
6911
+ var PageScreenshotOutput = z217.discriminatedUnion("success", [
6912
+ z217.object({
6913
+ success: z217.literal(true),
6914
+ fileSize: z217.number()
6908
6915
  }),
6909
- z216.object({
6910
- success: z216.literal(false),
6911
- error: z216.string()
6916
+ z217.object({
6917
+ success: z217.literal(false),
6918
+ error: z217.string()
6912
6919
  })
6913
6920
  ]);
6914
6921
 
6915
6922
  // src/portal/portal-settings.ts
6916
- import { z as z217 } from "zod";
6923
+ import { z as z218 } from "zod";
6917
6924
  var PortalSettingsTheme = UserTheme;
6918
- var PortalSettingsSidebarLink = z217.object({
6919
- name: z217.string(),
6920
- url: z217.string(),
6921
- emoji: z217.string()
6922
- });
6923
- var PortalSettingsSidebarSection = z217.object({
6924
- sectionName: z217.string(),
6925
- links: z217.array(PortalSettingsSidebarLink)
6926
- });
6927
- var PortalSettingsSidebar = z217.array(PortalSettingsSidebarSection);
6928
- var PortalSettings = z217.object({
6929
- id: z217.string(),
6930
- workspaceId: z217.string(),
6931
- enabledDesignSystemIds: z217.array(z217.string()),
6932
- enabledBrandPersistentIds: z217.array(z217.string()),
6925
+ var PortalSettingsSidebarLink = z218.object({
6926
+ name: z218.string(),
6927
+ url: z218.string(),
6928
+ emoji: z218.string()
6929
+ });
6930
+ var PortalSettingsSidebarSection = z218.object({
6931
+ sectionName: z218.string(),
6932
+ links: z218.array(PortalSettingsSidebarLink)
6933
+ });
6934
+ var PortalSettingsSidebar = z218.array(PortalSettingsSidebarSection);
6935
+ var PortalSettings = z218.object({
6936
+ id: z218.string(),
6937
+ workspaceId: z218.string(),
6938
+ enabledDesignSystemIds: z218.array(z218.string()),
6939
+ enabledBrandPersistentIds: z218.array(z218.string()),
6933
6940
  theme: PortalSettingsTheme.nullish(),
6934
6941
  sidebar: PortalSettingsSidebar.nullish(),
6935
- createdAt: z217.coerce.date(),
6936
- updatedAt: z217.coerce.date()
6942
+ createdAt: z218.coerce.date(),
6943
+ updatedAt: z218.coerce.date()
6937
6944
  });
6938
6945
 
6939
6946
  // src/sentry/headers.ts
6940
- import z218 from "zod";
6941
- var SentryTraceHeaders = z218.object({
6942
- sentryTrace: z218.string(),
6943
- baggage: z218.string()
6947
+ import z219 from "zod";
6948
+ var SentryTraceHeaders = z219.object({
6949
+ sentryTrace: z219.string(),
6950
+ baggage: z219.string()
6944
6951
  });
6945
6952
 
6946
6953
  // src/tokens/personal-access-token.ts
6947
- import { z as z219 } from "zod";
6948
- var PersonalAccessToken = z219.object({
6949
- id: z219.string(),
6950
- userId: z219.string(),
6951
- workspaceId: z219.string().optional(),
6952
- designSystemId: z219.string().optional(),
6954
+ import { z as z220 } from "zod";
6955
+ var PersonalAccessToken = z220.object({
6956
+ id: z220.string(),
6957
+ userId: z220.string(),
6958
+ workspaceId: z220.string().optional(),
6959
+ designSystemId: z220.string().optional(),
6953
6960
  workspaceRole: WorkspaceRoleSchema.optional(),
6954
- name: z219.string(),
6955
- hidden: z219.boolean(),
6956
- token: z219.string(),
6957
- scope: z219.string().optional(),
6958
- createdAt: z219.coerce.date(),
6959
- expireAt: z219.coerce.date().optional()
6961
+ name: z220.string(),
6962
+ hidden: z220.boolean(),
6963
+ token: z220.string(),
6964
+ scope: z220.string().optional(),
6965
+ createdAt: z220.coerce.date(),
6966
+ expireAt: z220.coerce.date().optional()
6960
6967
  });
6961
6968
  export {
6962
6969
  Address,
@@ -7555,6 +7562,7 @@ export {
7555
7562
  PipelineDestinationGitType,
7556
7563
  PipelineDestinationType,
7557
7564
  PipelineEventType,
7565
+ PipelineExporterQuery,
7558
7566
  PluginOAuthRequestSchema,
7559
7567
  Point2D,
7560
7568
  PortalSettings,