@aventurevc/api-schemas 0.8.3 → 0.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/billing/additional-usage-meter.d.ts +2 -4
  2. package/dist/billing/additional-usage-type.d.ts +2 -4
  3. package/dist/billing/additional-usage-type.js +2 -4
  4. package/dist/billing/additional-usage.d.ts +2 -2
  5. package/dist/billing/catalog-additional-usage.d.ts +2 -4
  6. package/dist/billing/catalog-allowance.d.ts +2 -4
  7. package/dist/billing/catalog-allowance.js +1 -9
  8. package/dist/billing/catalog-plan.d.ts +1 -0
  9. package/dist/billing/catalog-plan.js +2 -0
  10. package/dist/billing/catalog-tier.d.ts +2 -2
  11. package/dist/billing/catalog.d.ts +6 -4
  12. package/dist/billing/recurring-price.d.ts +15 -0
  13. package/dist/billing/recurring-price.js +18 -0
  14. package/dist/billing/subscription.d.ts +31 -2
  15. package/dist/billing/subscription.js +3 -0
  16. package/dist/enrichment/batch.d.ts +25 -0
  17. package/dist/enrichment/batch.js +27 -0
  18. package/dist/enrichment/enrichment.d.ts +84 -0
  19. package/dist/enrichment/enrichment.js +23 -0
  20. package/dist/enrichment/mode.d.ts +3 -0
  21. package/dist/enrichment/mode.js +3 -0
  22. package/dist/enrichment/refusal-type.d.ts +18 -0
  23. package/dist/enrichment/refusal-type.js +18 -0
  24. package/dist/entity/alias-type.d.ts +2 -0
  25. package/dist/entity/alias-type.js +2 -0
  26. package/dist/entity/entity.d.ts +4 -0
  27. package/dist/entity/entity.js +4 -0
  28. package/dist/entity/image.d.ts +2 -0
  29. package/dist/entity/image.js +2 -0
  30. package/dist/entity/name-alias-entity-alias-type.d.ts +2 -0
  31. package/dist/entity/name-alias-entity-alias-type.js +2 -0
  32. package/dist/entity/person-owner.d.ts +2 -0
  33. package/dist/entity/person-owner.js +2 -0
  34. package/dist/entity/similarity-context.d.ts +2 -0
  35. package/dist/entity/similarity-context.js +2 -0
  36. package/dist/entity/similarity-origin.d.ts +1 -0
  37. package/dist/entity/similarity-origin.js +1 -0
  38. package/dist/entity/similarity-summary.d.ts +125 -0
  39. package/dist/entity/similarity-summary.js +22 -0
  40. package/dist/entity/sitemap.d.ts +2 -0
  41. package/dist/entity/sitemap.js +2 -0
  42. package/dist/entity/url-crawl-cdn-provider.d.ts +1 -0
  43. package/dist/entity/url-crawl-cdn-provider.js +1 -0
  44. package/dist/entity/url-crawl-render-mode.d.ts +1 -0
  45. package/dist/entity/url-crawl-render-mode.js +1 -0
  46. package/dist/entity/url-link.d.ts +2 -0
  47. package/dist/entity/url-link.js +2 -0
  48. package/dist/entity/url-type.d.ts +1 -0
  49. package/dist/entity/url-type.js +1 -0
  50. package/dist/harness/chassis.d.ts +2 -0
  51. package/dist/harness/chassis.js +2 -0
  52. package/dist/harness/llm-api.d.ts +2 -0
  53. package/dist/harness/llm-api.js +2 -0
  54. package/dist/harness/run-detail.d.ts +183 -0
  55. package/dist/harness/run-detail.js +27 -0
  56. package/dist/harness/run-environment.d.ts +2 -0
  57. package/dist/harness/run-environment.js +2 -0
  58. package/dist/harness/run-lane.d.ts +2 -0
  59. package/dist/harness/run-lane.js +2 -0
  60. package/dist/harness/run-progress.d.ts +20 -0
  61. package/dist/harness/run-progress.js +30 -0
  62. package/dist/harness/run-status.d.ts +2 -0
  63. package/dist/harness/run-status.js +2 -0
  64. package/dist/harness/run-type.d.ts +2 -0
  65. package/dist/harness/run-type.js +2 -0
  66. package/dist/harness/run.d.ts +14 -13
  67. package/dist/harness/run.js +14 -11
  68. package/dist/http/problem-detail.d.ts +2 -4
  69. package/dist/http/problem-detail.js +1 -9
  70. package/dist/identification/candidate.d.ts +3 -0
  71. package/dist/identification/candidate.js +5 -0
  72. package/dist/identification/identification.d.ts +19 -14
  73. package/dist/identification/identification.js +13 -12
  74. package/dist/job/enqueue.d.ts +19 -0
  75. package/dist/job/enqueue.js +18 -0
  76. package/dist/job/state.d.ts +20 -0
  77. package/dist/job/state.js +20 -0
  78. package/dist/lookup/job-mention.d.ts +152 -0
  79. package/dist/lookup/job-mention.js +29 -0
  80. package/dist/lookup/job-mutation.d.ts +20 -0
  81. package/dist/lookup/job-mutation.js +20 -0
  82. package/dist/lookup/job.d.ts +202 -0
  83. package/dist/lookup/job.js +31 -0
  84. package/dist/openapi-component-manifest.js +28 -0
  85. package/dist/pageable/object.d.ts +2 -0
  86. package/dist/pageable/object.js +2 -0
  87. package/dist/pagination/schemas.d.ts +164 -0
  88. package/dist/pagination/schemas.js +22 -0
  89. package/dist/problem/type.d.ts +1 -0
  90. package/dist/problem/type.js +1 -0
  91. package/dist/research/allowance-usage.d.ts +22 -0
  92. package/dist/research/allowance-usage.js +8 -0
  93. package/dist/sort/object.d.ts +2 -0
  94. package/dist/sort/object.js +2 -0
  95. 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
