@robosystems/client 2.33.1 → 2.33.3
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 +16 -4
- package/artifacts/LedgerClient.js +19 -2
- package/artifacts/LedgerClient.ts +31 -3
- package/artifacts/graphql/generated/graphql.d.ts +4 -0
- package/artifacts/graphql/generated/graphql.js +4 -0
- package/artifacts/graphql/generated/graphql.ts +8 -0
- package/artifacts/graphql/queries/ledger/entities.js +1 -0
- package/artifacts/graphql/queries/ledger/entities.ts +1 -0
- package/artifacts/graphql/queries/ledger/entity.js +1 -0
- package/artifacts/graphql/queries/ledger/entity.ts +1 -0
- package/artifacts/graphql/queries/ledger/fiscalCalendar.js +2 -0
- package/artifacts/graphql/queries/ledger/fiscalCalendar.ts +2 -0
- package/artifacts/graphql/queries/ledger/reportDownloadUrl.d.ts +1 -1
- package/artifacts/graphql/queries/ledger/reportDownloadUrl.js +1 -1
- package/artifacts/graphql/queries/ledger/reportDownloadUrl.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AcceptSuggestionsRequest, AcceptSuggestionsResponse, AcquisitionResponse, AllocationOverrideResponse, AssociationResponse, AutoMapElementsOperation, BindTextBlockRequest, BindTextBlockResponse, BlockedSourceGraphResponse, BlockSourceGraphResult, ComputeMetricsRequest, ComputeMetricsResponse, ConsolidationProposal, ConsolidationWorksheetRequest, ConsolidationWorksheetResponse, CreateAgentRequest, CreateDimensionRequest, CreateEntityRequest, CreateEventBlockRequest, CreateEventHandlerRequest, CreateInformationBlockRequest, CreateMappingAssociationOperation, CreateTaxonomyBlockRequest, CreateViewRequest, DeleteInformationBlockRequest, DeleteInformationBlockResponse, DeleteMappingAssociationOperation, DeleteResult, DeleteTaxonomyBlockRequest, DeleteTaxonomyBlockResponse, DimensionResponse, EntityTaxonomyResponse, EvaluateRulesRequest, EvaluateRulesResponse, EventBlockEnvelope, EventHandlerResponse, FinancialStatementAnalysisRequest, FinancialStatementAnalysisResponse, InformationBlockEnvelope, InitializeChartOfAccountsRequest, JournalEntryResponse, LearnClassificationDefaultsResponse, LedgerAgentResponse, LinkBankAccountRequest, LinkBankAccountResponse, LinkEntityTaxonomyRequest, LiveFinancialStatementRequest, LiveFinancialStatementResponse, OperationEnvelope, OwnershipChangeResponse, PreviewConsolidationEntriesResponse, PreviewEventBlockResponse, PreviewReconciliationsRequest, PromoteObligationsRequest, PromoteObligationsResponse, ProposeConsolidationEntriesResponse, PublishListMemberResponse, PublishListResponse, ReconcilingItemPlan, RecordAcquisitionRequest, RecordOpeningBalanceRequest, RecordOwnershipChangeRequest, ReportResponse, ResolveReconcilingItemRequest, ResolveReconcilingItemResponse, RevokeReportShareResponse, SetAllocationOverrideRequest, ShareReportResponse, TaxonomyBlockEnvelope, UpdateAgentRequest, UpdateDimensionRequest, UpdateEntityRequest, UpdateEventBlockRequest, UpdateEventHandlerRequest, UpdateInformationBlockRequest, UpdateJournalEntryRequest, UpdateTaxonomyBlockRequest, ViewResponse } from '../types.gen';
|
|
1
|
+
import type { AcceptSuggestionsRequest, AcceptSuggestionsResponse, AcquisitionResponse, AllocationOverrideResponse, AssociationResponse, AutoMapElementsOperation, BindTextBlockRequest, BindTextBlockResponse, BlockedSourceGraphResponse, BlockSourceGraphResult, ComputeMetricsRequest, ComputeMetricsResponse, ConsolidationProposal, ConsolidationWorksheetRequest, ConsolidationWorksheetResponse, CreateAgentRequest, CreateDimensionRequest, CreateEntityRequest, CreateEventBlockRequest, CreateEventHandlerRequest, CreateInformationBlockRequest, CreateMappingAssociationOperation, CreateTaxonomyBlockRequest, CreateViewRequest, DeconsolidationResponse, DeleteInformationBlockRequest, DeleteInformationBlockResponse, DeleteMappingAssociationOperation, DeleteResult, DeleteTaxonomyBlockRequest, DeleteTaxonomyBlockResponse, DimensionResponse, EntityTaxonomyResponse, EvaluateRulesRequest, EvaluateRulesResponse, EventBlockEnvelope, EventHandlerResponse, FinancialStatementAnalysisRequest, FinancialStatementAnalysisResponse, InformationBlockEnvelope, InitializeChartOfAccountsRequest, JournalEntryResponse, LearnClassificationDefaultsResponse, LedgerAgentResponse, LinkBankAccountRequest, LinkBankAccountResponse, LinkEntityTaxonomyRequest, LiveFinancialStatementRequest, LiveFinancialStatementResponse, OperationEnvelope, OwnershipChangeResponse, PreviewConsolidationEntriesResponse, PreviewEventBlockResponse, PreviewReconciliationsRequest, PromoteObligationsRequest, PromoteObligationsResponse, ProposeConsolidationEntriesResponse, PublishListMemberResponse, PublishListResponse, ReconcilingItemPlan, RecordAcquisitionRequest, RecordDeconsolidationRequest, RecordOpeningBalanceRequest, RecordOwnershipChangeRequest, ReportResponse, ResolveReconcilingItemRequest, ResolveReconcilingItemResponse, RevokeReportShareResponse, SetAllocationOverrideRequest, ShareReportResponse, TaxonomyBlockEnvelope, UpdateAgentRequest, UpdateDimensionRequest, UpdateEntityRequest, UpdateEventBlockRequest, UpdateEventHandlerRequest, UpdateInformationBlockRequest, UpdateJournalEntryRequest, UpdateTaxonomyBlockRequest, ViewResponse } from '../types.gen';
|
|
2
2
|
import type { TokenProvider } from './graphql/client';
|
|
3
3
|
import { ListLedgerBankAccountsQuery, type AgedReceivablesQuery, type ClassificationStatsQuery, type DischargeCandidatesQuery, type FlowCandidatesQuery, type GetInformationBlockQuery, type GetLedgerAccountRegisterQuery, type GetLedgerAccountRollupsQuery, type GetLedgerAccountTreeQuery, type GetLedgerAgentQuery, type GetLedgerAllocationShareQuery, type GetLedgerClosingBookStructuresQuery, type GetLedgerEntityQuery, type GetLedgerEventBlockQuery, type GetLedgerFiscalCalendarQuery, type GetLedgerMappedTrialBalanceQuery, type GetLedgerMappingCoverageQuery, type GetLedgerMappingQuery, type GetLedgerPeriodCloseStatusQuery, type GetLedgerPeriodDraftsQuery, type GetLedgerPublishListQuery, type GetLedgerReportingTaxonomyQuery, type GetLedgerReportPackageQuery, type GetLedgerReportQuery, type GetLedgerStatementQuery, type GetLedgerSummaryQuery, type GetLedgerTransactionQuery, type GetLedgerTrialBalanceQuery, type ListChartTemplatesQuery, type ListInformationBlocksQuery, type ListInformationBlockSummariesQuery, type ListLedgerAccountsQuery, type ListLedgerAgentsQuery, type ListLedgerAllocationOverridesQuery, type ListLedgerBlockedSourceGraphsQuery, type ListLedgerDimensionsQuery, type ListLedgerElementsQuery, type ListLedgerEntitiesQuery, type ListLedgerEventBlocksQuery, type ListLedgerEventHandlersQuery, type ListLedgerJournalEntriesQuery, type ListLedgerMappingsQuery, type ListLedgerPublishListsQuery, type ListLedgerReconciliationsQuery, type ListLedgerReportSharesQuery, type ListLedgerReportsQuery, type ListLedgerStructuresQuery, type ListLedgerTaxonomiesQuery, type ListLedgerTransactionsQuery, type ListLedgerUnmappedElementsQuery, type MappingCandidatesQuery, type OpenItemsForAgentQuery, type ReportDownloadFormat, type ReportLifecycle } from './graphql/generated/graphql';
|
|
4
4
|
export { GraphQLError } from './graphql/client';
|
|
@@ -123,7 +123,7 @@ export interface ReportBundleDownloadResponse {
|
|
|
123
123
|
expiresAt: string;
|
|
124
124
|
/** MIME type of the artifact behind the URL. */
|
|
125
125
|
contentType: string;
|
|
126
|
-
/** Serialization flavor — ``tavi``, ``holon-jsonld`` or ``xbrl-2.1``. */
|
|
126
|
+
/** Serialization flavor — ``tavi``, ``holon-jsonld``, ``holon-jsonld-lineage`` or ``xbrl-2.1``. */
|
|
127
127
|
format: string;
|
|
128
128
|
/** Bundle generation number stamped on the Report. */
|
|
129
129
|
generationCount: number;
|
|
@@ -1326,6 +1326,16 @@ export declare class LedgerClient {
|
|
|
1326
1326
|
* posts — an equity transaction under ASC 810, never a gain or loss.
|
|
1327
1327
|
*/
|
|
1328
1328
|
recordOwnershipChange(graphId: string, body: RecordOwnershipChangeRequest): Promise<OwnershipChangeResponse>;
|
|
1329
|
+
/**
|
|
1330
|
+
* Record a member's leaving the group once `left_on` is set on it: what the
|
|
1331
|
+
* parent received for its shares in cents (0 for a dissolution) and the
|
|
1332
|
+
* basis. Writes a draft in the consolidation entity, dated the first day of
|
|
1333
|
+
* the month after the member's last, that its close posts: what the entity
|
|
1334
|
+
* still held for the member is taken off, a member in full has its results
|
|
1335
|
+
* put back into the group's equity, and the difference is the gain or loss
|
|
1336
|
+
* on its leaving — the group's adjustment to the parent's own gain (ASC 810).
|
|
1337
|
+
*/
|
|
1338
|
+
recordDeconsolidation(graphId: string, body: RecordDeconsolidationRequest): Promise<DeconsolidationResponse>;
|
|
1329
1339
|
/**
|
|
1330
1340
|
* Create an event block directly. Use for support-class events
|
|
1331
1341
|
* (`event_class: 'support'`) with categories `approval`, `control`,
|
|
@@ -1528,8 +1538,10 @@ export declare class LedgerClient {
|
|
|
1528
1538
|
* @param graphId Graph identifier owning the Report.
|
|
1529
1539
|
* @param reportId Report identifier (rpt_-prefixed ULID).
|
|
1530
1540
|
* @param options.format Serialization flavor — `HOLON_JSONLD` (default, the
|
|
1531
|
-
* holon, which carries the whole report), `
|
|
1532
|
-
*
|
|
1541
|
+
* holon, which carries the whole report), `HOLON_JSONLD_LINEAGE` (the
|
|
1542
|
+
* holon with its `#lineage` graph: the ledger lines, entries and events
|
|
1543
|
+
* behind every frozen figure, for this graph's own members), `TAVI` (the
|
|
1544
|
+
* Project Tavi compiled model stamped at publish), or `XBRL_2_1`.
|
|
1533
1545
|
* @param options.expiresIn Presigned URL lifetime, in seconds.
|
|
1534
1546
|
*/
|
|
1535
1547
|
getReportDownloadUrl(graphId: string, reportId: string, options?: {
|
|
@@ -1278,6 +1278,19 @@ class LedgerClient {
|
|
|
1278
1278
|
const envelope = await this.callOperation('Record ownership change', (o) => (0, sdk_gen_1.recordOwnershipChange)({ ...o, path: { graph_id: graphId }, body }));
|
|
1279
1279
|
return this.requireResult('Record ownership change', envelope.result);
|
|
1280
1280
|
}
|
|
1281
|
+
/**
|
|
1282
|
+
* Record a member's leaving the group once `left_on` is set on it: what the
|
|
1283
|
+
* parent received for its shares in cents (0 for a dissolution) and the
|
|
1284
|
+
* basis. Writes a draft in the consolidation entity, dated the first day of
|
|
1285
|
+
* the month after the member's last, that its close posts: what the entity
|
|
1286
|
+
* still held for the member is taken off, a member in full has its results
|
|
1287
|
+
* put back into the group's equity, and the difference is the gain or loss
|
|
1288
|
+
* on its leaving — the group's adjustment to the parent's own gain (ASC 810).
|
|
1289
|
+
*/
|
|
1290
|
+
async recordDeconsolidation(graphId, body) {
|
|
1291
|
+
const envelope = await this.callOperation('Record deconsolidation', (o) => (0, sdk_gen_1.recordDeconsolidation)({ ...o, path: { graph_id: graphId }, body }));
|
|
1292
|
+
return this.requireResult('Record deconsolidation', envelope.result);
|
|
1293
|
+
}
|
|
1281
1294
|
// ── Event blocks (generic preview + status transitions) ──────────────
|
|
1282
1295
|
/**
|
|
1283
1296
|
* Create an event block directly. Use for support-class events
|
|
@@ -1598,8 +1611,10 @@ class LedgerClient {
|
|
|
1598
1611
|
* @param graphId Graph identifier owning the Report.
|
|
1599
1612
|
* @param reportId Report identifier (rpt_-prefixed ULID).
|
|
1600
1613
|
* @param options.format Serialization flavor — `HOLON_JSONLD` (default, the
|
|
1601
|
-
* holon, which carries the whole report), `
|
|
1602
|
-
*
|
|
1614
|
+
* holon, which carries the whole report), `HOLON_JSONLD_LINEAGE` (the
|
|
1615
|
+
* holon with its `#lineage` graph: the ledger lines, entries and events
|
|
1616
|
+
* behind every frozen figure, for this graph's own members), `TAVI` (the
|
|
1617
|
+
* Project Tavi compiled model stamped at publish), or `XBRL_2_1`.
|
|
1603
1618
|
* @param options.expiresIn Presigned URL lifetime, in seconds.
|
|
1604
1619
|
*/
|
|
1605
1620
|
async getReportDownloadUrl(graphId, reportId, options = {}) {
|
|
@@ -1888,6 +1903,8 @@ function rawFiscalCalendarToCamel(raw) {
|
|
|
1888
1903
|
unpostedSourceEventSample: raw.unposted_source_event_sample ?? [],
|
|
1889
1904
|
unreconciledAccountCount: raw.unreconciled_account_count ?? 0,
|
|
1890
1905
|
unreconciledAccountSample: raw.unreconciled_account_sample ?? [],
|
|
1906
|
+
unmappedAccountCount: raw.unmapped_account_count ?? 0,
|
|
1907
|
+
unmappedAccountSample: raw.unmapped_account_sample ?? [],
|
|
1891
1908
|
heldBankLineCount: raw.held_bank_line_count ?? 0,
|
|
1892
1909
|
heldBankLineSample: raw.held_bank_line_sample ?? [],
|
|
1893
1910
|
groupOpenEntities: raw.group_open_entities ?? [],
|
|
@@ -72,6 +72,7 @@ import {
|
|
|
72
72
|
proposeConsolidationEntries,
|
|
73
73
|
rebuildSchedule,
|
|
74
74
|
recordAcquisition,
|
|
75
|
+
recordDeconsolidation,
|
|
75
76
|
recordOpeningBalance,
|
|
76
77
|
recordOwnershipChange,
|
|
77
78
|
recordStatementBalance,
|
|
@@ -129,6 +130,7 @@ import type {
|
|
|
129
130
|
CreateScheduleArm,
|
|
130
131
|
CreateTaxonomyBlockRequest,
|
|
131
132
|
CreateViewRequest,
|
|
133
|
+
DeconsolidationResponse,
|
|
132
134
|
DeleteInformationBlockRequest,
|
|
133
135
|
DeleteInformationBlockResponse,
|
|
134
136
|
DeleteJournalEntryRequest,
|
|
@@ -181,6 +183,7 @@ import type {
|
|
|
181
183
|
ReconciliationSummary,
|
|
182
184
|
ReconcilingItemPlan,
|
|
183
185
|
RecordAcquisitionRequest,
|
|
186
|
+
RecordDeconsolidationRequest,
|
|
184
187
|
RecordOpeningBalanceRequest,
|
|
185
188
|
RecordOwnershipChangeRequest,
|
|
186
189
|
RecordStatementBalanceRequest,
|
|
@@ -514,7 +517,7 @@ export interface ReportBundleDownloadResponse {
|
|
|
514
517
|
expiresAt: string
|
|
515
518
|
/** MIME type of the artifact behind the URL. */
|
|
516
519
|
contentType: string
|
|
517
|
-
/** Serialization flavor — ``tavi``, ``holon-jsonld`` or ``xbrl-2.1``. */
|
|
520
|
+
/** Serialization flavor — ``tavi``, ``holon-jsonld``, ``holon-jsonld-lineage`` or ``xbrl-2.1``. */
|
|
518
521
|
format: string
|
|
519
522
|
/** Bundle generation number stamped on the Report. */
|
|
520
523
|
generationCount: number
|
|
@@ -582,6 +585,8 @@ interface RawFiscalCalendar {
|
|
|
582
585
|
unposted_source_event_sample?: string[]
|
|
583
586
|
unreconciled_account_count?: number
|
|
584
587
|
unreconciled_account_sample?: string[]
|
|
588
|
+
unmapped_account_count?: number
|
|
589
|
+
unmapped_account_sample?: string[]
|
|
585
590
|
held_bank_line_count?: number
|
|
586
591
|
held_bank_line_sample?: string[]
|
|
587
592
|
group_open_entities?: string[]
|
|
@@ -3269,6 +3274,25 @@ export class LedgerClient {
|
|
|
3269
3274
|
return this.requireResult('Record ownership change', envelope.result)
|
|
3270
3275
|
}
|
|
3271
3276
|
|
|
3277
|
+
/**
|
|
3278
|
+
* Record a member's leaving the group once `left_on` is set on it: what the
|
|
3279
|
+
* parent received for its shares in cents (0 for a dissolution) and the
|
|
3280
|
+
* basis. Writes a draft in the consolidation entity, dated the first day of
|
|
3281
|
+
* the month after the member's last, that its close posts: what the entity
|
|
3282
|
+
* still held for the member is taken off, a member in full has its results
|
|
3283
|
+
* put back into the group's equity, and the difference is the gain or loss
|
|
3284
|
+
* on its leaving — the group's adjustment to the parent's own gain (ASC 810).
|
|
3285
|
+
*/
|
|
3286
|
+
async recordDeconsolidation(
|
|
3287
|
+
graphId: string,
|
|
3288
|
+
body: RecordDeconsolidationRequest
|
|
3289
|
+
): Promise<DeconsolidationResponse> {
|
|
3290
|
+
const envelope = await this.callOperation('Record deconsolidation', (o) =>
|
|
3291
|
+
recordDeconsolidation({ ...o, path: { graph_id: graphId }, body })
|
|
3292
|
+
)
|
|
3293
|
+
return this.requireResult('Record deconsolidation', envelope.result)
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3272
3296
|
// ── Event blocks (generic preview + status transitions) ──────────────
|
|
3273
3297
|
|
|
3274
3298
|
/**
|
|
@@ -3767,8 +3791,10 @@ export class LedgerClient {
|
|
|
3767
3791
|
* @param graphId Graph identifier owning the Report.
|
|
3768
3792
|
* @param reportId Report identifier (rpt_-prefixed ULID).
|
|
3769
3793
|
* @param options.format Serialization flavor — `HOLON_JSONLD` (default, the
|
|
3770
|
-
* holon, which carries the whole report), `
|
|
3771
|
-
*
|
|
3794
|
+
* holon, which carries the whole report), `HOLON_JSONLD_LINEAGE` (the
|
|
3795
|
+
* holon with its `#lineage` graph: the ledger lines, entries and events
|
|
3796
|
+
* behind every frozen figure, for this graph's own members), `TAVI` (the
|
|
3797
|
+
* Project Tavi compiled model stamped at publish), or `XBRL_2_1`.
|
|
3772
3798
|
* @param options.expiresIn Presigned URL lifetime, in seconds.
|
|
3773
3799
|
*/
|
|
3774
3800
|
async getReportDownloadUrl(
|
|
@@ -4187,6 +4213,8 @@ function rawFiscalCalendarToCamel(raw: RawFiscalCalendar): LedgerFiscalCalendar
|
|
|
4187
4213
|
unpostedSourceEventSample: raw.unposted_source_event_sample ?? [],
|
|
4188
4214
|
unreconciledAccountCount: raw.unreconciled_account_count ?? 0,
|
|
4189
4215
|
unreconciledAccountSample: raw.unreconciled_account_sample ?? [],
|
|
4216
|
+
unmappedAccountCount: raw.unmapped_account_count ?? 0,
|
|
4217
|
+
unmappedAccountSample: raw.unmapped_account_sample ?? [],
|
|
4190
4218
|
heldBankLineCount: raw.held_bank_line_count ?? 0,
|
|
4191
4219
|
heldBankLineSample: raw.held_bank_line_sample ?? [],
|
|
4192
4220
|
groupOpenEntities: raw.group_open_entities ?? [],
|
|
@@ -1070,6 +1070,7 @@ export type ListLedgerEntitiesQuery = {
|
|
|
1070
1070
|
entityRole: string;
|
|
1071
1071
|
joinedOn: string | null;
|
|
1072
1072
|
leftOn: string | null;
|
|
1073
|
+
isFormer: boolean;
|
|
1073
1074
|
source: string;
|
|
1074
1075
|
sourceGraphId: string | null;
|
|
1075
1076
|
connectionId: string | null;
|
|
@@ -1109,6 +1110,7 @@ export type GetLedgerEntityQuery = {
|
|
|
1109
1110
|
entityRole: string;
|
|
1110
1111
|
joinedOn: string | null;
|
|
1111
1112
|
leftOn: string | null;
|
|
1113
|
+
isFormer: boolean;
|
|
1112
1114
|
source: string;
|
|
1113
1115
|
sourceId: string | null;
|
|
1114
1116
|
sourceGraphId: string | null;
|
|
@@ -1330,6 +1332,8 @@ export type GetLedgerFiscalCalendarQuery = {
|
|
|
1330
1332
|
unpostedSourceEventSample: Array<string>;
|
|
1331
1333
|
unreconciledAccountCount: number;
|
|
1332
1334
|
unreconciledAccountSample: Array<string>;
|
|
1335
|
+
unmappedAccountCount: number;
|
|
1336
|
+
unmappedAccountSample: Array<string>;
|
|
1333
1337
|
heldBankLineCount: number;
|
|
1334
1338
|
heldBankLineSample: Array<string>;
|
|
1335
1339
|
groupOpenEntities: Array<string>;
|
|
@@ -3084,6 +3084,7 @@ exports.ListLedgerEntitiesDocument = {
|
|
|
3084
3084
|
{ kind: 'Field', name: { kind: 'Name', value: 'entityRole' } },
|
|
3085
3085
|
{ kind: 'Field', name: { kind: 'Name', value: 'joinedOn' } },
|
|
3086
3086
|
{ kind: 'Field', name: { kind: 'Name', value: 'leftOn' } },
|
|
3087
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isFormer' } },
|
|
3087
3088
|
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
3088
3089
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
3089
3090
|
{ kind: 'Field', name: { kind: 'Name', value: 'connectionId' } },
|
|
@@ -3154,6 +3155,7 @@ exports.GetLedgerEntityDocument = {
|
|
|
3154
3155
|
{ kind: 'Field', name: { kind: 'Name', value: 'entityRole' } },
|
|
3155
3156
|
{ kind: 'Field', name: { kind: 'Name', value: 'joinedOn' } },
|
|
3156
3157
|
{ kind: 'Field', name: { kind: 'Name', value: 'leftOn' } },
|
|
3158
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isFormer' } },
|
|
3157
3159
|
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
3158
3160
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceId' } },
|
|
3159
3161
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
@@ -3716,6 +3718,8 @@ exports.GetLedgerFiscalCalendarDocument = {
|
|
|
3716
3718
|
{ kind: 'Field', name: { kind: 'Name', value: 'unpostedSourceEventSample' } },
|
|
3717
3719
|
{ kind: 'Field', name: { kind: 'Name', value: 'unreconciledAccountCount' } },
|
|
3718
3720
|
{ kind: 'Field', name: { kind: 'Name', value: 'unreconciledAccountSample' } },
|
|
3721
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unmappedAccountCount' } },
|
|
3722
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unmappedAccountSample' } },
|
|
3719
3723
|
{ kind: 'Field', name: { kind: 'Name', value: 'heldBankLineCount' } },
|
|
3720
3724
|
{ kind: 'Field', name: { kind: 'Name', value: 'heldBankLineSample' } },
|
|
3721
3725
|
{ kind: 'Field', name: { kind: 'Name', value: 'groupOpenEntities' } },
|
|
@@ -1061,6 +1061,7 @@ export type ListLedgerEntitiesQuery = {
|
|
|
1061
1061
|
entityRole: string
|
|
1062
1062
|
joinedOn: string | null
|
|
1063
1063
|
leftOn: string | null
|
|
1064
|
+
isFormer: boolean
|
|
1064
1065
|
source: string
|
|
1065
1066
|
sourceGraphId: string | null
|
|
1066
1067
|
connectionId: string | null
|
|
@@ -1102,6 +1103,7 @@ export type GetLedgerEntityQuery = {
|
|
|
1102
1103
|
entityRole: string
|
|
1103
1104
|
joinedOn: string | null
|
|
1104
1105
|
leftOn: string | null
|
|
1106
|
+
isFormer: boolean
|
|
1105
1107
|
source: string
|
|
1106
1108
|
sourceId: string | null
|
|
1107
1109
|
sourceGraphId: string | null
|
|
@@ -1329,6 +1331,8 @@ export type GetLedgerFiscalCalendarQuery = {
|
|
|
1329
1331
|
unpostedSourceEventSample: Array<string>
|
|
1330
1332
|
unreconciledAccountCount: number
|
|
1331
1333
|
unreconciledAccountSample: Array<string>
|
|
1334
|
+
unmappedAccountCount: number
|
|
1335
|
+
unmappedAccountSample: Array<string>
|
|
1332
1336
|
heldBankLineCount: number
|
|
1333
1337
|
heldBankLineSample: Array<string>
|
|
1334
1338
|
groupOpenEntities: Array<string>
|
|
@@ -6038,6 +6042,7 @@ export const ListLedgerEntitiesDocument = {
|
|
|
6038
6042
|
{ kind: 'Field', name: { kind: 'Name', value: 'entityRole' } },
|
|
6039
6043
|
{ kind: 'Field', name: { kind: 'Name', value: 'joinedOn' } },
|
|
6040
6044
|
{ kind: 'Field', name: { kind: 'Name', value: 'leftOn' } },
|
|
6045
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isFormer' } },
|
|
6041
6046
|
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
6042
6047
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
6043
6048
|
{ kind: 'Field', name: { kind: 'Name', value: 'connectionId' } },
|
|
@@ -6108,6 +6113,7 @@ export const GetLedgerEntityDocument = {
|
|
|
6108
6113
|
{ kind: 'Field', name: { kind: 'Name', value: 'entityRole' } },
|
|
6109
6114
|
{ kind: 'Field', name: { kind: 'Name', value: 'joinedOn' } },
|
|
6110
6115
|
{ kind: 'Field', name: { kind: 'Name', value: 'leftOn' } },
|
|
6116
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isFormer' } },
|
|
6111
6117
|
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
6112
6118
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceId' } },
|
|
6113
6119
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
@@ -6670,6 +6676,8 @@ export const GetLedgerFiscalCalendarDocument = {
|
|
|
6670
6676
|
{ kind: 'Field', name: { kind: 'Name', value: 'unpostedSourceEventSample' } },
|
|
6671
6677
|
{ kind: 'Field', name: { kind: 'Name', value: 'unreconciledAccountCount' } },
|
|
6672
6678
|
{ kind: 'Field', name: { kind: 'Name', value: 'unreconciledAccountSample' } },
|
|
6679
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unmappedAccountCount' } },
|
|
6680
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unmappedAccountSample' } },
|
|
6673
6681
|
{ kind: 'Field', name: { kind: 'Name', value: 'heldBankLineCount' } },
|
|
6674
6682
|
{ kind: 'Field', name: { kind: 'Name', value: 'heldBankLineSample' } },
|
|
6675
6683
|
{ kind: 'Field', name: { kind: 'Name', value: 'groupOpenEntities' } },
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
* follows directly (the Tavi compiled model is stamped at publish time;
|
|
8
8
|
* the holon and XBRL are materialized + cached on first request).
|
|
9
9
|
* `format` accepts the `ReportDownloadFormat` enum (`TAVI`,
|
|
10
|
-
* `HOLON_JSONLD`, `XBRL_2_1`).
|
|
10
|
+
* `HOLON_JSONLD`, `HOLON_JSONLD_LINEAGE`, `XBRL_2_1`).
|
|
11
11
|
*/
|
|
12
12
|
export declare const GET_REPORT_DOWNLOAD_URL: string;
|
|
@@ -11,7 +11,7 @@ const graphql_request_1 = require("graphql-request");
|
|
|
11
11
|
* follows directly (the Tavi compiled model is stamped at publish time;
|
|
12
12
|
* the holon and XBRL are materialized + cached on first request).
|
|
13
13
|
* `format` accepts the `ReportDownloadFormat` enum (`TAVI`,
|
|
14
|
-
* `HOLON_JSONLD`, `XBRL_2_1`).
|
|
14
|
+
* `HOLON_JSONLD`, `HOLON_JSONLD_LINEAGE`, `XBRL_2_1`).
|
|
15
15
|
*/
|
|
16
16
|
exports.GET_REPORT_DOWNLOAD_URL = (0, graphql_request_1.gql) `
|
|
17
17
|
query GetLedgerReportDownloadUrl(
|
|
@@ -9,7 +9,7 @@ import { gql } from 'graphql-request'
|
|
|
9
9
|
* follows directly (the Tavi compiled model is stamped at publish time;
|
|
10
10
|
* the holon and XBRL are materialized + cached on first request).
|
|
11
11
|
* `format` accepts the `ReportDownloadFormat` enum (`TAVI`,
|
|
12
|
-
* `HOLON_JSONLD`, `XBRL_2_1`).
|
|
12
|
+
* `HOLON_JSONLD`, `HOLON_JSONLD_LINEAGE`, `XBRL_2_1`).
|
|
13
13
|
*/
|
|
14
14
|
export const GET_REPORT_DOWNLOAD_URL = gql`
|
|
15
15
|
query GetLedgerReportDownloadUrl(
|