@aventurevc/api-schemas 0.7.329 → 0.7.332

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 (36) hide show
  1. package/dist/billing/checkout.js +2 -0
  2. package/dist/billing/subscription.js +7 -0
  3. package/dist/datasource/source-metadata.d.ts +0 -1
  4. package/dist/datasource/source-metadata.js +0 -1
  5. package/dist/entity/lookup-param.js +1 -1
  6. package/dist/identification/identification.d.ts +28 -0
  7. package/dist/identification/identification.js +2 -0
  8. package/dist/openapi-component-manifest.js +0 -44
  9. package/dist/pageable/object.d.ts +0 -2
  10. package/dist/pageable/object.js +0 -2
  11. package/dist/pagination/schemas.d.ts +0 -116
  12. package/dist/pagination/schemas.js +0 -22
  13. package/dist/research/allowance.js +2 -0
  14. package/dist/sort/object.d.ts +0 -2
  15. package/dist/sort/object.js +0 -2
  16. package/package.json +1 -1
  17. package/dist/datasource/agent-identity.d.ts +0 -18
  18. package/dist/datasource/agent-identity.js +0 -21
  19. package/dist/datasource/data-source-type.d.ts +0 -26
  20. package/dist/datasource/data-source-type.js +0 -26
  21. package/dist/datasource/field-provenance.d.ts +0 -110
  22. package/dist/datasource/field-provenance.js +0 -35
  23. package/dist/datasource/provenance-actor-type.d.ts +0 -18
  24. package/dist/datasource/provenance-actor-type.js +0 -15
  25. package/dist/datasource/provenance-actor.d.ts +0 -27
  26. package/dist/datasource/provenance-actor.js +0 -22
  27. package/dist/datasource/provenance-field-change.d.ts +0 -23
  28. package/dist/datasource/provenance-field-change.js +0 -21
  29. package/dist/datasource/provenance-operation.d.ts +0 -18
  30. package/dist/datasource/provenance-operation.js +0 -14
  31. package/dist/datasource/provenance-source.d.ts +0 -38
  32. package/dist/datasource/provenance-source.js +0 -33
  33. package/dist/datasource/provenance-status.d.ts +0 -21
  34. package/dist/datasource/provenance-status.js +0 -21
  35. package/dist/datasource/tracked-provenance-table.d.ts +0 -34
  36. package/dist/datasource/tracked-provenance-table.js +0 -34
@@ -2,8 +2,10 @@
2
2
  import { z } from "zod/v4";
3
3
  import { BillingPlanTypeSchema } from "./plan-type.js";
4
4
  const BillingCheckoutSchemaDefinition = z.object({
5
+ /** When the Checkout page stops accepting payment */
5
6
  expiresAt: z.iso.datetime({ offset: true }),
6
7
  plan: BillingPlanTypeSchema,
8
+ /** Hosted Checkout page to open in a browser to pay */
7
9
  url: z.string(),
8
10
  });
9
11
  /**
@@ -5,15 +5,21 @@ import { BillingPlanTypeSchema } from "./plan-type.js";
5
5
  import { ResearchAllowanceUsageSchema } from "../research/allowance-usage.js";
6
6
  const BillingSubscriptionSchemaDefinition = z.object({
7
7
  additionalUsage: BillingAdditionalUsageSchema,
8
+ /** Used, cap, and reset time of each monthly allowance */
8
9
  allowance: ResearchAllowanceUsageSchema,
10
+ /** True when the plan is cancelled and ends at periodEnd */
9
11
  cancelAtPeriodEnd: z.boolean(),
12
+ /** True while the subscription grants its paid tier */
10
13
  entitled: z.boolean(),
11
14
  /** Plan a scheduled change moves the subscription to at pendingPlanAt; absent when nothing is scheduled */
12
15
  pendingPlan: BillingPlanTypeSchema.nullish(),
13
16
  /** When pendingPlan takes effect; absent when nothing is scheduled */
14
17
  pendingPlanAt: z.iso.datetime({ offset: true }).nullish(),
18
+ /** When the plan renews, or when access ends if cancelAtPeriodEnd */
15
19
  periodEnd: z.iso.datetime({ offset: true }).nullish(),
