@aventurevc/api-schemas 0.8.117 → 0.8.135
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/address/address.d.ts +2 -2
- package/dist/address/address.js +1 -1
- package/dist/address/association-role.d.ts +1 -1
- package/dist/address/association-role.js +1 -1
- package/dist/address/association.d.ts +3 -1
- package/dist/agent/help-question.d.ts +3 -1
- package/dist/agent/help.d.ts +31 -13
- package/dist/api/key.d.ts +3 -1
- package/dist/auth/operation-authorization.d.ts +7 -5
- package/dist/auth/operation-filter.d.ts +5 -3
- package/dist/auth/operation.d.ts +3 -1
- package/dist/auth/permission-grant.d.ts +3 -1
- package/dist/auth/provider-catalog.d.ts +3 -1
- package/dist/billing/additional-usage-meter.d.ts +3 -1
- package/dist/billing/additional-usage.d.ts +5 -3
- package/dist/billing/catalog-additional-usage.d.ts +3 -1
- package/dist/billing/catalog-allowance.d.ts +3 -1
- package/dist/billing/catalog-credit-pack.d.ts +3 -1
- package/dist/billing/catalog-plan.d.ts +4 -1
- package/dist/billing/catalog-plan.js +2 -0
- package/dist/billing/catalog-tier.d.ts +5 -3
- package/dist/billing/catalog.d.ts +13 -9
- package/dist/billing/checkout-mutation.d.ts +3 -1
- package/dist/billing/checkout.d.ts +3 -1
- package/dist/billing/plan-change-mutation.d.ts +3 -1
- package/dist/billing/plan-change-preview.d.ts +3 -1
- package/dist/billing/plan-change.d.ts +3 -1
- package/dist/billing/portal.d.ts +3 -1
- package/dist/billing/subscription.d.ts +7 -5
- package/dist/blog/post.d.ts +3 -1
- package/dist/chart/bucket.d.ts +3 -1
- package/dist/classification/catalog-bucket.d.ts +19 -30
- package/dist/classification/catalog-category.d.ts +31 -3
- package/dist/classification/catalog.d.ts +7 -5
- package/dist/classification/classification.d.ts +3 -1
- package/dist/classification/inactive-tag-details.d.ts +3 -1
- package/dist/cli/authorization-mutation.d.ts +3 -1
- package/dist/cli/authorization-poll.d.ts +3 -1
- package/dist/cli/authorization-start.d.ts +3 -1
- package/dist/cli/authorization.d.ts +3 -1
- package/dist/cursor/slice-shared-search-list.d.ts +5 -3
- package/dist/datasource/data-source-type.d.ts +24 -0
- package/dist/datasource/data-source-type.js +24 -0
- package/dist/decimal/range.d.ts +3 -1
- package/dist/domain/conflict-details.d.ts +10 -10
- package/dist/duplicate/create-review.d.ts +5 -3
- package/dist/employee/count.d.ts +2 -2
- package/dist/enrichment/batch.d.ts +3 -1
- package/dist/enrichment/enrichment.d.ts +5 -3
- package/dist/enrichment/prompt.d.ts +3 -1
- package/dist/enrichment/refusal-type.d.ts +3 -3
- package/dist/enrichment/refusal-type.js +4 -6
- package/dist/entity/accelerator-participation.d.ts +7 -5
- package/dist/entity/acquisition-evidence.d.ts +3 -1
- package/dist/entity/acquisition.d.ts +13 -11
- package/dist/entity/brand.d.ts +11 -9
- package/dist/entity/classification-suggestion.d.ts +39 -24
- package/dist/entity/classification.d.ts +159 -248
- package/dist/entity/detail-batch.d.ts +3 -1
- package/dist/entity/detail.d.ts +20 -18
- package/dist/entity/enrichment.d.ts +12 -9
- package/dist/entity/enrichment.js +3 -1
- package/dist/entity/entity.d.ts +4 -4
- package/dist/entity/filter-choice.d.ts +3 -1
- package/dist/entity/filter-entry.d.ts +9 -7
- package/dist/entity/filter-headquarters-country.d.ts +5 -3
- package/dist/entity/filter-headquarters-option-set.d.ts +2 -2
- package/dist/entity/filter-headquarters-state-city.d.ts +3 -1
- package/dist/entity/filter-meta.d.ts +2 -2
- package/dist/entity/filter-option-set-meta.d.ts +2 -2
- package/dist/entity/filter-option-set.d.ts +9 -7
- package/dist/entity/filter-refined-filters.d.ts +7 -5
- package/dist/entity/filter-search-result.d.ts +3 -1
- package/dist/entity/filter-search.d.ts +27 -25
- package/dist/entity/filter-sortable.d.ts +39 -0
- package/dist/entity/filter-sortable.js +42 -0
- package/dist/entity/filter-ui-meta.d.ts +2 -2
- package/dist/entity/filter.d.ts +24 -24
- package/dist/entity/filter.js +2 -2
- package/dist/entity/fundraise-filter-criteria.d.ts +20 -20
- package/dist/entity/fundraise-investor-activity.d.ts +5 -3
- package/dist/entity/fundraise-investor-join.d.ts +3 -1
- package/dist/entity/fundraise-transaction-entity.d.ts +4 -4
- package/dist/entity/fundraise-transaction.d.ts +7 -5
- package/dist/entity/fundraise-transaction.js +1 -0
- package/dist/entity/fundraise.d.ts +2 -2
- package/dist/entity/image.d.ts +3 -1
- package/dist/entity/investor-participation.d.ts +23 -19
- package/dist/entity/list-filter.d.ts +27 -25
- package/dist/entity/list-filter.js +2 -2
- package/dist/entity/list-research.d.ts +7 -5
- package/dist/entity/list.d.ts +15 -11
- package/dist/entity/name-alias-entity-alias-type.d.ts +3 -1
- package/dist/entity/name-alias-person-alias-type.d.ts +3 -1
- package/dist/entity/natural-search.d.ts +31 -27
- package/dist/entity/person-association.d.ts +12 -12
- package/dist/entity/person-association.js +1 -1
- package/dist/entity/relationship-type-option.d.ts +3 -1
- package/dist/entity/relationship.d.ts +7 -5
- package/dist/entity/research-detail.d.ts +3 -1
- package/dist/entity/research-fact-value.d.ts +3 -1
- package/dist/entity/research.d.ts +7 -5
- package/dist/entity/resolution.d.ts +23 -19
- package/dist/entity/similarity-context.d.ts +3 -1
- package/dist/entity/similarity-result.d.ts +9 -5
- package/dist/entity/similarity-summary.d.ts +11 -9
- package/dist/entity/tag.d.ts +26 -29
- package/dist/entity/tag.js +30 -31
- package/dist/entity/text-bundle.d.ts +3 -1
- package/dist/entity/text.d.ts +3 -1
- package/dist/entity/type-alias.d.ts +3 -1
- package/dist/entity/type-group-membership.d.ts +3 -1
- package/dist/entity/url-link.d.ts +3 -1
- package/dist/entity/valuation-time-series-point.d.ts +3 -1
- package/dist/federated/natural-search.d.ts +28 -25
- package/dist/federated/natural-search.js +3 -1
- package/dist/federated/search-provenance.d.ts +11 -9
- package/dist/federated/search-rejection.d.ts +3 -1
- package/dist/federated/search.d.ts +45 -33
- package/dist/fundraise/investment-evidence.d.ts +5 -3
- package/dist/github/repo.d.ts +3 -1
- package/dist/harness/run-create.d.ts +5 -3
- package/dist/harness/run-detail.d.ts +11 -9
- package/dist/harness/task-plan-step.d.ts +13 -3
- package/dist/harness/task-plan-step.js +3 -0
- package/dist/harness/task-plan.d.ts +20 -4
- package/dist/harness/task-step.d.ts +3 -1
- package/dist/harness/task-write-guidance.d.ts +21 -0
- package/dist/harness/task-write-guidance.js +27 -0
- package/dist/harness/task.d.ts +3 -1
- package/dist/help/citation.d.ts +7 -3
- package/dist/help/resolution.d.ts +24 -8
- package/dist/help/source-type.d.ts +4 -2
- package/dist/help/source-type.js +11 -6
- package/dist/http/json-value.d.ts +1 -1
- package/dist/http/problem-detail.d.ts +27 -12
- package/dist/http/problem-detail.js +7 -0
- package/dist/identification/candidate.d.ts +2 -2
- package/dist/identification/identification.d.ts +8 -8
- package/dist/int/range.d.ts +3 -1
- package/dist/investor/activity-filter.d.ts +10 -10
- package/dist/job/enqueue.d.ts +3 -1
- package/dist/link/search.d.ts +17 -5
- package/dist/logo/accuracy-reference.d.ts +3 -1
- package/dist/logo/accuracy.d.ts +2 -2
- package/dist/lookup/job-mention.d.ts +17 -13
- package/dist/lookup/job-mutation.d.ts +6 -3
- package/dist/lookup/job-mutation.js +2 -0
- package/dist/lookup/job.d.ts +19 -13
- package/dist/lookup/mention.d.ts +3 -1
- package/dist/media/upload.d.ts +5 -3
- package/dist/mention/lookup.d.ts +8 -3
- package/dist/mention/lookup.js +2 -0
- package/dist/natural/search-result.d.ts +30 -21
- package/dist/natural/search.d.ts +4 -1
- package/dist/natural/search.js +3 -1
- package/dist/news/detail.d.ts +9 -7
- package/dist/news/entity-mention.d.ts +5 -3
- package/dist/news/feedback-acknowledgement.d.ts +3 -1
- package/dist/news/feedback.d.ts +3 -1
- package/dist/news/news.d.ts +3 -1
- package/dist/news/published-event.d.ts +5 -3
- package/dist/news/resolved-entity-link.d.ts +3 -1
- package/dist/news/resolved-person-link.d.ts +3 -1
- package/dist/news/source-url-conflict.d.ts +3 -1
- package/dist/news/subscription-arguments.d.ts +3 -1
- package/dist/news/subscription-delivery.d.ts +3 -1
- package/dist/news/subscription-detail.d.ts +5 -3
- package/dist/news/subscription-endpoint.d.ts +3 -1
- package/dist/news/subscription-grant.d.ts +3 -1
- package/dist/news/subscription-key.d.ts +7 -5
- package/dist/news/subscription-test-event.d.ts +3 -1
- package/dist/news/subscription.d.ts +7 -5
- package/dist/openapi-component-manifest.js +19 -0
- package/dist/pagination/schemas.d.ts +225 -140
- package/dist/person/detail.d.ts +23 -21
- package/dist/person/enrichment.d.ts +7 -5
- package/dist/person/filter.d.ts +40 -40
- package/dist/person/graph-career-context.d.ts +17 -15
- package/dist/person/graph-co-investor.d.ts +9 -7
- package/dist/person/graph-member.d.ts +5 -3
- package/dist/person/graph-similar-entity.d.ts +9 -7
- package/dist/person/graph.d.ts +7 -5
- package/dist/person/image.d.ts +3 -1
- package/dist/person/invested-company.d.ts +7 -5
- package/dist/person/investment.d.ts +7 -5
- package/dist/person/investor-participation.d.ts +5 -3
- package/dist/person/list-array-filter.d.ts +6 -6
- package/dist/person/lookup-batch.d.ts +3 -1
- package/dist/person/natural-search-result.d.ts +9 -7
- package/dist/person/natural-search.d.ts +47 -43
- package/dist/person/person.d.ts +9 -7
- package/dist/person/search-interpretation.d.ts +47 -45
- package/dist/person/similarity-context.d.ts +3 -1
- package/dist/person/similarity-result.d.ts +19 -17
- package/dist/prose/problem.d.ts +24 -0
- package/dist/prose/problem.js +27 -0
- package/dist/prose/violation.d.ts +34 -0
- package/dist/prose/violation.js +24 -0
- package/dist/publication/facet.d.ts +3 -1
- package/dist/publication/publication.d.ts +3 -1
- package/dist/refinement/meta.d.ts +3 -1
- package/dist/research/allowance-usage.d.ts +23 -21
- package/dist/research/allowance.d.ts +3 -1
- package/dist/research/detail-type.d.ts +3 -1
- package/dist/research/detail-type.js +1 -1
- package/dist/research/finding.d.ts +3 -1
- package/dist/research/snippet-type.d.ts +4 -1
- package/dist/research/snippet-type.js +2 -0
- package/dist/resolved/handle.d.ts +3 -1
- package/dist/search/answer-citation.d.ts +3 -1
- package/dist/search/answer-paragraph.d.ts +5 -3
- package/dist/search/answer.d.ts +5 -4
- package/dist/search/answer.js +3 -1
- package/dist/search/duplicate-candidate-score.d.ts +3 -1
- package/dist/search/hit.d.ts +3 -1
- package/dist/search/interpretation.d.ts +11 -9
- package/dist/search/investment.d.ts +5 -3
- package/dist/search/judgment.d.ts +7 -5
- package/dist/search/mode-execution.d.ts +3 -1
- package/dist/search/ordering-entity-filter-sortable.d.ts +7 -5
- package/dist/search/ordering-person-sort-field.d.ts +5 -3
- package/dist/search/passage.d.ts +3 -1
- package/dist/search/search.d.ts +3 -1
- package/dist/sec/company.d.ts +10 -1
- package/dist/sec/company.js +6 -1
- package/dist/sec/listing-prospectus.d.ts +18 -0
- package/dist/sec/listing-prospectus.js +22 -0
- package/dist/shared/search-list.d.ts +3 -1
- package/dist/shared/search-mutation.d.ts +4 -1
- package/dist/shared/search-mutation.js +2 -0
- package/dist/shared/search.d.ts +19 -7
- package/dist/slug/location.d.ts +3 -1
- package/dist/sort/order-entity-filter-sortable.d.ts +7 -3
- package/dist/sort/order-entity-filter-sortable.js +2 -19
- package/dist/sort/order-person-sort-field.d.ts +3 -1
- package/dist/source/document-list.d.ts +3 -1
- package/dist/stage/frequency.d.ts +3 -1
- package/dist/standardized/classification.d.ts +4 -3
- package/dist/strict/url-lookup-conflict.d.ts +3 -1
- package/dist/suppression/reason.d.ts +17 -0
- package/dist/suppression/reason.js +16 -0
- package/dist/system/global-metrics.d.ts +3 -1
- package/dist/system/status.d.ts +5 -3
- package/dist/system/system-build-detail.d.ts +3 -1
- package/dist/system/system-build.d.ts +5 -3
- package/dist/text/type-option.d.ts +3 -1
- package/dist/unique/id-type-alias.d.ts +3 -1
- package/dist/unique/id.d.ts +3 -1
- package/dist/uptime/uptime.d.ts +3 -1
- package/dist/url/duplicate-conflict.d.ts +5 -3
- package/dist/url/duplicate-join.d.ts +3 -1
- package/dist/url/type-alias.d.ts +3 -1
- package/dist/web/search.d.ts +9 -7
- package/package.json +1 -1
|
@@ -291,6 +291,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
291
291
|
unconvertedRoundCount: number;
|
|
292
292
|
} | null | undefined;
|
|
293
293
|
headquartersAddressId?: number | null | undefined;
|
|
294
|
+
headquartersRemoteAsOf?: string | null | undefined;
|
|
294
295
|
text: {
|
|
295
296
|
expanded?: string | null | undefined;
|
|
296
297
|
generatedDescription?: string | null | undefined;
|
|
@@ -478,7 +479,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
478
479
|
sourceId: string;
|
|
479
480
|
sourceType: string;
|
|
480
481
|
} | null | undefined;
|
|
481
|
-
},
|
|
482
|
+
}, import("./list.ts").EntityListSchemaInput, z.core.$ZodTypeInternals<{
|
|
482
483
|
core: {
|
|
483
484
|
defaultCurrency?: string | null | undefined;
|
|
484
485
|
foundedYear?: number | null | undefined;
|
|
@@ -769,6 +770,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
769
770
|
unconvertedRoundCount: number;
|
|
770
771
|
} | null | undefined;
|
|
771
772
|
headquartersAddressId?: number | null | undefined;
|
|
773
|
+
headquartersRemoteAsOf?: string | null | undefined;
|
|
772
774
|
text: {
|
|
773
775
|
expanded?: string | null | undefined;
|
|
774
776
|
generatedDescription?: string | null | undefined;
|
|
@@ -956,7 +958,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
956
958
|
sourceId: string;
|
|
957
959
|
sourceType: string;
|
|
958
960
|
} | null | undefined;
|
|
959
|
-
},
|
|
961
|
+
}, import("./list.ts").EntityListSchemaInput>>;
|
|
960
962
|
similarity: z.ZodType<{
|
|
961
963
|
compositeScore?: number | null | undefined;
|
|
962
964
|
cosineScore?: number | null | undefined;
|
|
@@ -968,7 +970,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
968
970
|
origin: "computed" | "curated" | "derived" | "precomputed" | "semantic";
|
|
969
971
|
rank: number;
|
|
970
972
|
sharedSectionCount?: number | null | undefined;
|
|
971
|
-
},
|
|
973
|
+
}, import("./similarity-context.ts").EntitySimilarityContextSchemaInput, z.core.$ZodTypeInternals<{
|
|
972
974
|
compositeScore?: number | null | undefined;
|
|
973
975
|
cosineScore?: number | null | undefined;
|
|
974
976
|
curatedAsOf?: string | null | undefined;
|
|
@@ -979,9 +981,11 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
979
981
|
origin: "computed" | "curated" | "derived" | "precomputed" | "semantic";
|
|
980
982
|
rank: number;
|
|
981
983
|
sharedSectionCount?: number | null | undefined;
|
|
982
|
-
},
|
|
984
|
+
}, import("./similarity-context.ts").EntitySimilarityContextSchemaInput>>;
|
|
983
985
|
}, z.core.$strip>;
|
|
984
986
|
type EntitySimilarityResultDefinition = z.infer<typeof EntitySimilarityResultSchemaDefinition>;
|
|
987
|
+
export interface EntitySimilarityResultSchemaInput extends z.input<typeof EntitySimilarityResultSchemaDefinition> {
|
|
988
|
+
}
|
|
985
989
|
/**
|
|
986
990
|
* Similar entity list row with the provenance that explains why it appears. Rows carry the EntityList projection; load full detail through the entity detail endpoints.
|
|
987
991
|
*
|
|
@@ -999,7 +1003,7 @@ type EntitySimilarityResultDefinition = z.infer<typeof EntitySimilarityResultSch
|
|
|
999
1003
|
* @contractShape entity.similarity-result
|
|
1000
1004
|
* @contractRole canonical
|
|
1001
1005
|
*/
|
|
1002
|
-
export declare const EntitySimilarityResultSchema: z.ZodType<EntitySimilarityResultDefinition>;
|
|
1006
|
+
export declare const EntitySimilarityResultSchema: z.ZodType<EntitySimilarityResultDefinition, EntitySimilarityResultSchemaInput>;
|
|
1003
1007
|
export type EntitySimilarityResult = z.infer<typeof EntitySimilarityResultSchema>;
|
|
1004
1008
|
export {};
|
|
1005
1009
|
//# sourceMappingURL=similarity-result.d.ts.map
|
|
@@ -8,21 +8,21 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
|
|
|
8
8
|
isMonogram: boolean;
|
|
9
9
|
logo?: string | null | undefined;
|
|
10
10
|
logoSquare?: string | null | undefined;
|
|
11
|
-
},
|
|
11
|
+
}, import("./image.ts").EntityImageSchemaInput, z.core.$ZodTypeInternals<{
|
|
12
12
|
isMonogram: boolean;
|
|
13
13
|
logo?: string | null | undefined;
|
|
14
14
|
logoSquare?: string | null | undefined;
|
|
15
|
-
},
|
|
15
|
+
}, import("./image.ts").EntityImageSchemaInput>>;
|
|
16
16
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
17
17
|
nameAlias: z.ZodArray<z.ZodType<{
|
|
18
18
|
displayable?: boolean | null | undefined;
|
|
19
19
|
name: string;
|
|
20
20
|
type?: "alternativeDba" | "relatedLegal" | null | undefined;
|
|
21
|
-
},
|
|
21
|
+
}, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
|
|
22
22
|
displayable?: boolean | null | undefined;
|
|
23
23
|
name: string;
|
|
24
24
|
type?: "alternativeDba" | "relatedLegal" | null | undefined;
|
|
25
|
-
},
|
|
25
|
+
}, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
|
|
26
26
|
nameBrand: z.ZodString;
|
|
27
27
|
nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -61,7 +61,7 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
|
|
|
61
61
|
origin: "computed" | "curated" | "derived" | "precomputed" | "semantic";
|
|
62
62
|
rank: number;
|
|
63
63
|
sharedSectionCount?: number | null | undefined;
|
|
64
|
-
},
|
|
64
|
+
}, import("./similarity-context.ts").EntitySimilarityContextSchemaInput, z.core.$ZodTypeInternals<{
|
|
65
65
|
compositeScore?: number | null | undefined;
|
|
66
66
|
cosineScore?: number | null | undefined;
|
|
67
67
|
curatedAsOf?: string | null | undefined;
|
|
@@ -72,7 +72,7 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
|
|
|
72
72
|
origin: "computed" | "curated" | "derived" | "precomputed" | "semantic";
|
|
73
73
|
rank: number;
|
|
74
74
|
sharedSectionCount?: number | null | undefined;
|
|
75
|
-
},
|
|
75
|
+
}, import("./similarity-context.ts").EntitySimilarityContextSchemaInput>>;
|
|
76
76
|
urlLink: z.ZodArray<z.ZodType<{
|
|
77
77
|
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
78
78
|
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
@@ -90,7 +90,7 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
|
|
|
90
90
|
updatedAt?: string | null | undefined;
|
|
91
91
|
url: string;
|
|
92
92
|
urlType: string;
|
|
93
|
-
},
|
|
93
|
+
}, import("./url-link.ts").EntityUrlLinkSchemaInput, z.core.$ZodTypeInternals<{
|
|
94
94
|
crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
|
|
95
95
|
crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
|
|
96
96
|
createdAt?: string | null | undefined;
|
|
@@ -107,9 +107,11 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
|
|
|
107
107
|
updatedAt?: string | null | undefined;
|
|
108
108
|
url: string;
|
|
109
109
|
urlType: string;
|
|
110
|
-
},
|
|
110
|
+
}, import("./url-link.ts").EntityUrlLinkSchemaInput>>>;
|
|
111
111
|
}, z.core.$strip>;
|
|
112
112
|
type EntitySimilaritySummaryDefinition = z.infer<typeof EntitySimilaritySummarySchemaDefinition>;
|
|
113
|
+
export interface EntitySimilaritySummarySchemaInput extends z.input<typeof EntitySimilaritySummarySchemaDefinition> {
|
|
114
|
+
}
|
|
113
115
|
/**
|
|
114
116
|
* Lean similar-entity rail row: core identity, current URL links, and similarity provenance. Use EntitySimilarityResult for full EntityList rows.
|
|
115
117
|
*
|
|
@@ -119,7 +121,7 @@ type EntitySimilaritySummaryDefinition = z.infer<typeof EntitySimilaritySummaryS
|
|
|
119
121
|
* @contractShape entity.similarity-summary
|
|
120
122
|
* @contractRole canonical
|
|
121
123
|
*/
|
|
122
|
-
export declare const EntitySimilaritySummarySchema: z.ZodType<EntitySimilaritySummaryDefinition>;
|
|
124
|
+
export declare const EntitySimilaritySummarySchema: z.ZodType<EntitySimilaritySummaryDefinition, EntitySimilaritySummarySchemaInput>;
|
|
123
125
|
export type EntitySimilaritySummary = z.infer<typeof EntitySimilaritySummarySchema>;
|
|
124
126
|
export {};
|
|
125
127
|
//# sourceMappingURL=similarity-summary.d.ts.map
|
package/dist/entity/tag.d.ts
CHANGED
|
@@ -1,31 +1,4 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
declare const EntityTagSchemaDefinition: z.ZodIntersection<z.ZodType<{
|
|
3
|
-
creatable: boolean;
|
|
4
|
-
isCurrent?: boolean | null | undefined;
|
|
5
|
-
isPrimary?: boolean | null | undefined;
|
|
6
|
-
name: string;
|
|
7
|
-
writable: boolean;
|
|
8
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
9
|
-
creatable: boolean;
|
|
10
|
-
isCurrent?: boolean | null | undefined;
|
|
11
|
-
isPrimary?: boolean | null | undefined;
|
|
12
|
-
name: string;
|
|
13
|
-
writable: boolean;
|
|
14
|
-
}, unknown>>, z.ZodObject<{
|
|
15
|
-
bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17
|
-
creatable: z.ZodBoolean;
|
|
18
|
-
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
19
|
-
id: z.ZodInt;
|
|
20
|
-
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
-
isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
-
name: z.ZodString;
|
|
23
|
-
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
type: z.ZodString;
|
|
25
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
26
|
-
writable: z.ZodBoolean;
|
|
27
|
-
}, z.core.$strip>>;
|
|
28
|
-
type EntityTagDefinition = z.infer<typeof EntityTagSchemaDefinition>;
|
|
29
2
|
/**
|
|
30
3
|
* Canonical classification tag projection. Catalog/search responses describe registry tags; entity-classification responses include classificationId plus join state.
|
|
31
4
|
*
|
|
@@ -59,7 +32,31 @@ type EntityTagDefinition = z.infer<typeof EntityTagSchemaDefinition>;
|
|
|
59
32
|
* @contractShape entity.tag
|
|
60
33
|
* @contractRole canonical
|
|
61
34
|
*/
|
|
62
|
-
export declare const EntityTagSchema: z.ZodType<
|
|
35
|
+
export declare const EntityTagSchema: z.ZodIntersection<z.ZodType<{
|
|
36
|
+
creatable: boolean;
|
|
37
|
+
isCurrent?: boolean | null | undefined;
|
|
38
|
+
isPrimary?: boolean | null | undefined;
|
|
39
|
+
name: string;
|
|
40
|
+
writable: boolean;
|
|
41
|
+
}, import("../classification/classification.ts").ClassificationSchemaInput, z.core.$ZodTypeInternals<{
|
|
42
|
+
creatable: boolean;
|
|
43
|
+
isCurrent?: boolean | null | undefined;
|
|
44
|
+
isPrimary?: boolean | null | undefined;
|
|
45
|
+
name: string;
|
|
46
|
+
writable: boolean;
|
|
47
|
+
}, import("../classification/classification.ts").ClassificationSchemaInput>>, z.ZodObject<{
|
|
48
|
+
bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
50
|
+
creatable: z.ZodBoolean;
|
|
51
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
52
|
+
id: z.ZodInt;
|
|
53
|
+
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
54
|
+
isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
55
|
+
name: z.ZodString;
|
|
56
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
type: z.ZodString;
|
|
58
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
59
|
+
writable: z.ZodBoolean;
|
|
60
|
+
}, z.core.$strip>>;
|
|
63
61
|
export type EntityTag = z.infer<typeof EntityTagSchema>;
|
|
64
|
-
export {};
|
|
65
62
|
//# sourceMappingURL=tag.d.ts.map
|
package/dist/entity/tag.js
CHANGED
|
@@ -1,36 +1,6 @@
|
|
|
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
|
import { ClassificationSchema } from "../classification/classification.js";
|
|
4
|
-
const EntityTagSchemaDefinition = z.intersection(ClassificationSchema, z.object({
|
|
5
|
-
/** Canonical entity-classification bucket key. Use this as EntityClassificationMutation.type when creating by type plus name; `type` remains the registry wire value for tag search and catalog round-trips. */
|
|
6
|
-
bucket: z.string().nullish(),
|
|
7
|
-
/** Entity classification join row id for update/delete; present on entity classification responses and null on discovery responses. */
|
|
8
|
-
classificationId: z.int().nullish(),
|
|
9
|
-
/** Whether this bucket permits creating missing values by type plus name. */
|
|
10
|
-
creatable: z.boolean(),
|
|
11
|
-
/** Registry tag creation timestamp, not the entity join timestamp. */
|
|
12
|
-
createdAt: z.iso.datetime({ offset: true }).nullish(),
|
|
13
|
-
/** Classification tag registry id from res_type_ref; use as EntityClassificationMutation.tagId. */
|
|
14
|
-
id: z.int(),
|
|
15
|
-
/** Current-state flag for this context: registry active flag in discovery, entity join current flag in entity-classification responses. */
|
|
16
|
-
isCurrent: z.boolean().nullish(),
|
|
17
|
-
/** Entity join primary flag within its bucket; null on catalog/tag discovery. */
|
|
18
|
-
isPrimary: z.boolean().nullish(),
|
|
19
|
-
/** Name */
|
|
20
|
-
name: z.string().max(255),
|
|
21
|
-
/** Slug */
|
|
22
|
-
slug: z
|
|
23
|
-
.string()
|
|
24
|
-
.regex(/^[a-z0-9_-]+$/)
|
|
25
|
-
.max(255)
|
|
26
|
-
.nullish(),
|
|
27
|
-
/** Canonical tag classification type */
|
|
28
|
-
type: z.string(),
|
|
29
|
-
/** Registry tag update timestamp; join updates return isCurrent/isPrimary but no join updatedAt. */
|
|
30
|
-
updatedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
31
|
-
/** Whether this existing tag can be joined through tagId. */
|
|
32
|
-
writable: z.boolean(),
|
|
33
|
-
}));
|
|
34
4
|
/**
|
|
35
5
|
* Canonical classification tag projection. Catalog/search responses describe registry tags; entity-classification responses include classificationId plus join state.
|
|
36
6
|
*
|
|
@@ -64,5 +34,34 @@ const EntityTagSchemaDefinition = z.intersection(ClassificationSchema, z.object(
|
|
|
64
34
|
* @contractShape entity.tag
|
|
65
35
|
* @contractRole canonical
|
|
66
36
|
*/
|
|
67
|
-
export const EntityTagSchema =
|
|
37
|
+
export const EntityTagSchema = z.intersection(ClassificationSchema, z.object({
|
|
38
|
+
/** Canonical entity-classification bucket key. Use this as EntityClassificationMutation.type when creating by type plus name; `type` remains the registry wire value for tag search and catalog round-trips. */
|
|
39
|
+
bucket: z.string().nullish(),
|
|
40
|
+
/** Entity classification join row id for update/delete; present on entity classification responses and null on discovery responses. */
|
|
41
|
+
classificationId: z.int().nullish(),
|
|
42
|
+
/** Whether this bucket permits creating missing values by type plus name. */
|
|
43
|
+
creatable: z.boolean(),
|
|
44
|
+
/** Registry tag creation timestamp, not the entity join timestamp. */
|
|
45
|
+
createdAt: z.iso.datetime({ offset: true }).nullish(),
|
|
46
|
+
/** Classification tag registry id from res_type_ref; use as EntityClassificationMutation.tagId. */
|
|
47
|
+
id: z.int(),
|
|
48
|
+
/** Current-state flag for this context: registry active flag in discovery, entity join current flag in entity-classification responses. */
|
|
49
|
+
isCurrent: z.boolean().nullish(),
|
|
50
|
+
/** Entity join primary flag within its bucket; null on catalog/tag discovery. */
|
|
51
|
+
isPrimary: z.boolean().nullish(),
|
|
52
|
+
/** Name */
|
|
53
|
+
name: z.string().max(255),
|
|
54
|
+
/** Slug */
|
|
55
|
+
slug: z
|
|
56
|
+
.string()
|
|
57
|
+
.regex(/^[a-z0-9_-]+$/)
|
|
58
|
+
.max(255)
|
|
59
|
+
.nullish(),
|
|
60
|
+
/** Canonical tag classification type */
|
|
61
|
+
type: z.string(),
|
|
62
|
+
/** Registry tag update timestamp; join updates return isCurrent/isPrimary but no join updatedAt. */
|
|
63
|
+
updatedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
64
|
+
/** Whether this existing tag can be joined through tagId. */
|
|
65
|
+
writable: z.boolean(),
|
|
66
|
+
}));
|
|
68
67
|
//# sourceMappingURL=tag.js.map
|
|
@@ -5,6 +5,8 @@ declare const EntityTextBundleSchemaDefinition: z.ZodObject<{
|
|
|
5
5
|
short: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
type EntityTextBundleDefinition = z.infer<typeof EntityTextBundleSchemaDefinition>;
|
|
8
|
+
export interface EntityTextBundleSchemaInput extends z.input<typeof EntityTextBundleSchemaDefinition> {
|
|
9
|
+
}
|
|
8
10
|
/**
|
|
9
11
|
* Grouped entity/person text content
|
|
10
12
|
*
|
|
@@ -39,7 +41,7 @@ type EntityTextBundleDefinition = z.infer<typeof EntityTextBundleSchemaDefinitio
|
|
|
39
41
|
* @contractShape entity.text-bundle
|
|
40
42
|
* @contractRole canonical
|
|
41
43
|
*/
|
|
42
|
-
export declare const EntityTextBundleSchema: z.ZodType<EntityTextBundleDefinition>;
|
|
44
|
+
export declare const EntityTextBundleSchema: z.ZodType<EntityTextBundleDefinition, EntityTextBundleSchemaInput>;
|
|
43
45
|
export type EntityTextBundle = z.infer<typeof EntityTextBundleSchema>;
|
|
44
46
|
export {};
|
|
45
47
|
//# sourceMappingURL=text-bundle.d.ts.map
|
package/dist/entity/text.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ declare const EntityTextSchemaDefinition: z.ZodObject<{
|
|
|
21
21
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
type EntityTextDefinition = z.infer<typeof EntityTextSchemaDefinition>;
|
|
24
|
+
export interface EntityTextSchemaInput extends z.input<typeof EntityTextSchemaDefinition> {
|
|
25
|
+
}
|
|
24
26
|
/**
|
|
25
27
|
* Canonical entity/person text read record
|
|
26
28
|
*
|
|
@@ -33,7 +35,7 @@ type EntityTextDefinition = z.infer<typeof EntityTextSchemaDefinition>;
|
|
|
33
35
|
* @contractShape entity.text
|
|
34
36
|
* @contractRole canonical
|
|
35
37
|
*/
|
|
36
|
-
export declare const EntityTextSchema: z.ZodType<EntityTextDefinition>;
|
|
38
|
+
export declare const EntityTextSchema: z.ZodType<EntityTextDefinition, EntityTextSchemaInput>;
|
|
37
39
|
export type EntityText = z.infer<typeof EntityTextSchema>;
|
|
38
40
|
export {};
|
|
39
41
|
//# sourceMappingURL=text.d.ts.map
|
|
@@ -8,6 +8,8 @@ declare const EntityTypeAliasSchemaDefinition: z.ZodObject<{
|
|
|
8
8
|
publicPathPrefix: z.ZodString;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
type EntityTypeAliasDefinition = z.infer<typeof EntityTypeAliasSchemaDefinition>;
|
|
11
|
+
export interface EntityTypeAliasSchemaInput extends z.input<typeof EntityTypeAliasSchemaDefinition> {
|
|
12
|
+
}
|
|
11
13
|
/**
|
|
12
14
|
* Canonical EntityType value, accepted aliases, and public routing metadata.
|
|
13
15
|
*
|
|
@@ -16,7 +18,7 @@ type EntityTypeAliasDefinition = z.infer<typeof EntityTypeAliasSchemaDefinition>
|
|
|
16
18
|
* @contractShape entity.type-alias
|
|
17
19
|
* @contractRole canonical
|
|
18
20
|
*/
|
|
19
|
-
export declare const EntityTypeAliasSchema: z.ZodType<EntityTypeAliasDefinition>;
|
|
21
|
+
export declare const EntityTypeAliasSchema: z.ZodType<EntityTypeAliasDefinition, EntityTypeAliasSchemaInput>;
|
|
20
22
|
export type EntityTypeAlias = z.infer<typeof EntityTypeAliasSchema>;
|
|
21
23
|
export {};
|
|
22
24
|
//# sourceMappingURL=type-alias.d.ts.map
|
|
@@ -17,6 +17,8 @@ declare const EntityTypeGroupMembershipSchemaDefinition: z.ZodObject<{
|
|
|
17
17
|
}>>;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
type EntityTypeGroupMembershipDefinition = z.infer<typeof EntityTypeGroupMembershipSchemaDefinition>;
|
|
20
|
+
export interface EntityTypeGroupMembershipSchemaInput extends z.input<typeof EntityTypeGroupMembershipSchemaDefinition> {
|
|
21
|
+
}
|
|
20
22
|
/**
|
|
21
23
|
* Canonical concrete entity types included by one entity type group.
|
|
22
24
|
*
|
|
@@ -27,7 +29,7 @@ type EntityTypeGroupMembershipDefinition = z.infer<typeof EntityTypeGroupMembers
|
|
|
27
29
|
* @contractShape entity.type-group-membership
|
|
28
30
|
* @contractRole canonical
|
|
29
31
|
*/
|
|
30
|
-
export declare const EntityTypeGroupMembershipSchema: z.ZodType<EntityTypeGroupMembershipDefinition>;
|
|
32
|
+
export declare const EntityTypeGroupMembershipSchema: z.ZodType<EntityTypeGroupMembershipDefinition, EntityTypeGroupMembershipSchemaInput>;
|
|
31
33
|
export type EntityTypeGroupMembership = z.infer<typeof EntityTypeGroupMembershipSchema>;
|
|
32
34
|
export {};
|
|
33
35
|
//# sourceMappingURL=type-group-membership.d.ts.map
|
|
@@ -43,6 +43,8 @@ declare const EntityUrlLinkSchemaDefinition: z.ZodObject<{
|
|
|
43
43
|
urlType: z.ZodString;
|
|
44
44
|
}, z.core.$strip>;
|
|
45
45
|
type EntityUrlLinkDefinition = z.infer<typeof EntityUrlLinkSchemaDefinition>;
|
|
46
|
+
export interface EntityUrlLinkSchemaInput extends z.input<typeof EntityUrlLinkSchemaDefinition> {
|
|
47
|
+
}
|
|
46
48
|
/**
|
|
47
49
|
* Canonical URL link resource with owner, status, crawl, and source metadata. Lifecycle state (current vs former, primary vs secondary) is encoded by `isCurrent` and `isPrimary` — `urlType` is the canonical platform role only and write values come from GET /v1/url-types. Readers accept new platform roles as deployments evolve. To record a rebrand or domain migration, retain the prior URL with the same `urlType` (typically `website`) and set `isCurrent=false, isPrimary=false`; never encode lifecycle in the platform role.
|
|
48
50
|
*
|
|
@@ -88,7 +90,7 @@ type EntityUrlLinkDefinition = z.infer<typeof EntityUrlLinkSchemaDefinition>;
|
|
|
88
90
|
* @contractShape entity.url-link
|
|
89
91
|
* @contractRole canonical
|
|
90
92
|
*/
|
|
91
|
-
export declare const EntityUrlLinkSchema: z.ZodType<EntityUrlLinkDefinition>;
|
|
93
|
+
export declare const EntityUrlLinkSchema: z.ZodType<EntityUrlLinkDefinition, EntityUrlLinkSchemaInput>;
|
|
92
94
|
export type EntityUrlLink = z.infer<typeof EntityUrlLinkSchema>;
|
|
93
95
|
export {};
|
|
94
96
|
//# sourceMappingURL=url-link.d.ts.map
|
|
@@ -30,6 +30,8 @@ declare const EntityValuationTimeSeriesPointSchemaDefinition: z.ZodObject<{
|
|
|
30
30
|
valuationPreMoney: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
31
|
}, z.core.$strip>;
|
|
32
32
|
type EntityValuationTimeSeriesPointDefinition = z.infer<typeof EntityValuationTimeSeriesPointSchemaDefinition>;
|
|
33
|
+
export interface EntityValuationTimeSeriesPointSchemaInput extends z.input<typeof EntityValuationTimeSeriesPointSchemaDefinition> {
|
|
34
|
+
}
|
|
33
35
|
/**
|
|
34
36
|
* A single valuation datapoint. `valuationPostMoney` is the canonical charted value; filled when directly recorded or safely derivable from pre-money + amount raised (same currency only). `derivation` explains whether the value was stored or inferred. Only `researchDetail` points have a `detailId` and can be changed here; `fundraiseRound` points are changed through fundraise-round commands.
|
|
35
37
|
*
|
|
@@ -39,7 +41,7 @@ type EntityValuationTimeSeriesPointDefinition = z.infer<typeof EntityValuationTi
|
|
|
39
41
|
* @contractShape entity.valuation-time-series-point
|
|
40
42
|
* @contractRole canonical
|
|
41
43
|
*/
|
|
42
|
-
export declare const EntityValuationTimeSeriesPointSchema: z.ZodType<EntityValuationTimeSeriesPointDefinition>;
|
|
44
|
+
export declare const EntityValuationTimeSeriesPointSchema: z.ZodType<EntityValuationTimeSeriesPointDefinition, EntityValuationTimeSeriesPointSchemaInput>;
|
|
43
45
|
export type EntityValuationTimeSeriesPoint = z.infer<typeof EntityValuationTimeSeriesPointSchema>;
|
|
44
46
|
export {};
|
|
45
47
|
//# sourceMappingURL=valuation-time-series-point.d.ts.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
3
|
+
answerModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3
4
|
cacheMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
4
5
|
bypass: "bypass";
|
|
5
6
|
refresh: "refresh";
|
|
@@ -15,10 +16,10 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
15
16
|
employeeCountRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
16
17
|
max?: number | null | undefined;
|
|
17
18
|
min?: number | null | undefined;
|
|
18
|
-
},
|
|
19
|
+
}, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
19
20
|
max?: number | null | undefined;
|
|
20
21
|
min?: number | null | undefined;
|
|
21
|
-
},
|
|
22
|
+
}, import("../int/range.ts").IntRangeSchemaInput>>>>;
|
|
22
23
|
entityId: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
23
24
|
entityName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
25
|
featured: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -26,17 +27,17 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
26
27
|
amountInvestedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
27
28
|
max?: number | null | undefined;
|
|
28
29
|
min?: number | null | undefined;
|
|
29
|
-
},
|
|
30
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
30
31
|
max?: number | null | undefined;
|
|
31
32
|
min?: number | null | undefined;
|
|
32
|
-
},
|
|
33
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
33
34
|
amountRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
34
35
|
max?: number | null | undefined;
|
|
35
36
|
min?: number | null | undefined;
|
|
36
|
-
},
|
|
37
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
37
38
|
max?: number | null | undefined;
|
|
38
39
|
min?: number | null | undefined;
|
|
39
|
-
},
|
|
40
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
40
41
|
dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
42
|
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
42
43
|
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -49,63 +50,63 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
49
50
|
averageAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
50
51
|
max?: number | null | undefined;
|
|
51
52
|
min?: number | null | undefined;
|
|
52
|
-
},
|
|
53
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
53
54
|
max?: number | null | undefined;
|
|
54
55
|
min?: number | null | undefined;
|
|
55
|
-
},
|
|
56
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
56
57
|
largestAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
57
58
|
max?: number | null | undefined;
|
|
58
59
|
min?: number | null | undefined;
|
|
59
|
-
},
|
|
60
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
60
61
|
max?: number | null | undefined;
|
|
61
62
|
min?: number | null | undefined;
|
|
62
|
-
},
|
|
63
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
63
64
|
smallestAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
64
65
|
max?: number | null | undefined;
|
|
65
66
|
min?: number | null | undefined;
|
|
66
|
-
},
|
|
67
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
67
68
|
max?: number | null | undefined;
|
|
68
69
|
min?: number | null | undefined;
|
|
69
|
-
},
|
|
70
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
70
71
|
totalAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
71
72
|
max?: number | null | undefined;
|
|
72
73
|
min?: number | null | undefined;
|
|
73
|
-
},
|
|
74
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
74
75
|
max?: number | null | undefined;
|
|
75
76
|
min?: number | null | undefined;
|
|
76
|
-
},
|
|
77
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
77
78
|
totalInvestmentRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
78
79
|
max?: number | null | undefined;
|
|
79
80
|
min?: number | null | undefined;
|
|
80
|
-
},
|
|
81
|
+
}, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
81
82
|
max?: number | null | undefined;
|
|
82
83
|
min?: number | null | undefined;
|
|
83
|
-
},
|
|
84
|
+
}, import("../int/range.ts").IntRangeSchemaInput>>>>;
|
|
84
85
|
}, z.core.$strip>>;
|
|
85
86
|
investorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
86
87
|
lastRoundYearRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
87
88
|
max?: number | null | undefined;
|
|
88
89
|
min?: number | null | undefined;
|
|
89
|
-
},
|
|
90
|
+
}, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
90
91
|
max?: number | null | undefined;
|
|
91
92
|
min?: number | null | undefined;
|
|
92
|
-
},
|
|
93
|
+
}, import("../int/range.ts").IntRangeSchemaInput>>>>;
|
|
93
94
|
rankByInvestmentActivity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
94
95
|
round: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
95
96
|
totalRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
96
97
|
max?: number | null | undefined;
|
|
97
98
|
min?: number | null | undefined;
|
|
98
|
-
},
|
|
99
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
99
100
|
max?: number | null | undefined;
|
|
100
101
|
min?: number | null | undefined;
|
|
101
|
-
},
|
|
102
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
102
103
|
valuationRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
103
104
|
max?: number | null | undefined;
|
|
104
105
|
min?: number | null | undefined;
|
|
105
|
-
},
|
|
106
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
106
107
|
max?: number | null | undefined;
|
|
107
108
|
min?: number | null | undefined;
|
|
108
|
-
},
|
|
109
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
109
110
|
}, z.core.$strip>>;
|
|
110
111
|
hasFundraising: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
111
112
|
headquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -173,10 +174,10 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
173
174
|
yearFoundedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
174
175
|
max?: number | null | undefined;
|
|
175
176
|
min?: number | null | undefined;
|
|
176
|
-
},
|
|
177
|
+
}, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
177
178
|
max?: number | null | undefined;
|
|
178
179
|
min?: number | null | undefined;
|
|
179
|
-
},
|
|
180
|
+
}, import("../int/range.ts").IntRangeSchemaInput>>>>;
|
|
180
181
|
}, z.core.$strict>>;
|
|
181
182
|
mode: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
182
183
|
auto: "auto";
|
|
@@ -200,6 +201,8 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
200
201
|
}>, z.ZodString]>>>;
|
|
201
202
|
}, z.core.$strip>;
|
|
202
203
|
type FederatedNaturalSearchDefinition = z.infer<typeof FederatedNaturalSearchSchemaDefinition>;
|
|
204
|
+
export interface FederatedNaturalSearchSchemaInput extends z.input<typeof FederatedNaturalSearchSchemaDefinition> {
|
|
205
|
+
}
|
|
203
206
|
/**
|
|
204
207
|
* Plain-English search across companies, people, and news, plus optional per-scope entity constraints and page sizes.
|
|
205
208
|
*
|
|
@@ -208,7 +211,7 @@ type FederatedNaturalSearchDefinition = z.infer<typeof FederatedNaturalSearchSch
|
|
|
208
211
|
* @contractShape federated.natural-search
|
|
209
212
|
* @contractRole canonical
|
|
210
213
|
*/
|
|
211
|
-
export declare const FederatedNaturalSearchSchema: z.ZodType<FederatedNaturalSearchDefinition>;
|
|
214
|
+
export declare const FederatedNaturalSearchSchema: z.ZodType<FederatedNaturalSearchDefinition, FederatedNaturalSearchSchemaInput>;
|
|
212
215
|
export type FederatedNaturalSearch = z.infer<typeof FederatedNaturalSearchSchema>;
|
|
213
216
|
export {};
|
|
214
217
|
//# sourceMappingURL=natural-search.d.ts.map
|
|
@@ -5,7 +5,9 @@ import { ReasoningEffortSchema } from "../reasoning/effort.js";
|
|
|
5
5
|
import { SearchCacheModeSchema } from "../search/cache-mode.js";
|
|
6
6
|
import { SearchModeSchema } from "../search/mode.js";
|
|
7
7
|
const FederatedNaturalSearchSchemaDefinition = z.object({
|
|
8
|
-
/**
|
|
8
|
+
/** Optional chat model for the synthesis answer; null uses the catalog's search answer model. The same allowlist as `model` applies. The answer writes the page heading, title, and description, so this compares answer models without changing the catalog. */
|
|
9
|
+
answerModel: z.string().nullish(),
|
|
10
|
+
/** Search-stage cache policy. use reuses cached search work; bypass computes fresh without retaining outputs; refresh computes fresh and replaces normal entries. Record and immutable query-vector caches retain their own policy. Callers without private-data access always run use. */
|
|
9
11
|
cacheMode: SearchCacheModeSchema.default("use").optional(),
|
|
10
12
|
/** Explicit entity constraints for the entity scope only, as on POST /v1/search/natural/entities: caller-supplied fields override planner values. The person and news scopes ignore it. */
|
|
11
13
|
entityFilter: EntityFilterSchema.optional(),
|
|
@@ -4,33 +4,33 @@ declare const FederatedSearchProvenanceSchemaDefinition: z.ZodObject<{
|
|
|
4
4
|
entity: z.ZodType<{
|
|
5
5
|
modeRequested: string;
|
|
6
6
|
modeUsed: string;
|
|
7
|
-
},
|
|
7
|
+
}, import("../search/mode-execution.ts").SearchModeExecutionSchemaInput, z.core.$ZodTypeInternals<{
|
|
8
8
|
modeRequested: string;
|
|
9
9
|
modeUsed: string;
|
|
10
|
-
},
|
|
10
|
+
}, import("../search/mode-execution.ts").SearchModeExecutionSchemaInput>>;
|
|
11
11
|
news: z.ZodType<{
|
|
12
12
|
modeRequested: string;
|
|
13
13
|
modeUsed: string;
|
|
14
|
-
},
|
|
14
|
+
}, import("../search/mode-execution.ts").SearchModeExecutionSchemaInput, z.core.$ZodTypeInternals<{
|
|
15
15
|
modeRequested: string;
|
|
16
16
|
modeUsed: string;
|
|
17
|
-
},
|
|
17
|
+
}, import("../search/mode-execution.ts").SearchModeExecutionSchemaInput>>;
|
|
18
18
|
person: z.ZodType<{
|
|
19
19
|
modeRequested: string;
|
|
20
20
|
modeUsed: string;
|
|
21
|
-
},
|
|
21
|
+
}, import("../search/mode-execution.ts").SearchModeExecutionSchemaInput, z.core.$ZodTypeInternals<{
|
|
22
22
|
modeRequested: string;
|
|
23
23
|
modeUsed: string;
|
|
24
|
-
},
|
|
24
|
+
}, import("../search/mode-execution.ts").SearchModeExecutionSchemaInput>>;
|
|
25
25
|
rejection: z.ZodArray<z.ZodType<{
|
|
26
26
|
detail: string;
|
|
27
27
|
field?: string | null | undefined;
|
|
28
28
|
scope: "entity" | "news" | "person";
|
|
29
|
-
},
|
|
29
|
+
}, import("./search-rejection.ts").FederatedSearchRejectionSchemaInput, z.core.$ZodTypeInternals<{
|
|
30
30
|
detail: string;
|
|
31
31
|
field?: string | null | undefined;
|
|
32
32
|
scope: "entity" | "news" | "person";
|
|
33
|
-
},
|
|
33
|
+
}, import("./search-rejection.ts").FederatedSearchRejectionSchemaInput>>>;
|
|
34
34
|
unavailable: z.ZodArray<z.ZodEnum<{
|
|
35
35
|
entity: "entity";
|
|
36
36
|
news: "news";
|
|
@@ -38,6 +38,8 @@ declare const FederatedSearchProvenanceSchemaDefinition: z.ZodObject<{
|
|
|
38
38
|
}>>;
|
|
39
39
|
}, z.core.$strip>;
|
|
40
40
|
type FederatedSearchProvenanceDefinition = z.infer<typeof FederatedSearchProvenanceSchemaDefinition>;
|
|
41
|
+
export interface FederatedSearchProvenanceSchemaInput extends z.input<typeof FederatedSearchProvenanceSchemaDefinition> {
|
|
42
|
+
}
|
|
41
43
|
/**
|
|
42
44
|
* Requested and executed search strategy for every federated scope.
|
|
43
45
|
*
|
|
@@ -52,7 +54,7 @@ type FederatedSearchProvenanceDefinition = z.infer<typeof FederatedSearchProvena
|
|
|
52
54
|
* @contractShape federated.search-provenance
|
|
53
55
|
* @contractRole canonical
|
|
54
56
|
*/
|
|
55
|
-
export declare const FederatedSearchProvenanceSchema: z.ZodType<FederatedSearchProvenanceDefinition>;
|
|
57
|
+
export declare const FederatedSearchProvenanceSchema: z.ZodType<FederatedSearchProvenanceDefinition, FederatedSearchProvenanceSchemaInput>;
|
|
56
58
|
export type FederatedSearchProvenance = z.infer<typeof FederatedSearchProvenanceSchema>;
|
|
57
59
|
export {};
|
|
58
60
|
//# sourceMappingURL=search-provenance.d.ts.map
|
|
@@ -9,6 +9,8 @@ declare const FederatedSearchRejectionSchemaDefinition: z.ZodObject<{
|
|
|
9
9
|
}>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
type FederatedSearchRejectionDefinition = z.infer<typeof FederatedSearchRejectionSchemaDefinition>;
|
|
12
|
+
export interface FederatedSearchRejectionSchemaInput extends z.input<typeof FederatedSearchRejectionSchemaDefinition> {
|
|
13
|
+
}
|
|
12
14
|
/**
|
|
13
15
|
* One federated scope that rejected the query instead of searching.
|
|
14
16
|
*
|
|
@@ -23,7 +25,7 @@ type FederatedSearchRejectionDefinition = z.infer<typeof FederatedSearchRejectio
|
|
|
23
25
|
* @contractShape federated.search-rejection
|
|
24
26
|
* @contractRole canonical
|
|
25
27
|
*/
|
|
26
|
-
export declare const FederatedSearchRejectionSchema: z.ZodType<FederatedSearchRejectionDefinition>;
|
|
28
|
+
export declare const FederatedSearchRejectionSchema: z.ZodType<FederatedSearchRejectionDefinition, FederatedSearchRejectionSchemaInput>;
|
|
27
29
|
export type FederatedSearchRejection = z.infer<typeof FederatedSearchRejectionSchema>;
|
|
28
30
|
export {};
|
|
29
31
|
//# sourceMappingURL=search-rejection.d.ts.map
|