@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.
Files changed (75) 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 +45 -16
  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 +82 -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 +16 -0
  23. package/dist/enrichment/refusal-type.js +13 -0
  24. package/dist/entity/alias-type.d.ts +1 -0
  25. package/dist/entity/alias-type.js +1 -0
  26. package/dist/entity/entity.d.ts +2 -0
  27. package/dist/entity/entity.js +2 -0
  28. package/dist/entity/image.d.ts +1 -0
  29. package/dist/entity/image.js +1 -0
  30. package/dist/entity/name-alias-entity-alias-type.d.ts +1 -0
  31. package/dist/entity/name-alias-entity-alias-type.js +1 -0
  32. package/dist/entity/person-owner.d.ts +2 -0
  33. package/dist/entity/person-owner.js +2 -0
  34. package/dist/entity/sitemap.d.ts +1 -0
  35. package/dist/entity/sitemap.js +1 -0
  36. package/dist/harness/chassis.d.ts +2 -0
  37. package/dist/harness/chassis.js +2 -0
  38. package/dist/harness/llm-api.d.ts +2 -0
  39. package/dist/harness/llm-api.js +2 -0
  40. package/dist/harness/run-detail.d.ts +183 -0
  41. package/dist/harness/run-detail.js +27 -0
  42. package/dist/harness/run-environment.d.ts +2 -0
  43. package/dist/harness/run-environment.js +2 -0
  44. package/dist/harness/run-lane.d.ts +2 -0
  45. package/dist/harness/run-lane.js +2 -0
  46. package/dist/harness/run-progress.d.ts +20 -0
  47. package/dist/harness/run-progress.js +30 -0
  48. package/dist/harness/run-status.d.ts +2 -0
  49. package/dist/harness/run-status.js +2 -0
  50. package/dist/harness/run-type.d.ts +2 -0
  51. package/dist/harness/run-type.js +2 -0
  52. package/dist/harness/run.d.ts +14 -13
  53. package/dist/harness/run.js +14 -11
  54. package/dist/http/problem-detail.d.ts +2 -4
  55. package/dist/http/problem-detail.js +1 -9
  56. package/dist/identification/candidate.d.ts +3 -0
  57. package/dist/identification/candidate.js +5 -0
  58. package/dist/identification/identification.d.ts +19 -14
  59. package/dist/identification/identification.js +13 -12
  60. package/dist/job/enqueue.d.ts +19 -0
  61. package/dist/job/enqueue.js +18 -0
  62. package/dist/job/state.d.ts +20 -0
  63. package/dist/job/state.js +20 -0
  64. package/dist/lookup/job-mention.d.ts +152 -0
  65. package/dist/lookup/job-mention.js +29 -0
  66. package/dist/lookup/job-mutation.d.ts +20 -0
  67. package/dist/lookup/job-mutation.js +20 -0
  68. package/dist/lookup/job.d.ts +202 -0
  69. package/dist/lookup/job.js +31 -0
  70. package/dist/openapi-component-manifest.js +20 -0
  71. package/dist/research/allowance-usage.d.ts +54 -77
  72. package/dist/research/allowance-usage.js +12 -4
  73. package/dist/research/allowance.d.ts +6 -9
  74. package/dist/research/allowance.js +9 -10
  75. package/package.json +1 -1
@@ -111,6 +111,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
111
111
  },
112
112
  BillingPlanType: { modulePath: "billing/plan-type", schemaName: "BillingPlanTypeSchema" },
113
113
  BillingPortal: { modulePath: "billing/portal", schemaName: "BillingPortalSchema" },
114
+ BillingRecurringPrice: {
115
+ modulePath: "billing/recurring-price",
116
+ schemaName: "BillingRecurringPriceSchema",
117
+ },
114
118
  BillingSubscription: {
115
119
  modulePath: "billing/subscription",
116
120
  schemaName: "BillingSubscriptionSchema",
@@ -196,7 +200,13 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
196
200
  schemaName: "DuplicateCreateReviewSchema",
197
201
  },
198
202
  EmployeeCount: { modulePath: "employee/count", schemaName: "EmployeeCountSchema" },
