@vrplatform/api 1.2.33-stage.862 → 1.2.33-stage.864

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.2.33-stage.862",
6
+ "version": "1.2.33-stage.864",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -374,23 +374,6 @@ export interface paths {
374
374
  patch?: never;
375
375
  trace?: never;
376
376
  };
377
- "/teams/opening-balances": {
378
- parameters: {
379
- query?: never;
380
- header?: never;
381
- path?: never;
382
- cookie?: never;
383
- };
384
- /** @description Retrieve tenant opening balances overview */
385
- get: operations["getTenantOpeningBalances"];
386
- put?: never;
387
- post?: never;
388
- delete?: never;
389
- options?: never;
390
- head?: never;
391
- patch?: never;
392
- trace?: never;
393
- };
394
377
  "/teams/opening-balances/tax-payable": {
395
378
  parameters: {
396
379
  query?: never;
@@ -398,7 +381,8 @@ export interface paths {
398
381
  path?: never;
399
382
  cookie?: never;
400
383
  };
401
- get?: never;
384
+ /** @description Retrieve opening balance tax payable summary */
385
+ get: operations["getTenantTaxPayable"];
402
386
  /** @description Update opening balance tax payable */
403
387
  put: operations["updateTenantTaxPayable"];
404
388
  post?: never;
@@ -415,7 +399,8 @@ export interface paths {
415
399
  path?: never;
416
400
  cookie?: never;
417
401
  };
418
- get?: never;
402
+ /** @description Retrieve opening balance advanced deposits summary */
403
+ get: operations["getTenantAdvancedDeposits"];
419
404
  /** @description Update opening balance advanced deposits */
420
405
  put: operations["updateTenantAdvancedDeposits"];
421
406
  post?: never;
@@ -8269,7 +8254,7 @@ export interface operations {
8269
8254
  };
8270
8255
  };
8271
8256
  };
