@archildata/api-types 0.0.23 → 0.0.24

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 +15 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -590,14 +590,26 @@ export interface components {
590
590
  SandboxState: "pending" | "running" | "pausing" | "paused" | "stopping" | "stopped" | "exited" | "failed" | "deleting" | "deleted";
591
591
  /** @enum {string} */
592
592
  SandboxNetworkAction: "allow" | "deny";
593
- /** @description Deny targets take precedence when an address or domain matches both lists. Domain rules inspect TLS SNI on TCP port 443 without terminating TLS. When domain rules are present, DNS to the sandbox's configured resolvers is allowed and UDP port 443 is denied. */
593
+ /** @description Deny targets take precedence when an address or domain matches both lists. When domain rules are present, TCP ports 80 and 443 are restricted to HTTP/1.1 or HTTP/2. Plaintext HTTP authority is enforced on port 80, but requests matching a transformation rule are rejected. Port 443 is TLS-terminated; both TLS SNI and HTTP authority are evaluated, and the HTTP authority selects the upstream and any request transformations. DNS to the sandbox's configured resolvers is allowed and UDP port 443 is denied. */
594
594
  SandboxEgressPolicy: {
595
595
  default: components["schemas"]["SandboxNetworkAction"];
596
- /** @description Allowed IPv4 addresses, CIDR ranges, exact domains, or wildcard domains beginning with `*.`. A wildcard matches subdomains but not the apex domain. */
597
- allow?: string[];
596
+ /** @description Allowed IPv4 addresses, CIDR ranges, exact domains, wildcard domains beginning with `*.`, or target objects with optional outbound HTTPS request transformations. A wildcard matches subdomains but not the apex domain. A target with effective transformations must be an exact lowercase domain. */
597
+ allow?: (string | components["schemas"]["SandboxEgressRule"])[];
598
598
  /** @description Denied IPv4 addresses, CIDR ranges, exact domains, or wildcard domains beginning with `*.`. A wildcard matches subdomains but not the apex domain. */
599
599
  deny?: string[];
600
600
  };
601
+ SandboxEgressRule: {
602
+ /** @description Target allowed by this rule. Must be an exact lowercase domain when effective transformations are present. */
603
+ target: string;
604
+ transform?: components["schemas"]["SandboxEgressTransform"];
605
+ };
606
+ /** @description Optional outbound HTTPS request transformations. An omitted or empty transform leaves the rule as an ordinary allow without request mutations. */
607
+ SandboxEgressTransform: {
608
+ /** @description Outbound HTTPS request headers to set, overwriting values supplied by the sandbox. */
609
+ headers?: {
610
+ [key: string]: string;
611
+ };
612
+ };
601
613
  /** @description Sandbox network policy. Egress is unrestricted when omitted. */
602
614
  SandboxNetwork: {
603
615
  egress?: components["schemas"]["SandboxEgressPolicy"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archildata/api-types",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "API types for the Archil control plane",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",