@aventurevc/api-schemas 0.8.133 → 0.8.134

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 (216) hide show
  1. package/dist/address/address.d.ts +2 -14
  2. package/dist/address/association.d.ts +3 -1
  3. package/dist/agent/help-question.d.ts +3 -1
  4. package/dist/agent/help.d.ts +11 -69
  5. package/dist/api/key.d.ts +3 -1
  6. package/dist/auth/operation-authorization.d.ts +7 -21
  7. package/dist/auth/operation-filter.d.ts +5 -13
  8. package/dist/auth/operation.d.ts +3 -1
  9. package/dist/auth/permission-grant.d.ts +3 -1
  10. package/dist/auth/provider-catalog.d.ts +3 -1
  11. package/dist/billing/additional-usage-meter.d.ts +3 -1
  12. package/dist/billing/additional-usage.d.ts +5 -11
  13. package/dist/billing/catalog-additional-usage.d.ts +3 -1
  14. package/dist/billing/catalog-allowance.d.ts +3 -1
  15. package/dist/billing/catalog-credit-pack.d.ts +3 -1
  16. package/dist/billing/catalog-plan.d.ts +4 -1
  17. package/dist/billing/catalog-plan.js +2 -0
  18. package/dist/billing/catalog-tier.d.ts +5 -9
  19. package/dist/billing/catalog.d.ts +13 -53
  20. package/dist/billing/checkout-mutation.d.ts +3 -1
  21. package/dist/billing/checkout.d.ts +3 -1
  22. package/dist/billing/plan-change-mutation.d.ts +3 -1
  23. package/dist/billing/plan-change-preview.d.ts +3 -1
  24. package/dist/billing/plan-change.d.ts +3 -1
  25. package/dist/billing/portal.d.ts +3 -1
  26. package/dist/billing/subscription.d.ts +7 -157
  27. package/dist/blog/post.d.ts +3 -1
  28. package/dist/chart/bucket.d.ts +3 -1
  29. package/dist/classification/catalog-bucket.d.ts +5 -15
  30. package/dist/classification/catalog-category.d.ts +5 -15
  31. package/dist/classification/catalog.d.ts +7 -119
  32. package/dist/classification/classification.d.ts +3 -1
  33. package/dist/classification/inactive-tag-details.d.ts +3 -1
  34. package/dist/cli/authorization-mutation.d.ts +3 -1
  35. package/dist/cli/authorization-poll.d.ts +3 -1
  36. package/dist/cli/authorization-start.d.ts +3 -1
  37. package/dist/cli/authorization.d.ts +3 -1
  38. package/dist/cursor/slice-shared-search-list.d.ts +5 -13
  39. package/dist/decimal/range.d.ts +3 -1
  40. package/dist/domain/conflict-details.d.ts +10 -116
  41. package/dist/duplicate/create-review.d.ts +5 -23
  42. package/dist/employee/count.d.ts +2 -22
  43. package/dist/enrichment/batch.d.ts +3 -1
  44. package/dist/enrichment/enrichment.d.ts +3 -1
  45. package/dist/enrichment/prompt.d.ts +3 -1
  46. package/dist/entity/accelerator-participation.d.ts +7 -21
  47. package/dist/entity/acquisition-evidence.d.ts +3 -1
  48. package/dist/entity/acquisition.d.ts +13 -53
  49. package/dist/entity/brand.d.ts +11 -461
  50. package/dist/entity/classification-suggestion.d.ts +7 -29
  51. package/dist/entity/classification.d.ts +23 -141
  52. package/dist/entity/detail-batch.d.ts +3 -1
  53. package/dist/entity/detail.d.ts +238 -1984
  54. package/dist/entity/enrichment.d.ts +11 -465
  55. package/dist/entity/entity.d.ts +4 -20
  56. package/dist/entity/filter-choice.d.ts +3 -1
  57. package/dist/entity/filter-entry.d.ts +9 -41
  58. package/dist/entity/filter-headquarters-country.d.ts +5 -9
  59. package/dist/entity/filter-headquarters-option-set.d.ts +2 -14
  60. package/dist/entity/filter-headquarters-state-city.d.ts +3 -1
  61. package/dist/entity/filter-meta.d.ts +2 -14
  62. package/dist/entity/filter-option-set-meta.d.ts +2 -8
  63. package/dist/entity/filter-option-set.d.ts +9 -157
  64. package/dist/entity/filter-refined-filters.d.ts +7 -87
  65. package/dist/entity/filter-search-result.d.ts +3 -1
  66. package/dist/entity/filter-search.d.ts +27 -97
  67. package/dist/entity/filter-ui-meta.d.ts +2 -14
  68. package/dist/entity/filter.d.ts +24 -96
  69. package/dist/entity/fundraise-filter-criteria.d.ts +20 -80
  70. package/dist/entity/fundraise-investor-activity.d.ts +5 -9
  71. package/dist/entity/fundraise-investor-join.d.ts +3 -1
  72. package/dist/entity/fundraise-transaction-entity.d.ts +4 -20
  73. package/dist/entity/fundraise-transaction.d.ts +7 -21
  74. package/dist/entity/fundraise.d.ts +2 -10
  75. package/dist/entity/image.d.ts +3 -1
  76. package/dist/entity/investor-participation.d.ts +241 -1985
  77. package/dist/entity/list-filter.d.ts +27 -97
  78. package/dist/entity/list-research.d.ts +7 -127
  79. package/dist/entity/list.d.ts +133 -1013
  80. package/dist/entity/name-alias-entity-alias-type.d.ts +3 -1
  81. package/dist/entity/name-alias-person-alias-type.d.ts +3 -1
  82. package/dist/entity/natural-search.d.ts +29 -113
  83. package/dist/entity/person-association.d.ts +12 -118
  84. package/dist/entity/relationship-type-option.d.ts +3 -1
  85. package/dist/entity/relationship.d.ts +7 -21
  86. package/dist/entity/research-detail.d.ts +3 -1
  87. package/dist/entity/research-fact-value.d.ts +3 -1
  88. package/dist/entity/research.d.ts +7 -127
  89. package/dist/entity/resolution.d.ts +241 -1985
  90. package/dist/entity/similarity-context.d.ts +3 -1
  91. package/dist/entity/similarity-result.d.ts +7 -985
  92. package/dist/entity/similarity-summary.d.ts +11 -81
  93. package/dist/entity/tag.d.ts +2 -14
  94. package/dist/entity/text-bundle.d.ts +3 -1
  95. package/dist/entity/text.d.ts +3 -1
  96. package/dist/entity/type-alias.d.ts +3 -1
  97. package/dist/entity/type-group-membership.d.ts +3 -1
  98. package/dist/entity/url-link.d.ts +3 -1
  99. package/dist/entity/valuation-time-series-point.d.ts +3 -1
  100. package/dist/federated/natural-search.d.ts +24 -96
  101. package/dist/federated/search-provenance.d.ts +11 -35
  102. package/dist/federated/search-rejection.d.ts +3 -1
  103. package/dist/federated/search.d.ts +2419 -9225
  104. package/dist/fundraise/investment-evidence.d.ts +5 -175
  105. package/dist/github/repo.d.ts +3 -1
  106. package/dist/harness/run-create.d.ts +5 -13
  107. package/dist/harness/run-detail.d.ts +11 -41
  108. package/dist/harness/task-plan-step.d.ts +5 -11
  109. package/dist/harness/task-plan.d.ts +4 -44
  110. package/dist/harness/task-step.d.ts +3 -1
  111. package/dist/harness/task.d.ts +3 -1
  112. package/dist/help/citation.d.ts +3 -1
  113. package/dist/help/resolution.d.ts +6 -56
  114. package/dist/http/problem-detail.d.ts +15 -129
  115. package/dist/identification/candidate.d.ts +2 -22
  116. package/dist/identification/identification.d.ts +8 -88
  117. package/dist/int/range.d.ts +3 -1
  118. package/dist/investor/activity-filter.d.ts +10 -40
  119. package/dist/job/enqueue.d.ts +3 -1
  120. package/dist/link/search.d.ts +5 -6909
  121. package/dist/logo/accuracy-reference.d.ts +3 -1
  122. package/dist/logo/accuracy.d.ts +2 -8
  123. package/dist/lookup/job-mention.d.ts +15 -1127
  124. package/dist/lookup/job-mutation.d.ts +6 -13
  125. package/dist/lookup/job-mutation.js +2 -0
  126. package/dist/lookup/job.d.ts +17 -1421
  127. package/dist/lookup/mention.d.ts +3 -1
  128. package/dist/media/upload.d.ts +5 -9
  129. package/dist/mention/lookup.d.ts +5 -1289
  130. package/dist/natural/search-result.d.ts +149 -3685
  131. package/dist/natural/search.d.ts +3 -1
  132. package/dist/news/detail.d.ts +9 -71
  133. package/dist/news/entity-mention.d.ts +5 -23
  134. package/dist/news/feedback-acknowledgement.d.ts +3 -1
  135. package/dist/news/feedback.d.ts +3 -1
  136. package/dist/news/news.d.ts +3 -1
  137. package/dist/news/published-event.d.ts +5 -31
  138. package/dist/news/resolved-entity-link.d.ts +3 -1
  139. package/dist/news/resolved-person-link.d.ts +3 -1
  140. package/dist/news/source-url-conflict.d.ts +3 -1
  141. package/dist/news/subscription-arguments.d.ts +3 -1
  142. package/dist/news/subscription-delivery.d.ts +3 -1
  143. package/dist/news/subscription-detail.d.ts +5 -19
  144. package/dist/news/subscription-endpoint.d.ts +3 -1
  145. package/dist/news/subscription-grant.d.ts +3 -1
  146. package/dist/news/subscription-key.d.ts +7 -13
  147. package/dist/news/subscription-test-event.d.ts +3 -1
  148. package/dist/news/subscription.d.ts +7 -17
  149. package/dist/pagination/schemas.d.ts +7356 -16972
  150. package/dist/person/detail.d.ts +23 -479
  151. package/dist/person/enrichment.d.ts +7 -51
  152. package/dist/person/filter.d.ts +40 -160
  153. package/dist/person/graph-career-context.d.ts +17 -227
  154. package/dist/person/graph-co-investor.d.ts +9 -43
  155. package/dist/person/graph-member.d.ts +5 -9
  156. package/dist/person/graph-similar-entity.d.ts +9 -43
  157. package/dist/person/graph.d.ts +7 -477
  158. package/dist/person/image.d.ts +3 -1
  159. package/dist/person/invested-company.d.ts +7 -21
  160. package/dist/person/investment.d.ts +7 -87
  161. package/dist/person/investor-participation.d.ts +5 -663
  162. package/dist/person/list-array-filter.d.ts +6 -24
  163. package/dist/person/lookup-batch.d.ts +3 -1
  164. package/dist/person/natural-search-result.d.ts +10 -714
  165. package/dist/person/natural-search.d.ts +45 -177
  166. package/dist/person/person.d.ts +9 -29
  167. package/dist/person/search-interpretation.d.ts +47 -185
  168. package/dist/person/similarity-context.d.ts +3 -1
  169. package/dist/person/similarity-result.d.ts +19 -213
  170. package/dist/prose/violation.d.ts +3 -1
  171. package/dist/publication/facet.d.ts +3 -1
  172. package/dist/publication/publication.d.ts +3 -1
  173. package/dist/refinement/meta.d.ts +3 -1
  174. package/dist/research/allowance-usage.d.ts +23 -121
  175. package/dist/research/allowance.d.ts +3 -1
  176. package/dist/research/detail-type.d.ts +3 -1
  177. package/dist/research/finding.d.ts +3 -1
  178. package/dist/research/snippet-type.d.ts +3 -1
  179. package/dist/resolved/handle.d.ts +3 -1
  180. package/dist/search/answer-citation.d.ts +3 -1
  181. package/dist/search/answer-paragraph.d.ts +5 -11
  182. package/dist/search/answer.d.ts +4 -28
  183. package/dist/search/duplicate-candidate-score.d.ts +3 -1
  184. package/dist/search/hit.d.ts +3 -1
  185. package/dist/search/interpretation.d.ts +9 -247
  186. package/dist/search/investment.d.ts +5 -221
  187. package/dist/search/judgment.d.ts +7 -21
  188. package/dist/search/mode-execution.d.ts +3 -1
  189. package/dist/search/ordering-entity-filter-sortable.d.ts +5 -11
  190. package/dist/search/ordering-person-sort-field.d.ts +5 -11
  191. package/dist/search/passage.d.ts +3 -1
  192. package/dist/search/search.d.ts +3 -1
  193. package/dist/sec/company.d.ts +3 -1
  194. package/dist/shared/search-list.d.ts +3 -1
  195. package/dist/shared/search-mutation.d.ts +27 -97
  196. package/dist/shared/search.d.ts +7 -6921
  197. package/dist/slug/location.d.ts +3 -1
  198. package/dist/sort/order-entity-filter-sortable.d.ts +3 -1
  199. package/dist/sort/order-person-sort-field.d.ts +3 -1
  200. package/dist/source/document-list.d.ts +3 -1
  201. package/dist/stage/frequency.d.ts +3 -1
  202. package/dist/standardized/classification.d.ts +4 -15
  203. package/dist/strict/url-lookup-conflict.d.ts +3 -1
  204. package/dist/system/global-metrics.d.ts +3 -1
  205. package/dist/system/status.d.ts +5 -13
  206. package/dist/system/system-build-detail.d.ts +3 -1
  207. package/dist/system/system-build.d.ts +5 -17
  208. package/dist/text/type-option.d.ts +3 -1
  209. package/dist/unique/id-type-alias.d.ts +3 -1
  210. package/dist/unique/id.d.ts +3 -1
  211. package/dist/uptime/uptime.d.ts +3 -1
  212. package/dist/url/duplicate-conflict.d.ts +5 -15
  213. package/dist/url/duplicate-join.d.ts +3 -1
  214. package/dist/url/type-alias.d.ts +3 -1
  215. package/dist/web/search.d.ts +9 -75
  216. package/package.json +1 -1
