@aventurevc/api-schemas 0.8.321 → 0.8.322

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.
@@ -3,6 +3,7 @@ declare const BillingPortalMutationSchemaDefinition: z.ZodObject<{
3
3
  flow: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4
4
  PAYMENT_METHOD_UPDATE: "PAYMENT_METHOD_UPDATE";
5
5
  }>>>;
6
+ returnUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
7
  }, z.core.$strip>;
7
8
  type BillingPortalMutationDefinition = z.infer<typeof BillingPortalMutationSchemaDefinition>;
8
9
  export interface BillingPortalMutationSchemaInput extends z.input<typeof BillingPortalMutationSchemaDefinition> {
@@ -1,8 +1,10 @@
1
1
  // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
2
  import { z } from "zod/v4";
3
3
  const BillingPortalMutationSchemaDefinition = z.object({
4
- /** PAYMENT_METHOD_UPDATE opens straight to adding or replacing the card and returns to subscription settings when done. Omit to open the portal home. Plan changes use POST /v1/billing/plan-changes and cancellation uses PATCH /v1/billing/subscription. */
4
+ /** PAYMENT_METHOD_UPDATE opens straight to adding or replacing the card and returns to returnUrl when done, or subscription settings when returnUrl is omitted. Omit flow to open the portal home. Plan changes use POST /v1/billing/plan-changes and cancellation uses PATCH /v1/billing/subscription. */
5
5
  flow: z.enum(["PAYMENT_METHOD_UPDATE"]).nullish(),
6
+ /** Root-relative public-site return path, including query and fragment, for leaving the portal or completing a card update. Resolved only against the configured public-site origin. Absolute URLs, authority references, and malformed URI syntax are refused. Omit or pass null to return to /settings/subscription. */
7
+ returnUrl: z.string().nullish(),
6
8
  });
7
9
  /**
8
10
  * Where the hosted Billing Portal session opens.
@@ -72,6 +72,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
72
72
  not_authorized: "not_authorized";
73
73
  origin_detail_capacity: "origin_detail_capacity";
74
74
  origin_detail_shutdown: "origin_detail_shutdown";
75
+ primary_read_saturated: "primary_read_saturated";
75
76
  primary_website_missing: "primary_website_missing";
76
77
  prose_rejected: "prose_rejected";
77
78
  query_deadline_shed: "query_deadline_shed";
@@ -43,8 +43,10 @@ const ProblemDetailSchemaDefinition = z.object({
43
43
  "origin_detail_capacity",
44
44
  /** Detail-origin cold-miss scheduler rejected work because this instance is shutting down for a redeploy. Agent action: retry shortly; the platform routes the retry to a healthy instance. This is deploy-window noise, not a capacity defect — do not treat it as backend saturation. */
45
45
  "origin_detail_shutdown",
46
- /** A read overran its database query budget and was shed before it could answer, so nothing was read and the identical request can be replayed. Agent action: retry after a short backoff; this service records the shed WARN-only without an incident, so a consumer that reports it files the only incident for an expected condition. */
46
+ /** A read overran its database query budget and was shed before answering, so the identical request can be replayed. Agent action: retry after a short backoff; the shed is expected and files no incident. */
47
47
  "query_deadline_shed",
48
+ /** Primary read capacity was saturated; retry after retryAfterSeconds. */
49
+ "primary_read_saturated",
48
50
  /** Request prose looks shell-mangled around a money phrase: either shell expansion stripped a leading dollar sign ('50 million' where '$50 million' was meant) or an escape character survived into the text ('\$50 million', standalone '/$50 million'). Agent action: write '$' literally and re-send the JSON body from a file or stdin, or quote it so the shell does not expand '$'; use allowSuspectedShellStrip only when the value is intentional. */
49
51
  "suspectedShellStrip",
50
52
  /** Request prose looks shell-mangled around a money phrase: either shell expansion stripped a leading dollar sign ('50 million' where '$50 million' was meant) or an escape character survived into the text ('\$50 million', standalone '/$50 million'). Agent action: write '$' literally and re-send the JSON body from a file or stdin, or quote it so the shell does not expand '$'; use allowSuspectedShellStrip only when the value is intentional. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.321",
3
+ "version": "0.8.322",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",