@aventurevc/api-schemas 0.7.329 → 0.8.0

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 (201) hide show
  1. package/dist/address/address.d.ts +5 -5
  2. package/dist/address/address.js +5 -5
  3. package/dist/address/association-role.d.ts +5 -5
  4. package/dist/address/association-role.js +5 -5
  5. package/dist/address/association.d.ts +5 -5
  6. package/dist/address/association.js +5 -5
  7. package/dist/address/city.d.ts +5 -5
  8. package/dist/address/city.js +5 -5
  9. package/dist/address/country.d.ts +5 -5
  10. package/dist/address/country.js +5 -5
  11. package/dist/address/state.d.ts +5 -5
  12. package/dist/address/state.js +5 -5
  13. package/dist/billing/checkout.js +2 -0
  14. package/dist/billing/subscription.js +7 -0
  15. package/dist/classification/classification.d.ts +3 -3
  16. package/dist/classification/classification.js +3 -3
  17. package/dist/content/compliance.d.ts +3 -3
  18. package/dist/content/compliance.js +3 -3
  19. package/dist/content/embedding-match.d.ts +5 -5
  20. package/dist/content/embedding-match.js +5 -5
  21. package/dist/content/source-type.d.ts +5 -5
  22. package/dist/content/source-type.js +5 -5
  23. package/dist/datasource/source-metadata.d.ts +0 -1
  24. package/dist/datasource/source-metadata.js +0 -1
  25. package/dist/entity/accelerator-participation.d.ts +3 -3
  26. package/dist/entity/accelerator-participation.js +3 -3
  27. package/dist/entity/alias-type.d.ts +5 -7
  28. package/dist/entity/alias-type.js +5 -7
  29. package/dist/entity/classification.d.ts +3 -3
  30. package/dist/entity/classification.js +3 -3
  31. package/dist/entity/comparison-signals.d.ts +3 -3
  32. package/dist/entity/comparison-signals.js +3 -3
  33. package/dist/entity/detail-batch.d.ts +2 -2
  34. package/dist/entity/detail-batch.js +2 -2
  35. package/dist/entity/detail.d.ts +3 -3
  36. package/dist/entity/detail.js +3 -3
  37. package/dist/entity/enrichment.d.ts +3 -3
  38. package/dist/entity/enrichment.js +3 -3
  39. package/dist/entity/entity.d.ts +5 -7
  40. package/dist/entity/entity.js +5 -7
  41. package/dist/entity/funding-detail.d.ts +3 -3
  42. package/dist/entity/funding-detail.js +3 -3
  43. package/dist/entity/fundraise-transaction-entity.d.ts +3 -3
  44. package/dist/entity/fundraise-transaction-entity.js +3 -3
  45. package/dist/entity/fundraise-transaction.d.ts +3 -3
  46. package/dist/entity/fundraise-transaction.js +3 -3
  47. package/dist/entity/fundraise.d.ts +5 -5
  48. package/dist/entity/fundraise.js +5 -5
  49. package/dist/entity/image.d.ts +5 -7
  50. package/dist/entity/image.js +5 -7
  51. package/dist/entity/lookup-batch-param.d.ts +3 -3
  52. package/dist/entity/lookup-batch-param.js +3 -3
  53. package/dist/entity/{lookup-param.d.ts → lookup-exact-param.d.ts} +7 -7
  54. package/dist/entity/{lookup-param.js → lookup-exact-param.js} +8 -8
  55. package/dist/entity/name-alias-entity-alias-type.d.ts +5 -7
  56. package/dist/entity/name-alias-entity-alias-type.js +5 -7
  57. package/dist/entity/name-alias-person-alias-type.d.ts +5 -5
  58. package/dist/entity/name-alias-person-alias-type.js +5 -5
  59. package/dist/entity/person-association.d.ts +5 -5
  60. package/dist/entity/person-association.js +5 -5
  61. package/dist/entity/relationship.d.ts +3 -3
  62. package/dist/entity/relationship.js +3 -3
  63. package/dist/entity/research-detail.d.ts +3 -3
  64. package/dist/entity/research-detail.js +3 -3
  65. package/dist/entity/research-snippet.d.ts +3 -3
  66. package/dist/entity/research-snippet.js +3 -3
  67. package/dist/entity/research-value-type.d.ts +4 -4
  68. package/dist/entity/research-value-type.js +4 -4
  69. package/dist/entity/research.d.ts +3 -3
  70. package/dist/entity/research.js +3 -3
  71. package/dist/entity/resolution.d.ts +1 -1
  72. package/dist/entity/resolution.js +1 -1
  73. package/dist/entity/sitemap.d.ts +5 -7
  74. package/dist/entity/sitemap.js +5 -7
  75. package/dist/entity/tag.d.ts +3 -3
  76. package/dist/entity/tag.js +3 -3
  77. package/dist/entity/text-bundle.d.ts +5 -5
  78. package/dist/entity/text-bundle.js +5 -5
  79. package/dist/entity/type.d.ts +0 -1
  80. package/dist/entity/type.js +0 -1
  81. package/dist/entity/url-crawl-cdn-provider.d.ts +5 -5
  82. package/dist/entity/url-crawl-cdn-provider.js +5 -5
  83. package/dist/entity/url-crawl-render-mode.d.ts +5 -5
  84. package/dist/entity/url-crawl-render-mode.js +5 -5
  85. package/dist/entity/url-link.d.ts +5 -5
  86. package/dist/entity/url-link.js +5 -5
  87. package/dist/entity/url-type.d.ts +5 -5
  88. package/dist/entity/url-type.js +5 -5
  89. package/dist/funding/stage.d.ts +3 -3
  90. package/dist/funding/stage.js +3 -3
  91. package/dist/fundraise/data-confidence.d.ts +3 -3
  92. package/dist/fundraise/data-confidence.js +3 -3
  93. package/dist/fundraise/investment-attribution-type.d.ts +5 -5
  94. package/dist/fundraise/investment-attribution-type.js +5 -5
  95. package/dist/fundraise/investment-attribution.d.ts +5 -5
  96. package/dist/fundraise/investment-attribution.js +5 -5
  97. package/dist/identification/identification.d.ts +28 -0
  98. package/dist/identification/identification.js +2 -0
  99. package/dist/news/news.d.ts +3 -3
  100. package/dist/news/news.js +3 -3
  101. package/dist/openapi-component-manifest.js +0 -78
  102. package/dist/pageable/object.d.ts +2 -9
  103. package/dist/pageable/object.js +2 -9
  104. package/dist/pagination/schemas.d.ts +2 -177
  105. package/dist/pagination/schemas.js +2 -49
  106. package/dist/person/alias-type.d.ts +5 -5
  107. package/dist/person/alias-type.js +5 -5
  108. package/dist/person/detail.d.ts +5 -5
  109. package/dist/person/detail.js +5 -5
  110. package/dist/person/enrichment.d.ts +5 -5
  111. package/dist/person/enrichment.js +5 -5
  112. package/dist/person/image.d.ts +5 -5
  113. package/dist/person/image.js +5 -5
  114. package/dist/person/invested-company.d.ts +5 -5
  115. package/dist/person/invested-company.js +5 -5
  116. package/dist/person/investment.d.ts +5 -5
  117. package/dist/person/investment.js +5 -5
  118. package/dist/person/lookup-batch-param.d.ts +3 -3
  119. package/dist/person/lookup-batch-param.js +3 -3
  120. package/dist/person/lookup-batch.d.ts +1 -1
  121. package/dist/person/lookup-batch.js +1 -1
  122. package/dist/person/{lookup-param.d.ts → lookup-exact-param.d.ts} +7 -7
  123. package/dist/person/{lookup-param.js → lookup-exact-param.js} +6 -6
  124. package/dist/person/person.d.ts +5 -5
  125. package/dist/person/person.js +5 -5
  126. package/dist/research/allowance.js +2 -0
  127. package/dist/research/derived-bucket.d.ts +3 -3
  128. package/dist/research/derived-bucket.js +3 -3
  129. package/dist/research/derived-range.d.ts +3 -3
  130. package/dist/research/derived-range.js +3 -3
  131. package/dist/research/detail-type.d.ts +1 -1
  132. package/dist/research/detail-type.js +1 -1
  133. package/dist/research/paragraph-shape.d.ts +1 -1
  134. package/dist/research/paragraph-shape.js +1 -1
  135. package/dist/research/snippet-type.d.ts +1 -1
  136. package/dist/research/snippet-type.js +1 -1
  137. package/dist/research/value-range.d.ts +1 -1
  138. package/dist/research/value-range.js +1 -1
  139. package/dist/research/value-shape-type.d.ts +1 -1
  140. package/dist/research/value-shape-type.js +1 -1
  141. package/dist/round/label.d.ts +5 -5
  142. package/dist/round/label.js +5 -5
  143. package/dist/sitemap/family.d.ts +0 -3
  144. package/dist/sitemap/family.js +0 -3
  145. package/dist/sitemap/url-slot.d.ts +0 -1
  146. package/dist/sitemap/url-slot.js +0 -1
  147. package/dist/sort/object.d.ts +2 -9
  148. package/dist/sort/object.js +2 -9
  149. package/dist/standardized/classification.d.ts +3 -3
  150. package/dist/standardized/classification.js +3 -3
  151. package/dist/strict/url-lookup-conflict.d.ts +1 -1
  152. package/dist/strict/url-lookup-conflict.js +1 -1
  153. package/dist/unique/id-owner-scope.d.ts +0 -1
  154. package/dist/unique/id-owner-scope.js +0 -1
  155. package/dist/unique/id-type-alias.d.ts +0 -1
  156. package/dist/unique/id-type-alias.js +0 -1
  157. package/dist/unique/id-type.d.ts +3 -4
  158. package/dist/unique/id-type.js +3 -4
  159. package/dist/unique/id.d.ts +3 -4
  160. package/dist/unique/id.js +3 -4
  161. package/dist/url/type-alias.d.ts +0 -1
  162. package/dist/url/type-alias.js +0 -1
  163. package/package.json +1 -1
  164. package/dist/datasource/agent-identity.d.ts +0 -18
  165. package/dist/datasource/agent-identity.js +0 -21
  166. package/dist/datasource/data-source-type.d.ts +0 -26
  167. package/dist/datasource/data-source-type.js +0 -26
  168. package/dist/datasource/field-provenance.d.ts +0 -110
  169. package/dist/datasource/field-provenance.js +0 -35
  170. package/dist/datasource/provenance-actor-type.d.ts +0 -18
  171. package/dist/datasource/provenance-actor-type.js +0 -15
  172. package/dist/datasource/provenance-actor.d.ts +0 -27
  173. package/dist/datasource/provenance-actor.js +0 -22
  174. package/dist/datasource/provenance-field-change.d.ts +0 -23
  175. package/dist/datasource/provenance-field-change.js +0 -21
  176. package/dist/datasource/provenance-operation.d.ts +0 -18
  177. package/dist/datasource/provenance-operation.js +0 -14
  178. package/dist/datasource/provenance-source.d.ts +0 -38
  179. package/dist/datasource/provenance-source.js +0 -33
  180. package/dist/datasource/provenance-status.d.ts +0 -21
  181. package/dist/datasource/provenance-status.js +0 -21
  182. package/dist/datasource/tracked-provenance-table.d.ts +0 -34
  183. package/dist/datasource/tracked-provenance-table.js +0 -34
  184. package/dist/entity/sitemap-url-type.d.ts +0 -21
  185. package/dist/entity/sitemap-url-type.js +0 -21
  186. package/dist/entity/sitemap-url.d.ts +0 -43
  187. package/dist/entity/sitemap-url.js +0 -40
  188. package/dist/letter/counts.d.ts +0 -19
  189. package/dist/letter/counts.js +0 -18
  190. package/dist/location/sitemap-boundary-detail.d.ts +0 -31
  191. package/dist/location/sitemap-boundary-detail.js +0 -22
  192. package/dist/location/sitemap-boundary.d.ts +0 -24
  193. package/dist/location/sitemap-boundary.js +0 -22
  194. package/dist/sitemap/change-frequency.d.ts +0 -21
  195. package/dist/sitemap/change-frequency.js +0 -21
  196. package/dist/sitemap/family-entry.d.ts +0 -51
  197. package/dist/sitemap/family-entry.js +0 -27
  198. package/dist/sitemap/index-manifest.d.ts +0 -35
  199. package/dist/sitemap/index-manifest.js +0 -16
  200. package/dist/sitemap/index-path-mode.d.ts +0 -16
  201. package/dist/sitemap/index-path-mode.js +0 -13
