@aventurevc/api-schemas 0.8.9 → 0.8.13

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 (117) hide show
  1. package/dist/address/address.d.ts +2 -0
  2. package/dist/address/address.js +2 -0
  3. package/dist/address/association-role.d.ts +2 -0
  4. package/dist/address/association-role.js +2 -0
  5. package/dist/address/association.d.ts +2 -0
  6. package/dist/address/association.js +2 -0
  7. package/dist/address/city.d.ts +2 -0
  8. package/dist/address/city.js +2 -0
  9. package/dist/address/country.d.ts +2 -0
  10. package/dist/address/country.js +2 -0
  11. package/dist/address/state.d.ts +2 -0
  12. package/dist/address/state.js +2 -0
  13. package/dist/billing/checkout-mutation.d.ts +5 -1
  14. package/dist/billing/checkout-mutation.js +5 -2
  15. package/dist/billing/checkout-ui-mode.d.ts +16 -0
  16. package/dist/billing/checkout-ui-mode.js +13 -0
  17. package/dist/billing/checkout.d.ts +4 -2
  18. package/dist/billing/checkout.js +8 -4
  19. package/dist/billing/payment-method.d.ts +16 -0
  20. package/dist/billing/payment-method.js +18 -0
  21. package/dist/billing/plan-change-mutation.d.ts +2 -0
  22. package/dist/billing/plan-change-mutation.js +3 -0
  23. package/dist/billing/plan-change-preview.d.ts +29 -0
  24. package/dist/billing/plan-change-preview.js +28 -0
  25. package/dist/billing/plan-change.d.ts +2 -0
  26. package/dist/billing/plan-change.js +4 -0
  27. package/dist/billing/plan-type.d.ts +1 -0
  28. package/dist/billing/plan-type.js +1 -0
  29. package/dist/billing/recurring-price.d.ts +2 -0
  30. package/dist/billing/recurring-price.js +2 -0
  31. package/dist/classification/classification.d.ts +2 -0
  32. package/dist/classification/classification.js +2 -0
  33. package/dist/content/embedding-match.d.ts +2 -0
  34. package/dist/content/embedding-match.js +2 -0
  35. package/dist/content/source-type.d.ts +2 -0
  36. package/dist/content/source-type.js +2 -0
  37. package/dist/entity/accelerator-participation.d.ts +2 -0
  38. package/dist/entity/accelerator-participation.js +2 -0
  39. package/dist/entity/alias-type.d.ts +2 -0
  40. package/dist/entity/alias-type.js +2 -0
  41. package/dist/entity/classification.d.ts +2 -0
  42. package/dist/entity/classification.js +2 -0
  43. package/dist/entity/enrichment.d.ts +2 -0
  44. package/dist/entity/enrichment.js +2 -0
  45. package/dist/entity/entity.d.ts +2 -0
  46. package/dist/entity/entity.js +2 -0
  47. package/dist/entity/funding-detail.d.ts +2 -0
  48. package/dist/entity/funding-detail.js +2 -0
  49. package/dist/entity/fundraise-transaction-entity.d.ts +2 -0
  50. package/dist/entity/fundraise-transaction-entity.js +2 -0
  51. package/dist/entity/fundraise-transaction.d.ts +2 -0
  52. package/dist/entity/fundraise-transaction.js +2 -0
  53. package/dist/entity/image.d.ts +2 -0
  54. package/dist/entity/image.js +2 -0
  55. package/dist/entity/list-research.d.ts +2 -0
  56. package/dist/entity/list-research.js +2 -0
  57. package/dist/entity/list.d.ts +3 -0
  58. package/dist/entity/list.js +3 -0
  59. package/dist/entity/name-alias-entity-alias-type.d.ts +2 -0
  60. package/dist/entity/name-alias-entity-alias-type.js +2 -0
  61. package/dist/entity/name-alias-person-alias-type.d.ts +2 -0
  62. package/dist/entity/name-alias-person-alias-type.js +2 -0
  63. package/dist/entity/research-detail.d.ts +2 -0
  64. package/dist/entity/research-detail.js +2 -0
  65. package/dist/entity/research-value-type.d.ts +2 -0
  66. package/dist/entity/research-value-type.js +2 -0
  67. package/dist/entity/sitemap.d.ts +2 -0
  68. package/dist/entity/sitemap.js +2 -0
  69. package/dist/entity/tag.d.ts +2 -0
  70. package/dist/entity/tag.js +2 -0
  71. package/dist/entity/text-bundle.d.ts +2 -0
  72. package/dist/entity/text-bundle.js +2 -0
  73. package/dist/entity/url-crawl-cdn-provider.d.ts +2 -0
  74. package/dist/entity/url-crawl-cdn-provider.js +2 -0
  75. package/dist/entity/url-crawl-render-mode.d.ts +2 -0
  76. package/dist/entity/url-crawl-render-mode.js +2 -0
  77. package/dist/entity/url-link.d.ts +2 -0
  78. package/dist/entity/url-link.js +2 -0
  79. package/dist/entity/url-type.d.ts +2 -0
  80. package/dist/entity/url-type.js +2 -0
  81. package/dist/funding/stage.d.ts +2 -0
  82. package/dist/funding/stage.js +2 -0
  83. package/dist/fundraise/data-confidence.d.ts +2 -0
  84. package/dist/fundraise/data-confidence.js +2 -0
  85. package/dist/fundraise/investment-attribution-type.d.ts +2 -0
  86. package/dist/fundraise/investment-attribution-type.js +2 -0
  87. package/dist/fundraise/investment-attribution.d.ts +2 -0
  88. package/dist/fundraise/investment-attribution.js +2 -0
  89. package/dist/identification/candidate.d.ts +1 -0
  90. package/dist/identification/candidate.js +1 -0
  91. package/dist/identification/identification.d.ts +1 -0
  92. package/dist/identification/identification.js +1 -0
  93. package/dist/lookup/job-mention.d.ts +1021 -1
  94. package/dist/lookup/job-mention.js +13 -5
  95. package/dist/lookup/job-mutation.d.ts +16 -8
  96. package/dist/lookup/job-mutation.js +12 -8
  97. package/dist/lookup/job.d.ts +1033 -7
  98. package/dist/mention/lookup.d.ts +1216 -0
  99. package/dist/mention/lookup.js +20 -0
  100. package/dist/openapi-component-manifest.js +17 -0
  101. package/dist/person/alias-type.d.ts +2 -0
  102. package/dist/person/alias-type.js +2 -0
  103. package/dist/person/image.d.ts +2 -0
  104. package/dist/person/image.js +2 -0
  105. package/dist/person/person.d.ts +3 -0
  106. package/dist/person/person.js +3 -0
  107. package/dist/research/derived-bucket.d.ts +2 -0
  108. package/dist/research/derived-bucket.js +2 -0
  109. package/dist/research/derived-range.d.ts +2 -0
  110. package/dist/research/derived-range.js +2 -0
  111. package/dist/round/label.d.ts +2 -0
  112. package/dist/round/label.js +2 -0
  113. package/dist/rss/extracted-mention.d.ts +25 -0
  114. package/dist/rss/extracted-mention.js +23 -0
  115. package/dist/standardized/classification.d.ts +2 -0
  116. package/dist/standardized/classification.js +2 -0
  117. package/package.json +1 -1
