@robosystems/client 1.4.0 → 1.4.2
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/graphql/generated/graphql.d.ts +10 -13
- package/artifacts/graphql/generated/graphql.ts +10 -13
- package/package.json +1 -1
- package/sdk/types.gen.d.ts +73 -85
- package/sdk/types.gen.ts +73 -85
- package/types.gen.d.ts +73 -85
- package/types.gen.ts +73 -85
package/types.gen.ts
CHANGED
|
@@ -1810,8 +1810,8 @@ export type ComputedMetricLite = {
|
|
|
1810
1810
|
*
|
|
1811
1811
|
* Connection (= Association) projection.
|
|
1812
1812
|
*
|
|
1813
|
-
*
|
|
1814
|
-
*
|
|
1813
|
+
* "Connection" is the ontology term used on the wire; the storage table is
|
|
1814
|
+
* ``associations`` (``models/extensions/association.py``).
|
|
1815
1815
|
*/
|
|
1816
1816
|
export type ConnectionLite = {
|
|
1817
1817
|
/**
|
|
@@ -3338,11 +3338,11 @@ export type CreditSummaryResponse = {
|
|
|
3338
3338
|
/**
|
|
3339
3339
|
* CustomSchemaDefinition
|
|
3340
3340
|
*
|
|
3341
|
-
* Custom
|
|
3341
|
+
* Custom node and relationship types for a generic graph.
|
|
3342
3342
|
*
|
|
3343
|
-
*
|
|
3344
|
-
*
|
|
3345
|
-
*
|
|
3343
|
+
* For graphs that don't fit the entity-based schema — inventory, org charts,
|
|
3344
|
+
* project management. ``extends`` names a base schema to build on, or is
|
|
3345
|
+
* omitted for a bare database.
|
|
3346
3346
|
*/
|
|
3347
3347
|
export type CustomSchemaDefinition = {
|
|
3348
3348
|
/**
|
|
@@ -3917,13 +3917,11 @@ export type DeleteReportOperation = {
|
|
|
3917
3917
|
* Shared response shape for delete / soft-delete operations.
|
|
3918
3918
|
*
|
|
3919
3919
|
* ``deleted=True`` means the operation succeeded (a row was deleted or
|
|
3920
|
-
* flipped).
|
|
3921
|
-
*
|
|
3922
|
-
* found".
|
|
3920
|
+
* flipped). A row that never existed gets a 404 — this shape never carries
|
|
3921
|
+
* "not found".
|
|
3923
3922
|
*
|
|
3924
|
-
* Defined once here
|
|
3925
|
-
*
|
|
3926
|
-
* separate ``DeleteResult`` classes before consolidation).
|
|
3923
|
+
* Defined once here, and used by both roboledger and roboinvestor, so the
|
|
3924
|
+
* OpenAPI components key resolves to a single schema.
|
|
3927
3925
|
*/
|
|
3928
3926
|
export type DeleteResult = {
|
|
3929
3927
|
/**
|
|
@@ -4736,10 +4734,7 @@ export type EntryTemplateRequest = {
|
|
|
4736
4734
|
/**
|
|
4737
4735
|
* ErrorResponse
|
|
4738
4736
|
*
|
|
4739
|
-
*
|
|
4740
|
-
*
|
|
4741
|
-
* This model ensures consistent error responses for SDK generation
|
|
4742
|
-
* and client error handling.
|
|
4737
|
+
* Error body returned by every endpoint.
|
|
4743
4738
|
*/
|
|
4744
4739
|
export type ErrorResponse = {
|
|
4745
4740
|
/**
|
|
@@ -5327,10 +5322,8 @@ export type FactRecord = {
|
|
|
5327
5322
|
*
|
|
5328
5323
|
* FactSet projection — period-specific instantiation of the Structure.
|
|
5329
5324
|
*
|
|
5330
|
-
* The envelope carries one ``FactSetLite`` per block when a FactSet row
|
|
5331
|
-
*
|
|
5332
|
-
* stamping leave ``fact_set`` null until the expand pass starts
|
|
5333
|
-
* populating those rows.
|
|
5325
|
+
* The envelope carries one ``FactSetLite`` per block when a FactSet row exists
|
|
5326
|
+
* for the requested period, and leaves ``fact_set`` null when none does.
|
|
5334
5327
|
*/
|
|
5335
5328
|
export type FactSetLite = {
|
|
5336
5329
|
/**
|
|
@@ -5362,7 +5355,7 @@ export type FactSetLite = {
|
|
|
5362
5355
|
/**
|
|
5363
5356
|
* Report Id
|
|
5364
5357
|
*
|
|
5365
|
-
* Back-pointer to the
|
|
5358
|
+
* Back-pointer to the parent row in ``reports``. Null when the FactSet does not belong to a report package.
|
|
5366
5359
|
*/
|
|
5367
5360
|
report_id?: string | null;
|
|
5368
5361
|
/**
|
|
@@ -5374,7 +5367,7 @@ export type FactSetLite = {
|
|
|
5374
5367
|
/**
|
|
5375
5368
|
* Provenance
|
|
5376
5369
|
*
|
|
5377
|
-
* Typed ``FactProvenance`` descriptor (discriminated on ``origin``: pivot | schedule | derived | asserted) recording how this FactSet's facts were constructed. Surfaced as JSON, mirroring how mechanics is exposed. Null
|
|
5370
|
+
* Typed ``FactProvenance`` descriptor (discriminated on ``origin``: pivot | schedule | derived | asserted) recording how this FactSet's facts were constructed. Surfaced as JSON, mirroring how mechanics is exposed. Null when the FactSet carries no descriptor.
|
|
5378
5371
|
*/
|
|
5379
5372
|
provenance?: {
|
|
5380
5373
|
[key: string]: unknown;
|
|
@@ -5744,7 +5737,7 @@ export type FiscalPeriodSummary = {
|
|
|
5744
5737
|
/**
|
|
5745
5738
|
* ForecastMechanics
|
|
5746
5739
|
*
|
|
5747
|
-
* Authored scenario container for ``block_type='forecast'
|
|
5740
|
+
* Authored scenario container for ``block_type='forecast'``.
|
|
5748
5741
|
*
|
|
5749
5742
|
* The block IS the scenario: its structure id is the ``scenario_id``
|
|
5750
5743
|
* every derived forward FactSet carries (NULL = actuals). The authored
|
|
@@ -6076,7 +6069,7 @@ export type GraphInfo = {
|
|
|
6076
6069
|
/**
|
|
6077
6070
|
* GraphLimitsResponse
|
|
6078
6071
|
*
|
|
6079
|
-
*
|
|
6072
|
+
* Every operational limit that applies to a graph, and its usage.
|
|
6080
6073
|
*/
|
|
6081
6074
|
export type GraphLimitsResponse = {
|
|
6082
6075
|
/**
|
|
@@ -7179,8 +7172,7 @@ export type InitializeLedgerResponse = {
|
|
|
7179
7172
|
*
|
|
7180
7173
|
* Aggregate storage usage across the dedicated instance.
|
|
7181
7174
|
*
|
|
7182
|
-
* Covers the parent graph, all subgraphs, DuckDB staging, and
|
|
7183
|
-
* future LanceDB vector indexes.
|
|
7175
|
+
* Covers the parent graph, all subgraphs, DuckDB staging, and vector indexes.
|
|
7184
7176
|
*/
|
|
7185
7177
|
export type InstanceUsage = {
|
|
7186
7178
|
/**
|
|
@@ -7204,7 +7196,7 @@ export type InstanceUsage = {
|
|
|
7204
7196
|
/**
|
|
7205
7197
|
* Usage Percentage
|
|
7206
7198
|
*
|
|
7207
|
-
* Storage usage as percentage of limit (e.g. 105.2)
|
|
7199
|
+
* Storage usage as percentage of limit (e.g. 105.2). Derived from the enforced figure — durable bytes only, excluding `transient` build artifacts — so it can read lower than total_storage_gb/limit_gb while a blue-green rebuild is in flight.
|
|
7208
7200
|
*/
|
|
7209
7201
|
usage_percentage?: number | null;
|
|
7210
7202
|
/**
|
|
@@ -7222,7 +7214,7 @@ export type InstanceUsage = {
|
|
|
7222
7214
|
/**
|
|
7223
7215
|
* Items
|
|
7224
7216
|
*
|
|
7225
|
-
* Itemized storage by type — graph, memory, subgraph, vectors, staging. Sums to total_storage_gb.
|
|
7217
|
+
* Itemized storage by type — graph, memory, subgraph, vectors, staging, transient, orphan. Sums to total_storage_gb. Only `subgraph` items correspond to live subgraphs, so this is the type to sum when reconciling against the subgraph list.
|
|
7226
7218
|
*/
|
|
7227
7219
|
items?: Array<StorageItem>;
|
|
7228
7220
|
};
|
|
@@ -8099,10 +8091,9 @@ export type LineGrowthRequest = {
|
|
|
8099
8091
|
* FK; matched lines aggregate signed into the attributed fact for the
|
|
8100
8092
|
* period.
|
|
8101
8093
|
*
|
|
8102
|
-
* ``field`` is
|
|
8103
|
-
* ``
|
|
8104
|
-
*
|
|
8105
|
-
* longer reads it.
|
|
8094
|
+
* ``field`` is accepted but ignored: the flow tag lives in the typed
|
|
8095
|
+
* ``flow_element_id`` FK, not in JSONB metadata. It stays on the wire so
|
|
8096
|
+
* existing request bodies keep validating.
|
|
8106
8097
|
*/
|
|
8107
8098
|
export type LineItemMetadataPredicate = {
|
|
8108
8099
|
/**
|
|
@@ -8114,7 +8105,7 @@ export type LineItemMetadataPredicate = {
|
|
|
8114
8105
|
/**
|
|
8115
8106
|
* Field
|
|
8116
8107
|
*
|
|
8117
|
-
*
|
|
8108
|
+
* Accepted but ignored. The flow tag lives in the typed ``flow_element_id`` FK, not JSONB metadata. Retained for wire-compatibility.
|
|
8118
8109
|
*/
|
|
8119
8110
|
field?: string;
|
|
8120
8111
|
/**
|
|
@@ -8208,6 +8199,12 @@ export type ListSubgraphsResponse = {
|
|
|
8208
8199
|
* Maximum allowed subgraphs for this tier (None = unlimited)
|
|
8209
8200
|
*/
|
|
8210
8201
|
max_subgraphs?: number | null;
|
|
8202
|
+
/**
|
|
8203
|
+
* Total Size Bytes
|
|
8204
|
+
*
|
|
8205
|
+
* Combined on-disk footprint of all subgraphs in bytes
|
|
8206
|
+
*/
|
|
8207
|
+
total_size_bytes?: number | null;
|
|
8211
8208
|
/**
|
|
8212
8209
|
* Total Size Mb
|
|
8213
8210
|
*
|
|
@@ -8866,36 +8863,20 @@ export type OperationCosts = {
|
|
|
8866
8863
|
*
|
|
8867
8864
|
* Uniform response shape for every operation endpoint.
|
|
8868
8865
|
*
|
|
8869
|
-
* Every dispatch
|
|
8870
|
-
*
|
|
8871
|
-
* monitoring surface: pass it to
|
|
8866
|
+
* Every dispatch carries an ``op_<ULID>`` operation_id, which is the bridge
|
|
8867
|
+
* to the monitoring surface: pass it to
|
|
8872
8868
|
* ``GET /v1/operations/{operation_id}/stream`` (see ``routers/operations.py``)
|
|
8873
|
-
* to subscribe to SSE progress events.
|
|
8874
|
-
*
|
|
8875
|
-
* off to a background worker and stream
|
|
8876
|
-
*
|
|
8869
|
+
* to subscribe to SSE progress events. Sync commands complete in the envelope
|
|
8870
|
+
* itself (``status: "completed"``, HTTP 200); async commands
|
|
8871
|
+
* (``status: "pending"``, HTTP 202) hand off to a background worker and stream
|
|
8872
|
+
* their tail through that SSE endpoint. Failed dispatches still mint an
|
|
8877
8873
|
* ``operation_id`` so the audit log and any partial SSE events stay
|
|
8878
8874
|
* correlatable.
|
|
8879
8875
|
*
|
|
8880
|
-
* ``TResult`` parameterizes
|
|
8881
|
-
*
|
|
8882
|
-
* ``OperationEnvelope[YourEnvelope]`` as their response model;
|
|
8883
|
-
*
|
|
8884
|
-
*
|
|
8885
|
-
* Fields:
|
|
8886
|
-
* - ``operation``: kebab-case command name (e.g. ``close-period``)
|
|
8887
|
-
* - ``operation_id``: ``op_``-prefixed ULID; always present, usable for
|
|
8888
|
-
* audit correlation and — for async commands — SSE subscription via
|
|
8889
|
-
* ``/v1/operations/{operation_id}/stream``
|
|
8890
|
-
* - ``status``: ``"completed"`` (sync, HTTP 200), ``"pending"``
|
|
8891
|
-
* (async, HTTP 202), or ``"failed"`` (error responses)
|
|
8892
|
-
* - ``result``: the domain-specific payload (the original Pydantic
|
|
8893
|
-
* response) or ``None`` for async/failed cases
|
|
8894
|
-
* - ``at``: ISO-8601 UTC timestamp of when the envelope was minted
|
|
8895
|
-
* - ``created_by``: user ID of the caller who initiated this operation
|
|
8896
|
-
* - ``idempotent_replay``: ``True`` when the dispatcher returned this
|
|
8897
|
-
* envelope from the idempotency cache (the underlying command did NOT
|
|
8898
|
-
* execute again)
|
|
8876
|
+
* ``TResult`` parameterizes ``result`` so per-op response shapes surface in
|
|
8877
|
+
* OpenAPI. Operations that pin ``OperationSpec.result_type`` get
|
|
8878
|
+
* ``OperationEnvelope[YourEnvelope]`` as their response model; the rest keep
|
|
8879
|
+
* the default ``Any`` shape (``result: any | null`` on the wire).
|
|
8899
8880
|
*/
|
|
8900
8881
|
export type OperationEnvelope = {
|
|
8901
8882
|
/**
|
|
@@ -12375,11 +12356,10 @@ export type RenderingPeriodLite = {
|
|
|
12375
12356
|
*
|
|
12376
12357
|
* One row of a server-side rendered statement.
|
|
12377
12358
|
*
|
|
12378
|
-
* Mirrors :class:`FactRow`
|
|
12379
|
-
* :mod:`robosystems.operations.roboledger.reports.fact_grid
|
|
12380
|
-
*
|
|
12381
|
-
*
|
|
12382
|
-
* :class:`RenderingLite.periods`.
|
|
12359
|
+
* Mirrors :class:`FactRow` in
|
|
12360
|
+
* :mod:`robosystems.operations.roboledger.reports.fact_grid`, restated at the
|
|
12361
|
+
* API boundary so envelope consumers don't depend on that module. ``values``
|
|
12362
|
+
* holds one entry per period column in :class:`RenderingLite.periods`.
|
|
12383
12363
|
*/
|
|
12384
12364
|
export type RenderingRowLite = {
|
|
12385
12365
|
/**
|
|
@@ -13113,12 +13093,10 @@ export type ScheduleCreatedResponse = {
|
|
|
13113
13093
|
*
|
|
13114
13094
|
* Closing-entry generator mechanics for ``block_type='schedule'``.
|
|
13115
13095
|
*
|
|
13116
|
-
* Reads
|
|
13117
|
-
*
|
|
13118
|
-
*
|
|
13119
|
-
*
|
|
13120
|
-
* ``structures.metadata_`` for legacy Schedule rows that the tenant
|
|
13121
|
-
* backfill hasn't yet migrated to the typed column.
|
|
13096
|
+
* Reads the typed ``structures.artifact_mechanics`` JSONB column, falling back
|
|
13097
|
+
* to ``structures.metadata_`` for Schedule rows that lack it.
|
|
13098
|
+
* ``entry_template`` and ``schedule_metadata`` reuse the wire-level request
|
|
13099
|
+
* shapes so OpenAPI emits one canonical type per concept.
|
|
13122
13100
|
*/
|
|
13123
13101
|
export type ScheduleMechanics = {
|
|
13124
13102
|
/**
|
|
@@ -14020,7 +13998,7 @@ export type StorageItem = {
|
|
|
14020
13998
|
/**
|
|
14021
13999
|
* Type
|
|
14022
14000
|
*
|
|
14023
|
-
* One of: graph, memory, subgraph, vectors, staging
|
|
14001
|
+
* One of: graph, memory, subgraph, vectors, staging, transient (blue-green build artifact), orphan (a `{parent}_*` database, vector index, or staging file with no row in the graph registry — leftover of a deleted subgraph). Transient and orphan items are collected by the platform's daily storage-reclaim job.
|
|
14024
14002
|
*/
|
|
14025
14003
|
type: string;
|
|
14026
14004
|
/**
|
|
@@ -14278,6 +14256,12 @@ export type SubgraphResponse = {
|
|
|
14278
14256
|
* When the subgraph was last updated
|
|
14279
14257
|
*/
|
|
14280
14258
|
updated_at: string;
|
|
14259
|
+
/**
|
|
14260
|
+
* Size Bytes
|
|
14261
|
+
*
|
|
14262
|
+
* On-disk footprint in bytes — the database, its write-ahead log, and its vector index. Prefer this over size_mb at subgraph scale.
|
|
14263
|
+
*/
|
|
14264
|
+
size_bytes?: number | null;
|
|
14281
14265
|
/**
|
|
14282
14266
|
* Size Mb
|
|
14283
14267
|
*
|
|
@@ -14346,10 +14330,16 @@ export type SubgraphSummary = {
|
|
|
14346
14330
|
* Current status
|
|
14347
14331
|
*/
|
|
14348
14332
|
status: string;
|
|
14333
|
+
/**
|
|
14334
|
+
* Size Bytes
|
|
14335
|
+
*
|
|
14336
|
+
* On-disk footprint in bytes — the database, its write-ahead log, and its vector index. Prefer this over size_mb at subgraph scale.
|
|
14337
|
+
*/
|
|
14338
|
+
size_bytes?: number | null;
|
|
14349
14339
|
/**
|
|
14350
14340
|
* Size Mb
|
|
14351
14341
|
*
|
|
14352
|
-
*
|
|
14342
|
+
* Same footprint in megabytes. Derived from size_bytes; kept for callers that render MB directly.
|
|
14353
14343
|
*/
|
|
14354
14344
|
size_mb?: number | null;
|
|
14355
14345
|
/**
|
|
@@ -15898,18 +15888,16 @@ export type UpdatePublishListOperation = {
|
|
|
15898
15888
|
* Update mutable fields on a rollforward block.
|
|
15899
15889
|
*
|
|
15900
15890
|
* Editable: name, default_change_tag_qname, attribution_filters,
|
|
15901
|
-
* validation_mode. The BS source is fixed
|
|
15902
|
-
*
|
|
15903
|
-
*
|
|
15904
|
-
*
|
|
15905
|
-
* **Partial-update semantics**: omitted (``None``)
|
|
15906
|
-
* unchanged"
|
|
15907
|
-
*
|
|
15908
|
-
*
|
|
15909
|
-
*
|
|
15910
|
-
*
|
|
15911
|
-
* arises in practice (default tags are typically set during initial
|
|
15912
|
-
* authoring and only swapped, not removed).
|
|
15891
|
+
* validation_mode. The BS source is fixed at creation — changing it would
|
|
15892
|
+
* invalidate every period already rendered — so switching BS source means
|
|
15893
|
+
* delete and re-create.
|
|
15894
|
+
*
|
|
15895
|
+
* **Partial-update semantics**: an omitted (``None``) field means "leave
|
|
15896
|
+
* unchanged". There is no wire-level way to *clear* the default change tag or
|
|
15897
|
+
* empty the attribution_filters list; delete and re-create the block instead.
|
|
15898
|
+
* The asymmetry is deliberate — a clear-sentinel costs wire-shape complexity
|
|
15899
|
+
* for a case that rarely arises, since default tags get swapped rather than
|
|
15900
|
+
* removed.
|
|
15913
15901
|
*/
|
|
15914
15902
|
export type UpdateRollforwardRequest = {
|
|
15915
15903
|
/**
|
|
@@ -15925,7 +15913,7 @@ export type UpdateRollforwardRequest = {
|
|
|
15925
15913
|
/**
|
|
15926
15914
|
* Default Change Tag Qname
|
|
15927
15915
|
*
|
|
15928
|
-
* New default change tag qname. Pass a value to *change* the default; omit (``None``) to leave unchanged. There is no wire-level way to clear
|
|
15916
|
+
* New default change tag qname. Pass a value to *change* the default; omit (``None``) to leave unchanged. There is no wire-level way to clear the default — see the class docstring.
|
|
15929
15917
|
*/
|
|
15930
15918
|
default_change_tag_qname?: string | null;
|
|
15931
15919
|
/**
|