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