@vrplatform/api 1.2.40-stage.1049 → 1.2.40

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,26 +679,6 @@ 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
- };
702
682
  "/statements/{id}": {
703
683
  parameters: {
704
684
  query?: never;
@@ -1425,7 +1405,7 @@ export interface paths {
1425
1405
  patch?: never;
1426
1406
  trace?: never;
1427
1407
  };
1428
- "/dispatch/{id}": {
1408
+ "/store-actions/{id}": {
1429
1409
  parameters: {
1430
1410
  query?: never;
1431
1411
  header?: never;
@@ -1433,7 +1413,24 @@ export interface paths {
1433
1413
  cookie?: never;
1434
1414
  };
1435
1415
  /** @description Retrieve a dispatched action and queued effects for progress tracking */
1436
- get: operations["getDispatchAction"];
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"];
1437
1434
  put?: never;
1438
1435
  post?: never;
1439
1436
  delete?: never;
@@ -2334,19 +2331,19 @@ export interface components {
2334
2331
  * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2335
2332
  * @enum {string|null}
2336
2333
  */
2337
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2334
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2338
2335
  filter: string | null;
2339
2336
  value: components["schemas"]["FlowMappingResolvedEntityValue"];
2340
2337
  };
2341
2338
  /** @description Resolved mapping entity summary ({ id, name, type }) returned by endpoints. */
2342
2339
  FlowMappingResolvedEntityValue: {
2343
- id: string | number;
2340
+ id: string;
2344
2341
  name: string;
2345
2342
  /**
2346
2343
  * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2347
2344
  * @enum {string}
2348
2345
  */
2349
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2346
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2350
2347
  };
2351
2348
  /** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
2352
2349
  FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
@@ -2365,7 +2362,7 @@ export interface components {
2365
2362
  * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2366
2363
  * @enum {string|null}
2367
2364
  */
2368
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2365
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2369
2366
  filter: string | null;
2370
2367
  value: components["schemas"]["FlowMappingResolvedEntityValue"];
2371
2368
  };
@@ -4110,7 +4107,13 @@ export interface operations {
4110
4107
  /** @enum {string} */
4111
4108
  status: "active" | "inactive";
4112
4109
  uniqueRef?: string | null;
4113
- appId: string;
4110
+ app: {
4111
+ id: string;
4112
+ name: string;
4113
+ icon?: string | null;
4114
+ importers?: string[] | null;
4115
+ extractors?: string[] | null;
4116
+ };
4114
4117
  } | null;
4115
4118
  nights?: number | null;
4116
4119
  /** @enum {string|null} */
@@ -4143,11 +4146,11 @@ export interface operations {
4143
4146
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4144
4147
  } | null;
4145
4148
  recurringFee?: {
4146
- /** Format: uuid */
4147
4149
  id: string;
4148
4150
  uniqueRef: string;
4149
4151
  name: string;
4150
- type: string;
4152
+ /** @enum {string} */
4153
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4151
4154
  } | null;
4152
4155
  transaction?: {
4153
4156
  id: string;
@@ -4180,7 +4183,13 @@ export interface operations {
4180
4183
  /** @enum {string} */
4181
4184
  status: "active" | "inactive";
4182
4185
  uniqueRef?: string | null;
4183
- appId: string;
4186
+ app: {
4187
+ id: string;
4188
+ name: string;
4189
+ icon?: string | null;
4190
+ importers?: string[] | null;
4191
+ extractors?: string[] | null;
4192
+ };
4184
4193
  } | null;
4185
4194
  uniqueRef?: string | null;
4186
4195
  recurringTemplate?: {
@@ -4198,6 +4207,17 @@ export interface operations {
4198
4207
  /** Format: uuid */
4199
4208
  id: string;
4200
4209
  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;
4201
4221
  uniqueRef?: string | null;
4202
4222
  } | null;
4203
4223
  listingConnection?: {
@@ -4260,11 +4280,11 @@ export interface operations {
4260
4280
  status: "active" | "inactive";
4261
4281
  } | null;
4262
4282
  recurringFee?: {
4263
- /** Format: uuid */
4264
4283
  id: string;
4265
4284
  uniqueRef: string;
4266
4285
  name: string;
4267
- type: string;
4286
+ /** @enum {string} */
4287
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4268
4288
  } | null;
4269
4289
  }[];
4270
4290
  }[];
@@ -4326,7 +4346,6 @@ export interface operations {
4326
4346
  requestBody: {
4327
4347
  content: {
4328
4348
  "application/json": {
4329
- dangerouslyAllowLocked?: boolean;
4330
4349
  ids?: string[];
4331
4350
  listingIds?: string[];
4332
4351
  connectionIds?: string[];
@@ -4466,7 +4485,13 @@ export interface operations {
4466
4485
  /** @enum {string} */
4467
4486
  status: "active" | "inactive";
4468
4487
  uniqueRef?: string | null;
4469
- appId: string;
4488
+ app: {
4489
+ id: string;
4490
+ name: string;
4491
+ icon?: string | null;
4492
+ importers?: string[] | null;
4493
+ extractors?: string[] | null;
4494
+ };
4470
4495
  } | null;
4471
4496
  nights?: number | null;
4472
4497
  /** @enum {string|null} */
@@ -4499,11 +4524,11 @@ export interface operations {
4499
4524
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4500
4525
  } | null;
4501
4526
  recurringFee?: {
4502
- /** Format: uuid */
4503
4527
  id: string;
4504
4528
  uniqueRef: string;
4505
4529
  name: string;
4506
- type: string;
4530
+ /** @enum {string} */
4531
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4507
4532
  } | null;
4508
4533
  transaction?: {
4509
4534
  id: string;
@@ -4536,7 +4561,13 @@ export interface operations {
4536
4561
  /** @enum {string} */
4537
4562
  status: "active" | "inactive";
4538
4563
  uniqueRef?: string | null;
4539
- appId: string;
4564
+ app: {
4565
+ id: string;
4566
+ name: string;
4567
+ icon?: string | null;
4568
+ importers?: string[] | null;
4569
+ extractors?: string[] | null;
4570
+ };
4540
4571
  } | null;
4541
4572
  uniqueRef?: string | null;
4542
4573
  recurringTemplate?: {
@@ -4554,6 +4585,17 @@ export interface operations {
4554
4585
  /** Format: uuid */
4555
4586
  id: string;
4556
4587
  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;
4557
4599
  uniqueRef?: string | null;
4558
4600
  } | null;
4559
4601
  listingConnection?: {
@@ -4616,11 +4658,11 @@ export interface operations {
4616
4658
  status: "active" | "inactive";
4617
4659
  } | null;
4618
4660
  recurringFee?: {
4619
- /** Format: uuid */
4620
4661
  id: string;
4621
4662
  uniqueRef: string;
4622
4663
  name: string;
4623
- type: string;
4664
+ /** @enum {string} */
4665
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4624
4666
  } | null;
4625
4667
  }[];
4626
4668
  };
@@ -4902,7 +4944,13 @@ export interface operations {
4902
4944
  /** @enum {string} */
4903
4945
  status: "active" | "inactive";
4904
4946
  uniqueRef?: string | null;
4905
- appId: string;
4947
+ app: {
4948
+ id: string;
4949
+ name: string;
4950
+ icon?: string | null;
4951
+ importers?: string[] | null;
4952
+ extractors?: string[] | null;
4953
+ };
4906
4954
  } | null;
4907
4955
  nights?: number | null;
4908
4956
  /** @enum {string|null} */
@@ -4935,11 +4983,11 @@ export interface operations {
4935
4983
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4936
4984
  } | null;
4937
4985
  recurringFee?: {
4938
- /** Format: uuid */
4939
4986
  id: string;
4940
4987
  uniqueRef: string;
4941
4988
  name: string;
4942
- type: string;
4989
+ /** @enum {string} */
4990
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4943
4991
  } | null;
4944
4992
  transaction?: {
4945
4993
  id: string;
@@ -4972,7 +5020,13 @@ export interface operations {
4972
5020
  /** @enum {string} */
4973
5021
  status: "active" | "inactive";
4974
5022
  uniqueRef?: string | null;
4975
- appId: string;
5023
+ app: {
5024
+ id: string;
5025
+ name: string;
5026
+ icon?: string | null;
5027
+ importers?: string[] | null;
5028
+ extractors?: string[] | null;
5029
+ };
4976
5030
  } | null;
4977
5031
  uniqueRef?: string | null;
4978
5032
  recurringTemplate?: {
@@ -4990,6 +5044,17 @@ export interface operations {
4990
5044
  /** Format: uuid */
4991
5045
  id: string;
4992
5046
  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;
4993
5058
  uniqueRef?: string | null;
4994
5059
  } | null;
4995
5060
  listingConnection?: {
@@ -5052,11 +5117,11 @@ export interface operations {
5052
5117
  status: "active" | "inactive";
5053
5118
  } | null;
5054
5119
  recurringFee?: {
5055
- /** Format: uuid */
5056
5120
  id: string;
5057
5121
  uniqueRef: string;
5058
5122
  name: string;
5059
- type: string;
5123
+ /** @enum {string} */
5124
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
5060
5125
  } | null;
5061
5126
  }[];
5062
5127
  };
@@ -5276,7 +5341,13 @@ export interface operations {
5276
5341
  /** @enum {string} */
5277
5342
  status: "active" | "inactive";
5278
5343
  uniqueRef?: string | null;
5279
- appId: string;
5344
+ app: {
5345
+ id: string;
5346
+ name: string;
5347
+ icon?: string | null;
5348
+ importers?: string[] | null;
5349
+ extractors?: string[] | null;
5350
+ };
5280
5351
  } | null;
5281
5352
  nights?: number | null;
5282
5353
  /** @enum {string|null} */
@@ -5285,6 +5356,17 @@ export interface operations {
5285
5356
  /** Format: uuid */
5286
5357
  id: string;
5287
5358
  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;
5288
5370
  uniqueRef?: string | null;
5289
5371
  } | null;
5290
5372
  listingConnection?: {
@@ -5535,7 +5617,13 @@ export interface operations {
5535
5617
  /** @enum {string} */
5536
5618
  status: "active" | "inactive";
5537
5619
  uniqueRef?: string | null;
5538
- appId: string;
5620
+ app: {
5621
+ id: string;
5622
+ name: string;
5623
+ icon?: string | null;
5624
+ importers?: string[] | null;
5625
+ extractors?: string[] | null;
5626
+ };
5539
5627
  } | null;
5540
5628
  nights?: number | null;
5541
5629
  /** @enum {string|null} */
@@ -5568,11 +5656,11 @@ export interface operations {
5568
5656
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5569
5657
  } | null;
5570
5658
  recurringFee?: {
5571
- /** Format: uuid */
5572
5659
  id: string;
5573
5660
  uniqueRef: string;
5574
5661
  name: string;
5575
- type: string;
5662
+ /** @enum {string} */
5663
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
5576
5664
  } | null;
5577
5665
  transaction?: {
5578
5666
  id: string;
@@ -5605,7 +5693,13 @@ export interface operations {
5605
5693
  /** @enum {string} */
5606
5694
  status: "active" | "inactive";
5607
5695
  uniqueRef?: string | null;
5608
- appId: string;
5696
+ app: {
5697
+ id: string;
5698
+ name: string;
5699
+ icon?: string | null;
5700
+ importers?: string[] | null;
5701
+ extractors?: string[] | null;
5702
+ };
5609
5703
  } | null;
5610
5704
  uniqueRef?: string | null;
5611
5705
  recurringTemplate?: {
@@ -5623,6 +5717,17 @@ export interface operations {
5623
5717
  /** Format: uuid */
5624
5718
  id: string;
5625
5719
  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;
5626
5731
  uniqueRef?: string | null;
5627
5732
  } | null;
5628
5733
  listingConnection?: {
@@ -5685,11 +5790,11 @@ export interface operations {
5685
5790
  status: "active" | "inactive";
5686
5791
  } | null;
5687
5792
  recurringFee?: {
5688
- /** Format: uuid */
5689
5793
  id: string;
5690
5794
  uniqueRef: string;
5691
5795
  name: string;
5692
- type: string;
5796
+ /** @enum {string} */
5797
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
5693
5798
  } | null;
5694
5799
  }[];
5695
5800
  };
@@ -7808,7 +7913,6 @@ export interface operations {
7808
7913
  countryCode?: string | null;
7809
7914
  } | null;
7810
7915
  phone?: string | null;
7811
- /** Format: email */
7812
7916
  email?: string | null;
7813
7917
  taxId?: string | null;
7814
7918
  partner?: {
@@ -7825,7 +7929,7 @@ export interface operations {
7825
7929
  /** @enum {string} */
7826
7930
  type: "partner" | "admin" | "propertyManager";
7827
7931
  /** @enum {string} */
7828
- status: "active" | "inactive" | "deleted" | "onboarding";
7932
+ status: "active" | "inactive";
7829
7933
  billingSubscriptionStatus?: string | null;
7830
7934
  billingPlan?: string | null;
7831
7935
  createdAt?: string | null;
@@ -7848,7 +7952,6 @@ export interface operations {
7848
7952
  statementStartAt?: string | null;
7849
7953
  members?: {
7850
7954
  userId: string;
7851
- /** Format: email */
7852
7955
  email?: string | null;
7853
7956
  role: string;
7854
7957
  name?: string | null;
@@ -7946,7 +8049,6 @@ export interface operations {
7946
8049
  countryCode?: string | null;
7947
8050
  } | null;
7948
8051
  phone?: string | null;
7949
- /** Format: email */
7950
8052
  email?: string | null;
7951
8053
  taxId?: string | null;
7952
8054
  companyName?: string | null;
@@ -8020,7 +8122,6 @@ export interface operations {
8020
8122
  countryCode?: string | null;
8021
8123
  } | null;
8022
8124
  phone?: string | null;
8023
- /** Format: email */
8024
8125
  email?: string | null;
8025
8126
  taxId?: string | null;
8026
8127
  partner?: {
@@ -8037,7 +8138,7 @@ export interface operations {
8037
8138
  /** @enum {string} */
8038
8139
  type: "partner" | "admin" | "propertyManager";
8039
8140
  /** @enum {string} */
8040
- status: "active" | "inactive" | "deleted" | "onboarding";
8141
+ status: "active" | "inactive";
8041
8142
  billingSubscriptionStatus?: string | null;
8042
8143
  billingPlan?: string | null;
8043
8144
  createdAt?: string | null;
@@ -8060,7 +8161,6 @@ export interface operations {
8060
8161
  statementStartAt?: string | null;
8061
8162
  members?: {
8062
8163
  userId: string;
8063
- /** Format: email */
8064
8164
  email?: string | null;
8065
8165
  role: string;
8066
8166
  name?: string | null;
@@ -8242,7 +8342,6 @@ export interface operations {
8242
8342
  countryCode?: string | null;
8243
8343
  } | null;
8244
8344
  phone?: string | null;
8245
- /** Format: email */
8246
8345
  email?: string | null;
8247
8346
  taxId?: string | null;
8248
8347
  partner?: {
@@ -8259,7 +8358,7 @@ export interface operations {
8259
8358
  /** @enum {string} */
8260
8359
  type: "partner" | "admin" | "propertyManager";
8261
8360
  /** @enum {string} */
8262
- status: "active" | "inactive" | "deleted" | "onboarding";
8361
+ status: "active" | "inactive";
8263
8362
  billingSubscriptionStatus?: string | null;
8264
8363
  billingPlan?: string | null;
8265
8364
  createdAt?: string | null;
@@ -8282,7 +8381,6 @@ export interface operations {
8282
8381
  statementStartAt?: string | null;
8283
8382
  members?: {
8284
8383
  userId: string;
8285
- /** Format: email */
8286
8384
  email?: string | null;
8287
8385
  role: string;
8288
8386
  name?: string | null;
@@ -8386,14 +8484,13 @@ export interface operations {
8386
8484
  countryCode?: string | null;
8387
8485
  } | null;
8388
8486
  phone?: string | null;
8389
- /** Format: email */
8390
8487
  email?: string | null;
8391
8488
  taxId?: string | null;
8392
8489
  companyName?: string | null;
8393
8490
  /** @enum {string} */
8394
8491
  type?: "partner" | "admin" | "propertyManager";
8395
8492
  /** @enum {string} */
8396
- status?: "active" | "inactive" | "deleted" | "onboarding";
8493
+ status?: "active" | "inactive";
8397
8494
  billingSubscriptionStatus?: string | null;
8398
8495
  billingPlan?: string | null;
8399
8496
  trialUntil?: string | null;
@@ -8455,7 +8552,6 @@ export interface operations {
8455
8552
  countryCode?: string | null;
8456
8553
  } | null;
8457
8554
  phone?: string | null;
8458
- /** Format: email */
8459
8555
  email?: string | null;
8460
8556
  taxId?: string | null;
8461
8557
  partner?: {
@@ -8472,7 +8568,7 @@ export interface operations {
8472
8568
  /** @enum {string} */
8473
8569
  type: "partner" | "admin" | "propertyManager";
8474
8570
  /** @enum {string} */
8475
- status: "active" | "inactive" | "deleted" | "onboarding";
8571
+ status: "active" | "inactive";
8476
8572
  billingSubscriptionStatus?: string | null;
8477
8573
  billingPlan?: string | null;
8478
8574
  createdAt?: string | null;
@@ -8495,7 +8591,6 @@ export interface operations {
8495
8591
  statementStartAt?: string | null;
8496
8592
  members?: {
8497
8593
  userId: string;
8498
- /** Format: email */
8499
8594
  email?: string | null;
8500
8595
  role: string;
8501
8596
  name?: string | null;
@@ -8601,7 +8696,6 @@ export interface operations {
8601
8696
  countryCode?: string | null;
8602
8697
  } | null;
8603
8698
  phone?: string | null;
8604
- /** Format: email */
8605
8699
  email?: string | null;
8606
8700
  taxId?: string | null;
8607
8701
  partner?: {
@@ -8618,7 +8712,7 @@ export interface operations {
8618
8712
  /** @enum {string} */
8619
8713
  type: "partner" | "admin" | "propertyManager";
8620
8714
  /** @enum {string} */
8621
- status: "active" | "inactive" | "deleted" | "onboarding";
8715
+ status: "active" | "inactive";
8622
8716
  billingSubscriptionStatus?: string | null;
8623
8717
  billingPlan?: string | null;
8624
8718
  createdAt?: string | null;
@@ -8641,7 +8735,6 @@ export interface operations {
8641
8735
  statementStartAt?: string | null;
8642
8736
  members?: {
8643
8737
  userId: string;
8644
- /** Format: email */
8645
8738
  email?: string | null;
8646
8739
  role: string;
8647
8740
  name?: string | null;
@@ -8917,11 +9010,11 @@ export interface operations {
8917
9010
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
8918
9011
  } | null;
8919
9012
  recurringFee?: {
8920
- /** Format: uuid */
8921
9013
  id: string;
8922
9014
  uniqueRef: string;
8923
9015
  name: string;
8924
- type: string;
9016
+ /** @enum {string} */
9017
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
8925
9018
  } | null;
8926
9019
  transaction?: {
8927
9020
  id: string;
@@ -8954,7 +9047,13 @@ export interface operations {
8954
9047
  /** @enum {string} */
8955
9048
  status: "active" | "inactive";
8956
9049
  uniqueRef?: string | null;
8957
- appId: string;
9050
+ app: {
9051
+ id: string;
9052
+ name: string;
9053
+ icon?: string | null;
9054
+ importers?: string[] | null;
9055
+ extractors?: string[] | null;
9056
+ };
8958
9057
  } | null;
8959
9058
  uniqueRef?: string | null;
8960
9059
  recurringTemplate?: {
@@ -9517,10 +9616,21 @@ export interface operations {
9517
9616
  status: "active" | "inactive";
9518
9617
  }[];
9519
9618
  taxRate?: {
9520
- id: string;
9521
9619
  name: string;
9620
+ countryCode?: string | null;
9621
+ currency?: string | null;
9522
9622
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9523
9623
  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;
9524
9634
  } | null;
9525
9635
  };
9526
9636
  };
@@ -9675,10 +9785,21 @@ export interface operations {
9675
9785
  status: "active" | "inactive";
9676
9786
  }[];
9677
9787
  taxRate?: {
9678
- id: string;
9679
9788
  name: string;
9789
+ countryCode?: string | null;
9790
+ currency?: string | null;
9680
9791
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9681
9792
  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;
9682
9803
  } | null;
9683
9804
  };
9684
9805
  };
@@ -9872,10 +9993,21 @@ export interface operations {
9872
9993
  status: "active" | "inactive";
9873
9994
  }[];
9874
9995
  taxRate?: {
9875
- id: string;
9876
9996
  name: string;
9997
+ countryCode?: string | null;
9998
+ currency?: string | null;
9877
9999
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9878
10000
  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;
9879
10011
  } | null;
9880
10012
  }[];
9881
10013
  pagination: {
@@ -10038,10 +10170,21 @@ export interface operations {
10038
10170
  status: "active" | "inactive";
10039
10171
  }[];
10040
10172
  taxRate?: {
10041
- id: string;
10042
10173
  name: string;
10174
+ countryCode?: string | null;
10175
+ currency?: string | null;
10043
10176
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
10044
10177
  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;
10045
10188
  } | null;
10046
10189
  };
10047
10190
  };
@@ -10115,13 +10258,13 @@ export interface operations {
10115
10258
  name: string;
10116
10259
  locked?: boolean | null;
10117
10260
  /** @enum {string|null} */
10118
- visible?: "all" | "manager" | "owner" | "none" | null;
10261
+ visible?: "all" | "manager" | "none" | null;
10119
10262
  columns: ({
10120
10263
  id?: string | null;
10121
10264
  name: string;
10122
10265
  locked?: boolean | null;
10123
10266
  /** @enum {string|null} */
10124
- visible?: "all" | "manager" | "owner" | "none" | null;
10267
+ visible?: "all" | "manager" | "none" | null;
10125
10268
  /** @enum {string} */
10126
10269
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10127
10270
  value: string;
@@ -10130,7 +10273,7 @@ export interface operations {
10130
10273
  name: string;
10131
10274
  locked?: boolean | null;
10132
10275
  /** @enum {string|null} */
10133
- visible?: "all" | "manager" | "owner" | "none" | null;
10276
+ visible?: "all" | "manager" | "none" | null;
10134
10277
  /** @enum {string} */
10135
10278
  type: "accounts";
10136
10279
  value: string[];
@@ -10141,13 +10284,13 @@ export interface operations {
10141
10284
  name: string;
10142
10285
  locked?: boolean | null;
10143
10286
  /** @enum {string|null} */
10144
- visible?: "all" | "manager" | "owner" | "none" | null;
10287
+ visible?: "all" | "manager" | "none" | null;
10145
10288
  columns: ({
10146
10289
  id?: string | null;
10147
10290
  name: string;
10148
10291
  locked?: boolean | null;
10149
10292
  /** @enum {string|null} */
10150
- visible?: "all" | "manager" | "owner" | "none" | null;
10293
+ visible?: "all" | "manager" | "none" | null;
10151
10294
  /** @enum {string} */
10152
10295
  type: "field";
10153
10296
  value: string;
@@ -10156,7 +10299,7 @@ export interface operations {
10156
10299
  name: string;
10157
10300
  locked?: boolean | null;
10158
10301
  /** @enum {string|null} */
10159
- visible?: "all" | "manager" | "owner" | "none" | null;
10302
+ visible?: "all" | "manager" | "none" | null;
10160
10303
  /** @enum {string} */
10161
10304
  type: "accounts";
10162
10305
  value: string[];
@@ -10180,13 +10323,13 @@ export interface operations {
10180
10323
  name: string;
10181
10324
  locked?: boolean | null;
10182
10325
  /** @enum {string|null} */
10183
- visible?: "all" | "manager" | "owner" | "none" | null;
10326
+ visible?: "all" | "manager" | "none" | null;
10184
10327
  columns: ({
10185
10328
  id?: string | null;
10186
10329
  name: string;
10187
10330
  locked?: boolean | null;
10188
10331
  /** @enum {string|null} */
10189
- visible?: "all" | "manager" | "owner" | "none" | null;
10332
+ visible?: "all" | "manager" | "none" | null;
10190
10333
  /** @enum {string} */
10191
10334
  type: "field";
10192
10335
  value: string;
@@ -10195,7 +10338,7 @@ export interface operations {
10195
10338
  name: string;
10196
10339
  locked?: boolean | null;
10197
10340
  /** @enum {string|null} */
10198
- visible?: "all" | "manager" | "owner" | "none" | null;
10341
+ visible?: "all" | "manager" | "none" | null;
10199
10342
  /** @enum {string} */
10200
10343
  type: "accounts";
10201
10344
  value: string[];
@@ -10283,13 +10426,13 @@ export interface operations {
10283
10426
  name: string;
10284
10427
  locked?: boolean | null;
10285
10428
  /** @enum {string|null} */
10286
- visible?: "all" | "manager" | "owner" | "none" | null;
10429
+ visible?: "all" | "manager" | "none" | null;
10287
10430
  columns: ({
10288
10431
  id?: string | null;
10289
10432
  name: string;
10290
10433
  locked?: boolean | null;
10291
10434
  /** @enum {string|null} */
10292
- visible?: "all" | "manager" | "owner" | "none" | null;
10435
+ visible?: "all" | "manager" | "none" | null;
10293
10436
  /** @enum {string} */
10294
10437
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10295
10438
  value: string;
@@ -10298,7 +10441,7 @@ export interface operations {
10298
10441
  name: string;
10299
10442
  locked?: boolean | null;
10300
10443
  /** @enum {string|null} */
10301
- visible?: "all" | "manager" | "owner" | "none" | null;
10444
+ visible?: "all" | "manager" | "none" | null;
10302
10445
  /** @enum {string} */
10303
10446
  type: "accounts";
10304
10447
  value: string[];
@@ -10309,13 +10452,13 @@ export interface operations {
10309
10452
  name: string;
10310
10453
  locked?: boolean | null;
10311
10454
  /** @enum {string|null} */
10312
- visible?: "all" | "manager" | "owner" | "none" | null;
10455
+ visible?: "all" | "manager" | "none" | null;
10313
10456
  columns: ({
10314
10457
  id?: string | null;
10315
10458
  name: string;
10316
10459
  locked?: boolean | null;
10317
10460
  /** @enum {string|null} */
10318
- visible?: "all" | "manager" | "owner" | "none" | null;
10461
+ visible?: "all" | "manager" | "none" | null;
10319
10462
  /** @enum {string} */
10320
10463
  type: "field";
10321
10464
  value: string;
@@ -10324,7 +10467,7 @@ export interface operations {
10324
10467
  name: string;
10325
10468
  locked?: boolean | null;
10326
10469
  /** @enum {string|null} */
10327
- visible?: "all" | "manager" | "owner" | "none" | null;
10470
+ visible?: "all" | "manager" | "none" | null;
10328
10471
  /** @enum {string} */
10329
10472
  type: "accounts";
10330
10473
  value: string[];
@@ -10350,13 +10493,13 @@ export interface operations {
10350
10493
  name: string;
10351
10494
  locked?: boolean | null;
10352
10495
  /** @enum {string|null} */
10353
- visible?: "all" | "manager" | "owner" | "none" | null;
10496
+ visible?: "all" | "manager" | "none" | null;
10354
10497
  columns: ({
10355
10498
  id?: string | null;
10356
10499
  name: string;
10357
10500
  locked?: boolean | null;
10358
10501
  /** @enum {string|null} */
10359
- visible?: "all" | "manager" | "owner" | "none" | null;
10502
+ visible?: "all" | "manager" | "none" | null;
10360
10503
  /** @enum {string} */
10361
10504
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10362
10505
  value: string;
@@ -10365,7 +10508,7 @@ export interface operations {
10365
10508
  name: string;
10366
10509
  locked?: boolean | null;
10367
10510
  /** @enum {string|null} */
10368
- visible?: "all" | "manager" | "owner" | "none" | null;
10511
+ visible?: "all" | "manager" | "none" | null;
10369
10512
  /** @enum {string} */
10370
10513
  type: "accounts";
10371
10514
  value: string[];
@@ -10376,13 +10519,13 @@ export interface operations {
10376
10519
  name: string;
10377
10520
  locked?: boolean | null;
10378
10521
  /** @enum {string|null} */
10379
- visible?: "all" | "manager" | "owner" | "none" | null;
10522
+ visible?: "all" | "manager" | "none" | null;
10380
10523
  columns: ({
10381
10524
  id?: string | null;
10382
10525
  name: string;
10383
10526
  locked?: boolean | null;
10384
10527
  /** @enum {string|null} */
10385
- visible?: "all" | "manager" | "owner" | "none" | null;
10528
+ visible?: "all" | "manager" | "none" | null;
10386
10529
  /** @enum {string} */
10387
10530
  type: "field";
10388
10531
  value: string;
@@ -10391,7 +10534,7 @@ export interface operations {
10391
10534
  name: string;
10392
10535
  locked?: boolean | null;
10393
10536
  /** @enum {string|null} */
10394
- visible?: "all" | "manager" | "owner" | "none" | null;
10537
+ visible?: "all" | "manager" | "none" | null;
10395
10538
  /** @enum {string} */
10396
10539
  type: "accounts";
10397
10540
  value: string[];
@@ -10415,13 +10558,13 @@ export interface operations {
10415
10558
  name: string;
10416
10559
  locked?: boolean | null;
10417
10560
  /** @enum {string|null} */
10418
- visible?: "all" | "manager" | "owner" | "none" | null;
10561
+ visible?: "all" | "manager" | "none" | null;
10419
10562
  columns: ({
10420
10563
  id?: string | null;
10421
10564
  name: string;
10422
10565
  locked?: boolean | null;
10423
10566
  /** @enum {string|null} */
10424
- visible?: "all" | "manager" | "owner" | "none" | null;
10567
+ visible?: "all" | "manager" | "none" | null;
10425
10568
  /** @enum {string} */
10426
10569
  type: "field";
10427
10570
  value: string;
@@ -10430,7 +10573,7 @@ export interface operations {
10430
10573
  name: string;
10431
10574
  locked?: boolean | null;
10432
10575
  /** @enum {string|null} */
10433
- visible?: "all" | "manager" | "owner" | "none" | null;
10576
+ visible?: "all" | "manager" | "none" | null;
10434
10577
  /** @enum {string} */
10435
10578
  type: "accounts";
10436
10579
  value: string[];
@@ -10506,13 +10649,13 @@ export interface operations {
10506
10649
  name: string;
10507
10650
  locked?: boolean | null;
10508
10651
  /** @enum {string|null} */
10509
- visible?: "all" | "manager" | "owner" | "none" | null;
10652
+ visible?: "all" | "manager" | "none" | null;
10510
10653
  columns: ({
10511
10654
  id?: string | null;
10512
10655
  name: string;
10513
10656
  locked?: boolean | null;
10514
10657
  /** @enum {string|null} */
10515
- visible?: "all" | "manager" | "owner" | "none" | null;
10658
+ visible?: "all" | "manager" | "none" | null;
10516
10659
  /** @enum {string} */
10517
10660
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10518
10661
  value: string;
@@ -10521,7 +10664,7 @@ export interface operations {
10521
10664
  name: string;
10522
10665
  locked?: boolean | null;
10523
10666
  /** @enum {string|null} */
10524
- visible?: "all" | "manager" | "owner" | "none" | null;
10667
+ visible?: "all" | "manager" | "none" | null;
10525
10668
  /** @enum {string} */
10526
10669
  type: "accounts";
10527
10670
  value: string[];
@@ -10532,13 +10675,13 @@ export interface operations {
10532
10675
  name: string;
10533
10676
  locked?: boolean | null;
10534
10677
  /** @enum {string|null} */
10535
- visible?: "all" | "manager" | "owner" | "none" | null;
10678
+ visible?: "all" | "manager" | "none" | null;
10536
10679
  columns: ({
10537
10680
  id?: string | null;
10538
10681
  name: string;
10539
10682
  locked?: boolean | null;
10540
10683
  /** @enum {string|null} */
10541
- visible?: "all" | "manager" | "owner" | "none" | null;
10684
+ visible?: "all" | "manager" | "none" | null;
10542
10685
  /** @enum {string} */
10543
10686
  type: "field";
10544
10687
  value: string;
@@ -10547,7 +10690,7 @@ export interface operations {
10547
10690
  name: string;
10548
10691
  locked?: boolean | null;
10549
10692
  /** @enum {string|null} */
10550
- visible?: "all" | "manager" | "owner" | "none" | null;
10693
+ visible?: "all" | "manager" | "none" | null;
10551
10694
  /** @enum {string} */
10552
10695
  type: "accounts";
10553
10696
  value: string[];
@@ -10571,13 +10714,13 @@ export interface operations {
10571
10714
  name: string;
10572
10715
  locked?: boolean | null;
10573
10716
  /** @enum {string|null} */
10574
- visible?: "all" | "manager" | "owner" | "none" | null;
10717
+ visible?: "all" | "manager" | "none" | null;
10575
10718
  columns: ({
10576
10719
  id?: string | null;
10577
10720
  name: string;
10578
10721
  locked?: boolean | null;
10579
10722
  /** @enum {string|null} */
10580
- visible?: "all" | "manager" | "owner" | "none" | null;
10723
+ visible?: "all" | "manager" | "none" | null;
10581
10724
  /** @enum {string} */
10582
10725
  type: "field";
10583
10726
  value: string;
@@ -10586,7 +10729,7 @@ export interface operations {
10586
10729
  name: string;
10587
10730
  locked?: boolean | null;
10588
10731
  /** @enum {string|null} */
10589
- visible?: "all" | "manager" | "owner" | "none" | null;
10732
+ visible?: "all" | "manager" | "none" | null;
10590
10733
  /** @enum {string} */
10591
10734
  type: "accounts";
10592
10735
  value: string[];
@@ -10666,13 +10809,13 @@ export interface operations {
10666
10809
  name: string;
10667
10810
  locked?: boolean | null;
10668
10811
  /** @enum {string|null} */
10669
- visible?: "all" | "manager" | "owner" | "none" | null;
10812
+ visible?: "all" | "manager" | "none" | null;
10670
10813
  columns: ({
10671
10814
  id?: string | null;
10672
10815
  name: string;
10673
10816
  locked?: boolean | null;
10674
10817
  /** @enum {string|null} */
10675
- visible?: "all" | "manager" | "owner" | "none" | null;
10818
+ visible?: "all" | "manager" | "none" | null;
10676
10819
  /** @enum {string} */
10677
10820
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10678
10821
  value: string;
@@ -10681,7 +10824,7 @@ export interface operations {
10681
10824
  name: string;
10682
10825
  locked?: boolean | null;
10683
10826
  /** @enum {string|null} */
10684
- visible?: "all" | "manager" | "owner" | "none" | null;
10827
+ visible?: "all" | "manager" | "none" | null;
10685
10828
  /** @enum {string} */
10686
10829
  type: "accounts";
10687
10830
  value: string[];
@@ -10692,13 +10835,13 @@ export interface operations {
10692
10835
  name: string;
10693
10836
  locked?: boolean | null;
10694
10837
  /** @enum {string|null} */
10695
- visible?: "all" | "manager" | "owner" | "none" | null;
10838
+ visible?: "all" | "manager" | "none" | null;
10696
10839
  columns: ({
10697
10840
  id?: string | null;
10698
10841
  name: string;
10699
10842
  locked?: boolean | null;
10700
10843
  /** @enum {string|null} */
10701
- visible?: "all" | "manager" | "owner" | "none" | null;
10844
+ visible?: "all" | "manager" | "none" | null;
10702
10845
  /** @enum {string} */
10703
10846
  type: "field";
10704
10847
  value: string;
@@ -10707,7 +10850,7 @@ export interface operations {
10707
10850
  name: string;
10708
10851
  locked?: boolean | null;
10709
10852
  /** @enum {string|null} */
10710
- visible?: "all" | "manager" | "owner" | "none" | null;
10853
+ visible?: "all" | "manager" | "none" | null;
10711
10854
  /** @enum {string} */
10712
10855
  type: "accounts";
10713
10856
  value: string[];
@@ -10733,13 +10876,13 @@ export interface operations {
10733
10876
  name: string;
10734
10877
  locked?: boolean | null;
10735
10878
  /** @enum {string|null} */
10736
- visible?: "all" | "manager" | "owner" | "none" | null;
10879
+ visible?: "all" | "manager" | "none" | null;
10737
10880
  columns: ({
10738
10881
  id?: string | null;
10739
10882
  name: string;
10740
10883
  locked?: boolean | null;
10741
10884
  /** @enum {string|null} */
10742
- visible?: "all" | "manager" | "owner" | "none" | null;
10885
+ visible?: "all" | "manager" | "none" | null;
10743
10886
  /** @enum {string} */
10744
10887
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10745
10888
  value: string;
@@ -10748,7 +10891,7 @@ export interface operations {
10748
10891
  name: string;
10749
10892
  locked?: boolean | null;
10750
10893
  /** @enum {string|null} */
10751
- visible?: "all" | "manager" | "owner" | "none" | null;
10894
+ visible?: "all" | "manager" | "none" | null;
10752
10895
  /** @enum {string} */
10753
10896
  type: "accounts";
10754
10897
  value: string[];
@@ -10759,13 +10902,13 @@ export interface operations {
10759
10902
  name: string;
10760
10903
  locked?: boolean | null;
10761
10904
  /** @enum {string|null} */
10762
- visible?: "all" | "manager" | "owner" | "none" | null;
10905
+ visible?: "all" | "manager" | "none" | null;
10763
10906
  columns: ({
10764
10907
  id?: string | null;
10765
10908
  name: string;
10766
10909
  locked?: boolean | null;
10767
10910
  /** @enum {string|null} */
10768
- visible?: "all" | "manager" | "owner" | "none" | null;
10911
+ visible?: "all" | "manager" | "none" | null;
10769
10912
  /** @enum {string} */
10770
10913
  type: "field";
10771
10914
  value: string;
@@ -10774,7 +10917,7 @@ export interface operations {
10774
10917
  name: string;
10775
10918
  locked?: boolean | null;
10776
10919
  /** @enum {string|null} */
10777
- visible?: "all" | "manager" | "owner" | "none" | null;
10920
+ visible?: "all" | "manager" | "none" | null;
10778
10921
  /** @enum {string} */
10779
10922
  type: "accounts";
10780
10923
  value: string[];
@@ -10798,13 +10941,13 @@ export interface operations {
10798
10941
  name: string;
10799
10942
  locked?: boolean | null;
10800
10943
  /** @enum {string|null} */
10801
- visible?: "all" | "manager" | "owner" | "none" | null;
10944
+ visible?: "all" | "manager" | "none" | null;
10802
10945
  columns: ({
10803
10946
  id?: string | null;
10804
10947
  name: string;
10805
10948
  locked?: boolean | null;
10806
10949
  /** @enum {string|null} */
10807
- visible?: "all" | "manager" | "owner" | "none" | null;
10950
+ visible?: "all" | "manager" | "none" | null;
10808
10951
  /** @enum {string} */
10809
10952
  type: "field";
10810
10953
  value: string;
@@ -10813,7 +10956,7 @@ export interface operations {
10813
10956
  name: string;
10814
10957
  locked?: boolean | null;
10815
10958
  /** @enum {string|null} */
10816
- visible?: "all" | "manager" | "owner" | "none" | null;
10959
+ visible?: "all" | "manager" | "none" | null;
10817
10960
  /** @enum {string} */
10818
10961
  type: "accounts";
10819
10962
  value: string[];
@@ -11086,7 +11229,13 @@ export interface operations {
11086
11229
  /** @enum {string} */
11087
11230
  status: "active" | "inactive";
11088
11231
  uniqueRef?: string | null;
11089
- appId: string;
11232
+ app: {
11233
+ id: string;
11234
+ name: string;
11235
+ icon?: string | null;
11236
+ importers?: string[] | null;
11237
+ extractors?: string[] | null;
11238
+ };
11090
11239
  } | null;
11091
11240
  contact?: {
11092
11241
  /** Format: uuid */
@@ -11381,13 +11530,13 @@ export interface operations {
11381
11530
  name: string;
11382
11531
  locked?: boolean | null;
11383
11532
  /** @enum {string|null} */
11384
- visible?: "all" | "manager" | "owner" | "none" | null;
11533
+ visible?: "all" | "manager" | "none" | null;
11385
11534
  columns: ({
11386
11535
  id?: string | null;
11387
11536
  name: string;
11388
11537
  locked?: boolean | null;
11389
11538
  /** @enum {string|null} */
11390
- visible?: "all" | "manager" | "owner" | "none" | null;
11539
+ visible?: "all" | "manager" | "none" | null;
11391
11540
  /** @enum {string} */
11392
11541
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
11393
11542
  value: string;
@@ -11396,7 +11545,7 @@ export interface operations {
11396
11545
  name: string;
11397
11546
  locked?: boolean | null;
11398
11547
  /** @enum {string|null} */
11399
- visible?: "all" | "manager" | "owner" | "none" | null;
11548
+ visible?: "all" | "manager" | "none" | null;
11400
11549
  /** @enum {string} */
11401
11550
  type: "accounts";
11402
11551
  value: string[];
@@ -11407,13 +11556,13 @@ export interface operations {
11407
11556
  name: string;
11408
11557
  locked?: boolean | null;
11409
11558
  /** @enum {string|null} */
11410
- visible?: "all" | "manager" | "owner" | "none" | null;
11559
+ visible?: "all" | "manager" | "none" | null;
11411
11560
  columns: ({
11412
11561
  id?: string | null;
11413
11562
  name: string;
11414
11563
  locked?: boolean | null;
11415
11564
  /** @enum {string|null} */
11416
- visible?: "all" | "manager" | "owner" | "none" | null;
11565
+ visible?: "all" | "manager" | "none" | null;
11417
11566
  /** @enum {string} */
11418
11567
  type: "field";
11419
11568
  value: string;
@@ -11422,7 +11571,7 @@ export interface operations {
11422
11571
  name: string;
11423
11572
  locked?: boolean | null;
11424
11573
  /** @enum {string|null} */
11425
- visible?: "all" | "manager" | "owner" | "none" | null;
11574
+ visible?: "all" | "manager" | "none" | null;
11426
11575
  /** @enum {string} */
11427
11576
  type: "accounts";
11428
11577
  value: string[];
@@ -11446,13 +11595,13 @@ export interface operations {
11446
11595
  name: string;
11447
11596
  locked?: boolean | null;
11448
11597
  /** @enum {string|null} */
11449
- visible?: "all" | "manager" | "owner" | "none" | null;
11598
+ visible?: "all" | "manager" | "none" | null;
11450
11599
  columns: ({
11451
11600
  id?: string | null;
11452
11601
  name: string;
11453
11602
  locked?: boolean | null;
11454
11603
  /** @enum {string|null} */
11455
- visible?: "all" | "manager" | "owner" | "none" | null;
11604
+ visible?: "all" | "manager" | "none" | null;
11456
11605
  /** @enum {string} */
11457
11606
  type: "field";
11458
11607
  value: string;
@@ -11461,7 +11610,7 @@ export interface operations {
11461
11610
  name: string;
11462
11611
  locked?: boolean | null;
11463
11612
  /** @enum {string|null} */
11464
- visible?: "all" | "manager" | "owner" | "none" | null;
11613
+ visible?: "all" | "manager" | "none" | null;
11465
11614
  /** @enum {string} */
11466
11615
  type: "accounts";
11467
11616
  value: string[];
@@ -11681,25 +11830,17 @@ export interface operations {
11681
11830
  };
11682
11831
  };
11683
11832
  };
11684
- getOwnerStatementTotals: {
11833
+ getOwnerStatement: {
11685
11834
  parameters: {
11686
- query: {
11687
- /** @description Date in format YYYY-MM */
11688
- month: string;
11689
- /** @description comma separated listings */
11690
- listingIds?: string;
11691
- /** @description comma separated owners */
11692
- ownerIds?: string;
11693
- status?: ("draft" | "inReview" | "void" | "published") | "all";
11694
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
11695
- currency?: string;
11696
- search?: string;
11697
- includePreviousUnattached?: boolean;
11835
+ query?: {
11836
+ viewAs?: "owner" | "manager";
11698
11837
  };
11699
11838
  header?: {
11700
11839
  "X-Team-Id"?: string;
11701
11840
  };
11702
- path?: never;
11841
+ path: {
11842
+ id: string;
11843
+ };
11703
11844
  cookie?: never;
11704
11845
  };
11705
11846
  requestBody?: never;
@@ -11711,99 +11852,10 @@ export interface operations {
11711
11852
  };
11712
11853
  content: {
11713
11854
  "application/json": {
11714
- aggregates: {
11715
- /** @description Value in cents (100 = 1€) */
11716
- balanceStart: number;
11717
- /** @description Value in cents (100 = 1€) */
11718
- netRevenue: number;
11719
- /** @description Value in cents (100 = 1€) */
11720
- expenses: number;
11721
- /** @description Value in cents (100 = 1€) */
11722
- netIncome: number;
11723
- /** @description Value in cents (100 = 1€) */
11724
- transfers: number;
11725
- /** @description Value in cents (100 = 1€) */
11726
- balanceEnd: number;
11727
- currency: string;
11728
- }[];
11729
- total: number;
11730
- defaultCurrency: string;
11731
- };
11732
- };
11733
- };
11734
- /** @description Invalid input data */
11735
- 400: {
11736
- headers: {
11737
- [name: string]: unknown;
11738
- };
11739
- content: {
11740
- "application/json": components["schemas"]["error.BAD_REQUEST"];
11741
- };
11742
- };
11743
- /** @description Authorization not provided */
11744
- 401: {
11745
- headers: {
11746
- [name: string]: unknown;
11747
- };
11748
- content: {
11749
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
11750
- };
11751
- };
11752
- /** @description Insufficient access */
11753
- 403: {
11754
- headers: {
11755
- [name: string]: unknown;
11756
- };
11757
- content: {
11758
- "application/json": components["schemas"]["error.FORBIDDEN"];
11759
- };
11760
- };
11761
- /** @description Not found */
11762
- 404: {
11763
- headers: {
11764
- [name: string]: unknown;
11765
- };
11766
- content: {
11767
- "application/json": components["schemas"]["error.NOT_FOUND"];
11768
- };
11769
- };
11770
- /** @description Internal server error */
11771
- 500: {
11772
- headers: {
11773
- [name: string]: unknown;
11774
- };
11775
- content: {
11776
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
11777
- };
11778
- };
11779
- };
11780
- };
11781
- getOwnerStatement: {
11782
- parameters: {
11783
- query?: {
11784
- viewAs?: "owner" | "manager";
11785
- };
11786
- header?: {
11787
- "X-Team-Id"?: string;
11788
- };
11789
- path: {
11790
- id: string;
11791
- };
11792
- cookie?: never;
11793
- };
11794
- requestBody?: never;
11795
- responses: {
11796
- /** @description Successful response */
11797
- 200: {
11798
- headers: {
11799
- [name: string]: unknown;
11800
- };
11801
- content: {
11802
- "application/json": {
11803
- id: string | null;
11804
- /** @description Value in cents (100 = 1€) */
11805
- total: number;
11806
- financials: {
11855
+ id: string | null;
11856
+ /** @description Value in cents (100 = 1€) */
11857
+ total: number;
11858
+ financials: {
11807
11859
  /** @description Value in cents (100 = 1€) */
11808
11860
  balanceStart: number;
11809
11861
  /** @description Value in cents (100 = 1€) */
@@ -11931,13 +11983,13 @@ export interface operations {
11931
11983
  name: string;
11932
11984
  locked?: boolean | null;
11933
11985
  /** @enum {string|null} */
11934
- visible?: "all" | "manager" | "owner" | "none" | null;
11986
+ visible?: "all" | "manager" | "none" | null;
11935
11987
  columns: ({
11936
11988
  id?: string | null;
11937
11989
  name: string;
11938
11990
  locked?: boolean | null;
11939
11991
  /** @enum {string|null} */
11940
- visible?: "all" | "manager" | "owner" | "none" | null;
11992
+ visible?: "all" | "manager" | "none" | null;
11941
11993
  /** @enum {string} */
11942
11994
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
11943
11995
  value: string;
@@ -11946,7 +11998,7 @@ export interface operations {
11946
11998
  name: string;
11947
11999
  locked?: boolean | null;
11948
12000
  /** @enum {string|null} */
11949
- visible?: "all" | "manager" | "owner" | "none" | null;
12001
+ visible?: "all" | "manager" | "none" | null;
11950
12002
  /** @enum {string} */
11951
12003
  type: "accounts";
11952
12004
  value: string[];
@@ -11957,13 +12009,13 @@ export interface operations {
11957
12009
  name: string;
11958
12010
  locked?: boolean | null;
11959
12011
  /** @enum {string|null} */
11960
- visible?: "all" | "manager" | "owner" | "none" | null;
12012
+ visible?: "all" | "manager" | "none" | null;
11961
12013
  columns: ({
11962
12014
  id?: string | null;
11963
12015
  name: string;
11964
12016
  locked?: boolean | null;
11965
12017
  /** @enum {string|null} */
11966
- visible?: "all" | "manager" | "owner" | "none" | null;
12018
+ visible?: "all" | "manager" | "none" | null;
11967
12019
  /** @enum {string} */
11968
12020
  type: "field";
11969
12021
  value: string;
@@ -11972,7 +12024,7 @@ export interface operations {
11972
12024
  name: string;
11973
12025
  locked?: boolean | null;
11974
12026
  /** @enum {string|null} */
11975
- visible?: "all" | "manager" | "owner" | "none" | null;
12027
+ visible?: "all" | "manager" | "none" | null;
11976
12028
  /** @enum {string} */
11977
12029
  type: "accounts";
11978
12030
  value: string[];
@@ -11996,13 +12048,13 @@ export interface operations {
11996
12048
  name: string;
11997
12049
  locked?: boolean | null;
11998
12050
  /** @enum {string|null} */
11999
- visible?: "all" | "manager" | "owner" | "none" | null;
12051
+ visible?: "all" | "manager" | "none" | null;
12000
12052
  columns: ({
12001
12053
  id?: string | null;
12002
12054
  name: string;
12003
12055
  locked?: boolean | null;
12004
12056
  /** @enum {string|null} */
12005
- visible?: "all" | "manager" | "owner" | "none" | null;
12057
+ visible?: "all" | "manager" | "none" | null;
12006
12058
  /** @enum {string} */
12007
12059
  type: "field";
12008
12060
  value: string;
@@ -12011,7 +12063,7 @@ export interface operations {
12011
12063
  name: string;
12012
12064
  locked?: boolean | null;
12013
12065
  /** @enum {string|null} */
12014
- visible?: "all" | "manager" | "owner" | "none" | null;
12066
+ visible?: "all" | "manager" | "none" | null;
12015
12067
  /** @enum {string} */
12016
12068
  type: "accounts";
12017
12069
  value: string[];
@@ -12393,13 +12445,13 @@ export interface operations {
12393
12445
  name: string;
12394
12446
  locked?: boolean | null;
12395
12447
  /** @enum {string|null} */
12396
- visible?: "all" | "manager" | "owner" | "none" | null;
12448
+ visible?: "all" | "manager" | "none" | null;
12397
12449
  columns: ({
12398
12450
  id?: string | null;
12399
12451
  name: string;
12400
12452
  locked?: boolean | null;
12401
12453
  /** @enum {string|null} */
12402
- visible?: "all" | "manager" | "owner" | "none" | null;
12454
+ visible?: "all" | "manager" | "none" | null;
12403
12455
  /** @enum {string} */
12404
12456
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
12405
12457
  value: string;
@@ -12408,7 +12460,7 @@ export interface operations {
12408
12460
  name: string;
12409
12461
  locked?: boolean | null;
12410
12462
  /** @enum {string|null} */
12411
- visible?: "all" | "manager" | "owner" | "none" | null;
12463
+ visible?: "all" | "manager" | "none" | null;
12412
12464
  /** @enum {string} */
12413
12465
  type: "accounts";
12414
12466
  value: string[];
@@ -12419,13 +12471,13 @@ export interface operations {
12419
12471
  name: string;
12420
12472
  locked?: boolean | null;
12421
12473
  /** @enum {string|null} */
12422
- visible?: "all" | "manager" | "owner" | "none" | null;
12474
+ visible?: "all" | "manager" | "none" | null;
12423
12475
  columns: ({
12424
12476
  id?: string | null;
12425
12477
  name: string;
12426
12478
  locked?: boolean | null;
12427
12479
  /** @enum {string|null} */
12428
- visible?: "all" | "manager" | "owner" | "none" | null;
12480
+ visible?: "all" | "manager" | "none" | null;
12429
12481
  /** @enum {string} */
12430
12482
  type: "field";
12431
12483
  value: string;
@@ -12434,7 +12486,7 @@ export interface operations {
12434
12486
  name: string;
12435
12487
  locked?: boolean | null;
12436
12488
  /** @enum {string|null} */
12437
- visible?: "all" | "manager" | "owner" | "none" | null;
12489
+ visible?: "all" | "manager" | "none" | null;
12438
12490
  /** @enum {string} */
12439
12491
  type: "accounts";
12440
12492
  value: string[];
@@ -12458,13 +12510,13 @@ export interface operations {
12458
12510
  name: string;
12459
12511
  locked?: boolean | null;
12460
12512
  /** @enum {string|null} */
12461
- visible?: "all" | "manager" | "owner" | "none" | null;
12513
+ visible?: "all" | "manager" | "none" | null;
12462
12514
  columns: ({
12463
12515
  id?: string | null;
12464
12516
  name: string;
12465
12517
  locked?: boolean | null;
12466
12518
  /** @enum {string|null} */
12467
- visible?: "all" | "manager" | "owner" | "none" | null;
12519
+ visible?: "all" | "manager" | "none" | null;
12468
12520
  /** @enum {string} */
12469
12521
  type: "field";
12470
12522
  value: string;
@@ -12473,7 +12525,7 @@ export interface operations {
12473
12525
  name: string;
12474
12526
  locked?: boolean | null;
12475
12527
  /** @enum {string|null} */
12476
- visible?: "all" | "manager" | "owner" | "none" | null;
12528
+ visible?: "all" | "manager" | "none" | null;
12477
12529
  /** @enum {string} */
12478
12530
  type: "accounts";
12479
12531
  value: string[];
@@ -13184,13 +13236,13 @@ export interface operations {
13184
13236
  name: string;
13185
13237
  locked?: boolean | null;
13186
13238
  /** @enum {string|null} */
13187
- visible?: "all" | "manager" | "owner" | "none" | null;
13239
+ visible?: "all" | "manager" | "none" | null;
13188
13240
  columns: ({
13189
13241
  id?: string | null;
13190
13242
  name: string;
13191
13243
  locked?: boolean | null;
13192
13244
  /** @enum {string|null} */
13193
- visible?: "all" | "manager" | "owner" | "none" | null;
13245
+ visible?: "all" | "manager" | "none" | null;
13194
13246
  /** @enum {string} */
13195
13247
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
13196
13248
  value: string;
@@ -13199,7 +13251,7 @@ export interface operations {
13199
13251
  name: string;
13200
13252
  locked?: boolean | null;
13201
13253
  /** @enum {string|null} */
13202
- visible?: "all" | "manager" | "owner" | "none" | null;
13254
+ visible?: "all" | "manager" | "none" | null;
13203
13255
  /** @enum {string} */
13204
13256
  type: "accounts";
13205
13257
  value: string[];
@@ -13210,13 +13262,13 @@ export interface operations {
13210
13262
  name: string;
13211
13263
  locked?: boolean | null;
13212
13264
  /** @enum {string|null} */
13213
- visible?: "all" | "manager" | "owner" | "none" | null;
13265
+ visible?: "all" | "manager" | "none" | null;
13214
13266
  columns: ({
13215
13267
  id?: string | null;
13216
13268
  name: string;
13217
13269
  locked?: boolean | null;
13218
13270
  /** @enum {string|null} */
13219
- visible?: "all" | "manager" | "owner" | "none" | null;
13271
+ visible?: "all" | "manager" | "none" | null;
13220
13272
  /** @enum {string} */
13221
13273
  type: "field";
13222
13274
  value: string;
@@ -13225,7 +13277,7 @@ export interface operations {
13225
13277
  name: string;
13226
13278
  locked?: boolean | null;
13227
13279
  /** @enum {string|null} */
13228
- visible?: "all" | "manager" | "owner" | "none" | null;
13280
+ visible?: "all" | "manager" | "none" | null;
13229
13281
  /** @enum {string} */
13230
13282
  type: "accounts";
13231
13283
  value: string[];
@@ -13249,13 +13301,13 @@ export interface operations {
13249
13301
  name: string;
13250
13302
  locked?: boolean | null;
13251
13303
  /** @enum {string|null} */
13252
- visible?: "all" | "manager" | "owner" | "none" | null;
13304
+ visible?: "all" | "manager" | "none" | null;
13253
13305
  columns: ({
13254
13306
  id?: string | null;
13255
13307
  name: string;
13256
13308
  locked?: boolean | null;
13257
13309
  /** @enum {string|null} */
13258
- visible?: "all" | "manager" | "owner" | "none" | null;
13310
+ visible?: "all" | "manager" | "none" | null;
13259
13311
  /** @enum {string} */
13260
13312
  type: "field";
13261
13313
  value: string;
@@ -13264,7 +13316,7 @@ export interface operations {
13264
13316
  name: string;
13265
13317
  locked?: boolean | null;
13266
13318
  /** @enum {string|null} */
13267
- visible?: "all" | "manager" | "owner" | "none" | null;
13319
+ visible?: "all" | "manager" | "none" | null;
13268
13320
  /** @enum {string} */
13269
13321
  type: "accounts";
13270
13322
  value: string[];
@@ -13624,7 +13676,13 @@ export interface operations {
13624
13676
  /** @enum {string} */
13625
13677
  status: "active" | "inactive";
13626
13678
  uniqueRef?: string | null;
13627
- appId: string;
13679
+ app: {
13680
+ id: string;
13681
+ name: string;
13682
+ icon?: string | null;
13683
+ importers?: string[] | null;
13684
+ extractors?: string[] | null;
13685
+ };
13628
13686
  } | null;
13629
13687
  contact?: {
13630
13688
  /** Format: uuid */
@@ -14071,7 +14129,13 @@ export interface operations {
14071
14129
  /** @enum {string} */
14072
14130
  status: "active" | "inactive";
14073
14131
  uniqueRef?: string | null;
14074
- appId: string;
14132
+ app: {
14133
+ id: string;
14134
+ name: string;
14135
+ icon?: string | null;
14136
+ importers?: string[] | null;
14137
+ extractors?: string[] | null;
14138
+ };
14075
14139
  } | null;
14076
14140
  contact?: {
14077
14141
  /** Format: uuid */
@@ -15232,7 +15296,13 @@ export interface operations {
15232
15296
  /** @enum {string} */
15233
15297
  status: "active" | "inactive";
15234
15298
  uniqueRef?: string | null;
15235
- appId: string;
15299
+ app: {
15300
+ id: string;
15301
+ name: string;
15302
+ icon?: string | null;
15303
+ importers?: string[] | null;
15304
+ extractors?: string[] | null;
15305
+ };
15236
15306
  } | null;
15237
15307
  contact?: {
15238
15308
  /** Format: uuid */
@@ -15502,7 +15572,13 @@ export interface operations {
15502
15572
  /** @enum {string} */
15503
15573
  status: "active" | "inactive";
15504
15574
  uniqueRef?: string | null;
15505
- appId: string;
15575
+ app: {
15576
+ id: string;
15577
+ name: string;
15578
+ icon?: string | null;
15579
+ importers?: string[] | null;
15580
+ extractors?: string[] | null;
15581
+ };
15506
15582
  } | null;
15507
15583
  contact?: {
15508
15584
  /** Format: uuid */
@@ -15781,7 +15857,13 @@ export interface operations {
15781
15857
  /** @enum {string} */
15782
15858
  status: "active" | "inactive";
15783
15859
  uniqueRef?: string | null;
15784
- appId: string;
15860
+ app: {
15861
+ id: string;
15862
+ name: string;
15863
+ icon?: string | null;
15864
+ importers?: string[] | null;
15865
+ extractors?: string[] | null;
15866
+ };
15785
15867
  } | null;
15786
15868
  contact?: {
15787
15869
  /** Format: uuid */
@@ -16057,7 +16139,13 @@ export interface operations {
16057
16139
  /** @enum {string} */
16058
16140
  status: "active" | "inactive";
16059
16141
  uniqueRef?: string | null;
16060
- appId: string;
16142
+ app: {
16143
+ id: string;
16144
+ name: string;
16145
+ icon?: string | null;
16146
+ importers?: string[] | null;
16147
+ extractors?: string[] | null;
16148
+ };
16061
16149
  } | null;
16062
16150
  contact?: {
16063
16151
  /** Format: uuid */
@@ -16253,7 +16341,13 @@ export interface operations {
16253
16341
  /** @enum {string} */
16254
16342
  status: "active" | "inactive";
16255
16343
  uniqueRef?: string | null;
16256
- appId: string;
16344
+ app: {
16345
+ id: string;
16346
+ name: string;
16347
+ icon?: string | null;
16348
+ importers?: string[] | null;
16349
+ extractors?: string[] | null;
16350
+ };
16257
16351
  } | null;
16258
16352
  contact?: {
16259
16353
  /** Format: uuid */
@@ -16522,7 +16616,13 @@ export interface operations {
16522
16616
  /** @enum {string} */
16523
16617
  status: "active" | "inactive";
16524
16618
  uniqueRef?: string | null;
16525
- appId: string;
16619
+ app: {
16620
+ id: string;
16621
+ name: string;
16622
+ icon?: string | null;
16623
+ importers?: string[] | null;
16624
+ extractors?: string[] | null;
16625
+ };
16526
16626
  } | null;
16527
16627
  contact?: {
16528
16628
  /** Format: uuid */
@@ -17433,7 +17533,13 @@ export interface operations {
17433
17533
  /** @enum {string} */
17434
17534
  status: "active" | "inactive";
17435
17535
  uniqueRef?: string | null;
17436
- appId: string;
17536
+ app: {
17537
+ id: string;
17538
+ name: string;
17539
+ icon?: string | null;
17540
+ importers?: string[] | null;
17541
+ extractors?: string[] | null;
17542
+ };
17437
17543
  } | null;
17438
17544
  contact?: {
17439
17545
  /** Format: uuid */
@@ -17554,7 +17660,6 @@ export interface operations {
17554
17660
  status?: "active" | "inactive";
17555
17661
  /** @enum {string} */
17556
17662
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
17557
- uniqueRef?: string | null;
17558
17663
  id: string;
17559
17664
  offsetAccount?: {
17560
17665
  id: string;
@@ -17693,7 +17798,6 @@ export interface operations {
17693
17798
  last4?: string | null;
17694
17799
  currency?: string | null;
17695
17800
  } | null;
17696
- uniqueRef?: string | null;
17697
17801
  };
17698
17802
  };
17699
17803
  };
@@ -17710,7 +17814,6 @@ export interface operations {
17710
17814
  status?: "active" | "inactive";
17711
17815
  /** @enum {string} */
17712
17816
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
17713
- uniqueRef?: string | null;
17714
17817
  id: string;
17715
17818
  offsetAccount?: {
17716
17819
  id: string;
@@ -17926,7 +18029,6 @@ export interface operations {
17926
18029
  status?: "active" | "inactive";
17927
18030
  /** @enum {string} */
17928
18031
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
17929
- uniqueRef?: string | null;
17930
18032
  id: string;
17931
18033
  offsetAccount?: {
17932
18034
  id: string;
@@ -18073,7 +18175,6 @@ export interface operations {
18073
18175
  last4?: string | null;
18074
18176
  currency?: string | null;
18075
18177
  } | null;
18076
- uniqueRef?: string | null;
18077
18178
  };
18078
18179
  };
18079
18180
  };
@@ -18090,7 +18191,6 @@ export interface operations {
18090
18191
  status?: "active" | "inactive";
18091
18192
  /** @enum {string} */
18092
18193
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
18093
- uniqueRef?: string | null;
18094
18194
  id: string;
18095
18195
  offsetAccount?: {
18096
18196
  id: string;
@@ -18786,7 +18886,13 @@ export interface operations {
18786
18886
  /** @enum {string} */
18787
18887
  status: "active" | "inactive";
18788
18888
  uniqueRef?: string | null;
18789
- appId: string;
18889
+ app: {
18890
+ id: string;
18891
+ name: string;
18892
+ icon?: string | null;
18893
+ importers?: string[] | null;
18894
+ extractors?: string[] | null;
18895
+ };
18790
18896
  } | null;
18791
18897
  uniqueRef?: string | null;
18792
18898
  recurringTemplate?: {
@@ -19025,7 +19131,13 @@ export interface operations {
19025
19131
  /** @enum {string} */
19026
19132
  status: "active" | "inactive";
19027
19133
  uniqueRef?: string | null;
19028
- appId: string;
19134
+ app: {
19135
+ id: string;
19136
+ name: string;
19137
+ icon?: string | null;
19138
+ importers?: string[] | null;
19139
+ extractors?: string[] | null;
19140
+ };
19029
19141
  } | null;
19030
19142
  uniqueRef?: string | null;
19031
19143
  recurringTemplate?: {
@@ -19104,8 +19216,6 @@ export interface operations {
19104
19216
  requestBody: {
19105
19217
  content: {
19106
19218
  "application/json": {
19107
- /** Format: uuid */
19108
- connectionId: string;
19109
19219
  data: {
19110
19220
  address?: {
19111
19221
  full?: string | null;
@@ -19120,6 +19230,7 @@ export interface operations {
19120
19230
  } | null;
19121
19231
  /** @enum {string} */
19122
19232
  type: "owner" | "vendor";
19233
+ email?: string | null;
19123
19234
  firstName?: string | null;
19124
19235
  name?: string | null;
19125
19236
  phone?: string | null;
@@ -19132,12 +19243,14 @@ export interface operations {
19132
19243
  uniqueRef?: string | null;
19133
19244
  /** @enum {string|null} */
19134
19245
  status?: "active" | "inactive" | null;
19246
+ invite?: boolean | null;
19135
19247
  /** Format: uuid */
19136
19248
  payoutAccountId?: string | null;
19137
19249
  /** Format: uuid */
19138
19250
  id?: string | null;
19139
- email?: string | null;
19140
19251
  }[];
19252
+ /** Format: uuid */
19253
+ connectionId: string;
19141
19254
  };
19142
19255
  };
19143
19256
  };
@@ -19163,7 +19276,6 @@ export interface operations {
19163
19276
  } | null;
19164
19277
  /** @enum {string} */
19165
19278
  type: "owner" | "vendor";
19166
- /** Format: email */
19167
19279
  email?: string | null;
19168
19280
  firstName?: string | null;
19169
19281
  name?: string | null;
@@ -19175,6 +19287,7 @@ export interface operations {
19175
19287
  uniqueRef?: string | null;
19176
19288
  /** @enum {string} */
19177
19289
  status: "active" | "inactive";
19290
+ invite?: boolean | null;
19178
19291
  /** Format: uuid */
19179
19292
  payoutAccountId?: string | null;
19180
19293
  /** Format: uuid */
@@ -19278,7 +19391,6 @@ export interface operations {
19278
19391
  } | null;
19279
19392
  /** @enum {string} */
19280
19393
  type: "owner" | "vendor";
19281
- /** Format: email */
19282
19394
  email?: string | null;
19283
19395
  firstName?: string | null;
19284
19396
  name?: string | null;
@@ -19290,6 +19402,7 @@ export interface operations {
19290
19402
  uniqueRef?: string | null;
19291
19403
  /** @enum {string} */
19292
19404
  status: "active" | "inactive";
19405
+ invite?: boolean | null;
19293
19406
  /** Format: uuid */
19294
19407
  payoutAccountId?: string | null;
19295
19408
  /** Format: uuid */
@@ -19390,7 +19503,6 @@ export interface operations {
19390
19503
  } | null;
19391
19504
  /** @enum {string} */
19392
19505
  type?: "owner" | "vendor";
19393
- /** Format: email */
19394
19506
  email?: string | null;
19395
19507
  firstName?: string | null;
19396
19508
  name?: string | null;
@@ -19404,6 +19516,7 @@ export interface operations {
19404
19516
  uniqueRef?: string | null;
19405
19517
  /** @enum {string|null} */
19406
19518
  status?: "active" | "inactive" | null;
19519
+ invite?: boolean | null;
19407
19520
  /** Format: uuid */
19408
19521
  payoutAccountId?: string | null;
19409
19522
  };
@@ -19430,7 +19543,6 @@ export interface operations {
19430
19543
  } | null;
19431
19544
  /** @enum {string} */
19432
19545
  type: "owner" | "vendor";
19433
- /** Format: email */
19434
19546
  email?: string | null;
19435
19547
  firstName?: string | null;
19436
19548
  name?: string | null;
@@ -19442,6 +19554,7 @@ export interface operations {
19442
19554
  uniqueRef?: string | null;
19443
19555
  /** @enum {string} */
19444
19556
  status: "active" | "inactive";
19557
+ invite?: boolean | null;
19445
19558
  /** Format: uuid */
19446
19559
  payoutAccountId?: string | null;
19447
19560
  /** Format: uuid */
@@ -19627,7 +19740,6 @@ export interface operations {
19627
19740
  } | null;
19628
19741
  /** @enum {string} */
19629
19742
  type: "owner" | "vendor";
19630
- /** Format: email */
19631
19743
  email?: string | null;
19632
19744
  firstName?: string | null;
19633
19745
  name?: string | null;
@@ -19639,6 +19751,7 @@ export interface operations {
19639
19751
  uniqueRef?: string | null;
19640
19752
  /** @enum {string} */
19641
19753
  status: "active" | "inactive";
19754
+ invite?: boolean | null;
19642
19755
  /** Format: uuid */
19643
19756
  payoutAccountId?: string | null;
19644
19757
  /** Format: uuid */
@@ -19747,7 +19860,6 @@ export interface operations {
19747
19860
  } | null;
19748
19861
  /** @enum {string} */
19749
19862
  type: "owner" | "vendor";
19750
- /** Format: email */
19751
19863
  email?: string | null;
19752
19864
  firstName?: string | null;
19753
19865
  name?: string | null;
@@ -19761,9 +19873,9 @@ export interface operations {
19761
19873
  uniqueRef?: string | null;
19762
19874
  /** @enum {string|null} */
19763
19875
  status?: "active" | "inactive" | null;
19876
+ invite?: boolean | null;
19764
19877
  /** Format: uuid */
19765
19878
  payoutAccountId?: string | null;
19766
- invite?: boolean | null;
19767
19879
  };
19768
19880
  };
19769
19881
  };
@@ -19788,7 +19900,6 @@ export interface operations {
19788
19900
  } | null;
19789
19901
  /** @enum {string} */
19790
19902
  type: "owner" | "vendor";
19791
- /** Format: email */
19792
19903
  email?: string | null;
19793
19904
  firstName?: string | null;
19794
19905
  name?: string | null;
@@ -19800,6 +19911,7 @@ export interface operations {
19800
19911
  uniqueRef?: string | null;
19801
19912
  /** @enum {string} */
19802
19913
  status: "active" | "inactive";
19914
+ invite?: boolean | null;
19803
19915
  /** Format: uuid */
19804
19916
  payoutAccountId?: string | null;
19805
19917
  /** Format: uuid */
@@ -21150,7 +21262,7 @@ export interface operations {
21150
21262
  };
21151
21263
  };
21152
21264
  };
21153
- getDispatchAction: {
21265
+ getStoreAction: {
21154
21266
  parameters: {
21155
21267
  query?: never;
21156
21268
  header?: {
@@ -21184,7 +21296,7 @@ export interface operations {
21184
21296
  /** Format: uuid */
21185
21297
  id: string;
21186
21298
  /** @enum {string} */
21187
- effectType: "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "UPDATE_RECURRING_TRANSACTION_INSTANCES" | "DEACTIVATE_RECURRING_TEMPLATE" | "UPDATE_RESERVATION_PAYMENTS" | "UPDATE_RESERVATION_LINKABLES" | "MATCH_TRANSACTION_LINE_TO_RESERVATION" | "MATCH_RESERVATION_TO_STRIPE_DEPOSIT" | "TEST_EFFECT" | "TENANT_HYPERLINE_SYNC" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_LINEAR_WEBHOOK" | "TENANT_SUSPENSION_EMAIL" | "TENANT_STATUS_TRACK" | "CALENDAR_BLOCK_ACTION";
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";
21188
21300
  payload?: unknown;
21189
21301
  /** @enum {string} */
21190
21302
  status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
@@ -21262,6 +21374,260 @@ export interface operations {
21262
21374
  };
21263
21375
  };
21264
21376
  };
21377
+ getReviews: {
21378
+ 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
+ };
21265
21631
  plaidConnectComplete: {
21266
21632
  parameters: {
21267
21633
  query?: never;
@@ -22335,31 +22701,22 @@ export interface operations {
22335
22701
  };
22336
22702
  getJournalEntriesReport: {
22337
22703
  parameters: {
22338
- query?: {
22339
- /** @description comma separated journal entry ids */
22340
- ids?: string;
22341
- txnCode?: string;
22342
- published?: boolean;
22343
- status?: "active" | "inactive";
22344
- startAt?: string;
22345
- endAt?: string;
22704
+ query: {
22705
+ startAt: string;
22706
+ endAt: string;
22346
22707
  search?: string;
22347
22708
  date?: string;
22348
22709
  amount?: string;
22349
22710
  isDateRangeEndInclusive?: boolean;
22350
- reservationIds?: string;
22351
- transactionIds?: string;
22352
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
22353
- currency?: string;
22354
- /** @description listing ids comma separated or "unmapped" */
22711
+ /** @description listing uuids comma separated or "unmapped" */
22355
22712
  listingIds?: string;
22356
- /** @description account ids comma separated accounts or "unmapped" */
22713
+ /** @description comma separated accounts */
22357
22714
  accountIds?: string;
22358
22715
  /** @description comma separated categories */
22359
22716
  categoryIds?: string;
22360
- classifications?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
22361
- types?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
22362
- entityTypes?: ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer") | ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer")[];
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";
22363
22720
  party?: "owners" | "manager";
22364
22721
  limit?: number;
22365
22722
  page?: number;
@@ -22381,9 +22738,6 @@ export interface operations {
22381
22738
  "application/json": {
22382
22739
  data: {
22383
22740
  id: string;
22384
- /** @enum {string} */
22385
- active: "active" | "inactive";
22386
- txnCode: string;
22387
22741
  txnAt: string;
22388
22742
  description: string;
22389
22743
  centTotal: number;
@@ -22675,31 +23029,21 @@ export interface operations {
22675
23029
  };
22676
23030
  getManagerStatementReportJournalEntries: {
22677
23031
  parameters: {
22678
- query?: {
22679
- /** @description comma separated journal entry ids */
22680
- ids?: string;
22681
- txnCode?: string;
22682
- published?: boolean;
22683
- status?: "active" | "inactive";
22684
- startAt?: string;
22685
- endAt?: string;
23032
+ query: {
23033
+ startAt: string;
23034
+ endAt: string;
22686
23035
  search?: string;
22687
23036
  date?: string;
22688
23037
  amount?: string;
22689
- isDateRangeEndInclusive?: boolean;
22690
- reservationIds?: string;
22691
- transactionIds?: string;
22692
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
22693
- currency?: string;
22694
- /** @description listing ids comma separated or "unmapped" */
23038
+ /** @description Use a listing uuid or "unmapped" */
22695
23039
  listingIds?: string;
22696
- /** @description account ids comma separated accounts or "unmapped" */
23040
+ /** @description comma separated accounts */
22697
23041
  accountIds?: string;
22698
23042
  /** @description comma separated categories */
22699
23043
  categoryIds?: string;
22700
- classifications?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
22701
- types?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
22702
- entityTypes?: ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer") | ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer")[];
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";
22703
23047
  limit?: number;
22704
23048
  page?: number;
22705
23049
  };
@@ -22720,9 +23064,6 @@ export interface operations {
22720
23064
  "application/json": {
22721
23065
  data: {
22722
23066
  id: string;
22723
- /** @enum {string} */
22724
- active: "active" | "inactive";
22725
- txnCode: string;
22726
23067
  txnAt: string;
22727
23068
  description: string;
22728
23069
  centTotal: number;
@@ -23029,10 +23370,8 @@ export interface operations {
23029
23370
  getOwnerStatementSummariesReport: {
23030
23371
  parameters: {
23031
23372
  query: {
23032
- startAt: string;
23033
- endAt: string;
23034
- /** @description comma separated listings */
23035
- listingIds?: string;
23373
+ /** @description Year in format YYYY */
23374
+ year: number;
23036
23375
  };
23037
23376
  header?: {
23038
23377
  "X-Team-Id"?: string;
@@ -23052,11 +23391,10 @@ export interface operations {
23052
23391
  data: {
23053
23392
  contact: {
23054
23393
  contactId: string;
23055
- name?: string;
23056
- firstName?: string;
23057
- /** Format: email */
23058
- email?: string;
23059
- phone?: string;
23394
+ name?: string | null;
23395
+ firstName?: string | null;
23396
+ email?: string | null;
23397
+ phone?: string | null;
23060
23398
  };
23061
23399
  currency: string;
23062
23400
  financials: {
@@ -23122,10 +23460,8 @@ export interface operations {
23122
23460
  getOwnerStatementSummariesReportCsv: {
23123
23461
  parameters: {
23124
23462
  query: {
23125
- startAt: string;
23126
- endAt: string;
23127
- /** @description comma separated listings */
23128
- listingIds?: string;
23463
+ /** @description Year in format YYYY */
23464
+ year: number;
23129
23465
  };
23130
23466
  header?: {
23131
23467
  "X-Team-Id"?: string;
@@ -23197,12 +23533,10 @@ export interface operations {
23197
23533
  parameters: {
23198
23534
  query: {
23199
23535
  view: "listing" | "month" | "reservation" | "bookingChannel";
23200
- startAt: string;
23201
- endAt: string;
23202
- /** @description comma separated listings */
23203
- listingIds?: string;
23536
+ /** @description Year in format YYYY */
23537
+ year: number;
23538
+ listingId?: string;
23204
23539
  currency?: string;
23205
- viewAs?: "owner" | "manager";
23206
23540
  };
23207
23541
  header?: {
23208
23542
  "X-Team-Id"?: string;
@@ -23221,84 +23555,30 @@ export interface operations {
23221
23555
  };
23222
23556
  content: {
23223
23557
  "application/json": {
23224
- currency: string;
23225
- contact: {
23226
- contactId: string;
23227
- name?: string;
23228
- firstName?: string;
23229
- /** Format: email */
23230
- email?: string;
23231
- phone?: string;
23232
- };
23233
- financials: {
23234
- balanceStart: number;
23235
- netRevenue: number;
23236
- expenses: number;
23237
- transfers: number;
23238
- netIncome: number;
23239
- currentBalance: number;
23240
- balanceEnd: number;
23241
- };
23242
23558
  netRevenueSection: {
23243
23559
  title: string;
23244
23560
  rows: {
23245
23561
  title: string;
23246
- statementIds?: string[];
23562
+ statementIds: string[];
23247
23563
  columns: {
23248
23564
  title: string;
23249
23565
  value: number | string;
23250
23566
  formatted: string;
23251
23567
  }[];
23252
23568
  }[];
23253
- subtotal?: {
23254
- title: string;
23255
- columns: {
23256
- title: string;
23257
- value: number | string;
23258
- formatted: string;
23259
- }[];
23260
- };
23261
23569
  };
23262
23570
  otherSections: {
23263
23571
  title: string;
23264
23572
  rows: {
23265
23573
  title: string;
23266
- statementIds?: string[];
23574
+ statementIds: string[];
23267
23575
  columns: {
23268
23576
  title: string;
23269
23577
  value: number | string;
23270
23578
  formatted: string;
23271
23579
  }[];
23272
23580
  }[];
23273
- subtotal?: {
23274
- title: string;
23275
- columns: {
23276
- title: string;
23277
- value: number | string;
23278
- formatted: string;
23279
- }[];
23280
- };
23281
23581
  }[];
23282
- transfersSection?: {
23283
- title: string;
23284
- rows: {
23285
- title: string;
23286
- statementIds?: string[];
23287
- columns: {
23288
- title: string;
23289
- value: number | string;
23290
- formatted: string;
23291
- }[];
23292
- }[];
23293
- subtotal?: {
23294
- title: string;
23295
- columns: {
23296
- title: string;
23297
- value: number | string;
23298
- formatted: string;
23299
- }[];
23300
- };
23301
- };
23302
23582
  };
23303
23583
  };
23304
23584
  };
@@ -23353,12 +23633,10 @@ export interface operations {
23353
23633
  parameters: {
23354
23634
  query: {
23355
23635
  view: "listing" | "month" | "reservation" | "bookingChannel";
23356
- startAt: string;
23357
- endAt: string;
23358
- /** @description comma separated listings */
23359
- listingIds?: string;
23636
+ /** @description Year in format YYYY */
23637
+ year: number;
23638
+ listingId?: string;
23360
23639
  currency?: string;
23361
- viewAs?: "owner" | "manager";
23362
23640
  };
23363
23641
  header?: {
23364
23642
  "X-Team-Id"?: string;
@@ -23431,9 +23709,9 @@ export interface operations {
23431
23709
  getCalendar: {
23432
23710
  parameters: {
23433
23711
  query: {
23434
- listingId: string;
23435
23712
  startDate: string;
23436
23713
  endDate: string;
23714
+ listingId: string;
23437
23715
  };
23438
23716
  header?: {
23439
23717
  "X-Team-Id"?: string;
@@ -23455,8 +23733,8 @@ export interface operations {
23455
23733
  /** @enum {string} */
23456
23734
  blockReason: "ownerBlock" | "maintenance";
23457
23735
  description?: string;
23736
+ id?: string;
23458
23737
  user?: {
23459
- /** Format: email */
23460
23738
  email: string;
23461
23739
  firstName: string;
23462
23740
  lastName: string;
@@ -23525,9 +23803,9 @@ export interface operations {
23525
23803
  requestBody: {
23526
23804
  content: {
23527
23805
  "application/json": {
23528
- listingId: string;
23529
23806
  startDate: string;
23530
23807
  endDate: string;
23808
+ listingId: string;
23531
23809
  description?: string;
23532
23810
  };
23533
23811
  };
@@ -23545,8 +23823,8 @@ export interface operations {
23545
23823
  /** @enum {string} */
23546
23824
  blockReason: "ownerBlock" | "maintenance";
23547
23825
  description?: string;
23826
+ id?: string;
23548
23827
  user?: {
23549
- /** Format: email */
23550
23828
  email: string;
23551
23829
  firstName: string;
23552
23830
  lastName: string;
@@ -23600,7 +23878,6 @@ export interface operations {
23600
23878
  listingId: string;
23601
23879
  startDate: string;
23602
23880
  endDate: string;
23603
- description?: string;
23604
23881
  };
23605
23882
  header?: {
23606
23883
  "X-Team-Id"?: string;
@@ -23622,8 +23899,8 @@ export interface operations {
23622
23899
  /** @enum {string} */
23623
23900
  blockReason: "ownerBlock" | "maintenance";
23624
23901
  description?: string;
23902
+ id?: string;
23625
23903
  user?: {
23626
- /** Format: email */
23627
23904
  email: string;
23628
23905
  firstName: string;
23629
23906
  lastName: string;
@@ -23725,7 +24002,7 @@ export interface operations {
23725
24002
  * @description Internal semantic type
23726
24003
  * @enum {string}
23727
24004
  */
23728
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24005
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23729
24006
  /** @description Optional JSONB filter for internal data */
23730
24007
  filter?: string;
23731
24008
  };
@@ -23749,7 +24026,7 @@ export interface operations {
23749
24026
  * @description Semantic type of the setting value
23750
24027
  * @enum {string}
23751
24028
  */
23752
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24029
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23753
24030
  /** @description Optional JSONB filter for available values */
23754
24031
  filter?: string;
23755
24032
  };
@@ -23846,7 +24123,7 @@ export interface operations {
23846
24123
  * @description Internal semantic type
23847
24124
  * @enum {string}
23848
24125
  */
23849
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24126
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23850
24127
  /** @description Optional JSONB filter for internal data */
23851
24128
  filter?: string;
23852
24129
  };
@@ -23870,7 +24147,7 @@ export interface operations {
23870
24147
  * @description Semantic type of the setting value
23871
24148
  * @enum {string}
23872
24149
  */
23873
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24150
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23874
24151
  /** @description Optional JSONB filter for available values */
23875
24152
  filter?: string;
23876
24153
  };
@@ -23970,7 +24247,7 @@ export interface operations {
23970
24247
  * @description Internal semantic type
23971
24248
  * @enum {string}
23972
24249
  */
23973
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24250
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23974
24251
  /** @description Optional JSONB filter for internal data */
23975
24252
  filter?: string;
23976
24253
  };
@@ -23994,7 +24271,7 @@ export interface operations {
23994
24271
  * @description Semantic type of the setting value
23995
24272
  * @enum {string}
23996
24273
  */
23997
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24274
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23998
24275
  /** @description Optional JSONB filter for available values */
23999
24276
  filter?: string;
24000
24277
  };
@@ -24081,7 +24358,7 @@ export interface operations {
24081
24358
  * @description Internal semantic type
24082
24359
  * @enum {string}
24083
24360
  */
24084
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24361
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24085
24362
  /** @description Optional JSONB filter for internal data */
24086
24363
  filter?: string;
24087
24364
  };
@@ -24105,7 +24382,7 @@ export interface operations {
24105
24382
  * @description Semantic type of the setting value
24106
24383
  * @enum {string}
24107
24384
  */
24108
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24385
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24109
24386
  /** @description Optional JSONB filter for available values */
24110
24387
  filter?: string;
24111
24388
  };
@@ -24145,7 +24422,7 @@ export interface operations {
24145
24422
  * @description Internal semantic type
24146
24423
  * @enum {string}
24147
24424
  */
24148
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24425
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24149
24426
  /** @description Optional JSONB filter for internal data */
24150
24427
  filter?: string;
24151
24428
  };
@@ -24169,7 +24446,7 @@ export interface operations {
24169
24446
  * @description Semantic type of the setting value
24170
24447
  * @enum {string}
24171
24448
  */
24172
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24449
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24173
24450
  /** @description Optional JSONB filter for available values */
24174
24451
  filter?: string;
24175
24452
  };