@vrplatform/api 1.3.0-stage.1145 → 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/build/main/generated/v1.d.ts +251 -100
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +251 -100
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +251 -100
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;
|
|
@@ -2014,7 +2048,7 @@ export interface paths {
|
|
|
2014
2048
|
path?: never;
|
|
2015
2049
|
cookie?: never;
|
|
2016
2050
|
};
|
|
2017
|
-
/** @description
|
|
2051
|
+
/** @description Get a flow setting entry */
|
|
2018
2052
|
get: operations["getFlowSetting"];
|
|
2019
2053
|
put?: never;
|
|
2020
2054
|
/** @description Create, update or delete a flow setting entry */
|
|
@@ -2371,52 +2405,6 @@ export interface components {
|
|
|
2371
2405
|
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
2372
2406
|
};
|
|
2373
2407
|
};
|
|
2374
|
-
/** @description Mapping entry returned from mutation routes with normalized left/right payloads. */
|
|
2375
|
-
FlowMappingItemPost: {
|
|
2376
|
-
/** Format: uuid */
|
|
2377
|
-
id: string;
|
|
2378
|
-
/** Format: uuid */
|
|
2379
|
-
flowId: string;
|
|
2380
|
-
/** Format: uuid */
|
|
2381
|
-
connectionId: string;
|
|
2382
|
-
mappingKey: string;
|
|
2383
|
-
title: string | null;
|
|
2384
|
-
description: string | null;
|
|
2385
|
-
left: {
|
|
2386
|
-
/** Format: uuid */
|
|
2387
|
-
sourceId: string;
|
|
2388
|
-
};
|
|
2389
|
-
right: {
|
|
2390
|
-
value: string | number;
|
|
2391
|
-
text: string;
|
|
2392
|
-
/**
|
|
2393
|
-
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
2394
|
-
* @enum {string}
|
|
2395
|
-
*/
|
|
2396
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
2397
|
-
};
|
|
2398
|
-
};
|
|
2399
|
-
/** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
|
|
2400
|
-
FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
|
|
2401
|
-
/** @description Setting representation returned from mutation routes with normalized { id, name, type } value payload. */
|
|
2402
|
-
FlowSettingItemPost: {
|
|
2403
|
-
/** Format: uuid */
|
|
2404
|
-
id: string;
|
|
2405
|
-
/** Format: uuid */
|
|
2406
|
-
flowId: string;
|
|
2407
|
-
/** Format: uuid */
|
|
2408
|
-
connectionId: string;
|
|
2409
|
-
settingKey: string;
|
|
2410
|
-
title: string | null;
|
|
2411
|
-
description: string | null;
|
|
2412
|
-
/**
|
|
2413
|
-
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
2414
|
-
* @enum {string|null}
|
|
2415
|
-
*/
|
|
2416
|
-
type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
|
|
2417
|
-
filter: string | null;
|
|
2418
|
-
value: components["schemas"]["FlowMappingResolvedEntityValue"];
|
|
2419
|
-
};
|
|
2420
2408
|
};
|
|
2421
2409
|
responses: never;
|
|
2422
2410
|
parameters: never;
|
|
@@ -23867,6 +23855,176 @@ export interface operations {
|
|
|
23867
23855
|
};
|
|
23868
23856
|
};
|
|
23869
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
|
+
};
|
|
23870
24028
|
getCalendar: {
|
|
23871
24029
|
parameters: {
|
|
23872
24030
|
query: {
|
|
@@ -24145,11 +24303,7 @@ export interface operations {
|
|
|
24145
24303
|
/** Format: uuid */
|
|
24146
24304
|
id: string;
|
|
24147
24305
|
title: string;
|
|
24148
|
-
|
|
24149
|
-
id: string;
|
|
24150
|
-
name: string;
|
|
24151
|
-
icon?: string | null;
|
|
24152
|
-
};
|
|
24306
|
+
appId: string;
|
|
24153
24307
|
description?: string | null;
|
|
24154
24308
|
/** @description Mapping schema configuration for this flow */
|
|
24155
24309
|
mappingSchema: {
|
|
@@ -24278,11 +24432,7 @@ export interface operations {
|
|
|
24278
24432
|
/** Format: uuid */
|
|
24279
24433
|
id: string;
|
|
24280
24434
|
title: string;
|
|
24281
|
-
|
|
24282
|
-
id: string;
|
|
24283
|
-
name: string;
|
|
24284
|
-
icon?: string | null;
|
|
24285
|
-
};
|
|
24435
|
+
appId: string;
|
|
24286
24436
|
description?: string | null;
|
|
24287
24437
|
/** @description Mapping schema configuration for this flow */
|
|
24288
24438
|
mappingSchema: {
|
|
@@ -24620,8 +24770,8 @@ export interface operations {
|
|
|
24620
24770
|
};
|
|
24621
24771
|
getFlowMapping: {
|
|
24622
24772
|
parameters: {
|
|
24623
|
-
query
|
|
24624
|
-
sourceId
|
|
24773
|
+
query: {
|
|
24774
|
+
sourceId: string;
|
|
24625
24775
|
limit?: number;
|
|
24626
24776
|
page?: number;
|
|
24627
24777
|
};
|
|
@@ -24722,11 +24872,9 @@ export interface operations {
|
|
|
24722
24872
|
"application/json": {
|
|
24723
24873
|
/** Format: uuid */
|
|
24724
24874
|
sourceId: string;
|
|
24725
|
-
value
|
|
24726
|
-
|
|
24727
|
-
|
|
24728
|
-
/** @default 1 */
|
|
24729
|
-
page?: number;
|
|
24875
|
+
value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
|
|
24876
|
+
[key: string]: string | number | boolean | null;
|
|
24877
|
+
}) | null;
|
|
24730
24878
|
};
|
|
24731
24879
|
};
|
|
24732
24880
|
};
|
|
@@ -24738,15 +24886,27 @@ export interface operations {
|
|
|
24738
24886
|
};
|
|
24739
24887
|
content: {
|
|
24740
24888
|
"application/json": {
|
|
24741
|
-
|
|
24742
|
-
|
|
24743
|
-
|
|
24744
|
-
|
|
24745
|
-
|
|
24746
|
-
|
|
24747
|
-
|
|
24748
|
-
|
|
24749
|
-
|
|
24889
|
+
/** Format: uuid */
|
|
24890
|
+
id?: string;
|
|
24891
|
+
/** Format: uuid */
|
|
24892
|
+
flowId?: string;
|
|
24893
|
+
/** Format: uuid */
|
|
24894
|
+
connectionId?: string;
|
|
24895
|
+
mappingKey?: string;
|
|
24896
|
+
title?: string | null;
|
|
24897
|
+
description?: string | null;
|
|
24898
|
+
left?: {
|
|
24899
|
+
/** Format: uuid */
|
|
24900
|
+
sourceId: string;
|
|
24901
|
+
};
|
|
24902
|
+
right?: {
|
|
24903
|
+
value: string | number;
|
|
24904
|
+
text: string;
|
|
24905
|
+
/**
|
|
24906
|
+
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
24907
|
+
* @enum {string}
|
|
24908
|
+
*/
|
|
24909
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24750
24910
|
};
|
|
24751
24911
|
};
|
|
24752
24912
|
};
|
|
@@ -24973,8 +25133,6 @@ export interface operations {
|
|
|
24973
25133
|
parameters: {
|
|
24974
25134
|
query?: {
|
|
24975
25135
|
search?: string;
|
|
24976
|
-
limit?: number;
|
|
24977
|
-
page?: number;
|
|
24978
25136
|
};
|
|
24979
25137
|
header?: {
|
|
24980
25138
|
"X-Team-Id"?: string;
|
|
@@ -24994,23 +25152,7 @@ export interface operations {
|
|
|
24994
25152
|
[name: string]: unknown;
|
|
24995
25153
|
};
|
|
24996
25154
|
content: {
|
|
24997
|
-
"application/json":
|
|
24998
|
-
data: {
|
|
24999
|
-
id: string;
|
|
25000
|
-
name: string;
|
|
25001
|
-
description: string | null;
|
|
25002
|
-
value?: unknown;
|
|
25003
|
-
}[];
|
|
25004
|
-
pagination: {
|
|
25005
|
-
/** @default 100 */
|
|
25006
|
-
limit: number;
|
|
25007
|
-
/** @default 1 */
|
|
25008
|
-
page: number;
|
|
25009
|
-
total: number;
|
|
25010
|
-
totalPage: number;
|
|
25011
|
-
nextPage?: number;
|
|
25012
|
-
};
|
|
25013
|
-
};
|
|
25155
|
+
"application/json": components["schemas"]["FlowSettingItemGet"];
|
|
25014
25156
|
};
|
|
25015
25157
|
};
|
|
25016
25158
|
/** @description Invalid input data */
|
|
@@ -25076,7 +25218,9 @@ export interface operations {
|
|
|
25076
25218
|
requestBody: {
|
|
25077
25219
|
content: {
|
|
25078
25220
|
"application/json": {
|
|
25079
|
-
value
|
|
25221
|
+
value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
|
|
25222
|
+
[key: string]: string | number | boolean | null;
|
|
25223
|
+
}) | null;
|
|
25080
25224
|
};
|
|
25081
25225
|
};
|
|
25082
25226
|
};
|
|
@@ -25089,14 +25233,21 @@ export interface operations {
|
|
|
25089
25233
|
content: {
|
|
25090
25234
|
"application/json": {
|
|
25091
25235
|
/** Format: uuid */
|
|
25092
|
-
id
|
|
25236
|
+
id?: string;
|
|
25093
25237
|
/** Format: uuid */
|
|
25094
|
-
|
|
25095
|
-
|
|
25096
|
-
|
|
25097
|
-
|
|
25098
|
-
|
|
25099
|
-
|
|
25238
|
+
flowId?: string;
|
|
25239
|
+
/** Format: uuid */
|
|
25240
|
+
connectionId?: string;
|
|
25241
|
+
settingKey?: string;
|
|
25242
|
+
title?: string | null;
|
|
25243
|
+
description?: string | null;
|
|
25244
|
+
/**
|
|
25245
|
+
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
25246
|
+
* @enum {string|null}
|
|
25247
|
+
*/
|
|
25248
|
+
type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
|
|
25249
|
+
filter?: string | null;
|
|
25250
|
+
value?: components["schemas"]["FlowMappingResolvedEntityValue"];
|
|
25100
25251
|
};
|
|
25101
25252
|
};
|
|
25102
25253
|
};
|