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