@vrplatform/api 1.3.1-4050 → 1.3.1-4085

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