@aventurevc/api-schemas 0.8.454 → 0.8.456

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 (50) hide show
  1. package/dist/billing/additional-usage-funding-type.d.ts +1 -1
  2. package/dist/billing/additional-usage-funding-type.js +1 -1
  3. package/dist/billing/additional-usage-mutation.d.ts +3 -1
  4. package/dist/billing/additional-usage-mutation.js +6 -2
  5. package/dist/billing/additional-usage-type.d.ts +1 -1
  6. package/dist/billing/additional-usage-type.js +1 -1
  7. package/dist/billing/additional-usage.d.ts +1 -0
  8. package/dist/billing/additional-usage.js +3 -1
  9. package/dist/billing/credit-purchase-confirmation.d.ts +18 -0
  10. package/dist/billing/credit-purchase-confirmation.js +5 -0
  11. package/dist/billing/credit-purchase-status.d.ts +29 -0
  12. package/dist/billing/credit-purchase-status.js +22 -0
  13. package/dist/billing/credit-purchase.d.ts +23 -4
  14. package/dist/billing/credit-purchase.js +10 -3
  15. package/dist/billing/subscription.d.ts +2 -0
  16. package/dist/billing/subscription.js +2 -2
  17. package/dist/entity/accelerator-participation.d.ts +1 -0
  18. package/dist/entity/accelerator-participation.js +2 -0
  19. package/dist/entity/analysis-replay.d.ts +3 -0
  20. package/dist/entity/detail.d.ts +8 -0
  21. package/dist/entity/investor-participation.d.ts +8 -0
  22. package/dist/entity/list-research.d.ts +2 -0
  23. package/dist/entity/list.d.ts +2 -0
  24. package/dist/entity/research-snippet.d.ts +3 -0
  25. package/dist/entity/research-snippet.js +6 -0
  26. package/dist/entity/research.d.ts +5 -0
  27. package/dist/entity/resolution.d.ts +8 -0
  28. package/dist/entity/similarity-result.d.ts +2 -0
  29. package/dist/entity/writer-brief.d.ts +12 -12
  30. package/dist/entity/writer-meta-analysis.d.ts +4 -4
  31. package/dist/entity/writer-meta-analysis.js +2 -2
  32. package/dist/entity/writer-paragraph-analysis.d.ts +3 -8
  33. package/dist/entity/writer-paragraph-analysis.js +4 -5
  34. package/dist/entity/writer-paragraph.d.ts +3 -5
  35. package/dist/entity/writer-paragraph.js +1 -1
  36. package/dist/federated/search.d.ts +14 -0
  37. package/dist/harness/run-create.d.ts +12 -12
  38. package/dist/harness/task-input-binding.d.ts +12 -12
  39. package/dist/link/search.d.ts +14 -0
  40. package/dist/lookup/job-mention.d.ts +2 -0
  41. package/dist/lookup/job.d.ts +2 -0
  42. package/dist/mention/lookup.d.ts +2 -0
  43. package/dist/natural/search-result.d.ts +6 -0
  44. package/dist/openapi-component-manifest.js +4 -0
  45. package/dist/pagination/schemas.d.ts +25 -0
  46. package/dist/shared/search.d.ts +14 -0
  47. package/dist/unique/id-type.d.ts +18 -0
  48. package/dist/unique/id-type.js +9 -0
  49. package/dist/unique/id.d.ts +18 -0
  50. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod/v4";