- NEW_COMPANY: "NEW_COMPANY";
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
- NEW_COMPANY: "NEW_COMPANY";
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
- "NEW_COMPANY",
16
- "UPDATE",
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" | "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON" | "WEB_SEARCH";
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" | "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON" | "WEB_SEARCH";
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
- NEW_COMPANY: "NEW_COMPANY";
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
- NEW_COMPANY: "NEW_COMPANY";
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: "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON" | "WEB_SEARCH";
6
+ type: "COMPANY" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
7
7
  }, unknown, z.core.$ZodTypeInternals<{
8
8
  limit?: number | null | undefined;
9
- type: "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON" | "WEB_SEARCH";
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" | "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON" | "WEB_SEARCH";
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" | "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON" | "WEB_SEARCH";
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: "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON" | "WEB_SEARCH";
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: "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON" | "WEB_SEARCH";
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" | "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON" | "WEB_SEARCH";
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" | "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON" | "WEB_SEARCH";
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,6 +32,12 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
32
32
  unbilledCents: number;
33
33
  }, unknown>>;
34
34
  allowance: z.ZodType<{
35
+ company: {
36
+ limit?: number | null | undefined;
37
+ remaining?: number | null | undefined;
38
+ resetAt: string;
39
+ used: number;
40
+ };
35
41
  entityView: {
36
42
  limit?: number | null | undefined;
37
43
  remaining?: number | null | undefined;
@@ -50,6 +56,12 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
50
56
  resetAt: string;
51
57
  used: number;
52
58
  };
59
+ person: {
60
+ limit?: number | null | undefined;
61
+ remaining?: number | null | undefined;
62
+ resetAt: string;
63
+ used: number;
64
+ };
53
65
  personView: {
54
66
  limit?: number | null | undefined;
55
67
  remaining?: number | null | undefined;
@@ -75,6 +87,12 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
75
87
  used: number;
76
88
  };
77
89
  }, unknown, z.core.$ZodTypeInternals<{
90
+ company: {
91
+ limit?: number | null | undefined;
92
+ remaining?: number | null | undefined;
93
+ resetAt: string;
94
+ used: number;
95
+ };
78
96
  entityView: {
79
97
  limit?: number | null | undefined;
80
98
  remaining?: number | null | undefined;
@@ -93,6 +111,12 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
93
111
  resetAt: string;
94
112
  used: number;
95
113
  };
114
+ person: {
115
+ limit?: number | null | undefined;
116
+ remaining?: number | null | undefined;
117
+ resetAt: string;
118
+ used: number;
119
+ };
96
120
  personView: {
97
121
  limit?: number | null | undefined;
98
122
  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
+ /** COMPREHENSIVE (the default) researches each whole profile; INDIVIDUAL runs only the tasks named in taskPresetKey */
8
+ mode: EnrichmentModeSchema.optional(),
9
+ /** Model id for each run's lead agent; omit to use aVenture's default model */
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; at least one is required when mode is INDIVIDUAL, and an unknown key is a 400 */
14
+ taskPresetKey: z.array(z.string()).nullish(),
15
+ /** Plain-language instruction for every run, such as which facts or sources to check first */
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,84 @@
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
+ AMBIGUOUS: "AMBIGUOUS";
10
+ NOT_FOUND: "NOT_FOUND";
11
+ SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
12
+ }>>>;
13
+ run: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ attempt: z.ZodInt;
15
+ chassis: z.ZodEnum<{
16
+ "claude-agent-sdk": "claude-agent-sdk";
17
+ "pi-agent-sdk": "pi-agent-sdk";
18
+ }>;
19
+ chassisRouted: z.ZodBoolean;
20
+ createdAt: z.ZodISODateTime;
21
+ entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ environment: z.ZodEnum<{
23
+ development: "development";
24
+ production: "production";
25
+ staging: "staging";
26
+ unassigned: "unassigned";
27
+ }>;
28
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ failureClass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
31
+ hasSourceDocument: z.ZodBoolean;
32
+ id: z.ZodUUID;
33
+ iteration: z.ZodInt;
34
+ lane: z.ZodEnum<{
35
+ background: "background";
36
+ interactive: "interactive";
37
+ }>;
38
+ latestStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ llmApi: z.ZodEnum<{
40
+ anthropic: "anthropic";
41
+ "openai-chat": "openai-chat";
42
+ "openai-responses": "openai-responses";
43
+ }>;
44
+ maxIteration: z.ZodInt;
45
+ maxScoutConcurrent: z.ZodInt;
46
+ mode: z.ZodEnum<{
47
+ COMPREHENSIVE: "COMPREHENSIVE";
48
+ INDIVIDUAL: "INDIVIDUAL";
49
+ }>;
50
+ model: z.ZodString;
51
+ nextAttemptAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
52
+ resumeSafeUntil: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
53
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
54
+ status: z.ZodEnum<{
55
+ completed: "completed";
56
+ failed: "failed";
57
+ queued: "queued";
58
+ running: "running";
59
+ stopped: "stopped";
60
+ }>;
61
+ subagentModel: z.ZodString;
62
+ taskPresetKey: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
63
+ type: z.ZodEnum<{
64
+ ENRICHMENT: "ENRICHMENT";
65
+ TASK: "TASK";
66
+ }>;
67
+ updatedAt: z.ZodISODateTime;
68
+ url: z.ZodString;
69
+ userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ }, z.core.$strip>>>;
71
+ }, z.core.$strip>;
72
+ type EnrichmentDefinition = z.infer<typeof EnrichmentSchemaDefinition>;
73
+ /**
74
+ * One requested record's batch enrichment outcome: the filed run or the refusal
75
+ *
76
+ * @openapiSchema Enrichment
77
+ * @endpoint POST /v1/enrichments
78
+ * @contractShape enrichment.enrichment
79
+ * @contractRole canonical
80
+ */
81
+ export declare const EnrichmentSchema: z.ZodType<EnrichmentDefinition>;
82
+ export type Enrichment = z.infer<typeof EnrichmentSchema>;
83
+ export {};
84
+ //# 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
@@ -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,18 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Why a batch enrichment filed no run: NOT_FOUND for an unknown record; ALLOWANCE_EXHAUSTED when the record's company or person research allowance is spent and additional usage is off or at its spend cap or prepaid credit; AMBIGUOUS when the record's profile matches more than one current record; SUBSCRIPTION_REQUIRED when the subscription stopped covering research mid-batch, such as additional usage while past due
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
+ AMBIGUOUS: "AMBIGUOUS";
14
+ NOT_FOUND: "NOT_FOUND";
15
+ SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
16
+ }>;
17
+ export type EnrichmentRefusalType = z.infer<typeof EnrichmentRefusalTypeSchema>;
18
+ //# sourceMappingURL=refusal-type.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
+ * Why a batch enrichment filed no run: NOT_FOUND for an unknown record; ALLOWANCE_EXHAUSTED when the record's company or person research allowance is spent and additional usage is off or at its spend cap or prepaid credit; AMBIGUOUS when the record's profile matches more than one current record; SUBSCRIPTION_REQUIRED when the subscription stopped covering research mid-batch, such as additional usage while past due
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([
13
+ "NOT_FOUND",
14
+ "ALLOWANCE_EXHAUSTED",
15
+ "AMBIGUOUS",
16
+ "SUBSCRIPTION_REQUIRED",
17
+ ]);
18
+ //# sourceMappingURL=refusal-type.js.map
@@ -18,7 +18,9 @@ import { z } from "zod/v4";
18
18
  * @endpoint GET /v1/entities/{entityId}/relationships
