@vrplatform/api 1.3.0-stage.1146 → 1.3.0-stage.1154
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;
|
|
@@ -1961,7 +1995,7 @@ export interface paths {
|
|
|
1961
1995
|
path?: never;
|
|
1962
1996
|
cookie?: never;
|
|
1963
1997
|
};
|
|
1964
|
-
/** @description List flow mapping entry for a specific key */
|
|
1998
|
+
/** @description List flow mapping entry for a specific key or get a specific mapping entry by sourceId */
|
|
1965
1999
|
get: operations["getFlowMapping"];
|
|
1966
2000
|
put?: never;
|
|
1967
2001
|
/** @description Create, update or delete a flow mapping entry */
|
|
@@ -2024,6 +2058,23 @@ export interface paths {
|
|
|
2024
2058
|
patch?: never;
|
|
2025
2059
|
trace?: never;
|
|
2026
2060
|
};
|
|
2061
|
+
"/flows/{id}/{connectionId}/settings/{settingKey}/options": {
|
|
2062
|
+
parameters: {
|
|
2063
|
+
query?: never;
|
|
2064
|
+
header?: never;
|
|
2065
|
+
path?: never;
|
|
2066
|
+
cookie?: never;
|
|
2067
|
+
};
|
|
2068
|
+
/** @description List available options for a flow setting */
|
|
2069
|
+
get: operations["getFlowSettingOptions"];
|
|
2070
|
+
put?: never;
|
|
2071
|
+
post?: never;
|
|
2072
|
+
delete?: never;
|
|
2073
|
+
options?: never;
|
|
2074
|
+
head?: never;
|
|
2075
|
+
patch?: never;
|
|
2076
|
+
trace?: never;
|
|
2077
|
+
};
|
|
2027
2078
|
}
|
|
2028
2079
|
export type webhooks = Record<string, never>;
|
|
2029
2080
|
export interface components {
|
|
@@ -23820,6 +23871,176 @@ export interface operations {
|
|
|
23820
23871
|
};
|
|
23821
23872
|
};
|
|
23822
23873
|
};
|
|
23874
|
+
getTrialBalanceReport: {
|
|
23875
|
+
parameters: {
|
|
23876
|
+
query: {
|
|
23877
|
+
startDate: string;
|
|
23878
|
+
endDate: string;
|
|
23879
|
+
classification?: ("asset" | "expense" | "liability" | "revenue")[];
|
|
23880
|
+
type?: "bank" | "ledger";
|
|
23881
|
+
party?: "owners" | "manager";
|
|
23882
|
+
};
|
|
23883
|
+
header?: {
|
|
23884
|
+
"X-Team-Id"?: string;
|
|
23885
|
+
};
|
|
23886
|
+
path?: never;
|
|
23887
|
+
cookie?: never;
|
|
23888
|
+
};
|
|
23889
|
+
requestBody?: never;
|
|
23890
|
+
responses: {
|
|
23891
|
+
/** @description Successful response */
|
|
23892
|
+
200: {
|
|
23893
|
+
headers: {
|
|
23894
|
+
[name: string]: unknown;
|
|
23895
|
+
};
|
|
23896
|
+
content: {
|
|
23897
|
+
"application/json": {
|
|
23898
|
+
unassignedOpeningBalance: number;
|
|
23899
|
+
unassignedEntries: {
|
|
23900
|
+
id: string;
|
|
23901
|
+
centTotal: number;
|
|
23902
|
+
txnNum: number | null;
|
|
23903
|
+
description: string | null;
|
|
23904
|
+
uniqueRef: string | null;
|
|
23905
|
+
}[];
|
|
23906
|
+
accounts: {
|
|
23907
|
+
id: string;
|
|
23908
|
+
title: string;
|
|
23909
|
+
classification: string | null;
|
|
23910
|
+
openingBalance: number;
|
|
23911
|
+
entries: {
|
|
23912
|
+
id: string;
|
|
23913
|
+
centTotal: number;
|
|
23914
|
+
txnNum: number | null;
|
|
23915
|
+
description: string | null;
|
|
23916
|
+
uniqueRef: string | null;
|
|
23917
|
+
}[];
|
|
23918
|
+
}[];
|
|
23919
|
+
};
|
|
23920
|
+
};
|
|
23921
|
+
};
|
|
23922
|
+
/** @description Invalid input data */
|
|
23923
|
+
400: {
|
|
23924
|
+
headers: {
|
|
23925
|
+
[name: string]: unknown;
|
|
23926
|
+
};
|
|
23927
|
+
content: {
|
|
23928
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
23929
|
+
};
|
|
23930
|
+
};
|
|
23931
|
+
/** @description Authorization not provided */
|
|
23932
|
+
401: {
|
|
23933
|
+
headers: {
|
|
23934
|
+
[name: string]: unknown;
|
|
23935
|
+
};
|
|
23936
|
+
content: {
|
|
23937
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
23938
|
+
};
|
|
23939
|
+
};
|
|
23940
|
+
/** @description Insufficient access */
|
|
23941
|
+
403: {
|
|
23942
|
+
headers: {
|
|
23943
|
+
[name: string]: unknown;
|
|
23944
|
+
};
|
|
23945
|
+
content: {
|
|
23946
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
23947
|
+
};
|
|
23948
|
+
};
|
|
23949
|
+
/** @description Not found */
|
|
23950
|
+
404: {
|
|
23951
|
+
headers: {
|
|
23952
|
+
[name: string]: unknown;
|
|
23953
|
+
};
|
|
23954
|
+
content: {
|
|
23955
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
23956
|
+
};
|
|
23957
|
+
};
|
|
23958
|
+
/** @description Internal server error */
|
|
23959
|
+
500: {
|
|
23960
|
+
headers: {
|
|
23961
|
+
[name: string]: unknown;
|
|
23962
|
+
};
|
|
23963
|
+
content: {
|
|
23964
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
23965
|
+
};
|
|
23966
|
+
};
|
|
23967
|
+
};
|
|
23968
|
+
};
|
|
23969
|
+
getTrialBalanceReportCsv: {
|
|
23970
|
+
parameters: {
|
|
23971
|
+
query: {
|
|
23972
|
+
startDate: string;
|
|
23973
|
+
endDate: string;
|
|
23974
|
+
classification?: ("asset" | "expense" | "liability" | "revenue")[];
|
|
23975
|
+
type?: "bank" | "ledger";
|
|
23976
|
+
party?: "owners" | "manager";
|
|
23977
|
+
};
|
|
23978
|
+
header?: {
|
|
23979
|
+
"X-Team-Id"?: string;
|
|
23980
|
+
};
|
|
23981
|
+
path?: never;
|
|
23982
|
+
cookie?: never;
|
|
23983
|
+
};
|
|
23984
|
+
requestBody?: never;
|
|
23985
|
+
responses: {
|
|
23986
|
+
/** @description Successful response */
|
|
23987
|
+
200: {
|
|
23988
|
+
headers: {
|
|
23989
|
+
[name: string]: unknown;
|
|
23990
|
+
};
|
|
23991
|
+
content: {
|
|
23992
|
+
"application/json": {
|
|
23993
|
+
url: string;
|
|
23994
|
+
};
|
|
23995
|
+
};
|
|
23996
|
+
};
|
|
23997
|
+
/** @description Invalid input data */
|
|
23998
|
+
400: {
|
|
23999
|
+
headers: {
|
|
24000
|
+
[name: string]: unknown;
|
|
24001
|
+
};
|
|
24002
|
+
content: {
|
|
24003
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24004
|
+
};
|
|
24005
|
+
};
|
|
24006
|
+
/** @description Authorization not provided */
|
|
24007
|
+
401: {
|
|
24008
|
+
headers: {
|
|
24009
|
+
[name: string]: unknown;
|
|
24010
|
+
};
|
|
24011
|
+
content: {
|
|
24012
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24013
|
+
};
|
|
24014
|
+
};
|
|
24015
|
+
/** @description Insufficient access */
|
|
24016
|
+
403: {
|
|
24017
|
+
headers: {
|
|
24018
|
+
[name: string]: unknown;
|
|
24019
|
+
};
|
|
24020
|
+
content: {
|
|
24021
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24022
|
+
};
|
|
24023
|
+
};
|
|
24024
|
+
/** @description Not found */
|
|
24025
|
+
404: {
|
|
24026
|
+
headers: {
|
|
24027
|
+
[name: string]: unknown;
|
|
24028
|
+
};
|
|
24029
|
+
content: {
|
|
24030
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24031
|
+
};
|
|
24032
|
+
};
|
|
24033
|
+
/** @description Internal server error */
|
|
24034
|
+
500: {
|
|
24035
|
+
headers: {
|
|
24036
|
+
[name: string]: unknown;
|
|
24037
|
+
};
|
|
24038
|
+
content: {
|
|
24039
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24040
|
+
};
|
|
24041
|
+
};
|
|
24042
|
+
};
|
|
24043
|
+
};
|
|
23823
24044
|
getCalendar: {
|
|
23824
24045
|
parameters: {
|
|
23825
24046
|
query: {
|
|
@@ -24565,8 +24786,8 @@ export interface operations {
|
|
|
24565
24786
|
};
|
|
24566
24787
|
getFlowMapping: {
|
|
24567
24788
|
parameters: {
|
|
24568
|
-
query
|
|
24569
|
-
sourceId
|
|
24789
|
+
query?: {
|
|
24790
|
+
sourceId?: string;
|
|
24570
24791
|
limit?: number;
|
|
24571
24792
|
page?: number;
|
|
24572
24793
|
};
|
|
@@ -24926,9 +25147,7 @@ export interface operations {
|
|
|
24926
25147
|
};
|
|
24927
25148
|
getFlowSetting: {
|
|
24928
25149
|
parameters: {
|
|
24929
|
-
query?:
|
|
24930
|
-
search?: string;
|
|
24931
|
-
};
|
|
25150
|
+
query?: never;
|
|
24932
25151
|
header?: {
|
|
24933
25152
|
"X-Team-Id"?: string;
|
|
24934
25153
|
};
|
|
@@ -25084,4 +25303,93 @@ export interface operations {
|
|
|
25084
25303
|
};
|
|
25085
25304
|
};
|
|
25086
25305
|
};
|
|
25306
|
+
getFlowSettingOptions: {
|
|
25307
|
+
parameters: {
|
|
25308
|
+
query?: {
|
|
25309
|
+
search?: string;
|
|
25310
|
+
limit?: number;
|
|
25311
|
+
page?: number;
|
|
25312
|
+
};
|
|
25313
|
+
header?: {
|
|
25314
|
+
"X-Team-Id"?: string;
|
|
25315
|
+
};
|
|
25316
|
+
path: {
|
|
25317
|
+
id: string;
|
|
25318
|
+
connectionId: string;
|
|
25319
|
+
settingKey: string;
|
|
25320
|
+
};
|
|
25321
|
+
cookie?: never;
|
|
25322
|
+
};
|
|
25323
|
+
requestBody?: never;
|
|
25324
|
+
responses: {
|
|
25325
|
+
/** @description Successful response */
|
|
25326
|
+
200: {
|
|
25327
|
+
headers: {
|
|
25328
|
+
[name: string]: unknown;
|
|
25329
|
+
};
|
|
25330
|
+
content: {
|
|
25331
|
+
"application/json": {
|
|
25332
|
+
data: {
|
|
25333
|
+
id: string;
|
|
25334
|
+
name: string;
|
|
25335
|
+
}[];
|
|
25336
|
+
pagination: {
|
|
25337
|
+
/** @default 100 */
|
|
25338
|
+
limit: number;
|
|
25339
|
+
/** @default 1 */
|
|
25340
|
+
page: number;
|
|
25341
|
+
total: number;
|
|
25342
|
+
totalPage: number;
|
|
25343
|
+
nextPage?: number;
|
|
25344
|
+
};
|
|
25345
|
+
};
|
|
25346
|
+
};
|
|
25347
|
+
};
|
|
25348
|
+
/** @description Invalid input data */
|
|
25349
|
+
400: {
|
|
25350
|
+
headers: {
|
|
25351
|
+
[name: string]: unknown;
|
|
25352
|
+
};
|
|
25353
|
+
content: {
|
|
25354
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
25355
|
+
};
|
|
25356
|
+
};
|
|
25357
|
+
/** @description Authorization not provided */
|
|
25358
|
+
401: {
|
|
25359
|
+
headers: {
|
|
25360
|
+
[name: string]: unknown;
|
|
25361
|
+
};
|
|
25362
|
+
content: {
|
|
25363
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
25364
|
+
};
|
|
25365
|
+
};
|
|
25366
|
+
/** @description Insufficient access */
|
|
25367
|
+
403: {
|
|
25368
|
+
headers: {
|
|
25369
|
+
[name: string]: unknown;
|
|
25370
|
+
};
|
|
25371
|
+
content: {
|
|
25372
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
25373
|
+
};
|
|
25374
|
+
};
|
|
25375
|
+
/** @description Not found */
|
|
25376
|
+
404: {
|
|
25377
|
+
headers: {
|
|
25378
|
+
[name: string]: unknown;
|
|
25379
|
+
};
|
|
25380
|
+
content: {
|
|
25381
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
25382
|
+
};
|
|
25383
|
+
};
|
|
25384
|
+
/** @description Internal server error */
|
|
25385
|
+
500: {
|
|
25386
|
+
headers: {
|
|
25387
|
+
[name: string]: unknown;
|
|
25388
|
+
};
|
|
25389
|
+
content: {
|
|
25390
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
25391
|
+
};
|
|
25392
|
+
};
|
|
25393
|
+
};
|
|
25394
|
+
};
|
|
25087
25395
|
}
|