@vrplatform/api 1.3.1-1548 → 1.3.1-1559

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
@@ -6,7 +6,7 @@
6
6
  "typings": "build/main/index.d.ts",
7
7
  "module": "build/module/index.js"
8
8
  },
9
- "version": "1.3.1-1548",
9
+ "version": "1.3.1-1559",
10
10
  "description": "",
11
11
  "main": "build/main/index.js",
12
12
  "module": "build/module/index.js",
@@ -1530,6 +1530,23 @@ export interface paths {
1530
1530
  patch?: never;
1531
1531
  trace?: never;
1532
1532
  };
1533
+ "/reservations/{id}/status": {
1534
+ parameters: {
1535
+ query?: never;
1536
+ header?: never;
1537
+ path?: never;
1538
+ cookie?: never;
1539
+ };
1540
+ get?: never;
1541
+ put?: never;
1542
+ post?: never;
1543
+ delete?: never;
1544
+ options?: never;
1545
+ head?: never;
1546
+ /** @description Update reservation general ledger status (active/inactive) */
1547
+ patch: operations["patchReservations:idStatus"];
1548
+ trace?: never;
1549
+ };
1533
1550
  "/reservations/{reservationId}/adjustments": {
1534
1551
  parameters: {
1535
1552
  query?: never;
@@ -18143,6 +18160,8 @@ export interface operations {
18143
18160
  /** Format: uuid */
18144
18161
  id: string;
18145
18162
  shortRef?: string | null;
18163
+ /** @enum {string} */
18164
+ generalLedgerStatus: "active" | "inactive";
18146
18165
  lock?: {
18147
18166
  /** @enum {string} */
18148
18167
  status: "locked" | "unlocked";
@@ -18294,6 +18313,9 @@ export interface operations {
18294
18313
  } | null;
18295
18314
  isExcluded?: boolean | null;
18296
18315
  }[];
18316
+ managerCentTotal: number | null;
18317
+ taxCentTotal: number | null;
18318
+ ownersCentTotal: number | null;
18297
18319
  }[];
18298
18320
  pagination: {
18299
18321
  /** @default 100 */
@@ -18479,6 +18501,8 @@ export interface operations {
18479
18501
  /** Format: uuid */
18480
18502
  id: string;
18481
18503
  shortRef?: string | null;
18504
+ /** @enum {string} */
18505
+ generalLedgerStatus: "active" | "inactive";
18482
18506
  lock?: {
18483
18507
  /** @enum {string} */
18484
18508
  status: "locked" | "unlocked";
@@ -19468,6 +19492,8 @@ export interface operations {
19468
19492
  /** Format: uuid */
19469
19493
  id: string;
19470
19494
  shortRef?: string | null;
19495
+ /** @enum {string} */
19496
+ generalLedgerStatus: "active" | "inactive";
19471
19497
  lock?: {
19472
19498
  /** @enum {string} */
19473
19499
  status: "locked" | "unlocked";
@@ -20015,6 +20041,8 @@ export interface operations {
20015
20041
  /** Format: uuid */
20016
20042
  id: string;
20017
20043
  shortRef?: string | null;
20044
+ /** @enum {string} */
20045
+ generalLedgerStatus: "active" | "inactive";
20018
20046
  lock?: {
20019
20047
  /** @enum {string} */
20020
20048
  status: "locked" | "unlocked";
@@ -20509,6 +20537,120 @@ export interface operations {
20509
20537
  };
20510
20538
  };
20511
20539
  };
20540
+ "patchReservations:idStatus": {
20541
+ parameters: {
20542
+ query?: never;
20543
+ header?: never;
20544
+ path: {
20545
+ id: string;
20546
+ };
20547
+ cookie?: never;
20548
+ };
20549
+ requestBody?: {
20550
+ content: {
20551
+ "application/json": {
20552
+ /** @enum {string} */
20553
+ generalLedgerStatus: "active" | "inactive";
20554
+ };
20555
+ };
20556
+ };
20557
+ responses: {
20558
+ /** @description Successful response */
20559
+ 200: {
20560
+ headers: {
20561
+ [name: string]: unknown;
20562
+ };
20563
+ content: {
20564
+ "application/json": {
20565
+ /** Format: uuid */
20566
+ id: string;
20567
+ /** @enum {string} */
20568
+ generalLedgerStatus: "active" | "inactive";
20569
+ };
20570
+ };
20571
+ };
20572
+ /** @description Bad request */
20573
+ 400: {
20574
+ headers: {
20575
+ [name: string]: unknown;
20576
+ };
20577
+ content: {
20578
+ "application/json": {
20579
+ code: string;
20580
+ message: string;
20581
+ issues?: {
20582
+ message: string;
20583
+ }[];
20584
+ context?: unknown;
20585
+ };
20586
+ };
20587
+ };
20588
+ /** @description Unauthorized */
20589
+ 401: {
20590
+ headers: {
20591
+ [name: string]: unknown;
20592
+ };
20593
+ content: {
20594
+ "application/json": {
20595
+ code: string;
20596
+ message: string;
20597
+ issues?: {
20598
+ message: string;
20599
+ }[];
20600
+ context?: unknown;
20601
+ };
20602
+ };
20603
+ };
20604
+ /** @description Forbidden */
20605
+ 403: {
20606
+ headers: {
20607
+ [name: string]: unknown;
20608
+ };
20609
+ content: {
20610
+ "application/json": {
20611
+ code: string;
20612
+ message: string;
20613
+ issues?: {
20614
+ message: string;
20615
+ }[];
20616
+ context?: unknown;
20617
+ };
20618
+ };
20619
+ };
20620
+ /** @description Not found */
20621
+ 404: {
20622
+ headers: {
20623
+ [name: string]: unknown;
20624
+ };
20625
+ content: {
20626
+ "application/json": {
20627
+ code: string;
20628
+ message: string;
20629
+ issues?: {
20630
+ message: string;
20631
+ }[];
20632
+ context?: unknown;
20633
+ };
20634
+ };
20635
+ };
20636
+ /** @description Internal server error */
20637
+ 500: {
20638
+ headers: {
20639
+ [name: string]: unknown;
20640
+ };
20641
+ content: {
20642
+ "application/json": {
20643
+ code: string;
20644
+ message: string;
20645
+ issues?: {
20646
+ message: string;
20647
+ }[];
20648
+ context?: unknown;
20649
+ };
20650
+ };
20651
+ };
20652
+ };
20653
+ };
20512
20654
  "postReservations:reservationIdAdjustments": {
20513
20655
  parameters: {
20514
20656
  query?: never;
@@ -20568,6 +20710,8 @@ export interface operations {
20568
20710
  /** Format: uuid */
20569
20711
  id: string;
20570
20712
  shortRef?: string | null;
20713
+ /** @enum {string} */
20714
+ generalLedgerStatus: "active" | "inactive";
20571
20715
  lock?: {
20572
20716
  /** @enum {string} */
20573
20717
  status: "locked" | "unlocked";
@@ -21010,6 +21154,8 @@ export interface operations {
21010
21154
  /** Format: uuid */
21011
21155
  id: string;
21012
21156
  shortRef?: string | null;
21157
+ /** @enum {string} */
21158
+ generalLedgerStatus: "active" | "inactive";
21013
21159
  lock?: {
21014
21160
  /** @enum {string} */
21015
21161
  status: "locked" | "unlocked";
@@ -21438,6 +21584,8 @@ export interface operations {
21438
21584
  /** Format: uuid */
21439
21585
  id: string;
21440
21586
  shortRef?: string | null;
21587
+ /** @enum {string} */
21588
+ generalLedgerStatus: "active" | "inactive";
21441
21589
  lock?: {
21442
21590
  /** @enum {string} */
21443
21591
  status: "locked" | "unlocked";