2
2
  /**
3
- * PREPAID_CREDIT spends purchased credit packs and stops when they run out. USAGE_INVOICE bills an invoice each time unbilled usage reaches invoiceIncrementCents, up to spendCapCents per month.
3
+ * PREPAID_CREDIT spends purchased credit packs and stops when they run out. USAGE_INVOICE bills an invoice each time unbilled usage reaches invoiceIncrementCents, subject to an optional monthly spendCapCents.
4
4
  *
5
5
  * @openapiSchema BillingAdditionalUsageFundingType
6
6
  * @endpoint GET /v1/billing/subscription
@@ -1,7 +1,7 @@
1
1
  // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
2
  import { z } from "zod/v4";
3
3
  /**
4
- * PREPAID_CREDIT spends purchased credit packs and stops when they run out. USAGE_INVOICE bills an invoice each time unbilled usage reaches invoiceIncrementCents, up to spendCapCents per month.
4
+ * PREPAID_CREDIT spends purchased credit packs and stops when they run out. USAGE_INVOICE bills an invoice each time unbilled usage reaches invoiceIncrementCents, subject to an optional monthly spendCapCents.
5
5
  *
6
6
  * @openapiSchema BillingAdditionalUsageFundingType
7
7
  * @endpoint GET /v1/billing/subscription
@@ -1,5 +1,7 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const BillingAdditionalUsageMutationSchemaDefinition: z.ZodObject<{
3
+ assistantPurchaseEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4
+ authorizationQuote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3
5
  enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4
6
  funding: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5
7
  PREPAID_CREDIT: "PREPAID_CREDIT";
@@ -12,7 +14,7 @@ type BillingAdditionalUsageMutationDefinition = z.infer<typeof BillingAdditional
12
14
  export interface BillingAdditionalUsageMutationSchemaInput extends z.input<typeof BillingAdditionalUsageMutationSchemaDefinition> {
13
15
  }
14
16
  /**
15
- * Merge patch of the additional-usage settings. Enabling requires funding; USAGE_INVOICE also requires spendCapCents and invoiceIncrementCents.
17
+ * Merge patch of additional-usage settings: omission preserves a setting and null clears it. Enabling requires funding; USAGE_INVOICE also requires invoiceIncrementCents. A permission-only initial save stays disabled with PREPAID_CREDIT and provisions nothing.
16
18
  *
17
19
  * @openapiSchema BillingAdditionalUsageMutation
18
20
  * @endpoint PATCH /v1/billing/additional-usage
@@ -2,16 +2,20 @@
2
2
  import { z } from "zod/v4";
3
3
  import { BillingAdditionalUsageFundingTypeSchema } from "./additional-usage-funding-type.js";
4
4
  const BillingAdditionalUsageMutationSchemaDefinition = z.object({
5
+ /** Allow assistant billing changes. Only a verified first-party user session may set or clear this permission; null revokes it. Omission preserves it. */
6
+ assistantPurchaseEnabled: z.boolean().nullish(),
7
+ /** Exact user quote authorizing this delegated settings change, including the funding and monthly cap decision (keep, set, or no cap). Required for delegated changes that enable usage or change funding, cap, or invoice increment. Ask the user first; send their words unchanged. This quote is retained verbatim, never returned as settings. */
8
+ authorizationQuote: z.string().max(4000).nullish(),
5
9
  /** Turn recording of usage past the monthly caps on or off. */
6
10
  enabled: z.boolean().nullish(),
7
11
  funding: BillingAdditionalUsageFundingTypeSchema.nullish(),
8
12
  /** Unbilled cents that trigger a USAGE_INVOICE invoice; one of the plan catalog's invoiceIncrementCents. */
9
13
  invoiceIncrementCents: z.number().int().nullish(),
10
- /** Monthly spend cap in cents; required for USAGE_INVOICE. */
14
+ /** Optional monthly usage spend cap in cents; null clears it for either funding type. */
11
15
  spendCapCents: z.number().int().nullish(),
12
16
  });
13
17
  /**
14
- * Merge patch of the additional-usage settings. Enabling requires funding; USAGE_INVOICE also requires spendCapCents and invoiceIncrementCents.
18
+ * Merge patch of additional-usage settings: omission preserves a setting and null clears it. Enabling requires funding; USAGE_INVOICE also requires invoiceIncrementCents. A permission-only initial save stays disabled with PREPAID_CREDIT and provisions nothing.
15
19
  *
16
20
  * @openapiSchema BillingAdditionalUsageMutation
17
21
  * @endpoint PATCH /v1/billing/additional-usage
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod/v4";
2
2
  /**
3
- * One metered allowance a paid subscriber may use past its included cap.
3
+ * One metered allowance an eligible account may fund past its included cap.
4
4
  *
5
5
  * @openapiSchema BillingAdditionalUsageType
6
6
  * @endpoint GET /v1/billing/plans
@@ -10,7 +10,7 @@ const BillingAdditionalUsageTypeSchemaKnownMembers = z.enum([
10
10
  "AI_CREDIT",
11
11
  ]);
12
12
  /**
13
- * One metered allowance a paid subscriber may use past its included cap.
13
+ * One metered allowance an eligible account may fund past its included cap.
14
14
  *
15
15
  * @openapiSchema BillingAdditionalUsageType
16
16
  * @endpoint GET /v1/billing/plans
@@ -1,5 +1,6 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const BillingAdditionalUsageSchemaDefinition: z.ZodObject<{
3
+ assistantPurchaseEnabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3
4
  availableCreditCents: z.ZodNumber;
4
5
  blocked: z.ZodBoolean;
5
6
  enabled: z.ZodBoolean;
@@ -3,6 +3,8 @@ import { z } from "zod/v4";
3
3
  import { BillingAdditionalUsageFundingTypeSchema } from "./additional-usage-funding-type.js";
4
4
  import { BillingAdditionalUsageMeterSchema } from "./additional-usage-meter.js";
5
5
  const BillingAdditionalUsageSchemaDefinition = z.object({
6
+ /** Whether assistants may request billing changes with an exact user authorization quote. Defaults to false; only a verified first-party user session may change it. This permission neither enables usage nor buys credit. */
7
+ assistantPurchaseEnabled: z.boolean().default(false).optional(),
6
8
  /** Spendable prepaid credit after pending usage and invoice-line rounding reserves, in cents. */
