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