203
+ Enrichment: { modulePath: "enrichment/enrichment", schemaName: "EnrichmentSchema" },
204
+ EnrichmentBatch: { modulePath: "enrichment/batch", schemaName: "EnrichmentBatchSchema" },
199
205
  EnrichmentMode: { modulePath: "enrichment/mode", schemaName: "EnrichmentModeSchema" },
206
+ EnrichmentRefusalType: {
207
+ modulePath: "enrichment/refusal-type",
208
+ schemaName: "EnrichmentRefusalTypeSchema",
209
+ },
200
210
  Entity: { modulePath: "entity/entity", schemaName: "EntitySchema" },
201
211
  EntityAcceleratorParticipation: {
202
212
  modulePath: "entity/accelerator-participation",
@@ -458,11 +468,16 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
458
468
  HarnessChassis: { modulePath: "harness/chassis", schemaName: "HarnessChassisSchema" },
459
469
  HarnessLlmApi: { modulePath: "harness/llm-api", schemaName: "HarnessLlmApiSchema" },
460
470
  HarnessRun: { modulePath: "harness/run", schemaName: "HarnessRunSchema" },
471
+ HarnessRunDetail: { modulePath: "harness/run-detail", schemaName: "HarnessRunDetailSchema" },
461
472
  HarnessRunEnvironment: {
462
473
  modulePath: "harness/run-environment",
463
474
  schemaName: "HarnessRunEnvironmentSchema",
464
475
  },
465
476
  HarnessRunLane: { modulePath: "harness/run-lane", schemaName: "HarnessRunLaneSchema" },
477
+ HarnessRunProgress: {
478
+ modulePath: "harness/run-progress",
479
+ schemaName: "HarnessRunProgressSchema",
480
+ },
466
481
  HarnessRunStatus: { modulePath: "harness/run-status", schemaName: "HarnessRunStatusSchema" },
467
482
  HarnessRunType: { modulePath: "harness/run-type", schemaName: "HarnessRunTypeSchema" },
468
483
  HelpCitation: { modulePath: "help/citation", schemaName: "HelpCitationSchema" },
@@ -485,8 +500,13 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
485
500
  modulePath: "investor/activity-filter",
486
501
  schemaName: "InvestorActivityFilterSchema",
487
502
  },
503
+ JobEnqueue: { modulePath: "job/enqueue", schemaName: "JobEnqueueSchema" },
504
+ JobState: { modulePath: "job/state", schemaName: "JobStateSchema" },
488
505
  JsonValue: { modulePath: "http/json-value", schemaName: "JsonValueSchema" },
489
506
  LinkSearch: { modulePath: "link/search", schemaName: "LinkSearchSchema" },
507
+ LookupJob: { modulePath: "lookup/job", schemaName: "LookupJobSchema" },
508
+ LookupJobMention: { modulePath: "lookup/job-mention", schemaName: "LookupJobMentionSchema" },
509
+ LookupJobMutation: { modulePath: "lookup/job-mutation", schemaName: "LookupJobMutationSchema" },
490
510
  MediaObjectType: { modulePath: "media/object-type", schemaName: "MediaObjectTypeSchema" },
491
511
  MediaSlot: { modulePath: "media/slot", schemaName: "MediaSlotSchema" },
492
512
  MediaUpload: { modulePath: "media/upload", schemaName: "MediaUploadSchema" },