@@ -15,6 +15,7 @@ import { z } from "zod/v4";
15
15
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
16
16
  * @endpoint GET /v1/entities/{entityId}/person-investors
17
17
  * @endpoint GET /v1/entities/{entityId}/similar
18
+ * @endpoint GET /v1/lookup-jobs/{jobId}
18
19
  * @endpoint GET /v1/people/{personId}
19
20
  * @endpoint GET /v1/people/{personId}/addresses
20
21
  * @endpoint GET /v1/people/{personId}/addresses/{addressJoinId}
@@ -26,6 +27,7 @@ import { z } from "zod/v4";
26
27
  * @endpoint POST /v1/entities/lookup-matches
27
28
  * @endpoint POST /v1/entities/natural-search
28
29
  * @endpoint POST /v1/entities/search
30
+ * @endpoint POST /v1/lookup-mentions
29
31
  * @endpoint POST /v1/people/lookup-batch
30
32
  * @endpoint POST /v1/search
31
33
  * @endpoint POST /v1/search/all
@@ -20,6 +20,7 @@ import { AddressStateSchema } from "./state.js";
20
20
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
21
21
  * @endpoint GET /v1/entities/{entityId}/person-investors
22
22
  * @endpoint GET /v1/entities/{entityId}/similar
23
+ * @endpoint GET /v1/lookup-jobs/{jobId}
23
24
  * @endpoint GET /v1/people/{personId}
24
25
  * @endpoint GET /v1/people/{personId}/addresses
25
26
  * @endpoint GET /v1/people/{personId}/addresses/{addressJoinId}
@@ -31,6 +32,7 @@ import { AddressStateSchema } from "./state.js";
31
32
  * @endpoint POST /v1/entities/lookup-matches
32
33
  * @endpoint POST /v1/entities/natural-search
33
34
  * @endpoint POST /v1/entities/search
35
+ * @endpoint POST /v1/lookup-mentions
34
36
  * @endpoint POST /v1/people/lookup-batch
35
37
  * @endpoint POST /v1/search
36
38
  * @endpoint POST /v1/search/all
@@ -15,6 +15,7 @@ import { z } from "zod/v4";
15
15
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
16
16
  * @endpoint GET /v1/entities/{entityId}/person-investors
17
17
  * @endpoint GET /v1/entities/{entityId}/similar
18
+ * @endpoint GET /v1/lookup-jobs/{jobId}
18
19
  * @endpoint GET /v1/people/{personId}
19
20
  * @endpoint GET /v1/people/{personId}/addresses
20
21
  * @endpoint GET /v1/people/{personId}/addresses/{addressJoinId}
@@ -26,6 +27,7 @@ import { z } from "zod/v4";
26
27
  * @endpoint POST /v1/entities/lookup-matches
27
28
  * @endpoint POST /v1/entities/natural-search
28
29
  * @endpoint POST /v1/entities/search
30
+ * @endpoint POST /v1/lookup-mentions
29
31
  * @endpoint POST /v1/people/lookup-batch
30
32
  * @endpoint POST /v1/search
31
33
  * @endpoint POST /v1/search/all
@@ -16,6 +16,7 @@ import { z } from "zod/v4";
16
16
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
17
17
  * @endpoint GET /v1/entities/{entityId}/person-investors
18
18
  * @endpoint GET /v1/entities/{entityId}/similar
