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

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.1735",
10
10
  "description": "",
11
11
  "main": "build/main/index.js",
12
12
  "module": "build/module/index.js",
@@ -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;
@@ -29615,10 +29632,153 @@ export interface operations {
29615
29632
  checkIn?: string | null;
29616
29633
  checkOut?: string | null;
29617
29634
  bookedAt?: string | null;
29635
+ reservationAmount?: number | null;
29618
29636
  /** @description Value in cents (100 = 1€) */
29619
29637
  payment: number;
29620
29638
  /** @description Value in cents (100 = 1€) */
29621
29639
  refund: number;
29640
+ transactions: {
29641
+ /** Format: uuid */
29642
+ transactionId: string;
29643
+ /** Format: uuid */
29644
+ transactionLineId: string;
29645
+ date: string;
29646
+ uniqueRef?: string | null;
29647
+ description?: string | null;
29648
+ /** @description Value in cents (100 = 1€) */
29649
+ amount: number;
29650
+ /** @enum {string} */
29651
+ direction: "payment" | "refund";
29652
+ }[];
29653
+ }[];
29654
+ };
29655
+ };
29656
+ };
29657
+ /** @description Bad request */
29658
+ 400: {
29659
+ headers: {
29660
+ [name: string]: unknown;
29661
+ };
29662
+ content: {
29663
+ "application/json": {
29664
+ code: string;
29665
+ message: string;
29666
+ issues?: {
29667
+ message: string;
29668
+ }[];
29669
+ context?: unknown;
29670
+ };
29671
+ };
29672
+ };
29673
+ /** @description Unauthorized */
29674
+ 401: {
29675
+ headers: {
29676
+ [name: string]: unknown;
29677
+ };
29678
+ content: {
29679
+ "application/json": {
29680
+ code: string;
29681
+ message: string;
29682
+ issues?: {
29683
+ message: string;
29684
+ }[];
29685
+ context?: unknown;
29686
+ };
29687
+ };
29688
+ };
29689
+ /** @description Forbidden */
29690
+ 403: {
29691
+ headers: {
29692
+ [name: string]: unknown;
29693
+ };
29694
+ content: {
29695
+ "application/json": {
29696
+ code: string;
29697
+ message: string;
29698
+ issues?: {
29699
+ message: string;
29700
+ }[];
29701
+ context?: unknown;
29702
+ };
29703
+ };
29704
+ };
29705
+ /** @description Not found */
29706
+ 404: {
29707
+ headers: {
29708
+ [name: string]: unknown;
29709
+ };
29710
+ content: {
29711
+ "application/json": {
29712
+ code: string;
29713
+ message: string;
29714
+ issues?: {
29715
+ message: string;
29716
+ }[];
29717
+ context?: unknown;
29718
+ };
29719
+ };
29720
+ };
29721
+ /** @description Internal server error */
29722
+ 500: {
29723
+ headers: {
29724
+ [name: string]: unknown;
29725
+ };
29726
+ content: {
29727
+ "application/json": {
29728
+ code: string;
29729
+ message: string;
29730
+ issues?: {
29731
+ message: string;
29732
+ }[];
29733
+ context?: unknown;
29734
+ };
29735
+ };
29736
+ };
29737
+ };
29738
+ };
29739
+ "getTeamsOpening-balancesAdvanced-depositsSynced-payments-refunds:reservationId": {
29740
+ parameters: {
29741
+ query?: never;
29742
+ header?: never;
29743
+ path: {
29744
+ reservationId: string;
29745
+ };
29746
+ cookie?: never;
29747
+ };
29748
+ requestBody?: never;
29749
+ responses: {
29750
+ /** @description Successful response */
29751
+ 200: {
29752
+ headers: {
29753
+ [name: string]: unknown;
29754
+ };
29755
+ content: {
29756
+ "application/json": {
29757
+ /** Format: uuid */
29758
+ reservationId: string;
29759
+ listingId?: string | null;
29760
+ confirmationCode?: string | null;
29761
+ guestName?: string | null;
29762
+ checkIn?: string | null;
29763
+ checkOut?: string | null;
29764
+ bookedAt?: string | null;
29765
+ reservationAmount?: number | null;
29766
+ /** @description Value in cents (100 = 1€) */
29767
+ payment: number;
29768
+ /** @description Value in cents (100 = 1€) */
29769
+ refund: number;
29770
+ transactions: {
29771
+ /** Format: uuid */
29772
+ transactionId: string;
29773
+ /** Format: uuid */
29774
+ transactionLineId: string;
29775
+ date: string;
29776
+ uniqueRef?: string | null;
29777
+ description?: string | null;
29778
+ /** @description Value in cents (100 = 1€) */
29779
+ amount: number;
29780
+ /** @enum {string} */
29781
+ direction: "payment" | "refund";
29622
29782
  }[];
29623
29783
  };
29624
29784
  };