@vrplatform/api 1.2.40 → 1.3.0-1121

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.
@@ -680,6 +680,26 @@ export interface paths {
680
680
  patch?: never;
681
681
  trace?: never;
682
682
  };
683
+ "/statements/totals": {
684
+ parameters: {
685
+ query?: never;
686
+ header?: never;
687
+ path?: never;
688
+ cookie?: never;
689
+ };
690
+ /**
691
+ * Aggregated owner statement totals without pagination effects
692
+ * @description Get statement totals for a month
693
+ */
694
+ get: operations["getOwnerStatementTotals"];
695
+ put?: never;
696
+ post?: never;
697
+ delete?: never;
698
+ options?: never;
699
+ head?: never;
700
+ patch?: never;
701
+ trace?: never;
702
+ };
683
703
  "/statements/{id}": {
684
704
  parameters: {
685
705
  query?: never;
@@ -1406,7 +1426,7 @@ export interface paths {
1406
1426
  patch?: never;
1407
1427
  trace?: never;
1408
1428
  };
1409
- "/store-actions/{id}": {
1429
+ "/dispatch/{id}": {
1410
1430
  parameters: {
1411
1431
  query?: never;
1412
1432
  header?: never;
@@ -1414,24 +1434,7 @@ export interface paths {
1414
1434
  cookie?: never;
1415
1435
  };
1416
1436
  /** @description Retrieve a dispatched action and queued effects for progress tracking */
1417
- get: operations["getStoreAction"];
1418
- put?: never;
1419
- post?: never;
1420
- delete?: never;
1421
- options?: never;
1422
- head?: never;
1423
- patch?: never;
1424
- trace?: never;
1425
- };
1426
- "/reviews": {
1427
- parameters: {
1428
- query?: never;
1429
- header?: never;
1430
- path?: never;
1431
- cookie?: never;
1432
- };
1433
- /** @description Reviews list */
1434
- get: operations["getReviews"];
1437
+ get: operations["getDispatchAction"];
1435
1438
  put?: never;
1436
1439
  post?: never;
1437
1440
  delete?: never;
@@ -1645,6 +1648,23 @@ export interface paths {
1645
1648
  patch?: never;
1646
1649
  trace?: never;
1647
1650
  };
1651
+ "/report/journal-entries/csv": {
1652
+ parameters: {
1653
+ query?: never;
1654
+ header?: never;
1655
+ path?: never;
1656
+ cookie?: never;
1657
+ };
1658
+ /** @description CSV export for journal entries */
1659
+ get: operations["getJournalEntriesReportCsv"];
1660
+ put?: never;
1661
+ post?: never;
1662
+ delete?: never;
1663
+ options?: never;
1664
+ head?: never;
1665
+ patch?: never;
1666
+ trace?: never;
1667
+ };
1648
1668
  "/reports/manager-statements": {
1649
1669
  parameters: {
1650
1670
  query?: never;
@@ -1696,6 +1716,23 @@ export interface paths {
1696
1716
  patch?: never;
1697
1717
  trace?: never;
1698
1718
  };
1719
+ "/reports/manager-statements/detail/journal-entries/csv": {
1720
+ parameters: {
1721
+ query?: never;
1722
+ header?: never;
1723
+ path?: never;
1724
+ cookie?: never;
1725
+ };
1726
+ /** @description CSV export for manager statement journal entries */
1727
+ get: operations["getManagerStatementReportJournalEntriesCsv"];
1728
+ put?: never;
1729
+ post?: never;
1730
+ delete?: never;
1731
+ options?: never;
1732
+ head?: never;
1733
+ patch?: never;
1734
+ trace?: never;
1735
+ };
1699
1736
  "/reports/profit-and-loss": {
1700
1737
  parameters: {
1701
1738
  query?: never;
@@ -2332,19 +2369,19 @@ export interface components {
2332
2369
  * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2333
2370
  * @enum {string|null}
2334
2371
  */
2335
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2372
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2336
2373
  filter: string | null;
2337
2374
  value: components["schemas"]["FlowMappingResolvedEntityValue"];
2338
2375
  };
2339
2376
  /** @description Resolved mapping entity summary ({ id, name, type }) returned by endpoints. */
2340
2377
  FlowMappingResolvedEntityValue: {
2341
- id: string;
2378
+ id: string | number;
2342
2379
  name: string;
2343
2380
  /**
2344
2381
  * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2345
2382
  * @enum {string}
2346
2383
  */
2347
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2384
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2348
2385
  };
2349
2386
  /** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
2350
2387
  FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
@@ -2363,11 +2400,11 @@ export interface components {
2363
2400
  * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2364
2401
  * @enum {string|null}
2365
2402
  */
2366
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2403
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2367
2404
  filter: string | null;
2368
2405
  value: components["schemas"]["FlowMappingResolvedEntityValue"];
2369
2406
  };
2370
- /** @description Mapping entry returned from GET routes with normalized { id, name, type } value payload. */
2407
+ /** @description Mapping entry returned from GET routes with normalized left/right payloads. */
2371
2408
  FlowMappingItemGet: {
2372
2409
  /** Format: uuid */
2373
2410
  id: string;
@@ -2376,13 +2413,23 @@ export interface components {
2376
2413
  /** Format: uuid */
2377
2414
  connectionId: string;
2378
2415
  mappingKey: string;
2379
- /** Format: uuid */
2380
- sourceId: string;
2381
2416
  title: string | null;
2382
2417
  description: string | null;
2383
- value: components["schemas"]["FlowMappingResolvedEntityValue"];
2418
+ left: {
2419
+ /** Format: uuid */
2420
+ sourceId: string;
2421
+ };
2422
+ right: {
2423
+ value: string | number;
2424
+ text: string;
2425
+ /**
2426
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2427
+ * @enum {string}
2428
+ */
2429
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2430
+ };
2384
2431
  };
2385
- /** @description Mapping entry returned from mutation routes with resolved entity payload. */
2432
+ /** @description Mapping entry returned from mutation routes with normalized left/right payloads. */
2386
2433
  FlowMappingItemPost: {
2387
2434
  /** Format: uuid */
2388
2435
  id: string;
@@ -2391,11 +2438,21 @@ export interface components {
2391
2438
  /** Format: uuid */
2392
2439
  connectionId: string;
2393
2440
  mappingKey: string;
2394
- /** Format: uuid */
2395
- sourceId: string;
2396
2441
  title: string | null;
2397
2442
  description: string | null;
2398
- value: components["schemas"]["FlowMappingResolvedEntityValue"];
2443
+ left: {
2444
+ /** Format: uuid */
2445
+ sourceId: string;
2446
+ };
2447
+ right: {
2448
+ value: string | number;
2449
+ text: string;
2450
+ /**
2451
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2452
+ * @enum {string}
2453
+ */
2454
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2455
+ };
2399
2456
  };
2400
2457
  };
2401
2458
  responses: never;
@@ -4071,6 +4128,24 @@ export interface operations {
4071
4128
  id: string;
4072
4129
  hasLockedJournalEntries: boolean;
4073
4130
  issues: ({
4131
+ /** @enum {string} */
4132
+ code: "lineNotFound";
4133
+ /** @enum {string} */
4134
+ severity: "error";
4135
+ context: {
4136
+ lineIds: string[];
4137
+ };
4138
+ message: string;
4139
+ } | {
4140
+ /** @enum {string} */
4141
+ code: "unbalancedJournalEntries";
4142
+ /** @enum {string} */
4143
+ severity: "error";
4144
+ context: {
4145
+ difference: number;
4146
+ };
4147
+ message: string;
4148
+ } | {
4074
4149
  /** @enum {string} */
4075
4150
  code: "unassignedAccount";
4076
4151
  /** @enum {string} */
@@ -4100,6 +4175,12 @@ export interface operations {
4100
4175
  /** @enum {string} */
4101
4176
  severity: "warning";
4102
4177
  context: Record<string, never>;
4178
+ } | {
4179
+ /** @enum {string} */
4180
+ code: "guestTotalsZero";
4181
+ /** @enum {string} */
4182
+ severity: "warning";
4183
+ context: Record<string, never>;
4103
4184
  })[];
4104
4185
  connection?: {
4105
4186
  /** Format: uuid */
@@ -4108,22 +4189,17 @@ export interface operations {
4108
4189
  /** @enum {string} */
4109
4190
  status: "active" | "inactive";
4110
4191
  uniqueRef?: string | null;
4111
- app: {
4112
- id: string;
4113
- name: string;
4114
- icon?: string | null;
4115
- importers?: string[] | null;
4116
- extractors?: string[] | null;
4117
- };
4192
+ appId: string;
4118
4193
  } | null;
4119
4194
  nights?: number | null;
4120
- /** @enum {string|null} */
4121
- status?: "booked" | "canceled" | "inactive" | null;
4195
+ /** @enum {string} */
4196
+ status: "booked" | "canceled" | "inactive";
4122
4197
  financials: {
4123
4198
  totals: {
4124
4199
  tax: number;
4125
4200
  manager: number;
4126
4201
  owner: number;
4202
+ reservation: number;
4127
4203
  expense: number;
4128
4204
  deposit: number;
4129
4205
  guest: number;
@@ -4137,6 +4213,8 @@ export interface operations {
4137
4213
  /** @enum {string} */
4138
4214
  status: "active" | "inactive";
4139
4215
  amount: number;
4216
+ /** @enum {string|null} */
4217
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
4140
4218
  account?: {
4141
4219
  id: string;
4142
4220
  name: string;
@@ -4184,13 +4262,7 @@ export interface operations {
4184
4262
  /** @enum {string} */
4185
4263
  status: "active" | "inactive";
4186
4264
  uniqueRef?: string | null;
4187
- app: {
4188
- id: string;
4189
- name: string;
4190
- icon?: string | null;
4191
- importers?: string[] | null;
4192
- extractors?: string[] | null;
4193
- };
4265
+ appId: string;
4194
4266
  } | null;
4195
4267
  uniqueRef?: string | null;
4196
4268
  recurringTemplate?: {
@@ -4208,17 +4280,6 @@ export interface operations {
4208
4280
  /** Format: uuid */
4209
4281
  id: string;
4210
4282
  name: string;
4211
- address?: {
4212
- full?: string | null;
4213
- line1?: string | null;
4214
- line2?: string | null;
4215
- city?: string | null;
4216
- /** @deprecated */
4217
- state?: string | null;
4218
- postalCode?: string | null;
4219
- stateCode?: string | null;
4220
- countryCode?: string | null;
4221
- } | null;
4222
4283
  uniqueRef?: string | null;
4223
4284
  } | null;
4224
4285
  listingConnection?: {
@@ -4347,12 +4408,8 @@ export interface operations {
4347
4408
  requestBody: {
4348
4409
  content: {
4349
4410
  "application/json": {
4411
+ dangerouslyAllowLocked?: boolean;
4350
4412
  ids?: string[];
4351
- listingIds?: string[];
4352
- connectionIds?: string[];
4353
- date?: string;
4354
- /** @enum {string} */
4355
- dateField?: "bookedAt" | "checkIn" | "checkOut" | "payment" | "intersection";
4356
4413
  };
4357
4414
  };
4358
4415
  };
@@ -4449,6 +4506,24 @@ export interface operations {
4449
4506
  id: string;
4450
4507
  hasLockedJournalEntries: boolean;
4451
4508
  issues: ({
4509
+ /** @enum {string} */
4510
+ code: "lineNotFound";
4511
+ /** @enum {string} */
4512
+ severity: "error";
4513
+ context: {
4514
+ lineIds: string[];
4515
+ };
4516
+ message: string;
4517
+ } | {
4518
+ /** @enum {string} */
4519
+ code: "unbalancedJournalEntries";
4520
+ /** @enum {string} */
4521
+ severity: "error";
4522
+ context: {
4523
+ difference: number;
4524
+ };
4525
+ message: string;
4526
+ } | {
4452
4527
  /** @enum {string} */
4453
4528
  code: "unassignedAccount";
4454
4529
  /** @enum {string} */
@@ -4478,6 +4553,12 @@ export interface operations {
4478
4553
  /** @enum {string} */
4479
4554
  severity: "warning";
4480
4555
  context: Record<string, never>;
4556
+ } | {
4557
+ /** @enum {string} */
4558
+ code: "guestTotalsZero";
4559
+ /** @enum {string} */
4560
+ severity: "warning";
4561
+ context: Record<string, never>;
4481
4562
  })[];
4482
4563
  connection?: {
4483
4564
  /** Format: uuid */
@@ -4486,22 +4567,17 @@ export interface operations {
4486
4567
  /** @enum {string} */
4487
4568
  status: "active" | "inactive";
4488
4569
  uniqueRef?: string | null;
4489
- app: {
4490
- id: string;
4491
- name: string;
4492
- icon?: string | null;
4493
- importers?: string[] | null;
4494
- extractors?: string[] | null;
4495
- };
4570
+ appId: string;
4496
4571
  } | null;
4497
4572
  nights?: number | null;
4498
- /** @enum {string|null} */
4499
- status?: "booked" | "canceled" | "inactive" | null;
4573
+ /** @enum {string} */
4574
+ status: "booked" | "canceled" | "inactive";
4500
4575
  financials: {
4501
4576
  totals: {
4502
4577
  tax: number;
4503
4578
  manager: number;
4504
4579
  owner: number;
4580
+ reservation: number;
4505
4581
  expense: number;
4506
4582
  deposit: number;
4507
4583
  guest: number;
@@ -4515,6 +4591,8 @@ export interface operations {
4515
4591
  /** @enum {string} */
4516
4592
  status: "active" | "inactive";
4517
4593
  amount: number;
4594
+ /** @enum {string|null} */
4595
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
4518
4596
  account?: {
4519
4597
  id: string;
4520
4598
  name: string;
@@ -4562,13 +4640,7 @@ export interface operations {
4562
4640
  /** @enum {string} */
4563
4641
  status: "active" | "inactive";
4564
4642
  uniqueRef?: string | null;
4565
- app: {
4566
- id: string;
4567
- name: string;
4568
- icon?: string | null;
4569
- importers?: string[] | null;
4570
- extractors?: string[] | null;
4571
- };
4643
+ appId: string;
4572
4644
  } | null;
4573
4645
  uniqueRef?: string | null;
4574
4646
  recurringTemplate?: {
@@ -4586,17 +4658,6 @@ export interface operations {
4586
4658
  /** Format: uuid */
4587
4659
  id: string;
4588
4660
  name: string;
4589
- address?: {
4590
- full?: string | null;
4591
- line1?: string | null;
4592
- line2?: string | null;
4593
- city?: string | null;
4594
- /** @deprecated */
4595
- state?: string | null;
4596
- postalCode?: string | null;
4597
- stateCode?: string | null;
4598
- countryCode?: string | null;
4599
- } | null;
4600
4661
  uniqueRef?: string | null;
4601
4662
  } | null;
4602
4663
  listingConnection?: {
@@ -4908,6 +4969,24 @@ export interface operations {
4908
4969
  id: string;
4909
4970
  hasLockedJournalEntries: boolean;
4910
4971
  issues: ({
4972
+ /** @enum {string} */
4973
+ code: "lineNotFound";
4974
+ /** @enum {string} */
4975
+ severity: "error";
4976
+ context: {
4977
+ lineIds: string[];
4978
+ };
4979
+ message: string;
4980
+ } | {
4981
+ /** @enum {string} */
4982
+ code: "unbalancedJournalEntries";
4983
+ /** @enum {string} */
4984
+ severity: "error";
4985
+ context: {
4986
+ difference: number;
4987
+ };
4988
+ message: string;
4989
+ } | {
4911
4990
  /** @enum {string} */
4912
4991
  code: "unassignedAccount";
4913
4992
  /** @enum {string} */
@@ -4937,6 +5016,12 @@ export interface operations {
4937
5016
  /** @enum {string} */
4938
5017
  severity: "warning";
4939
5018
  context: Record<string, never>;
5019
+ } | {
5020
+ /** @enum {string} */
5021
+ code: "guestTotalsZero";
5022
+ /** @enum {string} */
5023
+ severity: "warning";
5024
+ context: Record<string, never>;
4940
5025
  })[];
4941
5026
  connection?: {
4942
5027
  /** Format: uuid */
@@ -4945,22 +5030,17 @@ export interface operations {
4945
5030
  /** @enum {string} */
4946
5031
  status: "active" | "inactive";
4947
5032
  uniqueRef?: string | null;
4948
- app: {
4949
- id: string;
4950
- name: string;
4951
- icon?: string | null;
4952
- importers?: string[] | null;
4953
- extractors?: string[] | null;
4954
- };
5033
+ appId: string;
4955
5034
  } | null;
4956
5035
  nights?: number | null;
4957
- /** @enum {string|null} */
4958
- status?: "booked" | "canceled" | "inactive" | null;
5036
+ /** @enum {string} */
5037
+ status: "booked" | "canceled" | "inactive";
4959
5038
  financials: {
4960
5039
  totals: {
4961
5040
  tax: number;
4962
5041
  manager: number;
4963
5042
  owner: number;
5043
+ reservation: number;
4964
5044
  expense: number;
4965
5045
  deposit: number;
4966
5046
  guest: number;
@@ -4974,6 +5054,8 @@ export interface operations {
4974
5054
  /** @enum {string} */
4975
5055
  status: "active" | "inactive";
4976
5056
  amount: number;
5057
+ /** @enum {string|null} */
5058
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
4977
5059
  account?: {
4978
5060
  id: string;
4979
5061
  name: string;
@@ -5021,13 +5103,7 @@ export interface operations {
5021
5103
  /** @enum {string} */
5022
5104
  status: "active" | "inactive";
5023
5105
  uniqueRef?: string | null;
5024
- app: {
5025
- id: string;
5026
- name: string;
5027
- icon?: string | null;
5028
- importers?: string[] | null;
5029
- extractors?: string[] | null;
5030
- };
5106
+ appId: string;
5031
5107
  } | null;
5032
5108
  uniqueRef?: string | null;
5033
5109
  recurringTemplate?: {
@@ -5045,17 +5121,6 @@ export interface operations {
5045
5121
  /** Format: uuid */
5046
5122
  id: string;
5047
5123
  name: string;
5048
- address?: {
5049
- full?: string | null;
5050
- line1?: string | null;
5051
- line2?: string | null;
5052
- city?: string | null;
5053
- /** @deprecated */
5054
- state?: string | null;
5055
- postalCode?: string | null;
5056
- stateCode?: string | null;
5057
- countryCode?: string | null;
5058
- } | null;
5059
5124
  uniqueRef?: string | null;
5060
5125
  } | null;
5061
5126
  listingConnection?: {
@@ -5305,6 +5370,24 @@ export interface operations {
5305
5370
  /** Format: uuid */
5306
5371
  id: string;
5307
5372
  issues: ({
5373
+ /** @enum {string} */
5374
+ code: "lineNotFound";
5375
+ /** @enum {string} */
5376
+ severity: "error";
5377
+ context: {
5378
+ lineIds: string[];
5379
+ };
5380
+ message: string;
5381
+ } | {
5382
+ /** @enum {string} */
5383
+ code: "unbalancedJournalEntries";
5384
+ /** @enum {string} */
5385
+ severity: "error";
5386
+ context: {
5387
+ difference: number;
5388
+ };
5389
+ message: string;
5390
+ } | {
5308
5391
  /** @enum {string} */
5309
5392
  code: "unassignedAccount";
5310
5393
  /** @enum {string} */
@@ -5334,6 +5417,12 @@ export interface operations {
5334
5417
  /** @enum {string} */
5335
5418
  severity: "warning";
5336
5419
  context: Record<string, never>;
5420
+ } | {
5421
+ /** @enum {string} */
5422
+ code: "guestTotalsZero";
5423
+ /** @enum {string} */
5424
+ severity: "warning";
5425
+ context: Record<string, never>;
5337
5426
  })[];
5338
5427
  connection?: {
5339
5428
  /** Format: uuid */
@@ -5342,32 +5431,15 @@ export interface operations {
5342
5431
  /** @enum {string} */
5343
5432
  status: "active" | "inactive";
5344
5433
  uniqueRef?: string | null;
5345
- app: {
5346
- id: string;
5347
- name: string;
5348
- icon?: string | null;
5349
- importers?: string[] | null;
5350
- extractors?: string[] | null;
5351
- };
5434
+ appId: string;
5352
5435
  } | null;
5353
5436
  nights?: number | null;
5354
- /** @enum {string|null} */
5355
- status?: "booked" | "canceled" | "inactive" | null;
5437
+ /** @enum {string} */
5438
+ status: "booked" | "canceled" | "inactive";
5356
5439
  listing?: {
5357
5440
  /** Format: uuid */
5358
5441
  id: string;
5359
5442
  name: string;
5360
- address?: {
5361
- full?: string | null;
5362
- line1?: string | null;
5363
- line2?: string | null;
5364
- city?: string | null;
5365
- /** @deprecated */
5366
- state?: string | null;
5367
- postalCode?: string | null;
5368
- stateCode?: string | null;
5369
- countryCode?: string | null;
5370
- } | null;
5371
5443
  uniqueRef?: string | null;
5372
5444
  } | null;
5373
5445
  listingConnection?: {
@@ -5581,6 +5653,24 @@ export interface operations {
5581
5653
  id: string;
5582
5654
  hasLockedJournalEntries: boolean;
5583
5655
  issues: ({
5656
+ /** @enum {string} */
5657
+ code: "lineNotFound";
5658
+ /** @enum {string} */
5659
+ severity: "error";
5660
+ context: {
5661
+ lineIds: string[];
5662
+ };
5663
+ message: string;
5664
+ } | {
5665
+ /** @enum {string} */
5666
+ code: "unbalancedJournalEntries";
5667
+ /** @enum {string} */
5668
+ severity: "error";
5669
+ context: {
5670
+ difference: number;
5671
+ };
5672
+ message: string;
5673
+ } | {
5584
5674
  /** @enum {string} */
5585
5675
  code: "unassignedAccount";
5586
5676
  /** @enum {string} */
@@ -5610,6 +5700,12 @@ export interface operations {
5610
5700
  /** @enum {string} */
5611
5701
  severity: "warning";
5612
5702
  context: Record<string, never>;
5703
+ } | {
5704
+ /** @enum {string} */
5705
+ code: "guestTotalsZero";
5706
+ /** @enum {string} */
5707
+ severity: "warning";
5708
+ context: Record<string, never>;
5613
5709
  })[];
5614
5710
  connection?: {
5615
5711
  /** Format: uuid */
@@ -5618,22 +5714,17 @@ export interface operations {
5618
5714
  /** @enum {string} */
5619
5715
  status: "active" | "inactive";
5620
5716
  uniqueRef?: string | null;
5621
- app: {
5622
- id: string;
5623
- name: string;
5624
- icon?: string | null;
5625
- importers?: string[] | null;
5626
- extractors?: string[] | null;
5627
- };
5717
+ appId: string;
5628
5718
  } | null;
5629
5719
  nights?: number | null;
5630
- /** @enum {string|null} */
5631
- status?: "booked" | "canceled" | "inactive" | null;
5720
+ /** @enum {string} */
5721
+ status: "booked" | "canceled" | "inactive";
5632
5722
  financials: {
5633
5723
  totals: {
5634
5724
  tax: number;
5635
5725
  manager: number;
5636
5726
  owner: number;
5727
+ reservation: number;
5637
5728
  expense: number;
5638
5729
  deposit: number;
5639
5730
  guest: number;
@@ -5647,6 +5738,8 @@ export interface operations {
5647
5738
  /** @enum {string} */
5648
5739
  status: "active" | "inactive";
5649
5740
  amount: number;
5741
+ /** @enum {string|null} */
5742
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
5650
5743
  account?: {
5651
5744
  id: string;
5652
5745
  name: string;
@@ -5694,13 +5787,7 @@ export interface operations {
5694
5787
  /** @enum {string} */
5695
5788
  status: "active" | "inactive";
5696
5789
  uniqueRef?: string | null;
5697
- app: {
5698
- id: string;
5699
- name: string;
5700
- icon?: string | null;
5701
- importers?: string[] | null;
5702
- extractors?: string[] | null;
5703
- };
5790
+ appId: string;
5704
5791
  } | null;
5705
5792
  uniqueRef?: string | null;
5706
5793
  recurringTemplate?: {
@@ -5718,17 +5805,6 @@ export interface operations {
5718
5805
  /** Format: uuid */
5719
5806
  id: string;
5720
5807
  name: string;
5721
- address?: {
5722
- full?: string | null;
5723
- line1?: string | null;
5724
- line2?: string | null;
5725
- city?: string | null;
5726
- /** @deprecated */
5727
- state?: string | null;
5728
- postalCode?: string | null;
5729
- stateCode?: string | null;
5730
- countryCode?: string | null;
5731
- } | null;
5732
5808
  uniqueRef?: string | null;
5733
5809
  } | null;
5734
5810
  listingConnection?: {
@@ -5862,7 +5938,7 @@ export interface operations {
5862
5938
  data: {
5863
5939
  /** Format: uuid */
5864
5940
  listingId: string;
5865
- /** @default 2025-11-13 */
5941
+ /** @default 2025-11-20 */
5866
5942
  startAt: string;
5867
5943
  endAt?: string | null;
5868
5944
  setListingInactive?: boolean | null;
@@ -5944,7 +6020,7 @@ export interface operations {
5944
6020
  "application/json": {
5945
6021
  /** Format: uuid */
5946
6022
  listingId: string;
5947
- /** @default 2025-11-13 */
6023
+ /** @default 2025-11-20 */
5948
6024
  startAt?: string;
5949
6025
  endAt?: string | null;
5950
6026
  members: {
@@ -5978,7 +6054,7 @@ export interface operations {
5978
6054
  "application/json": {
5979
6055
  /** Format: uuid */
5980
6056
  listingId: string;
5981
- /** @default 2025-11-13 */
6057
+ /** @default 2025-11-20 */
5982
6058
  startAt: string;
5983
6059
  endAt?: string | null;
5984
6060
  setListingInactive?: boolean | null;
@@ -6058,7 +6134,7 @@ export interface operations {
6058
6134
  "application/json": {
6059
6135
  /** Format: uuid */
6060
6136
  listingId: string;
6061
- /** @default 2025-11-13 */
6137
+ /** @default 2025-11-20 */
6062
6138
  startAt: string;
6063
6139
  endAt?: string | null;
6064
6140
  setListingInactive?: boolean | null;
@@ -6141,7 +6217,7 @@ export interface operations {
6141
6217
  "application/json": {
6142
6218
  /** Format: uuid */
6143
6219
  listingId?: string;
6144
- /** @default 2025-11-13 */
6220
+ /** @default 2025-11-20 */
6145
6221
  startAt?: string;
6146
6222
  endAt?: string | null;
6147
6223
  members?: {
@@ -6175,7 +6251,7 @@ export interface operations {
6175
6251
  "application/json": {
6176
6252
  /** Format: uuid */
6177
6253
  listingId: string;
6178
- /** @default 2025-11-13 */
6254
+ /** @default 2025-11-20 */
6179
6255
  startAt: string;
6180
6256
  endAt?: string | null;
6181
6257
  setListingInactive?: boolean | null;
@@ -6361,7 +6437,7 @@ export interface operations {
6361
6437
  /** Format: uuid */
6362
6438
  sourceId?: string | null;
6363
6439
  initialOwnership?: {
6364
- /** @default 2025-11-13 */
6440
+ /** @default 2025-11-20 */
6365
6441
  startAt?: string;
6366
6442
  endAt?: string | null;
6367
6443
  members: {
@@ -6419,7 +6495,7 @@ export interface operations {
6419
6495
  status: "active" | "inactive";
6420
6496
  defaultCurrency?: string | null;
6421
6497
  activeOwnership?: {
6422
- /** @default 2025-11-13 */
6498
+ /** @default 2025-11-20 */
6423
6499
  startAt: string;
6424
6500
  endAt?: string | null;
6425
6501
  setListingInactive?: boolean | null;
@@ -6660,7 +6736,7 @@ export interface operations {
6660
6736
  status: "active" | "inactive";
6661
6737
  defaultCurrency?: string | null;
6662
6738
  activeOwnership?: {
6663
- /** @default 2025-11-13 */
6739
+ /** @default 2025-11-20 */
6664
6740
  startAt: string;
6665
6741
  endAt?: string | null;
6666
6742
  setListingInactive?: boolean | null;
@@ -6799,7 +6875,7 @@ export interface operations {
6799
6875
  /** Format: uuid */
6800
6876
  sourceId?: string | null;
6801
6877
  initialOwnership?: {
6802
- /** @default 2025-11-13 */
6878
+ /** @default 2025-11-20 */
6803
6879
  startAt?: string;
6804
6880
  endAt?: string | null;
6805
6881
  members: {
@@ -6853,7 +6929,7 @@ export interface operations {
6853
6929
  status: "active" | "inactive";
6854
6930
  defaultCurrency?: string | null;
6855
6931
  activeOwnership?: {
6856
- /** @default 2025-11-13 */
6932
+ /** @default 2025-11-20 */
6857
6933
  startAt: string;
6858
6934
  endAt?: string | null;
6859
6935
  setListingInactive?: boolean | null;
@@ -7070,7 +7146,7 @@ export interface operations {
7070
7146
  status: "active" | "inactive";
7071
7147
  defaultCurrency?: string | null;
7072
7148
  activeOwnership?: {
7073
- /** @default 2025-11-13 */
7149
+ /** @default 2025-11-20 */
7074
7150
  startAt: string;
7075
7151
  endAt?: string | null;
7076
7152
  setListingInactive?: boolean | null;
@@ -7217,7 +7293,7 @@ export interface operations {
7217
7293
  /** Format: uuid */
7218
7294
  sourceId?: string | null;
7219
7295
  initialOwnership?: {
7220
- /** @default 2025-11-13 */
7296
+ /** @default 2025-11-20 */
7221
7297
  startAt?: string;
7222
7298
  endAt?: string | null;
7223
7299
  members: {
@@ -7271,7 +7347,7 @@ export interface operations {
7271
7347
  status: "active" | "inactive";
7272
7348
  defaultCurrency?: string | null;
7273
7349
  activeOwnership?: {
7274
- /** @default 2025-11-13 */
7350
+ /** @default 2025-11-20 */
7275
7351
  startAt: string;
7276
7352
  endAt?: string | null;
7277
7353
  setListingInactive?: boolean | null;
@@ -7914,6 +7990,7 @@ export interface operations {
7914
7990
  countryCode?: string | null;
7915
7991
  } | null;
7916
7992
  phone?: string | null;
7993
+ /** Format: email */
7917
7994
  email?: string | null;
7918
7995
  taxId?: string | null;
7919
7996
  partner?: {
@@ -7930,7 +8007,7 @@ export interface operations {
7930
8007
  /** @enum {string} */
7931
8008
  type: "partner" | "admin" | "propertyManager";
7932
8009
  /** @enum {string} */
7933
- status: "active" | "inactive";
8010
+ status: "active" | "inactive" | "deleted" | "onboarding";
7934
8011
  billingSubscriptionStatus?: string | null;
7935
8012
  billingPlan?: string | null;
7936
8013
  createdAt?: string | null;
@@ -7953,6 +8030,7 @@ export interface operations {
7953
8030
  statementStartAt?: string | null;
7954
8031
  members?: {
7955
8032
  userId: string;
8033
+ /** Format: email */
7956
8034
  email?: string | null;
7957
8035
  role: string;
7958
8036
  name?: string | null;
@@ -8050,6 +8128,7 @@ export interface operations {
8050
8128
  countryCode?: string | null;
8051
8129
  } | null;
8052
8130
  phone?: string | null;
8131
+ /** Format: email */
8053
8132
  email?: string | null;
8054
8133
  taxId?: string | null;
8055
8134
  companyName?: string | null;
@@ -8123,6 +8202,7 @@ export interface operations {
8123
8202
  countryCode?: string | null;
8124
8203
  } | null;
8125
8204
  phone?: string | null;
8205
+ /** Format: email */
8126
8206
  email?: string | null;
8127
8207
  taxId?: string | null;
8128
8208
  partner?: {
@@ -8139,7 +8219,7 @@ export interface operations {
8139
8219
  /** @enum {string} */
8140
8220
  type: "partner" | "admin" | "propertyManager";
8141
8221
  /** @enum {string} */
8142
- status: "active" | "inactive";
8222
+ status: "active" | "inactive" | "deleted" | "onboarding";
8143
8223
  billingSubscriptionStatus?: string | null;
8144
8224
  billingPlan?: string | null;
8145
8225
  createdAt?: string | null;
@@ -8162,6 +8242,7 @@ export interface operations {
8162
8242
  statementStartAt?: string | null;
8163
8243
  members?: {
8164
8244
  userId: string;
8245
+ /** Format: email */
8165
8246
  email?: string | null;
8166
8247
  role: string;
8167
8248
  name?: string | null;
@@ -8343,6 +8424,7 @@ export interface operations {
8343
8424
  countryCode?: string | null;
8344
8425
  } | null;
8345
8426
  phone?: string | null;
8427
+ /** Format: email */
8346
8428
  email?: string | null;
8347
8429
  taxId?: string | null;
8348
8430
  partner?: {
@@ -8359,7 +8441,7 @@ export interface operations {
8359
8441
  /** @enum {string} */
8360
8442
  type: "partner" | "admin" | "propertyManager";
8361
8443
  /** @enum {string} */
8362
- status: "active" | "inactive";
8444
+ status: "active" | "inactive" | "deleted" | "onboarding";
8363
8445
  billingSubscriptionStatus?: string | null;
8364
8446
  billingPlan?: string | null;
8365
8447
  createdAt?: string | null;
@@ -8382,6 +8464,7 @@ export interface operations {
8382
8464
  statementStartAt?: string | null;
8383
8465
  members?: {
8384
8466
  userId: string;
8467
+ /** Format: email */
8385
8468
  email?: string | null;
8386
8469
  role: string;
8387
8470
  name?: string | null;
@@ -8485,13 +8568,14 @@ export interface operations {
8485
8568
  countryCode?: string | null;
8486
8569
  } | null;
8487
8570
  phone?: string | null;
8571
+ /** Format: email */
8488
8572
  email?: string | null;
8489
8573
  taxId?: string | null;
8490
8574
  companyName?: string | null;
8491
8575
  /** @enum {string} */
8492
8576
  type?: "partner" | "admin" | "propertyManager";
8493
8577
  /** @enum {string} */
8494
- status?: "active" | "inactive";
8578
+ status?: "active" | "inactive" | "deleted" | "onboarding";
8495
8579
  billingSubscriptionStatus?: string | null;
8496
8580
  billingPlan?: string | null;
8497
8581
  trialUntil?: string | null;
@@ -8504,7 +8588,7 @@ export interface operations {
8504
8588
  taxRateCountryOverwrite?: string | null;
8505
8589
  copyFromTeamId?: string;
8506
8590
  copyLineMappingsFromPartnerId?: string | null;
8507
- include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates")[];
8591
+ include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates" | "lineMappings")[];
8508
8592
  } | boolean;
8509
8593
  partnerId?: string | null;
8510
8594
  billingPartnerId?: string | null;
@@ -8553,6 +8637,7 @@ export interface operations {
8553
8637
  countryCode?: string | null;
8554
8638
  } | null;
8555
8639
  phone?: string | null;
8640
+ /** Format: email */
8556
8641
  email?: string | null;
8557
8642
  taxId?: string | null;
8558
8643
  partner?: {
@@ -8569,7 +8654,7 @@ export interface operations {
8569
8654
  /** @enum {string} */
8570
8655
  type: "partner" | "admin" | "propertyManager";
8571
8656
  /** @enum {string} */
8572
- status: "active" | "inactive";
8657
+ status: "active" | "inactive" | "deleted" | "onboarding";
8573
8658
  billingSubscriptionStatus?: string | null;
8574
8659
  billingPlan?: string | null;
8575
8660
  createdAt?: string | null;
@@ -8592,6 +8677,7 @@ export interface operations {
8592
8677
  statementStartAt?: string | null;
8593
8678
  members?: {
8594
8679
  userId: string;
8680
+ /** Format: email */
8595
8681
  email?: string | null;
8596
8682
  role: string;
8597
8683
  name?: string | null;
@@ -8655,7 +8741,7 @@ export interface operations {
8655
8741
  taxRateCountryOverwrite?: string | null;
8656
8742
  copyFromTeamId?: string;
8657
8743
  copyLineMappingsFromPartnerId?: string | null;
8658
- include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates")[];
8744
+ include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates" | "lineMappings")[];
8659
8745
  };
8660
8746
  };
8661
8747
  };
@@ -8697,6 +8783,7 @@ export interface operations {
8697
8783
  countryCode?: string | null;
8698
8784
  } | null;
8699
8785
  phone?: string | null;
8786
+ /** Format: email */
8700
8787
  email?: string | null;
8701
8788
  taxId?: string | null;
8702
8789
  partner?: {
@@ -8713,7 +8800,7 @@ export interface operations {
8713
8800
  /** @enum {string} */
8714
8801
  type: "partner" | "admin" | "propertyManager";
8715
8802
  /** @enum {string} */
8716
- status: "active" | "inactive";
8803
+ status: "active" | "inactive" | "deleted" | "onboarding";
8717
8804
  billingSubscriptionStatus?: string | null;
8718
8805
  billingPlan?: string | null;
8719
8806
  createdAt?: string | null;
@@ -8736,6 +8823,7 @@ export interface operations {
8736
8823
  statementStartAt?: string | null;
8737
8824
  members?: {
8738
8825
  userId: string;
8826
+ /** Format: email */
8739
8827
  email?: string | null;
8740
8828
  role: string;
8741
8829
  name?: string | null;
@@ -8969,6 +9057,13 @@ export interface operations {
8969
9057
  bookingChannelsFilter?: string[] | null;
8970
9058
  /** @enum {string|null} */
8971
9059
  statusFilter?: "canceled" | "booked" | null;
9060
+ listingSubscriptions?: {
9061
+ listingId: string;
9062
+ startAt?: string | null;
9063
+ endAt?: string | null;
9064
+ /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9065
+ rate?: number | null;
9066
+ }[] | null;
8972
9067
  id?: string | null;
8973
9068
  reservationId: string;
8974
9069
  };
@@ -8986,6 +9081,7 @@ export interface operations {
8986
9081
  tax: number;
8987
9082
  manager: number;
8988
9083
  owner: number;
9084
+ reservation: number;
8989
9085
  expense: number;
8990
9086
  deposit: number;
8991
9087
  guest: number;
@@ -9000,6 +9096,8 @@ export interface operations {
9000
9096
  /** @enum {string} */
9001
9097
  status: "active" | "inactive";
9002
9098
  amount: number;
9099
+ /** @enum {string|null} */
9100
+ inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
9003
9101
  fee: number;
9004
9102
  account?: {
9005
9103
  id: string;
@@ -9048,13 +9146,7 @@ export interface operations {
9048
9146
  /** @enum {string} */
9049
9147
  status: "active" | "inactive";
9050
9148
  uniqueRef?: string | null;
9051
- app: {
9052
- id: string;
9053
- name: string;
9054
- icon?: string | null;
9055
- importers?: string[] | null;
9056
- extractors?: string[] | null;
9057
- };
9149
+ appId: string;
9058
9150
  } | null;
9059
9151
  uniqueRef?: string | null;
9060
9152
  recurringTemplate?: {
@@ -9617,21 +9709,10 @@ export interface operations {
9617
9709
  status: "active" | "inactive";
9618
9710
  }[];
9619
9711
  taxRate?: {
9712
+ id: string;
9620
9713
  name: string;
9621
- countryCode?: string | null;
9622
- currency?: string | null;
9623
9714
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9624
9715
  basisPoints: number;
9625
- /** @enum {string|null} */
9626
- type?: "markup" | "tax" | null;
9627
- uniqueRef?: string | null;
9628
- /** @enum {string|null} */
9629
- status?: "active" | "inactive" | null;
9630
- /** Format: uuid */
9631
- accountId?: string | null;
9632
- /** Format: uuid */
9633
- debitAccountId?: string | null;
9634
- id: string;
9635
9716
  } | null;
9636
9717
  };
9637
9718
  };
@@ -9726,6 +9807,13 @@ export interface operations {
9726
9807
  bookingChannelsFilter?: string[] | null;
9727
9808
  /** @enum {string|null} */
9728
9809
  statusFilter?: "canceled" | "booked" | null;
9810
+ listingSubscriptions?: {
9811
+ listingId: string;
9812
+ startAt?: string | null;
9813
+ endAt?: string | null;
9814
+ /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9815
+ rate?: number | null;
9816
+ }[] | null;
9729
9817
  };
9730
9818
  };
9731
9819
  };
@@ -9786,21 +9874,10 @@ export interface operations {
9786
9874
  status: "active" | "inactive";
9787
9875
  }[];
9788
9876
  taxRate?: {
9877
+ id: string;
9789
9878
  name: string;
9790
- countryCode?: string | null;
9791
- currency?: string | null;
9792
9879
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9793
9880
  basisPoints: number;
9794
- /** @enum {string|null} */
9795
- type?: "markup" | "tax" | null;
9796
- uniqueRef?: string | null;
9797
- /** @enum {string|null} */
9798
- status?: "active" | "inactive" | null;
9799
- /** Format: uuid */
9800
- accountId?: string | null;
9801
- /** Format: uuid */
9802
- debitAccountId?: string | null;
9803
- id: string;
9804
9881
  } | null;
9805
9882
  };
9806
9883
  };
@@ -9994,21 +10071,10 @@ export interface operations {
9994
10071
  status: "active" | "inactive";
9995
10072
  }[];
9996
10073
  taxRate?: {
10074
+ id: string;
9997
10075
  name: string;
9998
- countryCode?: string | null;
9999
- currency?: string | null;
10000
10076
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
10001
10077
  basisPoints: number;
10002
- /** @enum {string|null} */
10003
- type?: "markup" | "tax" | null;
10004
- uniqueRef?: string | null;
10005
- /** @enum {string|null} */
10006
- status?: "active" | "inactive" | null;
10007
- /** Format: uuid */
10008
- accountId?: string | null;
10009
- /** Format: uuid */
10010
- debitAccountId?: string | null;
10011
- id: string;
10012
10078
  } | null;
10013
10079
  }[];
10014
10080
  pagination: {
@@ -10111,6 +10177,13 @@ export interface operations {
10111
10177
  bookingChannelsFilter?: string[] | null;
10112
10178
  /** @enum {string|null} */
10113
10179
  statusFilter?: "canceled" | "booked" | null;
10180
+ listingSubscriptions?: {
10181
+ listingId: string;
10182
+ startAt?: string | null;
10183
+ endAt?: string | null;
10184
+ /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
10185
+ rate?: number | null;
10186
+ }[] | null;
10114
10187
  };
10115
10188
  };
10116
10189
  };
@@ -10171,21 +10244,10 @@ export interface operations {
10171
10244
  status: "active" | "inactive";
10172
10245
  }[];
10173
10246
  taxRate?: {
10247
+ id: string;
10174
10248
  name: string;
10175
- countryCode?: string | null;
10176
- currency?: string | null;
10177
10249
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
10178
10250
  basisPoints: number;
10179
- /** @enum {string|null} */
10180
- type?: "markup" | "tax" | null;
10181
- uniqueRef?: string | null;
10182
- /** @enum {string|null} */
10183
- status?: "active" | "inactive" | null;
10184
- /** Format: uuid */
10185
- accountId?: string | null;
10186
- /** Format: uuid */
10187
- debitAccountId?: string | null;
10188
- id: string;
10189
10251
  } | null;
10190
10252
  };
10191
10253
  };
@@ -10259,13 +10321,13 @@ export interface operations {
10259
10321
  name: string;
10260
10322
  locked?: boolean | null;
10261
10323
  /** @enum {string|null} */
10262
- visible?: "all" | "manager" | "none" | null;
10324
+ visible?: "all" | "manager" | "owner" | "none" | null;
10263
10325
  columns: ({
10264
10326
  id?: string | null;
10265
10327
  name: string;
10266
10328
  locked?: boolean | null;
10267
10329
  /** @enum {string|null} */
10268
- visible?: "all" | "manager" | "none" | null;
10330
+ visible?: "all" | "manager" | "owner" | "none" | null;
10269
10331
  /** @enum {string} */
10270
10332
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10271
10333
  value: string;
@@ -10274,7 +10336,7 @@ export interface operations {
10274
10336
  name: string;
10275
10337
  locked?: boolean | null;
10276
10338
  /** @enum {string|null} */
10277
- visible?: "all" | "manager" | "none" | null;
10339
+ visible?: "all" | "manager" | "owner" | "none" | null;
10278
10340
  /** @enum {string} */
10279
10341
  type: "accounts";
10280
10342
  value: string[];
@@ -10285,13 +10347,13 @@ export interface operations {
10285
10347
  name: string;
10286
10348
  locked?: boolean | null;
10287
10349
  /** @enum {string|null} */
10288
- visible?: "all" | "manager" | "none" | null;
10350
+ visible?: "all" | "manager" | "owner" | "none" | null;
10289
10351
  columns: ({
10290
10352
  id?: string | null;
10291
10353
  name: string;
10292
10354
  locked?: boolean | null;
10293
10355
  /** @enum {string|null} */
10294
- visible?: "all" | "manager" | "none" | null;
10356
+ visible?: "all" | "manager" | "owner" | "none" | null;
10295
10357
  /** @enum {string} */
10296
10358
  type: "field";
10297
10359
  value: string;
@@ -10300,7 +10362,7 @@ export interface operations {
10300
10362
  name: string;
10301
10363
  locked?: boolean | null;
10302
10364
  /** @enum {string|null} */
10303
- visible?: "all" | "manager" | "none" | null;
10365
+ visible?: "all" | "manager" | "owner" | "none" | null;
10304
10366
  /** @enum {string} */
10305
10367
  type: "accounts";
10306
10368
  value: string[];
@@ -10324,13 +10386,13 @@ export interface operations {
10324
10386
  name: string;
10325
10387
  locked?: boolean | null;
10326
10388
  /** @enum {string|null} */
10327
- visible?: "all" | "manager" | "none" | null;
10389
+ visible?: "all" | "manager" | "owner" | "none" | null;
10328
10390
  columns: ({
10329
10391
  id?: string | null;
10330
10392
  name: string;
10331
10393
  locked?: boolean | null;
10332
10394
  /** @enum {string|null} */
10333
- visible?: "all" | "manager" | "none" | null;
10395
+ visible?: "all" | "manager" | "owner" | "none" | null;
10334
10396
  /** @enum {string} */
10335
10397
  type: "field";
10336
10398
  value: string;
@@ -10339,7 +10401,7 @@ export interface operations {
10339
10401
  name: string;
10340
10402
  locked?: boolean | null;
10341
10403
  /** @enum {string|null} */
10342
- visible?: "all" | "manager" | "none" | null;
10404
+ visible?: "all" | "manager" | "owner" | "none" | null;
10343
10405
  /** @enum {string} */
10344
10406
  type: "accounts";
10345
10407
  value: string[];
@@ -10427,13 +10489,13 @@ export interface operations {
10427
10489
  name: string;
10428
10490
  locked?: boolean | null;
10429
10491
  /** @enum {string|null} */
10430
- visible?: "all" | "manager" | "none" | null;
10492
+ visible?: "all" | "manager" | "owner" | "none" | null;
10431
10493
  columns: ({
10432
10494
  id?: string | null;
10433
10495
  name: string;
10434
10496
  locked?: boolean | null;
10435
10497
  /** @enum {string|null} */
10436
- visible?: "all" | "manager" | "none" | null;
10498
+ visible?: "all" | "manager" | "owner" | "none" | null;
10437
10499
  /** @enum {string} */
10438
10500
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10439
10501
  value: string;
@@ -10442,7 +10504,7 @@ export interface operations {
10442
10504
  name: string;
10443
10505
  locked?: boolean | null;
10444
10506
  /** @enum {string|null} */
10445
- visible?: "all" | "manager" | "none" | null;
10507
+ visible?: "all" | "manager" | "owner" | "none" | null;
10446
10508
  /** @enum {string} */
10447
10509
  type: "accounts";
10448
10510
  value: string[];
@@ -10453,13 +10515,13 @@ export interface operations {
10453
10515
  name: string;
10454
10516
  locked?: boolean | null;
10455
10517
  /** @enum {string|null} */
10456
- visible?: "all" | "manager" | "none" | null;
10518
+ visible?: "all" | "manager" | "owner" | "none" | null;
10457
10519
  columns: ({
10458
10520
  id?: string | null;
10459
10521
  name: string;
10460
10522
  locked?: boolean | null;
10461
10523
  /** @enum {string|null} */
10462
- visible?: "all" | "manager" | "none" | null;
10524
+ visible?: "all" | "manager" | "owner" | "none" | null;
10463
10525
  /** @enum {string} */
10464
10526
  type: "field";
10465
10527
  value: string;
@@ -10468,7 +10530,7 @@ export interface operations {
10468
10530
  name: string;
10469
10531
  locked?: boolean | null;
10470
10532
  /** @enum {string|null} */
10471
- visible?: "all" | "manager" | "none" | null;
10533
+ visible?: "all" | "manager" | "owner" | "none" | null;
10472
10534
  /** @enum {string} */
10473
10535
  type: "accounts";
10474
10536
  value: string[];
@@ -10494,13 +10556,13 @@ export interface operations {
10494
10556
  name: string;
10495
10557
  locked?: boolean | null;
10496
10558
  /** @enum {string|null} */
10497
- visible?: "all" | "manager" | "none" | null;
10559
+ visible?: "all" | "manager" | "owner" | "none" | null;
10498
10560
  columns: ({
10499
10561
  id?: string | null;
10500
10562
  name: string;
10501
10563
  locked?: boolean | null;
10502
10564
  /** @enum {string|null} */
10503
- visible?: "all" | "manager" | "none" | null;
10565
+ visible?: "all" | "manager" | "owner" | "none" | null;
10504
10566
  /** @enum {string} */
10505
10567
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10506
10568
  value: string;
@@ -10509,7 +10571,7 @@ export interface operations {
10509
10571
  name: string;
10510
10572
  locked?: boolean | null;
10511
10573
  /** @enum {string|null} */
10512
- visible?: "all" | "manager" | "none" | null;
10574
+ visible?: "all" | "manager" | "owner" | "none" | null;
10513
10575
  /** @enum {string} */
10514
10576
  type: "accounts";
10515
10577
  value: string[];
@@ -10520,13 +10582,13 @@ export interface operations {
10520
10582
  name: string;
10521
10583
  locked?: boolean | null;
10522
10584
  /** @enum {string|null} */
10523
- visible?: "all" | "manager" | "none" | null;
10585
+ visible?: "all" | "manager" | "owner" | "none" | null;
10524
10586
  columns: ({
10525
10587
  id?: string | null;
10526
10588
  name: string;
10527
10589
  locked?: boolean | null;
10528
10590
  /** @enum {string|null} */
10529
- visible?: "all" | "manager" | "none" | null;
10591
+ visible?: "all" | "manager" | "owner" | "none" | null;
10530
10592
  /** @enum {string} */
10531
10593
  type: "field";
10532
10594
  value: string;
@@ -10535,7 +10597,7 @@ export interface operations {
10535
10597
  name: string;
10536
10598
  locked?: boolean | null;
10537
10599
  /** @enum {string|null} */
10538
- visible?: "all" | "manager" | "none" | null;
10600
+ visible?: "all" | "manager" | "owner" | "none" | null;
10539
10601
  /** @enum {string} */
10540
10602
  type: "accounts";
10541
10603
  value: string[];
@@ -10559,13 +10621,13 @@ export interface operations {
10559
10621
  name: string;
10560
10622
  locked?: boolean | null;
10561
10623
  /** @enum {string|null} */
10562
- visible?: "all" | "manager" | "none" | null;
10624
+ visible?: "all" | "manager" | "owner" | "none" | null;
10563
10625
  columns: ({
10564
10626
  id?: string | null;
10565
10627
  name: string;
10566
10628
  locked?: boolean | null;
10567
10629
  /** @enum {string|null} */
10568
- visible?: "all" | "manager" | "none" | null;
10630
+ visible?: "all" | "manager" | "owner" | "none" | null;
10569
10631
  /** @enum {string} */
10570
10632
  type: "field";
10571
10633
  value: string;
@@ -10574,7 +10636,7 @@ export interface operations {
10574
10636
  name: string;
10575
10637
  locked?: boolean | null;
10576
10638
  /** @enum {string|null} */
10577
- visible?: "all" | "manager" | "none" | null;
10639
+ visible?: "all" | "manager" | "owner" | "none" | null;
10578
10640
  /** @enum {string} */
10579
10641
  type: "accounts";
10580
10642
  value: string[];
@@ -10650,13 +10712,13 @@ export interface operations {
10650
10712
  name: string;
10651
10713
  locked?: boolean | null;
10652
10714
  /** @enum {string|null} */
10653
- visible?: "all" | "manager" | "none" | null;
10715
+ visible?: "all" | "manager" | "owner" | "none" | null;
10654
10716
  columns: ({
10655
10717
  id?: string | null;
10656
10718
  name: string;
10657
10719
  locked?: boolean | null;
10658
10720
  /** @enum {string|null} */
10659
- visible?: "all" | "manager" | "none" | null;
10721
+ visible?: "all" | "manager" | "owner" | "none" | null;
10660
10722
  /** @enum {string} */
10661
10723
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10662
10724
  value: string;
@@ -10665,7 +10727,7 @@ export interface operations {
10665
10727
  name: string;
10666
10728
  locked?: boolean | null;
10667
10729
  /** @enum {string|null} */
10668
- visible?: "all" | "manager" | "none" | null;
10730
+ visible?: "all" | "manager" | "owner" | "none" | null;
10669
10731
  /** @enum {string} */
10670
10732
  type: "accounts";
10671
10733
  value: string[];
@@ -10676,13 +10738,13 @@ export interface operations {
10676
10738
  name: string;
10677
10739
  locked?: boolean | null;
10678
10740
  /** @enum {string|null} */
10679
- visible?: "all" | "manager" | "none" | null;
10741
+ visible?: "all" | "manager" | "owner" | "none" | null;
10680
10742
  columns: ({
10681
10743
  id?: string | null;
10682
10744
  name: string;
10683
10745
  locked?: boolean | null;
10684
10746
  /** @enum {string|null} */
10685
- visible?: "all" | "manager" | "none" | null;
10747
+ visible?: "all" | "manager" | "owner" | "none" | null;
10686
10748
  /** @enum {string} */
10687
10749
  type: "field";
10688
10750
  value: string;
@@ -10691,7 +10753,7 @@ export interface operations {
10691
10753
  name: string;
10692
10754
  locked?: boolean | null;
10693
10755
  /** @enum {string|null} */
10694
- visible?: "all" | "manager" | "none" | null;
10756
+ visible?: "all" | "manager" | "owner" | "none" | null;
10695
10757
  /** @enum {string} */
10696
10758
  type: "accounts";
10697
10759
  value: string[];
@@ -10715,13 +10777,13 @@ export interface operations {
10715
10777
  name: string;
10716
10778
  locked?: boolean | null;
10717
10779
  /** @enum {string|null} */
10718
- visible?: "all" | "manager" | "none" | null;
10780
+ visible?: "all" | "manager" | "owner" | "none" | null;
10719
10781
  columns: ({
10720
10782
  id?: string | null;
10721
10783
  name: string;
10722
10784
  locked?: boolean | null;
10723
10785
  /** @enum {string|null} */
10724
- visible?: "all" | "manager" | "none" | null;
10786
+ visible?: "all" | "manager" | "owner" | "none" | null;
10725
10787
  /** @enum {string} */
10726
10788
  type: "field";
10727
10789
  value: string;
@@ -10730,7 +10792,7 @@ export interface operations {
10730
10792
  name: string;
10731
10793
  locked?: boolean | null;
10732
10794
  /** @enum {string|null} */
10733
- visible?: "all" | "manager" | "none" | null;
10795
+ visible?: "all" | "manager" | "owner" | "none" | null;
10734
10796
  /** @enum {string} */
10735
10797
  type: "accounts";
10736
10798
  value: string[];
@@ -10810,13 +10872,13 @@ export interface operations {
10810
10872
  name: string;
10811
10873
  locked?: boolean | null;
10812
10874
  /** @enum {string|null} */
10813
- visible?: "all" | "manager" | "none" | null;
10875
+ visible?: "all" | "manager" | "owner" | "none" | null;
10814
10876
  columns: ({
10815
10877
  id?: string | null;
10816
10878
  name: string;
10817
10879
  locked?: boolean | null;
10818
10880
  /** @enum {string|null} */
10819
- visible?: "all" | "manager" | "none" | null;
10881
+ visible?: "all" | "manager" | "owner" | "none" | null;
10820
10882
  /** @enum {string} */
10821
10883
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10822
10884
  value: string;
@@ -10825,7 +10887,7 @@ export interface operations {
10825
10887
  name: string;
10826
10888
  locked?: boolean | null;
10827
10889
  /** @enum {string|null} */
10828
- visible?: "all" | "manager" | "none" | null;
10890
+ visible?: "all" | "manager" | "owner" | "none" | null;
10829
10891
  /** @enum {string} */
10830
10892
  type: "accounts";
10831
10893
  value: string[];
@@ -10836,13 +10898,13 @@ export interface operations {
10836
10898
  name: string;
10837
10899
  locked?: boolean | null;
10838
10900
  /** @enum {string|null} */
10839
- visible?: "all" | "manager" | "none" | null;
10901
+ visible?: "all" | "manager" | "owner" | "none" | null;
10840
10902
  columns: ({
10841
10903
  id?: string | null;
10842
10904
  name: string;
10843
10905
  locked?: boolean | null;
10844
10906
  /** @enum {string|null} */
10845
- visible?: "all" | "manager" | "none" | null;
10907
+ visible?: "all" | "manager" | "owner" | "none" | null;
10846
10908
  /** @enum {string} */
10847
10909
  type: "field";
10848
10910
  value: string;
@@ -10851,7 +10913,7 @@ export interface operations {
10851
10913
  name: string;
10852
10914
  locked?: boolean | null;
10853
10915
  /** @enum {string|null} */
10854
- visible?: "all" | "manager" | "none" | null;
10916
+ visible?: "all" | "manager" | "owner" | "none" | null;
10855
10917
  /** @enum {string} */
10856
10918
  type: "accounts";
10857
10919
  value: string[];
@@ -10877,13 +10939,13 @@ export interface operations {
10877
10939
  name: string;
10878
10940
  locked?: boolean | null;
10879
10941
  /** @enum {string|null} */
10880
- visible?: "all" | "manager" | "none" | null;
10942
+ visible?: "all" | "manager" | "owner" | "none" | null;
10881
10943
  columns: ({
10882
10944
  id?: string | null;
10883
10945
  name: string;
10884
10946
  locked?: boolean | null;
10885
10947
  /** @enum {string|null} */
10886
- visible?: "all" | "manager" | "none" | null;
10948
+ visible?: "all" | "manager" | "owner" | "none" | null;
10887
10949
  /** @enum {string} */
10888
10950
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10889
10951
  value: string;
@@ -10892,7 +10954,7 @@ export interface operations {
10892
10954
  name: string;
10893
10955
  locked?: boolean | null;
10894
10956
  /** @enum {string|null} */
10895
- visible?: "all" | "manager" | "none" | null;
10957
+ visible?: "all" | "manager" | "owner" | "none" | null;
10896
10958
  /** @enum {string} */
10897
10959
  type: "accounts";
10898
10960
  value: string[];
@@ -10903,13 +10965,13 @@ export interface operations {
10903
10965
  name: string;
10904
10966
  locked?: boolean | null;
10905
10967
  /** @enum {string|null} */
10906
- visible?: "all" | "manager" | "none" | null;
10968
+ visible?: "all" | "manager" | "owner" | "none" | null;
10907
10969
  columns: ({
10908
10970
  id?: string | null;
10909
10971
  name: string;
10910
10972
  locked?: boolean | null;
10911
10973
  /** @enum {string|null} */
10912
- visible?: "all" | "manager" | "none" | null;
10974
+ visible?: "all" | "manager" | "owner" | "none" | null;
10913
10975
  /** @enum {string} */
10914
10976
  type: "field";
10915
10977
  value: string;
@@ -10918,7 +10980,7 @@ export interface operations {
10918
10980
  name: string;
10919
10981
  locked?: boolean | null;
10920
10982
  /** @enum {string|null} */
10921
- visible?: "all" | "manager" | "none" | null;
10983
+ visible?: "all" | "manager" | "owner" | "none" | null;
10922
10984
  /** @enum {string} */
10923
10985
  type: "accounts";
10924
10986
  value: string[];
@@ -10942,13 +11004,13 @@ export interface operations {
10942
11004
  name: string;
10943
11005
  locked?: boolean | null;
10944
11006
  /** @enum {string|null} */
10945
- visible?: "all" | "manager" | "none" | null;
11007
+ visible?: "all" | "manager" | "owner" | "none" | null;
10946
11008
  columns: ({
10947
11009
  id?: string | null;
10948
11010
  name: string;
10949
11011
  locked?: boolean | null;
10950
11012
  /** @enum {string|null} */
10951
- visible?: "all" | "manager" | "none" | null;
11013
+ visible?: "all" | "manager" | "owner" | "none" | null;
10952
11014
  /** @enum {string} */
10953
11015
  type: "field";
10954
11016
  value: string;
@@ -10957,7 +11019,7 @@ export interface operations {
10957
11019
  name: string;
10958
11020
  locked?: boolean | null;
10959
11021
  /** @enum {string|null} */
10960
- visible?: "all" | "manager" | "none" | null;
11022
+ visible?: "all" | "manager" | "owner" | "none" | null;
10961
11023
  /** @enum {string} */
10962
11024
  type: "accounts";
10963
11025
  value: string[];
@@ -11230,13 +11292,7 @@ export interface operations {
11230
11292
  /** @enum {string} */
11231
11293
  status: "active" | "inactive";
11232
11294
  uniqueRef?: string | null;
11233
- app: {
11234
- id: string;
11235
- name: string;
11236
- icon?: string | null;
11237
- importers?: string[] | null;
11238
- extractors?: string[] | null;
11239
- };
11295
+ appId: string;
11240
11296
  } | null;
11241
11297
  contact?: {
11242
11298
  /** Format: uuid */
@@ -11531,13 +11587,13 @@ export interface operations {
11531
11587
  name: string;
11532
11588
  locked?: boolean | null;
11533
11589
  /** @enum {string|null} */
11534
- visible?: "all" | "manager" | "none" | null;
11590
+ visible?: "all" | "manager" | "owner" | "none" | null;
11535
11591
  columns: ({
11536
11592
  id?: string | null;
11537
11593
  name: string;
11538
11594
  locked?: boolean | null;
11539
11595
  /** @enum {string|null} */
11540
- visible?: "all" | "manager" | "none" | null;
11596
+ visible?: "all" | "manager" | "owner" | "none" | null;
11541
11597
  /** @enum {string} */
11542
11598
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
11543
11599
  value: string;
@@ -11546,7 +11602,7 @@ export interface operations {
11546
11602
  name: string;
11547
11603
  locked?: boolean | null;
11548
11604
  /** @enum {string|null} */
11549
- visible?: "all" | "manager" | "none" | null;
11605
+ visible?: "all" | "manager" | "owner" | "none" | null;
11550
11606
  /** @enum {string} */
11551
11607
  type: "accounts";
11552
11608
  value: string[];
@@ -11557,13 +11613,13 @@ export interface operations {
11557
11613
  name: string;
11558
11614
  locked?: boolean | null;
11559
11615
  /** @enum {string|null} */
11560
- visible?: "all" | "manager" | "none" | null;
11616
+ visible?: "all" | "manager" | "owner" | "none" | null;
11561
11617
  columns: ({
11562
11618
  id?: string | null;
11563
11619
  name: string;
11564
11620
  locked?: boolean | null;
11565
11621
  /** @enum {string|null} */
11566
- visible?: "all" | "manager" | "none" | null;
11622
+ visible?: "all" | "manager" | "owner" | "none" | null;
11567
11623
  /** @enum {string} */
11568
11624
  type: "field";
11569
11625
  value: string;
@@ -11572,7 +11628,7 @@ export interface operations {
11572
11628
  name: string;
11573
11629
  locked?: boolean | null;
11574
11630
  /** @enum {string|null} */
11575
- visible?: "all" | "manager" | "none" | null;
11631
+ visible?: "all" | "manager" | "owner" | "none" | null;
11576
11632
  /** @enum {string} */
11577
11633
  type: "accounts";
11578
11634
  value: string[];
@@ -11596,13 +11652,13 @@ export interface operations {
11596
11652
  name: string;
11597
11653
  locked?: boolean | null;
11598
11654
  /** @enum {string|null} */
11599
- visible?: "all" | "manager" | "none" | null;
11655
+ visible?: "all" | "manager" | "owner" | "none" | null;
11600
11656
  columns: ({
11601
11657
  id?: string | null;
11602
11658
  name: string;
11603
11659
  locked?: boolean | null;
11604
11660
  /** @enum {string|null} */
11605
- visible?: "all" | "manager" | "none" | null;
11661
+ visible?: "all" | "manager" | "owner" | "none" | null;
11606
11662
  /** @enum {string} */
11607
11663
  type: "field";
11608
11664
  value: string;
@@ -11611,7 +11667,7 @@ export interface operations {
11611
11667
  name: string;
11612
11668
  locked?: boolean | null;
11613
11669
  /** @enum {string|null} */
11614
- visible?: "all" | "manager" | "none" | null;
11670
+ visible?: "all" | "manager" | "owner" | "none" | null;
11615
11671
  /** @enum {string} */
11616
11672
  type: "accounts";
11617
11673
  value: string[];
@@ -11831,6 +11887,103 @@ export interface operations {
11831
11887
  };
11832
11888
  };
11833
11889
  };
11890
+ getOwnerStatementTotals: {
11891
+ parameters: {
11892
+ query: {
11893
+ /** @description Date in format YYYY-MM */
11894
+ month: string;
11895
+ /** @description comma separated listings */
11896
+ listingIds?: string;
11897
+ /** @description comma separated owners */
11898
+ ownerIds?: string;
11899
+ status?: ("draft" | "inReview" | "void" | "published") | "all";
11900
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
11901
+ currency?: string;
11902
+ search?: string;
11903
+ includePreviousUnattached?: boolean;
11904
+ };
11905
+ header?: {
11906
+ "X-Team-Id"?: string;
11907
+ };
11908
+ path?: never;
11909
+ cookie?: never;
11910
+ };
11911
+ requestBody?: never;
11912
+ responses: {
11913
+ /** @description Successful response */
11914
+ 200: {
11915
+ headers: {
11916
+ [name: string]: unknown;
11917
+ };
11918
+ content: {
11919
+ "application/json": {
11920
+ aggregates: {
11921
+ /** @description Value in cents (100 = 1€) */
11922
+ balanceStart: number;
11923
+ /** @description Value in cents (100 = 1€) */
11924
+ netRevenue: number;
11925
+ /** @description Value in cents (100 = 1€) */
11926
+ expenses: number;
11927
+ /** @description Value in cents (100 = 1€) */
11928
+ netIncome: number;
11929
+ /** @description Value in cents (100 = 1€) */
11930
+ transfers: number;
11931
+ /** @description Value in cents (100 = 1€) */
11932
+ balanceEnd: number;
11933
+ currency: string;
11934
+ }[];
11935
+ total: number;
11936
+ defaultCurrency: string;
11937
+ };
11938
+ };
11939
+ };
11940
+ /** @description Invalid input data */
11941
+ 400: {
11942
+ headers: {
11943
+ [name: string]: unknown;
11944
+ };
11945
+ content: {
11946
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
11947
+ };
11948
+ };
11949
+ /** @description Authorization not provided */
11950
+ 401: {
11951
+ headers: {
11952
+ [name: string]: unknown;
11953
+ };
11954
+ content: {
11955
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
11956
+ };
11957
+ };
11958
+ /** @description Insufficient access */
11959
+ 403: {
11960
+ headers: {
11961
+ [name: string]: unknown;
11962
+ };
11963
+ content: {
11964
+ "application/json": components["schemas"]["error.FORBIDDEN"];
11965
+ };
11966
+ };
11967
+ /** @description Not found */
11968
+ 404: {
11969
+ headers: {
11970
+ [name: string]: unknown;
11971
+ };
11972
+ content: {
11973
+ "application/json": components["schemas"]["error.NOT_FOUND"];
11974
+ };
11975
+ };
11976
+ /** @description Internal server error */
11977
+ 500: {
11978
+ headers: {
11979
+ [name: string]: unknown;
11980
+ };
11981
+ content: {
11982
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
11983
+ };
11984
+ };
11985
+ };
11986
+ };
11834
11987
  getOwnerStatement: {
11835
11988
  parameters: {
11836
11989
  query?: {
@@ -11984,13 +12137,13 @@ export interface operations {
11984
12137
  name: string;
11985
12138
  locked?: boolean | null;
11986
12139
  /** @enum {string|null} */
11987
- visible?: "all" | "manager" | "none" | null;
12140
+ visible?: "all" | "manager" | "owner" | "none" | null;
11988
12141
  columns: ({
11989
12142
  id?: string | null;
11990
12143
  name: string;
11991
12144
  locked?: boolean | null;
11992
12145
  /** @enum {string|null} */
11993
- visible?: "all" | "manager" | "none" | null;
12146
+ visible?: "all" | "manager" | "owner" | "none" | null;
11994
12147
  /** @enum {string} */
11995
12148
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
11996
12149
  value: string;
@@ -11999,7 +12152,7 @@ export interface operations {
11999
12152
  name: string;
12000
12153
  locked?: boolean | null;
12001
12154
  /** @enum {string|null} */
12002
- visible?: "all" | "manager" | "none" | null;
12155
+ visible?: "all" | "manager" | "owner" | "none" | null;
12003
12156
  /** @enum {string} */
12004
12157
  type: "accounts";
12005
12158
  value: string[];
@@ -12010,13 +12163,13 @@ export interface operations {
12010
12163
  name: string;
12011
12164
  locked?: boolean | null;
12012
12165
  /** @enum {string|null} */
12013
- visible?: "all" | "manager" | "none" | null;
12166
+ visible?: "all" | "manager" | "owner" | "none" | null;
12014
12167
  columns: ({
12015
12168
  id?: string | null;
12016
12169
  name: string;
12017
12170
  locked?: boolean | null;
12018
12171
  /** @enum {string|null} */
12019
- visible?: "all" | "manager" | "none" | null;
12172
+ visible?: "all" | "manager" | "owner" | "none" | null;
12020
12173
  /** @enum {string} */
12021
12174
  type: "field";
12022
12175
  value: string;
@@ -12025,7 +12178,7 @@ export interface operations {
12025
12178
  name: string;
12026
12179
  locked?: boolean | null;
12027
12180
  /** @enum {string|null} */
12028
- visible?: "all" | "manager" | "none" | null;
12181
+ visible?: "all" | "manager" | "owner" | "none" | null;
12029
12182
  /** @enum {string} */
12030
12183
  type: "accounts";
12031
12184
  value: string[];
@@ -12049,13 +12202,13 @@ export interface operations {
12049
12202
  name: string;
12050
12203
  locked?: boolean | null;
12051
12204
  /** @enum {string|null} */
12052
- visible?: "all" | "manager" | "none" | null;
12205
+ visible?: "all" | "manager" | "owner" | "none" | null;
12053
12206
  columns: ({
12054
12207
  id?: string | null;
12055
12208
  name: string;
12056
12209
  locked?: boolean | null;
12057
12210
  /** @enum {string|null} */
12058
- visible?: "all" | "manager" | "none" | null;
12211
+ visible?: "all" | "manager" | "owner" | "none" | null;
12059
12212
  /** @enum {string} */
12060
12213
  type: "field";
12061
12214
  value: string;
@@ -12064,7 +12217,7 @@ export interface operations {
12064
12217
  name: string;
12065
12218
  locked?: boolean | null;
12066
12219
  /** @enum {string|null} */
12067
- visible?: "all" | "manager" | "none" | null;
12220
+ visible?: "all" | "manager" | "owner" | "none" | null;
12068
12221
  /** @enum {string} */
12069
12222
  type: "accounts";
12070
12223
  value: string[];
@@ -12446,13 +12599,13 @@ export interface operations {
12446
12599
  name: string;
12447
12600
  locked?: boolean | null;
12448
12601
  /** @enum {string|null} */
12449
- visible?: "all" | "manager" | "none" | null;
12602
+ visible?: "all" | "manager" | "owner" | "none" | null;
12450
12603
  columns: ({
12451
12604
  id?: string | null;
12452
12605
  name: string;
12453
12606
  locked?: boolean | null;
12454
12607
  /** @enum {string|null} */
12455
- visible?: "all" | "manager" | "none" | null;
12608
+ visible?: "all" | "manager" | "owner" | "none" | null;
12456
12609
  /** @enum {string} */
12457
12610
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
12458
12611
  value: string;
@@ -12461,7 +12614,7 @@ export interface operations {
12461
12614
  name: string;
12462
12615
  locked?: boolean | null;
12463
12616
  /** @enum {string|null} */
12464
- visible?: "all" | "manager" | "none" | null;
12617
+ visible?: "all" | "manager" | "owner" | "none" | null;
12465
12618
  /** @enum {string} */
12466
12619
  type: "accounts";
12467
12620
  value: string[];
@@ -12472,13 +12625,13 @@ export interface operations {
12472
12625
  name: string;
12473
12626
  locked?: boolean | null;
12474
12627
  /** @enum {string|null} */
12475
- visible?: "all" | "manager" | "none" | null;
12628
+ visible?: "all" | "manager" | "owner" | "none" | null;
12476
12629
  columns: ({
12477
12630
  id?: string | null;
12478
12631
  name: string;
12479
12632
  locked?: boolean | null;
12480
12633
  /** @enum {string|null} */
12481
- visible?: "all" | "manager" | "none" | null;
12634
+ visible?: "all" | "manager" | "owner" | "none" | null;
12482
12635
  /** @enum {string} */
12483
12636
  type: "field";
12484
12637
  value: string;
@@ -12487,7 +12640,7 @@ export interface operations {
12487
12640
  name: string;
12488
12641
  locked?: boolean | null;
12489
12642
  /** @enum {string|null} */
12490
- visible?: "all" | "manager" | "none" | null;
12643
+ visible?: "all" | "manager" | "owner" | "none" | null;
12491
12644
  /** @enum {string} */
12492
12645
  type: "accounts";
12493
12646
  value: string[];
@@ -12511,13 +12664,13 @@ export interface operations {
12511
12664
  name: string;
12512
12665
  locked?: boolean | null;
12513
12666
  /** @enum {string|null} */
12514
- visible?: "all" | "manager" | "none" | null;
12667
+ visible?: "all" | "manager" | "owner" | "none" | null;
12515
12668
  columns: ({
12516
12669
  id?: string | null;
12517
12670
  name: string;
12518
12671
  locked?: boolean | null;
12519
12672
  /** @enum {string|null} */
12520
- visible?: "all" | "manager" | "none" | null;
12673
+ visible?: "all" | "manager" | "owner" | "none" | null;
12521
12674
  /** @enum {string} */
12522
12675
  type: "field";
12523
12676
  value: string;
@@ -12526,7 +12679,7 @@ export interface operations {
12526
12679
  name: string;
12527
12680
  locked?: boolean | null;
12528
12681
  /** @enum {string|null} */
12529
- visible?: "all" | "manager" | "none" | null;
12682
+ visible?: "all" | "manager" | "owner" | "none" | null;
12530
12683
  /** @enum {string} */
12531
12684
  type: "accounts";
12532
12685
  value: string[];
@@ -13237,13 +13390,13 @@ export interface operations {
13237
13390
  name: string;
13238
13391
  locked?: boolean | null;
13239
13392
  /** @enum {string|null} */
13240
- visible?: "all" | "manager" | "none" | null;
13393
+ visible?: "all" | "manager" | "owner" | "none" | null;
13241
13394
  columns: ({
13242
13395
  id?: string | null;
13243
13396
  name: string;
13244
13397
  locked?: boolean | null;
13245
13398
  /** @enum {string|null} */
13246
- visible?: "all" | "manager" | "none" | null;
13399
+ visible?: "all" | "manager" | "owner" | "none" | null;
13247
13400
  /** @enum {string} */
13248
13401
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
13249
13402
  value: string;
@@ -13252,7 +13405,7 @@ export interface operations {
13252
13405
  name: string;
13253
13406
  locked?: boolean | null;
13254
13407
  /** @enum {string|null} */
13255
- visible?: "all" | "manager" | "none" | null;
13408
+ visible?: "all" | "manager" | "owner" | "none" | null;
13256
13409
  /** @enum {string} */
13257
13410
  type: "accounts";
13258
13411
  value: string[];
@@ -13263,13 +13416,13 @@ export interface operations {
13263
13416
  name: string;
13264
13417
  locked?: boolean | null;
13265
13418
  /** @enum {string|null} */
13266
- visible?: "all" | "manager" | "none" | null;
13419
+ visible?: "all" | "manager" | "owner" | "none" | null;
13267
13420
  columns: ({
13268
13421
  id?: string | null;
13269
13422
  name: string;
13270
13423
  locked?: boolean | null;
13271
13424
  /** @enum {string|null} */
13272
- visible?: "all" | "manager" | "none" | null;
13425
+ visible?: "all" | "manager" | "owner" | "none" | null;
13273
13426
  /** @enum {string} */
13274
13427
  type: "field";
13275
13428
  value: string;
@@ -13278,7 +13431,7 @@ export interface operations {
13278
13431
  name: string;
13279
13432
  locked?: boolean | null;
13280
13433
  /** @enum {string|null} */
13281
- visible?: "all" | "manager" | "none" | null;
13434
+ visible?: "all" | "manager" | "owner" | "none" | null;
13282
13435
  /** @enum {string} */
13283
13436
  type: "accounts";
13284
13437
  value: string[];
@@ -13302,13 +13455,13 @@ export interface operations {
13302
13455
  name: string;
13303
13456
  locked?: boolean | null;
13304
13457
  /** @enum {string|null} */
13305
- visible?: "all" | "manager" | "none" | null;
13458
+ visible?: "all" | "manager" | "owner" | "none" | null;
13306
13459
  columns: ({
13307
13460
  id?: string | null;
13308
13461
  name: string;
13309
13462
  locked?: boolean | null;
13310
13463
  /** @enum {string|null} */
13311
- visible?: "all" | "manager" | "none" | null;
13464
+ visible?: "all" | "manager" | "owner" | "none" | null;
13312
13465
  /** @enum {string} */
13313
13466
  type: "field";
13314
13467
  value: string;
@@ -13317,7 +13470,7 @@ export interface operations {
13317
13470
  name: string;
13318
13471
  locked?: boolean | null;
13319
13472
  /** @enum {string|null} */
13320
- visible?: "all" | "manager" | "none" | null;
13473
+ visible?: "all" | "manager" | "owner" | "none" | null;
13321
13474
  /** @enum {string} */
13322
13475
  type: "accounts";
13323
13476
  value: string[];
@@ -13677,13 +13830,7 @@ export interface operations {
13677
13830
  /** @enum {string} */
13678
13831
  status: "active" | "inactive";
13679
13832
  uniqueRef?: string | null;
13680
- app: {
13681
- id: string;
13682
- name: string;
13683
- icon?: string | null;
13684
- importers?: string[] | null;
13685
- extractors?: string[] | null;
13686
- };
13833
+ appId: string;
13687
13834
  } | null;
13688
13835
  contact?: {
13689
13836
  /** Format: uuid */
@@ -14130,13 +14277,7 @@ export interface operations {
14130
14277
  /** @enum {string} */
14131
14278
  status: "active" | "inactive";
14132
14279
  uniqueRef?: string | null;
14133
- app: {
14134
- id: string;
14135
- name: string;
14136
- icon?: string | null;
14137
- importers?: string[] | null;
14138
- extractors?: string[] | null;
14139
- };
14280
+ appId: string;
14140
14281
  } | null;
14141
14282
  contact?: {
14142
14283
  /** Format: uuid */
@@ -15297,13 +15438,7 @@ export interface operations {
15297
15438
  /** @enum {string} */
15298
15439
  status: "active" | "inactive";
15299
15440
  uniqueRef?: string | null;
15300
- app: {
15301
- id: string;
15302
- name: string;
15303
- icon?: string | null;
15304
- importers?: string[] | null;
15305
- extractors?: string[] | null;
15306
- };
15441
+ appId: string;
15307
15442
  } | null;
15308
15443
  contact?: {
15309
15444
  /** Format: uuid */
@@ -15573,13 +15708,7 @@ export interface operations {
15573
15708
  /** @enum {string} */
15574
15709
  status: "active" | "inactive";
15575
15710
  uniqueRef?: string | null;
15576
- app: {
15577
- id: string;
15578
- name: string;
15579
- icon?: string | null;
15580
- importers?: string[] | null;
15581
- extractors?: string[] | null;
15582
- };
15711
+ appId: string;
15583
15712
  } | null;
15584
15713
  contact?: {
15585
15714
  /** Format: uuid */
@@ -15858,13 +15987,7 @@ export interface operations {
15858
15987
  /** @enum {string} */
15859
15988
  status: "active" | "inactive";
15860
15989
  uniqueRef?: string | null;
15861
- app: {
15862
- id: string;
15863
- name: string;
15864
- icon?: string | null;
15865
- importers?: string[] | null;
15866
- extractors?: string[] | null;
15867
- };
15990
+ appId: string;
15868
15991
  } | null;
15869
15992
  contact?: {
15870
15993
  /** Format: uuid */
@@ -16140,13 +16263,7 @@ export interface operations {
16140
16263
  /** @enum {string} */
16141
16264
  status: "active" | "inactive";
16142
16265
  uniqueRef?: string | null;
16143
- app: {
16144
- id: string;
16145
- name: string;
16146
- icon?: string | null;
16147
- importers?: string[] | null;
16148
- extractors?: string[] | null;
16149
- };
16266
+ appId: string;
16150
16267
  } | null;
16151
16268
  contact?: {
16152
16269
  /** Format: uuid */
@@ -16342,13 +16459,7 @@ export interface operations {
16342
16459
  /** @enum {string} */
16343
16460
  status: "active" | "inactive";
16344
16461
  uniqueRef?: string | null;
16345
- app: {
16346
- id: string;
16347
- name: string;
16348
- icon?: string | null;
16349
- importers?: string[] | null;
16350
- extractors?: string[] | null;
16351
- };
16462
+ appId: string;
16352
16463
  } | null;
16353
16464
  contact?: {
16354
16465
  /** Format: uuid */
@@ -16617,13 +16728,7 @@ export interface operations {
16617
16728
  /** @enum {string} */
16618
16729
  status: "active" | "inactive";
16619
16730
  uniqueRef?: string | null;
16620
- app: {
16621
- id: string;
16622
- name: string;
16623
- icon?: string | null;
16624
- importers?: string[] | null;
16625
- extractors?: string[] | null;
16626
- };
16731
+ appId: string;
16627
16732
  } | null;
16628
16733
  contact?: {
16629
16734
  /** Format: uuid */
@@ -17534,13 +17639,7 @@ export interface operations {
17534
17639
  /** @enum {string} */
17535
17640
  status: "active" | "inactive";
17536
17641
  uniqueRef?: string | null;
17537
- app: {
17538
- id: string;
17539
- name: string;
17540
- icon?: string | null;
17541
- importers?: string[] | null;
17542
- extractors?: string[] | null;
17543
- };
17642
+ appId: string;
17544
17643
  } | null;
17545
17644
  contact?: {
17546
17645
  /** Format: uuid */
@@ -17661,6 +17760,7 @@ export interface operations {
17661
17760
  status?: "active" | "inactive";
17662
17761
  /** @enum {string} */
17663
17762
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
17763
+ uniqueRef?: string | null;
17664
17764
  id: string;
17665
17765
  offsetAccount?: {
17666
17766
  id: string;
@@ -17799,6 +17899,7 @@ export interface operations {
17799
17899
  last4?: string | null;
17800
17900
  currency?: string | null;
17801
17901
  } | null;
17902
+ uniqueRef?: string | null;
17802
17903
  };
17803
17904
  };
17804
17905
  };
@@ -17815,6 +17916,7 @@ export interface operations {
17815
17916
  status?: "active" | "inactive";
17816
17917
  /** @enum {string} */
17817
17918
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
17919
+ uniqueRef?: string | null;
17818
17920
  id: string;
17819
17921
  offsetAccount?: {
17820
17922
  id: string;
@@ -18030,6 +18132,7 @@ export interface operations {
18030
18132
  status?: "active" | "inactive";
18031
18133
  /** @enum {string} */
18032
18134
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
18135
+ uniqueRef?: string | null;
18033
18136
  id: string;
18034
18137
  offsetAccount?: {
18035
18138
  id: string;
@@ -18176,6 +18279,7 @@ export interface operations {
18176
18279
  last4?: string | null;
18177
18280
  currency?: string | null;
18178
18281
  } | null;
18282
+ uniqueRef?: string | null;
18179
18283
  };
18180
18284
  };
18181
18285
  };
@@ -18192,6 +18296,7 @@ export interface operations {
18192
18296
  status?: "active" | "inactive";
18193
18297
  /** @enum {string} */
18194
18298
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
18299
+ uniqueRef?: string | null;
18195
18300
  id: string;
18196
18301
  offsetAccount?: {
18197
18302
  id: string;
@@ -18887,13 +18992,7 @@ export interface operations {
18887
18992
  /** @enum {string} */
18888
18993
  status: "active" | "inactive";
18889
18994
  uniqueRef?: string | null;
18890
- app: {
18891
- id: string;
18892
- name: string;
18893
- icon?: string | null;
18894
- importers?: string[] | null;
18895
- extractors?: string[] | null;
18896
- };
18995
+ appId: string;
18897
18996
  } | null;
18898
18997
  uniqueRef?: string | null;
18899
18998
  recurringTemplate?: {
@@ -19132,13 +19231,7 @@ export interface operations {
19132
19231
  /** @enum {string} */
19133
19232
  status: "active" | "inactive";
19134
19233
  uniqueRef?: string | null;
19135
- app: {
19136
- id: string;
19137
- name: string;
19138
- icon?: string | null;
19139
- importers?: string[] | null;
19140
- extractors?: string[] | null;
19141
- };
19234
+ appId: string;
19142
19235
  } | null;
19143
19236
  uniqueRef?: string | null;
19144
19237
  recurringTemplate?: {
@@ -19217,6 +19310,8 @@ export interface operations {
19217
19310
  requestBody: {
19218
19311
  content: {
19219
19312
  "application/json": {
19313
+ /** Format: uuid */
19314
+ connectionId: string;
19220
19315
  data: {
19221
19316
  address?: {
19222
19317
  full?: string | null;
@@ -19231,7 +19326,6 @@ export interface operations {
19231
19326
  } | null;
19232
19327
  /** @enum {string} */
19233
19328
  type: "owner" | "vendor";
19234
- email?: string | null;
19235
19329
  firstName?: string | null;
19236
19330
  name?: string | null;
19237
19331
  phone?: string | null;
@@ -19244,14 +19338,12 @@ export interface operations {
19244
19338
  uniqueRef?: string | null;
19245
19339
  /** @enum {string|null} */
19246
19340
  status?: "active" | "inactive" | null;
19247
- invite?: boolean | null;
19248
19341
  /** Format: uuid */
19249
19342
  payoutAccountId?: string | null;
19250
19343
  /** Format: uuid */
19251
19344
  id?: string | null;
19345
+ email?: string | null;
19252
19346
  }[];
19253
- /** Format: uuid */
19254
- connectionId: string;
19255
19347
  };
19256
19348
  };
19257
19349
  };
@@ -19277,6 +19369,7 @@ export interface operations {
19277
19369
  } | null;
19278
19370
  /** @enum {string} */
19279
19371
  type: "owner" | "vendor";
19372
+ /** Format: email */
19280
19373
  email?: string | null;
19281
19374
  firstName?: string | null;
19282
19375
  name?: string | null;
@@ -19288,7 +19381,6 @@ export interface operations {
19288
19381
  uniqueRef?: string | null;
19289
19382
  /** @enum {string} */
19290
19383
  status: "active" | "inactive";
19291
- invite?: boolean | null;
19292
19384
  /** Format: uuid */
19293
19385
  payoutAccountId?: string | null;
19294
19386
  /** Format: uuid */
@@ -19392,6 +19484,7 @@ export interface operations {
19392
19484
  } | null;
19393
19485
  /** @enum {string} */
19394
19486
  type: "owner" | "vendor";
19487
+ /** Format: email */
19395
19488
  email?: string | null;
19396
19489
  firstName?: string | null;
19397
19490
  name?: string | null;
@@ -19403,7 +19496,6 @@ export interface operations {
19403
19496
  uniqueRef?: string | null;
19404
19497
  /** @enum {string} */
19405
19498
  status: "active" | "inactive";
19406
- invite?: boolean | null;
19407
19499
  /** Format: uuid */
19408
19500
  payoutAccountId?: string | null;
19409
19501
  /** Format: uuid */
@@ -19504,6 +19596,7 @@ export interface operations {
19504
19596
  } | null;
19505
19597
  /** @enum {string} */
19506
19598
  type?: "owner" | "vendor";
19599
+ /** Format: email */
19507
19600
  email?: string | null;
19508
19601
  firstName?: string | null;
19509
19602
  name?: string | null;
@@ -19517,7 +19610,6 @@ export interface operations {
19517
19610
  uniqueRef?: string | null;
19518
19611
  /** @enum {string|null} */
19519
19612
  status?: "active" | "inactive" | null;
19520
- invite?: boolean | null;
19521
19613
  /** Format: uuid */
19522
19614
  payoutAccountId?: string | null;
19523
19615
  };
@@ -19544,6 +19636,7 @@ export interface operations {
19544
19636
  } | null;
19545
19637
  /** @enum {string} */
19546
19638
  type: "owner" | "vendor";
19639
+ /** Format: email */
19547
19640
  email?: string | null;
19548
19641
  firstName?: string | null;
19549
19642
  name?: string | null;
@@ -19555,7 +19648,6 @@ export interface operations {
19555
19648
  uniqueRef?: string | null;
19556
19649
  /** @enum {string} */
19557
19650
  status: "active" | "inactive";
19558
- invite?: boolean | null;
19559
19651
  /** Format: uuid */
19560
19652
  payoutAccountId?: string | null;
19561
19653
  /** Format: uuid */
@@ -19741,6 +19833,7 @@ export interface operations {
19741
19833
  } | null;
19742
19834
  /** @enum {string} */
19743
19835
  type: "owner" | "vendor";
19836
+ /** Format: email */
19744
19837
  email?: string | null;
19745
19838
  firstName?: string | null;
19746
19839
  name?: string | null;
@@ -19752,7 +19845,6 @@ export interface operations {
19752
19845
  uniqueRef?: string | null;
19753
19846
  /** @enum {string} */
19754
19847
  status: "active" | "inactive";
19755
- invite?: boolean | null;
19756
19848
  /** Format: uuid */
19757
19849
  payoutAccountId?: string | null;
19758
19850
  /** Format: uuid */
@@ -19861,6 +19953,7 @@ export interface operations {
19861
19953
  } | null;
19862
19954
  /** @enum {string} */
19863
19955
  type: "owner" | "vendor";
19956
+ /** Format: email */
19864
19957
  email?: string | null;
19865
19958
  firstName?: string | null;
19866
19959
  name?: string | null;
@@ -19874,9 +19967,9 @@ export interface operations {
19874
19967
  uniqueRef?: string | null;
19875
19968
  /** @enum {string|null} */
19876
19969
  status?: "active" | "inactive" | null;
19877
- invite?: boolean | null;
19878
19970
  /** Format: uuid */
19879
19971
  payoutAccountId?: string | null;
19972
+ invite?: boolean | null;
19880
19973
  };
19881
19974
  };
19882
19975
  };
@@ -19901,6 +19994,7 @@ export interface operations {
19901
19994
  } | null;
19902
19995
  /** @enum {string} */
19903
19996
  type: "owner" | "vendor";
19997
+ /** Format: email */
19904
19998
  email?: string | null;
19905
19999
  firstName?: string | null;
19906
20000
  name?: string | null;
@@ -19912,7 +20006,6 @@ export interface operations {
19912
20006
  uniqueRef?: string | null;
19913
20007
  /** @enum {string} */
19914
20008
  status: "active" | "inactive";
19915
- invite?: boolean | null;
19916
20009
  /** Format: uuid */
19917
20010
  payoutAccountId?: string | null;
19918
20011
  /** Format: uuid */
@@ -21263,7 +21356,7 @@ export interface operations {
21263
21356
  };
21264
21357
  };
21265
21358
  };
21266
- getStoreAction: {
21359
+ getDispatchAction: {
21267
21360
  parameters: {
21268
21361
  query?: never;
21269
21362
  header?: {
@@ -21291,29 +21384,25 @@ export interface operations {
21291
21384
  message: string | null;
21292
21385
  payload?: unknown;
21293
21386
  userId: string | null;
21294
- /** Format: date-time */
21295
21387
  createdAt: string;
21296
21388
  effects: {
21297
21389
  /** Format: uuid */
21298
21390
  id: string;
21299
- /** @enum {string} */
21300
- effectType: "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "UPDATE_RECURRING_TRANSACTION_INSTANCES" | "DEACTIVATE_RECURRING_TEMPLATE" | "UPDATE_RESERVATION_PAYMENTS" | "MATCH_TRANSACTION_LINE_TO_RESERVATION" | "MATCH_RESERVATION_TO_STRIPE_DEPOSIT" | "TEST_EFFECT";
21391
+ effectType: string;
21301
21392
  payload?: unknown;
21393
+ entityType: string | null;
21394
+ entityId: string | null;
21302
21395
  /** @enum {string} */
21303
21396
  status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
21304
21397
  priority: number;
21305
21398
  retryCount: number;
21306
21399
  maxRetries: number;
21307
21400
  sequence: number;
21308
- /** Format: date-time */
21309
21401
  claimedAt: string | null;
21310
21402
  claimedBy: string | null;
21311
- /** Format: date-time */
21312
21403
  completedAt: string | null;
21313
- /** Format: date-time */
21314
21404
  lastAttemptAt: string | null;
21315
21405
  lastError: string | null;
21316
- /** Format: date-time */
21317
21406
  createdAt: string;
21318
21407
  }[];
21319
21408
  effectCounts: {
@@ -21375,263 +21464,9 @@ export interface operations {
21375
21464
  };
21376
21465
  };
21377
21466
  };
21378
- getReviews: {
21467
+ plaidConnectComplete: {
21379
21468
  parameters: {
21380
- query?: {
21381
- date?: string;
21382
- connectionId?: string;
21383
- type?: string;
21384
- listingId?: string;
21385
- listingConnectionId?: string;
21386
- limit?: number;
21387
- page?: number;
21388
- };
21389
- header?: {
21390
- "X-Team-Id"?: string;
21391
- };
21392
- path?: never;
21393
- cookie?: never;
21394
- };
21395
- requestBody?: never;
21396
- responses: {
21397
- /** @description Successful response */
21398
- 200: {
21399
- headers: {
21400
- [name: string]: unknown;
21401
- };
21402
- content: {
21403
- "application/json": {
21404
- data: {
21405
- id: string;
21406
- uniqueRef: string;
21407
- comments?: string | null;
21408
- privateFeedback?: string | null;
21409
- totalRating: number;
21410
- tags: {
21411
- type: string;
21412
- description: string;
21413
- }[];
21414
- ratings: {
21415
- type: string;
21416
- comments: string;
21417
- rating?: number | null;
21418
- }[];
21419
- reservation: {
21420
- currency: string | null;
21421
- uniqueRef?: string | null;
21422
- guestName?: string | null;
21423
- bookerName?: string | null;
21424
- checkIn?: string | null;
21425
- checkOut?: string | null;
21426
- generalLedgerPostingAt?: string | null;
21427
- bookedAt?: string | null;
21428
- cancelledAt?: string | null;
21429
- bookingPlatform?: string | null;
21430
- confirmationCode?: string | null;
21431
- pmsReferenceCode?: string | null;
21432
- guests?: number | null;
21433
- userdata: {
21434
- [key: string]: unknown;
21435
- } | null;
21436
- /** Format: uuid */
21437
- id: string;
21438
- issues: ({
21439
- /** @enum {string} */
21440
- code: "unassignedAccount";
21441
- /** @enum {string} */
21442
- severity: "error";
21443
- context: {
21444
- accountIds: string[];
21445
- };
21446
- } | {
21447
- /** @enum {string} */
21448
- code: "priorToStartDate";
21449
- /** @enum {string} */
21450
- severity: "warning";
21451
- context: {
21452
- startDate?: string | null;
21453
- };
21454
- } | {
21455
- /** @enum {string} */
21456
- code: "inactiveListing";
21457
- /** @enum {string} */
21458
- severity: "warning";
21459
- context: {
21460
- startDate?: string | null;
21461
- };
21462
- } | {
21463
- /** @enum {string} */
21464
- code: "inactiveConnection";
21465
- /** @enum {string} */
21466
- severity: "warning";
21467
- context: Record<string, never>;
21468
- })[];
21469
- connection?: {
21470
- /** Format: uuid */
21471
- id: string;
21472
- name: string;
21473
- /** @enum {string} */
21474
- status: "active" | "inactive";
21475
- uniqueRef?: string | null;
21476
- app: {
21477
- id: string;
21478
- name: string;
21479
- icon?: string | null;
21480
- importers?: string[] | null;
21481
- extractors?: string[] | null;
21482
- };
21483
- } | null;
21484
- nights?: number | null;
21485
- /** @enum {string|null} */
21486
- status?: "booked" | "canceled" | "inactive" | null;
21487
- listing?: {
21488
- /** Format: uuid */
21489
- id: string;
21490
- name: string;
21491
- address?: {
21492
- full?: string | null;
21493
- line1?: string | null;
21494
- line2?: string | null;
21495
- city?: string | null;
21496
- /** @deprecated */
21497
- state?: string | null;
21498
- postalCode?: string | null;
21499
- stateCode?: string | null;
21500
- countryCode?: string | null;
21501
- } | null;
21502
- uniqueRef?: string | null;
21503
- } | null;
21504
- listingConnection?: {
21505
- /** Format: uuid */
21506
- id: string;
21507
- name: string;
21508
- uniqueRef?: string | null;
21509
- } | null;
21510
- payment: {
21511
- expected: number;
21512
- received: number;
21513
- status: ("unpaid" | "underpaid" | "overpaid" | "paid") | "coHost";
21514
- };
21515
- source?: {
21516
- /** Format: uuid */
21517
- id: string;
21518
- type: string;
21519
- /** @enum {string|null} */
21520
- status?: "active" | "inactive" | null;
21521
- } | null;
21522
- lines: {
21523
- /** Format: uuid */
21524
- id: string;
21525
- uniqueRef?: string | null;
21526
- type: string;
21527
- description?: string | null;
21528
- /** @description Value in cents (100 = 1€) */
21529
- amount: number;
21530
- connectionId?: string | null;
21531
- metadata?: {
21532
- [key: string]: unknown;
21533
- } | null;
21534
- account?: {
21535
- id: string;
21536
- name: string;
21537
- uniqueRef?: string | null;
21538
- /** @enum {string} */
21539
- status: "active" | "inactive";
21540
- } | null;
21541
- isExcluded?: boolean | null;
21542
- }[];
21543
- /** @description Adjustments are manually added financial lines that are not part of the booking platform */
21544
- adjustments: {
21545
- /** Format: uuid */
21546
- id: string;
21547
- type?: string;
21548
- description?: string | null;
21549
- /** @description Value in cents (100 = 1€) */
21550
- amount: number;
21551
- metadata?: {
21552
- [key: string]: unknown;
21553
- } | null;
21554
- /** @enum {string|null} */
21555
- party?: "owners" | "manager" | null;
21556
- account?: {
21557
- id: string;
21558
- name: string;
21559
- uniqueRef?: string | null;
21560
- /** @enum {string} */
21561
- status: "active" | "inactive";
21562
- } | null;
21563
- recurringFee?: {
21564
- id: string;
21565
- uniqueRef: string;
21566
- name: string;
21567
- /** @enum {string} */
21568
- type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
21569
- } | null;
21570
- }[];
21571
- };
21572
- }[];
21573
- pagination: {
21574
- /** @default 100 */
21575
- limit: number;
21576
- /** @default 1 */
21577
- page: number;
21578
- total: number;
21579
- totalPage: number;
21580
- nextPage?: number;
21581
- };
21582
- };
21583
- };
21584
- };
21585
- /** @description Invalid input data */
21586
- 400: {
21587
- headers: {
21588
- [name: string]: unknown;
21589
- };
21590
- content: {
21591
- "application/json": components["schemas"]["error.BAD_REQUEST"];
21592
- };
21593
- };
21594
- /** @description Authorization not provided */
21595
- 401: {
21596
- headers: {
21597
- [name: string]: unknown;
21598
- };
21599
- content: {
21600
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
21601
- };
21602
- };
21603
- /** @description Insufficient access */
21604
- 403: {
21605
- headers: {
21606
- [name: string]: unknown;
21607
- };
21608
- content: {
21609
- "application/json": components["schemas"]["error.FORBIDDEN"];
21610
- };
21611
- };
21612
- /** @description Not found */
21613
- 404: {
21614
- headers: {
21615
- [name: string]: unknown;
21616
- };
21617
- content: {
21618
- "application/json": components["schemas"]["error.NOT_FOUND"];
21619
- };
21620
- };
21621
- /** @description Internal server error */
21622
- 500: {
21623
- headers: {
21624
- [name: string]: unknown;
21625
- };
21626
- content: {
21627
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
21628
- };
21629
- };
21630
- };
21631
- };
21632
- plaidConnectComplete: {
21633
- parameters: {
21634
- query?: never;
21469
+ query?: never;
21635
21470
  header?: {
21636
21471
  "X-Team-Id"?: string;
21637
21472
  };
@@ -22702,23 +22537,33 @@ export interface operations {
22702
22537
  };
22703
22538
  getJournalEntriesReport: {
22704
22539
  parameters: {
22705
- query: {
22706
- startAt: string;
22707
- endAt: string;
22540
+ query?: {
22541
+ /** @description comma separated journal entry ids */
22542
+ ids?: string;
22543
+ txnCode?: string;
22544
+ published?: boolean;
22545
+ status?: "active" | "inactive";
22546
+ startAt?: string;
22547
+ endAt?: string;
22708
22548
  search?: string;
22709
22549
  date?: string;
22710
22550
  amount?: string;
22711
22551
  isDateRangeEndInclusive?: boolean;
22712
- /** @description listing uuids comma separated or "unmapped" */
22552
+ reservationIds?: string;
22553
+ transactionIds?: string;
22554
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
22555
+ currency?: string;
22556
+ /** @description listing ids comma separated or "unmapped" */
22713
22557
  listingIds?: string;
22714
- /** @description comma separated accounts */
22558
+ /** @description account ids comma separated accounts or "unmapped" */
22715
22559
  accountIds?: string;
22716
22560
  /** @description comma separated categories */
22717
22561
  categoryIds?: string;
22718
- classification?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
22719
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
22720
- relation?: "reservation" | "deposit" | "expense" | "recurringFee" | "transfer";
22562
+ classifications?: string;
22563
+ types?: string;
22564
+ entityTypes?: string;
22721
22565
  party?: "owners" | "manager";
22566
+ includeDetails?: boolean;
22722
22567
  limit?: number;
22723
22568
  page?: number;
22724
22569
  };
@@ -22739,6 +22584,9 @@ export interface operations {
22739
22584
  "application/json": {
22740
22585
  data: {
22741
22586
  id: string;
22587
+ /** @enum {string} */
22588
+ active: "active" | "inactive";
22589
+ txnCode: string;
22742
22590
  txnAt: string;
22743
22591
  description: string;
22744
22592
  centTotal: number;
@@ -22761,6 +22609,16 @@ export interface operations {
22761
22609
  id: string;
22762
22610
  name: string;
22763
22611
  };
22612
+ detail?: {
22613
+ owners?: string;
22614
+ listing?: string;
22615
+ reservationConfirmationCode?: string;
22616
+ bookingChannel?: string;
22617
+ transactionReference?: string;
22618
+ reservationLineReference?: string;
22619
+ classification?: string;
22620
+ category?: string;
22621
+ };
22764
22622
  }[];
22765
22623
  pagination: {
22766
22624
  /** @default 100 */
@@ -22821,6 +22679,101 @@ export interface operations {
22821
22679
  };
22822
22680
  };
22823
22681
  };
22682
+ getJournalEntriesReportCsv: {
22683
+ parameters: {
22684
+ query?: {
22685
+ /** @description comma separated journal entry ids */
22686
+ ids?: string;
22687
+ txnCode?: string;
22688
+ published?: boolean;
22689
+ status?: "active" | "inactive";
22690
+ startAt?: string;
22691
+ endAt?: string;
22692
+ search?: string;
22693
+ date?: string;
22694
+ amount?: string;
22695
+ isDateRangeEndInclusive?: boolean;
22696
+ reservationIds?: string;
22697
+ transactionIds?: string;
22698
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
22699
+ currency?: string;
22700
+ /** @description listing ids comma separated or "unmapped" */
22701
+ listingIds?: string;
22702
+ /** @description account ids comma separated accounts or "unmapped" */
22703
+ accountIds?: string;
22704
+ /** @description comma separated categories */
22705
+ categoryIds?: string;
22706
+ classifications?: string;
22707
+ types?: string;
22708
+ entityTypes?: string;
22709
+ party?: "owners" | "manager";
22710
+ };
22711
+ header?: {
22712
+ "X-Team-Id"?: string;
22713
+ };
22714
+ path?: never;
22715
+ cookie?: never;
22716
+ };
22717
+ requestBody?: never;
22718
+ responses: {
22719
+ /** @description Successful response */
22720
+ 200: {
22721
+ headers: {
22722
+ [name: string]: unknown;
22723
+ };
22724
+ content: {
22725
+ "application/json": {
22726
+ url: string;
22727
+ };
22728
+ };
22729
+ };
22730
+ /** @description Invalid input data */
22731
+ 400: {
22732
+ headers: {
22733
+ [name: string]: unknown;
22734
+ };
22735
+ content: {
22736
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
22737
+ };
22738
+ };
22739
+ /** @description Authorization not provided */
22740
+ 401: {
22741
+ headers: {
22742
+ [name: string]: unknown;
22743
+ };
22744
+ content: {
22745
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
22746
+ };
22747
+ };
22748
+ /** @description Insufficient access */
22749
+ 403: {
22750
+ headers: {
22751
+ [name: string]: unknown;
22752
+ };
22753
+ content: {
22754
+ "application/json": components["schemas"]["error.FORBIDDEN"];
22755
+ };
22756
+ };
22757
+ /** @description Not found */
22758
+ 404: {
22759
+ headers: {
22760
+ [name: string]: unknown;
22761
+ };
22762
+ content: {
22763
+ "application/json": components["schemas"]["error.NOT_FOUND"];
22764
+ };
22765
+ };
22766
+ /** @description Internal server error */
22767
+ 500: {
22768
+ headers: {
22769
+ [name: string]: unknown;
22770
+ };
22771
+ content: {
22772
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
22773
+ };
22774
+ };
22775
+ };
22776
+ };
22824
22777
  getManagerStatementsReport: {
22825
22778
  parameters: {
22826
22779
  query: {
@@ -23030,21 +22983,31 @@ export interface operations {
23030
22983
  };
23031
22984
  getManagerStatementReportJournalEntries: {
23032
22985
  parameters: {
23033
- query: {
23034
- startAt: string;
23035
- endAt: string;
22986
+ query?: {
22987
+ /** @description comma separated journal entry ids */
22988
+ ids?: string;
22989
+ txnCode?: string;
22990
+ published?: boolean;
22991
+ status?: "active" | "inactive";
22992
+ startAt?: string;
22993
+ endAt?: string;
23036
22994
  search?: string;
23037
22995
  date?: string;
23038
22996
  amount?: string;
23039
- /** @description Use a listing uuid or "unmapped" */
22997
+ isDateRangeEndInclusive?: boolean;
22998
+ reservationIds?: string;
22999
+ transactionIds?: string;
23000
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
23001
+ currency?: string;
23002
+ /** @description listing ids comma separated or "unmapped" */
23040
23003
  listingIds?: string;
23041
- /** @description comma separated accounts */
23004
+ /** @description account ids comma separated accounts or "unmapped" */
23042
23005
  accountIds?: string;
23043
23006
  /** @description comma separated categories */
23044
23007
  categoryIds?: string;
23045
- classification?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
23046
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
23047
- relation?: "reservation" | "deposit" | "expense" | "recurringFee" | "transfer";
23008
+ classifications?: string;
23009
+ types?: string;
23010
+ entityTypes?: string;
23048
23011
  limit?: number;
23049
23012
  page?: number;
23050
23013
  };
@@ -23065,6 +23028,9 @@ export interface operations {
23065
23028
  "application/json": {
23066
23029
  data: {
23067
23030
  id: string;
23031
+ /** @enum {string} */
23032
+ active: "active" | "inactive";
23033
+ txnCode: string;
23068
23034
  txnAt: string;
23069
23035
  description: string;
23070
23036
  centTotal: number;
@@ -23087,6 +23053,16 @@ export interface operations {
23087
23053
  id: string;
23088
23054
  name: string;
23089
23055
  };
23056
+ detail?: {
23057
+ owners?: string;
23058
+ listing?: string;
23059
+ reservationConfirmationCode?: string;
23060
+ bookingChannel?: string;
23061
+ transactionReference?: string;
23062
+ reservationLineReference?: string;
23063
+ classification?: string;
23064
+ category?: string;
23065
+ };
23090
23066
  }[];
23091
23067
  pagination: {
23092
23068
  /** @default 100 */
@@ -23147,6 +23123,100 @@ export interface operations {
23147
23123
  };
23148
23124
  };
23149
23125
  };
23126
+ getManagerStatementReportJournalEntriesCsv: {
23127
+ parameters: {
23128
+ query?: {
23129
+ /** @description comma separated journal entry ids */
23130
+ ids?: string;
23131
+ txnCode?: string;
23132
+ published?: boolean;
23133
+ status?: "active" | "inactive";
23134
+ startAt?: string;
23135
+ endAt?: string;
23136
+ search?: string;
23137
+ date?: string;
23138
+ amount?: string;
23139
+ isDateRangeEndInclusive?: boolean;
23140
+ reservationIds?: string;
23141
+ transactionIds?: string;
23142
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
23143
+ currency?: string;
23144
+ /** @description listing ids comma separated or "unmapped" */
23145
+ listingIds?: string;
23146
+ /** @description account ids comma separated accounts or "unmapped" */
23147
+ accountIds?: string;
23148
+ /** @description comma separated categories */
23149
+ categoryIds?: string;
23150
+ classifications?: string;
23151
+ types?: string;
23152
+ entityTypes?: string;
23153
+ };
23154
+ header?: {
23155
+ "X-Team-Id"?: string;
23156
+ };
23157
+ path?: never;
23158
+ cookie?: never;
23159
+ };
23160
+ requestBody?: never;
23161
+ responses: {
23162
+ /** @description Successful response */
23163
+ 200: {
23164
+ headers: {
23165
+ [name: string]: unknown;
23166
+ };
23167
+ content: {
23168
+ "application/json": {
23169
+ url: string;
23170
+ };
23171
+ };
23172
+ };
23173
+ /** @description Invalid input data */
23174
+ 400: {
23175
+ headers: {
23176
+ [name: string]: unknown;
23177
+ };
23178
+ content: {
23179
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23180
+ };
23181
+ };
23182
+ /** @description Authorization not provided */
23183
+ 401: {
23184
+ headers: {
23185
+ [name: string]: unknown;
23186
+ };
23187
+ content: {
23188
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23189
+ };
23190
+ };
23191
+ /** @description Insufficient access */
23192
+ 403: {
23193
+ headers: {
23194
+ [name: string]: unknown;
23195
+ };
23196
+ content: {
23197
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23198
+ };
23199
+ };
23200
+ /** @description Not found */
23201
+ 404: {
23202
+ headers: {
23203
+ [name: string]: unknown;
23204
+ };
23205
+ content: {
23206
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23207
+ };
23208
+ };
23209
+ /** @description Internal server error */
23210
+ 500: {
23211
+ headers: {
23212
+ [name: string]: unknown;
23213
+ };
23214
+ content: {
23215
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23216
+ };
23217
+ };
23218
+ };
23219
+ };
23150
23220
  getProfitAndLossReport: {
23151
23221
  parameters: {
23152
23222
  query?: {
@@ -23371,8 +23441,10 @@ export interface operations {
23371
23441
  getOwnerStatementSummariesReport: {
23372
23442
  parameters: {
23373
23443
  query: {
23374
- /** @description Year in format YYYY */
23375
- year: number;
23444
+ startAt: string;
23445
+ endAt: string;
23446
+ /** @description comma separated listings */
23447
+ listingIds?: string;
23376
23448
  };
23377
23449
  header?: {
23378
23450
  "X-Team-Id"?: string;
@@ -23392,10 +23464,11 @@ export interface operations {
23392
23464
  data: {
23393
23465
  contact: {
23394
23466
  contactId: string;
23395
- name?: string | null;
23396
- firstName?: string | null;
23397
- email?: string | null;
23398
- phone?: string | null;
23467
+ name?: string;
23468
+ firstName?: string;
23469
+ /** Format: email */
23470
+ email?: string;
23471
+ phone?: string;
23399
23472
  };
23400
23473
  currency: string;
23401
23474
  financials: {
@@ -23461,8 +23534,10 @@ export interface operations {
23461
23534
  getOwnerStatementSummariesReportCsv: {
23462
23535
  parameters: {
23463
23536
  query: {
23464
- /** @description Year in format YYYY */
23465
- year: number;
23537
+ startAt: string;
23538
+ endAt: string;
23539
+ /** @description comma separated listings */
23540
+ listingIds?: string;
23466
23541
  };
23467
23542
  header?: {
23468
23543
  "X-Team-Id"?: string;
@@ -23534,10 +23609,12 @@ export interface operations {
23534
23609
  parameters: {
23535
23610
  query: {
23536
23611
  view: "listing" | "month" | "reservation" | "bookingChannel";
23537
- /** @description Year in format YYYY */
23538
- year: number;
23539
- listingId?: string;
23612
+ startAt: string;
23613
+ endAt: string;
23614
+ /** @description comma separated listings */
23615
+ listingIds?: string;
23540
23616
  currency?: string;
23617
+ viewAs?: "owner" | "manager";
23541
23618
  };
23542
23619
  header?: {
23543
23620
  "X-Team-Id"?: string;
@@ -23556,30 +23633,84 @@ export interface operations {
23556
23633
  };
23557
23634
  content: {
23558
23635
  "application/json": {
23636
+ currency: string;
23637
+ contact: {
23638
+ contactId: string;
23639
+ name?: string;
23640
+ firstName?: string;
23641
+ /** Format: email */
23642
+ email?: string;
23643
+ phone?: string;
23644
+ };
23645
+ financials: {
23646
+ balanceStart: number;
23647
+ netRevenue: number;
23648
+ expenses: number;
23649
+ transfers: number;
23650
+ netIncome: number;
23651
+ currentBalance: number;
23652
+ balanceEnd: number;
23653
+ };
23559
23654
  netRevenueSection: {
23560
23655
  title: string;
23561
23656
  rows: {
23562
23657
  title: string;
23563
- statementIds: string[];
23658
+ statementIds?: string[];
23564
23659
  columns: {
23565
23660
  title: string;
23566
23661
  value: number | string;
23567
23662
  formatted: string;
23568
23663
  }[];
23569
23664
  }[];
23665
+ subtotal?: {
23666
+ title: string;
23667
+ columns: {
23668
+ title: string;
23669
+ value: number | string;
23670
+ formatted: string;
23671
+ }[];
23672
+ };
23570
23673
  };
23571
23674
  otherSections: {
23572
23675
  title: string;
23573
23676
  rows: {
23574
23677
  title: string;
23575
- statementIds: string[];
23678
+ statementIds?: string[];
23576
23679
  columns: {
23577
23680
  title: string;
23578
23681
  value: number | string;
23579
23682
  formatted: string;
23580
23683
  }[];
23581
23684
  }[];
23685
+ subtotal?: {
23686
+ title: string;
23687
+ columns: {
23688
+ title: string;
23689
+ value: number | string;
23690
+ formatted: string;
23691
+ }[];
23692
+ };
23582
23693
  }[];
23694
+ transfersSection?: {
23695
+ title: string;
23696
+ rows: {
23697
+ title: string;
23698
+ statementIds?: string[];
23699
+ columns: {
23700
+ title: string;
23701
+ value: number | string;
23702
+ formatted: string;
23703
+ }[];
23704
+ }[];
23705
+ subtotal?: {
23706
+ title: string;
23707
+ columns: {
23708
+ title: string;
23709
+ value: number | string;
23710
+ formatted: string;
23711
+ }[];
23712
+ };
23713
+ };
23583
23714
  };
23584
23715
  };
23585
23716
  };
@@ -23634,10 +23765,12 @@ export interface operations {
23634
23765
  parameters: {
23635
23766
  query: {
23636
23767
  view: "listing" | "month" | "reservation" | "bookingChannel";
23637
- /** @description Year in format YYYY */
23638
- year: number;
23639
- listingId?: string;
23768
+ startAt: string;
23769
+ endAt: string;
23770
+ /** @description comma separated listings */
23771
+ listingIds?: string;
23640
23772
  currency?: string;
23773
+ viewAs?: "owner" | "manager";
23641
23774
  };
23642
23775
  header?: {
23643
23776
  "X-Team-Id"?: string;
@@ -23710,9 +23843,9 @@ export interface operations {
23710
23843
  getCalendar: {
23711
23844
  parameters: {
23712
23845
  query: {
23846
+ listingId: string;
23713
23847
  startDate: string;
23714
23848
  endDate: string;
23715
- listingId: string;
23716
23849
  };
23717
23850
  header?: {
23718
23851
  "X-Team-Id"?: string;
@@ -23732,10 +23865,10 @@ export interface operations {
23732
23865
  data: {
23733
23866
  date: string;
23734
23867
  /** @enum {string} */
23735
- blockReason: "ownerBlock" | "maintenance";
23868
+ blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
23736
23869
  description?: string;
23737
- id?: string;
23738
23870
  user?: {
23871
+ /** Format: email */
23739
23872
  email: string;
23740
23873
  firstName: string;
23741
23874
  lastName: string;
@@ -23804,9 +23937,9 @@ export interface operations {
23804
23937
  requestBody: {
23805
23938
  content: {
23806
23939
  "application/json": {
23940
+ listingId: string;
23807
23941
  startDate: string;
23808
23942
  endDate: string;
23809
- listingId: string;
23810
23943
  description?: string;
23811
23944
  };
23812
23945
  };
@@ -23822,10 +23955,10 @@ export interface operations {
23822
23955
  data: {
23823
23956
  date: string;
23824
23957
  /** @enum {string} */
23825
- blockReason: "ownerBlock" | "maintenance";
23958
+ blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
23826
23959
  description?: string;
23827
- id?: string;
23828
23960
  user?: {
23961
+ /** Format: email */
23829
23962
  email: string;
23830
23963
  firstName: string;
23831
23964
  lastName: string;
@@ -23879,6 +24012,7 @@ export interface operations {
23879
24012
  listingId: string;
23880
24013
  startDate: string;
23881
24014
  endDate: string;
24015
+ description?: string;
23882
24016
  };
23883
24017
  header?: {
23884
24018
  "X-Team-Id"?: string;
@@ -23898,10 +24032,10 @@ export interface operations {
23898
24032
  data: {
23899
24033
  date: string;
23900
24034
  /** @enum {string} */
23901
- blockReason: "ownerBlock" | "maintenance";
24035
+ blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
23902
24036
  description?: string;
23903
- id?: string;
23904
24037
  user?: {
24038
+ /** Format: email */
23905
24039
  email: string;
23906
24040
  firstName: string;
23907
24041
  lastName: string;
@@ -24003,7 +24137,7 @@ export interface operations {
24003
24137
  * @description Internal semantic type
24004
24138
  * @enum {string}
24005
24139
  */
24006
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24140
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24007
24141
  /** @description Optional JSONB filter for internal data */
24008
24142
  filter?: string;
24009
24143
  };
@@ -24027,7 +24161,7 @@ export interface operations {
24027
24161
  * @description Semantic type of the setting value
24028
24162
  * @enum {string}
24029
24163
  */
24030
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24164
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24031
24165
  /** @description Optional JSONB filter for available values */
24032
24166
  filter?: string;
24033
24167
  };
@@ -24106,6 +24240,7 @@ export interface operations {
24106
24240
  requestBody: {
24107
24241
  content: {
24108
24242
  "application/json": {
24243
+ uniqueRef: string;
24109
24244
  title: string;
24110
24245
  appId: string;
24111
24246
  description?: string | null;
@@ -24124,7 +24259,7 @@ export interface operations {
24124
24259
  * @description Internal semantic type
24125
24260
  * @enum {string}
24126
24261
  */
24127
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24262
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24128
24263
  /** @description Optional JSONB filter for internal data */
24129
24264
  filter?: string;
24130
24265
  };
@@ -24148,7 +24283,7 @@ export interface operations {
24148
24283
  * @description Semantic type of the setting value
24149
24284
  * @enum {string}
24150
24285
  */
24151
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24286
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24152
24287
  /** @description Optional JSONB filter for available values */
24153
24288
  filter?: string;
24154
24289
  };
@@ -24248,7 +24383,7 @@ export interface operations {
24248
24383
  * @description Internal semantic type
24249
24384
  * @enum {string}
24250
24385
  */
24251
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24386
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24252
24387
  /** @description Optional JSONB filter for internal data */
24253
24388
  filter?: string;
24254
24389
  };
@@ -24272,7 +24407,7 @@ export interface operations {
24272
24407
  * @description Semantic type of the setting value
24273
24408
  * @enum {string}
24274
24409
  */
24275
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24410
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24276
24411
  /** @description Optional JSONB filter for available values */
24277
24412
  filter?: string;
24278
24413
  };
@@ -24359,7 +24494,7 @@ export interface operations {
24359
24494
  * @description Internal semantic type
24360
24495
  * @enum {string}
24361
24496
  */
24362
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24497
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24363
24498
  /** @description Optional JSONB filter for internal data */
24364
24499
  filter?: string;
24365
24500
  };
@@ -24383,7 +24518,7 @@ export interface operations {
24383
24518
  * @description Semantic type of the setting value
24384
24519
  * @enum {string}
24385
24520
  */
24386
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24521
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24387
24522
  /** @description Optional JSONB filter for available values */
24388
24523
  filter?: string;
24389
24524
  };
@@ -24423,7 +24558,7 @@ export interface operations {
24423
24558
  * @description Internal semantic type
24424
24559
  * @enum {string}
24425
24560
  */
24426
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24561
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24427
24562
  /** @description Optional JSONB filter for internal data */
24428
24563
  filter?: string;
24429
24564
  };
@@ -24447,7 +24582,7 @@ export interface operations {
24447
24582
  * @description Semantic type of the setting value
24448
24583
  * @enum {string}
24449
24584
  */
24450
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24585
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24451
24586
  /** @description Optional JSONB filter for available values */
24452
24587
  filter?: string;
24453
24588
  };