@supernova-studio/client 1.91.0 → 1.92.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5977,6 +5977,16 @@ var DesignSystemDump = _zod.z.object({
5977
5977
 
5978
5978
  // ../model/src/integrations/integration.ts
5979
5979
 
5980
+ var GitHubAppInstallationState = _zod.z.enum(["Active", "Pending", "Suspended", "Deleted"]);
5981
+ var GitHubAppInstallation = _zod.z.object({
5982
+ id: _zod.z.string(),
5983
+ gitHubInstallationId: _zod.z.string().optional(),
5984
+ gitHubRequestId: _zod.z.number().optional(),
5985
+ state: GitHubAppInstallationState,
5986
+ gitHubAccountId: _zod.z.number(),
5987
+ gitHubAccountLogin: _zod.z.string(),
5988
+ gitHubAccountAvatarUrl: _zod.z.string().optional()
5989
+ });
5980
5990
  var IntegrationDesignSystem = _zod.z.object({
5981
5991
  designSystemId: _zod.z.string(),
5982
5992
  brandId: _zod.z.string(),
@@ -5985,7 +5995,7 @@ var IntegrationDesignSystem = _zod.z.object({
5985
5995
  date: _zod.z.coerce.date().optional()
5986
5996
  });
5987
5997
  var IntegrationCredentialsType = _zod.z.enum(["OAuth2", "PAT"]);
5988
- var IntegrationCredentialsState = _zod.z.enum(["Active", "Inactive"]);
5998
+ var IntegrationCredentialsState = _zod.z.enum(["Active", "Pending", "Suspended", "Inactive"]);
5989
5999
  var IntegrationCredentialsProfile = _zod.z.object({
5990
6000
  id: nullishToOptional(_zod.z.string()),
5991
6001
  email: nullishToOptional(_zod.z.string()),
@@ -6029,7 +6039,7 @@ var Integration = _zod.z.object({
6029
6039
  workspaceId: _zod.z.string(),
6030
6040
  type: IntegrationType,
6031
6041
  createdAt: _zod.z.coerce.date(),
6032
- integrationCredentials: _zod.z.array(IntegrationCredentials).optional()
6042
+ integrationCredentials: _zod.z.array(IntegrationCredentials)
6033
6043
  });
6034
6044
  var IntegrationToken = _zod.z.object({
6035
6045
  access_token: _zod.z.string(),
@@ -7262,6 +7272,8 @@ var DTOCodeHistoryRepositoryFilter = _zod2.default.object({
7262
7272
  var DTOCodeHistoryQuery = _zod2.default.object({
7263
7273
  /** Filters components and usages by component package name (e.g. `@supernovaio/dm`) */
7264
7274
  packageNames: _zod2.default.array(_zod2.default.string()).optional(),
7275
+ /** Filters usages by component name (e.g. `Button`, `Icon`) */
7276
+ componentNames: _zod2.default.array(_zod2.default.string()).optional(),
7265
7277
  /**
7266
7278
  * Filters usages by repository and optionally by usage package within that repository.
7267
7279
  *