@robosystems/client 0.2.37 → 0.2.39

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
  *
@@ -1556,6 +1590,28 @@ export type CreateRepositorySubscriptionRequest = {
1556
1590
  plan_name: string;
1557
1591
  };
1558
1592
 
1593
+ /**
1594
+ * CreateStructureRequest
1595
+ */
1596
+ export type CreateStructureRequest = {
1597
+ /**
1598
+ * Name
1599
+ */
1600
+ name: string;
1601
+ /**
1602
+ * Description
1603
+ */
1604
+ description?: string | null;
1605
+ /**
1606
+ * Structure Type
1607
+ */
1608
+ structure_type: 'chart_of_accounts' | 'income_statement' | 'balance_sheet' | 'cash_flow_statement' | 'equity_statement' | 'coa_mapping' | 'custom';
1609
+ /**
1610
+ * Taxonomy Id
1611
+ */
1612
+ taxonomy_id: string;
1613
+ };
1614
+
1559
1615
  /**
1560
1616
  * CreateSubgraphRequest
1561
1617
  *
@@ -1606,6 +1662,36 @@ export type CreateSubgraphRequest = {
1606
1662
  fork_parent?: boolean;
1607
1663
  };
1608
1664
 
1665
+ /**
1666
+ * CreateTaxonomyRequest
1667
+ */
1668
+ export type CreateTaxonomyRequest = {
1669
+ /**
1670
+ * Name
1671
+ */
1672
+ name: string;
1673
+ /**
1674
+ * Description
1675
+ */
1676
+ description?: string | null;
1677
+ /**
1678
+ * Taxonomy Type
1679
+ */
1680
+ taxonomy_type: 'chart_of_accounts' | 'reporting' | 'mapping';
1681
+ /**
1682
+ * Version
1683
+ */
1684
+ version?: string | null;
1685
+ /**
1686
+ * Source Taxonomy Id
1687
+ */
1688
+ source_taxonomy_id?: string | null;
1689
+ /**
1690
+ * Target Taxonomy Id
1691
+ */
1692
+ target_taxonomy_id?: string | null;
1693
+ };
1694
+
1609
1695
  /**
1610
1696
  * CreateViewRequest
1611
1697
  */
@@ -2424,6 +2510,163 @@ export type DownloadQuota = {
2424
2510
  resets_at: string;
2425
2511
  };
2426
2512
 
