@vrplatform/api 1.2.33-964 → 1.2.33-967

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