@aventurevc/api-schemas 0.8.3 → 0.8.5
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/billing/additional-usage-meter.d.ts +2 -4
- package/dist/billing/additional-usage-type.d.ts +2 -4
- package/dist/billing/additional-usage-type.js +2 -4
- package/dist/billing/additional-usage.d.ts +2 -2
- package/dist/billing/catalog-additional-usage.d.ts +2 -4
- package/dist/billing/catalog-allowance.d.ts +2 -4
- package/dist/billing/catalog-allowance.js +1 -9
- package/dist/billing/catalog-plan.d.ts +1 -0
- package/dist/billing/catalog-plan.js +2 -0
- package/dist/billing/catalog-tier.d.ts +2 -2
- package/dist/billing/catalog.d.ts +6 -4
- package/dist/billing/recurring-price.d.ts +15 -0
- package/dist/billing/recurring-price.js +18 -0
- package/dist/billing/subscription.d.ts +45 -16
- package/dist/billing/subscription.js +3 -0
- package/dist/enrichment/batch.d.ts +25 -0
- package/dist/enrichment/batch.js +27 -0
- package/dist/enrichment/enrichment.d.ts +82 -0
- package/dist/enrichment/enrichment.js +23 -0
- package/dist/enrichment/mode.d.ts +3 -0
- package/dist/enrichment/mode.js +3 -0
- package/dist/enrichment/refusal-type.d.ts +16 -0
- package/dist/enrichment/refusal-type.js +13 -0
- package/dist/entity/alias-type.d.ts +1 -0
- package/dist/entity/alias-type.js +1 -0
- package/dist/entity/entity.d.ts +2 -0
- package/dist/entity/entity.js +2 -0
- package/dist/entity/image.d.ts +1 -0
- package/dist/entity/image.js +1 -0
- package/dist/entity/name-alias-entity-alias-type.d.ts +1 -0
- package/dist/entity/name-alias-entity-alias-type.js +1 -0
- package/dist/entity/person-owner.d.ts +2 -0
- package/dist/entity/person-owner.js +2 -0
- package/dist/entity/sitemap.d.ts +1 -0
- package/dist/entity/sitemap.js +1 -0
- package/dist/harness/chassis.d.ts +2 -0
- package/dist/harness/chassis.js +2 -0
- package/dist/harness/llm-api.d.ts +2 -0
- package/dist/harness/llm-api.js +2 -0
- package/dist/harness/run-detail.d.ts +183 -0
- package/dist/harness/run-detail.js +27 -0
- package/dist/harness/run-environment.d.ts +2 -0
- package/dist/harness/run-environment.js +2 -0
- package/dist/harness/run-lane.d.ts +2 -0
- package/dist/harness/run-lane.js +2 -0
- package/dist/harness/run-progress.d.ts +20 -0
- package/dist/harness/run-progress.js +30 -0
- package/dist/harness/run-status.d.ts +2 -0
- package/dist/harness/run-status.js +2 -0
- package/dist/harness/run-type.d.ts +2 -0
- package/dist/harness/run-type.js +2 -0
- package/dist/harness/run.d.ts +14 -13
- package/dist/harness/run.js +14 -11
- package/dist/http/problem-detail.d.ts +2 -4
- package/dist/http/problem-detail.js +1 -9
- package/dist/identification/candidate.d.ts +3 -0
- package/dist/identification/candidate.js +5 -0
- package/dist/identification/identification.d.ts +19 -14
- package/dist/identification/identification.js +13 -12
- package/dist/job/enqueue.d.ts +19 -0
- package/dist/job/enqueue.js +18 -0
- package/dist/job/state.d.ts +20 -0
- package/dist/job/state.js +20 -0
- package/dist/lookup/job-mention.d.ts +152 -0
- package/dist/lookup/job-mention.js +29 -0
- package/dist/lookup/job-mutation.d.ts +20 -0
- package/dist/lookup/job-mutation.js +20 -0
- package/dist/lookup/job.d.ts +202 -0
- package/dist/lookup/job.js +31 -0
- package/dist/openapi-component-manifest.js +20 -0
- package/dist/research/allowance-usage.d.ts +54 -77
- package/dist/research/allowance-usage.js +12 -4
- package/dist/research/allowance.d.ts +6 -9
- package/dist/research/allowance.js +9 -10
- package/package.json +1 -1
|
@@ -4,12 +4,10 @@ declare const BillingAdditionalUsageMeterSchemaDefinition: z.ZodObject<{
|
|
|
4
4
|
quantity: z.ZodInt;
|
|
5
5
|
type: z.ZodEnum<{
|
|
6
6
|
AI_CREDIT: "AI_CREDIT";
|
|
7
|
+
COMPANY: "COMPANY";
|
|
7
8
|
ENTITY_VIEW: "ENTITY_VIEW";
|
|
8
|
-
|
|
9
|
-
NEW_PERSON: "NEW_PERSON";
|
|
9
|
+
PERSON: "PERSON";
|
|
10
10
|
PERSON_VIEW: "PERSON_VIEW";
|
|
11
|
-
UPDATE: "UPDATE";
|
|
12
|
-
UPDATE_PERSON: "UPDATE_PERSON";
|
|
13
11
|
WEB_SEARCH: "WEB_SEARCH";
|
|
14
12
|
}>;
|
|
15
13
|
}, z.core.$strip>;
|
|
@@ -12,12 +12,10 @@ import { z } from "zod/v4";
|
|
|
12
12
|
*/
|
|
13
13
|
export declare const BillingAdditionalUsageTypeSchema: z.ZodEnum<{
|
|
14
14
|
AI_CREDIT: "AI_CREDIT";
|
|
15
|
+
COMPANY: "COMPANY";
|
|
15
16
|
ENTITY_VIEW: "ENTITY_VIEW";
|
|
16
|
-
|
|
17
|
-
NEW_PERSON: "NEW_PERSON";
|
|
17
|
+
PERSON: "PERSON";
|
|
18
18
|
PERSON_VIEW: "PERSON_VIEW";
|
|
19
|
-
UPDATE: "UPDATE";
|
|
20
|
-
UPDATE_PERSON: "UPDATE_PERSON";
|
|
21
19
|
WEB_SEARCH: "WEB_SEARCH";
|
|
22
20
|
}>;
|
|
23
21
|
export type BillingAdditionalUsageType = z.infer<typeof BillingAdditionalUsageTypeSchema>;
|
|
@@ -12,10 +12,8 @@ import { z } from "zod/v4";
|
|
|
12
12
|
* @contractRole canonical
|
|
13
13
|
*/
|
|
14
14
|
export const BillingAdditionalUsageTypeSchema = z.enum([
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"NEW_PERSON",
|
|
18
|
-
"UPDATE_PERSON",
|
|
15
|
+
"COMPANY",
|
|
16
|
+
"PERSON",
|
|
19
17
|
"ENTITY_VIEW",
|
|
20
18
|
"PERSON_VIEW",
|
|
21
19
|
"WEB_SEARCH",
|
|
@@ -11,11 +11,11 @@ declare const BillingAdditionalUsageSchemaDefinition: z.ZodObject<{
|
|
|
11
11
|
meter: z.ZodArray<z.ZodType<{
|
|
12
12
|
amountCents: number;
|
|
13
13
|
quantity: number;
|
|
14
|
-
type: "AI_CREDIT" | "
|
|
14
|
+
type: "AI_CREDIT" | "COMPANY" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
15
15
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
16
16
|
amountCents: number;
|
|
17
17
|
quantity: number;
|
|
18
|
-
type: "AI_CREDIT" | "
|
|
18
|
+
type: "AI_CREDIT" | "COMPANY" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
19
19
|
}, unknown>>>;
|
|
20
20
|
resetAt: z.ZodISODateTime;
|
|
21
21
|
spendCapCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2,12 +2,10 @@ import { z } from "zod/v4";
|
|
|
2
2
|
declare const BillingCatalogAdditionalUsageSchemaDefinition: z.ZodObject<{
|
|
3
3
|
type: z.ZodEnum<{
|
|
4
4
|
AI_CREDIT: "AI_CREDIT";
|
|
5
|
+
COMPANY: "COMPANY";
|
|
5
6
|
ENTITY_VIEW: "ENTITY_VIEW";
|
|
6
|
-
|
|
7
|
-
NEW_PERSON: "NEW_PERSON";
|
|
7
|
+
PERSON: "PERSON";
|
|
8
8
|
PERSON_VIEW: "PERSON_VIEW";
|
|
9
|
-
UPDATE: "UPDATE";
|
|
10
|
-
UPDATE_PERSON: "UPDATE_PERSON";
|
|
11
9
|
WEB_SEARCH: "WEB_SEARCH";
|
|
12
10
|
}>;
|
|
13
11
|
unitAmount: z.ZodNumber;
|
|
@@ -2,12 +2,10 @@ import { z } from "zod/v4";
|
|
|
2
2
|
declare const BillingCatalogAllowanceSchemaDefinition: z.ZodObject<{
|
|
3
3
|
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4
4
|
type: z.ZodEnum<{
|
|
5
|
+
COMPANY: "COMPANY";
|
|
5
6
|
ENTITY_VIEW: "ENTITY_VIEW";
|
|
6
|
-
|
|
7
|
-
NEW_PERSON: "NEW_PERSON";
|
|
7
|
+
PERSON: "PERSON";
|
|
8
8
|
PERSON_VIEW: "PERSON_VIEW";
|
|
9
|
-
UPDATE: "UPDATE";
|
|
10
|
-
UPDATE_PERSON: "UPDATE_PERSON";
|
|
11
9
|
WEB_SEARCH: "WEB_SEARCH";
|
|
12
10
|
}>;
|
|
13
11
|
}, z.core.$strip>;
|
|
@@ -3,15 +3,7 @@ import { z } from "zod/v4";
|
|
|
3
3
|
const BillingCatalogAllowanceSchemaDefinition = z.object({
|
|
4
4
|
/** Monthly cap; 0 withholds the allowance and absent means uncapped. */
|
|
5
5
|
limit: z.int().nullish(),
|
|
6
|
-
type: z.enum([
|
|
7
|
-
"NEW_COMPANY",
|
|
8
|
-
"UPDATE",
|
|
9
|
-
"NEW_PERSON",
|
|
10
|
-
"UPDATE_PERSON",
|
|
11
|
-
"ENTITY_VIEW",
|
|
12
|
-
"PERSON_VIEW",
|
|
13
|
-
"WEB_SEARCH",
|
|
14
|
-
]),
|
|
6
|
+
type: z.enum(["COMPANY", "PERSON", "ENTITY_VIEW", "PERSON_VIEW", "WEB_SEARCH"]),
|
|
15
7
|
});
|
|
16
8
|
/**
|
|
17
9
|
* A tier's monthly cap for one allowance.
|
|
@@ -3,6 +3,7 @@ declare const BillingCatalogPlanSchemaDefinition: z.ZodObject<{
|
|
|
3
3
|
cadence: z.ZodString;
|
|
4
4
|
currency: z.ZodString;
|
|
5
5
|
displayName: z.ZodString;
|
|
6
|
+
introductoryAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6
7
|
plan: z.ZodEnum<{
|
|
7
8
|
PLUS_MONTHLY: "PLUS_MONTHLY";
|
|
8
9
|
PLUS_YEARLY: "PLUS_YEARLY";
|
|
@@ -7,6 +7,8 @@ const BillingCatalogPlanSchemaDefinition = z.object({
|
|
|
7
7
|
/** ISO 4217 currency code. */
|
|
8
8
|
currency: z.string(),
|
|
9
9
|
displayName: z.string(),
|
|
10
|
+
/** First invoice amount when an automatic, one-time Checkout offer is available; absent otherwise. Renewals use unitAmount. */
|
|
11
|
+
introductoryAmount: z.number().int().nullish(),
|
|
10
12
|
plan: BillingPlanTypeSchema,
|
|
11
13
|
tier: z.enum(["ESSENTIAL", "PLUS", "PRO", "UNLIMITED"]),
|
|
12
14
|
/** Price per cadence in the currency's minor unit, such as cents. */
|
|
@@ -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: "COMPANY" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
7
7
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
8
8
|
limit?: number | null | undefined;
|
|
9
|
-
type: "
|
|
9
|
+
type: "COMPANY" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
10
10
|
}, unknown>>>;
|
|
11
11
|
displayName: z.ZodString;
|
|
12
12
|
tier: z.ZodEnum<{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
3
3
|
additionalUsage: z.ZodArray<z.ZodType<{
|
|
4
|
-
type: "AI_CREDIT" | "
|
|
4
|
+
type: "AI_CREDIT" | "COMPANY" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
5
5
|
unitAmount: number;
|
|
6
6
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
7
|
-
type: "AI_CREDIT" | "
|
|
7
|
+
type: "AI_CREDIT" | "COMPANY" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
8
8
|
unitAmount: number;
|
|
9
9
|
}, unknown>>>;
|
|
10
10
|
creditPack: z.ZodArray<z.ZodType<{
|
|
@@ -19,6 +19,7 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
|
19
19
|
cadence: string;
|
|
20
20
|
currency: string;
|
|
21
21
|
displayName: string;
|
|
22
|
+
introductoryAmount?: number | null | undefined;
|
|
22
23
|
plan: "PLUS_MONTHLY" | "PLUS_YEARLY" | "PRO_MONTHLY" | "PRO_YEARLY" | "PRO_YEARLY_PROMOTION";
|
|
23
24
|
tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
|
|
24
25
|
unitAmount: number;
|
|
@@ -26,6 +27,7 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
|
26
27
|
cadence: string;
|
|
27
28
|
currency: string;
|
|
28
29
|
displayName: string;
|
|
30
|
+
introductoryAmount?: number | null | undefined;
|
|
29
31
|
plan: "PLUS_MONTHLY" | "PLUS_YEARLY" | "PRO_MONTHLY" | "PRO_YEARLY" | "PRO_YEARLY_PROMOTION";
|
|
30
32
|
tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
|
|
31
33
|
unitAmount: number;
|
|
@@ -34,7 +36,7 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
|
34
36
|
aiCreditLimit?: number | null | undefined;
|
|
35
37
|
allowance: {
|
|
36
38
|
limit?: number | null | undefined;
|
|
37
|
-
type: "
|
|
39
|
+
type: "COMPANY" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
38
40
|
}[];
|
|
39
41
|
displayName: string;
|
|
40
42
|
tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
|
|
@@ -42,7 +44,7 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
|
42
44
|
aiCreditLimit?: number | null | undefined;
|
|
43
45
|
allowance: {
|
|
44
46
|
limit?: number | null | undefined;
|
|
45
|
-
type: "
|
|
47
|
+
type: "COMPANY" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
46
48
|
}[];
|
|
47
49
|
displayName: string;
|
|
48
50
|
tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* @openapiSchema BillingRecurringPrice
|
|
4
|
+
* @endpoint GET /v1/billing/subscription
|
|
5
|
+
* @usedBySchema BillingSubscriptionSchema
|
|
6
|
+
* @contractShape billing.recurring-price
|
|
7
|
+
* @contractRole canonical
|
|
8
|
+
*/
|
|
9
|
+
export declare const BillingRecurringPriceSchema: z.ZodObject<{
|
|
10
|
+
cadence: z.ZodString;
|
|
11
|
+
currency: z.ZodString;
|
|
12
|
+
unitAmount: z.ZodNumber;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
export type BillingRecurringPrice = z.infer<typeof BillingRecurringPriceSchema>;
|
|
15
|
+
//# sourceMappingURL=recurring-price.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
/**
|
|
4
|
+
* @openapiSchema BillingRecurringPrice
|
|
5
|
+
* @endpoint GET /v1/billing/subscription
|
|
6
|
+
* @usedBySchema BillingSubscriptionSchema
|
|
7
|
+
* @contractShape billing.recurring-price
|
|
8
|
+
* @contractRole canonical
|
|
9
|
+
*/
|
|
10
|
+
export const BillingRecurringPriceSchema = z.object({
|
|
11
|
+
/** ISO 8601 billing period. */
|
|
12
|
+
cadence: z.string(),
|
|
13
|
+
/** ISO 4217 currency code. */
|
|
14
|
+
currency: z.string(),
|
|
15
|
+
/** Recurring charge in the currency's minor unit, before discounts */
|
|
16
|
+
unitAmount: z.number().int(),
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=recurring-price.js.map
|
|
@@ -9,7 +9,7 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
|
|
|
9
9
|
meter: {
|
|
10
10
|
amountCents: number;
|
|
11
11
|
quantity: number;
|
|
12
|
-
type: "AI_CREDIT" | "
|
|
12
|
+
type: "AI_CREDIT" | "COMPANY" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
13
13
|
}[];
|
|
14
14
|
resetAt: string;
|
|
15
15
|
spendCapCents?: number | null | undefined;
|
|
@@ -24,7 +24,7 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
|
|
|
24
24
|
meter: {
|
|
25
25
|
amountCents: number;
|
|
26
26
|
quantity: number;
|
|
27
|
-
type: "AI_CREDIT" | "
|
|
27
|
+
type: "AI_CREDIT" | "COMPANY" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
28
28
|
}[];
|
|
29
29
|
resetAt: string;
|
|
30
30
|
spendCapCents?: number | null | undefined;
|
|
@@ -32,19 +32,31 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
|
|
|
32
32
|
unbilledCents: number;
|
|
33
33
|
}, unknown>>;
|
|
34
34
|
allowance: z.ZodType<{
|
|
35
|
-
|
|
35
|
+
company: {
|
|
36
36
|
limit?: number | null | undefined;
|
|
37
37
|
remaining?: number | null | undefined;
|
|
38
38
|
resetAt: string;
|
|
39
39
|
used: number;
|
|
40
40
|
};
|
|
41
|
-
|
|
41
|
+
entityView: {
|
|
42
42
|
limit?: number | null | undefined;
|
|
43
43
|
remaining?: number | null | undefined;
|
|
44
44
|
resetAt: string;
|
|
45
45
|
used: number;
|
|
46
46
|
};
|
|
47
|
-
|
|
47
|
+
newCompany?: {
|
|
48
|
+
limit?: number | null | undefined;
|
|
49
|
+
remaining?: number | null | undefined;
|
|
50
|
+
resetAt: string;
|
|
51
|
+
used: number;
|
|
52
|
+
} | undefined;
|
|
53
|
+
newPerson?: {
|
|
54
|
+
limit?: number | null | undefined;
|
|
55
|
+
remaining?: number | null | undefined;
|
|
56
|
+
resetAt: string;
|
|
57
|
+
used: number;
|
|
58
|
+
} | undefined;
|
|
59
|
+
person: {
|
|
48
60
|
limit?: number | null | undefined;
|
|
49
61
|
remaining?: number | null | undefined;
|
|
50
62
|
resetAt: string;
|
|
@@ -56,18 +68,18 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
|
|
|
56
68
|
resetAt: string;
|
|
57
69
|
used: number;
|
|
58
70
|
};
|
|
59
|
-
update
|
|
71
|
+
update?: {
|
|
60
72
|
limit?: number | null | undefined;
|
|
61
73
|
remaining?: number | null | undefined;
|
|
62
74
|
resetAt: string;
|
|
63
75
|
used: number;
|
|
64
|
-
};
|
|
65
|
-
updatePerson
|
|
76
|
+
} | undefined;
|
|
77
|
+
updatePerson?: {
|
|
66
78
|
limit?: number | null | undefined;
|
|
67
79
|
remaining?: number | null | undefined;
|
|
68
80
|
resetAt: string;
|
|
69
81
|
used: number;
|
|
70
|
-
};
|
|
82
|
+
} | undefined;
|
|
71
83
|
webSearch: {
|
|
72
84
|
limit?: number | null | undefined;
|
|
73
85
|
remaining?: number | null | undefined;
|
|
@@ -75,19 +87,31 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
|
|
|
75
87
|
used: number;
|
|
76
88
|
};
|
|
77
89
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
78
|
-
|
|
90
|
+
company: {
|
|
79
91
|
limit?: number | null | undefined;
|
|
80
92
|
remaining?: number | null | undefined;
|
|
81
93
|
resetAt: string;
|
|
82
94
|
used: number;
|
|
83
95
|
};
|
|
84
|
-
|
|
96
|
+
entityView: {
|
|
85
97
|
limit?: number | null | undefined;
|
|
86
98
|
remaining?: number | null | undefined;
|
|
87
99
|
resetAt: string;
|
|
88
100
|
used: number;
|
|
89
101
|
};
|
|
90
|
-
|
|
102
|
+
newCompany?: {
|
|
103
|
+
limit?: number | null | undefined;
|
|
104
|
+
remaining?: number | null | undefined;
|
|
105
|
+
resetAt: string;
|
|
106
|
+
used: number;
|
|
107
|
+
} | undefined;
|
|
108
|
+
newPerson?: {
|
|
109
|
+
limit?: number | null | undefined;
|
|
110
|
+
remaining?: number | null | undefined;
|
|
111
|
+
resetAt: string;
|
|
112
|
+
used: number;
|
|
113
|
+
} | undefined;
|
|
114
|
+
person: {
|
|
91
115
|
limit?: number | null | undefined;
|
|
92
116
|
remaining?: number | null | undefined;
|
|
93
117
|
resetAt: string;
|
|
@@ -99,18 +123,18 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
|
|
|
99
123
|
resetAt: string;
|
|
100
124
|
used: number;
|
|
101
125
|
};
|
|
102
|
-
update
|
|
126
|
+
update?: {
|
|
103
127
|
limit?: number | null | undefined;
|
|
104
128
|
remaining?: number | null | undefined;
|
|
105
129
|
resetAt: string;
|
|
106
130
|
used: number;
|
|
107
|
-
};
|
|
108
|
-
updatePerson
|
|
131
|
+
} | undefined;
|
|
132
|
+
updatePerson?: {
|
|
109
133
|
limit?: number | null | undefined;
|
|
110
134
|
remaining?: number | null | undefined;
|
|
111
135
|
resetAt: string;
|
|
112
136
|
used: number;
|
|
113
|
-
};
|
|
137
|
+
} | undefined;
|
|
114
138
|
webSearch: {
|
|
115
139
|
limit?: number | null | undefined;
|
|
116
140
|
remaining?: number | null | undefined;
|
|
@@ -137,6 +161,11 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
|
|
|
137
161
|
PRO_YEARLY: "PRO_YEARLY";
|
|
138
162
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
139
163
|
}>>>;
|
|
164
|
+
recurringPrice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
165
|
+
cadence: z.ZodString;
|
|
166
|
+
currency: z.ZodString;
|
|
167
|
+
unitAmount: z.ZodNumber;
|
|
168
|
+
}, z.core.$strip>>>;
|
|
140
169
|
status: z.ZodEnum<{
|
|
141
170
|
ACTIVE: "ACTIVE";
|
|
142
171
|
CANCELED: "CANCELED";
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { BillingAdditionalUsageSchema } from "./additional-usage.js";
|
|
4
4
|
import { BillingPlanTypeSchema } from "./plan-type.js";
|
|
5
|
+
import { BillingRecurringPriceSchema } from "./recurring-price.js";
|
|
5
6
|
import { ResearchAllowanceUsageSchema } from "../research/allowance-usage.js";
|
|
6
7
|
const BillingSubscriptionSchemaDefinition = z.object({
|
|
7
8
|
additionalUsage: BillingAdditionalUsageSchema,
|
|
@@ -21,6 +22,8 @@ const BillingSubscriptionSchemaDefinition = z.object({
|
|
|
21
22
|
periodStart: z.iso.datetime({ offset: true }).nullish(),
|
|
22
23
|
/** Paid plan and billing cycle; absent without a paid subscription */
|
|
23
24
|
plan: BillingPlanTypeSchema.nullish(),
|
|
25
|
+
/** Subscribed renewal price before discounts; absent without a known paid Price */
|
|
26
|
+
recurringPrice: BillingRecurringPriceSchema.nullish(),
|
|
24
27
|
status: z.enum([
|
|
25
28
|
"NONE",
|
|
26
29
|
"INCOMPLETE",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const EnrichmentBatchSchemaDefinition: z.ZodObject<{
|
|
3
|
+
entityId: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
4
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
5
|
+
COMPREHENSIVE: "COMPREHENSIVE";
|
|
6
|
+
INDIVIDUAL: "INDIVIDUAL";
|
|
7
|
+
}>>;
|
|
8
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
personId: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
10
|
+
taskPresetKey: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
|
+
userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
type EnrichmentBatchDefinition = z.infer<typeof EnrichmentBatchSchemaDefinition>;
|
|
14
|
+
/**
|
|
15
|
+
* Existing records to enrich in one call, with the run options every run shares
|
|
16
|
+
*
|
|
17
|
+
* @openapiSchema EnrichmentBatch
|
|
18
|
+
* @endpoint POST /v1/enrichments
|
|
19
|
+
* @contractShape enrichment.batch
|
|
20
|
+
* @contractRole canonical
|
|
21
|
+
*/
|
|
22
|
+
export declare const EnrichmentBatchSchema: z.ZodType<EnrichmentBatchDefinition>;
|
|
23
|
+
export type EnrichmentBatch = z.infer<typeof EnrichmentBatchSchema>;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=batch.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { EnrichmentModeSchema } from "./mode.js";
|
|
4
|
+
const EnrichmentBatchSchemaDefinition = z.object({
|
|
5
|
+
/** Canonical entity UUIDs to enrich, filed in order before any person */
|
|
6
|
+
entityId: z.array(z.uuid()).optional(),
|
|
7
|
+
/** Enrichment breadth; omitted requests the comprehensive default */
|
|
8
|
+
mode: EnrichmentModeSchema.optional(),
|
|
9
|
+
/** Orchestrator model override; omitted uses the configured role default */
|
|
10
|
+
model: z.string().nullish(),
|
|
11
|
+
/** Canonical person UUIDs to enrich, filed in order after every entity */
|
|
12
|
+
personId: z.array(z.uuid()).optional(),
|
|
13
|
+
/** Task preset keys that scope or emphasize every run */
|
|
14
|
+
taskPresetKey: z.array(z.string()).nullish(),
|
|
15
|
+
/** Optional steering prompt */
|
|
16
|
+
userPrompt: z.string().nullish(),
|
|
17
|
+
});
|
|
18
|
+
/**
|
|
19
|
+
* Existing records to enrich in one call, with the run options every run shares
|
|
20
|
+
*
|
|
21
|
+
* @openapiSchema EnrichmentBatch
|
|
22
|
+
* @endpoint POST /v1/enrichments
|
|
23
|
+
* @contractShape enrichment.batch
|
|
24
|
+
* @contractRole canonical
|
|
25
|
+
*/
|
|
26
|
+
export const EnrichmentBatchSchema = EnrichmentBatchSchemaDefinition;
|
|
27
|
+
//# sourceMappingURL=batch.js.map
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const EnrichmentSchemaDefinition: z.ZodObject<{
|
|
3
|
+
record: z.ZodObject<{
|
|
4
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
5
|
+
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
refusal: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
8
|
+
ALLOWANCE_EXHAUSTED: "ALLOWANCE_EXHAUSTED";
|
|
9
|
+
NOT_FOUND: "NOT_FOUND";
|
|
10
|
+
}>>>;
|
|
11
|
+
run: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
attempt: z.ZodInt;
|
|
13
|
+
chassis: z.ZodEnum<{
|
|
14
|
+
"claude-agent-sdk": "claude-agent-sdk";
|
|
15
|
+
"pi-agent-sdk": "pi-agent-sdk";
|
|
16
|
+
}>;
|
|
17
|
+
chassisRouted: z.ZodBoolean;
|
|
18
|
+
createdAt: z.ZodISODateTime;
|
|
19
|
+
entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
environment: z.ZodEnum<{
|
|
21
|
+
development: "development";
|
|
22
|
+
production: "production";
|
|
23
|
+
staging: "staging";
|
|
24
|
+
unassigned: "unassigned";
|
|
25
|
+
}>;
|
|
26
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
failureClass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
29
|
+
hasSourceDocument: z.ZodBoolean;
|
|
30
|
+
id: z.ZodUUID;
|
|
31
|
+
iteration: z.ZodInt;
|
|
32
|
+
lane: z.ZodEnum<{
|
|
33
|
+
background: "background";
|
|
34
|
+
interactive: "interactive";
|
|
35
|
+
}>;
|
|
36
|
+
latestStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
llmApi: z.ZodEnum<{
|
|
38
|
+
anthropic: "anthropic";
|
|
39
|
+
"openai-chat": "openai-chat";
|
|
40
|
+
"openai-responses": "openai-responses";
|
|
41
|
+
}>;
|
|
42
|
+
maxIteration: z.ZodInt;
|
|
43
|
+
maxScoutConcurrent: z.ZodInt;
|
|
44
|
+
mode: z.ZodEnum<{
|
|
45
|
+
COMPREHENSIVE: "COMPREHENSIVE";
|
|
46
|
+
INDIVIDUAL: "INDIVIDUAL";
|
|
47
|
+
}>;
|
|
48
|
+
model: z.ZodString;
|
|
49
|
+
nextAttemptAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
50
|
+
resumeSafeUntil: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
51
|
+
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
52
|
+
status: z.ZodEnum<{
|
|
53
|
+
completed: "completed";
|
|
54
|
+
failed: "failed";
|
|
55
|
+
queued: "queued";
|
|
56
|
+
running: "running";
|
|
57
|
+
stopped: "stopped";
|
|
58
|
+
}>;
|
|
59
|
+
subagentModel: z.ZodString;
|
|
60
|
+
taskPresetKey: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
61
|
+
type: z.ZodEnum<{
|
|
62
|
+
ENRICHMENT: "ENRICHMENT";
|
|
63
|
+
TASK: "TASK";
|
|
64
|
+
}>;
|
|
65
|
+
updatedAt: z.ZodISODateTime;
|
|
66
|
+
url: z.ZodString;
|
|
67
|
+
userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
}, z.core.$strip>>>;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
type EnrichmentDefinition = z.infer<typeof EnrichmentSchemaDefinition>;
|
|
71
|
+
/**
|
|
72
|
+
* One requested record's batch enrichment outcome: the filed run or the refusal
|
|
73
|
+
*
|
|
74
|
+
* @openapiSchema Enrichment
|
|
75
|
+
* @endpoint POST /v1/enrichments
|
|
76
|
+
* @contractShape enrichment.enrichment
|
|
77
|
+
* @contractRole canonical
|
|
78
|
+
*/
|
|
79
|
+
export declare const EnrichmentSchema: z.ZodType<EnrichmentDefinition>;
|
|
80
|
+
export type Enrichment = z.infer<typeof EnrichmentSchema>;
|
|
81
|
+
export {};
|
|
82
|
+
//# sourceMappingURL=enrichment.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
|
+
import { EnrichmentRefusalTypeSchema } from "./refusal-type.js";
|
|
4
|
+
import { EntityPersonOwnerSchema } from "../entity/person-owner.js";
|
|
5
|
+
import { HarnessRunSchema } from "../harness/run.js";
|
|
6
|
+
const EnrichmentSchemaDefinition = z.object({
|
|
7
|
+
/** The requested entity or person */
|
|
8
|
+
record: EntityPersonOwnerSchema,
|
|
9
|
+
/** Why no run was filed; absent when run is set */
|
|
10
|
+
refusal: EnrichmentRefusalTypeSchema.nullish(),
|
|
11
|
+
/** The queued or reused run; absent when refusal is set */
|
|
12
|
+
run: HarnessRunSchema.nullish(),
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* One requested record's batch enrichment outcome: the filed run or the refusal
|
|
16
|
+
*
|
|
17
|
+
* @openapiSchema Enrichment
|
|
18
|
+
* @endpoint POST /v1/enrichments
|
|
19
|
+
* @contractShape enrichment.enrichment
|
|
20
|
+
* @contractRole canonical
|
|
21
|
+
*/
|
|
22
|
+
export const EnrichmentSchema = EnrichmentSchemaDefinition;
|
|
23
|
+
//# sourceMappingURL=enrichment.js.map
|
|
@@ -3,8 +3,11 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Whether the run performs comprehensive enrichment or only selected tasks
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema EnrichmentMode
|
|
6
|
+
* @endpoint GET /v1/harness/runs/{runId}
|
|
7
|
+
* @endpoint POST /v1/enrichments
|
|
6
8
|
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
7
9
|
* @endpoint POST /v1/people/{personId}/enrichments
|
|
10
|
+
* @usedBySchema EnrichmentBatchSchema
|
|
8
11
|
* @usedBySchema HarnessRunSchema
|
|
9
12
|
* @contractShape enrichment.mode
|
|
10
13
|
* @contractRole canonical
|
package/dist/enrichment/mode.js
CHANGED
|
@@ -4,8 +4,11 @@ import { z } from "zod/v4";
|
|
|
4
4
|
* Whether the run performs comprehensive enrichment or only selected tasks
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema EnrichmentMode
|
|
7
|
+
* @endpoint GET /v1/harness/runs/{runId}
|
|
8
|
+
* @endpoint POST /v1/enrichments
|
|
7
9
|
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
8
10
|
* @endpoint POST /v1/people/{personId}/enrichments
|
|
11
|
+
* @usedBySchema EnrichmentBatchSchema
|
|
9
12
|
* @usedBySchema HarnessRunSchema
|
|
10
13
|
* @contractShape enrichment.mode
|
|
11
14
|
* @contractRole canonical
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Why a batch enrichment filed no run: NOT_FOUND for an unknown record, ALLOWANCE_EXHAUSTED once the caller's research allowance ran out during the batch
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema EnrichmentRefusalType
|
|
6
|
+
* @endpoint POST /v1/enrichments
|
|
7
|
+
* @usedBySchema EnrichmentSchema
|
|
8
|
+
* @contractShape enrichment.refusal-type
|
|
9
|
+
* @contractRole canonical
|
|
10
|
+
*/
|
|
11
|
+
export declare const EnrichmentRefusalTypeSchema: z.ZodEnum<{
|
|
12
|
+
ALLOWANCE_EXHAUSTED: "ALLOWANCE_EXHAUSTED";
|
|
13
|
+
NOT_FOUND: "NOT_FOUND";
|
|
14
|
+
}>;
|
|
15
|
+
export type EnrichmentRefusalType = z.infer<typeof EnrichmentRefusalTypeSchema>;
|
|
16
|
+
//# sourceMappingURL=refusal-type.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
/**
|
|
4
|
+
* Why a batch enrichment filed no run: NOT_FOUND for an unknown record, ALLOWANCE_EXHAUSTED once the caller's research allowance ran out during the batch
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema EnrichmentRefusalType
|
|
7
|
+
* @endpoint POST /v1/enrichments
|
|
8
|
+
* @usedBySchema EnrichmentSchema
|
|
9
|
+
* @contractShape enrichment.refusal-type
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export const EnrichmentRefusalTypeSchema = z.enum(["NOT_FOUND", "ALLOWANCE_EXHAUSTED"]);
|
|
13
|
+
//# sourceMappingURL=refusal-type.js.map
|
|
@@ -19,6 +19,7 @@ import { z } from "zod/v4";
|
|
|
19
19
|
* @endpoint GET /v1/entities/{entityId}/research
|
|
20
20
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
21
21
|
* @endpoint GET /v1/entities/relationships/{relationshipId}
|
|
22
|
+
* @endpoint GET /v1/harness/runs/{runId}
|
|
22
23
|
* @endpoint GET /v1/news/{newsId}/related-entities
|
|
23
24
|
* @endpoint GET /v1/people/{personId}
|
|
24
25
|
* @endpoint GET /v1/people/{personId}/graph
|
|
@@ -20,6 +20,7 @@ import { z } from "zod/v4";
|
|
|
20
20
|
* @endpoint GET /v1/entities/{entityId}/research
|
|
21
21
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
22
22
|
* @endpoint GET /v1/entities/relationships/{relationshipId}
|
|
23
|
+
* @endpoint GET /v1/harness/runs/{runId}
|
|
23
24
|
* @endpoint GET /v1/news/{newsId}/related-entities
|
|
24
25
|
* @endpoint GET /v1/people/{personId}
|
|
25
26
|
* @endpoint GET /v1/people/{personId}/graph
|
package/dist/entity/entity.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ import { z } from "zod/v4";
|
|
|
19
19
|
* @endpoint GET /v1/entities/{entityId}/research
|
|
20
20
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
21
21
|
* @endpoint GET /v1/entities/relationships/{relationshipId}
|
|
22
|
+
* @endpoint GET /v1/harness/runs/{runId}
|
|
22
23
|
* @endpoint GET /v1/news/{newsId}/related-entities
|
|
23
24
|
* @endpoint GET /v1/people/{personId}
|
|
24
25
|
* @endpoint GET /v1/people/{personId}/graph
|
|
@@ -37,6 +38,7 @@ import { z } from "zod/v4";
|
|
|
37
38
|
* @usedBySchema EntityFundraiseTransactionEntitySchema
|
|
38
39
|
* @usedBySchema EntityListSchema
|
|
39
40
|
* @usedBySchema EntityRelationshipSchema
|
|
41
|
+
* @usedBySchema HarnessRunDetailSchema
|
|
40
42
|
* @usedBySchema PageEntitySchema
|
|
41
43
|
* @usedBySchema PersonGraphCoInvestorSchema
|
|
42
44
|
* @usedBySchema PersonInvestedCompanySchema
|