8272
- getTenantOpeningBalances: {
8257
+ getTenantTaxPayable: {
8273
8258
  parameters: {
8274
8259
  query?: never;
8275
8260
  header?: {
@@ -8287,39 +8272,12 @@ export interface operations {
8287
8272
  };
8288
8273
  content: {
8289
8274
  "application/json": {
8290
- taxPayable: {
8291
- /** @description Value in cents (100 = 1€) */
8292
- amount: number;
8293
- currency: string;
8294
- effectiveAt: string | null;
8295
- note?: string | null;
8296
- updatedAt?: string | null;
8297
- };
8298
- advancedDeposits: {
8299
- /** @description Value in cents (100 = 1€) */
8300
- amount: number;
8301
- currency: string;
8302
- effectiveAt: string | null;
8303
- note?: string | null;
8304
- updatedAt?: string | null;
8305
- /** Format: uuid */
8306
- transactionId?: string | null;
8307
- account?: {
8308
- /** Format: uuid */
8309
- id: string;
8310
- name: string;
8311
- } | null;
8312
- reservations: {
8313
- /** Format: uuid */
8314
- reservationId?: string | null;
8315
- /** Format: uuid */
8316
- listingId?: string | null;
8317
- /** @description Value in cents (100 = 1€) */
8318
- payment: number;
8319
- /** @description Value in cents (100 = 1€) */
8320
- refund: number;
8321
- }[];
8322
- };
8275
+ /** @description Value in cents (100 = 1€) */
8276
+ amount: number;
8277
+ currency: string;
8278
+ effectiveAt: string | null;
8279
+ note?: string | null;
8280
+ updatedAt?: string | null;
8323
8281
  };
8324
8282
  };
8325
8283
  };
@@ -8398,39 +8356,103 @@ export interface operations {
8398
8356
  };
8399
8357
  content: {
8400
8358
  "application/json": {
8401
- taxPayable: {
8359
+ /** @description Value in cents (100 = 1€) */
8360
+ amount: number;
8361
+ currency: string;
8362
+ effectiveAt: string | null;
8363
+ note?: string | null;
8364
+ updatedAt?: string | null;
8365
+ };
8366
+ };
8367
+ };
8368
+ /** @description Invalid input data */
8369
+ 400: {
8370
+ headers: {
8371
+ [name: string]: unknown;
8372
+ };
8373
+ content: {
8374
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
8375
+ };
8376
+ };
8377
+ /** @description Authorization not provided */
8378
+ 401: {
8379
+ headers: {
8380
+ [name: string]: unknown;
8381
+ };
8382
+ content: {
8383
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
8384
+ };
8385
+ };
8386
+ /** @description Insufficient access */
8387
+ 403: {
8388
+ headers: {
8389
+ [name: string]: unknown;
8390
+ };
8391
+ content: {
8392
+ "application/json": components["schemas"]["error.FORBIDDEN"];
8393
+ };
8394
+ };
8395
+ /** @description Not found */
8396
+ 404: {
8397
+ headers: {
8398
+ [name: string]: unknown;
8399
+ };
8400
+ content: {
8401
+ "application/json": components["schemas"]["error.NOT_FOUND"];
8402
+ };
8403
+ };
8404
+ /** @description Internal server error */
8405
+ 500: {
8406
+ headers: {
8407
+ [name: string]: unknown;
8408
+ };
8409
+ content: {
8410
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
8411
+ };
8412
+ };
8413
+ };
8414
+ };
8415
+ getTenantAdvancedDeposits: {
8416
+ parameters: {
8417
+ query?: never;
8418
+ header?: {
8419
+ "X-Team-Id"?: string;
8420
+ };
8421
+ path?: never;
8422
+ cookie?: never;
8423
+ };
8424
+ requestBody?: never;
8425
+ responses: {
8426
+ /** @description Successful response */
8427
+ 200: {
8428
+ headers: {
8429
+ [name: string]: unknown;
8430
+ };
8431
+ content: {
8432
+ "application/json": {
8433
+ /** @description Value in cents (100 = 1€) */
8434
+ amount: number;
8435
+ currency: string;
8436
+ effectiveAt: string | null;
8437
+ note?: string | null;
8438
+ updatedAt?: string | null;
8439
+ /** Format: uuid */
8440
+ transactionId?: string | null;
8441
+ account?: {
8442
+ /** Format: uuid */
8443
+ id: string;
8444
+ name: string;
8445
+ } | null;
8446
+ reservations: {
8447
+ /** Format: uuid */
8448
+ reservationId?: string | null;
8449
+ /** Format: uuid */
8450
+ listingId?: string | null;
8402
8451
  /** @description Value in cents (100 = 1€) */
8403
- amount: number;
8404
- currency: string;
8405
- effectiveAt: string | null;
8406
- note?: string | null;
8407
- updatedAt?: string | null;
8408
- };
8409
- advancedDeposits: {
8452
+ payment: number;
8410
8453
  /** @description Value in cents (100 = 1€) */
8411
- amount: number;
8412
- currency: string;
8413
- effectiveAt: string | null;
8414
- note?: string | null;
8415
- updatedAt?: string | null;
8416
- /** Format: uuid */
8417
- transactionId?: string | null;
8418
- account?: {
8419
- /** Format: uuid */
8420
- id: string;
8421
- name: string;
8422
- } | null;
8423
- reservations: {
8424
- /** Format: uuid */
8425
- reservationId?: string | null;
8426
- /** Format: uuid */
8427
- listingId?: string | null;
8428
- /** @description Value in cents (100 = 1€) */
8429
- payment: number;
8430
- /** @description Value in cents (100 = 1€) */
8431
- refund: number;
8432
- }[];
8433
- };
8454
+ refund: number;
8455
+ }[];
8434
8456
  };
8435
8457
  };
8436
8458
  };
@@ -8521,39 +8543,29 @@ export interface operations {
8521
8543
  };
8522
8544
  content: {
8523
8545
  "application/json": {
8524
- taxPayable: {
8546
+ /** @description Value in cents (100 = 1€) */
8547
+ amount: number;
8548
+ currency: string;
8549
+ effectiveAt: string | null;
8550
+ note?: string | null;
8551
+ updatedAt?: string | null;
8552
+ /** Format: uuid */
8553
+ transactionId?: string | null;
8554
+ account?: {
8555
+ /** Format: uuid */
8556
+ id: string;
8557
+ name: string;
8558
+ } | null;
8559
+ reservations: {
8560
+ /** Format: uuid */
8561
+ reservationId?: string | null;
8562
+ /** Format: uuid */
8563
+ listingId?: string | null;
8525
8564
  /** @description Value in cents (100 = 1€) */
8526
- amount: number;
8527
- currency: string;
8528
- effectiveAt: string | null;
8529
- note?: string | null;
8530
- updatedAt?: string | null;
8531
- };
8532
- advancedDeposits: {
8565
+ payment: number;
8533
8566
  /** @description Value in cents (100 = 1€) */
8534
- amount: number;
8535
- currency: string;
8536
- effectiveAt: string | null;
8537
- note?: string | null;
8538
- updatedAt?: string | null;
8539
- /** Format: uuid */
8540
- transactionId?: string | null;
8541
- account?: {
8542
- /** Format: uuid */
8543
- id: string;
8544
- name: string;
8545
- } | null;
8546
- reservations: {
8547
- /** Format: uuid */
8548
- reservationId?: string | null;
8549
- /** Format: uuid */
8550
- listingId?: string | null;
8551
- /** @description Value in cents (100 = 1€) */
8552
- payment: number;
8553
- /** @description Value in cents (100 = 1€) */
8554
- refund: number;
8555
- }[];
8556
- };
8567
+ refund: number;
8568
+ }[];
8557
8569
  };
8558
8570
  };
8559
8571
  };
@@ -19107,17 +19119,30 @@ export interface operations {
19107
19119
  /** @enum {string} */
19108
19120
  status: "completed" | "failed";
19109
19121
  message: string;
19110
- changes: {
19111
- /** Format: uuid */
19112
- id: string;
19113
- message: string;
19114
- /** @enum {string} */
19115
- status: "completed" | "failed";
19116
- entityType: string;
19117
- /** Format: uuid */
19118
- entityId: string;
19119
- entityUniqueRef: string;
19120
- }[];
19122
+ /** @enum {string} */
19123
+ type: "reservation";
19124
+ /** Format: uuid */
19125
+ reservationId: string;
19126
+ } | {
19127
+ /** Format: uuid */
19128
+ id: string;
19129
+ /** @enum {string} */
19130
+ status: "completed" | "failed";
19131
+ message: string;
19132
+ /** @enum {string} */
19133
+ type: "listing";
19134
+ /** Format: uuid */
19135
+ listingId: string;
19136
+ } | {
19137
+ /** Format: uuid */
19138
+ id: string;
19139
+ /** @enum {string} */
19140
+ status: "completed" | "failed";
19141
+ message: string;
19142
+ /** @enum {string} */
19143
+ type: "payout";
19144
+ /** Format: uuid */
19145
+ paymentId: string;
19121
19146
  };
19122
19147
  };
19123
19148
  };