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