19
+ * @endpoint GET /v1/lookup-jobs/{jobId}
19
20
  * @endpoint GET /v1/people/{personId}
20
21
  * @endpoint GET /v1/people/{personId}/addresses
21
22
  * @endpoint GET /v1/people/{personId}/addresses/{addressJoinId}
@@ -27,6 +28,7 @@ import { z } from "zod/v4";
27
28
  * @endpoint POST /v1/entities/lookup-matches
28
29
  * @endpoint POST /v1/entities/natural-search
29
30
  * @endpoint POST /v1/entities/search
31
+ * @endpoint POST /v1/lookup-mentions
30
32
  * @endpoint POST /v1/people/lookup-batch
31
33
  * @endpoint POST /v1/search
32
34
  * @endpoint POST /v1/search/all
@@ -27,6 +27,7 @@ type AddressAssociationDefinition = z.infer<typeof AddressAssociationSchemaDefin
27
27
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
28
28
  * @endpoint GET /v1/entities/{entityId}/person-investors
29
29
  * @endpoint GET /v1/entities/{entityId}/similar
30
+ * @endpoint GET /v1/lookup-jobs/{jobId}
30
31
  * @endpoint GET /v1/people/{personId}
31
32
  * @endpoint GET /v1/people/{personId}/addresses
32
33
  * @endpoint GET /v1/people/{personId}/addresses/{addressJoinId}
@@ -38,6 +39,7 @@ type AddressAssociationDefinition = z.infer<typeof AddressAssociationSchemaDefin
38
39
  * @endpoint POST /v1/entities/lookup-matches
39
40
  * @endpoint POST /v1/entities/natural-search
40
41
  * @endpoint POST /v1/entities/search
42
+ * @endpoint POST /v1/lookup-mentions
41
43
  * @endpoint POST /v1/people/lookup-batch
42
44
  * @endpoint POST /v1/search
43
45
  * @endpoint POST /v1/search/all
