@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.d.ts CHANGED
@@ -115,7 +115,7 @@ export type AccountResponse = {
115
115
  /**
116
116
  * Code
117
117
  */
118
- code: string;
118
+ code?: string | null;
119
119
  /**
120
120
  * Name
121
121
  */
@@ -180,7 +180,7 @@ export type AccountTreeNode = {
180
180
  /**
181
181
  * Code
182
182
  */
183
- code: string;
183
+ code?: string | null;
184
184
  /**
185
185
  * Name
186
186
  */
@@ -1406,6 +1406,39 @@ export type CreateApiKeyResponse = {
1406
1406
  */
1407
1407
  key: string;
1408
1408
  };
1409
+ /**
1410
+ * CreateAssociationRequest
1411
+ */
1412
+ export type CreateAssociationRequest = {
1413
+ /**
1414
+ * From Element Id
1415
+ */
1416
+ from_element_id: string;
1417
+ /**
1418
+ * To Element Id
1419
+ */
1420
+ to_element_id: string;
1421
+ /**
1422
+ * Association Type
1423
+ */
1424
+ association_type?: 'presentation' | 'calculation' | 'mapping';
1425
+ /**
1426
+ * Order Value
1427
+ */
1428
+ order_value?: number | null;
1429
+ /**
1430
+ * Weight
1431
+ */
1432
+ weight?: number | null;
1433
+ /**
1434
+ * Confidence
1435
+ */
1436
+ confidence?: number | null;
1437
+ /**
1438
+ * Suggested By
1439
+ */
1440
+ suggested_by?: string | null;
1441
+ };
1409
1442
  /**
1410
1443
  * CreateCheckoutRequest
1411
1444
  *
@@ -1495,6 +1528,53 @@ export type CreateGraphRequest = {
1495
1528
  */
1496
1529
  tags?: Array<string>;
1497
1530
  };
1531
+ /**
1532
+ * CreateReportRequest
1533
+ */
1534
+ export type CreateReportRequest = {
1535
+ /**
1536
+ * Name
1537
+ *
1538
+ * Report name
1539
+ */
1540
+ name: string;
1541
+ /**
1542
+ * Taxonomy Id
1543
+ *
1544
+ * Taxonomy ID — determines which structures are available
1545
+ */
1546
+ taxonomy_id?: string;
1547
+ /**
1548
+ * Mapping Id
1549
+ *
1550
+ * Mapping structure ID for CoA→GAAP rollup
1551
+ */
1552
+ mapping_id: string;
1553
+ /**
1554
+ * Period Start
1555
+ *
1556
+ * Period start date (inclusive)
1557
+ */
1558
+ period_start: string;
1559
+ /**
1560
+ * Period End
1561
+ *
1562
+ * Period end date (inclusive)
1563
+ */
1564
+ period_end: string;
1565
+ /**
1566
+ * Period Type
1567
+ *
1568
+ * Period type: monthly, quarterly, annual
1569
+ */
1570
+ period_type?: string;
1571
+ /**
1572
+ * Comparative
1573
+ *
1574
+ * Include prior period comparison
1575
+ */
1576
+ comparative?: boolean;
1577
+ };
1498
1578
  /**
1499
1579
  * CreateRepositorySubscriptionRequest
1500
1580
  *
@@ -1508,6 +1588,27 @@ export type CreateRepositorySubscriptionRequest = {
1508
1588
  */
1509
1589
  plan_name: string;
1510
1590
  };
1591
+ /**
1592
+ * CreateStructureRequest
1593
+ */
1594
+ export type CreateStructureRequest = {
1595
+ /**
1596
+ * Name
1597
+ */
1598
+ name: string;
1599
+ /**
1600
+ * Description
1601
+ */
1602
+ description?: string | null;
1603
+ /**
1604
+ * Structure Type
1605
+ */
1606
+ structure_type: 'chart_of_accounts' | 'income_statement' | 'balance_sheet' | 'cash_flow_statement' | 'equity_statement' | 'coa_mapping' | 'custom';
1607
+ /**
1608
+ * Taxonomy Id
1609
+ */
1610
+ taxonomy_id: string;
1611
+ };
1511
1612
  /**
1512
1613
  * CreateSubgraphRequest
1513
1614
  *
@@ -1557,6 +1658,35 @@ export type CreateSubgraphRequest = {
1557
1658
  */
1558
1659
  fork_parent?: boolean;
1559
1660
  };
1661
+ /**
1662
+ * CreateTaxonomyRequest
1663
+ */
1664
+ export type CreateTaxonomyRequest = {
1665
+ /**
1666
+ * Name
1667
+ */
1668
+ name: string;
1669
+ /**
1670
+ * Description
1671
+ */
1672
+ description?: string | null;
1673
+ /**
1674
+ * Taxonomy Type
1675
+ */
1676
+ taxonomy_type: 'chart_of_accounts' | 'reporting' | 'mapping';
1677
+ /**
1678
+ * Version
1679
+ */
1680
+ version?: string | null;
1681
+ /**
1682
+ * Source Taxonomy Id
1683
+ */
1684
+ source_taxonomy_id?: string | null;
1685
+ /**
1686
+ * Target Taxonomy Id
1687
+ */
1688
+ target_taxonomy_id?: string | null;
1689
+ };
1560
1690
  /**
1561
1691
  * CreateViewRequest
1562
1692
  */
