@vrplatform/api 1.2.40-stage.1061 → 1.2.40-stage.1064

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.
@@ -4073,6 +4073,24 @@ export interface operations {
4073
4073
  id: string;
4074
4074
  hasLockedJournalEntries: boolean;
4075
4075
  issues: ({
4076
+ /** @enum {string} */
4077
+ code: "lineNotFound";
4078
+ /** @enum {string} */
4079
+ severity: "error";
4080
+ context: {
4081
+ lineIds: string[];
4082
+ };
4083
+ message: string;
4084
+ } | {
4085
+ /** @enum {string} */
4086
+ code: "unbalancedJournalEntries";
4087
+ /** @enum {string} */
4088
+ severity: "error";
4089
+ context: {
4090
+ difference: number;
4091
+ };
4092
+ message: string;
4093
+ } | {
4076
4094
  /** @enum {string} */
4077
4095
  code: "unassignedAccount";
4078
4096
  /** @enum {string} */
@@ -4113,8 +4131,8 @@ export interface operations {
4113
4131
  appId: string;
4114
4132
  } | null;
4115
4133
  nights?: number | null;
4116
- /** @enum {string|null} */
4117
- status?: "booked" | "canceled" | "inactive" | null;
4134
+ /** @enum {string} */
4135
+ status: "booked" | "canceled" | "inactive";
4118
4136
  financials: {
4119
4137
  totals: {
4120
4138
  tax: number;
@@ -4133,6 +4151,8 @@ export interface operations {
4133
4151
  /** @enum {string} */
4134
4152
  status: "active" | "inactive";
4135
4153
  amount: number;
4154
+ /** @enum {string|null} */
4155
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
4136
4156
  account?: {
4137
4157
  id: string;
4138
4158
  name: string;
@@ -4429,6 +4449,24 @@ export interface operations {
4429
4449
  id: string;
4430
4450
  hasLockedJournalEntries: boolean;
4431
4451
  issues: ({
4452
+ /** @enum {string} */
4453
+ code: "lineNotFound";
4454
+ /** @enum {string} */
4455
+ severity: "error";
4456
+ context: {
4457
+ lineIds: string[];
4458
+ };
4459
+ message: string;
4460
+ } | {
4461
+ /** @enum {string} */
4462
+ code: "unbalancedJournalEntries";
4463
+ /** @enum {string} */
4464
+ severity: "error";
4465
+ context: {
4466
+ difference: number;
4467
+ };
4468
+ message: string;
4469
+ } | {
4432
4470
  /** @enum {string} */
4433
4471
  code: "unassignedAccount";
4434
4472
  /** @enum {string} */
@@ -4469,8 +4507,8 @@ export interface operations {
4469
4507
  appId: string;
4470
4508
  } | null;
4471
4509
  nights?: number | null;
4472
- /** @enum {string|null} */
4473
- status?: "booked" | "canceled" | "inactive" | null;
4510
+ /** @enum {string} */
4511
+ status: "booked" | "canceled" | "inactive";
4474
4512
  financials: {
4475
4513
  totals: {
4476
4514
  tax: number;
@@ -4489,6 +4527,8 @@ export interface operations {
4489
4527
  /** @enum {string} */
4490
4528
  status: "active" | "inactive";
4491
4529
  amount: number;
4530
+ /** @enum {string|null} */
4531
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
4492
4532
  account?: {
4493
4533
  id: string;
4494
4534
  name: string;
@@ -4865,6 +4905,24 @@ export interface operations {
4865
4905
  id: string;
4866
4906
  hasLockedJournalEntries: boolean;
4867
4907
  issues: ({
4908
+ /** @enum {string} */
4909
+ code: "lineNotFound";
4910
+ /** @enum {string} */
4911
+ severity: "error";
4912
+ context: {
4913
+ lineIds: string[];
4914
+ };
4915
+ message: string;
4916
+ } | {
4917
+ /** @enum {string} */
4918
+ code: "unbalancedJournalEntries";
4919
+ /** @enum {string} */
4920
+ severity: "error";
4921
+ context: {
4922
+ difference: number;
4923
+ };
4924
+ message: string;
4925
+ } | {
4868
4926
  /** @enum {string} */
4869
4927
  code: "unassignedAccount";
4870
4928
  /** @enum {string} */
@@ -4905,8 +4963,8 @@ export interface operations {
4905
4963
  appId: string;
4906
4964
  } | null;
4907
4965
  nights?: number | null;
4908
- /** @enum {string|null} */
4909
- status?: "booked" | "canceled" | "inactive" | null;
4966
+ /** @enum {string} */
4967
+ status: "booked" | "canceled" | "inactive";
4910
4968
  financials: {
4911
4969
  totals: {
4912
4970
  tax: number;
@@ -4925,6 +4983,8 @@ export interface operations {
4925
4983
  /** @enum {string} */
4926
4984
  status: "active" | "inactive";
4927
4985
  amount: number;
4986
+ /** @enum {string|null} */
4987
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
4928
4988
  account?: {
4929
4989
  id: string;
4930
4990
  name: string;
@@ -5239,6 +5299,24 @@ export interface operations {
5239
5299
  /** Format: uuid */
5240
5300
  id: string;
5241
5301
  issues: ({
5302
+ /** @enum {string} */
5303
+ code: "lineNotFound";
5304
+ /** @enum {string} */
5305
+ severity: "error";
5306
+ context: {
5307
+ lineIds: string[];
5308
+ };
5309
+ message: string;
5310
+ } | {
5311
+ /** @enum {string} */
5312
+ code: "unbalancedJournalEntries";
5313
+ /** @enum {string} */
5314
+ severity: "error";
5315
+ context: {
5316
+ difference: number;
5317
+ };
5318
+ message: string;
5319
+ } | {
5242
5320
  /** @enum {string} */
5243
5321
  code: "unassignedAccount";
5244
5322
  /** @enum {string} */
@@ -5279,8 +5357,8 @@ export interface operations {
5279
5357
  appId: string;
5280
5358
  } | null;
5281
5359
  nights?: number | null;
5282
- /** @enum {string|null} */
5283
- status?: "booked" | "canceled" | "inactive" | null;
5360
+ /** @enum {string} */
5361
+ status: "booked" | "canceled" | "inactive";
5284
5362
  listing?: {
5285
5363
  /** Format: uuid */
5286
5364
  id: string;
@@ -5498,6 +5576,24 @@ export interface operations {
5498
5576
  id: string;
5499
5577
  hasLockedJournalEntries: boolean;
5500
5578
  issues: ({
5579
+ /** @enum {string} */
5580
+ code: "lineNotFound";
5581
+ /** @enum {string} */
5582
+ severity: "error";
5583
+ context: {
5584
+ lineIds: string[];
5585
+ };
5586
+ message: string;
5587
+ } | {
5588
+ /** @enum {string} */
5589
+ code: "unbalancedJournalEntries";
5590
+ /** @enum {string} */
5591
+ severity: "error";
5592
+ context: {
5593
+ difference: number;
5594
+ };
5595
+ message: string;
5596
+ } | {
5501
5597
  /** @enum {string} */
5502
5598
  code: "unassignedAccount";
5503
5599
  /** @enum {string} */
@@ -5538,8 +5634,8 @@ export interface operations {
5538
5634
  appId: string;
5539
5635
  } | null;
5540
5636
  nights?: number | null;
5541
- /** @enum {string|null} */
5542
- status?: "booked" | "canceled" | "inactive" | null;
5637
+ /** @enum {string} */
5638
+ status: "booked" | "canceled" | "inactive";
5543
5639
  financials: {
5544
5640
  totals: {
5545
5641
  tax: number;
@@ -5558,6 +5654,8 @@ export interface operations {
5558
5654
  /** @enum {string} */
5559
5655
  status: "active" | "inactive";
5560
5656
  amount: number;
5657
+ /** @enum {string|null} */
5658
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
5561
5659
  account?: {
5562
5660
  id: string;
5563
5661
  name: string;
@@ -8913,6 +9011,8 @@ export interface operations {
8913
9011
  /** @enum {string} */
8914
9012
  status: "active" | "inactive";
8915
9013
  amount: number;
9014
+ /** @enum {string|null} */
9015
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
8916
9016
  fee: number;
8917
9017
  account?: {
8918
9018
  id: string;