@robosystems/client 0.2.38 → 0.2.40

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/types.gen.ts CHANGED
@@ -122,7 +122,7 @@ export type AccountResponse = {
122
122
  /**
123
123
  * Code
124
124
  */
125
- code: string;
125
+ code?: string | null;
126
126
  /**
127
127
  * Name
128
128
  */
@@ -188,7 +188,7 @@ export type AccountTreeNode = {
188
188
  /**
189
189
  * Code
190
190
  */
191
- code: string;
191
+ code?: string | null;
192
192
  /**
193
193
  * Name
194
194
  */
@@ -1450,6 +1450,40 @@ export type CreateApiKeyResponse = {
1450
1450
  key: string;
1451
1451
  };
1452
1452
 
1453
+ /**
1454
+ * CreateAssociationRequest
1455
+ */
1456
+ export type CreateAssociationRequest = {
1457
+ /**
1458
+ * From Element Id
1459
+ */
1460
+ from_element_id: string;
1461
+ /**
1462
+ * To Element Id
1463
+ */
1464
+ to_element_id: string;
1465
+ /**
1466
+ * Association Type
1467
+ */
1468
+ association_type?: 'presentation' | 'calculation' | 'mapping';
1469
+ /**
1470
+ * Order Value
1471
+ */
1472
+ order_value?: number | null;
1473
+ /**
1474
+ * Weight
1475
+ */
1476
+ weight?: number | null;
1477
+ /**
1478
+ * Confidence
1479
+ */
1480
+ confidence?: number | null;
1481
+ /**
1482
+ * Suggested By
1483
+ */
1484
+ suggested_by?: string | null;
1485
+ };
1486
+
1453
1487
  /**
1454
1488
  * CreateCheckoutRequest
1455
1489
  *
@@ -1542,6 +1576,54 @@ export type CreateGraphRequest = {
1542
1576
  tags?: Array<string>;
1543
1577
  };
1544
1578
 
1579
+ /**
1580
+ * CreateReportRequest
1581
+ */
1582
+ export type CreateReportRequest = {
1583
+ /**
1584
+ * Name
1585
+ *
1586
+ * Report name
1587
+ */
1588
+ name: string;
1589
+ /**
1590
+ * Taxonomy Id
1591
+ *
1592
+ * Taxonomy ID — determines which structures are available
1593
+ */
1594
+ taxonomy_id?: string;
1595
+ /**
1596
+ * Mapping Id
1597
+ *
1598
+ * Mapping structure ID for CoA→GAAP rollup
1599
+ */
1600
+ mapping_id: string;
1601
+ /**
1602
+ * Period Start
1603
+ *
1604
+ * Period start date (inclusive)
1605
+ */
1606
+ period_start: string;
1607
+ /**
1608
+ * Period End
1609
+ *
1610
+ * Period end date (inclusive)
1611
+ */
1612
+ period_end: string;
1613
+ /**
1614
+ * Period Type
1615
+ *
1616
+ * Period type: monthly, quarterly, annual
1617
+ */
1618
+ period_type?: string;
1619
+ /**
1620
+ * Comparative
1621
+ *
1622
+ * Include prior period comparison
1623
+ */
1624
+ comparative?: boolean;
1625
+ };
1626
+
1545
1627
  /**
1546
1628
  * CreateRepositorySubscriptionRequest
1547
1629
  *
@@ -1556,6 +1638,28 @@ export type CreateRepositorySubscriptionRequest = {
1556
1638
  plan_name: string;
1557
1639
  };
1558
1640
 
1641
+ /**
1642
+ * CreateStructureRequest
1643
+ */
1644
+ export type CreateStructureRequest = {
1645
+ /**
1646
+ * Name
1647
+ */
1648
+ name: string;
1649
+ /**
1650
+ * Description
1651
+ */
1652
+ description?: string | null;
1653
+ /**
1654
+ * Structure Type
1655
+ */
1656
+ structure_type: 'chart_of_accounts' | 'income_statement' | 'balance_sheet' | 'cash_flow_statement' | 'equity_statement' | 'coa_mapping' | 'custom';
1657
+ /**
1658
+ * Taxonomy Id
1659
+ */
1660
+ taxonomy_id: string;
1661
+ };
1662
+
1559
1663
  /**
1560
1664
  * CreateSubgraphRequest
1561
1665
  *
@@ -1606,6 +1710,36 @@ export type CreateSubgraphRequest = {
1606
1710
  fork_parent?: boolean;
1607
1711
  };
1608
1712
 
1713
+ /**
1714
+ * CreateTaxonomyRequest
1715
+ */
1716
+ export type CreateTaxonomyRequest = {
1717
+ /**
1718
+ * Name
1719
+ */
1720
+ name: string;
1721
+ /**
1722
+ * Description
1723
+ */
1724
+ description?: string | null;
1725
+ /**
1726
+ * Taxonomy Type
1727
+ */
1728
+ taxonomy_type: 'chart_of_accounts' | 'reporting' | 'mapping';
1729
+ /**
1730
+ * Version
1731
+ */
1732
+ version?: string | null;
1733
+ /**
1734
+ * Source Taxonomy Id
1735
+ */
1736
+ source_taxonomy_id?: string | null;
1737
+ /**
1738
+ * Target Taxonomy Id
1739
+ */
1740
+ target_taxonomy_id?: string | null;
1741
+ };
1742
+
1609
1743
  /**
1610
1744
  * CreateViewRequest
1611
1745
  */
@@ -2192,10 +2326,6 @@ export type DetailedTransactionsResponse = {
2192
2326
  * A document in the document list.
2193
2327
  */
2194
2328
  export type DocumentListItem = {
2195
- /**
2196
- * Document Id
2197
- */
2198
- document_id: string;
2199
2329
  /**
2200
2330
  * Document Title
2201
2331
  */
@@ -2428,6 +2558,163 @@ export type DownloadQuota = {
2428
2558
  resets_at: string;
2429
2559
  };
2430
2560
 
2561
+ /**
2562
+ * ElementAssociationResponse
2563
+ */
2564
+ export type ElementAssociationResponse = {
2565
+ /**
2566
+ * Id
2567
+ */
2568
+ id: string;
2569
+ /**
2570
+ * Structure Id
2571
+ */
2572
+ structure_id: string;
2573
+ /**
2574
+ * From Element Id
2575
+ */
2576
+ from_element_id: string;
2577
+ /**
2578
+ * From Element Name
2579
+ */
2580
+ from_element_name?: string | null;
2581
+ /**
2582
+ * From Element Qname
2583
+ */
2584
+ from_element_qname?: string | null;
2585
+ /**
2586
+ * To Element Id
2587
+ */
2588
+ to_element_id: string;
2589
+ /**
2590
+ * To Element Name
2591
+ */
2592
+ to_element_name?: string | null;
2593
+ /**
2594
+ * To Element Qname
2595
+ */
2596
+ to_element_qname?: string | null;
2597
+ /**
2598
+ * Association Type
2599
+ */
2600
+ association_type: string;
2601
+ /**
2602
+ * Order Value
2603
+ */
2604
+ order_value?: number | null;
2605
+ /**
2606
+ * Weight
2607
+ */
2608
+ weight?: number | null;
2609
+ /**
2610
+ * Confidence
2611
+ */
2612
+ confidence?: number | null;
2613
+ /**
2614
+ * Suggested By
2615
+ */
2616
+ suggested_by?: string | null;
2617
+ /**
2618
+ * Approved By
2619
+ */
2620
+ approved_by?: string | null;
2621
+ };
2622
+
2623
+ /**
2624
+ * ElementListResponse
2625
+ */
2626
+ export type ElementListResponse = {
2627
+ /**
2628
+ * Elements
2629
+ */
2630
+ elements: Array<ElementResponse>;
2631
+ pagination: PaginationInfo;
2632
+ };
2633
+
2634
+ /**
2635
+ * ElementResponse
2636
+ *
2637
+ * Element with taxonomy context — extends AccountResponse.
2638
+ */
2639
+ export type ElementResponse = {
2640
+ /**
2641
+ * Id
2642
+ */
2643
+ id: string;
2644
+ /**
2645
+ * Code
2646
+ */
2647
+ code?: string | null;
2648
+ /**
2649
+ * Name
2650
+ */
2651
+ name: string;
2652
+ /**
2653
+ * Description
2654
+ */
2655
+ description?: string | null;
2656
+ /**
2657
+ * Qname
2658
+ */
2659
+ qname?: string | null;
2660
+ /**
2661
+ * Namespace
2662
+ */
2663
+ namespace?: string | null;
2664
+ /**
2665
+ * Classification
2666
+ */
2667
+ classification: string;
2668
+ /**
2669
+ * Sub Classification
2670
+ */
2671
+ sub_classification?: string | null;
2672
+ /**
2673
+ * Balance Type
2674
+ */
2675
+ balance_type: string;
2676
+ /**
2677
+ * Period Type
2678
+ */
2679
+ period_type: string;
2680
+ /**
2681
+ * Is Abstract
2682
+ */
2683
+ is_abstract: boolean;
2684
+ /**
2685
+ * Element Type
2686
+ */
2687
+ element_type: string;
2688
+ /**
2689
+ * Source
2690
+ */
2691
+ source: string;
2692
+ /**
2693
+ * Taxonomy Id
2694
+ */
2695
+ taxonomy_id?: string | null;
2696
+ /**
2697
+ * Parent Id
2698
+ */
2699
+ parent_id?: string | null;
2700
+ /**
2701
+ * Depth
2702
+ */
2703
+ depth: number;
2704
+ /**
2705
+ * Is Active
2706
+ */
2707
+ is_active: boolean;
2708
+ /**
2709
+ * External Id
2710
+ */
2711
+ external_id?: string | null;
2712
+ /**
2713
+ * External Source
2714
+ */
2715
+ external_source?: string | null;
2716
+ };
2717
+
2431
2718
  /**
2432
2719
  * EmailVerificationRequest
2433
2720
  *
@@ -2545,6 +2832,44 @@ export type ErrorResponse = {
2545
2832
  timestamp?: string | null;
2546
2833
  };
2547
2834
 
2835
+ /**
2836
+ * FactRowResponse
2837
+ */
2838
+ export type FactRowResponse = {
2839
+ /**
2840
+ * Element Id
2841
+ */
2842
+ element_id: string;
2843
+ /**
2844
+ * Element Qname
2845
+ */
2846
+ element_qname: string;
2847
+ /**
2848
+ * Element Name
2849
+ */
2850
+ element_name: string;
2851
+ /**
2852
+ * Classification
2853
+ */
2854
+ classification: string;
2855
+ /**
2856
+ * Current Value
2857
+ */
2858
+ current_value: number;
2859
+ /**
2860
+ * Prior Value
2861
+ */
2862
+ prior_value?: number | null;
2863
+ /**
2864
+ * Is Subtotal
2865
+ */
2866
+ is_subtotal?: boolean;
2867
+ /**
2868
+ * Depth
2869
+ */
2870
+ depth?: number;
2871
+ };
2872
+
2548
2873
  /**
2549
2874
  * FileInfo
2550
2875
  */
@@ -3253,7 +3578,7 @@ export type GraphSubscriptionTier = {
3253
3578
  /**
3254
3579
  * Backend
3255
3580
  *
3256
- * Database backend (ladybug or neo4j)
3581
+ * Database backend identifier
3257
3582
  */
3258
3583
  backend: string;
3259
3584
  /**
@@ -3397,7 +3722,7 @@ export type GraphTierInfo = {
3397
3722
  /**
3398
3723
  * Backend
3399
3724
  *
3400
- * Database backend (ladybug or neo4j)
3725
+ * Database backend identifier
3401
3726
  */
3402
3727
  backend: string;
3403
3728
  /**
@@ -4228,7 +4553,7 @@ export type ListSubgraphsResponse = {
4228
4553
  /**
4229
4554
  * Subgraphs Enabled
4230
4555
  *
4231
- * Whether subgraphs are enabled for this tier (requires LadybugDB Large/XLarge or Neo4j Enterprise XLarge)
4556
+ * Whether subgraphs are enabled for this tier (requires LadybugDB Large/XLarge)
4232
4557
  */
4233
4558
  subgraphs_enabled: boolean;
4234
4559
  /**
@@ -4352,39 +4677,111 @@ export type McpToolsResponse = {
4352
4677
  };
4353
4678
 
4354
4679
  /**
4355
- * MaterializeRequest
4680
+ * MappingCoverageResponse
4681
+ *
4682
+ * Coverage stats for a mapping.
4356
4683
  */
4357
- export type MaterializeRequest = {
4684
+ export type MappingCoverageResponse = {
4358
4685
  /**
4359
- * Force
4360
- *
4361
- * Force materialization even if graph is not stale
4686
+ * Mapping Id
4362
4687
  */
4363
- force?: boolean;
4688
+ mapping_id: string;
4364
4689
  /**
4365
- * Rebuild
4366
- *
4367
- * Delete and recreate graph database before materialization
4690
+ * Total Coa Elements
4368
4691
  */
4369
- rebuild?: boolean;
4692
+ total_coa_elements: number;
4370
4693
  /**
4371
- * Ignore Errors
4372
- *
4373
- * Continue ingestion on row errors
4694
+ * Mapped Count
4374
4695
  */
4375
- ignore_errors?: boolean;
4696
+ mapped_count: number;
4376
4697
  /**
4377
- * Dry Run
4378
- *
4379
- * Validate limits without executing materialization. Returns usage, limits, and warnings.
4698
+ * Unmapped Count
4380
4699
  */
4381
- dry_run?: boolean;
4700
+ unmapped_count: number;
4382
4701
  /**
4383
- * Source
4384
- *
4385
- * Data source for materialization. Auto-detected from graph type if not specified. 'staged' materializes from uploaded files (generic graphs). 'extensions' materializes from the extensions OLTP database (entity graphs).
4702
+ * Coverage Percent
4386
4703
  */
4387
- source?: string | null;
4704
+ coverage_percent: number;
4705
+ /**
4706
+ * High Confidence
4707
+ */
4708
+ high_confidence?: number;
4709
+ /**
4710
+ * Medium Confidence
4711
+ */
4712
+ medium_confidence?: number;
4713
+ /**
4714
+ * Low Confidence
4715
+ */
4716
+ low_confidence?: number;
4717
+ };
4718
+
4719
+ /**
4720
+ * MappingDetailResponse
4721
+ *
4722
+ * A mapping structure with all its associations.
4723
+ */
4724
+ export type MappingDetailResponse = {
4725
+ /**
4726
+ * Id
4727
+ */
4728
+ id: string;
4729
+ /**
4730
+ * Name
4731
+ */
4732
+ name: string;
4733
+ /**
4734
+ * Structure Type
4735
+ */
4736
+ structure_type: string;
4737
+ /**
4738
+ * Taxonomy Id
4739
+ */
4740
+ taxonomy_id: string;
4741
+ /**
4742
+ * Associations
4743
+ */
4744
+ associations: Array<ElementAssociationResponse>;
4745
+ /**
4746
+ * Total Associations
4747
+ */
4748
+ total_associations: number;
4749
+ };
4750
+
4751
+ /**
4752
+ * MaterializeRequest
4753
+ */
4754
+ export type MaterializeRequest = {
4755
+ /**
4756
+ * Force
4757
+ *
4758
+ * Force materialization even if graph is not stale
4759
+ */
4760
+ force?: boolean;
4761
+ /**
4762
+ * Rebuild
4763
+ *
4764
+ * Delete and recreate graph database before materialization
4765
+ */
4766
+ rebuild?: boolean;
4767
+ /**
4768
+ * Ignore Errors
4769
+ *
4770
+ * Continue ingestion on row errors
4771
+ */
4772
+ ignore_errors?: boolean;
4773
+ /**
4774
+ * Dry Run
4775
+ *
4776
+ * Validate limits without executing materialization. Returns usage, limits, and warnings.
4777
+ */
4778
+ dry_run?: boolean;
4779
+ /**
4780
+ * Source
4781
+ *
4782
+ * Data source for materialization. Auto-detected from graph type if not specified. 'staged' materializes from uploaded files (generic graphs). 'extensions' materializes from the extensions OLTP database (entity graphs).
4783
+ */
4784
+ source?: string | null;
4388
4785
  };
4389
4786
 
4390
4787
  /**
@@ -5237,6 +5634,24 @@ export type RateLimits = {
5237
5634
  burst_capacity: number;
5238
5635
  };
5239
5636
 
5637
+ /**
5638
+ * RegenerateReportRequest
5639
+ */
5640
+ export type RegenerateReportRequest = {
5641
+ /**
5642
+ * Period Start
5643
+ *
5644
+ * New period start date
5645
+ */
5646
+ period_start: string;
5647
+ /**
5648
+ * Period End
5649
+ *
5650
+ * New period end date
5651
+ */
5652
+ period_end: string;
5653
+ };
5654
+
5240
5655
  /**
5241
5656
  * RegisterRequest
5242
5657
  *
@@ -5269,6 +5684,88 @@ export type RegisterRequest = {
5269
5684
  captcha_token?: string | null;
5270
5685
  };
5271
5686
 
5687
+ /**
5688
+ * ReportListResponse
5689
+ */
5690
+ export type ReportListResponse = {
5691
+ /**
5692
+ * Reports
5693
+ */
5694
+ reports: Array<ReportResponse>;
5695
+ };
5696
+
5697
+ /**
5698
+ * ReportResponse
5699
+ *
5700
+ * Report definition summary.
5701
+ */
5702
+ export type ReportResponse = {
5703
+ /**
5704
+ * Id
5705
+ */
5706
+ id: string;
5707
+ /**
5708
+ * Name
5709
+ */
5710
+ name: string;
5711
+ /**
5712
+ * Taxonomy Id
5713
+ */
5714
+ taxonomy_id: string;
5715
+ /**
5716
+ * Generation Status
5717
+ */
5718
+ generation_status: string;
5719
+ /**
5720
+ * Period Type
5721
+ */
5722
+ period_type: string;
5723
+ /**
5724
+ * Period Start
5725
+ */
5726
+ period_start?: string | null;
5727
+ /**
5728
+ * Period End
5729
+ */
5730
+ period_end?: string | null;
5731
+ /**
5732
+ * Comparative
5733
+ */
5734
+ comparative: boolean;
5735
+ /**
5736
+ * Mapping Id
5737
+ */
5738
+ mapping_id?: string | null;
5739
+ /**
5740
+ * Ai Generated
5741
+ */
5742
+ ai_generated?: boolean;
5743
+ /**
5744
+ * Created At
5745
+ */
5746
+ created_at: string;
5747
+ /**
5748
+ * Last Generated
5749
+ */
5750
+ last_generated?: string | null;
5751
+ /**
5752
+ * Structures
5753
+ */
5754
+ structures?: Array<StructureSummary>;
5755
+ /**
5756
+ * Source Graph Id
5757
+ */
5758
+ source_graph_id?: string | null;
5759
+ /**
5760
+ * Source Report Id
5761
+ */
5762
+ source_report_id?: string | null;
5763
+ /**
5764
+ * Shared At
5765
+ */
5766
+ shared_at?: string | null;
5767
+ };
5768
+
5272
5769
  /**
5273
5770
  * RepositoryInfo
5274
5771
  *
@@ -5920,6 +6417,103 @@ export type ServiceOfferingsResponse = {
5920
6417
  summary: ServiceOfferingSummary;
5921
6418
  };
5922
6419
 
6420
+ /**
6421
+ * ShareReportRequest
6422
+ */
6423
+ export type ShareReportRequest = {
6424
+ /**
6425
+ * Target Graph Ids
6426
+ *
6427
+ * Graph IDs to share the report to
6428
+ */
6429
+ target_graph_ids: Array<string>;
6430
+ };
6431
+
6432
+ /**
6433
+ * ShareReportResponse
6434
+ */
6435
+ export type ShareReportResponse = {
6436
+ /**
6437
+ * Report Id
6438
+ */
6439
+ report_id: string;
6440
+ /**
6441
+ * Results
6442
+ */
6443
+ results: Array<ShareResultItem>;
6444
+ };
6445
+
6446
+ /**
6447
+ * ShareResultItem
6448
+ */
6449
+ export type ShareResultItem = {
6450
+ /**
6451
+ * Target Graph Id
6452
+ */
6453
+ target_graph_id: string;
6454
+ /**
6455
+ * Status
6456
+ */
6457
+ status: string;
6458
+ /**
6459
+ * Error
6460
+ */
6461
+ error?: string | null;
6462
+ /**
6463
+ * Fact Count
6464
+ */
6465
+ fact_count?: number;
6466
+ };
6467
+
6468
+ /**
6469
+ * StatementResponse
6470
+ *
6471
+ * Rendered financial statement — facts viewed through a structure.
6472
+ */
6473
+ export type StatementResponse = {
6474
+ /**
6475
+ * Report Id
6476
+ */
6477
+ report_id: string;
6478
+ /**
6479
+ * Structure Id
6480
+ */
6481
+ structure_id: string;
6482
+ /**
6483
+ * Structure Name
6484
+ */
6485
+ structure_name: string;
6486
+ /**
6487
+ * Structure Type
6488
+ */
6489
+ structure_type: string;
6490
+ /**
6491
+ * Period Start
6492
+ */
6493
+ period_start: string;
6494
+ /**
6495
+ * Period End
6496
+ */
6497
+ period_end: string;
6498
+ /**
6499
+ * Comparative Period Start
6500
+ */
6501
+ comparative_period_start?: string | null;
6502
+ /**
6503
+ * Comparative Period End
6504
+ */
6505
+ comparative_period_end?: string | null;
6506
+ /**
6507
+ * Rows
6508
+ */
6509
+ rows?: Array<FactRowResponse>;
6510
+ validation?: ValidationCheckResponse | null;
6511
+ /**
6512
+ * Unmapped Count
6513
+ */
6514
+ unmapped_count?: number;
6515
+ };
6516
+
5923
6517
  /**
5924
6518
  * StorageLimitResponse
5925
6519
  *
@@ -6034,6 +6628,66 @@ export type StorageSummary = {
6034
6628
  measurement_count: number;
6035
6629
  };
6036
6630
 
6631
+ /**
6632
+ * StructureListResponse
6633
+ */
6634
+ export type StructureListResponse = {
6635
+ /**
6636
+ * Structures
6637
+ */
6638
+ structures: Array<StructureResponse>;
6639
+ };
6640
+
6641
+ /**
6642
+ * StructureResponse
6643
+ */
6644
+ export type StructureResponse = {
6645
+ /**
6646
+ * Id
6647
+ */
6648
+ id: string;
6649
+ /**
6650
+ * Name
6651
+ */
6652
+ name: string;
6653
+ /**
6654
+ * Description
6655
+ */
6656
+ description?: string | null;
6657
+ /**
6658
+ * Structure Type
6659
+ */
6660
+ structure_type: string;
6661
+ /**
6662
+ * Taxonomy Id
6663
+ */
6664
+ taxonomy_id: string;
6665
+ /**
6666
+ * Is Active
6667
+ */
6668
+ is_active: boolean;
6669
+ };
6670
+
6671
+ /**
6672
+ * StructureSummary
6673
+ *
6674
+ * A structure available within this report's taxonomy.
6675
+ */
6676
+ export type StructureSummary = {
6677
+ /**
6678
+ * Id
6679
+ */
6680
+ id: string;
6681
+ /**
6682
+ * Name
6683
+ */
6684
+ name: string;
6685
+ /**
6686
+ * Structure Type
6687
+ */
6688
+ structure_type: string;
6689
+ };
6690
+
6037
6691
  /**
6038
6692
  * SubgraphQuotaResponse
6039
6693
  *
@@ -6271,6 +6925,30 @@ export type SuccessResponse = {
6271
6925
  } | null;
6272
6926
  };
6273
6927
 
6928
+ /**
6929
+ * SuggestedTarget
6930
+ *
6931
+ * A suggested mapping target from the reporting taxonomy.
6932
+ */
6933
+ export type SuggestedTarget = {
6934
+ /**
6935
+ * Element Id
6936
+ */
6937
+ element_id: string;
6938
+ /**
6939
+ * Qname
6940
+ */
6941
+ qname: string;
6942
+ /**
6943
+ * Name
6944
+ */
6945
+ name: string;
6946
+ /**
6947
+ * Confidence
6948
+ */
6949
+ confidence?: number | null;
6950
+ };
6951
+
6274
6952
  /**
6275
6953
  * SyncConnectionRequest
6276
6954
  *
@@ -6396,8 +7074,72 @@ export type TableQueryResponse = {
6396
7074
  };
6397
7075
 
6398
7076
  /**
6399
- * TierCapacity
6400
- *
7077
+ * TaxonomyListResponse
7078
+ */
7079
+ export type TaxonomyListResponse = {
7080
+ /**
7081
+ * Taxonomies
7082
+ */
7083
+ taxonomies: Array<TaxonomyResponse>;
7084
+ };
7085
+
7086
+ /**
7087
+ * TaxonomyResponse
7088
+ */
7089
+ export type TaxonomyResponse = {
7090
+ /**
7091
+ * Id
7092
+ */
7093
+ id: string;
7094
+ /**
7095
+ * Name
7096
+ */
7097
+ name: string;
7098
+ /**
7099
+ * Description
7100
+ */
7101
+ description?: string | null;
7102
+ /**
7103
+ * Taxonomy Type
7104
+ */
7105
+ taxonomy_type: string;
7106
+ /**
7107
+ * Version
7108
+ */
7109
+ version?: string | null;
7110
+ /**
7111
+ * Standard
7112
+ */
7113
+ standard?: string | null;
7114
+ /**
7115
+ * Namespace Uri
7116
+ */
7117
+ namespace_uri?: string | null;
7118
+ /**
7119
+ * Is Shared
7120
+ */
7121
+ is_shared: boolean;
7122
+ /**
7123
+ * Is Active
7124
+ */
7125
+ is_active: boolean;
7126
+ /**
7127
+ * Is Locked
7128
+ */
7129
+ is_locked: boolean;
7130
+ /**
7131
+ * Source Taxonomy Id
7132
+ */
7133
+ source_taxonomy_id?: string | null;
7134
+ /**
7135
+ * Target Taxonomy Id
7136
+ */
7137
+ target_taxonomy_id?: string | null;
7138
+ };
7139
+
7140
+ /**
7141
+ * TierCapacity
7142
+ *
6401
7143
  * Capacity status for a single tier.
6402
7144
  */
6403
7145
  export type TierCapacity = {
@@ -6535,6 +7277,42 @@ export type TrialBalanceRow = {
6535
7277
  net_balance: number;
6536
7278
  };
6537
7279
 
7280
+ /**
7281
+ * UnmappedElementResponse
7282
+ *
7283
+ * An element not yet mapped to the reporting taxonomy.
7284
+ */
7285
+ export type UnmappedElementResponse = {
7286
+ /**
7287
+ * Id
7288
+ */
7289
+ id: string;
7290
+ /**
7291
+ * Code
7292
+ */
7293
+ code?: string | null;
7294
+ /**
7295
+ * Name
7296
+ */
7297
+ name: string;
7298
+ /**
7299
+ * Classification
7300
+ */
7301
+ classification: string;
7302
+ /**
7303
+ * Balance Type
7304
+ */
7305
+ balance_type: string;
7306
+ /**
7307
+ * External Source
7308
+ */
7309
+ external_source?: string | null;
7310
+ /**
7311
+ * Suggested Targets
7312
+ */
7313
+ suggested_targets?: Array<SuggestedTarget>;
7314
+ };
7315
+
6538
7316
  /**
6539
7317
  * UpcomingInvoice
6540
7318
  *
@@ -6835,6 +7613,28 @@ export type UserResponse = {
6835
7613
  accounts?: Array<AccountInfo>;
6836
7614
  };
6837
7615
 
7616
+ /**
7617
+ * ValidationCheckResponse
7618
+ */
7619
+ export type ValidationCheckResponse = {
7620
+ /**
7621
+ * Passed
7622
+ */
7623
+ passed: boolean;
7624
+ /**
7625
+ * Checks
7626
+ */
7627
+ checks: Array<string>;
7628
+ /**
7629
+ * Failures
7630
+ */
7631
+ failures: Array<string>;
7632
+ /**
7633
+ * Warnings
7634
+ */
7635
+ warnings: Array<string>;
7636
+ };
7637
+
6838
7638
  /**
6839
7639
  * ValidationError
6840
7640
  */
@@ -11444,7 +12244,7 @@ export type GetLedgerAccountTreeResponses = {
11444
12244
 
11445
12245
  export type GetLedgerAccountTreeResponse = GetLedgerAccountTreeResponses[keyof GetLedgerAccountTreeResponses];
11446
12246
 
11447
- export type ListLedgerTransactionsData = {
12247
+ export type ListTaxonomiesData = {
11448
12248
  body?: never;
11449
12249
  path: {
11450
12250
  /**
@@ -11454,23 +12254,126 @@ export type ListLedgerTransactionsData = {
11454
12254
  };
11455
12255
  query?: {
11456
12256
  /**
11457
- * Type
12257
+ * Taxonomy Type
11458
12258
  *
11459
- * Filter by transaction type
12259
+ * Filter by type
11460
12260
  */
11461
- type?: string | null;
12261
+ taxonomy_type?: string | null;
12262
+ };
12263
+ url: '/v1/ledger/{graph_id}/taxonomies';
12264
+ };
12265
+
12266
+ export type ListTaxonomiesErrors = {
12267
+ /**
12268
+ * Validation Error
12269
+ */
12270
+ 422: HttpValidationError;
12271
+ };
12272
+
12273
+ export type ListTaxonomiesError = ListTaxonomiesErrors[keyof ListTaxonomiesErrors];
12274
+
12275
+ export type ListTaxonomiesResponses = {
12276
+ /**
12277
+ * Successful Response
12278
+ */
12279
+ 200: TaxonomyListResponse;
12280
+ };
12281
+
12282
+ export type ListTaxonomiesResponse = ListTaxonomiesResponses[keyof ListTaxonomiesResponses];
12283
+
12284
+ export type CreateTaxonomyData = {
12285
+ body: CreateTaxonomyRequest;
12286
+ path: {
11462
12287
  /**
11463
- * Start Date
12288
+ * Graph Id
12289
+ */
12290
+ graph_id: string;
12291
+ };
12292
+ query?: never;
12293
+ url: '/v1/ledger/{graph_id}/taxonomies';
12294
+ };
12295
+
12296
+ export type CreateTaxonomyErrors = {
12297
+ /**
12298
+ * Validation Error
12299
+ */
12300
+ 422: HttpValidationError;
12301
+ };
12302
+
12303
+ export type CreateTaxonomyError = CreateTaxonomyErrors[keyof CreateTaxonomyErrors];
12304
+
12305
+ export type CreateTaxonomyResponses = {
12306
+ /**
12307
+ * Successful Response
12308
+ */
12309
+ 201: TaxonomyResponse;
12310
+ };
12311
+
12312
+ export type CreateTaxonomyResponse = CreateTaxonomyResponses[keyof CreateTaxonomyResponses];
12313
+
12314
+ export type GetReportingTaxonomyData = {
12315
+ body?: never;
12316
+ path: {
12317
+ /**
12318
+ * Graph Id
12319
+ */
12320
+ graph_id: string;
12321
+ };
12322
+ query?: never;
12323
+ url: '/v1/ledger/{graph_id}/taxonomies/reporting';
12324
+ };
12325
+
12326
+ export type GetReportingTaxonomyErrors = {
12327
+ /**
12328
+ * Validation Error
12329
+ */
12330
+ 422: HttpValidationError;
12331
+ };
12332
+
12333
+ export type GetReportingTaxonomyError = GetReportingTaxonomyErrors[keyof GetReportingTaxonomyErrors];
12334
+
12335
+ export type GetReportingTaxonomyResponses = {
12336
+ /**
12337
+ * Successful Response
12338
+ */
12339
+ 200: TaxonomyResponse;
12340
+ };
12341
+
12342
+ export type GetReportingTaxonomyResponse = GetReportingTaxonomyResponses[keyof GetReportingTaxonomyResponses];
12343
+
12344
+ export type ListElementsData = {
12345
+ body?: never;
12346
+ path: {
12347
+ /**
12348
+ * Graph Id
12349
+ */
12350
+ graph_id: string;
12351
+ };
12352
+ query?: {
12353
+ /**
12354
+ * Taxonomy Id
11464
12355
  *
11465
- * Start date (inclusive)
12356
+ * Filter by taxonomy
11466
12357
  */
11467
- start_date?: string | null;
12358
+ taxonomy_id?: string | null;
11468
12359
  /**
11469
- * End Date
12360
+ * Source
11470
12361
  *
11471
- * End date (inclusive)
12362
+ * Filter by source
11472
12363
  */
11473
- end_date?: string | null;
12364
+ source?: string | null;
12365
+ /**
12366
+ * Classification
12367
+ *
12368
+ * Filter by classification
12369
+ */
12370
+ classification?: string | null;
12371
+ /**
12372
+ * Is Abstract
12373
+ *
12374
+ * Filter by abstract
12375
+ */
12376
+ is_abstract?: boolean | null;
11474
12377
  /**
11475
12378
  * Limit
11476
12379
  */
@@ -11480,62 +12383,67 @@ export type ListLedgerTransactionsData = {
11480
12383
  */
11481
12384
  offset?: number;
11482
12385
  };
11483
- url: '/v1/ledger/{graph_id}/transactions';
12386
+ url: '/v1/ledger/{graph_id}/elements';
11484
12387
  };
11485
12388
 
11486
- export type ListLedgerTransactionsErrors = {
12389
+ export type ListElementsErrors = {
11487
12390
  /**
11488
12391
  * Validation Error
11489
12392
  */
11490
12393
  422: HttpValidationError;
11491
12394
  };
11492
12395
 
11493
- export type ListLedgerTransactionsError = ListLedgerTransactionsErrors[keyof ListLedgerTransactionsErrors];
12396
+ export type ListElementsError = ListElementsErrors[keyof ListElementsErrors];
11494
12397
 
11495
- export type ListLedgerTransactionsResponses = {
12398
+ export type ListElementsResponses = {
11496
12399
  /**
11497
12400
  * Successful Response
11498
12401
  */
11499
- 200: LedgerTransactionListResponse;
12402
+ 200: ElementListResponse;
11500
12403
  };
11501
12404
 
11502
- export type ListLedgerTransactionsResponse = ListLedgerTransactionsResponses[keyof ListLedgerTransactionsResponses];
12405
+ export type ListElementsResponse = ListElementsResponses[keyof ListElementsResponses];
11503
12406
 
11504
- export type GetLedgerTransactionData = {
12407
+ export type ListUnmappedElementsData = {
11505
12408
  body?: never;
11506
12409
  path: {
11507
12410
  /**
11508
12411
  * Graph Id
11509
12412
  */
11510
12413
  graph_id: string;
12414
+ };
12415
+ query?: {
11511
12416
  /**
11512
- * Transaction Id
12417
+ * Mapping Id
12418
+ *
12419
+ * Mapping structure to check against
11513
12420
  */
11514
- transaction_id: string;
12421
+ mapping_id?: string | null;
11515
12422
  };
11516
- query?: never;
11517
- url: '/v1/ledger/{graph_id}/transactions/{transaction_id}';
12423
+ url: '/v1/ledger/{graph_id}/elements/unmapped';
11518
12424
  };
11519
12425
 
11520
- export type GetLedgerTransactionErrors = {
12426
+ export type ListUnmappedElementsErrors = {
11521
12427
  /**
11522
12428
  * Validation Error
11523
12429
  */
11524
12430
  422: HttpValidationError;
11525
12431
  };
11526
12432
 
11527
- export type GetLedgerTransactionError = GetLedgerTransactionErrors[keyof GetLedgerTransactionErrors];
12433
+ export type ListUnmappedElementsError = ListUnmappedElementsErrors[keyof ListUnmappedElementsErrors];
11528
12434
 
11529
- export type GetLedgerTransactionResponses = {
12435
+ export type ListUnmappedElementsResponses = {
11530
12436
  /**
12437
+ * Response Listunmappedelements
12438
+ *
11531
12439
  * Successful Response
11532
12440
  */
11533
- 200: LedgerTransactionDetailResponse;
12441
+ 200: Array<UnmappedElementResponse>;
11534
12442
  };
11535
12443
 
11536
- export type GetLedgerTransactionResponse = GetLedgerTransactionResponses[keyof GetLedgerTransactionResponses];
12444
+ export type ListUnmappedElementsResponse = ListUnmappedElementsResponses[keyof ListUnmappedElementsResponses];
11537
12445
 
11538
- export type GetLedgerTrialBalanceData = {
12446
+ export type ListStructuresData = {
11539
12447
  body?: never;
11540
12448
  path: {
11541
12449
  /**
@@ -11545,40 +12453,70 @@ export type GetLedgerTrialBalanceData = {
11545
12453
  };
11546
12454
  query?: {
11547
12455
  /**
11548
- * Start Date
12456
+ * Taxonomy Id
11549
12457
  *
11550
- * Start date (inclusive)
12458
+ * Filter by taxonomy
11551
12459
  */
11552
- start_date?: string | null;
12460
+ taxonomy_id?: string | null;
11553
12461
  /**
11554
- * End Date
12462
+ * Structure Type
11555
12463
  *
11556
- * End date (inclusive)
12464
+ * Filter by type
11557
12465
  */
11558
- end_date?: string | null;
12466
+ structure_type?: string | null;
11559
12467
  };
11560
- url: '/v1/ledger/{graph_id}/trial-balance';
12468
+ url: '/v1/ledger/{graph_id}/structures';
11561
12469
  };
11562
12470
 
11563
- export type GetLedgerTrialBalanceErrors = {
12471
+ export type ListStructuresErrors = {
11564
12472
  /**
11565
12473
  * Validation Error
11566
12474
  */
11567
12475
  422: HttpValidationError;
11568
12476
  };
11569
12477
 
11570
- export type GetLedgerTrialBalanceError = GetLedgerTrialBalanceErrors[keyof GetLedgerTrialBalanceErrors];
12478
+ export type ListStructuresError = ListStructuresErrors[keyof ListStructuresErrors];
11571
12479
 
11572
- export type GetLedgerTrialBalanceResponses = {
12480
+ export type ListStructuresResponses = {
11573
12481
  /**
11574
12482
  * Successful Response
11575
12483
  */
11576
- 200: TrialBalanceResponse;
12484
+ 200: StructureListResponse;
11577
12485
  };
11578
12486
 
11579
- export type GetLedgerTrialBalanceResponse = GetLedgerTrialBalanceResponses[keyof GetLedgerTrialBalanceResponses];
12487
+ export type ListStructuresResponse = ListStructuresResponses[keyof ListStructuresResponses];
11580
12488
 
11581
- export type GetLedgerSummaryData = {
12489
+ export type CreateStructureData = {
12490
+ body: CreateStructureRequest;
12491
+ path: {
12492
+ /**
12493
+ * Graph Id
12494
+ */
12495
+ graph_id: string;
12496
+ };
12497
+ query?: never;
12498
+ url: '/v1/ledger/{graph_id}/structures';
12499
+ };
12500
+
12501
+ export type CreateStructureErrors = {
12502
+ /**
12503
+ * Validation Error
12504
+ */
12505
+ 422: HttpValidationError;
12506
+ };
12507
+
12508
+ export type CreateStructureError = CreateStructureErrors[keyof CreateStructureErrors];
12509
+
12510
+ export type CreateStructureResponses = {
12511
+ /**
12512
+ * Successful Response
12513
+ */
12514
+ 201: StructureResponse;
12515
+ };
12516
+
12517
+ export type CreateStructureResponse = CreateStructureResponses[keyof CreateStructureResponses];
12518
+
12519
+ export type ListMappingsData = {
11582
12520
  body?: never;
11583
12521
  path: {
11584
12522
  /**
@@ -11587,23 +12525,650 @@ export type GetLedgerSummaryData = {
11587
12525
  graph_id: string;
11588
12526
  };
11589
12527
  query?: never;
11590
- url: '/v1/ledger/{graph_id}/summary';
12528
+ url: '/v1/ledger/{graph_id}/mappings';
11591
12529
  };
11592
12530
 
11593
- export type GetLedgerSummaryErrors = {
12531
+ export type ListMappingsErrors = {
11594
12532
  /**
11595
12533
  * Validation Error
11596
12534
  */
11597
12535
  422: HttpValidationError;
11598
12536
  };
11599
12537
 
11600
- export type GetLedgerSummaryError = GetLedgerSummaryErrors[keyof GetLedgerSummaryErrors];
12538
+ export type ListMappingsError = ListMappingsErrors[keyof ListMappingsErrors];
11601
12539
 
11602
- export type GetLedgerSummaryResponses = {
12540
+ export type ListMappingsResponses = {
11603
12541
  /**
11604
12542
  * Successful Response
11605
12543
  */
11606
- 200: LedgerSummaryResponse;
12544
+ 200: StructureListResponse;
11607
12545
  };
11608
12546
 
11609
- export type GetLedgerSummaryResponse = GetLedgerSummaryResponses[keyof GetLedgerSummaryResponses];
12547
+ export type ListMappingsResponse = ListMappingsResponses[keyof ListMappingsResponses];
12548
+
12549
+ export type GetMappingDetailData = {
12550
+ body?: never;
12551
+ path: {
12552
+ /**
12553
+ * Graph Id
12554
+ */
12555
+ graph_id: string;
12556
+ /**
12557
+ * Mapping Id
12558
+ */
12559
+ mapping_id: string;
12560
+ };
12561
+ query?: never;
12562
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}';
12563
+ };
12564
+
12565
+ export type GetMappingDetailErrors = {
12566
+ /**
12567
+ * Validation Error
12568
+ */
12569
+ 422: HttpValidationError;
12570
+ };
12571
+
12572
+ export type GetMappingDetailError = GetMappingDetailErrors[keyof GetMappingDetailErrors];
12573
+
12574
+ export type GetMappingDetailResponses = {
12575
+ /**
12576
+ * Successful Response
12577
+ */
12578
+ 200: MappingDetailResponse;
12579
+ };
12580
+
12581
+ export type GetMappingDetailResponse = GetMappingDetailResponses[keyof GetMappingDetailResponses];
12582
+
12583
+ export type CreateMappingAssociationData = {
12584
+ body: CreateAssociationRequest;
12585
+ path: {
12586
+ /**
12587
+ * Graph Id
12588
+ */
12589
+ graph_id: string;
12590
+ /**
12591
+ * Mapping Id
12592
+ */
12593
+ mapping_id: string;
12594
+ };
12595
+ query?: never;
12596
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/associations';
12597
+ };
12598
+
12599
+ export type CreateMappingAssociationErrors = {
12600
+ /**
12601
+ * Validation Error
12602
+ */
12603
+ 422: HttpValidationError;
12604
+ };
12605
+
12606
+ export type CreateMappingAssociationError = CreateMappingAssociationErrors[keyof CreateMappingAssociationErrors];
12607
+
12608
+ export type CreateMappingAssociationResponses = {
12609
+ /**
12610
+ * Successful Response
12611
+ */
12612
+ 201: ElementAssociationResponse;
12613
+ };
12614
+
12615
+ export type CreateMappingAssociationResponse = CreateMappingAssociationResponses[keyof CreateMappingAssociationResponses];
12616
+
12617
+ export type DeleteMappingAssociationData = {
12618
+ body?: never;
12619
+ path: {
12620
+ /**
12621
+ * Graph Id
12622
+ */
12623
+ graph_id: string;
12624
+ /**
12625
+ * Mapping Id
12626
+ */
12627
+ mapping_id: string;
12628
+ /**
12629
+ * Association Id
12630
+ */
12631
+ association_id: string;
12632
+ };
12633
+ query?: never;
12634
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/associations/{association_id}';
12635
+ };
12636
+
12637
+ export type DeleteMappingAssociationErrors = {
12638
+ /**
12639
+ * Validation Error
12640
+ */
12641
+ 422: HttpValidationError;
12642
+ };
12643
+
12644
+ export type DeleteMappingAssociationError = DeleteMappingAssociationErrors[keyof DeleteMappingAssociationErrors];
12645
+
12646
+ export type DeleteMappingAssociationResponses = {
12647
+ /**
12648
+ * Successful Response
12649
+ */
12650
+ 204: void;
12651
+ };
12652
+
12653
+ export type DeleteMappingAssociationResponse = DeleteMappingAssociationResponses[keyof DeleteMappingAssociationResponses];
12654
+
12655
+ export type GetMappingCoverageData = {
12656
+ body?: never;
12657
+ path: {
12658
+ /**
12659
+ * Graph Id
12660
+ */
12661
+ graph_id: string;
12662
+ /**
12663
+ * Mapping Id
12664
+ */
12665
+ mapping_id: string;
12666
+ };
12667
+ query?: never;
12668
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/coverage';
12669
+ };
12670
+
12671
+ export type GetMappingCoverageErrors = {
12672
+ /**
12673
+ * Validation Error
12674
+ */
12675
+ 422: HttpValidationError;
12676
+ };
12677
+
12678
+ export type GetMappingCoverageError = GetMappingCoverageErrors[keyof GetMappingCoverageErrors];
12679
+
12680
+ export type GetMappingCoverageResponses = {
12681
+ /**
12682
+ * Successful Response
12683
+ */
12684
+ 200: MappingCoverageResponse;
12685
+ };
12686
+
12687
+ export type GetMappingCoverageResponse = GetMappingCoverageResponses[keyof GetMappingCoverageResponses];
12688
+
12689
+ export type GetMappedTrialBalanceData = {
12690
+ body?: never;
12691
+ path: {
12692
+ /**
12693
+ * Graph Id
12694
+ */
12695
+ graph_id: string;
12696
+ };
12697
+ query: {
12698
+ /**
12699
+ * Mapping Id
12700
+ *
12701
+ * Mapping structure ID
12702
+ */
12703
+ mapping_id: string;
12704
+ /**
12705
+ * Start Date
12706
+ */
12707
+ start_date?: string | null;
12708
+ /**
12709
+ * End Date
12710
+ */
12711
+ end_date?: string | null;
12712
+ };
12713
+ url: '/v1/ledger/{graph_id}/trial-balance/mapped';
12714
+ };
12715
+
12716
+ export type GetMappedTrialBalanceErrors = {
12717
+ /**
12718
+ * Validation Error
12719
+ */
12720
+ 422: HttpValidationError;
12721
+ };
12722
+
12723
+ export type GetMappedTrialBalanceError = GetMappedTrialBalanceErrors[keyof GetMappedTrialBalanceErrors];
12724
+
12725
+ export type GetMappedTrialBalanceResponses = {
12726
+ /**
12727
+ * Successful Response
12728
+ */
12729
+ 200: unknown;
12730
+ };
12731
+
12732
+ export type AutoMapElementsData = {
12733
+ body?: never;
12734
+ path: {
12735
+ /**
12736
+ * Graph Id
12737
+ */
12738
+ graph_id: string;
12739
+ /**
12740
+ * Mapping Id
12741
+ *
12742
+ * Mapping structure ID
12743
+ */
12744
+ mapping_id: string;
12745
+ };
12746
+ query?: never;
12747
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/auto-map';
12748
+ };
12749
+
12750
+ export type AutoMapElementsErrors = {
12751
+ /**
12752
+ * Validation Error
12753
+ */
12754
+ 422: HttpValidationError;
12755
+ };
12756
+
12757
+ export type AutoMapElementsError = AutoMapElementsErrors[keyof AutoMapElementsErrors];
12758
+
12759
+ export type AutoMapElementsResponses = {
12760
+ /**
12761
+ * Successful Response
12762
+ */
12763
+ 202: unknown;
12764
+ };
12765
+
12766
+ export type ListLedgerTransactionsData = {
12767
+ body?: never;
12768
+ path: {
12769
+ /**
12770
+ * Graph Id
12771
+ */
12772
+ graph_id: string;
12773
+ };
12774
+ query?: {
12775
+ /**
12776
+ * Type
12777
+ *
12778
+ * Filter by transaction type
12779
+ */
12780
+ type?: string | null;
12781
+ /**
12782
+ * Start Date
12783
+ *
12784
+ * Start date (inclusive)
12785
+ */
12786
+ start_date?: string | null;
12787
+ /**
12788
+ * End Date
12789
+ *
12790
+ * End date (inclusive)
12791
+ */
12792
+ end_date?: string | null;
12793
+ /**
12794
+ * Limit
12795
+ */
12796
+ limit?: number;
12797
+ /**
12798
+ * Offset
12799
+ */
12800
+ offset?: number;
12801
+ };
12802
+ url: '/v1/ledger/{graph_id}/transactions';
12803
+ };
12804
+
12805
+ export type ListLedgerTransactionsErrors = {
12806
+ /**
12807
+ * Validation Error
12808
+ */
12809
+ 422: HttpValidationError;
12810
+ };
12811
+
12812
+ export type ListLedgerTransactionsError = ListLedgerTransactionsErrors[keyof ListLedgerTransactionsErrors];
12813
+
12814
+ export type ListLedgerTransactionsResponses = {
12815
+ /**
12816
+ * Successful Response
12817
+ */
12818
+ 200: LedgerTransactionListResponse;
12819
+ };
12820
+
12821
+ export type ListLedgerTransactionsResponse = ListLedgerTransactionsResponses[keyof ListLedgerTransactionsResponses];
12822
+
12823
+ export type GetLedgerTransactionData = {
12824
+ body?: never;
12825
+ path: {
12826
+ /**
12827
+ * Graph Id
12828
+ */
12829
+ graph_id: string;
12830
+ /**
12831
+ * Transaction Id
12832
+ */
12833
+ transaction_id: string;
12834
+ };
12835
+ query?: never;
12836
+ url: '/v1/ledger/{graph_id}/transactions/{transaction_id}';
12837
+ };
12838
+
12839
+ export type GetLedgerTransactionErrors = {
12840
+ /**
12841
+ * Validation Error
12842
+ */
12843
+ 422: HttpValidationError;
12844
+ };
12845
+
12846
+ export type GetLedgerTransactionError = GetLedgerTransactionErrors[keyof GetLedgerTransactionErrors];
12847
+
12848
+ export type GetLedgerTransactionResponses = {
12849
+ /**
12850
+ * Successful Response
12851
+ */
12852
+ 200: LedgerTransactionDetailResponse;
12853
+ };
12854
+
12855
+ export type GetLedgerTransactionResponse = GetLedgerTransactionResponses[keyof GetLedgerTransactionResponses];
12856
+
12857
+ export type GetLedgerTrialBalanceData = {
12858
+ body?: never;
12859
+ path: {
12860
+ /**
12861
+ * Graph Id
12862
+ */
12863
+ graph_id: string;
12864
+ };
12865
+ query?: {
12866
+ /**
12867
+ * Start Date
12868
+ *
12869
+ * Start date (inclusive)
12870
+ */
12871
+ start_date?: string | null;
12872
+ /**
12873
+ * End Date
12874
+ *
12875
+ * End date (inclusive)
12876
+ */
12877
+ end_date?: string | null;
12878
+ };
12879
+ url: '/v1/ledger/{graph_id}/trial-balance';
12880
+ };
12881
+
12882
+ export type GetLedgerTrialBalanceErrors = {
12883
+ /**
12884
+ * Validation Error
12885
+ */
12886
+ 422: HttpValidationError;
12887
+ };
12888
+
12889
+ export type GetLedgerTrialBalanceError = GetLedgerTrialBalanceErrors[keyof GetLedgerTrialBalanceErrors];
12890
+
12891
+ export type GetLedgerTrialBalanceResponses = {
12892
+ /**
12893
+ * Successful Response
12894
+ */
12895
+ 200: TrialBalanceResponse;
12896
+ };
12897
+
12898
+ export type GetLedgerTrialBalanceResponse = GetLedgerTrialBalanceResponses[keyof GetLedgerTrialBalanceResponses];
12899
+
12900
+ export type GetLedgerSummaryData = {
12901
+ body?: never;
12902
+ path: {
12903
+ /**
12904
+ * Graph Id
12905
+ */
12906
+ graph_id: string;
12907
+ };
12908
+ query?: never;
12909
+ url: '/v1/ledger/{graph_id}/summary';
12910
+ };
12911
+
12912
+ export type GetLedgerSummaryErrors = {
12913
+ /**
12914
+ * Validation Error
12915
+ */
12916
+ 422: HttpValidationError;
12917
+ };
12918
+
12919
+ export type GetLedgerSummaryError = GetLedgerSummaryErrors[keyof GetLedgerSummaryErrors];
12920
+
12921
+ export type GetLedgerSummaryResponses = {
12922
+ /**
12923
+ * Successful Response
12924
+ */
12925
+ 200: LedgerSummaryResponse;
12926
+ };
12927
+
12928
+ export type GetLedgerSummaryResponse = GetLedgerSummaryResponses[keyof GetLedgerSummaryResponses];
12929
+
12930
+ export type ListReportsData = {
12931
+ body?: never;
12932
+ path: {
12933
+ /**
12934
+ * Graph Id
12935
+ */
12936
+ graph_id: string;
12937
+ };
12938
+ query?: never;
12939
+ url: '/v1/ledger/{graph_id}/reports';
12940
+ };
12941
+
12942
+ export type ListReportsErrors = {
12943
+ /**
12944
+ * Validation Error
12945
+ */
12946
+ 422: HttpValidationError;
12947
+ };
12948
+
12949
+ export type ListReportsError = ListReportsErrors[keyof ListReportsErrors];
12950
+
12951
+ export type ListReportsResponses = {
12952
+ /**
12953
+ * Successful Response
12954
+ */
12955
+ 200: ReportListResponse;
12956
+ };
12957
+
12958
+ export type ListReportsResponse = ListReportsResponses[keyof ListReportsResponses];
12959
+
12960
+ export type CreateReportData = {
12961
+ body: CreateReportRequest;
12962
+ path: {
12963
+ /**
12964
+ * Graph Id
12965
+ */
12966
+ graph_id: string;
12967
+ };
12968
+ query?: never;
12969
+ url: '/v1/ledger/{graph_id}/reports';
12970
+ };
12971
+
12972
+ export type CreateReportErrors = {
12973
+ /**
12974
+ * Validation Error
12975
+ */
12976
+ 422: HttpValidationError;
12977
+ };
12978
+
12979
+ export type CreateReportError = CreateReportErrors[keyof CreateReportErrors];
12980
+
12981
+ export type CreateReportResponses = {
12982
+ /**
12983
+ * Successful Response
12984
+ */
12985
+ 201: ReportResponse;
12986
+ };
12987
+
12988
+ export type CreateReportResponse = CreateReportResponses[keyof CreateReportResponses];
12989
+
12990
+ export type DeleteReportData = {
12991
+ body?: never;
12992
+ path: {
12993
+ /**
12994
+ * Graph Id
12995
+ */
12996
+ graph_id: string;
12997
+ /**
12998
+ * Report Id
12999
+ *
13000
+ * Report definition ID
13001
+ */
13002
+ report_id: string;
13003
+ };
13004
+ query?: never;
13005
+ url: '/v1/ledger/{graph_id}/reports/{report_id}';
13006
+ };
13007
+
13008
+ export type DeleteReportErrors = {
13009
+ /**
13010
+ * Validation Error
13011
+ */
13012
+ 422: HttpValidationError;
13013
+ };
13014
+
13015
+ export type DeleteReportError = DeleteReportErrors[keyof DeleteReportErrors];
13016
+
13017
+ export type DeleteReportResponses = {
13018
+ /**
13019
+ * Successful Response
13020
+ */
13021
+ 204: void;
13022
+ };
13023
+
13024
+ export type DeleteReportResponse = DeleteReportResponses[keyof DeleteReportResponses];
13025
+
13026
+ export type GetReportData = {
13027
+ body?: never;
13028
+ path: {
13029
+ /**
13030
+ * Graph Id
13031
+ */
13032
+ graph_id: string;
13033
+ /**
13034
+ * Report Id
13035
+ *
13036
+ * Report definition ID
13037
+ */
13038
+ report_id: string;
13039
+ };
13040
+ query?: never;
13041
+ url: '/v1/ledger/{graph_id}/reports/{report_id}';
13042
+ };
13043
+
13044
+ export type GetReportErrors = {
13045
+ /**
13046
+ * Validation Error
13047
+ */
13048
+ 422: HttpValidationError;
13049
+ };
13050
+
13051
+ export type GetReportError = GetReportErrors[keyof GetReportErrors];
13052
+
13053
+ export type GetReportResponses = {
13054
+ /**
13055
+ * Successful Response
13056
+ */
13057
+ 200: ReportResponse;
13058
+ };
13059
+
13060
+ export type GetReportResponse = GetReportResponses[keyof GetReportResponses];
13061
+
13062
+ export type GetStatementData = {
13063
+ body?: never;
13064
+ path: {
13065
+ /**
13066
+ * Graph Id
13067
+ */
13068
+ graph_id: string;
13069
+ /**
13070
+ * Report Id
13071
+ *
13072
+ * Report definition ID
13073
+ */
13074
+ report_id: string;
13075
+ /**
13076
+ * Structure Type
13077
+ *
13078
+ * Structure type: income_statement, balance_sheet, cash_flow_statement
13079
+ */
13080
+ structure_type: string;
13081
+ };
13082
+ query?: never;
13083
+ url: '/v1/ledger/{graph_id}/reports/{report_id}/statements/{structure_type}';
13084
+ };
13085
+
13086
+ export type GetStatementErrors = {
13087
+ /**
13088
+ * Validation Error
13089
+ */
13090
+ 422: HttpValidationError;
13091
+ };
13092
+
13093
+ export type GetStatementError = GetStatementErrors[keyof GetStatementErrors];
13094
+
13095
+ export type GetStatementResponses = {
13096
+ /**
13097
+ * Successful Response
13098
+ */
13099
+ 200: StatementResponse;
13100
+ };
13101
+
13102
+ export type GetStatementResponse = GetStatementResponses[keyof GetStatementResponses];
13103
+
13104
+ export type RegenerateReportData = {
13105
+ body: RegenerateReportRequest;
13106
+ path: {
13107
+ /**
13108
+ * Graph Id
13109
+ */
13110
+ graph_id: string;
13111
+ /**
13112
+ * Report Id
13113
+ *
13114
+ * Report definition ID
13115
+ */
13116
+ report_id: string;
13117
+ };
13118
+ query?: never;
13119
+ url: '/v1/ledger/{graph_id}/reports/{report_id}/regenerate';
13120
+ };
13121
+
13122
+ export type RegenerateReportErrors = {
13123
+ /**
13124
+ * Validation Error
13125
+ */
13126
+ 422: HttpValidationError;
13127
+ };
13128
+
13129
+ export type RegenerateReportError = RegenerateReportErrors[keyof RegenerateReportErrors];
13130
+
13131
+ export type RegenerateReportResponses = {
13132
+ /**
13133
+ * Successful Response
13134
+ */
13135
+ 200: ReportResponse;
13136
+ };
13137
+
13138
+ export type RegenerateReportResponse = RegenerateReportResponses[keyof RegenerateReportResponses];
13139
+
13140
+ export type ShareReportData = {
13141
+ body: ShareReportRequest;
13142
+ path: {
13143
+ /**
13144
+ * Graph Id
13145
+ */
13146
+ graph_id: string;
13147
+ /**
13148
+ * Report Id
13149
+ *
13150
+ * Report definition ID
13151
+ */
13152
+ report_id: string;
13153
+ };
13154
+ query?: never;
13155
+ url: '/v1/ledger/{graph_id}/reports/{report_id}/share';
13156
+ };
13157
+
13158
+ export type ShareReportErrors = {
13159
+ /**
13160
+ * Validation Error
13161
+ */
13162
+ 422: HttpValidationError;
13163
+ };
13164
+
13165
+ export type ShareReportError = ShareReportErrors[keyof ShareReportErrors];
13166
+
13167
+ export type ShareReportResponses = {
13168
+ /**
13169
+ * Successful Response
13170
+ */
13171
+ 200: ShareReportResponse;
13172
+ };
13173
+
13174
+ export type ShareReportResponse2 = ShareReportResponses[keyof ShareReportResponses];