2513
+ /**
2514
+ * ElementAssociationResponse
2515
+ */
2516
+ export type ElementAssociationResponse = {
2517
+ /**
2518
+ * Id
2519
+ */
2520
+ id: string;
2521
+ /**
2522
+ * Structure Id
2523
+ */
2524
+ structure_id: string;
2525
+ /**
2526
+ * From Element Id
2527
+ */
2528
+ from_element_id: string;
2529
+ /**
2530
+ * From Element Name
2531
+ */
2532
+ from_element_name?: string | null;
2533
+ /**
2534
+ * From Element Qname
2535
+ */
2536
+ from_element_qname?: string | null;
2537
+ /**
2538
+ * To Element Id
2539
+ */
2540
+ to_element_id: string;
2541
+ /**
2542
+ * To Element Name
2543
+ */
2544
+ to_element_name?: string | null;
2545
+ /**
2546
+ * To Element Qname
2547
+ */
2548
+ to_element_qname?: string | null;
2549
+ /**
2550
+ * Association Type
2551
+ */
2552
+ association_type: string;
2553
+ /**
2554
+ * Order Value
2555
+ */
2556
+ order_value?: number | null;
2557
+ /**
2558
+ * Weight
2559
+ */
2560
+ weight?: number | null;
2561
+ /**
2562
+ * Confidence
2563
+ */
2564
+ confidence?: number | null;
2565
+ /**
2566
+ * Suggested By
2567
+ */
2568
+ suggested_by?: string | null;
2569
+ /**
2570
+ * Approved By
2571
+ */
2572
+ approved_by?: string | null;
2573
+ };
2574
+
2575
+ /**
2576
+ * ElementListResponse
2577
+ */
2578
+ export type ElementListResponse = {
2579
+ /**
2580
+ * Elements
2581
+ */
2582
+ elements: Array<ElementResponse>;
2583
+ pagination: PaginationInfo;
2584
+ };
2585
+
2586
+ /**
2587
+ * ElementResponse
2588
+ *
2589
+ * Element with taxonomy context — extends AccountResponse.
2590
+ */
2591
+ export type ElementResponse = {
2592
+ /**
2593
+ * Id
2594
+ */
2595
+ id: string;
2596
+ /**
2597
+ * Code
2598
+ */
2599
+ code?: string | null;
2600
+ /**
2601
+ * Name
2602
+ */
2603
+ name: string;
2604
+ /**
2605
+ * Description
2606
+ */
2607
+ description?: string | null;
2608
+ /**
2609
+ * Qname
2610
+ */
2611
+ qname?: string | null;
2612
+ /**
2613
+ * Namespace
2614
+ */
2615
+ namespace?: string | null;
2616
+ /**
2617
+ * Classification
2618
+ */
2619
+ classification: string;
2620
+ /**
2621
+ * Sub Classification
2622
+ */
2623
+ sub_classification?: string | null;
2624
+ /**
2625
+ * Balance Type
2626
+ */
2627
+ balance_type: string;
2628
+ /**
2629
+ * Period Type
2630
+ */
2631
+ period_type: string;
2632
+ /**
2633
+ * Is Abstract
2634
+ */
2635
+ is_abstract: boolean;
2636
+ /**
2637
+ * Element Type
2638
+ */
2639
+ element_type: string;
2640
+ /**
2641
+ * Source
2642
+ */
2643
+ source: string;
2644
+ /**
2645
+ * Taxonomy Id
2646
+ */
2647
+ taxonomy_id?: string | null;
2648
+ /**
2649
+ * Parent Id
2650
+ */
2651
+ parent_id?: string | null;
2652
+ /**
2653
+ * Depth
2654
+ */
2655
+ depth: number;
2656
+ /**
2657
+ * Is Active
2658
+ */
2659
+ is_active: boolean;
2660
+ /**
2661
+ * External Id
2662
+ */
2663
+ external_id?: string | null;
2664
+ /**
2665
+ * External Source
2666
+ */
2667
+ external_source?: string | null;
2668
+ };
2669
+
2427
2670
  /**
2428
2671
  * EmailVerificationRequest
2429
2672
  *
@@ -3249,7 +3492,7 @@ export type GraphSubscriptionTier = {
3249
3492
  /**
3250
3493
  * Backend
3251
3494
  *
3252
- * Database backend (ladybug or neo4j)
3495
+ * Database backend identifier
3253
3496
  */
3254
3497
  backend: string;
3255
3498
  /**
@@ -3393,7 +3636,7 @@ export type GraphTierInfo = {
3393
3636
  /**
3394
3637
  * Backend
3395
3638
  *
3396
- * Database backend (ladybug or neo4j)
3639
+ * Database backend identifier
3397
3640
  */
3398
3641
  backend: string;
3399
3642
  /**
@@ -4224,7 +4467,7 @@ export type ListSubgraphsResponse = {
4224
4467
  /**
4225
4468
  * Subgraphs Enabled
4226
4469
  *
4227
- * Whether subgraphs are enabled for this tier (requires LadybugDB Large/XLarge or Neo4j Enterprise XLarge)
4470
+ * Whether subgraphs are enabled for this tier (requires LadybugDB Large/XLarge)
4228
4471
  */
4229
4472
  subgraphs_enabled: boolean;