19
19
  * @endpoint GET /v1/entities/{entityId}/research
20
20
  * @endpoint GET /v1/entities/{entityId}/similar
21
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
21
22
  * @endpoint GET /v1/entities/relationships/{relationshipId}
23
+ * @endpoint GET /v1/harness/runs/{runId}
22
24
  * @endpoint GET /v1/news/{newsId}/related-entities
23
25
  * @endpoint GET /v1/people/{personId}
24
26
  * @endpoint GET /v1/people/{personId}/graph
@@ -19,7 +19,9 @@ import { z } from "zod/v4";
19
19
  * @endpoint GET /v1/entities/{entityId}/relationships
20
20
  * @endpoint GET /v1/entities/{entityId}/research
21
21
  * @endpoint GET /v1/entities/{entityId}/similar
22
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
22
23
  * @endpoint GET /v1/entities/relationships/{relationshipId}
24
+ * @endpoint GET /v1/harness/runs/{runId}
23
25
  * @endpoint GET /v1/news/{newsId}/related-entities
24
26
  * @endpoint GET /v1/people/{personId}
25
27
  * @endpoint GET /v1/people/{personId}/graph
@@ -18,7 +18,9 @@ import { z } from "zod/v4";
18
18
  * @endpoint GET /v1/entities/{entityId}/relationships
