@chadwin/sdk 0.6.0 → 0.7.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 +21 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +347 -16
- package/dist/index.d.ts +347 -16
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -7,6 +7,23 @@ interface PromiseWithResponse<T> extends Promise<T> {
|
|
|
7
7
|
|
|
8
8
|
interface components {
|
|
9
9
|
schemas: {
|
|
10
|
+
CompanyFinancialStatementPeriod: {
|
|
11
|
+
accession_number: string;
|
|
12
|
+
balance_sheet: components["schemas"]["FinancialStatementBalanceSheet"];
|
|
13
|
+
cash_flow_statement: components["schemas"]["FinancialStatementCashFlowStatement"];
|
|
14
|
+
currency: string;
|
|
15
|
+
/** @enum {string} */
|
|
16
|
+
fiscal_period: "FY";
|
|
17
|
+
fiscal_year: number;
|
|
18
|
+
income_statement: components["schemas"]["FinancialStatementIncomeStatement"];
|
|
19
|
+
metrics: components["schemas"]["FinancialStatementMetrics"];
|
|
20
|
+
/** Format: date */
|
|
21
|
+
period_end_date: string;
|
|
22
|
+
};
|
|
23
|
+
CompanyFinancialStatementsResponse: {
|
|
24
|
+
issuer: components["schemas"]["FinancialStatementIssuer"];
|
|
25
|
+
periods: components["schemas"]["CompanyFinancialStatementPeriod"][];
|
|
26
|
+
};
|
|
10
27
|
CompanyInsiderTransactionListItem: {
|
|
11
28
|
/**
|
|
12
29
|
* Format: date-time
|
|
@@ -252,6 +269,123 @@ interface components {
|
|
|
252
269
|
/** @example unauthorized */
|
|
253
270
|
error: string;
|
|
254
271
|
};
|
|
272
|
+
FinancialStatementBalanceSheet: {
|
|
273
|
+
accounts_payable_current?: string;
|
|
274
|
+
accounts_receivable_current?: string;
|
|
275
|
+
cash_and_cash_equivalents?: string;
|
|
276
|
+
current_portion_of_long_term_debt?: string;
|
|
277
|
+
equity_attributable_to_parent?: string;
|
|
278
|
+
goodwill?: string;
|
|
279
|
+
intangible_assets_net_excluding_goodwill?: string;
|
|
280
|
+
inventory?: string;
|
|
281
|
+
long_term_debt_noncurrent?: string;
|
|
282
|
+
property_plant_and_equipment_net?: string;
|
|
283
|
+
short_term_borrowings?: string;
|
|
284
|
+
short_term_investments?: string;
|
|
285
|
+
total_assets?: string;
|
|
286
|
+
total_borrowings?: string;
|
|
287
|
+
total_current_assets?: string;
|
|
288
|
+
total_current_liabilities?: string;
|
|
289
|
+
total_liabilities?: string;
|
|
290
|
+
total_liabilities_and_equity?: string;
|
|
291
|
+
};
|
|
292
|
+
FinancialStatementCashFlowStatement: {
|
|
293
|
+
business_acquisitions_net?: string;
|
|
294
|
+
capital_expenditure?: string;
|
|
295
|
+
common_dividends_paid?: string;
|
|
296
|
+
common_stock_repurchases?: string;
|
|
297
|
+
depreciation_and_amortization_adjustment?: string;
|
|
298
|
+
effect_of_exchange_rate_on_cash?: string;
|
|
299
|
+
net_cash_from_financing_activities?: string;
|
|
300
|
+
net_cash_from_investing_activities?: string;
|
|
301
|
+
net_cash_from_operating_activities?: string;
|
|
302
|
+
net_change_in_cash_cash_equivalents_and_restricted_cash_including_exchange_rate_effect?: string;
|
|
303
|
+
proceeds_from_common_stock_issuance?: string;
|
|
304
|
+
proceeds_from_debt_issuance?: string;
|
|
305
|
+
purchases_of_investments?: string;
|
|
306
|
+
repayments_of_debt?: string;
|
|
307
|
+
share_based_compensation_adjustment?: string;
|
|
308
|
+
};
|
|
309
|
+
FinancialStatementIncomeStatement: {
|
|
310
|
+
basic_earnings_per_share?: string;
|
|
311
|
+
basic_weighted_average_shares?: string;
|
|
312
|
+
cost_of_sales?: string;
|
|
313
|
+
diluted_earnings_per_share?: string;
|
|
314
|
+
diluted_weighted_average_shares?: string;
|
|
315
|
+
gross_profit?: string;
|
|
316
|
+
income_before_income_taxes?: string;
|
|
317
|
+
income_tax_expense?: string;
|
|
318
|
+
interest_expense?: string;
|
|
319
|
+
net_income_attributable_to_noncontrolling_interests?: string;
|
|
320
|
+
net_income_attributable_to_parent?: string;
|
|
321
|
+
net_income_including_noncontrolling_interests?: string;
|
|
322
|
+
nonoperating_income_expense?: string;
|
|
323
|
+
operating_income?: string;
|
|
324
|
+
research_and_development_expense?: string;
|
|
325
|
+
revenue?: string;
|
|
326
|
+
selling_general_and_administrative_expense?: string;
|
|
327
|
+
total_operating_expenses?: string;
|
|
328
|
+
};
|
|
329
|
+
FinancialStatementIssuer: {
|
|
330
|
+
cik: string;
|
|
331
|
+
name: string;
|
|
332
|
+
ticker: string;
|
|
333
|
+
};
|
|
334
|
+
FinancialStatementMetrics: {
|
|
335
|
+
asset_turnover?: string;
|
|
336
|
+
cash_ratio?: string;
|
|
337
|
+
current_ratio?: string;
|
|
338
|
+
debt_to_assets?: string;
|
|
339
|
+
debt_to_equity?: string;
|
|
340
|
+
ebit?: string;
|
|
341
|
+
effective_tax_rate?: string;
|
|
342
|
+
free_cash_flow?: string;
|
|
343
|
+
free_cash_flow_margin?: string;
|
|
344
|
+
gross_margin?: string;
|
|
345
|
+
interest_coverage?: string;
|
|
346
|
+
net_debt?: string;
|
|
347
|
+
net_margin?: string;
|
|
348
|
+
operating_cash_flow_margin?: string;
|
|
349
|
+
operating_cash_flow_to_net_income?: string;
|
|
350
|
+
operating_margin?: string;
|
|
351
|
+
pretax_margin?: string;
|
|
352
|
+
quick_ratio?: string;
|
|
353
|
+
return_on_assets?: string;
|
|
354
|
+
return_on_equity?: string;
|
|
355
|
+
working_capital?: string;
|
|
356
|
+
};
|
|
357
|
+
FinancialStatementsBadRequest: {
|
|
358
|
+
/** @enum {string} */
|
|
359
|
+
error: "invalid_ticker" | "invalid_query_parameters";
|
|
360
|
+
};
|
|
361
|
+
FinancialStatementsCompanyNotFound: {
|
|
362
|
+
/** @enum {string} */
|
|
363
|
+
error: "company_not_found";
|
|
364
|
+
};
|
|
365
|
+
FinancialStatementsInternalError: {
|
|
366
|
+
/** @enum {string} */
|
|
367
|
+
error: "internal_server_error";
|
|
368
|
+
};
|
|
369
|
+
FinancialStatementsNotEntitled: {
|
|
370
|
+
/** @enum {string} */
|
|
371
|
+
error: "dataset_not_entitled";
|
|
372
|
+
};
|
|
373
|
+
FinancialStatementsTickerAmbiguous: {
|
|
374
|
+
/** @enum {string} */
|
|
375
|
+
error: "company_ticker_ambiguous";
|
|
376
|
+
};
|
|
377
|
+
FinancialStatementsTooManyRequests: {
|
|
378
|
+
/** @enum {string} */
|
|
379
|
+
error: "rate_limited" | "billing_period_quota_exceeded";
|
|
380
|
+
};
|
|
381
|
+
FinancialStatementsUnauthorized: {
|
|
382
|
+
/** @enum {string} */
|
|
383
|
+
error: "unauthorized";
|
|
384
|
+
};
|
|
385
|
+
FinancialStatementsUnavailable: {
|
|
386
|
+
/** @enum {string} */
|
|
387
|
+
error: "database_unavailable";
|
|
388
|
+
};
|
|
255
389
|
InitialOwnershipActivity: {
|
|
256
390
|
/**
|
|
257
391
|
* Format: date-time
|
|
@@ -313,7 +447,7 @@ interface components {
|
|
|
313
447
|
has_more: boolean;
|
|
314
448
|
/**
|
|
315
449
|
* @description Cursor to send after the current page has been processed successfully.
|
|
316
|
-
* @example
|
|
450
|
+
* @example cur_request_bound_example
|
|
317
451
|
*/
|
|
318
452
|
next_cursor: string;
|
|
319
453
|
};
|
|
@@ -525,7 +659,7 @@ interface components {
|
|
|
525
659
|
has_more: boolean;
|
|
526
660
|
/**
|
|
527
661
|
* @description Cursor to send after the current page has been processed successfully.
|
|
528
|
-
* @example
|
|
662
|
+
* @example cur_request_bound_example
|
|
529
663
|
*/
|
|
530
664
|
next_cursor: string;
|
|
531
665
|
transactions: components["schemas"]["InsiderTransactionFeedEvent"][];
|
|
@@ -722,7 +856,7 @@ interface components {
|
|
|
722
856
|
has_more: boolean;
|
|
723
857
|
/**
|
|
724
858
|
* @description Cursor to send after the current page has been processed successfully.
|
|
725
|
-
* @example
|
|
859
|
+
* @example cur_request_bound_example
|
|
726
860
|
*/
|
|
727
861
|
next_cursor: string;
|
|
728
862
|
updates: components["schemas"]["InstitutionalHoldingFeedUpdate"][];
|
|
@@ -1433,6 +1567,166 @@ interface operations {
|
|
|
1433
1567
|
};
|
|
1434
1568
|
};
|
|
1435
1569
|
};
|
|
1570
|
+
getCompanyFinancialStatements: {
|
|
1571
|
+
parameters: {
|
|
1572
|
+
query?: {
|
|
1573
|
+
/** @description One fiscal year from 1900 through 9999. */
|
|
1574
|
+
fiscal_year?: number;
|
|
1575
|
+
/** @description Newest available fiscal years to return, from 1 through 20. */
|
|
1576
|
+
years?: number;
|
|
1577
|
+
};
|
|
1578
|
+
header?: never;
|
|
1579
|
+
path: {
|
|
1580
|
+
/** @description US listed company ticker */
|
|
1581
|
+
ticker: string;
|
|
1582
|
+
};
|
|
1583
|
+
cookie?: never;
|
|
1584
|
+
};
|
|
1585
|
+
requestBody?: never;
|
|
1586
|
+
responses: {
|
|
1587
|
+
/** @description Published and reviewed normalized annual financial statements. */
|
|
1588
|
+
200: {
|
|
1589
|
+
headers: {
|
|
1590
|
+
"Cache-Control"?: string;
|
|
1591
|
+
"X-Billing-Period-Quota-Limit"?: string;
|
|
1592
|
+
"X-Billing-Period-Quota-Remaining"?: string;
|
|
1593
|
+
"X-Billing-Period-Quota-Reset"?: string;
|
|
1594
|
+
[name: string]: unknown;
|
|
1595
|
+
};
|
|
1596
|
+
content: {
|
|
1597
|
+
/**
|
|
1598
|
+
* @example {
|
|
1599
|
+
* "issuer": {
|
|
1600
|
+
* "cik": "0000320193",
|
|
1601
|
+
* "name": "Apple Inc.",
|
|
1602
|
+
* "ticker": "AAPL"
|
|
1603
|
+
* },
|
|
1604
|
+
* "periods": [
|
|
1605
|
+
* {
|
|
1606
|
+
* "accession_number": "0000320193-24-000123",
|
|
1607
|
+
* "balance_sheet": {
|
|
1608
|
+
* "cash_and_cash_equivalents": "29943000000",
|
|
1609
|
+
* "equity_attributable_to_parent": "56950000000",
|
|
1610
|
+
* "total_assets": "364980000000",
|
|
1611
|
+
* "total_current_assets": "152987000000",
|
|
1612
|
+
* "total_current_liabilities": "176392000000"
|
|
1613
|
+
* },
|
|
1614
|
+
* "cash_flow_statement": {
|
|
1615
|
+
* "net_cash_from_financing_activities": "-121983000000",
|
|
1616
|
+
* "net_cash_from_investing_activities": "2935000000",
|
|
1617
|
+
* "net_cash_from_operating_activities": "118254000000"
|
|
1618
|
+
* },
|
|
1619
|
+
* "currency": "USD",
|
|
1620
|
+
* "fiscal_period": "FY",
|
|
1621
|
+
* "fiscal_year": 2024,
|
|
1622
|
+
* "income_statement": {
|
|
1623
|
+
* "basic_earnings_per_share": "6.11",
|
|
1624
|
+
* "diluted_earnings_per_share": "6.08",
|
|
1625
|
+
* "income_before_income_taxes": "123485000000",
|
|
1626
|
+
* "income_tax_expense": "29749000000",
|
|
1627
|
+
* "net_income_attributable_to_parent": "93736000000",
|
|
1628
|
+
* "operating_income": "123216000000",
|
|
1629
|
+
* "revenue": "391035000000"
|
|
1630
|
+
* },
|
|
1631
|
+
* "metrics": {
|
|
1632
|
+
* "cash_ratio": "0.17",
|
|
1633
|
+
* "current_ratio": "0.87",
|
|
1634
|
+
* "effective_tax_rate": "24.09",
|
|
1635
|
+
* "net_margin": "23.97",
|
|
1636
|
+
* "operating_cash_flow_margin": "30.24",
|
|
1637
|
+
* "operating_margin": "31.51",
|
|
1638
|
+
* "pretax_margin": "31.58",
|
|
1639
|
+
* "return_on_equity": "157.41",
|
|
1640
|
+
* "working_capital": "-23405000000"
|
|
1641
|
+
* },
|
|
1642
|
+
* "period_end_date": "2024-09-28"
|
|
1643
|
+
* }
|
|
1644
|
+
* ]
|
|
1645
|
+
* }
|
|
1646
|
+
*/
|
|
1647
|
+
"application/json": components["schemas"]["CompanyFinancialStatementsResponse"];
|
|
1648
|
+
};
|
|
1649
|
+
};
|
|
1650
|
+
/** @description The ticker or query parameters are invalid. */
|
|
1651
|
+
400: {
|
|
1652
|
+
headers: {
|
|
1653
|
+
[name: string]: unknown;
|
|
1654
|
+
};
|
|
1655
|
+
content: {
|
|
1656
|
+
"application/json": components["schemas"]["FinancialStatementsBadRequest"];
|
|
1657
|
+
};
|
|
1658
|
+
};
|
|
1659
|
+
/** @description The request is missing a valid Chadwin API key. */
|
|
1660
|
+
401: {
|
|
1661
|
+
headers: {
|
|
1662
|
+
[name: string]: unknown;
|
|
1663
|
+
};
|
|
1664
|
+
content: {
|
|
1665
|
+
"application/json": components["schemas"]["FinancialStatementsUnauthorized"];
|
|
1666
|
+
};
|
|
1667
|
+
};
|
|
1668
|
+
/** @description The subscription does not include this dataset. */
|
|
1669
|
+
403: {
|
|
1670
|
+
headers: {
|
|
1671
|
+
[name: string]: unknown;
|
|
1672
|
+
};
|
|
1673
|
+
content: {
|
|
1674
|
+
"application/json": components["schemas"]["FinancialStatementsNotEntitled"];
|
|
1675
|
+
};
|
|
1676
|
+
};
|
|
1677
|
+
/** @description No current company has the requested ticker. */
|
|
1678
|
+
404: {
|
|
1679
|
+
headers: {
|
|
1680
|
+
[name: string]: unknown;
|
|
1681
|
+
};
|
|
1682
|
+
content: {
|
|
1683
|
+
"application/json": components["schemas"]["FinancialStatementsCompanyNotFound"];
|
|
1684
|
+
};
|
|
1685
|
+
};
|
|
1686
|
+
/** @description More than one current company has the ticker. */
|
|
1687
|
+
409: {
|
|
1688
|
+
headers: {
|
|
1689
|
+
[name: string]: unknown;
|
|
1690
|
+
};
|
|
1691
|
+
content: {
|
|
1692
|
+
"application/json": components["schemas"]["FinancialStatementsTickerAmbiguous"];
|
|
1693
|
+
};
|
|
1694
|
+
};
|
|
1695
|
+
/** @description The request exceeded a rate limit or monthly quota. */
|
|
1696
|
+
429: {
|
|
1697
|
+
headers: {
|
|
1698
|
+
"RateLimit-Limit"?: string;
|
|
1699
|
+
"RateLimit-Reset"?: string;
|
|
1700
|
+
"Retry-After"?: string;
|
|
1701
|
+
"X-Billing-Period-Quota-Limit"?: string;
|
|
1702
|
+
"X-Billing-Period-Quota-Remaining"?: string;
|
|
1703
|
+
"X-Billing-Period-Quota-Reset"?: string;
|
|
1704
|
+
[name: string]: unknown;
|
|
1705
|
+
};
|
|
1706
|
+
content: {
|
|
1707
|
+
"application/json": components["schemas"]["FinancialStatementsTooManyRequests"];
|
|
1708
|
+
};
|
|
1709
|
+
};
|
|
1710
|
+
/** @description A stored result cannot map to the public schema. */
|
|
1711
|
+
500: {
|
|
1712
|
+
headers: {
|
|
1713
|
+
[name: string]: unknown;
|
|
1714
|
+
};
|
|
1715
|
+
content: {
|
|
1716
|
+
"application/json": components["schemas"]["FinancialStatementsInternalError"];
|
|
1717
|
+
};
|
|
1718
|
+
};
|
|
1719
|
+
/** @description The database is unavailable. */
|
|
1720
|
+
503: {
|
|
1721
|
+
headers: {
|
|
1722
|
+
[name: string]: unknown;
|
|
1723
|
+
};
|
|
1724
|
+
content: {
|
|
1725
|
+
"application/json": components["schemas"]["FinancialStatementsUnavailable"];
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
};
|
|
1729
|
+
};
|
|
1436
1730
|
listCompanyInsiderTransactions: {
|
|
1437
1731
|
parameters: {
|
|
1438
1732
|
query: {
|
|
@@ -2022,7 +2316,7 @@ interface operations {
|
|
|
2022
2316
|
listCompanyReportFeed: {
|
|
2023
2317
|
parameters: {
|
|
2024
2318
|
query?: {
|
|
2025
|
-
/** @description Use `next_cursor` from the previous response.
|
|
2319
|
+
/** @description Use `next_cursor` from the previous response. The cursor is bound to this feed, the normalized `forms` filter, and the page size. Do not combine it with `start`. */
|
|
2026
2320
|
cursor?: string;
|
|
2027
2321
|
/** @description Optional comma-separated report families. Supported values are 10-K, 10-Q, 20-F, and 40-F. Each family includes its /A amendments. */
|
|
2028
2322
|
forms?: string;
|
|
@@ -2050,7 +2344,7 @@ interface operations {
|
|
|
2050
2344
|
/**
|
|
2051
2345
|
* @example {
|
|
2052
2346
|
* "has_more": false,
|
|
2053
|
-
* "next_cursor": "
|
|
2347
|
+
* "next_cursor": "cur_request_bound_example",
|
|
2054
2348
|
* "updates": [
|
|
2055
2349
|
* {
|
|
2056
2350
|
* "accepted_at": "2025-08-01T10:00:42.000Z",
|
|
@@ -2167,7 +2461,7 @@ interface operations {
|
|
|
2167
2461
|
query?: {
|
|
2168
2462
|
/** @description Optional comma-separated SEC forms to include. Supported forms: 3, 3/A, 4, 4/A, 5, 5/A, 144, 144/A. Omission selects all supported forms. Reuse the same selection with every cursor request. */
|
|
2169
2463
|
forms?: string;
|
|
2170
|
-
/** @description Use `next_cursor` from the previous response to continue where you left off.
|
|
2464
|
+
/** @description Use `next_cursor` from the previous response to continue where you left off. The cursor is bound to this feed, the normalized `forms` filter, and the page size. Do not use `cursor` and `start` together. Omit both to get the most recent activity updates. */
|
|
2171
2465
|
cursor?: string;
|
|
2172
2466
|
/** @description Page size from 1 through 1000. */
|
|
2173
2467
|
limit?: string;
|
|
@@ -2466,7 +2760,7 @@ interface operations {
|
|
|
2466
2760
|
listInsiderTransactionFeed: {
|
|
2467
2761
|
parameters: {
|
|
2468
2762
|
query?: {
|
|
2469
|
-
/** @description Use `next_cursor` from the previous response to continue where you left off.
|
|
2763
|
+
/** @description Use `next_cursor` from the previous response to continue where you left off. The cursor is bound to this feed, the normalized `transaction_codes` filter, and the page size. Do not use `cursor` and `start` together. Omit both to get the most recent transaction updates. */
|
|
2470
2764
|
cursor?: string;
|
|
2471
2765
|
/** @description Page size from 1 through 1000. */
|
|
2472
2766
|
limit?: string;
|
|
@@ -2550,7 +2844,7 @@ interface operations {
|
|
|
2550
2844
|
listInstitutionalFilingFeed: {
|
|
2551
2845
|
parameters: {
|
|
2552
2846
|
query?: {
|
|
2553
|
-
/** @description Use `next_cursor` from the previous response to continue where you left off.
|
|
2847
|
+
/** @description Use `next_cursor` from the previous response to continue where you left off. The cursor is bound to this feed, the normalized `forms` filter, and the page size. Do not use `cursor` and `start` together. Omit both to get the most recent filing updates. */
|
|
2554
2848
|
cursor?: string;
|
|
2555
2849
|
/** @description Optional comma-separated 13F form types to include. Supported forms: 13F-HR, 13F-HR/A, 13F-NT, 13F-NT/A. Omitted or empty means all supported forms. */
|
|
2556
2850
|
forms?: string;
|
|
@@ -2634,7 +2928,7 @@ interface operations {
|
|
|
2634
2928
|
listInstitutionalManagers: {
|
|
2635
2929
|
parameters: {
|
|
2636
2930
|
query?: {
|
|
2637
|
-
/** @description
|
|
2931
|
+
/** @description Opaque next_cursor from the prior page. Keep the same filters and page size. */
|
|
2638
2932
|
cursor?: string;
|
|
2639
2933
|
/** @description Page size from 1 through 1000. */
|
|
2640
2934
|
limit?: string;
|
|
@@ -2673,7 +2967,7 @@ interface operations {
|
|
|
2673
2967
|
* "total_value_usd": "267891234567"
|
|
2674
2968
|
* }
|
|
2675
2969
|
* ],
|
|
2676
|
-
* "next_cursor": "
|
|
2970
|
+
* "next_cursor": "cur_request_bound_example"
|
|
2677
2971
|
* }
|
|
2678
2972
|
*/
|
|
2679
2973
|
"application/json": components["schemas"]["InstitutionalManagersResponse"];
|
|
@@ -2933,7 +3227,7 @@ interface operations {
|
|
|
2933
3227
|
listInstitutionalManagerHoldings: {
|
|
2934
3228
|
parameters: {
|
|
2935
3229
|
query: {
|
|
2936
|
-
/** @description
|
|
3230
|
+
/** @description Opaque next_cursor from the prior page. Keep the same resource identifiers and page size. If the bound filing or manager-period revision changed, restart without a cursor. */
|
|
2937
3231
|
cursor?: string;
|
|
2938
3232
|
/** @description Page size from 1 through 5000. */
|
|
2939
3233
|
limit?: string;
|
|
@@ -2997,7 +3291,7 @@ interface operations {
|
|
|
2997
3291
|
* "form_13f_file_number": "028-04545",
|
|
2998
3292
|
* "name": "Berkshire Hathaway Inc."
|
|
2999
3293
|
* },
|
|
3000
|
-
* "next_cursor": "
|
|
3294
|
+
* "next_cursor": "cur_request_bound_example",
|
|
3001
3295
|
* "period": {
|
|
3002
3296
|
* "accepted_at": "2026-05-15T20:12:34.000Z",
|
|
3003
3297
|
* "period_of_report": "2026-03-31"
|
|
@@ -3043,6 +3337,15 @@ interface operations {
|
|
|
3043
3337
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
3044
3338
|
};
|
|
3045
3339
|
};
|
|
3340
|
+
/** @description The manager-period holdings changed after the cursor was issued. Restart pagination from the first page. */
|
|
3341
|
+
409: {
|
|
3342
|
+
headers: {
|
|
3343
|
+
[name: string]: unknown;
|
|
3344
|
+
};
|
|
3345
|
+
content: {
|
|
3346
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3347
|
+
};
|
|
3348
|
+
};
|
|
3046
3349
|
/** @description The request exceeded a rate limit. */
|
|
3047
3350
|
429: {
|
|
3048
3351
|
headers: {
|
|
@@ -3188,7 +3491,7 @@ interface operations {
|
|
|
3188
3491
|
listInstitutionalManagerPositions: {
|
|
3189
3492
|
parameters: {
|
|
3190
3493
|
query: {
|
|
3191
|
-
/** @description
|
|
3494
|
+
/** @description Opaque next_cursor from the prior page. Keep the same resource identifiers and page size. If the bound filing or manager-period revision changed, restart without a cursor. */
|
|
3192
3495
|
cursor?: string;
|
|
3193
3496
|
/** @description Page size from 1 through 5000. */
|
|
3194
3497
|
limit?: string;
|
|
@@ -3971,7 +4274,7 @@ interface operations {
|
|
|
3971
4274
|
listSecInstitutionalFilingHoldings: {
|
|
3972
4275
|
parameters: {
|
|
3973
4276
|
query?: {
|
|
3974
|
-
/** @description
|
|
4277
|
+
/** @description Opaque next_cursor from the prior page. Keep the same resource identifiers and page size. If the bound filing or manager-period revision changed, restart without a cursor. */
|
|
3975
4278
|
cursor?: string;
|
|
3976
4279
|
/** @description Page size from 1 through 5000. */
|
|
3977
4280
|
limit?: string;
|
|
@@ -4027,7 +4330,7 @@ interface operations {
|
|
|
4027
4330
|
* }
|
|
4028
4331
|
* }
|
|
4029
4332
|
* ],
|
|
4030
|
-
* "next_cursor": "
|
|
4333
|
+
* "next_cursor": "cur_request_bound_example",
|
|
4031
4334
|
* "period_of_report": "2026-03-31",
|
|
4032
4335
|
* "report_type": "13F HOLDINGS REPORT"
|
|
4033
4336
|
* }
|
|
@@ -4071,6 +4374,15 @@ interface operations {
|
|
|
4071
4374
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
4072
4375
|
};
|
|
4073
4376
|
};
|
|
4377
|
+
/** @description The filing holdings changed after the cursor was issued. Restart pagination from the first page. */
|
|
4378
|
+
409: {
|
|
4379
|
+
headers: {
|
|
4380
|
+
[name: string]: unknown;
|
|
4381
|
+
};
|
|
4382
|
+
content: {
|
|
4383
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
4384
|
+
};
|
|
4385
|
+
};
|
|
4074
4386
|
/** @description The request exceeded a rate limit. */
|
|
4075
4387
|
429: {
|
|
4076
4388
|
headers: {
|
|
@@ -4254,6 +4566,19 @@ interface operations {
|
|
|
4254
4566
|
|
|
4255
4567
|
type CompanyReportForm = "10-K" | "10-Q" | "20-F" | "40-F";
|
|
4256
4568
|
type CompanyReportFiscalPeriod = "Q1" | "Q2" | "Q3";
|
|
4569
|
+
type FinancialStatementsGetParams = {
|
|
4570
|
+
ticker: string;
|
|
4571
|
+
fiscalYear: number;
|
|
4572
|
+
years?: never;
|
|
4573
|
+
} | {
|
|
4574
|
+
ticker: string;
|
|
4575
|
+
years: number;
|
|
4576
|
+
fiscalYear?: never;
|
|
4577
|
+
} | {
|
|
4578
|
+
ticker: string;
|
|
4579
|
+
fiscalYear?: never;
|
|
4580
|
+
years?: never;
|
|
4581
|
+
};
|
|
4257
4582
|
type InsiderActivityForm = "3" | "3/A" | "4" | "4/A" | "5" | "5/A" | "144" | "144/A";
|
|
4258
4583
|
type InsiderTransactionCode = "A" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "O" | "P" | "S" | "U" | "V" | "W" | "X" | "Z";
|
|
4259
4584
|
type InstitutionalFilingForm = "13F-HR" | "13F-HR/A" | "13F-NT" | "13F-NT/A";
|
|
@@ -4394,6 +4719,11 @@ declare class CompanyReports {
|
|
|
4394
4719
|
accessionNumber: string;
|
|
4395
4720
|
}): PromiseWithResponse<TextResponse<"getSecCompanyReportContent">>;
|
|
4396
4721
|
}
|
|
4722
|
+
declare class FinancialStatements {
|
|
4723
|
+
private readonly transport;
|
|
4724
|
+
constructor(transport: HttpTransport);
|
|
4725
|
+
get({ ticker, fiscalYear, years, }: FinancialStatementsGetParams): PromiseWithResponse<JsonResponse<"getCompanyFinancialStatements">>;
|
|
4726
|
+
}
|
|
4397
4727
|
declare class InsiderTransactions {
|
|
4398
4728
|
private readonly transport;
|
|
4399
4729
|
constructor(transport: HttpTransport);
|
|
@@ -4539,6 +4869,7 @@ declare class Chadwin {
|
|
|
4539
4869
|
readonly companies: Companies;
|
|
4540
4870
|
readonly companyReports: CompanyReports;
|
|
4541
4871
|
readonly feeds: Feeds;
|
|
4872
|
+
readonly financialStatements: FinancialStatements;
|
|
4542
4873
|
readonly insiderFilings: InsiderFilings;
|
|
4543
4874
|
readonly insiderTransactions: InsiderTransactions;
|
|
4544
4875
|
readonly institutionalFilings: InstitutionalFilings;
|
|
@@ -4559,4 +4890,4 @@ declare class APIError extends Error {
|
|
|
4559
4890
|
constructor(message: string, options?: APIErrorOptions);
|
|
4560
4891
|
}
|
|
4561
4892
|
|
|
4562
|
-
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 };
|
|
4893
|
+
export { APIError, Chadwin, type ClientOptions, type CompanyReportFeedFilters, type CompanyReportFiscalPeriod, type CompanyReportForm, type FinancialStatementsGetParams, type InsiderActivityFeedFilters, type InsiderActivityForm, type InsiderTransactionCode, type InsiderTransactionFeedFilters, type InstitutionalFilingFeedFilters, type InstitutionalFilingForm, type InstitutionalHolding, type InstitutionalManager, type InstitutionalPosition, type PromiseWithResponse };
|