@@ -29,6 +29,7 @@ const AddressAssociationSchemaDefinition = z.object({
29
29
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
30
30
  * @endpoint GET /v1/entities/{entityId}/person-investors
31
31
  * @endpoint GET /v1/entities/{entityId}/similar
32
+ * @endpoint GET /v1/lookup-jobs/{jobId}
32
33
  * @endpoint GET /v1/people/{personId}
33
34
  * @endpoint GET /v1/people/{personId}/addresses
34
35
  * @endpoint GET /v1/people/{personId}/addresses/{addressJoinId}
@@ -40,6 +41,7 @@ const AddressAssociationSchemaDefinition = z.object({
40
41
  * @endpoint POST /v1/entities/lookup-matches
41
42
  * @endpoint POST /v1/entities/natural-search
42
43
  * @endpoint POST /v1/entities/search
44
+ * @endpoint POST /v1/lookup-mentions
43
45
  * @endpoint POST /v1/people/lookup-batch
44
46
  * @endpoint POST /v1/search
45
47
  * @endpoint POST /v1/search/all
@@ -15,6 +15,7 @@ import { z } from "zod/v4";
15
15
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
16
16
  * @endpoint GET /v1/entities/{entityId}/person-investors
17
17
  * @endpoint GET /v1/entities/{entityId}/similar
18
+ * @endpoint GET /v1/lookup-jobs/{jobId}
18
19
  * @endpoint GET /v1/people/{personId}
19
20
  * @endpoint GET /v1/people/{personId}/addresses
20
21
  * @endpoint GET /v1/people/{personId}/addresses/{addressJoinId}
@@ -26,6 +27,7 @@ import { z } from "zod/v4";
26
27
  * @endpoint POST /v1/entities/lookup-matches
27
28
  * @endpoint POST /v1/entities/natural-search
28
29
  * @endpoint POST /v1/entities/search
30
+ * @endpoint POST /v1/lookup-mentions
29
31
  * @endpoint POST /v1/people/lookup-batch
30
32
  * @endpoint POST /v1/search
31
33
  * @endpoint POST /v1/search/all
@@ -16,6 +16,7 @@ import { z } from "zod/v4";
16
16
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
17
17
  * @endpoint GET /v1/entities/{entityId}/person-investors
18
18
  * @endpoint GET /v1/entities/{entityId}/similar
19
+ * @endpoint GET /v1/lookup-jobs/{jobId}
19
20
  * @endpoint GET /v1/people/{personId}
20
21
  * @endpoint GET /v1/people/{personId}/addresses
21
22
  * @endpoint GET /v1/people/{personId}/addresses/{addressJoinId}
@@ -27,6 +28,7 @@ import { z } from "zod/v4";
27
28
  * @endpoint POST /v1/entities/lookup-matches
28
29
  * @endpoint POST /v1/entities/natural-search
29
30
  * @endpoint POST /v1/entities/search
31
+ * @endpoint POST /v1/lookup-mentions
30
32
  * @endpoint POST /v1/people/lookup-batch
31
33
  * @endpoint POST /v1/search
32
34
  * @endpoint POST /v1/search/all
@@ -15,6 +15,7 @@ import { z } from "zod/v4";
15
15
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
16
16
  * @endpoint GET /v1/entities/{entityId}/person-investors
17
17
  * @endpoint GET /v1/entities/{entityId}/similar
18
+ * @endpoint GET /v1/lookup-jobs/{jobId}
18
19
  * @endpoint GET /v1/people/{personId}
19
20
  * @endpoint GET /v1/people/{personId}/addresses
20
21
  * @endpoint GET /v1/people/{personId}/addresses/{addressJoinId}
@@ -26,6 +27,7 @@ import { z } from "zod/v4";
26
27
  * @endpoint POST /v1/entities/lookup-matches
27
28
  * @endpoint POST /v1/entities/natural-search
28
29
  * @endpoint POST /v1/entities/search
30
+ * @endpoint POST /v1/lookup-mentions
29
31
  * @endpoint POST /v1/people/lookup-batch
30
32
  * @endpoint POST /v1/search
31
33
  * @endpoint POST /v1/search/all
@@ -16,6 +16,7 @@ import { z } from "zod/v4";
16
16
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
17
17
  * @endpoint GET /v1/entities/{entityId}/person-investors
18
18
  * @endpoint GET /v1/entities/{entityId}/similar
19
+ * @endpoint GET /v1/lookup-jobs/{jobId}
19
20
  * @endpoint GET /v1/people/{personId}
20
21
  * @endpoint GET /v1/people/{personId}/addresses
21
22
  * @endpoint GET /v1/people/{personId}/addresses/{addressJoinId}
@@ -27,6 +28,7 @@ import { z } from "zod/v4";
27
28
  * @endpoint POST /v1/entities/lookup-matches
28
29
  * @endpoint POST /v1/entities/natural-search
29
30
  * @endpoint POST /v1/entities/search
31
+ * @endpoint POST /v1/lookup-mentions
30
32
  * @endpoint POST /v1/people/lookup-batch
31
33
  * @endpoint POST /v1/search
32
34
  * @endpoint POST /v1/search/all
@@ -15,6 +15,7 @@ import { z } from "zod/v4";
15
15
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
16
16
  * @endpoint GET /v1/entities/{entityId}/person-investors
17
17
  * @endpoint GET /v1/entities/{entityId}/similar
18
+ * @endpoint GET /v1/lookup-jobs/{jobId}
18
19
  * @endpoint GET /v1/people/{personId}
19
20
  * @endpoint GET /v1/people/{personId}/addresses
20
21
  * @endpoint GET /v1/people/{personId}/addresses/{addressJoinId}
@@ -26,6 +27,7 @@ import { z } from "zod/v4";
26
27
  * @endpoint POST /v1/entities/lookup-matches
27
28
  * @endpoint POST /v1/entities/natural-search
28
29
  * @endpoint POST /v1/entities/search
30
+ * @endpoint POST /v1/lookup-mentions
29
31
  * @endpoint POST /v1/people/lookup-batch
30
32
  * @endpoint POST /v1/search
31
33
  * @endpoint POST /v1/search/all
@@ -16,6 +16,7 @@ import { z } from "zod/v4";
16
16
  * @endpoint GET /v1/entities/{entityId}/people/{associationId}
17
17
  * @endpoint GET /v1/entities/{entityId}/person-investors
18
18
  * @endpoint GET /v1/entities/{entityId}/similar
19
+ * @endpoint GET /v1/lookup-jobs/{jobId}
19
20
  * @endpoint GET /v1/people/{personId}
20
21
  * @endpoint GET /v1/people/{personId}/addresses
21
22
  * @endpoint GET /v1/people/{personId}/addresses/{addressJoinId}
@@ -27,6 +28,7 @@ import { z } from "zod/v4";
27
28
  * @endpoint POST /v1/entities/lookup-matches
28
29
  * @endpoint POST /v1/entities/natural-search
29
30
  * @endpoint POST /v1/entities/search
31
+ * @endpoint POST /v1/lookup-mentions
30
32
  * @endpoint POST /v1/people/lookup-batch
31
33
  * @endpoint POST /v1/search
32
34
  * @endpoint POST /v1/search/all
@@ -7,10 +7,14 @@ declare const BillingCheckoutMutationSchemaDefinition: z.ZodObject<{
7
7
  PRO_YEARLY: "PRO_YEARLY";
8
8
  PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
9
9
  }>;
10
+ uiMode: z.ZodOptional<z.ZodEnum<{
11
+ ELEMENTS: "ELEMENTS";
12
+ HOSTED_PAGE: "HOSTED_PAGE";
13
+ }>>;
10
14
  }, z.core.$strip>;
11
15
  type BillingCheckoutMutationDefinition = z.infer<typeof BillingCheckoutMutationSchemaDefinition>;
12
16
  /**
13
- * Caller-selected plan for server-owned hosted Checkout creation.
17
+ * Caller-selected plan and Checkout presentation for server-owned Checkout creation.
14
18
  *
15
19
  * @openapiSchema BillingCheckoutMutation
16
20
  * @endpoint POST /v1/billing/checkout-sessions
@@ -1,12 +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 { BillingCheckoutUiModeSchema } from "./checkout-ui-mode.js";
3
4
  import { BillingPlanTypeSchema } from "./plan-type.js";
4
5
  const BillingCheckoutMutationSchemaDefinition = z.object({
5
- /** AI Plus or AI Pro plan to start through hosted Checkout */
6
+ /** AI Plus or AI Pro plan to start through Checkout */
6
7
  plan: BillingPlanTypeSchema,
8
+ /** How the caller presents Checkout; HOSTED_PAGE when omitted */
9
+ uiMode: BillingCheckoutUiModeSchema.optional(),
7
10
  });
8
11
  /**
9
- * Caller-selected plan for server-owned hosted Checkout creation.
12
+ * Caller-selected plan and Checkout presentation for server-owned Checkout creation.
10
13
  *
11
14
  * @openapiSchema BillingCheckoutMutation
12
15
  * @endpoint POST /v1/billing/checkout-sessions
@@ -0,0 +1,16 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * HOSTED_PAGE redirects the browser to Stripe's page at url. ELEMENTS renders the Payment Element in the caller's page with Stripe.js initCheckout using clientSecret and publishableKey, then confirms there.
4
+ *
5
+ * @openapiSchema BillingCheckoutUiMode
6
+ * @endpoint POST /v1/billing/checkout-sessions
7
+ * @usedBySchema BillingCheckoutMutationSchema
8
+ * @contractShape billing.checkout-ui-mode
9
+ * @contractRole canonical
10
+ */
11
+ export declare const BillingCheckoutUiModeSchema: z.ZodEnum<{
12
+ ELEMENTS: "ELEMENTS";
13
+ HOSTED_PAGE: "HOSTED_PAGE";
14
+ }>;
15
+ export type BillingCheckoutUiMode = z.infer<typeof BillingCheckoutUiModeSchema>;
16
+ //# sourceMappingURL=checkout-ui-mode.d.ts.map
@@ -0,0 +1,13 @@
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
+ * HOSTED_PAGE redirects the browser to Stripe's page at url. ELEMENTS renders the Payment Element in the caller's page with Stripe.js initCheckout using clientSecret and publishableKey, then confirms there.
5
+ *
6
+ * @openapiSchema BillingCheckoutUiMode
7
+ * @endpoint POST /v1/billing/checkout-sessions
8
+ * @usedBySchema BillingCheckoutMutationSchema
9
+ * @contractShape billing.checkout-ui-mode
10
+ * @contractRole canonical
11
+ */
12
+ export const BillingCheckoutUiModeSchema = z.enum(["HOSTED_PAGE", "ELEMENTS"]);
13
+ //# sourceMappingURL=checkout-ui-mode.js.map
@@ -1,5 +1,6 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const BillingCheckoutSchemaDefinition: z.ZodObject<{
3
+ clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3
4
  expiresAt: z.ZodISODateTime;
4
5
  plan: z.ZodEnum<{
5
6
  PLUS_MONTHLY: "PLUS_MONTHLY";
@@ -8,11 +9,12 @@ declare const BillingCheckoutSchemaDefinition: z.ZodObject<{
8
9
  PRO_YEARLY: "PRO_YEARLY";
9
10
  PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
10
11
  }>;
11
- url: z.ZodString;
12
+ publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  }, z.core.$strip>;
13
15
  type BillingCheckoutDefinition = z.infer<typeof BillingCheckoutSchemaDefinition>;
14
16
  /**
15
- * Hosted Checkout destination and expiry without provider identifiers.
17
+ * Checkout Session destination or client secret and expiry without provider identifiers.
16
18
  *
17
19
  * @openapiSchema BillingCheckout
18
20
  * @endpoint POST /v1/billing/checkout-sessions
@@ -2,14 +2,18 @@
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
+ /** Checkout Session client secret for Stripe.js initCheckout; set for ELEMENTS */
6
+ clientSecret: z.string().nullish(),
7
+ /** When the Checkout Session stops accepting payment */
6
8
  expiresAt: z.iso.datetime({ offset: true }),
7
9
  plan: BillingPlanTypeSchema,
8
- /** Hosted Checkout page to open in a browser to pay */
9
- url: z.string(),
10
+ /** Stripe publishable key that loads Stripe.js; set for ELEMENTS */
11
+ publishableKey: z.string().nullish(),
12
+ /** Hosted Checkout page to open in a browser; set for HOSTED_PAGE */
13
+ url: z.string().nullish(),
10
14
  });
