@robosystems/client 0.2.42 → 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.
Files changed (73) hide show
  1. package/extensions/LedgerClient.d.ts +88 -0
  2. package/extensions/LedgerClient.js +143 -0
  3. package/extensions/LedgerClient.ts +267 -0
  4. package/extensions/ReportClient.d.ts +14 -6
  5. package/extensions/ReportClient.js +19 -15
  6. package/extensions/ReportClient.ts +37 -21
  7. package/extensions/hooks.d.ts +1 -40
  8. package/extensions/hooks.js +0 -134
  9. package/extensions/hooks.ts +0 -156
  10. package/extensions/index.d.ts +2 -24
  11. package/extensions/index.js +1 -65
  12. package/extensions/index.test.ts +4 -38
  13. package/extensions/index.ts +0 -78
  14. package/index.ts +2 -2
  15. package/package.json +1 -1
  16. package/sdk/index.d.ts +2 -2
  17. package/sdk/index.js +11 -4
  18. package/sdk/index.ts +2 -2
  19. package/sdk/sdk.gen.d.ts +51 -9
  20. package/sdk/sdk.gen.js +105 -16
  21. package/sdk/sdk.gen.ts +101 -12
  22. package/sdk/types.gen.d.ts +812 -146
  23. package/sdk/types.gen.ts +844 -128
  24. package/sdk-extensions/LedgerClient.d.ts +88 -0
  25. package/sdk-extensions/LedgerClient.js +143 -0
  26. package/sdk-extensions/LedgerClient.ts +267 -0
  27. package/sdk-extensions/ReportClient.d.ts +14 -6
  28. package/sdk-extensions/ReportClient.js +19 -15
  29. package/sdk-extensions/ReportClient.ts +37 -21
  30. package/sdk-extensions/hooks.d.ts +1 -40
  31. package/sdk-extensions/hooks.js +0 -134
  32. package/sdk-extensions/hooks.ts +0 -156
  33. package/sdk-extensions/index.d.ts +2 -24
  34. package/sdk-extensions/index.js +1 -65
  35. package/sdk-extensions/index.test.ts +4 -38
  36. package/sdk-extensions/index.ts +0 -78
  37. package/sdk.gen.d.ts +51 -9
  38. package/sdk.gen.js +105 -16
  39. package/sdk.gen.ts +101 -12
  40. package/types.gen.d.ts +812 -146
  41. package/types.gen.ts +844 -128
  42. package/extensions/DocumentClient.d.ts +0 -77
  43. package/extensions/DocumentClient.js +0 -136
  44. package/extensions/DocumentClient.ts +0 -232
  45. package/extensions/FileClient.d.ts +0 -57
  46. package/extensions/FileClient.js +0 -246
  47. package/extensions/FileClient.ts +0 -330
  48. package/extensions/GraphClient.d.ts +0 -91
  49. package/extensions/GraphClient.js +0 -244
  50. package/extensions/GraphClient.test.ts +0 -455
  51. package/extensions/GraphClient.ts +0 -371
  52. package/extensions/MaterializationClient.d.ts +0 -61
  53. package/extensions/MaterializationClient.js +0 -157
  54. package/extensions/MaterializationClient.ts +0 -223
  55. package/extensions/TableClient.d.ts +0 -38
  56. package/extensions/TableClient.js +0 -92
  57. package/extensions/TableClient.ts +0 -132
  58. package/sdk-extensions/DocumentClient.d.ts +0 -77
  59. package/sdk-extensions/DocumentClient.js +0 -136
  60. package/sdk-extensions/DocumentClient.ts +0 -232
  61. package/sdk-extensions/FileClient.d.ts +0 -57
  62. package/sdk-extensions/FileClient.js +0 -246
  63. package/sdk-extensions/FileClient.ts +0 -330
  64. package/sdk-extensions/GraphClient.d.ts +0 -91
  65. package/sdk-extensions/GraphClient.js +0 -244
  66. package/sdk-extensions/GraphClient.test.ts +0 -455
  67. package/sdk-extensions/GraphClient.ts +0 -371
  68. package/sdk-extensions/MaterializationClient.d.ts +0 -61
  69. package/sdk-extensions/MaterializationClient.js +0 -157
  70. package/sdk-extensions/MaterializationClient.ts +0 -223
  71. package/sdk-extensions/TableClient.d.ts +0 -38
  72. package/sdk-extensions/TableClient.js +0 -92
  73. 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
  */
