@chadwin/sdk 0.5.0 → 0.6.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 +95 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +89 -19
- package/dist/index.d.ts +89 -19
- package/dist/index.js +95 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -103,22 +103,25 @@ interface components {
|
|
|
103
103
|
};
|
|
104
104
|
CompanyInsiderTransactionsBadRequestResponse: {
|
|
105
105
|
/**
|
|
106
|
-
* @
|
|
107
|
-
* @example date_window_too_large
|
|
106
|
+
* @example invalid_cursor
|
|
108
107
|
* @enum {string}
|
|
109
108
|
*/
|
|
110
|
-
error: "invalid_transaction_codes" | "invalid_limit" | "invalid_since" | "invalid_date_window" | "
|
|
109
|
+
error: "invalid_cursor" | "invalid_transaction_codes" | "invalid_limit" | "invalid_since" | "invalid_date_window" | "unsupported_cursor";
|
|
111
110
|
};
|
|
112
111
|
CompanyInsiderTransactionsResponse: {
|
|
112
|
+
has_more: boolean;
|
|
113
113
|
issuer: components["schemas"]["InsiderIssuer"];
|
|
114
|
+
next_cursor: string | null;
|
|
114
115
|
transactions: components["schemas"]["CompanyInsiderTransactionListItem"][];
|
|
115
116
|
};
|
|
116
117
|
CompanyProposedSalesResponse: {
|
|
118
|
+
has_more: boolean;
|
|
117
119
|
issuer: {
|
|
118
120
|
cik: string;
|
|
119
121
|
name: string;
|
|
120
122
|
ticker: string;
|
|
121
123
|
};
|
|
124
|
+
next_cursor: string | null;
|
|
122
125
|
proposed_sales: {
|
|
123
126
|
accepted_at: string;
|
|
124
127
|
accession_number: string;
|
|
@@ -644,13 +647,14 @@ interface components {
|
|
|
644
647
|
};
|
|
645
648
|
InsiderTransactionsBadRequestResponse: {
|
|
646
649
|
/**
|
|
647
|
-
* @description Machine-readable error code. date_window_too_large means the requested filing-date window matched more than 1000 rows and should be narrowed.
|
|
648
650
|
* @example invalid_tickers
|
|
649
651
|
* @enum {string}
|
|
650
652
|
*/
|
|
651
|
-
error: "invalid_transaction_codes" | "invalid_tickers" | "invalid_limit" | "invalid_since" | "invalid_date_window" | "
|
|
653
|
+
error: "invalid_cursor" | "invalid_transaction_codes" | "invalid_tickers" | "invalid_limit" | "invalid_since" | "invalid_date_window" | "unsupported_cursor";
|
|
652
654
|
};
|
|
653
655
|
InsiderTransactionsResponse: {
|
|
656
|
+
has_more: boolean;
|
|
657
|
+
next_cursor: string | null;
|
|
654
658
|
transactions: components["schemas"]["InsiderTransactionListItem"][];
|
|
655
659
|
};
|
|
656
660
|
InsiderUnderlyingSecurity: {
|
|
@@ -1184,6 +1188,8 @@ interface components {
|
|
|
1184
1188
|
source_row_index: number;
|
|
1185
1189
|
};
|
|
1186
1190
|
ProposedSalesResponse: {
|
|
1191
|
+
has_more: boolean;
|
|
1192
|
+
next_cursor: string | null;
|
|
1187
1193
|
proposed_sales: {
|
|
1188
1194
|
accepted_at: string;
|
|
1189
1195
|
accession_number: string;
|
|
@@ -1430,11 +1436,15 @@ interface operations {
|
|
|
1430
1436
|
listCompanyInsiderTransactions: {
|
|
1431
1437
|
parameters: {
|
|
1432
1438
|
query: {
|
|
1439
|
+
/** @description Opaque next_cursor from the preceding page. Keep the same filters and limit. */
|
|
1440
|
+
cursor?: string;
|
|
1441
|
+
/** @description Rows per page from 1 through 1000. Defaults to 1000. */
|
|
1442
|
+
limit?: string;
|
|
1433
1443
|
/** @description Optional comma-separated SEC insider transaction codes to include. Supported codes: A, C, D, E, F, G, H, I, J, K, L, M, O, P, S, U, V, W, X, Z. Omitted or empty means all supported codes. */
|
|
1434
1444
|
transaction_codes?: string;
|
|
1435
|
-
/** @description Required inclusive SEC filing-date lower bound in YYYY-MM-DD format.
|
|
1445
|
+
/** @description Required inclusive SEC filing-date lower bound in YYYY-MM-DD format. */
|
|
1436
1446
|
from: string;
|
|
1437
|
-
/** @description Optional inclusive SEC filing-date upper bound in YYYY-MM-DD format. Defaults to the current date.
|
|
1447
|
+
/** @description Optional inclusive SEC filing-date upper bound in YYYY-MM-DD format. Defaults to the current date. */
|
|
1438
1448
|
until?: string;
|
|
1439
1449
|
};
|
|
1440
1450
|
header?: never;
|
|
@@ -1458,11 +1468,13 @@ interface operations {
|
|
|
1458
1468
|
content: {
|
|
1459
1469
|
/**
|
|
1460
1470
|
* @example {
|
|
1471
|
+
* "has_more": false,
|
|
1461
1472
|
* "issuer": {
|
|
1462
1473
|
* "cik": "0000320193",
|
|
1463
1474
|
* "name": "Apple Inc.",
|
|
1464
1475
|
* "ticker": "AAPL"
|
|
1465
1476
|
* },
|
|
1477
|
+
* "next_cursor": null,
|
|
1466
1478
|
* "transactions": [
|
|
1467
1479
|
* {
|
|
1468
1480
|
* "accepted_at": "2026-05-29T22:30:27.000Z",
|
|
@@ -1581,7 +1593,7 @@ interface operations {
|
|
|
1581
1593
|
"application/json": components["schemas"]["CompanyInsiderTransactionsResponse"];
|
|
1582
1594
|
};
|
|
1583
1595
|
};
|
|
1584
|
-
/** @description The query parameters
|
|
1596
|
+
/** @description The query parameters or pagination cursor are invalid. */
|
|
1585
1597
|
400: {
|
|
1586
1598
|
headers: {
|
|
1587
1599
|
[name: string]: unknown;
|
|
@@ -1646,6 +1658,10 @@ interface operations {
|
|
|
1646
1658
|
listCompanyProposedSales: {
|
|
1647
1659
|
parameters: {
|
|
1648
1660
|
query: {
|
|
1661
|
+
/** @description Opaque next_cursor from the preceding page. Keep the same filters and limit. */
|
|
1662
|
+
cursor?: string;
|
|
1663
|
+
/** @description Rows per page from 1 through 1000. Defaults to 1000. */
|
|
1664
|
+
limit?: string;
|
|
1649
1665
|
from: string;
|
|
1650
1666
|
until?: string;
|
|
1651
1667
|
};
|
|
@@ -1670,11 +1686,13 @@ interface operations {
|
|
|
1670
1686
|
content: {
|
|
1671
1687
|
/**
|
|
1672
1688
|
* @example {
|
|
1689
|
+
* "has_more": false,
|
|
1673
1690
|
* "issuer": {
|
|
1674
1691
|
* "cik": "0000320193",
|
|
1675
1692
|
* "name": "Apple Inc.",
|
|
1676
1693
|
* "ticker": "AAPL"
|
|
1677
1694
|
* },
|
|
1695
|
+
* "next_cursor": null,
|
|
1678
1696
|
* "proposed_sales": [
|
|
1679
1697
|
* {
|
|
1680
1698
|
* "accepted_at": "2026-07-29T18:04:05.000Z",
|
|
@@ -1699,13 +1717,16 @@ interface operations {
|
|
|
1699
1717
|
"application/json": components["schemas"]["CompanyProposedSalesResponse"];
|
|
1700
1718
|
};
|
|
1701
1719
|
};
|
|
1702
|
-
/** @description The query
|
|
1720
|
+
/** @description The query parameters or pagination cursor are invalid */
|
|
1703
1721
|
400: {
|
|
1704
1722
|
headers: {
|
|
1705
1723
|
[name: string]: unknown;
|
|
1706
1724
|
};
|
|
1707
1725
|
content: {
|
|
1708
|
-
"application/json":
|
|
1726
|
+
"application/json": {
|
|
1727
|
+
/** @enum {string} */
|
|
1728
|
+
error: "invalid_cursor" | "invalid_date_window" | "invalid_limit" | "invalid_tickers" | "unsupported_cursor";
|
|
1729
|
+
};
|
|
1709
1730
|
};
|
|
1710
1731
|
};
|
|
1711
1732
|
/** @description The request is missing a valid Chadwin API key. */
|
|
@@ -2228,11 +2249,15 @@ interface operations {
|
|
|
2228
2249
|
listInsiderTransactions: {
|
|
2229
2250
|
parameters: {
|
|
2230
2251
|
query: {
|
|
2252
|
+
/** @description Opaque next_cursor from the preceding page. Keep the same filters and limit. */
|
|
2253
|
+
cursor?: string;
|
|
2254
|
+
/** @description Rows per page from 1 through 1000. Defaults to 1000. */
|
|
2255
|
+
limit?: string;
|
|
2231
2256
|
/** @description Optional comma-separated SEC insider transaction codes to include. Supported codes: A, C, D, E, F, G, H, I, J, K, L, M, O, P, S, U, V, W, X, Z. Omitted or empty means all supported codes. */
|
|
2232
2257
|
transaction_codes?: string;
|
|
2233
|
-
/** @description Required inclusive SEC filing-date lower bound in YYYY-MM-DD format.
|
|
2258
|
+
/** @description Required inclusive SEC filing-date lower bound in YYYY-MM-DD format. */
|
|
2234
2259
|
from: string;
|
|
2235
|
-
/** @description Optional inclusive SEC filing-date upper bound in YYYY-MM-DD format. Defaults to the current date.
|
|
2260
|
+
/** @description Optional inclusive SEC filing-date upper bound in YYYY-MM-DD format. Defaults to the current date. */
|
|
2236
2261
|
until?: string;
|
|
2237
2262
|
/** @description Optional comma-separated US listed ticker filter. */
|
|
2238
2263
|
tickers?: string;
|
|
@@ -2255,6 +2280,8 @@ interface operations {
|
|
|
2255
2280
|
content: {
|
|
2256
2281
|
/**
|
|
2257
2282
|
* @example {
|
|
2283
|
+
* "has_more": false,
|
|
2284
|
+
* "next_cursor": null,
|
|
2258
2285
|
* "transactions": [
|
|
2259
2286
|
* {
|
|
2260
2287
|
* "accepted_at": "2026-05-29T22:30:27.000Z",
|
|
@@ -2383,7 +2410,7 @@ interface operations {
|
|
|
2383
2410
|
"application/json": components["schemas"]["InsiderTransactionsResponse"];
|
|
2384
2411
|
};
|
|
2385
2412
|
};
|
|
2386
|
-
/** @description The query parameters
|
|
2413
|
+
/** @description The query parameters or pagination cursor are invalid. */
|
|
2387
2414
|
400: {
|
|
2388
2415
|
headers: {
|
|
2389
2416
|
[name: string]: unknown;
|
|
@@ -3305,6 +3332,10 @@ interface operations {
|
|
|
3305
3332
|
listProposedSales: {
|
|
3306
3333
|
parameters: {
|
|
3307
3334
|
query: {
|
|
3335
|
+
/** @description Opaque next_cursor from the preceding page. Keep the same filters and limit. */
|
|
3336
|
+
cursor?: string;
|
|
3337
|
+
/** @description Rows per page from 1 through 1000. Defaults to 1000. */
|
|
3338
|
+
limit?: string;
|
|
3308
3339
|
from: string;
|
|
3309
3340
|
until?: string;
|
|
3310
3341
|
tickers?: string;
|
|
@@ -3327,6 +3358,8 @@ interface operations {
|
|
|
3327
3358
|
content: {
|
|
3328
3359
|
/**
|
|
3329
3360
|
* @example {
|
|
3361
|
+
* "has_more": false,
|
|
3362
|
+
* "next_cursor": null,
|
|
3330
3363
|
* "proposed_sales": [
|
|
3331
3364
|
* {
|
|
3332
3365
|
* "accepted_at": "2026-07-29T18:04:05.000Z",
|
|
@@ -3356,13 +3389,16 @@ interface operations {
|
|
|
3356
3389
|
"application/json": components["schemas"]["ProposedSalesResponse"];
|
|
3357
3390
|
};
|
|
3358
3391
|
};
|
|
3359
|
-
/** @description The query
|
|
3392
|
+
/** @description The query parameters or pagination cursor are invalid */
|
|
3360
3393
|
400: {
|
|
3361
3394
|
headers: {
|
|
3362
3395
|
[name: string]: unknown;
|
|
3363
3396
|
};
|
|
3364
3397
|
content: {
|
|
3365
|
-
"application/json":
|
|
3398
|
+
"application/json": {
|
|
3399
|
+
/** @enum {string} */
|
|
3400
|
+
error: "invalid_cursor" | "invalid_date_window" | "invalid_limit" | "invalid_tickers" | "unsupported_cursor";
|
|
3401
|
+
};
|
|
3366
3402
|
};
|
|
3367
3403
|
};
|
|
3368
3404
|
/** @description The request is missing a valid Chadwin API key. */
|
|
@@ -4361,18 +4397,36 @@ declare class CompanyReports {
|
|
|
4361
4397
|
declare class InsiderTransactions {
|
|
4362
4398
|
private readonly transport;
|
|
4363
4399
|
constructor(transport: HttpTransport);
|
|
4364
|
-
list({ from, until, tickers, transactionCodes, }: {
|
|
4400
|
+
list({ cursor, from, limit, until, tickers, transactionCodes, }: {
|
|
4401
|
+
cursor?: string;
|
|
4365
4402
|
from: string;
|
|
4403
|
+
limit?: number;
|
|
4366
4404
|
until?: string;
|
|
4367
4405
|
tickers?: string[];
|
|
4368
4406
|
transactionCodes?: InsiderTransactionCode[];
|
|
4369
4407
|
}): PromiseWithResponse<JsonResponse<"listInsiderTransactions">>;
|
|
4370
|
-
listForCompany({ ticker, from, until, transactionCodes, }: {
|
|
4408
|
+
listForCompany({ cursor, ticker, from, limit, until, transactionCodes, }: {
|
|
4409
|
+
cursor?: string;
|
|
4371
4410
|
ticker: string;
|
|
4372
4411
|
from: string;
|
|
4412
|
+
limit?: number;
|
|
4373
4413
|
until?: string;
|
|
4374
4414
|
transactionCodes?: InsiderTransactionCode[];
|
|
4375
4415
|
}): PromiseWithResponse<JsonResponse<"listCompanyInsiderTransactions">>;
|
|
4416
|
+
iterate({ from, until, tickers, transactionCodes, limit, }: {
|
|
4417
|
+
from: string;
|
|
4418
|
+
until?: string;
|
|
4419
|
+
tickers?: string[];
|
|
4420
|
+
transactionCodes?: InsiderTransactionCode[];
|
|
4421
|
+
limit?: number;
|
|
4422
|
+
}): AsyncGenerator<JsonResponse<"listInsiderTransactions">["transactions"][number]>;
|
|
4423
|
+
iterateForCompany({ ticker, from, until, transactionCodes, limit, }: {
|
|
4424
|
+
ticker: string;
|
|
4425
|
+
from: string;
|
|
4426
|
+
until?: string;
|
|
4427
|
+
transactionCodes?: InsiderTransactionCode[];
|
|
4428
|
+
limit?: number;
|
|
4429
|
+
}): AsyncGenerator<JsonResponse<"listCompanyInsiderTransactions">["transactions"][number]>;
|
|
4376
4430
|
}
|
|
4377
4431
|
declare class InsiderFilings {
|
|
4378
4432
|
private readonly transport;
|
|
@@ -4384,16 +4438,32 @@ declare class InsiderFilings {
|
|
|
4384
4438
|
declare class ProposedSales {
|
|
4385
4439
|
private readonly transport;
|
|
4386
4440
|
constructor(transport: HttpTransport);
|
|
4387
|
-
list({ from, until, tickers, }: {
|
|
4441
|
+
list({ cursor, from, limit, until, tickers, }: {
|
|
4442
|
+
cursor?: string;
|
|
4388
4443
|
from: string;
|
|
4444
|
+
limit?: number;
|
|
4389
4445
|
until?: string;
|
|
4390
4446
|
tickers?: string[];
|
|
4391
4447
|
}): PromiseWithResponse<JsonResponse<"listProposedSales">>;
|
|
4392
|
-
listForCompany({ ticker, from, until, }: {
|
|
4448
|
+
listForCompany({ cursor, ticker, from, limit, until, }: {
|
|
4449
|
+
cursor?: string;
|
|
4393
4450
|
ticker: string;
|
|
4394
4451
|
from: string;
|
|
4452
|
+
limit?: number;
|
|
4395
4453
|
until?: string;
|
|
4396
4454
|
}): PromiseWithResponse<JsonResponse<"listCompanyProposedSales">>;
|
|
4455
|
+
iterate({ from, until, tickers, limit, }: {
|
|
4456
|
+
from: string;
|
|
4457
|
+
until?: string;
|
|
4458
|
+
tickers?: string[];
|
|
4459
|
+
limit?: number;
|
|
4460
|
+
}): AsyncGenerator<JsonResponse<"listProposedSales">["proposed_sales"][number]>;
|
|
4461
|
+
iterateForCompany({ ticker, from, until, limit, }: {
|
|
4462
|
+
ticker: string;
|
|
4463
|
+
from: string;
|
|
4464
|
+
until?: string;
|
|
4465
|
+
limit?: number;
|
|
4466
|
+
}): AsyncGenerator<JsonResponse<"listCompanyProposedSales">["proposed_sales"][number]>;
|
|
4397
4467
|
getFiling({ accessionNumber, }: {
|
|
4398
4468
|
accessionNumber: string;
|
|
4399
4469
|
}): PromiseWithResponse<JsonResponse<"getSecProposedSaleFiling">>;
|
package/dist/index.d.ts
CHANGED
|
@@ -103,22 +103,25 @@ interface components {
|
|
|
103
103
|
};
|
|
104
104
|
CompanyInsiderTransactionsBadRequestResponse: {
|
|
105
105
|
/**
|
|
106
|
-
* @
|
|
107
|
-
* @example date_window_too_large
|
|
106
|
+
* @example invalid_cursor
|
|
108
107
|
* @enum {string}
|
|
109
108
|
*/
|
|
110
|
-
error: "invalid_transaction_codes" | "invalid_limit" | "invalid_since" | "invalid_date_window" | "
|
|
109
|
+
error: "invalid_cursor" | "invalid_transaction_codes" | "invalid_limit" | "invalid_since" | "invalid_date_window" | "unsupported_cursor";
|
|
111
110
|
};
|
|
112
111
|
CompanyInsiderTransactionsResponse: {
|
|
112
|
+
has_more: boolean;
|
|
113
113
|
issuer: components["schemas"]["InsiderIssuer"];
|
|
114
|
+
next_cursor: string | null;
|
|
114
115
|
transactions: components["schemas"]["CompanyInsiderTransactionListItem"][];
|
|
115
116
|
};
|
|
116
117
|
CompanyProposedSalesResponse: {
|
|
118
|
+
has_more: boolean;
|
|
117
119
|
issuer: {
|
|
118
120
|
cik: string;
|
|
119
121
|
name: string;
|
|
120
122
|
ticker: string;
|
|
121
123
|
};
|
|
124
|
+
next_cursor: string | null;
|
|
122
125
|
proposed_sales: {
|
|
123
126
|
accepted_at: string;
|
|
124
127
|
accession_number: string;
|
|
@@ -644,13 +647,14 @@ interface components {
|
|
|
644
647
|
};
|
|
645
648
|
InsiderTransactionsBadRequestResponse: {
|
|
646
649
|
/**
|
|
647
|
-
* @description Machine-readable error code. date_window_too_large means the requested filing-date window matched more than 1000 rows and should be narrowed.
|
|
648
650
|
* @example invalid_tickers
|
|
649
651
|
* @enum {string}
|
|
650
652
|
*/
|
|
651
|
-
error: "invalid_transaction_codes" | "invalid_tickers" | "invalid_limit" | "invalid_since" | "invalid_date_window" | "
|
|
653
|
+
error: "invalid_cursor" | "invalid_transaction_codes" | "invalid_tickers" | "invalid_limit" | "invalid_since" | "invalid_date_window" | "unsupported_cursor";
|
|
652
654
|
};
|
|
653
655
|
InsiderTransactionsResponse: {
|
|
656
|
+
has_more: boolean;
|
|
657
|
+
next_cursor: string | null;
|
|
654
658
|
transactions: components["schemas"]["InsiderTransactionListItem"][];
|
|
655
659
|
};
|
|
656
660
|
InsiderUnderlyingSecurity: {
|
|
@@ -1184,6 +1188,8 @@ interface components {
|
|
|
1184
1188
|
source_row_index: number;
|
|
1185
1189
|
};
|
|
1186
1190
|
ProposedSalesResponse: {
|
|
1191
|
+
has_more: boolean;
|
|
1192
|
+
next_cursor: string | null;
|
|
1187
1193
|
proposed_sales: {
|
|
1188
1194
|
accepted_at: string;
|
|
1189
1195
|
accession_number: string;
|
|
@@ -1430,11 +1436,15 @@ interface operations {
|
|
|
1430
1436
|
listCompanyInsiderTransactions: {
|
|
1431
1437
|
parameters: {
|
|
1432
1438
|
query: {
|
|
1439
|
+
/** @description Opaque next_cursor from the preceding page. Keep the same filters and limit. */
|
|
1440
|
+
cursor?: string;
|
|
1441
|
+
/** @description Rows per page from 1 through 1000. Defaults to 1000. */
|
|
1442
|
+
limit?: string;
|
|
1433
1443
|
/** @description Optional comma-separated SEC insider transaction codes to include. Supported codes: A, C, D, E, F, G, H, I, J, K, L, M, O, P, S, U, V, W, X, Z. Omitted or empty means all supported codes. */
|
|
1434
1444
|
transaction_codes?: string;
|
|
1435
|
-
/** @description Required inclusive SEC filing-date lower bound in YYYY-MM-DD format.
|
|
1445
|
+
/** @description Required inclusive SEC filing-date lower bound in YYYY-MM-DD format. */
|
|
1436
1446
|
from: string;
|
|
1437
|
-
/** @description Optional inclusive SEC filing-date upper bound in YYYY-MM-DD format. Defaults to the current date.
|
|
1447
|
+
/** @description Optional inclusive SEC filing-date upper bound in YYYY-MM-DD format. Defaults to the current date. */
|
|
1438
1448
|
until?: string;
|
|
1439
1449
|
};
|
|
1440
1450
|
header?: never;
|
|
@@ -1458,11 +1468,13 @@ interface operations {
|
|
|
1458
1468
|
content: {
|
|
1459
1469
|
/**
|
|
1460
1470
|
* @example {
|
|
1471
|
+
* "has_more": false,
|
|
1461
1472
|
* "issuer": {
|
|
1462
1473
|
* "cik": "0000320193",
|
|
1463
1474
|
* "name": "Apple Inc.",
|
|
1464
1475
|
* "ticker": "AAPL"
|
|
1465
1476
|
* },
|
|
1477
|
+
* "next_cursor": null,
|
|
1466
1478
|
* "transactions": [
|
|
1467
1479
|
* {
|
|
1468
1480
|
* "accepted_at": "2026-05-29T22:30:27.000Z",
|
|
@@ -1581,7 +1593,7 @@ interface operations {
|
|
|
1581
1593
|
"application/json": components["schemas"]["CompanyInsiderTransactionsResponse"];
|
|
1582
1594
|
};
|
|
1583
1595
|
};
|
|
1584
|
-
/** @description The query parameters
|
|
1596
|
+
/** @description The query parameters or pagination cursor are invalid. */
|
|
1585
1597
|
400: {
|
|
1586
1598
|
headers: {
|
|
1587
1599
|
[name: string]: unknown;
|
|
@@ -1646,6 +1658,10 @@ interface operations {
|
|
|
1646
1658
|
listCompanyProposedSales: {
|
|
1647
1659
|
parameters: {
|
|
1648
1660
|
query: {
|
|
1661
|
+
/** @description Opaque next_cursor from the preceding page. Keep the same filters and limit. */
|
|
1662
|
+
cursor?: string;
|
|
1663
|
+
/** @description Rows per page from 1 through 1000. Defaults to 1000. */
|
|
1664
|
+
limit?: string;
|
|
1649
1665
|
from: string;
|
|
1650
1666
|
until?: string;
|
|
1651
1667
|
};
|
|
@@ -1670,11 +1686,13 @@ interface operations {
|
|
|
1670
1686
|
content: {
|
|
1671
1687
|
/**
|
|
1672
1688
|
* @example {
|
|
1689
|
+
* "has_more": false,
|
|
1673
1690
|
* "issuer": {
|
|
1674
1691
|
* "cik": "0000320193",
|
|
1675
1692
|
* "name": "Apple Inc.",
|
|
1676
1693
|
* "ticker": "AAPL"
|
|
1677
1694
|
* },
|
|
1695
|
+
* "next_cursor": null,
|
|
1678
1696
|
* "proposed_sales": [
|
|
1679
1697
|
* {
|
|
1680
1698
|
* "accepted_at": "2026-07-29T18:04:05.000Z",
|
|
@@ -1699,13 +1717,16 @@ interface operations {
|
|
|
1699
1717
|
"application/json": components["schemas"]["CompanyProposedSalesResponse"];
|
|
1700
1718
|
};
|
|
1701
1719
|
};
|
|
1702
|
-
/** @description The query
|
|
1720
|
+
/** @description The query parameters or pagination cursor are invalid */
|
|
1703
1721
|
400: {
|
|
1704
1722
|
headers: {
|
|
1705
1723
|
[name: string]: unknown;
|
|
1706
1724
|
};
|
|
1707
1725
|
content: {
|
|
1708
|
-
"application/json":
|
|
1726
|
+
"application/json": {
|
|
1727
|
+
/** @enum {string} */
|
|
1728
|
+
error: "invalid_cursor" | "invalid_date_window" | "invalid_limit" | "invalid_tickers" | "unsupported_cursor";
|
|
1729
|
+
};
|
|
1709
1730
|
};
|
|
1710
1731
|
};
|
|
1711
1732
|
/** @description The request is missing a valid Chadwin API key. */
|
|
@@ -2228,11 +2249,15 @@ interface operations {
|
|
|
2228
2249
|
listInsiderTransactions: {
|
|
2229
2250
|
parameters: {
|
|
2230
2251
|
query: {
|
|
2252
|
+
/** @description Opaque next_cursor from the preceding page. Keep the same filters and limit. */
|
|
2253
|
+
cursor?: string;
|
|
2254
|
+
/** @description Rows per page from 1 through 1000. Defaults to 1000. */
|
|
2255
|
+
limit?: string;
|
|
2231
2256
|
/** @description Optional comma-separated SEC insider transaction codes to include. Supported codes: A, C, D, E, F, G, H, I, J, K, L, M, O, P, S, U, V, W, X, Z. Omitted or empty means all supported codes. */
|
|
2232
2257
|
transaction_codes?: string;
|
|
2233
|
-
/** @description Required inclusive SEC filing-date lower bound in YYYY-MM-DD format.
|
|
2258
|
+
/** @description Required inclusive SEC filing-date lower bound in YYYY-MM-DD format. */
|
|
2234
2259
|
from: string;
|
|
2235
|
-
/** @description Optional inclusive SEC filing-date upper bound in YYYY-MM-DD format. Defaults to the current date.
|
|
2260
|
+
/** @description Optional inclusive SEC filing-date upper bound in YYYY-MM-DD format. Defaults to the current date. */
|
|
2236
2261
|
until?: string;
|
|
2237
2262
|
/** @description Optional comma-separated US listed ticker filter. */
|
|
2238
2263
|
tickers?: string;
|
|
@@ -2255,6 +2280,8 @@ interface operations {
|
|
|
2255
2280
|
content: {
|
|
2256
2281
|
/**
|
|
2257
2282
|
* @example {
|
|
2283
|
+
* "has_more": false,
|
|
2284
|
+
* "next_cursor": null,
|
|
2258
2285
|
* "transactions": [
|
|
2259
2286
|
* {
|
|
2260
2287
|
* "accepted_at": "2026-05-29T22:30:27.000Z",
|
|
@@ -2383,7 +2410,7 @@ interface operations {
|
|
|
2383
2410
|
"application/json": components["schemas"]["InsiderTransactionsResponse"];
|
|
2384
2411
|
};
|
|
2385
2412
|
};
|
|
2386
|
-
/** @description The query parameters
|
|
2413
|
+
/** @description The query parameters or pagination cursor are invalid. */
|
|
2387
2414
|
400: {
|
|
2388
2415
|
headers: {
|
|
2389
2416
|
[name: string]: unknown;
|
|
@@ -3305,6 +3332,10 @@ interface operations {
|
|
|
3305
3332
|
listProposedSales: {
|
|
3306
3333
|
parameters: {
|
|
3307
3334
|
query: {
|
|
3335
|
+
/** @description Opaque next_cursor from the preceding page. Keep the same filters and limit. */
|
|
3336
|
+
cursor?: string;
|
|
3337
|
+
/** @description Rows per page from 1 through 1000. Defaults to 1000. */
|
|
3338
|
+
limit?: string;
|
|
3308
3339
|
from: string;
|
|
3309
3340
|
until?: string;
|
|
3310
3341
|
tickers?: string;
|
|
@@ -3327,6 +3358,8 @@ interface operations {
|
|
|
3327
3358
|
content: {
|
|
3328
3359
|
/**
|
|
3329
3360
|
* @example {
|
|
3361
|
+
* "has_more": false,
|
|
3362
|
+
* "next_cursor": null,
|
|
3330
3363
|
* "proposed_sales": [
|
|
3331
3364
|
* {
|
|
3332
3365
|
* "accepted_at": "2026-07-29T18:04:05.000Z",
|
|
@@ -3356,13 +3389,16 @@ interface operations {
|
|
|
3356
3389
|
"application/json": components["schemas"]["ProposedSalesResponse"];
|
|
3357
3390
|
};
|
|
3358
3391
|
};
|
|
3359
|
-
/** @description The query
|
|
3392
|
+
/** @description The query parameters or pagination cursor are invalid */
|
|
3360
3393
|
400: {
|
|
3361
3394
|
headers: {
|
|
3362
3395
|
[name: string]: unknown;
|
|
3363
3396
|
};
|
|
3364
3397
|
content: {
|
|
3365
|
-
"application/json":
|
|
3398
|
+
"application/json": {
|
|
3399
|
+
/** @enum {string} */
|
|
3400
|
+
error: "invalid_cursor" | "invalid_date_window" | "invalid_limit" | "invalid_tickers" | "unsupported_cursor";
|
|
3401
|
+
};
|
|
3366
3402
|
};
|
|
3367
3403
|
};
|
|
3368
3404
|
/** @description The request is missing a valid Chadwin API key. */
|
|
@@ -4361,18 +4397,36 @@ declare class CompanyReports {
|
|
|
4361
4397
|
declare class InsiderTransactions {
|
|
4362
4398
|
private readonly transport;
|
|
4363
4399
|
constructor(transport: HttpTransport);
|
|
4364
|
-
list({ from, until, tickers, transactionCodes, }: {
|
|
4400
|
+
list({ cursor, from, limit, until, tickers, transactionCodes, }: {
|
|
4401
|
+
cursor?: string;
|
|
4365
4402
|
from: string;
|
|
4403
|
+
limit?: number;
|
|
4366
4404
|
until?: string;
|
|
4367
4405
|
tickers?: string[];
|
|
4368
4406
|
transactionCodes?: InsiderTransactionCode[];
|
|
4369
4407
|
}): PromiseWithResponse<JsonResponse<"listInsiderTransactions">>;
|
|
4370
|
-
listForCompany({ ticker, from, until, transactionCodes, }: {
|
|
4408
|
+
listForCompany({ cursor, ticker, from, limit, until, transactionCodes, }: {
|
|
4409
|
+
cursor?: string;
|
|
4371
4410
|
ticker: string;
|
|
4372
4411
|
from: string;
|
|
4412
|
+
limit?: number;
|
|
4373
4413
|
until?: string;
|
|
4374
4414
|
transactionCodes?: InsiderTransactionCode[];
|
|
4375
4415
|
}): PromiseWithResponse<JsonResponse<"listCompanyInsiderTransactions">>;
|
|
4416
|
+
iterate({ from, until, tickers, transactionCodes, limit, }: {
|
|
4417
|
+
from: string;
|
|
4418
|
+
until?: string;
|
|
4419
|
+
tickers?: string[];
|
|
4420
|
+
transactionCodes?: InsiderTransactionCode[];
|
|
4421
|
+
limit?: number;
|
|
4422
|
+
}): AsyncGenerator<JsonResponse<"listInsiderTransactions">["transactions"][number]>;
|
|
4423
|
+
iterateForCompany({ ticker, from, until, transactionCodes, limit, }: {
|
|
4424
|
+
ticker: string;
|
|
4425
|
+
from: string;
|
|
4426
|
+
until?: string;
|
|
4427
|
+
transactionCodes?: InsiderTransactionCode[];
|
|
4428
|
+
limit?: number;
|
|
4429
|
+
}): AsyncGenerator<JsonResponse<"listCompanyInsiderTransactions">["transactions"][number]>;
|
|
4376
4430
|
}
|
|
4377
4431
|
declare class InsiderFilings {
|
|
4378
4432
|
private readonly transport;
|
|
@@ -4384,16 +4438,32 @@ declare class InsiderFilings {
|
|
|
4384
4438
|
declare class ProposedSales {
|
|
4385
4439
|
private readonly transport;
|
|
4386
4440
|
constructor(transport: HttpTransport);
|
|
4387
|
-
list({ from, until, tickers, }: {
|
|
4441
|
+
list({ cursor, from, limit, until, tickers, }: {
|
|
4442
|
+
cursor?: string;
|
|
4388
4443
|
from: string;
|
|
4444
|
+
limit?: number;
|
|
4389
4445
|
until?: string;
|
|
4390
4446
|
tickers?: string[];
|
|
4391
4447
|
}): PromiseWithResponse<JsonResponse<"listProposedSales">>;
|
|
4392
|
-
listForCompany({ ticker, from, until, }: {
|
|
4448
|
+
listForCompany({ cursor, ticker, from, limit, until, }: {
|
|
4449
|
+
cursor?: string;
|
|
4393
4450
|
ticker: string;
|
|
4394
4451
|
from: string;
|
|
4452
|
+
limit?: number;
|
|
4395
4453
|
until?: string;
|
|
4396
4454
|
}): PromiseWithResponse<JsonResponse<"listCompanyProposedSales">>;
|
|
4455
|
+
iterate({ from, until, tickers, limit, }: {
|
|
4456
|
+
from: string;
|
|
4457
|
+
until?: string;
|
|
4458
|
+
tickers?: string[];
|
|
4459
|
+
limit?: number;
|
|
4460
|
+
}): AsyncGenerator<JsonResponse<"listProposedSales">["proposed_sales"][number]>;
|
|
4461
|
+
iterateForCompany({ ticker, from, until, limit, }: {
|
|
4462
|
+
ticker: string;
|
|
4463
|
+
from: string;
|
|
4464
|
+
until?: string;
|
|
4465
|
+
limit?: number;
|
|
4466
|
+
}): AsyncGenerator<JsonResponse<"listCompanyProposedSales">["proposed_sales"][number]>;
|
|
4397
4467
|
getFiling({ accessionNumber, }: {
|
|
4398
4468
|
accessionNumber: string;
|
|
4399
4469
|
}): PromiseWithResponse<JsonResponse<"getSecProposedSaleFiling">>;
|