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