@aventurevc/api-schemas 0.8.177 → 0.8.179

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 (111) hide show
  1. package/dist/agent/help-question.js +1 -1
  2. package/dist/billing/catalog-plan.d.ts +10 -1
  3. package/dist/billing/checkout-mutation.d.ts +10 -1
  4. package/dist/billing/checkout.d.ts +10 -1
  5. package/dist/billing/plan-change-mutation.d.ts +10 -1
  6. package/dist/billing/plan-change.d.ts +10 -1
  7. package/dist/billing/plan-type.d.ts +10 -1
  8. package/dist/billing/plan-type.js +9 -11
  9. package/dist/billing/subscription.d.ts +20 -2
  10. package/dist/classification/catalog-bucket.d.ts +0 -8
  11. package/dist/classification/catalog-bucket.js +0 -4
  12. package/dist/classification/catalog-category.d.ts +0 -6
  13. package/dist/classification/catalog-category.js +0 -4
  14. package/dist/classification/catalog.d.ts +0 -20
  15. package/dist/classification/classification.d.ts +6 -3
  16. package/dist/classification/classification.js +0 -4
  17. package/dist/classification/inactive-tag-details.d.ts +9 -1
  18. package/dist/classification/join-registry.d.ts +6 -1
  19. package/dist/classification/join-registry.js +2 -4
  20. package/dist/content/embedding-match.d.ts +16 -1
  21. package/dist/content/source-type.d.ts +16 -1
  22. package/dist/content/source-type.js +15 -17
  23. package/dist/domain/conflict-type.d.ts +9 -1
  24. package/dist/domain/conflict-type.js +8 -10
  25. package/dist/duplicate/create-review.d.ts +9 -1
  26. package/dist/enrichment/enrichment.d.ts +8 -1
  27. package/dist/enrichment/refusal-type.d.ts +8 -1
  28. package/dist/enrichment/refusal-type.js +7 -4
  29. package/dist/entity/brand.d.ts +0 -76
  30. package/dist/entity/classification-suggestion.d.ts +0 -12
  31. package/dist/entity/classification-suggestion.js +0 -4
  32. package/dist/entity/classification.d.ts +0 -58
  33. package/dist/entity/comparison-signals.d.ts +41 -1
  34. package/dist/entity/detail.d.ts +2 -80
  35. package/dist/entity/enrichment.d.ts +41 -78
  36. package/dist/entity/enrichment.js +0 -2
  37. package/dist/entity/filter-sortable.d.ts +23 -1
  38. package/dist/entity/filter-sortable.js +22 -24
  39. package/dist/entity/funding-detail.d.ts +43 -1
  40. package/dist/entity/funding-detail.js +2 -0
  41. package/dist/entity/fundraise-transaction-entity.d.ts +41 -1
  42. package/dist/entity/fundraise-transaction.d.ts +41 -1
  43. package/dist/entity/investor-participation.d.ts +2 -80
  44. package/dist/entity/list-filter.d.ts +1 -1
  45. package/dist/entity/list-filter.js +2 -2
  46. package/dist/entity/list.d.ts +16 -79
  47. package/dist/entity/natural-search.d.ts +4 -0
  48. package/dist/entity/people-param.js +2 -2
  49. package/dist/entity/relationship.d.ts +41 -1
  50. package/dist/entity/resolution.d.ts +2 -80
  51. package/dist/entity/similarity-result.d.ts +0 -78
  52. package/dist/entity/similarity-summary.d.ts +91 -1
  53. package/dist/entity/similarity-summary.js +4 -1
  54. package/dist/entity/tag.d.ts +0 -6
  55. package/dist/entity/tag.js +0 -4
  56. package/dist/federated/natural-search.d.ts +22 -2
  57. package/dist/federated/natural-search.js +5 -1
  58. package/dist/federated/search.d.ts +2 -314
  59. package/dist/funding/stage.d.ts +42 -1
  60. package/dist/funding/stage.js +41 -42
  61. package/dist/harness/task-input-type.d.ts +6 -1
  62. package/dist/harness/task-input-type.js +2 -1
  63. package/dist/harness/task.d.ts +6 -1
  64. package/dist/help/citation.d.ts +11 -1
  65. package/dist/help/source-type.d.ts +11 -1
  66. package/dist/help/source-type.js +10 -12
  67. package/dist/identification/subject.js +1 -1
  68. package/dist/link/search.d.ts +2 -314
  69. package/dist/lookup/job-mention.d.ts +0 -78
  70. package/dist/lookup/job.d.ts +0 -78
  71. package/dist/mention/lookup.d.ts +0 -78
  72. package/dist/natural/search-result.d.ts +0 -234
  73. package/dist/natural/search.d.ts +22 -2
  74. package/dist/natural/search.js +5 -1
  75. package/dist/news/source-url-conflict.d.ts +9 -1
  76. package/dist/pagination/schemas.d.ts +30 -406
  77. package/dist/person/graph-career-context.d.ts +41 -1
  78. package/dist/person/graph-similar-entity.d.ts +41 -1
  79. package/dist/person/natural-search.d.ts +4 -0
  80. package/dist/person/person.d.ts +16 -1
  81. package/dist/problem/type.d.ts +62 -2
  82. package/dist/problem/type.js +11 -10
  83. package/dist/prose/problem.d.ts +15 -1
  84. package/dist/prose/problem.js +14 -16
  85. package/dist/prose/violation.d.ts +15 -1
  86. package/dist/reasoning/effort.d.ts +10 -1
  87. package/dist/reasoning/effort.js +9 -4
  88. package/dist/search/answer-citation.d.ts +9 -1
  89. package/dist/search/evidence-source.d.ts +9 -1
  90. package/dist/search/evidence-source.js +8 -10
  91. package/dist/search/investment.d.ts +16 -1
  92. package/dist/search/knowledge-graph-attribute.d.ts +7 -1
  93. package/dist/search/knowledge-graph-fact.d.ts +7 -1
  94. package/dist/search/knowledge-graph-fact.js +2 -4
  95. package/dist/search/mode-execution.d.ts +20 -2
  96. package/dist/search/mode.d.ts +10 -1
  97. package/dist/search/mode.js +11 -4
  98. package/dist/search/passage.d.ts +9 -1
  99. package/dist/search/search.d.ts +7 -1
  100. package/dist/shared/search.d.ts +2 -314
  101. package/dist/sort/order-entity-filter-sortable.d.ts +23 -1
  102. package/dist/standardized/classification.d.ts +6 -3
  103. package/dist/standardized/classification.js +0 -4
  104. package/dist/strict/url-lookup-conflict.d.ts +9 -1
  105. package/dist/unique/id-type.d.ts +14 -2
  106. package/dist/unique/id-type.js +12 -11
  107. package/dist/unique/id.d.ts +14 -2
  108. package/dist/url/duplicate-conflict.d.ts +9 -1
  109. package/dist/web/search-provider.d.ts +7 -1
  110. package/dist/web/search-provider.js +2 -4
  111. package/package.json +1 -1