7
9
  availableCreditCents: z.number(),
8
10
  /** True while a failed threshold invoice blocks additional usage; paying it in Billing Portal clears the block. */
@@ -15,7 +17,7 @@ const BillingAdditionalUsageSchemaDefinition = z.object({
15
17
  meter: z.array(BillingAdditionalUsageMeterSchema),
16
18
  /** When spentCents returns to zero: the next UTC month. */
17
19
  resetAt: z.iso.datetime({ offset: true }),
18
- /** Monthly spend cap in cents. Required for USAGE_INVOICE; absent for PREPAID_CREDIT means only the prepaid credit bounds usage. */
20
+ /** Optional monthly usage spend cap in cents for either funding type. Null means no configured monthly cap, not unlimited credit or a purchase budget. */
19
21
  spendCapCents: z.number().int().nullish(),
20
22
  /** Additional usage priced this UTC month, in cents. */
21
23
  spentCents: z.number(),
@@ -2,8 +2,26 @@ import { z } from "zod/v4";
2
2
  declare const BillingCreditPurchaseConfirmationSchemaDefinition: z.ZodObject<{
3
3
  amountCents: z.ZodNumber;
4
4
  closedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
5
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
6
  grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6
7
  id: z.ZodUUID;
8
+ paymentClientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ status: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
11
+ AUTHENTICATION_REQUIRED: "AUTHENTICATION_REQUIRED";
12
+ FAILED: "FAILED";
13
+ PAID: "PAID";
14
+ PENDING: "PENDING";
15
+ PROCESSING: "PROCESSING";
16
+ }>, z.ZodString]> & {
17
+ enum: {
18
+ AUTHENTICATION_REQUIRED: "AUTHENTICATION_REQUIRED";
19
+ FAILED: "FAILED";
20
+ PAID: "PAID";
21
+ PENDING: "PENDING";
22
+ PROCESSING: "PROCESSING";
23
+ };
24
+ }>>;
7
25
  }, z.core.$strip>;
8
26
  type BillingCreditPurchaseConfirmationDefinition = z.infer<typeof BillingCreditPurchaseConfirmationSchemaDefinition>;
