@supernova-studio/model 0.48.18 → 0.48.19

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
@@ -4611,40 +4611,63 @@ var UserSession = z144.object({
4611
4611
  user: User.nullable()
4612
4612
  });
4613
4613
 
4614
- // src/export/export-runner/export-context.ts
4614
+ // src/events/base.ts
4615
+ import { z as z147 } from "zod";
4616
+
4617
+ // src/events/data-source-imported.ts
4615
4618
  import { z as z145 } from "zod";
4616
- var ExportJobDocumentationContext = z145.object({
4617
- isSingleVersionDocs: z145.boolean(),
4618
- versionSlug: z145.string(),
4619
+ var EventDataSourceImported = z145.object({
4620
+ type: z145.literal("DataSourceImported"),
4621
+ workspaceId: z145.string(),
4622
+ designSystemId: z145.string()
4623
+ });
4624
+
4625
+ // src/events/version-released.ts
4626
+ import { z as z146 } from "zod";
4627
+ var EventVersionReleased = z146.object({
4628
+ type: z146.literal("DesignSystemVersionReleased"),
4629
+ workspaceId: z146.string(),
4630
+ designSystemId: z146.string(),
4631
+ versionId: z146.string()
4632
+ });
4633
+
4634
+ // src/events/base.ts
4635
+ var Event = z147.discriminatedUnion("type", [EventVersionReleased, EventDataSourceImported]);
4636
+
4637
+ // src/export/export-runner/export-context.ts
4638
+ import { z as z148 } from "zod";
4639
+ var ExportJobDocumentationContext = z148.object({
4640
+ isSingleVersionDocs: z148.boolean(),
4641
+ versionSlug: z148.string(),
4619
4642
  environment: PublishedDocEnvironment
4620
4643
  });
4621
- var ExportJobContext = z145.object({
4622
- apiUrl: z145.string(),
4623
- accessToken: z145.string(),
4624
- designSystemId: z145.string(),
4625
- designSystemName: z145.string(),
4626
- exporterId: z145.string(),
4627
- versionId: z145.string(),
4628
- brandId: z145.string().optional(),
4629
- themeId: z145.string().optional(),
4630
- exporterName: z145.string(),
4631
- exporterPackageUrl: z145.string(),
4644
+ var ExportJobContext = z148.object({
4645
+ apiUrl: z148.string(),
4646
+ accessToken: z148.string(),
4647
+ designSystemId: z148.string(),
4648
+ designSystemName: z148.string(),
4649
+ exporterId: z148.string(),
4650
+ versionId: z148.string(),
4651
+ brandId: z148.string().optional(),
4652
+ themeId: z148.string().optional(),
4653
+ exporterName: z148.string(),
4654
+ exporterPackageUrl: z148.string(),
4632
4655
  exporterPropertyValues: ExporterPropertyValue.array(),
4633
4656
  documentation: ExportJobDocumentationContext.optional()
4634
4657
  });
4635
4658
 
4636
4659
  // src/export/export-runner/exporter-payload.ts
4637
- import { z as z146 } from "zod";
4638
- var ExporterFunctionPayload = z146.object({
4639
- exportJobId: z146.string(),
4640
- exportContextId: z146.string(),
4641
- designSystemId: z146.string(),
4642
- workspaceId: z146.string()
4660
+ import { z as z149 } from "zod";
4661
+ var ExporterFunctionPayload = z149.object({
4662
+ exportJobId: z149.string(),
4663
+ exportContextId: z149.string(),
4664
+ designSystemId: z149.string(),
4665
+ workspaceId: z149.string()
4643
4666
  });
4644
4667
 
4645
4668
  // src/export/export-jobs.ts
4646
- import { z as z147 } from "zod";
4647
- var ExportJobDestinationType = z147.enum([
4669
+ import { z as z150 } from "zod";
4670
+ var ExportJobDestinationType = z150.enum([
4648
4671
  "s3",
4649
4672
  "webhookUrl",
4650
4673
  "github",
@@ -4653,30 +4676,30 @@ var ExportJobDestinationType = z147.enum([
4653
4676
  "gitlab",
4654
4677
  "bitbucket"
4655
4678
  ]);
4656
- var ExportJobStatus = z147.enum(["InProgress", "Success", "Failed", "Timeout"]);
4657
- var ExportJobLogEntryType = z147.enum(["success", "info", "warning", "error", "user"]);
4658
- var ExportJobLogEntry = z147.object({
4659
- id: z147.string().optional(),
4660
- time: z147.coerce.date(),
4679
+ var ExportJobStatus = z150.enum(["InProgress", "Success", "Failed", "Timeout"]);
4680
+ var ExportJobLogEntryType = z150.enum(["success", "info", "warning", "error", "user"]);
4681
+ var ExportJobLogEntry = z150.object({
4682
+ id: z150.string().optional(),
4683
+ time: z150.coerce.date(),
4661
4684
  type: ExportJobLogEntryType,
4662
- message: z147.string()
4685
+ message: z150.string()
4663
4686
  });
4664
- var ExportJobPullRequestDestinationResult = z147.object({
4665
- pullRequestUrl: z147.string()
4687
+ var ExportJobPullRequestDestinationResult = z150.object({
4688
+ pullRequestUrl: z150.string()
4666
4689
  });
4667
- var ExportJobS3DestinationResult = z147.object({
4668
- bucket: z147.string(),
4669
- urlPrefix: z147.string().optional(),
4670
- path: z147.string(),
4671
- files: z147.array(z147.string()),
4672
- url: nullishToOptional(z147.string()),
4673
- urls: nullishToOptional(z147.string().array())
4690
+ var ExportJobS3DestinationResult = z150.object({
4691
+ bucket: z150.string(),
4692
+ urlPrefix: z150.string().optional(),
4693
+ path: z150.string(),
4694
+ files: z150.array(z150.string()),
4695
+ url: nullishToOptional(z150.string()),
4696
+ urls: nullishToOptional(z150.string().array())
4674
4697
  });
4675
- var ExportJobDocsDestinationResult = z147.object({
4676
- url: z147.string()
4698
+ var ExportJobDocsDestinationResult = z150.object({
4699
+ url: z150.string()
4677
4700
  });
4678
- var ExportJobResult = z147.object({
4679
- error: z147.string().optional(),
4701
+ var ExportJobResult = z150.object({
4702
+ error: z150.string().optional(),
4680
4703
  s3: nullishToOptional(ExportJobS3DestinationResult),
4681
4704
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
4682
4705
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -4685,21 +4708,21 @@ var ExportJobResult = z147.object({
4685
4708
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
4686
4709
  logs: nullishToOptional(ExportJobLogEntry.array())
4687
4710
  });
4688
- var ExportJob = z147.object({
4689
- id: z147.string(),
4690
- createdAt: z147.coerce.date(),
4691
- finishedAt: z147.coerce.date().optional(),
4692
- designSystemId: z147.string(),
4693
- designSystemVersionId: z147.string(),
4694
- workspaceId: z147.string(),
4695
- scheduleId: z147.string().nullish(),
4696
- exporterId: z147.string(),
4697
- brandId: z147.string().optional(),
4698
- themeId: z147.string().optional(),
4699
- estimatedExecutionTime: z147.number().optional(),
4711
+ var ExportJob = z150.object({
4712
+ id: z150.string(),
4713
+ createdAt: z150.coerce.date(),
4714
+ finishedAt: z150.coerce.date().optional(),
4715
+ designSystemId: z150.string(),
4716
+ designSystemVersionId: z150.string(),
4717
+ workspaceId: z150.string(),
4718
+ scheduleId: z150.string().nullish(),
4719
+ exporterId: z150.string(),
4720
+ brandId: z150.string().optional(),
4721
+ themeId: z150.string().optional(),
4722
+ estimatedExecutionTime: z150.number().optional(),
4700
4723
  status: ExportJobStatus,
4701
4724
  result: ExportJobResult.optional(),
4702
- createdByUserId: z147.string().optional(),
4725
+ createdByUserId: z150.string().optional(),
4703
4726
  // Destinations
4704
4727
  ...ExportDestinationsMap.shape
4705
4728
  });
@@ -4713,40 +4736,40 @@ var ExportJobFindByFilter = ExportJob.pick({
4713
4736
  themeId: true,
4714
4737
  brandId: true
4715
4738
  }).extend({
4716
- destinations: z147.array(ExportJobDestinationType),
4739
+ destinations: z150.array(ExportJobDestinationType),
4717
4740
  docsEnvironment: PublishedDocEnvironment
4718
4741
  }).partial();
4719
4742
 
4720
4743
  // src/export/exporter-workspace-membership-role.ts
4721
- import { z as z148 } from "zod";
4722
- var ExporterWorkspaceMembershipRole = z148.enum(["Owner", "OwnerArchived", "User"]);
4744
+ import { z as z151 } from "zod";
4745
+ var ExporterWorkspaceMembershipRole = z151.enum(["Owner", "OwnerArchived", "User"]);
4723
4746
 
4724
4747
  // src/export/exporter-workspace-membership.ts
4725
- import { z as z149 } from "zod";
4726
- var ExporterWorkspaceMembership = z149.object({
4727
- id: z149.string(),
4728
- workspaceId: z149.string(),
4729
- exporterId: z149.string(),
4748
+ import { z as z152 } from "zod";
4749
+ var ExporterWorkspaceMembership = z152.object({
4750
+ id: z152.string(),
4751
+ workspaceId: z152.string(),
4752
+ exporterId: z152.string(),
4730
4753
  role: ExporterWorkspaceMembershipRole
4731
4754
  });
4732
4755
 
4733
4756
  // src/feature-flags/feature-flags.ts
4734
- import { z as z150 } from "zod";
4735
- var FlaggedFeature = z150.enum(["FigmaImporterV2", "ShadowOpacityOptional", "DisableImporter"]);
4736
- var FeatureFlagMap = z150.record(FlaggedFeature, z150.boolean());
4737
- var FeatureFlag = z150.object({
4738
- id: z150.string(),
4757
+ import { z as z153 } from "zod";
4758
+ var FlaggedFeature = z153.enum(["FigmaImporterV2", "ShadowOpacityOptional", "DisableImporter"]);
4759
+ var FeatureFlagMap = z153.record(FlaggedFeature, z153.boolean());
4760
+ var FeatureFlag = z153.object({
4761
+ id: z153.string(),
4739
4762
  feature: FlaggedFeature,
4740
- createdAt: z150.coerce.date(),
4741
- enabled: z150.boolean(),
4742
- designSystemId: z150.string().optional()
4763
+ createdAt: z153.coerce.date(),
4764
+ enabled: z153.boolean(),
4765
+ designSystemId: z153.string().optional()
4743
4766
  });
4744
4767
 
4745
4768
  // src/integrations/external-oauth-request.ts
4746
- import { z as z152 } from "zod";
4769
+ import { z as z155 } from "zod";
4747
4770
 
4748
4771
  // src/integrations/oauth-providers.ts
4749
- import { z as z151 } from "zod";
4772
+ import { z as z154 } from "zod";
4750
4773
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
4751
4774
  OAuthProviderNames2["Figma"] = "figma";
4752
4775
  OAuthProviderNames2["Azure"] = "azure";
@@ -4755,137 +4778,137 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
4755
4778
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
4756
4779
  return OAuthProviderNames2;
4757
4780
  })(OAuthProviderNames || {});
4758
- var OAuthProviderSchema = z151.nativeEnum(OAuthProviderNames);
4781
+ var OAuthProviderSchema = z154.nativeEnum(OAuthProviderNames);
4759
4782
  var OAuthProvider = OAuthProviderSchema.enum;
4760
4783
 
4761
4784
  // src/integrations/external-oauth-request.ts
4762
- var ExternalOAuthRequest = z152.object({
4763
- id: z152.string(),
4785
+ var ExternalOAuthRequest = z155.object({
4786
+ id: z155.string(),
4764
4787
  provider: OAuthProviderSchema,
4765
- userId: z152.string(),
4766
- state: z152.string(),
4767
- createdAt: z152.coerce.date()
4788
+ userId: z155.string(),
4789
+ state: z155.string(),
4790
+ createdAt: z155.coerce.date()
4768
4791
  });
4769
4792
 
4770
4793
  // src/integrations/git.ts
4771
- import { z as z153 } from "zod";
4772
- var GitObjectsQuery = z153.object({
4773
- organization: z153.string().optional(),
4794
+ import { z as z156 } from "zod";
4795
+ var GitObjectsQuery = z156.object({
4796
+ organization: z156.string().optional(),
4774
4797
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
4775
- project: z153.string().optional(),
4798
+ project: z156.string().optional(),
4776
4799
  // Only for Bitbucket and Azure
4777
- repository: z153.string().optional(),
4800
+ repository: z156.string().optional(),
4778
4801
  // For all providers. For Gitlab, it's called "project".
4779
- branch: z153.string().optional(),
4802
+ branch: z156.string().optional(),
4780
4803
  // For all providers.
4781
- user: z153.string().optional()
4804
+ user: z156.string().optional()
4782
4805
  // Gitlab user
4783
4806
  });
4784
- var GitOrganization = z153.object({
4785
- id: z153.string(),
4786
- name: z153.string(),
4787
- url: z153.string(),
4788
- slug: z153.string()
4789
- });
4790
- var GitProject = z153.object({
4791
- id: z153.string(),
4792
- name: z153.string(),
4793
- url: z153.string(),
4794
- slug: z153.string()
4795
- });
4796
- var GitRepository = z153.object({
4797
- id: z153.string(),
4798
- name: z153.string(),
4799
- url: z153.string(),
4800
- slug: z153.string(),
4807
+ var GitOrganization = z156.object({
4808
+ id: z156.string(),
4809
+ name: z156.string(),
4810
+ url: z156.string(),
4811
+ slug: z156.string()
4812
+ });
4813
+ var GitProject = z156.object({
4814
+ id: z156.string(),
4815
+ name: z156.string(),
4816
+ url: z156.string(),
4817
+ slug: z156.string()
4818
+ });
4819
+ var GitRepository = z156.object({
4820
+ id: z156.string(),
4821
+ name: z156.string(),
4822
+ url: z156.string(),
4823
+ slug: z156.string(),
4801
4824
  /**
4802
4825
  * Can be undefined when:
4803
4826
  * - there are no branches in the repository yet
4804
4827
  * - Git provider doesn't expose this information on a repository via their API
4805
4828
  */
4806
- defaultBranch: z153.string().optional()
4829
+ defaultBranch: z156.string().optional()
4807
4830
  });
4808
- var GitBranch = z153.object({
4809
- name: z153.string(),
4810
- lastCommitId: z153.string()
4831
+ var GitBranch = z156.object({
4832
+ name: z156.string(),
4833
+ lastCommitId: z156.string()
4811
4834
  });
4812
4835
 
4813
4836
  // src/integrations/oauth-token.ts
4814
- import { z as z154 } from "zod";
4815
- var IntegrationTokenSchemaOld = z154.object({
4816
- id: z154.string(),
4837
+ import { z as z157 } from "zod";
4838
+ var IntegrationTokenSchemaOld = z157.object({
4839
+ id: z157.string(),
4817
4840
  provider: OAuthProviderSchema,
4818
- scope: z154.string(),
4819
- userId: z154.string(),
4820
- accessToken: z154.string(),
4821
- refreshToken: z154.string(),
4822
- expiresAt: z154.coerce.date(),
4823
- externalUserId: z154.string().nullish()
4841
+ scope: z157.string(),
4842
+ userId: z157.string(),
4843
+ accessToken: z157.string(),
4844
+ refreshToken: z157.string(),
4845
+ expiresAt: z157.coerce.date(),
4846
+ externalUserId: z157.string().nullish()
4824
4847
  });
4825
4848
 
4826
4849
  // src/integrations/workspace-oauth-requests.ts
4827
- import { z as z155 } from "zod";
4828
- var WorkspaceOAuthRequestSchema = z155.object({
4829
- id: z155.string(),
4830
- workspaceId: z155.string(),
4850
+ import { z as z158 } from "zod";
4851
+ var WorkspaceOAuthRequestSchema = z158.object({
4852
+ id: z158.string(),
4853
+ workspaceId: z158.string(),
4831
4854
  provider: OAuthProviderSchema,
4832
- userId: z155.string(),
4833
- createdAt: z155.coerce.date()
4855
+ userId: z158.string(),
4856
+ createdAt: z158.coerce.date()
4834
4857
  });
4835
4858
 
4836
4859
  // src/npm/npm-package.ts
4837
- import { z as z156 } from "zod";
4838
- var AnyRecord = z156.record(z156.any());
4860
+ import { z as z159 } from "zod";
4861
+ var AnyRecord = z159.record(z159.any());
4839
4862
  var NpmPackageVersionDist = AnyRecord.and(
4840
- z156.object({
4841
- tarball: z156.string()
4863
+ z159.object({
4864
+ tarball: z159.string()
4842
4865
  })
4843
4866
  );
4844
4867
  var NpmPackageVersion = AnyRecord.and(
4845
- z156.object({
4868
+ z159.object({
4846
4869
  dist: NpmPackageVersionDist
4847
4870
  })
4848
4871
  );
4849
4872
  var NpmPackage = AnyRecord.and(
4850
- z156.object({
4851
- _id: z156.string(),
4852
- name: z156.string(),
4873
+ z159.object({
4874
+ _id: z159.string(),
4875
+ name: z159.string(),
4853
4876
  // e.g. "latest": "1.2.3"
4854
- "dist-tags": z156.record(z156.string(), z156.string()),
4877
+ "dist-tags": z159.record(z159.string(), z159.string()),
4855
4878
  // "1.2.3": {...}
4856
- versions: z156.record(NpmPackageVersion)
4879
+ versions: z159.record(NpmPackageVersion)
4857
4880
  })
4858
4881
  );
4859
4882
 
4860
4883
  // src/npm/npm-proxy-token-payload.ts
4861
- import { z as z157 } from "zod";
4862
- var NpmProxyTokenPayload = z157.object({
4863
- npmProxyRegistryConfigId: z157.string()
4884
+ import { z as z160 } from "zod";
4885
+ var NpmProxyTokenPayload = z160.object({
4886
+ npmProxyRegistryConfigId: z160.string()
4864
4887
  });
4865
4888
 
4866
4889
  // src/tokens/personal-access-token.ts
4867
- import { z as z165 } from "zod";
4890
+ import { z as z168 } from "zod";
4868
4891
 
4869
4892
  // src/workspace/user-invite.ts
4870
- import { z as z159 } from "zod";
4893
+ import { z as z162 } from "zod";
4871
4894
 
4872
4895
  // src/workspace/workspace-role.ts
4873
- import { z as z158 } from "zod";
4874
- var WorkspaceRoleSchema = z158.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest"]);
4896
+ import { z as z161 } from "zod";
4897
+ var WorkspaceRoleSchema = z161.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest"]);
4875
4898
  var WorkspaceRole = WorkspaceRoleSchema.enum;
4876
4899
 
4877
4900
  // src/workspace/user-invite.ts
4878
4901
  var MAX_MEMBERS_COUNT = 100;
4879
- var UserInvite = z159.object({
4880
- email: z159.string().email().trim().transform((value) => value.toLowerCase()),
4902
+ var UserInvite = z162.object({
4903
+ email: z162.string().email().trim().transform((value) => value.toLowerCase()),
4881
4904
  role: WorkspaceRoleSchema
4882
4905
  });
4883
- var UserInvites = z159.array(UserInvite).max(MAX_MEMBERS_COUNT);
4906
+ var UserInvites = z162.array(UserInvite).max(MAX_MEMBERS_COUNT);
4884
4907
 
4885
4908
  // src/workspace/workspace-configuration.ts
4886
- import { z as z160 } from "zod";
4887
- var WorkspaceConfigurationUpdate = z160.object({
4888
- id: z160.string(),
4909
+ import { z as z163 } from "zod";
4910
+ var WorkspaceConfigurationUpdate = z163.object({
4911
+ id: z163.string(),
4889
4912
  ipWhitelist: WorkspaceIpSettings.optional(),
4890
4913
  sso: SsoProvider.optional(),
4891
4914
  npmRegistrySettings: NpmRegistryConfig.optional(),
@@ -4893,32 +4916,32 @@ var WorkspaceConfigurationUpdate = z160.object({
4893
4916
  });
4894
4917
 
4895
4918
  // src/workspace/workspace-context.ts
4896
- import { z as z161 } from "zod";
4897
- var WorkspaceContext = z161.object({
4898
- workspaceId: z161.string(),
4919
+ import { z as z164 } from "zod";
4920
+ var WorkspaceContext = z164.object({
4921
+ workspaceId: z164.string(),
4899
4922
  product: ProductCodeSchema,
4900
4923
  ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4901
- publicDesignSystem: z161.boolean().optional()
4924
+ publicDesignSystem: z164.boolean().optional()
4902
4925
  });
4903
4926
 
4904
4927
  // src/workspace/workspace-create.ts
4905
- import { z as z162 } from "zod";
4928
+ import { z as z165 } from "zod";
4906
4929
  var WORKSPACE_NAME_MIN_LENGTH = 2;
4907
4930
  var WORKSPACE_NAME_MAX_LENGTH = 64;
4908
4931
  var HANDLE_MIN_LENGTH = 2;
4909
4932
  var HANDLE_MAX_LENGTH = 64;
4910
- var CreateWorkspaceInput = z162.object({
4911
- name: z162.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
4933
+ var CreateWorkspaceInput = z165.object({
4934
+ name: z165.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
4912
4935
  product: ProductCodeSchema,
4913
- priceId: z162.string(),
4914
- billingEmail: z162.string().email().optional(),
4915
- handle: z162.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional(),
4936
+ priceId: z165.string(),
4937
+ billingEmail: z165.string().email().optional(),
4938
+ handle: z165.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional(),
4916
4939
  invites: UserInvites.optional(),
4917
- promoCode: z162.string().optional(),
4940
+ promoCode: z165.string().optional(),
4918
4941
  status: InternalStatusSchema.optional(),
4919
4942
  planInterval: BillingIntervalSchema.optional(),
4920
- seats: z162.number().optional(),
4921
- seatLimit: z162.number().optional(),
4943
+ seats: z165.number().optional(),
4944
+ seatLimit: z165.number().optional(),
4922
4945
  card: CardSchema.optional(),
4923
4946
  sso: SsoProvider.optional(),
4924
4947
  npmRegistrySettings: NpmRegistryConfig.optional(),
@@ -4926,47 +4949,47 @@ var CreateWorkspaceInput = z162.object({
4926
4949
  });
4927
4950
 
4928
4951
  // src/workspace/workspace-invitations.ts
4929
- import { z as z163 } from "zod";
4930
- var WorkspaceInvitation = z163.object({
4931
- id: z163.string(),
4932
- email: z163.string().email(),
4933
- createdAt: z163.coerce.date(),
4934
- resentAt: z163.coerce.date().nullish(),
4935
- role: z163.nativeEnum(WorkspaceRole),
4936
- workspaceId: z163.string(),
4937
- invitedBy: z163.string()
4952
+ import { z as z166 } from "zod";
4953
+ var WorkspaceInvitation = z166.object({
4954
+ id: z166.string(),
4955
+ email: z166.string().email(),
4956
+ createdAt: z166.coerce.date(),
4957
+ resentAt: z166.coerce.date().nullish(),
4958
+ role: z166.nativeEnum(WorkspaceRole),
4959
+ workspaceId: z166.string(),
4960
+ invitedBy: z166.string()
4938
4961
  });
4939
4962
 
4940
4963
  // src/workspace/workspace-membership.ts
4941
- import { z as z164 } from "zod";
4942
- var WorkspaceMembership = z164.object({
4943
- id: z164.string(),
4944
- userId: z164.string(),
4945
- workspaceId: z164.string(),
4946
- workspaceRole: z164.nativeEnum(WorkspaceRole),
4964
+ import { z as z167 } from "zod";
4965
+ var WorkspaceMembership = z167.object({
4966
+ id: z167.string(),
4967
+ userId: z167.string(),
4968
+ workspaceId: z167.string(),
4969
+ workspaceRole: z167.nativeEnum(WorkspaceRole),
4947
4970
  notificationSettings: UserNotificationSettings
4948
4971
  });
4949
- var UpdateMembershipRolesInput = z164.object({
4950
- members: z164.array(
4951
- z164.object({
4952
- userId: z164.string(),
4953
- role: z164.nativeEnum(WorkspaceRole)
4972
+ var UpdateMembershipRolesInput = z167.object({
4973
+ members: z167.array(
4974
+ z167.object({
4975
+ userId: z167.string(),
4976
+ role: z167.nativeEnum(WorkspaceRole)
4954
4977
  })
4955
4978
  )
4956
4979
  });
4957
4980
 
4958
4981
  // src/tokens/personal-access-token.ts
4959
- var PersonalAccessToken = z165.object({
4960
- id: z165.string(),
4961
- userId: z165.string(),
4962
- workspaceId: z165.string().optional(),
4982
+ var PersonalAccessToken = z168.object({
4983
+ id: z168.string(),
4984
+ userId: z168.string(),
4985
+ workspaceId: z168.string().optional(),
4963
4986
  workspaceRole: WorkspaceRoleSchema.optional(),
4964
- name: z165.string(),
4965
- hidden: z165.boolean(),
4966
- token: z165.string(),
4967
- scope: z165.string().optional(),
4968
- createdAt: z165.coerce.date(),
4969
- expireAt: z165.coerce.date().optional()
4987
+ name: z168.string(),
4988
+ hidden: z168.boolean(),
4989
+ token: z168.string(),
4990
+ scope: z168.string().optional(),
4991
+ createdAt: z168.coerce.date(),
4992
+ expireAt: z168.coerce.date().optional()
4970
4993
  });
4971
4994
  export {
4972
4995
  Address,
@@ -5134,6 +5157,9 @@ export {
5134
5157
  ElementViewPropertyDefinitionColumn,
5135
5158
  ElementViewThemeColumn,
5136
5159
  Entity,
5160
+ Event,
5161
+ EventDataSourceImported,
5162
+ EventVersionReleased,
5137
5163
  ExportDestinationsMap,
5138
5164
  ExportJob,
5139
5165
  ExportJobContext,