@robosystems/client 2.22.0 → 2.24.0
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 +58 -3
- package/artifacts/LedgerClient.js +65 -1
- package/artifacts/LedgerClient.ts +125 -2
- package/artifacts/graphql/generated/graphql.d.ts +173 -0
- package/artifacts/graphql/generated/graphql.js +430 -2
- package/artifacts/graphql/generated/graphql.ts +583 -0
- package/artifacts/graphql/queries/ledger/accountRegister.d.ts +13 -0
- package/artifacts/graphql/queries/ledger/accountRegister.js +98 -0
- package/artifacts/graphql/queries/ledger/accountRegister.ts +96 -0
- package/artifacts/graphql/queries/ledger/dimensions.d.ts +7 -0
- package/artifacts/graphql/queries/ledger/dimensions.js +27 -0
- package/artifacts/graphql/queries/ledger/dimensions.ts +25 -0
- package/artifacts/graphql/queries/ledger/eventBlock.d.ts +3 -1
- package/artifacts/graphql/queries/ledger/eventBlock.js +24 -1
- package/artifacts/graphql/queries/ledger/eventBlock.ts +24 -1
- package/artifacts/graphql/queries/ledger/journalEntries.js +6 -0
- package/artifacts/graphql/queries/ledger/journalEntries.ts +6 -0
- package/artifacts/graphql/queries/ledger/transaction.js +6 -0
- package/artifacts/graphql/queries/ledger/transaction.ts +6 -0
- package/artifacts/graphql/queries/ledger/trialBalance.d.ts +4 -1
- package/artifacts/graphql/queries/ledger/trialBalance.js +19 -3
- package/artifacts/graphql/queries/ledger/trialBalance.ts +19 -3
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +7 -5
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +19 -3
- package/sdk/sdk.gen.js +38 -4
- package/sdk/sdk.gen.ts +37 -3
- package/sdk/types.gen.d.ts +455 -4
- package/sdk/types.gen.ts +474 -4
- package/sdk.gen.d.ts +19 -3
- package/sdk.gen.js +38 -4
- package/sdk.gen.ts +37 -3
- package/types.gen.d.ts +455 -4
- package/types.gen.ts +474 -4
package/types.gen.d.ts
CHANGED
|
@@ -3129,6 +3129,31 @@ export type CreateConnectionRequest = {
|
|
|
3129
3129
|
mercury_config?: MercuryConnectionConfig | null;
|
|
3130
3130
|
plaid_config?: PlaidConnectionConfig | null;
|
|
3131
3131
|
};
|
|
3132
|
+
/**
|
|
3133
|
+
* CreateDimensionRequest
|
|
3134
|
+
*
|
|
3135
|
+
* Add a member to a management dimension.
|
|
3136
|
+
*/
|
|
3137
|
+
export type CreateDimensionRequest = {
|
|
3138
|
+
/**
|
|
3139
|
+
* Dimension Type
|
|
3140
|
+
*
|
|
3141
|
+
* The axis: `department`, `class`, `location` or `project`, or any other lowercase name, which starts an axis of its own. `scenario` is reserved for forecasts.
|
|
3142
|
+
*/
|
|
3143
|
+
dimension_type: string;
|
|
3144
|
+
/**
|
|
3145
|
+
* Name
|
|
3146
|
+
*
|
|
3147
|
+
* The member's label.
|
|
3148
|
+
*/
|
|
3149
|
+
name: string;
|
|
3150
|
+
/**
|
|
3151
|
+
* Value
|
|
3152
|
+
*
|
|
3153
|
+
* The member's stable key within the axis; omitted, a slug of the name. Refused (409) when the axis already has it.
|
|
3154
|
+
*/
|
|
3155
|
+
value?: string | null;
|
|
3156
|
+
};
|
|
3132
3157
|
/**
|
|
3133
3158
|
* CreateDocumentUploadOp
|
|
3134
3159
|
*
|
|
@@ -3425,7 +3450,7 @@ export type CreateEventBlockRequest = {
|
|
|
3425
3450
|
/**
|
|
3426
3451
|
* Dimension Ids
|
|
3427
3452
|
*
|
|
3428
|
-
*
|
|
3453
|
+
* Management dimension members tagging this event (department, class, location, project), one per axis. Every line its handler writes carries them on the axes the line does not tag itself.
|
|
3429
3454
|
*/
|
|
3430
3455
|
dimension_ids?: Array<string>;
|
|
3431
3456
|
/**
|
|
@@ -5232,6 +5257,61 @@ export type Dimension = {
|
|
|
5232
5257
|
*/
|
|
5233
5258
|
members?: Array<string>;
|
|
5234
5259
|
};
|
|
5260
|
+
/**
|
|
5261
|
+
* DimensionResponse
|
|
5262
|
+
*
|
|
5263
|
+
* One member of a management dimension.
|
|
5264
|
+
*/
|
|
5265
|
+
export type DimensionResponse = {
|
|
5266
|
+
/**
|
|
5267
|
+
* Id
|
|
5268
|
+
*
|
|
5269
|
+
* The member's id, as lines carry it.
|
|
5270
|
+
*/
|
|
5271
|
+
id: string;
|
|
5272
|
+
/**
|
|
5273
|
+
* Dimension Type
|
|
5274
|
+
*
|
|
5275
|
+
* The axis: department, class, location, project, or another.
|
|
5276
|
+
*/
|
|
5277
|
+
dimension_type: string;
|
|
5278
|
+
/**
|
|
5279
|
+
* Name
|
|
5280
|
+
*
|
|
5281
|
+
* The member's label.
|
|
5282
|
+
*/
|
|
5283
|
+
name: string;
|
|
5284
|
+
/**
|
|
5285
|
+
* Value
|
|
5286
|
+
*
|
|
5287
|
+
* The member's stable key within its axis: the source's id for a synced member, a slug of the name for one created here.
|
|
5288
|
+
*/
|
|
5289
|
+
value: string;
|
|
5290
|
+
/**
|
|
5291
|
+
* Source
|
|
5292
|
+
*
|
|
5293
|
+
* Where the member came from: `native` or `quickbooks`.
|
|
5294
|
+
*/
|
|
5295
|
+
source?: string;
|
|
5296
|
+
/**
|
|
5297
|
+
* Is Active
|
|
5298
|
+
*
|
|
5299
|
+
* False once retired: the member stays on the lines that carry it and can no longer be put on new ones.
|
|
5300
|
+
*/
|
|
5301
|
+
is_active: boolean;
|
|
5302
|
+
/**
|
|
5303
|
+
* Line Count
|
|
5304
|
+
*
|
|
5305
|
+
* How many ledger lines carry the member.
|
|
5306
|
+
*/
|
|
5307
|
+
line_count?: number;
|
|
5308
|
+
/**
|
|
5309
|
+
* Created At
|
|
5310
|
+
*
|
|
5311
|
+
* When it was created.
|
|
5312
|
+
*/
|
|
5313
|
+
created_at?: string | null;
|
|
5314
|
+
};
|
|
5235
5315
|
/**
|
|
5236
5316
|
* DimensionType
|
|
5237
5317
|
*/
|
|
@@ -6049,6 +6129,12 @@ export type EntryTemplateRequest = {
|
|
|
6049
6129
|
* Auto-generate a reversing entry on the first day of the next period
|
|
6050
6130
|
*/
|
|
6051
6131
|
auto_reverse?: boolean;
|
|
6132
|
+
/**
|
|
6133
|
+
* Dimension Ids
|
|
6134
|
+
*
|
|
6135
|
+
* The management dimension members (department, class, location, project) every entry the schedule drafts carries on both lines, one per axis: a department's depreciation lands in that department.
|
|
6136
|
+
*/
|
|
6137
|
+
dimension_ids?: Array<string>;
|
|
6052
6138
|
};
|
|
6053
6139
|
/**
|
|
6054
6140
|
* ErrorResponse
|
|
@@ -9073,6 +9159,25 @@ export type InvoicesResponse = {
|
|
|
9073
9159
|
*/
|
|
9074
9160
|
has_more: boolean;
|
|
9075
9161
|
};
|
|
9162
|
+
/**
|
|
9163
|
+
* JournalEntryLineDimensions
|
|
9164
|
+
*
|
|
9165
|
+
* A line's management dimension members, set in place.
|
|
9166
|
+
*/
|
|
9167
|
+
export type JournalEntryLineDimensions = {
|
|
9168
|
+
/**
|
|
9169
|
+
* Line Id
|
|
9170
|
+
*
|
|
9171
|
+
* The line to re-tag, by id.
|
|
9172
|
+
*/
|
|
9173
|
+
line_id: string;
|
|
9174
|
+
/**
|
|
9175
|
+
* Dimension Ids
|
|
9176
|
+
*
|
|
9177
|
+
* The members the line carries from now on, replacing what it carried; empty clears them. At most one per axis.
|
|
9178
|
+
*/
|
|
9179
|
+
dimension_ids: Array<string>;
|
|
9180
|
+
};
|
|
9076
9181
|
/**
|
|
9077
9182
|
* JournalEntryLineFlow
|
|
9078
9183
|
*
|
|
@@ -9131,6 +9236,12 @@ export type JournalEntryLineItemInput = {
|
|
|
9131
9236
|
* The cash flow row this line's cash belongs to, an rs-gaap flow qname (`flowCandidates(entityId)` lists the rows this company's statement offers). Only for a loan drawn or repaid, capital put in or taken out, an asset bought or sold; omitted, the account's default flow applies. A flow set on one side of the entry tags the untagged lines on the other: the cash flow statement reads the cash line and the roll-forwards read the account line. On the group's consolidation entity, which moves no cash, every tagged line counts on its own, cash-effect signed (a credit is an inflow), so an elimination offsets the flow a member's line produced, and a tag does not spread to the other side. Refused when it is not a row of the entity's cash flow statement.
|
|
9132
9237
|
*/
|
|
9133
9238
|
flow_qname?: string | null;
|
|
9239
|
+
/**
|
|
9240
|
+
* Dimension Ids
|
|
9241
|
+
*
|
|
9242
|
+
* The management dimension members this line carries (department, class, location, project), by id from `dimensions`; at most one per axis. An untagged line is read as the axis's Unallocated.
|
|
9243
|
+
*/
|
|
9244
|
+
dimension_ids?: Array<string> | null;
|
|
9134
9245
|
/**
|
|
9135
9246
|
* Metadata
|
|
9136
9247
|
*
|
|
@@ -9176,6 +9287,12 @@ export type JournalEntryLineItemResponse = {
|
|
|
9176
9287
|
* The cash flow row this line carries, when tagged; null means the account's default flow.
|
|
9177
9288
|
*/
|
|
9178
9289
|
flow_qname?: string | null;
|
|
9290
|
+
/**
|
|
9291
|
+
* Dimension Ids
|
|
9292
|
+
*
|
|
9293
|
+
* The management dimension members the line carries, by id.
|
|
9294
|
+
*/
|
|
9295
|
+
dimension_ids?: Array<string>;
|
|
9179
9296
|
};
|
|
9180
9297
|
/**
|
|
9181
9298
|
* JournalEntryResponse
|
|
@@ -10216,6 +10333,16 @@ export type LiveFinancialStatementRequest = {
|
|
|
10216
10333
|
* Max fact rows returned. Defaults to the ceiling so a statement is never cut mid-section — visible rows would stop footing to visible subtotals. Lower it only for a preview.
|
|
10217
10334
|
*/
|
|
10218
10335
|
limit?: number;
|
|
10336
|
+
/**
|
|
10337
|
+
* Slice an income statement by a management dimension (department, class, location, project). `{type, member_id}` reads one member's lines, current and prior; `member_id: unallocated` reads the lines no member of the axis tags. `{type}` alone reads the current window with one column per member, then Unallocated, then Total, and says in `dimension.ties_out` whether every row's members plus Unallocated equal its Total. Composes with `scope` and `entity_id`; a consolidation entity's lines are untagged, so eliminations read as Unallocated. Refused (422) on any other statement.
|
|
10338
|
+
*/
|
|
10339
|
+
dimension?: StatementDimension | null;
|
|
10340
|
+
/**
|
|
10341
|
+
* Include Sources
|
|
10342
|
+
*
|
|
10343
|
+
* Add each row's `origin` and, per column, the accounts its figure was summed from (`sources`), each keyed by the entity whose books hold it, so a figure opens on the account registers behind it. Consolidated figures list each member's accounts and the consolidation entity's. Off by default: it multiplies the response. Refused (422) with a `dimension` read by column.
|
|
10344
|
+
*/
|
|
10345
|
+
include_sources?: boolean;
|
|
10219
10346
|
};
|
|
10220
10347
|
/**
|
|
10221
10348
|
* LiveFinancialStatementResponse
|
|
@@ -10287,6 +10414,10 @@ export type LiveFinancialStatementResponse = {
|
|
|
10287
10414
|
* Truncated
|
|
10288
10415
|
*/
|
|
10289
10416
|
truncated?: boolean;
|
|
10417
|
+
/**
|
|
10418
|
+
* How the statement was sliced by a management dimension, when it was: the axis, the one member read, or the columns and whether they tie out to the Total.
|
|
10419
|
+
*/
|
|
10420
|
+
dimension?: StatementDimensionResponse | null;
|
|
10290
10421
|
};
|
|
10291
10422
|
/**
|
|
10292
10423
|
* LiveStatementFactRow
|
|
@@ -10324,6 +10455,18 @@ export type LiveStatementFactRow = {
|
|
|
10324
10455
|
* On the equity roll-forward, `start` for the beginning-balance row and `end` for the ending-balance row. Null elsewhere.
|
|
10325
10456
|
*/
|
|
10326
10457
|
period_role?: string | null;
|
|
10458
|
+
/**
|
|
10459
|
+
* Origin
|
|
10460
|
+
*
|
|
10461
|
+
* With `include_sources`, how the figure was made: `accounts` (summed from accounts in at least one column; read each column's `sources`, which may be empty where they do not add up), `subtotal` (the rows beneath it), or `computed` (derived from other figures, or a flow, with no accounts of its own). Null without `include_sources`.
|
|
10462
|
+
*/
|
|
10463
|
+
origin?: 'accounts' | 'subtotal' | 'computed' | null;
|
|
10464
|
+
/**
|
|
10465
|
+
* Sources
|
|
10466
|
+
*
|
|
10467
|
+
* With `include_sources`, per column (aligned with `values`), the accounts the figure was summed from, largest first; their values add up to the figure. Empty for a column with nothing to show, and for a subtotal or computed row.
|
|
10468
|
+
*/
|
|
10469
|
+
sources?: Array<Array<StatementRowSource>> | null;
|
|
10327
10470
|
};
|
|
10328
10471
|
/**
|
|
10329
10472
|
* LoginRequest
|
|
@@ -12033,6 +12176,51 @@ export type OperationEnvelopeDescribeFilingResponse = {
|
|
|
12033
12176
|
*/
|
|
12034
12177
|
idempotentReplay?: boolean;
|
|
12035
12178
|
};
|
|
12179
|
+
/**
|
|
12180
|
+
* OperationEnvelope[DimensionResponse]
|
|
12181
|
+
*/
|
|
12182
|
+
export type OperationEnvelopeDimensionResponse = {
|
|
12183
|
+
/**
|
|
12184
|
+
* Operation
|
|
12185
|
+
*
|
|
12186
|
+
* Kebab-case operation name
|
|
12187
|
+
*/
|
|
12188
|
+
operation: string;
|
|
12189
|
+
/**
|
|
12190
|
+
* Operationid
|
|
12191
|
+
*
|
|
12192
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
12193
|
+
*/
|
|
12194
|
+
operationId: string;
|
|
12195
|
+
/**
|
|
12196
|
+
* Status
|
|
12197
|
+
*
|
|
12198
|
+
* Operation lifecycle state
|
|
12199
|
+
*/
|
|
12200
|
+
status: 'completed' | 'pending' | 'failed';
|
|
12201
|
+
/**
|
|
12202
|
+
* Command-specific result payload
|
|
12203
|
+
*/
|
|
12204
|
+
result?: DimensionResponse | null;
|
|
12205
|
+
/**
|
|
12206
|
+
* At
|
|
12207
|
+
*
|
|
12208
|
+
* ISO-8601 UTC timestamp
|
|
12209
|
+
*/
|
|
12210
|
+
at: string;
|
|
12211
|
+
/**
|
|
12212
|
+
* Createdby
|
|
12213
|
+
*
|
|
12214
|
+
* User ID that initiated the operation
|
|
12215
|
+
*/
|
|
12216
|
+
createdBy?: string | null;
|
|
12217
|
+
/**
|
|
12218
|
+
* Idempotentreplay
|
|
12219
|
+
*
|
|
12220
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
12221
|
+
*/
|
|
12222
|
+
idempotentReplay?: boolean;
|
|
12223
|
+
};
|
|
12036
12224
|
/**
|
|
12037
12225
|
* OperationEnvelope[DisclosuresResponse]
|
|
12038
12226
|
*/
|
|
@@ -19108,6 +19296,81 @@ export type SqlStatementResponse = {
|
|
|
19108
19296
|
*/
|
|
19109
19297
|
execution_time_ms: number;
|
|
19110
19298
|
};
|
|
19299
|
+
/**
|
|
19300
|
+
* StatementDimension
|
|
19301
|
+
*
|
|
19302
|
+
* A management slice of a statement or trial balance.
|
|
19303
|
+
*/
|
|
19304
|
+
export type StatementDimension = {
|
|
19305
|
+
/**
|
|
19306
|
+
* Type
|
|
19307
|
+
*
|
|
19308
|
+
* The axis to slice by: `department`, `class`, and so on.
|
|
19309
|
+
*/
|
|
19310
|
+
type: string;
|
|
19311
|
+
/**
|
|
19312
|
+
* Member Id
|
|
19313
|
+
*
|
|
19314
|
+
* One member's lines only, by id, or `unallocated` for the lines no member of the axis tags. Omitted, a statement returns one column per member, then Unallocated, then Total, for the current window.
|
|
19315
|
+
*/
|
|
19316
|
+
member_id?: string | null;
|
|
19317
|
+
};
|
|
19318
|
+
/**
|
|
19319
|
+
* StatementDimensionColumn
|
|
19320
|
+
*
|
|
19321
|
+
* One column of a statement read by dimension.
|
|
19322
|
+
*/
|
|
19323
|
+
export type StatementDimensionColumn = {
|
|
19324
|
+
/**
|
|
19325
|
+
* Member Id
|
|
19326
|
+
*
|
|
19327
|
+
* The member the column reads, `unallocated` for the untagged lines, null for the Total.
|
|
19328
|
+
*/
|
|
19329
|
+
member_id?: string | null;
|
|
19330
|
+
/**
|
|
19331
|
+
* Name
|
|
19332
|
+
*
|
|
19333
|
+
* The column's label.
|
|
19334
|
+
*/
|
|
19335
|
+
name: string;
|
|
19336
|
+
};
|
|
19337
|
+
/**
|
|
19338
|
+
* StatementDimensionResponse
|
|
19339
|
+
*
|
|
19340
|
+
* How a statement was sliced, and whether the slice ties out.
|
|
19341
|
+
*/
|
|
19342
|
+
export type StatementDimensionResponse = {
|
|
19343
|
+
/**
|
|
19344
|
+
* Type
|
|
19345
|
+
*
|
|
19346
|
+
* The axis the statement was sliced by.
|
|
19347
|
+
*/
|
|
19348
|
+
type: string;
|
|
19349
|
+
/**
|
|
19350
|
+
* Member Id
|
|
19351
|
+
*
|
|
19352
|
+
* The one member read, when the statement was filtered to one; null when it was read by column.
|
|
19353
|
+
*/
|
|
19354
|
+
member_id?: string | null;
|
|
19355
|
+
/**
|
|
19356
|
+
* Columns
|
|
19357
|
+
*
|
|
19358
|
+
* Read by column: one per member, then Unallocated, then Total, aligned with each row's `values` and with `periods`. Empty when filtered to one member.
|
|
19359
|
+
*/
|
|
19360
|
+
columns?: Array<StatementDimensionColumn>;
|
|
19361
|
+
/**
|
|
19362
|
+
* Ties Out
|
|
19363
|
+
*
|
|
19364
|
+
* Read by column: whether every row's members plus Unallocated equal its Total. Null when filtered to one member.
|
|
19365
|
+
*/
|
|
19366
|
+
ties_out?: boolean | null;
|
|
19367
|
+
/**
|
|
19368
|
+
* Differences
|
|
19369
|
+
*
|
|
19370
|
+
* The rows whose members plus Unallocated miss the Total, by qname.
|
|
19371
|
+
*/
|
|
19372
|
+
differences?: Array<string>;
|
|
19373
|
+
};
|
|
19111
19374
|
/**
|
|
19112
19375
|
* StatementMechanics
|
|
19113
19376
|
*
|
|
@@ -19144,6 +19407,44 @@ export type StatementMechanics = {
|
|
|
19144
19407
|
*/
|
|
19145
19408
|
period_comparisons?: number;
|
|
19146
19409
|
};
|
|
19410
|
+
/**
|
|
19411
|
+
* StatementRowSource
|
|
19412
|
+
*
|
|
19413
|
+
* One account's part in a statement figure: what that account, in that
|
|
19414
|
+
* entity's books, contributed to the column.
|
|
19415
|
+
*/
|
|
19416
|
+
export type StatementRowSource = {
|
|
19417
|
+
/**
|
|
19418
|
+
* Entity Id
|
|
19419
|
+
*
|
|
19420
|
+
* The entity whose books hold the lines, the register to open.
|
|
19421
|
+
*/
|
|
19422
|
+
entity_id: string;
|
|
19423
|
+
/**
|
|
19424
|
+
* Account Id
|
|
19425
|
+
*
|
|
19426
|
+
* The account.
|
|
19427
|
+
*/
|
|
19428
|
+
account_id: string;
|
|
19429
|
+
/**
|
|
19430
|
+
* Code
|
|
19431
|
+
*
|
|
19432
|
+
* The account's code.
|
|
19433
|
+
*/
|
|
19434
|
+
code?: string | null;
|
|
19435
|
+
/**
|
|
19436
|
+
* Name
|
|
19437
|
+
*
|
|
19438
|
+
* The account's name.
|
|
19439
|
+
*/
|
|
19440
|
+
name: string;
|
|
19441
|
+
/**
|
|
19442
|
+
* Value
|
|
19443
|
+
*
|
|
19444
|
+
* What the account contributed, in the figure's sign.
|
|
19445
|
+
*/
|
|
19446
|
+
value: number;
|
|
19447
|
+
};
|
|
19147
19448
|
/**
|
|
19148
19449
|
* StorageItem
|
|
19149
19450
|
*
|
|
@@ -20588,6 +20889,32 @@ export type UpdateAgentRequest = {
|
|
|
20588
20889
|
[key: string]: unknown;
|
|
20589
20890
|
};
|
|
20590
20891
|
};
|
|
20892
|
+
/**
|
|
20893
|
+
* UpdateDimensionRequest
|
|
20894
|
+
*
|
|
20895
|
+
* Rename or retire a member. Members are never deleted: lines reference
|
|
20896
|
+
* them.
|
|
20897
|
+
*/
|
|
20898
|
+
export type UpdateDimensionRequest = {
|
|
20899
|
+
/**
|
|
20900
|
+
* Dimension Id
|
|
20901
|
+
*
|
|
20902
|
+
* The member to change.
|
|
20903
|
+
*/
|
|
20904
|
+
dimension_id: string;
|
|
20905
|
+
/**
|
|
20906
|
+
* Name
|
|
20907
|
+
*
|
|
20908
|
+
* The new label. Refused on a synced member, whose name follows its source.
|
|
20909
|
+
*/
|
|
20910
|
+
name?: string | null;
|
|
20911
|
+
/**
|
|
20912
|
+
* Is Active
|
|
20913
|
+
*
|
|
20914
|
+
* False retires the member: lines that carry it keep it, and it can no longer be put on new ones. True brings it back.
|
|
20915
|
+
*/
|
|
20916
|
+
is_active?: boolean | null;
|
|
20917
|
+
};
|
|
20591
20918
|
/**
|
|
20592
20919
|
* UpdateEntityRequest
|
|
20593
20920
|
*
|
|
@@ -21018,9 +21345,9 @@ export type UpdateInformationBlockRequest = ({
|
|
|
21018
21345
|
*
|
|
21019
21346
|
* Update a draft journal entry, or re-tag any entry's flows.
|
|
21020
21347
|
*
|
|
21021
|
-
* Posted entries accept only `line_flows
|
|
21022
|
-
* changes in place, closed month or not. Anything
|
|
21023
|
-
* a reversal and a corrected entry.
|
|
21348
|
+
* Posted entries accept only `line_flows` and `line_dimensions`: neither
|
|
21349
|
+
* moves a balance, so each changes in place, closed month or not. Anything
|
|
21350
|
+
* else on a posted entry is a reversal and a corrected entry.
|
|
21024
21351
|
*
|
|
21025
21352
|
* Omitted fields are left unchanged. If `line_items` is provided, the
|
|
21026
21353
|
* existing line items are replaced entirely (atomic delete + insert)
|
|
@@ -21064,6 +21391,12 @@ export type UpdateJournalEntryRequest = {
|
|
|
21064
21391
|
* Re-tag lines in place: each named line takes its `flow_qname` (null clears it), and when every line on that side of the entry then carries one flow, the lines on the other side not named here follow when they were in step with it — untagged, or carrying the flow the named lines carried before — so the cash line and the account line agree; a line tagged differently on purpose keeps its tag. Allowed on a posted entry, closed month included, and the only change one accepts; recorded on the entry as `flow_retags`, with what each changed line carried before. Not combinable with `line_items`, which replaces the lines (set `flow_qname` on them).
|
|
21065
21392
|
*/
|
|
21066
21393
|
line_flows?: Array<JournalEntryLineFlow> | null;
|
|
21394
|
+
/**
|
|
21395
|
+
* Line Dimensions
|
|
21396
|
+
*
|
|
21397
|
+
* Re-tag lines' management dimensions in place: each named line carries exactly the members given (empty clears them). A dimension moves no balance, so this is allowed on a posted entry, closed month included; recorded on the entry as `dimension_retags`, with what each line carried before. Not combinable with `line_items` (set `dimension_ids` on the new lines).
|
|
21398
|
+
*/
|
|
21399
|
+
line_dimensions?: Array<JournalEntryLineDimensions> | null;
|
|
21067
21400
|
};
|
|
21068
21401
|
/**
|
|
21069
21402
|
* UpdateMemberRoleRequest
|
|
@@ -30670,6 +31003,124 @@ export type UpdateAgentResponses = {
|
|
|
30670
31003
|
200: OperationEnvelopeLedgerAgentResponse;
|
|
30671
31004
|
};
|
|
30672
31005
|
export type UpdateAgentResponse = UpdateAgentResponses[keyof UpdateAgentResponses];
|
|
31006
|
+
export type CreateDimensionData = {
|
|
31007
|
+
body: CreateDimensionRequest;
|
|
31008
|
+
headers?: {
|
|
31009
|
+
/**
|
|
31010
|
+
* Idempotency-Key
|
|
31011
|
+
*/
|
|
31012
|
+
'Idempotency-Key'?: string | null;
|
|
31013
|
+
};
|
|
31014
|
+
path: {
|
|
31015
|
+
/**
|
|
31016
|
+
* Graph Id
|
|
31017
|
+
*/
|
|
31018
|
+
graph_id: string;
|
|
31019
|
+
};
|
|
31020
|
+
query?: never;
|
|
31021
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-dimension';
|
|
31022
|
+
};
|
|
31023
|
+
export type CreateDimensionErrors = {
|
|
31024
|
+
/**
|
|
31025
|
+
* Invalid request
|
|
31026
|
+
*/
|
|
31027
|
+
400: ErrorResponse;
|
|
31028
|
+
/**
|
|
31029
|
+
* Authentication required
|
|
31030
|
+
*/
|
|
31031
|
+
401: ErrorResponse;
|
|
31032
|
+
/**
|
|
31033
|
+
* Access denied
|
|
31034
|
+
*/
|
|
31035
|
+
403: ErrorResponse;
|
|
31036
|
+
/**
|
|
31037
|
+
* Resource not found
|
|
31038
|
+
*/
|
|
31039
|
+
404: ErrorResponse;
|
|
31040
|
+
/**
|
|
31041
|
+
* Idempotency-Key conflict — key reused with different body
|
|
31042
|
+
*/
|
|
31043
|
+
409: ErrorResponse;
|
|
31044
|
+
/**
|
|
31045
|
+
* Validation error
|
|
31046
|
+
*/
|
|
31047
|
+
422: ErrorResponse;
|
|
31048
|
+
/**
|
|
31049
|
+
* Rate limit exceeded
|
|
31050
|
+
*/
|
|
31051
|
+
429: ErrorResponse;
|
|
31052
|
+
/**
|
|
31053
|
+
* Internal server error
|
|
31054
|
+
*/
|
|
31055
|
+
500: ErrorResponse;
|
|
31056
|
+
};
|
|
31057
|
+
export type CreateDimensionError = CreateDimensionErrors[keyof CreateDimensionErrors];
|
|
31058
|
+
export type CreateDimensionResponses = {
|
|
31059
|
+
/**
|
|
31060
|
+
* Successful Response
|
|
31061
|
+
*/
|
|
31062
|
+
200: OperationEnvelopeDimensionResponse;
|
|
31063
|
+
};
|
|
31064
|
+
export type CreateDimensionResponse = CreateDimensionResponses[keyof CreateDimensionResponses];
|
|
31065
|
+
export type UpdateDimensionData = {
|
|
31066
|
+
body: UpdateDimensionRequest;
|
|
31067
|
+
headers?: {
|
|
31068
|
+
/**
|
|
31069
|
+
* Idempotency-Key
|
|
31070
|
+
*/
|
|
31071
|
+
'Idempotency-Key'?: string | null;
|
|
31072
|
+
};
|
|
31073
|
+
path: {
|
|
31074
|
+
/**
|
|
31075
|
+
* Graph Id
|
|
31076
|
+
*/
|
|
31077
|
+
graph_id: string;
|
|
31078
|
+
};
|
|
31079
|
+
query?: never;
|
|
31080
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-dimension';
|
|
31081
|
+
};
|
|
31082
|
+
export type UpdateDimensionErrors = {
|
|
31083
|
+
/**
|
|
31084
|
+
* Invalid request
|
|
31085
|
+
*/
|
|
31086
|
+
400: ErrorResponse;
|
|
31087
|
+
/**
|
|
31088
|
+
* Authentication required
|
|
31089
|
+
*/
|
|
31090
|
+
401: ErrorResponse;
|
|
31091
|
+
/**
|
|
31092
|
+
* Access denied
|
|
31093
|
+
*/
|
|
31094
|
+
403: ErrorResponse;
|
|
31095
|
+
/**
|
|
31096
|
+
* Resource not found
|
|
31097
|
+
*/
|
|
31098
|
+
404: ErrorResponse;
|
|
31099
|
+
/**
|
|
31100
|
+
* Idempotency-Key conflict — key reused with different body
|
|
31101
|
+
*/
|
|
31102
|
+
409: ErrorResponse;
|
|
31103
|
+
/**
|
|
31104
|
+
* Validation error
|
|
31105
|
+
*/
|
|
31106
|
+
422: ErrorResponse;
|
|
31107
|
+
/**
|
|
31108
|
+
* Rate limit exceeded
|
|
31109
|
+
*/
|
|
31110
|
+
429: ErrorResponse;
|
|
31111
|
+
/**
|
|
31112
|
+
* Internal server error
|
|
31113
|
+
*/
|
|
31114
|
+
500: ErrorResponse;
|
|
31115
|
+
};
|
|
31116
|
+
export type UpdateDimensionError = UpdateDimensionErrors[keyof UpdateDimensionErrors];
|
|
31117
|
+
export type UpdateDimensionResponses = {
|
|
31118
|
+
/**
|
|
31119
|
+
* Successful Response
|
|
31120
|
+
*/
|
|
31121
|
+
200: OperationEnvelopeDimensionResponse;
|
|
31122
|
+
};
|
|
31123
|
+
export type UpdateDimensionResponse = UpdateDimensionResponses[keyof UpdateDimensionResponses];
|
|
30673
31124
|
export type LearnClassificationDefaultsData = {
|
|
30674
31125
|
body: LearnClassificationDefaultsRequest;
|
|
30675
31126
|
headers?: {
|