9
27
  export interface BillingCreditPurchaseConfirmationSchemaInput extends z.input<typeof BillingCreditPurchaseConfirmationSchemaDefinition> {
@@ -1,10 +1,15 @@
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
+ import { BillingCreditPurchaseStatusSchema } from "./credit-purchase-status.js";
3
4
  const BillingCreditPurchaseConfirmationSchemaDefinition = z.object({
4
5
  amountCents: z.number().int(),
5
6
  closedAt: z.iso.datetime({ offset: true }).nullish(),
7
+ currency: z.string().nullish(),
6
8
  grantedAt: z.iso.datetime({ offset: true }).nullish(),
7
9
  id: z.uuid(),
10
+ paymentClientSecret: z.string().nullish(),
11
+ publishableKey: z.string().nullish(),
12
+ status: BillingCreditPurchaseStatusSchema.nullish(),
8
13
  });
9
14
  /**
10
15
  * One account-owned purchase's confirmed credit grant or checkout closure.
@@ -0,0 +1,29 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Current purchase payment state; grant confirmation remains grantedAt.
4
+ *
5
+ * @openapiSchema BillingCreditPurchaseStatus
6
+ * @endpoint GET /v1/billing/credit-purchases/{purchaseId}
7
+ * @endpoint POST /v1/billing/credit-purchases
8
+ * @usedBySchema BillingCreditPurchaseConfirmationSchema
9
+ * @usedBySchema BillingCreditPurchaseSchema
10
+ * @contractShape billing.credit-purchase-status
11
+ * @contractRole canonical
12
+ */
13
+ export declare const BillingCreditPurchaseStatusSchema: z.ZodUnion<readonly [z.ZodEnum<{
14
+ AUTHENTICATION_REQUIRED: "AUTHENTICATION_REQUIRED";
15
+ FAILED: "FAILED";
16
+ PAID: "PAID";
17
+ PENDING: "PENDING";
18
+ PROCESSING: "PROCESSING";
19
+ }>, z.ZodString]> & {
20
+ enum: {
21
+ AUTHENTICATION_REQUIRED: "AUTHENTICATION_REQUIRED";
22
+ FAILED: "FAILED";
23
+ PAID: "PAID";
24
+ PENDING: "PENDING";
25
+ PROCESSING: "PROCESSING";
26
+ };
27
+ };
28
+ export type BillingCreditPurchaseStatus = z.infer<typeof BillingCreditPurchaseStatusSchema>;
29
+ //# sourceMappingURL=credit-purchase-status.d.ts.map
@@ -0,0 +1,22 @@
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 BillingCreditPurchaseStatusSchemaKnownMembers = z.enum([
4
+ "PENDING",
5
+ "AUTHENTICATION_REQUIRED",
6
+ "PROCESSING",
7
+ "PAID",
8
+ "FAILED",
9
+ ]);
10
+ /**
11
+ * Current purchase payment state; grant confirmation remains grantedAt.
12
+ *
13
+ * @openapiSchema BillingCreditPurchaseStatus
14
+ * @endpoint GET /v1/billing/credit-purchases/{purchaseId}
15
+ * @endpoint POST /v1/billing/credit-purchases
16
+ * @usedBySchema BillingCreditPurchaseConfirmationSchema
17
+ * @usedBySchema BillingCreditPurchaseSchema
18
+ * @contractShape billing.credit-purchase-status
19
+ * @contractRole canonical
20
+ */
21
+ export const BillingCreditPurchaseStatusSchema = Object.assign(z.union([BillingCreditPurchaseStatusSchemaKnownMembers, z.string()]), { enum: BillingCreditPurchaseStatusSchemaKnownMembers.enum });
22
+ //# sourceMappingURL=credit-purchase-status.js.map
@@ -1,14 +1,33 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const BillingCreditPurchaseSchemaDefinition: z.ZodObject<{
3
- expiresAt: z.ZodISODateTime;
3
+ amountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
4
6
  id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
5
- pack: z.ZodEnum<{
7
+ pack: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6
8
  USD_100: "USD_100";
7
9
  USD_25: "USD_25";
8
10
  USD_250: "USD_250";
9
11
  USD_50: "USD_50";
10
- }>;
11
- url: z.ZodString;
12
+ }>>>;
13
+ paymentClientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ status: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
16
+ AUTHENTICATION_REQUIRED: "AUTHENTICATION_REQUIRED";
17
+ FAILED: "FAILED";
18
+ PAID: "PAID";
19
+ PENDING: "PENDING";
20
+ PROCESSING: "PROCESSING";
21
+ }>, z.ZodString]> & {
22
+ enum: {
23
+ AUTHENTICATION_REQUIRED: "AUTHENTICATION_REQUIRED";
24
+ FAILED: "FAILED";
25
+ PAID: "PAID";
26
+ PENDING: "PENDING";
27
+ PROCESSING: "PROCESSING";
28
+ };
29
+ }>>;
30
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
31
  }, z.core.$strip>;
13
32
  type BillingCreditPurchaseDefinition = z.infer<typeof BillingCreditPurchaseSchemaDefinition>;