11
15
  /**
12
- * Hosted Checkout destination and expiry without provider identifiers.
16
+ * Checkout Session destination or client secret and expiry without provider identifiers.
13
17
  *
14
18
  * @openapiSchema BillingCheckout
15
19
  * @endpoint POST /v1/billing/checkout-sessions
@@ -0,0 +1,16 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Card on file that pays the subscription.
4
+ *
5
+ * @openapiSchema BillingPaymentMethod
6
+ * @endpoint POST /v1/billing/plan-change-previews
7
+ * @usedBySchema BillingPlanChangePreviewSchema
8
+ * @contractShape billing.payment-method
9
+ * @contractRole canonical
10
+ */
11
+ export declare const BillingPaymentMethodSchema: z.ZodObject<{
12
+ brand: z.ZodString;
13
+ last4: z.ZodString;
14
+ }, z.core.$strip>;
15
+ export type BillingPaymentMethod = z.infer<typeof BillingPaymentMethodSchema>;
16
+ //# sourceMappingURL=payment-method.d.ts.map
@@ -0,0 +1,18 @@
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
+ * Card on file that pays the subscription.
5
+ *
6
+ * @openapiSchema BillingPaymentMethod
7
+ * @endpoint POST /v1/billing/plan-change-previews
8
+ * @usedBySchema BillingPlanChangePreviewSchema
9
+ * @contractShape billing.payment-method
10
+ * @contractRole canonical
11
+ */
12
+ export const BillingPaymentMethodSchema = z.object({
13
+ /** Card brand as Stripe reports it */
14
+ brand: z.string(),
15
+ /** Last four digits of the card number */
16
+ last4: z.string(),
17
+ });
18
+ //# sourceMappingURL=payment-method.js.map
@@ -7,12 +7,14 @@ declare const BillingPlanChangeMutationSchemaDefinition: z.ZodObject<{
7
7
  PRO_YEARLY: "PRO_YEARLY";
8
8
  PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
9
9
  }>;
