@supernova-studio/model 1.10.21 → 1.10.22

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
@@ -5648,10 +5648,10 @@ var CodeIntegrationDump = z164.object({
5648
5648
  });
5649
5649
 
5650
5650
  // src/data-dumps/design-system-dump.ts
5651
- import { z as z171 } from "zod";
5651
+ import { z as z172 } from "zod";
5652
5652
 
5653
5653
  // src/data-dumps/design-system-version-dump.ts
5654
- import { z as z170 } from "zod";
5654
+ import { z as z171 } from "zod";
5655
5655
 
5656
5656
  // src/liveblocks/rooms/design-system-version-room.ts
5657
5657
  import { z as z165 } from "zod";
@@ -5719,45 +5719,53 @@ var RestoredDocumentationGroup = z166.object({
5719
5719
  parent: ElementGroup
5720
5720
  });
5721
5721
 
5722
- // src/liveblocks/rooms/room-type.ts
5722
+ // src/liveblocks/rooms/forge-project-room.ts
5723
5723
  import { z as z167 } from "zod";
5724
+ var ForgeProjectRoom = Entity.extend({
5725
+ projectId: z167.string(),
5726
+ liveblocksId: z167.string()
5727
+ });
5728
+
5729
+ // src/liveblocks/rooms/room-type.ts
5730
+ import { z as z168 } from "zod";
5724
5731
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
5725
5732
  RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
5726
5733
  RoomTypeEnum2["DocumentationPage"] = "doc-page";
5727
5734
  RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
5728
5735
  RoomTypeEnum2["Workspace"] = "workspace";
5736
+ RoomTypeEnum2["ForgeProject"] = "forge-project";
5729
5737
  return RoomTypeEnum2;
5730
5738
  })(RoomTypeEnum || {});
5731
- var RoomTypeSchema = z167.nativeEnum(RoomTypeEnum);
5739
+ var RoomTypeSchema = z168.nativeEnum(RoomTypeEnum);
5732
5740
  var RoomType = RoomTypeSchema.enum;
5733
5741
 
5734
5742
  // src/liveblocks/rooms/workspace-room.ts
5735
- import { z as z168 } from "zod";
5743
+ import { z as z169 } from "zod";
5736
5744
  var WorkspaceRoom = Entity.extend({
5737
- workspaceId: z168.string(),
5738
- liveblocksId: z168.string()
5745
+ workspaceId: z169.string(),
5746
+ liveblocksId: z169.string()
5739
5747
  });
5740
5748
 
5741
5749
  // src/data-dumps/published-docs-dump.ts
