@vrplatform/api 1.3.1-4050 → 1.3.1-4087
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.
|
@@ -3373,6 +3373,30 @@ export interface paths {
|
|
|
3373
3373
|
patch?: never;
|
|
3374
3374
|
trace?: never;
|
|
3375
3375
|
};
|
|
3376
|
+
"/teams/opening-trial-balance": {
|
|
3377
|
+
parameters: {
|
|
3378
|
+
query?: never;
|
|
3379
|
+
header?: never;
|
|
3380
|
+
path?: never;
|
|
3381
|
+
cookie?: never;
|
|
3382
|
+
};
|
|
3383
|
+
/**
|
|
3384
|
+
* @deprecated
|
|
3385
|
+
* @description Deprecated. Use GET /general-ledger/opening-trial-balance instead.
|
|
3386
|
+
*/
|
|
3387
|
+
get: operations["getTeamsOpeningTrialBalance"];
|
|
3388
|
+
/**
|
|
3389
|
+
* @deprecated
|
|
3390
|
+
* @description Deprecated. Use PUT /general-ledger/opening-trial-balance instead.
|
|
3391
|
+
*/
|
|
3392
|
+
put: operations["putTeamsOpeningTrialBalance"];
|
|
3393
|
+
post?: never;
|
|
3394
|
+
delete?: never;
|
|
3395
|
+
options?: never;
|
|
3396
|
+
head?: never;
|
|
3397
|
+
patch?: never;
|
|
3398
|
+
trace?: never;
|
|
3399
|
+
};
|
|
3376
3400
|
"/teams/resolve": {
|
|
3377
3401
|
parameters: {
|
|
3378
3402
|
query?: never;
|
|
@@ -54909,6 +54933,309 @@ export interface operations {
|
|
|
54909
54933
|
};
|
|
54910
54934
|
};
|
|
54911
54935
|
};
|
|
54936
|
+
getTeamsOpeningTrialBalance: {
|
|
54937
|
+
parameters: {
|
|
54938
|
+
query?: never;
|
|
54939
|
+
header?: never;
|
|
54940
|
+
path?: never;
|
|
54941
|
+
cookie?: never;
|
|
54942
|
+
};
|
|
54943
|
+
requestBody?: never;
|
|
54944
|
+
responses: {
|
|
54945
|
+
/** @description Successful response */
|
|
54946
|
+
200: {
|
|
54947
|
+
headers: {
|
|
54948
|
+
[name: string]: unknown;
|
|
54949
|
+
};
|
|
54950
|
+
content: {
|
|
54951
|
+
"application/json": {
|
|
54952
|
+
glStartAt: string;
|
|
54953
|
+
openingDate: string;
|
|
54954
|
+
source: {
|
|
54955
|
+
/** @enum {string} */
|
|
54956
|
+
mode: "manual" | "csv" | "quickbooks" | "none";
|
|
54957
|
+
editable: boolean;
|
|
54958
|
+
lastUpdatedAt?: string | null;
|
|
54959
|
+
/** Format: uuid */
|
|
54960
|
+
externalConnectionId?: string;
|
|
54961
|
+
};
|
|
54962
|
+
locked: boolean;
|
|
54963
|
+
lockReasons: string[];
|
|
54964
|
+
rows: {
|
|
54965
|
+
/** Format: uuid */
|
|
54966
|
+
accountId: string;
|
|
54967
|
+
accountName: string;
|
|
54968
|
+
/** @enum {string} */
|
|
54969
|
+
classification: "asset" | "liability" | "revenue" | "expense";
|
|
54970
|
+
/** @enum {string} */
|
|
54971
|
+
type: "ledger" | "bank";
|
|
54972
|
+
/** @description Value in cents (100 = 1€) */
|
|
54973
|
+
combinedCentTotal: number;
|
|
54974
|
+
/** @description Value in cents (100 = 1€) */
|
|
54975
|
+
trustCentTotal: number;
|
|
54976
|
+
/** @description Value in cents (100 = 1€) */
|
|
54977
|
+
operatingCentTotal: number;
|
|
54978
|
+
editable: boolean;
|
|
54979
|
+
}[];
|
|
54980
|
+
assignment: {
|
|
54981
|
+
/** Format: uuid */
|
|
54982
|
+
accountId: string;
|
|
54983
|
+
accountName: string;
|
|
54984
|
+
/** @description Value in cents (100 = 1€) */
|
|
54985
|
+
combinedCentTotal: number;
|
|
54986
|
+
/** @description Value in cents (100 = 1€) */
|
|
54987
|
+
trustCentTotal: number;
|
|
54988
|
+
/** @description Value in cents (100 = 1€) */
|
|
54989
|
+
operatingCentTotal: number;
|
|
54990
|
+
};
|
|
54991
|
+
trustReversal: {
|
|
54992
|
+
/** @enum {string} */
|
|
54993
|
+
status: "not_created" | "active" | "locked";
|
|
54994
|
+
journalEntryIds: string[];
|
|
54995
|
+
lastRefreshedAt?: string | null;
|
|
54996
|
+
};
|
|
54997
|
+
};
|
|
54998
|
+
};
|
|
54999
|
+
};
|
|
55000
|
+
/** @description Bad request */
|
|
55001
|
+
400: {
|
|
55002
|
+
headers: {
|
|
55003
|
+
[name: string]: unknown;
|
|
55004
|
+
};
|
|
55005
|
+
content: {
|
|
55006
|
+
"application/json": {
|
|
55007
|
+
code: string;
|
|
55008
|
+
message: string;
|
|
55009
|
+
issues?: {
|
|
55010
|
+
message: string;
|
|
55011
|
+
}[];
|
|
55012
|
+
context?: unknown;
|
|
55013
|
+
};
|
|
55014
|
+
};
|
|
55015
|
+
};
|
|
55016
|
+
/** @description Unauthorized */
|
|
55017
|
+
401: {
|
|
55018
|
+
headers: {
|
|
55019
|
+
[name: string]: unknown;
|
|
55020
|
+
};
|
|
55021
|
+
content: {
|
|
55022
|
+
"application/json": {
|
|
55023
|
+
code: string;
|
|
55024
|
+
message: string;
|
|
55025
|
+
issues?: {
|
|
55026
|
+
message: string;
|
|
55027
|
+
}[];
|
|
55028
|
+
context?: unknown;
|
|
55029
|
+
};
|
|
55030
|
+
};
|
|
55031
|
+
};
|
|
55032
|
+
/** @description Forbidden */
|
|
55033
|
+
403: {
|
|
55034
|
+
headers: {
|
|
55035
|
+
[name: string]: unknown;
|
|
55036
|
+
};
|
|
55037
|
+
content: {
|
|
55038
|
+
"application/json": {
|
|
55039
|
+
code: string;
|
|
55040
|
+
message: string;
|
|
55041
|
+
issues?: {
|
|
55042
|
+
message: string;
|
|
55043
|
+
}[];
|
|
55044
|
+
context?: unknown;
|
|
55045
|
+
};
|
|
55046
|
+
};
|
|
55047
|
+
};
|
|
55048
|
+
/** @description Not found */
|
|
55049
|
+
404: {
|
|
55050
|
+
headers: {
|
|
55051
|
+
[name: string]: unknown;
|
|
55052
|
+
};
|
|
55053
|
+
content: {
|
|
55054
|
+
"application/json": {
|
|
55055
|
+
code: string;
|
|
55056
|
+
message: string;
|
|
55057
|
+
issues?: {
|
|
55058
|
+
message: string;
|
|
55059
|
+
}[];
|
|
55060
|
+
context?: unknown;
|
|
55061
|
+
};
|
|
55062
|
+
};
|
|
55063
|
+
};
|
|
55064
|
+
/** @description Internal server error */
|
|
55065
|
+
500: {
|
|
55066
|
+
headers: {
|
|
55067
|
+
[name: string]: unknown;
|
|
55068
|
+
};
|
|
55069
|
+
content: {
|
|
55070
|
+
"application/json": {
|
|
55071
|
+
code: string;
|
|
55072
|
+
message: string;
|
|
55073
|
+
issues?: {
|
|
55074
|
+
message: string;
|
|
55075
|
+
}[];
|
|
55076
|
+
context?: unknown;
|
|
55077
|
+
};
|
|
55078
|
+
};
|
|
55079
|
+
};
|
|
55080
|
+
};
|
|
55081
|
+
};
|
|
55082
|
+
putTeamsOpeningTrialBalance: {
|
|
55083
|
+
parameters: {
|
|
55084
|
+
query?: never;
|
|
55085
|
+
header?: never;
|
|
55086
|
+
path?: never;
|
|
55087
|
+
cookie?: never;
|
|
55088
|
+
};
|
|
55089
|
+
requestBody?: {
|
|
55090
|
+
content: {
|
|
55091
|
+
"application/json": {
|
|
55092
|
+
rows: {
|
|
55093
|
+
/** Format: uuid */
|
|
55094
|
+
accountId: string;
|
|
55095
|
+
/** @description Value in cents (100 = 1€) */
|
|
55096
|
+
combinedCentTotal: number;
|
|
55097
|
+
}[];
|
|
55098
|
+
};
|
|
55099
|
+
};
|
|
55100
|
+
};
|
|
55101
|
+
responses: {
|
|
55102
|
+
/** @description Successful response */
|
|
55103
|
+
200: {
|
|
55104
|
+
headers: {
|
|
55105
|
+
[name: string]: unknown;
|
|
55106
|
+
};
|
|
55107
|
+
content: {
|
|
55108
|
+
"application/json": {
|
|
55109
|
+
glStartAt: string;
|
|
55110
|
+
openingDate: string;
|
|
55111
|
+
source: {
|
|
55112
|
+
/** @enum {string} */
|
|
55113
|
+
mode: "manual" | "csv" | "quickbooks" | "none";
|
|
55114
|
+
editable: boolean;
|
|
55115
|
+
lastUpdatedAt?: string | null;
|
|
55116
|
+
/** Format: uuid */
|
|
55117
|
+
externalConnectionId?: string;
|
|
55118
|
+
};
|
|
55119
|
+
locked: boolean;
|
|
55120
|
+
lockReasons: string[];
|
|
55121
|
+
rows: {
|
|
55122
|
+
/** Format: uuid */
|
|
55123
|
+
accountId: string;
|
|
55124
|
+
accountName: string;
|
|
55125
|
+
/** @enum {string} */
|
|
55126
|
+
classification: "asset" | "liability" | "revenue" | "expense";
|
|
55127
|
+
/** @enum {string} */
|
|
55128
|
+
type: "ledger" | "bank";
|
|
55129
|
+
/** @description Value in cents (100 = 1€) */
|
|
55130
|
+
combinedCentTotal: number;
|
|
55131
|
+
/** @description Value in cents (100 = 1€) */
|
|
55132
|
+
trustCentTotal: number;
|
|
55133
|
+
/** @description Value in cents (100 = 1€) */
|
|
55134
|
+
operatingCentTotal: number;
|
|
55135
|
+
editable: boolean;
|
|
55136
|
+
}[];
|
|
55137
|
+
assignment: {
|
|
55138
|
+
/** Format: uuid */
|
|
55139
|
+
accountId: string;
|
|
55140
|
+
accountName: string;
|
|
55141
|
+
/** @description Value in cents (100 = 1€) */
|
|
55142
|
+
combinedCentTotal: number;
|
|
55143
|
+
/** @description Value in cents (100 = 1€) */
|
|
55144
|
+
trustCentTotal: number;
|
|
55145
|
+
/** @description Value in cents (100 = 1€) */
|
|
55146
|
+
operatingCentTotal: number;
|
|
55147
|
+
};
|
|
55148
|
+
trustReversal: {
|
|
55149
|
+
/** @enum {string} */
|
|
55150
|
+
status: "not_created" | "active" | "locked";
|
|
55151
|
+
journalEntryIds: string[];
|
|
55152
|
+
lastRefreshedAt?: string | null;
|
|
55153
|
+
};
|
|
55154
|
+
};
|
|
55155
|
+
};
|
|
55156
|
+
};
|
|
55157
|
+
/** @description Bad request */
|
|
55158
|
+
400: {
|
|
55159
|
+
headers: {
|
|
55160
|
+
[name: string]: unknown;
|
|
55161
|
+
};
|
|
55162
|
+
content: {
|
|
55163
|
+
"application/json": {
|
|
55164
|
+
code: string;
|
|
55165
|
+
message: string;
|
|
55166
|
+
issues?: {
|
|
55167
|
+
message: string;
|
|
55168
|
+
}[];
|
|
55169
|
+
context?: unknown;
|
|
55170
|
+
};
|
|
55171
|
+
};
|
|
55172
|
+
};
|
|
55173
|
+
/** @description Unauthorized */
|
|
55174
|
+
401: {
|
|
55175
|
+
headers: {
|
|
55176
|
+
[name: string]: unknown;
|
|
55177
|
+
};
|
|
55178
|
+
content: {
|
|
55179
|
+
"application/json": {
|
|
55180
|
+
code: string;
|
|
55181
|
+
message: string;
|
|
55182
|
+
issues?: {
|
|
55183
|
+
message: string;
|
|
55184
|
+
}[];
|
|
55185
|
+
context?: unknown;
|
|
55186
|
+
};
|
|
55187
|
+
};
|
|
55188
|
+
};
|
|
55189
|
+
/** @description Forbidden */
|
|
55190
|
+
403: {
|
|
55191
|
+
headers: {
|
|
55192
|
+
[name: string]: unknown;
|
|
55193
|
+
};
|
|
55194
|
+
content: {
|
|
55195
|
+
"application/json": {
|
|
55196
|
+
code: string;
|
|
55197
|
+
message: string;
|
|
55198
|
+
issues?: {
|
|
55199
|
+
message: string;
|
|
55200
|
+
}[];
|
|
55201
|
+
context?: unknown;
|
|
55202
|
+
};
|
|
55203
|
+
};
|
|
55204
|
+
};
|
|
55205
|
+
/** @description Not found */
|
|
55206
|
+
404: {
|
|
55207
|
+
headers: {
|
|
55208
|
+
[name: string]: unknown;
|
|
55209
|
+
};
|
|
55210
|
+
content: {
|
|
55211
|
+
"application/json": {
|
|
55212
|
+
code: string;
|
|
55213
|
+
message: string;
|
|
55214
|
+
issues?: {
|
|
55215
|
+
message: string;
|
|
55216
|
+
}[];
|
|
55217
|
+
context?: unknown;
|
|
55218
|
+
};
|
|
55219
|
+
};
|
|
55220
|
+
};
|
|
55221
|
+
/** @description Internal server error */
|
|
55222
|
+
500: {
|
|
55223
|
+
headers: {
|
|
55224
|
+
[name: string]: unknown;
|
|
55225
|
+
};
|
|
55226
|
+
content: {
|
|
55227
|
+
"application/json": {
|
|
55228
|
+
code: string;
|
|
55229
|
+
message: string;
|
|
55230
|
+
issues?: {
|
|
55231
|
+
message: string;
|
|
55232
|
+
}[];
|
|
55233
|
+
context?: unknown;
|
|
55234
|
+
};
|
|
55235
|
+
};
|
|
55236
|
+
};
|
|
55237
|
+
};
|
|
55238
|
+
};
|
|
54912
55239
|
getTeamsResolve: {
|
|
54913
55240
|
parameters: {
|
|
54914
55241
|
query: {
|