@aventurevc/api-schemas 0.8.237 → 0.8.239
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/agent/task-preset-catalog.d.ts +2 -2
- package/dist/agent/task-preset-execution.d.ts +21 -0
- package/dist/agent/task-preset-execution.js +14 -0
- package/dist/agent/task-preset.d.ts +7 -2
- package/dist/agent/task-preset.js +2 -1
- package/dist/entity/accelerator-participation.d.ts +8 -9
- package/dist/entity/acquisition.d.ts +16 -18
- package/dist/entity/brand.d.ts +51 -44
- package/dist/entity/detail.d.ts +16 -18
- package/dist/entity/enrichment.d.ts +43 -35
- package/dist/entity/entity.d.ts +8 -9
- package/dist/entity/fundraise-transaction-entity.d.ts +8 -9
- package/dist/entity/fundraise-transaction.d.ts +8 -9
- package/dist/entity/investor-participation.d.ts +16 -18
- package/dist/entity/list.d.ts +16 -18
- package/dist/entity/name-alias-entity-alias-type.d.ts +8 -13
- package/dist/entity/name-alias-entity-alias-type.js +8 -9
- package/dist/entity/person-association-filter.d.ts +1 -0
- package/dist/entity/person-association-filter.js +1 -0
- package/dist/entity/person-association.d.ts +86 -70
- package/dist/entity/provider.d.ts +8 -9
- package/dist/entity/relationship.d.ts +8 -9
- package/dist/entity/resolution.d.ts +16 -18
- package/dist/entity/similarity-summary.d.ts +51 -44
- package/dist/entity/url-link.d.ts +43 -48
- package/dist/entity/url-link.js +23 -24
- package/dist/federated/search.d.ts +648 -82
- package/dist/harness/run-detail.d.ts +16 -18
- package/dist/identification/subject.js +1 -1
- package/dist/link/search.d.ts +632 -64
- package/dist/natural/search-result.d.ts +568 -0
- package/dist/openapi-component-manifest.js +4 -0
- package/dist/pagination/schemas.d.ts +153 -132
- package/dist/person/detail.d.ts +86 -70
- package/dist/person/enrichment.d.ts +43 -35
- package/dist/person/filter.d.ts +2 -0
- package/dist/person/filter.js +3 -1
- package/dist/person/graph-career-context.d.ts +8 -9
- package/dist/person/graph-co-investor.d.ts +8 -9
- package/dist/person/graph-similar-entity.d.ts +8 -9
- package/dist/person/invested-company.d.ts +8 -9
- package/dist/person/list-array-filter.d.ts +1 -0
- package/dist/person/list-array-filter.js +1 -0
- package/dist/person/similarity-result.d.ts +86 -70
- package/dist/research/finding.js +1 -1
- package/dist/search/interpretation.d.ts +450 -0
- package/dist/search/interpretation.js +3 -0
- package/dist/search/judgment.d.ts +8 -9
- package/dist/shared/search.d.ts +632 -64
- package/dist/unique/id-type.d.ts +3 -1
- package/dist/unique/id-type.js +2 -1
- package/dist/unique/id.d.ts +2 -0
- package/dist/url/host-form-resolution.d.ts +1 -1
- package/dist/url/host-form-resolution.js +3 -3
- package/package.json +1 -1
|
@@ -1,14 +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 { EntityAliasTypeSchema } from "./alias-type.js";
|
|
4
|
-
const EntityNameAliasEntityAliasTypeSchemaDefinition = z.object({
|
|
5
|
-
/** Show this alias in public name displays. */
|
|
6
|
-
displayable: z.boolean().nullish(),
|
|
7
|
-
/** Alternate name text */
|
|
8
|
-
name: z.string(),
|
|
9
|
-
/** Alias type classification */
|
|
10
|
-
type: EntityAliasTypeSchema.nullish(),
|
|
11
|
-
});
|
|
12
4
|
/**
|
|
13
5
|
* Alternate name used for search and display
|
|
14
6
|
*
|
|
@@ -54,5 +46,12 @@ const EntityNameAliasEntityAliasTypeSchemaDefinition = z.object({
|
|
|
54
46
|
* @contractShape entity.name-alias-entity-alias-type
|
|
55
47
|
* @contractRole canonical
|
|
56
48
|
*/
|
|
57
|
-
export const EntityNameAliasEntityAliasTypeSchema =
|
|
49
|
+
export const EntityNameAliasEntityAliasTypeSchema = z.object({
|
|
50
|
+
/** Show this alias in public name displays. */
|
|
51
|
+
displayable: z.boolean().nullish(),
|
|
52
|
+
/** Alternate name text */
|
|
53
|
+
name: z.string(),
|
|
54
|
+
/** Alias type classification */
|
|
55
|
+
type: EntityAliasTypeSchema.nullish(),
|
|
56
|
+
});
|
|
58
57
|
//# sourceMappingURL=name-alias-entity-alias-type.js.map
|
|
@@ -11,6 +11,7 @@ import { z } from "zod/v4";
|
|
|
11
11
|
* @endpoint POST /v1/directory/shared
|
|
12
12
|
* @endpoint POST /v1/people/search
|
|
13
13
|
* @endpoint POST /v1/search
|
|
14
|
+
* @endpoint POST /v1/search/natural/entities
|
|
14
15
|
* @endpoint POST /v1/search/natural/people
|
|
15
16
|
* @endpoint POST /v1/search/shared
|
|
16
17
|
* @usedBySchema PersonFilterSchema
|
|
@@ -13,6 +13,7 @@ import { EntityFilterSchema } from "./filter.js";
|
|
|
13
13
|
* @endpoint POST /v1/directory/shared
|
|
14
14
|
* @endpoint POST /v1/people/search
|
|
15
15
|
* @endpoint POST /v1/search
|
|
16
|
+
* @endpoint POST /v1/search/natural/entities
|
|
16
17
|
* @endpoint POST /v1/search/natural/people
|
|
17
18
|
* @endpoint POST /v1/search/shared
|
|
18
19
|
* @usedBySchema PersonFilterSchema
|
|
@@ -105,41 +105,49 @@ export declare const EntityPersonAssociationSchema: z.ZodObject<{
|
|
|
105
105
|
Product: "Product";
|
|
106
106
|
Service: "Service";
|
|
107
107
|
}>>>;
|
|
108
|
-
entityUrlLink: z.ZodArray<z.
|
|
109
|
-
crawlCdnProvider
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
108
|
+
entityUrlLink: z.ZodArray<z.ZodObject<{
|
|
109
|
+
crawlCdnProvider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
110
|
+
akamai: "akamai";
|
|
111
|
+
awsCloudfront: "awsCloudfront";
|
|
112
|
+
azureCdn: "azureCdn";
|
|
113
|
+
bunny: "bunny";
|
|
114
|
+
cdn77: "cdn77";
|
|
115
|
+
cdnetworks: "cdnetworks";
|
|
116
|
+
cloudflare: "cloudflare";
|
|
117
|
+
digitalocean: "digitalocean";
|
|
118
|
+
fastly: "fastly";
|
|
119
|
+
gcore: "gcore";
|
|
120
|
+
googlecloudCdn: "googlecloudCdn";
|
|
121
|
+
incapsula: "incapsula";
|
|
122
|
+
keycdn: "keycdn";
|
|
123
|
+
leaseweb: "leaseweb";
|
|
124
|
+
netlify: "netlify";
|
|
125
|
+
none: "none";
|
|
126
|
+
stackpath: "stackpath";
|
|
127
|
+
sucuri: "sucuri";
|
|
128
|
+
unknown: "unknown";
|
|
129
|
+
vercel: "vercel";
|
|
130
|
+
}>>>;
|
|
131
|
+
crawlRenderMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
132
|
+
jsEnhanced: "jsEnhanced";
|
|
133
|
+
jsRequired: "jsRequired";
|
|
134
|
+
static: "static";
|
|
135
|
+
}>>>;
|
|
136
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
137
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
138
|
+
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
139
|
+
isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
140
|
+
owner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
141
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
142
|
+
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
143
|
+
}, z.core.$strip>>>;
|
|
144
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
145
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
146
|
+
statusChecked: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
147
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
148
|
+
url: z.ZodString;
|
|
149
|
+
urlType: z.ZodString;
|
|
150
|
+
}, z.core.$strip>>;
|
|
143
151
|
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
144
152
|
personAddress: z.ZodArray<z.ZodObject<{
|
|
145
153
|
address: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -199,41 +207,49 @@ export declare const EntityPersonAssociationSchema: z.ZodObject<{
|
|
|
199
207
|
}, import("../person/image.ts").PersonImageSchemaInput>>;
|
|
200
208
|
personName: z.ZodString;
|
|
201
209
|
personSlug: z.ZodString;
|
|
202
|
-
personUrlLink: z.ZodArray<z.
|
|
203
|
-
crawlCdnProvider
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
210
|
+
personUrlLink: z.ZodArray<z.ZodObject<{
|
|
211
|
+
crawlCdnProvider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
212
|
+
akamai: "akamai";
|
|
213
|
+
awsCloudfront: "awsCloudfront";
|
|
214
|
+
azureCdn: "azureCdn";
|
|
215
|
+
bunny: "bunny";
|
|
216
|
+
cdn77: "cdn77";
|
|
217
|
+
cdnetworks: "cdnetworks";
|
|
218
|
+
cloudflare: "cloudflare";
|
|
219
|
+
digitalocean: "digitalocean";
|
|
220
|
+
fastly: "fastly";
|
|
221
|
+
gcore: "gcore";
|
|
222
|
+
googlecloudCdn: "googlecloudCdn";
|
|
223
|
+
incapsula: "incapsula";
|
|
224
|
+
keycdn: "keycdn";
|
|
225
|
+
leaseweb: "leaseweb";
|
|
226
|
+
netlify: "netlify";
|
|
227
|
+
none: "none";
|
|
228
|
+
stackpath: "stackpath";
|
|
229
|
+
sucuri: "sucuri";
|
|
230
|
+
unknown: "unknown";
|
|
231
|
+
vercel: "vercel";
|
|
232
|
+
}>>>;
|
|
233
|
+
crawlRenderMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
234
|
+
jsEnhanced: "jsEnhanced";
|
|
235
|
+
jsRequired: "jsRequired";
|
|
236
|
+
static: "static";
|
|
237
|
+
}>>>;
|
|
238
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
239
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
240
|
+
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
241
|
+
isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
242
|
+
owner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
243
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
244
|
+
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
245
|
+
}, z.core.$strip>>>;
|
|
246
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
247
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
248
|
+
statusChecked: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
249
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
250
|
+
url: z.ZodString;
|
|
251
|
+
urlType: z.ZodString;
|
|
252
|
+
}, z.core.$strip>>;
|
|
237
253
|
score: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
238
254
|
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
239
255
|
titleFunction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -41,15 +41,14 @@ export declare const EntityProviderSchema: z.ZodObject<{
|
|
|
41
41
|
logoSquare?: string | null | undefined;
|
|
42
42
|
}, import("./image.ts").EntityImageSchemaInput>>;
|
|
43
43
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
44
|
-
nameAlias: z.ZodArray<z.
|
|
45
|
-
displayable
|
|
46
|
-
name:
|
|
47
|
-
type
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
|
|
44
|
+
nameAlias: z.ZodArray<z.ZodObject<{
|
|
45
|
+
displayable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
48
|
+
alternativeDba: "alternativeDba";
|
|
49
|
+
relatedLegal: "relatedLegal";
|
|
50
|
+
}>>>;
|
|
51
|
+
}, z.core.$strip>>;
|
|
53
52
|
nameBrand: z.ZodString;
|
|
54
53
|
nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
54
|
operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -105,15 +105,14 @@ declare const EntityRelationshipSchemaDefinition: z.ZodObject<{
|
|
|
105
105
|
logoSquare?: string | null | undefined;
|
|
106
106
|
}, import("./image.ts").EntityImageSchemaInput>>;
|
|
107
107
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
108
|
-
nameAlias: z.ZodArray<z.
|
|
109
|
-
displayable
|
|
110
|
-
name:
|
|
111
|
-
type
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
|
|
108
|
+
nameAlias: z.ZodArray<z.ZodObject<{
|
|
109
|
+
displayable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
110
|
+
name: z.ZodString;
|
|
111
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
112
|
+
alternativeDba: "alternativeDba";
|
|
113
|
+
relatedLegal: "relatedLegal";
|
|
114
|
+
}>>>;
|
|
115
|
+
}, z.core.$strip>>;
|
|
117
116
|
nameBrand: z.ZodString;
|
|
118
117
|
nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
118
|
operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -16,15 +16,14 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
16
16
|
logoSquare?: string | null | undefined;
|
|
17
17
|
}, import("./image.ts").EntityImageSchemaInput>>;
|
|
18
18
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
19
|
-
nameAlias: z.ZodArray<z.
|
|
20
|
-
displayable
|
|
21
|
-
name:
|
|
22
|
-
type
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
|
|
19
|
+
nameAlias: z.ZodArray<z.ZodObject<{
|
|
20
|
+
displayable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
+
name: z.ZodString;
|
|
22
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
23
|
+
alternativeDba: "alternativeDba";
|
|
24
|
+
relatedLegal: "relatedLegal";
|
|
25
|
+
}>>>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
28
27
|
nameBrand: z.ZodString;
|
|
29
28
|
nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
29
|
operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2431,15 +2430,14 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
2431
2430
|
logoSquare?: string | null | undefined;
|
|
2432
2431
|
}, import("./image.ts").EntityImageSchemaInput>>;
|
|
2433
2432
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
2434
|
-
nameAlias: z.ZodArray<z.
|
|
2435
|
-
displayable
|
|
2436
|
-
name:
|
|
2437
|
-
type
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
}, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
|
|
2433
|
+
nameAlias: z.ZodArray<z.ZodObject<{
|
|
2434
|
+
displayable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2435
|
+
name: z.ZodString;
|
|
2436
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2437
|
+
alternativeDba: "alternativeDba";
|
|
2438
|
+
relatedLegal: "relatedLegal";
|
|
2439
|
+
}>>>;
|
|
2440
|
+
}, z.core.$strip>>;
|
|
2443
2441
|
nameBrand: z.ZodString;
|
|
2444
2442
|
nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2445
2443
|
operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14,15 +14,14 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
|
|
|
14
14
|
logoSquare?: string | null | undefined;
|
|
15
15
|
}, import("./image.ts").EntityImageSchemaInput>>;
|
|
16
16
|
lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
17
|
-
nameAlias: z.ZodArray<z.
|
|
18
|
-
displayable
|
|
19
|
-
name:
|
|
20
|
-
type
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
|
|
17
|
+
nameAlias: z.ZodArray<z.ZodObject<{
|
|
18
|
+
displayable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
name: z.ZodString;
|
|
20
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
21
|
+
alternativeDba: "alternativeDba";
|
|
22
|
+
relatedLegal: "relatedLegal";
|
|
23
|
+
}>>>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
26
25
|
nameBrand: z.ZodString;
|
|
27
26
|
nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
27
|
operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -165,41 +164,49 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
|
|
|
165
164
|
rank: number;
|
|
166
165
|
sharedSectionCount?: number | null | undefined;
|
|
167
166
|
}, import("./similarity-context.ts").EntitySimilarityContextSchemaInput>>;
|
|
168
|
-
urlLink: z.ZodArray<z.
|
|
169
|
-
crawlCdnProvider
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
167
|
+
urlLink: z.ZodArray<z.ZodObject<{
|
|
168
|
+
crawlCdnProvider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
169
|
+
akamai: "akamai";
|
|
170
|
+
awsCloudfront: "awsCloudfront";
|
|
171
|
+
azureCdn: "azureCdn";
|
|
172
|
+
bunny: "bunny";
|
|
173
|
+
cdn77: "cdn77";
|
|
174
|
+
cdnetworks: "cdnetworks";
|
|
175
|
+
cloudflare: "cloudflare";
|
|
176
|
+
digitalocean: "digitalocean";
|
|
177
|
+
fastly: "fastly";
|
|
178
|
+
gcore: "gcore";
|
|
179
|
+
googlecloudCdn: "googlecloudCdn";
|
|
180
|
+
incapsula: "incapsula";
|
|
181
|
+
keycdn: "keycdn";
|
|
182
|
+
leaseweb: "leaseweb";
|
|
183
|
+
netlify: "netlify";
|
|
184
|
+
none: "none";
|
|
185
|
+
stackpath: "stackpath";
|
|
186
|
+
sucuri: "sucuri";
|
|
187
|
+
unknown: "unknown";
|
|
188
|
+
vercel: "vercel";
|
|
189
|
+
}>>>;
|
|
190
|
+
crawlRenderMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
191
|
+
jsEnhanced: "jsEnhanced";
|
|
192
|
+
jsRequired: "jsRequired";
|
|
193
|
+
static: "static";
|
|
194
|
+
}>>>;
|
|
195
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
196
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
197
|
+
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
198
|
+
isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
199
|
+
owner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
200
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
201
|
+
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
202
|
+
}, z.core.$strip>>>;
|
|
203
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
204
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
205
|
+
statusChecked: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
206
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
207
|
+
url: z.ZodString;
|
|
208
|
+
urlType: z.ZodString;
|
|
209
|
+
}, z.core.$strip>>;
|
|
203
210
|
}, z.core.$strip>;
|
|
204
211
|
type EntitySimilaritySummaryDefinition = z.infer<typeof EntitySimilaritySummarySchemaDefinition>;
|
|
205
212
|
export interface EntitySimilaritySummarySchemaInput extends z.input<typeof EntitySimilaritySummarySchemaDefinition> {
|
|
@@ -1,50 +1,4 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
declare const EntityUrlLinkSchemaDefinition: z.ZodObject<{
|
|
3
|
-
crawlCdnProvider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4
|
-
akamai: "akamai";
|
|
5
|
-
awsCloudfront: "awsCloudfront";
|
|
6
|
-
azureCdn: "azureCdn";
|
|
7
|
-
bunny: "bunny";
|
|
8
|
-
cdn77: "cdn77";
|
|
9
|
-
cdnetworks: "cdnetworks";
|
|
10
|
-
cloudflare: "cloudflare";
|
|
11
|
-
digitalocean: "digitalocean";
|
|
12
|
-
fastly: "fastly";
|
|
13
|
-
gcore: "gcore";
|
|
14
|
-
googlecloudCdn: "googlecloudCdn";
|
|
15
|
-
incapsula: "incapsula";
|
|
16
|
-
keycdn: "keycdn";
|
|
17
|
-
leaseweb: "leaseweb";
|
|
18
|
-
netlify: "netlify";
|
|
19
|
-
none: "none";
|
|
20
|
-
stackpath: "stackpath";
|
|
21
|
-
sucuri: "sucuri";
|
|
22
|
-
unknown: "unknown";
|
|
23
|
-
vercel: "vercel";
|
|
24
|
-
}>>>;
|
|
25
|
-
crawlRenderMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
26
|
-
jsEnhanced: "jsEnhanced";
|
|
27
|
-
jsRequired: "jsRequired";
|
|
28
|
-
static: "static";
|
|
29
|
-
}>>>;
|
|
30
|
-
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
31
|
-
id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
32
|
-
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
33
|
-
isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
34
|
-
owner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
|
-
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
36
|
-
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
37
|
-
}, z.core.$strip>>>;
|
|
38
|
-
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
statusChecked: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
41
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
42
|
-
url: z.ZodString;
|
|
43
|
-
urlType: z.ZodString;
|
|
44
|
-
}, z.core.$strip>;
|
|
45
|
-
type EntityUrlLinkDefinition = z.infer<typeof EntityUrlLinkSchemaDefinition>;
|
|
46
|
-
export interface EntityUrlLinkSchemaInput extends z.input<typeof EntityUrlLinkSchemaDefinition> {
|
|
47
|
-
}
|
|
48
2
|
/**
|
|
49
3
|
* 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.
|
|
50
4
|
*
|
|
@@ -91,7 +45,48 @@ export interface EntityUrlLinkSchemaInput extends z.input<typeof EntityUrlLinkSc
|
|
|
91
45
|
* @contractShape entity.url-link
|
|
92
46
|
* @contractRole canonical
|
|
93
47
|
*/
|
|
94
|
-
export declare const EntityUrlLinkSchema: z.
|
|
48
|
+
export declare const EntityUrlLinkSchema: z.ZodObject<{
|
|
49
|
+
crawlCdnProvider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
50
|
+
akamai: "akamai";
|
|
51
|
+
awsCloudfront: "awsCloudfront";
|
|
52
|
+
azureCdn: "azureCdn";
|
|
53
|
+
bunny: "bunny";
|
|
54
|
+
cdn77: "cdn77";
|
|
55
|
+
cdnetworks: "cdnetworks";
|
|
56
|
+
cloudflare: "cloudflare";
|
|
57
|
+
digitalocean: "digitalocean";
|
|
58
|
+
fastly: "fastly";
|
|
59
|
+
gcore: "gcore";
|
|
60
|
+
googlecloudCdn: "googlecloudCdn";
|
|
61
|
+
incapsula: "incapsula";
|
|
62
|
+
keycdn: "keycdn";
|
|
63
|
+
leaseweb: "leaseweb";
|
|
64
|
+
netlify: "netlify";
|
|
65
|
+
none: "none";
|
|
66
|
+
stackpath: "stackpath";
|
|
67
|
+
sucuri: "sucuri";
|
|
68
|
+
unknown: "unknown";
|
|
69
|
+
vercel: "vercel";
|
|
70
|
+
}>>>;
|
|
71
|
+
crawlRenderMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
72
|
+
jsEnhanced: "jsEnhanced";
|
|
73
|
+
jsRequired: "jsRequired";
|
|
74
|
+
static: "static";
|
|
75
|
+
}>>>;
|
|
76
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
77
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
78
|
+
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
79
|
+
isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
80
|
+
owner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
81
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
82
|
+
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
83
|
+
}, z.core.$strip>>>;
|
|
84
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86
|
+
statusChecked: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
87
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
88
|
+
url: z.ZodString;
|
|
89
|
+
urlType: z.ZodString;
|
|
90
|
+
}, z.core.$strip>;
|
|
95
91
|
export type EntityUrlLink = z.infer<typeof EntityUrlLinkSchema>;
|
|
96
|
-
export {};
|
|
97
92
|
//# sourceMappingURL=url-link.d.ts.map
|
package/dist/entity/url-link.js
CHANGED
|
@@ -4,29 +4,6 @@ import { EntityPersonOwnerSchema } from "./person-owner.js";
|
|
|
4
4
|
import { EntityUrlCrawlCdnProviderSchema } from "./url-crawl-cdn-provider.js";
|
|
5
5
|
import { EntityUrlCrawlRenderModeSchema } from "./url-crawl-render-mode.js";
|
|
6
6
|
import { EntityUrlTypeSchema } from "./url-type.js";
|
|
7
|
-
const EntityUrlLinkSchemaDefinition = z.object({
|
|
8
|
-
/** CDN provider from the latest URL probe. */
|
|
9
|
-
crawlCdnProvider: EntityUrlCrawlCdnProviderSchema.nullish(),
|
|
10
|
-
/** Render mode from the latest URL probe. */
|
|
11
|
-
crawlRenderMode: EntityUrlCrawlRenderModeSchema.nullish(),
|
|
12
|
-
createdAt: z.iso.datetime({ offset: true }).nullish(),
|
|
13
|
-
id: z.int().nullish(),
|
|
14
|
-
/** `true` = owner currently uses this URL; `false` = historical/former (rebrand source domain, deprecated platform handle). The lifecycle state lives here, NEVER in the `urlType` discriminator. */
|
|
15
|
-
isCurrent: z.boolean().nullish(),
|
|
16
|
-
/** `true` = canonical/primary URL of this `urlType` for this owner. Only one row per (owner, urlType) may be `isCurrent=true` AND `isPrimary=true`. Retired rows are always non-primary, including when a write requests otherwise. */
|
|
17
|
-
isPrimary: z.boolean().nullish(),
|
|
18
|
-
/** Owning record, nested ids only: owner.entityId or owner.personId — exactly one is set, and no name fields. Writes are scoped by the owning entity/person route; owner is never a write field. */
|
|
19
|
-
owner: EntityPersonOwnerSchema.nullish(),
|
|
20
|
-
sourceId: z.string().nullish(),
|
|
21
|
-
/** Latest URL status observation; a later probe may replace the submitted status. */
|
|
22
|
-
status: z.string().nullish(),
|
|
23
|
-
/** Time of the latest URL status observation. */
|
|
24
|
-
statusChecked: z.iso.datetime({ offset: true }).nullish(),
|
|
25
|
-
updatedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
26
|
-
/** Canonical absolute URL after storage and live same-site host normalization. */
|
|
27
|
-
url: z.string(),
|
|
28
|
-
urlType: EntityUrlTypeSchema,
|
|
29
|
-
});
|
|
30
7
|
/**
|
|
31
8
|
* 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.
|
|
32
9
|
*
|
|
@@ -73,5 +50,27 @@ const EntityUrlLinkSchemaDefinition = z.object({
|
|
|
73
50
|
* @contractShape entity.url-link
|
|
74
51
|
* @contractRole canonical
|
|
75
52
|
*/
|
|
76
|
-
export const EntityUrlLinkSchema =
|
|
53
|
+
export const EntityUrlLinkSchema = z.object({
|
|
54
|
+
/** CDN provider from the latest URL probe. */
|
|
55
|
+
crawlCdnProvider: EntityUrlCrawlCdnProviderSchema.nullish(),
|
|
56
|
+
/** Render mode from the latest URL probe. */
|
|
57
|
+
crawlRenderMode: EntityUrlCrawlRenderModeSchema.nullish(),
|
|
58
|
+
createdAt: z.iso.datetime({ offset: true }).nullish(),
|
|
59
|
+
id: z.int().nullish(),
|
|
60
|
+
/** `true` = owner currently uses this URL; `false` = historical/former (rebrand source domain, deprecated platform handle). The lifecycle state lives here, NEVER in the `urlType` discriminator. */
|
|
61
|
+
isCurrent: z.boolean().nullish(),
|
|
62
|
+
/** `true` = canonical/primary URL of this `urlType` for this owner. Only one row per (owner, urlType) may be `isCurrent=true` AND `isPrimary=true`. Retired rows are always non-primary, including when a write requests otherwise. */
|
|
63
|
+
isPrimary: z.boolean().nullish(),
|
|
64
|
+
/** Owning record, nested ids only: owner.entityId or owner.personId — exactly one is set, and no name fields. Writes are scoped by the owning entity/person route; owner is never a write field. */
|
|
65
|
+
owner: EntityPersonOwnerSchema.nullish(),
|
|
66
|
+
sourceId: z.string().nullish(),
|
|
67
|
+
/** Latest URL status observation; a later probe may replace the submitted status. */
|
|
68
|
+
status: z.string().nullish(),
|
|
69
|
+
/** Time of the latest URL status observation. */
|
|
70
|
+
statusChecked: z.iso.datetime({ offset: true }).nullish(),
|
|
71
|
+
updatedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
72
|
+
/** Canonical absolute URL after storage and live same-site host normalization. */
|
|
73
|
+
url: z.string(),
|
|
74
|
+
urlType: EntityUrlTypeSchema,
|
|
75
|
+
});
|
|
77
76
|
//# sourceMappingURL=url-link.js.map
|