20
+ /** Start of the current billing period */
16
21
  periodStart: z.iso.datetime({ offset: true }).nullish(),
22
+ /** Paid plan and billing cycle; absent without a paid subscription */
17
23
  plan: BillingPlanTypeSchema.nullish(),
18
24
  status: z.enum([
19
25
  "NONE",
@@ -26,6 +32,7 @@ const BillingSubscriptionSchemaDefinition = z.object({
26
32
  "UNPAID",
27
33
  "PAUSED",
28
34
  ]),
35
+ /** Tier whose monthly allowances apply now */
29
36
  tier: z.enum(["ESSENTIAL", "PLUS", "PRO", "UNLIMITED"]),
30
37
  });
31
38
  /**
@@ -3,7 +3,6 @@ import { z } from "zod/v4";
3
3
  * Grouped source/provenance metadata for private v1 response fields
4
4
  *
5
5
  * @openapiSchema DatasourceSourceMetadata
6
- * @endpoint GET /v1/provenance/latest
7
6
  * @endpoint GET /v1/entities/{entityId}/media/{mediaType}
8
7
  * @endpoint GET /v1/news/{newsId}/media/{mediaType}
9
8
  * @endpoint GET /v1/people/{personId}/media/{mediaType}
@@ -4,7 +4,6 @@ import { z } from "zod/v4";
4
4
  * Grouped source/provenance metadata for private v1 response fields
5
5
  *
6
6
  * @openapiSchema DatasourceSourceMetadata
7
- * @endpoint GET /v1/provenance/latest
8
7
  * @endpoint GET /v1/entities/{entityId}/media/{mediaType}
9
8
  * @endpoint GET /v1/news/{newsId}/media/{mediaType}
10
9
  * @endpoint GET /v1/people/{personId}/media/{mediaType}
@@ -11,7 +11,7 @@ export const ENTITY_LOOKUP_ENDPOINT = "/v1/entities/lookup";
11
11
  * @contractRole canonical
12
12
  */
