@vrplatform/api 1.3.1-stage.1731 → 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.1731",
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;
@@ -28971,6 +28988,7 @@ export interface operations {
28971
28988
  booksClosedAt?: string | null;
28972
28989
  logo?: string | null;
28973
28990
  statementStartAt?: string | null;
28991
+ ownerPortalShowDraftStatements?: boolean;
28974
28992
  members?: {
28975
28993
  userId: string;
28976
28994
  email?: string | null;
@@ -29137,6 +29155,7 @@ export interface operations {
29137
29155
  booksClosedAt?: string | null;
29138
29156
  logo?: string | null;
29139
29157
  statementStartAt?: string | null;
29158
+ ownerPortalShowDraftStatements?: boolean;
29140
29159
  generalLedger: {
29141
29160
  taxRateCountryOverwrite?: string | null;
29142
29161
  copyFromTeamId?: string;
@@ -29226,6 +29245,7 @@ export interface operations {
29226
29245
  booksClosedAt?: string | null;
29227
29246
  logo?: string | null;
29228
29247
  statementStartAt?: string | null;
29248
+ ownerPortalShowDraftStatements?: boolean;
29229
29249
  members?: {
29230
29250
  userId: string;
29231
29251
  email?: string | null;
@@ -29612,10 +29632,153 @@ export interface operations {
29612
29632
  checkIn?: string | null;
29613
29633
  checkOut?: string | null;
29614
29634
  bookedAt?: string | null;
29635
+ reservationAmount?: number | null;
29615
29636
  /** @description Value in cents (100 = 1€) */
29616
29637
  payment: number;
29617
29638
  /** @description Value in cents (100 = 1€) */
29618
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";
29619
29782
  }[];
29620
29783
  };
29621
29784
  };
@@ -30008,6 +30171,7 @@ export interface operations {
30008
30171
  booksClosedAt?: string | null;
30009
30172
  logo?: string | null;
30010
30173
  statementStartAt?: string | null;
30174
+ ownerPortalShowDraftStatements?: boolean;
30011
30175
  members?: {
30012
30176
  userId: string;
30013
30177
  email?: string | null;
@@ -30164,6 +30328,7 @@ export interface operations {
30164
30328
  booksClosedAt?: string | null;
30165
30329
  logo?: string | null;
30166
30330
  statementStartAt?: string | null;
30331
+ ownerPortalShowDraftStatements?: boolean;
30167
30332
  partnerId?: string | null;
30168
30333
  billingPartnerId?: string | null;
30169
30334
  /** @description Cancelation or Reinstatement of the team. */
@@ -30260,6 +30425,7 @@ export interface operations {
30260
30425
  booksClosedAt?: string | null;
30261
30426
  logo?: string | null;
30262
30427
  statementStartAt?: string | null;
30428
+ ownerPortalShowDraftStatements?: boolean;
30263
30429
  members?: {
30264
30430
  userId: string;
30265
30431
  email?: string | null;
@@ -30786,6 +30952,7 @@ export interface operations {
30786
30952
  booksClosedAt?: string | null;
30787
30953
  logo?: string | null;
30788
30954
  statementStartAt?: string | null;
30955
+ ownerPortalShowDraftStatements?: boolean;
30789
30956
  members?: {
30790
30957
  userId: string;
30791
30958
  email?: string | null;