sec-edgar-api 0.3.3 → 0.4.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 (78) hide show
  1. package/build/services/Client/Client.d.ts +1 -0
  2. package/build/services/DocumentParser/DocumentParser.d.ts +18 -1
  3. package/build/services/DocumentParser/DocumentParser.js +17 -2
  4. package/build/services/DocumentParser/DocumentXmlSplitter.d.ts +17 -0
  5. package/build/services/DocumentParser/DocumentXmlSplitter.js +38 -0
  6. package/build/services/DocumentParser/ObjectUtil.d.ts +20 -0
  7. package/build/services/DocumentParser/ObjectUtil.js +60 -0
  8. package/build/services/DocumentParser/XBRLParser/HeaderParser.d.ts +38 -0
  9. package/build/services/DocumentParser/XBRLParser/HeaderParser.js +138 -0
  10. package/build/services/DocumentParser/XBRLParser/InstanceParser.d.ts +6 -0
  11. package/build/services/DocumentParser/XBRLParser/InstanceParser.js +107 -0
  12. package/build/services/DocumentParser/XBRLParser/LinkbaseParser.d.ts +13 -0
  13. package/build/services/DocumentParser/XBRLParser/LinkbaseParser.js +99 -0
  14. package/build/services/DocumentParser/XBRLParser/SchemaParser.d.ts +11 -0
  15. package/build/services/DocumentParser/XBRLParser/SchemaParser.js +144 -0
  16. package/build/services/DocumentParser/XBRLParser/XBRLParser.d.ts +34 -0
  17. package/build/services/DocumentParser/XBRLParser/XBRLParser.js +64 -0
  18. package/build/services/DocumentParser/XBRLParser/util-type.d.ts +15 -0
  19. package/build/services/DocumentParser/XBRLParser/util-type.js +34 -0
  20. package/build/services/DocumentParser/XMLNode/XMLNode.js +2 -2
  21. package/build/services/DocumentParser/XMLParser.d.ts +9 -38
  22. package/build/services/DocumentParser/XMLParser.js +88 -283
  23. package/build/services/DocumentParser/XMLParserLegacy.d.ts +43 -0
  24. package/build/services/DocumentParser/XMLParserLegacy.js +308 -0
  25. package/build/services/DocumentParser/parsers/index.d.ts +10 -0
  26. package/build/services/DocumentParser/parsers/index.js +10 -0
  27. package/build/services/DocumentParser/parsers/parse-companies.d.ts +5 -0
  28. package/build/services/DocumentParser/parsers/parse-companies.js +52 -0
  29. package/build/services/DocumentParser/parsers/parse-current-filings-daily.js +8 -8
  30. package/build/services/DocumentParser/parsers/parse-current-filings-xbrl.d.ts +2 -0
  31. package/build/services/DocumentParser/parsers/parse-current-filings-xbrl.js +104 -0
  32. package/build/services/DocumentParser/parsers/parse-current-filings.d.ts +2 -0
  33. package/build/services/DocumentParser/parsers/parse-current-filings.js +76 -0
  34. package/build/services/DocumentParser/parsers/parse-form-10k.d.ts +1 -1
  35. package/build/services/DocumentParser/parsers/parse-form-10k.js +2 -2
  36. package/build/services/DocumentParser/parsers/parse-form-13g.d.ts +1 -1
  37. package/build/services/DocumentParser/parsers/parse-form-13g.js +2 -2
  38. package/build/services/DocumentParser/parsers/parse-form-4.d.ts +1 -1
  39. package/build/services/DocumentParser/parsers/parse-form-4.js +6 -4
  40. package/build/services/DocumentParser/parsers/parse-form-def14a.d.ts +1 -1
  41. package/build/services/DocumentParser/parsers/parse-form-def14a.js +2 -2
  42. package/build/services/DocumentParser/parsers/parse-insider-transaction.d.ts +7 -0
  43. package/build/services/DocumentParser/parsers/parse-insider-transaction.js +199 -0
  44. package/build/services/DocumentParser/parsers/parse-xbrl.d.ts +8 -0
  45. package/build/services/DocumentParser/parsers/parse-xbrl.js +171 -0
  46. package/build/services/HtmlTableExtractor/HtmlTableExtractor.d.ts +45 -0
  47. package/build/services/HtmlTableExtractor/HtmlTableExtractor.js +430 -0
  48. package/build/services/HtmlTableExtractor/index.d.ts +2 -0
  49. package/build/services/HtmlTableExtractor/index.js +4 -0
  50. package/build/services/ReportParser/ReportParser.d.ts +1 -1
  51. package/build/services/ReportParser/ReportWrapper.js +1 -1
  52. package/build/services/ReportRawBuilder/FactFiscalCalculator.d.ts +0 -1
  53. package/build/services/ReportRawBuilder/FactFiscalCalculator.js +1 -1
  54. package/build/services/ReportRawBuilder/FactGrouper.d.ts +1 -0
  55. package/build/services/ReportRawBuilder/FactGrouper.js +21 -13
  56. package/build/services/ReportRawBuilder/FactSplitAdjuster.js +17 -7
  57. package/build/services/ReportRawBuilder/ReportRawBuilder.d.ts +1 -0
  58. package/build/services/ReportRawBuilder/ReportRawBuilder.js +20 -15
  59. package/build/services/SecEdgarApi/FilingMapper.d.ts +4 -0
  60. package/build/services/SecEdgarApi/FilingMapper.js +37 -0
  61. package/build/services/SecEdgarApi/RequestWrapper.d.ts +2 -0
  62. package/build/services/SecEdgarApi/RequestWrapper.js +6 -4
  63. package/build/services/SecEdgarApi/SecEdgarApi.d.ts +66 -2
  64. package/build/services/SecEdgarApi/SecEdgarApi.js +236 -71
  65. package/build/services/SecEdgarApi/Throttler.d.ts +9 -8
  66. package/build/types/common.type.d.ts +9 -9
  67. package/build/types/company-search.type.d.ts +5 -0
  68. package/build/types/company-search.type.js +2 -0
  69. package/build/types/current-filings.type.d.ts +57 -0
  70. package/build/types/current-filings.type.js +2 -0
  71. package/build/types/index.d.ts +3 -0
  72. package/build/types/index.js +3 -0
  73. package/build/types/insider-transaction.type.d.ts +32 -0
  74. package/build/types/insider-transaction.type.js +2 -0
  75. package/build/types/parsed-filings.type.d.ts +3 -3
  76. package/build/types/xbrl.type.d.ts +155 -0
  77. package/build/types/xbrl.type.js +2 -0
  78. package/package.json +8 -3
