@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
|
@@ -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
|
-
|
|
4
|
-
limit
|
|
5
|
-
remaining
|
|
6
|
-
resetAt:
|
|
7
|
-
used:
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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
|
-
|
|
7
|
-
|
|
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
|
-
|
|
10
|
-
|
|
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.
|
|
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
|
-
|
|
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
|