@invinite-org/data-api-client 0.10.0 → 1.0.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 (292) hide show
  1. package/.openapi-generator/FILES +74 -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/EarningsCallsCompanyDocuments200ResponseDocumentsInner.d.ts +6 -0
  32. package/dist/esm/models/EarningsCallsCompanyDocuments200ResponseDocumentsInner.js +2 -0
  33. package/dist/esm/models/EarningsCallsDocuments200ResponseDocumentsInner.d.ts +6 -0
  34. package/dist/esm/models/EarningsCallsDocuments200ResponseDocumentsInner.js +2 -0
  35. package/dist/esm/models/EarningsCallsTranscript200Response.d.ts +3 -3
  36. package/dist/esm/models/EarningsCallsTranscript200Response.js +3 -3
  37. package/dist/esm/models/EarningsCallsTranscript200ResponseEvent.d.ts +233 -0
  38. package/dist/esm/models/{SecFilingsSections200ResponseCompaniesInnerSectionsInner.js → EarningsCallsTranscript200ResponseEvent.js} +136 -47
  39. package/dist/esm/models/IposRegistrationsList200ResponseRegistrationsInner.d.ts +7 -0
  40. package/dist/esm/models/IposRegistrationsList200ResponseRegistrationsInner.js +3 -0
  41. package/dist/esm/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPending.d.ts +89 -0
  42. package/dist/esm/models/{SecFilingsList200ResponseCompaniesInnerFilingsInner.js → IposRegistrationsList200ResponseRegistrationsInnerIpoPending.js} +43 -44
  43. package/dist/esm/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPendingProfile.d.ts +74 -0
  44. package/dist/esm/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPendingProfile.js +55 -0
  45. package/dist/{models/SecFilingsSearch200Response.d.ts → esm/models/SecDatasets200Response.d.ts} +26 -17
  46. package/dist/esm/models/{SecFilingsSearch200Response.js → SecDatasets200Response.js} +13 -19
  47. package/dist/esm/models/SecDocument200Response.d.ts +104 -0
  48. package/dist/esm/models/SecDocument200Response.js +42 -0
  49. package/dist/esm/models/SecDocumentFactPlaces200Response.d.ts +88 -0
  50. package/dist/esm/models/SecDocumentFactPlaces200Response.js +42 -0
  51. package/dist/esm/models/SecDocumentFigure200Response.d.ts +70 -0
  52. package/dist/esm/models/SecDocumentFigure200Response.js +42 -0
  53. package/dist/esm/models/SecDocumentSections200Response.d.ts +71 -0
  54. package/dist/esm/models/SecDocumentSections200Response.js +43 -0
  55. package/dist/esm/models/SecDocumentSections200ResponseSectionsInner.d.ts +85 -0
  56. package/dist/esm/models/SecDocumentSections200ResponseSectionsInner.js +44 -0
  57. package/dist/esm/models/SecFiler200Response.d.ts +80 -0
  58. package/dist/esm/models/{SecFilingsList200ResponseCompaniesInner.js → SecFiler200Response.js} +13 -25
  59. package/dist/esm/models/SecFilerCoverage200Response.d.ts +82 -0
  60. package/dist/esm/models/SecFilerCoverage200Response.js +42 -0
  61. package/dist/{models/SecFilingsList200ResponseCompaniesInnerFilingsInner.d.ts → esm/models/SecFilerLifecycle200Response.d.ts} +106 -53
  62. package/dist/esm/models/SecFilerLifecycle200Response.js +42 -0
  63. package/dist/esm/models/SecFilers200Response.d.ts +53 -0
  64. package/dist/esm/models/SecFilers200Response.js +43 -0
  65. package/dist/esm/models/{SecFilingsSearch200ResponseSourcesInner.d.ts → SecFilers200ResponseMatchesInner.d.ts} +31 -28
  66. package/dist/esm/models/SecFilers200ResponseMatchesInner.js +37 -0
  67. package/dist/esm/models/SecFiling200Response.d.ts +88 -0
  68. package/dist/{models/SecFilingsSearch200Response.js → esm/models/SecFiling200Response.js} +13 -26
  69. package/dist/esm/models/{SecFilingsList200Response.d.ts → SecFilingFacts200Response.d.ts} +43 -14
  70. package/dist/esm/models/SecFilingFacts200Response.js +42 -0
  71. package/dist/esm/models/SecFilingHoldings200Response.d.ts +74 -0
  72. package/dist/esm/models/SecFilingHoldings200Response.js +42 -0
  73. package/dist/esm/models/SecFilingReviewChain200Response.d.ts +92 -0
  74. package/dist/esm/models/SecFilingReviewChain200Response.js +42 -0
  75. package/dist/esm/models/SecFilingReviewRelations200Response.d.ts +88 -0
  76. package/dist/esm/models/SecFilingReviewRelations200Response.js +42 -0
  77. package/dist/esm/models/SecFilings200Response.d.ts +88 -0
  78. package/dist/esm/models/SecFilings200Response.js +44 -0
  79. package/dist/esm/models/SecFilings200ResponseFilingsInner.d.ts +81 -0
  80. package/dist/esm/models/SecFilings200ResponseFilingsInner.js +37 -0
  81. package/dist/esm/models/{SecFilingsAvailableFormTypes200Response.d.ts → SecFilings200ResponseFormFacetInner.d.ts} +25 -12
  82. package/dist/esm/models/{SecFilingsList200Response.js → SecFilings200ResponseFormFacetInner.js} +10 -17
  83. package/dist/esm/models/SecFinancialsCatalog200Response.d.ts +48 -0
  84. package/dist/esm/models/SecFinancialsCatalog200Response.js +42 -0
  85. package/dist/{models/SecFilingsSections200ResponseCompaniesInnerSectionsInner.d.ts → esm/models/SecHoldingsHolders200Response.d.ts} +88 -64
  86. package/dist/esm/models/SecHoldingsHolders200Response.js +42 -0
  87. package/dist/esm/models/{SecFilingsList200ResponseCompaniesInner.d.ts → SecIssuers200Response.d.ts} +45 -22
  88. package/dist/esm/models/SecIssuers200Response.js +42 -0
  89. package/dist/esm/models/{SecFilingsSections200ResponseCompaniesInner.d.ts → SecReadiness.d.ts} +34 -21
  90. package/dist/esm/models/SecReadiness.js +55 -0
  91. package/dist/esm/models/SecSearch200Response.d.ts +88 -0
  92. package/dist/esm/models/SecSearch200Response.js +51 -0
  93. package/dist/esm/models/SecSearch200ResponseHitsInner.d.ts +92 -0
  94. package/dist/esm/models/SecSearch200ResponseHitsInner.js +38 -0
  95. package/dist/esm/models/SecSearchCoverage.d.ts +61 -0
  96. package/dist/esm/models/SecSearchCoverage.js +52 -0
  97. package/dist/esm/models/SecSearchCoverageLexical.d.ts +51 -0
  98. package/dist/esm/models/{SecFilingsAvailableFormTypes200Response.js → SecSearchCoverageLexical.js} +10 -16
  99. package/dist/esm/models/SecStoreError.d.ts +52 -0
  100. package/dist/esm/models/{SecFilingsSections200Response.js → SecStoreError.js} +14 -16
  101. package/dist/esm/models/WebSocketFiling.d.ts +1 -1
  102. package/dist/esm/models/index.d.ts +36 -9
  103. package/dist/esm/models/index.js +36 -9
  104. package/dist/models/EarningsCallsCalendar200ResponseEventsInner.d.ts +7 -0
  105. package/dist/models/EarningsCallsCalendar200ResponseEventsInner.js +3 -0
  106. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendar.d.ts +95 -0
  107. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendar.js +103 -0
  108. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendarCall.d.ts +102 -0
  109. package/dist/models/{SecFilingsSections200ResponseCompaniesInnerSectionsInner.js → EarningsCallsCalendar200ResponseEventsInnerCalendarCall.js} +69 -67
  110. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendarCallSource.d.ts +56 -0
  111. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendarCallSource.js +66 -0
  112. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendarReport.d.ts +69 -0
  113. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendarReport.js +80 -0
  114. package/dist/models/EarningsCallsCalendar200ResponseEventsInnerCalendarReportSource.d.ts +44 -0
  115. package/dist/models/{SecFilingsList200ResponseCompaniesInner.js → EarningsCallsCalendar200ResponseEventsInnerCalendarReportSource.js} +22 -25
  116. package/dist/models/EarningsCallsCompanyDocuments200ResponseDocumentsInner.d.ts +6 -0
  117. package/dist/models/EarningsCallsCompanyDocuments200ResponseDocumentsInner.js +2 -0
  118. package/dist/models/EarningsCallsDocuments200ResponseDocumentsInner.d.ts +6 -0
  119. package/dist/models/EarningsCallsDocuments200ResponseDocumentsInner.js +2 -0
  120. package/dist/models/EarningsCallsTranscript200Response.d.ts +3 -3
  121. package/dist/models/EarningsCallsTranscript200Response.js +3 -3
  122. package/dist/models/EarningsCallsTranscript200ResponseEvent.d.ts +233 -0
  123. package/dist/models/EarningsCallsTranscript200ResponseEvent.js +196 -0
  124. package/dist/models/IposRegistrationsList200ResponseRegistrationsInner.d.ts +7 -0
  125. package/dist/models/IposRegistrationsList200ResponseRegistrationsInner.js +3 -0
  126. package/dist/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPending.d.ts +89 -0
  127. package/dist/models/{SecFilingsList200ResponseCompaniesInnerFilingsInner.js → IposRegistrationsList200ResponseRegistrationsInnerIpoPending.js} +49 -49
  128. package/dist/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPendingProfile.d.ts +74 -0
  129. package/dist/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPendingProfile.js +62 -0
  130. package/dist/{esm/models/SecFilingsSearch200Response.d.ts → models/SecDatasets200Response.d.ts} +26 -17
  131. package/dist/models/{SecFilingsSections200Response.js → SecDatasets200Response.js} +19 -21
  132. package/dist/models/SecDocument200Response.d.ts +104 -0
  133. package/dist/models/{SecFilingsSections200ResponseCompaniesInner.js → SecDocument200Response.js} +18 -28
  134. package/dist/models/SecDocumentFactPlaces200Response.d.ts +88 -0
  135. package/dist/models/SecDocumentFactPlaces200Response.js +49 -0
  136. package/dist/models/SecDocumentFigure200Response.d.ts +70 -0
  137. package/dist/models/SecDocumentFigure200Response.js +49 -0
  138. package/dist/models/SecDocumentSections200Response.d.ts +71 -0
  139. package/dist/models/SecDocumentSections200Response.js +50 -0
  140. package/dist/models/SecDocumentSections200ResponseSectionsInner.d.ts +85 -0
  141. package/dist/models/SecDocumentSections200ResponseSectionsInner.js +52 -0
  142. package/dist/models/SecFiler200Response.d.ts +80 -0
  143. package/dist/models/SecFiler200Response.js +49 -0
  144. package/dist/models/SecFilerCoverage200Response.d.ts +82 -0
  145. package/dist/models/{SecFilingsSearch200ResponseSourcesInner.js → SecFilerCoverage200Response.js} +18 -39
  146. package/dist/{esm/models/SecFilingsList200ResponseCompaniesInnerFilingsInner.d.ts → models/SecFilerLifecycle200Response.d.ts} +106 -53
  147. package/dist/models/SecFilerLifecycle200Response.js +49 -0
  148. package/dist/models/SecFilers200Response.d.ts +53 -0
  149. package/dist/models/SecFilers200Response.js +50 -0
  150. package/dist/models/{SecFilingsSearch200ResponseSourcesInner.d.ts → SecFilers200ResponseMatchesInner.d.ts} +31 -28
  151. package/dist/models/SecFilers200ResponseMatchesInner.js +44 -0
  152. package/dist/models/SecFiling200Response.d.ts +88 -0
  153. package/dist/models/SecFiling200Response.js +49 -0
  154. package/dist/models/{SecFilingsList200Response.d.ts → SecFilingFacts200Response.d.ts} +43 -14
  155. package/dist/models/SecFilingFacts200Response.js +49 -0
  156. package/dist/models/SecFilingHoldings200Response.d.ts +74 -0
  157. package/dist/models/SecFilingHoldings200Response.js +49 -0
  158. package/dist/models/SecFilingReviewChain200Response.d.ts +92 -0
  159. package/dist/models/SecFilingReviewChain200Response.js +49 -0
  160. package/dist/models/SecFilingReviewRelations200Response.d.ts +88 -0
  161. package/dist/models/SecFilingReviewRelations200Response.js +49 -0
  162. package/dist/models/SecFilings200Response.d.ts +88 -0
  163. package/dist/models/SecFilings200Response.js +51 -0
  164. package/dist/models/SecFilings200ResponseFilingsInner.d.ts +81 -0
  165. package/dist/models/SecFilings200ResponseFilingsInner.js +44 -0
  166. package/dist/{esm/models/SecFilingsSections200Response.d.ts → models/SecFilings200ResponseFormFacetInner.d.ts} +25 -13
  167. package/dist/models/SecFilings200ResponseFormFacetInner.js +44 -0
  168. package/dist/models/SecFinancialsCatalog200Response.d.ts +48 -0
  169. package/dist/models/SecFinancialsCatalog200Response.js +49 -0
  170. package/dist/{esm/models/SecFilingsSections200ResponseCompaniesInnerSectionsInner.d.ts → models/SecHoldingsHolders200Response.d.ts} +88 -64
  171. package/dist/models/SecHoldingsHolders200Response.js +49 -0
  172. package/dist/models/{SecFilingsList200ResponseCompaniesInner.d.ts → SecIssuers200Response.d.ts} +45 -22
  173. package/dist/models/SecIssuers200Response.js +49 -0
  174. package/dist/models/{SecFilingsSections200ResponseCompaniesInner.d.ts → SecReadiness.d.ts} +34 -21
  175. package/dist/models/SecReadiness.js +63 -0
  176. package/dist/models/SecSearch200Response.d.ts +88 -0
  177. package/dist/models/SecSearch200Response.js +59 -0
  178. package/dist/models/SecSearch200ResponseHitsInner.d.ts +92 -0
  179. package/dist/models/SecSearch200ResponseHitsInner.js +45 -0
  180. package/dist/models/SecSearchCoverage.d.ts +61 -0
  181. package/dist/models/SecSearchCoverage.js +60 -0
  182. package/dist/models/SecSearchCoverageLexical.d.ts +51 -0
  183. package/dist/models/{SecFilingsList200Response.js → SecSearchCoverageLexical.js} +15 -22
  184. package/dist/models/SecStoreError.d.ts +52 -0
  185. package/dist/models/{SecFilingsAvailableFormTypes200Response.js → SecStoreError.js} +19 -20
  186. package/dist/models/WebSocketFiling.d.ts +1 -1
  187. package/dist/models/index.d.ts +36 -9
  188. package/dist/models/index.js +36 -9
  189. package/docs/EarningsCallsApi.md +8 -2
  190. package/docs/EarningsCallsCalendar200ResponseEventsInner.md +2 -0
  191. package/docs/EarningsCallsCalendar200ResponseEventsInnerCalendar.md +43 -0
  192. package/docs/EarningsCallsCalendar200ResponseEventsInnerCalendarCall.md +45 -0
  193. package/docs/EarningsCallsCalendar200ResponseEventsInnerCalendarCallSource.md +43 -0
  194. package/docs/EarningsCallsCalendar200ResponseEventsInnerCalendarReport.md +41 -0
  195. package/docs/EarningsCallsCalendar200ResponseEventsInnerCalendarReportSource.md +39 -0
  196. package/docs/EarningsCallsCompanyDocuments200ResponseDocumentsInner.md +2 -0
  197. package/docs/EarningsCallsDocuments200ResponseDocumentsInner.md +2 -0
  198. package/docs/EarningsCallsTranscript200Response.md +1 -1
  199. package/docs/EarningsCallsTranscript200ResponseEvent.md +88 -0
  200. package/docs/IPOsApi.md +5 -2
  201. package/docs/IposRegistrationsList200ResponseRegistrationsInner.md +2 -0
  202. package/docs/IposRegistrationsList200ResponseRegistrationsInnerIpoPending.md +51 -0
  203. package/docs/IposRegistrationsList200ResponseRegistrationsInnerIpoPendingProfile.md +49 -0
  204. package/docs/SECApi.md +2646 -0
  205. package/docs/{SecFilingsList200Response.md → SecDatasets200Response.md} +11 -6
  206. package/docs/SecDocument200Response.md +53 -0
  207. package/docs/SecDocumentFactPlaces200Response.md +51 -0
  208. package/docs/SecDocumentFigure200Response.md +45 -0
  209. package/docs/SecDocumentSections200Response.md +47 -0
  210. package/docs/SecDocumentSections200ResponseSectionsInner.md +48 -0
  211. package/docs/SecFiler200Response.md +47 -0
  212. package/docs/SecFilerCoverage200Response.md +49 -0
  213. package/docs/SecFilerLifecycle200Response.md +65 -0
  214. package/docs/SecFilers200Response.md +41 -0
  215. package/docs/{SecFilingsSearch200ResponseSourcesInner.md → SecFilers200ResponseMatchesInner.md} +14 -14
  216. package/docs/SecFiling200Response.md +49 -0
  217. package/docs/SecFilingFacts200Response.md +43 -0
  218. package/docs/SecFilingHoldings200Response.md +47 -0
  219. package/docs/SecFilingReviewChain200Response.md +51 -0
  220. package/docs/SecFilingReviewRelations200Response.md +51 -0
  221. package/docs/SecFilings200Response.md +51 -0
  222. package/docs/SecFilings200ResponseFilingsInner.md +50 -0
  223. package/docs/{SecFilingsAvailableFormTypes200Response.md → SecFilings200ResponseFormFacetInner.md} +10 -6
  224. package/docs/{SecFilingsSections200Response.md → SecFinancialsCatalog200Response.md} +11 -6
  225. package/docs/SecHoldingsHolders200Response.md +67 -0
  226. package/docs/{SecFilingsList200ResponseCompaniesInner.md → SecIssuers200Response.md} +17 -10
  227. package/docs/SecReadiness.md +39 -0
  228. package/docs/SecSearch200Response.md +49 -0
  229. package/docs/SecSearch200ResponseHitsInner.md +52 -0
  230. package/docs/SecSearchCoverage.md +41 -0
  231. package/docs/{SecFilingsSearch200Response.md → SecSearchCoverageLexical.md} +13 -8
  232. package/docs/SecStoreError.md +41 -0
  233. package/docs/WebSocketFiling.md +1 -1
  234. package/package.json +1 -1
  235. package/src/apis/EarningsCallsApi.ts +32 -2
  236. package/src/apis/IPOsApi.ts +15 -2
  237. package/src/apis/SECApi.ts +2596 -0
  238. package/src/apis/index.ts +1 -1
  239. package/src/models/EarningsCallsCalendar200ResponseEventsInner.ts +15 -0
  240. package/src/models/EarningsCallsCalendar200ResponseEventsInnerCalendar.ts +159 -0
  241. package/src/models/EarningsCallsCalendar200ResponseEventsInnerCalendarCall.ts +163 -0
  242. package/src/models/EarningsCallsCalendar200ResponseEventsInnerCalendarCallSource.ts +102 -0
  243. package/src/models/EarningsCallsCalendar200ResponseEventsInnerCalendarReport.ts +123 -0
  244. package/src/models/EarningsCallsCalendar200ResponseEventsInnerCalendarReportSource.ts +84 -0
  245. package/src/models/EarningsCallsCompanyDocuments200ResponseDocumentsInner.ts +8 -0
  246. package/src/models/EarningsCallsDocuments200ResponseDocumentsInner.ts +8 -0
  247. package/src/models/EarningsCallsTranscript200Response.ts +10 -10
  248. package/src/models/EarningsCallsTranscript200ResponseEvent.ts +363 -0
  249. package/src/models/IposRegistrationsList200ResponseRegistrationsInner.ts +15 -0
  250. package/src/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPending.ts +157 -0
  251. package/src/models/IposRegistrationsList200ResponseRegistrationsInnerIpoPendingProfile.ts +121 -0
  252. package/src/models/{SecFilingsSearch200Response.ts → SecDatasets200Response.ts} +41 -30
  253. package/src/models/SecDocument200Response.ts +150 -0
  254. package/src/models/SecDocumentFactPlaces200Response.ts +142 -0
  255. package/src/models/{SecFilingsSections200ResponseCompaniesInner.ts → SecDocumentFigure200Response.ts} +63 -37
  256. package/src/models/SecDocumentSections200Response.ts +133 -0
  257. package/src/models/SecDocumentSections200ResponseSectionsInner.ts +135 -0
  258. package/src/models/{SecFilingsSearch200ResponseSourcesInner.ts → SecFiler200Response.ts} +67 -52
  259. package/src/models/SecFilerCoverage200Response.ts +134 -0
  260. package/src/models/{SecFilingsList200ResponseCompaniesInnerFilingsInner.ts → SecFilerLifecycle200Response.ts} +126 -92
  261. package/src/models/SecFilers200Response.ts +109 -0
  262. package/src/models/SecFilers200ResponseMatchesInner.ts +108 -0
  263. package/src/models/SecFiling200Response.ts +134 -0
  264. package/src/models/SecFilingFacts200Response.ts +110 -0
  265. package/src/models/SecFilingHoldings200Response.ts +126 -0
  266. package/src/models/SecFilingReviewChain200Response.ts +142 -0
  267. package/src/models/SecFilingReviewRelations200Response.ts +142 -0
  268. package/src/models/SecFilings200Response.ts +156 -0
  269. package/src/models/SecFilings200ResponseFilingsInner.ts +132 -0
  270. package/src/models/{SecFilingsSections200Response.ts → SecFilings200ResponseFormFacetInner.ts} +35 -25
  271. package/src/models/SecFinancialsCatalog200Response.ts +94 -0
  272. package/src/models/{SecFilingsSections200ResponseCompaniesInnerSectionsInner.ts → SecHoldingsHolders200Response.ts} +125 -111
  273. package/src/models/{SecFilingsList200ResponseCompaniesInner.ts → SecIssuers200Response.ts} +64 -38
  274. package/src/models/SecReadiness.ts +103 -0
  275. package/src/models/SecSearch200Response.ts +159 -0
  276. package/src/models/SecSearch200ResponseHitsInner.ts +148 -0
  277. package/src/models/SecSearchCoverage.ts +115 -0
  278. package/src/models/{SecFilingsList200Response.ts → SecSearchCoverageLexical.ts} +44 -26
  279. package/src/models/SecStoreError.ts +102 -0
  280. package/src/models/WebSocketFiling.ts +1 -1
  281. package/src/models/index.ts +36 -9
  282. package/dist/apis/SECFilingsApi.d.ts +0 -117
  283. package/dist/apis/SECFilingsApi.js +0 -284
  284. package/dist/esm/apis/SECFilingsApi.d.ts +0 -117
  285. package/dist/esm/apis/SECFilingsApi.js +0 -280
  286. package/dist/models/SecFilingsAvailableFormTypes200Response.d.ts +0 -32
  287. package/dist/models/SecFilingsSections200Response.d.ts +0 -33
  288. package/docs/SECFilingsApi.md +0 -344
  289. package/docs/SecFilingsList200ResponseCompaniesInnerFilingsInner.md +0 -54
  290. package/docs/SecFilingsSections200ResponseCompaniesInner.md +0 -38
  291. package/docs/SecFilingsSections200ResponseCompaniesInnerSectionsInner.md +0 -62
  292. package/src/apis/SECFilingsApi.ts +0 -368
