@vrplatform/api 1.3.1-stage.4057 → 1.3.1-stage.4058

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