@vrplatform/api 1.3.1-stage.1633 → 1.3.1-stage.1634
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
package/src/generated/v1.ts
CHANGED
|
@@ -1528,6 +1528,23 @@ export interface paths {
|
|
|
1528
1528
|
patch?: never;
|
|
1529
1529
|
trace?: never;
|
|
1530
1530
|
};
|
|
1531
|
+
"/reservations/csv": {
|
|
1532
|
+
parameters: {
|
|
1533
|
+
query?: never;
|
|
1534
|
+
header?: never;
|
|
1535
|
+
path?: never;
|
|
1536
|
+
cookie?: never;
|
|
1537
|
+
};
|
|
1538
|
+
/** @description Reservations CSV export */
|
|
1539
|
+
get: operations["getReservationsCsv"];
|
|
1540
|
+
put?: never;
|
|
1541
|
+
post?: never;
|
|
1542
|
+
delete?: never;
|
|
1543
|
+
options?: never;
|
|
1544
|
+
head?: never;
|
|
1545
|
+
patch?: never;
|
|
1546
|
+
trace?: never;
|
|
1547
|
+
};
|
|
1531
1548
|
"/reservations/journal-entries": {
|
|
1532
1549
|
parameters: {
|
|
1533
1550
|
query?: never;
|
|
@@ -19718,6 +19735,127 @@ export interface operations {
|
|
|
19718
19735
|
};
|
|
19719
19736
|
};
|
|
19720
19737
|
};
|
|
19738
|
+
getReservationsCsv: {
|
|
19739
|
+
parameters: {
|
|
19740
|
+
query?: {
|
|
19741
|
+
/** @description comma separated reservation ids, negate with ! prefix */
|
|
19742
|
+
ids?: string;
|
|
19743
|
+
/** @description comma separated reservation short refs */
|
|
19744
|
+
shortRefs?: string;
|
|
19745
|
+
status?: "booked" | "canceled" | "inactive";
|
|
19746
|
+
listingId?: string;
|
|
19747
|
+
date?: string;
|
|
19748
|
+
dateField?: "bookedAt" | "checkIn" | "checkOut" | "payment" | "intersection";
|
|
19749
|
+
search?: string;
|
|
19750
|
+
/** @description unpaid, underpaid, overpaid, paid, !unpaid, !underpaid, !overpaid, !paid */
|
|
19751
|
+
paidStatus?: string;
|
|
19752
|
+
connectionId?: string;
|
|
19753
|
+
bookingChannel?: string;
|
|
19754
|
+
amount?: number;
|
|
19755
|
+
businessModel?: "managed" | "co_host" | "co_host_airbnb";
|
|
19756
|
+
/** @description Filter by reservation line type (paymentLine.type2), only when not excluded */
|
|
19757
|
+
lineType?: string;
|
|
19758
|
+
includeLines?: boolean;
|
|
19759
|
+
};
|
|
19760
|
+
header?: never;
|
|
19761
|
+
path?: never;
|
|
19762
|
+
cookie?: never;
|
|
19763
|
+
};
|
|
19764
|
+
requestBody?: never;
|
|
19765
|
+
responses: {
|
|
19766
|
+
/** @description Successful response */
|
|
19767
|
+
200: {
|
|
19768
|
+
headers: {
|
|
19769
|
+
[name: string]: unknown;
|
|
19770
|
+
};
|
|
19771
|
+
content: {
|
|
19772
|
+
"application/json": {
|
|
19773
|
+
url: string;
|
|
19774
|
+
};
|
|
19775
|
+
};
|
|
19776
|
+
};
|
|
19777
|
+
/** @description Bad request */
|
|
19778
|
+
400: {
|
|
19779
|
+
headers: {
|
|
19780
|
+
[name: string]: unknown;
|
|
19781
|
+
};
|
|
19782
|
+
content: {
|
|
19783
|
+
"application/json": {
|
|
19784
|
+
code: string;
|
|
19785
|
+
message: string;
|
|
19786
|
+
issues?: {
|
|
19787
|
+
message: string;
|
|
19788
|
+
}[];
|
|
19789
|
+
context?: unknown;
|
|
19790
|
+
};
|
|
19791
|
+
};
|
|
19792
|
+
};
|
|
19793
|
+
/** @description Unauthorized */
|
|
19794
|
+
401: {
|
|
19795
|
+
headers: {
|
|
19796
|
+
[name: string]: unknown;
|
|
19797
|
+
};
|
|
19798
|
+
content: {
|
|
19799
|
+
"application/json": {
|
|
19800
|
+
code: string;
|
|
19801
|
+
message: string;
|
|
19802
|
+
issues?: {
|
|
19803
|
+
message: string;
|
|
19804
|
+
}[];
|
|
19805
|
+
context?: unknown;
|
|
19806
|
+
};
|
|
19807
|
+
};
|
|
19808
|
+
};
|
|
19809
|
+
/** @description Forbidden */
|
|
19810
|
+
403: {
|
|
19811
|
+
headers: {
|
|
19812
|
+
[name: string]: unknown;
|
|
19813
|
+
};
|
|
19814
|
+
content: {
|
|
19815
|
+
"application/json": {
|
|
19816
|
+
code: string;
|
|
19817
|
+
message: string;
|
|
19818
|
+
issues?: {
|
|
19819
|
+
message: string;
|
|
19820
|
+
}[];
|
|
19821
|
+
context?: unknown;
|
|
19822
|
+
};
|
|
19823
|
+
};
|
|
19824
|
+
};
|
|
19825
|
+
/** @description Not found */
|
|
19826
|
+
404: {
|
|
19827
|
+
headers: {
|
|
19828
|
+
[name: string]: unknown;
|
|
19829
|
+
};
|
|
19830
|
+
content: {
|
|
19831
|
+
"application/json": {
|
|
19832
|
+
code: string;
|
|
19833
|
+
message: string;
|
|
19834
|
+
issues?: {
|
|
19835
|
+
message: string;
|
|
19836
|
+
}[];
|
|
19837
|
+
context?: unknown;
|
|
19838
|
+
};
|
|
19839
|
+
};
|
|
19840
|
+
};
|
|
19841
|
+
/** @description Internal server error */
|
|
19842
|
+
500: {
|
|
19843
|
+
headers: {
|
|
19844
|
+
[name: string]: unknown;
|
|
19845
|
+
};
|
|
19846
|
+
content: {
|
|
19847
|
+
"application/json": {
|
|
19848
|
+
code: string;
|
|
19849
|
+
message: string;
|
|
19850
|
+
issues?: {
|
|
19851
|
+
message: string;
|
|
19852
|
+
}[];
|
|
19853
|
+
context?: unknown;
|
|
19854
|
+
};
|
|
19855
|
+
};
|
|
19856
|
+
};
|
|
19857
|
+
};
|
|
19858
|
+
};
|
|
19721
19859
|
"postReservationsJournal-entries": {
|
|
19722
19860
|
parameters: {
|
|
19723
19861
|
query?: never;
|