@@ -2131,10 +2261,6 @@ export type DetailedTransactionsResponse = {
2131
2261
  * A document in the document list.
2132
2262
  */
2133
2263
  export type DocumentListItem = {
2134
- /**
2135
- * Document Id
2136
- */
2137
- document_id: string;
2138
2264
  /**
2139
2265
  * Document Title
2140
2266
  */
@@ -2361,6 +2487,160 @@ export type DownloadQuota = {
2361
2487
  */
2362
2488
  resets_at: string;
2363
2489
  };
2490
+ /**
2491
+ * ElementAssociationResponse
2492
+ */
2493
+ export type ElementAssociationResponse = {
2494
+ /**
2495
+ * Id
2496
+ */
2497
+ id: string;
2498
+ /**
2499
+ * Structure Id
2500
+ */
2501
+ structure_id: string;
2502
+ /**
2503
+ * From Element Id
2504
+ */
2505
+ from_element_id: string;
2506
+ /**
2507
+ * From Element Name
2508
+ */
2509
+ from_element_name?: string | null;
2510
+ /**
2511
+ * From Element Qname
2512
+ */
2513
+ from_element_qname?: string | null;
2514
+ /**
2515
+ * To Element Id
2516
+ */
2517
+ to_element_id: string;
2518
+ /**
2519
+ * To Element Name
2520
+ */
2521
+ to_element_name?: string | null;
2522
+ /**
2523
+ * To Element Qname
2524
+ */
2525
+ to_element_qname?: string | null;
2526
+ /**
2527
+ * Association Type
2528
+ */
2529
+ association_type: string;
2530
+ /**
2531
+ * Order Value
2532
+ */
2533
+ order_value?: number | null;
2534
+ /**
2535
+ * Weight
2536
+ */
2537
+ weight?: number | null;
2538
+ /**
2539
+ * Confidence
2540
+ */
2541
+ confidence?: number | null;
2542
+ /**
2543
+ * Suggested By
2544
+ */
2545
+ suggested_by?: string | null;
2546
+ /**
2547
+ * Approved By
2548
+ */
2549
+ approved_by?: string | null;
2550
+ };
2551
+ /**
2552
+ * ElementListResponse
2553
+ */
2554
+ export type ElementListResponse = {
2555
+ /**
2556
+ * Elements
2557
+ */
2558
+ elements: Array<ElementResponse>;
2559
+ pagination: PaginationInfo;
2560
+ };
2561
+ /**
2562
+ * ElementResponse
2563
+ *
2564
+ * Element with taxonomy context — extends AccountResponse.
2565
+ */
2566
+ export type ElementResponse = {
2567
+ /**
2568
+ * Id
2569
+ */
2570
+ id: string;
2571
+ /**
2572
+ * Code
2573
+ */
2574
+ code?: string | null;
2575
+ /**
2576
+ * Name
2577
+ */
2578
+ name: string;
2579
+ /**
2580
+ * Description
2581
+ */
2582
+ description?: string | null;
2583
+ /**
2584
+ * Qname
2585
+ */
2586
+ qname?: string | null;
2587
+ /**
2588
+ * Namespace
2589
+ */
2590
+ namespace?: string | null;
2591
+ /**
2592
+ * Classification
2593
+ */
2594
+ classification: string;
2595
+ /**
2596
+ * Sub Classification
2597
+ */
2598
+ sub_classification?: string | null;
2599
+ /**
2600
+ * Balance Type
2601
+ */
2602
+ balance_type: string;
2603
+ /**
2604
+ * Period Type
2605
+ */
2606
+ period_type: string;
2607
+ /**
2608
+ * Is Abstract
2609
+ */
2610
+ is_abstract: boolean;
2611
+ /**
2612
+ * Element Type
2613
+ */
2614
+ element_type: string;
2615
+ /**
2616
+ * Source
2617
+ */
2618
+ source: string;
2619
+ /**
2620
+ * Taxonomy Id
2621
+ */
2622
+ taxonomy_id?: string | null;
2623
+ /**
2624
+ * Parent Id
2625
+ */
2626
+ parent_id?: string | null;
2627
+ /**
2628
+ * Depth
2629
+ */
2630
+ depth: number;
2631
+ /**
2632
+ * Is Active
2633
+ */
2634
+ is_active: boolean;
2635
+ /**
2636
+ * External Id
2637
+ */
2638
+ external_id?: string | null;
2639
+ /**
2640
+ * External Source
2641
+ */
2642
+ external_source?: string | null;
2643
+ };
2364
2644
  /**
2365
2645
  * EmailVerificationRequest
2366
2646
  *
@@ -2474,6 +2754,43 @@ export type ErrorResponse = {
2474
2754
  */
2475
2755
  timestamp?: string | null;
2476
2756
  };
2757
+ /**
2758
+ * FactRowResponse
2759
+ */
2760
+ export type FactRowResponse = {
2761
+ /**
2762
+ * Element Id
2763
+ */
2764
+ element_id: string;
2765
+ /**
2766
+ * Element Qname
2767
+ */
2768
+ element_qname: string;
2769
+ /**
2770
+ * Element Name
2771
+ */
2772
+ element_name: string;
2773
+ /**
2774
+ * Classification
2775
+ */
2776
+ classification: string;
2777
+ /**
2778
+ * Current Value
2779
+ */
2780
+ current_value: number;
2781
+ /**
2782
+ * Prior Value
2783
+ */
2784
+ prior_value?: number | null;
2785
+ /**
2786
+ * Is Subtotal
2787
+ */
2788
+ is_subtotal?: boolean;
2789
+ /**
2790
+ * Depth
2791
+ */
2792
+ depth?: number;
2793
+ };
2477
2794
  /**
2478
2795
  * FileInfo
2479
2796
  */
@@ -3169,7 +3486,7 @@ export type GraphSubscriptionTier = {
3169
3486
  /**
3170
3487
  * Backend
3171
3488
  *
3172
- * Database backend (ladybug or neo4j)
3489
+ * Database backend identifier
3173
3490
  */
3174
3491
  backend: string;
3175
3492
  /**
@@ -3309,7 +3626,7 @@ export type GraphTierInfo = {
3309
3626
  /**
3310
3627
  * Backend
3311
3628
  *
3312
- * Database backend (ladybug or neo4j)
3629
+ * Database backend identifier
3313
3630
  */
3314
3631
  backend: string;
3315
3632
  /**
@@ -4122,7 +4439,7 @@ export type ListSubgraphsResponse = {
4122
4439
  /**
4123
4440
  * Subgraphs Enabled
4124
4441
  *
4125
- * Whether subgraphs are enabled for this tier (requires LadybugDB Large/XLarge or Neo4j Enterprise XLarge)
4442
+ * Whether subgraphs are enabled for this tier (requires LadybugDB Large/XLarge)
4126
4443
  */
4127
4444
  subgraphs_enabled: boolean;
4128
4445
  /**
@@ -4241,44 +4558,114 @@ export type McpToolsResponse = {
4241
4558
  }>;
4242
4559
  };
4243
4560
  /**
4244
- * MaterializeRequest
4561
+ * MappingCoverageResponse
4562
+ *
4563
+ * Coverage stats for a mapping.
4245
4564
  */
4246
- export type MaterializeRequest = {
4565
+ export type MappingCoverageResponse = {
4247
4566
  /**
4248
- * Force
4249
- *
4250
- * Force materialization even if graph is not stale
4567
+ * Mapping Id
4251
4568
  */
4252
- force?: boolean;
4569
+ mapping_id: string;
4253
4570
  /**
4254
- * Rebuild
4255
- *
4256
- * Delete and recreate graph database before materialization
4571
+ * Total Coa Elements
4257
4572
  */
4258
- rebuild?: boolean;
4573
+ total_coa_elements: number;
4259
4574
  /**
4260
- * Ignore Errors
4261
- *
4262
- * Continue ingestion on row errors
4575
+ * Mapped Count
4263
4576
  */
4264
- ignore_errors?: boolean;
4577
+ mapped_count: number;
4265
4578
  /**
4266
- * Dry Run
4267
- *
4268
- * Validate limits without executing materialization. Returns usage, limits, and warnings.
4579
+ * Unmapped Count
4269
4580
  */
4270
- dry_run?: boolean;
4581
+ unmapped_count: number;
4271
4582
  /**
4272
- * Source
4273
- *
4274
- * 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).
4583
+ * Coverage Percent
4275
4584
  */
4276
- source?: string | null;
4585
+ coverage_percent: number;
4586
+ /**
4587
+ * High Confidence
4588
+ */
4589
+ high_confidence?: number;
4590
+ /**
4591
+ * Medium Confidence
4592
+ */
4593
+ medium_confidence?: number;
4594
+ /**
4595
+ * Low Confidence
4596
+ */
4597
+ low_confidence?: number;
4277
4598
  };
4278
4599
  /**
4279
- * MaterializeResponse
4600
+ * MappingDetailResponse
4280
4601
  *
4281
- * Response for queued materialization operation.
4602
+ * A mapping structure with all its associations.
4603
+ */
4604
+ export type MappingDetailResponse = {
4605
+ /**
4606
+ * Id
4607
+ */
4608
+ id: string;
4609
+ /**
4610
+ * Name
4611
+ */
4612
+ name: string;
4613
+ /**
4614
+ * Structure Type
4615
+ */
4616
+ structure_type: string;
4617
+ /**
4618
+ * Taxonomy Id
4619
+ */
4620
+ taxonomy_id: string;
4621
+ /**
4622
+ * Associations
4623
+ */
4624
+ associations: Array<ElementAssociationResponse>;
4625
+ /**
4626
+ * Total Associations
4627
+ */
4628
+ total_associations: number;
4629
+ };
4630
+ /**
4631
+ * MaterializeRequest
4632
+ */
4633
+ export type MaterializeRequest = {
4634
+ /**
4635
+ * Force
4636
+ *
4637
+ * Force materialization even if graph is not stale
4638
+ */
4639
+ force?: boolean;
4640
+ /**
4641
+ * Rebuild
4642
+ *
4643
+ * Delete and recreate graph database before materialization
4644
+ */
4645
+ rebuild?: boolean;
4646
+ /**
4647
+ * Ignore Errors
4648
+ *
4649
+ * Continue ingestion on row errors
4650
+ */
4651
+ ignore_errors?: boolean;
4652
+ /**
4653
+ * Dry Run
4654
+ *
4655
+ * Validate limits without executing materialization. Returns usage, limits, and warnings.
4656
+ */
4657
+ dry_run?: boolean;
4658
+ /**
4659
+ * Source
4660
+ *
4661
+ * 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).
4662
+ */
4663
+ source?: string | null;
4664
+ };
4665
+ /**
4666
+ * MaterializeResponse
4667
+ *
4668
+ * Response for queued materialization operation.
4282
4669
  */
4283
4670
  export type MaterializeResponse = {
4284
4671
  /**
@@ -5098,6 +5485,23 @@ export type RateLimits = {
5098
5485
  */
5099
5486
  burst_capacity: number;
5100
5487
  };
5488
+ /**
5489
+ * RegenerateReportRequest
5490
+ */
5491
+ export type RegenerateReportRequest = {
5492
+ /**
5493
+ * Period Start
5494
+ *
5495
+ * New period start date
5496
+ */
5497
+ period_start: string;
5498
+ /**
5499
+ * Period End
5500
+ *
5501
+ * New period end date
5502
+ */
5503
+ period_end: string;
5504
+ };
5101
5505
  /**
5102
5506
  * RegisterRequest
5103
5507
  *
@@ -5129,6 +5533,86 @@ export type RegisterRequest = {
5129
5533
  */
5130
5534
  captcha_token?: string | null;
5131
5535
  };
5536
+ /**
5537
+ * ReportListResponse
5538
+ */
5539
+ export type ReportListResponse = {
5540
+ /**
5541
+ * Reports
5542
+ */
5543
+ reports: Array<ReportResponse>;
5544
+ };
5545
+ /**
5546
+ * ReportResponse
5547
+ *
5548
+ * Report definition summary.
5549
+ */
5550
+ export type ReportResponse = {
5551
+ /**
5552
+ * Id
5553
+ */
5554
+ id: string;
5555
+ /**
5556
+ * Name
5557
+ */
5558
+ name: string;
5559
+ /**
5560
+ * Taxonomy Id
5561
+ */
5562
+ taxonomy_id: string;
5563
+ /**
5564
+ * Generation Status
5565
+ */
5566
+ generation_status: string;
5567
+ /**
5568
+ * Period Type
5569
+ */
5570
+ period_type: string;
5571
+ /**
5572
+ * Period Start
5573
+ */
5574
+ period_start?: string | null;
5575
+ /**
5576
+ * Period End
5577
+ */
5578
+ period_end?: string | null;
5579
+ /**
5580
+ * Comparative
5581
+ */
5582
+ comparative: boolean;
5583
+ /**
5584
+ * Mapping Id
5585
+ */
5586
+ mapping_id?: string | null;
5587
+ /**
5588
+ * Ai Generated
5589
+ */
5590
+ ai_generated?: boolean;
5591
+ /**
5592
+ * Created At
5593
+ */
5594
+ created_at: string;
5595
+ /**
5596
+ * Last Generated
5597
+ */
5598
+ last_generated?: string | null;
5599
+ /**
5600
+ * Structures
5601
+ */
5602
+ structures?: Array<StructureSummary>;
5603
+ /**
5604
+ * Source Graph Id
5605
+ */
5606
+ source_graph_id?: string | null;
5607
+ /**
5608
+ * Source Report Id
5609
+ */
5610
+ source_report_id?: string | null;
5611
+ /**
5612
+ * Shared At
5613
+ */
5614
+ shared_at?: string | null;
5615
+ };
5132
5616
  /**
5133
5617
  * RepositoryInfo
5134
5618
  *
@@ -5760,6 +6244,99 @@ export type ServiceOfferingsResponse = {
5760
6244
  */
5761
6245
  summary: ServiceOfferingSummary;
5762
6246
  };
6247
+ /**
6248
+ * ShareReportRequest
6249
+ */
6250
+ export type ShareReportRequest = {
6251
+ /**
6252
+ * Target Graph Ids
6253
+ *
6254
+ * Graph IDs to share the report to
6255
+ */
6256
+ target_graph_ids: Array<string>;
6257
+ };
6258
+ /**
6259
+ * ShareReportResponse
6260
+ */
6261
+ export type ShareReportResponse = {
6262
+ /**
6263
+ * Report Id
6264
+ */
6265
+ report_id: string;
6266
+ /**
6267
+ * Results
6268
+ */
6269
+ results: Array<ShareResultItem>;
6270
+ };
6271
+ /**
6272
+ * ShareResultItem
6273
+ */
6274
+ export type ShareResultItem = {
6275
+ /**
6276
+ * Target Graph Id
6277
+ */
6278
+ target_graph_id: string;
6279
+ /**
6280
+ * Status
6281
+ */
6282
+ status: string;
6283
+ /**
6284
+ * Error
6285
+ */
6286
+ error?: string | null;
6287
+ /**
6288
+ * Fact Count
6289
+ */
6290
+ fact_count?: number;
6291
+ };
6292
+ /**
6293
+ * StatementResponse
6294
+ *
6295
+ * Rendered financial statement — facts viewed through a structure.
6296
+ */
6297
+ export type StatementResponse = {
6298
+ /**
6299
+ * Report Id
6300
+ */
6301
+ report_id: string;
6302
+ /**
6303
+ * Structure Id
6304
+ */
6305
+ structure_id: string;
6306
+ /**
6307
+ * Structure Name
6308
+ */
6309
+ structure_name: string;
6310
+ /**
6311
+ * Structure Type
6312
+ */
6313
+ structure_type: string;
6314
+ /**
6315
+ * Period Start
6316
+ */
6317
+ period_start: string;
6318
+ /**
6319
+ * Period End
6320
+ */
6321
+ period_end: string;
6322
+ /**
6323
+ * Comparative Period Start
6324
+ */
6325
+ comparative_period_start?: string | null;
6326
+ /**
6327
+ * Comparative Period End
6328
+ */
6329
+ comparative_period_end?: string | null;
6330
+ /**
6331
+ * Rows
6332
+ */
6333
+ rows?: Array<FactRowResponse>;
6334
+ validation?: ValidationCheckResponse | null;
6335
+ /**
6336
+ * Unmapped Count
6337
+ */
6338
+ unmapped_count?: number;
6339
+ };
5763
6340
  /**
5764
6341
  * StorageLimitResponse
5765
6342
  *
@@ -5871,6 +6448,63 @@ export type StorageSummary = {
5871
6448
  */
5872
6449
  measurement_count: number;
5873
6450
  };
