@vrplatform/api 1.2.33-963 → 1.2.33-966

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.
@@ -1763,6 +1763,40 @@ export interface paths {
1763
1763
  patch?: never;
1764
1764
  trace?: never;
1765
1765
  };
1766
+ "/reports/owner-statement-summaries/details/{contactId}": {
1767
+ parameters: {
1768
+ query?: never;
1769
+ header?: never;
1770
+ path?: never;
1771
+ cookie?: never;
1772
+ };
1773
+ /** @description Owner statement summary detail aggregated by listing, month, reservation, or booking channel */
1774
+ get: operations["getOwnerStatementSummaryDetailsReport"];
1775
+ put?: never;
1776
+ post?: never;
1777
+ delete?: never;
1778
+ options?: never;
1779
+ head?: never;
1780
+ patch?: never;
1781
+ trace?: never;
1782
+ };
1783
+ "/reports/owner-statement-summaries/details/{contactId}/csv": {
1784
+ parameters: {
1785
+ query?: never;
1786
+ header?: never;
1787
+ path?: never;
1788
+ cookie?: never;
1789
+ };
1790
+ /** @description Owner statement summary detail aggregated by listing, month, reservation, or booking channel (CSV) */
1791
+ get: operations["getOwnerStatementSummaryDetailsReportCsv"];
1792
+ put?: never;
1793
+ post?: never;
1794
+ delete?: never;
1795
+ options?: never;
1796
+ head?: never;
1797
+ patch?: never;
1798
+ trace?: never;
1799
+ };
1766
1800
  "/calendar-blocks": {
1767
1801
  parameters: {
1768
1802
  query?: never;
@@ -23375,10 +23409,10 @@ export interface operations {
23375
23409
  data: {
23376
23410
  contact: {
23377
23411
  contactId: string;
23378
- name: string | null;
23379
- firstName: string | null;
23380
- email: string | null;
23381
- phone: string | null;
23412
+ name?: string | null;
23413
+ firstName?: string | null;
23414
+ email?: string | null;
23415
+ phone?: string | null;
23382
23416
  };
23383
23417
  currency: string;
23384
23418
  financials: {
@@ -23513,6 +23547,183 @@ export interface operations {
23513
23547
  };
23514
23548
  };
23515
23549
  };
23550
+ getOwnerStatementSummaryDetailsReport: {
23551
+ parameters: {
23552
+ query: {
23553
+ view: "listing" | "month" | "reservation" | "bookingChannel";
23554
+ /** @description Year in format YYYY */
23555
+ year: number;
23556
+ listingId?: string;
23557
+ currency?: string;
23558
+ };
23559
+ header?: {
23560
+ "X-Team-Id"?: string;
23561
+ };
23562
+ path: {
23563
+ contactId: string;
23564
+ };
23565
+ cookie?: never;
23566
+ };
23567
+ requestBody?: never;
23568
+ responses: {
23569
+ /** @description Successful response */
23570
+ 200: {
23571
+ headers: {
23572
+ [name: string]: unknown;
23573
+ };
23574
+ content: {
23575
+ "application/json": {
23576
+ netRevenueSection: {
23577
+ title: string;
23578
+ rows: {
23579
+ title: string;
23580
+ statementIds: string[];
23581
+ columns: {
23582
+ title: string;
23583
+ value: number | string;
23584
+ formatted: string;
23585
+ }[];
23586
+ }[];
23587
+ };
23588
+ otherSections: {
23589
+ title: string;
23590
+ rows: {
23591
+ title: string;
23592
+ statementIds: string[];
23593
+ columns: {
23594
+ title: string;
23595
+ value: number | string;
23596
+ formatted: string;
23597
+ }[];
23598
+ }[];
23599
+ }[];
23600
+ };
23601
+ };
23602
+ };
23603
+ /** @description Invalid input data */
23604
+ 400: {
23605
+ headers: {
23606
+ [name: string]: unknown;
23607
+ };
23608
+ content: {
23609
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23610
+ };
23611
+ };
23612
+ /** @description Authorization not provided */
23613
+ 401: {
23614
+ headers: {
23615
+ [name: string]: unknown;
23616
+ };
23617
+ content: {
23618
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23619
+ };
23620
+ };
23621
+ /** @description Insufficient access */
23622
+ 403: {
23623
+ headers: {
23624
+ [name: string]: unknown;
23625
+ };
23626
+ content: {
23627
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23628
+ };
23629
+ };
23630
+ /** @description Not found */
23631
+ 404: {
23632
+ headers: {
23633
+ [name: string]: unknown;
23634
+ };
23635
+ content: {
23636
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23637
+ };
23638
+ };
23639
+ /** @description Internal server error */
23640
+ 500: {
23641
+ headers: {
23642
+ [name: string]: unknown;
23643
+ };
23644
+ content: {
23645
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23646
+ };
23647
+ };
23648
+ };
23649
+ };
23650
+ getOwnerStatementSummaryDetailsReportCsv: {
23651
+ parameters: {
23652
+ query: {
23653
+ view: "listing" | "month" | "reservation" | "bookingChannel";
23654
+ /** @description Year in format YYYY */
23655
+ year: number;
23656
+ listingId?: string;
23657
+ currency?: string;
23658
+ };
23659
+ header?: {
23660
+ "X-Team-Id"?: string;
23661
+ };
23662
+ path: {
23663
+ contactId: string;
23664
+ };
23665
+ cookie?: never;
23666
+ };
23667
+ requestBody?: never;
23668
+ responses: {
23669
+ /** @description Successful response */
23670
+ 200: {
23671
+ headers: {
23672
+ [name: string]: unknown;
23673
+ };
23674
+ content: {
23675
+ "application/json": {
23676
+ url: string;
23677
+ };
23678
+ };
23679
+ };
23680
+ /** @description Invalid input data */
23681
+ 400: {
23682
+ headers: {
23683
+ [name: string]: unknown;
23684
+ };
23685
+ content: {
23686
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23687
+ };
23688
+ };
23689
+ /** @description Authorization not provided */
23690
+ 401: {
23691
+ headers: {
23692
+ [name: string]: unknown;
23693
+ };
23694
+ content: {
23695
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23696
+ };
23697
+ };
23698
+ /** @description Insufficient access */
23699
+ 403: {
23700
+ headers: {
23701
+ [name: string]: unknown;
23702
+ };
23703
+ content: {
23704
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23705
+ };
23706
+ };
23707
+ /** @description Not found */
23708
+ 404: {
23709
+ headers: {
23710
+ [name: string]: unknown;
23711
+ };
23712
+ content: {
23713
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23714
+ };
23715
+ };
23716
+ /** @description Internal server error */
23717
+ 500: {
23718
+ headers: {
23719
+ [name: string]: unknown;
23720
+ };
23721
+ content: {
23722
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23723
+ };
23724
+ };
23725
+ };
23726
+ };
23516
23727
  getCalendar: {
23517
23728
  parameters: {
23518
23729
  query: {