14
33
  export interface BillingCreditPurchaseSchemaInput extends z.input<typeof BillingCreditPurchaseSchemaDefinition> {
@@ -1,11 +1,18 @@
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 { BillingCreditPackTypeSchema } from "./credit-pack-type.js";
4
+ import { BillingCreditPurchaseStatusSchema } from "./credit-purchase-status.js";
4
5
  const BillingCreditPurchaseSchemaDefinition = z.object({
5
- expiresAt: z.iso.datetime({ offset: true }),
6
+ amountCents: z.number().int().nullish(),
7
+ currency: z.string().nullish(),
8
+ expiresAt: z.iso.datetime({ offset: true }).nullish(),
6
9
  id: z.uuid().nullish(),
7
- pack: BillingCreditPackTypeSchema,
8
- url: z.string(),
10
+ pack: BillingCreditPackTypeSchema.nullish(),
11
+ /** Only when bank authentication is required; finish with Stripe.js, then reread this purchase. */
12
+ paymentClientSecret: z.string().nullish(),
13
+ publishableKey: z.string().nullish(),
14
+ status: BillingCreditPurchaseStatusSchema.nullish(),
15
+ url: z.string().nullish(),
9
16
  });
10
17
  /**
11
18
  * Hosted Checkout destination and expiry for a prepaid credit pack.
@@ -1,6 +1,7 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
3
3
  additionalUsage: z.ZodType<{
4
+ assistantPurchaseEnabled?: boolean | undefined;
4
5
  availableCreditCents: number;
5
6
  blocked: boolean;
6
7
  enabled: boolean;
@@ -16,6 +17,7 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
16
17
  spentCents: number;
17
18
  unbilledCents: number;
18
19
  }, import("./additional-usage.ts").BillingAdditionalUsageSchemaInput, z.core.$ZodTypeInternals<{
20
+ assistantPurchaseEnabled?: boolean | undefined;
19
21
  availableCreditCents: number;
20
22
  blocked: boolean;
21
23
  enabled: boolean;
@@ -9,11 +9,11 @@ const BillingSubscriptionSchemaDefinition = z.object({
9
9
  additionalUsage: BillingAdditionalUsageSchema,
10
10
  /** Used, cap, and reset time of each monthly allowance */
11
11
  allowance: ResearchAllowanceUsageSchema,
12
- /** True when an entitled eligible paid plan may buy App Store consumable research credit, independent of who bills its plan. Absent on older servers; clients must require true before offering a purchase. Retained balances remain visible but spending requires an eligible subscription. */
12
+ /** True when an entitled eligible paid plan may buy App Store consumable research credit, independent of who bills its plan. Absent on older servers; clients must require true before offering a purchase. */
13
13
  appStoreCreditPurchasable: z.boolean().nullish(),
14
14
  /** True when the plan is cancelled and ends at periodEnd */
15
15
  cancelAtPeriodEnd: z.boolean(),
16
- /** True when POST /v1/billing/credit-purchases sells this account a prepaid credit pack; requires an entitled eligible paid plan and is false for an operator, an App Store plan, or any absent, expired or non-entitled plan (INCOMPLETE, PAST_DUE, UNPAID, or PAUSED) */
16
+ /** True when POST /v1/billing/credit-purchases sells this account a prepaid credit pack without requiring a subscription. False while an App Store plan is continuing or a continuing plan cannot fund new charges (including INCOMPLETE, PAST_DUE, UNPAID, PAUSED, or expired). Buying credit never changes the tier. */
17
17
  creditPurchasable: z.boolean(),
18
18
  /** True while the subscription grants its paid tier */
19
19
  entitled: z.boolean(),
@@ -78,6 +78,7 @@ declare const EntityAcceleratorParticipationSchemaDefinition: z.ZodObject<{
78
78
  batch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
79
  id: z.ZodString;
80
80
  program: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
+ publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
82
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
83
  }, z.core.$strip>;
83
84
  type EntityAcceleratorParticipationDefinition = z.infer<typeof EntityAcceleratorParticipationSchemaDefinition>;
@@ -16,6 +16,8 @@ const EntityAcceleratorParticipationSchemaDefinition = z.object({
16
16
  id: z.string(),
17
17
  /** Accelerator program name, when the source distinguishes one */
18
18
  program: z.string().nullish(),
19
+ /** Absolute canonical public profile URL of the accelerator, including its parent route family when it is a Business Line; absent when no public route exists */
20
+ publicUrl: z.string().nullish(),
19
21
  /** Accelerator participation status */
20
22
  status: z.string().nullish(),
21
23
  });
@@ -27,6 +27,8 @@ declare const EntityAnalysisReplaySchemaDefinition: z.ZodObject<{
27
27
  }, z.core.$strip>>>;
28
28
  entityId: z.ZodUUID;
29
29
  id: z.ZodInt;
30
+ isCurrent: z.ZodOptional<z.ZodBoolean>;
31
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
30
32
  publicSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
33
  lastFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
32
34
  publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
@@ -36,6 +38,7 @@ declare const EntityAnalysisReplaySchemaDefinition: z.ZodObject<{
36
38
  text: z.ZodString;
37
39
  textType: z.ZodString;
38
40
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
41
+ visible: z.ZodOptional<z.ZodBoolean>;
39
42
  }, z.core.$strip>>>;
40
43
  section: z.ZodArray<z.ZodString>;
41
44
  }, z.core.$strip>;
