@vrplatform/api 1.3.1-stage.2059 → 1.3.1-stage.2061

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.
@@ -34445,19 +34445,241 @@ export interface operations {
34445
34445
  /** Format: uuid */
34446
34446
  tenantId: string;
34447
34447
  tenantName: string;
34448
- issues: {
34448
+ issues: ({
34449
+ /** @enum {string} */
34450
+ severity: "error" | "warning";
34449
34451
  /** @enum {string} */
34450
- code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "duplicatedPayments" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "reservationPaymentProjectionMismatch" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
34452
+ category: "criticalToUser" | "criticalToSystem";
34453
+ message: string;
34454
+ affected: number;
34455
+ /** @constant */
34456
+ code: "teamInactive";
34457
+ context: {
34458
+ status: string | null;
34459
+ };
34460
+ } | {
34451
34461
  /** @enum {string} */
34452
34462
  severity: "error" | "warning";
34453
34463
  /** @enum {string} */
34454
34464
  category: "criticalToUser" | "criticalToSystem";
34455
34465
  message: string;
34456
34466
  affected: number;
34467
+ /** @constant */
34468
+ code: "partnerInactive";
34457
34469
  context: {
34458
- [key: string]: unknown;
34470
+ /** Format: uuid */
34471
+ partnerId: string;
34472
+ status: string | null;
34459
34473
  };
34460
- }[];
34474
+ } | {
34475
+ /** @enum {string} */
34476
+ severity: "error" | "warning";
34477
+ /** @enum {string} */
34478
+ category: "criticalToUser" | "criticalToSystem";
34479
+ message: string;
34480
+ affected: number;
34481
+ /** @constant */
34482
+ code: "partnerBillingInactive";
34483
+ context: {
34484
+ /** Format: uuid */
34485
+ partnerId: string;
34486
+ billingSubscriptionStatus: string | null;
34487
+ };
34488
+ } | {
34489
+ /** @enum {string} */
34490
+ severity: "error" | "warning";
34491
+ /** @enum {string} */
34492
+ category: "criticalToUser" | "criticalToSystem";
34493
+ message: string;
34494
+ affected: number;
34495
+ /** @constant */
34496
+ code: "brokenConnections";
34497
+ context: {
34498
+ connections: {
34499
+ /** Format: uuid */
34500
+ id: string;
34501
+ name: string;
34502
+ appId: string;
34503
+ fetchStatus: string;
34504
+ lastFetch: string | null;
34505
+ }[];
34506
+ };
34507
+ } | {
34508
+ /** @enum {string} */
34509
+ severity: "error" | "warning";
34510
+ /** @enum {string} */
34511
+ category: "criticalToUser" | "criticalToSystem";
34512
+ message: string;
34513
+ affected: number;
34514
+ /** @constant */
34515
+ code: "outdatedConnections";
34516
+ context: {
34517
+ connections: {
34518
+ /** Format: uuid */
34519
+ id: string;
34520
+ name: string;
34521
+ appId: string;
34522
+ currentVersion: number;
34523
+ latestVersion: number;
34524
+ }[];
34525
+ };
34526
+ } | {
34527
+ /** @enum {string} */
34528
+ severity: "error" | "warning";
34529
+ /** @enum {string} */
34530
+ category: "criticalToUser" | "criticalToSystem";
34531
+ message: string;
34532
+ affected: number;
34533
+ /** @constant */
34534
+ code: "duplicatedPayments";
34535
+ context: {
34536
+ payments: {
34537
+ /** Format: uuid */
34538
+ id: string;
34539
+ date: string;
34540
+ uniqueRef: string;
34541
+ connectionNames: string[];
34542
+ }[];
34543
+ };
34544
+ } | {
34545
+ /** @enum {string} */
34546
+ severity: "error" | "warning";
34547
+ /** @enum {string} */
34548
+ category: "criticalToUser" | "criticalToSystem";
34549
+ message: string;
34550
+ affected: number;
34551
+ /** @constant */
34552
+ code: "unbalancedJournalEntries";
34553
+ context: Record<string, never>;
34554
+ } | {
34555
+ /** @enum {string} */
34556
+ severity: "error" | "warning";
34557
+ /** @enum {string} */
34558
+ category: "criticalToUser" | "criticalToSystem";
34559
+ message: string;
34560
+ affected: number;
34561
+ /** @constant */
34562
+ code: "unbalancedTransactionJournalEntries";
34563
+ context: Record<string, never>;
34564
+ } | {
34565
+ /** @enum {string} */
34566
+ severity: "error" | "warning";
34567
+ /** @enum {string} */
34568
+ category: "criticalToUser" | "criticalToSystem";
34569
+ message: string;
34570
+ affected: number;
34571
+ /** @constant */
34572
+ code: "closedPeriodUnattachedJournalEntries";
34573
+ context: Record<string, never>;
34574
+ } | {
34575
+ /** @enum {string} */
34576
+ severity: "error" | "warning";
34577
+ /** @enum {string} */
34578
+ category: "criticalToUser" | "criticalToSystem";
34579
+ message: string;
34580
+ affected: number;
34581
+ /** @constant */
34582
+ code: "missingOwnershipOrDeactivation";
34583
+ context: Record<string, never>;
34584
+ } | {
34585
+ /** @enum {string} */
34586
+ severity: "error" | "warning";
34587
+ /** @enum {string} */
34588
+ category: "criticalToUser" | "criticalToSystem";
34589
+ message: string;
34590
+ affected: number;
34591
+ /** @constant */
34592
+ code: "unpaidReservations";
34593
+ context: Record<string, never>;
34594
+ } | {
34595
+ /** @enum {string} */
34596
+ severity: "error" | "warning";
34597
+ /** @enum {string} */
34598
+ category: "criticalToUser" | "criticalToSystem";
34599
+ message: string;
34600
+ affected: number;
34601
+ /** @constant */
34602
+ code: "cancelledReservationPaidWithoutAdjustment";
34603
+ context: {
34604
+ reservations: {
34605
+ /** Format: uuid */
34606
+ reservationId: string;
34607
+ confirmationCode: string | null;
34608
+ centPaid: number;
34609
+ }[];
34610
+ };
34611
+ } | {
34612
+ /** @enum {string} */
34613
+ severity: "error" | "warning";
34614
+ /** @enum {string} */
34615
+ category: "criticalToUser" | "criticalToSystem";
34616
+ message: string;
34617
+ affected: number;
34618
+ /** @constant */
34619
+ code: "publishedStatementUnpaid";
34620
+ context: {
34621
+ statements: {
34622
+ /** Format: uuid */
34623
+ id: string;
34624
+ uniqueRef: string | null;
34625
+ listingId: string | null;
34626
+ listingOwnershipPeriodId: string | null;
34627
+ startAt: string;
34628
+ endAt: string;
34629
+ centTotal: number;
34630
+ centTransfer: number | null;
34631
+ }[];
34632
+ };
34633
+ } | {
34634
+ /** @enum {string} */
34635
+ severity: "error" | "warning";
34636
+ /** @enum {string} */
34637
+ category: "criticalToUser" | "criticalToSystem";
34638
+ message: string;
34639
+ affected: number;
34640
+ /** @constant */
34641
+ code: "reservationPaymentProjectionMismatch";
34642
+ context: {
34643
+ reservations: {
34644
+ /** Format: uuid */
34645
+ reservationId: string;
34646
+ centTotal: number | null;
34647
+ storedCentPaid: number | null;
34648
+ correctedCentPaid: number;
34649
+ storedPaidStatus: string | null;
34650
+ /** @enum {string} */
34651
+ correctedPaidStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
34652
+ }[];
34653
+ };
34654
+ } | {
34655
+ /** @enum {string} */
34656
+ severity: "error" | "warning";
34657
+ /** @enum {string} */
34658
+ category: "criticalToUser" | "criticalToSystem";
34659
+ message: string;
34660
+ affected: number;
34661
+ /** @constant */
34662
+ code: "listingOwnershipPeriodNotFoundOnActiveJournals";
34663
+ context: Record<string, never>;
34664
+ } | {
34665
+ /** @enum {string} */
34666
+ severity: "error" | "warning";
34667
+ /** @enum {string} */
34668
+ category: "criticalToUser" | "criticalToSystem";
34669
+ message: string;
34670
+ affected: number;
34671
+ /** @constant */
34672
+ code: "reservationGuestTotalsMismatch";
34673
+ context: {
34674
+ reservations: {
34675
+ /** Format: uuid */
34676
+ reservationId: string;
34677
+ arCentTotal: number;
34678
+ reservationCentTotal: number;
34679
+ difference: number;
34680
+ }[];
34681
+ };
34682
+ })[];
34461
34683
  summary: {
34462
34684
  total: number;
34463
34685
  affectedTotal: number;
@@ -36238,19 +36460,241 @@ export interface operations {
36238
36460
  /** Format: uuid */
36239
36461
  tenantId: string;
36240
36462
  tenantName: string;
36241
- issues: {
36463
+ issues: ({
36242
36464
  /** @enum {string} */
36243
- code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "duplicatedPayments" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "reservationPaymentProjectionMismatch" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
36465
+ severity: "error" | "warning";
36466
+ /** @enum {string} */
36467
+ category: "criticalToUser" | "criticalToSystem";
36468
+ message: string;
36469
+ affected: number;
36470
+ /** @constant */
36471
+ code: "teamInactive";
36472
+ context: {
36473
+ status: string | null;
36474
+ };
36475
+ } | {
36244
36476
  /** @enum {string} */
36245
36477
  severity: "error" | "warning";
36246
36478
  /** @enum {string} */
36247
36479
  category: "criticalToUser" | "criticalToSystem";
36248
36480
  message: string;
36249
36481
  affected: number;
36482
+ /** @constant */
36483
+ code: "partnerInactive";
36250
36484
  context: {
36251
- [key: string]: unknown;
36485
+ /** Format: uuid */
36486
+ partnerId: string;
36487
+ status: string | null;
36252
36488
  };
36253
- }[];
36489
+ } | {
36490
+ /** @enum {string} */
36491
+ severity: "error" | "warning";
36492
+ /** @enum {string} */
36493
+ category: "criticalToUser" | "criticalToSystem";
36494
+ message: string;
36495
+ affected: number;
36496
+ /** @constant */
36497
+ code: "partnerBillingInactive";
36498
+ context: {
36499
+ /** Format: uuid */
36500
+ partnerId: string;
36501
+ billingSubscriptionStatus: string | null;
36502
+ };
36503
+ } | {
36504
+ /** @enum {string} */
36505
+ severity: "error" | "warning";
36506
+ /** @enum {string} */
36507
+ category: "criticalToUser" | "criticalToSystem";
36508
+ message: string;
36509
+ affected: number;
36510
+ /** @constant */
36511
+ code: "brokenConnections";
36512
+ context: {
36513
+ connections: {
36514
+ /** Format: uuid */
36515
+ id: string;
36516
+ name: string;
36517
+ appId: string;
36518
+ fetchStatus: string;
36519
+ lastFetch: string | null;
36520
+ }[];
36521
+ };
36522
+ } | {
36523
+ /** @enum {string} */
36524
+ severity: "error" | "warning";
36525
+ /** @enum {string} */
36526
+ category: "criticalToUser" | "criticalToSystem";
36527
+ message: string;
36528
+ affected: number;
36529
+ /** @constant */
36530
+ code: "outdatedConnections";
36531
+ context: {
36532
+ connections: {
36533
+ /** Format: uuid */
36534
+ id: string;
36535
+ name: string;
36536
+ appId: string;
36537
+ currentVersion: number;
36538
+ latestVersion: number;
36539
+ }[];
36540
+ };
36541
+ } | {
36542
+ /** @enum {string} */
36543
+ severity: "error" | "warning";
36544
+ /** @enum {string} */
36545
+ category: "criticalToUser" | "criticalToSystem";
36546
+ message: string;
36547
+ affected: number;
36548
+ /** @constant */
36549
+ code: "duplicatedPayments";
36550
+ context: {
36551
+ payments: {
36552
+ /** Format: uuid */
36553
+ id: string;
36554
+ date: string;
36555
+ uniqueRef: string;
36556
+ connectionNames: string[];
36557
+ }[];
36558
+ };
36559
+ } | {
36560
+ /** @enum {string} */
36561
+ severity: "error" | "warning";
36562
+ /** @enum {string} */
36563
+ category: "criticalToUser" | "criticalToSystem";
36564
+ message: string;
36565
+ affected: number;
36566
+ /** @constant */
36567
+ code: "unbalancedJournalEntries";
36568
+ context: Record<string, never>;
36569
+ } | {
36570
+ /** @enum {string} */
36571
+ severity: "error" | "warning";
36572
+ /** @enum {string} */
36573
+ category: "criticalToUser" | "criticalToSystem";
36574
+ message: string;
36575
+ affected: number;
36576
+ /** @constant */
36577
+ code: "unbalancedTransactionJournalEntries";
36578
+ context: Record<string, never>;
36579
+ } | {
36580
+ /** @enum {string} */
36581
+ severity: "error" | "warning";
36582
+ /** @enum {string} */
36583
+ category: "criticalToUser" | "criticalToSystem";
36584
+ message: string;
36585
+ affected: number;
36586
+ /** @constant */
36587
+ code: "closedPeriodUnattachedJournalEntries";
36588
+ context: Record<string, never>;
36589
+ } | {
36590
+ /** @enum {string} */
36591
+ severity: "error" | "warning";
36592
+ /** @enum {string} */
36593
+ category: "criticalToUser" | "criticalToSystem";
36594
+ message: string;
36595
+ affected: number;
36596
+ /** @constant */
36597
+ code: "missingOwnershipOrDeactivation";
36598
+ context: Record<string, never>;
36599
+ } | {
36600
+ /** @enum {string} */
36601
+ severity: "error" | "warning";
36602
+ /** @enum {string} */
36603
+ category: "criticalToUser" | "criticalToSystem";
36604
+ message: string;
36605
+ affected: number;
36606
+ /** @constant */
36607
+ code: "unpaidReservations";
36608
+ context: Record<string, never>;
36609
+ } | {
36610
+ /** @enum {string} */
36611
+ severity: "error" | "warning";
36612
+ /** @enum {string} */
36613
+ category: "criticalToUser" | "criticalToSystem";
36614
+ message: string;
36615
+ affected: number;
36616
+ /** @constant */
36617
+ code: "cancelledReservationPaidWithoutAdjustment";
36618
+ context: {
36619
+ reservations: {
36620
+ /** Format: uuid */
36621
+ reservationId: string;
36622
+ confirmationCode: string | null;
36623
+ centPaid: number;
36624
+ }[];
36625
+ };
36626
+ } | {
36627
+ /** @enum {string} */
36628
+ severity: "error" | "warning";
36629
+ /** @enum {string} */
36630
+ category: "criticalToUser" | "criticalToSystem";
36631
+ message: string;
36632
+ affected: number;
36633
+ /** @constant */
36634
+ code: "publishedStatementUnpaid";
36635
+ context: {
36636
+ statements: {
36637
+ /** Format: uuid */
36638
+ id: string;
36639
+ uniqueRef: string | null;
36640
+ listingId: string | null;
36641
+ listingOwnershipPeriodId: string | null;
36642
+ startAt: string;
36643
+ endAt: string;
36644
+ centTotal: number;
36645
+ centTransfer: number | null;
36646
+ }[];
36647
+ };
36648
+ } | {
36649
+ /** @enum {string} */
36650
+ severity: "error" | "warning";
36651
+ /** @enum {string} */
36652
+ category: "criticalToUser" | "criticalToSystem";
36653
+ message: string;
36654
+ affected: number;
36655
+ /** @constant */
36656
+ code: "reservationPaymentProjectionMismatch";
36657
+ context: {
36658
+ reservations: {
36659
+ /** Format: uuid */
36660
+ reservationId: string;
36661
+ centTotal: number | null;
36662
+ storedCentPaid: number | null;
36663
+ correctedCentPaid: number;
36664
+ storedPaidStatus: string | null;
36665
+ /** @enum {string} */
36666
+ correctedPaidStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
36667
+ }[];
36668
+ };
36669
+ } | {
36670
+ /** @enum {string} */
36671
+ severity: "error" | "warning";
36672
+ /** @enum {string} */
36673
+ category: "criticalToUser" | "criticalToSystem";
36674
+ message: string;
36675
+ affected: number;
36676
+ /** @constant */
36677
+ code: "listingOwnershipPeriodNotFoundOnActiveJournals";
36678
+ context: Record<string, never>;
36679
+ } | {
36680
+ /** @enum {string} */
36681
+ severity: "error" | "warning";
36682
+ /** @enum {string} */
36683
+ category: "criticalToUser" | "criticalToSystem";
36684
+ message: string;
36685
+ affected: number;
36686
+ /** @constant */
36687
+ code: "reservationGuestTotalsMismatch";
36688
+ context: {
36689
+ reservations: {
36690
+ /** Format: uuid */
36691
+ reservationId: string;
36692
+ arCentTotal: number;
36693
+ reservationCentTotal: number;
36694
+ difference: number;
36695
+ }[];
36696
+ };
36697
+ })[];
36254
36698
  summary: {
36255
36699
  total: number;
36256
36700
  affectedTotal: number;