@invinite-org/data-api-client 0.10.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/.openapi-generator/FILES +77 -20
  2. package/README.md +32 -2
  3. package/dist/apis/EarningsCallsApi.d.ts +24 -2
  4. package/dist/apis/EarningsCallsApi.js +27 -3
  5. package/dist/apis/IPOsApi.d.ts +11 -2
  6. package/dist/apis/IPOsApi.js +13 -3
  7. package/dist/apis/SECApi.d.ts +840 -0
  8. package/dist/apis/SECApi.js +1959 -0
  9. package/dist/apis/index.d.ts +1 -1
  10. package/dist/apis/index.js +1 -1
  11. package/dist/esm/apis/EarningsCallsApi.d.ts +24 -2
  12. package/dist/esm/apis/EarningsCallsApi.js +26 -2
  13. package/dist/esm/apis/IPOsApi.d.ts +11 -2
  14. package/dist/esm/apis/IPOsApi.js +12 -2
  15. package/dist/esm/apis/SECApi.d.ts +840 -0
  16. package/dist/esm/apis/SECApi.js +1955 -0
  17. package/dist/esm/apis/index.d.ts +1 -1
  18. package/dist/esm/apis/index.js +1 -1
  19. package/dist/esm/models/EarningsCallsCalendar200ResponseEventsInner.d.ts +7 -0
  20. package/dist/esm/models/EarningsCallsCalendar200ResponseEventsInner.js +3 -0
  21. package/dist/esm/models/EarningsCallsCalendar200ResponseEventsInnerCalendar.d.ts +95 -0
  22. package/dist/esm/models/EarningsCallsCalendar200ResponseEventsInnerCalendar.js +95 -0
  23. package/dist/esm/models/EarningsCallsCalendar200ResponseEventsInnerCalendarCall.d.ts +102 -0
  24. package/dist/esm/models/EarningsCallsCalendar200ResponseEventsInnerCalendarCall.js +100 -0
  25. package/dist/esm/models/EarningsCallsCalendar200ResponseEventsInnerCalendarCallSource.d.ts +56 -0
  26. package/dist/esm/models/{SecFilingsSearch200ResponseSourcesInner.js → EarningsCallsCalendar200ResponseEventsInnerCalendarCallSource.js} +23 -27
  27. package/dist/esm/models/EarningsCallsCalendar200ResponseEventsInnerCalendarReport.d.ts +69 -0
  28. package/dist/esm/models/EarningsCallsCalendar200ResponseEventsInnerCalendarReport.js +72 -0
  29. package/{src/models/SecFilingsAvailableFormTypes200Response.ts → dist/esm/models/EarningsCallsCalendar200ResponseEventsInnerCalendarReportSource.d.ts} +26 -48
  30. package/dist/esm/models/{SecFilingsSections200ResponseCompaniesInner.js → EarningsCallsCalendar200ResponseEventsInnerCalendarReportSource.js} +17 -18
  31. package/dist/esm/models/EarningsCallsTranscript200Response.d.ts +3 -3
  32. package/dist/esm/models/EarningsCallsTranscript200Response.js +3 -3
  33. package/dist/esm/models/EarningsCallsTranscript200ResponseEvent.d.ts +233 -0
  34. package/dist/esm/models/{SecFilingsSections200ResponseCompaniesInnerSectionsInner.js → EarningsCallsTranscript200ResponseEvent.js} +136 -47
  35. package/dist/esm/models/IposRegistrationsList200ResponseRegistrationsInner.d.ts +7 -0
  36. package/dist/esm/models/IposRegistrationsList200ResponseRegistrationsInner.js +3 -0
  37. package/dist/esm/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPending.d.ts +89 -0
  38. package/dist/esm/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPending.js +83 -0
  39. package/dist/esm/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPendingProfile.d.ts +74 -0
  40. package/dist/esm/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPendingProfile.js +55 -0
  41. package/dist/{models/SecFilingsSearch200Response.d.ts → esm/models/SecDatasets200Response.d.ts} +26 -17
  42. package/dist/esm/models/{SecFilingsSearch200Response.js → SecDatasets200Response.js} +13 -19
  43. package/dist/esm/models/SecDocument200Response.d.ts +104 -0
  44. package/dist/esm/models/SecDocument200Response.js +42 -0
  45. package/dist/esm/models/SecDocumentFactPlaces200Response.d.ts +88 -0
  46. package/dist/esm/models/SecDocumentFactPlaces200Response.js +42 -0
  47. package/dist/esm/models/SecDocumentFigure200Response.d.ts +70 -0
  48. package/dist/esm/models/SecDocumentFigure200Response.js +42 -0
  49. package/dist/esm/models/SecDocumentSections200Response.d.ts +71 -0
  50. package/dist/esm/models/SecDocumentSections200Response.js +43 -0
  51. package/dist/esm/models/SecDocumentSections200ResponseSectionsInner.d.ts +85 -0
  52. package/dist/esm/models/SecDocumentSections200ResponseSectionsInner.js +44 -0
  53. package/dist/esm/models/SecFiler200Response.d.ts +80 -0
  54. package/dist/esm/models/{SecFilingsList200ResponseCompaniesInner.js → SecFiler200Response.js} +13 -25
  55. package/dist/esm/models/SecFilerCoverage200Response.d.ts +82 -0
  56. package/dist/esm/models/SecFilerCoverage200Response.js +42 -0
  57. package/dist/esm/models/SecFilerLifecycle200Response.d.ts +146 -0
  58. package/dist/esm/models/SecFilerLifecycle200Response.js +42 -0
  59. package/dist/esm/models/SecFilers200Response.d.ts +53 -0
  60. package/dist/esm/models/SecFilers200Response.js +43 -0
  61. package/dist/esm/models/{SecFilingsSearch200ResponseSourcesInner.d.ts → SecFilers200ResponseMatchesInner.d.ts} +31 -28
  62. package/dist/esm/models/SecFilers200ResponseMatchesInner.js +37 -0
  63. package/dist/esm/models/SecFiling200Response.d.ts +88 -0
  64. package/dist/{models/SecFilingsSearch200Response.js → esm/models/SecFiling200Response.js} +13 -26
  65. package/dist/esm/models/{SecFilingsList200Response.d.ts → SecFilingFacts200Response.d.ts} +43 -14
  66. package/dist/esm/models/SecFilingFacts200Response.js +42 -0
  67. package/dist/esm/models/SecFilingHoldings200Response.d.ts +74 -0
  68. package/dist/esm/models/SecFilingHoldings200Response.js +42 -0
  69. package/dist/esm/models/SecFilingReviewChain200Response.d.ts +92 -0
  70. package/dist/esm/models/SecFilingReviewChain200Response.js +42 -0
  71. package/dist/esm/models/SecFilingReviewRelations200Response.d.ts +88 -0
  72. package/dist/esm/models/SecFilingReviewRelations200Response.js +42 -0
  73. package/dist/esm/models/SecFilings200Response.d.ts +88 -0
  74. package/dist/esm/models/SecFilings200Response.js +44 -0
  75. package/dist/esm/models/SecFilings200ResponseFilingsInner.d.ts +81 -0
  76. package/dist/esm/models/SecFilings200ResponseFilingsInner.js +37 -0
  77. package/dist/esm/models/{SecFilingsAvailableFormTypes200Response.d.ts → SecFilings200ResponseFormFacetInner.d.ts} +25 -12
  78. package/dist/esm/models/{SecFilingsList200Response.js → SecFilings200ResponseFormFacetInner.js} +10 -17
  79. package/dist/esm/models/SecFinancialsCatalog200Response.d.ts +48 -0
  80. package/dist/esm/models/SecFinancialsCatalog200Response.js +42 -0
  81. package/dist/{models/SecFilingsSections200ResponseCompaniesInnerSectionsInner.d.ts → esm/models/SecHoldingsHolders200Response.d.ts} +88 -64
  82. package/dist/esm/models/SecHoldingsHolders200Response.js +42 -0
  83. package/dist/esm/models/{SecFilingsList200ResponseCompaniesInner.d.ts → SecIssuers200Response.d.ts} +45 -22
  84. package/dist/esm/models/SecIssuers200Response.js +42 -0
  85. package/dist/esm/models/{SecFilingsSections200ResponseCompaniesInner.d.ts → SecReadiness.d.ts} +34 -21
  86. package/dist/esm/models/SecReadiness.js +55 -0
  87. package/dist/esm/models/SecSearch200Response.d.ts +88 -0
  88. package/dist/esm/models/SecSearch200Response.js +51 -0
  89. package/dist/esm/models/SecSearch200ResponseHitsInner.d.ts +92 -0
  90. package/dist/esm/models/SecSearch200ResponseHitsInner.js +38 -0
  91. package/dist/esm/models/SecSearchCoverage.d.ts +74 -0
  92. package/dist/esm/models/SecSearchCoverage.js +53 -0
  93. package/dist/esm/models/SecSearchCoverageLexical.d.ts +51 -0
  94. package/dist/esm/models/{SecFilingsAvailableFormTypes200Response.js → SecSearchCoverageLexical.js} +10 -16
  95. package/dist/{models/SecFilingsList200ResponseCompaniesInnerFilingsInner.d.ts → esm/models/SecSearchCoverageMatches.d.ts} +52 -51
  96. package/dist/esm/models/SecSearchCoverageMatches.js +65 -0
  97. package/dist/esm/models/SecStoreError.d.ts +52 -0
  98. package/dist/esm/models/{SecFilingsSections200Response.js → SecStoreError.js} +14 -16
  99. package/dist/esm/models/WebSocketFiling.d.ts +1 -1
  100. package/dist/esm/models/index.d.ts +37 -9
  101. package/dist/esm/models/index.js +37 -9
  102. package/dist/models/EarningsCallsCalendar200ResponseEventsInner.d.ts +7 -0
  103. package/dist/models/EarningsCallsCalendar200ResponseEventsInner.js +3 -0
  104. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendar.d.ts +95 -0
  105. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendar.js +103 -0
  106. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendarCall.d.ts +102 -0
  107. package/dist/models/{SecFilingsSections200ResponseCompaniesInnerSectionsInner.js → EarningsCallsCalendar200ResponseEventsInnerCalendarCall.js} +69 -67
  108. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendarCallSource.d.ts +56 -0
  109. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendarCallSource.js +66 -0
  110. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendarReport.d.ts +69 -0
  111. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendarReport.js +80 -0
  112. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendarReportSource.d.ts +44 -0
  113. package/dist/models/{SecFilingsList200ResponseCompaniesInner.js → EarningsCallsCalendar200ResponseEventsInnerCalendarReportSource.js} +22 -25
  114. package/dist/models/EarningsCallsTranscript200Response.d.ts +3 -3
  115. package/dist/models/EarningsCallsTranscript200Response.js +3 -3
  116. package/dist/models/EarningsCallsTranscript200ResponseEvent.d.ts +233 -0
  117. package/dist/models/EarningsCallsTranscript200ResponseEvent.js +196 -0
  118. package/dist/models/IposRegistrationsList200ResponseRegistrationsInner.d.ts +7 -0
  119. package/dist/models/IposRegistrationsList200ResponseRegistrationsInner.js +3 -0
  120. package/dist/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPending.d.ts +89 -0
  121. package/dist/models/{SecFilingsList200ResponseCompaniesInnerFilingsInner.js → IposRegistrationsList200ResponseRegistrationsInnerIpoPending.js} +49 -49
  122. package/dist/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPendingProfile.d.ts +74 -0
  123. package/dist/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPendingProfile.js +62 -0
  124. package/dist/{esm/models/SecFilingsSearch200Response.d.ts → models/SecDatasets200Response.d.ts} +26 -17
  125. package/dist/models/{SecFilingsSections200Response.js → SecDatasets200Response.js} +19 -21
  126. package/dist/models/SecDocument200Response.d.ts +104 -0
  127. package/dist/models/{SecFilingsSections200ResponseCompaniesInner.js → SecDocument200Response.js} +18 -28
  128. package/dist/models/SecDocumentFactPlaces200Response.d.ts +88 -0
  129. package/dist/models/SecDocumentFactPlaces200Response.js +49 -0
  130. package/dist/models/SecDocumentFigure200Response.d.ts +70 -0
  131. package/dist/models/SecDocumentFigure200Response.js +49 -0
  132. package/dist/models/SecDocumentSections200Response.d.ts +71 -0
  133. package/dist/models/SecDocumentSections200Response.js +50 -0
  134. package/dist/models/SecDocumentSections200ResponseSectionsInner.d.ts +85 -0
  135. package/dist/models/SecDocumentSections200ResponseSectionsInner.js +52 -0
  136. package/dist/models/SecFiler200Response.d.ts +80 -0
  137. package/dist/models/SecFiler200Response.js +49 -0
  138. package/dist/models/SecFilerCoverage200Response.d.ts +82 -0
  139. package/dist/models/SecFilerCoverage200Response.js +49 -0
  140. package/dist/models/SecFilerLifecycle200Response.d.ts +146 -0
  141. package/dist/models/SecFilerLifecycle200Response.js +49 -0
  142. package/dist/models/SecFilers200Response.d.ts +53 -0
  143. package/dist/models/SecFilers200Response.js +50 -0
  144. package/dist/models/{SecFilingsSearch200ResponseSourcesInner.d.ts → SecFilers200ResponseMatchesInner.d.ts} +31 -28
  145. package/dist/models/SecFilers200ResponseMatchesInner.js +44 -0
  146. package/dist/models/SecFiling200Response.d.ts +88 -0
  147. package/dist/models/SecFiling200Response.js +49 -0
  148. package/dist/models/{SecFilingsList200Response.d.ts → SecFilingFacts200Response.d.ts} +43 -14
  149. package/dist/models/SecFilingFacts200Response.js +49 -0
  150. package/dist/models/SecFilingHoldings200Response.d.ts +74 -0
  151. package/dist/models/SecFilingHoldings200Response.js +49 -0
  152. package/dist/models/SecFilingReviewChain200Response.d.ts +92 -0
  153. package/dist/models/SecFilingReviewChain200Response.js +49 -0
  154. package/dist/models/SecFilingReviewRelations200Response.d.ts +88 -0
  155. package/dist/models/SecFilingReviewRelations200Response.js +49 -0
  156. package/dist/models/SecFilings200Response.d.ts +88 -0
  157. package/dist/models/SecFilings200Response.js +51 -0
  158. package/dist/models/SecFilings200ResponseFilingsInner.d.ts +81 -0
  159. package/dist/models/SecFilings200ResponseFilingsInner.js +44 -0
  160. package/dist/{esm/models/SecFilingsSections200Response.d.ts → models/SecFilings200ResponseFormFacetInner.d.ts} +25 -13
  161. package/dist/models/SecFilings200ResponseFormFacetInner.js +44 -0
  162. package/dist/models/SecFinancialsCatalog200Response.d.ts +48 -0
  163. package/dist/models/SecFinancialsCatalog200Response.js +49 -0
  164. package/dist/{esm/models/SecFilingsSections200ResponseCompaniesInnerSectionsInner.d.ts → models/SecHoldingsHolders200Response.d.ts} +88 -64
  165. package/dist/models/SecHoldingsHolders200Response.js +49 -0
  166. package/dist/models/{SecFilingsList200ResponseCompaniesInner.d.ts → SecIssuers200Response.d.ts} +45 -22
  167. package/dist/models/SecIssuers200Response.js +49 -0
  168. package/dist/models/{SecFilingsSections200ResponseCompaniesInner.d.ts → SecReadiness.d.ts} +34 -21
  169. package/dist/models/SecReadiness.js +63 -0
  170. package/dist/models/SecSearch200Response.d.ts +88 -0
  171. package/dist/models/SecSearch200Response.js +59 -0
  172. package/dist/models/SecSearch200ResponseHitsInner.d.ts +92 -0
  173. package/dist/models/SecSearch200ResponseHitsInner.js +45 -0
  174. package/dist/models/SecSearchCoverage.d.ts +74 -0
  175. package/dist/models/{SecFilingsSearch200ResponseSourcesInner.js → SecSearchCoverage.js} +29 -38
  176. package/dist/models/SecSearchCoverageLexical.d.ts +51 -0
  177. package/dist/models/{SecFilingsList200Response.js → SecSearchCoverageLexical.js} +15 -22
  178. package/dist/{esm/models/SecFilingsList200ResponseCompaniesInnerFilingsInner.d.ts → models/SecSearchCoverageMatches.d.ts} +52 -51
  179. package/dist/{esm/models/SecFilingsList200ResponseCompaniesInnerFilingsInner.js → models/SecSearchCoverageMatches.js} +35 -46
  180. package/dist/models/SecStoreError.d.ts +52 -0
  181. package/dist/models/{SecFilingsAvailableFormTypes200Response.js → SecStoreError.js} +19 -20
  182. package/dist/models/WebSocketFiling.d.ts +1 -1
  183. package/dist/models/index.d.ts +37 -9
  184. package/dist/models/index.js +37 -9
  185. package/docs/EarningsCallsApi.md +8 -2
  186. package/docs/EarningsCallsCalendar200ResponseEventsInner.md +2 -0
  187. package/docs/EarningsCallsCalendar200ResponseEventsInnerCalendar.md +43 -0
  188. package/docs/EarningsCallsCalendar200ResponseEventsInnerCalendarCall.md +45 -0
  189. package/docs/EarningsCallsCalendar200ResponseEventsInnerCalendarCallSource.md +43 -0
  190. package/docs/EarningsCallsCalendar200ResponseEventsInnerCalendarReport.md +41 -0
  191. package/docs/EarningsCallsCalendar200ResponseEventsInnerCalendarReportSource.md +39 -0
  192. package/docs/EarningsCallsTranscript200Response.md +1 -1
  193. package/docs/EarningsCallsTranscript200ResponseEvent.md +88 -0
  194. package/docs/IPOsApi.md +5 -2
  195. package/docs/IposRegistrationsList200ResponseRegistrationsInner.md +2 -0
  196. package/docs/IposRegistrationsList200ResponseRegistrationsInnerIpoPending.md +51 -0
  197. package/docs/IposRegistrationsList200ResponseRegistrationsInnerIpoPendingProfile.md +49 -0
  198. package/docs/SECApi.md +2646 -0
  199. package/docs/{SecFilingsList200Response.md → SecDatasets200Response.md} +11 -6
  200. package/docs/SecDocument200Response.md +53 -0
  201. package/docs/SecDocumentFactPlaces200Response.md +51 -0
  202. package/docs/SecDocumentFigure200Response.md +45 -0
  203. package/docs/SecDocumentSections200Response.md +47 -0
  204. package/docs/SecDocumentSections200ResponseSectionsInner.md +48 -0
  205. package/docs/SecFiler200Response.md +47 -0
  206. package/docs/SecFilerCoverage200Response.md +49 -0
  207. package/docs/SecFilerLifecycle200Response.md +65 -0
  208. package/docs/SecFilers200Response.md +41 -0
  209. package/docs/{SecFilingsSearch200ResponseSourcesInner.md → SecFilers200ResponseMatchesInner.md} +14 -14
  210. package/docs/SecFiling200Response.md +49 -0
  211. package/docs/SecFilingFacts200Response.md +43 -0
  212. package/docs/SecFilingHoldings200Response.md +47 -0
  213. package/docs/SecFilingReviewChain200Response.md +51 -0
  214. package/docs/SecFilingReviewRelations200Response.md +51 -0
  215. package/docs/SecFilings200Response.md +51 -0
  216. package/docs/SecFilings200ResponseFilingsInner.md +50 -0
  217. package/docs/{SecFilingsAvailableFormTypes200Response.md → SecFilings200ResponseFormFacetInner.md} +10 -6
  218. package/docs/{SecFilingsSections200Response.md → SecFinancialsCatalog200Response.md} +11 -6
  219. package/docs/SecHoldingsHolders200Response.md +67 -0
  220. package/docs/{SecFilingsList200ResponseCompaniesInner.md → SecIssuers200Response.md} +17 -10
  221. package/docs/SecReadiness.md +39 -0
  222. package/docs/SecSearch200Response.md +49 -0
  223. package/docs/SecSearch200ResponseHitsInner.md +52 -0
  224. package/docs/SecSearchCoverage.md +45 -0
  225. package/docs/{SecFilingsSearch200Response.md → SecSearchCoverageLexical.md} +13 -8
  226. package/docs/SecSearchCoverageMatches.md +53 -0
  227. package/docs/SecStoreError.md +41 -0
  228. package/docs/WebSocketFiling.md +1 -1
  229. package/package.json +1 -1
  230. package/src/apis/EarningsCallsApi.ts +32 -2
  231. package/src/apis/IPOsApi.ts +15 -2
  232. package/src/apis/SECApi.ts +2596 -0
  233. package/src/apis/index.ts +1 -1
  234. package/src/models/EarningsCallsCalendar200ResponseEventsInner.ts +15 -0
  235. package/src/models/EarningsCallsCalendar200ResponseEventsInnerCalendar.ts +159 -0
  236. package/src/models/EarningsCallsCalendar200ResponseEventsInnerCalendarCall.ts +163 -0
  237. package/src/models/EarningsCallsCalendar200ResponseEventsInnerCalendarCallSource.ts +102 -0
  238. package/src/models/EarningsCallsCalendar200ResponseEventsInnerCalendarReport.ts +123 -0
  239. package/src/models/EarningsCallsCalendar200ResponseEventsInnerCalendarReportSource.ts +84 -0
  240. package/src/models/EarningsCallsTranscript200Response.ts +10 -10
  241. package/src/models/EarningsCallsTranscript200ResponseEvent.ts +363 -0
  242. package/src/models/IposRegistrationsList200ResponseRegistrationsInner.ts +15 -0
  243. package/src/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPending.ts +157 -0
  244. package/src/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPendingProfile.ts +121 -0
  245. package/src/models/{SecFilingsSearch200Response.ts → SecDatasets200Response.ts} +41 -30
  246. package/src/models/SecDocument200Response.ts +150 -0
  247. package/src/models/SecDocumentFactPlaces200Response.ts +142 -0
  248. package/src/models/{SecFilingsSections200ResponseCompaniesInner.ts → SecDocumentFigure200Response.ts} +63 -37
  249. package/src/models/SecDocumentSections200Response.ts +133 -0
  250. package/src/models/SecDocumentSections200ResponseSectionsInner.ts +135 -0
  251. package/src/models/{SecFilingsSearch200ResponseSourcesInner.ts → SecFiler200Response.ts} +67 -52
  252. package/src/models/SecFilerCoverage200Response.ts +134 -0
  253. package/src/models/SecFilerLifecycle200Response.ts +198 -0
  254. package/src/models/SecFilers200Response.ts +109 -0
  255. package/src/models/SecFilers200ResponseMatchesInner.ts +108 -0
  256. package/src/models/SecFiling200Response.ts +134 -0
  257. package/src/models/SecFilingFacts200Response.ts +110 -0
  258. package/src/models/SecFilingHoldings200Response.ts +126 -0
  259. package/src/models/SecFilingReviewChain200Response.ts +142 -0
  260. package/src/models/SecFilingReviewRelations200Response.ts +142 -0
  261. package/src/models/SecFilings200Response.ts +156 -0
  262. package/src/models/SecFilings200ResponseFilingsInner.ts +132 -0
  263. package/src/models/{SecFilingsSections200Response.ts → SecFilings200ResponseFormFacetInner.ts} +35 -25
  264. package/src/models/SecFinancialsCatalog200Response.ts +94 -0
  265. package/src/models/{SecFilingsSections200ResponseCompaniesInnerSectionsInner.ts → SecHoldingsHolders200Response.ts} +125 -111
  266. package/src/models/{SecFilingsList200ResponseCompaniesInner.ts → SecIssuers200Response.ts} +64 -38
  267. package/src/models/SecReadiness.ts +103 -0
  268. package/src/models/SecSearch200Response.ts +159 -0
  269. package/src/models/SecSearch200ResponseHitsInner.ts +148 -0
  270. package/src/models/SecSearchCoverage.ts +138 -0
  271. package/src/models/{SecFilingsList200Response.ts → SecSearchCoverageLexical.ts} +44 -26
  272. package/src/models/{SecFilingsList200ResponseCompaniesInnerFilingsInner.ts → SecSearchCoverageMatches.ts} +91 -93
  273. package/src/models/SecStoreError.ts +102 -0
  274. package/src/models/WebSocketFiling.ts +1 -1
  275. package/src/models/index.ts +37 -9
  276. package/dist/apis/SECFilingsApi.d.ts +0 -117
  277. package/dist/apis/SECFilingsApi.js +0 -284
  278. package/dist/esm/apis/SECFilingsApi.d.ts +0 -117
  279. package/dist/esm/apis/SECFilingsApi.js +0 -280
  280. package/dist/models/SecFilingsAvailableFormTypes200Response.d.ts +0 -32
  281. package/dist/models/SecFilingsSections200Response.d.ts +0 -33
  282. package/docs/SECFilingsApi.md +0 -344
  283. package/docs/SecFilingsList200ResponseCompaniesInnerFilingsInner.md +0 -54
  284. package/docs/SecFilingsSections200ResponseCompaniesInner.md +0 -38
  285. package/docs/SecFilingsSections200ResponseCompaniesInnerSectionsInner.md +0 -62
  286. package/src/apis/SECFilingsApi.ts +0 -368