@@ -2466,12 +2642,76 @@ export type DetailedTransactionsResponse = {
2466
2642
  };
2467
2643
  };
2468
2644
 
2645
+ /**
2646
+ * DocumentDetailResponse
2647
+ *
2648
+ * Full document detail with raw content.
2649
+ */
2650
+ export type DocumentDetailResponse = {
2651
+ /**
2652
+ * Id
2653
+ */
2654
+ id: string;
2655
+ /**
2656
+ * Graph Id
2657
+ */
2658
+ graph_id: string;
2659
+ /**
2660
+ * User Id
2661
+ */
2662
+ user_id: string;
2663
+ /**
2664
+ * Title
2665
+ */
2666
+ title: string;
2667
+ /**
2668
+ * Content
2669
+ */
2670
+ content: string;
2671
+ /**
2672
+ * Tags
2673
+ */
2674
+ tags?: Array<string> | null;
2675
+ /**
2676
+ * Folder
2677
+ */
2678
+ folder?: string | null;
2679
+ /**
2680
+ * External Id
2681
+ */
2682
+ external_id?: string | null;
2683
+ /**
2684
+ * Source Type
2685
+ */
2686
+ source_type: string;
2687
+ /**
2688
+ * Source Provider
2689
+ */
2690
+ source_provider?: string | null;
2691
+ /**
2692
+ * Sections Indexed
2693
+ */
2694
+ sections_indexed: number;
2695
+ /**
2696
+ * Created At
2697
+ */
2698
+ created_at: string;
2699
+ /**
2700
+ * Updated At
2701
+ */
2702
+ updated_at: string;
2703
+ };
2704
+
2469
2705
  /**
2470
2706
  * DocumentListItem
2471
2707
  *
2472
2708
  * A document in the document list.
2473
2709
  */
