@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.
|
@@ -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;
|
|
@@ -29614,10 +29631,153 @@ export interface operations {
|
|
|
29614
29631
|
checkIn?: string | null;
|
|
29615
29632
|
checkOut?: string | null;
|
|
29616
29633
|
bookedAt?: string | null;
|
|
29634
|
+
reservationAmount?: number | null;
|
|
29617
29635
|
/** @description Value in cents (100 = 1€) */
|
|
29618
29636
|
payment: number;
|
|
29619
29637
|
/** @description Value in cents (100 = 1€) */
|
|
29620
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";
|
|
29621
29781
|
}[];
|
|
29622
29782
|
};
|
|
29623
29783
|
};
|