@alpic-ai/api 1.144.0 → 1.145.0

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 +9 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -373,7 +373,8 @@ z.object({
373
373
  sessionReplayEnabled: z.boolean(),
374
374
  collectRequestPayload: z.boolean(),
375
375
  collectResponsePayload: z.boolean(),
376
- collectErrorMessage: z.boolean()
376
+ collectErrorMessage: z.boolean(),
377
+ collectUserData: z.boolean()
377
378
  });
378
379
  z.object({
379
380
  id: z.string(),
@@ -508,6 +509,12 @@ z.object({
508
509
  environments: z.array(environmentWithDomainsSchema),
509
510
  productionEnvironment: environmentWithDomainsSchema.nullable()
510
511
  });
512
+ const domainFailureReasonSchema = z.enum([
513
+ "caa",
514
+ "dns",
515
+ "invalid_domain",
516
+ "other"
517
+ ]);
511
518
  z.object({
512
519
  name: z.string(),
513
520
  createdAt: z.coerce.date(),
@@ -516,6 +523,7 @@ z.object({
516
523
  "deployed",
517
524
  "failed"
518
525
  ]),
526
+ failureReason: domainFailureReasonSchema.nullable(),
519
527
  environment: environmentSchema$1
520
528
  });
521
529
  const serverFieldsSchema$1 = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpic-ai/api",
3
- "version": "1.144.0",
3
+ "version": "1.145.0",
4
4
  "description": "Contract for the Alpic API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",