19
19
  * @endpoint GET /v1/entities/{entityId}/research
20
20
  * @endpoint GET /v1/entities/{entityId}/similar
21
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
21
22
  * @endpoint GET /v1/entities/relationships/{relationshipId}
23
+ * @endpoint GET /v1/harness/runs/{runId}
22
24
  * @endpoint GET /v1/news/{newsId}/related-entities
23
25
  * @endpoint GET /v1/people/{personId}
24
26
  * @endpoint GET /v1/people/{personId}/graph
@@ -37,6 +39,8 @@ import { z } from "zod/v4";
37
39
  * @usedBySchema EntityFundraiseTransactionEntitySchema
38
40
  * @usedBySchema EntityListSchema
39
41
  * @usedBySchema EntityRelationshipSchema
42
+ * @usedBySchema EntitySimilaritySummarySchema
43
+ * @usedBySchema HarnessRunDetailSchema
40
44
  * @usedBySchema PageEntitySchema
41
45
  * @usedBySchema PersonGraphCoInvestorSchema
42
46
  * @usedBySchema PersonInvestedCompanySchema
@@ -23,7 +23,9 @@ import { EntityTypeSchema } from "./type.js";
23
23
  * @endpoint GET /v1/entities/{entityId}/relationships
24
24
  * @endpoint GET /v1/entities/{entityId}/research
25
25
  * @endpoint GET /v1/entities/{entityId}/similar
26
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
26
27
  * @endpoint GET /v1/entities/relationships/{relationshipId}
28
+ * @endpoint GET /v1/harness/runs/{runId}
27
29
  * @endpoint GET /v1/news/{newsId}/related-entities
28
30
  * @endpoint GET /v1/people/{personId}
29
31
  * @endpoint GET /v1/people/{personId}/graph
@@ -42,6 +44,8 @@ import { EntityTypeSchema } from "./type.js";
42
44
  * @usedBySchema EntityFundraiseTransactionEntitySchema
43
45
  * @usedBySchema EntityListSchema
44
46
  * @usedBySchema EntityRelationshipSchema
47
+ * @usedBySchema EntitySimilaritySummarySchema
48
+ * @usedBySchema HarnessRunDetailSchema
45
49
  * @usedBySchema PageEntitySchema
46
50
  * @usedBySchema PersonGraphCoInvestorSchema
47
51
  * @usedBySchema PersonInvestedCompanySchema
@@ -26,7 +26,9 @@ type EntityImageDefinition = z.infer<typeof EntityImageSchemaDefinition>;
26
26
  * @endpoint GET /v1/entities/{entityId}/relationships
27
27
  * @endpoint GET /v1/entities/{entityId}/research
28
28
  * @endpoint GET /v1/entities/{entityId}/similar
29
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
29
30
  * @endpoint GET /v1/entities/relationships/{relationshipId}
31
+ * @endpoint GET /v1/harness/runs/{runId}
30
32
  * @endpoint GET /v1/news/{newsId}/related-entities
31
33
  * @endpoint GET /v1/people/{personId}
32
34
  * @endpoint GET /v1/people/{personId}/entities
@@ -27,7 +27,9 @@ const EntityImageSchemaDefinition = z.object({
27
27
  * @endpoint GET /v1/entities/{entityId}/relationships
28
28
  * @endpoint GET /v1/entities/{entityId}/research
29
29
  * @endpoint GET /v1/entities/{entityId}/similar
30
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
30
31
  * @endpoint GET /v1/entities/relationships/{relationshipId}
32
+ * @endpoint GET /v1/harness/runs/{runId}
31
33
  * @endpoint GET /v1/news/{newsId}/related-entities
32
34
  * @endpoint GET /v1/people/{personId}
33
35
  * @endpoint GET /v1/people/{personId}/entities