@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.
@@ -2051,6 +2051,23 @@ export interface paths {
2051
2051
  patch?: never;
2052
2052
  trace?: never;
2053
2053
  };
2054
+ "/teams/opening-balances/advanced-deposits/synced-payments-refunds/{reservationId}": {
2055
+ parameters: {
2056
+ query?: never;
2057
+ header?: never;
2058
+ path?: never;
2059
+ cookie?: never;
2060
+ };
2061
+ /** @description Retrieve synced payments/refunds for a single reservation (review advanced deposits) */
2062
+ get: operations["getTeamsOpening-balancesAdvanced-depositsSynced-payments-refunds:reservationId"];
2063
+ put?: never;
2064
+ post?: never;
2065
+ delete?: never;
2066
+ options?: never;
2067
+ head?: never;
2068
+ patch?: never;
2069
+ trace?: never;
2070
+ };
2054
2071
  "/teams/opening-balances/tax-payable": {
2055
2072
  parameters: {
2056
2073
  query?: never;
@@ -28970,6 +28987,7 @@ export interface operations {
28970
28987
  booksClosedAt?: string | null;
28971
28988
  logo?: string | null;
28972
28989
  statementStartAt?: string | null;
28990
+ ownerPortalShowDraftStatements?: boolean;
28973
28991
  members?: {
28974
28992
  userId: string;
28975
28993
  email?: string | null;
@@ -29136,6 +29154,7 @@ export interface operations {
29136
29154
  booksClosedAt?: string | null;
29137
29155
  logo?: string | null;
29138
29156
  statementStartAt?: string | null;
29157
+ ownerPortalShowDraftStatements?: boolean;
29139
29158
  generalLedger: {
29140
29159
  taxRateCountryOverwrite?: string | null;
29141
29160
  copyFromTeamId?: string;
@@ -29225,6 +29244,7 @@ export interface operations {
29225
29244
  booksClosedAt?: string | null;
29226
29245
  logo?: string | null;
29227
29246
  statementStartAt?: string | null;
29247
+ ownerPortalShowDraftStatements?: boolean;
29228
29248
  members?: {
29229
29249
  userId: string;
29230
29250
  email?: string | null;
@@ -29611,10 +29631,153 @@ export interface operations {
29611
29631
  checkIn?: string | null;
29612
29632
  checkOut?: string | null;
29613
29633
  bookedAt?: string | null;
29634
+ reservationAmount?: number | null;
29614
29635
  /** @description Value in cents (100 = 1€) */
29615
29636
  payment: number;
29616
29637
  /** @description Value in cents (100 = 1€) */
29617
29638
  refund: number;
29639
+ transactions: {
29640
+ /** Format: uuid */
29641
+ transactionId: string;
29642
+ /** Format: uuid */
29643
+ transactionLineId: string;
29644
+ date: string;
29645
+ uniqueRef?: string | null;
29646
+ description?: string | null;
29647
+ /** @description Value in cents (100 = 1€) */
29648
+ amount: number;
29649
+ /** @enum {string} */
29650
+ direction: "payment" | "refund";
29651
+ }[];
29652
+ }[];
29653
+ };
29654
+ };
29655
+ };
29656
+ /** @description Bad request */
29657
+ 400: {
29658
+ headers: {
29659
+ [name: string]: unknown;
29660
+ };
29661
+ content: {
29662
+ "application/json": {
29663
+ code: string;
29664
+ message: string;
29665
+ issues?: {
29666
+ message: string;
29667
+ }[];
29668
+ context?: unknown;
29669
+ };
29670
+ };
29671
+ };
29672
+ /** @description Unauthorized */
29673
+ 401: {
29674
+ headers: {
29675
+ [name: string]: unknown;
29676
+ };
29677
+ content: {
29678
+ "application/json": {
29679
+ code: string;
29680
+ message: string;
29681
+ issues?: {
29682
+ message: string;
29683
+ }[];
29684
+ context?: unknown;
29685
+ };
29686
+ };
29687
+ };
29688
+ /** @description Forbidden */
29689
+ 403: {
29690
+ headers: {
29691
+ [name: string]: unknown;
29692
+ };
29693
+ content: {
29694
+ "application/json": {
29695
+ code: string;
29696
+ message: string;
29697
+ issues?: {
29698
+ message: string;
29699
+ }[];
29700
+ context?: unknown;
29701
+ };
29702
+ };
29703
+ };
29704
+ /** @description Not found */
29705
+ 404: {
29706
+ headers: {
29707
+ [name: string]: unknown;
29708
+ };
29709
+ content: {
29710
+ "application/json": {
29711
+ code: string;
29712
+ message: string;
29713
+ issues?: {
29714
+ message: string;
29715
+ }[];
29716
+ context?: unknown;
29717
+ };
29718
+ };
29719
+ };
29720
+ /** @description Internal server error */
29721
+ 500: {
29722
+ headers: {
29723
+ [name: string]: unknown;
29724
+ };
29725
+ content: {
29726
+ "application/json": {
29727
+ code: string;
29728
+ message: string;
29729
+ issues?: {
29730
+ message: string;
29731
+ }[];
29732
+ context?: unknown;
29733
+ };
29734
+ };
29735
+ };
29736
+ };
29737
+ };
29738
+ "getTeamsOpening-balancesAdvanced-depositsSynced-payments-refunds:reservationId": {
29739
+ parameters: {
29740
+ query?: never;
29741
+ header?: never;
29742
+ path: {
29743
+ reservationId: string;
29744
+ };
29745
+ cookie?: never;
29746
+ };
29747
+ requestBody?: never;
29748
+ responses: {
29749
+ /** @description Successful response */
29750
+ 200: {
29751
+ headers: {
29752
+ [name: string]: unknown;
29753
+ };
29754
+ content: {
29755
+ "application/json": {
29756
+ /** Format: uuid */
29757
+ reservationId: string;
29758
+ listingId?: string | null;
29759
+ confirmationCode?: string | null;
29760
+ guestName?: string | null;
29761
+ checkIn?: string | null;
29762
+ checkOut?: string | null;
29763
+ bookedAt?: string | null;
29764
+ reservationAmount?: number | null;
29765
+ /** @description Value in cents (100 = 1€) */
29766
+ payment: number;
29767
+ /** @description Value in cents (100 = 1€) */
29768
+ refund: number;
29769
+ transactions: {
29770
+ /** Format: uuid */
29771
+ transactionId: string;
29772
+ /** Format: uuid */
29773
+ transactionLineId: string;
29774
+ date: string;
29775
+ uniqueRef?: string | null;
29776
+ description?: string | null;
29777
+ /** @description Value in cents (100 = 1€) */
29778
+ amount: number;
29779
+ /** @enum {string} */
29780
+ direction: "payment" | "refund";
29618
29781
  }[];
29619
29782
  };
29620
29783
  };
@@ -30007,6 +30170,7 @@ export interface operations {
30007
30170
  booksClosedAt?: string | null;
30008
30171
  logo?: string | null;
30009
30172
  statementStartAt?: string | null;
30173
+ ownerPortalShowDraftStatements?: boolean;
30010
30174
  members?: {
30011
30175
  userId: string;
30012
30176
  email?: string | null;
@@ -30163,6 +30327,7 @@ export interface operations {
30163
30327
  booksClosedAt?: string | null;
30164
30328
  logo?: string | null;
30165
30329
  statementStartAt?: string | null;
30330
+ ownerPortalShowDraftStatements?: boolean;
30166
30331
  partnerId?: string | null;
30167
30332
  billingPartnerId?: string | null;
30168
30333
  /** @description Cancelation or Reinstatement of the team. */
@@ -30259,6 +30424,7 @@ export interface operations {
30259
30424
  booksClosedAt?: string | null;
30260
30425
  logo?: string | null;
30261
30426
  statementStartAt?: string | null;
30427
+ ownerPortalShowDraftStatements?: boolean;
30262
30428
  members?: {
30263
30429
  userId: string;
30264
30430
  email?: string | null;
@@ -30785,6 +30951,7 @@ export interface operations {
30785
30951
  booksClosedAt?: string | null;
30786
30952
  logo?: string | null;
30787
30953
  statementStartAt?: string | null;
30954
+ ownerPortalShowDraftStatements?: boolean;
30788
30955
  members?: {
30789
30956
  userId: string;
30790
30957
  email?: string | null;