@robosystems/client 0.5.7 → 0.5.9
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 +7 -0
- package/artifacts/LedgerClient.js +11 -1
- package/artifacts/LedgerClient.ts +12 -2
- package/artifacts/graphql/generated/graphql.d.ts +9 -0
- package/artifacts/graphql/generated/graphql.js +20 -0
- package/artifacts/graphql/generated/graphql.ts +29 -3
- package/artifacts/graphql/queries/ledger/informationBlock.js +4 -2
- package/artifacts/graphql/queries/ledger/informationBlock.ts +4 -2
- package/artifacts/graphql/queries/ledger/reportPackage.js +1 -0
- package/artifacts/graphql/queries/ledger/reportPackage.ts +1 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +5 -4
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +11 -3
- package/sdk/sdk.gen.js +20 -3
- package/sdk/sdk.gen.ts +20 -3
- package/sdk/types.gen.d.ts +428 -12
- package/sdk/types.gen.ts +439 -12
- package/sdk.gen.d.ts +11 -3
- package/sdk.gen.js +20 -3
- package/sdk.gen.ts +20 -3
- package/types.gen.d.ts +428 -12
- package/types.gen.ts +439 -12
package/types.gen.d.ts
CHANGED
|
@@ -364,6 +364,126 @@ export type AvailableGraphTiersResponse = {
|
|
|
364
364
|
*/
|
|
365
365
|
tiers: Array<GraphTierInfo>;
|
|
366
366
|
};
|
|
367
|
+
/**
|
|
368
|
+
* BackfillPeriodOutcome
|
|
369
|
+
*
|
|
370
|
+
* Per-month result of a plan-history backfill pass.
|
|
371
|
+
*/
|
|
372
|
+
export type BackfillPeriodOutcome = {
|
|
373
|
+
/**
|
|
374
|
+
* Period
|
|
375
|
+
*
|
|
376
|
+
* The month, in YYYY-MM
|
|
377
|
+
*/
|
|
378
|
+
period: string;
|
|
379
|
+
/**
|
|
380
|
+
* Status
|
|
381
|
+
*
|
|
382
|
+
* stamped: reopen → reclose completed. skipped_drafts: the month holds draft entries the backfill refuses to post — review via list-period-drafts, then close-period or re-run. failed: the reclose raised; processing halted (see detail).
|
|
383
|
+
*/
|
|
384
|
+
status: string;
|
|
385
|
+
/**
|
|
386
|
+
* Statements Stamped
|
|
387
|
+
*
|
|
388
|
+
* Whether the reclose stamped canonical statement FactSets. False with a statement_stamp_note soft-skip when reporting isn't set up.
|
|
389
|
+
*/
|
|
390
|
+
statements_stamped?: boolean;
|
|
391
|
+
/**
|
|
392
|
+
* Statement Stamp Note
|
|
393
|
+
*
|
|
394
|
+
* Soft-skip reason when statements_stamped is false
|
|
395
|
+
*/
|
|
396
|
+
statement_stamp_note?: string | null;
|
|
397
|
+
/**
|
|
398
|
+
* Statement Rule Summary
|
|
399
|
+
*
|
|
400
|
+
* Statement-rule verification tally for the month's stamped sets (pass/fail/error/skipped); None when no rules ran.
|
|
401
|
+
*/
|
|
402
|
+
statement_rule_summary?: {
|
|
403
|
+
[key: string]: number;
|
|
404
|
+
} | null;
|
|
405
|
+
/**
|
|
406
|
+
* Detail
|
|
407
|
+
*
|
|
408
|
+
* Human-readable detail for skipped/failed months
|
|
409
|
+
*/
|
|
410
|
+
detail?: string | null;
|
|
411
|
+
};
|
|
412
|
+
/**
|
|
413
|
+
* BackfillPlanHistoryOperation
|
|
414
|
+
*
|
|
415
|
+
* Compile monthly statement history behind the close boundary.
|
|
416
|
+
*/
|
|
417
|
+
export type BackfillPlanHistoryOperation = {
|
|
418
|
+
/**
|
|
419
|
+
* Start Period
|
|
420
|
+
*
|
|
421
|
+
* YYYY-MM period to backfill from. Clamped to the earliest month with ledger data; defaults to that month when omitted. Must be on or before `closed_through`.
|
|
422
|
+
*/
|
|
423
|
+
start_period?: string | null;
|
|
424
|
+
/**
|
|
425
|
+
* Max Periods
|
|
426
|
+
*
|
|
427
|
+
* Maximum months to restamp in this call. Each month runs a full reopen → reclose cycle; keep chunks modest and loop on `remaining_periods`.
|
|
428
|
+
*/
|
|
429
|
+
max_periods?: number;
|
|
430
|
+
/**
|
|
431
|
+
* Allow Stale Sync
|
|
432
|
+
*
|
|
433
|
+
* Override the sync-currency gate on each reclose. Historical months predate the last sync in the normal case, so this is rarely needed.
|
|
434
|
+
*/
|
|
435
|
+
allow_stale_sync?: boolean;
|
|
436
|
+
/**
|
|
437
|
+
* Note
|
|
438
|
+
*
|
|
439
|
+
* Free-form note attached to each close audit event
|
|
440
|
+
*/
|
|
441
|
+
note?: string | null;
|
|
442
|
+
};
|
|
443
|
+
/**
|
|
444
|
+
* BackfillPlanHistoryResponse
|
|
445
|
+
*
|
|
446
|
+
* Response from one chunked plan-history backfill call.
|
|
447
|
+
*/
|
|
448
|
+
export type BackfillPlanHistoryResponse = {
|
|
449
|
+
fiscal_calendar: FiscalCalendarResponse;
|
|
450
|
+
/**
|
|
451
|
+
* Earliest Available Period
|
|
452
|
+
*
|
|
453
|
+
* First month with ledger data — the hard floor for backfill
|
|
454
|
+
*/
|
|
455
|
+
earliest_available_period: string;
|
|
456
|
+
/**
|
|
457
|
+
* Effective Start Period
|
|
458
|
+
*
|
|
459
|
+
* The start actually used after clamping to earliest_available_period
|
|
460
|
+
*/
|
|
461
|
+
effective_start_period: string;
|
|
462
|
+
/**
|
|
463
|
+
* Closed Through
|
|
464
|
+
*
|
|
465
|
+
* The close boundary the backfill runs up to (inclusive)
|
|
466
|
+
*/
|
|
467
|
+
closed_through: string;
|
|
468
|
+
/**
|
|
469
|
+
* Period Rows Created
|
|
470
|
+
*
|
|
471
|
+
* FiscalPeriod rows seeded (baseline-closed) for months the calendar didn't cover yet
|
|
472
|
+
*/
|
|
473
|
+
period_rows_created?: number;
|
|
474
|
+
/**
|
|
475
|
+
* Processed
|
|
476
|
+
*
|
|
477
|
+
* Months this call attempted, oldest first
|
|
478
|
+
*/
|
|
479
|
+
processed?: Array<BackfillPeriodOutcome>;
|
|
480
|
+
/**
|
|
481
|
+
* Remaining Periods
|
|
482
|
+
*
|
|
483
|
+
* Months still lacking canonical statement sets that this call did not attempt (beyond max_periods, or after a failure halt). Loop until empty.
|
|
484
|
+
*/
|
|
485
|
+
remaining_periods?: Array<string>;
|
|
486
|
+
};
|
|
367
487
|
/**
|
|
368
488
|
* BackupCreateRequest
|
|
369
489
|
*
|
|
@@ -1193,6 +1313,34 @@ export type ClosePeriodResponse = {
|
|
|
1193
1313
|
* ids of schedule Structures whose rules were evaluated during the close. Pairs with rule_summary.
|
|
1194
1314
|
*/
|
|
1195
1315
|
evaluated_structure_ids?: Array<string>;
|
|
1316
|
+
/**
|
|
1317
|
+
* Statements Stamped
|
|
1318
|
+
*
|
|
1319
|
+
* Whether the close stamped the period's canonical statement FactSets (the close-time pivot). False when the tenant hasn't set up reporting yet — see statement_stamp_note.
|
|
1320
|
+
*/
|
|
1321
|
+
statements_stamped?: boolean;
|
|
1322
|
+
/**
|
|
1323
|
+
* Statement Stamp Note
|
|
1324
|
+
*
|
|
1325
|
+
* Soft-skip reason when statements_stamped is false: no_coa_mapping | no_entity | no_statement_structures | no_taxonomy.
|
|
1326
|
+
*/
|
|
1327
|
+
statement_stamp_note?: string | null;
|
|
1328
|
+
/**
|
|
1329
|
+
* Stamped Statement Sets
|
|
1330
|
+
*
|
|
1331
|
+
* structure_id -> fact_set_id for every canonical statement FactSet minted by this close (report_id NULL; replaced on reclose).
|
|
1332
|
+
*/
|
|
1333
|
+
stamped_statement_sets?: {
|
|
1334
|
+
[key: string]: string;
|
|
1335
|
+
};
|
|
1336
|
+
/**
|
|
1337
|
+
* Statement Rule Summary
|
|
1338
|
+
*
|
|
1339
|
+
* Aggregated statement-rule verification outcome across the stamped structures — keys: pass/fail/error/skipped. None when no statement rules exist. Distinct from rule_summary (the schedule-rule pass).
|
|
1340
|
+
*/
|
|
1341
|
+
statement_rule_summary?: {
|
|
1342
|
+
[key: string]: number;
|
|
1343
|
+
} | null;
|
|
1196
1344
|
};
|
|
1197
1345
|
/**
|
|
1198
1346
|
* ComputeForecastRequest
|
|
@@ -1268,6 +1416,12 @@ export type ComputeForecastResponse = {
|
|
|
1268
1416
|
* Skipped
|
|
1269
1417
|
*/
|
|
1270
1418
|
skipped?: Array<SkippedForecastLite>;
|
|
1419
|
+
/**
|
|
1420
|
+
* Diagnostics
|
|
1421
|
+
*
|
|
1422
|
+
* Articulation notes — a missing cash/earnings anchor, schedule contributions with no base-set landing spot, an absent cash-flow structure. Informational; the walk still computed.
|
|
1423
|
+
*/
|
|
1424
|
+
diagnostics?: Array<string>;
|
|
1271
1425
|
};
|
|
1272
1426
|
/**
|
|
1273
1427
|
* ComputeMetricsRequest
|
|
@@ -2137,6 +2291,12 @@ export type CreateForecastRequest = {
|
|
|
2137
2291
|
* Lever assertions — at least one.
|
|
2138
2292
|
*/
|
|
2139
2293
|
levers: Array<LeverAssertionRequest>;
|
|
2294
|
+
/**
|
|
2295
|
+
* Line Assertions
|
|
2296
|
+
*
|
|
2297
|
+
* Direct statement-line assertions (manual overrides). Each names a calc-DAG leaf and wins over driver rules and carry-forward for the months it asserts.
|
|
2298
|
+
*/
|
|
2299
|
+
line_assertions?: Array<LineAssertionRequest>;
|
|
2140
2300
|
/**
|
|
2141
2301
|
* Entity Id
|
|
2142
2302
|
*
|
|
@@ -3868,6 +4028,12 @@ export type ElementLite = {
|
|
|
3868
4028
|
* Value-domain vocabulary (monetary | ratio | percent | multiple | days | string | …). None means untyped; fall back to is_monetary.
|
|
3869
4029
|
*/
|
|
3870
4030
|
item_type?: string | null;
|
|
4031
|
+
/**
|
|
4032
|
+
* Documentation
|
|
4033
|
+
*
|
|
4034
|
+
* The element's documentation-role label — the catalog's authoritative value semantics (e.g. whether a percent driver is a growth rate or a rate-on-base fraction). None when the element carries no documentation label.
|
|
4035
|
+
*/
|
|
4036
|
+
documentation?: string | null;
|
|
3871
4037
|
};
|
|
3872
4038
|
/**
|
|
3873
4039
|
* ElementUpdatePatch
|
|
@@ -4997,6 +5163,12 @@ export type ForecastMechanics = {
|
|
|
4997
5163
|
* Expanded lever assertions (authoring order).
|
|
4998
5164
|
*/
|
|
4999
5165
|
levers: Array<LeverAssertionLite>;
|
|
5166
|
+
/**
|
|
5167
|
+
* Line Assertions
|
|
5168
|
+
*
|
|
5169
|
+
* Direct statement-line assertions (authoring order) — manual overrides that win over driver rules and carry-forward for the months they name.
|
|
5170
|
+
*/
|
|
5171
|
+
line_assertions?: Array<LineAssertionLite>;
|
|
5000
5172
|
/**
|
|
5001
5173
|
* Computed Months
|
|
5002
5174
|
*
|
|
@@ -5033,15 +5205,33 @@ export type ForecastMonthLite = {
|
|
|
5033
5205
|
/**
|
|
5034
5206
|
* Balance Sheet Fact Set Id
|
|
5035
5207
|
*
|
|
5036
|
-
* Scenario BS FactSet upserted for the month
|
|
5208
|
+
* Scenario BS FactSet upserted for the month — the full roll: carry-forward, rule-driven working capital, schedule movements, RE roll, balancing cash (A = L + E by construction).
|
|
5037
5209
|
*/
|
|
5038
5210
|
balance_sheet_fact_set_id?: string | null;
|
|
5211
|
+
/**
|
|
5212
|
+
* Cash Flow Fact Set Id
|
|
5213
|
+
*
|
|
5214
|
+
* Scenario CF FactSet upserted for the month — indirect-method, derived from BS deltas + NI, reconciled to the balancing ΔCash.
|
|
5215
|
+
*/
|
|
5216
|
+
cash_flow_fact_set_id?: string | null;
|
|
5039
5217
|
/**
|
|
5040
5218
|
* Computed Count
|
|
5041
5219
|
*
|
|
5042
|
-
* Number of facts emitted for the month across
|
|
5220
|
+
* Number of facts emitted for the month across all sets.
|
|
5043
5221
|
*/
|
|
5044
5222
|
computed_count?: number;
|
|
5223
|
+
/**
|
|
5224
|
+
* Verification Passed
|
|
5225
|
+
*
|
|
5226
|
+
* Whether every rule evaluated against the month's scenario sets passed (None = no rules ran for the month).
|
|
5227
|
+
*/
|
|
5228
|
+
verification_passed?: boolean | null;
|
|
5229
|
+
/**
|
|
5230
|
+
* Verification Failures
|
|
5231
|
+
*
|
|
5232
|
+
* Failed/errored rule messages for the month (capped).
|
|
5233
|
+
*/
|
|
5234
|
+
verification_failures?: Array<string>;
|
|
5045
5235
|
};
|
|
5046
5236
|
/**
|
|
5047
5237
|
* ForgetOp
|
|
@@ -6900,13 +7090,21 @@ export type LeverAssertionLite = {
|
|
|
6900
7090
|
* One lever's asserted values for the scenario.
|
|
6901
7091
|
*
|
|
6902
7092
|
* ``qname`` must resolve to an ``rs-driver:*`` catalog element (the
|
|
6903
|
-
* create handler rejects anything else).
|
|
6904
|
-
*
|
|
6905
|
-
*
|
|
7093
|
+
* create handler rejects anything else). Each lever's value semantics
|
|
7094
|
+
* are defined by its catalog element's documentation — surfaced as
|
|
7095
|
+
* ``documentation`` on the elements bundled in the forecast block's
|
|
7096
|
+
* envelope (``get-information-block``). Percent levers are decimals but
|
|
7097
|
+
* their *meaning* varies by lever: growth levers are month-over-month
|
|
7098
|
+
* rates (``RevenueGrowthRate`` 0.03 = +3%/month, compounding), while
|
|
7099
|
+
* rate-on-base levers are fractions of the same month's base
|
|
7100
|
+
* (``CostOfRevenueRate`` 0.62 = cost of revenue at 62% of that month's
|
|
7101
|
+
* revenues — not a growth rate). Days levers (``DaysSalesOutstanding``,
|
|
7102
|
+
* ``DaysPayableOutstanding``) are day counts.
|
|
6906
7103
|
*
|
|
6907
7104
|
* ``value`` is a uniform fill across the whole horizon;
|
|
6908
7105
|
* ``values_by_period`` overrides individual months (``"YYYY-MM"``
|
|
6909
|
-
* keys)
|
|
7106
|
+
* keys) — e.g. a margin-compression ramp asserts a different rate each
|
|
7107
|
+
* month. At least one of the two must be provided. Months covered by
|
|
6910
7108
|
* neither carry no assertion — the lever's rule is inactive for that
|
|
6911
7109
|
* month and its target falls to the engine's carry-forward default.
|
|
6912
7110
|
*/
|
|
@@ -6932,6 +7130,106 @@ export type LeverAssertionRequest = {
|
|
|
6932
7130
|
[key: string]: number;
|
|
6933
7131
|
} | null;
|
|
6934
7132
|
};
|
|
7133
|
+
/**
|
|
7134
|
+
* LineAssertionLite
|
|
7135
|
+
*
|
|
7136
|
+
* One statement line's persisted direct assertion inside
|
|
7137
|
+
* ``ForecastMechanics``.
|
|
7138
|
+
*
|
|
7139
|
+
* The manual-override sibling of :class:`LeverAssertionLite`: a lever
|
|
7140
|
+
* asserts a *driver* whose rule derives a line; a line assertion pins
|
|
7141
|
+
* the **line itself** (a calc-DAG leaf) to typed values for the months
|
|
7142
|
+
* it names — winning over driver rules and carry-forward for exactly
|
|
7143
|
+
* those months (a displaced rule surfaces in the compute response's
|
|
7144
|
+
* ``skipped`` list). Subtotals stay calc-DAG-derived, so a manual line
|
|
7145
|
+
* still articulates through RollUps, RE, balancing cash, and derived
|
|
7146
|
+
* CF, and stays verification-gated.
|
|
7147
|
+
*
|
|
7148
|
+
* Same persistence doctrine as levers: values are duplicated as
|
|
7149
|
+
* authored facts in the scenario's lever FactSet (facts are what
|
|
7150
|
+
* ``compute-forecast`` binds); this mechanics copy is the
|
|
7151
|
+
* operator-legible round-trip shape.
|
|
7152
|
+
*/
|
|
7153
|
+
export type LineAssertionLite = {
|
|
7154
|
+
/**
|
|
7155
|
+
* Qname
|
|
7156
|
+
*
|
|
7157
|
+
* Asserted statement-leaf qname.
|
|
7158
|
+
*/
|
|
7159
|
+
qname: string;
|
|
7160
|
+
/**
|
|
7161
|
+
* Element Id
|
|
7162
|
+
*
|
|
7163
|
+
* Resolved tenant element id.
|
|
7164
|
+
*/
|
|
7165
|
+
element_id: string;
|
|
7166
|
+
/**
|
|
7167
|
+
* Item Type
|
|
7168
|
+
*
|
|
7169
|
+
* Format family from the element (monetary | ...).
|
|
7170
|
+
*/
|
|
7171
|
+
item_type?: string | null;
|
|
7172
|
+
/**
|
|
7173
|
+
* Period Type
|
|
7174
|
+
*
|
|
7175
|
+
* The element's period type — duration assertions pin IS lines; instant assertions pin BS lines through the roll.
|
|
7176
|
+
*/
|
|
7177
|
+
period_type?: string;
|
|
7178
|
+
/**
|
|
7179
|
+
* Values By Period
|
|
7180
|
+
*
|
|
7181
|
+
* Expanded per-month assertions keyed by ``YYYY-MM``.
|
|
7182
|
+
*/
|
|
7183
|
+
values_by_period: {
|
|
7184
|
+
[key: string]: number;
|
|
7185
|
+
};
|
|
7186
|
+
};
|
|
7187
|
+
/**
|
|
7188
|
+
* LineAssertionRequest
|
|
7189
|
+
*
|
|
7190
|
+
* One statement line's directly asserted values for the scenario.
|
|
7191
|
+
*
|
|
7192
|
+
* The manual-override half of the authored surface: where a lever
|
|
7193
|
+
* asserts a *driver* (growth %, DSO) whose rule derives the line, a
|
|
7194
|
+
* line assertion asserts the **line itself** — an rs-gaap (or tenant
|
|
7195
|
+
* extension) statement leaf pinned to typed values for the months it
|
|
7196
|
+
* names. Assertions win over driver rules and carry-forward for those
|
|
7197
|
+
* months (a displaced rule lands in ``skipped``, legibly); months the
|
|
7198
|
+
* assertion doesn't name keep the engine's normal derivation.
|
|
7199
|
+
*
|
|
7200
|
+
* **Leaves only** — subtotals stay calc-DAG-derived, so a manually set
|
|
7201
|
+
* line still articulates through RollUps, RE, balancing cash, and the
|
|
7202
|
+
* derived CF, and stays verification-gated (the whole pitch vs a
|
|
7203
|
+
* spreadsheet cell). The create handler rejects calc-parent qnames.
|
|
7204
|
+
*
|
|
7205
|
+
* Value/period grammar is identical to levers: ``value`` is a uniform
|
|
7206
|
+
* fill across the horizon, ``values_by_period`` overrides individual
|
|
7207
|
+
* months. The canonical uses: zero out a base-month one-off so
|
|
7208
|
+
* carry-forward stops replicating it, or hold a line at a known budget
|
|
7209
|
+
* number no driver models.
|
|
7210
|
+
*/
|
|
7211
|
+
export type LineAssertionRequest = {
|
|
7212
|
+
/**
|
|
7213
|
+
* Qname
|
|
7214
|
+
*
|
|
7215
|
+
* QName of the statement leaf to assert (e.g. ``rs-gaap:NonoperatingIncomeExpense``). Must be a calc-DAG leaf; rs-driver concepts belong in ``levers``.
|
|
7216
|
+
*/
|
|
7217
|
+
qname: string;
|
|
7218
|
+
/**
|
|
7219
|
+
* Value
|
|
7220
|
+
*
|
|
7221
|
+
* Uniform value asserted for every month of the horizon.
|
|
7222
|
+
*/
|
|
7223
|
+
value?: number | null;
|
|
7224
|
+
/**
|
|
7225
|
+
* Values By Period
|
|
7226
|
+
*
|
|
7227
|
+
* Per-month overrides keyed by ``YYYY-MM``. Wins over ``value`` for the months it names.
|
|
7228
|
+
*/
|
|
7229
|
+
values_by_period?: {
|
|
7230
|
+
[key: string]: number;
|
|
7231
|
+
} | null;
|
|
7232
|
+
};
|
|
6935
7233
|
/**
|
|
6936
7234
|
* LineItemMetadataPredicate
|
|
6937
7235
|
*
|
|
@@ -7694,6 +7992,51 @@ export type OperationEnvelopeAssociationResponse = {
|
|
|
7694
7992
|
*/
|
|
7695
7993
|
idempotentReplay?: boolean;
|
|
7696
7994
|
};
|
|
7995
|
+
/**
|
|
7996
|
+
* OperationEnvelope[BackfillPlanHistoryResponse]
|
|
7997
|
+
*/
|
|
7998
|
+
export type OperationEnvelopeBackfillPlanHistoryResponse = {
|
|
7999
|
+
/**
|
|
8000
|
+
* Operation
|
|
8001
|
+
*
|
|
8002
|
+
* Kebab-case operation name
|
|
8003
|
+
*/
|
|
8004
|
+
operation: string;
|
|
8005
|
+
/**
|
|
8006
|
+
* Operationid
|
|
8007
|
+
*
|
|
8008
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
8009
|
+
*/
|
|
8010
|
+
operationId: string;
|
|
8011
|
+
/**
|
|
8012
|
+
* Status
|
|
8013
|
+
*
|
|
8014
|
+
* Operation lifecycle state
|
|
8015
|
+
*/
|
|
8016
|
+
status: 'completed' | 'pending' | 'failed';
|
|
8017
|
+
/**
|
|
8018
|
+
* Command-specific result payload
|
|
8019
|
+
*/
|
|
8020
|
+
result?: BackfillPlanHistoryResponse | null;
|
|
8021
|
+
/**
|
|
8022
|
+
* At
|
|
8023
|
+
*
|
|
8024
|
+
* ISO-8601 UTC timestamp
|
|
8025
|
+
*/
|
|
8026
|
+
at: string;
|
|
8027
|
+
/**
|
|
8028
|
+
* Createdby
|
|
8029
|
+
*
|
|
8030
|
+
* User ID that initiated the operation (null for legacy callers)
|
|
8031
|
+
*/
|
|
8032
|
+
createdBy?: string | null;
|
|
8033
|
+
/**
|
|
8034
|
+
* Idempotentreplay
|
|
8035
|
+
*
|
|
8036
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
8037
|
+
*/
|
|
8038
|
+
idempotentReplay?: boolean;
|
|
8039
|
+
};
|
|
7697
8040
|
/**
|
|
7698
8041
|
* OperationEnvelope[BindTextBlockResponse]
|
|
7699
8042
|
*/
|
|
@@ -10754,6 +11097,12 @@ export type RenderingPeriodLite = {
|
|
|
10754
11097
|
* Label
|
|
10755
11098
|
*/
|
|
10756
11099
|
label?: string | null;
|
|
11100
|
+
/**
|
|
11101
|
+
* Forecast
|
|
11102
|
+
*
|
|
11103
|
+
* True when this column comes from a forecast scenario's FactSet — the machine-readable seam marker (labels also carry a '(forecast)' suffix, but consumers should key styling off this flag, not label parsing). None/absent = an actuals column.
|
|
11104
|
+
*/
|
|
11105
|
+
forecast?: boolean | null;
|
|
10757
11106
|
};
|
|
10758
11107
|
/**
|
|
10759
11108
|
* RenderingRowLite
|
|
@@ -13886,11 +14235,13 @@ export type UpdateEventHandlerRequest = {
|
|
|
13886
14235
|
*
|
|
13887
14236
|
* Update a forecast block in place.
|
|
13888
14237
|
*
|
|
13889
|
-
* Mutable: name, scenario_kind, horizon_months, base_period, levers
|
|
13890
|
-
* ``levers``
|
|
13891
|
-
*
|
|
13892
|
-
*
|
|
13893
|
-
*
|
|
14238
|
+
* Mutable: name, scenario_kind, horizon_months, base_period, levers,
|
|
14239
|
+
* line_assertions. ``levers`` and ``line_assertions`` are each a
|
|
14240
|
+
* **full replace** when provided (partial edits would make the asserted
|
|
14241
|
+
* set ambiguous); replacing one leaves the other as stored. Updating
|
|
14242
|
+
* does NOT recompute — previously computed scenario months go stale
|
|
14243
|
+
* until the next ``compute-forecast`` run (the compute-metrics drift
|
|
14244
|
+
* semantics).
|
|
13894
14245
|
*/
|
|
13895
14246
|
export type UpdateForecastRequest = {
|
|
13896
14247
|
/**
|
|
@@ -13921,6 +14272,12 @@ export type UpdateForecastRequest = {
|
|
|
13921
14272
|
* Full replacement of the lever set when provided.
|
|
13922
14273
|
*/
|
|
13923
14274
|
levers?: Array<LeverAssertionRequest> | null;
|
|
14275
|
+
/**
|
|
14276
|
+
* Line Assertions
|
|
14277
|
+
*
|
|
14278
|
+
* Full replacement of the line-assertion set when provided. Pass an empty list to clear every assertion.
|
|
14279
|
+
*/
|
|
14280
|
+
line_assertions?: Array<LineAssertionRequest> | null;
|
|
13924
14281
|
};
|
|
13925
14282
|
/**
|
|
13926
14283
|
* UpdateInformationBlockRequest
|
|
@@ -14923,7 +15280,7 @@ export type UpdateForecastArm = {
|
|
|
14923
15280
|
*/
|
|
14924
15281
|
block_type: 'forecast';
|
|
14925
15282
|
/**
|
|
14926
|
-
* Forecast update payload.
|
|
15283
|
+
* Forecast update payload. Updating does NOT recompute — lever, horizon, or base-period changes leave the scenario's computed months stale until the next `compute-forecast` run.
|
|
14927
15284
|
*/
|
|
14928
15285
|
payload: UpdateForecastRequest;
|
|
14929
15286
|
};
|
|
@@ -22885,6 +23242,65 @@ export type ReopenPeriodResponses = {
|
|
|
22885
23242
|
200: OperationEnvelopeFiscalCalendarResponse;
|
|
22886
23243
|
};
|
|
22887
23244
|
export type ReopenPeriodResponse = ReopenPeriodResponses[keyof ReopenPeriodResponses];
|
|
23245
|
+
export type BackfillPlanHistoryData = {
|
|
23246
|
+
body: BackfillPlanHistoryOperation;
|
|
23247
|
+
headers?: {
|
|
23248
|
+
/**
|
|
23249
|
+
* Idempotency-Key
|
|
23250
|
+
*/
|
|
23251
|
+
'Idempotency-Key'?: string | null;
|
|
23252
|
+
};
|
|
23253
|
+
path: {
|
|
23254
|
+
/**
|
|
23255
|
+
* Graph Id
|
|
23256
|
+
*/
|
|
23257
|
+
graph_id: string;
|
|
23258
|
+
};
|
|
23259
|
+
query?: never;
|
|
23260
|
+
url: '/extensions/roboledger/{graph_id}/operations/backfill-plan-history';
|
|
23261
|
+
};
|
|
23262
|
+
export type BackfillPlanHistoryErrors = {
|
|
23263
|
+
/**
|
|
23264
|
+
* Invalid request
|
|
23265
|
+
*/
|
|
23266
|
+
400: ErrorResponse;
|
|
23267
|
+
/**
|
|
23268
|
+
* Authentication required
|
|
23269
|
+
*/
|
|
23270
|
+
401: ErrorResponse;
|
|
23271
|
+
/**
|
|
23272
|
+
* Access denied
|
|
23273
|
+
*/
|
|
23274
|
+
403: ErrorResponse;
|
|
23275
|
+
/**
|
|
23276
|
+
* Resource not found
|
|
23277
|
+
*/
|
|
23278
|
+
404: ErrorResponse;
|
|
23279
|
+
/**
|
|
23280
|
+
* Idempotency-Key conflict — key reused with different body
|
|
23281
|
+
*/
|
|
23282
|
+
409: ErrorResponse;
|
|
23283
|
+
/**
|
|
23284
|
+
* Validation error
|
|
23285
|
+
*/
|
|
23286
|
+
422: ErrorResponse;
|
|
23287
|
+
/**
|
|
23288
|
+
* Rate limit exceeded
|
|
23289
|
+
*/
|
|
23290
|
+
429: ErrorResponse;
|
|
23291
|
+
/**
|
|
23292
|
+
* Internal server error
|
|
23293
|
+
*/
|
|
23294
|
+
500: ErrorResponse;
|
|
23295
|
+
};
|
|
23296
|
+
export type BackfillPlanHistoryError = BackfillPlanHistoryErrors[keyof BackfillPlanHistoryErrors];
|
|
23297
|
+
export type BackfillPlanHistoryResponses = {
|
|
23298
|
+
/**
|
|
23299
|
+
* Successful Response
|
|
23300
|
+
*/
|
|
23301
|
+
200: OperationEnvelopeBackfillPlanHistoryResponse;
|
|
23302
|
+
};
|
|
23303
|
+
export type BackfillPlanHistoryResponse2 = BackfillPlanHistoryResponses[keyof BackfillPlanHistoryResponses];
|
|
22888
23304
|
export type CreateReportData = {
|
|
22889
23305
|
body: CreateReportRequest;
|
|
22890
23306
|
headers?: {
|