@alpic-ai/api 0.0.0-staging.g89e05ec → 0.0.0-staging.g8bcb0a1

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.
Files changed (2) hide show
  1. package/dist/index.mjs +20 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -342,6 +342,12 @@ z.union([
342
342
  protectedWithoutDiscoveryEnvironmentSchema
343
343
  ]);
344
344
  const allowedPlatformSchema = platformSchema;
345
+ const playgroundModelSchema = z.enum([
346
+ "global.anthropic.claude-haiku-4-5-20251001-v1:0",
347
+ "global.anthropic.claude-sonnet-4-5-20250929-v1:0",
348
+ "openai.gpt-5.4",
349
+ "openai.gpt-5.5"
350
+ ]);
345
351
  const environmentDomainSchema = z.object({
346
352
  name: z.string(),
347
353
  status: z.enum([
@@ -361,6 +367,7 @@ const environmentSchema$1 = z.object({
361
367
  latestDeployment: deploymentSummarySchema.optional(),
362
368
  openaiAppsChallenge: z.string().nullable().optional(),
363
369
  isPlaygroundEnabled: z.boolean(),
370
+ playgroundModel: playgroundModelSchema,
364
371
  isIpWhitelistEnabled: z.boolean(),
365
372
  ipAllowlist: z.array(z.string()).nullable(),
366
373
  allowedPlatforms: z.array(allowedPlatformSchema),
@@ -509,6 +516,16 @@ z.object({
509
516
  environments: z.array(environmentWithDomainsSchema),
510
517
  productionEnvironment: environmentWithDomainsSchema.nullable()
511
518
  });
519
+ const domainFailureReasonSchema = z.enum([
520
+ "caa",
521
+ "dns",
522
+ "invalid_domain",
523
+ "other"
524
+ ]);
525
+ const projectDomainMappingSchema = z.object({
526
+ pathPrefix: z.string(),
527
+ environment: environmentSchema$1
528
+ });
512
529
  z.object({
513
530
  name: z.string(),
514
531
  createdAt: z.coerce.date(),
@@ -517,7 +534,9 @@ z.object({
517
534
  "deployed",
518
535
  "failed"
519
536
  ]),
520
- environment: environmentSchema$1
537
+ failureReason: domainFailureReasonSchema.nullable(),
538
+ environment: environmentSchema$1,
539
+ mappings: z.array(projectDomainMappingSchema)
521
540
  });
522
541
  const serverFieldsSchema$1 = z.object({
523
542
  $schema: z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpic-ai/api",
3
- "version": "0.0.0-staging.g89e05ec",
3
+ "version": "0.0.0-staging.g8bcb0a1",
4
4
  "description": "Contract for the Alpic API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",