@robosystems/client 0.2.43 → 0.2.44
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/LedgerClient.d.ts +88 -0
- package/extensions/LedgerClient.js +143 -0
- package/extensions/LedgerClient.ts +267 -0
- package/extensions/ReportClient.d.ts +14 -6
- package/extensions/ReportClient.js +19 -15
- package/extensions/ReportClient.ts +37 -21
- package/extensions/hooks.d.ts +1 -40
- package/extensions/hooks.js +0 -134
- package/extensions/hooks.ts +0 -156
- package/extensions/index.d.ts +2 -24
- package/extensions/index.js +1 -65
- package/extensions/index.test.ts +4 -38
- package/extensions/index.ts +0 -78
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +9 -4
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +31 -1
- package/sdk/sdk.gen.js +65 -2
- package/sdk/sdk.gen.ts +64 -1
- package/sdk/types.gen.d.ts +601 -87
- package/sdk/types.gen.ts +640 -88
- package/sdk-extensions/LedgerClient.d.ts +88 -0
- package/sdk-extensions/LedgerClient.js +143 -0
- package/sdk-extensions/LedgerClient.ts +267 -0
- package/sdk-extensions/ReportClient.d.ts +14 -6
- package/sdk-extensions/ReportClient.js +19 -15
- package/sdk-extensions/ReportClient.ts +37 -21
- package/sdk-extensions/hooks.d.ts +1 -40
- package/sdk-extensions/hooks.js +0 -134
- package/sdk-extensions/hooks.ts +0 -156
- package/sdk-extensions/index.d.ts +2 -24
- package/sdk-extensions/index.js +1 -65
- package/sdk-extensions/index.test.ts +4 -38
- package/sdk-extensions/index.ts +0 -78
- package/sdk.gen.d.ts +31 -1
- package/sdk.gen.js +65 -2
- package/sdk.gen.ts +64 -1
- package/types.gen.d.ts +601 -87
- package/types.gen.ts +640 -88
- package/extensions/DocumentClient.d.ts +0 -102
- package/extensions/DocumentClient.js +0 -176
- package/extensions/DocumentClient.ts +0 -297
- package/extensions/FileClient.d.ts +0 -57
- package/extensions/FileClient.js +0 -246
- package/extensions/FileClient.ts +0 -330
- package/extensions/GraphClient.d.ts +0 -91
- package/extensions/GraphClient.js +0 -244
- package/extensions/GraphClient.test.ts +0 -455
- package/extensions/GraphClient.ts +0 -371
- package/extensions/MaterializationClient.d.ts +0 -61
- package/extensions/MaterializationClient.js +0 -157
- package/extensions/MaterializationClient.ts +0 -223
- package/extensions/TableClient.d.ts +0 -38
- package/extensions/TableClient.js +0 -92
- package/extensions/TableClient.ts +0 -132
- package/sdk-extensions/DocumentClient.d.ts +0 -102
- package/sdk-extensions/DocumentClient.js +0 -176
- package/sdk-extensions/DocumentClient.ts +0 -297
- package/sdk-extensions/FileClient.d.ts +0 -57
- package/sdk-extensions/FileClient.js +0 -246
- package/sdk-extensions/FileClient.ts +0 -330
- package/sdk-extensions/GraphClient.d.ts +0 -91
- package/sdk-extensions/GraphClient.js +0 -244
- package/sdk-extensions/GraphClient.test.ts +0 -455
- package/sdk-extensions/GraphClient.ts +0 -371
- package/sdk-extensions/MaterializationClient.d.ts +0 -61
- package/sdk-extensions/MaterializationClient.js +0 -157
- package/sdk-extensions/MaterializationClient.ts +0 -223
- package/sdk-extensions/TableClient.d.ts +0 -38
- package/sdk-extensions/TableClient.js +0 -92
- package/sdk-extensions/TableClient.ts +0 -132
package/sdk/types.gen.d.ts
CHANGED
|
@@ -556,6 +556,67 @@ export type AgentResponse = {
|
|
|
556
556
|
*/
|
|
557
557
|
timestamp?: string;
|
|
558
558
|
};
|
|
559
|
+
/**
|
|
560
|
+
* AssociationResponse
|
|
561
|
+
*/
|
|
562
|
+
export type AssociationResponse = {
|
|
563
|
+
/**
|
|
564
|
+
* Id
|
|
565
|
+
*/
|
|
566
|
+
id: string;
|
|
567
|
+
/**
|
|
568
|
+
* Structure Id
|
|
569
|
+
*/
|
|
570
|
+
structure_id: string;
|
|
571
|
+
/**
|
|
572
|
+
* From Element Id
|
|
573
|
+
*/
|
|
574
|
+
from_element_id: string;
|
|
575
|
+
/**
|
|
576
|
+
* From Element Name
|
|
577
|
+
*/
|
|
578
|
+
from_element_name?: string | null;
|
|
579
|
+
/**
|
|
580
|
+
* From Element Qname
|
|
581
|
+
*/
|
|
582
|
+
from_element_qname?: string | null;
|
|
583
|
+
/**
|
|
584
|
+
* To Element Id
|
|
585
|
+
*/
|
|
586
|
+
to_element_id: string;
|
|
587
|
+
/**
|
|
588
|
+
* To Element Name
|
|
589
|
+
*/
|
|
590
|
+
to_element_name?: string | null;
|
|
591
|
+
/**
|
|
592
|
+
* To Element Qname
|
|
593
|
+
*/
|
|
594
|
+
to_element_qname?: string | null;
|
|
595
|
+
/**
|
|
596
|
+
* Association Type
|
|
597
|
+
*/
|
|
598
|
+
association_type: string;
|
|
599
|
+
/**
|
|
600
|
+
* Order Value
|
|
601
|
+
*/
|
|
602
|
+
order_value?: number | null;
|
|
603
|
+
/**
|
|
604
|
+
* Weight
|
|
605
|
+
*/
|
|
606
|
+
weight?: number | null;
|
|
607
|
+
/**
|
|
608
|
+
* Confidence
|
|
609
|
+
*/
|
|
610
|
+
confidence?: number | null;
|
|
611
|
+
/**
|
|
612
|
+
* Suggested By
|
|
613
|
+
*/
|
|
614
|
+
suggested_by?: string | null;
|
|
615
|
+
/**
|
|
616
|
+
* Approved By
|
|
617
|
+
*/
|
|
618
|
+
approved_by?: string | null;
|
|
619
|
+
};
|
|
559
620
|
/**
|
|
560
621
|
* AuthResponse
|
|
561
622
|
*
|
|
@@ -1122,6 +1183,39 @@ export type CheckoutStatusResponse = {
|
|
|
1122
1183
|
*/
|
|
1123
1184
|
error?: string | null;
|
|
1124
1185
|
};
|
|
1186
|
+
/**
|
|
1187
|
+
* ClosingEntryResponse
|
|
1188
|
+
*/
|
|
1189
|
+
export type ClosingEntryResponse = {
|
|
1190
|
+
/**
|
|
1191
|
+
* Entry Id
|
|
1192
|
+
*/
|
|
1193
|
+
entry_id: string;
|
|
1194
|
+
/**
|
|
1195
|
+
* Status
|
|
1196
|
+
*/
|
|
1197
|
+
status: string;
|
|
1198
|
+
/**
|
|
1199
|
+
* Posting Date
|
|
1200
|
+
*/
|
|
1201
|
+
posting_date: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* Memo
|
|
1204
|
+
*/
|
|
1205
|
+
memo: string;
|
|
1206
|
+
/**
|
|
1207
|
+
* Debit Element Id
|
|
1208
|
+
*/
|
|
1209
|
+
debit_element_id: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* Credit Element Id
|
|
1212
|
+
*/
|
|
1213
|
+
credit_element_id: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* Amount
|
|
1216
|
+
*/
|
|
1217
|
+
amount: number;
|
|
1218
|
+
};
|
|
1125
1219
|
/**
|
|
1126
1220
|
* ConnectionOptionsResponse
|
|
1127
1221
|
*
|
|
@@ -1477,6 +1571,35 @@ export type CreateCheckoutRequest = {
|
|
|
1477
1571
|
[key: string]: unknown;
|
|
1478
1572
|
};
|
|
1479
1573
|
};
|
|
1574
|
+
/**
|
|
1575
|
+
* CreateClosingEntryRequest
|
|
1576
|
+
*/
|
|
1577
|
+
export type CreateClosingEntryRequest = {
|
|
1578
|
+
/**
|
|
1579
|
+
* Posting Date
|
|
1580
|
+
*
|
|
1581
|
+
* Posting date for the entry
|
|
1582
|
+
*/
|
|
1583
|
+
posting_date: string;
|
|
1584
|
+
/**
|
|
1585
|
+
* Period Start
|
|
1586
|
+
*
|
|
1587
|
+
* Period start
|
|
1588
|
+
*/
|
|
1589
|
+
period_start: string;
|
|
1590
|
+
/**
|
|
1591
|
+
* Period End
|
|
1592
|
+
*
|
|
1593
|
+
* Period end
|
|
1594
|
+
*/
|
|
1595
|
+
period_end: string;
|
|
1596
|
+
/**
|
|
1597
|
+
* Memo
|
|
1598
|
+
*
|
|
1599
|
+
* Override memo
|
|
1600
|
+
*/
|
|
1601
|
+
memo?: string | null;
|
|
1602
|
+
};
|
|
1480
1603
|
/**
|
|
1481
1604
|
* CreateConnectionRequest
|
|
1482
1605
|
*
|
|
@@ -1676,6 +1799,12 @@ export type CreateReportRequest = {
|
|
|
1676
1799
|
* Include prior period comparison
|
|
1677
1800
|
*/
|
|
1678
1801
|
comparative?: boolean;
|
|
1802
|
+
/**
|
|
1803
|
+
* Periods
|
|
1804
|
+
*
|
|
1805
|
+
* Multi-period columns. Overrides period_start/period_end/comparative when set.
|
|
1806
|
+
*/
|
|
1807
|
+
periods?: Array<PeriodSpec> | null;
|
|
1679
1808
|
};
|
|
1680
1809
|
/**
|
|
1681
1810
|
* CreateRepositorySubscriptionRequest
|
|
@@ -1690,6 +1819,49 @@ export type CreateRepositorySubscriptionRequest = {
|
|
|
1690
1819
|
*/
|
|
1691
1820
|
plan_name: string;
|
|
1692
1821
|
};
|
|
1822
|
+
/**
|
|
1823
|
+
* CreateScheduleRequest
|
|
1824
|
+
*/
|
|
1825
|
+
export type CreateScheduleRequest = {
|
|
1826
|
+
/**
|
|
1827
|
+
* Name
|
|
1828
|
+
*
|
|
1829
|
+
* Schedule name
|
|
1830
|
+
*/
|
|
1831
|
+
name: string;
|
|
1832
|
+
/**
|
|
1833
|
+
* Taxonomy Id
|
|
1834
|
+
*
|
|
1835
|
+
* Taxonomy ID (auto-creates if omitted)
|
|
1836
|
+
*/
|
|
1837
|
+
taxonomy_id?: string | null;
|
|
1838
|
+
/**
|
|
1839
|
+
* Element Ids
|
|
1840
|
+
*
|
|
1841
|
+
* Element IDs to include
|
|
1842
|
+
*/
|
|
1843
|
+
element_ids: Array<string>;
|
|
1844
|
+
/**
|
|
1845
|
+
* Period Start
|
|
1846
|
+
*
|
|
1847
|
+
* First period start
|
|
1848
|
+
*/
|
|
1849
|
+
period_start: string;
|
|
1850
|
+
/**
|
|
1851
|
+
* Period End
|
|
1852
|
+
*
|
|
1853
|
+
* Last period end
|
|
1854
|
+
*/
|
|
1855
|
+
period_end: string;
|
|
1856
|
+
/**
|
|
1857
|
+
* Monthly Amount
|
|
1858
|
+
*
|
|
1859
|
+
* Monthly amount in cents
|
|
1860
|
+
*/
|
|
1861
|
+
monthly_amount: number;
|
|
1862
|
+
entry_template: EntryTemplateRequest;
|
|
1863
|
+
schedule_metadata?: ScheduleMetadataRequest | null;
|
|
1864
|
+
};
|
|
1693
1865
|
/**
|
|
1694
1866
|
* CreateSecurityRequest
|
|
1695
1867
|
*/
|
|
@@ -1744,7 +1916,7 @@ export type CreateStructureRequest = {
|
|
|
1744
1916
|
/**
|
|
1745
1917
|
* Structure Type
|
|
1746
1918
|
*/
|
|
1747
|
-
structure_type: 'chart_of_accounts' | 'income_statement' | 'balance_sheet' | 'cash_flow_statement' | 'equity_statement' | 'coa_mapping' | 'custom';
|
|
1919
|
+
structure_type: 'chart_of_accounts' | 'income_statement' | 'balance_sheet' | 'cash_flow_statement' | 'equity_statement' | 'coa_mapping' | 'schedule' | 'custom';
|
|
1748
1920
|
/**
|
|
1749
1921
|
* Taxonomy Id
|
|
1750
1922
|
*/
|
|
@@ -1814,7 +1986,7 @@ export type CreateTaxonomyRequest = {
|
|
|
1814
1986
|
/**
|
|
1815
1987
|
* Taxonomy Type
|
|
1816
1988
|
*/
|
|
1817
|
-
taxonomy_type: 'chart_of_accounts' | 'reporting' | 'mapping';
|
|
1989
|
+
taxonomy_type: 'chart_of_accounts' | 'reporting' | 'mapping' | 'schedule';
|
|
1818
1990
|
/**
|
|
1819
1991
|
* Version
|
|
1820
1992
|
*/
|
|
@@ -2722,67 +2894,6 @@ export type DownloadQuota = {
|
|
|
2722
2894
|
*/
|
|
2723
2895
|
resets_at: string;
|
|
2724
2896
|
};
|
|
2725
|
-
/**
|
|
2726
|
-
* ElementAssociationResponse
|
|
2727
|
-
*/
|
|
2728
|
-
export type ElementAssociationResponse = {
|
|
2729
|
-
/**
|
|
2730
|
-
* Id
|
|
2731
|
-
*/
|
|
2732
|
-
id: string;
|
|
2733
|
-
/**
|
|
2734
|
-
* Structure Id
|
|
2735
|
-
*/
|
|
2736
|
-
structure_id: string;
|
|
2737
|
-
/**
|
|
2738
|
-
* From Element Id
|
|
2739
|
-
*/
|
|
2740
|
-
from_element_id: string;
|
|
2741
|
-
/**
|
|
2742
|
-
* From Element Name
|
|
2743
|
-
*/
|
|
2744
|
-
from_element_name?: string | null;
|
|
2745
|
-
/**
|
|
2746
|
-
* From Element Qname
|
|
2747
|
-
*/
|
|
2748
|
-
from_element_qname?: string | null;
|
|
2749
|
-
/**
|
|
2750
|
-
* To Element Id
|
|
2751
|
-
*/
|
|
2752
|
-
to_element_id: string;
|
|
2753
|
-
/**
|
|
2754
|
-
* To Element Name
|
|
2755
|
-
*/
|
|
2756
|
-
to_element_name?: string | null;
|
|
2757
|
-
/**
|
|
2758
|
-
* To Element Qname
|
|
2759
|
-
*/
|
|
2760
|
-
to_element_qname?: string | null;
|
|
2761
|
-
/**
|
|
2762
|
-
* Association Type
|
|
2763
|
-
*/
|
|
2764
|
-
association_type: string;
|
|
2765
|
-
/**
|
|
2766
|
-
* Order Value
|
|
2767
|
-
*/
|
|
2768
|
-
order_value?: number | null;
|
|
2769
|
-
/**
|
|
2770
|
-
* Weight
|
|
2771
|
-
*/
|
|
2772
|
-
weight?: number | null;
|
|
2773
|
-
/**
|
|
2774
|
-
* Confidence
|
|
2775
|
-
*/
|
|
2776
|
-
confidence?: number | null;
|
|
2777
|
-
/**
|
|
2778
|
-
* Suggested By
|
|
2779
|
-
*/
|
|
2780
|
-
suggested_by?: string | null;
|
|
2781
|
-
/**
|
|
2782
|
-
* Approved By
|
|
2783
|
-
*/
|
|
2784
|
-
approved_by?: string | null;
|
|
2785
|
-
};
|
|
2786
2897
|
/**
|
|
2787
2898
|
* ElementListResponse
|
|
2788
2899
|
*/
|
|
@@ -2955,6 +3066,35 @@ export type EnhancedFileStatusLayers = {
|
|
|
2955
3066
|
*/
|
|
2956
3067
|
graph: FileLayerStatus;
|
|
2957
3068
|
};
|
|
3069
|
+
/**
|
|
3070
|
+
* EntryTemplateRequest
|
|
3071
|
+
*/
|
|
3072
|
+
export type EntryTemplateRequest = {
|
|
3073
|
+
/**
|
|
3074
|
+
* Debit Element Id
|
|
3075
|
+
*
|
|
3076
|
+
* Element to debit (e.g., Depreciation Expense)
|
|
3077
|
+
*/
|
|
3078
|
+
debit_element_id: string;
|
|
3079
|
+
/**
|
|
3080
|
+
* Credit Element Id
|
|
3081
|
+
*
|
|
3082
|
+
* Element to credit (e.g., Accumulated Depreciation)
|
|
3083
|
+
*/
|
|
3084
|
+
credit_element_id: string;
|
|
3085
|
+
/**
|
|
3086
|
+
* Entry Type
|
|
3087
|
+
*
|
|
3088
|
+
* Entry type for generated entries
|
|
3089
|
+
*/
|
|
3090
|
+
entry_type?: string;
|
|
3091
|
+
/**
|
|
3092
|
+
* Memo Template
|
|
3093
|
+
*
|
|
3094
|
+
* Memo template ({structure_name} is replaced)
|
|
3095
|
+
*/
|
|
3096
|
+
memo_template?: string;
|
|
3097
|
+
};
|
|
2958
3098
|
/**
|
|
2959
3099
|
* ErrorResponse
|
|
2960
3100
|
*
|
|
@@ -3010,13 +3150,9 @@ export type FactRowResponse = {
|
|
|
3010
3150
|
*/
|
|
3011
3151
|
classification: string;
|
|
3012
3152
|
/**
|
|
3013
|
-
*
|
|
3014
|
-
*/
|
|
3015
|
-
current_value: number;
|
|
3016
|
-
/**
|
|
3017
|
-
* Prior Value
|
|
3153
|
+
* Values
|
|
3018
3154
|
*/
|
|
3019
|
-
|
|
3155
|
+
values?: Array<number | null>;
|
|
3020
3156
|
/**
|
|
3021
3157
|
* Is Subtotal
|
|
3022
3158
|
*/
|
|
@@ -4943,7 +5079,7 @@ export type MappingDetailResponse = {
|
|
|
4943
5079
|
/**
|
|
4944
5080
|
* Associations
|
|
4945
5081
|
*/
|
|
4946
|
-
associations: Array<
|
|
5082
|
+
associations: Array<AssociationResponse>;
|
|
4947
5083
|
/**
|
|
4948
5084
|
* Total Associations
|
|
4949
5085
|
*/
|
|
@@ -5719,6 +5855,79 @@ export type PerformanceInsights = {
|
|
|
5719
5855
|
*/
|
|
5720
5856
|
performance_score: number;
|
|
5721
5857
|
};
|
|
5858
|
+
/**
|
|
5859
|
+
* PeriodCloseItemResponse
|
|
5860
|
+
*/
|
|
5861
|
+
export type PeriodCloseItemResponse = {
|
|
5862
|
+
/**
|
|
5863
|
+
* Structure Id
|
|
5864
|
+
*/
|
|
5865
|
+
structure_id: string;
|
|
5866
|
+
/**
|
|
5867
|
+
* Structure Name
|
|
5868
|
+
*/
|
|
5869
|
+
structure_name: string;
|
|
5870
|
+
/**
|
|
5871
|
+
* Amount
|
|
5872
|
+
*/
|
|
5873
|
+
amount: number;
|
|
5874
|
+
/**
|
|
5875
|
+
* Status
|
|
5876
|
+
*/
|
|
5877
|
+
status: string;
|
|
5878
|
+
/**
|
|
5879
|
+
* Entry Id
|
|
5880
|
+
*/
|
|
5881
|
+
entry_id?: string | null;
|
|
5882
|
+
};
|
|
5883
|
+
/**
|
|
5884
|
+
* PeriodCloseStatusResponse
|
|
5885
|
+
*/
|
|
5886
|
+
export type PeriodCloseStatusResponse = {
|
|
5887
|
+
/**
|
|
5888
|
+
* Fiscal Period Start
|
|
5889
|
+
*/
|
|
5890
|
+
fiscal_period_start: string;
|
|
5891
|
+
/**
|
|
5892
|
+
* Fiscal Period End
|
|
5893
|
+
*/
|
|
5894
|
+
fiscal_period_end: string;
|
|
5895
|
+
/**
|
|
5896
|
+
* Period Status
|
|
5897
|
+
*/
|
|
5898
|
+
period_status: string;
|
|
5899
|
+
/**
|
|
5900
|
+
* Schedules
|
|
5901
|
+
*/
|
|
5902
|
+
schedules: Array<PeriodCloseItemResponse>;
|
|
5903
|
+
/**
|
|
5904
|
+
* Total Draft
|
|
5905
|
+
*/
|
|
5906
|
+
total_draft: number;
|
|
5907
|
+
/**
|
|
5908
|
+
* Total Posted
|
|
5909
|
+
*/
|
|
5910
|
+
total_posted: number;
|
|
5911
|
+
};
|
|
5912
|
+
/**
|
|
5913
|
+
* PeriodSpec
|
|
5914
|
+
*
|
|
5915
|
+
* A reporting period column.
|
|
5916
|
+
*/
|
|
5917
|
+
export type PeriodSpec = {
|
|
5918
|
+
/**
|
|
5919
|
+
* Start
|
|
5920
|
+
*/
|
|
5921
|
+
start: string;
|
|
5922
|
+
/**
|
|
5923
|
+
* End
|
|
5924
|
+
*/
|
|
5925
|
+
end: string;
|
|
5926
|
+
/**
|
|
5927
|
+
* Label
|
|
5928
|
+
*/
|
|
5929
|
+
label: string;
|
|
5930
|
+
};
|
|
5722
5931
|
/**
|
|
5723
5932
|
* PortalSessionResponse
|
|
5724
5933
|
*
|
|
@@ -6069,13 +6278,19 @@ export type RegenerateReportRequest = {
|
|
|
6069
6278
|
*
|
|
6070
6279
|
* New period start date
|
|
6071
6280
|
*/
|
|
6072
|
-
period_start
|
|
6281
|
+
period_start?: string | null;
|
|
6073
6282
|
/**
|
|
6074
6283
|
* Period End
|
|
6075
6284
|
*
|
|
6076
6285
|
* New period end date
|
|
6077
6286
|
*/
|
|
6078
|
-
period_end
|
|
6287
|
+
period_end?: string | null;
|
|
6288
|
+
/**
|
|
6289
|
+
* Periods
|
|
6290
|
+
*
|
|
6291
|
+
* New period columns. Overrides period_start/period_end.
|
|
6292
|
+
*/
|
|
6293
|
+
periods?: Array<PeriodSpec> | null;
|
|
6079
6294
|
};
|
|
6080
6295
|
/**
|
|
6081
6296
|
* RegisterRequest
|
|
@@ -6155,6 +6370,10 @@ export type ReportResponse = {
|
|
|
6155
6370
|
* Comparative
|
|
6156
6371
|
*/
|
|
6157
6372
|
comparative: boolean;
|
|
6373
|
+
/**
|
|
6374
|
+
* Periods
|
|
6375
|
+
*/
|
|
6376
|
+
periods?: Array<PeriodSpec> | null;
|
|
6158
6377
|
/**
|
|
6159
6378
|
* Mapping Id
|
|
6160
6379
|
*/
|
|
@@ -6414,6 +6633,150 @@ export type SsoTokenResponse = {
|
|
|
6414
6633
|
*/
|
|
6415
6634
|
apps: Array<string>;
|
|
6416
6635
|
};
|
|
6636
|
+
/**
|
|
6637
|
+
* ScheduleCreatedResponse
|
|
6638
|
+
*/
|
|
6639
|
+
export type ScheduleCreatedResponse = {
|
|
6640
|
+
/**
|
|
6641
|
+
* Structure Id
|
|
6642
|
+
*/
|
|
6643
|
+
structure_id: string;
|
|
6644
|
+
/**
|
|
6645
|
+
* Name
|
|
6646
|
+
*/
|
|
6647
|
+
name: string;
|
|
6648
|
+
/**
|
|
6649
|
+
* Taxonomy Id
|
|
6650
|
+
*/
|
|
6651
|
+
taxonomy_id: string;
|
|
6652
|
+
/**
|
|
6653
|
+
* Total Periods
|
|
6654
|
+
*/
|
|
6655
|
+
total_periods: number;
|
|
6656
|
+
/**
|
|
6657
|
+
* Total Facts
|
|
6658
|
+
*/
|
|
6659
|
+
total_facts: number;
|
|
6660
|
+
};
|
|
6661
|
+
/**
|
|
6662
|
+
* ScheduleFactResponse
|
|
6663
|
+
*/
|
|
6664
|
+
export type ScheduleFactResponse = {
|
|
6665
|
+
/**
|
|
6666
|
+
* Element Id
|
|
6667
|
+
*/
|
|
6668
|
+
element_id: string;
|
|
6669
|
+
/**
|
|
6670
|
+
* Element Name
|
|
6671
|
+
*/
|
|
6672
|
+
element_name: string;
|
|
6673
|
+
/**
|
|
6674
|
+
* Value
|
|
6675
|
+
*/
|
|
6676
|
+
value: number;
|
|
6677
|
+
/**
|
|
6678
|
+
* Period Start
|
|
6679
|
+
*/
|
|
6680
|
+
period_start: string;
|
|
6681
|
+
/**
|
|
6682
|
+
* Period End
|
|
6683
|
+
*/
|
|
6684
|
+
period_end: string;
|
|
6685
|
+
};
|
|
6686
|
+
/**
|
|
6687
|
+
* ScheduleFactsResponse
|
|
6688
|
+
*/
|
|
6689
|
+
export type ScheduleFactsResponse = {
|
|
6690
|
+
/**
|
|
6691
|
+
* Structure Id
|
|
6692
|
+
*/
|
|
6693
|
+
structure_id: string;
|
|
6694
|
+
/**
|
|
6695
|
+
* Facts
|
|
6696
|
+
*/
|
|
6697
|
+
facts: Array<ScheduleFactResponse>;
|
|
6698
|
+
};
|
|
6699
|
+
/**
|
|
6700
|
+
* ScheduleListResponse
|
|
6701
|
+
*/
|
|
6702
|
+
export type ScheduleListResponse = {
|
|
6703
|
+
/**
|
|
6704
|
+
* Schedules
|
|
6705
|
+
*/
|
|
6706
|
+
schedules: Array<ScheduleSummaryResponse>;
|
|
6707
|
+
};
|
|
6708
|
+
/**
|
|
6709
|
+
* ScheduleMetadataRequest
|
|
6710
|
+
*/
|
|
6711
|
+
export type ScheduleMetadataRequest = {
|
|
6712
|
+
/**
|
|
6713
|
+
* Method
|
|
6714
|
+
*
|
|
6715
|
+
* Calculation method
|
|
6716
|
+
*/
|
|
6717
|
+
method?: string;
|
|
6718
|
+
/**
|
|
6719
|
+
* Original Amount
|
|
6720
|
+
*
|
|
6721
|
+
* Cost basis in cents
|
|
6722
|
+
*/
|
|
6723
|
+
original_amount?: number;
|
|
6724
|
+
/**
|
|
6725
|
+
* Residual Value
|
|
6726
|
+
*
|
|
6727
|
+
* Salvage value in cents
|
|
6728
|
+
*/
|
|
6729
|
+
residual_value?: number;
|
|
6730
|
+
/**
|
|
6731
|
+
* Useful Life Months
|
|
6732
|
+
*
|
|
6733
|
+
* Useful life in months
|
|
6734
|
+
*/
|
|
6735
|
+
useful_life_months?: number;
|
|
6736
|
+
/**
|
|
6737
|
+
* Asset Element Id
|
|
6738
|
+
*
|
|
6739
|
+
* BS asset element for net book value
|
|
6740
|
+
*/
|
|
6741
|
+
asset_element_id?: string | null;
|
|
6742
|
+
};
|
|
6743
|
+
/**
|
|
6744
|
+
* ScheduleSummaryResponse
|
|
6745
|
+
*/
|
|
6746
|
+
export type ScheduleSummaryResponse = {
|
|
6747
|
+
/**
|
|
6748
|
+
* Structure Id
|
|
6749
|
+
*/
|
|
6750
|
+
structure_id: string;
|
|
6751
|
+
/**
|
|
6752
|
+
* Name
|
|
6753
|
+
*/
|
|
6754
|
+
name: string;
|
|
6755
|
+
/**
|
|
6756
|
+
* Taxonomy Name
|
|
6757
|
+
*/
|
|
6758
|
+
taxonomy_name: string;
|
|
6759
|
+
/**
|
|
6760
|
+
* Entry Template
|
|
6761
|
+
*/
|
|
6762
|
+
entry_template?: {
|
|
6763
|
+
[key: string]: unknown;
|
|
6764
|
+
} | null;
|
|
6765
|
+
/**
|
|
6766
|
+
* Schedule Metadata
|
|
6767
|
+
*/
|
|
6768
|
+
schedule_metadata?: {
|
|
6769
|
+
[key: string]: unknown;
|
|
6770
|
+
} | null;
|
|
6771
|
+
/**
|
|
6772
|
+
* Total Periods
|
|
6773
|
+
*/
|
|
6774
|
+
total_periods: number;
|
|
6775
|
+
/**
|
|
6776
|
+
* Periods With Entries
|
|
6777
|
+
*/
|
|
6778
|
+
periods_with_entries: number;
|
|
6779
|
+
};
|
|
6417
6780
|
/**
|
|
6418
6781
|
* SchemaExportResponse
|
|
6419
6782
|
*
|
|
@@ -6960,21 +7323,9 @@ export type StatementResponse = {
|
|
|
6960
7323
|
*/
|
|
6961
7324
|
structure_type: string;
|
|
6962
7325
|
/**
|
|
6963
|
-
*
|
|
6964
|
-
*/
|
|
6965
|
-
period_start: string;
|
|
6966
|
-
/**
|
|
6967
|
-
* Period End
|
|
6968
|
-
*/
|
|
6969
|
-
period_end: string;
|
|
6970
|
-
/**
|
|
6971
|
-
* Comparative Period Start
|
|
6972
|
-
*/
|
|
6973
|
-
comparative_period_start?: string | null;
|
|
6974
|
-
/**
|
|
6975
|
-
* Comparative Period End
|
|
7326
|
+
* Periods
|
|
6976
7327
|
*/
|
|
6977
|
-
|
|
7328
|
+
periods?: Array<PeriodSpec>;
|
|
6978
7329
|
/**
|
|
6979
7330
|
* Rows
|
|
6980
7331
|
*/
|
|
@@ -12655,7 +13006,7 @@ export type CreateMappingAssociationResponses = {
|
|
|
12655
13006
|
/**
|
|
12656
13007
|
* Successful Response
|
|
12657
13008
|
*/
|
|
12658
|
-
201:
|
|
13009
|
+
201: AssociationResponse;
|
|
12659
13010
|
};
|
|
12660
13011
|
export type CreateMappingAssociationResponse = CreateMappingAssociationResponses[keyof CreateMappingAssociationResponses];
|
|
12661
13012
|
export type DeleteMappingAssociationData = {
|
|
@@ -13144,6 +13495,169 @@ export type ShareReportResponses = {
|
|
|
13144
13495
|
200: ShareReportResponse;
|
|
13145
13496
|
};
|
|
13146
13497
|
export type ShareReportResponse2 = ShareReportResponses[keyof ShareReportResponses];
|
|
13498
|
+
export type ListSchedulesData = {
|
|
13499
|
+
body?: never;
|
|
13500
|
+
path: {
|
|
13501
|
+
/**
|
|
13502
|
+
* Graph Id
|
|
13503
|
+
*/
|
|
13504
|
+
graph_id: string;
|
|
13505
|
+
};
|
|
13506
|
+
query?: never;
|
|
13507
|
+
url: '/v1/ledger/{graph_id}/schedules';
|
|
13508
|
+
};
|
|
13509
|
+
export type ListSchedulesErrors = {
|
|
13510
|
+
/**
|
|
13511
|
+
* Validation Error
|
|
13512
|
+
*/
|
|
13513
|
+
422: HttpValidationError;
|
|
13514
|
+
};
|
|
13515
|
+
export type ListSchedulesError = ListSchedulesErrors[keyof ListSchedulesErrors];
|
|
13516
|
+
export type ListSchedulesResponses = {
|
|
13517
|
+
/**
|
|
13518
|
+
* Successful Response
|
|
13519
|
+
*/
|
|
13520
|
+
200: ScheduleListResponse;
|
|
13521
|
+
};
|
|
13522
|
+
export type ListSchedulesResponse = ListSchedulesResponses[keyof ListSchedulesResponses];
|
|
13523
|
+
export type CreateScheduleData = {
|
|
13524
|
+
body: CreateScheduleRequest;
|
|
13525
|
+
path: {
|
|
13526
|
+
/**
|
|
13527
|
+
* Graph Id
|
|
13528
|
+
*/
|
|
13529
|
+
graph_id: string;
|
|
13530
|
+
};
|
|
13531
|
+
query?: never;
|
|
13532
|
+
url: '/v1/ledger/{graph_id}/schedules';
|
|
13533
|
+
};
|
|
13534
|
+
export type CreateScheduleErrors = {
|
|
13535
|
+
/**
|
|
13536
|
+
* Validation Error
|
|
13537
|
+
*/
|
|
13538
|
+
422: HttpValidationError;
|
|
13539
|
+
};
|
|
13540
|
+
export type CreateScheduleError = CreateScheduleErrors[keyof CreateScheduleErrors];
|
|
13541
|
+
export type CreateScheduleResponses = {
|
|
13542
|
+
/**
|
|
13543
|
+
* Successful Response
|
|
13544
|
+
*/
|
|
13545
|
+
201: ScheduleCreatedResponse;
|
|
13546
|
+
};
|
|
13547
|
+
export type CreateScheduleResponse = CreateScheduleResponses[keyof CreateScheduleResponses];
|
|
13548
|
+
export type GetScheduleFactsData = {
|
|
13549
|
+
body?: never;
|
|
13550
|
+
path: {
|
|
13551
|
+
/**
|
|
13552
|
+
* Graph Id
|
|
13553
|
+
*/
|
|
13554
|
+
graph_id: string;
|
|
13555
|
+
/**
|
|
13556
|
+
* Structure Id
|
|
13557
|
+
*
|
|
13558
|
+
* Schedule structure ID
|
|
13559
|
+
*/
|
|
13560
|
+
structure_id: string;
|
|
13561
|
+
};
|
|
13562
|
+
query?: {
|
|
13563
|
+
/**
|
|
13564
|
+
* Period Start
|
|
13565
|
+
*
|
|
13566
|
+
* Filter: period start
|
|
13567
|
+
*/
|
|
13568
|
+
period_start?: string | null;
|
|
13569
|
+
/**
|
|
13570
|
+
* Period End
|
|
13571
|
+
*
|
|
13572
|
+
* Filter: period end
|
|
13573
|
+
*/
|
|
13574
|
+
period_end?: string | null;
|
|
13575
|
+
};
|
|
13576
|
+
url: '/v1/ledger/{graph_id}/schedules/{structure_id}/facts';
|
|
13577
|
+
};
|
|
13578
|
+
export type GetScheduleFactsErrors = {
|
|
13579
|
+
/**
|
|
13580
|
+
* Validation Error
|
|
13581
|
+
*/
|
|
13582
|
+
422: HttpValidationError;
|
|
13583
|
+
};
|
|
13584
|
+
export type GetScheduleFactsError = GetScheduleFactsErrors[keyof GetScheduleFactsErrors];
|
|
13585
|
+
export type GetScheduleFactsResponses = {
|
|
13586
|
+
/**
|
|
13587
|
+
* Successful Response
|
|
13588
|
+
*/
|
|
13589
|
+
200: ScheduleFactsResponse;
|
|
13590
|
+
};
|
|
13591
|
+
export type GetScheduleFactsResponse = GetScheduleFactsResponses[keyof GetScheduleFactsResponses];
|
|
13592
|
+
export type GetPeriodCloseStatusData = {
|
|
13593
|
+
body?: never;
|
|
13594
|
+
path: {
|
|
13595
|
+
/**
|
|
13596
|
+
* Graph Id
|
|
13597
|
+
*/
|
|
13598
|
+
graph_id: string;
|
|
13599
|
+
};
|
|
13600
|
+
query: {
|
|
13601
|
+
/**
|
|
13602
|
+
* Period Start
|
|
13603
|
+
*
|
|
13604
|
+
* Fiscal period start
|
|
13605
|
+
*/
|
|
13606
|
+
period_start: string;
|
|
13607
|
+
/**
|
|
13608
|
+
* Period End
|
|
13609
|
+
*
|
|
13610
|
+
* Fiscal period end
|
|
13611
|
+
*/
|
|
13612
|
+
period_end: string;
|
|
13613
|
+
};
|
|
13614
|
+
url: '/v1/ledger/{graph_id}/schedules/close-status';
|
|
13615
|
+
};
|
|
13616
|
+
export type GetPeriodCloseStatusErrors = {
|
|
13617
|
+
/**
|
|
13618
|
+
* Validation Error
|
|
13619
|
+
*/
|
|
13620
|
+
422: HttpValidationError;
|
|
13621
|
+
};
|
|
13622
|
+
export type GetPeriodCloseStatusError = GetPeriodCloseStatusErrors[keyof GetPeriodCloseStatusErrors];
|
|
13623
|
+
export type GetPeriodCloseStatusResponses = {
|
|
13624
|
+
/**
|
|
13625
|
+
* Successful Response
|
|
13626
|
+
*/
|
|
13627
|
+
200: PeriodCloseStatusResponse;
|
|
13628
|
+
};
|
|
13629
|
+
export type GetPeriodCloseStatusResponse = GetPeriodCloseStatusResponses[keyof GetPeriodCloseStatusResponses];
|
|
13630
|
+
export type CreateClosingEntryData = {
|
|
13631
|
+
body: CreateClosingEntryRequest;
|
|
13632
|
+
path: {
|
|
13633
|
+
/**
|
|
13634
|
+
* Graph Id
|
|
13635
|
+
*/
|
|
13636
|
+
graph_id: string;
|
|
13637
|
+
/**
|
|
13638
|
+
* Structure Id
|
|
13639
|
+
*
|
|
13640
|
+
* Schedule structure ID
|
|
13641
|
+
*/
|
|
13642
|
+
structure_id: string;
|
|
13643
|
+
};
|
|
13644
|
+
query?: never;
|
|
13645
|
+
url: '/v1/ledger/{graph_id}/schedules/{structure_id}/closing-entry';
|
|
13646
|
+
};
|
|
13647
|
+
export type CreateClosingEntryErrors = {
|
|
13648
|
+
/**
|
|
13649
|
+
* Validation Error
|
|
13650
|
+
*/
|
|
13651
|
+
422: HttpValidationError;
|
|
13652
|
+
};
|
|
13653
|
+
export type CreateClosingEntryError = CreateClosingEntryErrors[keyof CreateClosingEntryErrors];
|
|
13654
|
+
export type CreateClosingEntryResponses = {
|
|
13655
|
+
/**
|
|
13656
|
+
* Successful Response
|
|
13657
|
+
*/
|
|
13658
|
+
201: ClosingEntryResponse;
|
|
13659
|
+
};
|
|
13660
|
+
export type CreateClosingEntryResponse = CreateClosingEntryResponses[keyof CreateClosingEntryResponses];
|
|
13147
13661
|
export type ListPublishListsData = {
|
|
13148
13662
|
body?: never;
|
|
13149
13663
|
path: {
|