5742
- import { z as z169 } from "zod";
5743
- var PublishedDocsDump = z169.object({
5750
+ import { z as z170 } from "zod";
5751
+ var PublishedDocsDump = z170.object({
5744
5752
  documentation: PublishedDoc,
5745
5753
  pages: PublishedDocPage.array()
5746
5754
  });
5747
5755
 
5748
5756
  // src/data-dumps/design-system-version-dump.ts
5749
- var DocumentationThreadDump = z170.object({
5757
+ var DocumentationThreadDump = z171.object({
5750
5758
  thread: DocumentationCommentThread,
5751
5759
  comments: DocumentationComment.array()
5752
5760
  });
5753
- var DocumentationPageRoomDump = z170.object({
5761
+ var DocumentationPageRoomDump = z171.object({
5754
5762
  room: DocumentationPageRoom,
5755
5763
  threads: DocumentationThreadDump.array()
5756
5764
  });
5757
- var DesignSystemVersionMultiplayerDump = z170.object({
5765
+ var DesignSystemVersionMultiplayerDump = z171.object({
5758
5766
  documentationPages: DocumentationPageRoomDump.array()
5759
5767
  });
5760
- var DesignSystemVersionDump = z170.object({
5768
+ var DesignSystemVersionDump = z171.object({
5761
5769
  version: DesignSystemVersion,
5762
5770
  brands: Brand.array(),
5763
5771
  elements: DesignElement.array(),
@@ -5772,7 +5780,7 @@ var DesignSystemVersionDump = z170.object({
5772
5780
  });
5773
5781
 
5774
5782
  // src/data-dumps/design-system-dump.ts
5775
- var DesignSystemDump = z171.object({
5783
+ var DesignSystemDump = z172.object({
5776
5784
  designSystem: DesignSystem,
5777
5785
  dataSources: DataSource.array(),
5778
5786
  versions: DesignSystemVersionDump.array(),
@@ -5781,50 +5789,50 @@ var DesignSystemDump = z171.object({
5781
5789
  });
5782
5790
 
5783
5791
  // src/data-dumps/user-data-dump.ts
5784
- import { z as z174 } from "zod";
5792
+ import { z as z175 } from "zod";
5785
5793
 
5786
5794
  // src/data-dumps/workspace-dump.ts
5787
- import { z as z173 } from "zod";
5795
+ import { z as z174 } from "zod";
5788
5796
 
5789
5797
  // src/integrations/integration.ts
5790
- import { z as z172 } from "zod";
5791
- var IntegrationDesignSystem = z172.object({
5792
- designSystemId: z172.string(),
5793
- brandId: z172.string(),
5794
- title: z172.string().optional(),
5795
- userId: z172.string().optional(),
5796
- date: z172.coerce.date().optional()
5797
- });
5798
- var IntegrationCredentialsType = z172.enum(["OAuth2", "PAT"]);
5799
- var IntegrationCredentialsState = z172.enum(["Active", "Inactive"]);
5800
- var IntegrationCredentialsProfile = z172.object({
5801
- id: nullishToOptional(z172.string()),
5802
- email: nullishToOptional(z172.string()),
5803
- handle: nullishToOptional(z172.string()),
5804
- type: nullishToOptional(z172.string()),
5805
- avatarUrl: nullishToOptional(z172.string()),
5806
- organization: nullishToOptional(z172.string()),
5807
- collection: nullishToOptional(z172.string())
5808
- });
5809
- var IntegrationCredentials = z172.object({
5810
- id: z172.string(),
5798
+ import { z as z173 } from "zod";
5799
+ var IntegrationDesignSystem = z173.object({
5800
+ designSystemId: z173.string(),
5801
+ brandId: z173.string(),
5802
+ title: z173.string().optional(),
5803
+ userId: z173.string().optional(),
5804
+ date: z173.coerce.date().optional()
5805
+ });
5806
+ var IntegrationCredentialsType = z173.enum(["OAuth2", "PAT"]);
5807
+ var IntegrationCredentialsState = z173.enum(["Active", "Inactive"]);
5808
+ var IntegrationCredentialsProfile = z173.object({
5809
+ id: nullishToOptional(z173.string()),
5810
+ email: nullishToOptional(z173.string()),
5811
+ handle: nullishToOptional(z173.string()),
5812
+ type: nullishToOptional(z173.string()),
5813
+ avatarUrl: nullishToOptional(z173.string()),
5814
+ organization: nullishToOptional(z173.string()),
5815
+ collection: nullishToOptional(z173.string())
5816
+ });
5817
+ var IntegrationCredentials = z173.object({
5818
+ id: z173.string(),
5811
5819
  type: IntegrationCredentialsType,
5812
- integrationId: z172.string(),
5813
- accessToken: z172.string(),
5814
- userId: z172.string(),
5815
- createdAt: z172.coerce.date(),
5816
- refreshToken: z172.string().optional(),
5817
- tokenName: z172.string().optional(),
5818
- expiresAt: z172.coerce.date().optional(),
5819
- refreshedAt: z172.coerce.date().optional(),
5820
- username: z172.string().optional(),
5821
- appInstallationId: z172.string().optional(),
5820
+ integrationId: z173.string(),
5821
+ accessToken: z173.string(),
5822
+ userId: z173.string(),
5823
+ createdAt: z173.coerce.date(),
5824
+ refreshToken: z173.string().optional(),
5825
+ tokenName: z173.string().optional(),
5826
+ expiresAt: z173.coerce.date().optional(),
5827
+ refreshedAt: z173.coerce.date().optional(),
5828
+ username: z173.string().optional(),
5829
+ appInstallationId: z173.string().optional(),
5822
5830
  profile: IntegrationCredentialsProfile.optional(),
5823
- customUrl: z172.string().optional(),
5831
+ customUrl: z173.string().optional(),
5824
5832
  state: IntegrationCredentialsState,
5825
5833
  user: UserMinified.optional()
5826
5834
  });
5827
- var ExtendedIntegrationType = z172.enum([
5835
+ var ExtendedIntegrationType = z173.enum([
5828
5836
  "Figma",
5829
5837
  "Github",
5830
5838
  "Gitlab",
@@ -5835,26 +5843,26 @@ var ExtendedIntegrationType = z172.enum([
5835
5843
  ]);
5836
5844
  var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
5837
5845
  var GitIntegrationType = IntegrationType.exclude(["Figma"]);
5838
- var Integration = z172.object({
5839
- id: z172.string(),
5840
- workspaceId: z172.string(),
5846
+ var Integration = z173.object({
5847
+ id: z173.string(),
5848
+ workspaceId: z173.string(),
5841
5849
  type: IntegrationType,
5842
- createdAt: z172.coerce.date(),
5843
- integrationCredentials: z172.array(IntegrationCredentials).optional()
5844
- });
5845
- var IntegrationToken = z172.object({
5846
- access_token: z172.string(),
5847
- refresh_token: z172.string().optional(),
5848
- expires_in: z172.union([z172.number().optional(), z172.string().optional()]),
5849
- token_type: z172.string().optional(),
5850
- token_name: z172.string().optional(),
5851
- token_azure_organization_name: z172.string().optional(),
5850
+ createdAt: z173.coerce.date(),
5851
+ integrationCredentials: z173.array(IntegrationCredentials).optional()
5852
+ });
5853
+ var IntegrationToken = z173.object({
5854
+ access_token: z173.string(),
5855
+ refresh_token: z173.string().optional(),
5856
+ expires_in: z173.union([z173.number().optional(), z173.string().optional()]),
5857
+ token_type: z173.string().optional(),
5858
+ token_name: z173.string().optional(),
5859
+ token_azure_organization_name: z173.string().optional(),
5852
5860
  // Azure Cloud PAT only
5853
- token_azure_collection_name: z172.string().optional(),
5861
+ token_azure_collection_name: z173.string().optional(),
5854
5862
  // Azure Server PAT only
5855
- token_bitbucket_username: z172.string().optional(),
5863
+ token_bitbucket_username: z173.string().optional(),
5856
5864
  // Bitbucket only
5857
- custom_url: z172.string().optional().transform((value) => {
5865
+ custom_url: z173.string().optional().transform((value) => {
5858
5866
  if (!value?.trim()) return void 0;
5859
5867
  return formatCustomUrl(value);
5860
5868
  })
@@ -5891,7 +5899,7 @@ function formatCustomUrl(url) {
5891
5899
  }
5892
5900
 
5893
5901
  // src/data-dumps/workspace-dump.ts
5894
- var WorkspaceDump = z173.object({
5902
+ var WorkspaceDump = z174.object({
5895
5903
  workspace: Workspace,
5896
5904
  designSystems: DesignSystemDump.array(),
5897
5905
  codeIntegration: CodeIntegrationDump,
@@ -5899,148 +5907,148 @@ var WorkspaceDump = z173.object({
5899
5907
  });
5900
5908
 
5901
5909
  // src/data-dumps/user-data-dump.ts
5902
- var UserDump = z174.object({
5910
+ var UserDump = z175.object({
5903
5911
  user: User,
5904
5912
  workspaces: WorkspaceDump.array()
5905
5913
  });
5906
5914
 
5907
5915
  // src/docs-server/session.ts
5908
- import { z as z175 } from "zod";
5909
- var NpmProxyToken = z175.object({
5910
- access: z175.string(),
5911
- expiresAt: z175.number()
5916
+ import { z as z176 } from "zod";
5917
+ var NpmProxyToken = z176.object({
5918
+ access: z176.string(),
5919
+ expiresAt: z176.number()
5912
5920
  });
5913
- var SessionData = z175.object({
5914
- returnToUrl: z175.string().optional(),
5921
+ var SessionData = z176.object({
5922
+ returnToUrl: z176.string().optional(),
5915
5923
  npmProxyToken: NpmProxyToken.optional()
5916
5924
  });
5917
- var Session = z175.object({
5918
- id: z175.string(),
5919
- expiresAt: z175.coerce.date(),
5920
- userId: z175.string().nullable(),
5921
- anonymousId: z175.string().nullable(),
5925
+ var Session = z176.object({
5926
+ id: z176.string(),
5927
+ expiresAt: z176.coerce.date(),
5928
+ userId: z176.string().nullable(),
5929
+ anonymousId: z176.string().nullable(),
5922
5930
  data: SessionData
5923
5931
  });
5924
- var AuthTokens = z175.object({
5925
- access: z175.string(),
5926
- refresh: z175.string()
5932
+ var AuthTokens = z176.object({
5933
+ access: z176.string(),
5934
+ refresh: z176.string()
5927
5935
  });
5928
- var UserSession = z175.object({
5936
+ var UserSession = z176.object({
5929
5937
  session: Session,
5930
5938
  user: User.nullable()
5931
5939
  });
5932
5940
 
5933
5941
  // src/emails/design-system-invite.ts
5934
- import { z as z176 } from "zod";
5935
- var DesignSystemInviteEmailRecipient = z176.object({
5936
- email: z176.string(),
5942
+ import { z as z177 } from "zod";
5943
+ var DesignSystemInviteEmailRecipient = z177.object({
5944
+ email: z177.string(),
5937
5945
  role: WorkspaceRoleSchema
5938
5946
  });
5939
- var DesignSystemInviteEmailData = z176.object({
5947
+ var DesignSystemInviteEmailData = z177.object({
5940
5948
  workspace: Workspace,
5941
5949
  designSystem: DesignSystem,
5942
5950
  invitedBy: User,
5943
- documentationDomain: z176.string().optional()
5951
+ documentationDomain: z177.string().optional()
5944
5952
  });
5945
5953
 
5946
5954
  // src/emails/workspace-invite.ts
5947
- import { z as z177 } from "zod";
5948
- var WorkspaceInviteEmailRecipient = z177.object({
5949
- email: z177.string(),
5955
+ import { z as z178 } from "zod";
5956
+ var WorkspaceInviteEmailRecipient = z178.object({
5957
+ email: z178.string(),
5950
5958
  role: WorkspaceRoleSchema
5951
5959
  });
5952
- var WorkspaceInviteEmailData = z177.object({
5960
+ var WorkspaceInviteEmailData = z178.object({
5953
5961
  workspace: Workspace,
5954
5962
  invitedBy: User,
5955
- documentationDomain: z177.string().optional()
5963
+ documentationDomain: z178.string().optional()
5956
5964
  });
5957
5965
 
5958
5966
  // src/events/base.ts
5959
- import { z as z181 } from "zod";
5967
+ import { z as z182 } from "zod";
5960
5968
 
5961
5969
  // src/events/data-source-imported.ts
5962
- import { z as z178 } from "zod";
5963
- var EventDataSourceImported = z178.object({
5964
- type: z178.literal("DataSourceImported"),
5965
- workspaceId: z178.string(),
5966
- designSystemId: z178.string()
5967
- });
5968
-
5969
- // src/events/version-released.ts
5970
5970
  import { z as z179 } from "zod";
5971
- var EventVersionReleased = z179.object({
5972
- type: z179.literal("DesignSystemVersionReleased"),
5971
+ var EventDataSourceImported = z179.object({
5972
+ type: z179.literal("DataSourceImported"),
5973
5973
  workspaceId: z179.string(),
5974
- designSystemId: z179.string(),
5975
- versionId: z179.string()
5974
+ designSystemId: z179.string()
5976
5975
  });
5977
5976
 
5978
- // src/events/documentation-published.ts
5977
+ // src/events/version-released.ts
5979
5978
  import { z as z180 } from "zod";
5980
- var EventDocumentationPublished = z180.object({
5981
- type: z180.literal("DocumentationPublished"),
5979
+ var EventVersionReleased = z180.object({
5980
+ type: z180.literal("DesignSystemVersionReleased"),
5982
5981
  workspaceId: z180.string(),
5983
5982
  designSystemId: z180.string(),
5984
5983
  versionId: z180.string()
5985
5984
  });
5986
5985
 
5986
+ // src/events/documentation-published.ts
5987
+ import { z as z181 } from "zod";
5988
+ var EventDocumentationPublished = z181.object({
5989
+ type: z181.literal("DocumentationPublished"),
5990
+ workspaceId: z181.string(),
5991
+ designSystemId: z181.string(),
5992
+ versionId: z181.string()
5993
+ });
5994
+
5987
5995
  // src/events/base.ts
5988
- var Event = z181.discriminatedUnion("type", [
5996
+ var Event = z182.discriminatedUnion("type", [
5989
5997
  EventVersionReleased,
5990
5998
  EventDataSourceImported,
5991
5999
  EventDocumentationPublished
5992
6000
  ]);
5993
6001
 
5994
6002
  // src/export/export-runner/export-context.ts
5995
- import { z as z182 } from "zod";
5996
- var ExportJobDocumentationContext = z182.object({
5997
- isSingleVersionDocs: z182.boolean(),
5998
- versionSlug: z182.string(),
6003
+ import { z as z183 } from "zod";
6004
+ var ExportJobDocumentationContext = z183.object({
6005
+ isSingleVersionDocs: z183.boolean(),
6006
+ versionSlug: z183.string(),
5999
6007
  environment: PublishedDocEnvironment
6000
6008
  });
6001
- var ExportJobDebugContext = z182.object({
6002
- debugMode: z182.boolean().optional(),
6003
- concurrency: z182.number().optional(),
6004
- preloadData: z182.string().optional(),
6005
- concurrencyMode: z182.string().optional(),
6006
- cacheSdk: z182.string().optional(),
6007
- logSdkNetwork: z182.boolean().optional(),
6008
- profilerMode: z182.string().optional()
6009
- });
6010
- var ExportJobContext = z182.object({
6011
- apiUrl: z182.string(),
6012
- accessToken: z182.string(),
6013
- designSystemId: z182.string(),
6014
- designSystemName: z182.string(),
6015
- exporterId: z182.string(),
6016
- versionId: z182.string(),
6017
- brandId: z182.string().optional(),
6018
- themeId: z182.string().optional(),
6019
- themePersistentIds: z182.string().array().optional(),
6020
- previewMode: z182.boolean().optional(),
6021
- exporterName: z182.string(),
6009
+ var ExportJobDebugContext = z183.object({
6010
+ debugMode: z183.boolean().optional(),
6011
+ concurrency: z183.number().optional(),
6012
+ preloadData: z183.string().optional(),
6013
+ concurrencyMode: z183.string().optional(),
6014
+ cacheSdk: z183.string().optional(),
6015
+ logSdkNetwork: z183.boolean().optional(),
6016
+ profilerMode: z183.string().optional()
6017
+ });
6018
+ var ExportJobContext = z183.object({
6019
+ apiUrl: z183.string(),
6020
+ accessToken: z183.string(),
6021
+ designSystemId: z183.string(),
6022
+ designSystemName: z183.string(),
6023
+ exporterId: z183.string(),
6024
+ versionId: z183.string(),
6025
+ brandId: z183.string().optional(),
6026
+ themeId: z183.string().optional(),
6027
+ themePersistentIds: z183.string().array().optional(),
6028
+ previewMode: z183.boolean().optional(),
6029
+ exporterName: z183.string(),
6022
6030
  documentation: ExportJobDocumentationContext.optional(),
6023
6031
  debug: ExportJobDebugContext.optional()
6024
6032
  });
6025
- var ExportJobExporterConfiguration = z182.object({
6026
- exporterPackageUrl: z182.string(),
6033
+ var ExportJobExporterConfiguration = z183.object({
6034
+ exporterPackageUrl: z183.string(),
6027
6035
  exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
6028
6036
  exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
6029
6037
  });
6030
6038
 
6031
6039
  // src/export/export-runner/exporter-payload.ts
6032
- import { z as z183 } from "zod";
6033
- var ExporterFunctionPayload = z183.object({
6034
- exportJobId: z183.string(),
6035
- exportContextId: z183.string(),
6036
- designSystemId: z183.string(),
6037
- workspaceId: z183.string(),
6038
- exporterId: z183.string()
6040
+ import { z as z184 } from "zod";
6041
+ var ExporterFunctionPayload = z184.object({
6042
+ exportJobId: z184.string(),
6043
+ exportContextId: z184.string(),
6044
+ designSystemId: z184.string(),
6045
+ workspaceId: z184.string(),
6046
+ exporterId: z184.string()
6039
6047
  });
6040
6048
 
6041
6049
  // src/export/export-jobs.ts
6042
- import { z as z184 } from "zod";
6043
- var ExportJobDestinationType = z184.enum([
6050
+ import { z as z185 } from "zod";
6051
+ var ExportJobDestinationType = z185.enum([
6044
6052
  "s3",
6045
6053
  "webhookUrl",
6046
6054
  "github",
@@ -6049,31 +6057,31 @@ var ExportJobDestinationType = z184.enum([
6049
6057
  "gitlab",
6050
6058
  "bitbucket"
6051
6059
  ]);
6052
- var ExportJobStatus = z184.enum(["InProgress", "Success", "Failed", "Timeout"]);
6053
- var ExportJobLogEntryType = z184.enum(["success", "info", "warning", "error", "user"]);
6054
- var ExportJobLogEntry = z184.object({
6055
- id: z184.string().optional(),
6056
- time: z184.coerce.date(),
6060
+ var ExportJobStatus = z185.enum(["InProgress", "Success", "Failed", "Timeout"]);
6061
+ var ExportJobLogEntryType = z185.enum(["success", "info", "warning", "error", "user"]);
6062
+ var ExportJobLogEntry = z185.object({
6063
+ id: z185.string().optional(),
6064
+ time: z185.coerce.date(),
6057
6065
  type: ExportJobLogEntryType,
6058
- message: z184.string()
6066
+ message: z185.string()
6059
6067
  });
6060
- var ExportJobPullRequestDestinationResult = z184.object({
6061
- pullRequestUrl: z184.string(),
6062
- sparseCheckoutUsed: nullishToOptional(z184.boolean())
6068
+ var ExportJobPullRequestDestinationResult = z185.object({
6069
+ pullRequestUrl: z185.string(),
6070
+ sparseCheckoutUsed: nullishToOptional(z185.boolean())
6063
6071
  });
6064
- var ExportJobS3DestinationResult = z184.object({
6065
- bucket: z184.string(),
6066
- urlPrefix: z184.string().optional(),
6067
- path: z184.string(),
6068
- files: z184.array(z184.string()),
6069
- url: nullishToOptional(z184.string()),
6070
- urls: nullishToOptional(z184.string().array())
6072
+ var ExportJobS3DestinationResult = z185.object({
6073
+ bucket: z185.string(),
6074
+ urlPrefix: z185.string().optional(),
6075
+ path: z185.string(),
6076
+ files: z185.array(z185.string()),
6077
+ url: nullishToOptional(z185.string()),
6078
+ urls: nullishToOptional(z185.string().array())
6071
6079
  });
6072
- var ExportJobDocsDestinationResult = z184.object({
6073
- url: z184.string()
6080
+ var ExportJobDocsDestinationResult = z185.object({
6081
+ url: z185.string()
6074
6082
  });
6075
- var ExportJobResult = z184.object({
6076
- error: z184.string().optional(),
6083
+ var ExportJobResult = z185.object({
6084
+ error: z185.string().optional(),
6077
6085
  s3: nullishToOptional(ExportJobS3DestinationResult),
6078
6086
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
6079
6087
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -6082,25 +6090,25 @@ var ExportJobResult = z184.object({
6082
6090
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
6083
6091
  logs: nullishToOptional(ExportJobLogEntry.array())
6084
6092
  });
6085
- var ExportJob = z184.object({
6086
- id: z184.string(),
6087
- createdAt: z184.coerce.date(),
6088
- finishedAt: z184.coerce.date().optional(),
6089
- designSystemId: z184.string(),
6090
- designSystemVersionId: z184.string(),
6091
- workspaceId: z184.string(),
6092
- scheduleId: z184.string().nullish(),
6093
- exporterId: z184.string(),
6094
- brandId: z184.string().optional(),
6095
- themeId: z184.string().optional(),
6096
- themePersistentIds: z184.string().array().optional(),
6097
- estimatedExecutionTime: z184.number().optional(),
6093
+ var ExportJob = z185.object({
6094
+ id: z185.string(),
6095
+ createdAt: z185.coerce.date(),
6096
+ finishedAt: z185.coerce.date().optional(),
6097
+ designSystemId: z185.string(),
6098
+ designSystemVersionId: z185.string(),
6099
+ workspaceId: z185.string(),
6100
+ scheduleId: z185.string().nullish(),
6101
+ exporterId: z185.string(),
6102
+ brandId: z185.string().optional(),
6103
+ themeId: z185.string().optional(),
6104
+ themePersistentIds: z185.string().array().optional(),
6105
+ estimatedExecutionTime: z185.number().optional(),
6098
6106
  status: ExportJobStatus,
6099
6107
  result: ExportJobResult.optional(),
6100
- createdByUserId: z184.string().optional(),
6108
+ createdByUserId: z185.string().optional(),
6101
6109
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
6102
- previewMode: z184.boolean().optional(),
6103
- exportContextId: z184.string().optional().nullable(),
6110
+ previewMode: z185.boolean().optional(),
6111
+ exportContextId: z185.string().optional().nullable(),
6104
6112
  // Destinations
6105
6113
  ...ExportDestinationsMap.shape
6106
6114
  });
@@ -6114,37 +6122,37 @@ var ExportJobFindByFilter = ExportJob.pick({
6114
6122
  themeId: true,
6115
6123
  brandId: true
6116
6124
  }).extend({
6117
- destinations: z184.array(ExportJobDestinationType),
6125
+ destinations: z185.array(ExportJobDestinationType),
6118
6126
  docsEnvironment: PublishedDocEnvironment,
6119
- selectivePublishing: z184.boolean().optional()
6127
+ selectivePublishing: z185.boolean().optional()
6120
6128
  }).partial();
6121
6129
 
6122
6130
  // src/export/exporter-list-query.ts
6123
- import { z as z185 } from "zod";
6124
- var ExporterType2 = z185.enum(["documentation", "code"]);
6125
- var ListExporterQuery = z185.object({
6126
- limit: z185.number().optional(),
6127
- offset: z185.number().optional(),
6131
+ import { z as z186 } from "zod";
6132
+ var ExporterType2 = z186.enum(["documentation", "code"]);
6133
+ var ListExporterQuery = z186.object({
6134
+ limit: z186.number().optional(),
6135
+ offset: z186.number().optional(),
6128
6136
  type: ExporterType2.optional(),
6129
- search: z185.string().optional()
6137
+ search: z186.string().optional()
6130
6138
  });
6131
6139
 
6132
6140
  // src/export/exporter-workspace-membership-role.ts
6133
- import { z as z186 } from "zod";
6134
- var ExporterWorkspaceMembershipRole = z186.enum(["Owner", "OwnerArchived", "User"]);
6141
+ import { z as z187 } from "zod";
6142
+ var ExporterWorkspaceMembershipRole = z187.enum(["Owner", "OwnerArchived", "User"]);
6135
6143
 
6136
6144
  // src/export/exporter-workspace-membership.ts
6137
- import { z as z187 } from "zod";
6138
- var ExporterWorkspaceMembership = z187.object({
6139
- id: z187.string(),
6140
- workspaceId: z187.string(),
6141
- exporterId: z187.string(),
6145
+ import { z as z188 } from "zod";
6146
+ var ExporterWorkspaceMembership = z188.object({
6147
+ id: z188.string(),
6148
+ workspaceId: z188.string(),
6149
+ exporterId: z188.string(),
6142
6150
  role: ExporterWorkspaceMembershipRole
6143
6151
  });
6144
6152
 
6145
6153
  // src/feature-flags/feature-flags.ts
6146
- import { z as z188 } from "zod";
6147
- var FlaggedFeature = z188.enum([
6154
+ import { z as z189 } from "zod";
6155
+ var FlaggedFeature = z189.enum([
6148
6156
  "FigmaImporterV2",
6149
6157
  "DisableImporter",
6150
6158
  "VariablesOrder",
@@ -6167,209 +6175,209 @@ var FlaggedFeature = z188.enum([
6167
6175
  var FeatureFlagDefaults = {
6168
6176
  DocumentationIgnoreSnapshotsOnPublish: "route-bff+route-p3"
6169
6177
  };
6170
- var FeatureFlagMap = z188.record(FlaggedFeature, z188.boolean());
6171
- var FeatureFlag = z188.object({
6172
- id: z188.string(),
6178
+ var FeatureFlagMap = z189.record(FlaggedFeature, z189.boolean());
6179
+ var FeatureFlag = z189.object({
6180
+ id: z189.string(),
6173
6181
  feature: FlaggedFeature,
6174
- createdAt: z188.coerce.date(),
6175
- enabled: z188.boolean(),
6176
- designSystemId: z188.string().optional(),
6177
- data: z188.record(z188.any()).nullable().optional()
6182
+ createdAt: z189.coerce.date(),
6183
+ enabled: z189.boolean(),
6184
+ designSystemId: z189.string().optional(),
6185
+ data: z189.record(z189.any()).nullable().optional()
6178
6186
  });
6179
6187
 
6180
6188
  // src/forge/agent.ts
6181
- import { z as z189 } from "zod";
6182
- var ForgeAvatarBuilder = z189.object({
6183
- headType: z189.string(),
6184
- hairType: z189.string(),
6185
- accessory1Type: z189.string(),
6186
- accessory2Type: z189.string()
6187
- });
6188
- var ForgeAgent = z189.object({
6189
- avatar: z189.union([z189.string(), ForgeAvatarBuilder]),
6190
- avatarUrl: z189.string().optional(),
6191
- behavior: z189.enum(["Coder", "Writer", "Designer"]),
6192
- id: z189.string(),
6193
- name: z189.string(),
6194
- personality: z189.enum(["Neutral", "Assertive", "Crazy"]),
6195
- projectId: z189.string()
6189
+ import { z as z190 } from "zod";
6190
+ var ForgeAvatarBuilder = z190.object({
6191
+ headType: z190.string(),
6192
+ hairType: z190.string(),
6193
+ accessory1Type: z190.string(),
6194
+ accessory2Type: z190.string()
6195
+ });
6196
+ var ForgeAgent = z190.object({
6197
+ avatar: z190.union([z190.string(), ForgeAvatarBuilder]),
6198
+ avatarUrl: z190.string().optional(),
6199
+ behavior: z190.enum(["Coder", "Writer", "Designer"]),
6200
+ id: z190.string(),
6201
+ name: z190.string(),
6202
+ personality: z190.enum(["Neutral", "Assertive", "Crazy"]),
6203
+ projectId: z190.string()
6196
6204
  });
6197
6205
 
6198
6206
  // src/forge/artifact.ts
6199
- import { z as z190 } from "zod";
6200
- var Artifact = z190.object({
6201
- id: z190.string(),
6202
- createdAt: z190.coerce.date(),
6203
- projectIterationId: z190.string()
6207
+ import { z as z191 } from "zod";
6208
+ var Artifact = z191.object({
6209
+ id: z191.string(),
6210
+ createdAt: z191.coerce.date(),
6211
+ projectIterationId: z191.string()
6204
6212
  });
6205
6213
  var ForgeFileArtifact = Artifact.extend({
6206
- type: z190.enum(["file/text", "file/pdf", "file/image"]),
6207
- fileName: z190.string(),
6208
- uploadedFileUrl: z190.string()
6214
+ type: z191.enum(["file/text", "file/pdf", "file/image"]),
6215
+ fileName: z191.string(),
6216
+ uploadedFileUrl: z191.string()
6209
6217
  });
6210
6218
  var ForgeFigmaArtifact = Artifact.extend({
6211
- type: z190.literal("figma/node"),
6212
- figmaFileUrl: z190.string(),
6213
- figmaNodeId: z190.string(),
6214
- figmaFileName: z190.string().optional(),
6215
- previewUrl: z190.string().optional()
6219
+ type: z191.literal("figma/node"),
6220
+ figmaFileUrl: z191.string(),
6221
+ figmaNodeId: z191.string(),
6222
+ figmaFileName: z191.string().optional(),
6223
+ previewUrl: z191.string().optional()
6216
6224
  });
6217
6225
  var ForgeSpecArtifact = Artifact.extend({
6218
- type: z190.literal("spec"),
6219
- fileName: z190.string(),
6220
- yjsDocId: z190.string(),
6221
- markdownText: z190.string()
6222
- });
6223
- var ForgeBuildArtifactFiles = z190.array(
6224
- z190.object({
6225
- path: z190.string(),
6226
- content: z190.string(),
6227
- isVisibleToUser: z190.boolean().optional()
6226
+ type: z191.literal("spec"),
6227
+ fileName: z191.string(),
6228
+ yjsDocId: z191.string(),
6229
+ markdownText: z191.string()
6230
+ });
6231
+ var ForgeBuildArtifactFiles = z191.array(
6232
+ z191.object({
6233
+ path: z191.string(),
6234
+ content: z191.string(),
6235
+ isVisibleToUser: z191.boolean().optional()
6228
6236
  })
6229
6237
  );
6230
- var ForgeBuildArtifactEnvironment = z190.object({
6231
- dependencies: z190.record(z190.string())
6238
+ var ForgeBuildArtifactEnvironment = z191.object({
6239
+ dependencies: z191.record(z191.string())
6232
6240
  });
6233
6241
  var ForgeBuildArtifact = Artifact.extend({
6234
- type: z190.literal("build"),
6235
- participantId: z190.string(),
6242
+ type: z191.literal("build"),
6243
+ participantId: z191.string(),
6236
6244
  files: ForgeBuildArtifactFiles,
6237
6245
  environment: ForgeBuildArtifactEnvironment
6238
6246
  });
6239
- var ForgeArtifact = z190.union([ForgeBuildArtifact, ForgeSpecArtifact, ForgeFigmaArtifact, ForgeFileArtifact]);
6247
+ var ForgeArtifact = z191.union([ForgeBuildArtifact, ForgeSpecArtifact, ForgeFigmaArtifact, ForgeFileArtifact]);
6240
6248
 
6241
6249
  // src/forge/iteration-message.ts
6242
- import { z as z192 } from "zod";
6250
+ import { z as z193 } from "zod";
6243
6251
 
6244
6252
  // src/forge/participant.ts
6245
- import { z as z191 } from "zod";
6246
- var ForgeParticipant = z191.object({
6247
- id: z191.string(),
6248
- agentId: z191.string().optional(),
6253
+ import { z as z192 } from "zod";
6254
+ var ForgeParticipant = z192.object({
6255
+ id: z192.string(),
6256
+ agentId: z192.string().optional(),
6249
6257
  agent: ForgeAgent.optional(),
6250
- projectIterationId: z191.string(),
6251
- role: z191.enum(["Editor", "Viewer"]),
6252
- type: z191.enum(["Agent", "User"]),
6253
- userId: z191.string().optional(),
6258
+ projectIterationId: z192.string(),
6259
+ role: z192.enum(["Editor", "Viewer"]),
6260
+ type: z192.enum(["Agent", "User"]),
6261
+ userId: z192.string().optional(),
6254
6262
  user: User.optional()
6255
6263
  });
6256
6264
 
6257
6265
  // src/forge/iteration-message.ts
6258
- var ForgeIterationMessageStep = z192.object({
6259
- name: z192.string(),
6260
- text: z192.string(),
6261
- status: z192.enum(["pending", "started", "completed", "error"])
6266
+ var ForgeIterationMessageStep = z193.object({
6267
+ name: z193.string(),
6268
+ text: z193.string(),
6269
+ status: z193.enum(["pending", "started", "completed", "error"])
6262
6270
  });
6263
- var ForgeIterationMessage = z192.object({
6264
- id: z192.string(),
6265
- createdAt: z192.coerce.date(),
6266
- participantId: z192.string(),
6271
+ var ForgeIterationMessage = z193.object({
6272
+ id: z193.string(),
6273
+ createdAt: z193.coerce.date(),
6274
+ participantId: z193.string(),
6267
6275
  participant: ForgeParticipant,
6268
- projectIterationId: z192.string(),
6269
- steps: z192.array(ForgeIterationMessageStep).optional(),
6270
- type: z192.enum(["Note", "Action", "Steps"]),
6271
- text: z192.string()
6276
+ projectIterationId: z193.string(),
6277
+ steps: z193.array(ForgeIterationMessageStep).optional(),
6278
+ type: z193.enum(["Note", "Action", "Steps"]),
6279
+ text: z193.string()
6272
6280
  });
6273
6281
 
6274
6282
  // src/forge/meta.ts
6275
- import { z as z193 } from "zod";
6276
- var ForgeMeta = z193.object({
6277
- name: z193.string(),
6278
- description: z193.string().optional()
6283
+ import { z as z194 } from "zod";
6284
+ var ForgeMeta = z194.object({
6285
+ name: z194.string(),
6286
+ description: z194.string().optional()
6279
6287
  });
6280
6288
 
6281
6289
  // src/forge/project-context.ts
6282
- import { z as z194 } from "zod";
6283
- var ForgeProjectContextDependency = z194.object({
6284
- packageName: z194.string(),
6285
- type: z194.literal("npm"),
6286
- version: z194.string().default("latest")
6287
- });
6288
- var ForgeProjectContextTailwindConfig = z194.object({
6289
- content: z194.string(),
6290
- version: z194.string()
6291
- });
6292
- var ForgeProjectContext = z194.object({
6293
- createdAt: z194.coerce.date(),
6294
- definition: z194.string(),
6295
- dependencies: z194.array(ForgeProjectContextDependency),
6296
- designSystemId: z194.string(),
6297
- id: z194.string(),
6290
+ import { z as z195 } from "zod";
6291
+ var ForgeProjectContextDependency = z195.object({
6292
+ packageName: z195.string(),
6293
+ type: z195.literal("npm"),
6294
+ version: z195.string().default("latest")
6295
+ });
6296
+ var ForgeProjectContextTailwindConfig = z195.object({
6297
+ content: z195.string(),
6298
+ version: z195.string()
6299
+ });
6300
+ var ForgeProjectContext = z195.object({
6301
+ createdAt: z195.coerce.date(),
6302
+ definition: z195.string(),
6303
+ dependencies: z195.array(ForgeProjectContextDependency),
6304
+ designSystemId: z195.string(),
6305
+ id: z195.string(),
6298
6306
  meta: ForgeMeta,
6299
- name: z194.string(),
6307
+ name: z195.string(),
6300
6308
  npmProxySettings: NpmRegistryConfig,
6301
- platform: z194.enum(["React", "Vue", "Angular"]),
6302
- styling: z194.enum(["CSS", "Tailwind"]),
6309
+ platform: z195.enum(["React", "Vue", "Angular"]),
6310
+ styling: z195.enum(["CSS", "Tailwind"]),
6303
6311
  tailwindConfig: ForgeProjectContextTailwindConfig.optional(),
6304
- updatedAt: z194.coerce.date(),
6305
- workspaceId: z194.string()
6312
+ updatedAt: z195.coerce.date(),
6313
+ workspaceId: z195.string()
6306
6314
  });
6307
6315
 
6308
6316
  // src/forge/project-invitation.ts
6309
- import { z as z196 } from "zod";
6317
+ import { z as z197 } from "zod";
6310
6318
 
6311
6319
  // src/forge/project-membership.ts
6312
- import { z as z195 } from "zod";
6313
- var ForgeProjectRole = z195.enum(["Viewer", "Editor", "Admin"]);
6314
- var ForgeProjectMembership = z195.object({
6315
- userId: z195.string(),
6316
- forgeProjectId: z195.string(),
6317
- workspaceMembershipId: z195.string(),
6320
+ import { z as z196 } from "zod";
6321
+ var ForgeProjectRole = z196.enum(["Viewer", "Editor", "Admin"]);
6322
+ var ForgeProjectMembership = z196.object({
6323
+ userId: z196.string(),
6324
+ forgeProjectId: z196.string(),
6325
+ workspaceMembershipId: z196.string(),
6318
6326
  workspaceRole: WorkspaceRoleSchema,
6319
6327
  role: ForgeProjectRole
6320
6328
  });
6321
6329
 
6322
6330
  // src/forge/project-invitation.ts
6323
- var ForgeProjectInvitation = z196.object({
6324
- email: z196.string().email(),
6325
- forgeProjectId: z196.string(),
6326
- workspaceInvitationId: z196.string(),
6331
+ var ForgeProjectInvitation = z197.object({
6332
+ email: z197.string().email(),
6333
+ forgeProjectId: z197.string(),
6334
+ workspaceInvitationId: z197.string(),
6327
6335
  role: ForgeProjectRole,
6328
- createdAt: z196.coerce.date(),
6329
- updatedAt: z196.coerce.date(),
6330
- createdById: z196.string()
6336
+ createdAt: z197.coerce.date(),
6337
+ updatedAt: z197.coerce.date(),
6338
+ createdById: z197.string()
6331
6339
  });
6332
6340
 
6333
6341
  // src/forge/project-iteration.ts
6334
- import { z as z197 } from "zod";
6335
- var ForgeProjectIterationMergeMeta = z197.object({ mergeByUserId: z197.string(), mergeAt: z197.date() });
6336
- var ForgeProjectIteration = z197.object({
6337
- branchId: z197.string().optional(),
6338
- buildArtifactId: z197.string(),
6339
- createdAt: z197.coerce.date(),
6340
- forgeProjectId: z197.string(),
6341
- id: z197.string(),
6342
- locked: z197.boolean(),
6343
- messages: z197.array(ForgeIterationMessage),
6344
- artifacts: z197.array(ForgeArtifact),
6345
- previousIterationId: z197.string().optional(),
6342
+ import { z as z198 } from "zod";
6343
+ var ForgeProjectIterationMergeMeta = z198.object({ mergeByUserId: z198.string(), mergeAt: z198.date() });
6344
+ var ForgeProjectIteration = z198.object({
6345
+ branchId: z198.string().optional(),
6346
+ buildArtifactId: z198.string(),
6347
+ createdAt: z198.coerce.date(),
6348
+ forgeProjectId: z198.string(),
6349
+ id: z198.string(),
6350
+ locked: z198.boolean(),
6351
+ messages: z198.array(ForgeIterationMessage),
6352
+ artifacts: z198.array(ForgeArtifact),
6353
+ previousIterationId: z198.string().optional(),
6346
6354
  mergeMeta: ForgeProjectIterationMergeMeta.optional()
6347
6355
  });
6348
6356
 
6349
6357
  // src/forge/project.ts
6350
- import { z as z198 } from "zod";
6351
- var ForgeProjectTag = z198.array(z198.string()).default([]);
6352
- var ForgeProjectAccessMode = z198.enum(["InviteOnly", "Open"]);
6353
- var ForgeProject = z198.object({
6354
- createdAt: z198.coerce.date(),
6355
- createdByUserId: z198.string().optional(),
6356
- fpContextId: z198.string(),
6357
- id: z198.string(),
6358
- instruction: z198.string().nullable(),
6358
+ import { z as z199 } from "zod";
6359
+ var ForgeProjectTag = z199.array(z199.string()).default([]);
6360
+ var ForgeProjectAccessMode = z199.enum(["InviteOnly", "Open"]);
6361
+ var ForgeProject = z199.object({
6362
+ createdAt: z199.coerce.date(),
6363
+ createdByUserId: z199.string().optional(),
6364
+ fpContextId: z199.string(),
6365
+ id: z199.string(),
6366
+ instruction: z199.string().nullable(),
6359
6367
  meta: ForgeMeta,
6360
- name: z198.string(),
6368
+ name: z199.string(),
6361
6369
  tags: ForgeProjectTag,
6362
- updatedAt: z198.coerce.date().optional(),
6363
- workspaceId: z198.string(),
6370
+ updatedAt: z199.coerce.date().optional(),
6371
+ workspaceId: z199.string(),
6364
6372
  accessMode: ForgeProjectAccessMode,
6365
- isArchived: z198.boolean().optional()
6373
+ isArchived: z199.boolean().optional()
6366
6374
  });
6367
6375
 
6368
6376
  // src/integrations/external-oauth-request.ts
6369
- import { z as z200 } from "zod";
6377
+ import { z as z201 } from "zod";
6370
6378
 
6371
6379
  // src/integrations/oauth-providers.ts
6372
- import { z as z199 } from "zod";
6380
+ import { z as z200 } from "zod";
6373
6381
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6374
6382
  OAuthProviderNames2["Figma"] = "figma";
6375
6383
  OAuthProviderNames2["Azure"] = "azure";
@@ -6378,152 +6386,152 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
6378
6386
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
6379
6387
  return OAuthProviderNames2;
6380
6388
  })(OAuthProviderNames || {});
6381
- var OAuthProviderSchema = z199.nativeEnum(OAuthProviderNames);
6389
+ var OAuthProviderSchema = z200.nativeEnum(OAuthProviderNames);
6382
6390
  var OAuthProvider = OAuthProviderSchema.enum;
6383
6391
 
6384
6392
  // src/integrations/external-oauth-request.ts
6385
- var ExternalOAuthRequest = z200.object({
6386
- id: z200.string(),
6393
+ var ExternalOAuthRequest = z201.object({
6394
+ id: z201.string(),
6387
6395
  provider: OAuthProviderSchema,
6388
- userId: z200.string(),
6389
- state: z200.string(),
6390
- createdAt: z200.coerce.date()
6396
+ userId: z201.string(),
6397
+ state: z201.string(),
6398
+ createdAt: z201.coerce.date()
6391
6399
  });
6392
6400
 
6393
6401
  // src/integrations/git.ts
6394
- import { z as z201 } from "zod";
6395
- var GitObjectsQuery = z201.object({
6396
- organization: z201.string().optional(),
6402
+ import { z as z202 } from "zod";
6403
+ var GitObjectsQuery = z202.object({
6404
+ organization: z202.string().optional(),
6397
6405
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
6398
- project: z201.string().optional(),
6406
+ project: z202.string().optional(),
6399
6407
  // Only for Bitbucket and Azure
6400
- repository: z201.string().optional(),
6408
+ repository: z202.string().optional(),
6401
6409
  // For all providers. For Gitlab, it's called "project".
6402
- branch: z201.string().optional(),
6410
+ branch: z202.string().optional(),
6403
6411
  // For all providers.
6404
- user: z201.string().optional()
6412
+ user: z202.string().optional()
6405
6413
  // Gitlab user
6406
6414
  });
6407
- var GitOrganization = z201.object({
6408
- id: z201.string(),
6409
- name: z201.string(),
6410
- url: z201.string(),
6411
- slug: z201.string()
6415
+ var GitOrganization = z202.object({
6416
+ id: z202.string(),
6417
+ name: z202.string(),
6418
+ url: z202.string(),
6419
+ slug: z202.string()
6412
6420
  });
6413
- var GitProject = z201.object({
6414
- id: z201.string(),
6415
- name: z201.string(),
6416
- url: z201.string(),
6417
- slug: z201.string()
6421
+ var GitProject = z202.object({
6422
+ id: z202.string(),
6423
+ name: z202.string(),
6424
+ url: z202.string(),
6425
+ slug: z202.string()
6418
6426
  });
6419
- var GitRepository = z201.object({
6420
- id: z201.string(),
6421
- name: z201.string(),
6422
- url: z201.string(),
6423
- slug: z201.string(),
6427
+ var GitRepository = z202.object({
6428
+ id: z202.string(),
6429
+ name: z202.string(),
6430
+ url: z202.string(),
6431
+ slug: z202.string(),
6424
6432
  /**
6425
6433
  * Can be undefined when:
6426
6434
  * - there are no branches in the repository yet
6427
6435
  * - Git provider doesn't expose this information on a repository via their API
6428
6436
  */
6429
- defaultBranch: z201.string().optional()
6437
+ defaultBranch: z202.string().optional()
6430
6438
  });
6431
- var GitBranch = z201.object({
6432
- name: z201.string(),
6433
- lastCommitId: z201.string()
6439
+ var GitBranch = z202.object({
6440
+ name: z202.string(),
6441
+ lastCommitId: z202.string()
6434
6442
  });
6435
6443
 
6436
6444
  // src/integrations/oauth-token.ts
6437
- import { z as z202 } from "zod";
6438
- var IntegrationTokenSchemaOld = z202.object({
6439
- id: z202.string(),
6445
+ import { z as z203 } from "zod";
6446
+ var IntegrationTokenSchemaOld = z203.object({
6447
+ id: z203.string(),
6440
6448
  provider: OAuthProviderSchema,
6441
- scope: z202.string(),
6442
- userId: z202.string(),
6443
- accessToken: z202.string(),
6444
- refreshToken: z202.string(),
6445
- expiresAt: z202.coerce.date(),
6446
- externalUserId: z202.string().nullish()
6449
+ scope: z203.string(),
6450
+ userId: z203.string(),
6451
+ accessToken: z203.string(),
6452
+ refreshToken: z203.string(),
6453
+ expiresAt: z203.coerce.date(),
6454
+ externalUserId: z203.string().nullish()
6447
6455
  });
6448
6456
 
6449
6457
  // src/integrations/workspace-oauth-requests.ts
6450
- import { z as z203 } from "zod";
6451
- var WorkspaceOAuthRequestSchema = z203.object({
6452
- id: z203.string(),
6453
- workspaceId: z203.string(),
6458
+ import { z as z204 } from "zod";
6459
+ var WorkspaceOAuthRequestSchema = z204.object({
6460
+ id: z204.string(),
6461
+ workspaceId: z204.string(),
6454
6462
  provider: OAuthProviderSchema,
6455
- userId: z203.string(),
6456
- createdAt: z203.coerce.date()
6463
+ userId: z204.string(),
6464
+ createdAt: z204.coerce.date()
6457
6465
  });
6458
6466
 
6459
6467
  // src/npm/npm-package.ts
6460
- import { z as z204 } from "zod";
6461
- var AnyRecord = z204.record(z204.any());
6468
+ import { z as z205 } from "zod";
6469
+ var AnyRecord = z205.record(z205.any());
6462
6470
  var NpmPackageVersionDist = AnyRecord.and(
6463
- z204.object({
6464
- tarball: z204.string()
6471
+ z205.object({
6472
+ tarball: z205.string()
6465
6473
  })
6466
6474
  );
6467
6475
  var NpmPackageVersion = AnyRecord.and(
6468
- z204.object({
6476
+ z205.object({
6469
6477
  dist: NpmPackageVersionDist
6470
6478
  })
6471
6479
  );
6472
6480
  var NpmPackage = AnyRecord.and(
6473
- z204.object({
6474
- _id: z204.string(),
6475
- name: z204.string(),
6481
+ z205.object({
6482
+ _id: z205.string(),
6483
+ name: z205.string(),
6476
6484
  // e.g. "latest": "1.2.3"
6477
- "dist-tags": z204.record(z204.string(), z204.string()),
6485
+ "dist-tags": z205.record(z205.string(), z205.string()),
6478
6486
  // "1.2.3": {...}
6479
- versions: z204.record(NpmPackageVersion)
6487
+ versions: z205.record(NpmPackageVersion)
6480
6488
  })
6481
6489
  );
6482
6490
 
6483
6491
  // src/npm/npm-proxy-token-payload.ts
6484
- import { z as z205 } from "zod";
6485
- var NpmProxyTokenPayload = z205.object({
6486
- npmProxyRegistryConfigId: z205.string()
6492
+ import { z as z206 } from "zod";
6493
+ var NpmProxyTokenPayload = z206.object({
6494
+ npmProxyRegistryConfigId: z206.string()
6487
6495
  });
6488
6496
 
6489
6497
  // src/portal/portal-settings.ts
6490
- import { z as z206 } from "zod";
6498
+ import { z as z207 } from "zod";
6491
6499
  var PortalSettingsTheme = UserTheme;
6492
- var PortalSettingsSidebarLink = z206.object({
6493
- name: z206.string(),
6494
- url: z206.string(),
6495
- emoji: z206.string()
6496
- });
6497
- var PortalSettingsSidebarSection = z206.object({
6498
- sectionName: z206.string(),
6499
- links: z206.array(PortalSettingsSidebarLink)
6500
- });
6501
- var PortalSettingsSidebar = z206.array(PortalSettingsSidebarSection);
6502
- var PortalSettings = z206.object({
6503
- id: z206.string(),
6504
- workspaceId: z206.string(),
6505
- enabledDesignSystemIds: z206.array(z206.string()),
6506
- enabledBrandPersistentIds: z206.array(z206.string()),
6500
+ var PortalSettingsSidebarLink = z207.object({
6501
+ name: z207.string(),
6502
+ url: z207.string(),
6503
+ emoji: z207.string()
6504
+ });
6505
+ var PortalSettingsSidebarSection = z207.object({
6506
+ sectionName: z207.string(),
6507
+ links: z207.array(PortalSettingsSidebarLink)
6508
+ });
6509
+ var PortalSettingsSidebar = z207.array(PortalSettingsSidebarSection);
6510
+ var PortalSettings = z207.object({
6511
+ id: z207.string(),
6512
+ workspaceId: z207.string(),
6513
+ enabledDesignSystemIds: z207.array(z207.string()),
6514
+ enabledBrandPersistentIds: z207.array(z207.string()),
6507
6515
  theme: PortalSettingsTheme.nullish(),
6508
6516
  sidebar: PortalSettingsSidebar.nullish(),
6509
- createdAt: z206.coerce.date(),
6510
- updatedAt: z206.coerce.date()
6517
+ createdAt: z207.coerce.date(),
6518
+ updatedAt: z207.coerce.date()
6511
6519
  });
6512
6520
 
6513
6521
  // src/tokens/personal-access-token.ts
6514
- import { z as z207 } from "zod";
6515
- var PersonalAccessToken = z207.object({
6516
- id: z207.string(),
6517
- userId: z207.string(),
6518
- workspaceId: z207.string().optional(),
6519
- designSystemId: z207.string().optional(),
6522
+ import { z as z208 } from "zod";
6523
+ var PersonalAccessToken = z208.object({
6524
+ id: z208.string(),
6525
+ userId: z208.string(),
6526
+ workspaceId: z208.string().optional(),
6527
+ designSystemId: z208.string().optional(),
6520
6528
  workspaceRole: WorkspaceRoleSchema.optional(),
6521
- name: z207.string(),
6522
- hidden: z207.boolean(),
6523
- token: z207.string(),
6524
- scope: z207.string().optional(),
6525
- createdAt: z207.coerce.date(),
6526
- expireAt: z207.coerce.date().optional()
6529
+ name: z208.string(),
6530
+ hidden: z208.boolean(),
6531
+ token: z208.string(),
6532
+ scope: z208.string().optional(),
6533
+ createdAt: z208.coerce.date(),
6534
+ expireAt: z208.coerce.date().optional()
6527
6535
  });
6528
6536
  export {
6529
6537
  Address,
@@ -6859,6 +6867,7 @@ export {
6859
6867
  ForgeProjectIterationMergeMeta,
6860
6868
  ForgeProjectMembership,
6861
6869
  ForgeProjectRole,
6870
+ ForgeProjectRoom,
6862
6871
  ForgeProjectTag,
6863
6872
  ForgeSpecArtifact,
6864
6873
  GitBranch,