@aventurevc/api-schemas 0.8.124 → 0.8.131
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/classification/catalog-bucket.d.ts +15 -28
- package/dist/enrichment/enrichment.d.ts +2 -2
- package/dist/enrichment/refusal-type.d.ts +3 -3
- package/dist/enrichment/refusal-type.js +4 -6
- package/dist/entity/classification-suggestion.d.ts +15 -28
- package/dist/entity/classification.d.ts +135 -252
- package/dist/entity/detail.d.ts +2 -0
- package/dist/entity/enrichment.d.ts +1 -0
- package/dist/entity/enrichment.js +2 -0
- package/dist/entity/fundraise-transaction.js +1 -0
- package/dist/entity/investor-participation.d.ts +2 -0
- package/dist/entity/list.d.ts +2 -0
- package/dist/entity/resolution.d.ts +2 -0
- package/dist/entity/similarity-result.d.ts +2 -0
- package/dist/entity/tag.d.ts +26 -29
- package/dist/entity/tag.js +30 -31
- package/dist/federated/search.d.ts +8 -0
- package/dist/http/problem-detail.d.ts +1 -0
- package/dist/http/problem-detail.js +2 -0
- package/dist/link/search.d.ts +8 -0
- package/dist/lookup/job-mention.d.ts +2 -0
- package/dist/lookup/job.d.ts +2 -0
- package/dist/mention/lookup.d.ts +3 -0
- package/dist/mention/lookup.js +2 -0
- package/dist/natural/search-result.d.ts +6 -0
- package/dist/pagination/schemas.d.ts +25 -28
- package/dist/research/detail-type.js +1 -1
- package/dist/shared/search-mutation.d.ts +1 -0
- package/dist/shared/search-mutation.js +2 -0
- package/dist/shared/search.d.ts +8 -0
- package/package.json +1 -1
|
@@ -5,45 +5,32 @@ declare const ClassificationCatalogBucketSchemaDefinition: z.ZodObject<{
|
|
|
5
5
|
creatable: z.ZodBoolean;
|
|
6
6
|
hierarchical: z.ZodBoolean;
|
|
7
7
|
label: z.ZodString;
|
|
8
|
-
tag: z.ZodArray<z.ZodType<{
|
|
8
|
+
tag: z.ZodArray<z.ZodIntersection<z.ZodType<{
|
|
9
9
|
creatable: boolean;
|
|
10
10
|
isCurrent?: boolean | null | undefined;
|
|
11
11
|
isPrimary?: boolean | null | undefined;
|
|
12
12
|
name: string;
|
|
13
13
|
writable: boolean;
|
|
14
|
-
} & {
|
|
15
|
-
bucket?: string | null | undefined;
|
|
16
|
-
classificationId?: number | null | undefined;
|
|
17
|
-
creatable: boolean;
|
|
18
|
-
createdAt?: string | null | undefined;
|
|
19
|
-
id: number;
|
|
20
|
-
isCurrent?: boolean | null | undefined;
|
|
21
|
-
isPrimary?: boolean | null | undefined;
|
|
22
|
-
name: string;
|
|
23
|
-
slug?: string | null | undefined;
|
|
24
|
-
type: string;
|
|
25
|
-
updatedAt?: string | null | undefined;
|
|
26
|
-
writable: boolean;
|
|
27
14
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
28
15
|
creatable: boolean;
|
|
29
16
|
isCurrent?: boolean | null | undefined;
|
|
30
17
|
isPrimary?: boolean | null | undefined;
|
|
31
18
|
name: string;
|
|
32
19
|
writable: boolean;
|
|
33
|
-
}
|
|
34
|
-
bucket
|
|
35
|
-
classificationId
|
|
36
|
-
creatable:
|
|
37
|
-
createdAt
|
|
38
|
-
id:
|
|
39
|
-
isCurrent
|
|
40
|
-
isPrimary
|
|
41
|
-
name:
|
|
42
|
-
slug
|
|
43
|
-
type:
|
|
44
|
-
updatedAt
|
|
45
|
-
writable:
|
|
46
|
-
},
|
|
20
|
+
}, unknown>>, z.ZodObject<{
|
|
21
|
+
bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
23
|
+
creatable: z.ZodBoolean;
|
|
24
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
25
|
+
id: z.ZodInt;
|
|
26
|
+
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
|
+
isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
type: z.ZodString;
|
|
31
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
32
|
+
writable: z.ZodBoolean;
|
|
33
|
+
}, z.core.$strip>>>;
|
|
47
34
|
tagCount: z.ZodInt;
|
|
48
35
|
type: z.ZodString;
|
|
49
36
|
writable: z.ZodBoolean;
|
|
@@ -4,12 +4,12 @@ declare const EnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
4
4
|
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
5
5
|
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
refusal: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
7
|
+
refusal: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8
8
|
ALLOWANCE_EXHAUSTED: "ALLOWANCE_EXHAUSTED";
|
|
9
9
|
AMBIGUOUS: "AMBIGUOUS";
|
|
10
10
|
NOT_FOUND: "NOT_FOUND";
|
|
11
11
|
SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
|
|
12
|
-
}>>>;
|
|
12
|
+
}>, z.ZodString]>>>;
|
|
13
13
|
run: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
attempt: z.ZodInt;
|
|
15
15
|
chassis: z.ZodEnum<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
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
|
|
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. Readers accept members they do not yet know
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema EnrichmentRefusalType
|
|
6
6
|
* @endpoint POST /v1/enrichments
|
|
@@ -8,11 +8,11 @@ import { z } from "zod/v4";
|
|
|
8
8
|
* @contractShape enrichment.refusal-type
|
|
9
9
|
* @contractRole canonical
|
|
10
10
|
*/
|
|
11
|
-
export declare const EnrichmentRefusalTypeSchema: z.ZodEnum<{
|
|
11
|
+
export declare const EnrichmentRefusalTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
12
12
|
ALLOWANCE_EXHAUSTED: "ALLOWANCE_EXHAUSTED";
|
|
13
13
|
AMBIGUOUS: "AMBIGUOUS";
|
|
14
14
|
NOT_FOUND: "NOT_FOUND";
|
|
15
15
|
SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
|
|
16
|
-
}>;
|
|
16
|
+
}>, z.ZodString]>;
|
|
17
17
|
export type EnrichmentRefusalType = z.infer<typeof EnrichmentRefusalTypeSchema>;
|
|
18
18
|
//# sourceMappingURL=refusal-type.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
-
* 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
|
+
* 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. Readers accept members they do not yet know
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema EnrichmentRefusalType
|
|
7
7
|
* @endpoint POST /v1/enrichments
|
|
@@ -9,10 +9,8 @@ import { z } from "zod/v4";
|
|
|
9
9
|
* @contractShape enrichment.refusal-type
|
|
10
10
|
* @contractRole canonical
|
|
11
11
|
*/
|
|
12
|
-
export const EnrichmentRefusalTypeSchema = z.
|
|
13
|
-
"NOT_FOUND",
|
|
14
|
-
|
|
15
|
-
"AMBIGUOUS",
|
|
16
|
-
"SUBSCRIPTION_REQUIRED",
|
|
12
|
+
export const EnrichmentRefusalTypeSchema = z.union([
|
|
13
|
+
z.enum(["NOT_FOUND", "ALLOWANCE_EXHAUSTED", "AMBIGUOUS", "SUBSCRIPTION_REQUIRED"]),
|
|
14
|
+
z.string(),
|
|
17
15
|
]);
|
|
18
16
|
//# sourceMappingURL=refusal-type.js.map
|
|
@@ -1,45 +1,32 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const EntityClassificationSuggestionSchemaDefinition: z.ZodObject<{
|
|
3
3
|
alreadyJoined: z.ZodBoolean;
|
|
4
|
-
classification: z.ZodUnion<readonly [z.ZodType<{
|
|
4
|
+
classification: z.ZodUnion<readonly [z.ZodIntersection<z.ZodType<{
|
|
5
5
|
creatable: boolean;
|
|
6
6
|
isCurrent?: boolean | null | undefined;
|
|
7
7
|
isPrimary?: boolean | null | undefined;
|
|
8
8
|
name: string;
|
|
9
9
|
writable: boolean;
|
|
10
|
-
} & {
|
|
11
|
-
bucket?: string | null | undefined;
|
|
12
|
-
classificationId?: number | null | undefined;
|
|
13
|
-
creatable: boolean;
|
|
14
|
-
createdAt?: string | null | undefined;
|
|
15
|
-
id: number;
|
|
16
|
-
isCurrent?: boolean | null | undefined;
|
|
17
|
-
isPrimary?: boolean | null | undefined;
|
|
18
|
-
name: string;
|
|
19
|
-
slug?: string | null | undefined;
|
|
20
|
-
type: string;
|
|
21
|
-
updatedAt?: string | null | undefined;
|
|
22
|
-
writable: boolean;
|
|
23
10
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
24
11
|
creatable: boolean;
|
|
25
12
|
isCurrent?: boolean | null | undefined;
|
|
26
13
|
isPrimary?: boolean | null | undefined;
|
|
27
14
|
name: string;
|
|
28
15
|
writable: boolean;
|
|
29
|
-
}
|
|
30
|
-
bucket
|
|
31
|
-
classificationId
|
|
32
|
-
creatable:
|
|
33
|
-
createdAt
|
|
34
|
-
id:
|
|
35
|
-
isCurrent
|
|
36
|
-
isPrimary
|
|
37
|
-
name:
|
|
38
|
-
slug
|
|
39
|
-
type:
|
|
40
|
-
updatedAt
|
|
41
|
-
writable:
|
|
42
|
-
},
|
|
16
|
+
}, unknown>>, z.ZodObject<{
|
|
17
|
+
bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
19
|
+
creatable: z.ZodBoolean;
|
|
20
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
21
|
+
id: z.ZodInt;
|
|
22
|
+
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
+
isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
type: z.ZodString;
|
|
27
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
28
|
+
writable: z.ZodBoolean;
|
|
29
|
+
}, z.core.$strip>>, z.ZodType<{
|
|
43
30
|
creatable: boolean;
|
|
44
31
|
isCurrent?: boolean | null | undefined;
|
|
45
32
|
isPrimary?: boolean | null | undefined;
|