@robosystems/client 2.5.2 → 2.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/artifacts/InvestorClient.d.ts +7 -1
- package/artifacts/InvestorClient.js +24 -14
- package/artifacts/InvestorClient.ts +46 -27
- package/artifacts/LedgerClient.d.ts +23 -17
- package/artifacts/LedgerClient.js +116 -123
- package/artifacts/LedgerClient.ts +180 -242
- package/artifacts/OperationClient.js +24 -1
- package/artifacts/OperationClient.ts +24 -1
- package/artifacts/OperatorClient.d.ts +10 -0
- package/artifacts/OperatorClient.js +72 -17
- package/artifacts/OperatorClient.ts +79 -21
- package/artifacts/QueryClient.d.ts +2 -1
- package/artifacts/QueryClient.js +17 -58
- package/artifacts/QueryClient.ts +21 -68
- package/artifacts/SSEClient.d.ts +1 -0
- package/artifacts/SSEClient.js +56 -7
- package/artifacts/SSEClient.ts +57 -7
- package/artifacts/config.js +18 -4
- package/artifacts/config.ts +18 -4
- package/artifacts/graphql/client.d.ts +10 -0
- package/artifacts/graphql/client.js +29 -21
- package/artifacts/graphql/client.ts +34 -23
- package/artifacts/index.d.ts +2 -2
- package/artifacts/index.js +6 -6
- package/artifacts/index.ts +8 -8
- package/artifacts/rest.d.ts +22 -0
- package/artifacts/rest.js +27 -0
- package/artifacts/rest.ts +54 -0
- package/artifacts/retry.js +8 -3
- package/artifacts/retry.ts +8 -3
- package/package.json +9 -1
- package/sdk/sdk.gen.d.ts +2 -2
- package/sdk/sdk.gen.js +2 -2
- package/sdk/sdk.gen.ts +2 -2
- package/sdk/types.gen.d.ts +21 -13
- package/sdk/types.gen.ts +21 -13
- package/sdk.gen.d.ts +2 -2
- package/sdk.gen.js +2 -2
- package/sdk.gen.ts +2 -2
- package/types.gen.d.ts +21 -13
- package/types.gen.ts +21 -13
package/sdk.gen.js
CHANGED
|
@@ -2640,7 +2640,7 @@ exports.unblockSourceGraph = unblockSourceGraph;
|
|
|
2640
2640
|
/**
|
|
2641
2641
|
* Build Fact Grid
|
|
2642
2642
|
*
|
|
2643
|
-
* Queries LadybugDB `Fact` nodes by element qnames
|
|
2643
|
+
* Queries LadybugDB `Fact` nodes by element qnames, with filters for periods and entities. Returns deduplicated facts plus the aspects they span — arranging them into a table is the consumer's job, since collapsing cells safely requires the full aspect signature. Works on both roboledger tenant graphs (post-materialization) and the SEC shared repository. Canonical concepts and the form and fiscal-period filters exist on shared repositories only: a ledger's graph carries none of them, and a query by them there is refused rather than answered with nothing.
|
|
2644
2644
|
*
|
|
2645
2645
|
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2646
2646
|
*/
|
|
@@ -2708,7 +2708,7 @@ exports.informationBlock = informationBlock;
|
|
|
2708
2708
|
/**
|
|
2709
2709
|
* Describe Filing
|
|
2710
2710
|
*
|
|
2711
|
-
* How one filing is laid out: entity, periods, statements and disclosures by role, axes, and its text — the Items of a 10-K or 10-Q and its largest text blocks, each with the character offset `read-text` pages from. On the SEC shared repository the filing is read from its public folder — its own document, from any processed year — and a `ticker` picks it: the latest annual report, narrowed by `fiscal_year` / `period_type`, or one `accession`, or with `form: 8-K` the latest earnings release and its exhibits. SEC only: a ledger files no document, and its sections read through `disclosures` and `information-block`.
|
|
2711
|
+
* How one filing is laid out: entity, periods, statements and disclosures by role, axes, and its text — the Items of a 10-K or 10-Q and its largest text blocks, each with the character offset `read-text` pages from. On the SEC shared repository the filing is read from its public folder — its own document, from any processed year — and a `ticker` picks it: the latest annual report, narrowed by `fiscal_year` / `period_type`, or one `accession`, or with `form: 8-K` the latest earnings release and its exhibits (`fiscal_year` is then the calendar year it was filed, and a CIK may stand in for the ticker). SEC only: a ledger files no document, and its sections read through `disclosures` and `information-block`.
|
|
2712
2712
|
*
|
|
2713
2713
|
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2714
2714
|
*/
|
package/sdk.gen.ts
CHANGED
|
@@ -2651,7 +2651,7 @@ export const unblockSourceGraph = <ThrowOnError extends boolean = false>(options
|
|
|
2651
2651
|
/**
|
|
2652
2652
|
* Build Fact Grid
|
|
2653
2653
|
*
|
|
2654
|
-
* Queries LadybugDB `Fact` nodes by element qnames
|
|
2654
|
+
* Queries LadybugDB `Fact` nodes by element qnames, with filters for periods and entities. Returns deduplicated facts plus the aspects they span — arranging them into a table is the consumer's job, since collapsing cells safely requires the full aspect signature. Works on both roboledger tenant graphs (post-materialization) and the SEC shared repository. Canonical concepts and the form and fiscal-period filters exist on shared repositories only: a ledger's graph carries none of them, and a query by them there is refused rather than answered with nothing.
|
|
2655
2655
|
*
|
|
2656
2656
|
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2657
2657
|
*/
|
|
@@ -2719,7 +2719,7 @@ export const informationBlock = <ThrowOnError extends boolean = false>(options:
|
|
|
2719
2719
|
/**
|
|
2720
2720
|
* Describe Filing
|
|
2721
2721
|
*
|
|
2722
|
-
* How one filing is laid out: entity, periods, statements and disclosures by role, axes, and its text — the Items of a 10-K or 10-Q and its largest text blocks, each with the character offset `read-text` pages from. On the SEC shared repository the filing is read from its public folder — its own document, from any processed year — and a `ticker` picks it: the latest annual report, narrowed by `fiscal_year` / `period_type`, or one `accession`, or with `form: 8-K` the latest earnings release and its exhibits. SEC only: a ledger files no document, and its sections read through `disclosures` and `information-block`.
|
|
2722
|
+
* How one filing is laid out: entity, periods, statements and disclosures by role, axes, and its text — the Items of a 10-K or 10-Q and its largest text blocks, each with the character offset `read-text` pages from. On the SEC shared repository the filing is read from its public folder — its own document, from any processed year — and a `ticker` picks it: the latest annual report, narrowed by `fiscal_year` / `period_type`, or one `accession`, or with `form: 8-K` the latest earnings release and its exhibits (`fiscal_year` is then the calendar year it was filed, and a CIK may stand in for the ticker). SEC only: a ledger files no document, and its sections read through `disclosures` and `information-block`.
|
|
2723
2723
|
*
|
|
2724
2724
|
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2725
2725
|
*/
|
package/types.gen.d.ts
CHANGED
|
@@ -158,6 +158,12 @@ export type AnalyticalStatementFactRow = {
|
|
|
158
158
|
* Value
|
|
159
159
|
*/
|
|
160
160
|
value?: number | null;
|
|
161
|
+
/**
|
|
162
|
+
* Unit
|
|
163
|
+
*
|
|
164
|
+
* The fact's unit, e.g. `USD` or `USD/shares`. A line a filer reports in two units (its own currency and a US-dollar translation) comes back once per unit.
|
|
165
|
+
*/
|
|
166
|
+
unit?: string | null;
|
|
161
167
|
/**
|
|
162
168
|
* Start Date
|
|
163
169
|
*/
|
|
@@ -3302,7 +3308,7 @@ export type CreateViewRequest = {
|
|
|
3302
3308
|
/**
|
|
3303
3309
|
* Canonical Concepts
|
|
3304
3310
|
*
|
|
3305
|
-
* Canonical concept names (e.g., 'revenue', 'net_income'). Matches all mapped qnames.
|
|
3311
|
+
* Canonical concept names (e.g., 'revenue', 'net_income'). Matches all mapped qnames. Shared repositories only.
|
|
3306
3312
|
*/
|
|
3307
3313
|
canonical_concepts?: Array<string>;
|
|
3308
3314
|
/**
|
|
@@ -3326,19 +3332,19 @@ export type CreateViewRequest = {
|
|
|
3326
3332
|
/**
|
|
3327
3333
|
* Form
|
|
3328
3334
|
*
|
|
3329
|
-
* Filter by SEC filing form type (e.g., '10-K', '10-Q')
|
|
3335
|
+
* Filter by SEC filing form type (e.g., '10-K', '10-Q'). Shared repositories only.
|
|
3330
3336
|
*/
|
|
3331
3337
|
form?: string | null;
|
|
3332
3338
|
/**
|
|
3333
3339
|
* Fiscal Year
|
|
3334
3340
|
*
|
|
3335
|
-
* Filter by fiscal year (e.g., 2024)
|
|
3341
|
+
* Filter by fiscal year (e.g., 2024). Shared repositories only.
|
|
3336
3342
|
*/
|
|
3337
3343
|
fiscal_year?: number | null;
|
|
3338
3344
|
/**
|
|
3339
3345
|
* Fiscal Period
|
|
3340
3346
|
*
|
|
3341
|
-
* Filter by fiscal period (e.g., 'FY', 'Q1', 'Q2', 'Q3')
|
|
3347
|
+
* Filter by fiscal period (e.g., 'FY', 'Q1', 'Q2', 'Q3'). Shared repositories only.
|
|
3342
3348
|
*/
|
|
3343
3349
|
fiscal_period?: string | null;
|
|
3344
3350
|
/**
|
|
@@ -3350,7 +3356,7 @@ export type CreateViewRequest = {
|
|
|
3350
3356
|
/**
|
|
3351
3357
|
* Include Summary
|
|
3352
3358
|
*
|
|
3353
|
-
* Include summary statistics per element
|
|
3359
|
+
* Include summary statistics per element. An element reported in more than one unit has none.
|
|
3354
3360
|
*/
|
|
3355
3361
|
include_summary?: boolean;
|
|
3356
3362
|
/**
|
|
@@ -4221,7 +4227,7 @@ export type DescribeFilingRequest = {
|
|
|
4221
4227
|
/**
|
|
4222
4228
|
* Form
|
|
4223
4229
|
*
|
|
4224
|
-
* SEC only, with ticker: '8-K' reads the latest earnings release
|
|
4230
|
+
* SEC only, with ticker: '8-K' reads the latest earnings release, or with fiscal_year the latest filed in that calendar year
|
|
4225
4231
|
*/
|
|
4226
4232
|
form?: string | null;
|
|
4227
4233
|
};
|
|
@@ -5859,12 +5865,10 @@ export type FilingLinks = {
|
|
|
5859
5865
|
} | null;
|
|
5860
5866
|
/**
|
|
5861
5867
|
* Manifest
|
|
5868
|
+
*
|
|
5869
|
+
* Every file in the filing's public folder, with its URL
|
|
5862
5870
|
*/
|
|
5863
5871
|
manifest?: string | null;
|
|
5864
|
-
/**
|
|
5865
|
-
* Folder
|
|
5866
|
-
*/
|
|
5867
|
-
folder?: string | null;
|
|
5868
5872
|
/**
|
|
5869
5873
|
* Edgar
|
|
5870
5874
|
*
|
|
@@ -13997,7 +14001,7 @@ export type ReadTextRequest = {
|
|
|
13997
14001
|
/**
|
|
13998
14002
|
* Form
|
|
13999
14003
|
*
|
|
14000
|
-
* SEC only, with ticker: '8-K' reads the latest earnings release
|
|
14004
|
+
* SEC only, with ticker: '8-K' reads the latest earnings release, or with fiscal_year the latest filed in that calendar year
|
|
14001
14005
|
*/
|
|
14002
14006
|
form?: string | null;
|
|
14003
14007
|
/**
|
|
@@ -15148,7 +15152,7 @@ export type ReopenPeriodOperation = {
|
|
|
15148
15152
|
/**
|
|
15149
15153
|
* Period
|
|
15150
15154
|
*
|
|
15151
|
-
* Period to reopen, in YYYY-MM.
|
|
15155
|
+
* Period to reopen, in YYYY-MM. Only the latest closed period (the current `closed_through`) can be reopened, and reopening it retreats `closed_through` by one month. To reach an earlier period, reopen the later ones first, latest to earliest.
|
|
15152
15156
|
*/
|
|
15153
15157
|
period: string;
|
|
15154
15158
|
};
|
|
@@ -16183,6 +16187,10 @@ export type SearchHit = {
|
|
|
16183
16187
|
* Form Type
|
|
16184
16188
|
*/
|
|
16185
16189
|
form_type?: string | null;
|
|
16190
|
+
/**
|
|
16191
|
+
* Accession Number
|
|
16192
|
+
*/
|
|
16193
|
+
accession_number?: string | null;
|
|
16186
16194
|
/**
|
|
16187
16195
|
* Xbrl Elements
|
|
16188
16196
|
*/
|
|
@@ -16371,7 +16379,7 @@ export type SearchTextRequest = {
|
|
|
16371
16379
|
/**
|
|
16372
16380
|
* Form
|
|
16373
16381
|
*
|
|
16374
|
-
* SEC only, with ticker: '8-K' reads the latest earnings release
|
|
16382
|
+
* SEC only, with ticker: '8-K' reads the latest earnings release, or with fiscal_year the latest filed in that calendar year
|
|
16375
16383
|
*/
|
|
16376
16384
|
form?: string | null;
|
|
16377
16385
|
/**
|
package/types.gen.ts
CHANGED
|
@@ -166,6 +166,12 @@ export type AnalyticalStatementFactRow = {
|
|
|
166
166
|
* Value
|
|
167
167
|
*/
|
|
168
168
|
value?: number | null;
|
|
169
|
+
/**
|
|
170
|
+
* Unit
|
|
171
|
+
*
|
|
172
|
+
* The fact's unit, e.g. `USD` or `USD/shares`. A line a filer reports in two units (its own currency and a US-dollar translation) comes back once per unit.
|
|
173
|
+
*/
|
|
174
|
+
unit?: string | null;
|
|
169
175
|
/**
|
|
170
176
|
* Start Date
|
|
171
177
|
*/
|
|
@@ -3383,7 +3389,7 @@ export type CreateViewRequest = {
|
|
|
3383
3389
|
/**
|
|
3384
3390
|
* Canonical Concepts
|
|
3385
3391
|
*
|
|
3386
|
-
* Canonical concept names (e.g., 'revenue', 'net_income'). Matches all mapped qnames.
|
|
3392
|
+
* Canonical concept names (e.g., 'revenue', 'net_income'). Matches all mapped qnames. Shared repositories only.
|
|
3387
3393
|
*/
|
|
3388
3394
|
canonical_concepts?: Array<string>;
|
|
3389
3395
|
/**
|
|
@@ -3407,19 +3413,19 @@ export type CreateViewRequest = {
|
|
|
3407
3413
|
/**
|
|
3408
3414
|
* Form
|
|
3409
3415
|
*
|
|
3410
|
-
* Filter by SEC filing form type (e.g., '10-K', '10-Q')
|
|
3416
|
+
* Filter by SEC filing form type (e.g., '10-K', '10-Q'). Shared repositories only.
|
|
3411
3417
|
*/
|
|
3412
3418
|
form?: string | null;
|
|
3413
3419
|
/**
|
|
3414
3420
|
* Fiscal Year
|
|
3415
3421
|
*
|
|
3416
|
-
* Filter by fiscal year (e.g., 2024)
|
|
3422
|
+
* Filter by fiscal year (e.g., 2024). Shared repositories only.
|
|
3417
3423
|
*/
|
|
3418
3424
|
fiscal_year?: number | null;
|
|
3419
3425
|
/**
|
|
3420
3426
|
* Fiscal Period
|
|
3421
3427
|
*
|
|
3422
|
-
* Filter by fiscal period (e.g., 'FY', 'Q1', 'Q2', 'Q3')
|
|
3428
|
+
* Filter by fiscal period (e.g., 'FY', 'Q1', 'Q2', 'Q3'). Shared repositories only.
|
|
3423
3429
|
*/
|
|
3424
3430
|
fiscal_period?: string | null;
|
|
3425
3431
|
/**
|
|
@@ -3431,7 +3437,7 @@ export type CreateViewRequest = {
|
|
|
3431
3437
|
/**
|
|
3432
3438
|
* Include Summary
|
|
3433
3439
|
*
|
|
3434
|
-
* Include summary statistics per element
|
|
3440
|
+
* Include summary statistics per element. An element reported in more than one unit has none.
|
|
3435
3441
|
*/
|
|
3436
3442
|
include_summary?: boolean;
|
|
3437
3443
|
/**
|
|
@@ -4330,7 +4336,7 @@ export type DescribeFilingRequest = {
|
|
|
4330
4336
|
/**
|
|
4331
4337
|
* Form
|
|
4332
4338
|
*
|
|
4333
|
-
* SEC only, with ticker: '8-K' reads the latest earnings release
|
|
4339
|
+
* SEC only, with ticker: '8-K' reads the latest earnings release, or with fiscal_year the latest filed in that calendar year
|
|
4334
4340
|
*/
|
|
4335
4341
|
form?: string | null;
|
|
4336
4342
|
};
|
|
@@ -6005,12 +6011,10 @@ export type FilingLinks = {
|
|
|
6005
6011
|
} | null;
|
|
6006
6012
|
/**
|
|
6007
6013
|
* Manifest
|
|
6014
|
+
*
|
|
6015
|
+
* Every file in the filing's public folder, with its URL
|
|
6008
6016
|
*/
|
|
6009
6017
|
manifest?: string | null;
|
|
6010
|
-
/**
|
|
6011
|
-
* Folder
|
|
6012
|
-
*/
|
|
6013
|
-
folder?: string | null;
|
|
6014
6018
|
/**
|
|
6015
6019
|
* Edgar
|
|
6016
6020
|
*
|
|
@@ -14336,7 +14340,7 @@ export type ReadTextRequest = {
|
|
|
14336
14340
|
/**
|
|
14337
14341
|
* Form
|
|
14338
14342
|
*
|
|
14339
|
-
* SEC only, with ticker: '8-K' reads the latest earnings release
|
|
14343
|
+
* SEC only, with ticker: '8-K' reads the latest earnings release, or with fiscal_year the latest filed in that calendar year
|
|
14340
14344
|
*/
|
|
14341
14345
|
form?: string | null;
|
|
14342
14346
|
/**
|
|
@@ -15513,7 +15517,7 @@ export type ReopenPeriodOperation = {
|
|
|
15513
15517
|
/**
|
|
15514
15518
|
* Period
|
|
15515
15519
|
*
|
|
15516
|
-
* Period to reopen, in YYYY-MM.
|
|
15520
|
+
* Period to reopen, in YYYY-MM. Only the latest closed period (the current `closed_through`) can be reopened, and reopening it retreats `closed_through` by one month. To reach an earlier period, reopen the later ones first, latest to earliest.
|
|
15517
15521
|
*/
|
|
15518
15522
|
period: string;
|
|
15519
15523
|
};
|
|
@@ -16575,6 +16579,10 @@ export type SearchHit = {
|
|
|
16575
16579
|
* Form Type
|
|
16576
16580
|
*/
|
|
16577
16581
|
form_type?: string | null;
|
|
16582
|
+
/**
|
|
16583
|
+
* Accession Number
|
|
16584
|
+
*/
|
|
16585
|
+
accession_number?: string | null;
|
|
16578
16586
|
/**
|
|
16579
16587
|
* Xbrl Elements
|
|
16580
16588
|
*/
|
|
@@ -16766,7 +16774,7 @@ export type SearchTextRequest = {
|
|
|
16766
16774
|
/**
|
|
16767
16775
|
* Form
|
|
16768
16776
|
*
|
|
16769
|
-
* SEC only, with ticker: '8-K' reads the latest earnings release
|
|
16777
|
+
* SEC only, with ticker: '8-K' reads the latest earnings release, or with fiscal_year the latest filed in that calendar year
|
|
16770
16778
|
*/
|
|
16771
16779
|
form?: string | null;
|
|
16772
16780
|
/**
|