@vrplatform/api 1.3.1-stage.2056 → 1.3.1-stage.2060

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,185 @@ export interface operations {
34445
34445
  /** Format: uuid */
34446
34446
  tenantId: string;
34447
34447
  tenantName: string;
34448
- issues: {
34448
+ issues: ({
34449
34449
  /** @enum {string} */
34450
- code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "duplicatedPayments" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "reservationPaymentProjectionMismatch" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
34450
+ severity: "error" | "warning";
34451
+ /** @enum {string} */
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: Record<string, never>;
34498
+ } | {
34499
+ /** @enum {string} */
34500
+ severity: "error" | "warning";
34501
+ /** @enum {string} */
34502
+ category: "criticalToUser" | "criticalToSystem";
34503
+ message: string;
34504
+ affected: number;
34505
+ /** @constant */
34506
+ code: "outdatedConnections";
34507
+ context: Record<string, never>;
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: "duplicatedPayments";
34517
+ context: {
34518
+ payments: {
34519
+ /** Format: uuid */
34520
+ id: string;
34521
+ date: string;
34522
+ uniqueRef: string;
34523
+ connectionNames: string[];
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: "unbalancedJournalEntries";
34535
+ context: Record<string, never>;
34536
+ } | {
34537
+ /** @enum {string} */
34538
+ severity: "error" | "warning";
34539
+ /** @enum {string} */
34540
+ category: "criticalToUser" | "criticalToSystem";
34541
+ message: string;
34542
+ affected: number;
34543
+ /** @constant */
34544
+ code: "unbalancedTransactionJournalEntries";
34545
+ context: Record<string, never>;
34546
+ } | {
34547
+ /** @enum {string} */
34548
+ severity: "error" | "warning";
34549
+ /** @enum {string} */
34550
+ category: "criticalToUser" | "criticalToSystem";
34551
+ message: string;
34552
+ affected: number;
34553
+ /** @constant */
34554
+ code: "closedPeriodUnattachedJournalEntries";
34555
+ context: Record<string, never>;
34556
+ } | {
34557
+ /** @enum {string} */
34558
+ severity: "error" | "warning";
34559
+ /** @enum {string} */
34560
+ category: "criticalToUser" | "criticalToSystem";
34561
+ message: string;
34562
+ affected: number;
34563
+ /** @constant */
34564
+ code: "missingOwnershipOrDeactivation";
34565
+ context: Record<string, never>;
34566
+ } | {
34567
+ /** @enum {string} */
34568
+ severity: "error" | "warning";
34569
+ /** @enum {string} */
34570
+ category: "criticalToUser" | "criticalToSystem";
34571
+ message: string;
34572
+ affected: number;
34573
+ /** @constant */
34574
+ code: "unpaidReservations";
34575
+ context: Record<string, never>;
34576
+ } | {
34577
+ /** @enum {string} */
34578
+ severity: "error" | "warning";
34579
+ /** @enum {string} */
34580
+ category: "criticalToUser" | "criticalToSystem";
34581
+ message: string;
34582
+ affected: number;
34583
+ /** @constant */
34584
+ code: "cancelledReservationPaidWithoutAdjustment";
34585
+ context: Record<string, never>;
34586
+ } | {
34587
+ /** @enum {string} */
34588
+ severity: "error" | "warning";
34589
+ /** @enum {string} */
34590
+ category: "criticalToUser" | "criticalToSystem";
34591
+ message: string;
34592
+ affected: number;
34593
+ /** @constant */
34594
+ code: "publishedStatementUnpaid";
34595
+ context: Record<string, never>;
34596
+ } | {
34597
+ /** @enum {string} */
34598
+ severity: "error" | "warning";
34599
+ /** @enum {string} */
34600
+ category: "criticalToUser" | "criticalToSystem";
34601
+ message: string;
34602
+ affected: number;
34603
+ /** @constant */
34604
+ code: "reservationPaymentProjectionMismatch";
34605
+ context: Record<string, never>;
34606
+ } | {
34607
+ /** @enum {string} */
34608
+ severity: "error" | "warning";
34609
+ /** @enum {string} */
34610
+ category: "criticalToUser" | "criticalToSystem";
34611
+ message: string;
34612
+ affected: number;
34613
+ /** @constant */
34614
+ code: "listingOwnershipPeriodNotFoundOnActiveJournals";
34615
+ context: Record<string, never>;
34616
+ } | {
34617
+ /** @enum {string} */
34618
+ severity: "error" | "warning";
34619
+ /** @enum {string} */
34620
+ category: "criticalToUser" | "criticalToSystem";
34621
+ message: string;
34622
+ affected: number;
34623
+ /** @constant */
34624
+ code: "reservationGuestTotalsMismatch";
34625
+ context: Record<string, never>;
34626
+ })[];
34461
34627
  summary: {
34462
34628
  total: number;
34463
34629
  affectedTotal: number;
@@ -36238,19 +36404,185 @@ export interface operations {
36238
36404
  /** Format: uuid */
36239
36405
  tenantId: string;
36240
36406
  tenantName: string;
36241
- issues: {
36407
+ issues: ({
36408
+ /** @enum {string} */
36409
+ severity: "error" | "warning";
36242
36410
  /** @enum {string} */
36243
- code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "duplicatedPayments" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "reservationPaymentProjectionMismatch" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
36411
+ category: "criticalToUser" | "criticalToSystem";
36412
+ message: string;
36413
+ affected: number;
36414
+ /** @constant */
36415
+ code: "teamInactive";
36416
+ context: {
36417
+ status: string | null;
36418
+ };
36419
+ } | {
36244
36420
  /** @enum {string} */
36245
36421
  severity: "error" | "warning";
36246
36422
  /** @enum {string} */
36247
36423
  category: "criticalToUser" | "criticalToSystem";
36248
36424
  message: string;
36249
36425
  affected: number;
36426
+ /** @constant */
36427
+ code: "partnerInactive";
36250
36428
  context: {
36251
- [key: string]: unknown;
36429
+ /** Format: uuid */
36430
+ partnerId: string;
36431
+ status: string | null;
36252
36432
  };
36253
- }[];
36433
+ } | {
36434
+ /** @enum {string} */
36435
+ severity: "error" | "warning";
36436
+ /** @enum {string} */
36437
+ category: "criticalToUser" | "criticalToSystem";
36438
+ message: string;
36439
+ affected: number;
36440
+ /** @constant */
36441
+ code: "partnerBillingInactive";
36442
+ context: {
36443
+ /** Format: uuid */
36444
+ partnerId: string;
36445
+ billingSubscriptionStatus: string | null;
36446
+ };
36447
+ } | {
36448
+ /** @enum {string} */
36449
+ severity: "error" | "warning";
36450
+ /** @enum {string} */
36451
+ category: "criticalToUser" | "criticalToSystem";
36452
+ message: string;
36453
+ affected: number;
36454
+ /** @constant */
36455
+ code: "brokenConnections";
36456
+ context: Record<string, never>;
36457
+ } | {
36458
+ /** @enum {string} */
36459
+ severity: "error" | "warning";
36460
+ /** @enum {string} */
36461
+ category: "criticalToUser" | "criticalToSystem";
36462
+ message: string;
36463
+ affected: number;
36464
+ /** @constant */
36465
+ code: "outdatedConnections";
36466
+ context: Record<string, never>;
36467
+ } | {
36468
+ /** @enum {string} */
36469
+ severity: "error" | "warning";
36470
+ /** @enum {string} */
36471
+ category: "criticalToUser" | "criticalToSystem";
36472
+ message: string;
36473
+ affected: number;
36474
+ /** @constant */
36475
+ code: "duplicatedPayments";
36476
+ context: {
36477
+ payments: {
36478
+ /** Format: uuid */
36479
+ id: string;
36480
+ date: string;
36481
+ uniqueRef: string;
36482
+ connectionNames: string[];
36483
+ }[];
36484
+ };
36485
+ } | {
36486
+ /** @enum {string} */
36487
+ severity: "error" | "warning";
36488
+ /** @enum {string} */
36489
+ category: "criticalToUser" | "criticalToSystem";
36490
+ message: string;
36491
+ affected: number;
36492
+ /** @constant */
36493
+ code: "unbalancedJournalEntries";
36494
+ context: Record<string, never>;
36495
+ } | {
36496
+ /** @enum {string} */
36497
+ severity: "error" | "warning";
36498
+ /** @enum {string} */
36499
+ category: "criticalToUser" | "criticalToSystem";
36500
+ message: string;
36501
+ affected: number;
36502
+ /** @constant */
36503
+ code: "unbalancedTransactionJournalEntries";
36504
+ context: Record<string, never>;
36505
+ } | {
36506
+ /** @enum {string} */
36507
+ severity: "error" | "warning";
36508
+ /** @enum {string} */
36509
+ category: "criticalToUser" | "criticalToSystem";
36510
+ message: string;
36511
+ affected: number;
36512
+ /** @constant */
36513
+ code: "closedPeriodUnattachedJournalEntries";
36514
+ context: Record<string, never>;
36515
+ } | {
36516
+ /** @enum {string} */
36517
+ severity: "error" | "warning";
36518
+ /** @enum {string} */
36519
+ category: "criticalToUser" | "criticalToSystem";
36520
+ message: string;
36521
+ affected: number;
36522
+ /** @constant */
36523
+ code: "missingOwnershipOrDeactivation";
36524
+ context: Record<string, never>;
36525
+ } | {
36526
+ /** @enum {string} */
36527
+ severity: "error" | "warning";
36528
+ /** @enum {string} */
36529
+ category: "criticalToUser" | "criticalToSystem";
36530
+ message: string;
36531
+ affected: number;
36532
+ /** @constant */
36533
+ code: "unpaidReservations";
36534
+ context: Record<string, never>;
36535
+ } | {
36536
+ /** @enum {string} */
36537
+ severity: "error" | "warning";
36538
+ /** @enum {string} */
36539
+ category: "criticalToUser" | "criticalToSystem";
36540
+ message: string;
36541
+ affected: number;
36542
+ /** @constant */
36543
+ code: "cancelledReservationPaidWithoutAdjustment";
36544
+ context: Record<string, never>;
36545
+ } | {
36546
+ /** @enum {string} */
36547
+ severity: "error" | "warning";
36548
+ /** @enum {string} */
36549
+ category: "criticalToUser" | "criticalToSystem";
36550
+ message: string;
36551
+ affected: number;
36552
+ /** @constant */
36553
+ code: "publishedStatementUnpaid";
36554
+ context: Record<string, never>;
36555
+ } | {
36556
+ /** @enum {string} */
36557
+ severity: "error" | "warning";
36558
+ /** @enum {string} */
36559
+ category: "criticalToUser" | "criticalToSystem";
36560
+ message: string;
36561
+ affected: number;
36562
+ /** @constant */
36563
+ code: "reservationPaymentProjectionMismatch";
36564
+ context: Record<string, never>;
36565
+ } | {
36566
+ /** @enum {string} */
36567
+ severity: "error" | "warning";
36568
+ /** @enum {string} */
36569
+ category: "criticalToUser" | "criticalToSystem";
36570
+ message: string;
36571
+ affected: number;
36572
+ /** @constant */
36573
+ code: "listingOwnershipPeriodNotFoundOnActiveJournals";
36574
+ context: Record<string, never>;
36575
+ } | {
36576
+ /** @enum {string} */
36577
+ severity: "error" | "warning";
36578
+ /** @enum {string} */
36579
+ category: "criticalToUser" | "criticalToSystem";
36580
+ message: string;
36581
+ affected: number;
36582
+ /** @constant */
36583
+ code: "reservationGuestTotalsMismatch";
36584
+ context: Record<string, never>;
36585
+ })[];
36254
36586
  summary: {
36255
36587
  total: number;
36256
36588
  affectedTotal: number;