10
+ prorationDate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
11
  }, z.core.$strip>;
11
12
  type BillingPlanChangeMutationDefinition = z.infer<typeof BillingPlanChangeMutationSchemaDefinition>;
12
13
  /**
13
14
  * Caller-selected plan for changing a continuing AI Plus or AI Pro subscription.
14
15
  *
15
16
  * @openapiSchema BillingPlanChangeMutation
17
+ * @endpoint POST /v1/billing/plan-change-previews
16
18
  * @endpoint POST /v1/billing/plan-changes
17
19
  * @contractShape billing.plan-change-mutation
18
20
  * @contractRole canonical
@@ -4,11 +4,14 @@ import { BillingPlanTypeSchema } from "./plan-type.js";
4
4
  const BillingPlanChangeMutationSchemaDefinition = z.object({
5
5
  /** AI Plus or AI Pro plan to move to; the current plan cancels a scheduled change */
6
6
  plan: BillingPlanTypeSchema,
7
+ /** Unix epoch-second timestamp from an upgrade preview that pins its prorated amount on confirmation; omit it when no upgrade preview applies */
8
+ prorationDate: z.number().int().nullish(),
7
9
  });
8
10
  /**
9
11
  * Caller-selected plan for changing a continuing AI Plus or AI Pro subscription.
10
12
  *
11
13
  * @openapiSchema BillingPlanChangeMutation
14
+ * @endpoint POST /v1/billing/plan-change-previews
12
15
  * @endpoint POST /v1/billing/plan-changes
13
16
  * @contractShape billing.plan-change-mutation
14
17
  * @contractRole canonical
@@ -0,0 +1,29 @@
1
+ import { z } from "zod/v4";
2
+ declare const BillingPlanChangePreviewSchemaDefinition: z.ZodObject<{
3
+ amountDue: z.ZodNumber;
4
+ currency: z.ZodString;
5
+ effectiveAt: z.ZodISODateTime;
6
+ paymentMethod: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7
+ brand: z.ZodString;
8
+ last4: z.ZodString;
9
+ }, z.core.$strip>>>;
10
+ prorationDate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ recurringPrice: z.ZodObject<{
12
+ cadence: z.ZodString;
13
+ currency: z.ZodString;
14
+ unitAmount: z.ZodNumber;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>;
17
+ type BillingPlanChangePreviewDefinition = z.infer<typeof BillingPlanChangePreviewSchemaDefinition>;
18
+ /**
19
+ * Preview of POST /v1/billing/plan-changes for the same plan: the amount charged on confirmation, when the plan takes effect, the renewal price after it, and the card that pays.
20
+ *
21
+ * @openapiSchema BillingPlanChangePreview
22
+ * @endpoint POST /v1/billing/plan-change-previews
23
+ * @contractShape billing.plan-change-preview
24
+ * @contractRole canonical
25
+ */
26
+ export declare const BillingPlanChangePreviewSchema: z.ZodType<BillingPlanChangePreviewDefinition>;
27
+ export type BillingPlanChangePreview = z.infer<typeof BillingPlanChangePreviewSchema>;
28
+ export {};
29
+ //# sourceMappingURL=plan-change-preview.d.ts.map
@@ -0,0 +1,28 @@
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 { BillingPaymentMethodSchema } from "./payment-method.js";
4
+ import { BillingRecurringPriceSchema } from "./recurring-price.js";
5
+ const BillingPlanChangePreviewSchemaDefinition = z.object({
6
+ /** Amount charged on confirmation in the currency's minor unit, after credit for unused time; 0 when the change waits for the period end */
7
+ amountDue: z.number().int(),
8
+ /** ISO 4217 currency code. */
9
+ currency: z.string(),
10
+ /** When the plan would take effect: now, or the current period end */
11
+ effectiveAt: z.iso.datetime({ offset: true }),
12
+ /** Card Stripe charges; absent when no card is on file */
13
+ paymentMethod: BillingPaymentMethodSchema.nullish(),
14
+ /** Unix epoch-second timestamp to send on upgrade confirmation so Stripe charges this previewed proration; absent when the change does not prorate now */
15
+ prorationDate: z.number().int().nullish(),
16
+ /** Recurring charge after the change */
17
+ recurringPrice: BillingRecurringPriceSchema,
18
+ });
19
+ /**
20
+ * Preview of POST /v1/billing/plan-changes for the same plan: the amount charged on confirmation, when the plan takes effect, the renewal price after it, and the card that pays.
21
+ *
22
+ * @openapiSchema BillingPlanChangePreview
23
+ * @endpoint POST /v1/billing/plan-change-previews
24
+ * @contractShape billing.plan-change-preview
25
+ * @contractRole canonical
26
+ */
27
+ export const BillingPlanChangePreviewSchema = BillingPlanChangePreviewSchemaDefinition;
28
+ //# sourceMappingURL=plan-change-preview.js.map
@@ -1,6 +1,7 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const BillingPlanChangeSchemaDefinition: z.ZodObject<{
3
3
  effectiveAt: z.ZodISODateTime;
4
+ paymentClientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
5
  paymentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
6
  plan: z.ZodEnum<{
6
7
  PLUS_MONTHLY: "PLUS_MONTHLY";
@@ -9,6 +10,7 @@ declare const BillingPlanChangeSchemaDefinition: z.ZodObject<{
9
10
  PRO_YEARLY: "PRO_YEARLY";
10
11
  PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
11
12
  }>;
13
+ publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  }, z.core.$strip>;
13
15
  type BillingPlanChangeDefinition = z.infer<typeof BillingPlanChangeSchemaDefinition>;
14
16
  /**
@@ -4,10 +4,14 @@ import { BillingPlanTypeSchema } from "./plan-type.js";
4
4
  const BillingPlanChangeSchemaDefinition = z.object({
5
5
  /** When the plan takes effect: now, or the current period end */
6
6
  effectiveAt: z.iso.datetime({ offset: true }),
7
+ /** PaymentIntent client secret of the same pending invoice, for Stripe.js to complete authentication or payment in the page; set exactly when paymentUrl is. */
8
+ paymentClientSecret: z.string().nullish(),
7
9
  /** Hosted invoice to pay when the upgrade's prorated charge needs the customer; the upgrade applies only after it is paid. Absent when no payment is pending. */
8
10
  paymentUrl: z.string().nullish(),
9
11
  /** Plan the subscription moves to */
10
12
  plan: BillingPlanTypeSchema,
13
+ /** Stripe publishable key for Stripe.js; set with paymentClientSecret */
14
+ publishableKey: z.string().nullish(),
11
15
  });