2474
2710
  export type DocumentListItem = {
2711
+ /**
2712
+ * Id
2713
+ */
2714
+ id: string;
2475
2715
  /**
2476
2716
  * Document Title
2477
2717
  */
@@ -2493,9 +2733,13 @@ export type DocumentListItem = {
2493
2733
  */
2494
2734
  tags?: Array<string> | null;
2495
2735
  /**
2496
- * Last Indexed
2736
+ * Created At
2737
+ */
2738
+ created_at: string;
2739
+ /**
2740
+ * Updated At
2497
2741
  */
2498
- last_indexed?: string | null;
2742
+ updated_at: string;
2499
2743
  };
2500
2744
 
2501
2745
  /**
@@ -2610,6 +2854,30 @@ export type DocumentSection = {
2610
2854
  folder?: string | null;
2611
2855
  };
2612
2856
 
2857
+ /**
2858
+ * DocumentUpdateRequest
2859
+ *
2860
+ * Update a document's metadata and/or content.
2861
+ */
2862
+ export type DocumentUpdateRequest = {
2863
+ /**
2864
+ * Title
2865
+ */
2866
+ title?: string | null;
2867
+ /**
2868
+ * Content
2869
+ */
2870
+ content?: string | null;
2871
+ /**
2872
+ * Tags
2873
+ */
2874
+ tags?: Array<string> | null;
2875
+ /**
2876
+ * Folder
2877
+ */
2878
+ folder?: string | null;
2879
+ };
2880
+
2613
2881
  /**
2614
2882
  * DocumentUploadRequest
2615
2883
  *
@@ -2654,6 +2922,10 @@ export type DocumentUploadRequest = {
2654
2922
  * Response from document upload.
2655
2923
  */
2656
2924
  export type DocumentUploadResponse = {
2925
+ /**
2926
+ * Id
2927
+ */
2928
+ id: string;
2657
2929
  /**
2658
2930
  * Document Id
2659
2931
  */
@@ -2704,68 +2976,6 @@ export type DownloadQuota = {
2704
2976
  resets_at: string;
2705
2977
  };
2706
2978
 
2707
- /**
2708
- * ElementAssociationResponse
2709
- */
2710
- export type ElementAssociationResponse = {
2711
- /**
2712
- * Id
2713
- */
2714
- id: string;
2715
- /**
2716
- * Structure Id
2717
- */
2718
- structure_id: string;
2719
- /**
2720
- * From Element Id
2721
- */
2722
- from_element_id: string;
2723
- /**
2724
- * From Element Name
2725
- */
2726
- from_element_name?: string | null;
2727
- /**
2728
- * From Element Qname
2729
- */
2730
- from_element_qname?: string | null;
2731
- /**
2732
- * To Element Id
2733
- */
2734
- to_element_id: string;
2735
- /**
2736
- * To Element Name
2737
- */
2738
- to_element_name?: string | null;
2739
- /**
2740
- * To Element Qname
2741
- */
2742
- to_element_qname?: string | null;
2743
- /**
2744
- * Association Type
2745
- */
2746
- association_type: string;
2747
- /**
2748
- * Order Value
2749
- */
2750
- order_value?: number | null;
2751
- /**
2752
- * Weight
2753
- */
2754
- weight?: number | null;
2755
- /**
2756
- * Confidence
2757
- */
2758
- confidence?: number | null;
2759
- /**
2760
- * Suggested By
2761
- */
2762
- suggested_by?: string | null;
2763
- /**
2764
- * Approved By
2765
- */
2766
- approved_by?: string | null;
2767
- };
2768
-
2769
2979
  /**
2770
2980
  * ElementListResponse
2771
2981
  */
@@ -2943,6 +3153,36 @@ export type EnhancedFileStatusLayers = {
2943
3153
  graph: FileLayerStatus;
2944
3154
  };
2945
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
+
2946
3186
  /**
2947
3187
  * ErrorResponse
2948
3188
  *
@@ -2999,13 +3239,9 @@ export type FactRowResponse = {
2999
3239
  */
3000
3240
  classification: string;
3001
3241
  /**
3002
- * Current Value
3003
- */
3004
- current_value: number;
3005
- /**
3006
- * Prior Value
3242
+ * Values
3007
3243
  */
3008
- prior_value?: number | null;
3244
+ values?: Array<number | null>;
3009
3245
  /**
3010
3246
  * Is Subtotal
3011
3247
  */
@@ -4977,7 +5213,7 @@ export type MappingDetailResponse = {
4977
5213
  /**
4978
5214
  * Associations
4979
5215
  */
4980
- associations: Array<ElementAssociationResponse>;
5216
+ associations: Array<AssociationResponse>;
4981
5217
  /**
4982
5218
  * Total Associations
4983
5219
  */
@@ -5778,6 +6014,82 @@ export type PerformanceInsights = {
5778
6014
  performance_score: number;
5779
6015
  };
5780
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
+
5781
6093
  /**
5782
6094
  * PortalSessionResponse
5783
6095
  *
@@ -6140,13 +6452,19 @@ export type RegenerateReportRequest = {
6140
6452
  *
6141
6453
  * New period start date
6142
6454
  */
6143
- period_start: string;
6455
+ period_start?: string | null;
6144
6456
  /**
6145
6457
  * Period End
6146
6458
  *
6147
6459
  * New period end date
6148
6460
  */
6149
- period_end: string;
6461
+ period_end?: string | null;
6462
+ /**
6463
+ * Periods
6464
+ *
6465
+ * New period columns. Overrides period_start/period_end.
6466
+ */
6467
+ periods?: Array<PeriodSpec> | null;
6150
6468
  };
6151
6469
 
6152
6470
  /**
@@ -6229,6 +6547,10 @@ export type ReportResponse = {
6229
6547
  * Comparative
6230
6548
  */
6231
6549
  comparative: boolean;
6550
+ /**
6551
+ * Periods
6552
+ */
6553
+ periods?: Array<PeriodSpec> | null;
6232
6554
  /**
6233
6555
  * Mapping Id
6234
6556
  */
@@ -6466,37 +6788,187 @@ export type SsoExchangeResponse = {
6466
6788
  */
6467
6789
  redirect_url: string;
6468
6790
  /**
6469
- * Expires At
6470
- *
6471
- * Session expiration time
6791
+ * Expires At
6792
+ *
6793
+ * Session expiration time
6794
+ */
6795
+ expires_at: string;
6796
+ };
6797
+
6798
+ /**
6799
+ * SSOTokenResponse
6800
+ *
6801
+ * SSO token response model.
6802
+ */
6803
+ export type SsoTokenResponse = {
6804
+ /**
6805
+ * Token
6806
+ *
6807
+ * Temporary SSO token for cross-app authentication
6808
+ */
6809
+ token: string;
6810
+ /**
6811
+ * Expires At
6812
+ *
6813
+ * Token expiration time
6814
+ */
6815
+ expires_at: string;
6816
+ /**
6817
+ * Apps
6818
+ *
6819
+ * Available apps for this user
6820
+ */
6821
+ apps: Array<string>;
6822
+ };
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
6472
6954
  */
6473
- expires_at: string;
6474
- };
6475
-
6476
- /**
6477
- * SSOTokenResponse
6478
- *
6479
- * SSO token response model.
6480
- */
6481
- export type SsoTokenResponse = {
6955
+ entry_template?: {
6956
+ [key: string]: unknown;
6957
+ } | null;
6482
6958
  /**
6483
- * Token
6484
- *
6485
- * Temporary SSO token for cross-app authentication
6959
+ * Schedule Metadata
6486
6960
  */
6487
- token: string;
6961
+ schedule_metadata?: {
6962
+ [key: string]: unknown;
6963
+ } | null;
6488
6964
  /**
6489
- * Expires At
6490
- *
6491
- * Token expiration time
6965
+ * Total Periods
6492
6966
  */
6493
- expires_at: string;
6967
+ total_periods: number;
6494
6968
  /**
6495
- * Apps
6496
- *
6497
- * Available apps for this user
6969
+ * Periods With Entries
6498
6970
  */
6499
- apps: Array<string>;
6971
+ periods_with_entries: number;
6500
6972
  };
6501
6973
 
6502
6974
  /**
@@ -7060,21 +7532,9 @@ export type StatementResponse = {
7060
7532
  */
7061
7533
  structure_type: string;
7062
7534
  /**
7063
- * Period Start
7064
- */
7065
- period_start: string;
7066
- /**
7067
- * Period End
7068
- */
7069
- period_end: string;
7070
- /**
7071
- * Comparative Period Start
7072
- */
7073
- comparative_period_start?: string | null;
7074
- /**
7075
- * Comparative Period End
7535
+ * Periods
7076
7536
  */
7077
- comparative_period_end?: string | null;
7537
+ periods?: Array<PeriodSpec>;
7078
7538
  /**
7079
7539
  * Rows
7080
7540
  */
@@ -11735,37 +12195,41 @@ export type UploadDocumentResponses = {
11735
12195
 
11736
12196
  export type UploadDocumentResponse = UploadDocumentResponses[keyof UploadDocumentResponses];
11737
12197
 
11738
- export type UploadDocumentsBulkData = {
11739
- body: BulkDocumentUploadRequest;
12198
+ export type DeleteDocumentData = {
12199
+ body?: never;
11740
12200
  path: {
11741
12201
  /**
11742
12202
  * Graph Id
11743
12203
  */
11744
12204
  graph_id: string;
12205
+ /**
12206
+ * Document Id
12207
+ */
12208
+ document_id: string;
11745
12209
  };
11746
12210
  query?: never;
11747
- url: '/v1/graphs/{graph_id}/documents/bulk';
12211
+ url: '/v1/graphs/{graph_id}/documents/{document_id}';
11748
12212
  };
11749
12213
 
11750
- export type UploadDocumentsBulkErrors = {
12214
+ export type DeleteDocumentErrors = {
11751
12215
  /**
11752
12216
  * Validation Error
11753
12217
  */
11754
12218
  422: HttpValidationError;
11755
12219
  };
11756
12220
 
11757
- export type UploadDocumentsBulkError = UploadDocumentsBulkErrors[keyof UploadDocumentsBulkErrors];
12221
+ export type DeleteDocumentError = DeleteDocumentErrors[keyof DeleteDocumentErrors];
11758
12222
 
11759
- export type UploadDocumentsBulkResponses = {
12223
+ export type DeleteDocumentResponses = {
11760
12224
  /**
11761
12225
  * Successful Response
11762
12226
  */
11763
- 200: BulkDocumentUploadResponse;
12227
+ 204: void;
11764
12228
  };
11765
12229
 
11766
- export type UploadDocumentsBulkResponse = UploadDocumentsBulkResponses[keyof UploadDocumentsBulkResponses];
12230
+ export type DeleteDocumentResponse = DeleteDocumentResponses[keyof DeleteDocumentResponses];
11767
12231
 
11768
- export type DeleteDocumentData = {
12232
+ export type GetDocumentData = {
11769
12233
  body?: never;
11770
12234
  path: {
11771
12235
  /**
@@ -11781,23 +12245,87 @@ export type DeleteDocumentData = {
11781
12245
  url: '/v1/graphs/{graph_id}/documents/{document_id}';
11782
12246
  };
11783
12247
 
11784
- export type DeleteDocumentErrors = {
12248
+ export type GetDocumentErrors = {
11785
12249
  /**
11786
12250
  * Validation Error
11787
12251
  */
11788
12252
  422: HttpValidationError;
11789
12253
  };
11790
12254
 
11791
- export type DeleteDocumentError = DeleteDocumentErrors[keyof DeleteDocumentErrors];
12255
+ export type GetDocumentError = GetDocumentErrors[keyof GetDocumentErrors];
11792
12256
 
11793
- export type DeleteDocumentResponses = {
12257
+ export type GetDocumentResponses = {
11794
12258
  /**
11795
12259
  * Successful Response
11796
12260
  */
11797
- 204: void;
12261
+ 200: DocumentDetailResponse;
11798
12262
  };
11799
12263
 
11800
- export type DeleteDocumentResponse = DeleteDocumentResponses[keyof DeleteDocumentResponses];
12264
+ export type GetDocumentResponse = GetDocumentResponses[keyof GetDocumentResponses];
12265
+
12266
+ export type UpdateDocumentData = {
12267
+ body: DocumentUpdateRequest;
12268
+ path: {
12269
+ /**
12270
+ * Graph Id
12271
+ */
12272
+ graph_id: string;
12273
+ /**
12274
+ * Document Id
12275
+ */
12276
+ document_id: string;
12277
+ };
12278
+ query?: never;
12279
+ url: '/v1/graphs/{graph_id}/documents/{document_id}';
12280
+ };
12281
+
12282
+ export type UpdateDocumentErrors = {
12283
+ /**
12284
+ * Validation Error
12285
+ */
12286
+ 422: HttpValidationError;
12287
+ };
12288
+
12289
+ export type UpdateDocumentError = UpdateDocumentErrors[keyof UpdateDocumentErrors];
12290
+
12291
+ export type UpdateDocumentResponses = {
12292
+ /**
12293
+ * Successful Response
12294
+ */
12295
+ 200: DocumentUploadResponse;
12296
+ };
12297
+
12298
+ export type UpdateDocumentResponse = UpdateDocumentResponses[keyof UpdateDocumentResponses];
12299
+
12300
+ export type UploadDocumentsBulkData = {
12301
+ body: BulkDocumentUploadRequest;
12302
+ path: {
12303
+ /**
12304
+ * Graph Id
12305
+ */
12306
+ graph_id: string;
12307
+ };
12308
+ query?: never;
12309
+ url: '/v1/graphs/{graph_id}/documents/bulk';
12310
+ };
12311
+
12312
+ export type UploadDocumentsBulkErrors = {
12313
+ /**
12314
+ * Validation Error
12315
+ */
12316
+ 422: HttpValidationError;
12317
+ };
12318
+
12319
+ export type UploadDocumentsBulkError = UploadDocumentsBulkErrors[keyof UploadDocumentsBulkErrors];
12320
+
12321
+ export type UploadDocumentsBulkResponses = {
12322
+ /**
12323
+ * Successful Response
12324
+ */
12325
+ 200: BulkDocumentUploadResponse;
12326
+ };
12327
+
12328
+ export type UploadDocumentsBulkResponse = UploadDocumentsBulkResponses[keyof UploadDocumentsBulkResponses];
11801
12329
 
11802
12330
  export type GetMaterializationStatusData = {
11803
12331
  body?: never;
@@ -13348,7 +13876,7 @@ export type CreateMappingAssociationResponses = {
13348
13876
  /**
13349
13877
  * Successful Response
13350
13878
  */
13351
- 201: ElementAssociationResponse;
13879
+ 201: AssociationResponse;
13352
13880
  };
13353
13881
 
13354
13882
  export type CreateMappingAssociationResponse = CreateMappingAssociationResponses[keyof CreateMappingAssociationResponses];
@@ -13912,6 +14440,194 @@ export type ShareReportResponses = {
13912
14440
 
13913
14441
  export type ShareReportResponse2 = ShareReportResponses[keyof ShareReportResponses];
13914
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
+
13915
14631
  export type ListPublishListsData = {
13916
14632
  body?: never;
13917
14633
  path: {