@aventurevc/api-schemas 0.8.241 → 0.8.242
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/entity/resolution.d.ts +9 -14
- package/dist/entity/resolution.js +9 -10
- package/package.json +1 -1
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Resolution of one queried identifier (id, slug, or current joined URL) to its current entity. Echoes the raw input; matched rows carry the full detail, ambiguous rows carry the conflicting candidate ids, missing rows carry neither.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema EntityResolution
|
|
6
|
+
* @endpoint POST /v1/entities/lookup-matches
|
|
7
|
+
* @contractShape entity.resolution
|
|
8
|
+
* @contractRole canonical
|
|
9
|
+
*/
|
|
10
|
+
export declare const EntityResolutionSchema: z.ZodObject<{
|
|
3
11
|
candidateEntityId: z.ZodArray<z.ZodUUID>;
|
|
4
12
|
detail: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5
13
|
core: z.ZodObject<{
|
|
@@ -2849,18 +2857,5 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
2849
2857
|
MISSING: "MISSING";
|
|
2850
2858
|
}>;
|
|
2851
2859
|
}, z.core.$strip>;
|
|
2852
|
-
type EntityResolutionDefinition = z.infer<typeof EntityResolutionSchemaDefinition>;
|
|
2853
|
-
export interface EntityResolutionSchemaInput extends z.input<typeof EntityResolutionSchemaDefinition> {
|
|
2854
|
-
}
|
|
2855
|
-
/**
|
|
2856
|
-
* Resolution of one queried identifier (id, slug, or current joined URL) to its current entity. Echoes the raw input; matched rows carry the full detail, ambiguous rows carry the conflicting candidate ids, missing rows carry neither.
|
|
2857
|
-
*
|
|
2858
|
-
* @openapiSchema EntityResolution
|
|
2859
|
-
* @endpoint POST /v1/entities/lookup-matches
|
|
2860
|
-
* @contractShape entity.resolution
|
|
2861
|
-
* @contractRole canonical
|
|
2862
|
-
*/
|
|
2863
|
-
export declare const EntityResolutionSchema: z.ZodType<EntityResolutionDefinition, EntityResolutionSchemaInput>;
|
|
2864
2860
|
export type EntityResolution = z.infer<typeof EntityResolutionSchema>;
|
|
2865
|
-
export {};
|
|
2866
2861
|
//# sourceMappingURL=resolution.d.ts.map
|
|
@@ -1,7 +1,15 @@
|
|
|
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 { EntityDetailSchema } from "./detail.js";
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Resolution of one queried identifier (id, slug, or current joined URL) to its current entity. Echoes the raw input; matched rows carry the full detail, ambiguous rows carry the conflicting candidate ids, missing rows carry neither.
|
|
6
|
+
*
|
|
7
|
+
* @openapiSchema EntityResolution
|
|
8
|
+
* @endpoint POST /v1/entities/lookup-matches
|
|
9
|
+
* @contractShape entity.resolution
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export const EntityResolutionSchema = z.object({
|
|
5
13
|
/** Entity ids that all currently own the queried URL when status is AMBIGUOUS; empty otherwise. Re-query a single id to disambiguate. */
|
|
6
14
|
candidateEntityId: z.array(z.uuid()),
|
|
7
15
|
/** Full entity detail when status is MATCHED; absent otherwise. */
|
|
@@ -13,13 +21,4 @@ const EntityResolutionSchemaDefinition = z.object({
|
|
|
13
21
|
/** Resolution outcome for this input. */
|
|
14
22
|
status: z.enum(["MATCHED", "AMBIGUOUS", "MISSING"]),
|
|
15
23
|
});
|
|
16
|
-
/**
|
|
17
|
-
* Resolution of one queried identifier (id, slug, or current joined URL) to its current entity. Echoes the raw input; matched rows carry the full detail, ambiguous rows carry the conflicting candidate ids, missing rows carry neither.
|
|
18
|
-
*
|
|
19
|
-
* @openapiSchema EntityResolution
|
|
20
|
-
* @endpoint POST /v1/entities/lookup-matches
|
|
21
|
-
* @contractShape entity.resolution
|
|
22
|
-
* @contractRole canonical
|
|
23
|
-
*/
|
|
24
|
-
export const EntityResolutionSchema = EntityResolutionSchemaDefinition;
|
|
25
24
|
//# sourceMappingURL=resolution.js.map
|