@aventurevc/api-schemas 0.8.238 → 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.
Files changed (54) hide show
  1. package/dist/agent/task-preset-catalog.d.ts +2 -2
  2. package/dist/agent/task-preset-execution.d.ts +21 -0
  3. package/dist/agent/task-preset-execution.js +14 -0
  4. package/dist/agent/task-preset.d.ts +7 -2
  5. package/dist/agent/task-preset.js +2 -1
  6. package/dist/entity/accelerator-participation.d.ts +8 -9
  7. package/dist/entity/acquisition.d.ts +16 -18
  8. package/dist/entity/brand.d.ts +51 -44
  9. package/dist/entity/detail.d.ts +16 -18
  10. package/dist/entity/enrichment.d.ts +43 -35
  11. package/dist/entity/entity.d.ts +8 -9
  12. package/dist/entity/fundraise-transaction-entity.d.ts +8 -9
  13. package/dist/entity/fundraise-transaction.d.ts +8 -9
  14. package/dist/entity/investor-participation.d.ts +16 -18
  15. package/dist/entity/list.d.ts +16 -18
  16. package/dist/entity/name-alias-entity-alias-type.d.ts +8 -13
  17. package/dist/entity/name-alias-entity-alias-type.js +8 -9
  18. package/dist/entity/person-association-filter.d.ts +1 -0
  19. package/dist/entity/person-association-filter.js +1 -0
  20. package/dist/entity/person-association.d.ts +86 -70
  21. package/dist/entity/provider.d.ts +8 -9
  22. package/dist/entity/relationship.d.ts +8 -9
  23. package/dist/entity/resolution.d.ts +16 -18
  24. package/dist/entity/similarity-summary.d.ts +51 -44
  25. package/dist/entity/url-link.d.ts +43 -48
  26. package/dist/entity/url-link.js +23 -24
  27. package/dist/federated/search.d.ts +648 -82
  28. package/dist/harness/run-detail.d.ts +16 -18
  29. package/dist/identification/subject.js +1 -1
  30. package/dist/link/search.d.ts +632 -64
  31. package/dist/natural/search-result.d.ts +568 -0
  32. package/dist/openapi-component-manifest.js +4 -0
  33. package/dist/pagination/schemas.d.ts +153 -132
  34. package/dist/person/detail.d.ts +86 -70
  35. package/dist/person/enrichment.d.ts +43 -35
  36. package/dist/person/filter.d.ts +2 -0
  37. package/dist/person/filter.js +2 -0
  38. package/dist/person/graph-career-context.d.ts +8 -9
  39. package/dist/person/graph-co-investor.d.ts +8 -9
  40. package/dist/person/graph-similar-entity.d.ts +8 -9
  41. package/dist/person/invested-company.d.ts +8 -9
  42. package/dist/person/list-array-filter.d.ts +1 -0
  43. package/dist/person/list-array-filter.js +1 -0
  44. package/dist/person/similarity-result.d.ts +86 -70
  45. package/dist/search/interpretation.d.ts +450 -0
  46. package/dist/search/interpretation.js +3 -0
  47. package/dist/search/judgment.d.ts +8 -9
  48. package/dist/shared/search.d.ts +632 -64
  49. package/dist/unique/id-type.d.ts +3 -1
  50. package/dist/unique/id-type.js +2 -1
  51. package/dist/unique/id.d.ts +2 -0
  52. package/dist/url/host-form-resolution.d.ts +1 -1
  53. package/dist/url/host-form-resolution.js +3 -3
  54. 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 = EntityNameAliasEntityAliasTypeSchemaDefinition;
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.ZodType<{
109
- crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
110
- crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
111
- createdAt?: string | null | undefined;
112
- id?: number | null | undefined;
113
- isCurrent?: boolean | null | undefined;
114
- isPrimary?: boolean | null | undefined;
115
- owner?: {
116
- entityId?: string | null | undefined;
117
- personId?: string | null | undefined;
118
- } | null | undefined;
119
- sourceId?: string | null | undefined;
120
- status?: string | null | undefined;
121
- statusChecked?: string | null | undefined;
122
- updatedAt?: string | null | undefined;
123
- url: string;
124
- urlType: string;
125
- }, import("./url-link.ts").EntityUrlLinkSchemaInput, z.core.$ZodTypeInternals<{
126
- crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
127
- crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
128
- createdAt?: string | null | undefined;
129
- id?: number | null | undefined;
130
- isCurrent?: boolean | null | undefined;
131
- isPrimary?: boolean | null | undefined;
132
- owner?: {
133
- entityId?: string | null | undefined;
134
- personId?: string | null | undefined;
135
- } | null | undefined;
136
- sourceId?: string | null | undefined;
137
- status?: string | null | undefined;
138
- statusChecked?: string | null | undefined;
139
- updatedAt?: string | null | undefined;
140
- url: string;
141
- urlType: string;
142
- }, import("./url-link.ts").EntityUrlLinkSchemaInput>>>;
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.ZodType<{
203
- crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
204
- crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
205
- createdAt?: string | null | undefined;
206
- id?: number | null | undefined;
207
- isCurrent?: boolean | null | undefined;
208
- isPrimary?: boolean | null | undefined;
209
- owner?: {
210
- entityId?: string | null | undefined;
211
- personId?: string | null | undefined;
212
- } | null | undefined;
213
- sourceId?: string | null | undefined;
214
- status?: string | null | undefined;
215
- statusChecked?: string | null | undefined;
216
- updatedAt?: string | null | undefined;
217
- url: string;
218
- urlType: string;
219
- }, import("./url-link.ts").EntityUrlLinkSchemaInput, z.core.$ZodTypeInternals<{
220
- crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
221
- crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
222
- createdAt?: string | null | undefined;
223
- id?: number | null | undefined;
224
- isCurrent?: boolean | null | undefined;
225
- isPrimary?: boolean | null | undefined;
226
- owner?: {
227
- entityId?: string | null | undefined;
228
- personId?: string | null | undefined;
229
- } | null | undefined;
230
- sourceId?: string | null | undefined;
231
- status?: string | null | undefined;
232
- statusChecked?: string | null | undefined;
233
- updatedAt?: string | null | undefined;
234
- url: string;
235
- urlType: string;
236
- }, import("./url-link.ts").EntityUrlLinkSchemaInput>>>;
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.ZodType<{
45
- displayable?: boolean | null | undefined;
46
- name: string;
47
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
48
- }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
49
- displayable?: boolean | null | undefined;
50
- name: string;
51
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
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.ZodType<{
109
- displayable?: boolean | null | undefined;
110
- name: string;
111
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
112
- }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
113
- displayable?: boolean | null | undefined;
114
- name: string;
115
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
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.ZodType<{
20
- displayable?: boolean | null | undefined;
21
- name: string;
22
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
23
- }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
24
- displayable?: boolean | null | undefined;
25
- name: string;
26
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
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.ZodType<{
2435
- displayable?: boolean | null | undefined;
2436
- name: string;
2437
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
2438
- }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
2439
- displayable?: boolean | null | undefined;
2440
- name: string;
2441
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
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.ZodType<{
18
- displayable?: boolean | null | undefined;
19
- name: string;
20
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
21
- }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
22
- displayable?: boolean | null | undefined;
23
- name: string;
24
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
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.ZodType<{
169
- crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
170
- crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
171
- createdAt?: string | null | undefined;
172
- id?: number | null | undefined;
173
- isCurrent?: boolean | null | undefined;
174
- isPrimary?: boolean | null | undefined;
175
- owner?: {
176
- entityId?: string | null | undefined;
177
- personId?: string | null | undefined;
178
- } | null | undefined;
179
- sourceId?: string | null | undefined;
180
- status?: string | null | undefined;
181
- statusChecked?: string | null | undefined;
182
- updatedAt?: string | null | undefined;
183
- url: string;
184
- urlType: string;
185
- }, import("./url-link.ts").EntityUrlLinkSchemaInput, z.core.$ZodTypeInternals<{
186
- crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
187
- crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
188
- createdAt?: string | null | undefined;
189
- id?: number | null | undefined;
190
- isCurrent?: boolean | null | undefined;
191
- isPrimary?: boolean | null | undefined;
192
- owner?: {
193
- entityId?: string | null | undefined;
194
- personId?: string | null | undefined;
195
- } | null | undefined;
196
- sourceId?: string | null | undefined;
197
- status?: string | null | undefined;
198
- statusChecked?: string | null | undefined;
199
- updatedAt?: string | null | undefined;
200
- url: string;
201
- urlType: string;
202
- }, import("./url-link.ts").EntityUrlLinkSchemaInput>>>;
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.ZodType<EntityUrlLinkDefinition, EntityUrlLinkSchemaInput>;
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
@@ -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 = EntityUrlLinkSchemaDefinition;
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