@@ -4304,6 +4304,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
4304
4304
  batch?: string | null | undefined;
4305
4305
  id: string;
4306
4306
  program?: string | null | undefined;
4307
+ publicUrl?: string | null | undefined;
4307
4308
  status?: string | null | undefined;
4308
4309
  }[];
4309
4310
  detail: {
@@ -4351,6 +4352,8 @@ export declare const EntityDetailSchema: z.ZodObject<{
4351
4352
  } | null | undefined;
4352
4353
  entityId: string;
4353
4354
  id: number;
4355
+ isCurrent?: boolean | undefined;
4356
+ isPrimary?: boolean | undefined;
4354
4357
  publicSource?: {
4355
4358
  lastFetchedAt?: string | null | undefined;
4356
4359
  publishedAt?: string | null | undefined;
@@ -4360,6 +4363,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
4360
4363
  text: string;
4361
4364
  textType: string;
4362
4365
  updatedAt?: string | null | undefined;
4366
+ visible?: boolean | undefined;
4363
4367
  }[];
4364
4368
  }, import("./research.ts").EntityResearchSchemaInput, z.core.$ZodTypeInternals<{
4365
4369
  acceleratorParticipation: {
@@ -4412,6 +4416,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
4412
4416
  batch?: string | null | undefined;
4413
4417
  id: string;
4414
4418
  program?: string | null | undefined;
4419
+ publicUrl?: string | null | undefined;
4415
4420
  status?: string | null | undefined;
4416
4421
  }[];
4417
4422
  detail: {
@@ -4459,6 +4464,8 @@ export declare const EntityDetailSchema: z.ZodObject<{
4459
4464
  } | null | undefined;
4460
4465
  entityId: string;
4461
4466
  id: number;
4467
+ isCurrent?: boolean | undefined;
4468
+ isPrimary?: boolean | undefined;
4462
4469
  publicSource?: {
4463
4470
  lastFetchedAt?: string | null | undefined;
4464
4471
  publishedAt?: string | null | undefined;
@@ -4468,6 +4475,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
4468
4475
  text: string;
4469
4476
  textType: string;
4470
4477
  updatedAt?: string | null | undefined;
4478
+ visible?: boolean | undefined;
4471
4479
  }[];
4472
4480
  }, import("./research.ts").EntityResearchSchemaInput>>;
4473
4481
  sitemap: z.ZodObject<{
@@ -4282,6 +4282,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
4282
4282
  batch?: string | null | undefined;
4283
4283
  id: string;
4284
4284
  program?: string | null | undefined;
4285
+ publicUrl?: string | null | undefined;
4285
4286
  status?: string | null | undefined;
4286
4287
  }[];
4287
4288
  detail: {
@@ -4329,6 +4330,8 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
4329
4330
  } | null | undefined;
4330
4331
  entityId: string;
4331
4332
  id: number;
4333
+ isCurrent?: boolean | undefined;
4334
+ isPrimary?: boolean | undefined;
4332
4335
  publicSource?: {
4333
4336
  lastFetchedAt?: string | null | undefined;
4334
4337
  publishedAt?: string | null | undefined;
@@ -4338,6 +4341,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
4338
4341
  text: string;
4339
4342
  textType: string;
4340
4343
  updatedAt?: string | null | undefined;
4344
+ visible?: boolean | undefined;
4341
4345
  }[];
4342
4346
  }, import("./research.ts").EntityResearchSchemaInput, z.core.$ZodTypeInternals<{
4343
4347
  acceleratorParticipation: {
@@ -4390,6 +4394,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
4390
4394
  batch?: string | null | undefined;
4391
4395
  id: string;
4392
4396
  program?: string | null | undefined;
4397
+ publicUrl?: string | null | undefined;
4393
4398
  status?: string | null | undefined;
4394
4399
  }[];
4395
4400
  detail: {
@@ -4437,6 +4442,8 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
4437
4442
  } | null | undefined;
4438
4443
  entityId: string;
4439
4444
  id: number;
4445
+ isCurrent?: boolean | undefined;
4446
+ isPrimary?: boolean | undefined;
4440
4447
  publicSource?: {
4441
4448
  lastFetchedAt?: string | null | undefined;
4442
4449
  publishedAt?: string | null | undefined;
@@ -4446,6 +4453,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
4446
4453
  text: string;
4447
4454
  textType: string;
4448
4455
  updatedAt?: string | null | undefined;
4456
+ visible?: boolean | undefined;
4449
4457
  }[];
4450
4458
  }, import("./research.ts").EntityResearchSchemaInput>>;
