@vrplatform/api 1.3.0-stage.1146 → 1.3.0-stage.1153

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.
@@ -1834,6 +1834,40 @@ export interface paths {
1834
1834
  patch?: never;
1835
1835
  trace?: never;
1836
1836
  };
1837
+ "/reports/trial-balance": {
1838
+ parameters: {
1839
+ query?: never;
1840
+ header?: never;
1841
+ path?: never;
1842
+ cookie?: never;
1843
+ };
1844
+ /** @description Trial balance report */
1845
+ get: operations["getTrialBalanceReport"];
1846
+ put?: never;
1847
+ post?: never;
1848
+ delete?: never;
1849
+ options?: never;
1850
+ head?: never;
1851
+ patch?: never;
1852
+ trace?: never;
1853
+ };
1854
+ "/reports/trial-balance/csv": {
1855
+ parameters: {
1856
+ query?: never;
1857
+ header?: never;
1858
+ path?: never;
1859
+ cookie?: never;
1860
+ };
1861
+ /** @description Trial balance report (CSV) */
1862
+ get: operations["getTrialBalanceReportCsv"];
1863
+ put?: never;
1864
+ post?: never;
1865
+ delete?: never;
1866
+ options?: never;
1867
+ head?: never;
1868
+ patch?: never;
1869
+ trace?: never;
1870
+ };
1837
1871
  "/calendar-blocks": {
1838
1872
  parameters: {
1839
1873
  query?: never;
@@ -23820,6 +23854,176 @@ export interface operations {
23820
23854
  };
23821
23855
  };
23822
23856
  };
23857
+ getTrialBalanceReport: {
23858
+ parameters: {
23859
+ query: {
23860
+ startDate: string;
23861
+ endDate: string;
23862
+ classification?: ("asset" | "expense" | "liability" | "revenue")[];
23863
+ type?: "bank" | "ledger";
23864
+ party?: "owners" | "manager";
23865
+ };
23866
+ header?: {
23867
+ "X-Team-Id"?: string;
23868
+ };
23869
+ path?: never;
23870
+ cookie?: never;
23871
+ };
23872
+ requestBody?: never;
23873
+ responses: {
23874
+ /** @description Successful response */
23875
+ 200: {
23876
+ headers: {
23877
+ [name: string]: unknown;
23878
+ };
23879
+ content: {
23880
+ "application/json": {
23881
+ unassignedOpeningBalance: number;
23882
+ unassignedEntries: {
23883
+ id: string;
23884
+ centTotal: number;
23885
+ txnNum: number | null;
23886
+ description: string | null;
23887
+ uniqueRef: string | null;
23888
+ }[];
23889
+ accounts: {
23890
+ id: string;
23891
+ title: string;
23892
+ classification: string | null;
23893
+ openingBalance: number;
23894
+ entries: {
23895
+ id: string;
23896
+ centTotal: number;
23897
+ txnNum: number | null;
23898
+ description: string | null;
23899
+ uniqueRef: string | null;
23900
+ }[];
23901
+ }[];
23902
+ };
23903
+ };
23904
+ };
23905
+ /** @description Invalid input data */
23906
+ 400: {
23907
+ headers: {
23908
+ [name: string]: unknown;
23909
+ };
23910
+ content: {
23911
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23912
+ };
23913
+ };
23914
+ /** @description Authorization not provided */
23915
+ 401: {
23916
+ headers: {
23917
+ [name: string]: unknown;
23918
+ };
23919
+ content: {
23920
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23921
+ };
23922
+ };
23923
+ /** @description Insufficient access */
23924
+ 403: {
23925
+ headers: {
23926
+ [name: string]: unknown;
23927
+ };
23928
+ content: {
23929
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23930
+ };
23931
+ };
23932
+ /** @description Not found */
23933
+ 404: {
23934
+ headers: {
23935
+ [name: string]: unknown;
23936
+ };
23937
+ content: {
23938
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23939
+ };
23940
+ };
23941
+ /** @description Internal server error */
23942
+ 500: {
23943
+ headers: {
23944
+ [name: string]: unknown;
23945
+ };
23946
+ content: {
23947
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23948
+ };
23949
+ };
23950
+ };
23951
+ };
23952
+ getTrialBalanceReportCsv: {
23953
+ parameters: {
23954
+ query: {
23955
+ startDate: string;
23956
+ endDate: string;
23957
+ classification?: ("asset" | "expense" | "liability" | "revenue")[];
23958
+ type?: "bank" | "ledger";
23959
+ party?: "owners" | "manager";
23960
+ };
23961
+ header?: {
23962
+ "X-Team-Id"?: string;
23963
+ };
23964
+ path?: never;
23965
+ cookie?: never;
23966
+ };
23967
+ requestBody?: never;
23968
+ responses: {
23969
+ /** @description Successful response */
23970
+ 200: {
23971
+ headers: {
23972
+ [name: string]: unknown;
23973
+ };
23974
+ content: {
23975
+ "application/json": {
23976
+ url: string;
23977
+ };
23978
+ };
23979
+ };
23980
+ /** @description Invalid input data */
23981
+ 400: {
23982
+ headers: {
23983
+ [name: string]: unknown;
23984
+ };
23985
+ content: {
23986
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23987
+ };
23988
+ };
23989
+ /** @description Authorization not provided */
23990
+ 401: {
23991
+ headers: {
23992
+ [name: string]: unknown;
23993
+ };
23994
+ content: {
23995
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23996
+ };
23997
+ };
23998
+ /** @description Insufficient access */
23999
+ 403: {
24000
+ headers: {
24001
+ [name: string]: unknown;
24002
+ };
24003
+ content: {
24004
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24005
+ };
24006
+ };
24007
+ /** @description Not found */
24008
+ 404: {
24009
+ headers: {
24010
+ [name: string]: unknown;
24011
+ };
24012
+ content: {
24013
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24014
+ };
24015
+ };
24016
+ /** @description Internal server error */
24017
+ 500: {
24018
+ headers: {
24019
+ [name: string]: unknown;
24020
+ };
24021
+ content: {
24022
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24023
+ };
24024
+ };
24025
+ };
24026
+ };
23823
24027
  getCalendar: {
23824
24028
  parameters: {
23825
24029
  query: {