@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/types.gen.d.ts
CHANGED
|
@@ -2018,7 +2018,7 @@ export type ConnectionProviderInfo = {
|
|
|
2018
2018
|
*
|
|
2019
2019
|
* Provider identifier
|
|
2020
2020
|
*/
|
|
2021
|
-
provider: 'quickbooks' | 'external';
|
|
2021
|
+
provider: 'quickbooks' | 'external' | 'mercury' | 'plaid';
|
|
2022
2022
|
/**
|
|
2023
2023
|
* Display Name
|
|
2024
2024
|
*
|
|
@@ -2411,7 +2411,7 @@ export type CreateConnectionRequest = {
|
|
|
2411
2411
|
*
|
|
2412
2412
|
* Connection provider type
|
|
2413
2413
|
*/
|
|
2414
|
-
provider: 'quickbooks' | 'external';
|
|
2414
|
+
provider: 'quickbooks' | 'external' | 'mercury' | 'plaid';
|
|
2415
2415
|
/**
|
|
2416
2416
|
* Entity Id
|
|
2417
2417
|
*
|
|
@@ -2420,6 +2420,8 @@ export type CreateConnectionRequest = {
|
|
|
2420
2420
|
entity_id?: string | null;
|
|
2421
2421
|
quickbooks_config?: QuickBooksConnectionConfig | null;
|
|
2422
2422
|
external_config?: ExternalConnectionConfig | null;
|
|
2423
|
+
mercury_config?: MercuryConnectionConfig | null;
|
|
2424
|
+
plaid_config?: PlaidConnectionConfig | null;
|
|
2423
2425
|
};
|
|
2424
2426
|
/**
|
|
2425
2427
|
* CreateEventBlockRequest
|
|
@@ -4211,6 +4213,96 @@ export type Dimension = {
|
|
|
4211
4213
|
* DimensionType
|
|
4212
4214
|
*/
|
|
4213
4215
|
export type DimensionType = 'element' | 'period' | 'entity';
|
|
4216
|
+
/**
|
|
4217
|
+
* DisclosuresRequest
|
|
4218
|
+
*
|
|
4219
|
+
* Request for the disclosures view op — the map of a report's sections.
|
|
4220
|
+
*/
|
|
4221
|
+
export type DisclosuresRequest = {
|
|
4222
|
+
/**
|
|
4223
|
+
* Ticker
|
|
4224
|
+
*
|
|
4225
|
+
* Company ticker. On shared-repository graphs (SEC) it resolves the latest matching filing when report_id is not given; ignored on tenant graphs.
|
|
4226
|
+
*/
|
|
4227
|
+
ticker?: string | null;
|
|
4228
|
+
/**
|
|
4229
|
+
* Report Id
|
|
4230
|
+
*
|
|
4231
|
+
* Specific report identifier. Required on tenant graphs; on SEC, optional when ticker is given.
|
|
4232
|
+
*/
|
|
4233
|
+
report_id?: string | null;
|
|
4234
|
+
/**
|
|
4235
|
+
* Fiscal Year
|
|
4236
|
+
*
|
|
4237
|
+
* Narrow auto-resolution to this fiscal year focus
|
|
4238
|
+
*/
|
|
4239
|
+
fiscal_year?: number | null;
|
|
4240
|
+
/**
|
|
4241
|
+
* Period Type
|
|
4242
|
+
*
|
|
4243
|
+
* Which forms auto-resolution considers: annual (10-K / 20-F / 40-F, the default) or quarterly (10-Q as well)
|
|
4244
|
+
*/
|
|
4245
|
+
period_type?: string | null;
|
|
4246
|
+
/**
|
|
4247
|
+
* Topic
|
|
4248
|
+
*
|
|
4249
|
+
* A disclosure family's name, or part of it ("leases", "income taxes"), for that family's blocks. Omit for the whole map.
|
|
4250
|
+
*/
|
|
4251
|
+
topic?: string | null;
|
|
4252
|
+
};
|
|
4253
|
+
/**
|
|
4254
|
+
* DisclosuresResponse
|
|
4255
|
+
*
|
|
4256
|
+
* The disclosures view op's result: xbrlkit's map, stamped with the graph
|
|
4257
|
+
* and report it was read from.
|
|
4258
|
+
*
|
|
4259
|
+
* Without ``topic``: ``disclosures`` / ``count``. With ``topic``:
|
|
4260
|
+
* ``disclosure`` / ``category`` / ``blocks`` / ``block_count``.
|
|
4261
|
+
*/
|
|
4262
|
+
export type DisclosuresResponse = {
|
|
4263
|
+
/**
|
|
4264
|
+
* Graph Id
|
|
4265
|
+
*/
|
|
4266
|
+
graph_id: string;
|
|
4267
|
+
/**
|
|
4268
|
+
* Report Id
|
|
4269
|
+
*/
|
|
4270
|
+
report_id: string;
|
|
4271
|
+
resolved_report?: ResolvedReportInfo | null;
|
|
4272
|
+
/**
|
|
4273
|
+
* Disclosures
|
|
4274
|
+
*/
|
|
4275
|
+
disclosures?: Array<{
|
|
4276
|
+
[key: string]: unknown;
|
|
4277
|
+
}> | null;
|
|
4278
|
+
/**
|
|
4279
|
+
* Count
|
|
4280
|
+
*/
|
|
4281
|
+
count?: number | null;
|
|
4282
|
+
/**
|
|
4283
|
+
* Disclosure
|
|
4284
|
+
*/
|
|
4285
|
+
disclosure?: string | null;
|
|
4286
|
+
/**
|
|
4287
|
+
* Category
|
|
4288
|
+
*/
|
|
4289
|
+
category?: string | null;
|
|
4290
|
+
/**
|
|
4291
|
+
* Blocks
|
|
4292
|
+
*/
|
|
4293
|
+
blocks?: Array<{
|
|
4294
|
+
[key: string]: unknown;
|
|
4295
|
+
}> | null;
|
|
4296
|
+
/**
|
|
4297
|
+
* Block Count
|
|
4298
|
+
*/
|
|
4299
|
+
block_count?: number | null;
|
|
4300
|
+
/**
|
|
4301
|
+
* Note
|
|
4302
|
+
*/
|
|
4303
|
+
note?: string | null;
|
|
4304
|
+
[key: string]: unknown;
|
|
4305
|
+
};
|
|
4214
4306
|
/**
|
|
4215
4307
|
* DocumentDetailResponse
|
|
4216
4308
|
*
|
|
@@ -4639,6 +4731,12 @@ export type ElementUpdatePatch = {
|
|
|
4639
4731
|
metadata?: {
|
|
4640
4732
|
[key: string]: unknown;
|
|
4641
4733
|
} | null;
|
|
4734
|
+
/**
|
|
4735
|
+
* Is Active
|
|
4736
|
+
*
|
|
4737
|
+
* 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.
|
|
4738
|
+
*/
|
|
4739
|
+
is_active?: boolean | null;
|
|
4642
4740
|
};
|
|
4643
4741
|
/**
|
|
4644
4742
|
* EmailVerificationRequest
|
|
@@ -7092,6 +7190,152 @@ export type InformationBlockEnvelope = {
|
|
|
7092
7190
|
*/
|
|
7093
7191
|
view?: ViewProjections;
|
|
7094
7192
|
};
|
|
7193
|
+
/**
|
|
7194
|
+
* InformationBlockRequest
|
|
7195
|
+
*
|
|
7196
|
+
* Request for the information-block view op — one section read whole.
|
|
7197
|
+
*/
|
|
7198
|
+
export type InformationBlockRequest = {
|
|
7199
|
+
/**
|
|
7200
|
+
* Ticker
|
|
7201
|
+
*
|
|
7202
|
+
* Company ticker. On shared-repository graphs (SEC) it resolves the latest matching filing when report_id is not given; ignored on tenant graphs.
|
|
7203
|
+
*/
|
|
7204
|
+
ticker?: string | null;
|
|
7205
|
+
/**
|
|
7206
|
+
* Report Id
|
|
7207
|
+
*
|
|
7208
|
+
* Specific report identifier. Required on tenant graphs; on SEC, optional when ticker is given.
|
|
7209
|
+
*/
|
|
7210
|
+
report_id?: string | null;
|
|
7211
|
+
/**
|
|
7212
|
+
* Fiscal Year
|
|
7213
|
+
*
|
|
7214
|
+
* Narrow auto-resolution to this fiscal year focus
|
|
7215
|
+
*/
|
|
7216
|
+
fiscal_year?: number | null;
|
|
7217
|
+
/**
|
|
7218
|
+
* Period Type
|
|
7219
|
+
*
|
|
7220
|
+
* Which forms auto-resolution considers: annual (10-K / 20-F / 40-F, the default) or quarterly (10-Q as well)
|
|
7221
|
+
*/
|
|
7222
|
+
period_type?: string | null;
|
|
7223
|
+
/**
|
|
7224
|
+
* Block
|
|
7225
|
+
*
|
|
7226
|
+
* The block id from disclosures (a role name or its last segment also resolves)
|
|
7227
|
+
*/
|
|
7228
|
+
block: string;
|
|
7229
|
+
/**
|
|
7230
|
+
* Periods
|
|
7231
|
+
*
|
|
7232
|
+
* Period keys to keep, from a previous call's columns. Default keeps the budgeted set, year and balance columns first on an annual form.
|
|
7233
|
+
*/
|
|
7234
|
+
periods?: Array<string> | null;
|
|
7235
|
+
/**
|
|
7236
|
+
* Member
|
|
7237
|
+
*
|
|
7238
|
+
* Keep only breakdowns whose member key contains this text (a segment name)
|
|
7239
|
+
*/
|
|
7240
|
+
member?: string | null;
|
|
7241
|
+
/**
|
|
7242
|
+
* Max Rows
|
|
7243
|
+
*
|
|
7244
|
+
* Cap on presentation rows (default 400)
|
|
7245
|
+
*/
|
|
7246
|
+
max_rows?: number | null;
|
|
7247
|
+
/**
|
|
7248
|
+
* Max Members
|
|
7249
|
+
*
|
|
7250
|
+
* An explicit cap on member breakdowns, instead of the response budget
|
|
7251
|
+
*/
|
|
7252
|
+
max_members?: number | null;
|
|
7253
|
+
/**
|
|
7254
|
+
* Offset
|
|
7255
|
+
*
|
|
7256
|
+
* Rows to skip: the next_offset a truncated response returned
|
|
7257
|
+
*/
|
|
7258
|
+
offset?: number | null;
|
|
7259
|
+
};
|
|
7260
|
+
/**
|
|
7261
|
+
* InformationBlockResponse
|
|
7262
|
+
*
|
|
7263
|
+
* The information-block view op's result: xbrlkit's block, stamped.
|
|
7264
|
+
*/
|
|
7265
|
+
export type InformationBlockResponse = {
|
|
7266
|
+
/**
|
|
7267
|
+
* Graph Id
|
|
7268
|
+
*/
|
|
7269
|
+
graph_id: string;
|
|
7270
|
+
/**
|
|
7271
|
+
* Report Id
|
|
7272
|
+
*/
|
|
7273
|
+
report_id: string;
|
|
7274
|
+
resolved_report?: ResolvedReportInfo | null;
|
|
7275
|
+
/**
|
|
7276
|
+
* Block
|
|
7277
|
+
*/
|
|
7278
|
+
block: {
|
|
7279
|
+
[key: string]: unknown;
|
|
7280
|
+
};
|
|
7281
|
+
/**
|
|
7282
|
+
* Columns
|
|
7283
|
+
*/
|
|
7284
|
+
columns?: Array<{
|
|
7285
|
+
[key: string]: unknown;
|
|
7286
|
+
}>;
|
|
7287
|
+
/**
|
|
7288
|
+
* Axes
|
|
7289
|
+
*/
|
|
7290
|
+
axes?: Array<{
|
|
7291
|
+
[key: string]: unknown;
|
|
7292
|
+
}> | null;
|
|
7293
|
+
/**
|
|
7294
|
+
* Rows
|
|
7295
|
+
*/
|
|
7296
|
+
rows?: Array<{
|
|
7297
|
+
[key: string]: unknown;
|
|
7298
|
+
}>;
|
|
7299
|
+
/**
|
|
7300
|
+
* Row Count
|
|
7301
|
+
*/
|
|
7302
|
+
row_count?: number | null;
|
|
7303
|
+
/**
|
|
7304
|
+
* Truncated
|
|
7305
|
+
*/
|
|
7306
|
+
truncated?: boolean | null;
|
|
7307
|
+
/**
|
|
7308
|
+
* Offset
|
|
7309
|
+
*/
|
|
7310
|
+
offset?: number | null;
|
|
7311
|
+
/**
|
|
7312
|
+
* Ancestors
|
|
7313
|
+
*/
|
|
7314
|
+
ancestors?: Array<{
|
|
7315
|
+
[key: string]: unknown;
|
|
7316
|
+
}> | null;
|
|
7317
|
+
/**
|
|
7318
|
+
* Next Offset
|
|
7319
|
+
*/
|
|
7320
|
+
next_offset?: number | null;
|
|
7321
|
+
/**
|
|
7322
|
+
* Calculation
|
|
7323
|
+
*/
|
|
7324
|
+
calculation?: Array<{
|
|
7325
|
+
[key: string]: unknown;
|
|
7326
|
+
}> | null;
|
|
7327
|
+
/**
|
|
7328
|
+
* Text
|
|
7329
|
+
*/
|
|
7330
|
+
text?: Array<{
|
|
7331
|
+
[key: string]: unknown;
|
|
7332
|
+
}> | null;
|
|
7333
|
+
/**
|
|
7334
|
+
* Note
|
|
7335
|
+
*/
|
|
7336
|
+
note?: string | null;
|
|
7337
|
+
[key: string]: unknown;
|
|
7338
|
+
};
|
|
7095
7339
|
/**
|
|
7096
7340
|
* InformationModelResponse
|
|
7097
7341
|
*
|
|
@@ -8697,6 +8941,39 @@ export type MemoryRecord = {
|
|
|
8697
8941
|
*/
|
|
8698
8942
|
updated_at?: string | null;
|
|
8699
8943
|
};
|
|
8944
|
+
/**
|
|
8945
|
+
* MercuryConnectionConfig
|
|
8946
|
+
*
|
|
8947
|
+
* Mercury bank-feed connection configuration.
|
|
8948
|
+
*
|
|
8949
|
+
* A bank feed is native accounting: the graph must already have a chart of
|
|
8950
|
+
* accounts and no live QuickBooks connection. Over OAuth (the hosted
|
|
8951
|
+
* default) the connection is created ``pending_oauth`` and activated by the
|
|
8952
|
+
* callback. ``api_key`` — a personal **read-only** Mercury token — connects
|
|
8953
|
+
* at once without a browser round-trip, but only on deployments that turn
|
|
8954
|
+
* on ``MERCURY_API_KEY_CONNECTIONS_ENABLED`` (self-hosted and local); the
|
|
8955
|
+
* hosted product refuses it.
|
|
8956
|
+
*/
|
|
8957
|
+
export type MercuryConnectionConfig = {
|
|
8958
|
+
/**
|
|
8959
|
+
* Since Date
|
|
8960
|
+
*
|
|
8961
|
+
* First day of the backfill (ISO 8601). Defaults to 1 January of last year. Incremental syncs never look back before it.
|
|
8962
|
+
*/
|
|
8963
|
+
since_date?: string | null;
|
|
8964
|
+
/**
|
|
8965
|
+
* Include Treasury
|
|
8966
|
+
*
|
|
8967
|
+
* Capture treasury-account activity alongside checking/savings.
|
|
8968
|
+
*/
|
|
8969
|
+
include_treasury?: boolean;
|
|
8970
|
+
/**
|
|
8971
|
+
* Api Key
|
|
8972
|
+
*
|
|
8973
|
+
* A personal read-only Mercury API token, for deployments that allow the api_key credential mode. Omit to connect over OAuth.
|
|
8974
|
+
*/
|
|
8975
|
+
api_key?: string | null;
|
|
8976
|
+
};
|
|
8700
8977
|
/**
|
|
8701
8978
|
* MetricMechanics
|
|
8702
8979
|
*
|
|
@@ -8838,7 +9115,7 @@ export type OAuthCallbackRequest = {
|
|
|
8838
9115
|
/**
|
|
8839
9116
|
* Code
|
|
8840
9117
|
*
|
|
8841
|
-
* Authorization code from OAuth provider
|
|
9118
|
+
* Authorization code from the OAuth provider (Plaid: the public_token Link returned)
|
|
8842
9119
|
*/
|
|
8843
9120
|
code: string;
|
|
8844
9121
|
/**
|
|
@@ -9007,15 +9284,21 @@ export type OAuthInitRequest = {
|
|
|
9007
9284
|
/**
|
|
9008
9285
|
* OAuthInitResponse
|
|
9009
9286
|
*
|
|
9010
|
-
*
|
|
9287
|
+
* Where the user authorizes: a redirect URL, or a token for an embedded widget.
|
|
9011
9288
|
*/
|
|
9012
9289
|
export type OAuthInitResponse = {
|
|
9013
9290
|
/**
|
|
9014
9291
|
* Auth Url
|
|
9015
9292
|
*
|
|
9016
|
-
* URL to redirect user for authorization
|
|
9293
|
+
* URL to redirect the user to for authorization. Null for providers that authorize in an embedded widget (Plaid: see link_token).
|
|
9294
|
+
*/
|
|
9295
|
+
auth_url?: string | null;
|
|
9296
|
+
/**
|
|
9297
|
+
* Link Token
|
|
9298
|
+
*
|
|
9299
|
+
* Plaid only: the token that opens Plaid Link. Link's public_token completes the flow through the callback, as code.
|
|
9017
9300
|
*/
|
|
9018
|
-
|
|
9301
|
+
link_token?: string | null;
|
|
9019
9302
|
/**
|
|
9020
9303
|
* State
|
|
9021
9304
|
*
|
|
@@ -9834,6 +10117,51 @@ export type OperationEnvelopeDeleteTaxonomyBlockResponse = {
|
|
|
9834
10117
|
*/
|
|
9835
10118
|
idempotentReplay?: boolean;
|
|
9836
10119
|
};
|
|
10120
|
+
/**
|
|
10121
|
+
* OperationEnvelope[DisclosuresResponse]
|
|
10122
|
+
*/
|
|
10123
|
+
export type OperationEnvelopeDisclosuresResponse = {
|
|
10124
|
+
/**
|
|
10125
|
+
* Operation
|
|
10126
|
+
*
|
|
10127
|
+
* Kebab-case operation name
|
|
10128
|
+
*/
|
|
10129
|
+
operation: string;
|
|
10130
|
+
/**
|
|
10131
|
+
* Operationid
|
|
10132
|
+
*
|
|
10133
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
10134
|
+
*/
|
|
10135
|
+
operationId: string;
|
|
10136
|
+
/**
|
|
10137
|
+
* Status
|
|
10138
|
+
*
|
|
10139
|
+
* Operation lifecycle state
|
|
10140
|
+
*/
|
|
10141
|
+
status: 'completed' | 'pending' | 'failed';
|
|
10142
|
+
/**
|
|
10143
|
+
* Command-specific result payload
|
|
10144
|
+
*/
|
|
10145
|
+
result?: DisclosuresResponse | null;
|
|
10146
|
+
/**
|
|
10147
|
+
* At
|
|
10148
|
+
*
|
|
10149
|
+
* ISO-8601 UTC timestamp
|
|
10150
|
+
*/
|
|
10151
|
+
at: string;
|
|
10152
|
+
/**
|
|
10153
|
+
* Createdby
|
|
10154
|
+
*
|
|
10155
|
+
* User ID that initiated the operation (null for legacy callers)
|
|
10156
|
+
*/
|
|
10157
|
+
createdBy?: string | null;
|
|
10158
|
+
/**
|
|
10159
|
+
* Idempotentreplay
|
|
10160
|
+
*
|
|
10161
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
10162
|
+
*/
|
|
10163
|
+
idempotentReplay?: boolean;
|
|
10164
|
+
};
|
|
9837
10165
|
/**
|
|
9838
10166
|
* OperationEnvelope[EntityTaxonomyResponse]
|
|
9839
10167
|
*/
|
|
@@ -10239,6 +10567,51 @@ export type OperationEnvelopeInformationBlockEnvelope = {
|
|
|
10239
10567
|
*/
|
|
10240
10568
|
idempotentReplay?: boolean;
|
|
10241
10569
|
};
|
|
10570
|
+
/**
|
|
10571
|
+
* OperationEnvelope[InformationBlockResponse]
|
|
10572
|
+
*/
|
|
10573
|
+
export type OperationEnvelopeInformationBlockResponse = {
|
|
10574
|
+
/**
|
|
10575
|
+
* Operation
|
|
10576
|
+
*
|
|
10577
|
+
* Kebab-case operation name
|
|
10578
|
+
*/
|
|
10579
|
+
operation: string;
|
|
10580
|
+
/**
|
|
10581
|
+
* Operationid
|
|
10582
|
+
*
|
|
10583
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
10584
|
+
*/
|
|
10585
|
+
operationId: string;
|
|
10586
|
+
/**
|
|
10587
|
+
* Status
|
|
10588
|
+
*
|
|
10589
|
+
* Operation lifecycle state
|
|
10590
|
+
*/
|
|
10591
|
+
status: 'completed' | 'pending' | 'failed';
|
|
10592
|
+
/**
|
|
10593
|
+
* Command-specific result payload
|
|
10594
|
+
*/
|
|
10595
|
+
result?: InformationBlockResponse | null;
|
|
10596
|
+
/**
|
|
10597
|
+
* At
|
|
10598
|
+
*
|
|
10599
|
+
* ISO-8601 UTC timestamp
|
|
10600
|
+
*/
|
|
10601
|
+
at: string;
|
|
10602
|
+
/**
|
|
10603
|
+
* Createdby
|
|
10604
|
+
*
|
|
10605
|
+
* User ID that initiated the operation (null for legacy callers)
|
|
10606
|
+
*/
|
|
10607
|
+
createdBy?: string | null;
|
|
10608
|
+
/**
|
|
10609
|
+
* Idempotentreplay
|
|
10610
|
+
*
|
|
10611
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
10612
|
+
*/
|
|
10613
|
+
idempotentReplay?: boolean;
|
|
10614
|
+
};
|
|
10242
10615
|
/**
|
|
10243
10616
|
* OperationEnvelope[InitializeChartOfAccountsResponse]
|
|
10244
10617
|
*/
|
|
@@ -12169,6 +12542,26 @@ export type PeriodSpec = {
|
|
|
12169
12542
|
*/
|
|
12170
12543
|
label: string;
|
|
12171
12544
|
};
|
|
12545
|
+
/**
|
|
12546
|
+
* PlaidConnectionConfig
|
|
12547
|
+
*
|
|
12548
|
+
* Plaid bank-feed connection configuration.
|
|
12549
|
+
*
|
|
12550
|
+
* A bank feed is native accounting: the graph must already have a chart of
|
|
12551
|
+
* accounts and no live QuickBooks connection. The connection is created
|
|
12552
|
+
* ``pending_oauth``; ``POST /oauth/init`` returns a ``link_token`` for Plaid
|
|
12553
|
+
* Link, and the ``public_token`` Link hands back completes it through
|
|
12554
|
+
* ``POST /oauth/callback/plaid`` (as ``code``). One connection per institution
|
|
12555
|
+
* login; a graph can hold several.
|
|
12556
|
+
*/
|
|
12557
|
+
export type PlaidConnectionConfig = {
|
|
12558
|
+
/**
|
|
12559
|
+
* Since Date
|
|
12560
|
+
*
|
|
12561
|
+
* 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.
|
|
12562
|
+
*/
|
|
12563
|
+
since_date?: string | null;
|
|
12564
|
+
};
|
|
12172
12565
|
/**
|
|
12173
12566
|
* PortalSessionResponse
|
|
12174
12567
|
*
|
|
@@ -13080,7 +13473,7 @@ export type ReconcilingItemPlan = {
|
|
|
13080
13473
|
/**
|
|
13081
13474
|
* Default Disposition
|
|
13082
13475
|
*
|
|
13083
|
-
* What resolve would do with no disposition given: restate while every affected period is open
|
|
13476
|
+
* What resolve would do with no disposition given: restate while every affected period is open and nothing blocks it, catch_up otherwise.
|
|
13084
13477
|
*/
|
|
13085
13478
|
default_disposition: 'restate' | 'catch_up' | 'acknowledge';
|
|
13086
13479
|
/**
|
|
@@ -13561,13 +13954,13 @@ export type ReportResponse = {
|
|
|
13561
13954
|
/**
|
|
13562
13955
|
* Filed At
|
|
13563
13956
|
*
|
|
13564
|
-
* When the report was transitioned to `filed`.
|
|
13957
|
+
* 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.
|
|
13565
13958
|
*/
|
|
13566
13959
|
filed_at?: string | null;
|
|
13567
13960
|
/**
|
|
13568
13961
|
* Filed By
|
|
13569
13962
|
*
|
|
13570
|
-
* User ID that transitioned the report to `filed`.
|
|
13963
|
+
* 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`.
|
|
13571
13964
|
*/
|
|
13572
13965
|
filed_by?: string | null;
|
|
13573
13966
|
/**
|
|
@@ -14409,6 +14802,10 @@ export type SchemaValidationResponse = {
|
|
|
14409
14802
|
* A long SEC section (an MD&A, a commitments note) is indexed in parts, each
|
|
14410
14803
|
* a document of its own: ``part`` of ``part_count``, ``parent_document_id``
|
|
14411
14804
|
* shared by the section's parts, ``next_document_id`` to read on.
|
|
14805
|
+
*
|
|
14806
|
+
* On a grouped search, ``also_in_filings`` counts the other filings of the
|
|
14807
|
+
* same filer whose same section (and part) matched and were folded into
|
|
14808
|
+
* this hit.
|
|
14412
14809
|
*/
|
|
14413
14810
|
export type SearchHit = {
|
|
14414
14811
|
/**
|
|
@@ -14499,6 +14896,10 @@ export type SearchHit = {
|
|
|
14499
14896
|
* Folder
|
|
14500
14897
|
*/
|
|
14501
14898
|
folder?: string | null;
|
|
14899
|
+
/**
|
|
14900
|
+
* Also In Filings
|
|
14901
|
+
*/
|
|
14902
|
+
also_in_filings?: number | null;
|
|
14502
14903
|
};
|
|
14503
14904
|
/**
|
|
14504
14905
|
* SearchRequest
|
|
@@ -14515,7 +14916,7 @@ export type SearchRequest = {
|
|
|
14515
14916
|
/**
|
|
14516
14917
|
* Entity
|
|
14517
14918
|
*
|
|
14518
|
-
* Filter by
|
|
14919
|
+
* 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
|
|
14519
14920
|
*/
|
|
14520
14921
|
entity?: string | null;
|
|
14521
14922
|
/**
|
|
@@ -14566,6 +14967,12 @@ export type SearchRequest = {
|
|
|
14566
14967
|
* Enable hybrid semantic search (BM25 + KNN). Default is BM25-only for speed.
|
|
14567
14968
|
*/
|
|
14568
14969
|
semantic?: boolean;
|
|
14970
|
+
/**
|
|
14971
|
+
* Group
|
|
14972
|
+
*
|
|
14973
|
+
* 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.
|
|
14974
|
+
*/
|
|
14975
|
+
group?: boolean;
|
|
14569
14976
|
/**
|
|
14570
14977
|
* Size
|
|
14571
14978
|
*
|
|
@@ -14593,6 +15000,8 @@ export type SearchRequest = {
|
|
|
14593
15000
|
export type SearchResponse = {
|
|
14594
15001
|
/**
|
|
14595
15002
|
* Total
|
|
15003
|
+
*
|
|
15004
|
+
* 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.
|
|
14596
15005
|
*/
|
|
14597
15006
|
total: number;
|
|
14598
15007
|
/**
|
|
@@ -16619,9 +17028,9 @@ export type UpdateEventBlockRequest = {
|
|
|
16619
17028
|
/**
|
|
16620
17029
|
* Transition To
|
|
16621
17030
|
*
|
|
16622
|
-
* 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
|
|
17031
|
+
* 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.
|
|
16623
17032
|
*/
|
|
16624
|
-
transition_to?: 'committed' | 'pending' | 'fulfilled' | 'voided' | 'superseded' | null;
|
|
17033
|
+
transition_to?: 'classified' | 'committed' | 'pending' | 'fulfilled' | 'voided' | 'superseded' | null;
|
|
16625
17034
|
/**
|
|
16626
17035
|
* Superseded By Id
|
|
16627
17036
|
*
|
|
@@ -20303,7 +20712,7 @@ export type ListConnectionsData = {
|
|
|
20303
20712
|
*
|
|
20304
20713
|
* Filter by provider type
|
|
20305
20714
|
*/
|
|
20306
|
-
provider?: 'quickbooks' | 'external' | null;
|
|
20715
|
+
provider?: 'quickbooks' | 'external' | 'mercury' | 'plaid' | null;
|
|
20307
20716
|
};
|
|
20308
20717
|
url: '/v1/graphs/{graph_id}/connections';
|
|
20309
20718
|
};
|
|
@@ -27970,6 +28379,124 @@ export type FinancialStatementAnalysisResponses = {
|
|
|
27970
28379
|
200: OperationEnvelopeFinancialStatementAnalysisResponse;
|
|
27971
28380
|
};
|
|
27972
28381
|
export type FinancialStatementAnalysisResponse2 = FinancialStatementAnalysisResponses[keyof FinancialStatementAnalysisResponses];
|
|
28382
|
+
export type DisclosuresData = {
|
|
28383
|
+
body: DisclosuresRequest;
|
|
28384
|
+
headers?: {
|
|
28385
|
+
/**
|
|
28386
|
+
* Idempotency-Key
|
|
28387
|
+
*/
|
|
28388
|
+
'Idempotency-Key'?: string | null;
|
|
28389
|
+
};
|
|
28390
|
+
path: {
|
|
28391
|
+
/**
|
|
28392
|
+
* Graph Id
|
|
28393
|
+
*/
|
|
28394
|
+
graph_id: string;
|
|
28395
|
+
};
|
|
28396
|
+
query?: never;
|
|
28397
|
+
url: '/extensions/roboledger/{graph_id}/operations/disclosures';
|
|
28398
|
+
};
|
|
28399
|
+
export type DisclosuresErrors = {
|
|
28400
|
+
/**
|
|
28401
|
+
* Invalid request
|
|
28402
|
+
*/
|
|
28403
|
+
400: ErrorResponse;
|
|
28404
|
+
/**
|
|
28405
|
+
* Authentication required
|
|
28406
|
+
*/
|
|
28407
|
+
401: ErrorResponse;
|
|
28408
|
+
/**
|
|
28409
|
+
* Access denied
|
|
28410
|
+
*/
|
|
28411
|
+
403: ErrorResponse;
|
|
28412
|
+
/**
|
|
28413
|
+
* Resource not found
|
|
28414
|
+
*/
|
|
28415
|
+
404: ErrorResponse;
|
|
28416
|
+
/**
|
|
28417
|
+
* Idempotency-Key conflict — key reused with different body
|
|
28418
|
+
*/
|
|
28419
|
+
409: ErrorResponse;
|
|
28420
|
+
/**
|
|
28421
|
+
* Validation error
|
|
28422
|
+
*/
|
|
28423
|
+
422: ErrorResponse;
|
|
28424
|
+
/**
|
|
28425
|
+
* Rate limit exceeded
|
|
28426
|
+
*/
|
|
28427
|
+
429: ErrorResponse;
|
|
28428
|
+
/**
|
|
28429
|
+
* Internal server error
|
|
28430
|
+
*/
|
|
28431
|
+
500: ErrorResponse;
|
|
28432
|
+
};
|
|
28433
|
+
export type DisclosuresError = DisclosuresErrors[keyof DisclosuresErrors];
|
|
28434
|
+
export type DisclosuresResponses = {
|
|
28435
|
+
/**
|
|
28436
|
+
* Successful Response
|
|
28437
|
+
*/
|
|
28438
|
+
200: OperationEnvelopeDisclosuresResponse;
|
|
28439
|
+
};
|
|
28440
|
+
export type DisclosuresResponse2 = DisclosuresResponses[keyof DisclosuresResponses];
|
|
28441
|
+
export type InformationBlockData = {
|
|
28442
|
+
body: InformationBlockRequest;
|
|
28443
|
+
headers?: {
|
|
28444
|
+
/**
|
|
28445
|
+
* Idempotency-Key
|
|
28446
|
+
*/
|
|
28447
|
+
'Idempotency-Key'?: string | null;
|
|
28448
|
+
};
|
|
28449
|
+
path: {
|
|
28450
|
+
/**
|
|
28451
|
+
* Graph Id
|
|
28452
|
+
*/
|
|
28453
|
+
graph_id: string;
|
|
28454
|
+
};
|
|
28455
|
+
query?: never;
|
|
28456
|
+
url: '/extensions/roboledger/{graph_id}/operations/information-block';
|
|
28457
|
+
};
|
|
28458
|
+
export type InformationBlockErrors = {
|
|
28459
|
+
/**
|
|
28460
|
+
* Invalid request
|
|
28461
|
+
*/
|
|
28462
|
+
400: ErrorResponse;
|
|
28463
|
+
/**
|
|
28464
|
+
* Authentication required
|
|
28465
|
+
*/
|
|
28466
|
+
401: ErrorResponse;
|
|
28467
|
+
/**
|
|
28468
|
+
* Access denied
|
|
28469
|
+
*/
|
|
28470
|
+
403: ErrorResponse;
|
|
28471
|
+
/**
|
|
28472
|
+
* Resource not found
|
|
28473
|
+
*/
|
|
28474
|
+
404: ErrorResponse;
|
|
28475
|
+
/**
|
|
28476
|
+
* Idempotency-Key conflict — key reused with different body
|
|
28477
|
+
*/
|
|
28478
|
+
409: ErrorResponse;
|
|
28479
|
+
/**
|
|
28480
|
+
* Validation error
|
|
28481
|
+
*/
|
|
28482
|
+
422: ErrorResponse;
|
|
28483
|
+
/**
|
|
28484
|
+
* Rate limit exceeded
|
|
28485
|
+
*/
|
|
28486
|
+
429: ErrorResponse;
|
|
28487
|
+
/**
|
|
28488
|
+
* Internal server error
|
|
28489
|
+
*/
|
|
28490
|
+
500: ErrorResponse;
|
|
28491
|
+
};
|
|
28492
|
+
export type InformationBlockError = InformationBlockErrors[keyof InformationBlockErrors];
|
|
28493
|
+
export type InformationBlockResponses = {
|
|
28494
|
+
/**
|
|
28495
|
+
* Successful Response
|
|
28496
|
+
*/
|
|
28497
|
+
200: OperationEnvelopeInformationBlockResponse;
|
|
28498
|
+
};
|
|
28499
|
+
export type InformationBlockResponse2 = InformationBlockResponses[keyof InformationBlockResponses];
|
|
27973
28500
|
export type CreatePortfolioBlockData = {
|
|
27974
28501
|
body: CreatePortfolioBlockRequest;
|
|
27975
28502
|
headers?: {
|