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