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