sec-edgar-api 0.2.2 → 0.2.3
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.
- package/README.md +5 -3
- package/build/services/DocumentParser/XMLParser.d.ts +5 -20
- package/build/services/DocumentParser/XMLParser.js +118 -122
- package/build/services/DocumentParser/parsers/index.d.ts +3 -5
- package/build/services/DocumentParser/parsers/index.js +3 -5
- package/build/services/DocumentParser/parsers/parse-form-13g.js +2 -2
- package/build/services/DocumentParser/parsers/parse-form-4.d.ts +1 -6
- package/build/services/DocumentParser/parsers/parse-form-4.js +204 -134
- package/build/services/DocumentParser/parsers/parse-form-def14a.d.ts +2 -1
- package/build/services/DocumentParser/parsers/parse-form-def14a.js +106 -157
- package/build/services/ReportBuilder/FactFiscalCalculator.d.ts +4 -0
- package/build/services/ReportBuilder/FactFiscalCalculator.js +4 -0
- package/build/services/ReportBuilder/FactPeriodResolver.d.ts +6 -2
- package/build/services/ReportBuilder/FactPeriodResolver.js +6 -1
- package/build/services/ReportBuilder/FactRecordBuilder.d.ts +4 -1
- package/build/services/ReportBuilder/FactRecordBuilder.js +26 -4
- package/build/services/ReportBuilder/FactSplitAdjuster.d.ts +7 -0
- package/build/services/ReportBuilder/FactSplitAdjuster.js +19 -8
- package/build/services/ReportBuilder/ReportBuilder.d.ts +3 -0
- package/build/services/ReportBuilder/ReportBuilder.js +15 -9
- package/build/services/ReportParser/ReportParser.d.ts +3 -3
- package/build/services/ReportParser/ReportParser.js +7 -4
- package/build/services/ReportParser/ReportRawParser.d.ts +3 -9
- package/build/services/ReportParser/ReportRawParser.js +5 -33
- package/build/services/ReportParser/ReportWrapper.js +2 -0
- package/build/services/ReportParser/resolvers/resolve-fiscal-year-cumulative-properties.js +2 -1
- package/build/services/SecEdgarApi/SecEdgarApi.d.ts +45 -84
- package/build/services/SecEdgarApi/SecEdgarApi.js +108 -246
- package/build/types/index.d.ts +2 -2
- package/build/types/index.js +2 -2
- package/build/types/parsed-filings.type.d.ts +5 -144
- package/build/types/report-raw.type.d.ts +3 -1
- package/build/types/report-translated.type.d.ts +4 -1
- package/build/types/submission.type.d.ts +2 -3
- package/build/util/key-translations.js +5 -1
- package/package.json +2 -5
- package/build/services/DocumentParser/HtmlTableExtractor.d.ts +0 -41
- package/build/services/DocumentParser/HtmlTableExtractor.js +0 -408
- package/build/services/DocumentParser/parsers/parse-current-filings.d.ts +0 -3
- package/build/services/DocumentParser/parsers/parse-current-filings.js +0 -98
- package/build/services/DocumentParser/parsers/parse-form-13f.d.ts +0 -6
- package/build/services/DocumentParser/parsers/parse-form-13f.js +0 -91
- package/build/services/ReportParser/FactItem.d.ts +0 -66
- package/build/services/ReportParser/FactItem.js +0 -50
- package/build/services/ReportParser/FactItemFactory.d.ts +0 -22
- package/build/services/ReportParser/FactItemFactory.js +0 -150
- package/build/services/ReportParser/FactIterator.d.ts +0 -18
- package/build/services/ReportParser/FactIterator.js +0 -35
- package/build/services/ReportParser/FactSplitMap.d.ts +0 -16
- package/build/services/ReportParser/FactSplitMap.js +0 -101
- package/build/types/current-filings-xml.type.d.ts +0 -74
- package/build/types/current-filings-xml.type.js +0 -6
- package/build/types/current-filings.type.d.ts +0 -44
- package/build/types/current-filings.type.js +0 -2
- package/build/types/form-13f-xml.type.d.ts +0 -105
- package/build/types/form-13f-xml.type.js +0 -2
- package/build/types/form-4-xml.type.d.ts +0 -132
- package/build/types/form-4-xml.type.js +0 -2
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
export interface Form13FXML {
|
|
2
|
-
edgarSubmission: EdgarSubmissionXML;
|
|
3
|
-
informationTable: InformationTableXML;
|
|
4
|
-
}
|
|
5
|
-
export interface EdgarSubmissionXML {
|
|
6
|
-
headerData: HeaderDataXML;
|
|
7
|
-
formData: FormDataXML;
|
|
8
|
-
}
|
|
9
|
-
export interface FormDataXML {
|
|
10
|
-
coverPage: CoverPageXML;
|
|
11
|
-
signatureBlock: SignatureBlockXML;
|
|
12
|
-
summaryPage: SummaryPageXML;
|
|
13
|
-
}
|
|
14
|
-
export interface CoverPageXML {
|
|
15
|
-
reportCalendarOrQuarter: string;
|
|
16
|
-
filingManager: FilingManagerXML;
|
|
17
|
-
reportType: string;
|
|
18
|
-
form13FFileNumber: string;
|
|
19
|
-
otherManagersInfo: OtherManagersInfoXML;
|
|
20
|
-
provideInfoForInstruction5: string;
|
|
21
|
-
}
|
|
22
|
-
export interface FilingManagerXML {
|
|
23
|
-
name: string;
|
|
24
|
-
address: AddressXML;
|
|
25
|
-
}
|
|
26
|
-
export interface AddressXML {
|
|
27
|
-
'ns1:street1': string;
|
|
28
|
-
'ns1:city': string;
|
|
29
|
-
'ns1:stateOrCountry': string;
|
|
30
|
-
'ns1:zipCode': number;
|
|
31
|
-
}
|
|
32
|
-
export interface OtherManagersInfoXML {
|
|
33
|
-
otherManager: OtherManagerXML;
|
|
34
|
-
}
|
|
35
|
-
export interface OtherManagerXML {
|
|
36
|
-
form13FFileNumber: string;
|
|
37
|
-
name: string;
|
|
38
|
-
}
|
|
39
|
-
export interface SignatureBlockXML {
|
|
40
|
-
name: string;
|
|
41
|
-
title: string;
|
|
42
|
-
phone: string;
|
|
43
|
-
signature: string;
|
|
44
|
-
city: string;
|
|
45
|
-
stateOrCountry: string;
|
|
46
|
-
signatureDate: string;
|
|
47
|
-
}
|
|
48
|
-
export interface SummaryPageXML {
|
|
49
|
-
otherIncludedManagersCount: number;
|
|
50
|
-
tableEntryTotal: number;
|
|
51
|
-
tableValueTotal: number;
|
|
52
|
-
isConfidentialOmitted: boolean;
|
|
53
|
-
otherManagers2Info: OtherManagers2InfoXML;
|
|
54
|
-
}
|
|
55
|
-
export interface OtherManagers2InfoXML {
|
|
56
|
-
otherManager2: OtherManager2XML[];
|
|
57
|
-
}
|
|
58
|
-
export interface OtherManager2XML {
|
|
59
|
-
sequenceNumber: number;
|
|
60
|
-
otherManager: OtherManagerXML;
|
|
61
|
-
}
|
|
62
|
-
export interface HeaderDataXML {
|
|
63
|
-
submissionType: string;
|
|
64
|
-
filerInfo: FilerInfoXML;
|
|
65
|
-
}
|
|
66
|
-
export interface FilerInfoXML {
|
|
67
|
-
liveTestFlag: string;
|
|
68
|
-
flags: FlagsXML;
|
|
69
|
-
filer: FilerXML;
|
|
70
|
-
periodOfReport: string;
|
|
71
|
-
}
|
|
72
|
-
export interface FilerXML {
|
|
73
|
-
credentials: CredentialsXML;
|
|
74
|
-
}
|
|
75
|
-
export interface CredentialsXML {
|
|
76
|
-
cik: number;
|
|
77
|
-
ccc: string;
|
|
78
|
-
}
|
|
79
|
-
export interface FlagsXML {
|
|
80
|
-
confirmingCopyFlag: boolean;
|
|
81
|
-
returnCopyFlag: boolean;
|
|
82
|
-
overrideInternetFlag: boolean;
|
|
83
|
-
}
|
|
84
|
-
export interface InformationTableXML {
|
|
85
|
-
infoTable: InfoTableXML[];
|
|
86
|
-
}
|
|
87
|
-
export interface InfoTableXML {
|
|
88
|
-
nameOfIssuer: string;
|
|
89
|
-
titleOfClass: string;
|
|
90
|
-
cusip: number | string;
|
|
91
|
-
value: number;
|
|
92
|
-
shrsOrPrnAmt: ShrsOrPrnAmtXML;
|
|
93
|
-
investmentDiscretion: string;
|
|
94
|
-
otherManager: number | string;
|
|
95
|
-
votingAuthority: VotingAuthorityXML;
|
|
96
|
-
}
|
|
97
|
-
export interface ShrsOrPrnAmtXML {
|
|
98
|
-
sshPrnamt: number;
|
|
99
|
-
sshPrnamtType: string;
|
|
100
|
-
}
|
|
101
|
-
export interface VotingAuthorityXML {
|
|
102
|
-
Sole: number;
|
|
103
|
-
Shared: number;
|
|
104
|
-
None: number;
|
|
105
|
-
}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
export interface Form4XML {
|
|
2
|
-
schemaVersion: string;
|
|
3
|
-
documentType: number;
|
|
4
|
-
periodOfReport: string;
|
|
5
|
-
notSubjectToSection16: number;
|
|
6
|
-
issuer: IssuerXML;
|
|
7
|
-
reportingOwner: ReportingOwnerXML;
|
|
8
|
-
aff10b5One: number;
|
|
9
|
-
nonDerivativeTable: NonDerivativeTableXML;
|
|
10
|
-
derivativeTable: DerivativeTableXML;
|
|
11
|
-
footnotes: FootnotesXML;
|
|
12
|
-
remarks: string;
|
|
13
|
-
ownerSignature: OwnerSignatureXML;
|
|
14
|
-
}
|
|
15
|
-
export interface DerivativeTableXML {
|
|
16
|
-
derivativeHolding: DerivativeHoldingXML[];
|
|
17
|
-
derivativeTransaction: DerivativeTransactionXML[];
|
|
18
|
-
}
|
|
19
|
-
export interface DerivativeHoldingXML {
|
|
20
|
-
securityTitle: ValueCellXML;
|
|
21
|
-
conversionOrExercisePrice: ValueCellXML;
|
|
22
|
-
exerciseDate: ValueCellXML;
|
|
23
|
-
expirationDate: ValueCellXML;
|
|
24
|
-
underlyingSecurity: UnderlyingSecurityXML;
|
|
25
|
-
postTransactionAmounts: DerivativeHoldingPostTransactionAmountsXML;
|
|
26
|
-
ownershipNature: DerivativeHoldingOwnershipNatureXML;
|
|
27
|
-
}
|
|
28
|
-
export interface DerivativeHoldingOwnershipNatureXML {
|
|
29
|
-
directOrIndirectOwnership: ValueCellXML;
|
|
30
|
-
natureOfOwnership?: ValueCellXML;
|
|
31
|
-
}
|
|
32
|
-
export interface ValueCellXML {
|
|
33
|
-
value?: string | number;
|
|
34
|
-
footnoteId?: string;
|
|
35
|
-
}
|
|
36
|
-
export interface DerivativeHoldingPostTransactionAmountsXML {
|
|
37
|
-
sharesOwnedFollowingTransaction: ValueCellXML;
|
|
38
|
-
}
|
|
39
|
-
export interface UnderlyingSecurityXML {
|
|
40
|
-
underlyingSecurityTitle: ValueCellXML;
|
|
41
|
-
underlyingSecurityShares: ValueCellXML;
|
|
42
|
-
}
|
|
43
|
-
export interface DerivativeTransactionXML {
|
|
44
|
-
securityTitle: ValueCellXML;
|
|
45
|
-
conversionOrExercisePrice: ValueCellXML;
|
|
46
|
-
transactionDate: ValueCellXML;
|
|
47
|
-
deemedExecutionDate: string;
|
|
48
|
-
transactionCoding: TransactionCodingXML;
|
|
49
|
-
transactionTimeliness: ValueCellXML;
|
|
50
|
-
transactionAmounts: TransactionAmountsXML;
|
|
51
|
-
exerciseDate: ValueCellXML;
|
|
52
|
-
expirationDate: ValueCellXML;
|
|
53
|
-
underlyingSecurity: UnderlyingSecurityXML;
|
|
54
|
-
postTransactionAmounts: DerivativeHoldingPostTransactionAmountsXML;
|
|
55
|
-
ownershipNature: DerivativeTransactionOwnershipNatureXML;
|
|
56
|
-
}
|
|
57
|
-
export interface DerivativeTransactionOwnershipNatureXML {
|
|
58
|
-
directOrIndirectOwnership: ValueCellXML;
|
|
59
|
-
natureOfOwnership: ValueCellXML;
|
|
60
|
-
}
|
|
61
|
-
export interface TransactionAmountsXML {
|
|
62
|
-
transactionShares: ValueCellXML;
|
|
63
|
-
transactionPricePerShare: ValueCellXML;
|
|
64
|
-
transactionAcquiredDisposedCode: ValueCellXML;
|
|
65
|
-
}
|
|
66
|
-
export interface TransactionCodingXML {
|
|
67
|
-
transactionFormType: number;
|
|
68
|
-
transactionCode: string;
|
|
69
|
-
equitySwapInvolved: number;
|
|
70
|
-
footnoteId: string;
|
|
71
|
-
}
|
|
72
|
-
export interface FootnotesXML {
|
|
73
|
-
footnote: string[];
|
|
74
|
-
}
|
|
75
|
-
export interface IssuerXML {
|
|
76
|
-
issuerCik: number;
|
|
77
|
-
issuerName: string;
|
|
78
|
-
issuerTradingSymbol: string;
|
|
79
|
-
}
|
|
80
|
-
export interface NonDerivativeTableXML {
|
|
81
|
-
nonDerivativeHolding: NonDerivativeHoldingXML[];
|
|
82
|
-
nonDerivativeTransaction: NonDerivativeTransactionXML[];
|
|
83
|
-
}
|
|
84
|
-
export interface NonDerivativeHoldingXML {
|
|
85
|
-
securityTitle: ValueCellXML;
|
|
86
|
-
postTransactionAmounts: NonDerivativeHoldingPostTransactionAmountsXML;
|
|
87
|
-
ownershipNature: DerivativeHoldingOwnershipNatureXML;
|
|
88
|
-
}
|
|
89
|
-
export interface NonDerivativeHoldingPostTransactionAmountsXML {
|
|
90
|
-
sharesOwnedFollowingTransaction: PurpleValueCell;
|
|
91
|
-
}
|
|
92
|
-
export interface PurpleValueCell {
|
|
93
|
-
value: number;
|
|
94
|
-
footnoteId: string;
|
|
95
|
-
}
|
|
96
|
-
export interface NonDerivativeTransactionXML {
|
|
97
|
-
securityTitle: ValueCellXML;
|
|
98
|
-
transactionDate: ValueCellXML;
|
|
99
|
-
deemedExecutionDate: string;
|
|
100
|
-
transactionCoding: TransactionCodingXML;
|
|
101
|
-
transactionTimeliness: ValueCellXML;
|
|
102
|
-
transactionAmounts: TransactionAmountsXML;
|
|
103
|
-
postTransactionAmounts: DerivativeHoldingPostTransactionAmountsXML;
|
|
104
|
-
ownershipNature: DerivativeTransactionOwnershipNatureXML;
|
|
105
|
-
}
|
|
106
|
-
export interface OwnerSignatureXML {
|
|
107
|
-
signatureName: string;
|
|
108
|
-
signatureDate: string;
|
|
109
|
-
}
|
|
110
|
-
export interface ReportingOwnerXML {
|
|
111
|
-
reportingOwnerId: ReportingOwnerIDXML;
|
|
112
|
-
reportingOwnerAddress: ReportingOwnerAddressXML;
|
|
113
|
-
reportingOwnerRelationship: ReportingOwnerRelationshipXML;
|
|
114
|
-
}
|
|
115
|
-
export interface ReportingOwnerAddressXML {
|
|
116
|
-
rptOwnerStreet1: string;
|
|
117
|
-
rptOwnerStreet2: string;
|
|
118
|
-
rptOwnerCity: string;
|
|
119
|
-
rptOwnerState: string;
|
|
120
|
-
rptOwnerZipCode: number;
|
|
121
|
-
rptOwnerStateDescription: string;
|
|
122
|
-
}
|
|
123
|
-
export interface ReportingOwnerIDXML {
|
|
124
|
-
rptOwnerCik: number;
|
|
125
|
-
rptOwnerName: string;
|
|
126
|
-
}
|
|
127
|
-
export interface ReportingOwnerRelationshipXML {
|
|
128
|
-
isDirector: number;
|
|
129
|
-
isOfficer: number;
|
|
130
|
-
isTenPercentOwner: number;
|
|
131
|
-
isOther: number;
|
|
132
|
-
}
|