4230
4473
  /**
@@ -4347,6 +4590,78 @@ export type McpToolsResponse = {
4347
4590
  }>;
4348
4591
  };
4349
4592
 
4593
+ /**
4594
+ * MappingCoverageResponse
4595
+ *
4596
+ * Coverage stats for a mapping.
4597
+ */
4598
+ export type MappingCoverageResponse = {
4599
+ /**
4600
+ * Mapping Id
4601
+ */
4602
+ mapping_id: string;
4603
+ /**
4604
+ * Total Coa Elements
4605
+ */
4606
+ total_coa_elements: number;
4607
+ /**
4608
+ * Mapped Count
4609
+ */
4610
+ mapped_count: number;
4611
+ /**
4612
+ * Unmapped Count
4613
+ */
4614
+ unmapped_count: number;
4615
+ /**
4616
+ * Coverage Percent
4617
+ */
4618
+ coverage_percent: number;
4619
+ /**
4620
+ * High Confidence
4621
+ */
4622
+ high_confidence?: number;
4623
+ /**
4624
+ * Medium Confidence
4625
+ */
4626
+ medium_confidence?: number;
4627
+ /**
4628
+ * Low Confidence
4629
+ */
4630
+ low_confidence?: number;
4631
+ };
4632
+
4633
+ /**
4634
+ * MappingDetailResponse
4635
+ *
4636
+ * A mapping structure with all its associations.
4637
+ */
4638
+ export type MappingDetailResponse = {
4639
+ /**
4640
+ * Id
4641
+ */
4642
+ id: string;
4643
+ /**
4644
+ * Name
4645
+ */
4646
+ name: string;
4647
+ /**
4648
+ * Structure Type
4649
+ */
4650
+ structure_type: string;
4651
+ /**
4652
+ * Taxonomy Id
4653
+ */
4654
+ taxonomy_id: string;
4655
+ /**
4656
+ * Associations
4657
+ */
4658
+ associations: Array<ElementAssociationResponse>;
4659
+ /**
4660
+ * Total Associations
4661
+ */
4662
+ total_associations: number;
4663
+ };
4664
+
4350
4665
  /**
4351
4666
  * MaterializeRequest
4352
4667
  */
@@ -6030,6 +6345,46 @@ export type StorageSummary = {
6030
6345
  measurement_count: number;
6031
6346
  };
6032
6347
 
6348
+ /**
6349
+ * StructureListResponse
6350
+ */
6351
+ export type StructureListResponse = {
6352
+ /**
6353
+ * Structures
6354
+ */
6355
+ structures: Array<StructureResponse>;
6356
+ };
6357
+
6358
+ /**
6359
+ * StructureResponse
6360
+ */
6361
+ export type StructureResponse = {
6362
+ /**
6363
+ * Id
6364
+ */
6365
+ id: string;
6366
+ /**
6367
+ * Name
6368
+ */
6369
+ name: string;
6370
+ /**
6371
+ * Description
6372
+ */
6373
+ description?: string | null;
6374
+ /**
6375
+ * Structure Type
6376
+ */
6377
+ structure_type: string;
6378
+ /**
6379
+ * Taxonomy Id
6380
+ */
6381
+ taxonomy_id: string;
6382
+ /**
6383
+ * Is Active
6384
+ */
6385
+ is_active: boolean;
6386
+ };
6387
+
6033
6388
  /**
6034
6389
  * SubgraphQuotaResponse
6035
6390
  *
@@ -6268,23 +6623,47 @@ export type SuccessResponse = {
6268
6623
  };
6269
6624
 
6270
6625
  /**
6271
- * SyncConnectionRequest
6626
+ * SuggestedTarget
6272
6627
  *
6273
- * Request to sync a connection.
6628
+ * A suggested mapping target from the reporting taxonomy.
6274
6629
  */
