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