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