@archildata/api-types 0.0.5 → 0.0.6

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/index.d.ts +18 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -483,6 +483,8 @@ export interface components {
483
483
  success: boolean;
484
484
  /** @example Invalid request parameters */
485
485
  error: string;
486
+ /** @description Stable machine-readable error code. */
487
+ code?: string;
486
488
  };
487
489
  ActivityEvent: {
488
490
  accountId: string;
@@ -1550,7 +1552,13 @@ export interface operations {
1550
1552
  };
1551
1553
  400: components["responses"]["ValidationError"];
1552
1554
  401: components["responses"]["Unauthorized"];
1553
- /** @description Access denied (e.g., preview region not enabled) */
1555
+ /**
1556
+ * @description Access denied. `code` is `disk_limit_reached` (free personal
1557
+ * accounts have a per-region disk limit) or
1558
+ * `organization_plan_required` (free organizations cannot create
1559
+ * disks until upgraded to Team or Enterprise). Preview-region
1560
+ * denials carry no `code`.
1561
+ */
1554
1562
  403: {
1555
1563
  headers: {
1556
1564
  [name: string]: unknown;
@@ -1569,6 +1577,15 @@ export interface operations {
1569
1577
  };
1570
1578
  };
1571
1579
  500: components["responses"]["InternalError"];
1580
+ /** @description Temporarily unavailable; safe to retry. */
1581
+ 503: {
1582
+ headers: {
1583
+ [name: string]: unknown;
1584
+ };
1585
+ content: {
1586
+ "application/json": components["schemas"]["ErrorResponse"];
1587
+ };
1588
+ };
1572
1589
  };
1573
1590
  };
1574
1591
  getDisk: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archildata/api-types",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "API types for the Archil control plane",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",