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