@vrplatform/api 1.3.1-1970 → 1.3.1-1981

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -125,6 +125,108 @@ export interface paths {
125
125
  patch?: never;
126
126
  trace?: never;
127
127
  };
128
+ "/audit/actions": {
129
+ parameters: {
130
+ query?: never;
131
+ header?: never;
132
+ path?: never;
133
+ cookie?: never;
134
+ };
135
+ /** @description List audit actions with optional filters. Use entityId/entityType to find rows related to a specific entity. */
136
+ get: operations["getAuditActions"];
137
+ put?: never;
138
+ post?: never;
139
+ delete?: never;
140
+ options?: never;
141
+ head?: never;
142
+ patch?: never;
143
+ trace?: never;
144
+ };
145
+ "/audit/actions/{id}": {
146
+ parameters: {
147
+ query?: never;
148
+ header?: never;
149
+ path?: never;
150
+ cookie?: never;
151
+ };
152
+ /** @description Retrieve an audit action and aggregated effect counts. */
153
+ get: operations["getAuditActionsById"];
154
+ put?: never;
155
+ post?: never;
156
+ delete?: never;
157
+ options?: never;
158
+ head?: never;
159
+ patch?: never;
160
+ trace?: never;
161
+ };
162
+ "/audit/effects": {
163
+ parameters: {
164
+ query?: never;
165
+ header?: never;
166
+ path?: never;
167
+ cookie?: never;
168
+ };
169
+ /** @description List audit effects with optional filters by action/entity/status/type. */
170
+ get: operations["getAuditEffects"];
171
+ put?: never;
172
+ post?: never;
173
+ delete?: never;
174
+ options?: never;
175
+ head?: never;
176
+ patch?: never;
177
+ trace?: never;
178
+ };
179
+ "/audit/journal-deltas": {
180
+ parameters: {
181
+ query?: never;
182
+ header?: never;
183
+ path?: never;
184
+ cookie?: never;
185
+ };
186
+ /** @description List journal delta audit rows with optional filters for action/effect/mutation/journal entry. */
187
+ get: operations["getAuditJournalDeltas"];
188
+ put?: never;
189
+ post?: never;
190
+ delete?: never;
191
+ options?: never;
192
+ head?: never;
193
+ patch?: never;
194
+ trace?: never;
195
+ };
196
+ "/audit/mutations": {
197
+ parameters: {
198
+ query?: never;
199
+ header?: never;
200
+ path?: never;
201
+ cookie?: never;
202
+ };
203
+ /** @description List mutation audit rows with filters for action/effect/entity/op/outcome and date range. */
204
+ get: operations["getAuditMutations"];
205
+ put?: never;
206
+ post?: never;
207
+ delete?: never;
208
+ options?: never;
209
+ head?: never;
210
+ patch?: never;
211
+ trace?: never;
212
+ };
213
+ "/audit/timeline": {
214
+ parameters: {
215
+ query?: never;
216
+ header?: never;
217
+ path?: never;
218
+ cookie?: never;
219
+ };
220
+ /** @description List a unified audit timeline for a root entity across actions/effects/attempts/mutations/journal deltas. */
221
+ get: operations["getAuditTimeline"];
222
+ put?: never;
223
+ post?: never;
224
+ delete?: never;
225
+ options?: never;
226
+ head?: never;
227
+ patch?: never;
228
+ trace?: never;
229
+ };
128
230
  "/bank-accounts/batch": {
129
231
  parameters: {
130
232
  query?: never;
@@ -489,57 +591,6 @@ export interface paths {
489
591
  patch?: never;
490
592
  trace?: never;
491
593
  };
492
- "/dispatch": {
493
- parameters: {
494
- query?: never;
495
- header?: never;
496
- path?: never;
497
- cookie?: never;
498
- };
499
- /** @description List dispatched actions with optional filters. Use entityId to find dispatches related to a specific entity. */
500
- get: operations["getDispatch"];
501
- put?: never;
502
- post?: never;
503
- delete?: never;
504
- options?: never;
505
- head?: never;
506
- patch?: never;
507
- trace?: never;
508
- };
509
- "/dispatch/effects": {
510
- parameters: {
511
- query?: never;
512
- header?: never;
513
- path?: never;
514
- cookie?: never;
515
- };
516
- /** @description List effects with optional filters by dispatch ID, entity ID, entity type, or status. */
517
- get: operations["getDispatchEffects"];
518
- put?: never;
519
- post?: never;
520
- delete?: never;
521
- options?: never;
522
- head?: never;
523
- patch?: never;
524
- trace?: never;
525
- };
526
- "/dispatch/{id}": {
527
- parameters: {
528
- query?: never;
529
- header?: never;
530
- path?: never;
531
- cookie?: never;
532
- };
533
- /** @description Retrieve a dispatched action and queued effects for progress tracking */
534
- get: operations["getDispatchById"];
535
- put?: never;
536
- post?: never;
537
- delete?: never;
538
- options?: never;
539
- head?: never;
540
- patch?: never;
541
- trace?: never;
542
- };
543
594
  "/flows": {
544
595
  parameters: {
545
596
  query?: never;
@@ -1913,7 +1964,7 @@ export interface paths {
1913
1964
  path?: never;
1914
1965
  cookie?: never;
1915
1966
  };
1916
- /** @description Get Statements List. Get Statements, either by year/dateRange + a single listing/owner or by month */
1967
+ /** @description Get Statements List. Get Statements, either by year or dateRange + a single listing or owner or by month */
1917
1968
  get: operations["getStatements"];
1918
1969
  put?: never;
1919
1970
  /** @description Create Statements */
@@ -2053,7 +2104,7 @@ export interface paths {
2053
2104
  path?: never;
2054
2105
  cookie?: never;
2055
2106
  };
2056
- /** @description Get Owner Statements ZIP for a month */
2107
+ /** @description Get Owner Statements ZIP by month or listing month range */
2057
2108
  get: operations["getStatementsPdfBatch"];
2058
2109
  put?: never;
2059
2110
  post?: never;
@@ -2133,6 +2184,23 @@ export interface paths {
2133
2184
  patch?: never;
2134
2185
  trace?: never;
2135
2186
  };
2187
+ "/sync/resolve": {
2188
+ parameters: {
2189
+ query?: never;
2190
+ header?: never;
2191
+ path?: never;
2192
+ cookie?: never;
2193
+ };
2194
+ get?: never;
2195
+ put?: never;
2196
+ /** @description Resolve canonical entity ID by source identity */
2197
+ post: operations["resolveSyncEntity"];
2198
+ delete?: never;
2199
+ options?: never;
2200
+ head?: never;
2201
+ patch?: never;
2202
+ trace?: never;
2203
+ };
2136
2204
  "/syncs": {
2137
2205
  parameters: {
2138
2206
  query?: never;
@@ -2238,6 +2306,23 @@ export interface paths {
2238
2306
  patch?: never;
2239
2307
  trace?: never;
2240
2308
  };
2309
+ "/teams/issues": {
2310
+ parameters: {
2311
+ query?: never;
2312
+ header?: never;
2313
+ path?: never;
2314
+ cookie?: never;
2315
+ };
2316
+ /** @description Get issue summary across one or more teams */
2317
+ get: operations["getTeamsIssues"];
2318
+ put?: never;
2319
+ post?: never;
2320
+ delete?: never;
2321
+ options?: never;
2322
+ head?: never;
2323
+ patch?: never;
2324
+ trace?: never;
2325
+ };
2241
2326
  "/teams/opening-balances/advanced-deposits": {
2242
2327
  parameters: {
2243
2328
  query?: never;
@@ -2361,6 +2446,23 @@ export interface paths {
2361
2446
  patch: operations["patchTeamsByIdInit"];
2362
2447
  trace?: never;
2363
2448
  };
2449
+ "/teams/{id}/issues": {
2450
+ parameters: {
2451
+ query?: never;
2452
+ header?: never;
2453
+ path?: never;
2454
+ cookie?: never;
2455
+ };
2456
+ /** @description Get issue summary for a single team */
2457
+ get: operations["getTeamsByIdIssues"];
2458
+ put?: never;
2459
+ post?: never;
2460
+ delete?: never;
2461
+ options?: never;
2462
+ head?: never;
2463
+ patch?: never;
2464
+ trace?: never;
2465
+ };
2364
2466
  "/transaction-attachments": {
2365
2467
  parameters: {
2366
2468
  query?: never;
@@ -2403,6 +2505,7 @@ export interface paths {
2403
2505
  path?: never;
2404
2506
  cookie?: never;
2405
2507
  };
2508
+ /** @description Download an expense attachment */
2406
2509
  get: operations["getTransactionAttachmentsByAttachmentIdDownload"];
2407
2510
  put?: never;
2408
2511
  post?: never;
@@ -4472,35 +4575,24 @@ export interface operations {
4472
4575
  };
4473
4576
  };
4474
4577
  };
4475
- batchBankAccounts: {
4578
+ getAuditActions: {
4476
4579
  parameters: {
4477
- query?: never;
4580
+ query?: {
4581
+ limit?: number;
4582
+ offset?: number;
4583
+ startDate?: string;
4584
+ endDate?: string;
4585
+ actionType?: string;
4586
+ entityId?: string;
4587
+ entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
4588
+ includeIfNoEffects?: boolean;
4589
+ page?: number;
4590
+ };
4478
4591
  header?: never;
4479
4592
  path?: never;
4480
4593
  cookie?: never;
4481
4594
  };
4482
- requestBody?: {
4483
- content: {
4484
- "application/json": {
4485
- /** Format: uuid */
4486
- connectionId: string;
4487
- data: {
4488
- id?: string | null;
4489
- /** @enum {string} */
4490
- type: "deposit" | "creditCard";
4491
- /** @enum {string} */
4492
- category: "trust" | "operating" | "external";
4493
- name: string;
4494
- uniqueRef?: string | null;
4495
- sourceId?: string | null;
4496
- currency?: string | null;
4497
- lastDigits?: string | null;
4498
- status?: ("active" | "inactive") | null;
4499
- accountId?: string | null;
4500
- }[];
4501
- };
4502
- };
4503
- };
4595
+ requestBody?: never;
4504
4596
  responses: {
4505
4597
  /** @description Successful response */
4506
4598
  200: {
@@ -4512,17 +4604,45 @@ export interface operations {
4512
4604
  data: {
4513
4605
  /** Format: uuid */
4514
4606
  id: string;
4515
- uniqueRef?: string | null;
4516
- sourceId?: string | null;
4517
- }[];
4518
- issues: {
4519
- ref: string;
4520
- sourceId?: string | null;
4521
- message: string;
4522
- /** @enum {string} */
4523
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
4524
- context?: unknown;
4607
+ /** Format: uuid */
4608
+ tenantId: string;
4609
+ actionType: string;
4610
+ rootEntityType: string | null;
4611
+ rootEntityId: string | null;
4612
+ message: string | null;
4613
+ payload: unknown;
4614
+ userId: string | null;
4615
+ actor: {
4616
+ id: string | null;
4617
+ type: string;
4618
+ name: string | null;
4619
+ email: string | null;
4620
+ };
4621
+ createdAt: string;
4622
+ source: string | null;
4623
+ apiVersion: string;
4624
+ requestId: string | null;
4625
+ traceId: string | null;
4626
+ parentActionId: string | null;
4627
+ effectCounts: {
4628
+ total: number;
4629
+ pending: number;
4630
+ claimed: number;
4631
+ running: number;
4632
+ completed: number;
4633
+ failed: number;
4634
+ deadLetter: number;
4635
+ };
4525
4636
  }[];
4637
+ pagination: {
4638
+ /** @default 100 */
4639
+ limit: number;
4640
+ /** @default 1 */
4641
+ page: number;
4642
+ total: number;
4643
+ totalPage: number;
4644
+ nextPage?: number;
4645
+ };
4526
4646
  };
4527
4647
  };
4528
4648
  };
@@ -4608,7 +4728,7 @@ export interface operations {
4608
4728
  };
4609
4729
  };
4610
4730
  };
4611
- updateBankAccount: {
4731
+ getAuditActionsById: {
4612
4732
  parameters: {
4613
4733
  query?: never;
4614
4734
  header?: never;
@@ -4617,23 +4737,7 @@ export interface operations {
4617
4737
  };
4618
4738
  cookie?: never;
4619
4739
  };
4620
- requestBody?: {
4621
- content: {
4622
- "application/json": {
4623
- /** @enum {string} */
4624
- type?: "deposit" | "creditCard";
4625
- /** @enum {string} */
4626
- category?: "trust" | "operating" | "external";
4627
- name?: string;
4628
- uniqueRef?: string | null;
4629
- sourceId?: string | null;
4630
- currency?: string | null;
4631
- lastDigits?: string | null;
4632
- status?: ("active" | "inactive") | null;
4633
- accountId?: string | null;
4634
- };
4635
- };
4636
- };
4740
+ requestBody?: never;
4637
4741
  responses: {
4638
4742
  /** @description Successful response */
4639
4743
  200: {
@@ -4644,28 +4748,1176 @@ export interface operations {
4644
4748
  "application/json": {
4645
4749
  /** Format: uuid */
4646
4750
  id: string;
4647
- /** @enum {string} */
4648
- type: "deposit" | "creditCard";
4649
- /** @enum {string} */
4650
- category: "trust" | "operating" | "external";
4651
- name: string;
4652
- uniqueRef?: string | null;
4653
- currency?: string | null;
4654
- lastDigits?: string | null;
4655
- status: ("active" | "inactive") | null;
4656
- account?: {
4657
- id: string;
4658
- name: string;
4659
- uniqueRef?: string | null;
4660
- /** @enum {string} */
4661
- status: "active" | "inactive";
4662
- } | null;
4663
- source?: {
4664
- /** Format: uuid */
4665
- id: string;
4751
+ /** Format: uuid */
4752
+ tenantId: string;
4753
+ actionType: string;
4754
+ rootEntityType: string | null;
4755
+ rootEntityId: string | null;
4756
+ message: string | null;
4757
+ payload: unknown;
4758
+ userId: string | null;
4759
+ actor: {
4760
+ id: string | null;
4666
4761
  type: string;
4667
- status?: ("active" | "inactive") | null;
4668
- } | null;
4762
+ name: string | null;
4763
+ email: string | null;
4764
+ };
4765
+ createdAt: string;
4766
+ source: string | null;
4767
+ apiVersion: string;
4768
+ requestId: string | null;
4769
+ traceId: string | null;
4770
+ parentActionId: string | null;
4771
+ effectCounts: {
4772
+ total: number;
4773
+ pending: number;
4774
+ claimed: number;
4775
+ running: number;
4776
+ completed: number;
4777
+ failed: number;
4778
+ deadLetter: number;
4779
+ };
4780
+ };
4781
+ };
4782
+ };
4783
+ /** @description Bad request */
4784
+ 400: {
4785
+ headers: {
4786
+ [name: string]: unknown;
4787
+ };
4788
+ content: {
4789
+ "application/json": {
4790
+ code: string;
4791
+ message: string;
4792
+ issues?: {
4793
+ message: string;
4794
+ }[];
4795
+ context?: unknown;
4796
+ };
4797
+ };
4798
+ };
4799
+ /** @description Unauthorized */
4800
+ 401: {
4801
+ headers: {
4802
+ [name: string]: unknown;
4803
+ };
4804
+ content: {
4805
+ "application/json": {
4806
+ code: string;
4807
+ message: string;
4808
+ issues?: {
4809
+ message: string;
4810
+ }[];
4811
+ context?: unknown;
4812
+ };
4813
+ };
4814
+ };
4815
+ /** @description Forbidden */
4816
+ 403: {
4817
+ headers: {
4818
+ [name: string]: unknown;
4819
+ };
4820
+ content: {
4821
+ "application/json": {
4822
+ code: string;
4823
+ message: string;
4824
+ issues?: {
4825
+ message: string;
4826
+ }[];
4827
+ context?: unknown;
4828
+ };
4829
+ };
4830
+ };
4831
+ /** @description Not found */
4832
+ 404: {
4833
+ headers: {
4834
+ [name: string]: unknown;
4835
+ };
4836
+ content: {
4837
+ "application/json": {
4838
+ code: string;
4839
+ message: string;
4840
+ issues?: {
4841
+ message: string;
4842
+ }[];
4843
+ context?: unknown;
4844
+ };
4845
+ };
4846
+ };
4847
+ /** @description Internal server error */
4848
+ 500: {
4849
+ headers: {
4850
+ [name: string]: unknown;
4851
+ };
4852
+ content: {
4853
+ "application/json": {
4854
+ code: string;
4855
+ message: string;
4856
+ issues?: {
4857
+ message: string;
4858
+ }[];
4859
+ context?: unknown;
4860
+ };
4861
+ };
4862
+ };
4863
+ };
4864
+ };
4865
+ getAuditEffects: {
4866
+ parameters: {
4867
+ query?: {
4868
+ limit?: number;
4869
+ offset?: number;
4870
+ actionId?: string;
4871
+ entityId?: string;
4872
+ entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
4873
+ status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
4874
+ 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";
4875
+ page?: number;
4876
+ };
4877
+ header?: never;
4878
+ path?: never;
4879
+ cookie?: never;
4880
+ };
4881
+ requestBody?: never;
4882
+ responses: {
4883
+ /** @description Successful response */
4884
+ 200: {
4885
+ headers: {
4886
+ [name: string]: unknown;
4887
+ };
4888
+ content: {
4889
+ "application/json": {
4890
+ data: {
4891
+ /** Format: uuid */
4892
+ id: string;
4893
+ action: {
4894
+ /** Format: uuid */
4895
+ id: string;
4896
+ actionType: string;
4897
+ source: string | null;
4898
+ apiVersion: string;
4899
+ requestId: string | null;
4900
+ traceId: string | null;
4901
+ parentActionId: string | null;
4902
+ actor: {
4903
+ id: string | null;
4904
+ type: string;
4905
+ name: string | null;
4906
+ email: string | null;
4907
+ };
4908
+ };
4909
+ rootEntityType: string | null;
4910
+ rootEntityId: string | null;
4911
+ /** @enum {string} */
4912
+ 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";
4913
+ payload: unknown;
4914
+ entity: ({
4915
+ /** @constant */
4916
+ type: "reservation";
4917
+ data: {
4918
+ id: string;
4919
+ confirmationCode?: string | null;
4920
+ uniqueRef: string;
4921
+ /** @enum {string} */
4922
+ status: "booked" | "canceled" | "inactive";
4923
+ checkIn?: string | null;
4924
+ checkOut?: string | null;
4925
+ };
4926
+ } | {
4927
+ /** @constant */
4928
+ type: "transaction";
4929
+ data: {
4930
+ id: string;
4931
+ /** @enum {string} */
4932
+ status: "active" | "inactive";
4933
+ /** @description Value in cents (100 = 1€) */
4934
+ amount: number;
4935
+ account?: {
4936
+ id: string;
4937
+ name: string;
4938
+ uniqueRef?: string | null;
4939
+ /** @enum {string} */
4940
+ status: "active" | "inactive";
4941
+ } | null;
4942
+ date: string;
4943
+ description: string;
4944
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
4945
+ currency: string;
4946
+ /** @enum {string} */
4947
+ type: "deposit" | "expense" | "transfer";
4948
+ isOpeningBalance: boolean;
4949
+ contact?: {
4950
+ /** Format: uuid */
4951
+ id: string;
4952
+ name?: string | null;
4953
+ firstName?: string | null;
4954
+ uniqueRef?: string | null;
4955
+ shortRef?: string | null;
4956
+ } | null;
4957
+ connection?: {
4958
+ /** Format: uuid */
4959
+ id: string;
4960
+ name: string;
4961
+ /** @enum {string} */
4962
+ status: "active" | "inactive";
4963
+ uniqueRef?: string | null;
4964
+ appId: string;
4965
+ } | null;
4966
+ uniqueRef?: string | null;
4967
+ shortRef?: string | null;
4968
+ recurringTemplate?: {
4969
+ id: string;
4970
+ } | null;
4971
+ };
4972
+ } | {
4973
+ /** @constant */
4974
+ type: "recurringTransactionTemplate";
4975
+ data: {
4976
+ id: string;
4977
+ /** @enum {string} */
4978
+ status: "active" | "inactive";
4979
+ /** @description Value in cents (100 = 1€) */
4980
+ amount: number;
4981
+ account?: {
4982
+ id: string;
4983
+ name: string;
4984
+ uniqueRef?: string | null;
4985
+ /** @enum {string} */
4986
+ status: "active" | "inactive";
4987
+ } | null;
4988
+ date: string;
4989
+ description: string;
4990
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
4991
+ currency: string;
4992
+ /** @enum {string} */
4993
+ type: "deposit" | "expense" | "transfer";
4994
+ isOpeningBalance: boolean;
4995
+ contact?: {
4996
+ /** Format: uuid */
4997
+ id: string;
4998
+ name?: string | null;
4999
+ firstName?: string | null;
5000
+ uniqueRef?: string | null;
5001
+ shortRef?: string | null;
5002
+ } | null;
5003
+ connection?: {
5004
+ /** Format: uuid */
5005
+ id: string;
5006
+ name: string;
5007
+ /** @enum {string} */
5008
+ status: "active" | "inactive";
5009
+ uniqueRef?: string | null;
5010
+ appId: string;
5011
+ } | null;
5012
+ uniqueRef?: string | null;
5013
+ shortRef?: string | null;
5014
+ recurringTemplate?: {
5015
+ id: string;
5016
+ } | null;
5017
+ };
5018
+ } | {
5019
+ /** @constant */
5020
+ type: "other";
5021
+ data: {
5022
+ /** Format: uuid */
5023
+ id: string;
5024
+ type: string;
5025
+ name: string | null;
5026
+ };
5027
+ }) | null;
5028
+ /** @enum {string} */
5029
+ status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
5030
+ priority: number;
5031
+ retryCount: number;
5032
+ maxRetries: number;
5033
+ sequence: number;
5034
+ claimedAt: string | null;
5035
+ claimedBy: string | null;
5036
+ completedAt: string | null;
5037
+ lastAttemptAt: string | null;
5038
+ lastError: string | null;
5039
+ latestAttempt: {
5040
+ /** Format: uuid */
5041
+ id: string;
5042
+ /** @enum {string} */
5043
+ status: "running" | "completed" | "failed" | "skipped_locked";
5044
+ attemptNum: number;
5045
+ startedAt: string;
5046
+ finishedAt: string | null;
5047
+ workerId: string | null;
5048
+ resultCode: string | null;
5049
+ resultCategory: string | null;
5050
+ retryable: boolean | null;
5051
+ errorMessage: string | null;
5052
+ } | null;
5053
+ createdAt: string;
5054
+ }[];
5055
+ pagination: {
5056
+ /** @default 100 */
5057
+ limit: number;
5058
+ /** @default 1 */
5059
+ page: number;
5060
+ total: number;
5061
+ totalPage: number;
5062
+ nextPage?: number;
5063
+ };
5064
+ };
5065
+ };
5066
+ };
5067
+ /** @description Bad request */
5068
+ 400: {
5069
+ headers: {
5070
+ [name: string]: unknown;
5071
+ };
5072
+ content: {
5073
+ "application/json": {
5074
+ code: string;
5075
+ message: string;
5076
+ issues?: {
5077
+ message: string;
5078
+ }[];
5079
+ context?: unknown;
5080
+ };
5081
+ };
5082
+ };
5083
+ /** @description Unauthorized */
5084
+ 401: {
5085
+ headers: {
5086
+ [name: string]: unknown;
5087
+ };
5088
+ content: {
5089
+ "application/json": {
5090
+ code: string;
5091
+ message: string;
5092
+ issues?: {
5093
+ message: string;
5094
+ }[];
5095
+ context?: unknown;
5096
+ };
5097
+ };
5098
+ };
5099
+ /** @description Forbidden */
5100
+ 403: {
5101
+ headers: {
5102
+ [name: string]: unknown;
5103
+ };
5104
+ content: {
5105
+ "application/json": {
5106
+ code: string;
5107
+ message: string;
5108
+ issues?: {
5109
+ message: string;
5110
+ }[];
5111
+ context?: unknown;
5112
+ };
5113
+ };
5114
+ };
5115
+ /** @description Not found */
5116
+ 404: {
5117
+ headers: {
5118
+ [name: string]: unknown;
5119
+ };
5120
+ content: {
5121
+ "application/json": {
5122
+ code: string;
5123
+ message: string;
5124
+ issues?: {
5125
+ message: string;
5126
+ }[];
5127
+ context?: unknown;
5128
+ };
5129
+ };
5130
+ };
5131
+ /** @description Internal server error */
5132
+ 500: {
5133
+ headers: {
5134
+ [name: string]: unknown;
5135
+ };
5136
+ content: {
5137
+ "application/json": {
5138
+ code: string;
5139
+ message: string;
5140
+ issues?: {
5141
+ message: string;
5142
+ }[];
5143
+ context?: unknown;
5144
+ };
5145
+ };
5146
+ };
5147
+ };
5148
+ };
5149
+ getAuditJournalDeltas: {
5150
+ parameters: {
5151
+ query?: {
5152
+ limit?: number;
5153
+ offset?: number;
5154
+ actionId?: string;
5155
+ effectId?: string;
5156
+ mutationId?: string;
5157
+ journalEntryId?: string;
5158
+ operation?: "insert" | "update" | "delete";
5159
+ rootEntityType?: string;
5160
+ rootEntityId?: string;
5161
+ startAt?: string;
5162
+ endAt?: string;
5163
+ page?: number;
5164
+ };
5165
+ header?: never;
5166
+ path?: never;
5167
+ cookie?: never;
5168
+ };
5169
+ requestBody?: never;
5170
+ responses: {
5171
+ /** @description Successful response */
5172
+ 200: {
5173
+ headers: {
5174
+ [name: string]: unknown;
5175
+ };
5176
+ content: {
5177
+ "application/json": {
5178
+ data: {
5179
+ /** Format: uuid */
5180
+ id: string;
5181
+ /** Format: uuid */
5182
+ tenantId: string;
5183
+ /** Format: uuid */
5184
+ journalEntryId: string;
5185
+ /** Format: uuid */
5186
+ actionId: string;
5187
+ effectId: string | null;
5188
+ mutationId: string | null;
5189
+ rootEntityType: string | null;
5190
+ rootEntityId: string | null;
5191
+ /** @enum {string} */
5192
+ operation: "insert" | "update" | "delete";
5193
+ changedAt: string;
5194
+ apiVersion: string;
5195
+ changedFields: string[];
5196
+ diffJson: unknown | null;
5197
+ accountIdBefore: string | null;
5198
+ accountIdAfter: string | null;
5199
+ centTotalBefore: number | null;
5200
+ centTotalAfter: number | null;
5201
+ txnAtBefore: string | null;
5202
+ txnAtAfter: string | null;
5203
+ statusBefore: string | null;
5204
+ statusAfter: string | null;
5205
+ partyBefore: string | null;
5206
+ partyAfter: string | null;
5207
+ listingOwnershipPeriodIdBefore: string | null;
5208
+ listingOwnershipPeriodIdAfter: string | null;
5209
+ attachedToOwnerStatementIdBefore: string | null;
5210
+ attachedToOwnerStatementIdAfter: string | null;
5211
+ }[];
5212
+ pagination: {
5213
+ /** @default 100 */
5214
+ limit: number;
5215
+ /** @default 1 */
5216
+ page: number;
5217
+ total: number;
5218
+ totalPage: number;
5219
+ nextPage?: number;
5220
+ };
5221
+ };
5222
+ };
5223
+ };
5224
+ /** @description Bad request */
5225
+ 400: {
5226
+ headers: {
5227
+ [name: string]: unknown;
5228
+ };
5229
+ content: {
5230
+ "application/json": {
5231
+ code: string;
5232
+ message: string;
5233
+ issues?: {
5234
+ message: string;
5235
+ }[];
5236
+ context?: unknown;
5237
+ };
5238
+ };
5239
+ };
5240
+ /** @description Unauthorized */
5241
+ 401: {
5242
+ headers: {
5243
+ [name: string]: unknown;
5244
+ };
5245
+ content: {
5246
+ "application/json": {
5247
+ code: string;
5248
+ message: string;
5249
+ issues?: {
5250
+ message: string;
5251
+ }[];
5252
+ context?: unknown;
5253
+ };
5254
+ };
5255
+ };
5256
+ /** @description Forbidden */
5257
+ 403: {
5258
+ headers: {
5259
+ [name: string]: unknown;
5260
+ };
5261
+ content: {
5262
+ "application/json": {
5263
+ code: string;
5264
+ message: string;
5265
+ issues?: {
5266
+ message: string;
5267
+ }[];
5268
+ context?: unknown;
5269
+ };
5270
+ };
5271
+ };
5272
+ /** @description Not found */
5273
+ 404: {
5274
+ headers: {
5275
+ [name: string]: unknown;
5276
+ };
5277
+ content: {
5278
+ "application/json": {
5279
+ code: string;
5280
+ message: string;
5281
+ issues?: {
5282
+ message: string;
5283
+ }[];
5284
+ context?: unknown;
5285
+ };
5286
+ };
5287
+ };
5288
+ /** @description Internal server error */
5289
+ 500: {
5290
+ headers: {
5291
+ [name: string]: unknown;
5292
+ };
5293
+ content: {
5294
+ "application/json": {
5295
+ code: string;
5296
+ message: string;
5297
+ issues?: {
5298
+ message: string;
5299
+ }[];
5300
+ context?: unknown;
5301
+ };
5302
+ };
5303
+ };
5304
+ };
5305
+ };
5306
+ getAuditMutations: {
5307
+ parameters: {
5308
+ query?: {
5309
+ limit?: number;
5310
+ offset?: number;
5311
+ actionId?: string;
5312
+ effectId?: string;
5313
+ entityType?: string;
5314
+ entityId?: string;
5315
+ op?: string;
5316
+ outcome?: string;
5317
+ startAt?: string;
5318
+ endAt?: string;
5319
+ page?: number;
5320
+ };
5321
+ header?: never;
5322
+ path?: never;
5323
+ cookie?: never;
5324
+ };
5325
+ requestBody?: never;
5326
+ responses: {
5327
+ /** @description Successful response */
5328
+ 200: {
5329
+ headers: {
5330
+ [name: string]: unknown;
5331
+ };
5332
+ content: {
5333
+ "application/json": {
5334
+ data: {
5335
+ /** Format: uuid */
5336
+ id: string;
5337
+ /** Format: uuid */
5338
+ tenantId: string;
5339
+ /** Format: uuid */
5340
+ actionId: string;
5341
+ effectId: string | null;
5342
+ op: string;
5343
+ rootEntityType: string | null;
5344
+ rootEntityId: string | null;
5345
+ subjectType: string;
5346
+ /** Format: uuid */
5347
+ subjectId: string;
5348
+ outcome: string | null;
5349
+ changeRecord: {
5350
+ summary: string;
5351
+ changedKeys: string[];
5352
+ reasonCode: string;
5353
+ outcome: string;
5354
+ context: {
5355
+ [key: string]: unknown;
5356
+ } | null;
5357
+ } & {
5358
+ [key: string]: unknown;
5359
+ };
5360
+ createdAt: string;
5361
+ action: {
5362
+ /** Format: uuid */
5363
+ id: string;
5364
+ actionType: string;
5365
+ source: string | null;
5366
+ apiVersion: string;
5367
+ requestId: string | null;
5368
+ traceId: string | null;
5369
+ parentActionId: string | null;
5370
+ actor: {
5371
+ id: string | null;
5372
+ type: string;
5373
+ name: string | null;
5374
+ email: string | null;
5375
+ };
5376
+ };
5377
+ }[];
5378
+ pagination: {
5379
+ /** @default 100 */
5380
+ limit: number;
5381
+ /** @default 1 */
5382
+ page: number;
5383
+ total: number;
5384
+ totalPage: number;
5385
+ nextPage?: number;
5386
+ };
5387
+ };
5388
+ };
5389
+ };
5390
+ /** @description Bad request */
5391
+ 400: {
5392
+ headers: {
5393
+ [name: string]: unknown;
5394
+ };
5395
+ content: {
5396
+ "application/json": {
5397
+ code: string;
5398
+ message: string;
5399
+ issues?: {
5400
+ message: string;
5401
+ }[];
5402
+ context?: unknown;
5403
+ };
5404
+ };
5405
+ };
5406
+ /** @description Unauthorized */
5407
+ 401: {
5408
+ headers: {
5409
+ [name: string]: unknown;
5410
+ };
5411
+ content: {
5412
+ "application/json": {
5413
+ code: string;
5414
+ message: string;
5415
+ issues?: {
5416
+ message: string;
5417
+ }[];
5418
+ context?: unknown;
5419
+ };
5420
+ };
5421
+ };
5422
+ /** @description Forbidden */
5423
+ 403: {
5424
+ headers: {
5425
+ [name: string]: unknown;
5426
+ };
5427
+ content: {
5428
+ "application/json": {
5429
+ code: string;
5430
+ message: string;
5431
+ issues?: {
5432
+ message: string;
5433
+ }[];
5434
+ context?: unknown;
5435
+ };
5436
+ };
5437
+ };
5438
+ /** @description Not found */
5439
+ 404: {
5440
+ headers: {
5441
+ [name: string]: unknown;
5442
+ };
5443
+ content: {
5444
+ "application/json": {
5445
+ code: string;
5446
+ message: string;
5447
+ issues?: {
5448
+ message: string;
5449
+ }[];
5450
+ context?: unknown;
5451
+ };
5452
+ };
5453
+ };
5454
+ /** @description Internal server error */
5455
+ 500: {
5456
+ headers: {
5457
+ [name: string]: unknown;
5458
+ };
5459
+ content: {
5460
+ "application/json": {
5461
+ code: string;
5462
+ message: string;
5463
+ issues?: {
5464
+ message: string;
5465
+ }[];
5466
+ context?: unknown;
5467
+ };
5468
+ };
5469
+ };
5470
+ };
5471
+ };
5472
+ getAuditTimeline: {
5473
+ parameters: {
5474
+ query: {
5475
+ rootEntityType: string;
5476
+ rootEntityId: string;
5477
+ types?: ("action" | "effect" | "effect_attempt" | "mutation" | "journal_delta")[];
5478
+ from?: string;
5479
+ to?: string;
5480
+ includeDiff?: boolean;
5481
+ limit?: number;
5482
+ cursor?: string;
5483
+ };
5484
+ header?: never;
5485
+ path?: never;
5486
+ cookie?: never;
5487
+ };
5488
+ requestBody?: never;
5489
+ responses: {
5490
+ /** @description Successful response */
5491
+ 200: {
5492
+ headers: {
5493
+ [name: string]: unknown;
5494
+ };
5495
+ content: {
5496
+ "application/json": {
5497
+ data: ({
5498
+ /** @constant */
5499
+ type: "action";
5500
+ /** Format: uuid */
5501
+ id: string;
5502
+ timestamp: string;
5503
+ actionId: string | null;
5504
+ effectId: string | null;
5505
+ mutationId: string | null;
5506
+ rootEntityType: string | null;
5507
+ rootEntityId: string | null;
5508
+ data: {
5509
+ actionType: string;
5510
+ message: string | null;
5511
+ payload: unknown | null;
5512
+ source: string | null;
5513
+ apiVersion: string;
5514
+ requestId: string | null;
5515
+ traceId: string | null;
5516
+ parentActionId: string | null;
5517
+ actor: {
5518
+ id: string | null;
5519
+ type: string;
5520
+ name: string | null;
5521
+ email: string | null;
5522
+ };
5523
+ };
5524
+ } | {
5525
+ /** @constant */
5526
+ type: "effect";
5527
+ /** Format: uuid */
5528
+ id: string;
5529
+ timestamp: string;
5530
+ actionId: string | null;
5531
+ effectId: string | null;
5532
+ mutationId: string | null;
5533
+ rootEntityType: string | null;
5534
+ rootEntityId: string | null;
5535
+ data: {
5536
+ effectType: string;
5537
+ status: string;
5538
+ payload: unknown;
5539
+ entityType: string | null;
5540
+ entityId: string | null;
5541
+ priority: number;
5542
+ retryCount: number;
5543
+ maxRetries: number;
5544
+ claimedAt: string | null;
5545
+ claimedBy: string | null;
5546
+ completedAt: string | null;
5547
+ lastAttemptAt: string | null;
5548
+ lastError: string | null;
5549
+ };
5550
+ } | {
5551
+ /** @constant */
5552
+ type: "effect_attempt";
5553
+ /** Format: uuid */
5554
+ id: string;
5555
+ timestamp: string;
5556
+ actionId: string | null;
5557
+ effectId: string | null;
5558
+ mutationId: string | null;
5559
+ rootEntityType: string | null;
5560
+ rootEntityId: string | null;
5561
+ data: {
5562
+ /** @enum {string} */
5563
+ status: "running" | "completed" | "failed" | "skipped_locked";
5564
+ attemptNum: number;
5565
+ startedAt: string;
5566
+ finishedAt: string | null;
5567
+ workerId: string | null;
5568
+ resultCode: string | null;
5569
+ resultCategory: string | null;
5570
+ retryable: boolean | null;
5571
+ errorMessage: string | null;
5572
+ };
5573
+ } | {
5574
+ /** @constant */
5575
+ type: "mutation";
5576
+ /** Format: uuid */
5577
+ id: string;
5578
+ timestamp: string;
5579
+ actionId: string | null;
5580
+ effectId: string | null;
5581
+ mutationId: string | null;
5582
+ rootEntityType: string | null;
5583
+ rootEntityId: string | null;
5584
+ data: {
5585
+ op: string;
5586
+ subjectType: string;
5587
+ /** Format: uuid */
5588
+ subjectId: string;
5589
+ outcome: string | null;
5590
+ changeRecord: {
5591
+ summary: string;
5592
+ changedKeys: string[];
5593
+ reasonCode: string;
5594
+ outcome: string;
5595
+ context: {
5596
+ [key: string]: unknown;
5597
+ } | null;
5598
+ } & {
5599
+ [key: string]: unknown;
5600
+ };
5601
+ };
5602
+ } | {
5603
+ /** @constant */
5604
+ type: "journal_delta";
5605
+ /** Format: uuid */
5606
+ id: string;
5607
+ timestamp: string;
5608
+ actionId: string | null;
5609
+ effectId: string | null;
5610
+ mutationId: string | null;
5611
+ rootEntityType: string | null;
5612
+ rootEntityId: string | null;
5613
+ data: {
5614
+ /** Format: uuid */
5615
+ journalEntryId: string;
5616
+ /** @enum {string} */
5617
+ operation: "insert" | "update" | "delete";
5618
+ changedFields: string[];
5619
+ diffJson: unknown | null;
5620
+ apiVersion: string;
5621
+ accountIdBefore: string | null;
5622
+ accountIdAfter: string | null;
5623
+ centTotalBefore: number | null;
5624
+ centTotalAfter: number | null;
5625
+ txnAtBefore: string | null;
5626
+ txnAtAfter: string | null;
5627
+ statusBefore: string | null;
5628
+ statusAfter: string | null;
5629
+ partyBefore: string | null;
5630
+ partyAfter: string | null;
5631
+ listingOwnershipPeriodIdBefore: string | null;
5632
+ listingOwnershipPeriodIdAfter: string | null;
5633
+ attachedToOwnerStatementIdBefore: string | null;
5634
+ attachedToOwnerStatementIdAfter: string | null;
5635
+ };
5636
+ })[];
5637
+ page: {
5638
+ limit: number;
5639
+ hasMore: boolean;
5640
+ nextCursor: string | null;
5641
+ };
5642
+ };
5643
+ };
5644
+ };
5645
+ /** @description Bad request */
5646
+ 400: {
5647
+ headers: {
5648
+ [name: string]: unknown;
5649
+ };
5650
+ content: {
5651
+ "application/json": {
5652
+ code: string;
5653
+ message: string;
5654
+ issues?: {
5655
+ message: string;
5656
+ }[];
5657
+ context?: unknown;
5658
+ };
5659
+ };
5660
+ };
5661
+ /** @description Unauthorized */
5662
+ 401: {
5663
+ headers: {
5664
+ [name: string]: unknown;
5665
+ };
5666
+ content: {
5667
+ "application/json": {
5668
+ code: string;
5669
+ message: string;
5670
+ issues?: {
5671
+ message: string;
5672
+ }[];
5673
+ context?: unknown;
5674
+ };
5675
+ };
5676
+ };
5677
+ /** @description Forbidden */
5678
+ 403: {
5679
+ headers: {
5680
+ [name: string]: unknown;
5681
+ };
5682
+ content: {
5683
+ "application/json": {
5684
+ code: string;
5685
+ message: string;
5686
+ issues?: {
5687
+ message: string;
5688
+ }[];
5689
+ context?: unknown;
5690
+ };
5691
+ };
5692
+ };
5693
+ /** @description Not found */
5694
+ 404: {
5695
+ headers: {
5696
+ [name: string]: unknown;
5697
+ };
5698
+ content: {
5699
+ "application/json": {
5700
+ code: string;
5701
+ message: string;
5702
+ issues?: {
5703
+ message: string;
5704
+ }[];
5705
+ context?: unknown;
5706
+ };
5707
+ };
5708
+ };
5709
+ /** @description Internal server error */
5710
+ 500: {
5711
+ headers: {
5712
+ [name: string]: unknown;
5713
+ };
5714
+ content: {
5715
+ "application/json": {
5716
+ code: string;
5717
+ message: string;
5718
+ issues?: {
5719
+ message: string;
5720
+ }[];
5721
+ context?: unknown;
5722
+ };
5723
+ };
5724
+ };
5725
+ };
5726
+ };
5727
+ batchBankAccounts: {
5728
+ parameters: {
5729
+ query?: never;
5730
+ header?: never;
5731
+ path?: never;
5732
+ cookie?: never;
5733
+ };
5734
+ requestBody?: {
5735
+ content: {
5736
+ "application/json": {
5737
+ /** Format: uuid */
5738
+ connectionId: string;
5739
+ data: {
5740
+ id?: string | null;
5741
+ /** @enum {string} */
5742
+ type: "deposit" | "creditCard";
5743
+ /** @enum {string} */
5744
+ category: "trust" | "operating" | "external";
5745
+ name: string;
5746
+ uniqueRef?: string | null;
5747
+ sourceId?: string | null;
5748
+ currency?: string | null;
5749
+ lastDigits?: string | null;
5750
+ status?: ("active" | "inactive") | null;
5751
+ accountId?: string | null;
5752
+ }[];
5753
+ };
5754
+ };
5755
+ };
5756
+ responses: {
5757
+ /** @description Successful response */
5758
+ 200: {
5759
+ headers: {
5760
+ [name: string]: unknown;
5761
+ };
5762
+ content: {
5763
+ "application/json": {
5764
+ data: {
5765
+ /** Format: uuid */
5766
+ id: string;
5767
+ uniqueRef?: string | null;
5768
+ sourceId?: string | null;
5769
+ }[];
5770
+ issues: {
5771
+ ref: string;
5772
+ sourceId?: string | null;
5773
+ message: string;
5774
+ /** @enum {string} */
5775
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
5776
+ context?: unknown;
5777
+ }[];
5778
+ };
5779
+ };
5780
+ };
5781
+ /** @description Bad request */
5782
+ 400: {
5783
+ headers: {
5784
+ [name: string]: unknown;
5785
+ };
5786
+ content: {
5787
+ "application/json": {
5788
+ code: string;
5789
+ message: string;
5790
+ issues?: {
5791
+ message: string;
5792
+ }[];
5793
+ context?: unknown;
5794
+ };
5795
+ };
5796
+ };
5797
+ /** @description Unauthorized */
5798
+ 401: {
5799
+ headers: {
5800
+ [name: string]: unknown;
5801
+ };
5802
+ content: {
5803
+ "application/json": {
5804
+ code: string;
5805
+ message: string;
5806
+ issues?: {
5807
+ message: string;
5808
+ }[];
5809
+ context?: unknown;
5810
+ };
5811
+ };
5812
+ };
5813
+ /** @description Forbidden */
5814
+ 403: {
5815
+ headers: {
5816
+ [name: string]: unknown;
5817
+ };
5818
+ content: {
5819
+ "application/json": {
5820
+ code: string;
5821
+ message: string;
5822
+ issues?: {
5823
+ message: string;
5824
+ }[];
5825
+ context?: unknown;
5826
+ };
5827
+ };
5828
+ };
5829
+ /** @description Not found */
5830
+ 404: {
5831
+ headers: {
5832
+ [name: string]: unknown;
5833
+ };
5834
+ content: {
5835
+ "application/json": {
5836
+ code: string;
5837
+ message: string;
5838
+ issues?: {
5839
+ message: string;
5840
+ }[];
5841
+ context?: unknown;
5842
+ };
5843
+ };
5844
+ };
5845
+ /** @description Internal server error */
5846
+ 500: {
5847
+ headers: {
5848
+ [name: string]: unknown;
5849
+ };
5850
+ content: {
5851
+ "application/json": {
5852
+ code: string;
5853
+ message: string;
5854
+ issues?: {
5855
+ message: string;
5856
+ }[];
5857
+ context?: unknown;
5858
+ };
5859
+ };
5860
+ };
5861
+ };
5862
+ };
5863
+ updateBankAccount: {
5864
+ parameters: {
5865
+ query?: never;
5866
+ header?: never;
5867
+ path: {
5868
+ id: string;
5869
+ };
5870
+ cookie?: never;
5871
+ };
5872
+ requestBody?: {
5873
+ content: {
5874
+ "application/json": {
5875
+ /** @enum {string} */
5876
+ type?: "deposit" | "creditCard";
5877
+ /** @enum {string} */
5878
+ category?: "trust" | "operating" | "external";
5879
+ name?: string;
5880
+ uniqueRef?: string | null;
5881
+ sourceId?: string | null;
5882
+ currency?: string | null;
5883
+ lastDigits?: string | null;
5884
+ status?: ("active" | "inactive") | null;
5885
+ accountId?: string | null;
5886
+ };
5887
+ };
5888
+ };
5889
+ responses: {
5890
+ /** @description Successful response */
5891
+ 200: {
5892
+ headers: {
5893
+ [name: string]: unknown;
5894
+ };
5895
+ content: {
5896
+ "application/json": {
5897
+ /** Format: uuid */
5898
+ id: string;
5899
+ /** @enum {string} */
5900
+ type: "deposit" | "creditCard";
5901
+ /** @enum {string} */
5902
+ category: "trust" | "operating" | "external";
5903
+ name: string;
5904
+ uniqueRef?: string | null;
5905
+ currency?: string | null;
5906
+ lastDigits?: string | null;
5907
+ status: ("active" | "inactive") | null;
5908
+ account?: {
5909
+ id: string;
5910
+ name: string;
5911
+ uniqueRef?: string | null;
5912
+ /** @enum {string} */
5913
+ status: "active" | "inactive";
5914
+ } | null;
5915
+ source?: {
5916
+ /** Format: uuid */
5917
+ id: string;
5918
+ type: string;
5919
+ status?: ("active" | "inactive") | null;
5920
+ } | null;
4669
5921
  };
4670
5922
  };
4671
5923
  };
@@ -7354,460 +8606,19 @@ export interface operations {
7354
8606
  };
7355
8607
  };
7356
8608
  };
7357
- postContactsBatch: {
7358
- parameters: {
7359
- query?: never;
7360
- header?: never;
7361
- path?: never;
7362
- cookie?: never;
7363
- };
7364
- requestBody?: {
7365
- content: {
7366
- "application/json": {
7367
- /** Format: uuid */
7368
- connectionId: string;
7369
- data: {
7370
- address?: {
7371
- full?: string | null;
7372
- line1?: string | null;
7373
- line2?: string | null;
7374
- city?: string | null;
7375
- /** @description Deprecated, use stateCode instead */
7376
- state?: string | null;
7377
- postalCode?: string | null;
7378
- stateCode?: string | null;
7379
- countryCode?: string | null;
7380
- } | null;
7381
- /** @enum {string} */
7382
- type: "owner" | "vendor";
7383
- firstName?: string | null;
7384
- name?: string | null;
7385
- phone?: string | null;
7386
- connectionId?: string | null;
7387
- companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
7388
- taxIdentifier?: string | null;
7389
- sourceId?: string | null;
7390
- uniqueRef?: string | null;
7391
- status?: ("active" | "inactive") | null;
7392
- payoutAccountId?: string | null;
7393
- id?: string | null;
7394
- email?: string | null;
7395
- }[];
7396
- };
7397
- };
7398
- };
7399
- responses: {
7400
- /** @description Successful response */
7401
- 200: {
7402
- headers: {
7403
- [name: string]: unknown;
7404
- };
7405
- content: {
7406
- "application/json": {
7407
- data: {
7408
- /** Format: uuid */
7409
- id: string;
7410
- uniqueRef?: string | null;
7411
- sourceId?: string | null;
7412
- }[];
7413
- issues: {
7414
- ref: string;
7415
- sourceId?: string | null;
7416
- message: string;
7417
- /** @enum {string} */
7418
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
7419
- context?: unknown;
7420
- }[];
7421
- };
7422
- };
7423
- };
7424
- /** @description Bad request */
7425
- 400: {
7426
- headers: {
7427
- [name: string]: unknown;
7428
- };
7429
- content: {
7430
- "application/json": {
7431
- code: string;
7432
- message: string;
7433
- issues?: {
7434
- message: string;
7435
- }[];
7436
- context?: unknown;
7437
- };
7438
- };
7439
- };
7440
- /** @description Unauthorized */
7441
- 401: {
7442
- headers: {
7443
- [name: string]: unknown;
7444
- };
7445
- content: {
7446
- "application/json": {
7447
- code: string;
7448
- message: string;
7449
- issues?: {
7450
- message: string;
7451
- }[];
7452
- context?: unknown;
7453
- };
7454
- };
7455
- };
7456
- /** @description Forbidden */
7457
- 403: {
7458
- headers: {
7459
- [name: string]: unknown;
7460
- };
7461
- content: {
7462
- "application/json": {
7463
- code: string;
7464
- message: string;
7465
- issues?: {
7466
- message: string;
7467
- }[];
7468
- context?: unknown;
7469
- };
7470
- };
7471
- };
7472
- /** @description Not found */
7473
- 404: {
7474
- headers: {
7475
- [name: string]: unknown;
7476
- };
7477
- content: {
7478
- "application/json": {
7479
- code: string;
7480
- message: string;
7481
- issues?: {
7482
- message: string;
7483
- }[];
7484
- context?: unknown;
7485
- };
7486
- };
7487
- };
7488
- /** @description Internal server error */
7489
- 500: {
7490
- headers: {
7491
- [name: string]: unknown;
7492
- };
7493
- content: {
7494
- "application/json": {
7495
- code: string;
7496
- message: string;
7497
- issues?: {
7498
- message: string;
7499
- }[];
7500
- context?: unknown;
7501
- };
7502
- };
7503
- };
7504
- };
7505
- };
7506
- getContactsCsv: {
7507
- parameters: {
7508
- query?: {
7509
- search?: string;
7510
- status?: "active" | "inactive" | "pending";
7511
- type?: "owner" | "vendor";
7512
- companyType?: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
7513
- isIndividual?: boolean;
7514
- /** @description comma separated contact short refs */
7515
- shortRefs?: string;
7516
- };
7517
- header?: never;
7518
- path?: never;
7519
- cookie?: never;
7520
- };
7521
- requestBody?: never;
7522
- responses: {
7523
- /** @description Successful response */
7524
- 200: {
7525
- headers: {
7526
- [name: string]: unknown;
7527
- };
7528
- content: {
7529
- "application/json": {
7530
- url: string;
7531
- };
7532
- };
7533
- };
7534
- /** @description Bad request */
7535
- 400: {
7536
- headers: {
7537
- [name: string]: unknown;
7538
- };
7539
- content: {
7540
- "application/json": {
7541
- code: string;
7542
- message: string;
7543
- issues?: {
7544
- message: string;
7545
- }[];
7546
- context?: unknown;
7547
- };
7548
- };
7549
- };
7550
- /** @description Unauthorized */
7551
- 401: {
7552
- headers: {
7553
- [name: string]: unknown;
7554
- };
7555
- content: {
7556
- "application/json": {
7557
- code: string;
7558
- message: string;
7559
- issues?: {
7560
- message: string;
7561
- }[];
7562
- context?: unknown;
7563
- };
7564
- };
7565
- };
7566
- /** @description Forbidden */
7567
- 403: {
7568
- headers: {
7569
- [name: string]: unknown;
7570
- };
7571
- content: {
7572
- "application/json": {
7573
- code: string;
7574
- message: string;
7575
- issues?: {
7576
- message: string;
7577
- }[];
7578
- context?: unknown;
7579
- };
7580
- };
7581
- };
7582
- /** @description Not found */
7583
- 404: {
7584
- headers: {
7585
- [name: string]: unknown;
7586
- };
7587
- content: {
7588
- "application/json": {
7589
- code: string;
7590
- message: string;
7591
- issues?: {
7592
- message: string;
7593
- }[];
7594
- context?: unknown;
7595
- };
7596
- };
7597
- };
7598
- /** @description Internal server error */
7599
- 500: {
7600
- headers: {
7601
- [name: string]: unknown;
7602
- };
7603
- content: {
7604
- "application/json": {
7605
- code: string;
7606
- message: string;
7607
- issues?: {
7608
- message: string;
7609
- }[];
7610
- context?: unknown;
7611
- };
7612
- };
7613
- };
7614
- };
7615
- };
7616
- getContactsById: {
7617
- parameters: {
7618
- query?: never;
7619
- header?: never;
7620
- path: {
7621
- id: string;
7622
- };
7623
- cookie?: never;
7624
- };
7625
- requestBody?: never;
7626
- responses: {
7627
- /** @description Successful response */
7628
- 200: {
7629
- headers: {
7630
- [name: string]: unknown;
7631
- };
7632
- content: {
7633
- "application/json": {
7634
- address?: {
7635
- full?: string | null;
7636
- line1?: string | null;
7637
- line2?: string | null;
7638
- city?: string | null;
7639
- /** @description Deprecated, use stateCode instead */
7640
- state?: string | null;
7641
- postalCode?: string | null;
7642
- stateCode?: string | null;
7643
- countryCode?: string | null;
7644
- } | null;
7645
- /** @enum {string} */
7646
- type: "owner" | "vendor";
7647
- email?: string | null;
7648
- firstName?: string | null;
7649
- name?: string | null;
7650
- phone?: string | null;
7651
- connectionId?: string | null;
7652
- companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
7653
- taxIdentifier?: string | null;
7654
- uniqueRef?: string | null;
7655
- /** @enum {string} */
7656
- status: "active" | "inactive" | "pending";
7657
- payoutAccountId?: string | null;
7658
- /** Format: uuid */
7659
- id: string;
7660
- shortRef?: string | null;
7661
- source?: {
7662
- /** Format: uuid */
7663
- id: string;
7664
- type: string;
7665
- status?: ("active" | "inactive") | null;
7666
- } | null;
7667
- ownershipPeriods: {
7668
- listingId: string;
7669
- split: number;
7670
- startAt?: string | null;
7671
- endAt?: string | null;
7672
- }[];
7673
- activeOwnerships: {
7674
- listingId: string;
7675
- split: number;
7676
- startAt?: string | null;
7677
- endAt?: string | null;
7678
- }[];
7679
- };
7680
- };
7681
- };
7682
- /** @description Bad request */
7683
- 400: {
7684
- headers: {
7685
- [name: string]: unknown;
7686
- };
7687
- content: {
7688
- "application/json": {
7689
- code: string;
7690
- message: string;
7691
- issues?: {
7692
- message: string;
7693
- }[];
7694
- context?: unknown;
7695
- };
7696
- };
7697
- };
7698
- /** @description Unauthorized */
7699
- 401: {
7700
- headers: {
7701
- [name: string]: unknown;
7702
- };
7703
- content: {
7704
- "application/json": {
7705
- code: string;
7706
- message: string;
7707
- issues?: {
7708
- message: string;
7709
- }[];
7710
- context?: unknown;
7711
- };
7712
- };
7713
- };
7714
- /** @description Forbidden */
7715
- 403: {
7716
- headers: {
7717
- [name: string]: unknown;
7718
- };
7719
- content: {
7720
- "application/json": {
7721
- code: string;
7722
- message: string;
7723
- issues?: {
7724
- message: string;
7725
- }[];
7726
- context?: unknown;
7727
- };
7728
- };
7729
- };
7730
- /** @description Not found */
7731
- 404: {
7732
- headers: {
7733
- [name: string]: unknown;
7734
- };
7735
- content: {
7736
- "application/json": {
7737
- code: string;
7738
- message: string;
7739
- issues?: {
7740
- message: string;
7741
- }[];
7742
- context?: unknown;
7743
- };
7744
- };
7745
- };
7746
- /** @description Internal server error */
7747
- 500: {
7748
- headers: {
7749
- [name: string]: unknown;
7750
- };
7751
- content: {
7752
- "application/json": {
7753
- code: string;
7754
- message: string;
7755
- issues?: {
7756
- message: string;
7757
- }[];
7758
- context?: unknown;
7759
- };
7760
- };
7761
- };
7762
- };
7763
- };
7764
- putContactsById: {
8609
+ postContactsBatch: {
7765
8610
  parameters: {
7766
8611
  query?: never;
7767
8612
  header?: never;
7768
- path: {
7769
- id: string;
7770
- };
8613
+ path?: never;
7771
8614
  cookie?: never;
7772
8615
  };
7773
8616
  requestBody?: {
7774
8617
  content: {
7775
8618
  "application/json": {
7776
- address?: {
7777
- full?: string | null;
7778
- line1?: string | null;
7779
- line2?: string | null;
7780
- city?: string | null;
7781
- /** @description Deprecated, use stateCode instead */
7782
- state?: string | null;
7783
- postalCode?: string | null;
7784
- stateCode?: string | null;
7785
- countryCode?: string | null;
7786
- } | null;
7787
- /** @enum {string} */
7788
- type?: "owner" | "vendor";
7789
- email?: string | null;
7790
- firstName?: string | null;
7791
- name?: string | null;
7792
- phone?: string | null;
7793
- connectionId?: string | null;
7794
- companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
7795
- taxIdentifier?: string | null;
7796
- sourceId?: string | null;
7797
- uniqueRef?: string | null;
7798
- status?: ("active" | "inactive") | null;
7799
- payoutAccountId?: string | null;
7800
- };
7801
- };
7802
- };
7803
- responses: {
7804
- /** @description Successful response */
7805
- 200: {
7806
- headers: {
7807
- [name: string]: unknown;
7808
- };
7809
- content: {
7810
- "application/json": {
8619
+ /** Format: uuid */
8620
+ connectionId: string;
8621
+ data: {
7811
8622
  address?: {
7812
8623
  full?: string | null;
7813
8624
  line1?: string | null;
@@ -7821,37 +8632,43 @@ export interface operations {
7821
8632
  } | null;
7822
8633
  /** @enum {string} */
7823
8634
  type: "owner" | "vendor";
7824
- email?: string | null;
7825
8635
  firstName?: string | null;
7826
8636
  name?: string | null;
7827
8637
  phone?: string | null;
7828
8638
  connectionId?: string | null;
7829
8639
  companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
7830
8640
  taxIdentifier?: string | null;
8641
+ sourceId?: string | null;
7831
8642
  uniqueRef?: string | null;
7832
- /** @enum {string} */
7833
- status: "active" | "inactive" | "pending";
8643
+ status?: ("active" | "inactive") | null;
7834
8644
  payoutAccountId?: string | null;
7835
- /** Format: uuid */
7836
- id: string;
7837
- shortRef?: string | null;
7838
- source?: {
8645
+ id?: string | null;
8646
+ email?: string | null;
8647
+ }[];
8648
+ };
8649
+ };
8650
+ };
8651
+ responses: {
8652
+ /** @description Successful response */
8653
+ 200: {
8654
+ headers: {
8655
+ [name: string]: unknown;
8656
+ };
8657
+ content: {
8658
+ "application/json": {
8659
+ data: {
7839
8660
  /** Format: uuid */
7840
8661
  id: string;
7841
- type: string;
7842
- status?: ("active" | "inactive") | null;
7843
- } | null;
7844
- ownershipPeriods: {
7845
- listingId: string;
7846
- split: number;
7847
- startAt?: string | null;
7848
- endAt?: string | null;
8662
+ uniqueRef?: string | null;
8663
+ sourceId?: string | null;
7849
8664
  }[];
7850
- activeOwnerships: {
7851
- listingId: string;
7852
- split: number;
7853
- startAt?: string | null;
7854
- endAt?: string | null;
8665
+ issues: {
8666
+ ref: string;
8667
+ sourceId?: string | null;
8668
+ message: string;
8669
+ /** @enum {string} */
8670
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
8671
+ context?: unknown;
7855
8672
  }[];
7856
8673
  };
7857
8674
  };
@@ -7938,22 +8755,22 @@ export interface operations {
7938
8755
  };
7939
8756
  };
7940
8757
  };
7941
- deleteContactsById: {
8758
+ getContactsCsv: {
7942
8759
  parameters: {
7943
8760
  query?: {
7944
- onLocked?: "error" | "archive";
8761
+ search?: string;
8762
+ status?: "active" | "inactive" | "pending";
8763
+ type?: "owner" | "vendor";
8764
+ companyType?: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
8765
+ isIndividual?: boolean;
8766
+ /** @description comma separated contact short refs */
8767
+ shortRefs?: string;
7945
8768
  };
7946
8769
  header?: never;
7947
- path: {
7948
- id: string;
7949
- };
8770
+ path?: never;
7950
8771
  cookie?: never;
7951
8772
  };
7952
- requestBody?: {
7953
- content: {
7954
- "application/json": Record<string, never>;
7955
- };
7956
- };
8773
+ requestBody?: never;
7957
8774
  responses: {
7958
8775
  /** @description Successful response */
7959
8776
  200: {
@@ -7962,8 +8779,7 @@ export interface operations {
7962
8779
  };
7963
8780
  content: {
7964
8781
  "application/json": {
7965
- /** @enum {string} */
7966
- status: "deleted" | "archived";
8782
+ url: string;
7967
8783
  };
7968
8784
  };
7969
8785
  };
@@ -8049,7 +8865,7 @@ export interface operations {
8049
8865
  };
8050
8866
  };
8051
8867
  };
8052
- postContactsByIdInvite: {
8868
+ getContactsById: {
8053
8869
  parameters: {
8054
8870
  query?: never;
8055
8871
  header?: never;
@@ -8058,14 +8874,7 @@ export interface operations {
8058
8874
  };
8059
8875
  cookie?: never;
8060
8876
  };
8061
- requestBody?: {
8062
- content: {
8063
- "application/json": {
8064
- /** @default true */
8065
- email?: boolean | null;
8066
- };
8067
- };
8068
- };
8877
+ requestBody?: never;
8069
8878
  responses: {
8070
8879
  /** @description Successful response */
8071
8880
  200: {
@@ -8074,7 +8883,51 @@ export interface operations {
8074
8883
  };
8075
8884
  content: {
8076
8885
  "application/json": {
8077
- url: string;
8886
+ address?: {
8887
+ full?: string | null;
8888
+ line1?: string | null;
8889
+ line2?: string | null;
8890
+ city?: string | null;
8891
+ /** @description Deprecated, use stateCode instead */
8892
+ state?: string | null;
8893
+ postalCode?: string | null;
8894
+ stateCode?: string | null;
8895
+ countryCode?: string | null;
8896
+ } | null;
8897
+ /** @enum {string} */
8898
+ type: "owner" | "vendor";
8899
+ email?: string | null;
8900
+ firstName?: string | null;
8901
+ name?: string | null;
8902
+ phone?: string | null;
8903
+ connectionId?: string | null;
8904
+ companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
8905
+ taxIdentifier?: string | null;
8906
+ uniqueRef?: string | null;
8907
+ /** @enum {string} */
8908
+ status: "active" | "inactive" | "pending";
8909
+ payoutAccountId?: string | null;
8910
+ /** Format: uuid */
8911
+ id: string;
8912
+ shortRef?: string | null;
8913
+ source?: {
8914
+ /** Format: uuid */
8915
+ id: string;
8916
+ type: string;
8917
+ status?: ("active" | "inactive") | null;
8918
+ } | null;
8919
+ ownershipPeriods: {
8920
+ listingId: string;
8921
+ split: number;
8922
+ startAt?: string | null;
8923
+ endAt?: string | null;
8924
+ }[];
8925
+ activeOwnerships: {
8926
+ listingId: string;
8927
+ split: number;
8928
+ startAt?: string | null;
8929
+ endAt?: string | null;
8930
+ }[];
8078
8931
  };
8079
8932
  };
8080
8933
  };
@@ -8160,7 +9013,7 @@ export interface operations {
8160
9013
  };
8161
9014
  };
8162
9015
  };
8163
- patchContactsByIdRevokeAccess: {
9016
+ putContactsById: {
8164
9017
  parameters: {
8165
9018
  query?: never;
8166
9019
  header?: never;
@@ -8171,7 +9024,32 @@ export interface operations {
8171
9024
  };
8172
9025
  requestBody?: {
8173
9026
  content: {
8174
- "application/json": Record<string, never>;
9027
+ "application/json": {
9028
+ address?: {
9029
+ full?: string | null;
9030
+ line1?: string | null;
9031
+ line2?: string | null;
9032
+ city?: string | null;
9033
+ /** @description Deprecated, use stateCode instead */
9034
+ state?: string | null;
9035
+ postalCode?: string | null;
9036
+ stateCode?: string | null;
9037
+ countryCode?: string | null;
9038
+ } | null;
9039
+ /** @enum {string} */
9040
+ type?: "owner" | "vendor";
9041
+ email?: string | null;
9042
+ firstName?: string | null;
9043
+ name?: string | null;
9044
+ phone?: string | null;
9045
+ connectionId?: string | null;
9046
+ companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
9047
+ taxIdentifier?: string | null;
9048
+ sourceId?: string | null;
9049
+ uniqueRef?: string | null;
9050
+ status?: ("active" | "inactive") | null;
9051
+ payoutAccountId?: string | null;
9052
+ };
8175
9053
  };
8176
9054
  };
8177
9055
  responses: {
@@ -8182,8 +9060,51 @@ export interface operations {
8182
9060
  };
8183
9061
  content: {
8184
9062
  "application/json": {
8185
- deletedAccess: number;
8186
- deletedUsers: number;
9063
+ address?: {
9064
+ full?: string | null;
9065
+ line1?: string | null;
9066
+ line2?: string | null;
9067
+ city?: string | null;
9068
+ /** @description Deprecated, use stateCode instead */
9069
+ state?: string | null;
9070
+ postalCode?: string | null;
9071
+ stateCode?: string | null;
9072
+ countryCode?: string | null;
9073
+ } | null;
9074
+ /** @enum {string} */
9075
+ type: "owner" | "vendor";
9076
+ email?: string | null;
9077
+ firstName?: string | null;
9078
+ name?: string | null;
9079
+ phone?: string | null;
9080
+ connectionId?: string | null;
9081
+ companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
9082
+ taxIdentifier?: string | null;
9083
+ uniqueRef?: string | null;
9084
+ /** @enum {string} */
9085
+ status: "active" | "inactive" | "pending";
9086
+ payoutAccountId?: string | null;
9087
+ /** Format: uuid */
9088
+ id: string;
9089
+ shortRef?: string | null;
9090
+ source?: {
9091
+ /** Format: uuid */
9092
+ id: string;
9093
+ type: string;
9094
+ status?: ("active" | "inactive") | null;
9095
+ } | null;
9096
+ ownershipPeriods: {
9097
+ listingId: string;
9098
+ split: number;
9099
+ startAt?: string | null;
9100
+ endAt?: string | null;
9101
+ }[];
9102
+ activeOwnerships: {
9103
+ listingId: string;
9104
+ split: number;
9105
+ startAt?: string | null;
9106
+ endAt?: string | null;
9107
+ }[];
8187
9108
  };
8188
9109
  };
8189
9110
  };
@@ -8269,23 +9190,20 @@ export interface operations {
8269
9190
  };
8270
9191
  };
8271
9192
  };
8272
- csvImport: {
9193
+ deleteContactsById: {
8273
9194
  parameters: {
8274
- query?: never;
9195
+ query?: {
9196
+ onLocked?: "error" | "archive";
9197
+ };
8275
9198
  header?: never;
8276
- path?: never;
9199
+ path: {
9200
+ id: string;
9201
+ };
8277
9202
  cookie?: never;
8278
9203
  };
8279
9204
  requestBody?: {
8280
9205
  content: {
8281
- "application/json": {
8282
- fileData?: string;
8283
- fileUri?: string;
8284
- fileName?: string;
8285
- connectionId: string;
8286
- uniqueRef: string;
8287
- params?: unknown;
8288
- };
9206
+ "application/json": Record<string, never>;
8289
9207
  };
8290
9208
  };
8291
9209
  responses: {
@@ -8296,20 +9214,8 @@ export interface operations {
8296
9214
  };
8297
9215
  content: {
8298
9216
  "application/json": {
8299
- data: {
8300
- syncId: string;
8301
- /** @enum {string} */
8302
- status: "completed";
8303
- } | {
8304
- /** @enum {string} */
8305
- status: "failed";
8306
- syncId: string;
8307
- error: string;
8308
- parseErrors?: {
8309
- rowNumber: number;
8310
- message: string;
8311
- }[];
8312
- };
9217
+ /** @enum {string} */
9218
+ status: "deleted" | "archived";
8313
9219
  };
8314
9220
  };
8315
9221
  };
@@ -8395,24 +9301,23 @@ export interface operations {
8395
9301
  };
8396
9302
  };
8397
9303
  };
8398
- getDispatch: {
9304
+ postContactsByIdInvite: {
8399
9305
  parameters: {
8400
- query?: {
8401
- limit?: number;
8402
- offset?: number;
8403
- startDate?: string;
8404
- endDate?: string;
8405
- actionType?: string;
8406
- entityId?: string;
8407
- entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
8408
- includeIfNoEffects?: boolean;
8409
- page?: number;
8410
- };
9306
+ query?: never;
8411
9307
  header?: never;
8412
- path?: never;
9308
+ path: {
9309
+ id: string;
9310
+ };
8413
9311
  cookie?: never;
8414
9312
  };
8415
- requestBody?: never;
9313
+ requestBody?: {
9314
+ content: {
9315
+ "application/json": {
9316
+ /** @default true */
9317
+ email?: boolean | null;
9318
+ };
9319
+ };
9320
+ };
8416
9321
  responses: {
8417
9322
  /** @description Successful response */
8418
9323
  200: {
@@ -8421,36 +9326,7 @@ export interface operations {
8421
9326
  };
8422
9327
  content: {
8423
9328
  "application/json": {
8424
- data: {
8425
- /** Format: uuid */
8426
- id: string;
8427
- /** Format: uuid */
8428
- tenantId: string;
8429
- actionType: string;
8430
- message: string | null;
8431
- payload: unknown;
8432
- userId: string | null;
8433
- createdAt: string;
8434
- effectCounts: {
8435
- total: number;
8436
- pending: number;
8437
- claimed: number;
8438
- running: number;
8439
- completed: number;
8440
- failed: number;
8441
- deadLetter: number;
8442
- };
8443
- apiEndpoint: string | null;
8444
- }[];
8445
- pagination: {
8446
- /** @default 100 */
8447
- limit: number;
8448
- /** @default 1 */
8449
- page: number;
8450
- total: number;
8451
- totalPage: number;
8452
- nextPage?: number;
8453
- };
9329
+ url: string;
8454
9330
  };
8455
9331
  };
8456
9332
  };
@@ -8536,23 +9412,20 @@ export interface operations {
8536
9412
  };
8537
9413
  };
8538
9414
  };
8539
- getDispatchEffects: {
9415
+ patchContactsByIdRevokeAccess: {
8540
9416
  parameters: {
8541
- query?: {
8542
- limit?: number;
8543
- offset?: number;
8544
- dispatchId?: string;
8545
- entityId?: string;
8546
- entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
8547
- status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
8548
- 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";
8549
- page?: number;
8550
- };
9417
+ query?: never;
8551
9418
  header?: never;
8552
- path?: never;
9419
+ path: {
9420
+ id: string;
9421
+ };
8553
9422
  cookie?: never;
8554
9423
  };
8555
- requestBody?: never;
9424
+ requestBody?: {
9425
+ content: {
9426
+ "application/json": Record<string, never>;
9427
+ };
9428
+ };
8556
9429
  responses: {
8557
9430
  /** @description Successful response */
8558
9431
  200: {
@@ -8561,154 +9434,8 @@ export interface operations {
8561
9434
  };
8562
9435
  content: {
8563
9436
  "application/json": {
8564
- data: {
8565
- /** Format: uuid */
8566
- id: string;
8567
- dispatchedAction: {
8568
- /** Format: uuid */
8569
- id: string;
8570
- actionType: string;
8571
- apiEndpoint: string | null;
8572
- };
8573
- /** @enum {string} */
8574
- 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";
8575
- payload: unknown;
8576
- entity: ({
8577
- /** @constant */
8578
- type: "reservation";
8579
- data: {
8580
- id: string;
8581
- confirmationCode?: string | null;
8582
- uniqueRef: string;
8583
- /** @enum {string} */
8584
- status: "booked" | "canceled" | "inactive";
8585
- checkIn?: string | null;
8586
- checkOut?: string | null;
8587
- };
8588
- } | {
8589
- /** @constant */
8590
- type: "transaction";
8591
- data: {
8592
- id: string;
8593
- /** @enum {string} */
8594
- status: "active" | "inactive";
8595
- /** @description Value in cents (100 = 1€) */
8596
- amount: number;
8597
- account?: {
8598
- id: string;
8599
- name: string;
8600
- uniqueRef?: string | null;
8601
- /** @enum {string} */
8602
- status: "active" | "inactive";
8603
- } | null;
8604
- date: string;
8605
- description: string;
8606
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
8607
- currency: string;
8608
- /** @enum {string} */
8609
- type: "deposit" | "expense" | "transfer";
8610
- isOpeningBalance: boolean;
8611
- contact?: {
8612
- /** Format: uuid */
8613
- id: string;
8614
- name?: string | null;
8615
- firstName?: string | null;
8616
- uniqueRef?: string | null;
8617
- shortRef?: string | null;
8618
- } | null;
8619
- connection?: {
8620
- /** Format: uuid */
8621
- id: string;
8622
- name: string;
8623
- /** @enum {string} */
8624
- status: "active" | "inactive";
8625
- uniqueRef?: string | null;
8626
- appId: string;
8627
- } | null;
8628
- uniqueRef?: string | null;
8629
- shortRef?: string | null;
8630
- recurringTemplate?: {
8631
- id: string;
8632
- } | null;
8633
- };
8634
- } | {
8635
- /** @constant */
8636
- type: "recurringTransactionTemplate";
8637
- data: {
8638
- id: string;
8639
- /** @enum {string} */
8640
- status: "active" | "inactive";
8641
- /** @description Value in cents (100 = 1€) */
8642
- amount: number;
8643
- account?: {
8644
- id: string;
8645
- name: string;
8646
- uniqueRef?: string | null;
8647
- /** @enum {string} */
8648
- status: "active" | "inactive";
8649
- } | null;
8650
- date: string;
8651
- description: string;
8652
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
8653
- currency: string;
8654
- /** @enum {string} */
8655
- type: "deposit" | "expense" | "transfer";
8656
- isOpeningBalance: boolean;
8657
- contact?: {
8658
- /** Format: uuid */
8659
- id: string;
8660
- name?: string | null;
8661
- firstName?: string | null;
8662
- uniqueRef?: string | null;
8663
- shortRef?: string | null;
8664
- } | null;
8665
- connection?: {
8666
- /** Format: uuid */
8667
- id: string;
8668
- name: string;
8669
- /** @enum {string} */
8670
- status: "active" | "inactive";
8671
- uniqueRef?: string | null;
8672
- appId: string;
8673
- } | null;
8674
- uniqueRef?: string | null;
8675
- shortRef?: string | null;
8676
- recurringTemplate?: {
8677
- id: string;
8678
- } | null;
8679
- };
8680
- } | {
8681
- /** @constant */
8682
- type: "other";
8683
- data: {
8684
- /** Format: uuid */
8685
- id: string;
8686
- type: string;
8687
- name: string | null;
8688
- };
8689
- }) | null;
8690
- /** @enum {string} */
8691
- status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
8692
- priority: number;
8693
- retryCount: number;
8694
- maxRetries: number;
8695
- sequence: number;
8696
- claimedAt: string | null;
8697
- claimedBy: string | null;
8698
- completedAt: string | null;
8699
- lastAttemptAt: string | null;
8700
- lastError: string | null;
8701
- createdAt: string;
8702
- }[];
8703
- pagination: {
8704
- /** @default 100 */
8705
- limit: number;
8706
- /** @default 1 */
8707
- page: number;
8708
- total: number;
8709
- totalPage: number;
8710
- nextPage?: number;
8711
- };
9437
+ deletedAccess: number;
9438
+ deletedUsers: number;
8712
9439
  };
8713
9440
  };
8714
9441
  };
@@ -8794,16 +9521,25 @@ export interface operations {
8794
9521
  };
8795
9522
  };
8796
9523
  };
8797
- getDispatchById: {
9524
+ csvImport: {
8798
9525
  parameters: {
8799
9526
  query?: never;
8800
9527
  header?: never;
8801
- path: {
8802
- id: string;
8803
- };
9528
+ path?: never;
8804
9529
  cookie?: never;
8805
9530
  };
8806
- requestBody?: never;
9531
+ requestBody?: {
9532
+ content: {
9533
+ "application/json": {
9534
+ fileData?: string;
9535
+ fileUri?: string;
9536
+ fileName?: string;
9537
+ connectionId: string;
9538
+ uniqueRef: string;
9539
+ params?: unknown;
9540
+ };
9541
+ };
9542
+ };
8807
9543
  responses: {
8808
9544
  /** @description Successful response */
8809
9545
  200: {
@@ -8812,25 +9548,20 @@ export interface operations {
8812
9548
  };
8813
9549
  content: {
8814
9550
  "application/json": {
8815
- /** Format: uuid */
8816
- id: string;
8817
- /** Format: uuid */
8818
- tenantId: string;
8819
- actionType: string;
8820
- message: string | null;
8821
- payload: unknown;
8822
- userId: string | null;
8823
- createdAt: string;
8824
- effectCounts: {
8825
- total: number;
8826
- pending: number;
8827
- claimed: number;
8828
- running: number;
8829
- completed: number;
8830
- failed: number;
8831
- deadLetter: number;
9551
+ data: {
9552
+ syncId: string;
9553
+ /** @enum {string} */
9554
+ status: "completed";
9555
+ } | {
9556
+ /** @enum {string} */
9557
+ status: "failed";
9558
+ syncId: string;
9559
+ error: string;
9560
+ parseErrors?: {
9561
+ rowNumber: number;
9562
+ message: string;
9563
+ }[];
8832
9564
  };
8833
- apiEndpoint: string | null;
8834
9565
  };
8835
9566
  };
8836
9567
  };
@@ -14401,6 +15132,7 @@ export interface operations {
14401
15132
  metadata?: {
14402
15133
  [key: string]: unknown;
14403
15134
  } | null;
15135
+ generalLedgerPostingAt?: string | null;
14404
15136
  }[];
14405
15137
  bankAccountRef?: string | null;
14406
15138
  }[];
@@ -15504,6 +16236,12 @@ export interface operations {
15504
16236
  debitParty: "manager" | "owners";
15505
16237
  bookingChannelsFilter?: string[] | null;
15506
16238
  statusFilter?: ("canceled" | "booked") | null;
16239
+ accountTotalConditions?: {
16240
+ accountId: string;
16241
+ /** @enum {string} */
16242
+ operator: ">" | ">=" | "=" | "<" | "<=";
16243
+ centValue: number;
16244
+ }[] | null;
15507
16245
  id: string;
15508
16246
  uniqueRef: string;
15509
16247
  lock?: {
@@ -15681,6 +16419,12 @@ export interface operations {
15681
16419
  debitParty?: ("manager" | "owners") | null;
15682
16420
  bookingChannelsFilter?: string[] | null;
15683
16421
  statusFilter?: ("canceled" | "booked") | null;
16422
+ accountTotalConditions?: {
16423
+ accountId: string;
16424
+ /** @enum {string} */
16425
+ operator: ">" | ">=" | "=" | "<" | "<=";
16426
+ centValue: number;
16427
+ }[] | null;
15684
16428
  listingSubscriptions?: {
15685
16429
  listingId: string;
15686
16430
  startAt?: string | null;
@@ -15714,6 +16458,12 @@ export interface operations {
15714
16458
  debitParty: "manager" | "owners";
15715
16459
  bookingChannelsFilter?: string[] | null;
15716
16460
  statusFilter?: ("canceled" | "booked") | null;
16461
+ accountTotalConditions?: {
16462
+ accountId: string;
16463
+ /** @enum {string} */
16464
+ operator: ">" | ">=" | "=" | "<" | "<=";
16465
+ centValue: number;
16466
+ }[] | null;
15717
16467
  id: string;
15718
16468
  uniqueRef: string;
15719
16469
  lock?: {
@@ -16384,6 +17134,12 @@ export interface operations {
16384
17134
  debitParty?: ("manager" | "owners") | null;
16385
17135
  bookingChannelsFilter?: string[] | null;
16386
17136
  statusFilter?: ("canceled" | "booked") | null;
17137
+ accountTotalConditions?: {
17138
+ accountId: string;
17139
+ /** @enum {string} */
17140
+ operator: ">" | ">=" | "=" | "<" | "<=";
17141
+ centValue: number;
17142
+ }[] | null;
16387
17143
  listingSubscriptions?: {
16388
17144
  listingId: string;
16389
17145
  startAt?: string | null;
@@ -16628,6 +17384,12 @@ export interface operations {
16628
17384
  debitParty: "manager" | "owners";
16629
17385
  bookingChannelsFilter?: string[] | null;
16630
17386
  statusFilter?: ("canceled" | "booked") | null;
17387
+ accountTotalConditions?: {
17388
+ accountId: string;
17389
+ /** @enum {string} */
17390
+ operator: ">" | ">=" | "=" | "<" | "<=";
17391
+ centValue: number;
17392
+ }[] | null;
16631
17393
  id: string;
16632
17394
  uniqueRef: string;
16633
17395
  lock?: {
@@ -16797,6 +17559,12 @@ export interface operations {
16797
17559
  debitParty?: ("manager" | "owners") | null;
16798
17560
  bookingChannelsFilter?: string[] | null;
16799
17561
  statusFilter?: ("canceled" | "booked") | null;
17562
+ accountTotalConditions?: {
17563
+ accountId: string;
17564
+ /** @enum {string} */
17565
+ operator: ">" | ">=" | "=" | "<" | "<=";
17566
+ centValue: number;
17567
+ }[] | null;
16800
17568
  listingSubscriptions?: {
16801
17569
  listingId: string;
16802
17570
  startAt?: string | null;
@@ -16830,6 +17598,12 @@ export interface operations {
16830
17598
  debitParty: "manager" | "owners";
16831
17599
  bookingChannelsFilter?: string[] | null;
16832
17600
  statusFilter?: ("canceled" | "booked") | null;
17601
+ accountTotalConditions?: {
17602
+ accountId: string;
17603
+ /** @enum {string} */
17604
+ operator: ">" | ">=" | "=" | "<" | "<=";
17605
+ centValue: number;
17606
+ }[] | null;
16833
17607
  id: string;
16834
17608
  uniqueRef: string;
16835
17609
  lock?: {
@@ -16971,7 +17745,9 @@ export interface operations {
16971
17745
  };
16972
17746
  deleteRecurringFeesById: {
16973
17747
  parameters: {
16974
- query?: never;
17748
+ query?: {
17749
+ onLocked?: "error" | "archive";
17750
+ };
16975
17751
  header?: never;
16976
17752
  path: {
16977
17753
  id: string;
@@ -21294,6 +22070,7 @@ export interface operations {
21294
22070
  metadata?: {
21295
22071
  [key: string]: unknown;
21296
22072
  } | null;
22073
+ generalLedgerPostingAt?: string | null;
21297
22074
  account?: {
21298
22075
  id: string;
21299
22076
  name: string;
@@ -21457,6 +22234,7 @@ export interface operations {
21457
22234
  metadata?: {
21458
22235
  [key: string]: unknown;
21459
22236
  } | null;
22237
+ generalLedgerPostingAt?: string | null;
21460
22238
  }[];
21461
22239
  };
21462
22240
  };
@@ -21743,6 +22521,7 @@ export interface operations {
21743
22521
  metadata?: {
21744
22522
  [key: string]: unknown;
21745
22523
  } | null;
22524
+ generalLedgerPostingAt?: string | null;
21746
22525
  account?: {
21747
22526
  id: string;
21748
22527
  name: string;
@@ -21762,9 +22541,9 @@ export interface operations {
21762
22541
  metadata?: {
21763
22542
  [key: string]: unknown;
21764
22543
  } | null;
22544
+ generalLedgerPostingAt?: string | null;
21765
22545
  type?: string | null;
21766
22546
  party?: ("owners" | "manager") | null;
21767
- generalLedgerPostingAt?: string | null;
21768
22547
  account?: {
21769
22548
  id: string;
21770
22549
  name: string;
@@ -21946,6 +22725,7 @@ export interface operations {
21946
22725
  metadata?: {
21947
22726
  [key: string]: unknown;
21948
22727
  } | null;
22728
+ generalLedgerPostingAt?: string | null;
21949
22729
  }[];
21950
22730
  id?: string | null;
21951
22731
  /** @description Total lines amounts, for insert validation purposes */
@@ -23125,6 +23905,7 @@ export interface operations {
23125
23905
  metadata?: {
23126
23906
  [key: string]: unknown;
23127
23907
  } | null;
23908
+ generalLedgerPostingAt?: string | null;
23128
23909
  account?: {
23129
23910
  id: string;
23130
23911
  name: string;
@@ -23144,9 +23925,9 @@ export interface operations {
23144
23925
  metadata?: {
23145
23926
  [key: string]: unknown;
23146
23927
  } | null;
23928
+ generalLedgerPostingAt?: string | null;
23147
23929
  type?: string | null;
23148
23930
  party?: ("owners" | "manager") | null;
23149
- generalLedgerPostingAt?: string | null;
23150
23931
  account?: {
23151
23932
  id: string;
23152
23933
  name: string;
@@ -23326,6 +24107,7 @@ export interface operations {
23326
24107
  metadata?: {
23327
24108
  [key: string]: unknown;
23328
24109
  } | null;
24110
+ generalLedgerPostingAt?: string | null;
23329
24111
  }[] | null;
23330
24112
  /** @description Lines to be added (can not be combined with "lines" in the same request) */
23331
24113
  lines_create?: {
@@ -23342,6 +24124,7 @@ export interface operations {
23342
24124
  metadata?: {
23343
24125
  [key: string]: unknown;
23344
24126
  } | null;
24127
+ generalLedgerPostingAt?: string | null;
23345
24128
  }[] | null;
23346
24129
  /** @description Lines to be updated (can not be combined with "lines" in the same request) */
23347
24130
  lines_update?: {
@@ -23359,6 +24142,7 @@ export interface operations {
23359
24142
  metadata?: {
23360
24143
  [key: string]: unknown;
23361
24144
  } | null;
24145
+ generalLedgerPostingAt?: string | null;
23362
24146
  }[] | null;
23363
24147
  /** @description Lines to be deleted (can not be combined with "lines" in the same request) */
23364
24148
  lines_delete?: string[] | null;
@@ -23374,10 +24158,10 @@ export interface operations {
23374
24158
  metadata?: {
23375
24159
  [key: string]: unknown;
23376
24160
  } | null;
24161
+ generalLedgerPostingAt?: string | null;
23377
24162
  type?: string | null;
23378
24163
  recurringFeeId?: string | null;
23379
24164
  party?: ("owners" | "manager") | null;
23380
- generalLedgerPostingAt?: string | null;
23381
24165
  }[] | null;
23382
24166
  /** @description Adjustments to be updated */
23383
24167
  adjustments_update?: {
@@ -23392,10 +24176,10 @@ export interface operations {
23392
24176
  metadata?: {
23393
24177
  [key: string]: unknown;
23394
24178
  } | null;
24179
+ generalLedgerPostingAt?: string | null;
23395
24180
  type?: string | null;
23396
24181
  recurringFeeId?: string | null;
23397
24182
  party?: ("owners" | "manager") | null;
23398
- generalLedgerPostingAt?: string | null;
23399
24183
  }[] | null;
23400
24184
  /** @description Adjustments to be deleted */
23401
24185
  adjustments_delete?: string[] | null;
@@ -23684,6 +24468,7 @@ export interface operations {
23684
24468
  metadata?: {
23685
24469
  [key: string]: unknown;
23686
24470
  } | null;
24471
+ generalLedgerPostingAt?: string | null;
23687
24472
  account?: {
23688
24473
  id: string;
23689
24474
  name: string;
@@ -23703,9 +24488,9 @@ export interface operations {
23703
24488
  metadata?: {
23704
24489
  [key: string]: unknown;
23705
24490
  } | null;
24491
+ generalLedgerPostingAt?: string | null;
23706
24492
  type?: string | null;
23707
24493
  party?: ("owners" | "manager") | null;
23708
- generalLedgerPostingAt?: string | null;
23709
24494
  account?: {
23710
24495
  id: string;
23711
24496
  name: string;
@@ -24074,10 +24859,10 @@ export interface operations {
24074
24859
  metadata?: {
24075
24860
  [key: string]: unknown;
24076
24861
  } | null;
24862
+ generalLedgerPostingAt?: string | null;
24077
24863
  type?: string | null;
24078
24864
  recurringFeeId?: string | null;
24079
24865
  party?: ("owners" | "manager") | null;
24080
- generalLedgerPostingAt?: string | null;
24081
24866
  };
24082
24867
  };
24083
24868
  };
@@ -24363,6 +25148,7 @@ export interface operations {
24363
25148
  metadata?: {
24364
25149
  [key: string]: unknown;
24365
25150
  } | null;
25151
+ generalLedgerPostingAt?: string | null;
24366
25152
  account?: {
24367
25153
  id: string;
24368
25154
  name: string;
@@ -24382,9 +25168,9 @@ export interface operations {
24382
25168
  metadata?: {
24383
25169
  [key: string]: unknown;
24384
25170
  } | null;
25171
+ generalLedgerPostingAt?: string | null;
24385
25172
  type?: string | null;
24386
25173
  party?: ("owners" | "manager") | null;
24387
- generalLedgerPostingAt?: string | null;
24388
25174
  account?: {
24389
25175
  id: string;
24390
25176
  name: string;
@@ -24528,10 +25314,10 @@ export interface operations {
24528
25314
  metadata?: {
24529
25315
  [key: string]: unknown;
24530
25316
  } | null;
25317
+ generalLedgerPostingAt?: string | null;
24531
25318
  type?: string | null;
24532
25319
  recurringFeeId?: string | null;
24533
25320
  party?: ("owners" | "manager") | null;
24534
- generalLedgerPostingAt?: string | null;
24535
25321
  };
24536
25322
  };
24537
25323
  };
@@ -24817,6 +25603,7 @@ export interface operations {
24817
25603
  metadata?: {
24818
25604
  [key: string]: unknown;
24819
25605
  } | null;
25606
+ generalLedgerPostingAt?: string | null;
24820
25607
  account?: {
24821
25608
  id: string;
24822
25609
  name: string;
@@ -24836,9 +25623,9 @@ export interface operations {
24836
25623
  metadata?: {
24837
25624
  [key: string]: unknown;
24838
25625
  } | null;
25626
+ generalLedgerPostingAt?: string | null;
24839
25627
  type?: string | null;
24840
25628
  party?: ("owners" | "manager") | null;
24841
- generalLedgerPostingAt?: string | null;
24842
25629
  account?: {
24843
25630
  id: string;
24844
25631
  name: string;
@@ -25257,6 +26044,7 @@ export interface operations {
25257
26044
  metadata?: {
25258
26045
  [key: string]: unknown;
25259
26046
  } | null;
26047
+ generalLedgerPostingAt?: string | null;
25260
26048
  account?: {
25261
26049
  id: string;
25262
26050
  name: string;
@@ -25276,9 +26064,9 @@ export interface operations {
25276
26064
  metadata?: {
25277
26065
  [key: string]: unknown;
25278
26066
  } | null;
26067
+ generalLedgerPostingAt?: string | null;
25279
26068
  type?: string | null;
25280
26069
  party?: ("owners" | "manager") | null;
25281
- generalLedgerPostingAt?: string | null;
25282
26070
  account?: {
25283
26071
  id: string;
25284
26072
  name: string;
@@ -25446,6 +26234,8 @@ export interface operations {
25446
26234
  /** @description Value in cents (100 = 1€) */
25447
26235
  expenses: number;
25448
26236
  /** @description Value in cents (100 = 1€) */
26237
+ reserve: number;
26238
+ /** @description Value in cents (100 = 1€) */
25449
26239
  netIncome: number;
25450
26240
  /** @description Value in cents (100 = 1€) */
25451
26241
  transfers: number;
@@ -25593,6 +26383,31 @@ export interface operations {
25593
26383
  endAt: string;
25594
26384
  };
25595
26385
  message: string;
26386
+ } | {
26387
+ /** @constant */
26388
+ code: "statementFinancialEquationMismatch";
26389
+ /** @constant */
26390
+ severity: "warning";
26391
+ context: {
26392
+ balanceStart: number;
26393
+ netIncome: number;
26394
+ transfers: number;
26395
+ balanceEnd: number;
26396
+ delta: number;
26397
+ };
26398
+ message: string;
26399
+ } | {
26400
+ /** @constant */
26401
+ code: "statementPreviousBalanceMismatch";
26402
+ /** @constant */
26403
+ severity: "warning";
26404
+ context: {
26405
+ previousStatementId: string;
26406
+ previousBalanceEnd: number;
26407
+ balanceStart: number;
26408
+ delta: number;
26409
+ };
26410
+ message: string;
25596
26411
  })[];
25597
26412
  transfers: {
25598
26413
  id: string;
@@ -25628,20 +26443,6 @@ export interface operations {
25628
26443
  totalPage: number;
25629
26444
  nextPage?: number;
25630
26445
  };
25631
- aggregations?: {
25632
- /** @description Value in cents (100 = 1€) */
25633
- balanceStart: number;
25634
- /** @description Value in cents (100 = 1€) */
25635
- netRevenue: number;
25636
- /** @description Value in cents (100 = 1€) */
25637
- expenses: number;
25638
- /** @description Value in cents (100 = 1€) */
25639
- netIncome: number;
25640
- /** @description Value in cents (100 = 1€) */
25641
- transfers: number;
25642
- /** @description Value in cents (100 = 1€) */
25643
- balanceEnd: number;
25644
- };
25645
26446
  aggregates?: {
25646
26447
  /** @description Value in cents (100 = 1€) */
25647
26448
  balanceStart: number;
@@ -25650,6 +26451,8 @@ export interface operations {
25650
26451
  /** @description Value in cents (100 = 1€) */
25651
26452
  expenses: number;
25652
26453
  /** @description Value in cents (100 = 1€) */
26454
+ reserve: number;
26455
+ /** @description Value in cents (100 = 1€) */
25653
26456
  netIncome: number;
25654
26457
  /** @description Value in cents (100 = 1€) */
25655
26458
  transfers: number;
@@ -25791,6 +26594,8 @@ export interface operations {
25791
26594
  /** @description Value in cents (100 = 1€) */
25792
26595
  expenses: number;
25793
26596
  /** @description Value in cents (100 = 1€) */
26597
+ reserve: number;
26598
+ /** @description Value in cents (100 = 1€) */
25794
26599
  netIncome: number;
25795
26600
  /** @description Value in cents (100 = 1€) */
25796
26601
  transfers: number;
@@ -25938,6 +26743,31 @@ export interface operations {
25938
26743
  endAt: string;
25939
26744
  };
25940
26745
  message: string;
26746
+ } | {
26747
+ /** @constant */
26748
+ code: "statementFinancialEquationMismatch";
26749
+ /** @constant */
26750
+ severity: "warning";
26751
+ context: {
26752
+ balanceStart: number;
26753
+ netIncome: number;
26754
+ transfers: number;
26755
+ balanceEnd: number;
26756
+ delta: number;
26757
+ };
26758
+ message: string;
26759
+ } | {
26760
+ /** @constant */
26761
+ code: "statementPreviousBalanceMismatch";
26762
+ /** @constant */
26763
+ severity: "warning";
26764
+ context: {
26765
+ previousStatementId: string;
26766
+ previousBalanceEnd: number;
26767
+ balanceStart: number;
26768
+ delta: number;
26769
+ };
26770
+ message: string;
25941
26771
  })[];
25942
26772
  transfers: {
25943
26773
  id: string;
@@ -25974,13 +26804,13 @@ export interface operations {
25974
26804
  id?: string | null;
25975
26805
  name: string;
25976
26806
  locked?: boolean | null;
25977
- visible?: ("all" | "manager" | "owner" | "none") | null;
26807
+ visible?: ("all" | "manager") | null;
25978
26808
  aggregate?: boolean | null;
25979
26809
  columns: ({
25980
26810
  id?: string | null;
25981
26811
  name: string;
25982
26812
  locked?: boolean | null;
25983
- visible?: ("all" | "manager" | "owner" | "none") | null;
26813
+ visible?: ("all" | "manager") | null;
25984
26814
  /** @enum {string} */
25985
26815
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
25986
26816
  value: string;
@@ -25988,7 +26818,7 @@ export interface operations {
25988
26818
  id?: string | null;
25989
26819
  name: string;
25990
26820
  locked?: boolean | null;
25991
- visible?: ("all" | "manager" | "owner" | "none") | null;
26821
+ visible?: ("all" | "manager") | null;
25992
26822
  /** @enum {string} */
25993
26823
  type: "accounts";
25994
26824
  value: string[];
@@ -25998,12 +26828,12 @@ export interface operations {
25998
26828
  id?: string | null;
25999
26829
  name: string;
26000
26830
  locked?: boolean | null;
26001
- visible?: ("all" | "manager" | "owner" | "none") | null;
26831
+ visible?: ("all" | "manager") | null;
26002
26832
  columns: ({
26003
26833
  id?: string | null;
26004
26834
  name: string;
26005
26835
  locked?: boolean | null;
26006
- visible?: ("all" | "manager" | "owner" | "none") | null;
26836
+ visible?: ("all" | "manager") | null;
26007
26837
  /** @enum {string} */
26008
26838
  type: "field";
26009
26839
  value: string;
@@ -26011,7 +26841,7 @@ export interface operations {
26011
26841
  id?: string | null;
26012
26842
  name: string;
26013
26843
  locked?: boolean | null;
26014
- visible?: ("all" | "manager" | "owner" | "none") | null;
26844
+ visible?: ("all" | "manager") | null;
26015
26845
  /** @enum {string} */
26016
26846
  type: "accounts";
26017
26847
  value: string[];
@@ -26035,12 +26865,12 @@ export interface operations {
26035
26865
  id?: string | null;
26036
26866
  name: string;
26037
26867
  locked?: boolean | null;
26038
- visible?: ("all" | "manager" | "owner" | "none") | null;
26868
+ visible?: ("all" | "manager") | null;
26039
26869
  columns: ({
26040
26870
  id?: string | null;
26041
26871
  name: string;
26042
26872
  locked?: boolean | null;
26043
- visible?: ("all" | "manager" | "owner" | "none") | null;
26873
+ visible?: ("all" | "manager") | null;
26044
26874
  /** @enum {string} */
26045
26875
  type: "field";
26046
26876
  value: string;
@@ -26048,7 +26878,7 @@ export interface operations {
26048
26878
  id?: string | null;
26049
26879
  name: string;
26050
26880
  locked?: boolean | null;
26051
- visible?: ("all" | "manager" | "owner" | "none") | null;
26881
+ visible?: ("all" | "manager") | null;
26052
26882
  /** @enum {string} */
26053
26883
  type: "accounts";
26054
26884
  value: string[];
@@ -26353,6 +27183,8 @@ export interface operations {
26353
27183
  /** @description Value in cents (100 = 1€) */
26354
27184
  expenses: number;
26355
27185
  /** @description Value in cents (100 = 1€) */
27186
+ reserve: number;
27187
+ /** @description Value in cents (100 = 1€) */
26356
27188
  netIncome: number;
26357
27189
  /** @description Value in cents (100 = 1€) */
26358
27190
  transfers: number;
@@ -26500,6 +27332,31 @@ export interface operations {
26500
27332
  endAt: string;
26501
27333
  };
26502
27334
  message: string;
27335
+ } | {
27336
+ /** @constant */
27337
+ code: "statementFinancialEquationMismatch";
27338
+ /** @constant */
27339
+ severity: "warning";
27340
+ context: {
27341
+ balanceStart: number;
27342
+ netIncome: number;
27343
+ transfers: number;
27344
+ balanceEnd: number;
27345
+ delta: number;
27346
+ };
27347
+ message: string;
27348
+ } | {
27349
+ /** @constant */
27350
+ code: "statementPreviousBalanceMismatch";
27351
+ /** @constant */
27352
+ severity: "warning";
27353
+ context: {
27354
+ previousStatementId: string;
27355
+ previousBalanceEnd: number;
27356
+ balanceStart: number;
27357
+ delta: number;
27358
+ };
27359
+ message: string;
26503
27360
  })[];
26504
27361
  transfers: {
26505
27362
  id: string;
@@ -26536,13 +27393,13 @@ export interface operations {
26536
27393
  id?: string | null;
26537
27394
  name: string;
26538
27395
  locked?: boolean | null;
26539
- visible?: ("all" | "manager" | "owner" | "none") | null;
27396
+ visible?: ("all" | "manager") | null;
26540
27397
  aggregate?: boolean | null;
26541
27398
  columns: ({
26542
27399
  id?: string | null;
26543
27400
  name: string;
26544
27401
  locked?: boolean | null;
26545
- visible?: ("all" | "manager" | "owner" | "none") | null;
27402
+ visible?: ("all" | "manager") | null;
26546
27403
  /** @enum {string} */
26547
27404
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
26548
27405
  value: string;
@@ -26550,7 +27407,7 @@ export interface operations {
26550
27407
  id?: string | null;
26551
27408
  name: string;
26552
27409
  locked?: boolean | null;
26553
- visible?: ("all" | "manager" | "owner" | "none") | null;
27410
+ visible?: ("all" | "manager") | null;
26554
27411
  /** @enum {string} */
26555
27412
  type: "accounts";
26556
27413
  value: string[];
@@ -26560,12 +27417,12 @@ export interface operations {
26560
27417
  id?: string | null;
26561
27418
  name: string;
26562
27419
  locked?: boolean | null;
26563
- visible?: ("all" | "manager" | "owner" | "none") | null;
27420
+ visible?: ("all" | "manager") | null;
26564
27421
  columns: ({
26565
27422
  id?: string | null;
26566
27423
  name: string;
26567
27424
  locked?: boolean | null;
26568
- visible?: ("all" | "manager" | "owner" | "none") | null;
27425
+ visible?: ("all" | "manager") | null;
26569
27426
  /** @enum {string} */
26570
27427
  type: "field";
26571
27428
  value: string;
@@ -26573,7 +27430,7 @@ export interface operations {
26573
27430
  id?: string | null;
26574
27431
  name: string;
26575
27432
  locked?: boolean | null;
26576
- visible?: ("all" | "manager" | "owner" | "none") | null;
27433
+ visible?: ("all" | "manager") | null;
26577
27434
  /** @enum {string} */
26578
27435
  type: "accounts";
26579
27436
  value: string[];
@@ -26597,12 +27454,12 @@ export interface operations {
26597
27454
  id?: string | null;
26598
27455
  name: string;
26599
27456
  locked?: boolean | null;
26600
- visible?: ("all" | "manager" | "owner" | "none") | null;
27457
+ visible?: ("all" | "manager") | null;
26601
27458
  columns: ({
26602
27459
  id?: string | null;
26603
27460
  name: string;
26604
27461
  locked?: boolean | null;
26605
- visible?: ("all" | "manager" | "owner" | "none") | null;
27462
+ visible?: ("all" | "manager") | null;
26606
27463
  /** @enum {string} */
26607
27464
  type: "field";
26608
27465
  value: string;
@@ -26610,7 +27467,7 @@ export interface operations {
26610
27467
  id?: string | null;
26611
27468
  name: string;
26612
27469
  locked?: boolean | null;
26613
- visible?: ("all" | "manager" | "owner" | "none") | null;
27470
+ visible?: ("all" | "manager") | null;
26614
27471
  /** @enum {string} */
26615
27472
  type: "accounts";
26616
27473
  value: string[];
@@ -27142,13 +27999,13 @@ export interface operations {
27142
27999
  id?: string | null;
27143
28000
  name: string;
27144
28001
  locked?: boolean | null;
27145
- visible?: ("all" | "manager" | "owner" | "none") | null;
28002
+ visible?: ("all" | "manager") | null;
27146
28003
  aggregate?: boolean | null;
27147
28004
  columns: ({
27148
28005
  id?: string | null;
27149
28006
  name: string;
27150
28007
  locked?: boolean | null;
27151
- visible?: ("all" | "manager" | "owner" | "none") | null;
28008
+ visible?: ("all" | "manager") | null;
27152
28009
  /** @enum {string} */
27153
28010
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
27154
28011
  value: string;
@@ -27156,7 +28013,7 @@ export interface operations {
27156
28013
  id?: string | null;
27157
28014
  name: string;
27158
28015
  locked?: boolean | null;
27159
- visible?: ("all" | "manager" | "owner" | "none") | null;
28016
+ visible?: ("all" | "manager") | null;
27160
28017
  /** @enum {string} */
27161
28018
  type: "accounts";
27162
28019
  value: string[];
@@ -27166,12 +28023,12 @@ export interface operations {
27166
28023
  id?: string | null;
27167
28024
  name: string;
27168
28025
  locked?: boolean | null;
27169
- visible?: ("all" | "manager" | "owner" | "none") | null;
28026
+ visible?: ("all" | "manager") | null;
27170
28027
  columns: ({
27171
28028
  id?: string | null;
27172
28029
  name: string;
27173
28030
  locked?: boolean | null;
27174
- visible?: ("all" | "manager" | "owner" | "none") | null;
28031
+ visible?: ("all" | "manager") | null;
27175
28032
  /** @enum {string} */
27176
28033
  type: "field";
27177
28034
  value: string;
@@ -27179,7 +28036,7 @@ export interface operations {
27179
28036
  id?: string | null;
27180
28037
  name: string;
27181
28038
  locked?: boolean | null;
27182
- visible?: ("all" | "manager" | "owner" | "none") | null;
28039
+ visible?: ("all" | "manager") | null;
27183
28040
  /** @enum {string} */
27184
28041
  type: "accounts";
27185
28042
  value: string[];
@@ -27203,12 +28060,12 @@ export interface operations {
27203
28060
  id?: string | null;
27204
28061
  name: string;
27205
28062
  locked?: boolean | null;
27206
- visible?: ("all" | "manager" | "owner" | "none") | null;
28063
+ visible?: ("all" | "manager") | null;
27207
28064
  columns: ({
27208
28065
  id?: string | null;
27209
28066
  name: string;
27210
28067
  locked?: boolean | null;
27211
- visible?: ("all" | "manager" | "owner" | "none") | null;
28068
+ visible?: ("all" | "manager") | null;
27212
28069
  /** @enum {string} */
27213
28070
  type: "field";
27214
28071
  value: string;
@@ -27216,7 +28073,7 @@ export interface operations {
27216
28073
  id?: string | null;
27217
28074
  name: string;
27218
28075
  locked?: boolean | null;
27219
- visible?: ("all" | "manager" | "owner" | "none") | null;
28076
+ visible?: ("all" | "manager") | null;
27220
28077
  /** @enum {string} */
27221
28078
  type: "accounts";
27222
28079
  value: string[];
@@ -27336,13 +28193,13 @@ export interface operations {
27336
28193
  id?: string | null;
27337
28194
  name: string;
27338
28195
  locked?: boolean | null;
27339
- visible?: ("all" | "manager" | "owner" | "none") | null;
28196
+ visible?: ("all" | "manager") | null;
27340
28197
  aggregate?: boolean | null;
27341
28198
  columns: ({
27342
28199
  id?: string | null;
27343
28200
  name: string;
27344
28201
  locked?: boolean | null;
27345
- visible?: ("all" | "manager" | "owner" | "none") | null;
28202
+ visible?: ("all" | "manager") | null;
27346
28203
  /** @enum {string} */
27347
28204
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
27348
28205
  value: string;
@@ -27350,7 +28207,7 @@ export interface operations {
27350
28207
  id?: string | null;
27351
28208
  name: string;
27352
28209
  locked?: boolean | null;
27353
- visible?: ("all" | "manager" | "owner" | "none") | null;
28210
+ visible?: ("all" | "manager") | null;
27354
28211
  /** @enum {string} */
27355
28212
  type: "accounts";
27356
28213
  value: string[];
@@ -27360,12 +28217,12 @@ export interface operations {
27360
28217
  id?: string | null;
27361
28218
  name: string;
27362
28219
  locked?: boolean | null;
27363
- visible?: ("all" | "manager" | "owner" | "none") | null;
28220
+ visible?: ("all" | "manager") | null;
27364
28221
  columns: ({
27365
28222
  id?: string | null;
27366
28223
  name: string;
27367
28224
  locked?: boolean | null;
27368
- visible?: ("all" | "manager" | "owner" | "none") | null;
28225
+ visible?: ("all" | "manager") | null;
27369
28226
  /** @enum {string} */
27370
28227
  type: "field";
27371
28228
  value: string;
@@ -27373,7 +28230,7 @@ export interface operations {
27373
28230
  id?: string | null;
27374
28231
  name: string;
27375
28232
  locked?: boolean | null;
27376
- visible?: ("all" | "manager" | "owner" | "none") | null;
28233
+ visible?: ("all" | "manager") | null;
27377
28234
  /** @enum {string} */
27378
28235
  type: "accounts";
27379
28236
  value: string[];
@@ -27398,13 +28255,13 @@ export interface operations {
27398
28255
  id?: string | null;
27399
28256
  name: string;
27400
28257
  locked?: boolean | null;
27401
- visible?: ("all" | "manager" | "owner" | "none") | null;
28258
+ visible?: ("all" | "manager") | null;
27402
28259
  aggregate?: boolean | null;
27403
28260
  columns: ({
27404
28261
  id?: string | null;
27405
28262
  name: string;
27406
28263
  locked?: boolean | null;
27407
- visible?: ("all" | "manager" | "owner" | "none") | null;
28264
+ visible?: ("all" | "manager") | null;
27408
28265
  /** @enum {string} */
27409
28266
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
27410
28267
  value: string;
@@ -27412,7 +28269,7 @@ export interface operations {
27412
28269
  id?: string | null;
27413
28270
  name: string;
27414
28271
  locked?: boolean | null;
27415
- visible?: ("all" | "manager" | "owner" | "none") | null;
28272
+ visible?: ("all" | "manager") | null;
27416
28273
  /** @enum {string} */
27417
28274
  type: "accounts";
27418
28275
  value: string[];
@@ -27422,12 +28279,12 @@ export interface operations {
27422
28279
  id?: string | null;
27423
28280
  name: string;
27424
28281
  locked?: boolean | null;
27425
- visible?: ("all" | "manager" | "owner" | "none") | null;
28282
+ visible?: ("all" | "manager") | null;
27426
28283
  columns: ({
27427
28284
  id?: string | null;
27428
28285
  name: string;
27429
28286
  locked?: boolean | null;
27430
- visible?: ("all" | "manager" | "owner" | "none") | null;
28287
+ visible?: ("all" | "manager") | null;
27431
28288
  /** @enum {string} */
27432
28289
  type: "field";
27433
28290
  value: string;
@@ -27435,7 +28292,7 @@ export interface operations {
27435
28292
  id?: string | null;
27436
28293
  name: string;
27437
28294
  locked?: boolean | null;
27438
- visible?: ("all" | "manager" | "owner" | "none") | null;
28295
+ visible?: ("all" | "manager") | null;
27439
28296
  /** @enum {string} */
27440
28297
  type: "accounts";
27441
28298
  value: string[];
@@ -27459,12 +28316,12 @@ export interface operations {
27459
28316
  id?: string | null;
27460
28317
  name: string;
27461
28318
  locked?: boolean | null;
27462
- visible?: ("all" | "manager" | "owner" | "none") | null;
28319
+ visible?: ("all" | "manager") | null;
27463
28320
  columns: ({
27464
28321
  id?: string | null;
27465
28322
  name: string;
27466
28323
  locked?: boolean | null;
27467
- visible?: ("all" | "manager" | "owner" | "none") | null;
28324
+ visible?: ("all" | "manager") | null;
27468
28325
  /** @enum {string} */
27469
28326
  type: "field";
27470
28327
  value: string;
@@ -27472,7 +28329,7 @@ export interface operations {
27472
28329
  id?: string | null;
27473
28330
  name: string;
27474
28331
  locked?: boolean | null;
27475
- visible?: ("all" | "manager" | "owner" | "none") | null;
28332
+ visible?: ("all" | "manager") | null;
27476
28333
  /** @enum {string} */
27477
28334
  type: "accounts";
27478
28335
  value: string[];
@@ -27589,13 +28446,13 @@ export interface operations {
27589
28446
  id?: string | null;
27590
28447
  name: string;
27591
28448
  locked?: boolean | null;
27592
- visible?: ("all" | "manager" | "owner" | "none") | null;
28449
+ visible?: ("all" | "manager") | null;
27593
28450
  aggregate?: boolean | null;
27594
28451
  columns: ({
27595
28452
  id?: string | null;
27596
28453
  name: string;
27597
28454
  locked?: boolean | null;
27598
- visible?: ("all" | "manager" | "owner" | "none") | null;
28455
+ visible?: ("all" | "manager") | null;
27599
28456
  /** @enum {string} */
27600
28457
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
27601
28458
  value: string;
@@ -27603,7 +28460,7 @@ export interface operations {
27603
28460
  id?: string | null;
27604
28461
  name: string;
27605
28462
  locked?: boolean | null;
27606
- visible?: ("all" | "manager" | "owner" | "none") | null;
28463
+ visible?: ("all" | "manager") | null;
27607
28464
  /** @enum {string} */
27608
28465
  type: "accounts";
27609
28466
  value: string[];
@@ -27613,12 +28470,12 @@ export interface operations {
27613
28470
  id?: string | null;
27614
28471
  name: string;
27615
28472
  locked?: boolean | null;
27616
- visible?: ("all" | "manager" | "owner" | "none") | null;
28473
+ visible?: ("all" | "manager") | null;
27617
28474
  columns: ({
27618
28475
  id?: string | null;
27619
28476
  name: string;
27620
28477
  locked?: boolean | null;
27621
- visible?: ("all" | "manager" | "owner" | "none") | null;
28478
+ visible?: ("all" | "manager") | null;
27622
28479
  /** @enum {string} */
27623
28480
  type: "field";
27624
28481
  value: string;
@@ -27626,7 +28483,7 @@ export interface operations {
27626
28483
  id?: string | null;
27627
28484
  name: string;
27628
28485
  locked?: boolean | null;
27629
- visible?: ("all" | "manager" | "owner" | "none") | null;
28486
+ visible?: ("all" | "manager") | null;
27630
28487
  /** @enum {string} */
27631
28488
  type: "accounts";
27632
28489
  value: string[];
@@ -27650,12 +28507,12 @@ export interface operations {
27650
28507
  id?: string | null;
27651
28508
  name: string;
27652
28509
  locked?: boolean | null;
27653
- visible?: ("all" | "manager" | "owner" | "none") | null;
28510
+ visible?: ("all" | "manager") | null;
27654
28511
  columns: ({
27655
28512
  id?: string | null;
27656
28513
  name: string;
27657
28514
  locked?: boolean | null;
27658
- visible?: ("all" | "manager" | "owner" | "none") | null;
28515
+ visible?: ("all" | "manager") | null;
27659
28516
  /** @enum {string} */
27660
28517
  type: "field";
27661
28518
  value: string;
@@ -27663,7 +28520,7 @@ export interface operations {
27663
28520
  id?: string | null;
27664
28521
  name: string;
27665
28522
  locked?: boolean | null;
27666
- visible?: ("all" | "manager" | "owner" | "none") | null;
28523
+ visible?: ("all" | "manager") | null;
27667
28524
  /** @enum {string} */
27668
28525
  type: "accounts";
27669
28526
  value: string[];
@@ -27775,13 +28632,13 @@ export interface operations {
27775
28632
  id?: string | null;
27776
28633
  name: string;
27777
28634
  locked?: boolean | null;
27778
- visible?: ("all" | "manager" | "owner" | "none") | null;
28635
+ visible?: ("all" | "manager") | null;
27779
28636
  aggregate?: boolean | null;
27780
28637
  columns: ({
27781
28638
  id?: string | null;
27782
28639
  name: string;
27783
28640
  locked?: boolean | null;
27784
- visible?: ("all" | "manager" | "owner" | "none") | null;
28641
+ visible?: ("all" | "manager") | null;
27785
28642
  /** @enum {string} */
27786
28643
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
27787
28644
  value: string;
@@ -27789,7 +28646,7 @@ export interface operations {
27789
28646
  id?: string | null;
27790
28647
  name: string;
27791
28648
  locked?: boolean | null;
27792
- visible?: ("all" | "manager" | "owner" | "none") | null;
28649
+ visible?: ("all" | "manager") | null;
27793
28650
  /** @enum {string} */
27794
28651
  type: "accounts";
27795
28652
  value: string[];
@@ -27799,12 +28656,12 @@ export interface operations {
27799
28656
  id?: string | null;
27800
28657
  name: string;
27801
28658
  locked?: boolean | null;
27802
- visible?: ("all" | "manager" | "owner" | "none") | null;
28659
+ visible?: ("all" | "manager") | null;
27803
28660
  columns: ({
27804
28661
  id?: string | null;
27805
28662
  name: string;
27806
28663
  locked?: boolean | null;
27807
- visible?: ("all" | "manager" | "owner" | "none") | null;
28664
+ visible?: ("all" | "manager") | null;
27808
28665
  /** @enum {string} */
27809
28666
  type: "field";
27810
28667
  value: string;
@@ -27812,7 +28669,7 @@ export interface operations {
27812
28669
  id?: string | null;
27813
28670
  name: string;
27814
28671
  locked?: boolean | null;
27815
- visible?: ("all" | "manager" | "owner" | "none") | null;
28672
+ visible?: ("all" | "manager") | null;
27816
28673
  /** @enum {string} */
27817
28674
  type: "accounts";
27818
28675
  value: string[];
@@ -27837,13 +28694,13 @@ export interface operations {
27837
28694
  id?: string | null;
27838
28695
  name: string;
27839
28696
  locked?: boolean | null;
27840
- visible?: ("all" | "manager" | "owner" | "none") | null;
28697
+ visible?: ("all" | "manager") | null;
27841
28698
  aggregate?: boolean | null;
27842
28699
  columns: ({
27843
28700
  id?: string | null;
27844
28701
  name: string;
27845
28702
  locked?: boolean | null;
27846
- visible?: ("all" | "manager" | "owner" | "none") | null;
28703
+ visible?: ("all" | "manager") | null;
27847
28704
  /** @enum {string} */
27848
28705
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
27849
28706
  value: string;
@@ -27851,7 +28708,7 @@ export interface operations {
27851
28708
  id?: string | null;
27852
28709
  name: string;
27853
28710
  locked?: boolean | null;
27854
- visible?: ("all" | "manager" | "owner" | "none") | null;
28711
+ visible?: ("all" | "manager") | null;
27855
28712
  /** @enum {string} */
27856
28713
  type: "accounts";
27857
28714
  value: string[];
@@ -27861,12 +28718,12 @@ export interface operations {
27861
28718
  id?: string | null;
27862
28719
  name: string;
27863
28720
  locked?: boolean | null;
27864
- visible?: ("all" | "manager" | "owner" | "none") | null;
28721
+ visible?: ("all" | "manager") | null;
27865
28722
  columns: ({
27866
28723
  id?: string | null;
27867
28724
  name: string;
27868
28725
  locked?: boolean | null;
27869
- visible?: ("all" | "manager" | "owner" | "none") | null;
28726
+ visible?: ("all" | "manager") | null;
27870
28727
  /** @enum {string} */
27871
28728
  type: "field";
27872
28729
  value: string;
@@ -27874,7 +28731,7 @@ export interface operations {
27874
28731
  id?: string | null;
27875
28732
  name: string;
27876
28733
  locked?: boolean | null;
27877
- visible?: ("all" | "manager" | "owner" | "none") | null;
28734
+ visible?: ("all" | "manager") | null;
27878
28735
  /** @enum {string} */
27879
28736
  type: "accounts";
27880
28737
  value: string[];
@@ -27898,12 +28755,12 @@ export interface operations {
27898
28755
  id?: string | null;
27899
28756
  name: string;
27900
28757
  locked?: boolean | null;
27901
- visible?: ("all" | "manager" | "owner" | "none") | null;
28758
+ visible?: ("all" | "manager") | null;
27902
28759
  columns: ({
27903
28760
  id?: string | null;
27904
28761
  name: string;
27905
28762
  locked?: boolean | null;
27906
- visible?: ("all" | "manager" | "owner" | "none") | null;
28763
+ visible?: ("all" | "manager") | null;
27907
28764
  /** @enum {string} */
27908
28765
  type: "field";
27909
28766
  value: string;
@@ -27911,7 +28768,7 @@ export interface operations {
27911
28768
  id?: string | null;
27912
28769
  name: string;
27913
28770
  locked?: boolean | null;
27914
- visible?: ("all" | "manager" | "owner" | "none") | null;
28771
+ visible?: ("all" | "manager") | null;
27915
28772
  /** @enum {string} */
27916
28773
  type: "accounts";
27917
28774
  value: string[];
@@ -28571,11 +29428,16 @@ export interface operations {
28571
29428
  };
28572
29429
  getStatementsPdfBatch: {
28573
29430
  parameters: {
28574
- query: {
29431
+ query?: {
28575
29432
  /** @description comma separated ownership periods */
28576
- ownershipPeriodIds: string;
29433
+ ownershipPeriodIds?: string;
28577
29434
  /** @description Date in format YYYY-MM */
28578
- month: string;
29435
+ month?: string;
29436
+ listingId?: string;
29437
+ /** @description Date in format YYYY-MM */
29438
+ startMonth?: string;
29439
+ /** @description Date in format YYYY-MM */
29440
+ endMonth?: string;
28579
29441
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
28580
29442
  currency?: string;
28581
29443
  };
@@ -28715,6 +29577,8 @@ export interface operations {
28715
29577
  /** @description Value in cents (100 = 1€) */
28716
29578
  expenses: number;
28717
29579
  /** @description Value in cents (100 = 1€) */
29580
+ reserve: number;
29581
+ /** @description Value in cents (100 = 1€) */
28718
29582
  netIncome: number;
28719
29583
  /** @description Value in cents (100 = 1€) */
28720
29584
  transfers: number;
@@ -28842,6 +29706,8 @@ export interface operations {
28842
29706
  /** @description Value in cents (100 = 1€) */
28843
29707
  expenses: number;
28844
29708
  /** @description Value in cents (100 = 1€) */
29709
+ reserve: number;
29710
+ /** @description Value in cents (100 = 1€) */
28845
29711
  netIncome: number;
28846
29712
  /** @description Value in cents (100 = 1€) */
28847
29713
  transfers: number;
@@ -28989,6 +29855,31 @@ export interface operations {
28989
29855
  endAt: string;
28990
29856
  };
28991
29857
  message: string;
29858
+ } | {
29859
+ /** @constant */
29860
+ code: "statementFinancialEquationMismatch";
29861
+ /** @constant */
29862
+ severity: "warning";
29863
+ context: {
29864
+ balanceStart: number;
29865
+ netIncome: number;
29866
+ transfers: number;
29867
+ balanceEnd: number;
29868
+ delta: number;
29869
+ };
29870
+ message: string;
29871
+ } | {
29872
+ /** @constant */
29873
+ code: "statementPreviousBalanceMismatch";
29874
+ /** @constant */
29875
+ severity: "warning";
29876
+ context: {
29877
+ previousStatementId: string;
29878
+ previousBalanceEnd: number;
29879
+ balanceStart: number;
29880
+ delta: number;
29881
+ };
29882
+ message: string;
28992
29883
  })[];
28993
29884
  transfers: {
28994
29885
  id: string;
@@ -29025,13 +29916,13 @@ export interface operations {
29025
29916
  id?: string | null;
29026
29917
  name: string;
29027
29918
  locked?: boolean | null;
29028
- visible?: ("all" | "manager" | "owner" | "none") | null;
29919
+ visible?: ("all" | "manager") | null;
29029
29920
  aggregate?: boolean | null;
29030
29921
  columns: ({
29031
29922
  id?: string | null;
29032
29923
  name: string;
29033
29924
  locked?: boolean | null;
29034
- visible?: ("all" | "manager" | "owner" | "none") | null;
29925
+ visible?: ("all" | "manager") | null;
29035
29926
  /** @enum {string} */
29036
29927
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
29037
29928
  value: string;
@@ -29039,7 +29930,7 @@ export interface operations {
29039
29930
  id?: string | null;
29040
29931
  name: string;
29041
29932
  locked?: boolean | null;
29042
- visible?: ("all" | "manager" | "owner" | "none") | null;
29933
+ visible?: ("all" | "manager") | null;
29043
29934
  /** @enum {string} */
29044
29935
  type: "accounts";
29045
29936
  value: string[];
@@ -29049,12 +29940,12 @@ export interface operations {
29049
29940
  id?: string | null;
29050
29941
  name: string;
29051
29942
  locked?: boolean | null;
29052
- visible?: ("all" | "manager" | "owner" | "none") | null;
29943
+ visible?: ("all" | "manager") | null;
29053
29944
  columns: ({
29054
29945
  id?: string | null;
29055
29946
  name: string;
29056
29947
  locked?: boolean | null;
29057
- visible?: ("all" | "manager" | "owner" | "none") | null;
29948
+ visible?: ("all" | "manager") | null;
29058
29949
  /** @enum {string} */
29059
29950
  type: "field";
29060
29951
  value: string;
@@ -29062,7 +29953,7 @@ export interface operations {
29062
29953
  id?: string | null;
29063
29954
  name: string;
29064
29955
  locked?: boolean | null;
29065
- visible?: ("all" | "manager" | "owner" | "none") | null;
29956
+ visible?: ("all" | "manager") | null;
29066
29957
  /** @enum {string} */
29067
29958
  type: "accounts";
29068
29959
  value: string[];
@@ -29086,12 +29977,12 @@ export interface operations {
29086
29977
  id?: string | null;
29087
29978
  name: string;
29088
29979
  locked?: boolean | null;
29089
- visible?: ("all" | "manager" | "owner" | "none") | null;
29980
+ visible?: ("all" | "manager") | null;
29090
29981
  columns: ({
29091
29982
  id?: string | null;
29092
29983
  name: string;
29093
29984
  locked?: boolean | null;
29094
- visible?: ("all" | "manager" | "owner" | "none") | null;
29985
+ visible?: ("all" | "manager") | null;
29095
29986
  /** @enum {string} */
29096
29987
  type: "field";
29097
29988
  value: string;
@@ -29099,7 +29990,7 @@ export interface operations {
29099
29990
  id?: string | null;
29100
29991
  name: string;
29101
29992
  locked?: boolean | null;
29102
- visible?: ("all" | "manager" | "owner" | "none") | null;
29993
+ visible?: ("all" | "manager") | null;
29103
29994
  /** @enum {string} */
29104
29995
  type: "accounts";
29105
29996
  value: string[];
@@ -29409,6 +30300,8 @@ export interface operations {
29409
30300
  /** @description Value in cents (100 = 1€) */
29410
30301
  expenses: number;
29411
30302
  /** @description Value in cents (100 = 1€) */
30303
+ reserve: number;
30304
+ /** @description Value in cents (100 = 1€) */
29412
30305
  netIncome: number;
29413
30306
  /** @description Value in cents (100 = 1€) */
29414
30307
  transfers: number;
@@ -29556,6 +30449,31 @@ export interface operations {
29556
30449
  endAt: string;
29557
30450
  };
29558
30451
  message: string;
30452
+ } | {
30453
+ /** @constant */
30454
+ code: "statementFinancialEquationMismatch";
30455
+ /** @constant */
30456
+ severity: "warning";
30457
+ context: {
30458
+ balanceStart: number;
30459
+ netIncome: number;
30460
+ transfers: number;
30461
+ balanceEnd: number;
30462
+ delta: number;
30463
+ };
30464
+ message: string;
30465
+ } | {
30466
+ /** @constant */
30467
+ code: "statementPreviousBalanceMismatch";
30468
+ /** @constant */
30469
+ severity: "warning";
30470
+ context: {
30471
+ previousStatementId: string;
30472
+ previousBalanceEnd: number;
30473
+ balanceStart: number;
30474
+ delta: number;
30475
+ };
30476
+ message: string;
29559
30477
  })[];
29560
30478
  transfers: {
29561
30479
  id: string;
@@ -29592,13 +30510,13 @@ export interface operations {
29592
30510
  id?: string | null;
29593
30511
  name: string;
29594
30512
  locked?: boolean | null;
29595
- visible?: ("all" | "manager" | "owner" | "none") | null;
30513
+ visible?: ("all" | "manager") | null;
29596
30514
  aggregate?: boolean | null;
29597
30515
  columns: ({
29598
30516
  id?: string | null;
29599
30517
  name: string;
29600
30518
  locked?: boolean | null;
29601
- visible?: ("all" | "manager" | "owner" | "none") | null;
30519
+ visible?: ("all" | "manager") | null;
29602
30520
  /** @enum {string} */
29603
30521
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
29604
30522
  value: string;
@@ -29606,7 +30524,7 @@ export interface operations {
29606
30524
  id?: string | null;
29607
30525
  name: string;
29608
30526
  locked?: boolean | null;
29609
- visible?: ("all" | "manager" | "owner" | "none") | null;
30527
+ visible?: ("all" | "manager") | null;
29610
30528
  /** @enum {string} */
29611
30529
  type: "accounts";
29612
30530
  value: string[];
@@ -29616,12 +30534,12 @@ export interface operations {
29616
30534
  id?: string | null;
29617
30535
  name: string;
29618
30536
  locked?: boolean | null;
29619
- visible?: ("all" | "manager" | "owner" | "none") | null;
30537
+ visible?: ("all" | "manager") | null;
29620
30538
  columns: ({
29621
30539
  id?: string | null;
29622
30540
  name: string;
29623
30541
  locked?: boolean | null;
29624
- visible?: ("all" | "manager" | "owner" | "none") | null;
30542
+ visible?: ("all" | "manager") | null;
29625
30543
  /** @enum {string} */
29626
30544
  type: "field";
29627
30545
  value: string;
@@ -29629,7 +30547,7 @@ export interface operations {
29629
30547
  id?: string | null;
29630
30548
  name: string;
29631
30549
  locked?: boolean | null;
29632
- visible?: ("all" | "manager" | "owner" | "none") | null;
30550
+ visible?: ("all" | "manager") | null;
29633
30551
  /** @enum {string} */
29634
30552
  type: "accounts";
29635
30553
  value: string[];
@@ -29653,12 +30571,12 @@ export interface operations {
29653
30571
  id?: string | null;
29654
30572
  name: string;
29655
30573
  locked?: boolean | null;
29656
- visible?: ("all" | "manager" | "owner" | "none") | null;
30574
+ visible?: ("all" | "manager") | null;
29657
30575
  columns: ({
29658
30576
  id?: string | null;
29659
30577
  name: string;
29660
30578
  locked?: boolean | null;
29661
- visible?: ("all" | "manager" | "owner" | "none") | null;
30579
+ visible?: ("all" | "manager") | null;
29662
30580
  /** @enum {string} */
29663
30581
  type: "field";
29664
30582
  value: string;
@@ -29666,7 +30584,7 @@ export interface operations {
29666
30584
  id?: string | null;
29667
30585
  name: string;
29668
30586
  locked?: boolean | null;
29669
- visible?: ("all" | "manager" | "owner" | "none") | null;
30587
+ visible?: ("all" | "manager") | null;
29670
30588
  /** @enum {string} */
29671
30589
  type: "accounts";
29672
30590
  value: string[];
@@ -30274,6 +31192,124 @@ export interface operations {
30274
31192
  };
30275
31193
  };
30276
31194
  };
31195
+ resolveSyncEntity: {
31196
+ parameters: {
31197
+ query?: never;
31198
+ header?: never;
31199
+ path?: never;
31200
+ cookie?: never;
31201
+ };
31202
+ requestBody?: {
31203
+ content: {
31204
+ "application/json": {
31205
+ /** @enum {string} */
31206
+ entityType: "reservation" | "listing" | "transaction" | "payment" | "bankAccount" | "bankRecord" | "contact";
31207
+ /** Format: uuid */
31208
+ connectionId?: string;
31209
+ /** Format: uuid */
31210
+ id?: string;
31211
+ /** Format: uuid */
31212
+ sourceId?: string;
31213
+ uniqueRef?: string;
31214
+ /** Format: uuid */
31215
+ accountId?: string;
31216
+ };
31217
+ };
31218
+ };
31219
+ responses: {
31220
+ /** @description Successful response */
31221
+ 200: {
31222
+ headers: {
31223
+ [name: string]: unknown;
31224
+ };
31225
+ content: {
31226
+ "application/json": {
31227
+ id: string | null;
31228
+ };
31229
+ };
31230
+ };
31231
+ /** @description Bad request */
31232
+ 400: {
31233
+ headers: {
31234
+ [name: string]: unknown;
31235
+ };
31236
+ content: {
31237
+ "application/json": {
31238
+ code: string;
31239
+ message: string;
31240
+ issues?: {
31241
+ message: string;
31242
+ }[];
31243
+ context?: unknown;
31244
+ };
31245
+ };
31246
+ };
31247
+ /** @description Unauthorized */
31248
+ 401: {
31249
+ headers: {
31250
+ [name: string]: unknown;
31251
+ };
31252
+ content: {
31253
+ "application/json": {
31254
+ code: string;
31255
+ message: string;
31256
+ issues?: {
31257
+ message: string;
31258
+ }[];
31259
+ context?: unknown;
31260
+ };
31261
+ };
31262
+ };
31263
+ /** @description Forbidden */
31264
+ 403: {
31265
+ headers: {
31266
+ [name: string]: unknown;
31267
+ };
31268
+ content: {
31269
+ "application/json": {
31270
+ code: string;
31271
+ message: string;
31272
+ issues?: {
31273
+ message: string;
31274
+ }[];
31275
+ context?: unknown;
31276
+ };
31277
+ };
31278
+ };
31279
+ /** @description Not found */
31280
+ 404: {
31281
+ headers: {
31282
+ [name: string]: unknown;
31283
+ };
31284
+ content: {
31285
+ "application/json": {
31286
+ code: string;
31287
+ message: string;
31288
+ issues?: {
31289
+ message: string;
31290
+ }[];
31291
+ context?: unknown;
31292
+ };
31293
+ };
31294
+ };
31295
+ /** @description Internal server error */
31296
+ 500: {
31297
+ headers: {
31298
+ [name: string]: unknown;
31299
+ };
31300
+ content: {
31301
+ "application/json": {
31302
+ code: string;
31303
+ message: string;
31304
+ issues?: {
31305
+ message: string;
31306
+ }[];
31307
+ context?: unknown;
31308
+ };
31309
+ };
31310
+ };
31311
+ };
31312
+ };
30277
31313
  getSyncs: {
30278
31314
  parameters: {
30279
31315
  query?: {
@@ -31692,6 +32728,140 @@ export interface operations {
31692
32728
  };
31693
32729
  };
31694
32730
  };
32731
+ getTeamsIssues: {
32732
+ parameters: {
32733
+ query?: {
32734
+ /** @description comma separated team ids */
32735
+ tenantIds?: string;
32736
+ /** @description comma separated issue codes */
32737
+ codes?: string;
32738
+ /** @description include teams without any issue rows */
32739
+ includeEmptyTeams?: boolean;
32740
+ };
32741
+ header?: never;
32742
+ path?: never;
32743
+ cookie?: never;
32744
+ };
32745
+ requestBody?: never;
32746
+ responses: {
32747
+ /** @description Successful response */
32748
+ 200: {
32749
+ headers: {
32750
+ [name: string]: unknown;
32751
+ };
32752
+ content: {
32753
+ "application/json": {
32754
+ data: {
32755
+ /** Format: uuid */
32756
+ tenantId: string;
32757
+ tenantName: string;
32758
+ issues: {
32759
+ /** @enum {string} */
32760
+ code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
32761
+ /** @enum {string} */
32762
+ severity: "error" | "warning";
32763
+ /** @enum {string} */
32764
+ category: "criticalToUser" | "criticalToSystem";
32765
+ message: string;
32766
+ affected: number;
32767
+ context: {
32768
+ [key: string]: unknown;
32769
+ };
32770
+ }[];
32771
+ summary: {
32772
+ total: number;
32773
+ affectedTotal: number;
32774
+ errors: number;
32775
+ warnings: number;
32776
+ criticalToUser: number;
32777
+ criticalToSystem: number;
32778
+ };
32779
+ }[];
32780
+ };
32781
+ };
32782
+ };
32783
+ /** @description Bad request */
32784
+ 400: {
32785
+ headers: {
32786
+ [name: string]: unknown;
32787
+ };
32788
+ content: {
32789
+ "application/json": {
32790
+ code: string;
32791
+ message: string;
32792
+ issues?: {
32793
+ message: string;
32794
+ }[];
32795
+ context?: unknown;
32796
+ };
32797
+ };
32798
+ };
32799
+ /** @description Unauthorized */
32800
+ 401: {
32801
+ headers: {
32802
+ [name: string]: unknown;
32803
+ };
32804
+ content: {
32805
+ "application/json": {
32806
+ code: string;
32807
+ message: string;
32808
+ issues?: {
32809
+ message: string;
32810
+ }[];
32811
+ context?: unknown;
32812
+ };
32813
+ };
32814
+ };
32815
+ /** @description Forbidden */
32816
+ 403: {
32817
+ headers: {
32818
+ [name: string]: unknown;
32819
+ };
32820
+ content: {
32821
+ "application/json": {
32822
+ code: string;
32823
+ message: string;
32824
+ issues?: {
32825
+ message: string;
32826
+ }[];
32827
+ context?: unknown;
32828
+ };
32829
+ };
32830
+ };
32831
+ /** @description Not found */
32832
+ 404: {
32833
+ headers: {
32834
+ [name: string]: unknown;
32835
+ };
32836
+ content: {
32837
+ "application/json": {
32838
+ code: string;
32839
+ message: string;
32840
+ issues?: {
32841
+ message: string;
32842
+ }[];
32843
+ context?: unknown;
32844
+ };
32845
+ };
32846
+ };
32847
+ /** @description Internal server error */
32848
+ 500: {
32849
+ headers: {
32850
+ [name: string]: unknown;
32851
+ };
32852
+ content: {
32853
+ "application/json": {
32854
+ code: string;
32855
+ message: string;
32856
+ issues?: {
32857
+ message: string;
32858
+ }[];
32859
+ context?: unknown;
32860
+ };
32861
+ };
32862
+ };
32863
+ };
32864
+ };
31695
32865
  getTeamsOpeningBalancesAdvancedDeposits: {
31696
32866
  parameters: {
31697
32867
  query?: never;
@@ -33354,6 +34524,136 @@ export interface operations {
33354
34524
  };
33355
34525
  };
33356
34526
  };
34527
+ getTeamsByIdIssues: {
34528
+ parameters: {
34529
+ query?: {
34530
+ /** @description comma separated issue codes */
34531
+ codes?: string;
34532
+ };
34533
+ header?: never;
34534
+ path: {
34535
+ id: string;
34536
+ };
34537
+ cookie?: never;
34538
+ };
34539
+ requestBody?: never;
34540
+ responses: {
34541
+ /** @description Successful response */
34542
+ 200: {
34543
+ headers: {
34544
+ [name: string]: unknown;
34545
+ };
34546
+ content: {
34547
+ "application/json": {
34548
+ /** Format: uuid */
34549
+ tenantId: string;
34550
+ tenantName: string;
34551
+ issues: {
34552
+ /** @enum {string} */
34553
+ code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
34554
+ /** @enum {string} */
34555
+ severity: "error" | "warning";
34556
+ /** @enum {string} */
34557
+ category: "criticalToUser" | "criticalToSystem";
34558
+ message: string;
34559
+ affected: number;
34560
+ context: {
34561
+ [key: string]: unknown;
34562
+ };
34563
+ }[];
34564
+ summary: {
34565
+ total: number;
34566
+ affectedTotal: number;
34567
+ errors: number;
34568
+ warnings: number;
34569
+ criticalToUser: number;
34570
+ criticalToSystem: number;
34571
+ };
34572
+ };
34573
+ };
34574
+ };
34575
+ /** @description Bad request */
34576
+ 400: {
34577
+ headers: {
34578
+ [name: string]: unknown;
34579
+ };
34580
+ content: {
34581
+ "application/json": {
34582
+ code: string;
34583
+ message: string;
34584
+ issues?: {
34585
+ message: string;
34586
+ }[];
34587
+ context?: unknown;
34588
+ };
34589
+ };
34590
+ };
34591
+ /** @description Unauthorized */
34592
+ 401: {
34593
+ headers: {
34594
+ [name: string]: unknown;
34595
+ };
34596
+ content: {
34597
+ "application/json": {
34598
+ code: string;
34599
+ message: string;
34600
+ issues?: {
34601
+ message: string;
34602
+ }[];
34603
+ context?: unknown;
34604
+ };
34605
+ };
34606
+ };
34607
+ /** @description Forbidden */
34608
+ 403: {
34609
+ headers: {
34610
+ [name: string]: unknown;
34611
+ };
34612
+ content: {
34613
+ "application/json": {
34614
+ code: string;
34615
+ message: string;
34616
+ issues?: {
34617
+ message: string;
34618
+ }[];
34619
+ context?: unknown;
34620
+ };
34621
+ };
34622
+ };
34623
+ /** @description Not found */
34624
+ 404: {
34625
+ headers: {
34626
+ [name: string]: unknown;
34627
+ };
34628
+ content: {
34629
+ "application/json": {
34630
+ code: string;
34631
+ message: string;
34632
+ issues?: {
34633
+ message: string;
34634
+ }[];
34635
+ context?: unknown;
34636
+ };
34637
+ };
34638
+ };
34639
+ /** @description Internal server error */
34640
+ 500: {
34641
+ headers: {
34642
+ [name: string]: unknown;
34643
+ };
34644
+ content: {
34645
+ "application/json": {
34646
+ code: string;
34647
+ message: string;
34648
+ issues?: {
34649
+ message: string;
34650
+ }[];
34651
+ context?: unknown;
34652
+ };
34653
+ };
34654
+ };
34655
+ };
34656
+ };
33357
34657
  postTransactionAttachments: {
33358
34658
  parameters: {
33359
34659
  query?: never;
@@ -33702,11 +35002,97 @@ export interface operations {
33702
35002
  };
33703
35003
  requestBody?: never;
33704
35004
  responses: {
35005
+ /** @description Successful response */
33705
35006
  200: {
33706
35007
  headers: {
33707
35008
  [name: string]: unknown;
33708
35009
  };
33709
- content?: never;
35010
+ content: {
35011
+ "application/json": {
35012
+ /** Format: uuid */
35013
+ id: string;
35014
+ };
35015
+ };
35016
+ };
35017
+ /** @description Bad request */
35018
+ 400: {
35019
+ headers: {
35020
+ [name: string]: unknown;
35021
+ };
35022
+ content: {
35023
+ "application/json": {
35024
+ code: string;
35025
+ message: string;
35026
+ issues?: {
35027
+ message: string;
35028
+ }[];
35029
+ context?: unknown;
35030
+ };
35031
+ };
35032
+ };
35033
+ /** @description Unauthorized */
35034
+ 401: {
35035
+ headers: {
35036
+ [name: string]: unknown;
35037
+ };
35038
+ content: {
35039
+ "application/json": {
35040
+ code: string;
35041
+ message: string;
35042
+ issues?: {
35043
+ message: string;
35044
+ }[];
35045
+ context?: unknown;
35046
+ };
35047
+ };
35048
+ };
35049
+ /** @description Forbidden */
35050
+ 403: {
35051
+ headers: {
35052
+ [name: string]: unknown;
35053
+ };
35054
+ content: {
35055
+ "application/json": {
35056
+ code: string;
35057
+ message: string;
35058
+ issues?: {
35059
+ message: string;
35060
+ }[];
35061
+ context?: unknown;
35062
+ };
35063
+ };
35064
+ };
35065
+ /** @description Not found */
35066
+ 404: {
35067
+ headers: {
35068
+ [name: string]: unknown;
35069
+ };
35070
+ content: {
35071
+ "application/json": {
35072
+ code: string;
35073
+ message: string;
35074
+ issues?: {
35075
+ message: string;
35076
+ }[];
35077
+ context?: unknown;
35078
+ };
35079
+ };
35080
+ };
35081
+ /** @description Internal server error */
35082
+ 500: {
35083
+ headers: {
35084
+ [name: string]: unknown;
35085
+ };
35086
+ content: {
35087
+ "application/json": {
35088
+ code: string;
35089
+ message: string;
35090
+ issues?: {
35091
+ message: string;
35092
+ }[];
35093
+ context?: unknown;
35094
+ };
35095
+ };
33710
35096
  };
33711
35097
  };
33712
35098
  };