@chadwin/sdk 0.3.0 → 0.5.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.
- package/dist/index.cjs +26 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +188 -63
- package/dist/index.d.ts +188 -63
- package/dist/index.js +26 -31
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -186,7 +186,7 @@ interface components {
|
|
|
186
186
|
*/
|
|
187
187
|
content_url: string;
|
|
188
188
|
/** @enum {string} */
|
|
189
|
-
form: "10-K" | "10-K/A" | "20-F" | "20-F/A" | "40-F" | "40-F/A";
|
|
189
|
+
form: "10-K" | "10-K/A" | "10-Q" | "10-Q/A" | "20-F" | "20-F/A" | "40-F" | "40-F/A";
|
|
190
190
|
/**
|
|
191
191
|
* Format: date
|
|
192
192
|
* @description End date of the fiscal period covered by this filing, or null when the SEC filing does not provide one.
|
|
@@ -196,7 +196,7 @@ interface components {
|
|
|
196
196
|
sec_url: string;
|
|
197
197
|
}[];
|
|
198
198
|
/** @enum {string} */
|
|
199
|
-
fiscal_period: "FY";
|
|
199
|
+
fiscal_period: "FY" | "Q1" | "Q2" | "Q3";
|
|
200
200
|
fiscal_year: number;
|
|
201
201
|
issuer: {
|
|
202
202
|
cik: string;
|
|
@@ -217,10 +217,10 @@ interface components {
|
|
|
217
217
|
*/
|
|
218
218
|
content_url: string;
|
|
219
219
|
/** @enum {string|null} */
|
|
220
|
-
fiscal_period: "FY" | null;
|
|
220
|
+
fiscal_period: "FY" | "Q1" | "Q2" | "Q3" | null;
|
|
221
221
|
fiscal_year: number | null;
|
|
222
222
|
/** @enum {string} */
|
|
223
|
-
form: "10-K" | "10-K/A" | "20-F" | "20-F/A" | "40-F" | "40-F/A";
|
|
223
|
+
form: "10-K" | "10-K/A" | "10-Q" | "10-Q/A" | "20-F" | "20-F/A" | "40-F" | "40-F/A";
|
|
224
224
|
issuer: {
|
|
225
225
|
cik: string;
|
|
226
226
|
name: string | null;
|
|
@@ -710,6 +710,19 @@ interface components {
|
|
|
710
710
|
report_type: string | null;
|
|
711
711
|
signature: components["schemas"]["InstitutionalFilingSignature"];
|
|
712
712
|
};
|
|
713
|
+
InstitutionalFilingFeedResponse: {
|
|
714
|
+
/**
|
|
715
|
+
* @description Whether another filing-event page is already available.
|
|
716
|
+
* @example false
|
|
717
|
+
*/
|
|
718
|
+
has_more: boolean;
|
|
719
|
+
/**
|
|
720
|
+
* @description Cursor to send after the current page has been processed successfully.
|
|
721
|
+
* @example cur_eyJ2IjoxLCJhZnRlciI6MTIzfQ
|
|
722
|
+
*/
|
|
723
|
+
next_cursor: string;
|
|
724
|
+
updates: components["schemas"]["InstitutionalHoldingFeedUpdate"][];
|
|
725
|
+
};
|
|
713
726
|
InstitutionalFilingHolding: {
|
|
714
727
|
/**
|
|
715
728
|
* @description Filed SEC investment-discretion code: SOLE for sole discretion, DFND for shared-defined discretion, OTR for shared-other discretion, or null when absent.
|
|
@@ -816,19 +829,6 @@ interface components {
|
|
|
816
829
|
*/
|
|
817
830
|
error: "invalid_cursor" | "invalid_forms" | "invalid_limit" | "invalid_start" | "unsupported_cursor";
|
|
818
831
|
};
|
|
819
|
-
InstitutionalHoldingFeedResponse: {
|
|
820
|
-
/**
|
|
821
|
-
* @description Whether another filing-event page is already available.
|
|
822
|
-
* @example false
|
|
823
|
-
*/
|
|
824
|
-
has_more: boolean;
|
|
825
|
-
/**
|
|
826
|
-
* @description Cursor to send after the current page has been processed successfully.
|
|
827
|
-
* @example cur_eyJ2IjoxLCJhZnRlciI6MTIzfQ
|
|
828
|
-
*/
|
|
829
|
-
next_cursor: string;
|
|
830
|
-
updates: components["schemas"]["InstitutionalHoldingFeedUpdate"][];
|
|
831
|
-
};
|
|
832
832
|
InstitutionalHoldingFeedUpdate: {
|
|
833
833
|
/**
|
|
834
834
|
* @description SEC acceptance timestamp, or null when source metadata is unavailable.
|
|
@@ -972,7 +972,7 @@ interface components {
|
|
|
972
972
|
total_count: number;
|
|
973
973
|
/** @example 267891234567 */
|
|
974
974
|
total_value_usd: string | null;
|
|
975
|
-
/** @example /v1/institutional-
|
|
975
|
+
/** @example /v1/institutional-managers/028-04545/holdings?period=2026-03-31 */
|
|
976
976
|
url: string;
|
|
977
977
|
};
|
|
978
978
|
/** @example 2026-03-31 */
|
|
@@ -1002,7 +1002,7 @@ interface components {
|
|
|
1002
1002
|
total_count: number;
|
|
1003
1003
|
/** @example 267891234567 */
|
|
1004
1004
|
total_value_usd: string | null;
|
|
1005
|
-
/** @example /v1/institutional-
|
|
1005
|
+
/** @example /v1/institutional-managers/028-04545/holdings?period=2026-03-31 */
|
|
1006
1006
|
url: string;
|
|
1007
1007
|
};
|
|
1008
1008
|
/** @example 2026-03-31 */
|
|
@@ -1879,12 +1879,131 @@ interface operations {
|
|
|
1879
1879
|
};
|
|
1880
1880
|
};
|
|
1881
1881
|
};
|
|
1882
|
+
getCompanyReportForFiscalPeriod: {
|
|
1883
|
+
parameters: {
|
|
1884
|
+
query?: never;
|
|
1885
|
+
header?: never;
|
|
1886
|
+
path: {
|
|
1887
|
+
ticker: string;
|
|
1888
|
+
fiscal_year: string;
|
|
1889
|
+
fiscal_period: "Q1" | "Q2" | "Q3";
|
|
1890
|
+
};
|
|
1891
|
+
cookie?: never;
|
|
1892
|
+
};
|
|
1893
|
+
requestBody?: never;
|
|
1894
|
+
responses: {
|
|
1895
|
+
/** @description Quarterly report filing family */
|
|
1896
|
+
200: {
|
|
1897
|
+
headers: {
|
|
1898
|
+
"Cache-Control"?: string;
|
|
1899
|
+
ETag?: string;
|
|
1900
|
+
"X-Billing-Period-Quota-Limit"?: string;
|
|
1901
|
+
"X-Billing-Period-Quota-Remaining"?: string;
|
|
1902
|
+
"X-Billing-Period-Quota-Reset"?: string;
|
|
1903
|
+
[name: string]: unknown;
|
|
1904
|
+
};
|
|
1905
|
+
content: {
|
|
1906
|
+
/**
|
|
1907
|
+
* @example {
|
|
1908
|
+
* "filings": [
|
|
1909
|
+
* {
|
|
1910
|
+
* "accepted_at": "2025-08-01T10:00:42.000Z",
|
|
1911
|
+
* "accession_number": "0000320193-25-000073",
|
|
1912
|
+
* "content_url": "/v1/sec/company-reports/0000320193-25-000073/content.html",
|
|
1913
|
+
* "form": "10-Q",
|
|
1914
|
+
* "period_end_date": "2025-06-28",
|
|
1915
|
+
* "sec_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000073/0000320193-25-000073-index.htm"
|
|
1916
|
+
* }
|
|
1917
|
+
* ],
|
|
1918
|
+
* "fiscal_period": "Q3",
|
|
1919
|
+
* "fiscal_year": 2025,
|
|
1920
|
+
* "issuer": {
|
|
1921
|
+
* "cik": "0000320193",
|
|
1922
|
+
* "name": "Apple Inc.",
|
|
1923
|
+
* "ticker": "AAPL"
|
|
1924
|
+
* }
|
|
1925
|
+
* }
|
|
1926
|
+
*/
|
|
1927
|
+
"application/json": components["schemas"]["CompanyReportFamilyResponse"];
|
|
1928
|
+
};
|
|
1929
|
+
};
|
|
1930
|
+
/** @description The ticker, fiscal year, or fiscal period is invalid */
|
|
1931
|
+
400: {
|
|
1932
|
+
headers: {
|
|
1933
|
+
[name: string]: unknown;
|
|
1934
|
+
};
|
|
1935
|
+
content: {
|
|
1936
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1937
|
+
};
|
|
1938
|
+
};
|
|
1939
|
+
/** @description The request is missing a valid Chadwin API key. */
|
|
1940
|
+
401: {
|
|
1941
|
+
headers: {
|
|
1942
|
+
[name: string]: unknown;
|
|
1943
|
+
};
|
|
1944
|
+
content: {
|
|
1945
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1946
|
+
};
|
|
1947
|
+
};
|
|
1948
|
+
/** @description The subscription does not include this dataset. */
|
|
1949
|
+
403: {
|
|
1950
|
+
headers: {
|
|
1951
|
+
[name: string]: unknown;
|
|
1952
|
+
};
|
|
1953
|
+
content: {
|
|
1954
|
+
"application/json": components["schemas"]["DatasetNotEntitledErrorResponse"];
|
|
1955
|
+
};
|
|
1956
|
+
};
|
|
1957
|
+
/** @description The company or eligible quarterly report was not found */
|
|
1958
|
+
404: {
|
|
1959
|
+
headers: {
|
|
1960
|
+
[name: string]: unknown;
|
|
1961
|
+
};
|
|
1962
|
+
content: {
|
|
1963
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1964
|
+
};
|
|
1965
|
+
};
|
|
1966
|
+
/** @description More than one original quarterly report matches the fiscal period */
|
|
1967
|
+
409: {
|
|
1968
|
+
headers: {
|
|
1969
|
+
[name: string]: unknown;
|
|
1970
|
+
};
|
|
1971
|
+
content: {
|
|
1972
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1973
|
+
};
|
|
1974
|
+
};
|
|
1975
|
+
/** @description The request exceeded a rate limit. */
|
|
1976
|
+
429: {
|
|
1977
|
+
headers: {
|
|
1978
|
+
"RateLimit-Limit"?: string;
|
|
1979
|
+
"RateLimit-Reset"?: string;
|
|
1980
|
+
"Retry-After"?: string;
|
|
1981
|
+
"X-Billing-Period-Quota-Limit"?: string;
|
|
1982
|
+
"X-Billing-Period-Quota-Remaining"?: string;
|
|
1983
|
+
"X-Billing-Period-Quota-Reset"?: string;
|
|
1984
|
+
[name: string]: unknown;
|
|
1985
|
+
};
|
|
1986
|
+
content: {
|
|
1987
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1988
|
+
};
|
|
1989
|
+
};
|
|
1990
|
+
/** @description The filing catalog is unavailable */
|
|
1991
|
+
503: {
|
|
1992
|
+
headers: {
|
|
1993
|
+
[name: string]: unknown;
|
|
1994
|
+
};
|
|
1995
|
+
content: {
|
|
1996
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1997
|
+
};
|
|
1998
|
+
};
|
|
1999
|
+
};
|
|
2000
|
+
};
|
|
1882
2001
|
listCompanyReportFeed: {
|
|
1883
2002
|
parameters: {
|
|
1884
2003
|
query?: {
|
|
1885
2004
|
/** @description Use `next_cursor` from the previous response. Keep the same `forms` filter and do not combine this with `start`. */
|
|
1886
2005
|
cursor?: string;
|
|
1887
|
-
/** @description Optional comma-separated
|
|
2006
|
+
/** @description Optional comma-separated report families. Supported values are 10-K, 10-Q, 20-F, and 40-F. Each family includes its /A amendments. */
|
|
1888
2007
|
forms?: string;
|
|
1889
2008
|
/** @description Page size from 1 through 1000. */
|
|
1890
2009
|
limit?: string;
|
|
@@ -1897,7 +2016,7 @@ interface operations {
|
|
|
1897
2016
|
};
|
|
1898
2017
|
requestBody?: never;
|
|
1899
2018
|
responses: {
|
|
1900
|
-
/** @description Published
|
|
2019
|
+
/** @description Published company report updates. */
|
|
1901
2020
|
200: {
|
|
1902
2021
|
headers: {
|
|
1903
2022
|
"Cache-Control"?: string;
|
|
@@ -1910,24 +2029,24 @@ interface operations {
|
|
|
1910
2029
|
/**
|
|
1911
2030
|
* @example {
|
|
1912
2031
|
* "has_more": false,
|
|
1913
|
-
* "next_cursor": "
|
|
2032
|
+
* "next_cursor": "cur_eyJ2IjoxLCJhZnRlciI6MTIzNDV9",
|
|
1914
2033
|
* "updates": [
|
|
1915
2034
|
* {
|
|
1916
|
-
* "accepted_at": "
|
|
1917
|
-
* "accession_number": "0000320193-
|
|
1918
|
-
* "content_url": "/v1/sec/company-reports/0000320193-
|
|
1919
|
-
* "feed_event_id": "
|
|
1920
|
-
* "fiscal_period": "
|
|
2035
|
+
* "accepted_at": "2025-08-01T10:00:42.000Z",
|
|
2036
|
+
* "accession_number": "0000320193-25-000073",
|
|
2037
|
+
* "content_url": "/v1/sec/company-reports/0000320193-25-000073/content.html",
|
|
2038
|
+
* "feed_event_id": "crfe_000000012345",
|
|
2039
|
+
* "fiscal_period": "Q3",
|
|
1921
2040
|
* "fiscal_year": 2025,
|
|
1922
|
-
* "form": "10-
|
|
2041
|
+
* "form": "10-Q",
|
|
1923
2042
|
* "issuer": {
|
|
1924
2043
|
* "cik": "0000320193",
|
|
1925
2044
|
* "name": "Apple Inc.",
|
|
1926
2045
|
* "ticker": "AAPL"
|
|
1927
2046
|
* },
|
|
1928
|
-
* "period_end_date": "2025-
|
|
1929
|
-
* "published_at": "2026-08-
|
|
1930
|
-
* "sec_url": "https://www.sec.gov/Archives/edgar/data/320193/
|
|
2047
|
+
* "period_end_date": "2025-06-28",
|
|
2048
|
+
* "published_at": "2026-08-12T08:15:30.000Z",
|
|
2049
|
+
* "sec_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000073/0000320193-25-000073-index.htm"
|
|
1931
2050
|
* }
|
|
1932
2051
|
* ]
|
|
1933
2052
|
* }
|
|
@@ -1947,10 +2066,10 @@ interface operations {
|
|
|
1947
2066
|
/** @description Stable idempotency key for this publication event. */
|
|
1948
2067
|
feed_event_id: string;
|
|
1949
2068
|
/** @enum {string|null} */
|
|
1950
|
-
fiscal_period: "FY" | null;
|
|
2069
|
+
fiscal_period: "FY" | "Q1" | "Q2" | "Q3" | null;
|
|
1951
2070
|
fiscal_year: number | null;
|
|
1952
2071
|
/** @enum {string} */
|
|
1953
|
-
form: "10-K" | "10-K/A" | "20-F" | "20-F/A" | "40-F" | "40-F/A";
|
|
2072
|
+
form: "10-K" | "10-K/A" | "10-Q" | "10-Q/A" | "20-F" | "20-F/A" | "40-F" | "40-F/A";
|
|
1954
2073
|
issuer: {
|
|
1955
2074
|
cik: string;
|
|
1956
2075
|
name: string | null;
|
|
@@ -2401,7 +2520,7 @@ interface operations {
|
|
|
2401
2520
|
};
|
|
2402
2521
|
};
|
|
2403
2522
|
};
|
|
2404
|
-
|
|
2523
|
+
listInstitutionalFilingFeed: {
|
|
2405
2524
|
parameters: {
|
|
2406
2525
|
query?: {
|
|
2407
2526
|
/** @description Use `next_cursor` from the previous response to continue where you left off. Keep the same `forms` filter. Do not use `cursor` and `start` together. Omit both to get the most recent filing updates. */
|
|
@@ -2429,7 +2548,7 @@ interface operations {
|
|
|
2429
2548
|
[name: string]: unknown;
|
|
2430
2549
|
};
|
|
2431
2550
|
content: {
|
|
2432
|
-
"application/json": components["schemas"]["
|
|
2551
|
+
"application/json": components["schemas"]["InstitutionalFilingFeedResponse"];
|
|
2433
2552
|
};
|
|
2434
2553
|
};
|
|
2435
2554
|
/** @description The feed query parameters are invalid. */
|
|
@@ -2485,7 +2604,7 @@ interface operations {
|
|
|
2485
2604
|
};
|
|
2486
2605
|
};
|
|
2487
2606
|
};
|
|
2488
|
-
|
|
2607
|
+
listInstitutionalManagers: {
|
|
2489
2608
|
parameters: {
|
|
2490
2609
|
query?: {
|
|
2491
2610
|
/** @description Optional pagination cursor returned as next_cursor from a prior response. */
|
|
@@ -2586,7 +2705,7 @@ interface operations {
|
|
|
2586
2705
|
};
|
|
2587
2706
|
};
|
|
2588
2707
|
};
|
|
2589
|
-
|
|
2708
|
+
searchInstitutionalManagers: {
|
|
2590
2709
|
parameters: {
|
|
2591
2710
|
query: {
|
|
2592
2711
|
/** @description Manager name, current source-filer name, Form 13F file number, or padded or unpadded CIK. */
|
|
@@ -2679,7 +2798,7 @@ interface operations {
|
|
|
2679
2798
|
};
|
|
2680
2799
|
};
|
|
2681
2800
|
};
|
|
2682
|
-
|
|
2801
|
+
getInstitutionalManager: {
|
|
2683
2802
|
parameters: {
|
|
2684
2803
|
query?: never;
|
|
2685
2804
|
header?: never;
|
|
@@ -2708,7 +2827,7 @@ interface operations {
|
|
|
2708
2827
|
* "holdings": {
|
|
2709
2828
|
* "total_count": 124,
|
|
2710
2829
|
* "total_value_usd": "267891234567",
|
|
2711
|
-
* "url": "/v1/institutional-
|
|
2830
|
+
* "url": "/v1/institutional-managers/028-04545/holdings?period=2026-03-31"
|
|
2712
2831
|
* },
|
|
2713
2832
|
* "period_of_report": "2026-03-31"
|
|
2714
2833
|
* },
|
|
@@ -2784,7 +2903,7 @@ interface operations {
|
|
|
2784
2903
|
};
|
|
2785
2904
|
};
|
|
2786
2905
|
};
|
|
2787
|
-
|
|
2906
|
+
listInstitutionalManagerHoldings: {
|
|
2788
2907
|
parameters: {
|
|
2789
2908
|
query: {
|
|
2790
2909
|
/** @description Optional pagination cursor returned as next_cursor from a prior response. */
|
|
@@ -2932,7 +3051,7 @@ interface operations {
|
|
|
2932
3051
|
};
|
|
2933
3052
|
};
|
|
2934
3053
|
};
|
|
2935
|
-
|
|
3054
|
+
listInstitutionalManagerPeriods: {
|
|
2936
3055
|
parameters: {
|
|
2937
3056
|
query?: never;
|
|
2938
3057
|
header?: never;
|
|
@@ -2967,7 +3086,7 @@ interface operations {
|
|
|
2967
3086
|
* "holdings": {
|
|
2968
3087
|
* "total_count": 124,
|
|
2969
3088
|
* "total_value_usd": "267891234567",
|
|
2970
|
-
* "url": "/v1/institutional-
|
|
3089
|
+
* "url": "/v1/institutional-managers/028-04545/holdings?period=2026-03-31"
|
|
2971
3090
|
* },
|
|
2972
3091
|
* "period_of_report": "2026-03-31"
|
|
2973
3092
|
* }
|
|
@@ -3039,7 +3158,7 @@ interface operations {
|
|
|
3039
3158
|
};
|
|
3040
3159
|
};
|
|
3041
3160
|
};
|
|
3042
|
-
|
|
3161
|
+
listInstitutionalManagerPositions: {
|
|
3043
3162
|
parameters: {
|
|
3044
3163
|
query: {
|
|
3045
3164
|
/** @description Optional pagination cursor returned as next_cursor from a prior response. */
|
|
@@ -3314,19 +3433,19 @@ interface operations {
|
|
|
3314
3433
|
content: {
|
|
3315
3434
|
/**
|
|
3316
3435
|
* @example {
|
|
3317
|
-
* "accepted_at": "
|
|
3318
|
-
* "accession_number": "0000320193-
|
|
3319
|
-
* "content_url": "/v1/sec/company-reports/0000320193-
|
|
3320
|
-
* "fiscal_period": "
|
|
3321
|
-
* "fiscal_year":
|
|
3322
|
-
* "form": "10-
|
|
3436
|
+
* "accepted_at": "2025-08-01T10:00:42.000Z",
|
|
3437
|
+
* "accession_number": "0000320193-25-000073",
|
|
3438
|
+
* "content_url": "/v1/sec/company-reports/0000320193-25-000073/content.html",
|
|
3439
|
+
* "fiscal_period": "Q3",
|
|
3440
|
+
* "fiscal_year": 2025,
|
|
3441
|
+
* "form": "10-Q",
|
|
3323
3442
|
* "issuer": {
|
|
3324
3443
|
* "cik": "0000320193",
|
|
3325
3444
|
* "name": "Apple Inc.",
|
|
3326
3445
|
* "ticker": "AAPL"
|
|
3327
3446
|
* },
|
|
3328
|
-
* "period_end_date": "
|
|
3329
|
-
* "sec_url": "https://www.sec.gov/Archives/edgar/data/320193/
|
|
3447
|
+
* "period_end_date": "2025-06-28",
|
|
3448
|
+
* "sec_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000073/0000320193-25-000073-index.htm"
|
|
3330
3449
|
* }
|
|
3331
3450
|
*/
|
|
3332
3451
|
"application/json": components["schemas"]["CompanyReportResponse"];
|
|
@@ -3418,7 +3537,7 @@ interface operations {
|
|
|
3418
3537
|
[name: string]: unknown;
|
|
3419
3538
|
};
|
|
3420
3539
|
content: {
|
|
3421
|
-
/** @example <!doctype html><html><body><h1>
|
|
3540
|
+
/** @example <!doctype html><html><body><h1>Company report</h1></body></html> */
|
|
3422
3541
|
"text/html": string;
|
|
3423
3542
|
};
|
|
3424
3543
|
};
|
|
@@ -4097,7 +4216,8 @@ interface operations {
|
|
|
4097
4216
|
};
|
|
4098
4217
|
}
|
|
4099
4218
|
|
|
4100
|
-
type CompanyReportForm = "10-K" | "20-F" | "40-F";
|
|
4219
|
+
type CompanyReportForm = "10-K" | "10-Q" | "20-F" | "40-F";
|
|
4220
|
+
type CompanyReportFiscalPeriod = "Q1" | "Q2" | "Q3";
|
|
4101
4221
|
type InsiderActivityForm = "3" | "3/A" | "4" | "4/A" | "5" | "5/A" | "144" | "144/A";
|
|
4102
4222
|
type InsiderTransactionCode = "A" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "O" | "P" | "S" | "U" | "V" | "W" | "X" | "Z";
|
|
4103
4223
|
type InstitutionalFilingForm = "13F-HR" | "13F-HR/A" | "13F-NT" | "13F-NT/A";
|
|
@@ -4202,11 +4322,11 @@ declare class InstitutionalFilingFeed {
|
|
|
4202
4322
|
#private;
|
|
4203
4323
|
private readonly transport;
|
|
4204
4324
|
constructor(transport: HttpTransport);
|
|
4205
|
-
listLatest(filters?: InstitutionalFilingFeedFilters): PromiseWithResponse<JsonResponse<"
|
|
4325
|
+
listLatest(filters?: InstitutionalFilingFeedFilters): PromiseWithResponse<JsonResponse<"listInstitutionalFilingFeed">>;
|
|
4206
4326
|
listAfter({ cursor, ...filters }: InstitutionalFilingFeedFilters & {
|
|
4207
4327
|
cursor: string;
|
|
4208
|
-
}): PromiseWithResponse<JsonResponse<"
|
|
4209
|
-
startFromNow(filters?: InstitutionalFilingFeedFilters): PromiseWithResponse<JsonResponse<"
|
|
4328
|
+
}): PromiseWithResponse<JsonResponse<"listInstitutionalFilingFeed">>;
|
|
4329
|
+
startFromNow(filters?: InstitutionalFilingFeedFilters): PromiseWithResponse<JsonResponse<"listInstitutionalFilingFeed">>;
|
|
4210
4330
|
}
|
|
4211
4331
|
|
|
4212
4332
|
declare class Companies {
|
|
@@ -4229,6 +4349,11 @@ declare class CompanyReports {
|
|
|
4229
4349
|
ticker: string;
|
|
4230
4350
|
fiscalYear: number;
|
|
4231
4351
|
}): PromiseWithResponse<JsonResponse<"getCompanyReport">>;
|
|
4352
|
+
getByFiscalPeriod({ ticker, fiscalYear, fiscalPeriod, }: {
|
|
4353
|
+
ticker: string;
|
|
4354
|
+
fiscalYear: number;
|
|
4355
|
+
fiscalPeriod: CompanyReportFiscalPeriod;
|
|
4356
|
+
}): PromiseWithResponse<JsonResponse<"getCompanyReportForFiscalPeriod">>;
|
|
4232
4357
|
getHtml({ accessionNumber, }: {
|
|
4233
4358
|
accessionNumber: string;
|
|
4234
4359
|
}): PromiseWithResponse<TextResponse<"getSecCompanyReportContent">>;
|
|
@@ -4294,31 +4419,31 @@ declare class InstitutionalManagers {
|
|
|
4294
4419
|
constructor(transport: HttpTransport);
|
|
4295
4420
|
search({ query, }: {
|
|
4296
4421
|
query: string;
|
|
4297
|
-
}): PromiseWithResponse<JsonResponse<"
|
|
4422
|
+
}): PromiseWithResponse<JsonResponse<"searchInstitutionalManagers">>;
|
|
4298
4423
|
list({ cik, form13fFileNumber, cursor, limit, }?: {
|
|
4299
4424
|
cik?: string;
|
|
4300
4425
|
form13fFileNumber?: string;
|
|
4301
4426
|
cursor?: string;
|
|
4302
4427
|
limit?: number;
|
|
4303
|
-
}): PromiseWithResponse<JsonResponse<"
|
|
4428
|
+
}): PromiseWithResponse<JsonResponse<"listInstitutionalManagers">>;
|
|
4304
4429
|
get({ form13fFileNumber, }: {
|
|
4305
4430
|
form13fFileNumber: string;
|
|
4306
|
-
}): PromiseWithResponse<JsonResponse<"
|
|
4431
|
+
}): PromiseWithResponse<JsonResponse<"getInstitutionalManager">>;
|
|
4307
4432
|
listPeriods({ form13fFileNumber, }: {
|
|
4308
4433
|
form13fFileNumber: string;
|
|
4309
|
-
}): PromiseWithResponse<JsonResponse<"
|
|
4434
|
+
}): PromiseWithResponse<JsonResponse<"listInstitutionalManagerPeriods">>;
|
|
4310
4435
|
listHoldings({ form13fFileNumber, period, cursor, limit, }: {
|
|
4311
4436
|
form13fFileNumber: string;
|
|
4312
4437
|
period: string;
|
|
4313
4438
|
cursor?: string;
|
|
4314
4439
|
limit?: number;
|
|
4315
|
-
}): PromiseWithResponse<JsonResponse<"
|
|
4440
|
+
}): PromiseWithResponse<JsonResponse<"listInstitutionalManagerHoldings">>;
|
|
4316
4441
|
listPositions({ form13fFileNumber, period, cursor, limit, }: {
|
|
4317
4442
|
form13fFileNumber: string;
|
|
4318
4443
|
period: string;
|
|
4319
4444
|
cursor?: string;
|
|
4320
4445
|
limit?: number;
|
|
4321
|
-
}): PromiseWithResponse<JsonResponse<"
|
|
4446
|
+
}): PromiseWithResponse<JsonResponse<"listInstitutionalManagerPositions">>;
|
|
4322
4447
|
iterateManagers({ cik, form13fFileNumber, limit, }?: {
|
|
4323
4448
|
cik?: string;
|
|
4324
4449
|
form13fFileNumber?: string;
|
|
@@ -4364,4 +4489,4 @@ declare class APIError extends Error {
|
|
|
4364
4489
|
constructor(message: string, options?: APIErrorOptions);
|
|
4365
4490
|
}
|
|
4366
4491
|
|
|
4367
|
-
export { APIError, Chadwin, type ClientOptions, type CompanyReportFeedFilters, type CompanyReportForm, type InsiderActivityFeedFilters, type InsiderActivityForm, type InsiderTransactionCode, type InsiderTransactionFeedFilters, type InstitutionalFilingFeedFilters, type InstitutionalFilingForm, type InstitutionalHolding, type InstitutionalManager, type InstitutionalPosition, type PromiseWithResponse };
|
|
4492
|
+
export { APIError, Chadwin, type ClientOptions, type CompanyReportFeedFilters, type CompanyReportFiscalPeriod, type CompanyReportForm, type InsiderActivityFeedFilters, type InsiderActivityForm, type InsiderTransactionCode, type InsiderTransactionFeedFilters, type InstitutionalFilingFeedFilters, type InstitutionalFilingForm, type InstitutionalHolding, type InstitutionalManager, type InstitutionalPosition, type PromiseWithResponse };
|
package/dist/index.js
CHANGED
|
@@ -328,7 +328,7 @@ var InstitutionalFilingFeed = class {
|
|
|
328
328
|
}
|
|
329
329
|
#request(filters, mode) {
|
|
330
330
|
return this.transport.request({
|
|
331
|
-
path: ["v1", "institutional-
|
|
331
|
+
path: ["v1", "institutional-filings", "feed"],
|
|
332
332
|
query: {
|
|
333
333
|
...mode,
|
|
334
334
|
forms: filters.forms?.join(","),
|
|
@@ -384,6 +384,24 @@ var CompanyReports = class {
|
|
|
384
384
|
]
|
|
385
385
|
});
|
|
386
386
|
}
|
|
387
|
+
getByFiscalPeriod({
|
|
388
|
+
ticker,
|
|
389
|
+
fiscalYear,
|
|
390
|
+
fiscalPeriod
|
|
391
|
+
}) {
|
|
392
|
+
return this.transport.request({
|
|
393
|
+
path: [
|
|
394
|
+
"v1",
|
|
395
|
+
"companies",
|
|
396
|
+
"US",
|
|
397
|
+
ticker,
|
|
398
|
+
"reports",
|
|
399
|
+
"quarterly",
|
|
400
|
+
String(fiscalYear),
|
|
401
|
+
fiscalPeriod
|
|
402
|
+
]
|
|
403
|
+
});
|
|
404
|
+
}
|
|
387
405
|
getHtml({
|
|
388
406
|
accessionNumber
|
|
389
407
|
}) {
|
|
@@ -482,7 +500,7 @@ var ProposedSales = class {
|
|
|
482
500
|
accessionNumber
|
|
483
501
|
}) {
|
|
484
502
|
return this.transport.request({
|
|
485
|
-
path: ["v1", "sec", "proposed-
|
|
503
|
+
path: ["v1", "sec", "proposed-sale-filings", accessionNumber]
|
|
486
504
|
});
|
|
487
505
|
}
|
|
488
506
|
};
|
|
@@ -539,7 +557,7 @@ var InstitutionalManagers = class {
|
|
|
539
557
|
query
|
|
540
558
|
}) {
|
|
541
559
|
return this.transport.request({
|
|
542
|
-
path: ["v1", "institutional-
|
|
560
|
+
path: ["v1", "institutional-managers", "search"],
|
|
543
561
|
query: { query }
|
|
544
562
|
});
|
|
545
563
|
}
|
|
@@ -550,7 +568,7 @@ var InstitutionalManagers = class {
|
|
|
550
568
|
limit
|
|
551
569
|
} = {}) {
|
|
552
570
|
return this.transport.request({
|
|
553
|
-
path: ["v1", "institutional-
|
|
571
|
+
path: ["v1", "institutional-managers"],
|
|
554
572
|
query: {
|
|
555
573
|
cik,
|
|
556
574
|
cursor,
|
|
@@ -563,25 +581,14 @@ var InstitutionalManagers = class {
|
|
|
563
581
|
form13fFileNumber
|
|
564
582
|
}) {
|
|
565
583
|
return this.transport.request({
|
|
566
|
-
path: [
|
|
567
|
-
"v1",
|
|
568
|
-
"institutional-holdings",
|
|
569
|
-
"managers",
|
|
570
|
-
form13fFileNumber
|
|
571
|
-
]
|
|
584
|
+
path: ["v1", "institutional-managers", form13fFileNumber]
|
|
572
585
|
});
|
|
573
586
|
}
|
|
574
587
|
listPeriods({
|
|
575
588
|
form13fFileNumber
|
|
576
589
|
}) {
|
|
577
590
|
return this.transport.request({
|
|
578
|
-
path: [
|
|
579
|
-
"v1",
|
|
580
|
-
"institutional-holdings",
|
|
581
|
-
"managers",
|
|
582
|
-
form13fFileNumber,
|
|
583
|
-
"periods"
|
|
584
|
-
]
|
|
591
|
+
path: ["v1", "institutional-managers", form13fFileNumber, "periods"]
|
|
585
592
|
});
|
|
586
593
|
}
|
|
587
594
|
listHoldings({
|
|
@@ -591,13 +598,7 @@ var InstitutionalManagers = class {
|
|
|
591
598
|
limit
|
|
592
599
|
}) {
|
|
593
600
|
return this.transport.request({
|
|
594
|
-
path: [
|
|
595
|
-
"v1",
|
|
596
|
-
"institutional-holdings",
|
|
597
|
-
"managers",
|
|
598
|
-
form13fFileNumber,
|
|
599
|
-
"holdings"
|
|
600
|
-
],
|
|
601
|
+
path: ["v1", "institutional-managers", form13fFileNumber, "holdings"],
|
|
601
602
|
query: { cursor, limit, period }
|
|
602
603
|
});
|
|
603
604
|
}
|
|
@@ -608,13 +609,7 @@ var InstitutionalManagers = class {
|
|
|
608
609
|
limit
|
|
609
610
|
}) {
|
|
610
611
|
return this.transport.request({
|
|
611
|
-
path: [
|
|
612
|
-
"v1",
|
|
613
|
-
"institutional-holdings",
|
|
614
|
-
"managers",
|
|
615
|
-
form13fFileNumber,
|
|
616
|
-
"positions"
|
|
617
|
-
],
|
|
612
|
+
path: ["v1", "institutional-managers", form13fFileNumber, "positions"],
|
|
618
613
|
query: { cursor, limit, period }
|
|
619
614
|
});
|
|
620
615
|
}
|