@supernova-studio/model 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.mjs CHANGED
@@ -6359,6 +6359,16 @@ import { z as z195 } from "zod";
6359
6359
 
6360
6360
  // src/integrations/integration.ts
6361
6361
  import { z as z194 } from "zod";
6362
+ var GitHubAppInstallationState = z194.enum(["Active", "Pending", "Suspended", "Deleted"]);
6363
+ var GitHubAppInstallation = z194.object({
6364
+ id: z194.string(),
6365
+ gitHubInstallationId: z194.string().optional(),
6366
+ gitHubRequestId: z194.number().optional(),
6367
+ state: GitHubAppInstallationState,
6368
+ gitHubAccountId: z194.number(),
6369
+ gitHubAccountLogin: z194.string(),
6370
+ gitHubAccountAvatarUrl: z194.string().optional()
6371
+ });
6362
6372
  var IntegrationDesignSystem = z194.object({
6363
6373
  designSystemId: z194.string(),
6364
6374
  brandId: z194.string(),
@@ -6367,7 +6377,7 @@ var IntegrationDesignSystem = z194.object({
6367
6377
  date: z194.coerce.date().optional()
6368
6378
  });
6369
6379
  var IntegrationCredentialsType = z194.enum(["OAuth2", "PAT"]);
6370
- var IntegrationCredentialsState = z194.enum(["Active", "Inactive"]);
6380
+ var IntegrationCredentialsState = z194.enum(["Active", "Pending", "Suspended", "Inactive"]);
6371
6381
  var IntegrationCredentialsProfile = z194.object({
6372
6382
  id: nullishToOptional(z194.string()),
6373
6383
  email: nullishToOptional(z194.string()),
@@ -6411,7 +6421,7 @@ var Integration = z194.object({
6411
6421
  workspaceId: z194.string(),
6412
6422
  type: IntegrationType,
6413
6423
  createdAt: z194.coerce.date(),
6414
- integrationCredentials: z194.array(IntegrationCredentials).optional()
6424
+ integrationCredentials: z194.array(IntegrationCredentials)
6415
6425
  });
6416
6426
  var IntegrationToken = z194.object({
6417
6427
  access_token: z194.string(),
@@ -7315,6 +7325,8 @@ export {
7315
7325
  ForgeSpecArtifact,
7316
7326
  GitBranch,
7317
7327
  GitCommonDestinationOptions,
7328
+ GitHubAppInstallation,
7329
+ GitHubAppInstallationState,
7318
7330
  GitIntegrationType,
7319
7331
  GitInteropPulsarError,
7320
7332
  GitObjectsQuery,