@vrplatform/api 1.3.0 → 1.3.1

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.
@@ -1425,6 +1425,23 @@ export interface paths {
1425
1425
  patch?: never;
1426
1426
  trace?: never;
1427
1427
  };
1428
+ "/dispatch/effects": {
1429
+ parameters: {
1430
+ query?: never;
1431
+ header?: never;
1432
+ path?: never;
1433
+ cookie?: never;
1434
+ };
1435
+ /** @description List effects with optional filters by dispatch ID, entity ID, entity type, or status. */
1436
+ get: operations["listEffects"];
1437
+ put?: never;
1438
+ post?: never;
1439
+ delete?: never;
1440
+ options?: never;
1441
+ head?: never;
1442
+ patch?: never;
1443
+ trace?: never;
1444
+ };
1428
1445
  "/dispatch/{id}": {
1429
1446
  parameters: {
1430
1447
  query?: never;
@@ -1442,6 +1459,23 @@ export interface paths {
1442
1459
  patch?: never;
1443
1460
  trace?: never;
1444
1461
  };
1462
+ "/dispatch": {
1463
+ parameters: {
1464
+ query?: never;
1465
+ header?: never;
1466
+ path?: never;
1467
+ cookie?: never;
1468
+ };
1469
+ /** @description List dispatched actions with optional filters. Use entityId to find dispatches related to a specific entity. */
1470
+ get: operations["listDispatchActions"];
1471
+ put?: never;
1472
+ post?: never;
1473
+ delete?: never;
1474
+ options?: never;
1475
+ head?: never;
1476
+ patch?: never;
1477
+ trace?: never;
1478
+ };
1445
1479
  "/plaid/connect": {
1446
1480
  parameters: {
1447
1481
  query?: never;
@@ -1528,6 +1562,40 @@ export interface paths {
1528
1562
  patch?: never;
1529
1563
  trace?: never;
1530
1564
  };
1565
+ "/reports/trust-reconciliation/by-listing": {
1566
+ parameters: {
1567
+ query?: never;
1568
+ header?: never;
1569
+ path?: never;
1570
+ cookie?: never;
1571
+ };
1572
+ /** @description Trust reconciliation grouped by listing */
1573
+ get: operations["getTrustReconciliationReportByListing"];
1574
+ put?: never;
1575
+ post?: never;
1576
+ delete?: never;
1577
+ options?: never;
1578
+ head?: never;
1579
+ patch?: never;
1580
+ trace?: never;
1581
+ };
1582
+ "/reports/trust-reconciliation/by-listing/csv": {
1583
+ parameters: {
1584
+ query?: never;
1585
+ header?: never;
1586
+ path?: never;
1587
+ cookie?: never;
1588
+ };
1589
+ /** @description Trust reconciliation grouped by listing (CSV) */
1590
+ get: operations["getTrustReconciliationReportByListingCsv"];
1591
+ put?: never;
1592
+ post?: never;
1593
+ delete?: never;
1594
+ options?: never;
1595
+ head?: never;
1596
+ patch?: never;
1597
+ trace?: never;
1598
+ };
1531
1599
  "/reports/trust-reconciliation/csv": {
1532
1600
  parameters: {
1533
1601
  query?: never;
@@ -1647,6 +1715,23 @@ export interface paths {
1647
1715
  patch?: never;
1648
1716
  trace?: never;
1649
1717
  };
1718
+ "/report/journal-entries/csv": {
1719
+ parameters: {
1720
+ query?: never;
1721
+ header?: never;
1722
+ path?: never;
1723
+ cookie?: never;
1724
+ };
1725
+ /** @description CSV export for journal entries */
1726
+ get: operations["getJournalEntriesReportCsv"];
1727
+ put?: never;
1728
+ post?: never;
1729
+ delete?: never;
1730
+ options?: never;
1731
+ head?: never;
1732
+ patch?: never;
1733
+ trace?: never;
1734
+ };
1650
1735
  "/reports/manager-statements": {
1651
1736
  parameters: {
1652
1737
  query?: never;
@@ -1698,6 +1783,23 @@ export interface paths {
1698
1783
  patch?: never;
1699
1784
  trace?: never;
1700
1785
  };
1786
+ "/reports/manager-statements/detail/journal-entries/csv": {
1787
+ parameters: {
1788
+ query?: never;
1789
+ header?: never;
1790
+ path?: never;
1791
+ cookie?: never;
1792
+ };
1793
+ /** @description CSV export for manager statement journal entries */
1794
+ get: operations["getManagerStatementReportJournalEntriesCsv"];
1795
+ put?: never;
1796
+ post?: never;
1797
+ delete?: never;
1798
+ options?: never;
1799
+ head?: never;
1800
+ patch?: never;
1801
+ trace?: never;
1802
+ };
1701
1803
  "/reports/profit-and-loss": {
1702
1804
  parameters: {
1703
1805
  query?: never;
@@ -1800,15 +1902,15 @@ export interface paths {
1800
1902
  patch?: never;
1801
1903
  trace?: never;
1802
1904
  };
1803
- "/calendar-blocks": {
1905
+ "/reports/trial-balance": {
1804
1906
  parameters: {
1805
1907
  query?: never;
1806
1908
  header?: never;
1807
1909
  path?: never;
1808
1910
  cookie?: never;
1809
1911
  };
1810
- /** @description Retrieve calendar blocks from a listing */
1811
- get: operations["getCalendar"];
1912
+ /** @description Trial balance report */
1913
+ get: operations["getTrialBalanceReport"];
1812
1914
  put?: never;
1813
1915
  post?: never;
1814
1916
  delete?: never;
@@ -1817,141 +1919,137 @@ export interface paths {
1817
1919
  patch?: never;
1818
1920
  trace?: never;
1819
1921
  };
1820
- "/calendar-blocks/block": {
1922
+ "/reports/trial-balance/csv": {
1821
1923
  parameters: {
1822
1924
  query?: never;
1823
1925
  header?: never;
1824
1926
  path?: never;
1825
1927
  cookie?: never;
1826
1928
  };
1827
- get?: never;
1929
+ /** @description Trial balance report (CSV) */
1930
+ get: operations["getTrialBalanceReportCsv"];
1828
1931
  put?: never;
1829
- /** @description Block calendar for a listing */
1830
- post: operations["blockCalendar"];
1932
+ post?: never;
1831
1933
  delete?: never;
1832
1934
  options?: never;
1833
1935
  head?: never;
1834
1936
  patch?: never;
1835
1937
  trace?: never;
1836
1938
  };
1837
- "/calendar-blocks/unblock": {
1939
+ "/reports/balance-sheet": {
1838
1940
  parameters: {
1839
1941
  query?: never;
1840
1942
  header?: never;
1841
1943
  path?: never;
1842
1944
  cookie?: never;
1843
1945
  };
1844
- get?: never;
1946
+ /** @description Balance sheet report by month, quarter, or year (as-of view) */
1947
+ get: operations["getBalanceSheetReport"];
1845
1948
  put?: never;
1846
1949
  post?: never;
1847
- /** @description Unblock calendar for a listing */
1848
- delete: operations["unblockCalendar"];
1950
+ delete?: never;
1849
1951
  options?: never;
1850
1952
  head?: never;
1851
1953
  patch?: never;
1852
1954
  trace?: never;
1853
1955
  };
1854
- "/flows": {
1956
+ "/reports/balance-sheet/csv": {
1855
1957
  parameters: {
1856
1958
  query?: never;
1857
1959
  header?: never;
1858
1960
  path?: never;
1859
1961
  cookie?: never;
1860
1962
  };
1861
- /** @description List flows */
1862
- get: operations["getFlows"];
1963
+ /** @description Balance sheet report (CSV) */
1964
+ get: operations["getBalanceSheetReportCsv"];
1863
1965
  put?: never;
1864
- /** @description Create a new flow */
1865
- post: operations["createFlow"];
1966
+ post?: never;
1866
1967
  delete?: never;
1867
1968
  options?: never;
1868
1969
  head?: never;
1869
1970
  patch?: never;
1870
1971
  trace?: never;
1871
1972
  };
1872
- "/flows/{id}": {
1973
+ "/calendar-blocks": {
1873
1974
  parameters: {
1874
1975
  query?: never;
1875
1976
  header?: never;
1876
1977
  path?: never;
1877
1978
  cookie?: never;
1878
1979
  };
1879
- /** @description Get flow by ID */
1880
- get: operations["getFlow"];
1881
- /** @description Update flow by ID */
1882
- put: operations["updateFlow"];
1980
+ /** @description Retrieve calendar blocks from a listing */
1981
+ get: operations["getCalendar"];
1982
+ put?: never;
1883
1983
  post?: never;
1884
- /** @description Delete flow by ID */
1885
- delete: operations["deleteFlow"];
1984
+ delete?: never;
1886
1985
  options?: never;
1887
1986
  head?: never;
1888
1987
  patch?: never;
1889
1988
  trace?: never;
1890
1989
  };
1891
- "/flows/{id}/{connectionId}": {
1990
+ "/calendar-blocks/block": {
1892
1991
  parameters: {
1893
1992
  query?: never;
1894
1993
  header?: never;
1895
1994
  path?: never;
1896
1995
  cookie?: never;
1897
1996
  };
1898
- /** @description Get flow configuration for a connection */
1899
- get: operations["getFlowConnection"];
1900
- /** @description Update flow status for a connection */
1901
- put: operations["setFlowStatus"];
1902
- post?: never;
1997
+ get?: never;
1998
+ put?: never;
1999
+ /** @description Block calendar for a listing */
2000
+ post: operations["blockCalendar"];
1903
2001
  delete?: never;
1904
2002
  options?: never;
1905
2003
  head?: never;
1906
2004
  patch?: never;
1907
2005
  trace?: never;
1908
2006
  };
1909
- "/flows/{id}/{connectionId}/run": {
2007
+ "/calendar-blocks/unblock": {
1910
2008
  parameters: {
1911
2009
  query?: never;
1912
2010
  header?: never;
1913
2011
  path?: never;
1914
2012
  cookie?: never;
1915
2013
  };
1916
- /** @description Trigger execution of a flow for a connection */
1917
- get: operations["runFlow"];
2014
+ get?: never;
1918
2015
  put?: never;
1919
2016
  post?: never;
1920
- delete?: never;
2017
+ /** @description Unblock calendar for a listing */
2018
+ delete: operations["unblockCalendar"];
1921
2019
  options?: never;
1922
2020
  head?: never;
1923
2021
  patch?: never;
1924
2022
  trace?: never;
1925
2023
  };
1926
- "/flows/{id}/{connectionId}/settings": {
2024
+ "/flows/{id}/{connectionId}/settings/{settingKey}": {
1927
2025
  parameters: {
1928
2026
  query?: never;
1929
2027
  header?: never;
1930
2028
  path?: never;
1931
2029
  cookie?: never;
1932
2030
  };
1933
- /** @description List flow settings for a connection */
1934
- get: operations["getFlowSettings"];
2031
+ /** @description Get a flow setting entry */
2032
+ get: operations["getFlowSetting"];
1935
2033
  put?: never;
1936
- post?: never;
2034
+ /** @description Create, update or delete a flow setting entry */
2035
+ post: operations["setFlowSetting"];
1937
2036
  delete?: never;
1938
2037
  options?: never;
1939
2038
  head?: never;
1940
2039
  patch?: never;
1941
2040
  trace?: never;
1942
2041
  };
1943
- "/flows/{id}/{connectionId}/settings/{settingKey}": {
2042
+ "/flows/{id}/{connectionId}/settings/{settingKey}/options": {
1944
2043
  parameters: {
1945
2044
  query?: never;
1946
2045
  header?: never;
1947
2046
  path?: never;
1948
2047
  cookie?: never;
1949
2048
  };
1950
- /** @description List available values/options for a flow setting */
1951
- get: operations["listFlowSettingOptions"];
2049
+ /** @description List available options for a flow setting */
2050
+ get: operations["getFlowSettingOptions"];
1952
2051
  put?: never;
1953
- /** @description Create, update or delete a flow setting entry */
1954
- post: operations["setFlowSetting"];
2052
+ post?: never;
1955
2053
  delete?: never;
1956
2054
  options?: never;
1957
2055
  head?: never;
@@ -1965,7 +2063,7 @@ export interface paths {
1965
2063
  path?: never;
1966
2064
  cookie?: never;
1967
2065
  };
1968
- /** @description List flow mapping entry for a specific key */
2066
+ /** @description List flow mappings for a key; optionally filter by leftId (source side id) */
1969
2067
  get: operations["getFlowMapping"];
1970
2068
  put?: never;
1971
2069
  /** @description Create, update or delete a flow mapping entry */
@@ -1976,15 +2074,15 @@ export interface paths {
1976
2074
  patch?: never;
1977
2075
  trace?: never;
1978
2076
  };
1979
- "/flows/{id}/{connectionId}/mappings": {
2077
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}/left": {
1980
2078
  parameters: {
1981
2079
  query?: never;
1982
2080
  header?: never;
1983
2081
  path?: never;
1984
2082
  cookie?: never;
1985
2083
  };
1986
- /** @description List flow mappings for a connection */
1987
- get: operations["getFlowMappings"];
2084
+ /** @description List available source entities for a flow mapping */
2085
+ get: operations["getFlowMappingSources"];
1988
2086
  put?: never;
1989
2087
  post?: never;
1990
2088
  delete?: never;
@@ -1993,15 +2091,15 @@ export interface paths {
1993
2091
  patch?: never;
1994
2092
  trace?: never;
1995
2093
  };
1996
- "/flows/{id}/{connectionId}/mappings/{mappingKey}/sources": {
2094
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}/right": {
1997
2095
  parameters: {
1998
2096
  query?: never;
1999
2097
  header?: never;
2000
2098
  path?: never;
2001
2099
  cookie?: never;
2002
2100
  };
2003
- /** @description List available source entities for a flow mapping */
2004
- get: operations["listFlowMappingSources"];
2101
+ /** @description List available destination entities for a flow mapping */
2102
+ get: operations["getFlowMappingDestinations"];
2005
2103
  put?: never;
2006
2104
  post?: never;
2007
2105
  delete?: never;
@@ -2010,15 +2108,67 @@ export interface paths {
2010
2108
  patch?: never;
2011
2109
  trace?: never;
2012
2110
  };
2013
- "/flows/{id}/{connectionId}/mappings/{mappingKey}/destinations": {
2111
+ "/flows": {
2014
2112
  parameters: {
2015
2113
  query?: never;
2016
2114
  header?: never;
2017
2115
  path?: never;
2018
2116
  cookie?: never;
2019
2117
  };
2020
- /** @description List available destination entities for a flow mapping */
2021
- get: operations["listFlowMappingDestinations"];
2118
+ /** @description List flows */
2119
+ get: operations["getFlows"];
2120
+ put?: never;
2121
+ post?: never;
2122
+ delete?: never;
2123
+ options?: never;
2124
+ head?: never;
2125
+ patch?: never;
2126
+ trace?: never;
2127
+ };
2128
+ "/flows/{id}": {
2129
+ parameters: {
2130
+ query?: never;
2131
+ header?: never;
2132
+ path?: never;
2133
+ cookie?: never;
2134
+ };
2135
+ /** @description Get flow by ID */
2136
+ get: operations["getFlow"];
2137
+ put?: never;
2138
+ post?: never;
2139
+ delete?: never;
2140
+ options?: never;
2141
+ head?: never;
2142
+ patch?: never;
2143
+ trace?: never;
2144
+ };
2145
+ "/flows/{id}/{connectionId}": {
2146
+ parameters: {
2147
+ query?: never;
2148
+ header?: never;
2149
+ path?: never;
2150
+ cookie?: never;
2151
+ };
2152
+ /** @description Get flow configuration for a connection */
2153
+ get: operations["getFlowConnection"];
2154
+ /** @description Update flow status for a connection */
2155
+ put: operations["setFlowStatus"];
2156
+ post?: never;
2157
+ delete?: never;
2158
+ options?: never;
2159
+ head?: never;
2160
+ patch?: never;
2161
+ trace?: never;
2162
+ };
2163
+ "/flows/{id}/{connectionId}/run": {
2164
+ parameters: {
2165
+ query?: never;
2166
+ header?: never;
2167
+ path?: never;
2168
+ cookie?: never;
2169
+ };
2170
+ /** @description Trigger execution of a flow for a connection */
2171
+ get: operations["runFlow"];
2022
2172
  put?: never;
2023
2173
  post?: never;
2024
2174
  delete?: never;
@@ -2317,8 +2467,39 @@ export interface components {
2317
2467
  total: number;
2318
2468
  values: components["schemas"]["ProfitAndLossValueCell"][];
2319
2469
  };
2320
- /** @description Collection of settings returned by GET routes with normalized { id, name, type } value payloads. */
2321
- FlowSettingItemsGet: components["schemas"]["FlowSettingItemGet"][];
2470
+ BalanceSheetGroup: {
2471
+ id: string;
2472
+ title: string;
2473
+ total: number;
2474
+ values: {
2475
+ id: string;
2476
+ title: string;
2477
+ total: number;
2478
+ }[];
2479
+ categories?: components["schemas"]["BalanceSheetCategory"][];
2480
+ groups?: components["schemas"]["BalanceSheetGroup"][];
2481
+ };
2482
+ BalanceSheetCategory: {
2483
+ id: string;
2484
+ title: string;
2485
+ total: number;
2486
+ values: {
2487
+ id: string;
2488
+ title: string;
2489
+ total: number;
2490
+ }[];
2491
+ accounts?: {
2492
+ id: string;
2493
+ title: string;
2494
+ categoryId: string;
2495
+ total: number;
2496
+ values: {
2497
+ id: string;
2498
+ title: string;
2499
+ total: number;
2500
+ }[];
2501
+ }[];
2502
+ };
2322
2503
  /** @description Setting representation returned from GET routes with normalized { id, name, type } value payload. */
2323
2504
  FlowSettingItemGet: {
2324
2505
  /** Format: uuid */
@@ -2334,7 +2515,7 @@ export interface components {
2334
2515
  * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2335
2516
  * @enum {string|null}
2336
2517
  */
2337
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2518
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2338
2519
  filter: string | null;
2339
2520
  value: components["schemas"]["FlowMappingResolvedEntityValue"];
2340
2521
  };
@@ -2346,30 +2527,9 @@ export interface components {
2346
2527
  * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2347
2528
  * @enum {string}
2348
2529
  */
2349
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2350
- };
2351
- /** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
2352
- FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
2353
- /** @description Setting representation returned from mutation routes with normalized { id, name, type } value payload. */
2354
- FlowSettingItemPost: {
2355
- /** Format: uuid */
2356
- id: string;
2357
- /** Format: uuid */
2358
- flowId: string;
2359
- /** Format: uuid */
2360
- connectionId: string;
2361
- settingKey: string;
2362
- title: string | null;
2363
- description: string | null;
2364
- /**
2365
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2366
- * @enum {string|null}
2367
- */
2368
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2369
- filter: string | null;
2370
- value: components["schemas"]["FlowMappingResolvedEntityValue"];
2530
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2371
2531
  };
2372
- /** @description Mapping entry returned from GET routes with normalized left/right payloads. */
2532
+ /** @description Mapping entry returned from GET routes with normalized left/right payloads. Each side uses { value, text, type }; source sides use type "source" (value = sourceId) and the mapped side uses the schema mapping type. The left side represents the source side of the flow (external for pull, internal for push). */
2373
2533
  FlowMappingItemGet: {
2374
2534
  /** Format: uuid */
2375
2535
  id: string;
@@ -2381,42 +2541,14 @@ export interface components {
2381
2541
  title: string | null;
2382
2542
  description: string | null;
2383
2543
  left: {
2384
- /** Format: uuid */
2385
- sourceId: string;
2386
- };
2387
- right: {
2388
2544
  value: string | number;
2389
2545
  text: string;
2390
- /**
2391
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2392
- * @enum {string}
2393
- */
2394
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2395
- };
2396
- };
2397
- /** @description Mapping entry returned from mutation routes with normalized left/right payloads. */
2398
- FlowMappingItemPost: {
2399
- /** Format: uuid */
2400
- id: string;
2401
- /** Format: uuid */
2402
- flowId: string;
2403
- /** Format: uuid */
2404
- connectionId: string;
2405
- mappingKey: string;
2406
- title: string | null;
2407
- description: string | null;
2408
- left: {
2409
- /** Format: uuid */
2410
- sourceId: string;
2546
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
2411
2547
  };
2412
2548
  right: {
2413
2549
  value: string | number;
2414
2550
  text: string;
2415
- /**
2416
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2417
- * @enum {string}
2418
- */
2419
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2551
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
2420
2552
  };
2421
2553
  };
2422
2554
  };
@@ -4037,7 +4169,6 @@ export interface operations {
4037
4169
  /** @description Adjustments are manually added financial lines that are not part of the booking platform */
4038
4170
  adjustments?: {
4039
4171
  id?: string | null;
4040
- type?: string;
4041
4172
  description?: string | null;
4042
4173
  reservationRef?: string | null;
4043
4174
  /** @description Value in cents (100 = 1€) */
@@ -4047,6 +4178,7 @@ export interface operations {
4047
4178
  metadata?: {
4048
4179
  [key: string]: unknown;
4049
4180
  } | null;
4181
+ type?: string | null;
4050
4182
  /** Format: uuid */
4051
4183
  recurringFeeId?: string | null;
4052
4184
  /** @enum {string|null} */
@@ -4146,6 +4278,15 @@ export interface operations {
4146
4278
  /** @enum {string} */
4147
4279
  severity: "warning";
4148
4280
  context: Record<string, never>;
4281
+ } | {
4282
+ /** @enum {string} */
4283
+ code: "guestTotalsMismatch";
4284
+ /** @enum {string} */
4285
+ severity: "warning";
4286
+ context: {
4287
+ difference: number;
4288
+ };
4289
+ message: string;
4149
4290
  })[];
4150
4291
  connection?: {
4151
4292
  /** Format: uuid */
@@ -4290,13 +4431,13 @@ export interface operations {
4290
4431
  adjustments: {
4291
4432
  /** Format: uuid */
4292
4433
  id: string;
4293
- type?: string;
4294
4434
  description?: string | null;
4295
4435
  /** @description Value in cents (100 = 1€) */
4296
4436
  amount: number;
4297
4437
  metadata?: {
4298
4438
  [key: string]: unknown;
4299
4439
  } | null;
4440
+ type?: string | null;
4300
4441
  /** @enum {string|null} */
4301
4442
  party?: "owners" | "manager" | null;
4302
4443
  account?: {
@@ -4375,11 +4516,6 @@ export interface operations {
4375
4516
  "application/json": {
4376
4517
  dangerouslyAllowLocked?: boolean;
4377
4518
  ids?: string[];
4378
- listingIds?: string[];
4379
- connectionIds?: string[];
4380
- date?: string;
4381
- /** @enum {string} */
4382
- dateField?: "bookedAt" | "checkIn" | "checkOut" | "payment" | "intersection";
4383
4519
  };
4384
4520
  };
4385
4521
  };
@@ -4529,8 +4665,17 @@ export interface operations {
4529
4665
  /** @enum {string} */
4530
4666
  severity: "warning";
4531
4667
  context: Record<string, never>;
4532
- })[];
4533
- connection?: {
4668
+ } | {
4669
+ /** @enum {string} */
4670
+ code: "guestTotalsMismatch";
4671
+ /** @enum {string} */
4672
+ severity: "warning";
4673
+ context: {
4674
+ difference: number;
4675
+ };
4676
+ message: string;
4677
+ })[];
4678
+ connection?: {
4534
4679
  /** Format: uuid */
4535
4680
  id: string;
4536
4681
  name: string;
@@ -4673,13 +4818,13 @@ export interface operations {
4673
4818
  adjustments: {
4674
4819
  /** Format: uuid */
4675
4820
  id: string;
4676
- type?: string;
4677
4821
  description?: string | null;
4678
4822
  /** @description Value in cents (100 = 1€) */
4679
4823
  amount: number;
4680
4824
  metadata?: {
4681
4825
  [key: string]: unknown;
4682
4826
  } | null;
4827
+ type?: string | null;
4683
4828
  /** @enum {string|null} */
4684
4829
  party?: "owners" | "manager" | null;
4685
4830
  account?: {
@@ -4814,7 +4959,6 @@ export interface operations {
4814
4959
  adjustments?: {
4815
4960
  /** Format: uuid */
4816
4961
  id?: string | null;
4817
- type?: string;
4818
4962
  description?: string | null;
4819
4963
  reservationRef?: string | null;
4820
4964
  /** @description Value in cents (100 = 1€) */
@@ -4824,6 +4968,7 @@ export interface operations {
4824
4968
  metadata?: {
4825
4969
  [key: string]: unknown;
4826
4970
  } | null;
4971
+ type?: string | null;
4827
4972
  /** Format: uuid */
4828
4973
  recurringFeeId?: string | null;
4829
4974
  /** @enum {string|null} */
@@ -4869,7 +5014,6 @@ export interface operations {
4869
5014
  adjustments_create?: {
4870
5015
  /** Format: uuid */
4871
5016
  id?: string | null;
4872
- type?: string;
4873
5017
  description?: string | null;
4874
5018
  reservationRef?: string | null;
4875
5019
  /** @description Value in cents (100 = 1€) */
@@ -4879,6 +5023,7 @@ export interface operations {
4879
5023
  metadata?: {
4880
5024
  [key: string]: unknown;
4881
5025
  } | null;
5026
+ type?: string | null;
4882
5027
  /** Format: uuid */
4883
5028
  recurringFeeId?: string | null;
4884
5029
  /** @enum {string|null} */
@@ -4888,7 +5033,6 @@ export interface operations {
4888
5033
  adjustments_update?: {
4889
5034
  /** Format: uuid */
4890
5035
  id: string;
4891
- type?: string;
4892
5036
  description?: string | null;
4893
5037
  reservationRef?: string | null;
4894
5038
  /** @description Value in cents (100 = 1€) */
@@ -4898,6 +5042,7 @@ export interface operations {
4898
5042
  metadata?: {
4899
5043
  [key: string]: unknown;
4900
5044
  } | null;
5045
+ type?: string | null;
4901
5046
  /** Format: uuid */
4902
5047
  recurringFeeId?: string | null;
4903
5048
  /** @enum {string|null} */
@@ -4992,6 +5137,15 @@ export interface operations {
4992
5137
  /** @enum {string} */
4993
5138
  severity: "warning";
4994
5139
  context: Record<string, never>;
5140
+ } | {
5141
+ /** @enum {string} */
5142
+ code: "guestTotalsMismatch";
5143
+ /** @enum {string} */
5144
+ severity: "warning";
5145
+ context: {
5146
+ difference: number;
5147
+ };
5148
+ message: string;
4995
5149
  })[];
4996
5150
  connection?: {
4997
5151
  /** Format: uuid */
@@ -5136,13 +5290,13 @@ export interface operations {
5136
5290
  adjustments: {
5137
5291
  /** Format: uuid */
5138
5292
  id: string;
5139
- type?: string;
5140
5293
  description?: string | null;
5141
5294
  /** @description Value in cents (100 = 1€) */
5142
5295
  amount: number;
5143
5296
  metadata?: {
5144
5297
  [key: string]: unknown;
5145
5298
  } | null;
5299
+ type?: string | null;
5146
5300
  /** @enum {string|null} */
5147
5301
  party?: "owners" | "manager" | null;
5148
5302
  account?: {
@@ -5393,6 +5547,15 @@ export interface operations {
5393
5547
  /** @enum {string} */
5394
5548
  severity: "warning";
5395
5549
  context: Record<string, never>;
5550
+ } | {
5551
+ /** @enum {string} */
5552
+ code: "guestTotalsMismatch";
5553
+ /** @enum {string} */
5554
+ severity: "warning";
5555
+ context: {
5556
+ difference: number;
5557
+ };
5558
+ message: string;
5396
5559
  })[];
5397
5560
  connection?: {
5398
5561
  /** Format: uuid */
@@ -5574,7 +5737,6 @@ export interface operations {
5574
5737
  /** @description Adjustments are manually added financial lines that are not part of the booking platform */
5575
5738
  adjustments?: {
5576
5739
  id?: string | null;
5577
- type?: string;
5578
5740
  description?: string | null;
5579
5741
  reservationRef?: string | null;
5580
5742
  /** @description Value in cents (100 = 1€) */
@@ -5584,6 +5746,7 @@ export interface operations {
5584
5746
  metadata?: {
5585
5747
  [key: string]: unknown;
5586
5748
  } | null;
5749
+ type?: string | null;
5587
5750
  /** Format: uuid */
5588
5751
  recurringFeeId?: string | null;
5589
5752
  /** @enum {string|null} */
@@ -5676,6 +5839,15 @@ export interface operations {
5676
5839
  /** @enum {string} */
5677
5840
  severity: "warning";
5678
5841
  context: Record<string, never>;
5842
+ } | {
5843
+ /** @enum {string} */
5844
+ code: "guestTotalsMismatch";
5845
+ /** @enum {string} */
5846
+ severity: "warning";
5847
+ context: {
5848
+ difference: number;
5849
+ };
5850
+ message: string;
5679
5851
  })[];
5680
5852
  connection?: {
5681
5853
  /** Format: uuid */
@@ -5820,13 +5992,13 @@ export interface operations {
5820
5992
  adjustments: {
5821
5993
  /** Format: uuid */
5822
5994
  id: string;
5823
- type?: string;
5824
5995
  description?: string | null;
5825
5996
  /** @description Value in cents (100 = 1€) */
5826
5997
  amount: number;
5827
5998
  metadata?: {
5828
5999
  [key: string]: unknown;
5829
6000
  } | null;
6001
+ type?: string | null;
5830
6002
  /** @enum {string|null} */
5831
6003
  party?: "owners" | "manager" | null;
5832
6004
  account?: {
@@ -5908,7 +6080,7 @@ export interface operations {
5908
6080
  data: {
5909
6081
  /** Format: uuid */
5910
6082
  listingId: string;
5911
- /** @default 2025-11-15 */
6083
+ /** @default 2025-12-12 */
5912
6084
  startAt: string;
5913
6085
  endAt?: string | null;
5914
6086
  setListingInactive?: boolean | null;
@@ -5990,7 +6162,7 @@ export interface operations {
5990
6162
  "application/json": {
5991
6163
  /** Format: uuid */
5992
6164
  listingId: string;
5993
- /** @default 2025-11-15 */
6165
+ /** @default 2025-12-12 */
5994
6166
  startAt?: string;
5995
6167
  endAt?: string | null;
5996
6168
  members: {
@@ -6024,7 +6196,7 @@ export interface operations {
6024
6196
  "application/json": {
6025
6197
  /** Format: uuid */
6026
6198
  listingId: string;
6027
- /** @default 2025-11-15 */
6199
+ /** @default 2025-12-12 */
6028
6200
  startAt: string;
6029
6201
  endAt?: string | null;
6030
6202
  setListingInactive?: boolean | null;
@@ -6104,7 +6276,7 @@ export interface operations {
6104
6276
  "application/json": {
6105
6277
  /** Format: uuid */
6106
6278
  listingId: string;
6107
- /** @default 2025-11-15 */
6279
+ /** @default 2025-12-12 */
6108
6280
  startAt: string;
6109
6281
  endAt?: string | null;
6110
6282
  setListingInactive?: boolean | null;
@@ -6187,7 +6359,7 @@ export interface operations {
6187
6359
  "application/json": {
6188
6360
  /** Format: uuid */
6189
6361
  listingId?: string;
6190
- /** @default 2025-11-15 */
6362
+ /** @default 2025-12-12 */
6191
6363
  startAt?: string;
6192
6364
  endAt?: string | null;
6193
6365
  members?: {
@@ -6221,7 +6393,7 @@ export interface operations {
6221
6393
  "application/json": {
6222
6394
  /** Format: uuid */
6223
6395
  listingId: string;
6224
- /** @default 2025-11-15 */
6396
+ /** @default 2025-12-12 */
6225
6397
  startAt: string;
6226
6398
  endAt?: string | null;
6227
6399
  setListingInactive?: boolean | null;
@@ -6395,19 +6567,24 @@ export interface operations {
6395
6567
  status?: "active" | "inactive";
6396
6568
  defaultCurrency?: string | null;
6397
6569
  activeRecurringFeePeriods?: {
6398
- listingId: string;
6399
6570
  startAt?: string | null;
6400
6571
  endAt?: string | null;
6401
6572
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
6402
6573
  rate?: number | null;
6403
- recurringFeeId: string;
6404
6574
  /** Format: uuid */
6405
6575
  id: string;
6576
+ recurringFee: {
6577
+ /** Format: uuid */
6578
+ id: string;
6579
+ title: string;
6580
+ /** @enum {string} */
6581
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
6582
+ };
6406
6583
  }[] | null;
6407
6584
  /** Format: uuid */
6408
6585
  sourceId?: string | null;
6409
6586
  initialOwnership?: {
6410
- /** @default 2025-11-15 */
6587
+ /** @default 2025-12-12 */
6411
6588
  startAt?: string;
6412
6589
  endAt?: string | null;
6413
6590
  members: {
@@ -6465,7 +6642,7 @@ export interface operations {
6465
6642
  status: "active" | "inactive";
6466
6643
  defaultCurrency?: string | null;
6467
6644
  activeOwnership?: {
6468
- /** @default 2025-11-15 */
6645
+ /** @default 2025-12-12 */
6469
6646
  startAt: string;
6470
6647
  endAt?: string | null;
6471
6648
  setListingInactive?: boolean | null;
@@ -6484,14 +6661,19 @@ export interface operations {
6484
6661
  id: string;
6485
6662
  } | null;
6486
6663
  activeRecurringFeePeriods?: {
6487
- listingId: string;
6488
6664
  startAt?: string | null;
6489
6665
  endAt?: string | null;
6490
6666
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
6491
6667
  rate?: number | null;
6492
- recurringFeeId: string;
6493
6668
  /** Format: uuid */
6494
6669
  id: string;
6670
+ recurringFee: {
6671
+ /** Format: uuid */
6672
+ id: string;
6673
+ title: string;
6674
+ /** @enum {string} */
6675
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
6676
+ };
6495
6677
  }[] | null;
6496
6678
  source?: {
6497
6679
  /** Format: uuid */
@@ -6706,7 +6888,7 @@ export interface operations {
6706
6888
  status: "active" | "inactive";
6707
6889
  defaultCurrency?: string | null;
6708
6890
  activeOwnership?: {
6709
- /** @default 2025-11-15 */
6891
+ /** @default 2025-12-12 */
6710
6892
  startAt: string;
6711
6893
  endAt?: string | null;
6712
6894
  setListingInactive?: boolean | null;
@@ -6725,14 +6907,19 @@ export interface operations {
6725
6907
  id: string;
6726
6908
  } | null;
6727
6909
  activeRecurringFeePeriods?: {
6728
- listingId: string;
6729
6910
  startAt?: string | null;
6730
6911
  endAt?: string | null;
6731
6912
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
6732
6913
  rate?: number | null;
6733
- recurringFeeId: string;
6734
6914
  /** Format: uuid */
6735
6915
  id: string;
6916
+ recurringFee: {
6917
+ /** Format: uuid */
6918
+ id: string;
6919
+ title: string;
6920
+ /** @enum {string} */
6921
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
6922
+ };
6736
6923
  }[] | null;
6737
6924
  source?: {
6738
6925
  /** Format: uuid */
@@ -6833,19 +7020,24 @@ export interface operations {
6833
7020
  status?: "active" | "inactive";
6834
7021
  defaultCurrency?: string | null;
6835
7022
  activeRecurringFeePeriods?: {
6836
- listingId: string;
6837
7023
  startAt?: string | null;
6838
7024
  endAt?: string | null;
6839
7025
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
6840
7026
  rate?: number | null;
6841
- recurringFeeId: string;
6842
7027
  /** Format: uuid */
6843
7028
  id: string;
7029
+ recurringFee: {
7030
+ /** Format: uuid */
7031
+ id: string;
7032
+ title: string;
7033
+ /** @enum {string} */
7034
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7035
+ };
6844
7036
  }[] | null;
6845
7037
  /** Format: uuid */
6846
7038
  sourceId?: string | null;
6847
7039
  initialOwnership?: {
6848
- /** @default 2025-11-15 */
7040
+ /** @default 2025-12-12 */
6849
7041
  startAt?: string;
6850
7042
  endAt?: string | null;
6851
7043
  members: {
@@ -6899,7 +7091,7 @@ export interface operations {
6899
7091
  status: "active" | "inactive";
6900
7092
  defaultCurrency?: string | null;
6901
7093
  activeOwnership?: {
6902
- /** @default 2025-11-15 */
7094
+ /** @default 2025-12-12 */
6903
7095
  startAt: string;
6904
7096
  endAt?: string | null;
6905
7097
  setListingInactive?: boolean | null;
@@ -6918,14 +7110,19 @@ export interface operations {
6918
7110
  id: string;
6919
7111
  } | null;
6920
7112
  activeRecurringFeePeriods?: {
6921
- listingId: string;
6922
7113
  startAt?: string | null;
6923
7114
  endAt?: string | null;
6924
7115
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
6925
7116
  rate?: number | null;
6926
- recurringFeeId: string;
6927
7117
  /** Format: uuid */
6928
7118
  id: string;
7119
+ recurringFee: {
7120
+ /** Format: uuid */
7121
+ id: string;
7122
+ title: string;
7123
+ /** @enum {string} */
7124
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7125
+ };
6929
7126
  }[] | null;
6930
7127
  source?: {
6931
7128
  /** Format: uuid */
@@ -7116,7 +7313,7 @@ export interface operations {
7116
7313
  status: "active" | "inactive";
7117
7314
  defaultCurrency?: string | null;
7118
7315
  activeOwnership?: {
7119
- /** @default 2025-11-15 */
7316
+ /** @default 2025-12-12 */
7120
7317
  startAt: string;
7121
7318
  endAt?: string | null;
7122
7319
  setListingInactive?: boolean | null;
@@ -7135,14 +7332,19 @@ export interface operations {
7135
7332
  id: string;
7136
7333
  } | null;
7137
7334
  activeRecurringFeePeriods?: {
7138
- listingId: string;
7139
7335
  startAt?: string | null;
7140
7336
  endAt?: string | null;
7141
7337
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
7142
7338
  rate?: number | null;
7143
- recurringFeeId: string;
7144
7339
  /** Format: uuid */
7145
7340
  id: string;
7341
+ recurringFee: {
7342
+ /** Format: uuid */
7343
+ id: string;
7344
+ title: string;
7345
+ /** @enum {string} */
7346
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7347
+ };
7146
7348
  }[] | null;
7147
7349
  source?: {
7148
7350
  /** Format: uuid */
@@ -7251,19 +7453,24 @@ export interface operations {
7251
7453
  status?: "active" | "inactive";
7252
7454
  defaultCurrency?: string | null;
7253
7455
  activeRecurringFeePeriods?: {
7254
- listingId: string;
7255
7456
  startAt?: string | null;
7256
7457
  endAt?: string | null;
7257
7458
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
7258
7459
  rate?: number | null;
7259
- recurringFeeId: string;
7260
7460
  /** Format: uuid */
7261
7461
  id: string;
7462
+ recurringFee: {
7463
+ /** Format: uuid */
7464
+ id: string;
7465
+ title: string;
7466
+ /** @enum {string} */
7467
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7468
+ };
7262
7469
  }[] | null;
7263
7470
  /** Format: uuid */
7264
7471
  sourceId?: string | null;
7265
7472
  initialOwnership?: {
7266
- /** @default 2025-11-15 */
7473
+ /** @default 2025-12-12 */
7267
7474
  startAt?: string;
7268
7475
  endAt?: string | null;
7269
7476
  members: {
@@ -7317,7 +7524,7 @@ export interface operations {
7317
7524
  status: "active" | "inactive";
7318
7525
  defaultCurrency?: string | null;
7319
7526
  activeOwnership?: {
7320
- /** @default 2025-11-15 */
7527
+ /** @default 2025-12-12 */
7321
7528
  startAt: string;
7322
7529
  endAt?: string | null;
7323
7530
  setListingInactive?: boolean | null;
@@ -7336,14 +7543,19 @@ export interface operations {
7336
7543
  id: string;
7337
7544
  } | null;
7338
7545
  activeRecurringFeePeriods?: {
7339
- listingId: string;
7340
7546
  startAt?: string | null;
7341
7547
  endAt?: string | null;
7342
7548
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
7343
7549
  rate?: number | null;
7344
- recurringFeeId: string;
7345
7550
  /** Format: uuid */
7346
7551
  id: string;
7552
+ recurringFee: {
7553
+ /** Format: uuid */
7554
+ id: string;
7555
+ title: string;
7556
+ /** @enum {string} */
7557
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7558
+ };
7347
7559
  }[] | null;
7348
7560
  source?: {
7349
7561
  /** Format: uuid */
@@ -9199,9 +9411,15 @@ export interface operations {
9199
9411
  endAt?: string | null;
9200
9412
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9201
9413
  rate?: number | null;
9202
- recurringFeeId: string;
9203
9414
  /** Format: uuid */
9204
9415
  id: string;
9416
+ recurringFee: {
9417
+ /** Format: uuid */
9418
+ id: string;
9419
+ title: string;
9420
+ /** @enum {string} */
9421
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
9422
+ };
9205
9423
  }[];
9206
9424
  pagination: {
9207
9425
  /** @default 100 */
@@ -9305,9 +9523,15 @@ export interface operations {
9305
9523
  endAt?: string | null;
9306
9524
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9307
9525
  rate?: number | null;
9308
- recurringFeeId: string;
9309
9526
  /** Format: uuid */
9310
9527
  id: string;
9528
+ recurringFee: {
9529
+ /** Format: uuid */
9530
+ id: string;
9531
+ title: string;
9532
+ /** @enum {string} */
9533
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
9534
+ };
9311
9535
  }[];
9312
9536
  };
9313
9537
  };
@@ -9399,9 +9623,15 @@ export interface operations {
9399
9623
  endAt?: string | null;
9400
9624
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9401
9625
  rate?: number | null;
9402
- recurringFeeId: string;
9403
9626
  /** Format: uuid */
9404
9627
  id: string;
9628
+ recurringFee: {
9629
+ /** Format: uuid */
9630
+ id: string;
9631
+ title: string;
9632
+ /** @enum {string} */
9633
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
9634
+ };
9405
9635
  };
9406
9636
  };
9407
9637
  };
@@ -9483,9 +9713,15 @@ export interface operations {
9483
9713
  endAt?: string | null;
9484
9714
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9485
9715
  rate?: number | null;
9486
- recurringFeeId: string;
9487
9716
  /** Format: uuid */
9488
9717
  id: string;
9718
+ recurringFee: {
9719
+ /** Format: uuid */
9720
+ id: string;
9721
+ title: string;
9722
+ /** @enum {string} */
9723
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
9724
+ };
9489
9725
  };
9490
9726
  };
9491
9727
  };
@@ -12948,6 +13184,8 @@ export interface operations {
12948
13184
  query?: {
12949
13185
  limit?: number;
12950
13186
  page?: number;
13187
+ /** @description comma separated periods */
13188
+ periodIds?: string;
12951
13189
  /** @description Year in format YYYY */
12952
13190
  year?: number;
12953
13191
  /** @description comma separated listings */
@@ -15816,6 +16054,7 @@ export interface operations {
15816
16054
  includeLines?: boolean;
15817
16055
  accountId?: string;
15818
16056
  hasActiveJournalEntries?: boolean;
16057
+ connectionId?: string;
15819
16058
  dateRange?: string;
15820
16059
  isDateRangeEndInclusive?: boolean;
15821
16060
  uniqueRefs?: string;
@@ -16866,6 +17105,8 @@ export interface operations {
16866
17105
  uniqueRef?: string | null;
16867
17106
  app: {
16868
17107
  id: string;
17108
+ /** @enum {string} */
17109
+ type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
16869
17110
  name: string;
16870
17111
  icon?: string | null;
16871
17112
  importers?: string[] | null;
@@ -17041,6 +17282,8 @@ export interface operations {
17041
17282
  uniqueRef?: string | null;
17042
17283
  app: {
17043
17284
  id: string;
17285
+ /** @enum {string} */
17286
+ type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
17044
17287
  name: string;
17045
17288
  icon?: string | null;
17046
17289
  importers?: string[] | null;
@@ -17144,7 +17387,31 @@ export interface operations {
17144
17387
  };
17145
17388
  content: {
17146
17389
  "application/json": {
17390
+ /** Format: uuid */
17147
17391
  id: string;
17392
+ name: string;
17393
+ /** @enum {string} */
17394
+ status: "active" | "inactive";
17395
+ uniqueRef?: string | null;
17396
+ app: {
17397
+ id: string;
17398
+ /** @enum {string} */
17399
+ type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
17400
+ name: string;
17401
+ icon?: string | null;
17402
+ importers?: string[] | null;
17403
+ extractors?: string[] | null;
17404
+ };
17405
+ createdAt: string;
17406
+ updatedAt: string;
17407
+ isErrorState: boolean;
17408
+ currentSync?: {
17409
+ /** @enum {string} */
17410
+ status: "queued" | "started" | "completed" | "failed" | "canceled";
17411
+ createdAt: string;
17412
+ updatedAt: string;
17413
+ message?: string | null;
17414
+ } | null;
17148
17415
  };
17149
17416
  };
17150
17417
  };
@@ -21326,15 +21593,22 @@ export interface operations {
21326
21593
  };
21327
21594
  };
21328
21595
  };
21329
- getDispatchAction: {
21596
+ listEffects: {
21330
21597
  parameters: {
21331
- query?: never;
21598
+ query?: {
21599
+ limit?: number;
21600
+ offset?: number;
21601
+ dispatchId?: string;
21602
+ entityId?: string;
21603
+ entityType?: "reservation" | "recurringTransactionTemplate" | "tenant" | "transaction";
21604
+ status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
21605
+ effectType?: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
21606
+ page?: number;
21607
+ };
21332
21608
  header?: {
21333
21609
  "X-Team-Id"?: string;
21334
21610
  };
21335
- path: {
21336
- id: string;
21337
- };
21611
+ path?: never;
21338
21612
  cookie?: never;
21339
21613
  };
21340
21614
  requestBody?: never;
@@ -21346,106 +21620,399 @@ export interface operations {
21346
21620
  };
21347
21621
  content: {
21348
21622
  "application/json": {
21349
- /** Format: uuid */
21350
- id: string;
21351
- /** Format: uuid */
21352
- tenantId: string;
21353
- actionType: string;
21354
- message: string | null;
21355
- payload?: unknown;
21356
- userId: string | null;
21357
- /** Format: date-time */
21358
- createdAt: string;
21359
- effects: {
21623
+ data: {
21360
21624
  /** Format: uuid */
21361
21625
  id: string;
21626
+ dispatchedAction: {
21627
+ /** Format: uuid */
21628
+ id: string;
21629
+ actionType: string;
21630
+ apiEndpoint: string | null;
21631
+ };
21362
21632
  /** @enum {string} */
21363
- effectType: "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "UPDATE_RECURRING_TRANSACTION_INSTANCES" | "DEACTIVATE_RECURRING_TEMPLATE" | "UPDATE_RESERVATION_PAYMENTS" | "UPDATE_RESERVATION_LINKABLES" | "MATCH_TRANSACTION_LINE_TO_RESERVATION" | "MATCH_RESERVATION_TO_STRIPE_DEPOSIT" | "TEST_EFFECT" | "TENANT_HYPERLINE_SYNC" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_LINEAR_WEBHOOK" | "TENANT_SUSPENSION_EMAIL" | "TENANT_STATUS_TRACK" | "CALENDAR_BLOCK_ACTION";
21633
+ effectType: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
21364
21634
  payload?: unknown;
21365
- /** @enum {string} */
21366
- status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
21367
- priority: number;
21368
- retryCount: number;
21369
- maxRetries: number;
21370
- sequence: number;
21371
- /** Format: date-time */
21372
- claimedAt: string | null;
21373
- claimedBy: string | null;
21374
- /** Format: date-time */
21375
- completedAt: string | null;
21376
- /** Format: date-time */
21377
- lastAttemptAt: string | null;
21378
- lastError: string | null;
21379
- /** Format: date-time */
21380
- createdAt: string;
21381
- }[];
21382
- effectCounts: {
21383
- total: number;
21384
- pending: number;
21385
- claimed: number;
21386
- running: number;
21387
- completed: number;
21388
- failed: number;
21389
- deadLetter: number;
21390
- };
21391
- };
21392
- };
21393
- };
21394
- /** @description Invalid input data */
21395
- 400: {
21396
- headers: {
21397
- [name: string]: unknown;
21398
- };
21399
- content: {
21400
- "application/json": components["schemas"]["error.BAD_REQUEST"];
21401
- };
21402
- };
21403
- /** @description Authorization not provided */
21404
- 401: {
21405
- headers: {
21406
- [name: string]: unknown;
21407
- };
21408
- content: {
21409
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
21410
- };
21411
- };
21412
- /** @description Insufficient access */
21413
- 403: {
21414
- headers: {
21415
- [name: string]: unknown;
21416
- };
21417
- content: {
21418
- "application/json": components["schemas"]["error.FORBIDDEN"];
21419
- };
21420
- };
21421
- /** @description Not found */
21422
- 404: {
21423
- headers: {
21424
- [name: string]: unknown;
21425
- };
21426
- content: {
21427
- "application/json": components["schemas"]["error.NOT_FOUND"];
21428
- };
21429
- };
21430
- /** @description Internal server error */
21431
- 500: {
21432
- headers: {
21433
- [name: string]: unknown;
21434
- };
21435
- content: {
21436
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
21437
- };
21438
- };
21439
- };
21440
- };
21441
- plaidConnectComplete: {
21442
- parameters: {
21443
- query?: never;
21444
- header?: {
21445
- "X-Team-Id"?: string;
21446
- };
21447
- path?: never;
21448
- cookie?: never;
21635
+ entity: ({
21636
+ /** @enum {string} */
21637
+ type: "reservation";
21638
+ data: {
21639
+ id: string;
21640
+ confirmationCode?: string | null;
21641
+ uniqueRef: string;
21642
+ /** @enum {string} */
21643
+ status: "booked" | "canceled" | "inactive";
21644
+ checkIn?: string | null;
21645
+ checkOut?: string | null;
21646
+ };
21647
+ } | {
21648
+ /** @enum {string} */
21649
+ type: "transaction";
21650
+ data: {
21651
+ id: string;
21652
+ /** @enum {string} */
21653
+ status: "active" | "inactive";
21654
+ /** @description Value in cents (100 = 1€) */
21655
+ amount: number;
21656
+ account?: {
21657
+ id: string;
21658
+ name: string;
21659
+ uniqueRef?: string | null;
21660
+ /** @enum {string} */
21661
+ status: "active" | "inactive";
21662
+ } | null;
21663
+ date: string;
21664
+ description: string;
21665
+ currency: string;
21666
+ /** @enum {string} */
21667
+ type: "deposit" | "expense" | "transfer";
21668
+ contact?: {
21669
+ /** Format: uuid */
21670
+ id: string;
21671
+ name?: string | null;
21672
+ uniqueRef?: string | null;
21673
+ } | null;
21674
+ connection?: {
21675
+ /** Format: uuid */
21676
+ id: string;
21677
+ name: string;
21678
+ /** @enum {string} */
21679
+ status: "active" | "inactive";
21680
+ uniqueRef?: string | null;
21681
+ appId: string;
21682
+ } | null;
21683
+ uniqueRef?: string | null;
21684
+ recurringTemplate?: {
21685
+ id: string;
21686
+ } | null;
21687
+ };
21688
+ } | {
21689
+ /** @enum {string} */
21690
+ type: "recurringTransactionTemplate";
21691
+ data: {
21692
+ id: string;
21693
+ /** @enum {string} */
21694
+ status: "active" | "inactive";
21695
+ /** @description Value in cents (100 = 1€) */
21696
+ amount: number;
21697
+ account?: {
21698
+ id: string;
21699
+ name: string;
21700
+ uniqueRef?: string | null;
21701
+ /** @enum {string} */
21702
+ status: "active" | "inactive";
21703
+ } | null;
21704
+ date: string;
21705
+ description: string;
21706
+ currency: string;
21707
+ /** @enum {string} */
21708
+ type: "deposit" | "expense" | "transfer";
21709
+ contact?: {
21710
+ /** Format: uuid */
21711
+ id: string;
21712
+ name?: string | null;
21713
+ uniqueRef?: string | null;
21714
+ } | null;
21715
+ connection?: {
21716
+ /** Format: uuid */
21717
+ id: string;
21718
+ name: string;
21719
+ /** @enum {string} */
21720
+ status: "active" | "inactive";
21721
+ uniqueRef?: string | null;
21722
+ appId: string;
21723
+ } | null;
21724
+ uniqueRef?: string | null;
21725
+ recurringTemplate?: {
21726
+ id: string;
21727
+ } | null;
21728
+ };
21729
+ } | {
21730
+ /** @enum {string} */
21731
+ type: "other";
21732
+ data: {
21733
+ /** Format: uuid */
21734
+ id: string;
21735
+ type: string;
21736
+ name: string | null;
21737
+ };
21738
+ }) | null;
21739
+ /** @enum {string} */
21740
+ status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
21741
+ priority: number;
21742
+ retryCount: number;
21743
+ maxRetries: number;
21744
+ sequence: number;
21745
+ claimedAt: string | null;
21746
+ claimedBy: string | null;
21747
+ completedAt: string | null;
21748
+ lastAttemptAt: string | null;
21749
+ lastError: string | null;
21750
+ createdAt: string;
21751
+ }[];
21752
+ pagination: {
21753
+ /** @default 100 */
21754
+ limit: number;
21755
+ /** @default 1 */
21756
+ page: number;
21757
+ total: number;
21758
+ totalPage: number;
21759
+ nextPage?: number;
21760
+ };
21761
+ };
21762
+ };
21763
+ };
21764
+ /** @description Invalid input data */
21765
+ 400: {
21766
+ headers: {
21767
+ [name: string]: unknown;
21768
+ };
21769
+ content: {
21770
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
21771
+ };
21772
+ };
21773
+ /** @description Authorization not provided */
21774
+ 401: {
21775
+ headers: {
21776
+ [name: string]: unknown;
21777
+ };
21778
+ content: {
21779
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
21780
+ };
21781
+ };
21782
+ /** @description Insufficient access */
21783
+ 403: {
21784
+ headers: {
21785
+ [name: string]: unknown;
21786
+ };
21787
+ content: {
21788
+ "application/json": components["schemas"]["error.FORBIDDEN"];
21789
+ };
21790
+ };
21791
+ /** @description Not found */
21792
+ 404: {
21793
+ headers: {
21794
+ [name: string]: unknown;
21795
+ };
21796
+ content: {
21797
+ "application/json": components["schemas"]["error.NOT_FOUND"];
21798
+ };
21799
+ };
21800
+ /** @description Internal server error */
21801
+ 500: {
21802
+ headers: {
21803
+ [name: string]: unknown;
21804
+ };
21805
+ content: {
21806
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
21807
+ };
21808
+ };
21809
+ };
21810
+ };
21811
+ getDispatchAction: {
21812
+ parameters: {
21813
+ query?: never;
21814
+ header?: {
21815
+ "X-Team-Id"?: string;
21816
+ };
21817
+ path: {
21818
+ id: string;
21819
+ };
21820
+ cookie?: never;
21821
+ };
21822
+ requestBody?: never;
21823
+ responses: {
21824
+ /** @description Successful response */
21825
+ 200: {
21826
+ headers: {
21827
+ [name: string]: unknown;
21828
+ };
21829
+ content: {
21830
+ "application/json": {
21831
+ /** Format: uuid */
21832
+ id: string;
21833
+ /** Format: uuid */
21834
+ tenantId: string;
21835
+ actionType: string;
21836
+ message: string | null;
21837
+ payload?: unknown;
21838
+ userId: string | null;
21839
+ createdAt: string;
21840
+ effectCounts: {
21841
+ total: number;
21842
+ pending: number;
21843
+ claimed: number;
21844
+ running: number;
21845
+ completed: number;
21846
+ failed: number;
21847
+ deadLetter: number;
21848
+ };
21849
+ apiEndpoint: string | null;
21850
+ };
21851
+ };
21852
+ };
21853
+ /** @description Invalid input data */
21854
+ 400: {
21855
+ headers: {
21856
+ [name: string]: unknown;
21857
+ };
21858
+ content: {
21859
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
21860
+ };
21861
+ };
21862
+ /** @description Authorization not provided */
21863
+ 401: {
21864
+ headers: {
21865
+ [name: string]: unknown;
21866
+ };
21867
+ content: {
21868
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
21869
+ };
21870
+ };
21871
+ /** @description Insufficient access */
21872
+ 403: {
21873
+ headers: {
21874
+ [name: string]: unknown;
21875
+ };
21876
+ content: {
21877
+ "application/json": components["schemas"]["error.FORBIDDEN"];
21878
+ };
21879
+ };
21880
+ /** @description Not found */
21881
+ 404: {
21882
+ headers: {
21883
+ [name: string]: unknown;
21884
+ };
21885
+ content: {
21886
+ "application/json": components["schemas"]["error.NOT_FOUND"];
21887
+ };
21888
+ };
21889
+ /** @description Internal server error */
21890
+ 500: {
21891
+ headers: {
21892
+ [name: string]: unknown;
21893
+ };
21894
+ content: {
21895
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
21896
+ };
21897
+ };
21898
+ };
21899
+ };
21900
+ listDispatchActions: {
21901
+ parameters: {
21902
+ query?: {
21903
+ limit?: number;
21904
+ offset?: number;
21905
+ startDate?: string;
21906
+ endDate?: string;
21907
+ actionType?: string;
21908
+ entityId?: string;
21909
+ entityType?: "reservation" | "recurringTransactionTemplate" | "tenant" | "transaction";
21910
+ includeIfNoEffects?: boolean;
21911
+ page?: number;
21912
+ };
21913
+ header?: {
21914
+ "X-Team-Id"?: string;
21915
+ };
21916
+ path?: never;
21917
+ cookie?: never;
21918
+ };
21919
+ requestBody?: never;
21920
+ responses: {
21921
+ /** @description Successful response */
21922
+ 200: {
21923
+ headers: {
21924
+ [name: string]: unknown;
21925
+ };
21926
+ content: {
21927
+ "application/json": {
21928
+ data: {
21929
+ /** Format: uuid */
21930
+ id: string;
21931
+ /** Format: uuid */
21932
+ tenantId: string;
21933
+ actionType: string;
21934
+ message: string | null;
21935
+ payload?: unknown;
21936
+ userId: string | null;
21937
+ createdAt: string;
21938
+ effectCounts: {
21939
+ total: number;
21940
+ pending: number;
21941
+ claimed: number;
21942
+ running: number;
21943
+ completed: number;
21944
+ failed: number;
21945
+ deadLetter: number;
21946
+ };
21947
+ apiEndpoint: string | null;
21948
+ }[];
21949
+ pagination: {
21950
+ /** @default 100 */
21951
+ limit: number;
21952
+ /** @default 1 */
21953
+ page: number;
21954
+ total: number;
21955
+ totalPage: number;
21956
+ nextPage?: number;
21957
+ };
21958
+ };
21959
+ };
21960
+ };
21961
+ /** @description Invalid input data */
21962
+ 400: {
21963
+ headers: {
21964
+ [name: string]: unknown;
21965
+ };
21966
+ content: {
21967
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
21968
+ };
21969
+ };
21970
+ /** @description Authorization not provided */
21971
+ 401: {
21972
+ headers: {
21973
+ [name: string]: unknown;
21974
+ };
21975
+ content: {
21976
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
21977
+ };
21978
+ };
21979
+ /** @description Insufficient access */
21980
+ 403: {
21981
+ headers: {
21982
+ [name: string]: unknown;
21983
+ };
21984
+ content: {
21985
+ "application/json": components["schemas"]["error.FORBIDDEN"];
21986
+ };
21987
+ };
21988
+ /** @description Not found */
21989
+ 404: {
21990
+ headers: {
21991
+ [name: string]: unknown;
21992
+ };
21993
+ content: {
21994
+ "application/json": components["schemas"]["error.NOT_FOUND"];
21995
+ };
21996
+ };
21997
+ /** @description Internal server error */
21998
+ 500: {
21999
+ headers: {
22000
+ [name: string]: unknown;
22001
+ };
22002
+ content: {
22003
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
22004
+ };
22005
+ };
22006
+ };
22007
+ };
22008
+ plaidConnectComplete: {
22009
+ parameters: {
22010
+ query?: never;
22011
+ header?: {
22012
+ "X-Team-Id"?: string;
22013
+ };
22014
+ path?: never;
22015
+ cookie?: never;
21449
22016
  };
21450
22017
  requestBody: {
21451
22018
  content: {
@@ -21833,27 +22400,207 @@ export interface operations {
21833
22400
  };
21834
22401
  };
21835
22402
  };
21836
- csvImport: {
22403
+ csvImport: {
22404
+ parameters: {
22405
+ query?: never;
22406
+ header?: {
22407
+ "X-Team-Id"?: string;
22408
+ };
22409
+ path?: never;
22410
+ cookie?: never;
22411
+ };
22412
+ requestBody: {
22413
+ content: {
22414
+ "application/json": {
22415
+ fileData?: string;
22416
+ fileUri?: string;
22417
+ fileName?: string;
22418
+ connectionId: string;
22419
+ uniqueRef: string;
22420
+ params?: unknown;
22421
+ };
22422
+ };
22423
+ };
22424
+ responses: {
22425
+ /** @description Successful response */
22426
+ 200: {
22427
+ headers: {
22428
+ [name: string]: unknown;
22429
+ };
22430
+ content: {
22431
+ "application/json": {
22432
+ data: {
22433
+ syncId: string;
22434
+ /** @enum {string} */
22435
+ status: "completed";
22436
+ } | {
22437
+ /** @enum {string} */
22438
+ status: "failed";
22439
+ syncId: string;
22440
+ error: string;
22441
+ parseErrors?: {
22442
+ rowNumber: number;
22443
+ message: string;
22444
+ }[];
22445
+ };
22446
+ };
22447
+ };
22448
+ };
22449
+ /** @description Invalid input data */
22450
+ 400: {
22451
+ headers: {
22452
+ [name: string]: unknown;
22453
+ };
22454
+ content: {
22455
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
22456
+ };
22457
+ };
22458
+ /** @description Authorization not provided */
22459
+ 401: {
22460
+ headers: {
22461
+ [name: string]: unknown;
22462
+ };
22463
+ content: {
22464
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
22465
+ };
22466
+ };
22467
+ /** @description Insufficient access */
22468
+ 403: {
22469
+ headers: {
22470
+ [name: string]: unknown;
22471
+ };
22472
+ content: {
22473
+ "application/json": components["schemas"]["error.FORBIDDEN"];
22474
+ };
22475
+ };
22476
+ /** @description Internal server error */
22477
+ 500: {
22478
+ headers: {
22479
+ [name: string]: unknown;
22480
+ };
22481
+ content: {
22482
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
22483
+ };
22484
+ };
22485
+ };
22486
+ };
22487
+ getTrustReconciliationReport: {
22488
+ parameters: {
22489
+ query: {
22490
+ endDate: string;
22491
+ listingId?: string;
22492
+ };
22493
+ header?: {
22494
+ "X-Team-Id"?: string;
22495
+ };
22496
+ path?: never;
22497
+ cookie?: never;
22498
+ };
22499
+ requestBody?: never;
22500
+ responses: {
22501
+ /** @description Successful response */
22502
+ 200: {
22503
+ headers: {
22504
+ [name: string]: unknown;
22505
+ };
22506
+ content: {
22507
+ "application/json": {
22508
+ data: ({
22509
+ /** @enum {string} */
22510
+ name: "Owner Payables";
22511
+ total: number;
22512
+ /** @enum {string} */
22513
+ type: "listings";
22514
+ listings: {
22515
+ name: string;
22516
+ id: string;
22517
+ total: number;
22518
+ }[];
22519
+ } | {
22520
+ name: string;
22521
+ total: number;
22522
+ /** @enum {string} */
22523
+ type: "accounts";
22524
+ accounts: {
22525
+ id: string;
22526
+ name: string;
22527
+ total: number;
22528
+ }[];
22529
+ } | {
22530
+ /** @enum {string} */
22531
+ name: "Guest Receivables & Deposits";
22532
+ total: number;
22533
+ /** @enum {string} */
22534
+ type: "occupancy_status";
22535
+ occupancyStatuses: {
22536
+ /** @enum {string} */
22537
+ status: "departed" | "upcoming" | "inHouse" | "unassigned";
22538
+ total: number;
22539
+ }[];
22540
+ })[];
22541
+ };
22542
+ };
22543
+ };
22544
+ /** @description Invalid input data */
22545
+ 400: {
22546
+ headers: {
22547
+ [name: string]: unknown;
22548
+ };
22549
+ content: {
22550
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
22551
+ };
22552
+ };
22553
+ /** @description Authorization not provided */
22554
+ 401: {
22555
+ headers: {
22556
+ [name: string]: unknown;
22557
+ };
22558
+ content: {
22559
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
22560
+ };
22561
+ };
22562
+ /** @description Insufficient access */
22563
+ 403: {
22564
+ headers: {
22565
+ [name: string]: unknown;
22566
+ };
22567
+ content: {
22568
+ "application/json": components["schemas"]["error.FORBIDDEN"];
22569
+ };
22570
+ };
22571
+ /** @description Not found */
22572
+ 404: {
22573
+ headers: {
22574
+ [name: string]: unknown;
22575
+ };
22576
+ content: {
22577
+ "application/json": components["schemas"]["error.NOT_FOUND"];
22578
+ };
22579
+ };
22580
+ /** @description Internal server error */
22581
+ 500: {
22582
+ headers: {
22583
+ [name: string]: unknown;
22584
+ };
22585
+ content: {
22586
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
22587
+ };
22588
+ };
22589
+ };
22590
+ };
22591
+ getTrustReconciliationReportByListing: {
21837
22592
  parameters: {
21838
- query?: never;
22593
+ query: {
22594
+ endDate: string;
22595
+ listingId?: string;
22596
+ };
21839
22597
  header?: {
21840
22598
  "X-Team-Id"?: string;
21841
22599
  };
21842
22600
  path?: never;
21843
22601
  cookie?: never;
21844
22602
  };
21845
- requestBody: {
21846
- content: {
21847
- "application/json": {
21848
- fileData?: string;
21849
- fileUri?: string;
21850
- fileName?: string;
21851
- connectionId: string;
21852
- uniqueRef: string;
21853
- params?: unknown;
21854
- };
21855
- };
21856
- };
22603
+ requestBody?: never;
21857
22604
  responses: {
21858
22605
  /** @description Successful response */
21859
22606
  200: {
@@ -21863,19 +22610,24 @@ export interface operations {
21863
22610
  content: {
21864
22611
  "application/json": {
21865
22612
  data: {
21866
- syncId: string;
21867
- /** @enum {string} */
21868
- status: "completed";
21869
- } | {
21870
- /** @enum {string} */
21871
- status: "failed";
21872
- syncId: string;
21873
- error: string;
21874
- parseErrors?: {
21875
- rowNumber: number;
21876
- message: string;
22613
+ id: string;
22614
+ name: string;
22615
+ total: number;
22616
+ sections: {
22617
+ /** @enum {string} */
22618
+ name: "Owner Balance" | "Other Net Liabilities";
22619
+ total: number;
22620
+ /** @enum {string} */
22621
+ type: "accounts";
22622
+ accounts: {
22623
+ id: string;
22624
+ name: string;
22625
+ categoryId: string;
22626
+ total: number;
22627
+ }[];
21877
22628
  }[];
21878
- };
22629
+ }[];
22630
+ total: number;
21879
22631
  };
21880
22632
  };
21881
22633
  };
@@ -21906,6 +22658,15 @@ export interface operations {
21906
22658
  "application/json": components["schemas"]["error.FORBIDDEN"];
21907
22659
  };
21908
22660
  };
22661
+ /** @description Not found */
22662
+ 404: {
22663
+ headers: {
22664
+ [name: string]: unknown;
22665
+ };
22666
+ content: {
22667
+ "application/json": components["schemas"]["error.NOT_FOUND"];
22668
+ };
22669
+ };
21909
22670
  /** @description Internal server error */
21910
22671
  500: {
21911
22672
  headers: {
@@ -21917,7 +22678,7 @@ export interface operations {
21917
22678
  };
21918
22679
  };
21919
22680
  };
21920
- getTrustReconciliationReport: {
22681
+ getTrustReconciliationReportByListingCsv: {
21921
22682
  parameters: {
21922
22683
  query: {
21923
22684
  endDate: string;
@@ -21938,39 +22699,7 @@ export interface operations {
21938
22699
  };
21939
22700
  content: {
21940
22701
  "application/json": {
21941
- data: ({
21942
- /** @enum {string} */
21943
- name: "Owner Payables";
21944
- total: number;
21945
- /** @enum {string} */
21946
- type: "listings";
21947
- listings: {
21948
- name: string;
21949
- id: string;
21950
- total: number;
21951
- }[];
21952
- } | {
21953
- name: string;
21954
- total: number;
21955
- /** @enum {string} */
21956
- type: "accounts";
21957
- accounts: {
21958
- id: string;
21959
- name: string;
21960
- total: number;
21961
- }[];
21962
- } | {
21963
- /** @enum {string} */
21964
- name: "Guest Receivables & Deposits";
21965
- total: number;
21966
- /** @enum {string} */
21967
- type: "occupancy_status";
21968
- occupancyStatuses: {
21969
- /** @enum {string} */
21970
- status: "departed" | "upcoming" | "inHouse" | "unassigned";
21971
- total: number;
21972
- }[];
21973
- })[];
22702
+ url: string;
21974
22703
  };
21975
22704
  };
21976
22705
  };
@@ -22523,8 +23252,12 @@ export interface operations {
22523
23252
  date?: string;
22524
23253
  amount?: string;
22525
23254
  isDateRangeEndInclusive?: boolean;
23255
+ /** @description comma separated reservation ids */
22526
23256
  reservationIds?: string;
23257
+ /** @description comma separated transaction ids */
22527
23258
  transactionIds?: string;
23259
+ /** @description comma separated owner statement ids */
23260
+ ownerStatementIds?: string;
22528
23261
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
22529
23262
  currency?: string;
22530
23263
  /** @description listing ids comma separated or "unmapped" */
@@ -22533,10 +23266,14 @@ export interface operations {
22533
23266
  accountIds?: string;
22534
23267
  /** @description comma separated categories */
22535
23268
  categoryIds?: string;
22536
- classifications?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
22537
- types?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
22538
- entityTypes?: ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer") | ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer")[];
23269
+ classifications?: string;
23270
+ accountType?: "ledger" | "bank" | "recurringFee" | "nonPosting";
23271
+ /** @description comma separated journal entry types */
23272
+ types?: string;
23273
+ /** @description comma separated entity types "reservation" | "deposit" | "expense" | "recurringFee" | "transfer" */
23274
+ entityTypes?: string;
22539
23275
  party?: "owners" | "manager";
23276
+ includeDetails?: boolean;
22540
23277
  limit?: number;
22541
23278
  page?: number;
22542
23279
  };
@@ -22582,6 +23319,16 @@ export interface operations {
22582
23319
  id: string;
22583
23320
  name: string;
22584
23321
  };
23322
+ detail?: {
23323
+ owners?: string;
23324
+ listing?: string;
23325
+ reservationConfirmationCode?: string;
23326
+ bookingChannel?: string;
23327
+ transactionReference?: string;
23328
+ reservationLineReference?: string;
23329
+ classification?: string;
23330
+ category?: string;
23331
+ };
22585
23332
  }[];
22586
23333
  pagination: {
22587
23334
  /** @default 100 */
@@ -22642,6 +23389,108 @@ export interface operations {
22642
23389
  };
22643
23390
  };
22644
23391
  };
23392
+ getJournalEntriesReportCsv: {
23393
+ parameters: {
23394
+ query?: {
23395
+ /** @description comma separated journal entry ids */
23396
+ ids?: string;
23397
+ txnCode?: string;
23398
+ published?: boolean;
23399
+ status?: "active" | "inactive";
23400
+ startAt?: string;
23401
+ endAt?: string;
23402
+ search?: string;
23403
+ date?: string;
23404
+ amount?: string;
23405
+ isDateRangeEndInclusive?: boolean;
23406
+ /** @description comma separated reservation ids */
23407
+ reservationIds?: string;
23408
+ /** @description comma separated transaction ids */
23409
+ transactionIds?: string;
23410
+ /** @description comma separated owner statement ids */
23411
+ ownerStatementIds?: string;
23412
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
23413
+ currency?: string;
23414
+ /** @description listing ids comma separated or "unmapped" */
23415
+ listingIds?: string;
23416
+ /** @description account ids comma separated accounts or "unmapped" */
23417
+ accountIds?: string;
23418
+ /** @description comma separated categories */
23419
+ categoryIds?: string;
23420
+ classifications?: string;
23421
+ accountType?: "ledger" | "bank" | "recurringFee" | "nonPosting";
23422
+ /** @description comma separated journal entry types */
23423
+ types?: string;
23424
+ /** @description comma separated entity types "reservation" | "deposit" | "expense" | "recurringFee" | "transfer" */
23425
+ entityTypes?: string;
23426
+ party?: "owners" | "manager";
23427
+ };
23428
+ header?: {
23429
+ "X-Team-Id"?: string;
23430
+ };
23431
+ path?: never;
23432
+ cookie?: never;
23433
+ };
23434
+ requestBody?: never;
23435
+ responses: {
23436
+ /** @description Successful response */
23437
+ 200: {
23438
+ headers: {
23439
+ [name: string]: unknown;
23440
+ };
23441
+ content: {
23442
+ "application/json": {
23443
+ url: string;
23444
+ };
23445
+ };
23446
+ };
23447
+ /** @description Invalid input data */
23448
+ 400: {
23449
+ headers: {
23450
+ [name: string]: unknown;
23451
+ };
23452
+ content: {
23453
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23454
+ };
23455
+ };
23456
+ /** @description Authorization not provided */
23457
+ 401: {
23458
+ headers: {
23459
+ [name: string]: unknown;
23460
+ };
23461
+ content: {
23462
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23463
+ };
23464
+ };
23465
+ /** @description Insufficient access */
23466
+ 403: {
23467
+ headers: {
23468
+ [name: string]: unknown;
23469
+ };
23470
+ content: {
23471
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23472
+ };
23473
+ };
23474
+ /** @description Not found */
23475
+ 404: {
23476
+ headers: {
23477
+ [name: string]: unknown;
23478
+ };
23479
+ content: {
23480
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23481
+ };
23482
+ };
23483
+ /** @description Internal server error */
23484
+ 500: {
23485
+ headers: {
23486
+ [name: string]: unknown;
23487
+ };
23488
+ content: {
23489
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23490
+ };
23491
+ };
23492
+ };
23493
+ };
22645
23494
  getManagerStatementsReport: {
22646
23495
  parameters: {
22647
23496
  query: {
@@ -22863,8 +23712,12 @@ export interface operations {
22863
23712
  date?: string;
22864
23713
  amount?: string;
22865
23714
  isDateRangeEndInclusive?: boolean;
23715
+ /** @description comma separated reservation ids */
22866
23716
  reservationIds?: string;
23717
+ /** @description comma separated transaction ids */
22867
23718
  transactionIds?: string;
23719
+ /** @description comma separated owner statement ids */
23720
+ ownerStatementIds?: string;
22868
23721
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
22869
23722
  currency?: string;
22870
23723
  /** @description listing ids comma separated or "unmapped" */
@@ -22873,9 +23726,12 @@ export interface operations {
22873
23726
  accountIds?: string;
22874
23727
  /** @description comma separated categories */
22875
23728
  categoryIds?: string;
22876
- classifications?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
22877
- types?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
22878
- entityTypes?: ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer") | ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer")[];
23729
+ classifications?: string;
23730
+ accountType?: "ledger" | "bank" | "recurringFee" | "nonPosting";
23731
+ /** @description comma separated journal entry types */
23732
+ types?: string;
23733
+ /** @description comma separated entity types "reservation" | "deposit" | "expense" | "recurringFee" | "transfer" */
23734
+ entityTypes?: string;
22879
23735
  limit?: number;
22880
23736
  page?: number;
22881
23737
  };
@@ -22921,6 +23777,16 @@ export interface operations {
22921
23777
  id: string;
22922
23778
  name: string;
22923
23779
  };
23780
+ detail?: {
23781
+ owners?: string;
23782
+ listing?: string;
23783
+ reservationConfirmationCode?: string;
23784
+ bookingChannel?: string;
23785
+ transactionReference?: string;
23786
+ reservationLineReference?: string;
23787
+ classification?: string;
23788
+ category?: string;
23789
+ };
22924
23790
  }[];
22925
23791
  pagination: {
22926
23792
  /** @default 100 */
@@ -22981,6 +23847,107 @@ export interface operations {
22981
23847
  };
22982
23848
  };
22983
23849
  };
23850
+ getManagerStatementReportJournalEntriesCsv: {
23851
+ parameters: {
23852
+ query?: {
23853
+ /** @description comma separated journal entry ids */
23854
+ ids?: string;
23855
+ txnCode?: string;
23856
+ published?: boolean;
23857
+ status?: "active" | "inactive";
23858
+ startAt?: string;
23859
+ endAt?: string;
23860
+ search?: string;
23861
+ date?: string;
23862
+ amount?: string;
23863
+ isDateRangeEndInclusive?: boolean;
23864
+ /** @description comma separated reservation ids */
23865
+ reservationIds?: string;
23866
+ /** @description comma separated transaction ids */
23867
+ transactionIds?: string;
23868
+ /** @description comma separated owner statement ids */
23869
+ ownerStatementIds?: string;
23870
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
23871
+ currency?: string;
23872
+ /** @description listing ids comma separated or "unmapped" */
23873
+ listingIds?: string;
23874
+ /** @description account ids comma separated accounts or "unmapped" */
23875
+ accountIds?: string;
23876
+ /** @description comma separated categories */
23877
+ categoryIds?: string;
23878
+ classifications?: string;
23879
+ accountType?: "ledger" | "bank" | "recurringFee" | "nonPosting";
23880
+ /** @description comma separated journal entry types */
23881
+ types?: string;
23882
+ /** @description comma separated entity types "reservation" | "deposit" | "expense" | "recurringFee" | "transfer" */
23883
+ entityTypes?: string;
23884
+ };
23885
+ header?: {
23886
+ "X-Team-Id"?: string;
23887
+ };
23888
+ path?: never;
23889
+ cookie?: never;
23890
+ };
23891
+ requestBody?: never;
23892
+ responses: {
23893
+ /** @description Successful response */
23894
+ 200: {
23895
+ headers: {
23896
+ [name: string]: unknown;
23897
+ };
23898
+ content: {
23899
+ "application/json": {
23900
+ url: string;
23901
+ };
23902
+ };
23903
+ };
23904
+ /** @description Invalid input data */
23905
+ 400: {
23906
+ headers: {
23907
+ [name: string]: unknown;
23908
+ };
23909
+ content: {
23910
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23911
+ };
23912
+ };
23913
+ /** @description Authorization not provided */
23914
+ 401: {
23915
+ headers: {
23916
+ [name: string]: unknown;
23917
+ };
23918
+ content: {
23919
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23920
+ };
23921
+ };
23922
+ /** @description Insufficient access */
23923
+ 403: {
23924
+ headers: {
23925
+ [name: string]: unknown;
23926
+ };
23927
+ content: {
23928
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23929
+ };
23930
+ };
23931
+ /** @description Not found */
23932
+ 404: {
23933
+ headers: {
23934
+ [name: string]: unknown;
23935
+ };
23936
+ content: {
23937
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23938
+ };
23939
+ };
23940
+ /** @description Internal server error */
23941
+ 500: {
23942
+ headers: {
23943
+ [name: string]: unknown;
23944
+ };
23945
+ content: {
23946
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23947
+ };
23948
+ };
23949
+ };
23950
+ };
22984
23951
  getProfitAndLossReport: {
22985
23952
  parameters: {
22986
23953
  query?: {
@@ -23377,244 +24344,15 @@ export interface operations {
23377
24344
  endAt: string;
23378
24345
  /** @description comma separated listings */
23379
24346
  listingIds?: string;
23380
- currency?: string;
23381
- viewAs?: "owner" | "manager";
23382
- };
23383
- header?: {
23384
- "X-Team-Id"?: string;
23385
- };
23386
- path: {
23387
- contactId: string;
23388
- };
23389
- cookie?: never;
23390
- };
23391
- requestBody?: never;
23392
- responses: {
23393
- /** @description Successful response */
23394
- 200: {
23395
- headers: {
23396
- [name: string]: unknown;
23397
- };
23398
- content: {
23399
- "application/json": {
23400
- currency: string;
23401
- contact: {
23402
- contactId: string;
23403
- name?: string;
23404
- firstName?: string;
23405
- /** Format: email */
23406
- email?: string;
23407
- phone?: string;
23408
- };
23409
- financials: {
23410
- balanceStart: number;
23411
- netRevenue: number;
23412
- expenses: number;
23413
- transfers: number;
23414
- netIncome: number;
23415
- currentBalance: number;
23416
- balanceEnd: number;
23417
- };
23418
- netRevenueSection: {
23419
- title: string;
23420
- rows: {
23421
- title: string;
23422
- statementIds?: string[];
23423
- columns: {
23424
- title: string;
23425
- value: number | string;
23426
- formatted: string;
23427
- }[];
23428
- }[];
23429
- subtotal?: {
23430
- title: string;
23431
- columns: {
23432
- title: string;
23433
- value: number | string;
23434
- formatted: string;
23435
- }[];
23436
- };
23437
- };
23438
- otherSections: {
23439
- title: string;
23440
- rows: {
23441
- title: string;
23442
- statementIds?: string[];
23443
- columns: {
23444
- title: string;
23445
- value: number | string;
23446
- formatted: string;
23447
- }[];
23448
- }[];
23449
- subtotal?: {
23450
- title: string;
23451
- columns: {
23452
- title: string;
23453
- value: number | string;
23454
- formatted: string;
23455
- }[];
23456
- };
23457
- }[];
23458
- transfersSection?: {
23459
- title: string;
23460
- rows: {
23461
- title: string;
23462
- statementIds?: string[];
23463
- columns: {
23464
- title: string;
23465
- value: number | string;
23466
- formatted: string;
23467
- }[];
23468
- }[];
23469
- subtotal?: {
23470
- title: string;
23471
- columns: {
23472
- title: string;
23473
- value: number | string;
23474
- formatted: string;
23475
- }[];
23476
- };
23477
- };
23478
- };
23479
- };
23480
- };
23481
- /** @description Invalid input data */
23482
- 400: {
23483
- headers: {
23484
- [name: string]: unknown;
23485
- };
23486
- content: {
23487
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23488
- };
23489
- };
23490
- /** @description Authorization not provided */
23491
- 401: {
23492
- headers: {
23493
- [name: string]: unknown;
23494
- };
23495
- content: {
23496
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23497
- };
23498
- };
23499
- /** @description Insufficient access */
23500
- 403: {
23501
- headers: {
23502
- [name: string]: unknown;
23503
- };
23504
- content: {
23505
- "application/json": components["schemas"]["error.FORBIDDEN"];
23506
- };
23507
- };
23508
- /** @description Not found */
23509
- 404: {
23510
- headers: {
23511
- [name: string]: unknown;
23512
- };
23513
- content: {
23514
- "application/json": components["schemas"]["error.NOT_FOUND"];
23515
- };
23516
- };
23517
- /** @description Internal server error */
23518
- 500: {
23519
- headers: {
23520
- [name: string]: unknown;
23521
- };
23522
- content: {
23523
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23524
- };
23525
- };
23526
- };
23527
- };
23528
- getOwnerStatementSummaryDetailsReportCsv: {
23529
- parameters: {
23530
- query: {
23531
- view: "listing" | "month" | "reservation" | "bookingChannel";
23532
- startAt: string;
23533
- endAt: string;
23534
- /** @description comma separated listings */
23535
- listingIds?: string;
23536
- currency?: string;
23537
- viewAs?: "owner" | "manager";
23538
- };
23539
- header?: {
23540
- "X-Team-Id"?: string;
23541
- };
23542
- path: {
23543
- contactId: string;
23544
- };
23545
- cookie?: never;
23546
- };
23547
- requestBody?: never;
23548
- responses: {
23549
- /** @description Successful response */
23550
- 200: {
23551
- headers: {
23552
- [name: string]: unknown;
23553
- };
23554
- content: {
23555
- "application/json": {
23556
- url: string;
23557
- };
23558
- };
23559
- };
23560
- /** @description Invalid input data */
23561
- 400: {
23562
- headers: {
23563
- [name: string]: unknown;
23564
- };
23565
- content: {
23566
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23567
- };
23568
- };
23569
- /** @description Authorization not provided */
23570
- 401: {
23571
- headers: {
23572
- [name: string]: unknown;
23573
- };
23574
- content: {
23575
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23576
- };
23577
- };
23578
- /** @description Insufficient access */
23579
- 403: {
23580
- headers: {
23581
- [name: string]: unknown;
23582
- };
23583
- content: {
23584
- "application/json": components["schemas"]["error.FORBIDDEN"];
23585
- };
23586
- };
23587
- /** @description Not found */
23588
- 404: {
23589
- headers: {
23590
- [name: string]: unknown;
23591
- };
23592
- content: {
23593
- "application/json": components["schemas"]["error.NOT_FOUND"];
23594
- };
23595
- };
23596
- /** @description Internal server error */
23597
- 500: {
23598
- headers: {
23599
- [name: string]: unknown;
23600
- };
23601
- content: {
23602
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23603
- };
23604
- };
23605
- };
23606
- };
23607
- getCalendar: {
23608
- parameters: {
23609
- query: {
23610
- listingId: string;
23611
- startDate: string;
23612
- endDate: string;
24347
+ currency?: string;
24348
+ viewAs?: "owner" | "manager";
23613
24349
  };
23614
24350
  header?: {
23615
24351
  "X-Team-Id"?: string;
23616
24352
  };
23617
- path?: never;
24353
+ path: {
24354
+ contactId: string;
24355
+ };
23618
24356
  cookie?: never;
23619
24357
  };
23620
24358
  requestBody?: never;
@@ -23626,19 +24364,84 @@ export interface operations {
23626
24364
  };
23627
24365
  content: {
23628
24366
  "application/json": {
23629
- data: {
23630
- date: string;
23631
- /** @enum {string} */
23632
- blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
23633
- description?: string;
23634
- user?: {
23635
- /** Format: email */
23636
- email: string;
23637
- firstName: string;
23638
- lastName: string;
23639
- id: string;
23640
- } | null;
24367
+ currency: string;
24368
+ contact: {
24369
+ contactId: string;
24370
+ name?: string;
24371
+ firstName?: string;
24372
+ /** Format: email */
24373
+ email?: string;
24374
+ phone?: string;
24375
+ };
24376
+ financials: {
24377
+ balanceStart: number;
24378
+ netRevenue: number;
24379
+ expenses: number;
24380
+ transfers: number;
24381
+ netIncome: number;
24382
+ currentBalance: number;
24383
+ balanceEnd: number;
24384
+ };
24385
+ netRevenueSection: {
24386
+ title: string;
24387
+ rows: {
24388
+ title: string;
24389
+ statementIds?: string[];
24390
+ columns: {
24391
+ title: string;
24392
+ value: number | string;
24393
+ formatted: string;
24394
+ }[];
24395
+ }[];
24396
+ subtotal?: {
24397
+ title: string;
24398
+ columns: {
24399
+ title: string;
24400
+ value: number | string;
24401
+ formatted: string;
24402
+ }[];
24403
+ };
24404
+ };
24405
+ otherSections: {
24406
+ title: string;
24407
+ rows: {
24408
+ title: string;
24409
+ statementIds?: string[];
24410
+ columns: {
24411
+ title: string;
24412
+ value: number | string;
24413
+ formatted: string;
24414
+ }[];
24415
+ }[];
24416
+ subtotal?: {
24417
+ title: string;
24418
+ columns: {
24419
+ title: string;
24420
+ value: number | string;
24421
+ formatted: string;
24422
+ }[];
24423
+ };
23641
24424
  }[];
24425
+ transfersSection?: {
24426
+ title: string;
24427
+ rows: {
24428
+ title: string;
24429
+ statementIds?: string[];
24430
+ columns: {
24431
+ title: string;
24432
+ value: number | string;
24433
+ formatted: string;
24434
+ }[];
24435
+ }[];
24436
+ subtotal?: {
24437
+ title: string;
24438
+ columns: {
24439
+ title: string;
24440
+ value: number | string;
24441
+ formatted: string;
24442
+ }[];
24443
+ };
24444
+ };
23642
24445
  };
23643
24446
  };
23644
24447
  };
@@ -23689,25 +24492,26 @@ export interface operations {
23689
24492
  };
23690
24493
  };
23691
24494
  };
23692
- blockCalendar: {
24495
+ getOwnerStatementSummaryDetailsReportCsv: {
23693
24496
  parameters: {
23694
- query?: never;
24497
+ query: {
24498
+ view: "listing" | "month" | "reservation" | "bookingChannel";
24499
+ startAt: string;
24500
+ endAt: string;
24501
+ /** @description comma separated listings */
24502
+ listingIds?: string;
24503
+ currency?: string;
24504
+ viewAs?: "owner" | "manager";
24505
+ };
23695
24506
  header?: {
23696
24507
  "X-Team-Id"?: string;
23697
24508
  };
23698
- path?: never;
23699
- cookie?: never;
23700
- };
23701
- requestBody: {
23702
- content: {
23703
- "application/json": {
23704
- listingId: string;
23705
- startDate: string;
23706
- endDate: string;
23707
- description?: string;
23708
- };
24509
+ path: {
24510
+ contactId: string;
23709
24511
  };
24512
+ cookie?: never;
23710
24513
  };
24514
+ requestBody?: never;
23711
24515
  responses: {
23712
24516
  /** @description Successful response */
23713
24517
  200: {
@@ -23716,19 +24520,7 @@ export interface operations {
23716
24520
  };
23717
24521
  content: {
23718
24522
  "application/json": {
23719
- data: {
23720
- date: string;
23721
- /** @enum {string} */
23722
- blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
23723
- description?: string;
23724
- user?: {
23725
- /** Format: email */
23726
- email: string;
23727
- firstName: string;
23728
- lastName: string;
23729
- id: string;
23730
- } | null;
23731
- }[];
24523
+ url: string;
23732
24524
  };
23733
24525
  };
23734
24526
  };
@@ -23759,6 +24551,15 @@ export interface operations {
23759
24551
  "application/json": components["schemas"]["error.FORBIDDEN"];
23760
24552
  };
23761
24553
  };
24554
+ /** @description Not found */
24555
+ 404: {
24556
+ headers: {
24557
+ [name: string]: unknown;
24558
+ };
24559
+ content: {
24560
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24561
+ };
24562
+ };
23762
24563
  /** @description Internal server error */
23763
24564
  500: {
23764
24565
  headers: {
@@ -23770,13 +24571,16 @@ export interface operations {
23770
24571
  };
23771
24572
  };
23772
24573
  };
23773
- unblockCalendar: {
24574
+ getTrialBalanceReport: {
23774
24575
  parameters: {
23775
24576
  query: {
23776
- listingId: string;
23777
24577
  startDate: string;
23778
24578
  endDate: string;
23779
- description?: string;
24579
+ classification?: string;
24580
+ type?: "bank" | "ledger";
24581
+ party?: "owners" | "manager";
24582
+ accountIds?: string;
24583
+ search?: string;
23780
24584
  };
23781
24585
  header?: {
23782
24586
  "X-Team-Id"?: string;
@@ -23793,18 +24597,18 @@ export interface operations {
23793
24597
  };
23794
24598
  content: {
23795
24599
  "application/json": {
23796
- data: {
23797
- date: string;
23798
- /** @enum {string} */
23799
- blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
23800
- description?: string;
23801
- user?: {
23802
- /** Format: email */
23803
- email: string;
23804
- firstName: string;
23805
- lastName: string;
23806
- id: string;
23807
- } | null;
24600
+ unassignedBalanceStart: number;
24601
+ unassignedDebit: number;
24602
+ unassignedCredit: number;
24603
+ unassignedBalanceEnd: number;
24604
+ accounts: {
24605
+ id: string;
24606
+ title: string;
24607
+ classification: string | null;
24608
+ balanceStart: number;
24609
+ debit: number;
24610
+ credit: number;
24611
+ balanceEnd: number;
23808
24612
  }[];
23809
24613
  };
23810
24614
  };
@@ -23856,92 +24660,33 @@ export interface operations {
23856
24660
  };
23857
24661
  };
23858
24662
  };
23859
- getFlows: {
24663
+ getTrialBalanceReportCsv: {
23860
24664
  parameters: {
23861
- query?: {
23862
- appId?: string;
23863
- limit?: number;
23864
- page?: number;
23865
- };
23866
- header?: {
23867
- "X-Team-Id"?: string;
24665
+ query: {
24666
+ startDate: string;
24667
+ endDate: string;
24668
+ classification?: string;
24669
+ type?: "bank" | "ledger";
24670
+ party?: "owners" | "manager";
24671
+ accountIds?: string;
24672
+ search?: string;
23868
24673
  };
23869
- path?: never;
23870
- cookie?: never;
23871
- };
23872
- requestBody?: never;
23873
- responses: {
23874
- /** @description Successful response */
23875
- 200: {
23876
- headers: {
23877
- [name: string]: unknown;
23878
- };
23879
- content: {
23880
- "application/json": {
23881
- data: {
23882
- /** Format: uuid */
23883
- id: string;
23884
- title: string;
23885
- app: {
23886
- id: string;
23887
- name: string;
23888
- icon?: string | null;
23889
- };
23890
- description?: string | null;
23891
- /** @description Mapping schema configuration for this flow */
23892
- mappingSchema: {
23893
- [key: string]: {
23894
- /** @description Title for UI/display */
23895
- title: string;
23896
- /** @description Description for UI/display */
23897
- description: string;
23898
- /** @description Internal system mapping configuration */
23899
- internal: {
23900
- /**
23901
- * @description Internal semantic type
23902
- * @enum {string}
23903
- */
23904
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23905
- /** @description Optional JSONB filter for internal data */
23906
- filter?: string;
23907
- };
23908
- /** @description External system mapping configuration */
23909
- external: {
23910
- /** @description External type identifier (vendor/system specific) */
23911
- type: string;
23912
- /** @description Optional JSONB filter for external data */
23913
- filter?: string;
23914
- };
23915
- };
23916
- };
23917
- /** @description Setting schema configuration for this flow */
23918
- settingSchema: {
23919
- [key: string]: {
23920
- /** @description Title for UI/display */
23921
- title: string;
23922
- /** @description Description for UI/display */
23923
- description: string;
23924
- /**
23925
- * @description Semantic type of the setting value
23926
- * @enum {string}
23927
- */
23928
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23929
- /** @description Optional JSONB filter for available values */
23930
- filter?: string;
23931
- };
23932
- };
23933
- /** @enum {string} */
23934
- type?: "push" | "pull";
23935
- }[];
23936
- pagination: {
23937
- /** @default 100 */
23938
- limit: number;
23939
- /** @default 1 */
23940
- page: number;
23941
- total: number;
23942
- totalPage: number;
23943
- nextPage?: number;
23944
- };
24674
+ header?: {
24675
+ "X-Team-Id"?: string;
24676
+ };
24677
+ path?: never;
24678
+ cookie?: never;
24679
+ };
24680
+ requestBody?: never;
24681
+ responses: {
24682
+ /** @description Successful response */
24683
+ 200: {
24684
+ headers: {
24685
+ [name: string]: unknown;
24686
+ };
24687
+ content: {
24688
+ "application/json": {
24689
+ url: string;
23945
24690
  };
23946
24691
  };
23947
24692
  };
@@ -23992,68 +24737,20 @@ export interface operations {
23992
24737
  };
23993
24738
  };
23994
24739
  };
23995
- createFlow: {
24740
+ getBalanceSheetReport: {
23996
24741
  parameters: {
23997
- query?: never;
24742
+ query?: {
24743
+ view?: "month" | "quarter" | "year";
24744
+ startDate?: string;
24745
+ endDate?: string;
24746
+ };
23998
24747
  header?: {
23999
24748
  "X-Team-Id"?: string;
24000
24749
  };
24001
24750
  path?: never;
24002
24751
  cookie?: never;
24003
24752
  };
24004
- requestBody: {
24005
- content: {
24006
- "application/json": {
24007
- title: string;
24008
- appId: string;
24009
- description?: string | null;
24010
- /** @enum {string} */
24011
- type?: "push" | "pull";
24012
- /** @description Dictionary of mapping entries by mapping_key */
24013
- mappingSchema?: {
24014
- [key: string]: {
24015
- /** @description Title for UI/display */
24016
- title: string;
24017
- /** @description Description for UI/display */
24018
- description: string;
24019
- /** @description Internal system mapping configuration */
24020
- internal: {
24021
- /**
24022
- * @description Internal semantic type
24023
- * @enum {string}
24024
- */
24025
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24026
- /** @description Optional JSONB filter for internal data */
24027
- filter?: string;
24028
- };
24029
- /** @description External system mapping configuration */
24030
- external: {
24031
- /** @description External type identifier (vendor/system specific) */
24032
- type: string;
24033
- /** @description Optional JSONB filter for external data */
24034
- filter?: string;
24035
- };
24036
- };
24037
- };
24038
- /** @description Dictionary of setting entries by setting_key */
24039
- settingSchema?: {
24040
- [key: string]: {
24041
- /** @description Title for UI/display */
24042
- title: string;
24043
- /** @description Description for UI/display */
24044
- description: string;
24045
- /**
24046
- * @description Semantic type of the setting value
24047
- * @enum {string}
24048
- */
24049
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24050
- /** @description Optional JSONB filter for available values */
24051
- filter?: string;
24052
- };
24053
- };
24054
- };
24055
- };
24056
- };
24753
+ requestBody?: never;
24057
24754
  responses: {
24058
24755
  /** @description Successful response */
24059
24756
  200: {
@@ -24062,7 +24759,7 @@ export interface operations {
24062
24759
  };
24063
24760
  content: {
24064
24761
  "application/json": {
24065
- id: string;
24762
+ balanceSheet: components["schemas"]["BalanceSheetGroup"] | null;
24066
24763
  };
24067
24764
  };
24068
24765
  };
@@ -24093,6 +24790,15 @@ export interface operations {
24093
24790
  "application/json": components["schemas"]["error.FORBIDDEN"];
24094
24791
  };
24095
24792
  };
24793
+ /** @description Not found */
24794
+ 404: {
24795
+ headers: {
24796
+ [name: string]: unknown;
24797
+ };
24798
+ content: {
24799
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24800
+ };
24801
+ };
24096
24802
  /** @description Internal server error */
24097
24803
  500: {
24098
24804
  headers: {
@@ -24104,15 +24810,17 @@ export interface operations {
24104
24810
  };
24105
24811
  };
24106
24812
  };
24107
- getFlow: {
24813
+ getBalanceSheetReportCsv: {
24108
24814
  parameters: {
24109
- query?: never;
24815
+ query?: {
24816
+ view?: "month" | "quarter" | "year";
24817
+ startDate?: string;
24818
+ endDate?: string;
24819
+ };
24110
24820
  header?: {
24111
24821
  "X-Team-Id"?: string;
24112
24822
  };
24113
- path: {
24114
- id: string;
24115
- };
24823
+ path?: never;
24116
24824
  cookie?: never;
24117
24825
  };
24118
24826
  requestBody?: never;
@@ -24124,59 +24832,7 @@ export interface operations {
24124
24832
  };
24125
24833
  content: {
24126
24834
  "application/json": {
24127
- /** Format: uuid */
24128
- id: string;
24129
- title: string;
24130
- app: {
24131
- id: string;
24132
- name: string;
24133
- icon?: string | null;
24134
- };
24135
- description?: string | null;
24136
- /** @description Mapping schema configuration for this flow */
24137
- mappingSchema: {
24138
- [key: string]: {
24139
- /** @description Title for UI/display */
24140
- title: string;
24141
- /** @description Description for UI/display */
24142
- description: string;
24143
- /** @description Internal system mapping configuration */
24144
- internal: {
24145
- /**
24146
- * @description Internal semantic type
24147
- * @enum {string}
24148
- */
24149
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24150
- /** @description Optional JSONB filter for internal data */
24151
- filter?: string;
24152
- };
24153
- /** @description External system mapping configuration */
24154
- external: {
24155
- /** @description External type identifier (vendor/system specific) */
24156
- type: string;
24157
- /** @description Optional JSONB filter for external data */
24158
- filter?: string;
24159
- };
24160
- };
24161
- };
24162
- /** @description Setting schema configuration for this flow */
24163
- settingSchema: {
24164
- [key: string]: {
24165
- /** @description Title for UI/display */
24166
- title: string;
24167
- /** @description Description for UI/display */
24168
- description: string;
24169
- /**
24170
- * @description Semantic type of the setting value
24171
- * @enum {string}
24172
- */
24173
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24174
- /** @description Optional JSONB filter for available values */
24175
- filter?: string;
24176
- };
24177
- };
24178
- /** @enum {string} */
24179
- type?: "push" | "pull";
24835
+ url: string;
24180
24836
  };
24181
24837
  };
24182
24838
  };
@@ -24227,70 +24883,20 @@ export interface operations {
24227
24883
  };
24228
24884
  };
24229
24885
  };
24230
- updateFlow: {
24886
+ getCalendar: {
24231
24887
  parameters: {
24232
- query?: never;
24888
+ query: {
24889
+ listingId: string;
24890
+ startDate: string;
24891
+ endDate: string;
24892
+ };
24233
24893
  header?: {
24234
24894
  "X-Team-Id"?: string;
24235
24895
  };
24236
- path: {
24237
- id: string;
24238
- };
24896
+ path?: never;
24239
24897
  cookie?: never;
24240
24898
  };
24241
- requestBody: {
24242
- content: {
24243
- "application/json": {
24244
- title?: string;
24245
- appId?: string;
24246
- description?: string | null;
24247
- /** @description Dictionary of mapping entries by mapping_key */
24248
- mappingSchema?: {
24249
- [key: string]: {
24250
- /** @description Title for UI/display */
24251
- title: string;
24252
- /** @description Description for UI/display */
24253
- description: string;
24254
- /** @description Internal system mapping configuration */
24255
- internal: {
24256
- /**
24257
- * @description Internal semantic type
24258
- * @enum {string}
24259
- */
24260
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24261
- /** @description Optional JSONB filter for internal data */
24262
- filter?: string;
24263
- };
24264
- /** @description External system mapping configuration */
24265
- external: {
24266
- /** @description External type identifier (vendor/system specific) */
24267
- type: string;
24268
- /** @description Optional JSONB filter for external data */
24269
- filter?: string;
24270
- };
24271
- };
24272
- };
24273
- /** @description Dictionary of setting entries by setting_key */
24274
- settingSchema?: {
24275
- [key: string]: {
24276
- /** @description Title for UI/display */
24277
- title: string;
24278
- /** @description Description for UI/display */
24279
- description: string;
24280
- /**
24281
- * @description Semantic type of the setting value
24282
- * @enum {string}
24283
- */
24284
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24285
- /** @description Optional JSONB filter for available values */
24286
- filter?: string;
24287
- };
24288
- };
24289
- /** @enum {string} */
24290
- type?: "push" | "pull";
24291
- };
24292
- };
24293
- };
24899
+ requestBody?: never;
24294
24900
  responses: {
24295
24901
  /** @description Successful response */
24296
24902
  200: {
@@ -24299,59 +24905,109 @@ export interface operations {
24299
24905
  };
24300
24906
  content: {
24301
24907
  "application/json": {
24302
- /** Format: uuid */
24303
- id: string;
24304
- title: string;
24305
- app: {
24306
- id: string;
24307
- name: string;
24308
- icon?: string | null;
24309
- };
24310
- description?: string | null;
24311
- /** @description Mapping schema configuration for this flow */
24312
- mappingSchema: {
24313
- [key: string]: {
24314
- /** @description Title for UI/display */
24315
- title: string;
24316
- /** @description Description for UI/display */
24317
- description: string;
24318
- /** @description Internal system mapping configuration */
24319
- internal: {
24320
- /**
24321
- * @description Internal semantic type
24322
- * @enum {string}
24323
- */
24324
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24325
- /** @description Optional JSONB filter for internal data */
24326
- filter?: string;
24327
- };
24328
- /** @description External system mapping configuration */
24329
- external: {
24330
- /** @description External type identifier (vendor/system specific) */
24331
- type: string;
24332
- /** @description Optional JSONB filter for external data */
24333
- filter?: string;
24334
- };
24335
- };
24336
- };
24337
- /** @description Setting schema configuration for this flow */
24338
- settingSchema: {
24339
- [key: string]: {
24340
- /** @description Title for UI/display */
24341
- title: string;
24342
- /** @description Description for UI/display */
24343
- description: string;
24344
- /**
24345
- * @description Semantic type of the setting value
24346
- * @enum {string}
24347
- */
24348
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24349
- /** @description Optional JSONB filter for available values */
24350
- filter?: string;
24351
- };
24352
- };
24353
- /** @enum {string} */
24354
- type?: "push" | "pull";
24908
+ data: {
24909
+ date: string;
24910
+ /** @enum {string} */
24911
+ blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
24912
+ description?: string;
24913
+ user?: {
24914
+ /** Format: email */
24915
+ email: string;
24916
+ firstName: string;
24917
+ lastName: string;
24918
+ id: string;
24919
+ } | null;
24920
+ }[];
24921
+ };
24922
+ };
24923
+ };
24924
+ /** @description Invalid input data */
24925
+ 400: {
24926
+ headers: {
24927
+ [name: string]: unknown;
24928
+ };
24929
+ content: {
24930
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24931
+ };
24932
+ };
24933
+ /** @description Authorization not provided */
24934
+ 401: {
24935
+ headers: {
24936
+ [name: string]: unknown;
24937
+ };
24938
+ content: {
24939
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24940
+ };
24941
+ };
24942
+ /** @description Insufficient access */
24943
+ 403: {
24944
+ headers: {
24945
+ [name: string]: unknown;
24946
+ };
24947
+ content: {
24948
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24949
+ };
24950
+ };
24951
+ /** @description Not found */
24952
+ 404: {
24953
+ headers: {
24954
+ [name: string]: unknown;
24955
+ };
24956
+ content: {
24957
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24958
+ };
24959
+ };
24960
+ /** @description Internal server error */
24961
+ 500: {
24962
+ headers: {
24963
+ [name: string]: unknown;
24964
+ };
24965
+ content: {
24966
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24967
+ };
24968
+ };
24969
+ };
24970
+ };
24971
+ blockCalendar: {
24972
+ parameters: {
24973
+ query?: never;
24974
+ header?: {
24975
+ "X-Team-Id"?: string;
24976
+ };
24977
+ path?: never;
24978
+ cookie?: never;
24979
+ };
24980
+ requestBody: {
24981
+ content: {
24982
+ "application/json": {
24983
+ listingId: string;
24984
+ startDate: string;
24985
+ endDate: string;
24986
+ description?: string;
24987
+ };
24988
+ };
24989
+ };
24990
+ responses: {
24991
+ /** @description Successful response */
24992
+ 200: {
24993
+ headers: {
24994
+ [name: string]: unknown;
24995
+ };
24996
+ content: {
24997
+ "application/json": {
24998
+ data: {
24999
+ date: string;
25000
+ /** @enum {string} */
25001
+ blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
25002
+ description?: string;
25003
+ user?: {
25004
+ /** Format: email */
25005
+ email: string;
25006
+ firstName: string;
25007
+ lastName: string;
25008
+ id: string;
25009
+ } | null;
25010
+ }[];
24355
25011
  };
24356
25012
  };
24357
25013
  };
@@ -24382,15 +25038,6 @@ export interface operations {
24382
25038
  "application/json": components["schemas"]["error.FORBIDDEN"];
24383
25039
  };
24384
25040
  };
24385
- /** @description Not found */
24386
- 404: {
24387
- headers: {
24388
- [name: string]: unknown;
24389
- };
24390
- content: {
24391
- "application/json": components["schemas"]["error.NOT_FOUND"];
24392
- };
24393
- };
24394
25041
  /** @description Internal server error */
24395
25042
  500: {
24396
25043
  headers: {
@@ -24402,15 +25049,18 @@ export interface operations {
24402
25049
  };
24403
25050
  };
24404
25051
  };
24405
- deleteFlow: {
25052
+ unblockCalendar: {
24406
25053
  parameters: {
24407
- query?: never;
25054
+ query: {
25055
+ listingId: string;
25056
+ startDate: string;
25057
+ endDate: string;
25058
+ description?: string;
25059
+ };
24408
25060
  header?: {
24409
25061
  "X-Team-Id"?: string;
24410
25062
  };
24411
- path: {
24412
- id: string;
24413
- };
25063
+ path?: never;
24414
25064
  cookie?: never;
24415
25065
  };
24416
25066
  requestBody?: never;
@@ -24422,8 +25072,19 @@ export interface operations {
24422
25072
  };
24423
25073
  content: {
24424
25074
  "application/json": {
24425
- /** @enum {string} */
24426
- status: "deleted";
25075
+ data: {
25076
+ date: string;
25077
+ /** @enum {string} */
25078
+ blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
25079
+ description?: string;
25080
+ user?: {
25081
+ /** Format: email */
25082
+ email: string;
25083
+ firstName: string;
25084
+ lastName: string;
25085
+ id: string;
25086
+ } | null;
25087
+ }[];
24427
25088
  };
24428
25089
  };
24429
25090
  };
@@ -24474,7 +25135,7 @@ export interface operations {
24474
25135
  };
24475
25136
  };
24476
25137
  };
24477
- getFlowConnection: {
25138
+ getFlowSetting: {
24478
25139
  parameters: {
24479
25140
  query?: never;
24480
25141
  header?: {
@@ -24483,6 +25144,7 @@ export interface operations {
24483
25144
  path: {
24484
25145
  id: string;
24485
25146
  connectionId: string;
25147
+ settingKey: string;
24486
25148
  };
24487
25149
  cookie?: never;
24488
25150
  };
@@ -24494,17 +25156,7 @@ export interface operations {
24494
25156
  [name: string]: unknown;
24495
25157
  };
24496
25158
  content: {
24497
- "application/json": {
24498
- /** Format: uuid */
24499
- id: string;
24500
- /** Format: uuid */
24501
- connectionId: string;
24502
- title: string;
24503
- description: string | null;
24504
- /** @enum {string} */
24505
- status: "active" | "inactive";
24506
- settings: components["schemas"]["FlowSettingItemsGet"];
24507
- };
25159
+ "application/json": components["schemas"]["FlowSettingItemGet"];
24508
25160
  };
24509
25161
  };
24510
25162
  /** @description Invalid input data */
@@ -24554,7 +25206,7 @@ export interface operations {
24554
25206
  };
24555
25207
  };
24556
25208
  };
24557
- setFlowStatus: {
25209
+ setFlowSetting: {
24558
25210
  parameters: {
24559
25211
  query?: never;
24560
25212
  header?: {
@@ -24563,14 +25215,16 @@ export interface operations {
24563
25215
  path: {
24564
25216
  id: string;
24565
25217
  connectionId: string;
25218
+ settingKey: string;
24566
25219
  };
24567
25220
  cookie?: never;
24568
25221
  };
24569
25222
  requestBody: {
24570
25223
  content: {
24571
25224
  "application/json": {
24572
- /** @enum {string} */
24573
- status: "active" | "inactive";
25225
+ value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
25226
+ [key: string]: string | number | boolean | null;
25227
+ }) | null;
24574
25228
  };
24575
25229
  };
24576
25230
  };
@@ -24583,14 +25237,21 @@ export interface operations {
24583
25237
  content: {
24584
25238
  "application/json": {
24585
25239
  /** Format: uuid */
24586
- id: string;
25240
+ id?: string;
24587
25241
  /** Format: uuid */
24588
- connectionId: string;
24589
- title: string;
24590
- description: string | null;
24591
- /** @enum {string} */
24592
- status: "active" | "inactive";
24593
- settings: components["schemas"]["FlowSettingItemsGet"];
25242
+ flowId?: string;
25243
+ /** Format: uuid */
25244
+ connectionId?: string;
25245
+ settingKey?: string;
25246
+ title?: string | null;
25247
+ description?: string | null;
25248
+ /**
25249
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
25250
+ * @enum {string|null}
25251
+ */
25252
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
25253
+ filter?: string | null;
25254
+ value?: components["schemas"]["FlowMappingResolvedEntityValue"];
24594
25255
  };
24595
25256
  };
24596
25257
  };
@@ -24621,15 +25282,6 @@ export interface operations {
24621
25282
  "application/json": components["schemas"]["error.FORBIDDEN"];
24622
25283
  };
24623
25284
  };
24624
- /** @description Not found */
24625
- 404: {
24626
- headers: {
24627
- [name: string]: unknown;
24628
- };
24629
- content: {
24630
- "application/json": components["schemas"]["error.NOT_FOUND"];
24631
- };
24632
- };
24633
25285
  /** @description Internal server error */
24634
25286
  500: {
24635
25287
  headers: {
@@ -24641,15 +25293,20 @@ export interface operations {
24641
25293
  };
24642
25294
  };
24643
25295
  };
24644
- runFlow: {
25296
+ getFlowSettingOptions: {
24645
25297
  parameters: {
24646
- query?: never;
25298
+ query?: {
25299
+ search?: string;
25300
+ limit?: number;
25301
+ page?: number;
25302
+ };
24647
25303
  header?: {
24648
25304
  "X-Team-Id"?: string;
24649
25305
  };
24650
25306
  path: {
24651
25307
  id: string;
24652
25308
  connectionId: string;
25309
+ settingKey: string;
24653
25310
  };
24654
25311
  cookie?: never;
24655
25312
  };
@@ -24662,8 +25319,19 @@ export interface operations {
24662
25319
  };
24663
25320
  content: {
24664
25321
  "application/json": {
24665
- /** Format: uuid */
24666
- syncId: string;
25322
+ data: {
25323
+ id: string;
25324
+ name: string;
25325
+ }[];
25326
+ pagination: {
25327
+ /** @default 100 */
25328
+ limit: number;
25329
+ /** @default 1 */
25330
+ page: number;
25331
+ total: number;
25332
+ totalPage: number;
25333
+ nextPage?: number;
25334
+ };
24667
25335
  };
24668
25336
  };
24669
25337
  };
@@ -24714,9 +25382,10 @@ export interface operations {
24714
25382
  };
24715
25383
  };
24716
25384
  };
24717
- getFlowSettings: {
25385
+ getFlowMapping: {
24718
25386
  parameters: {
24719
25387
  query?: {
25388
+ leftId?: string;
24720
25389
  limit?: number;
24721
25390
  page?: number;
24722
25391
  };
@@ -24726,6 +25395,7 @@ export interface operations {
24726
25395
  path: {
24727
25396
  id: string;
24728
25397
  connectionId: string;
25398
+ mappingKey: string;
24729
25399
  };
24730
25400
  cookie?: never;
24731
25401
  };
@@ -24738,7 +25408,7 @@ export interface operations {
24738
25408
  };
24739
25409
  content: {
24740
25410
  "application/json": {
24741
- data: components["schemas"]["FlowSettingItemGet"][];
25411
+ data: components["schemas"]["FlowMappingItemGet"][];
24742
25412
  pagination: {
24743
25413
  /** @default 100 */
24744
25414
  limit: number;
@@ -24798,7 +25468,99 @@ export interface operations {
24798
25468
  };
24799
25469
  };
24800
25470
  };
24801
- listFlowSettingOptions: {
25471
+ setFlowMapping: {
25472
+ parameters: {
25473
+ query?: never;
25474
+ header?: {
25475
+ "X-Team-Id"?: string;
25476
+ };
25477
+ path: {
25478
+ id: string;
25479
+ connectionId: string;
25480
+ mappingKey: string;
25481
+ };
25482
+ cookie?: never;
25483
+ };
25484
+ requestBody: {
25485
+ content: {
25486
+ "application/json": {
25487
+ /** Format: uuid */
25488
+ leftId: string;
25489
+ value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
25490
+ [key: string]: string | number | boolean | null;
25491
+ }) | null;
25492
+ };
25493
+ };
25494
+ };
25495
+ responses: {
25496
+ /** @description Successful response */
25497
+ 200: {
25498
+ headers: {
25499
+ [name: string]: unknown;
25500
+ };
25501
+ content: {
25502
+ "application/json": {
25503
+ /** Format: uuid */
25504
+ id?: string;
25505
+ /** Format: uuid */
25506
+ flowId?: string;
25507
+ /** Format: uuid */
25508
+ connectionId?: string;
25509
+ mappingKey?: string;
25510
+ title?: string | null;
25511
+ description?: string | null;
25512
+ left?: {
25513
+ value: string | number;
25514
+ text: string;
25515
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
25516
+ };
25517
+ right?: {
25518
+ value: string | number;
25519
+ text: string;
25520
+ type: "source" | ("listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date");
25521
+ };
25522
+ };
25523
+ };
25524
+ };
25525
+ /** @description Invalid input data */
25526
+ 400: {
25527
+ headers: {
25528
+ [name: string]: unknown;
25529
+ };
25530
+ content: {
25531
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
25532
+ };
25533
+ };
25534
+ /** @description Authorization not provided */
25535
+ 401: {
25536
+ headers: {
25537
+ [name: string]: unknown;
25538
+ };
25539
+ content: {
25540
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
25541
+ };
25542
+ };
25543
+ /** @description Insufficient access */
25544
+ 403: {
25545
+ headers: {
25546
+ [name: string]: unknown;
25547
+ };
25548
+ content: {
25549
+ "application/json": components["schemas"]["error.FORBIDDEN"];
25550
+ };
25551
+ };
25552
+ /** @description Internal server error */
25553
+ 500: {
25554
+ headers: {
25555
+ [name: string]: unknown;
25556
+ };
25557
+ content: {
25558
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
25559
+ };
25560
+ };
25561
+ };
25562
+ };
25563
+ getFlowMappingSources: {
24802
25564
  parameters: {
24803
25565
  query?: {
24804
25566
  search?: string;
@@ -24811,7 +25573,7 @@ export interface operations {
24811
25573
  path: {
24812
25574
  id: string;
24813
25575
  connectionId: string;
24814
- settingKey: string;
25576
+ mappingKey: string;
24815
25577
  };
24816
25578
  cookie?: never;
24817
25579
  };
@@ -24827,8 +25589,8 @@ export interface operations {
24827
25589
  data: {
24828
25590
  id: string;
24829
25591
  name: string;
24830
- description: string | null;
24831
- value?: unknown;
25592
+ /** @enum {string} */
25593
+ status: "mapped" | "unmapped";
24832
25594
  }[];
24833
25595
  pagination: {
24834
25596
  /** @default 100 */
@@ -24889,26 +25651,24 @@ export interface operations {
24889
25651
  };
24890
25652
  };
24891
25653
  };
24892
- setFlowSetting: {
25654
+ getFlowMappingDestinations: {
24893
25655
  parameters: {
24894
- query?: never;
25656
+ query?: {
25657
+ search?: string;
25658
+ limit?: number;
25659
+ page?: number;
25660
+ };
24895
25661
  header?: {
24896
25662
  "X-Team-Id"?: string;
24897
25663
  };
24898
25664
  path: {
24899
- id: string;
24900
- connectionId: string;
24901
- settingKey: string;
24902
- };
24903
- cookie?: never;
24904
- };
24905
- requestBody: {
24906
- content: {
24907
- "application/json": {
24908
- value?: unknown;
24909
- };
25665
+ id: string;
25666
+ connectionId: string;
25667
+ mappingKey: string;
24910
25668
  };
25669
+ cookie?: never;
24911
25670
  };
25671
+ requestBody?: never;
24912
25672
  responses: {
24913
25673
  /** @description Successful response */
24914
25674
  200: {
@@ -24917,15 +25677,19 @@ export interface operations {
24917
25677
  };
24918
25678
  content: {
24919
25679
  "application/json": {
24920
- /** Format: uuid */
24921
- id: string;
24922
- /** Format: uuid */
24923
- connectionId: string;
24924
- title: string;
24925
- description: string | null;
24926
- /** @enum {string} */
24927
- status: "active" | "inactive";
24928
- settings: components["schemas"]["FlowSettingItemsPost"];
25680
+ data: {
25681
+ id: string;
25682
+ name: string;
25683
+ }[];
25684
+ pagination: {
25685
+ /** @default 100 */
25686
+ limit: number;
25687
+ /** @default 1 */
25688
+ page: number;
25689
+ total: number;
25690
+ totalPage: number;
25691
+ nextPage?: number;
25692
+ };
24929
25693
  };
24930
25694
  };
24931
25695
  };
@@ -24956,6 +25720,15 @@ export interface operations {
24956
25720
  "application/json": components["schemas"]["error.FORBIDDEN"];
24957
25721
  };
24958
25722
  };
25723
+ /** @description Not found */
25724
+ 404: {
25725
+ headers: {
25726
+ [name: string]: unknown;
25727
+ };
25728
+ content: {
25729
+ "application/json": components["schemas"]["error.NOT_FOUND"];
25730
+ };
25731
+ };
24959
25732
  /** @description Internal server error */
24960
25733
  500: {
24961
25734
  headers: {
@@ -24967,21 +25740,17 @@ export interface operations {
24967
25740
  };
24968
25741
  };
24969
25742
  };
24970
- getFlowMapping: {
25743
+ getFlows: {
24971
25744
  parameters: {
24972
25745
  query?: {
24973
- sourceId?: string;
25746
+ appId?: string;
24974
25747
  limit?: number;
24975
25748
  page?: number;
24976
25749
  };
24977
25750
  header?: {
24978
25751
  "X-Team-Id"?: string;
24979
25752
  };
24980
- path: {
24981
- id: string;
24982
- connectionId: string;
24983
- mappingKey: string;
24984
- };
25753
+ path?: never;
24985
25754
  cookie?: never;
24986
25755
  };
24987
25756
  requestBody?: never;
@@ -24993,7 +25762,67 @@ export interface operations {
24993
25762
  };
24994
25763
  content: {
24995
25764
  "application/json": {
24996
- data: components["schemas"]["FlowMappingItemGet"][];
25765
+ data: {
25766
+ /** Format: uuid */
25767
+ id: string;
25768
+ title: string;
25769
+ appId: string;
25770
+ isPublic: boolean;
25771
+ /** @default false */
25772
+ useGlobalMapping: boolean;
25773
+ description?: string | null;
25774
+ /** @description Mapping schema configuration for this flow */
25775
+ mappingSchema: {
25776
+ [key: string]: {
25777
+ /** @description Title for UI/display */
25778
+ title: string;
25779
+ /** @description Description for UI/display */
25780
+ description: string;
25781
+ /** @description Internal system mapping configuration */
25782
+ internal: {
25783
+ /**
25784
+ * @description Internal semantic type
25785
+ * @enum {string}
25786
+ */
25787
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25788
+ /** @description Optional JSONB filter for internal data */
25789
+ filter?: string;
25790
+ };
25791
+ /** @description External system mapping configuration */
25792
+ external: {
25793
+ /** @description External type identifier (vendor/system specific) */
25794
+ type: string;
25795
+ /** @description Optional JSONB filter for external data */
25796
+ filter?: string;
25797
+ };
25798
+ };
25799
+ };
25800
+ /** @description Setting schema configuration for this flow */
25801
+ settingSchema: {
25802
+ [key: string]: {
25803
+ /** @description Title for UI/display */
25804
+ title: string;
25805
+ /** @description Description for UI/display */
25806
+ description: string;
25807
+ /**
25808
+ * @description Semantic type of the setting value
25809
+ * @enum {string}
25810
+ */
25811
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25812
+ /** @description Optional JSONB filter for available values */
25813
+ filter?: string;
25814
+ /** @description External type identifier (vendor/system specific) for options */
25815
+ external?: string;
25816
+ };
25817
+ };
25818
+ /** @description Run schema configuration for this flow */
25819
+ runSchema: {
25820
+ /** @description Human readable description for date selection when triggering a run */
25821
+ dateDescription?: string;
25822
+ };
25823
+ /** @enum {string} */
25824
+ type?: "push" | "pull";
25825
+ }[];
24997
25826
  pagination: {
24998
25827
  /** @default 100 */
24999
25828
  limit: number;
@@ -25053,7 +25882,7 @@ export interface operations {
25053
25882
  };
25054
25883
  };
25055
25884
  };
25056
- setFlowMapping: {
25885
+ getFlow: {
25057
25886
  parameters: {
25058
25887
  query?: never;
25059
25888
  header?: {
@@ -25061,24 +25890,10 @@ export interface operations {
25061
25890
  };
25062
25891
  path: {
25063
25892
  id: string;
25064
- connectionId: string;
25065
- mappingKey: string;
25066
25893
  };
25067
25894
  cookie?: never;
25068
25895
  };
25069
- requestBody: {
25070
- content: {
25071
- "application/json": {
25072
- /** Format: uuid */
25073
- sourceId: string;
25074
- value?: unknown;
25075
- /** @default 100 */
25076
- limit?: number;
25077
- /** @default 1 */
25078
- page?: number;
25079
- };
25080
- };
25081
- };
25896
+ requestBody?: never;
25082
25897
  responses: {
25083
25898
  /** @description Successful response */
25084
25899
  200: {
@@ -25087,16 +25902,65 @@ export interface operations {
25087
25902
  };
25088
25903
  content: {
25089
25904
  "application/json": {
25090
- data: components["schemas"]["FlowMappingItemPost"][];
25091
- pagination: {
25092
- /** @default 100 */
25093
- limit: number;
25094
- /** @default 1 */
25095
- page: number;
25096
- total: number;
25097
- totalPage: number;
25098
- nextPage?: number;
25905
+ /** Format: uuid */
25906
+ id: string;
25907
+ title: string;
25908
+ appId: string;
25909
+ isPublic: boolean;
25910
+ /** @default false */
25911
+ useGlobalMapping: boolean;
25912
+ description?: string | null;
25913
+ /** @description Mapping schema configuration for this flow */
25914
+ mappingSchema: {
25915
+ [key: string]: {
25916
+ /** @description Title for UI/display */
25917
+ title: string;
25918
+ /** @description Description for UI/display */
25919
+ description: string;
25920
+ /** @description Internal system mapping configuration */
25921
+ internal: {
25922
+ /**
25923
+ * @description Internal semantic type
25924
+ * @enum {string}
25925
+ */
25926
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25927
+ /** @description Optional JSONB filter for internal data */
25928
+ filter?: string;
25929
+ };
25930
+ /** @description External system mapping configuration */
25931
+ external: {
25932
+ /** @description External type identifier (vendor/system specific) */
25933
+ type: string;
25934
+ /** @description Optional JSONB filter for external data */
25935
+ filter?: string;
25936
+ };
25937
+ };
25938
+ };
25939
+ /** @description Setting schema configuration for this flow */
25940
+ settingSchema: {
25941
+ [key: string]: {
25942
+ /** @description Title for UI/display */
25943
+ title: string;
25944
+ /** @description Description for UI/display */
25945
+ description: string;
25946
+ /**
25947
+ * @description Semantic type of the setting value
25948
+ * @enum {string}
25949
+ */
25950
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25951
+ /** @description Optional JSONB filter for available values */
25952
+ filter?: string;
25953
+ /** @description External type identifier (vendor/system specific) for options */
25954
+ external?: string;
25955
+ };
25099
25956
  };
25957
+ /** @description Run schema configuration for this flow */
25958
+ runSchema: {
25959
+ /** @description Human readable description for date selection when triggering a run */
25960
+ dateDescription?: string;
25961
+ };
25962
+ /** @enum {string} */
25963
+ type?: "push" | "pull";
25100
25964
  };
25101
25965
  };
25102
25966
  };
@@ -25127,6 +25991,15 @@ export interface operations {
25127
25991
  "application/json": components["schemas"]["error.FORBIDDEN"];
25128
25992
  };
25129
25993
  };
25994
+ /** @description Not found */
25995
+ 404: {
25996
+ headers: {
25997
+ [name: string]: unknown;
25998
+ };
25999
+ content: {
26000
+ "application/json": components["schemas"]["error.NOT_FOUND"];
26001
+ };
26002
+ };
25130
26003
  /** @description Internal server error */
25131
26004
  500: {
25132
26005
  headers: {
@@ -25138,13 +26011,9 @@ export interface operations {
25138
26011
  };
25139
26012
  };
25140
26013
  };
25141
- getFlowMappings: {
26014
+ getFlowConnection: {
25142
26015
  parameters: {
25143
- query?: {
25144
- sourceId?: string;
25145
- limit?: number;
25146
- page?: number;
25147
- };
26016
+ query?: never;
25148
26017
  header?: {
25149
26018
  "X-Team-Id"?: string;
25150
26019
  };
@@ -25163,16 +26032,15 @@ export interface operations {
25163
26032
  };
25164
26033
  content: {
25165
26034
  "application/json": {
25166
- data: components["schemas"]["FlowMappingItemGet"][];
25167
- pagination: {
25168
- /** @default 100 */
25169
- limit: number;
25170
- /** @default 1 */
25171
- page: number;
25172
- total: number;
25173
- totalPage: number;
25174
- nextPage?: number;
25175
- };
26035
+ /** Format: uuid */
26036
+ id: string;
26037
+ /** Format: uuid */
26038
+ connectionId: string;
26039
+ title: string;
26040
+ description: string | null;
26041
+ /** @enum {string} */
26042
+ status: "active" | "inactive";
26043
+ settings: components["schemas"]["FlowSettingItemGet"][];
25176
26044
  };
25177
26045
  };
25178
26046
  };
@@ -25223,24 +26091,26 @@ export interface operations {
25223
26091
  };
25224
26092
  };
25225
26093
  };
25226
- listFlowMappingSources: {
26094
+ setFlowStatus: {
25227
26095
  parameters: {
25228
- query?: {
25229
- search?: string;
25230
- limit?: number;
25231
- page?: number;
25232
- };
26096
+ query?: never;
25233
26097
  header?: {
25234
26098
  "X-Team-Id"?: string;
25235
26099
  };
25236
26100
  path: {
25237
26101
  id: string;
25238
26102
  connectionId: string;
25239
- mappingKey: string;
25240
26103
  };
25241
26104
  cookie?: never;
25242
26105
  };
25243
- requestBody?: never;
26106
+ requestBody: {
26107
+ content: {
26108
+ "application/json": {
26109
+ /** @enum {string} */
26110
+ status: "active" | "inactive";
26111
+ };
26112
+ };
26113
+ };
25244
26114
  responses: {
25245
26115
  /** @description Successful response */
25246
26116
  200: {
@@ -25249,21 +26119,15 @@ export interface operations {
25249
26119
  };
25250
26120
  content: {
25251
26121
  "application/json": {
25252
- data: {
25253
- id: string;
25254
- name: string;
25255
- /** @enum {string} */
25256
- status: "mapped" | "unmapped";
25257
- }[];
25258
- pagination: {
25259
- /** @default 100 */
25260
- limit: number;
25261
- /** @default 1 */
25262
- page: number;
25263
- total: number;
25264
- totalPage: number;
25265
- nextPage?: number;
25266
- };
26122
+ /** Format: uuid */
26123
+ id: string;
26124
+ /** Format: uuid */
26125
+ connectionId: string;
26126
+ title: string;
26127
+ description: string | null;
26128
+ /** @enum {string} */
26129
+ status: "active" | "inactive";
26130
+ settings: components["schemas"]["FlowSettingItemGet"][];
25267
26131
  };
25268
26132
  };
25269
26133
  };
@@ -25314,12 +26178,11 @@ export interface operations {
25314
26178
  };
25315
26179
  };
25316
26180
  };
25317
- listFlowMappingDestinations: {
26181
+ runFlow: {
25318
26182
  parameters: {
25319
26183
  query?: {
25320
- search?: string;
25321
- limit?: number;
25322
- page?: number;
26184
+ dateRange?: string;
26185
+ isDateRangeEndInclusive?: boolean;
25323
26186
  };
25324
26187
  header?: {
25325
26188
  "X-Team-Id"?: string;
@@ -25327,7 +26190,6 @@ export interface operations {
25327
26190
  path: {
25328
26191
  id: string;
25329
26192
  connectionId: string;
25330
- mappingKey: string;
25331
26193
  };
25332
26194
  cookie?: never;
25333
26195
  };
@@ -25340,19 +26202,8 @@ export interface operations {
25340
26202
  };
25341
26203
  content: {
25342
26204
  "application/json": {
25343
- data: {
25344
- id: string;
25345
- name: string;
25346
- }[];
25347
- pagination: {
25348
- /** @default 100 */
25349
- limit: number;
25350
- /** @default 1 */
25351
- page: number;
25352
- total: number;
25353
- totalPage: number;
25354
- nextPage?: number;
25355
- };
26205
+ /** Format: uuid */
26206
+ syncId: string;
25356
26207
  };
25357
26208
  };
25358
26209
  };