12
16
  /**
13
17
  * Plan change outcome: an upgrade applies now with a prorated invoice, a downgrade waits for the current period end.
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/billing/plans
7
7
  * @endpoint GET /v1/billing/subscription
8
8
  * @endpoint POST /v1/billing/checkout-sessions
9
+ * @endpoint POST /v1/billing/plan-change-previews
9
10
  * @endpoint POST /v1/billing/plan-changes
10
11
  * @usedBySchema BillingCatalogPlanSchema
11
12
  * @usedBySchema BillingCheckoutMutationSchema
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
7
7
  * @endpoint GET /v1/billing/plans
8
8
  * @endpoint GET /v1/billing/subscription
9
9
  * @endpoint POST /v1/billing/checkout-sessions
10
+ * @endpoint POST /v1/billing/plan-change-previews
10
11
  * @endpoint POST /v1/billing/plan-changes
11
12
  * @usedBySchema BillingCatalogPlanSchema
12
13
  * @usedBySchema BillingCheckoutMutationSchema
@@ -2,6 +2,8 @@ import { z } from "zod/v4";
2
2
  /**
3
3
  * @openapiSchema BillingRecurringPrice
4
4
  * @endpoint GET /v1/billing/subscription
5
+ * @endpoint POST /v1/billing/plan-change-previews
6
+ * @usedBySchema BillingPlanChangePreviewSchema
5
7
  * @usedBySchema BillingSubscriptionSchema
6
8
  * @contractShape billing.recurring-price
7
9
  * @contractRole canonical
@@ -3,6 +3,8 @@ import { z } from "zod/v4";
3
3
  /**
4
4
  * @openapiSchema BillingRecurringPrice
5
5
  * @endpoint GET /v1/billing/subscription
6
+ * @endpoint POST /v1/billing/plan-change-previews
7
+ * @usedBySchema BillingPlanChangePreviewSchema
6
8
  * @usedBySchema BillingSubscriptionSchema
7
9
  * @contractShape billing.recurring-price
8
10
  * @contractRole canonical
@@ -19,10 +19,12 @@ type ClassificationDefinition = z.infer<typeof ClassificationSchemaDefinition>;
19
19
  * @endpoint GET /v1/entities/{entityId}/classifications/suggestions
20
20
  * @endpoint GET /v1/entities/{entityId}/investors
21
21
  * @endpoint GET /v1/entities/{entityId}/similar
22
+ * @endpoint GET /v1/lookup-jobs/{jobId}
22
23
  * @endpoint POST /v1/entities/lookup-batch
23
24
  * @endpoint POST /v1/entities/lookup-matches
24
25
  * @endpoint POST /v1/entities/natural-search
25
26
  * @endpoint POST /v1/entities/search
27
+ * @endpoint POST /v1/lookup-mentions
26
28
  * @endpoint POST /v1/search
27
29
  * @endpoint POST /v1/search/all
28
30
  * @endpoint POST /v1/search/natural/entities
@@ -20,10 +20,12 @@ const ClassificationSchemaDefinition = z.object({
20
20
  * @endpoint GET /v1/entities/{entityId}/classifications/suggestions
21
21
  * @endpoint GET /v1/entities/{entityId}/investors
22
22
  * @endpoint GET /v1/entities/{entityId}/similar
23
+ * @endpoint GET /v1/lookup-jobs/{jobId}
23
24
  * @endpoint POST /v1/entities/lookup-batch
24
25
  * @endpoint POST /v1/entities/lookup-matches
25
26
  * @endpoint POST /v1/entities/natural-search
26
27
  * @endpoint POST /v1/entities/search
28
+ * @endpoint POST /v1/lookup-mentions
27
29
  * @endpoint POST /v1/search
28
30
  * @endpoint POST /v1/search/all
29
31
  * @endpoint POST /v1/search/natural/entities
@@ -12,12 +12,14 @@ import { z } from "zod/v4";
12
12
  * @endpoint GET /v1/entities/{entityId}/investors
13
13
  * @endpoint GET /v1/entities/{entityId}/person-investors
14
14
  * @endpoint GET /v1/entities/{entityId}/similar
15
+ * @endpoint GET /v1/lookup-jobs/{jobId}
15
16
  * @endpoint GET /v1/people/{personId}
16
17
  * @endpoint GET /v1/people/{personId}/similar
17
18
  * @endpoint POST /v1/entities/lookup-batch
18
19
  * @endpoint POST /v1/entities/lookup-matches
19
20
  * @endpoint POST /v1/entities/natural-search
20
21
  * @endpoint POST /v1/entities/search
22
+ * @endpoint POST /v1/lookup-mentions
21
23
  * @endpoint POST /v1/people/lookup-batch
22
24
  * @endpoint POST /v1/people/natural-search
23
25
  * @endpoint POST /v1/people/search
@@ -14,12 +14,14 @@ import { ContentSourceTypeSchema } from "./source-type.js";
14
14
  * @endpoint GET /v1/entities/{entityId}/investors
15
15
  * @endpoint GET /v1/entities/{entityId}/person-investors
16
16
  * @endpoint GET /v1/entities/{entityId}/similar
17
+ * @endpoint GET /v1/lookup-jobs/{jobId}
17
18
  * @endpoint GET /v1/people/{personId}
18
19
  * @endpoint GET /v1/people/{personId}/similar
19
20
  * @endpoint POST /v1/entities/lookup-batch
20
21
  * @endpoint POST /v1/entities/lookup-matches
21
22
  * @endpoint POST /v1/entities/natural-search
22
23
  * @endpoint POST /v1/entities/search
24
+ * @endpoint POST /v1/lookup-mentions
23
25
  * @endpoint POST /v1/people/lookup-batch
24
26
  * @endpoint POST /v1/people/natural-search
25
27
  * @endpoint POST /v1/people/search
@@ -12,12 +12,14 @@ import { z } from "zod/v4";
12
12
  * @endpoint GET /v1/entities/{entityId}/investors
13
13
  * @endpoint GET /v1/entities/{entityId}/person-investors
14
14
  * @endpoint GET /v1/entities/{entityId}/similar
15
+ * @endpoint GET /v1/lookup-jobs/{jobId}
15
16
  * @endpoint GET /v1/people/{personId}
16
17
  * @endpoint GET /v1/people/{personId}/similar
17
18
  * @endpoint POST /v1/entities/lookup-batch
18
19
  * @endpoint POST /v1/entities/lookup-matches
19
20
  * @endpoint POST /v1/entities/natural-search
20
21
  * @endpoint POST /v1/entities/search
22
+ * @endpoint POST /v1/lookup-mentions
21
23
  * @endpoint POST /v1/people/lookup-batch
22
24
  * @endpoint POST /v1/people/natural-search
23
25
  * @endpoint POST /v1/people/search
@@ -13,12 +13,14 @@ import { z } from "zod/v4";
13
13
  * @endpoint GET /v1/entities/{entityId}/investors
14
14
  * @endpoint GET /v1/entities/{entityId}/person-investors
15
15
  * @endpoint GET /v1/entities/{entityId}/similar
16
+ * @endpoint GET /v1/lookup-jobs/{jobId}
16
17
  * @endpoint GET /v1/people/{personId}
17
18
  * @endpoint GET /v1/people/{personId}/similar
18
19
  * @endpoint POST /v1/entities/lookup-batch
19
20
  * @endpoint POST /v1/entities/lookup-matches
20
21
  * @endpoint POST /v1/entities/natural-search
21
22
  * @endpoint POST /v1/entities/search
23
+ * @endpoint POST /v1/lookup-mentions
22
24
  * @endpoint POST /v1/people/lookup-batch
23
25
  * @endpoint POST /v1/people/natural-search
24
26
  * @endpoint POST /v1/people/search
@@ -69,10 +69,12 @@ type EntityAcceleratorParticipationDefinition = z.infer<typeof EntityAccelerator
69
69
  * @endpoint GET /v1/entities/{entityId}/investors
70
70
  * @endpoint GET /v1/entities/{entityId}/research
71
71
  * @endpoint GET /v1/entities/{entityId}/similar
72
+ * @endpoint GET /v1/lookup-jobs/{jobId}
72
73
  * @endpoint POST /v1/entities/lookup-batch
73
74
  * @endpoint POST /v1/entities/lookup-matches
74
75
  * @endpoint POST /v1/entities/natural-search
75
76
  * @endpoint POST /v1/entities/search
77
+ * @endpoint POST /v1/lookup-mentions
76
78
  * @endpoint POST /v1/search
77
79
  * @endpoint POST /v1/search/all
78
80
  * @endpoint POST /v1/search/natural/entities