@@ -26,6 +26,8 @@ declare const NaturalSearchSchemaDefinition: z.ZodObject<{
26
26
  }>, z.ZodString]>>>;
27
27
  }, z.core.$strip>;
28
28
  type NaturalSearchDefinition = z.infer<typeof NaturalSearchSchemaDefinition>;
29
+ export interface NaturalSearchSchemaInput extends z.input<typeof NaturalSearchSchemaDefinition> {
30
+ }
29
31
  /**
30
32
  * Plain-English search request. The server plans the query into the target domain filter plus sort, then runs that domain's canonical list engine.
31
33
  *
@@ -39,7 +41,7 @@ type NaturalSearchDefinition = z.infer<typeof NaturalSearchSchemaDefinition>;
39
41
  * @contractShape natural.search
40
42
  * @contractRole canonical
41
43
  */
42
- export declare const NaturalSearchSchema: z.ZodType<NaturalSearchDefinition, z.input<typeof NaturalSearchSchemaDefinition>>;
44
+ export declare const NaturalSearchSchema: z.ZodType<NaturalSearchDefinition, NaturalSearchSchemaInput>;
43
45
  export type NaturalSearch = z.infer<typeof NaturalSearchSchema>;
44
46
  export {};
45
47
  //# sourceMappingURL=search.d.ts.map
