@vrplatform/api 1.2.40-1046 → 1.2.40-stage.1049

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