@aventurevc/api-schemas 0.8.230 → 0.8.231

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.
@@ -10,6 +10,8 @@ declare const BillingCatalogTierSchemaDefinition: z.ZodObject<{
10
10
  }, import("./catalog-allowance.ts").BillingCatalogAllowanceSchemaInput>>>;
11
11
  description: z.ZodString;
12
12
  displayName: z.ZodString;
13
+ lookupDailyLimit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
14
+ searchDailyLimit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
13
15
  tier: z.ZodEnum<{
14
16
  ESSENTIAL: "ESSENTIAL";
15
17
  PLUS: "PLUS";
@@ -21,7 +23,7 @@ type BillingCatalogTierDefinition = z.infer<typeof BillingCatalogTierSchemaDefin
21
23
  export interface BillingCatalogTierSchemaInput extends z.input<typeof BillingCatalogTierSchemaDefinition> {
22
24
  }
23
25
  /**
24
- * One subscription tier and its monthly caps.
26
+ * One subscription tier, its monthly caps, and its free daily allowances.
25
27
  *
26
28
  * @openapiSchema BillingCatalogTier
27
29
  * @endpoint GET /v1/billing/plans
@@ -8,10 +8,14 @@ const BillingCatalogTierSchemaDefinition = z.object({
8
8
  /** Who the tier is for, in one or two sentences; it states no caps or prices, which allowance and plan carry. */
9
9
  description: z.string(),
10
10
  displayName: z.string(),
11
+ /** Name lookups per UTC day without a paid plan; past it a lookup answers 402 subscription_required until the next UTC day. Absent on a paid tier, which has no daily lookup gate. */
12
+ lookupDailyLimit: z.int().nullish(),
13
+ /** Searches per UTC day without a paid plan: plain-English company, people, and federated search, one per request; link search always needs a paid plan. Past it a search answers 402 subscription_required until the next UTC day. Absent on a paid tier, which has no daily search gate. */
14
+ searchDailyLimit: z.int().nullish(),
11
15
  tier: z.enum(["ESSENTIAL", "PLUS", "PRO", "UNLIMITED"]),
12
16
  });
13
17
  /**
14
- * One subscription tier and its monthly caps.
18
+ * One subscription tier, its monthly caps, and its free daily allowances.
15
19
  *
16
20
  * @openapiSchema BillingCatalogTier
17
21
  * @endpoint GET /v1/billing/plans
@@ -42,6 +42,8 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
42
42
  }[];
43
43
  description: string;
44
44
  displayName: string;
45
+ lookupDailyLimit?: number | null | undefined;
46
+ searchDailyLimit?: number | null | undefined;
45
47
  tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
46
48
  }, import("./catalog-tier.ts").BillingCatalogTierSchemaInput, z.core.$ZodTypeInternals<{
47
49
  aiCreditLimit?: number | null | undefined;
@@ -51,6 +53,8 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
51
53
  }[];
52
54
  description: string;
53
55
  displayName: string;
56
+ lookupDailyLimit?: number | null | undefined;
57
+ searchDailyLimit?: number | null | undefined;
54
58
  tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
55
59
  }, import("./catalog-tier.ts").BillingCatalogTierSchemaInput>>>;
56
60
  }, z.core.$strip>;
@@ -58,7 +62,7 @@ type BillingCatalogDefinition = z.infer<typeof BillingCatalogSchemaDefinition>;
58
62
  export interface BillingCatalogSchemaInput extends z.input<typeof BillingCatalogSchemaDefinition> {
59
63
  }
60
64
  /**
61
- * Every self-serve subscription tier with its monthly allowance caps, every plan Checkout sells, and the prices of usage past those caps. The Unlimited tier is not sold through Checkout and is omitted.
65
+ * Every self-serve subscription tier with its monthly allowance caps and free daily allowances, every plan Checkout sells, and the prices of usage past those caps. The Unlimited tier is not sold through Checkout and is omitted.
62
66
  *
63
67
  * @openapiSchema BillingCatalog
64
68
  * @endpoint GET /v1/billing/plans
@@ -13,7 +13,7 @@ const BillingCatalogSchemaDefinition = z.object({
13
13
  tier: z.array(BillingCatalogTierSchema),
14
14
  });
15
15
  /**
16
- * Every self-serve subscription tier with its monthly allowance caps, every plan Checkout sells, and the prices of usage past those caps. The Unlimited tier is not sold through Checkout and is omitted.
16
+ * Every self-serve subscription tier with its monthly allowance caps and free daily allowances, every plan Checkout sells, and the prices of usage past those caps. The Unlimited tier is not sold through Checkout and is omitted.
17
17
  *
18
18
  * @openapiSchema BillingCatalog
19
19
  * @endpoint GET /v1/billing/plans
@@ -6,7 +6,7 @@ const ResearchFindingSchemaDefinition = z.object({
6
6
  gateId: z.string().nullish(),
7
7
  /** The exact text on sourceUrl that states the fact, copied verbatim; a fragment short enough to appear on any page is refused. */
8
8
  quote: z.string(),
9
- /** Absolute http or https URL of the page that supports the fact; aVenture pages are refused. */
9
+ /** Absolute http or https URL of the page that supports the fact; aVenture pages are refused. Each sourceUrl must already be stored evidence for this write: the page cited as sourceDetail, a page the authorizing harness run read, or a stored page associated with the subject. Fetch the exact page through aVenture before citing it; each quote must occur in that page's stored text. */
10
10
  sourceUrl: z.string(),
11
11
  /** The fact to write, in plain words. */
12
12
  statement: z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.230",
3
+ "version": "0.8.231",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",