@vrplatform/api 1.2.33-stage.850 → 1.2.33-stage.853
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.
|
@@ -355,6 +355,75 @@ export interface paths {
|
|
|
355
355
|
patch?: never;
|
|
356
356
|
trace?: never;
|
|
357
357
|
};
|
|
358
|
+
"/listings/{id}/opening-balance": {
|
|
359
|
+
parameters: {
|
|
360
|
+
query?: never;
|
|
361
|
+
header?: never;
|
|
362
|
+
path?: never;
|
|
363
|
+
cookie?: never;
|
|
364
|
+
};
|
|
365
|
+
/** @description Get opening balance for listing */
|
|
366
|
+
get: operations["getListingOpeningBalance"];
|
|
367
|
+
/** @description Update opening balance for listing */
|
|
368
|
+
put: operations["updateListingOpeningBalance"];
|
|
369
|
+
post?: never;
|
|
370
|
+
delete?: never;
|
|
371
|
+
options?: never;
|
|
372
|
+
head?: never;
|
|
373
|
+
patch?: never;
|
|
374
|
+
trace?: never;
|
|
375
|
+
};
|
|
376
|
+
"/teams/opening-balances": {
|
|
377
|
+
parameters: {
|
|
378
|
+
query?: never;
|
|
379
|
+
header?: never;
|
|
380
|
+
path?: never;
|
|
381
|
+
cookie?: never;
|
|
382
|
+
};
|
|
383
|
+
/** @description Retrieve tenant opening balances overview */
|
|
384
|
+
get: operations["getTenantOpeningBalances"];
|
|
385
|
+
put?: never;
|
|
386
|
+
post?: never;
|
|
387
|
+
delete?: never;
|
|
388
|
+
options?: never;
|
|
389
|
+
head?: never;
|
|
390
|
+
patch?: never;
|
|
391
|
+
trace?: never;
|
|
392
|
+
};
|
|
393
|
+
"/teams/opening-balances/tax-payable": {
|
|
394
|
+
parameters: {
|
|
395
|
+
query?: never;
|
|
396
|
+
header?: never;
|
|
397
|
+
path?: never;
|
|
398
|
+
cookie?: never;
|
|
399
|
+
};
|
|
400
|
+
get?: never;
|
|
401
|
+
/** @description Update opening balance tax payable */
|
|
402
|
+
put: operations["updateTenantTaxPayable"];
|
|
403
|
+
post?: never;
|
|
404
|
+
delete?: never;
|
|
405
|
+
options?: never;
|
|
406
|
+
head?: never;
|
|
407
|
+
patch?: never;
|
|
408
|
+
trace?: never;
|
|
409
|
+
};
|
|
410
|
+
"/teams/opening-balances/advanced-deposits": {
|
|
411
|
+
parameters: {
|
|
412
|
+
query?: never;
|
|
413
|
+
header?: never;
|
|
414
|
+
path?: never;
|
|
415
|
+
cookie?: never;
|
|
416
|
+
};
|
|
417
|
+
get?: never;
|
|
418
|
+
/** @description Update opening balance advanced deposits */
|
|
419
|
+
put: operations["updateTenantAdvancedDeposits"];
|
|
420
|
+
post?: never;
|
|
421
|
+
delete?: never;
|
|
422
|
+
options?: never;
|
|
423
|
+
head?: never;
|
|
424
|
+
patch?: never;
|
|
425
|
+
trace?: never;
|
|
426
|
+
};
|
|
358
427
|
"/teams/{id}": {
|
|
359
428
|
parameters: {
|
|
360
429
|
query?: never;
|
|
@@ -8016,6 +8085,419 @@ export interface operations {
|
|
|
8016
8085
|
};
|
|
8017
8086
|
};
|
|
8018
8087
|
};
|
|
8088
|
+
getListingOpeningBalance: {
|
|
8089
|
+
parameters: {
|
|
8090
|
+
query?: never;
|
|
8091
|
+
header?: {
|
|
8092
|
+
"X-Team-Id"?: string;
|
|
8093
|
+
};
|
|
8094
|
+
path: {
|
|
8095
|
+
id: string;
|
|
8096
|
+
};
|
|
8097
|
+
cookie?: never;
|
|
8098
|
+
};
|
|
8099
|
+
requestBody?: never;
|
|
8100
|
+
responses: {
|
|
8101
|
+
/** @description Successful response */
|
|
8102
|
+
200: {
|
|
8103
|
+
headers: {
|
|
8104
|
+
[name: string]: unknown;
|
|
8105
|
+
};
|
|
8106
|
+
content: {
|
|
8107
|
+
"application/json": {
|
|
8108
|
+
/** Format: uuid */
|
|
8109
|
+
listingId: string;
|
|
8110
|
+
/** @description Value in cents (100 = 1€) */
|
|
8111
|
+
centTotal: number;
|
|
8112
|
+
currency: string;
|
|
8113
|
+
effectiveAt: string | null;
|
|
8114
|
+
note?: string | null;
|
|
8115
|
+
updatedAt?: string | null;
|
|
8116
|
+
};
|
|
8117
|
+
};
|
|
8118
|
+
};
|
|
8119
|
+
/** @description Invalid input data */
|
|
8120
|
+
400: {
|
|
8121
|
+
headers: {
|
|
8122
|
+
[name: string]: unknown;
|
|
8123
|
+
};
|
|
8124
|
+
content: {
|
|
8125
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
8126
|
+
};
|
|
8127
|
+
};
|
|
8128
|
+
/** @description Authorization not provided */
|
|
8129
|
+
401: {
|
|
8130
|
+
headers: {
|
|
8131
|
+
[name: string]: unknown;
|
|
8132
|
+
};
|
|
8133
|
+
content: {
|
|
8134
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
8135
|
+
};
|
|
8136
|
+
};
|
|
8137
|
+
/** @description Insufficient access */
|
|
8138
|
+
403: {
|
|
8139
|
+
headers: {
|
|
8140
|
+
[name: string]: unknown;
|
|
8141
|
+
};
|
|
8142
|
+
content: {
|
|
8143
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
8144
|
+
};
|
|
8145
|
+
};
|
|
8146
|
+
/** @description Not found */
|
|
8147
|
+
404: {
|
|
8148
|
+
headers: {
|
|
8149
|
+
[name: string]: unknown;
|
|
8150
|
+
};
|
|
8151
|
+
content: {
|
|
8152
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
8153
|
+
};
|
|
8154
|
+
};
|
|
8155
|
+
/** @description Internal server error */
|
|
8156
|
+
500: {
|
|
8157
|
+
headers: {
|
|
8158
|
+
[name: string]: unknown;
|
|
8159
|
+
};
|
|
8160
|
+
content: {
|
|
8161
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
8162
|
+
};
|
|
8163
|
+
};
|
|
8164
|
+
};
|
|
8165
|
+
};
|
|
8166
|
+
updateListingOpeningBalance: {
|
|
8167
|
+
parameters: {
|
|
8168
|
+
query?: never;
|
|
8169
|
+
header?: {
|
|
8170
|
+
"X-Team-Id"?: string;
|
|
8171
|
+
};
|
|
8172
|
+
path: {
|
|
8173
|
+
id: string;
|
|
8174
|
+
};
|
|
8175
|
+
cookie?: never;
|
|
8176
|
+
};
|
|
8177
|
+
requestBody: {
|
|
8178
|
+
content: {
|
|
8179
|
+
"application/json": {
|
|
8180
|
+
/** @description Value in cents (100 = 1€) */
|
|
8181
|
+
centTotal: number;
|
|
8182
|
+
currency?: string | null;
|
|
8183
|
+
effectiveAt?: string | null;
|
|
8184
|
+
note?: string | null;
|
|
8185
|
+
};
|
|
8186
|
+
};
|
|
8187
|
+
};
|
|
8188
|
+
responses: {
|
|
8189
|
+
/** @description Successful response */
|
|
8190
|
+
200: {
|
|
8191
|
+
headers: {
|
|
8192
|
+
[name: string]: unknown;
|
|
8193
|
+
};
|
|
8194
|
+
content: {
|
|
8195
|
+
"application/json": {
|
|
8196
|
+
/** Format: uuid */
|
|
8197
|
+
listingId: string;
|
|
8198
|
+
/** @description Value in cents (100 = 1€) */
|
|
8199
|
+
centTotal: number;
|
|
8200
|
+
currency: string;
|
|
8201
|
+
effectiveAt: string | null;
|
|
8202
|
+
note?: string | null;
|
|
8203
|
+
updatedAt?: string | null;
|
|
8204
|
+
};
|
|
8205
|
+
};
|
|
8206
|
+
};
|
|
8207
|
+
/** @description Invalid input data */
|
|
8208
|
+
400: {
|
|
8209
|
+
headers: {
|
|
8210
|
+
[name: string]: unknown;
|
|
8211
|
+
};
|
|
8212
|
+
content: {
|
|
8213
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
8214
|
+
};
|
|
8215
|
+
};
|
|
8216
|
+
/** @description Authorization not provided */
|
|
8217
|
+
401: {
|
|
8218
|
+
headers: {
|
|
8219
|
+
[name: string]: unknown;
|
|
8220
|
+
};
|
|
8221
|
+
content: {
|
|
8222
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
8223
|
+
};
|
|
8224
|
+
};
|
|
8225
|
+
/** @description Insufficient access */
|
|
8226
|
+
403: {
|
|
8227
|
+
headers: {
|
|
8228
|
+
[name: string]: unknown;
|
|
8229
|
+
};
|
|
8230
|
+
content: {
|
|
8231
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
8232
|
+
};
|
|
8233
|
+
};
|
|
8234
|
+
/** @description Not found */
|
|
8235
|
+
404: {
|
|
8236
|
+
headers: {
|
|
8237
|
+
[name: string]: unknown;
|
|
8238
|
+
};
|
|
8239
|
+
content: {
|
|
8240
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
8241
|
+
};
|
|
8242
|
+
};
|
|
8243
|
+
/** @description Internal server error */
|
|
8244
|
+
500: {
|
|
8245
|
+
headers: {
|
|
8246
|
+
[name: string]: unknown;
|
|
8247
|
+
};
|
|
8248
|
+
content: {
|
|
8249
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
8250
|
+
};
|
|
8251
|
+
};
|
|
8252
|
+
};
|
|
8253
|
+
};
|
|
8254
|
+
getTenantOpeningBalances: {
|
|
8255
|
+
parameters: {
|
|
8256
|
+
query?: never;
|
|
8257
|
+
header?: {
|
|
8258
|
+
"X-Team-Id"?: string;
|
|
8259
|
+
};
|
|
8260
|
+
path?: never;
|
|
8261
|
+
cookie?: never;
|
|
8262
|
+
};
|
|
8263
|
+
requestBody?: never;
|
|
8264
|
+
responses: {
|
|
8265
|
+
/** @description Successful response */
|
|
8266
|
+
200: {
|
|
8267
|
+
headers: {
|
|
8268
|
+
[name: string]: unknown;
|
|
8269
|
+
};
|
|
8270
|
+
content: {
|
|
8271
|
+
"application/json": {
|
|
8272
|
+
/** @description Value in cents (100 = 1€) */
|
|
8273
|
+
taxPayableCentTotal: number;
|
|
8274
|
+
/** @description Value in cents (100 = 1€) */
|
|
8275
|
+
advancedDepositsCentTotal: number;
|
|
8276
|
+
currency: string;
|
|
8277
|
+
note?: string | null;
|
|
8278
|
+
updatedAt?: string | null;
|
|
8279
|
+
};
|
|
8280
|
+
};
|
|
8281
|
+
};
|
|
8282
|
+
/** @description Invalid input data */
|
|
8283
|
+
400: {
|
|
8284
|
+
headers: {
|
|
8285
|
+
[name: string]: unknown;
|
|
8286
|
+
};
|
|
8287
|
+
content: {
|
|
8288
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
8289
|
+
};
|
|
8290
|
+
};
|
|
8291
|
+
/** @description Authorization not provided */
|
|
8292
|
+
401: {
|
|
8293
|
+
headers: {
|
|
8294
|
+
[name: string]: unknown;
|
|
8295
|
+
};
|
|
8296
|
+
content: {
|
|
8297
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
8298
|
+
};
|
|
8299
|
+
};
|
|
8300
|
+
/** @description Insufficient access */
|
|
8301
|
+
403: {
|
|
8302
|
+
headers: {
|
|
8303
|
+
[name: string]: unknown;
|
|
8304
|
+
};
|
|
8305
|
+
content: {
|
|
8306
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
8307
|
+
};
|
|
8308
|
+
};
|
|
8309
|
+
/** @description Not found */
|
|
8310
|
+
404: {
|
|
8311
|
+
headers: {
|
|
8312
|
+
[name: string]: unknown;
|
|
8313
|
+
};
|
|
8314
|
+
content: {
|
|
8315
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
8316
|
+
};
|
|
8317
|
+
};
|
|
8318
|
+
/** @description Internal server error */
|
|
8319
|
+
500: {
|
|
8320
|
+
headers: {
|
|
8321
|
+
[name: string]: unknown;
|
|
8322
|
+
};
|
|
8323
|
+
content: {
|
|
8324
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
8325
|
+
};
|
|
8326
|
+
};
|
|
8327
|
+
};
|
|
8328
|
+
};
|
|
8329
|
+
updateTenantTaxPayable: {
|
|
8330
|
+
parameters: {
|
|
8331
|
+
query?: never;
|
|
8332
|
+
header?: {
|
|
8333
|
+
"X-Team-Id"?: string;
|
|
8334
|
+
};
|
|
8335
|
+
path?: never;
|
|
8336
|
+
cookie?: never;
|
|
8337
|
+
};
|
|
8338
|
+
requestBody: {
|
|
8339
|
+
content: {
|
|
8340
|
+
"application/json": {
|
|
8341
|
+
/** @description Value in cents (100 = 1€) */
|
|
8342
|
+
centTotal: number;
|
|
8343
|
+
currency?: string | null;
|
|
8344
|
+
effectiveAt?: string | null;
|
|
8345
|
+
note?: string | null;
|
|
8346
|
+
};
|
|
8347
|
+
};
|
|
8348
|
+
};
|
|
8349
|
+
responses: {
|
|
8350
|
+
/** @description Successful response */
|
|
8351
|
+
200: {
|
|
8352
|
+
headers: {
|
|
8353
|
+
[name: string]: unknown;
|
|
8354
|
+
};
|
|
8355
|
+
content: {
|
|
8356
|
+
"application/json": {
|
|
8357
|
+
/** @description Value in cents (100 = 1€) */
|
|
8358
|
+
taxPayableCentTotal: number;
|
|
8359
|
+
/** @description Value in cents (100 = 1€) */
|
|
8360
|
+
advancedDepositsCentTotal: number;
|
|
8361
|
+
currency: string;
|
|
8362
|
+
note?: string | null;
|
|
8363
|
+
updatedAt?: string | null;
|
|
8364
|
+
};
|
|
8365
|
+
};
|
|
8366
|
+
};
|
|
8367
|
+
/** @description Invalid input data */
|
|
8368
|
+
400: {
|
|
8369
|
+
headers: {
|
|
8370
|
+
[name: string]: unknown;
|
|
8371
|
+
};
|
|
8372
|
+
content: {
|
|
8373
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
8374
|
+
};
|
|
8375
|
+
};
|
|
8376
|
+
/** @description Authorization not provided */
|
|
8377
|
+
401: {
|
|
8378
|
+
headers: {
|
|
8379
|
+
[name: string]: unknown;
|
|
8380
|
+
};
|
|
8381
|
+
content: {
|
|
8382
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
8383
|
+
};
|
|
8384
|
+
};
|
|
8385
|
+
/** @description Insufficient access */
|
|
8386
|
+
403: {
|
|
8387
|
+
headers: {
|
|
8388
|
+
[name: string]: unknown;
|
|
8389
|
+
};
|
|
8390
|
+
content: {
|
|
8391
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
8392
|
+
};
|
|
8393
|
+
};
|
|
8394
|
+
/** @description Not found */
|
|
8395
|
+
404: {
|
|
8396
|
+
headers: {
|
|
8397
|
+
[name: string]: unknown;
|
|
8398
|
+
};
|
|
8399
|
+
content: {
|
|
8400
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
8401
|
+
};
|
|
8402
|
+
};
|
|
8403
|
+
/** @description Internal server error */
|
|
8404
|
+
500: {
|
|
8405
|
+
headers: {
|
|
8406
|
+
[name: string]: unknown;
|
|
8407
|
+
};
|
|
8408
|
+
content: {
|
|
8409
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
8410
|
+
};
|
|
8411
|
+
};
|
|
8412
|
+
};
|
|
8413
|
+
};
|
|
8414
|
+
updateTenantAdvancedDeposits: {
|
|
8415
|
+
parameters: {
|
|
8416
|
+
query?: never;
|
|
8417
|
+
header?: {
|
|
8418
|
+
"X-Team-Id"?: string;
|
|
8419
|
+
};
|
|
8420
|
+
path?: never;
|
|
8421
|
+
cookie?: never;
|
|
8422
|
+
};
|
|
8423
|
+
requestBody: {
|
|
8424
|
+
content: {
|
|
8425
|
+
"application/json": {
|
|
8426
|
+
/** @description Value in cents (100 = 1€) */
|
|
8427
|
+
centTotal: number;
|
|
8428
|
+
currency?: string | null;
|
|
8429
|
+
effectiveAt?: string | null;
|
|
8430
|
+
/** Format: uuid */
|
|
8431
|
+
accountId: string;
|
|
8432
|
+
note?: string | null;
|
|
8433
|
+
};
|
|
8434
|
+
};
|
|
8435
|
+
};
|
|
8436
|
+
responses: {
|
|
8437
|
+
/** @description Successful response */
|
|
8438
|
+
200: {
|
|
8439
|
+
headers: {
|
|
8440
|
+
[name: string]: unknown;
|
|
8441
|
+
};
|
|
8442
|
+
content: {
|
|
8443
|
+
"application/json": {
|
|
8444
|
+
/** @description Value in cents (100 = 1€) */
|
|
8445
|
+
taxPayableCentTotal: number;
|
|
8446
|
+
/** @description Value in cents (100 = 1€) */
|
|
8447
|
+
advancedDepositsCentTotal: number;
|
|
8448
|
+
currency: string;
|
|
8449
|
+
note?: string | null;
|
|
8450
|
+
updatedAt?: string | null;
|
|
8451
|
+
};
|
|
8452
|
+
};
|
|
8453
|
+
};
|
|
8454
|
+
/** @description Invalid input data */
|
|
8455
|
+
400: {
|
|
8456
|
+
headers: {
|
|
8457
|
+
[name: string]: unknown;
|
|
8458
|
+
};
|
|
8459
|
+
content: {
|
|
8460
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
8461
|
+
};
|
|
8462
|
+
};
|
|
8463
|
+
/** @description Authorization not provided */
|
|
8464
|
+
401: {
|
|
8465
|
+
headers: {
|
|
8466
|
+
[name: string]: unknown;
|
|
8467
|
+
};
|
|
8468
|
+
content: {
|
|
8469
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
8470
|
+
};
|
|
8471
|
+
};
|
|
8472
|
+
/** @description Insufficient access */
|
|
8473
|
+
403: {
|
|
8474
|
+
headers: {
|
|
8475
|
+
[name: string]: unknown;
|
|
8476
|
+
};
|
|
8477
|
+
content: {
|
|
8478
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
8479
|
+
};
|
|
8480
|
+
};
|
|
8481
|
+
/** @description Not found */
|
|
8482
|
+
404: {
|
|
8483
|
+
headers: {
|
|
8484
|
+
[name: string]: unknown;
|
|
8485
|
+
};
|
|
8486
|
+
content: {
|
|
8487
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
8488
|
+
};
|
|
8489
|
+
};
|
|
8490
|
+
/** @description Internal server error */
|
|
8491
|
+
500: {
|
|
8492
|
+
headers: {
|
|
8493
|
+
[name: string]: unknown;
|
|
8494
|
+
};
|
|
8495
|
+
content: {
|
|
8496
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
8497
|
+
};
|
|
8498
|
+
};
|
|
8499
|
+
};
|
|
8500
|
+
};
|
|
8019
8501
|
getTeam: {
|
|
8020
8502
|
parameters: {
|
|
8021
8503
|
query?: never;
|