@vrplatform/api 1.3.1-stage.1734 → 1.3.1-stage.1736

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
@@ -6,7 +6,7 @@
6
6
  "typings": "build/main/index.d.ts",
7
7
  "module": "build/module/index.js"
8
8
  },
9
- "version": "1.3.1-stage.1734",
9
+ "version": "1.3.1-stage.1736",
10
10
  "description": "",
11
11
  "main": "build/main/index.js",
12
12
  "module": "build/module/index.js",
@@ -1280,7 +1280,7 @@ export interface paths {
1280
1280
  path?: never;
1281
1281
  cookie?: never;
1282
1282
  };
1283
- /** @description Owner statement summaries aggregated by contact (per layout, CSV) */
1283
+ /** @description Owner statement summary CSV (per statement layout, combined rows) */
1284
1284
  get: operations["getOwnerStatementSummariesPerLayoutReportCsv"];
1285
1285
  put?: never;
1286
1286
  post?: never;
@@ -1314,7 +1314,7 @@ export interface paths {
1314
1314
  path?: never;
1315
1315
  cookie?: never;
1316
1316
  };
1317
- /** @description Owner statement summary detail aggregated by listing, month, reservation, or booking channel (per layout, CSV) */
1317
+ /** @description Owner statement summary detail CSV (per statement layout, combined rows) */
1318
1318
  get: operations["getOwnerStatementSummaryPerLayoutDetailsReportCsv"];
1319
1319
  put?: never;
1320
1320
  post?: never;
@@ -2052,6 +2052,23 @@ export interface paths {
2052
2052
  patch?: never;
2053
2053
  trace?: never;
2054
2054
  };