@@ -15,7 +15,7 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
15
15
  slug?: string | null | undefined;
16
16
  title: string;
17
17
  updatedAt?: string | null | undefined;
18
- }, {
18
+ }, import("./news.ts").NewsSchemaInput, z.core.$ZodTypeInternals<{
19
19
  author?: string | null | undefined;
20
20
  category?: string | null | undefined;
21
21
  createdAt?: string | null | undefined;
@@ -29,35 +29,7 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
29
29
  slug?: string | null | undefined;
30
30
  title: string;
31
31
  updatedAt?: string | null | undefined;
32
- }, z.core.$ZodTypeInternals<{
33
- author?: string | null | undefined;
34
- category?: string | null | undefined;
35
- createdAt?: string | null | undefined;
36
- excerpt?: string | null | undefined;
37
- externalNewsArticle?: boolean | null | undefined;
38
- id: number;
39
- newsImageThumbnail?: string | null | undefined;
40
- newsUrlOriginal?: string | null | undefined;
41
- publication?: string | null | undefined;
42
- publishedAt?: string | null | undefined;
43
- slug?: string | null | undefined;
44
- title: string;
45
- updatedAt?: string | null | undefined;
46
- }, {
47
- author?: string | null | undefined;
48
- category?: string | null | undefined;
49
- createdAt?: string | null | undefined;
50
- excerpt?: string | null | undefined;
51
- externalNewsArticle?: boolean | null | undefined;
52
- id: number;
53
- newsImageThumbnail?: string | null | undefined;
54
- newsUrlOriginal?: string | null | undefined;
55
- publication?: string | null | undefined;
56
- publishedAt?: string | null | undefined;
57
- slug?: string | null | undefined;
58
- title: string;
59
- updatedAt?: string | null | undefined;
60
- }>>;
32
+ }, import("./news.ts").NewsSchemaInput>>;
61
33
  entityMentionResolved: z.ZodArray<z.ZodType<{
62
34
  createdAt: string;
63
35
  entityId: string;
@@ -68,27 +40,7 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
68
40
  slug?: string | null | undefined;
69
41
  typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
70
42
  updatedAt: string;
71
- }, {
72
- createdAt: string;
73
- entityId: string;
74
- href?: string | null | undefined;
75
- internal: boolean;
76
- matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
77
- mention?: string | null | undefined;
78
- slug?: string | null | undefined;
79
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
80
- updatedAt: string;
81
- }, z.core.$ZodTypeInternals<{
82
- createdAt: string;
83
- entityId: string;
84
- href?: string | null | undefined;
85
- internal: boolean;
86
- matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
87
- mention?: string | null | undefined;
88
- slug?: string | null | undefined;
89
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
90
- updatedAt: string;
91
- }, {
43
+ }, import("./resolved-entity-link.ts").NewsResolvedEntityLinkSchemaInput, z.core.$ZodTypeInternals<{
92
44
  createdAt: string;
93
45
  entityId: string;
94
46
  href?: string | null | undefined;
@@ -98,7 +50,7 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
98
50
  slug?: string | null | undefined;
99
51
  typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
100
52
  updatedAt: string;
101
- }>>>;
53
+ }, import("./resolved-entity-link.ts").NewsResolvedEntityLinkSchemaInput>>>;
102
54
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
55
  linkedContent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104
56
  linkerCompleted: z.ZodOptional<z.ZodBoolean>;
@@ -110,23 +62,7 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
110
62
  personId: string;
111
63
  slug?: string | null | undefined;
112
64
  updatedAt: string;
