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