4451
4459
  sitemap: z.ZodObject<{
@@ -50,6 +50,7 @@ declare const EntityListResearchSchemaDefinition: z.ZodObject<{
50
50
  batch?: string | null | undefined;
51
51
  id: string;
52
52
  program?: string | null | undefined;
53
+ publicUrl?: string | null | undefined;
53
54
  status?: string | null | undefined;
54
55
  }, import("./accelerator-participation.ts").EntityAcceleratorParticipationSchemaInput, z.core.$ZodTypeInternals<{
55
56
  accelerator: {
@@ -101,6 +102,7 @@ declare const EntityListResearchSchemaDefinition: z.ZodObject<{
101
102
  batch?: string | null | undefined;
102
103
  id: string;
103
104
  program?: string | null | undefined;
105
+ publicUrl?: string | null | undefined;
104
106
  status?: string | null | undefined;
105
107
  }, import("./accelerator-participation.ts").EntityAcceleratorParticipationSchemaInput>>>;
106
108
  detail: z.ZodArray<z.ZodType<{
@@ -1351,6 +1351,7 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
1351
1351
  batch?: string | null | undefined;
1352
1352
  id: string;
1353
1353
  program?: string | null | undefined;
1354
+ publicUrl?: string | null | undefined;
1354
1355
  status?: string | null | undefined;
1355
1356
  }[];
1356
1357
  detail: {
@@ -1431,6 +1432,7 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
1431
1432
  batch?: string | null | undefined;
1432
1433
  id: string;
1433
1434
  program?: string | null | undefined;
1435
+ publicUrl?: string | null | undefined;
1434
1436
  status?: string | null | undefined;
1435
1437
  }[];
1436
1438
  detail: {
@@ -34,6 +34,8 @@ export declare const EntityResearchSnippetSchema: z.ZodObject<{
34
34
  }, z.core.$strip>>>;
35
35
  entityId: z.ZodUUID;
36
36
  id: z.ZodInt;
37
+ isCurrent: z.ZodOptional<z.ZodBoolean>;
38
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
37
39
  publicSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
38
40
  lastFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
39
41
  publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
@@ -43,6 +45,7 @@ export declare const EntityResearchSnippetSchema: z.ZodObject<{
43
45
  text: z.ZodString;
44
46
  textType: z.ZodString;
45
47
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
48
+ visible: z.ZodOptional<z.ZodBoolean>;
46
49
  }, z.core.$strip>;
47
50
  export type EntityResearchSnippet = z.infer<typeof EntityResearchSnippetSchema>;
48
51
  //# sourceMappingURL=research-snippet.d.ts.map
@@ -34,10 +34,16 @@ export const EntityResearchSnippetSchema = z.object({
34
34
  /** Entity id (UUID) */
35
35
  entityId: z.uuid(),
36
36
  id: z.int(),
37
+ /** Current row. The live snippet for its type; demoted historical rows read only with includePrivate. */
38
+ isCurrent: z.boolean().optional(),
39
+ /** Primary row among the current snippets of its type. */
40
+ isPrimary: z.boolean().optional(),
37
41
  /** Published page behind this value, read from the provenance event that wrote it; absent for internal sources. */
38
42
  publicSource: EntityResearchPublicSourceSchema.nullish(),
39
43
  text: z.string(),
40
44
  textType: z.string(),
41
45
  updatedAt: z.iso.datetime({ offset: true }).nullish(),
46
+ /** Whether the snippet appears in default reads. Admin/private reads (includePrivate) also return hidden rows. */
47
+ visible: z.boolean().optional(),
42
48
  });
43
49
  //# sourceMappingURL=research-snippet.js.map
@@ -50,6 +50,7 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
50
50
  batch?: string | null | undefined;
51
51
  id: string;
52
52
  program?: string | null | undefined;
53
+ publicUrl?: string | null | undefined;
53
54
  status?: string | null | undefined;
54
55
  }, import("./accelerator-participation.ts").EntityAcceleratorParticipationSchemaInput, z.core.$ZodTypeInternals<{
55
56
  accelerator: {
@@ -101,6 +102,7 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
101
102
  batch?: string | null | undefined;
102
103
  id: string;
103
104
  program?: string | null | undefined;
105
+ publicUrl?: string | null | undefined;
104
106
  status?: string | null | undefined;
105
107
  }, import("./accelerator-participation.ts").EntityAcceleratorParticipationSchemaInput>>>;
106
108
  detail: z.ZodArray<z.ZodType<{
@@ -182,6 +184,8 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
182
184
  }, z.core.$strip>>>;
183
185
  entityId: z.ZodUUID;
184
186
  id: z.ZodInt;
187
+ isCurrent: z.ZodOptional<z.ZodBoolean>;
188
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
185
189
  publicSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
186
190
  lastFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
187
191
  publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
@@ -191,6 +195,7 @@ declare const EntityResearchSchemaDefinition: z.ZodObject<{
191
195
  text: z.ZodString;
192
196
  textType: z.ZodString;
193
197
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
198
+ visible: z.ZodOptional<z.ZodBoolean>;
194
199
  }, z.core.$strip>>;
195
200
  }, z.core.$strip>;
196
201
  type EntityResearchDefinition = z.infer<typeof EntityResearchSchemaDefinition>;
@@ -4291,6 +4291,7 @@ export declare const EntityResolutionSchema: z.ZodObject<{
4291
4291
  batch?: string | null | undefined;
4292
4292
  id: string;
4293
4293
  program?: string | null | undefined;
4294
+ publicUrl?: string | null | undefined;
4294
4295
  status?: string | null | undefined;
4295
4296
  }[];
4296
4297
  detail: {
@@ -4338,6 +4339,8 @@ export declare const EntityResolutionSchema: z.ZodObject<{
4338
4339
  } | null | undefined;
4339
4340
  entityId: string;
4340
4341
  id: number;
4342
+ isCurrent?: boolean | undefined;
4343
+ isPrimary?: boolean | undefined;
4341
4344
  publicSource?: {
4342
4345
  lastFetchedAt?: string | null | undefined;
4343
4346
  publishedAt?: string | null | undefined;
@@ -4347,6 +4350,7 @@ export declare const EntityResolutionSchema: z.ZodObject<{
4347
4350
  text: string;
4348
4351
  textType: string;
4349
4352
  updatedAt?: string | null | undefined;
4353
+ visible?: boolean | undefined;
4350
4354
  }[];
4351
4355
  }, import("./research.ts").EntityResearchSchemaInput, z.core.$ZodTypeInternals<{
4352
4356
  acceleratorParticipation: {
@@ -4399,6 +4403,7 @@ export declare const EntityResolutionSchema: z.ZodObject<{
4399
4403
  batch?: string | null | undefined;
4400
4404
  id: string;
4401
4405
  program?: string | null | undefined;
4406
+ publicUrl?: string | null | undefined;
4402
4407
  status?: string | null | undefined;
4403
4408
  }[];
4404
4409
  detail: {
@@ -4446,6 +4451,8 @@ export declare const EntityResolutionSchema: z.ZodObject<{
4446
4451
  } | null | undefined;
4447
4452
  entityId: string;
4448
4453
  id: number;
4454
+ isCurrent?: boolean | undefined;
4455
+ isPrimary?: boolean | undefined;
4449
4456
  publicSource?: {
4450
4457
  lastFetchedAt?: string | null | undefined;
4451
4458
  publishedAt?: string | null | undefined;
@@ -4455,6 +4462,7 @@ export declare const EntityResolutionSchema: z.ZodObject<{
4455
4462
  text: string;
4456
4463
  textType: string;
4457
4464
  updatedAt?: string | null | undefined;
4465
+ visible?: boolean | undefined;
4458
4466
  }[];
4459
4467
  }, import("./research.ts").EntityResearchSchemaInput>>;
4460
4468
  sitemap: z.ZodObject<{
@@ -729,6 +729,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
729
729
  batch?: string | null | undefined;
730
730
  id: string;
731
731
  program?: string | null | undefined;
732
+ publicUrl?: string | null | undefined;
732
733
  status?: string | null | undefined;
733
734
  }[];
734
735
  detail: {
@@ -1498,6 +1499,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
1498
1499
  batch?: string | null | undefined;
1499
1500
  id: string;
1500
1501
  program?: string | null | undefined;
1502
+ publicUrl?: string | null | undefined;
1501
1503
  status?: string | null | undefined;
1502
1504
  }[];
1503
1505
  detail: {