6451
+ /**
6452
+ * StructureListResponse
6453
+ */
6454
+ export type StructureListResponse = {
6455
+ /**
6456
+ * Structures
6457
+ */
6458
+ structures: Array<StructureResponse>;
6459
+ };
6460
+ /**
6461
+ * StructureResponse
6462
+ */
6463
+ export type StructureResponse = {
6464
+ /**
6465
+ * Id
6466
+ */
6467
+ id: string;
6468
+ /**
6469
+ * Name
6470
+ */
6471
+ name: string;
6472
+ /**
6473
+ * Description
6474
+ */
6475
+ description?: string | null;
6476
+ /**
6477
+ * Structure Type
6478
+ */
6479
+ structure_type: string;
6480
+ /**
6481
+ * Taxonomy Id
6482
+ */
6483
+ taxonomy_id: string;
6484
+ /**
6485
+ * Is Active
6486
+ */
6487
+ is_active: boolean;
6488
+ };
6489
+ /**
6490
+ * StructureSummary
6491
+ *
6492
+ * A structure available within this report's taxonomy.
6493
+ */
6494
+ export type StructureSummary = {
6495
+ /**
6496
+ * Id
6497
+ */
6498
+ id: string;
6499
+ /**
6500
+ * Name
6501
+ */
6502
+ name: string;
6503
+ /**
6504
+ * Structure Type
6505
+ */
6506
+ structure_type: string;
6507
+ };
5874
6508
  /**
5875
6509
  * SubgraphQuotaResponse
5876
6510
  *
@@ -6103,6 +6737,29 @@ export type SuccessResponse = {
6103
6737
  [key: string]: unknown;
6104
6738
  } | null;
6105
6739
  };
6740
+ /**
6741
+ * SuggestedTarget
6742
+ *
6743
+ * A suggested mapping target from the reporting taxonomy.
6744
+ */
6745
+ export type SuggestedTarget = {
6746
+ /**
6747
+ * Element Id
6748
+ */
6749
+ element_id: string;
6750
+ /**
6751
+ * Qname
6752
+ */
6753
+ qname: string;
6754
+ /**
6755
+ * Name
6756
+ */
6757
+ name: string;
6758
+ /**
6759
+ * Confidence
6760
+ */
6761
+ confidence?: number | null;
6762
+ };
6106
6763
  /**
6107
6764
  * SyncConnectionRequest
6108
6765
  *
@@ -6223,26 +6880,88 @@ export type TableQueryResponse = {
6223
6880
  execution_time_ms: number;
6224
6881
  };
6225
6882
  /**
6226
- * TierCapacity
6227
- *
6228
- * Capacity status for a single tier.
6883
+ * TaxonomyListResponse
6229
6884
  */