@@ -36,7 +36,8 @@ var ReportRawBuilder = /** @class */ (function () {
36
36
  accessionByYearQuarter.set("".concat(year, "_").concat(quarter), accn);
37
37
  });
38
38
  var reportsCik = Number(facts[0].cik);
39
- var fiscalCalculator = this.createFiscalCalculator({ facts: facts });
39
+ var fiscalCalculator = reportDates ? new FactFiscalCalculator_1.default() : this.createFiscalCalculator({ facts: facts });
40
+ reportDates === null || reportDates === void 0 ? void 0 : reportDates.forEach(function (params) { return fiscalCalculator.setReportDates(params); });
40
41
  var factGrouper = new FactGrouper_1.default();
41
42
  var factSplitAdjuster = new FactSplitAdjuster_1.default();
42
43
  // if splits not included in params and need to adjust, extract from facts
@@ -65,12 +66,11 @@ var ReportRawBuilder = /** @class */ (function () {
65
66
  return "".concat(year, "_").concat(isAnnual ? 'FY' : "Q".concat(quarter));
66
67
  };
67
68
  ReportRawBuilder.prototype.createReport = function (params) {
68
- var _a;
69
- var group = params.group, isAnnual = params.isAnnual, splitDate = params.splitDate, splitRatio = params.splitRatio, cik = params.cik;
69
+ var group = params.group, isAnnual = params.isAnnual, splitDate = params.splitDate, splitRatio = params.splitRatio, cik = params.cik, accessionNumber = params.accessionNumber;
70
70
  var fiscalPeriod = isAnnual ? 'FY' : "Q".concat(group.quarter);
71
- var accessionNoHyphen = (_a = group.accn) === null || _a === void 0 ? void 0 : _a.replace(/-/g, '');
72
- var url = group.accn
73
- ? "https://www.sec.gov/Archives/edgar/data/".concat(cik, "/").concat(accessionNoHyphen, "/").concat(group.accn, ".txt")
71
+ var accessionNoHyphen = accessionNumber === null || accessionNumber === void 0 ? void 0 : accessionNumber.replace(/-/g, '');
72
+ var url = accessionNumber
73
+ ? "https://www.sec.gov/Archives/edgar/data/".concat(cik, "/").concat(accessionNoHyphen, "/").concat(accessionNumber, ".txt")
74
74
  : null;
75
75
  return {
76
76
  cik: cik,
@@ -89,7 +89,7 @@ var ReportRawBuilder = /** @class */ (function () {
89
89
  };
90
90
  ReportRawBuilder.prototype.buildReportsFromGroups = function (params) {
91
91
  var _this = this;
92
- var factGroupsByReportKey = params.factGroupsByReportKey, minYear = params.minYear, maxYear = params.maxYear, cik = params.cik, splits = params.splits, fiscalCalculator = params.fiscalCalculator;
92
+ var factGroupsByReportKey = params.factGroupsByReportKey, minYear = params.minYear, maxYear = params.maxYear, cik = params.cik, splits = params.splits, fiscalCalculator = params.fiscalCalculator, accessionByYearQuarter = params.accessionByYearQuarter;
93
93
  var splitByFiscals = new Map();
94
94
  var reportByKey = new Map();
95
95
  splits === null || splits === void 0 ? void 0 : splits.forEach(function (split) {
@@ -97,16 +97,19 @@ var ReportRawBuilder = /** @class */ (function () {
97
97
  splitByFiscals.set("".concat(year, "_").concat(quarter), split);
98
98
  });
99
99
  factGroupsByReportKey.forEach(function (groups) {
100
- var _a, _b, _c, _d, _e, _f;
100
+ var _a, _b, _c, _d, _e, _f, _g;
101
101
  var groupWithDates = groups.find(function (g) { return g.reportEnd; });
102
102
  if (!groupWithDates)
103
103
  return;
104
- var split = splitByFiscals.get("".concat(groupWithDates.fiscalYear, "_").concat(groupWithDates.quarter));
105
- var splitDate = (_a = split === null || split === void 0 ? void 0 : split.endLast) !== null && _a !== void 0 ? _a : null;
106
- var splitRatio = (_b = split === null || split === void 0 ? void 0 : split.splitRatio) !== null && _b !== void 0 ? _b : null;
104
+ var keyYearQuarter = "".concat(groupWithDates.fiscalYear, "_").concat(groupWithDates.quarter);
105
+ var split = splitByFiscals.get(keyYearQuarter);
106
+ var accessionNumber = (_a = accessionByYearQuarter === null || accessionByYearQuarter === void 0 ? void 0 : accessionByYearQuarter.get(keyYearQuarter)) !== null && _a !== void 0 ? _a : groupWithDates.accn;
107
+ var splitDate = (_b = split === null || split === void 0 ? void 0 : split.endLast) !== null && _b !== void 0 ? _b : null;
108
+ var splitRatio = (_c = split === null || split === void 0 ? void 0 : split.splitRatio) !== null && _c !== void 0 ? _c : null;
107
109
  var quarter = groupWithDates.quarter;
108
110
  var reportPeriod = _this.createReport({
109
111
  group: groupWithDates,
112
+ accessionNumber: accessionNumber,
110
113
  cik: cik,
111
114
  isAnnual: false,
112
115
  splitDate: splitDate,
@@ -119,7 +122,7 @@ var ReportRawBuilder = /** @class */ (function () {
119
122
  });
120
123
  for (var _i = 0, groups_1 = groups; _i < groups_1.length; _i++) {
121
124
  var group = groups_1[_i];
122
- var value = (_d = (_c = group.valuePeriodResolved) !== null && _c !== void 0 ? _c : group.valuePeriodFirst) !== null && _d !== void 0 ? _d : 0;
125
+ var value = (_e = (_d = group.valuePeriodResolved) !== null && _d !== void 0 ? _d : group.valuePeriodFirst) !== null && _e !== void 0 ? _e : 0;
123
126
  reportPeriod[group.name] = _this.round(value);
124
127
  }
125
128
  reportByKey.set(reportKeyPeriod, reportPeriod);
@@ -127,20 +130,22 @@ var ReportRawBuilder = /** @class */ (function () {
127
130
  return;
128
131
  var reportAnnual = _this.createReport({
129
132
  group: groupWithDates,
133
+ accessionNumber: accessionNumber,
130
134
  cik: cik,
131
135
  isAnnual: true,
132
136
  splitDate: splitDate,
133
137
  splitRatio: splitRatio,
134
138
  });
135
139
  var reportKeyAnnual = "".concat(reportAnnual.fiscalYear, "_").concat(reportAnnual.fiscalPeriod);
136
- for (var _g = 0, groups_2 = groups; _g < groups_2.length; _g++) {
137
- var group = groups_2[_g];
138
- var value = (_f = (_e = group.valueTrailingResolved) !== null && _e !== void 0 ? _e : group.valueTrailingFirst) !== null && _f !== void 0 ? _f : 0;
140
+ for (var _h = 0, groups_2 = groups; _h < groups_2.length; _h++) {
141
+ var group = groups_2[_h];
142
+ var value = (_g = (_f = group.valueTrailingResolved) !== null && _f !== void 0 ? _f : group.valueTrailingFirst) !== null && _g !== void 0 ? _g : 0;
139
143
  reportAnnual[group.name] = _this.round(value);
140
144
  }
141
145
  reportByKey.set(reportKeyAnnual, reportAnnual);
142
146
  });
143
147
  var reports = [];
148
+ // sort reports by year and quarter
144
149
  for (var year = minYear; year <= maxYear; year++) {
145
150
  for (var quarter = 1; quarter <= 5; quarter++) {
146
151
  var isAnnual = quarter === 5;
@@ -0,0 +1,4 @@
1
+ import { FilingListDetails, FilingListItemTranslated } from '../../types';
2
+ export default class FilingMapper {
3
+ mapFilingListDetails(cik: string | number, filingListDetails: FilingListDetails): FilingListItemTranslated[];
4
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var FilingMapper = /** @class */ (function () {
4
+ function FilingMapper() {
5
+ }
6
+ FilingMapper.prototype.mapFilingListDetails = function (cik, filingListDetails) {
7
+ var _a;
8
+ var filings = [];
9
+ var accessionNumbers = filingListDetails.accessionNumber;
10
+ for (var i = 0; i < accessionNumbers.length; i++) {
11
+ var accessionStrTrimmed = (_a = accessionNumbers[i]) === null || _a === void 0 ? void 0 : _a.replace(/-/g, '');
12
+ var urlPrefix = "https://www.sec.gov/Archives/edgar/data/".concat(Number(cik), "/").concat(accessionStrTrimmed);
13
+ var filing = {
14
+ accessionNumber: accessionNumbers[i],
15
+ filingDate: filingListDetails.filingDate[i],
16
+ reportDate: filingListDetails.reportDate[i],
17
+ acceptanceDateTime: filingListDetails.acceptanceDateTime[i],
18
+ act: filingListDetails.act[i],
19
+ form: filingListDetails.form[i],
20
+ fileNumber: filingListDetails.fileNumber[i],
21
+ filmNumber: filingListDetails.filmNumber[i],
22
+ items: filingListDetails.items[i],
23
+ size: filingListDetails.size[i],
24
+ isXBRL: filingListDetails.isXBRL[i],
25
+ isInlineXBRL: filingListDetails.isInlineXBRL[i],
26
+ primaryDocument: filingListDetails.primaryDocument[i],
27
+ primaryDocDescription: filingListDetails.primaryDocDescription[i],
28
+ url: "".concat(urlPrefix, "/").concat(accessionNumbers[i], ".txt"),
29
+ urlPrimaryDocument: "".concat(urlPrefix, "/").concat(filingListDetails.primaryDocument[i]),
30
+ };
31
+ filings.push(filing);
32
+ }
33
+ return filings;
34
+ };
35
+ return FilingMapper;
36
+ }());
37
+ exports.default = FilingMapper;
@@ -7,6 +7,7 @@ export interface SendRequestParams {
7
7
  }
8
8
  interface SubmissionRequestWrapperArgs<T> {
9
9
  submissions: FilingListItemTranslated[];
10
+ usePrimaryDocument: boolean;
10
11
  options?: SubmissionRequestWrapperOptions;
11
12
  sendRequest: (params: SendRequestParams) => Promise<T>;
12
13
  }
@@ -20,6 +21,7 @@ export default class SubmissionRequestWrapper<T> {
20
21
  private readonly options;
21
22
  private readonly submissions;
22
23
  private readonly errors;
24
+ private readonly usePrimaryDocument;
23
25
  private readonly sendRequest;
24
26
  private requestCount;
25
27
  private isDone;
@@ -38,11 +38,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  var SubmissionRequestWrapper = /** @class */ (function () {
40
40
  function SubmissionRequestWrapper(args) {
41
- var submissions = args.submissions, _a = args.options, options = _a === void 0 ? {} : _a, sendRequest = args.sendRequest;
41
+ var submissions = args.submissions, _a = args.options, options = _a === void 0 ? {} : _a, sendRequest = args.sendRequest, usePrimaryDocument = args.usePrimaryDocument;
42
42
  this.options = options;
43
43
  this.submissions = submissions;
44
44
  this.results = [];
45
45
  this.errors = [];
46
+ this.usePrimaryDocument = usePrimaryDocument;
46
47
  this.sendRequest = sendRequest;
47
48
  this.requestCount = 0;
48
49
  this.isDone = (options === null || options === void 0 ? void 0 : options.maxRequests) === 0;
@@ -55,7 +56,7 @@ var SubmissionRequestWrapper = /** @class */ (function () {
55
56
  };
56
57
  SubmissionRequestWrapper.prototype.requestNext = function () {
57
58
  return __awaiter(this, void 0, void 0, function () {
58
- var _a, maxRequests, submission, isComplete, url, result, data, e_1, error;
59
+ var _a, maxRequests, submission, isComplete, url, urlPrimaryDocument, requestUrl, result, data, e_1, error;
59
60
  return __generator(this, function (_b) {
60
61
  switch (_b.label) {
61
62
  case 0:
@@ -69,7 +70,8 @@ var SubmissionRequestWrapper = /** @class */ (function () {
69
70
  result: null,
70
71
  }];
71
72
  }
72
- url = submission.url;
73
+ url = submission.url, urlPrimaryDocument = submission.urlPrimaryDocument;
74
+ requestUrl = this.usePrimaryDocument ? urlPrimaryDocument : url;
73
75
  this.requestCount++;
74
76
  if (this.requestCount >= this.submissions.length || this.requestCount >= maxRequests) {
75
77
  this.isDone = true;
@@ -77,7 +79,7 @@ var SubmissionRequestWrapper = /** @class */ (function () {
77
79
  _b.label = 1;
78
80
  case 1:
79
81
  _b.trys.push([1, 3, , 4]);
80
- return [4 /*yield*/, this.sendRequest({ url: url })];
82
+ return [4 /*yield*/, this.sendRequest({ url: requestUrl })];
81
83
  case 2:
82
84
  result = _b.sent();
83
85
  data = {
@@ -2,8 +2,10 @@ import { CompanyFactFrame, CompanyFactListData, CompanyTickerItem, DailyFilingFo
2
2
  import { FilingListDetails, FilingListItemTranslated, SubmissionList } from '../../types/submission.type';
3
3
  import { IClient } from '../Client';
4
4
  import DocumentParser from '../DocumentParser';
5
+ import { ParseXbrlOptions } from '../DocumentParser/XBRLParser/XBRLParser';
5
6
  import ReportParser from '../ReportParser';
6
7
  import ReportWrapper from '../ReportParser/ReportWrapper';
8
+ import FilingMapper from './FilingMapper';
7
9
  import SubmissionRequestWrapper from './RequestWrapper';
8
10
  import { IThrottler } from './Throttler';
9
11
  interface SecApiArgs {
@@ -12,6 +14,7 @@ interface SecApiArgs {
12
14
  cikBySymbol: Record<string, number>;
13
15
  reportParser: ReportParser;
14
16
  documentParser: DocumentParser;
17
+ filingMapper?: FilingMapper;
15
18
  }
16
19
  export interface CreateRequestWrapperParams {
17
20
  /** symbol or cik */
@@ -57,6 +60,29 @@ export interface GetDocumentXMLParams {
57
60
  accessionNumber: string;
58
61
  primaryDocument: string;
59
62
  }
63
+ export interface GetInsiderTransactionsParams {
64
+ page: number;
65
+ symbol: string | number;
66
+ itemsPerPage?: number;
67
+ isOwnerCik?: boolean;
68
+ }
69
+ export interface SearchCompaniesParams {
70
+ sic?: number;
71
+ /** Abbreviation of state: IL, CA, NY, etc... */
72
+ state?: string;
73
+ page: number;
74
+ itemsPerPage?: number;
75
+ /** Partial name of the company for search. */
76
+ company?: string;
77
+ companyMatch?: 'startsWith' | 'contains';
78
+ }
79
+ interface GetCurrentFilingsParams {
80
+ formType?: '4' | '3' | '10-Q' | '10-K' | 'SC 13G' | '13F-HR' | '8-K';
81
+ page?: number;
82
+ itemsPerPage?: number;
83
+ symbol?: string | number;
84
+ searchType?: 'include' | 'exclude' | 'only';
85
+ }
60
86
  /**
61
87
  * Gets reports from companies filed with the SEC
62
88
  *
@@ -67,6 +93,7 @@ export default class SecEdgarApi {
67
93
  private readonly baseUrlSec;
68
94
  private readonly throttler;
69
95
  private readonly client;
96
+ private readonly filingMapper;
70
97
  readonly cikBySymbol: Record<string, number>;
71
98
  readonly reportParser: ReportParser;
72
99
  readonly documentParser: DocumentParser;
@@ -88,7 +115,9 @@ export default class SecEdgarApi {
88
115
  *
89
116
  * endpoint: `/submissions/CIK${cik}.json`
90
117
  */
91
- getSubmissions(params: GetSymbolParams): Promise<{
118
+ getSubmissions(params: GetSymbolParams & {
119
+ includeOldFilings?: boolean;
120
+ }): Promise<{
92
121
  submissionList: SubmissionList;
93
122
  filings: FilingListItemTranslated[];
94
123
  }>;
@@ -232,12 +261,13 @@ export default class SecEdgarApi {
232
261
  */
233
262
  createRequestProxyStatement(params: CreateRequestWrapperParams): SubmissionRequestWrapper<FormDef14aData>;
234
263
  /**
235
- * Gets list of latest filings.
264
+ * Gets list of filings for a day up to 5 days ago.
236
265
  *
237
266
  * @see https://www.sec.gov/edgar/searchedgar/currentevents
238
267
  */
239
268
  getCurrentFilingsDaily(params?: {
240
269
  formType?: DailyFilingFormType;
270
+ /** max 5 */
241
271
  lookbackDays?: number;
242
272
  }): Promise<{
243
273
  date: string;
@@ -251,5 +281,39 @@ export default class SecEdgarApi {
251
281
  filedDate: string;
252
282
  }[];
253
283
  }>;
284
+ getCurrentFilings(params?: GetCurrentFilingsParams): Promise<import("../../types").CurrentFilingsList>;
285
+ /**
286
+ * @see https://www.sec.gov/structureddata/rss-feeds-submitted-filings
287
+ */
288
+ getCurrentFilingsXBRL(params?: {
289
+ taxonomy?: 'usGaap' | 'mutualFund' | 'inlineXbrl' | 'allXbrl';
290
+ }): Promise<import("../../types").CurrentFilingsXBRL>;
291
+ getDocumentXbrl(params: {
292
+ url: string;
293
+ } & ParseXbrlOptions & {
294
+ includeReport?: boolean;
295
+ }): Promise<import("../DocumentParser/XBRLParser/XBRLParser").XbrlParseResult & {
296
+ report: ReportRaw | null;
297
+ facts: import("../../types").FactItem[];
298
+ }>;
299
+ /**
300
+ * Gets insider transactions for a provided symbol or CIK.
301
+ *
302
+ * To get transactions by a specific owner, set isOwnerCik to true and provide
303
+ * the owner CIK for the symbol parameter.
304
+ *
305
+ * example at https://www.sec.gov/cgi-bin/own-disp?action=getissuer&CIK=0000320193
306
+ */
307
+ getInsiderTransactions(params: GetInsiderTransactionsParams): Promise<{
308
+ transactions: import("../../types").InsiderTransaction[];
309
+ owners: import("../../types").Owner[];
310
+ issuers: import("../../types").Issuer[];
311
+ }>;
312
+ /**
313
+ * Search for companies from by name, sic code, or state.
314
+ */
315
+ searchCompanies(params: SearchCompaniesParams): Promise<{
316
+ items: import("../../types").CompanySearchResult[];
317
+ }>;
254
318
  }
255
319
  export {};