2055
+ "/teams/opening-balances/advanced-deposits/synced-payments-refunds/{reservationId}": {
2056
+ parameters: {
2057
+ query?: never;
2058
+ header?: never;
2059
+ path?: never;
2060
+ cookie?: never;
2061
+ };
2062
+ /** @description Retrieve synced payments/refunds for a single reservation (review advanced deposits) */
2063
+ get: operations["getTeamsOpening-balancesAdvanced-depositsSynced-payments-refunds:reservationId"];
2064
+ put?: never;
2065
+ post?: never;
2066
+ delete?: never;
2067
+ options?: never;
2068
+ head?: never;
2069
+ patch?: never;
2070
+ trace?: never;
2071
+ };
2055
2072
  "/teams/opening-balances/tax-payable": {
2056
2073
  parameters: {
2057
2074
  query?: never;
@@ -17173,6 +17190,7 @@ export interface operations {
17173
17190
  endAt: string;
17174
17191
  /** @description comma separated listings */
17175
17192
  listingIds?: string;
17193
+ currency?: string;
17176
17194
  viewAs?: "owner" | "manager";
17177
17195
  };
17178
17196
  header?: never;
@@ -17301,6 +17319,7 @@ export interface operations {
17301
17319
  endAt: string;
17302
17320
  /** @description comma separated listings */
17303
17321
  listingIds?: string;
17322
+ currency?: string;
17304
17323
  viewAs?: "owner" | "manager";
17305
17324
  };
17306
17325
  header?: never;
@@ -29615,10 +29634,153 @@ export interface operations {
29615
29634
  checkIn?: string | null;
29616
29635
  checkOut?: string | null;
29617
29636
  bookedAt?: string | null;
29637
+ reservationAmount?: number | null;
29618
29638
  /** @description Value in cents (100 = 1€) */
29619
29639
  payment: number;
29620
29640
  /** @description Value in cents (100 = 1€) */
29621
29641
  refund: number;
29642
+ transactions: {
29643
+ /** Format: uuid */
29644
+ transactionId: string;
29645
+ /** Format: uuid */
29646
+ transactionLineId: string;
29647
+ date: string;
29648
+ uniqueRef?: string | null;
29649
+ description?: string | null;
29650
+ /** @description Value in cents (100 = 1€) */
29651
+ amount: number;
29652
+ /** @enum {string} */
29653
+ direction: "payment" | "refund";
29654
+ }[];
29655
+ }[];
29656
+ };
29657
+ };
29658
+ };
29659
+ /** @description Bad request */
29660
+ 400: {
29661
+ headers: {
29662
+ [name: string]: unknown;
29663
+ };
29664
+ content: {
29665
+ "application/json": {
29666
+ code: string;
29667
+ message: string;
29668
+ issues?: {
29669
+ message: string;
29670
+ }[];
29671
+ context?: unknown;
29672
+ };
29673
+ };
29674
+ };
29675
+ /** @description Unauthorized */
29676
+ 401: {
29677
+ headers: {
29678
+ [name: string]: unknown;
29679
+ };
29680
+ content: {
29681
+ "application/json": {
29682
+ code: string;
29683
+ message: string;
29684
+ issues?: {
29685
+ message: string;
29686
+ }[];
29687
+ context?: unknown;
29688
+ };
29689
+ };
29690
+ };
29691
+ /** @description Forbidden */
29692
+ 403: {
29693
+ headers: {
29694
+ [name: string]: unknown;
29695
+ };
29696
+ content: {
29697
+ "application/json": {
29698
+ code: string;
29699
+ message: string;
29700
+ issues?: {
29701
+ message: string;
29702
+ }[];
29703
+ context?: unknown;
29704
+ };
29705
+ };
29706
+ };
29707
+ /** @description Not found */
29708
+ 404: {
29709
+ headers: {
29710
+ [name: string]: unknown;
29711
+ };
29712
+ content: {
29713
+ "application/json": {
29714
+ code: string;
29715
+ message: string;
29716
+ issues?: {
29717
+ message: string;
29718
+ }[];
29719
+ context?: unknown;
29720
+ };
29721
+ };
29722
+ };
29723
+ /** @description Internal server error */
29724
+ 500: {
29725
+ headers: {
29726
+ [name: string]: unknown;
29727
+ };
29728
+ content: {
29729
+ "application/json": {
29730
+ code: string;
29731
+ message: string;
29732
+ issues?: {
29733
+ message: string;
29734
+ }[];
29735
+ context?: unknown;
29736
+ };
29737
+ };
29738
+ };
29739
+ };
29740
+ };
29741
+ "getTeamsOpening-balancesAdvanced-depositsSynced-payments-refunds:reservationId": {
29742
+ parameters: {
29743
+ query?: never;
29744
+ header?: never;
29745
+ path: {
29746
+ reservationId: string;
29747
+ };
29748
+ cookie?: never;
29749
+ };
29750
+ requestBody?: never;
29751
+ responses: {
29752
+ /** @description Successful response */
29753
+ 200: {
29754
+ headers: {
29755
+ [name: string]: unknown;
29756
+ };
29757
+ content: {
29758
+ "application/json": {
29759
+ /** Format: uuid */
29760
+ reservationId: string;
29761
+ listingId?: string | null;
29762
+ confirmationCode?: string | null;
29763
+ guestName?: string | null;
29764
+ checkIn?: string | null;
29765
+ checkOut?: string | null;
29766
+ bookedAt?: string | null;
29767
+ reservationAmount?: number | null;
29768
+ /** @description Value in cents (100 = 1€) */
29769
+ payment: number;
29770
+ /** @description Value in cents (100 = 1€) */
29771
+ refund: number;
29772
+ transactions: {
29773
+ /** Format: uuid */
29774
+ transactionId: string;
29775
+ /** Format: uuid */
29776
+ transactionLineId: string;
29777
+ date: string;
29778
+ uniqueRef?: string | null;
29779
+ description?: string | null;
29780
+ /** @description Value in cents (100 = 1€) */
29781
+ amount: number;
29782
+ /** @enum {string} */
29783
+ direction: "payment" | "refund";
29622
29784
  }[];
29623
29785
  };
29624
29786
  };