@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.
@@ -680,26 +680,6 @@ export interface paths {
680
680
  patch?: never;
681
681
  trace?: never;
682
682
  };
683
- "/statements/totals": {
684
- parameters: {
685
- query?: never;
686
- header?: never;
687
- path?: never;
688
- cookie?: never;
689
- };
690
- /**
691
- * Aggregated owner statement totals without pagination effects
692
- * @description Get statement totals for a month
693
- */
694
- get: operations["getOwnerStatementTotals"];
695
- put?: never;
696
- post?: never;
697
- delete?: never;
698
- options?: never;
699
- head?: never;
700
- patch?: never;
701
- trace?: never;
702
- };
703
683
  "/statements/{id}": {
704
684
  parameters: {
705
685
  query?: never;
@@ -1426,7 +1406,7 @@ export interface paths {
1426
1406
  patch?: never;
1427
1407
  trace?: never;
1428
1408
  };
1429
- "/dispatch/{id}": {
1409
+ "/store-actions/{id}": {
1430
1410
  parameters: {
1431
1411
  query?: never;
1432
1412
  header?: never;
@@ -1434,7 +1414,24 @@ export interface paths {
1434
1414
  cookie?: never;
1435
1415
  };
1436
1416
  /** @description Retrieve a dispatched action and queued effects for progress tracking */
1437
- get: operations["getDispatchAction"];
1417
+ get: operations["getStoreAction"];
1418
+ put?: never;
1419
+ post?: never;
1420
+ delete?: never;
1421
+ options?: never;
1422
+ head?: never;
1423
+ patch?: never;
1424
+ trace?: never;
1425
+ };
1426
+ "/reviews": {
1427
+ parameters: {
1428
+ query?: never;
1429
+ header?: never;
1430
+ path?: never;
1431
+ cookie?: never;
1432
+ };
1433
+ /** @description Reviews list */
1434
+ get: operations["getReviews"];
1438
1435
  put?: never;
1439
1436
  post?: never;
1440
1437
  delete?: never;
@@ -2335,19 +2332,19 @@ export interface components {
2335
2332
  * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2336
2333
  * @enum {string|null}
2337
2334
  */
2338
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2335
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2339
2336
  filter: string | null;
2340
2337
  value: components["schemas"]["FlowMappingResolvedEntityValue"];
2341
2338
  };
2342
2339
  /** @description Resolved mapping entity summary ({ id, name, type }) returned by endpoints. */
2343
2340
  FlowMappingResolvedEntityValue: {
2344
- id: string | number;
2341
+ id: string;
2345
2342
  name: string;
2346
2343
  /**
2347
2344
  * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2348
2345
  * @enum {string}
2349
2346
  */
2350
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2347
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2351
2348
  };
2352
2349
  /** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
2353
2350
  FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
@@ -2366,7 +2363,7 @@ export interface components {
2366
2363
  * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2367
2364
  * @enum {string|null}
2368
2365
  */
2369
- type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2366
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2370
2367
  filter: string | null;
2371
2368
  value: components["schemas"]["FlowMappingResolvedEntityValue"];
2372
2369
  };
@@ -4111,7 +4108,13 @@ export interface operations {
4111
4108
  /** @enum {string} */
4112
4109
  status: "active" | "inactive";
4113
4110
  uniqueRef?: string | null;
4114
- appId: string;
4111
+ app: {
4112
+ id: string;
4113
+ name: string;
4114
+ icon?: string | null;
4115
+ importers?: string[] | null;
4116
+ extractors?: string[] | null;
4117
+ };
4115
4118
  } | null;
4116
4119
  nights?: number | null;
4117
4120
  /** @enum {string|null} */
@@ -4144,11 +4147,11 @@ export interface operations {
4144
4147
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4145
4148
  } | null;
4146
4149
  recurringFee?: {
4147
- /** Format: uuid */
4148
4150
  id: string;
4149
4151
  uniqueRef: string;
4150
4152
  name: string;
4151
- type: string;
4153
+ /** @enum {string} */
4154
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4152
4155
  } | null;
4153
4156
  transaction?: {
4154
4157
  id: string;
@@ -4181,7 +4184,13 @@ export interface operations {
4181
4184
  /** @enum {string} */
4182
4185
  status: "active" | "inactive";
4183
4186
  uniqueRef?: string | null;
4184
- appId: string;
4187
+ app: {
4188
+ id: string;
4189
+ name: string;
4190
+ icon?: string | null;
4191
+ importers?: string[] | null;
4192
+ extractors?: string[] | null;
4193
+ };
4185
4194
  } | null;
4186
4195
  uniqueRef?: string | null;
4187
4196
  recurringTemplate?: {
@@ -4199,6 +4208,17 @@ export interface operations {
4199
4208
  /** Format: uuid */
4200
4209
  id: string;
4201
4210
  name: string;
4211
+ address?: {
4212
+ full?: string | null;
4213
+ line1?: string | null;
4214
+ line2?: string | null;
4215
+ city?: string | null;
4216
+ /** @deprecated */
4217
+ state?: string | null;
4218
+ postalCode?: string | null;
4219
+ stateCode?: string | null;
4220
+ countryCode?: string | null;
4221
+ } | null;
4202
4222
  uniqueRef?: string | null;
4203
4223
  } | null;
4204
4224
  listingConnection?: {
@@ -4261,11 +4281,11 @@ export interface operations {
4261
4281
  status: "active" | "inactive";
4262
4282
  } | null;
4263
4283
  recurringFee?: {
4264
- /** Format: uuid */
4265
4284
  id: string;
4266
4285
  uniqueRef: string;
4267
4286
  name: string;
4268
- type: string;
4287
+ /** @enum {string} */
4288
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4269
4289
  } | null;
4270
4290
  }[];
4271
4291
  }[];
@@ -4327,7 +4347,6 @@ export interface operations {
4327
4347
  requestBody: {
4328
4348
  content: {
4329
4349
  "application/json": {
4330
- dangerouslyAllowLocked?: boolean;
4331
4350
  ids?: string[];
4332
4351
  listingIds?: string[];
4333
4352
  connectionIds?: string[];
@@ -4467,7 +4486,13 @@ export interface operations {
4467
4486
  /** @enum {string} */
4468
4487
  status: "active" | "inactive";
4469
4488
  uniqueRef?: string | null;
4470
- appId: string;
4489
+ app: {
4490
+ id: string;
4491
+ name: string;
4492
+ icon?: string | null;
4493
+ importers?: string[] | null;
4494
+ extractors?: string[] | null;
4495
+ };
4471
4496
  } | null;
4472
4497
  nights?: number | null;
4473
4498
  /** @enum {string|null} */
@@ -4500,11 +4525,11 @@ export interface operations {
4500
4525
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4501
4526
  } | null;
4502
4527
  recurringFee?: {
4503
- /** Format: uuid */
4504
4528
  id: string;
4505
4529
  uniqueRef: string;
4506
4530
  name: string;
4507
- type: string;
4531
+ /** @enum {string} */
4532
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4508
4533
  } | null;
4509
4534
  transaction?: {
4510
4535
  id: string;
@@ -4537,7 +4562,13 @@ export interface operations {
4537
4562
  /** @enum {string} */
4538
4563
  status: "active" | "inactive";
4539
4564
  uniqueRef?: string | null;
4540
- appId: string;
4565
+ app: {
4566
+ id: string;
4567
+ name: string;
4568
+ icon?: string | null;
4569
+ importers?: string[] | null;
4570
+ extractors?: string[] | null;
4571
+ };
4541
4572
  } | null;
4542
4573
  uniqueRef?: string | null;
4543
4574
  recurringTemplate?: {
@@ -4555,6 +4586,17 @@ export interface operations {
4555
4586
  /** Format: uuid */
4556
4587
  id: string;
4557
4588
  name: string;
4589
+ address?: {
4590
+ full?: string | null;
4591
+ line1?: string | null;
4592
+ line2?: string | null;
4593
+ city?: string | null;
4594
+ /** @deprecated */
4595
+ state?: string | null;
4596
+ postalCode?: string | null;
4597
+ stateCode?: string | null;
4598
+ countryCode?: string | null;
4599
+ } | null;
4558
4600
  uniqueRef?: string | null;
4559
4601
  } | null;
4560
4602
  listingConnection?: {
@@ -4617,11 +4659,11 @@ export interface operations {
4617
4659
  status: "active" | "inactive";
4618
4660
  } | null;
4619
4661
  recurringFee?: {
4620
- /** Format: uuid */
4621
4662
  id: string;
4622
4663
  uniqueRef: string;
4623
4664
  name: string;
4624
- type: string;
4665
+ /** @enum {string} */
4666
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4625
4667
  } | null;
4626
4668
  }[];
4627
4669
  };
@@ -4903,7 +4945,13 @@ export interface operations {
4903
4945
  /** @enum {string} */
4904
4946
  status: "active" | "inactive";
4905
4947
  uniqueRef?: string | null;
4906
- appId: string;
4948
+ app: {
4949
+ id: string;
4950
+ name: string;
4951
+ icon?: string | null;
4952
+ importers?: string[] | null;
4953
+ extractors?: string[] | null;
4954
+ };
4907
4955
  } | null;
4908
4956
  nights?: number | null;
4909
4957
  /** @enum {string|null} */
@@ -4936,11 +4984,11 @@ export interface operations {
4936
4984
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4937
4985
  } | null;
4938
4986
  recurringFee?: {
4939
- /** Format: uuid */
4940
4987
  id: string;
4941
4988
  uniqueRef: string;
4942
4989
  name: string;
4943
- type: string;
4990
+ /** @enum {string} */
4991
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4944
4992
  } | null;
4945
4993
  transaction?: {
4946
4994
  id: string;
@@ -4973,7 +5021,13 @@ export interface operations {
4973
5021
  /** @enum {string} */
4974
5022
  status: "active" | "inactive";
4975
5023
  uniqueRef?: string | null;
4976
- appId: string;
5024
+ app: {
5025
+ id: string;
5026
+ name: string;
5027
+ icon?: string | null;
5028
+ importers?: string[] | null;
5029
+ extractors?: string[] | null;
5030
+ };
4977
5031
  } | null;
4978
5032
  uniqueRef?: string | null;
4979
5033
  recurringTemplate?: {
@@ -4991,6 +5045,17 @@ export interface operations {
4991
5045
  /** Format: uuid */
4992
5046
  id: string;
4993
5047
  name: string;
5048
+ address?: {
5049
+ full?: string | null;
5050
+ line1?: string | null;
5051
+ line2?: string | null;
5052
+ city?: string | null;
5053
+ /** @deprecated */
5054
+ state?: string | null;
5055
+ postalCode?: string | null;
5056
+ stateCode?: string | null;
5057
+ countryCode?: string | null;
5058
+ } | null;
4994
5059
  uniqueRef?: string | null;
4995
5060
  } | null;
4996
5061
  listingConnection?: {
@@ -5053,11 +5118,11 @@ export interface operations {
5053
5118
  status: "active" | "inactive";
5054
5119
  } | null;
5055
5120
  recurringFee?: {
5056
- /** Format: uuid */
5057
5121
  id: string;
5058
5122
  uniqueRef: string;
5059
5123
  name: string;
5060
- type: string;
5124
+ /** @enum {string} */
5125
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
5061
5126
  } | null;
5062
5127
  }[];
5063
5128
  };
@@ -5277,7 +5342,13 @@ export interface operations {
5277
5342
  /** @enum {string} */
5278
5343
  status: "active" | "inactive";
5279
5344
  uniqueRef?: string | null;
5280
- appId: string;
5345
+ app: {
5346
+ id: string;
5347
+ name: string;
5348
+ icon?: string | null;
5349
+ importers?: string[] | null;
5350
+ extractors?: string[] | null;
5351
+ };
5281
5352
  } | null;
5282
5353
  nights?: number | null;
5283
5354
  /** @enum {string|null} */
@@ -5286,6 +5357,17 @@ export interface operations {
5286
5357
  /** Format: uuid */
5287
5358
  id: string;
5288
5359
  name: string;
5360
+ address?: {
5361
+ full?: string | null;
5362
+ line1?: string | null;
5363
+ line2?: string | null;
5364
+ city?: string | null;
5365
+ /** @deprecated */
5366
+ state?: string | null;
5367
+ postalCode?: string | null;
5368
+ stateCode?: string | null;
5369
+ countryCode?: string | null;
5370
+ } | null;
5289
5371
  uniqueRef?: string | null;
5290
5372
  } | null;
5291
5373
  listingConnection?: {
@@ -5536,7 +5618,13 @@ export interface operations {
5536
5618
  /** @enum {string} */
5537
5619
  status: "active" | "inactive";
5538
5620
  uniqueRef?: string | null;
5539
- appId: string;
5621
+ app: {
5622
+ id: string;
5623
+ name: string;
5624
+ icon?: string | null;
5625
+ importers?: string[] | null;
5626
+ extractors?: string[] | null;
5627
+ };
5540
5628
  } | null;
5541
5629
  nights?: number | null;
5542
5630
  /** @enum {string|null} */
@@ -5569,11 +5657,11 @@ export interface operations {
5569
5657
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5570
5658
  } | null;
5571
5659
  recurringFee?: {
5572
- /** Format: uuid */
5573
5660
  id: string;
5574
5661
  uniqueRef: string;
5575
5662
  name: string;
5576
- type: string;
5663
+ /** @enum {string} */
5664
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
5577
5665
  } | null;
5578
5666
  transaction?: {
5579
5667
  id: string;
@@ -5606,7 +5694,13 @@ export interface operations {
5606
5694
  /** @enum {string} */
5607
5695
  status: "active" | "inactive";
5608
5696
  uniqueRef?: string | null;
5609
- appId: string;
5697
+ app: {
5698
+ id: string;
5699
+ name: string;
5700
+ icon?: string | null;
5701
+ importers?: string[] | null;
5702
+ extractors?: string[] | null;
5703
+ };
5610
5704
  } | null;
5611
5705
  uniqueRef?: string | null;
5612
5706
  recurringTemplate?: {
@@ -5624,6 +5718,17 @@ export interface operations {
5624
5718
  /** Format: uuid */
5625
5719
  id: string;
5626
5720
  name: string;
5721
+ address?: {
5722
+ full?: string | null;
5723
+ line1?: string | null;
5724
+ line2?: string | null;
5725
+ city?: string | null;
5726
+ /** @deprecated */
5727
+ state?: string | null;
5728
+ postalCode?: string | null;
5729
+ stateCode?: string | null;
5730
+ countryCode?: string | null;
5731
+ } | null;
5627
5732
  uniqueRef?: string | null;
5628
5733
  } | null;
5629
5734
  listingConnection?: {
@@ -5686,11 +5791,11 @@ export interface operations {
5686
5791
  status: "active" | "inactive";
5687
5792
  } | null;
5688
5793
  recurringFee?: {
5689
- /** Format: uuid */
5690
5794
  id: string;
5691
5795
  uniqueRef: string;
5692
5796
  name: string;
5693
- type: string;
5797
+ /** @enum {string} */
5798
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
5694
5799
  } | null;
5695
5800
  }[];
5696
5801
  };
@@ -7809,7 +7914,6 @@ export interface operations {
7809
7914
  countryCode?: string | null;
7810
7915
  } | null;
7811
7916
  phone?: string | null;
7812
- /** Format: email */
7813
7917
  email?: string | null;
7814
7918
  taxId?: string | null;
7815
7919
  partner?: {
@@ -7826,7 +7930,7 @@ export interface operations {
7826
7930
  /** @enum {string} */
7827
7931
  type: "partner" | "admin" | "propertyManager";
7828
7932
  /** @enum {string} */
7829
- status: "active" | "inactive" | "deleted" | "onboarding";
7933
+ status: "active" | "inactive";
7830
7934
  billingSubscriptionStatus?: string | null;
7831
7935
  billingPlan?: string | null;
7832
7936
  createdAt?: string | null;
@@ -7849,7 +7953,6 @@ export interface operations {
7849
7953
  statementStartAt?: string | null;
7850
7954
  members?: {
7851
7955
  userId: string;
7852
- /** Format: email */
7853
7956
  email?: string | null;
7854
7957
  role: string;
7855
7958
  name?: string | null;
@@ -7947,7 +8050,6 @@ export interface operations {
7947
8050
  countryCode?: string | null;
7948
8051
  } | null;
7949
8052
  phone?: string | null;
7950
- /** Format: email */
7951
8053
  email?: string | null;
7952
8054
  taxId?: string | null;
7953
8055
  companyName?: string | null;
@@ -8021,7 +8123,6 @@ export interface operations {
8021
8123
  countryCode?: string | null;
8022
8124
  } | null;
8023
8125
  phone?: string | null;
8024
- /** Format: email */
8025
8126
  email?: string | null;
8026
8127
  taxId?: string | null;
8027
8128
  partner?: {
@@ -8038,7 +8139,7 @@ export interface operations {
8038
8139
  /** @enum {string} */
8039
8140
  type: "partner" | "admin" | "propertyManager";
8040
8141
  /** @enum {string} */
8041
- status: "active" | "inactive" | "deleted" | "onboarding";
8142
+ status: "active" | "inactive";
8042
8143
  billingSubscriptionStatus?: string | null;
8043
8144
  billingPlan?: string | null;
8044
8145
  createdAt?: string | null;
@@ -8061,7 +8162,6 @@ export interface operations {
8061
8162
  statementStartAt?: string | null;
8062
8163
  members?: {
8063
8164
  userId: string;
8064
- /** Format: email */
8065
8165
  email?: string | null;
8066
8166
  role: string;
8067
8167
  name?: string | null;
@@ -8243,7 +8343,6 @@ export interface operations {
8243
8343
  countryCode?: string | null;
8244
8344
  } | null;
8245
8345
  phone?: string | null;
8246
- /** Format: email */
8247
8346
  email?: string | null;
8248
8347
  taxId?: string | null;
8249
8348
  partner?: {
@@ -8260,7 +8359,7 @@ export interface operations {
8260
8359
  /** @enum {string} */
8261
8360
  type: "partner" | "admin" | "propertyManager";
8262
8361
  /** @enum {string} */
8263
- status: "active" | "inactive" | "deleted" | "onboarding";
8362
+ status: "active" | "inactive";
8264
8363
  billingSubscriptionStatus?: string | null;
8265
8364
  billingPlan?: string | null;
8266
8365
  createdAt?: string | null;
@@ -8283,7 +8382,6 @@ export interface operations {
8283
8382
  statementStartAt?: string | null;
8284
8383
  members?: {
8285
8384
  userId: string;
8286
- /** Format: email */
8287
8385
  email?: string | null;
8288
8386
  role: string;
8289
8387
  name?: string | null;
@@ -8387,14 +8485,13 @@ export interface operations {
8387
8485
  countryCode?: string | null;
8388
8486
  } | null;
8389
8487
  phone?: string | null;
8390
- /** Format: email */
8391
8488
  email?: string | null;
8392
8489
  taxId?: string | null;
8393
8490
  companyName?: string | null;
8394
8491
  /** @enum {string} */
8395
8492
  type?: "partner" | "admin" | "propertyManager";
8396
8493
  /** @enum {string} */
8397
- status?: "active" | "inactive" | "deleted" | "onboarding";
8494
+ status?: "active" | "inactive";
8398
8495
  billingSubscriptionStatus?: string | null;
8399
8496
  billingPlan?: string | null;
8400
8497
  trialUntil?: string | null;
@@ -8456,7 +8553,6 @@ export interface operations {
8456
8553
  countryCode?: string | null;
8457
8554
  } | null;
8458
8555
  phone?: string | null;
8459
- /** Format: email */
8460
8556
  email?: string | null;
8461
8557
  taxId?: string | null;
8462
8558
  partner?: {
@@ -8473,7 +8569,7 @@ export interface operations {
8473
8569
  /** @enum {string} */
8474
8570
  type: "partner" | "admin" | "propertyManager";
8475
8571
  /** @enum {string} */
8476
- status: "active" | "inactive" | "deleted" | "onboarding";
8572
+ status: "active" | "inactive";
8477
8573
  billingSubscriptionStatus?: string | null;
8478
8574
  billingPlan?: string | null;
8479
8575
  createdAt?: string | null;
@@ -8496,7 +8592,6 @@ export interface operations {
8496
8592
  statementStartAt?: string | null;
8497
8593
  members?: {
8498
8594
  userId: string;
8499
- /** Format: email */
8500
8595
  email?: string | null;
8501
8596
  role: string;
8502
8597
  name?: string | null;
@@ -8602,7 +8697,6 @@ export interface operations {
8602
8697
  countryCode?: string | null;
8603
8698
  } | null;
8604
8699
  phone?: string | null;
8605
- /** Format: email */
8606
8700
  email?: string | null;
8607
8701
  taxId?: string | null;
8608
8702
  partner?: {
@@ -8619,7 +8713,7 @@ export interface operations {
8619
8713
  /** @enum {string} */
8620
8714
  type: "partner" | "admin" | "propertyManager";
8621
8715
  /** @enum {string} */
8622
- status: "active" | "inactive" | "deleted" | "onboarding";
8716
+ status: "active" | "inactive";
8623
8717
  billingSubscriptionStatus?: string | null;
8624
8718
  billingPlan?: string | null;
8625
8719
  createdAt?: string | null;
@@ -8642,7 +8736,6 @@ export interface operations {
8642
8736
  statementStartAt?: string | null;
8643
8737
  members?: {
8644
8738
  userId: string;
8645
- /** Format: email */
8646
8739
  email?: string | null;
8647
8740
  role: string;
8648
8741
  name?: string | null;
@@ -8918,11 +9011,11 @@ export interface operations {
8918
9011
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
8919
9012
  } | null;
8920
9013
  recurringFee?: {
8921
- /** Format: uuid */
8922
9014
  id: string;
8923
9015
  uniqueRef: string;
8924
9016
  name: string;
8925
- type: string;
9017
+ /** @enum {string} */
9018
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
8926
9019
  } | null;
8927
9020
  transaction?: {
8928
9021
  id: string;
@@ -8955,7 +9048,13 @@ export interface operations {
8955
9048
  /** @enum {string} */
8956
9049
  status: "active" | "inactive";
8957
9050
  uniqueRef?: string | null;
8958
- appId: string;
9051
+ app: {
9052
+ id: string;
9053
+ name: string;
9054
+ icon?: string | null;
9055
+ importers?: string[] | null;
9056
+ extractors?: string[] | null;
9057
+ };
8959
9058
  } | null;
8960
9059
  uniqueRef?: string | null;
8961
9060
  recurringTemplate?: {
@@ -9518,10 +9617,21 @@ export interface operations {
9518
9617
  status: "active" | "inactive";
9519
9618
  }[];
9520
9619
  taxRate?: {
9521
- id: string;
9522
9620
  name: string;
9621
+ countryCode?: string | null;
9622
+ currency?: string | null;
9523
9623
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9524
9624
  basisPoints: number;
9625
+ /** @enum {string|null} */
9626
+ type?: "markup" | "tax" | null;
9627
+ uniqueRef?: string | null;
9628
+ /** @enum {string|null} */
9629
+ status?: "active" | "inactive" | null;
9630
+ /** Format: uuid */
9631
+ accountId?: string | null;
9632
+ /** Format: uuid */
9633
+ debitAccountId?: string | null;
9634
+ id: string;
9525
9635
  } | null;
9526
9636
  };
9527
9637
  };
@@ -9676,10 +9786,21 @@ export interface operations {
9676
9786
  status: "active" | "inactive";
9677
9787
  }[];
9678
9788
  taxRate?: {
9679
- id: string;
9680
9789
  name: string;
9790
+ countryCode?: string | null;
9791
+ currency?: string | null;
9681
9792
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9682
9793
  basisPoints: number;
9794
+ /** @enum {string|null} */
9795
+ type?: "markup" | "tax" | null;
9796
+ uniqueRef?: string | null;
9797
+ /** @enum {string|null} */
9798
+ status?: "active" | "inactive" | null;
9799
+ /** Format: uuid */
9800
+ accountId?: string | null;
9801
+ /** Format: uuid */
9802
+ debitAccountId?: string | null;
9803
+ id: string;
9683
9804
  } | null;
9684
9805
  };
9685
9806
  };
@@ -9873,10 +9994,21 @@ export interface operations {
9873
9994
  status: "active" | "inactive";
9874
9995
  }[];
9875
9996
  taxRate?: {
9876
- id: string;
9877
9997
  name: string;
9998
+ countryCode?: string | null;
9999
+ currency?: string | null;
9878
10000
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9879
10001
  basisPoints: number;
10002
+ /** @enum {string|null} */
10003
+ type?: "markup" | "tax" | null;
10004
+ uniqueRef?: string | null;
10005
+ /** @enum {string|null} */
10006
+ status?: "active" | "inactive" | null;
10007
+ /** Format: uuid */
10008
+ accountId?: string | null;
10009
+ /** Format: uuid */
10010
+ debitAccountId?: string | null;
10011
+ id: string;
9880
10012
  } | null;
9881
10013
  }[];
9882
10014
  pagination: {
@@ -10039,10 +10171,21 @@ export interface operations {
10039
10171
  status: "active" | "inactive";
10040
10172
  }[];
10041
10173
  taxRate?: {
10042
- id: string;
10043
10174
  name: string;
10175
+ countryCode?: string | null;
10176
+ currency?: string | null;
10044
10177
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
10045
10178
  basisPoints: number;
10179
+ /** @enum {string|null} */
10180
+ type?: "markup" | "tax" | null;
10181
+ uniqueRef?: string | null;
10182
+ /** @enum {string|null} */
10183
+ status?: "active" | "inactive" | null;
10184
+ /** Format: uuid */
10185
+ accountId?: string | null;
10186
+ /** Format: uuid */
10187
+ debitAccountId?: string | null;
10188
+ id: string;
10046
10189
  } | null;
10047
10190
  };
10048
10191
  };
@@ -10116,13 +10259,13 @@ export interface operations {
10116
10259
  name: string;
10117
10260
  locked?: boolean | null;
10118
10261
  /** @enum {string|null} */
10119
- visible?: "all" | "manager" | "owner" | "none" | null;
10262
+ visible?: "all" | "manager" | "none" | null;
10120
10263
  columns: ({
10121
10264
  id?: string | null;
10122
10265
  name: string;
10123
10266
  locked?: boolean | null;
10124
10267
  /** @enum {string|null} */
10125
- visible?: "all" | "manager" | "owner" | "none" | null;
10268
+ visible?: "all" | "manager" | "none" | null;
10126
10269
  /** @enum {string} */
10127
10270
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10128
10271
  value: string;
@@ -10131,7 +10274,7 @@ export interface operations {
10131
10274
  name: string;
10132
10275
  locked?: boolean | null;
10133
10276
  /** @enum {string|null} */
10134
- visible?: "all" | "manager" | "owner" | "none" | null;
10277
+ visible?: "all" | "manager" | "none" | null;
10135
10278
  /** @enum {string} */
10136
10279
  type: "accounts";
10137
10280
  value: string[];
@@ -10142,13 +10285,13 @@ export interface operations {
10142
10285
  name: string;
10143
10286
  locked?: boolean | null;
10144
10287
  /** @enum {string|null} */
10145
- visible?: "all" | "manager" | "owner" | "none" | null;
10288
+ visible?: "all" | "manager" | "none" | null;
10146
10289
  columns: ({
10147
10290
  id?: string | null;
10148
10291
  name: string;
10149
10292
  locked?: boolean | null;
10150
10293
  /** @enum {string|null} */
10151
- visible?: "all" | "manager" | "owner" | "none" | null;
10294
+ visible?: "all" | "manager" | "none" | null;
10152
10295
  /** @enum {string} */
10153
10296
  type: "field";
10154
10297
  value: string;
@@ -10157,7 +10300,7 @@ export interface operations {
10157
10300
  name: string;
10158
10301
  locked?: boolean | null;
10159
10302
  /** @enum {string|null} */
10160
- visible?: "all" | "manager" | "owner" | "none" | null;
10303
+ visible?: "all" | "manager" | "none" | null;
10161
10304
  /** @enum {string} */
10162
10305
  type: "accounts";
10163
10306
  value: string[];
@@ -10181,13 +10324,13 @@ export interface operations {
10181
10324
  name: string;
10182
10325
  locked?: boolean | null;
10183
10326
  /** @enum {string|null} */
10184
- visible?: "all" | "manager" | "owner" | "none" | null;
10327
+ visible?: "all" | "manager" | "none" | null;
10185
10328
  columns: ({
10186
10329
  id?: string | null;
10187
10330
  name: string;
10188
10331
  locked?: boolean | null;
10189
10332
  /** @enum {string|null} */
10190
- visible?: "all" | "manager" | "owner" | "none" | null;
10333
+ visible?: "all" | "manager" | "none" | null;
10191
10334
  /** @enum {string} */
10192
10335
  type: "field";
10193
10336
  value: string;
@@ -10196,7 +10339,7 @@ export interface operations {
10196
10339
  name: string;
10197
10340
  locked?: boolean | null;
10198
10341
  /** @enum {string|null} */
10199
- visible?: "all" | "manager" | "owner" | "none" | null;
10342
+ visible?: "all" | "manager" | "none" | null;
10200
10343
  /** @enum {string} */
10201
10344
  type: "accounts";
10202
10345
  value: string[];
@@ -10284,13 +10427,13 @@ export interface operations {
10284
10427
  name: string;
10285
10428
  locked?: boolean | null;
10286
10429
  /** @enum {string|null} */
10287
- visible?: "all" | "manager" | "owner" | "none" | null;
10430
+ visible?: "all" | "manager" | "none" | null;
10288
10431
  columns: ({
10289
10432
  id?: string | null;
10290
10433
  name: string;
10291
10434
  locked?: boolean | null;
10292
10435
  /** @enum {string|null} */
10293
- visible?: "all" | "manager" | "owner" | "none" | null;
10436
+ visible?: "all" | "manager" | "none" | null;
10294
10437
  /** @enum {string} */
10295
10438
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10296
10439
  value: string;
@@ -10299,7 +10442,7 @@ export interface operations {
10299
10442
  name: string;
10300
10443
  locked?: boolean | null;
10301
10444
  /** @enum {string|null} */
10302
- visible?: "all" | "manager" | "owner" | "none" | null;
10445
+ visible?: "all" | "manager" | "none" | null;
10303
10446
  /** @enum {string} */
10304
10447
  type: "accounts";
10305
10448
  value: string[];
@@ -10310,13 +10453,13 @@ export interface operations {
10310
10453
  name: string;
10311
10454
  locked?: boolean | null;
10312
10455
  /** @enum {string|null} */
10313
- visible?: "all" | "manager" | "owner" | "none" | null;
10456
+ visible?: "all" | "manager" | "none" | null;
10314
10457
  columns: ({
10315
10458
  id?: string | null;
10316
10459
  name: string;
10317
10460
  locked?: boolean | null;
10318
10461
  /** @enum {string|null} */
10319
- visible?: "all" | "manager" | "owner" | "none" | null;
10462
+ visible?: "all" | "manager" | "none" | null;
10320
10463
  /** @enum {string} */
10321
10464
  type: "field";
10322
10465
  value: string;
@@ -10325,7 +10468,7 @@ export interface operations {
10325
10468
  name: string;
10326
10469
  locked?: boolean | null;
10327
10470
  /** @enum {string|null} */
10328
- visible?: "all" | "manager" | "owner" | "none" | null;
10471
+ visible?: "all" | "manager" | "none" | null;
10329
10472
  /** @enum {string} */
10330
10473
  type: "accounts";
10331
10474
  value: string[];
@@ -10351,13 +10494,13 @@ export interface operations {
10351
10494
  name: string;
10352
10495
  locked?: boolean | null;
10353
10496
  /** @enum {string|null} */
10354
- visible?: "all" | "manager" | "owner" | "none" | null;
10497
+ visible?: "all" | "manager" | "none" | null;
10355
10498
  columns: ({
10356
10499
  id?: string | null;
10357
10500
  name: string;
10358
10501
  locked?: boolean | null;
10359
10502
  /** @enum {string|null} */
10360
- visible?: "all" | "manager" | "owner" | "none" | null;
10503
+ visible?: "all" | "manager" | "none" | null;
10361
10504
  /** @enum {string} */
10362
10505
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10363
10506
  value: string;
@@ -10366,7 +10509,7 @@ export interface operations {
10366
10509
  name: string;
10367
10510
  locked?: boolean | null;
10368
10511
  /** @enum {string|null} */
10369
- visible?: "all" | "manager" | "owner" | "none" | null;
10512
+ visible?: "all" | "manager" | "none" | null;
10370
10513
  /** @enum {string} */
10371
10514
  type: "accounts";
10372
10515
  value: string[];
@@ -10377,13 +10520,13 @@ export interface operations {
10377
10520
  name: string;
10378
10521
  locked?: boolean | null;
10379
10522
  /** @enum {string|null} */
10380
- visible?: "all" | "manager" | "owner" | "none" | null;
10523
+ visible?: "all" | "manager" | "none" | null;
10381
10524
  columns: ({
10382
10525
  id?: string | null;
10383
10526
  name: string;
10384
10527
  locked?: boolean | null;
10385
10528
  /** @enum {string|null} */
10386
- visible?: "all" | "manager" | "owner" | "none" | null;
10529
+ visible?: "all" | "manager" | "none" | null;
10387
10530
  /** @enum {string} */
10388
10531
  type: "field";
10389
10532
  value: string;
@@ -10392,7 +10535,7 @@ export interface operations {
10392
10535
  name: string;
10393
10536
  locked?: boolean | null;
10394
10537
  /** @enum {string|null} */
10395
- visible?: "all" | "manager" | "owner" | "none" | null;
10538
+ visible?: "all" | "manager" | "none" | null;
10396
10539
  /** @enum {string} */
10397
10540
  type: "accounts";
10398
10541
  value: string[];
@@ -10416,13 +10559,13 @@ export interface operations {
10416
10559
  name: string;
10417
10560
  locked?: boolean | null;
10418
10561
  /** @enum {string|null} */
10419
- visible?: "all" | "manager" | "owner" | "none" | null;
10562
+ visible?: "all" | "manager" | "none" | null;
10420
10563
  columns: ({
10421
10564
  id?: string | null;
10422
10565
  name: string;
10423
10566
  locked?: boolean | null;
10424
10567
  /** @enum {string|null} */
10425
- visible?: "all" | "manager" | "owner" | "none" | null;
10568
+ visible?: "all" | "manager" | "none" | null;
10426
10569
  /** @enum {string} */
10427
10570
  type: "field";
10428
10571
  value: string;
@@ -10431,7 +10574,7 @@ export interface operations {
10431
10574
  name: string;
10432
10575
  locked?: boolean | null;
10433
10576
  /** @enum {string|null} */
10434
- visible?: "all" | "manager" | "owner" | "none" | null;
10577
+ visible?: "all" | "manager" | "none" | null;
10435
10578
  /** @enum {string} */
10436
10579
  type: "accounts";
10437
10580
  value: string[];
@@ -10507,13 +10650,13 @@ export interface operations {
10507
10650
  name: string;
10508
10651
  locked?: boolean | null;
10509
10652
  /** @enum {string|null} */
10510
- visible?: "all" | "manager" | "owner" | "none" | null;
10653
+ visible?: "all" | "manager" | "none" | null;
10511
10654
  columns: ({
10512
10655
  id?: string | null;
10513
10656
  name: string;
10514
10657
  locked?: boolean | null;
10515
10658
  /** @enum {string|null} */
10516
- visible?: "all" | "manager" | "owner" | "none" | null;
10659
+ visible?: "all" | "manager" | "none" | null;
10517
10660
  /** @enum {string} */
10518
10661
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10519
10662
  value: string;
@@ -10522,7 +10665,7 @@ export interface operations {
10522
10665
  name: string;
10523
10666
  locked?: boolean | null;
10524
10667
  /** @enum {string|null} */
10525
- visible?: "all" | "manager" | "owner" | "none" | null;
10668
+ visible?: "all" | "manager" | "none" | null;
10526
10669
  /** @enum {string} */
10527
10670
  type: "accounts";
10528
10671
  value: string[];
@@ -10533,13 +10676,13 @@ export interface operations {
10533
10676
  name: string;
10534
10677
  locked?: boolean | null;
10535
10678
  /** @enum {string|null} */
10536
- visible?: "all" | "manager" | "owner" | "none" | null;
10679
+ visible?: "all" | "manager" | "none" | null;
10537
10680
  columns: ({
10538
10681
  id?: string | null;
10539
10682
  name: string;
10540
10683
  locked?: boolean | null;
10541
10684
  /** @enum {string|null} */
10542
- visible?: "all" | "manager" | "owner" | "none" | null;
10685
+ visible?: "all" | "manager" | "none" | null;
10543
10686
  /** @enum {string} */
10544
10687
  type: "field";
10545
10688
  value: string;
@@ -10548,7 +10691,7 @@ export interface operations {
10548
10691
  name: string;
10549
10692
  locked?: boolean | null;
10550
10693
  /** @enum {string|null} */
10551
- visible?: "all" | "manager" | "owner" | "none" | null;
10694
+ visible?: "all" | "manager" | "none" | null;
10552
10695
  /** @enum {string} */
10553
10696
  type: "accounts";
10554
10697
  value: string[];
@@ -10572,13 +10715,13 @@ export interface operations {
10572
10715
  name: string;
10573
10716
  locked?: boolean | null;
10574
10717
  /** @enum {string|null} */
10575
- visible?: "all" | "manager" | "owner" | "none" | null;
10718
+ visible?: "all" | "manager" | "none" | null;
10576
10719
  columns: ({
10577
10720
  id?: string | null;
10578
10721
  name: string;
10579
10722
  locked?: boolean | null;
10580
10723
  /** @enum {string|null} */
10581
- visible?: "all" | "manager" | "owner" | "none" | null;
10724
+ visible?: "all" | "manager" | "none" | null;
10582
10725
  /** @enum {string} */
10583
10726
  type: "field";
10584
10727
  value: string;
@@ -10587,7 +10730,7 @@ export interface operations {
10587
10730
  name: string;
10588
10731
  locked?: boolean | null;
10589
10732
  /** @enum {string|null} */
10590
- visible?: "all" | "manager" | "owner" | "none" | null;
10733
+ visible?: "all" | "manager" | "none" | null;
10591
10734
  /** @enum {string} */
10592
10735
  type: "accounts";
10593
10736
  value: string[];
@@ -10667,13 +10810,13 @@ export interface operations {
10667
10810
  name: string;
10668
10811
  locked?: boolean | null;
10669
10812
  /** @enum {string|null} */
10670
- visible?: "all" | "manager" | "owner" | "none" | null;
10813
+ visible?: "all" | "manager" | "none" | null;
10671
10814
  columns: ({
10672
10815
  id?: string | null;
10673
10816
  name: string;
10674
10817
  locked?: boolean | null;
10675
10818
  /** @enum {string|null} */
10676
- visible?: "all" | "manager" | "owner" | "none" | null;
10819
+ visible?: "all" | "manager" | "none" | null;
10677
10820
  /** @enum {string} */
10678
10821
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10679
10822
  value: string;
@@ -10682,7 +10825,7 @@ export interface operations {
10682
10825
  name: string;
10683
10826
  locked?: boolean | null;
10684
10827
  /** @enum {string|null} */
10685
- visible?: "all" | "manager" | "owner" | "none" | null;
10828
+ visible?: "all" | "manager" | "none" | null;
10686
10829
  /** @enum {string} */
10687
10830
  type: "accounts";
10688
10831
  value: string[];
@@ -10693,13 +10836,13 @@ export interface operations {
10693
10836
  name: string;
10694
10837
  locked?: boolean | null;
10695
10838
  /** @enum {string|null} */
10696
- visible?: "all" | "manager" | "owner" | "none" | null;
10839
+ visible?: "all" | "manager" | "none" | null;
10697
10840
  columns: ({
10698
10841
  id?: string | null;
10699
10842
  name: string;
10700
10843
  locked?: boolean | null;
10701
10844
  /** @enum {string|null} */
10702
- visible?: "all" | "manager" | "owner" | "none" | null;
10845
+ visible?: "all" | "manager" | "none" | null;
10703
10846
  /** @enum {string} */
10704
10847
  type: "field";
10705
10848
  value: string;
@@ -10708,7 +10851,7 @@ export interface operations {
10708
10851
  name: string;
10709
10852
  locked?: boolean | null;
10710
10853
  /** @enum {string|null} */
10711
- visible?: "all" | "manager" | "owner" | "none" | null;
10854
+ visible?: "all" | "manager" | "none" | null;
10712
10855
  /** @enum {string} */
10713
10856
  type: "accounts";
10714
10857
  value: string[];
@@ -10734,13 +10877,13 @@ export interface operations {
10734
10877
  name: string;
10735
10878
  locked?: boolean | null;
10736
10879
  /** @enum {string|null} */
10737
- visible?: "all" | "manager" | "owner" | "none" | null;
10880
+ visible?: "all" | "manager" | "none" | null;
10738
10881
  columns: ({
10739
10882
  id?: string | null;
10740
10883
  name: string;
10741
10884
  locked?: boolean | null;
10742
10885
  /** @enum {string|null} */
10743
- visible?: "all" | "manager" | "owner" | "none" | null;
10886
+ visible?: "all" | "manager" | "none" | null;
10744
10887
  /** @enum {string} */
10745
10888
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10746
10889
  value: string;
@@ -10749,7 +10892,7 @@ export interface operations {
10749
10892
  name: string;
10750
10893
  locked?: boolean | null;
10751
10894
  /** @enum {string|null} */
10752
- visible?: "all" | "manager" | "owner" | "none" | null;
10895
+ visible?: "all" | "manager" | "none" | null;
10753
10896
  /** @enum {string} */
10754
10897
  type: "accounts";
10755
10898
  value: string[];
@@ -10760,13 +10903,13 @@ export interface operations {
10760
10903
  name: string;
10761
10904
  locked?: boolean | null;
10762
10905
  /** @enum {string|null} */
10763
- visible?: "all" | "manager" | "owner" | "none" | null;
10906
+ visible?: "all" | "manager" | "none" | null;
10764
10907
  columns: ({
10765
10908
  id?: string | null;
10766
10909
  name: string;
10767
10910
  locked?: boolean | null;
10768
10911
  /** @enum {string|null} */
10769
- visible?: "all" | "manager" | "owner" | "none" | null;
10912
+ visible?: "all" | "manager" | "none" | null;
10770
10913
  /** @enum {string} */
10771
10914
  type: "field";
10772
10915
  value: string;
@@ -10775,7 +10918,7 @@ export interface operations {
10775
10918
  name: string;
10776
10919
  locked?: boolean | null;
10777
10920
  /** @enum {string|null} */
10778
- visible?: "all" | "manager" | "owner" | "none" | null;
10921
+ visible?: "all" | "manager" | "none" | null;
10779
10922
  /** @enum {string} */
10780
10923
  type: "accounts";
10781
10924
  value: string[];
@@ -10799,13 +10942,13 @@ export interface operations {
10799
10942
  name: string;
10800
10943
  locked?: boolean | null;
10801
10944
  /** @enum {string|null} */
10802
- visible?: "all" | "manager" | "owner" | "none" | null;
10945
+ visible?: "all" | "manager" | "none" | null;
10803
10946
  columns: ({
10804
10947
  id?: string | null;
10805
10948
  name: string;
10806
10949
  locked?: boolean | null;
10807
10950
  /** @enum {string|null} */
10808
- visible?: "all" | "manager" | "owner" | "none" | null;
10951
+ visible?: "all" | "manager" | "none" | null;
10809
10952
  /** @enum {string} */
10810
10953
  type: "field";
10811
10954
  value: string;
@@ -10814,7 +10957,7 @@ export interface operations {
10814
10957
  name: string;
10815
10958
  locked?: boolean | null;
10816
10959
  /** @enum {string|null} */
10817
- visible?: "all" | "manager" | "owner" | "none" | null;
10960
+ visible?: "all" | "manager" | "none" | null;
10818
10961
  /** @enum {string} */
10819
10962
  type: "accounts";
10820
10963
  value: string[];
@@ -11087,7 +11230,13 @@ export interface operations {
11087
11230
  /** @enum {string} */
11088
11231
  status: "active" | "inactive";
11089
11232
  uniqueRef?: string | null;
11090
- appId: string;
11233
+ app: {
11234
+ id: string;
11235
+ name: string;
11236
+ icon?: string | null;
11237
+ importers?: string[] | null;
11238
+ extractors?: string[] | null;
11239
+ };
11091
11240
  } | null;
11092
11241
  contact?: {
11093
11242
  /** Format: uuid */
@@ -11382,13 +11531,13 @@ export interface operations {
11382
11531
  name: string;
11383
11532
  locked?: boolean | null;
11384
11533
  /** @enum {string|null} */
11385
- visible?: "all" | "manager" | "owner" | "none" | null;
11534
+ visible?: "all" | "manager" | "none" | null;
11386
11535
  columns: ({
11387
11536
  id?: string | null;
11388
11537
  name: string;
11389
11538
  locked?: boolean | null;
11390
11539
  /** @enum {string|null} */
11391
- visible?: "all" | "manager" | "owner" | "none" | null;
11540
+ visible?: "all" | "manager" | "none" | null;
11392
11541
  /** @enum {string} */
11393
11542
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
11394
11543
  value: string;
@@ -11397,7 +11546,7 @@ export interface operations {
11397
11546
  name: string;
11398
11547
  locked?: boolean | null;
11399
11548
  /** @enum {string|null} */
11400
- visible?: "all" | "manager" | "owner" | "none" | null;
11549
+ visible?: "all" | "manager" | "none" | null;
11401
11550
  /** @enum {string} */
11402
11551
  type: "accounts";
11403
11552
  value: string[];
@@ -11408,13 +11557,13 @@ export interface operations {
11408
11557
  name: string;
11409
11558
  locked?: boolean | null;
11410
11559
  /** @enum {string|null} */
11411
- visible?: "all" | "manager" | "owner" | "none" | null;
11560
+ visible?: "all" | "manager" | "none" | null;
11412
11561
  columns: ({
11413
11562
  id?: string | null;
11414
11563
  name: string;
11415
11564
  locked?: boolean | null;
11416
11565
  /** @enum {string|null} */
11417
- visible?: "all" | "manager" | "owner" | "none" | null;
11566
+ visible?: "all" | "manager" | "none" | null;
11418
11567
  /** @enum {string} */
11419
11568
  type: "field";
11420
11569
  value: string;
@@ -11423,7 +11572,7 @@ export interface operations {
11423
11572
  name: string;
11424
11573
  locked?: boolean | null;
11425
11574
  /** @enum {string|null} */
11426
- visible?: "all" | "manager" | "owner" | "none" | null;
11575
+ visible?: "all" | "manager" | "none" | null;
11427
11576
  /** @enum {string} */
11428
11577
  type: "accounts";
11429
11578
  value: string[];
@@ -11447,13 +11596,13 @@ export interface operations {
11447
11596
  name: string;
11448
11597
  locked?: boolean | null;
11449
11598
  /** @enum {string|null} */
11450
- visible?: "all" | "manager" | "owner" | "none" | null;
11599
+ visible?: "all" | "manager" | "none" | null;
11451
11600
  columns: ({
11452
11601
  id?: string | null;
11453
11602
  name: string;
11454
11603
  locked?: boolean | null;
11455
11604
  /** @enum {string|null} */
11456
- visible?: "all" | "manager" | "owner" | "none" | null;
11605
+ visible?: "all" | "manager" | "none" | null;
11457
11606
  /** @enum {string} */
11458
11607
  type: "field";
11459
11608
  value: string;
@@ -11462,7 +11611,7 @@ export interface operations {
11462
11611
  name: string;
11463
11612
  locked?: boolean | null;
11464
11613
  /** @enum {string|null} */
11465
- visible?: "all" | "manager" | "owner" | "none" | null;
11614
+ visible?: "all" | "manager" | "none" | null;
11466
11615
  /** @enum {string} */
11467
11616
  type: "accounts";
11468
11617
  value: string[];
@@ -11682,25 +11831,17 @@ export interface operations {
11682
11831
  };
11683
11832
  };
11684
11833
  };
11685
- getOwnerStatementTotals: {
11834
+ getOwnerStatement: {
11686
11835
  parameters: {
11687
- query: {
11688
- /** @description Date in format YYYY-MM */
11689
- month: string;
11690
- /** @description comma separated listings */
11691
- listingIds?: string;
11692
- /** @description comma separated owners */
11693
- ownerIds?: string;
11694
- status?: ("draft" | "inReview" | "void" | "published") | "all";
11695
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
11696
- currency?: string;
11697
- search?: string;
11698
- includePreviousUnattached?: boolean;
11836
+ query?: {
11837
+ viewAs?: "owner" | "manager";
11699
11838
  };
11700
11839
  header?: {
11701
11840
  "X-Team-Id"?: string;
11702
11841
  };
11703
- path?: never;
11842
+ path: {
11843
+ id: string;
11844
+ };
11704
11845
  cookie?: never;
11705
11846
  };
11706
11847
  requestBody?: never;
@@ -11712,99 +11853,10 @@ export interface operations {
11712
11853
  };
11713
11854
  content: {
11714
11855
  "application/json": {
11715
- aggregates: {
11716
- /** @description Value in cents (100 = 1€) */
11717
- balanceStart: number;
11718
- /** @description Value in cents (100 = 1€) */
11719
- netRevenue: number;
11720
- /** @description Value in cents (100 = 1€) */
11721
- expenses: number;
11722
- /** @description Value in cents (100 = 1€) */
11723
- netIncome: number;
11724
- /** @description Value in cents (100 = 1€) */
11725
- transfers: number;
11726
- /** @description Value in cents (100 = 1€) */
11727
- balanceEnd: number;
11728
- currency: string;
11729
- }[];
11730
- total: number;
11731
- defaultCurrency: string;
11732
- };
11733
- };
11734
- };
11735
- /** @description Invalid input data */
11736
- 400: {
11737
- headers: {
11738
- [name: string]: unknown;
11739
- };
11740
- content: {
11741
- "application/json": components["schemas"]["error.BAD_REQUEST"];
11742
- };
11743
- };
11744
- /** @description Authorization not provided */
11745
- 401: {
11746
- headers: {
11747
- [name: string]: unknown;
11748
- };
11749
- content: {
11750
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
11751
- };
11752
- };
11753
- /** @description Insufficient access */
11754
- 403: {
11755
- headers: {
11756
- [name: string]: unknown;
11757
- };
11758
- content: {
11759
- "application/json": components["schemas"]["error.FORBIDDEN"];
11760
- };
11761
- };
11762
- /** @description Not found */
11763
- 404: {
11764
- headers: {
11765
- [name: string]: unknown;
11766
- };
11767
- content: {
11768
- "application/json": components["schemas"]["error.NOT_FOUND"];
11769
- };
11770
- };
11771
- /** @description Internal server error */
11772
- 500: {
11773
- headers: {
11774
- [name: string]: unknown;
11775
- };
11776
- content: {
11777
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
11778
- };
11779
- };
11780
- };
11781
- };
11782
- getOwnerStatement: {
11783
- parameters: {
11784
- query?: {
11785
- viewAs?: "owner" | "manager";
11786
- };
11787
- header?: {
11788
- "X-Team-Id"?: string;
11789
- };
11790
- path: {
11791
- id: string;
11792
- };
11793
- cookie?: never;
11794
- };
11795
- requestBody?: never;
11796
- responses: {
11797
- /** @description Successful response */
11798
- 200: {
11799
- headers: {
11800
- [name: string]: unknown;
11801
- };
11802
- content: {
11803
- "application/json": {
11804
- id: string | null;
11805
- /** @description Value in cents (100 = 1€) */
11806
- total: number;
11807
- financials: {
11856
+ id: string | null;
11857
+ /** @description Value in cents (100 = 1€) */
11858
+ total: number;
11859
+ financials: {
11808
11860
  /** @description Value in cents (100 = 1€) */
11809
11861
  balanceStart: number;
11810
11862
  /** @description Value in cents (100 = 1€) */
@@ -11932,13 +11984,13 @@ export interface operations {
11932
11984
  name: string;
11933
11985
  locked?: boolean | null;
11934
11986
  /** @enum {string|null} */
11935
- visible?: "all" | "manager" | "owner" | "none" | null;
11987
+ visible?: "all" | "manager" | "none" | null;
11936
11988
  columns: ({
11937
11989
  id?: string | null;
11938
11990
  name: string;
11939
11991
  locked?: boolean | null;
11940
11992
  /** @enum {string|null} */
11941
- visible?: "all" | "manager" | "owner" | "none" | null;
11993
+ visible?: "all" | "manager" | "none" | null;
11942
11994
  /** @enum {string} */
11943
11995
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
11944
11996
  value: string;
@@ -11947,7 +11999,7 @@ export interface operations {
11947
11999
  name: string;
11948
12000
  locked?: boolean | null;
11949
12001
  /** @enum {string|null} */
11950
- visible?: "all" | "manager" | "owner" | "none" | null;
12002
+ visible?: "all" | "manager" | "none" | null;
11951
12003
  /** @enum {string} */
11952
12004
  type: "accounts";
11953
12005
  value: string[];
@@ -11958,13 +12010,13 @@ export interface operations {
11958
12010
  name: string;
11959
12011
  locked?: boolean | null;
11960
12012
  /** @enum {string|null} */
11961
- visible?: "all" | "manager" | "owner" | "none" | null;
12013
+ visible?: "all" | "manager" | "none" | null;
11962
12014
  columns: ({
11963
12015
  id?: string | null;
11964
12016
  name: string;
11965
12017
  locked?: boolean | null;
11966
12018
  /** @enum {string|null} */
11967
- visible?: "all" | "manager" | "owner" | "none" | null;
12019
+ visible?: "all" | "manager" | "none" | null;
11968
12020
  /** @enum {string} */
11969
12021
  type: "field";
11970
12022
  value: string;
@@ -11973,7 +12025,7 @@ export interface operations {
11973
12025
  name: string;
11974
12026
  locked?: boolean | null;
11975
12027
  /** @enum {string|null} */
11976
- visible?: "all" | "manager" | "owner" | "none" | null;
12028
+ visible?: "all" | "manager" | "none" | null;
11977
12029
  /** @enum {string} */
11978
12030
  type: "accounts";
11979
12031
  value: string[];
@@ -11997,13 +12049,13 @@ export interface operations {
11997
12049
  name: string;
11998
12050
  locked?: boolean | null;
11999
12051
  /** @enum {string|null} */
12000
- visible?: "all" | "manager" | "owner" | "none" | null;
12052
+ visible?: "all" | "manager" | "none" | null;
12001
12053
  columns: ({
12002
12054
  id?: string | null;
12003
12055
  name: string;
12004
12056
  locked?: boolean | null;
12005
12057
  /** @enum {string|null} */
12006
- visible?: "all" | "manager" | "owner" | "none" | null;
12058
+ visible?: "all" | "manager" | "none" | null;
12007
12059
  /** @enum {string} */
12008
12060
  type: "field";
12009
12061
  value: string;
@@ -12012,7 +12064,7 @@ export interface operations {
12012
12064
  name: string;
12013
12065
  locked?: boolean | null;
12014
12066
  /** @enum {string|null} */
12015
- visible?: "all" | "manager" | "owner" | "none" | null;
12067
+ visible?: "all" | "manager" | "none" | null;
12016
12068
  /** @enum {string} */
12017
12069
  type: "accounts";
12018
12070
  value: string[];
@@ -12394,13 +12446,13 @@ export interface operations {
12394
12446
  name: string;
12395
12447
  locked?: boolean | null;
12396
12448
  /** @enum {string|null} */
12397
- visible?: "all" | "manager" | "owner" | "none" | null;
12449
+ visible?: "all" | "manager" | "none" | null;
12398
12450
  columns: ({
12399
12451
  id?: string | null;
12400
12452
  name: string;
12401
12453
  locked?: boolean | null;
12402
12454
  /** @enum {string|null} */
12403
- visible?: "all" | "manager" | "owner" | "none" | null;
12455
+ visible?: "all" | "manager" | "none" | null;
12404
12456
  /** @enum {string} */
12405
12457
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
12406
12458
  value: string;
@@ -12409,7 +12461,7 @@ export interface operations {
12409
12461
  name: string;
12410
12462
  locked?: boolean | null;
12411
12463
  /** @enum {string|null} */
12412
- visible?: "all" | "manager" | "owner" | "none" | null;
12464
+ visible?: "all" | "manager" | "none" | null;
12413
12465
  /** @enum {string} */
12414
12466
  type: "accounts";
12415
12467
  value: string[];
@@ -12420,13 +12472,13 @@ export interface operations {
12420
12472
  name: string;
12421
12473
  locked?: boolean | null;
12422
12474
  /** @enum {string|null} */
12423
- visible?: "all" | "manager" | "owner" | "none" | null;
12475
+ visible?: "all" | "manager" | "none" | null;
12424
12476
  columns: ({
12425
12477
  id?: string | null;
12426
12478
  name: string;
12427
12479
  locked?: boolean | null;
12428
12480
  /** @enum {string|null} */
12429
- visible?: "all" | "manager" | "owner" | "none" | null;
12481
+ visible?: "all" | "manager" | "none" | null;
12430
12482
  /** @enum {string} */
12431
12483
  type: "field";
12432
12484
  value: string;
@@ -12435,7 +12487,7 @@ export interface operations {
12435
12487
  name: string;
12436
12488
  locked?: boolean | null;
12437
12489
  /** @enum {string|null} */
12438
- visible?: "all" | "manager" | "owner" | "none" | null;
12490
+ visible?: "all" | "manager" | "none" | null;
12439
12491
  /** @enum {string} */
12440
12492
  type: "accounts";
12441
12493
  value: string[];
@@ -12459,13 +12511,13 @@ export interface operations {
12459
12511
  name: string;
12460
12512
  locked?: boolean | null;
12461
12513
  /** @enum {string|null} */
12462
- visible?: "all" | "manager" | "owner" | "none" | null;
12514
+ visible?: "all" | "manager" | "none" | null;
12463
12515
  columns: ({
12464
12516
  id?: string | null;
12465
12517
  name: string;
12466
12518
  locked?: boolean | null;
12467
12519
  /** @enum {string|null} */
12468
- visible?: "all" | "manager" | "owner" | "none" | null;
12520
+ visible?: "all" | "manager" | "none" | null;
12469
12521
  /** @enum {string} */
12470
12522
  type: "field";
12471
12523
  value: string;
@@ -12474,7 +12526,7 @@ export interface operations {
12474
12526
  name: string;
12475
12527
  locked?: boolean | null;
12476
12528
  /** @enum {string|null} */
12477
- visible?: "all" | "manager" | "owner" | "none" | null;
12529
+ visible?: "all" | "manager" | "none" | null;
12478
12530
  /** @enum {string} */
12479
12531
  type: "accounts";
12480
12532
  value: string[];
@@ -13185,13 +13237,13 @@ export interface operations {
13185
13237
  name: string;
13186
13238
  locked?: boolean | null;
13187
13239
  /** @enum {string|null} */
13188
- visible?: "all" | "manager" | "owner" | "none" | null;
13240
+ visible?: "all" | "manager" | "none" | null;
13189
13241
  columns: ({
13190
13242
  id?: string | null;
13191
13243
  name: string;
13192
13244
  locked?: boolean | null;
13193
13245
  /** @enum {string|null} */
13194
- visible?: "all" | "manager" | "owner" | "none" | null;
13246
+ visible?: "all" | "manager" | "none" | null;
13195
13247
  /** @enum {string} */
13196
13248
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
13197
13249
  value: string;
@@ -13200,7 +13252,7 @@ export interface operations {
13200
13252
  name: string;
13201
13253
  locked?: boolean | null;
13202
13254
  /** @enum {string|null} */
13203
- visible?: "all" | "manager" | "owner" | "none" | null;
13255
+ visible?: "all" | "manager" | "none" | null;
13204
13256
  /** @enum {string} */
13205
13257
  type: "accounts";
13206
13258
  value: string[];
@@ -13211,13 +13263,13 @@ export interface operations {
13211
13263
  name: string;
13212
13264
  locked?: boolean | null;
13213
13265
  /** @enum {string|null} */
13214
- visible?: "all" | "manager" | "owner" | "none" | null;
13266
+ visible?: "all" | "manager" | "none" | null;
13215
13267
  columns: ({
13216
13268
  id?: string | null;
13217
13269
  name: string;
13218
13270
  locked?: boolean | null;
13219
13271
  /** @enum {string|null} */
13220
- visible?: "all" | "manager" | "owner" | "none" | null;
13272
+ visible?: "all" | "manager" | "none" | null;
13221
13273
  /** @enum {string} */
13222
13274
  type: "field";
13223
13275
  value: string;
@@ -13226,7 +13278,7 @@ export interface operations {
13226
13278
  name: string;
13227
13279
  locked?: boolean | null;
13228
13280
  /** @enum {string|null} */
13229
- visible?: "all" | "manager" | "owner" | "none" | null;
13281
+ visible?: "all" | "manager" | "none" | null;
13230
13282
  /** @enum {string} */
13231
13283
  type: "accounts";
13232
13284
  value: string[];
@@ -13250,13 +13302,13 @@ export interface operations {
13250
13302
  name: string;
13251
13303
  locked?: boolean | null;
13252
13304
  /** @enum {string|null} */
13253
- visible?: "all" | "manager" | "owner" | "none" | null;
13305
+ visible?: "all" | "manager" | "none" | null;
13254
13306
  columns: ({
13255
13307
  id?: string | null;
13256
13308
  name: string;
13257
13309
  locked?: boolean | null;
13258
13310
  /** @enum {string|null} */
13259
- visible?: "all" | "manager" | "owner" | "none" | null;
13311
+ visible?: "all" | "manager" | "none" | null;
13260
13312
  /** @enum {string} */
13261
13313
  type: "field";
13262
13314
  value: string;
@@ -13265,7 +13317,7 @@ export interface operations {
13265
13317
  name: string;
13266
13318
  locked?: boolean | null;
13267
13319
  /** @enum {string|null} */
13268
- visible?: "all" | "manager" | "owner" | "none" | null;
13320
+ visible?: "all" | "manager" | "none" | null;
13269
13321
  /** @enum {string} */
13270
13322
  type: "accounts";
13271
13323
  value: string[];
@@ -13625,7 +13677,13 @@ export interface operations {
13625
13677
  /** @enum {string} */
13626
13678
  status: "active" | "inactive";
13627
13679
  uniqueRef?: string | null;
13628
- appId: string;
13680
+ app: {
13681
+ id: string;
13682
+ name: string;
13683
+ icon?: string | null;
13684
+ importers?: string[] | null;
13685
+ extractors?: string[] | null;
13686
+ };
13629
13687
  } | null;
13630
13688
  contact?: {
13631
13689
  /** Format: uuid */
@@ -14072,7 +14130,13 @@ export interface operations {
14072
14130
  /** @enum {string} */
14073
14131
  status: "active" | "inactive";
14074
14132
  uniqueRef?: string | null;
14075
- appId: string;
14133
+ app: {
14134
+ id: string;
14135
+ name: string;
14136
+ icon?: string | null;
14137
+ importers?: string[] | null;
14138
+ extractors?: string[] | null;
14139
+ };
14076
14140
  } | null;
14077
14141
  contact?: {
14078
14142
  /** Format: uuid */
@@ -15233,7 +15297,13 @@ export interface operations {
15233
15297
  /** @enum {string} */
15234
15298
  status: "active" | "inactive";
15235
15299
  uniqueRef?: string | null;
15236
- appId: string;
15300
+ app: {
15301
+ id: string;
15302
+ name: string;
15303
+ icon?: string | null;
15304
+ importers?: string[] | null;
15305
+ extractors?: string[] | null;
15306
+ };
15237
15307
  } | null;
15238
15308
  contact?: {
15239
15309
  /** Format: uuid */
@@ -15503,7 +15573,13 @@ export interface operations {
15503
15573
  /** @enum {string} */
15504
15574
  status: "active" | "inactive";
15505
15575
  uniqueRef?: string | null;
15506
- appId: string;
15576
+ app: {
15577
+ id: string;
15578
+ name: string;
15579
+ icon?: string | null;
15580
+ importers?: string[] | null;
15581
+ extractors?: string[] | null;
15582
+ };
15507
15583
  } | null;
15508
15584
  contact?: {
15509
15585
  /** Format: uuid */
@@ -15782,7 +15858,13 @@ export interface operations {
15782
15858
  /** @enum {string} */
15783
15859
  status: "active" | "inactive";
15784
15860
  uniqueRef?: string | null;
15785
- appId: string;
15861
+ app: {
15862
+ id: string;
15863
+ name: string;
15864
+ icon?: string | null;
15865
+ importers?: string[] | null;
15866
+ extractors?: string[] | null;
15867
+ };
15786
15868
  } | null;
15787
15869
  contact?: {
15788
15870
  /** Format: uuid */
@@ -16058,7 +16140,13 @@ export interface operations {
16058
16140
  /** @enum {string} */
16059
16141
  status: "active" | "inactive";
16060
16142
  uniqueRef?: string | null;
16061
- appId: string;
16143
+ app: {
16144
+ id: string;
16145
+ name: string;
16146
+ icon?: string | null;
16147
+ importers?: string[] | null;
16148
+ extractors?: string[] | null;
16149
+ };
16062
16150
  } | null;
16063
16151
  contact?: {
16064
16152
  /** Format: uuid */
@@ -16254,7 +16342,13 @@ export interface operations {
16254
16342
  /** @enum {string} */
16255
16343
  status: "active" | "inactive";
16256
16344
  uniqueRef?: string | null;
16257
- appId: string;
16345
+ app: {
16346
+ id: string;
16347
+ name: string;
16348
+ icon?: string | null;
16349
+ importers?: string[] | null;
16350
+ extractors?: string[] | null;
16351
+ };
16258
16352
  } | null;
16259
16353
  contact?: {
16260
16354
  /** Format: uuid */
@@ -16523,7 +16617,13 @@ export interface operations {
16523
16617
  /** @enum {string} */
16524
16618
  status: "active" | "inactive";
16525
16619
  uniqueRef?: string | null;
16526
- appId: string;
16620
+ app: {
16621
+ id: string;
16622
+ name: string;
16623
+ icon?: string | null;
16624
+ importers?: string[] | null;
16625
+ extractors?: string[] | null;
16626
+ };
16527
16627
  } | null;
16528
16628
  contact?: {
16529
16629
  /** Format: uuid */
@@ -17434,7 +17534,13 @@ export interface operations {
17434
17534
  /** @enum {string} */
17435
17535
  status: "active" | "inactive";
17436
17536
  uniqueRef?: string | null;
17437
- appId: string;
17537
+ app: {
17538
+ id: string;
17539
+ name: string;
17540
+ icon?: string | null;
17541
+ importers?: string[] | null;
17542
+ extractors?: string[] | null;
17543
+ };
17438
17544
  } | null;
17439
17545
  contact?: {
17440
17546
  /** Format: uuid */
@@ -17555,7 +17661,6 @@ export interface operations {
17555
17661
  status?: "active" | "inactive";
17556
17662
  /** @enum {string} */
17557
17663
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
17558
- uniqueRef?: string | null;
17559
17664
  id: string;
17560
17665
  offsetAccount?: {
17561
17666
  id: string;
@@ -17694,7 +17799,6 @@ export interface operations {
17694
17799
  last4?: string | null;
17695
17800
  currency?: string | null;
17696
17801
  } | null;
17697
- uniqueRef?: string | null;
17698
17802
  };
17699
17803
  };
17700
17804
  };
@@ -17711,7 +17815,6 @@ export interface operations {
17711
17815
  status?: "active" | "inactive";
17712
17816
  /** @enum {string} */
17713
17817
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
17714
- uniqueRef?: string | null;
17715
17818
  id: string;
17716
17819
  offsetAccount?: {
17717
17820
  id: string;
@@ -17927,7 +18030,6 @@ export interface operations {
17927
18030
  status?: "active" | "inactive";
17928
18031
  /** @enum {string} */
17929
18032
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
17930
- uniqueRef?: string | null;
17931
18033
  id: string;
17932
18034
  offsetAccount?: {
17933
18035
  id: string;
@@ -18074,7 +18176,6 @@ export interface operations {
18074
18176
  last4?: string | null;
18075
18177
  currency?: string | null;
18076
18178
  } | null;
18077
- uniqueRef?: string | null;
18078
18179
  };
18079
18180
  };
18080
18181
  };
@@ -18091,7 +18192,6 @@ export interface operations {
18091
18192
  status?: "active" | "inactive";
18092
18193
  /** @enum {string} */
18093
18194
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
18094
- uniqueRef?: string | null;
18095
18195
  id: string;
18096
18196
  offsetAccount?: {
18097
18197
  id: string;
@@ -18787,7 +18887,13 @@ export interface operations {
18787
18887
  /** @enum {string} */
18788
18888
  status: "active" | "inactive";
18789
18889
  uniqueRef?: string | null;
18790
- appId: string;
18890
+ app: {
18891
+ id: string;
18892
+ name: string;
18893
+ icon?: string | null;
18894
+ importers?: string[] | null;
18895
+ extractors?: string[] | null;
18896
+ };
18791
18897
  } | null;
18792
18898
  uniqueRef?: string | null;
18793
18899
  recurringTemplate?: {
@@ -19026,7 +19132,13 @@ export interface operations {
19026
19132
  /** @enum {string} */
19027
19133
  status: "active" | "inactive";
19028
19134
  uniqueRef?: string | null;
19029
- appId: string;
19135
+ app: {
19136
+ id: string;
19137
+ name: string;
19138
+ icon?: string | null;
19139
+ importers?: string[] | null;
19140
+ extractors?: string[] | null;
19141
+ };
19030
19142
  } | null;
19031
19143
  uniqueRef?: string | null;
19032
19144
  recurringTemplate?: {
@@ -19105,8 +19217,6 @@ export interface operations {
19105
19217
  requestBody: {
19106
19218
  content: {
19107
19219
  "application/json": {
19108
- /** Format: uuid */
19109
- connectionId: string;
19110
19220
  data: {
19111
19221
  address?: {
19112
19222
  full?: string | null;
@@ -19121,6 +19231,7 @@ export interface operations {
19121
19231
  } | null;
19122
19232
  /** @enum {string} */
19123
19233
  type: "owner" | "vendor";
19234
+ email?: string | null;
19124
19235
  firstName?: string | null;
19125
19236
  name?: string | null;
19126
19237
  phone?: string | null;
@@ -19133,12 +19244,14 @@ export interface operations {
19133
19244
  uniqueRef?: string | null;
19134
19245
  /** @enum {string|null} */
19135
19246
  status?: "active" | "inactive" | null;
19247
+ invite?: boolean | null;
19136
19248
  /** Format: uuid */
19137
19249
  payoutAccountId?: string | null;
19138
19250
  /** Format: uuid */
19139
19251
  id?: string | null;
19140
- email?: string | null;
19141
19252
  }[];
19253
+ /** Format: uuid */
19254
+ connectionId: string;
19142
19255
  };
19143
19256
  };
19144
19257
  };
@@ -19164,7 +19277,6 @@ export interface operations {
19164
19277
  } | null;
19165
19278
  /** @enum {string} */
19166
19279
  type: "owner" | "vendor";
19167
- /** Format: email */
19168
19280
  email?: string | null;
19169
19281
  firstName?: string | null;
19170
19282
  name?: string | null;
@@ -19176,6 +19288,7 @@ export interface operations {
19176
19288
  uniqueRef?: string | null;
19177
19289
  /** @enum {string} */
19178
19290
  status: "active" | "inactive";
19291
+ invite?: boolean | null;
19179
19292
  /** Format: uuid */
19180
19293
  payoutAccountId?: string | null;
19181
19294
  /** Format: uuid */
@@ -19279,7 +19392,6 @@ export interface operations {
19279
19392
  } | null;
19280
19393
  /** @enum {string} */
19281
19394
  type: "owner" | "vendor";
19282
- /** Format: email */
19283
19395
  email?: string | null;
19284
19396
  firstName?: string | null;
19285
19397
  name?: string | null;
@@ -19291,6 +19403,7 @@ export interface operations {
19291
19403
  uniqueRef?: string | null;
19292
19404
  /** @enum {string} */
19293
19405
  status: "active" | "inactive";
19406
+ invite?: boolean | null;
19294
19407
  /** Format: uuid */
19295
19408
  payoutAccountId?: string | null;
19296
19409
  /** Format: uuid */
@@ -19391,7 +19504,6 @@ export interface operations {
19391
19504
  } | null;
19392
19505
  /** @enum {string} */
19393
19506
  type?: "owner" | "vendor";
19394
- /** Format: email */
19395
19507
  email?: string | null;
19396
19508
  firstName?: string | null;
19397
19509
  name?: string | null;
@@ -19405,6 +19517,7 @@ export interface operations {
19405
19517
  uniqueRef?: string | null;
19406
19518
  /** @enum {string|null} */
19407
19519
  status?: "active" | "inactive" | null;
19520
+ invite?: boolean | null;
19408
19521
  /** Format: uuid */
19409
19522
  payoutAccountId?: string | null;
19410
19523
  };
@@ -19431,7 +19544,6 @@ export interface operations {
19431
19544
  } | null;
19432
19545
  /** @enum {string} */
19433
19546
  type: "owner" | "vendor";
19434
- /** Format: email */
19435
19547
  email?: string | null;
19436
19548
  firstName?: string | null;
19437
19549
  name?: string | null;
@@ -19443,6 +19555,7 @@ export interface operations {
19443
19555
  uniqueRef?: string | null;
19444
19556
  /** @enum {string} */
19445
19557
  status: "active" | "inactive";
19558
+ invite?: boolean | null;
19446
19559
  /** Format: uuid */
19447
19560
  payoutAccountId?: string | null;
19448
19561
  /** Format: uuid */
@@ -19628,7 +19741,6 @@ export interface operations {
19628
19741
  } | null;
19629
19742
  /** @enum {string} */
19630
19743
  type: "owner" | "vendor";
19631
- /** Format: email */
19632
19744
  email?: string | null;
19633
19745
  firstName?: string | null;
19634
19746
  name?: string | null;
@@ -19640,6 +19752,7 @@ export interface operations {
19640
19752
  uniqueRef?: string | null;
19641
19753
  /** @enum {string} */
19642
19754
  status: "active" | "inactive";
19755
+ invite?: boolean | null;
19643
19756
  /** Format: uuid */
19644
19757
  payoutAccountId?: string | null;
19645
19758
  /** Format: uuid */
@@ -19748,7 +19861,6 @@ export interface operations {
19748
19861
  } | null;
19749
19862
  /** @enum {string} */
19750
19863
  type: "owner" | "vendor";
19751
- /** Format: email */
19752
19864
  email?: string | null;
19753
19865
  firstName?: string | null;
19754
19866
  name?: string | null;
@@ -19762,9 +19874,9 @@ export interface operations {
19762
19874
  uniqueRef?: string | null;
19763
19875
  /** @enum {string|null} */
19764
19876
  status?: "active" | "inactive" | null;
19877
+ invite?: boolean | null;
19765
19878
  /** Format: uuid */
19766
19879
  payoutAccountId?: string | null;
19767
- invite?: boolean | null;
19768
19880
  };
19769
19881
  };
19770
19882
  };
@@ -19789,7 +19901,6 @@ export interface operations {
19789
19901
  } | null;
19790
19902
  /** @enum {string} */
19791
19903
  type: "owner" | "vendor";
19792
- /** Format: email */
19793
19904
  email?: string | null;
19794
19905
  firstName?: string | null;
19795
19906
  name?: string | null;
@@ -19801,6 +19912,7 @@ export interface operations {
19801
19912
  uniqueRef?: string | null;
19802
19913
  /** @enum {string} */
19803
19914
  status: "active" | "inactive";
19915
+ invite?: boolean | null;
19804
19916
  /** Format: uuid */
19805
19917
  payoutAccountId?: string | null;
19806
19918
  /** Format: uuid */
@@ -21151,7 +21263,7 @@ export interface operations {
21151
21263
  };
21152
21264
  };
21153
21265
  };
21154
- getDispatchAction: {
21266
+ getStoreAction: {
21155
21267
  parameters: {
21156
21268
  query?: never;
21157
21269
  header?: {
@@ -21185,7 +21297,7 @@ export interface operations {
21185
21297
  /** Format: uuid */
21186
21298
  id: string;
21187
21299
  /** @enum {string} */
21188
- 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";
21300
+ effectType: "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "UPDATE_RECURRING_TRANSACTION_INSTANCES" | "DEACTIVATE_RECURRING_TEMPLATE" | "UPDATE_RESERVATION_PAYMENTS" | "MATCH_TRANSACTION_LINE_TO_RESERVATION" | "MATCH_RESERVATION_TO_STRIPE_DEPOSIT" | "TEST_EFFECT";
21189
21301
  payload?: unknown;
21190
21302
  /** @enum {string} */
21191
21303
  status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
@@ -21263,6 +21375,260 @@ export interface operations {
21263
21375
  };
21264
21376
  };
21265
21377
  };
21378
+ getReviews: {
21379
+ parameters: {
21380
+ query?: {
21381
+ date?: string;
21382
+ connectionId?: string;
21383
+ type?: string;
21384
+ listingId?: string;
21385
+ listingConnectionId?: string;
21386
+ limit?: number;
21387
+ page?: number;
21388
+ };
21389
+ header?: {
21390
+ "X-Team-Id"?: string;
21391
+ };
21392
+ path?: never;
21393
+ cookie?: never;
21394
+ };
21395
+ requestBody?: never;
21396
+ responses: {
21397
+ /** @description Successful response */
21398
+ 200: {
21399
+ headers: {
21400
+ [name: string]: unknown;
21401
+ };
21402
+ content: {
21403
+ "application/json": {
21404
+ data: {
21405
+ id: string;
21406
+ uniqueRef: string;
21407
+ comments?: string | null;
21408
+ privateFeedback?: string | null;
21409
+ totalRating: number;
21410
+ tags: {
21411
+ type: string;
21412
+ description: string;
21413
+ }[];
21414
+ ratings: {
21415
+ type: string;
21416
+ comments: string;
21417
+ rating?: number | null;
21418
+ }[];
21419
+ reservation: {
21420
+ currency: string | null;
21421
+ uniqueRef?: string | null;
21422
+ guestName?: string | null;
21423
+ bookerName?: string | null;
21424
+ checkIn?: string | null;
21425
+ checkOut?: string | null;
21426
+ generalLedgerPostingAt?: string | null;
21427
+ bookedAt?: string | null;
21428
+ cancelledAt?: string | null;
21429
+ bookingPlatform?: string | null;
21430
+ confirmationCode?: string | null;
21431
+ pmsReferenceCode?: string | null;
21432
+ guests?: number | null;
21433
+ userdata: {
21434
+ [key: string]: unknown;
21435
+ } | null;
21436
+ /** Format: uuid */
21437
+ id: string;
21438
+ issues: ({
21439
+ /** @enum {string} */
21440
+ code: "unassignedAccount";
21441
+ /** @enum {string} */
21442
+ severity: "error";
21443
+ context: {
21444
+ accountIds: string[];
21445
+ };
21446
+ } | {
21447
+ /** @enum {string} */
21448
+ code: "priorToStartDate";
21449
+ /** @enum {string} */
21450
+ severity: "warning";
21451
+ context: {
21452
+ startDate?: string | null;
21453
+ };
21454
+ } | {
21455
+ /** @enum {string} */
21456
+ code: "inactiveListing";
21457
+ /** @enum {string} */
21458
+ severity: "warning";
21459
+ context: {
21460
+ startDate?: string | null;
21461
+ };
21462
+ } | {
21463
+ /** @enum {string} */
21464
+ code: "inactiveConnection";
21465
+ /** @enum {string} */
21466
+ severity: "warning";
21467
+ context: Record<string, never>;
21468
+ })[];
21469
+ connection?: {
21470
+ /** Format: uuid */
21471
+ id: string;
21472
+ name: string;
21473
+ /** @enum {string} */
21474
+ status: "active" | "inactive";
21475
+ uniqueRef?: string | null;
21476
+ app: {
21477
+ id: string;
21478
+ name: string;
21479
+ icon?: string | null;
21480
+ importers?: string[] | null;
21481
+ extractors?: string[] | null;
21482
+ };
21483
+ } | null;
21484
+ nights?: number | null;
21485
+ /** @enum {string|null} */
21486
+ status?: "booked" | "canceled" | "inactive" | null;
21487
+ listing?: {
21488
+ /** Format: uuid */
21489
+ id: string;
21490
+ name: string;
21491
+ address?: {
21492
+ full?: string | null;
21493
+ line1?: string | null;
21494
+ line2?: string | null;
21495
+ city?: string | null;
21496
+ /** @deprecated */
21497
+ state?: string | null;
21498
+ postalCode?: string | null;
21499
+ stateCode?: string | null;
21500
+ countryCode?: string | null;
21501
+ } | null;
21502
+ uniqueRef?: string | null;
21503
+ } | null;
21504
+ listingConnection?: {
21505
+ /** Format: uuid */
21506
+ id: string;
21507
+ name: string;
21508
+ uniqueRef?: string | null;
21509
+ } | null;
21510
+ payment: {
21511
+ expected: number;
21512
+ received: number;
21513
+ status: ("unpaid" | "underpaid" | "overpaid" | "paid") | "coHost";
21514
+ };
21515
+ source?: {
21516
+ /** Format: uuid */
21517
+ id: string;
21518
+ type: string;
21519
+ /** @enum {string|null} */
21520
+ status?: "active" | "inactive" | null;
21521
+ } | null;
21522
+ lines: {
21523
+ /** Format: uuid */
21524
+ id: string;
21525
+ uniqueRef?: string | null;
21526
+ type: string;
21527
+ description?: string | null;
21528
+ /** @description Value in cents (100 = 1€) */
21529
+ amount: number;
21530
+ connectionId?: string | null;
21531
+ metadata?: {
21532
+ [key: string]: unknown;
21533
+ } | null;
21534
+ account?: {
21535
+ id: string;
21536
+ name: string;
21537
+ uniqueRef?: string | null;
21538
+ /** @enum {string} */
21539
+ status: "active" | "inactive";
21540
+ } | null;
21541
+ isExcluded?: boolean | null;
21542
+ }[];
21543
+ /** @description Adjustments are manually added financial lines that are not part of the booking platform */
21544
+ adjustments: {
21545
+ /** Format: uuid */
21546
+ id: string;
21547
+ type?: string;
21548
+ description?: string | null;
21549
+ /** @description Value in cents (100 = 1€) */
21550
+ amount: number;
21551
+ metadata?: {
21552
+ [key: string]: unknown;
21553
+ } | null;
21554
+ /** @enum {string|null} */
21555
+ party?: "owners" | "manager" | null;
21556
+ account?: {
21557
+ id: string;
21558
+ name: string;
21559
+ uniqueRef?: string | null;
21560
+ /** @enum {string} */
21561
+ status: "active" | "inactive";
21562
+ } | null;
21563
+ recurringFee?: {
21564
+ id: string;
21565
+ uniqueRef: string;
21566
+ name: string;
21567
+ /** @enum {string} */
21568
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
21569
+ } | null;
21570
+ }[];
21571
+ };
21572
+ }[];
21573
+ pagination: {
21574
+ /** @default 100 */
21575
+ limit: number;
21576
+ /** @default 1 */
21577
+ page: number;
21578
+ total: number;
21579
+ totalPage: number;
21580
+ nextPage?: number;
21581
+ };
21582
+ };
21583
+ };
21584
+ };
21585
+ /** @description Invalid input data */
21586
+ 400: {
21587
+ headers: {
21588
+ [name: string]: unknown;
21589
+ };
21590
+ content: {
21591
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
21592
+ };
21593
+ };
21594
+ /** @description Authorization not provided */
21595
+ 401: {
21596
+ headers: {
21597
+ [name: string]: unknown;
21598
+ };
21599
+ content: {
21600
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
21601
+ };
21602
+ };
21603
+ /** @description Insufficient access */
21604
+ 403: {
21605
+ headers: {
21606
+ [name: string]: unknown;
21607
+ };
21608
+ content: {
21609
+ "application/json": components["schemas"]["error.FORBIDDEN"];
21610
+ };
21611
+ };
21612
+ /** @description Not found */
21613
+ 404: {
21614
+ headers: {
21615
+ [name: string]: unknown;
21616
+ };
21617
+ content: {
21618
+ "application/json": components["schemas"]["error.NOT_FOUND"];
21619
+ };
21620
+ };
21621
+ /** @description Internal server error */
21622
+ 500: {
21623
+ headers: {
21624
+ [name: string]: unknown;
21625
+ };
21626
+ content: {
21627
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
21628
+ };
21629
+ };
21630
+ };
21631
+ };
21266
21632
  plaidConnectComplete: {
21267
21633
  parameters: {
21268
21634
  query?: never;
@@ -22336,31 +22702,22 @@ export interface operations {
22336
22702
  };
22337
22703
  getJournalEntriesReport: {
22338
22704
  parameters: {
22339
- query?: {
22340
- /** @description comma separated journal entry ids */
22341
- ids?: string;
22342
- txnCode?: string;
22343
- published?: boolean;
22344
- status?: "active" | "inactive";
22345
- startAt?: string;
22346
- endAt?: string;
22705
+ query: {
22706
+ startAt: string;
22707
+ endAt: string;
22347
22708
  search?: string;
22348
22709
  date?: string;
22349
22710
  amount?: string;
22350
22711
  isDateRangeEndInclusive?: boolean;
22351
- reservationIds?: string;
22352
- transactionIds?: string;
22353
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
22354
- currency?: string;
22355
- /** @description listing ids comma separated or "unmapped" */
22712
+ /** @description listing uuids comma separated or "unmapped" */
22356
22713
  listingIds?: string;
22357
- /** @description account ids comma separated accounts or "unmapped" */
22714
+ /** @description comma separated accounts */
22358
22715
  accountIds?: string;
22359
22716
  /** @description comma separated categories */
22360
22717
  categoryIds?: string;
22361
- classifications?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
22362
- 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")[];
22363
- entityTypes?: ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer") | ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer")[];
22718
+ classification?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
22719
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
22720
+ relation?: "reservation" | "deposit" | "expense" | "recurringFee" | "transfer";
22364
22721
  party?: "owners" | "manager";
22365
22722
  limit?: number;
22366
22723
  page?: number;
@@ -22382,9 +22739,6 @@ export interface operations {
22382
22739
  "application/json": {
22383
22740
  data: {
22384
22741
  id: string;
22385
- /** @enum {string} */
22386
- active: "active" | "inactive";
22387
- txnCode: string;
22388
22742
  txnAt: string;
22389
22743
  description: string;
22390
22744
  centTotal: number;
@@ -22676,31 +23030,21 @@ export interface operations {
22676
23030
  };
22677
23031
  getManagerStatementReportJournalEntries: {
22678
23032
  parameters: {
22679
- query?: {
22680
- /** @description comma separated journal entry ids */
22681
- ids?: string;
22682
- txnCode?: string;
22683
- published?: boolean;
22684
- status?: "active" | "inactive";
22685
- startAt?: string;
22686
- endAt?: string;
23033
+ query: {
23034
+ startAt: string;
23035
+ endAt: string;
22687
23036
  search?: string;
22688
23037
  date?: string;
22689
23038
  amount?: string;
22690
- isDateRangeEndInclusive?: boolean;
22691
- reservationIds?: string;
22692
- transactionIds?: string;
22693
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
22694
- currency?: string;
22695
- /** @description listing ids comma separated or "unmapped" */
23039
+ /** @description Use a listing uuid or "unmapped" */
22696
23040
  listingIds?: string;
22697
- /** @description account ids comma separated accounts or "unmapped" */
23041
+ /** @description comma separated accounts */
22698
23042
  accountIds?: string;
22699
23043
  /** @description comma separated categories */
22700
23044
  categoryIds?: string;
22701
- classifications?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
22702
- 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")[];
22703
- entityTypes?: ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer") | ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer")[];
23045
+ classification?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
23046
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
23047
+ relation?: "reservation" | "deposit" | "expense" | "recurringFee" | "transfer";
22704
23048
  limit?: number;
22705
23049
  page?: number;
22706
23050
  };
@@ -22721,9 +23065,6 @@ export interface operations {
22721
23065
  "application/json": {
22722
23066
  data: {
22723
23067
  id: string;
22724
- /** @enum {string} */
22725
- active: "active" | "inactive";
22726
- txnCode: string;
22727
23068
  txnAt: string;
22728
23069
  description: string;
22729
23070
  centTotal: number;
@@ -23030,10 +23371,8 @@ export interface operations {
23030
23371
  getOwnerStatementSummariesReport: {
23031
23372
  parameters: {
23032
23373
  query: {
23033
- startAt: string;
23034
- endAt: string;
23035
- /** @description comma separated listings */
23036
- listingIds?: string;
23374
+ /** @description Year in format YYYY */
23375
+ year: number;
23037
23376
  };
23038
23377
  header?: {
23039
23378
  "X-Team-Id"?: string;
@@ -23053,11 +23392,10 @@ export interface operations {
23053
23392
  data: {
23054
23393
  contact: {
23055
23394
  contactId: string;
23056
- name?: string;
23057
- firstName?: string;
23058
- /** Format: email */
23059
- email?: string;
23060
- phone?: string;
23395
+ name?: string | null;
23396
+ firstName?: string | null;
23397
+ email?: string | null;
23398
+ phone?: string | null;
23061
23399
  };
23062
23400
  currency: string;
23063
23401
  financials: {
@@ -23123,10 +23461,8 @@ export interface operations {
23123
23461
  getOwnerStatementSummariesReportCsv: {
23124
23462
  parameters: {
23125
23463
  query: {
23126
- startAt: string;
23127
- endAt: string;
23128
- /** @description comma separated listings */
23129
- listingIds?: string;
23464
+ /** @description Year in format YYYY */
23465
+ year: number;
23130
23466
  };
23131
23467
  header?: {
23132
23468
  "X-Team-Id"?: string;
@@ -23198,12 +23534,10 @@ export interface operations {
23198
23534
  parameters: {
23199
23535
  query: {
23200
23536
  view: "listing" | "month" | "reservation" | "bookingChannel";
23201
- startAt: string;
23202
- endAt: string;
23203
- /** @description comma separated listings */
23204
- listingIds?: string;
23537
+ /** @description Year in format YYYY */
23538
+ year: number;
23539
+ listingId?: string;
23205
23540
  currency?: string;
23206
- viewAs?: "owner" | "manager";
23207
23541
  };
23208
23542
  header?: {
23209
23543
  "X-Team-Id"?: string;
@@ -23222,84 +23556,30 @@ export interface operations {
23222
23556
  };
23223
23557
  content: {
23224
23558
  "application/json": {
23225
- currency: string;
23226
- contact: {
23227
- contactId: string;
23228
- name?: string;
23229
- firstName?: string;
23230
- /** Format: email */
23231
- email?: string;
23232
- phone?: string;
23233
- };
23234
- financials: {
23235
- balanceStart: number;
23236
- netRevenue: number;
23237
- expenses: number;
23238
- transfers: number;
23239
- netIncome: number;
23240
- currentBalance: number;
23241
- balanceEnd: number;
23242
- };
23243
23559
  netRevenueSection: {
23244
23560
  title: string;
23245
23561
  rows: {
23246
23562
  title: string;
23247
- statementIds?: string[];
23563
+ statementIds: string[];
23248
23564
  columns: {
23249
23565
  title: string;
23250
23566
  value: number | string;
23251
23567
  formatted: string;
23252
23568
  }[];
23253
23569
  }[];
23254
- subtotal?: {
23255
- title: string;
23256
- columns: {
23257
- title: string;
23258
- value: number | string;
23259
- formatted: string;
23260
- }[];
23261
- };
23262
23570
  };
23263
23571
  otherSections: {
23264
23572
  title: string;
23265
23573
  rows: {
23266
23574
  title: string;
23267
- statementIds?: string[];
23575
+ statementIds: string[];
23268
23576
  columns: {
23269
23577
  title: string;
23270
23578
  value: number | string;
23271
23579
  formatted: string;
23272
23580
  }[];
23273
23581
  }[];
23274
- subtotal?: {
23275
- title: string;
23276
- columns: {
23277
- title: string;
23278
- value: number | string;
23279
- formatted: string;
23280
- }[];
23281
- };
23282
23582
  }[];
23283
- transfersSection?: {
23284
- title: string;
23285
- rows: {
23286
- title: string;
23287
- statementIds?: string[];
23288
- columns: {
23289
- title: string;
23290
- value: number | string;
23291
- formatted: string;
23292
- }[];
23293
- }[];
23294
- subtotal?: {
23295
- title: string;
23296
- columns: {
23297
- title: string;
23298
- value: number | string;
23299
- formatted: string;
23300
- }[];
23301
- };
23302
- };
23303
23583
  };
23304
23584
  };
23305
23585
  };
@@ -23354,12 +23634,10 @@ export interface operations {
23354
23634
  parameters: {
23355
23635
  query: {
23356
23636
  view: "listing" | "month" | "reservation" | "bookingChannel";
23357
- startAt: string;
23358
- endAt: string;
23359
- /** @description comma separated listings */
23360
- listingIds?: string;
23637
+ /** @description Year in format YYYY */
23638
+ year: number;
23639
+ listingId?: string;
23361
23640
  currency?: string;
23362
- viewAs?: "owner" | "manager";
23363
23641
  };
23364
23642
  header?: {
23365
23643
  "X-Team-Id"?: string;
@@ -23432,9 +23710,9 @@ export interface operations {
23432
23710
  getCalendar: {
23433
23711
  parameters: {
23434
23712
  query: {
23435
- listingId: string;
23436
23713
  startDate: string;
23437
23714
  endDate: string;
23715
+ listingId: string;
23438
23716
  };
23439
23717
  header?: {
23440
23718
  "X-Team-Id"?: string;
@@ -23456,8 +23734,8 @@ export interface operations {
23456
23734
  /** @enum {string} */
23457
23735
  blockReason: "ownerBlock" | "maintenance";
23458
23736
  description?: string;
23737
+ id?: string;
23459
23738
  user?: {
23460
- /** Format: email */
23461
23739
  email: string;
23462
23740
  firstName: string;
23463
23741
  lastName: string;
@@ -23526,9 +23804,9 @@ export interface operations {
23526
23804
  requestBody: {
23527
23805
  content: {
23528
23806
  "application/json": {
23529
- listingId: string;
23530
23807
  startDate: string;
23531
23808
  endDate: string;
23809
+ listingId: string;
23532
23810
  description?: string;
23533
23811
  };
23534
23812
  };
@@ -23546,8 +23824,8 @@ export interface operations {
23546
23824
  /** @enum {string} */
23547
23825
  blockReason: "ownerBlock" | "maintenance";
23548
23826
  description?: string;
23827
+ id?: string;
23549
23828
  user?: {
23550
- /** Format: email */
23551
23829
  email: string;
23552
23830
  firstName: string;
23553
23831
  lastName: string;
@@ -23601,7 +23879,6 @@ export interface operations {
23601
23879
  listingId: string;
23602
23880
  startDate: string;
23603
23881
  endDate: string;
23604
- description?: string;
23605
23882
  };
23606
23883
  header?: {
23607
23884
  "X-Team-Id"?: string;
@@ -23623,8 +23900,8 @@ export interface operations {
23623
23900
  /** @enum {string} */
23624
23901
  blockReason: "ownerBlock" | "maintenance";
23625
23902
  description?: string;
23903
+ id?: string;
23626
23904
  user?: {
23627
- /** Format: email */
23628
23905
  email: string;
23629
23906
  firstName: string;
23630
23907
  lastName: string;
@@ -23726,7 +24003,7 @@ export interface operations {
23726
24003
  * @description Internal semantic type
23727
24004
  * @enum {string}
23728
24005
  */
23729
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24006
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23730
24007
  /** @description Optional JSONB filter for internal data */
23731
24008
  filter?: string;
23732
24009
  };
@@ -23750,7 +24027,7 @@ export interface operations {
23750
24027
  * @description Semantic type of the setting value
23751
24028
  * @enum {string}
23752
24029
  */
23753
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24030
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23754
24031
  /** @description Optional JSONB filter for available values */
23755
24032
  filter?: string;
23756
24033
  };
@@ -23847,7 +24124,7 @@ export interface operations {
23847
24124
  * @description Internal semantic type
23848
24125
  * @enum {string}
23849
24126
  */
23850
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24127
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23851
24128
  /** @description Optional JSONB filter for internal data */
23852
24129
  filter?: string;
23853
24130
  };
@@ -23871,7 +24148,7 @@ export interface operations {
23871
24148
  * @description Semantic type of the setting value
23872
24149
  * @enum {string}
23873
24150
  */
23874
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24151
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23875
24152
  /** @description Optional JSONB filter for available values */
23876
24153
  filter?: string;
23877
24154
  };
@@ -23971,7 +24248,7 @@ export interface operations {
23971
24248
  * @description Internal semantic type
23972
24249
  * @enum {string}
23973
24250
  */
23974
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24251
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23975
24252
  /** @description Optional JSONB filter for internal data */
23976
24253
  filter?: string;
23977
24254
  };
@@ -23995,7 +24272,7 @@ export interface operations {
23995
24272
  * @description Semantic type of the setting value
23996
24273
  * @enum {string}
23997
24274
  */
23998
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24275
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23999
24276
  /** @description Optional JSONB filter for available values */
24000
24277
  filter?: string;
24001
24278
  };
@@ -24082,7 +24359,7 @@ export interface operations {
24082
24359
  * @description Internal semantic type
24083
24360
  * @enum {string}
24084
24361
  */
24085
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24362
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24086
24363
  /** @description Optional JSONB filter for internal data */
24087
24364
  filter?: string;
24088
24365
  };
@@ -24106,7 +24383,7 @@ export interface operations {
24106
24383
  * @description Semantic type of the setting value
24107
24384
  * @enum {string}
24108
24385
  */
24109
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24386
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24110
24387
  /** @description Optional JSONB filter for available values */
24111
24388
  filter?: string;
24112
24389
  };
@@ -24146,7 +24423,7 @@ export interface operations {
24146
24423
  * @description Internal semantic type
24147
24424
  * @enum {string}
24148
24425
  */
24149
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24426
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24150
24427
  /** @description Optional JSONB filter for internal data */
24151
24428
  filter?: string;
24152
24429
  };
@@ -24170,7 +24447,7 @@ export interface operations {
24170
24447
  * @description Semantic type of the setting value
24171
24448
  * @enum {string}
24172
24449
  */
24173
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24450
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24174
24451
  /** @description Optional JSONB filter for available values */
24175
24452
  filter?: string;
24176
24453
  };