@aventurevc/api-schemas 0.8.497 → 0.8.499
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.
- package/dist/billing/change-timing-type.d.ts +17 -0
- package/dist/billing/change-timing-type.js +14 -0
- package/dist/billing/plan-change-mutation.d.ts +4 -0
- package/dist/billing/plan-change-mutation.js +4 -1
- package/dist/billing/plan-change.d.ts +1 -1
- package/dist/billing/plan-change.js +1 -1
- package/dist/billing/subscription-mutation.d.ts +2 -1
- package/dist/billing/subscription-mutation.js +4 -2
- package/dist/enrichment/enrichment.d.ts +7 -2
- package/dist/entity/filter.d.ts +1 -0
- package/dist/entity/filter.js +1 -0
- package/dist/federated/search-provenance.d.ts +1 -0
- package/dist/federated/search-provenance.js +2 -0
- package/dist/federated/search.d.ts +313 -0
- package/dist/federated/search.js +4 -1
- package/dist/harness/chassis.d.ts +8 -3
- package/dist/harness/chassis.js +3 -2
- package/dist/harness/run-detail.d.ts +7 -2
- package/dist/harness/run.d.ts +7 -2
- package/dist/http/problem-detail.d.ts +3 -0
- package/dist/http/problem-detail.js +19 -13
- package/dist/link/search.d.ts +318 -0
- package/dist/openapi-component-manifest.js +18 -0
- package/dist/pagination/schemas.d.ts +7 -2
- package/dist/search/narrowing-dimension.d.ts +28 -0
- package/dist/search/narrowing-dimension.js +19 -0
- package/dist/search/narrowing-option.d.ts +266 -0
- package/dist/search/narrowing-option.js +30 -0
- package/dist/search/narrowing-question.d.ts +334 -0
- package/dist/search/narrowing-question.js +30 -0
- package/dist/search/narrowing.d.ts +328 -0
- package/dist/search/narrowing.js +26 -0
- package/dist/search/place-level.d.ts +28 -0
- package/dist/search/place-level.js +19 -0
- package/dist/shared/search.d.ts +318 -0
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* When a plan change takes effect: IMMEDIATE applies now with proration, PERIOD_END schedules the switch for the next renewal.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema BillingChangeTimingType
|
|
6
|
+
* @endpoint POST /v1/billing/plan-change-previews
|
|
7
|
+
* @endpoint POST /v1/billing/plan-changes
|
|
8
|
+
* @usedBySchema BillingPlanChangeMutationSchema
|
|
9
|
+
* @contractShape billing.change-timing-type
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const BillingChangeTimingTypeSchema: z.ZodEnum<{
|
|
13
|
+
IMMEDIATE: "IMMEDIATE";
|
|
14
|
+
PERIOD_END: "PERIOD_END";
|
|
15
|
+
}>;
|
|
16
|
+
export type BillingChangeTimingType = z.infer<typeof BillingChangeTimingTypeSchema>;
|
|
17
|
+
//# sourceMappingURL=change-timing-type.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
import { z } from "zod/v4";
|
|
3
|
+
/**
|
|
4
|
+
* When a plan change takes effect: IMMEDIATE applies now with proration, PERIOD_END schedules the switch for the next renewal.
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema BillingChangeTimingType
|
|
7
|
+
* @endpoint POST /v1/billing/plan-change-previews
|
|
8
|
+
* @endpoint POST /v1/billing/plan-changes
|
|
9
|
+
* @usedBySchema BillingPlanChangeMutationSchema
|
|
10
|
+
* @contractShape billing.change-timing-type
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export const BillingChangeTimingTypeSchema = z.enum(["IMMEDIATE", "PERIOD_END"]);
|
|
14
|
+
//# sourceMappingURL=change-timing-type.js.map
|
|
@@ -20,6 +20,10 @@ declare const BillingPlanChangeMutationSchemaDefinition: z.ZodObject<{
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
prorationDate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
timing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
24
|
+
IMMEDIATE: "IMMEDIATE";
|
|
25
|
+
PERIOD_END: "PERIOD_END";
|
|
26
|
+
}>>>;
|
|
23
27
|
}, z.core.$strip>;
|
|
24
28
|
type BillingPlanChangeMutationDefinition = z.infer<typeof BillingPlanChangeMutationSchemaDefinition>;
|
|
25
29
|
export interface BillingPlanChangeMutationSchemaInput extends z.input<typeof BillingPlanChangeMutationSchemaDefinition> {
|
|
@@ -1,11 +1,14 @@
|
|
|
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
|
+
import { BillingChangeTimingTypeSchema } from "./change-timing-type.js";
|
|
3
4
|
import { BillingPlanTypeSchema } from "./plan-type.js";
|
|
4
5
|
const BillingPlanChangeMutationSchemaDefinition = z.object({
|
|
5
6
|
/** AI Plus or AI Pro plan to move to; the current plan cancels a scheduled change */
|
|
6
7
|
plan: BillingPlanTypeSchema,
|
|
7
|
-
/** Unix epoch-second timestamp from an
|
|
8
|
+
/** Unix epoch-second timestamp from an immediate-change preview that pins its prorated amount on confirmation; omit it for period-end changes or without a preview */
|
|
8
9
|
prorationDate: z.number().int().nullish(),
|
|
10
|
+
/** When the change applies: IMMEDIATE prorates now, PERIOD_END schedules for renewal. Defaults to IMMEDIATE for upgrades or metered accounts, PERIOD_END for downgrades. */
|
|
11
|
+
timing: BillingChangeTimingTypeSchema.nullish(),
|
|
9
12
|
});
|
|
10
13
|
/**
|
|
11
14
|
* Caller-selected plan for changing a continuing AI Plus or AI Pro subscription.
|
|
@@ -28,7 +28,7 @@ type BillingPlanChangeDefinition = z.infer<typeof BillingPlanChangeSchemaDefinit
|
|
|
28
28
|
export interface BillingPlanChangeSchemaInput extends z.input<typeof BillingPlanChangeSchemaDefinition> {
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* Plan change outcome: an
|
|
31
|
+
* Plan change outcome: an immediate change applies now with a prorated invoice, a period-end change waits for the current period end.
|
|
32
32
|
*
|
|
33
33
|
* @openapiSchema BillingPlanChange
|
|
34
34
|
* @endpoint POST /v1/billing/plan-changes
|
|
@@ -14,7 +14,7 @@ const BillingPlanChangeSchemaDefinition = z.object({
|
|
|
14
14
|
publishableKey: z.string().nullish(),
|
|
15
15
|
});
|
|
16
16
|
/**
|
|
17
|
-
* Plan change outcome: an
|
|
17
|
+
* Plan change outcome: an immediate change applies now with a prorated invoice, a period-end change waits for the current period end.
|
|
18
18
|
*
|
|
19
19
|
* @openapiSchema BillingPlanChange
|
|
20
20
|
* @endpoint POST /v1/billing/plan-changes
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const BillingSubscriptionMutationSchemaDefinition: z.ZodObject<{
|
|
3
3
|
cancelAtPeriodEnd: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4
|
+
cancelNow: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4
5
|
paused: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5
6
|
}, z.core.$strip>;
|
|
6
7
|
type BillingSubscriptionMutationDefinition = z.infer<typeof BillingSubscriptionMutationSchemaDefinition>;
|
|
7
8
|
export interface BillingSubscriptionMutationSchemaInput extends z.input<typeof BillingSubscriptionMutationSchemaDefinition> {
|
|
8
9
|
}
|
|
9
10
|
/**
|
|
10
|
-
* Merge patch of a continuing AI Plus or AI Pro subscription: cancel it at the period end or resume it, including one Stripe paused.
|
|
11
|
+
* Merge patch of a continuing AI Plus or AI Pro subscription: cancel it at the period end, cancel it immediately with proration, or resume it, including one Stripe paused.
|
|
11
12
|
*
|
|
12
13
|
* @openapiSchema BillingSubscriptionMutation
|
|
13
14
|
* @endpoint PATCH /v1/billing/subscription
|
|
@@ -3,11 +3,13 @@ import { z } from "zod/v4";
|
|
|
3
3
|
const BillingSubscriptionMutationSchemaDefinition = z.object({
|
|
4
4
|
/** true ends the subscription at the current period end and drops a scheduled plan change; false resumes it and restores the plan change scheduled before the cancellation. Omit to change nothing. */
|
|
5
5
|
cancelAtPeriodEnd: z.boolean().nullish(),
|
|
6
|
-
/**
|
|
6
|
+
/** true ends the subscription immediately with proration for unused time. Mutually exclusive with cancelAtPeriodEnd and paused; false is refused. Omit to change nothing. */
|
|
7
|
+
cancelNow: z.boolean().nullish(),
|
|
8
|
+
/** false resumes a subscription Stripe paused because its trial ended without a payment method; add one with POST /v1/billing/portal-sessions first. The resumption starts a new billing period now and charges the plan to that card; a declined or authentication-held charge answers 409. true, or another action in the same request, is refused. Omit to change nothing. */
|
|
7
9
|
paused: z.boolean().nullish(),
|
|
8
10
|
});
|
|
9
11
|
/**
|
|
10
|
-
* Merge patch of a continuing AI Plus or AI Pro subscription: cancel it at the period end or resume it, including one Stripe paused.
|
|
12
|
+
* Merge patch of a continuing AI Plus or AI Pro subscription: cancel it at the period end, cancel it immediately with proration, or resume it, including one Stripe paused.
|
|
11
13
|
*
|
|
12
14
|
* @openapiSchema BillingSubscriptionMutation
|
|
13
15
|
* @endpoint PATCH /v1/billing/subscription
|
|
@@ -20,10 +20,15 @@ declare const EnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
20
20
|
run: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21
21
|
attempt: z.ZodInt;
|
|
22
22
|
callerCanFollowRun: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
-
chassis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
23
|
+
chassis: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
24
24
|
"claude-agent-sdk": "claude-agent-sdk";
|
|
25
25
|
"pi-agent-sdk": "pi-agent-sdk";
|
|
26
|
-
}
|
|
26
|
+
}>, z.ZodString]> & {
|
|
27
|
+
enum: {
|
|
28
|
+
"claude-agent-sdk": "claude-agent-sdk";
|
|
29
|
+
"pi-agent-sdk": "pi-agent-sdk";
|
|
30
|
+
};
|
|
31
|
+
}>>;
|
|
27
32
|
chassisRouted: z.ZodOptional<z.ZodBoolean>;
|
|
28
33
|
createdAt: z.ZodISODateTime;
|
|
29
34
|
entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
package/dist/entity/filter.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { z } from "zod/v4";
|
|
|
23
23
|
* @usedBySchema EntityPersonAssociationFilterSchema
|
|
24
24
|
* @usedBySchema FederatedNaturalSearchSchema
|
|
25
25
|
* @usedBySchema PersonFilterSchema
|
|
26
|
+
* @usedBySchema SearchNarrowingOptionSchema
|
|
26
27
|
* @contractShape entity.filter
|
|
27
28
|
* @contractRole canonical
|
|
28
29
|
*/
|
package/dist/entity/filter.js
CHANGED
|
@@ -36,6 +36,7 @@ import { UrlMatchModeSchema } from "../url/match-mode.js";
|
|
|
36
36
|
* @usedBySchema EntityPersonAssociationFilterSchema
|
|
37
37
|
* @usedBySchema FederatedNaturalSearchSchema
|
|
38
38
|
* @usedBySchema PersonFilterSchema
|
|
39
|
+
* @usedBySchema SearchNarrowingOptionSchema
|
|
39
40
|
* @contractShape entity.filter
|
|
40
41
|
* @contractRole canonical
|
|
41
42
|
*/
|
|
@@ -9,6 +9,8 @@ const FederatedSearchProvenanceSchemaDefinition = z.object({
|
|
|
9
9
|
entity: SearchModeExecutionSchema,
|
|
10
10
|
/** Scopes whose required named subjects could not be resolved, or whose optional sources or candidate judgments did not all complete. Returned rows remain usable but the requested population is incomplete, so this response must not be cached as final. Clarifying the named subjects or retrying may complete these scopes. */
|
|
11
11
|
incompleteScope: z.array(z.enum(["entity", "person", "news"])).optional(),
|
|
12
|
+
/** True when narrowing questions were eligible but missed their time budget or their read failed, so narrowing is null. Rows are unaffected and the search is not incomplete; retrying may ask them. */
|
|
13
|
+
narrowingUnavailable: z.boolean().optional(),
|
|
12
14
|
/** Search method requested and used for news. */
|
|
13
15
|
news: SearchModeExecutionSchema,
|
|
14
16
|
/** Search method requested and used for people. */
|
|
@@ -11249,6 +11249,317 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
11249
11249
|
venue?: string | null | undefined;
|
|
11250
11250
|
}, import("../unique/id.ts").UniqueIdSchemaInput>>>;
|
|
11251
11251
|
}, z.core.$strip>>;
|
|
11252
|
+
narrowing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11253
|
+
candidateCount: z.ZodNumber;
|
|
11254
|
+
question: z.ZodArray<z.ZodType<{
|
|
11255
|
+
dimension: string;
|
|
11256
|
+
key: string;
|
|
11257
|
+
option: {
|
|
11258
|
+
count: number;
|
|
11259
|
+
entityFilter: {
|
|
11260
|
+
acceleratorBrand?: string[] | undefined;
|
|
11261
|
+
acceleratorCohort?: string[] | undefined;
|
|
11262
|
+
acceleratorName?: string[] | undefined;
|
|
11263
|
+
acceleratorParticipation?: {
|
|
11264
|
+
acceleratorEntityId: string;
|
|
11265
|
+
detail: {
|
|
11266
|
+
batch: string;
|
|
11267
|
+
program?: string | null | undefined;
|
|
11268
|
+
};
|
|
11269
|
+
}[] | undefined;
|
|
11270
|
+
acceleratorStatus?: string[] | undefined;
|
|
11271
|
+
affinity?: string[] | undefined;
|
|
11272
|
+
closedLast?: boolean | undefined;
|
|
11273
|
+
employeeCountRange?: {
|
|
11274
|
+
matchMode?: string | null | undefined;
|
|
11275
|
+
max?: number | null | undefined;
|
|
11276
|
+
min?: number | null | undefined;
|
|
11277
|
+
}[] | undefined;
|
|
11278
|
+
entityId?: string[] | undefined;
|
|
11279
|
+
entityName?: string[] | undefined;
|
|
11280
|
+
featured?: boolean | null | undefined;
|
|
11281
|
+
fundraiseActivity?: {
|
|
11282
|
+
amountInvestedRange?: {
|
|
11283
|
+
max?: number | null | undefined;
|
|
11284
|
+
min?: number | null | undefined;
|
|
11285
|
+
}[] | undefined;
|
|
11286
|
+
amountRaisedRange?: {
|
|
11287
|
+
max?: number | null | undefined;
|
|
11288
|
+
min?: number | null | undefined;
|
|
11289
|
+
}[] | undefined;
|
|
11290
|
+
dateAnnouncedRange?: {
|
|
11291
|
+
max?: string | null | undefined;
|
|
11292
|
+
min?: string | null | undefined;
|
|
11293
|
+
} | null | undefined;
|
|
11294
|
+
dateFundingCompleteRange?: {
|
|
11295
|
+
max?: string | null | undefined;
|
|
11296
|
+
min?: string | null | undefined;
|
|
11297
|
+
} | null | undefined;
|
|
11298
|
+
investedAmountRaisedRange?: {
|
|
11299
|
+
max?: number | null | undefined;
|
|
11300
|
+
min?: number | null | undefined;
|
|
11301
|
+
}[] | undefined;
|
|
11302
|
+
investedCompanyName?: string[] | undefined;
|
|
11303
|
+
investedCountry?: string[] | undefined;
|
|
11304
|
+
investedIndustry?: string[] | undefined;
|
|
11305
|
+
investedRound?: string[] | undefined;
|
|
11306
|
+
investorActivity?: {
|
|
11307
|
+
averageAmountInvestedUsdRange?: {
|
|
11308
|
+
max?: number | null | undefined;
|
|
11309
|
+
min?: number | null | undefined;
|
|
11310
|
+
}[] | undefined;
|
|
11311
|
+
largestAmountInvestedUsdRange?: {
|
|
11312
|
+
max?: number | null | undefined;
|
|
11313
|
+
min?: number | null | undefined;
|
|
11314
|
+
}[] | undefined;
|
|
11315
|
+
smallestAmountInvestedUsdRange?: {
|
|
11316
|
+
max?: number | null | undefined;
|
|
11317
|
+
min?: number | null | undefined;
|
|
11318
|
+
}[] | undefined;
|
|
11319
|
+
totalAmountInvestedUsdRange?: {
|
|
11320
|
+
max?: number | null | undefined;
|
|
11321
|
+
min?: number | null | undefined;
|
|
11322
|
+
}[] | undefined;
|
|
11323
|
+
totalInvestmentRange?: {
|
|
11324
|
+
max?: number | null | undefined;
|
|
11325
|
+
min?: number | null | undefined;
|
|
11326
|
+
}[] | undefined;
|
|
11327
|
+
} | undefined;
|
|
11328
|
+
investorEntityId?: string[] | undefined;
|
|
11329
|
+
investorFamilyEntityId?: string[] | undefined;
|
|
11330
|
+
investorName?: string[] | undefined;
|
|
11331
|
+
investorNameMatch?: "any" | "every" | null | undefined;
|
|
11332
|
+
lastRoundYearRange?: {
|
|
11333
|
+
max?: number | null | undefined;
|
|
11334
|
+
min?: number | null | undefined;
|
|
11335
|
+
}[] | undefined;
|
|
11336
|
+
rankByInvestmentActivity?: boolean | null | undefined;
|
|
11337
|
+
round?: string[] | undefined;
|
|
11338
|
+
totalRaisedRange?: {
|
|
11339
|
+
max?: number | null | undefined;
|
|
11340
|
+
min?: number | null | undefined;
|
|
11341
|
+
}[] | undefined;
|
|
11342
|
+
valuationRange?: {
|
|
11343
|
+
max?: number | null | undefined;
|
|
11344
|
+
min?: number | null | undefined;
|
|
11345
|
+
}[] | undefined;
|
|
11346
|
+
} | undefined;
|
|
11347
|
+
hasFundraising?: boolean | null | undefined;
|
|
11348
|
+
headquartersCity?: string[] | undefined;
|
|
11349
|
+
headquartersCountry?: string[] | undefined;
|
|
11350
|
+
headquartersState?: string[] | undefined;
|
|
11351
|
+
industry?: string[] | undefined;
|
|
11352
|
+
investorPopulation?: boolean | null | undefined;
|
|
11353
|
+
letter?: string | null | undefined;
|
|
11354
|
+
location?: string[] | undefined;
|
|
11355
|
+
logoOption?: {
|
|
11356
|
+
sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
|
|
11357
|
+
} | undefined;
|
|
11358
|
+
mainProduct?: string[] | undefined;
|
|
11359
|
+
noteworthyOnly?: boolean | undefined;
|
|
11360
|
+
operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
|
|
11361
|
+
originCountry?: string[] | undefined;
|
|
11362
|
+
person?: string[] | undefined;
|
|
11363
|
+
portfolioHeadquartersCity?: string[] | undefined;
|
|
11364
|
+
portfolioHeadquartersCountry?: string[] | undefined;
|
|
11365
|
+
portfolioHeadquartersState?: string[] | undefined;
|
|
11366
|
+
qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
|
|
11367
|
+
rankByProminence?: boolean | null | undefined;
|
|
11368
|
+
slug?: string[] | undefined;
|
|
11369
|
+
stage?: string[] | undefined;
|
|
11370
|
+
standardizedClassification?: {
|
|
11371
|
+
category: string;
|
|
11372
|
+
code?: number | null | undefined;
|
|
11373
|
+
codeText?: string | null | undefined;
|
|
11374
|
+
edition?: string | null | undefined;
|
|
11375
|
+
hasEdition?: boolean | null | undefined;
|
|
11376
|
+
}[] | undefined;
|
|
11377
|
+
suppressLateStage?: boolean | null | undefined;
|
|
11378
|
+
suppressNonOperating?: boolean | null | undefined;
|
|
11379
|
+
suppressZeroTotalRaised?: boolean | null | undefined;
|
|
11380
|
+
tag?: string[] | undefined;
|
|
11381
|
+
textSearch?: string | null | undefined;
|
|
11382
|
+
typeCustomer?: string[] | undefined;
|
|
11383
|
+
typeInvestor?: string[] | undefined;
|
|
11384
|
+
typeModel?: string[] | undefined;
|
|
11385
|
+
typeOwnership?: string[] | undefined;
|
|
11386
|
+
typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
|
|
11387
|
+
typeRegulatory?: string[] | undefined;
|
|
11388
|
+
typeRevenue?: string[] | undefined;
|
|
11389
|
+
typeTechnologyUsed?: string[] | undefined;
|
|
11390
|
+
uniqueId?: {
|
|
11391
|
+
identifier?: string | null | undefined;
|
|
11392
|
+
idType: string;
|
|
11393
|
+
}[] | undefined;
|
|
11394
|
+
url?: string | null | undefined;
|
|
11395
|
+
urlDomain?: string | null | undefined;
|
|
11396
|
+
urlMatchMode?: "domain" | "hostPath" | null | undefined;
|
|
11397
|
+
urlType?: string | null | undefined;
|
|
11398
|
+
yearFoundedRange?: {
|
|
11399
|
+
max?: number | null | undefined;
|
|
11400
|
+
min?: number | null | undefined;
|
|
11401
|
+
}[] | undefined;
|
|
11402
|
+
};
|
|
11403
|
+
label: string;
|
|
11404
|
+
level?: string | null | undefined;
|
|
11405
|
+
}[];
|
|
11406
|
+
prompt: string;
|
|
11407
|
+
}, import("../search/narrowing-question.ts").SearchNarrowingQuestionSchemaInput, z.core.$ZodTypeInternals<{
|
|
11408
|
+
dimension: string;
|
|
11409
|
+
key: string;
|
|
11410
|
+
option: {
|
|
11411
|
+
count: number;
|
|
11412
|
+
entityFilter: {
|
|
11413
|
+
acceleratorBrand?: string[] | undefined;
|
|
11414
|
+
acceleratorCohort?: string[] | undefined;
|
|
11415
|
+
acceleratorName?: string[] | undefined;
|
|
11416
|
+
acceleratorParticipation?: {
|
|
11417
|
+
acceleratorEntityId: string;
|
|
11418
|
+
detail: {
|
|
11419
|
+
batch: string;
|
|
11420
|
+
program?: string | null | undefined;
|
|
11421
|
+
};
|
|
11422
|
+
}[] | undefined;
|
|
11423
|
+
acceleratorStatus?: string[] | undefined;
|
|
11424
|
+
affinity?: string[] | undefined;
|
|
11425
|
+
closedLast?: boolean | undefined;
|
|
11426
|
+
employeeCountRange?: {
|
|
11427
|
+
matchMode?: string | null | undefined;
|
|
11428
|
+
max?: number | null | undefined;
|
|
11429
|
+
min?: number | null | undefined;
|
|
11430
|
+
}[] | undefined;
|
|
11431
|
+
entityId?: string[] | undefined;
|
|
11432
|
+
entityName?: string[] | undefined;
|
|
11433
|
+
featured?: boolean | null | undefined;
|
|
11434
|
+
fundraiseActivity?: {
|
|
11435
|
+
amountInvestedRange?: {
|
|
11436
|
+
max?: number | null | undefined;
|
|
11437
|
+
min?: number | null | undefined;
|
|
11438
|
+
}[] | undefined;
|
|
11439
|
+
amountRaisedRange?: {
|
|
11440
|
+
max?: number | null | undefined;
|
|
11441
|
+
min?: number | null | undefined;
|
|
11442
|
+
}[] | undefined;
|
|
11443
|
+
dateAnnouncedRange?: {
|
|
11444
|
+
max?: string | null | undefined;
|
|
11445
|
+
min?: string | null | undefined;
|
|
11446
|
+
} | null | undefined;
|
|
11447
|
+
dateFundingCompleteRange?: {
|
|
11448
|
+
max?: string | null | undefined;
|
|
11449
|
+
min?: string | null | undefined;
|
|
11450
|
+
} | null | undefined;
|
|
11451
|
+
investedAmountRaisedRange?: {
|
|
11452
|
+
max?: number | null | undefined;
|
|
11453
|
+
min?: number | null | undefined;
|
|
11454
|
+
}[] | undefined;
|
|
11455
|
+
investedCompanyName?: string[] | undefined;
|
|
11456
|
+
investedCountry?: string[] | undefined;
|
|
11457
|
+
investedIndustry?: string[] | undefined;
|
|
11458
|
+
investedRound?: string[] | undefined;
|
|
11459
|
+
investorActivity?: {
|
|
11460
|
+
averageAmountInvestedUsdRange?: {
|
|
11461
|
+
max?: number | null | undefined;
|
|
11462
|
+
min?: number | null | undefined;
|
|
11463
|
+
}[] | undefined;
|
|
11464
|
+
largestAmountInvestedUsdRange?: {
|
|
11465
|
+
max?: number | null | undefined;
|
|
11466
|
+
min?: number | null | undefined;
|
|
11467
|
+
}[] | undefined;
|
|
11468
|
+
smallestAmountInvestedUsdRange?: {
|
|
11469
|
+
max?: number | null | undefined;
|
|
11470
|
+
min?: number | null | undefined;
|
|
11471
|
+
}[] | undefined;
|
|
11472
|
+
totalAmountInvestedUsdRange?: {
|
|
11473
|
+
max?: number | null | undefined;
|
|
11474
|
+
min?: number | null | undefined;
|
|
11475
|
+
}[] | undefined;
|
|
11476
|
+
totalInvestmentRange?: {
|
|
11477
|
+
max?: number | null | undefined;
|
|
11478
|
+
min?: number | null | undefined;
|
|
11479
|
+
}[] | undefined;
|
|
11480
|
+
} | undefined;
|
|
11481
|
+
investorEntityId?: string[] | undefined;
|
|
11482
|
+
investorFamilyEntityId?: string[] | undefined;
|
|
11483
|
+
investorName?: string[] | undefined;
|
|
11484
|
+
investorNameMatch?: "any" | "every" | null | undefined;
|
|
11485
|
+
lastRoundYearRange?: {
|
|
11486
|
+
max?: number | null | undefined;
|
|
11487
|
+
min?: number | null | undefined;
|
|
11488
|
+
}[] | undefined;
|
|
11489
|
+
rankByInvestmentActivity?: boolean | null | undefined;
|
|
11490
|
+
round?: string[] | undefined;
|
|
11491
|
+
totalRaisedRange?: {
|
|
11492
|
+
max?: number | null | undefined;
|
|
11493
|
+
min?: number | null | undefined;
|
|
11494
|
+
}[] | undefined;
|
|
11495
|
+
valuationRange?: {
|
|
11496
|
+
max?: number | null | undefined;
|
|
11497
|
+
min?: number | null | undefined;
|
|
11498
|
+
}[] | undefined;
|
|
11499
|
+
} | undefined;
|
|
11500
|
+
hasFundraising?: boolean | null | undefined;
|
|
11501
|
+
headquartersCity?: string[] | undefined;
|
|
11502
|
+
headquartersCountry?: string[] | undefined;
|
|
11503
|
+
headquartersState?: string[] | undefined;
|
|
11504
|
+
industry?: string[] | undefined;
|
|
11505
|
+
investorPopulation?: boolean | null | undefined;
|
|
11506
|
+
letter?: string | null | undefined;
|
|
11507
|
+
location?: string[] | undefined;
|
|
11508
|
+
logoOption?: {
|
|
11509
|
+
sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
|
|
11510
|
+
} | undefined;
|
|
11511
|
+
mainProduct?: string[] | undefined;
|
|
11512
|
+
noteworthyOnly?: boolean | undefined;
|
|
11513
|
+
operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
|
|
11514
|
+
originCountry?: string[] | undefined;
|
|
11515
|
+
person?: string[] | undefined;
|
|
11516
|
+
portfolioHeadquartersCity?: string[] | undefined;
|
|
11517
|
+
portfolioHeadquartersCountry?: string[] | undefined;
|
|
11518
|
+
portfolioHeadquartersState?: string[] | undefined;
|
|
11519
|
+
qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
|
|
11520
|
+
rankByProminence?: boolean | null | undefined;
|
|
11521
|
+
slug?: string[] | undefined;
|
|
11522
|
+
stage?: string[] | undefined;
|
|
11523
|
+
standardizedClassification?: {
|
|
11524
|
+
category: string;
|
|
11525
|
+
code?: number | null | undefined;
|
|
11526
|
+
codeText?: string | null | undefined;
|
|
11527
|
+
edition?: string | null | undefined;
|
|
11528
|
+
hasEdition?: boolean | null | undefined;
|
|
11529
|
+
}[] | undefined;
|
|
11530
|
+
suppressLateStage?: boolean | null | undefined;
|
|
11531
|
+
suppressNonOperating?: boolean | null | undefined;
|
|
11532
|
+
suppressZeroTotalRaised?: boolean | null | undefined;
|
|
11533
|
+
tag?: string[] | undefined;
|
|
11534
|
+
textSearch?: string | null | undefined;
|
|
11535
|
+
typeCustomer?: string[] | undefined;
|
|
11536
|
+
typeInvestor?: string[] | undefined;
|
|
11537
|
+
typeModel?: string[] | undefined;
|
|
11538
|
+
typeOwnership?: string[] | undefined;
|
|
11539
|
+
typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
|
|
11540
|
+
typeRegulatory?: string[] | undefined;
|
|
11541
|
+
typeRevenue?: string[] | undefined;
|
|
11542
|
+
typeTechnologyUsed?: string[] | undefined;
|
|
11543
|
+
uniqueId?: {
|
|
11544
|
+
identifier?: string | null | undefined;
|
|
11545
|
+
idType: string;
|
|
11546
|
+
}[] | undefined;
|
|
11547
|
+
url?: string | null | undefined;
|
|
11548
|
+
urlDomain?: string | null | undefined;
|
|
11549
|
+
urlMatchMode?: "domain" | "hostPath" | null | undefined;
|
|
11550
|
+
urlType?: string | null | undefined;
|
|
11551
|
+
yearFoundedRange?: {
|
|
11552
|
+
max?: number | null | undefined;
|
|
11553
|
+
min?: number | null | undefined;
|
|
11554
|
+
}[] | undefined;
|
|
11555
|
+
};
|
|
11556
|
+
label: string;
|
|
11557
|
+
level?: string | null | undefined;
|
|
11558
|
+
}[];
|
|
11559
|
+
prompt: string;
|
|
11560
|
+
}, import("../search/narrowing-question.ts").SearchNarrowingQuestionSchemaInput>>>;
|
|
11561
|
+
sampleCount: z.ZodInt;
|
|
11562
|
+
}, z.core.$strip>>>;
|
|
11252
11563
|
news: z.ZodType<{
|
|
11253
11564
|
content: {
|
|
11254
11565
|
author?: string | null | undefined;
|
|
@@ -15313,6 +15624,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
15313
15624
|
modeUsed: string;
|
|
15314
15625
|
};
|
|
15315
15626
|
incompleteScope?: ("entity" | "news" | "person")[] | undefined;
|
|
15627
|
+
narrowingUnavailable?: boolean | undefined;
|
|
15316
15628
|
news: {
|
|
15317
15629
|
modeRequested: string;
|
|
15318
15630
|
modeUsed: string;
|
|
@@ -15334,6 +15646,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
15334
15646
|
modeUsed: string;
|
|
15335
15647
|
};
|
|
15336
15648
|
incompleteScope?: ("entity" | "news" | "person")[] | undefined;
|
|
15649
|
+
narrowingUnavailable?: boolean | undefined;
|
|
15337
15650
|
news: {
|
|
15338
15651
|
modeRequested: string;
|
|
15339
15652
|
modeUsed: string;
|
package/dist/federated/search.js
CHANGED
|
@@ -8,12 +8,15 @@ import { NewsEntityMentionSchema } from "../news/entity-mention.js";
|
|
|
8
8
|
import { PageResultNewsSchema } from "../pagination/schemas.js";
|
|
9
9
|
import { PersonDetailSchema } from "../person/detail.js";
|
|
10
10
|
import { PersonNaturalSearchResultSchema } from "../person/natural-search-result.js";
|
|
11
|
+
import { SearchNarrowingSchema } from "../search/narrowing.js";
|
|
11
12
|
import { SearchQualifierSchema } from "../search/qualifier.js";
|
|
12
13
|
const FederatedSearchSchemaDefinition = z.object({
|
|
13
14
|
/** Canonical entity natural-search result. */
|
|
14
15
|
entity: NaturalSearchResultSchema,
|
|
15
16
|
/** Public detail for Product/Service rows on the entity result page, in search rank order. Other entity types are not hydrated. */
|
|
16
17
|
entityDetail: z.array(EntityDetailSchema),
|
|
18
|
+
/** Questions that narrow a broad company-category search with structured entityFilter fragments; null when the search is not broad category discovery, nothing would narrow it, or the questions missed their time budget (provenance.narrowingUnavailable). */
|
|
19
|
+
narrowing: SearchNarrowingSchema.nullish(),
|
|
17
20
|
/** Page of news results from keyword search. */
|
|
18
21
|
news: PageResultNewsSchema,
|
|
19
22
|
/** Public entities each news row on the page links to, in news page order; a row with no public entity link has no entry. */
|
|
@@ -26,7 +29,7 @@ const FederatedSearchSchemaDefinition = z.object({
|
|
|
26
29
|
personLead: z.boolean(),
|
|
27
30
|
/** Requested and executed strategy for each search scope. */
|
|
28
31
|
provenance: FederatedSearchProvenanceSchema,
|
|
29
|
-
/** A prompt with rewritten queries offered beside a broad query's results, from the search catalog revision the search read; null when no qualifier rule matches. */
|
|
32
|
+
/** Deprecated: read narrowing instead; served unchanged until clients stop reading it. A prompt with rewritten queries offered beside a broad query's results, from the search catalog revision the search read; null when no qualifier rule matches. */
|
|
30
33
|
qualifier: SearchQualifierSchema.nullish(),
|
|
31
34
|
/** Result sections from most to least relevant. People lead when `personLead` is true and come last otherwise. An executed entity type scope leads only when all its expanded types select one section. Remaining sections follow their best entity row's rank, then missing sections follow in Companies, Other Organizations, Products and Services, Investment Firms, Funds order. Legacy company and investor aggregates are not emitted. */
|
|
32
35
|
section: z.array(FederatedSearchSectionSchema).optional(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
/**
|
|
3
|
-
* Agent framework a research run executes on: the Claude Agent SDK
|
|
3
|
+
* Agent framework a research run executes on: the Claude Agent SDK, Pi agent SDK, or additional harness chassis
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema HarnessChassis
|
|
6
6
|
* @endpoint GET /v1/research/runs
|
|
@@ -13,9 +13,14 @@ import { z } from "zod/v4";
|
|
|
13
13
|
* @contractShape harness.chassis
|
|
14
14
|
* @contractRole canonical
|
|
15
15
|
*/
|
|
16
|
-
export declare const HarnessChassisSchema: z.ZodEnum<{
|
|
16
|
+
export declare const HarnessChassisSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
17
17
|
"claude-agent-sdk": "claude-agent-sdk";
|
|
18
18
|
"pi-agent-sdk": "pi-agent-sdk";
|
|
19
|
-
}
|
|
19
|
+
}>, z.ZodString]> & {
|
|
20
|
+
enum: {
|
|
21
|
+
"claude-agent-sdk": "claude-agent-sdk";
|
|
22
|
+
"pi-agent-sdk": "pi-agent-sdk";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
20
25
|
export type HarnessChassis = z.infer<typeof HarnessChassisSchema>;
|
|
21
26
|
//# sourceMappingURL=chassis.d.ts.map
|
package/dist/harness/chassis.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
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
|
+
const HarnessChassisSchemaKnownMembers = z.enum(["claude-agent-sdk", "pi-agent-sdk"]);
|
|
3
4
|
/**
|
|
4
|
-
* Agent framework a research run executes on: the Claude Agent SDK
|
|
5
|
+
* Agent framework a research run executes on: the Claude Agent SDK, Pi agent SDK, or additional harness chassis
|
|
5
6
|
*
|
|
6
7
|
* @openapiSchema HarnessChassis
|
|
7
8
|
* @endpoint GET /v1/research/runs
|
|
@@ -14,5 +15,5 @@ import { z } from "zod/v4";
|
|
|
14
15
|
* @contractShape harness.chassis
|
|
15
16
|
* @contractRole canonical
|
|
16
17
|
*/
|
|
17
|
-
export const HarnessChassisSchema = z.
|
|
18
|
+
export const HarnessChassisSchema = Object.assign(z.union([HarnessChassisSchemaKnownMembers, z.string()]), { enum: HarnessChassisSchemaKnownMembers.enum });
|
|
18
19
|
//# sourceMappingURL=chassis.js.map
|
|
@@ -195,10 +195,15 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
|
|
|
195
195
|
run: z.ZodObject<{
|
|
196
196
|
attempt: z.ZodInt;
|
|
197
197
|
callerCanFollowRun: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
198
|
-
chassis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
198
|
+
chassis: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
199
199
|
"claude-agent-sdk": "claude-agent-sdk";
|
|
200
200
|
"pi-agent-sdk": "pi-agent-sdk";
|
|
201
|
-
}
|
|
201
|
+
}>, z.ZodString]> & {
|
|
202
|
+
enum: {
|
|
203
|
+
"claude-agent-sdk": "claude-agent-sdk";
|
|
204
|
+
"pi-agent-sdk": "pi-agent-sdk";
|
|
205
|
+
};
|
|
206
|
+
}>>;
|
|
202
207
|
chassisRouted: z.ZodOptional<z.ZodBoolean>;
|
|
203
208
|
createdAt: z.ZodISODateTime;
|
|
204
209
|
entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
package/dist/harness/run.d.ts
CHANGED
|
@@ -18,10 +18,15 @@ import { z } from "zod/v4";
|
|
|
18
18
|
export declare const HarnessRunSchema: z.ZodObject<{
|
|
19
19
|
attempt: z.ZodInt;
|
|
20
20
|
callerCanFollowRun: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
-
chassis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
21
|
+
chassis: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
22
22
|
"claude-agent-sdk": "claude-agent-sdk";
|
|
23
23
|
"pi-agent-sdk": "pi-agent-sdk";
|
|
24
|
-
}
|
|
24
|
+
}>, z.ZodString]> & {
|
|
25
|
+
enum: {
|
|
26
|
+
"claude-agent-sdk": "claude-agent-sdk";
|
|
27
|
+
"pi-agent-sdk": "pi-agent-sdk";
|
|
28
|
+
};
|
|
29
|
+
}>>;
|
|
25
30
|
chassisRouted: z.ZodOptional<z.ZodBoolean>;
|
|
26
31
|
createdAt: z.ZodISODateTime;
|
|
27
32
|
entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -124,6 +124,9 @@ export declare const ProblemDetailSchema: z.ZodObject<{
|
|
|
124
124
|
suspectedShellStrip: "suspectedShellStrip";
|
|
125
125
|
suspected_shell_strip: "suspected_shell_strip";
|
|
126
126
|
task_plan_operation_unserved: "task_plan_operation_unserved";
|
|
127
|
+
team_last_admin_cannot_leave: "team_last_admin_cannot_leave";
|
|
128
|
+
team_owner_cannot_leave: "team_owner_cannot_leave";
|
|
129
|
+
team_seat_limit_reached: "team_seat_limit_reached";
|
|
127
130
|
text_send_limit_reached: "text_send_limit_reached";
|
|
128
131
|
text_write_job_ended: "text_write_job_ended";
|
|
129
132
|
url_surface_misclassification: "url_surface_misclassification";
|