@@ -21,7 +21,29 @@ declare const SortOrderEntityFilterSortableSchemaDefinition: z.ZodObject<{
21
21
  TOTAL_RAISED: "TOTAL_RAISED";
22
22
  UPDATED_AT: "UPDATED_AT";
23
23
  YEAR_FOUNDED: "YEAR_FOUNDED";
24
- }>, z.ZodString]>;
24
+ }>, z.ZodString]> & {
25
+ enum: {
26
+ ACCELERATOR_BRAND: "ACCELERATOR_BRAND";
27
+ ACCELERATOR_COHORT: "ACCELERATOR_COHORT";
28
+ AMOUNT_INVESTED: "AMOUNT_INVESTED";
29
+ CREATED_AT: "CREATED_AT";
30
+ DATA_COMPLETION_COVERAGE: "DATA_COMPLETION_COVERAGE";
31
+ EMPLOYEE_COUNT: "EMPLOYEE_COUNT";
32
+ HEADQUARTERS_COUNTRY: "HEADQUARTERS_COUNTRY";
33
+ ID: "ID";
34
+ LATEST_VALUATION: "LATEST_VALUATION";
35
+ MOST_RECENT_AMOUNT: "MOST_RECENT_AMOUNT";
36
+ MOST_RECENT_DATE: "MOST_RECENT_DATE";
37
+ NAME_BRAND: "NAME_BRAND";
38
+ NEXT_DUE_AT: "NEXT_DUE_AT";
39
+ RECENT_INVESTMENT_AT: "RECENT_INVESTMENT_AT";
40
+ STAGE: "STAGE";
41
+ STATUS_OPERATING: "STATUS_OPERATING";
42
+ TOTAL_RAISED: "TOTAL_RAISED";
43
+ UPDATED_AT: "UPDATED_AT";
44
+ YEAR_FOUNDED: "YEAR_FOUNDED";
45
+ };
46
+ };
25
47
  sortKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
48
  }, z.core.$strip>;
27
49
  type SortOrderEntityFilterSortableDefinition = z.infer<typeof SortOrderEntityFilterSortableSchemaDefinition>;
