@vrplatform/api 1.3.1-stage.1957 → 1.3.1-stage.1960

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.
@@ -125,6 +125,108 @@ export interface paths {
125
125
  patch?: never;
126
126
  trace?: never;
127
127
  };
128
+ "/audit/actions": {
129
+ parameters: {
130
+ query?: never;
131
+ header?: never;
132
+ path?: never;
133
+ cookie?: never;
134
+ };
135
+ /** @description List audit actions with optional filters. Use entityId/entityType to find rows related to a specific entity. */
136
+ get: operations["getAuditActions"];
137
+ put?: never;
138
+ post?: never;
139
+ delete?: never;
140
+ options?: never;
141
+ head?: never;
142
+ patch?: never;
143
+ trace?: never;
144
+ };
145
+ "/audit/actions/{id}": {
146
+ parameters: {
147
+ query?: never;
148
+ header?: never;
149
+ path?: never;
150
+ cookie?: never;
151
+ };
152
+ /** @description Retrieve an audit action and aggregated effect counts. */
153
+ get: operations["getAuditActionsById"];
154
+ put?: never;
155
+ post?: never;
156
+ delete?: never;
157
+ options?: never;
158
+ head?: never;
159
+ patch?: never;
160
+ trace?: never;
161
+ };
162
+ "/audit/effects": {
163
+ parameters: {
164
+ query?: never;
165
+ header?: never;
166
+ path?: never;
167
+ cookie?: never;
168
+ };
169
+ /** @description List audit effects with optional filters by action/entity/status/type. */
170
+ get: operations["getAuditEffects"];
171
+ put?: never;
172
+ post?: never;
173
+ delete?: never;
174
+ options?: never;
175
+ head?: never;
176
+ patch?: never;
177
+ trace?: never;
178
+ };
179
+ "/audit/journal-deltas": {
180
+ parameters: {
181
+ query?: never;
182
+ header?: never;
183
+ path?: never;
184
+ cookie?: never;
185
+ };
186
+ /** @description List journal delta audit rows with optional filters for action/effect/mutation/journal entry. */
187
+ get: operations["getAuditJournalDeltas"];
188
+ put?: never;
189
+ post?: never;
190
+ delete?: never;
191
+ options?: never;
192
+ head?: never;
193
+ patch?: never;
194
+ trace?: never;
195
+ };
196
+ "/audit/mutations": {
197
+ parameters: {
198
+ query?: never;
199
+ header?: never;
200
+ path?: never;
201
+ cookie?: never;
202
+ };
203
+ /** @description List mutation audit rows with filters for action/effect/entity/op/outcome and date range. */
204
+ get: operations["getAuditMutations"];
205
+ put?: never;
206
+ post?: never;
207
+ delete?: never;
208
+ options?: never;
209
+ head?: never;
210
+ patch?: never;
211
+ trace?: never;
212
+ };
213
+ "/audit/timeline": {
214
+ parameters: {
215
+ query?: never;
216
+ header?: never;
217
+ path?: never;
218
+ cookie?: never;
219
+ };
220
+ /** @description List a unified audit timeline for a root entity across actions/effects/attempts/mutations/journal deltas. */
221
+ get: operations["getAuditTimeline"];
222
+ put?: never;
223
+ post?: never;
224
+ delete?: never;
225
+ options?: never;
226
+ head?: never;
227
+ patch?: never;
228
+ trace?: never;
229
+ };
128
230
  "/bank-accounts/batch": {
129
231
  parameters: {
130
232
  query?: never;
@@ -489,57 +591,6 @@ export interface paths {
489
591
  patch?: never;
490
592
  trace?: never;
491
593
  };
492
- "/dispatch": {
493
- parameters: {
494
- query?: never;
495
- header?: never;
496
- path?: never;
497
- cookie?: never;
498
- };
499
- /** @description List dispatched actions with optional filters. Use entityId to find dispatches related to a specific entity. */
500
- get: operations["getDispatch"];
501
- put?: never;
502
- post?: never;
503
- delete?: never;
504
- options?: never;
505
- head?: never;
506
- patch?: never;
507
- trace?: never;
508
- };
509
- "/dispatch/effects": {
510
- parameters: {
511
- query?: never;
512
- header?: never;
513
- path?: never;
514
- cookie?: never;
515
- };
516
- /** @description List effects with optional filters by dispatch ID, entity ID, entity type, or status. */
517
- get: operations["getDispatchEffects"];
518
- put?: never;
519
- post?: never;
520
- delete?: never;
521
- options?: never;
522
- head?: never;
523
- patch?: never;
524
- trace?: never;
525
- };
526
- "/dispatch/{id}": {
527
- parameters: {
528
- query?: never;
529
- header?: never;
530
- path?: never;
531
- cookie?: never;
532
- };
533
- /** @description Retrieve a dispatched action and queued effects for progress tracking */
534
- get: operations["getDispatchById"];
535
- put?: never;
536
- post?: never;
537
- delete?: never;
538
- options?: never;
539
- head?: never;
540
- patch?: never;
541
- trace?: never;
542
- };
543
594
  "/flows": {
544
595
  parameters: {
545
596
  query?: never;
@@ -2053,7 +2104,7 @@ export interface paths {
2053
2104
  path?: never;
2054
2105
  cookie?: never;
2055
2106
  };
2056
- /** @description Get Owner Statements ZIP for a month */
2107
+ /** @description Get Owner Statements ZIP by month or listing month range */
2057
2108
  get: operations["getStatementsPdfBatch"];
2058
2109
  put?: never;
2059
2110
  post?: never;
@@ -4506,35 +4557,24 @@ export interface operations {
4506
4557
  };
4507
4558
  };
4508
4559
  };
4509
- batchBankAccounts: {
4560
+ getAuditActions: {
4510
4561
  parameters: {
4511
- query?: never;
4562
+ query?: {
4563
+ limit?: number;
4564
+ offset?: number;
4565
+ startDate?: string;
4566
+ endDate?: string;
4567
+ actionType?: string;
4568
+ entityId?: string;
4569
+ entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
4570
+ includeIfNoEffects?: boolean;
4571
+ page?: number;
4572
+ };
4512
4573
  header?: never;
4513
4574
  path?: never;
4514
4575
  cookie?: never;
4515
4576
  };
4516
- requestBody?: {
4517
- content: {
4518
- "application/json": {
4519
- /** Format: uuid */
4520
- connectionId: string;
4521
- data: {
4522
- id?: string | null;
4523
- /** @enum {string} */
4524
- type: "deposit" | "creditCard";
4525
- /** @enum {string} */
4526
- category: "trust" | "operating" | "external";
4527
- name: string;
4528
- uniqueRef?: string | null;
4529
- sourceId?: string | null;
4530
- currency?: string | null;
4531
- lastDigits?: string | null;
4532
- status?: ("active" | "inactive") | null;
4533
- accountId?: string | null;
4534
- }[];
4535
- };
4536
- };
4537
- };
4577
+ requestBody?: never;
4538
4578
  responses: {
4539
4579
  /** @description Successful response */
4540
4580
  200: {
@@ -4546,17 +4586,45 @@ export interface operations {
4546
4586
  data: {
4547
4587
  /** Format: uuid */
4548
4588
  id: string;
4549
- uniqueRef?: string | null;
4550
- sourceId?: string | null;
4551
- }[];
4552
- issues: {
4553
- ref: string;
4554
- sourceId?: string | null;
4555
- message: string;
4556
- /** @enum {string} */
4557
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
4558
- context?: unknown;
4589
+ /** Format: uuid */
4590
+ tenantId: string;
4591
+ actionType: string;
4592
+ rootEntityType: string | null;
4593
+ rootEntityId: string | null;
4594
+ message: string | null;
4595
+ payload: unknown;
4596
+ userId: string | null;
4597
+ actor: {
4598
+ id: string | null;
4599
+ type: string;
4600
+ name: string | null;
4601
+ email: string | null;
4602
+ };
4603
+ createdAt: string;
4604
+ source: string | null;
4605
+ apiVersion: string;
4606
+ requestId: string | null;
4607
+ traceId: string | null;
4608
+ parentActionId: string | null;
4609
+ effectCounts: {
4610
+ total: number;
4611
+ pending: number;
4612
+ claimed: number;
4613
+ running: number;
4614
+ completed: number;
4615
+ failed: number;
4616
+ deadLetter: number;
4617
+ };
4559
4618
  }[];
4619
+ pagination: {
4620
+ /** @default 100 */
4621
+ limit: number;
4622
+ /** @default 1 */
4623
+ page: number;
4624
+ total: number;
4625
+ totalPage: number;
4626
+ nextPage?: number;
4627
+ };
4560
4628
  };
4561
4629
  };
4562
4630
  };
@@ -4642,7 +4710,7 @@ export interface operations {
4642
4710
  };
4643
4711
  };
4644
4712
  };
4645
- updateBankAccount: {
4713
+ getAuditActionsById: {
4646
4714
  parameters: {
4647
4715
  query?: never;
4648
4716
  header?: never;
@@ -4651,23 +4719,7 @@ export interface operations {
4651
4719
  };
4652
4720
  cookie?: never;
4653
4721
  };
4654
- requestBody?: {
4655
- content: {
4656
- "application/json": {
4657
- /** @enum {string} */
4658
- type?: "deposit" | "creditCard";
4659
- /** @enum {string} */
4660
- category?: "trust" | "operating" | "external";
4661
- name?: string;
4662
- uniqueRef?: string | null;
4663
- sourceId?: string | null;
4664
- currency?: string | null;
4665
- lastDigits?: string | null;
4666
- status?: ("active" | "inactive") | null;
4667
- accountId?: string | null;
4668
- };
4669
- };
4670
- };
4722
+ requestBody?: never;
4671
4723
  responses: {
4672
4724
  /** @description Successful response */
4673
4725
  200: {
@@ -4678,37 +4730,44 @@ export interface operations {
4678
4730
  "application/json": {
4679
4731
  /** Format: uuid */
4680
4732
  id: string;
4681
- /** @enum {string} */
4682
- type: "deposit" | "creditCard";
4683
- /** @enum {string} */
4684
- category: "trust" | "operating" | "external";
4685
- name: string;
4686
- uniqueRef?: string | null;
4687
- currency?: string | null;
4688
- lastDigits?: string | null;
4689
- status: ("active" | "inactive") | null;
4690
- account?: {
4691
- id: string;
4692
- name: string;
4693
- uniqueRef?: string | null;
4694
- /** @enum {string} */
4695
- status: "active" | "inactive";
4696
- } | null;
4697
- source?: {
4698
- /** Format: uuid */
4699
- id: string;
4733
+ /** Format: uuid */
4734
+ tenantId: string;
4735
+ actionType: string;
4736
+ rootEntityType: string | null;
4737
+ rootEntityId: string | null;
4738
+ message: string | null;
4739
+ payload: unknown;
4740
+ userId: string | null;
4741
+ actor: {
4742
+ id: string | null;
4700
4743
  type: string;
4701
- status?: ("active" | "inactive") | null;
4702
- } | null;
4703
- };
4704
- };
4705
- };
4706
- /** @description Bad request */
4707
- 400: {
4708
- headers: {
4709
- [name: string]: unknown;
4710
- };
4711
- content: {
4744
+ name: string | null;
4745
+ email: string | null;
4746
+ };
4747
+ createdAt: string;
4748
+ source: string | null;
4749
+ apiVersion: string;
4750
+ requestId: string | null;
4751
+ traceId: string | null;
4752
+ parentActionId: string | null;
4753
+ effectCounts: {
4754
+ total: number;
4755
+ pending: number;
4756
+ claimed: number;
4757
+ running: number;
4758
+ completed: number;
4759
+ failed: number;
4760
+ deadLetter: number;
4761
+ };
4762
+ };
4763
+ };
4764
+ };
4765
+ /** @description Bad request */
4766
+ 400: {
4767
+ headers: {
4768
+ [name: string]: unknown;
4769
+ };
4770
+ content: {
4712
4771
  "application/json": {
4713
4772
  code: string;
4714
4773
  message: string;
@@ -4785,28 +4844,16 @@ export interface operations {
4785
4844
  };
4786
4845
  };
4787
4846
  };
4788
- getBankRecords: {
4847
+ getAuditEffects: {
4789
4848
  parameters: {
4790
4849
  query?: {
4791
- status?: "active" | "inactive";
4792
- search?: string;
4793
- /** @description Amount in cents, also accepts ranges like 100...200 */
4794
- amount?: string;
4795
- /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
4796
- dateRange?: string;
4797
- /** @description Whether the end date is inclusive or exclusive */
4798
- isDateRangeEndInclusive?: boolean;
4799
- bankAccountId?: string;
4800
- accountId?: string;
4801
- uniqueRefs?: string;
4802
- reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
4803
- includeBalanceRecords?: boolean;
4804
- /** @description Include matching transactions, optionally with max days offset */
4805
- includeMatchingTransactions?: string;
4806
- hasMatchingTransactions?: boolean;
4807
- reservationLineFilter?: "all" | "reservationOnly" | "nonReservationOnly";
4808
- sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
4809
4850
  limit?: number;
4851
+ offset?: number;
4852
+ actionId?: string;
4853
+ entityId?: string;
4854
+ entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
4855
+ status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
4856
+ effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
4810
4857
  page?: number;
4811
4858
  };
4812
4859
  header?: never;
@@ -4825,91 +4872,754 @@ export interface operations {
4825
4872
  data: {
4826
4873
  /** Format: uuid */
4827
4874
  id: string;
4828
- uniqueRef?: string | null;
4829
- date: string;
4830
- /** @enum {string} */
4831
- status: "active" | "inactive";
4832
- description?: string | null;
4833
- bankAccountId?: string | null;
4834
- accountId?: string | null;
4835
- connectionId?: string | null;
4836
- source?: {
4875
+ action: {
4837
4876
  /** Format: uuid */
4838
4877
  id: string;
4839
- type: string;
4840
- status?: ("active" | "inactive") | null;
4841
- } | null;
4842
- /** @enum {string} */
4843
- type: "transaction" | "balance";
4844
- amount: number;
4845
- balance: {
4846
- current: number;
4847
- correction: number;
4878
+ actionType: string;
4879
+ source: string | null;
4880
+ apiVersion: string;
4881
+ requestId: string | null;
4882
+ traceId: string | null;
4883
+ parentActionId: string | null;
4884
+ actor: {
4885
+ id: string | null;
4886
+ type: string;
4887
+ name: string | null;
4888
+ email: string | null;
4889
+ };
4848
4890
  };
4849
- reconciliation: {
4850
- status?: ("unpaid" | "underpaid" | "overpaid" | "paid") | null;
4851
- transactions?: {
4891
+ rootEntityType: string | null;
4892
+ rootEntityId: string | null;
4893
+ /** @enum {string} */
4894
+ effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
4895
+ payload: unknown;
4896
+ entity: ({
4897
+ /** @constant */
4898
+ type: "reservation";
4899
+ data: {
4900
+ id: string;
4901
+ confirmationCode?: string | null;
4902
+ uniqueRef: string;
4903
+ /** @enum {string} */
4904
+ status: "booked" | "canceled" | "inactive";
4905
+ checkIn?: string | null;
4906
+ checkOut?: string | null;
4907
+ };
4908
+ } | {
4909
+ /** @constant */
4910
+ type: "transaction";
4911
+ data: {
4852
4912
  id: string;
4913
+ /** @enum {string} */
4914
+ status: "active" | "inactive";
4915
+ /** @description Value in cents (100 = 1€) */
4916
+ amount: number;
4917
+ account?: {
4918
+ id: string;
4919
+ name: string;
4920
+ uniqueRef?: string | null;
4921
+ /** @enum {string} */
4922
+ status: "active" | "inactive";
4923
+ } | null;
4853
4924
  date: string;
4854
- description?: string | null;
4855
- type: string;
4925
+ description: string;
4926
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
4927
+ currency: string;
4928
+ /** @enum {string} */
4929
+ type: "deposit" | "expense" | "transfer";
4930
+ isOpeningBalance: boolean;
4931
+ contact?: {
4932
+ /** Format: uuid */
4933
+ id: string;
4934
+ name?: string | null;
4935
+ firstName?: string | null;
4936
+ uniqueRef?: string | null;
4937
+ shortRef?: string | null;
4938
+ } | null;
4939
+ connection?: {
4940
+ /** Format: uuid */
4941
+ id: string;
4942
+ name: string;
4943
+ /** @enum {string} */
4944
+ status: "active" | "inactive";
4945
+ uniqueRef?: string | null;
4946
+ appId: string;
4947
+ } | null;
4948
+ uniqueRef?: string | null;
4949
+ shortRef?: string | null;
4950
+ recurringTemplate?: {
4951
+ id: string;
4952
+ } | null;
4953
+ };
4954
+ } | {
4955
+ /** @constant */
4956
+ type: "recurringTransactionTemplate";
4957
+ data: {
4958
+ id: string;
4959
+ /** @enum {string} */
4960
+ status: "active" | "inactive";
4961
+ /** @description Value in cents (100 = 1€) */
4856
4962
  amount: number;
4857
- }[] | null;
4963
+ account?: {
4964
+ id: string;
4965
+ name: string;
4966
+ uniqueRef?: string | null;
4967
+ /** @enum {string} */
4968
+ status: "active" | "inactive";
4969
+ } | null;
4970
+ date: string;
4971
+ description: string;
4972
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
4973
+ currency: string;
4974
+ /** @enum {string} */
4975
+ type: "deposit" | "expense" | "transfer";
4976
+ isOpeningBalance: boolean;
4977
+ contact?: {
4978
+ /** Format: uuid */
4979
+ id: string;
4980
+ name?: string | null;
4981
+ firstName?: string | null;
4982
+ uniqueRef?: string | null;
4983
+ shortRef?: string | null;
4984
+ } | null;
4985
+ connection?: {
4986
+ /** Format: uuid */
4987
+ id: string;
4988
+ name: string;
4989
+ /** @enum {string} */
4990
+ status: "active" | "inactive";
4991
+ uniqueRef?: string | null;
4992
+ appId: string;
4993
+ } | null;
4994
+ uniqueRef?: string | null;
4995
+ shortRef?: string | null;
4996
+ recurringTemplate?: {
4997
+ id: string;
4998
+ } | null;
4999
+ };
5000
+ } | {
5001
+ /** @constant */
5002
+ type: "other";
5003
+ data: {
5004
+ /** Format: uuid */
5005
+ id: string;
5006
+ type: string;
5007
+ name: string | null;
5008
+ };
5009
+ }) | null;
5010
+ /** @enum {string} */
5011
+ status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
5012
+ priority: number;
5013
+ retryCount: number;
5014
+ maxRetries: number;
5015
+ sequence: number;
5016
+ claimedAt: string | null;
5017
+ claimedBy: string | null;
5018
+ completedAt: string | null;
5019
+ lastAttemptAt: string | null;
5020
+ lastError: string | null;
5021
+ latestAttempt: {
5022
+ /** Format: uuid */
5023
+ id: string;
5024
+ /** @enum {string} */
5025
+ status: "running" | "completed" | "failed" | "skipped_locked";
5026
+ attemptNum: number;
5027
+ startedAt: string;
5028
+ finishedAt: string | null;
5029
+ workerId: string | null;
5030
+ resultCode: string | null;
5031
+ resultCategory: string | null;
5032
+ retryable: boolean | null;
5033
+ errorMessage: string | null;
5034
+ } | null;
5035
+ createdAt: string;
5036
+ }[];
5037
+ pagination: {
5038
+ /** @default 100 */
5039
+ limit: number;
5040
+ /** @default 1 */
5041
+ page: number;
5042
+ total: number;
5043
+ totalPage: number;
5044
+ nextPage?: number;
5045
+ };
5046
+ };
5047
+ };
5048
+ };
5049
+ /** @description Bad request */
5050
+ 400: {
5051
+ headers: {
5052
+ [name: string]: unknown;
5053
+ };
5054
+ content: {
5055
+ "application/json": {
5056
+ code: string;
5057
+ message: string;
5058
+ issues?: {
5059
+ message: string;
5060
+ }[];
5061
+ context?: unknown;
5062
+ };
5063
+ };
5064
+ };
5065
+ /** @description Unauthorized */
5066
+ 401: {
5067
+ headers: {
5068
+ [name: string]: unknown;
5069
+ };
5070
+ content: {
5071
+ "application/json": {
5072
+ code: string;
5073
+ message: string;
5074
+ issues?: {
5075
+ message: string;
5076
+ }[];
5077
+ context?: unknown;
5078
+ };
5079
+ };
5080
+ };
5081
+ /** @description Forbidden */
5082
+ 403: {
5083
+ headers: {
5084
+ [name: string]: unknown;
5085
+ };
5086
+ content: {
5087
+ "application/json": {
5088
+ code: string;
5089
+ message: string;
5090
+ issues?: {
5091
+ message: string;
5092
+ }[];
5093
+ context?: unknown;
5094
+ };
5095
+ };
5096
+ };
5097
+ /** @description Not found */
5098
+ 404: {
5099
+ headers: {
5100
+ [name: string]: unknown;
5101
+ };
5102
+ content: {
5103
+ "application/json": {
5104
+ code: string;
5105
+ message: string;
5106
+ issues?: {
5107
+ message: string;
5108
+ }[];
5109
+ context?: unknown;
5110
+ };
5111
+ };
5112
+ };
5113
+ /** @description Internal server error */
5114
+ 500: {
5115
+ headers: {
5116
+ [name: string]: unknown;
5117
+ };
5118
+ content: {
5119
+ "application/json": {
5120
+ code: string;
5121
+ message: string;
5122
+ issues?: {
5123
+ message: string;
5124
+ }[];
5125
+ context?: unknown;
5126
+ };
5127
+ };
5128
+ };
5129
+ };
5130
+ };
5131
+ getAuditJournalDeltas: {
5132
+ parameters: {
5133
+ query?: {
5134
+ limit?: number;
5135
+ offset?: number;
5136
+ actionId?: string;
5137
+ effectId?: string;
5138
+ mutationId?: string;
5139
+ journalEntryId?: string;
5140
+ operation?: "insert" | "update" | "delete";
5141
+ rootEntityType?: string;
5142
+ rootEntityId?: string;
5143
+ startAt?: string;
5144
+ endAt?: string;
5145
+ page?: number;
5146
+ };
5147
+ header?: never;
5148
+ path?: never;
5149
+ cookie?: never;
5150
+ };
5151
+ requestBody?: never;
5152
+ responses: {
5153
+ /** @description Successful response */
5154
+ 200: {
5155
+ headers: {
5156
+ [name: string]: unknown;
5157
+ };
5158
+ content: {
5159
+ "application/json": {
5160
+ data: {
5161
+ /** Format: uuid */
5162
+ id: string;
5163
+ /** Format: uuid */
5164
+ tenantId: string;
5165
+ /** Format: uuid */
5166
+ journalEntryId: string;
5167
+ /** Format: uuid */
5168
+ actionId: string;
5169
+ effectId: string | null;
5170
+ mutationId: string | null;
5171
+ rootEntityType: string | null;
5172
+ rootEntityId: string | null;
5173
+ /** @enum {string} */
5174
+ operation: "insert" | "update" | "delete";
5175
+ changedAt: string;
5176
+ apiVersion: string;
5177
+ changedFields: string[];
5178
+ diffJson: unknown | null;
5179
+ accountIdBefore: string | null;
5180
+ accountIdAfter: string | null;
5181
+ centTotalBefore: number | null;
5182
+ centTotalAfter: number | null;
5183
+ txnAtBefore: string | null;
5184
+ txnAtAfter: string | null;
5185
+ statusBefore: string | null;
5186
+ statusAfter: string | null;
5187
+ partyBefore: string | null;
5188
+ partyAfter: string | null;
5189
+ listingOwnershipPeriodIdBefore: string | null;
5190
+ listingOwnershipPeriodIdAfter: string | null;
5191
+ attachedToOwnerStatementIdBefore: string | null;
5192
+ attachedToOwnerStatementIdAfter: string | null;
5193
+ }[];
5194
+ pagination: {
5195
+ /** @default 100 */
5196
+ limit: number;
5197
+ /** @default 1 */
5198
+ page: number;
5199
+ total: number;
5200
+ totalPage: number;
5201
+ nextPage?: number;
5202
+ };
5203
+ };
5204
+ };
5205
+ };
5206
+ /** @description Bad request */
5207
+ 400: {
5208
+ headers: {
5209
+ [name: string]: unknown;
5210
+ };
5211
+ content: {
5212
+ "application/json": {
5213
+ code: string;
5214
+ message: string;
5215
+ issues?: {
5216
+ message: string;
5217
+ }[];
5218
+ context?: unknown;
5219
+ };
5220
+ };
5221
+ };
5222
+ /** @description Unauthorized */
5223
+ 401: {
5224
+ headers: {
5225
+ [name: string]: unknown;
5226
+ };
5227
+ content: {
5228
+ "application/json": {
5229
+ code: string;
5230
+ message: string;
5231
+ issues?: {
5232
+ message: string;
5233
+ }[];
5234
+ context?: unknown;
5235
+ };
5236
+ };
5237
+ };
5238
+ /** @description Forbidden */
5239
+ 403: {
5240
+ headers: {
5241
+ [name: string]: unknown;
5242
+ };
5243
+ content: {
5244
+ "application/json": {
5245
+ code: string;
5246
+ message: string;
5247
+ issues?: {
5248
+ message: string;
5249
+ }[];
5250
+ context?: unknown;
5251
+ };
5252
+ };
5253
+ };
5254
+ /** @description Not found */
5255
+ 404: {
5256
+ headers: {
5257
+ [name: string]: unknown;
5258
+ };
5259
+ content: {
5260
+ "application/json": {
5261
+ code: string;
5262
+ message: string;
5263
+ issues?: {
5264
+ message: string;
5265
+ }[];
5266
+ context?: unknown;
5267
+ };
5268
+ };
5269
+ };
5270
+ /** @description Internal server error */
5271
+ 500: {
5272
+ headers: {
5273
+ [name: string]: unknown;
5274
+ };
5275
+ content: {
5276
+ "application/json": {
5277
+ code: string;
5278
+ message: string;
5279
+ issues?: {
5280
+ message: string;
5281
+ }[];
5282
+ context?: unknown;
5283
+ };
5284
+ };
5285
+ };
5286
+ };
5287
+ };
5288
+ getAuditMutations: {
5289
+ parameters: {
5290
+ query?: {
5291
+ limit?: number;
5292
+ offset?: number;
5293
+ actionId?: string;
5294
+ effectId?: string;
5295
+ entityType?: string;
5296
+ entityId?: string;
5297
+ op?: string;
5298
+ outcome?: string;
5299
+ startAt?: string;
5300
+ endAt?: string;
5301
+ page?: number;
5302
+ };
5303
+ header?: never;
5304
+ path?: never;
5305
+ cookie?: never;
5306
+ };
5307
+ requestBody?: never;
5308
+ responses: {
5309
+ /** @description Successful response */
5310
+ 200: {
5311
+ headers: {
5312
+ [name: string]: unknown;
5313
+ };
5314
+ content: {
5315
+ "application/json": {
5316
+ data: {
5317
+ /** Format: uuid */
5318
+ id: string;
5319
+ /** Format: uuid */
5320
+ tenantId: string;
5321
+ /** Format: uuid */
5322
+ actionId: string;
5323
+ effectId: string | null;
5324
+ op: string;
5325
+ rootEntityType: string | null;
5326
+ rootEntityId: string | null;
5327
+ subjectType: string;
5328
+ /** Format: uuid */
5329
+ subjectId: string;
5330
+ outcome: string | null;
5331
+ changeRecord: {
5332
+ summary: string;
5333
+ changedKeys: string[];
5334
+ reasonCode: string;
5335
+ outcome: string;
5336
+ context: {
5337
+ [key: string]: unknown;
5338
+ } | null;
5339
+ } & {
5340
+ [key: string]: unknown;
5341
+ };
5342
+ createdAt: string;
5343
+ action: {
5344
+ /** Format: uuid */
5345
+ id: string;
5346
+ actionType: string;
5347
+ source: string | null;
5348
+ apiVersion: string;
5349
+ requestId: string | null;
5350
+ traceId: string | null;
5351
+ parentActionId: string | null;
5352
+ actor: {
5353
+ id: string | null;
5354
+ type: string;
5355
+ name: string | null;
5356
+ email: string | null;
5357
+ };
5358
+ };
5359
+ }[];
5360
+ pagination: {
5361
+ /** @default 100 */
5362
+ limit: number;
5363
+ /** @default 1 */
5364
+ page: number;
5365
+ total: number;
5366
+ totalPage: number;
5367
+ nextPage?: number;
5368
+ };
5369
+ };
5370
+ };
5371
+ };
5372
+ /** @description Bad request */
5373
+ 400: {
5374
+ headers: {
5375
+ [name: string]: unknown;
5376
+ };
5377
+ content: {
5378
+ "application/json": {
5379
+ code: string;
5380
+ message: string;
5381
+ issues?: {
5382
+ message: string;
5383
+ }[];
5384
+ context?: unknown;
5385
+ };
5386
+ };
5387
+ };
5388
+ /** @description Unauthorized */
5389
+ 401: {
5390
+ headers: {
5391
+ [name: string]: unknown;
5392
+ };
5393
+ content: {
5394
+ "application/json": {
5395
+ code: string;
5396
+ message: string;
5397
+ issues?: {
5398
+ message: string;
5399
+ }[];
5400
+ context?: unknown;
5401
+ };
5402
+ };
5403
+ };
5404
+ /** @description Forbidden */
5405
+ 403: {
5406
+ headers: {
5407
+ [name: string]: unknown;
5408
+ };
5409
+ content: {
5410
+ "application/json": {
5411
+ code: string;
5412
+ message: string;
5413
+ issues?: {
5414
+ message: string;
5415
+ }[];
5416
+ context?: unknown;
5417
+ };
5418
+ };
5419
+ };
5420
+ /** @description Not found */
5421
+ 404: {
5422
+ headers: {
5423
+ [name: string]: unknown;
5424
+ };
5425
+ content: {
5426
+ "application/json": {
5427
+ code: string;
5428
+ message: string;
5429
+ issues?: {
5430
+ message: string;
5431
+ }[];
5432
+ context?: unknown;
5433
+ };
5434
+ };
5435
+ };
5436
+ /** @description Internal server error */
5437
+ 500: {
5438
+ headers: {
5439
+ [name: string]: unknown;
5440
+ };
5441
+ content: {
5442
+ "application/json": {
5443
+ code: string;
5444
+ message: string;
5445
+ issues?: {
5446
+ message: string;
5447
+ }[];
5448
+ context?: unknown;
5449
+ };
5450
+ };
5451
+ };
5452
+ };
5453
+ };
5454
+ getAuditTimeline: {
5455
+ parameters: {
5456
+ query: {
5457
+ rootEntityType: string;
5458
+ rootEntityId: string;
5459
+ types?: ("action" | "effect" | "effect_attempt" | "mutation" | "journal_delta")[];
5460
+ from?: string;
5461
+ to?: string;
5462
+ includeDiff?: boolean;
5463
+ limit?: number;
5464
+ cursor?: string;
5465
+ };
5466
+ header?: never;
5467
+ path?: never;
5468
+ cookie?: never;
5469
+ };
5470
+ requestBody?: never;
5471
+ responses: {
5472
+ /** @description Successful response */
5473
+ 200: {
5474
+ headers: {
5475
+ [name: string]: unknown;
5476
+ };
5477
+ content: {
5478
+ "application/json": {
5479
+ data: ({
5480
+ /** @constant */
5481
+ type: "action";
5482
+ /** Format: uuid */
5483
+ id: string;
5484
+ timestamp: string;
5485
+ actionId: string | null;
5486
+ effectId: string | null;
5487
+ mutationId: string | null;
5488
+ rootEntityType: string | null;
5489
+ rootEntityId: string | null;
5490
+ data: {
5491
+ actionType: string;
5492
+ message: string | null;
5493
+ payload: unknown | null;
5494
+ source: string | null;
5495
+ apiVersion: string;
5496
+ requestId: string | null;
5497
+ traceId: string | null;
5498
+ parentActionId: string | null;
5499
+ actor: {
5500
+ id: string | null;
5501
+ type: string;
5502
+ name: string | null;
5503
+ email: string | null;
5504
+ };
5505
+ };
5506
+ } | {
5507
+ /** @constant */
5508
+ type: "effect";
5509
+ /** Format: uuid */
5510
+ id: string;
5511
+ timestamp: string;
5512
+ actionId: string | null;
5513
+ effectId: string | null;
5514
+ mutationId: string | null;
5515
+ rootEntityType: string | null;
5516
+ rootEntityId: string | null;
5517
+ data: {
5518
+ effectType: string;
5519
+ status: string;
5520
+ payload: unknown;
5521
+ entityType: string | null;
5522
+ entityId: string | null;
5523
+ priority: number;
5524
+ retryCount: number;
5525
+ maxRetries: number;
5526
+ claimedAt: string | null;
5527
+ claimedBy: string | null;
5528
+ completedAt: string | null;
5529
+ lastAttemptAt: string | null;
5530
+ lastError: string | null;
5531
+ };
5532
+ } | {
5533
+ /** @constant */
5534
+ type: "effect_attempt";
5535
+ /** Format: uuid */
5536
+ id: string;
5537
+ timestamp: string;
5538
+ actionId: string | null;
5539
+ effectId: string | null;
5540
+ mutationId: string | null;
5541
+ rootEntityType: string | null;
5542
+ rootEntityId: string | null;
5543
+ data: {
5544
+ /** @enum {string} */
5545
+ status: "running" | "completed" | "failed" | "skipped_locked";
5546
+ attemptNum: number;
5547
+ startedAt: string;
5548
+ finishedAt: string | null;
5549
+ workerId: string | null;
5550
+ resultCode: string | null;
5551
+ resultCategory: string | null;
5552
+ retryable: boolean | null;
5553
+ errorMessage: string | null;
5554
+ };
5555
+ } | {
5556
+ /** @constant */
5557
+ type: "mutation";
5558
+ /** Format: uuid */
5559
+ id: string;
5560
+ timestamp: string;
5561
+ actionId: string | null;
5562
+ effectId: string | null;
5563
+ mutationId: string | null;
5564
+ rootEntityType: string | null;
5565
+ rootEntityId: string | null;
5566
+ data: {
5567
+ op: string;
5568
+ subjectType: string;
5569
+ /** Format: uuid */
5570
+ subjectId: string;
5571
+ outcome: string | null;
5572
+ changeRecord: {
5573
+ summary: string;
5574
+ changedKeys: string[];
5575
+ reasonCode: string;
5576
+ outcome: string;
5577
+ context: {
5578
+ [key: string]: unknown;
5579
+ } | null;
5580
+ } & {
5581
+ [key: string]: unknown;
5582
+ };
4858
5583
  };
4859
- matchingTransactions?: {
4860
- id: string;
4861
- /** @enum {string} */
4862
- status: "active" | "inactive";
4863
- /** @description Value in cents (100 = 1€) */
4864
- amount: number;
4865
- account?: {
4866
- id: string;
4867
- name: string;
4868
- uniqueRef?: string | null;
4869
- /** @enum {string} */
4870
- status: "active" | "inactive";
4871
- } | null;
4872
- date: string;
4873
- description: string;
4874
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
4875
- currency: string;
5584
+ } | {
5585
+ /** @constant */
5586
+ type: "journal_delta";
5587
+ /** Format: uuid */
5588
+ id: string;
5589
+ timestamp: string;
5590
+ actionId: string | null;
5591
+ effectId: string | null;
5592
+ mutationId: string | null;
5593
+ rootEntityType: string | null;
5594
+ rootEntityId: string | null;
5595
+ data: {
5596
+ /** Format: uuid */
5597
+ journalEntryId: string;
4876
5598
  /** @enum {string} */
4877
- type: "deposit" | "expense" | "transfer";
4878
- isOpeningBalance: boolean;
4879
- contact?: {
4880
- /** Format: uuid */
4881
- id: string;
4882
- name?: string | null;
4883
- firstName?: string | null;
4884
- uniqueRef?: string | null;
4885
- shortRef?: string | null;
4886
- } | null;
4887
- connection?: {
4888
- /** Format: uuid */
4889
- id: string;
4890
- name: string;
4891
- /** @enum {string} */
4892
- status: "active" | "inactive";
4893
- uniqueRef?: string | null;
4894
- appId: string;
4895
- } | null;
4896
- uniqueRef?: string | null;
4897
- shortRef?: string | null;
4898
- recurringTemplate?: {
4899
- id: string;
4900
- } | null;
4901
- dateOffset: number;
4902
- }[] | null;
4903
- currency?: string | null;
4904
- }[];
4905
- pagination: {
4906
- /** @default 100 */
5599
+ operation: "insert" | "update" | "delete";
5600
+ changedFields: string[];
5601
+ diffJson: unknown | null;
5602
+ apiVersion: string;
5603
+ accountIdBefore: string | null;
5604
+ accountIdAfter: string | null;
5605
+ centTotalBefore: number | null;
5606
+ centTotalAfter: number | null;
5607
+ txnAtBefore: string | null;
5608
+ txnAtAfter: string | null;
5609
+ statusBefore: string | null;
5610
+ statusAfter: string | null;
5611
+ partyBefore: string | null;
5612
+ partyAfter: string | null;
5613
+ listingOwnershipPeriodIdBefore: string | null;
5614
+ listingOwnershipPeriodIdAfter: string | null;
5615
+ attachedToOwnerStatementIdBefore: string | null;
5616
+ attachedToOwnerStatementIdAfter: string | null;
5617
+ };
5618
+ })[];
5619
+ page: {
4907
5620
  limit: number;
4908
- /** @default 1 */
4909
- page: number;
4910
- total: number;
4911
- totalPage: number;
4912
- nextPage?: number;
5621
+ hasMore: boolean;
5622
+ nextCursor: string | null;
4913
5623
  };
4914
5624
  };
4915
5625
  };
@@ -4996,7 +5706,7 @@ export interface operations {
4996
5706
  };
4997
5707
  };
4998
5708
  };
4999
- postBankRecordsBatch: {
5709
+ batchBankAccounts: {
5000
5710
  parameters: {
5001
5711
  query?: never;
5002
5712
  header?: never;
@@ -5009,29 +5719,18 @@ export interface operations {
5009
5719
  /** Format: uuid */
5010
5720
  connectionId: string;
5011
5721
  data: {
5012
- uniqueRef?: string | null;
5013
- date: string;
5722
+ id?: string | null;
5014
5723
  /** @enum {string} */
5015
- status?: "active" | "inactive";
5016
- description?: string | null;
5017
- accountId?: string | null;
5724
+ type: "deposit" | "creditCard";
5018
5725
  /** @enum {string} */
5019
- type?: "transaction" | "balance";
5020
- amount?: number;
5021
- balance?: number | null;
5022
- reconciliation?: {
5023
- status?: ("unpaid" | "underpaid" | "overpaid" | "paid") | null;
5024
- transactions?: {
5025
- id: string;
5026
- date: string;
5027
- description?: string | null;
5028
- type: string;
5029
- amount: number;
5030
- }[] | null;
5031
- };
5032
- id?: string | null;
5033
- bankAccountRef?: string | null;
5726
+ category: "trust" | "operating" | "external";
5727
+ name: string;
5728
+ uniqueRef?: string | null;
5034
5729
  sourceId?: string | null;
5730
+ currency?: string | null;
5731
+ lastDigits?: string | null;
5732
+ status?: ("active" | "inactive") | null;
5733
+ accountId?: string | null;
5035
5734
  }[];
5036
5735
  };
5037
5736
  };
@@ -5143,33 +5842,32 @@ export interface operations {
5143
5842
  };
5144
5843
  };
5145
5844
  };
5146
- getBankRecordsCsv: {
5845
+ updateBankAccount: {
5147
5846
  parameters: {
5148
- query?: {
5149
- status?: "active" | "inactive";
5150
- search?: string;
5151
- /** @description Amount in cents, also accepts ranges like 100...200 */
5152
- amount?: string;
5153
- /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
5154
- dateRange?: string;
5155
- /** @description Whether the end date is inclusive or exclusive */
5156
- isDateRangeEndInclusive?: boolean;
5157
- bankAccountId?: string;
5158
- accountId?: string;
5159
- uniqueRefs?: string;
5160
- reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
5161
- includeBalanceRecords?: boolean;
5162
- /** @description Include matching transactions, optionally with max days offset */
5163
- includeMatchingTransactions?: string;
5164
- hasMatchingTransactions?: boolean;
5165
- reservationLineFilter?: "all" | "reservationOnly" | "nonReservationOnly";
5166
- sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
5167
- };
5847
+ query?: never;
5168
5848
  header?: never;
5169
- path?: never;
5849
+ path: {
5850
+ id: string;
5851
+ };
5170
5852
  cookie?: never;
5171
5853
  };
5172
- requestBody?: never;
5854
+ requestBody?: {
5855
+ content: {
5856
+ "application/json": {
5857
+ /** @enum {string} */
5858
+ type?: "deposit" | "creditCard";
5859
+ /** @enum {string} */
5860
+ category?: "trust" | "operating" | "external";
5861
+ name?: string;
5862
+ uniqueRef?: string | null;
5863
+ sourceId?: string | null;
5864
+ currency?: string | null;
5865
+ lastDigits?: string | null;
5866
+ status?: ("active" | "inactive") | null;
5867
+ accountId?: string | null;
5868
+ };
5869
+ };
5870
+ };
5173
5871
  responses: {
5174
5872
  /** @description Successful response */
5175
5873
  200: {
@@ -5178,7 +5876,30 @@ export interface operations {
5178
5876
  };
5179
5877
  content: {
5180
5878
  "application/json": {
5181
- url: string;
5879
+ /** Format: uuid */
5880
+ id: string;
5881
+ /** @enum {string} */
5882
+ type: "deposit" | "creditCard";
5883
+ /** @enum {string} */
5884
+ category: "trust" | "operating" | "external";
5885
+ name: string;
5886
+ uniqueRef?: string | null;
5887
+ currency?: string | null;
5888
+ lastDigits?: string | null;
5889
+ status: ("active" | "inactive") | null;
5890
+ account?: {
5891
+ id: string;
5892
+ name: string;
5893
+ uniqueRef?: string | null;
5894
+ /** @enum {string} */
5895
+ status: "active" | "inactive";
5896
+ } | null;
5897
+ source?: {
5898
+ /** Format: uuid */
5899
+ id: string;
5900
+ type: string;
5901
+ status?: ("active" | "inactive") | null;
5902
+ } | null;
5182
5903
  };
5183
5904
  };
5184
5905
  };
@@ -5264,16 +5985,32 @@ export interface operations {
5264
5985
  };
5265
5986
  };
5266
5987
  };
5267
- getBankRecordsById: {
5988
+ getBankRecords: {
5268
5989
  parameters: {
5269
5990
  query?: {
5991
+ status?: "active" | "inactive";
5992
+ search?: string;
5993
+ /** @description Amount in cents, also accepts ranges like 100...200 */
5994
+ amount?: string;
5995
+ /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
5996
+ dateRange?: string;
5997
+ /** @description Whether the end date is inclusive or exclusive */
5998
+ isDateRangeEndInclusive?: boolean;
5999
+ bankAccountId?: string;
6000
+ accountId?: string;
6001
+ uniqueRefs?: string;
6002
+ reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
6003
+ includeBalanceRecords?: boolean;
5270
6004
  /** @description Include matching transactions, optionally with max days offset */
5271
6005
  includeMatchingTransactions?: string;
6006
+ hasMatchingTransactions?: boolean;
6007
+ reservationLineFilter?: "all" | "reservationOnly" | "nonReservationOnly";
6008
+ sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
6009
+ limit?: number;
6010
+ page?: number;
5272
6011
  };
5273
6012
  header?: never;
5274
- path: {
5275
- id: string;
5276
- };
6013
+ path?: never;
5277
6014
  cookie?: never;
5278
6015
  };
5279
6016
  requestBody?: never;
@@ -5285,84 +6022,95 @@ export interface operations {
5285
6022
  };
5286
6023
  content: {
5287
6024
  "application/json": {
5288
- /** Format: uuid */
5289
- id: string;
5290
- uniqueRef?: string | null;
5291
- date: string;
5292
- /** @enum {string} */
5293
- status: "active" | "inactive";
5294
- description?: string | null;
5295
- bankAccountId?: string | null;
5296
- accountId?: string | null;
5297
- connectionId?: string | null;
5298
- source?: {
6025
+ data: {
5299
6026
  /** Format: uuid */
5300
6027
  id: string;
5301
- type: string;
5302
- status?: ("active" | "inactive") | null;
5303
- } | null;
5304
- /** @enum {string} */
5305
- type: "transaction" | "balance";
5306
- amount: number;
5307
- balance: {
5308
- current: number;
5309
- correction: number;
5310
- };
5311
- reconciliation: {
5312
- status?: ("unpaid" | "underpaid" | "overpaid" | "paid") | null;
5313
- transactions?: {
5314
- id: string;
5315
- date: string;
5316
- description?: string | null;
5317
- type: string;
5318
- amount: number;
5319
- }[] | null;
5320
- };
5321
- matchingTransactions?: {
5322
- id: string;
5323
- /** @enum {string} */
5324
- status: "active" | "inactive";
5325
- /** @description Value in cents (100 = 1€) */
5326
- amount: number;
5327
- account?: {
5328
- id: string;
5329
- name: string;
5330
- uniqueRef?: string | null;
5331
- /** @enum {string} */
5332
- status: "active" | "inactive";
5333
- } | null;
6028
+ uniqueRef?: string | null;
5334
6029
  date: string;
5335
- description: string;
5336
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
5337
- currency: string;
5338
6030
  /** @enum {string} */
5339
- type: "deposit" | "expense" | "transfer";
5340
- isOpeningBalance: boolean;
5341
- contact?: {
6031
+ status: "active" | "inactive";
6032
+ description?: string | null;
6033
+ bankAccountId?: string | null;
6034
+ accountId?: string | null;
6035
+ connectionId?: string | null;
6036
+ source?: {
5342
6037
  /** Format: uuid */
5343
6038
  id: string;
5344
- name?: string | null;
5345
- firstName?: string | null;
5346
- uniqueRef?: string | null;
5347
- shortRef?: string | null;
6039
+ type: string;
6040
+ status?: ("active" | "inactive") | null;
5348
6041
  } | null;
5349
- connection?: {
5350
- /** Format: uuid */
6042
+ /** @enum {string} */
6043
+ type: "transaction" | "balance";
6044
+ amount: number;
6045
+ balance: {
6046
+ current: number;
6047
+ correction: number;
6048
+ };
6049
+ reconciliation: {
6050
+ status?: ("unpaid" | "underpaid" | "overpaid" | "paid") | null;
6051
+ transactions?: {
6052
+ id: string;
6053
+ date: string;
6054
+ description?: string | null;
6055
+ type: string;
6056
+ amount: number;
6057
+ }[] | null;
6058
+ };
6059
+ matchingTransactions?: {
5351
6060
  id: string;
5352
- name: string;
5353
6061
  /** @enum {string} */
5354
6062
  status: "active" | "inactive";
6063
+ /** @description Value in cents (100 = 1€) */
6064
+ amount: number;
6065
+ account?: {
6066
+ id: string;
6067
+ name: string;
6068
+ uniqueRef?: string | null;
6069
+ /** @enum {string} */
6070
+ status: "active" | "inactive";
6071
+ } | null;
6072
+ date: string;
6073
+ description: string;
6074
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
6075
+ currency: string;
6076
+ /** @enum {string} */
6077
+ type: "deposit" | "expense" | "transfer";
6078
+ isOpeningBalance: boolean;
6079
+ contact?: {
6080
+ /** Format: uuid */
6081
+ id: string;
6082
+ name?: string | null;
6083
+ firstName?: string | null;
6084
+ uniqueRef?: string | null;
6085
+ shortRef?: string | null;
6086
+ } | null;
6087
+ connection?: {
6088
+ /** Format: uuid */
6089
+ id: string;
6090
+ name: string;
6091
+ /** @enum {string} */
6092
+ status: "active" | "inactive";
6093
+ uniqueRef?: string | null;
6094
+ appId: string;
6095
+ } | null;
5355
6096
  uniqueRef?: string | null;
5356
- appId: string;
5357
- } | null;
5358
- uniqueRef?: string | null;
5359
- shortRef?: string | null;
5360
- recurringTemplate?: {
5361
- id: string;
5362
- } | null;
5363
- dateOffset: number;
5364
- }[] | null;
5365
- currency?: string | null;
6097
+ shortRef?: string | null;
6098
+ recurringTemplate?: {
6099
+ id: string;
6100
+ } | null;
6101
+ dateOffset: number;
6102
+ }[] | null;
6103
+ currency?: string | null;
6104
+ }[];
6105
+ pagination: {
6106
+ /** @default 100 */
6107
+ limit: number;
6108
+ /** @default 1 */
6109
+ page: number;
6110
+ total: number;
6111
+ totalPage: number;
6112
+ nextPage?: number;
6113
+ };
5366
6114
  };
5367
6115
  };
5368
6116
  };
@@ -5448,20 +6196,43 @@ export interface operations {
5448
6196
  };
5449
6197
  };
5450
6198
  };
5451
- putBankRecordsById: {
6199
+ postBankRecordsBatch: {
5452
6200
  parameters: {
5453
6201
  query?: never;
5454
6202
  header?: never;
5455
- path: {
5456
- id: string;
5457
- };
6203
+ path?: never;
5458
6204
  cookie?: never;
5459
6205
  };
5460
6206
  requestBody?: {
5461
6207
  content: {
5462
6208
  "application/json": {
5463
- reconciledTransactionIds?: string[] | null;
5464
- status?: ("active" | "inactive") | null;
6209
+ /** Format: uuid */
6210
+ connectionId: string;
6211
+ data: {
6212
+ uniqueRef?: string | null;
6213
+ date: string;
6214
+ /** @enum {string} */
6215
+ status?: "active" | "inactive";
6216
+ description?: string | null;
6217
+ accountId?: string | null;
6218
+ /** @enum {string} */
6219
+ type?: "transaction" | "balance";
6220
+ amount?: number;
6221
+ balance?: number | null;
6222
+ reconciliation?: {
6223
+ status?: ("unpaid" | "underpaid" | "overpaid" | "paid") | null;
6224
+ transactions?: {
6225
+ id: string;
6226
+ date: string;
6227
+ description?: string | null;
6228
+ type: string;
6229
+ amount: number;
6230
+ }[] | null;
6231
+ };
6232
+ id?: string | null;
6233
+ bankAccountRef?: string | null;
6234
+ sourceId?: string | null;
6235
+ }[];
5465
6236
  };
5466
6237
  };
5467
6238
  };
@@ -5473,11 +6244,20 @@ export interface operations {
5473
6244
  };
5474
6245
  content: {
5475
6246
  "application/json": {
5476
- id: string;
5477
- reconciledTransactionIds?: string[] | null;
5478
- status?: ("active" | "inactive") | null;
5479
- addedCount?: number;
5480
- removedCount?: number;
6247
+ data: {
6248
+ /** Format: uuid */
6249
+ id: string;
6250
+ uniqueRef?: string | null;
6251
+ sourceId?: string | null;
6252
+ }[];
6253
+ issues: {
6254
+ ref: string;
6255
+ sourceId?: string | null;
6256
+ message: string;
6257
+ /** @enum {string} */
6258
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
6259
+ context?: unknown;
6260
+ }[];
5481
6261
  };
5482
6262
  };
5483
6263
  };
@@ -5563,12 +6343,27 @@ export interface operations {
5563
6343
  };
5564
6344
  };
5565
6345
  };
5566
- getCalendar: {
6346
+ getBankRecordsCsv: {
5567
6347
  parameters: {
5568
- query: {
5569
- listingId: string;
5570
- startDate: string;
5571
- endDate: string;
6348
+ query?: {
6349
+ status?: "active" | "inactive";
6350
+ search?: string;
6351
+ /** @description Amount in cents, also accepts ranges like 100...200 */
6352
+ amount?: string;
6353
+ /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
6354
+ dateRange?: string;
6355
+ /** @description Whether the end date is inclusive or exclusive */
6356
+ isDateRangeEndInclusive?: boolean;
6357
+ bankAccountId?: string;
6358
+ accountId?: string;
6359
+ uniqueRefs?: string;
6360
+ reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
6361
+ includeBalanceRecords?: boolean;
6362
+ /** @description Include matching transactions, optionally with max days offset */
6363
+ includeMatchingTransactions?: string;
6364
+ hasMatchingTransactions?: boolean;
6365
+ reservationLineFilter?: "all" | "reservationOnly" | "nonReservationOnly";
6366
+ sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
5572
6367
  };
5573
6368
  header?: never;
5574
6369
  path?: never;
@@ -5583,19 +6378,7 @@ export interface operations {
5583
6378
  };
5584
6379
  content: {
5585
6380
  "application/json": {
5586
- data: {
5587
- date: string;
5588
- /** @enum {string} */
5589
- blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
5590
- description?: string | null;
5591
- user?: {
5592
- /** Format: email */
5593
- email: string;
5594
- firstName: string;
5595
- lastName: string;
5596
- id: string;
5597
- } | null;
5598
- }[];
6381
+ url: string;
5599
6382
  };
5600
6383
  };
5601
6384
  };
@@ -5681,23 +6464,19 @@ export interface operations {
5681
6464
  };
5682
6465
  };
5683
6466
  };
5684
- blockCalendar: {
6467
+ getBankRecordsById: {
5685
6468
  parameters: {
5686
- query?: never;
6469
+ query?: {
6470
+ /** @description Include matching transactions, optionally with max days offset */
6471
+ includeMatchingTransactions?: string;
6472
+ };
5687
6473
  header?: never;
5688
- path?: never;
5689
- cookie?: never;
5690
- };
5691
- requestBody?: {
5692
- content: {
5693
- "application/json": {
5694
- listingId: string;
5695
- startDate: string;
5696
- endDate: string;
5697
- description?: string | null;
5698
- };
6474
+ path: {
6475
+ id: string;
5699
6476
  };
6477
+ cookie?: never;
5700
6478
  };
6479
+ requestBody?: never;
5701
6480
  responses: {
5702
6481
  /** @description Successful response */
5703
6482
  200: {
@@ -5706,19 +6485,84 @@ export interface operations {
5706
6485
  };
5707
6486
  content: {
5708
6487
  "application/json": {
5709
- data: {
6488
+ /** Format: uuid */
6489
+ id: string;
6490
+ uniqueRef?: string | null;
6491
+ date: string;
6492
+ /** @enum {string} */
6493
+ status: "active" | "inactive";
6494
+ description?: string | null;
6495
+ bankAccountId?: string | null;
6496
+ accountId?: string | null;
6497
+ connectionId?: string | null;
6498
+ source?: {
6499
+ /** Format: uuid */
6500
+ id: string;
6501
+ type: string;
6502
+ status?: ("active" | "inactive") | null;
6503
+ } | null;
6504
+ /** @enum {string} */
6505
+ type: "transaction" | "balance";
6506
+ amount: number;
6507
+ balance: {
6508
+ current: number;
6509
+ correction: number;
6510
+ };
6511
+ reconciliation: {
6512
+ status?: ("unpaid" | "underpaid" | "overpaid" | "paid") | null;
6513
+ transactions?: {
6514
+ id: string;
6515
+ date: string;
6516
+ description?: string | null;
6517
+ type: string;
6518
+ amount: number;
6519
+ }[] | null;
6520
+ };
6521
+ matchingTransactions?: {
6522
+ id: string;
6523
+ /** @enum {string} */
6524
+ status: "active" | "inactive";
6525
+ /** @description Value in cents (100 = 1€) */
6526
+ amount: number;
6527
+ account?: {
6528
+ id: string;
6529
+ name: string;
6530
+ uniqueRef?: string | null;
6531
+ /** @enum {string} */
6532
+ status: "active" | "inactive";
6533
+ } | null;
5710
6534
  date: string;
6535
+ description: string;
6536
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
6537
+ currency: string;
5711
6538
  /** @enum {string} */
5712
- blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
5713
- description?: string | null;
5714
- user?: {
5715
- /** Format: email */
5716
- email: string;
5717
- firstName: string;
5718
- lastName: string;
6539
+ type: "deposit" | "expense" | "transfer";
6540
+ isOpeningBalance: boolean;
6541
+ contact?: {
6542
+ /** Format: uuid */
6543
+ id: string;
6544
+ name?: string | null;
6545
+ firstName?: string | null;
6546
+ uniqueRef?: string | null;
6547
+ shortRef?: string | null;
6548
+ } | null;
6549
+ connection?: {
6550
+ /** Format: uuid */
6551
+ id: string;
6552
+ name: string;
6553
+ /** @enum {string} */
6554
+ status: "active" | "inactive";
6555
+ uniqueRef?: string | null;
6556
+ appId: string;
6557
+ } | null;
6558
+ uniqueRef?: string | null;
6559
+ shortRef?: string | null;
6560
+ recurringTemplate?: {
5719
6561
  id: string;
5720
6562
  } | null;
5721
- }[];
6563
+ dateOffset: number;
6564
+ }[] | null;
6565
+ currency?: string | null;
5722
6566
  };
5723
6567
  };
5724
6568
  };
@@ -5804,21 +6648,21 @@ export interface operations {
5804
6648
  };
5805
6649
  };
5806
6650
  };
5807
- unblockCalendar: {
6651
+ putBankRecordsById: {
5808
6652
  parameters: {
5809
- query: {
5810
- listingId: string;
5811
- startDate: string;
5812
- endDate: string;
5813
- description?: string | null;
5814
- };
6653
+ query?: never;
5815
6654
  header?: never;
5816
- path?: never;
6655
+ path: {
6656
+ id: string;
6657
+ };
5817
6658
  cookie?: never;
5818
6659
  };
5819
6660
  requestBody?: {
5820
6661
  content: {
5821
- "application/json": Record<string, never>;
6662
+ "application/json": {
6663
+ reconciledTransactionIds?: string[] | null;
6664
+ status?: ("active" | "inactive") | null;
6665
+ };
5822
6666
  };
5823
6667
  };
5824
6668
  responses: {
@@ -5829,19 +6673,11 @@ export interface operations {
5829
6673
  };
5830
6674
  content: {
5831
6675
  "application/json": {
5832
- data: {
5833
- date: string;
5834
- /** @enum {string} */
5835
- blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
5836
- description?: string | null;
5837
- user?: {
5838
- /** Format: email */
5839
- email: string;
5840
- firstName: string;
5841
- lastName: string;
5842
- id: string;
5843
- } | null;
5844
- }[];
6676
+ id: string;
6677
+ reconciledTransactionIds?: string[] | null;
6678
+ status?: ("active" | "inactive") | null;
6679
+ addedCount?: number;
6680
+ removedCount?: number;
5845
6681
  };
5846
6682
  };
5847
6683
  };
@@ -5927,17 +6763,12 @@ export interface operations {
5927
6763
  };
5928
6764
  };
5929
6765
  };
5930
- getConnections: {
6766
+ getCalendar: {
5931
6767
  parameters: {
5932
- query?: {
5933
- tenantId?: string;
5934
- appId?: string;
5935
- status?: "active" | "inactive";
5936
- isErrorState?: boolean;
5937
- currentSyncStatus?: "queued" | "started" | "completed" | "failed" | "canceled";
5938
- search?: string;
5939
- limit?: number;
5940
- page?: number;
6768
+ query: {
6769
+ listingId: string;
6770
+ startDate: string;
6771
+ endDate: string;
5941
6772
  };
5942
6773
  header?: never;
5943
6774
  path?: never;
@@ -5953,48 +6784,18 @@ export interface operations {
5953
6784
  content: {
5954
6785
  "application/json": {
5955
6786
  data: {
5956
- /** Format: uuid */
5957
- id: string;
5958
- name: string;
6787
+ date: string;
5959
6788
  /** @enum {string} */
5960
- status: "active" | "inactive";
5961
- uniqueRef?: string | null;
5962
- app: {
6789
+ blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
6790
+ description?: string | null;
6791
+ user?: {
6792
+ /** Format: email */
6793
+ email: string;
6794
+ firstName: string;
6795
+ lastName: string;
5963
6796
  id: string;
5964
- /** @enum {string} */
5965
- type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
5966
- name: string;
5967
- icon?: string | null;
5968
- importers?: string[] | null;
5969
- extractors?: string[] | null;
5970
- };
5971
- createdAt: string;
5972
- updatedAt: string;
5973
- isErrorState: boolean;
5974
- currentSync?: {
5975
- /** @enum {string} */
5976
- status: "queued" | "started" | "completed" | "failed" | "canceled";
5977
- createdAt: string;
5978
- updatedAt: string;
5979
- message?: string | null;
5980
6797
  } | null;
5981
- enabledFlows: {
5982
- /** Format: uuid */
5983
- id: string;
5984
- title: string;
5985
- isPublic: boolean;
5986
- type: ("push" | "pull") | null;
5987
- }[];
5988
6798
  }[];
5989
- pagination: {
5990
- /** @default 100 */
5991
- limit: number;
5992
- /** @default 1 */
5993
- page: number;
5994
- total: number;
5995
- totalPage: number;
5996
- nextPage?: number;
5997
- };
5998
6799
  };
5999
6800
  };
6000
6801
  };
@@ -6080,7 +6881,7 @@ export interface operations {
6080
6881
  };
6081
6882
  };
6082
6883
  };
6083
- createConnection: {
6884
+ blockCalendar: {
6084
6885
  parameters: {
6085
6886
  query?: never;
6086
6887
  header?: never;
@@ -6090,11 +6891,10 @@ export interface operations {
6090
6891
  requestBody?: {
6091
6892
  content: {
6092
6893
  "application/json": {
6093
- name?: string;
6094
- appId: string;
6095
- credentials?: {
6096
- [key: string]: unknown;
6097
- };
6894
+ listingId: string;
6895
+ startDate: string;
6896
+ endDate: string;
6897
+ description?: string | null;
6098
6898
  };
6099
6899
  };
6100
6900
  };
@@ -6106,37 +6906,18 @@ export interface operations {
6106
6906
  };
6107
6907
  content: {
6108
6908
  "application/json": {
6109
- /** Format: uuid */
6110
- id: string;
6111
- name: string;
6112
- /** @enum {string} */
6113
- status: "active" | "inactive";
6114
- uniqueRef?: string | null;
6115
- app: {
6116
- id: string;
6117
- /** @enum {string} */
6118
- type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
6119
- name: string;
6120
- icon?: string | null;
6121
- importers?: string[] | null;
6122
- extractors?: string[] | null;
6123
- };
6124
- createdAt: string;
6125
- updatedAt: string;
6126
- isErrorState: boolean;
6127
- currentSync?: {
6909
+ data: {
6910
+ date: string;
6128
6911
  /** @enum {string} */
6129
- status: "queued" | "started" | "completed" | "failed" | "canceled";
6130
- createdAt: string;
6131
- updatedAt: string;
6132
- message?: string | null;
6133
- } | null;
6134
- enabledFlows: {
6135
- /** Format: uuid */
6136
- id: string;
6137
- title: string;
6138
- isPublic: boolean;
6139
- type: ("push" | "pull") | null;
6912
+ blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
6913
+ description?: string | null;
6914
+ user?: {
6915
+ /** Format: email */
6916
+ email: string;
6917
+ firstName: string;
6918
+ lastName: string;
6919
+ id: string;
6920
+ } | null;
6140
6921
  }[];
6141
6922
  };
6142
6923
  };
@@ -6223,29 +7004,21 @@ export interface operations {
6223
7004
  };
6224
7005
  };
6225
7006
  };
6226
- extractConnections: {
7007
+ unblockCalendar: {
6227
7008
  parameters: {
6228
- query?: never;
7009
+ query: {
7010
+ listingId: string;
7011
+ startDate: string;
7012
+ endDate: string;
7013
+ description?: string | null;
7014
+ };
6229
7015
  header?: never;
6230
7016
  path?: never;
6231
7017
  cookie?: never;
6232
7018
  };
6233
7019
  requestBody?: {
6234
7020
  content: {
6235
- "application/json": {
6236
- isInitial?: boolean;
6237
- connections: {
6238
- /** Format: uuid */
6239
- connectionId: string;
6240
- params?: unknown;
6241
- type?: string;
6242
- range?: {
6243
- start?: string;
6244
- end?: string;
6245
- };
6246
- forceUpdate?: boolean;
6247
- }[];
6248
- };
7021
+ "application/json": Record<string, never>;
6249
7022
  };
6250
7023
  };
6251
7024
  responses: {
@@ -6257,19 +7030,17 @@ export interface operations {
6257
7030
  content: {
6258
7031
  "application/json": {
6259
7032
  data: {
6260
- /** Format: uuid */
6261
- runId: string;
6262
- /** Format: uuid */
6263
- workflowId: string;
6264
- /** Format: uuid */
6265
- taskId: string;
6266
- /** Format: uuid */
6267
- syncId: string;
6268
- data?: unknown;
6269
- error?: {
6270
- message: string;
6271
- error?: string;
6272
- };
7033
+ date: string;
7034
+ /** @enum {string} */
7035
+ blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
7036
+ description?: string | null;
7037
+ user?: {
7038
+ /** Format: email */
7039
+ email: string;
7040
+ firstName: string;
7041
+ lastName: string;
7042
+ id: string;
7043
+ } | null;
6273
7044
  }[];
6274
7045
  };
6275
7046
  };
@@ -6356,22 +7127,23 @@ export interface operations {
6356
7127
  };
6357
7128
  };
6358
7129
  };
6359
- connectConnection: {
7130
+ getConnections: {
6360
7131
  parameters: {
6361
- query?: never;
7132
+ query?: {
7133
+ tenantId?: string;
7134
+ appId?: string;
7135
+ status?: "active" | "inactive";
7136
+ isErrorState?: boolean;
7137
+ currentSyncStatus?: "queued" | "started" | "completed" | "failed" | "canceled";
7138
+ search?: string;
7139
+ limit?: number;
7140
+ page?: number;
7141
+ };
6362
7142
  header?: never;
6363
7143
  path?: never;
6364
7144
  cookie?: never;
6365
7145
  };
6366
- requestBody?: {
6367
- content: {
6368
- "application/json": {
6369
- appId: string;
6370
- /** @default https://portal.vrplatform.app */
6371
- redirectTo?: string;
6372
- };
6373
- };
6374
- };
7146
+ requestBody?: never;
6375
7147
  responses: {
6376
7148
  /** @description Successful response */
6377
7149
  200: {
@@ -6380,10 +7152,48 @@ export interface operations {
6380
7152
  };
6381
7153
  content: {
6382
7154
  "application/json": {
6383
- redirectUri: string;
6384
- manual: {
6385
- state: string;
6386
- redirectUri: string;
7155
+ data: {
7156
+ /** Format: uuid */
7157
+ id: string;
7158
+ name: string;
7159
+ /** @enum {string} */
7160
+ status: "active" | "inactive";
7161
+ uniqueRef?: string | null;
7162
+ app: {
7163
+ id: string;
7164
+ /** @enum {string} */
7165
+ type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
7166
+ name: string;
7167
+ icon?: string | null;
7168
+ importers?: string[] | null;
7169
+ extractors?: string[] | null;
7170
+ };
7171
+ createdAt: string;
7172
+ updatedAt: string;
7173
+ isErrorState: boolean;
7174
+ currentSync?: {
7175
+ /** @enum {string} */
7176
+ status: "queued" | "started" | "completed" | "failed" | "canceled";
7177
+ createdAt: string;
7178
+ updatedAt: string;
7179
+ message?: string | null;
7180
+ } | null;
7181
+ enabledFlows: {
7182
+ /** Format: uuid */
7183
+ id: string;
7184
+ title: string;
7185
+ isPublic: boolean;
7186
+ type: ("push" | "pull") | null;
7187
+ }[];
7188
+ }[];
7189
+ pagination: {
7190
+ /** @default 100 */
7191
+ limit: number;
7192
+ /** @default 1 */
7193
+ page: number;
7194
+ total: number;
7195
+ totalPage: number;
7196
+ nextPage?: number;
6387
7197
  };
6388
7198
  };
6389
7199
  };
@@ -6470,16 +7280,24 @@ export interface operations {
6470
7280
  };
6471
7281
  };
6472
7282
  };
6473
- getConnection: {
7283
+ createConnection: {
6474
7284
  parameters: {
6475
7285
  query?: never;
6476
7286
  header?: never;
6477
- path: {
6478
- id: string;
6479
- };
7287
+ path?: never;
6480
7288
  cookie?: never;
6481
7289
  };
6482
- requestBody?: never;
7290
+ requestBody?: {
7291
+ content: {
7292
+ "application/json": {
7293
+ name?: string;
7294
+ appId: string;
7295
+ credentials?: {
7296
+ [key: string]: unknown;
7297
+ };
7298
+ };
7299
+ };
7300
+ };
6483
7301
  responses: {
6484
7302
  /** @description Successful response */
6485
7303
  200: {
@@ -6605,20 +7423,29 @@ export interface operations {
6605
7423
  };
6606
7424
  };
6607
7425
  };
6608
- deleteConnection: {
7426
+ extractConnections: {
6609
7427
  parameters: {
6610
- query?: {
6611
- onLocked?: "error" | "archive";
6612
- };
7428
+ query?: never;
6613
7429
  header?: never;
6614
- path: {
6615
- id: string;
6616
- };
7430
+ path?: never;
6617
7431
  cookie?: never;
6618
7432
  };
6619
7433
  requestBody?: {
6620
7434
  content: {
6621
- "application/json": Record<string, never>;
7435
+ "application/json": {
7436
+ isInitial?: boolean;
7437
+ connections: {
7438
+ /** Format: uuid */
7439
+ connectionId: string;
7440
+ params?: unknown;
7441
+ type?: string;
7442
+ range?: {
7443
+ start?: string;
7444
+ end?: string;
7445
+ };
7446
+ forceUpdate?: boolean;
7447
+ }[];
7448
+ };
6622
7449
  };
6623
7450
  };
6624
7451
  responses: {
@@ -6629,8 +7456,21 @@ export interface operations {
6629
7456
  };
6630
7457
  content: {
6631
7458
  "application/json": {
6632
- /** @enum {string} */
6633
- status: "deleted" | "archived";
7459
+ data: {
7460
+ /** Format: uuid */
7461
+ runId: string;
7462
+ /** Format: uuid */
7463
+ workflowId: string;
7464
+ /** Format: uuid */
7465
+ taskId: string;
7466
+ /** Format: uuid */
7467
+ syncId: string;
7468
+ data?: unknown;
7469
+ error?: {
7470
+ message: string;
7471
+ error?: string;
7472
+ };
7473
+ }[];
6634
7474
  };
6635
7475
  };
6636
7476
  };
@@ -6716,19 +7556,22 @@ export interface operations {
6716
7556
  };
6717
7557
  };
6718
7558
  };
6719
- syncConnection: {
7559
+ connectConnection: {
6720
7560
  parameters: {
6721
- query: {
6722
- uniqueRef: string;
6723
- type: "reservation" | "listing" | "payout";
6724
- };
7561
+ query?: never;
6725
7562
  header?: never;
6726
- path: {
6727
- id: string;
6728
- };
7563
+ path?: never;
6729
7564
  cookie?: never;
6730
7565
  };
6731
- requestBody?: never;
7566
+ requestBody?: {
7567
+ content: {
7568
+ "application/json": {
7569
+ appId: string;
7570
+ /** @default https://portal.vrplatform.app */
7571
+ redirectTo?: string;
7572
+ };
7573
+ };
7574
+ };
6732
7575
  responses: {
6733
7576
  /** @description Successful response */
6734
7577
  200: {
@@ -6736,44 +7579,12 @@ export interface operations {
6736
7579
  [name: string]: unknown;
6737
7580
  };
6738
7581
  content: {
6739
- "application/json": ({
6740
- /** Format: uuid */
6741
- id: string;
6742
- /** @constant */
6743
- status: "completed";
6744
- message: string;
6745
- /** @constant */
6746
- type: "reservation";
6747
- /** Format: uuid */
6748
- reservationId: string;
6749
- } | {
6750
- /** Format: uuid */
6751
- id: string;
6752
- /** @constant */
6753
- status: "completed";
6754
- message: string;
6755
- /** @constant */
6756
- type: "listing";
6757
- /** Format: uuid */
6758
- listingId: string;
6759
- } | {
6760
- /** Format: uuid */
6761
- id: string;
6762
- /** @constant */
6763
- status: "completed";
6764
- message: string;
6765
- /** @constant */
6766
- type: "payout";
6767
- /** Format: uuid */
6768
- paymentId: string;
6769
- }) | {
6770
- /** Format: uuid */
6771
- id: string;
6772
- /** @constant */
6773
- status: "failed";
6774
- message: string;
6775
- /** @enum {string} */
6776
- type: "reservation" | "listing" | "payout";
7582
+ "application/json": {
7583
+ redirectUri: string;
7584
+ manual: {
7585
+ state: string;
7586
+ redirectUri: string;
7587
+ };
6777
7588
  };
6778
7589
  };
6779
7590
  };
@@ -6859,7 +7670,7 @@ export interface operations {
6859
7670
  };
6860
7671
  };
6861
7672
  };
6862
- syncConnectionPost: {
7673
+ getConnection: {
6863
7674
  parameters: {
6864
7675
  query?: never;
6865
7676
  header?: never;
@@ -6868,15 +7679,7 @@ export interface operations {
6868
7679
  };
6869
7680
  cookie?: never;
6870
7681
  };
6871
- requestBody?: {
6872
- content: {
6873
- "application/json": {
6874
- uniqueRef: string;
6875
- /** @enum {string} */
6876
- type: "reservation" | "listing" | "payout";
6877
- };
6878
- };
6879
- };
7682
+ requestBody?: never;
6880
7683
  responses: {
6881
7684
  /** @description Successful response */
6882
7685
  200: {
@@ -6884,83 +7687,40 @@ export interface operations {
6884
7687
  [name: string]: unknown;
6885
7688
  };
6886
7689
  content: {
6887
- "application/json": (({
6888
- /** Format: uuid */
6889
- id: string;
6890
- /** @constant */
6891
- status: "completed";
6892
- message: string;
6893
- /** @constant */
6894
- type: "reservation";
6895
- /** Format: uuid */
6896
- reservationId: string;
6897
- } | {
6898
- /** Format: uuid */
6899
- id: string;
6900
- /** @constant */
6901
- status: "completed";
6902
- message: string;
6903
- /** @constant */
6904
- type: "listing";
6905
- /** Format: uuid */
6906
- listingId: string;
6907
- } | {
6908
- /** Format: uuid */
6909
- id: string;
6910
- /** @constant */
6911
- status: "completed";
6912
- message: string;
6913
- /** @constant */
6914
- type: "payout";
6915
- /** Format: uuid */
6916
- paymentId: string;
6917
- }) | {
6918
- /** Format: uuid */
6919
- id: string;
6920
- /** @constant */
6921
- status: "failed";
6922
- message: string;
6923
- /** @enum {string} */
6924
- type: "reservation" | "listing" | "payout";
6925
- }) | (({
6926
- /** Format: uuid */
6927
- id: string;
6928
- /** @constant */
6929
- status: "completed";
6930
- message: string;
6931
- /** @constant */
6932
- type: "reservation";
6933
- /** Format: uuid */
6934
- reservationId: string;
6935
- } | {
6936
- /** Format: uuid */
6937
- id: string;
6938
- /** @constant */
6939
- status: "completed";
6940
- message: string;
6941
- /** @constant */
6942
- type: "listing";
6943
- /** Format: uuid */
6944
- listingId: string;
6945
- } | {
6946
- /** Format: uuid */
6947
- id: string;
6948
- /** @constant */
6949
- status: "completed";
6950
- message: string;
6951
- /** @constant */
6952
- type: "payout";
6953
- /** Format: uuid */
6954
- paymentId: string;
6955
- }) | {
7690
+ "application/json": {
6956
7691
  /** Format: uuid */
6957
7692
  id: string;
6958
- /** @constant */
6959
- status: "failed";
6960
- message: string;
7693
+ name: string;
6961
7694
  /** @enum {string} */
6962
- type: "reservation" | "listing" | "payout";
6963
- })[];
7695
+ status: "active" | "inactive";
7696
+ uniqueRef?: string | null;
7697
+ app: {
7698
+ id: string;
7699
+ /** @enum {string} */
7700
+ type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
7701
+ name: string;
7702
+ icon?: string | null;
7703
+ importers?: string[] | null;
7704
+ extractors?: string[] | null;
7705
+ };
7706
+ createdAt: string;
7707
+ updatedAt: string;
7708
+ isErrorState: boolean;
7709
+ currentSync?: {
7710
+ /** @enum {string} */
7711
+ status: "queued" | "started" | "completed" | "failed" | "canceled";
7712
+ createdAt: string;
7713
+ updatedAt: string;
7714
+ message?: string | null;
7715
+ } | null;
7716
+ enabledFlows: {
7717
+ /** Format: uuid */
7718
+ id: string;
7719
+ title: string;
7720
+ isPublic: boolean;
7721
+ type: ("push" | "pull") | null;
7722
+ }[];
7723
+ };
6964
7724
  };
6965
7725
  };
6966
7726
  /** @description Bad request */
@@ -7045,24 +7805,22 @@ export interface operations {
7045
7805
  };
7046
7806
  };
7047
7807
  };
7048
- getContacts: {
7808
+ deleteConnection: {
7049
7809
  parameters: {
7050
7810
  query?: {
7051
- search?: string;
7052
- status?: "active" | "inactive" | "pending";
7053
- type?: "owner" | "vendor";
7054
- companyType?: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
7055
- isIndividual?: boolean;
7056
- /** @description comma separated contact short refs */
7057
- shortRefs?: string;
7058
- limit?: number;
7059
- page?: number;
7811
+ onLocked?: "error" | "archive";
7060
7812
  };
7061
7813
  header?: never;
7062
- path?: never;
7814
+ path: {
7815
+ id: string;
7816
+ };
7063
7817
  cookie?: never;
7064
7818
  };
7065
- requestBody?: never;
7819
+ requestBody?: {
7820
+ content: {
7821
+ "application/json": Record<string, never>;
7822
+ };
7823
+ };
7066
7824
  responses: {
7067
7825
  /** @description Successful response */
7068
7826
  200: {
@@ -7071,62 +7829,8 @@ export interface operations {
7071
7829
  };
7072
7830
  content: {
7073
7831
  "application/json": {
7074
- data: {
7075
- address?: {
7076
- full?: string | null;
7077
- line1?: string | null;
7078
- line2?: string | null;
7079
- city?: string | null;
7080
- /** @description Deprecated, use stateCode instead */
7081
- state?: string | null;
7082
- postalCode?: string | null;
7083
- stateCode?: string | null;
7084
- countryCode?: string | null;
7085
- } | null;
7086
- /** @enum {string} */
7087
- type: "owner" | "vendor";
7088
- email?: string | null;
7089
- firstName?: string | null;
7090
- name?: string | null;
7091
- phone?: string | null;
7092
- connectionId?: string | null;
7093
- companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
7094
- taxIdentifier?: string | null;
7095
- uniqueRef?: string | null;
7096
- /** @enum {string} */
7097
- status: "active" | "inactive" | "pending";
7098
- payoutAccountId?: string | null;
7099
- /** Format: uuid */
7100
- id: string;
7101
- shortRef?: string | null;
7102
- source?: {
7103
- /** Format: uuid */
7104
- id: string;
7105
- type: string;
7106
- status?: ("active" | "inactive") | null;
7107
- } | null;
7108
- ownershipPeriods: {
7109
- listingId: string;
7110
- split: number;
7111
- startAt?: string | null;
7112
- endAt?: string | null;
7113
- }[];
7114
- activeOwnerships: {
7115
- listingId: string;
7116
- split: number;
7117
- startAt?: string | null;
7118
- endAt?: string | null;
7119
- }[];
7120
- }[];
7121
- pagination: {
7122
- /** @default 100 */
7123
- limit: number;
7124
- /** @default 1 */
7125
- page: number;
7126
- total: number;
7127
- totalPage: number;
7128
- nextPage?: number;
7129
- };
7832
+ /** @enum {string} */
7833
+ status: "deleted" | "archived";
7130
7834
  };
7131
7835
  };
7132
7836
  };
@@ -7212,44 +7916,19 @@ export interface operations {
7212
7916
  };
7213
7917
  };
7214
7918
  };
7215
- postContacts: {
7919
+ syncConnection: {
7216
7920
  parameters: {
7217
- query?: never;
7921
+ query: {
7922
+ uniqueRef: string;
7923
+ type: "reservation" | "listing" | "payout";
7924
+ };
7218
7925
  header?: never;
7219
- path?: never;
7220
- cookie?: never;
7221
- };
7222
- requestBody?: {
7223
- content: {
7224
- "application/json": {
7225
- address?: {
7226
- full?: string | null;
7227
- line1?: string | null;
7228
- line2?: string | null;
7229
- city?: string | null;
7230
- /** @description Deprecated, use stateCode instead */
7231
- state?: string | null;
7232
- postalCode?: string | null;
7233
- stateCode?: string | null;
7234
- countryCode?: string | null;
7235
- } | null;
7236
- /** @enum {string} */
7237
- type: "owner" | "vendor";
7238
- email?: string | null;
7239
- firstName?: string | null;
7240
- name?: string | null;
7241
- phone?: string | null;
7242
- connectionId?: string | null;
7243
- companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
7244
- taxIdentifier?: string | null;
7245
- sourceId?: string | null;
7246
- uniqueRef?: string | null;
7247
- status?: ("active" | "inactive") | null;
7248
- payoutAccountId?: string | null;
7249
- invite?: boolean | null;
7250
- };
7926
+ path: {
7927
+ id: string;
7251
7928
  };
7929
+ cookie?: never;
7252
7930
  };
7931
+ requestBody?: never;
7253
7932
  responses: {
7254
7933
  /** @description Successful response */
7255
7934
  200: {
@@ -7257,52 +7936,44 @@ export interface operations {
7257
7936
  [name: string]: unknown;
7258
7937
  };
7259
7938
  content: {
7260
- "application/json": {
7261
- address?: {
7262
- full?: string | null;
7263
- line1?: string | null;
7264
- line2?: string | null;
7265
- city?: string | null;
7266
- /** @description Deprecated, use stateCode instead */
7267
- state?: string | null;
7268
- postalCode?: string | null;
7269
- stateCode?: string | null;
7270
- countryCode?: string | null;
7271
- } | null;
7272
- /** @enum {string} */
7273
- type: "owner" | "vendor";
7274
- email?: string | null;
7275
- firstName?: string | null;
7276
- name?: string | null;
7277
- phone?: string | null;
7278
- connectionId?: string | null;
7279
- companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
7280
- taxIdentifier?: string | null;
7281
- uniqueRef?: string | null;
7282
- /** @enum {string} */
7283
- status: "active" | "inactive" | "pending";
7284
- payoutAccountId?: string | null;
7939
+ "application/json": ({
7285
7940
  /** Format: uuid */
7286
7941
  id: string;
7287
- shortRef?: string | null;
7288
- source?: {
7289
- /** Format: uuid */
7290
- id: string;
7291
- type: string;
7292
- status?: ("active" | "inactive") | null;
7293
- } | null;
7294
- ownershipPeriods: {
7295
- listingId: string;
7296
- split: number;
7297
- startAt?: string | null;
7298
- endAt?: string | null;
7299
- }[];
7300
- activeOwnerships: {
7301
- listingId: string;
7302
- split: number;
7303
- startAt?: string | null;
7304
- endAt?: string | null;
7305
- }[];
7942
+ /** @constant */
7943
+ status: "completed";
7944
+ message: string;
7945
+ /** @constant */
7946
+ type: "reservation";
7947
+ /** Format: uuid */
7948
+ reservationId: string;
7949
+ } | {
7950
+ /** Format: uuid */
7951
+ id: string;
7952
+ /** @constant */
7953
+ status: "completed";
7954
+ message: string;
7955
+ /** @constant */
7956
+ type: "listing";
7957
+ /** Format: uuid */
7958
+ listingId: string;
7959
+ } | {
7960
+ /** Format: uuid */
7961
+ id: string;
7962
+ /** @constant */
7963
+ status: "completed";
7964
+ message: string;
7965
+ /** @constant */
7966
+ type: "payout";
7967
+ /** Format: uuid */
7968
+ paymentId: string;
7969
+ }) | {
7970
+ /** Format: uuid */
7971
+ id: string;
7972
+ /** @constant */
7973
+ status: "failed";
7974
+ message: string;
7975
+ /** @enum {string} */
7976
+ type: "reservation" | "listing" | "payout";
7306
7977
  };
7307
7978
  };
7308
7979
  };
@@ -7388,45 +8059,21 @@ export interface operations {
7388
8059
  };
7389
8060
  };
7390
8061
  };
7391
- postContactsBatch: {
7392
- parameters: {
7393
- query?: never;
7394
- header?: never;
7395
- path?: never;
7396
- cookie?: never;
7397
- };
7398
- requestBody?: {
7399
- content: {
7400
- "application/json": {
7401
- /** Format: uuid */
7402
- connectionId: string;
7403
- data: {
7404
- address?: {
7405
- full?: string | null;
7406
- line1?: string | null;
7407
- line2?: string | null;
7408
- city?: string | null;
7409
- /** @description Deprecated, use stateCode instead */
7410
- state?: string | null;
7411
- postalCode?: string | null;
7412
- stateCode?: string | null;
7413
- countryCode?: string | null;
7414
- } | null;
7415
- /** @enum {string} */
7416
- type: "owner" | "vendor";
7417
- firstName?: string | null;
7418
- name?: string | null;
7419
- phone?: string | null;
7420
- connectionId?: string | null;
7421
- companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
7422
- taxIdentifier?: string | null;
7423
- sourceId?: string | null;
7424
- uniqueRef?: string | null;
7425
- status?: ("active" | "inactive") | null;
7426
- payoutAccountId?: string | null;
7427
- id?: string | null;
7428
- email?: string | null;
7429
- }[];
8062
+ syncConnectionPost: {
8063
+ parameters: {
8064
+ query?: never;
8065
+ header?: never;
8066
+ path: {
8067
+ id: string;
8068
+ };
8069
+ cookie?: never;
8070
+ };
8071
+ requestBody?: {
8072
+ content: {
8073
+ "application/json": {
8074
+ uniqueRef: string;
8075
+ /** @enum {string} */
8076
+ type: "reservation" | "listing" | "payout";
7430
8077
  };
7431
8078
  };
7432
8079
  };
@@ -7437,22 +8084,83 @@ export interface operations {
7437
8084
  [name: string]: unknown;
7438
8085
  };
7439
8086
  content: {
7440
- "application/json": {
7441
- data: {
7442
- /** Format: uuid */
7443
- id: string;
7444
- uniqueRef?: string | null;
7445
- sourceId?: string | null;
7446
- }[];
7447
- issues: {
7448
- ref: string;
7449
- sourceId?: string | null;
7450
- message: string;
7451
- /** @enum {string} */
7452
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
7453
- context?: unknown;
7454
- }[];
7455
- };
8087
+ "application/json": (({
8088
+ /** Format: uuid */
8089
+ id: string;
8090
+ /** @constant */
8091
+ status: "completed";
8092
+ message: string;
8093
+ /** @constant */
8094
+ type: "reservation";
8095
+ /** Format: uuid */
8096
+ reservationId: string;
8097
+ } | {
8098
+ /** Format: uuid */
8099
+ id: string;
8100
+ /** @constant */
8101
+ status: "completed";
8102
+ message: string;
8103
+ /** @constant */
8104
+ type: "listing";
8105
+ /** Format: uuid */
8106
+ listingId: string;
8107
+ } | {
8108
+ /** Format: uuid */
8109
+ id: string;
8110
+ /** @constant */
8111
+ status: "completed";
8112
+ message: string;
8113
+ /** @constant */
8114
+ type: "payout";
8115
+ /** Format: uuid */
8116
+ paymentId: string;
8117
+ }) | {
8118
+ /** Format: uuid */
8119
+ id: string;
8120
+ /** @constant */
8121
+ status: "failed";
8122
+ message: string;
8123
+ /** @enum {string} */
8124
+ type: "reservation" | "listing" | "payout";
8125
+ }) | (({
8126
+ /** Format: uuid */
8127
+ id: string;
8128
+ /** @constant */
8129
+ status: "completed";
8130
+ message: string;
8131
+ /** @constant */
8132
+ type: "reservation";
8133
+ /** Format: uuid */
8134
+ reservationId: string;
8135
+ } | {
8136
+ /** Format: uuid */
8137
+ id: string;
8138
+ /** @constant */
8139
+ status: "completed";
8140
+ message: string;
8141
+ /** @constant */
8142
+ type: "listing";
8143
+ /** Format: uuid */
8144
+ listingId: string;
8145
+ } | {
8146
+ /** Format: uuid */
8147
+ id: string;
8148
+ /** @constant */
8149
+ status: "completed";
8150
+ message: string;
8151
+ /** @constant */
8152
+ type: "payout";
8153
+ /** Format: uuid */
8154
+ paymentId: string;
8155
+ }) | {
8156
+ /** Format: uuid */
8157
+ id: string;
8158
+ /** @constant */
8159
+ status: "failed";
8160
+ message: string;
8161
+ /** @enum {string} */
8162
+ type: "reservation" | "listing" | "payout";
8163
+ })[];
7456
8164
  };
7457
8165
  };
7458
8166
  /** @description Bad request */
@@ -7537,7 +8245,7 @@ export interface operations {
7537
8245
  };
7538
8246
  };
7539
8247
  };
7540
- getContactsCsv: {
8248
+ getContacts: {
7541
8249
  parameters: {
7542
8250
  query?: {
7543
8251
  search?: string;
@@ -7547,6 +8255,8 @@ export interface operations {
7547
8255
  isIndividual?: boolean;
7548
8256
  /** @description comma separated contact short refs */
7549
8257
  shortRefs?: string;
8258
+ limit?: number;
8259
+ page?: number;
7550
8260
  };
7551
8261
  header?: never;
7552
8262
  path?: never;
@@ -7561,7 +8271,62 @@ export interface operations {
7561
8271
  };
7562
8272
  content: {
7563
8273
  "application/json": {
7564
- url: string;
8274
+ data: {
8275
+ address?: {
8276
+ full?: string | null;
8277
+ line1?: string | null;
8278
+ line2?: string | null;
8279
+ city?: string | null;
8280
+ /** @description Deprecated, use stateCode instead */
8281
+ state?: string | null;
8282
+ postalCode?: string | null;
8283
+ stateCode?: string | null;
8284
+ countryCode?: string | null;
8285
+ } | null;
8286
+ /** @enum {string} */
8287
+ type: "owner" | "vendor";
8288
+ email?: string | null;
8289
+ firstName?: string | null;
8290
+ name?: string | null;
8291
+ phone?: string | null;
8292
+ connectionId?: string | null;
8293
+ companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
8294
+ taxIdentifier?: string | null;
8295
+ uniqueRef?: string | null;
8296
+ /** @enum {string} */
8297
+ status: "active" | "inactive" | "pending";
8298
+ payoutAccountId?: string | null;
8299
+ /** Format: uuid */
8300
+ id: string;
8301
+ shortRef?: string | null;
8302
+ source?: {
8303
+ /** Format: uuid */
8304
+ id: string;
8305
+ type: string;
8306
+ status?: ("active" | "inactive") | null;
8307
+ } | null;
8308
+ ownershipPeriods: {
8309
+ listingId: string;
8310
+ split: number;
8311
+ startAt?: string | null;
8312
+ endAt?: string | null;
8313
+ }[];
8314
+ activeOwnerships: {
8315
+ listingId: string;
8316
+ split: number;
8317
+ startAt?: string | null;
8318
+ endAt?: string | null;
8319
+ }[];
8320
+ }[];
8321
+ pagination: {
8322
+ /** @default 100 */
8323
+ limit: number;
8324
+ /** @default 1 */
8325
+ page: number;
8326
+ total: number;
8327
+ totalPage: number;
8328
+ nextPage?: number;
8329
+ };
7565
8330
  };
7566
8331
  };
7567
8332
  };
@@ -7647,16 +8412,44 @@ export interface operations {
7647
8412
  };
7648
8413
  };
7649
8414
  };
7650
- getContactsById: {
8415
+ postContacts: {
7651
8416
  parameters: {
7652
8417
  query?: never;
7653
8418
  header?: never;
7654
- path: {
7655
- id: string;
7656
- };
8419
+ path?: never;
7657
8420
  cookie?: never;
7658
8421
  };
7659
- requestBody?: never;
8422
+ requestBody?: {
8423
+ content: {
8424
+ "application/json": {
8425
+ address?: {
8426
+ full?: string | null;
8427
+ line1?: string | null;
8428
+ line2?: string | null;
8429
+ city?: string | null;
8430
+ /** @description Deprecated, use stateCode instead */
8431
+ state?: string | null;
8432
+ postalCode?: string | null;
8433
+ stateCode?: string | null;
8434
+ countryCode?: string | null;
8435
+ } | null;
8436
+ /** @enum {string} */
8437
+ type: "owner" | "vendor";
8438
+ email?: string | null;
8439
+ firstName?: string | null;
8440
+ name?: string | null;
8441
+ phone?: string | null;
8442
+ connectionId?: string | null;
8443
+ companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
8444
+ taxIdentifier?: string | null;
8445
+ sourceId?: string | null;
8446
+ uniqueRef?: string | null;
8447
+ status?: ("active" | "inactive") | null;
8448
+ payoutAccountId?: string | null;
8449
+ invite?: boolean | null;
8450
+ };
8451
+ };
8452
+ };
7660
8453
  responses: {
7661
8454
  /** @description Successful response */
7662
8455
  200: {
@@ -7795,53 +8588,19 @@ export interface operations {
7795
8588
  };
7796
8589
  };
7797
8590
  };
7798
- putContactsById: {
8591
+ postContactsBatch: {
7799
8592
  parameters: {
7800
8593
  query?: never;
7801
8594
  header?: never;
7802
- path: {
7803
- id: string;
7804
- };
8595
+ path?: never;
7805
8596
  cookie?: never;
7806
8597
  };
7807
8598
  requestBody?: {
7808
8599
  content: {
7809
8600
  "application/json": {
7810
- address?: {
7811
- full?: string | null;
7812
- line1?: string | null;
7813
- line2?: string | null;
7814
- city?: string | null;
7815
- /** @description Deprecated, use stateCode instead */
7816
- state?: string | null;
7817
- postalCode?: string | null;
7818
- stateCode?: string | null;
7819
- countryCode?: string | null;
7820
- } | null;
7821
- /** @enum {string} */
7822
- type?: "owner" | "vendor";
7823
- email?: string | null;
7824
- firstName?: string | null;
7825
- name?: string | null;
7826
- phone?: string | null;
7827
- connectionId?: string | null;
7828
- companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
7829
- taxIdentifier?: string | null;
7830
- sourceId?: string | null;
7831
- uniqueRef?: string | null;
7832
- status?: ("active" | "inactive") | null;
7833
- payoutAccountId?: string | null;
7834
- };
7835
- };
7836
- };
7837
- responses: {
7838
- /** @description Successful response */
7839
- 200: {
7840
- headers: {
7841
- [name: string]: unknown;
7842
- };
7843
- content: {
7844
- "application/json": {
8601
+ /** Format: uuid */
8602
+ connectionId: string;
8603
+ data: {
7845
8604
  address?: {
7846
8605
  full?: string | null;
7847
8606
  line1?: string | null;
@@ -7855,37 +8614,43 @@ export interface operations {
7855
8614
  } | null;
7856
8615
  /** @enum {string} */
7857
8616
  type: "owner" | "vendor";
7858
- email?: string | null;
7859
8617
  firstName?: string | null;
7860
8618
  name?: string | null;
7861
8619
  phone?: string | null;
7862
8620
  connectionId?: string | null;
7863
8621
  companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
7864
8622
  taxIdentifier?: string | null;
8623
+ sourceId?: string | null;
7865
8624
  uniqueRef?: string | null;
7866
- /** @enum {string} */
7867
- status: "active" | "inactive" | "pending";
8625
+ status?: ("active" | "inactive") | null;
7868
8626
  payoutAccountId?: string | null;
7869
- /** Format: uuid */
7870
- id: string;
7871
- shortRef?: string | null;
7872
- source?: {
8627
+ id?: string | null;
8628
+ email?: string | null;
8629
+ }[];
8630
+ };
8631
+ };
8632
+ };
8633
+ responses: {
8634
+ /** @description Successful response */
8635
+ 200: {
8636
+ headers: {
8637
+ [name: string]: unknown;
8638
+ };
8639
+ content: {
8640
+ "application/json": {
8641
+ data: {
7873
8642
  /** Format: uuid */
7874
8643
  id: string;
7875
- type: string;
7876
- status?: ("active" | "inactive") | null;
7877
- } | null;
7878
- ownershipPeriods: {
7879
- listingId: string;
7880
- split: number;
7881
- startAt?: string | null;
7882
- endAt?: string | null;
8644
+ uniqueRef?: string | null;
8645
+ sourceId?: string | null;
7883
8646
  }[];
7884
- activeOwnerships: {
7885
- listingId: string;
7886
- split: number;
7887
- startAt?: string | null;
7888
- endAt?: string | null;
8647
+ issues: {
8648
+ ref: string;
8649
+ sourceId?: string | null;
8650
+ message: string;
8651
+ /** @enum {string} */
8652
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
8653
+ context?: unknown;
7889
8654
  }[];
7890
8655
  };
7891
8656
  };
@@ -7972,22 +8737,22 @@ export interface operations {
7972
8737
  };
7973
8738
  };
7974
8739
  };
7975
- deleteContactsById: {
8740
+ getContactsCsv: {
7976
8741
  parameters: {
7977
8742
  query?: {
7978
- onLocked?: "error" | "archive";
8743
+ search?: string;
8744
+ status?: "active" | "inactive" | "pending";
8745
+ type?: "owner" | "vendor";
8746
+ companyType?: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
8747
+ isIndividual?: boolean;
8748
+ /** @description comma separated contact short refs */
8749
+ shortRefs?: string;
7979
8750
  };
7980
8751
  header?: never;
7981
- path: {
7982
- id: string;
7983
- };
8752
+ path?: never;
7984
8753
  cookie?: never;
7985
8754
  };
7986
- requestBody?: {
7987
- content: {
7988
- "application/json": Record<string, never>;
7989
- };
7990
- };
8755
+ requestBody?: never;
7991
8756
  responses: {
7992
8757
  /** @description Successful response */
7993
8758
  200: {
@@ -7996,8 +8761,7 @@ export interface operations {
7996
8761
  };
7997
8762
  content: {
7998
8763
  "application/json": {
7999
- /** @enum {string} */
8000
- status: "deleted" | "archived";
8764
+ url: string;
8001
8765
  };
8002
8766
  };
8003
8767
  };
@@ -8083,7 +8847,7 @@ export interface operations {
8083
8847
  };
8084
8848
  };
8085
8849
  };
8086
- postContactsByIdInvite: {
8850
+ getContactsById: {
8087
8851
  parameters: {
8088
8852
  query?: never;
8089
8853
  header?: never;
@@ -8092,14 +8856,7 @@ export interface operations {
8092
8856
  };
8093
8857
  cookie?: never;
8094
8858
  };
8095
- requestBody?: {
8096
- content: {
8097
- "application/json": {
8098
- /** @default true */
8099
- email?: boolean | null;
8100
- };
8101
- };
8102
- };
8859
+ requestBody?: never;
8103
8860
  responses: {
8104
8861
  /** @description Successful response */
8105
8862
  200: {
@@ -8108,7 +8865,51 @@ export interface operations {
8108
8865
  };
8109
8866
  content: {
8110
8867
  "application/json": {
8111
- url: string;
8868
+ address?: {
8869
+ full?: string | null;
8870
+ line1?: string | null;
8871
+ line2?: string | null;
8872
+ city?: string | null;
8873
+ /** @description Deprecated, use stateCode instead */
8874
+ state?: string | null;
8875
+ postalCode?: string | null;
8876
+ stateCode?: string | null;
8877
+ countryCode?: string | null;
8878
+ } | null;
8879
+ /** @enum {string} */
8880
+ type: "owner" | "vendor";
8881
+ email?: string | null;
8882
+ firstName?: string | null;
8883
+ name?: string | null;
8884
+ phone?: string | null;
8885
+ connectionId?: string | null;
8886
+ companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
8887
+ taxIdentifier?: string | null;
8888
+ uniqueRef?: string | null;
8889
+ /** @enum {string} */
8890
+ status: "active" | "inactive" | "pending";
8891
+ payoutAccountId?: string | null;
8892
+ /** Format: uuid */
8893
+ id: string;
8894
+ shortRef?: string | null;
8895
+ source?: {
8896
+ /** Format: uuid */
8897
+ id: string;
8898
+ type: string;
8899
+ status?: ("active" | "inactive") | null;
8900
+ } | null;
8901
+ ownershipPeriods: {
8902
+ listingId: string;
8903
+ split: number;
8904
+ startAt?: string | null;
8905
+ endAt?: string | null;
8906
+ }[];
8907
+ activeOwnerships: {
8908
+ listingId: string;
8909
+ split: number;
8910
+ startAt?: string | null;
8911
+ endAt?: string | null;
8912
+ }[];
8112
8913
  };
8113
8914
  };
8114
8915
  };
@@ -8194,7 +8995,7 @@ export interface operations {
8194
8995
  };
8195
8996
  };
8196
8997
  };
8197
- patchContactsByIdRevokeAccess: {
8998
+ putContactsById: {
8198
8999
  parameters: {
8199
9000
  query?: never;
8200
9001
  header?: never;
@@ -8205,7 +9006,32 @@ export interface operations {
8205
9006
  };
8206
9007
  requestBody?: {
8207
9008
  content: {
8208
- "application/json": Record<string, never>;
9009
+ "application/json": {
9010
+ address?: {
9011
+ full?: string | null;
9012
+ line1?: string | null;
9013
+ line2?: string | null;
9014
+ city?: string | null;
9015
+ /** @description Deprecated, use stateCode instead */
9016
+ state?: string | null;
9017
+ postalCode?: string | null;
9018
+ stateCode?: string | null;
9019
+ countryCode?: string | null;
9020
+ } | null;
9021
+ /** @enum {string} */
9022
+ type?: "owner" | "vendor";
9023
+ email?: string | null;
9024
+ firstName?: string | null;
9025
+ name?: string | null;
9026
+ phone?: string | null;
9027
+ connectionId?: string | null;
9028
+ companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
9029
+ taxIdentifier?: string | null;
9030
+ sourceId?: string | null;
9031
+ uniqueRef?: string | null;
9032
+ status?: ("active" | "inactive") | null;
9033
+ payoutAccountId?: string | null;
9034
+ };
8209
9035
  };
8210
9036
  };
8211
9037
  responses: {
@@ -8216,8 +9042,51 @@ export interface operations {
8216
9042
  };
8217
9043
  content: {
8218
9044
  "application/json": {
8219
- deletedAccess: number;
8220
- deletedUsers: number;
9045
+ address?: {
9046
+ full?: string | null;
9047
+ line1?: string | null;
9048
+ line2?: string | null;
9049
+ city?: string | null;
9050
+ /** @description Deprecated, use stateCode instead */
9051
+ state?: string | null;
9052
+ postalCode?: string | null;
9053
+ stateCode?: string | null;
9054
+ countryCode?: string | null;
9055
+ } | null;
9056
+ /** @enum {string} */
9057
+ type: "owner" | "vendor";
9058
+ email?: string | null;
9059
+ firstName?: string | null;
9060
+ name?: string | null;
9061
+ phone?: string | null;
9062
+ connectionId?: string | null;
9063
+ companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
9064
+ taxIdentifier?: string | null;
9065
+ uniqueRef?: string | null;
9066
+ /** @enum {string} */
9067
+ status: "active" | "inactive" | "pending";
9068
+ payoutAccountId?: string | null;
9069
+ /** Format: uuid */
9070
+ id: string;
9071
+ shortRef?: string | null;
9072
+ source?: {
9073
+ /** Format: uuid */
9074
+ id: string;
9075
+ type: string;
9076
+ status?: ("active" | "inactive") | null;
9077
+ } | null;
9078
+ ownershipPeriods: {
9079
+ listingId: string;
9080
+ split: number;
9081
+ startAt?: string | null;
9082
+ endAt?: string | null;
9083
+ }[];
9084
+ activeOwnerships: {
9085
+ listingId: string;
9086
+ split: number;
9087
+ startAt?: string | null;
9088
+ endAt?: string | null;
9089
+ }[];
8221
9090
  };
8222
9091
  };
8223
9092
  };
@@ -8303,23 +9172,20 @@ export interface operations {
8303
9172
  };
8304
9173
  };
8305
9174
  };
8306
- csvImport: {
9175
+ deleteContactsById: {
8307
9176
  parameters: {
8308
- query?: never;
9177
+ query?: {
9178
+ onLocked?: "error" | "archive";
9179
+ };
8309
9180
  header?: never;
8310
- path?: never;
9181
+ path: {
9182
+ id: string;
9183
+ };
8311
9184
  cookie?: never;
8312
9185
  };
8313
9186
  requestBody?: {
8314
9187
  content: {
8315
- "application/json": {
8316
- fileData?: string;
8317
- fileUri?: string;
8318
- fileName?: string;
8319
- connectionId: string;
8320
- uniqueRef: string;
8321
- params?: unknown;
8322
- };
9188
+ "application/json": Record<string, never>;
8323
9189
  };
8324
9190
  };
8325
9191
  responses: {
@@ -8330,20 +9196,8 @@ export interface operations {
8330
9196
  };
8331
9197
  content: {
8332
9198
  "application/json": {
8333
- data: {
8334
- syncId: string;
8335
- /** @enum {string} */
8336
- status: "completed";
8337
- } | {
8338
- /** @enum {string} */
8339
- status: "failed";
8340
- syncId: string;
8341
- error: string;
8342
- parseErrors?: {
8343
- rowNumber: number;
8344
- message: string;
8345
- }[];
8346
- };
9199
+ /** @enum {string} */
9200
+ status: "deleted" | "archived";
8347
9201
  };
8348
9202
  };
8349
9203
  };
@@ -8429,24 +9283,23 @@ export interface operations {
8429
9283
  };
8430
9284
  };
8431
9285
  };
8432
- getDispatch: {
9286
+ postContactsByIdInvite: {
8433
9287
  parameters: {
8434
- query?: {
8435
- limit?: number;
8436
- offset?: number;
8437
- startDate?: string;
8438
- endDate?: string;
8439
- actionType?: string;
8440
- entityId?: string;
8441
- entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
8442
- includeIfNoEffects?: boolean;
8443
- page?: number;
8444
- };
9288
+ query?: never;
8445
9289
  header?: never;
8446
- path?: never;
9290
+ path: {
9291
+ id: string;
9292
+ };
8447
9293
  cookie?: never;
8448
9294
  };
8449
- requestBody?: never;
9295
+ requestBody?: {
9296
+ content: {
9297
+ "application/json": {
9298
+ /** @default true */
9299
+ email?: boolean | null;
9300
+ };
9301
+ };
9302
+ };
8450
9303
  responses: {
8451
9304
  /** @description Successful response */
8452
9305
  200: {
@@ -8455,36 +9308,7 @@ export interface operations {
8455
9308
  };
8456
9309
  content: {
8457
9310
  "application/json": {
8458
- data: {
8459
- /** Format: uuid */
8460
- id: string;
8461
- /** Format: uuid */
8462
- tenantId: string;
8463
- actionType: string;
8464
- message: string | null;
8465
- payload: unknown;
8466
- userId: string | null;
8467
- createdAt: string;
8468
- effectCounts: {
8469
- total: number;
8470
- pending: number;
8471
- claimed: number;
8472
- running: number;
8473
- completed: number;
8474
- failed: number;
8475
- deadLetter: number;
8476
- };
8477
- apiEndpoint: string | null;
8478
- }[];
8479
- pagination: {
8480
- /** @default 100 */
8481
- limit: number;
8482
- /** @default 1 */
8483
- page: number;
8484
- total: number;
8485
- totalPage: number;
8486
- nextPage?: number;
8487
- };
9311
+ url: string;
8488
9312
  };
8489
9313
  };
8490
9314
  };
@@ -8570,23 +9394,20 @@ export interface operations {
8570
9394
  };
8571
9395
  };
8572
9396
  };
8573
- getDispatchEffects: {
9397
+ patchContactsByIdRevokeAccess: {
8574
9398
  parameters: {
8575
- query?: {
8576
- limit?: number;
8577
- offset?: number;
8578
- dispatchId?: string;
8579
- entityId?: string;
8580
- entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
8581
- status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
8582
- effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
8583
- page?: number;
8584
- };
9399
+ query?: never;
8585
9400
  header?: never;
8586
- path?: never;
9401
+ path: {
9402
+ id: string;
9403
+ };
8587
9404
  cookie?: never;
8588
9405
  };
8589
- requestBody?: never;
9406
+ requestBody?: {
9407
+ content: {
9408
+ "application/json": Record<string, never>;
9409
+ };
9410
+ };
8590
9411
  responses: {
8591
9412
  /** @description Successful response */
8592
9413
  200: {
@@ -8595,154 +9416,8 @@ export interface operations {
8595
9416
  };
8596
9417
  content: {
8597
9418
  "application/json": {
8598
- data: {
8599
- /** Format: uuid */
8600
- id: string;
8601
- dispatchedAction: {
8602
- /** Format: uuid */
8603
- id: string;
8604
- actionType: string;
8605
- apiEndpoint: string | null;
8606
- };
8607
- /** @enum {string} */
8608
- effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
8609
- payload: unknown;
8610
- entity: ({
8611
- /** @constant */
8612
- type: "reservation";
8613
- data: {
8614
- id: string;
8615
- confirmationCode?: string | null;
8616
- uniqueRef: string;
8617
- /** @enum {string} */
8618
- status: "booked" | "canceled" | "inactive";
8619
- checkIn?: string | null;
8620
- checkOut?: string | null;
8621
- };
8622
- } | {
8623
- /** @constant */
8624
- type: "transaction";
8625
- data: {
8626
- id: string;
8627
- /** @enum {string} */
8628
- status: "active" | "inactive";
8629
- /** @description Value in cents (100 = 1€) */
8630
- amount: number;
8631
- account?: {
8632
- id: string;
8633
- name: string;
8634
- uniqueRef?: string | null;
8635
- /** @enum {string} */
8636
- status: "active" | "inactive";
8637
- } | null;
8638
- date: string;
8639
- description: string;
8640
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
8641
- currency: string;
8642
- /** @enum {string} */
8643
- type: "deposit" | "expense" | "transfer";
8644
- isOpeningBalance: boolean;
8645
- contact?: {
8646
- /** Format: uuid */
8647
- id: string;
8648
- name?: string | null;
8649
- firstName?: string | null;
8650
- uniqueRef?: string | null;
8651
- shortRef?: string | null;
8652
- } | null;
8653
- connection?: {
8654
- /** Format: uuid */
8655
- id: string;
8656
- name: string;
8657
- /** @enum {string} */
8658
- status: "active" | "inactive";
8659
- uniqueRef?: string | null;
8660
- appId: string;
8661
- } | null;
8662
- uniqueRef?: string | null;
8663
- shortRef?: string | null;
8664
- recurringTemplate?: {
8665
- id: string;
8666
- } | null;
8667
- };
8668
- } | {
8669
- /** @constant */
8670
- type: "recurringTransactionTemplate";
8671
- data: {
8672
- id: string;
8673
- /** @enum {string} */
8674
- status: "active" | "inactive";
8675
- /** @description Value in cents (100 = 1€) */
8676
- amount: number;
8677
- account?: {
8678
- id: string;
8679
- name: string;
8680
- uniqueRef?: string | null;
8681
- /** @enum {string} */
8682
- status: "active" | "inactive";
8683
- } | null;
8684
- date: string;
8685
- description: string;
8686
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
8687
- currency: string;
8688
- /** @enum {string} */
8689
- type: "deposit" | "expense" | "transfer";
8690
- isOpeningBalance: boolean;
8691
- contact?: {
8692
- /** Format: uuid */
8693
- id: string;
8694
- name?: string | null;
8695
- firstName?: string | null;
8696
- uniqueRef?: string | null;
8697
- shortRef?: string | null;
8698
- } | null;
8699
- connection?: {
8700
- /** Format: uuid */
8701
- id: string;
8702
- name: string;
8703
- /** @enum {string} */
8704
- status: "active" | "inactive";
8705
- uniqueRef?: string | null;
8706
- appId: string;
8707
- } | null;
8708
- uniqueRef?: string | null;
8709
- shortRef?: string | null;
8710
- recurringTemplate?: {
8711
- id: string;
8712
- } | null;
8713
- };
8714
- } | {
8715
- /** @constant */
8716
- type: "other";
8717
- data: {
8718
- /** Format: uuid */
8719
- id: string;
8720
- type: string;
8721
- name: string | null;
8722
- };
8723
- }) | null;
8724
- /** @enum {string} */
8725
- status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
8726
- priority: number;
8727
- retryCount: number;
8728
- maxRetries: number;
8729
- sequence: number;
8730
- claimedAt: string | null;
8731
- claimedBy: string | null;
8732
- completedAt: string | null;
8733
- lastAttemptAt: string | null;
8734
- lastError: string | null;
8735
- createdAt: string;
8736
- }[];
8737
- pagination: {
8738
- /** @default 100 */
8739
- limit: number;
8740
- /** @default 1 */
8741
- page: number;
8742
- total: number;
8743
- totalPage: number;
8744
- nextPage?: number;
8745
- };
9419
+ deletedAccess: number;
9420
+ deletedUsers: number;
8746
9421
  };
8747
9422
  };
8748
9423
  };
@@ -8828,16 +9503,25 @@ export interface operations {
8828
9503
  };
8829
9504
  };
8830
9505
  };
8831
- getDispatchById: {
9506
+ csvImport: {
8832
9507
  parameters: {
8833
9508
  query?: never;
8834
9509
  header?: never;
8835
- path: {
8836
- id: string;
8837
- };
9510
+ path?: never;
8838
9511
  cookie?: never;
8839
9512
  };
8840
- requestBody?: never;
9513
+ requestBody?: {
9514
+ content: {
9515
+ "application/json": {
9516
+ fileData?: string;
9517
+ fileUri?: string;
9518
+ fileName?: string;
9519
+ connectionId: string;
9520
+ uniqueRef: string;
9521
+ params?: unknown;
9522
+ };
9523
+ };
9524
+ };
8841
9525
  responses: {
8842
9526
  /** @description Successful response */
8843
9527
  200: {
@@ -8846,25 +9530,20 @@ export interface operations {
8846
9530
  };
8847
9531
  content: {
8848
9532
  "application/json": {
8849
- /** Format: uuid */
8850
- id: string;
8851
- /** Format: uuid */
8852
- tenantId: string;
8853
- actionType: string;
8854
- message: string | null;
8855
- payload: unknown;
8856
- userId: string | null;
8857
- createdAt: string;
8858
- effectCounts: {
8859
- total: number;
8860
- pending: number;
8861
- claimed: number;
8862
- running: number;
8863
- completed: number;
8864
- failed: number;
8865
- deadLetter: number;
9533
+ data: {
9534
+ syncId: string;
9535
+ /** @enum {string} */
9536
+ status: "completed";
9537
+ } | {
9538
+ /** @enum {string} */
9539
+ status: "failed";
9540
+ syncId: string;
9541
+ error: string;
9542
+ parseErrors?: {
9543
+ rowNumber: number;
9544
+ message: string;
9545
+ }[];
8866
9546
  };
8867
- apiEndpoint: string | null;
8868
9547
  };
8869
9548
  };
8870
9549
  };
@@ -28618,11 +29297,16 @@ export interface operations {
28618
29297
  };
28619
29298
  getStatementsPdfBatch: {
28620
29299
  parameters: {
28621
- query: {
29300
+ query?: {
28622
29301
  /** @description comma separated ownership periods */
28623
- ownershipPeriodIds: string;
29302
+ ownershipPeriodIds?: string;
28624
29303
  /** @description Date in format YYYY-MM */
28625
- month: string;
29304
+ month?: string;
29305
+ listingId?: string;
29306
+ /** @description Date in format YYYY-MM */
29307
+ startMonth?: string;
29308
+ /** @description Date in format YYYY-MM */
29309
+ endMonth?: string;
28626
29310
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
28627
29311
  currency?: string;
28628
29312
  };