113
- }, {
114
- createdAt: string;
115
- href?: string | null | undefined;
116
- matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
117
- mention?: string | null | undefined;
118
- personId: string;
119
- slug?: string | null | undefined;
120
- updatedAt: string;
121
- }, z.core.$ZodTypeInternals<{
122
- createdAt: string;
123
- href?: string | null | undefined;
124
- matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
125
- mention?: string | null | undefined;
126
- personId: string;
127
- slug?: string | null | undefined;
128
- updatedAt: string;
129
- }, {
65
+ }, import("./resolved-person-link.ts").NewsResolvedPersonLinkSchemaInput, z.core.$ZodTypeInternals<{
130
66
  createdAt: string;
131
67
  href?: string | null | undefined;
132
68
  matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
@@ -134,9 +70,11 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
134
70
  personId: string;
135
71
  slug?: string | null | undefined;
136
72
  updatedAt: string;
137
- }>>>;
73
+ }, import("./resolved-person-link.ts").NewsResolvedPersonLinkSchemaInput>>>;
138
74
  }, z.core.$strip>;
139
75
  type NewsDetailDefinition = z.infer<typeof NewsDetailSchemaDefinition>;
76
+ export interface NewsDetailSchemaInput extends z.input<typeof NewsDetailSchemaDefinition> {
77
+ }
140
78
  /**
141
79
  * Canonical news detail owner
142
80
  *
@@ -146,7 +84,7 @@ type NewsDetailDefinition = z.infer<typeof NewsDetailSchemaDefinition>;
146
84
  * @contractShape news.detail
147
85
  * @contractRole canonical
148
86
  */
149
- export declare const NewsDetailSchema: z.ZodType<NewsDetailDefinition, z.input<typeof NewsDetailSchemaDefinition>>;
87
+ export declare const NewsDetailSchema: z.ZodType<NewsDetailDefinition, NewsDetailSchemaInput>;
150
88
  export type NewsDetail = z.infer<typeof NewsDetailSchema>;
151
89
  export {};
152
90
  //# sourceMappingURL=detail.d.ts.map
@@ -10,7 +10,7 @@ declare const NewsEntityMentionSchemaDefinition: z.ZodObject<{
10
10
  slug?: string | null | undefined;
11
11
  typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
12
12
  updatedAt: string;
13
- }, {
13
+ }, import("./resolved-entity-link.ts").NewsResolvedEntityLinkSchemaInput, z.core.$ZodTypeInternals<{
14
14
  createdAt: string;
15
15
  entityId: string;
16
16
  href?: string | null | undefined;
@@ -20,30 +20,12 @@ declare const NewsEntityMentionSchemaDefinition: z.ZodObject<{
20
20
  slug?: string | null | undefined;
21
21
  typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
22
22
  updatedAt: string;
23
- }, z.core.$ZodTypeInternals<{
24
- createdAt: string;
25
- entityId: string;
26
- href?: string | null | undefined;
27
- internal: boolean;
28
- matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
29
- mention?: string | null | undefined;
30
- slug?: string | null | undefined;
31
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
32
- updatedAt: string;
33
- }, {
34
- createdAt: string;
35
- entityId: string;
36
- href?: string | null | undefined;
37
- internal: boolean;
38
- matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
39
- mention?: string | null | undefined;
40
- slug?: string | null | undefined;
41
- typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
42
- updatedAt: string;
43
- }>>>;
23
+ }, import("./resolved-entity-link.ts").NewsResolvedEntityLinkSchemaInput>>>;
44
24
  newsId: z.ZodInt;
45
25
  }, z.core.$strip>;
46
26
  type NewsEntityMentionDefinition = z.infer<typeof NewsEntityMentionSchemaDefinition>;
27
+ export interface NewsEntityMentionSchemaInput extends z.input<typeof NewsEntityMentionSchemaDefinition> {
28
+ }
47
29
  /**
48
30
  * Public entities one news article links to, in link order.
49
31
  *
@@ -58,7 +40,7 @@ type NewsEntityMentionDefinition = z.infer<typeof NewsEntityMentionSchemaDefinit
58
40
  * @contractShape news.entity-mention
59
41
  * @contractRole canonical
60
42
  */
61
- export declare const NewsEntityMentionSchema: z.ZodType<NewsEntityMentionDefinition, z.input<typeof NewsEntityMentionSchemaDefinition>>;
43
+ export declare const NewsEntityMentionSchema: z.ZodType<NewsEntityMentionDefinition, NewsEntityMentionSchemaInput>;
62
44
  export type NewsEntityMention = z.infer<typeof NewsEntityMentionSchema>;
63
45
  export {};
64
46
  //# sourceMappingURL=entity-mention.d.ts.map
@@ -8,6 +8,8 @@ declare const NewsFeedbackAcknowledgementSchemaDefinition: z.ZodObject<{
8
8
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  }, z.core.$strip>;
10
10
  type NewsFeedbackAcknowledgementDefinition = z.infer<typeof NewsFeedbackAcknowledgementSchemaDefinition>;
11
+ export interface NewsFeedbackAcknowledgementSchemaInput extends z.input<typeof NewsFeedbackAcknowledgementSchemaDefinition> {
12
+ }
11
13
  /**
12
14
  * Feedback acknowledgment for news articles - non-mutating response
13
15
  *
@@ -16,7 +18,7 @@ type NewsFeedbackAcknowledgementDefinition = z.infer<typeof NewsFeedbackAcknowle
16
18
  * @contractShape news.feedback-acknowledgement
17
19
  * @contractRole canonical
18
20
  */
19
- export declare const NewsFeedbackAcknowledgementSchema: z.ZodType<NewsFeedbackAcknowledgementDefinition, z.input<typeof NewsFeedbackAcknowledgementSchemaDefinition>>;
21
+ export declare const NewsFeedbackAcknowledgementSchema: z.ZodType<NewsFeedbackAcknowledgementDefinition, NewsFeedbackAcknowledgementSchemaInput>;
20
22
  export type NewsFeedbackAcknowledgement = z.infer<typeof NewsFeedbackAcknowledgementSchema>;
21
23
  export {};
22
24
  //# sourceMappingURL=feedback-acknowledgement.d.ts.map
