@robosystems/client 2.10.0 → 2.10.1

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.
@@ -360,6 +360,13 @@ export type LedgerReconciliationComponent = LedgerReconciliation['components'][n
360
360
  export type Report = NonNullable<GetLedgerReportQuery['report']>
361
361
  export type ReportPackage = NonNullable<GetLedgerReportPackageQuery['reportPackage']>
362
362
  export type ReportPackageItem = ReportPackage['items'][number]
363
+ // A report's block renders through the same viewers as a read block, so its
364
+ // selection must keep pace with the information-block documents.
365
+ type AssertTrue<T extends true> = T
366
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
367
+ type ReportBlockIsInformationBlock = AssertTrue<
368
+ ReportPackageItem['block'] extends InformationBlock ? true : false
369
+ >
363
370
  export type ReportListItem = NonNullable<ListLedgerReportsQuery['reports']>['reports'][number]
364
371
  export type StatementData = NonNullable<GetLedgerStatementQuery['statement']>
365
372
  export type StatementPeriod = StatementData['periods'][number]
@@ -1573,6 +1573,7 @@ export type GetLedgerReportPackageQuery = {
1573
1573
  category: string;
1574
1574
  taxonomyId: string | null;
1575
1575
  taxonomyName: string | null;
1576
+ entityId: string | null;
1576
1577
  informationModel: {
1577
1578
  conceptArrangement: string | null;
1578
1579
  memberArrangement: string | null;
@@ -4282,6 +4282,7 @@ exports.GetLedgerReportPackageDocument = {
4282
4282
  { kind: 'Field', name: { kind: 'Name', value: 'category' } },
4283
4283
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
4284
4284
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
4285
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
4285
4286
  {
4286
4287
  kind: 'Field',
4287
4288
  name: { kind: 'Name', value: 'informationModel' },
@@ -1545,6 +1545,7 @@ export type GetLedgerReportPackageQuery = {
1545
1545
  category: string
1546
1546
  taxonomyId: string | null
1547
1547
  taxonomyName: string | null
1548
+ entityId: string | null
1548
1549
  informationModel: { conceptArrangement: string | null; memberArrangement: string | null }
1549
1550
  artifact: {
1550
1551
  topic: string | null
@@ -6480,6 +6481,7 @@ export const GetLedgerReportPackageDocument = {
6480
6481
  { kind: 'Field', name: { kind: 'Name', value: 'category' } },
6481
6482
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
6482
6483
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
6484
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
6483
6485
  {
6484
6486
  kind: 'Field',
6485
6487
  name: { kind: 'Name', value: 'informationModel' },
@@ -48,6 +48,7 @@ exports.GET_REPORT_PACKAGE = (0, graphql_request_1.gql) `
48
48
  category
49
49
  taxonomyId
50
50
  taxonomyName
51
+ entityId
51
52
  informationModel {
52
53
  conceptArrangement
53
54
  memberArrangement
@@ -46,6 +46,7 @@ export const GET_REPORT_PACKAGE = gql`
46
46
  category
47
47
  taxonomyId
48
48
  taxonomyName
49
+ entityId
49
50
  informationModel {
50
51
  conceptArrangement
51
52
  memberArrangement
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robosystems/client",
3
- "version": "2.10.0",
3
+ "version": "2.10.1",
4
4
  "description": "TypeScript client library for the RoboSystems financial intelligence platform",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",