6275
- export type SyncConnectionRequest = {
6630
+ export type SuggestedTarget = {
6276
6631
  /**
6277
- * Full Sync
6278
- *
6279
- * Perform full sync vs incremental
6632
+ * Element Id
6280
6633
  */
6281
- full_sync?: boolean;
6634
+ element_id: string;
6282
6635
  /**
6283
- * Sync Options
6284
- *
6285
- * Provider-specific sync options
6636
+ * Qname
6286
6637
  */
6287
- sync_options?: {
6638
+ qname: string;
6639
+ /**
6640
+ * Name
6641
+ */
6642
+ name: string;
6643
+ /**
6644
+ * Confidence
6645
+ */
6646
+ confidence?: number | null;
6647
+ };
6648
+
6649
+ /**
6650
+ * SyncConnectionRequest
6651
+ *
6652
+ * Request to sync a connection.
6653
+ */
6654
+ export type SyncConnectionRequest = {
6655
+ /**
6656
+ * Full Sync
6657
+ *
6658
+ * Perform full sync vs incremental
6659
+ */
6660
+ full_sync?: boolean;
6661
+ /**
6662
+ * Sync Options
6663
+ *
6664
+ * Provider-specific sync options
6665
+ */
6666
+ sync_options?: {
6288
6667
  [key: string]: unknown;
6289
6668
  } | null;
6290
6669
  };
@@ -6391,6 +6770,70 @@ export type TableQueryResponse = {
6391
6770
  execution_time_ms: number;
6392
6771
  };
6393
6772
 
6773
+ /**
6774
+ * TaxonomyListResponse
6775
+ */
6776
+ export type TaxonomyListResponse = {
6777
+ /**
6778
+ * Taxonomies
6779
+ */
6780
+ taxonomies: Array<TaxonomyResponse>;
6781
+ };
6782
+
6783
+ /**
6784
+ * TaxonomyResponse
6785
+ */
6786
+ export type TaxonomyResponse = {
6787
+ /**
6788
+ * Id
6789
+ */
6790
+ id: string;
6791
+ /**
6792
+ * Name
6793
+ */
6794
+ name: string;
6795
+ /**
6796
+ * Description
6797
+ */
6798
+ description?: string | null;
6799
+ /**
6800
+ * Taxonomy Type
6801
+ */
6802
+ taxonomy_type: string;
6803
+ /**
6804
+ * Version
6805
+ */
6806
+ version?: string | null;
6807
+ /**
6808
+ * Standard
6809
+ */
6810
+ standard?: string | null;
6811
+ /**
6812
+ * Namespace Uri
6813
+ */
6814
+ namespace_uri?: string | null;
6815
+ /**
6816
+ * Is Shared
6817
+ */
6818
+ is_shared: boolean;
6819
+ /**
6820
+ * Is Active
6821
+ */
6822
+ is_active: boolean;
6823
+ /**
6824
+ * Is Locked
6825
+ */
6826
+ is_locked: boolean;
6827
+ /**
6828
+ * Source Taxonomy Id
6829
+ */
6830
+ source_taxonomy_id?: string | null;
6831
+ /**
6832
+ * Target Taxonomy Id
6833
+ */
6834
+ target_taxonomy_id?: string | null;
6835
+ };
6836
+
6394
6837
  /**
6395
6838
  * TierCapacity
6396
6839
  *
@@ -6531,6 +6974,42 @@ export type TrialBalanceRow = {
6531
6974
  net_balance: number;
6532
6975
  };
6533
6976
 
6977
+ /**
6978
+ * UnmappedElementResponse
6979
+ *
6980
+ * An element not yet mapped to the reporting taxonomy.
6981
+ */
6982
+ export type UnmappedElementResponse = {
6983
+ /**
6984
+ * Id
6985
+ */
6986
+ id: string;
6987
+ /**
6988
+ * Code
6989
+ */
6990
+ code?: string | null;
6991
+ /**
6992
+ * Name
6993
+ */
6994
+ name: string;
6995
+ /**
6996
+ * Classification
6997
+ */
6998
+ classification: string;
6999
+ /**
7000
+ * Balance Type
7001
+ */
7002
+ balance_type: string;
7003
+ /**
7004
+ * External Source
7005
+ */
7006
+ external_source?: string | null;
7007
+ /**
7008
+ * Suggested Targets
7009
+ */
7010
+ suggested_targets?: Array<SuggestedTarget>;
7011
+ };
7012
+
6534
7013
  /**
6535
7014
  * UpcomingInvoice
6536
7015
  *
@@ -11440,6 +11919,525 @@ export type GetLedgerAccountTreeResponses = {
11440
11919
 
11441
11920
  export type GetLedgerAccountTreeResponse = GetLedgerAccountTreeResponses[keyof GetLedgerAccountTreeResponses];
11442
11921
 
11922
+ export type ListTaxonomiesData = {
11923
+ body?: never;
11924
+ path: {
11925
+ /**
11926
+ * Graph Id
11927
+ */
11928
+ graph_id: string;
11929
+ };
11930
+ query?: {
11931
+ /**
11932
+ * Taxonomy Type
11933
+ *
11934
+ * Filter by type
11935
+ */
11936
+ taxonomy_type?: string | null;
11937
+ };
11938
+ url: '/v1/ledger/{graph_id}/taxonomies';
11939
+ };
11940
+
11941
+ export type ListTaxonomiesErrors = {
11942
+ /**
11943
+ * Validation Error
11944
+ */
11945
+ 422: HttpValidationError;
11946
+ };
11947
+
11948
+ export type ListTaxonomiesError = ListTaxonomiesErrors[keyof ListTaxonomiesErrors];
11949
+
11950
+ export type ListTaxonomiesResponses = {
11951
+ /**
11952
+ * Successful Response
11953
+ */
11954
+ 200: TaxonomyListResponse;
11955
+ };
11956
+
11957
+ export type ListTaxonomiesResponse = ListTaxonomiesResponses[keyof ListTaxonomiesResponses];
11958
+
11959
+ export type CreateTaxonomyData = {
11960
+ body: CreateTaxonomyRequest;
11961
+ path: {
11962
+ /**
11963
+ * Graph Id
11964
+ */
11965
+ graph_id: string;
11966
+ };
11967
+ query?: never;
11968
+ url: '/v1/ledger/{graph_id}/taxonomies';
11969
+ };
11970
+
11971
+ export type CreateTaxonomyErrors = {
11972
+ /**
11973
+ * Validation Error
11974
+ */
11975
+ 422: HttpValidationError;
11976
+ };
11977
+
11978
+ export type CreateTaxonomyError = CreateTaxonomyErrors[keyof CreateTaxonomyErrors];
11979
+
11980
+ export type CreateTaxonomyResponses = {
11981
+ /**
11982
+ * Successful Response
11983
+ */
11984
+ 201: TaxonomyResponse;
11985
+ };
11986
+
11987
+ export type CreateTaxonomyResponse = CreateTaxonomyResponses[keyof CreateTaxonomyResponses];
11988
+
11989
+ export type GetReportingTaxonomyData = {
11990
+ body?: never;
11991
+ path: {
11992
+ /**
11993
+ * Graph Id
11994
+ */
11995
+ graph_id: string;
11996
+ };
11997
+ query?: never;
11998
+ url: '/v1/ledger/{graph_id}/taxonomies/reporting';
11999
+ };
12000
+
12001
+ export type GetReportingTaxonomyErrors = {
12002
+ /**
12003
+ * Validation Error
12004
+ */
12005
+ 422: HttpValidationError;
12006
+ };
12007
+
12008
+ export type GetReportingTaxonomyError = GetReportingTaxonomyErrors[keyof GetReportingTaxonomyErrors];
12009
+
12010
+ export type GetReportingTaxonomyResponses = {
12011
+ /**
12012
+ * Successful Response
12013
+ */
12014
+ 200: TaxonomyResponse;
12015
+ };
12016
+
12017
+ export type GetReportingTaxonomyResponse = GetReportingTaxonomyResponses[keyof GetReportingTaxonomyResponses];
12018
+
12019
+ export type ListElementsData = {
12020
+ body?: never;
12021
+ path: {
12022
+ /**
12023
+ * Graph Id
12024
+ */
12025
+ graph_id: string;
12026
+ };
12027
+ query?: {
12028
+ /**
12029
+ * Taxonomy Id
12030
+ *
12031
+ * Filter by taxonomy
12032
+ */
12033
+ taxonomy_id?: string | null;
12034
+ /**
12035
+ * Source
12036
+ *
12037
+ * Filter by source
12038
+ */
12039
+ source?: string | null;
12040
+ /**
12041
+ * Classification
12042
+ *
12043
+ * Filter by classification
12044
+ */
12045
+ classification?: string | null;
12046
+ /**
12047
+ * Is Abstract
12048
+ *
12049
+ * Filter by abstract
12050
+ */
12051
+ is_abstract?: boolean | null;
12052
+ /**
12053
+ * Limit
12054
+ */
12055
+ limit?: number;
12056
+ /**
12057
+ * Offset
12058
+ */
12059
+ offset?: number;
12060
+ };
12061
+ url: '/v1/ledger/{graph_id}/elements';
12062
+ };
12063
+
12064
+ export type ListElementsErrors = {
12065
+ /**
12066
+ * Validation Error
12067
+ */
12068
+ 422: HttpValidationError;
12069
+ };
12070
+
12071
+ export type ListElementsError = ListElementsErrors[keyof ListElementsErrors];
12072
+
12073
+ export type ListElementsResponses = {
12074
+ /**
12075
+ * Successful Response
12076
+ */
12077
+ 200: ElementListResponse;
12078
+ };
12079
+
12080
+ export type ListElementsResponse = ListElementsResponses[keyof ListElementsResponses];
12081
+
12082
+ export type ListUnmappedElementsData = {
12083
+ body?: never;
12084
+ path: {
12085
+ /**
12086
+ * Graph Id
12087
+ */
12088
+ graph_id: string;
12089
+ };
12090
+ query?: {
12091
+ /**
12092
+ * Mapping Id
12093
+ *
12094
+ * Mapping structure to check against
12095
+ */
12096
+ mapping_id?: string | null;
12097
+ };
12098
+ url: '/v1/ledger/{graph_id}/elements/unmapped';
12099
+ };
12100
+
12101
+ export type ListUnmappedElementsErrors = {
12102
+ /**
12103
+ * Validation Error
12104
+ */
12105
+ 422: HttpValidationError;
12106
+ };
12107
+
12108
+ export type ListUnmappedElementsError = ListUnmappedElementsErrors[keyof ListUnmappedElementsErrors];
12109
+
12110
+ export type ListUnmappedElementsResponses = {
12111
+ /**
12112
+ * Response Listunmappedelements
12113
+ *
12114
+ * Successful Response
12115
+ */
12116
+ 200: Array<UnmappedElementResponse>;
12117
+ };
12118
+
12119
+ export type ListUnmappedElementsResponse = ListUnmappedElementsResponses[keyof ListUnmappedElementsResponses];
12120
+
12121
+ export type ListStructuresData = {
12122
+ body?: never;
12123
+ path: {
12124
+ /**
12125
+ * Graph Id
12126
+ */
12127
+ graph_id: string;
12128
+ };
12129
+ query?: {
12130
+ /**
12131
+ * Taxonomy Id
12132
+ *
12133
+ * Filter by taxonomy
12134
+ */
12135
+ taxonomy_id?: string | null;
12136
+ /**
12137
+ * Structure Type
12138
+ *
12139
+ * Filter by type
12140
+ */
12141
+ structure_type?: string | null;
12142
+ };
12143
+ url: '/v1/ledger/{graph_id}/structures';
12144
+ };
12145
+
12146
+ export type ListStructuresErrors = {
12147
+ /**
12148
+ * Validation Error
12149
+ */
12150
+ 422: HttpValidationError;
12151
+ };
12152
+
12153
+ export type ListStructuresError = ListStructuresErrors[keyof ListStructuresErrors];
12154
+
12155
+ export type ListStructuresResponses = {
12156
+ /**
12157
+ * Successful Response
12158
+ */
12159
+ 200: StructureListResponse;
12160
+ };
12161
+
12162
+ export type ListStructuresResponse = ListStructuresResponses[keyof ListStructuresResponses];
12163
+
12164
+ export type CreateStructureData = {
12165
+ body: CreateStructureRequest;
12166
+ path: {
12167
+ /**
12168
+ * Graph Id
12169
+ */
12170
+ graph_id: string;
12171
+ };
12172
+ query?: never;
12173
+ url: '/v1/ledger/{graph_id}/structures';
12174
+ };
12175
+
12176
+ export type CreateStructureErrors = {
12177
+ /**
12178
+ * Validation Error
12179
+ */
12180
+ 422: HttpValidationError;
12181
+ };
12182
+
12183
+ export type CreateStructureError = CreateStructureErrors[keyof CreateStructureErrors];
12184
+
12185
+ export type CreateStructureResponses = {
12186
+ /**
12187
+ * Successful Response
12188
+ */
12189
+ 201: StructureResponse;
12190
+ };
12191
+
12192
+ export type CreateStructureResponse = CreateStructureResponses[keyof CreateStructureResponses];
12193
+
12194
+ export type ListMappingsData = {
12195
+ body?: never;
12196
+ path: {
12197
+ /**
12198
+ * Graph Id
12199
+ */
12200
+ graph_id: string;
12201
+ };
12202
+ query?: never;
12203
+ url: '/v1/ledger/{graph_id}/mappings';
12204
+ };
12205
+
12206
+ export type ListMappingsErrors = {
12207
+ /**
12208
+ * Validation Error
12209
+ */
12210
+ 422: HttpValidationError;
12211
+ };
12212
+
12213
+ export type ListMappingsError = ListMappingsErrors[keyof ListMappingsErrors];
12214
+
12215
+ export type ListMappingsResponses = {
12216
+ /**
12217
+ * Successful Response
12218
+ */
12219
+ 200: StructureListResponse;
12220
+ };
12221
+
12222
+ export type ListMappingsResponse = ListMappingsResponses[keyof ListMappingsResponses];
12223
+
12224
+ export type GetMappingDetailData = {
12225
+ body?: never;
12226
+ path: {
12227
+ /**
12228
+ * Graph Id
12229
+ */
12230
+ graph_id: string;
12231
+ /**
12232
+ * Mapping Id
12233
+ */
12234
+ mapping_id: string;
12235
+ };
12236
+ query?: never;
12237
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}';
12238
+ };
12239
+
12240
+ export type GetMappingDetailErrors = {
12241
+ /**
12242
+ * Validation Error
12243
+ */
12244
+ 422: HttpValidationError;
12245
+ };
12246
+
12247
+ export type GetMappingDetailError = GetMappingDetailErrors[keyof GetMappingDetailErrors];
12248
+
12249
+ export type GetMappingDetailResponses = {
12250
+ /**
12251
+ * Successful Response
12252
+ */
12253
+ 200: MappingDetailResponse;
12254
+ };
12255
+
12256
+ export type GetMappingDetailResponse = GetMappingDetailResponses[keyof GetMappingDetailResponses];
12257
+
12258
+ export type CreateMappingAssociationData = {
12259
+ body: CreateAssociationRequest;
12260
+ path: {
12261
+ /**
12262
+ * Graph Id
12263
+ */
12264
+ graph_id: string;
12265
+ /**
12266
+ * Mapping Id
12267
+ */
12268
+ mapping_id: string;
12269
+ };
12270
+ query?: never;
12271
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/associations';
12272
+ };
12273
+
12274
+ export type CreateMappingAssociationErrors = {
12275
+ /**
12276
+ * Validation Error
12277
+ */
12278
+ 422: HttpValidationError;
12279
+ };
12280
+
12281
+ export type CreateMappingAssociationError = CreateMappingAssociationErrors[keyof CreateMappingAssociationErrors];
12282
+
12283
+ export type CreateMappingAssociationResponses = {
12284
+ /**
12285
+ * Successful Response
12286
+ */
12287
+ 201: ElementAssociationResponse;
12288
+ };
12289
+
12290
+ export type CreateMappingAssociationResponse = CreateMappingAssociationResponses[keyof CreateMappingAssociationResponses];
12291
+
12292
+ export type DeleteMappingAssociationData = {
12293
+ body?: never;
12294
+ path: {
12295
+ /**
12296
+ * Graph Id
12297
+ */
12298
+ graph_id: string;
12299
+ /**
12300
+ * Mapping Id
12301
+ */
12302
+ mapping_id: string;
12303
+ /**
12304
+ * Association Id
12305
+ */
12306
+ association_id: string;
12307
+ };
12308
+ query?: never;
12309
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/associations/{association_id}';
12310
+ };
12311
+
12312
+ export type DeleteMappingAssociationErrors = {
12313
+ /**
12314
+ * Validation Error
12315
+ */
12316
+ 422: HttpValidationError;
12317
+ };
12318
+
12319
+ export type DeleteMappingAssociationError = DeleteMappingAssociationErrors[keyof DeleteMappingAssociationErrors];
12320
+
12321
+ export type DeleteMappingAssociationResponses = {
12322
+ /**
12323
+ * Successful Response
12324
+ */
12325
+ 204: void;
12326
+ };
12327
+
12328
+ export type DeleteMappingAssociationResponse = DeleteMappingAssociationResponses[keyof DeleteMappingAssociationResponses];
12329
+
12330
+ export type GetMappingCoverageData = {
12331
+ body?: never;
12332
+ path: {
12333
+ /**
12334
+ * Graph Id
12335
+ */
12336
+ graph_id: string;
12337
+ /**
12338
+ * Mapping Id
12339
+ */
12340
+ mapping_id: string;
12341
+ };
12342
+ query?: never;
12343
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/coverage';
12344
+ };
12345
+
12346
+ export type GetMappingCoverageErrors = {
12347
+ /**
12348
+ * Validation Error
12349
+ */
12350
+ 422: HttpValidationError;
12351
+ };
12352
+
12353
+ export type GetMappingCoverageError = GetMappingCoverageErrors[keyof GetMappingCoverageErrors];
12354
+
12355
+ export type GetMappingCoverageResponses = {
12356
+ /**
12357
+ * Successful Response
12358
+ */
12359
+ 200: MappingCoverageResponse;
12360
+ };
12361
+
12362
+ export type GetMappingCoverageResponse = GetMappingCoverageResponses[keyof GetMappingCoverageResponses];
12363
+
12364
+ export type GetMappedTrialBalanceData = {
12365
+ body?: never;
12366
+ path: {
12367
+ /**
12368
+ * Graph Id
12369
+ */
12370
+ graph_id: string;
12371
+ };
12372
+ query: {
12373
+ /**
12374
+ * Mapping Id
12375
+ *
12376
+ * Mapping structure ID
12377
+ */
12378
+ mapping_id: string;
12379
+ /**
12380
+ * Start Date
12381
+ */
12382
+ start_date?: string | null;
12383
+ /**
12384
+ * End Date
12385
+ */
12386
+ end_date?: string | null;
12387
+ };
12388
+ url: '/v1/ledger/{graph_id}/trial-balance/mapped';
12389
+ };
12390
+
12391
+ export type GetMappedTrialBalanceErrors = {
12392
+ /**
12393
+ * Validation Error
12394
+ */
12395
+ 422: HttpValidationError;
12396
+ };
12397
+
12398
+ export type GetMappedTrialBalanceError = GetMappedTrialBalanceErrors[keyof GetMappedTrialBalanceErrors];
12399
+
12400
+ export type GetMappedTrialBalanceResponses = {
12401
+ /**
12402
+ * Successful Response
12403
+ */
12404
+ 200: unknown;
12405
+ };
12406
+
12407
+ export type AutoMapElementsData = {
12408
+ body?: never;
12409
+ path: {
12410
+ /**
12411
+ * Graph Id
12412
+ */
12413
+ graph_id: string;
12414
+ /**
12415
+ * Mapping Id
12416
+ *
12417
+ * Mapping structure ID
12418
+ */
12419
+ mapping_id: string;
12420
+ };
12421
+ query?: never;
12422
+ url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/auto-map';
12423
+ };
12424
+
12425
+ export type AutoMapElementsErrors = {
12426
+ /**
12427
+ * Validation Error
12428
+ */
12429
+ 422: HttpValidationError;
12430
+ };
12431
+
12432
+ export type AutoMapElementsError = AutoMapElementsErrors[keyof AutoMapElementsErrors];
12433
+
12434
+ export type AutoMapElementsResponses = {
12435
+ /**
12436
+ * Successful Response
12437
+ */
12438
+ 202: unknown;
12439
+ };
12440
+
11443
12441
  export type ListLedgerTransactionsData = {
11444
12442
  body?: never;
11445
12443
  path: {