@@ -6,6 +6,8 @@ declare const NewsFeedbackSchemaDefinition: z.ZodObject<{
6
6
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  }, z.core.$strip>;
8
8
  type NewsFeedbackDefinition = z.infer<typeof NewsFeedbackSchemaDefinition>;
9
+ export interface NewsFeedbackSchemaInput extends z.input<typeof NewsFeedbackSchemaDefinition> {
10
+ }
9
11
  /**
10
12
  * Feedback submission for a news article
11
13
  *
@@ -14,7 +16,7 @@ type NewsFeedbackDefinition = z.infer<typeof NewsFeedbackSchemaDefinition>;
14
16
  * @contractShape news.feedback
15
17
  * @contractRole canonical
16
18
  */
17
- export declare const NewsFeedbackSchema: z.ZodType<NewsFeedbackDefinition, z.input<typeof NewsFeedbackSchemaDefinition>>;
19
+ export declare const NewsFeedbackSchema: z.ZodType<NewsFeedbackDefinition, NewsFeedbackSchemaInput>;
18
20
  export type NewsFeedback = z.infer<typeof NewsFeedbackSchema>;
19
21
  export {};
20
22
  //# sourceMappingURL=feedback.d.ts.map
@@ -15,6 +15,8 @@ declare const NewsSchemaDefinition: z.ZodObject<{
15
15
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
16
16
  }, z.core.$strip>;
17
17
  type NewsDefinition = z.infer<typeof NewsSchemaDefinition>;
18
+ export interface NewsSchemaInput extends z.input<typeof NewsSchemaDefinition> {
19
+ }
18
20
  /**
19
21
  * Canonical news owner for list and core semantics
20
22
  *
@@ -45,7 +47,7 @@ type NewsDefinition = z.infer<typeof NewsSchemaDefinition>;
45
47
  * @contractShape news.news
46
48
  * @contractRole canonical
47
49
  */
48
- export declare const NewsSchema: z.ZodType<NewsDefinition, z.input<typeof NewsSchemaDefinition>>;
50
+ export declare const NewsSchema: z.ZodType<NewsDefinition, NewsSchemaInput>;
49
51
  export type News = z.infer<typeof NewsSchema>;
50
52
  export {};
51
53
  //# sourceMappingURL=news.d.ts.map
@@ -15,7 +15,7 @@ declare const NewsPublishedEventSchemaDefinition: z.ZodObject<{
15
15
  slug?: string | null | undefined;
16
16
  title: string;
17
17
  updatedAt?: string | null | undefined;
18
- }, {
18
+ }, import("./news.ts").NewsSchemaInput, z.core.$ZodTypeInternals<{
19
19
  author?: string | null | undefined;
20
20
  category?: string | null | undefined;
21
21
  createdAt?: string | null | undefined;
@@ -29,35 +29,7 @@ declare const NewsPublishedEventSchemaDefinition: z.ZodObject<{
29
29
  slug?: string | null | undefined;
30
30
  title: string;
31
31
  updatedAt?: string | null | undefined;
32
- }, z.core.$ZodTypeInternals<{
33
- author?: string | null | undefined;
34
- category?: string | null | undefined;
35
- createdAt?: string | null | undefined;
36
- excerpt?: string | null | undefined;
37
- externalNewsArticle?: boolean | null | undefined;
38
- id: number;
39
- newsImageThumbnail?: string | null | undefined;
40
- newsUrlOriginal?: string | null | undefined;
41
- publication?: string | null | undefined;
42
- publishedAt?: string | null | undefined;
43
- slug?: string | null | undefined;
44
- title: string;
45
- updatedAt?: string | null | undefined;
46
- }, {
47
- author?: string | null | undefined;
48
- category?: string | null | undefined;
49
- createdAt?: string | null | undefined;
50
- excerpt?: string | null | undefined;
51
- externalNewsArticle?: boolean | null | undefined;
52
- id: number;
53
- newsImageThumbnail?: string | null | undefined;
54
- newsUrlOriginal?: string | null | undefined;
55
- publication?: string | null | undefined;
56
- publishedAt?: string | null | undefined;
57
- slug?: string | null | undefined;
58
- title: string;
59
- updatedAt?: string | null | undefined;
60
- }>>;
32
+ }, import("./news.ts").NewsSchemaInput>>;
61
33
  eventId: z.ZodString;
