@aventurevc/api-schemas 0.8.20 → 0.8.22
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/confidence/confidence.d.ts +4 -0
- package/dist/confidence/confidence.js +4 -0
- package/dist/datasource/provenance-actor-type.d.ts +15 -0
- package/dist/datasource/provenance-actor-type.js +12 -0
- package/dist/datasource/source-metadata.d.ts +4 -3
- package/dist/datasource/source-metadata.js +4 -3
- package/dist/entity/filter-search.d.ts +2 -2
- package/dist/entity/filter.d.ts +2 -2
- package/dist/entity/filter.js +2 -2
- package/dist/entity/list-filter.d.ts +2 -2
- package/dist/entity/list-filter.js +2 -2
- package/dist/entity/logo-type.d.ts +1 -1
- package/dist/entity/logo-type.js +1 -1
- package/dist/entity/natural-search.d.ts +2 -2
- package/dist/federated/search.d.ts +2 -2
- package/dist/link/search.d.ts +2 -2
- package/dist/logo/accuracy-reference.d.ts +21 -0
- package/dist/logo/accuracy-reference.js +21 -0
- package/dist/logo/accuracy.d.ts +51 -0
- package/dist/logo/accuracy.js +35 -0
- package/dist/media/object-type.d.ts +3 -3
- package/dist/media/object-type.js +3 -3
- package/dist/media/upload.d.ts +40 -3
- package/dist/media/upload.js +6 -3
- package/dist/natural/search-result.d.ts +2 -2
- package/dist/openapi-component-manifest.js +9 -1
- package/dist/search/interpretation.d.ts +2 -2
- package/dist/search/search.js +1 -1
- package/package.json +1 -1
- package/dist/media/slot.d.ts +0 -18
- package/dist/media/slot.js +0 -14
|
@@ -4,6 +4,9 @@ import { z } from "zod/v4";
|
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema Confidence
|
|
6
6
|
* @endpoint GET /v1/search/link
|
|
7
|
+
* @endpoint GET /v1/entities/{entityId}/logo
|
|
8
|
+
* @endpoint GET /v1/news/{newsId}/thumbnail
|
|
9
|
+
* @endpoint GET /v1/people/{personId}/photo
|
|
7
10
|
* @endpoint POST /v1/agents/help
|
|
8
11
|
* @endpoint POST /v1/entities/natural-search
|
|
9
12
|
* @endpoint POST /v1/help
|
|
@@ -13,6 +16,7 @@ import { z } from "zod/v4";
|
|
|
13
16
|
* @endpoint POST /v1/search/natural/entities
|
|
14
17
|
* @endpoint POST /v1/search/natural/people
|
|
15
18
|
* @usedBySchema AgentHelpSchema
|
|
19
|
+
* @usedBySchema LogoAccuracySchema
|
|
16
20
|
* @usedBySchema PersonSearchInterpretationSchema
|
|
17
21
|
* @usedBySchema SearchInterpretationSchema
|
|
18
22
|
* @contractShape confidence.confidence
|
|
@@ -5,6 +5,9 @@ import { z } from "zod/v4";
|
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema Confidence
|
|
7
7
|
* @endpoint GET /v1/search/link
|
|
8
|
+
* @endpoint GET /v1/entities/{entityId}/logo
|
|
9
|
+
* @endpoint GET /v1/news/{newsId}/thumbnail
|
|
10
|
+
* @endpoint GET /v1/people/{personId}/photo
|
|
8
11
|
* @endpoint POST /v1/agents/help
|
|
9
12
|
* @endpoint POST /v1/entities/natural-search
|
|
10
13
|
* @endpoint POST /v1/help
|
|
@@ -14,6 +17,7 @@ import { z } from "zod/v4";
|
|
|
14
17
|
* @endpoint POST /v1/search/natural/entities
|
|
15
18
|
* @endpoint POST /v1/search/natural/people
|
|
16
19
|
* @usedBySchema AgentHelpSchema
|
|
20
|
+
* @usedBySchema LogoAccuracySchema
|
|
17
21
|
* @usedBySchema PersonSearchInterpretationSchema
|
|
18
22
|
* @usedBySchema SearchInterpretationSchema
|
|
19
23
|
* @contractShape confidence.confidence
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Actor boundary for a provenance write event
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema DatasourceProvenanceActorType
|
|
6
|
+
* @endpoint POST /v1/web/search
|
|
7
|
+
* @contractShape datasource.provenance-actor-type
|
|
8
|
+
* @contractRole canonical
|
|
9
|
+
*/
|
|
10
|
+
export declare const DatasourceProvenanceActorTypeSchema: z.ZodEnum<{
|
|
11
|
+
agent: "agent";
|
|
12
|
+
employee: "employee";
|
|
13
|
+
}>;
|
|
14
|
+
export type DatasourceProvenanceActorType = z.infer<typeof DatasourceProvenanceActorTypeSchema>;
|
|
15
|
+
//# sourceMappingURL=provenance-actor-type.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
* Actor boundary for a provenance write event
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema DatasourceProvenanceActorType
|
|
7
|
+
* @endpoint POST /v1/web/search
|
|
8
|
+
* @contractShape datasource.provenance-actor-type
|
|
9
|
+
* @contractRole canonical
|
|
10
|
+
*/
|
|
11
|
+
export const DatasourceProvenanceActorTypeSchema = z.enum(["agent", "employee"]);
|
|
12
|
+
//# sourceMappingURL=provenance-actor-type.js.map
|
|
@@ -3,9 +3,10 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Grouped source/provenance metadata for private v1 response fields
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema DatasourceSourceMetadata
|
|
6
|
-
* @endpoint GET /v1/entities/{entityId}/
|
|
7
|
-
* @endpoint GET /v1/news/{newsId}/
|
|
8
|
-
* @endpoint GET /v1/people/{personId}/
|
|
6
|
+
* @endpoint GET /v1/entities/{entityId}/logo
|
|
7
|
+
* @endpoint GET /v1/news/{newsId}/thumbnail
|
|
8
|
+
* @endpoint GET /v1/people/{personId}/photo
|
|
9
|
+
* @usedBySchema LogoAccuracySchema
|
|
9
10
|
* @usedBySchema MediaUploadSchema
|
|
10
11
|
* @contractShape datasource.source-metadata
|
|
11
12
|
* @contractRole canonical
|
|
@@ -4,9 +4,10 @@ import { z } from "zod/v4";
|
|
|
4
4
|
* Grouped source/provenance metadata for private v1 response fields
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema DatasourceSourceMetadata
|
|
7
|
-
* @endpoint GET /v1/entities/{entityId}/
|
|
8
|
-
* @endpoint GET /v1/news/{newsId}/
|
|
9
|
-
* @endpoint GET /v1/people/{personId}/
|
|
7
|
+
* @endpoint GET /v1/entities/{entityId}/logo
|
|
8
|
+
* @endpoint GET /v1/news/{newsId}/thumbnail
|
|
9
|
+
* @endpoint GET /v1/people/{personId}/photo
|
|
10
|
+
* @usedBySchema LogoAccuracySchema
|
|
10
11
|
* @usedBySchema MediaUploadSchema
|
|
11
12
|
* @contractShape datasource.source-metadata
|
|
12
13
|
* @contractRole canonical
|
|
@@ -150,10 +150,10 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
|
|
|
150
150
|
typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
151
151
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
152
|
urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
153
|
-
urlMatchMode: z.ZodOptional<z.ZodEnum<{
|
|
153
|
+
urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
154
154
|
domain: "domain";
|
|
155
155
|
hostPath: "hostPath";
|
|
156
|
-
}
|
|
156
|
+
}>>>;
|
|
157
157
|
urlType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
158
158
|
alternativeto: "alternativeto";
|
|
159
159
|
angellist: "angellist";
|
package/dist/entity/filter.d.ts
CHANGED
|
@@ -159,10 +159,10 @@ export declare const EntityFilterSchema: z.ZodObject<{
|
|
|
159
159
|
typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
160
160
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
161
161
|
urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162
|
-
urlMatchMode: z.ZodOptional<z.ZodEnum<{
|
|
162
|
+
urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
163
163
|
domain: "domain";
|
|
164
164
|
hostPath: "hostPath";
|
|
165
|
-
}
|
|
165
|
+
}>>>;
|
|
166
166
|
urlType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
167
167
|
alternativeto: "alternativeto";
|
|
168
168
|
angellist: "angellist";
|
package/dist/entity/filter.js
CHANGED
|
@@ -105,8 +105,8 @@ export const EntityFilterSchema = z.strictObject({
|
|
|
105
105
|
url: z.string().nullish(),
|
|
106
106
|
/** Current root domain to match when urlMatchMode=domain. */
|
|
107
107
|
urlDomain: z.string().nullish(),
|
|
108
|
-
/** URL matching mode: hostPath uses host and path; domain uses the root domain. */
|
|
109
|
-
urlMatchMode: UrlMatchModeSchema.
|
|
108
|
+
/** URL matching mode: hostPath uses host and path; domain uses the root domain. Omitted, it is domain when urlDomain is set, else hostPath. */
|
|
109
|
+
urlMatchMode: UrlMatchModeSchema.nullish(),
|
|
110
110
|
/** Restrict URL matching to one URL type. */
|
|
111
111
|
urlType: EntityUrlTypeSchema.nullish(),
|
|
112
112
|
/** Inclusive founding-year ranges, in calendar years. */
|
|
@@ -147,10 +147,10 @@ declare const EntityListFilterSchemaDefinition: z.ZodObject<{
|
|
|
147
147
|
typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
148
148
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
149
149
|
urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
150
|
-
urlMatchMode: z.ZodOptional<z.ZodEnum<{
|
|
150
|
+
urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
151
151
|
domain: "domain";
|
|
152
152
|
hostPath: "hostPath";
|
|
153
|
-
}
|
|
153
|
+
}>>>;
|
|
154
154
|
urlType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
155
155
|
alternativeto: "alternativeto";
|
|
156
156
|
angellist: "angellist";
|
|
@@ -94,8 +94,8 @@ const EntityListFilterSchemaDefinition = z.strictObject({
|
|
|
94
94
|
url: z.string().nullish(),
|
|
95
95
|
/** Current root domain to match when urlMatchMode=domain. */
|
|
96
96
|
urlDomain: z.string().nullish(),
|
|
97
|
-
/** URL matching mode: hostPath uses host and path; domain uses the root domain. */
|
|
98
|
-
urlMatchMode: UrlMatchModeSchema.
|
|
97
|
+
/** URL matching mode: hostPath uses host and path; domain uses the root domain. Omitted, it is domain when urlDomain is set, else hostPath. */
|
|
98
|
+
urlMatchMode: UrlMatchModeSchema.nullish(),
|
|
99
99
|
/** Restrict URL matching to one URL type. */
|
|
100
100
|
urlType: EntityUrlTypeSchema.nullish(),
|
|
101
101
|
/** Inclusive founding-year ranges, in calendar years. */
|
|
@@ -3,7 +3,7 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Entity logo slot: SQUARE is the square icon read back as `core.image.logoSquare`; STANDARD is the horizontal wordmark read back as `core.image.logo`.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema EntityLogoType
|
|
6
|
-
* @endpoint GET /v1/entities/{entityId}/
|
|
6
|
+
* @endpoint GET /v1/entities/{entityId}/logo
|
|
7
7
|
* @contractShape entity.logo-type
|
|
8
8
|
* @contractRole canonical
|
|
9
9
|
*/
|
package/dist/entity/logo-type.js
CHANGED
|
@@ -4,7 +4,7 @@ import { z } from "zod/v4";
|
|
|
4
4
|
* Entity logo slot: SQUARE is the square icon read back as `core.image.logoSquare`; STANDARD is the horizontal wordmark read back as `core.image.logo`.
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema EntityLogoType
|
|
7
|
-
* @endpoint GET /v1/entities/{entityId}/
|
|
7
|
+
* @endpoint GET /v1/entities/{entityId}/logo
|
|
8
8
|
* @contractShape entity.logo-type
|
|
9
9
|
* @contractRole canonical
|
|
10
10
|
*/
|
|
@@ -147,10 +147,10 @@ declare const EntityNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
147
147
|
typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
148
148
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
149
149
|
urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
150
|
-
urlMatchMode: z.ZodOptional<z.ZodEnum<{
|
|
150
|
+
urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
151
151
|
domain: "domain";
|
|
152
152
|
hostPath: "hostPath";
|
|
153
|
-
}
|
|
153
|
+
}>>>;
|
|
154
154
|
urlType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
155
155
|
alternativeto: "alternativeto";
|
|
156
156
|
angellist: "angellist";
|
|
@@ -99,7 +99,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
99
99
|
typeTechnologyUsed?: string[] | undefined;
|
|
100
100
|
url?: string | null | undefined;
|
|
101
101
|
urlDomain?: string | null | undefined;
|
|
102
|
-
urlMatchMode?: "domain" | "hostPath" | undefined;
|
|
102
|
+
urlMatchMode?: "domain" | "hostPath" | null | undefined;
|
|
103
103
|
urlType?: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube" | null | undefined;
|
|
104
104
|
yearFoundedRange?: {
|
|
105
105
|
max?: number | null | undefined;
|
|
@@ -690,7 +690,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
690
690
|
typeTechnologyUsed?: string[] | undefined;
|
|
691
691
|
url?: string | null | undefined;
|
|
692
692
|
urlDomain?: string | null | undefined;
|
|
693
|
-
urlMatchMode?: "domain" | "hostPath" | undefined;
|
|
693
|
+
urlMatchMode?: "domain" | "hostPath" | null | undefined;
|
|
694
694
|
urlType?: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube" | null | undefined;
|
|
695
695
|
yearFoundedRange?: {
|
|
696
696
|
max?: number | null | undefined;
|
package/dist/link/search.d.ts
CHANGED
|
@@ -101,7 +101,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
101
101
|
typeTechnologyUsed?: string[] | undefined;
|
|
102
102
|
url?: string | null | undefined;
|
|
103
103
|
urlDomain?: string | null | undefined;
|
|
104
|
-
urlMatchMode?: "domain" | "hostPath" | undefined;
|
|
104
|
+
urlMatchMode?: "domain" | "hostPath" | null | undefined;
|
|
105
105
|
urlType?: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube" | null | undefined;
|
|
106
106
|
yearFoundedRange?: {
|
|
107
107
|
max?: number | null | undefined;
|
|
@@ -852,7 +852,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
852
852
|
typeTechnologyUsed?: string[] | undefined;
|
|
853
853
|
url?: string | null | undefined;
|
|
854
854
|
urlDomain?: string | null | undefined;
|
|
855
|
-
urlMatchMode?: "domain" | "hostPath" | undefined;
|
|
855
|
+
urlMatchMode?: "domain" | "hostPath" | null | undefined;
|
|
856
856
|
urlType?: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube" | null | undefined;
|
|
857
857
|
yearFoundedRange?: {
|
|
858
858
|
max?: number | null | undefined;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const LogoAccuracyReferenceSchemaDefinition: z.ZodObject<{
|
|
3
|
+
hammingDistance: z.ZodInt;
|
|
4
|
+
url: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type LogoAccuracyReferenceDefinition = z.infer<typeof LogoAccuracyReferenceSchemaDefinition>;
|
|
7
|
+
/**
|
|
8
|
+
* A reference mark from the target's own surface and its distance to the candidate
|
|
9
|
+
*
|
|
10
|
+
* @openapiSchema LogoAccuracyReference
|
|
11
|
+
* @endpoint GET /v1/entities/{entityId}/logo
|
|
12
|
+
* @endpoint GET /v1/news/{newsId}/thumbnail
|
|
13
|
+
* @endpoint GET /v1/people/{personId}/photo
|
|
14
|
+
* @usedBySchema LogoAccuracySchema
|
|
15
|
+
* @contractShape logo.accuracy-reference
|
|
16
|
+
* @contractRole canonical
|
|
17
|
+
*/
|
|
18
|
+
export declare const LogoAccuracyReferenceSchema: z.ZodType<LogoAccuracyReferenceDefinition>;
|
|
19
|
+
export type LogoAccuracyReference = z.infer<typeof LogoAccuracyReferenceSchema>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=accuracy-reference.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
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 LogoAccuracyReferenceSchemaDefinition = z.object({
|
|
4
|
+
/** Perceptual-hash distance between the candidate and this reference */
|
|
5
|
+
hammingDistance: z.int(),
|
|
6
|
+
/** Direct URL of the reference mark fetched from the target's surface */
|
|
7
|
+
url: z.string(),
|
|
8
|
+
});
|
|
9
|
+
/**
|
|
10
|
+
* A reference mark from the target's own surface and its distance to the candidate
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema LogoAccuracyReference
|
|
13
|
+
* @endpoint GET /v1/entities/{entityId}/logo
|
|
14
|
+
* @endpoint GET /v1/news/{newsId}/thumbnail
|
|
15
|
+
* @endpoint GET /v1/people/{personId}/photo
|
|
16
|
+
* @usedBySchema LogoAccuracySchema
|
|
17
|
+
* @contractShape logo.accuracy-reference
|
|
18
|
+
* @contractRole canonical
|
|
19
|
+
*/
|
|
20
|
+
export const LogoAccuracyReferenceSchema = LogoAccuracyReferenceSchemaDefinition;
|
|
21
|
+
//# sourceMappingURL=accuracy-reference.js.map
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Read-only assessment of whether a stored logo/photo depicts the target's own brand, decided from visible features of the stored mark versus the target's own reference marks
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema LogoAccuracy
|
|
6
|
+
* @endpoint GET /v1/entities/{entityId}/logo
|
|
7
|
+
* @endpoint GET /v1/news/{newsId}/thumbnail
|
|
8
|
+
* @endpoint GET /v1/people/{personId}/photo
|
|
9
|
+
* @usedBySchema MediaUploadSchema
|
|
10
|
+
* @contractShape logo.accuracy
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export declare const LogoAccuracySchema: z.ZodObject<{
|
|
14
|
+
approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
|
+
changedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
16
|
+
dataSourceUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
17
|
+
detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
pendingApproval: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
20
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$strip>>>;
|
|
23
|
+
candidateObserved: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
confidence: z.ZodEnum<{
|
|
25
|
+
HIGH: "HIGH";
|
|
26
|
+
LOW: "LOW";
|
|
27
|
+
MEDIUM: "MEDIUM";
|
|
28
|
+
}>;
|
|
29
|
+
method: z.ZodEnum<{
|
|
30
|
+
OPERATOR_REVIEW: "OPERATOR_REVIEW";
|
|
31
|
+
PERCEPTUAL_HASH: "PERCEPTUAL_HASH";
|
|
32
|
+
REFERENCE_UNAVAILABLE: "REFERENCE_UNAVAILABLE";
|
|
33
|
+
VISION: "VISION";
|
|
34
|
+
}>;
|
|
35
|
+
outcome: z.ZodEnum<{
|
|
36
|
+
INSUFFICIENT: "INSUFFICIENT";
|
|
37
|
+
MATCH: "MATCH";
|
|
38
|
+
MISMATCH: "MISMATCH";
|
|
39
|
+
}>;
|
|
40
|
+
reference: z.ZodArray<z.ZodType<{
|
|
41
|
+
hammingDistance: number;
|
|
42
|
+
url: string;
|
|
43
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
44
|
+
hammingDistance: number;
|
|
45
|
+
url: string;
|
|
46
|
+
}, unknown>>>;
|
|
47
|
+
referenceObserved: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
sharedFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
export type LogoAccuracy = z.infer<typeof LogoAccuracySchema>;
|
|
51
|
+
//# sourceMappingURL=accuracy.d.ts.map
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { ConfidenceSchema } from "../confidence/confidence.js";
|
|
4
|
+
import { DatasourceSourceMetadataSchema } from "../datasource/source-metadata.js";
|
|
5
|
+
import { LogoAccuracyReferenceSchema } from "./accuracy-reference.js";
|
|
6
|
+
/**
|
|
7
|
+
* Read-only assessment of whether a stored logo/photo depicts the target's own brand, decided from visible features of the stored mark versus the target's own reference marks
|
|
8
|
+
*
|
|
9
|
+
* @openapiSchema LogoAccuracy
|
|
10
|
+
* @endpoint GET /v1/entities/{entityId}/logo
|
|
11
|
+
* @endpoint GET /v1/news/{newsId}/thumbnail
|
|
12
|
+
* @endpoint GET /v1/people/{personId}/photo
|
|
13
|
+
* @usedBySchema MediaUploadSchema
|
|
14
|
+
* @contractShape logo.accuracy
|
|
15
|
+
* @contractRole canonical
|
|
16
|
+
*/
|
|
17
|
+
export const LogoAccuracySchema = z.object({
|
|
18
|
+
/** Confirmed media-slot provenance that made this a match without a model/reference comparison; null for deterministic hash, vision, and insufficient outcomes */
|
|
19
|
+
approval: DatasourceSourceMetadataSchema.nullish(),
|
|
20
|
+
/** Literal visible description of the candidate mark, when assessed by vision */
|
|
21
|
+
candidateObserved: z.string().nullish(),
|
|
22
|
+
/** Confidence in the outcome */
|
|
23
|
+
confidence: ConfidenceSchema,
|
|
24
|
+
/** How the outcome was reached */
|
|
25
|
+
method: z.enum(["PERCEPTUAL_HASH", "VISION", "OPERATOR_REVIEW", "REFERENCE_UNAVAILABLE"]),
|
|
26
|
+
/** Whether the candidate mark matches the target's own brand */
|
|
27
|
+
outcome: z.enum(["MATCH", "MISMATCH", "INSUFFICIENT"]),
|
|
28
|
+
/** Reference marks fetched from the target's own surfaces, each with its perceptual-hash distance to the candidate. The deciding deterministic distance is the smallest entry */
|
|
29
|
+
reference: z.array(LogoAccuracyReferenceSchema),
|
|
30
|
+
/** Literal visible description of the reference mark, when assessed by vision */
|
|
31
|
+
referenceObserved: z.string().nullish(),
|
|
32
|
+
/** The specific visible feature shared by candidate and reference that supports a match (shared name text, symbol, or distinctive palette); null when not a match */
|
|
33
|
+
sharedFeature: z.string().nullish(),
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=accuracy.js.map
|
|
@@ -3,9 +3,9 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Target domain for media operations (logos, pictures, thumbnails)
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema MediaObjectType
|
|
6
|
-
* @endpoint GET /v1/entities/{entityId}/
|
|
7
|
-
* @endpoint GET /v1/news/{newsId}/
|
|
8
|
-
* @endpoint GET /v1/people/{personId}/
|
|
6
|
+
* @endpoint GET /v1/entities/{entityId}/logo
|
|
7
|
+
* @endpoint GET /v1/news/{newsId}/thumbnail
|
|
8
|
+
* @endpoint GET /v1/people/{personId}/photo
|
|
9
9
|
* @usedBySchema MediaUploadSchema
|
|
10
10
|
* @contractShape media.object-type
|
|
11
11
|
* @contractRole canonical
|
|
@@ -4,9 +4,9 @@ import { z } from "zod/v4";
|
|
|
4
4
|
* Target domain for media operations (logos, pictures, thumbnails)
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema MediaObjectType
|
|
7
|
-
* @endpoint GET /v1/entities/{entityId}/
|
|
8
|
-
* @endpoint GET /v1/news/{newsId}/
|
|
9
|
-
* @endpoint GET /v1/people/{personId}/
|
|
7
|
+
* @endpoint GET /v1/entities/{entityId}/logo
|
|
8
|
+
* @endpoint GET /v1/news/{newsId}/thumbnail
|
|
9
|
+
* @endpoint GET /v1/people/{personId}/photo
|
|
10
10
|
* @usedBySchema MediaUploadSchema
|
|
11
11
|
* @contractShape media.object-type
|
|
12
12
|
* @contractRole canonical
|
package/dist/media/upload.d.ts
CHANGED
|
@@ -3,13 +3,50 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Managed media asset reference with resolved CDN URL and target metadata
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema MediaUpload
|
|
6
|
-
* @endpoint GET /v1/entities/{entityId}/
|
|
7
|
-
* @endpoint GET /v1/news/{newsId}/
|
|
8
|
-
* @endpoint GET /v1/people/{personId}/
|
|
6
|
+
* @endpoint GET /v1/entities/{entityId}/logo
|
|
7
|
+
* @endpoint GET /v1/news/{newsId}/thumbnail
|
|
8
|
+
* @endpoint GET /v1/people/{personId}/photo
|
|
9
9
|
* @contractShape media.upload
|
|
10
10
|
* @contractRole canonical
|
|
11
11
|
*/
|
|
12
12
|
export declare const MediaUploadSchema: z.ZodObject<{
|
|
13
|
+
accuracy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
|
+
approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
|
+
changedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
16
|
+
dataSourceUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
17
|
+
detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
pendingApproval: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
20
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$strip>>>;
|
|
23
|
+
candidateObserved: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
confidence: z.ZodEnum<{
|
|
25
|
+
HIGH: "HIGH";
|
|
26
|
+
LOW: "LOW";
|
|
27
|
+
MEDIUM: "MEDIUM";
|
|
28
|
+
}>;
|
|
29
|
+
method: z.ZodEnum<{
|
|
30
|
+
OPERATOR_REVIEW: "OPERATOR_REVIEW";
|
|
31
|
+
PERCEPTUAL_HASH: "PERCEPTUAL_HASH";
|
|
32
|
+
REFERENCE_UNAVAILABLE: "REFERENCE_UNAVAILABLE";
|
|
33
|
+
VISION: "VISION";
|
|
34
|
+
}>;
|
|
35
|
+
outcome: z.ZodEnum<{
|
|
36
|
+
INSUFFICIENT: "INSUFFICIENT";
|
|
37
|
+
MATCH: "MATCH";
|
|
38
|
+
MISMATCH: "MISMATCH";
|
|
39
|
+
}>;
|
|
40
|
+
reference: z.ZodArray<z.ZodType<{
|
|
41
|
+
hammingDistance: number;
|
|
42
|
+
url: string;
|
|
43
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
44
|
+
hammingDistance: number;
|
|
45
|
+
url: string;
|
|
46
|
+
}, unknown>>>;
|
|
47
|
+
referenceObserved: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
sharedFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
}, z.core.$strip>>>;
|
|
13
50
|
cdnUrl: z.ZodString;
|
|
14
51
|
firstUploadedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
15
52
|
mediaType: z.ZodEnum<{
|
package/dist/media/upload.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
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 { DatasourceSourceMetadataSchema } from "../datasource/source-metadata.js";
|
|
4
|
+
import { LogoAccuracySchema } from "../logo/accuracy.js";
|
|
4
5
|
import { MediaObjectTypeSchema } from "./object-type.js";
|
|
5
6
|
/**
|
|
6
7
|
* Managed media asset reference with resolved CDN URL and target metadata
|
|
7
8
|
*
|
|
8
9
|
* @openapiSchema MediaUpload
|
|
9
|
-
* @endpoint GET /v1/entities/{entityId}/
|
|
10
|
-
* @endpoint GET /v1/news/{newsId}/
|
|
11
|
-
* @endpoint GET /v1/people/{personId}/
|
|
10
|
+
* @endpoint GET /v1/entities/{entityId}/logo
|
|
11
|
+
* @endpoint GET /v1/news/{newsId}/thumbnail
|
|
12
|
+
* @endpoint GET /v1/people/{personId}/photo
|
|
12
13
|
* @contractShape media.upload
|
|
13
14
|
* @contractRole canonical
|
|
14
15
|
*/
|
|
15
16
|
export const MediaUploadSchema = z.object({
|
|
17
|
+
/** Entity logo writes only: the brand-match verdict the write's gate computed on these bytes; absent on reads, photos, thumbnails, and brand-match overrides. */
|
|
18
|
+
accuracy: LogoAccuracySchema.nullish(),
|
|
16
19
|
/** Resolved API CDN URL */
|
|
17
20
|
cdnUrl: z.string(),
|
|
18
21
|
/** Earliest recorded write timestamp for this media asset slot from res_provenance_event (when this entity/person/news first received any image in this slot). */
|
|
@@ -98,7 +98,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
98
98
|
typeTechnologyUsed?: string[] | undefined;
|
|
99
99
|
url?: string | null | undefined;
|
|
100
100
|
urlDomain?: string | null | undefined;
|
|
101
|
-
urlMatchMode?: "domain" | "hostPath" | undefined;
|
|
101
|
+
urlMatchMode?: "domain" | "hostPath" | null | undefined;
|
|
102
102
|
urlType?: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube" | null | undefined;
|
|
103
103
|
yearFoundedRange?: {
|
|
104
104
|
max?: number | null | undefined;
|
|
@@ -212,7 +212,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
212
212
|
typeTechnologyUsed?: string[] | undefined;
|
|
213
213
|
url?: string | null | undefined;
|
|
214
214
|
urlDomain?: string | null | undefined;
|
|
215
|
-
urlMatchMode?: "domain" | "hostPath" | undefined;
|
|
215
|
+
urlMatchMode?: "domain" | "hostPath" | null | undefined;
|
|
216
216
|
urlType?: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube" | null | undefined;
|
|
217
217
|
yearFoundedRange?: {
|
|
218
218
|
max?: number | null | undefined;
|
|
@@ -181,6 +181,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
181
181
|
modulePath: "redirect/current-slug-owner",
|
|
182
182
|
schemaName: "CurrentSlugOwnerSchema",
|
|
183
183
|
},
|
|
184
|
+
DatasourceProvenanceActorType: {
|
|
185
|
+
modulePath: "datasource/provenance-actor-type",
|
|
186
|
+
schemaName: "DatasourceProvenanceActorTypeSchema",
|
|
187
|
+
},
|
|
184
188
|
DatasourceSourceMetadata: {
|
|
185
189
|
modulePath: "datasource/source-metadata",
|
|
186
190
|
schemaName: "DatasourceSourceMetadataSchema",
|
|
@@ -503,12 +507,16 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
503
507
|
JobState: { modulePath: "job/state", schemaName: "JobStateSchema" },
|
|
504
508
|
JsonValue: { modulePath: "http/json-value", schemaName: "JsonValueSchema" },
|
|
505
509
|
LinkSearch: { modulePath: "link/search", schemaName: "LinkSearchSchema" },
|
|
510
|
+
LogoAccuracy: { modulePath: "logo/accuracy", schemaName: "LogoAccuracySchema" },
|
|
511
|
+
LogoAccuracyReference: {
|
|
512
|
+
modulePath: "logo/accuracy-reference",
|
|
513
|
+
schemaName: "LogoAccuracyReferenceSchema",
|
|
514
|
+
},
|
|
506
515
|
LookupJob: { modulePath: "lookup/job", schemaName: "LookupJobSchema" },
|
|
507
516
|
LookupJobMention: { modulePath: "lookup/job-mention", schemaName: "LookupJobMentionSchema" },
|
|
508
517
|
LookupJobMutation: { modulePath: "lookup/job-mutation", schemaName: "LookupJobMutationSchema" },
|
|
509
518
|
LookupMention: { modulePath: "lookup/mention", schemaName: "LookupMentionSchema" },
|
|
510
519
|
MediaObjectType: { modulePath: "media/object-type", schemaName: "MediaObjectTypeSchema" },
|
|
511
|
-
MediaSlot: { modulePath: "media/slot", schemaName: "MediaSlotSchema" },
|
|
512
520
|
MediaUpload: { modulePath: "media/upload", schemaName: "MediaUploadSchema" },
|
|
513
521
|
MentionLookup: { modulePath: "mention/lookup", schemaName: "MentionLookupSchema" },
|
|
514
522
|
NaturalSearch: { modulePath: "natural/search", schemaName: "NaturalSearchSchema" },
|
|
@@ -104,7 +104,7 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
104
104
|
typeTechnologyUsed?: string[] | undefined;
|
|
105
105
|
url?: string | null | undefined;
|
|
106
106
|
urlDomain?: string | null | undefined;
|
|
107
|
-
urlMatchMode?: "domain" | "hostPath" | undefined;
|
|
107
|
+
urlMatchMode?: "domain" | "hostPath" | null | undefined;
|
|
108
108
|
urlType?: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube" | null | undefined;
|
|
109
109
|
yearFoundedRange?: {
|
|
110
110
|
max?: number | null | undefined;
|
|
@@ -201,7 +201,7 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
201
201
|
typeTechnologyUsed?: string[] | undefined;
|
|
202
202
|
url?: string | null | undefined;
|
|
203
203
|
urlDomain?: string | null | undefined;
|
|
204
|
-
urlMatchMode?: "domain" | "hostPath" | undefined;
|
|
204
|
+
urlMatchMode?: "domain" | "hostPath" | null | undefined;
|
|
205
205
|
urlType?: "alternativeto" | "angellist" | "appstore" | "awsmarketplace" | "bloomberg" | "capterra" | "changelog" | "chromewebstore" | "crates" | "crunchbase" | "discord" | "dockerhub" | "documentation" | "facebook" | "forum" | "g2" | "gartnerpeerinsights" | "getapp" | "github" | "glassdoor" | "googleplay" | "homebrew" | "hubspotmarketplace" | "huggingface" | "instagram" | "linkedin" | "maven" | "morningstar" | "nasdaq" | "npm" | "nyse" | "pitchbook" | "producthunt" | "pypi" | "roadmap" | "salesforceappexchange" | "slackappdirectory" | "sourceforge" | "statuspage" | "subreddit" | "support" | "theorg" | "tiktok" | "trustpilot" | "trustradius" | "twitter" | "vscodemarketplace" | "website" | "wellfound" | "wikipedia" | "ycombinator" | "youtube" | null | undefined;
|
|
206
206
|
yearFoundedRange?: {
|
|
207
207
|
max?: number | null | undefined;
|
package/dist/search/search.js
CHANGED
|
@@ -13,7 +13,7 @@ const SearchSchemaDefinition = z.object({
|
|
|
13
13
|
resultLimit: z.int().nullish(),
|
|
14
14
|
/** Search text sent to the upstream web search provider */
|
|
15
15
|
search: z.string(),
|
|
16
|
-
/** Optional caller identity, up to 64 characters, persisted for source-document attribution and abuse triage.
|
|
16
|
+
/** Optional caller identity, up to 64 characters, persisted for source-document attribution and abuse triage. Agent requests derive `<agentModel>-<agentChassis>` from the validated provenance actor instead of this field. */
|
|
17
17
|
source: z.string().max(64).nullish(),
|
|
18
18
|
});
|
|
19
19
|
/**
|
package/package.json
CHANGED
package/dist/media/slot.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { z } from "zod/v4";
|
|
2
|
-
/**
|
|
3
|
-
* Media slot on an owner record, addressed by the {mediaType} path segment.
|
|
4
|
-
*
|
|
5
|
-
* @openapiSchema MediaSlot
|
|
6
|
-
* @endpoint GET /v1/entities/{entityId}/media/{mediaType}
|
|
7
|
-
* @endpoint GET /v1/news/{newsId}/media/{mediaType}
|
|
8
|
-
* @endpoint GET /v1/people/{personId}/media/{mediaType}
|
|
9
|
-
* @contractShape media.slot
|
|
10
|
-
* @contractRole canonical
|
|
11
|
-
*/
|
|
12
|
-
export declare const MediaSlotSchema: z.ZodEnum<{
|
|
13
|
-
logo: "logo";
|
|
14
|
-
photo: "photo";
|
|
15
|
-
thumbnail: "thumbnail";
|
|
16
|
-
}>;
|
|
17
|
-
export type MediaSlot = z.infer<typeof MediaSlotSchema>;
|
|
18
|
-
//# sourceMappingURL=slot.d.ts.map
|
package/dist/media/slot.js
DELETED
|
@@ -1,14 +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
|
-
/**
|
|
4
|
-
* Media slot on an owner record, addressed by the {mediaType} path segment.
|
|
5
|
-
*
|
|
6
|
-
* @openapiSchema MediaSlot
|
|
7
|
-
* @endpoint GET /v1/entities/{entityId}/media/{mediaType}
|
|
8
|
-
* @endpoint GET /v1/news/{newsId}/media/{mediaType}
|
|
9
|
-
* @endpoint GET /v1/people/{personId}/media/{mediaType}
|
|
10
|
-
* @contractShape media.slot
|
|
11
|
-
* @contractRole canonical
|
|
12
|
-
*/
|
|
13
|
-
export const MediaSlotSchema = z.enum(["logo", "photo", "thumbnail"]);
|
|
14
|
-
//# sourceMappingURL=slot.js.map
|