@robosystems/client 0.3.26 → 0.3.27

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.
@@ -2668,6 +2668,7 @@ export type GetInformationBlockQuery = {
2668
2668
  id: string;
2669
2669
  ruleCategory: string;
2670
2670
  rulePattern: string | null;
2671
+ ruleCheckKind: string | null;
2671
2672
  ruleExpression: string;
2672
2673
  ruleMessage: string | null;
2673
2674
  ruleSeverity: string;
@@ -2789,6 +2790,7 @@ export type ListInformationBlocksQuery = {
2789
2790
  id: string;
2790
2791
  ruleCategory: string;
2791
2792
  rulePattern: string | null;
2793
+ ruleCheckKind: string | null;
2792
2794
  ruleExpression: string;
2793
2795
  ruleMessage: string | null;
2794
2796
  ruleSeverity: string;
@@ -3146,6 +3148,7 @@ export type GetLedgerReportPackageQuery = {
3146
3148
  id: string;
3147
3149
  ruleCategory: string;
3148
3150
  rulePattern: string | null;
3151
+ ruleCheckKind: string | null;
3149
3152
  ruleExpression: string;
3150
3153
  ruleMessage: string | null;
3151
3154
  ruleSeverity: string;
@@ -1769,6 +1769,7 @@ exports.GetInformationBlockDocument = {
1769
1769
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
1770
1770
  { kind: 'Field', name: { kind: 'Name', value: 'ruleCategory' } },
1771
1771
  { kind: 'Field', name: { kind: 'Name', value: 'rulePattern' } },
1772
+ { kind: 'Field', name: { kind: 'Name', value: 'ruleCheckKind' } },
1772
1773
  { kind: 'Field', name: { kind: 'Name', value: 'ruleExpression' } },
1773
1774
  { kind: 'Field', name: { kind: 'Name', value: 'ruleMessage' } },
1774
1775
  { kind: 'Field', name: { kind: 'Name', value: 'ruleSeverity' } },
@@ -2056,6 +2057,7 @@ exports.ListInformationBlocksDocument = {
2056
2057
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2057
2058
  { kind: 'Field', name: { kind: 'Name', value: 'ruleCategory' } },
2058
2059
  { kind: 'Field', name: { kind: 'Name', value: 'rulePattern' } },
2060
+ { kind: 'Field', name: { kind: 'Name', value: 'ruleCheckKind' } },
2059
2061
  { kind: 'Field', name: { kind: 'Name', value: 'ruleExpression' } },
2060
2062
  { kind: 'Field', name: { kind: 'Name', value: 'ruleMessage' } },
2061
2063
  { kind: 'Field', name: { kind: 'Name', value: 'ruleSeverity' } },
@@ -2984,6 +2986,7 @@ exports.GetLedgerReportPackageDocument = {
2984
2986
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2985
2987
  { kind: 'Field', name: { kind: 'Name', value: 'ruleCategory' } },
2986
2988
  { kind: 'Field', name: { kind: 'Name', value: 'rulePattern' } },
2989
+ { kind: 'Field', name: { kind: 'Name', value: 'ruleCheckKind' } },
2987
2990
  {
2988
2991
  kind: 'Field',
2989
2992
  name: { kind: 'Name', value: 'ruleExpression' },
@@ -2783,6 +2783,7 @@ export type GetInformationBlockQuery = {
2783
2783
  id: string
2784
2784
  ruleCategory: string
2785
2785
  rulePattern: string | null
2786
+ ruleCheckKind: string | null
2786
2787
  ruleExpression: string
2787
2788
  ruleMessage: string | null
2788
2789
  ruleSeverity: string
@@ -2893,6 +2894,7 @@ export type ListInformationBlocksQuery = {
2893
2894
  id: string
2894
2895
  ruleCategory: string
2895
2896
  rulePattern: string | null
2897
+ ruleCheckKind: string | null
2896
2898
  ruleExpression: string
2897
2899
  ruleMessage: string | null
2898
2900
  ruleSeverity: string
@@ -3242,6 +3244,7 @@ export type GetLedgerReportPackageQuery = {
3242
3244
  id: string
3243
3245
  ruleCategory: string
3244
3246
  rulePattern: string | null
3247
+ ruleCheckKind: string | null
3245
3248
  ruleExpression: string
3246
3249
  ruleMessage: string | null
3247
3250
  ruleSeverity: string
@@ -5522,6 +5525,7 @@ export const GetInformationBlockDocument = {
5522
5525
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
5523
5526
  { kind: 'Field', name: { kind: 'Name', value: 'ruleCategory' } },
5524
5527
  { kind: 'Field', name: { kind: 'Name', value: 'rulePattern' } },
5528
+ { kind: 'Field', name: { kind: 'Name', value: 'ruleCheckKind' } },
5525
5529
  { kind: 'Field', name: { kind: 'Name', value: 'ruleExpression' } },
5526
5530
  { kind: 'Field', name: { kind: 'Name', value: 'ruleMessage' } },
5527
5531
  { kind: 'Field', name: { kind: 'Name', value: 'ruleSeverity' } },
@@ -5809,6 +5813,7 @@ export const ListInformationBlocksDocument = {
5809
5813
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
5810
5814
  { kind: 'Field', name: { kind: 'Name', value: 'ruleCategory' } },
5811
5815
  { kind: 'Field', name: { kind: 'Name', value: 'rulePattern' } },
5816
+ { kind: 'Field', name: { kind: 'Name', value: 'ruleCheckKind' } },
5812
5817
  { kind: 'Field', name: { kind: 'Name', value: 'ruleExpression' } },
5813
5818
  { kind: 'Field', name: { kind: 'Name', value: 'ruleMessage' } },
5814
5819
  { kind: 'Field', name: { kind: 'Name', value: 'ruleSeverity' } },
@@ -6743,6 +6748,7 @@ export const GetLedgerReportPackageDocument = {
6743
6748
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
6744
6749
  { kind: 'Field', name: { kind: 'Name', value: 'ruleCategory' } },
6745
6750
  { kind: 'Field', name: { kind: 'Name', value: 'rulePattern' } },
6751
+ { kind: 'Field', name: { kind: 'Name', value: 'ruleCheckKind' } },
6746
6752
  {
6747
6753
  kind: 'Field',
6748
6754
  name: { kind: 'Name', value: 'ruleExpression' },
@@ -93,6 +93,7 @@ exports.GET_REPORT_PACKAGE = (0, graphql_request_1.gql) `
93
93
  id
94
94
  ruleCategory
95
95
  rulePattern
96
+ ruleCheckKind
96
97
  ruleExpression
97
98
  ruleMessage
98
99
  ruleSeverity
@@ -91,6 +91,7 @@ export const GET_REPORT_PACKAGE = gql`
91
91
  id
92
92
  ruleCategory
93
93
  rulePattern
94
+ ruleCheckKind
94
95
  ruleExpression
95
96
  ruleMessage
96
97
  ruleSeverity
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robosystems/client",
3
- "version": "0.3.26",
3
+ "version": "0.3.27",
4
4
  "description": "TypeScript client library for RoboSystems Financial Knowledge Graph API",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -11443,6 +11443,11 @@ export type TaxonomyBlockEnvelope = {
11443
11443
  * TaxonomyBlockRule
11444
11444
  *
11445
11445
  * Rule projection for the Taxonomy Block envelope.
11446
+ *
11447
+ * Exactly one of ``rule_pattern`` (arithmetic) or ``rule_check_kind``
11448
+ * (model-structure) is non-null per row, enforced by the
11449
+ * ``check_rule_pattern_kind_xor`` DB constraint. See
11450
+ * information-block.md §5.2.2.
11446
11451
  */
11447
11452
  export type TaxonomyBlockRule = {
11448
11453
  /**
@@ -11460,7 +11465,11 @@ export type TaxonomyBlockRule = {
11460
11465
  /**
11461
11466
  * Rule Pattern
11462
11467
  */
11463
- rule_pattern: string;
11468
+ rule_pattern?: string | null;
11469
+ /**
11470
+ * Rule Check Kind
11471
+ */
11472
+ rule_check_kind?: string | null;
11464
11473
  /**
11465
11474
  * Rule Expression
11466
11475
  */
@@ -11494,6 +11503,15 @@ export type TaxonomyBlockRule = {
11494
11503
  * Exactly one of ``target_structure_ref``, ``target_element_qname``, or
11495
11504
  * ``target_taxonomy_self`` must be set (or all null for a global rule).
11496
11505
  * The ``model_validator`` enforces this contract at the Pydantic layer.
11506
+ *
11507
+ * Only **arithmetic** rule patterns are user-creatable via this API
11508
+ * (the ``rule_pattern`` Literal below). The 6 model-structure check
11509
+ * kinds (``NoCycles``, ``NoOrphanArcs``, ``ParentBeforeChild``,
11510
+ * ``LeafHasClassification``, ``LibraryOriginImmutability``,
11511
+ * ``UniqueQNameInTaxonomy``) are system-managed — they're auto-emitted
11512
+ * by :func:`emit_auto_rules` at taxonomy-block creation time and
11513
+ * populate ``rules.rule_check_kind`` instead of ``rule_pattern``. See
11514
+ * information-block.md §5.2.2 for the axis split.
11497
11515
  */
11498
11516
  export type TaxonomyBlockRuleRequest = {
11499
11517
  /**
package/sdk/types.gen.ts CHANGED
@@ -11729,6 +11729,11 @@ export type TaxonomyBlockEnvelope = {
11729
11729
  * TaxonomyBlockRule
11730
11730
  *
11731
11731
  * Rule projection for the Taxonomy Block envelope.
11732
+ *
11733
+ * Exactly one of ``rule_pattern`` (arithmetic) or ``rule_check_kind``
11734
+ * (model-structure) is non-null per row, enforced by the
11735
+ * ``check_rule_pattern_kind_xor`` DB constraint. See
11736
+ * information-block.md §5.2.2.
11732
11737
  */
11733
11738
  export type TaxonomyBlockRule = {
11734
11739
  /**
@@ -11746,7 +11751,11 @@ export type TaxonomyBlockRule = {
11746
11751
  /**
11747
11752
  * Rule Pattern
11748
11753
  */
11749
- rule_pattern: string;
11754
+ rule_pattern?: string | null;
11755
+ /**
11756
+ * Rule Check Kind
11757
+ */
11758
+ rule_check_kind?: string | null;
11750
11759
  /**
11751
11760
  * Rule Expression
11752
11761
  */
@@ -11781,6 +11790,15 @@ export type TaxonomyBlockRule = {
11781
11790
  * Exactly one of ``target_structure_ref``, ``target_element_qname``, or
11782
11791
  * ``target_taxonomy_self`` must be set (or all null for a global rule).
11783
11792
  * The ``model_validator`` enforces this contract at the Pydantic layer.
11793
+ *
11794
+ * Only **arithmetic** rule patterns are user-creatable via this API
11795
+ * (the ``rule_pattern`` Literal below). The 6 model-structure check
11796
+ * kinds (``NoCycles``, ``NoOrphanArcs``, ``ParentBeforeChild``,
11797
+ * ``LeafHasClassification``, ``LibraryOriginImmutability``,
11798
+ * ``UniqueQNameInTaxonomy``) are system-managed — they're auto-emitted
11799
+ * by :func:`emit_auto_rules` at taxonomy-block creation time and
11800
+ * populate ``rules.rule_check_kind`` instead of ``rule_pattern``. See
11801
+ * information-block.md §5.2.2 for the axis split.
11784
11802
  */
11785
11803
  export type TaxonomyBlockRuleRequest = {
11786
11804
  /**
package/types.gen.d.ts CHANGED
@@ -11443,6 +11443,11 @@ export type TaxonomyBlockEnvelope = {
11443
11443
  * TaxonomyBlockRule
11444
11444
  *
11445
11445
  * Rule projection for the Taxonomy Block envelope.
11446
+ *
11447
+ * Exactly one of ``rule_pattern`` (arithmetic) or ``rule_check_kind``
11448
+ * (model-structure) is non-null per row, enforced by the
11449
+ * ``check_rule_pattern_kind_xor`` DB constraint. See
11450
+ * information-block.md §5.2.2.
11446
11451
  */
11447
11452
  export type TaxonomyBlockRule = {
11448
11453
  /**
@@ -11460,7 +11465,11 @@ export type TaxonomyBlockRule = {
11460
11465
  /**
11461
11466
  * Rule Pattern
11462
11467
  */
11463
- rule_pattern: string;
11468
+ rule_pattern?: string | null;
11469
+ /**
11470
+ * Rule Check Kind
11471
+ */
11472
+ rule_check_kind?: string | null;
11464
11473
  /**
11465
11474
  * Rule Expression
11466
11475
  */
@@ -11494,6 +11503,15 @@ export type TaxonomyBlockRule = {
11494
11503
  * Exactly one of ``target_structure_ref``, ``target_element_qname``, or
11495
11504
  * ``target_taxonomy_self`` must be set (or all null for a global rule).
11496
11505
  * The ``model_validator`` enforces this contract at the Pydantic layer.
11506
+ *
11507
+ * Only **arithmetic** rule patterns are user-creatable via this API
11508
+ * (the ``rule_pattern`` Literal below). The 6 model-structure check
11509
+ * kinds (``NoCycles``, ``NoOrphanArcs``, ``ParentBeforeChild``,
11510
+ * ``LeafHasClassification``, ``LibraryOriginImmutability``,
11511
+ * ``UniqueQNameInTaxonomy``) are system-managed — they're auto-emitted
11512
+ * by :func:`emit_auto_rules` at taxonomy-block creation time and
11513
+ * populate ``rules.rule_check_kind`` instead of ``rule_pattern``. See
11514
+ * information-block.md §5.2.2 for the axis split.
11497
11515
  */
11498
11516
  export type TaxonomyBlockRuleRequest = {
11499
11517
  /**
package/types.gen.ts CHANGED
@@ -11729,6 +11729,11 @@ export type TaxonomyBlockEnvelope = {
11729
11729
  * TaxonomyBlockRule
11730
11730
  *
11731
11731
  * Rule projection for the Taxonomy Block envelope.
11732
+ *
11733
+ * Exactly one of ``rule_pattern`` (arithmetic) or ``rule_check_kind``
11734
+ * (model-structure) is non-null per row, enforced by the
11735
+ * ``check_rule_pattern_kind_xor`` DB constraint. See
11736
+ * information-block.md §5.2.2.
11732
11737
  */
11733
11738
  export type TaxonomyBlockRule = {
11734
11739
  /**
@@ -11746,7 +11751,11 @@ export type TaxonomyBlockRule = {
11746
11751
  /**
11747
11752
  * Rule Pattern
11748
11753
  */
11749
- rule_pattern: string;
11754
+ rule_pattern?: string | null;
11755
+ /**
11756
+ * Rule Check Kind
11757
+ */
11758
+ rule_check_kind?: string | null;
11750
11759
  /**
11751
11760
  * Rule Expression
11752
11761
  */
@@ -11781,6 +11790,15 @@ export type TaxonomyBlockRule = {
11781
11790
  * Exactly one of ``target_structure_ref``, ``target_element_qname``, or
11782
11791
  * ``target_taxonomy_self`` must be set (or all null for a global rule).
11783
11792
  * The ``model_validator`` enforces this contract at the Pydantic layer.
11793
+ *
11794
+ * Only **arithmetic** rule patterns are user-creatable via this API
11795
+ * (the ``rule_pattern`` Literal below). The 6 model-structure check
11796
+ * kinds (``NoCycles``, ``NoOrphanArcs``, ``ParentBeforeChild``,
11797
+ * ``LeafHasClassification``, ``LibraryOriginImmutability``,
11798
+ * ``UniqueQNameInTaxonomy``) are system-managed — they're auto-emitted
11799
+ * by :func:`emit_auto_rules` at taxonomy-block creation time and
11800
+ * populate ``rules.rule_check_kind`` instead of ``rule_pattern``. See
11801
+ * information-block.md §5.2.2 for the axis split.
11784
11802
  */
11785
11803
  export type TaxonomyBlockRuleRequest = {
11786
11804
  /**