@@ -0,0 +1,1955 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Invinite API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime';
24
+ import { SecDatasets200ResponseFromJSON, } from '../models/SecDatasets200Response';
25
+ import { SecDocument200ResponseFromJSON, } from '../models/SecDocument200Response';
26
+ import { SecDocumentFactPlaces200ResponseFromJSON, } from '../models/SecDocumentFactPlaces200Response';
27
+ import { SecDocumentFigure200ResponseFromJSON, } from '../models/SecDocumentFigure200Response';
28
+ import { SecDocumentSections200ResponseFromJSON, } from '../models/SecDocumentSections200Response';
29
+ import { SecFiler200ResponseFromJSON, } from '../models/SecFiler200Response';
30
+ import { SecFilerCoverage200ResponseFromJSON, } from '../models/SecFilerCoverage200Response';
31
+ import { SecFilerLifecycle200ResponseFromJSON, } from '../models/SecFilerLifecycle200Response';
32
+ import { SecFilers200ResponseFromJSON, } from '../models/SecFilers200Response';
33
+ import { SecFiling200ResponseFromJSON, } from '../models/SecFiling200Response';
34
+ import { SecFilingFacts200ResponseFromJSON, } from '../models/SecFilingFacts200Response';
35
+ import { SecFilingHoldings200ResponseFromJSON, } from '../models/SecFilingHoldings200Response';
36
+ import { SecFilingReviewChain200ResponseFromJSON, } from '../models/SecFilingReviewChain200Response';
37
+ import { SecFilingReviewRelations200ResponseFromJSON, } from '../models/SecFilingReviewRelations200Response';
38
+ import { SecFilings200ResponseFromJSON, } from '../models/SecFilings200Response';
39
+ import { SecFinancialsCatalog200ResponseFromJSON, } from '../models/SecFinancialsCatalog200Response';
40
+ import { SecHoldingsHolders200ResponseFromJSON, } from '../models/SecHoldingsHolders200Response';
41
+ import { SecIssuers200ResponseFromJSON, } from '../models/SecIssuers200Response';
42
+ import { SecSearch200ResponseFromJSON, } from '../models/SecSearch200Response';
43
+ /**
44
+ *
45
+ */
46
+ export class SECApi extends runtime.BaseAPI {
47
+ /**
48
+ * Creates request options for secDatasets without sending the request
49
+ */
50
+ secDatasetsRequestOpts() {
51
+ return __awaiter(this, void 0, void 0, function* () {
52
+ const queryParameters = {};
53
+ const headerParameters = {};
54
+ if (this.configuration && this.configuration.accessToken) {
55
+ const token = this.configuration.accessToken;
56
+ const tokenString = yield token("bearerAuth", []);
57
+ if (tokenString) {
58
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
59
+ }
60
+ }
61
+ let urlPath = `/v1/sec/datasets`;
62
+ return {
63
+ path: urlPath,
64
+ method: 'GET',
65
+ headers: headerParameters,
66
+ query: queryParameters,
67
+ };
68
+ });
69
+ }
70
+ /**
71
+ * 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.
72
+ * SEC dataset releases
73
+ */
74
+ secDatasetsRaw(initOverrides) {
75
+ return __awaiter(this, void 0, void 0, function* () {
76
+ const requestOptions = yield this.secDatasetsRequestOpts();
77
+ const response = yield this.request(requestOptions, initOverrides);
78
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecDatasets200ResponseFromJSON(jsonValue));
79
+ });
80
+ }
81
+ /**
82
+ * 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.
83
+ * SEC dataset releases
84
+ */
85
+ secDatasets(initOverrides) {
86
+ return __awaiter(this, void 0, void 0, function* () {
87
+ const response = yield this.secDatasetsRaw(initOverrides);
88
+ return yield response.value();
89
+ });
90
+ }
91
+ /**
92
+ * Creates request options for secDocument without sending the request
93
+ */
94
+ secDocumentRequestOpts(requestParameters) {
95
+ return __awaiter(this, void 0, void 0, function* () {
96
+ if (requestParameters['accession'] == null) {
97
+ throw new runtime.RequiredError('accession', 'Required parameter "accession" was null or undefined when calling secDocument().');
98
+ }
99
+ if (requestParameters['filename'] == null) {
100
+ throw new runtime.RequiredError('filename', 'Required parameter "filename" was null or undefined when calling secDocument().');
101
+ }
102
+ const queryParameters = {};
103
+ if (requestParameters['blocks'] != null) {
104
+ queryParameters['blocks'] = requestParameters['blocks'];
105
+ }
106
+ if (requestParameters['pages'] != null) {
107
+ queryParameters['pages'] = requestParameters['pages'];
108
+ }
109
+ if (requestParameters['printed'] != null) {
110
+ queryParameters['printed'] = requestParameters['printed'];
111
+ }
112
+ if (requestParameters['printedOccurrence'] != null) {
113
+ queryParameters['printed_occurrence'] = requestParameters['printedOccurrence'];
114
+ }
115
+ if (requestParameters['neighbors'] != null) {
116
+ queryParameters['neighbors'] = requestParameters['neighbors'];
117
+ }
118
+ if (requestParameters['footnotes'] != null) {
119
+ queryParameters['footnotes'] = requestParameters['footnotes'];
120
+ }
121
+ if (requestParameters['limit'] != null) {
122
+ queryParameters['limit'] = requestParameters['limit'];
123
+ }
124
+ const headerParameters = {};
125
+ if (this.configuration && this.configuration.accessToken) {
126
+ const token = this.configuration.accessToken;
127
+ const tokenString = yield token("bearerAuth", []);
128
+ if (tokenString) {
129
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
130
+ }
131
+ }
132
+ let urlPath = `/v1/sec/documents/{accession}/{filename}`;
133
+ urlPath = urlPath.replace('{accession}', encodeURIComponent(String(requestParameters['accession'])));
134
+ urlPath = urlPath.replace('{filename}', encodeURIComponent(String(requestParameters['filename'])));
135
+ return {
136
+ path: urlPath,
137
+ method: 'GET',
138
+ headers: headerParameters,
139
+ query: queryParameters,
140
+ };
141
+ });
142
+ }
143
+ /**
144
+ * 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.
145
+ * SEC document (current version)
146
+ */
147
+ secDocumentRaw(requestParameters, initOverrides) {
148
+ return __awaiter(this, void 0, void 0, function* () {
149
+ const requestOptions = yield this.secDocumentRequestOpts(requestParameters);
150
+ const response = yield this.request(requestOptions, initOverrides);
151
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecDocument200ResponseFromJSON(jsonValue));
152
+ });
153
+ }
154
+ /**
155
+ * 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.
156
+ * SEC document (current version)
157
+ */
158
+ secDocument(requestParameters, initOverrides) {
159
+ return __awaiter(this, void 0, void 0, function* () {
160
+ const response = yield this.secDocumentRaw(requestParameters, initOverrides);
161
+ return yield response.value();
162
+ });
163
+ }
164
+ /**
165
+ * Creates request options for secDocumentFactPlaces without sending the request
166
+ */
167
+ secDocumentFactPlacesRequestOpts(requestParameters) {
168
+ return __awaiter(this, void 0, void 0, function* () {
169
+ if (requestParameters['versionId'] == null) {
170
+ throw new runtime.RequiredError('versionId', 'Required parameter "versionId" was null or undefined when calling secDocumentFactPlaces().');
171
+ }
172
+ const queryParameters = {};
173
+ if (requestParameters['factId'] != null) {
174
+ queryParameters['fact_id'] = requestParameters['factId'];
175
+ }
176
+ if (requestParameters['status'] != null) {
177
+ queryParameters['status'] = requestParameters['status'];
178
+ }
179
+ if (requestParameters['cursor'] != null) {
180
+ queryParameters['cursor'] = requestParameters['cursor'];
181
+ }
182
+ if (requestParameters['limit'] != null) {
183
+ queryParameters['limit'] = requestParameters['limit'];
184
+ }
185
+ const headerParameters = {};
186
+ if (this.configuration && this.configuration.accessToken) {
187
+ const token = this.configuration.accessToken;
188
+ const tokenString = yield token("bearerAuth", []);
189
+ if (tokenString) {
190
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
191
+ }
192
+ }
193
+ let urlPath = `/v1/sec/versions/{version_id}/fact-places`;
194
+ urlPath = urlPath.replace('{version_id}', encodeURIComponent(String(requestParameters['versionId'])));
195
+ return {
196
+ path: urlPath,
197
+ method: 'GET',
198
+ headers: headerParameters,
199
+ query: queryParameters,
200
+ };
201
+ });
202
+ }
203
+ /**
204
+ * 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.
205
+ * XBRL fact places in a document version
206
+ */
207
+ secDocumentFactPlacesRaw(requestParameters, initOverrides) {
208
+ return __awaiter(this, void 0, void 0, function* () {
209
+ const requestOptions = yield this.secDocumentFactPlacesRequestOpts(requestParameters);
210
+ const response = yield this.request(requestOptions, initOverrides);
211
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecDocumentFactPlaces200ResponseFromJSON(jsonValue));
212
+ });
213
+ }
214
+ /**
215
+ * 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.
216
+ * XBRL fact places in a document version
217
+ */
218
+ secDocumentFactPlaces(requestParameters, initOverrides) {
219
+ return __awaiter(this, void 0, void 0, function* () {
220
+ const response = yield this.secDocumentFactPlacesRaw(requestParameters, initOverrides);
221
+ return yield response.value();
222
+ });
223
+ }
224
+ /**
225
+ * Creates request options for secDocumentFigure without sending the request
226
+ */
227
+ secDocumentFigureRequestOpts(requestParameters) {
228
+ return __awaiter(this, void 0, void 0, function* () {
229
+ if (requestParameters['versionId'] == null) {
230
+ throw new runtime.RequiredError('versionId', 'Required parameter "versionId" was null or undefined when calling secDocumentFigure().');
231
+ }
232
+ if (requestParameters['blockId'] == null) {
233
+ throw new runtime.RequiredError('blockId', 'Required parameter "blockId" was null or undefined when calling secDocumentFigure().');
234
+ }
235
+ const queryParameters = {};
236
+ const headerParameters = {};
237
+ if (this.configuration && this.configuration.accessToken) {
238
+ const token = this.configuration.accessToken;
239
+ const tokenString = yield token("bearerAuth", []);
240
+ if (tokenString) {
241
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
242
+ }
243
+ }
244
+ let urlPath = `/v1/sec/versions/{version_id}/figures/{block_id}`;
245
+ urlPath = urlPath.replace('{version_id}', encodeURIComponent(String(requestParameters['versionId'])));
246
+ urlPath = urlPath.replace('{block_id}', encodeURIComponent(String(requestParameters['blockId'])));
247
+ return {
248
+ path: urlPath,
249
+ method: 'GET',
250
+ headers: headerParameters,
251
+ query: queryParameters,
252
+ };
253
+ });
254
+ }
255
+ /**
256
+ * 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.
257
+ * SEC document figure
258
+ */
259
+ secDocumentFigureRaw(requestParameters, initOverrides) {
260
+ return __awaiter(this, void 0, void 0, function* () {
261
+ const requestOptions = yield this.secDocumentFigureRequestOpts(requestParameters);
262
+ const response = yield this.request(requestOptions, initOverrides);
263
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecDocumentFigure200ResponseFromJSON(jsonValue));
264
+ });
265
+ }
266
+ /**
267
+ * 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.
268
+ * SEC document figure
269
+ */
270
+ secDocumentFigure(requestParameters, initOverrides) {
271
+ return __awaiter(this, void 0, void 0, function* () {
272
+ const response = yield this.secDocumentFigureRaw(requestParameters, initOverrides);
273
+ return yield response.value();
274
+ });
275
+ }
276
+ /**
277
+ * Creates request options for secDocumentSections without sending the request
278
+ */
279
+ secDocumentSectionsRequestOpts(requestParameters) {
280
+ return __awaiter(this, void 0, void 0, function* () {
281
+ if (requestParameters['versionId'] == null) {
282
+ throw new runtime.RequiredError('versionId', 'Required parameter "versionId" was null or undefined when calling secDocumentSections().');
283
+ }
284
+ const queryParameters = {};
285
+ if (requestParameters['outline'] != null) {
286
+ queryParameters['outline'] = requestParameters['outline'];
287
+ }
288
+ const headerParameters = {};
289
+ if (this.configuration && this.configuration.accessToken) {
290
+ const token = this.configuration.accessToken;
291
+ const tokenString = yield token("bearerAuth", []);
292
+ if (tokenString) {
293
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
294
+ }
295
+ }
296
+ let urlPath = `/v1/sec/versions/{version_id}/sections`;
297
+ urlPath = urlPath.replace('{version_id}', encodeURIComponent(String(requestParameters['versionId'])));
298
+ return {
299
+ path: urlPath,
300
+ method: 'GET',
301
+ headers: headerParameters,
302
+ query: queryParameters,
303
+ };
304
+ });
305
+ }
306
+ /**
307
+ * 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.
308
+ * Sections of an SEC document version
309
+ */
310
+ secDocumentSectionsRaw(requestParameters, initOverrides) {
311
+ return __awaiter(this, void 0, void 0, function* () {
312
+ const requestOptions = yield this.secDocumentSectionsRequestOpts(requestParameters);
313
+ const response = yield this.request(requestOptions, initOverrides);
314
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecDocumentSections200ResponseFromJSON(jsonValue));
315
+ });
316
+ }
317
+ /**
318
+ * 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.
319
+ * Sections of an SEC document version
320
+ */
321
+ secDocumentSections(requestParameters, initOverrides) {
322
+ return __awaiter(this, void 0, void 0, function* () {
323
+ const response = yield this.secDocumentSectionsRaw(requestParameters, initOverrides);
324
+ return yield response.value();
325
+ });
326
+ }
327
+ /**
328
+ * Creates request options for secDocumentVersion without sending the request
329
+ */
330
+ secDocumentVersionRequestOpts(requestParameters) {
331
+ return __awaiter(this, void 0, void 0, function* () {
332
+ if (requestParameters['versionId'] == null) {
333
+ throw new runtime.RequiredError('versionId', 'Required parameter "versionId" was null or undefined when calling secDocumentVersion().');
334
+ }
335
+ const queryParameters = {};
336
+ if (requestParameters['blocks'] != null) {
337
+ queryParameters['blocks'] = requestParameters['blocks'];
338
+ }
339
+ if (requestParameters['pages'] != null) {
340
+ queryParameters['pages'] = requestParameters['pages'];
341
+ }
342
+ if (requestParameters['printed'] != null) {
343
+ queryParameters['printed'] = requestParameters['printed'];
344
+ }
345
+ if (requestParameters['printedOccurrence'] != null) {
346
+ queryParameters['printed_occurrence'] = requestParameters['printedOccurrence'];
347
+ }
348
+ if (requestParameters['neighbors'] != null) {
349
+ queryParameters['neighbors'] = requestParameters['neighbors'];
350
+ }
351
+ if (requestParameters['footnotes'] != null) {
352
+ queryParameters['footnotes'] = requestParameters['footnotes'];
353
+ }
354
+ if (requestParameters['limit'] != null) {
355
+ queryParameters['limit'] = requestParameters['limit'];
356
+ }
357
+ const headerParameters = {};
358
+ if (this.configuration && this.configuration.accessToken) {
359
+ const token = this.configuration.accessToken;
360
+ const tokenString = yield token("bearerAuth", []);
361
+ if (tokenString) {
362
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
363
+ }
364
+ }
365
+ let urlPath = `/v1/sec/versions/{version_id}`;
366
+ urlPath = urlPath.replace('{version_id}', encodeURIComponent(String(requestParameters['versionId'])));
367
+ return {
368
+ path: urlPath,
369
+ method: 'GET',
370
+ headers: headerParameters,
371
+ query: queryParameters,
372
+ };
373
+ });
374
+ }
375
+ /**
376
+ * 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.
377
+ * SEC document version
378
+ */
379
+ secDocumentVersionRaw(requestParameters, initOverrides) {
380
+ return __awaiter(this, void 0, void 0, function* () {
381
+ const requestOptions = yield this.secDocumentVersionRequestOpts(requestParameters);
382
+ const response = yield this.request(requestOptions, initOverrides);
383
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecDocument200ResponseFromJSON(jsonValue));
384
+ });
385
+ }
386
+ /**
387
+ * 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.
388
+ * SEC document version
389
+ */
390
+ secDocumentVersion(requestParameters, initOverrides) {
391
+ return __awaiter(this, void 0, void 0, function* () {
392
+ const response = yield this.secDocumentVersionRaw(requestParameters, initOverrides);
393
+ return yield response.value();
394
+ });
395
+ }
396
+ /**
397
+ * Creates request options for secExport without sending the request
398
+ */
399
+ secExportRequestOpts(requestParameters) {
400
+ return __awaiter(this, void 0, void 0, function* () {
401
+ if (requestParameters['exportId'] == null) {
402
+ throw new runtime.RequiredError('exportId', 'Required parameter "exportId" was null or undefined when calling secExport().');
403
+ }
404
+ const queryParameters = {};
405
+ const headerParameters = {};
406
+ if (this.configuration && this.configuration.accessToken) {
407
+ const token = this.configuration.accessToken;
408
+ const tokenString = yield token("bearerAuth", []);
409
+ if (tokenString) {
410
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
411
+ }
412
+ }
413
+ let urlPath = `/v1/sec/exports/{export_id}`;
414
+ urlPath = urlPath.replace('{export_id}', encodeURIComponent(String(requestParameters['exportId'])));
415
+ return {
416
+ path: urlPath,
417
+ method: 'GET',
418
+ headers: headerParameters,
419
+ query: queryParameters,
420
+ };
421
+ });
422
+ }
423
+ /**
424
+ * 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.
425
+ * Metric export manifest
426
+ */
427
+ secExportRaw(requestParameters, initOverrides) {
428
+ return __awaiter(this, void 0, void 0, function* () {
429
+ const requestOptions = yield this.secExportRequestOpts(requestParameters);
430
+ const response = yield this.request(requestOptions, initOverrides);
431
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFinancialsCatalog200ResponseFromJSON(jsonValue));
432
+ });
433
+ }
434
+ /**
435
+ * 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.
436
+ * Metric export manifest
437
+ */
438
+ secExport(requestParameters, initOverrides) {
439
+ return __awaiter(this, void 0, void 0, function* () {
440
+ const response = yield this.secExportRaw(requestParameters, initOverrides);
441
+ return yield response.value();
442
+ });
443
+ }
444
+ /**
445
+ * Creates request options for secExportFile without sending the request
446
+ */
447
+ secExportFileRequestOpts(requestParameters) {
448
+ return __awaiter(this, void 0, void 0, function* () {
449
+ if (requestParameters['exportId'] == null) {
450
+ throw new runtime.RequiredError('exportId', 'Required parameter "exportId" was null or undefined when calling secExportFile().');
451
+ }
452
+ const queryParameters = {};
453
+ const headerParameters = {};
454
+ if (this.configuration && this.configuration.accessToken) {
455
+ const token = this.configuration.accessToken;
456
+ const tokenString = yield token("bearerAuth", []);
457
+ if (tokenString) {
458
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
459
+ }
460
+ }
461
+ let urlPath = `/v1/sec/exports/{export_id}/file`;
462
+ urlPath = urlPath.replace('{export_id}', encodeURIComponent(String(requestParameters['exportId'])));
463
+ return {
464
+ path: urlPath,
465
+ method: 'GET',
466
+ headers: headerParameters,
467
+ query: queryParameters,
468
+ };
469
+ });
470
+ }
471
+ /**
472
+ * 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.
473
+ * Download a metric export
474
+ */
475
+ secExportFileRaw(requestParameters, initOverrides) {
476
+ return __awaiter(this, void 0, void 0, function* () {
477
+ const requestOptions = yield this.secExportFileRequestOpts(requestParameters);
478
+ const response = yield this.request(requestOptions, initOverrides);
479
+ return new runtime.BlobApiResponse(response);
480
+ });
481
+ }
482
+ /**
483
+ * 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.
484
+ * Download a metric export
485
+ */
486
+ secExportFile(requestParameters, initOverrides) {
487
+ return __awaiter(this, void 0, void 0, function* () {
488
+ const response = yield this.secExportFileRaw(requestParameters, initOverrides);
489
+ return yield response.value();
490
+ });
491
+ }
492
+ /**
493
+ * Creates request options for secExportsFinancialMetrics without sending the request
494
+ */
495
+ secExportsFinancialMetricsRequestOpts(requestParameters) {
496
+ return __awaiter(this, void 0, void 0, function* () {
497
+ if (requestParameters['metricId'] == null) {
498
+ throw new runtime.RequiredError('metricId', 'Required parameter "metricId" was null or undefined when calling secExportsFinancialMetrics().');
499
+ }
500
+ if (requestParameters['fiscalYear'] == null) {
501
+ throw new runtime.RequiredError('fiscalYear', 'Required parameter "fiscalYear" was null or undefined when calling secExportsFinancialMetrics().');
502
+ }
503
+ const queryParameters = {};
504
+ if (requestParameters['metricId'] != null) {
505
+ queryParameters['metric_id'] = requestParameters['metricId'];
506
+ }
507
+ if (requestParameters['fiscalYear'] != null) {
508
+ queryParameters['fiscal_year'] = requestParameters['fiscalYear'];
509
+ }
510
+ if (requestParameters['periodType'] != null) {
511
+ queryParameters['period_type'] = requestParameters['periodType'];
512
+ }
513
+ if (requestParameters['mode'] != null) {
514
+ queryParameters['mode'] = requestParameters['mode'];
515
+ }
516
+ if (requestParameters['generation'] != null) {
517
+ queryParameters['generation'] = requestParameters['generation'];
518
+ }
519
+ const headerParameters = {};
520
+ if (this.configuration && this.configuration.accessToken) {
521
+ const token = this.configuration.accessToken;
522
+ const tokenString = yield token("bearerAuth", []);
523
+ if (tokenString) {
524
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
525
+ }
526
+ }
527
+ let urlPath = `/v1/sec/exports/financial-metrics`;
528
+ return {
529
+ path: urlPath,
530
+ method: 'GET',
531
+ headers: headerParameters,
532
+ query: queryParameters,
533
+ };
534
+ });
535
+ }
536
+ /**
537
+ * 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.
538
+ * Request an annual metric export
539
+ */
540
+ secExportsFinancialMetricsRaw(requestParameters, initOverrides) {
541
+ return __awaiter(this, void 0, void 0, function* () {
542
+ const requestOptions = yield this.secExportsFinancialMetricsRequestOpts(requestParameters);
543
+ const response = yield this.request(requestOptions, initOverrides);
544
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFinancialsCatalog200ResponseFromJSON(jsonValue));
545
+ });
546
+ }
547
+ /**
548
+ * 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.
549
+ * Request an annual metric export
550
+ */
551
+ secExportsFinancialMetrics(requestParameters, initOverrides) {
552
+ return __awaiter(this, void 0, void 0, function* () {
553
+ const response = yield this.secExportsFinancialMetricsRaw(requestParameters, initOverrides);
554
+ return yield response.value();
555
+ });
556
+ }
557
+ /**
558
+ * Creates request options for secFiler without sending the request
559
+ */
560
+ secFilerRequestOpts(requestParameters) {
561
+ return __awaiter(this, void 0, void 0, function* () {
562
+ if (requestParameters['cik'] == null) {
563
+ throw new runtime.RequiredError('cik', 'Required parameter "cik" was null or undefined when calling secFiler().');
564
+ }
565
+ const queryParameters = {};
566
+ const headerParameters = {};
567
+ if (this.configuration && this.configuration.accessToken) {
568
+ const token = this.configuration.accessToken;
569
+ const tokenString = yield token("bearerAuth", []);
570
+ if (tokenString) {
571
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
572
+ }
573
+ }
574
+ let urlPath = `/v1/sec/filers/{cik}`;
575
+ urlPath = urlPath.replace('{cik}', encodeURIComponent(String(requestParameters['cik'])));
576
+ return {
577
+ path: urlPath,
578
+ method: 'GET',
579
+ headers: headerParameters,
580
+ query: queryParameters,
581
+ };
582
+ });
583
+ }
584
+ /**
585
+ * 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.
586
+ * SEC filer
587
+ */
588
+ secFilerRaw(requestParameters, initOverrides) {
589
+ return __awaiter(this, void 0, void 0, function* () {
590
+ const requestOptions = yield this.secFilerRequestOpts(requestParameters);
591
+ const response = yield this.request(requestOptions, initOverrides);
592
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFiler200ResponseFromJSON(jsonValue));
593
+ });
594
+ }
595
+ /**
596
+ * 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.
597
+ * SEC filer
598
+ */
599
+ secFiler(requestParameters, initOverrides) {
600
+ return __awaiter(this, void 0, void 0, function* () {
601
+ const response = yield this.secFilerRaw(requestParameters, initOverrides);
602
+ return yield response.value();
603
+ });
604
+ }
605
+ /**
606
+ * Creates request options for secFilerCoverage without sending the request
607
+ */
608
+ secFilerCoverageRequestOpts(requestParameters) {
609
+ return __awaiter(this, void 0, void 0, function* () {
610
+ if (requestParameters['cik'] == null) {
611
+ throw new runtime.RequiredError('cik', 'Required parameter "cik" was null or undefined when calling secFilerCoverage().');
612
+ }
613
+ const queryParameters = {};
614
+ if (requestParameters['since'] != null) {
615
+ queryParameters['since'] = requestParameters['since'].toISOString().substring(0, 10);
616
+ }
617
+ const headerParameters = {};
618
+ if (this.configuration && this.configuration.accessToken) {
619
+ const token = this.configuration.accessToken;
620
+ const tokenString = yield token("bearerAuth", []);
621
+ if (tokenString) {
622
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
623
+ }
624
+ }
625
+ let urlPath = `/v1/sec/filers/{cik}/coverage`;
626
+ urlPath = urlPath.replace('{cik}', encodeURIComponent(String(requestParameters['cik'])));
627
+ return {
628
+ path: urlPath,
629
+ method: 'GET',
630
+ headers: headerParameters,
631
+ query: queryParameters,
632
+ };
633
+ });
634
+ }
635
+ /**
636
+ * 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.
637
+ * SEC filer document coverage
638
+ */
639
+ secFilerCoverageRaw(requestParameters, initOverrides) {
640
+ return __awaiter(this, void 0, void 0, function* () {
641
+ const requestOptions = yield this.secFilerCoverageRequestOpts(requestParameters);
642
+ const response = yield this.request(requestOptions, initOverrides);
643
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFilerCoverage200ResponseFromJSON(jsonValue));
644
+ });
645
+ }
646
+ /**
647
+ * 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.
648
+ * SEC filer document coverage
649
+ */
650
+ secFilerCoverage(requestParameters, initOverrides) {
651
+ return __awaiter(this, void 0, void 0, function* () {
652
+ const response = yield this.secFilerCoverageRaw(requestParameters, initOverrides);
653
+ return yield response.value();
654
+ });
655
+ }
656
+ /**
657
+ * Creates request options for secFilerLifecycle without sending the request
658
+ */
659
+ secFilerLifecycleRequestOpts(requestParameters) {
660
+ return __awaiter(this, void 0, void 0, function* () {
661
+ if (requestParameters['cik'] == null) {
662
+ throw new runtime.RequiredError('cik', 'Required parameter "cik" was null or undefined when calling secFilerLifecycle().');
663
+ }
664
+ const queryParameters = {};
665
+ if (requestParameters['traverse'] != null) {
666
+ queryParameters['traverse'] = requestParameters['traverse'];
667
+ }
668
+ if (requestParameters['maxHops'] != null) {
669
+ queryParameters['max_hops'] = requestParameters['maxHops'];
670
+ }
671
+ const headerParameters = {};
672
+ if (this.configuration && this.configuration.accessToken) {
673
+ const token = this.configuration.accessToken;
674
+ const tokenString = yield token("bearerAuth", []);
675
+ if (tokenString) {
676
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
677
+ }
678
+ }
679
+ let urlPath = `/v1/sec/filers/{cik}/lifecycle`;
680
+ urlPath = urlPath.replace('{cik}', encodeURIComponent(String(requestParameters['cik'])));
681
+ return {
682
+ path: urlPath,
683
+ method: 'GET',
684
+ headers: headerParameters,
685
+ query: queryParameters,
686
+ };
687
+ });
688
+ }
689
+ /**
690
+ * 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.
691
+ * SEC issuer lifecycle
692
+ */
693
+ secFilerLifecycleRaw(requestParameters, initOverrides) {
694
+ return __awaiter(this, void 0, void 0, function* () {
695
+ const requestOptions = yield this.secFilerLifecycleRequestOpts(requestParameters);
696
+ const response = yield this.request(requestOptions, initOverrides);
697
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFilerLifecycle200ResponseFromJSON(jsonValue));
698
+ });
699
+ }
700
+ /**
701
+ * 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.
702
+ * SEC issuer lifecycle
703
+ */
704
+ secFilerLifecycle(requestParameters, initOverrides) {
705
+ return __awaiter(this, void 0, void 0, function* () {
706
+ const response = yield this.secFilerLifecycleRaw(requestParameters, initOverrides);
707
+ return yield response.value();
708
+ });
709
+ }
710
+ /**
711
+ * Creates request options for secFilers without sending the request
712
+ */
713
+ secFilersRequestOpts(requestParameters) {
714
+ return __awaiter(this, void 0, void 0, function* () {
715
+ const queryParameters = {};
716
+ if (requestParameters['name'] != null) {
717
+ queryParameters['name'] = requestParameters['name'];
718
+ }
719
+ if (requestParameters['ticker'] != null) {
720
+ queryParameters['ticker'] = requestParameters['ticker'];
721
+ }
722
+ if (requestParameters['form'] != null) {
723
+ queryParameters['form'] = requestParameters['form'];
724
+ }
725
+ if (requestParameters['limit'] != null) {
726
+ queryParameters['limit'] = requestParameters['limit'];
727
+ }
728
+ const headerParameters = {};
729
+ if (this.configuration && this.configuration.accessToken) {
730
+ const token = this.configuration.accessToken;
731
+ const tokenString = yield token("bearerAuth", []);
732
+ if (tokenString) {
733
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
734
+ }
735
+ }
736
+ let urlPath = `/v1/sec/filers`;
737
+ return {
738
+ path: urlPath,
739
+ method: 'GET',
740
+ headers: headerParameters,
741
+ query: queryParameters,
742
+ };
743
+ });
744
+ }
745
+ /**
746
+ * 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.
747
+ * Find SEC filers
748
+ */
749
+ secFilersRaw(requestParameters, initOverrides) {
750
+ return __awaiter(this, void 0, void 0, function* () {
751
+ const requestOptions = yield this.secFilersRequestOpts(requestParameters);
752
+ const response = yield this.request(requestOptions, initOverrides);
753
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFilers200ResponseFromJSON(jsonValue));
754
+ });
755
+ }
756
+ /**
757
+ * 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.
758
+ * Find SEC filers
759
+ */
760
+ secFilers() {
761
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
762
+ const response = yield this.secFilersRaw(requestParameters, initOverrides);
763
+ return yield response.value();
764
+ });
765
+ }
766
+ /**
767
+ * Creates request options for secFiling without sending the request
768
+ */
769
+ secFilingRequestOpts(requestParameters) {
770
+ return __awaiter(this, void 0, void 0, function* () {
771
+ if (requestParameters['accession'] == null) {
772
+ throw new runtime.RequiredError('accession', 'Required parameter "accession" was null or undefined when calling secFiling().');
773
+ }
774
+ const queryParameters = {};
775
+ const headerParameters = {};
776
+ if (this.configuration && this.configuration.accessToken) {
777
+ const token = this.configuration.accessToken;
778
+ const tokenString = yield token("bearerAuth", []);
779
+ if (tokenString) {
780
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
781
+ }
782
+ }
783
+ let urlPath = `/v1/sec/filings/{accession}`;
784
+ urlPath = urlPath.replace('{accession}', encodeURIComponent(String(requestParameters['accession'])));
785
+ return {
786
+ path: urlPath,
787
+ method: 'GET',
788
+ headers: headerParameters,
789
+ query: queryParameters,
790
+ };
791
+ });
792
+ }
793
+ /**
794
+ * 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.
795
+ * SEC filing and its documents
796
+ */
797
+ secFilingRaw(requestParameters, initOverrides) {
798
+ return __awaiter(this, void 0, void 0, function* () {
799
+ const requestOptions = yield this.secFilingRequestOpts(requestParameters);
800
+ const response = yield this.request(requestOptions, initOverrides);
801
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFiling200ResponseFromJSON(jsonValue));
802
+ });
803
+ }
804
+ /**
805
+ * 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.
806
+ * SEC filing and its documents
807
+ */
808
+ secFiling(requestParameters, initOverrides) {
809
+ return __awaiter(this, void 0, void 0, function* () {
810
+ const response = yield this.secFilingRaw(requestParameters, initOverrides);
811
+ return yield response.value();
812
+ });
813
+ }
814
+ /**
815
+ * Creates request options for secFilingFacts without sending the request
816
+ */
817
+ secFilingFactsRequestOpts(requestParameters) {
818
+ return __awaiter(this, void 0, void 0, function* () {
819
+ if (requestParameters['accession'] == null) {
820
+ throw new runtime.RequiredError('accession', 'Required parameter "accession" was null or undefined when calling secFilingFacts().');
821
+ }
822
+ const queryParameters = {};
823
+ if (requestParameters['tag'] != null) {
824
+ queryParameters['tag'] = requestParameters['tag'];
825
+ }
826
+ const headerParameters = {};
827
+ if (this.configuration && this.configuration.accessToken) {
828
+ const token = this.configuration.accessToken;
829
+ const tokenString = yield token("bearerAuth", []);
830
+ if (tokenString) {
831
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
832
+ }
833
+ }
834
+ let urlPath = `/v1/sec/filings/{accession}/facts`;
835
+ urlPath = urlPath.replace('{accession}', encodeURIComponent(String(requestParameters['accession'])));
836
+ return {
837
+ path: urlPath,
838
+ method: 'GET',
839
+ headers: headerParameters,
840
+ query: queryParameters,
841
+ };
842
+ });
843
+ }
844
+ /**
845
+ * 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.
846
+ * SEC dataset facts of a filing
847
+ */
848
+ secFilingFactsRaw(requestParameters, initOverrides) {
849
+ return __awaiter(this, void 0, void 0, function* () {
850
+ const requestOptions = yield this.secFilingFactsRequestOpts(requestParameters);
851
+ const response = yield this.request(requestOptions, initOverrides);
852
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFilingFacts200ResponseFromJSON(jsonValue));
853
+ });
854
+ }
855
+ /**
856
+ * 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.
857
+ * SEC dataset facts of a filing
858
+ */
859
+ secFilingFacts(requestParameters, initOverrides) {
860
+ return __awaiter(this, void 0, void 0, function* () {
861
+ const response = yield this.secFilingFactsRaw(requestParameters, initOverrides);
862
+ return yield response.value();
863
+ });
864
+ }
865
+ /**
866
+ * Creates request options for secFilingHoldings without sending the request
867
+ */
868
+ secFilingHoldingsRequestOpts(requestParameters) {
869
+ return __awaiter(this, void 0, void 0, function* () {
870
+ if (requestParameters['accession'] == null) {
871
+ throw new runtime.RequiredError('accession', 'Required parameter "accession" was null or undefined when calling secFilingHoldings().');
872
+ }
873
+ const queryParameters = {};
874
+ if (requestParameters['after'] != null) {
875
+ queryParameters['after'] = requestParameters['after'];
876
+ }
877
+ if (requestParameters['limit'] != null) {
878
+ queryParameters['limit'] = requestParameters['limit'];
879
+ }
880
+ const headerParameters = {};
881
+ if (this.configuration && this.configuration.accessToken) {
882
+ const token = this.configuration.accessToken;
883
+ const tokenString = yield token("bearerAuth", []);
884
+ if (tokenString) {
885
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
886
+ }
887
+ }
888
+ let urlPath = `/v1/sec/filings/{accession}/holdings`;
889
+ urlPath = urlPath.replace('{accession}', encodeURIComponent(String(requestParameters['accession'])));
890
+ return {
891
+ path: urlPath,
892
+ method: 'GET',
893
+ headers: headerParameters,
894
+ query: queryParameters,
895
+ };
896
+ });
897
+ }
898
+ /**
899
+ * 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.
900
+ * Holdings of a 13F filing
901
+ */
902
+ secFilingHoldingsRaw(requestParameters, initOverrides) {
903
+ return __awaiter(this, void 0, void 0, function* () {
904
+ const requestOptions = yield this.secFilingHoldingsRequestOpts(requestParameters);
905
+ const response = yield this.request(requestOptions, initOverrides);
906
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFilingHoldings200ResponseFromJSON(jsonValue));
907
+ });
908
+ }
909
+ /**
910
+ * 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.
911
+ * Holdings of a 13F filing
912
+ */
913
+ secFilingHoldings(requestParameters, initOverrides) {
914
+ return __awaiter(this, void 0, void 0, function* () {
915
+ const response = yield this.secFilingHoldingsRaw(requestParameters, initOverrides);
916
+ return yield response.value();
917
+ });
918
+ }
919
+ /**
920
+ * Creates request options for secFilingNotes without sending the request
921
+ */
922
+ secFilingNotesRequestOpts(requestParameters) {
923
+ return __awaiter(this, void 0, void 0, function* () {
924
+ if (requestParameters['accession'] == null) {
925
+ throw new runtime.RequiredError('accession', 'Required parameter "accession" was null or undefined when calling secFilingNotes().');
926
+ }
927
+ const queryParameters = {};
928
+ if (requestParameters['tag'] != null) {
929
+ queryParameters['tag'] = requestParameters['tag'];
930
+ }
931
+ const headerParameters = {};
932
+ if (this.configuration && this.configuration.accessToken) {
933
+ const token = this.configuration.accessToken;
934
+ const tokenString = yield token("bearerAuth", []);
935
+ if (tokenString) {
936
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
937
+ }
938
+ }
939
+ let urlPath = `/v1/sec/filings/{accession}/notes`;
940
+ urlPath = urlPath.replace('{accession}', encodeURIComponent(String(requestParameters['accession'])));
941
+ return {
942
+ path: urlPath,
943
+ method: 'GET',
944
+ headers: headerParameters,
945
+ query: queryParameters,
946
+ };
947
+ });
948
+ }
949
+ /**
950
+ * 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.
951
+ * SEC dataset text notes of a filing
952
+ */
953
+ secFilingNotesRaw(requestParameters, initOverrides) {
954
+ return __awaiter(this, void 0, void 0, function* () {
955
+ const requestOptions = yield this.secFilingNotesRequestOpts(requestParameters);
956
+ const response = yield this.request(requestOptions, initOverrides);
957
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFilingFacts200ResponseFromJSON(jsonValue));
958
+ });
959
+ }
960
+ /**
961
+ * 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.
962
+ * SEC dataset text notes of a filing
963
+ */
964
+ secFilingNotes(requestParameters, initOverrides) {
965
+ return __awaiter(this, void 0, void 0, function* () {
966
+ const response = yield this.secFilingNotesRaw(requestParameters, initOverrides);
967
+ return yield response.value();
968
+ });
969
+ }
970
+ /**
971
+ * Creates request options for secFilingReviewChain without sending the request
972
+ */
973
+ secFilingReviewChainRequestOpts(requestParameters) {
974
+ return __awaiter(this, void 0, void 0, function* () {
975
+ if (requestParameters['accession'] == null) {
976
+ throw new runtime.RequiredError('accession', 'Required parameter "accession" was null or undefined when calling secFilingReviewChain().');
977
+ }
978
+ const queryParameters = {};
979
+ if (requestParameters['maxDepth'] != null) {
980
+ queryParameters['max_depth'] = requestParameters['maxDepth'];
981
+ }
982
+ if (requestParameters['maxNodes'] != null) {
983
+ queryParameters['max_nodes'] = requestParameters['maxNodes'];
984
+ }
985
+ const headerParameters = {};
986
+ if (this.configuration && this.configuration.accessToken) {
987
+ const token = this.configuration.accessToken;
988
+ const tokenString = yield token("bearerAuth", []);
989
+ if (tokenString) {
990
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
991
+ }
992
+ }
993
+ let urlPath = `/v1/sec/filings/{accession}/review-chain`;
994
+ urlPath = urlPath.replace('{accession}', encodeURIComponent(String(requestParameters['accession'])));
995
+ return {
996
+ path: urlPath,
997
+ method: 'GET',
998
+ headers: headerParameters,
999
+ query: queryParameters,
1000
+ };
1001
+ });
1002
+ }
1003
+ /**
1004
+ * 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.
1005
+ * SEC review chain of a filing
1006
+ */
1007
+ secFilingReviewChainRaw(requestParameters, initOverrides) {
1008
+ return __awaiter(this, void 0, void 0, function* () {
1009
+ const requestOptions = yield this.secFilingReviewChainRequestOpts(requestParameters);
1010
+ const response = yield this.request(requestOptions, initOverrides);
1011
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFilingReviewChain200ResponseFromJSON(jsonValue));
1012
+ });
1013
+ }
1014
+ /**
1015
+ * 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.
1016
+ * SEC review chain of a filing
1017
+ */
1018
+ secFilingReviewChain(requestParameters, initOverrides) {
1019
+ return __awaiter(this, void 0, void 0, function* () {
1020
+ const response = yield this.secFilingReviewChainRaw(requestParameters, initOverrides);
1021
+ return yield response.value();
1022
+ });
1023
+ }
1024
+ /**
1025
+ * Creates request options for secFilingReviewRelations without sending the request
1026
+ */
1027
+ secFilingReviewRelationsRequestOpts(requestParameters) {
1028
+ return __awaiter(this, void 0, void 0, function* () {
1029
+ if (requestParameters['accession'] == null) {
1030
+ throw new runtime.RequiredError('accession', 'Required parameter "accession" was null or undefined when calling secFilingReviewRelations().');
1031
+ }
1032
+ const queryParameters = {};
1033
+ if (requestParameters['direction'] != null) {
1034
+ queryParameters['direction'] = requestParameters['direction'];
1035
+ }
1036
+ if (requestParameters['kind'] != null) {
1037
+ queryParameters['kind'] = requestParameters['kind'];
1038
+ }
1039
+ if (requestParameters['history'] != null) {
1040
+ queryParameters['history'] = requestParameters['history'];
1041
+ }
1042
+ if (requestParameters['cursor'] != null) {
1043
+ queryParameters['cursor'] = requestParameters['cursor'];
1044
+ }
1045
+ if (requestParameters['limit'] != null) {
1046
+ queryParameters['limit'] = requestParameters['limit'];
1047
+ }
1048
+ const headerParameters = {};
1049
+ if (this.configuration && this.configuration.accessToken) {
1050
+ const token = this.configuration.accessToken;
1051
+ const tokenString = yield token("bearerAuth", []);
1052
+ if (tokenString) {
1053
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1054
+ }
1055
+ }
1056
+ let urlPath = `/v1/sec/filings/{accession}/review-relations`;
1057
+ urlPath = urlPath.replace('{accession}', encodeURIComponent(String(requestParameters['accession'])));
1058
+ return {
1059
+ path: urlPath,
1060
+ method: 'GET',
1061
+ headers: headerParameters,
1062
+ query: queryParameters,
1063
+ };
1064
+ });
1065
+ }
1066
+ /**
1067
+ * 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.
1068
+ * SEC review relations of a filing
1069
+ */
1070
+ secFilingReviewRelationsRaw(requestParameters, initOverrides) {
1071
+ return __awaiter(this, void 0, void 0, function* () {
1072
+ const requestOptions = yield this.secFilingReviewRelationsRequestOpts(requestParameters);
1073
+ const response = yield this.request(requestOptions, initOverrides);
1074
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFilingReviewRelations200ResponseFromJSON(jsonValue));
1075
+ });
1076
+ }
1077
+ /**
1078
+ * 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.
1079
+ * SEC review relations of a filing
1080
+ */
1081
+ secFilingReviewRelations(requestParameters, initOverrides) {
1082
+ return __awaiter(this, void 0, void 0, function* () {
1083
+ const response = yield this.secFilingReviewRelationsRaw(requestParameters, initOverrides);
1084
+ return yield response.value();
1085
+ });
1086
+ }
1087
+ /**
1088
+ * Creates request options for secFilings without sending the request
1089
+ */
1090
+ secFilingsRequestOpts(requestParameters) {
1091
+ return __awaiter(this, void 0, void 0, function* () {
1092
+ if (requestParameters['identifier'] == null) {
1093
+ throw new runtime.RequiredError('identifier', 'Required parameter "identifier" was null or undefined when calling secFilings().');
1094
+ }
1095
+ const queryParameters = {};
1096
+ if (requestParameters['identifier'] != null) {
1097
+ queryParameters['identifier'] = requestParameters['identifier'];
1098
+ }
1099
+ if (requestParameters['form'] != null) {
1100
+ queryParameters['form'] = requestParameters['form'];
1101
+ }
1102
+ if (requestParameters['filedFrom'] != null) {
1103
+ queryParameters['filed_from'] = requestParameters['filedFrom'].toISOString().substring(0, 10);
1104
+ }
1105
+ if (requestParameters['filedTo'] != null) {
1106
+ queryParameters['filed_to'] = requestParameters['filedTo'].toISOString().substring(0, 10);
1107
+ }
1108
+ if (requestParameters['order'] != null) {
1109
+ queryParameters['order'] = requestParameters['order'];
1110
+ }
1111
+ if (requestParameters['cursor'] != null) {
1112
+ queryParameters['cursor'] = requestParameters['cursor'];
1113
+ }
1114
+ if (requestParameters['limit'] != null) {
1115
+ queryParameters['limit'] = requestParameters['limit'];
1116
+ }
1117
+ const headerParameters = {};
1118
+ if (this.configuration && this.configuration.accessToken) {
1119
+ const token = this.configuration.accessToken;
1120
+ const tokenString = yield token("bearerAuth", []);
1121
+ if (tokenString) {
1122
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1123
+ }
1124
+ }
1125
+ let urlPath = `/v1/sec/filings`;
1126
+ return {
1127
+ path: urlPath,
1128
+ method: 'GET',
1129
+ headers: headerParameters,
1130
+ query: queryParameters,
1131
+ };
1132
+ });
1133
+ }
1134
+ /**
1135
+ * 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.
1136
+ * SEC filings of a filer
1137
+ */
1138
+ secFilingsRaw(requestParameters, initOverrides) {
1139
+ return __awaiter(this, void 0, void 0, function* () {
1140
+ const requestOptions = yield this.secFilingsRequestOpts(requestParameters);
1141
+ const response = yield this.request(requestOptions, initOverrides);
1142
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFilings200ResponseFromJSON(jsonValue));
1143
+ });
1144
+ }
1145
+ /**
1146
+ * 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.
1147
+ * SEC filings of a filer
1148
+ */
1149
+ secFilings(requestParameters, initOverrides) {
1150
+ return __awaiter(this, void 0, void 0, function* () {
1151
+ const response = yield this.secFilingsRaw(requestParameters, initOverrides);
1152
+ return yield response.value();
1153
+ });
1154
+ }
1155
+ /**
1156
+ * Creates request options for secFinancialsCatalog without sending the request
1157
+ */
1158
+ secFinancialsCatalogRequestOpts(requestParameters) {
1159
+ return __awaiter(this, void 0, void 0, function* () {
1160
+ const queryParameters = {};
1161
+ if (requestParameters['statement'] != null) {
1162
+ queryParameters['statement'] = requestParameters['statement'];
1163
+ }
1164
+ if (requestParameters['metricId'] != null) {
1165
+ queryParameters['metric_id'] = requestParameters['metricId'];
1166
+ }
1167
+ const headerParameters = {};
1168
+ if (this.configuration && this.configuration.accessToken) {
1169
+ const token = this.configuration.accessToken;
1170
+ const tokenString = yield token("bearerAuth", []);
1171
+ if (tokenString) {
1172
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1173
+ }
1174
+ }
1175
+ let urlPath = `/v1/sec/financials/catalog`;
1176
+ return {
1177
+ path: urlPath,
1178
+ method: 'GET',
1179
+ headers: headerParameters,
1180
+ query: queryParameters,
1181
+ };
1182
+ });
1183
+ }
1184
+ /**
1185
+ * 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.
1186
+ * Standardization rule catalog
1187
+ */
1188
+ secFinancialsCatalogRaw(requestParameters, initOverrides) {
1189
+ return __awaiter(this, void 0, void 0, function* () {
1190
+ const requestOptions = yield this.secFinancialsCatalogRequestOpts(requestParameters);
1191
+ const response = yield this.request(requestOptions, initOverrides);
1192
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFinancialsCatalog200ResponseFromJSON(jsonValue));
1193
+ });
1194
+ }
1195
+ /**
1196
+ * 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.
1197
+ * Standardization rule catalog
1198
+ */
1199
+ secFinancialsCatalog() {
1200
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
1201
+ const response = yield this.secFinancialsCatalogRaw(requestParameters, initOverrides);
1202
+ return yield response.value();
1203
+ });
1204
+ }
1205
+ /**
1206
+ * Creates request options for secFinancialsFact without sending the request
1207
+ */
1208
+ secFinancialsFactRequestOpts(requestParameters) {
1209
+ return __awaiter(this, void 0, void 0, function* () {
1210
+ if (requestParameters['id'] == null) {
1211
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling secFinancialsFact().');
1212
+ }
1213
+ const queryParameters = {};
1214
+ if (requestParameters['id'] != null) {
1215
+ queryParameters['id'] = requestParameters['id'];
1216
+ }
1217
+ if (requestParameters['maxDepth'] != null) {
1218
+ queryParameters['max_depth'] = requestParameters['maxDepth'];
1219
+ }
1220
+ if (requestParameters['maxMembers'] != null) {
1221
+ queryParameters['max_members'] = requestParameters['maxMembers'];
1222
+ }
1223
+ if (requestParameters['places'] != null) {
1224
+ queryParameters['places'] = requestParameters['places'];
1225
+ }
1226
+ const headerParameters = {};
1227
+ if (this.configuration && this.configuration.accessToken) {
1228
+ const token = this.configuration.accessToken;
1229
+ const tokenString = yield token("bearerAuth", []);
1230
+ if (tokenString) {
1231
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1232
+ }
1233
+ }
1234
+ let urlPath = `/v1/sec/financials/facts`;
1235
+ return {
1236
+ path: urlPath,
1237
+ method: 'GET',
1238
+ headers: headerParameters,
1239
+ query: queryParameters,
1240
+ };
1241
+ });
1242
+ }
1243
+ /**
1244
+ * 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.
1245
+ * Explain a standardized fact
1246
+ */
1247
+ secFinancialsFactRaw(requestParameters, initOverrides) {
1248
+ return __awaiter(this, void 0, void 0, function* () {
1249
+ const requestOptions = yield this.secFinancialsFactRequestOpts(requestParameters);
1250
+ const response = yield this.request(requestOptions, initOverrides);
1251
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFinancialsCatalog200ResponseFromJSON(jsonValue));
1252
+ });
1253
+ }
1254
+ /**
1255
+ * 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.
1256
+ * Explain a standardized fact
1257
+ */
1258
+ secFinancialsFact(requestParameters, initOverrides) {
1259
+ return __awaiter(this, void 0, void 0, function* () {
1260
+ const response = yield this.secFinancialsFactRaw(requestParameters, initOverrides);
1261
+ return yield response.value();
1262
+ });
1263
+ }
1264
+ /**
1265
+ * Creates request options for secFinancialsStatement without sending the request
1266
+ */
1267
+ secFinancialsStatementRequestOpts(requestParameters) {
1268
+ return __awaiter(this, void 0, void 0, function* () {
1269
+ if (requestParameters['cik'] == null) {
1270
+ throw new runtime.RequiredError('cik', 'Required parameter "cik" was null or undefined when calling secFinancialsStatement().');
1271
+ }
1272
+ if (requestParameters['statement'] == null) {
1273
+ throw new runtime.RequiredError('statement', 'Required parameter "statement" was null or undefined when calling secFinancialsStatement().');
1274
+ }
1275
+ const queryParameters = {};
1276
+ if (requestParameters['periodType'] != null) {
1277
+ queryParameters['period_type'] = requestParameters['periodType'];
1278
+ }
1279
+ if (requestParameters['fiscalYearFrom'] != null) {
1280
+ queryParameters['fiscal_year_from'] = requestParameters['fiscalYearFrom'];
1281
+ }
1282
+ if (requestParameters['fiscalYearTo'] != null) {
1283
+ queryParameters['fiscal_year_to'] = requestParameters['fiscalYearTo'];
1284
+ }
1285
+ if (requestParameters['metricId'] != null) {
1286
+ queryParameters['metric_id'] = requestParameters['metricId'];
1287
+ }
1288
+ if (requestParameters['otherEvidence'] != null) {
1289
+ queryParameters['other_evidence'] = requestParameters['otherEvidence'];
1290
+ }
1291
+ if (requestParameters['limit'] != null) {
1292
+ queryParameters['limit'] = requestParameters['limit'];
1293
+ }
1294
+ const headerParameters = {};
1295
+ if (this.configuration && this.configuration.accessToken) {
1296
+ const token = this.configuration.accessToken;
1297
+ const tokenString = yield token("bearerAuth", []);
1298
+ if (tokenString) {
1299
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1300
+ }
1301
+ }
1302
+ let urlPath = `/v1/sec/financials/{cik}/statements/{statement}`;
1303
+ urlPath = urlPath.replace('{cik}', encodeURIComponent(String(requestParameters['cik'])));
1304
+ urlPath = urlPath.replace('{statement}', encodeURIComponent(String(requestParameters['statement'])));
1305
+ return {
1306
+ path: urlPath,
1307
+ method: 'GET',
1308
+ headers: headerParameters,
1309
+ query: queryParameters,
1310
+ };
1311
+ });
1312
+ }
1313
+ /**
1314
+ * 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.
1315
+ * Standardized statement with provenance
1316
+ */
1317
+ secFinancialsStatementRaw(requestParameters, initOverrides) {
1318
+ return __awaiter(this, void 0, void 0, function* () {
1319
+ const requestOptions = yield this.secFinancialsStatementRequestOpts(requestParameters);
1320
+ const response = yield this.request(requestOptions, initOverrides);
1321
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecFinancialsCatalog200ResponseFromJSON(jsonValue));
1322
+ });
1323
+ }
1324
+ /**
1325
+ * 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.
1326
+ * Standardized statement with provenance
1327
+ */
1328
+ secFinancialsStatement(requestParameters, initOverrides) {
1329
+ return __awaiter(this, void 0, void 0, function* () {
1330
+ const response = yield this.secFinancialsStatementRaw(requestParameters, initOverrides);
1331
+ return yield response.value();
1332
+ });
1333
+ }
1334
+ /**
1335
+ * Creates request options for secHoldingsDeltas without sending the request
1336
+ */
1337
+ secHoldingsDeltasRequestOpts(requestParameters) {
1338
+ return __awaiter(this, void 0, void 0, function* () {
1339
+ if (requestParameters['periodEnd'] == null) {
1340
+ throw new runtime.RequiredError('periodEnd', 'Required parameter "periodEnd" was null or undefined when calling secHoldingsDeltas().');
1341
+ }
1342
+ const queryParameters = {};
1343
+ if (requestParameters['periodEnd'] != null) {
1344
+ queryParameters['period_end'] = requestParameters['periodEnd'].toISOString().substring(0, 10);
1345
+ }
1346
+ if (requestParameters['priorPeriodEnd'] != null) {
1347
+ queryParameters['prior_period_end'] = requestParameters['priorPeriodEnd'].toISOString().substring(0, 10);
1348
+ }
1349
+ if (requestParameters['cusip'] != null) {
1350
+ queryParameters['cusip'] = requestParameters['cusip'];
1351
+ }
1352
+ if (requestParameters['symbol'] != null) {
1353
+ queryParameters['symbol'] = requestParameters['symbol'];
1354
+ }
1355
+ if (requestParameters['issuerCik'] != null) {
1356
+ queryParameters['issuer_cik'] = requestParameters['issuerCik'];
1357
+ }
1358
+ if (requestParameters['instruments'] != null) {
1359
+ queryParameters['instruments'] = requestParameters['instruments'];
1360
+ }
1361
+ if (requestParameters['pinnedAt'] != null) {
1362
+ queryParameters['pinned_at'] = requestParameters['pinnedAt'].toISOString();
1363
+ }
1364
+ if (requestParameters['cursor'] != null) {
1365
+ queryParameters['cursor'] = requestParameters['cursor'];
1366
+ }
1367
+ if (requestParameters['limit'] != null) {
1368
+ queryParameters['limit'] = requestParameters['limit'];
1369
+ }
1370
+ const headerParameters = {};
1371
+ if (this.configuration && this.configuration.accessToken) {
1372
+ const token = this.configuration.accessToken;
1373
+ const tokenString = yield token("bearerAuth", []);
1374
+ if (tokenString) {
1375
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1376
+ }
1377
+ }
1378
+ let urlPath = `/v1/sec/holdings/deltas`;
1379
+ return {
1380
+ path: urlPath,
1381
+ method: 'GET',
1382
+ headers: headerParameters,
1383
+ query: queryParameters,
1384
+ };
1385
+ });
1386
+ }
1387
+ /**
1388
+ * 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.
1389
+ * Position changes in a security (13F)
1390
+ */
1391
+ secHoldingsDeltasRaw(requestParameters, initOverrides) {
1392
+ return __awaiter(this, void 0, void 0, function* () {
1393
+ const requestOptions = yield this.secHoldingsDeltasRequestOpts(requestParameters);
1394
+ const response = yield this.request(requestOptions, initOverrides);
1395
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecHoldingsHolders200ResponseFromJSON(jsonValue));
1396
+ });
1397
+ }
1398
+ /**
1399
+ * 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.
1400
+ * Position changes in a security (13F)
1401
+ */
1402
+ secHoldingsDeltas(requestParameters, initOverrides) {
1403
+ return __awaiter(this, void 0, void 0, function* () {
1404
+ const response = yield this.secHoldingsDeltasRaw(requestParameters, initOverrides);
1405
+ return yield response.value();
1406
+ });
1407
+ }
1408
+ /**
1409
+ * Creates request options for secHoldingsFormFilers without sending the request
1410
+ */
1411
+ secHoldingsFormFilersRequestOpts(requestParameters) {
1412
+ return __awaiter(this, void 0, void 0, function* () {
1413
+ if (requestParameters['form'] == null) {
1414
+ throw new runtime.RequiredError('form', 'Required parameter "form" was null or undefined when calling secHoldingsFormFilers().');
1415
+ }
1416
+ const queryParameters = {};
1417
+ if (requestParameters['form'] != null) {
1418
+ queryParameters['form'] = requestParameters['form'];
1419
+ }
1420
+ if (requestParameters['exact'] != null) {
1421
+ queryParameters['exact'] = requestParameters['exact'];
1422
+ }
1423
+ if (requestParameters['name'] != null) {
1424
+ queryParameters['name'] = requestParameters['name'];
1425
+ }
1426
+ if (requestParameters['cik'] != null) {
1427
+ queryParameters['cik'] = requestParameters['cik'];
1428
+ }
1429
+ if (requestParameters['cursor'] != null) {
1430
+ queryParameters['cursor'] = requestParameters['cursor'];
1431
+ }
1432
+ if (requestParameters['limit'] != null) {
1433
+ queryParameters['limit'] = requestParameters['limit'];
1434
+ }
1435
+ const headerParameters = {};
1436
+ if (this.configuration && this.configuration.accessToken) {
1437
+ const token = this.configuration.accessToken;
1438
+ const tokenString = yield token("bearerAuth", []);
1439
+ if (tokenString) {
1440
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1441
+ }
1442
+ }
1443
+ let urlPath = `/v1/sec/holdings/form-filers`;
1444
+ return {
1445
+ path: urlPath,
1446
+ method: 'GET',
1447
+ headers: headerParameters,
1448
+ query: queryParameters,
1449
+ };
1450
+ });
1451
+ }
1452
+ /**
1453
+ * 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.
1454
+ * Filers of an SEC form
1455
+ */
1456
+ secHoldingsFormFilersRaw(requestParameters, initOverrides) {
1457
+ return __awaiter(this, void 0, void 0, function* () {
1458
+ const requestOptions = yield this.secHoldingsFormFilersRequestOpts(requestParameters);
1459
+ const response = yield this.request(requestOptions, initOverrides);
1460
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecHoldingsHolders200ResponseFromJSON(jsonValue));
1461
+ });
1462
+ }
1463
+ /**
1464
+ * 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.
1465
+ * Filers of an SEC form
1466
+ */
1467
+ secHoldingsFormFilers(requestParameters, initOverrides) {
1468
+ return __awaiter(this, void 0, void 0, function* () {
1469
+ const response = yield this.secHoldingsFormFilersRaw(requestParameters, initOverrides);
1470
+ return yield response.value();
1471
+ });
1472
+ }
1473
+ /**
1474
+ * Creates request options for secHoldingsHolders without sending the request
1475
+ */
1476
+ secHoldingsHoldersRequestOpts(requestParameters) {
1477
+ return __awaiter(this, void 0, void 0, function* () {
1478
+ if (requestParameters['periodEnd'] == null) {
1479
+ throw new runtime.RequiredError('periodEnd', 'Required parameter "periodEnd" was null or undefined when calling secHoldingsHolders().');
1480
+ }
1481
+ const queryParameters = {};
1482
+ if (requestParameters['periodEnd'] != null) {
1483
+ queryParameters['period_end'] = requestParameters['periodEnd'].toISOString().substring(0, 10);
1484
+ }
1485
+ if (requestParameters['cusip'] != null) {
1486
+ queryParameters['cusip'] = requestParameters['cusip'];
1487
+ }
1488
+ if (requestParameters['symbol'] != null) {
1489
+ queryParameters['symbol'] = requestParameters['symbol'];
1490
+ }
1491
+ if (requestParameters['issuerCik'] != null) {
1492
+ queryParameters['issuer_cik'] = requestParameters['issuerCik'];
1493
+ }
1494
+ if (requestParameters['instruments'] != null) {
1495
+ queryParameters['instruments'] = requestParameters['instruments'];
1496
+ }
1497
+ if (requestParameters['pinnedAt'] != null) {
1498
+ queryParameters['pinned_at'] = requestParameters['pinnedAt'].toISOString();
1499
+ }
1500
+ if (requestParameters['cursor'] != null) {
1501
+ queryParameters['cursor'] = requestParameters['cursor'];
1502
+ }
1503
+ if (requestParameters['limit'] != null) {
1504
+ queryParameters['limit'] = requestParameters['limit'];
1505
+ }
1506
+ const headerParameters = {};
1507
+ if (this.configuration && this.configuration.accessToken) {
1508
+ const token = this.configuration.accessToken;
1509
+ const tokenString = yield token("bearerAuth", []);
1510
+ if (tokenString) {
1511
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1512
+ }
1513
+ }
1514
+ let urlPath = `/v1/sec/holdings/holders`;
1515
+ return {
1516
+ path: urlPath,
1517
+ method: 'GET',
1518
+ headers: headerParameters,
1519
+ query: queryParameters,
1520
+ };
1521
+ });
1522
+ }
1523
+ /**
1524
+ * 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.
1525
+ * Institutional holders of a security (13F)
1526
+ */
1527
+ secHoldingsHoldersRaw(requestParameters, initOverrides) {
1528
+ return __awaiter(this, void 0, void 0, function* () {
1529
+ const requestOptions = yield this.secHoldingsHoldersRequestOpts(requestParameters);
1530
+ const response = yield this.request(requestOptions, initOverrides);
1531
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecHoldingsHolders200ResponseFromJSON(jsonValue));
1532
+ });
1533
+ }
1534
+ /**
1535
+ * 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.
1536
+ * Institutional holders of a security (13F)
1537
+ */
1538
+ secHoldingsHolders(requestParameters, initOverrides) {
1539
+ return __awaiter(this, void 0, void 0, function* () {
1540
+ const response = yield this.secHoldingsHoldersRaw(requestParameters, initOverrides);
1541
+ return yield response.value();
1542
+ });
1543
+ }
1544
+ /**
1545
+ * Creates request options for secHoldingsManagerPortfolio without sending the request
1546
+ */
1547
+ secHoldingsManagerPortfolioRequestOpts(requestParameters) {
1548
+ return __awaiter(this, void 0, void 0, function* () {
1549
+ if (requestParameters['periodEnd'] == null) {
1550
+ throw new runtime.RequiredError('periodEnd', 'Required parameter "periodEnd" was null or undefined when calling secHoldingsManagerPortfolio().');
1551
+ }
1552
+ if (requestParameters['cik'] == null) {
1553
+ throw new runtime.RequiredError('cik', 'Required parameter "cik" was null or undefined when calling secHoldingsManagerPortfolio().');
1554
+ }
1555
+ const queryParameters = {};
1556
+ if (requestParameters['periodEnd'] != null) {
1557
+ queryParameters['period_end'] = requestParameters['periodEnd'].toISOString().substring(0, 10);
1558
+ }
1559
+ if (requestParameters['instruments'] != null) {
1560
+ queryParameters['instruments'] = requestParameters['instruments'];
1561
+ }
1562
+ if (requestParameters['pinnedAt'] != null) {
1563
+ queryParameters['pinned_at'] = requestParameters['pinnedAt'].toISOString();
1564
+ }
1565
+ if (requestParameters['cursor'] != null) {
1566
+ queryParameters['cursor'] = requestParameters['cursor'];
1567
+ }
1568
+ if (requestParameters['limit'] != null) {
1569
+ queryParameters['limit'] = requestParameters['limit'];
1570
+ }
1571
+ const headerParameters = {};
1572
+ if (this.configuration && this.configuration.accessToken) {
1573
+ const token = this.configuration.accessToken;
1574
+ const tokenString = yield token("bearerAuth", []);
1575
+ if (tokenString) {
1576
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1577
+ }
1578
+ }
1579
+ let urlPath = `/v1/sec/holdings/managers/{cik}/portfolio`;
1580
+ urlPath = urlPath.replace('{cik}', encodeURIComponent(String(requestParameters['cik'])));
1581
+ return {
1582
+ path: urlPath,
1583
+ method: 'GET',
1584
+ headers: headerParameters,
1585
+ query: queryParameters,
1586
+ };
1587
+ });
1588
+ }
1589
+ /**
1590
+ * 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.
1591
+ * Portfolio of a 13F manager
1592
+ */
1593
+ secHoldingsManagerPortfolioRaw(requestParameters, initOverrides) {
1594
+ return __awaiter(this, void 0, void 0, function* () {
1595
+ const requestOptions = yield this.secHoldingsManagerPortfolioRequestOpts(requestParameters);
1596
+ const response = yield this.request(requestOptions, initOverrides);
1597
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecHoldingsHolders200ResponseFromJSON(jsonValue));
1598
+ });
1599
+ }
1600
+ /**
1601
+ * 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.
1602
+ * Portfolio of a 13F manager
1603
+ */
1604
+ secHoldingsManagerPortfolio(requestParameters, initOverrides) {
1605
+ return __awaiter(this, void 0, void 0, function* () {
1606
+ const response = yield this.secHoldingsManagerPortfolioRaw(requestParameters, initOverrides);
1607
+ return yield response.value();
1608
+ });
1609
+ }
1610
+ /**
1611
+ * Creates request options for secIssuers without sending the request
1612
+ */
1613
+ secIssuersRequestOpts(requestParameters) {
1614
+ return __awaiter(this, void 0, void 0, function* () {
1615
+ const queryParameters = {};
1616
+ if (requestParameters['query'] != null) {
1617
+ queryParameters['query'] = requestParameters['query'];
1618
+ }
1619
+ if (requestParameters['phase'] != null) {
1620
+ queryParameters['phase'] = requestParameters['phase'];
1621
+ }
1622
+ if (requestParameters['form'] != null) {
1623
+ queryParameters['form'] = requestParameters['form'];
1624
+ }
1625
+ if (requestParameters['publicSeenFrom'] != null) {
1626
+ queryParameters['public_seen_from'] = requestParameters['publicSeenFrom'].toISOString().substring(0, 10);
1627
+ }
1628
+ if (requestParameters['publicSeenTo'] != null) {
1629
+ queryParameters['public_seen_to'] = requestParameters['publicSeenTo'].toISOString().substring(0, 10);
1630
+ }
1631
+ if (requestParameters['cursor'] != null) {
1632
+ queryParameters['cursor'] = requestParameters['cursor'];
1633
+ }
1634
+ if (requestParameters['limit'] != null) {
1635
+ queryParameters['limit'] = requestParameters['limit'];
1636
+ }
1637
+ const headerParameters = {};
1638
+ if (this.configuration && this.configuration.accessToken) {
1639
+ const token = this.configuration.accessToken;
1640
+ const tokenString = yield token("bearerAuth", []);
1641
+ if (tokenString) {
1642
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1643
+ }
1644
+ }
1645
+ let urlPath = `/v1/sec/issuers`;
1646
+ return {
1647
+ path: urlPath,
1648
+ method: 'GET',
1649
+ headers: headerParameters,
1650
+ query: queryParameters,
1651
+ };
1652
+ });
1653
+ }
1654
+ /**
1655
+ * 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.
1656
+ * List SEC issuers
1657
+ */
1658
+ secIssuersRaw(requestParameters, initOverrides) {
1659
+ return __awaiter(this, void 0, void 0, function* () {
1660
+ const requestOptions = yield this.secIssuersRequestOpts(requestParameters);
1661
+ const response = yield this.request(requestOptions, initOverrides);
1662
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecIssuers200ResponseFromJSON(jsonValue));
1663
+ });
1664
+ }
1665
+ /**
1666
+ * 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.
1667
+ * List SEC issuers
1668
+ */
1669
+ secIssuers() {
1670
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
1671
+ const response = yield this.secIssuersRaw(requestParameters, initOverrides);
1672
+ return yield response.value();
1673
+ });
1674
+ }
1675
+ /**
1676
+ * Creates request options for secSearch without sending the request
1677
+ */
1678
+ secSearchRequestOpts(requestParameters) {
1679
+ return __awaiter(this, void 0, void 0, function* () {
1680
+ if (requestParameters['q'] == null) {
1681
+ throw new runtime.RequiredError('q', 'Required parameter "q" was null or undefined when calling secSearch().');
1682
+ }
1683
+ const queryParameters = {};
1684
+ if (requestParameters['q'] != null) {
1685
+ queryParameters['q'] = requestParameters['q'];
1686
+ }
1687
+ if (requestParameters['mode'] != null) {
1688
+ queryParameters['mode'] = requestParameters['mode'];
1689
+ }
1690
+ if (requestParameters['caseSensitive'] != null) {
1691
+ queryParameters['case_sensitive'] = requestParameters['caseSensitive'];
1692
+ }
1693
+ if (requestParameters['cik'] != null) {
1694
+ queryParameters['cik'] = requestParameters['cik'];
1695
+ }
1696
+ if (requestParameters['entityId'] != null) {
1697
+ queryParameters['entity_id'] = requestParameters['entityId'];
1698
+ }
1699
+ if (requestParameters['successors'] != null) {
1700
+ queryParameters['successors'] = requestParameters['successors'];
1701
+ }
1702
+ if (requestParameters['accession'] != null) {
1703
+ queryParameters['accession'] = requestParameters['accession'];
1704
+ }
1705
+ if (requestParameters['versionId'] != null) {
1706
+ queryParameters['version_id'] = requestParameters['versionId'];
1707
+ }
1708
+ if (requestParameters['form'] != null) {
1709
+ queryParameters['form'] = requestParameters['form'];
1710
+ }
1711
+ if (requestParameters['filename'] != null) {
1712
+ queryParameters['filename'] = requestParameters['filename'];
1713
+ }
1714
+ if (requestParameters['item'] != null) {
1715
+ queryParameters['item'] = requestParameters['item'];
1716
+ }
1717
+ if (requestParameters['exhibitType'] != null) {
1718
+ queryParameters['exhibit_type'] = requestParameters['exhibitType'];
1719
+ }
1720
+ if (requestParameters['filedFrom'] != null) {
1721
+ queryParameters['filed_from'] = requestParameters['filedFrom'].toISOString().substring(0, 10);
1722
+ }
1723
+ if (requestParameters['filedTo'] != null) {
1724
+ queryParameters['filed_to'] = requestParameters['filedTo'].toISOString().substring(0, 10);
1725
+ }
1726
+ if (requestParameters['cursor'] != null) {
1727
+ queryParameters['cursor'] = requestParameters['cursor'];
1728
+ }
1729
+ if (requestParameters['limit'] != null) {
1730
+ queryParameters['limit'] = requestParameters['limit'];
1731
+ }
1732
+ const headerParameters = {};
1733
+ if (this.configuration && this.configuration.accessToken) {
1734
+ const token = this.configuration.accessToken;
1735
+ const tokenString = yield token("bearerAuth", []);
1736
+ if (tokenString) {
1737
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1738
+ }
1739
+ }
1740
+ let urlPath = `/v1/sec/search`;
1741
+ return {
1742
+ path: urlPath,
1743
+ method: 'GET',
1744
+ headers: headerParameters,
1745
+ query: queryParameters,
1746
+ };
1747
+ });
1748
+ }
1749
+ /**
1750
+ * 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 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.
1751
+ * Search SEC documents
1752
+ */
1753
+ secSearchRaw(requestParameters, initOverrides) {
1754
+ return __awaiter(this, void 0, void 0, function* () {
1755
+ const requestOptions = yield this.secSearchRequestOpts(requestParameters);
1756
+ const response = yield this.request(requestOptions, initOverrides);
1757
+ return new runtime.JSONApiResponse(response, (jsonValue) => SecSearch200ResponseFromJSON(jsonValue));
1758
+ });
1759
+ }
1760
+ /**
1761
+ * 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 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.
1762
+ * Search SEC documents
1763
+ */
1764
+ secSearch(requestParameters, initOverrides) {
1765
+ return __awaiter(this, void 0, void 0, function* () {
1766
+ const response = yield this.secSearchRaw(requestParameters, initOverrides);
1767
+ return yield response.value();
1768
+ });
1769
+ }
1770
+ }
1771
+ /**
1772
+ * @export
1773
+ */
1774
+ export const SecDocumentFootnotesEnum = {
1775
+ True: 'true',
1776
+ False: 'false'
1777
+ };
1778
+ /**
1779
+ * @export
1780
+ */
1781
+ export const SecDocumentFactPlacesStatusEnum = {
1782
+ Exact: 'exact',
1783
+ Ambiguous: 'ambiguous',
1784
+ Hidden: 'hidden',
1785
+ NotInDocument: 'not_in_document',
1786
+ Derived: 'derived',
1787
+ Unmatched: 'unmatched'
1788
+ };
1789
+ /**
1790
+ * @export
1791
+ */
1792
+ export const SecDocumentSectionsOutlineEnum = {
1793
+ Legacy: 'legacy',
1794
+ Generic: 'generic'
1795
+ };
1796
+ /**
1797
+ * @export
1798
+ */
1799
+ export const SecDocumentVersionFootnotesEnum = {
1800
+ True: 'true',
1801
+ False: 'false'
1802
+ };
1803
+ /**
1804
+ * @export
1805
+ */
1806
+ export const SecExportsFinancialMetricsPeriodTypeEnum = {
1807
+ Quarterly: 'quarterly',
1808
+ Annual: 'annual',
1809
+ Ytd: 'ytd',
1810
+ Ttm: 'ttm'
1811
+ };
1812
+ /**
1813
+ * @export
1814
+ */
1815
+ export const SecExportsFinancialMetricsModeEnum = {
1816
+ Standardized: 'standardized',
1817
+ Raw: 'raw'
1818
+ };
1819
+ /**
1820
+ * @export
1821
+ */
1822
+ export const SecFilerLifecycleTraverseEnum = {
1823
+ Successors: 'successors',
1824
+ Predecessors: 'predecessors'
1825
+ };
1826
+ /**
1827
+ * @export
1828
+ */
1829
+ export const SecFilingReviewRelationsDirectionEnum = {
1830
+ From: 'from',
1831
+ To: 'to',
1832
+ Both: 'both'
1833
+ };
1834
+ /**
1835
+ * @export
1836
+ */
1837
+ export const SecFilingReviewRelationsKindEnum = {
1838
+ TextTwinOf: 'text_twin_of',
1839
+ RespondsTo: 'responds_to',
1840
+ ReviewsFiling: 'reviews_filing',
1841
+ ContinuesReview: 'continues_review'
1842
+ };
1843
+ /**
1844
+ * @export
1845
+ */
1846
+ export const SecFilingReviewRelationsHistoryEnum = {
1847
+ True: 'true',
1848
+ False: 'false'
1849
+ };
1850
+ /**
1851
+ * @export
1852
+ */
1853
+ export const SecFilingsOrderEnum = {
1854
+ Desc: 'desc',
1855
+ Asc: 'asc'
1856
+ };
1857
+ /**
1858
+ * @export
1859
+ */
1860
+ export const SecFinancialsCatalogStatementEnum = {
1861
+ IncomeStatement: 'income_statement',
1862
+ BalanceSheet: 'balance_sheet',
1863
+ CashFlowStatement: 'cash_flow_statement'
1864
+ };
1865
+ /**
1866
+ * @export
1867
+ */
1868
+ export const SecFinancialsFactPlacesEnum = {
1869
+ True: 'true',
1870
+ False: 'false'
1871
+ };
1872
+ /**
1873
+ * @export
1874
+ */
1875
+ export const SecFinancialsStatementStatementEnum = {
1876
+ IncomeStatement: 'income_statement',
1877
+ BalanceSheet: 'balance_sheet',
1878
+ CashFlowStatement: 'cash_flow_statement'
1879
+ };
1880
+ /**
1881
+ * @export
1882
+ */
1883
+ export const SecFinancialsStatementPeriodTypeEnum = {
1884
+ Quarterly: 'quarterly',
1885
+ Annual: 'annual',
1886
+ Ytd: 'ytd',
1887
+ Ttm: 'ttm'
1888
+ };
1889
+ /**
1890
+ * @export
1891
+ */
1892
+ export const SecFinancialsStatementOtherEvidenceEnum = {
1893
+ True: 'true',
1894
+ False: 'false'
1895
+ };
1896
+ /**
1897
+ * @export
1898
+ */
1899
+ export const SecHoldingsDeltasInstrumentsEnum = {
1900
+ Shareholder: 'shareholder',
1901
+ All: 'all'
1902
+ };
1903
+ /**
1904
+ * @export
1905
+ */
1906
+ export const SecHoldingsFormFilersExactEnum = {
1907
+ True: 'true',
1908
+ False: 'false'
1909
+ };
1910
+ /**
1911
+ * @export
1912
+ */
1913
+ export const SecHoldingsHoldersInstrumentsEnum = {
1914
+ Shareholder: 'shareholder',
1915
+ All: 'all'
1916
+ };
1917
+ /**
1918
+ * @export
1919
+ */
1920
+ export const SecHoldingsManagerPortfolioInstrumentsEnum = {
1921
+ Shareholder: 'shareholder',
1922
+ All: 'all'
1923
+ };
1924
+ /**
1925
+ * @export
1926
+ */
1927
+ export const SecIssuersPhaseEnum = {
1928
+ Observed: 'observed',
1929
+ PublicPreipo: 'public_preipo',
1930
+ ListedSpac: 'listed_spac',
1931
+ ListedOperating: 'listed_operating',
1932
+ FormerListed: 'former_listed',
1933
+ Unresolved: 'unresolved'
1934
+ };
1935
+ /**
1936
+ * @export
1937
+ */
1938
+ export const SecSearchModeEnum = {
1939
+ Lexical: 'lexical',
1940
+ Literal: 'literal'
1941
+ };
1942
+ /**
1943
+ * @export
1944
+ */
1945
+ export const SecSearchCaseSensitiveEnum = {
1946
+ True: 'true',
1947
+ False: 'false'
1948
+ };
1949
+ /**
1950
+ * @export
1951
+ */
1952
+ export const SecSearchSuccessorsEnum = {
1953
+ True: 'true',
1954
+ False: 'false'
1955
+ };