@@ -3,7 +3,6 @@ declare const StandardizedClassificationSchemaDefinition: z.ZodObject<{
3
3
  category: z.ZodString;
4
4
  classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5
5
  code: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6
- creatable: z.ZodOptional<z.ZodBoolean>;
7
6
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
8
7
  id: z.ZodInt;
9
8
  isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -13,9 +12,13 @@ declare const StandardizedClassificationSchemaDefinition: z.ZodObject<{
13
12
  registry: z.ZodUnion<readonly [z.ZodEnum<{
14
13
  editorial: "editorial";
15
14
  standardized: "standardized";
16
- }>, z.ZodString]>;
15
+ }>, z.ZodString]> & {
16
+ enum: {
17
+ editorial: "editorial";
18
+ standardized: "standardized";
19
+ };
20
+ };
17
21
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
18
- writable: z.ZodOptional<z.ZodBoolean>;
19
22
  }, z.core.$strip>;
20
23
  type StandardizedClassificationDefinition = z.infer<typeof StandardizedClassificationSchemaDefinition>;
21
24
  export interface StandardizedClassificationSchemaInput extends z.input<typeof StandardizedClassificationSchemaDefinition> {
@@ -8,8 +8,6 @@ const StandardizedClassificationSchemaDefinition = z.object({
8
8
  classificationId: z.int().nullish(),
9
9
  /** Standardized classification code when present. */
10
10
  code: z.int().nullish(),
11
- /** Standardized taxonomy rows are join-existing-only. */
12
- creatable: z.boolean().optional(),
13
11
  /** Registry row creation timestamp. */
14
12
  createdAt: z.iso.datetime({ offset: true }).nullish(),
15
13
  /** Standardized classification id. */
@@ -26,8 +24,6 @@ const StandardizedClassificationSchemaDefinition = z.object({
26
24
  registry: ClassificationJoinRegistrySchema,
27
25
  /** Registry row update timestamp. */
28
26
  updatedAt: z.iso.datetime({ offset: true }).nullish(),
29
- /** Existing standardized rows can be joined through standardizedClassificationId. */
30
- writable: z.boolean().optional(),
31
27
  });
32
28
  /**
33
29
  * Industry or ownership classification from a standard taxonomy such as NAICS, SIC, or ISIC, with its category, code, and hierarchy level.
@@ -8,7 +8,15 @@ declare const StrictUrlLookupConflictSchemaDefinition: z.ZodObject<{
8
8
  NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
9
9
  STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
10
10
  URL_DUPLICATE: "URL_DUPLICATE";
11
- }>, z.ZodString]>;
11
+ }>, z.ZodString]> & {
12
+ enum: {
13
+ CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
14
+ DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
15
+ NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
16
+ STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
17
+ URL_DUPLICATE: "URL_DUPLICATE";
18
+ };
19
+ };
12
20
  hint: z.ZodString;
13
21
  normalizedUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
22
  url: z.ZodString;
@@ -24,7 +24,7 @@ import { z } from "zod/v4";
24
24
  * @contractShape unique.id-type
25
25
  * @contractRole canonical
26
26
  */
27
- export declare const UniqueIdTypeSchema: z.ZodEnum<{
27
+ export declare const UniqueIdTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
28
28
  crd: "crd";
29
29
  cusip: "cusip";
30
30
  duns: "duns";
@@ -34,6 +34,18 @@ export declare const UniqueIdTypeSchema: z.ZodEnum<{
34
34
  orcid: "orcid";
35
35
  secCik: "secCik";
36
36
  ticker: "ticker";
37
- }>;
37
+ }>, z.ZodString]> & {
38
+ enum: {
39
+ crd: "crd";
40
+ cusip: "cusip";
41
+ duns: "duns";
42
+ ein: "ein";
43
+ isin: "isin";
44
+ lei: "lei";
45
+ orcid: "orcid";
46
+ secCik: "secCik";
47
+ ticker: "ticker";
48
+ };
49
+ };
38
50
  export type UniqueIdType = z.infer<typeof UniqueIdTypeSchema>;
39
51
  //# sourceMappingURL=id-type.d.ts.map
@@ -1,5 +1,16 @@
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 UniqueIdTypeSchemaKnownMembers = z.enum([
4
+ "ein",
5
+ "secCik",
6
+ "ticker",
7
+ "lei",
8
+ "duns",
9
+ "isin",
10
+ "cusip",
11
+ "crd",
12
+ "orcid",
13
+ ]);
3
14
  /**
4
15
  * External identifier type that maps an owner to a registry id: ein, secCik, ticker, lei, duns, isin, cusip, crd, or orcid.
5
16
  *
@@ -25,15 +36,5 @@ import { z } from "zod/v4";
25
36
  * @contractShape unique.id-type
26
37
  * @contractRole canonical
27
38
  */
28
- export const UniqueIdTypeSchema = z.enum([
29
- "ein",
30
- "secCik",
31
- "ticker",
32
- "lei",
33
- "duns",
34
- "isin",
35
- "cusip",
36
- "crd",
37
- "orcid",
38
- ]);
39
+ export const UniqueIdTypeSchema = Object.assign(z.union([UniqueIdTypeSchemaKnownMembers, z.string()]), { enum: UniqueIdTypeSchemaKnownMembers.enum });
39
40
  //# sourceMappingURL=id-type.js.map
@@ -3,7 +3,7 @@ declare const UniqueIdSchemaDefinition: z.ZodObject<{
3
3
  createdAt: z.ZodISODateTime;
4
4
  id: z.ZodInt;
5
5
  identifier: z.ZodString;
6
- idType: z.ZodEnum<{
6
+ idType: z.ZodUnion<readonly [z.ZodEnum<{
7
7
  crd: "crd";
8
8
  cusip: "cusip";
9
9
  duns: "duns";
@@ -13,7 +13,19 @@ declare const UniqueIdSchemaDefinition: z.ZodObject<{
13
13
  orcid: "orcid";
14
14
  secCik: "secCik";
15
15
  ticker: "ticker";
16
- }>;
16
+ }>, z.ZodString]> & {
17
+ enum: {
18
+ crd: "crd";
19
+ cusip: "cusip";
20
+ duns: "duns";
21
+ ein: "ein";
22
+ isin: "isin";
23
+ lei: "lei";
24
+ orcid: "orcid";
25
+ secCik: "secCik";
26
+ ticker: "ticker";
27
+ };
28
+ };
17
29
  owner: z.ZodObject<{
18
30
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
19
31
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -6,7 +6,15 @@ declare const UrlDuplicateConflictSchemaDefinition: z.ZodObject<{
6
6
  NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
7
7
  STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
8
8
  URL_DUPLICATE: "URL_DUPLICATE";
9
- }>, z.ZodString]>;
9
+ }>, z.ZodString]> & {
10
+ enum: {
11
+ CLASSIFICATION_INACTIVE_TAG: "CLASSIFICATION_INACTIVE_TAG";
12
+ DUPLICATE_CREATE_REVIEW: "DUPLICATE_CREATE_REVIEW";
13
+ NEWS_SOURCE_URL: "NEWS_SOURCE_URL";
14
+ STRICT_URL_LOOKUP: "STRICT_URL_LOOKUP";
15
+ URL_DUPLICATE: "URL_DUPLICATE";
16
+ };
17
+ };
10
18
  existingJoin: z.ZodArray<z.ZodType<{
11
19
  owner: {
12
20
  entityId?: string | null | undefined;
@@ -13,6 +13,12 @@ export declare const WebSearchProviderSchema: z.ZodUnion<readonly [z.ZodEnum<{
13
13
  EXA: "EXA";
14
14
  EXA_DEEP: "EXA_DEEP";
15
15
  SERPAPI: "SERPAPI";
16
- }>, z.ZodString]>;
16
+ }>, z.ZodString]> & {
17
+ enum: {
18
+ EXA: "EXA";
19
+ EXA_DEEP: "EXA_DEEP";
20
+ SERPAPI: "SERPAPI";
21
+ };
22
+ };
17
23
  export type WebSearchProvider = z.infer<typeof WebSearchProviderSchema>;
18
24
  //# sourceMappingURL=search-provider.d.ts.map
@@ -1,5 +1,6 @@
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 WebSearchProviderSchemaKnownMembers = z.enum(["SERPAPI", "EXA", "EXA_DEEP"]);
3
4
  /**
4
5
  * Upstream web search provider: SERPAPI is Google results through SerpAPI, EXA is Exa's instant search with highlights, and EXA_DEEP is Exa's slower, broader deep search.
5
6
  *
@@ -10,8 +11,5 @@ import { z } from "zod/v4";
10
11
  * @contractShape web.search-provider
11
12
  * @contractRole canonical
12
13
  */
13
- export const WebSearchProviderSchema = z.union([
14
- z.enum(["SERPAPI", "EXA", "EXA_DEEP"]),
15
- z.string(),
16
- ]);
14
+ export const WebSearchProviderSchema = Object.assign(z.union([WebSearchProviderSchemaKnownMembers, z.string()]), { enum: WebSearchProviderSchemaKnownMembers.enum });
17
15
  //# sourceMappingURL=search-provider.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.177",
3
+ "version": "0.8.179",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",