@robosystems/client 0.3.12 → 0.3.14
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/LedgerClient.d.ts +22 -1
- package/artifacts/LedgerClient.js +40 -0
- package/artifacts/LedgerClient.ts +67 -0
- package/artifacts/graphql/generated/graphql.d.ts +350 -32
- package/artifacts/graphql/generated/graphql.js +584 -24
- package/artifacts/graphql/generated/graphql.ts +927 -61
- package/artifacts/graphql/queries/ledger/accountRollups.js +1 -1
- package/artifacts/graphql/queries/ledger/accountRollups.ts +1 -1
- package/artifacts/graphql/queries/ledger/accountTree.js +4 -4
- package/artifacts/graphql/queries/ledger/accountTree.ts +4 -4
- package/artifacts/graphql/queries/ledger/accounts.js +0 -1
- package/artifacts/graphql/queries/ledger/accounts.ts +0 -1
- package/artifacts/graphql/queries/ledger/elements.js +0 -1
- package/artifacts/graphql/queries/ledger/elements.ts +0 -1
- package/artifacts/graphql/queries/ledger/informationBlock.js +110 -0
- package/artifacts/graphql/queries/ledger/informationBlock.ts +110 -0
- package/artifacts/graphql/queries/ledger/mappedTrialBalance.js +1 -1
- package/artifacts/graphql/queries/ledger/mappedTrialBalance.ts +1 -1
- package/artifacts/graphql/queries/ledger/reportPackage.d.ts +11 -0
- package/artifacts/graphql/queries/ledger/reportPackage.js +151 -0
- package/artifacts/graphql/queries/ledger/reportPackage.ts +149 -0
- package/artifacts/graphql/queries/ledger/statement.js +1 -1
- package/artifacts/graphql/queries/ledger/statement.ts +1 -1
- package/artifacts/graphql/queries/ledger/trialBalance.js +1 -1
- package/artifacts/graphql/queries/ledger/trialBalance.ts +1 -1
- package/artifacts/graphql/queries/ledger/unmappedElements.js +1 -1
- package/artifacts/graphql/queries/ledger/unmappedElements.ts +1 -1
- package/artifacts/graphql/queries/library/arcs.js +3 -3
- package/artifacts/graphql/queries/library/arcs.ts +3 -3
- package/artifacts/graphql/queries/library/elements.js +3 -3
- package/artifacts/graphql/queries/library/elements.ts +3 -3
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +4 -2
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +17 -1
- package/sdk/sdk.gen.js +36 -2
- package/sdk/sdk.gen.ts +35 -1
- package/sdk/types.gen.d.ts +199 -11
- package/sdk/types.gen.ts +211 -11
- package/sdk.gen.d.ts +17 -1
- package/sdk.gen.js +36 -2
- package/sdk.gen.ts +35 -1
- package/types.gen.d.ts +199 -11
- package/types.gen.ts +211 -11
package/types.gen.d.ts
CHANGED
|
@@ -1386,9 +1386,15 @@ export type CreateEventBlockRequest = {
|
|
|
1386
1386
|
/**
|
|
1387
1387
|
* Event Category
|
|
1388
1388
|
*
|
|
1389
|
-
* REA
|
|
1389
|
+
* REA classification. Economic categories (sales, purchase, financing, payroll, treasury, adjustment, recognition, other) require event_class='economic'. Support categories (control, approval, reconciliation, inquiry) require event_class='support'. The DB CHECK rejects mismatched pairings.
|
|
1390
1390
|
*/
|
|
1391
|
-
event_category: 'sales' | 'purchase' | 'financing' | 'payroll' | 'treasury' | 'adjustment' | 'recognition' | 'other';
|
|
1391
|
+
event_category: 'sales' | 'purchase' | 'financing' | 'payroll' | 'treasury' | 'adjustment' | 'recognition' | 'other' | 'control' | 'approval' | 'reconciliation' | 'inquiry';
|
|
1392
|
+
/**
|
|
1393
|
+
* Event Class
|
|
1394
|
+
*
|
|
1395
|
+
* REA event class. 'economic' events change resources and drive GL postings; 'support' events are audit-trail / value-chain primitives (typically captured with apply_handlers=False).
|
|
1396
|
+
*/
|
|
1397
|
+
event_class?: 'economic' | 'support';
|
|
1392
1398
|
/**
|
|
1393
1399
|
* Agent Id
|
|
1394
1400
|
*
|
|
@@ -1465,6 +1471,18 @@ export type CreateEventBlockRequest = {
|
|
|
1465
1471
|
* Dimension Ids
|
|
1466
1472
|
*/
|
|
1467
1473
|
dimension_ids?: Array<string>;
|
|
1474
|
+
/**
|
|
1475
|
+
* Obligated By Event Id
|
|
1476
|
+
*
|
|
1477
|
+
* Forward-materialization link: the event that scheduled or obligated this one (e.g. depreciation entries point at the asset_acquired event).
|
|
1478
|
+
*/
|
|
1479
|
+
obligated_by_event_id?: string | null;
|
|
1480
|
+
/**
|
|
1481
|
+
* Discharges Event Id
|
|
1482
|
+
*
|
|
1483
|
+
* Settlement link: the obligation this event discharges (e.g. cash_received pointing at the originating sale_invoiced).
|
|
1484
|
+
*/
|
|
1485
|
+
discharges_event_id?: string | null;
|
|
1468
1486
|
/**
|
|
1469
1487
|
* Apply Handlers
|
|
1470
1488
|
*
|
|
@@ -3027,9 +3045,9 @@ export type ElementUpdatePatch = {
|
|
|
3027
3045
|
*/
|
|
3028
3046
|
description?: string | null;
|
|
3029
3047
|
/**
|
|
3030
|
-
*
|
|
3048
|
+
* Trait
|
|
3031
3049
|
*/
|
|
3032
|
-
|
|
3050
|
+
trait?: string | null;
|
|
3033
3051
|
/**
|
|
3034
3052
|
* Balance Type
|
|
3035
3053
|
*/
|
|
@@ -3173,7 +3191,7 @@ export type ErrorResponse = {
|
|
|
3173
3191
|
/**
|
|
3174
3192
|
* EvaluateRulesRequest
|
|
3175
3193
|
*
|
|
3176
|
-
* Request body for the ``evaluate-rules`` operation
|
|
3194
|
+
* Request body for the ``evaluate-rules`` operation.
|
|
3177
3195
|
*
|
|
3178
3196
|
* Runs every rule scoped to ``structure_id`` (plus element/association-
|
|
3179
3197
|
* scoped rules for the structure's atoms), binds ``$Variable`` references
|
|
@@ -3192,7 +3210,7 @@ export type EvaluateRulesRequest = {
|
|
|
3192
3210
|
/**
|
|
3193
3211
|
* Fact Set Id
|
|
3194
3212
|
*
|
|
3195
|
-
* Optional FactSet id to stamp on each VerificationResult row. Allows results to be scoped to a specific period run
|
|
3213
|
+
* Optional FactSet id to stamp on each VerificationResult row. Allows results to be scoped to a specific period run once write paths populate the FactSet table on every run.
|
|
3196
3214
|
*/
|
|
3197
3215
|
fact_set_id?: string | null;
|
|
3198
3216
|
/**
|
|
@@ -3302,6 +3320,24 @@ export type FileLayerStatus = {
|
|
|
3302
3320
|
*/
|
|
3303
3321
|
size_bytes?: number | null;
|
|
3304
3322
|
};
|
|
3323
|
+
/**
|
|
3324
|
+
* FileReportRequest
|
|
3325
|
+
*
|
|
3326
|
+
* Transition a Report to ``filed`` — locks the package.
|
|
3327
|
+
*
|
|
3328
|
+
* Acceptable from ``draft`` or ``under_review``. ``filed_by`` and
|
|
3329
|
+
* ``filed_at`` are stamped from the auth context + server clock; the
|
|
3330
|
+
* request itself carries no fields today (kept as a model for OpenAPI
|
|
3331
|
+
* shape consistency and to avoid breaking changes if we add fields).
|
|
3332
|
+
*/
|
|
3333
|
+
export type FileReportRequest = {
|
|
3334
|
+
/**
|
|
3335
|
+
* Report Id
|
|
3336
|
+
*
|
|
3337
|
+
* The Report to file.
|
|
3338
|
+
*/
|
|
3339
|
+
report_id: string;
|
|
3340
|
+
};
|
|
3305
3341
|
/**
|
|
3306
3342
|
* FileStatusUpdate
|
|
3307
3343
|
*/
|
|
@@ -6975,11 +7011,11 @@ export type TaxonomyBlockElementRequest = {
|
|
|
6975
7011
|
*/
|
|
6976
7012
|
name: string;
|
|
6977
7013
|
/**
|
|
6978
|
-
*
|
|
7014
|
+
* Trait
|
|
6979
7015
|
*
|
|
6980
7016
|
* FASB metamodel trait for the element. Required for ``chart_of_accounts`` blocks; optional for ``custom_ontology``.
|
|
6981
7017
|
*/
|
|
6982
|
-
|
|
7018
|
+
trait?: string | null;
|
|
6983
7019
|
/**
|
|
6984
7020
|
* Balance Type
|
|
6985
7021
|
*
|
|
@@ -7284,6 +7320,28 @@ export type TransactionTemplateLeg = {
|
|
|
7284
7320
|
*/
|
|
7285
7321
|
amount: string;
|
|
7286
7322
|
};
|
|
7323
|
+
/**
|
|
7324
|
+
* TransitionFilingStatusRequest
|
|
7325
|
+
*
|
|
7326
|
+
* Generic filing-status transition — escape hatch for non-file moves.
|
|
7327
|
+
*
|
|
7328
|
+
* Used for ``draft → under_review`` (submit for review) and
|
|
7329
|
+
* ``filed → archived`` (supersede / retire). Filing the package goes
|
|
7330
|
+
* through :class:`FileReportRequest` so ``filed_at`` / ``filed_by``
|
|
7331
|
+
* audit fields land cleanly.
|
|
7332
|
+
*/
|
|
7333
|
+
export type TransitionFilingStatusRequest = {
|
|
7334
|
+
/**
|
|
7335
|
+
* Report Id
|
|
7336
|
+
*/
|
|
7337
|
+
report_id: string;
|
|
7338
|
+
/**
|
|
7339
|
+
* Target Status
|
|
7340
|
+
*
|
|
7341
|
+
* under_review | archived
|
|
7342
|
+
*/
|
|
7343
|
+
target_status: string;
|
|
7344
|
+
};
|
|
7287
7345
|
/**
|
|
7288
7346
|
* UpcomingInvoice
|
|
7289
7347
|
*
|
|
@@ -7517,7 +7575,7 @@ export type UpdateEventBlockRequest = {
|
|
|
7517
7575
|
/**
|
|
7518
7576
|
* Transition To
|
|
7519
7577
|
*
|
|
7520
|
-
* Status transition. Valid moves depend on current status: captured → committed | voided; classified → committed | pending | fulfilled | voided; committed → pending | fulfilled | voided; pending → fulfilled | voided. Terminal states (fulfilled, voided, superseded) accept no further transitions. Note: classified and fulfilled are usually set by handlers, not by callers, but the transition is allowed for corrections.
|
|
7578
|
+
* 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. Terminal states (fulfilled, voided, superseded) accept no further transitions. Note: classified and fulfilled are usually set by handlers, not by callers, but the transition is allowed for corrections.
|
|
7521
7579
|
*/
|
|
7522
7580
|
transition_to?: 'committed' | 'pending' | 'fulfilled' | 'voided' | 'superseded' | null;
|
|
7523
7581
|
/**
|
|
@@ -7542,6 +7600,18 @@ export type UpdateEventBlockRequest = {
|
|
|
7542
7600
|
metadata_patch?: {
|
|
7543
7601
|
[key: string]: unknown;
|
|
7544
7602
|
};
|
|
7603
|
+
/**
|
|
7604
|
+
* Obligated By Event Id
|
|
7605
|
+
*
|
|
7606
|
+
* Set/update the forward-materialization link.
|
|
7607
|
+
*/
|
|
7608
|
+
obligated_by_event_id?: string | null;
|
|
7609
|
+
/**
|
|
7610
|
+
* Discharges Event Id
|
|
7611
|
+
*
|
|
7612
|
+
* Set/update the settlement link.
|
|
7613
|
+
*/
|
|
7614
|
+
discharges_event_id?: string | null;
|
|
7545
7615
|
};
|
|
7546
7616
|
/**
|
|
7547
7617
|
* UpdateEventHandlerRequest
|
|
@@ -7869,8 +7939,8 @@ export type UpdateSecurityOperation = {
|
|
|
7869
7939
|
*
|
|
7870
7940
|
* Top-level fields (name / description / version) apply to the taxonomy
|
|
7871
7941
|
* row itself. The delta lists mutate atoms incrementally — the validator
|
|
7872
|
-
*
|
|
7873
|
-
*
|
|
7942
|
+
* re-runs every create-time check across the projected post-update
|
|
7943
|
+
* state before anything commits.
|
|
7874
7944
|
*/
|
|
7875
7945
|
export type UpdateTaxonomyBlockRequest = {
|
|
7876
7946
|
/**
|
|
@@ -15383,6 +15453,124 @@ export type OpShareReportResponses = {
|
|
|
15383
15453
|
200: OperationEnvelope;
|
|
15384
15454
|
};
|
|
15385
15455
|
export type OpShareReportResponse = OpShareReportResponses[keyof OpShareReportResponses];
|
|
15456
|
+
export type OpFileReportData = {
|
|
15457
|
+
body: FileReportRequest;
|
|
15458
|
+
headers?: {
|
|
15459
|
+
/**
|
|
15460
|
+
* Idempotency-Key
|
|
15461
|
+
*/
|
|
15462
|
+
'Idempotency-Key'?: string | null;
|
|
15463
|
+
};
|
|
15464
|
+
path: {
|
|
15465
|
+
/**
|
|
15466
|
+
* Graph Id
|
|
15467
|
+
*/
|
|
15468
|
+
graph_id: string;
|
|
15469
|
+
};
|
|
15470
|
+
query?: never;
|
|
15471
|
+
url: '/extensions/roboledger/{graph_id}/operations/file-report';
|
|
15472
|
+
};
|
|
15473
|
+
export type OpFileReportErrors = {
|
|
15474
|
+
/**
|
|
15475
|
+
* Invalid request
|
|
15476
|
+
*/
|
|
15477
|
+
400: ErrorResponse;
|
|
15478
|
+
/**
|
|
15479
|
+
* Authentication required
|
|
15480
|
+
*/
|
|
15481
|
+
401: ErrorResponse;
|
|
15482
|
+
/**
|
|
15483
|
+
* Access denied
|
|
15484
|
+
*/
|
|
15485
|
+
403: ErrorResponse;
|
|
15486
|
+
/**
|
|
15487
|
+
* Resource not found
|
|
15488
|
+
*/
|
|
15489
|
+
404: ErrorResponse;
|
|
15490
|
+
/**
|
|
15491
|
+
* Idempotency-Key conflict — key reused with different body
|
|
15492
|
+
*/
|
|
15493
|
+
409: ErrorResponse;
|
|
15494
|
+
/**
|
|
15495
|
+
* Validation Error
|
|
15496
|
+
*/
|
|
15497
|
+
422: HttpValidationError;
|
|
15498
|
+
/**
|
|
15499
|
+
* Rate limit exceeded
|
|
15500
|
+
*/
|
|
15501
|
+
429: ErrorResponse;
|
|
15502
|
+
/**
|
|
15503
|
+
* Internal server error
|
|
15504
|
+
*/
|
|
15505
|
+
500: ErrorResponse;
|
|
15506
|
+
};
|
|
15507
|
+
export type OpFileReportError = OpFileReportErrors[keyof OpFileReportErrors];
|
|
15508
|
+
export type OpFileReportResponses = {
|
|
15509
|
+
/**
|
|
15510
|
+
* Successful Response
|
|
15511
|
+
*/
|
|
15512
|
+
200: OperationEnvelope;
|
|
15513
|
+
};
|
|
15514
|
+
export type OpFileReportResponse = OpFileReportResponses[keyof OpFileReportResponses];
|
|
15515
|
+
export type OpTransitionFilingStatusData = {
|
|
15516
|
+
body: TransitionFilingStatusRequest;
|
|
15517
|
+
headers?: {
|
|
15518
|
+
/**
|
|
15519
|
+
* Idempotency-Key
|
|
15520
|
+
*/
|
|
15521
|
+
'Idempotency-Key'?: string | null;
|
|
15522
|
+
};
|
|
15523
|
+
path: {
|
|
15524
|
+
/**
|
|
15525
|
+
* Graph Id
|
|
15526
|
+
*/
|
|
15527
|
+
graph_id: string;
|
|
15528
|
+
};
|
|
15529
|
+
query?: never;
|
|
15530
|
+
url: '/extensions/roboledger/{graph_id}/operations/transition-filing-status';
|
|
15531
|
+
};
|
|
15532
|
+
export type OpTransitionFilingStatusErrors = {
|
|
15533
|
+
/**
|
|
15534
|
+
* Invalid request
|
|
15535
|
+
*/
|
|
15536
|
+
400: ErrorResponse;
|
|
15537
|
+
/**
|
|
15538
|
+
* Authentication required
|
|
15539
|
+
*/
|
|
15540
|
+
401: ErrorResponse;
|
|
15541
|
+
/**
|
|
15542
|
+
* Access denied
|
|
15543
|
+
*/
|
|
15544
|
+
403: ErrorResponse;
|
|
15545
|
+
/**
|
|
15546
|
+
* Resource not found
|
|
15547
|
+
*/
|
|
15548
|
+
404: ErrorResponse;
|
|
15549
|
+
/**
|
|
15550
|
+
* Idempotency-Key conflict — key reused with different body
|
|
15551
|
+
*/
|
|
15552
|
+
409: ErrorResponse;
|
|
15553
|
+
/**
|
|
15554
|
+
* Validation Error
|
|
15555
|
+
*/
|
|
15556
|
+
422: HttpValidationError;
|
|
15557
|
+
/**
|
|
15558
|
+
* Rate limit exceeded
|
|
15559
|
+
*/
|
|
15560
|
+
429: ErrorResponse;
|
|
15561
|
+
/**
|
|
15562
|
+
* Internal server error
|
|
15563
|
+
*/
|
|
15564
|
+
500: ErrorResponse;
|
|
15565
|
+
};
|
|
15566
|
+
export type OpTransitionFilingStatusError = OpTransitionFilingStatusErrors[keyof OpTransitionFilingStatusErrors];
|
|
15567
|
+
export type OpTransitionFilingStatusResponses = {
|
|
15568
|
+
/**
|
|
15569
|
+
* Successful Response
|
|
15570
|
+
*/
|
|
15571
|
+
200: OperationEnvelope;
|
|
15572
|
+
};
|
|
15573
|
+
export type OpTransitionFilingStatusResponse = OpTransitionFilingStatusResponses[keyof OpTransitionFilingStatusResponses];
|
|
15386
15574
|
export type OpCreatePublishListData = {
|
|
15387
15575
|
body: CreatePublishListRequest;
|
|
15388
15576
|
headers?: {
|
package/types.gen.ts
CHANGED
|
@@ -1430,9 +1430,15 @@ export type CreateEventBlockRequest = {
|
|
|
1430
1430
|
/**
|
|
1431
1431
|
* Event Category
|
|
1432
1432
|
*
|
|
1433
|
-
* REA
|
|
1433
|
+
* REA classification. Economic categories (sales, purchase, financing, payroll, treasury, adjustment, recognition, other) require event_class='economic'. Support categories (control, approval, reconciliation, inquiry) require event_class='support'. The DB CHECK rejects mismatched pairings.
|
|
1434
1434
|
*/
|
|
1435
|
-
event_category: 'sales' | 'purchase' | 'financing' | 'payroll' | 'treasury' | 'adjustment' | 'recognition' | 'other';
|
|
1435
|
+
event_category: 'sales' | 'purchase' | 'financing' | 'payroll' | 'treasury' | 'adjustment' | 'recognition' | 'other' | 'control' | 'approval' | 'reconciliation' | 'inquiry';
|
|
1436
|
+
/**
|
|
1437
|
+
* Event Class
|
|
1438
|
+
*
|
|
1439
|
+
* REA event class. 'economic' events change resources and drive GL postings; 'support' events are audit-trail / value-chain primitives (typically captured with apply_handlers=False).
|
|
1440
|
+
*/
|
|
1441
|
+
event_class?: 'economic' | 'support';
|
|
1436
1442
|
/**
|
|
1437
1443
|
* Agent Id
|
|
1438
1444
|
*
|
|
@@ -1509,6 +1515,18 @@ export type CreateEventBlockRequest = {
|
|
|
1509
1515
|
* Dimension Ids
|
|
1510
1516
|
*/
|
|
1511
1517
|
dimension_ids?: Array<string>;
|
|
1518
|
+
/**
|
|
1519
|
+
* Obligated By Event Id
|
|
1520
|
+
*
|
|
1521
|
+
* Forward-materialization link: the event that scheduled or obligated this one (e.g. depreciation entries point at the asset_acquired event).
|
|
1522
|
+
*/
|
|
1523
|
+
obligated_by_event_id?: string | null;
|
|
1524
|
+
/**
|
|
1525
|
+
* Discharges Event Id
|
|
1526
|
+
*
|
|
1527
|
+
* Settlement link: the obligation this event discharges (e.g. cash_received pointing at the originating sale_invoiced).
|
|
1528
|
+
*/
|
|
1529
|
+
discharges_event_id?: string | null;
|
|
1512
1530
|
/**
|
|
1513
1531
|
* Apply Handlers
|
|
1514
1532
|
*
|
|
@@ -3113,9 +3131,9 @@ export type ElementUpdatePatch = {
|
|
|
3113
3131
|
*/
|
|
3114
3132
|
description?: string | null;
|
|
3115
3133
|
/**
|
|
3116
|
-
*
|
|
3134
|
+
* Trait
|
|
3117
3135
|
*/
|
|
3118
|
-
|
|
3136
|
+
trait?: string | null;
|
|
3119
3137
|
/**
|
|
3120
3138
|
* Balance Type
|
|
3121
3139
|
*/
|
|
@@ -3264,7 +3282,7 @@ export type ErrorResponse = {
|
|
|
3264
3282
|
/**
|
|
3265
3283
|
* EvaluateRulesRequest
|
|
3266
3284
|
*
|
|
3267
|
-
* Request body for the ``evaluate-rules`` operation
|
|
3285
|
+
* Request body for the ``evaluate-rules`` operation.
|
|
3268
3286
|
*
|
|
3269
3287
|
* Runs every rule scoped to ``structure_id`` (plus element/association-
|
|
3270
3288
|
* scoped rules for the structure's atoms), binds ``$Variable`` references
|
|
@@ -3283,7 +3301,7 @@ export type EvaluateRulesRequest = {
|
|
|
3283
3301
|
/**
|
|
3284
3302
|
* Fact Set Id
|
|
3285
3303
|
*
|
|
3286
|
-
* Optional FactSet id to stamp on each VerificationResult row. Allows results to be scoped to a specific period run
|
|
3304
|
+
* Optional FactSet id to stamp on each VerificationResult row. Allows results to be scoped to a specific period run once write paths populate the FactSet table on every run.
|
|
3287
3305
|
*/
|
|
3288
3306
|
fact_set_id?: string | null;
|
|
3289
3307
|
/**
|
|
@@ -3396,6 +3414,25 @@ export type FileLayerStatus = {
|
|
|
3396
3414
|
size_bytes?: number | null;
|
|
3397
3415
|
};
|
|
3398
3416
|
|
|
3417
|
+
/**
|
|
3418
|
+
* FileReportRequest
|
|
3419
|
+
*
|
|
3420
|
+
* Transition a Report to ``filed`` — locks the package.
|
|
3421
|
+
*
|
|
3422
|
+
* Acceptable from ``draft`` or ``under_review``. ``filed_by`` and
|
|
3423
|
+
* ``filed_at`` are stamped from the auth context + server clock; the
|
|
3424
|
+
* request itself carries no fields today (kept as a model for OpenAPI
|
|
3425
|
+
* shape consistency and to avoid breaking changes if we add fields).
|
|
3426
|
+
*/
|
|
3427
|
+
export type FileReportRequest = {
|
|
3428
|
+
/**
|
|
3429
|
+
* Report Id
|
|
3430
|
+
*
|
|
3431
|
+
* The Report to file.
|
|
3432
|
+
*/
|
|
3433
|
+
report_id: string;
|
|
3434
|
+
};
|
|
3435
|
+
|
|
3399
3436
|
/**
|
|
3400
3437
|
* FileStatusUpdate
|
|
3401
3438
|
*/
|
|
@@ -7174,11 +7211,11 @@ export type TaxonomyBlockElementRequest = {
|
|
|
7174
7211
|
*/
|
|
7175
7212
|
name: string;
|
|
7176
7213
|
/**
|
|
7177
|
-
*
|
|
7214
|
+
* Trait
|
|
7178
7215
|
*
|
|
7179
7216
|
* FASB metamodel trait for the element. Required for ``chart_of_accounts`` blocks; optional for ``custom_ontology``.
|
|
7180
7217
|
*/
|
|
7181
|
-
|
|
7218
|
+
trait?: string | null;
|
|
7182
7219
|
/**
|
|
7183
7220
|
* Balance Type
|
|
7184
7221
|
*
|
|
@@ -7493,6 +7530,29 @@ export type TransactionTemplateLeg = {
|
|
|
7493
7530
|
amount: string;
|
|
7494
7531
|
};
|
|
7495
7532
|
|
|
7533
|
+
/**
|
|
7534
|
+
* TransitionFilingStatusRequest
|
|
7535
|
+
*
|
|
7536
|
+
* Generic filing-status transition — escape hatch for non-file moves.
|
|
7537
|
+
*
|
|
7538
|
+
* Used for ``draft → under_review`` (submit for review) and
|
|
7539
|
+
* ``filed → archived`` (supersede / retire). Filing the package goes
|
|
7540
|
+
* through :class:`FileReportRequest` so ``filed_at`` / ``filed_by``
|
|
7541
|
+
* audit fields land cleanly.
|
|
7542
|
+
*/
|
|
7543
|
+
export type TransitionFilingStatusRequest = {
|
|
7544
|
+
/**
|
|
7545
|
+
* Report Id
|
|
7546
|
+
*/
|
|
7547
|
+
report_id: string;
|
|
7548
|
+
/**
|
|
7549
|
+
* Target Status
|
|
7550
|
+
*
|
|
7551
|
+
* under_review | archived
|
|
7552
|
+
*/
|
|
7553
|
+
target_status: string;
|
|
7554
|
+
};
|
|
7555
|
+
|
|
7496
7556
|
/**
|
|
7497
7557
|
* UpcomingInvoice
|
|
7498
7558
|
*
|
|
@@ -7730,7 +7790,7 @@ export type UpdateEventBlockRequest = {
|
|
|
7730
7790
|
/**
|
|
7731
7791
|
* Transition To
|
|
7732
7792
|
*
|
|
7733
|
-
* Status transition. Valid moves depend on current status: captured → committed | voided; classified → committed | pending | fulfilled | voided; committed → pending | fulfilled | voided; pending → fulfilled | voided. Terminal states (fulfilled, voided, superseded) accept no further transitions. Note: classified and fulfilled are usually set by handlers, not by callers, but the transition is allowed for corrections.
|
|
7793
|
+
* 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. Terminal states (fulfilled, voided, superseded) accept no further transitions. Note: classified and fulfilled are usually set by handlers, not by callers, but the transition is allowed for corrections.
|
|
7734
7794
|
*/
|
|
7735
7795
|
transition_to?: 'committed' | 'pending' | 'fulfilled' | 'voided' | 'superseded' | null;
|
|
7736
7796
|
/**
|
|
@@ -7755,6 +7815,18 @@ export type UpdateEventBlockRequest = {
|
|
|
7755
7815
|
metadata_patch?: {
|
|
7756
7816
|
[key: string]: unknown;
|
|
7757
7817
|
};
|
|
7818
|
+
/**
|
|
7819
|
+
* Obligated By Event Id
|
|
7820
|
+
*
|
|
7821
|
+
* Set/update the forward-materialization link.
|
|
7822
|
+
*/
|
|
7823
|
+
obligated_by_event_id?: string | null;
|
|
7824
|
+
/**
|
|
7825
|
+
* Discharges Event Id
|
|
7826
|
+
*
|
|
7827
|
+
* Set/update the settlement link.
|
|
7828
|
+
*/
|
|
7829
|
+
discharges_event_id?: string | null;
|
|
7758
7830
|
};
|
|
7759
7831
|
|
|
7760
7832
|
/**
|
|
@@ -8093,8 +8165,8 @@ export type UpdateSecurityOperation = {
|
|
|
8093
8165
|
*
|
|
8094
8166
|
* Top-level fields (name / description / version) apply to the taxonomy
|
|
8095
8167
|
* row itself. The delta lists mutate atoms incrementally — the validator
|
|
8096
|
-
*
|
|
8097
|
-
*
|
|
8168
|
+
* re-runs every create-time check across the projected post-update
|
|
8169
|
+
* state before anything commits.
|
|
8098
8170
|
*/
|
|
8099
8171
|
export type UpdateTaxonomyBlockRequest = {
|
|
8100
8172
|
/**
|
|
@@ -16307,6 +16379,134 @@ export type OpShareReportResponses = {
|
|
|
16307
16379
|
|
|
16308
16380
|
export type OpShareReportResponse = OpShareReportResponses[keyof OpShareReportResponses];
|
|
16309
16381
|
|
|
16382
|
+
export type OpFileReportData = {
|
|
16383
|
+
body: FileReportRequest;
|
|
16384
|
+
headers?: {
|
|
16385
|
+
/**
|
|
16386
|
+
* Idempotency-Key
|
|
16387
|
+
*/
|
|
16388
|
+
'Idempotency-Key'?: string | null;
|
|
16389
|
+
};
|
|
16390
|
+
path: {
|
|
16391
|
+
/**
|
|
16392
|
+
* Graph Id
|
|
16393
|
+
*/
|
|
16394
|
+
graph_id: string;
|
|
16395
|
+
};
|
|
16396
|
+
query?: never;
|
|
16397
|
+
url: '/extensions/roboledger/{graph_id}/operations/file-report';
|
|
16398
|
+
};
|
|
16399
|
+
|
|
16400
|
+
export type OpFileReportErrors = {
|
|
16401
|
+
/**
|
|
16402
|
+
* Invalid request
|
|
16403
|
+
*/
|
|
16404
|
+
400: ErrorResponse;
|
|
16405
|
+
/**
|
|
16406
|
+
* Authentication required
|
|
16407
|
+
*/
|
|
16408
|
+
401: ErrorResponse;
|
|
16409
|
+
/**
|
|
16410
|
+
* Access denied
|
|
16411
|
+
*/
|
|
16412
|
+
403: ErrorResponse;
|
|
16413
|
+
/**
|
|
16414
|
+
* Resource not found
|
|
16415
|
+
*/
|
|
16416
|
+
404: ErrorResponse;
|
|
16417
|
+
/**
|
|
16418
|
+
* Idempotency-Key conflict — key reused with different body
|
|
16419
|
+
*/
|
|
16420
|
+
409: ErrorResponse;
|
|
16421
|
+
/**
|
|
16422
|
+
* Validation Error
|
|
16423
|
+
*/
|
|
16424
|
+
422: HttpValidationError;
|
|
16425
|
+
/**
|
|
16426
|
+
* Rate limit exceeded
|
|
16427
|
+
*/
|
|
16428
|
+
429: ErrorResponse;
|
|
16429
|
+
/**
|
|
16430
|
+
* Internal server error
|
|
16431
|
+
*/
|
|
16432
|
+
500: ErrorResponse;
|
|
16433
|
+
};
|
|
16434
|
+
|
|
16435
|
+
export type OpFileReportError = OpFileReportErrors[keyof OpFileReportErrors];
|
|
16436
|
+
|
|
16437
|
+
export type OpFileReportResponses = {
|
|
16438
|
+
/**
|
|
16439
|
+
* Successful Response
|
|
16440
|
+
*/
|
|
16441
|
+
200: OperationEnvelope;
|
|
16442
|
+
};
|
|
16443
|
+
|
|
16444
|
+
export type OpFileReportResponse = OpFileReportResponses[keyof OpFileReportResponses];
|
|
16445
|
+
|
|
16446
|
+
export type OpTransitionFilingStatusData = {
|
|
16447
|
+
body: TransitionFilingStatusRequest;
|
|
16448
|
+
headers?: {
|
|
16449
|
+
/**
|
|
16450
|
+
* Idempotency-Key
|
|
16451
|
+
*/
|
|
16452
|
+
'Idempotency-Key'?: string | null;
|
|
16453
|
+
};
|
|
16454
|
+
path: {
|
|
16455
|
+
/**
|
|
16456
|
+
* Graph Id
|
|
16457
|
+
*/
|
|
16458
|
+
graph_id: string;
|
|
16459
|
+
};
|
|
16460
|
+
query?: never;
|
|
16461
|
+
url: '/extensions/roboledger/{graph_id}/operations/transition-filing-status';
|
|
16462
|
+
};
|
|
16463
|
+
|
|
16464
|
+
export type OpTransitionFilingStatusErrors = {
|
|
16465
|
+
/**
|
|
16466
|
+
* Invalid request
|
|
16467
|
+
*/
|
|
16468
|
+
400: ErrorResponse;
|
|
16469
|
+
/**
|
|
16470
|
+
* Authentication required
|
|
16471
|
+
*/
|
|
16472
|
+
401: ErrorResponse;
|
|
16473
|
+
/**
|
|
16474
|
+
* Access denied
|
|
16475
|
+
*/
|
|
16476
|
+
403: ErrorResponse;
|
|
16477
|
+
/**
|
|
16478
|
+
* Resource not found
|
|
16479
|
+
*/
|
|
16480
|
+
404: ErrorResponse;
|
|
16481
|
+
/**
|
|
16482
|
+
* Idempotency-Key conflict — key reused with different body
|
|
16483
|
+
*/
|
|
16484
|
+
409: ErrorResponse;
|
|
16485
|
+
/**
|
|
16486
|
+
* Validation Error
|
|
16487
|
+
*/
|
|
16488
|
+
422: HttpValidationError;
|
|
16489
|
+
/**
|
|
16490
|
+
* Rate limit exceeded
|
|
16491
|
+
*/
|
|
16492
|
+
429: ErrorResponse;
|
|
16493
|
+
/**
|
|
16494
|
+
* Internal server error
|
|
16495
|
+
*/
|
|
16496
|
+
500: ErrorResponse;
|
|
16497
|
+
};
|
|
16498
|
+
|
|
16499
|
+
export type OpTransitionFilingStatusError = OpTransitionFilingStatusErrors[keyof OpTransitionFilingStatusErrors];
|
|
16500
|
+
|
|
16501
|
+
export type OpTransitionFilingStatusResponses = {
|
|
16502
|
+
/**
|
|
16503
|
+
* Successful Response
|
|
16504
|
+
*/
|
|
16505
|
+
200: OperationEnvelope;
|
|
16506
|
+
};
|
|
16507
|
+
|
|
16508
|
+
export type OpTransitionFilingStatusResponse = OpTransitionFilingStatusResponses[keyof OpTransitionFilingStatusResponses];
|
|
16509
|
+
|
|
16310
16510
|
export type OpCreatePublishListData = {
|
|
16311
16511
|
body: CreatePublishListRequest;
|
|
16312
16512
|
headers?: {
|