@aventurevc/api-schemas 0.8.0 → 0.8.1

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.
Files changed (40) hide show
  1. package/dist/billing/catalog.d.ts +1 -1
  2. package/dist/billing/catalog.js +1 -1
  3. package/dist/entity/fundraise-filter-criteria.js +5 -0
  4. package/dist/entity/person-owner.js +2 -2
  5. package/dist/harness/chassis.d.ts +17 -0
  6. package/dist/harness/chassis.js +14 -0
  7. package/dist/harness/llm-api.d.ts +18 -0
  8. package/dist/harness/llm-api.js +14 -0
  9. package/dist/harness/run.d.ts +10 -0
  10. package/dist/harness/run.js +8 -0
  11. package/dist/http/problem-detail.js +3 -3
  12. package/dist/identification/candidate.d.ts +6 -0
  13. package/dist/identification/candidate.js +5 -1
  14. package/dist/identification/identification.d.ts +20 -0
  15. package/dist/identification/identification.js +4 -0
  16. package/dist/investor/activity-filter.js +5 -0
  17. package/dist/news/param.d.ts +3 -1
  18. package/dist/news/param.js +5 -3
  19. package/dist/openapi-component-manifest.js +2 -12
  20. package/dist/pageable/object.d.ts +0 -2
  21. package/dist/pageable/object.js +0 -2
  22. package/dist/pagination/schemas.d.ts +0 -52
  23. package/dist/pagination/schemas.js +0 -22
  24. package/dist/sort/object.d.ts +0 -2
  25. package/dist/sort/object.js +0 -2
  26. package/dist/system/status.d.ts +1 -1
  27. package/dist/system/status.js +2 -2
  28. package/dist/uptime/uptime.d.ts +1 -1
  29. package/dist/uptime/uptime.js +1 -1
  30. package/package.json +1 -1
  31. package/dist/search/hit.d.ts +0 -21
  32. package/dist/search/hit.js +0 -19
  33. package/dist/search/search.d.ts +0 -24
  34. package/dist/search/search.js +0 -29
  35. package/dist/source/document-list.d.ts +0 -31
  36. package/dist/source/document-list.js +0 -31
  37. package/dist/url/slug-redirect.d.ts +0 -23
  38. package/dist/url/slug-redirect.js +0 -27
  39. package/dist/web/search.d.ts +0 -75
  40. package/dist/web/search.js +0 -23
@@ -50,7 +50,7 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
50
50
  }, z.core.$strip>;
51
51
  type BillingCatalogDefinition = z.infer<typeof BillingCatalogSchemaDefinition>;
52
52
  /**
53
- * Every self-serve subscription tier with its monthly allowance caps, every plan Checkout sells, and the prices of usage past those caps. The operator-only Unlimited tier is omitted.
53
+ * Every self-serve subscription tier with its monthly allowance caps, every plan Checkout sells, and the prices of usage past those caps. The Unlimited tier is not sold through Checkout and is omitted.
54
54
  *
55
55
  * @openapiSchema BillingCatalog
56
56
  * @endpoint GET /v1/billing/plans
@@ -13,7 +13,7 @@ const BillingCatalogSchemaDefinition = z.object({
13
13
  tier: z.array(BillingCatalogTierSchema),
14
14
  });
15
15
  /**
16
- * Every self-serve subscription tier with its monthly allowance caps, every plan Checkout sells, and the prices of usage past those caps. The operator-only Unlimited tier is omitted.
16
+ * Every self-serve subscription tier with its monthly allowance caps, every plan Checkout sells, and the prices of usage past those caps. The Unlimited tier is not sold through Checkout and is omitted.
17
17
  *
18
18
  * @openapiSchema BillingCatalog
19
19
  * @endpoint GET /v1/billing/plans
@@ -21,16 +21,21 @@ import { InvestorActivityFilterSchema } from "../investor/activity-filter.js";
21
21
  * @contractRole canonical
22
22
  */
23
23
  export const EntityFundraiseFilterCriteriaSchema = z.object({
24
+ /** Investor-level amount-invested ranges in the transaction currency. Use plain JSON numbers. */
24
25
  amountInvestedRange: z.array(DecimalRangeSchema).optional(),
26
+ /** Per-round amount-raised ranges in USD. Use plain JSON numbers. */
25
27
  amountRaisedRange: z.array(DecimalRangeSchema).optional(),
26
28
  /** Portfolio company names. Exact, case-sensitive match on the portfolio company's brand or legal name; restricts returned entities to investors in those companies. */
27
29
  investedCompanyName: z.array(z.string()).optional(),
28
30
  /** Aggregate investor activity filters. */
29
31
  investorActivity: InvestorActivityFilterSchema.optional(),
32
+ /** Last-round-year ranges for each entity's most recent fundraise round. */
30
33
  lastRoundYearRange: z.array(IntRangeSchema).optional(),
31
34
  /** Fundraise round labels, such as Seed or Series A. */
32
35
  round: z.array(z.string()).optional(),
36
+ /** Total-raised ranges across all rounds in USD. Use plain JSON numbers. */
33
37
  totalRaisedRange: z.array(DecimalRangeSchema).optional(),
38
+ /** Post-money valuation ranges in USD. */
34
39
  valuationRange: z.array(DecimalRangeSchema).optional(),
35
40
  });
36
41
  //# sourceMappingURL=fundraise-filter-criteria.js.map
@@ -18,9 +18,9 @@ import { z } from "zod/v4";
18
18
  * @contractRole canonical
19
19
  */
20
20
  export const EntityPersonOwnerSchema = z.object({
21
- /** Canonical entity UUID */
21
+ /** Owning entity id; set only when personId is absent. */
22
22
  entityId: z.uuid().nullish(),
23
- /** Canonical person UUID */
23
+ /** Owning person id; set only when entityId is absent. */
24
24
  personId: z.uuid().nullish(),
25
25
  });
26
26
  //# sourceMappingURL=person-owner.js.map