@@ -17,7 +17,6 @@ const UniqueIdTypeAliasSchemaDefinition = z.object({
17
17
  * Canonical uniqueId type value plus its label, accepted aliases, owner scope, and format pattern.
18
18
  *
19
19
  * @openapiSchema UniqueIdTypeAlias
20
- * @endpoint GET /v1/lookup/unique-ids/types
21
20
  * @endpoint GET /v1/unique-ids/types
22
21
  * @contractShape unique.id-type-alias
23
22
  * @contractRole canonical
@@ -3,8 +3,7 @@ import { z } from "zod/v4";
3
3
  * External identifier type that maps an owner to a registry id: ein, secCik, ticker, lei, duns, isin, cusip, crd, or orcid.
4
4
  *
5
5
  * @openapiSchema UniqueIdType
6
- * @endpoint GET /v1/entities/lookup
7
- * @endpoint GET /v1/lookup/unique-ids
6
+ * @endpoint GET /v1/entities/lookup-exact
8
7
  * @endpoint GET /v1/unique-ids/lookup
9
8
  * @endpoint GET /v1/entities/{entityId}
10
9
  * @endpoint GET /v1/entities/{entityId}/investors
@@ -12,8 +11,8 @@ import { z } from "zod/v4";
12
11
  * @endpoint GET /v1/entities/{entityId}/unique-ids/{uniqueIdId}
13
12
  * @endpoint GET /v1/people/{personId}/unique-ids
14
13
  * @endpoint GET /v1/people/{personId}/unique-ids/{uniqueIdId}
15
- * @endpoint POST /v1/entities/lookup/batch
16
- * @endpoint POST /v1/entities/lookup/matches
14
+ * @endpoint POST /v1/entities/lookup-batch
15
+ * @endpoint POST /v1/entities/lookup-matches
17
16
  * @endpoint POST /v1/entities/search
18
17
  * @usedBySchema UniqueIdSchema
19
18
  * @contractShape unique.id-type
@@ -4,8 +4,7 @@ import { z } from "zod/v4";
4
4
  * External identifier type that maps an owner to a registry id: ein, secCik, ticker, lei, duns, isin, cusip, crd, or orcid.
5
5
  *
6
6
  * @openapiSchema UniqueIdType
7
- * @endpoint GET /v1/entities/lookup
8
- * @endpoint GET /v1/lookup/unique-ids
7
+ * @endpoint GET /v1/entities/lookup-exact
9
8
  * @endpoint GET /v1/unique-ids/lookup
10
9
  * @endpoint GET /v1/entities/{entityId}
11
10
  * @endpoint GET /v1/entities/{entityId}/investors
@@ -13,8 +12,8 @@ import { z } from "zod/v4";
13
12
  * @endpoint GET /v1/entities/{entityId}/unique-ids/{uniqueIdId}
14
13
  * @endpoint GET /v1/people/{personId}/unique-ids
15
14
  * @endpoint GET /v1/people/{personId}/unique-ids/{uniqueIdId}
16
- * @endpoint POST /v1/entities/lookup/batch
17
- * @endpoint POST /v1/entities/lookup/matches
15
+ * @endpoint POST /v1/entities/lookup-batch
16
+ * @endpoint POST /v1/entities/lookup-matches
18
17
  * @endpoint POST /v1/entities/search
19
18
  * @usedBySchema UniqueIdSchema
20
19
  * @contractShape unique.id-type
@@ -26,8 +26,7 @@ type UniqueIdDefinition = z.infer<typeof UniqueIdSchemaDefinition>;
26
26
  * External identifier mapped to one owner (entity or person): for example a company's EIN, SEC CIK, or ticker symbol. Owner carries exactly one entityId or personId.
27
27
  *
28
28
  * @openapiSchema UniqueId
29
- * @endpoint GET /v1/entities/lookup
30
- * @endpoint GET /v1/lookup/unique-ids
29
+ * @endpoint GET /v1/entities/lookup-exact
31
30
  * @endpoint GET /v1/unique-ids/lookup
32
31
  * @endpoint GET /v1/entities/{entityId}
33
32
  * @endpoint GET /v1/entities/{entityId}/investors
@@ -35,8 +34,8 @@ type UniqueIdDefinition = z.infer<typeof UniqueIdSchemaDefinition>;
35
34
  * @endpoint GET /v1/entities/{entityId}/unique-ids/{uniqueIdId}
36
35
  * @endpoint GET /v1/people/{personId}/unique-ids
37
36
  * @endpoint GET /v1/people/{personId}/unique-ids/{uniqueIdId}
38
- * @endpoint POST /v1/entities/lookup/batch
39
- * @endpoint POST /v1/entities/lookup/matches
37
+ * @endpoint POST /v1/entities/lookup-batch
38
+ * @endpoint POST /v1/entities/lookup-matches
40
39
  * @endpoint POST /v1/entities/search
41
40
  * @usedBySchema EntityDetailSchema
42
41
  * @usedBySchema PageUniqueIdSchema
package/dist/unique/id.js CHANGED
@@ -22,8 +22,7 @@ const UniqueIdSchemaDefinition = z.object({
22
22
  * External identifier mapped to one owner (entity or person): for example a company's EIN, SEC CIK, or ticker symbol. Owner carries exactly one entityId or personId.
23
23
  *
24
24
  * @openapiSchema UniqueId
25
- * @endpoint GET /v1/entities/lookup
26
- * @endpoint GET /v1/lookup/unique-ids
25
+ * @endpoint GET /v1/entities/lookup-exact
27
26
  * @endpoint GET /v1/unique-ids/lookup
28
27
  * @endpoint GET /v1/entities/{entityId}
29
28
  * @endpoint GET /v1/entities/{entityId}/investors
@@ -31,8 +30,8 @@ const UniqueIdSchemaDefinition = z.object({
31
30
  * @endpoint GET /v1/entities/{entityId}/unique-ids/{uniqueIdId}
32
31
  * @endpoint GET /v1/people/{personId}/unique-ids
33
32
  * @endpoint GET /v1/people/{personId}/unique-ids/{uniqueIdId}
34
- * @endpoint POST /v1/entities/lookup/batch
35
- * @endpoint POST /v1/entities/lookup/matches
33
+ * @endpoint POST /v1/entities/lookup-batch
34
+ * @endpoint POST /v1/entities/lookup-matches
36
35
  * @endpoint POST /v1/entities/search
37
36
  * @usedBySchema EntityDetailSchema
38
37
  * @usedBySchema PageUniqueIdSchema
@@ -9,7 +9,6 @@ type UrlTypeAliasDefinition = z.infer<typeof UrlTypeAliasSchemaDefinition>;
9
9
  * Canonical urlType value plus accepted alias and platform host tokens.
10
10
  *
11
11
  * @openapiSchema UrlTypeAlias
12
- * @endpoint GET /v1/lookup/url-types
13
12
  * @endpoint GET /v1/url-types
14
13
  * @contractShape url.type-alias
15
14
  * @contractRole canonical
@@ -12,7 +12,6 @@ const UrlTypeAliasSchemaDefinition = z.object({
12
12
  * Canonical urlType value plus accepted alias and platform host tokens.
13
13
  *
14
14
  * @openapiSchema UrlTypeAlias
15
- * @endpoint GET /v1/lookup/url-types
16
15
  * @endpoint GET /v1/url-types
17
16
  * @contractShape url.type-alias
18
17
  * @contractRole canonical
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.7.329",
3
+ "version": "0.8.0",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas for the public aVenture API.",
6
6
  "license": "Apache-2.0",
@@ -1,18 +0,0 @@
1
- import { z } from "zod/v4";
2
- /**
3
- * Validated automated-agent attribution for a write request. Travels on agentChassis and agentModel query parameters; actorType is not required at the OpenAPI/HTTP layer only because the web boundary infers actorType=agent from this complete pair before the domain factory and persistence write lane enforce actor context. Chassis is a CLI/SDK token, modelFamily is the derived LLM family prefix, and model is the full model identifier.
4
- *
5
- * @openapiSchema DatasourceAgentIdentity
6
- * @endpoint GET /v1/provenance
7
- * @endpoint GET /v1/provenance/{provenanceId}
8
- * @usedBySchema DatasourceProvenanceActorSchema
9
- * @contractShape datasource.agent-identity
10
- * @contractRole canonical
11
- */
12
- export declare const DatasourceAgentIdentitySchema: z.ZodObject<{
13
- chassis: z.ZodString;
14
- model: z.ZodString;
15
- modelFamily: z.ZodString;
16
- }, z.core.$strip>;
17
- export type DatasourceAgentIdentity = z.infer<typeof DatasourceAgentIdentitySchema>;
18
- //# sourceMappingURL=agent-identity.d.ts.map
@@ -1,21 +0,0 @@
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
- * Validated automated-agent attribution for a write request. Travels on agentChassis and agentModel query parameters; actorType is not required at the OpenAPI/HTTP layer only because the web boundary infers actorType=agent from this complete pair before the domain factory and persistence write lane enforce actor context. Chassis is a CLI/SDK token, modelFamily is the derived LLM family prefix, and model is the full model identifier.
5
- *
6
- * @openapiSchema DatasourceAgentIdentity
7
- * @endpoint GET /v1/provenance
8
- * @endpoint GET /v1/provenance/{provenanceId}
9
- * @usedBySchema DatasourceProvenanceActorSchema
10
- * @contractShape datasource.agent-identity
11
- * @contractRole canonical
12
- */
13
- export const DatasourceAgentIdentitySchema = z.object({
14
- /** Wire token from app.contracts.agent-provenance.chassis keys. */
15
- chassis: z.string(),
16
- /** Full agent model identifier with the family prefix preserved. */
17
- model: z.string(),
18
- /** Model family derived from the leading token of the model identifier. */
19
- modelFamily: z.string(),
20
- });
21
- //# sourceMappingURL=agent-identity.js.map
@@ -1,26 +0,0 @@
1
- import { z } from "zod/v4";
2
- /**
3
- * Full read/storage source type for field-level provenance rows. Write query parameters use DatasourceWritableDataSourceType.
4
- *
5
- * @openapiSchema DatasourceDataSourceType
6
- * @endpoint GET /v1/provenance
7
- * @endpoint GET /v1/provenance/{provenanceId}
8
- * @usedBySchema DatasourceProvenanceSourceSchema
9
- * @contractShape datasource.data-source-type
10
- * @contractRole canonical
11
- */
12
- export declare const DatasourceDataSourceTypeSchema: z.ZodEnum<{
13
- api: "api";
14
- aventureStaff: "aventureStaff";
15
- blogArticle: "blogArticle";
16
- firstPartyWebsite: "firstPartyWebsite";
17
- import: "import";
18
- llm: "llm";
19
- manual: "manual";
20
- newsArticle: "newsArticle";
21
- relatedPartyWebsite: "relatedPartyWebsite";
22
- requestChangeForm: "requestChangeForm";
23
- thirdPartyWebsite: "thirdPartyWebsite";
24
- }>;
25
- export type DatasourceDataSourceType = z.infer<typeof DatasourceDataSourceTypeSchema>;
26
- //# sourceMappingURL=data-source-type.d.ts.map
@@ -1,26 +0,0 @@
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
- * Full read/storage source type for field-level provenance rows. Write query parameters use DatasourceWritableDataSourceType.
5
- *
6
- * @openapiSchema DatasourceDataSourceType
7
- * @endpoint GET /v1/provenance
8
- * @endpoint GET /v1/provenance/{provenanceId}
9
- * @usedBySchema DatasourceProvenanceSourceSchema
10
- * @contractShape datasource.data-source-type
11
- * @contractRole canonical
12
- */
13
- export const DatasourceDataSourceTypeSchema = z.enum([
14
- "requestChangeForm",
15
- "newsArticle",
16
- "blogArticle",
17
- "firstPartyWebsite",
18
- "relatedPartyWebsite",
19
- "thirdPartyWebsite",
20
- "llm",
21
- "aventureStaff",
22
- "api",
23
- "manual",
24
- "import",
25
- ]);
26
- //# sourceMappingURL=data-source-type.js.map
@@ -1,110 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const DatasourceFieldProvenanceSchemaDefinition: z.ZodObject<{
3
- actor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4
- agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5
- chassis: z.ZodString;
6
- model: z.ZodString;
7
- modelFamily: z.ZodString;
8
- }, z.core.$strip>>>;
9
- displayName: z.ZodString;
10
- employeeDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- employeeUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- type: z.ZodEnum<{
13
- agent: "agent";
14
- employee: "employee";
15
- }>;
16
- }, z.core.$strip>>>;
17
- changedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- changes: z.ZodArray<z.ZodType<{
19
- fieldName: string;
20
- newPresent: boolean;
21
- newValue?: string | null | undefined;
22
- oldPresent: boolean;
23
- oldValue?: string | null | undefined;
24
- }, unknown, z.core.$ZodTypeInternals<{
25
- fieldName: string;
26
- newPresent: boolean;
27
- newValue?: string | null | undefined;
28
- oldPresent: boolean;
29
- oldValue?: string | null | undefined;
30
- }, unknown>>>;
31
- effectiveAt: z.ZodISODateTime;
32
- entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
33
- eventId: z.ZodUUID;
34
- id: z.ZodNumber;
35
- operation: z.ZodEnum<{
36
- delete: "delete";
37
- insert: "insert";
38
- update: "update";
39
- }>;
40
- personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
41
- recordId: z.ZodString;
42
- source: z.ZodObject<{
43
- actorType: z.ZodOptional<z.ZodEnum<{
44
- agent: "agent";
45
- employee: "employee";
46
- }>>;
47
- agentChassis: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
- agentModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
- sourceDetail: z.ZodString;
50
- sourceProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
- sourceProviderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
- sourceProviderSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
- sourceType: z.ZodEnum<{
54
- api: "api";
55
- aventureStaff: "aventureStaff";
56
- blogArticle: "blogArticle";
57
- firstPartyWebsite: "firstPartyWebsite";
58
- import: "import";
59
- llm: "llm";
60
- manual: "manual";
61
- newsArticle: "newsArticle";
62
- relatedPartyWebsite: "relatedPartyWebsite";
63
- requestChangeForm: "requestChangeForm";
64
- thirdPartyWebsite: "thirdPartyWebsite";
65
- }>;
66
- }, z.core.$strip>;
67
- status: z.ZodEnum<{
68
- confirmed: "confirmed";
69
- disputedAnonymous: "disputedAnonymous";
70
- disputedFirstParty: "disputedFirstParty";
71
- disputedRelatedParty: "disputedRelatedParty";
72
- disputedThirdParty: "disputedThirdParty";
73
- unconfirmed: "unconfirmed";
74
- }>;
75
- tableName: z.ZodEnum<{
76
- deployTarget: "deployTarget";
77
- entity: "entity";
78
- entityAddressJoin: "entityAddressJoin";
79
- entityClassificationJoin: "entityClassificationJoin";
80
- entityDetail: "entityDetail";
81
- entityPersonJoin: "entityPersonJoin";
82
- entityRelationship: "entityRelationship";
83
- entityResearchSnippets: "entityResearchSnippets";
84
- entityTypeJoin: "entityTypeJoin";
85
- fundraiseTransaction: "fundraiseTransaction";
86
- fundraiseTransactionInvestorJoin: "fundraiseTransactionInvestorJoin";
87
- newsArticle: "newsArticle";
88
- newsArticleEntityJoin: "newsArticleEntityJoin";
89
- newsArticlePersonJoin: "newsArticlePersonJoin";
90
- person: "person";
91
- personAddressJoin: "personAddressJoin";
92
- text: "text";
93
- urlLink: "urlLink";
94
- }>;
95
- }, z.core.$strip>;
96
- type DatasourceFieldProvenanceDefinition = z.infer<typeof DatasourceFieldProvenanceSchemaDefinition>;
97
- /**
98
- * Full audit row from research.res_provenance_event
99
- *
100
- * @openapiSchema DatasourceFieldProvenance
101
- * @endpoint GET /v1/provenance
102
- * @endpoint GET /v1/provenance/{provenanceId}
103
- * @usedBySchema PageDatasourceFieldProvenanceSchema
104
- * @contractShape datasource.field-provenance
105
- * @contractRole canonical
106
- */
107
- export declare const DatasourceFieldProvenanceSchema: z.ZodType<DatasourceFieldProvenanceDefinition>;
108
- export type DatasourceFieldProvenance = z.infer<typeof DatasourceFieldProvenanceSchema>;
109
- export {};
110
- //# sourceMappingURL=field-provenance.d.ts.map
@@ -1,35 +0,0 @@
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 { DatasourceProvenanceActorSchema } from "./provenance-actor.js";
4
- import { DatasourceProvenanceFieldChangeSchema } from "./provenance-field-change.js";
5
- import { DatasourceProvenanceOperationSchema } from "./provenance-operation.js";
6
- import { DatasourceProvenanceSourceSchema } from "./provenance-source.js";
7
- import { DatasourceProvenanceStatusSchema } from "./provenance-status.js";
8
- import { DatasourceTrackedProvenanceTableSchema } from "./tracked-provenance-table.js";
9
- const DatasourceFieldProvenanceSchemaDefinition = z.object({
10
- actor: DatasourceProvenanceActorSchema.nullish(),
11
- changedBy: z.string().nullish(),
12
- changes: z.array(DatasourceProvenanceFieldChangeSchema),
13
- effectiveAt: z.iso.datetime({ offset: true }),
14
- entityId: z.uuid().nullish(),
15
- eventId: z.uuid(),
16
- id: z.number().int(),
17
- operation: DatasourceProvenanceOperationSchema,
18
- personId: z.uuid().nullish(),
19
- recordId: z.string(),
20
- source: DatasourceProvenanceSourceSchema,
21
- status: DatasourceProvenanceStatusSchema,
22
- tableName: DatasourceTrackedProvenanceTableSchema,
23
- });
24
- /**
25
- * Full audit row from research.res_provenance_event
26
- *
27
- * @openapiSchema DatasourceFieldProvenance
28
- * @endpoint GET /v1/provenance
29
- * @endpoint GET /v1/provenance/{provenanceId}
30
- * @usedBySchema PageDatasourceFieldProvenanceSchema
31
- * @contractShape datasource.field-provenance
32
- * @contractRole canonical
33
- */
34
- export const DatasourceFieldProvenanceSchema = DatasourceFieldProvenanceSchemaDefinition;
35
- //# sourceMappingURL=field-provenance.js.map
@@ -1,18 +0,0 @@
1
- import { z } from "zod/v4";
2
- /**
3
- * Actor boundary for a provenance write event
4
- *
5
- * @openapiSchema DatasourceProvenanceActorType
6
- * @endpoint GET /v1/provenance
7
- * @endpoint GET /v1/provenance/{provenanceId}
8
- * @usedBySchema DatasourceProvenanceActorSchema
9
- * @usedBySchema DatasourceProvenanceSourceSchema
10
- * @contractShape datasource.provenance-actor-type
11
- * @contractRole canonical
12
- */
13
- export declare const DatasourceProvenanceActorTypeSchema: z.ZodEnum<{
14
- agent: "agent";
15
- employee: "employee";
16
- }>;
17
- export type DatasourceProvenanceActorType = z.infer<typeof DatasourceProvenanceActorTypeSchema>;
18
- //# sourceMappingURL=provenance-actor-type.d.ts.map
@@ -1,15 +0,0 @@
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
- * Actor boundary for a provenance write event
5
- *
6
- * @openapiSchema DatasourceProvenanceActorType
7
- * @endpoint GET /v1/provenance
8
- * @endpoint GET /v1/provenance/{provenanceId}
9
- * @usedBySchema DatasourceProvenanceActorSchema
10
- * @usedBySchema DatasourceProvenanceSourceSchema
11
- * @contractShape datasource.provenance-actor-type
12
- * @contractRole canonical
13
- */
14
- export const DatasourceProvenanceActorTypeSchema = z.enum(["agent", "employee"]);
15
- //# sourceMappingURL=provenance-actor-type.js.map
@@ -1,27 +0,0 @@
1
- import { z } from "zod/v4";
2
- /**
3
- * Authenticated actor that authored a provenance write event
4
- *
5
- * @openapiSchema DatasourceProvenanceActor
6
- * @endpoint GET /v1/provenance
7
- * @endpoint GET /v1/provenance/{provenanceId}
8
- * @usedBySchema DatasourceFieldProvenanceSchema
9
- * @contractShape datasource.provenance-actor
10
- * @contractRole canonical
11
- */
12
- export declare const DatasourceProvenanceActorSchema: z.ZodObject<{
13
- agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
- chassis: z.ZodString;
15
- model: z.ZodString;
16
- modelFamily: z.ZodString;
17
- }, z.core.$strip>>>;
18
- displayName: z.ZodString;
19
- employeeDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- employeeUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- type: z.ZodEnum<{
22
- agent: "agent";
23
- employee: "employee";
24
- }>;
25
- }, z.core.$strip>;
26
- export type DatasourceProvenanceActor = z.infer<typeof DatasourceProvenanceActorSchema>;
27
- //# sourceMappingURL=provenance-actor.d.ts.map
@@ -1,22 +0,0 @@
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 { DatasourceAgentIdentitySchema } from "./agent-identity.js";
4
- import { DatasourceProvenanceActorTypeSchema } from "./provenance-actor-type.js";
5
- /**
6
- * Authenticated actor that authored a provenance write event
7
- *
8
- * @openapiSchema DatasourceProvenanceActor
9
- * @endpoint GET /v1/provenance
10
- * @endpoint GET /v1/provenance/{provenanceId}
11
- * @usedBySchema DatasourceFieldProvenanceSchema
12
- * @contractShape datasource.provenance-actor
13
- * @contractRole canonical
14
- */
15
- export const DatasourceProvenanceActorSchema = z.object({
16
- agent: DatasourceAgentIdentitySchema.nullish(),
17
- displayName: z.string(),
18
- employeeDisplayName: z.string().nullish(),
19
- employeeUserId: z.string().nullish(),
20
- type: DatasourceProvenanceActorTypeSchema,
21
- });
22
- //# sourceMappingURL=provenance-actor.js.map
@@ -1,23 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const DatasourceProvenanceFieldChangeSchemaDefinition: z.ZodObject<{
3
- fieldName: z.ZodString;
4
- newPresent: z.ZodBoolean;
5
- newValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
- oldPresent: z.ZodBoolean;
7
- oldValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
- }, z.core.$strip>;
9
- type DatasourceProvenanceFieldChangeDefinition = z.infer<typeof DatasourceProvenanceFieldChangeSchemaDefinition>;
10
- /**
11
- * One changed field inside a provenance write event
12
- *
13
- * @openapiSchema DatasourceProvenanceFieldChange
14
- * @endpoint GET /v1/provenance
15
- * @endpoint GET /v1/provenance/{provenanceId}
16
- * @usedBySchema DatasourceFieldProvenanceSchema
17
- * @contractShape datasource.provenance-field-change
18
- * @contractRole canonical
19
- */
20
- export declare const DatasourceProvenanceFieldChangeSchema: z.ZodType<DatasourceProvenanceFieldChangeDefinition>;
21
- export type DatasourceProvenanceFieldChange = z.infer<typeof DatasourceProvenanceFieldChangeSchema>;
22
- export {};
23
- //# sourceMappingURL=provenance-field-change.d.ts.map
@@ -1,21 +0,0 @@
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
- const DatasourceProvenanceFieldChangeSchemaDefinition = z.object({
4
- fieldName: z.string(),
5
- newPresent: z.boolean(),
6
- newValue: z.string().nullish(),
7
- oldPresent: z.boolean(),
8
- oldValue: z.string().nullish(),
9
- });
10
- /**
11
- * One changed field inside a provenance write event
12
- *
13
- * @openapiSchema DatasourceProvenanceFieldChange
14
- * @endpoint GET /v1/provenance
15
- * @endpoint GET /v1/provenance/{provenanceId}
16
- * @usedBySchema DatasourceFieldProvenanceSchema
17
- * @contractShape datasource.provenance-field-change
18
- * @contractRole canonical
19
- */
20
- export const DatasourceProvenanceFieldChangeSchema = DatasourceProvenanceFieldChangeSchemaDefinition;
21
- //# sourceMappingURL=provenance-field-change.js.map
@@ -1,18 +0,0 @@
1
- import { z } from "zod/v4";
2
- /**
3
- * Write operation captured by a provenance event row
4
- *
5
- * @openapiSchema DatasourceProvenanceOperation
6
- * @endpoint GET /v1/provenance
7
- * @endpoint GET /v1/provenance/{provenanceId}
8
- * @usedBySchema DatasourceFieldProvenanceSchema
9
- * @contractShape datasource.provenance-operation
10
- * @contractRole canonical
11
- */
12
- export declare const DatasourceProvenanceOperationSchema: z.ZodEnum<{
13
- delete: "delete";
14
- insert: "insert";
15
- update: "update";
16
- }>;
17
- export type DatasourceProvenanceOperation = z.infer<typeof DatasourceProvenanceOperationSchema>;
18
- //# sourceMappingURL=provenance-operation.d.ts.map
@@ -1,14 +0,0 @@
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
- * Write operation captured by a provenance event row
5
- *
6
- * @openapiSchema DatasourceProvenanceOperation
7
- * @endpoint GET /v1/provenance
8
- * @endpoint GET /v1/provenance/{provenanceId}
9
- * @usedBySchema DatasourceFieldProvenanceSchema
10
- * @contractShape datasource.provenance-operation
11
- * @contractRole canonical
12
- */
13
- export const DatasourceProvenanceOperationSchema = z.enum(["insert", "update", "delete"]);
14
- //# sourceMappingURL=provenance-operation.js.map
@@ -1,38 +0,0 @@
1
- import { z } from "zod/v4";
2
- /**
3
- * Write provenance supplied on mutation query parameters.
4
- *
5
- * @openapiSchema DatasourceProvenanceSource
6
- * @endpoint GET /v1/provenance
7
- * @endpoint GET /v1/provenance/{provenanceId}
8
- * @usedBySchema DatasourceFieldProvenanceSchema
9
- * @contractShape datasource.provenance-source
10
- * @contractRole canonical
11
- */
12
- export declare const DatasourceProvenanceSourceSchema: z.ZodObject<{
13
- actorType: z.ZodOptional<z.ZodEnum<{
14
- agent: "agent";
15
- employee: "employee";
16
- }>>;
17
- agentChassis: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- agentModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- sourceDetail: z.ZodString;
20
- sourceProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- sourceProviderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- sourceProviderSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- sourceType: z.ZodEnum<{
24
- api: "api";
25
- aventureStaff: "aventureStaff";
26
- blogArticle: "blogArticle";
27
- firstPartyWebsite: "firstPartyWebsite";
28
- import: "import";
29
- llm: "llm";
30
- manual: "manual";
31
- newsArticle: "newsArticle";
32
- relatedPartyWebsite: "relatedPartyWebsite";
33
- requestChangeForm: "requestChangeForm";
34
- thirdPartyWebsite: "thirdPartyWebsite";
35
- }>;
36
- }, z.core.$strip>;
37
- export type DatasourceProvenanceSource = z.infer<typeof DatasourceProvenanceSourceSchema>;
38
- //# sourceMappingURL=provenance-source.d.ts.map
@@ -1,33 +0,0 @@
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 { DatasourceDataSourceTypeSchema } from "./data-source-type.js";
4
- import { DatasourceProvenanceActorTypeSchema } from "./provenance-actor-type.js";
5
- /**
6
- * Write provenance supplied on mutation query parameters.
7
- *
8
- * @openapiSchema DatasourceProvenanceSource
9
- * @endpoint GET /v1/provenance
10
- * @endpoint GET /v1/provenance/{provenanceId}
11
- * @usedBySchema DatasourceFieldProvenanceSchema
12
- * @contractShape datasource.provenance-source
13
- * @contractRole canonical
14
- */
15
- export const DatasourceProvenanceSourceSchema = z.object({
16
- /** Actor type; inferred as agent when agentChassis and agentModel are supplied, or as employee from an authenticated user JWT session. */
17
- actorType: DatasourceProvenanceActorTypeSchema.optional(),
18
- /** Agent chassis token for agent-authored writes. */
19
- agentChassis: z.string().nullish(),
20
- /** Agent model id for agent-authored writes. */
21
- agentModel: z.string().nullish(),
22
- /** Source detail or reviewer reference for the write. */
23
- sourceDetail: z.string(),
24
- /** Provider name for provider-native IDs or slugs. */
25
- sourceProvider: z.string().nullish(),
26
- /** Provider-native source ID. */
27
- sourceProviderId: z.string().nullish(),
28
- /** Provider-native source slug. */
29
- sourceProviderSlug: z.string().nullish(),
30
- /** Write provenance source type. */
31
- sourceType: DatasourceDataSourceTypeSchema,
32
- });
33
- //# sourceMappingURL=provenance-source.js.map
@@ -1,21 +0,0 @@
1
- import { z } from "zod/v4";
2
- /**
3
- * Confidence and dispute state of a field-level provenance row
4
- *
5
- * @openapiSchema DatasourceProvenanceStatus
6
- * @endpoint GET /v1/provenance
7
- * @endpoint GET /v1/provenance/{provenanceId}
8
- * @usedBySchema DatasourceFieldProvenanceSchema
9
- * @contractShape datasource.provenance-status
10
- * @contractRole canonical
11
- */
12
- export declare const DatasourceProvenanceStatusSchema: z.ZodEnum<{
13
- confirmed: "confirmed";
14
- disputedAnonymous: "disputedAnonymous";
15
- disputedFirstParty: "disputedFirstParty";
16
- disputedRelatedParty: "disputedRelatedParty";
17
- disputedThirdParty: "disputedThirdParty";
18
- unconfirmed: "unconfirmed";
19
- }>;
20
- export type DatasourceProvenanceStatus = z.infer<typeof DatasourceProvenanceStatusSchema>;
21
- //# sourceMappingURL=provenance-status.d.ts.map