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