@vrplatform/api 1.3.1-stage.1959 → 1.3.1-stage.1961
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.
- package/build/main/generated/v1.d.ts +2009 -1299
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +2009 -1299
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +2009 -1299
package/src/generated/v1.ts
CHANGED
|
@@ -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;
|
|
@@ -4507,35 +4558,24 @@ export interface operations {
|
|
|
4507
4558
|
};
|
|
4508
4559
|
};
|
|
4509
4560
|
};
|
|
4510
|
-
|
|
4561
|
+
getAuditActions: {
|
|
4511
4562
|
parameters: {
|
|
4512
|
-
query?:
|
|
4563
|
+
query?: {
|
|
4564
|
+
limit?: number;
|
|
4565
|
+
offset?: number;
|
|
4566
|
+
startDate?: string;
|
|
4567
|
+
endDate?: string;
|
|
4568
|
+
actionType?: string;
|
|
4569
|
+
entityId?: string;
|
|
4570
|
+
entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
|
|
4571
|
+
includeIfNoEffects?: boolean;
|
|
4572
|
+
page?: number;
|
|
4573
|
+
};
|
|
4513
4574
|
header?: never;
|
|
4514
4575
|
path?: never;
|
|
4515
4576
|
cookie?: never;
|
|
4516
4577
|
};
|
|
4517
|
-
requestBody?:
|
|
4518
|
-
content: {
|
|
4519
|
-
"application/json": {
|
|
4520
|
-
/** Format: uuid */
|
|
4521
|
-
connectionId: string;
|
|
4522
|
-
data: {
|
|
4523
|
-
id?: string | null;
|
|
4524
|
-
/** @enum {string} */
|
|
4525
|
-
type: "deposit" | "creditCard";
|
|
4526
|
-
/** @enum {string} */
|
|
4527
|
-
category: "trust" | "operating" | "external";
|
|
4528
|
-
name: string;
|
|
4529
|
-
uniqueRef?: string | null;
|
|
4530
|
-
sourceId?: string | null;
|
|
4531
|
-
currency?: string | null;
|
|
4532
|
-
lastDigits?: string | null;
|
|
4533
|
-
status?: ("active" | "inactive") | null;
|
|
4534
|
-
accountId?: string | null;
|
|
4535
|
-
}[];
|
|
4536
|
-
};
|
|
4537
|
-
};
|
|
4538
|
-
};
|
|
4578
|
+
requestBody?: never;
|
|
4539
4579
|
responses: {
|
|
4540
4580
|
/** @description Successful response */
|
|
4541
4581
|
200: {
|
|
@@ -4547,17 +4587,45 @@ export interface operations {
|
|
|
4547
4587
|
data: {
|
|
4548
4588
|
/** Format: uuid */
|
|
4549
4589
|
id: string;
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4590
|
+
/** Format: uuid */
|
|
4591
|
+
tenantId: string;
|
|
4592
|
+
actionType: string;
|
|
4593
|
+
rootEntityType: string | null;
|
|
4594
|
+
rootEntityId: string | null;
|
|
4595
|
+
message: string | null;
|
|
4596
|
+
payload: unknown;
|
|
4597
|
+
userId: string | null;
|
|
4598
|
+
actor: {
|
|
4599
|
+
id: string | null;
|
|
4600
|
+
type: string;
|
|
4601
|
+
name: string | null;
|
|
4602
|
+
email: string | null;
|
|
4603
|
+
};
|
|
4604
|
+
createdAt: string;
|
|
4605
|
+
source: string | null;
|
|
4606
|
+
apiVersion: string;
|
|
4607
|
+
requestId: string | null;
|
|
4608
|
+
traceId: string | null;
|
|
4609
|
+
parentActionId: string | null;
|
|
4610
|
+
effectCounts: {
|
|
4611
|
+
total: number;
|
|
4612
|
+
pending: number;
|
|
4613
|
+
claimed: number;
|
|
4614
|
+
running: number;
|
|
4615
|
+
completed: number;
|
|
4616
|
+
failed: number;
|
|
4617
|
+
deadLetter: number;
|
|
4618
|
+
};
|
|
4560
4619
|
}[];
|
|
4620
|
+
pagination: {
|
|
4621
|
+
/** @default 100 */
|
|
4622
|
+
limit: number;
|
|
4623
|
+
/** @default 1 */
|
|
4624
|
+
page: number;
|
|
4625
|
+
total: number;
|
|
4626
|
+
totalPage: number;
|
|
4627
|
+
nextPage?: number;
|
|
4628
|
+
};
|
|
4561
4629
|
};
|
|
4562
4630
|
};
|
|
4563
4631
|
};
|
|
@@ -4643,7 +4711,7 @@ export interface operations {
|
|
|
4643
4711
|
};
|
|
4644
4712
|
};
|
|
4645
4713
|
};
|
|
4646
|
-
|
|
4714
|
+
getAuditActionsById: {
|
|
4647
4715
|
parameters: {
|
|
4648
4716
|
query?: never;
|
|
4649
4717
|
header?: never;
|
|
@@ -4652,23 +4720,7 @@ export interface operations {
|
|
|
4652
4720
|
};
|
|
4653
4721
|
cookie?: never;
|
|
4654
4722
|
};
|
|
4655
|
-
requestBody?:
|
|
4656
|
-
content: {
|
|
4657
|
-
"application/json": {
|
|
4658
|
-
/** @enum {string} */
|
|
4659
|
-
type?: "deposit" | "creditCard";
|
|
4660
|
-
/** @enum {string} */
|
|
4661
|
-
category?: "trust" | "operating" | "external";
|
|
4662
|
-
name?: string;
|
|
4663
|
-
uniqueRef?: string | null;
|
|
4664
|
-
sourceId?: string | null;
|
|
4665
|
-
currency?: string | null;
|
|
4666
|
-
lastDigits?: string | null;
|
|
4667
|
-
status?: ("active" | "inactive") | null;
|
|
4668
|
-
accountId?: string | null;
|
|
4669
|
-
};
|
|
4670
|
-
};
|
|
4671
|
-
};
|
|
4723
|
+
requestBody?: never;
|
|
4672
4724
|
responses: {
|
|
4673
4725
|
/** @description Successful response */
|
|
4674
4726
|
200: {
|
|
@@ -4679,37 +4731,44 @@ export interface operations {
|
|
|
4679
4731
|
"application/json": {
|
|
4680
4732
|
/** Format: uuid */
|
|
4681
4733
|
id: string;
|
|
4682
|
-
/**
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
id: string;
|
|
4693
|
-
name: string;
|
|
4694
|
-
uniqueRef?: string | null;
|
|
4695
|
-
/** @enum {string} */
|
|
4696
|
-
status: "active" | "inactive";
|
|
4697
|
-
} | null;
|
|
4698
|
-
source?: {
|
|
4699
|
-
/** Format: uuid */
|
|
4700
|
-
id: string;
|
|
4734
|
+
/** Format: uuid */
|
|
4735
|
+
tenantId: string;
|
|
4736
|
+
actionType: string;
|
|
4737
|
+
rootEntityType: string | null;
|
|
4738
|
+
rootEntityId: string | null;
|
|
4739
|
+
message: string | null;
|
|
4740
|
+
payload: unknown;
|
|
4741
|
+
userId: string | null;
|
|
4742
|
+
actor: {
|
|
4743
|
+
id: string | null;
|
|
4701
4744
|
type: string;
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4745
|
+
name: string | null;
|
|
4746
|
+
email: string | null;
|
|
4747
|
+
};
|
|
4748
|
+
createdAt: string;
|
|
4749
|
+
source: string | null;
|
|
4750
|
+
apiVersion: string;
|
|
4751
|
+
requestId: string | null;
|
|
4752
|
+
traceId: string | null;
|
|
4753
|
+
parentActionId: string | null;
|
|
4754
|
+
effectCounts: {
|
|
4755
|
+
total: number;
|
|
4756
|
+
pending: number;
|
|
4757
|
+
claimed: number;
|
|
4758
|
+
running: number;
|
|
4759
|
+
completed: number;
|
|
4760
|
+
failed: number;
|
|
4761
|
+
deadLetter: number;
|
|
4762
|
+
};
|
|
4763
|
+
};
|
|
4764
|
+
};
|
|
4765
|
+
};
|
|
4766
|
+
/** @description Bad request */
|
|
4767
|
+
400: {
|
|
4768
|
+
headers: {
|
|
4769
|
+
[name: string]: unknown;
|
|
4770
|
+
};
|
|
4771
|
+
content: {
|
|
4713
4772
|
"application/json": {
|
|
4714
4773
|
code: string;
|
|
4715
4774
|
message: string;
|
|
@@ -4786,28 +4845,16 @@ export interface operations {
|
|
|
4786
4845
|
};
|
|
4787
4846
|
};
|
|
4788
4847
|
};
|
|
4789
|
-
|
|
4848
|
+
getAuditEffects: {
|
|
4790
4849
|
parameters: {
|
|
4791
4850
|
query?: {
|
|
4792
|
-
status?: "active" | "inactive";
|
|
4793
|
-
search?: string;
|
|
4794
|
-
/** @description Amount in cents, also accepts ranges like 100...200 */
|
|
4795
|
-
amount?: string;
|
|
4796
|
-
/** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
|
|
4797
|
-
dateRange?: string;
|
|
4798
|
-
/** @description Whether the end date is inclusive or exclusive */
|
|
4799
|
-
isDateRangeEndInclusive?: boolean;
|
|
4800
|
-
bankAccountId?: string;
|
|
4801
|
-
accountId?: string;
|
|
4802
|
-
uniqueRefs?: string;
|
|
4803
|
-
reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
4804
|
-
includeBalanceRecords?: boolean;
|
|
4805
|
-
/** @description Include matching transactions, optionally with max days offset */
|
|
4806
|
-
includeMatchingTransactions?: string;
|
|
4807
|
-
hasMatchingTransactions?: boolean;
|
|
4808
|
-
reservationLineFilter?: "all" | "reservationOnly" | "nonReservationOnly";
|
|
4809
|
-
sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
|
|
4810
4851
|
limit?: number;
|
|
4852
|
+
offset?: number;
|
|
4853
|
+
actionId?: string;
|
|
4854
|
+
entityId?: string;
|
|
4855
|
+
entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
|
|
4856
|
+
status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
|
|
4857
|
+
effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
|
|
4811
4858
|
page?: number;
|
|
4812
4859
|
};
|
|
4813
4860
|
header?: never;
|
|
@@ -4826,82 +4873,167 @@ export interface operations {
|
|
|
4826
4873
|
data: {
|
|
4827
4874
|
/** Format: uuid */
|
|
4828
4875
|
id: string;
|
|
4829
|
-
|
|
4830
|
-
date: string;
|
|
4831
|
-
/** @enum {string} */
|
|
4832
|
-
status: "active" | "inactive";
|
|
4833
|
-
description?: string | null;
|
|
4834
|
-
bankAccountId?: string | null;
|
|
4835
|
-
accountId?: string | null;
|
|
4836
|
-
connectionId?: string | null;
|
|
4837
|
-
source?: {
|
|
4876
|
+
action: {
|
|
4838
4877
|
/** Format: uuid */
|
|
4839
4878
|
id: string;
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
correction: number;
|
|
4849
|
-
};
|
|
4850
|
-
reconciliation: {
|
|
4851
|
-
status?: ("unpaid" | "underpaid" | "overpaid" | "paid") | null;
|
|
4852
|
-
transactions?: {
|
|
4853
|
-
id: string;
|
|
4854
|
-
date: string;
|
|
4855
|
-
description?: string | null;
|
|
4879
|
+
actionType: string;
|
|
4880
|
+
source: string | null;
|
|
4881
|
+
apiVersion: string;
|
|
4882
|
+
requestId: string | null;
|
|
4883
|
+
traceId: string | null;
|
|
4884
|
+
parentActionId: string | null;
|
|
4885
|
+
actor: {
|
|
4886
|
+
id: string | null;
|
|
4856
4887
|
type: string;
|
|
4857
|
-
|
|
4858
|
-
|
|
4888
|
+
name: string | null;
|
|
4889
|
+
email: string | null;
|
|
4890
|
+
};
|
|
4859
4891
|
};
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4892
|
+
rootEntityType: string | null;
|
|
4893
|
+
rootEntityId: string | null;
|
|
4894
|
+
/** @enum {string} */
|
|
4895
|
+
effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
|
|
4896
|
+
payload: unknown;
|
|
4897
|
+
entity: ({
|
|
4898
|
+
/** @constant */
|
|
4899
|
+
type: "reservation";
|
|
4900
|
+
data: {
|
|
4867
4901
|
id: string;
|
|
4868
|
-
|
|
4869
|
-
uniqueRef
|
|
4902
|
+
confirmationCode?: string | null;
|
|
4903
|
+
uniqueRef: string;
|
|
4870
4904
|
/** @enum {string} */
|
|
4871
|
-
status: "
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
isOpeningBalance: boolean;
|
|
4880
|
-
contact?: {
|
|
4881
|
-
/** Format: uuid */
|
|
4905
|
+
status: "booked" | "canceled" | "inactive";
|
|
4906
|
+
checkIn?: string | null;
|
|
4907
|
+
checkOut?: string | null;
|
|
4908
|
+
};
|
|
4909
|
+
} | {
|
|
4910
|
+
/** @constant */
|
|
4911
|
+
type: "transaction";
|
|
4912
|
+
data: {
|
|
4882
4913
|
id: string;
|
|
4883
|
-
|
|
4884
|
-
|
|
4914
|
+
/** @enum {string} */
|
|
4915
|
+
status: "active" | "inactive";
|
|
4916
|
+
/** @description Value in cents (100 = 1€) */
|
|
4917
|
+
amount: number;
|
|
4918
|
+
account?: {
|
|
4919
|
+
id: string;
|
|
4920
|
+
name: string;
|
|
4921
|
+
uniqueRef?: string | null;
|
|
4922
|
+
/** @enum {string} */
|
|
4923
|
+
status: "active" | "inactive";
|
|
4924
|
+
} | null;
|
|
4925
|
+
date: string;
|
|
4926
|
+
description: string;
|
|
4927
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
4928
|
+
currency: string;
|
|
4929
|
+
/** @enum {string} */
|
|
4930
|
+
type: "deposit" | "expense" | "transfer";
|
|
4931
|
+
isOpeningBalance: boolean;
|
|
4932
|
+
contact?: {
|
|
4933
|
+
/** Format: uuid */
|
|
4934
|
+
id: string;
|
|
4935
|
+
name?: string | null;
|
|
4936
|
+
firstName?: string | null;
|
|
4937
|
+
uniqueRef?: string | null;
|
|
4938
|
+
shortRef?: string | null;
|
|
4939
|
+
} | null;
|
|
4940
|
+
connection?: {
|
|
4941
|
+
/** Format: uuid */
|
|
4942
|
+
id: string;
|
|
4943
|
+
name: string;
|
|
4944
|
+
/** @enum {string} */
|
|
4945
|
+
status: "active" | "inactive";
|
|
4946
|
+
uniqueRef?: string | null;
|
|
4947
|
+
appId: string;
|
|
4948
|
+
} | null;
|
|
4885
4949
|
uniqueRef?: string | null;
|
|
4886
4950
|
shortRef?: string | null;
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4951
|
+
recurringTemplate?: {
|
|
4952
|
+
id: string;
|
|
4953
|
+
} | null;
|
|
4954
|
+
};
|
|
4955
|
+
} | {
|
|
4956
|
+
/** @constant */
|
|
4957
|
+
type: "recurringTransactionTemplate";
|
|
4958
|
+
data: {
|
|
4890
4959
|
id: string;
|
|
4891
|
-
name: string;
|
|
4892
4960
|
/** @enum {string} */
|
|
4893
4961
|
status: "active" | "inactive";
|
|
4962
|
+
/** @description Value in cents (100 = 1€) */
|
|
4963
|
+
amount: number;
|
|
4964
|
+
account?: {
|
|
4965
|
+
id: string;
|
|
4966
|
+
name: string;
|
|
4967
|
+
uniqueRef?: string | null;
|
|
4968
|
+
/** @enum {string} */
|
|
4969
|
+
status: "active" | "inactive";
|
|
4970
|
+
} | null;
|
|
4971
|
+
date: string;
|
|
4972
|
+
description: string;
|
|
4973
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
4974
|
+
currency: string;
|
|
4975
|
+
/** @enum {string} */
|
|
4976
|
+
type: "deposit" | "expense" | "transfer";
|
|
4977
|
+
isOpeningBalance: boolean;
|
|
4978
|
+
contact?: {
|
|
4979
|
+
/** Format: uuid */
|
|
4980
|
+
id: string;
|
|
4981
|
+
name?: string | null;
|
|
4982
|
+
firstName?: string | null;
|
|
4983
|
+
uniqueRef?: string | null;
|
|
4984
|
+
shortRef?: string | null;
|
|
4985
|
+
} | null;
|
|
4986
|
+
connection?: {
|
|
4987
|
+
/** Format: uuid */
|
|
4988
|
+
id: string;
|
|
4989
|
+
name: string;
|
|
4990
|
+
/** @enum {string} */
|
|
4991
|
+
status: "active" | "inactive";
|
|
4992
|
+
uniqueRef?: string | null;
|
|
4993
|
+
appId: string;
|
|
4994
|
+
} | null;
|
|
4894
4995
|
uniqueRef?: string | null;
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4996
|
+
shortRef?: string | null;
|
|
4997
|
+
recurringTemplate?: {
|
|
4998
|
+
id: string;
|
|
4999
|
+
} | null;
|
|
5000
|
+
};
|
|
5001
|
+
} | {
|
|
5002
|
+
/** @constant */
|
|
5003
|
+
type: "other";
|
|
5004
|
+
data: {
|
|
5005
|
+
/** Format: uuid */
|
|
4900
5006
|
id: string;
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
5007
|
+
type: string;
|
|
5008
|
+
name: string | null;
|
|
5009
|
+
};
|
|
5010
|
+
}) | null;
|
|
5011
|
+
/** @enum {string} */
|
|
5012
|
+
status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
|
|
5013
|
+
priority: number;
|
|
5014
|
+
retryCount: number;
|
|
5015
|
+
maxRetries: number;
|
|
5016
|
+
sequence: number;
|
|
5017
|
+
claimedAt: string | null;
|
|
5018
|
+
claimedBy: string | null;
|
|
5019
|
+
completedAt: string | null;
|
|
5020
|
+
lastAttemptAt: string | null;
|
|
5021
|
+
lastError: string | null;
|
|
5022
|
+
latestAttempt: {
|
|
5023
|
+
/** Format: uuid */
|
|
5024
|
+
id: string;
|
|
5025
|
+
/** @enum {string} */
|
|
5026
|
+
status: "running" | "completed" | "failed" | "skipped_locked";
|
|
5027
|
+
attemptNum: number;
|
|
5028
|
+
startedAt: string;
|
|
5029
|
+
finishedAt: string | null;
|
|
5030
|
+
workerId: string | null;
|
|
5031
|
+
resultCode: string | null;
|
|
5032
|
+
resultCategory: string | null;
|
|
5033
|
+
retryable: boolean | null;
|
|
5034
|
+
errorMessage: string | null;
|
|
5035
|
+
} | null;
|
|
5036
|
+
createdAt: string;
|
|
4905
5037
|
}[];
|
|
4906
5038
|
pagination: {
|
|
4907
5039
|
/** @default 100 */
|
|
@@ -4997,46 +5129,27 @@ export interface operations {
|
|
|
4997
5129
|
};
|
|
4998
5130
|
};
|
|
4999
5131
|
};
|
|
5000
|
-
|
|
5132
|
+
getAuditJournalDeltas: {
|
|
5001
5133
|
parameters: {
|
|
5002
|
-
query?:
|
|
5134
|
+
query?: {
|
|
5135
|
+
limit?: number;
|
|
5136
|
+
offset?: number;
|
|
5137
|
+
actionId?: string;
|
|
5138
|
+
effectId?: string;
|
|
5139
|
+
mutationId?: string;
|
|
5140
|
+
journalEntryId?: string;
|
|
5141
|
+
operation?: "insert" | "update" | "delete";
|
|
5142
|
+
rootEntityType?: string;
|
|
5143
|
+
rootEntityId?: string;
|
|
5144
|
+
startAt?: string;
|
|
5145
|
+
endAt?: string;
|
|
5146
|
+
page?: number;
|
|
5147
|
+
};
|
|
5003
5148
|
header?: never;
|
|
5004
5149
|
path?: never;
|
|
5005
5150
|
cookie?: never;
|
|
5006
5151
|
};
|
|
5007
|
-
requestBody?:
|
|
5008
|
-
content: {
|
|
5009
|
-
"application/json": {
|
|
5010
|
-
/** Format: uuid */
|
|
5011
|
-
connectionId: string;
|
|
5012
|
-
data: {
|
|
5013
|
-
uniqueRef?: string | null;
|
|
5014
|
-
date: string;
|
|
5015
|
-
/** @enum {string} */
|
|
5016
|
-
status?: "active" | "inactive";
|
|
5017
|
-
description?: string | null;
|
|
5018
|
-
accountId?: string | null;
|
|
5019
|
-
/** @enum {string} */
|
|
5020
|
-
type?: "transaction" | "balance";
|
|
5021
|
-
amount?: number;
|
|
5022
|
-
balance?: number | null;
|
|
5023
|
-
reconciliation?: {
|
|
5024
|
-
status?: ("unpaid" | "underpaid" | "overpaid" | "paid") | null;
|
|
5025
|
-
transactions?: {
|
|
5026
|
-
id: string;
|
|
5027
|
-
date: string;
|
|
5028
|
-
description?: string | null;
|
|
5029
|
-
type: string;
|
|
5030
|
-
amount: number;
|
|
5031
|
-
}[] | null;
|
|
5032
|
-
};
|
|
5033
|
-
id?: string | null;
|
|
5034
|
-
bankAccountRef?: string | null;
|
|
5035
|
-
sourceId?: string | null;
|
|
5036
|
-
}[];
|
|
5037
|
-
};
|
|
5038
|
-
};
|
|
5039
|
-
};
|
|
5152
|
+
requestBody?: never;
|
|
5040
5153
|
responses: {
|
|
5041
5154
|
/** @description Successful response */
|
|
5042
5155
|
200: {
|
|
@@ -5048,17 +5161,46 @@ export interface operations {
|
|
|
5048
5161
|
data: {
|
|
5049
5162
|
/** Format: uuid */
|
|
5050
5163
|
id: string;
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5164
|
+
/** Format: uuid */
|
|
5165
|
+
tenantId: string;
|
|
5166
|
+
/** Format: uuid */
|
|
5167
|
+
journalEntryId: string;
|
|
5168
|
+
/** Format: uuid */
|
|
5169
|
+
actionId: string;
|
|
5170
|
+
effectId: string | null;
|
|
5171
|
+
mutationId: string | null;
|
|
5172
|
+
rootEntityType: string | null;
|
|
5173
|
+
rootEntityId: string | null;
|
|
5058
5174
|
/** @enum {string} */
|
|
5059
|
-
|
|
5060
|
-
|
|
5175
|
+
operation: "insert" | "update" | "delete";
|
|
5176
|
+
changedAt: string;
|
|
5177
|
+
apiVersion: string;
|
|
5178
|
+
changedFields: string[];
|
|
5179
|
+
diffJson: unknown | null;
|
|
5180
|
+
accountIdBefore: string | null;
|
|
5181
|
+
accountIdAfter: string | null;
|
|
5182
|
+
centTotalBefore: number | null;
|
|
5183
|
+
centTotalAfter: number | null;
|
|
5184
|
+
txnAtBefore: string | null;
|
|
5185
|
+
txnAtAfter: string | null;
|
|
5186
|
+
statusBefore: string | null;
|
|
5187
|
+
statusAfter: string | null;
|
|
5188
|
+
partyBefore: string | null;
|
|
5189
|
+
partyAfter: string | null;
|
|
5190
|
+
listingOwnershipPeriodIdBefore: string | null;
|
|
5191
|
+
listingOwnershipPeriodIdAfter: string | null;
|
|
5192
|
+
attachedToOwnerStatementIdBefore: string | null;
|
|
5193
|
+
attachedToOwnerStatementIdAfter: string | null;
|
|
5061
5194
|
}[];
|
|
5195
|
+
pagination: {
|
|
5196
|
+
/** @default 100 */
|
|
5197
|
+
limit: number;
|
|
5198
|
+
/** @default 1 */
|
|
5199
|
+
page: number;
|
|
5200
|
+
total: number;
|
|
5201
|
+
totalPage: number;
|
|
5202
|
+
nextPage?: number;
|
|
5203
|
+
};
|
|
5062
5204
|
};
|
|
5063
5205
|
};
|
|
5064
5206
|
};
|
|
@@ -5144,27 +5286,20 @@ export interface operations {
|
|
|
5144
5286
|
};
|
|
5145
5287
|
};
|
|
5146
5288
|
};
|
|
5147
|
-
|
|
5289
|
+
getAuditMutations: {
|
|
5148
5290
|
parameters: {
|
|
5149
5291
|
query?: {
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
5162
|
-
includeBalanceRecords?: boolean;
|
|
5163
|
-
/** @description Include matching transactions, optionally with max days offset */
|
|
5164
|
-
includeMatchingTransactions?: string;
|
|
5165
|
-
hasMatchingTransactions?: boolean;
|
|
5166
|
-
reservationLineFilter?: "all" | "reservationOnly" | "nonReservationOnly";
|
|
5167
|
-
sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
|
|
5292
|
+
limit?: number;
|
|
5293
|
+
offset?: number;
|
|
5294
|
+
actionId?: string;
|
|
5295
|
+
effectId?: string;
|
|
5296
|
+
entityType?: string;
|
|
5297
|
+
entityId?: string;
|
|
5298
|
+
op?: string;
|
|
5299
|
+
outcome?: string;
|
|
5300
|
+
startAt?: string;
|
|
5301
|
+
endAt?: string;
|
|
5302
|
+
page?: number;
|
|
5168
5303
|
};
|
|
5169
5304
|
header?: never;
|
|
5170
5305
|
path?: never;
|
|
@@ -5179,7 +5314,59 @@ export interface operations {
|
|
|
5179
5314
|
};
|
|
5180
5315
|
content: {
|
|
5181
5316
|
"application/json": {
|
|
5182
|
-
|
|
5317
|
+
data: {
|
|
5318
|
+
/** Format: uuid */
|
|
5319
|
+
id: string;
|
|
5320
|
+
/** Format: uuid */
|
|
5321
|
+
tenantId: string;
|
|
5322
|
+
/** Format: uuid */
|
|
5323
|
+
actionId: string;
|
|
5324
|
+
effectId: string | null;
|
|
5325
|
+
op: string;
|
|
5326
|
+
rootEntityType: string | null;
|
|
5327
|
+
rootEntityId: string | null;
|
|
5328
|
+
subjectType: string;
|
|
5329
|
+
/** Format: uuid */
|
|
5330
|
+
subjectId: string;
|
|
5331
|
+
outcome: string | null;
|
|
5332
|
+
changeRecord: {
|
|
5333
|
+
summary: string;
|
|
5334
|
+
changedKeys: string[];
|
|
5335
|
+
reasonCode: string;
|
|
5336
|
+
outcome: string;
|
|
5337
|
+
context: {
|
|
5338
|
+
[key: string]: unknown;
|
|
5339
|
+
} | null;
|
|
5340
|
+
} & {
|
|
5341
|
+
[key: string]: unknown;
|
|
5342
|
+
};
|
|
5343
|
+
createdAt: string;
|
|
5344
|
+
action: {
|
|
5345
|
+
/** Format: uuid */
|
|
5346
|
+
id: string;
|
|
5347
|
+
actionType: string;
|
|
5348
|
+
source: string | null;
|
|
5349
|
+
apiVersion: string;
|
|
5350
|
+
requestId: string | null;
|
|
5351
|
+
traceId: string | null;
|
|
5352
|
+
parentActionId: string | null;
|
|
5353
|
+
actor: {
|
|
5354
|
+
id: string | null;
|
|
5355
|
+
type: string;
|
|
5356
|
+
name: string | null;
|
|
5357
|
+
email: string | null;
|
|
5358
|
+
};
|
|
5359
|
+
};
|
|
5360
|
+
}[];
|
|
5361
|
+
pagination: {
|
|
5362
|
+
/** @default 100 */
|
|
5363
|
+
limit: number;
|
|
5364
|
+
/** @default 1 */
|
|
5365
|
+
page: number;
|
|
5366
|
+
total: number;
|
|
5367
|
+
totalPage: number;
|
|
5368
|
+
nextPage?: number;
|
|
5369
|
+
};
|
|
5183
5370
|
};
|
|
5184
5371
|
};
|
|
5185
5372
|
};
|
|
@@ -5265,16 +5452,20 @@ export interface operations {
|
|
|
5265
5452
|
};
|
|
5266
5453
|
};
|
|
5267
5454
|
};
|
|
5268
|
-
|
|
5455
|
+
getAuditTimeline: {
|
|
5269
5456
|
parameters: {
|
|
5270
|
-
query
|
|
5271
|
-
|
|
5272
|
-
|
|
5457
|
+
query: {
|
|
5458
|
+
rootEntityType: string;
|
|
5459
|
+
rootEntityId: string;
|
|
5460
|
+
types?: ("action" | "effect" | "effect_attempt" | "mutation" | "journal_delta")[];
|
|
5461
|
+
from?: string;
|
|
5462
|
+
to?: string;
|
|
5463
|
+
includeDiff?: boolean;
|
|
5464
|
+
limit?: number;
|
|
5465
|
+
cursor?: string;
|
|
5273
5466
|
};
|
|
5274
5467
|
header?: never;
|
|
5275
|
-
path
|
|
5276
|
-
id: string;
|
|
5277
|
-
};
|
|
5468
|
+
path?: never;
|
|
5278
5469
|
cookie?: never;
|
|
5279
5470
|
};
|
|
5280
5471
|
requestBody?: never;
|
|
@@ -5286,84 +5477,151 @@ export interface operations {
|
|
|
5286
5477
|
};
|
|
5287
5478
|
content: {
|
|
5288
5479
|
"application/json": {
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
date: string;
|
|
5293
|
-
/** @enum {string} */
|
|
5294
|
-
status: "active" | "inactive";
|
|
5295
|
-
description?: string | null;
|
|
5296
|
-
bankAccountId?: string | null;
|
|
5297
|
-
accountId?: string | null;
|
|
5298
|
-
connectionId?: string | null;
|
|
5299
|
-
source?: {
|
|
5480
|
+
data: ({
|
|
5481
|
+
/** @constant */
|
|
5482
|
+
type: "action";
|
|
5300
5483
|
/** Format: uuid */
|
|
5301
5484
|
id: string;
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5485
|
+
timestamp: string;
|
|
5486
|
+
actionId: string | null;
|
|
5487
|
+
effectId: string | null;
|
|
5488
|
+
mutationId: string | null;
|
|
5489
|
+
rootEntityType: string | null;
|
|
5490
|
+
rootEntityId: string | null;
|
|
5491
|
+
data: {
|
|
5492
|
+
actionType: string;
|
|
5493
|
+
message: string | null;
|
|
5494
|
+
payload: unknown | null;
|
|
5495
|
+
source: string | null;
|
|
5496
|
+
apiVersion: string;
|
|
5497
|
+
requestId: string | null;
|
|
5498
|
+
traceId: string | null;
|
|
5499
|
+
parentActionId: string | null;
|
|
5500
|
+
actor: {
|
|
5501
|
+
id: string | null;
|
|
5502
|
+
type: string;
|
|
5503
|
+
name: string | null;
|
|
5504
|
+
email: string | null;
|
|
5505
|
+
};
|
|
5506
|
+
};
|
|
5507
|
+
} | {
|
|
5508
|
+
/** @constant */
|
|
5509
|
+
type: "effect";
|
|
5510
|
+
/** Format: uuid */
|
|
5323
5511
|
id: string;
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5512
|
+
timestamp: string;
|
|
5513
|
+
actionId: string | null;
|
|
5514
|
+
effectId: string | null;
|
|
5515
|
+
mutationId: string | null;
|
|
5516
|
+
rootEntityType: string | null;
|
|
5517
|
+
rootEntityId: string | null;
|
|
5518
|
+
data: {
|
|
5519
|
+
effectType: string;
|
|
5520
|
+
status: string;
|
|
5521
|
+
payload: unknown;
|
|
5522
|
+
entityType: string | null;
|
|
5523
|
+
entityId: string | null;
|
|
5524
|
+
priority: number;
|
|
5525
|
+
retryCount: number;
|
|
5526
|
+
maxRetries: number;
|
|
5527
|
+
claimedAt: string | null;
|
|
5528
|
+
claimedBy: string | null;
|
|
5529
|
+
completedAt: string | null;
|
|
5530
|
+
lastAttemptAt: string | null;
|
|
5531
|
+
lastError: string | null;
|
|
5532
|
+
};
|
|
5533
|
+
} | {
|
|
5534
|
+
/** @constant */
|
|
5535
|
+
type: "effect_attempt";
|
|
5536
|
+
/** Format: uuid */
|
|
5537
|
+
id: string;
|
|
5538
|
+
timestamp: string;
|
|
5539
|
+
actionId: string | null;
|
|
5540
|
+
effectId: string | null;
|
|
5541
|
+
mutationId: string | null;
|
|
5542
|
+
rootEntityType: string | null;
|
|
5543
|
+
rootEntityId: string | null;
|
|
5544
|
+
data: {
|
|
5332
5545
|
/** @enum {string} */
|
|
5333
|
-
status: "
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5546
|
+
status: "running" | "completed" | "failed" | "skipped_locked";
|
|
5547
|
+
attemptNum: number;
|
|
5548
|
+
startedAt: string;
|
|
5549
|
+
finishedAt: string | null;
|
|
5550
|
+
workerId: string | null;
|
|
5551
|
+
resultCode: string | null;
|
|
5552
|
+
resultCategory: string | null;
|
|
5553
|
+
retryable: boolean | null;
|
|
5554
|
+
errorMessage: string | null;
|
|
5555
|
+
};
|
|
5556
|
+
} | {
|
|
5557
|
+
/** @constant */
|
|
5558
|
+
type: "mutation";
|
|
5559
|
+
/** Format: uuid */
|
|
5560
|
+
id: string;
|
|
5561
|
+
timestamp: string;
|
|
5562
|
+
actionId: string | null;
|
|
5563
|
+
effectId: string | null;
|
|
5564
|
+
mutationId: string | null;
|
|
5565
|
+
rootEntityType: string | null;
|
|
5566
|
+
rootEntityId: string | null;
|
|
5567
|
+
data: {
|
|
5568
|
+
op: string;
|
|
5569
|
+
subjectType: string;
|
|
5343
5570
|
/** Format: uuid */
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5571
|
+
subjectId: string;
|
|
5572
|
+
outcome: string | null;
|
|
5573
|
+
changeRecord: {
|
|
5574
|
+
summary: string;
|
|
5575
|
+
changedKeys: string[];
|
|
5576
|
+
reasonCode: string;
|
|
5577
|
+
outcome: string;
|
|
5578
|
+
context: {
|
|
5579
|
+
[key: string]: unknown;
|
|
5580
|
+
} | null;
|
|
5581
|
+
} & {
|
|
5582
|
+
[key: string]: unknown;
|
|
5583
|
+
};
|
|
5584
|
+
};
|
|
5585
|
+
} | {
|
|
5586
|
+
/** @constant */
|
|
5587
|
+
type: "journal_delta";
|
|
5588
|
+
/** Format: uuid */
|
|
5589
|
+
id: string;
|
|
5590
|
+
timestamp: string;
|
|
5591
|
+
actionId: string | null;
|
|
5592
|
+
effectId: string | null;
|
|
5593
|
+
mutationId: string | null;
|
|
5594
|
+
rootEntityType: string | null;
|
|
5595
|
+
rootEntityId: string | null;
|
|
5596
|
+
data: {
|
|
5351
5597
|
/** Format: uuid */
|
|
5352
|
-
|
|
5353
|
-
name: string;
|
|
5598
|
+
journalEntryId: string;
|
|
5354
5599
|
/** @enum {string} */
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5600
|
+
operation: "insert" | "update" | "delete";
|
|
5601
|
+
changedFields: string[];
|
|
5602
|
+
diffJson: unknown | null;
|
|
5603
|
+
apiVersion: string;
|
|
5604
|
+
accountIdBefore: string | null;
|
|
5605
|
+
accountIdAfter: string | null;
|
|
5606
|
+
centTotalBefore: number | null;
|
|
5607
|
+
centTotalAfter: number | null;
|
|
5608
|
+
txnAtBefore: string | null;
|
|
5609
|
+
txnAtAfter: string | null;
|
|
5610
|
+
statusBefore: string | null;
|
|
5611
|
+
statusAfter: string | null;
|
|
5612
|
+
partyBefore: string | null;
|
|
5613
|
+
partyAfter: string | null;
|
|
5614
|
+
listingOwnershipPeriodIdBefore: string | null;
|
|
5615
|
+
listingOwnershipPeriodIdAfter: string | null;
|
|
5616
|
+
attachedToOwnerStatementIdBefore: string | null;
|
|
5617
|
+
attachedToOwnerStatementIdAfter: string | null;
|
|
5618
|
+
};
|
|
5619
|
+
})[];
|
|
5620
|
+
page: {
|
|
5621
|
+
limit: number;
|
|
5622
|
+
hasMore: boolean;
|
|
5623
|
+
nextCursor: string | null;
|
|
5624
|
+
};
|
|
5367
5625
|
};
|
|
5368
5626
|
};
|
|
5369
5627
|
};
|
|
@@ -5449,20 +5707,32 @@ export interface operations {
|
|
|
5449
5707
|
};
|
|
5450
5708
|
};
|
|
5451
5709
|
};
|
|
5452
|
-
|
|
5710
|
+
batchBankAccounts: {
|
|
5453
5711
|
parameters: {
|
|
5454
5712
|
query?: never;
|
|
5455
5713
|
header?: never;
|
|
5456
|
-
path
|
|
5457
|
-
id: string;
|
|
5458
|
-
};
|
|
5714
|
+
path?: never;
|
|
5459
5715
|
cookie?: never;
|
|
5460
5716
|
};
|
|
5461
5717
|
requestBody?: {
|
|
5462
5718
|
content: {
|
|
5463
5719
|
"application/json": {
|
|
5464
|
-
|
|
5465
|
-
|
|
5720
|
+
/** Format: uuid */
|
|
5721
|
+
connectionId: string;
|
|
5722
|
+
data: {
|
|
5723
|
+
id?: string | null;
|
|
5724
|
+
/** @enum {string} */
|
|
5725
|
+
type: "deposit" | "creditCard";
|
|
5726
|
+
/** @enum {string} */
|
|
5727
|
+
category: "trust" | "operating" | "external";
|
|
5728
|
+
name: string;
|
|
5729
|
+
uniqueRef?: string | null;
|
|
5730
|
+
sourceId?: string | null;
|
|
5731
|
+
currency?: string | null;
|
|
5732
|
+
lastDigits?: string | null;
|
|
5733
|
+
status?: ("active" | "inactive") | null;
|
|
5734
|
+
accountId?: string | null;
|
|
5735
|
+
}[];
|
|
5466
5736
|
};
|
|
5467
5737
|
};
|
|
5468
5738
|
};
|
|
@@ -5474,19 +5744,28 @@ export interface operations {
|
|
|
5474
5744
|
};
|
|
5475
5745
|
content: {
|
|
5476
5746
|
"application/json": {
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5747
|
+
data: {
|
|
5748
|
+
/** Format: uuid */
|
|
5749
|
+
id: string;
|
|
5750
|
+
uniqueRef?: string | null;
|
|
5751
|
+
sourceId?: string | null;
|
|
5752
|
+
}[];
|
|
5753
|
+
issues: {
|
|
5754
|
+
ref: string;
|
|
5755
|
+
sourceId?: string | null;
|
|
5756
|
+
message: string;
|
|
5757
|
+
/** @enum {string} */
|
|
5758
|
+
code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
|
|
5759
|
+
context?: unknown;
|
|
5760
|
+
}[];
|
|
5761
|
+
};
|
|
5762
|
+
};
|
|
5763
|
+
};
|
|
5764
|
+
/** @description Bad request */
|
|
5765
|
+
400: {
|
|
5766
|
+
headers: {
|
|
5767
|
+
[name: string]: unknown;
|
|
5768
|
+
};
|
|
5490
5769
|
content: {
|
|
5491
5770
|
"application/json": {
|
|
5492
5771
|
code: string;
|
|
@@ -5564,18 +5843,32 @@ export interface operations {
|
|
|
5564
5843
|
};
|
|
5565
5844
|
};
|
|
5566
5845
|
};
|
|
5567
|
-
|
|
5846
|
+
updateBankAccount: {
|
|
5568
5847
|
parameters: {
|
|
5569
|
-
query
|
|
5570
|
-
listingId: string;
|
|
5571
|
-
startDate: string;
|
|
5572
|
-
endDate: string;
|
|
5573
|
-
};
|
|
5848
|
+
query?: never;
|
|
5574
5849
|
header?: never;
|
|
5575
|
-
path
|
|
5850
|
+
path: {
|
|
5851
|
+
id: string;
|
|
5852
|
+
};
|
|
5576
5853
|
cookie?: never;
|
|
5577
5854
|
};
|
|
5578
|
-
requestBody?:
|
|
5855
|
+
requestBody?: {
|
|
5856
|
+
content: {
|
|
5857
|
+
"application/json": {
|
|
5858
|
+
/** @enum {string} */
|
|
5859
|
+
type?: "deposit" | "creditCard";
|
|
5860
|
+
/** @enum {string} */
|
|
5861
|
+
category?: "trust" | "operating" | "external";
|
|
5862
|
+
name?: string;
|
|
5863
|
+
uniqueRef?: string | null;
|
|
5864
|
+
sourceId?: string | null;
|
|
5865
|
+
currency?: string | null;
|
|
5866
|
+
lastDigits?: string | null;
|
|
5867
|
+
status?: ("active" | "inactive") | null;
|
|
5868
|
+
accountId?: string | null;
|
|
5869
|
+
};
|
|
5870
|
+
};
|
|
5871
|
+
};
|
|
5579
5872
|
responses: {
|
|
5580
5873
|
/** @description Successful response */
|
|
5581
5874
|
200: {
|
|
@@ -5584,19 +5877,30 @@ export interface operations {
|
|
|
5584
5877
|
};
|
|
5585
5878
|
content: {
|
|
5586
5879
|
"application/json": {
|
|
5587
|
-
|
|
5588
|
-
|
|
5880
|
+
/** Format: uuid */
|
|
5881
|
+
id: string;
|
|
5882
|
+
/** @enum {string} */
|
|
5883
|
+
type: "deposit" | "creditCard";
|
|
5884
|
+
/** @enum {string} */
|
|
5885
|
+
category: "trust" | "operating" | "external";
|
|
5886
|
+
name: string;
|
|
5887
|
+
uniqueRef?: string | null;
|
|
5888
|
+
currency?: string | null;
|
|
5889
|
+
lastDigits?: string | null;
|
|
5890
|
+
status: ("active" | "inactive") | null;
|
|
5891
|
+
account?: {
|
|
5892
|
+
id: string;
|
|
5893
|
+
name: string;
|
|
5894
|
+
uniqueRef?: string | null;
|
|
5589
5895
|
/** @enum {string} */
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
} | null;
|
|
5599
|
-
}[];
|
|
5896
|
+
status: "active" | "inactive";
|
|
5897
|
+
} | null;
|
|
5898
|
+
source?: {
|
|
5899
|
+
/** Format: uuid */
|
|
5900
|
+
id: string;
|
|
5901
|
+
type: string;
|
|
5902
|
+
status?: ("active" | "inactive") | null;
|
|
5903
|
+
} | null;
|
|
5600
5904
|
};
|
|
5601
5905
|
};
|
|
5602
5906
|
};
|
|
@@ -5682,23 +5986,35 @@ export interface operations {
|
|
|
5682
5986
|
};
|
|
5683
5987
|
};
|
|
5684
5988
|
};
|
|
5685
|
-
|
|
5989
|
+
getBankRecords: {
|
|
5686
5990
|
parameters: {
|
|
5687
|
-
query?:
|
|
5991
|
+
query?: {
|
|
5992
|
+
status?: "active" | "inactive";
|
|
5993
|
+
search?: string;
|
|
5994
|
+
/** @description Amount in cents, also accepts ranges like 100...200 */
|
|
5995
|
+
amount?: string;
|
|
5996
|
+
/** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
|
|
5997
|
+
dateRange?: string;
|
|
5998
|
+
/** @description Whether the end date is inclusive or exclusive */
|
|
5999
|
+
isDateRangeEndInclusive?: boolean;
|
|
6000
|
+
bankAccountId?: string;
|
|
6001
|
+
accountId?: string;
|
|
6002
|
+
uniqueRefs?: string;
|
|
6003
|
+
reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
6004
|
+
includeBalanceRecords?: boolean;
|
|
6005
|
+
/** @description Include matching transactions, optionally with max days offset */
|
|
6006
|
+
includeMatchingTransactions?: string;
|
|
6007
|
+
hasMatchingTransactions?: boolean;
|
|
6008
|
+
reservationLineFilter?: "all" | "reservationOnly" | "nonReservationOnly";
|
|
6009
|
+
sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
|
|
6010
|
+
limit?: number;
|
|
6011
|
+
page?: number;
|
|
6012
|
+
};
|
|
5688
6013
|
header?: never;
|
|
5689
6014
|
path?: never;
|
|
5690
6015
|
cookie?: never;
|
|
5691
6016
|
};
|
|
5692
|
-
requestBody?:
|
|
5693
|
-
content: {
|
|
5694
|
-
"application/json": {
|
|
5695
|
-
listingId: string;
|
|
5696
|
-
startDate: string;
|
|
5697
|
-
endDate: string;
|
|
5698
|
-
description?: string | null;
|
|
5699
|
-
};
|
|
5700
|
-
};
|
|
5701
|
-
};
|
|
6017
|
+
requestBody?: never;
|
|
5702
6018
|
responses: {
|
|
5703
6019
|
/** @description Successful response */
|
|
5704
6020
|
200: {
|
|
@@ -5708,18 +6024,94 @@ export interface operations {
|
|
|
5708
6024
|
content: {
|
|
5709
6025
|
"application/json": {
|
|
5710
6026
|
data: {
|
|
6027
|
+
/** Format: uuid */
|
|
6028
|
+
id: string;
|
|
6029
|
+
uniqueRef?: string | null;
|
|
5711
6030
|
date: string;
|
|
5712
6031
|
/** @enum {string} */
|
|
5713
|
-
|
|
6032
|
+
status: "active" | "inactive";
|
|
5714
6033
|
description?: string | null;
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
6034
|
+
bankAccountId?: string | null;
|
|
6035
|
+
accountId?: string | null;
|
|
6036
|
+
connectionId?: string | null;
|
|
6037
|
+
source?: {
|
|
6038
|
+
/** Format: uuid */
|
|
5720
6039
|
id: string;
|
|
6040
|
+
type: string;
|
|
6041
|
+
status?: ("active" | "inactive") | null;
|
|
5721
6042
|
} | null;
|
|
6043
|
+
/** @enum {string} */
|
|
6044
|
+
type: "transaction" | "balance";
|
|
6045
|
+
amount: number;
|
|
6046
|
+
balance: {
|
|
6047
|
+
current: number;
|
|
6048
|
+
correction: number;
|
|
6049
|
+
};
|
|
6050
|
+
reconciliation: {
|
|
6051
|
+
status?: ("unpaid" | "underpaid" | "overpaid" | "paid") | null;
|
|
6052
|
+
transactions?: {
|
|
6053
|
+
id: string;
|
|
6054
|
+
date: string;
|
|
6055
|
+
description?: string | null;
|
|
6056
|
+
type: string;
|
|
6057
|
+
amount: number;
|
|
6058
|
+
}[] | null;
|
|
6059
|
+
};
|
|
6060
|
+
matchingTransactions?: {
|
|
6061
|
+
id: string;
|
|
6062
|
+
/** @enum {string} */
|
|
6063
|
+
status: "active" | "inactive";
|
|
6064
|
+
/** @description Value in cents (100 = 1€) */
|
|
6065
|
+
amount: number;
|
|
6066
|
+
account?: {
|
|
6067
|
+
id: string;
|
|
6068
|
+
name: string;
|
|
6069
|
+
uniqueRef?: string | null;
|
|
6070
|
+
/** @enum {string} */
|
|
6071
|
+
status: "active" | "inactive";
|
|
6072
|
+
} | null;
|
|
6073
|
+
date: string;
|
|
6074
|
+
description: string;
|
|
6075
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
6076
|
+
currency: string;
|
|
6077
|
+
/** @enum {string} */
|
|
6078
|
+
type: "deposit" | "expense" | "transfer";
|
|
6079
|
+
isOpeningBalance: boolean;
|
|
6080
|
+
contact?: {
|
|
6081
|
+
/** Format: uuid */
|
|
6082
|
+
id: string;
|
|
6083
|
+
name?: string | null;
|
|
6084
|
+
firstName?: string | null;
|
|
6085
|
+
uniqueRef?: string | null;
|
|
6086
|
+
shortRef?: string | null;
|
|
6087
|
+
} | null;
|
|
6088
|
+
connection?: {
|
|
6089
|
+
/** Format: uuid */
|
|
6090
|
+
id: string;
|
|
6091
|
+
name: string;
|
|
6092
|
+
/** @enum {string} */
|
|
6093
|
+
status: "active" | "inactive";
|
|
6094
|
+
uniqueRef?: string | null;
|
|
6095
|
+
appId: string;
|
|
6096
|
+
} | null;
|
|
6097
|
+
uniqueRef?: string | null;
|
|
6098
|
+
shortRef?: string | null;
|
|
6099
|
+
recurringTemplate?: {
|
|
6100
|
+
id: string;
|
|
6101
|
+
} | null;
|
|
6102
|
+
dateOffset: number;
|
|
6103
|
+
}[] | null;
|
|
6104
|
+
currency?: string | null;
|
|
5722
6105
|
}[];
|
|
6106
|
+
pagination: {
|
|
6107
|
+
/** @default 100 */
|
|
6108
|
+
limit: number;
|
|
6109
|
+
/** @default 1 */
|
|
6110
|
+
page: number;
|
|
6111
|
+
total: number;
|
|
6112
|
+
totalPage: number;
|
|
6113
|
+
nextPage?: number;
|
|
6114
|
+
};
|
|
5723
6115
|
};
|
|
5724
6116
|
};
|
|
5725
6117
|
};
|
|
@@ -5805,21 +6197,44 @@ export interface operations {
|
|
|
5805
6197
|
};
|
|
5806
6198
|
};
|
|
5807
6199
|
};
|
|
5808
|
-
|
|
6200
|
+
postBankRecordsBatch: {
|
|
5809
6201
|
parameters: {
|
|
5810
|
-
query
|
|
5811
|
-
listingId: string;
|
|
5812
|
-
startDate: string;
|
|
5813
|
-
endDate: string;
|
|
5814
|
-
description?: string | null;
|
|
5815
|
-
};
|
|
6202
|
+
query?: never;
|
|
5816
6203
|
header?: never;
|
|
5817
6204
|
path?: never;
|
|
5818
6205
|
cookie?: never;
|
|
5819
6206
|
};
|
|
5820
6207
|
requestBody?: {
|
|
5821
6208
|
content: {
|
|
5822
|
-
"application/json":
|
|
6209
|
+
"application/json": {
|
|
6210
|
+
/** Format: uuid */
|
|
6211
|
+
connectionId: string;
|
|
6212
|
+
data: {
|
|
6213
|
+
uniqueRef?: string | null;
|
|
6214
|
+
date: string;
|
|
6215
|
+
/** @enum {string} */
|
|
6216
|
+
status?: "active" | "inactive";
|
|
6217
|
+
description?: string | null;
|
|
6218
|
+
accountId?: string | null;
|
|
6219
|
+
/** @enum {string} */
|
|
6220
|
+
type?: "transaction" | "balance";
|
|
6221
|
+
amount?: number;
|
|
6222
|
+
balance?: number | null;
|
|
6223
|
+
reconciliation?: {
|
|
6224
|
+
status?: ("unpaid" | "underpaid" | "overpaid" | "paid") | null;
|
|
6225
|
+
transactions?: {
|
|
6226
|
+
id: string;
|
|
6227
|
+
date: string;
|
|
6228
|
+
description?: string | null;
|
|
6229
|
+
type: string;
|
|
6230
|
+
amount: number;
|
|
6231
|
+
}[] | null;
|
|
6232
|
+
};
|
|
6233
|
+
id?: string | null;
|
|
6234
|
+
bankAccountRef?: string | null;
|
|
6235
|
+
sourceId?: string | null;
|
|
6236
|
+
}[];
|
|
6237
|
+
};
|
|
5823
6238
|
};
|
|
5824
6239
|
};
|
|
5825
6240
|
responses: {
|
|
@@ -5831,17 +6246,18 @@ export interface operations {
|
|
|
5831
6246
|
content: {
|
|
5832
6247
|
"application/json": {
|
|
5833
6248
|
data: {
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
6249
|
+
/** Format: uuid */
|
|
6250
|
+
id: string;
|
|
6251
|
+
uniqueRef?: string | null;
|
|
6252
|
+
sourceId?: string | null;
|
|
6253
|
+
}[];
|
|
6254
|
+
issues: {
|
|
6255
|
+
ref: string;
|
|
6256
|
+
sourceId?: string | null;
|
|
6257
|
+
message: string;
|
|
6258
|
+
/** @enum {string} */
|
|
6259
|
+
code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
|
|
6260
|
+
context?: unknown;
|
|
5845
6261
|
}[];
|
|
5846
6262
|
};
|
|
5847
6263
|
};
|
|
@@ -5928,17 +6344,27 @@ export interface operations {
|
|
|
5928
6344
|
};
|
|
5929
6345
|
};
|
|
5930
6346
|
};
|
|
5931
|
-
|
|
6347
|
+
getBankRecordsCsv: {
|
|
5932
6348
|
parameters: {
|
|
5933
6349
|
query?: {
|
|
5934
|
-
tenantId?: string;
|
|
5935
|
-
appId?: string;
|
|
5936
6350
|
status?: "active" | "inactive";
|
|
5937
|
-
isErrorState?: boolean;
|
|
5938
|
-
currentSyncStatus?: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
5939
6351
|
search?: string;
|
|
5940
|
-
|
|
5941
|
-
|
|
6352
|
+
/** @description Amount in cents, also accepts ranges like 100...200 */
|
|
6353
|
+
amount?: string;
|
|
6354
|
+
/** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
|
|
6355
|
+
dateRange?: string;
|
|
6356
|
+
/** @description Whether the end date is inclusive or exclusive */
|
|
6357
|
+
isDateRangeEndInclusive?: boolean;
|
|
6358
|
+
bankAccountId?: string;
|
|
6359
|
+
accountId?: string;
|
|
6360
|
+
uniqueRefs?: string;
|
|
6361
|
+
reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
6362
|
+
includeBalanceRecords?: boolean;
|
|
6363
|
+
/** @description Include matching transactions, optionally with max days offset */
|
|
6364
|
+
includeMatchingTransactions?: string;
|
|
6365
|
+
hasMatchingTransactions?: boolean;
|
|
6366
|
+
reservationLineFilter?: "all" | "reservationOnly" | "nonReservationOnly";
|
|
6367
|
+
sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
|
|
5942
6368
|
};
|
|
5943
6369
|
header?: never;
|
|
5944
6370
|
path?: never;
|
|
@@ -5953,49 +6379,7 @@ export interface operations {
|
|
|
5953
6379
|
};
|
|
5954
6380
|
content: {
|
|
5955
6381
|
"application/json": {
|
|
5956
|
-
|
|
5957
|
-
/** Format: uuid */
|
|
5958
|
-
id: string;
|
|
5959
|
-
name: string;
|
|
5960
|
-
/** @enum {string} */
|
|
5961
|
-
status: "active" | "inactive";
|
|
5962
|
-
uniqueRef?: string | null;
|
|
5963
|
-
app: {
|
|
5964
|
-
id: string;
|
|
5965
|
-
/** @enum {string} */
|
|
5966
|
-
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
5967
|
-
name: string;
|
|
5968
|
-
icon?: string | null;
|
|
5969
|
-
importers?: string[] | null;
|
|
5970
|
-
extractors?: string[] | null;
|
|
5971
|
-
};
|
|
5972
|
-
createdAt: string;
|
|
5973
|
-
updatedAt: string;
|
|
5974
|
-
isErrorState: boolean;
|
|
5975
|
-
currentSync?: {
|
|
5976
|
-
/** @enum {string} */
|
|
5977
|
-
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
5978
|
-
createdAt: string;
|
|
5979
|
-
updatedAt: string;
|
|
5980
|
-
message?: string | null;
|
|
5981
|
-
} | null;
|
|
5982
|
-
enabledFlows: {
|
|
5983
|
-
/** Format: uuid */
|
|
5984
|
-
id: string;
|
|
5985
|
-
title: string;
|
|
5986
|
-
isPublic: boolean;
|
|
5987
|
-
type: ("push" | "pull") | null;
|
|
5988
|
-
}[];
|
|
5989
|
-
}[];
|
|
5990
|
-
pagination: {
|
|
5991
|
-
/** @default 100 */
|
|
5992
|
-
limit: number;
|
|
5993
|
-
/** @default 1 */
|
|
5994
|
-
page: number;
|
|
5995
|
-
total: number;
|
|
5996
|
-
totalPage: number;
|
|
5997
|
-
nextPage?: number;
|
|
5998
|
-
};
|
|
6382
|
+
url: string;
|
|
5999
6383
|
};
|
|
6000
6384
|
};
|
|
6001
6385
|
};
|
|
@@ -6081,24 +6465,19 @@ export interface operations {
|
|
|
6081
6465
|
};
|
|
6082
6466
|
};
|
|
6083
6467
|
};
|
|
6084
|
-
|
|
6468
|
+
getBankRecordsById: {
|
|
6085
6469
|
parameters: {
|
|
6086
|
-
query?:
|
|
6470
|
+
query?: {
|
|
6471
|
+
/** @description Include matching transactions, optionally with max days offset */
|
|
6472
|
+
includeMatchingTransactions?: string;
|
|
6473
|
+
};
|
|
6087
6474
|
header?: never;
|
|
6088
|
-
path
|
|
6089
|
-
|
|
6090
|
-
};
|
|
6091
|
-
requestBody?: {
|
|
6092
|
-
content: {
|
|
6093
|
-
"application/json": {
|
|
6094
|
-
name?: string;
|
|
6095
|
-
appId: string;
|
|
6096
|
-
credentials?: {
|
|
6097
|
-
[key: string]: unknown;
|
|
6098
|
-
};
|
|
6099
|
-
};
|
|
6475
|
+
path: {
|
|
6476
|
+
id: string;
|
|
6100
6477
|
};
|
|
6478
|
+
cookie?: never;
|
|
6101
6479
|
};
|
|
6480
|
+
requestBody?: never;
|
|
6102
6481
|
responses: {
|
|
6103
6482
|
/** @description Successful response */
|
|
6104
6483
|
200: {
|
|
@@ -6109,36 +6488,82 @@ export interface operations {
|
|
|
6109
6488
|
"application/json": {
|
|
6110
6489
|
/** Format: uuid */
|
|
6111
6490
|
id: string;
|
|
6112
|
-
|
|
6491
|
+
uniqueRef?: string | null;
|
|
6492
|
+
date: string;
|
|
6113
6493
|
/** @enum {string} */
|
|
6114
6494
|
status: "active" | "inactive";
|
|
6115
|
-
|
|
6116
|
-
|
|
6495
|
+
description?: string | null;
|
|
6496
|
+
bankAccountId?: string | null;
|
|
6497
|
+
accountId?: string | null;
|
|
6498
|
+
connectionId?: string | null;
|
|
6499
|
+
source?: {
|
|
6500
|
+
/** Format: uuid */
|
|
6117
6501
|
id: string;
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
name: string;
|
|
6121
|
-
icon?: string | null;
|
|
6122
|
-
importers?: string[] | null;
|
|
6123
|
-
extractors?: string[] | null;
|
|
6124
|
-
};
|
|
6125
|
-
createdAt: string;
|
|
6126
|
-
updatedAt: string;
|
|
6127
|
-
isErrorState: boolean;
|
|
6128
|
-
currentSync?: {
|
|
6129
|
-
/** @enum {string} */
|
|
6130
|
-
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
6131
|
-
createdAt: string;
|
|
6132
|
-
updatedAt: string;
|
|
6133
|
-
message?: string | null;
|
|
6502
|
+
type: string;
|
|
6503
|
+
status?: ("active" | "inactive") | null;
|
|
6134
6504
|
} | null;
|
|
6135
|
-
|
|
6136
|
-
|
|
6505
|
+
/** @enum {string} */
|
|
6506
|
+
type: "transaction" | "balance";
|
|
6507
|
+
amount: number;
|
|
6508
|
+
balance: {
|
|
6509
|
+
current: number;
|
|
6510
|
+
correction: number;
|
|
6511
|
+
};
|
|
6512
|
+
reconciliation: {
|
|
6513
|
+
status?: ("unpaid" | "underpaid" | "overpaid" | "paid") | null;
|
|
6514
|
+
transactions?: {
|
|
6515
|
+
id: string;
|
|
6516
|
+
date: string;
|
|
6517
|
+
description?: string | null;
|
|
6518
|
+
type: string;
|
|
6519
|
+
amount: number;
|
|
6520
|
+
}[] | null;
|
|
6521
|
+
};
|
|
6522
|
+
matchingTransactions?: {
|
|
6137
6523
|
id: string;
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6524
|
+
/** @enum {string} */
|
|
6525
|
+
status: "active" | "inactive";
|
|
6526
|
+
/** @description Value in cents (100 = 1€) */
|
|
6527
|
+
amount: number;
|
|
6528
|
+
account?: {
|
|
6529
|
+
id: string;
|
|
6530
|
+
name: string;
|
|
6531
|
+
uniqueRef?: string | null;
|
|
6532
|
+
/** @enum {string} */
|
|
6533
|
+
status: "active" | "inactive";
|
|
6534
|
+
} | null;
|
|
6535
|
+
date: string;
|
|
6536
|
+
description: string;
|
|
6537
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
6538
|
+
currency: string;
|
|
6539
|
+
/** @enum {string} */
|
|
6540
|
+
type: "deposit" | "expense" | "transfer";
|
|
6541
|
+
isOpeningBalance: boolean;
|
|
6542
|
+
contact?: {
|
|
6543
|
+
/** Format: uuid */
|
|
6544
|
+
id: string;
|
|
6545
|
+
name?: string | null;
|
|
6546
|
+
firstName?: string | null;
|
|
6547
|
+
uniqueRef?: string | null;
|
|
6548
|
+
shortRef?: string | null;
|
|
6549
|
+
} | null;
|
|
6550
|
+
connection?: {
|
|
6551
|
+
/** Format: uuid */
|
|
6552
|
+
id: string;
|
|
6553
|
+
name: string;
|
|
6554
|
+
/** @enum {string} */
|
|
6555
|
+
status: "active" | "inactive";
|
|
6556
|
+
uniqueRef?: string | null;
|
|
6557
|
+
appId: string;
|
|
6558
|
+
} | null;
|
|
6559
|
+
uniqueRef?: string | null;
|
|
6560
|
+
shortRef?: string | null;
|
|
6561
|
+
recurringTemplate?: {
|
|
6562
|
+
id: string;
|
|
6563
|
+
} | null;
|
|
6564
|
+
dateOffset: number;
|
|
6565
|
+
}[] | null;
|
|
6566
|
+
currency?: string | null;
|
|
6142
6567
|
};
|
|
6143
6568
|
};
|
|
6144
6569
|
};
|
|
@@ -6224,28 +6649,20 @@ export interface operations {
|
|
|
6224
6649
|
};
|
|
6225
6650
|
};
|
|
6226
6651
|
};
|
|
6227
|
-
|
|
6652
|
+
putBankRecordsById: {
|
|
6228
6653
|
parameters: {
|
|
6229
6654
|
query?: never;
|
|
6230
6655
|
header?: never;
|
|
6231
|
-
path
|
|
6656
|
+
path: {
|
|
6657
|
+
id: string;
|
|
6658
|
+
};
|
|
6232
6659
|
cookie?: never;
|
|
6233
6660
|
};
|
|
6234
6661
|
requestBody?: {
|
|
6235
6662
|
content: {
|
|
6236
6663
|
"application/json": {
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
/** Format: uuid */
|
|
6240
|
-
connectionId: string;
|
|
6241
|
-
params?: unknown;
|
|
6242
|
-
type?: string;
|
|
6243
|
-
range?: {
|
|
6244
|
-
start?: string;
|
|
6245
|
-
end?: string;
|
|
6246
|
-
};
|
|
6247
|
-
forceUpdate?: boolean;
|
|
6248
|
-
}[];
|
|
6664
|
+
reconciledTransactionIds?: string[] | null;
|
|
6665
|
+
status?: ("active" | "inactive") | null;
|
|
6249
6666
|
};
|
|
6250
6667
|
};
|
|
6251
6668
|
};
|
|
@@ -6257,21 +6674,11 @@ export interface operations {
|
|
|
6257
6674
|
};
|
|
6258
6675
|
content: {
|
|
6259
6676
|
"application/json": {
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
/** Format: uuid */
|
|
6266
|
-
taskId: string;
|
|
6267
|
-
/** Format: uuid */
|
|
6268
|
-
syncId: string;
|
|
6269
|
-
data?: unknown;
|
|
6270
|
-
error?: {
|
|
6271
|
-
message: string;
|
|
6272
|
-
error?: string;
|
|
6273
|
-
};
|
|
6274
|
-
}[];
|
|
6677
|
+
id: string;
|
|
6678
|
+
reconciledTransactionIds?: string[] | null;
|
|
6679
|
+
status?: ("active" | "inactive") | null;
|
|
6680
|
+
addedCount?: number;
|
|
6681
|
+
removedCount?: number;
|
|
6275
6682
|
};
|
|
6276
6683
|
};
|
|
6277
6684
|
};
|
|
@@ -6357,22 +6764,18 @@ export interface operations {
|
|
|
6357
6764
|
};
|
|
6358
6765
|
};
|
|
6359
6766
|
};
|
|
6360
|
-
|
|
6767
|
+
getCalendar: {
|
|
6361
6768
|
parameters: {
|
|
6362
|
-
query
|
|
6769
|
+
query: {
|
|
6770
|
+
listingId: string;
|
|
6771
|
+
startDate: string;
|
|
6772
|
+
endDate: string;
|
|
6773
|
+
};
|
|
6363
6774
|
header?: never;
|
|
6364
6775
|
path?: never;
|
|
6365
6776
|
cookie?: never;
|
|
6366
6777
|
};
|
|
6367
|
-
requestBody?:
|
|
6368
|
-
content: {
|
|
6369
|
-
"application/json": {
|
|
6370
|
-
appId: string;
|
|
6371
|
-
/** @default https://portal.vrplatform.app */
|
|
6372
|
-
redirectTo?: string;
|
|
6373
|
-
};
|
|
6374
|
-
};
|
|
6375
|
-
};
|
|
6778
|
+
requestBody?: never;
|
|
6376
6779
|
responses: {
|
|
6377
6780
|
/** @description Successful response */
|
|
6378
6781
|
200: {
|
|
@@ -6381,11 +6784,19 @@ export interface operations {
|
|
|
6381
6784
|
};
|
|
6382
6785
|
content: {
|
|
6383
6786
|
"application/json": {
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6787
|
+
data: {
|
|
6788
|
+
date: string;
|
|
6789
|
+
/** @enum {string} */
|
|
6790
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
6791
|
+
description?: string | null;
|
|
6792
|
+
user?: {
|
|
6793
|
+
/** Format: email */
|
|
6794
|
+
email: string;
|
|
6795
|
+
firstName: string;
|
|
6796
|
+
lastName: string;
|
|
6797
|
+
id: string;
|
|
6798
|
+
} | null;
|
|
6799
|
+
}[];
|
|
6389
6800
|
};
|
|
6390
6801
|
};
|
|
6391
6802
|
};
|
|
@@ -6471,16 +6882,23 @@ export interface operations {
|
|
|
6471
6882
|
};
|
|
6472
6883
|
};
|
|
6473
6884
|
};
|
|
6474
|
-
|
|
6885
|
+
blockCalendar: {
|
|
6475
6886
|
parameters: {
|
|
6476
6887
|
query?: never;
|
|
6477
6888
|
header?: never;
|
|
6478
|
-
path
|
|
6479
|
-
id: string;
|
|
6480
|
-
};
|
|
6889
|
+
path?: never;
|
|
6481
6890
|
cookie?: never;
|
|
6482
6891
|
};
|
|
6483
|
-
requestBody?:
|
|
6892
|
+
requestBody?: {
|
|
6893
|
+
content: {
|
|
6894
|
+
"application/json": {
|
|
6895
|
+
listingId: string;
|
|
6896
|
+
startDate: string;
|
|
6897
|
+
endDate: string;
|
|
6898
|
+
description?: string | null;
|
|
6899
|
+
};
|
|
6900
|
+
};
|
|
6901
|
+
};
|
|
6484
6902
|
responses: {
|
|
6485
6903
|
/** @description Successful response */
|
|
6486
6904
|
200: {
|
|
@@ -6489,37 +6907,18 @@ export interface operations {
|
|
|
6489
6907
|
};
|
|
6490
6908
|
content: {
|
|
6491
6909
|
"application/json": {
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
name: string;
|
|
6495
|
-
/** @enum {string} */
|
|
6496
|
-
status: "active" | "inactive";
|
|
6497
|
-
uniqueRef?: string | null;
|
|
6498
|
-
app: {
|
|
6499
|
-
id: string;
|
|
6500
|
-
/** @enum {string} */
|
|
6501
|
-
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
6502
|
-
name: string;
|
|
6503
|
-
icon?: string | null;
|
|
6504
|
-
importers?: string[] | null;
|
|
6505
|
-
extractors?: string[] | null;
|
|
6506
|
-
};
|
|
6507
|
-
createdAt: string;
|
|
6508
|
-
updatedAt: string;
|
|
6509
|
-
isErrorState: boolean;
|
|
6510
|
-
currentSync?: {
|
|
6910
|
+
data: {
|
|
6911
|
+
date: string;
|
|
6511
6912
|
/** @enum {string} */
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
isPublic: boolean;
|
|
6522
|
-
type: ("push" | "pull") | null;
|
|
6913
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
6914
|
+
description?: string | null;
|
|
6915
|
+
user?: {
|
|
6916
|
+
/** Format: email */
|
|
6917
|
+
email: string;
|
|
6918
|
+
firstName: string;
|
|
6919
|
+
lastName: string;
|
|
6920
|
+
id: string;
|
|
6921
|
+
} | null;
|
|
6523
6922
|
}[];
|
|
6524
6923
|
};
|
|
6525
6924
|
};
|
|
@@ -6606,15 +7005,16 @@ export interface operations {
|
|
|
6606
7005
|
};
|
|
6607
7006
|
};
|
|
6608
7007
|
};
|
|
6609
|
-
|
|
7008
|
+
unblockCalendar: {
|
|
6610
7009
|
parameters: {
|
|
6611
|
-
query
|
|
6612
|
-
|
|
7010
|
+
query: {
|
|
7011
|
+
listingId: string;
|
|
7012
|
+
startDate: string;
|
|
7013
|
+
endDate: string;
|
|
7014
|
+
description?: string | null;
|
|
6613
7015
|
};
|
|
6614
7016
|
header?: never;
|
|
6615
|
-
path
|
|
6616
|
-
id: string;
|
|
6617
|
-
};
|
|
7017
|
+
path?: never;
|
|
6618
7018
|
cookie?: never;
|
|
6619
7019
|
};
|
|
6620
7020
|
requestBody?: {
|
|
@@ -6630,8 +7030,19 @@ export interface operations {
|
|
|
6630
7030
|
};
|
|
6631
7031
|
content: {
|
|
6632
7032
|
"application/json": {
|
|
6633
|
-
|
|
6634
|
-
|
|
7033
|
+
data: {
|
|
7034
|
+
date: string;
|
|
7035
|
+
/** @enum {string} */
|
|
7036
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
7037
|
+
description?: string | null;
|
|
7038
|
+
user?: {
|
|
7039
|
+
/** Format: email */
|
|
7040
|
+
email: string;
|
|
7041
|
+
firstName: string;
|
|
7042
|
+
lastName: string;
|
|
7043
|
+
id: string;
|
|
7044
|
+
} | null;
|
|
7045
|
+
}[];
|
|
6635
7046
|
};
|
|
6636
7047
|
};
|
|
6637
7048
|
};
|
|
@@ -6717,16 +7128,20 @@ export interface operations {
|
|
|
6717
7128
|
};
|
|
6718
7129
|
};
|
|
6719
7130
|
};
|
|
6720
|
-
|
|
7131
|
+
getConnections: {
|
|
6721
7132
|
parameters: {
|
|
6722
|
-
query
|
|
6723
|
-
|
|
6724
|
-
|
|
7133
|
+
query?: {
|
|
7134
|
+
tenantId?: string;
|
|
7135
|
+
appId?: string;
|
|
7136
|
+
status?: "active" | "inactive";
|
|
7137
|
+
isErrorState?: boolean;
|
|
7138
|
+
currentSyncStatus?: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
7139
|
+
search?: string;
|
|
7140
|
+
limit?: number;
|
|
7141
|
+
page?: number;
|
|
6725
7142
|
};
|
|
6726
7143
|
header?: never;
|
|
6727
|
-
path
|
|
6728
|
-
id: string;
|
|
6729
|
-
};
|
|
7144
|
+
path?: never;
|
|
6730
7145
|
cookie?: never;
|
|
6731
7146
|
};
|
|
6732
7147
|
requestBody?: never;
|
|
@@ -6737,44 +7152,50 @@ export interface operations {
|
|
|
6737
7152
|
[name: string]: unknown;
|
|
6738
7153
|
};
|
|
6739
7154
|
content: {
|
|
6740
|
-
"application/json":
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
7155
|
+
"application/json": {
|
|
7156
|
+
data: {
|
|
7157
|
+
/** Format: uuid */
|
|
7158
|
+
id: string;
|
|
7159
|
+
name: string;
|
|
7160
|
+
/** @enum {string} */
|
|
7161
|
+
status: "active" | "inactive";
|
|
7162
|
+
uniqueRef?: string | null;
|
|
7163
|
+
app: {
|
|
7164
|
+
id: string;
|
|
7165
|
+
/** @enum {string} */
|
|
7166
|
+
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
7167
|
+
name: string;
|
|
7168
|
+
icon?: string | null;
|
|
7169
|
+
importers?: string[] | null;
|
|
7170
|
+
extractors?: string[] | null;
|
|
7171
|
+
};
|
|
7172
|
+
createdAt: string;
|
|
7173
|
+
updatedAt: string;
|
|
7174
|
+
isErrorState: boolean;
|
|
7175
|
+
currentSync?: {
|
|
7176
|
+
/** @enum {string} */
|
|
7177
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
7178
|
+
createdAt: string;
|
|
7179
|
+
updatedAt: string;
|
|
7180
|
+
message?: string | null;
|
|
7181
|
+
} | null;
|
|
7182
|
+
enabledFlows: {
|
|
7183
|
+
/** Format: uuid */
|
|
7184
|
+
id: string;
|
|
7185
|
+
title: string;
|
|
7186
|
+
isPublic: boolean;
|
|
7187
|
+
type: ("push" | "pull") | null;
|
|
7188
|
+
}[];
|
|
7189
|
+
}[];
|
|
7190
|
+
pagination: {
|
|
7191
|
+
/** @default 100 */
|
|
7192
|
+
limit: number;
|
|
7193
|
+
/** @default 1 */
|
|
7194
|
+
page: number;
|
|
7195
|
+
total: number;
|
|
7196
|
+
totalPage: number;
|
|
7197
|
+
nextPage?: number;
|
|
7198
|
+
};
|
|
6778
7199
|
};
|
|
6779
7200
|
};
|
|
6780
7201
|
};
|
|
@@ -6860,21 +7281,21 @@ export interface operations {
|
|
|
6860
7281
|
};
|
|
6861
7282
|
};
|
|
6862
7283
|
};
|
|
6863
|
-
|
|
7284
|
+
createConnection: {
|
|
6864
7285
|
parameters: {
|
|
6865
7286
|
query?: never;
|
|
6866
7287
|
header?: never;
|
|
6867
|
-
path
|
|
6868
|
-
id: string;
|
|
6869
|
-
};
|
|
7288
|
+
path?: never;
|
|
6870
7289
|
cookie?: never;
|
|
6871
7290
|
};
|
|
6872
7291
|
requestBody?: {
|
|
6873
7292
|
content: {
|
|
6874
7293
|
"application/json": {
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
7294
|
+
name?: string;
|
|
7295
|
+
appId: string;
|
|
7296
|
+
credentials?: {
|
|
7297
|
+
[key: string]: unknown;
|
|
7298
|
+
};
|
|
6878
7299
|
};
|
|
6879
7300
|
};
|
|
6880
7301
|
};
|
|
@@ -6885,83 +7306,40 @@ export interface operations {
|
|
|
6885
7306
|
[name: string]: unknown;
|
|
6886
7307
|
};
|
|
6887
7308
|
content: {
|
|
6888
|
-
"application/json":
|
|
6889
|
-
/** Format: uuid */
|
|
6890
|
-
id: string;
|
|
6891
|
-
/** @constant */
|
|
6892
|
-
status: "completed";
|
|
6893
|
-
message: string;
|
|
6894
|
-
/** @constant */
|
|
6895
|
-
type: "reservation";
|
|
6896
|
-
/** Format: uuid */
|
|
6897
|
-
reservationId: string;
|
|
6898
|
-
} | {
|
|
6899
|
-
/** Format: uuid */
|
|
6900
|
-
id: string;
|
|
6901
|
-
/** @constant */
|
|
6902
|
-
status: "completed";
|
|
6903
|
-
message: string;
|
|
6904
|
-
/** @constant */
|
|
6905
|
-
type: "listing";
|
|
6906
|
-
/** Format: uuid */
|
|
6907
|
-
listingId: string;
|
|
6908
|
-
} | {
|
|
6909
|
-
/** Format: uuid */
|
|
6910
|
-
id: string;
|
|
6911
|
-
/** @constant */
|
|
6912
|
-
status: "completed";
|
|
6913
|
-
message: string;
|
|
6914
|
-
/** @constant */
|
|
6915
|
-
type: "payout";
|
|
6916
|
-
/** Format: uuid */
|
|
6917
|
-
paymentId: string;
|
|
6918
|
-
}) | {
|
|
7309
|
+
"application/json": {
|
|
6919
7310
|
/** Format: uuid */
|
|
6920
7311
|
id: string;
|
|
6921
|
-
|
|
6922
|
-
status: "failed";
|
|
6923
|
-
message: string;
|
|
6924
|
-
/** @enum {string} */
|
|
6925
|
-
type: "reservation" | "listing" | "payout";
|
|
6926
|
-
}) | (({
|
|
6927
|
-
/** Format: uuid */
|
|
6928
|
-
id: string;
|
|
6929
|
-
/** @constant */
|
|
6930
|
-
status: "completed";
|
|
6931
|
-
message: string;
|
|
6932
|
-
/** @constant */
|
|
6933
|
-
type: "reservation";
|
|
6934
|
-
/** Format: uuid */
|
|
6935
|
-
reservationId: string;
|
|
6936
|
-
} | {
|
|
6937
|
-
/** Format: uuid */
|
|
6938
|
-
id: string;
|
|
6939
|
-
/** @constant */
|
|
6940
|
-
status: "completed";
|
|
6941
|
-
message: string;
|
|
6942
|
-
/** @constant */
|
|
6943
|
-
type: "listing";
|
|
6944
|
-
/** Format: uuid */
|
|
6945
|
-
listingId: string;
|
|
6946
|
-
} | {
|
|
6947
|
-
/** Format: uuid */
|
|
6948
|
-
id: string;
|
|
6949
|
-
/** @constant */
|
|
6950
|
-
status: "completed";
|
|
6951
|
-
message: string;
|
|
6952
|
-
/** @constant */
|
|
6953
|
-
type: "payout";
|
|
6954
|
-
/** Format: uuid */
|
|
6955
|
-
paymentId: string;
|
|
6956
|
-
}) | {
|
|
6957
|
-
/** Format: uuid */
|
|
6958
|
-
id: string;
|
|
6959
|
-
/** @constant */
|
|
6960
|
-
status: "failed";
|
|
6961
|
-
message: string;
|
|
7312
|
+
name: string;
|
|
6962
7313
|
/** @enum {string} */
|
|
6963
|
-
|
|
6964
|
-
|
|
7314
|
+
status: "active" | "inactive";
|
|
7315
|
+
uniqueRef?: string | null;
|
|
7316
|
+
app: {
|
|
7317
|
+
id: string;
|
|
7318
|
+
/** @enum {string} */
|
|
7319
|
+
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
7320
|
+
name: string;
|
|
7321
|
+
icon?: string | null;
|
|
7322
|
+
importers?: string[] | null;
|
|
7323
|
+
extractors?: string[] | null;
|
|
7324
|
+
};
|
|
7325
|
+
createdAt: string;
|
|
7326
|
+
updatedAt: string;
|
|
7327
|
+
isErrorState: boolean;
|
|
7328
|
+
currentSync?: {
|
|
7329
|
+
/** @enum {string} */
|
|
7330
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
7331
|
+
createdAt: string;
|
|
7332
|
+
updatedAt: string;
|
|
7333
|
+
message?: string | null;
|
|
7334
|
+
} | null;
|
|
7335
|
+
enabledFlows: {
|
|
7336
|
+
/** Format: uuid */
|
|
7337
|
+
id: string;
|
|
7338
|
+
title: string;
|
|
7339
|
+
isPublic: boolean;
|
|
7340
|
+
type: ("push" | "pull") | null;
|
|
7341
|
+
}[];
|
|
7342
|
+
};
|
|
6965
7343
|
};
|
|
6966
7344
|
};
|
|
6967
7345
|
/** @description Bad request */
|
|
@@ -7046,24 +7424,31 @@ export interface operations {
|
|
|
7046
7424
|
};
|
|
7047
7425
|
};
|
|
7048
7426
|
};
|
|
7049
|
-
|
|
7427
|
+
extractConnections: {
|
|
7050
7428
|
parameters: {
|
|
7051
|
-
query?:
|
|
7052
|
-
search?: string;
|
|
7053
|
-
status?: "active" | "inactive" | "pending";
|
|
7054
|
-
type?: "owner" | "vendor";
|
|
7055
|
-
companyType?: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
|
|
7056
|
-
isIndividual?: boolean;
|
|
7057
|
-
/** @description comma separated contact short refs */
|
|
7058
|
-
shortRefs?: string;
|
|
7059
|
-
limit?: number;
|
|
7060
|
-
page?: number;
|
|
7061
|
-
};
|
|
7429
|
+
query?: never;
|
|
7062
7430
|
header?: never;
|
|
7063
7431
|
path?: never;
|
|
7064
7432
|
cookie?: never;
|
|
7065
7433
|
};
|
|
7066
|
-
requestBody?:
|
|
7434
|
+
requestBody?: {
|
|
7435
|
+
content: {
|
|
7436
|
+
"application/json": {
|
|
7437
|
+
isInitial?: boolean;
|
|
7438
|
+
connections: {
|
|
7439
|
+
/** Format: uuid */
|
|
7440
|
+
connectionId: string;
|
|
7441
|
+
params?: unknown;
|
|
7442
|
+
type?: string;
|
|
7443
|
+
range?: {
|
|
7444
|
+
start?: string;
|
|
7445
|
+
end?: string;
|
|
7446
|
+
};
|
|
7447
|
+
forceUpdate?: boolean;
|
|
7448
|
+
}[];
|
|
7449
|
+
};
|
|
7450
|
+
};
|
|
7451
|
+
};
|
|
7067
7452
|
responses: {
|
|
7068
7453
|
/** @description Successful response */
|
|
7069
7454
|
200: {
|
|
@@ -7073,61 +7458,20 @@ export interface operations {
|
|
|
7073
7458
|
content: {
|
|
7074
7459
|
"application/json": {
|
|
7075
7460
|
data: {
|
|
7076
|
-
address?: {
|
|
7077
|
-
full?: string | null;
|
|
7078
|
-
line1?: string | null;
|
|
7079
|
-
line2?: string | null;
|
|
7080
|
-
city?: string | null;
|
|
7081
|
-
/** @description Deprecated, use stateCode instead */
|
|
7082
|
-
state?: string | null;
|
|
7083
|
-
postalCode?: string | null;
|
|
7084
|
-
stateCode?: string | null;
|
|
7085
|
-
countryCode?: string | null;
|
|
7086
|
-
} | null;
|
|
7087
|
-
/** @enum {string} */
|
|
7088
|
-
type: "owner" | "vendor";
|
|
7089
|
-
email?: string | null;
|
|
7090
|
-
firstName?: string | null;
|
|
7091
|
-
name?: string | null;
|
|
7092
|
-
phone?: string | null;
|
|
7093
|
-
connectionId?: string | null;
|
|
7094
|
-
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
7095
|
-
taxIdentifier?: string | null;
|
|
7096
|
-
uniqueRef?: string | null;
|
|
7097
|
-
/** @enum {string} */
|
|
7098
|
-
status: "active" | "inactive" | "pending";
|
|
7099
|
-
payoutAccountId?: string | null;
|
|
7100
7461
|
/** Format: uuid */
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
endAt?: string | null;
|
|
7114
|
-
}[];
|
|
7115
|
-
activeOwnerships: {
|
|
7116
|
-
listingId: string;
|
|
7117
|
-
split: number;
|
|
7118
|
-
startAt?: string | null;
|
|
7119
|
-
endAt?: string | null;
|
|
7120
|
-
}[];
|
|
7462
|
+
runId: string;
|
|
7463
|
+
/** Format: uuid */
|
|
7464
|
+
workflowId: string;
|
|
7465
|
+
/** Format: uuid */
|
|
7466
|
+
taskId: string;
|
|
7467
|
+
/** Format: uuid */
|
|
7468
|
+
syncId: string;
|
|
7469
|
+
data?: unknown;
|
|
7470
|
+
error?: {
|
|
7471
|
+
message: string;
|
|
7472
|
+
error?: string;
|
|
7473
|
+
};
|
|
7121
7474
|
}[];
|
|
7122
|
-
pagination: {
|
|
7123
|
-
/** @default 100 */
|
|
7124
|
-
limit: number;
|
|
7125
|
-
/** @default 1 */
|
|
7126
|
-
page: number;
|
|
7127
|
-
total: number;
|
|
7128
|
-
totalPage: number;
|
|
7129
|
-
nextPage?: number;
|
|
7130
|
-
};
|
|
7131
7475
|
};
|
|
7132
7476
|
};
|
|
7133
7477
|
};
|
|
@@ -7213,7 +7557,7 @@ export interface operations {
|
|
|
7213
7557
|
};
|
|
7214
7558
|
};
|
|
7215
7559
|
};
|
|
7216
|
-
|
|
7560
|
+
connectConnection: {
|
|
7217
7561
|
parameters: {
|
|
7218
7562
|
query?: never;
|
|
7219
7563
|
header?: never;
|
|
@@ -7223,31 +7567,9 @@ export interface operations {
|
|
|
7223
7567
|
requestBody?: {
|
|
7224
7568
|
content: {
|
|
7225
7569
|
"application/json": {
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
line2?: string | null;
|
|
7230
|
-
city?: string | null;
|
|
7231
|
-
/** @description Deprecated, use stateCode instead */
|
|
7232
|
-
state?: string | null;
|
|
7233
|
-
postalCode?: string | null;
|
|
7234
|
-
stateCode?: string | null;
|
|
7235
|
-
countryCode?: string | null;
|
|
7236
|
-
} | null;
|
|
7237
|
-
/** @enum {string} */
|
|
7238
|
-
type: "owner" | "vendor";
|
|
7239
|
-
email?: string | null;
|
|
7240
|
-
firstName?: string | null;
|
|
7241
|
-
name?: string | null;
|
|
7242
|
-
phone?: string | null;
|
|
7243
|
-
connectionId?: string | null;
|
|
7244
|
-
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
7245
|
-
taxIdentifier?: string | null;
|
|
7246
|
-
sourceId?: string | null;
|
|
7247
|
-
uniqueRef?: string | null;
|
|
7248
|
-
status?: ("active" | "inactive") | null;
|
|
7249
|
-
payoutAccountId?: string | null;
|
|
7250
|
-
invite?: boolean | null;
|
|
7570
|
+
appId: string;
|
|
7571
|
+
/** @default https://portal.vrplatform.app */
|
|
7572
|
+
redirectTo?: string;
|
|
7251
7573
|
};
|
|
7252
7574
|
};
|
|
7253
7575
|
};
|
|
@@ -7259,51 +7581,11 @@ export interface operations {
|
|
|
7259
7581
|
};
|
|
7260
7582
|
content: {
|
|
7261
7583
|
"application/json": {
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
/** @description Deprecated, use stateCode instead */
|
|
7268
|
-
state?: string | null;
|
|
7269
|
-
postalCode?: string | null;
|
|
7270
|
-
stateCode?: string | null;
|
|
7271
|
-
countryCode?: string | null;
|
|
7272
|
-
} | null;
|
|
7273
|
-
/** @enum {string} */
|
|
7274
|
-
type: "owner" | "vendor";
|
|
7275
|
-
email?: string | null;
|
|
7276
|
-
firstName?: string | null;
|
|
7277
|
-
name?: string | null;
|
|
7278
|
-
phone?: string | null;
|
|
7279
|
-
connectionId?: string | null;
|
|
7280
|
-
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
7281
|
-
taxIdentifier?: string | null;
|
|
7282
|
-
uniqueRef?: string | null;
|
|
7283
|
-
/** @enum {string} */
|
|
7284
|
-
status: "active" | "inactive" | "pending";
|
|
7285
|
-
payoutAccountId?: string | null;
|
|
7286
|
-
/** Format: uuid */
|
|
7287
|
-
id: string;
|
|
7288
|
-
shortRef?: string | null;
|
|
7289
|
-
source?: {
|
|
7290
|
-
/** Format: uuid */
|
|
7291
|
-
id: string;
|
|
7292
|
-
type: string;
|
|
7293
|
-
status?: ("active" | "inactive") | null;
|
|
7294
|
-
} | null;
|
|
7295
|
-
ownershipPeriods: {
|
|
7296
|
-
listingId: string;
|
|
7297
|
-
split: number;
|
|
7298
|
-
startAt?: string | null;
|
|
7299
|
-
endAt?: string | null;
|
|
7300
|
-
}[];
|
|
7301
|
-
activeOwnerships: {
|
|
7302
|
-
listingId: string;
|
|
7303
|
-
split: number;
|
|
7304
|
-
startAt?: string | null;
|
|
7305
|
-
endAt?: string | null;
|
|
7306
|
-
}[];
|
|
7584
|
+
redirectUri: string;
|
|
7585
|
+
manual: {
|
|
7586
|
+
state: string;
|
|
7587
|
+
redirectUri: string;
|
|
7588
|
+
};
|
|
7307
7589
|
};
|
|
7308
7590
|
};
|
|
7309
7591
|
};
|
|
@@ -7380,80 +7662,506 @@ export interface operations {
|
|
|
7380
7662
|
"application/json": {
|
|
7381
7663
|
code: string;
|
|
7382
7664
|
message: string;
|
|
7383
|
-
issues?: {
|
|
7384
|
-
message: string;
|
|
7385
|
-
}[];
|
|
7386
|
-
context?: unknown;
|
|
7387
|
-
};
|
|
7388
|
-
};
|
|
7389
|
-
};
|
|
7390
|
-
};
|
|
7391
|
-
};
|
|
7392
|
-
|
|
7393
|
-
parameters: {
|
|
7394
|
-
query?: never;
|
|
7395
|
-
header?: never;
|
|
7396
|
-
path
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7665
|
+
issues?: {
|
|
7666
|
+
message: string;
|
|
7667
|
+
}[];
|
|
7668
|
+
context?: unknown;
|
|
7669
|
+
};
|
|
7670
|
+
};
|
|
7671
|
+
};
|
|
7672
|
+
};
|
|
7673
|
+
};
|
|
7674
|
+
getConnection: {
|
|
7675
|
+
parameters: {
|
|
7676
|
+
query?: never;
|
|
7677
|
+
header?: never;
|
|
7678
|
+
path: {
|
|
7679
|
+
id: string;
|
|
7680
|
+
};
|
|
7681
|
+
cookie?: never;
|
|
7682
|
+
};
|
|
7683
|
+
requestBody?: never;
|
|
7684
|
+
responses: {
|
|
7685
|
+
/** @description Successful response */
|
|
7686
|
+
200: {
|
|
7687
|
+
headers: {
|
|
7688
|
+
[name: string]: unknown;
|
|
7689
|
+
};
|
|
7690
|
+
content: {
|
|
7691
|
+
"application/json": {
|
|
7692
|
+
/** Format: uuid */
|
|
7693
|
+
id: string;
|
|
7694
|
+
name: string;
|
|
7695
|
+
/** @enum {string} */
|
|
7696
|
+
status: "active" | "inactive";
|
|
7697
|
+
uniqueRef?: string | null;
|
|
7698
|
+
app: {
|
|
7699
|
+
id: string;
|
|
7700
|
+
/** @enum {string} */
|
|
7701
|
+
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
7702
|
+
name: string;
|
|
7703
|
+
icon?: string | null;
|
|
7704
|
+
importers?: string[] | null;
|
|
7705
|
+
extractors?: string[] | null;
|
|
7706
|
+
};
|
|
7707
|
+
createdAt: string;
|
|
7708
|
+
updatedAt: string;
|
|
7709
|
+
isErrorState: boolean;
|
|
7710
|
+
currentSync?: {
|
|
7711
|
+
/** @enum {string} */
|
|
7712
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
7713
|
+
createdAt: string;
|
|
7714
|
+
updatedAt: string;
|
|
7715
|
+
message?: string | null;
|
|
7716
|
+
} | null;
|
|
7717
|
+
enabledFlows: {
|
|
7718
|
+
/** Format: uuid */
|
|
7719
|
+
id: string;
|
|
7720
|
+
title: string;
|
|
7721
|
+
isPublic: boolean;
|
|
7722
|
+
type: ("push" | "pull") | null;
|
|
7723
|
+
}[];
|
|
7724
|
+
};
|
|
7725
|
+
};
|
|
7726
|
+
};
|
|
7727
|
+
/** @description Bad request */
|
|
7728
|
+
400: {
|
|
7729
|
+
headers: {
|
|
7730
|
+
[name: string]: unknown;
|
|
7731
|
+
};
|
|
7732
|
+
content: {
|
|
7733
|
+
"application/json": {
|
|
7734
|
+
code: string;
|
|
7735
|
+
message: string;
|
|
7736
|
+
issues?: {
|
|
7737
|
+
message: string;
|
|
7738
|
+
}[];
|
|
7739
|
+
context?: unknown;
|
|
7740
|
+
};
|
|
7741
|
+
};
|
|
7742
|
+
};
|
|
7743
|
+
/** @description Unauthorized */
|
|
7744
|
+
401: {
|
|
7745
|
+
headers: {
|
|
7746
|
+
[name: string]: unknown;
|
|
7747
|
+
};
|
|
7748
|
+
content: {
|
|
7749
|
+
"application/json": {
|
|
7750
|
+
code: string;
|
|
7751
|
+
message: string;
|
|
7752
|
+
issues?: {
|
|
7753
|
+
message: string;
|
|
7754
|
+
}[];
|
|
7755
|
+
context?: unknown;
|
|
7756
|
+
};
|
|
7757
|
+
};
|
|
7758
|
+
};
|
|
7759
|
+
/** @description Forbidden */
|
|
7760
|
+
403: {
|
|
7761
|
+
headers: {
|
|
7762
|
+
[name: string]: unknown;
|
|
7763
|
+
};
|
|
7764
|
+
content: {
|
|
7765
|
+
"application/json": {
|
|
7766
|
+
code: string;
|
|
7767
|
+
message: string;
|
|
7768
|
+
issues?: {
|
|
7769
|
+
message: string;
|
|
7770
|
+
}[];
|
|
7771
|
+
context?: unknown;
|
|
7772
|
+
};
|
|
7773
|
+
};
|
|
7774
|
+
};
|
|
7775
|
+
/** @description Not found */
|
|
7776
|
+
404: {
|
|
7777
|
+
headers: {
|
|
7778
|
+
[name: string]: unknown;
|
|
7779
|
+
};
|
|
7780
|
+
content: {
|
|
7781
|
+
"application/json": {
|
|
7782
|
+
code: string;
|
|
7783
|
+
message: string;
|
|
7784
|
+
issues?: {
|
|
7785
|
+
message: string;
|
|
7786
|
+
}[];
|
|
7787
|
+
context?: unknown;
|
|
7788
|
+
};
|
|
7789
|
+
};
|
|
7790
|
+
};
|
|
7791
|
+
/** @description Internal server error */
|
|
7792
|
+
500: {
|
|
7793
|
+
headers: {
|
|
7794
|
+
[name: string]: unknown;
|
|
7795
|
+
};
|
|
7796
|
+
content: {
|
|
7797
|
+
"application/json": {
|
|
7798
|
+
code: string;
|
|
7799
|
+
message: string;
|
|
7800
|
+
issues?: {
|
|
7801
|
+
message: string;
|
|
7802
|
+
}[];
|
|
7803
|
+
context?: unknown;
|
|
7804
|
+
};
|
|
7805
|
+
};
|
|
7806
|
+
};
|
|
7807
|
+
};
|
|
7808
|
+
};
|
|
7809
|
+
deleteConnection: {
|
|
7810
|
+
parameters: {
|
|
7811
|
+
query?: {
|
|
7812
|
+
onLocked?: "error" | "archive";
|
|
7813
|
+
};
|
|
7814
|
+
header?: never;
|
|
7815
|
+
path: {
|
|
7816
|
+
id: string;
|
|
7817
|
+
};
|
|
7818
|
+
cookie?: never;
|
|
7819
|
+
};
|
|
7820
|
+
requestBody?: {
|
|
7821
|
+
content: {
|
|
7822
|
+
"application/json": Record<string, never>;
|
|
7823
|
+
};
|
|
7824
|
+
};
|
|
7825
|
+
responses: {
|
|
7826
|
+
/** @description Successful response */
|
|
7827
|
+
200: {
|
|
7828
|
+
headers: {
|
|
7829
|
+
[name: string]: unknown;
|
|
7830
|
+
};
|
|
7831
|
+
content: {
|
|
7832
|
+
"application/json": {
|
|
7833
|
+
/** @enum {string} */
|
|
7834
|
+
status: "deleted" | "archived";
|
|
7835
|
+
};
|
|
7836
|
+
};
|
|
7837
|
+
};
|
|
7838
|
+
/** @description Bad request */
|
|
7839
|
+
400: {
|
|
7840
|
+
headers: {
|
|
7841
|
+
[name: string]: unknown;
|
|
7842
|
+
};
|
|
7843
|
+
content: {
|
|
7844
|
+
"application/json": {
|
|
7845
|
+
code: string;
|
|
7846
|
+
message: string;
|
|
7847
|
+
issues?: {
|
|
7848
|
+
message: string;
|
|
7849
|
+
}[];
|
|
7850
|
+
context?: unknown;
|
|
7851
|
+
};
|
|
7852
|
+
};
|
|
7853
|
+
};
|
|
7854
|
+
/** @description Unauthorized */
|
|
7855
|
+
401: {
|
|
7856
|
+
headers: {
|
|
7857
|
+
[name: string]: unknown;
|
|
7858
|
+
};
|
|
7859
|
+
content: {
|
|
7860
|
+
"application/json": {
|
|
7861
|
+
code: string;
|
|
7862
|
+
message: string;
|
|
7863
|
+
issues?: {
|
|
7864
|
+
message: string;
|
|
7865
|
+
}[];
|
|
7866
|
+
context?: unknown;
|
|
7867
|
+
};
|
|
7868
|
+
};
|
|
7869
|
+
};
|
|
7870
|
+
/** @description Forbidden */
|
|
7871
|
+
403: {
|
|
7872
|
+
headers: {
|
|
7873
|
+
[name: string]: unknown;
|
|
7874
|
+
};
|
|
7875
|
+
content: {
|
|
7876
|
+
"application/json": {
|
|
7877
|
+
code: string;
|
|
7878
|
+
message: string;
|
|
7879
|
+
issues?: {
|
|
7880
|
+
message: string;
|
|
7881
|
+
}[];
|
|
7882
|
+
context?: unknown;
|
|
7883
|
+
};
|
|
7884
|
+
};
|
|
7885
|
+
};
|
|
7886
|
+
/** @description Not found */
|
|
7887
|
+
404: {
|
|
7888
|
+
headers: {
|
|
7889
|
+
[name: string]: unknown;
|
|
7890
|
+
};
|
|
7891
|
+
content: {
|
|
7892
|
+
"application/json": {
|
|
7893
|
+
code: string;
|
|
7894
|
+
message: string;
|
|
7895
|
+
issues?: {
|
|
7896
|
+
message: string;
|
|
7897
|
+
}[];
|
|
7898
|
+
context?: unknown;
|
|
7899
|
+
};
|
|
7900
|
+
};
|
|
7901
|
+
};
|
|
7902
|
+
/** @description Internal server error */
|
|
7903
|
+
500: {
|
|
7904
|
+
headers: {
|
|
7905
|
+
[name: string]: unknown;
|
|
7906
|
+
};
|
|
7907
|
+
content: {
|
|
7908
|
+
"application/json": {
|
|
7909
|
+
code: string;
|
|
7910
|
+
message: string;
|
|
7911
|
+
issues?: {
|
|
7912
|
+
message: string;
|
|
7913
|
+
}[];
|
|
7914
|
+
context?: unknown;
|
|
7915
|
+
};
|
|
7916
|
+
};
|
|
7917
|
+
};
|
|
7918
|
+
};
|
|
7919
|
+
};
|
|
7920
|
+
syncConnection: {
|
|
7921
|
+
parameters: {
|
|
7922
|
+
query: {
|
|
7923
|
+
uniqueRef: string;
|
|
7924
|
+
type: "reservation" | "listing" | "payout";
|
|
7925
|
+
};
|
|
7926
|
+
header?: never;
|
|
7927
|
+
path: {
|
|
7928
|
+
id: string;
|
|
7929
|
+
};
|
|
7930
|
+
cookie?: never;
|
|
7931
|
+
};
|
|
7932
|
+
requestBody?: never;
|
|
7933
|
+
responses: {
|
|
7934
|
+
/** @description Successful response */
|
|
7935
|
+
200: {
|
|
7936
|
+
headers: {
|
|
7937
|
+
[name: string]: unknown;
|
|
7938
|
+
};
|
|
7939
|
+
content: {
|
|
7940
|
+
"application/json": ({
|
|
7941
|
+
/** Format: uuid */
|
|
7942
|
+
id: string;
|
|
7943
|
+
/** @constant */
|
|
7944
|
+
status: "completed";
|
|
7945
|
+
message: string;
|
|
7946
|
+
/** @constant */
|
|
7947
|
+
type: "reservation";
|
|
7948
|
+
/** Format: uuid */
|
|
7949
|
+
reservationId: string;
|
|
7950
|
+
} | {
|
|
7951
|
+
/** Format: uuid */
|
|
7952
|
+
id: string;
|
|
7953
|
+
/** @constant */
|
|
7954
|
+
status: "completed";
|
|
7955
|
+
message: string;
|
|
7956
|
+
/** @constant */
|
|
7957
|
+
type: "listing";
|
|
7958
|
+
/** Format: uuid */
|
|
7959
|
+
listingId: string;
|
|
7960
|
+
} | {
|
|
7961
|
+
/** Format: uuid */
|
|
7962
|
+
id: string;
|
|
7963
|
+
/** @constant */
|
|
7964
|
+
status: "completed";
|
|
7965
|
+
message: string;
|
|
7966
|
+
/** @constant */
|
|
7967
|
+
type: "payout";
|
|
7968
|
+
/** Format: uuid */
|
|
7969
|
+
paymentId: string;
|
|
7970
|
+
}) | {
|
|
7971
|
+
/** Format: uuid */
|
|
7972
|
+
id: string;
|
|
7973
|
+
/** @constant */
|
|
7974
|
+
status: "failed";
|
|
7975
|
+
message: string;
|
|
7976
|
+
/** @enum {string} */
|
|
7977
|
+
type: "reservation" | "listing" | "payout";
|
|
7978
|
+
};
|
|
7979
|
+
};
|
|
7980
|
+
};
|
|
7981
|
+
/** @description Bad request */
|
|
7982
|
+
400: {
|
|
7983
|
+
headers: {
|
|
7984
|
+
[name: string]: unknown;
|
|
7985
|
+
};
|
|
7986
|
+
content: {
|
|
7987
|
+
"application/json": {
|
|
7988
|
+
code: string;
|
|
7989
|
+
message: string;
|
|
7990
|
+
issues?: {
|
|
7991
|
+
message: string;
|
|
7992
|
+
}[];
|
|
7993
|
+
context?: unknown;
|
|
7994
|
+
};
|
|
7995
|
+
};
|
|
7996
|
+
};
|
|
7997
|
+
/** @description Unauthorized */
|
|
7998
|
+
401: {
|
|
7999
|
+
headers: {
|
|
8000
|
+
[name: string]: unknown;
|
|
8001
|
+
};
|
|
8002
|
+
content: {
|
|
8003
|
+
"application/json": {
|
|
8004
|
+
code: string;
|
|
8005
|
+
message: string;
|
|
8006
|
+
issues?: {
|
|
8007
|
+
message: string;
|
|
8008
|
+
}[];
|
|
8009
|
+
context?: unknown;
|
|
8010
|
+
};
|
|
8011
|
+
};
|
|
8012
|
+
};
|
|
8013
|
+
/** @description Forbidden */
|
|
8014
|
+
403: {
|
|
8015
|
+
headers: {
|
|
8016
|
+
[name: string]: unknown;
|
|
8017
|
+
};
|
|
8018
|
+
content: {
|
|
8019
|
+
"application/json": {
|
|
8020
|
+
code: string;
|
|
8021
|
+
message: string;
|
|
8022
|
+
issues?: {
|
|
8023
|
+
message: string;
|
|
8024
|
+
}[];
|
|
8025
|
+
context?: unknown;
|
|
8026
|
+
};
|
|
8027
|
+
};
|
|
8028
|
+
};
|
|
8029
|
+
/** @description Not found */
|
|
8030
|
+
404: {
|
|
8031
|
+
headers: {
|
|
8032
|
+
[name: string]: unknown;
|
|
8033
|
+
};
|
|
8034
|
+
content: {
|
|
8035
|
+
"application/json": {
|
|
8036
|
+
code: string;
|
|
8037
|
+
message: string;
|
|
8038
|
+
issues?: {
|
|
8039
|
+
message: string;
|
|
8040
|
+
}[];
|
|
8041
|
+
context?: unknown;
|
|
8042
|
+
};
|
|
8043
|
+
};
|
|
8044
|
+
};
|
|
8045
|
+
/** @description Internal server error */
|
|
8046
|
+
500: {
|
|
8047
|
+
headers: {
|
|
8048
|
+
[name: string]: unknown;
|
|
8049
|
+
};
|
|
8050
|
+
content: {
|
|
8051
|
+
"application/json": {
|
|
8052
|
+
code: string;
|
|
8053
|
+
message: string;
|
|
8054
|
+
issues?: {
|
|
8055
|
+
message: string;
|
|
8056
|
+
}[];
|
|
8057
|
+
context?: unknown;
|
|
8058
|
+
};
|
|
8059
|
+
};
|
|
8060
|
+
};
|
|
8061
|
+
};
|
|
8062
|
+
};
|
|
8063
|
+
syncConnectionPost: {
|
|
8064
|
+
parameters: {
|
|
8065
|
+
query?: never;
|
|
8066
|
+
header?: never;
|
|
8067
|
+
path: {
|
|
8068
|
+
id: string;
|
|
8069
|
+
};
|
|
8070
|
+
cookie?: never;
|
|
8071
|
+
};
|
|
8072
|
+
requestBody?: {
|
|
8073
|
+
content: {
|
|
8074
|
+
"application/json": {
|
|
8075
|
+
uniqueRef: string;
|
|
8076
|
+
/** @enum {string} */
|
|
8077
|
+
type: "reservation" | "listing" | "payout";
|
|
8078
|
+
};
|
|
8079
|
+
};
|
|
8080
|
+
};
|
|
8081
|
+
responses: {
|
|
8082
|
+
/** @description Successful response */
|
|
8083
|
+
200: {
|
|
8084
|
+
headers: {
|
|
8085
|
+
[name: string]: unknown;
|
|
8086
|
+
};
|
|
8087
|
+
content: {
|
|
8088
|
+
"application/json": (({
|
|
8089
|
+
/** Format: uuid */
|
|
8090
|
+
id: string;
|
|
8091
|
+
/** @constant */
|
|
8092
|
+
status: "completed";
|
|
8093
|
+
message: string;
|
|
8094
|
+
/** @constant */
|
|
8095
|
+
type: "reservation";
|
|
8096
|
+
/** Format: uuid */
|
|
8097
|
+
reservationId: string;
|
|
8098
|
+
} | {
|
|
8099
|
+
/** Format: uuid */
|
|
8100
|
+
id: string;
|
|
8101
|
+
/** @constant */
|
|
8102
|
+
status: "completed";
|
|
8103
|
+
message: string;
|
|
8104
|
+
/** @constant */
|
|
8105
|
+
type: "listing";
|
|
8106
|
+
/** Format: uuid */
|
|
8107
|
+
listingId: string;
|
|
8108
|
+
} | {
|
|
8109
|
+
/** Format: uuid */
|
|
8110
|
+
id: string;
|
|
8111
|
+
/** @constant */
|
|
8112
|
+
status: "completed";
|
|
8113
|
+
message: string;
|
|
8114
|
+
/** @constant */
|
|
8115
|
+
type: "payout";
|
|
8116
|
+
/** Format: uuid */
|
|
8117
|
+
paymentId: string;
|
|
8118
|
+
}) | {
|
|
8119
|
+
/** Format: uuid */
|
|
8120
|
+
id: string;
|
|
8121
|
+
/** @constant */
|
|
8122
|
+
status: "failed";
|
|
8123
|
+
message: string;
|
|
8124
|
+
/** @enum {string} */
|
|
8125
|
+
type: "reservation" | "listing" | "payout";
|
|
8126
|
+
}) | (({
|
|
8127
|
+
/** Format: uuid */
|
|
8128
|
+
id: string;
|
|
8129
|
+
/** @constant */
|
|
8130
|
+
status: "completed";
|
|
8131
|
+
message: string;
|
|
8132
|
+
/** @constant */
|
|
8133
|
+
type: "reservation";
|
|
8134
|
+
/** Format: uuid */
|
|
8135
|
+
reservationId: string;
|
|
8136
|
+
} | {
|
|
8137
|
+
/** Format: uuid */
|
|
8138
|
+
id: string;
|
|
8139
|
+
/** @constant */
|
|
8140
|
+
status: "completed";
|
|
8141
|
+
message: string;
|
|
8142
|
+
/** @constant */
|
|
8143
|
+
type: "listing";
|
|
8144
|
+
/** Format: uuid */
|
|
8145
|
+
listingId: string;
|
|
8146
|
+
} | {
|
|
8147
|
+
/** Format: uuid */
|
|
8148
|
+
id: string;
|
|
8149
|
+
/** @constant */
|
|
8150
|
+
status: "completed";
|
|
8151
|
+
message: string;
|
|
8152
|
+
/** @constant */
|
|
8153
|
+
type: "payout";
|
|
8154
|
+
/** Format: uuid */
|
|
8155
|
+
paymentId: string;
|
|
8156
|
+
}) | {
|
|
8157
|
+
/** Format: uuid */
|
|
8158
|
+
id: string;
|
|
8159
|
+
/** @constant */
|
|
8160
|
+
status: "failed";
|
|
8161
|
+
message: string;
|
|
7416
8162
|
/** @enum {string} */
|
|
7417
|
-
type: "
|
|
7418
|
-
|
|
7419
|
-
name?: string | null;
|
|
7420
|
-
phone?: string | null;
|
|
7421
|
-
connectionId?: string | null;
|
|
7422
|
-
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
7423
|
-
taxIdentifier?: string | null;
|
|
7424
|
-
sourceId?: string | null;
|
|
7425
|
-
uniqueRef?: string | null;
|
|
7426
|
-
status?: ("active" | "inactive") | null;
|
|
7427
|
-
payoutAccountId?: string | null;
|
|
7428
|
-
id?: string | null;
|
|
7429
|
-
email?: string | null;
|
|
7430
|
-
}[];
|
|
7431
|
-
};
|
|
7432
|
-
};
|
|
7433
|
-
};
|
|
7434
|
-
responses: {
|
|
7435
|
-
/** @description Successful response */
|
|
7436
|
-
200: {
|
|
7437
|
-
headers: {
|
|
7438
|
-
[name: string]: unknown;
|
|
7439
|
-
};
|
|
7440
|
-
content: {
|
|
7441
|
-
"application/json": {
|
|
7442
|
-
data: {
|
|
7443
|
-
/** Format: uuid */
|
|
7444
|
-
id: string;
|
|
7445
|
-
uniqueRef?: string | null;
|
|
7446
|
-
sourceId?: string | null;
|
|
7447
|
-
}[];
|
|
7448
|
-
issues: {
|
|
7449
|
-
ref: string;
|
|
7450
|
-
sourceId?: string | null;
|
|
7451
|
-
message: string;
|
|
7452
|
-
/** @enum {string} */
|
|
7453
|
-
code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
|
|
7454
|
-
context?: unknown;
|
|
7455
|
-
}[];
|
|
7456
|
-
};
|
|
8163
|
+
type: "reservation" | "listing" | "payout";
|
|
8164
|
+
})[];
|
|
7457
8165
|
};
|
|
7458
8166
|
};
|
|
7459
8167
|
/** @description Bad request */
|
|
@@ -7538,7 +8246,7 @@ export interface operations {
|
|
|
7538
8246
|
};
|
|
7539
8247
|
};
|
|
7540
8248
|
};
|
|
7541
|
-
|
|
8249
|
+
getContacts: {
|
|
7542
8250
|
parameters: {
|
|
7543
8251
|
query?: {
|
|
7544
8252
|
search?: string;
|
|
@@ -7548,6 +8256,8 @@ export interface operations {
|
|
|
7548
8256
|
isIndividual?: boolean;
|
|
7549
8257
|
/** @description comma separated contact short refs */
|
|
7550
8258
|
shortRefs?: string;
|
|
8259
|
+
limit?: number;
|
|
8260
|
+
page?: number;
|
|
7551
8261
|
};
|
|
7552
8262
|
header?: never;
|
|
7553
8263
|
path?: never;
|
|
@@ -7562,7 +8272,62 @@ export interface operations {
|
|
|
7562
8272
|
};
|
|
7563
8273
|
content: {
|
|
7564
8274
|
"application/json": {
|
|
7565
|
-
|
|
8275
|
+
data: {
|
|
8276
|
+
address?: {
|
|
8277
|
+
full?: string | null;
|
|
8278
|
+
line1?: string | null;
|
|
8279
|
+
line2?: string | null;
|
|
8280
|
+
city?: string | null;
|
|
8281
|
+
/** @description Deprecated, use stateCode instead */
|
|
8282
|
+
state?: string | null;
|
|
8283
|
+
postalCode?: string | null;
|
|
8284
|
+
stateCode?: string | null;
|
|
8285
|
+
countryCode?: string | null;
|
|
8286
|
+
} | null;
|
|
8287
|
+
/** @enum {string} */
|
|
8288
|
+
type: "owner" | "vendor";
|
|
8289
|
+
email?: string | null;
|
|
8290
|
+
firstName?: string | null;
|
|
8291
|
+
name?: string | null;
|
|
8292
|
+
phone?: string | null;
|
|
8293
|
+
connectionId?: string | null;
|
|
8294
|
+
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
8295
|
+
taxIdentifier?: string | null;
|
|
8296
|
+
uniqueRef?: string | null;
|
|
8297
|
+
/** @enum {string} */
|
|
8298
|
+
status: "active" | "inactive" | "pending";
|
|
8299
|
+
payoutAccountId?: string | null;
|
|
8300
|
+
/** Format: uuid */
|
|
8301
|
+
id: string;
|
|
8302
|
+
shortRef?: string | null;
|
|
8303
|
+
source?: {
|
|
8304
|
+
/** Format: uuid */
|
|
8305
|
+
id: string;
|
|
8306
|
+
type: string;
|
|
8307
|
+
status?: ("active" | "inactive") | null;
|
|
8308
|
+
} | null;
|
|
8309
|
+
ownershipPeriods: {
|
|
8310
|
+
listingId: string;
|
|
8311
|
+
split: number;
|
|
8312
|
+
startAt?: string | null;
|
|
8313
|
+
endAt?: string | null;
|
|
8314
|
+
}[];
|
|
8315
|
+
activeOwnerships: {
|
|
8316
|
+
listingId: string;
|
|
8317
|
+
split: number;
|
|
8318
|
+
startAt?: string | null;
|
|
8319
|
+
endAt?: string | null;
|
|
8320
|
+
}[];
|
|
8321
|
+
}[];
|
|
8322
|
+
pagination: {
|
|
8323
|
+
/** @default 100 */
|
|
8324
|
+
limit: number;
|
|
8325
|
+
/** @default 1 */
|
|
8326
|
+
page: number;
|
|
8327
|
+
total: number;
|
|
8328
|
+
totalPage: number;
|
|
8329
|
+
nextPage?: number;
|
|
8330
|
+
};
|
|
7566
8331
|
};
|
|
7567
8332
|
};
|
|
7568
8333
|
};
|
|
@@ -7648,16 +8413,44 @@ export interface operations {
|
|
|
7648
8413
|
};
|
|
7649
8414
|
};
|
|
7650
8415
|
};
|
|
7651
|
-
|
|
8416
|
+
postContacts: {
|
|
7652
8417
|
parameters: {
|
|
7653
8418
|
query?: never;
|
|
7654
8419
|
header?: never;
|
|
7655
|
-
path
|
|
7656
|
-
id: string;
|
|
7657
|
-
};
|
|
8420
|
+
path?: never;
|
|
7658
8421
|
cookie?: never;
|
|
7659
8422
|
};
|
|
7660
|
-
requestBody?:
|
|
8423
|
+
requestBody?: {
|
|
8424
|
+
content: {
|
|
8425
|
+
"application/json": {
|
|
8426
|
+
address?: {
|
|
8427
|
+
full?: string | null;
|
|
8428
|
+
line1?: string | null;
|
|
8429
|
+
line2?: string | null;
|
|
8430
|
+
city?: string | null;
|
|
8431
|
+
/** @description Deprecated, use stateCode instead */
|
|
8432
|
+
state?: string | null;
|
|
8433
|
+
postalCode?: string | null;
|
|
8434
|
+
stateCode?: string | null;
|
|
8435
|
+
countryCode?: string | null;
|
|
8436
|
+
} | null;
|
|
8437
|
+
/** @enum {string} */
|
|
8438
|
+
type: "owner" | "vendor";
|
|
8439
|
+
email?: string | null;
|
|
8440
|
+
firstName?: string | null;
|
|
8441
|
+
name?: string | null;
|
|
8442
|
+
phone?: string | null;
|
|
8443
|
+
connectionId?: string | null;
|
|
8444
|
+
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
8445
|
+
taxIdentifier?: string | null;
|
|
8446
|
+
sourceId?: string | null;
|
|
8447
|
+
uniqueRef?: string | null;
|
|
8448
|
+
status?: ("active" | "inactive") | null;
|
|
8449
|
+
payoutAccountId?: string | null;
|
|
8450
|
+
invite?: boolean | null;
|
|
8451
|
+
};
|
|
8452
|
+
};
|
|
8453
|
+
};
|
|
7661
8454
|
responses: {
|
|
7662
8455
|
/** @description Successful response */
|
|
7663
8456
|
200: {
|
|
@@ -7796,53 +8589,19 @@ export interface operations {
|
|
|
7796
8589
|
};
|
|
7797
8590
|
};
|
|
7798
8591
|
};
|
|
7799
|
-
|
|
8592
|
+
postContactsBatch: {
|
|
7800
8593
|
parameters: {
|
|
7801
8594
|
query?: never;
|
|
7802
8595
|
header?: never;
|
|
7803
|
-
path
|
|
7804
|
-
id: string;
|
|
7805
|
-
};
|
|
8596
|
+
path?: never;
|
|
7806
8597
|
cookie?: never;
|
|
7807
8598
|
};
|
|
7808
8599
|
requestBody?: {
|
|
7809
8600
|
content: {
|
|
7810
8601
|
"application/json": {
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7814
|
-
line2?: string | null;
|
|
7815
|
-
city?: string | null;
|
|
7816
|
-
/** @description Deprecated, use stateCode instead */
|
|
7817
|
-
state?: string | null;
|
|
7818
|
-
postalCode?: string | null;
|
|
7819
|
-
stateCode?: string | null;
|
|
7820
|
-
countryCode?: string | null;
|
|
7821
|
-
} | null;
|
|
7822
|
-
/** @enum {string} */
|
|
7823
|
-
type?: "owner" | "vendor";
|
|
7824
|
-
email?: string | null;
|
|
7825
|
-
firstName?: string | null;
|
|
7826
|
-
name?: string | null;
|
|
7827
|
-
phone?: string | null;
|
|
7828
|
-
connectionId?: string | null;
|
|
7829
|
-
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
7830
|
-
taxIdentifier?: string | null;
|
|
7831
|
-
sourceId?: string | null;
|
|
7832
|
-
uniqueRef?: string | null;
|
|
7833
|
-
status?: ("active" | "inactive") | null;
|
|
7834
|
-
payoutAccountId?: string | null;
|
|
7835
|
-
};
|
|
7836
|
-
};
|
|
7837
|
-
};
|
|
7838
|
-
responses: {
|
|
7839
|
-
/** @description Successful response */
|
|
7840
|
-
200: {
|
|
7841
|
-
headers: {
|
|
7842
|
-
[name: string]: unknown;
|
|
7843
|
-
};
|
|
7844
|
-
content: {
|
|
7845
|
-
"application/json": {
|
|
8602
|
+
/** Format: uuid */
|
|
8603
|
+
connectionId: string;
|
|
8604
|
+
data: {
|
|
7846
8605
|
address?: {
|
|
7847
8606
|
full?: string | null;
|
|
7848
8607
|
line1?: string | null;
|
|
@@ -7856,37 +8615,43 @@ export interface operations {
|
|
|
7856
8615
|
} | null;
|
|
7857
8616
|
/** @enum {string} */
|
|
7858
8617
|
type: "owner" | "vendor";
|
|
7859
|
-
email?: string | null;
|
|
7860
8618
|
firstName?: string | null;
|
|
7861
8619
|
name?: string | null;
|
|
7862
8620
|
phone?: string | null;
|
|
7863
8621
|
connectionId?: string | null;
|
|
7864
8622
|
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
7865
8623
|
taxIdentifier?: string | null;
|
|
8624
|
+
sourceId?: string | null;
|
|
7866
8625
|
uniqueRef?: string | null;
|
|
7867
|
-
|
|
7868
|
-
status: "active" | "inactive" | "pending";
|
|
8626
|
+
status?: ("active" | "inactive") | null;
|
|
7869
8627
|
payoutAccountId?: string | null;
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
8628
|
+
id?: string | null;
|
|
8629
|
+
email?: string | null;
|
|
8630
|
+
}[];
|
|
8631
|
+
};
|
|
8632
|
+
};
|
|
8633
|
+
};
|
|
8634
|
+
responses: {
|
|
8635
|
+
/** @description Successful response */
|
|
8636
|
+
200: {
|
|
8637
|
+
headers: {
|
|
8638
|
+
[name: string]: unknown;
|
|
8639
|
+
};
|
|
8640
|
+
content: {
|
|
8641
|
+
"application/json": {
|
|
8642
|
+
data: {
|
|
7874
8643
|
/** Format: uuid */
|
|
7875
8644
|
id: string;
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
}
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
listingId: string;
|
|
7887
|
-
split: number;
|
|
7888
|
-
startAt?: string | null;
|
|
7889
|
-
endAt?: string | null;
|
|
8645
|
+
uniqueRef?: string | null;
|
|
8646
|
+
sourceId?: string | null;
|
|
8647
|
+
}[];
|
|
8648
|
+
issues: {
|
|
8649
|
+
ref: string;
|
|
8650
|
+
sourceId?: string | null;
|
|
8651
|
+
message: string;
|
|
8652
|
+
/** @enum {string} */
|
|
8653
|
+
code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
|
|
8654
|
+
context?: unknown;
|
|
7890
8655
|
}[];
|
|
7891
8656
|
};
|
|
7892
8657
|
};
|
|
@@ -7973,22 +8738,22 @@ export interface operations {
|
|
|
7973
8738
|
};
|
|
7974
8739
|
};
|
|
7975
8740
|
};
|
|
7976
|
-
|
|
8741
|
+
getContactsCsv: {
|
|
7977
8742
|
parameters: {
|
|
7978
8743
|
query?: {
|
|
7979
|
-
|
|
8744
|
+
search?: string;
|
|
8745
|
+
status?: "active" | "inactive" | "pending";
|
|
8746
|
+
type?: "owner" | "vendor";
|
|
8747
|
+
companyType?: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
|
|
8748
|
+
isIndividual?: boolean;
|
|
8749
|
+
/** @description comma separated contact short refs */
|
|
8750
|
+
shortRefs?: string;
|
|
7980
8751
|
};
|
|
7981
8752
|
header?: never;
|
|
7982
|
-
path
|
|
7983
|
-
id: string;
|
|
7984
|
-
};
|
|
8753
|
+
path?: never;
|
|
7985
8754
|
cookie?: never;
|
|
7986
8755
|
};
|
|
7987
|
-
requestBody?:
|
|
7988
|
-
content: {
|
|
7989
|
-
"application/json": Record<string, never>;
|
|
7990
|
-
};
|
|
7991
|
-
};
|
|
8756
|
+
requestBody?: never;
|
|
7992
8757
|
responses: {
|
|
7993
8758
|
/** @description Successful response */
|
|
7994
8759
|
200: {
|
|
@@ -7997,8 +8762,7 @@ export interface operations {
|
|
|
7997
8762
|
};
|
|
7998
8763
|
content: {
|
|
7999
8764
|
"application/json": {
|
|
8000
|
-
|
|
8001
|
-
status: "deleted" | "archived";
|
|
8765
|
+
url: string;
|
|
8002
8766
|
};
|
|
8003
8767
|
};
|
|
8004
8768
|
};
|
|
@@ -8084,7 +8848,7 @@ export interface operations {
|
|
|
8084
8848
|
};
|
|
8085
8849
|
};
|
|
8086
8850
|
};
|
|
8087
|
-
|
|
8851
|
+
getContactsById: {
|
|
8088
8852
|
parameters: {
|
|
8089
8853
|
query?: never;
|
|
8090
8854
|
header?: never;
|
|
@@ -8093,14 +8857,7 @@ export interface operations {
|
|
|
8093
8857
|
};
|
|
8094
8858
|
cookie?: never;
|
|
8095
8859
|
};
|
|
8096
|
-
requestBody?:
|
|
8097
|
-
content: {
|
|
8098
|
-
"application/json": {
|
|
8099
|
-
/** @default true */
|
|
8100
|
-
email?: boolean | null;
|
|
8101
|
-
};
|
|
8102
|
-
};
|
|
8103
|
-
};
|
|
8860
|
+
requestBody?: never;
|
|
8104
8861
|
responses: {
|
|
8105
8862
|
/** @description Successful response */
|
|
8106
8863
|
200: {
|
|
@@ -8109,7 +8866,51 @@ export interface operations {
|
|
|
8109
8866
|
};
|
|
8110
8867
|
content: {
|
|
8111
8868
|
"application/json": {
|
|
8112
|
-
|
|
8869
|
+
address?: {
|
|
8870
|
+
full?: string | null;
|
|
8871
|
+
line1?: string | null;
|
|
8872
|
+
line2?: string | null;
|
|
8873
|
+
city?: string | null;
|
|
8874
|
+
/** @description Deprecated, use stateCode instead */
|
|
8875
|
+
state?: string | null;
|
|
8876
|
+
postalCode?: string | null;
|
|
8877
|
+
stateCode?: string | null;
|
|
8878
|
+
countryCode?: string | null;
|
|
8879
|
+
} | null;
|
|
8880
|
+
/** @enum {string} */
|
|
8881
|
+
type: "owner" | "vendor";
|
|
8882
|
+
email?: string | null;
|
|
8883
|
+
firstName?: string | null;
|
|
8884
|
+
name?: string | null;
|
|
8885
|
+
phone?: string | null;
|
|
8886
|
+
connectionId?: string | null;
|
|
8887
|
+
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
8888
|
+
taxIdentifier?: string | null;
|
|
8889
|
+
uniqueRef?: string | null;
|
|
8890
|
+
/** @enum {string} */
|
|
8891
|
+
status: "active" | "inactive" | "pending";
|
|
8892
|
+
payoutAccountId?: string | null;
|
|
8893
|
+
/** Format: uuid */
|
|
8894
|
+
id: string;
|
|
8895
|
+
shortRef?: string | null;
|
|
8896
|
+
source?: {
|
|
8897
|
+
/** Format: uuid */
|
|
8898
|
+
id: string;
|
|
8899
|
+
type: string;
|
|
8900
|
+
status?: ("active" | "inactive") | null;
|
|
8901
|
+
} | null;
|
|
8902
|
+
ownershipPeriods: {
|
|
8903
|
+
listingId: string;
|
|
8904
|
+
split: number;
|
|
8905
|
+
startAt?: string | null;
|
|
8906
|
+
endAt?: string | null;
|
|
8907
|
+
}[];
|
|
8908
|
+
activeOwnerships: {
|
|
8909
|
+
listingId: string;
|
|
8910
|
+
split: number;
|
|
8911
|
+
startAt?: string | null;
|
|
8912
|
+
endAt?: string | null;
|
|
8913
|
+
}[];
|
|
8113
8914
|
};
|
|
8114
8915
|
};
|
|
8115
8916
|
};
|
|
@@ -8195,7 +8996,7 @@ export interface operations {
|
|
|
8195
8996
|
};
|
|
8196
8997
|
};
|
|
8197
8998
|
};
|
|
8198
|
-
|
|
8999
|
+
putContactsById: {
|
|
8199
9000
|
parameters: {
|
|
8200
9001
|
query?: never;
|
|
8201
9002
|
header?: never;
|
|
@@ -8206,7 +9007,32 @@ export interface operations {
|
|
|
8206
9007
|
};
|
|
8207
9008
|
requestBody?: {
|
|
8208
9009
|
content: {
|
|
8209
|
-
"application/json":
|
|
9010
|
+
"application/json": {
|
|
9011
|
+
address?: {
|
|
9012
|
+
full?: string | null;
|
|
9013
|
+
line1?: string | null;
|
|
9014
|
+
line2?: string | null;
|
|
9015
|
+
city?: string | null;
|
|
9016
|
+
/** @description Deprecated, use stateCode instead */
|
|
9017
|
+
state?: string | null;
|
|
9018
|
+
postalCode?: string | null;
|
|
9019
|
+
stateCode?: string | null;
|
|
9020
|
+
countryCode?: string | null;
|
|
9021
|
+
} | null;
|
|
9022
|
+
/** @enum {string} */
|
|
9023
|
+
type?: "owner" | "vendor";
|
|
9024
|
+
email?: string | null;
|
|
9025
|
+
firstName?: string | null;
|
|
9026
|
+
name?: string | null;
|
|
9027
|
+
phone?: string | null;
|
|
9028
|
+
connectionId?: string | null;
|
|
9029
|
+
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
9030
|
+
taxIdentifier?: string | null;
|
|
9031
|
+
sourceId?: string | null;
|
|
9032
|
+
uniqueRef?: string | null;
|
|
9033
|
+
status?: ("active" | "inactive") | null;
|
|
9034
|
+
payoutAccountId?: string | null;
|
|
9035
|
+
};
|
|
8210
9036
|
};
|
|
8211
9037
|
};
|
|
8212
9038
|
responses: {
|
|
@@ -8217,8 +9043,51 @@ export interface operations {
|
|
|
8217
9043
|
};
|
|
8218
9044
|
content: {
|
|
8219
9045
|
"application/json": {
|
|
8220
|
-
|
|
8221
|
-
|
|
9046
|
+
address?: {
|
|
9047
|
+
full?: string | null;
|
|
9048
|
+
line1?: string | null;
|
|
9049
|
+
line2?: string | null;
|
|
9050
|
+
city?: string | null;
|
|
9051
|
+
/** @description Deprecated, use stateCode instead */
|
|
9052
|
+
state?: string | null;
|
|
9053
|
+
postalCode?: string | null;
|
|
9054
|
+
stateCode?: string | null;
|
|
9055
|
+
countryCode?: string | null;
|
|
9056
|
+
} | null;
|
|
9057
|
+
/** @enum {string} */
|
|
9058
|
+
type: "owner" | "vendor";
|
|
9059
|
+
email?: string | null;
|
|
9060
|
+
firstName?: string | null;
|
|
9061
|
+
name?: string | null;
|
|
9062
|
+
phone?: string | null;
|
|
9063
|
+
connectionId?: string | null;
|
|
9064
|
+
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
9065
|
+
taxIdentifier?: string | null;
|
|
9066
|
+
uniqueRef?: string | null;
|
|
9067
|
+
/** @enum {string} */
|
|
9068
|
+
status: "active" | "inactive" | "pending";
|
|
9069
|
+
payoutAccountId?: string | null;
|
|
9070
|
+
/** Format: uuid */
|
|
9071
|
+
id: string;
|
|
9072
|
+
shortRef?: string | null;
|
|
9073
|
+
source?: {
|
|
9074
|
+
/** Format: uuid */
|
|
9075
|
+
id: string;
|
|
9076
|
+
type: string;
|
|
9077
|
+
status?: ("active" | "inactive") | null;
|
|
9078
|
+
} | null;
|
|
9079
|
+
ownershipPeriods: {
|
|
9080
|
+
listingId: string;
|
|
9081
|
+
split: number;
|
|
9082
|
+
startAt?: string | null;
|
|
9083
|
+
endAt?: string | null;
|
|
9084
|
+
}[];
|
|
9085
|
+
activeOwnerships: {
|
|
9086
|
+
listingId: string;
|
|
9087
|
+
split: number;
|
|
9088
|
+
startAt?: string | null;
|
|
9089
|
+
endAt?: string | null;
|
|
9090
|
+
}[];
|
|
8222
9091
|
};
|
|
8223
9092
|
};
|
|
8224
9093
|
};
|
|
@@ -8304,23 +9173,20 @@ export interface operations {
|
|
|
8304
9173
|
};
|
|
8305
9174
|
};
|
|
8306
9175
|
};
|
|
8307
|
-
|
|
9176
|
+
deleteContactsById: {
|
|
8308
9177
|
parameters: {
|
|
8309
|
-
query?:
|
|
9178
|
+
query?: {
|
|
9179
|
+
onLocked?: "error" | "archive";
|
|
9180
|
+
};
|
|
8310
9181
|
header?: never;
|
|
8311
|
-
path
|
|
9182
|
+
path: {
|
|
9183
|
+
id: string;
|
|
9184
|
+
};
|
|
8312
9185
|
cookie?: never;
|
|
8313
9186
|
};
|
|
8314
9187
|
requestBody?: {
|
|
8315
9188
|
content: {
|
|
8316
|
-
"application/json":
|
|
8317
|
-
fileData?: string;
|
|
8318
|
-
fileUri?: string;
|
|
8319
|
-
fileName?: string;
|
|
8320
|
-
connectionId: string;
|
|
8321
|
-
uniqueRef: string;
|
|
8322
|
-
params?: unknown;
|
|
8323
|
-
};
|
|
9189
|
+
"application/json": Record<string, never>;
|
|
8324
9190
|
};
|
|
8325
9191
|
};
|
|
8326
9192
|
responses: {
|
|
@@ -8331,20 +9197,8 @@ export interface operations {
|
|
|
8331
9197
|
};
|
|
8332
9198
|
content: {
|
|
8333
9199
|
"application/json": {
|
|
8334
|
-
|
|
8335
|
-
|
|
8336
|
-
/** @enum {string} */
|
|
8337
|
-
status: "completed";
|
|
8338
|
-
} | {
|
|
8339
|
-
/** @enum {string} */
|
|
8340
|
-
status: "failed";
|
|
8341
|
-
syncId: string;
|
|
8342
|
-
error: string;
|
|
8343
|
-
parseErrors?: {
|
|
8344
|
-
rowNumber: number;
|
|
8345
|
-
message: string;
|
|
8346
|
-
}[];
|
|
8347
|
-
};
|
|
9200
|
+
/** @enum {string} */
|
|
9201
|
+
status: "deleted" | "archived";
|
|
8348
9202
|
};
|
|
8349
9203
|
};
|
|
8350
9204
|
};
|
|
@@ -8430,62 +9284,32 @@ export interface operations {
|
|
|
8430
9284
|
};
|
|
8431
9285
|
};
|
|
8432
9286
|
};
|
|
8433
|
-
|
|
9287
|
+
postContactsByIdInvite: {
|
|
8434
9288
|
parameters: {
|
|
8435
|
-
query?:
|
|
8436
|
-
limit?: number;
|
|
8437
|
-
offset?: number;
|
|
8438
|
-
startDate?: string;
|
|
8439
|
-
endDate?: string;
|
|
8440
|
-
actionType?: string;
|
|
8441
|
-
entityId?: string;
|
|
8442
|
-
entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
|
|
8443
|
-
includeIfNoEffects?: boolean;
|
|
8444
|
-
page?: number;
|
|
8445
|
-
};
|
|
9289
|
+
query?: never;
|
|
8446
9290
|
header?: never;
|
|
8447
|
-
path
|
|
9291
|
+
path: {
|
|
9292
|
+
id: string;
|
|
9293
|
+
};
|
|
8448
9294
|
cookie?: never;
|
|
8449
9295
|
};
|
|
8450
|
-
requestBody?:
|
|
8451
|
-
|
|
8452
|
-
|
|
8453
|
-
|
|
8454
|
-
|
|
8455
|
-
|
|
8456
|
-
|
|
8457
|
-
|
|
8458
|
-
|
|
8459
|
-
|
|
8460
|
-
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
|
|
8467
|
-
userId: string | null;
|
|
8468
|
-
createdAt: string;
|
|
8469
|
-
effectCounts: {
|
|
8470
|
-
total: number;
|
|
8471
|
-
pending: number;
|
|
8472
|
-
claimed: number;
|
|
8473
|
-
running: number;
|
|
8474
|
-
completed: number;
|
|
8475
|
-
failed: number;
|
|
8476
|
-
deadLetter: number;
|
|
8477
|
-
};
|
|
8478
|
-
apiEndpoint: string | null;
|
|
8479
|
-
}[];
|
|
8480
|
-
pagination: {
|
|
8481
|
-
/** @default 100 */
|
|
8482
|
-
limit: number;
|
|
8483
|
-
/** @default 1 */
|
|
8484
|
-
page: number;
|
|
8485
|
-
total: number;
|
|
8486
|
-
totalPage: number;
|
|
8487
|
-
nextPage?: number;
|
|
8488
|
-
};
|
|
9296
|
+
requestBody?: {
|
|
9297
|
+
content: {
|
|
9298
|
+
"application/json": {
|
|
9299
|
+
/** @default true */
|
|
9300
|
+
email?: boolean | null;
|
|
9301
|
+
};
|
|
9302
|
+
};
|
|
9303
|
+
};
|
|
9304
|
+
responses: {
|
|
9305
|
+
/** @description Successful response */
|
|
9306
|
+
200: {
|
|
9307
|
+
headers: {
|
|
9308
|
+
[name: string]: unknown;
|
|
9309
|
+
};
|
|
9310
|
+
content: {
|
|
9311
|
+
"application/json": {
|
|
9312
|
+
url: string;
|
|
8489
9313
|
};
|
|
8490
9314
|
};
|
|
8491
9315
|
};
|
|
@@ -8571,23 +9395,20 @@ export interface operations {
|
|
|
8571
9395
|
};
|
|
8572
9396
|
};
|
|
8573
9397
|
};
|
|
8574
|
-
|
|
9398
|
+
patchContactsByIdRevokeAccess: {
|
|
8575
9399
|
parameters: {
|
|
8576
|
-
query?:
|
|
8577
|
-
limit?: number;
|
|
8578
|
-
offset?: number;
|
|
8579
|
-
dispatchId?: string;
|
|
8580
|
-
entityId?: string;
|
|
8581
|
-
entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
|
|
8582
|
-
status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
|
|
8583
|
-
effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
|
|
8584
|
-
page?: number;
|
|
8585
|
-
};
|
|
9400
|
+
query?: never;
|
|
8586
9401
|
header?: never;
|
|
8587
|
-
path
|
|
9402
|
+
path: {
|
|
9403
|
+
id: string;
|
|
9404
|
+
};
|
|
8588
9405
|
cookie?: never;
|
|
8589
9406
|
};
|
|
8590
|
-
requestBody?:
|
|
9407
|
+
requestBody?: {
|
|
9408
|
+
content: {
|
|
9409
|
+
"application/json": Record<string, never>;
|
|
9410
|
+
};
|
|
9411
|
+
};
|
|
8591
9412
|
responses: {
|
|
8592
9413
|
/** @description Successful response */
|
|
8593
9414
|
200: {
|
|
@@ -8596,154 +9417,8 @@ export interface operations {
|
|
|
8596
9417
|
};
|
|
8597
9418
|
content: {
|
|
8598
9419
|
"application/json": {
|
|
8599
|
-
|
|
8600
|
-
|
|
8601
|
-
id: string;
|
|
8602
|
-
dispatchedAction: {
|
|
8603
|
-
/** Format: uuid */
|
|
8604
|
-
id: string;
|
|
8605
|
-
actionType: string;
|
|
8606
|
-
apiEndpoint: string | null;
|
|
8607
|
-
};
|
|
8608
|
-
/** @enum {string} */
|
|
8609
|
-
effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
|
|
8610
|
-
payload: unknown;
|
|
8611
|
-
entity: ({
|
|
8612
|
-
/** @constant */
|
|
8613
|
-
type: "reservation";
|
|
8614
|
-
data: {
|
|
8615
|
-
id: string;
|
|
8616
|
-
confirmationCode?: string | null;
|
|
8617
|
-
uniqueRef: string;
|
|
8618
|
-
/** @enum {string} */
|
|
8619
|
-
status: "booked" | "canceled" | "inactive";
|
|
8620
|
-
checkIn?: string | null;
|
|
8621
|
-
checkOut?: string | null;
|
|
8622
|
-
};
|
|
8623
|
-
} | {
|
|
8624
|
-
/** @constant */
|
|
8625
|
-
type: "transaction";
|
|
8626
|
-
data: {
|
|
8627
|
-
id: string;
|
|
8628
|
-
/** @enum {string} */
|
|
8629
|
-
status: "active" | "inactive";
|
|
8630
|
-
/** @description Value in cents (100 = 1€) */
|
|
8631
|
-
amount: number;
|
|
8632
|
-
account?: {
|
|
8633
|
-
id: string;
|
|
8634
|
-
name: string;
|
|
8635
|
-
uniqueRef?: string | null;
|
|
8636
|
-
/** @enum {string} */
|
|
8637
|
-
status: "active" | "inactive";
|
|
8638
|
-
} | null;
|
|
8639
|
-
date: string;
|
|
8640
|
-
description: string;
|
|
8641
|
-
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
8642
|
-
currency: string;
|
|
8643
|
-
/** @enum {string} */
|
|
8644
|
-
type: "deposit" | "expense" | "transfer";
|
|
8645
|
-
isOpeningBalance: boolean;
|
|
8646
|
-
contact?: {
|
|
8647
|
-
/** Format: uuid */
|
|
8648
|
-
id: string;
|
|
8649
|
-
name?: string | null;
|
|
8650
|
-
firstName?: string | null;
|
|
8651
|
-
uniqueRef?: string | null;
|
|
8652
|
-
shortRef?: string | null;
|
|
8653
|
-
} | null;
|
|
8654
|
-
connection?: {
|
|
8655
|
-
/** Format: uuid */
|
|
8656
|
-
id: string;
|
|
8657
|
-
name: string;
|
|
8658
|
-
/** @enum {string} */
|
|
8659
|
-
status: "active" | "inactive";
|
|
8660
|
-
uniqueRef?: string | null;
|
|
8661
|
-
appId: string;
|
|
8662
|
-
} | null;
|
|
8663
|
-
uniqueRef?: string | null;
|
|
8664
|
-
shortRef?: string | null;
|
|
8665
|
-
recurringTemplate?: {
|
|
8666
|
-
id: string;
|
|
8667
|
-
} | null;
|
|
8668
|
-
};
|
|
8669
|
-
} | {
|
|
8670
|
-
/** @constant */
|
|
8671
|
-
type: "recurringTransactionTemplate";
|
|
8672
|
-
data: {
|
|
8673
|
-
id: string;
|
|
8674
|
-
/** @enum {string} */
|
|
8675
|
-
status: "active" | "inactive";
|
|
8676
|
-
/** @description Value in cents (100 = 1€) */
|
|
8677
|
-
amount: number;
|
|
8678
|
-
account?: {
|
|
8679
|
-
id: string;
|
|
8680
|
-
name: string;
|
|
8681
|
-
uniqueRef?: string | null;
|
|
8682
|
-
/** @enum {string} */
|
|
8683
|
-
status: "active" | "inactive";
|
|
8684
|
-
} | null;
|
|
8685
|
-
date: string;
|
|
8686
|
-
description: string;
|
|
8687
|
-
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
8688
|
-
currency: string;
|
|
8689
|
-
/** @enum {string} */
|
|
8690
|
-
type: "deposit" | "expense" | "transfer";
|
|
8691
|
-
isOpeningBalance: boolean;
|
|
8692
|
-
contact?: {
|
|
8693
|
-
/** Format: uuid */
|
|
8694
|
-
id: string;
|
|
8695
|
-
name?: string | null;
|
|
8696
|
-
firstName?: string | null;
|
|
8697
|
-
uniqueRef?: string | null;
|
|
8698
|
-
shortRef?: string | null;
|
|
8699
|
-
} | null;
|
|
8700
|
-
connection?: {
|
|
8701
|
-
/** Format: uuid */
|
|
8702
|
-
id: string;
|
|
8703
|
-
name: string;
|
|
8704
|
-
/** @enum {string} */
|
|
8705
|
-
status: "active" | "inactive";
|
|
8706
|
-
uniqueRef?: string | null;
|
|
8707
|
-
appId: string;
|
|
8708
|
-
} | null;
|
|
8709
|
-
uniqueRef?: string | null;
|
|
8710
|
-
shortRef?: string | null;
|
|
8711
|
-
recurringTemplate?: {
|
|
8712
|
-
id: string;
|
|
8713
|
-
} | null;
|
|
8714
|
-
};
|
|
8715
|
-
} | {
|
|
8716
|
-
/** @constant */
|
|
8717
|
-
type: "other";
|
|
8718
|
-
data: {
|
|
8719
|
-
/** Format: uuid */
|
|
8720
|
-
id: string;
|
|
8721
|
-
type: string;
|
|
8722
|
-
name: string | null;
|
|
8723
|
-
};
|
|
8724
|
-
}) | null;
|
|
8725
|
-
/** @enum {string} */
|
|
8726
|
-
status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
|
|
8727
|
-
priority: number;
|
|
8728
|
-
retryCount: number;
|
|
8729
|
-
maxRetries: number;
|
|
8730
|
-
sequence: number;
|
|
8731
|
-
claimedAt: string | null;
|
|
8732
|
-
claimedBy: string | null;
|
|
8733
|
-
completedAt: string | null;
|
|
8734
|
-
lastAttemptAt: string | null;
|
|
8735
|
-
lastError: string | null;
|
|
8736
|
-
createdAt: string;
|
|
8737
|
-
}[];
|
|
8738
|
-
pagination: {
|
|
8739
|
-
/** @default 100 */
|
|
8740
|
-
limit: number;
|
|
8741
|
-
/** @default 1 */
|
|
8742
|
-
page: number;
|
|
8743
|
-
total: number;
|
|
8744
|
-
totalPage: number;
|
|
8745
|
-
nextPage?: number;
|
|
8746
|
-
};
|
|
9420
|
+
deletedAccess: number;
|
|
9421
|
+
deletedUsers: number;
|
|
8747
9422
|
};
|
|
8748
9423
|
};
|
|
8749
9424
|
};
|
|
@@ -8829,16 +9504,25 @@ export interface operations {
|
|
|
8829
9504
|
};
|
|
8830
9505
|
};
|
|
8831
9506
|
};
|
|
8832
|
-
|
|
9507
|
+
csvImport: {
|
|
8833
9508
|
parameters: {
|
|
8834
9509
|
query?: never;
|
|
8835
9510
|
header?: never;
|
|
8836
|
-
path
|
|
8837
|
-
id: string;
|
|
8838
|
-
};
|
|
9511
|
+
path?: never;
|
|
8839
9512
|
cookie?: never;
|
|
8840
9513
|
};
|
|
8841
|
-
requestBody?:
|
|
9514
|
+
requestBody?: {
|
|
9515
|
+
content: {
|
|
9516
|
+
"application/json": {
|
|
9517
|
+
fileData?: string;
|
|
9518
|
+
fileUri?: string;
|
|
9519
|
+
fileName?: string;
|
|
9520
|
+
connectionId: string;
|
|
9521
|
+
uniqueRef: string;
|
|
9522
|
+
params?: unknown;
|
|
9523
|
+
};
|
|
9524
|
+
};
|
|
9525
|
+
};
|
|
8842
9526
|
responses: {
|
|
8843
9527
|
/** @description Successful response */
|
|
8844
9528
|
200: {
|
|
@@ -8847,25 +9531,20 @@ export interface operations {
|
|
|
8847
9531
|
};
|
|
8848
9532
|
content: {
|
|
8849
9533
|
"application/json": {
|
|
8850
|
-
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
|
|
8856
|
-
|
|
8857
|
-
|
|
8858
|
-
|
|
8859
|
-
|
|
8860
|
-
|
|
8861
|
-
|
|
8862
|
-
|
|
8863
|
-
running: number;
|
|
8864
|
-
completed: number;
|
|
8865
|
-
failed: number;
|
|
8866
|
-
deadLetter: number;
|
|
9534
|
+
data: {
|
|
9535
|
+
syncId: string;
|
|
9536
|
+
/** @enum {string} */
|
|
9537
|
+
status: "completed";
|
|
9538
|
+
} | {
|
|
9539
|
+
/** @enum {string} */
|
|
9540
|
+
status: "failed";
|
|
9541
|
+
syncId: string;
|
|
9542
|
+
error: string;
|
|
9543
|
+
parseErrors?: {
|
|
9544
|
+
rowNumber: number;
|
|
9545
|
+
message: string;
|
|
9546
|
+
}[];
|
|
8867
9547
|
};
|
|
8868
|
-
apiEndpoint: string | null;
|
|
8869
9548
|
};
|
|
8870
9549
|
};
|
|
8871
9550
|
};
|
|
@@ -25499,6 +26178,21 @@ export interface operations {
|
|
|
25499
26178
|
transfers: number;
|
|
25500
26179
|
/** @description Value in cents (100 = 1€) */
|
|
25501
26180
|
balanceEnd: number;
|
|
26181
|
+
totals: {
|
|
26182
|
+
/** @description Value in cents (100 = 1€) */
|
|
26183
|
+
balanceStart: number;
|
|
26184
|
+
/** @description Value in cents (100 = 1€) */
|
|
26185
|
+
netRevenue: number;
|
|
26186
|
+
/** @description Value in cents (100 = 1€) */
|
|
26187
|
+
expenses: number;
|
|
26188
|
+
/** @description Value in cents (100 = 1€) */
|
|
26189
|
+
netIncome: number;
|
|
26190
|
+
/** @description Value in cents (100 = 1€) */
|
|
26191
|
+
transfers: number;
|
|
26192
|
+
/** @description Value in cents (100 = 1€) */
|
|
26193
|
+
balanceEnd: number;
|
|
26194
|
+
reserve: number;
|
|
26195
|
+
};
|
|
25502
26196
|
};
|
|
25503
26197
|
uniqueRef: string;
|
|
25504
26198
|
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
@@ -25703,9 +26397,25 @@ export interface operations {
|
|
|
25703
26397
|
transfers: number;
|
|
25704
26398
|
/** @description Value in cents (100 = 1€) */
|
|
25705
26399
|
balanceEnd: number;
|
|
26400
|
+
reserve: number;
|
|
25706
26401
|
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
25707
26402
|
currency: string;
|
|
25708
26403
|
}[];
|
|
26404
|
+
totals?: {
|
|
26405
|
+
/** @description Value in cents (100 = 1€) */
|
|
26406
|
+
balanceStart: number;
|
|
26407
|
+
/** @description Value in cents (100 = 1€) */
|
|
26408
|
+
netRevenue: number;
|
|
26409
|
+
/** @description Value in cents (100 = 1€) */
|
|
26410
|
+
expenses: number;
|
|
26411
|
+
/** @description Value in cents (100 = 1€) */
|
|
26412
|
+
netIncome: number;
|
|
26413
|
+
/** @description Value in cents (100 = 1€) */
|
|
26414
|
+
transfers: number;
|
|
26415
|
+
/** @description Value in cents (100 = 1€) */
|
|
26416
|
+
balanceEnd: number;
|
|
26417
|
+
reserve: number;
|
|
26418
|
+
};
|
|
25709
26419
|
};
|
|
25710
26420
|
};
|
|
25711
26421
|
};
|