@vrplatform/api 1.3.0-stage.1171 → 1.3.0-stage.1172
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.
|
@@ -1936,6 +1936,40 @@ export interface paths {
|
|
|
1936
1936
|
patch?: never;
|
|
1937
1937
|
trace?: never;
|
|
1938
1938
|
};
|
|
1939
|
+
"/reports/balance-sheet": {
|
|
1940
|
+
parameters: {
|
|
1941
|
+
query?: never;
|
|
1942
|
+
header?: never;
|
|
1943
|
+
path?: never;
|
|
1944
|
+
cookie?: never;
|
|
1945
|
+
};
|
|
1946
|
+
/** @description Balance sheet report by month, quarter, or year (as-of view) */
|
|
1947
|
+
get: operations["getBalanceSheetReport"];
|
|
1948
|
+
put?: never;
|
|
1949
|
+
post?: never;
|
|
1950
|
+
delete?: never;
|
|
1951
|
+
options?: never;
|
|
1952
|
+
head?: never;
|
|
1953
|
+
patch?: never;
|
|
1954
|
+
trace?: never;
|
|
1955
|
+
};
|
|
1956
|
+
"/reports/balance-sheet/csv": {
|
|
1957
|
+
parameters: {
|
|
1958
|
+
query?: never;
|
|
1959
|
+
header?: never;
|
|
1960
|
+
path?: never;
|
|
1961
|
+
cookie?: never;
|
|
1962
|
+
};
|
|
1963
|
+
/** @description Balance sheet report (CSV) */
|
|
1964
|
+
get: operations["getBalanceSheetReportCsv"];
|
|
1965
|
+
put?: never;
|
|
1966
|
+
post?: never;
|
|
1967
|
+
delete?: never;
|
|
1968
|
+
options?: never;
|
|
1969
|
+
head?: never;
|
|
1970
|
+
patch?: never;
|
|
1971
|
+
trace?: never;
|
|
1972
|
+
};
|
|
1939
1973
|
"/calendar-blocks": {
|
|
1940
1974
|
parameters: {
|
|
1941
1975
|
query?: never;
|
|
@@ -2433,6 +2467,39 @@ export interface components {
|
|
|
2433
2467
|
total: number;
|
|
2434
2468
|
values: components["schemas"]["ProfitAndLossValueCell"][];
|
|
2435
2469
|
};
|
|
2470
|
+
BalanceSheetGroup: {
|
|
2471
|
+
id: string;
|
|
2472
|
+
title: string;
|
|
2473
|
+
total: number;
|
|
2474
|
+
values: {
|
|
2475
|
+
id: string;
|
|
2476
|
+
title: string;
|
|
2477
|
+
total: number;
|
|
2478
|
+
}[];
|
|
2479
|
+
categories?: components["schemas"]["BalanceSheetCategory"][];
|
|
2480
|
+
groups?: components["schemas"]["BalanceSheetGroup"][];
|
|
2481
|
+
};
|
|
2482
|
+
BalanceSheetCategory: {
|
|
2483
|
+
id: string;
|
|
2484
|
+
title: string;
|
|
2485
|
+
total: number;
|
|
2486
|
+
values: {
|
|
2487
|
+
id: string;
|
|
2488
|
+
title: string;
|
|
2489
|
+
total: number;
|
|
2490
|
+
}[];
|
|
2491
|
+
accounts?: {
|
|
2492
|
+
id: string;
|
|
2493
|
+
title: string;
|
|
2494
|
+
categoryId: string;
|
|
2495
|
+
total: number;
|
|
2496
|
+
values: {
|
|
2497
|
+
id: string;
|
|
2498
|
+
title: string;
|
|
2499
|
+
total: number;
|
|
2500
|
+
}[];
|
|
2501
|
+
}[];
|
|
2502
|
+
};
|
|
2436
2503
|
/** @description Setting representation returned from GET routes with normalized { id, name, type } value payload. */
|
|
2437
2504
|
FlowSettingItemGet: {
|
|
2438
2505
|
/** Format: uuid */
|
|
@@ -24673,6 +24740,152 @@ export interface operations {
|
|
|
24673
24740
|
};
|
|
24674
24741
|
};
|
|
24675
24742
|
};
|
|
24743
|
+
getBalanceSheetReport: {
|
|
24744
|
+
parameters: {
|
|
24745
|
+
query?: {
|
|
24746
|
+
view?: "month" | "quarter" | "year";
|
|
24747
|
+
startDate?: string;
|
|
24748
|
+
endDate?: string;
|
|
24749
|
+
};
|
|
24750
|
+
header?: {
|
|
24751
|
+
"X-Team-Id"?: string;
|
|
24752
|
+
};
|
|
24753
|
+
path?: never;
|
|
24754
|
+
cookie?: never;
|
|
24755
|
+
};
|
|
24756
|
+
requestBody?: never;
|
|
24757
|
+
responses: {
|
|
24758
|
+
/** @description Successful response */
|
|
24759
|
+
200: {
|
|
24760
|
+
headers: {
|
|
24761
|
+
[name: string]: unknown;
|
|
24762
|
+
};
|
|
24763
|
+
content: {
|
|
24764
|
+
"application/json": {
|
|
24765
|
+
balanceSheet: components["schemas"]["BalanceSheetGroup"] | null;
|
|
24766
|
+
};
|
|
24767
|
+
};
|
|
24768
|
+
};
|
|
24769
|
+
/** @description Invalid input data */
|
|
24770
|
+
400: {
|
|
24771
|
+
headers: {
|
|
24772
|
+
[name: string]: unknown;
|
|
24773
|
+
};
|
|
24774
|
+
content: {
|
|
24775
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24776
|
+
};
|
|
24777
|
+
};
|
|
24778
|
+
/** @description Authorization not provided */
|
|
24779
|
+
401: {
|
|
24780
|
+
headers: {
|
|
24781
|
+
[name: string]: unknown;
|
|
24782
|
+
};
|
|
24783
|
+
content: {
|
|
24784
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24785
|
+
};
|
|
24786
|
+
};
|
|
24787
|
+
/** @description Insufficient access */
|
|
24788
|
+
403: {
|
|
24789
|
+
headers: {
|
|
24790
|
+
[name: string]: unknown;
|
|
24791
|
+
};
|
|
24792
|
+
content: {
|
|
24793
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24794
|
+
};
|
|
24795
|
+
};
|
|
24796
|
+
/** @description Not found */
|
|
24797
|
+
404: {
|
|
24798
|
+
headers: {
|
|
24799
|
+
[name: string]: unknown;
|
|
24800
|
+
};
|
|
24801
|
+
content: {
|
|
24802
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24803
|
+
};
|
|
24804
|
+
};
|
|
24805
|
+
/** @description Internal server error */
|
|
24806
|
+
500: {
|
|
24807
|
+
headers: {
|
|
24808
|
+
[name: string]: unknown;
|
|
24809
|
+
};
|
|
24810
|
+
content: {
|
|
24811
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24812
|
+
};
|
|
24813
|
+
};
|
|
24814
|
+
};
|
|
24815
|
+
};
|
|
24816
|
+
getBalanceSheetReportCsv: {
|
|
24817
|
+
parameters: {
|
|
24818
|
+
query?: {
|
|
24819
|
+
view?: "month" | "quarter" | "year";
|
|
24820
|
+
startDate?: string;
|
|
24821
|
+
endDate?: string;
|
|
24822
|
+
};
|
|
24823
|
+
header?: {
|
|
24824
|
+
"X-Team-Id"?: string;
|
|
24825
|
+
};
|
|
24826
|
+
path?: never;
|
|
24827
|
+
cookie?: never;
|
|
24828
|
+
};
|
|
24829
|
+
requestBody?: never;
|
|
24830
|
+
responses: {
|
|
24831
|
+
/** @description Successful response */
|
|
24832
|
+
200: {
|
|
24833
|
+
headers: {
|
|
24834
|
+
[name: string]: unknown;
|
|
24835
|
+
};
|
|
24836
|
+
content: {
|
|
24837
|
+
"application/json": {
|
|
24838
|
+
url: string;
|
|
24839
|
+
};
|
|
24840
|
+
};
|
|
24841
|
+
};
|
|
24842
|
+
/** @description Invalid input data */
|
|
24843
|
+
400: {
|
|
24844
|
+
headers: {
|
|
24845
|
+
[name: string]: unknown;
|
|
24846
|
+
};
|
|
24847
|
+
content: {
|
|
24848
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24849
|
+
};
|
|
24850
|
+
};
|
|
24851
|
+
/** @description Authorization not provided */
|
|
24852
|
+
401: {
|
|
24853
|
+
headers: {
|
|
24854
|
+
[name: string]: unknown;
|
|
24855
|
+
};
|
|
24856
|
+
content: {
|
|
24857
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24858
|
+
};
|
|
24859
|
+
};
|
|
24860
|
+
/** @description Insufficient access */
|
|
24861
|
+
403: {
|
|
24862
|
+
headers: {
|
|
24863
|
+
[name: string]: unknown;
|
|
24864
|
+
};
|
|
24865
|
+
content: {
|
|
24866
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24867
|
+
};
|
|
24868
|
+
};
|
|
24869
|
+
/** @description Not found */
|
|
24870
|
+
404: {
|
|
24871
|
+
headers: {
|
|
24872
|
+
[name: string]: unknown;
|
|
24873
|
+
};
|
|
24874
|
+
content: {
|
|
24875
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24876
|
+
};
|
|
24877
|
+
};
|
|
24878
|
+
/** @description Internal server error */
|
|
24879
|
+
500: {
|
|
24880
|
+
headers: {
|
|
24881
|
+
[name: string]: unknown;
|
|
24882
|
+
};
|
|
24883
|
+
content: {
|
|
24884
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24885
|
+
};
|
|
24886
|
+
};
|
|
24887
|
+
};
|
|
24888
|
+
};
|
|
24676
24889
|
getCalendar: {
|
|
24677
24890
|
parameters: {
|
|
24678
24891
|
query: {
|