@robosystems/client 2.9.1 → 2.10.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 +34 -6
- package/artifacts/LedgerClient.js +29 -8
- package/artifacts/LedgerClient.ts +43 -8
- package/artifacts/graphql/generated/graphql.d.ts +9 -1
- package/artifacts/graphql/generated/graphql.js +58 -0
- package/artifacts/graphql/generated/graphql.ts +69 -1
- package/artifacts/graphql/queries/ledger/informationBlock.js +14 -2
- package/artifacts/graphql/queries/ledger/informationBlock.ts +14 -2
- package/artifacts/graphql/queries/ledger/mappingCandidates.d.ts +3 -2
- package/artifacts/graphql/queries/ledger/mappingCandidates.js +5 -4
- package/artifacts/graphql/queries/ledger/mappingCandidates.ts +5 -4
- package/artifacts/graphql/queries/ledger/mappings.d.ts +2 -0
- package/artifacts/graphql/queries/ledger/mappings.js +5 -2
- package/artifacts/graphql/queries/ledger/mappings.ts +5 -2
- package/package.json +1 -1
- package/sdk/sdk.gen.d.ts +3 -3
- package/sdk/sdk.gen.js +3 -3
- package/sdk/sdk.gen.ts +3 -3
- package/sdk/types.gen.d.ts +49 -10
- package/sdk/types.gen.ts +49 -10
- package/sdk.gen.d.ts +3 -3
- package/sdk.gen.js +3 -3
- package/sdk.gen.ts +3 -3
- package/types.gen.d.ts +49 -10
- package/types.gen.ts +49 -10
|
@@ -105,6 +105,12 @@ export interface CreateReportOptions {
|
|
|
105
105
|
periodType?: string;
|
|
106
106
|
comparative?: boolean;
|
|
107
107
|
periods?: PeriodSpecInput[];
|
|
108
|
+
/**
|
|
109
|
+
* The entity the report is for. Omit for the entity whose chart
|
|
110
|
+
* `mappingId` maps from; named alongside another entity's mapping, the
|
|
111
|
+
* server refuses it.
|
|
112
|
+
*/
|
|
113
|
+
entityId?: string | null;
|
|
108
114
|
}
|
|
109
115
|
export interface InitializeLedgerResult {
|
|
110
116
|
fiscalCalendar: LedgerFiscalCalendar;
|
|
@@ -323,6 +329,8 @@ export interface CreateScheduleOptions {
|
|
|
323
329
|
*/
|
|
324
330
|
bookedOn?: string;
|
|
325
331
|
};
|
|
332
|
+
/** The entity whose books the schedule belongs to. Omit for the group parent. */
|
|
333
|
+
entityId?: string | null;
|
|
326
334
|
}
|
|
327
335
|
export interface JournalEntryLineItem {
|
|
328
336
|
elementId: string;
|
|
@@ -560,11 +568,14 @@ export declare class LedgerClient {
|
|
|
560
568
|
/**
|
|
561
569
|
* rs-gaap concepts a CoA element of the given EFS `classification`
|
|
562
570
|
* (asset / liability / equity / revenue / expense) may map to — limited
|
|
563
|
-
* to concepts that render under the
|
|
564
|
-
*
|
|
565
|
-
*
|
|
571
|
+
* to concepts that render under the Reporting Style of the entity whose
|
|
572
|
+
* chart is being mapped (`options.entityId`, default the group parent),
|
|
573
|
+
* with statement-level subtotals excluded. Use this to populate the
|
|
574
|
+
* mapping picker so it never offers an unreachable target.
|
|
566
575
|
*/
|
|
567
|
-
getMappingCandidates(graphId: string, classification: string
|
|
576
|
+
getMappingCandidates(graphId: string, classification: string, options?: {
|
|
577
|
+
entityId?: string | null;
|
|
578
|
+
}): Promise<LedgerMappingCandidate[]>;
|
|
568
579
|
/** CoA elements not yet mapped to a reporting concept. */
|
|
569
580
|
listUnmappedElements(graphId: string, options?: {
|
|
570
581
|
mappingId?: string;
|
|
@@ -576,9 +587,13 @@ export declare class LedgerClient {
|
|
|
576
587
|
}): Promise<LedgerStructure[]>;
|
|
577
588
|
/**
|
|
578
589
|
* List active CoA→reporting mapping structures, the book mapping first.
|
|
579
|
-
* Each carries `framework`: the reporting framework it maps the chart into
|
|
590
|
+
* Each carries `framework`: the reporting framework it maps the chart into,
|
|
591
|
+
* and `entityId`: the entity whose chart it maps from, so whose reports it
|
|
592
|
+
* can produce. `options.entityId` keeps that entity's mappings only.
|
|
580
593
|
*/
|
|
581
|
-
listMappings(graphId: string
|
|
594
|
+
listMappings(graphId: string, options?: {
|
|
595
|
+
entityId?: string | null;
|
|
596
|
+
}): Promise<LedgerMappingInfo[]>;
|
|
582
597
|
/** Get a mapping structure with all its associations. */
|
|
583
598
|
getMapping(graphId: string, mappingId: string): Promise<LedgerMapping | null>;
|
|
584
599
|
/** Mapping coverage stats — how many CoA elements are mapped. */
|
|
@@ -619,12 +634,19 @@ export declare class LedgerClient {
|
|
|
619
634
|
* window arguments — a pre-window server rejects it. Callers that
|
|
620
635
|
* never pass a window keep the un-windowed document and stay
|
|
621
636
|
* compatible with older backends.
|
|
637
|
+
*
|
|
638
|
+
* `options.entityId` picks whose books a block shared by the group
|
|
639
|
+
* reads (statements, metrics, disclosures); omitted, the scenario's
|
|
640
|
+
* entity, else the group parent. A schedule, reconciliation or forecast
|
|
641
|
+
* always reads its own entity's. The envelope's `entityId` names the
|
|
642
|
+
* entity it read.
|
|
622
643
|
*/
|
|
623
644
|
getInformationBlock(graphId: string, id: string, options?: {
|
|
624
645
|
scenarioId?: string;
|
|
625
646
|
series?: boolean;
|
|
626
647
|
seriesHistory?: number;
|
|
627
648
|
seriesForecast?: number;
|
|
649
|
+
entityId?: string | null;
|
|
628
650
|
}): Promise<InformationBlock | null>;
|
|
629
651
|
/**
|
|
630
652
|
* List Information Block envelopes with optional block_type + category
|
|
@@ -632,6 +654,11 @@ export declare class LedgerClient {
|
|
|
632
654
|
* `{blockType: 'schedule'}` to get the same set of blocks.
|
|
633
655
|
* `options.scenarioId` threads into each envelope's FactSet binding
|
|
634
656
|
* (the block list itself is scenario-independent).
|
|
657
|
+
*
|
|
658
|
+
* `options.entityId` (omitted: the scenario's entity, else the group
|
|
659
|
+
* parent) lists the blocks shared by the group plus that entity's own
|
|
660
|
+
* schedules, reconciliations and forecasts, never another entity's;
|
|
661
|
+
* shared blocks read its books.
|
|
635
662
|
*/
|
|
636
663
|
listInformationBlocks(graphId: string, options?: {
|
|
637
664
|
blockType?: string;
|
|
@@ -639,6 +666,7 @@ export declare class LedgerClient {
|
|
|
639
666
|
limit?: number;
|
|
640
667
|
offset?: number;
|
|
641
668
|
scenarioId?: string;
|
|
669
|
+
entityId?: string | null;
|
|
642
670
|
}): Promise<InformationBlockList>;
|
|
643
671
|
/**
|
|
644
672
|
* Create an Information Block of any registered block_type.
|
|
@@ -282,12 +282,13 @@ class LedgerClient {
|
|
|
282
282
|
/**
|
|
283
283
|
* rs-gaap concepts a CoA element of the given EFS `classification`
|
|
284
284
|
* (asset / liability / equity / revenue / expense) may map to — limited
|
|
285
|
-
* to concepts that render under the
|
|
286
|
-
*
|
|
287
|
-
*
|
|
285
|
+
* to concepts that render under the Reporting Style of the entity whose
|
|
286
|
+
* chart is being mapped (`options.entityId`, default the group parent),
|
|
287
|
+
* with statement-level subtotals excluded. Use this to populate the
|
|
288
|
+
* mapping picker so it never offers an unreachable target.
|
|
288
289
|
*/
|
|
289
|
-
async getMappingCandidates(graphId, classification) {
|
|
290
|
-
return this.gqlQuery(graphId, graphql_1.MappingCandidatesDocument, { classification }, 'Mapping candidates', (data) => data.mappingCandidates);
|
|
290
|
+
async getMappingCandidates(graphId, classification, options) {
|
|
291
|
+
return this.gqlQuery(graphId, graphql_1.MappingCandidatesDocument, { classification, entityId: options?.entityId ?? null }, 'Mapping candidates', (data) => data.mappingCandidates);
|
|
291
292
|
}
|
|
292
293
|
/** CoA elements not yet mapped to a reporting concept. */
|
|
293
294
|
async listUnmappedElements(graphId, options) {
|
|
@@ -305,10 +306,12 @@ class LedgerClient {
|
|
|
305
306
|
// ── Mappings ────────────────────────────────────────────────────────
|
|
306
307
|
/**
|
|
307
308
|
* List active CoA→reporting mapping structures, the book mapping first.
|
|
308
|
-
* Each carries `framework`: the reporting framework it maps the chart into
|
|
309
|
+
* Each carries `framework`: the reporting framework it maps the chart into,
|
|
310
|
+
* and `entityId`: the entity whose chart it maps from, so whose reports it
|
|
311
|
+
* can produce. `options.entityId` keeps that entity's mappings only.
|
|
309
312
|
*/
|
|
310
|
-
async listMappings(graphId) {
|
|
311
|
-
const list = await this.gqlQuery(graphId, graphql_1.ListLedgerMappingsDocument,
|
|
313
|
+
async listMappings(graphId, options) {
|
|
314
|
+
const list = await this.gqlQuery(graphId, graphql_1.ListLedgerMappingsDocument, { entityId: options?.entityId ?? null }, 'List mappings', (data) => data.mappings);
|
|
312
315
|
return list?.structures ?? [];
|
|
313
316
|
}
|
|
314
317
|
/** Get a mapping structure with all its associations. */
|
|
@@ -362,6 +365,12 @@ class LedgerClient {
|
|
|
362
365
|
* window arguments — a pre-window server rejects it. Callers that
|
|
363
366
|
* never pass a window keep the un-windowed document and stay
|
|
364
367
|
* compatible with older backends.
|
|
368
|
+
*
|
|
369
|
+
* `options.entityId` picks whose books a block shared by the group
|
|
370
|
+
* reads (statements, metrics, disclosures); omitted, the scenario's
|
|
371
|
+
* entity, else the group parent. A schedule, reconciliation or forecast
|
|
372
|
+
* always reads its own entity's. The envelope's `entityId` names the
|
|
373
|
+
* entity it read.
|
|
365
374
|
*/
|
|
366
375
|
async getInformationBlock(graphId, id, options) {
|
|
367
376
|
const windowed = options?.seriesHistory !== undefined || options?.seriesForecast !== undefined;
|
|
@@ -372,11 +381,13 @@ class LedgerClient {
|
|
|
372
381
|
series: options?.series ?? false,
|
|
373
382
|
seriesHistory: options?.seriesHistory ?? null,
|
|
374
383
|
seriesForecast: options?.seriesForecast ?? null,
|
|
384
|
+
entityId: options?.entityId ?? null,
|
|
375
385
|
}, 'Get information block', (data) => data.informationBlock ?? null)
|
|
376
386
|
: await this.gqlQuery(graphId, graphql_1.GetInformationBlockDocument, {
|
|
377
387
|
id,
|
|
378
388
|
scenarioId: options?.scenarioId ?? null,
|
|
379
389
|
series: options?.series ?? false,
|
|
390
|
+
entityId: options?.entityId ?? null,
|
|
380
391
|
}, 'Get information block', (data) => data.informationBlock ?? null);
|
|
381
392
|
return block ?? null;
|
|
382
393
|
}
|
|
@@ -386,6 +397,11 @@ class LedgerClient {
|
|
|
386
397
|
* `{blockType: 'schedule'}` to get the same set of blocks.
|
|
387
398
|
* `options.scenarioId` threads into each envelope's FactSet binding
|
|
388
399
|
* (the block list itself is scenario-independent).
|
|
400
|
+
*
|
|
401
|
+
* `options.entityId` (omitted: the scenario's entity, else the group
|
|
402
|
+
* parent) lists the blocks shared by the group plus that entity's own
|
|
403
|
+
* schedules, reconciliations and forecasts, never another entity's;
|
|
404
|
+
* shared blocks read its books.
|
|
389
405
|
*/
|
|
390
406
|
async listInformationBlocks(graphId, options) {
|
|
391
407
|
const blocks = await this.gqlQuery(graphId, graphql_1.ListInformationBlocksDocument, {
|
|
@@ -394,6 +410,7 @@ class LedgerClient {
|
|
|
394
410
|
limit: options?.limit ?? null,
|
|
395
411
|
offset: options?.offset ?? null,
|
|
396
412
|
scenarioId: options?.scenarioId ?? null,
|
|
413
|
+
entityId: options?.entityId ?? null,
|
|
397
414
|
}, 'List information blocks', (data) => data.informationBlocks);
|
|
398
415
|
return blocks ?? [];
|
|
399
416
|
}
|
|
@@ -450,6 +467,7 @@ class LedgerClient {
|
|
|
450
467
|
memo_template: options.entryTemplate.memoTemplate,
|
|
451
468
|
},
|
|
452
469
|
taxonomy_id: options.taxonomyId,
|
|
470
|
+
...(options.entityId ? { entity_id: options.entityId } : {}),
|
|
453
471
|
schedule_metadata: options.scheduleMetadata
|
|
454
472
|
? {
|
|
455
473
|
method: options.scheduleMetadata.method,
|
|
@@ -1067,6 +1085,9 @@ class LedgerClient {
|
|
|
1067
1085
|
if (options.periods && options.periods.length > 0) {
|
|
1068
1086
|
body.periods = options.periods;
|
|
1069
1087
|
}
|
|
1088
|
+
if (options.entityId) {
|
|
1089
|
+
body.entity_id = options.entityId;
|
|
1090
|
+
}
|
|
1070
1091
|
const envelope = await this.callOperation('Create report', (o) => (0, sdk_gen_1.createReport)({ ...o, path: { graph_id: graphId }, body }));
|
|
1071
1092
|
return this.requireResult('Create report', envelope.result);
|
|
1072
1093
|
}
|
|
@@ -412,6 +412,12 @@ export interface CreateReportOptions {
|
|
|
412
412
|
periodType?: string
|
|
413
413
|
comparative?: boolean
|
|
414
414
|
periods?: PeriodSpecInput[]
|
|
415
|
+
/**
|
|
416
|
+
* The entity the report is for. Omit for the entity whose chart
|
|
417
|
+
* `mappingId` maps from; named alongside another entity's mapping, the
|
|
418
|
+
* server refuses it.
|
|
419
|
+
*/
|
|
420
|
+
entityId?: string | null
|
|
415
421
|
}
|
|
416
422
|
|
|
417
423
|
// ── Write result shapes (envelope.result payloads) ─────────────────────
|
|
@@ -733,6 +739,8 @@ export interface CreateScheduleOptions {
|
|
|
733
739
|
*/
|
|
734
740
|
bookedOn?: string
|
|
735
741
|
}
|
|
742
|
+
/** The entity whose books the schedule belongs to. Omit for the group parent. */
|
|
743
|
+
entityId?: string | null
|
|
736
744
|
}
|
|
737
745
|
|
|
738
746
|
export interface JournalEntryLineItem {
|
|
@@ -1338,18 +1346,20 @@ export class LedgerClient {
|
|
|
1338
1346
|
/**
|
|
1339
1347
|
* rs-gaap concepts a CoA element of the given EFS `classification`
|
|
1340
1348
|
* (asset / liability / equity / revenue / expense) may map to — limited
|
|
1341
|
-
* to concepts that render under the
|
|
1342
|
-
*
|
|
1343
|
-
*
|
|
1349
|
+
* to concepts that render under the Reporting Style of the entity whose
|
|
1350
|
+
* chart is being mapped (`options.entityId`, default the group parent),
|
|
1351
|
+
* with statement-level subtotals excluded. Use this to populate the
|
|
1352
|
+
* mapping picker so it never offers an unreachable target.
|
|
1344
1353
|
*/
|
|
1345
1354
|
async getMappingCandidates(
|
|
1346
1355
|
graphId: string,
|
|
1347
|
-
classification: string
|
|
1356
|
+
classification: string,
|
|
1357
|
+
options?: { entityId?: string | null }
|
|
1348
1358
|
): Promise<LedgerMappingCandidate[]> {
|
|
1349
1359
|
return this.gqlQuery(
|
|
1350
1360
|
graphId,
|
|
1351
1361
|
MappingCandidatesDocument,
|
|
1352
|
-
{ classification },
|
|
1362
|
+
{ classification, entityId: options?.entityId ?? null },
|
|
1353
1363
|
'Mapping candidates',
|
|
1354
1364
|
(data) => data.mappingCandidates
|
|
1355
1365
|
)
|
|
@@ -1393,13 +1403,18 @@ export class LedgerClient {
|
|
|
1393
1403
|
|
|
1394
1404
|
/**
|
|
1395
1405
|
* List active CoA→reporting mapping structures, the book mapping first.
|
|
1396
|
-
* Each carries `framework`: the reporting framework it maps the chart into
|
|
1406
|
+
* Each carries `framework`: the reporting framework it maps the chart into,
|
|
1407
|
+
* and `entityId`: the entity whose chart it maps from, so whose reports it
|
|
1408
|
+
* can produce. `options.entityId` keeps that entity's mappings only.
|
|
1397
1409
|
*/
|
|
1398
|
-
async listMappings(
|
|
1410
|
+
async listMappings(
|
|
1411
|
+
graphId: string,
|
|
1412
|
+
options?: { entityId?: string | null }
|
|
1413
|
+
): Promise<LedgerMappingInfo[]> {
|
|
1399
1414
|
const list = await this.gqlQuery(
|
|
1400
1415
|
graphId,
|
|
1401
1416
|
ListLedgerMappingsDocument,
|
|
1402
|
-
|
|
1417
|
+
{ entityId: options?.entityId ?? null },
|
|
1403
1418
|
'List mappings',
|
|
1404
1419
|
(data) => data.mappings
|
|
1405
1420
|
)
|
|
@@ -1493,6 +1508,12 @@ export class LedgerClient {
|
|
|
1493
1508
|
* window arguments — a pre-window server rejects it. Callers that
|
|
1494
1509
|
* never pass a window keep the un-windowed document and stay
|
|
1495
1510
|
* compatible with older backends.
|
|
1511
|
+
*
|
|
1512
|
+
* `options.entityId` picks whose books a block shared by the group
|
|
1513
|
+
* reads (statements, metrics, disclosures); omitted, the scenario's
|
|
1514
|
+
* entity, else the group parent. A schedule, reconciliation or forecast
|
|
1515
|
+
* always reads its own entity's. The envelope's `entityId` names the
|
|
1516
|
+
* entity it read.
|
|
1496
1517
|
*/
|
|
1497
1518
|
async getInformationBlock(
|
|
1498
1519
|
graphId: string,
|
|
@@ -1502,6 +1523,7 @@ export class LedgerClient {
|
|
|
1502
1523
|
series?: boolean
|
|
1503
1524
|
seriesHistory?: number
|
|
1504
1525
|
seriesForecast?: number
|
|
1526
|
+
entityId?: string | null
|
|
1505
1527
|
}
|
|
1506
1528
|
): Promise<InformationBlock | null> {
|
|
1507
1529
|
const windowed = options?.seriesHistory !== undefined || options?.seriesForecast !== undefined
|
|
@@ -1515,6 +1537,7 @@ export class LedgerClient {
|
|
|
1515
1537
|
series: options?.series ?? false,
|
|
1516
1538
|
seriesHistory: options?.seriesHistory ?? null,
|
|
1517
1539
|
seriesForecast: options?.seriesForecast ?? null,
|
|
1540
|
+
entityId: options?.entityId ?? null,
|
|
1518
1541
|
},
|
|
1519
1542
|
'Get information block',
|
|
1520
1543
|
(data) => data.informationBlock ?? null
|
|
@@ -1526,6 +1549,7 @@ export class LedgerClient {
|
|
|
1526
1549
|
id,
|
|
1527
1550
|
scenarioId: options?.scenarioId ?? null,
|
|
1528
1551
|
series: options?.series ?? false,
|
|
1552
|
+
entityId: options?.entityId ?? null,
|
|
1529
1553
|
},
|
|
1530
1554
|
'Get information block',
|
|
1531
1555
|
(data) => data.informationBlock ?? null
|
|
@@ -1539,6 +1563,11 @@ export class LedgerClient {
|
|
|
1539
1563
|
* `{blockType: 'schedule'}` to get the same set of blocks.
|
|
1540
1564
|
* `options.scenarioId` threads into each envelope's FactSet binding
|
|
1541
1565
|
* (the block list itself is scenario-independent).
|
|
1566
|
+
*
|
|
1567
|
+
* `options.entityId` (omitted: the scenario's entity, else the group
|
|
1568
|
+
* parent) lists the blocks shared by the group plus that entity's own
|
|
1569
|
+
* schedules, reconciliations and forecasts, never another entity's;
|
|
1570
|
+
* shared blocks read its books.
|
|
1542
1571
|
*/
|
|
1543
1572
|
async listInformationBlocks(
|
|
1544
1573
|
graphId: string,
|
|
@@ -1548,6 +1577,7 @@ export class LedgerClient {
|
|
|
1548
1577
|
limit?: number
|
|
1549
1578
|
offset?: number
|
|
1550
1579
|
scenarioId?: string
|
|
1580
|
+
entityId?: string | null
|
|
1551
1581
|
}
|
|
1552
1582
|
): Promise<InformationBlockList> {
|
|
1553
1583
|
const blocks = await this.gqlQuery(
|
|
@@ -1559,6 +1589,7 @@ export class LedgerClient {
|
|
|
1559
1589
|
limit: options?.limit ?? null,
|
|
1560
1590
|
offset: options?.offset ?? null,
|
|
1561
1591
|
scenarioId: options?.scenarioId ?? null,
|
|
1592
|
+
entityId: options?.entityId ?? null,
|
|
1562
1593
|
},
|
|
1563
1594
|
'List information blocks',
|
|
1564
1595
|
(data) => data.informationBlocks
|
|
@@ -1642,6 +1673,7 @@ export class LedgerClient {
|
|
|
1642
1673
|
memo_template: options.entryTemplate.memoTemplate,
|
|
1643
1674
|
},
|
|
1644
1675
|
taxonomy_id: options.taxonomyId,
|
|
1676
|
+
...(options.entityId ? { entity_id: options.entityId } : {}),
|
|
1645
1677
|
schedule_metadata: options.scheduleMetadata
|
|
1646
1678
|
? {
|
|
1647
1679
|
method: options.scheduleMetadata.method,
|
|
@@ -2565,6 +2597,9 @@ export class LedgerClient {
|
|
|
2565
2597
|
if (options.periods && options.periods.length > 0) {
|
|
2566
2598
|
body.periods = options.periods
|
|
2567
2599
|
}
|
|
2600
|
+
if (options.entityId) {
|
|
2601
|
+
body.entity_id = options.entityId
|
|
2602
|
+
}
|
|
2568
2603
|
const envelope = await this.callOperation('Create report', (o) =>
|
|
2569
2604
|
createReport({ ...o, path: { graph_id: graphId }, body })
|
|
2570
2605
|
)
|
|
@@ -696,6 +696,7 @@ export type GetInformationBlockQueryVariables = Exact<{
|
|
|
696
696
|
id: string | number;
|
|
697
697
|
scenarioId: string | null | undefined;
|
|
698
698
|
series?: boolean;
|
|
699
|
+
entityId: string | null | undefined;
|
|
699
700
|
}>;
|
|
700
701
|
export type GetInformationBlockQuery = {
|
|
701
702
|
informationBlock: {
|
|
@@ -706,6 +707,7 @@ export type GetInformationBlockQuery = {
|
|
|
706
707
|
category: string;
|
|
707
708
|
taxonomyId: string | null;
|
|
708
709
|
taxonomyName: string | null;
|
|
710
|
+
entityId: string | null;
|
|
709
711
|
informationModel: {
|
|
710
712
|
conceptArrangement: string | null;
|
|
711
713
|
memberArrangement: string | null;
|
|
@@ -854,6 +856,7 @@ export type GetInformationBlockWindowedQueryVariables = Exact<{
|
|
|
854
856
|
series?: boolean;
|
|
855
857
|
seriesHistory: number | null | undefined;
|
|
856
858
|
seriesForecast: number | null | undefined;
|
|
859
|
+
entityId: string | null | undefined;
|
|
857
860
|
}>;
|
|
858
861
|
export type GetInformationBlockWindowedQuery = {
|
|
859
862
|
informationBlock: {
|
|
@@ -864,6 +867,7 @@ export type GetInformationBlockWindowedQuery = {
|
|
|
864
867
|
category: string;
|
|
865
868
|
taxonomyId: string | null;
|
|
866
869
|
taxonomyName: string | null;
|
|
870
|
+
entityId: string | null;
|
|
867
871
|
informationModel: {
|
|
868
872
|
conceptArrangement: string | null;
|
|
869
873
|
memberArrangement: string | null;
|
|
@@ -1012,6 +1016,7 @@ export type ListInformationBlocksQueryVariables = Exact<{
|
|
|
1012
1016
|
limit: number | null | undefined;
|
|
1013
1017
|
offset: number | null | undefined;
|
|
1014
1018
|
scenarioId: string | null | undefined;
|
|
1019
|
+
entityId: string | null | undefined;
|
|
1015
1020
|
}>;
|
|
1016
1021
|
export type ListInformationBlocksQuery = {
|
|
1017
1022
|
informationBlocks: Array<{
|
|
@@ -1022,6 +1027,7 @@ export type ListInformationBlocksQuery = {
|
|
|
1022
1027
|
category: string;
|
|
1023
1028
|
taxonomyId: string | null;
|
|
1024
1029
|
taxonomyName: string | null;
|
|
1030
|
+
entityId: string | null;
|
|
1025
1031
|
informationModel: {
|
|
1026
1032
|
conceptArrangement: string | null;
|
|
1027
1033
|
memberArrangement: string | null;
|
|
@@ -1263,6 +1269,7 @@ export type GetLedgerMappingQuery = {
|
|
|
1263
1269
|
};
|
|
1264
1270
|
export type MappingCandidatesQueryVariables = Exact<{
|
|
1265
1271
|
classification: string;
|
|
1272
|
+
entityId: string | null | undefined;
|
|
1266
1273
|
}>;
|
|
1267
1274
|
export type MappingCandidatesQuery = {
|
|
1268
1275
|
mappingCandidates: Array<{
|
|
@@ -1288,7 +1295,7 @@ export type GetLedgerMappingCoverageQuery = {
|
|
|
1288
1295
|
} | null;
|
|
1289
1296
|
};
|
|
1290
1297
|
export type ListLedgerMappingsQueryVariables = Exact<{
|
|
1291
|
-
|
|
1298
|
+
entityId: string | null | undefined;
|
|
1292
1299
|
}>;
|
|
1293
1300
|
export type ListLedgerMappingsQuery = {
|
|
1294
1301
|
mappings: {
|
|
@@ -1300,6 +1307,7 @@ export type ListLedgerMappingsQuery = {
|
|
|
1300
1307
|
taxonomyId: string;
|
|
1301
1308
|
isActive: boolean;
|
|
1302
1309
|
framework: string | null;
|
|
1310
|
+
entityId: string | null;
|
|
1303
1311
|
}>;
|
|
1304
1312
|
} | null;
|
|
1305
1313
|
};
|
|
@@ -1989,6 +1989,11 @@ exports.GetInformationBlockDocument = {
|
|
|
1989
1989
|
},
|
|
1990
1990
|
defaultValue: { kind: 'BooleanValue', value: false },
|
|
1991
1991
|
},
|
|
1992
|
+
{
|
|
1993
|
+
kind: 'VariableDefinition',
|
|
1994
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
1995
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
1996
|
+
},
|
|
1992
1997
|
],
|
|
1993
1998
|
selectionSet: {
|
|
1994
1999
|
kind: 'SelectionSet',
|
|
@@ -2012,6 +2017,11 @@ exports.GetInformationBlockDocument = {
|
|
|
2012
2017
|
name: { kind: 'Name', value: 'series' },
|
|
2013
2018
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'series' } },
|
|
2014
2019
|
},
|
|
2020
|
+
{
|
|
2021
|
+
kind: 'Argument',
|
|
2022
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
2023
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2024
|
+
},
|
|
2015
2025
|
],
|
|
2016
2026
|
selectionSet: {
|
|
2017
2027
|
kind: 'SelectionSet',
|
|
@@ -2023,6 +2033,7 @@ exports.GetInformationBlockDocument = {
|
|
|
2023
2033
|
{ kind: 'Field', name: { kind: 'Name', value: 'category' } },
|
|
2024
2034
|
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
2025
2035
|
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
|
|
2036
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
2026
2037
|
{
|
|
2027
2038
|
kind: 'Field',
|
|
2028
2039
|
name: { kind: 'Name', value: 'informationModel' },
|
|
@@ -2357,6 +2368,11 @@ exports.GetInformationBlockWindowedDocument = {
|
|
|
2357
2368
|
variable: { kind: 'Variable', name: { kind: 'Name', value: 'seriesForecast' } },
|
|
2358
2369
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
2359
2370
|
},
|
|
2371
|
+
{
|
|
2372
|
+
kind: 'VariableDefinition',
|
|
2373
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2374
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
2375
|
+
},
|
|
2360
2376
|
],
|
|
2361
2377
|
selectionSet: {
|
|
2362
2378
|
kind: 'SelectionSet',
|
|
@@ -2390,6 +2406,11 @@ exports.GetInformationBlockWindowedDocument = {
|
|
|
2390
2406
|
name: { kind: 'Name', value: 'seriesForecast' },
|
|
2391
2407
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'seriesForecast' } },
|
|
2392
2408
|
},
|
|
2409
|
+
{
|
|
2410
|
+
kind: 'Argument',
|
|
2411
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
2412
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2413
|
+
},
|
|
2393
2414
|
],
|
|
2394
2415
|
selectionSet: {
|
|
2395
2416
|
kind: 'SelectionSet',
|
|
@@ -2401,6 +2422,7 @@ exports.GetInformationBlockWindowedDocument = {
|
|
|
2401
2422
|
{ kind: 'Field', name: { kind: 'Name', value: 'category' } },
|
|
2402
2423
|
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
2403
2424
|
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
|
|
2425
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
2404
2426
|
{
|
|
2405
2427
|
kind: 'Field',
|
|
2406
2428
|
name: { kind: 'Name', value: 'informationModel' },
|
|
@@ -2728,6 +2750,11 @@ exports.ListInformationBlocksDocument = {
|
|
|
2728
2750
|
variable: { kind: 'Variable', name: { kind: 'Name', value: 'scenarioId' } },
|
|
2729
2751
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
2730
2752
|
},
|
|
2753
|
+
{
|
|
2754
|
+
kind: 'VariableDefinition',
|
|
2755
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2756
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
2757
|
+
},
|
|
2731
2758
|
],
|
|
2732
2759
|
selectionSet: {
|
|
2733
2760
|
kind: 'SelectionSet',
|
|
@@ -2761,6 +2788,11 @@ exports.ListInformationBlocksDocument = {
|
|
|
2761
2788
|
name: { kind: 'Name', value: 'scenarioId' },
|
|
2762
2789
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'scenarioId' } },
|
|
2763
2790
|
},
|
|
2791
|
+
{
|
|
2792
|
+
kind: 'Argument',
|
|
2793
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
2794
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2795
|
+
},
|
|
2764
2796
|
],
|
|
2765
2797
|
selectionSet: {
|
|
2766
2798
|
kind: 'SelectionSet',
|
|
@@ -2772,6 +2804,7 @@ exports.ListInformationBlocksDocument = {
|
|
|
2772
2804
|
{ kind: 'Field', name: { kind: 'Name', value: 'category' } },
|
|
2773
2805
|
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
2774
2806
|
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
|
|
2807
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
2775
2808
|
{
|
|
2776
2809
|
kind: 'Field',
|
|
2777
2810
|
name: { kind: 'Name', value: 'informationModel' },
|
|
@@ -3411,6 +3444,11 @@ exports.MappingCandidatesDocument = {
|
|
|
3411
3444
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3412
3445
|
},
|
|
3413
3446
|
},
|
|
3447
|
+
{
|
|
3448
|
+
kind: 'VariableDefinition',
|
|
3449
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3450
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3451
|
+
},
|
|
3414
3452
|
],
|
|
3415
3453
|
selectionSet: {
|
|
3416
3454
|
kind: 'SelectionSet',
|
|
@@ -3424,6 +3462,11 @@ exports.MappingCandidatesDocument = {
|
|
|
3424
3462
|
name: { kind: 'Name', value: 'classification' },
|
|
3425
3463
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'classification' } },
|
|
3426
3464
|
},
|
|
3465
|
+
{
|
|
3466
|
+
kind: 'Argument',
|
|
3467
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
3468
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3469
|
+
},
|
|
3427
3470
|
],
|
|
3428
3471
|
selectionSet: {
|
|
3429
3472
|
kind: 'SelectionSet',
|
|
@@ -3496,12 +3539,26 @@ exports.ListLedgerMappingsDocument = {
|
|
|
3496
3539
|
kind: 'OperationDefinition',
|
|
3497
3540
|
operation: 'query',
|
|
3498
3541
|
name: { kind: 'Name', value: 'ListLedgerMappings' },
|
|
3542
|
+
variableDefinitions: [
|
|
3543
|
+
{
|
|
3544
|
+
kind: 'VariableDefinition',
|
|
3545
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3546
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3547
|
+
},
|
|
3548
|
+
],
|
|
3499
3549
|
selectionSet: {
|
|
3500
3550
|
kind: 'SelectionSet',
|
|
3501
3551
|
selections: [
|
|
3502
3552
|
{
|
|
3503
3553
|
kind: 'Field',
|
|
3504
3554
|
name: { kind: 'Name', value: 'mappings' },
|
|
3555
|
+
arguments: [
|
|
3556
|
+
{
|
|
3557
|
+
kind: 'Argument',
|
|
3558
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
3559
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3560
|
+
},
|
|
3561
|
+
],
|
|
3505
3562
|
selectionSet: {
|
|
3506
3563
|
kind: 'SelectionSet',
|
|
3507
3564
|
selections: [
|
|
@@ -3518,6 +3575,7 @@ exports.ListLedgerMappingsDocument = {
|
|
|
3518
3575
|
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
3519
3576
|
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
3520
3577
|
{ kind: 'Field', name: { kind: 'Name', value: 'framework' } },
|
|
3578
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
3521
3579
|
],
|
|
3522
3580
|
},
|
|
3523
3581
|
},
|