@vrplatform/api 1.3.1-stage.1959 → 1.3.1-stage.1960
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/main/generated/v1.d.ts +2007 -1328
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +2007 -1328
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +2007 -1328
|
@@ -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
|
};
|
|
@@ -7388,48 +7670,16 @@ export interface operations {
|
|
|
7388
7670
|
};
|
|
7389
7671
|
};
|
|
7390
7672
|
};
|
|
7391
|
-
|
|
7673
|
+
getConnection: {
|
|
7392
7674
|
parameters: {
|
|
7393
7675
|
query?: never;
|
|
7394
7676
|
header?: never;
|
|
7395
|
-
path
|
|
7396
|
-
|
|
7397
|
-
};
|
|
7398
|
-
requestBody?: {
|
|
7399
|
-
content: {
|
|
7400
|
-
"application/json": {
|
|
7401
|
-
/** Format: uuid */
|
|
7402
|
-
connectionId: string;
|
|
7403
|
-
data: {
|
|
7404
|
-
address?: {
|
|
7405
|
-
full?: string | null;
|
|
7406
|
-
line1?: string | null;
|
|
7407
|
-
line2?: string | null;
|
|
7408
|
-
city?: string | null;
|
|
7409
|
-
/** @description Deprecated, use stateCode instead */
|
|
7410
|
-
state?: string | null;
|
|
7411
|
-
postalCode?: string | null;
|
|
7412
|
-
stateCode?: string | null;
|
|
7413
|
-
countryCode?: string | null;
|
|
7414
|
-
} | null;
|
|
7415
|
-
/** @enum {string} */
|
|
7416
|
-
type: "owner" | "vendor";
|
|
7417
|
-
firstName?: string | null;
|
|
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
|
-
};
|
|
7677
|
+
path: {
|
|
7678
|
+
id: string;
|
|
7431
7679
|
};
|
|
7680
|
+
cookie?: never;
|
|
7432
7681
|
};
|
|
7682
|
+
requestBody?: never;
|
|
7433
7683
|
responses: {
|
|
7434
7684
|
/** @description Successful response */
|
|
7435
7685
|
200: {
|
|
@@ -7438,19 +7688,37 @@ export interface operations {
|
|
|
7438
7688
|
};
|
|
7439
7689
|
content: {
|
|
7440
7690
|
"application/json": {
|
|
7441
|
-
|
|
7442
|
-
|
|
7691
|
+
/** Format: uuid */
|
|
7692
|
+
id: string;
|
|
7693
|
+
name: string;
|
|
7694
|
+
/** @enum {string} */
|
|
7695
|
+
status: "active" | "inactive";
|
|
7696
|
+
uniqueRef?: string | null;
|
|
7697
|
+
app: {
|
|
7443
7698
|
id: string;
|
|
7444
|
-
uniqueRef?: string | null;
|
|
7445
|
-
sourceId?: string | null;
|
|
7446
|
-
}[];
|
|
7447
|
-
issues: {
|
|
7448
|
-
ref: string;
|
|
7449
|
-
sourceId?: string | null;
|
|
7450
|
-
message: string;
|
|
7451
7699
|
/** @enum {string} */
|
|
7452
|
-
|
|
7453
|
-
|
|
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;
|
|
7454
7722
|
}[];
|
|
7455
7723
|
};
|
|
7456
7724
|
};
|
|
@@ -7537,22 +7805,22 @@ export interface operations {
|
|
|
7537
7805
|
};
|
|
7538
7806
|
};
|
|
7539
7807
|
};
|
|
7540
|
-
|
|
7808
|
+
deleteConnection: {
|
|
7541
7809
|
parameters: {
|
|
7542
7810
|
query?: {
|
|
7543
|
-
|
|
7544
|
-
status?: "active" | "inactive" | "pending";
|
|
7545
|
-
type?: "owner" | "vendor";
|
|
7546
|
-
companyType?: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
|
|
7547
|
-
isIndividual?: boolean;
|
|
7548
|
-
/** @description comma separated contact short refs */
|
|
7549
|
-
shortRefs?: string;
|
|
7811
|
+
onLocked?: "error" | "archive";
|
|
7550
7812
|
};
|
|
7551
7813
|
header?: never;
|
|
7552
|
-
path
|
|
7814
|
+
path: {
|
|
7815
|
+
id: string;
|
|
7816
|
+
};
|
|
7553
7817
|
cookie?: never;
|
|
7554
7818
|
};
|
|
7555
|
-
requestBody?:
|
|
7819
|
+
requestBody?: {
|
|
7820
|
+
content: {
|
|
7821
|
+
"application/json": Record<string, never>;
|
|
7822
|
+
};
|
|
7823
|
+
};
|
|
7556
7824
|
responses: {
|
|
7557
7825
|
/** @description Successful response */
|
|
7558
7826
|
200: {
|
|
@@ -7561,7 +7829,8 @@ export interface operations {
|
|
|
7561
7829
|
};
|
|
7562
7830
|
content: {
|
|
7563
7831
|
"application/json": {
|
|
7564
|
-
|
|
7832
|
+
/** @enum {string} */
|
|
7833
|
+
status: "deleted" | "archived";
|
|
7565
7834
|
};
|
|
7566
7835
|
};
|
|
7567
7836
|
};
|
|
@@ -7647,9 +7916,12 @@ export interface operations {
|
|
|
7647
7916
|
};
|
|
7648
7917
|
};
|
|
7649
7918
|
};
|
|
7650
|
-
|
|
7919
|
+
syncConnection: {
|
|
7651
7920
|
parameters: {
|
|
7652
|
-
query
|
|
7921
|
+
query: {
|
|
7922
|
+
uniqueRef: string;
|
|
7923
|
+
type: "reservation" | "listing" | "payout";
|
|
7924
|
+
};
|
|
7653
7925
|
header?: never;
|
|
7654
7926
|
path: {
|
|
7655
7927
|
id: string;
|
|
@@ -7664,52 +7936,44 @@ export interface operations {
|
|
|
7664
7936
|
[name: string]: unknown;
|
|
7665
7937
|
};
|
|
7666
7938
|
content: {
|
|
7667
|
-
"application/json": {
|
|
7668
|
-
address?: {
|
|
7669
|
-
full?: string | null;
|
|
7670
|
-
line1?: string | null;
|
|
7671
|
-
line2?: string | null;
|
|
7672
|
-
city?: string | null;
|
|
7673
|
-
/** @description Deprecated, use stateCode instead */
|
|
7674
|
-
state?: string | null;
|
|
7675
|
-
postalCode?: string | null;
|
|
7676
|
-
stateCode?: string | null;
|
|
7677
|
-
countryCode?: string | null;
|
|
7678
|
-
} | null;
|
|
7679
|
-
/** @enum {string} */
|
|
7680
|
-
type: "owner" | "vendor";
|
|
7681
|
-
email?: string | null;
|
|
7682
|
-
firstName?: string | null;
|
|
7683
|
-
name?: string | null;
|
|
7684
|
-
phone?: string | null;
|
|
7685
|
-
connectionId?: string | null;
|
|
7686
|
-
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
7687
|
-
taxIdentifier?: string | null;
|
|
7688
|
-
uniqueRef?: string | null;
|
|
7689
|
-
/** @enum {string} */
|
|
7690
|
-
status: "active" | "inactive" | "pending";
|
|
7691
|
-
payoutAccountId?: string | null;
|
|
7939
|
+
"application/json": ({
|
|
7692
7940
|
/** Format: uuid */
|
|
7693
7941
|
id: string;
|
|
7694
|
-
|
|
7695
|
-
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
|
|
7702
|
-
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
|
|
7710
|
-
|
|
7711
|
-
|
|
7712
|
-
|
|
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";
|
|
7713
7977
|
};
|
|
7714
7978
|
};
|
|
7715
7979
|
};
|
|
@@ -7795,7 +8059,7 @@ export interface operations {
|
|
|
7795
8059
|
};
|
|
7796
8060
|
};
|
|
7797
8061
|
};
|
|
7798
|
-
|
|
8062
|
+
syncConnectionPost: {
|
|
7799
8063
|
parameters: {
|
|
7800
8064
|
query?: never;
|
|
7801
8065
|
header?: never;
|
|
@@ -7807,30 +8071,9 @@ export interface operations {
|
|
|
7807
8071
|
requestBody?: {
|
|
7808
8072
|
content: {
|
|
7809
8073
|
"application/json": {
|
|
7810
|
-
|
|
7811
|
-
full?: string | null;
|
|
7812
|
-
line1?: string | null;
|
|
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;
|
|
8074
|
+
uniqueRef: string;
|
|
7821
8075
|
/** @enum {string} */
|
|
7822
|
-
type
|
|
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;
|
|
8076
|
+
type: "reservation" | "listing" | "payout";
|
|
7834
8077
|
};
|
|
7835
8078
|
};
|
|
7836
8079
|
};
|
|
@@ -7841,53 +8084,83 @@ export interface operations {
|
|
|
7841
8084
|
[name: string]: unknown;
|
|
7842
8085
|
};
|
|
7843
8086
|
content: {
|
|
7844
|
-
"application/json": {
|
|
7845
|
-
address?: {
|
|
7846
|
-
full?: string | null;
|
|
7847
|
-
line1?: string | null;
|
|
7848
|
-
line2?: string | null;
|
|
7849
|
-
city?: string | null;
|
|
7850
|
-
/** @description Deprecated, use stateCode instead */
|
|
7851
|
-
state?: string | null;
|
|
7852
|
-
postalCode?: string | null;
|
|
7853
|
-
stateCode?: string | null;
|
|
7854
|
-
countryCode?: string | null;
|
|
7855
|
-
} | null;
|
|
7856
|
-
/** @enum {string} */
|
|
7857
|
-
type: "owner" | "vendor";
|
|
7858
|
-
email?: string | null;
|
|
7859
|
-
firstName?: string | null;
|
|
7860
|
-
name?: string | null;
|
|
7861
|
-
phone?: string | null;
|
|
7862
|
-
connectionId?: string | null;
|
|
7863
|
-
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
7864
|
-
taxIdentifier?: string | null;
|
|
7865
|
-
uniqueRef?: string | null;
|
|
7866
|
-
/** @enum {string} */
|
|
7867
|
-
status: "active" | "inactive" | "pending";
|
|
7868
|
-
payoutAccountId?: string | null;
|
|
8087
|
+
"application/json": (({
|
|
7869
8088
|
/** Format: uuid */
|
|
7870
8089
|
id: string;
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
|
|
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;
|
|
8161
|
+
/** @enum {string} */
|
|
8162
|
+
type: "reservation" | "listing" | "payout";
|
|
8163
|
+
})[];
|
|
7891
8164
|
};
|
|
7892
8165
|
};
|
|
7893
8166
|
/** @description Bad request */
|
|
@@ -7972,22 +8245,24 @@ export interface operations {
|
|
|
7972
8245
|
};
|
|
7973
8246
|
};
|
|
7974
8247
|
};
|
|
7975
|
-
|
|
8248
|
+
getContacts: {
|
|
7976
8249
|
parameters: {
|
|
7977
8250
|
query?: {
|
|
7978
|
-
|
|
8251
|
+
search?: string;
|
|
8252
|
+
status?: "active" | "inactive" | "pending";
|
|
8253
|
+
type?: "owner" | "vendor";
|
|
8254
|
+
companyType?: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
|
|
8255
|
+
isIndividual?: boolean;
|
|
8256
|
+
/** @description comma separated contact short refs */
|
|
8257
|
+
shortRefs?: string;
|
|
8258
|
+
limit?: number;
|
|
8259
|
+
page?: number;
|
|
7979
8260
|
};
|
|
7980
8261
|
header?: never;
|
|
7981
|
-
path
|
|
7982
|
-
id: string;
|
|
7983
|
-
};
|
|
8262
|
+
path?: never;
|
|
7984
8263
|
cookie?: never;
|
|
7985
8264
|
};
|
|
7986
|
-
requestBody?:
|
|
7987
|
-
content: {
|
|
7988
|
-
"application/json": Record<string, never>;
|
|
7989
|
-
};
|
|
7990
|
-
};
|
|
8265
|
+
requestBody?: never;
|
|
7991
8266
|
responses: {
|
|
7992
8267
|
/** @description Successful response */
|
|
7993
8268
|
200: {
|
|
@@ -7996,8 +8271,62 @@ export interface operations {
|
|
|
7996
8271
|
};
|
|
7997
8272
|
content: {
|
|
7998
8273
|
"application/json": {
|
|
7999
|
-
|
|
8000
|
-
|
|
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
|
+
};
|
|
8001
8330
|
};
|
|
8002
8331
|
};
|
|
8003
8332
|
};
|
|
@@ -8083,20 +8412,41 @@ export interface operations {
|
|
|
8083
8412
|
};
|
|
8084
8413
|
};
|
|
8085
8414
|
};
|
|
8086
|
-
|
|
8415
|
+
postContacts: {
|
|
8087
8416
|
parameters: {
|
|
8088
8417
|
query?: never;
|
|
8089
8418
|
header?: never;
|
|
8090
|
-
path
|
|
8091
|
-
id: string;
|
|
8092
|
-
};
|
|
8419
|
+
path?: never;
|
|
8093
8420
|
cookie?: never;
|
|
8094
8421
|
};
|
|
8095
8422
|
requestBody?: {
|
|
8096
8423
|
content: {
|
|
8097
8424
|
"application/json": {
|
|
8098
|
-
|
|
8099
|
-
|
|
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;
|
|
8100
8450
|
};
|
|
8101
8451
|
};
|
|
8102
8452
|
};
|
|
@@ -8108,7 +8458,51 @@ export interface operations {
|
|
|
8108
8458
|
};
|
|
8109
8459
|
content: {
|
|
8110
8460
|
"application/json": {
|
|
8111
|
-
|
|
8461
|
+
address?: {
|
|
8462
|
+
full?: string | null;
|
|
8463
|
+
line1?: string | null;
|
|
8464
|
+
line2?: string | null;
|
|
8465
|
+
city?: string | null;
|
|
8466
|
+
/** @description Deprecated, use stateCode instead */
|
|
8467
|
+
state?: string | null;
|
|
8468
|
+
postalCode?: string | null;
|
|
8469
|
+
stateCode?: string | null;
|
|
8470
|
+
countryCode?: string | null;
|
|
8471
|
+
} | null;
|
|
8472
|
+
/** @enum {string} */
|
|
8473
|
+
type: "owner" | "vendor";
|
|
8474
|
+
email?: string | null;
|
|
8475
|
+
firstName?: string | null;
|
|
8476
|
+
name?: string | null;
|
|
8477
|
+
phone?: string | null;
|
|
8478
|
+
connectionId?: string | null;
|
|
8479
|
+
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
8480
|
+
taxIdentifier?: string | null;
|
|
8481
|
+
uniqueRef?: string | null;
|
|
8482
|
+
/** @enum {string} */
|
|
8483
|
+
status: "active" | "inactive" | "pending";
|
|
8484
|
+
payoutAccountId?: string | null;
|
|
8485
|
+
/** Format: uuid */
|
|
8486
|
+
id: string;
|
|
8487
|
+
shortRef?: string | null;
|
|
8488
|
+
source?: {
|
|
8489
|
+
/** Format: uuid */
|
|
8490
|
+
id: string;
|
|
8491
|
+
type: string;
|
|
8492
|
+
status?: ("active" | "inactive") | null;
|
|
8493
|
+
} | null;
|
|
8494
|
+
ownershipPeriods: {
|
|
8495
|
+
listingId: string;
|
|
8496
|
+
split: number;
|
|
8497
|
+
startAt?: string | null;
|
|
8498
|
+
endAt?: string | null;
|
|
8499
|
+
}[];
|
|
8500
|
+
activeOwnerships: {
|
|
8501
|
+
listingId: string;
|
|
8502
|
+
split: number;
|
|
8503
|
+
startAt?: string | null;
|
|
8504
|
+
endAt?: string | null;
|
|
8505
|
+
}[];
|
|
8112
8506
|
};
|
|
8113
8507
|
};
|
|
8114
8508
|
};
|
|
@@ -8194,30 +8588,70 @@ export interface operations {
|
|
|
8194
8588
|
};
|
|
8195
8589
|
};
|
|
8196
8590
|
};
|
|
8197
|
-
|
|
8591
|
+
postContactsBatch: {
|
|
8198
8592
|
parameters: {
|
|
8199
8593
|
query?: never;
|
|
8200
8594
|
header?: never;
|
|
8201
|
-
path
|
|
8202
|
-
id: string;
|
|
8203
|
-
};
|
|
8595
|
+
path?: never;
|
|
8204
8596
|
cookie?: never;
|
|
8205
8597
|
};
|
|
8206
8598
|
requestBody?: {
|
|
8207
8599
|
content: {
|
|
8208
|
-
"application/json":
|
|
8209
|
-
|
|
8210
|
-
|
|
8211
|
-
|
|
8212
|
-
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8218
|
-
|
|
8219
|
-
|
|
8220
|
-
|
|
8600
|
+
"application/json": {
|
|
8601
|
+
/** Format: uuid */
|
|
8602
|
+
connectionId: string;
|
|
8603
|
+
data: {
|
|
8604
|
+
address?: {
|
|
8605
|
+
full?: string | null;
|
|
8606
|
+
line1?: string | null;
|
|
8607
|
+
line2?: string | null;
|
|
8608
|
+
city?: string | null;
|
|
8609
|
+
/** @description Deprecated, use stateCode instead */
|
|
8610
|
+
state?: string | null;
|
|
8611
|
+
postalCode?: string | null;
|
|
8612
|
+
stateCode?: string | null;
|
|
8613
|
+
countryCode?: string | null;
|
|
8614
|
+
} | null;
|
|
8615
|
+
/** @enum {string} */
|
|
8616
|
+
type: "owner" | "vendor";
|
|
8617
|
+
firstName?: string | null;
|
|
8618
|
+
name?: string | null;
|
|
8619
|
+
phone?: string | null;
|
|
8620
|
+
connectionId?: string | null;
|
|
8621
|
+
companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
|
|
8622
|
+
taxIdentifier?: string | null;
|
|
8623
|
+
sourceId?: string | null;
|
|
8624
|
+
uniqueRef?: string | null;
|
|
8625
|
+
status?: ("active" | "inactive") | null;
|
|
8626
|
+
payoutAccountId?: string | null;
|
|
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: {
|
|
8642
|
+
/** Format: uuid */
|
|
8643
|
+
id: string;
|
|
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;
|
|
8654
|
+
}[];
|
|
8221
8655
|
};
|
|
8222
8656
|
};
|
|
8223
8657
|
};
|
|
@@ -8303,25 +8737,22 @@ export interface operations {
|
|
|
8303
8737
|
};
|
|
8304
8738
|
};
|
|
8305
8739
|
};
|
|
8306
|
-
|
|
8740
|
+
getContactsCsv: {
|
|
8307
8741
|
parameters: {
|
|
8308
|
-
query?:
|
|
8742
|
+
query?: {
|
|
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;
|
|
8750
|
+
};
|
|
8309
8751
|
header?: never;
|
|
8310
8752
|
path?: never;
|
|
8311
8753
|
cookie?: never;
|
|
8312
8754
|
};
|
|
8313
|
-
requestBody?:
|
|
8314
|
-
content: {
|
|
8315
|
-
"application/json": {
|
|
8316
|
-
fileData?: string;
|
|
8317
|
-
fileUri?: string;
|
|
8318
|
-
fileName?: string;
|
|
8319
|
-
connectionId: string;
|
|
8320
|
-
uniqueRef: string;
|
|
8321
|
-
params?: unknown;
|
|
8322
|
-
};
|
|
8323
|
-
};
|
|
8324
|
-
};
|
|
8755
|
+
requestBody?: never;
|
|
8325
8756
|
responses: {
|
|
8326
8757
|
/** @description Successful response */
|
|
8327
8758
|
200: {
|
|
@@ -8330,20 +8761,7 @@ export interface operations {
|
|
|
8330
8761
|
};
|
|
8331
8762
|
content: {
|
|
8332
8763
|
"application/json": {
|
|
8333
|
-
|
|
8334
|
-
syncId: string;
|
|
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
|
-
};
|
|
8764
|
+
url: string;
|
|
8347
8765
|
};
|
|
8348
8766
|
};
|
|
8349
8767
|
};
|
|
@@ -8429,21 +8847,13 @@ export interface operations {
|
|
|
8429
8847
|
};
|
|
8430
8848
|
};
|
|
8431
8849
|
};
|
|
8432
|
-
|
|
8850
|
+
getContactsById: {
|
|
8433
8851
|
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
|
-
};
|
|
8852
|
+
query?: never;
|
|
8445
8853
|
header?: never;
|
|
8446
|
-
path
|
|
8854
|
+
path: {
|
|
8855
|
+
id: string;
|
|
8856
|
+
};
|
|
8447
8857
|
cookie?: never;
|
|
8448
8858
|
};
|
|
8449
8859
|
requestBody?: never;
|
|
@@ -8455,36 +8865,51 @@ export interface operations {
|
|
|
8455
8865
|
};
|
|
8456
8866
|
content: {
|
|
8457
8867
|
"application/json": {
|
|
8458
|
-
|
|
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?: {
|
|
8459
8896
|
/** Format: uuid */
|
|
8460
8897
|
id: string;
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
|
|
8473
|
-
|
|
8474
|
-
|
|
8475
|
-
deadLetter: number;
|
|
8476
|
-
};
|
|
8477
|
-
apiEndpoint: string | null;
|
|
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;
|
|
8478
8912
|
}[];
|
|
8479
|
-
pagination: {
|
|
8480
|
-
/** @default 100 */
|
|
8481
|
-
limit: number;
|
|
8482
|
-
/** @default 1 */
|
|
8483
|
-
page: number;
|
|
8484
|
-
total: number;
|
|
8485
|
-
totalPage: number;
|
|
8486
|
-
nextPage?: number;
|
|
8487
|
-
};
|
|
8488
8913
|
};
|
|
8489
8914
|
};
|
|
8490
8915
|
};
|
|
@@ -8570,23 +8995,45 @@ export interface operations {
|
|
|
8570
8995
|
};
|
|
8571
8996
|
};
|
|
8572
8997
|
};
|
|
8573
|
-
|
|
8998
|
+
putContactsById: {
|
|
8574
8999
|
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
|
-
};
|
|
9000
|
+
query?: never;
|
|
8585
9001
|
header?: never;
|
|
8586
|
-
path
|
|
9002
|
+
path: {
|
|
9003
|
+
id: string;
|
|
9004
|
+
};
|
|
8587
9005
|
cookie?: never;
|
|
8588
9006
|
};
|
|
8589
|
-
requestBody?:
|
|
9007
|
+
requestBody?: {
|
|
9008
|
+
content: {
|
|
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
|
+
};
|
|
9035
|
+
};
|
|
9036
|
+
};
|
|
8590
9037
|
responses: {
|
|
8591
9038
|
/** @description Successful response */
|
|
8592
9039
|
200: {
|
|
@@ -8595,154 +9042,273 @@ export interface operations {
|
|
|
8595
9042
|
};
|
|
8596
9043
|
content: {
|
|
8597
9044
|
"application/json": {
|
|
8598
|
-
|
|
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?: {
|
|
8599
9073
|
/** Format: uuid */
|
|
8600
9074
|
id: string;
|
|
8601
|
-
|
|
8602
|
-
|
|
8603
|
-
|
|
8604
|
-
|
|
8605
|
-
|
|
8606
|
-
|
|
8607
|
-
|
|
8608
|
-
|
|
8609
|
-
|
|
8610
|
-
|
|
8611
|
-
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
|
|
8615
|
-
|
|
8616
|
-
|
|
8617
|
-
|
|
8618
|
-
|
|
8619
|
-
|
|
8620
|
-
|
|
8621
|
-
|
|
8622
|
-
|
|
8623
|
-
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8635
|
-
|
|
8636
|
-
|
|
8637
|
-
|
|
8638
|
-
|
|
8639
|
-
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
|
|
8651
|
-
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
|
|
8656
|
-
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8667
|
-
|
|
8668
|
-
|
|
8669
|
-
|
|
8670
|
-
|
|
8671
|
-
|
|
8672
|
-
|
|
8673
|
-
|
|
8674
|
-
|
|
8675
|
-
|
|
8676
|
-
|
|
8677
|
-
|
|
8678
|
-
|
|
8679
|
-
|
|
8680
|
-
|
|
8681
|
-
|
|
8682
|
-
|
|
8683
|
-
|
|
8684
|
-
|
|
8685
|
-
|
|
8686
|
-
|
|
8687
|
-
|
|
8688
|
-
|
|
8689
|
-
|
|
8690
|
-
|
|
8691
|
-
|
|
8692
|
-
|
|
8693
|
-
|
|
8694
|
-
|
|
8695
|
-
|
|
8696
|
-
|
|
8697
|
-
|
|
8698
|
-
|
|
8699
|
-
|
|
8700
|
-
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
|
|
8709
|
-
|
|
8710
|
-
|
|
8711
|
-
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
|
|
8715
|
-
|
|
8716
|
-
|
|
8717
|
-
|
|
8718
|
-
|
|
8719
|
-
|
|
8720
|
-
|
|
8721
|
-
|
|
8722
|
-
|
|
8723
|
-
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8732
|
-
|
|
8733
|
-
|
|
8734
|
-
|
|
8735
|
-
|
|
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
|
+
}[];
|
|
9090
|
+
};
|
|
9091
|
+
};
|
|
9092
|
+
};
|
|
9093
|
+
/** @description Bad request */
|
|
9094
|
+
400: {
|
|
9095
|
+
headers: {
|
|
9096
|
+
[name: string]: unknown;
|
|
9097
|
+
};
|
|
9098
|
+
content: {
|
|
9099
|
+
"application/json": {
|
|
9100
|
+
code: string;
|
|
9101
|
+
message: string;
|
|
9102
|
+
issues?: {
|
|
9103
|
+
message: string;
|
|
9104
|
+
}[];
|
|
9105
|
+
context?: unknown;
|
|
9106
|
+
};
|
|
9107
|
+
};
|
|
9108
|
+
};
|
|
9109
|
+
/** @description Unauthorized */
|
|
9110
|
+
401: {
|
|
9111
|
+
headers: {
|
|
9112
|
+
[name: string]: unknown;
|
|
9113
|
+
};
|
|
9114
|
+
content: {
|
|
9115
|
+
"application/json": {
|
|
9116
|
+
code: string;
|
|
9117
|
+
message: string;
|
|
9118
|
+
issues?: {
|
|
9119
|
+
message: string;
|
|
9120
|
+
}[];
|
|
9121
|
+
context?: unknown;
|
|
9122
|
+
};
|
|
9123
|
+
};
|
|
9124
|
+
};
|
|
9125
|
+
/** @description Forbidden */
|
|
9126
|
+
403: {
|
|
9127
|
+
headers: {
|
|
9128
|
+
[name: string]: unknown;
|
|
9129
|
+
};
|
|
9130
|
+
content: {
|
|
9131
|
+
"application/json": {
|
|
9132
|
+
code: string;
|
|
9133
|
+
message: string;
|
|
9134
|
+
issues?: {
|
|
9135
|
+
message: string;
|
|
9136
|
+
}[];
|
|
9137
|
+
context?: unknown;
|
|
9138
|
+
};
|
|
9139
|
+
};
|
|
9140
|
+
};
|
|
9141
|
+
/** @description Not found */
|
|
9142
|
+
404: {
|
|
9143
|
+
headers: {
|
|
9144
|
+
[name: string]: unknown;
|
|
9145
|
+
};
|
|
9146
|
+
content: {
|
|
9147
|
+
"application/json": {
|
|
9148
|
+
code: string;
|
|
9149
|
+
message: string;
|
|
9150
|
+
issues?: {
|
|
9151
|
+
message: string;
|
|
9152
|
+
}[];
|
|
9153
|
+
context?: unknown;
|
|
9154
|
+
};
|
|
9155
|
+
};
|
|
9156
|
+
};
|
|
9157
|
+
/** @description Internal server error */
|
|
9158
|
+
500: {
|
|
9159
|
+
headers: {
|
|
9160
|
+
[name: string]: unknown;
|
|
9161
|
+
};
|
|
9162
|
+
content: {
|
|
9163
|
+
"application/json": {
|
|
9164
|
+
code: string;
|
|
9165
|
+
message: string;
|
|
9166
|
+
issues?: {
|
|
9167
|
+
message: string;
|
|
9168
|
+
}[];
|
|
9169
|
+
context?: unknown;
|
|
9170
|
+
};
|
|
9171
|
+
};
|
|
9172
|
+
};
|
|
9173
|
+
};
|
|
9174
|
+
};
|
|
9175
|
+
deleteContactsById: {
|
|
9176
|
+
parameters: {
|
|
9177
|
+
query?: {
|
|
9178
|
+
onLocked?: "error" | "archive";
|
|
9179
|
+
};
|
|
9180
|
+
header?: never;
|
|
9181
|
+
path: {
|
|
9182
|
+
id: string;
|
|
9183
|
+
};
|
|
9184
|
+
cookie?: never;
|
|
9185
|
+
};
|
|
9186
|
+
requestBody?: {
|
|
9187
|
+
content: {
|
|
9188
|
+
"application/json": Record<string, never>;
|
|
9189
|
+
};
|
|
9190
|
+
};
|
|
9191
|
+
responses: {
|
|
9192
|
+
/** @description Successful response */
|
|
9193
|
+
200: {
|
|
9194
|
+
headers: {
|
|
9195
|
+
[name: string]: unknown;
|
|
9196
|
+
};
|
|
9197
|
+
content: {
|
|
9198
|
+
"application/json": {
|
|
9199
|
+
/** @enum {string} */
|
|
9200
|
+
status: "deleted" | "archived";
|
|
9201
|
+
};
|
|
9202
|
+
};
|
|
9203
|
+
};
|
|
9204
|
+
/** @description Bad request */
|
|
9205
|
+
400: {
|
|
9206
|
+
headers: {
|
|
9207
|
+
[name: string]: unknown;
|
|
9208
|
+
};
|
|
9209
|
+
content: {
|
|
9210
|
+
"application/json": {
|
|
9211
|
+
code: string;
|
|
9212
|
+
message: string;
|
|
9213
|
+
issues?: {
|
|
9214
|
+
message: string;
|
|
8736
9215
|
}[];
|
|
8737
|
-
|
|
8738
|
-
|
|
8739
|
-
|
|
8740
|
-
|
|
8741
|
-
|
|
8742
|
-
|
|
8743
|
-
|
|
8744
|
-
|
|
8745
|
-
|
|
9216
|
+
context?: unknown;
|
|
9217
|
+
};
|
|
9218
|
+
};
|
|
9219
|
+
};
|
|
9220
|
+
/** @description Unauthorized */
|
|
9221
|
+
401: {
|
|
9222
|
+
headers: {
|
|
9223
|
+
[name: string]: unknown;
|
|
9224
|
+
};
|
|
9225
|
+
content: {
|
|
9226
|
+
"application/json": {
|
|
9227
|
+
code: string;
|
|
9228
|
+
message: string;
|
|
9229
|
+
issues?: {
|
|
9230
|
+
message: string;
|
|
9231
|
+
}[];
|
|
9232
|
+
context?: unknown;
|
|
9233
|
+
};
|
|
9234
|
+
};
|
|
9235
|
+
};
|
|
9236
|
+
/** @description Forbidden */
|
|
9237
|
+
403: {
|
|
9238
|
+
headers: {
|
|
9239
|
+
[name: string]: unknown;
|
|
9240
|
+
};
|
|
9241
|
+
content: {
|
|
9242
|
+
"application/json": {
|
|
9243
|
+
code: string;
|
|
9244
|
+
message: string;
|
|
9245
|
+
issues?: {
|
|
9246
|
+
message: string;
|
|
9247
|
+
}[];
|
|
9248
|
+
context?: unknown;
|
|
9249
|
+
};
|
|
9250
|
+
};
|
|
9251
|
+
};
|
|
9252
|
+
/** @description Not found */
|
|
9253
|
+
404: {
|
|
9254
|
+
headers: {
|
|
9255
|
+
[name: string]: unknown;
|
|
9256
|
+
};
|
|
9257
|
+
content: {
|
|
9258
|
+
"application/json": {
|
|
9259
|
+
code: string;
|
|
9260
|
+
message: string;
|
|
9261
|
+
issues?: {
|
|
9262
|
+
message: string;
|
|
9263
|
+
}[];
|
|
9264
|
+
context?: unknown;
|
|
9265
|
+
};
|
|
9266
|
+
};
|
|
9267
|
+
};
|
|
9268
|
+
/** @description Internal server error */
|
|
9269
|
+
500: {
|
|
9270
|
+
headers: {
|
|
9271
|
+
[name: string]: unknown;
|
|
9272
|
+
};
|
|
9273
|
+
content: {
|
|
9274
|
+
"application/json": {
|
|
9275
|
+
code: string;
|
|
9276
|
+
message: string;
|
|
9277
|
+
issues?: {
|
|
9278
|
+
message: string;
|
|
9279
|
+
}[];
|
|
9280
|
+
context?: unknown;
|
|
9281
|
+
};
|
|
9282
|
+
};
|
|
9283
|
+
};
|
|
9284
|
+
};
|
|
9285
|
+
};
|
|
9286
|
+
postContactsByIdInvite: {
|
|
9287
|
+
parameters: {
|
|
9288
|
+
query?: never;
|
|
9289
|
+
header?: never;
|
|
9290
|
+
path: {
|
|
9291
|
+
id: string;
|
|
9292
|
+
};
|
|
9293
|
+
cookie?: never;
|
|
9294
|
+
};
|
|
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;
|
|
8746
9312
|
};
|
|
8747
9313
|
};
|
|
8748
9314
|
};
|
|
@@ -8828,7 +9394,7 @@ export interface operations {
|
|
|
8828
9394
|
};
|
|
8829
9395
|
};
|
|
8830
9396
|
};
|
|
8831
|
-
|
|
9397
|
+
patchContactsByIdRevokeAccess: {
|
|
8832
9398
|
parameters: {
|
|
8833
9399
|
query?: never;
|
|
8834
9400
|
header?: never;
|
|
@@ -8837,7 +9403,11 @@ export interface operations {
|
|
|
8837
9403
|
};
|
|
8838
9404
|
cookie?: never;
|
|
8839
9405
|
};
|
|
8840
|
-
requestBody?:
|
|
9406
|
+
requestBody?: {
|
|
9407
|
+
content: {
|
|
9408
|
+
"application/json": Record<string, never>;
|
|
9409
|
+
};
|
|
9410
|
+
};
|
|
8841
9411
|
responses: {
|
|
8842
9412
|
/** @description Successful response */
|
|
8843
9413
|
200: {
|
|
@@ -8846,25 +9416,134 @@ export interface operations {
|
|
|
8846
9416
|
};
|
|
8847
9417
|
content: {
|
|
8848
9418
|
"application/json": {
|
|
8849
|
-
|
|
8850
|
-
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
|
|
8856
|
-
|
|
8857
|
-
|
|
8858
|
-
|
|
8859
|
-
|
|
8860
|
-
|
|
8861
|
-
|
|
8862
|
-
|
|
8863
|
-
|
|
8864
|
-
|
|
8865
|
-
|
|
9419
|
+
deletedAccess: number;
|
|
9420
|
+
deletedUsers: number;
|
|
9421
|
+
};
|
|
9422
|
+
};
|
|
9423
|
+
};
|
|
9424
|
+
/** @description Bad request */
|
|
9425
|
+
400: {
|
|
9426
|
+
headers: {
|
|
9427
|
+
[name: string]: unknown;
|
|
9428
|
+
};
|
|
9429
|
+
content: {
|
|
9430
|
+
"application/json": {
|
|
9431
|
+
code: string;
|
|
9432
|
+
message: string;
|
|
9433
|
+
issues?: {
|
|
9434
|
+
message: string;
|
|
9435
|
+
}[];
|
|
9436
|
+
context?: unknown;
|
|
9437
|
+
};
|
|
9438
|
+
};
|
|
9439
|
+
};
|
|
9440
|
+
/** @description Unauthorized */
|
|
9441
|
+
401: {
|
|
9442
|
+
headers: {
|
|
9443
|
+
[name: string]: unknown;
|
|
9444
|
+
};
|
|
9445
|
+
content: {
|
|
9446
|
+
"application/json": {
|
|
9447
|
+
code: string;
|
|
9448
|
+
message: string;
|
|
9449
|
+
issues?: {
|
|
9450
|
+
message: string;
|
|
9451
|
+
}[];
|
|
9452
|
+
context?: unknown;
|
|
9453
|
+
};
|
|
9454
|
+
};
|
|
9455
|
+
};
|
|
9456
|
+
/** @description Forbidden */
|
|
9457
|
+
403: {
|
|
9458
|
+
headers: {
|
|
9459
|
+
[name: string]: unknown;
|
|
9460
|
+
};
|
|
9461
|
+
content: {
|
|
9462
|
+
"application/json": {
|
|
9463
|
+
code: string;
|
|
9464
|
+
message: string;
|
|
9465
|
+
issues?: {
|
|
9466
|
+
message: string;
|
|
9467
|
+
}[];
|
|
9468
|
+
context?: unknown;
|
|
9469
|
+
};
|
|
9470
|
+
};
|
|
9471
|
+
};
|
|
9472
|
+
/** @description Not found */
|
|
9473
|
+
404: {
|
|
9474
|
+
headers: {
|
|
9475
|
+
[name: string]: unknown;
|
|
9476
|
+
};
|
|
9477
|
+
content: {
|
|
9478
|
+
"application/json": {
|
|
9479
|
+
code: string;
|
|
9480
|
+
message: string;
|
|
9481
|
+
issues?: {
|
|
9482
|
+
message: string;
|
|
9483
|
+
}[];
|
|
9484
|
+
context?: unknown;
|
|
9485
|
+
};
|
|
9486
|
+
};
|
|
9487
|
+
};
|
|
9488
|
+
/** @description Internal server error */
|
|
9489
|
+
500: {
|
|
9490
|
+
headers: {
|
|
9491
|
+
[name: string]: unknown;
|
|
9492
|
+
};
|
|
9493
|
+
content: {
|
|
9494
|
+
"application/json": {
|
|
9495
|
+
code: string;
|
|
9496
|
+
message: string;
|
|
9497
|
+
issues?: {
|
|
9498
|
+
message: string;
|
|
9499
|
+
}[];
|
|
9500
|
+
context?: unknown;
|
|
9501
|
+
};
|
|
9502
|
+
};
|
|
9503
|
+
};
|
|
9504
|
+
};
|
|
9505
|
+
};
|
|
9506
|
+
csvImport: {
|
|
9507
|
+
parameters: {
|
|
9508
|
+
query?: never;
|
|
9509
|
+
header?: never;
|
|
9510
|
+
path?: never;
|
|
9511
|
+
cookie?: never;
|
|
9512
|
+
};
|
|
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
|
+
};
|
|
9525
|
+
responses: {
|
|
9526
|
+
/** @description Successful response */
|
|
9527
|
+
200: {
|
|
9528
|
+
headers: {
|
|
9529
|
+
[name: string]: unknown;
|
|
9530
|
+
};
|
|
9531
|
+
content: {
|
|
9532
|
+
"application/json": {
|
|
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
|
};
|