@@ -0,0 +1,17 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Agent loop a harness run executes on: the Claude Agent SDK or the Pi agent SDK
4
+ *
5
+ * @openapiSchema HarnessChassis
6
+ * @endpoint POST /v1/entities/{entityId}/enrichments
7
+ * @endpoint POST /v1/people/{personId}/enrichments
8
+ * @usedBySchema HarnessRunSchema
9
+ * @contractShape harness.chassis
10
+ * @contractRole canonical
11
+ */
12
+ export declare const HarnessChassisSchema: z.ZodEnum<{
13
+ "claude-agent-sdk": "claude-agent-sdk";
14
+ "pi-agent-sdk": "pi-agent-sdk";
15
+ }>;
16
+ export type HarnessChassis = z.infer<typeof HarnessChassisSchema>;
17
+ //# sourceMappingURL=chassis.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
+ * Agent loop a harness run executes on: the Claude Agent SDK or the Pi agent SDK
5
+ *
6
+ * @openapiSchema HarnessChassis
7
+ * @endpoint POST /v1/entities/{entityId}/enrichments
8
+ * @endpoint POST /v1/people/{personId}/enrichments
9
+ * @usedBySchema HarnessRunSchema
10
+ * @contractShape harness.chassis
11
+ * @contractRole canonical
12
+ */
13
+ export const HarnessChassisSchema = z.enum(["claude-agent-sdk", "pi-agent-sdk"]);
14
+ //# sourceMappingURL=chassis.js.map
@@ -0,0 +1,18 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Gateway wire API for a run's LLM calls: Anthropic Messages, OpenAI Chat Completions, or OpenAI Responses
4
+ *
5
+ * @openapiSchema HarnessLlmApi
6
+ * @endpoint POST /v1/entities/{entityId}/enrichments
7
+ * @endpoint POST /v1/people/{personId}/enrichments
8
+ * @usedBySchema HarnessRunSchema
9
+ * @contractShape harness.llm-api
10
+ * @contractRole canonical
11
+ */
12
+ export declare const HarnessLlmApiSchema: z.ZodEnum<{
13
+ anthropic: "anthropic";
14
+ "openai-chat": "openai-chat";
15
+ "openai-responses": "openai-responses";
16
+ }>;
17
+ export type HarnessLlmApi = z.infer<typeof HarnessLlmApiSchema>;
18
+ //# sourceMappingURL=llm-api.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
+ * Gateway wire API for a run's LLM calls: Anthropic Messages, OpenAI Chat Completions, or OpenAI Responses
5
+ *
6
+ * @openapiSchema HarnessLlmApi
7
+ * @endpoint POST /v1/entities/{entityId}/enrichments
8
+ * @endpoint POST /v1/people/{personId}/enrichments
9
+ * @usedBySchema HarnessRunSchema
10
+ * @contractShape harness.llm-api
11
+ * @contractRole canonical
12
+ */
13
+ export const HarnessLlmApiSchema = z.enum(["anthropic", "openai-chat", "openai-responses"]);
14
+ //# sourceMappingURL=llm-api.js.map
@@ -1,6 +1,11 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const HarnessRunSchemaDefinition: z.ZodObject<{
3
3
  attempt: z.ZodInt;
4
+ chassis: z.ZodEnum<{
5
+ "claude-agent-sdk": "claude-agent-sdk";
6
+ "pi-agent-sdk": "pi-agent-sdk";
7
+ }>;
8
+ chassisRouted: z.ZodBoolean;
4
9
  createdAt: z.ZodISODateTime;
5
10
  entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
11
  environment: z.ZodEnum<{
@@ -20,6 +25,11 @@ declare const HarnessRunSchemaDefinition: z.ZodObject<{
20
25
  interactive: "interactive";
21
26
  }>;
22
27
  latestStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ llmApi: z.ZodEnum<{
29
+ anthropic: "anthropic";
30
+ "openai-chat": "openai-chat";
31
+ "openai-responses": "openai-responses";
32
+ }>;
23
33
  maxIteration: z.ZodInt;
24
34
  maxScoutConcurrent: z.ZodInt;
25
35
  mode: z.ZodEnum<{
@@ -1,6 +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
3
  import { EnrichmentModeSchema } from "../enrichment/mode.js";
4
+ import { HarnessChassisSchema } from "./chassis.js";
5
+ import { HarnessLlmApiSchema } from "./llm-api.js";
4
6
  import { HarnessRunEnvironmentSchema } from "./run-environment.js";
5
7
  import { HarnessRunLaneSchema } from "./run-lane.js";
6
8
  import { HarnessRunStatusSchema } from "./run-status.js";
@@ -8,6 +10,10 @@ import { HarnessRunTypeSchema } from "./run-type.js";
8
10
  const HarnessRunSchemaDefinition = z.object({
9
11
  /** Retry attempt counter */
10
12
  attempt: z.int(),
13
+ /** Agent loop this run executes on */
14
+ chassis: HarnessChassisSchema,
15
+ /** True when the chassis router, not a caller, picked `chassis` */
16
+ chassisRouted: z.boolean(),
11
17
  /** Creation timestamp */
12
18
  createdAt: z.iso.datetime({ offset: true }),
13
19
  /** Canonical slug of the entity the run produced */
@@ -30,6 +36,8 @@ const HarnessRunSchemaDefinition = z.object({
30
36
  lane: HarnessRunLaneSchema,
31
37
  /** Latest enrich-loop status as an opaque JSON string */
32
38
  latestStatus: z.string().nullish(),
39
+ /** Gateway wire API every LLM call of this run uses */
40
+ llmApi: HarnessLlmApiSchema,
33
41
  /** Loop iteration cap */
34
42
  maxIteration: z.int(),
35
43
  /** Parallel read-only scout fan-out width N */
@@ -36,9 +36,9 @@ const ProblemDetailSchemaDefinition = z.object({
36
36
  "origin_detail_capacity",
37
37
  /** Detail-origin cold-miss scheduler rejected work because this instance is shutting down for a redeploy. Agent action: retry shortly; the platform routes the retry to a healthy instance. This is deploy-window noise, not a capacity defect — do not treat it as backend saturation. */
38
38
  "origin_detail_shutdown",
39
- /** Request prose looks shell-mangled around a money phrase: either shell expansion stripped a leading dollar sign ('50 million' where '$50 million' was meant) or an escape character survived into the text ('\$50 million', standalone '/$50 million'). Agent action: write '$' literally and re-run with JSON body input via --from-file or stdin, or ANSI-C $'...' quoting; use allowSuspectedShellStrip only when the value is intentional. */
39
+ /** Request prose looks shell-mangled around a money phrase: either shell expansion stripped a leading dollar sign ('50 million' where '$50 million' was meant) or an escape character survived into the text ('\$50 million', standalone '/$50 million'). Agent action: write '$' literally and re-send the JSON body from a file or stdin, or quote it so the shell does not expand '$'; use allowSuspectedShellStrip only when the value is intentional. */
40
40
  "suspectedShellStrip",
41
- /** Request prose looks shell-mangled around a money phrase: either shell expansion stripped a leading dollar sign ('50 million' where '$50 million' was meant) or an escape character survived into the text ('\$50 million', standalone '/$50 million'). Agent action: write '$' literally and re-run with JSON body input via --from-file or stdin, or ANSI-C $'...' quoting; use allowSuspectedShellStrip only when the value is intentional. */
41
+ /** Request prose looks shell-mangled around a money phrase: either shell expansion stripped a leading dollar sign ('50 million' where '$50 million' was meant) or an escape character survived into the text ('\$50 million', standalone '/$50 million'). Agent action: write '$' literally and re-send the JSON body from a file or stdin, or quote it so the shell does not expand '$'; use allowSuspectedShellStrip only when the value is intentional. */
42
42
  "suspected_shell_strip",
43
43
  /** A URL was submitted to the wrong write surface. Agent action: move the URL to the specific surface named by ProblemDetail.hint/resolution, for example EntityUrl.urlType=ycombinator via entities urls create instead of News.newsUrlOriginal. */
44
44
  "url_surface_misclassification",
@@ -96,7 +96,7 @@ const ProblemDetailSchemaDefinition = z.object({
96
96
  "source_document_capture_limit_exceeded",
97
97
  /** News similarity cannot run because the target embedding is unavailable or live similarity capacity is full. Agent action: surface the 503 and retry later; this endpoint does not fall back to lexical ranking. */
98
98
  "news_similarity_embedding_unavailable",
99
- /** Search provider (e.g., SerpAPI) is not configured for this environment. Agent action: stop; admin/ops must configure the provider key before this endpoint will succeed. */
99
+ /** The web search provider is not configured for this environment. Agent action: stop; admin/ops must configure the provider key before this endpoint will succeed. */
100
100
  "search_provider_not_configured",
101
101
  /** Search provider call failed. Agent action: surface; provider outages affect search endpoints only. */
102
102
  "search_provider_error",
@@ -11,6 +11,12 @@ import { z } from "zod/v4";
11
11
  * @contractRole canonical
12
12
  */
13
13
  export declare const IdentificationCandidateSchema: z.ZodObject<{
14
+ duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
15
+ JUDGED: "JUDGED";
16
+ SHARED_FACT: "SHARED_FACT";
17
+ STUB: "STUB";
18
+ }>>>;
19
+ duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
20
  owner: z.ZodObject<{
15
21
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
16
22
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -14,7 +14,11 @@ import { SearchDuplicateCandidateScoreSchema } from "../search/duplicate-candida
14
14
  * @contractRole canonical
15
15
  */
16
16
  export const IdentificationCandidateSchema = z.object({
17
- /** Whether the record is a company (entityId) or a person (personId); read it with entities get --entity-id or people get --person-id. */
17
+ /** How this record was checked as the picked record stored again; absent when it was not checked. */
18
+ duplicateBasis: z.enum(["STUB", "SHARED_FACT", "JUDGED"]).nullish(),
19
+ /** Decision-model probability, 0 to 1, that this record is the picked record stored again; present only when duplicateBasis is JUDGED. */
20
+ duplicateProbability: z.number().nullish(),
21
+ /** Whether the record is a company (entityId) or a person (personId); read it with GET /v1/entities/{entityId} or GET /v1/people/{personId}. */
18
22
  owner: EntityPersonOwnerSchema,
19
23
  /** Decision-model probability, 0 to 1, that this record is the subject; absent when the answer came from URL proof or the model did not judge this record. */
20
24
  probability: z.number().nullish(),
@@ -1,6 +1,12 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const IdentificationSchemaDefinition: z.ZodObject<{
3
3
  candidate: z.ZodArray<z.ZodObject<{
4
+ duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5
+ JUDGED: "JUDGED";
6
+ SHARED_FACT: "SHARED_FACT";
7
+ STUB: "STUB";
8
+ }>>>;
9
+ duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4
10
  owner: z.ZodObject<{
5
11
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
6
12
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -30,6 +36,12 @@ declare const IdentificationSchemaDefinition: z.ZodObject<{
30
36
  }, z.core.$strip>>;
31
37
  detail: z.ZodString;
32
38
  duplicate: z.ZodArray<z.ZodObject<{
39
+ duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
40
+ JUDGED: "JUDGED";
41
+ SHARED_FACT: "SHARED_FACT";
42
+ STUB: "STUB";
43
+ }>>>;
44
+ duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
45
  owner: z.ZodObject<{
34
46
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
35
47
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -58,6 +70,12 @@ declare const IdentificationSchemaDefinition: z.ZodObject<{
58
70
  }, unknown>>;
59
71
  }, z.core.$strip>>;
60
72
  match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
73
+ duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
74
+ JUDGED: "JUDGED";
75
+ SHARED_FACT: "SHARED_FACT";
76
+ STUB: "STUB";
77
+ }>>>;
78
+ duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
61
79
  owner: z.ZodObject<{
62
80
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
63
81
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -85,6 +103,8 @@ declare const IdentificationSchemaDefinition: z.ZodObject<{
85
103
  typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
86
104
  }, unknown>>;
87
105
  }, z.core.$strip>>>;
106
+ matchConfidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
107
+ matchEvidenceProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
88
108
  officialUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
109
  stage: z.ZodEnum<{
90
110
  DETERMINISTIC: "DETERMINISTIC";
@@ -10,6 +10,10 @@ const IdentificationSchemaDefinition = z.object({
10
10
  duplicate: z.array(IdentificationCandidateSchema),
11
11
  /** The matched record when status is MATCHED. */
12
12
  match: IdentificationCandidateSchema.nullish(),
13
+ /** Decision-model confidence, 0 to 1, in its pick: the candidate it named as the subject, or, when it picked none, that no candidate is. Present whenever a judgment ran, including a none pick; absent when no judgment ran. The kind-agnostic lookup reports the side whose answer it returns. */
14
+ matchConfidence: z.number().nullish(),
15
+ /** Decision-model probability, 0 to 1, that the evidence can tell the subject apart from namesakes. Absent when no judgment ran. The kind-agnostic lookup reports the side whose answer it returns. */
16
+ matchEvidenceProbability: z.number().nullish(),
13
17
  /** The subject's own website or profile page found in web search. Use it as the website when creating the record only if it is the subject's own domain, not a LinkedIn, Crunchbase, or other profile page. */
14
18
  officialUrl: z.string().nullish(),
15
19
  /** The ladder step that settled the answer. */
@@ -23,10 +23,15 @@ import { IntRangeSchema } from "../int/range.js";
23
23
  * @contractRole canonical
24
24
  */
25
25
  export const InvestorActivityFilterSchema = z.object({
26
+ /** Average USD amount-invested ranges with inclusive bounds. */
26
27
  averageAmountInvestedUsdRange: z.array(DecimalRangeSchema).optional(),
28
+ /** Largest USD amount-invested ranges with inclusive bounds. */
27
29
  largestAmountInvestedUsdRange: z.array(DecimalRangeSchema).optional(),
30
+ /** Smallest USD amount-invested ranges with inclusive bounds. */
28
31
  smallestAmountInvestedUsdRange: z.array(DecimalRangeSchema).optional(),
32
+ /** Total USD amount-invested ranges with inclusive bounds. */
29
33
  totalAmountInvestedUsdRange: z.array(DecimalRangeSchema).optional(),
34
+ /** Distinct fundraise-deal count ranges for an investor, with inclusive integer bounds. */
30
35
  totalInvestmentRange: z.array(IntRangeSchema).optional(),
31
36
  });
32
37
  //# sourceMappingURL=activity-filter.js.map
@@ -18,7 +18,9 @@ export declare const NewsParamSchema: z.ZodObject<{
18
18
  cursor: z.ZodOptional<z.ZodString>;
19
19
  excludeId: z.ZodOptional<z.ZodInt>;
20
20
  letter: z.ZodOptional<z.ZodString>;
21
- mode: z.ZodOptional<z.ZodString>;
21
+ mode: z.ZodOptional<z.ZodEnum<{
22
+ thin: "thin";
23
+ }>>;
22
24
  "owner.entityId": z.ZodOptional<z.ZodUUID>;
23
25
  "owner.personId": z.ZodOptional<z.ZodUUID>;
24
26
  publishedAfter: z.ZodOptional<z.ZodISODate>;
@@ -20,11 +20,13 @@ export const NewsParamSchema = PageParamSchema.extend({
20
20
  cursor: z.string().optional(),
21
21
  /** Exclude one news article by id. */
22
22
  excludeId: z.int().optional(),
23
- /** Deprecated author-initial alias; use authorInitial. */
23
+ /** Deprecated: use the author-initial filter. */
24
24
  letter: z.string().optional(),
25
- /** Response mode; use thin for cursor-paginated index reads. */
26
- mode: z.string().optional(),
25
+ /** Response mode: thin returns cursor-paginated index rows; omit for the standard list. */
26
+ mode: z.enum(["thin"]).optional(),
27
+ /** Owning entity id; set only when personId is absent. */
27
28
  "owner.entityId": z.uuid().optional(),
29
+ /** Owning person id; set only when entityId is absent. */
28
30
  "owner.personId": z.uuid().optional(),
29
31
  /** Earliest publication date, inclusive. */
30
32
  publishedAfter: z.iso.date().optional(),
@@ -479,6 +479,8 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
479
479
  schemaName: "FundraiseTransactionStatusSchema",
480
480
  },
481
481
  GithubRepo: { modulePath: "github/repo", schemaName: "GithubRepoSchema" },
482
+ HarnessChassis: { modulePath: "harness/chassis", schemaName: "HarnessChassisSchema" },
483
+ HarnessLlmApi: { modulePath: "harness/llm-api", schemaName: "HarnessLlmApiSchema" },
482
484
  HarnessRun: { modulePath: "harness/run", schemaName: "HarnessRunSchema" },
483
485
  HarnessRunEnvironment: {
484
486
  modulePath: "harness/run-environment",
@@ -651,10 +653,6 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
651
653
  schemaName: "PageSitemapUrlSlotSchema",
652
654
  },
653
655
  PageUniqueId: { modulePath: "pagination/schemas", schemaName: "PageUniqueIdSchema" },
654
- PageUrlSlugRedirect: {
655
- modulePath: "pagination/schemas",
656
- schemaName: "PageUrlSlugRedirectSchema",
657
- },
658
656
  Person: { modulePath: "person/person", schemaName: "PersonSchema" },
659
657
  PersonAliasType: { modulePath: "person/alias-type", schemaName: "PersonAliasTypeSchema" },
660
658
  PersonDetail: { modulePath: "person/detail", schemaName: "PersonDetailSchema" },
@@ -767,12 +765,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
767
765
  },
768
766
  ResolvedHandle: { modulePath: "resolved/handle", schemaName: "ResolvedHandleSchema" },
769
767
  RoundLabel: { modulePath: "round/label", schemaName: "RoundLabelSchema" },
770
- Search: { modulePath: "search/search", schemaName: "SearchSchema" },
771
768
  SearchDuplicateCandidateScore: {
772
769
  modulePath: "search/duplicate-candidate-score",
773
770
  schemaName: "SearchDuplicateCandidateScoreSchema",
774
771
  },
775
- SearchHit: { modulePath: "search/hit", schemaName: "SearchHitSchema" },
776
772
  SearchInterpretation: {
777
773
  modulePath: "search/interpretation",
778
774
  schemaName: "SearchInterpretationSchema",
@@ -805,10 +801,6 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
805
801
  modulePath: "sort/order-person-sort-field",
806
802
  schemaName: "SortOrderPersonSortFieldSchema",
807
803
  },
808
- SourceDocumentList: {
809
- modulePath: "source/document-list",
810
- schemaName: "SourceDocumentListSchema",
811
- },
812
804
  StageFrequency: { modulePath: "stage/frequency", schemaName: "StageFrequencySchema" },
813
805
  StandardizedClassification: {
814
806
  modulePath: "standardized/classification",
@@ -846,9 +838,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
846
838
  },
847
839
  UrlDuplicateJoin: { modulePath: "url/duplicate-join", schemaName: "UrlDuplicateJoinSchema" },
848
840
  UrlMatchMode: { modulePath: "url/match-mode", schemaName: "UrlMatchModeSchema" },
849
- UrlSlugRedirect: { modulePath: "url/slug-redirect", schemaName: "UrlSlugRedirectSchema" },
850
841
  UrlTypeAlias: { modulePath: "url/type-alias", schemaName: "UrlTypeAliasSchema" },
851
842
  ValuationType: { modulePath: "valuation/type", schemaName: "ValuationTypeSchema" },
852
- WebSearch: { modulePath: "web/search", schemaName: "WebSearchSchema" },
853
843
  });
854
844
  //# sourceMappingURL=openapi-component-manifest.js.map
@@ -5,7 +5,6 @@ import { z } from "zod/v4";
5
5
  * @endpoint GET /v1/content
6
6
  * @endpoint GET /v1/entities/summary
7
7
  * @endpoint GET /v1/news
8
- * @endpoint GET /v1/slug-redirects
9
8
  * @endpoint GET /v1/addresses/locations/{directory}
10
9
  * @endpoint GET /v1/addresses/locations/{directory}/{locationSlug}
11
10
  * @endpoint GET /v1/entities/{entityId}/acquisitions
@@ -76,7 +75,6 @@ import { z } from "zod/v4";
76
75
  * @usedBySchema PagePublicationSchema
77
76
  * @usedBySchema PageSitemapUrlSlotSchema
78
77
  * @usedBySchema PageUniqueIdSchema
79
- * @usedBySchema PageUrlSlugRedirectSchema
80
78
  * @contractShape pageable.object
81
79
  * @contractRole canonical
82
80
  * @ownerModule pageable/object.ts
@@ -7,7 +7,6 @@ import { SortObjectSchema } from "../sort/object.js";
7
7
  * @endpoint GET /v1/content
8
8
  * @endpoint GET /v1/entities/summary
9
9
  * @endpoint GET /v1/news
10
- * @endpoint GET /v1/slug-redirects
11
10
  * @endpoint GET /v1/addresses/locations/{directory}
12
11
  * @endpoint GET /v1/addresses/locations/{directory}/{locationSlug}
13
12
  * @endpoint GET /v1/entities/{entityId}/acquisitions
@@ -78,7 +77,6 @@ import { SortObjectSchema } from "../sort/object.js";
78
77
  * @usedBySchema PagePublicationSchema
79
78
  * @usedBySchema PageSitemapUrlSlotSchema
80
79
  * @usedBySchema PageUniqueIdSchema
81
- * @usedBySchema PageUrlSlugRedirectSchema
82
80
  * @contractShape pageable.object
83
81
  * @contractRole canonical
84
82
  * @ownerModule pageable/object.ts
@@ -11118,57 +11118,5 @@ type PageUniqueIdDefinition = z.infer<typeof PageUniqueIdSchemaDefinition>;
11118
11118
  */
11119
11119
  export declare const PageUniqueIdSchema: z.ZodType<PageUniqueIdDefinition>;
11120
11120
  export type PageUniqueId = z.infer<typeof PageUniqueIdSchema>;
11121
- declare const PageUrlSlugRedirectSchemaDefinition: z.ZodObject<{
11122
- content: z.ZodOptional<z.ZodArray<z.ZodType<{
11123
- createdAt: string;
11124
- newUrl: string;
11125
- oldUrl: string;
11126
- redirectId: number;
11127
- redirectType: number;
11128
- updatedAt: string;
11129
- }, unknown, z.core.$ZodTypeInternals<{
11130
- createdAt: string;
11131
- newUrl: string;
11132
- oldUrl: string;
11133
- redirectId: number;
11134
- redirectType: number;
11135
- updatedAt: string;
11136
- }, unknown>>>>;
11137
- empty: z.ZodOptional<z.ZodBoolean>;
11138
- first: z.ZodOptional<z.ZodBoolean>;
11139
- last: z.ZodOptional<z.ZodBoolean>;
11140
- number: z.ZodOptional<z.ZodInt>;
11141
- numberOfElements: z.ZodOptional<z.ZodInt>;
11142
- pageable: z.ZodOptional<z.ZodObject<{
11143
- offset: z.ZodOptional<z.ZodNumber>;
11144
- paged: z.ZodOptional<z.ZodBoolean>;
11145
- pageNumber: z.ZodOptional<z.ZodInt>;
11146
- pageSize: z.ZodOptional<z.ZodInt>;
11147
- sort: z.ZodOptional<z.ZodObject<{
11148
- empty: z.ZodOptional<z.ZodBoolean>;
11149
- sorted: z.ZodOptional<z.ZodBoolean>;
11150
- unsorted: z.ZodOptional<z.ZodBoolean>;
11151
- }, z.core.$strip>>;
11152
- unpaged: z.ZodOptional<z.ZodBoolean>;
11153
- }, z.core.$strip>>;
11154
- size: z.ZodOptional<z.ZodInt>;
11155
- sort: z.ZodOptional<z.ZodObject<{
11156
- empty: z.ZodOptional<z.ZodBoolean>;
11157
- sorted: z.ZodOptional<z.ZodBoolean>;
11158
- unsorted: z.ZodOptional<z.ZodBoolean>;
11159
- }, z.core.$strip>>;
11160
- totalElements: z.ZodOptional<z.ZodNumber>;
11161
- totalPages: z.ZodOptional<z.ZodInt>;
11162
- }, z.core.$strip>;
11163
- type PageUrlSlugRedirectDefinition = z.infer<typeof PageUrlSlugRedirectSchemaDefinition>;
11164
- /**
11165
- * @openapiSchema PageUrlSlugRedirect
11166
- * @endpoint GET /v1/slug-redirects
11167
- * @contractShape pagination.page-url-slug-redirect
11168
- * @contractRole canonical
11169
- * @ownerModule pagination/schemas.ts
11170
- */
11171
- export declare const PageUrlSlugRedirectSchema: z.ZodType<PageUrlSlugRedirectDefinition>;
11172
- export type PageUrlSlugRedirect = z.infer<typeof PageUrlSlugRedirectSchema>;
11173
11121
  export {};
11174
11122
  //# sourceMappingURL=schemas.d.ts.map
@@ -33,7 +33,6 @@ import { SitemapUrlSlotSchema } from "../sitemap/url-slot.js";
33
33
  import { SortObjectSchema } from "../sort/object.js";
34
34
  import { StandardizedClassificationSchema } from "../standardized/classification.js";
35
35
  import { UniqueIdSchema } from "../unique/id.js";
36
- import { UrlSlugRedirectSchema } from "../url/slug-redirect.js";
37
36
  const PageBlogPostSchemaDefinition = z.object({
38
37
  content: z.array(BlogPostSchema).optional(),
39
38
  empty: z.boolean().optional(),
@@ -736,25 +735,4 @@ const PageUniqueIdSchemaDefinition = z.object({
736
735
  * @ownerModule pagination/schemas.ts
737
736
  */
738
737
  export const PageUniqueIdSchema = PageUniqueIdSchemaDefinition;
739
- const PageUrlSlugRedirectSchemaDefinition = z.object({
740
- content: z.array(UrlSlugRedirectSchema).optional(),
741
- empty: z.boolean().optional(),
742
- first: z.boolean().optional(),
743
- last: z.boolean().optional(),
744
- number: z.int().optional(),
745
- numberOfElements: z.int().optional(),
746
- pageable: PageableObjectSchema.optional(),
747
- size: z.int().optional(),
748
- sort: SortObjectSchema.optional(),
749
- totalElements: z.number().int().optional(),
750
- totalPages: z.int().optional(),
751
- });
752
- /**
753
- * @openapiSchema PageUrlSlugRedirect
754
- * @endpoint GET /v1/slug-redirects
755
- * @contractShape pagination.page-url-slug-redirect
756
- * @contractRole canonical
757
- * @ownerModule pagination/schemas.ts
758
- */
759
- export const PageUrlSlugRedirectSchema = PageUrlSlugRedirectSchemaDefinition;
760
738
  //# sourceMappingURL=schemas.js.map
@@ -5,7 +5,6 @@ import { z } from "zod/v4";
5
5
  * @endpoint GET /v1/content
6
6
  * @endpoint GET /v1/entities/summary
7
7
  * @endpoint GET /v1/news
8
- * @endpoint GET /v1/slug-redirects
9
8
  * @endpoint GET /v1/addresses/locations/{directory}
10
9
  * @endpoint GET /v1/addresses/locations/{directory}/{locationSlug}
11
10
  * @endpoint GET /v1/entities/{entityId}/acquisitions
@@ -77,7 +76,6 @@ import { z } from "zod/v4";
77
76
  * @usedBySchema PagePublicationSchema
78
77
  * @usedBySchema PageSitemapUrlSlotSchema
79
78
  * @usedBySchema PageUniqueIdSchema
80
- * @usedBySchema PageUrlSlugRedirectSchema
81
79
  * @contractShape sort.object
82
80
  * @contractRole canonical
83
81
  * @ownerModule sort/object.ts
@@ -6,7 +6,6 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/content
7
7
  * @endpoint GET /v1/entities/summary
8
8
  * @endpoint GET /v1/news
9
- * @endpoint GET /v1/slug-redirects
10
9
  * @endpoint GET /v1/addresses/locations/{directory}
11
10
  * @endpoint GET /v1/addresses/locations/{directory}/{locationSlug}
12
11
  * @endpoint GET /v1/entities/{entityId}/acquisitions
@@ -78,7 +77,6 @@ import { z } from "zod/v4";
78
77
  * @usedBySchema PagePublicationSchema
79
78
  * @usedBySchema PageSitemapUrlSlotSchema
80
79
  * @usedBySchema PageUniqueIdSchema
81
- * @usedBySchema PageUrlSlugRedirectSchema
82
80
  * @contractShape sort.object
83
81
  * @contractRole canonical
84
82
  * @ownerModule sort/object.ts
@@ -15,7 +15,7 @@ declare const SystemStatusSchemaDefinition: z.ZodObject<{
15
15
  }, z.core.$strip>;
16
16
  type SystemStatusDefinition = z.infer<typeof SystemStatusSchemaDefinition>;
17
17
  /**
18
- * Uptime SLA from Better Stack and the identity of the served operation set
18
+ * Uptime SLA and the identity of the served operation set
19
19
  *
20
20
  * @openapiSchema SystemStatus
21
21
  * @endpoint GET /v1/status
@@ -4,11 +4,11 @@ import { UptimeSchema } from "../uptime/uptime.js";
4
4
  const SystemStatusSchemaDefinition = z.object({
5
5
  /** Short hash identifying the exact set of operations this deployment serves. A generated client stamps the same value from the OpenAPI document it was built from; an unequal value means the client catalog is stale. `vc.aventure.application.usecase.system.status.OperationInventory` owns how it is computed. */
6
6
  operationFingerprint: z.string(),
7
- /** Uptime SLA data from Better Stack monitoring */
7
+ /** Uptime SLA data from external uptime monitoring */
8
8
  uptime: UptimeSchema,
9
9
  });
10
10
  /**
11
- * Uptime SLA from Better Stack and the identity of the served operation set
11
+ * Uptime SLA and the identity of the served operation set
12
12
  *
13
13
  * @openapiSchema SystemStatus
14
14
  * @endpoint GET /v1/status
@@ -7,7 +7,7 @@ declare const UptimeSchemaDefinition: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  type UptimeDefinition = z.infer<typeof UptimeSchemaDefinition>;
9
9
  /**
10
- * Uptime SLA data from Better Stack monitoring
10
+ * Uptime SLA data from external uptime monitoring
11
11
  *
12
12
  * @openapiSchema Uptime
13
13
  * @endpoint GET /v1/status
@@ -11,7 +11,7 @@ const UptimeSchemaDefinition = z.object({
11
11
  incidents: z.int().nullish(),
12
12
  });
13
13
  /**
14
- * Uptime SLA data from Better Stack monitoring
14
+ * Uptime SLA data from external uptime monitoring
15
15
  *
16
16
  * @openapiSchema Uptime
17
17
  * @endpoint GET /v1/status
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas for the public aVenture API.",
6
6
  "license": "Apache-2.0",
@@ -1,21 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const SearchHitSchemaDefinition: z.ZodObject<{
3
- relevanceScore: z.ZodNumber;
4
- snippet: z.ZodString;
5
- title: z.ZodString;
6
- url: z.ZodString;
7
- }, z.core.$strip>;
8
- type SearchHitDefinition = z.infer<typeof SearchHitSchemaDefinition>;
9
- /**
10
- * One normalized web-search hit with its title, URL, snippet, and relevance score
11
- *
12
- * @openapiSchema SearchHit
13
- * @endpoint POST /v1/web/search
14
- * @usedBySchema WebSearchSchema
15
- * @contractShape search.hit
16
- * @contractRole canonical
17
- */
18
- export declare const SearchHitSchema: z.ZodType<SearchHitDefinition>;
19
- export type SearchHit = z.infer<typeof SearchHitSchema>;
20
- export {};
21
- //# sourceMappingURL=hit.d.ts.map
@@ -1,19 +0,0 @@
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 SearchHitSchemaDefinition = z.object({
4
- relevanceScore: z.number(),
5
- snippet: z.string(),
6
- title: z.string(),
7
- url: z.string(),
8
- });
9
- /**
10
- * One normalized web-search hit with its title, URL, snippet, and relevance score
11
- *
12
- * @openapiSchema SearchHit
13
- * @endpoint POST /v1/web/search
14
- * @usedBySchema WebSearchSchema
15
- * @contractShape search.hit
16
- * @contractRole canonical
17
- */
18
- export const SearchHitSchema = SearchHitSchemaDefinition;
19
- //# sourceMappingURL=hit.js.map
@@ -1,24 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const SearchSchemaDefinition: z.ZodObject<{
3
- bypassCache: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4
- cacheKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
- language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- resultLimit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8
- search: z.ZodString;
9
- source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- }, z.core.$strip>;
11
- type SearchDefinition = z.infer<typeof SearchSchemaDefinition>;
12
- /**
13
- * Live web search request with cache controls
14
- *
15
- * @openapiSchema Search
16
- * @endpoint POST /v1/web/search
17
- * @usedBySchema WebSearchSchema
18
- * @contractShape search.search
19
- * @contractRole canonical
20
- */
21
- export declare const SearchSchema: z.ZodType<SearchDefinition>;
22
- export type Search = z.infer<typeof SearchSchema>;
23
- export {};
24
- //# sourceMappingURL=search.d.ts.map
@@ -1,29 +0,0 @@
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 SearchSchemaDefinition = z.object({
4
- /** Skip cache lookup and refresh from the search provider */
5
- bypassCache: z.boolean().default(false).optional(),
6
- /** Stable lookup text for cache keying when generated search text varies between runs */
7
- cacheKey: z.string().nullish(),
8
- /** Search language code */
9
- language: z.string().nullish(),
10
- /** Search region code */
11
- region: z.string().nullish(),
12
- /** Maximum number of normalized results to keep */
13
- resultLimit: z.int().nullish(),
14
- /** Search text sent to the upstream web search provider */
15
- search: z.string(),
16
- /** Optional caller identity for source-document attribution and abuse triage. Any non-blank string up to 64 characters is accepted and persisted with the resolved request context. */
17
- source: z.string().max(64).nullish(),
18
- });
19
- /**
20
- * Live web search request with cache controls
21
- *
22
- * @openapiSchema Search
23
- * @endpoint POST /v1/web/search
24
- * @usedBySchema WebSearchSchema
25
- * @contractShape search.search
26
- * @contractRole canonical
27
- */
28
- export const SearchSchema = SearchSchemaDefinition;
29
- //# sourceMappingURL=search.js.map
@@ -1,31 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const SourceDocumentListSchemaDefinition: z.ZodObject<{
3
- cacheHitCount: z.ZodInt;
4
- createdAt: z.ZodISODateTime;
5
- documentType: z.ZodString;
6
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
7
- httpStatus: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8
- id: z.ZodUUID;
9
- lastAccessedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
10
- provider: z.ZodString;
11
- providerRequestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- rawByteCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
- rawCharset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- rawMediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- sourceKey: z.ZodString;
16
- upstreamContentEncoding: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
18
- type SourceDocumentListDefinition = z.infer<typeof SourceDocumentListSchemaDefinition>;
19
- /**
20
- * Metadata-only ledger row for source-document lists
21
- *
22
- * @openapiSchema SourceDocumentList
23
- * @endpoint POST /v1/web/search
24
- * @usedBySchema WebSearchSchema
25
- * @contractShape source.document-list
26
- * @contractRole canonical
27
- */
28
- export declare const SourceDocumentListSchema: z.ZodType<SourceDocumentListDefinition>;
29
- export type SourceDocumentList = z.infer<typeof SourceDocumentListSchema>;
30
- export {};
31
- //# sourceMappingURL=document-list.d.ts.map
@@ -1,31 +0,0 @@
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 SourceDocumentListSchemaDefinition = z.object({
4
- cacheHitCount: z.int(),
5
- createdAt: z.iso.datetime({ offset: true }),
6
- documentType: z.string(),
7
- expiresAt: z.iso.datetime({ offset: true }).nullish(),
8
- httpStatus: z.int().nullish(),
9
- /** Document id */
10
- id: z.uuid(),
11
- lastAccessedAt: z.iso.datetime({ offset: true }).nullish(),
12
- provider: z.string(),
13
- providerRequestId: z.string().nullish(),
14
- rawByteCount: z.number().int().nullish(),
15
- rawCharset: z.string().nullish(),
16
- rawMediaType: z.string().nullish(),
17
- /** Canonical fetch identity: canonical URL, query hash, or dataset + external id */
18
- sourceKey: z.string(),
19
- upstreamContentEncoding: z.string().nullish(),
20
- });
21
- /**
22
- * Metadata-only ledger row for source-document lists
23
- *
24
- * @openapiSchema SourceDocumentList
25
- * @endpoint POST /v1/web/search
26
- * @usedBySchema WebSearchSchema
27
- * @contractShape source.document-list
28
- * @contractRole canonical
29
- */
30
- export const SourceDocumentListSchema = SourceDocumentListSchemaDefinition;
31
- //# sourceMappingURL=document-list.js.map
@@ -1,23 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const UrlSlugRedirectSchemaDefinition: z.ZodObject<{
3
- createdAt: z.ZodISODateTime;
4
- newUrl: z.ZodString;
5
- oldUrl: z.ZodString;
6
- redirectId: z.ZodInt;
7
- redirectType: z.ZodInt;
8
- updatedAt: z.ZodISODateTime;
9
- }, z.core.$strip>;
10
- type UrlSlugRedirectDefinition = z.infer<typeof UrlSlugRedirectSchemaDefinition>;
11
- /**
12
- * URL slug redirect row
13
- *
14
- * @openapiSchema UrlSlugRedirect
15
- * @endpoint GET /v1/slug-redirects
16
- * @usedBySchema PageUrlSlugRedirectSchema
17
- * @contractShape url.slug-redirect
18
- * @contractRole canonical
19
- */
20
- export declare const UrlSlugRedirectSchema: z.ZodType<UrlSlugRedirectDefinition>;
21
- export type UrlSlugRedirect = z.infer<typeof UrlSlugRedirectSchema>;
22
- export {};
23
- //# sourceMappingURL=slug-redirect.d.ts.map
@@ -1,27 +0,0 @@
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 UrlSlugRedirectSchemaDefinition = z.object({
4
- /** Redirect row creation timestamp */
5
- createdAt: z.iso.datetime({ offset: true }),
6
- /** New public URL, e.g., /companies/new-slug */
7
- newUrl: z.string(),
8
- /** Old public URL, e.g., /companies/old-slug */
9
- oldUrl: z.string(),
10
- /** Redirect row id */
11
- redirectId: z.int(),
12
- /** HTTP redirect type; permanent 301 */
13
- redirectType: z.int(),
14
- /** Redirect row update timestamp */
15
- updatedAt: z.iso.datetime({ offset: true }),
16
- });
17
- /**
18
- * URL slug redirect row
19
- *
20
- * @openapiSchema UrlSlugRedirect
21
- * @endpoint GET /v1/slug-redirects
22
- * @usedBySchema PageUrlSlugRedirectSchema
23
- * @contractShape url.slug-redirect
24
- * @contractRole canonical
25
- */
26
- export const UrlSlugRedirectSchema = UrlSlugRedirectSchemaDefinition;
27
- //# sourceMappingURL=slug-redirect.js.map
@@ -1,75 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const WebSearchSchemaDefinition: z.ZodObject<{
3
- document: z.ZodType<{
4
- cacheHitCount: number;
5
- createdAt: string;
6
- documentType: string;
7
- expiresAt?: string | null | undefined;
8
- httpStatus?: number | null | undefined;
9
- id: string;
10
- lastAccessedAt?: string | null | undefined;
11
- provider: string;
12
- providerRequestId?: string | null | undefined;
13
- rawByteCount?: number | null | undefined;
14
- rawCharset?: string | null | undefined;
15
- rawMediaType?: string | null | undefined;
16
- sourceKey: string;
17
- upstreamContentEncoding?: string | null | undefined;
18
- }, unknown, z.core.$ZodTypeInternals<{
19
- cacheHitCount: number;
20
- createdAt: string;
21
- documentType: string;
22
- expiresAt?: string | null | undefined;
23
- httpStatus?: number | null | undefined;
24
- id: string;
25
- lastAccessedAt?: string | null | undefined;
26
- provider: string;
27
- providerRequestId?: string | null | undefined;
28
- rawByteCount?: number | null | undefined;
29
- rawCharset?: string | null | undefined;
30
- rawMediaType?: string | null | undefined;
31
- sourceKey: string;
32
- upstreamContentEncoding?: string | null | undefined;
33
- }, unknown>>;
34
- result: z.ZodArray<z.ZodType<{
35
- relevanceScore: number;
36
- snippet: string;
37
- title: string;
38
- url: string;
39
- }, unknown, z.core.$ZodTypeInternals<{
40
- relevanceScore: number;
41
- snippet: string;
42
- title: string;
43
- url: string;
44
- }, unknown>>>;
45
- search: z.ZodType<{
46
- bypassCache?: boolean | undefined;
47
- cacheKey?: string | null | undefined;
48
- language?: string | null | undefined;
49
- region?: string | null | undefined;
50
- resultLimit?: number | null | undefined;
51
- search: string;
52
- source?: string | null | undefined;
53
- }, unknown, z.core.$ZodTypeInternals<{
54
- bypassCache?: boolean | undefined;
55
- cacheKey?: string | null | undefined;
56
- language?: string | null | undefined;
57
- region?: string | null | undefined;
58
- resultLimit?: number | null | undefined;
59
- search: string;
60
- source?: string | null | undefined;
61
- }, unknown>>;
62
- }, z.core.$strip>;
63
- type WebSearchDefinition = z.infer<typeof WebSearchSchemaDefinition>;
64
- /**
65
- * Live web search result with its backing source-document row and normalized items
66
- *
67
- * @openapiSchema WebSearch
68
- * @endpoint POST /v1/web/search
69
- * @contractShape web.search
70
- * @contractRole canonical
71
- */
72
- export declare const WebSearchSchema: z.ZodType<WebSearchDefinition>;
73
- export type WebSearch = z.infer<typeof WebSearchSchema>;
74
- export {};
75
- //# sourceMappingURL=search.d.ts.map
@@ -1,23 +0,0 @@
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 { SearchHitSchema } from "../search/hit.js";
4
- import { SearchSchema } from "../search/search.js";
5
- import { SourceDocumentListSchema } from "../source/document-list.js";
6
- const WebSearchSchemaDefinition = z.object({
7
- /** Source-document ledger row backing this result */
8
- document: SourceDocumentListSchema,
9
- /** Normalized result items in provider rank order */
10
- result: z.array(SearchHitSchema),
11
- /** Web search request represented by this result */
12
- search: SearchSchema,
13
- });
14
- /**
15
- * Live web search result with its backing source-document row and normalized items
16
- *
17
- * @openapiSchema WebSearch
18
- * @endpoint POST /v1/web/search
19
- * @contractShape web.search
20
- * @contractRole canonical
21
- */
22
- export const WebSearchSchema = WebSearchSchemaDefinition;
23
- //# sourceMappingURL=search.js.map