@aventurevc/api-schemas 0.8.151 → 0.8.152
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.
|
@@ -156,6 +156,7 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
|
|
|
156
156
|
}, import("../research/allowance-usage.ts").ResearchAllowanceUsageSchemaInput>>;
|
|
157
157
|
cancelAtPeriodEnd: z.ZodBoolean;
|
|
158
158
|
entitled: z.ZodBoolean;
|
|
159
|
+
originalStart: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
159
160
|
pendingPlan: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
160
161
|
PLUS_MONTHLY: "PLUS_MONTHLY";
|
|
161
162
|
PLUS_YEARLY: "PLUS_YEARLY";
|
|
@@ -12,6 +12,8 @@ const BillingSubscriptionSchemaDefinition = z.object({
|
|
|
12
12
|
cancelAtPeriodEnd: z.boolean(),
|
|
13
13
|
/** True while the subscription grants its paid tier */
|
|
14
14
|
entitled: z.boolean(),
|
|
15
|
+
/** Original start of the continuing paid subscription; absent when the provider did not supply it */
|
|
16
|
+
originalStart: z.iso.datetime({ offset: true }).nullish(),
|
|
15
17
|
/** Plan a scheduled change moves the subscription to at pendingPlanAt; absent when nothing is scheduled */
|
|
16
18
|
pendingPlan: BillingPlanTypeSchema.nullish(),
|
|
17
19
|
/** When pendingPlan takes effect; absent when nothing is scheduled */
|
package/dist/search/search.js
CHANGED
|
@@ -13,7 +13,7 @@ const SearchSchemaDefinition = z.object({
|
|
|
13
13
|
catalogRevision: z.int().nullish(),
|
|
14
14
|
/** Run Exa's slower, broader deep search instead of the default provider: higher recall for market and provider questions, about 3-6 s per search, answered synchronously (`Prefer: respond-async` does not apply). Charged like any search. */
|
|
15
15
|
deep: z.boolean().default(false).optional(),
|
|
16
|
-
/** Wait in-request for Google's AI Overview when Google defers it to a follow-up request, as it does for most company and person lookups: one extra SerpAPI search per overview not already stored
|
|
16
|
+
/** Wait in-request for Google's AI Overview when Google defers it to a follow-up request, as it does for most company and person lookups: one extra SerpAPI search per overview not already stored. An explicit `true` also reruns a stored search older than SerpAPI's one-hour cache to get a fresh token (its one-minute overview token expired and the cache would return it unchanged). A harness-run credential fetches from a live token only and never reruns a search. Without either, no deferred overview is fetched; one an earlier fetch stored still comes back at no extra cost. A fetch that returns no overview is not retried for six hours. An overview Google returns inline always comes back in `aiOverview` at no extra cost. Exa results never carry one. */
|
|
17
17
|
deferredAiOverview: z.boolean().default(false).optional(),
|
|
18
18
|
/** Search language code */
|
|
19
19
|
language: z.string().nullish(),
|
package/dist/web/search.js
CHANGED
|
@@ -5,7 +5,7 @@ import { SearchHitSchema } from "../search/hit.js";
|
|
|
5
5
|
import { SearchSchema } from "../search/search.js";
|
|
6
6
|
import { SourceDocumentListSchema } from "../source/document-list.js";
|
|
7
7
|
const WebSearchSchemaDefinition = z.object({
|
|
8
|
-
/** Google's AI Overview: returned whenever Google answers inline or its deferred overview is stored (fetched
|
|
8
|
+
/** Google's AI Overview: returned whenever Google answers inline or its deferred overview is stored (fetched by this or an earlier search that set `deferredAiOverview`); null when Google produced none or no such fetch stored its deferred overview */
|
|
9
9
|
aiOverview: SearchAiOverviewSchema.nullish(),
|
|
10
10
|
/** Source-document ledger row backing this result */
|
|
11
11
|
document: SourceDocumentListSchema,
|