@aventurevc/api-schemas 0.8.184 → 0.8.185
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/address/association-role.d.ts +2 -0
- package/dist/address/association-role.js +2 -0
- package/dist/address/link.d.ts +29 -0
- package/dist/address/link.js +22 -0
- package/dist/billing/catalog-allowance.d.ts +11 -2
- package/dist/billing/catalog-allowance.js +2 -1
- package/dist/billing/catalog-tier.d.ts +2 -2
- package/dist/billing/catalog.d.ts +2 -2
- package/dist/cursor/slice-address-link.d.ts +32 -0
- package/dist/cursor/slice-address-link.js +15 -0
- package/dist/enrichment/enrichment.d.ts +17 -0
- package/dist/entity/person-owner.d.ts +1 -0
- package/dist/entity/person-owner.js +1 -0
- package/dist/federated/search.d.ts +8 -0
- package/dist/harness/run-detail.d.ts +17 -0
- package/dist/harness/run.d.ts +17 -0
- package/dist/harness/run.js +3 -0
- package/dist/help/resolution.js +1 -1
- package/dist/http/problem-detail.d.ts +11 -2
- package/dist/http/problem-detail.js +2 -3
- package/dist/link/search.d.ts +8 -0
- package/dist/natural/search-result.d.ts +7 -0
- package/dist/natural/search-result.js +3 -0
- package/dist/openapi-component-manifest.js +13 -0
- package/dist/prose/problem.d.ts +6 -0
- package/dist/prose/problem.js +3 -0
- package/dist/prose/violation.d.ts +6 -0
- package/dist/research/allowance-type.d.ts +31 -0
- package/dist/research/allowance-type.js +23 -0
- package/dist/search/discovery-filing.d.ts +27 -0
- package/dist/search/discovery-filing.js +25 -0
- package/dist/shared/search.d.ts +8 -0
- package/dist/url/duplicate-conflict.d.ts +1 -1
- package/dist/url/duplicate-conflict.js +2 -2
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
|
|
|
7
7
|
* @endpoint GET /v1/entities/lookup-exact
|
|
8
8
|
* @endpoint GET /v1/people/lookup-exact
|
|
9
9
|
* @endpoint GET /v1/search/link
|
|
10
|
+
* @endpoint GET /v1/addresses/{addressId}/links
|
|
10
11
|
* @endpoint GET /v1/entities/{entityId}
|
|
11
12
|
* @endpoint GET /v1/entities/{entityId}/addresses
|
|
12
13
|
* @endpoint GET /v1/entities/{entityId}/addresses/{addressJoinId}
|
|
@@ -35,6 +36,7 @@ import { z } from "zod/v4";
|
|
|
35
36
|
* @endpoint POST /v1/search/natural/entities
|
|
36
37
|
* @endpoint POST /v1/search/shared
|
|
37
38
|
* @usedBySchema AddressAssociationSchema
|
|
39
|
+
* @usedBySchema AddressLinkSchema
|
|
38
40
|
* @contractShape address.association-role
|
|
39
41
|
* @contractRole canonical
|
|
40
42
|
*/
|
|
@@ -8,6 +8,7 @@ import { z } from "zod/v4";
|
|
|
8
8
|
* @endpoint GET /v1/entities/lookup-exact
|
|
9
9
|
* @endpoint GET /v1/people/lookup-exact
|
|
10
10
|
* @endpoint GET /v1/search/link
|
|
11
|
+
* @endpoint GET /v1/addresses/{addressId}/links
|
|
11
12
|
* @endpoint GET /v1/entities/{entityId}
|
|
12
13
|
* @endpoint GET /v1/entities/{entityId}/addresses
|
|
13
14
|
* @endpoint GET /v1/entities/{entityId}/addresses/{addressJoinId}
|
|
@@ -36,6 +37,7 @@ import { z } from "zod/v4";
|
|
|
36
37
|
* @endpoint POST /v1/search/natural/entities
|
|
37
38
|
* @endpoint POST /v1/search/shared
|
|
38
39
|
* @usedBySchema AddressAssociationSchema
|
|
40
|
+
* @usedBySchema AddressLinkSchema
|
|
39
41
|
* @contractShape address.association-role
|
|
40
42
|
* @contractRole canonical
|
|
41
43
|
*/
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const AddressLinkSchemaDefinition: z.ZodObject<{
|
|
3
|
+
id: z.ZodInt;
|
|
4
|
+
owner: z.ZodObject<{
|
|
5
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
6
|
+
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
9
|
+
domicile: "domicile";
|
|
10
|
+
dominant: "dominant";
|
|
11
|
+
origin: "origin";
|
|
12
|
+
}>>>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
type AddressLinkDefinition = z.infer<typeof AddressLinkSchemaDefinition>;
|
|
15
|
+
export interface AddressLinkSchemaInput extends z.input<typeof AddressLinkSchemaDefinition> {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* One current or historical owner association to an address
|
|
19
|
+
*
|
|
20
|
+
* @openapiSchema AddressLink
|
|
21
|
+
* @endpoint GET /v1/addresses/{addressId}/links
|
|
22
|
+
* @usedBySchema CursorSliceAddressLinkSchema
|
|
23
|
+
* @contractShape address.link
|
|
24
|
+
* @contractRole canonical
|
|
25
|
+
*/
|
|
26
|
+
export declare const AddressLinkSchema: z.ZodType<AddressLinkDefinition, AddressLinkSchemaInput>;
|
|
27
|
+
export type AddressLink = z.infer<typeof AddressLinkSchema>;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=link.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { AddressAssociationRoleSchema } from "./association-role.js";
|
|
4
|
+
import { EntityPersonOwnerSchema } from "../entity/person-owner.js";
|
|
5
|
+
const AddressLinkSchemaDefinition = z.object({
|
|
6
|
+
/** Association join id, scoped to the entity or person owner kind */
|
|
7
|
+
id: z.int(),
|
|
8
|
+
owner: EntityPersonOwnerSchema,
|
|
9
|
+
/** Association role; null means unclassified */
|
|
10
|
+
role: AddressAssociationRoleSchema.nullish(),
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* One current or historical owner association to an address
|
|
14
|
+
*
|
|
15
|
+
* @openapiSchema AddressLink
|
|
16
|
+
* @endpoint GET /v1/addresses/{addressId}/links
|
|
17
|
+
* @usedBySchema CursorSliceAddressLinkSchema
|
|
18
|
+
* @contractShape address.link
|
|
19
|
+
* @contractRole canonical
|
|
20
|
+
*/
|
|
21
|
+
export const AddressLinkSchema = AddressLinkSchemaDefinition;
|
|
22
|
+
//# sourceMappingURL=link.js.map
|
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const BillingCatalogAllowanceSchemaDefinition: z.ZodObject<{
|
|
3
3
|
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4
|
-
type: z.ZodEnum<{
|
|
4
|
+
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
5
5
|
COMPANY: "COMPANY";
|
|
6
6
|
ENTITY_BRAND: "ENTITY_BRAND";
|
|
7
7
|
ENTITY_VIEW: "ENTITY_VIEW";
|
|
8
8
|
PERSON: "PERSON";
|
|
9
9
|
PERSON_VIEW: "PERSON_VIEW";
|
|
10
10
|
WEB_SEARCH: "WEB_SEARCH";
|
|
11
|
-
}
|
|
11
|
+
}>, z.ZodString]> & {
|
|
12
|
+
enum: {
|
|
13
|
+
COMPANY: "COMPANY";
|
|
14
|
+
ENTITY_BRAND: "ENTITY_BRAND";
|
|
15
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
16
|
+
PERSON: "PERSON";
|
|
17
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
18
|
+
WEB_SEARCH: "WEB_SEARCH";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
12
21
|
}, z.core.$strip>;
|
|
13
22
|
type BillingCatalogAllowanceDefinition = z.infer<typeof BillingCatalogAllowanceSchemaDefinition>;
|
|
14
23
|
export interface BillingCatalogAllowanceSchemaInput extends z.input<typeof BillingCatalogAllowanceSchemaDefinition> {
|
|
@@ -1,9 +1,10 @@
|
|
|
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
|
+
import { ResearchAllowanceTypeSchema } from "../research/allowance-type.js";
|
|
3
4
|
const BillingCatalogAllowanceSchemaDefinition = z.object({
|
|
4
5
|
/** Monthly cap; 0 withholds the allowance and absent means uncapped. */
|
|
5
6
|
limit: z.int().nullish(),
|
|
6
|
-
type:
|
|
7
|
+
type: ResearchAllowanceTypeSchema,
|
|
7
8
|
});
|
|
8
9
|
/**
|
|
9
10
|
* A tier's monthly cap for one allowance.
|
|
@@ -3,10 +3,10 @@ declare const BillingCatalogTierSchemaDefinition: z.ZodObject<{
|
|
|
3
3
|
aiCreditLimit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4
4
|
allowance: z.ZodArray<z.ZodType<{
|
|
5
5
|
limit?: number | null | undefined;
|
|
6
|
-
type:
|
|
6
|
+
type: string;
|
|
7
7
|
}, import("./catalog-allowance.ts").BillingCatalogAllowanceSchemaInput, z.core.$ZodTypeInternals<{
|
|
8
8
|
limit?: number | null | undefined;
|
|
9
|
-
type:
|
|
9
|
+
type: string;
|
|
10
10
|
}, import("./catalog-allowance.ts").BillingCatalogAllowanceSchemaInput>>>;
|
|
11
11
|
description: z.ZodString;
|
|
12
12
|
displayName: z.ZodString;
|
|
@@ -38,7 +38,7 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
|
38
38
|
aiCreditLimit?: number | null | undefined;
|
|
39
39
|
allowance: {
|
|
40
40
|
limit?: number | null | undefined;
|
|
41
|
-
type:
|
|
41
|
+
type: string;
|
|
42
42
|
}[];
|
|
43
43
|
description: string;
|
|
44
44
|
displayName: string;
|
|
@@ -47,7 +47,7 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
|
47
47
|
aiCreditLimit?: number | null | undefined;
|
|
48
48
|
allowance: {
|
|
49
49
|
limit?: number | null | undefined;
|
|
50
|
-
type:
|
|
50
|
+
type: string;
|
|
51
51
|
}[];
|
|
52
52
|
description: string;
|
|
53
53
|
displayName: string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const CursorSliceAddressLinkSchemaDefinition: z.ZodObject<{
|
|
3
|
+
content: z.ZodArray<z.ZodType<{
|
|
4
|
+
id: number;
|
|
5
|
+
owner: {
|
|
6
|
+
entityId?: string | null | undefined;
|
|
7
|
+
personId?: string | null | undefined;
|
|
8
|
+
};
|
|
9
|
+
role?: "domicile" | "dominant" | "origin" | null | undefined;
|
|
10
|
+
}, import("../address/link.ts").AddressLinkSchemaInput, z.core.$ZodTypeInternals<{
|
|
11
|
+
id: number;
|
|
12
|
+
owner: {
|
|
13
|
+
entityId?: string | null | undefined;
|
|
14
|
+
personId?: string | null | undefined;
|
|
15
|
+
};
|
|
16
|
+
role?: "domicile" | "dominant" | "origin" | null | undefined;
|
|
17
|
+
}, import("../address/link.ts").AddressLinkSchemaInput>>>;
|
|
18
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
type CursorSliceAddressLinkDefinition = z.infer<typeof CursorSliceAddressLinkSchemaDefinition>;
|
|
21
|
+
export interface CursorSliceAddressLinkSchemaInput extends z.input<typeof CursorSliceAddressLinkSchemaDefinition> {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @openapiSchema CursorSliceAddressLink
|
|
25
|
+
* @endpoint GET /v1/addresses/{addressId}/links
|
|
26
|
+
* @contractShape cursor.slice-address-link
|
|
27
|
+
* @contractRole canonical
|
|
28
|
+
*/
|
|
29
|
+
export declare const CursorSliceAddressLinkSchema: z.ZodType<CursorSliceAddressLinkDefinition, CursorSliceAddressLinkSchemaInput>;
|
|
30
|
+
export type CursorSliceAddressLink = z.infer<typeof CursorSliceAddressLinkSchema>;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=slice-address-link.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { AddressLinkSchema } from "../address/link.js";
|
|
4
|
+
const CursorSliceAddressLinkSchemaDefinition = z.object({
|
|
5
|
+
content: z.array(AddressLinkSchema),
|
|
6
|
+
nextCursor: z.string().nullish(),
|
|
7
|
+
});
|
|
8
|
+
/**
|
|
9
|
+
* @openapiSchema CursorSliceAddressLink
|
|
10
|
+
* @endpoint GET /v1/addresses/{addressId}/links
|
|
11
|
+
* @contractShape cursor.slice-address-link
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const CursorSliceAddressLinkSchema = CursorSliceAddressLinkSchemaDefinition;
|
|
15
|
+
//# sourceMappingURL=slice-address-link.js.map
|
|
@@ -56,6 +56,23 @@ declare const EnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
56
56
|
}>;
|
|
57
57
|
model: z.ZodString;
|
|
58
58
|
nextAttemptAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
59
|
+
researchAllowanceType: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
60
|
+
COMPANY: "COMPANY";
|
|
61
|
+
ENTITY_BRAND: "ENTITY_BRAND";
|
|
62
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
63
|
+
PERSON: "PERSON";
|
|
64
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
65
|
+
WEB_SEARCH: "WEB_SEARCH";
|
|
66
|
+
}>, z.ZodString]> & {
|
|
67
|
+
enum: {
|
|
68
|
+
COMPANY: "COMPANY";
|
|
69
|
+
ENTITY_BRAND: "ENTITY_BRAND";
|
|
70
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
71
|
+
PERSON: "PERSON";
|
|
72
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
73
|
+
WEB_SEARCH: "WEB_SEARCH";
|
|
74
|
+
};
|
|
75
|
+
}>>;
|
|
59
76
|
resumeSafeUntil: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
60
77
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
61
78
|
status: z.ZodEnum<{
|
|
@@ -24,6 +24,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
24
24
|
text: string;
|
|
25
25
|
title?: string | null | undefined;
|
|
26
26
|
} | null | undefined;
|
|
27
|
+
filing?: {
|
|
28
|
+
enrichmentRunId?: string | null | undefined;
|
|
29
|
+
entityId: string;
|
|
30
|
+
}[] | null | undefined;
|
|
27
31
|
interpretation: {
|
|
28
32
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
29
33
|
execution: {
|
|
@@ -1736,6 +1740,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1736
1740
|
text: string;
|
|
1737
1741
|
title?: string | null | undefined;
|
|
1738
1742
|
} | null | undefined;
|
|
1743
|
+
filing?: {
|
|
1744
|
+
enrichmentRunId?: string | null | undefined;
|
|
1745
|
+
entityId: string;
|
|
1746
|
+
}[] | null | undefined;
|
|
1739
1747
|
interpretation: {
|
|
1740
1748
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
1741
1749
|
execution: {
|
|
@@ -148,6 +148,23 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
|
|
|
148
148
|
}>;
|
|
149
149
|
model: z.ZodString;
|
|
150
150
|
nextAttemptAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
151
|
+
researchAllowanceType: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
152
|
+
COMPANY: "COMPANY";
|
|
153
|
+
ENTITY_BRAND: "ENTITY_BRAND";
|
|
154
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
155
|
+
PERSON: "PERSON";
|
|
156
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
157
|
+
WEB_SEARCH: "WEB_SEARCH";
|
|
158
|
+
}>, z.ZodString]> & {
|
|
159
|
+
enum: {
|
|
160
|
+
COMPANY: "COMPANY";
|
|
161
|
+
ENTITY_BRAND: "ENTITY_BRAND";
|
|
162
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
163
|
+
PERSON: "PERSON";
|
|
164
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
165
|
+
WEB_SEARCH: "WEB_SEARCH";
|
|
166
|
+
};
|
|
167
|
+
}>>;
|
|
151
168
|
resumeSafeUntil: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
152
169
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
153
170
|
status: z.ZodEnum<{
|
package/dist/harness/run.d.ts
CHANGED
|
@@ -52,6 +52,23 @@ export declare const HarnessRunSchema: z.ZodObject<{
|
|
|
52
52
|
}>;
|
|
53
53
|
model: z.ZodString;
|
|
54
54
|
nextAttemptAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
55
|
+
researchAllowanceType: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
56
|
+
COMPANY: "COMPANY";
|
|
57
|
+
ENTITY_BRAND: "ENTITY_BRAND";
|
|
58
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
59
|
+
PERSON: "PERSON";
|
|
60
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
61
|
+
WEB_SEARCH: "WEB_SEARCH";
|
|
62
|
+
}>, z.ZodString]> & {
|
|
63
|
+
enum: {
|
|
64
|
+
COMPANY: "COMPANY";
|
|
65
|
+
ENTITY_BRAND: "ENTITY_BRAND";
|
|
66
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
67
|
+
PERSON: "PERSON";
|
|
68
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
69
|
+
WEB_SEARCH: "WEB_SEARCH";
|
|
70
|
+
};
|
|
71
|
+
}>>;
|
|
55
72
|
resumeSafeUntil: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
56
73
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
57
74
|
status: z.ZodEnum<{
|
package/dist/harness/run.js
CHANGED
|
@@ -7,6 +7,7 @@ import { HarnessRunEnvironmentSchema } from "./run-environment.js";
|
|
|
7
7
|
import { HarnessRunLaneSchema } from "./run-lane.js";
|
|
8
8
|
import { HarnessRunStatusSchema } from "./run-status.js";
|
|
9
9
|
import { HarnessRunTypeSchema } from "./run-type.js";
|
|
10
|
+
import { ResearchAllowanceTypeSchema } from "../research/allowance-type.js";
|
|
10
11
|
/**
|
|
11
12
|
* One research run on a company, Product, Service, or person
|
|
12
13
|
*
|
|
@@ -62,6 +63,8 @@ export const HarnessRunSchema = z.object({
|
|
|
62
63
|
model: z.string(),
|
|
63
64
|
/** Earliest re-claim time when waiting on retry backoff */
|
|
64
65
|
nextAttemptAt: z.iso.datetime({ offset: true }).nullish(),
|
|
66
|
+
/** Research allowance this run reserved when it was filed: COMPANY or PERSON; null for a run filed without one */
|
|
67
|
+
researchAllowanceType: ResearchAllowanceTypeSchema.nullish(),
|
|
65
68
|
/** Instant past which a warm resume is no longer guaranteed; the harness writes it with session_resume from the model's cache window. Warm-resumable now iff failed/stopped and this is in the future. Null when there is no resume window. */
|
|
66
69
|
resumeSafeUntil: z.iso.datetime({ offset: true }).nullish(),
|
|
67
70
|
/** Run start timestamp */
|
package/dist/help/resolution.js
CHANGED
|
@@ -16,7 +16,7 @@ import { HelpResolutionOutcomeSchema } from "./resolution-outcome.js";
|
|
|
16
16
|
export const HelpResolutionSchema = z.object({
|
|
17
17
|
/** Candidate operations best first; the options to choose between when the outcome is CLARIFY. */
|
|
18
18
|
candidate: z.array(HelpCitationSchema),
|
|
19
|
-
/** The advised operation
|
|
19
|
+
/** The advised operation for OPERATION_ADVICE, or the write whose missing inputs a CLARIFY asks for. */
|
|
20
20
|
operationId: z.string().nullish(),
|
|
21
21
|
/** Which of the mutually exclusive resolve outcomes was reached. */
|
|
22
22
|
outcome: HelpResolutionOutcomeSchema,
|
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
3
|
-
allowanceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3
|
+
allowanceType: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4
4
|
COMPANY: "COMPANY";
|
|
5
5
|
ENTITY_BRAND: "ENTITY_BRAND";
|
|
6
6
|
ENTITY_VIEW: "ENTITY_VIEW";
|
|
7
7
|
PERSON: "PERSON";
|
|
8
8
|
PERSON_VIEW: "PERSON_VIEW";
|
|
9
9
|
WEB_SEARCH: "WEB_SEARCH";
|
|
10
|
-
}
|
|
10
|
+
}>, z.ZodString]> & {
|
|
11
|
+
enum: {
|
|
12
|
+
COMPANY: "COMPANY";
|
|
13
|
+
ENTITY_BRAND: "ENTITY_BRAND";
|
|
14
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
15
|
+
PERSON: "PERSON";
|
|
16
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
17
|
+
WEB_SEARCH: "WEB_SEARCH";
|
|
18
|
+
};
|
|
19
|
+
}>>;
|
|
11
20
|
circuitBreaker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
21
|
code: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
13
22
|
GEOCODE_PROVIDER_ERROR: "GEOCODE_PROVIDER_ERROR";
|
|
@@ -6,11 +6,10 @@ import { ProblemResolutionSchema } from "../problem/resolution.js";
|
|
|
6
6
|
import { ProseViolationSchema } from "../prose/violation.js";
|
|
7
7
|
import { CurrentSlugOwnerSchema } from "../redirect/current-slug-owner.js";
|
|
8
8
|
import { RedirectSlugPathSchema } from "../redirect/redirect-slug-path.js";
|
|
9
|
+
import { ResearchAllowanceTypeSchema } from "../research/allowance-type.js";
|
|
9
10
|
const ProblemDetailSchemaDefinition = z.object({
|
|
10
11
|
/** Which monthly allowance a BILLING_ALLOWANCE refusal exhausted. */
|
|
11
|
-
allowanceType:
|
|
12
|
-
.enum(["COMPANY", "PERSON", "ENTITY_VIEW", "ENTITY_BRAND", "PERSON_VIEW", "WEB_SEARCH"])
|
|
13
|
-
.nullish(),
|
|
12
|
+
allowanceType: ResearchAllowanceTypeSchema.nullish(),
|
|
14
13
|
circuitBreaker: z.string().nullish(),
|
|
15
14
|
/** Machine-readable secondary code on ProblemDetail.code. Agents should branch on this value when the HTTP status alone does not identify the recovery path. Code groups include auth/session, rate limiting, job infrastructure, RBAC, external providers, image processing, R2 storage, search, and inference. Many codes describe server-side conditions a caller cannot fix: surface the error and stop rather than retry. */
|
|
16
15
|
code: z
|
package/dist/link/search.d.ts
CHANGED
|
@@ -26,6 +26,10 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
26
26
|
text: string;
|
|
27
27
|
title?: string | null | undefined;
|
|
28
28
|
} | null | undefined;
|
|
29
|
+
filing?: {
|
|
30
|
+
enrichmentRunId?: string | null | undefined;
|
|
31
|
+
entityId: string;
|
|
32
|
+
}[] | null | undefined;
|
|
29
33
|
interpretation: {
|
|
30
34
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
31
35
|
execution: {
|
|
@@ -4341,6 +4345,10 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
4341
4345
|
text: string;
|
|
4342
4346
|
title?: string | null | undefined;
|
|
4343
4347
|
} | null | undefined;
|
|
4348
|
+
filing?: {
|
|
4349
|
+
enrichmentRunId?: string | null | undefined;
|
|
4350
|
+
entityId: string;
|
|
4351
|
+
}[] | null | undefined;
|
|
4344
4352
|
interpretation: {
|
|
4345
4353
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
4346
4354
|
execution: {
|
|
@@ -39,6 +39,13 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
39
39
|
text: z.ZodString;
|
|
40
40
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
}, z.core.$strip>>>;
|
|
42
|
+
filing: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
|
|
43
|
+
enrichmentRunId?: string | null | undefined;
|
|
44
|
+
entityId: string;
|
|
45
|
+
}, import("../search/discovery-filing.ts").SearchDiscoveryFilingSchemaInput, z.core.$ZodTypeInternals<{
|
|
46
|
+
enrichmentRunId?: string | null | undefined;
|
|
47
|
+
entityId: string;
|
|
48
|
+
}, import("../search/discovery-filing.ts").SearchDiscoveryFilingSchemaInput>>>>>;
|
|
42
49
|
interpretation: z.ZodType<{
|
|
43
50
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
44
51
|
execution: {
|
|
@@ -4,6 +4,7 @@ import { EntityListSchema } from "../entity/list.js";
|
|
|
4
4
|
import { EntitySimilarityResultSchema } from "../entity/similarity-result.js";
|
|
5
5
|
import { PageResultEntityListSchema } from "../pagination/schemas.js";
|
|
6
6
|
import { SearchAnswerSchema } from "../search/answer.js";
|
|
7
|
+
import { SearchDiscoveryFilingSchema } from "../search/discovery-filing.js";
|
|
7
8
|
import { SearchInterpretationSchema } from "../search/interpretation.js";
|
|
8
9
|
import { SearchInvestmentSchema } from "../search/investment.js";
|
|
9
10
|
import { SearchJudgmentSchema } from "../search/judgment.js";
|
|
@@ -11,6 +12,8 @@ import { SearchPassageSchema } from "../search/passage.js";
|
|
|
11
12
|
const NaturalSearchResultSchemaDefinition = z.object({
|
|
12
13
|
/** Written answer grounded in the subject, peer, and result records and the passages; null unless the request asks for the `synthesis` layer. */
|
|
13
14
|
answer: SearchAnswerSchema.nullish(),
|
|
15
|
+
/** Discovered companies this caller filed and their research runs. */
|
|
16
|
+
filing: z.array(SearchDiscoveryFilingSchema).nullish(),
|
|
14
17
|
/** Structured interpretation used to run the entity list query. */
|
|
15
18
|
interpretation: SearchInterpretationSchema,
|
|
16
19
|
/** Recorded investment participation supporting investor discovery. Each row keeps its entity or personal investor, portfolio company, transaction attribution, and query-matched offering evidence. Empty for other question intents. */
|
|
@@ -11,6 +11,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
11
11
|
},
|
|
12
12
|
AddressCity: { modulePath: "address/city", schemaName: "AddressCitySchema" },
|
|
13
13
|
AddressCountry: { modulePath: "address/country", schemaName: "AddressCountrySchema" },
|
|
14
|
+
AddressLink: { modulePath: "address/link", schemaName: "AddressLinkSchema" },
|
|
14
15
|
AddressState: { modulePath: "address/state", schemaName: "AddressStateSchema" },
|
|
15
16
|
AgentHelp: { modulePath: "agent/help", schemaName: "AgentHelpSchema" },
|
|
16
17
|
AgentHelpQuestion: { modulePath: "agent/help-question", schemaName: "AgentHelpQuestionSchema" },
|
|
@@ -224,6 +225,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
224
225
|
modulePath: "redirect/current-slug-owner",
|
|
225
226
|
schemaName: "CurrentSlugOwnerSchema",
|
|
226
227
|
},
|
|
228
|
+
CursorSliceAddressLink: {
|
|
229
|
+
modulePath: "cursor/slice-address-link",
|
|
230
|
+
schemaName: "CursorSliceAddressLinkSchema",
|
|
231
|
+
},
|
|
227
232
|
CursorSliceSharedDirectoryList: {
|
|
228
233
|
modulePath: "cursor/slice-shared-directory-list",
|
|
229
234
|
schemaName: "CursorSliceSharedDirectoryListSchema",
|
|
@@ -862,6 +867,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
862
867
|
schemaName: "ResearchAccessTypeSchema",
|
|
863
868
|
},
|
|
864
869
|
ResearchAllowance: { modulePath: "research/allowance", schemaName: "ResearchAllowanceSchema" },
|
|
870
|
+
ResearchAllowanceType: {
|
|
871
|
+
modulePath: "research/allowance-type",
|
|
872
|
+
schemaName: "ResearchAllowanceTypeSchema",
|
|
873
|
+
},
|
|
865
874
|
ResearchAllowanceUsage: {
|
|
866
875
|
modulePath: "research/allowance-usage",
|
|
867
876
|
schemaName: "ResearchAllowanceUsageSchema",
|
|
@@ -914,6 +923,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
914
923
|
schemaName: "SearchAnswerParagraphSchema",
|
|
915
924
|
},
|
|
916
925
|
SearchCacheMode: { modulePath: "search/cache-mode", schemaName: "SearchCacheModeSchema" },
|
|
926
|
+
SearchDiscoveryFiling: {
|
|
927
|
+
modulePath: "search/discovery-filing",
|
|
928
|
+
schemaName: "SearchDiscoveryFilingSchema",
|
|
929
|
+
},
|
|
917
930
|
SearchDuplicateCandidateScore: {
|
|
918
931
|
modulePath: "search/duplicate-candidate-score",
|
|
919
932
|
schemaName: "SearchDuplicateCandidateScoreSchema",
|
package/dist/prose/problem.d.ts
CHANGED
|
@@ -9,27 +9,33 @@ import { z } from "zod/v4";
|
|
|
9
9
|
* @contractRole canonical
|
|
10
10
|
*/
|
|
11
11
|
export declare const ProseProblemSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
12
|
+
chained: "chained";
|
|
12
13
|
disclaimer: "disclaimer";
|
|
13
14
|
factList: "factList";
|
|
14
15
|
legalSource: "legalSource";
|
|
16
|
+
marketing: "marketing";
|
|
15
17
|
mojibake: "mojibake";
|
|
16
18
|
record: "record";
|
|
17
19
|
source: "source";
|
|
18
20
|
structured: "structured";
|
|
19
21
|
temporal: "temporal";
|
|
22
|
+
tense: "tense";
|
|
20
23
|
textContract: "textContract";
|
|
21
24
|
unsupported: "unsupported";
|
|
22
25
|
voice: "voice";
|
|
23
26
|
}>, z.ZodString]> & {
|
|
24
27
|
enum: {
|
|
28
|
+
chained: "chained";
|
|
25
29
|
disclaimer: "disclaimer";
|
|
26
30
|
factList: "factList";
|
|
27
31
|
legalSource: "legalSource";
|
|
32
|
+
marketing: "marketing";
|
|
28
33
|
mojibake: "mojibake";
|
|
29
34
|
record: "record";
|
|
30
35
|
source: "source";
|
|
31
36
|
structured: "structured";
|
|
32
37
|
temporal: "temporal";
|
|
38
|
+
tense: "tense";
|
|
33
39
|
textContract: "textContract";
|
|
34
40
|
unsupported: "unsupported";
|
|
35
41
|
voice: "voice";
|
package/dist/prose/problem.js
CHANGED
|
@@ -3,27 +3,33 @@ declare const ProseViolationSchemaDefinition: z.ZodObject<{
|
|
|
3
3
|
overridable: z.ZodBoolean;
|
|
4
4
|
passage: z.ZodString;
|
|
5
5
|
problem: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6
|
+
chained: "chained";
|
|
6
7
|
disclaimer: "disclaimer";
|
|
7
8
|
factList: "factList";
|
|
8
9
|
legalSource: "legalSource";
|
|
10
|
+
marketing: "marketing";
|
|
9
11
|
mojibake: "mojibake";
|
|
10
12
|
record: "record";
|
|
11
13
|
source: "source";
|
|
12
14
|
structured: "structured";
|
|
13
15
|
temporal: "temporal";
|
|
16
|
+
tense: "tense";
|
|
14
17
|
textContract: "textContract";
|
|
15
18
|
unsupported: "unsupported";
|
|
16
19
|
voice: "voice";
|
|
17
20
|
}>, z.ZodString]> & {
|
|
18
21
|
enum: {
|
|
22
|
+
chained: "chained";
|
|
19
23
|
disclaimer: "disclaimer";
|
|
20
24
|
factList: "factList";
|
|
21
25
|
legalSource: "legalSource";
|
|
26
|
+
marketing: "marketing";
|
|
22
27
|
mojibake: "mojibake";
|
|
23
28
|
record: "record";
|
|
24
29
|
source: "source";
|
|
25
30
|
structured: "structured";
|
|
26
31
|
temporal: "temporal";
|
|
32
|
+
tense: "tense";
|
|
27
33
|
textContract: "textContract";
|
|
28
34
|
unsupported: "unsupported";
|
|
29
35
|
voice: "voice";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Metered allowance. `COMPANY` and `PERSON` meter research runs on company and person-profile targets; `ENTITY_VIEW`, `ENTITY_BRAND`, and `PERSON_VIEW` meter profile and brand reads; `WEB_SEARCH` meters web searches.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema ResearchAllowanceType
|
|
6
|
+
* @standardProblemResponse
|
|
7
|
+
* @usedBySchema BillingCatalogAllowanceSchema
|
|
8
|
+
* @usedBySchema HarnessRunSchema
|
|
9
|
+
* @usedBySchema ProblemDetailSchema
|
|
10
|
+
* @contractShape research.allowance-type
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export declare const ResearchAllowanceTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
14
|
+
COMPANY: "COMPANY";
|
|
15
|
+
ENTITY_BRAND: "ENTITY_BRAND";
|
|
16
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
17
|
+
PERSON: "PERSON";
|
|
18
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
19
|
+
WEB_SEARCH: "WEB_SEARCH";
|
|
20
|
+
}>, z.ZodString]> & {
|
|
21
|
+
enum: {
|
|
22
|
+
COMPANY: "COMPANY";
|
|
23
|
+
ENTITY_BRAND: "ENTITY_BRAND";
|
|
24
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
25
|
+
PERSON: "PERSON";
|
|
26
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
27
|
+
WEB_SEARCH: "WEB_SEARCH";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export type ResearchAllowanceType = z.infer<typeof ResearchAllowanceTypeSchema>;
|
|
31
|
+
//# sourceMappingURL=allowance-type.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
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 ResearchAllowanceTypeSchemaKnownMembers = z.enum([
|
|
4
|
+
"COMPANY",
|
|
5
|
+
"PERSON",
|
|
6
|
+
"ENTITY_VIEW",
|
|
7
|
+
"ENTITY_BRAND",
|
|
8
|
+
"PERSON_VIEW",
|
|
9
|
+
"WEB_SEARCH",
|
|
10
|
+
]);
|
|
11
|
+
/**
|
|
12
|
+
* Metered allowance. `COMPANY` and `PERSON` meter research runs on company and person-profile targets; `ENTITY_VIEW`, `ENTITY_BRAND`, and `PERSON_VIEW` meter profile and brand reads; `WEB_SEARCH` meters web searches.
|
|
13
|
+
*
|
|
14
|
+
* @openapiSchema ResearchAllowanceType
|
|
15
|
+
* @standardProblemResponse
|
|
16
|
+
* @usedBySchema BillingCatalogAllowanceSchema
|
|
17
|
+
* @usedBySchema HarnessRunSchema
|
|
18
|
+
* @usedBySchema ProblemDetailSchema
|
|
19
|
+
* @contractShape research.allowance-type
|
|
20
|
+
* @contractRole canonical
|
|
21
|
+
*/
|
|
22
|
+
export const ResearchAllowanceTypeSchema = Object.assign(z.union([ResearchAllowanceTypeSchemaKnownMembers, z.string()]), { enum: ResearchAllowanceTypeSchemaKnownMembers.enum });
|
|
23
|
+
//# sourceMappingURL=allowance-type.js.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const SearchDiscoveryFilingSchemaDefinition: z.ZodObject<{
|
|
3
|
+
enrichmentRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
4
|
+
entityId: z.ZodUUID;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type SearchDiscoveryFilingDefinition = z.infer<typeof SearchDiscoveryFilingSchemaDefinition>;
|
|
7
|
+
export interface SearchDiscoveryFilingSchemaInput extends z.input<typeof SearchDiscoveryFilingSchemaDefinition> {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Company record filed from one search discovery result and its queued research.
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema SearchDiscoveryFiling
|
|
13
|
+
* @endpoint GET /v1/search/link
|
|
14
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
15
|
+
* @endpoint GET /v1/search/shared/{id}
|
|
16
|
+
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
17
|
+
* @endpoint POST /v1/search
|
|
18
|
+
* @endpoint POST /v1/search/natural/entities
|
|
19
|
+
* @endpoint POST /v1/search/shared
|
|
20
|
+
* @usedBySchema NaturalSearchResultSchema
|
|
21
|
+
* @contractShape search.discovery-filing
|
|
22
|
+
* @contractRole canonical
|
|
23
|
+
*/
|
|
24
|
+
export declare const SearchDiscoveryFilingSchema: z.ZodType<SearchDiscoveryFilingDefinition, SearchDiscoveryFilingSchemaInput>;
|
|
25
|
+
export type SearchDiscoveryFiling = z.infer<typeof SearchDiscoveryFilingSchema>;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=discovery-filing.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
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 SearchDiscoveryFilingSchemaDefinition = z.object({
|
|
4
|
+
/** Research run queued for that company by this filing; null when the record already existed or no run was available within the response deadline. */
|
|
5
|
+
enrichmentRunId: z.uuid().nullish(),
|
|
6
|
+
/** Company record filed for the discovered site. */
|
|
7
|
+
entityId: z.uuid(),
|
|
8
|
+
});
|
|
9
|
+
/**
|
|
10
|
+
* Company record filed from one search discovery result and its queued research.
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema SearchDiscoveryFiling
|
|
13
|
+
* @endpoint GET /v1/search/link
|
|
14
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
15
|
+
* @endpoint GET /v1/search/shared/{id}
|
|
16
|
+
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
17
|
+
* @endpoint POST /v1/search
|
|
18
|
+
* @endpoint POST /v1/search/natural/entities
|
|
19
|
+
* @endpoint POST /v1/search/shared
|
|
20
|
+
* @usedBySchema NaturalSearchResultSchema
|
|
21
|
+
* @contractShape search.discovery-filing
|
|
22
|
+
* @contractRole canonical
|
|
23
|
+
*/
|
|
24
|
+
export const SearchDiscoveryFilingSchema = SearchDiscoveryFilingSchemaDefinition;
|
|
25
|
+
//# sourceMappingURL=discovery-filing.js.map
|
package/dist/shared/search.d.ts
CHANGED
|
@@ -37,6 +37,10 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
37
37
|
text: string;
|
|
38
38
|
title?: string | null | undefined;
|
|
39
39
|
} | null | undefined;
|
|
40
|
+
filing?: {
|
|
41
|
+
enrichmentRunId?: string | null | undefined;
|
|
42
|
+
entityId: string;
|
|
43
|
+
}[] | null | undefined;
|
|
40
44
|
interpretation: {
|
|
41
45
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
42
46
|
execution: {
|
|
@@ -4352,6 +4356,10 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
4352
4356
|
text: string;
|
|
4353
4357
|
title?: string | null | undefined;
|
|
4354
4358
|
} | null | undefined;
|
|
4359
|
+
filing?: {
|
|
4360
|
+
enrichmentRunId?: string | null | undefined;
|
|
4361
|
+
entityId: string;
|
|
4362
|
+
}[] | null | undefined;
|
|
4355
4363
|
interpretation: {
|
|
4356
4364
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
4357
4365
|
execution: {
|
|
@@ -42,7 +42,7 @@ type UrlDuplicateConflictDefinition = z.infer<typeof UrlDuplicateConflictSchemaD
|
|
|
42
42
|
export interface UrlDuplicateConflictSchemaInput extends z.input<typeof UrlDuplicateConflictSchemaDefinition> {
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
* Typed extension on ProblemDetail.details for HTTP 409 when a create/update attempts to set a URL with urlType=website (or another exclusive urlType) that is already a current URL on a different entity or person. The existingJoin list names every current owner of the normalized URL;
|
|
45
|
+
* Typed extension on ProblemDetail.details for HTTP 409 when a create/update attempts to set a URL with urlType=website (or another exclusive urlType) that is already a current URL on a different entity or person. The existingJoin list names every current owner of the normalized URL; inspect its identity before changing ownership. An offering sharing its provider's homepage uses the provider relationship without a duplicate URL row.
|
|
46
46
|
*
|
|
47
47
|
* @openapiSchema UrlDuplicateConflict
|
|
48
48
|
* @standardProblemResponse
|
|
@@ -10,7 +10,7 @@ const UrlDuplicateConflictSchemaDefinition = z.object({
|
|
|
10
10
|
existingJoin: z.array(UrlDuplicateJoinSchema),
|
|
11
11
|
/** True when URL fragment differences were ignored during duplicate matching (i.e., the conflict ignores everything after '#'). */
|
|
12
12
|
fragmentIgnored: z.boolean(),
|
|
13
|
-
/** Human-readable guidance on how to resolve the conflict. Defaults to the standard
|
|
13
|
+
/** Human-readable guidance on how to resolve the conflict. Defaults to the standard identity and URL ownership checks. */
|
|
14
14
|
guidance: z.string(),
|
|
15
15
|
/** Normalized URL match key used for duplicate detection. Null when normalization could not produce a stable key (e.g., malformed input). */
|
|
16
16
|
normalizedUrl: z.string().nullish(),
|
|
@@ -22,7 +22,7 @@ const UrlDuplicateConflictSchemaDefinition = z.object({
|
|
|
22
22
|
urlType: z.string(),
|
|
23
23
|
});
|
|
24
24
|
/**
|
|
25
|
-
* Typed extension on ProblemDetail.details for HTTP 409 when a create/update attempts to set a URL with urlType=website (or another exclusive urlType) that is already a current URL on a different entity or person. The existingJoin list names every current owner of the normalized URL;
|
|
25
|
+
* Typed extension on ProblemDetail.details for HTTP 409 when a create/update attempts to set a URL with urlType=website (or another exclusive urlType) that is already a current URL on a different entity or person. The existingJoin list names every current owner of the normalized URL; inspect its identity before changing ownership. An offering sharing its provider's homepage uses the provider relationship without a duplicate URL row.
|
|
26
26
|
*
|
|
27
27
|
* @openapiSchema UrlDuplicateConflict
|
|
28
28
|
* @standardProblemResponse
|