62
34
  name: z.ZodEnum<{
63
35
  "entity.news.published": "entity.news.published";
@@ -65,6 +37,8 @@ declare const NewsPublishedEventSchemaDefinition: z.ZodObject<{
65
37
  timestamp: z.ZodISODateTime;
66
38
  }, z.core.$strip>;
67
39
  type NewsPublishedEventDefinition = z.infer<typeof NewsPublishedEventSchemaDefinition>;
40
+ export interface NewsPublishedEventSchemaInput extends z.input<typeof NewsPublishedEventSchemaDefinition> {
41
+ }
68
42
  /**
69
43
  * Webhook POST body for one news article newly linked to the subscribed entity.
70
44
  *
@@ -74,7 +48,7 @@ type NewsPublishedEventDefinition = z.infer<typeof NewsPublishedEventSchemaDefin
74
48
  * @contractShape news.published-event
75
49
  * @contractRole canonical
76
50
  */
77
- export declare const NewsPublishedEventSchema: z.ZodType<NewsPublishedEventDefinition, z.input<typeof NewsPublishedEventSchemaDefinition>>;
51
+ export declare const NewsPublishedEventSchema: z.ZodType<NewsPublishedEventDefinition, NewsPublishedEventSchemaInput>;
78
52
  export type NewsPublishedEvent = z.infer<typeof NewsPublishedEventSchema>;
79
53
  export {};
80
54
  //# sourceMappingURL=published-event.d.ts.map
@@ -26,6 +26,8 @@ declare const NewsResolvedEntityLinkSchemaDefinition: z.ZodObject<{
26
26
  updatedAt: z.ZodISODateTime;
27
27
  }, z.core.$strip>;
28
28
  type NewsResolvedEntityLinkDefinition = z.infer<typeof NewsResolvedEntityLinkSchemaDefinition>;
29
+ export interface NewsResolvedEntityLinkSchemaInput extends z.input<typeof NewsResolvedEntityLinkSchemaDefinition> {
30
+ }
29
31
  /**
30
32
  * Resolved entity mention in news content - hyperlink to an entity detected in article text
31
33
  *
@@ -43,7 +45,7 @@ type NewsResolvedEntityLinkDefinition = z.infer<typeof NewsResolvedEntityLinkSch
43
45
  * @contractShape news.resolved-entity-link
44
46
  * @contractRole canonical
45
47
  */
46
- export declare const NewsResolvedEntityLinkSchema: z.ZodType<NewsResolvedEntityLinkDefinition, z.input<typeof NewsResolvedEntityLinkSchemaDefinition>>;
48
+ export declare const NewsResolvedEntityLinkSchema: z.ZodType<NewsResolvedEntityLinkDefinition, NewsResolvedEntityLinkSchemaInput>;
47
49
  export type NewsResolvedEntityLink = z.infer<typeof NewsResolvedEntityLinkSchema>;
48
50
  export {};
49
51
  //# sourceMappingURL=resolved-entity-link.d.ts.map
@@ -14,6 +14,8 @@ declare const NewsResolvedPersonLinkSchemaDefinition: z.ZodObject<{
14
14
  updatedAt: z.ZodISODateTime;
15
15
  }, z.core.$strip>;
16
16
  type NewsResolvedPersonLinkDefinition = z.infer<typeof NewsResolvedPersonLinkSchemaDefinition>;
17
+ export interface NewsResolvedPersonLinkSchemaInput extends z.input<typeof NewsResolvedPersonLinkSchemaDefinition> {
18
+ }
17
19
  /**
18
20
  * Resolved person mention in news content - hyperlink to a person detected in article text
19
21
  *
@@ -24,7 +26,7 @@ type NewsResolvedPersonLinkDefinition = z.infer<typeof NewsResolvedPersonLinkSch
24
26
  * @contractShape news.resolved-person-link
25
27
  * @contractRole canonical
26
28
  */
27
- export declare const NewsResolvedPersonLinkSchema: z.ZodType<NewsResolvedPersonLinkDefinition, z.input<typeof NewsResolvedPersonLinkSchemaDefinition>>;
29
+ export declare const NewsResolvedPersonLinkSchema: z.ZodType<NewsResolvedPersonLinkDefinition, NewsResolvedPersonLinkSchemaInput>;
28
30
  export type NewsResolvedPersonLink = z.infer<typeof NewsResolvedPersonLinkSchema>;
29
31
  export {};
30
32
  //# sourceMappingURL=resolved-person-link.d.ts.map
@@ -5,6 +5,8 @@ declare const NewsSourceUrlConflictSchemaDefinition: z.ZodObject<{
5
5
  conflictingArticleTitle: z.ZodString;
6
6
  }, z.core.$strip>;
7
7
  type NewsSourceUrlConflictDefinition = z.infer<typeof NewsSourceUrlConflictSchemaDefinition>;
8
+ export interface NewsSourceUrlConflictSchemaInput extends z.input<typeof NewsSourceUrlConflictSchemaDefinition> {
9
+ }
8
10
  /**
9
11
  * Typed extension on ProblemDetail.details for HTTP 409 when a news mutation's publication + newsUrlOriginal pair already belongs to another article. The returned fields identify the existing article so the caller can read/update it instead of creating a duplicate.
10
12
  *
@@ -14,7 +16,7 @@ type NewsSourceUrlConflictDefinition = z.infer<typeof NewsSourceUrlConflictSchem
14
16
  * @contractShape news.source-url-conflict
15
17
  * @contractRole canonical
16
18
  */
17
- export declare const NewsSourceUrlConflictSchema: z.ZodType<NewsSourceUrlConflictDefinition, z.input<typeof NewsSourceUrlConflictSchemaDefinition>>;
19
+ export declare const NewsSourceUrlConflictSchema: z.ZodType<NewsSourceUrlConflictDefinition, NewsSourceUrlConflictSchemaInput>;
18
20
  export type NewsSourceUrlConflict = z.infer<typeof NewsSourceUrlConflictSchema>;
19
21
  export {};
20
22
  //# sourceMappingURL=source-url-conflict.d.ts.map
@@ -3,6 +3,8 @@ declare const NewsSubscriptionArgumentsSchemaDefinition: z.ZodObject<{
3
3
  entityId: z.ZodUUID;
4
4
  }, z.core.$strip>;
5
5
  type NewsSubscriptionArgumentsDefinition = z.infer<typeof NewsSubscriptionArgumentsSchemaDefinition>;
6
+ export interface NewsSubscriptionArgumentsSchemaInput extends z.input<typeof NewsSubscriptionArgumentsSchemaDefinition> {
7
+ }
6
8
  /**
7
9
  * Arguments of the entity.news.published event.
8
10
  *
@@ -15,7 +17,7 @@ type NewsSubscriptionArgumentsDefinition = z.infer<typeof NewsSubscriptionArgume
15
17
  * @contractShape news.subscription-arguments
16
18
  * @contractRole canonical
17
19
  */
18
- export declare const NewsSubscriptionArgumentsSchema: z.ZodType<NewsSubscriptionArgumentsDefinition, z.input<typeof NewsSubscriptionArgumentsSchemaDefinition>>;
20
+ export declare const NewsSubscriptionArgumentsSchema: z.ZodType<NewsSubscriptionArgumentsDefinition, NewsSubscriptionArgumentsSchemaInput>;
19
21
  export type NewsSubscriptionArguments = z.infer<typeof NewsSubscriptionArgumentsSchema>;
20
22
  export {};
21
23
  //# sourceMappingURL=subscription-arguments.d.ts.map
@@ -7,6 +7,8 @@ declare const NewsSubscriptionDeliverySchemaDefinition: z.ZodObject<{
7
7
  url: z.ZodString;
8
8
  }, z.core.$strip>;
9
9
  type NewsSubscriptionDeliveryDefinition = z.infer<typeof NewsSubscriptionDeliverySchemaDefinition>;
10
+ export interface NewsSubscriptionDeliverySchemaInput extends z.input<typeof NewsSubscriptionDeliverySchemaDefinition> {
11
+ }
10
12
  /**
11
13
  * Webhook delivery target and secret.
12
14
  *
@@ -16,7 +18,7 @@ type NewsSubscriptionDeliveryDefinition = z.infer<typeof NewsSubscriptionDeliver
16
18
  * @contractShape news.subscription-delivery
17
19
  * @contractRole canonical
18
20
  */
19
- export declare const NewsSubscriptionDeliverySchema: z.ZodType<NewsSubscriptionDeliveryDefinition, z.input<typeof NewsSubscriptionDeliverySchemaDefinition>>;
21
+ export declare const NewsSubscriptionDeliverySchema: z.ZodType<NewsSubscriptionDeliveryDefinition, NewsSubscriptionDeliverySchemaInput>;
20
22
  export type NewsSubscriptionDelivery = z.infer<typeof NewsSubscriptionDeliverySchema>;
21
23
  export {};
22
24
  //# sourceMappingURL=subscription-delivery.d.ts.map
@@ -21,7 +21,7 @@ declare const NewsSubscriptionDetailSchemaDefinition: z.ZodObject<{
21
21
  url: string;
22
22
  };
23
23
  name: "entity.news.published";
24
- }, {
24
+ }, import("./subscription-key.ts").NewsSubscriptionKeySchemaInput, z.core.$ZodTypeInternals<{
25
25
  arguments: {
26
26
  entityId: string;
27
27
  };
@@ -29,27 +29,13 @@ declare const NewsSubscriptionDetailSchemaDefinition: z.ZodObject<{
29
29
  url: string;
30
30
  };
31
31
  name: "entity.news.published";
32
- }, z.core.$ZodTypeInternals<{
33
- arguments: {
34
- entityId: string;
35
- };
36
- delivery: {
37
- url: string;
38
- };
39
- name: "entity.news.published";
40
- }, {
41
- arguments: {
42
- entityId: string;
43
- };
44
- delivery: {
45
- url: string;
46
- };
47
- name: "entity.news.published";
48
- }>>;
32
+ }, import("./subscription-key.ts").NewsSubscriptionKeySchemaInput>>;
49
33
  updatedAt: z.ZodISODateTime;
