@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/types.gen.ts
CHANGED
|
@@ -576,6 +576,68 @@ export type AgentResponse = {
|
|
|
576
576
|
timestamp?: string;
|
|
577
577
|
};
|
|
578
578
|
|
|
579
|
+
/**
|
|
580
|
+
* AssociationResponse
|
|
581
|
+
*/
|
|
582
|
+
export type AssociationResponse = {
|
|
583
|
+
/**
|
|
584
|
+
* Id
|
|
585
|
+
*/
|
|
586
|
+
id: string;
|
|
587
|
+
/**
|
|
588
|
+
* Structure Id
|
|
589
|
+
*/
|
|
590
|
+
structure_id: string;
|
|
591
|
+
/**
|
|
592
|
+
* From Element Id
|
|
593
|
+
*/
|
|
594
|
+
from_element_id: string;
|
|
595
|
+
/**
|
|
596
|
+
* From Element Name
|
|
597
|
+
*/
|
|
598
|
+
from_element_name?: string | null;
|
|
599
|
+
/**
|
|
600
|
+
* From Element Qname
|
|
601
|
+
*/
|
|
602
|
+
from_element_qname?: string | null;
|
|
603
|
+
/**
|
|
604
|
+
* To Element Id
|
|
605
|
+
*/
|
|
606
|
+
to_element_id: string;
|
|
607
|
+
/**
|
|
608
|
+
* To Element Name
|
|
609
|
+
*/
|
|
610
|
+
to_element_name?: string | null;
|
|
611
|
+
/**
|
|
612
|
+
* To Element Qname
|
|
613
|
+
*/
|
|
614
|
+
to_element_qname?: string | null;
|
|
615
|
+
/**
|
|
616
|
+
* Association Type
|
|
617
|
+
*/
|
|
618
|
+
association_type: string;
|
|
619
|
+
/**
|
|
620
|
+
* Order Value
|
|
621
|
+
*/
|
|
622
|
+
order_value?: number | null;
|
|
623
|
+
/**
|
|
624
|
+
* Weight
|
|
625
|
+
*/
|
|
626
|
+
weight?: number | null;
|
|
627
|
+
/**
|
|
628
|
+
* Confidence
|
|
629
|
+
*/
|
|
630
|
+
confidence?: number | null;
|
|
631
|
+
/**
|
|
632
|
+
* Suggested By
|
|
633
|
+
*/
|
|
634
|
+
suggested_by?: string | null;
|
|
635
|
+
/**
|
|
636
|
+
* Approved By
|
|
637
|
+
*/
|
|
638
|
+
approved_by?: string | null;
|
|
639
|
+
};
|
|
640
|
+
|
|
579
641
|
/**
|
|
580
642
|
* AuthResponse
|
|
581
643
|
*
|
|
@@ -1160,6 +1222,40 @@ export type CheckoutStatusResponse = {
|
|
|
1160
1222
|
error?: string | null;
|
|
1161
1223
|
};
|
|
1162
1224
|
|
|
1225
|
+
/**
|
|
1226
|
+
* ClosingEntryResponse
|
|
1227
|
+
*/
|
|
1228
|
+
export type ClosingEntryResponse = {
|
|
1229
|
+
/**
|
|
1230
|
+
* Entry Id
|
|
1231
|
+
*/
|
|
1232
|
+
entry_id: string;
|
|
1233
|
+
/**
|
|
1234
|
+
* Status
|
|
1235
|
+
*/
|
|
1236
|
+
status: string;
|
|
1237
|
+
/**
|
|
1238
|
+
* Posting Date
|
|
1239
|
+
*/
|
|
1240
|
+
posting_date: string;
|
|
1241
|
+
/**
|
|
1242
|
+
* Memo
|
|
1243
|
+
*/
|
|
1244
|
+
memo: string;
|
|
1245
|
+
/**
|
|
1246
|
+
* Debit Element Id
|
|
1247
|
+
*/
|
|
1248
|
+
debit_element_id: string;
|
|
1249
|
+
/**
|
|
1250
|
+
* Credit Element Id
|
|
1251
|
+
*/
|
|
1252
|
+
credit_element_id: string;
|
|
1253
|
+
/**
|
|
1254
|
+
* Amount
|
|
1255
|
+
*/
|
|
1256
|
+
amount: number;
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1163
1259
|
/**
|
|
1164
1260
|
* ConnectionOptionsResponse
|
|
1165
1261
|
*
|
|
@@ -1524,6 +1620,36 @@ export type CreateCheckoutRequest = {
|
|
|
1524
1620
|
};
|
|
1525
1621
|
};
|
|
1526
1622
|
|
|
1623
|
+
/**
|
|
1624
|
+
* CreateClosingEntryRequest
|
|
1625
|
+
*/
|
|
1626
|
+
export type CreateClosingEntryRequest = {
|
|
1627
|
+
/**
|
|
1628
|
+
* Posting Date
|
|
1629
|
+
*
|
|
1630
|
+
* Posting date for the entry
|
|
1631
|
+
*/
|
|
1632
|
+
posting_date: string;
|
|
1633
|
+
/**
|
|
1634
|
+
* Period Start
|
|
1635
|
+
*
|
|
1636
|
+
* Period start
|
|
1637
|
+
*/
|
|
1638
|
+
period_start: string;
|
|
1639
|
+
/**
|
|
1640
|
+
* Period End
|
|
1641
|
+
*
|
|
1642
|
+
* Period end
|
|
1643
|
+
*/
|
|
1644
|
+
period_end: string;
|
|
1645
|
+
/**
|
|
1646
|
+
* Memo
|
|
1647
|
+
*
|
|
1648
|
+
* Override memo
|
|
1649
|
+
*/
|
|
1650
|
+
memo?: string | null;
|
|
1651
|
+
};
|
|
1652
|
+
|
|
1527
1653
|
/**
|
|
1528
1654
|
* CreateConnectionRequest
|
|
1529
1655
|
*
|
|
@@ -1728,6 +1854,12 @@ export type CreateReportRequest = {
|
|
|
1728
1854
|
* Include prior period comparison
|
|
1729
1855
|
*/
|
|
1730
1856
|
comparative?: boolean;
|
|
1857
|
+
/**
|
|
1858
|
+
* Periods
|
|
1859
|
+
*
|
|
1860
|
+
* Multi-period columns. Overrides period_start/period_end/comparative when set.
|
|
1861
|
+
*/
|
|
1862
|
+
periods?: Array<PeriodSpec> | null;
|
|
1731
1863
|
};
|
|
1732
1864
|
|
|
1733
1865
|
/**
|
|
@@ -1744,6 +1876,50 @@ export type CreateRepositorySubscriptionRequest = {
|
|
|
1744
1876
|
plan_name: string;
|
|
1745
1877
|
};
|
|
1746
1878
|
|
|
1879
|
+
/**
|
|
1880
|
+
* CreateScheduleRequest
|
|
1881
|
+
*/
|
|
1882
|
+
export type CreateScheduleRequest = {
|
|
1883
|
+
/**
|
|
1884
|
+
* Name
|
|
1885
|
+
*
|
|
1886
|
+
* Schedule name
|
|
1887
|
+
*/
|
|
1888
|
+
name: string;
|
|
1889
|
+
/**
|
|
1890
|
+
* Taxonomy Id
|
|
1891
|
+
*
|
|
1892
|
+
* Taxonomy ID (auto-creates if omitted)
|
|
1893
|
+
*/
|
|
1894
|
+
taxonomy_id?: string | null;
|
|
1895
|
+
/**
|
|
1896
|
+
* Element Ids
|
|
1897
|
+
*
|
|
1898
|
+
* Element IDs to include
|
|
1899
|
+
*/
|
|
1900
|
+
element_ids: Array<string>;
|
|
1901
|
+
/**
|
|
1902
|
+
* Period Start
|
|
1903
|
+
*
|
|
1904
|
+
* First period start
|
|
1905
|
+
*/
|
|
1906
|
+
period_start: string;
|
|
1907
|
+
/**
|
|
1908
|
+
* Period End
|
|
1909
|
+
*
|
|
1910
|
+
* Last period end
|
|
1911
|
+
*/
|
|
1912
|
+
period_end: string;
|
|
1913
|
+
/**
|
|
1914
|
+
* Monthly Amount
|
|
1915
|
+
*
|
|
1916
|
+
* Monthly amount in cents
|
|
1917
|
+
*/
|
|
1918
|
+
monthly_amount: number;
|
|
1919
|
+
entry_template: EntryTemplateRequest;
|
|
1920
|
+
schedule_metadata?: ScheduleMetadataRequest | null;
|
|
1921
|
+
};
|
|
1922
|
+
|
|
1747
1923
|
/**
|
|
1748
1924
|
* CreateSecurityRequest
|
|
1749
1925
|
*/
|
|
@@ -1799,7 +1975,7 @@ export type CreateStructureRequest = {
|
|
|
1799
1975
|
/**
|
|
1800
1976
|
* Structure Type
|
|
1801
1977
|
*/
|
|
1802
|
-
structure_type: 'chart_of_accounts' | 'income_statement' | 'balance_sheet' | 'cash_flow_statement' | 'equity_statement' | 'coa_mapping' | 'custom';
|
|
1978
|
+
structure_type: 'chart_of_accounts' | 'income_statement' | 'balance_sheet' | 'cash_flow_statement' | 'equity_statement' | 'coa_mapping' | 'schedule' | 'custom';
|
|
1803
1979
|
/**
|
|
1804
1980
|
* Taxonomy Id
|
|
1805
1981
|
*/
|
|
@@ -1871,7 +2047,7 @@ export type CreateTaxonomyRequest = {
|
|
|
1871
2047
|
/**
|
|
1872
2048
|
* Taxonomy Type
|
|
1873
2049
|
*/
|
|
1874
|
-
taxonomy_type: 'chart_of_accounts' | 'reporting' | 'mapping';
|
|
2050
|
+
taxonomy_type: 'chart_of_accounts' | 'reporting' | 'mapping' | 'schedule';
|
|
1875
2051
|
/**
|
|
1876
2052
|
* Version
|
|
1877
2053
|
*/
|
|
@@ -2800,68 +2976,6 @@ export type DownloadQuota = {
|
|
|
2800
2976
|
resets_at: string;
|
|
2801
2977
|
};
|
|
2802
2978
|
|
|
2803
|
-
/**
|
|
2804
|
-
* ElementAssociationResponse
|
|
2805
|
-
*/
|
|
2806
|
-
export type ElementAssociationResponse = {
|
|
2807
|
-
/**
|
|
2808
|
-
* Id
|
|
2809
|
-
*/
|
|
2810
|
-
id: string;
|
|
2811
|
-
/**
|
|
2812
|
-
* Structure Id
|
|
2813
|
-
*/
|
|
2814
|
-
structure_id: string;
|
|
2815
|
-
/**
|
|
2816
|
-
* From Element Id
|
|
2817
|
-
*/
|
|
2818
|
-
from_element_id: string;
|
|
2819
|
-
/**
|
|
2820
|
-
* From Element Name
|
|
2821
|
-
*/
|
|
2822
|
-
from_element_name?: string | null;
|
|
2823
|
-
/**
|
|
2824
|
-
* From Element Qname
|
|
2825
|
-
*/
|
|
2826
|
-
from_element_qname?: string | null;
|
|
2827
|
-
/**
|
|
2828
|
-
* To Element Id
|
|
2829
|
-
*/
|
|
2830
|
-
to_element_id: string;
|
|
2831
|
-
/**
|
|
2832
|
-
* To Element Name
|
|
2833
|
-
*/
|
|
2834
|
-
to_element_name?: string | null;
|
|
2835
|
-
/**
|
|
2836
|
-
* To Element Qname
|
|
2837
|
-
*/
|
|
2838
|
-
to_element_qname?: string | null;
|
|
2839
|
-
/**
|
|
2840
|
-
* Association Type
|
|
2841
|
-
*/
|
|
2842
|
-
association_type: string;
|
|
2843
|
-
/**
|
|
2844
|
-
* Order Value
|
|
2845
|
-
*/
|
|
2846
|
-
order_value?: number | null;
|
|
2847
|
-
/**
|
|
2848
|
-
* Weight
|
|
2849
|
-
*/
|
|
2850
|
-
weight?: number | null;
|
|
2851
|
-
/**
|
|
2852
|
-
* Confidence
|
|
2853
|
-
*/
|
|
2854
|
-
confidence?: number | null;
|
|
2855
|
-
/**
|
|
2856
|
-
* Suggested By
|
|
2857
|
-
*/
|
|
2858
|
-
suggested_by?: string | null;
|
|
2859
|
-
/**
|
|
2860
|
-
* Approved By
|
|
2861
|
-
*/
|
|
2862
|
-
approved_by?: string | null;
|
|
2863
|
-
};
|
|
2864
|
-
|
|
2865
2979
|
/**
|
|
2866
2980
|
* ElementListResponse
|
|
2867
2981
|
*/
|
|
@@ -3039,6 +3153,36 @@ export type EnhancedFileStatusLayers = {
|
|
|
3039
3153
|
graph: FileLayerStatus;
|
|
3040
3154
|
};
|
|
3041
3155
|
|
|
3156
|
+
/**
|
|
3157
|
+
* EntryTemplateRequest
|
|
3158
|
+
*/
|
|
3159
|
+
export type EntryTemplateRequest = {
|
|
3160
|
+
/**
|
|
3161
|
+
* Debit Element Id
|
|
3162
|
+
*
|
|
3163
|
+
* Element to debit (e.g., Depreciation Expense)
|
|
3164
|
+
*/
|
|
3165
|
+
debit_element_id: string;
|
|
3166
|
+
/**
|
|
3167
|
+
* Credit Element Id
|
|
3168
|
+
*
|
|
3169
|
+
* Element to credit (e.g., Accumulated Depreciation)
|
|
3170
|
+
*/
|
|
3171
|
+
credit_element_id: string;
|
|
3172
|
+
/**
|
|
3173
|
+
* Entry Type
|
|
3174
|
+
*
|
|
3175
|
+
* Entry type for generated entries
|
|
3176
|
+
*/
|
|
3177
|
+
entry_type?: string;
|
|
3178
|
+
/**
|
|
3179
|
+
* Memo Template
|
|
3180
|
+
*
|
|
3181
|
+
* Memo template ({structure_name} is replaced)
|
|
3182
|
+
*/
|
|
3183
|
+
memo_template?: string;
|
|
3184
|
+
};
|
|
3185
|
+
|
|
3042
3186
|
/**
|
|
3043
3187
|
* ErrorResponse
|
|
3044
3188
|
*
|
|
@@ -3095,13 +3239,9 @@ export type FactRowResponse = {
|
|
|
3095
3239
|
*/
|
|
3096
3240
|
classification: string;
|
|
3097
3241
|
/**
|
|
3098
|
-
*
|
|
3099
|
-
*/
|
|
3100
|
-
current_value: number;
|
|
3101
|
-
/**
|
|
3102
|
-
* Prior Value
|
|
3242
|
+
* Values
|
|
3103
3243
|
*/
|
|
3104
|
-
|
|
3244
|
+
values?: Array<number | null>;
|
|
3105
3245
|
/**
|
|
3106
3246
|
* Is Subtotal
|
|
3107
3247
|
*/
|
|
@@ -5073,7 +5213,7 @@ export type MappingDetailResponse = {
|
|
|
5073
5213
|
/**
|
|
5074
5214
|
* Associations
|
|
5075
5215
|
*/
|
|
5076
|
-
associations: Array<
|
|
5216
|
+
associations: Array<AssociationResponse>;
|
|
5077
5217
|
/**
|
|
5078
5218
|
* Total Associations
|
|
5079
5219
|
*/
|
|
@@ -5874,6 +6014,82 @@ export type PerformanceInsights = {
|
|
|
5874
6014
|
performance_score: number;
|
|
5875
6015
|
};
|
|
5876
6016
|
|
|
6017
|
+
/**
|
|
6018
|
+
* PeriodCloseItemResponse
|
|
6019
|
+
*/
|
|
6020
|
+
export type PeriodCloseItemResponse = {
|
|
6021
|
+
/**
|
|
6022
|
+
* Structure Id
|
|
6023
|
+
*/
|
|
6024
|
+
structure_id: string;
|
|
6025
|
+
/**
|
|
6026
|
+
* Structure Name
|
|
6027
|
+
*/
|
|
6028
|
+
structure_name: string;
|
|
6029
|
+
/**
|
|
6030
|
+
* Amount
|
|
6031
|
+
*/
|
|
6032
|
+
amount: number;
|
|
6033
|
+
/**
|
|
6034
|
+
* Status
|
|
6035
|
+
*/
|
|
6036
|
+
status: string;
|
|
6037
|
+
/**
|
|
6038
|
+
* Entry Id
|
|
6039
|
+
*/
|
|
6040
|
+
entry_id?: string | null;
|
|
6041
|
+
};
|
|
6042
|
+
|
|
6043
|
+
/**
|
|
6044
|
+
* PeriodCloseStatusResponse
|
|
6045
|
+
*/
|
|
6046
|
+
export type PeriodCloseStatusResponse = {
|
|
6047
|
+
/**
|
|
6048
|
+
* Fiscal Period Start
|
|
6049
|
+
*/
|
|
6050
|
+
fiscal_period_start: string;
|
|
6051
|
+
/**
|
|
6052
|
+
* Fiscal Period End
|
|
6053
|
+
*/
|
|
6054
|
+
fiscal_period_end: string;
|
|
6055
|
+
/**
|
|
6056
|
+
* Period Status
|
|
6057
|
+
*/
|
|
6058
|
+
period_status: string;
|
|
6059
|
+
/**
|
|
6060
|
+
* Schedules
|
|
6061
|
+
*/
|
|
6062
|
+
schedules: Array<PeriodCloseItemResponse>;
|
|
6063
|
+
/**
|
|
6064
|
+
* Total Draft
|
|
6065
|
+
*/
|
|
6066
|
+
total_draft: number;
|
|
6067
|
+
/**
|
|
6068
|
+
* Total Posted
|
|
6069
|
+
*/
|
|
6070
|
+
total_posted: number;
|
|
6071
|
+
};
|
|
6072
|
+
|
|
6073
|
+
/**
|
|
6074
|
+
* PeriodSpec
|
|
6075
|
+
*
|
|
6076
|
+
* A reporting period column.
|
|
6077
|
+
*/
|
|
6078
|
+
export type PeriodSpec = {
|
|
6079
|
+
/**
|
|
6080
|
+
* Start
|
|
6081
|
+
*/
|
|
6082
|
+
start: string;
|
|
6083
|
+
/**
|
|
6084
|
+
* End
|
|
6085
|
+
*/
|
|
6086
|
+
end: string;
|
|
6087
|
+
/**
|
|
6088
|
+
* Label
|
|
6089
|
+
*/
|
|
6090
|
+
label: string;
|
|
6091
|
+
};
|
|
6092
|
+
|
|
5877
6093
|
/**
|
|
5878
6094
|
* PortalSessionResponse
|
|
5879
6095
|
*
|
|
@@ -6236,13 +6452,19 @@ export type RegenerateReportRequest = {
|
|
|
6236
6452
|
*
|
|
6237
6453
|
* New period start date
|
|
6238
6454
|
*/
|
|
6239
|
-
period_start
|
|
6455
|
+
period_start?: string | null;
|
|
6240
6456
|
/**
|
|
6241
6457
|
* Period End
|
|
6242
6458
|
*
|
|
6243
6459
|
* New period end date
|
|
6244
6460
|
*/
|
|
6245
|
-
period_end
|
|
6461
|
+
period_end?: string | null;
|
|
6462
|
+
/**
|
|
6463
|
+
* Periods
|
|
6464
|
+
*
|
|
6465
|
+
* New period columns. Overrides period_start/period_end.
|
|
6466
|
+
*/
|
|
6467
|
+
periods?: Array<PeriodSpec> | null;
|
|
6246
6468
|
};
|
|
6247
6469
|
|
|
6248
6470
|
/**
|
|
@@ -6325,6 +6547,10 @@ export type ReportResponse = {
|
|
|
6325
6547
|
* Comparative
|
|
6326
6548
|
*/
|
|
6327
6549
|
comparative: boolean;
|
|
6550
|
+
/**
|
|
6551
|
+
* Periods
|
|
6552
|
+
*/
|
|
6553
|
+
periods?: Array<PeriodSpec> | null;
|
|
6328
6554
|
/**
|
|
6329
6555
|
* Mapping Id
|
|
6330
6556
|
*/
|
|
@@ -6595,6 +6821,156 @@ export type SsoTokenResponse = {
|
|
|
6595
6821
|
apps: Array<string>;
|
|
6596
6822
|
};
|
|
6597
6823
|
|
|
6824
|
+
/**
|
|
6825
|
+
* ScheduleCreatedResponse
|
|
6826
|
+
*/
|
|
6827
|
+
export type ScheduleCreatedResponse = {
|
|
6828
|
+
/**
|
|
6829
|
+
* Structure Id
|
|
6830
|
+
*/
|
|
6831
|
+
structure_id: string;
|
|
6832
|
+
/**
|
|
6833
|
+
* Name
|
|
6834
|
+
*/
|
|
6835
|
+
name: string;
|
|
6836
|
+
/**
|
|
6837
|
+
* Taxonomy Id
|
|
6838
|
+
*/
|
|
6839
|
+
taxonomy_id: string;
|
|
6840
|
+
/**
|
|
6841
|
+
* Total Periods
|
|
6842
|
+
*/
|
|
6843
|
+
total_periods: number;
|
|
6844
|
+
/**
|
|
6845
|
+
* Total Facts
|
|
6846
|
+
*/
|
|
6847
|
+
total_facts: number;
|
|
6848
|
+
};
|
|
6849
|
+
|
|
6850
|
+
/**
|
|
6851
|
+
* ScheduleFactResponse
|
|
6852
|
+
*/
|
|
6853
|
+
export type ScheduleFactResponse = {
|
|
6854
|
+
/**
|
|
6855
|
+
* Element Id
|
|
6856
|
+
*/
|
|
6857
|
+
element_id: string;
|
|
6858
|
+
/**
|
|
6859
|
+
* Element Name
|
|
6860
|
+
*/
|
|
6861
|
+
element_name: string;
|
|
6862
|
+
/**
|
|
6863
|
+
* Value
|
|
6864
|
+
*/
|
|
6865
|
+
value: number;
|
|
6866
|
+
/**
|
|
6867
|
+
* Period Start
|
|
6868
|
+
*/
|
|
6869
|
+
period_start: string;
|
|
6870
|
+
/**
|
|
6871
|
+
* Period End
|
|
6872
|
+
*/
|
|
6873
|
+
period_end: string;
|
|
6874
|
+
};
|
|
6875
|
+
|
|
6876
|
+
/**
|
|
6877
|
+
* ScheduleFactsResponse
|
|
6878
|
+
*/
|
|
6879
|
+
export type ScheduleFactsResponse = {
|
|
6880
|
+
/**
|
|
6881
|
+
* Structure Id
|
|
6882
|
+
*/
|
|
6883
|
+
structure_id: string;
|
|
6884
|
+
/**
|
|
6885
|
+
* Facts
|
|
6886
|
+
*/
|
|
6887
|
+
facts: Array<ScheduleFactResponse>;
|
|
6888
|
+
};
|
|
6889
|
+
|
|
6890
|
+
/**
|
|
6891
|
+
* ScheduleListResponse
|
|
6892
|
+
*/
|
|
6893
|
+
export type ScheduleListResponse = {
|
|
6894
|
+
/**
|
|
6895
|
+
* Schedules
|
|
6896
|
+
*/
|
|
6897
|
+
schedules: Array<ScheduleSummaryResponse>;
|
|
6898
|
+
};
|
|
6899
|
+
|
|
6900
|
+
/**
|
|
6901
|
+
* ScheduleMetadataRequest
|
|
6902
|
+
*/
|
|
6903
|
+
export type ScheduleMetadataRequest = {
|
|
6904
|
+
/**
|
|
6905
|
+
* Method
|
|
6906
|
+
*
|
|
6907
|
+
* Calculation method
|
|
6908
|
+
*/
|
|
6909
|
+
method?: string;
|
|
6910
|
+
/**
|
|
6911
|
+
* Original Amount
|
|
6912
|
+
*
|
|
6913
|
+
* Cost basis in cents
|
|
6914
|
+
*/
|
|
6915
|
+
original_amount?: number;
|
|
6916
|
+
/**
|
|
6917
|
+
* Residual Value
|
|
6918
|
+
*
|
|
6919
|
+
* Salvage value in cents
|
|
6920
|
+
*/
|
|
6921
|
+
residual_value?: number;
|
|
6922
|
+
/**
|
|
6923
|
+
* Useful Life Months
|
|
6924
|
+
*
|
|
6925
|
+
* Useful life in months
|
|
6926
|
+
*/
|
|
6927
|
+
useful_life_months?: number;
|
|
6928
|
+
/**
|
|
6929
|
+
* Asset Element Id
|
|
6930
|
+
*
|
|
6931
|
+
* BS asset element for net book value
|
|
6932
|
+
*/
|
|
6933
|
+
asset_element_id?: string | null;
|
|
6934
|
+
};
|
|
6935
|
+
|
|
6936
|
+
/**
|
|
6937
|
+
* ScheduleSummaryResponse
|
|
6938
|
+
*/
|
|
6939
|
+
export type ScheduleSummaryResponse = {
|
|
6940
|
+
/**
|
|
6941
|
+
* Structure Id
|
|
6942
|
+
*/
|
|
6943
|
+
structure_id: string;
|
|
6944
|
+
/**
|
|
6945
|
+
* Name
|
|
6946
|
+
*/
|
|
6947
|
+
name: string;
|
|
6948
|
+
/**
|
|
6949
|
+
* Taxonomy Name
|
|
6950
|
+
*/
|
|
6951
|
+
taxonomy_name: string;
|
|
6952
|
+
/**
|
|
6953
|
+
* Entry Template
|
|
6954
|
+
*/
|
|
6955
|
+
entry_template?: {
|
|
6956
|
+
[key: string]: unknown;
|
|
6957
|
+
} | null;
|
|
6958
|
+
/**
|
|
6959
|
+
* Schedule Metadata
|
|
6960
|
+
*/
|
|
6961
|
+
schedule_metadata?: {
|
|
6962
|
+
[key: string]: unknown;
|
|
6963
|
+
} | null;
|
|
6964
|
+
/**
|
|
6965
|
+
* Total Periods
|
|
6966
|
+
*/
|
|
6967
|
+
total_periods: number;
|
|
6968
|
+
/**
|
|
6969
|
+
* Periods With Entries
|
|
6970
|
+
*/
|
|
6971
|
+
periods_with_entries: number;
|
|
6972
|
+
};
|
|
6973
|
+
|
|
6598
6974
|
/**
|
|
6599
6975
|
* SchemaExportResponse
|
|
6600
6976
|
*
|
|
@@ -7156,21 +7532,9 @@ export type StatementResponse = {
|
|
|
7156
7532
|
*/
|
|
7157
7533
|
structure_type: string;
|
|
7158
7534
|
/**
|
|
7159
|
-
*
|
|
7160
|
-
*/
|
|
7161
|
-
period_start: string;
|
|
7162
|
-
/**
|
|
7163
|
-
* Period End
|
|
7164
|
-
*/
|
|
7165
|
-
period_end: string;
|
|
7166
|
-
/**
|
|
7167
|
-
* Comparative Period Start
|
|
7168
|
-
*/
|
|
7169
|
-
comparative_period_start?: string | null;
|
|
7170
|
-
/**
|
|
7171
|
-
* Comparative Period End
|
|
7535
|
+
* Periods
|
|
7172
7536
|
*/
|
|
7173
|
-
|
|
7537
|
+
periods?: Array<PeriodSpec>;
|
|
7174
7538
|
/**
|
|
7175
7539
|
* Rows
|
|
7176
7540
|
*/
|
|
@@ -13512,7 +13876,7 @@ export type CreateMappingAssociationResponses = {
|
|
|
13512
13876
|
/**
|
|
13513
13877
|
* Successful Response
|
|
13514
13878
|
*/
|
|
13515
|
-
201:
|
|
13879
|
+
201: AssociationResponse;
|
|
13516
13880
|
};
|
|
13517
13881
|
|
|
13518
13882
|
export type CreateMappingAssociationResponse = CreateMappingAssociationResponses[keyof CreateMappingAssociationResponses];
|
|
@@ -14076,6 +14440,194 @@ export type ShareReportResponses = {
|
|
|
14076
14440
|
|
|
14077
14441
|
export type ShareReportResponse2 = ShareReportResponses[keyof ShareReportResponses];
|
|
14078
14442
|
|
|
14443
|
+
export type ListSchedulesData = {
|
|
14444
|
+
body?: never;
|
|
14445
|
+
path: {
|
|
14446
|
+
/**
|
|
14447
|
+
* Graph Id
|
|
14448
|
+
*/
|
|
14449
|
+
graph_id: string;
|
|
14450
|
+
};
|
|
14451
|
+
query?: never;
|
|
14452
|
+
url: '/v1/ledger/{graph_id}/schedules';
|
|
14453
|
+
};
|
|
14454
|
+
|
|
14455
|
+
export type ListSchedulesErrors = {
|
|
14456
|
+
/**
|
|
14457
|
+
* Validation Error
|
|
14458
|
+
*/
|
|
14459
|
+
422: HttpValidationError;
|
|
14460
|
+
};
|
|
14461
|
+
|
|
14462
|
+
export type ListSchedulesError = ListSchedulesErrors[keyof ListSchedulesErrors];
|
|
14463
|
+
|
|
14464
|
+
export type ListSchedulesResponses = {
|
|
14465
|
+
/**
|
|
14466
|
+
* Successful Response
|
|
14467
|
+
*/
|
|
14468
|
+
200: ScheduleListResponse;
|
|
14469
|
+
};
|
|
14470
|
+
|
|
14471
|
+
export type ListSchedulesResponse = ListSchedulesResponses[keyof ListSchedulesResponses];
|
|
14472
|
+
|
|
14473
|
+
export type CreateScheduleData = {
|
|
14474
|
+
body: CreateScheduleRequest;
|
|
14475
|
+
path: {
|
|
14476
|
+
/**
|
|
14477
|
+
* Graph Id
|
|
14478
|
+
*/
|
|
14479
|
+
graph_id: string;
|
|
14480
|
+
};
|
|
14481
|
+
query?: never;
|
|
14482
|
+
url: '/v1/ledger/{graph_id}/schedules';
|
|
14483
|
+
};
|
|
14484
|
+
|
|
14485
|
+
export type CreateScheduleErrors = {
|
|
14486
|
+
/**
|
|
14487
|
+
* Validation Error
|
|
14488
|
+
*/
|
|
14489
|
+
422: HttpValidationError;
|
|
14490
|
+
};
|
|
14491
|
+
|
|
14492
|
+
export type CreateScheduleError = CreateScheduleErrors[keyof CreateScheduleErrors];
|
|
14493
|
+
|
|
14494
|
+
export type CreateScheduleResponses = {
|
|
14495
|
+
/**
|
|
14496
|
+
* Successful Response
|
|
14497
|
+
*/
|
|
14498
|
+
201: ScheduleCreatedResponse;
|
|
14499
|
+
};
|
|
14500
|
+
|
|
14501
|
+
export type CreateScheduleResponse = CreateScheduleResponses[keyof CreateScheduleResponses];
|
|
14502
|
+
|
|
14503
|
+
export type GetScheduleFactsData = {
|
|
14504
|
+
body?: never;
|
|
14505
|
+
path: {
|
|
14506
|
+
/**
|
|
14507
|
+
* Graph Id
|
|
14508
|
+
*/
|
|
14509
|
+
graph_id: string;
|
|
14510
|
+
/**
|
|
14511
|
+
* Structure Id
|
|
14512
|
+
*
|
|
14513
|
+
* Schedule structure ID
|
|
14514
|
+
*/
|
|
14515
|
+
structure_id: string;
|
|
14516
|
+
};
|
|
14517
|
+
query?: {
|
|
14518
|
+
/**
|
|
14519
|
+
* Period Start
|
|
14520
|
+
*
|
|
14521
|
+
* Filter: period start
|
|
14522
|
+
*/
|
|
14523
|
+
period_start?: string | null;
|
|
14524
|
+
/**
|
|
14525
|
+
* Period End
|
|
14526
|
+
*
|
|
14527
|
+
* Filter: period end
|
|
14528
|
+
*/
|
|
14529
|
+
period_end?: string | null;
|
|
14530
|
+
};
|
|
14531
|
+
url: '/v1/ledger/{graph_id}/schedules/{structure_id}/facts';
|
|
14532
|
+
};
|
|
14533
|
+
|
|
14534
|
+
export type GetScheduleFactsErrors = {
|
|
14535
|
+
/**
|
|
14536
|
+
* Validation Error
|
|
14537
|
+
*/
|
|
14538
|
+
422: HttpValidationError;
|
|
14539
|
+
};
|
|
14540
|
+
|
|
14541
|
+
export type GetScheduleFactsError = GetScheduleFactsErrors[keyof GetScheduleFactsErrors];
|
|
14542
|
+
|
|
14543
|
+
export type GetScheduleFactsResponses = {
|
|
14544
|
+
/**
|
|
14545
|
+
* Successful Response
|
|
14546
|
+
*/
|
|
14547
|
+
200: ScheduleFactsResponse;
|
|
14548
|
+
};
|
|
14549
|
+
|
|
14550
|
+
export type GetScheduleFactsResponse = GetScheduleFactsResponses[keyof GetScheduleFactsResponses];
|
|
14551
|
+
|
|
14552
|
+
export type GetPeriodCloseStatusData = {
|
|
14553
|
+
body?: never;
|
|
14554
|
+
path: {
|
|
14555
|
+
/**
|
|
14556
|
+
* Graph Id
|
|
14557
|
+
*/
|
|
14558
|
+
graph_id: string;
|
|
14559
|
+
};
|
|
14560
|
+
query: {
|
|
14561
|
+
/**
|
|
14562
|
+
* Period Start
|
|
14563
|
+
*
|
|
14564
|
+
* Fiscal period start
|
|
14565
|
+
*/
|
|
14566
|
+
period_start: string;
|
|
14567
|
+
/**
|
|
14568
|
+
* Period End
|
|
14569
|
+
*
|
|
14570
|
+
* Fiscal period end
|
|
14571
|
+
*/
|
|
14572
|
+
period_end: string;
|
|
14573
|
+
};
|
|
14574
|
+
url: '/v1/ledger/{graph_id}/schedules/close-status';
|
|
14575
|
+
};
|
|
14576
|
+
|
|
14577
|
+
export type GetPeriodCloseStatusErrors = {
|
|
14578
|
+
/**
|
|
14579
|
+
* Validation Error
|
|
14580
|
+
*/
|
|
14581
|
+
422: HttpValidationError;
|
|
14582
|
+
};
|
|
14583
|
+
|
|
14584
|
+
export type GetPeriodCloseStatusError = GetPeriodCloseStatusErrors[keyof GetPeriodCloseStatusErrors];
|
|
14585
|
+
|
|
14586
|
+
export type GetPeriodCloseStatusResponses = {
|
|
14587
|
+
/**
|
|
14588
|
+
* Successful Response
|
|
14589
|
+
*/
|
|
14590
|
+
200: PeriodCloseStatusResponse;
|
|
14591
|
+
};
|
|
14592
|
+
|
|
14593
|
+
export type GetPeriodCloseStatusResponse = GetPeriodCloseStatusResponses[keyof GetPeriodCloseStatusResponses];
|
|
14594
|
+
|
|
14595
|
+
export type CreateClosingEntryData = {
|
|
14596
|
+
body: CreateClosingEntryRequest;
|
|
14597
|
+
path: {
|
|
14598
|
+
/**
|
|
14599
|
+
* Graph Id
|
|
14600
|
+
*/
|
|
14601
|
+
graph_id: string;
|
|
14602
|
+
/**
|
|
14603
|
+
* Structure Id
|
|
14604
|
+
*
|
|
14605
|
+
* Schedule structure ID
|
|
14606
|
+
*/
|
|
14607
|
+
structure_id: string;
|
|
14608
|
+
};
|
|
14609
|
+
query?: never;
|
|
14610
|
+
url: '/v1/ledger/{graph_id}/schedules/{structure_id}/closing-entry';
|
|
14611
|
+
};
|
|
14612
|
+
|
|
14613
|
+
export type CreateClosingEntryErrors = {
|
|
14614
|
+
/**
|
|
14615
|
+
* Validation Error
|
|
14616
|
+
*/
|
|
14617
|
+
422: HttpValidationError;
|
|
14618
|
+
};
|
|
14619
|
+
|
|
14620
|
+
export type CreateClosingEntryError = CreateClosingEntryErrors[keyof CreateClosingEntryErrors];
|
|
14621
|
+
|
|
14622
|
+
export type CreateClosingEntryResponses = {
|
|
14623
|
+
/**
|
|
14624
|
+
* Successful Response
|
|
14625
|
+
*/
|
|
14626
|
+
201: ClosingEntryResponse;
|
|
14627
|
+
};
|
|
14628
|
+
|
|
14629
|
+
export type CreateClosingEntryResponse = CreateClosingEntryResponses[keyof CreateClosingEntryResponses];
|
|
14630
|
+
|
|
14079
14631
|
export type ListPublishListsData = {
|
|
14080
14632
|
body?: never;
|
|
14081
14633
|
path: {
|