@vrplatform/api 1.2.33-stage.861 → 1.2.33-stage.863

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.
@@ -373,23 +373,6 @@ export interface paths {
373
373
  patch?: never;
374
374
  trace?: never;
375
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
376
  "/teams/opening-balances/tax-payable": {
394
377
  parameters: {
395
378
  query?: never;
@@ -397,7 +380,8 @@ export interface paths {
397
380
  path?: never;
398
381
  cookie?: never;
399
382
  };
400
- get?: never;
383
+ /** @description Retrieve opening balance tax payable summary */
384
+ get: operations["getTenantTaxPayable"];
401
385
  /** @description Update opening balance tax payable */
402
386
  put: operations["updateTenantTaxPayable"];
403
387
  post?: never;
@@ -414,7 +398,8 @@ export interface paths {
414
398
  path?: never;
415
399
  cookie?: never;
416
400
  };
417
- get?: never;
401
+ /** @description Retrieve opening balance advanced deposits summary */
402
+ get: operations["getTenantAdvancedDeposits"];
418
403
  /** @description Update opening balance advanced deposits */
419
404
  put: operations["updateTenantAdvancedDeposits"];
420
405
  post?: never;
@@ -8268,7 +8253,7 @@ export interface operations {
8268
8253
  };
8269
8254
  };
8270
8255
  };
8271
- getTenantOpeningBalances: {
8256
+ getTenantTaxPayable: {
8272
8257
  parameters: {
8273
8258
  query?: never;
8274
8259
  header?: {
@@ -8286,39 +8271,12 @@ export interface operations {
8286
8271
  };
8287
8272
  content: {
8288
8273
  "application/json": {
8289
- taxPayable: {
8290
- /** @description Value in cents (100 = 1€) */
8291
- amount: number;
8292
- currency: string;
8293
- effectiveAt: string | null;
8294
- note?: string | null;
8295
- updatedAt?: string | null;
8296
- };
8297
- advancedDeposits: {
8298
- /** @description Value in cents (100 = 1€) */
8299
- amount: number;
8300
- currency: string;
8301
- effectiveAt: string | null;
8302
- note?: string | null;
8303
- updatedAt?: string | null;
8304
- /** Format: uuid */
8305
- transactionId?: string | null;
8306
- account?: {
8307
- /** Format: uuid */
8308
- id: string;
8309
- name: string;
8310
- } | null;
8311
- reservations: {
8312
- /** Format: uuid */
8313
- reservationId?: string | null;
8314
- /** Format: uuid */
8315
- listingId?: string | null;
8316
- /** @description Value in cents (100 = 1€) */
8317
- payment: number;
8318
- /** @description Value in cents (100 = 1€) */
8319
- refund: number;
8320
- }[];
8321
- };
8274
+ /** @description Value in cents (100 = 1€) */
8275
+ amount: number;
8276
+ currency: string;
8277
+ effectiveAt: string | null;
8278
+ note?: string | null;
8279
+ updatedAt?: string | null;
8322
8280
  };
8323
8281
  };
8324
8282
  };
@@ -8397,39 +8355,103 @@ export interface operations {
8397
8355
  };
8398
8356
  content: {
8399
8357
  "application/json": {
8400
- taxPayable: {
8358
+ /** @description Value in cents (100 = 1€) */
8359
+ amount: number;
8360
+ currency: string;
8361
+ effectiveAt: string | null;
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
+ getTenantAdvancedDeposits: {
8415
+ parameters: {
8416
+ query?: never;
8417
+ header?: {
8418
+ "X-Team-Id"?: string;
8419
+ };
8420
+ path?: never;
8421
+ cookie?: never;
8422
+ };
8423
+ requestBody?: never;
8424
+ responses: {
8425
+ /** @description Successful response */
8426
+ 200: {
8427
+ headers: {
8428
+ [name: string]: unknown;
8429
+ };
8430
+ content: {
8431
+ "application/json": {
8432
+ /** @description Value in cents (100 = 1€) */
8433
+ amount: number;
8434
+ currency: string;
8435
+ effectiveAt: string | null;
8436
+ note?: string | null;
8437
+ updatedAt?: string | null;
8438
+ /** Format: uuid */
8439
+ transactionId?: string | null;
8440
+ account?: {
8441
+ /** Format: uuid */
8442
+ id: string;
8443
+ name: string;
8444
+ } | null;
8445
+ reservations: {
8446
+ /** Format: uuid */
8447
+ reservationId?: string | null;
8448
+ /** Format: uuid */
8449
+ listingId?: string | null;
8401
8450
  /** @description Value in cents (100 = 1€) */
8402
- amount: number;
8403
- currency: string;
8404
- effectiveAt: string | null;
8405
- note?: string | null;
8406
- updatedAt?: string | null;
8407
- };
8408
- advancedDeposits: {
8451
+ payment: number;
8409
8452
  /** @description Value in cents (100 = 1€) */
8410
- amount: number;
8411
- currency: string;
8412
- effectiveAt: string | null;
8413
- note?: string | null;
8414
- updatedAt?: string | null;
8415
- /** Format: uuid */
8416
- transactionId?: string | null;
8417
- account?: {
8418
- /** Format: uuid */
8419
- id: string;
8420
- name: string;
8421
- } | null;
8422
- reservations: {
8423
- /** Format: uuid */
8424
- reservationId?: string | null;
8425
- /** Format: uuid */
8426
- listingId?: string | null;
8427
- /** @description Value in cents (100 = 1€) */
8428
- payment: number;
8429
- /** @description Value in cents (100 = 1€) */
8430
- refund: number;
8431
- }[];
8432
- };
8453
+ refund: number;
8454
+ }[];
8433
8455
  };
8434
8456
  };
8435
8457
  };
@@ -8520,39 +8542,29 @@ export interface operations {
8520
8542
  };
8521
8543
  content: {
8522
8544
  "application/json": {
8523
- taxPayable: {
8545
+ /** @description Value in cents (100 = 1€) */
8546
+ amount: number;
8547
+ currency: string;
8548
+ effectiveAt: string | null;
8549
+ note?: string | null;
8550
+ updatedAt?: string | null;
8551
+ /** Format: uuid */
8552
+ transactionId?: string | null;
8553
+ account?: {
8554
+ /** Format: uuid */
8555
+ id: string;
8556
+ name: string;
8557
+ } | null;
8558
+ reservations: {
8559
+ /** Format: uuid */
8560
+ reservationId?: string | null;
8561
+ /** Format: uuid */
8562
+ listingId?: string | null;
8524
8563
  /** @description Value in cents (100 = 1€) */
8525
- amount: number;
8526
- currency: string;
8527
- effectiveAt: string | null;
8528
- note?: string | null;
8529
- updatedAt?: string | null;
8530
- };
8531
- advancedDeposits: {
8564
+ payment: number;
8532
8565
  /** @description Value in cents (100 = 1€) */
8533
- amount: number;
8534
- currency: string;
8535
- effectiveAt: string | null;
8536
- note?: string | null;
8537
- updatedAt?: string | null;
8538
- /** Format: uuid */
8539
- transactionId?: string | null;
8540
- account?: {
8541
- /** Format: uuid */
8542
- id: string;
8543
- name: string;
8544
- } | null;
8545
- reservations: {
8546
- /** Format: uuid */
8547
- reservationId?: string | null;
8548
- /** Format: uuid */
8549
- listingId?: string | null;
8550
- /** @description Value in cents (100 = 1€) */
8551
- payment: number;
8552
- /** @description Value in cents (100 = 1€) */
8553
- refund: number;
8554
- }[];
8555
- };
8566
+ refund: number;
8567
+ }[];
8556
8568
  };
8557
8569
  };
8558
8570
  };