13
13
  export const EntityLookupParamSchema = z.object({
14
- /** Provider slug for Product/Service slug lookup. Historically named companySlug; providerTypeRecord can narrow this to Company, Nonprofit, or Government routes. */
14
+ /** Provider slug for Product/Service slug lookup; providerTypeRecord can narrow this to Company, Nonprofit, or Government routes. */
15
15
  companySlug: z
16
16
  .string()
17
17
  .regex(/^[a-z0-9_-]+$/)
@@ -29,6 +29,34 @@ declare const IdentificationSchemaDefinition: z.ZodObject<{
29
29
  }, unknown>>;
30
30
  }, z.core.$strip>>;
31
31
  detail: z.ZodString;
32
+ duplicate: z.ZodArray<z.ZodObject<{
33
+ owner: z.ZodObject<{
34
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
35
+ personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
36
+ }, z.core.$strip>;
37
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ record: z.ZodType<{
39
+ externalId?: string | null | undefined;
40
+ id: string;
41
+ name?: string | null | undefined;
42
+ operatingStatus?: string | null | undefined;
43
+ publicPath?: string | null | undefined;
44
+ reason: string[];
45
+ score: number;
46
+ slug?: string | null | undefined;
47
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
48
+ }, unknown, z.core.$ZodTypeInternals<{
49
+ externalId?: string | null | undefined;
50
+ id: string;
51
+ name?: string | null | undefined;
52
+ operatingStatus?: string | null | undefined;
53
+ publicPath?: string | null | undefined;
54
+ reason: string[];
55
+ score: number;
56
+ slug?: string | null | undefined;
57
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
58
+ }, unknown>>;
59
+ }, z.core.$strip>>;
32
60
  match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33
61
  owner: z.ZodObject<{
34
62
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -6,6 +6,8 @@ const IdentificationSchemaDefinition = z.object({
6
6
  candidate: z.array(IdentificationCandidateSchema),
7
7
  /** One sentence naming what settled the answer or what the user must decide. */
8
8
  detail: z.string(),
9
+ /** Other stored records judged to be this same subject stored again: likely duplicate records to merge into match. Empty when none were found. */
10
+ duplicate: z.array(IdentificationCandidateSchema),
9
11
  /** The matched record when status is MATCHED. */
10
12
  match: IdentificationCandidateSchema.nullish(),
11
13
  /** The subject's own website or profile page found in web search. Use it as the website when creating the record only if it is the subject's own domain, not a LinkedIn, Crunchbase, or other profile page. */
@@ -186,50 +186,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
186
186
  modulePath: "redirect/current-slug-owner",
187
187
  schemaName: "CurrentSlugOwnerSchema",
188
188
  },
189
- DatasourceAgentIdentity: {
190
- modulePath: "datasource/agent-identity",
191
- schemaName: "DatasourceAgentIdentitySchema",
192
- },
193
- DatasourceDataSourceType: {
194
- modulePath: "datasource/data-source-type",
195
- schemaName: "DatasourceDataSourceTypeSchema",
196
- },
197
- DatasourceFieldProvenance: {
198
- modulePath: "datasource/field-provenance",
199
- schemaName: "DatasourceFieldProvenanceSchema",
200
- },
201
- DatasourceProvenanceActor: {
202
- modulePath: "datasource/provenance-actor",
203
- schemaName: "DatasourceProvenanceActorSchema",
204
- },
205
- DatasourceProvenanceActorType: {
206
- modulePath: "datasource/provenance-actor-type",
207
- schemaName: "DatasourceProvenanceActorTypeSchema",
208
- },
209
- DatasourceProvenanceFieldChange: {
210
- modulePath: "datasource/provenance-field-change",
211
- schemaName: "DatasourceProvenanceFieldChangeSchema",
212
- },
213
- DatasourceProvenanceOperation: {
214
- modulePath: "datasource/provenance-operation",
215
- schemaName: "DatasourceProvenanceOperationSchema",
216
- },
217
- DatasourceProvenanceSource: {
218
- modulePath: "datasource/provenance-source",
219
- schemaName: "DatasourceProvenanceSourceSchema",
220
- },
221
- DatasourceProvenanceStatus: {
222
- modulePath: "datasource/provenance-status",
223
- schemaName: "DatasourceProvenanceStatusSchema",
224
- },
225
189
  DatasourceSourceMetadata: {
226
190
  modulePath: "datasource/source-metadata",
227
191
  schemaName: "DatasourceSourceMetadataSchema",
228
192
  },
229
- DatasourceTrackedProvenanceTable: {
230
- modulePath: "datasource/tracked-provenance-table",
231
- schemaName: "DatasourceTrackedProvenanceTableSchema",
232
- },
233
193
  DecimalRange: { modulePath: "decimal/range", schemaName: "DecimalRangeSchema" },
234
194
  DomainConflictDetails: {
235
195
  modulePath: "domain/conflict-details",
@@ -623,10 +583,6 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
623
583
  modulePath: "pagination/schemas",
624
584
  schemaName: "PageClassificationSchema",
625
585
  },
626
- PageDatasourceFieldProvenance: {
627
- modulePath: "pagination/schemas",
628
- schemaName: "PageDatasourceFieldProvenanceSchema",
629
- },
630
586
  PageEmployeeCount: { modulePath: "pagination/schemas", schemaName: "PageEmployeeCountSchema" },
631
587
  PageEntity: { modulePath: "pagination/schemas", schemaName: "PageEntitySchema" },
632
588
  PageEntityAcquisition: {
@@ -5,7 +5,6 @@ import { z } from "zod/v4";
5
5
  * @endpoint GET /v1/content
6
6
  * @endpoint GET /v1/entities/summary
7
7
  * @endpoint GET /v1/news
8
- * @endpoint GET /v1/provenance
9
8
  * @endpoint GET /v1/sitemap/entities
10
9
  * @endpoint GET /v1/sitemap/entities/routes
11
10
  * @endpoint GET /v1/sitemap/entities/urls
@@ -53,7 +52,6 @@ import { z } from "zod/v4";
53
52
  * @endpoint POST /v1/people/search
54
53
  * @usedBySchema PageBlogPostSchema
55
54
  * @usedBySchema PageClassificationSchema
56
- * @usedBySchema PageDatasourceFieldProvenanceSchema
57
55
  * @usedBySchema PageEmployeeCountSchema
58
56
  * @usedBySchema PageEntityAcquisitionSchema
59
57
  * @usedBySchema PageEntityDetailSchema
@@ -7,7 +7,6 @@ import { SortObjectSchema } from "../sort/object.js";
7
7
  * @endpoint GET /v1/content
8
8
  * @endpoint GET /v1/entities/summary
9
9
  * @endpoint GET /v1/news
10
- * @endpoint GET /v1/provenance
11
10
  * @endpoint GET /v1/sitemap/entities
12
11
  * @endpoint GET /v1/sitemap/entities/routes
13
12
  * @endpoint GET /v1/sitemap/entities/urls
@@ -55,7 +54,6 @@ import { SortObjectSchema } from "../sort/object.js";
55
54
  * @endpoint POST /v1/people/search
56
55
  * @usedBySchema PageBlogPostSchema
57
56
  * @usedBySchema PageClassificationSchema
58
- * @usedBySchema PageDatasourceFieldProvenanceSchema
59
57
  * @usedBySchema PageEmployeeCountSchema
60
58
  * @usedBySchema PageEntityAcquisitionSchema
61
59
  * @usedBySchema PageEntityDetailSchema
@@ -194,122 +194,6 @@ type PageClassificationDefinition = z.infer<typeof PageClassificationSchemaDefin
194
194
  */
195
195
  export declare const PageClassificationSchema: z.ZodType<PageClassificationDefinition>;
196
196
  export type PageClassification = z.infer<typeof PageClassificationSchema>;
197
- declare const PageDatasourceFieldProvenanceSchemaDefinition: z.ZodObject<{
198
- content: z.ZodOptional<z.ZodArray<z.ZodType<{
199
- actor?: {
200
- agent?: {
201
- chassis: string;
202
- model: string;
203
- modelFamily: string;
204
- } | null | undefined;
205
- displayName: string;
206
- employeeDisplayName?: string | null | undefined;
207
- employeeUserId?: string | null | undefined;
208
- type: "agent" | "employee";
209
- } | null | undefined;
210
- changedBy?: string | null | undefined;
211
- changes: {
212
- fieldName: string;
213
- newPresent: boolean;
214
- newValue?: string | null | undefined;
215
- oldPresent: boolean;
216
- oldValue?: string | null | undefined;
217
- }[];
218
- effectiveAt: string;
219
- entityId?: string | null | undefined;
220
- eventId: string;
221
- id: number;
222
- operation: "delete" | "insert" | "update";
223
- personId?: string | null | undefined;
224
- recordId: string;
225
- source: {
226
- actorType?: "agent" | "employee" | undefined;
227
- agentChassis?: string | null | undefined;
228
- agentModel?: string | null | undefined;
229
- sourceDetail: string;
230
- sourceProvider?: string | null | undefined;
231
- sourceProviderId?: string | null | undefined;
232
- sourceProviderSlug?: string | null | undefined;
233
- sourceType: "api" | "aventureStaff" | "blogArticle" | "firstPartyWebsite" | "import" | "llm" | "manual" | "newsArticle" | "relatedPartyWebsite" | "requestChangeForm" | "thirdPartyWebsite";
234
- };
235
- status: "confirmed" | "disputedAnonymous" | "disputedFirstParty" | "disputedRelatedParty" | "disputedThirdParty" | "unconfirmed";
236
- tableName: "deployTarget" | "entity" | "entityAddressJoin" | "entityClassificationJoin" | "entityDetail" | "entityPersonJoin" | "entityRelationship" | "entityResearchSnippets" | "entityTypeJoin" | "fundraiseTransaction" | "fundraiseTransactionInvestorJoin" | "newsArticle" | "newsArticleEntityJoin" | "newsArticlePersonJoin" | "person" | "personAddressJoin" | "text" | "urlLink";
237
- }, unknown, z.core.$ZodTypeInternals<{
238
- actor?: {
239
- agent?: {
240
- chassis: string;
241
- model: string;
242
- modelFamily: string;
243
- } | null | undefined;
244
- displayName: string;
245
- employeeDisplayName?: string | null | undefined;
246
- employeeUserId?: string | null | undefined;
247
- type: "agent" | "employee";
248
- } | null | undefined;
249
- changedBy?: string | null | undefined;
250
- changes: {
251
- fieldName: string;
252
- newPresent: boolean;
253
- newValue?: string | null | undefined;
254
- oldPresent: boolean;
255
- oldValue?: string | null | undefined;
256
- }[];
257
- effectiveAt: string;
258
- entityId?: string | null | undefined;
259
- eventId: string;
260
- id: number;
261
- operation: "delete" | "insert" | "update";
262
- personId?: string | null | undefined;
263
- recordId: string;
264
- source: {
265
- actorType?: "agent" | "employee" | undefined;
266
- agentChassis?: string | null | undefined;
267
- agentModel?: string | null | undefined;
268
- sourceDetail: string;
269
- sourceProvider?: string | null | undefined;
270
- sourceProviderId?: string | null | undefined;
271
- sourceProviderSlug?: string | null | undefined;
272
- sourceType: "api" | "aventureStaff" | "blogArticle" | "firstPartyWebsite" | "import" | "llm" | "manual" | "newsArticle" | "relatedPartyWebsite" | "requestChangeForm" | "thirdPartyWebsite";
273
- };
274
- status: "confirmed" | "disputedAnonymous" | "disputedFirstParty" | "disputedRelatedParty" | "disputedThirdParty" | "unconfirmed";
275
- tableName: "deployTarget" | "entity" | "entityAddressJoin" | "entityClassificationJoin" | "entityDetail" | "entityPersonJoin" | "entityRelationship" | "entityResearchSnippets" | "entityTypeJoin" | "fundraiseTransaction" | "fundraiseTransactionInvestorJoin" | "newsArticle" | "newsArticleEntityJoin" | "newsArticlePersonJoin" | "person" | "personAddressJoin" | "text" | "urlLink";
276
- }, unknown>>>>;
277
- empty: z.ZodOptional<z.ZodBoolean>;
278
- first: z.ZodOptional<z.ZodBoolean>;
279
- last: z.ZodOptional<z.ZodBoolean>;
280
- number: z.ZodOptional<z.ZodInt>;
281
- numberOfElements: z.ZodOptional<z.ZodInt>;
282
- pageable: z.ZodOptional<z.ZodObject<{
283
- offset: z.ZodOptional<z.ZodNumber>;
284
- paged: z.ZodOptional<z.ZodBoolean>;
285
- pageNumber: z.ZodOptional<z.ZodInt>;
286
- pageSize: z.ZodOptional<z.ZodInt>;
287
- sort: z.ZodOptional<z.ZodObject<{
288
- empty: z.ZodOptional<z.ZodBoolean>;
289
- sorted: z.ZodOptional<z.ZodBoolean>;
290
- unsorted: z.ZodOptional<z.ZodBoolean>;
291
- }, z.core.$strip>>;
292
- unpaged: z.ZodOptional<z.ZodBoolean>;
293
- }, z.core.$strip>>;
294
- size: z.ZodOptional<z.ZodInt>;
295
- sort: z.ZodOptional<z.ZodObject<{
296
- empty: z.ZodOptional<z.ZodBoolean>;
297
- sorted: z.ZodOptional<z.ZodBoolean>;
298
- unsorted: z.ZodOptional<z.ZodBoolean>;
299
- }, z.core.$strip>>;
300
- totalElements: z.ZodOptional<z.ZodNumber>;
301
- totalPages: z.ZodOptional<z.ZodInt>;
302
- }, z.core.$strip>;
303
- type PageDatasourceFieldProvenanceDefinition = z.infer<typeof PageDatasourceFieldProvenanceSchemaDefinition>;
304
- /**
305
- * @openapiSchema PageDatasourceFieldProvenance
306
- * @endpoint GET /v1/provenance
307
- * @contractShape pagination.page-datasource-field-provenance
308
- * @contractRole canonical
309
- * @ownerModule pagination/schemas.ts
310
- */
311
- export declare const PageDatasourceFieldProvenanceSchema: z.ZodType<PageDatasourceFieldProvenanceDefinition>;
312
- export type PageDatasourceFieldProvenance = z.infer<typeof PageDatasourceFieldProvenanceSchema>;
313
197
  declare const PageEmployeeCountSchemaDefinition: z.ZodObject<{
314
198
  content: z.ZodOptional<z.ZodArray<z.ZodObject<{
315
199
  asOfDate: z.ZodISODateTime;
@@ -1,7 +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
3
  import { BlogPostSchema } from "../blog/post.js";
4
- import { DatasourceFieldProvenanceSchema } from "../datasource/field-provenance.js";
5
4
  import { EmployeeCountSchema } from "../employee/count.js";
6
5
  import { EntityAcquisitionSchema } from "../entity/acquisition.js";
7
6
  import { EntityDetailSchema } from "../entity/detail.js";
@@ -79,27 +78,6 @@ const PageClassificationSchemaDefinition = z.object({
79
78
  * @ownerModule pagination/schemas.ts
80
79
  */
81
80
  export const PageClassificationSchema = PageClassificationSchemaDefinition;
82
- const PageDatasourceFieldProvenanceSchemaDefinition = z.object({
83
- content: z.array(DatasourceFieldProvenanceSchema).optional(),
84
- empty: z.boolean().optional(),
85
- first: z.boolean().optional(),
86
- last: z.boolean().optional(),
87
- number: z.int().optional(),
88
- numberOfElements: z.int().optional(),
89
- pageable: PageableObjectSchema.optional(),
90
- size: z.int().optional(),
91
- sort: SortObjectSchema.optional(),
92
- totalElements: z.number().int().optional(),
93
- totalPages: z.int().optional(),
94
- });
95
- /**
96
- * @openapiSchema PageDatasourceFieldProvenance
97
- * @endpoint GET /v1/provenance
98
- * @contractShape pagination.page-datasource-field-provenance
99
- * @contractRole canonical
100
- * @ownerModule pagination/schemas.ts
101
- */
102
- export const PageDatasourceFieldProvenanceSchema = PageDatasourceFieldProvenanceSchemaDefinition;
103
81
  const PageEmployeeCountSchemaDefinition = z.object({
104
82
  content: z.array(EmployeeCountSchema).optional(),
105
83
  empty: z.boolean().optional(),
@@ -5,7 +5,9 @@ const ResearchAllowanceSchemaDefinition = z.object({
5
5
  limit: z.int().nullish(),
6
6
  /** Cap minus used, never negative; absent when there is no cap */
7
7
  remaining: z.int().nullish(),
8
+ /** When used returns to zero and the next period starts */
8
9
  resetAt: z.iso.datetime({ offset: true }),
10
+ /** Amount used so far in the period */
9
11
  used: z.int(),
10
12
  });
11
13
  /**
@@ -5,7 +5,6 @@ import { z } from "zod/v4";
5
5
  * @endpoint GET /v1/content
6
6
  * @endpoint GET /v1/entities/summary
7
7
  * @endpoint GET /v1/news
8
- * @endpoint GET /v1/provenance
9
8
  * @endpoint GET /v1/sitemap/entities
10
9
  * @endpoint GET /v1/sitemap/entities/routes
11
10
  * @endpoint GET /v1/sitemap/entities/urls
@@ -54,7 +53,6 @@ import { z } from "zod/v4";
54
53
  * @usedBySchema PageableObjectSchema
55
54
  * @usedBySchema PageBlogPostSchema
56
55
  * @usedBySchema PageClassificationSchema
57
- * @usedBySchema PageDatasourceFieldProvenanceSchema
58
56
  * @usedBySchema PageEmployeeCountSchema
59
57
  * @usedBySchema PageEntityAcquisitionSchema
60
58
  * @usedBySchema PageEntityDetailSchema
@@ -6,7 +6,6 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/content
7
7
  * @endpoint GET /v1/entities/summary
8
8
  * @endpoint GET /v1/news
9
- * @endpoint GET /v1/provenance
10
9
  * @endpoint GET /v1/sitemap/entities
11
10
  * @endpoint GET /v1/sitemap/entities/routes
12
11
  * @endpoint GET /v1/sitemap/entities/urls
@@ -55,7 +54,6 @@ import { z } from "zod/v4";
55
54
  * @usedBySchema PageableObjectSchema
56
55
  * @usedBySchema PageBlogPostSchema
57
56
  * @usedBySchema PageClassificationSchema
58
- * @usedBySchema PageDatasourceFieldProvenanceSchema
59
57
  * @usedBySchema PageEmployeeCountSchema
60
58
  * @usedBySchema PageEntityAcquisitionSchema
61
59
  * @usedBySchema PageEntityDetailSchema
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.7.329",
3
+ "version": "0.7.332",
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
@@ -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
- * Confidence and dispute state of a field-level provenance row
5
- *
6
- * @openapiSchema DatasourceProvenanceStatus
7
- * @endpoint GET /v1/provenance
8
- * @endpoint GET /v1/provenance/{provenanceId}
9
- * @usedBySchema DatasourceFieldProvenanceSchema
10
- * @contractShape datasource.provenance-status
11
- * @contractRole canonical
12
- */
13
- export const DatasourceProvenanceStatusSchema = z.enum([
14
- "unconfirmed",
15
- "confirmed",
16
- "disputedFirstParty",
17
- "disputedRelatedParty",
18
- "disputedThirdParty",
19
- "disputedAnonymous",
20
- ]);
21
- //# sourceMappingURL=provenance-status.js.map
@@ -1,34 +0,0 @@
1
- import { z } from "zod/v4";
2
- /**
3
- * Domain resource whose field-level provenance is tracked
4
- *
5
- * @openapiSchema DatasourceTrackedProvenanceTable
6
- * @endpoint GET /v1/provenance
7
- * @endpoint GET /v1/provenance/latest
8
- * @endpoint GET /v1/provenance/{provenanceId}
9
- * @usedBySchema DatasourceFieldProvenanceSchema
10
- * @contractShape datasource.tracked-provenance-table
11
- * @contractRole canonical
12
- */
13
- export declare const DatasourceTrackedProvenanceTableSchema: z.ZodEnum<{
14
- deployTarget: "deployTarget";
15
- entity: "entity";
16
- entityAddressJoin: "entityAddressJoin";
17
- entityClassificationJoin: "entityClassificationJoin";
18
- entityDetail: "entityDetail";
19
- entityPersonJoin: "entityPersonJoin";
20
- entityRelationship: "entityRelationship";
21
- entityResearchSnippets: "entityResearchSnippets";
22
- entityTypeJoin: "entityTypeJoin";
23
- fundraiseTransaction: "fundraiseTransaction";
24
- fundraiseTransactionInvestorJoin: "fundraiseTransactionInvestorJoin";
25
- newsArticle: "newsArticle";
26
- newsArticleEntityJoin: "newsArticleEntityJoin";
27
- newsArticlePersonJoin: "newsArticlePersonJoin";
28
- person: "person";
29
- personAddressJoin: "personAddressJoin";
30
- text: "text";
31
- urlLink: "urlLink";
32
- }>;
33
- export type DatasourceTrackedProvenanceTable = z.infer<typeof DatasourceTrackedProvenanceTableSchema>;
34
- //# sourceMappingURL=tracked-provenance-table.d.ts.map
@@ -1,34 +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
- * Domain resource whose field-level provenance is tracked
5
- *
6
- * @openapiSchema DatasourceTrackedProvenanceTable
7
- * @endpoint GET /v1/provenance
8
- * @endpoint GET /v1/provenance/latest
9
- * @endpoint GET /v1/provenance/{provenanceId}
10
- * @usedBySchema DatasourceFieldProvenanceSchema
11
- * @contractShape datasource.tracked-provenance-table
12
- * @contractRole canonical
13
- */
14
- export const DatasourceTrackedProvenanceTableSchema = z.enum([
15
- "entity",
16
- "person",
17
- "newsArticle",
18
- "entityPersonJoin",
19
- "newsArticleEntityJoin",
20
- "newsArticlePersonJoin",
21
- "entityRelationship",
22
- "entityTypeJoin",
23
- "entityAddressJoin",
24
- "entityClassificationJoin",
25
- "entityDetail",
26
- "entityResearchSnippets",
27
- "personAddressJoin",
28
- "fundraiseTransaction",
29
- "fundraiseTransactionInvestorJoin",
30
- "text",
31
- "urlLink",
32
- "deployTarget",
33
- ]);
34
- //# sourceMappingURL=tracked-provenance-table.js.map