@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/extensions/DocumentClient.d.ts +77 -0
- package/extensions/DocumentClient.js +136 -0
- package/extensions/DocumentClient.ts +232 -0
- package/extensions/index.d.ts +5 -1
- package/extensions/index.js +13 -1
- package/extensions/index.ts +14 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +17 -3
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +86 -3
- package/sdk/sdk.gen.js +168 -3
- package/sdk/sdk.gen.ts +168 -3
- package/sdk/types.gen.d.ts +927 -11
- package/sdk/types.gen.ts +1014 -16
- package/sdk-extensions/DocumentClient.d.ts +77 -0
- package/sdk-extensions/DocumentClient.js +136 -0
- package/sdk-extensions/DocumentClient.ts +232 -0
- package/sdk-extensions/index.d.ts +5 -1
- package/sdk-extensions/index.js +13 -1
- package/sdk-extensions/index.ts +14 -0
- package/sdk.gen.d.ts +86 -3
- package/sdk.gen.js +168 -3
- package/sdk.gen.ts +168 -3
- package/types.gen.d.ts +927 -11
- package/types.gen.ts +1014 -16
package/types.gen.d.ts
CHANGED
|
@@ -115,7 +115,7 @@ export type AccountResponse = {
|
|
|
115
115
|
/**
|
|
116
116
|
* Code
|
|
117
117
|
*/
|
|
118
|
-
code
|
|
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
|
|
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
|
*
|
|
@@ -1508,6 +1541,27 @@ export type CreateRepositorySubscriptionRequest = {
|
|
|
1508
1541
|
*/
|
|
1509
1542
|
plan_name: string;
|
|
1510
1543
|
};
|
|
1544
|
+
/**
|
|
1545
|
+
* CreateStructureRequest
|
|
1546
|
+
*/
|
|
1547
|
+
export type CreateStructureRequest = {
|
|
1548
|
+
/**
|
|
1549
|
+
* Name
|
|
1550
|
+
*/
|
|
1551
|
+
name: string;
|
|
1552
|
+
/**
|
|
1553
|
+
* Description
|
|
1554
|
+
*/
|
|
1555
|
+
description?: string | null;
|
|
1556
|
+
/**
|
|
1557
|
+
* Structure Type
|
|
1558
|
+
*/
|
|
1559
|
+
structure_type: 'chart_of_accounts' | 'income_statement' | 'balance_sheet' | 'cash_flow_statement' | 'equity_statement' | 'coa_mapping' | 'custom';
|
|
1560
|
+
/**
|
|
1561
|
+
* Taxonomy Id
|
|
1562
|
+
*/
|
|
1563
|
+
taxonomy_id: string;
|
|
1564
|
+
};
|
|
1511
1565
|
/**
|
|
1512
1566
|
* CreateSubgraphRequest
|
|
1513
1567
|
*
|
|
@@ -1557,6 +1611,35 @@ export type CreateSubgraphRequest = {
|
|
|
1557
1611
|
*/
|
|
1558
1612
|
fork_parent?: boolean;
|
|
1559
1613
|
};
|
|
1614
|
+
/**
|
|
1615
|
+
* CreateTaxonomyRequest
|
|
1616
|
+
*/
|
|
1617
|
+
export type CreateTaxonomyRequest = {
|
|
1618
|
+
/**
|
|
1619
|
+
* Name
|
|
1620
|
+
*/
|
|
1621
|
+
name: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* Description
|
|
1624
|
+
*/
|
|
1625
|
+
description?: string | null;
|
|
1626
|
+
/**
|
|
1627
|
+
* Taxonomy Type
|
|
1628
|
+
*/
|
|
1629
|
+
taxonomy_type: 'chart_of_accounts' | 'reporting' | 'mapping';
|
|
1630
|
+
/**
|
|
1631
|
+
* Version
|
|
1632
|
+
*/
|
|
1633
|
+
version?: string | null;
|
|
1634
|
+
/**
|
|
1635
|
+
* Source Taxonomy Id
|
|
1636
|
+
*/
|
|
1637
|
+
source_taxonomy_id?: string | null;
|
|
1638
|
+
/**
|
|
1639
|
+
* Target Taxonomy Id
|
|
1640
|
+
*/
|
|
1641
|
+
target_taxonomy_id?: string | null;
|
|
1642
|
+
};
|
|
1560
1643
|
/**
|
|
1561
1644
|
* CreateViewRequest
|
|
1562
1645
|
*/
|
|
@@ -2357,6 +2440,160 @@ export type DownloadQuota = {
|
|
|
2357
2440
|
*/
|
|
2358
2441
|
resets_at: string;
|
|
2359
2442
|
};
|
|
2443
|
+
/**
|
|
2444
|
+
* ElementAssociationResponse
|
|
2445
|
+
*/
|
|
2446
|
+
export type ElementAssociationResponse = {
|
|
2447
|
+
/**
|
|
2448
|
+
* Id
|
|
2449
|
+
*/
|
|
2450
|
+
id: string;
|
|
2451
|
+
/**
|
|
2452
|
+
* Structure Id
|
|
2453
|
+
*/
|
|
2454
|
+
structure_id: string;
|
|
2455
|
+
/**
|
|
2456
|
+
* From Element Id
|
|
2457
|
+
*/
|
|
2458
|
+
from_element_id: string;
|
|
2459
|
+
/**
|
|
2460
|
+
* From Element Name
|
|
2461
|
+
*/
|
|
2462
|
+
from_element_name?: string | null;
|
|
2463
|
+
/**
|
|
2464
|
+
* From Element Qname
|
|
2465
|
+
*/
|
|
2466
|
+
from_element_qname?: string | null;
|
|
2467
|
+
/**
|
|
2468
|
+
* To Element Id
|
|
2469
|
+
*/
|
|
2470
|
+
to_element_id: string;
|
|
2471
|
+
/**
|
|
2472
|
+
* To Element Name
|
|
2473
|
+
*/
|
|
2474
|
+
to_element_name?: string | null;
|
|
2475
|
+
/**
|
|
2476
|
+
* To Element Qname
|
|
2477
|
+
*/
|
|
2478
|
+
to_element_qname?: string | null;
|
|
2479
|
+
/**
|
|
2480
|
+
* Association Type
|
|
2481
|
+
*/
|
|
2482
|
+
association_type: string;
|
|
2483
|
+
/**
|
|
2484
|
+
* Order Value
|
|
2485
|
+
*/
|
|
2486
|
+
order_value?: number | null;
|
|
2487
|
+
/**
|
|
2488
|
+
* Weight
|
|
2489
|
+
*/
|
|
2490
|
+
weight?: number | null;
|
|
2491
|
+
/**
|
|
2492
|
+
* Confidence
|
|
2493
|
+
*/
|
|
2494
|
+
confidence?: number | null;
|
|
2495
|
+
/**
|
|
2496
|
+
* Suggested By
|
|
2497
|
+
*/
|
|
2498
|
+
suggested_by?: string | null;
|
|
2499
|
+
/**
|
|
2500
|
+
* Approved By
|
|
2501
|
+
*/
|
|
2502
|
+
approved_by?: string | null;
|
|
2503
|
+
};
|
|
2504
|
+
/**
|
|
2505
|
+
* ElementListResponse
|
|
2506
|
+
*/
|
|
2507
|
+
export type ElementListResponse = {
|
|
2508
|
+
/**
|
|
2509
|
+
* Elements
|
|
2510
|
+
*/
|
|
2511
|
+
elements: Array<ElementResponse>;
|
|
2512
|
+
pagination: PaginationInfo;
|
|
2513
|
+
};
|
|
2514
|
+
/**
|
|
2515
|
+
* ElementResponse
|
|
2516
|
+
*
|
|
2517
|
+
* Element with taxonomy context — extends AccountResponse.
|
|
2518
|
+
*/
|
|
2519
|
+
export type ElementResponse = {
|
|
2520
|
+
/**
|
|
2521
|
+
* Id
|
|
2522
|
+
*/
|
|
2523
|
+
id: string;
|
|
2524
|
+
/**
|
|
2525
|
+
* Code
|
|
2526
|
+
*/
|
|
2527
|
+
code?: string | null;
|
|
2528
|
+
/**
|
|
2529
|
+
* Name
|
|
2530
|
+
*/
|
|
2531
|
+
name: string;
|
|
2532
|
+
/**
|
|
2533
|
+
* Description
|
|
2534
|
+
*/
|
|
2535
|
+
description?: string | null;
|
|
2536
|
+
/**
|
|
2537
|
+
* Qname
|
|
2538
|
+
*/
|
|
2539
|
+
qname?: string | null;
|
|
2540
|
+
/**
|
|
2541
|
+
* Namespace
|
|
2542
|
+
*/
|
|
2543
|
+
namespace?: string | null;
|
|
2544
|
+
/**
|
|
2545
|
+
* Classification
|
|
2546
|
+
*/
|
|
2547
|
+
classification: string;
|
|
2548
|
+
/**
|
|
2549
|
+
* Sub Classification
|
|
2550
|
+
*/
|
|
2551
|
+
sub_classification?: string | null;
|
|
2552
|
+
/**
|
|
2553
|
+
* Balance Type
|
|
2554
|
+
*/
|
|
2555
|
+
balance_type: string;
|
|
2556
|
+
/**
|
|
2557
|
+
* Period Type
|
|
2558
|
+
*/
|
|
2559
|
+
period_type: string;
|
|
2560
|
+
/**
|
|
2561
|
+
* Is Abstract
|
|
2562
|
+
*/
|
|
2563
|
+
is_abstract: boolean;
|
|
2564
|
+
/**
|
|
2565
|
+
* Element Type
|
|
2566
|
+
*/
|
|
2567
|
+
element_type: string;
|
|
2568
|
+
/**
|
|
2569
|
+
* Source
|
|
2570
|
+
*/
|
|
2571
|
+
source: string;
|
|
2572
|
+
/**
|
|
2573
|
+
* Taxonomy Id
|
|
2574
|
+
*/
|
|
2575
|
+
taxonomy_id?: string | null;
|
|
2576
|
+
/**
|
|
2577
|
+
* Parent Id
|
|
2578
|
+
*/
|
|
2579
|
+
parent_id?: string | null;
|
|
2580
|
+
/**
|
|
2581
|
+
* Depth
|
|
2582
|
+
*/
|
|
2583
|
+
depth: number;
|
|
2584
|
+
/**
|
|
2585
|
+
* Is Active
|
|
2586
|
+
*/
|
|
2587
|
+
is_active: boolean;
|
|
2588
|
+
/**
|
|
2589
|
+
* External Id
|
|
2590
|
+
*/
|
|
2591
|
+
external_id?: string | null;
|
|
2592
|
+
/**
|
|
2593
|
+
* External Source
|
|
2594
|
+
*/
|
|
2595
|
+
external_source?: string | null;
|
|
2596
|
+
};
|
|
2360
2597
|
/**
|
|
2361
2598
|
* EmailVerificationRequest
|
|
2362
2599
|
*
|
|
@@ -3165,7 +3402,7 @@ export type GraphSubscriptionTier = {
|
|
|
3165
3402
|
/**
|
|
3166
3403
|
* Backend
|
|
3167
3404
|
*
|
|
3168
|
-
* Database backend
|
|
3405
|
+
* Database backend identifier
|
|
3169
3406
|
*/
|
|
3170
3407
|
backend: string;
|
|
3171
3408
|
/**
|
|
@@ -3305,7 +3542,7 @@ export type GraphTierInfo = {
|
|
|
3305
3542
|
/**
|
|
3306
3543
|
* Backend
|
|
3307
3544
|
*
|
|
3308
|
-
* Database backend
|
|
3545
|
+
* Database backend identifier
|
|
3309
3546
|
*/
|
|
3310
3547
|
backend: string;
|
|
3311
3548
|
/**
|
|
@@ -4118,7 +4355,7 @@ export type ListSubgraphsResponse = {
|
|
|
4118
4355
|
/**
|
|
4119
4356
|
* Subgraphs Enabled
|
|
4120
4357
|
*
|
|
4121
|
-
* Whether subgraphs are enabled for this tier (requires LadybugDB Large/XLarge
|
|
4358
|
+
* Whether subgraphs are enabled for this tier (requires LadybugDB Large/XLarge)
|
|
4122
4359
|
*/
|
|
4123
4360
|
subgraphs_enabled: boolean;
|
|
4124
4361
|
/**
|
|
@@ -4236,6 +4473,76 @@ export type McpToolsResponse = {
|
|
|
4236
4473
|
[key: string]: unknown;
|
|
4237
4474
|
}>;
|
|
4238
4475
|
};
|
|
4476
|
+
/**
|
|
4477
|
+
* MappingCoverageResponse
|
|
4478
|
+
*
|
|
4479
|
+
* Coverage stats for a mapping.
|
|
4480
|
+
*/
|
|
4481
|
+
export type MappingCoverageResponse = {
|
|
4482
|
+
/**
|
|
4483
|
+
* Mapping Id
|
|
4484
|
+
*/
|
|
4485
|
+
mapping_id: string;
|
|
4486
|
+
/**
|
|
4487
|
+
* Total Coa Elements
|
|
4488
|
+
*/
|
|
4489
|
+
total_coa_elements: number;
|
|
4490
|
+
/**
|
|
4491
|
+
* Mapped Count
|
|
4492
|
+
*/
|
|
4493
|
+
mapped_count: number;
|
|
4494
|
+
/**
|
|
4495
|
+
* Unmapped Count
|
|
4496
|
+
*/
|
|
4497
|
+
unmapped_count: number;
|
|
4498
|
+
/**
|
|
4499
|
+
* Coverage Percent
|
|
4500
|
+
*/
|
|
4501
|
+
coverage_percent: number;
|
|
4502
|
+
/**
|
|
4503
|
+
* High Confidence
|
|
4504
|
+
*/
|
|
4505
|
+
high_confidence?: number;
|
|
4506
|
+
/**
|
|
4507
|
+
* Medium Confidence
|
|
4508
|
+
*/
|
|
4509
|
+
medium_confidence?: number;
|
|
4510
|
+
/**
|
|
4511
|
+
* Low Confidence
|
|
4512
|
+
*/
|
|
4513
|
+
low_confidence?: number;
|
|
4514
|
+
};
|
|
4515
|
+
/**
|
|
4516
|
+
* MappingDetailResponse
|
|
4517
|
+
*
|
|
4518
|
+
* A mapping structure with all its associations.
|
|
4519
|
+
*/
|
|
4520
|
+
export type MappingDetailResponse = {
|
|
4521
|
+
/**
|
|
4522
|
+
* Id
|
|
4523
|
+
*/
|
|
4524
|
+
id: string;
|
|
4525
|
+
/**
|
|
4526
|
+
* Name
|
|
4527
|
+
*/
|
|
4528
|
+
name: string;
|
|
4529
|
+
/**
|
|
4530
|
+
* Structure Type
|
|
4531
|
+
*/
|
|
4532
|
+
structure_type: string;
|
|
4533
|
+
/**
|
|
4534
|
+
* Taxonomy Id
|
|
4535
|
+
*/
|
|
4536
|
+
taxonomy_id: string;
|
|
4537
|
+
/**
|
|
4538
|
+
* Associations
|
|
4539
|
+
*/
|
|
4540
|
+
associations: Array<ElementAssociationResponse>;
|
|
4541
|
+
/**
|
|
4542
|
+
* Total Associations
|
|
4543
|
+
*/
|
|
4544
|
+
total_associations: number;
|
|
4545
|
+
};
|
|
4239
4546
|
/**
|
|
4240
4547
|
* MaterializeRequest
|
|
4241
4548
|
*/
|
|
@@ -5867,6 +6174,44 @@ export type StorageSummary = {
|
|
|
5867
6174
|
*/
|
|
5868
6175
|
measurement_count: number;
|
|
5869
6176
|
};
|
|
6177
|
+
/**
|
|
6178
|
+
* StructureListResponse
|
|
6179
|
+
*/
|
|
6180
|
+
export type StructureListResponse = {
|
|
6181
|
+
/**
|
|
6182
|
+
* Structures
|
|
6183
|
+
*/
|
|
6184
|
+
structures: Array<StructureResponse>;
|
|
6185
|
+
};
|
|
6186
|
+
/**
|
|
6187
|
+
* StructureResponse
|
|
6188
|
+
*/
|
|
6189
|
+
export type StructureResponse = {
|
|
6190
|
+
/**
|
|
6191
|
+
* Id
|
|
6192
|
+
*/
|
|
6193
|
+
id: string;
|
|
6194
|
+
/**
|
|
6195
|
+
* Name
|
|
6196
|
+
*/
|
|
6197
|
+
name: string;
|
|
6198
|
+
/**
|
|
6199
|
+
* Description
|
|
6200
|
+
*/
|
|
6201
|
+
description?: string | null;
|
|
6202
|
+
/**
|
|
6203
|
+
* Structure Type
|
|
6204
|
+
*/
|
|
6205
|
+
structure_type: string;
|
|
6206
|
+
/**
|
|
6207
|
+
* Taxonomy Id
|
|
6208
|
+
*/
|
|
6209
|
+
taxonomy_id: string;
|
|
6210
|
+
/**
|
|
6211
|
+
* Is Active
|
|
6212
|
+
*/
|
|
6213
|
+
is_active: boolean;
|
|
6214
|
+
};
|
|
5870
6215
|
/**
|
|
5871
6216
|
* SubgraphQuotaResponse
|
|
5872
6217
|
*
|
|
@@ -6099,6 +6444,29 @@ export type SuccessResponse = {
|
|
|
6099
6444
|
[key: string]: unknown;
|
|
6100
6445
|
} | null;
|
|
6101
6446
|
};
|
|
6447
|
+
/**
|
|
6448
|
+
* SuggestedTarget
|
|
6449
|
+
*
|
|
6450
|
+
* A suggested mapping target from the reporting taxonomy.
|
|
6451
|
+
*/
|
|
6452
|
+
export type SuggestedTarget = {
|
|
6453
|
+
/**
|
|
6454
|
+
* Element Id
|
|
6455
|
+
*/
|
|
6456
|
+
element_id: string;
|
|
6457
|
+
/**
|
|
6458
|
+
* Qname
|
|
6459
|
+
*/
|
|
6460
|
+
qname: string;
|
|
6461
|
+
/**
|
|
6462
|
+
* Name
|
|
6463
|
+
*/
|
|
6464
|
+
name: string;
|
|
6465
|
+
/**
|
|
6466
|
+
* Confidence
|
|
6467
|
+
*/
|
|
6468
|
+
confidence?: number | null;
|
|
6469
|
+
};
|
|
6102
6470
|
/**
|
|
6103
6471
|
* SyncConnectionRequest
|
|
6104
6472
|
*
|
|
@@ -6219,14 +6587,76 @@ export type TableQueryResponse = {
|
|
|
6219
6587
|
execution_time_ms: number;
|
|
6220
6588
|
};
|
|
6221
6589
|
/**
|
|
6222
|
-
*
|
|
6223
|
-
*
|
|
6224
|
-
* Capacity status for a single tier.
|
|
6590
|
+
* TaxonomyListResponse
|
|
6225
6591
|
*/
|
|
6226
|
-
export type
|
|
6592
|
+
export type TaxonomyListResponse = {
|
|
6227
6593
|
/**
|
|
6228
|
-
*
|
|
6229
|
-
|
|
6594
|
+
* Taxonomies
|
|
6595
|
+
*/
|
|
6596
|
+
taxonomies: Array<TaxonomyResponse>;
|
|
6597
|
+
};
|
|
6598
|
+
/**
|
|
6599
|
+
* TaxonomyResponse
|
|
6600
|
+
*/
|
|
6601
|
+
export type TaxonomyResponse = {
|
|
6602
|
+
/**
|
|
6603
|
+
* Id
|
|
6604
|
+
*/
|
|
6605
|
+
id: string;
|
|
6606
|
+
/**
|
|
6607
|
+
* Name
|
|
6608
|
+
*/
|
|
6609
|
+
name: string;
|
|
6610
|
+
/**
|
|
6611
|
+
* Description
|
|
6612
|
+
*/
|
|
6613
|
+
description?: string | null;
|
|
6614
|
+
/**
|
|
6615
|
+
* Taxonomy Type
|
|
6616
|
+
*/
|
|
6617
|
+
taxonomy_type: string;
|
|
6618
|
+
/**
|
|
6619
|
+
* Version
|
|
6620
|
+
*/
|
|
6621
|
+
version?: string | null;
|
|
6622
|
+
/**
|
|
6623
|
+
* Standard
|
|
6624
|
+
*/
|
|
6625
|
+
standard?: string | null;
|
|
6626
|
+
/**
|
|
6627
|
+
* Namespace Uri
|
|
6628
|
+
*/
|
|
6629
|
+
namespace_uri?: string | null;
|
|
6630
|
+
/**
|
|
6631
|
+
* Is Shared
|
|
6632
|
+
*/
|
|
6633
|
+
is_shared: boolean;
|
|
6634
|
+
/**
|
|
6635
|
+
* Is Active
|
|
6636
|
+
*/
|
|
6637
|
+
is_active: boolean;
|
|
6638
|
+
/**
|
|
6639
|
+
* Is Locked
|
|
6640
|
+
*/
|
|
6641
|
+
is_locked: boolean;
|
|
6642
|
+
/**
|
|
6643
|
+
* Source Taxonomy Id
|
|
6644
|
+
*/
|
|
6645
|
+
source_taxonomy_id?: string | null;
|
|
6646
|
+
/**
|
|
6647
|
+
* Target Taxonomy Id
|
|
6648
|
+
*/
|
|
6649
|
+
target_taxonomy_id?: string | null;
|
|
6650
|
+
};
|
|
6651
|
+
/**
|
|
6652
|
+
* TierCapacity
|
|
6653
|
+
*
|
|
6654
|
+
* Capacity status for a single tier.
|
|
6655
|
+
*/
|
|
6656
|
+
export type TierCapacity = {
|
|
6657
|
+
/**
|
|
6658
|
+
* Tier
|
|
6659
|
+
*
|
|
6230
6660
|
* Tier identifier (e.g. ladybug-standard)
|
|
6231
6661
|
*/
|
|
6232
6662
|
tier: string;
|
|
@@ -6353,6 +6783,41 @@ export type TrialBalanceRow = {
|
|
|
6353
6783
|
*/
|
|
6354
6784
|
net_balance: number;
|
|
6355
6785
|
};
|
|
6786
|
+
/**
|
|
6787
|
+
* UnmappedElementResponse
|
|
6788
|
+
*
|
|
6789
|
+
* An element not yet mapped to the reporting taxonomy.
|
|
6790
|
+
*/
|
|
6791
|
+
export type UnmappedElementResponse = {
|
|
6792
|
+
/**
|
|
6793
|
+
* Id
|
|
6794
|
+
*/
|
|
6795
|
+
id: string;
|
|
6796
|
+
/**
|
|
6797
|
+
* Code
|
|
6798
|
+
*/
|
|
6799
|
+
code?: string | null;
|
|
6800
|
+
/**
|
|
6801
|
+
* Name
|
|
6802
|
+
*/
|
|
6803
|
+
name: string;
|
|
6804
|
+
/**
|
|
6805
|
+
* Classification
|
|
6806
|
+
*/
|
|
6807
|
+
classification: string;
|
|
6808
|
+
/**
|
|
6809
|
+
* Balance Type
|
|
6810
|
+
*/
|
|
6811
|
+
balance_type: string;
|
|
6812
|
+
/**
|
|
6813
|
+
* External Source
|
|
6814
|
+
*/
|
|
6815
|
+
external_source?: string | null;
|
|
6816
|
+
/**
|
|
6817
|
+
* Suggested Targets
|
|
6818
|
+
*/
|
|
6819
|
+
suggested_targets?: Array<SuggestedTarget>;
|
|
6820
|
+
};
|
|
6356
6821
|
/**
|
|
6357
6822
|
* UpcomingInvoice
|
|
6358
6823
|
*
|
|
@@ -10694,6 +11159,457 @@ export type GetLedgerAccountTreeResponses = {
|
|
|
10694
11159
|
200: AccountTreeResponse;
|
|
10695
11160
|
};
|
|
10696
11161
|
export type GetLedgerAccountTreeResponse = GetLedgerAccountTreeResponses[keyof GetLedgerAccountTreeResponses];
|
|
11162
|
+
export type ListTaxonomiesData = {
|
|
11163
|
+
body?: never;
|
|
11164
|
+
path: {
|
|
11165
|
+
/**
|
|
11166
|
+
* Graph Id
|
|
11167
|
+
*/
|
|
11168
|
+
graph_id: string;
|
|
11169
|
+
};
|
|
11170
|
+
query?: {
|
|
11171
|
+
/**
|
|
11172
|
+
* Taxonomy Type
|
|
11173
|
+
*
|
|
11174
|
+
* Filter by type
|
|
11175
|
+
*/
|
|
11176
|
+
taxonomy_type?: string | null;
|
|
11177
|
+
};
|
|
11178
|
+
url: '/v1/ledger/{graph_id}/taxonomies';
|
|
11179
|
+
};
|
|
11180
|
+
export type ListTaxonomiesErrors = {
|
|
11181
|
+
/**
|
|
11182
|
+
* Validation Error
|
|
11183
|
+
*/
|
|
11184
|
+
422: HttpValidationError;
|
|
11185
|
+
};
|
|
11186
|
+
export type ListTaxonomiesError = ListTaxonomiesErrors[keyof ListTaxonomiesErrors];
|
|
11187
|
+
export type ListTaxonomiesResponses = {
|
|
11188
|
+
/**
|
|
11189
|
+
* Successful Response
|
|
11190
|
+
*/
|
|
11191
|
+
200: TaxonomyListResponse;
|
|
11192
|
+
};
|
|
11193
|
+
export type ListTaxonomiesResponse = ListTaxonomiesResponses[keyof ListTaxonomiesResponses];
|
|
11194
|
+
export type CreateTaxonomyData = {
|
|
11195
|
+
body: CreateTaxonomyRequest;
|
|
11196
|
+
path: {
|
|
11197
|
+
/**
|
|
11198
|
+
* Graph Id
|
|
11199
|
+
*/
|
|
11200
|
+
graph_id: string;
|
|
11201
|
+
};
|
|
11202
|
+
query?: never;
|
|
11203
|
+
url: '/v1/ledger/{graph_id}/taxonomies';
|
|
11204
|
+
};
|
|
11205
|
+
export type CreateTaxonomyErrors = {
|
|
11206
|
+
/**
|
|
11207
|
+
* Validation Error
|
|
11208
|
+
*/
|
|
11209
|
+
422: HttpValidationError;
|
|
11210
|
+
};
|
|
11211
|
+
export type CreateTaxonomyError = CreateTaxonomyErrors[keyof CreateTaxonomyErrors];
|
|
11212
|
+
export type CreateTaxonomyResponses = {
|
|
11213
|
+
/**
|
|
11214
|
+
* Successful Response
|
|
11215
|
+
*/
|
|
11216
|
+
201: TaxonomyResponse;
|
|
11217
|
+
};
|
|
11218
|
+
export type CreateTaxonomyResponse = CreateTaxonomyResponses[keyof CreateTaxonomyResponses];
|
|
11219
|
+
export type GetReportingTaxonomyData = {
|
|
11220
|
+
body?: never;
|
|
11221
|
+
path: {
|
|
11222
|
+
/**
|
|
11223
|
+
* Graph Id
|
|
11224
|
+
*/
|
|
11225
|
+
graph_id: string;
|
|
11226
|
+
};
|
|
11227
|
+
query?: never;
|
|
11228
|
+
url: '/v1/ledger/{graph_id}/taxonomies/reporting';
|
|
11229
|
+
};
|
|
11230
|
+
export type GetReportingTaxonomyErrors = {
|
|
11231
|
+
/**
|
|
11232
|
+
* Validation Error
|
|
11233
|
+
*/
|
|
11234
|
+
422: HttpValidationError;
|
|
11235
|
+
};
|
|
11236
|
+
export type GetReportingTaxonomyError = GetReportingTaxonomyErrors[keyof GetReportingTaxonomyErrors];
|
|
11237
|
+
export type GetReportingTaxonomyResponses = {
|
|
11238
|
+
/**
|
|
11239
|
+
* Successful Response
|
|
11240
|
+
*/
|
|
11241
|
+
200: TaxonomyResponse;
|
|
11242
|
+
};
|
|
11243
|
+
export type GetReportingTaxonomyResponse = GetReportingTaxonomyResponses[keyof GetReportingTaxonomyResponses];
|
|
11244
|
+
export type ListElementsData = {
|
|
11245
|
+
body?: never;
|
|
11246
|
+
path: {
|
|
11247
|
+
/**
|
|
11248
|
+
* Graph Id
|
|
11249
|
+
*/
|
|
11250
|
+
graph_id: string;
|
|
11251
|
+
};
|
|
11252
|
+
query?: {
|
|
11253
|
+
/**
|
|
11254
|
+
* Taxonomy Id
|
|
11255
|
+
*
|
|
11256
|
+
* Filter by taxonomy
|
|
11257
|
+
*/
|
|
11258
|
+
taxonomy_id?: string | null;
|
|
11259
|
+
/**
|
|
11260
|
+
* Source
|
|
11261
|
+
*
|
|
11262
|
+
* Filter by source
|
|
11263
|
+
*/
|
|
11264
|
+
source?: string | null;
|
|
11265
|
+
/**
|
|
11266
|
+
* Classification
|
|
11267
|
+
*
|
|
11268
|
+
* Filter by classification
|
|
11269
|
+
*/
|
|
11270
|
+
classification?: string | null;
|
|
11271
|
+
/**
|
|
11272
|
+
* Is Abstract
|
|
11273
|
+
*
|
|
11274
|
+
* Filter by abstract
|
|
11275
|
+
*/
|
|
11276
|
+
is_abstract?: boolean | null;
|
|
11277
|
+
/**
|
|
11278
|
+
* Limit
|
|
11279
|
+
*/
|
|
11280
|
+
limit?: number;
|
|
11281
|
+
/**
|
|
11282
|
+
* Offset
|
|
11283
|
+
*/
|
|
11284
|
+
offset?: number;
|
|
11285
|
+
};
|
|
11286
|
+
url: '/v1/ledger/{graph_id}/elements';
|
|
11287
|
+
};
|
|
11288
|
+
export type ListElementsErrors = {
|
|
11289
|
+
/**
|
|
11290
|
+
* Validation Error
|
|
11291
|
+
*/
|
|
11292
|
+
422: HttpValidationError;
|
|
11293
|
+
};
|
|
11294
|
+
export type ListElementsError = ListElementsErrors[keyof ListElementsErrors];
|
|
11295
|
+
export type ListElementsResponses = {
|
|
11296
|
+
/**
|
|
11297
|
+
* Successful Response
|
|
11298
|
+
*/
|
|
11299
|
+
200: ElementListResponse;
|
|
11300
|
+
};
|
|
11301
|
+
export type ListElementsResponse = ListElementsResponses[keyof ListElementsResponses];
|
|
11302
|
+
export type ListUnmappedElementsData = {
|
|
11303
|
+
body?: never;
|
|
11304
|
+
path: {
|
|
11305
|
+
/**
|
|
11306
|
+
* Graph Id
|
|
11307
|
+
*/
|
|
11308
|
+
graph_id: string;
|
|
11309
|
+
};
|
|
11310
|
+
query?: {
|
|
11311
|
+
/**
|
|
11312
|
+
* Mapping Id
|
|
11313
|
+
*
|
|
11314
|
+
* Mapping structure to check against
|
|
11315
|
+
*/
|
|
11316
|
+
mapping_id?: string | null;
|
|
11317
|
+
};
|
|
11318
|
+
url: '/v1/ledger/{graph_id}/elements/unmapped';
|
|
11319
|
+
};
|
|
11320
|
+
export type ListUnmappedElementsErrors = {
|
|
11321
|
+
/**
|
|
11322
|
+
* Validation Error
|
|
11323
|
+
*/
|
|
11324
|
+
422: HttpValidationError;
|
|
11325
|
+
};
|
|
11326
|
+
export type ListUnmappedElementsError = ListUnmappedElementsErrors[keyof ListUnmappedElementsErrors];
|
|
11327
|
+
export type ListUnmappedElementsResponses = {
|
|
11328
|
+
/**
|
|
11329
|
+
* Response Listunmappedelements
|
|
11330
|
+
*
|
|
11331
|
+
* Successful Response
|
|
11332
|
+
*/
|
|
11333
|
+
200: Array<UnmappedElementResponse>;
|
|
11334
|
+
};
|
|
11335
|
+
export type ListUnmappedElementsResponse = ListUnmappedElementsResponses[keyof ListUnmappedElementsResponses];
|
|
11336
|
+
export type ListStructuresData = {
|
|
11337
|
+
body?: never;
|
|
11338
|
+
path: {
|
|
11339
|
+
/**
|
|
11340
|
+
* Graph Id
|
|
11341
|
+
*/
|
|
11342
|
+
graph_id: string;
|
|
11343
|
+
};
|
|
11344
|
+
query?: {
|
|
11345
|
+
/**
|
|
11346
|
+
* Taxonomy Id
|
|
11347
|
+
*
|
|
11348
|
+
* Filter by taxonomy
|
|
11349
|
+
*/
|
|
11350
|
+
taxonomy_id?: string | null;
|
|
11351
|
+
/**
|
|
11352
|
+
* Structure Type
|
|
11353
|
+
*
|
|
11354
|
+
* Filter by type
|
|
11355
|
+
*/
|
|
11356
|
+
structure_type?: string | null;
|
|
11357
|
+
};
|
|
11358
|
+
url: '/v1/ledger/{graph_id}/structures';
|
|
11359
|
+
};
|
|
11360
|
+
export type ListStructuresErrors = {
|
|
11361
|
+
/**
|
|
11362
|
+
* Validation Error
|
|
11363
|
+
*/
|
|
11364
|
+
422: HttpValidationError;
|
|
11365
|
+
};
|
|
11366
|
+
export type ListStructuresError = ListStructuresErrors[keyof ListStructuresErrors];
|
|
11367
|
+
export type ListStructuresResponses = {
|
|
11368
|
+
/**
|
|
11369
|
+
* Successful Response
|
|
11370
|
+
*/
|
|
11371
|
+
200: StructureListResponse;
|
|
11372
|
+
};
|
|
11373
|
+
export type ListStructuresResponse = ListStructuresResponses[keyof ListStructuresResponses];
|
|
11374
|
+
export type CreateStructureData = {
|
|
11375
|
+
body: CreateStructureRequest;
|
|
11376
|
+
path: {
|
|
11377
|
+
/**
|
|
11378
|
+
* Graph Id
|
|
11379
|
+
*/
|
|
11380
|
+
graph_id: string;
|
|
11381
|
+
};
|
|
11382
|
+
query?: never;
|
|
11383
|
+
url: '/v1/ledger/{graph_id}/structures';
|
|
11384
|
+
};
|
|
11385
|
+
export type CreateStructureErrors = {
|
|
11386
|
+
/**
|
|
11387
|
+
* Validation Error
|
|
11388
|
+
*/
|
|
11389
|
+
422: HttpValidationError;
|
|
11390
|
+
};
|
|
11391
|
+
export type CreateStructureError = CreateStructureErrors[keyof CreateStructureErrors];
|
|
11392
|
+
export type CreateStructureResponses = {
|
|
11393
|
+
/**
|
|
11394
|
+
* Successful Response
|
|
11395
|
+
*/
|
|
11396
|
+
201: StructureResponse;
|
|
11397
|
+
};
|
|
11398
|
+
export type CreateStructureResponse = CreateStructureResponses[keyof CreateStructureResponses];
|
|
11399
|
+
export type ListMappingsData = {
|
|
11400
|
+
body?: never;
|
|
11401
|
+
path: {
|
|
11402
|
+
/**
|
|
11403
|
+
* Graph Id
|
|
11404
|
+
*/
|
|
11405
|
+
graph_id: string;
|
|
11406
|
+
};
|
|
11407
|
+
query?: never;
|
|
11408
|
+
url: '/v1/ledger/{graph_id}/mappings';
|
|
11409
|
+
};
|
|
11410
|
+
export type ListMappingsErrors = {
|
|
11411
|
+
/**
|
|
11412
|
+
* Validation Error
|
|
11413
|
+
*/
|
|
11414
|
+
422: HttpValidationError;
|
|
11415
|
+
};
|
|
11416
|
+
export type ListMappingsError = ListMappingsErrors[keyof ListMappingsErrors];
|
|
11417
|
+
export type ListMappingsResponses = {
|
|
11418
|
+
/**
|
|
11419
|
+
* Successful Response
|
|
11420
|
+
*/
|
|
11421
|
+
200: StructureListResponse;
|
|
11422
|
+
};
|
|
11423
|
+
export type ListMappingsResponse = ListMappingsResponses[keyof ListMappingsResponses];
|
|
11424
|
+
export type GetMappingDetailData = {
|
|
11425
|
+
body?: never;
|
|
11426
|
+
path: {
|
|
11427
|
+
/**
|
|
11428
|
+
* Graph Id
|
|
11429
|
+
*/
|
|
11430
|
+
graph_id: string;
|
|
11431
|
+
/**
|
|
11432
|
+
* Mapping Id
|
|
11433
|
+
*/
|
|
11434
|
+
mapping_id: string;
|
|
11435
|
+
};
|
|
11436
|
+
query?: never;
|
|
11437
|
+
url: '/v1/ledger/{graph_id}/mappings/{mapping_id}';
|
|
11438
|
+
};
|
|
11439
|
+
export type GetMappingDetailErrors = {
|
|
11440
|
+
/**
|
|
11441
|
+
* Validation Error
|
|
11442
|
+
*/
|
|
11443
|
+
422: HttpValidationError;
|
|
11444
|
+
};
|
|
11445
|
+
export type GetMappingDetailError = GetMappingDetailErrors[keyof GetMappingDetailErrors];
|
|
11446
|
+
export type GetMappingDetailResponses = {
|
|
11447
|
+
/**
|
|
11448
|
+
* Successful Response
|
|
11449
|
+
*/
|
|
11450
|
+
200: MappingDetailResponse;
|
|
11451
|
+
};
|
|
11452
|
+
export type GetMappingDetailResponse = GetMappingDetailResponses[keyof GetMappingDetailResponses];
|
|
11453
|
+
export type CreateMappingAssociationData = {
|
|
11454
|
+
body: CreateAssociationRequest;
|
|
11455
|
+
path: {
|
|
11456
|
+
/**
|
|
11457
|
+
* Graph Id
|
|
11458
|
+
*/
|
|
11459
|
+
graph_id: string;
|
|
11460
|
+
/**
|
|
11461
|
+
* Mapping Id
|
|
11462
|
+
*/
|
|
11463
|
+
mapping_id: string;
|
|
11464
|
+
};
|
|
11465
|
+
query?: never;
|
|
11466
|
+
url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/associations';
|
|
11467
|
+
};
|
|
11468
|
+
export type CreateMappingAssociationErrors = {
|
|
11469
|
+
/**
|
|
11470
|
+
* Validation Error
|
|
11471
|
+
*/
|
|
11472
|
+
422: HttpValidationError;
|
|
11473
|
+
};
|
|
11474
|
+
export type CreateMappingAssociationError = CreateMappingAssociationErrors[keyof CreateMappingAssociationErrors];
|
|
11475
|
+
export type CreateMappingAssociationResponses = {
|
|
11476
|
+
/**
|
|
11477
|
+
* Successful Response
|
|
11478
|
+
*/
|
|
11479
|
+
201: ElementAssociationResponse;
|
|
11480
|
+
};
|
|
11481
|
+
export type CreateMappingAssociationResponse = CreateMappingAssociationResponses[keyof CreateMappingAssociationResponses];
|
|
11482
|
+
export type DeleteMappingAssociationData = {
|
|
11483
|
+
body?: never;
|
|
11484
|
+
path: {
|
|
11485
|
+
/**
|
|
11486
|
+
* Graph Id
|
|
11487
|
+
*/
|
|
11488
|
+
graph_id: string;
|
|
11489
|
+
/**
|
|
11490
|
+
* Mapping Id
|
|
11491
|
+
*/
|
|
11492
|
+
mapping_id: string;
|
|
11493
|
+
/**
|
|
11494
|
+
* Association Id
|
|
11495
|
+
*/
|
|
11496
|
+
association_id: string;
|
|
11497
|
+
};
|
|
11498
|
+
query?: never;
|
|
11499
|
+
url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/associations/{association_id}';
|
|
11500
|
+
};
|
|
11501
|
+
export type DeleteMappingAssociationErrors = {
|
|
11502
|
+
/**
|
|
11503
|
+
* Validation Error
|
|
11504
|
+
*/
|
|
11505
|
+
422: HttpValidationError;
|
|
11506
|
+
};
|
|
11507
|
+
export type DeleteMappingAssociationError = DeleteMappingAssociationErrors[keyof DeleteMappingAssociationErrors];
|
|
11508
|
+
export type DeleteMappingAssociationResponses = {
|
|
11509
|
+
/**
|
|
11510
|
+
* Successful Response
|
|
11511
|
+
*/
|
|
11512
|
+
204: void;
|
|
11513
|
+
};
|
|
11514
|
+
export type DeleteMappingAssociationResponse = DeleteMappingAssociationResponses[keyof DeleteMappingAssociationResponses];
|
|
11515
|
+
export type GetMappingCoverageData = {
|
|
11516
|
+
body?: never;
|
|
11517
|
+
path: {
|
|
11518
|
+
/**
|
|
11519
|
+
* Graph Id
|
|
11520
|
+
*/
|
|
11521
|
+
graph_id: string;
|
|
11522
|
+
/**
|
|
11523
|
+
* Mapping Id
|
|
11524
|
+
*/
|
|
11525
|
+
mapping_id: string;
|
|
11526
|
+
};
|
|
11527
|
+
query?: never;
|
|
11528
|
+
url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/coverage';
|
|
11529
|
+
};
|
|
11530
|
+
export type GetMappingCoverageErrors = {
|
|
11531
|
+
/**
|
|
11532
|
+
* Validation Error
|
|
11533
|
+
*/
|
|
11534
|
+
422: HttpValidationError;
|
|
11535
|
+
};
|
|
11536
|
+
export type GetMappingCoverageError = GetMappingCoverageErrors[keyof GetMappingCoverageErrors];
|
|
11537
|
+
export type GetMappingCoverageResponses = {
|
|
11538
|
+
/**
|
|
11539
|
+
* Successful Response
|
|
11540
|
+
*/
|
|
11541
|
+
200: MappingCoverageResponse;
|
|
11542
|
+
};
|
|
11543
|
+
export type GetMappingCoverageResponse = GetMappingCoverageResponses[keyof GetMappingCoverageResponses];
|
|
11544
|
+
export type GetMappedTrialBalanceData = {
|
|
11545
|
+
body?: never;
|
|
11546
|
+
path: {
|
|
11547
|
+
/**
|
|
11548
|
+
* Graph Id
|
|
11549
|
+
*/
|
|
11550
|
+
graph_id: string;
|
|
11551
|
+
};
|
|
11552
|
+
query: {
|
|
11553
|
+
/**
|
|
11554
|
+
* Mapping Id
|
|
11555
|
+
*
|
|
11556
|
+
* Mapping structure ID
|
|
11557
|
+
*/
|
|
11558
|
+
mapping_id: string;
|
|
11559
|
+
/**
|
|
11560
|
+
* Start Date
|
|
11561
|
+
*/
|
|
11562
|
+
start_date?: string | null;
|
|
11563
|
+
/**
|
|
11564
|
+
* End Date
|
|
11565
|
+
*/
|
|
11566
|
+
end_date?: string | null;
|
|
11567
|
+
};
|
|
11568
|
+
url: '/v1/ledger/{graph_id}/trial-balance/mapped';
|
|
11569
|
+
};
|
|
11570
|
+
export type GetMappedTrialBalanceErrors = {
|
|
11571
|
+
/**
|
|
11572
|
+
* Validation Error
|
|
11573
|
+
*/
|
|
11574
|
+
422: HttpValidationError;
|
|
11575
|
+
};
|
|
11576
|
+
export type GetMappedTrialBalanceError = GetMappedTrialBalanceErrors[keyof GetMappedTrialBalanceErrors];
|
|
11577
|
+
export type GetMappedTrialBalanceResponses = {
|
|
11578
|
+
/**
|
|
11579
|
+
* Successful Response
|
|
11580
|
+
*/
|
|
11581
|
+
200: unknown;
|
|
11582
|
+
};
|
|
11583
|
+
export type AutoMapElementsData = {
|
|
11584
|
+
body?: never;
|
|
11585
|
+
path: {
|
|
11586
|
+
/**
|
|
11587
|
+
* Graph Id
|
|
11588
|
+
*/
|
|
11589
|
+
graph_id: string;
|
|
11590
|
+
/**
|
|
11591
|
+
* Mapping Id
|
|
11592
|
+
*
|
|
11593
|
+
* Mapping structure ID
|
|
11594
|
+
*/
|
|
11595
|
+
mapping_id: string;
|
|
11596
|
+
};
|
|
11597
|
+
query?: never;
|
|
11598
|
+
url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/auto-map';
|
|
11599
|
+
};
|
|
11600
|
+
export type AutoMapElementsErrors = {
|
|
11601
|
+
/**
|
|
11602
|
+
* Validation Error
|
|
11603
|
+
*/
|
|
11604
|
+
422: HttpValidationError;
|
|
11605
|
+
};
|
|
11606
|
+
export type AutoMapElementsError = AutoMapElementsErrors[keyof AutoMapElementsErrors];
|
|
11607
|
+
export type AutoMapElementsResponses = {
|
|
11608
|
+
/**
|
|
11609
|
+
* Successful Response
|
|
11610
|
+
*/
|
|
11611
|
+
202: unknown;
|
|
11612
|
+
};
|
|
10697
11613
|
export type ListLedgerTransactionsData = {
|
|
10698
11614
|
body?: never;
|
|
10699
11615
|
path: {
|