@@ -1,82 +1,59 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const ResearchAllowanceUsageSchemaDefinition: z.ZodObject<{
3
- entityView: z.ZodType<{
4
- limit?: number | null | undefined;
5
- remaining?: number | null | undefined;
6
- resetAt: string;
7
- used: number;
8
- }, unknown, z.core.$ZodTypeInternals<{
9
- limit?: number | null | undefined;
10
- remaining?: number | null | undefined;
11
- resetAt: string;
12
- used: number;
13
- }, unknown>>;
14
- newCompany: z.ZodType<{
15
- limit?: number | null | undefined;
16
- remaining?: number | null | undefined;
17
- resetAt: string;
18
- used: number;
19
- }, unknown, z.core.$ZodTypeInternals<{
20
- limit?: number | null | undefined;
21
- remaining?: number | null | undefined;
22
- resetAt: string;
23
- used: number;
24
- }, unknown>>;
25
- newPerson: z.ZodType<{
26
- limit?: number | null | undefined;
27
- remaining?: number | null | undefined;
28
- resetAt: string;
29
- used: number;
30
- }, unknown, z.core.$ZodTypeInternals<{
31
- limit?: number | null | undefined;
32
- remaining?: number | null | undefined;
33
- resetAt: string;
34
- used: number;
35
- }, unknown>>;
36
- personView: z.ZodType<{
37
- limit?: number | null | undefined;
38
- remaining?: number | null | undefined;
39
- resetAt: string;
40
- used: number;
41
- }, unknown, z.core.$ZodTypeInternals<{
42
- limit?: number | null | undefined;
43
- remaining?: number | null | undefined;
44
- resetAt: string;
45
- used: number;
46
- }, unknown>>;
47
- update: z.ZodType<{
48
- limit?: number | null | undefined;
49
- remaining?: number | null | undefined;
50
- resetAt: string;
51
- used: number;
52
- }, unknown, z.core.$ZodTypeInternals<{
53
- limit?: number | null | undefined;
54
- remaining?: number | null | undefined;
55
- resetAt: string;
56
- used: number;
57
- }, unknown>>;
58
- updatePerson: z.ZodType<{
59
- limit?: number | null | undefined;
60
- remaining?: number | null | undefined;
61
- resetAt: string;
62
- used: number;
63
- }, unknown, z.core.$ZodTypeInternals<{
64
- limit?: number | null | undefined;
65
- remaining?: number | null | undefined;
66
- resetAt: string;
67
- used: number;
68
- }, unknown>>;
69
- webSearch: z.ZodType<{
70
- limit?: number | null | undefined;
71
- remaining?: number | null | undefined;
72
- resetAt: string;
73
- used: number;
74
- }, unknown, z.core.$ZodTypeInternals<{
75
- limit?: number | null | undefined;
76
- remaining?: number | null | undefined;
77
- resetAt: string;
78
- used: number;
79
- }, unknown>>;
3
+ company: z.ZodObject<{
4
+ limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6
+ resetAt: z.ZodISODateTime;
7
+ used: z.ZodInt;
8
+ }, z.core.$strip>;
9
+ entityView: z.ZodObject<{
10
+ limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
11
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12
+ resetAt: z.ZodISODateTime;
13
+ used: z.ZodInt;
14
+ }, z.core.$strip>;
15
+ newCompany: z.ZodOptional<z.ZodObject<{
16
+ limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
17
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
18
+ resetAt: z.ZodISODateTime;
19
+ used: z.ZodInt;
20
+ }, z.core.$strip>>;
21
+ newPerson: z.ZodOptional<z.ZodObject<{
22
+ limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
24
+ resetAt: z.ZodISODateTime;
25
+ used: z.ZodInt;
26
+ }, z.core.$strip>>;
27
+ person: z.ZodObject<{
28
+ limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
29
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
30
+ resetAt: z.ZodISODateTime;
31
+ used: z.ZodInt;
32
+ }, z.core.$strip>;
33
+ personView: z.ZodObject<{
34
+ limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
35
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
36
+ resetAt: z.ZodISODateTime;
37
+ used: z.ZodInt;
38
+ }, z.core.$strip>;
39
+ update: z.ZodOptional<z.ZodObject<{
40
+ limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
41
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
42
+ resetAt: z.ZodISODateTime;
43
+ used: z.ZodInt;
44
+ }, z.core.$strip>>;
45
+ updatePerson: z.ZodOptional<z.ZodObject<{
46
+ limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
47
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
48
+ resetAt: z.ZodISODateTime;
49
+ used: z.ZodInt;
50
+ }, z.core.$strip>>;
51
+ webSearch: z.ZodObject<{
52
+ limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
53
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
54
+ resetAt: z.ZodISODateTime;
55
+ used: z.ZodInt;
56
+ }, z.core.$strip>;
80
57
  }, z.core.$strip>;
81
58
  type ResearchAllowanceUsageDefinition = z.infer<typeof ResearchAllowanceUsageSchemaDefinition>;
