@robosystems/client 1.16.0 → 1.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +5 -3
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +30 -14
- package/sdk/sdk.gen.js +48 -14
- package/sdk/sdk.gen.ts +48 -14
- package/sdk/types.gen.d.ts +540 -13
- package/sdk/types.gen.ts +558 -13
- package/sdk.gen.d.ts +30 -14
- package/sdk.gen.js +48 -14
- package/sdk.gen.ts +48 -14
- package/types.gen.d.ts +540 -13
- package/types.gen.ts +558 -13
package/sdk/types.gen.ts
CHANGED
|
@@ -2074,7 +2074,7 @@ export type ConnectionProviderInfo = {
|
|
|
2074
2074
|
*
|
|
2075
2075
|
* Provider identifier
|
|
2076
2076
|
*/
|
|
2077
|
-
provider: 'quickbooks' | 'external';
|
|
2077
|
+
provider: 'quickbooks' | 'external' | 'mercury' | 'plaid';
|
|
2078
2078
|
/**
|
|
2079
2079
|
* Display Name
|
|
2080
2080
|
*
|
|
@@ -2475,7 +2475,7 @@ export type CreateConnectionRequest = {
|
|
|
2475
2475
|
*
|
|
2476
2476
|
* Connection provider type
|
|
2477
2477
|
*/
|
|
2478
|
-
provider: 'quickbooks' | 'external';
|
|
2478
|
+
provider: 'quickbooks' | 'external' | 'mercury' | 'plaid';
|
|
2479
2479
|
/**
|
|
2480
2480
|
* Entity Id
|
|
2481
2481
|
*
|
|
@@ -2484,6 +2484,8 @@ export type CreateConnectionRequest = {
|
|
|
2484
2484
|
entity_id?: string | null;
|
|
2485
2485
|
quickbooks_config?: QuickBooksConnectionConfig | null;
|
|
2486
2486
|
external_config?: ExternalConnectionConfig | null;
|
|
2487
|
+
mercury_config?: MercuryConnectionConfig | null;
|
|
2488
|
+
plaid_config?: PlaidConnectionConfig | null;
|
|
2487
2489
|
};
|
|
2488
2490
|
|
|
2489
2491
|
/**
|
|
@@ -4323,6 +4325,98 @@ export type Dimension = {
|
|
|
4323
4325
|
*/
|
|
4324
4326
|
export type DimensionType = 'element' | 'period' | 'entity';
|
|
4325
4327
|
|
|
4328
|
+
/**
|
|
4329
|
+
* DisclosuresRequest
|
|
4330
|
+
*
|
|
4331
|
+
* Request for the disclosures view op — the map of a report's sections.
|
|
4332
|
+
*/
|
|
4333
|
+
export type DisclosuresRequest = {
|
|
4334
|
+
/**
|
|
4335
|
+
* Ticker
|
|
4336
|
+
*
|
|
4337
|
+
* Company ticker. On shared-repository graphs (SEC) it resolves the latest matching filing when report_id is not given; ignored on tenant graphs.
|
|
4338
|
+
*/
|
|
4339
|
+
ticker?: string | null;
|
|
4340
|
+
/**
|
|
4341
|
+
* Report Id
|
|
4342
|
+
*
|
|
4343
|
+
* Specific report identifier. Required on tenant graphs; on SEC, optional when ticker is given.
|
|
4344
|
+
*/
|
|
4345
|
+
report_id?: string | null;
|
|
4346
|
+
/**
|
|
4347
|
+
* Fiscal Year
|
|
4348
|
+
*
|
|
4349
|
+
* Narrow auto-resolution to this fiscal year focus
|
|
4350
|
+
*/
|
|
4351
|
+
fiscal_year?: number | null;
|
|
4352
|
+
/**
|
|
4353
|
+
* Period Type
|
|
4354
|
+
*
|
|
4355
|
+
* Which forms auto-resolution considers: annual (10-K / 20-F / 40-F, the default) or quarterly (10-Q as well)
|
|
4356
|
+
*/
|
|
4357
|
+
period_type?: string | null;
|
|
4358
|
+
/**
|
|
4359
|
+
* Topic
|
|
4360
|
+
*
|
|
4361
|
+
* A disclosure family's name, or part of it ("leases", "income taxes"), for that family's blocks. Omit for the whole map.
|
|
4362
|
+
*/
|
|
4363
|
+
topic?: string | null;
|
|
4364
|
+
};
|
|
4365
|
+
|
|
4366
|
+
/**
|
|
4367
|
+
* DisclosuresResponse
|
|
4368
|
+
*
|
|
4369
|
+
* The disclosures view op's result: xbrlkit's map, stamped with the graph
|
|
4370
|
+
* and report it was read from.
|
|
4371
|
+
*
|
|
4372
|
+
* Without ``topic``: ``disclosures`` / ``count``. With ``topic``:
|
|
4373
|
+
* ``disclosure`` / ``category`` / ``blocks`` / ``block_count``.
|
|
4374
|
+
*/
|
|
4375
|
+
export type DisclosuresResponse = {
|
|
4376
|
+
/**
|
|
4377
|
+
* Graph Id
|
|
4378
|
+
*/
|
|
4379
|
+
graph_id: string;
|
|
4380
|
+
/**
|
|
4381
|
+
* Report Id
|
|
4382
|
+
*/
|
|
4383
|
+
report_id: string;
|
|
4384
|
+
resolved_report?: ResolvedReportInfo | null;
|
|
4385
|
+
/**
|
|
4386
|
+
* Disclosures
|
|
4387
|
+
*/
|
|
4388
|
+
disclosures?: Array<{
|
|
4389
|
+
[key: string]: unknown;
|
|
4390
|
+
}> | null;
|
|
4391
|
+
/**
|
|
4392
|
+
* Count
|
|
4393
|
+
*/
|
|
4394
|
+
count?: number | null;
|
|
4395
|
+
/**
|
|
4396
|
+
* Disclosure
|
|
4397
|
+
*/
|
|
4398
|
+
disclosure?: string | null;
|
|
4399
|
+
/**
|
|
4400
|
+
* Category
|
|
4401
|
+
*/
|
|
4402
|
+
category?: string | null;
|
|
4403
|
+
/**
|
|
4404
|
+
* Blocks
|
|
4405
|
+
*/
|
|
4406
|
+
blocks?: Array<{
|
|
4407
|
+
[key: string]: unknown;
|
|
4408
|
+
}> | null;
|
|
4409
|
+
/**
|
|
4410
|
+
* Block Count
|
|
4411
|
+
*/
|
|
4412
|
+
block_count?: number | null;
|
|
4413
|
+
/**
|
|
4414
|
+
* Note
|
|
4415
|
+
*/
|
|
4416
|
+
note?: string | null;
|
|
4417
|
+
[key: string]: unknown;
|
|
4418
|
+
};
|
|
4419
|
+
|
|
4326
4420
|
/**
|
|
4327
4421
|
* DocumentDetailResponse
|
|
4328
4422
|
*
|
|
@@ -4759,6 +4853,12 @@ export type ElementUpdatePatch = {
|
|
|
4759
4853
|
metadata?: {
|
|
4760
4854
|
[key: string]: unknown;
|
|
4761
4855
|
} | null;
|
|
4856
|
+
/**
|
|
4857
|
+
* Is Active
|
|
4858
|
+
*
|
|
4859
|
+
* Retire (`false`) or reactivate (`true`) a chart account. Retiring keeps its history and hides it from account pickers and the chart tree, and new line items on it are refused — the way to take an account with activity out of use, since removal needs no facts and no line items.
|
|
4860
|
+
*/
|
|
4861
|
+
is_active?: boolean | null;
|
|
4762
4862
|
};
|
|
4763
4863
|
|
|
4764
4864
|
/**
|
|
@@ -7265,6 +7365,154 @@ export type InformationBlockEnvelope = {
|
|
|
7265
7365
|
view?: ViewProjections;
|
|
7266
7366
|
};
|
|
7267
7367
|
|
|
7368
|
+
/**
|
|
7369
|
+
* InformationBlockRequest
|
|
7370
|
+
*
|
|
7371
|
+
* Request for the information-block view op — one section read whole.
|
|
7372
|
+
*/
|
|
7373
|
+
export type InformationBlockRequest = {
|
|
7374
|
+
/**
|
|
7375
|
+
* Ticker
|
|
7376
|
+
*
|
|
7377
|
+
* Company ticker. On shared-repository graphs (SEC) it resolves the latest matching filing when report_id is not given; ignored on tenant graphs.
|
|
7378
|
+
*/
|
|
7379
|
+
ticker?: string | null;
|
|
7380
|
+
/**
|
|
7381
|
+
* Report Id
|
|
7382
|
+
*
|
|
7383
|
+
* Specific report identifier. Required on tenant graphs; on SEC, optional when ticker is given.
|
|
7384
|
+
*/
|
|
7385
|
+
report_id?: string | null;
|
|
7386
|
+
/**
|
|
7387
|
+
* Fiscal Year
|
|
7388
|
+
*
|
|
7389
|
+
* Narrow auto-resolution to this fiscal year focus
|
|
7390
|
+
*/
|
|
7391
|
+
fiscal_year?: number | null;
|
|
7392
|
+
/**
|
|
7393
|
+
* Period Type
|
|
7394
|
+
*
|
|
7395
|
+
* Which forms auto-resolution considers: annual (10-K / 20-F / 40-F, the default) or quarterly (10-Q as well)
|
|
7396
|
+
*/
|
|
7397
|
+
period_type?: string | null;
|
|
7398
|
+
/**
|
|
7399
|
+
* Block
|
|
7400
|
+
*
|
|
7401
|
+
* The block id from disclosures (a role name or its last segment also resolves)
|
|
7402
|
+
*/
|
|
7403
|
+
block: string;
|
|
7404
|
+
/**
|
|
7405
|
+
* Periods
|
|
7406
|
+
*
|
|
7407
|
+
* Period keys to keep, from a previous call's columns. Default keeps the budgeted set, year and balance columns first on an annual form.
|
|
7408
|
+
*/
|
|
7409
|
+
periods?: Array<string> | null;
|
|
7410
|
+
/**
|
|
7411
|
+
* Member
|
|
7412
|
+
*
|
|
7413
|
+
* Keep only breakdowns whose member key contains this text (a segment name)
|
|
7414
|
+
*/
|
|
7415
|
+
member?: string | null;
|
|
7416
|
+
/**
|
|
7417
|
+
* Max Rows
|
|
7418
|
+
*
|
|
7419
|
+
* Cap on presentation rows (default 400)
|
|
7420
|
+
*/
|
|
7421
|
+
max_rows?: number | null;
|
|
7422
|
+
/**
|
|
7423
|
+
* Max Members
|
|
7424
|
+
*
|
|
7425
|
+
* An explicit cap on member breakdowns, instead of the response budget
|
|
7426
|
+
*/
|
|
7427
|
+
max_members?: number | null;
|
|
7428
|
+
/**
|
|
7429
|
+
* Offset
|
|
7430
|
+
*
|
|
7431
|
+
* Rows to skip: the next_offset a truncated response returned
|
|
7432
|
+
*/
|
|
7433
|
+
offset?: number | null;
|
|
7434
|
+
};
|
|
7435
|
+
|
|
7436
|
+
/**
|
|
7437
|
+
* InformationBlockResponse
|
|
7438
|
+
*
|
|
7439
|
+
* The information-block view op's result: xbrlkit's block, stamped.
|
|
7440
|
+
*/
|
|
7441
|
+
export type InformationBlockResponse = {
|
|
7442
|
+
/**
|
|
7443
|
+
* Graph Id
|
|
7444
|
+
*/
|
|
7445
|
+
graph_id: string;
|
|
7446
|
+
/**
|
|
7447
|
+
* Report Id
|
|
7448
|
+
*/
|
|
7449
|
+
report_id: string;
|
|
7450
|
+
resolved_report?: ResolvedReportInfo | null;
|
|
7451
|
+
/**
|
|
7452
|
+
* Block
|
|
7453
|
+
*/
|
|
7454
|
+
block: {
|
|
7455
|
+
[key: string]: unknown;
|
|
7456
|
+
};
|
|
7457
|
+
/**
|
|
7458
|
+
* Columns
|
|
7459
|
+
*/
|
|
7460
|
+
columns?: Array<{
|
|
7461
|
+
[key: string]: unknown;
|
|
7462
|
+
}>;
|
|
7463
|
+
/**
|
|
7464
|
+
* Axes
|
|
7465
|
+
*/
|
|
7466
|
+
axes?: Array<{
|
|
7467
|
+
[key: string]: unknown;
|
|
7468
|
+
}> | null;
|
|
7469
|
+
/**
|
|
7470
|
+
* Rows
|
|
7471
|
+
*/
|
|
7472
|
+
rows?: Array<{
|
|
7473
|
+
[key: string]: unknown;
|
|
7474
|
+
}>;
|
|
7475
|
+
/**
|
|
7476
|
+
* Row Count
|
|
7477
|
+
*/
|
|
7478
|
+
row_count?: number | null;
|
|
7479
|
+
/**
|
|
7480
|
+
* Truncated
|
|
7481
|
+
*/
|
|
7482
|
+
truncated?: boolean | null;
|
|
7483
|
+
/**
|
|
7484
|
+
* Offset
|
|
7485
|
+
*/
|
|
7486
|
+
offset?: number | null;
|
|
7487
|
+
/**
|
|
7488
|
+
* Ancestors
|
|
7489
|
+
*/
|
|
7490
|
+
ancestors?: Array<{
|
|
7491
|
+
[key: string]: unknown;
|
|
7492
|
+
}> | null;
|
|
7493
|
+
/**
|
|
7494
|
+
* Next Offset
|
|
7495
|
+
*/
|
|
7496
|
+
next_offset?: number | null;
|
|
7497
|
+
/**
|
|
7498
|
+
* Calculation
|
|
7499
|
+
*/
|
|
7500
|
+
calculation?: Array<{
|
|
7501
|
+
[key: string]: unknown;
|
|
7502
|
+
}> | null;
|
|
7503
|
+
/**
|
|
7504
|
+
* Text
|
|
7505
|
+
*/
|
|
7506
|
+
text?: Array<{
|
|
7507
|
+
[key: string]: unknown;
|
|
7508
|
+
}> | null;
|
|
7509
|
+
/**
|
|
7510
|
+
* Note
|
|
7511
|
+
*/
|
|
7512
|
+
note?: string | null;
|
|
7513
|
+
[key: string]: unknown;
|
|
7514
|
+
};
|
|
7515
|
+
|
|
7268
7516
|
/**
|
|
7269
7517
|
* InformationModelResponse
|
|
7270
7518
|
*
|
|
@@ -8905,6 +9153,40 @@ export type MemoryRecord = {
|
|
|
8905
9153
|
updated_at?: string | null;
|
|
8906
9154
|
};
|
|
8907
9155
|
|
|
9156
|
+
/**
|
|
9157
|
+
* MercuryConnectionConfig
|
|
9158
|
+
*
|
|
9159
|
+
* Mercury bank-feed connection configuration.
|
|
9160
|
+
*
|
|
9161
|
+
* A bank feed is native accounting: the graph must already have a chart of
|
|
9162
|
+
* accounts and no live QuickBooks connection. Over OAuth (the hosted
|
|
9163
|
+
* default) the connection is created ``pending_oauth`` and activated by the
|
|
9164
|
+
* callback. ``api_key`` — a personal **read-only** Mercury token — connects
|
|
9165
|
+
* at once without a browser round-trip, but only on deployments that turn
|
|
9166
|
+
* on ``MERCURY_API_KEY_CONNECTIONS_ENABLED`` (self-hosted and local); the
|
|
9167
|
+
* hosted product refuses it.
|
|
9168
|
+
*/
|
|
9169
|
+
export type MercuryConnectionConfig = {
|
|
9170
|
+
/**
|
|
9171
|
+
* Since Date
|
|
9172
|
+
*
|
|
9173
|
+
* First day of the backfill (ISO 8601). Defaults to 1 January of last year. Incremental syncs never look back before it.
|
|
9174
|
+
*/
|
|
9175
|
+
since_date?: string | null;
|
|
9176
|
+
/**
|
|
9177
|
+
* Include Treasury
|
|
9178
|
+
*
|
|
9179
|
+
* Capture treasury-account activity alongside checking/savings.
|
|
9180
|
+
*/
|
|
9181
|
+
include_treasury?: boolean;
|
|
9182
|
+
/**
|
|
9183
|
+
* Api Key
|
|
9184
|
+
*
|
|
9185
|
+
* A personal read-only Mercury API token, for deployments that allow the api_key credential mode. Omit to connect over OAuth.
|
|
9186
|
+
*/
|
|
9187
|
+
api_key?: string | null;
|
|
9188
|
+
};
|
|
9189
|
+
|
|
8908
9190
|
/**
|
|
8909
9191
|
* MetricMechanics
|
|
8910
9192
|
*
|
|
@@ -9051,7 +9333,7 @@ export type OAuthCallbackRequest = {
|
|
|
9051
9333
|
/**
|
|
9052
9334
|
* Code
|
|
9053
9335
|
*
|
|
9054
|
-
* Authorization code from OAuth provider
|
|
9336
|
+
* Authorization code from the OAuth provider (Plaid: the public_token Link returned)
|
|
9055
9337
|
*/
|
|
9056
9338
|
code: string;
|
|
9057
9339
|
/**
|
|
@@ -9225,15 +9507,21 @@ export type OAuthInitRequest = {
|
|
|
9225
9507
|
/**
|
|
9226
9508
|
* OAuthInitResponse
|
|
9227
9509
|
*
|
|
9228
|
-
*
|
|
9510
|
+
* Where the user authorizes: a redirect URL, or a token for an embedded widget.
|
|
9229
9511
|
*/
|
|
9230
9512
|
export type OAuthInitResponse = {
|
|
9231
9513
|
/**
|
|
9232
9514
|
* Auth Url
|
|
9233
9515
|
*
|
|
9234
|
-
* URL to redirect user for authorization
|
|
9516
|
+
* URL to redirect the user to for authorization. Null for providers that authorize in an embedded widget (Plaid: see link_token).
|
|
9517
|
+
*/
|
|
9518
|
+
auth_url?: string | null;
|
|
9519
|
+
/**
|
|
9520
|
+
* Link Token
|
|
9521
|
+
*
|
|
9522
|
+
* Plaid only: the token that opens Plaid Link. Link's public_token completes the flow through the callback, as code.
|
|
9235
9523
|
*/
|
|
9236
|
-
|
|
9524
|
+
link_token?: string | null;
|
|
9237
9525
|
/**
|
|
9238
9526
|
* State
|
|
9239
9527
|
*
|
|
@@ -10071,6 +10359,52 @@ export type OperationEnvelopeDeleteTaxonomyBlockResponse = {
|
|
|
10071
10359
|
idempotentReplay?: boolean;
|
|
10072
10360
|
};
|
|
10073
10361
|
|
|
10362
|
+
/**
|
|
10363
|
+
* OperationEnvelope[DisclosuresResponse]
|
|
10364
|
+
*/
|
|
10365
|
+
export type OperationEnvelopeDisclosuresResponse = {
|
|
10366
|
+
/**
|
|
10367
|
+
* Operation
|
|
10368
|
+
*
|
|
10369
|
+
* Kebab-case operation name
|
|
10370
|
+
*/
|
|
10371
|
+
operation: string;
|
|
10372
|
+
/**
|
|
10373
|
+
* Operationid
|
|
10374
|
+
*
|
|
10375
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
10376
|
+
*/
|
|
10377
|
+
operationId: string;
|
|
10378
|
+
/**
|
|
10379
|
+
* Status
|
|
10380
|
+
*
|
|
10381
|
+
* Operation lifecycle state
|
|
10382
|
+
*/
|
|
10383
|
+
status: 'completed' | 'pending' | 'failed';
|
|
10384
|
+
/**
|
|
10385
|
+
* Command-specific result payload
|
|
10386
|
+
*/
|
|
10387
|
+
result?: DisclosuresResponse | null;
|
|
10388
|
+
/**
|
|
10389
|
+
* At
|
|
10390
|
+
*
|
|
10391
|
+
* ISO-8601 UTC timestamp
|
|
10392
|
+
*/
|
|
10393
|
+
at: string;
|
|
10394
|
+
/**
|
|
10395
|
+
* Createdby
|
|
10396
|
+
*
|
|
10397
|
+
* User ID that initiated the operation (null for legacy callers)
|
|
10398
|
+
*/
|
|
10399
|
+
createdBy?: string | null;
|
|
10400
|
+
/**
|
|
10401
|
+
* Idempotentreplay
|
|
10402
|
+
*
|
|
10403
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
10404
|
+
*/
|
|
10405
|
+
idempotentReplay?: boolean;
|
|
10406
|
+
};
|
|
10407
|
+
|
|
10074
10408
|
/**
|
|
10075
10409
|
* OperationEnvelope[EntityTaxonomyResponse]
|
|
10076
10410
|
*/
|
|
@@ -10485,6 +10819,52 @@ export type OperationEnvelopeInformationBlockEnvelope = {
|
|
|
10485
10819
|
idempotentReplay?: boolean;
|
|
10486
10820
|
};
|
|
10487
10821
|
|
|
10822
|
+
/**
|
|
10823
|
+
* OperationEnvelope[InformationBlockResponse]
|
|
10824
|
+
*/
|
|
10825
|
+
export type OperationEnvelopeInformationBlockResponse = {
|
|
10826
|
+
/**
|
|
10827
|
+
* Operation
|
|
10828
|
+
*
|
|
10829
|
+
* Kebab-case operation name
|
|
10830
|
+
*/
|
|
10831
|
+
operation: string;
|
|
10832
|
+
/**
|
|
10833
|
+
* Operationid
|
|
10834
|
+
*
|
|
10835
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
10836
|
+
*/
|
|
10837
|
+
operationId: string;
|
|
10838
|
+
/**
|
|
10839
|
+
* Status
|
|
10840
|
+
*
|
|
10841
|
+
* Operation lifecycle state
|
|
10842
|
+
*/
|
|
10843
|
+
status: 'completed' | 'pending' | 'failed';
|
|
10844
|
+
/**
|
|
10845
|
+
* Command-specific result payload
|
|
10846
|
+
*/
|
|
10847
|
+
result?: InformationBlockResponse | null;
|
|
10848
|
+
/**
|
|
10849
|
+
* At
|
|
10850
|
+
*
|
|
10851
|
+
* ISO-8601 UTC timestamp
|
|
10852
|
+
*/
|
|
10853
|
+
at: string;
|
|
10854
|
+
/**
|
|
10855
|
+
* Createdby
|
|
10856
|
+
*
|
|
10857
|
+
* User ID that initiated the operation (null for legacy callers)
|
|
10858
|
+
*/
|
|
10859
|
+
createdBy?: string | null;
|
|
10860
|
+
/**
|
|
10861
|
+
* Idempotentreplay
|
|
10862
|
+
*
|
|
10863
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
10864
|
+
*/
|
|
10865
|
+
idempotentReplay?: boolean;
|
|
10866
|
+
};
|
|
10867
|
+
|
|
10488
10868
|
/**
|
|
10489
10869
|
* OperationEnvelope[InitializeChartOfAccountsResponse]
|
|
10490
10870
|
*/
|
|
@@ -12469,6 +12849,27 @@ export type PeriodSpec = {
|
|
|
12469
12849
|
label: string;
|
|
12470
12850
|
};
|
|
12471
12851
|
|
|
12852
|
+
/**
|
|
12853
|
+
* PlaidConnectionConfig
|
|
12854
|
+
*
|
|
12855
|
+
* Plaid bank-feed connection configuration.
|
|
12856
|
+
*
|
|
12857
|
+
* A bank feed is native accounting: the graph must already have a chart of
|
|
12858
|
+
* accounts and no live QuickBooks connection. The connection is created
|
|
12859
|
+
* ``pending_oauth``; ``POST /oauth/init`` returns a ``link_token`` for Plaid
|
|
12860
|
+
* Link, and the ``public_token`` Link hands back completes it through
|
|
12861
|
+
* ``POST /oauth/callback/plaid`` (as ``code``). One connection per institution
|
|
12862
|
+
* login; a graph can hold several.
|
|
12863
|
+
*/
|
|
12864
|
+
export type PlaidConnectionConfig = {
|
|
12865
|
+
/**
|
|
12866
|
+
* Since Date
|
|
12867
|
+
*
|
|
12868
|
+
* First day of the backfill (ISO 8601), and how much history Plaid is asked to pull for the new Item (at most two years). Defaults to 1 January of last year.
|
|
12869
|
+
*/
|
|
12870
|
+
since_date?: string | null;
|
|
12871
|
+
};
|
|
12872
|
+
|
|
12472
12873
|
/**
|
|
12473
12874
|
* PortalSessionResponse
|
|
12474
12875
|
*
|
|
@@ -13402,7 +13803,7 @@ export type ReconcilingItemPlan = {
|
|
|
13402
13803
|
/**
|
|
13403
13804
|
* Default Disposition
|
|
13404
13805
|
*
|
|
13405
|
-
* What resolve would do with no disposition given: restate while every affected period is open
|
|
13806
|
+
* What resolve would do with no disposition given: restate while every affected period is open and nothing blocks it, catch_up otherwise.
|
|
13406
13807
|
*/
|
|
13407
13808
|
default_disposition: 'restate' | 'catch_up' | 'acknowledge';
|
|
13408
13809
|
/**
|
|
@@ -13895,13 +14296,13 @@ export type ReportResponse = {
|
|
|
13895
14296
|
/**
|
|
13896
14297
|
* Filed At
|
|
13897
14298
|
*
|
|
13898
|
-
* When the report was transitioned to `filed`.
|
|
14299
|
+
* When the report was transitioned to `filed`. On a report shared in from another graph this is the sender's filing time, carried over with `filing_status` so a recipient can tell a draft they were sent from final statements.
|
|
13899
14300
|
*/
|
|
13900
14301
|
filed_at?: string | null;
|
|
13901
14302
|
/**
|
|
13902
14303
|
* Filed By
|
|
13903
14304
|
*
|
|
13904
|
-
* User ID that transitioned the report to `filed`.
|
|
14305
|
+
* User ID that transitioned the report to `filed`. Always null on a report shared in from another graph: the sender's user id resolves to nobody in the recipient's graph, so it is deliberately not carried across with `filing_status` and `filed_at`.
|
|
13905
14306
|
*/
|
|
13906
14307
|
filed_by?: string | null;
|
|
13907
14308
|
/**
|
|
@@ -14769,6 +15170,10 @@ export type SchemaValidationResponse = {
|
|
|
14769
15170
|
* A long SEC section (an MD&A, a commitments note) is indexed in parts, each
|
|
14770
15171
|
* a document of its own: ``part`` of ``part_count``, ``parent_document_id``
|
|
14771
15172
|
* shared by the section's parts, ``next_document_id`` to read on.
|
|
15173
|
+
*
|
|
15174
|
+
* On a grouped search, ``also_in_filings`` counts the other filings of the
|
|
15175
|
+
* same filer whose same section (and part) matched and were folded into
|
|
15176
|
+
* this hit.
|
|
14772
15177
|
*/
|
|
14773
15178
|
export type SearchHit = {
|
|
14774
15179
|
/**
|
|
@@ -14859,6 +15264,10 @@ export type SearchHit = {
|
|
|
14859
15264
|
* Folder
|
|
14860
15265
|
*/
|
|
14861
15266
|
folder?: string | null;
|
|
15267
|
+
/**
|
|
15268
|
+
* Also In Filings
|
|
15269
|
+
*/
|
|
15270
|
+
also_in_filings?: number | null;
|
|
14862
15271
|
};
|
|
14863
15272
|
|
|
14864
15273
|
/**
|
|
@@ -14876,7 +15285,7 @@ export type SearchRequest = {
|
|
|
14876
15285
|
/**
|
|
14877
15286
|
* Entity
|
|
14878
15287
|
*
|
|
14879
|
-
* Filter by
|
|
15288
|
+
* Filter by CIK (exactly one filer), ticker, or entity name. A name, or a ticker that is also a word, is a loose word match that can include other filers
|
|
14880
15289
|
*/
|
|
14881
15290
|
entity?: string | null;
|
|
14882
15291
|
/**
|
|
@@ -14927,6 +15336,12 @@ export type SearchRequest = {
|
|
|
14927
15336
|
* Enable hybrid semantic search (BM25 + KNN). Default is BM25-only for speed.
|
|
14928
15337
|
*/
|
|
14929
15338
|
semantic?: boolean;
|
|
15339
|
+
/**
|
|
15340
|
+
* Group
|
|
15341
|
+
*
|
|
15342
|
+
* Fold hits from successive filings of the same filer and section into the best-ranked one; also_in_filings counts the others. Ignored when entity is set, where a filer's filing history is the point. A grouped page is drawn from the first 100 hits.
|
|
15343
|
+
*/
|
|
15344
|
+
group?: boolean;
|
|
14930
15345
|
/**
|
|
14931
15346
|
* Size
|
|
14932
15347
|
*
|
|
@@ -14955,6 +15370,8 @@ export type SearchRequest = {
|
|
|
14955
15370
|
export type SearchResponse = {
|
|
14956
15371
|
/**
|
|
14957
15372
|
* Total
|
|
15373
|
+
*
|
|
15374
|
+
* Matching documents before any grouping, as OpenSearch counts them (it stops counting at 10,000). Not the number of distinct results a grouped search can page through.
|
|
14958
15375
|
*/
|
|
14959
15376
|
total: number;
|
|
14960
15377
|
/**
|
|
@@ -17035,9 +17452,9 @@ export type UpdateEventBlockRequest = {
|
|
|
17035
17452
|
/**
|
|
17036
17453
|
* Transition To
|
|
17037
17454
|
*
|
|
17038
|
-
* Status transition. Valid moves depend on current status: captured → committed | voided | superseded; classified → committed | pending | fulfilled | voided | superseded; committed → pending | fulfilled | voided | superseded; pending → fulfilled | voided | superseded; fulfilled → voided | superseded. A retraction (voided, superseded) is final and is refused from any status once the event's ledger rows have posted or it has published to QuickBooks — reverse the posted entries instead. Note: classified and fulfilled are
|
|
17455
|
+
* Status transition. Valid moves depend on current status: captured → classified | committed | voided | superseded; classified → committed | pending | fulfilled | voided | superseded; committed → pending | fulfilled | voided | superseded; pending → fulfilled | voided | superseded; fulfilled → voided | superseded. A retraction (voided, superseded) is final and is refused from any status once the event's ledger rows have posted or it has published to QuickBooks — reverse the posted entries instead. captured → classified records an account choice without posting (bank-feed lines: patch classified_element_id, or accept_suggestion: true, in the same call); the later commit fires the handler. Note: classified and fulfilled are otherwise set by handlers, not by callers, but the transition is allowed for corrections.
|
|
17039
17456
|
*/
|
|
17040
|
-
transition_to?: 'committed' | 'pending' | 'fulfilled' | 'voided' | 'superseded' | null;
|
|
17457
|
+
transition_to?: 'classified' | 'committed' | 'pending' | 'fulfilled' | 'voided' | 'superseded' | null;
|
|
17041
17458
|
/**
|
|
17042
17459
|
* Superseded By Id
|
|
17043
17460
|
*
|
|
@@ -21041,7 +21458,7 @@ export type ListConnectionsData = {
|
|
|
21041
21458
|
*
|
|
21042
21459
|
* Filter by provider type
|
|
21043
21460
|
*/
|
|
21044
|
-
provider?: 'quickbooks' | 'external' | null;
|
|
21461
|
+
provider?: 'quickbooks' | 'external' | 'mercury' | 'plaid' | null;
|
|
21045
21462
|
};
|
|
21046
21463
|
url: '/v1/graphs/{graph_id}/connections';
|
|
21047
21464
|
};
|
|
@@ -29384,6 +29801,134 @@ export type FinancialStatementAnalysisResponses = {
|
|
|
29384
29801
|
|
|
29385
29802
|
export type FinancialStatementAnalysisResponse2 = FinancialStatementAnalysisResponses[keyof FinancialStatementAnalysisResponses];
|
|
29386
29803
|
|
|
29804
|
+
export type DisclosuresData = {
|
|
29805
|
+
body: DisclosuresRequest;
|
|
29806
|
+
headers?: {
|
|
29807
|
+
/**
|
|
29808
|
+
* Idempotency-Key
|
|
29809
|
+
*/
|
|
29810
|
+
'Idempotency-Key'?: string | null;
|
|
29811
|
+
};
|
|
29812
|
+
path: {
|
|
29813
|
+
/**
|
|
29814
|
+
* Graph Id
|
|
29815
|
+
*/
|
|
29816
|
+
graph_id: string;
|
|
29817
|
+
};
|
|
29818
|
+
query?: never;
|
|
29819
|
+
url: '/extensions/roboledger/{graph_id}/operations/disclosures';
|
|
29820
|
+
};
|
|
29821
|
+
|
|
29822
|
+
export type DisclosuresErrors = {
|
|
29823
|
+
/**
|
|
29824
|
+
* Invalid request
|
|
29825
|
+
*/
|
|
29826
|
+
400: ErrorResponse;
|
|
29827
|
+
/**
|
|
29828
|
+
* Authentication required
|
|
29829
|
+
*/
|
|
29830
|
+
401: ErrorResponse;
|
|
29831
|
+
/**
|
|
29832
|
+
* Access denied
|
|
29833
|
+
*/
|
|
29834
|
+
403: ErrorResponse;
|
|
29835
|
+
/**
|
|
29836
|
+
* Resource not found
|
|
29837
|
+
*/
|
|
29838
|
+
404: ErrorResponse;
|
|
29839
|
+
/**
|
|
29840
|
+
* Idempotency-Key conflict — key reused with different body
|
|
29841
|
+
*/
|
|
29842
|
+
409: ErrorResponse;
|
|
29843
|
+
/**
|
|
29844
|
+
* Validation error
|
|
29845
|
+
*/
|
|
29846
|
+
422: ErrorResponse;
|
|
29847
|
+
/**
|
|
29848
|
+
* Rate limit exceeded
|
|
29849
|
+
*/
|
|
29850
|
+
429: ErrorResponse;
|
|
29851
|
+
/**
|
|
29852
|
+
* Internal server error
|
|
29853
|
+
*/
|
|
29854
|
+
500: ErrorResponse;
|
|
29855
|
+
};
|
|
29856
|
+
|
|
29857
|
+
export type DisclosuresError = DisclosuresErrors[keyof DisclosuresErrors];
|
|
29858
|
+
|
|
29859
|
+
export type DisclosuresResponses = {
|
|
29860
|
+
/**
|
|
29861
|
+
* Successful Response
|
|
29862
|
+
*/
|
|
29863
|
+
200: OperationEnvelopeDisclosuresResponse;
|
|
29864
|
+
};
|
|
29865
|
+
|
|
29866
|
+
export type DisclosuresResponse2 = DisclosuresResponses[keyof DisclosuresResponses];
|
|
29867
|
+
|
|
29868
|
+
export type InformationBlockData = {
|
|
29869
|
+
body: InformationBlockRequest;
|
|
29870
|
+
headers?: {
|
|
29871
|
+
/**
|
|
29872
|
+
* Idempotency-Key
|
|
29873
|
+
*/
|
|
29874
|
+
'Idempotency-Key'?: string | null;
|
|
29875
|
+
};
|
|
29876
|
+
path: {
|
|
29877
|
+
/**
|
|
29878
|
+
* Graph Id
|
|
29879
|
+
*/
|
|
29880
|
+
graph_id: string;
|
|
29881
|
+
};
|
|
29882
|
+
query?: never;
|
|
29883
|
+
url: '/extensions/roboledger/{graph_id}/operations/information-block';
|
|
29884
|
+
};
|
|
29885
|
+
|
|
29886
|
+
export type InformationBlockErrors = {
|
|
29887
|
+
/**
|
|
29888
|
+
* Invalid request
|
|
29889
|
+
*/
|
|
29890
|
+
400: ErrorResponse;
|
|
29891
|
+
/**
|
|
29892
|
+
* Authentication required
|
|
29893
|
+
*/
|
|
29894
|
+
401: ErrorResponse;
|
|
29895
|
+
/**
|
|
29896
|
+
* Access denied
|
|
29897
|
+
*/
|
|
29898
|
+
403: ErrorResponse;
|
|
29899
|
+
/**
|
|
29900
|
+
* Resource not found
|
|
29901
|
+
*/
|
|
29902
|
+
404: ErrorResponse;
|
|
29903
|
+
/**
|
|
29904
|
+
* Idempotency-Key conflict — key reused with different body
|
|
29905
|
+
*/
|
|
29906
|
+
409: ErrorResponse;
|
|
29907
|
+
/**
|
|
29908
|
+
* Validation error
|
|
29909
|
+
*/
|
|
29910
|
+
422: ErrorResponse;
|
|
29911
|
+
/**
|
|
29912
|
+
* Rate limit exceeded
|
|
29913
|
+
*/
|
|
29914
|
+
429: ErrorResponse;
|
|
29915
|
+
/**
|
|
29916
|
+
* Internal server error
|
|
29917
|
+
*/
|
|
29918
|
+
500: ErrorResponse;
|
|
29919
|
+
};
|
|
29920
|
+
|
|
29921
|
+
export type InformationBlockError = InformationBlockErrors[keyof InformationBlockErrors];
|
|
29922
|
+
|
|
29923
|
+
export type InformationBlockResponses = {
|
|
29924
|
+
/**
|
|
29925
|
+
* Successful Response
|
|
29926
|
+
*/
|
|
29927
|
+
200: OperationEnvelopeInformationBlockResponse;
|
|
29928
|
+
};
|
|
29929
|
+
|
|
29930
|
+
export type InformationBlockResponse2 = InformationBlockResponses[keyof InformationBlockResponses];
|
|
29931
|
+
|
|
29387
29932
|
export type CreatePortfolioBlockData = {
|
|
29388
29933
|
body: CreatePortfolioBlockRequest;
|
|
29389
29934
|
headers?: {
|