@aventurevc/api-schemas 0.8.409 → 0.8.411
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/catalog-plan.d.ts +1 -0
- package/dist/billing/catalog-plan.js +2 -0
- package/dist/billing/catalog.d.ts +2 -0
- package/dist/billing/payment-profile.d.ts +2 -1
- package/dist/billing/payment-profile.js +3 -1
- package/dist/enrichment/enrichment.d.ts +16 -0
- package/dist/federated/search-section.d.ts +30 -0
- package/dist/federated/search-section.js +24 -0
- package/dist/federated/search.d.ts +9 -2
- package/dist/federated/search.js +2 -1
- package/dist/harness/run-detail.d.ts +16 -0
- package/dist/harness/run-status.d.ts +1 -0
- package/dist/harness/run-status.js +1 -0
- package/dist/harness/run-terminal-decision.d.ts +33 -0
- package/dist/harness/run-terminal-decision.js +36 -0
- package/dist/harness/run.d.ts +16 -0
- package/dist/harness/run.js +3 -0
- package/dist/http/problem-detail.d.ts +1 -0
- package/dist/http/problem-detail.js +3 -1
- package/dist/link/search.d.ts +2 -2
- package/dist/openapi-component-manifest.js +8 -0
- package/dist/pagination/schemas.d.ts +16 -0
- package/dist/shared/search.d.ts +2 -2
- package/dist/unique/id-mutation.js +1 -1
- package/dist/unique/id-type.d.ts +6 -0
- package/dist/unique/id-type.js +3 -0
- package/dist/unique/id.d.ts +6 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ declare const BillingCatalogPlanSchemaDefinition: z.ZodObject<{
|
|
|
4
4
|
cadence: z.ZodString;
|
|
5
5
|
currency: z.ZodString;
|
|
6
6
|
displayName: z.ZodString;
|
|
7
|
+
freeTrialDays: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
7
8
|
introductoryAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8
9
|
plan: z.ZodUnion<readonly [z.ZodEnum<{
|
|
9
10
|
PLUS_MONTHLY: "PLUS_MONTHLY";
|
|
@@ -9,6 +9,8 @@ const BillingCatalogPlanSchemaDefinition = z.object({
|
|
|
9
9
|
/** ISO 4217 currency code. */
|
|
10
10
|
currency: z.string(),
|
|
11
11
|
displayName: z.string(),
|
|
12
|
+
/** Free trial duration in days for a new Stripe Checkout on the Customer's first transaction; absent when this plan has no free trial. Payment details are required; the plan automatically renews at unitAmount per cadence afterward. Existing subscription changes receive no trial. App Store eligibility and offers come from StoreKit separately. */
|
|
13
|
+
freeTrialDays: z.int().nullish(),
|
|
12
14
|
/** First invoice amount in currency minor units (USD cents) when an automatic, one-time Checkout offer is available; absent otherwise. Renewals use unitAmount. */
|
|
13
15
|
introductoryAmount: z.number().int().nullish(),
|
|
14
16
|
plan: BillingPlanTypeSchema,
|
|
@@ -22,6 +22,7 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
|
22
22
|
cadence: string;
|
|
23
23
|
currency: string;
|
|
24
24
|
displayName: string;
|
|
25
|
+
freeTrialDays?: number | null | undefined;
|
|
25
26
|
introductoryAmount?: number | null | undefined;
|
|
26
27
|
plan: string;
|
|
27
28
|
tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
|
|
@@ -31,6 +32,7 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
|
31
32
|
cadence: string;
|
|
32
33
|
currency: string;
|
|
33
34
|
displayName: string;
|
|
35
|
+
freeTrialDays?: number | null | undefined;
|
|
34
36
|
introductoryAmount?: number | null | undefined;
|
|
35
37
|
plan: string;
|
|
36
38
|
tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const BillingPaymentProfileSchemaDefinition: z.ZodObject<{
|
|
3
|
+
freeTrialEligible: z.ZodOptional<z.ZodBoolean>;
|
|
3
4
|
introductoryOfferEligible: z.ZodBoolean;
|
|
4
5
|
paymentMethod: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5
6
|
brand: z.ZodString;
|
|
@@ -12,7 +13,7 @@ type BillingPaymentProfileDefinition = z.infer<typeof BillingPaymentProfileSchem
|
|
|
12
13
|
export interface BillingPaymentProfileSchemaInput extends z.input<typeof BillingPaymentProfileSchemaDefinition> {
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
15
|
-
* The caller's card on file
|
|
16
|
+
* The caller's card on file, paid introductory discount eligibility, and eligibility for a free trial on a new Stripe Checkout, read live from Stripe.
|
|
16
17
|
*
|
|
17
18
|
* @openapiSchema BillingPaymentProfile
|
|
18
19
|
* @endpoint GET /v1/billing/subscription/payment-profile
|
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { BillingPaymentMethodSchema } from "./payment-method.js";
|
|
4
4
|
const BillingPaymentProfileSchemaDefinition = z.object({
|
|
5
|
+
/** Whether a new Stripe Checkout for a plan with freeTrialDays receives its free trial: the App Store does not bill the account and its Stripe Customer has no prior subscription, successful payment, or non-void invoice. An account without a Stripe Customer is eligible. This is Stripe history eligibility, not a guarantee of one trial across payment providers; plan changes are excluded. Absent on servers released before free-trial eligibility was introduced. */
|
|
6
|
+
freeTrialEligible: z.boolean().optional(),
|
|
5
7
|
/** Whether the caller's next purchase or upgrade to a plan with an introductoryAmount is charged that amount: true when the catalog offers introductoryAmount, the App Store does not bill the account, and either it has no earlier subscription, payment, or unvoided invoice, or it pays an active subscription on a cheaper sold plan and has never redeemed the introductory discount; false otherwise */
|
|
6
8
|
introductoryOfferEligible: z.boolean(),
|
|
7
9
|
/** Card that pays the continuing Stripe subscription; absent without one or when it is paid by something other than a card */
|
|
8
10
|
paymentMethod: BillingPaymentMethodSchema.nullish(),
|
|
9
11
|
});
|
|
10
12
|
/**
|
|
11
|
-
* The caller's card on file
|
|
13
|
+
* The caller's card on file, paid introductory discount eligibility, and eligibility for a free trial on a new Stripe Checkout, read live from Stripe.
|
|
12
14
|
*
|
|
13
15
|
* @openapiSchema BillingPaymentProfile
|
|
14
16
|
* @endpoint GET /v1/billing/subscription/payment-profile
|
|
@@ -121,6 +121,22 @@ declare const EnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
121
121
|
subagentModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
122
|
subagentModelRouted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
123
123
|
taskPresetKey: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
124
|
+
terminalDecision: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
125
|
+
engineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
126
|
+
finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
127
|
+
iteration: z.ZodInt;
|
|
128
|
+
lockedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
129
|
+
sequence: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
130
|
+
status: z.ZodEnum<{
|
|
131
|
+
completed: "completed";
|
|
132
|
+
failed: "failed";
|
|
133
|
+
queued: "queued";
|
|
134
|
+
running: "running";
|
|
135
|
+
stopped: "stopped";
|
|
136
|
+
}>;
|
|
137
|
+
suppressionEntityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
138
|
+
suppressionProvenanceEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
139
|
+
}, z.core.$strip>>>;
|
|
124
140
|
type: z.ZodEnum<{
|
|
125
141
|
ENRICHMENT: "ENRICHMENT";
|
|
126
142
|
TASK: "TASK";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Result section a search page renders: people; companies (operating companies, business lines, nonprofits, and governments); products and services; or investors (investment firms and funds).
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema FederatedSearchSection
|
|
6
|
+
* @endpoint GET /v1/search/link
|
|
7
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
8
|
+
* @endpoint GET /v1/search/shared/{id}
|
|
9
|
+
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
10
|
+
* @endpoint POST /v1/search
|
|
11
|
+
* @endpoint POST /v1/search/shared
|
|
12
|
+
* @usedBySchema FederatedSearchSchema
|
|
13
|
+
* @contractShape federated.search-section
|
|
14
|
+
* @contractRole canonical
|
|
15
|
+
*/
|
|
16
|
+
export declare const FederatedSearchSectionSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
17
|
+
company: "company";
|
|
18
|
+
investor: "investor";
|
|
19
|
+
person: "person";
|
|
20
|
+
productService: "productService";
|
|
21
|
+
}>, z.ZodString]> & {
|
|
22
|
+
enum: {
|
|
23
|
+
company: "company";
|
|
24
|
+
investor: "investor";
|
|
25
|
+
person: "person";
|
|
26
|
+
productService: "productService";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export type FederatedSearchSection = z.infer<typeof FederatedSearchSectionSchema>;
|
|
30
|
+
//# sourceMappingURL=search-section.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
const FederatedSearchSectionSchemaKnownMembers = z.enum([
|
|
4
|
+
"person",
|
|
5
|
+
"company",
|
|
6
|
+
"productService",
|
|
7
|
+
"investor",
|
|
8
|
+
]);
|
|
9
|
+
/**
|
|
10
|
+
* Result section a search page renders: people; companies (operating companies, business lines, nonprofits, and governments); products and services; or investors (investment firms and funds).
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema FederatedSearchSection
|
|
13
|
+
* @endpoint GET /v1/search/link
|
|
14
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
15
|
+
* @endpoint GET /v1/search/shared/{id}
|
|
16
|
+
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
17
|
+
* @endpoint POST /v1/search
|
|
18
|
+
* @endpoint POST /v1/search/shared
|
|
19
|
+
* @usedBySchema FederatedSearchSchema
|
|
20
|
+
* @contractShape federated.search-section
|
|
21
|
+
* @contractRole canonical
|
|
22
|
+
*/
|
|
23
|
+
export const FederatedSearchSectionSchema = Object.assign(z.union([FederatedSearchSectionSchemaKnownMembers, z.string()]), { enum: FederatedSearchSectionSchemaKnownMembers.enum });
|
|
24
|
+
//# sourceMappingURL=search-section.js.map
|
|
@@ -14556,12 +14556,19 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
14556
14556
|
}, import("../search/qualifier-option.ts").SearchQualifierOptionSchemaInput>>>;
|
|
14557
14557
|
prompt: z.ZodString;
|
|
14558
14558
|
}, z.core.$strip>>>;
|
|
14559
|
-
section: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14559
|
+
section: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
14560
14560
|
company: "company";
|
|
14561
14561
|
investor: "investor";
|
|
14562
14562
|
person: "person";
|
|
14563
14563
|
productService: "productService";
|
|
14564
|
-
}
|
|
14564
|
+
}>, z.ZodString]> & {
|
|
14565
|
+
enum: {
|
|
14566
|
+
company: "company";
|
|
14567
|
+
investor: "investor";
|
|
14568
|
+
person: "person";
|
|
14569
|
+
productService: "productService";
|
|
14570
|
+
};
|
|
14571
|
+
}>>;
|
|
14565
14572
|
}, z.core.$strip>;
|
|
14566
14573
|
type FederatedSearchDefinition = z.infer<typeof FederatedSearchSchemaDefinition>;
|
|
14567
14574
|
export interface FederatedSearchSchemaInput extends z.input<typeof FederatedSearchSchemaDefinition> {
|
package/dist/federated/search.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { EntityDetailSchema } from "../entity/detail.js";
|
|
4
4
|
import { FederatedSearchProvenanceSchema } from "./search-provenance.js";
|
|
5
|
+
import { FederatedSearchSectionSchema } from "./search-section.js";
|
|
5
6
|
import { NaturalSearchResultSchema } from "../natural/search-result.js";
|
|
6
7
|
import { NewsEntityMentionSchema } from "../news/entity-mention.js";
|
|
7
8
|
import { PageResultNewsSchema } from "../pagination/schemas.js";
|
|
@@ -28,7 +29,7 @@ const FederatedSearchSchemaDefinition = z.object({
|
|
|
28
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. */
|
|
29
30
|
qualifier: SearchQualifierSchema.nullish(),
|
|
30
31
|
/** Result sections from most to least relevant. People lead when `personLead` is true and come last otherwise. Companies, products and services, and investors follow the rank of each section's best entity row, so a name whose best match is an investment firm leads with investors; sections with no entity row follow in that same fixed order. */
|
|
31
|
-
section: z.array(
|
|
32
|
+
section: z.array(FederatedSearchSectionSchema).optional(),
|
|
32
33
|
});
|
|
33
34
|
/**
|
|
34
35
|
* Combined entity, person, and news search results, each from that record type's own search, with the search method used for each.
|
|
@@ -279,6 +279,22 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
|
|
|
279
279
|
subagentModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
280
280
|
subagentModelRouted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
281
281
|
taskPresetKey: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
282
|
+
terminalDecision: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
283
|
+
engineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
284
|
+
finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
285
|
+
iteration: z.ZodInt;
|
|
286
|
+
lockedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
287
|
+
sequence: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
288
|
+
status: z.ZodEnum<{
|
|
289
|
+
completed: "completed";
|
|
290
|
+
failed: "failed";
|
|
291
|
+
queued: "queued";
|
|
292
|
+
running: "running";
|
|
293
|
+
stopped: "stopped";
|
|
294
|
+
}>;
|
|
295
|
+
suppressionEntityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
296
|
+
suppressionProvenanceEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
297
|
+
}, z.core.$strip>>>;
|
|
282
298
|
type: z.ZodEnum<{
|
|
283
299
|
ENRICHMENT: "ENRICHMENT";
|
|
284
300
|
TASK: "TASK";
|
|
@@ -10,6 +10,7 @@ import { z } from "zod/v4";
|
|
|
10
10
|
* @endpoint POST /v1/people/{personId}/enrichments
|
|
11
11
|
* @endpoint POST /v1/research/runs
|
|
12
12
|
* @usedBySchema HarnessRunSchema
|
|
13
|
+
* @usedBySchema HarnessRunTerminalDecisionSchema
|
|
13
14
|
* @contractShape harness.run-status
|
|
14
15
|
* @contractRole canonical
|
|
15
16
|
*/
|
|
@@ -11,6 +11,7 @@ import { z } from "zod/v4";
|
|
|
11
11
|
* @endpoint POST /v1/people/{personId}/enrichments
|
|
12
12
|
* @endpoint POST /v1/research/runs
|
|
13
13
|
* @usedBySchema HarnessRunSchema
|
|
14
|
+
* @usedBySchema HarnessRunTerminalDecisionSchema
|
|
14
15
|
* @contractShape harness.run-status
|
|
15
16
|
* @contractRole canonical
|
|
16
17
|
*/
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Server admission for one terminal transition
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema HarnessRunTerminalDecision
|
|
6
|
+
* @endpoint GET /v1/research/runs
|
|
7
|
+
* @endpoint GET /v1/research/runs/{runId}
|
|
8
|
+
* @endpoint POST /v1/enrichments
|
|
9
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
10
|
+
* @endpoint POST /v1/people/{personId}/enrichments
|
|
11
|
+
* @endpoint POST /v1/research/runs
|
|
12
|
+
* @usedBySchema HarnessRunSchema
|
|
13
|
+
* @contractShape harness.run-terminal-decision
|
|
14
|
+
* @contractRole canonical
|
|
15
|
+
*/
|
|
16
|
+
export declare const HarnessRunTerminalDecisionSchema: z.ZodObject<{
|
|
17
|
+
engineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
19
|
+
iteration: z.ZodInt;
|
|
20
|
+
lockedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
21
|
+
sequence: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
22
|
+
status: z.ZodEnum<{
|
|
23
|
+
completed: "completed";
|
|
24
|
+
failed: "failed";
|
|
25
|
+
queued: "queued";
|
|
26
|
+
running: "running";
|
|
27
|
+
stopped: "stopped";
|
|
28
|
+
}>;
|
|
29
|
+
suppressionEntityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
30
|
+
suppressionProvenanceEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
export type HarnessRunTerminalDecision = z.infer<typeof HarnessRunTerminalDecisionSchema>;
|
|
33
|
+
//# sourceMappingURL=run-terminal-decision.d.ts.map
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
import { HarnessRunStatusSchema } from "./run-status.js";
|
|
4
|
+
/**
|
|
5
|
+
* Server admission for one terminal transition
|
|
6
|
+
*
|
|
7
|
+
* @openapiSchema HarnessRunTerminalDecision
|
|
8
|
+
* @endpoint GET /v1/research/runs
|
|
9
|
+
* @endpoint GET /v1/research/runs/{runId}
|
|
10
|
+
* @endpoint POST /v1/enrichments
|
|
11
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
12
|
+
* @endpoint POST /v1/people/{personId}/enrichments
|
|
13
|
+
* @endpoint POST /v1/research/runs
|
|
14
|
+
* @usedBySchema HarnessRunSchema
|
|
15
|
+
* @contractShape harness.run-terminal-decision
|
|
16
|
+
* @contractRole canonical
|
|
17
|
+
*/
|
|
18
|
+
export const HarnessRunTerminalDecisionSchema = z.object({
|
|
19
|
+
/** Lease owner at the terminal transition */
|
|
20
|
+
engineId: z.string().nullish(),
|
|
21
|
+
/** Finish time accepted by the terminal transition */
|
|
22
|
+
finishedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
23
|
+
/** Iteration accepted by the terminal transition */
|
|
24
|
+
iteration: z.int(),
|
|
25
|
+
/** Lease generation at the terminal transition */
|
|
26
|
+
lockedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
27
|
+
/** Server event sequence on run reads; the event stream supplies it separately */
|
|
28
|
+
sequence: z.int().nullish(),
|
|
29
|
+
/** Admitted terminal status */
|
|
30
|
+
status: HarnessRunStatusSchema,
|
|
31
|
+
/** Accepted entity whose suppression admitted this finish */
|
|
32
|
+
suppressionEntityId: z.uuid().nullish(),
|
|
33
|
+
/** Canonical provenance event that admitted suppression */
|
|
34
|
+
suppressionProvenanceEventId: z.number().int().nullish(),
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=run-terminal-decision.js.map
|
package/dist/harness/run.d.ts
CHANGED
|
@@ -119,6 +119,22 @@ export declare const HarnessRunSchema: z.ZodObject<{
|
|
|
119
119
|
subagentModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
120
|
subagentModelRouted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
121
121
|
taskPresetKey: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
122
|
+
terminalDecision: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
123
|
+
engineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
124
|
+
finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
125
|
+
iteration: z.ZodInt;
|
|
126
|
+
lockedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
127
|
+
sequence: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
128
|
+
status: z.ZodEnum<{
|
|
129
|
+
completed: "completed";
|
|
130
|
+
failed: "failed";
|
|
131
|
+
queued: "queued";
|
|
132
|
+
running: "running";
|
|
133
|
+
stopped: "stopped";
|
|
134
|
+
}>;
|
|
135
|
+
suppressionEntityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
136
|
+
suppressionProvenanceEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
137
|
+
}, z.core.$strip>>>;
|
|
122
138
|
type: z.ZodEnum<{
|
|
123
139
|
ENRICHMENT: "ENRICHMENT";
|
|
124
140
|
TASK: "TASK";
|
package/dist/harness/run.js
CHANGED
|
@@ -9,6 +9,7 @@ import { HarnessRunExecutionSchema } from "./run-execution.js";
|
|
|
9
9
|
import { HarnessRunFollowUpAdmissionSchema } from "./run-follow-up-admission.js";
|
|
10
10
|
import { HarnessRunLaneSchema } from "./run-lane.js";
|
|
11
11
|
import { HarnessRunStatusSchema } from "./run-status.js";
|
|
12
|
+
import { HarnessRunTerminalDecisionSchema } from "./run-terminal-decision.js";
|
|
12
13
|
import { HarnessRunTypeSchema } from "./run-type.js";
|
|
13
14
|
import { ResearchAllowanceTypeSchema } from "../research/allowance-type.js";
|
|
14
15
|
/**
|
|
@@ -94,6 +95,8 @@ export const HarnessRunSchema = z.object({
|
|
|
94
95
|
subagentModelRouted: z.boolean().nullish(),
|
|
95
96
|
/** Research presets filed with the run */
|
|
96
97
|
taskPresetKey: z.array(z.string()).nullish(),
|
|
98
|
+
/** Newest server terminal decision; mutable progress cannot replace it */
|
|
99
|
+
terminalDecision: HarnessRunTerminalDecisionSchema.nullish(),
|
|
97
100
|
/** Run kind: ENRICHMENT for a research request a caller filed, TASK for a narrower run aVenture scheduled */
|
|
98
101
|
type: HarnessRunTypeSchema,
|
|
99
102
|
/** Last update timestamp */
|
|
@@ -68,6 +68,7 @@ export declare const ProblemDetailSchema: z.ZodObject<{
|
|
|
68
68
|
fundraise_evidence_unsupported: "fundraise_evidence_unsupported";
|
|
69
69
|
geocode_provider_error: "geocode_provider_error";
|
|
70
70
|
github_fetch_failed: "github_fetch_failed";
|
|
71
|
+
harness_suppression_unverified: "harness_suppression_unverified";
|
|
71
72
|
image_blocklist_match: "image_blocklist_match";
|
|
72
73
|
image_brand_mismatch: "image_brand_mismatch";
|
|
73
74
|
image_monochrome: "image_monochrome";
|
|
@@ -26,6 +26,8 @@ export const ProblemDetailSchema = z.object({
|
|
|
26
26
|
code: z
|
|
27
27
|
.union([
|
|
28
28
|
z.enum([
|
|
29
|
+
/** The run's suppression of its accepted full-run entity is unverified. Retain the original failure outcome and terminal evidence. */
|
|
30
|
+
"harness_suppression_unverified",
|
|
29
31
|
/** An anonymous caller cannot own a lookup job. Sign in to request async. */
|
|
30
32
|
"async_lookup_sign_in_required",
|
|
31
33
|
/** Caller is authenticated but lacks the required role for this operation. Agent action: surface the requiredRole field on the ProblemDetail and stop; do not retry without role escalation. */
|
|
@@ -210,7 +212,7 @@ export const ProblemDetailSchema = z.object({
|
|
|
210
212
|
detail: z.string().optional(),
|
|
211
213
|
/** Structured conflict details. A possible duplicate or an ambiguous lookup returns its candidate records; score and threshold rank the candidates and do not prove that the requested record is absent. */
|
|
212
214
|
details: DomainConflictDetailsSchema.nullish(),
|
|
213
|
-
/** Whether
|
|
215
|
+
/** Whether this classified failure can be retried. */
|
|
214
216
|
disposition: z.enum(["TRANSIENT", "TERMINAL"]).nullish(),
|
|
215
217
|
error: z.record(z.string(), z.string()).nullish(),
|
|
216
218
|
/** On a duplicate 409, the id of the stored record the request collided with; read or update that record instead of creating it again. Absent when the conflict names no single stored record. */
|
package/dist/link/search.d.ts
CHANGED
|
@@ -7332,7 +7332,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
7332
7332
|
}[];
|
|
7333
7333
|
prompt: string;
|
|
7334
7334
|
} | null | undefined;
|
|
7335
|
-
section?:
|
|
7335
|
+
section?: string[] | undefined;
|
|
7336
7336
|
}, import("../federated/search.ts").FederatedSearchSchemaInput, z.core.$ZodTypeInternals<{
|
|
7337
7337
|
entity: {
|
|
7338
7338
|
answer?: {
|
|
@@ -14664,7 +14664,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
14664
14664
|
}[];
|
|
14665
14665
|
prompt: string;
|
|
14666
14666
|
} | null | undefined;
|
|
14667
|
-
section?:
|
|
14667
|
+
section?: string[] | undefined;
|
|
14668
14668
|
}, import("../federated/search.ts").FederatedSearchSchemaInput>>;
|
|
14669
14669
|
url: z.ZodString;
|
|
14670
14670
|
}, z.core.$strip>;
|
|
@@ -660,6 +660,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
660
660
|
modulePath: "federated/search-rejection",
|
|
661
661
|
schemaName: "FederatedSearchRejectionSchema",
|
|
662
662
|
},
|
|
663
|
+
FederatedSearchSection: {
|
|
664
|
+
modulePath: "federated/search-section",
|
|
665
|
+
schemaName: "FederatedSearchSectionSchema",
|
|
666
|
+
},
|
|
663
667
|
FundingApplicability: {
|
|
664
668
|
modulePath: "funding/applicability",
|
|
665
669
|
schemaName: "FundingApplicabilitySchema",
|
|
@@ -742,6 +746,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
742
746
|
schemaName: "HarnessRunRequestOutcomeStatusSchema",
|
|
743
747
|
},
|
|
744
748
|
HarnessRunStatus: { modulePath: "harness/run-status", schemaName: "HarnessRunStatusSchema" },
|
|
749
|
+
HarnessRunTerminalDecision: {
|
|
750
|
+
modulePath: "harness/run-terminal-decision",
|
|
751
|
+
schemaName: "HarnessRunTerminalDecisionSchema",
|
|
752
|
+
},
|
|
745
753
|
HarnessRunTurn: { modulePath: "harness/run-turn", schemaName: "HarnessRunTurnSchema" },
|
|
746
754
|
HarnessRunType: { modulePath: "harness/run-type", schemaName: "HarnessRunTypeSchema" },
|
|
747
755
|
HarnessTaskFact: { modulePath: "harness/task-fact", schemaName: "HarnessTaskFactSchema" },
|
|
@@ -14656,6 +14656,22 @@ declare const PageHarnessRunSchemaDefinition: z.ZodObject<{
|
|
|
14656
14656
|
subagentModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14657
14657
|
subagentModelRouted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14658
14658
|
taskPresetKey: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14659
|
+
terminalDecision: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14660
|
+
engineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14661
|
+
finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
14662
|
+
iteration: z.ZodInt;
|
|
14663
|
+
lockedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
14664
|
+
sequence: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
14665
|
+
status: z.ZodEnum<{
|
|
14666
|
+
completed: "completed";
|
|
14667
|
+
failed: "failed";
|
|
14668
|
+
queued: "queued";
|
|
14669
|
+
running: "running";
|
|
14670
|
+
stopped: "stopped";
|
|
14671
|
+
}>;
|
|
14672
|
+
suppressionEntityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
14673
|
+
suppressionProvenanceEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14674
|
+
}, z.core.$strip>>>;
|
|
14659
14675
|
type: z.ZodEnum<{
|
|
14660
14676
|
ENRICHMENT: "ENRICHMENT";
|
|
14661
14677
|
TASK: "TASK";
|
package/dist/shared/search.d.ts
CHANGED
|
@@ -7343,7 +7343,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
7343
7343
|
}[];
|
|
7344
7344
|
prompt: string;
|
|
7345
7345
|
} | null | undefined;
|
|
7346
|
-
section?:
|
|
7346
|
+
section?: string[] | undefined;
|
|
7347
7347
|
}, import("../federated/search.ts").FederatedSearchSchemaInput, z.core.$ZodTypeInternals<{
|
|
7348
7348
|
entity: {
|
|
7349
7349
|
answer?: {
|
|
@@ -14675,7 +14675,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
14675
14675
|
}[];
|
|
14676
14676
|
prompt: string;
|
|
14677
14677
|
} | null | undefined;
|
|
14678
|
-
section?:
|
|
14678
|
+
section?: string[] | undefined;
|
|
14679
14679
|
}, import("../federated/search.ts").FederatedSearchSchemaInput>>;
|
|
14680
14680
|
}, z.core.$strip>;
|
|
14681
14681
|
type SharedSearchDefinition = z.infer<typeof SharedSearchSchemaDefinition>;
|
|
@@ -32,7 +32,7 @@ export const UniqueIdMutationSchema = z.object({
|
|
|
32
32
|
listingStanding: UniqueIdListingStandingSchema.nullish(),
|
|
33
33
|
/** Source-stated ticker share class; never inferred from the symbol. */
|
|
34
34
|
shareClass: z.string().nullish(),
|
|
35
|
-
/** Optional attribution source label for the mapping. */
|
|
35
|
+
/** Optional attribution source label for the mapping; at most 100 Unicode code points after trimming surrounding whitespace. Blank labels are stored as null. */
|
|
36
36
|
source: z.string().nullish(),
|
|
37
37
|
/** Date from which the source says this listing standing applies, at the precision supplied. */
|
|
38
38
|
standingAsOf: z
|
package/dist/unique/id-type.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export declare const UniqueIdTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
44
44
|
isin: "isin";
|
|
45
45
|
israelCompanyNumber: "israelCompanyNumber";
|
|
46
46
|
japanCryptoAssetExchangeRegistration: "japanCryptoAssetExchangeRegistration";
|
|
47
|
+
koreaBusinessRegistrationNumber: "koreaBusinessRegistrationNumber";
|
|
47
48
|
lei: "lei";
|
|
48
49
|
naicCompanyCode: "naicCompanyCode";
|
|
49
50
|
ncesLeaId: "ncesLeaId";
|
|
@@ -60,10 +61,12 @@ export declare const UniqueIdTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
60
61
|
signalNfxCompany: "signalNfxCompany";
|
|
61
62
|
signalNfxFirm: "signalNfxFirm";
|
|
62
63
|
signalNfxPerson: "signalNfxPerson";
|
|
64
|
+
swissUid: "swissUid";
|
|
63
65
|
ticker: "ticker";
|
|
64
66
|
ukCompanyNumber: "ukCompanyNumber";
|
|
65
67
|
ukraineEdrpou: "ukraineEdrpou";
|
|
66
68
|
usptoPractitioner: "usptoPractitioner";
|
|
69
|
+
vietnamTaxCode: "vietnamTaxCode";
|
|
67
70
|
}>, z.ZodString]> & {
|
|
68
71
|
enum: {
|
|
69
72
|
belgiumEnterpriseNumber: "belgiumEnterpriseNumber";
|
|
@@ -85,6 +88,7 @@ export declare const UniqueIdTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
85
88
|
isin: "isin";
|
|
86
89
|
israelCompanyNumber: "israelCompanyNumber";
|
|
87
90
|
japanCryptoAssetExchangeRegistration: "japanCryptoAssetExchangeRegistration";
|
|
91
|
+
koreaBusinessRegistrationNumber: "koreaBusinessRegistrationNumber";
|
|
88
92
|
lei: "lei";
|
|
89
93
|
naicCompanyCode: "naicCompanyCode";
|
|
90
94
|
ncesLeaId: "ncesLeaId";
|
|
@@ -101,10 +105,12 @@ export declare const UniqueIdTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
101
105
|
signalNfxCompany: "signalNfxCompany";
|
|
102
106
|
signalNfxFirm: "signalNfxFirm";
|
|
103
107
|
signalNfxPerson: "signalNfxPerson";
|
|
108
|
+
swissUid: "swissUid";
|
|
104
109
|
ticker: "ticker";
|
|
105
110
|
ukCompanyNumber: "ukCompanyNumber";
|
|
106
111
|
ukraineEdrpou: "ukraineEdrpou";
|
|
107
112
|
usptoPractitioner: "usptoPractitioner";
|
|
113
|
+
vietnamTaxCode: "vietnamTaxCode";
|
|
108
114
|
};
|
|
109
115
|
};
|
|
110
116
|
export type UniqueIdType = z.infer<typeof UniqueIdTypeSchema>;
|
package/dist/unique/id-type.js
CHANGED
package/dist/unique/id.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ declare const UniqueIdSchemaDefinition: z.ZodObject<{
|
|
|
25
25
|
isin: "isin";
|
|
26
26
|
israelCompanyNumber: "israelCompanyNumber";
|
|
27
27
|
japanCryptoAssetExchangeRegistration: "japanCryptoAssetExchangeRegistration";
|
|
28
|
+
koreaBusinessRegistrationNumber: "koreaBusinessRegistrationNumber";
|
|
28
29
|
lei: "lei";
|
|
29
30
|
naicCompanyCode: "naicCompanyCode";
|
|
30
31
|
ncesLeaId: "ncesLeaId";
|
|
@@ -41,10 +42,12 @@ declare const UniqueIdSchemaDefinition: z.ZodObject<{
|
|
|
41
42
|
signalNfxCompany: "signalNfxCompany";
|
|
42
43
|
signalNfxFirm: "signalNfxFirm";
|
|
43
44
|
signalNfxPerson: "signalNfxPerson";
|
|
45
|
+
swissUid: "swissUid";
|
|
44
46
|
ticker: "ticker";
|
|
45
47
|
ukCompanyNumber: "ukCompanyNumber";
|
|
46
48
|
ukraineEdrpou: "ukraineEdrpou";
|
|
47
49
|
usptoPractitioner: "usptoPractitioner";
|
|
50
|
+
vietnamTaxCode: "vietnamTaxCode";
|
|
48
51
|
}>, z.ZodString]> & {
|
|
49
52
|
enum: {
|
|
50
53
|
belgiumEnterpriseNumber: "belgiumEnterpriseNumber";
|
|
@@ -66,6 +69,7 @@ declare const UniqueIdSchemaDefinition: z.ZodObject<{
|
|
|
66
69
|
isin: "isin";
|
|
67
70
|
israelCompanyNumber: "israelCompanyNumber";
|
|
68
71
|
japanCryptoAssetExchangeRegistration: "japanCryptoAssetExchangeRegistration";
|
|
72
|
+
koreaBusinessRegistrationNumber: "koreaBusinessRegistrationNumber";
|
|
69
73
|
lei: "lei";
|
|
70
74
|
naicCompanyCode: "naicCompanyCode";
|
|
71
75
|
ncesLeaId: "ncesLeaId";
|
|
@@ -82,10 +86,12 @@ declare const UniqueIdSchemaDefinition: z.ZodObject<{
|
|
|
82
86
|
signalNfxCompany: "signalNfxCompany";
|
|
83
87
|
signalNfxFirm: "signalNfxFirm";
|
|
84
88
|
signalNfxPerson: "signalNfxPerson";
|
|
89
|
+
swissUid: "swissUid";
|
|
85
90
|
ticker: "ticker";
|
|
86
91
|
ukCompanyNumber: "ukCompanyNumber";
|
|
87
92
|
ukraineEdrpou: "ukraineEdrpou";
|
|
88
93
|
usptoPractitioner: "usptoPractitioner";
|
|
94
|
+
vietnamTaxCode: "vietnamTaxCode";
|
|
89
95
|
};
|
|
90
96
|
};
|
|
91
97
|
listingStanding: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|