6230
- export type TierCapacity = {
6885
+ export type TaxonomyListResponse = {
6231
6886
  /**
6232
- * Tier
6233
- *
6234
- * Tier identifier (e.g. ladybug-standard)
6887
+ * Taxonomies
6235
6888
  */
6236
- tier: string;
6889
+ taxonomies: Array<TaxonomyResponse>;
6890
+ };
6891
+ /**
6892
+ * TaxonomyResponse
6893
+ */
6894
+ export type TaxonomyResponse = {
6237
6895
  /**
6238
- * Display Name
6239
- *
6240
- * Human-readable tier name
6896
+ * Id
6241
6897
  */
6242
- display_name: string;
6898
+ id: string;
6243
6899
  /**
6244
- * Status
6245
- *
6900
+ * Name
6901
+ */
6902
+ name: string;
6903
+ /**
6904
+ * Description
6905
+ */
6906
+ description?: string | null;
6907
+ /**
6908
+ * Taxonomy Type
6909
+ */
6910
+ taxonomy_type: string;
6911
+ /**
6912
+ * Version
6913
+ */
6914
+ version?: string | null;
6915
+ /**
6916
+ * Standard
6917
+ */
6918
+ standard?: string | null;
6919
+ /**
6920
+ * Namespace Uri
6921
+ */
6922
+ namespace_uri?: string | null;
6923
+ /**
6924
+ * Is Shared
6925
+ */
6926
+ is_shared: boolean;
6927
+ /**
6928
+ * Is Active
6929
+ */
6930
+ is_active: boolean;
6931
+ /**
6932
+ * Is Locked
6933
+ */
6934
+ is_locked: boolean;
6935
+ /**
6936
+ * Source Taxonomy Id
6937
+ */
6938
+ source_taxonomy_id?: string | null;
6939
+ /**
6940
+ * Target Taxonomy Id
6941
+ */
6942
+ target_taxonomy_id?: string | null;
6943
+ };
6944
+ /**
6945
+ * TierCapacity
6946
+ *
6947
+ * Capacity status for a single tier.
6948
+ */
6949
+ export type TierCapacity = {
6950
+ /**
6951
+ * Tier
6952
+ *
6953
+ * Tier identifier (e.g. ladybug-standard)
6954
+ */
6955
+ tier: string;
6956
+ /**
6957
+ * Display Name
6958
+ *
6959
+ * Human-readable tier name
6960
+ */
6961
+ display_name: string;
6962
+ /**
6963
+ * Status
6964
+ *
6246
6965
  * Capacity status: ready, scalable, or at_capacity
6247
6966
  */
6248
6967
  status: string;
@@ -6357,6 +7076,41 @@ export type TrialBalanceRow = {
6357
7076
  */
6358
7077
  net_balance: number;
6359
7078
  };
7079
+ /**
7080
+ * UnmappedElementResponse
7081
+ *
7082
+ * An element not yet mapped to the reporting taxonomy.
7083
+ */
7084
+ export type UnmappedElementResponse = {
7085
+ /**
7086
+ * Id
7087
+ */
7088
+ id: string;
7089
+ /**
7090
+ * Code
7091
+ */
7092
+ code?: string | null;
7093
+ /**
7094
+ * Name
7095
+ */
7096
+ name: string;
7097
+ /**
7098
+ * Classification
7099
+ */
7100
+ classification: string;
7101
+ /**
7102
+ * Balance Type
7103
+ */
7104
+ balance_type: string;
7105
+ /**
7106
+ * External Source
7107
+ */
7108
+ external_source?: string | null;
7109
+ /**
7110
+ * Suggested Targets
7111
+ */
7112
+ suggested_targets?: Array<SuggestedTarget>;
7113
+ };
6360
7114
  /**
6361
7115
  * UpcomingInvoice
6362
7116
  *
@@ -6647,6 +7401,27 @@ export type UserResponse = {
6647
7401
  */
6648
7402
  accounts?: Array<AccountInfo>;
6649
7403
  };
7404
+ /**
7405
+ * ValidationCheckResponse
7406
+ */
7407
+ export type ValidationCheckResponse = {
7408
+ /**
7409
+ * Passed
7410
+ */
7411
+ passed: boolean;
7412
+ /**
7413
+ * Checks
7414
+ */
7415
+ checks: Array<string>;
7416
+ /**
7417
+ * Failures
7418
+ */
7419
+ failures: Array<string>;
7420
+ /**
7421
+ * Warnings
7422
+ */
7423
+ warnings: Array<string>;
7424
+ };
6650
7425
  /**
6651
7426
  * ValidationError
6652
7427
  */
@@ -10698,7 +11473,7 @@ export type GetLedgerAccountTreeResponses = {
10698
11473
  200: AccountTreeResponse;
10699
11474
  };
10700
11475
  export type GetLedgerAccountTreeResponse = GetLedgerAccountTreeResponses[keyof GetLedgerAccountTreeResponses];
10701
- export type ListLedgerTransactionsData = {
11476
+ export type ListTaxonomiesData = {
10702
11477
  body?: never;
10703
11478
  path: {
10704
11479
  /**
@@ -10708,23 +11483,111 @@ export type ListLedgerTransactionsData = {
10708
11483
  };
10709
11484
  query?: {
10710
11485
  /**
10711
- * Type
11486
+ * Taxonomy Type
10712
11487
  *
10713
- * Filter by transaction type
11488
+ * Filter by type
10714
11489
  */
10715
- type?: string | null;
11490
+ taxonomy_type?: string | null;
11491
+ };
11492
+ url: '/v1/ledger/{graph_id}/taxonomies';
11493
+ };
11494
+ export type ListTaxonomiesErrors = {
11495
+ /**
11496
+ * Validation Error
11497
+ */
11498
+ 422: HttpValidationError;
11499
+ };
11500
+ export type ListTaxonomiesError = ListTaxonomiesErrors[keyof ListTaxonomiesErrors];
11501
+ export type ListTaxonomiesResponses = {
11502
+ /**
11503
+ * Successful Response
11504
+ */
11505
+ 200: TaxonomyListResponse;
11506
+ };
11507
+ export type ListTaxonomiesResponse = ListTaxonomiesResponses[keyof ListTaxonomiesResponses];
11508
+ export type CreateTaxonomyData = {
11509
+ body: CreateTaxonomyRequest;
11510
+ path: {
10716
11511
  /**
10717
- * Start Date
11512
+ * Graph Id
11513
+ */
11514
+ graph_id: string;
11515
+ };
11516
+ query?: never;
11517
+ url: '/v1/ledger/{graph_id}/taxonomies';
11518
+ };
11519
+ export type CreateTaxonomyErrors = {
11520
+ /**
11521
+ * Validation Error
11522
+ */
11523
+ 422: HttpValidationError;
11524
+ };
11525
+ export type CreateTaxonomyError = CreateTaxonomyErrors[keyof CreateTaxonomyErrors];
11526
+ export type CreateTaxonomyResponses = {
11527
+ /**
11528
+ * Successful Response
11529
+ */
11530
+ 201: TaxonomyResponse;
11531
+ };
11532
+ export type CreateTaxonomyResponse = CreateTaxonomyResponses[keyof CreateTaxonomyResponses];
11533
+ export type GetReportingTaxonomyData = {
11534
+ body?: never;
11535
+ path: {
11536
+ /**
11537
+ * Graph Id
11538
+ */
11539
+ graph_id: string;
11540
+ };
11541
+ query?: never;
11542
+ url: '/v1/ledger/{graph_id}/taxonomies/reporting';
11543
+ };
11544
+ export type GetReportingTaxonomyErrors = {
11545
+ /**
11546
+ * Validation Error
11547
+ */
11548
+ 422: HttpValidationError;
11549
+ };
11550
+ export type GetReportingTaxonomyError = GetReportingTaxonomyErrors[keyof GetReportingTaxonomyErrors];
11551
+ export type GetReportingTaxonomyResponses = {
11552
+ /**
11553
+ * Successful Response
11554
+ */
11555
+ 200: TaxonomyResponse;
11556
+ };
11557
+ export type GetReportingTaxonomyResponse = GetReportingTaxonomyResponses[keyof GetReportingTaxonomyResponses];
11558
+ export type ListElementsData = {
11559
+ body?: never;
11560
+ path: {
11561
+ /**
11562
+ * Graph Id
11563
+ */
11564
+ graph_id: string;
11565
+ };
11566
+ query?: {
11567
+ /**
11568
+ * Taxonomy Id
10718
11569
  *
10719
- * Start date (inclusive)
11570
+ * Filter by taxonomy
10720
11571
  */
10721
- start_date?: string | null;
11572
+ taxonomy_id?: string | null;
10722
11573
  /**
10723
- * End Date
11574
+ * Source
10724
11575
  *
10725
- * End date (inclusive)
11576
+ * Filter by source
10726
11577
  */
10727
- end_date?: string | null;
11578
+ source?: string | null;
11579
+ /**
11580
+ * Classification
11581
+ *
11582
+ * Filter by classification
11583
+ */
11584
+ classification?: string | null;
11585
+ /**
11586
+ * Is Abstract
11587
+ *
11588
+ * Filter by abstract
11589
+ */
11590
+ is_abstract?: boolean | null;
10728
11591
  /**
10729
11592
  * Limit
10730
11593
  */
@@ -10734,52 +11597,57 @@ export type ListLedgerTransactionsData = {
10734
11597
  */
10735
11598
  offset?: number;
10736
11599
  };
10737
- url: '/v1/ledger/{graph_id}/transactions';
11600
+ url: '/v1/ledger/{graph_id}/elements';
10738
11601
  };
10739
- export type ListLedgerTransactionsErrors = {
11602
+ export type ListElementsErrors = {
10740
11603
  /**
10741
11604
  * Validation Error
10742
11605
  */
10743
11606
  422: HttpValidationError;
10744
11607
  };
10745
- export type ListLedgerTransactionsError = ListLedgerTransactionsErrors[keyof ListLedgerTransactionsErrors];
10746
- export type ListLedgerTransactionsResponses = {
11608
+ export type ListElementsError = ListElementsErrors[keyof ListElementsErrors];
11609
+ export type ListElementsResponses = {
10747
11610
  /**
10748
11611
  * Successful Response
10749
11612
  */
10750
- 200: LedgerTransactionListResponse;
11613
+ 200: ElementListResponse;
10751
11614
  };
10752
- export type ListLedgerTransactionsResponse = ListLedgerTransactionsResponses[keyof ListLedgerTransactionsResponses];
10753
- export type GetLedgerTransactionData = {
11615
+ export type ListElementsResponse = ListElementsResponses[keyof ListElementsResponses];
11616
+ export type ListUnmappedElementsData = {
10754
11617
  body?: never;
10755
11618
  path: {
10756
11619
  /**
10757
11620
  * Graph Id
10758
11621
  */
10759
11622
  graph_id: string;
11623
+ };
11624
+ query?: {
10760
11625
  /**
10761
- * Transaction Id
11626
+ * Mapping Id
11627
+ *
11628
+ * Mapping structure to check against
10762
11629
  */
10763
- transaction_id: string;
11630
+ mapping_id?: string | null;
10764
11631
  };
10765
- query?: never;
10766
- url: '/v1/ledger/{graph_id}/transactions/{transaction_id}';
11632
+ url: '/v1/ledger/{graph_id}/elements/unmapped';
10767
11633
  };
10768
- export type GetLedgerTransactionErrors = {
11634
+ export type ListUnmappedElementsErrors = {
10769
11635
  /**
10770
11636
  * Validation Error
10771
11637
  */
10772
11638
  422: HttpValidationError;
10773
11639
  };
10774
- export type GetLedgerTransactionError = GetLedgerTransactionErrors[keyof GetLedgerTransactionErrors];
10775
- export type GetLedgerTransactionResponses = {
11640
+ export type ListUnmappedElementsError = ListUnmappedElementsErrors[keyof ListUnmappedElementsErrors];
11641
+ export type ListUnmappedElementsResponses = {
10776
11642
  /**
11643
+ * Response Listunmappedelements
11644
+ *
10777
11645
  * Successful Response
10778
11646
  */
10779
- 200: LedgerTransactionDetailResponse;
11647
+ 200: Array<UnmappedElementResponse>;
10780
11648
  };
10781
- export type GetLedgerTransactionResponse = GetLedgerTransactionResponses[keyof GetLedgerTransactionResponses];
10782
- export type GetLedgerTrialBalanceData = {
11649
+ export type ListUnmappedElementsResponse = ListUnmappedElementsResponses[keyof ListUnmappedElementsResponses];
11650
+ export type ListStructuresData = {
10783
11651
  body?: never;
10784
11652
  path: {
10785
11653
  /**
@@ -10789,35 +11657,60 @@ export type GetLedgerTrialBalanceData = {
10789
11657
  };
10790
11658
  query?: {
10791
11659
  /**
10792
- * Start Date
11660
+ * Taxonomy Id
10793
11661
  *
10794
- * Start date (inclusive)
11662
+ * Filter by taxonomy
10795
11663
  */
10796
- start_date?: string | null;
11664
+ taxonomy_id?: string | null;
10797
11665
  /**
10798
- * End Date
11666
+ * Structure Type
10799
11667
  *
10800
- * End date (inclusive)
11668
+ * Filter by type
10801
11669
  */
10802
- end_date?: string | null;
11670
+ structure_type?: string | null;
10803
11671
  };
10804
- url: '/v1/ledger/{graph_id}/trial-balance';
11672
+ url: '/v1/ledger/{graph_id}/structures';
10805
11673
  };
10806
- export type GetLedgerTrialBalanceErrors = {
11674
+ export type ListStructuresErrors = {
10807
11675
  /**
10808
11676
  * Validation Error
10809
11677
  */
10810
11678
  422: HttpValidationError;
10811
11679
  };
10812
- export type GetLedgerTrialBalanceError = GetLedgerTrialBalanceErrors[keyof GetLedgerTrialBalanceErrors];
10813
- export type GetLedgerTrialBalanceResponses = {
11680
+ export type ListStructuresError = ListStructuresErrors[keyof ListStructuresErrors];
11681
+ export type ListStructuresResponses = {
10814
11682
  /**
10815
11683
  * Successful Response
10816
11684
  */
10817
- 200: TrialBalanceResponse;
11685
+ 200: StructureListResponse;
10818
11686
  };
10819
- export type GetLedgerTrialBalanceResponse = GetLedgerTrialBalanceResponses[keyof GetLedgerTrialBalanceResponses];
10820
- export type GetLedgerSummaryData = {
11687
+ export type ListStructuresResponse = ListStructuresResponses[keyof ListStructuresResponses];
11688
+ export type CreateStructureData = {
11689
+ body: CreateStructureRequest;
11690
+ path: {
11691
+ /**
11692
+ * Graph Id
11693
+ */
11694
+ graph_id: string;
11695
+ };
11696
+ query?: never;
11697
+ url: '/v1/ledger/{graph_id}/structures';
11698
+ };
11699
+ export type CreateStructureErrors = {
11700
+ /**
11701
+ * Validation Error
11702
+ */
11703
+ 422: HttpValidationError;
11704
+ };
11705
+ export type CreateStructureError = CreateStructureErrors[keyof CreateStructureErrors];
11706
+ export type CreateStructureResponses = {
11707
+ /**
11708
+ * Successful Response
11709
+ */
11710
+ 201: StructureResponse;
11711
+ };
11712
+ export type CreateStructureResponse = CreateStructureResponses[keyof CreateStructureResponses];
11713
+ export type ListMappingsData = {
10821
11714
  body?: never;
10822
11715
  path: {
10823
11716
  /**
@@ -10826,19 +11719,563 @@ export type GetLedgerSummaryData = {
10826
11719
  graph_id: string;
10827
11720
  };
10828
11721
  query?: never;
10829
- url: '/v1/ledger/{graph_id}/summary';
11722
+ url: '/v1/ledger/{graph_id}/mappings';
10830
11723
  };
10831
- export type GetLedgerSummaryErrors = {
11724
+ export type ListMappingsErrors = {
10832
11725
  /**
10833
11726
  * Validation Error
10834
11727
  */
10835
11728
  422: HttpValidationError;
10836
11729
  };
10837
- export type GetLedgerSummaryError = GetLedgerSummaryErrors[keyof GetLedgerSummaryErrors];
10838
- export type GetLedgerSummaryResponses = {
11730
+ export type ListMappingsError = ListMappingsErrors[keyof ListMappingsErrors];
11731
+ export type ListMappingsResponses = {
10839
11732
  /**
10840
11733
  * Successful Response
10841
11734
  */
10842
- 200: LedgerSummaryResponse;
11735
+ 200: StructureListResponse;
10843
11736
  };
10844
- export type GetLedgerSummaryResponse = GetLedgerSummaryResponses[keyof GetLedgerSummaryResponses];
11737
+ export type ListMappingsResponse = ListMappingsResponses[keyof ListMappingsResponses];
11738
+ export type GetMappingDetailData = {
11739
+ body?: never;
11740
+ path: {
11741
+ /**
11742
+ * Graph Id
11743
+ */
11744
+ graph_id: string;
11745
+ /**
11746
+ * Mapping Id
11747
+ */
11748
+ mapping_id: string;
11749
+ };
11750
+ query?: never;
11751
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}';
11752
+ };
11753
+ export type GetMappingDetailErrors = {
11754
+ /**
11755
+ * Validation Error
11756
+ */
11757
+ 422: HttpValidationError;
11758
+ };
11759
+ export type GetMappingDetailError = GetMappingDetailErrors[keyof GetMappingDetailErrors];
11760
+ export type GetMappingDetailResponses = {
11761
+ /**
11762
+ * Successful Response
11763
+ */
11764
+ 200: MappingDetailResponse;
11765
+ };
11766
+ export type GetMappingDetailResponse = GetMappingDetailResponses[keyof GetMappingDetailResponses];
11767
+ export type CreateMappingAssociationData = {
11768
+ body: CreateAssociationRequest;
11769
+ path: {
11770
+ /**
11771
+ * Graph Id
11772
+ */
11773
+ graph_id: string;
11774
+ /**
11775
+ * Mapping Id
11776
+ */
11777
+ mapping_id: string;
11778
+ };
11779
+ query?: never;
11780
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/associations';
11781
+ };
11782
+ export type CreateMappingAssociationErrors = {
11783
+ /**
11784
+ * Validation Error
11785
+ */
11786
+ 422: HttpValidationError;
11787
+ };
11788
+ export type CreateMappingAssociationError = CreateMappingAssociationErrors[keyof CreateMappingAssociationErrors];
11789
+ export type CreateMappingAssociationResponses = {
11790
+ /**
11791
+ * Successful Response
11792
+ */
11793
+ 201: ElementAssociationResponse;
11794
+ };
11795
+ export type CreateMappingAssociationResponse = CreateMappingAssociationResponses[keyof CreateMappingAssociationResponses];
11796
+ export type DeleteMappingAssociationData = {
11797
+ body?: never;
11798
+ path: {
11799
+ /**
11800
+ * Graph Id
11801
+ */
11802
+ graph_id: string;
11803
+ /**
11804
+ * Mapping Id
11805
+ */
11806
+ mapping_id: string;
11807
+ /**
11808
+ * Association Id
11809
+ */
11810
+ association_id: string;
11811
+ };
11812
+ query?: never;
11813
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/associations/{association_id}';
11814
+ };
11815
+ export type DeleteMappingAssociationErrors = {
11816
+ /**
11817
+ * Validation Error
11818
+ */
11819
+ 422: HttpValidationError;
11820
+ };
11821
+ export type DeleteMappingAssociationError = DeleteMappingAssociationErrors[keyof DeleteMappingAssociationErrors];
11822
+ export type DeleteMappingAssociationResponses = {
11823
+ /**
11824
+ * Successful Response
11825
+ */
11826
+ 204: void;
11827
+ };
11828
+ export type DeleteMappingAssociationResponse = DeleteMappingAssociationResponses[keyof DeleteMappingAssociationResponses];
11829
+ export type GetMappingCoverageData = {
11830
+ body?: never;
11831
+ path: {
11832
+ /**
11833
+ * Graph Id
11834
+ */
11835
+ graph_id: string;
11836
+ /**
11837
+ * Mapping Id
11838
+ */
11839
+ mapping_id: string;
11840
+ };
11841
+ query?: never;
11842
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/coverage';
11843
+ };
11844
+ export type GetMappingCoverageErrors = {
11845
+ /**
11846
+ * Validation Error
11847
+ */
11848
+ 422: HttpValidationError;
11849
+ };
11850
+ export type GetMappingCoverageError = GetMappingCoverageErrors[keyof GetMappingCoverageErrors];
11851
+ export type GetMappingCoverageResponses = {
11852
+ /**
11853
+ * Successful Response
11854
+ */
11855
+ 200: MappingCoverageResponse;
11856
+ };
11857
+ export type GetMappingCoverageResponse = GetMappingCoverageResponses[keyof GetMappingCoverageResponses];
11858
+ export type GetMappedTrialBalanceData = {
11859
+ body?: never;
11860
+ path: {
11861
+ /**
11862
+ * Graph Id
11863
+ */
11864
+ graph_id: string;
11865
+ };
11866
+ query: {
11867
+ /**
11868
+ * Mapping Id
11869
+ *
11870
+ * Mapping structure ID
11871
+ */
11872
+ mapping_id: string;
11873
+ /**
11874
+ * Start Date
11875
+ */
11876
+ start_date?: string | null;
11877
+ /**
11878
+ * End Date
11879
+ */
11880
+ end_date?: string | null;
11881
+ };
11882
+ url: '/v1/ledger/{graph_id}/trial-balance/mapped';
11883
+ };
11884
+ export type GetMappedTrialBalanceErrors = {
11885
+ /**
11886
+ * Validation Error
11887
+ */
11888
+ 422: HttpValidationError;
11889
+ };
11890
+ export type GetMappedTrialBalanceError = GetMappedTrialBalanceErrors[keyof GetMappedTrialBalanceErrors];
11891
+ export type GetMappedTrialBalanceResponses = {
11892
+ /**
11893
+ * Successful Response
11894
+ */
11895
+ 200: unknown;
11896
+ };
11897
+ export type AutoMapElementsData = {
11898
+ body?: never;
11899
+ path: {
11900
+ /**
11901
+ * Graph Id
11902
+ */
11903
+ graph_id: string;
11904
+ /**
11905
+ * Mapping Id
11906
+ *
11907
+ * Mapping structure ID
11908
+ */
11909
+ mapping_id: string;
11910
+ };
11911
+ query?: never;
11912
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/auto-map';
11913
+ };
11914
+ export type AutoMapElementsErrors = {
11915
+ /**
11916
+ * Validation Error
11917
+ */
11918
+ 422: HttpValidationError;
11919
+ };
11920
+ export type AutoMapElementsError = AutoMapElementsErrors[keyof AutoMapElementsErrors];
11921
+ export type AutoMapElementsResponses = {
11922
+ /**
11923
+ * Successful Response
11924
+ */
11925
+ 202: unknown;
11926
+ };
11927
+ export type ListLedgerTransactionsData = {
11928
+ body?: never;
11929
+ path: {
11930
+ /**
11931
+ * Graph Id
11932
+ */
11933
+ graph_id: string;
11934
+ };
11935
+ query?: {
11936
+ /**
11937
+ * Type
11938
+ *
11939
+ * Filter by transaction type
11940
+ */
11941
+ type?: string | null;
11942
+ /**
11943
+ * Start Date
11944
+ *
11945
+ * Start date (inclusive)
11946
+ */
11947
+ start_date?: string | null;
11948
+ /**
11949
+ * End Date
11950
+ *
11951
+ * End date (inclusive)
11952
+ */
11953
+ end_date?: string | null;
11954
+ /**
11955
+ * Limit
11956
+ */
11957
+ limit?: number;
11958
+ /**
11959
+ * Offset
11960
+ */
11961
+ offset?: number;
11962
+ };
11963
+ url: '/v1/ledger/{graph_id}/transactions';
11964
+ };
11965
+ export type ListLedgerTransactionsErrors = {
11966
+ /**
11967
+ * Validation Error
11968
+ */
11969
+ 422: HttpValidationError;
11970
+ };
11971
+ export type ListLedgerTransactionsError = ListLedgerTransactionsErrors[keyof ListLedgerTransactionsErrors];
11972
+ export type ListLedgerTransactionsResponses = {
11973
+ /**
11974
+ * Successful Response
11975
+ */
11976
+ 200: LedgerTransactionListResponse;
11977
+ };
11978
+ export type ListLedgerTransactionsResponse = ListLedgerTransactionsResponses[keyof ListLedgerTransactionsResponses];
11979
+ export type GetLedgerTransactionData = {
11980
+ body?: never;
11981
+ path: {
11982
+ /**
11983
+ * Graph Id
11984
+ */
11985
+ graph_id: string;
11986
+ /**
11987
+ * Transaction Id
11988
+ */
11989
+ transaction_id: string;
11990
+ };
11991
+ query?: never;
11992
+ url: '/v1/ledger/{graph_id}/transactions/{transaction_id}';
11993
+ };
11994
+ export type GetLedgerTransactionErrors = {
11995
+ /**
11996
+ * Validation Error
11997
+ */
11998
+ 422: HttpValidationError;
11999
+ };
12000
+ export type GetLedgerTransactionError = GetLedgerTransactionErrors[keyof GetLedgerTransactionErrors];
12001
+ export type GetLedgerTransactionResponses = {
12002
+ /**
12003
+ * Successful Response
12004
+ */
12005
+ 200: LedgerTransactionDetailResponse;
12006
+ };
12007
+ export type GetLedgerTransactionResponse = GetLedgerTransactionResponses[keyof GetLedgerTransactionResponses];
12008
+ export type GetLedgerTrialBalanceData = {
12009
+ body?: never;
12010
+ path: {
12011
+ /**
12012
+ * Graph Id
12013
+ */
12014
+ graph_id: string;
12015
+ };
12016
+ query?: {
12017
+ /**
12018
+ * Start Date
12019
+ *
12020
+ * Start date (inclusive)
12021
+ */
12022
+ start_date?: string | null;
12023
+ /**
12024
+ * End Date
12025
+ *
12026
+ * End date (inclusive)
12027
+ */
12028
+ end_date?: string | null;
12029
+ };
12030
+ url: '/v1/ledger/{graph_id}/trial-balance';
12031
+ };
12032
+ export type GetLedgerTrialBalanceErrors = {
12033
+ /**
12034
+ * Validation Error
12035
+ */
12036
+ 422: HttpValidationError;
12037
+ };
12038
+ export type GetLedgerTrialBalanceError = GetLedgerTrialBalanceErrors[keyof GetLedgerTrialBalanceErrors];
12039
+ export type GetLedgerTrialBalanceResponses = {
12040
+ /**
12041
+ * Successful Response
12042
+ */
12043
+ 200: TrialBalanceResponse;
12044
+ };
12045
+ export type GetLedgerTrialBalanceResponse = GetLedgerTrialBalanceResponses[keyof GetLedgerTrialBalanceResponses];
12046
+ export type GetLedgerSummaryData = {
12047
+ body?: never;
12048
+ path: {
12049
+ /**
12050
+ * Graph Id
12051
+ */
12052
+ graph_id: string;
12053
+ };
12054
+ query?: never;
12055
+ url: '/v1/ledger/{graph_id}/summary';
12056
+ };
12057
+ export type GetLedgerSummaryErrors = {
12058
+ /**
12059
+ * Validation Error
12060
+ */
12061
+ 422: HttpValidationError;
12062
+ };
12063
+ export type GetLedgerSummaryError = GetLedgerSummaryErrors[keyof GetLedgerSummaryErrors];
12064
+ export type GetLedgerSummaryResponses = {
12065
+ /**
12066
+ * Successful Response
12067
+ */
12068
+ 200: LedgerSummaryResponse;
12069
+ };
12070
+ export type GetLedgerSummaryResponse = GetLedgerSummaryResponses[keyof GetLedgerSummaryResponses];
12071
+ export type ListReportsData = {
12072
+ body?: never;
12073
+ path: {
12074
+ /**
12075
+ * Graph Id
12076
+ */
12077
+ graph_id: string;
12078
+ };
12079
+ query?: never;
12080
+ url: '/v1/ledger/{graph_id}/reports';
12081
+ };
12082
+ export type ListReportsErrors = {
12083
+ /**
12084
+ * Validation Error
12085
+ */
12086
+ 422: HttpValidationError;
12087
+ };
12088
+ export type ListReportsError = ListReportsErrors[keyof ListReportsErrors];
12089
+ export type ListReportsResponses = {
12090
+ /**
12091
+ * Successful Response
12092
+ */
12093
+ 200: ReportListResponse;
12094
+ };
12095
+ export type ListReportsResponse = ListReportsResponses[keyof ListReportsResponses];
12096
+ export type CreateReportData = {
12097
+ body: CreateReportRequest;
12098
+ path: {
12099
+ /**
12100
+ * Graph Id
12101
+ */
12102
+ graph_id: string;
12103
+ };
12104
+ query?: never;
12105
+ url: '/v1/ledger/{graph_id}/reports';
12106
+ };
12107
+ export type CreateReportErrors = {
12108
+ /**
12109
+ * Validation Error
12110
+ */
12111
+ 422: HttpValidationError;
12112
+ };
12113
+ export type CreateReportError = CreateReportErrors[keyof CreateReportErrors];
12114
+ export type CreateReportResponses = {
12115
+ /**
12116
+ * Successful Response
12117
+ */
12118
+ 201: ReportResponse;
12119
+ };
12120
+ export type CreateReportResponse = CreateReportResponses[keyof CreateReportResponses];
12121
+ export type DeleteReportData = {
12122
+ body?: never;
12123
+ path: {
12124
+ /**
12125
+ * Graph Id
12126
+ */
12127
+ graph_id: string;
12128
+ /**
12129
+ * Report Id
12130
+ *
12131
+ * Report definition ID
12132
+ */
12133
+ report_id: string;
12134
+ };
12135
+ query?: never;
12136
+ url: '/v1/ledger/{graph_id}/reports/{report_id}';
12137
+ };
12138
+ export type DeleteReportErrors = {
12139
+ /**
12140
+ * Validation Error
12141
+ */
12142
+ 422: HttpValidationError;
12143
+ };
12144
+ export type DeleteReportError = DeleteReportErrors[keyof DeleteReportErrors];
12145
+ export type DeleteReportResponses = {
12146
+ /**
12147
+ * Successful Response
12148
+ */
12149
+ 204: void;
12150
+ };
12151
+ export type DeleteReportResponse = DeleteReportResponses[keyof DeleteReportResponses];
12152
+ export type GetReportData = {
12153
+ body?: never;
12154
+ path: {
12155
+ /**
12156
+ * Graph Id
12157
+ */
12158
+ graph_id: string;
12159
+ /**
12160
+ * Report Id
12161
+ *
12162
+ * Report definition ID
12163
+ */
12164
+ report_id: string;
12165
+ };
12166
+ query?: never;
12167
+ url: '/v1/ledger/{graph_id}/reports/{report_id}';
12168
+ };
12169
+ export type GetReportErrors = {
12170
+ /**
12171
+ * Validation Error
12172
+ */
12173
+ 422: HttpValidationError;
12174
+ };
12175
+ export type GetReportError = GetReportErrors[keyof GetReportErrors];
12176
+ export type GetReportResponses = {
12177
+ /**
12178
+ * Successful Response
12179
+ */
12180
+ 200: ReportResponse;
12181
+ };
12182
+ export type GetReportResponse = GetReportResponses[keyof GetReportResponses];
12183
+ export type GetStatementData = {
12184
+ body?: never;
12185
+ path: {
12186
+ /**
12187
+ * Graph Id
12188
+ */
12189
+ graph_id: string;
12190
+ /**
12191
+ * Report Id
12192
+ *
12193
+ * Report definition ID
12194
+ */
12195
+ report_id: string;
12196
+ /**
12197
+ * Structure Type
12198
+ *
12199
+ * Structure type: income_statement, balance_sheet, cash_flow_statement
12200
+ */
12201
+ structure_type: string;
12202
+ };
12203
+ query?: never;
12204
+ url: '/v1/ledger/{graph_id}/reports/{report_id}/statements/{structure_type}';
12205
+ };
12206
+ export type GetStatementErrors = {
12207
+ /**
12208
+ * Validation Error
12209
+ */
12210
+ 422: HttpValidationError;
12211
+ };
12212
+ export type GetStatementError = GetStatementErrors[keyof GetStatementErrors];
12213
+ export type GetStatementResponses = {
12214
+ /**
12215
+ * Successful Response
12216
+ */
12217
+ 200: StatementResponse;
12218
+ };
12219
+ export type GetStatementResponse = GetStatementResponses[keyof GetStatementResponses];
12220
+ export type RegenerateReportData = {
12221
+ body: RegenerateReportRequest;
12222
+ path: {
12223
+ /**
12224
+ * Graph Id
12225
+ */
12226
+ graph_id: string;
12227
+ /**
12228
+ * Report Id
12229
+ *
12230
+ * Report definition ID
12231
+ */
12232
+ report_id: string;
12233
+ };
12234
+ query?: never;
12235
+ url: '/v1/ledger/{graph_id}/reports/{report_id}/regenerate';
12236
+ };
12237
+ export type RegenerateReportErrors = {
12238
+ /**
12239
+ * Validation Error
12240
+ */
12241
+ 422: HttpValidationError;
12242
+ };
12243
+ export type RegenerateReportError = RegenerateReportErrors[keyof RegenerateReportErrors];
12244
+ export type RegenerateReportResponses = {
12245
+ /**
12246
+ * Successful Response
12247
+ */
12248
+ 200: ReportResponse;
12249
+ };
12250
+ export type RegenerateReportResponse = RegenerateReportResponses[keyof RegenerateReportResponses];
12251
+ export type ShareReportData = {
12252
+ body: ShareReportRequest;
12253
+ path: {
12254
+ /**
12255
+ * Graph Id
12256
+ */
12257
+ graph_id: string;
12258
+ /**
12259
+ * Report Id
12260
+ *
12261
+ * Report definition ID
12262
+ */
12263
+ report_id: string;
12264
+ };
12265
+ query?: never;
12266
+ url: '/v1/ledger/{graph_id}/reports/{report_id}/share';
12267
+ };
12268
+ export type ShareReportErrors = {
12269
+ /**
12270
+ * Validation Error
12271
+ */
12272
+ 422: HttpValidationError;
12273
+ };
12274
+ export type ShareReportError = ShareReportErrors[keyof ShareReportErrors];
12275
+ export type ShareReportResponses = {
12276
+ /**
12277
+ * Successful Response
12278
+ */
12279
+ 200: ShareReportResponse;
12280
+ };
12281
+ export type ShareReportResponse2 = ShareReportResponses[keyof ShareReportResponses];