@vrplatform/api 1.3.0-1137 → 1.3.0-1217

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1425,6 +1425,23 @@ export interface paths {
1425
1425
  patch?: never;
1426
1426
  trace?: never;
1427
1427
  };
1428
+ "/dispatch/effects": {
1429
+ parameters: {
1430
+ query?: never;
1431
+ header?: never;
1432
+ path?: never;
1433
+ cookie?: never;
1434
+ };
1435
+ /** @description List effects with optional filters by dispatch ID, entity ID, entity type, or status. */
1436
+ get: operations["listEffects"];
1437
+ put?: never;
1438
+ post?: never;
1439
+ delete?: never;
1440
+ options?: never;
1441
+ head?: never;
1442
+ patch?: never;
1443
+ trace?: never;
1444
+ };
1428
1445
  "/dispatch/{id}": {
1429
1446
  parameters: {
1430
1447
  query?: never;
@@ -1442,6 +1459,23 @@ export interface paths {
1442
1459
  patch?: never;
1443
1460
  trace?: never;
1444
1461
  };
1462
+ "/dispatch": {
1463
+ parameters: {
1464
+ query?: never;
1465
+ header?: never;
1466
+ path?: never;
1467
+ cookie?: never;
1468
+ };
1469
+ /** @description List dispatched actions with optional filters. Use entityId to find dispatches related to a specific entity. */
1470
+ get: operations["listDispatchActions"];
1471
+ put?: never;
1472
+ post?: never;
1473
+ delete?: never;
1474
+ options?: never;
1475
+ head?: never;
1476
+ patch?: never;
1477
+ trace?: never;
1478
+ };
1445
1479
  "/plaid/connect": {
1446
1480
  parameters: {
1447
1481
  query?: never;
@@ -1528,6 +1562,40 @@ export interface paths {
1528
1562
  patch?: never;
1529
1563
  trace?: never;
1530
1564
  };
1565
+ "/reports/trust-reconciliation/by-listing": {
1566
+ parameters: {
1567
+ query?: never;
1568
+ header?: never;
1569
+ path?: never;
1570
+ cookie?: never;
1571
+ };
1572
+ /** @description Trust reconciliation grouped by listing */
1573
+ get: operations["getTrustReconciliationReportByListing"];
1574
+ put?: never;
1575
+ post?: never;
1576
+ delete?: never;
1577
+ options?: never;
1578
+ head?: never;
1579
+ patch?: never;
1580
+ trace?: never;
1581
+ };
1582
+ "/reports/trust-reconciliation/by-listing/csv": {
1583
+ parameters: {
1584
+ query?: never;
1585
+ header?: never;
1586
+ path?: never;
1587
+ cookie?: never;
1588
+ };
1589
+ /** @description Trust reconciliation grouped by listing (CSV) */
1590
+ get: operations["getTrustReconciliationReportByListingCsv"];
1591
+ put?: never;
1592
+ post?: never;
1593
+ delete?: never;
1594
+ options?: never;
1595
+ head?: never;
1596
+ patch?: never;
1597
+ trace?: never;
1598
+ };
1531
1599
  "/reports/trust-reconciliation/csv": {
1532
1600
  parameters: {
1533
1601
  query?: never;
@@ -1834,6 +1902,74 @@ export interface paths {
1834
1902
  patch?: never;
1835
1903
  trace?: never;
1836
1904
  };
1905
+ "/reports/trial-balance": {
1906
+ parameters: {
1907
+ query?: never;
1908
+ header?: never;
1909
+ path?: never;
1910
+ cookie?: never;
1911
+ };
1912
+ /** @description Trial balance report */
1913
+ get: operations["getTrialBalanceReport"];
1914
+ put?: never;
1915
+ post?: never;
1916
+ delete?: never;
1917
+ options?: never;
1918
+ head?: never;
1919
+ patch?: never;
1920
+ trace?: never;
1921
+ };
1922
+ "/reports/trial-balance/csv": {
1923
+ parameters: {
1924
+ query?: never;
1925
+ header?: never;
1926
+ path?: never;
1927
+ cookie?: never;
1928
+ };
1929
+ /** @description Trial balance report (CSV) */
1930
+ get: operations["getTrialBalanceReportCsv"];
1931
+ put?: never;
1932
+ post?: never;
1933
+ delete?: never;
1934
+ options?: never;
1935
+ head?: never;
1936
+ patch?: never;
1937
+ trace?: never;
1938
+ };
1939
+ "/reports/balance-sheet": {
1940
+ parameters: {
1941
+ query?: never;
1942
+ header?: never;
1943
+ path?: never;
1944
+ cookie?: never;
1945
+ };
1946
+ /** @description Balance sheet report by month, quarter, or year (as-of view) */
1947
+ get: operations["getBalanceSheetReport"];
1948
+ put?: never;
1949
+ post?: never;
1950
+ delete?: never;
1951
+ options?: never;
1952
+ head?: never;
1953
+ patch?: never;
1954
+ trace?: never;
1955
+ };
1956
+ "/reports/balance-sheet/csv": {
1957
+ parameters: {
1958
+ query?: never;
1959
+ header?: never;
1960
+ path?: never;
1961
+ cookie?: never;
1962
+ };
1963
+ /** @description Balance sheet report (CSV) */
1964
+ get: operations["getBalanceSheetReportCsv"];
1965
+ put?: never;
1966
+ post?: never;
1967
+ delete?: never;
1968
+ options?: never;
1969
+ head?: never;
1970
+ patch?: never;
1971
+ trace?: never;
1972
+ };
1837
1973
  "/calendar-blocks": {
1838
1974
  parameters: {
1839
1975
  query?: never;
@@ -1961,7 +2097,7 @@ export interface paths {
1961
2097
  path?: never;
1962
2098
  cookie?: never;
1963
2099
  };
1964
- /** @description List flow mapping entry for a specific key */
2100
+ /** @description List flow mapping entry for a specific key or get a specific mapping entry by sourceId */
1965
2101
  get: operations["getFlowMapping"];
1966
2102
  put?: never;
1967
2103
  /** @description Create, update or delete a flow mapping entry */
@@ -2013,7 +2149,7 @@ export interface paths {
2013
2149
  path?: never;
2014
2150
  cookie?: never;
2015
2151
  };
2016
- /** @description List available values/options for a flow setting */
2152
+ /** @description Get a flow setting entry */
2017
2153
  get: operations["getFlowSetting"];
2018
2154
  put?: never;
2019
2155
  /** @description Create, update or delete a flow setting entry */
@@ -2024,6 +2160,23 @@ export interface paths {
2024
2160
  patch?: never;
2025
2161
  trace?: never;
2026
2162
  };
2163
+ "/flows/{id}/{connectionId}/settings/{settingKey}/options": {
2164
+ parameters: {
2165
+ query?: never;
2166
+ header?: never;
2167
+ path?: never;
2168
+ cookie?: never;
2169
+ };
2170
+ /** @description List available options for a flow setting */
2171
+ get: operations["getFlowSettingOptions"];
2172
+ put?: never;
2173
+ post?: never;
2174
+ delete?: never;
2175
+ options?: never;
2176
+ head?: never;
2177
+ patch?: never;
2178
+ trace?: never;
2179
+ };
2027
2180
  }
2028
2181
  export type webhooks = Record<string, never>;
2029
2182
  export interface components {
@@ -2314,8 +2467,39 @@ export interface components {
2314
2467
  total: number;
2315
2468
  values: components["schemas"]["ProfitAndLossValueCell"][];
2316
2469
  };
2317
- /** @description Collection of settings returned by GET routes with normalized { id, name, type } value payloads. */
2318
- FlowSettingItemsGet: components["schemas"]["FlowSettingItemGet"][];
2470
+ BalanceSheetGroup: {
2471
+ id: string;
2472
+ title: string;
2473
+ total: number;
2474
+ values: {
2475
+ id: string;
2476
+ title: string;
2477
+ total: number;
2478
+ }[];
2479
+ categories?: components["schemas"]["BalanceSheetCategory"][];
2480
+ groups?: components["schemas"]["BalanceSheetGroup"][];
2481
+ };
2482
+ BalanceSheetCategory: {
2483
+ id: string;
2484
+ title: string;
2485
+ total: number;
2486
+ values: {
2487
+ id: string;
2488
+ title: string;
2489
+ total: number;
2490
+ }[];
2491
+ accounts?: {
2492
+ id: string;
2493
+ title: string;
2494
+ categoryId: string;
2495
+ total: number;
2496
+ values: {
2497
+ id: string;
2498
+ title: string;
2499
+ total: number;
2500
+ }[];
2501
+ }[];
2502
+ };
2319
2503
  /** @description Setting representation returned from GET routes with normalized { id, name, type } value payload. */
2320
2504
  FlowSettingItemGet: {
2321
2505
  /** Format: uuid */
@@ -2331,7 +2515,7 @@ export interface components {
2331
2515
  * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2332
2516
  * @enum {string|null}
2333
2517
  */
2334
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2518
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2335
2519
  filter: string | null;
2336
2520
  value: components["schemas"]["FlowMappingResolvedEntityValue"];
2337
2521
  };
@@ -2343,7 +2527,7 @@ export interface components {
2343
2527
  * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2344
2528
  * @enum {string}
2345
2529
  */
2346
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2530
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2347
2531
  };
2348
2532
  /** @description Mapping entry returned from GET routes with normalized left/right payloads. */
2349
2533
  FlowMappingItemGet: {
@@ -2367,55 +2551,9 @@ export interface components {
2367
2551
  * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2368
2552
  * @enum {string}
2369
2553
  */
2370
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2371
- };
2372
- };
2373
- /** @description Mapping entry returned from mutation routes with normalized left/right payloads. */
2374
- FlowMappingItemPost: {
2375
- /** Format: uuid */
2376
- id: string;
2377
- /** Format: uuid */
2378
- flowId: string;
2379
- /** Format: uuid */
2380
- connectionId: string;
2381
- mappingKey: string;
2382
- title: string | null;
2383
- description: string | null;
2384
- left: {
2385
- /** Format: uuid */
2386
- sourceId: string;
2387
- };
2388
- right: {
2389
- value: string | number;
2390
- 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";
2554
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2396
2555
  };
2397
2556
  };
2398
- /** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
2399
- FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
2400
- /** @description Setting representation returned from mutation routes with normalized { id, name, type } value payload. */
2401
- FlowSettingItemPost: {
2402
- /** Format: uuid */
2403
- id: string;
2404
- /** Format: uuid */
2405
- flowId: string;
2406
- /** Format: uuid */
2407
- connectionId: string;
2408
- settingKey: string;
2409
- title: string | null;
2410
- description: string | null;
2411
- /**
2412
- * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2413
- * @enum {string|null}
2414
- */
2415
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2416
- filter: string | null;
2417
- value: components["schemas"]["FlowMappingResolvedEntityValue"];
2418
- };
2419
2557
  };
2420
2558
  responses: never;
2421
2559
  parameters: never;
@@ -5945,7 +6083,7 @@ export interface operations {
5945
6083
  data: {
5946
6084
  /** Format: uuid */
5947
6085
  listingId: string;
5948
- /** @default 2025-11-25 */
6086
+ /** @default 2025-12-05 */
5949
6087
  startAt: string;
5950
6088
  endAt?: string | null;
5951
6089
  setListingInactive?: boolean | null;
@@ -6027,7 +6165,7 @@ export interface operations {
6027
6165
  "application/json": {
6028
6166
  /** Format: uuid */
6029
6167
  listingId: string;
6030
- /** @default 2025-11-25 */
6168
+ /** @default 2025-12-05 */
6031
6169
  startAt?: string;
6032
6170
  endAt?: string | null;
6033
6171
  members: {
@@ -6061,7 +6199,7 @@ export interface operations {
6061
6199
  "application/json": {
6062
6200
  /** Format: uuid */
6063
6201
  listingId: string;
6064
- /** @default 2025-11-25 */
6202
+ /** @default 2025-12-05 */
6065
6203
  startAt: string;
6066
6204
  endAt?: string | null;
6067
6205
  setListingInactive?: boolean | null;
@@ -6141,7 +6279,7 @@ export interface operations {
6141
6279
  "application/json": {
6142
6280
  /** Format: uuid */
6143
6281
  listingId: string;
6144
- /** @default 2025-11-25 */
6282
+ /** @default 2025-12-05 */
6145
6283
  startAt: string;
6146
6284
  endAt?: string | null;
6147
6285
  setListingInactive?: boolean | null;
@@ -6224,7 +6362,7 @@ export interface operations {
6224
6362
  "application/json": {
6225
6363
  /** Format: uuid */
6226
6364
  listingId?: string;
6227
- /** @default 2025-11-25 */
6365
+ /** @default 2025-12-05 */
6228
6366
  startAt?: string;
6229
6367
  endAt?: string | null;
6230
6368
  members?: {
@@ -6258,7 +6396,7 @@ export interface operations {
6258
6396
  "application/json": {
6259
6397
  /** Format: uuid */
6260
6398
  listingId: string;
6261
- /** @default 2025-11-25 */
6399
+ /** @default 2025-12-05 */
6262
6400
  startAt: string;
6263
6401
  endAt?: string | null;
6264
6402
  setListingInactive?: boolean | null;
@@ -6432,19 +6570,24 @@ export interface operations {
6432
6570
  status?: "active" | "inactive";
6433
6571
  defaultCurrency?: string | null;
6434
6572
  activeRecurringFeePeriods?: {
6435
- listingId: string;
6436
6573
  startAt?: string | null;
6437
6574
  endAt?: string | null;
6438
6575
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
6439
6576
  rate?: number | null;
6440
- recurringFeeId: string;
6441
6577
  /** Format: uuid */
6442
6578
  id: string;
6579
+ recurringFee: {
6580
+ /** Format: uuid */
6581
+ id: string;
6582
+ title: string;
6583
+ /** @enum {string} */
6584
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
6585
+ };
6443
6586
  }[] | null;
6444
6587
  /** Format: uuid */
6445
6588
  sourceId?: string | null;
6446
6589
  initialOwnership?: {
6447
- /** @default 2025-11-25 */
6590
+ /** @default 2025-12-05 */
6448
6591
  startAt?: string;
6449
6592
  endAt?: string | null;
6450
6593
  members: {
@@ -6502,7 +6645,7 @@ export interface operations {
6502
6645
  status: "active" | "inactive";
6503
6646
  defaultCurrency?: string | null;
6504
6647
  activeOwnership?: {
6505
- /** @default 2025-11-25 */
6648
+ /** @default 2025-12-05 */
6506
6649
  startAt: string;
6507
6650
  endAt?: string | null;
6508
6651
  setListingInactive?: boolean | null;
@@ -6521,14 +6664,19 @@ export interface operations {
6521
6664
  id: string;
6522
6665
  } | null;
6523
6666
  activeRecurringFeePeriods?: {
6524
- listingId: string;
6525
6667
  startAt?: string | null;
6526
6668
  endAt?: string | null;
6527
6669
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
6528
6670
  rate?: number | null;
6529
- recurringFeeId: string;
6530
6671
  /** Format: uuid */
6531
6672
  id: string;
6673
+ recurringFee: {
6674
+ /** Format: uuid */
6675
+ id: string;
6676
+ title: string;
6677
+ /** @enum {string} */
6678
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
6679
+ };
6532
6680
  }[] | null;
6533
6681
  source?: {
6534
6682
  /** Format: uuid */
@@ -6743,7 +6891,7 @@ export interface operations {
6743
6891
  status: "active" | "inactive";
6744
6892
  defaultCurrency?: string | null;
6745
6893
  activeOwnership?: {
6746
- /** @default 2025-11-25 */
6894
+ /** @default 2025-12-05 */
6747
6895
  startAt: string;
6748
6896
  endAt?: string | null;
6749
6897
  setListingInactive?: boolean | null;
@@ -6762,14 +6910,19 @@ export interface operations {
6762
6910
  id: string;
6763
6911
  } | null;
6764
6912
  activeRecurringFeePeriods?: {
6765
- listingId: string;
6766
6913
  startAt?: string | null;
6767
6914
  endAt?: string | null;
6768
6915
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
6769
6916
  rate?: number | null;
6770
- recurringFeeId: string;
6771
6917
  /** Format: uuid */
6772
6918
  id: string;
6919
+ recurringFee: {
6920
+ /** Format: uuid */
6921
+ id: string;
6922
+ title: string;
6923
+ /** @enum {string} */
6924
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
6925
+ };
6773
6926
  }[] | null;
6774
6927
  source?: {
6775
6928
  /** Format: uuid */
@@ -6870,19 +7023,24 @@ export interface operations {
6870
7023
  status?: "active" | "inactive";
6871
7024
  defaultCurrency?: string | null;
6872
7025
  activeRecurringFeePeriods?: {
6873
- listingId: string;
6874
7026
  startAt?: string | null;
6875
7027
  endAt?: string | null;
6876
7028
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
6877
7029
  rate?: number | null;
6878
- recurringFeeId: string;
6879
7030
  /** Format: uuid */
6880
7031
  id: string;
7032
+ recurringFee: {
7033
+ /** Format: uuid */
7034
+ id: string;
7035
+ title: string;
7036
+ /** @enum {string} */
7037
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7038
+ };
6881
7039
  }[] | null;
6882
7040
  /** Format: uuid */
6883
7041
  sourceId?: string | null;
6884
7042
  initialOwnership?: {
6885
- /** @default 2025-11-25 */
7043
+ /** @default 2025-12-05 */
6886
7044
  startAt?: string;
6887
7045
  endAt?: string | null;
6888
7046
  members: {
@@ -6936,7 +7094,7 @@ export interface operations {
6936
7094
  status: "active" | "inactive";
6937
7095
  defaultCurrency?: string | null;
6938
7096
  activeOwnership?: {
6939
- /** @default 2025-11-25 */
7097
+ /** @default 2025-12-05 */
6940
7098
  startAt: string;
6941
7099
  endAt?: string | null;
6942
7100
  setListingInactive?: boolean | null;
@@ -6955,14 +7113,19 @@ export interface operations {
6955
7113
  id: string;
6956
7114
  } | null;
6957
7115
  activeRecurringFeePeriods?: {
6958
- listingId: string;
6959
7116
  startAt?: string | null;
6960
7117
  endAt?: string | null;
6961
7118
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
6962
7119
  rate?: number | null;
6963
- recurringFeeId: string;
6964
7120
  /** Format: uuid */
6965
7121
  id: string;
7122
+ recurringFee: {
7123
+ /** Format: uuid */
7124
+ id: string;
7125
+ title: string;
7126
+ /** @enum {string} */
7127
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7128
+ };
6966
7129
  }[] | null;
6967
7130
  source?: {
6968
7131
  /** Format: uuid */
@@ -7153,7 +7316,7 @@ export interface operations {
7153
7316
  status: "active" | "inactive";
7154
7317
  defaultCurrency?: string | null;
7155
7318
  activeOwnership?: {
7156
- /** @default 2025-11-25 */
7319
+ /** @default 2025-12-05 */
7157
7320
  startAt: string;
7158
7321
  endAt?: string | null;
7159
7322
  setListingInactive?: boolean | null;
@@ -7172,14 +7335,19 @@ export interface operations {
7172
7335
  id: string;
7173
7336
  } | null;
7174
7337
  activeRecurringFeePeriods?: {
7175
- listingId: string;
7176
7338
  startAt?: string | null;
7177
7339
  endAt?: string | null;
7178
7340
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
7179
7341
  rate?: number | null;
7180
- recurringFeeId: string;
7181
7342
  /** Format: uuid */
7182
7343
  id: string;
7344
+ recurringFee: {
7345
+ /** Format: uuid */
7346
+ id: string;
7347
+ title: string;
7348
+ /** @enum {string} */
7349
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7350
+ };
7183
7351
  }[] | null;
7184
7352
  source?: {
7185
7353
  /** Format: uuid */
@@ -7288,19 +7456,24 @@ export interface operations {
7288
7456
  status?: "active" | "inactive";
7289
7457
  defaultCurrency?: string | null;
7290
7458
  activeRecurringFeePeriods?: {
7291
- listingId: string;
7292
7459
  startAt?: string | null;
7293
7460
  endAt?: string | null;
7294
7461
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
7295
7462
  rate?: number | null;
7296
- recurringFeeId: string;
7297
7463
  /** Format: uuid */
7298
7464
  id: string;
7465
+ recurringFee: {
7466
+ /** Format: uuid */
7467
+ id: string;
7468
+ title: string;
7469
+ /** @enum {string} */
7470
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7471
+ };
7299
7472
  }[] | null;
7300
7473
  /** Format: uuid */
7301
7474
  sourceId?: string | null;
7302
7475
  initialOwnership?: {
7303
- /** @default 2025-11-25 */
7476
+ /** @default 2025-12-05 */
7304
7477
  startAt?: string;
7305
7478
  endAt?: string | null;
7306
7479
  members: {
@@ -7354,7 +7527,7 @@ export interface operations {
7354
7527
  status: "active" | "inactive";
7355
7528
  defaultCurrency?: string | null;
7356
7529
  activeOwnership?: {
7357
- /** @default 2025-11-25 */
7530
+ /** @default 2025-12-05 */
7358
7531
  startAt: string;
7359
7532
  endAt?: string | null;
7360
7533
  setListingInactive?: boolean | null;
@@ -7373,14 +7546,19 @@ export interface operations {
7373
7546
  id: string;
7374
7547
  } | null;
7375
7548
  activeRecurringFeePeriods?: {
7376
- listingId: string;
7377
7549
  startAt?: string | null;
7378
7550
  endAt?: string | null;
7379
7551
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
7380
7552
  rate?: number | null;
7381
- recurringFeeId: string;
7382
7553
  /** Format: uuid */
7383
7554
  id: string;
7555
+ recurringFee: {
7556
+ /** Format: uuid */
7557
+ id: string;
7558
+ title: string;
7559
+ /** @enum {string} */
7560
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
7561
+ };
7384
7562
  }[] | null;
7385
7563
  source?: {
7386
7564
  /** Format: uuid */
@@ -9236,9 +9414,15 @@ export interface operations {
9236
9414
  endAt?: string | null;
9237
9415
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9238
9416
  rate?: number | null;
9239
- recurringFeeId: string;
9240
9417
  /** Format: uuid */
9241
9418
  id: string;
9419
+ recurringFee: {
9420
+ /** Format: uuid */
9421
+ id: string;
9422
+ title: string;
9423
+ /** @enum {string} */
9424
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
9425
+ };
9242
9426
  }[];
9243
9427
  pagination: {
9244
9428
  /** @default 100 */
@@ -9342,9 +9526,15 @@ export interface operations {
9342
9526
  endAt?: string | null;
9343
9527
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9344
9528
  rate?: number | null;
9345
- recurringFeeId: string;
9346
9529
  /** Format: uuid */
9347
9530
  id: string;
9531
+ recurringFee: {
9532
+ /** Format: uuid */
9533
+ id: string;
9534
+ title: string;
9535
+ /** @enum {string} */
9536
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
9537
+ };
9348
9538
  }[];
9349
9539
  };
9350
9540
  };
@@ -9436,9 +9626,15 @@ export interface operations {
9436
9626
  endAt?: string | null;
9437
9627
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9438
9628
  rate?: number | null;
9439
- recurringFeeId: string;
9440
9629
  /** Format: uuid */
9441
9630
  id: string;
9631
+ recurringFee: {
9632
+ /** Format: uuid */
9633
+ id: string;
9634
+ title: string;
9635
+ /** @enum {string} */
9636
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
9637
+ };
9442
9638
  };
9443
9639
  };
9444
9640
  };
@@ -9520,10 +9716,16 @@ export interface operations {
9520
9716
  endAt?: string | null;
9521
9717
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9522
9718
  rate?: number | null;
9523
- recurringFeeId: string;
9524
9719
  /** Format: uuid */
9525
9720
  id: string;
9526
- };
9721
+ recurringFee: {
9722
+ /** Format: uuid */
9723
+ id: string;
9724
+ title: string;
9725
+ /** @enum {string} */
9726
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
9727
+ };
9728
+ };
9527
9729
  };
9528
9730
  };
9529
9731
  /** @description Invalid input data */
@@ -16906,6 +17108,8 @@ export interface operations {
16906
17108
  uniqueRef?: string | null;
16907
17109
  app: {
16908
17110
  id: string;
17111
+ /** @enum {string} */
17112
+ type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
16909
17113
  name: string;
16910
17114
  icon?: string | null;
16911
17115
  importers?: string[] | null;
@@ -17081,6 +17285,8 @@ export interface operations {
17081
17285
  uniqueRef?: string | null;
17082
17286
  app: {
17083
17287
  id: string;
17288
+ /** @enum {string} */
17289
+ type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
17084
17290
  name: string;
17085
17291
  icon?: string | null;
17086
17292
  importers?: string[] | null;
@@ -17184,7 +17390,31 @@ export interface operations {
17184
17390
  };
17185
17391
  content: {
17186
17392
  "application/json": {
17393
+ /** Format: uuid */
17187
17394
  id: string;
17395
+ name: string;
17396
+ /** @enum {string} */
17397
+ status: "active" | "inactive";
17398
+ uniqueRef?: string | null;
17399
+ app: {
17400
+ id: string;
17401
+ /** @enum {string} */
17402
+ type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
17403
+ name: string;
17404
+ icon?: string | null;
17405
+ importers?: string[] | null;
17406
+ extractors?: string[] | null;
17407
+ };
17408
+ createdAt: string;
17409
+ updatedAt: string;
17410
+ isErrorState: boolean;
17411
+ currentSync?: {
17412
+ /** @enum {string} */
17413
+ status: "queued" | "started" | "completed" | "failed" | "canceled";
17414
+ createdAt: string;
17415
+ updatedAt: string;
17416
+ message?: string | null;
17417
+ } | null;
17188
17418
  };
17189
17419
  };
17190
17420
  };
@@ -21366,15 +21596,22 @@ export interface operations {
21366
21596
  };
21367
21597
  };
21368
21598
  };
21369
- getDispatchAction: {
21599
+ listEffects: {
21370
21600
  parameters: {
21371
- query?: never;
21601
+ query?: {
21602
+ limit?: number;
21603
+ offset?: number;
21604
+ dispatchId?: string;
21605
+ entityId?: string;
21606
+ entityType?: "reservation" | "recurringTransactionTemplate" | "tenant" | "transaction";
21607
+ status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
21608
+ 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";
21609
+ page?: number;
21610
+ };
21372
21611
  header?: {
21373
21612
  "X-Team-Id"?: string;
21374
21613
  };
21375
- path: {
21376
- id: string;
21377
- };
21614
+ path?: never;
21378
21615
  cookie?: never;
21379
21616
  };
21380
21617
  requestBody?: never;
@@ -21386,22 +21623,122 @@ export interface operations {
21386
21623
  };
21387
21624
  content: {
21388
21625
  "application/json": {
21389
- /** Format: uuid */
21390
- id: string;
21391
- /** Format: uuid */
21392
- tenantId: string;
21393
- actionType: string;
21394
- message: string | null;
21395
- payload?: unknown;
21396
- userId: string | null;
21397
- createdAt: string;
21398
- effects: {
21626
+ data: {
21399
21627
  /** Format: uuid */
21400
21628
  id: string;
21401
- effectType: string;
21629
+ dispatchedAction: {
21630
+ /** Format: uuid */
21631
+ id: string;
21632
+ actionType: string;
21633
+ apiEndpoint: string | null;
21634
+ };
21635
+ /** @enum {string} */
21636
+ 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";
21402
21637
  payload?: unknown;
21403
- entityType: string | null;
21404
- entityId: string | null;
21638
+ entity: ({
21639
+ /** @enum {string} */
21640
+ type: "reservation";
21641
+ data: {
21642
+ id: string;
21643
+ confirmationCode?: string | null;
21644
+ uniqueRef: string;
21645
+ /** @enum {string} */
21646
+ status: "booked" | "canceled" | "inactive";
21647
+ checkIn?: string | null;
21648
+ checkOut?: string | null;
21649
+ };
21650
+ } | {
21651
+ /** @enum {string} */
21652
+ type: "transaction";
21653
+ data: {
21654
+ id: string;
21655
+ /** @enum {string} */
21656
+ status: "active" | "inactive";
21657
+ /** @description Value in cents (100 = 1€) */
21658
+ amount: number;
21659
+ account?: {
21660
+ id: string;
21661
+ name: string;
21662
+ uniqueRef?: string | null;
21663
+ /** @enum {string} */
21664
+ status: "active" | "inactive";
21665
+ } | null;
21666
+ date: string;
21667
+ description: string;
21668
+ currency: string;
21669
+ /** @enum {string} */
21670
+ type: "deposit" | "expense" | "transfer";
21671
+ contact?: {
21672
+ /** Format: uuid */
21673
+ id: string;
21674
+ name?: string | null;
21675
+ uniqueRef?: string | null;
21676
+ } | null;
21677
+ connection?: {
21678
+ /** Format: uuid */
21679
+ id: string;
21680
+ name: string;
21681
+ /** @enum {string} */
21682
+ status: "active" | "inactive";
21683
+ uniqueRef?: string | null;
21684
+ appId: string;
21685
+ } | null;
21686
+ uniqueRef?: string | null;
21687
+ recurringTemplate?: {
21688
+ id: string;
21689
+ } | null;
21690
+ };
21691
+ } | {
21692
+ /** @enum {string} */
21693
+ type: "recurringTransactionTemplate";
21694
+ data: {
21695
+ id: string;
21696
+ /** @enum {string} */
21697
+ status: "active" | "inactive";
21698
+ /** @description Value in cents (100 = 1€) */
21699
+ amount: number;
21700
+ account?: {
21701
+ id: string;
21702
+ name: string;
21703
+ uniqueRef?: string | null;
21704
+ /** @enum {string} */
21705
+ status: "active" | "inactive";
21706
+ } | null;
21707
+ date: string;
21708
+ description: string;
21709
+ currency: string;
21710
+ /** @enum {string} */
21711
+ type: "deposit" | "expense" | "transfer";
21712
+ contact?: {
21713
+ /** Format: uuid */
21714
+ id: string;
21715
+ name?: string | null;
21716
+ uniqueRef?: string | null;
21717
+ } | null;
21718
+ connection?: {
21719
+ /** Format: uuid */
21720
+ id: string;
21721
+ name: string;
21722
+ /** @enum {string} */
21723
+ status: "active" | "inactive";
21724
+ uniqueRef?: string | null;
21725
+ appId: string;
21726
+ } | null;
21727
+ uniqueRef?: string | null;
21728
+ recurringTemplate?: {
21729
+ id: string;
21730
+ } | null;
21731
+ };
21732
+ } | {
21733
+ /** @enum {string} */
21734
+ type: "other";
21735
+ data: {
21736
+ /** Format: uuid */
21737
+ id: string;
21738
+ type: string;
21739
+ name: string | null;
21740
+ };
21741
+ }) | null;
21405
21742
  /** @enum {string} */
21406
21743
  status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
21407
21744
  priority: number;
@@ -21415,14 +21752,14 @@ export interface operations {
21415
21752
  lastError: string | null;
21416
21753
  createdAt: string;
21417
21754
  }[];
21418
- effectCounts: {
21755
+ pagination: {
21756
+ /** @default 100 */
21757
+ limit: number;
21758
+ /** @default 1 */
21759
+ page: number;
21419
21760
  total: number;
21420
- pending: number;
21421
- claimed: number;
21422
- running: number;
21423
- completed: number;
21424
- failed: number;
21425
- deadLetter: number;
21761
+ totalPage: number;
21762
+ nextPage?: number;
21426
21763
  };
21427
21764
  };
21428
21765
  };
@@ -21474,26 +21811,18 @@ export interface operations {
21474
21811
  };
21475
21812
  };
21476
21813
  };
21477
- plaidConnectComplete: {
21814
+ getDispatchAction: {
21478
21815
  parameters: {
21479
21816
  query?: never;
21480
21817
  header?: {
21481
21818
  "X-Team-Id"?: string;
21482
21819
  };
21483
- path?: never;
21484
- cookie?: never;
21485
- };
21486
- requestBody: {
21487
- content: {
21488
- "application/json": {
21489
- connectionId?: string | null;
21490
- /** @enum {string|null} */
21491
- environment?: "sandbox" | "production" | null;
21492
- code?: string | null;
21493
- token?: string | null;
21494
- };
21820
+ path: {
21821
+ id: string;
21495
21822
  };
21823
+ cookie?: never;
21496
21824
  };
21825
+ requestBody?: never;
21497
21826
  responses: {
21498
21827
  /** @description Successful response */
21499
21828
  200: {
@@ -21502,8 +21831,25 @@ export interface operations {
21502
21831
  };
21503
21832
  content: {
21504
21833
  "application/json": {
21505
- connectionId: string;
21506
- syncId?: string;
21834
+ /** Format: uuid */
21835
+ id: string;
21836
+ /** Format: uuid */
21837
+ tenantId: string;
21838
+ actionType: string;
21839
+ message: string | null;
21840
+ payload?: unknown;
21841
+ userId: string | null;
21842
+ createdAt: string;
21843
+ effectCounts: {
21844
+ total: number;
21845
+ pending: number;
21846
+ claimed: number;
21847
+ running: number;
21848
+ completed: number;
21849
+ failed: number;
21850
+ deadLetter: number;
21851
+ };
21852
+ apiEndpoint: string | null;
21507
21853
  };
21508
21854
  };
21509
21855
  };
@@ -21554,24 +21900,26 @@ export interface operations {
21554
21900
  };
21555
21901
  };
21556
21902
  };
21557
- plaidConnectInit: {
21903
+ listDispatchActions: {
21558
21904
  parameters: {
21559
- query?: never;
21905
+ query?: {
21906
+ limit?: number;
21907
+ offset?: number;
21908
+ startDate?: string;
21909
+ endDate?: string;
21910
+ actionType?: string;
21911
+ entityId?: string;
21912
+ entityType?: "reservation" | "recurringTransactionTemplate" | "tenant" | "transaction";
21913
+ includeIfNoEffects?: boolean;
21914
+ page?: number;
21915
+ };
21560
21916
  header?: {
21561
21917
  "X-Team-Id"?: string;
21562
21918
  };
21563
21919
  path?: never;
21564
21920
  cookie?: never;
21565
21921
  };
21566
- requestBody: {
21567
- content: {
21568
- "application/json": {
21569
- /** @enum {string|null} */
21570
- environment?: "sandbox" | "production" | null;
21571
- connectionId?: string | null;
21572
- };
21573
- };
21574
- };
21922
+ requestBody?: never;
21575
21923
  responses: {
21576
21924
  /** @description Successful response */
21577
21925
  200: {
@@ -21580,7 +21928,36 @@ export interface operations {
21580
21928
  };
21581
21929
  content: {
21582
21930
  "application/json": {
21583
- token: string;
21931
+ data: {
21932
+ /** Format: uuid */
21933
+ id: string;
21934
+ /** Format: uuid */
21935
+ tenantId: string;
21936
+ actionType: string;
21937
+ message: string | null;
21938
+ payload?: unknown;
21939
+ userId: string | null;
21940
+ createdAt: string;
21941
+ effectCounts: {
21942
+ total: number;
21943
+ pending: number;
21944
+ claimed: number;
21945
+ running: number;
21946
+ completed: number;
21947
+ failed: number;
21948
+ deadLetter: number;
21949
+ };
21950
+ apiEndpoint: string | null;
21951
+ }[];
21952
+ pagination: {
21953
+ /** @default 100 */
21954
+ limit: number;
21955
+ /** @default 1 */
21956
+ page: number;
21957
+ total: number;
21958
+ totalPage: number;
21959
+ nextPage?: number;
21960
+ };
21584
21961
  };
21585
21962
  };
21586
21963
  };
@@ -21611,6 +21988,15 @@ export interface operations {
21611
21988
  "application/json": components["schemas"]["error.FORBIDDEN"];
21612
21989
  };
21613
21990
  };
21991
+ /** @description Not found */
21992
+ 404: {
21993
+ headers: {
21994
+ [name: string]: unknown;
21995
+ };
21996
+ content: {
21997
+ "application/json": components["schemas"]["error.NOT_FOUND"];
21998
+ };
21999
+ };
21614
22000
  /** @description Internal server error */
21615
22001
  500: {
21616
22002
  headers: {
@@ -21622,18 +22008,166 @@ export interface operations {
21622
22008
  };
21623
22009
  };
21624
22010
  };
21625
- plaidHealth: {
22011
+ plaidConnectComplete: {
21626
22012
  parameters: {
21627
- query: {
21628
- connectionId: string;
21629
- };
22013
+ query?: never;
21630
22014
  header?: {
21631
22015
  "X-Team-Id"?: string;
21632
22016
  };
21633
22017
  path?: never;
21634
22018
  cookie?: never;
21635
22019
  };
21636
- requestBody?: never;
22020
+ requestBody: {
22021
+ content: {
22022
+ "application/json": {
22023
+ connectionId?: string | null;
22024
+ /** @enum {string|null} */
22025
+ environment?: "sandbox" | "production" | null;
22026
+ code?: string | null;
22027
+ token?: string | null;
22028
+ };
22029
+ };
22030
+ };
22031
+ responses: {
22032
+ /** @description Successful response */
22033
+ 200: {
22034
+ headers: {
22035
+ [name: string]: unknown;
22036
+ };
22037
+ content: {
22038
+ "application/json": {
22039
+ connectionId: string;
22040
+ syncId?: string;
22041
+ };
22042
+ };
22043
+ };
22044
+ /** @description Invalid input data */
22045
+ 400: {
22046
+ headers: {
22047
+ [name: string]: unknown;
22048
+ };
22049
+ content: {
22050
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
22051
+ };
22052
+ };
22053
+ /** @description Authorization not provided */
22054
+ 401: {
22055
+ headers: {
22056
+ [name: string]: unknown;
22057
+ };
22058
+ content: {
22059
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
22060
+ };
22061
+ };
22062
+ /** @description Insufficient access */
22063
+ 403: {
22064
+ headers: {
22065
+ [name: string]: unknown;
22066
+ };
22067
+ content: {
22068
+ "application/json": components["schemas"]["error.FORBIDDEN"];
22069
+ };
22070
+ };
22071
+ /** @description Not found */
22072
+ 404: {
22073
+ headers: {
22074
+ [name: string]: unknown;
22075
+ };
22076
+ content: {
22077
+ "application/json": components["schemas"]["error.NOT_FOUND"];
22078
+ };
22079
+ };
22080
+ /** @description Internal server error */
22081
+ 500: {
22082
+ headers: {
22083
+ [name: string]: unknown;
22084
+ };
22085
+ content: {
22086
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
22087
+ };
22088
+ };
22089
+ };
22090
+ };
22091
+ plaidConnectInit: {
22092
+ parameters: {
22093
+ query?: never;
22094
+ header?: {
22095
+ "X-Team-Id"?: string;
22096
+ };
22097
+ path?: never;
22098
+ cookie?: never;
22099
+ };
22100
+ requestBody: {
22101
+ content: {
22102
+ "application/json": {
22103
+ /** @enum {string|null} */
22104
+ environment?: "sandbox" | "production" | null;
22105
+ connectionId?: string | null;
22106
+ };
22107
+ };
22108
+ };
22109
+ responses: {
22110
+ /** @description Successful response */
22111
+ 200: {
22112
+ headers: {
22113
+ [name: string]: unknown;
22114
+ };
22115
+ content: {
22116
+ "application/json": {
22117
+ token: string;
22118
+ };
22119
+ };
22120
+ };
22121
+ /** @description Invalid input data */
22122
+ 400: {
22123
+ headers: {
22124
+ [name: string]: unknown;
22125
+ };
22126
+ content: {
22127
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
22128
+ };
22129
+ };
22130
+ /** @description Authorization not provided */
22131
+ 401: {
22132
+ headers: {
22133
+ [name: string]: unknown;
22134
+ };
22135
+ content: {
22136
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
22137
+ };
22138
+ };
22139
+ /** @description Insufficient access */
22140
+ 403: {
22141
+ headers: {
22142
+ [name: string]: unknown;
22143
+ };
22144
+ content: {
22145
+ "application/json": components["schemas"]["error.FORBIDDEN"];
22146
+ };
22147
+ };
22148
+ /** @description Internal server error */
22149
+ 500: {
22150
+ headers: {
22151
+ [name: string]: unknown;
22152
+ };
22153
+ content: {
22154
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
22155
+ };
22156
+ };
22157
+ };
22158
+ };
22159
+ plaidHealth: {
22160
+ parameters: {
22161
+ query: {
22162
+ connectionId: string;
22163
+ };
22164
+ header?: {
22165
+ "X-Team-Id"?: string;
22166
+ };
22167
+ path?: never;
22168
+ cookie?: never;
22169
+ };
22170
+ requestBody?: never;
21637
22171
  responses: {
21638
22172
  /** @description Successful response */
21639
22173
  200: {
@@ -22057,7 +22591,7 @@ export interface operations {
22057
22591
  };
22058
22592
  };
22059
22593
  };
22060
- getTrustReconciliationReportCsv: {
22594
+ getTrustReconciliationReportByListing: {
22061
22595
  parameters: {
22062
22596
  query: {
22063
22597
  endDate: string;
@@ -22078,7 +22612,25 @@ export interface operations {
22078
22612
  };
22079
22613
  content: {
22080
22614
  "application/json": {
22081
- url: string;
22615
+ data: {
22616
+ id: string;
22617
+ name: string;
22618
+ total: number;
22619
+ sections: {
22620
+ /** @enum {string} */
22621
+ name: "Owner Balance" | "Other Net Liabilities";
22622
+ total: number;
22623
+ /** @enum {string} */
22624
+ type: "accounts";
22625
+ accounts: {
22626
+ id: string;
22627
+ name: string;
22628
+ categoryId: string;
22629
+ total: number;
22630
+ }[];
22631
+ }[];
22632
+ }[];
22633
+ total: number;
22082
22634
  };
22083
22635
  };
22084
22636
  };
@@ -22129,13 +22681,11 @@ export interface operations {
22129
22681
  };
22130
22682
  };
22131
22683
  };
22132
- getSalesTaxLiabilityReport: {
22684
+ getTrustReconciliationReportByListingCsv: {
22133
22685
  parameters: {
22134
22686
  query: {
22135
- startDate: string;
22136
22687
  endDate: string;
22137
- taxableLineIds: string;
22138
- channels?: string;
22688
+ listingId?: string;
22139
22689
  };
22140
22690
  header?: {
22141
22691
  "X-Team-Id"?: string;
@@ -22152,32 +22702,7 @@ export interface operations {
22152
22702
  };
22153
22703
  content: {
22154
22704
  "application/json": {
22155
- data: {
22156
- /** Format: uuid */
22157
- id: string;
22158
- name: string;
22159
- taxableIncomeTotal: number;
22160
- collectableTaxesTotal: number;
22161
- channels: {
22162
- name: string;
22163
- taxableIncomeTotal: number;
22164
- collectableTaxesTotal: number;
22165
- reservations: {
22166
- /** Format: uuid */
22167
- id: string;
22168
- taxableIncome: number;
22169
- collectableTaxes: number;
22170
- checkIn: string;
22171
- checkOut: string;
22172
- bookedAt: string | null;
22173
- guestName: string;
22174
- confirmationCode: string;
22175
- nights: number;
22176
- }[];
22177
- }[];
22178
- }[];
22179
- taxesIncomeTotal: number;
22180
- collectableTaxesTotal: number;
22705
+ url: string;
22181
22706
  };
22182
22707
  };
22183
22708
  };
@@ -22228,13 +22753,11 @@ export interface operations {
22228
22753
  };
22229
22754
  };
22230
22755
  };
22231
- getSalesTaxLiabilityReportCsv: {
22756
+ getTrustReconciliationReportCsv: {
22232
22757
  parameters: {
22233
22758
  query: {
22234
- startDate: string;
22235
22759
  endDate: string;
22236
- taxableLineIds: string;
22237
- channels?: string;
22760
+ listingId?: string;
22238
22761
  };
22239
22762
  header?: {
22240
22763
  "X-Team-Id"?: string;
@@ -22302,11 +22825,12 @@ export interface operations {
22302
22825
  };
22303
22826
  };
22304
22827
  };
22305
- getGuestBalancesReport: {
22828
+ getSalesTaxLiabilityReport: {
22306
22829
  parameters: {
22307
22830
  query: {
22308
- date: string;
22309
- occupancyStatus: "departed" | "inHouse" | "upcoming";
22831
+ startDate: string;
22832
+ endDate: string;
22833
+ taxableLineIds: string;
22310
22834
  channels?: string;
22311
22835
  };
22312
22836
  header?: {
@@ -22325,29 +22849,31 @@ export interface operations {
22325
22849
  content: {
22326
22850
  "application/json": {
22327
22851
  data: {
22328
- /** @enum {string} */
22329
- status: "booked" | "cancelled";
22330
- total: number;
22331
- listings: {
22332
- /** Format: uuid */
22333
- id: string;
22852
+ /** Format: uuid */
22853
+ id: string;
22854
+ name: string;
22855
+ taxableIncomeTotal: number;
22856
+ collectableTaxesTotal: number;
22857
+ channels: {
22334
22858
  name: string;
22335
- total: number;
22859
+ taxableIncomeTotal: number;
22860
+ collectableTaxesTotal: number;
22336
22861
  reservations: {
22337
22862
  /** Format: uuid */
22338
22863
  id: string;
22864
+ taxableIncome: number;
22865
+ collectableTaxes: number;
22339
22866
  checkIn: string;
22340
22867
  checkOut: string;
22341
22868
  bookedAt: string | null;
22342
- cancelledAt: string | null;
22343
- bookingPlatform: string;
22344
22869
  guestName: string;
22345
22870
  confirmationCode: string;
22346
22871
  nights: number;
22347
- total: number;
22348
22872
  }[];
22349
22873
  }[];
22350
22874
  }[];
22875
+ taxesIncomeTotal: number;
22876
+ collectableTaxesTotal: number;
22351
22877
  };
22352
22878
  };
22353
22879
  };
@@ -22398,10 +22924,12 @@ export interface operations {
22398
22924
  };
22399
22925
  };
22400
22926
  };
22401
- getGuestBalancesReportAggregated: {
22927
+ getSalesTaxLiabilityReportCsv: {
22402
22928
  parameters: {
22403
22929
  query: {
22404
- date: string;
22930
+ startDate: string;
22931
+ endDate: string;
22932
+ taxableLineIds: string;
22405
22933
  channels?: string;
22406
22934
  };
22407
22935
  header?: {
@@ -22419,9 +22947,7 @@ export interface operations {
22419
22947
  };
22420
22948
  content: {
22421
22949
  "application/json": {
22422
- departed: number;
22423
- inHouse: number;
22424
- upcoming: number;
22950
+ url: string;
22425
22951
  };
22426
22952
  };
22427
22953
  };
@@ -22472,7 +22998,7 @@ export interface operations {
22472
22998
  };
22473
22999
  };
22474
23000
  };
22475
- getGuestBalancesReportCsv: {
23001
+ getGuestBalancesReport: {
22476
23002
  parameters: {
22477
23003
  query: {
22478
23004
  date: string;
@@ -22494,15 +23020,185 @@ export interface operations {
22494
23020
  };
22495
23021
  content: {
22496
23022
  "application/json": {
22497
- url: string;
22498
- };
22499
- };
22500
- };
22501
- /** @description Invalid input data */
22502
- 400: {
22503
- headers: {
22504
- [name: string]: unknown;
22505
- };
23023
+ data: {
23024
+ /** @enum {string} */
23025
+ status: "booked" | "cancelled";
23026
+ total: number;
23027
+ listings: {
23028
+ /** Format: uuid */
23029
+ id: string;
23030
+ name: string;
23031
+ total: number;
23032
+ reservations: {
23033
+ /** Format: uuid */
23034
+ id: string;
23035
+ checkIn: string;
23036
+ checkOut: string;
23037
+ bookedAt: string | null;
23038
+ cancelledAt: string | null;
23039
+ bookingPlatform: string;
23040
+ guestName: string;
23041
+ confirmationCode: string;
23042
+ nights: number;
23043
+ total: number;
23044
+ }[];
23045
+ }[];
23046
+ }[];
23047
+ };
23048
+ };
23049
+ };
23050
+ /** @description Invalid input data */
23051
+ 400: {
23052
+ headers: {
23053
+ [name: string]: unknown;
23054
+ };
23055
+ content: {
23056
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23057
+ };
23058
+ };
23059
+ /** @description Authorization not provided */
23060
+ 401: {
23061
+ headers: {
23062
+ [name: string]: unknown;
23063
+ };
23064
+ content: {
23065
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23066
+ };
23067
+ };
23068
+ /** @description Insufficient access */
23069
+ 403: {
23070
+ headers: {
23071
+ [name: string]: unknown;
23072
+ };
23073
+ content: {
23074
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23075
+ };
23076
+ };
23077
+ /** @description Not found */
23078
+ 404: {
23079
+ headers: {
23080
+ [name: string]: unknown;
23081
+ };
23082
+ content: {
23083
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23084
+ };
23085
+ };
23086
+ /** @description Internal server error */
23087
+ 500: {
23088
+ headers: {
23089
+ [name: string]: unknown;
23090
+ };
23091
+ content: {
23092
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23093
+ };
23094
+ };
23095
+ };
23096
+ };
23097
+ getGuestBalancesReportAggregated: {
23098
+ parameters: {
23099
+ query: {
23100
+ date: string;
23101
+ channels?: string;
23102
+ };
23103
+ header?: {
23104
+ "X-Team-Id"?: string;
23105
+ };
23106
+ path?: never;
23107
+ cookie?: never;
23108
+ };
23109
+ requestBody?: never;
23110
+ responses: {
23111
+ /** @description Successful response */
23112
+ 200: {
23113
+ headers: {
23114
+ [name: string]: unknown;
23115
+ };
23116
+ content: {
23117
+ "application/json": {
23118
+ departed: number;
23119
+ inHouse: number;
23120
+ upcoming: number;
23121
+ };
23122
+ };
23123
+ };
23124
+ /** @description Invalid input data */
23125
+ 400: {
23126
+ headers: {
23127
+ [name: string]: unknown;
23128
+ };
23129
+ content: {
23130
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23131
+ };
23132
+ };
23133
+ /** @description Authorization not provided */
23134
+ 401: {
23135
+ headers: {
23136
+ [name: string]: unknown;
23137
+ };
23138
+ content: {
23139
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23140
+ };
23141
+ };
23142
+ /** @description Insufficient access */
23143
+ 403: {
23144
+ headers: {
23145
+ [name: string]: unknown;
23146
+ };
23147
+ content: {
23148
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23149
+ };
23150
+ };
23151
+ /** @description Not found */
23152
+ 404: {
23153
+ headers: {
23154
+ [name: string]: unknown;
23155
+ };
23156
+ content: {
23157
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23158
+ };
23159
+ };
23160
+ /** @description Internal server error */
23161
+ 500: {
23162
+ headers: {
23163
+ [name: string]: unknown;
23164
+ };
23165
+ content: {
23166
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23167
+ };
23168
+ };
23169
+ };
23170
+ };
23171
+ getGuestBalancesReportCsv: {
23172
+ parameters: {
23173
+ query: {
23174
+ date: string;
23175
+ occupancyStatus: "departed" | "inHouse" | "upcoming";
23176
+ channels?: string;
23177
+ };
23178
+ header?: {
23179
+ "X-Team-Id"?: string;
23180
+ };
23181
+ path?: never;
23182
+ cookie?: never;
23183
+ };
23184
+ requestBody?: never;
23185
+ responses: {
23186
+ /** @description Successful response */
23187
+ 200: {
23188
+ headers: {
23189
+ [name: string]: unknown;
23190
+ };
23191
+ content: {
23192
+ "application/json": {
23193
+ url: string;
23194
+ };
23195
+ };
23196
+ };
23197
+ /** @description Invalid input data */
23198
+ 400: {
23199
+ headers: {
23200
+ [name: string]: unknown;
23201
+ };
22506
23202
  content: {
22507
23203
  "application/json": components["schemas"]["error.BAD_REQUEST"];
22508
23204
  };
@@ -22574,7 +23270,10 @@ export interface operations {
22574
23270
  /** @description comma separated categories */
22575
23271
  categoryIds?: string;
22576
23272
  classifications?: string;
23273
+ accountType?: "ledger" | "bank" | "recurringFee" | "nonPosting";
23274
+ /** @description comma separated journal entry types */
22577
23275
  types?: string;
23276
+ /** @description comma separated entity types "reservation" | "deposit" | "expense" | "recurringFee" | "transfer" */
22578
23277
  entityTypes?: string;
22579
23278
  party?: "owners" | "manager";
22580
23279
  includeDetails?: boolean;
@@ -22722,7 +23421,10 @@ export interface operations {
22722
23421
  /** @description comma separated categories */
22723
23422
  categoryIds?: string;
22724
23423
  classifications?: string;
23424
+ accountType?: "ledger" | "bank" | "recurringFee" | "nonPosting";
23425
+ /** @description comma separated journal entry types */
22725
23426
  types?: string;
23427
+ /** @description comma separated entity types "reservation" | "deposit" | "expense" | "recurringFee" | "transfer" */
22726
23428
  entityTypes?: string;
22727
23429
  party?: "owners" | "manager";
22728
23430
  };
@@ -23028,7 +23730,10 @@ export interface operations {
23028
23730
  /** @description comma separated categories */
23029
23731
  categoryIds?: string;
23030
23732
  classifications?: string;
23733
+ accountType?: "ledger" | "bank" | "recurringFee" | "nonPosting";
23734
+ /** @description comma separated journal entry types */
23031
23735
  types?: string;
23736
+ /** @description comma separated entity types "reservation" | "deposit" | "expense" | "recurringFee" | "transfer" */
23032
23737
  entityTypes?: string;
23033
23738
  limit?: number;
23034
23739
  page?: number;
@@ -23174,7 +23879,10 @@ export interface operations {
23174
23879
  /** @description comma separated categories */
23175
23880
  categoryIds?: string;
23176
23881
  classifications?: string;
23882
+ accountType?: "ledger" | "bank" | "recurringFee" | "nonPosting";
23883
+ /** @description comma separated journal entry types */
23177
23884
  types?: string;
23885
+ /** @description comma separated entity types "reservation" | "deposit" | "expense" | "recurringFee" | "transfer" */
23178
23886
  entityTypes?: string;
23179
23887
  };
23180
23888
  header?: {
@@ -23645,9 +24353,404 @@ export interface operations {
23645
24353
  header?: {
23646
24354
  "X-Team-Id"?: string;
23647
24355
  };
23648
- path: {
23649
- contactId: string;
23650
- };
24356
+ path: {
24357
+ contactId: string;
24358
+ };
24359
+ cookie?: never;
24360
+ };
24361
+ requestBody?: never;
24362
+ responses: {
24363
+ /** @description Successful response */
24364
+ 200: {
24365
+ headers: {
24366
+ [name: string]: unknown;
24367
+ };
24368
+ content: {
24369
+ "application/json": {
24370
+ currency: string;
24371
+ contact: {
24372
+ contactId: string;
24373
+ name?: string;
24374
+ firstName?: string;
24375
+ /** Format: email */
24376
+ email?: string;
24377
+ phone?: string;
24378
+ };
24379
+ financials: {
24380
+ balanceStart: number;
24381
+ netRevenue: number;
24382
+ expenses: number;
24383
+ transfers: number;
24384
+ netIncome: number;
24385
+ currentBalance: number;
24386
+ balanceEnd: number;
24387
+ };
24388
+ netRevenueSection: {
24389
+ title: string;
24390
+ rows: {
24391
+ title: string;
24392
+ statementIds?: string[];
24393
+ columns: {
24394
+ title: string;
24395
+ value: number | string;
24396
+ formatted: string;
24397
+ }[];
24398
+ }[];
24399
+ subtotal?: {
24400
+ title: string;
24401
+ columns: {
24402
+ title: string;
24403
+ value: number | string;
24404
+ formatted: string;
24405
+ }[];
24406
+ };
24407
+ };
24408
+ otherSections: {
24409
+ title: string;
24410
+ rows: {
24411
+ title: string;
24412
+ statementIds?: string[];
24413
+ columns: {
24414
+ title: string;
24415
+ value: number | string;
24416
+ formatted: string;
24417
+ }[];
24418
+ }[];
24419
+ subtotal?: {
24420
+ title: string;
24421
+ columns: {
24422
+ title: string;
24423
+ value: number | string;
24424
+ formatted: string;
24425
+ }[];
24426
+ };
24427
+ }[];
24428
+ transfersSection?: {
24429
+ title: string;
24430
+ rows: {
24431
+ title: string;
24432
+ statementIds?: string[];
24433
+ columns: {
24434
+ title: string;
24435
+ value: number | string;
24436
+ formatted: string;
24437
+ }[];
24438
+ }[];
24439
+ subtotal?: {
24440
+ title: string;
24441
+ columns: {
24442
+ title: string;
24443
+ value: number | string;
24444
+ formatted: string;
24445
+ }[];
24446
+ };
24447
+ };
24448
+ };
24449
+ };
24450
+ };
24451
+ /** @description Invalid input data */
24452
+ 400: {
24453
+ headers: {
24454
+ [name: string]: unknown;
24455
+ };
24456
+ content: {
24457
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24458
+ };
24459
+ };
24460
+ /** @description Authorization not provided */
24461
+ 401: {
24462
+ headers: {
24463
+ [name: string]: unknown;
24464
+ };
24465
+ content: {
24466
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24467
+ };
24468
+ };
24469
+ /** @description Insufficient access */
24470
+ 403: {
24471
+ headers: {
24472
+ [name: string]: unknown;
24473
+ };
24474
+ content: {
24475
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24476
+ };
24477
+ };
24478
+ /** @description Not found */
24479
+ 404: {
24480
+ headers: {
24481
+ [name: string]: unknown;
24482
+ };
24483
+ content: {
24484
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24485
+ };
24486
+ };
24487
+ /** @description Internal server error */
24488
+ 500: {
24489
+ headers: {
24490
+ [name: string]: unknown;
24491
+ };
24492
+ content: {
24493
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24494
+ };
24495
+ };
24496
+ };
24497
+ };
24498
+ getOwnerStatementSummaryDetailsReportCsv: {
24499
+ parameters: {
24500
+ query: {
24501
+ view: "listing" | "month" | "reservation" | "bookingChannel";
24502
+ startAt: string;
24503
+ endAt: string;
24504
+ /** @description comma separated listings */
24505
+ listingIds?: string;
24506
+ currency?: string;
24507
+ viewAs?: "owner" | "manager";
24508
+ };
24509
+ header?: {
24510
+ "X-Team-Id"?: string;
24511
+ };
24512
+ path: {
24513
+ contactId: string;
24514
+ };
24515
+ cookie?: never;
24516
+ };
24517
+ requestBody?: never;
24518
+ responses: {
24519
+ /** @description Successful response */
24520
+ 200: {
24521
+ headers: {
24522
+ [name: string]: unknown;
24523
+ };
24524
+ content: {
24525
+ "application/json": {
24526
+ url: string;
24527
+ };
24528
+ };
24529
+ };
24530
+ /** @description Invalid input data */
24531
+ 400: {
24532
+ headers: {
24533
+ [name: string]: unknown;
24534
+ };
24535
+ content: {
24536
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24537
+ };
24538
+ };
24539
+ /** @description Authorization not provided */
24540
+ 401: {
24541
+ headers: {
24542
+ [name: string]: unknown;
24543
+ };
24544
+ content: {
24545
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24546
+ };
24547
+ };
24548
+ /** @description Insufficient access */
24549
+ 403: {
24550
+ headers: {
24551
+ [name: string]: unknown;
24552
+ };
24553
+ content: {
24554
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24555
+ };
24556
+ };
24557
+ /** @description Not found */
24558
+ 404: {
24559
+ headers: {
24560
+ [name: string]: unknown;
24561
+ };
24562
+ content: {
24563
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24564
+ };
24565
+ };
24566
+ /** @description Internal server error */
24567
+ 500: {
24568
+ headers: {
24569
+ [name: string]: unknown;
24570
+ };
24571
+ content: {
24572
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24573
+ };
24574
+ };
24575
+ };
24576
+ };
24577
+ getTrialBalanceReport: {
24578
+ parameters: {
24579
+ query: {
24580
+ startDate: string;
24581
+ endDate: string;
24582
+ classification?: string;
24583
+ type?: "bank" | "ledger";
24584
+ party?: "owners" | "manager";
24585
+ accountIds?: string;
24586
+ search?: string;
24587
+ };
24588
+ header?: {
24589
+ "X-Team-Id"?: string;
24590
+ };
24591
+ path?: never;
24592
+ cookie?: never;
24593
+ };
24594
+ requestBody?: never;
24595
+ responses: {
24596
+ /** @description Successful response */
24597
+ 200: {
24598
+ headers: {
24599
+ [name: string]: unknown;
24600
+ };
24601
+ content: {
24602
+ "application/json": {
24603
+ unassignedBalanceStart: number;
24604
+ unassignedDebit: number;
24605
+ unassignedCredit: number;
24606
+ unassignedBalanceEnd: number;
24607
+ accounts: {
24608
+ id: string;
24609
+ title: string;
24610
+ classification: string | null;
24611
+ balanceStart: number;
24612
+ debit: number;
24613
+ credit: number;
24614
+ balanceEnd: number;
24615
+ }[];
24616
+ };
24617
+ };
24618
+ };
24619
+ /** @description Invalid input data */
24620
+ 400: {
24621
+ headers: {
24622
+ [name: string]: unknown;
24623
+ };
24624
+ content: {
24625
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24626
+ };
24627
+ };
24628
+ /** @description Authorization not provided */
24629
+ 401: {
24630
+ headers: {
24631
+ [name: string]: unknown;
24632
+ };
24633
+ content: {
24634
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24635
+ };
24636
+ };
24637
+ /** @description Insufficient access */
24638
+ 403: {
24639
+ headers: {
24640
+ [name: string]: unknown;
24641
+ };
24642
+ content: {
24643
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24644
+ };
24645
+ };
24646
+ /** @description Not found */
24647
+ 404: {
24648
+ headers: {
24649
+ [name: string]: unknown;
24650
+ };
24651
+ content: {
24652
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24653
+ };
24654
+ };
24655
+ /** @description Internal server error */
24656
+ 500: {
24657
+ headers: {
24658
+ [name: string]: unknown;
24659
+ };
24660
+ content: {
24661
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24662
+ };
24663
+ };
24664
+ };
24665
+ };
24666
+ getTrialBalanceReportCsv: {
24667
+ parameters: {
24668
+ query: {
24669
+ startDate: string;
24670
+ endDate: string;
24671
+ classification?: string;
24672
+ type?: "bank" | "ledger";
24673
+ party?: "owners" | "manager";
24674
+ accountIds?: string;
24675
+ search?: string;
24676
+ };
24677
+ header?: {
24678
+ "X-Team-Id"?: string;
24679
+ };
24680
+ path?: never;
24681
+ cookie?: never;
24682
+ };
24683
+ requestBody?: never;
24684
+ responses: {
24685
+ /** @description Successful response */
24686
+ 200: {
24687
+ headers: {
24688
+ [name: string]: unknown;
24689
+ };
24690
+ content: {
24691
+ "application/json": {
24692
+ url: string;
24693
+ };
24694
+ };
24695
+ };
24696
+ /** @description Invalid input data */
24697
+ 400: {
24698
+ headers: {
24699
+ [name: string]: unknown;
24700
+ };
24701
+ content: {
24702
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24703
+ };
24704
+ };
24705
+ /** @description Authorization not provided */
24706
+ 401: {
24707
+ headers: {
24708
+ [name: string]: unknown;
24709
+ };
24710
+ content: {
24711
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24712
+ };
24713
+ };
24714
+ /** @description Insufficient access */
24715
+ 403: {
24716
+ headers: {
24717
+ [name: string]: unknown;
24718
+ };
24719
+ content: {
24720
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24721
+ };
24722
+ };
24723
+ /** @description Not found */
24724
+ 404: {
24725
+ headers: {
24726
+ [name: string]: unknown;
24727
+ };
24728
+ content: {
24729
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24730
+ };
24731
+ };
24732
+ /** @description Internal server error */
24733
+ 500: {
24734
+ headers: {
24735
+ [name: string]: unknown;
24736
+ };
24737
+ content: {
24738
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24739
+ };
24740
+ };
24741
+ };
24742
+ };
24743
+ getBalanceSheetReport: {
24744
+ parameters: {
24745
+ query?: {
24746
+ view?: "month" | "quarter" | "year";
24747
+ startDate?: string;
24748
+ endDate?: string;
24749
+ };
24750
+ header?: {
24751
+ "X-Team-Id"?: string;
24752
+ };
24753
+ path?: never;
23651
24754
  cookie?: never;
23652
24755
  };
23653
24756
  requestBody?: never;
@@ -23659,84 +24762,7 @@ export interface operations {
23659
24762
  };
23660
24763
  content: {
23661
24764
  "application/json": {
23662
- currency: string;
23663
- contact: {
23664
- contactId: string;
23665
- name?: string;
23666
- firstName?: string;
23667
- /** Format: email */
23668
- email?: string;
23669
- phone?: string;
23670
- };
23671
- financials: {
23672
- balanceStart: number;
23673
- netRevenue: number;
23674
- expenses: number;
23675
- transfers: number;
23676
- netIncome: number;
23677
- currentBalance: number;
23678
- balanceEnd: number;
23679
- };
23680
- netRevenueSection: {
23681
- title: string;
23682
- rows: {
23683
- title: string;
23684
- statementIds?: string[];
23685
- columns: {
23686
- title: string;
23687
- value: number | string;
23688
- formatted: string;
23689
- }[];
23690
- }[];
23691
- subtotal?: {
23692
- title: string;
23693
- columns: {
23694
- title: string;
23695
- value: number | string;
23696
- formatted: string;
23697
- }[];
23698
- };
23699
- };
23700
- otherSections: {
23701
- title: string;
23702
- rows: {
23703
- title: string;
23704
- statementIds?: string[];
23705
- columns: {
23706
- title: string;
23707
- value: number | string;
23708
- formatted: string;
23709
- }[];
23710
- }[];
23711
- subtotal?: {
23712
- title: string;
23713
- columns: {
23714
- title: string;
23715
- value: number | string;
23716
- formatted: string;
23717
- }[];
23718
- };
23719
- }[];
23720
- transfersSection?: {
23721
- title: string;
23722
- rows: {
23723
- title: string;
23724
- statementIds?: string[];
23725
- columns: {
23726
- title: string;
23727
- value: number | string;
23728
- formatted: string;
23729
- }[];
23730
- }[];
23731
- subtotal?: {
23732
- title: string;
23733
- columns: {
23734
- title: string;
23735
- value: number | string;
23736
- formatted: string;
23737
- }[];
23738
- };
23739
- };
24765
+ balanceSheet: components["schemas"]["BalanceSheetGroup"] | null;
23740
24766
  };
23741
24767
  };
23742
24768
  };
@@ -23787,23 +24813,17 @@ export interface operations {
23787
24813
  };
23788
24814
  };
23789
24815
  };
23790
- getOwnerStatementSummaryDetailsReportCsv: {
24816
+ getBalanceSheetReportCsv: {
23791
24817
  parameters: {
23792
- query: {
23793
- view: "listing" | "month" | "reservation" | "bookingChannel";
23794
- startAt: string;
23795
- endAt: string;
23796
- /** @description comma separated listings */
23797
- listingIds?: string;
23798
- currency?: string;
23799
- viewAs?: "owner" | "manager";
24818
+ query?: {
24819
+ view?: "month" | "quarter" | "year";
24820
+ startDate?: string;
24821
+ endDate?: string;
23800
24822
  };
23801
24823
  header?: {
23802
24824
  "X-Team-Id"?: string;
23803
24825
  };
23804
- path: {
23805
- contactId: string;
23806
- };
24826
+ path?: never;
23807
24827
  cookie?: never;
23808
24828
  };
23809
24829
  requestBody?: never;
@@ -24144,11 +25164,7 @@ export interface operations {
24144
25164
  /** Format: uuid */
24145
25165
  id: string;
24146
25166
  title: string;
24147
- app: {
24148
- id: string;
24149
- name: string;
24150
- icon?: string | null;
24151
- };
25167
+ appId: string;
24152
25168
  description?: string | null;
24153
25169
  /** @description Mapping schema configuration for this flow */
24154
25170
  mappingSchema: {
@@ -24163,7 +25179,7 @@ export interface operations {
24163
25179
  * @description Internal semantic type
24164
25180
  * @enum {string}
24165
25181
  */
24166
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25182
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24167
25183
  /** @description Optional JSONB filter for internal data */
24168
25184
  filter?: string;
24169
25185
  };
@@ -24187,7 +25203,7 @@ export interface operations {
24187
25203
  * @description Semantic type of the setting value
24188
25204
  * @enum {string}
24189
25205
  */
24190
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25206
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24191
25207
  /** @description Optional JSONB filter for available values */
24192
25208
  filter?: string;
24193
25209
  };
@@ -24277,11 +25293,7 @@ export interface operations {
24277
25293
  /** Format: uuid */
24278
25294
  id: string;
24279
25295
  title: string;
24280
- app: {
24281
- id: string;
24282
- name: string;
24283
- icon?: string | null;
24284
- };
25296
+ appId: string;
24285
25297
  description?: string | null;
24286
25298
  /** @description Mapping schema configuration for this flow */
24287
25299
  mappingSchema: {
@@ -24296,7 +25308,7 @@ export interface operations {
24296
25308
  * @description Internal semantic type
24297
25309
  * @enum {string}
24298
25310
  */
24299
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25311
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24300
25312
  /** @description Optional JSONB filter for internal data */
24301
25313
  filter?: string;
24302
25314
  };
@@ -24320,7 +25332,7 @@ export interface operations {
24320
25332
  * @description Semantic type of the setting value
24321
25333
  * @enum {string}
24322
25334
  */
24323
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25335
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24324
25336
  /** @description Optional JSONB filter for available values */
24325
25337
  filter?: string;
24326
25338
  };
@@ -24406,7 +25418,7 @@ export interface operations {
24406
25418
  description: string | null;
24407
25419
  /** @enum {string} */
24408
25420
  status: "active" | "inactive";
24409
- settings: components["schemas"]["FlowSettingItemsGet"];
25421
+ settings: components["schemas"]["FlowSettingItemGet"][];
24410
25422
  };
24411
25423
  };
24412
25424
  };
@@ -24493,7 +25505,7 @@ export interface operations {
24493
25505
  description: string | null;
24494
25506
  /** @enum {string} */
24495
25507
  status: "active" | "inactive";
24496
- settings: components["schemas"]["FlowSettingItemsGet"];
25508
+ settings: components["schemas"]["FlowSettingItemGet"][];
24497
25509
  };
24498
25510
  };
24499
25511
  };
@@ -24546,7 +25558,10 @@ export interface operations {
24546
25558
  };
24547
25559
  runFlow: {
24548
25560
  parameters: {
24549
- query?: never;
25561
+ query?: {
25562
+ dateRange?: string;
25563
+ isDateRangeEndInclusive?: boolean;
25564
+ };
24550
25565
  header?: {
24551
25566
  "X-Team-Id"?: string;
24552
25567
  };
@@ -24721,11 +25736,9 @@ export interface operations {
24721
25736
  "application/json": {
24722
25737
  /** Format: uuid */
24723
25738
  sourceId: string;
24724
- value?: unknown;
24725
- /** @default 100 */
24726
- limit?: number;
24727
- /** @default 1 */
24728
- page?: number;
25739
+ value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
25740
+ [key: string]: string | number | boolean | null;
25741
+ }) | null;
24729
25742
  };
24730
25743
  };
24731
25744
  };
@@ -24737,15 +25750,27 @@ export interface operations {
24737
25750
  };
24738
25751
  content: {
24739
25752
  "application/json": {
24740
- data: components["schemas"]["FlowMappingItemPost"][];
24741
- pagination: {
24742
- /** @default 100 */
24743
- limit: number;
24744
- /** @default 1 */
24745
- page: number;
24746
- total: number;
24747
- totalPage: number;
24748
- nextPage?: number;
25753
+ /** Format: uuid */
25754
+ id?: string;
25755
+ /** Format: uuid */
25756
+ flowId?: string;
25757
+ /** Format: uuid */
25758
+ connectionId?: string;
25759
+ mappingKey?: string;
25760
+ title?: string | null;
25761
+ description?: string | null;
25762
+ left?: {
25763
+ /** Format: uuid */
25764
+ sourceId: string;
25765
+ };
25766
+ right?: {
25767
+ value: string | number;
25768
+ text: string;
25769
+ /**
25770
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
25771
+ * @enum {string}
25772
+ */
25773
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24749
25774
  };
24750
25775
  };
24751
25776
  };
@@ -24970,11 +25995,7 @@ export interface operations {
24970
25995
  };
24971
25996
  getFlowSetting: {
24972
25997
  parameters: {
24973
- query?: {
24974
- search?: string;
24975
- limit?: number;
24976
- page?: number;
24977
- };
25998
+ query?: never;
24978
25999
  header?: {
24979
26000
  "X-Team-Id"?: string;
24980
26001
  };
@@ -24993,23 +26014,7 @@ export interface operations {
24993
26014
  [name: string]: unknown;
24994
26015
  };
24995
26016
  content: {
24996
- "application/json": {
24997
- data: {
24998
- id: string;
24999
- name: string;
25000
- description: string | null;
25001
- value?: unknown;
25002
- }[];
25003
- pagination: {
25004
- /** @default 100 */
25005
- limit: number;
25006
- /** @default 1 */
25007
- page: number;
25008
- total: number;
25009
- totalPage: number;
25010
- nextPage?: number;
25011
- };
25012
- };
26017
+ "application/json": components["schemas"]["FlowSettingItemGet"];
25013
26018
  };
25014
26019
  };
25015
26020
  /** @description Invalid input data */
@@ -25075,7 +26080,9 @@ export interface operations {
25075
26080
  requestBody: {
25076
26081
  content: {
25077
26082
  "application/json": {
25078
- value?: unknown;
26083
+ value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
26084
+ [key: string]: string | number | boolean | null;
26085
+ }) | null;
25079
26086
  };
25080
26087
  };
25081
26088
  };
@@ -25088,14 +26095,101 @@ export interface operations {
25088
26095
  content: {
25089
26096
  "application/json": {
25090
26097
  /** Format: uuid */
25091
- id: string;
26098
+ id?: string;
25092
26099
  /** Format: uuid */
25093
- connectionId: string;
25094
- title: string;
25095
- description: string | null;
25096
- /** @enum {string} */
25097
- status: "active" | "inactive";
25098
- settings: components["schemas"]["FlowSettingItemsPost"];
26100
+ flowId?: string;
26101
+ /** Format: uuid */
26102
+ connectionId?: string;
26103
+ settingKey?: string;
26104
+ title?: string | null;
26105
+ description?: string | null;
26106
+ /**
26107
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
26108
+ * @enum {string|null}
26109
+ */
26110
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
26111
+ filter?: string | null;
26112
+ value?: components["schemas"]["FlowMappingResolvedEntityValue"];
26113
+ };
26114
+ };
26115
+ };
26116
+ /** @description Invalid input data */
26117
+ 400: {
26118
+ headers: {
26119
+ [name: string]: unknown;
26120
+ };
26121
+ content: {
26122
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
26123
+ };
26124
+ };
26125
+ /** @description Authorization not provided */
26126
+ 401: {
26127
+ headers: {
26128
+ [name: string]: unknown;
26129
+ };
26130
+ content: {
26131
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
26132
+ };
26133
+ };
26134
+ /** @description Insufficient access */
26135
+ 403: {
26136
+ headers: {
26137
+ [name: string]: unknown;
26138
+ };
26139
+ content: {
26140
+ "application/json": components["schemas"]["error.FORBIDDEN"];
26141
+ };
26142
+ };
26143
+ /** @description Internal server error */
26144
+ 500: {
26145
+ headers: {
26146
+ [name: string]: unknown;
26147
+ };
26148
+ content: {
26149
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
26150
+ };
26151
+ };
26152
+ };
26153
+ };
26154
+ getFlowSettingOptions: {
26155
+ parameters: {
26156
+ query?: {
26157
+ search?: string;
26158
+ limit?: number;
26159
+ page?: number;
26160
+ };
26161
+ header?: {
26162
+ "X-Team-Id"?: string;
26163
+ };
26164
+ path: {
26165
+ id: string;
26166
+ connectionId: string;
26167
+ settingKey: string;
26168
+ };
26169
+ cookie?: never;
26170
+ };
26171
+ requestBody?: never;
26172
+ responses: {
26173
+ /** @description Successful response */
26174
+ 200: {
26175
+ headers: {
26176
+ [name: string]: unknown;
26177
+ };
26178
+ content: {
26179
+ "application/json": {
26180
+ data: {
26181
+ id: string;
26182
+ name: string;
26183
+ }[];
26184
+ pagination: {
26185
+ /** @default 100 */
26186
+ limit: number;
26187
+ /** @default 1 */
26188
+ page: number;
26189
+ total: number;
26190
+ totalPage: number;
26191
+ nextPage?: number;
26192
+ };
25099
26193
  };
25100
26194
  };
25101
26195
  };
@@ -25126,6 +26220,15 @@ export interface operations {
25126
26220
  "application/json": components["schemas"]["error.FORBIDDEN"];
25127
26221
  };
25128
26222
  };
26223
+ /** @description Not found */
26224
+ 404: {
26225
+ headers: {
26226
+ [name: string]: unknown;
26227
+ };
26228
+ content: {
26229
+ "application/json": components["schemas"]["error.NOT_FOUND"];
26230
+ };
26231
+ };
25129
26232
  /** @description Internal server error */
25130
26233
  500: {
25131
26234
  headers: {