@robosystems/client 2.9.2 → 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.
@@ -697,6 +697,7 @@ export type GetInformationBlockQueryVariables = Exact<{
697
697
  id: string | number
698
698
  scenarioId: string | null | undefined
699
699
  series?: boolean
700
+ entityId: string | null | undefined
700
701
  }>
701
702
 
702
703
  export type GetInformationBlockQuery = {
@@ -708,6 +709,7 @@ export type GetInformationBlockQuery = {
708
709
  category: string
709
710
  taxonomyId: string | null
710
711
  taxonomyName: string | null
712
+ entityId: string | null
711
713
  informationModel: { conceptArrangement: string | null; memberArrangement: string | null }
712
714
  artifact: {
713
715
  topic: string | null
@@ -844,6 +846,7 @@ export type GetInformationBlockWindowedQueryVariables = Exact<{
844
846
  series?: boolean
845
847
  seriesHistory: number | null | undefined
846
848
  seriesForecast: number | null | undefined
849
+ entityId: string | null | undefined
847
850
  }>
848
851
 
849
852
  export type GetInformationBlockWindowedQuery = {
@@ -855,6 +858,7 @@ export type GetInformationBlockWindowedQuery = {
855
858
  category: string
856
859
  taxonomyId: string | null
857
860
  taxonomyName: string | null
861
+ entityId: string | null
858
862
  informationModel: { conceptArrangement: string | null; memberArrangement: string | null }
859
863
  artifact: {
860
864
  topic: string | null
@@ -991,6 +995,7 @@ export type ListInformationBlocksQueryVariables = Exact<{
991
995
  limit: number | null | undefined
992
996
  offset: number | null | undefined
993
997
  scenarioId: string | null | undefined
998
+ entityId: string | null | undefined
994
999
  }>
995
1000
 
996
1001
  export type ListInformationBlocksQuery = {
@@ -1002,6 +1007,7 @@ export type ListInformationBlocksQuery = {
1002
1007
  category: string
1003
1008
  taxonomyId: string | null
1004
1009
  taxonomyName: string | null
1010
+ entityId: string | null
1005
1011
  informationModel: { conceptArrangement: string | null; memberArrangement: string | null }
1006
1012
  artifact: {
1007
1013
  topic: string | null
@@ -1232,6 +1238,7 @@ export type GetLedgerMappingQuery = {
1232
1238
 
1233
1239
  export type MappingCandidatesQueryVariables = Exact<{
1234
1240
  classification: string
1241
+ entityId: string | null | undefined
1235
1242
  }>
1236
1243
 
1237
1244
  export type MappingCandidatesQuery = {
@@ -1255,7 +1262,9 @@ export type GetLedgerMappingCoverageQuery = {
1255
1262
  } | null
1256
1263
  }
1257
1264
 
1258
- export type ListLedgerMappingsQueryVariables = Exact<{ [key: string]: never }>
1265
+ export type ListLedgerMappingsQueryVariables = Exact<{
1266
+ entityId: string | null | undefined
1267
+ }>
1259
1268
 
1260
1269
  export type ListLedgerMappingsQuery = {
1261
1270
  mappings: {
@@ -1267,6 +1276,7 @@ export type ListLedgerMappingsQuery = {
1267
1276
  taxonomyId: string
1268
1277
  isActive: boolean
1269
1278
  framework: string | null
1279
+ entityId: string | null
1270
1280
  }>
1271
1281
  } | null
1272
1282
  }
@@ -1535,6 +1545,7 @@ export type GetLedgerReportPackageQuery = {
1535
1545
  category: string
1536
1546
  taxonomyId: string | null
1537
1547
  taxonomyName: string | null
1548
+ entityId: string | null
1538
1549
  informationModel: { conceptArrangement: string | null; memberArrangement: string | null }
1539
1550
  artifact: {
1540
1551
  topic: string | null
@@ -4162,6 +4173,11 @@ export const GetInformationBlockDocument = {
4162
4173
  },
4163
4174
  defaultValue: { kind: 'BooleanValue', value: false },
4164
4175
  },
4176
+ {
4177
+ kind: 'VariableDefinition',
4178
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
4179
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4180
+ },
4165
4181
  ],
4166
4182
  selectionSet: {
4167
4183
  kind: 'SelectionSet',
@@ -4185,6 +4201,11 @@ export const GetInformationBlockDocument = {
4185
4201
  name: { kind: 'Name', value: 'series' },
4186
4202
  value: { kind: 'Variable', name: { kind: 'Name', value: 'series' } },
4187
4203
  },
4204
+ {
4205
+ kind: 'Argument',
4206
+ name: { kind: 'Name', value: 'entityId' },
4207
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
4208
+ },
4188
4209
  ],
4189
4210
  selectionSet: {
4190
4211
  kind: 'SelectionSet',
@@ -4196,6 +4217,7 @@ export const GetInformationBlockDocument = {
4196
4217
  { kind: 'Field', name: { kind: 'Name', value: 'category' } },
4197
4218
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
4198
4219
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
4220
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
4199
4221
  {
4200
4222
  kind: 'Field',
4201
4223
  name: { kind: 'Name', value: 'informationModel' },
@@ -4530,6 +4552,11 @@ export const GetInformationBlockWindowedDocument = {
4530
4552
  variable: { kind: 'Variable', name: { kind: 'Name', value: 'seriesForecast' } },
4531
4553
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
4532
4554
  },
4555
+ {
4556
+ kind: 'VariableDefinition',
4557
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
4558
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4559
+ },
4533
4560
  ],
4534
4561
  selectionSet: {
4535
4562
  kind: 'SelectionSet',
@@ -4563,6 +4590,11 @@ export const GetInformationBlockWindowedDocument = {
4563
4590
  name: { kind: 'Name', value: 'seriesForecast' },
4564
4591
  value: { kind: 'Variable', name: { kind: 'Name', value: 'seriesForecast' } },
4565
4592
  },
4593
+ {
4594
+ kind: 'Argument',
4595
+ name: { kind: 'Name', value: 'entityId' },
4596
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
4597
+ },
4566
4598
  ],
4567
4599
  selectionSet: {
4568
4600
  kind: 'SelectionSet',
@@ -4574,6 +4606,7 @@ export const GetInformationBlockWindowedDocument = {
4574
4606
  { kind: 'Field', name: { kind: 'Name', value: 'category' } },
4575
4607
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
4576
4608
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
4609
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
4577
4610
  {
4578
4611
  kind: 'Field',
4579
4612
  name: { kind: 'Name', value: 'informationModel' },
@@ -4904,6 +4937,11 @@ export const ListInformationBlocksDocument = {
4904
4937
  variable: { kind: 'Variable', name: { kind: 'Name', value: 'scenarioId' } },
4905
4938
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4906
4939
  },
4940
+ {
4941
+ kind: 'VariableDefinition',
4942
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
4943
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4944
+ },
4907
4945
  ],
4908
4946
  selectionSet: {
4909
4947
  kind: 'SelectionSet',
@@ -4937,6 +4975,11 @@ export const ListInformationBlocksDocument = {
4937
4975
  name: { kind: 'Name', value: 'scenarioId' },
4938
4976
  value: { kind: 'Variable', name: { kind: 'Name', value: 'scenarioId' } },
4939
4977
  },
4978
+ {
4979
+ kind: 'Argument',
4980
+ name: { kind: 'Name', value: 'entityId' },
4981
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
4982
+ },
4940
4983
  ],
4941
4984
  selectionSet: {
4942
4985
  kind: 'SelectionSet',
@@ -4948,6 +4991,7 @@ export const ListInformationBlocksDocument = {
4948
4991
  { kind: 'Field', name: { kind: 'Name', value: 'category' } },
4949
4992
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
4950
4993
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
4994
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
4951
4995
  {
4952
4996
  kind: 'Field',
4953
4997
  name: { kind: 'Name', value: 'informationModel' },
@@ -5590,6 +5634,11 @@ export const MappingCandidatesDocument = {
5590
5634
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5591
5635
  },
5592
5636
  },
5637
+ {
5638
+ kind: 'VariableDefinition',
5639
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
5640
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5641
+ },
5593
5642
  ],
5594
5643
  selectionSet: {
5595
5644
  kind: 'SelectionSet',
@@ -5603,6 +5652,11 @@ export const MappingCandidatesDocument = {
5603
5652
  name: { kind: 'Name', value: 'classification' },
5604
5653
  value: { kind: 'Variable', name: { kind: 'Name', value: 'classification' } },
5605
5654
  },
5655
+ {
5656
+ kind: 'Argument',
5657
+ name: { kind: 'Name', value: 'entityId' },
5658
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
5659
+ },
5606
5660
  ],
5607
5661
  selectionSet: {
5608
5662
  kind: 'SelectionSet',
@@ -5675,12 +5729,26 @@ export const ListLedgerMappingsDocument = {
5675
5729
  kind: 'OperationDefinition',
5676
5730
  operation: 'query',
5677
5731
  name: { kind: 'Name', value: 'ListLedgerMappings' },
5732
+ variableDefinitions: [
5733
+ {
5734
+ kind: 'VariableDefinition',
5735
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
5736
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5737
+ },
5738
+ ],
5678
5739
  selectionSet: {
5679
5740
  kind: 'SelectionSet',
5680
5741
  selections: [
5681
5742
  {
5682
5743
  kind: 'Field',
5683
5744
  name: { kind: 'Name', value: 'mappings' },
5745
+ arguments: [
5746
+ {
5747
+ kind: 'Argument',
5748
+ name: { kind: 'Name', value: 'entityId' },
5749
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
5750
+ },
5751
+ ],
5684
5752
  selectionSet: {
5685
5753
  kind: 'SelectionSet',
5686
5754
  selections: [
@@ -5697,6 +5765,7 @@ export const ListLedgerMappingsDocument = {
5697
5765
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
5698
5766
  { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
5699
5767
  { kind: 'Field', name: { kind: 'Name', value: 'framework' } },
5768
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
5700
5769
  ],
5701
5770
  },
5702
5771
  },
@@ -6412,6 +6481,7 @@ export const GetLedgerReportPackageDocument = {
6412
6481
  { kind: 'Field', name: { kind: 'Name', value: 'category' } },
6413
6482
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
6414
6483
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
6484
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
6415
6485
  {
6416
6486
  kind: 'Field',
6417
6487
  name: { kind: 'Name', value: 'informationModel' },
@@ -10,8 +10,13 @@ const graphql_request_1 = require("graphql-request");
10
10
  * branch. See `local/docs/specs/information-block.md` §2.
11
11
  */
12
12
  exports.GET_INFORMATION_BLOCK = (0, graphql_request_1.gql) `
13
- query GetInformationBlock($id: ID!, $scenarioId: String, $series: Boolean! = false) {
14
- informationBlock(id: $id, scenarioId: $scenarioId, series: $series) {
13
+ query GetInformationBlock(
14
+ $id: ID!
15
+ $scenarioId: String
16
+ $series: Boolean! = false
17
+ $entityId: String
18
+ ) {
19
+ informationBlock(id: $id, scenarioId: $scenarioId, series: $series, entityId: $entityId) {
15
20
  id
16
21
  blockType
17
22
  name
@@ -19,6 +24,7 @@ exports.GET_INFORMATION_BLOCK = (0, graphql_request_1.gql) `
19
24
  category
20
25
  taxonomyId
21
26
  taxonomyName
27
+ entityId
22
28
  informationModel {
23
29
  conceptArrangement
24
30
  memberArrangement
@@ -180,6 +186,7 @@ exports.GET_INFORMATION_BLOCK_WINDOWED = (0, graphql_request_1.gql) `
180
186
  $series: Boolean! = false
181
187
  $seriesHistory: Int
182
188
  $seriesForecast: Int
189
+ $entityId: String
183
190
  ) {
184
191
  informationBlock(
185
192
  id: $id
@@ -187,6 +194,7 @@ exports.GET_INFORMATION_BLOCK_WINDOWED = (0, graphql_request_1.gql) `
187
194
  series: $series
188
195
  seriesHistory: $seriesHistory
189
196
  seriesForecast: $seriesForecast
197
+ entityId: $entityId
190
198
  ) {
191
199
  id
192
200
  blockType
@@ -195,6 +203,7 @@ exports.GET_INFORMATION_BLOCK_WINDOWED = (0, graphql_request_1.gql) `
195
203
  category
196
204
  taxonomyId
197
205
  taxonomyName
206
+ entityId
198
207
  informationModel {
199
208
  conceptArrangement
200
209
  memberArrangement
@@ -351,6 +360,7 @@ exports.LIST_INFORMATION_BLOCKS = (0, graphql_request_1.gql) `
351
360
  $limit: Int
352
361
  $offset: Int
353
362
  $scenarioId: String
363
+ $entityId: String
354
364
  ) {
355
365
  informationBlocks(
356
366
  blockType: $blockType
@@ -358,6 +368,7 @@ exports.LIST_INFORMATION_BLOCKS = (0, graphql_request_1.gql) `
358
368
  limit: $limit
359
369
  offset: $offset
360
370
  scenarioId: $scenarioId
371
+ entityId: $entityId
361
372
  ) {
362
373
  id
363
374
  blockType
@@ -366,6 +377,7 @@ exports.LIST_INFORMATION_BLOCKS = (0, graphql_request_1.gql) `
366
377
  category
367
378
  taxonomyId
368
379
  taxonomyName
380
+ entityId
369
381
  informationModel {
370
382
  conceptArrangement
371
383
  memberArrangement
@@ -8,8 +8,13 @@ import { gql } from 'graphql-request'
8
8
  * branch. See `local/docs/specs/information-block.md` §2.
9
9
  */
10
10
  export const GET_INFORMATION_BLOCK = gql`
11
- query GetInformationBlock($id: ID!, $scenarioId: String, $series: Boolean! = false) {
12
- informationBlock(id: $id, scenarioId: $scenarioId, series: $series) {
11
+ query GetInformationBlock(
12
+ $id: ID!
13
+ $scenarioId: String
14
+ $series: Boolean! = false
15
+ $entityId: String
16
+ ) {
17
+ informationBlock(id: $id, scenarioId: $scenarioId, series: $series, entityId: $entityId) {
13
18
  id
14
19
  blockType
15
20
  name
@@ -17,6 +22,7 @@ export const GET_INFORMATION_BLOCK = gql`
17
22
  category
18
23
  taxonomyId
19
24
  taxonomyName
25
+ entityId
20
26
  informationModel {
21
27
  conceptArrangement
22
28
  memberArrangement
@@ -179,6 +185,7 @@ export const GET_INFORMATION_BLOCK_WINDOWED = gql`
179
185
  $series: Boolean! = false
180
186
  $seriesHistory: Int
181
187
  $seriesForecast: Int
188
+ $entityId: String
182
189
  ) {
183
190
  informationBlock(
184
191
  id: $id
@@ -186,6 +193,7 @@ export const GET_INFORMATION_BLOCK_WINDOWED = gql`
186
193
  series: $series
187
194
  seriesHistory: $seriesHistory
188
195
  seriesForecast: $seriesForecast
196
+ entityId: $entityId
189
197
  ) {
190
198
  id
191
199
  blockType
@@ -194,6 +202,7 @@ export const GET_INFORMATION_BLOCK_WINDOWED = gql`
194
202
  category
195
203
  taxonomyId
196
204
  taxonomyName
205
+ entityId
197
206
  informationModel {
198
207
  conceptArrangement
199
208
  memberArrangement
@@ -351,6 +360,7 @@ export const LIST_INFORMATION_BLOCKS = gql`
351
360
  $limit: Int
352
361
  $offset: Int
353
362
  $scenarioId: String
363
+ $entityId: String
354
364
  ) {
355
365
  informationBlocks(
356
366
  blockType: $blockType
@@ -358,6 +368,7 @@ export const LIST_INFORMATION_BLOCKS = gql`
358
368
  limit: $limit
359
369
  offset: $offset
360
370
  scenarioId: $scenarioId
371
+ entityId: $entityId
361
372
  ) {
362
373
  id
363
374
  blockType
@@ -366,6 +377,7 @@ export const LIST_INFORMATION_BLOCKS = gql`
366
377
  category
367
378
  taxonomyId
368
379
  taxonomyName
380
+ entityId
369
381
  informationModel {
370
382
  conceptArrangement
371
383
  memberArrangement
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * rs-gaap concepts a CoA element of a given EFS classification may map to,
3
- * limited to concepts that render under the graph's active Reporting Style
4
- * (statement-level subtotals excluded). This is the candidate set the mapping
3
+ * limited to concepts that render under the Reporting Style of the entity whose
4
+ * chart is being mapped (`$entityId`, default the group parent; statement-level
5
+ * subtotals excluded). This is the candidate set the mapping
5
6
  * picker should offer — mapping to anything outside it would land a fact on an
6
7
  * unreachable branch that never renders.
7
8
  */
@@ -4,14 +4,15 @@ exports.MAPPING_CANDIDATES = void 0;
4
4
  const graphql_request_1 = require("graphql-request");
5
5
  /**
6
6
  * rs-gaap concepts a CoA element of a given EFS classification may map to,
7
- * limited to concepts that render under the graph's active Reporting Style
8
- * (statement-level subtotals excluded). This is the candidate set the mapping
7
+ * limited to concepts that render under the Reporting Style of the entity whose
8
+ * chart is being mapped (`$entityId`, default the group parent; statement-level
9
+ * subtotals excluded). This is the candidate set the mapping
9
10
  * picker should offer — mapping to anything outside it would land a fact on an
10
11
  * unreachable branch that never renders.
11
12
  */
12
13
  exports.MAPPING_CANDIDATES = (0, graphql_request_1.gql) `
13
- query MappingCandidates($classification: String!) {
14
- mappingCandidates(classification: $classification) {
14
+ query MappingCandidates($classification: String!, $entityId: String) {
15
+ mappingCandidates(classification: $classification, entityId: $entityId) {
15
16
  id
16
17
  name
17
18
  qname
@@ -2,14 +2,15 @@ import { gql } from 'graphql-request'
2
2
 
3
3
  /**
4
4
  * rs-gaap concepts a CoA element of a given EFS classification may map to,
5
- * limited to concepts that render under the graph's active Reporting Style
6
- * (statement-level subtotals excluded). This is the candidate set the mapping
5
+ * limited to concepts that render under the Reporting Style of the entity whose
6
+ * chart is being mapped (`$entityId`, default the group parent; statement-level
7
+ * subtotals excluded). This is the candidate set the mapping
7
8
  * picker should offer — mapping to anything outside it would land a fact on an
8
9
  * unreachable branch that never renders.
9
10
  */
10
11
  export const MAPPING_CANDIDATES = gql`
11
- query MappingCandidates($classification: String!) {
12
- mappingCandidates(classification: $classification) {
12
+ query MappingCandidates($classification: String!, $entityId: String) {
13
+ mappingCandidates(classification: $classification, entityId: $entityId) {
13
14
  id
14
15
  name
15
16
  qname
@@ -3,5 +3,7 @@
3
3
  * StructureList (same wire shape as `structures`, just filtered server-side
4
4
  * to `block_type = 'coa_mapping'`). `framework` is the reporting framework
5
5
  * each maps the chart into; a chart holds one mapping per framework.
6
+ * `entityId` is the entity whose chart it maps from, and `$entityId`
7
+ * keeps one entity's mappings.
6
8
  */
7
9
  export declare const LIST_MAPPINGS: string;
@@ -7,10 +7,12 @@ const graphql_request_1 = require("graphql-request");
7
7
  * StructureList (same wire shape as `structures`, just filtered server-side
8
8
  * to `block_type = 'coa_mapping'`). `framework` is the reporting framework
9
9
  * each maps the chart into; a chart holds one mapping per framework.
10
+ * `entityId` is the entity whose chart it maps from, and `$entityId`
11
+ * keeps one entity's mappings.
10
12
  */
11
13
  exports.LIST_MAPPINGS = (0, graphql_request_1.gql) `
12
- query ListLedgerMappings {
13
- mappings {
14
+ query ListLedgerMappings($entityId: String) {
15
+ mappings(entityId: $entityId) {
14
16
  structures {
15
17
  id
16
18
  name
@@ -19,6 +21,7 @@ exports.LIST_MAPPINGS = (0, graphql_request_1.gql) `
19
21
  taxonomyId
20
22
  isActive
21
23
  framework
24
+ entityId
22
25
  }
23
26
  }
24
27
  }
@@ -5,10 +5,12 @@ import { gql } from 'graphql-request'
5
5
  * StructureList (same wire shape as `structures`, just filtered server-side
6
6
  * to `block_type = 'coa_mapping'`). `framework` is the reporting framework
7
7
  * each maps the chart into; a chart holds one mapping per framework.
8
+ * `entityId` is the entity whose chart it maps from, and `$entityId`
9
+ * keeps one entity's mappings.
8
10
  */
9
11
  export const LIST_MAPPINGS = gql`
10
- query ListLedgerMappings {
11
- mappings {
12
+ query ListLedgerMappings($entityId: String) {
13
+ mappings(entityId: $entityId) {
12
14
  structures {
13
15
  id
14
16
  name
@@ -17,6 +19,7 @@ export const LIST_MAPPINGS = gql`
17
19
  taxonomyId
18
20
  isActive
19
21
  framework
22
+ entityId
20
23
  }
21
24
  }
22
25
  }
@@ -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.9.2",
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",
@@ -263,7 +263,7 @@ export type AssertMetricsRequest = {
263
263
  /**
264
264
  * Entity Id
265
265
  *
266
- * Entity to assert for. Defaults to the graph's earliest-created entity (the primary entity for single-entity graphs).
266
+ * The entity the asserted values belong to, by id. Omit for the group parent.
267
267
  */
268
268
  entity_id?: string | null;
269
269
  /**
@@ -1141,7 +1141,7 @@ export type BindTextBlockRequest = {
1141
1141
  /**
1142
1142
  * Entity Id
1143
1143
  *
1144
- * Entity the fact belongs to; defaults to the primary entity.
1144
+ * Entity the fact belongs to, by id; omit for the group parent.
1145
1145
  */
1146
1146
  entity_id?: string | null;
1147
1147
  };
@@ -1366,7 +1366,7 @@ export type ChangeReportingStyleRequest = {
1366
1366
  /**
1367
1367
  * Entity Id
1368
1368
  *
1369
- * Target entity. Omit to target the graph's primary (earliest-created) entity — the single-entity default.
1369
+ * The entity whose style to change, by id. Omit for the group parent.
1370
1370
  */
1371
1371
  entity_id?: string | null;
1372
1372
  };
@@ -1914,7 +1914,7 @@ export type ComputeMetricsRequest = {
1914
1914
  /**
1915
1915
  * Entity Id
1916
1916
  *
1917
- * Entity to compute for. Defaults to the graph's earliest-created entity (the primary entity for single-entity graphs).
1917
+ * The entity whose metrics to compute, by id. Omit for the group parent.
1918
1918
  */
1919
1919
  entity_id?: string | null;
1920
1920
  /**
@@ -2917,7 +2917,7 @@ export type CreateForecastRequest = {
2917
2917
  /**
2918
2918
  * Entity Id
2919
2919
  *
2920
- * Entity the scenario belongs to. Defaults to the graph's earliest-created entity (single-entity convention).
2920
+ * The entity the scenario belongs to, by id: its history and its computed months are that entity's books. Omit for the group parent.
2921
2921
  */
2922
2922
  entity_id?: string | null;
2923
2923
  };
@@ -3246,6 +3246,12 @@ export type CreateScheduleRequest = {
3246
3246
  * Schedule name
3247
3247
  */
3248
3248
  name: string;
3249
+ /**
3250
+ * Entity Id
3251
+ *
3252
+ * The entity whose books the schedule belongs to, by id. Omit for the group parent. Its facts, obligations and closing entries land in that entity's books, against that entity's own accounts.
3253
+ */
3254
+ entity_id?: string | null;
3249
3255
  /**
3250
3256
  * Taxonomy Id
3251
3257
  *
@@ -7544,6 +7550,12 @@ export type InformationBlockEnvelope = {
7544
7550
  * Qname of the named Disclosure this block corresponds to (e.g., 'disclosures:BalanceSheet'), when an inbound reportedDisclosure-requiresDisclosure arc identifies one. Null for tenant-authored blocks without a Disclosure mapping.
7545
7551
  */
7546
7552
  disclosure_id?: string | null;
7553
+ /**
7554
+ * Entity Id
7555
+ *
7556
+ * The entity whose books the envelope reads. A schedule, reconciliation or forecast is one entity's own and always reads its owner's; a block shared by the group (statements, metrics) reads the entity asked for, else the group parent. Null on the library and on a graph with no entity yet.
7557
+ */
7558
+ entity_id?: string | null;
7547
7559
  information_model: InformationModelResponse;
7548
7560
  artifact: ArtifactResponse;
7549
7561
  /**
package/sdk/types.gen.ts CHANGED
@@ -273,7 +273,7 @@ export type AssertMetricsRequest = {
273
273
  /**
274
274
  * Entity Id
275
275
  *
276
- * Entity to assert for. Defaults to the graph's earliest-created entity (the primary entity for single-entity graphs).
276
+ * The entity the asserted values belong to, by id. Omit for the group parent.
277
277
  */
278
278
  entity_id?: string | null;
279
279
  /**
@@ -1172,7 +1172,7 @@ export type BindTextBlockRequest = {
1172
1172
  /**
1173
1173
  * Entity Id
1174
1174
  *
1175
- * Entity the fact belongs to; defaults to the primary entity.
1175
+ * Entity the fact belongs to, by id; omit for the group parent.
1176
1176
  */
1177
1177
  entity_id?: string | null;
1178
1178
  };
@@ -1404,7 +1404,7 @@ export type ChangeReportingStyleRequest = {
1404
1404
  /**
1405
1405
  * Entity Id
1406
1406
  *
1407
- * Target entity. Omit to target the graph's primary (earliest-created) entity — the single-entity default.
1407
+ * The entity whose style to change, by id. Omit for the group parent.
1408
1408
  */
1409
1409
  entity_id?: string | null;
1410
1410
  };
@@ -1965,7 +1965,7 @@ export type ComputeMetricsRequest = {
1965
1965
  /**
1966
1966
  * Entity Id
1967
1967
  *
1968
- * Entity to compute for. Defaults to the graph's earliest-created entity (the primary entity for single-entity graphs).
1968
+ * The entity whose metrics to compute, by id. Omit for the group parent.
1969
1969
  */
1970
1970
  entity_id?: string | null;
1971
1971
  /**
@@ -2985,7 +2985,7 @@ export type CreateForecastRequest = {
2985
2985
  /**
2986
2986
  * Entity Id
2987
2987
  *
2988
- * Entity the scenario belongs to. Defaults to the graph's earliest-created entity (single-entity convention).
2988
+ * The entity the scenario belongs to, by id: its history and its computed months are that entity's books. Omit for the group parent.
2989
2989
  */
2990
2990
  entity_id?: string | null;
2991
2991
  };
@@ -3324,6 +3324,12 @@ export type CreateScheduleRequest = {
3324
3324
  * Schedule name
3325
3325
  */
3326
3326
  name: string;
3327
+ /**
3328
+ * Entity Id
3329
+ *
3330
+ * The entity whose books the schedule belongs to, by id. Omit for the group parent. Its facts, obligations and closing entries land in that entity's books, against that entity's own accounts.
3331
+ */
3332
+ entity_id?: string | null;
3327
3333
  /**
3328
3334
  * Taxonomy Id
3329
3335
  *
@@ -7722,6 +7728,12 @@ export type InformationBlockEnvelope = {
7722
7728
  * Qname of the named Disclosure this block corresponds to (e.g., 'disclosures:BalanceSheet'), when an inbound reportedDisclosure-requiresDisclosure arc identifies one. Null for tenant-authored blocks without a Disclosure mapping.
7723
7729
  */
7724
7730
  disclosure_id?: string | null;
7731
+ /**
7732
+ * Entity Id
7733
+ *
7734
+ * The entity whose books the envelope reads. A schedule, reconciliation or forecast is one entity's own and always reads its owner's; a block shared by the group (statements, metrics) reads the entity asked for, else the group parent. Null on the library and on a graph with no entity yet.
7735
+ */
7736
+ entity_id?: string | null;
7725
7737
  information_model: InformationModelResponse;
7726
7738
  artifact: ArtifactResponse;
7727
7739
  /**