@@ -0,0 +1,1959 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Invinite API
6
+ * Invinite financial data API. Each endpoint has a base credit cost: `x-credits` is the base cost; responses add 1 credit per started 1,000 rows beyond the first 1,000; `X-Credits-Charged` reports the final debit and `X-Credits-Included-Remaining` what is left of the plan\'s included credits. `GET /v1/account/usage` returns your account\'s usage by day, endpoint family and key (it costs no credits). SEC filing search has a 100-credit base cost. **Coverage.** Financial data covers SEC registrants and US listings; a foreign suffix (`SAP.DE`, `VOD.L`) or a crypto pair (`X:BTCUSD`) is not a known company and answers 404. A known company with no data in a family (for example no statements yet) answers 404 with `code: not_covered`; an empty page of a covered company stays 200 with an empty list. `GET /v1/company/available-companies` lists every known company. ## Webhooks Accounts on LITE and above subscribe with `POST /v1/earnings-calls/webhooks` to the `earnings_call.*` lifecycle events (filtered by CIK) and, on STANDARD and above, to `news.published` (one delivery per new news item, filtered by the CIKs it mentions); see `x-webhooks` for each `data` object. What a subscription may hold depends on the plan (a create / update beyond it is refused with the plan\'s limit; `ping` needs no subscription — the test route and the disabled notice send it to any subscription): | Plan | Webhooks | Events | CIKs per webhook | Keywords per webhook | |---|---|---|---|---| | FREE | 0 | — | — | — | | LITE | 5 | `.scheduled`, `.rescheduled`, `.started`, `.ended`, `.transcript_ready`, `.assets_ready` | ≤ 10 | — | | STANDARD | 15 | LITE + `.transcript_provisional`, `.transcript_corrected`, `.documents_updated`, `news.published` | ≤ 25 | — | | PRO / ENTERPRISE | 50 | STANDARD + `.guidance_flash`, `.keyword_hit` | ≤ 100 | ≤ 20 (on ≤ 10 webhooks) | Every delivery is a `POST` with `Content-Type: application/json`, `X-Invinite-Event`, `X-Invinite-Delivery` and `X-Invinite-Signature: t=<unix seconds>,v1=<hex>` where `v1` = HMAC-SHA256(secret, `<t>.<raw body>`); during a secret rotation the header carries one `v1` per valid secret. Reject a signature older than 5 minutes. Any 2xx within 10 s acknowledges; redirects are not followed. A failed delivery is retried after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h, 24 h (8 attempts in all, the same delivery id each time). A subscription is disabled after 8 consecutive dead-lettered deliveries (a final `ping` with `notice: subscription_disabled` is sent). Deliveries are at-least-once and unordered: dedupe on the delivery id, order by `created_at`. ## Licensing | Tier | display | redistribute | rag | train | audio | resell | | --- | --- | --- | --- | --- | --- | --- | | FREE | ✓ | – | – | – | – | – | | LITE | ✓ | – | – | – | – | – | | STANDARD | ✓ | – | ✓ | – | – | – | | PRO | ✓ | ✓ | ✓ | – | ✓ | – | Invinite data may be shown and, from PRO, redistributed inside the licensee\'s own product with attribution (\"Source: Invinite\" on screen or in the API response that carries it). It may never be resold, relicensed, white-labelled or offered as a data feed as the licensee\'s own data, at any tier, under any contract. Policy version: 2026-10-draft. Draft — pending counsel sign-off. Audio files carry a forensic watermark that identifies the recording. Audio is subject to per-company takedown and may not be re-hosted. SEC data: Figures and filings originate from SEC EDGAR; the standardisation, mapping and derived metrics are Invinite\'s. News: Issuer and SEC text is served in full with its attribution; the licensee shows publisher, source URL and date next to it and may forward it unmodified; the resale rule applies. PDF documents: Branded PDFs of transcripts and news items are permanent URLs to one shared file per version. They may be shown, downloaded and forwarded unmodified with the notice page intact; the resale rule applies unchanged. News PDFs reproduce issuer or SEC text under the attribution stated on their notice page; a PDF disappears when the item is taken down or its source\'s reuse is denied. Every `/v1/_*` data operation carries `x-license`, the minimum use right its data ships with; `GET /status/licensing` serves the same matrix per route, rendered at [data.invinite.com/docs/licensing](https://data.invinite.com/docs/licensing). `/v1/account/usage` serves no licensed data and carries none. ## Status [`/status`](/status) reports whether each product family works (a status and its uptime over 7, 30 and 90 days); [`/status/licensing`](/status/licensing) serves the licensing matrix per route. The status routes need no API key and are cached for 5 minutes. The public status page is [status.data.invinite.com](https://status.data.invinite.com): a snapshot of `/status` every 15 minutes plus an external reachability probe of the API. Uptime is the share of requests answered without a server error, measured by the API per product family; a window with too little traffic to judge shows no figure. Status reflects the last 24 hours. Product families: Company, Financials, SEC Filings, Insider Trades, Institutional Ownership, IPOs, Market, Metadata, Earnings Calls, News, WebSocket, Account.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.SecSearchSuccessorsEnum = exports.SecSearchCaseSensitiveEnum = exports.SecSearchModeEnum = exports.SecIssuersPhaseEnum = exports.SecHoldingsManagerPortfolioInstrumentsEnum = exports.SecHoldingsHoldersInstrumentsEnum = exports.SecHoldingsFormFilersExactEnum = exports.SecHoldingsDeltasInstrumentsEnum = exports.SecFinancialsStatementOtherEvidenceEnum = exports.SecFinancialsStatementPeriodTypeEnum = exports.SecFinancialsStatementStatementEnum = exports.SecFinancialsFactPlacesEnum = exports.SecFinancialsCatalogStatementEnum = exports.SecFilingsOrderEnum = exports.SecFilingReviewRelationsHistoryEnum = exports.SecFilingReviewRelationsKindEnum = exports.SecFilingReviewRelationsDirectionEnum = exports.SecFilerLifecycleTraverseEnum = exports.SecExportsFinancialMetricsModeEnum = exports.SecExportsFinancialMetricsPeriodTypeEnum = exports.SecDocumentVersionFootnotesEnum = exports.SecDocumentSectionsOutlineEnum = exports.SecDocumentFactPlacesStatusEnum = exports.SecDocumentFootnotesEnum = exports.SECApi = void 0;
26
+ const runtime = require("../runtime");
27
+ const SecDatasets200Response_1 = require("../models/SecDatasets200Response");
28
+ const SecDocument200Response_1 = require("../models/SecDocument200Response");
29
+ const SecDocumentFactPlaces200Response_1 = require("../models/SecDocumentFactPlaces200Response");
30
+ const SecDocumentFigure200Response_1 = require("../models/SecDocumentFigure200Response");
31
+ const SecDocumentSections200Response_1 = require("../models/SecDocumentSections200Response");
32
+ const SecFiler200Response_1 = require("../models/SecFiler200Response");
33
+ const SecFilerCoverage200Response_1 = require("../models/SecFilerCoverage200Response");
34
+ const SecFilerLifecycle200Response_1 = require("../models/SecFilerLifecycle200Response");
35
+ const SecFilers200Response_1 = require("../models/SecFilers200Response");
36
+ const SecFiling200Response_1 = require("../models/SecFiling200Response");
37
+ const SecFilingFacts200Response_1 = require("../models/SecFilingFacts200Response");
38
+ const SecFilingHoldings200Response_1 = require("../models/SecFilingHoldings200Response");
39
+ const SecFilingReviewChain200Response_1 = require("../models/SecFilingReviewChain200Response");
40
+ const SecFilingReviewRelations200Response_1 = require("../models/SecFilingReviewRelations200Response");
41
+ const SecFilings200Response_1 = require("../models/SecFilings200Response");
42
+ const SecFinancialsCatalog200Response_1 = require("../models/SecFinancialsCatalog200Response");
43
+ const SecHoldingsHolders200Response_1 = require("../models/SecHoldingsHolders200Response");
44
+ const SecIssuers200Response_1 = require("../models/SecIssuers200Response");
45
+ const SecSearch200Response_1 = require("../models/SecSearch200Response");
46
+ /**
47
+ *
48
+ */
49
+ class SECApi extends runtime.BaseAPI {
50
+ /**
51
+ * Creates request options for secDatasets without sending the request
52
+ */
53
+ secDatasetsRequestOpts() {
54
+ return __awaiter(this, void 0, void 0, function* () {
55
+ const queryParameters = {};
56
+ const headerParameters = {};
57
+ if (this.configuration && this.configuration.accessToken) {
58
+ const token = this.configuration.accessToken;
59
+ const tokenString = yield token("bearerAuth", []);
60
+ if (tokenString) {
61
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
62
+ }
63
+ }
64
+ let urlPath = `/v1/sec/datasets`;
65
+ return {
66
+ path: urlPath,
67
+ method: 'GET',
68
+ headers: headerParameters,
69
+ query: queryParameters,
70
+ };
71
+ });
72
+ }
73
+ /**
74
+ * The active release of each SEC dataset the store loads (Financial Statement and Notes, 13F, company facts): period, release hash, publication and load times — the identity every dataset row cites. Separate from document coverage (`held_through`). Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
75
+ * SEC dataset releases
76
+ */
77
+ secDatasetsRaw(initOverrides) {
78
+ return __awaiter(this, void 0, void 0, function* () {
79
+ const requestOptions = yield this.secDatasetsRequestOpts();
80
+ const response = yield this.request(requestOptions, initOverrides);
81
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecDatasets200Response_1.SecDatasets200ResponseFromJSON)(jsonValue));
82
+ });
83
+ }
84
+ /**
85
+ * The active release of each SEC dataset the store loads (Financial Statement and Notes, 13F, company facts): period, release hash, publication and load times — the identity every dataset row cites. Separate from document coverage (`held_through`). Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
86
+ * SEC dataset releases
87
+ */
88
+ secDatasets(initOverrides) {
89
+ return __awaiter(this, void 0, void 0, function* () {
90
+ const response = yield this.secDatasetsRaw(initOverrides);
91
+ return yield response.value();
92
+ });
93
+ }
94
+ /**
95
+ * Creates request options for secDocument without sending the request
96
+ */
97
+ secDocumentRequestOpts(requestParameters) {
98
+ return __awaiter(this, void 0, void 0, function* () {
99
+ if (requestParameters['accession'] == null) {
100
+ throw new runtime.RequiredError('accession', 'Required parameter "accession" was null or undefined when calling secDocument().');
101
+ }
102
+ if (requestParameters['filename'] == null) {
103
+ throw new runtime.RequiredError('filename', 'Required parameter "filename" was null or undefined when calling secDocument().');
104
+ }
105
+ const queryParameters = {};
106
+ if (requestParameters['blocks'] != null) {
107
+ queryParameters['blocks'] = requestParameters['blocks'];
108
+ }
109
+ if (requestParameters['pages'] != null) {
110
+ queryParameters['pages'] = requestParameters['pages'];
111
+ }
112
+ if (requestParameters['printed'] != null) {
113
+ queryParameters['printed'] = requestParameters['printed'];
114
+ }
115
+ if (requestParameters['printedOccurrence'] != null) {
116
+ queryParameters['printed_occurrence'] = requestParameters['printedOccurrence'];
117
+ }
118
+ if (requestParameters['neighbors'] != null) {
119
+ queryParameters['neighbors'] = requestParameters['neighbors'];
120
+ }
121
+ if (requestParameters['footnotes'] != null) {
122
+ queryParameters['footnotes'] = requestParameters['footnotes'];
123
+ }
124
+ if (requestParameters['limit'] != null) {
125
+ queryParameters['limit'] = requestParameters['limit'];
126
+ }
127
+ const headerParameters = {};
128
+ if (this.configuration && this.configuration.accessToken) {
129
+ const token = this.configuration.accessToken;
130
+ const tokenString = yield token("bearerAuth", []);
131
+ if (tokenString) {
132
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
133
+ }
134
+ }
135
+ let urlPath = `/v1/sec/documents/{accession}/{filename}`;
136
+ urlPath = urlPath.replace('{accession}', encodeURIComponent(String(requestParameters['accession'])));
137
+ urlPath = urlPath.replace('{filename}', encodeURIComponent(String(requestParameters['filename'])));
138
+ return {
139
+ path: urlPath,
140
+ method: 'GET',
141
+ headers: headerParameters,
142
+ query: queryParameters,
143
+ };
144
+ });
145
+ }
146
+ /**
147
+ * One document of a filing as canonical text: the current version is resolved ONCE and every block, neighbor, footnote and figure comes from that version (`version.version_id`; cite it, or reread it with `GET /v1/sec/versions/{version_id}`). Select by `blocks`, physical `pages` or an exact `printed` label (a repeated label is `ambiguous` with every candidate until `printed_occurrence` picks one). Blocks carry `citation` (version, block, physical page, printed label), section paths, tables with composed headers / unit / scale, footnote links. `source.url` is the original\'s permanent public URL. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for rag: STANDARD.
148
+ * SEC document (current version)
149
+ */
150
+ secDocumentRaw(requestParameters, initOverrides) {
151
+ return __awaiter(this, void 0, void 0, function* () {
152
+ const requestOptions = yield this.secDocumentRequestOpts(requestParameters);
153
+ const response = yield this.request(requestOptions, initOverrides);
154
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecDocument200Response_1.SecDocument200ResponseFromJSON)(jsonValue));
155
+ });
156
+ }
157
+ /**
158
+ * One document of a filing as canonical text: the current version is resolved ONCE and every block, neighbor, footnote and figure comes from that version (`version.version_id`; cite it, or reread it with `GET /v1/sec/versions/{version_id}`). Select by `blocks`, physical `pages` or an exact `printed` label (a repeated label is `ambiguous` with every candidate until `printed_occurrence` picks one). Blocks carry `citation` (version, block, physical page, printed label), section paths, tables with composed headers / unit / scale, footnote links. `source.url` is the original\'s permanent public URL. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for rag: STANDARD.
159
+ * SEC document (current version)
160
+ */
161
+ secDocument(requestParameters, initOverrides) {
162
+ return __awaiter(this, void 0, void 0, function* () {
163
+ const response = yield this.secDocumentRaw(requestParameters, initOverrides);
164
+ return yield response.value();
165
+ });
166
+ }
167
+ /**
168
+ * Creates request options for secDocumentFactPlaces without sending the request
169
+ */
170
+ secDocumentFactPlacesRequestOpts(requestParameters) {
171
+ return __awaiter(this, void 0, void 0, function* () {
172
+ if (requestParameters['versionId'] == null) {
173
+ throw new runtime.RequiredError('versionId', 'Required parameter "versionId" was null or undefined when calling secDocumentFactPlaces().');
174
+ }
175
+ const queryParameters = {};
176
+ if (requestParameters['factId'] != null) {
177
+ queryParameters['fact_id'] = requestParameters['factId'];
178
+ }
179
+ if (requestParameters['status'] != null) {
180
+ queryParameters['status'] = requestParameters['status'];
181
+ }
182
+ if (requestParameters['cursor'] != null) {
183
+ queryParameters['cursor'] = requestParameters['cursor'];
184
+ }
185
+ if (requestParameters['limit'] != null) {
186
+ queryParameters['limit'] = requestParameters['limit'];
187
+ }
188
+ const headerParameters = {};
189
+ if (this.configuration && this.configuration.accessToken) {
190
+ const token = this.configuration.accessToken;
191
+ const tokenString = yield token("bearerAuth", []);
192
+ if (tokenString) {
193
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
194
+ }
195
+ }
196
+ let urlPath = `/v1/sec/versions/{version_id}/fact-places`;
197
+ urlPath = urlPath.replace('{version_id}', encodeURIComponent(String(requestParameters['versionId'])));
198
+ return {
199
+ path: urlPath,
200
+ method: 'GET',
201
+ headers: headerParameters,
202
+ query: queryParameters,
203
+ };
204
+ });
205
+ }
206
+ /**
207
+ * Where each XBRL fact of a pinned version sits: the original place (native id, block / table row / column), the annotated-rendition anchors and the PDF box as separate fields; a fact without a place keeps its typed status (`hidden`, `not_in_document`, `derived` with its operands, `unmatched`, `ambiguous`). Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
208
+ * XBRL fact places in a document version
209
+ */
210
+ secDocumentFactPlacesRaw(requestParameters, initOverrides) {
211
+ return __awaiter(this, void 0, void 0, function* () {
212
+ const requestOptions = yield this.secDocumentFactPlacesRequestOpts(requestParameters);
213
+ const response = yield this.request(requestOptions, initOverrides);
214
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecDocumentFactPlaces200Response_1.SecDocumentFactPlaces200ResponseFromJSON)(jsonValue));
215
+ });
216
+ }
217
+ /**
218
+ * Where each XBRL fact of a pinned version sits: the original place (native id, block / table row / column), the annotated-rendition anchors and the PDF box as separate fields; a fact without a place keeps its typed status (`hidden`, `not_in_document`, `derived` with its operands, `unmatched`, `ambiguous`). Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
219
+ * XBRL fact places in a document version
220
+ */
221
+ secDocumentFactPlaces(requestParameters, initOverrides) {
222
+ return __awaiter(this, void 0, void 0, function* () {
223
+ const response = yield this.secDocumentFactPlacesRaw(requestParameters, initOverrides);
224
+ return yield response.value();
225
+ });
226
+ }
227
+ /**
228
+ * Creates request options for secDocumentFigure without sending the request
229
+ */
230
+ secDocumentFigureRequestOpts(requestParameters) {
231
+ return __awaiter(this, void 0, void 0, function* () {
232
+ if (requestParameters['versionId'] == null) {
233
+ throw new runtime.RequiredError('versionId', 'Required parameter "versionId" was null or undefined when calling secDocumentFigure().');
234
+ }
235
+ if (requestParameters['blockId'] == null) {
236
+ throw new runtime.RequiredError('blockId', 'Required parameter "blockId" was null or undefined when calling secDocumentFigure().');
237
+ }
238
+ const queryParameters = {};
239
+ const headerParameters = {};
240
+ if (this.configuration && this.configuration.accessToken) {
241
+ const token = this.configuration.accessToken;
242
+ const tokenString = yield token("bearerAuth", []);
243
+ if (tokenString) {
244
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
245
+ }
246
+ }
247
+ let urlPath = `/v1/sec/versions/{version_id}/figures/{block_id}`;
248
+ urlPath = urlPath.replace('{version_id}', encodeURIComponent(String(requestParameters['versionId'])));
249
+ urlPath = urlPath.replace('{block_id}', encodeURIComponent(String(requestParameters['blockId'])));
250
+ return {
251
+ path: urlPath,
252
+ method: 'GET',
253
+ headers: headerParameters,
254
+ query: queryParameters,
255
+ };
256
+ });
257
+ }
258
+ /**
259
+ * One figure of a pinned version: its caption / alt text, citation and the permanent public URL of the image (`image.url`). Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
260
+ * SEC document figure
261
+ */
262
+ secDocumentFigureRaw(requestParameters, initOverrides) {
263
+ return __awaiter(this, void 0, void 0, function* () {
264
+ const requestOptions = yield this.secDocumentFigureRequestOpts(requestParameters);
265
+ const response = yield this.request(requestOptions, initOverrides);
266
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecDocumentFigure200Response_1.SecDocumentFigure200ResponseFromJSON)(jsonValue));
267
+ });
268
+ }
269
+ /**
270
+ * One figure of a pinned version: its caption / alt text, citation and the permanent public URL of the image (`image.url`). Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
271
+ * SEC document figure
272
+ */
273
+ secDocumentFigure(requestParameters, initOverrides) {
274
+ return __awaiter(this, void 0, void 0, function* () {
275
+ const response = yield this.secDocumentFigureRaw(requestParameters, initOverrides);
276
+ return yield response.value();
277
+ });
278
+ }
279
+ /**
280
+ * Creates request options for secDocumentSections without sending the request
281
+ */
282
+ secDocumentSectionsRequestOpts(requestParameters) {
283
+ return __awaiter(this, void 0, void 0, function* () {
284
+ if (requestParameters['versionId'] == null) {
285
+ throw new runtime.RequiredError('versionId', 'Required parameter "versionId" was null or undefined when calling secDocumentSections().');
286
+ }
287
+ const queryParameters = {};
288
+ if (requestParameters['outline'] != null) {
289
+ queryParameters['outline'] = requestParameters['outline'];
290
+ }
291
+ const headerParameters = {};
292
+ if (this.configuration && this.configuration.accessToken) {
293
+ const token = this.configuration.accessToken;
294
+ const tokenString = yield token("bearerAuth", []);
295
+ if (tokenString) {
296
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
297
+ }
298
+ }
299
+ let urlPath = `/v1/sec/versions/{version_id}/sections`;
300
+ urlPath = urlPath.replace('{version_id}', encodeURIComponent(String(requestParameters['versionId'])));
301
+ return {
302
+ path: urlPath,
303
+ method: 'GET',
304
+ headers: headerParameters,
305
+ query: queryParameters,
306
+ };
307
+ });
308
+ }
309
+ /**
310
+ * The section outline of a pinned version: `legacy` sections keep the legacy section ids (`legacy_section_key`, listed by `GET /v1/metadata/list-available-section-ids`, e.g. `part_i-item_1a`) where a proven correspondence exists, `generic` sections cover every other heading. Each section lists its block spans and `blocks` selectors: read a section with `GET /v1/sec/versions/{version_id}?blocks=<selector>`. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for rag: STANDARD.
311
+ * Sections of an SEC document version
312
+ */
313
+ secDocumentSectionsRaw(requestParameters, initOverrides) {
314
+ return __awaiter(this, void 0, void 0, function* () {
315
+ const requestOptions = yield this.secDocumentSectionsRequestOpts(requestParameters);
316
+ const response = yield this.request(requestOptions, initOverrides);
317
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecDocumentSections200Response_1.SecDocumentSections200ResponseFromJSON)(jsonValue));
318
+ });
319
+ }
320
+ /**
321
+ * The section outline of a pinned version: `legacy` sections keep the legacy section ids (`legacy_section_key`, listed by `GET /v1/metadata/list-available-section-ids`, e.g. `part_i-item_1a`) where a proven correspondence exists, `generic` sections cover every other heading. Each section lists its block spans and `blocks` selectors: read a section with `GET /v1/sec/versions/{version_id}?blocks=<selector>`. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for rag: STANDARD.
322
+ * Sections of an SEC document version
323
+ */
324
+ secDocumentSections(requestParameters, initOverrides) {
325
+ return __awaiter(this, void 0, void 0, function* () {
326
+ const response = yield this.secDocumentSectionsRaw(requestParameters, initOverrides);
327
+ return yield response.value();
328
+ });
329
+ }
330
+ /**
331
+ * Creates request options for secDocumentVersion without sending the request
332
+ */
333
+ secDocumentVersionRequestOpts(requestParameters) {
334
+ return __awaiter(this, void 0, void 0, function* () {
335
+ if (requestParameters['versionId'] == null) {
336
+ throw new runtime.RequiredError('versionId', 'Required parameter "versionId" was null or undefined when calling secDocumentVersion().');
337
+ }
338
+ const queryParameters = {};
339
+ if (requestParameters['blocks'] != null) {
340
+ queryParameters['blocks'] = requestParameters['blocks'];
341
+ }
342
+ if (requestParameters['pages'] != null) {
343
+ queryParameters['pages'] = requestParameters['pages'];
344
+ }
345
+ if (requestParameters['printed'] != null) {
346
+ queryParameters['printed'] = requestParameters['printed'];
347
+ }
348
+ if (requestParameters['printedOccurrence'] != null) {
349
+ queryParameters['printed_occurrence'] = requestParameters['printedOccurrence'];
350
+ }
351
+ if (requestParameters['neighbors'] != null) {
352
+ queryParameters['neighbors'] = requestParameters['neighbors'];
353
+ }
354
+ if (requestParameters['footnotes'] != null) {
355
+ queryParameters['footnotes'] = requestParameters['footnotes'];
356
+ }
357
+ if (requestParameters['limit'] != null) {
358
+ queryParameters['limit'] = requestParameters['limit'];
359
+ }
360
+ const headerParameters = {};
361
+ if (this.configuration && this.configuration.accessToken) {
362
+ const token = this.configuration.accessToken;
363
+ const tokenString = yield token("bearerAuth", []);
364
+ if (tokenString) {
365
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
366
+ }
367
+ }
368
+ let urlPath = `/v1/sec/versions/{version_id}`;
369
+ urlPath = urlPath.replace('{version_id}', encodeURIComponent(String(requestParameters['versionId'])));
370
+ return {
371
+ path: urlPath,
372
+ method: 'GET',
373
+ headers: headerParameters,
374
+ query: queryParameters,
375
+ };
376
+ });
377
+ }
378
+ /**
379
+ * One immutable document version by id (an old cited version stays readable): the same selectors and blocks as `GET /v1/sec/documents/{accession}/{filename}`, never mixed with a newer version. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for rag: STANDARD.
380
+ * SEC document version
381
+ */
382
+ secDocumentVersionRaw(requestParameters, initOverrides) {
383
+ return __awaiter(this, void 0, void 0, function* () {
384
+ const requestOptions = yield this.secDocumentVersionRequestOpts(requestParameters);
385
+ const response = yield this.request(requestOptions, initOverrides);
386
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecDocument200Response_1.SecDocument200ResponseFromJSON)(jsonValue));
387
+ });
388
+ }
389
+ /**
390
+ * One immutable document version by id (an old cited version stays readable): the same selectors and blocks as `GET /v1/sec/documents/{accession}/{filename}`, never mixed with a newer version. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for rag: STANDARD.
391
+ * SEC document version
392
+ */
393
+ secDocumentVersion(requestParameters, initOverrides) {
394
+ return __awaiter(this, void 0, void 0, function* () {
395
+ const response = yield this.secDocumentVersionRaw(requestParameters, initOverrides);
396
+ return yield response.value();
397
+ });
398
+ }
399
+ /**
400
+ * Creates request options for secExport without sending the request
401
+ */
402
+ secExportRequestOpts(requestParameters) {
403
+ return __awaiter(this, void 0, void 0, function* () {
404
+ if (requestParameters['exportId'] == null) {
405
+ throw new runtime.RequiredError('exportId', 'Required parameter "exportId" was null or undefined when calling secExport().');
406
+ }
407
+ const queryParameters = {};
408
+ const headerParameters = {};
409
+ if (this.configuration && this.configuration.accessToken) {
410
+ const token = this.configuration.accessToken;
411
+ const tokenString = yield token("bearerAuth", []);
412
+ if (tokenString) {
413
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
414
+ }
415
+ }
416
+ let urlPath = `/v1/sec/exports/{export_id}`;
417
+ urlPath = urlPath.replace('{export_id}', encodeURIComponent(String(requestParameters['exportId'])));
418
+ return {
419
+ path: urlPath,
420
+ method: 'GET',
421
+ headers: headerParameters,
422
+ query: queryParameters,
423
+ };
424
+ });
425
+ }
426
+ /**
427
+ * One export\'s manifest (immutable): rows, bytes, SHA-256, schema, coverage, rule lineage and the `download` route. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
428
+ * Metric export manifest
429
+ */
430
+ secExportRaw(requestParameters, initOverrides) {
431
+ return __awaiter(this, void 0, void 0, function* () {
432
+ const requestOptions = yield this.secExportRequestOpts(requestParameters);
433
+ const response = yield this.request(requestOptions, initOverrides);
434
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFinancialsCatalog200Response_1.SecFinancialsCatalog200ResponseFromJSON)(jsonValue));
435
+ });
436
+ }
437
+ /**
438
+ * One export\'s manifest (immutable): rows, bytes, SHA-256, schema, coverage, rule lineage and the `download` route. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
439
+ * Metric export manifest
440
+ */
441
+ secExport(requestParameters, initOverrides) {
442
+ return __awaiter(this, void 0, void 0, function* () {
443
+ const response = yield this.secExportRaw(requestParameters, initOverrides);
444
+ return yield response.value();
445
+ });
446
+ }
447
+ /**
448
+ * Creates request options for secExportFile without sending the request
449
+ */
450
+ secExportFileRequestOpts(requestParameters) {
451
+ return __awaiter(this, void 0, void 0, function* () {
452
+ if (requestParameters['exportId'] == null) {
453
+ throw new runtime.RequiredError('exportId', 'Required parameter "exportId" was null or undefined when calling secExportFile().');
454
+ }
455
+ const queryParameters = {};
456
+ const headerParameters = {};
457
+ if (this.configuration && this.configuration.accessToken) {
458
+ const token = this.configuration.accessToken;
459
+ const tokenString = yield token("bearerAuth", []);
460
+ if (tokenString) {
461
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
462
+ }
463
+ }
464
+ let urlPath = `/v1/sec/exports/{export_id}/file`;
465
+ urlPath = urlPath.replace('{export_id}', encodeURIComponent(String(requestParameters['exportId'])));
466
+ return {
467
+ path: urlPath,
468
+ method: 'GET',
469
+ headers: headerParameters,
470
+ query: queryParameters,
471
+ };
472
+ });
473
+ }
474
+ /**
475
+ * The export file itself: gzip-compressed CSV, verified against its SHA-256 before the first byte (`X-Content-SHA256`), `Content-Disposition` names the file. The one byte stream of the family (exports live in a private bucket); billed once per download. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
476
+ * Download a metric export
477
+ */
478
+ secExportFileRaw(requestParameters, initOverrides) {
479
+ return __awaiter(this, void 0, void 0, function* () {
480
+ const requestOptions = yield this.secExportFileRequestOpts(requestParameters);
481
+ const response = yield this.request(requestOptions, initOverrides);
482
+ return new runtime.BlobApiResponse(response);
483
+ });
484
+ }
485
+ /**
486
+ * The export file itself: gzip-compressed CSV, verified against its SHA-256 before the first byte (`X-Content-SHA256`), `Content-Disposition` names the file. The one byte stream of the family (exports live in a private bucket); billed once per download. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
487
+ * Download a metric export
488
+ */
489
+ secExportFile(requestParameters, initOverrides) {
490
+ return __awaiter(this, void 0, void 0, function* () {
491
+ const response = yield this.secExportFileRaw(requestParameters, initOverrides);
492
+ return yield response.value();
493
+ });
494
+ }
495
+ /**
496
+ * Creates request options for secExportsFinancialMetrics without sending the request
497
+ */
498
+ secExportsFinancialMetricsRequestOpts(requestParameters) {
499
+ return __awaiter(this, void 0, void 0, function* () {
500
+ if (requestParameters['metricId'] == null) {
501
+ throw new runtime.RequiredError('metricId', 'Required parameter "metricId" was null or undefined when calling secExportsFinancialMetrics().');
502
+ }
503
+ if (requestParameters['fiscalYear'] == null) {
504
+ throw new runtime.RequiredError('fiscalYear', 'Required parameter "fiscalYear" was null or undefined when calling secExportsFinancialMetrics().');
505
+ }
506
+ const queryParameters = {};
507
+ if (requestParameters['metricId'] != null) {
508
+ queryParameters['metric_id'] = requestParameters['metricId'];
509
+ }
510
+ if (requestParameters['fiscalYear'] != null) {
511
+ queryParameters['fiscal_year'] = requestParameters['fiscalYear'];
512
+ }
513
+ if (requestParameters['periodType'] != null) {
514
+ queryParameters['period_type'] = requestParameters['periodType'];
515
+ }
516
+ if (requestParameters['mode'] != null) {
517
+ queryParameters['mode'] = requestParameters['mode'];
518
+ }
519
+ if (requestParameters['generation'] != null) {
520
+ queryParameters['generation'] = requestParameters['generation'];
521
+ }
522
+ const headerParameters = {};
523
+ if (this.configuration && this.configuration.accessToken) {
524
+ const token = this.configuration.accessToken;
525
+ const tokenString = yield token("bearerAuth", []);
526
+ if (tokenString) {
527
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
528
+ }
529
+ }
530
+ let urlPath = `/v1/sec/exports/financial-metrics`;
531
+ return {
532
+ path: urlPath,
533
+ method: 'GET',
534
+ headers: headerParameters,
535
+ query: queryParameters,
536
+ };
537
+ });
538
+ }
539
+ /**
540
+ * The universe-wide export of one standardized metric for one fiscal year (every covered company), as an immutable versioned file: `ready` with its manifest (rows, bytes, SHA-256, schema, coverage, source boundary, rule lineage) and the `download` route, else its state (`pending` while the current set has not published it). No forward-fill: a company without the value has no row. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
541
+ * Request an annual metric export
542
+ */
543
+ secExportsFinancialMetricsRaw(requestParameters, initOverrides) {
544
+ return __awaiter(this, void 0, void 0, function* () {
545
+ const requestOptions = yield this.secExportsFinancialMetricsRequestOpts(requestParameters);
546
+ const response = yield this.request(requestOptions, initOverrides);
547
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFinancialsCatalog200Response_1.SecFinancialsCatalog200ResponseFromJSON)(jsonValue));
548
+ });
549
+ }
550
+ /**
551
+ * The universe-wide export of one standardized metric for one fiscal year (every covered company), as an immutable versioned file: `ready` with its manifest (rows, bytes, SHA-256, schema, coverage, source boundary, rule lineage) and the `download` route, else its state (`pending` while the current set has not published it). No forward-fill: a company without the value has no row. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
552
+ * Request an annual metric export
553
+ */
554
+ secExportsFinancialMetrics(requestParameters, initOverrides) {
555
+ return __awaiter(this, void 0, void 0, function* () {
556
+ const response = yield this.secExportsFinancialMetricsRaw(requestParameters, initOverrides);
557
+ return yield response.value();
558
+ });
559
+ }
560
+ /**
561
+ * Creates request options for secFiler without sending the request
562
+ */
563
+ secFilerRequestOpts(requestParameters) {
564
+ return __awaiter(this, void 0, void 0, function* () {
565
+ if (requestParameters['cik'] == null) {
566
+ throw new runtime.RequiredError('cik', 'Required parameter "cik" was null or undefined when calling secFiler().');
567
+ }
568
+ const queryParameters = {};
569
+ const headerParameters = {};
570
+ if (this.configuration && this.configuration.accessToken) {
571
+ const token = this.configuration.accessToken;
572
+ const tokenString = yield token("bearerAuth", []);
573
+ if (tokenString) {
574
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
575
+ }
576
+ }
577
+ let urlPath = `/v1/sec/filers/{cik}`;
578
+ urlPath = urlPath.replace('{cik}', encodeURIComponent(String(requestParameters['cik'])));
579
+ return {
580
+ path: urlPath,
581
+ method: 'GET',
582
+ headers: headerParameters,
583
+ query: queryParameters,
584
+ };
585
+ });
586
+ }
587
+ /**
588
+ * One filer: names (with former names and their dates), stated tickers / exchanges as SEC evidence, reviewed successors and what the store serves for it (`scope.permissions`). A pre-IPO issuer or SPAC has no stated ticker; its proposed symbols are on `GET /v1/sec/filers/{cik}/lifecycle`. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
589
+ * SEC filer
590
+ */
591
+ secFilerRaw(requestParameters, initOverrides) {
592
+ return __awaiter(this, void 0, void 0, function* () {
593
+ const requestOptions = yield this.secFilerRequestOpts(requestParameters);
594
+ const response = yield this.request(requestOptions, initOverrides);
595
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFiler200Response_1.SecFiler200ResponseFromJSON)(jsonValue));
596
+ });
597
+ }
598
+ /**
599
+ * One filer: names (with former names and their dates), stated tickers / exchanges as SEC evidence, reviewed successors and what the store serves for it (`scope.permissions`). A pre-IPO issuer or SPAC has no stated ticker; its proposed symbols are on `GET /v1/sec/filers/{cik}/lifecycle`. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
600
+ * SEC filer
601
+ */
602
+ secFiler(requestParameters, initOverrides) {
603
+ return __awaiter(this, void 0, void 0, function* () {
604
+ const response = yield this.secFilerRaw(requestParameters, initOverrides);
605
+ return yield response.value();
606
+ });
607
+ }
608
+ /**
609
+ * Creates request options for secFilerCoverage without sending the request
610
+ */
611
+ secFilerCoverageRequestOpts(requestParameters) {
612
+ return __awaiter(this, void 0, void 0, function* () {
613
+ if (requestParameters['cik'] == null) {
614
+ throw new runtime.RequiredError('cik', 'Required parameter "cik" was null or undefined when calling secFilerCoverage().');
615
+ }
616
+ const queryParameters = {};
617
+ if (requestParameters['since'] != null) {
618
+ queryParameters['since'] = requestParameters['since'].toISOString().substring(0, 10);
619
+ }
620
+ const headerParameters = {};
621
+ if (this.configuration && this.configuration.accessToken) {
622
+ const token = this.configuration.accessToken;
623
+ const tokenString = yield token("bearerAuth", []);
624
+ if (tokenString) {
625
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
626
+ }
627
+ }
628
+ let urlPath = `/v1/sec/filers/{cik}/coverage`;
629
+ urlPath = urlPath.replace('{cik}', encodeURIComponent(String(requestParameters['cik'])));
630
+ return {
631
+ path: urlPath,
632
+ method: 'GET',
633
+ headers: headerParameters,
634
+ query: queryParameters,
635
+ };
636
+ });
637
+ }
638
+ /**
639
+ * How much of one filer\'s document history the store holds: `held_through` (the contiguous bound — the day before the oldest required document not yet held), required / held / pending counts and the holes, for a window back from `since` (default 365 days, at most 3 years). Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
640
+ * SEC filer document coverage
641
+ */
642
+ secFilerCoverageRaw(requestParameters, initOverrides) {
643
+ return __awaiter(this, void 0, void 0, function* () {
644
+ const requestOptions = yield this.secFilerCoverageRequestOpts(requestParameters);
645
+ const response = yield this.request(requestOptions, initOverrides);
646
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFilerCoverage200Response_1.SecFilerCoverage200ResponseFromJSON)(jsonValue));
647
+ });
648
+ }
649
+ /**
650
+ * How much of one filer\'s document history the store holds: `held_through` (the contiguous bound — the day before the oldest required document not yet held), required / held / pending counts and the holes, for a window back from `since` (default 365 days, at most 3 years). Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
651
+ * SEC filer document coverage
652
+ */
653
+ secFilerCoverage(requestParameters, initOverrides) {
654
+ return __awaiter(this, void 0, void 0, function* () {
655
+ const response = yield this.secFilerCoverageRaw(requestParameters, initOverrides);
656
+ return yield response.value();
657
+ });
658
+ }
659
+ /**
660
+ * Creates request options for secFilerLifecycle without sending the request
661
+ */
662
+ secFilerLifecycleRequestOpts(requestParameters) {
663
+ return __awaiter(this, void 0, void 0, function* () {
664
+ if (requestParameters['cik'] == null) {
665
+ throw new runtime.RequiredError('cik', 'Required parameter "cik" was null or undefined when calling secFilerLifecycle().');
666
+ }
667
+ const queryParameters = {};
668
+ if (requestParameters['traverse'] != null) {
669
+ queryParameters['traverse'] = requestParameters['traverse'];
670
+ }
671
+ if (requestParameters['maxHops'] != null) {
672
+ queryParameters['max_hops'] = requestParameters['maxHops'];
673
+ }
674
+ const headerParameters = {};
675
+ if (this.configuration && this.configuration.accessToken) {
676
+ const token = this.configuration.accessToken;
677
+ const tokenString = yield token("bearerAuth", []);
678
+ if (tokenString) {
679
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
680
+ }
681
+ }
682
+ let urlPath = `/v1/sec/filers/{cik}/lifecycle`;
683
+ urlPath = urlPath.replace('{cik}', encodeURIComponent(String(requestParameters['cik'])));
684
+ return {
685
+ path: urlPath,
686
+ method: 'GET',
687
+ headers: headerParameters,
688
+ query: queryParameters,
689
+ };
690
+ });
691
+ }
692
+ /**
693
+ * One issuer\'s lifecycle: phase (pre-IPO, listed SPAC, listed operating, former listed), registration tracks with their proposed symbols (`symbol_authority: proposed_only`), the verified listing, successions (followed only on request, `traverse`) and separate readiness per family (identity, lifecycle, listing, documents, financials, coverage). Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
694
+ * SEC issuer lifecycle
695
+ */
696
+ secFilerLifecycleRaw(requestParameters, initOverrides) {
697
+ return __awaiter(this, void 0, void 0, function* () {
698
+ const requestOptions = yield this.secFilerLifecycleRequestOpts(requestParameters);
699
+ const response = yield this.request(requestOptions, initOverrides);
700
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFilerLifecycle200Response_1.SecFilerLifecycle200ResponseFromJSON)(jsonValue));
701
+ });
702
+ }
703
+ /**
704
+ * One issuer\'s lifecycle: phase (pre-IPO, listed SPAC, listed operating, former listed), registration tracks with their proposed symbols (`symbol_authority: proposed_only`), the verified listing, successions (followed only on request, `traverse`) and separate readiness per family (identity, lifecycle, listing, documents, financials, coverage). Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
705
+ * SEC issuer lifecycle
706
+ */
707
+ secFilerLifecycle(requestParameters, initOverrides) {
708
+ return __awaiter(this, void 0, void 0, function* () {
709
+ const response = yield this.secFilerLifecycleRaw(requestParameters, initOverrides);
710
+ return yield response.value();
711
+ });
712
+ }
713
+ /**
714
+ * Creates request options for secFilers without sending the request
715
+ */
716
+ secFilersRequestOpts(requestParameters) {
717
+ return __awaiter(this, void 0, void 0, function* () {
718
+ const queryParameters = {};
719
+ if (requestParameters['name'] != null) {
720
+ queryParameters['name'] = requestParameters['name'];
721
+ }
722
+ if (requestParameters['ticker'] != null) {
723
+ queryParameters['ticker'] = requestParameters['ticker'];
724
+ }
725
+ if (requestParameters['form'] != null) {
726
+ queryParameters['form'] = requestParameters['form'];
727
+ }
728
+ if (requestParameters['limit'] != null) {
729
+ queryParameters['limit'] = requestParameters['limit'];
730
+ }
731
+ const headerParameters = {};
732
+ if (this.configuration && this.configuration.accessToken) {
733
+ const token = this.configuration.accessToken;
734
+ const tokenString = yield token("bearerAuth", []);
735
+ if (tokenString) {
736
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
737
+ }
738
+ }
739
+ let urlPath = `/v1/sec/filers`;
740
+ return {
741
+ path: urlPath,
742
+ method: 'GET',
743
+ headers: headerParameters,
744
+ query: queryParameters,
745
+ };
746
+ });
747
+ }
748
+ /**
749
+ * Find SEC filers by (former) name, stated ticker or a form they filed. A filer is any SEC party: an operating company, a pre-IPO issuer without a ticker, a fund manager filing 13F without an exchange. Tickers and exchanges are the SEC filing\'s statements (`ticker_authority: sec_statement_only`), never a listing. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
750
+ * Find SEC filers
751
+ */
752
+ secFilersRaw(requestParameters, initOverrides) {
753
+ return __awaiter(this, void 0, void 0, function* () {
754
+ const requestOptions = yield this.secFilersRequestOpts(requestParameters);
755
+ const response = yield this.request(requestOptions, initOverrides);
756
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFilers200Response_1.SecFilers200ResponseFromJSON)(jsonValue));
757
+ });
758
+ }
759
+ /**
760
+ * Find SEC filers by (former) name, stated ticker or a form they filed. A filer is any SEC party: an operating company, a pre-IPO issuer without a ticker, a fund manager filing 13F without an exchange. Tickers and exchanges are the SEC filing\'s statements (`ticker_authority: sec_statement_only`), never a listing. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
761
+ * Find SEC filers
762
+ */
763
+ secFilers() {
764
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
765
+ const response = yield this.secFilersRaw(requestParameters, initOverrides);
766
+ return yield response.value();
767
+ });
768
+ }
769
+ /**
770
+ * Creates request options for secFiling without sending the request
771
+ */
772
+ secFilingRequestOpts(requestParameters) {
773
+ return __awaiter(this, void 0, void 0, function* () {
774
+ if (requestParameters['accession'] == null) {
775
+ throw new runtime.RequiredError('accession', 'Required parameter "accession" was null or undefined when calling secFiling().');
776
+ }
777
+ const queryParameters = {};
778
+ const headerParameters = {};
779
+ if (this.configuration && this.configuration.accessToken) {
780
+ const token = this.configuration.accessToken;
781
+ const tokenString = yield token("bearerAuth", []);
782
+ if (tokenString) {
783
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
784
+ }
785
+ }
786
+ let urlPath = `/v1/sec/filings/{accession}`;
787
+ urlPath = urlPath.replace('{accession}', encodeURIComponent(String(requestParameters['accession'])));
788
+ return {
789
+ path: urlPath,
790
+ method: 'GET',
791
+ headers: headerParameters,
792
+ query: queryParameters,
793
+ };
794
+ });
795
+ }
796
+ /**
797
+ * One filing with its document manifest: every document with its role, MIME type, true (uncompressed) size, stored size, readiness and the permanent public URL of the original (`source.url`), the current canonical version id per document, the parties and typed relations. A 13F information table names its structured route (`/holdings`) instead of a body URL. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
798
+ * SEC filing and its documents
799
+ */
800
+ secFilingRaw(requestParameters, initOverrides) {
801
+ return __awaiter(this, void 0, void 0, function* () {
802
+ const requestOptions = yield this.secFilingRequestOpts(requestParameters);
803
+ const response = yield this.request(requestOptions, initOverrides);
804
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFiling200Response_1.SecFiling200ResponseFromJSON)(jsonValue));
805
+ });
806
+ }
807
+ /**
808
+ * One filing with its document manifest: every document with its role, MIME type, true (uncompressed) size, stored size, readiness and the permanent public URL of the original (`source.url`), the current canonical version id per document, the parties and typed relations. A 13F information table names its structured route (`/holdings`) instead of a body URL. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
809
+ * SEC filing and its documents
810
+ */
811
+ secFiling(requestParameters, initOverrides) {
812
+ return __awaiter(this, void 0, void 0, function* () {
813
+ const response = yield this.secFilingRaw(requestParameters, initOverrides);
814
+ return yield response.value();
815
+ });
816
+ }
817
+ /**
818
+ * Creates request options for secFilingFacts without sending the request
819
+ */
820
+ secFilingFactsRequestOpts(requestParameters) {
821
+ return __awaiter(this, void 0, void 0, function* () {
822
+ if (requestParameters['accession'] == null) {
823
+ throw new runtime.RequiredError('accession', 'Required parameter "accession" was null or undefined when calling secFilingFacts().');
824
+ }
825
+ const queryParameters = {};
826
+ if (requestParameters['tag'] != null) {
827
+ queryParameters['tag'] = requestParameters['tag'];
828
+ }
829
+ const headerParameters = {};
830
+ if (this.configuration && this.configuration.accessToken) {
831
+ const token = this.configuration.accessToken;
832
+ const tokenString = yield token("bearerAuth", []);
833
+ if (tokenString) {
834
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
835
+ }
836
+ }
837
+ let urlPath = `/v1/sec/filings/{accession}/facts`;
838
+ urlPath = urlPath.replace('{accession}', encodeURIComponent(String(requestParameters['accession'])));
839
+ return {
840
+ path: urlPath,
841
+ method: 'GET',
842
+ headers: headerParameters,
843
+ query: queryParameters,
844
+ };
845
+ });
846
+ }
847
+ /**
848
+ * The XBRL facts SEC\'s own datasets (Financial Statement and Notes) publish for one filing, as released (`release`: dataset, period, hash), exact decimal strings. Raw source rows — the standardized statements are `GET /v1/sec/financials/{cik}/statements/{statement}`. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
849
+ * SEC dataset facts of a filing
850
+ */
851
+ secFilingFactsRaw(requestParameters, initOverrides) {
852
+ return __awaiter(this, void 0, void 0, function* () {
853
+ const requestOptions = yield this.secFilingFactsRequestOpts(requestParameters);
854
+ const response = yield this.request(requestOptions, initOverrides);
855
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFilingFacts200Response_1.SecFilingFacts200ResponseFromJSON)(jsonValue));
856
+ });
857
+ }
858
+ /**
859
+ * The XBRL facts SEC\'s own datasets (Financial Statement and Notes) publish for one filing, as released (`release`: dataset, period, hash), exact decimal strings. Raw source rows — the standardized statements are `GET /v1/sec/financials/{cik}/statements/{statement}`. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
860
+ * SEC dataset facts of a filing
861
+ */
862
+ secFilingFacts(requestParameters, initOverrides) {
863
+ return __awaiter(this, void 0, void 0, function* () {
864
+ const response = yield this.secFilingFactsRaw(requestParameters, initOverrides);
865
+ return yield response.value();
866
+ });
867
+ }
868
+ /**
869
+ * Creates request options for secFilingHoldings without sending the request
870
+ */
871
+ secFilingHoldingsRequestOpts(requestParameters) {
872
+ return __awaiter(this, void 0, void 0, function* () {
873
+ if (requestParameters['accession'] == null) {
874
+ throw new runtime.RequiredError('accession', 'Required parameter "accession" was null or undefined when calling secFilingHoldings().');
875
+ }
876
+ const queryParameters = {};
877
+ if (requestParameters['after'] != null) {
878
+ queryParameters['after'] = requestParameters['after'];
879
+ }
880
+ if (requestParameters['limit'] != null) {
881
+ queryParameters['limit'] = requestParameters['limit'];
882
+ }
883
+ const headerParameters = {};
884
+ if (this.configuration && this.configuration.accessToken) {
885
+ const token = this.configuration.accessToken;
886
+ const tokenString = yield token("bearerAuth", []);
887
+ if (tokenString) {
888
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
889
+ }
890
+ }
891
+ let urlPath = `/v1/sec/filings/{accession}/holdings`;
892
+ urlPath = urlPath.replace('{accession}', encodeURIComponent(String(requestParameters['accession'])));
893
+ return {
894
+ path: urlPath,
895
+ method: 'GET',
896
+ headers: headerParameters,
897
+ query: queryParameters,
898
+ };
899
+ });
900
+ }
901
+ /**
902
+ * The information table of one 13F filing as SEC\'s 13F dataset released it, in pages (`summary` first: row count and value). Values are the manager-reported values (the 2023-01-03 dollar rule applied). Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
903
+ * Holdings of a 13F filing
904
+ */
905
+ secFilingHoldingsRaw(requestParameters, initOverrides) {
906
+ return __awaiter(this, void 0, void 0, function* () {
907
+ const requestOptions = yield this.secFilingHoldingsRequestOpts(requestParameters);
908
+ const response = yield this.request(requestOptions, initOverrides);
909
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFilingHoldings200Response_1.SecFilingHoldings200ResponseFromJSON)(jsonValue));
910
+ });
911
+ }
912
+ /**
913
+ * The information table of one 13F filing as SEC\'s 13F dataset released it, in pages (`summary` first: row count and value). Values are the manager-reported values (the 2023-01-03 dollar rule applied). Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
914
+ * Holdings of a 13F filing
915
+ */
916
+ secFilingHoldings(requestParameters, initOverrides) {
917
+ return __awaiter(this, void 0, void 0, function* () {
918
+ const response = yield this.secFilingHoldingsRaw(requestParameters, initOverrides);
919
+ return yield response.value();
920
+ });
921
+ }
922
+ /**
923
+ * Creates request options for secFilingNotes without sending the request
924
+ */
925
+ secFilingNotesRequestOpts(requestParameters) {
926
+ return __awaiter(this, void 0, void 0, function* () {
927
+ if (requestParameters['accession'] == null) {
928
+ throw new runtime.RequiredError('accession', 'Required parameter "accession" was null or undefined when calling secFilingNotes().');
929
+ }
930
+ const queryParameters = {};
931
+ if (requestParameters['tag'] != null) {
932
+ queryParameters['tag'] = requestParameters['tag'];
933
+ }
934
+ const headerParameters = {};
935
+ if (this.configuration && this.configuration.accessToken) {
936
+ const token = this.configuration.accessToken;
937
+ const tokenString = yield token("bearerAuth", []);
938
+ if (tokenString) {
939
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
940
+ }
941
+ }
942
+ let urlPath = `/v1/sec/filings/{accession}/notes`;
943
+ urlPath = urlPath.replace('{accession}', encodeURIComponent(String(requestParameters['accession'])));
944
+ return {
945
+ path: urlPath,
946
+ method: 'GET',
947
+ headers: headerParameters,
948
+ query: queryParameters,
949
+ };
950
+ });
951
+ }
952
+ /**
953
+ * The text facts (notes, policies) SEC\'s Financial Statement and Notes dataset publishes for one filing, as released. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
954
+ * SEC dataset text notes of a filing
955
+ */
956
+ secFilingNotesRaw(requestParameters, initOverrides) {
957
+ return __awaiter(this, void 0, void 0, function* () {
958
+ const requestOptions = yield this.secFilingNotesRequestOpts(requestParameters);
959
+ const response = yield this.request(requestOptions, initOverrides);
960
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFilingFacts200Response_1.SecFilingFacts200ResponseFromJSON)(jsonValue));
961
+ });
962
+ }
963
+ /**
964
+ * The text facts (notes, policies) SEC\'s Financial Statement and Notes dataset publishes for one filing, as released. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
965
+ * SEC dataset text notes of a filing
966
+ */
967
+ secFilingNotes(requestParameters, initOverrides) {
968
+ return __awaiter(this, void 0, void 0, function* () {
969
+ const response = yield this.secFilingNotesRaw(requestParameters, initOverrides);
970
+ return yield response.value();
971
+ });
972
+ }
973
+ /**
974
+ * Creates request options for secFilingReviewChain without sending the request
975
+ */
976
+ secFilingReviewChainRequestOpts(requestParameters) {
977
+ return __awaiter(this, void 0, void 0, function* () {
978
+ if (requestParameters['accession'] == null) {
979
+ throw new runtime.RequiredError('accession', 'Required parameter "accession" was null or undefined when calling secFilingReviewChain().');
980
+ }
981
+ const queryParameters = {};
982
+ if (requestParameters['maxDepth'] != null) {
983
+ queryParameters['max_depth'] = requestParameters['maxDepth'];
984
+ }
985
+ if (requestParameters['maxNodes'] != null) {
986
+ queryParameters['max_nodes'] = requestParameters['maxNodes'];
987
+ }
988
+ const headerParameters = {};
989
+ if (this.configuration && this.configuration.accessToken) {
990
+ const token = this.configuration.accessToken;
991
+ const tokenString = yield token("bearerAuth", []);
992
+ if (tokenString) {
993
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
994
+ }
995
+ }
996
+ let urlPath = `/v1/sec/filings/{accession}/review-chain`;
997
+ urlPath = urlPath.replace('{accession}', encodeURIComponent(String(requestParameters['accession'])));
998
+ return {
999
+ path: urlPath,
1000
+ method: 'GET',
1001
+ headers: headerParameters,
1002
+ query: queryParameters,
1003
+ };
1004
+ });
1005
+ }
1006
+ /**
1007
+ * The bounded SEC review graph around one filing: letters and responses (nodes, with whether the store holds them), confirmed edges (unconfirmed ones listed, never followed), text / PDF twins and what the graph cannot claim (`completeness`). Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1008
+ * SEC review chain of a filing
1009
+ */
1010
+ secFilingReviewChainRaw(requestParameters, initOverrides) {
1011
+ return __awaiter(this, void 0, void 0, function* () {
1012
+ const requestOptions = yield this.secFilingReviewChainRequestOpts(requestParameters);
1013
+ const response = yield this.request(requestOptions, initOverrides);
1014
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFilingReviewChain200Response_1.SecFilingReviewChain200ResponseFromJSON)(jsonValue));
1015
+ });
1016
+ }
1017
+ /**
1018
+ * The bounded SEC review graph around one filing: letters and responses (nodes, with whether the store holds them), confirmed edges (unconfirmed ones listed, never followed), text / PDF twins and what the graph cannot claim (`completeness`). Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1019
+ * SEC review chain of a filing
1020
+ */
1021
+ secFilingReviewChain(requestParameters, initOverrides) {
1022
+ return __awaiter(this, void 0, void 0, function* () {
1023
+ const response = yield this.secFilingReviewChainRaw(requestParameters, initOverrides);
1024
+ return yield response.value();
1025
+ });
1026
+ }
1027
+ /**
1028
+ * Creates request options for secFilingReviewRelations without sending the request
1029
+ */
1030
+ secFilingReviewRelationsRequestOpts(requestParameters) {
1031
+ return __awaiter(this, void 0, void 0, function* () {
1032
+ if (requestParameters['accession'] == null) {
1033
+ throw new runtime.RequiredError('accession', 'Required parameter "accession" was null or undefined when calling secFilingReviewRelations().');
1034
+ }
1035
+ const queryParameters = {};
1036
+ if (requestParameters['direction'] != null) {
1037
+ queryParameters['direction'] = requestParameters['direction'];
1038
+ }
1039
+ if (requestParameters['kind'] != null) {
1040
+ queryParameters['kind'] = requestParameters['kind'];
1041
+ }
1042
+ if (requestParameters['history'] != null) {
1043
+ queryParameters['history'] = requestParameters['history'];
1044
+ }
1045
+ if (requestParameters['cursor'] != null) {
1046
+ queryParameters['cursor'] = requestParameters['cursor'];
1047
+ }
1048
+ if (requestParameters['limit'] != null) {
1049
+ queryParameters['limit'] = requestParameters['limit'];
1050
+ }
1051
+ const headerParameters = {};
1052
+ if (this.configuration && this.configuration.accessToken) {
1053
+ const token = this.configuration.accessToken;
1054
+ const tokenString = yield token("bearerAuth", []);
1055
+ if (tokenString) {
1056
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1057
+ }
1058
+ }
1059
+ let urlPath = `/v1/sec/filings/{accession}/review-relations`;
1060
+ urlPath = urlPath.replace('{accession}', encodeURIComponent(String(requestParameters['accession'])));
1061
+ return {
1062
+ path: urlPath,
1063
+ method: 'GET',
1064
+ headers: headerParameters,
1065
+ query: queryParameters,
1066
+ };
1067
+ });
1068
+ }
1069
+ /**
1070
+ * The SEC comment-letter relations from or to one filing (UPLOAD / CORRESP letters, the filings they review, text / PDF twins), with their status, exact quotes and candidates. `history=true` adds superseded observations. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1071
+ * SEC review relations of a filing
1072
+ */
1073
+ secFilingReviewRelationsRaw(requestParameters, initOverrides) {
1074
+ return __awaiter(this, void 0, void 0, function* () {
1075
+ const requestOptions = yield this.secFilingReviewRelationsRequestOpts(requestParameters);
1076
+ const response = yield this.request(requestOptions, initOverrides);
1077
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFilingReviewRelations200Response_1.SecFilingReviewRelations200ResponseFromJSON)(jsonValue));
1078
+ });
1079
+ }
1080
+ /**
1081
+ * The SEC comment-letter relations from or to one filing (UPLOAD / CORRESP letters, the filings they review, text / PDF twins), with their status, exact quotes and candidates. `history=true` adds superseded observations. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1082
+ * SEC review relations of a filing
1083
+ */
1084
+ secFilingReviewRelations(requestParameters, initOverrides) {
1085
+ return __awaiter(this, void 0, void 0, function* () {
1086
+ const response = yield this.secFilingReviewRelationsRaw(requestParameters, initOverrides);
1087
+ return yield response.value();
1088
+ });
1089
+ }
1090
+ /**
1091
+ * Creates request options for secFilings without sending the request
1092
+ */
1093
+ secFilingsRequestOpts(requestParameters) {
1094
+ return __awaiter(this, void 0, void 0, function* () {
1095
+ if (requestParameters['identifier'] == null) {
1096
+ throw new runtime.RequiredError('identifier', 'Required parameter "identifier" was null or undefined when calling secFilings().');
1097
+ }
1098
+ const queryParameters = {};
1099
+ if (requestParameters['identifier'] != null) {
1100
+ queryParameters['identifier'] = requestParameters['identifier'];
1101
+ }
1102
+ if (requestParameters['form'] != null) {
1103
+ queryParameters['form'] = requestParameters['form'];
1104
+ }
1105
+ if (requestParameters['filedFrom'] != null) {
1106
+ queryParameters['filed_from'] = requestParameters['filedFrom'].toISOString().substring(0, 10);
1107
+ }
1108
+ if (requestParameters['filedTo'] != null) {
1109
+ queryParameters['filed_to'] = requestParameters['filedTo'].toISOString().substring(0, 10);
1110
+ }
1111
+ if (requestParameters['order'] != null) {
1112
+ queryParameters['order'] = requestParameters['order'];
1113
+ }
1114
+ if (requestParameters['cursor'] != null) {
1115
+ queryParameters['cursor'] = requestParameters['cursor'];
1116
+ }
1117
+ if (requestParameters['limit'] != null) {
1118
+ queryParameters['limit'] = requestParameters['limit'];
1119
+ }
1120
+ const headerParameters = {};
1121
+ if (this.configuration && this.configuration.accessToken) {
1122
+ const token = this.configuration.accessToken;
1123
+ const tokenString = yield token("bearerAuth", []);
1124
+ if (tokenString) {
1125
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1126
+ }
1127
+ }
1128
+ let urlPath = `/v1/sec/filings`;
1129
+ return {
1130
+ path: urlPath,
1131
+ method: 'GET',
1132
+ headers: headerParameters,
1133
+ query: queryParameters,
1134
+ };
1135
+ });
1136
+ }
1137
+ /**
1138
+ * One filer\'s SEC filings, newest first: form, filing / report date, acceptance (null when SEC never stated it), 8-K items, primary document, the filer\'s roles. `identifier` is a ticker (a ticker the filer stated to the SEC) or a CIK — a CIK also finds a pre-IPO issuer or a fund manager without a ticker. `form_facet` lists every form the filer filed with its count (whatever the page\'s filters); OTC / ABS filings are never listed and are counted in `withheld`. Open a filing\'s documents with `GET /v1/sec/filings/{accession}`. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1139
+ * SEC filings of a filer
1140
+ */
1141
+ secFilingsRaw(requestParameters, initOverrides) {
1142
+ return __awaiter(this, void 0, void 0, function* () {
1143
+ const requestOptions = yield this.secFilingsRequestOpts(requestParameters);
1144
+ const response = yield this.request(requestOptions, initOverrides);
1145
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFilings200Response_1.SecFilings200ResponseFromJSON)(jsonValue));
1146
+ });
1147
+ }
1148
+ /**
1149
+ * One filer\'s SEC filings, newest first: form, filing / report date, acceptance (null when SEC never stated it), 8-K items, primary document, the filer\'s roles. `identifier` is a ticker (a ticker the filer stated to the SEC) or a CIK — a CIK also finds a pre-IPO issuer or a fund manager without a ticker. `form_facet` lists every form the filer filed with its count (whatever the page\'s filters); OTC / ABS filings are never listed and are counted in `withheld`. Open a filing\'s documents with `GET /v1/sec/filings/{accession}`. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1150
+ * SEC filings of a filer
1151
+ */
1152
+ secFilings(requestParameters, initOverrides) {
1153
+ return __awaiter(this, void 0, void 0, function* () {
1154
+ const response = yield this.secFilingsRaw(requestParameters, initOverrides);
1155
+ return yield response.value();
1156
+ });
1157
+ }
1158
+ /**
1159
+ * Creates request options for secFinancialsCatalog without sending the request
1160
+ */
1161
+ secFinancialsCatalogRequestOpts(requestParameters) {
1162
+ return __awaiter(this, void 0, void 0, function* () {
1163
+ const queryParameters = {};
1164
+ if (requestParameters['statement'] != null) {
1165
+ queryParameters['statement'] = requestParameters['statement'];
1166
+ }
1167
+ if (requestParameters['metricId'] != null) {
1168
+ queryParameters['metric_id'] = requestParameters['metricId'];
1169
+ }
1170
+ const headerParameters = {};
1171
+ if (this.configuration && this.configuration.accessToken) {
1172
+ const token = this.configuration.accessToken;
1173
+ const tokenString = yield token("bearerAuth", []);
1174
+ if (tokenString) {
1175
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1176
+ }
1177
+ }
1178
+ let urlPath = `/v1/sec/financials/catalog`;
1179
+ return {
1180
+ path: urlPath,
1181
+ method: 'GET',
1182
+ headers: headerParameters,
1183
+ query: queryParameters,
1184
+ };
1185
+ });
1186
+ }
1187
+ /**
1188
+ * The versioned rule catalog behind the standardized statements (`catalog_version`, rules per metric): which XBRL concepts and formulas produce each standardized metric. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1189
+ * Standardization rule catalog
1190
+ */
1191
+ secFinancialsCatalogRaw(requestParameters, initOverrides) {
1192
+ return __awaiter(this, void 0, void 0, function* () {
1193
+ const requestOptions = yield this.secFinancialsCatalogRequestOpts(requestParameters);
1194
+ const response = yield this.request(requestOptions, initOverrides);
1195
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFinancialsCatalog200Response_1.SecFinancialsCatalog200ResponseFromJSON)(jsonValue));
1196
+ });
1197
+ }
1198
+ /**
1199
+ * The versioned rule catalog behind the standardized statements (`catalog_version`, rules per metric): which XBRL concepts and formulas produce each standardized metric. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1200
+ * Standardization rule catalog
1201
+ */
1202
+ secFinancialsCatalog() {
1203
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
1204
+ const response = yield this.secFinancialsCatalogRaw(requestParameters, initOverrides);
1205
+ return yield response.value();
1206
+ });
1207
+ }
1208
+ /**
1209
+ * Creates request options for secFinancialsFact without sending the request
1210
+ */
1211
+ secFinancialsFactRequestOpts(requestParameters) {
1212
+ return __awaiter(this, void 0, void 0, function* () {
1213
+ if (requestParameters['id'] == null) {
1214
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling secFinancialsFact().');
1215
+ }
1216
+ const queryParameters = {};
1217
+ if (requestParameters['id'] != null) {
1218
+ queryParameters['id'] = requestParameters['id'];
1219
+ }
1220
+ if (requestParameters['maxDepth'] != null) {
1221
+ queryParameters['max_depth'] = requestParameters['maxDepth'];
1222
+ }
1223
+ if (requestParameters['maxMembers'] != null) {
1224
+ queryParameters['max_members'] = requestParameters['maxMembers'];
1225
+ }
1226
+ if (requestParameters['places'] != null) {
1227
+ queryParameters['places'] = requestParameters['places'];
1228
+ }
1229
+ const headerParameters = {};
1230
+ if (this.configuration && this.configuration.accessToken) {
1231
+ const token = this.configuration.accessToken;
1232
+ const tokenString = yield token("bearerAuth", []);
1233
+ if (tokenString) {
1234
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1235
+ }
1236
+ }
1237
+ let urlPath = `/v1/sec/financials/facts`;
1238
+ return {
1239
+ path: urlPath,
1240
+ method: 'GET',
1241
+ headers: headerParameters,
1242
+ query: queryParameters,
1243
+ };
1244
+ });
1245
+ }
1246
+ /**
1247
+ * One standardized fact explained: its value, the applied rule (only from a matching receipt; a current-catalog candidate is labelled apart), its source facts with original and annotated places, the bounded formula walk (several operands for a formula value) and quality flags. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1248
+ * Explain a standardized fact
1249
+ */
1250
+ secFinancialsFactRaw(requestParameters, initOverrides) {
1251
+ return __awaiter(this, void 0, void 0, function* () {
1252
+ const requestOptions = yield this.secFinancialsFactRequestOpts(requestParameters);
1253
+ const response = yield this.request(requestOptions, initOverrides);
1254
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFinancialsCatalog200Response_1.SecFinancialsCatalog200ResponseFromJSON)(jsonValue));
1255
+ });
1256
+ }
1257
+ /**
1258
+ * One standardized fact explained: its value, the applied rule (only from a matching receipt; a current-catalog candidate is labelled apart), its source facts with original and annotated places, the bounded formula walk (several operands for a formula value) and quality flags. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1259
+ * Explain a standardized fact
1260
+ */
1261
+ secFinancialsFact(requestParameters, initOverrides) {
1262
+ return __awaiter(this, void 0, void 0, function* () {
1263
+ const response = yield this.secFinancialsFactRaw(requestParameters, initOverrides);
1264
+ return yield response.value();
1265
+ });
1266
+ }
1267
+ /**
1268
+ * Creates request options for secFinancialsStatement without sending the request
1269
+ */
1270
+ secFinancialsStatementRequestOpts(requestParameters) {
1271
+ return __awaiter(this, void 0, void 0, function* () {
1272
+ if (requestParameters['cik'] == null) {
1273
+ throw new runtime.RequiredError('cik', 'Required parameter "cik" was null or undefined when calling secFinancialsStatement().');
1274
+ }
1275
+ if (requestParameters['statement'] == null) {
1276
+ throw new runtime.RequiredError('statement', 'Required parameter "statement" was null or undefined when calling secFinancialsStatement().');
1277
+ }
1278
+ const queryParameters = {};
1279
+ if (requestParameters['periodType'] != null) {
1280
+ queryParameters['period_type'] = requestParameters['periodType'];
1281
+ }
1282
+ if (requestParameters['fiscalYearFrom'] != null) {
1283
+ queryParameters['fiscal_year_from'] = requestParameters['fiscalYearFrom'];
1284
+ }
1285
+ if (requestParameters['fiscalYearTo'] != null) {
1286
+ queryParameters['fiscal_year_to'] = requestParameters['fiscalYearTo'];
1287
+ }
1288
+ if (requestParameters['metricId'] != null) {
1289
+ queryParameters['metric_id'] = requestParameters['metricId'];
1290
+ }
1291
+ if (requestParameters['otherEvidence'] != null) {
1292
+ queryParameters['other_evidence'] = requestParameters['otherEvidence'];
1293
+ }
1294
+ if (requestParameters['limit'] != null) {
1295
+ queryParameters['limit'] = requestParameters['limit'];
1296
+ }
1297
+ const headerParameters = {};
1298
+ if (this.configuration && this.configuration.accessToken) {
1299
+ const token = this.configuration.accessToken;
1300
+ const tokenString = yield token("bearerAuth", []);
1301
+ if (tokenString) {
1302
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1303
+ }
1304
+ }
1305
+ let urlPath = `/v1/sec/financials/{cik}/statements/{statement}`;
1306
+ urlPath = urlPath.replace('{cik}', encodeURIComponent(String(requestParameters['cik'])));
1307
+ urlPath = urlPath.replace('{statement}', encodeURIComponent(String(requestParameters['statement'])));
1308
+ return {
1309
+ path: urlPath,
1310
+ method: 'GET',
1311
+ headers: headerParameters,
1312
+ query: queryParameters,
1313
+ };
1314
+ });
1315
+ }
1316
+ /**
1317
+ * A company\'s standardized statement cells (the values of `/v1/standardized/_*`, unchanged) with their provenance: the applied rule from a matching receipt (`recorded`; `stale` / `legacy_unrecorded` / `not_observed` otherwise — never reconstructed), the source facts and their places. Values are exact decimal strings. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1318
+ * Standardized statement with provenance
1319
+ */
1320
+ secFinancialsStatementRaw(requestParameters, initOverrides) {
1321
+ return __awaiter(this, void 0, void 0, function* () {
1322
+ const requestOptions = yield this.secFinancialsStatementRequestOpts(requestParameters);
1323
+ const response = yield this.request(requestOptions, initOverrides);
1324
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecFinancialsCatalog200Response_1.SecFinancialsCatalog200ResponseFromJSON)(jsonValue));
1325
+ });
1326
+ }
1327
+ /**
1328
+ * A company\'s standardized statement cells (the values of `/v1/standardized/_*`, unchanged) with their provenance: the applied rule from a matching receipt (`recorded`; `stale` / `legacy_unrecorded` / `not_observed` otherwise — never reconstructed), the source facts and their places. Values are exact decimal strings. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1329
+ * Standardized statement with provenance
1330
+ */
1331
+ secFinancialsStatement(requestParameters, initOverrides) {
1332
+ return __awaiter(this, void 0, void 0, function* () {
1333
+ const response = yield this.secFinancialsStatementRaw(requestParameters, initOverrides);
1334
+ return yield response.value();
1335
+ });
1336
+ }
1337
+ /**
1338
+ * Creates request options for secHoldingsDeltas without sending the request
1339
+ */
1340
+ secHoldingsDeltasRequestOpts(requestParameters) {
1341
+ return __awaiter(this, void 0, void 0, function* () {
1342
+ if (requestParameters['periodEnd'] == null) {
1343
+ throw new runtime.RequiredError('periodEnd', 'Required parameter "periodEnd" was null or undefined when calling secHoldingsDeltas().');
1344
+ }
1345
+ const queryParameters = {};
1346
+ if (requestParameters['periodEnd'] != null) {
1347
+ queryParameters['period_end'] = requestParameters['periodEnd'].toISOString().substring(0, 10);
1348
+ }
1349
+ if (requestParameters['priorPeriodEnd'] != null) {
1350
+ queryParameters['prior_period_end'] = requestParameters['priorPeriodEnd'].toISOString().substring(0, 10);
1351
+ }
1352
+ if (requestParameters['cusip'] != null) {
1353
+ queryParameters['cusip'] = requestParameters['cusip'];
1354
+ }
1355
+ if (requestParameters['symbol'] != null) {
1356
+ queryParameters['symbol'] = requestParameters['symbol'];
1357
+ }
1358
+ if (requestParameters['issuerCik'] != null) {
1359
+ queryParameters['issuer_cik'] = requestParameters['issuerCik'];
1360
+ }
1361
+ if (requestParameters['instruments'] != null) {
1362
+ queryParameters['instruments'] = requestParameters['instruments'];
1363
+ }
1364
+ if (requestParameters['pinnedAt'] != null) {
1365
+ queryParameters['pinned_at'] = requestParameters['pinnedAt'].toISOString();
1366
+ }
1367
+ if (requestParameters['cursor'] != null) {
1368
+ queryParameters['cursor'] = requestParameters['cursor'];
1369
+ }
1370
+ if (requestParameters['limit'] != null) {
1371
+ queryParameters['limit'] = requestParameters['limit'];
1372
+ }
1373
+ const headerParameters = {};
1374
+ if (this.configuration && this.configuration.accessToken) {
1375
+ const token = this.configuration.accessToken;
1376
+ const tokenString = yield token("bearerAuth", []);
1377
+ if (tokenString) {
1378
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1379
+ }
1380
+ }
1381
+ let urlPath = `/v1/sec/holdings/deltas`;
1382
+ return {
1383
+ path: urlPath,
1384
+ method: 'GET',
1385
+ headers: headerParameters,
1386
+ query: queryParameters,
1387
+ };
1388
+ });
1389
+ }
1390
+ /**
1391
+ * Quarter-over-quarter changes of every manager\'s reported position in one security (new, added, reduced, sold out), each against the manager\'s own prior report. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1392
+ * Position changes in a security (13F)
1393
+ */
1394
+ secHoldingsDeltasRaw(requestParameters, initOverrides) {
1395
+ return __awaiter(this, void 0, void 0, function* () {
1396
+ const requestOptions = yield this.secHoldingsDeltasRequestOpts(requestParameters);
1397
+ const response = yield this.request(requestOptions, initOverrides);
1398
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecHoldingsHolders200Response_1.SecHoldingsHolders200ResponseFromJSON)(jsonValue));
1399
+ });
1400
+ }
1401
+ /**
1402
+ * Quarter-over-quarter changes of every manager\'s reported position in one security (new, added, reduced, sold out), each against the manager\'s own prior report. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1403
+ * Position changes in a security (13F)
1404
+ */
1405
+ secHoldingsDeltas(requestParameters, initOverrides) {
1406
+ return __awaiter(this, void 0, void 0, function* () {
1407
+ const response = yield this.secHoldingsDeltasRaw(requestParameters, initOverrides);
1408
+ return yield response.value();
1409
+ });
1410
+ }
1411
+ /**
1412
+ * Creates request options for secHoldingsFormFilers without sending the request
1413
+ */
1414
+ secHoldingsFormFilersRequestOpts(requestParameters) {
1415
+ return __awaiter(this, void 0, void 0, function* () {
1416
+ if (requestParameters['form'] == null) {
1417
+ throw new runtime.RequiredError('form', 'Required parameter "form" was null or undefined when calling secHoldingsFormFilers().');
1418
+ }
1419
+ const queryParameters = {};
1420
+ if (requestParameters['form'] != null) {
1421
+ queryParameters['form'] = requestParameters['form'];
1422
+ }
1423
+ if (requestParameters['exact'] != null) {
1424
+ queryParameters['exact'] = requestParameters['exact'];
1425
+ }
1426
+ if (requestParameters['name'] != null) {
1427
+ queryParameters['name'] = requestParameters['name'];
1428
+ }
1429
+ if (requestParameters['cik'] != null) {
1430
+ queryParameters['cik'] = requestParameters['cik'];
1431
+ }
1432
+ if (requestParameters['cursor'] != null) {
1433
+ queryParameters['cursor'] = requestParameters['cursor'];
1434
+ }
1435
+ if (requestParameters['limit'] != null) {
1436
+ queryParameters['limit'] = requestParameters['limit'];
1437
+ }
1438
+ const headerParameters = {};
1439
+ if (this.configuration && this.configuration.accessToken) {
1440
+ const token = this.configuration.accessToken;
1441
+ const tokenString = yield token("bearerAuth", []);
1442
+ if (tokenString) {
1443
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1444
+ }
1445
+ }
1446
+ let urlPath = `/v1/sec/holdings/form-filers`;
1447
+ return {
1448
+ path: urlPath,
1449
+ method: 'GET',
1450
+ headers: headerParameters,
1451
+ query: queryParameters,
1452
+ };
1453
+ });
1454
+ }
1455
+ /**
1456
+ * Every filer of one SEC form (e.g. all 13F-HR managers), with or without a ticker or exchange, by name or CIK. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1457
+ * Filers of an SEC form
1458
+ */
1459
+ secHoldingsFormFilersRaw(requestParameters, initOverrides) {
1460
+ return __awaiter(this, void 0, void 0, function* () {
1461
+ const requestOptions = yield this.secHoldingsFormFilersRequestOpts(requestParameters);
1462
+ const response = yield this.request(requestOptions, initOverrides);
1463
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecHoldingsHolders200Response_1.SecHoldingsHolders200ResponseFromJSON)(jsonValue));
1464
+ });
1465
+ }
1466
+ /**
1467
+ * Every filer of one SEC form (e.g. all 13F-HR managers), with or without a ticker or exchange, by name or CIK. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1468
+ * Filers of an SEC form
1469
+ */
1470
+ secHoldingsFormFilers(requestParameters, initOverrides) {
1471
+ return __awaiter(this, void 0, void 0, function* () {
1472
+ const response = yield this.secHoldingsFormFilersRaw(requestParameters, initOverrides);
1473
+ return yield response.value();
1474
+ });
1475
+ }
1476
+ /**
1477
+ * Creates request options for secHoldingsHolders without sending the request
1478
+ */
1479
+ secHoldingsHoldersRequestOpts(requestParameters) {
1480
+ return __awaiter(this, void 0, void 0, function* () {
1481
+ if (requestParameters['periodEnd'] == null) {
1482
+ throw new runtime.RequiredError('periodEnd', 'Required parameter "periodEnd" was null or undefined when calling secHoldingsHolders().');
1483
+ }
1484
+ const queryParameters = {};
1485
+ if (requestParameters['periodEnd'] != null) {
1486
+ queryParameters['period_end'] = requestParameters['periodEnd'].toISOString().substring(0, 10);
1487
+ }
1488
+ if (requestParameters['cusip'] != null) {
1489
+ queryParameters['cusip'] = requestParameters['cusip'];
1490
+ }
1491
+ if (requestParameters['symbol'] != null) {
1492
+ queryParameters['symbol'] = requestParameters['symbol'];
1493
+ }
1494
+ if (requestParameters['issuerCik'] != null) {
1495
+ queryParameters['issuer_cik'] = requestParameters['issuerCik'];
1496
+ }
1497
+ if (requestParameters['instruments'] != null) {
1498
+ queryParameters['instruments'] = requestParameters['instruments'];
1499
+ }
1500
+ if (requestParameters['pinnedAt'] != null) {
1501
+ queryParameters['pinned_at'] = requestParameters['pinnedAt'].toISOString();
1502
+ }
1503
+ if (requestParameters['cursor'] != null) {
1504
+ queryParameters['cursor'] = requestParameters['cursor'];
1505
+ }
1506
+ if (requestParameters['limit'] != null) {
1507
+ queryParameters['limit'] = requestParameters['limit'];
1508
+ }
1509
+ const headerParameters = {};
1510
+ if (this.configuration && this.configuration.accessToken) {
1511
+ const token = this.configuration.accessToken;
1512
+ const tokenString = yield token("bearerAuth", []);
1513
+ if (tokenString) {
1514
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1515
+ }
1516
+ }
1517
+ let urlPath = `/v1/sec/holdings/holders`;
1518
+ return {
1519
+ path: urlPath,
1520
+ method: 'GET',
1521
+ headers: headerParameters,
1522
+ query: queryParameters,
1523
+ };
1524
+ });
1525
+ }
1526
+ /**
1527
+ * Every 13F manager reporting a security for one quarter (all public 13F filers, historical; one row per manager report as filed, never a cross-manager sum), with how the CUSIP / symbol / issuer resolved (`identity`), the reconciled coverage boundary and the counting policy. Amendments and restatements follow `counting_policy`. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1528
+ * Institutional holders of a security (13F)
1529
+ */
1530
+ secHoldingsHoldersRaw(requestParameters, initOverrides) {
1531
+ return __awaiter(this, void 0, void 0, function* () {
1532
+ const requestOptions = yield this.secHoldingsHoldersRequestOpts(requestParameters);
1533
+ const response = yield this.request(requestOptions, initOverrides);
1534
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecHoldingsHolders200Response_1.SecHoldingsHolders200ResponseFromJSON)(jsonValue));
1535
+ });
1536
+ }
1537
+ /**
1538
+ * Every 13F manager reporting a security for one quarter (all public 13F filers, historical; one row per manager report as filed, never a cross-manager sum), with how the CUSIP / symbol / issuer resolved (`identity`), the reconciled coverage boundary and the counting policy. Amendments and restatements follow `counting_policy`. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1539
+ * Institutional holders of a security (13F)
1540
+ */
1541
+ secHoldingsHolders(requestParameters, initOverrides) {
1542
+ return __awaiter(this, void 0, void 0, function* () {
1543
+ const response = yield this.secHoldingsHoldersRaw(requestParameters, initOverrides);
1544
+ return yield response.value();
1545
+ });
1546
+ }
1547
+ /**
1548
+ * Creates request options for secHoldingsManagerPortfolio without sending the request
1549
+ */
1550
+ secHoldingsManagerPortfolioRequestOpts(requestParameters) {
1551
+ return __awaiter(this, void 0, void 0, function* () {
1552
+ if (requestParameters['periodEnd'] == null) {
1553
+ throw new runtime.RequiredError('periodEnd', 'Required parameter "periodEnd" was null or undefined when calling secHoldingsManagerPortfolio().');
1554
+ }
1555
+ if (requestParameters['cik'] == null) {
1556
+ throw new runtime.RequiredError('cik', 'Required parameter "cik" was null or undefined when calling secHoldingsManagerPortfolio().');
1557
+ }
1558
+ const queryParameters = {};
1559
+ if (requestParameters['periodEnd'] != null) {
1560
+ queryParameters['period_end'] = requestParameters['periodEnd'].toISOString().substring(0, 10);
1561
+ }
1562
+ if (requestParameters['instruments'] != null) {
1563
+ queryParameters['instruments'] = requestParameters['instruments'];
1564
+ }
1565
+ if (requestParameters['pinnedAt'] != null) {
1566
+ queryParameters['pinned_at'] = requestParameters['pinnedAt'].toISOString();
1567
+ }
1568
+ if (requestParameters['cursor'] != null) {
1569
+ queryParameters['cursor'] = requestParameters['cursor'];
1570
+ }
1571
+ if (requestParameters['limit'] != null) {
1572
+ queryParameters['limit'] = requestParameters['limit'];
1573
+ }
1574
+ const headerParameters = {};
1575
+ if (this.configuration && this.configuration.accessToken) {
1576
+ const token = this.configuration.accessToken;
1577
+ const tokenString = yield token("bearerAuth", []);
1578
+ if (tokenString) {
1579
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1580
+ }
1581
+ }
1582
+ let urlPath = `/v1/sec/holdings/managers/{cik}/portfolio`;
1583
+ urlPath = urlPath.replace('{cik}', encodeURIComponent(String(requestParameters['cik'])));
1584
+ return {
1585
+ path: urlPath,
1586
+ method: 'GET',
1587
+ headers: headerParameters,
1588
+ query: queryParameters,
1589
+ };
1590
+ });
1591
+ }
1592
+ /**
1593
+ * One 13F manager\'s reported positions for a quarter — any public 13F filer, with or without an exchange listing of its own. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1594
+ * Portfolio of a 13F manager
1595
+ */
1596
+ secHoldingsManagerPortfolioRaw(requestParameters, initOverrides) {
1597
+ return __awaiter(this, void 0, void 0, function* () {
1598
+ const requestOptions = yield this.secHoldingsManagerPortfolioRequestOpts(requestParameters);
1599
+ const response = yield this.request(requestOptions, initOverrides);
1600
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecHoldingsHolders200Response_1.SecHoldingsHolders200ResponseFromJSON)(jsonValue));
1601
+ });
1602
+ }
1603
+ /**
1604
+ * One 13F manager\'s reported positions for a quarter — any public 13F filer, with or without an exchange listing of its own. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1605
+ * Portfolio of a 13F manager
1606
+ */
1607
+ secHoldingsManagerPortfolio(requestParameters, initOverrides) {
1608
+ return __awaiter(this, void 0, void 0, function* () {
1609
+ const response = yield this.secHoldingsManagerPortfolioRaw(requestParameters, initOverrides);
1610
+ return yield response.value();
1611
+ });
1612
+ }
1613
+ /**
1614
+ * Creates request options for secIssuers without sending the request
1615
+ */
1616
+ secIssuersRequestOpts(requestParameters) {
1617
+ return __awaiter(this, void 0, void 0, function* () {
1618
+ const queryParameters = {};
1619
+ if (requestParameters['query'] != null) {
1620
+ queryParameters['query'] = requestParameters['query'];
1621
+ }
1622
+ if (requestParameters['phase'] != null) {
1623
+ queryParameters['phase'] = requestParameters['phase'];
1624
+ }
1625
+ if (requestParameters['form'] != null) {
1626
+ queryParameters['form'] = requestParameters['form'];
1627
+ }
1628
+ if (requestParameters['publicSeenFrom'] != null) {
1629
+ queryParameters['public_seen_from'] = requestParameters['publicSeenFrom'].toISOString().substring(0, 10);
1630
+ }
1631
+ if (requestParameters['publicSeenTo'] != null) {
1632
+ queryParameters['public_seen_to'] = requestParameters['publicSeenTo'].toISOString().substring(0, 10);
1633
+ }
1634
+ if (requestParameters['cursor'] != null) {
1635
+ queryParameters['cursor'] = requestParameters['cursor'];
1636
+ }
1637
+ if (requestParameters['limit'] != null) {
1638
+ queryParameters['limit'] = requestParameters['limit'];
1639
+ }
1640
+ const headerParameters = {};
1641
+ if (this.configuration && this.configuration.accessToken) {
1642
+ const token = this.configuration.accessToken;
1643
+ const tokenString = yield token("bearerAuth", []);
1644
+ if (tokenString) {
1645
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1646
+ }
1647
+ }
1648
+ let urlPath = `/v1/sec/issuers`;
1649
+ return {
1650
+ path: urlPath,
1651
+ method: 'GET',
1652
+ headers: headerParameters,
1653
+ query: queryParameters,
1654
+ };
1655
+ });
1656
+ }
1657
+ /**
1658
+ * Eligible SEC issuers by name, lifecycle phase, a form they filed or when they first became public — a research list of issuers, not an asset search. Several name candidates set `ambiguous`. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1659
+ * List SEC issuers
1660
+ */
1661
+ secIssuersRaw(requestParameters, initOverrides) {
1662
+ return __awaiter(this, void 0, void 0, function* () {
1663
+ const requestOptions = yield this.secIssuersRequestOpts(requestParameters);
1664
+ const response = yield this.request(requestOptions, initOverrides);
1665
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecIssuers200Response_1.SecIssuers200ResponseFromJSON)(jsonValue));
1666
+ });
1667
+ }
1668
+ /**
1669
+ * Eligible SEC issuers by name, lifecycle phase, a form they filed or when they first became public — a research list of issuers, not an asset search. Several name candidates set `ambiguous`. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for display: FREE.
1670
+ * List SEC issuers
1671
+ */
1672
+ secIssuers() {
1673
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
1674
+ const response = yield this.secIssuersRaw(requestParameters, initOverrides);
1675
+ return yield response.value();
1676
+ });
1677
+ }
1678
+ /**
1679
+ * Creates request options for secSearch without sending the request
1680
+ */
1681
+ secSearchRequestOpts(requestParameters) {
1682
+ return __awaiter(this, void 0, void 0, function* () {
1683
+ if (requestParameters['q'] == null) {
1684
+ throw new runtime.RequiredError('q', 'Required parameter "q" was null or undefined when calling secSearch().');
1685
+ }
1686
+ const queryParameters = {};
1687
+ if (requestParameters['q'] != null) {
1688
+ queryParameters['q'] = requestParameters['q'];
1689
+ }
1690
+ if (requestParameters['mode'] != null) {
1691
+ queryParameters['mode'] = requestParameters['mode'];
1692
+ }
1693
+ if (requestParameters['caseSensitive'] != null) {
1694
+ queryParameters['case_sensitive'] = requestParameters['caseSensitive'];
1695
+ }
1696
+ if (requestParameters['cik'] != null) {
1697
+ queryParameters['cik'] = requestParameters['cik'];
1698
+ }
1699
+ if (requestParameters['entityId'] != null) {
1700
+ queryParameters['entity_id'] = requestParameters['entityId'];
1701
+ }
1702
+ if (requestParameters['successors'] != null) {
1703
+ queryParameters['successors'] = requestParameters['successors'];
1704
+ }
1705
+ if (requestParameters['accession'] != null) {
1706
+ queryParameters['accession'] = requestParameters['accession'];
1707
+ }
1708
+ if (requestParameters['versionId'] != null) {
1709
+ queryParameters['version_id'] = requestParameters['versionId'];
1710
+ }
1711
+ if (requestParameters['form'] != null) {
1712
+ queryParameters['form'] = requestParameters['form'];
1713
+ }
1714
+ if (requestParameters['filename'] != null) {
1715
+ queryParameters['filename'] = requestParameters['filename'];
1716
+ }
1717
+ if (requestParameters['item'] != null) {
1718
+ queryParameters['item'] = requestParameters['item'];
1719
+ }
1720
+ if (requestParameters['exhibitType'] != null) {
1721
+ queryParameters['exhibit_type'] = requestParameters['exhibitType'];
1722
+ }
1723
+ if (requestParameters['filedFrom'] != null) {
1724
+ queryParameters['filed_from'] = requestParameters['filedFrom'].toISOString().substring(0, 10);
1725
+ }
1726
+ if (requestParameters['filedTo'] != null) {
1727
+ queryParameters['filed_to'] = requestParameters['filedTo'].toISOString().substring(0, 10);
1728
+ }
1729
+ if (requestParameters['cursor'] != null) {
1730
+ queryParameters['cursor'] = requestParameters['cursor'];
1731
+ }
1732
+ if (requestParameters['limit'] != null) {
1733
+ queryParameters['limit'] = requestParameters['limit'];
1734
+ }
1735
+ const headerParameters = {};
1736
+ if (this.configuration && this.configuration.accessToken) {
1737
+ const token = this.configuration.accessToken;
1738
+ const tokenString = yield token("bearerAuth", []);
1739
+ if (tokenString) {
1740
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1741
+ }
1742
+ }
1743
+ let urlPath = `/v1/sec/search`;
1744
+ return {
1745
+ path: urlPath,
1746
+ method: 'GET',
1747
+ headers: headerParameters,
1748
+ query: queryParameters,
1749
+ };
1750
+ });
1751
+ }
1752
+ /**
1753
+ * Find passages in SEC documents, with citations: `mode=lexical` (default; keywords and quoted phrases, English stemming, ranked) or `mode=literal` (the exact characters; `case_sensitive=false` folds case). The earnings search contract: every hit carries `match` (`type`, `lexical_rank`, `spans` = code-point offsets into `text`), `document_spans` (offsets into the document text and each block), the cited blocks with neighbors and footnotes, and `citation` (version, block, the original\'s permanent URL). `coverage` says how complete the answer is: `forms_indexed` / `years_indexed` state the index policy; empty hits with `completeness: complete` is a genuine no-result, anything else is not. A search WITHOUT any filter (no `cik` / `entity_id` / `accession` / `form` / date) reads at most `coverage.matches.cap` matching passages (index order, not newest-first): when more match, `readiness` is `partial` / `too_many_matches`, `coverage.matches` states how many passages were examined, that the total is unknown (`total: null`, `total_at_least`) and the filing dates the examined passages span, and `coverage.hint` says how to get complete results (narrow by filer, form or filing-date range); the hits returned are still ranked and cited. A filtered search is never capped. A capped search costs the same 100 credits (hits are returned). A stale or expired cursor answers 409 `restart_required`. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for rag: STANDARD.
1754
+ * Search SEC documents
1755
+ */
1756
+ secSearchRaw(requestParameters, initOverrides) {
1757
+ return __awaiter(this, void 0, void 0, function* () {
1758
+ const requestOptions = yield this.secSearchRequestOpts(requestParameters);
1759
+ const response = yield this.request(requestOptions, initOverrides);
1760
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, SecSearch200Response_1.SecSearch200ResponseFromJSON)(jsonValue));
1761
+ });
1762
+ }
1763
+ /**
1764
+ * Find passages in SEC documents, with citations: `mode=lexical` (default; keywords and quoted phrases, English stemming, ranked) or `mode=literal` (the exact characters; `case_sensitive=false` folds case). The earnings search contract: every hit carries `match` (`type`, `lexical_rank`, `spans` = code-point offsets into `text`), `document_spans` (offsets into the document text and each block), the cited blocks with neighbors and footnotes, and `citation` (version, block, the original\'s permanent URL). `coverage` says how complete the answer is: `forms_indexed` / `years_indexed` state the index policy; empty hits with `completeness: complete` is a genuine no-result, anything else is not. A search WITHOUT any filter (no `cik` / `entity_id` / `accession` / `form` / date) reads at most `coverage.matches.cap` matching passages (index order, not newest-first): when more match, `readiness` is `partial` / `too_many_matches`, `coverage.matches` states how many passages were examined, that the total is unknown (`total: null`, `total_at_least`) and the filing dates the examined passages span, and `coverage.hint` says how to get complete results (narrow by filer, form or filing-date range); the hits returned are still ranked and cited. A filtered search is never capped. A capped search costs the same 100 credits (hits are returned). A stale or expired cursor answers 409 `restart_required`. Read from Invinite\'s SEC document store: every answer carries `readiness` (`ready` / `partial` 200, `pending` 202 — retry later, not billed — `excluded` 403, `unknown` 404, `failed` 424, `not_ready` 503 while the capability is switched off). Originals, figures and PDFs are permanent public URLs; nothing is fetched from SEC on request. Minimum tier for rag: STANDARD.
1765
+ * Search SEC documents
1766
+ */
1767
+ secSearch(requestParameters, initOverrides) {
1768
+ return __awaiter(this, void 0, void 0, function* () {
1769
+ const response = yield this.secSearchRaw(requestParameters, initOverrides);
1770
+ return yield response.value();
1771
+ });
1772
+ }
1773
+ }
1774
+ exports.SECApi = SECApi;
1775
+ /**
1776
+ * @export
1777
+ */
1778
+ exports.SecDocumentFootnotesEnum = {
1779
+ True: 'true',
1780
+ False: 'false'
1781
+ };
1782
+ /**
1783
+ * @export
1784
+ */
1785
+ exports.SecDocumentFactPlacesStatusEnum = {
1786
+ Exact: 'exact',
1787
+ Ambiguous: 'ambiguous',
1788
+ Hidden: 'hidden',
1789
+ NotInDocument: 'not_in_document',
1790
+ Derived: 'derived',
1791
+ Unmatched: 'unmatched'
1792
+ };
1793
+ /**
1794
+ * @export
1795
+ */
1796
+ exports.SecDocumentSectionsOutlineEnum = {
1797
+ Legacy: 'legacy',
1798
+ Generic: 'generic'
1799
+ };
1800
+ /**
1801
+ * @export
1802
+ */
1803
+ exports.SecDocumentVersionFootnotesEnum = {
1804
+ True: 'true',
1805
+ False: 'false'
1806
+ };
1807
+ /**
1808
+ * @export
1809
+ */
1810
+ exports.SecExportsFinancialMetricsPeriodTypeEnum = {
1811
+ Quarterly: 'quarterly',
1812
+ Annual: 'annual',
1813
+ Ytd: 'ytd',
1814
+ Ttm: 'ttm'
1815
+ };
1816
+ /**
1817
+ * @export
1818
+ */
1819
+ exports.SecExportsFinancialMetricsModeEnum = {
1820
+ Standardized: 'standardized',
1821
+ Raw: 'raw'
1822
+ };
1823
+ /**
1824
+ * @export
1825
+ */
1826
+ exports.SecFilerLifecycleTraverseEnum = {
1827
+ Successors: 'successors',
1828
+ Predecessors: 'predecessors'
1829
+ };
1830
+ /**
1831
+ * @export
1832
+ */
1833
+ exports.SecFilingReviewRelationsDirectionEnum = {
1834
+ From: 'from',
1835
+ To: 'to',
1836
+ Both: 'both'
1837
+ };
1838
+ /**
1839
+ * @export
1840
+ */
1841
+ exports.SecFilingReviewRelationsKindEnum = {
1842
+ TextTwinOf: 'text_twin_of',
1843
+ RespondsTo: 'responds_to',
1844
+ ReviewsFiling: 'reviews_filing',
1845
+ ContinuesReview: 'continues_review'
1846
+ };
1847
+ /**
1848
+ * @export
1849
+ */
1850
+ exports.SecFilingReviewRelationsHistoryEnum = {
1851
+ True: 'true',
1852
+ False: 'false'
1853
+ };
1854
+ /**
1855
+ * @export
1856
+ */
1857
+ exports.SecFilingsOrderEnum = {
1858
+ Desc: 'desc',
1859
+ Asc: 'asc'
1860
+ };
1861
+ /**
1862
+ * @export
1863
+ */
1864
+ exports.SecFinancialsCatalogStatementEnum = {
1865
+ IncomeStatement: 'income_statement',
1866
+ BalanceSheet: 'balance_sheet',
1867
+ CashFlowStatement: 'cash_flow_statement'
1868
+ };
1869
+ /**
1870
+ * @export
1871
+ */
1872
+ exports.SecFinancialsFactPlacesEnum = {
1873
+ True: 'true',
1874
+ False: 'false'
1875
+ };
1876
+ /**
1877
+ * @export
1878
+ */
1879
+ exports.SecFinancialsStatementStatementEnum = {
1880
+ IncomeStatement: 'income_statement',
1881
+ BalanceSheet: 'balance_sheet',
1882
+ CashFlowStatement: 'cash_flow_statement'
1883
+ };
1884
+ /**
1885
+ * @export
1886
+ */
1887
+ exports.SecFinancialsStatementPeriodTypeEnum = {
1888
+ Quarterly: 'quarterly',
1889
+ Annual: 'annual',
1890
+ Ytd: 'ytd',
1891
+ Ttm: 'ttm'
1892
+ };
1893
+ /**
1894
+ * @export
1895
+ */
1896
+ exports.SecFinancialsStatementOtherEvidenceEnum = {
1897
+ True: 'true',
1898
+ False: 'false'
1899
+ };
1900
+ /**
1901
+ * @export
1902
+ */
1903
+ exports.SecHoldingsDeltasInstrumentsEnum = {
1904
+ Shareholder: 'shareholder',
1905
+ All: 'all'
1906
+ };
1907
+ /**
1908
+ * @export
1909
+ */
1910
+ exports.SecHoldingsFormFilersExactEnum = {
1911
+ True: 'true',
1912
+ False: 'false'
1913
+ };
1914
+ /**
1915
+ * @export
1916
+ */
1917
+ exports.SecHoldingsHoldersInstrumentsEnum = {
1918
+ Shareholder: 'shareholder',
1919
+ All: 'all'
1920
+ };
1921
+ /**
1922
+ * @export
1923
+ */
1924
+ exports.SecHoldingsManagerPortfolioInstrumentsEnum = {
1925
+ Shareholder: 'shareholder',
1926
+ All: 'all'
1927
+ };
1928
+ /**
1929
+ * @export
1930
+ */
1931
+ exports.SecIssuersPhaseEnum = {
1932
+ Observed: 'observed',
1933
+ PublicPreipo: 'public_preipo',
1934
+ ListedSpac: 'listed_spac',
1935
+ ListedOperating: 'listed_operating',
1936
+ FormerListed: 'former_listed',
1937
+ Unresolved: 'unresolved'
1938
+ };
1939
+ /**
1940
+ * @export
1941
+ */
1942
+ exports.SecSearchModeEnum = {
1943
+ Lexical: 'lexical',
1944
+ Literal: 'literal'
1945
+ };
1946
+ /**
1947
+ * @export
1948
+ */
1949
+ exports.SecSearchCaseSensitiveEnum = {
1950
+ True: 'true',
1951
+ False: 'false'
1952
+ };
1953
+ /**
1954
+ * @export
1955
+ */
1956
+ exports.SecSearchSuccessorsEnum = {
1957
+ True: 'true',
1958
+ False: 'false'
1959
+ };