@aventurevc/api-schemas 0.8.183 → 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/billing/subscription.d.ts +20 -0
- package/dist/cursor/slice-address-link.d.ts +32 -0
- package/dist/cursor/slice-address-link.js +15 -0
- package/dist/cursor/slice-shared-directory-list.d.ts +30 -0
- package/dist/cursor/slice-shared-directory-list.js +15 -0
- package/dist/date/range.d.ts +2 -0
- package/dist/date/range.js +2 -0
- package/dist/decimal/range.d.ts +2 -0
- package/dist/decimal/range.js +2 -0
- package/dist/enrichment/enrichment.d.ts +17 -0
- package/dist/enrichment/prompt.d.ts +12 -2
- package/dist/enrichment/prompt.js +5 -3
- package/dist/entity/detail.js +2 -2
- package/dist/entity/filter-logo-option.d.ts +2 -0
- package/dist/entity/filter-logo-option.js +2 -0
- package/dist/entity/filter.d.ts +2 -0
- package/dist/entity/filter.js +2 -0
- package/dist/entity/fundraise-filter-criteria.d.ts +2 -0
- package/dist/entity/fundraise-filter-criteria.js +2 -0
- package/dist/entity/list-filter.d.ts +21 -22
- package/dist/entity/list-filter.js +21 -18
- package/dist/entity/list-quality-gate.d.ts +2 -0
- package/dist/entity/list-quality-gate.js +2 -0
- package/dist/entity/operating-status.d.ts +2 -0
- package/dist/entity/operating-status.js +2 -0
- package/dist/entity/person-owner.d.ts +1 -0
- package/dist/entity/person-owner.js +1 -0
- package/dist/entity/url-type.d.ts +2 -0
- package/dist/entity/url-type.js +2 -0
- package/dist/federated/search.d.ts +8 -0
- package/dist/harness/run-create.js +2 -2
- 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/int/range.d.ts +2 -0
- package/dist/int/range.js +2 -0
- package/dist/investor/activity-filter.d.ts +2 -0
- package/dist/investor/activity-filter.js +2 -0
- 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 +38 -0
- package/dist/person/enrichment-prompt.d.ts +19 -0
- package/dist/person/enrichment-prompt.js +16 -0
- package/dist/person/filter.d.ts +4 -0
- package/dist/person/filter.js +4 -0
- package/dist/person/list-array-filter.d.ts +2 -0
- package/dist/person/list-array-filter.js +2 -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/access-type.d.ts +28 -0
- package/dist/research/access-type.js +21 -0
- package/dist/research/allowance-type.d.ts +31 -0
- package/dist/research/allowance-type.js +23 -0
- package/dist/research/allowance-usage.d.ts +20 -0
- package/dist/research/allowance.d.ts +15 -0
- package/dist/research/allowance.js +3 -0
- package/dist/research/finding.d.ts +2 -0
- package/dist/research/finding.js +2 -0
- package/dist/search/discovery-filing.d.ts +27 -0
- package/dist/search/discovery-filing.js +25 -0
- package/dist/search/interpretation.d.ts +140 -187
- package/dist/shared/directory-list.d.ts +31 -0
- package/dist/shared/directory-list.js +30 -0
- package/dist/shared/directory-mutation.d.ts +463 -0
- package/dist/shared/directory-mutation.js +27 -0
- package/dist/shared/directory-type.d.ts +20 -0
- package/dist/shared/directory-type.js +16 -0
- package/dist/shared/directory.d.ts +473 -0
- package/dist/shared/directory.js +29 -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/dist/url/match-mode.d.ts +2 -0
- package/dist/url/match-mode.js +2 -0
- package/package.json +1 -1
|
@@ -4,9 +4,11 @@ import { z } from "zod/v4";
|
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema PersonListArrayFilter
|
|
6
6
|
* @endpoint GET /v1/search/link
|
|
7
|
+
* @endpoint GET /v1/directory/shared/slug/{slug}
|
|
7
8
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
8
9
|
* @endpoint GET /v1/search/shared/{id}
|
|
9
10
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
11
|
+
* @endpoint POST /v1/directory/shared
|
|
10
12
|
* @endpoint POST /v1/people/search
|
|
11
13
|
* @endpoint POST /v1/search
|
|
12
14
|
* @endpoint POST /v1/search/natural/people
|
|
@@ -8,9 +8,11 @@ import { IntRangeSchema } from "../int/range.js";
|
|
|
8
8
|
*
|
|
9
9
|
* @openapiSchema PersonListArrayFilter
|
|
10
10
|
* @endpoint GET /v1/search/link
|
|
11
|
+
* @endpoint GET /v1/directory/shared/slug/{slug}
|
|
11
12
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
12
13
|
* @endpoint GET /v1/search/shared/{id}
|
|
13
14
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
15
|
+
* @endpoint POST /v1/directory/shared
|
|
14
16
|
* @endpoint POST /v1/people/search
|
|
15
17
|
* @endpoint POST /v1/search
|
|
16
18
|
* @endpoint POST /v1/search/natural/people
|
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,28 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* What filing one more research run does now. `INCLUDED`: the plan's monthly allowance covers it. `ADDITIONAL_USAGE`: the allowance is spent or withheld, and the run is billed as additional usage (prepaid credit or invoice). `EXHAUSTED`: the plan's allowance is spent and no additional usage can pay for it (off, spend cap reached, or prepaid credit below the unit price); filing answers 429. `PLAN_REQUIRED`: the plan includes no research and no additional usage can pay for it; filing answers 402 or 429. `BILLING_BLOCKED`: a paid plan is past due, unpaid, incomplete, or paused, or an additional-usage invoice is unpaid; filing answers 402.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema ResearchAccessType
|
|
6
|
+
* @endpoint GET /v1/billing/ai-credits
|
|
7
|
+
* @endpoint GET /v1/billing/subscription
|
|
8
|
+
* @usedBySchema ResearchAllowanceSchema
|
|
9
|
+
* @contractShape research.access-type
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const ResearchAccessTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
13
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
14
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
15
|
+
EXHAUSTED: "EXHAUSTED";
|
|
16
|
+
INCLUDED: "INCLUDED";
|
|
17
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
18
|
+
}>, z.ZodString]> & {
|
|
19
|
+
enum: {
|
|
20
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
21
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
22
|
+
EXHAUSTED: "EXHAUSTED";
|
|
23
|
+
INCLUDED: "INCLUDED";
|
|
24
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export type ResearchAccessType = z.infer<typeof ResearchAccessTypeSchema>;
|
|
28
|
+
//# sourceMappingURL=access-type.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
const ResearchAccessTypeSchemaKnownMembers = z.enum([
|
|
4
|
+
"INCLUDED",
|
|
5
|
+
"ADDITIONAL_USAGE",
|
|
6
|
+
"EXHAUSTED",
|
|
7
|
+
"PLAN_REQUIRED",
|
|
8
|
+
"BILLING_BLOCKED",
|
|
9
|
+
]);
|
|
10
|
+
/**
|
|
11
|
+
* What filing one more research run does now. `INCLUDED`: the plan's monthly allowance covers it. `ADDITIONAL_USAGE`: the allowance is spent or withheld, and the run is billed as additional usage (prepaid credit or invoice). `EXHAUSTED`: the plan's allowance is spent and no additional usage can pay for it (off, spend cap reached, or prepaid credit below the unit price); filing answers 429. `PLAN_REQUIRED`: the plan includes no research and no additional usage can pay for it; filing answers 402 or 429. `BILLING_BLOCKED`: a paid plan is past due, unpaid, incomplete, or paused, or an additional-usage invoice is unpaid; filing answers 402.
|
|
12
|
+
*
|
|
13
|
+
* @openapiSchema ResearchAccessType
|
|
14
|
+
* @endpoint GET /v1/billing/ai-credits
|
|
15
|
+
* @endpoint GET /v1/billing/subscription
|
|
16
|
+
* @usedBySchema ResearchAllowanceSchema
|
|
17
|
+
* @contractShape research.access-type
|
|
18
|
+
* @contractRole canonical
|
|
19
|
+
*/
|
|
20
|
+
export const ResearchAccessTypeSchema = Object.assign(z.union([ResearchAccessTypeSchemaKnownMembers, z.string()]), { enum: ResearchAccessTypeSchemaKnownMembers.enum });
|
|
21
|
+
//# sourceMappingURL=access-type.js.map
|
|
@@ -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
|
|
@@ -1,110 +1,130 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const ResearchAllowanceUsageSchemaDefinition: z.ZodObject<{
|
|
3
3
|
company: z.ZodType<{
|
|
4
|
+
access?: string | null | undefined;
|
|
4
5
|
limit?: number | null | undefined;
|
|
5
6
|
remaining?: number | null | undefined;
|
|
6
7
|
resetAt: string;
|
|
7
8
|
used: number;
|
|
8
9
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
|
|
10
|
+
access?: string | null | undefined;
|
|
9
11
|
limit?: number | null | undefined;
|
|
10
12
|
remaining?: number | null | undefined;
|
|
11
13
|
resetAt: string;
|
|
12
14
|
used: number;
|
|
13
15
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
|
|
14
16
|
entityBrand: z.ZodType<{
|
|
17
|
+
access?: string | null | undefined;
|
|
15
18
|
limit?: number | null | undefined;
|
|
16
19
|
remaining?: number | null | undefined;
|
|
17
20
|
resetAt: string;
|
|
18
21
|
used: number;
|
|
19
22
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
|
|
23
|
+
access?: string | null | undefined;
|
|
20
24
|
limit?: number | null | undefined;
|
|
21
25
|
remaining?: number | null | undefined;
|
|
22
26
|
resetAt: string;
|
|
23
27
|
used: number;
|
|
24
28
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
|
|
25
29
|
entityView: z.ZodType<{
|
|
30
|
+
access?: string | null | undefined;
|
|
26
31
|
limit?: number | null | undefined;
|
|
27
32
|
remaining?: number | null | undefined;
|
|
28
33
|
resetAt: string;
|
|
29
34
|
used: number;
|
|
30
35
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
|
|
36
|
+
access?: string | null | undefined;
|
|
31
37
|
limit?: number | null | undefined;
|
|
32
38
|
remaining?: number | null | undefined;
|
|
33
39
|
resetAt: string;
|
|
34
40
|
used: number;
|
|
35
41
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
|
|
36
42
|
newCompany: z.ZodType<{
|
|
43
|
+
access?: string | null | undefined;
|
|
37
44
|
limit?: number | null | undefined;
|
|
38
45
|
remaining?: number | null | undefined;
|
|
39
46
|
resetAt: string;
|
|
40
47
|
used: number;
|
|
41
48
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
|
|
49
|
+
access?: string | null | undefined;
|
|
42
50
|
limit?: number | null | undefined;
|
|
43
51
|
remaining?: number | null | undefined;
|
|
44
52
|
resetAt: string;
|
|
45
53
|
used: number;
|
|
46
54
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
|
|
47
55
|
newPerson: z.ZodType<{
|
|
56
|
+
access?: string | null | undefined;
|
|
48
57
|
limit?: number | null | undefined;
|
|
49
58
|
remaining?: number | null | undefined;
|
|
50
59
|
resetAt: string;
|
|
51
60
|
used: number;
|
|
52
61
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
|
|
62
|
+
access?: string | null | undefined;
|
|
53
63
|
limit?: number | null | undefined;
|
|
54
64
|
remaining?: number | null | undefined;
|
|
55
65
|
resetAt: string;
|
|
56
66
|
used: number;
|
|
57
67
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
|
|
58
68
|
person: z.ZodType<{
|
|
69
|
+
access?: string | null | undefined;
|
|
59
70
|
limit?: number | null | undefined;
|
|
60
71
|
remaining?: number | null | undefined;
|
|
61
72
|
resetAt: string;
|
|
62
73
|
used: number;
|
|
63
74
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
|
|
75
|
+
access?: string | null | undefined;
|
|
64
76
|
limit?: number | null | undefined;
|
|
65
77
|
remaining?: number | null | undefined;
|
|
66
78
|
resetAt: string;
|
|
67
79
|
used: number;
|
|
68
80
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
|
|
69
81
|
personView: z.ZodType<{
|
|
82
|
+
access?: string | null | undefined;
|
|
70
83
|
limit?: number | null | undefined;
|
|
71
84
|
remaining?: number | null | undefined;
|
|
72
85
|
resetAt: string;
|
|
73
86
|
used: number;
|
|
74
87
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
|
|
88
|
+
access?: string | null | undefined;
|
|
75
89
|
limit?: number | null | undefined;
|
|
76
90
|
remaining?: number | null | undefined;
|
|
77
91
|
resetAt: string;
|
|
78
92
|
used: number;
|
|
79
93
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
|
|
80
94
|
update: z.ZodType<{
|
|
95
|
+
access?: string | null | undefined;
|
|
81
96
|
limit?: number | null | undefined;
|
|
82
97
|
remaining?: number | null | undefined;
|
|
83
98
|
resetAt: string;
|
|
84
99
|
used: number;
|
|
85
100
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
|
|
101
|
+
access?: string | null | undefined;
|
|
86
102
|
limit?: number | null | undefined;
|
|
87
103
|
remaining?: number | null | undefined;
|
|
88
104
|
resetAt: string;
|
|
89
105
|
used: number;
|
|
90
106
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
|
|
91
107
|
updatePerson: z.ZodType<{
|
|
108
|
+
access?: string | null | undefined;
|
|
92
109
|
limit?: number | null | undefined;
|
|
93
110
|
remaining?: number | null | undefined;
|
|
94
111
|
resetAt: string;
|
|
95
112
|
used: number;
|
|
96
113
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
|
|
114
|
+
access?: string | null | undefined;
|
|
97
115
|
limit?: number | null | undefined;
|
|
98
116
|
remaining?: number | null | undefined;
|
|
99
117
|
resetAt: string;
|
|
100
118
|
used: number;
|
|
101
119
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput>>;
|
|
102
120
|
webSearch: z.ZodType<{
|
|
121
|
+
access?: string | null | undefined;
|
|
103
122
|
limit?: number | null | undefined;
|
|
104
123
|
remaining?: number | null | undefined;
|
|
105
124
|
resetAt: string;
|
|
106
125
|
used: number;
|
|
107
126
|
}, import("./allowance.ts").ResearchAllowanceSchemaInput, z.core.$ZodTypeInternals<{
|
|
127
|
+
access?: string | null | undefined;
|
|
108
128
|
limit?: number | null | undefined;
|
|
109
129
|
remaining?: number | null | undefined;
|
|
110
130
|
resetAt: string;
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const ResearchAllowanceSchemaDefinition: z.ZodObject<{
|
|
3
|
+
access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
5
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
6
|
+
EXHAUSTED: "EXHAUSTED";
|
|
7
|
+
INCLUDED: "INCLUDED";
|
|
8
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
9
|
+
}>, z.ZodString]> & {
|
|
10
|
+
enum: {
|
|
11
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
12
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
13
|
+
EXHAUSTED: "EXHAUSTED";
|
|
14
|
+
INCLUDED: "INCLUDED";
|
|
15
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
16
|
+
};
|
|
17
|
+
}>>;
|
|
3
18
|
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4
19
|
remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
5
20
|
resetAt: z.ZodISODateTime;
|
|
@@ -1,6 +1,9 @@
|
|
|
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 { ResearchAccessTypeSchema } from "./access-type.js";
|
|
3
4
|
const ResearchAllowanceSchemaDefinition = z.object({
|
|
5
|
+
/** What filing one more research run on this meter does now, decided exactly as filing decides it; present only on the company and person research meters */
|
|
6
|
+
access: ResearchAccessTypeSchema.nullish(),
|
|
4
7
|
/** Cap for the period; absent when the tier meters without a cap */
|
|
5
8
|
limit: z.int().nullish(),
|
|
6
9
|
/** Cap minus used, never negative; absent when there is no cap */
|
|
@@ -12,7 +12,9 @@ export interface ResearchFindingSchemaInput extends z.input<typeof ResearchFindi
|
|
|
12
12
|
* One fact you researched, with the page and exact text that support it. The run checks the quote against the page before it writes the fact.
|
|
13
13
|
*
|
|
14
14
|
* @openapiSchema ResearchFinding
|
|
15
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
15
16
|
* @endpoint POST /v1/research-runs
|
|
17
|
+
* @usedBySchema EnrichmentPromptSchema
|
|
16
18
|
* @usedBySchema HarnessRunCreateSchema
|
|
17
19
|
* @contractShape research.finding
|
|
18
20
|
* @contractRole canonical
|
package/dist/research/finding.js
CHANGED
|
@@ -14,7 +14,9 @@ const ResearchFindingSchemaDefinition = z.object({
|
|
|
14
14
|
* One fact you researched, with the page and exact text that support it. The run checks the quote against the page before it writes the fact.
|
|
15
15
|
*
|
|
16
16
|
* @openapiSchema ResearchFinding
|
|
17
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
17
18
|
* @endpoint POST /v1/research-runs
|
|
19
|
+
* @usedBySchema EnrichmentPromptSchema
|
|
18
20
|
* @usedBySchema HarnessRunCreateSchema
|
|
19
21
|
* @contractShape research.finding
|
|
20
22
|
* @contractRole canonical
|
|
@@ -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
|