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