@robosystems/client 0.3.8 → 0.3.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 +27 -14
- package/artifacts/LedgerClient.js +59 -39
- package/artifacts/LedgerClient.ts +89 -62
- package/artifacts/graphql/generated/graphql.d.ts +256 -65
- package/artifacts/graphql/generated/graphql.js +276 -117
- package/artifacts/graphql/generated/graphql.ts +541 -186
- package/artifacts/graphql/queries/ledger/informationBlock.d.ts +15 -0
- package/artifacts/graphql/queries/ledger/informationBlock.js +125 -0
- package/artifacts/graphql/queries/ledger/informationBlock.ts +124 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +7 -6
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +23 -15
- package/sdk/sdk.gen.js +46 -29
- package/sdk/sdk.gen.ts +42 -25
- package/sdk/types.gen.d.ts +217 -203
- package/sdk/types.gen.ts +226 -208
- package/sdk.gen.d.ts +23 -15
- package/sdk.gen.js +46 -29
- package/sdk.gen.ts +42 -25
- package/types.gen.d.ts +217 -203
- package/types.gen.ts +226 -208
- package/artifacts/graphql/queries/ledger/scheduleFacts.d.ts +0 -7
- package/artifacts/graphql/queries/ledger/scheduleFacts.js +0 -24
- package/artifacts/graphql/queries/ledger/scheduleFacts.ts +0 -22
- package/artifacts/graphql/queries/ledger/schedules.d.ts +0 -6
- package/artifacts/graphql/queries/ledger/schedules.js +0 -24
- package/artifacts/graphql/queries/ledger/schedules.ts +0 -22
package/types.gen.d.ts
CHANGED
|
@@ -1513,6 +1513,34 @@ export type CreateGraphRequest = {
|
|
|
1513
1513
|
*/
|
|
1514
1514
|
tags?: Array<string>;
|
|
1515
1515
|
};
|
|
1516
|
+
/**
|
|
1517
|
+
* CreateInformationBlockRequest
|
|
1518
|
+
*
|
|
1519
|
+
* Generic create request — discriminator + typed-at-dispatch payload.
|
|
1520
|
+
*
|
|
1521
|
+
* ``block_type`` selects the registry entry. ``payload`` is validated
|
|
1522
|
+
* against ``BlockTypeRegistryEntry.create_request_model`` (e.g.
|
|
1523
|
+
* :class:`CreateScheduleRequest` for ``block_type='schedule'``) by the
|
|
1524
|
+
* command dispatcher. Chosen over a Pydantic discriminated union on the
|
|
1525
|
+
* top-level request so adding a block type is one registry line, not a
|
|
1526
|
+
* union-arm edit at the request-model layer.
|
|
1527
|
+
*/
|
|
1528
|
+
export type CreateInformationBlockRequest = {
|
|
1529
|
+
/**
|
|
1530
|
+
* Block Type
|
|
1531
|
+
*
|
|
1532
|
+
* Block type discriminator. Must match a registered entry in robosystems.operations.information_block.registry.REGISTRY.
|
|
1533
|
+
*/
|
|
1534
|
+
block_type: string;
|
|
1535
|
+
/**
|
|
1536
|
+
* Payload
|
|
1537
|
+
*
|
|
1538
|
+
* Block-type-specific creation payload. Shape-validated against the registry entry's `create_request_model` at dispatch time; the validation error surfaces as a 422 at the API boundary.
|
|
1539
|
+
*/
|
|
1540
|
+
payload?: {
|
|
1541
|
+
[key: string]: unknown;
|
|
1542
|
+
};
|
|
1543
|
+
};
|
|
1516
1544
|
/**
|
|
1517
1545
|
* CreateJournalEntryRequest
|
|
1518
1546
|
*
|
|
@@ -1783,55 +1811,6 @@ export type CreateRepositorySubscriptionRequest = {
|
|
|
1783
1811
|
*/
|
|
1784
1812
|
plan_name: string;
|
|
1785
1813
|
};
|
|
1786
|
-
/**
|
|
1787
|
-
* CreateScheduleRequest
|
|
1788
|
-
*/
|
|
1789
|
-
export type CreateScheduleRequest = {
|
|
1790
|
-
/**
|
|
1791
|
-
* Name
|
|
1792
|
-
*
|
|
1793
|
-
* Schedule name
|
|
1794
|
-
*/
|
|
1795
|
-
name: string;
|
|
1796
|
-
/**
|
|
1797
|
-
* Taxonomy Id
|
|
1798
|
-
*
|
|
1799
|
-
* Taxonomy ID (auto-creates if omitted)
|
|
1800
|
-
*/
|
|
1801
|
-
taxonomy_id?: string | null;
|
|
1802
|
-
/**
|
|
1803
|
-
* Element Ids
|
|
1804
|
-
*
|
|
1805
|
-
* Element IDs to include
|
|
1806
|
-
*/
|
|
1807
|
-
element_ids: Array<string>;
|
|
1808
|
-
/**
|
|
1809
|
-
* Period Start
|
|
1810
|
-
*
|
|
1811
|
-
* First period start
|
|
1812
|
-
*/
|
|
1813
|
-
period_start: string;
|
|
1814
|
-
/**
|
|
1815
|
-
* Period End
|
|
1816
|
-
*
|
|
1817
|
-
* Last period end
|
|
1818
|
-
*/
|
|
1819
|
-
period_end: string;
|
|
1820
|
-
/**
|
|
1821
|
-
* Monthly Amount
|
|
1822
|
-
*
|
|
1823
|
-
* Monthly amount in cents
|
|
1824
|
-
*/
|
|
1825
|
-
monthly_amount: number;
|
|
1826
|
-
entry_template: EntryTemplateRequest;
|
|
1827
|
-
schedule_metadata?: ScheduleMetadataRequest | null;
|
|
1828
|
-
/**
|
|
1829
|
-
* Closed Through
|
|
1830
|
-
*
|
|
1831
|
-
* If provided, facts with period_end ≤ this date are flagged as 'historical' (already reflected in opening balances, ignored by the close workflow). Used during initial ledger setup to create schedules whose early facts have already been captured elsewhere.
|
|
1832
|
-
*/
|
|
1833
|
-
closed_through?: string | null;
|
|
1834
|
-
};
|
|
1835
1814
|
/**
|
|
1836
1815
|
* CreateSecurityRequest
|
|
1837
1816
|
*/
|
|
@@ -2583,6 +2562,30 @@ export type DeleteFileResponse = {
|
|
|
2583
2562
|
*/
|
|
2584
2563
|
graph_marked_stale?: boolean;
|
|
2585
2564
|
};
|
|
2565
|
+
/**
|
|
2566
|
+
* DeleteInformationBlockRequest
|
|
2567
|
+
*
|
|
2568
|
+
* Generic delete request — mirrors :class:`CreateInformationBlockRequest`.
|
|
2569
|
+
*
|
|
2570
|
+
* Validated against the registry entry's ``delete_request_model``.
|
|
2571
|
+
* Block types that don't support deletion raise ``NotImplementedError``.
|
|
2572
|
+
*/
|
|
2573
|
+
export type DeleteInformationBlockRequest = {
|
|
2574
|
+
/**
|
|
2575
|
+
* Block Type
|
|
2576
|
+
*
|
|
2577
|
+
* Block type discriminator. Must match a registered entry.
|
|
2578
|
+
*/
|
|
2579
|
+
block_type: string;
|
|
2580
|
+
/**
|
|
2581
|
+
* Payload
|
|
2582
|
+
*
|
|
2583
|
+
* Block-type-specific delete payload. Typically carries just the structure_id. Shape-validated against the registry entry's `delete_request_model` at dispatch time.
|
|
2584
|
+
*/
|
|
2585
|
+
payload?: {
|
|
2586
|
+
[key: string]: unknown;
|
|
2587
|
+
};
|
|
2588
|
+
};
|
|
2586
2589
|
/**
|
|
2587
2590
|
* DeleteJournalEntryRequest
|
|
2588
2591
|
*
|
|
@@ -2652,22 +2655,6 @@ export type DeleteReportOperation = {
|
|
|
2652
2655
|
*/
|
|
2653
2656
|
report_id: string;
|
|
2654
2657
|
};
|
|
2655
|
-
/**
|
|
2656
|
-
* DeleteScheduleRequest
|
|
2657
|
-
*
|
|
2658
|
-
* Delete a schedule — cascades through facts and associations.
|
|
2659
|
-
*
|
|
2660
|
-
* Hard deletes the Structure, all Facts tied to it, and all
|
|
2661
|
-
* Associations tied to it. This is a permanent, irreversible
|
|
2662
|
-
* operation. For ending a schedule early without removing history,
|
|
2663
|
-
* use truncate-schedule instead.
|
|
2664
|
-
*/
|
|
2665
|
-
export type DeleteScheduleRequest = {
|
|
2666
|
-
/**
|
|
2667
|
-
* Structure Id
|
|
2668
|
-
*/
|
|
2669
|
-
structure_id: string;
|
|
2670
|
-
};
|
|
2671
2658
|
/**
|
|
2672
2659
|
* DeleteSecurityOperation
|
|
2673
2660
|
*
|
|
@@ -3165,41 +3152,6 @@ export type EnhancedFileStatusLayers = {
|
|
|
3165
3152
|
*/
|
|
3166
3153
|
graph: FileLayerStatus;
|
|
3167
3154
|
};
|
|
3168
|
-
/**
|
|
3169
|
-
* EntryTemplateRequest
|
|
3170
|
-
*/
|
|
3171
|
-
export type EntryTemplateRequest = {
|
|
3172
|
-
/**
|
|
3173
|
-
* Debit Element Id
|
|
3174
|
-
*
|
|
3175
|
-
* Element to debit (e.g., Depreciation Expense)
|
|
3176
|
-
*/
|
|
3177
|
-
debit_element_id: string;
|
|
3178
|
-
/**
|
|
3179
|
-
* Credit Element Id
|
|
3180
|
-
*
|
|
3181
|
-
* Element to credit (e.g., Accumulated Depreciation)
|
|
3182
|
-
*/
|
|
3183
|
-
credit_element_id: string;
|
|
3184
|
-
/**
|
|
3185
|
-
* Entry Type
|
|
3186
|
-
*
|
|
3187
|
-
* Entry type for generated entries
|
|
3188
|
-
*/
|
|
3189
|
-
entry_type?: 'standard' | 'adjusting' | 'closing' | 'reversing';
|
|
3190
|
-
/**
|
|
3191
|
-
* Memo Template
|
|
3192
|
-
*
|
|
3193
|
-
* Memo template ({structure_name} is replaced)
|
|
3194
|
-
*/
|
|
3195
|
-
memo_template?: string;
|
|
3196
|
-
/**
|
|
3197
|
-
* Auto Reverse
|
|
3198
|
-
*
|
|
3199
|
-
* Auto-generate a reversing entry on the first day of the next period
|
|
3200
|
-
*/
|
|
3201
|
-
auto_reverse?: boolean;
|
|
3202
|
-
};
|
|
3203
3155
|
/**
|
|
3204
3156
|
* ErrorResponse
|
|
3205
3157
|
*
|
|
@@ -3234,6 +3186,44 @@ export type ErrorResponse = {
|
|
|
3234
3186
|
*/
|
|
3235
3187
|
timestamp?: string | null;
|
|
3236
3188
|
};
|
|
3189
|
+
/**
|
|
3190
|
+
* EvaluateRulesRequest
|
|
3191
|
+
*
|
|
3192
|
+
* Request body for the ``evaluate-rules`` operation (Phase delta.3).
|
|
3193
|
+
*
|
|
3194
|
+
* Runs every rule scoped to ``structure_id`` (plus element/association-
|
|
3195
|
+
* scoped rules for the structure's atoms), binds ``$Variable`` references
|
|
3196
|
+
* to facts via qname lookup, and writes one
|
|
3197
|
+
* :class:`VerificationResult` row per rule.
|
|
3198
|
+
*
|
|
3199
|
+
* Optional ``period_start`` / ``period_end`` narrow the fact-binding
|
|
3200
|
+
* window; without them the engine uses the most recent ``in_scope`` fact
|
|
3201
|
+
* for each element regardless of period.
|
|
3202
|
+
*/
|
|
3203
|
+
export type EvaluateRulesRequest = {
|
|
3204
|
+
/**
|
|
3205
|
+
* Structure Id
|
|
3206
|
+
*/
|
|
3207
|
+
structure_id: string;
|
|
3208
|
+
/**
|
|
3209
|
+
* Fact Set Id
|
|
3210
|
+
*
|
|
3211
|
+
* Optional FactSet id to stamp on each VerificationResult row. Allows results to be scoped to a specific period run when the FactSet table is populated (Phase zeta expand pass).
|
|
3212
|
+
*/
|
|
3213
|
+
fact_set_id?: string | null;
|
|
3214
|
+
/**
|
|
3215
|
+
* Period Start
|
|
3216
|
+
*
|
|
3217
|
+
* Lower bound on the fact period window (inclusive).
|
|
3218
|
+
*/
|
|
3219
|
+
period_start?: string | null;
|
|
3220
|
+
/**
|
|
3221
|
+
* Period End
|
|
3222
|
+
*
|
|
3223
|
+
* Upper bound on the fact period window (inclusive).
|
|
3224
|
+
*/
|
|
3225
|
+
period_end?: string | null;
|
|
3226
|
+
};
|
|
3237
3227
|
/**
|
|
3238
3228
|
* FileInfo
|
|
3239
3229
|
*/
|
|
@@ -6079,41 +6069,6 @@ export type SsoTokenResponse = {
|
|
|
6079
6069
|
*/
|
|
6080
6070
|
apps: Array<string>;
|
|
6081
6071
|
};
|
|
6082
|
-
/**
|
|
6083
|
-
* ScheduleMetadataRequest
|
|
6084
|
-
*/
|
|
6085
|
-
export type ScheduleMetadataRequest = {
|
|
6086
|
-
/**
|
|
6087
|
-
* Method
|
|
6088
|
-
*
|
|
6089
|
-
* Calculation method
|
|
6090
|
-
*/
|
|
6091
|
-
method?: string;
|
|
6092
|
-
/**
|
|
6093
|
-
* Original Amount
|
|
6094
|
-
*
|
|
6095
|
-
* Cost basis in cents
|
|
6096
|
-
*/
|
|
6097
|
-
original_amount?: number;
|
|
6098
|
-
/**
|
|
6099
|
-
* Residual Value
|
|
6100
|
-
*
|
|
6101
|
-
* Salvage value in cents
|
|
6102
|
-
*/
|
|
6103
|
-
residual_value?: number;
|
|
6104
|
-
/**
|
|
6105
|
-
* Useful Life Months
|
|
6106
|
-
*
|
|
6107
|
-
* Useful life in months
|
|
6108
|
-
*/
|
|
6109
|
-
useful_life_months?: number;
|
|
6110
|
-
/**
|
|
6111
|
-
* Asset Element Id
|
|
6112
|
-
*
|
|
6113
|
-
* BS asset element for net book value
|
|
6114
|
-
*/
|
|
6115
|
-
asset_element_id?: string | null;
|
|
6116
|
-
};
|
|
6117
6072
|
/**
|
|
6118
6073
|
* SchemaExportResponse
|
|
6119
6074
|
*
|
|
@@ -7334,6 +7289,32 @@ export type UpdateEntityRequest = {
|
|
|
7334
7289
|
*/
|
|
7335
7290
|
address_country?: string | null;
|
|
7336
7291
|
};
|
|
7292
|
+
/**
|
|
7293
|
+
* UpdateInformationBlockRequest
|
|
7294
|
+
*
|
|
7295
|
+
* Generic update request — mirrors :class:`CreateInformationBlockRequest`.
|
|
7296
|
+
*
|
|
7297
|
+
* Validated against the registry entry's ``update_request_model``.
|
|
7298
|
+
* Block types that don't support updates (e.g. the statement family,
|
|
7299
|
+
* whose Structures are library-seeded) surface ``NotImplementedError``
|
|
7300
|
+
* from their dispatch handler, which the registrar maps to HTTP 501.
|
|
7301
|
+
*/
|
|
7302
|
+
export type UpdateInformationBlockRequest = {
|
|
7303
|
+
/**
|
|
7304
|
+
* Block Type
|
|
7305
|
+
*
|
|
7306
|
+
* Block type discriminator. Must match a registered entry.
|
|
7307
|
+
*/
|
|
7308
|
+
block_type: string;
|
|
7309
|
+
/**
|
|
7310
|
+
* Payload
|
|
7311
|
+
*
|
|
7312
|
+
* Block-type-specific update payload. Typically carries the structure_id plus whichever fields are editable for this block type. Shape-validated against the registry entry's `update_request_model` at dispatch time.
|
|
7313
|
+
*/
|
|
7314
|
+
payload?: {
|
|
7315
|
+
[key: string]: unknown;
|
|
7316
|
+
};
|
|
7317
|
+
};
|
|
7337
7318
|
/**
|
|
7338
7319
|
* UpdateJournalEntryRequest
|
|
7339
7320
|
*
|
|
@@ -7518,32 +7499,6 @@ export type UpdatePublishListOperation = {
|
|
|
7518
7499
|
*/
|
|
7519
7500
|
list_id: string;
|
|
7520
7501
|
};
|
|
7521
|
-
/**
|
|
7522
|
-
* UpdateScheduleRequest
|
|
7523
|
-
*
|
|
7524
|
-
* Update mutable fields on a schedule.
|
|
7525
|
-
*
|
|
7526
|
-
* Editable: name, entry_template, schedule_metadata (all live on the
|
|
7527
|
-
* Structure row / its metadata_ JSONB column).
|
|
7528
|
-
*
|
|
7529
|
-
* NOT editable via this op: period_start, period_end, monthly_amount.
|
|
7530
|
-
* Those require fact regeneration — use truncate-schedule (end early)
|
|
7531
|
-
* and create-schedule (start new) instead.
|
|
7532
|
-
*
|
|
7533
|
-
* Omitted fields are left unchanged.
|
|
7534
|
-
*/
|
|
7535
|
-
export type UpdateScheduleRequest = {
|
|
7536
|
-
/**
|
|
7537
|
-
* Structure Id
|
|
7538
|
-
*/
|
|
7539
|
-
structure_id: string;
|
|
7540
|
-
/**
|
|
7541
|
-
* Name
|
|
7542
|
-
*/
|
|
7543
|
-
name?: string | null;
|
|
7544
|
-
entry_template?: EntryTemplateRequest | null;
|
|
7545
|
-
schedule_metadata?: ScheduleMetadataRequest | null;
|
|
7546
|
-
};
|
|
7547
7502
|
/**
|
|
7548
7503
|
* UpdateSecurityOperation
|
|
7549
7504
|
*
|
|
@@ -14791,8 +14746,8 @@ export type OpReverseJournalEntryResponses = {
|
|
|
14791
14746
|
200: OperationEnvelope;
|
|
14792
14747
|
};
|
|
14793
14748
|
export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
|
|
14794
|
-
export type
|
|
14795
|
-
body:
|
|
14749
|
+
export type OpTruncateScheduleData = {
|
|
14750
|
+
body: TruncateScheduleOperation;
|
|
14796
14751
|
headers?: {
|
|
14797
14752
|
/**
|
|
14798
14753
|
* Idempotency-Key
|
|
@@ -14806,9 +14761,9 @@ export type OpCreateScheduleData = {
|
|
|
14806
14761
|
graph_id: string;
|
|
14807
14762
|
};
|
|
14808
14763
|
query?: never;
|
|
14809
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
14764
|
+
url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
|
|
14810
14765
|
};
|
|
14811
|
-
export type
|
|
14766
|
+
export type OpTruncateScheduleErrors = {
|
|
14812
14767
|
/**
|
|
14813
14768
|
* Invalid request payload
|
|
14814
14769
|
*/
|
|
@@ -14842,16 +14797,16 @@ export type OpCreateScheduleErrors = {
|
|
|
14842
14797
|
*/
|
|
14843
14798
|
500: unknown;
|
|
14844
14799
|
};
|
|
14845
|
-
export type
|
|
14846
|
-
export type
|
|
14800
|
+
export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
|
|
14801
|
+
export type OpTruncateScheduleResponses = {
|
|
14847
14802
|
/**
|
|
14848
14803
|
* Successful Response
|
|
14849
14804
|
*/
|
|
14850
14805
|
200: OperationEnvelope;
|
|
14851
14806
|
};
|
|
14852
|
-
export type
|
|
14853
|
-
export type
|
|
14854
|
-
body:
|
|
14807
|
+
export type OpTruncateScheduleResponse = OpTruncateScheduleResponses[keyof OpTruncateScheduleResponses];
|
|
14808
|
+
export type OpCreateClosingEntryData = {
|
|
14809
|
+
body: CreateClosingEntryOperation;
|
|
14855
14810
|
headers?: {
|
|
14856
14811
|
/**
|
|
14857
14812
|
* Idempotency-Key
|
|
@@ -14865,9 +14820,9 @@ export type OpTruncateScheduleData = {
|
|
|
14865
14820
|
graph_id: string;
|
|
14866
14821
|
};
|
|
14867
14822
|
query?: never;
|
|
14868
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
14823
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry';
|
|
14869
14824
|
};
|
|
14870
|
-
export type
|
|
14825
|
+
export type OpCreateClosingEntryErrors = {
|
|
14871
14826
|
/**
|
|
14872
14827
|
* Invalid request payload
|
|
14873
14828
|
*/
|
|
@@ -14901,16 +14856,16 @@ export type OpTruncateScheduleErrors = {
|
|
|
14901
14856
|
*/
|
|
14902
14857
|
500: unknown;
|
|
14903
14858
|
};
|
|
14904
|
-
export type
|
|
14905
|
-
export type
|
|
14859
|
+
export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
|
|
14860
|
+
export type OpCreateClosingEntryResponses = {
|
|
14906
14861
|
/**
|
|
14907
14862
|
* Successful Response
|
|
14908
14863
|
*/
|
|
14909
14864
|
200: OperationEnvelope;
|
|
14910
14865
|
};
|
|
14911
|
-
export type
|
|
14912
|
-
export type
|
|
14913
|
-
body:
|
|
14866
|
+
export type OpCreateClosingEntryResponse = OpCreateClosingEntryResponses[keyof OpCreateClosingEntryResponses];
|
|
14867
|
+
export type OpCreateManualClosingEntryData = {
|
|
14868
|
+
body: CreateManualClosingEntryRequest;
|
|
14914
14869
|
headers?: {
|
|
14915
14870
|
/**
|
|
14916
14871
|
* Idempotency-Key
|
|
@@ -14924,9 +14879,9 @@ export type OpCreateClosingEntryData = {
|
|
|
14924
14879
|
graph_id: string;
|
|
14925
14880
|
};
|
|
14926
14881
|
query?: never;
|
|
14927
|
-
url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry';
|
|
14882
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry';
|
|
14928
14883
|
};
|
|
14929
|
-
export type
|
|
14884
|
+
export type OpCreateManualClosingEntryErrors = {
|
|
14930
14885
|
/**
|
|
14931
14886
|
* Invalid request payload
|
|
14932
14887
|
*/
|
|
@@ -14960,16 +14915,16 @@ export type OpCreateClosingEntryErrors = {
|
|
|
14960
14915
|
*/
|
|
14961
14916
|
500: unknown;
|
|
14962
14917
|
};
|
|
14963
|
-
export type
|
|
14964
|
-
export type
|
|
14918
|
+
export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
|
|
14919
|
+
export type OpCreateManualClosingEntryResponses = {
|
|
14965
14920
|
/**
|
|
14966
14921
|
* Successful Response
|
|
14967
14922
|
*/
|
|
14968
14923
|
200: OperationEnvelope;
|
|
14969
14924
|
};
|
|
14970
|
-
export type
|
|
14971
|
-
export type
|
|
14972
|
-
body:
|
|
14925
|
+
export type OpCreateManualClosingEntryResponse = OpCreateManualClosingEntryResponses[keyof OpCreateManualClosingEntryResponses];
|
|
14926
|
+
export type OpCreateInformationBlockData = {
|
|
14927
|
+
body: CreateInformationBlockRequest;
|
|
14973
14928
|
headers?: {
|
|
14974
14929
|
/**
|
|
14975
14930
|
* Idempotency-Key
|
|
@@ -14983,9 +14938,9 @@ export type OpCreateManualClosingEntryData = {
|
|
|
14983
14938
|
graph_id: string;
|
|
14984
14939
|
};
|
|
14985
14940
|
query?: never;
|
|
14986
|
-
url: '/extensions/roboledger/{graph_id}/operations/create-
|
|
14941
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-information-block';
|
|
14987
14942
|
};
|
|
14988
|
-
export type
|
|
14943
|
+
export type OpCreateInformationBlockErrors = {
|
|
14989
14944
|
/**
|
|
14990
14945
|
* Invalid request payload
|
|
14991
14946
|
*/
|
|
@@ -15019,16 +14974,75 @@ export type OpCreateManualClosingEntryErrors = {
|
|
|
15019
14974
|
*/
|
|
15020
14975
|
500: unknown;
|
|
15021
14976
|
};
|
|
15022
|
-
export type
|
|
15023
|
-
export type
|
|
14977
|
+
export type OpCreateInformationBlockError = OpCreateInformationBlockErrors[keyof OpCreateInformationBlockErrors];
|
|
14978
|
+
export type OpCreateInformationBlockResponses = {
|
|
15024
14979
|
/**
|
|
15025
14980
|
* Successful Response
|
|
15026
14981
|
*/
|
|
15027
14982
|
200: OperationEnvelope;
|
|
15028
14983
|
};
|
|
15029
|
-
export type
|
|
15030
|
-
export type
|
|
15031
|
-
body:
|
|
14984
|
+
export type OpCreateInformationBlockResponse = OpCreateInformationBlockResponses[keyof OpCreateInformationBlockResponses];
|
|
14985
|
+
export type OpUpdateInformationBlockData = {
|
|
14986
|
+
body: UpdateInformationBlockRequest;
|
|
14987
|
+
headers?: {
|
|
14988
|
+
/**
|
|
14989
|
+
* Idempotency-Key
|
|
14990
|
+
*/
|
|
14991
|
+
'Idempotency-Key'?: string | null;
|
|
14992
|
+
};
|
|
14993
|
+
path: {
|
|
14994
|
+
/**
|
|
14995
|
+
* Graph Id
|
|
14996
|
+
*/
|
|
14997
|
+
graph_id: string;
|
|
14998
|
+
};
|
|
14999
|
+
query?: never;
|
|
15000
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-information-block';
|
|
15001
|
+
};
|
|
15002
|
+
export type OpUpdateInformationBlockErrors = {
|
|
15003
|
+
/**
|
|
15004
|
+
* Invalid request payload
|
|
15005
|
+
*/
|
|
15006
|
+
400: OperationError;
|
|
15007
|
+
/**
|
|
15008
|
+
* Unauthorized — missing or invalid credentials
|
|
15009
|
+
*/
|
|
15010
|
+
401: unknown;
|
|
15011
|
+
/**
|
|
15012
|
+
* Forbidden — caller cannot access this graph
|
|
15013
|
+
*/
|
|
15014
|
+
403: unknown;
|
|
15015
|
+
/**
|
|
15016
|
+
* Resource not found (graph, ledger, report, etc.)
|
|
15017
|
+
*/
|
|
15018
|
+
404: OperationError;
|
|
15019
|
+
/**
|
|
15020
|
+
* Idempotency-Key reused with a different request body, or other operation-level conflict
|
|
15021
|
+
*/
|
|
15022
|
+
409: OperationError;
|
|
15023
|
+
/**
|
|
15024
|
+
* Validation Error
|
|
15025
|
+
*/
|
|
15026
|
+
422: HttpValidationError;
|
|
15027
|
+
/**
|
|
15028
|
+
* Rate limit exceeded
|
|
15029
|
+
*/
|
|
15030
|
+
429: unknown;
|
|
15031
|
+
/**
|
|
15032
|
+
* Internal error
|
|
15033
|
+
*/
|
|
15034
|
+
500: unknown;
|
|
15035
|
+
};
|
|
15036
|
+
export type OpUpdateInformationBlockError = OpUpdateInformationBlockErrors[keyof OpUpdateInformationBlockErrors];
|
|
15037
|
+
export type OpUpdateInformationBlockResponses = {
|
|
15038
|
+
/**
|
|
15039
|
+
* Successful Response
|
|
15040
|
+
*/
|
|
15041
|
+
200: OperationEnvelope;
|
|
15042
|
+
};
|
|
15043
|
+
export type OpUpdateInformationBlockResponse = OpUpdateInformationBlockResponses[keyof OpUpdateInformationBlockResponses];
|
|
15044
|
+
export type OpDeleteInformationBlockData = {
|
|
15045
|
+
body: DeleteInformationBlockRequest;
|
|
15032
15046
|
headers?: {
|
|
15033
15047
|
/**
|
|
15034
15048
|
* Idempotency-Key
|
|
@@ -15042,9 +15056,9 @@ export type OpUpdateScheduleData = {
|
|
|
15042
15056
|
graph_id: string;
|
|
15043
15057
|
};
|
|
15044
15058
|
query?: never;
|
|
15045
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
15059
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-information-block';
|
|
15046
15060
|
};
|
|
15047
|
-
export type
|
|
15061
|
+
export type OpDeleteInformationBlockErrors = {
|
|
15048
15062
|
/**
|
|
15049
15063
|
* Invalid request payload
|
|
15050
15064
|
*/
|
|
@@ -15078,16 +15092,16 @@ export type OpUpdateScheduleErrors = {
|
|
|
15078
15092
|
*/
|
|
15079
15093
|
500: unknown;
|
|
15080
15094
|
};
|
|
15081
|
-
export type
|
|
15082
|
-
export type
|
|
15095
|
+
export type OpDeleteInformationBlockError = OpDeleteInformationBlockErrors[keyof OpDeleteInformationBlockErrors];
|
|
15096
|
+
export type OpDeleteInformationBlockResponses = {
|
|
15083
15097
|
/**
|
|
15084
15098
|
* Successful Response
|
|
15085
15099
|
*/
|
|
15086
15100
|
200: OperationEnvelope;
|
|
15087
15101
|
};
|
|
15088
|
-
export type
|
|
15089
|
-
export type
|
|
15090
|
-
body:
|
|
15102
|
+
export type OpDeleteInformationBlockResponse = OpDeleteInformationBlockResponses[keyof OpDeleteInformationBlockResponses];
|
|
15103
|
+
export type OpEvaluateRulesData = {
|
|
15104
|
+
body: EvaluateRulesRequest;
|
|
15091
15105
|
headers?: {
|
|
15092
15106
|
/**
|
|
15093
15107
|
* Idempotency-Key
|
|
@@ -15101,9 +15115,9 @@ export type OpDeleteScheduleData = {
|
|
|
15101
15115
|
graph_id: string;
|
|
15102
15116
|
};
|
|
15103
15117
|
query?: never;
|
|
15104
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
15118
|
+
url: '/extensions/roboledger/{graph_id}/operations/evaluate-rules';
|
|
15105
15119
|
};
|
|
15106
|
-
export type
|
|
15120
|
+
export type OpEvaluateRulesErrors = {
|
|
15107
15121
|
/**
|
|
15108
15122
|
* Invalid request payload
|
|
15109
15123
|
*/
|
|
@@ -15137,14 +15151,14 @@ export type OpDeleteScheduleErrors = {
|
|
|
15137
15151
|
*/
|
|
15138
15152
|
500: unknown;
|
|
15139
15153
|
};
|
|
15140
|
-
export type
|
|
15141
|
-
export type
|
|
15154
|
+
export type OpEvaluateRulesError = OpEvaluateRulesErrors[keyof OpEvaluateRulesErrors];
|
|
15155
|
+
export type OpEvaluateRulesResponses = {
|
|
15142
15156
|
/**
|
|
15143
15157
|
* Successful Response
|
|
15144
15158
|
*/
|
|
15145
15159
|
200: OperationEnvelope;
|
|
15146
15160
|
};
|
|
15147
|
-
export type
|
|
15161
|
+
export type OpEvaluateRulesResponse = OpEvaluateRulesResponses[keyof OpEvaluateRulesResponses];
|
|
15148
15162
|
export type OpCreateMappingAssociationData = {
|
|
15149
15163
|
body: CreateMappingAssociationOperation;
|
|
15150
15164
|
headers?: {
|