@robosystems/client 2.21.0 → 2.23.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 +81 -3
- package/artifacts/LedgerClient.js +92 -1
- package/artifacts/LedgerClient.ts +190 -2
- package/artifacts/graphql/generated/graphql.d.ts +329 -0
- package/artifacts/graphql/generated/graphql.js +961 -59
- package/artifacts/graphql/generated/graphql.ts +1275 -59
- package/artifacts/graphql/queries/ledger/agedBalances.d.ts +27 -0
- package/artifacts/graphql/queries/ledger/agedBalances.js +136 -0
- package/artifacts/graphql/queries/ledger/agedBalances.ts +139 -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/journalEntries.js +5 -0
- package/artifacts/graphql/queries/ledger/journalEntries.ts +5 -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 +21 -5
- package/sdk/sdk.gen.js +40 -6
- package/sdk/sdk.gen.ts +39 -5
- package/sdk/types.gen.d.ts +449 -5
- package/sdk/types.gen.ts +468 -5
- package/sdk.gen.d.ts +21 -5
- package/sdk.gen.js +40 -6
- package/sdk.gen.ts +39 -5
- package/types.gen.d.ts +449 -5
- package/types.gen.ts +468 -5
package/sdk/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
|
*
|
|
@@ -3366,6 +3391,18 @@ export type CreateEventBlockRequest = {
|
|
|
3366
3391
|
* Accounting recognition date, if different from occurred_at
|
|
3367
3392
|
*/
|
|
3368
3393
|
effective_at?: string | null;
|
|
3394
|
+
/**
|
|
3395
|
+
* Due Date
|
|
3396
|
+
*
|
|
3397
|
+
* When an obligation falls due: an `invoice_issued` or a `bill_received`. Give it, or `terms_days`; with neither, the obligation is due on receipt. Refused on any other event type.
|
|
3398
|
+
*/
|
|
3399
|
+
due_date?: string | null;
|
|
3400
|
+
/**
|
|
3401
|
+
* Terms Days
|
|
3402
|
+
*
|
|
3403
|
+
* Net terms in days from `occurred_at` (30 for net 30), in place of `due_date`. Only on an `invoice_issued` or a `bill_received`.
|
|
3404
|
+
*/
|
|
3405
|
+
terms_days?: number | null;
|
|
3369
3406
|
/**
|
|
3370
3407
|
* Source
|
|
3371
3408
|
*
|
|
@@ -3413,7 +3450,7 @@ export type CreateEventBlockRequest = {
|
|
|
3413
3450
|
/**
|
|
3414
3451
|
* Dimension Ids
|
|
3415
3452
|
*
|
|
3416
|
-
*
|
|
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.
|
|
3417
3454
|
*/
|
|
3418
3455
|
dimension_ids?: Array<string>;
|
|
3419
3456
|
/**
|
|
@@ -5220,10 +5257,84 @@ export type Dimension = {
|
|
|
5220
5257
|
*/
|
|
5221
5258
|
members?: Array<string>;
|
|
5222
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
|
+
};
|
|
5223
5315
|
/**
|
|
5224
5316
|
* DimensionType
|
|
5225
5317
|
*/
|
|
5226
5318
|
export type DimensionType = 'element' | 'period' | 'entity';
|
|
5319
|
+
/**
|
|
5320
|
+
* DischargeAllocation
|
|
5321
|
+
*
|
|
5322
|
+
* How much of a payment went to one invoice or bill.
|
|
5323
|
+
*/
|
|
5324
|
+
export type DischargeAllocation = {
|
|
5325
|
+
/**
|
|
5326
|
+
* Obligation Event Id
|
|
5327
|
+
*
|
|
5328
|
+
* The `invoice_issued` or `bill_received` event it settles.
|
|
5329
|
+
*/
|
|
5330
|
+
obligation_event_id: string;
|
|
5331
|
+
/**
|
|
5332
|
+
* Amount
|
|
5333
|
+
*
|
|
5334
|
+
* Positive cents of the payment applied to it.
|
|
5335
|
+
*/
|
|
5336
|
+
amount: number;
|
|
5337
|
+
};
|
|
5227
5338
|
/**
|
|
5228
5339
|
* DisclosuresRequest
|
|
5229
5340
|
*
|
|
@@ -6018,6 +6129,12 @@ export type EntryTemplateRequest = {
|
|
|
6018
6129
|
* Auto-generate a reversing entry on the first day of the next period
|
|
6019
6130
|
*/
|
|
6020
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>;
|
|
6021
6138
|
};
|
|
6022
6139
|
/**
|
|
6023
6140
|
* ErrorResponse
|
|
@@ -6164,6 +6281,12 @@ export type EventBlockEnvelope = {
|
|
|
6164
6281
|
* Accounting recognition date, when different from `occurred_at`.
|
|
6165
6282
|
*/
|
|
6166
6283
|
effective_at?: string | null;
|
|
6284
|
+
/**
|
|
6285
|
+
* Due Date
|
|
6286
|
+
*
|
|
6287
|
+
* When the obligation falls due (an `invoice_issued` or a `bill_received`); null when none was stated, which reads as due on receipt, and on every other event type.
|
|
6288
|
+
*/
|
|
6289
|
+
due_date?: string | null;
|
|
6167
6290
|
/**
|
|
6168
6291
|
* Source
|
|
6169
6292
|
*
|
|
@@ -9036,6 +9159,25 @@ export type InvoicesResponse = {
|
|
|
9036
9159
|
*/
|
|
9037
9160
|
has_more: boolean;
|
|
9038
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
|
+
};
|
|
9039
9181
|
/**
|
|
9040
9182
|
* JournalEntryLineFlow
|
|
9041
9183
|
*
|
|
@@ -9094,6 +9236,12 @@ export type JournalEntryLineItemInput = {
|
|
|
9094
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.
|
|
9095
9237
|
*/
|
|
9096
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;
|
|
9097
9245
|
/**
|
|
9098
9246
|
* Metadata
|
|
9099
9247
|
*
|
|
@@ -9139,6 +9287,12 @@ export type JournalEntryLineItemResponse = {
|
|
|
9139
9287
|
* The cash flow row this line carries, when tagged; null means the account's default flow.
|
|
9140
9288
|
*/
|
|
9141
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>;
|
|
9142
9296
|
};
|
|
9143
9297
|
/**
|
|
9144
9298
|
* JournalEntryResponse
|
|
@@ -10179,6 +10333,10 @@ export type LiveFinancialStatementRequest = {
|
|
|
10179
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.
|
|
10180
10334
|
*/
|
|
10181
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;
|
|
10182
10340
|
};
|
|
10183
10341
|
/**
|
|
10184
10342
|
* LiveFinancialStatementResponse
|
|
@@ -10250,6 +10408,10 @@ export type LiveFinancialStatementResponse = {
|
|
|
10250
10408
|
* Truncated
|
|
10251
10409
|
*/
|
|
10252
10410
|
truncated?: boolean;
|
|
10411
|
+
/**
|
|
10412
|
+
* 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.
|
|
10413
|
+
*/
|
|
10414
|
+
dimension?: StatementDimensionResponse | null;
|
|
10253
10415
|
};
|
|
10254
10416
|
/**
|
|
10255
10417
|
* LiveStatementFactRow
|
|
@@ -11996,6 +12158,51 @@ export type OperationEnvelopeDescribeFilingResponse = {
|
|
|
11996
12158
|
*/
|
|
11997
12159
|
idempotentReplay?: boolean;
|
|
11998
12160
|
};
|
|
12161
|
+
/**
|
|
12162
|
+
* OperationEnvelope[DimensionResponse]
|
|
12163
|
+
*/
|
|
12164
|
+
export type OperationEnvelopeDimensionResponse = {
|
|
12165
|
+
/**
|
|
12166
|
+
* Operation
|
|
12167
|
+
*
|
|
12168
|
+
* Kebab-case operation name
|
|
12169
|
+
*/
|
|
12170
|
+
operation: string;
|
|
12171
|
+
/**
|
|
12172
|
+
* Operationid
|
|
12173
|
+
*
|
|
12174
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
12175
|
+
*/
|
|
12176
|
+
operationId: string;
|
|
12177
|
+
/**
|
|
12178
|
+
* Status
|
|
12179
|
+
*
|
|
12180
|
+
* Operation lifecycle state
|
|
12181
|
+
*/
|
|
12182
|
+
status: 'completed' | 'pending' | 'failed';
|
|
12183
|
+
/**
|
|
12184
|
+
* Command-specific result payload
|
|
12185
|
+
*/
|
|
12186
|
+
result?: DimensionResponse | null;
|
|
12187
|
+
/**
|
|
12188
|
+
* At
|
|
12189
|
+
*
|
|
12190
|
+
* ISO-8601 UTC timestamp
|
|
12191
|
+
*/
|
|
12192
|
+
at: string;
|
|
12193
|
+
/**
|
|
12194
|
+
* Createdby
|
|
12195
|
+
*
|
|
12196
|
+
* User ID that initiated the operation
|
|
12197
|
+
*/
|
|
12198
|
+
createdBy?: string | null;
|
|
12199
|
+
/**
|
|
12200
|
+
* Idempotentreplay
|
|
12201
|
+
*
|
|
12202
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
12203
|
+
*/
|
|
12204
|
+
idempotentReplay?: boolean;
|
|
12205
|
+
};
|
|
11999
12206
|
/**
|
|
12000
12207
|
* OperationEnvelope[DisclosuresResponse]
|
|
12001
12208
|
*/
|
|
@@ -19071,6 +19278,81 @@ export type SqlStatementResponse = {
|
|
|
19071
19278
|
*/
|
|
19072
19279
|
execution_time_ms: number;
|
|
19073
19280
|
};
|
|
19281
|
+
/**
|
|
19282
|
+
* StatementDimension
|
|
19283
|
+
*
|
|
19284
|
+
* A management slice of a statement or trial balance.
|
|
19285
|
+
*/
|
|
19286
|
+
export type StatementDimension = {
|
|
19287
|
+
/**
|
|
19288
|
+
* Type
|
|
19289
|
+
*
|
|
19290
|
+
* The axis to slice by: `department`, `class`, and so on.
|
|
19291
|
+
*/
|
|
19292
|
+
type: string;
|
|
19293
|
+
/**
|
|
19294
|
+
* Member Id
|
|
19295
|
+
*
|
|
19296
|
+
* 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.
|
|
19297
|
+
*/
|
|
19298
|
+
member_id?: string | null;
|
|
19299
|
+
};
|
|
19300
|
+
/**
|
|
19301
|
+
* StatementDimensionColumn
|
|
19302
|
+
*
|
|
19303
|
+
* One column of a statement read by dimension.
|
|
19304
|
+
*/
|
|
19305
|
+
export type StatementDimensionColumn = {
|
|
19306
|
+
/**
|
|
19307
|
+
* Member Id
|
|
19308
|
+
*
|
|
19309
|
+
* The member the column reads, `unallocated` for the untagged lines, null for the Total.
|
|
19310
|
+
*/
|
|
19311
|
+
member_id?: string | null;
|
|
19312
|
+
/**
|
|
19313
|
+
* Name
|
|
19314
|
+
*
|
|
19315
|
+
* The column's label.
|
|
19316
|
+
*/
|
|
19317
|
+
name: string;
|
|
19318
|
+
};
|
|
19319
|
+
/**
|
|
19320
|
+
* StatementDimensionResponse
|
|
19321
|
+
*
|
|
19322
|
+
* How a statement was sliced, and whether the slice ties out.
|
|
19323
|
+
*/
|
|
19324
|
+
export type StatementDimensionResponse = {
|
|
19325
|
+
/**
|
|
19326
|
+
* Type
|
|
19327
|
+
*
|
|
19328
|
+
* The axis the statement was sliced by.
|
|
19329
|
+
*/
|
|
19330
|
+
type: string;
|
|
19331
|
+
/**
|
|
19332
|
+
* Member Id
|
|
19333
|
+
*
|
|
19334
|
+
* The one member read, when the statement was filtered to one; null when it was read by column.
|
|
19335
|
+
*/
|
|
19336
|
+
member_id?: string | null;
|
|
19337
|
+
/**
|
|
19338
|
+
* Columns
|
|
19339
|
+
*
|
|
19340
|
+
* 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.
|
|
19341
|
+
*/
|
|
19342
|
+
columns?: Array<StatementDimensionColumn>;
|
|
19343
|
+
/**
|
|
19344
|
+
* Ties Out
|
|
19345
|
+
*
|
|
19346
|
+
* Read by column: whether every row's members plus Unallocated equal its Total. Null when filtered to one member.
|
|
19347
|
+
*/
|
|
19348
|
+
ties_out?: boolean | null;
|
|
19349
|
+
/**
|
|
19350
|
+
* Differences
|
|
19351
|
+
*
|
|
19352
|
+
* The rows whose members plus Unallocated miss the Total, by qname.
|
|
19353
|
+
*/
|
|
19354
|
+
differences?: Array<string>;
|
|
19355
|
+
};
|
|
19074
19356
|
/**
|
|
19075
19357
|
* StatementMechanics
|
|
19076
19358
|
*
|
|
@@ -20551,6 +20833,32 @@ export type UpdateAgentRequest = {
|
|
|
20551
20833
|
[key: string]: unknown;
|
|
20552
20834
|
};
|
|
20553
20835
|
};
|
|
20836
|
+
/**
|
|
20837
|
+
* UpdateDimensionRequest
|
|
20838
|
+
*
|
|
20839
|
+
* Rename or retire a member. Members are never deleted: lines reference
|
|
20840
|
+
* them.
|
|
20841
|
+
*/
|
|
20842
|
+
export type UpdateDimensionRequest = {
|
|
20843
|
+
/**
|
|
20844
|
+
* Dimension Id
|
|
20845
|
+
*
|
|
20846
|
+
* The member to change.
|
|
20847
|
+
*/
|
|
20848
|
+
dimension_id: string;
|
|
20849
|
+
/**
|
|
20850
|
+
* Name
|
|
20851
|
+
*
|
|
20852
|
+
* The new label. Refused on a synced member, whose name follows its source.
|
|
20853
|
+
*/
|
|
20854
|
+
name?: string | null;
|
|
20855
|
+
/**
|
|
20856
|
+
* Is Active
|
|
20857
|
+
*
|
|
20858
|
+
* False retires the member: lines that carry it keep it, and it can no longer be put on new ones. True brings it back.
|
|
20859
|
+
*/
|
|
20860
|
+
is_active?: boolean | null;
|
|
20861
|
+
};
|
|
20554
20862
|
/**
|
|
20555
20863
|
* UpdateEntityRequest
|
|
20556
20864
|
*
|
|
@@ -20727,6 +21035,12 @@ export type UpdateEventBlockRequest = {
|
|
|
20727
21035
|
* New accounting recognition date. Unset = unchanged. Useful when an event was captured against the wrong period.
|
|
20728
21036
|
*/
|
|
20729
21037
|
effective_at?: string | null;
|
|
21038
|
+
/**
|
|
21039
|
+
* Due Date
|
|
21040
|
+
*
|
|
21041
|
+
* New due date of an obligation (an `invoice_issued` or a `bill_received`), such as an extension granted. Unset = unchanged. It moves no ledger row, so it is accepted in a closed period.
|
|
21042
|
+
*/
|
|
21043
|
+
due_date?: string | null;
|
|
20730
21044
|
/**
|
|
20731
21045
|
* Metadata Patch
|
|
20732
21046
|
*
|
|
@@ -20750,9 +21064,15 @@ export type UpdateEventBlockRequest = {
|
|
|
20750
21064
|
/**
|
|
20751
21065
|
* Discharges Event Id
|
|
20752
21066
|
*
|
|
20753
|
-
* Set
|
|
21067
|
+
* Set the settlement link: the one invoice or bill this payment settles, at its full amount; an empty string clears it. Replaces any `discharge_allocations`. Checked as they are.
|
|
20754
21068
|
*/
|
|
20755
21069
|
discharges_event_id?: string | null;
|
|
21070
|
+
/**
|
|
21071
|
+
* Discharge Allocations
|
|
21072
|
+
*
|
|
21073
|
+
* What this payment settles, document by document: one row per invoice or bill with the positive cents applied to it, together at most the payment's amount (the rest is unapplied). Replaces any held; an empty list clears them, and the settlement link becomes the first row's. Each must be an obligation of this event's entity, not voided: an invoice for money in, a bill for money out. A person chooses them; the open items a bank line may settle are `dischargeCandidates` over GraphQL.
|
|
21074
|
+
*/
|
|
21075
|
+
discharge_allocations?: Array<DischargeAllocation> | null;
|
|
20756
21076
|
/**
|
|
20757
21077
|
* Document Id
|
|
20758
21078
|
*
|
|
@@ -20969,9 +21289,9 @@ export type UpdateInformationBlockRequest = ({
|
|
|
20969
21289
|
*
|
|
20970
21290
|
* Update a draft journal entry, or re-tag any entry's flows.
|
|
20971
21291
|
*
|
|
20972
|
-
* Posted entries accept only `line_flows
|
|
20973
|
-
* changes in place, closed month or not. Anything
|
|
20974
|
-
* a reversal and a corrected entry.
|
|
21292
|
+
* Posted entries accept only `line_flows` and `line_dimensions`: neither
|
|
21293
|
+
* moves a balance, so each changes in place, closed month or not. Anything
|
|
21294
|
+
* else on a posted entry is a reversal and a corrected entry.
|
|
20975
21295
|
*
|
|
20976
21296
|
* Omitted fields are left unchanged. If `line_items` is provided, the
|
|
20977
21297
|
* existing line items are replaced entirely (atomic delete + insert)
|
|
@@ -21015,6 +21335,12 @@ export type UpdateJournalEntryRequest = {
|
|
|
21015
21335
|
* 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).
|
|
21016
21336
|
*/
|
|
21017
21337
|
line_flows?: Array<JournalEntryLineFlow> | null;
|
|
21338
|
+
/**
|
|
21339
|
+
* Line Dimensions
|
|
21340
|
+
*
|
|
21341
|
+
* 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).
|
|
21342
|
+
*/
|
|
21343
|
+
line_dimensions?: Array<JournalEntryLineDimensions> | null;
|
|
21018
21344
|
};
|
|
21019
21345
|
/**
|
|
21020
21346
|
* UpdateMemberRoleRequest
|
|
@@ -30621,6 +30947,124 @@ export type UpdateAgentResponses = {
|
|
|
30621
30947
|
200: OperationEnvelopeLedgerAgentResponse;
|
|
30622
30948
|
};
|
|
30623
30949
|
export type UpdateAgentResponse = UpdateAgentResponses[keyof UpdateAgentResponses];
|
|
30950
|
+
export type CreateDimensionData = {
|
|
30951
|
+
body: CreateDimensionRequest;
|
|
30952
|
+
headers?: {
|
|
30953
|
+
/**
|
|
30954
|
+
* Idempotency-Key
|
|
30955
|
+
*/
|
|
30956
|
+
'Idempotency-Key'?: string | null;
|
|
30957
|
+
};
|
|
30958
|
+
path: {
|
|
30959
|
+
/**
|
|
30960
|
+
* Graph Id
|
|
30961
|
+
*/
|
|
30962
|
+
graph_id: string;
|
|
30963
|
+
};
|
|
30964
|
+
query?: never;
|
|
30965
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-dimension';
|
|
30966
|
+
};
|
|
30967
|
+
export type CreateDimensionErrors = {
|
|
30968
|
+
/**
|
|
30969
|
+
* Invalid request
|
|
30970
|
+
*/
|
|
30971
|
+
400: ErrorResponse;
|
|
30972
|
+
/**
|
|
30973
|
+
* Authentication required
|
|
30974
|
+
*/
|
|
30975
|
+
401: ErrorResponse;
|
|
30976
|
+
/**
|
|
30977
|
+
* Access denied
|
|
30978
|
+
*/
|
|
30979
|
+
403: ErrorResponse;
|
|
30980
|
+
/**
|
|
30981
|
+
* Resource not found
|
|
30982
|
+
*/
|
|
30983
|
+
404: ErrorResponse;
|
|
30984
|
+
/**
|
|
30985
|
+
* Idempotency-Key conflict — key reused with different body
|
|
30986
|
+
*/
|
|
30987
|
+
409: ErrorResponse;
|
|
30988
|
+
/**
|
|
30989
|
+
* Validation error
|
|
30990
|
+
*/
|
|
30991
|
+
422: ErrorResponse;
|
|
30992
|
+
/**
|
|
30993
|
+
* Rate limit exceeded
|
|
30994
|
+
*/
|
|
30995
|
+
429: ErrorResponse;
|
|
30996
|
+
/**
|
|
30997
|
+
* Internal server error
|
|
30998
|
+
*/
|
|
30999
|
+
500: ErrorResponse;
|
|
31000
|
+
};
|
|
31001
|
+
export type CreateDimensionError = CreateDimensionErrors[keyof CreateDimensionErrors];
|
|
31002
|
+
export type CreateDimensionResponses = {
|
|
31003
|
+
/**
|
|
31004
|
+
* Successful Response
|
|
31005
|
+
*/
|
|
31006
|
+
200: OperationEnvelopeDimensionResponse;
|
|
31007
|
+
};
|
|
31008
|
+
export type CreateDimensionResponse = CreateDimensionResponses[keyof CreateDimensionResponses];
|
|
31009
|
+
export type UpdateDimensionData = {
|
|
31010
|
+
body: UpdateDimensionRequest;
|
|
31011
|
+
headers?: {
|
|
31012
|
+
/**
|
|
31013
|
+
* Idempotency-Key
|
|
31014
|
+
*/
|
|
31015
|
+
'Idempotency-Key'?: string | null;
|
|
31016
|
+
};
|
|
31017
|
+
path: {
|
|
31018
|
+
/**
|
|
31019
|
+
* Graph Id
|
|
31020
|
+
*/
|
|
31021
|
+
graph_id: string;
|
|
31022
|
+
};
|
|
31023
|
+
query?: never;
|
|
31024
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-dimension';
|
|
31025
|
+
};
|
|
31026
|
+
export type UpdateDimensionErrors = {
|
|
31027
|
+
/**
|
|
31028
|
+
* Invalid request
|
|
31029
|
+
*/
|
|
31030
|
+
400: ErrorResponse;
|
|
31031
|
+
/**
|
|
31032
|
+
* Authentication required
|
|
31033
|
+
*/
|
|
31034
|
+
401: ErrorResponse;
|
|
31035
|
+
/**
|
|
31036
|
+
* Access denied
|
|
31037
|
+
*/
|
|
31038
|
+
403: ErrorResponse;
|
|
31039
|
+
/**
|
|
31040
|
+
* Resource not found
|
|
31041
|
+
*/
|
|
31042
|
+
404: ErrorResponse;
|
|
31043
|
+
/**
|
|
31044
|
+
* Idempotency-Key conflict — key reused with different body
|
|
31045
|
+
*/
|
|
31046
|
+
409: ErrorResponse;
|
|
31047
|
+
/**
|
|
31048
|
+
* Validation error
|
|
31049
|
+
*/
|
|
31050
|
+
422: ErrorResponse;
|
|
31051
|
+
/**
|
|
31052
|
+
* Rate limit exceeded
|
|
31053
|
+
*/
|
|
31054
|
+
429: ErrorResponse;
|
|
31055
|
+
/**
|
|
31056
|
+
* Internal server error
|
|
31057
|
+
*/
|
|
31058
|
+
500: ErrorResponse;
|
|
31059
|
+
};
|
|
31060
|
+
export type UpdateDimensionError = UpdateDimensionErrors[keyof UpdateDimensionErrors];
|
|
31061
|
+
export type UpdateDimensionResponses = {
|
|
31062
|
+
/**
|
|
31063
|
+
* Successful Response
|
|
31064
|
+
*/
|
|
31065
|
+
200: OperationEnvelopeDimensionResponse;
|
|
31066
|
+
};
|
|
31067
|
+
export type UpdateDimensionResponse = UpdateDimensionResponses[keyof UpdateDimensionResponses];
|
|
30624
31068
|
export type LearnClassificationDefaultsData = {
|
|
30625
31069
|
body: LearnClassificationDefaultsRequest;
|
|
30626
31070
|
headers?: {
|