82
59
  /**
@@ -2,12 +2,20 @@
2
2
  import { z } from "zod/v4";
3
3
  import { ResearchAllowanceSchema } from "./allowance.js";
4
4
  const ResearchAllowanceUsageSchemaDefinition = z.object({
5
+ /** Research runs on company targets, new or existing */
6
+ company: ResearchAllowanceSchema,
5
7
  entityView: ResearchAllowanceSchema,
6
- newCompany: ResearchAllowanceSchema,
7
- newPerson: ResearchAllowanceSchema,
8
+ /** Deprecated: replaced by company, which it mirrors. */
9
+ newCompany: ResearchAllowanceSchema.optional(),
10
+ /** Deprecated: replaced by person, which it mirrors. */
11
+ newPerson: ResearchAllowanceSchema.optional(),
12
+ /** Research runs on person-profile targets, new or existing */
13
+ person: ResearchAllowanceSchema,
8
14
  personView: ResearchAllowanceSchema,
9
- update: ResearchAllowanceSchema,
10
- updatePerson: ResearchAllowanceSchema,
15
+ /** Deprecated: replaced by company, which it mirrors. */
16
+ update: ResearchAllowanceSchema.optional(),
17
+ /** Deprecated: replaced by person, which it mirrors. */
18
+ updatePerson: ResearchAllowanceSchema.optional(),
11
19
  webSearch: ResearchAllowanceSchema,
12
20
  });
13
21
  /**
@@ -1,11 +1,4 @@
1
1
  import { z } from "zod/v4";
2
- declare const ResearchAllowanceSchemaDefinition: z.ZodObject<{
3
- limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4
- remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5
- resetAt: z.ZodISODateTime;
6
- used: z.ZodInt;
7
- }, z.core.$strip>;
8
- type ResearchAllowanceDefinition = z.infer<typeof ResearchAllowanceSchemaDefinition>;
9
2
  /**
10
3
  * @openapiSchema ResearchAllowance
11
4
  * @endpoint GET /v1/billing/ai-credits
@@ -14,7 +7,11 @@ type ResearchAllowanceDefinition = z.infer<typeof ResearchAllowanceSchemaDefinit
14
7
  * @contractShape research.allowance
15
8
  * @contractRole canonical
16
9
  */
17
- export declare const ResearchAllowanceSchema: z.ZodType<ResearchAllowanceDefinition>;
10
+ export declare const ResearchAllowanceSchema: z.ZodObject<{
11
+ limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
13
+ resetAt: z.ZodISODateTime;
14
+ used: z.ZodInt;
15
+ }, z.core.$strip>;
18
16
  export type ResearchAllowance = z.infer<typeof ResearchAllowanceSchema>;
19
- export {};
20
17
  //# sourceMappingURL=allowance.d.ts.map
@@ -1,6 +1,14 @@
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
- const ResearchAllowanceSchemaDefinition = z.object({
3
+ /**
4
+ * @openapiSchema ResearchAllowance
5
+ * @endpoint GET /v1/billing/ai-credits
6
+ * @endpoint GET /v1/billing/subscription
7
+ * @usedBySchema ResearchAllowanceUsageSchema
8
+ * @contractShape research.allowance
9
+ * @contractRole canonical
10
+ */
11
+ export const ResearchAllowanceSchema = z.object({
4
12
  /** Cap for the period; absent when the tier meters without a cap */
5
13
  limit: z.int().nullish(),
6
14
  /** Cap minus used, never negative; absent when there is no cap */
@@ -10,13 +18,4 @@ const ResearchAllowanceSchemaDefinition = z.object({
10
18
  /** Amount used so far in the period */
11
19
  used: z.int(),
12
20
  });
13
- /**
14
- * @openapiSchema ResearchAllowance
15
- * @endpoint GET /v1/billing/ai-credits
16
- * @endpoint GET /v1/billing/subscription
17
- * @usedBySchema ResearchAllowanceUsageSchema
18
- * @contractShape research.allowance
19
- * @contractRole canonical
20
- */
21
- export const ResearchAllowanceSchema = ResearchAllowanceSchemaDefinition;
22
21
  //# sourceMappingURL=allowance.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.3",
3
+ "version": "0.8.5",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas for the public aVenture API.",
6
6
  "license": "Apache-2.0",