50
34
  verifiedAt: z.ZodISODateTime;
51
35
  }, z.core.$strip>;
52
36
  type NewsSubscriptionDetailDefinition = z.infer<typeof NewsSubscriptionDetailSchemaDefinition>;
37
+ export interface NewsSubscriptionDetailSchemaInput extends z.input<typeof NewsSubscriptionDetailSchemaDefinition> {
38
+ }
53
39
  /**
54
40
  * One of the caller's news subscriptions and its delivery state.
55
41
  *
@@ -58,7 +44,7 @@ type NewsSubscriptionDetailDefinition = z.infer<typeof NewsSubscriptionDetailSch
58
44
  * @contractShape news.subscription-detail
59
45
  * @contractRole canonical
60
46
  */
61
- export declare const NewsSubscriptionDetailSchema: z.ZodType<NewsSubscriptionDetailDefinition, z.input<typeof NewsSubscriptionDetailSchemaDefinition>>;
47
+ export declare const NewsSubscriptionDetailSchema: z.ZodType<NewsSubscriptionDetailDefinition, NewsSubscriptionDetailSchemaInput>;
62
48
  export type NewsSubscriptionDetail = z.infer<typeof NewsSubscriptionDetailSchema>;
63
49
  export {};
64
50
  //# sourceMappingURL=subscription-detail.d.ts.map
@@ -3,6 +3,8 @@ declare const NewsSubscriptionEndpointSchemaDefinition: z.ZodObject<{
3
3
  url: z.ZodString;
4
4
  }, z.core.$strip>;
5
5
  type NewsSubscriptionEndpointDefinition = z.infer<typeof NewsSubscriptionEndpointSchemaDefinition>;
6
+ export interface NewsSubscriptionEndpointSchemaInput extends z.input<typeof NewsSubscriptionEndpointSchemaDefinition> {
7
+ }
6
8
  /**
7
9
  * Webhook delivery target.
8
10
  *
@@ -13,7 +15,7 @@ type NewsSubscriptionEndpointDefinition = z.infer<typeof NewsSubscriptionEndpoin
13
15
  * @contractShape news.subscription-endpoint
14
16
  * @contractRole canonical
15
17
  */
16
- export declare const NewsSubscriptionEndpointSchema: z.ZodType<NewsSubscriptionEndpointDefinition, z.input<typeof NewsSubscriptionEndpointSchemaDefinition>>;
18
+ export declare const NewsSubscriptionEndpointSchema: z.ZodType<NewsSubscriptionEndpointDefinition, NewsSubscriptionEndpointSchemaInput>;
17
19
  export type NewsSubscriptionEndpoint = z.infer<typeof NewsSubscriptionEndpointSchema>;
18
20
  export {};
19
21
  //# sourceMappingURL=subscription-endpoint.d.ts.map
@@ -6,6 +6,8 @@ declare const NewsSubscriptionGrantSchemaDefinition: z.ZodObject<{
6
6
  truncated: z.ZodBoolean;
7
7
  }, z.core.$strip>;
8
8
  type NewsSubscriptionGrantDefinition = z.infer<typeof NewsSubscriptionGrantSchemaDefinition>;
9
+ export interface NewsSubscriptionGrantSchemaInput extends z.input<typeof NewsSubscriptionGrantSchemaDefinition> {
10
+ }
9
11
  /**
10
12
  * Granted news subscription.
11
13
  *
@@ -14,7 +16,7 @@ type NewsSubscriptionGrantDefinition = z.infer<typeof NewsSubscriptionGrantSchem
14
16
  * @contractShape news.subscription-grant
15
17
  * @contractRole canonical
16
18
  */
17
- export declare const NewsSubscriptionGrantSchema: z.ZodType<NewsSubscriptionGrantDefinition, z.input<typeof NewsSubscriptionGrantSchemaDefinition>>;
19
+ export declare const NewsSubscriptionGrantSchema: z.ZodType<NewsSubscriptionGrantDefinition, NewsSubscriptionGrantSchemaInput>;
18
20
  export type NewsSubscriptionGrant = z.infer<typeof NewsSubscriptionGrantSchema>;
19
21
  export {};
20
22
  //# sourceMappingURL=subscription-grant.d.ts.map
@@ -2,27 +2,21 @@ import { z } from "zod/v4";
2
2
  declare const NewsSubscriptionKeySchemaDefinition: z.ZodObject<{
3
3
  arguments: z.ZodType<{
4
4
  entityId: string;
5
- }, {
5
+ }, import("./subscription-arguments.ts").NewsSubscriptionArgumentsSchemaInput, z.core.$ZodTypeInternals<{
6
6
  entityId: string;
7
- }, z.core.$ZodTypeInternals<{
8
- entityId: string;
9
- }, {
10
- entityId: string;
11
- }>>;
7
+ }, import("./subscription-arguments.ts").NewsSubscriptionArgumentsSchemaInput>>;
12
8
  delivery: z.ZodType<{
13
9
  url: string;
14
- }, {
15
- url: string;
16
- }, z.core.$ZodTypeInternals<{
17
- url: string;
18
- }, {
10
+ }, import("./subscription-endpoint.ts").NewsSubscriptionEndpointSchemaInput, z.core.$ZodTypeInternals<{
19
11
  url: string;
20
- }>>;
12
+ }, import("./subscription-endpoint.ts").NewsSubscriptionEndpointSchemaInput>>;
21
13
  name: z.ZodEnum<{
22
14
  "entity.news.published": "entity.news.published";
23
15
  }>;
24
16
  }, z.core.$strip>;
25
17
  type NewsSubscriptionKeyDefinition = z.infer<typeof NewsSubscriptionKeySchemaDefinition>;
18
+ export interface NewsSubscriptionKeySchemaInput extends z.input<typeof NewsSubscriptionKeySchemaDefinition> {
19
+ }
26
20
  /**
27
21
  * Identifies one subscription to remove by its event name, arguments, and url.
28
22
  *
@@ -33,7 +27,7 @@ type NewsSubscriptionKeyDefinition = z.infer<typeof NewsSubscriptionKeySchemaDef
33
27
  * @contractShape news.subscription-key
34
28
  * @contractRole canonical
35
29
  */
36
- export declare const NewsSubscriptionKeySchema: z.ZodType<NewsSubscriptionKeyDefinition, z.input<typeof NewsSubscriptionKeySchemaDefinition>>;
30
+ export declare const NewsSubscriptionKeySchema: z.ZodType<NewsSubscriptionKeyDefinition, NewsSubscriptionKeySchemaInput>;
37
31
  export type NewsSubscriptionKey = z.infer<typeof NewsSubscriptionKeySchema>;
38
32
  export {};
39
33
  //# sourceMappingURL=subscription-key.d.ts.map
@@ -5,6 +5,8 @@ declare const NewsSubscriptionTestEventSchemaDefinition: z.ZodObject<{
5
5
  status: z.ZodInt;
6
6
  }, z.core.$strip>;
7
7
  type NewsSubscriptionTestEventDefinition = z.infer<typeof NewsSubscriptionTestEventSchemaDefinition>;
8
+ export interface NewsSubscriptionTestEventSchemaInput extends z.input<typeof NewsSubscriptionTestEventSchemaDefinition> {
9
+ }
8
10
  /**
9
11
  * The receiver's answer to one signed sample entity.news.published event.
10
12
  *
@@ -13,7 +15,7 @@ type NewsSubscriptionTestEventDefinition = z.infer<typeof NewsSubscriptionTestEv
13
15
  * @contractShape news.subscription-test-event
14
16
  * @contractRole canonical
15
17
  */
16
- export declare const NewsSubscriptionTestEventSchema: z.ZodType<NewsSubscriptionTestEventDefinition, z.input<typeof NewsSubscriptionTestEventSchemaDefinition>>;
18
+ export declare const NewsSubscriptionTestEventSchema: z.ZodType<NewsSubscriptionTestEventDefinition, NewsSubscriptionTestEventSchemaInput>;
17
19
  export type NewsSubscriptionTestEvent = z.infer<typeof NewsSubscriptionTestEventSchema>;
18
20
  export {};
19
21
  //# sourceMappingURL=subscription-test-event.d.ts.map
@@ -2,37 +2,27 @@ import { z } from "zod/v4";
2
2
  declare const NewsSubscriptionSchemaDefinition: z.ZodObject<{
3
3
  arguments: z.ZodType<{
4
4
  entityId: string;
5
- }, {
5
+ }, import("./subscription-arguments.ts").NewsSubscriptionArgumentsSchemaInput, z.core.$ZodTypeInternals<{
6
6
  entityId: string;
7
- }, z.core.$ZodTypeInternals<{
8
- entityId: string;
9
- }, {
10
- entityId: string;
11
- }>>;
7
+ }, import("./subscription-arguments.ts").NewsSubscriptionArgumentsSchemaInput>>;
12
8
  cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
9
  delivery: z.ZodType<{
14
10
  mode: "webhook";
15
11
  secret: string;
16
12
  url: string;
17
- }, {
18
- mode: "webhook";
19
- secret: string;
20
- url: string;
21
- }, z.core.$ZodTypeInternals<{
22
- mode: "webhook";
23
- secret: string;
24
- url: string;
25
- }, {
13
+ }, import("./subscription-delivery.ts").NewsSubscriptionDeliverySchemaInput, z.core.$ZodTypeInternals<{
26
14
  mode: "webhook";
27
15
  secret: string;
28
16
  url: string;
29
- }>>;
17
+ }, import("./subscription-delivery.ts").NewsSubscriptionDeliverySchemaInput>>;
30
18
  name: z.ZodEnum<{
31
19
  "entity.news.published": "entity.news.published";
32
20
  }>;
33
21
  ttlMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
22
  }, z.core.$strip>;
35
23
  type NewsSubscriptionDefinition = z.infer<typeof NewsSubscriptionSchemaDefinition>;
24
+ export interface NewsSubscriptionSchemaInput extends z.input<typeof NewsSubscriptionSchemaDefinition> {
25
+ }
36
26
  /**
37
27
  * Subscribe or refresh one webhook subscription to news newly linked to an entity. The same caller, delivery url, event name, and arguments always address the same subscription, so repeating the call refreshes it.
38
28
  *
@@ -41,7 +31,7 @@ type NewsSubscriptionDefinition = z.infer<typeof NewsSubscriptionSchemaDefinitio
41
31
  * @contractShape news.subscription
42
32
  * @contractRole canonical
43
33
  */
44
- export declare const NewsSubscriptionSchema: z.ZodType<NewsSubscriptionDefinition, z.input<typeof NewsSubscriptionSchemaDefinition>>;
34
+ export declare const NewsSubscriptionSchema: z.ZodType<NewsSubscriptionDefinition, NewsSubscriptionSchemaInput>;
45
35
  export type NewsSubscription = z.infer<typeof NewsSubscriptionSchema>;
46
36
  export {};
47
37
  //# sourceMappingURL=subscription.d.ts.map